@commercelayer/sdk 7.10.0 → 8.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api-CxFbvblr.d.ts +18107 -0
- package/lib/api-o1gYTpPm.d.cts +18107 -0
- package/lib/api.cjs +265 -270
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +134 -135
- package/lib/bundle.cjs +267 -271
- package/lib/bundle.cjs.map +1 -1
- package/lib/bundle.d.cts +1 -2
- package/lib/bundle.d.ts +1 -2
- package/lib/bundle.js +135 -139
- package/lib/bundle.js.map +1 -1
- package/lib/chunk-26Q2QNAQ.cjs +30 -0
- package/lib/chunk-26Q2QNAQ.cjs.map +1 -0
- package/lib/chunk-27YKND3S.js +93 -0
- package/lib/chunk-27YKND3S.js.map +1 -0
- package/lib/chunk-2CMJ2SZM.cjs +57 -0
- package/lib/chunk-2CMJ2SZM.cjs.map +1 -0
- package/lib/chunk-2HNW5KNF.js +45 -0
- package/lib/chunk-2HNW5KNF.js.map +1 -0
- package/lib/chunk-2NWYRIJZ.js +41 -0
- package/lib/chunk-2NWYRIJZ.js.map +1 -0
- package/lib/chunk-2QXENUO7.cjs +51 -0
- package/lib/chunk-2QXENUO7.cjs.map +1 -0
- package/lib/chunk-2VI6OWLV.cjs +61 -0
- package/lib/chunk-2VI6OWLV.cjs.map +1 -0
- package/lib/chunk-2WVBEUMO.js +53 -0
- package/lib/chunk-2WVBEUMO.js.map +1 -0
- package/lib/chunk-2XDVUDJS.cjs +34 -0
- package/lib/chunk-2XDVUDJS.cjs.map +1 -0
- package/lib/chunk-35Q3ZTZC.js +75 -0
- package/lib/chunk-35Q3ZTZC.js.map +1 -0
- package/lib/chunk-3EX76AZW.js +3 -0
- package/lib/chunk-3EX76AZW.js.map +1 -0
- package/lib/chunk-3PAID2YG.cjs +54 -0
- package/lib/chunk-3PAID2YG.cjs.map +1 -0
- package/lib/chunk-3PXZUPZE.cjs +43 -0
- package/lib/chunk-3PXZUPZE.cjs.map +1 -0
- package/lib/chunk-3YS6NHUH.cjs +50 -0
- package/lib/chunk-3YS6NHUH.cjs.map +1 -0
- package/lib/chunk-43JU63UQ.js +51 -0
- package/lib/chunk-43JU63UQ.js.map +1 -0
- package/lib/chunk-4C55SMIS.js +55 -0
- package/lib/chunk-4C55SMIS.js.map +1 -0
- package/lib/chunk-4E5BE47D.cjs +61 -0
- package/lib/chunk-4E5BE47D.cjs.map +1 -0
- package/lib/chunk-4P3MBQVY.cjs +156 -0
- package/lib/chunk-4P3MBQVY.cjs.map +1 -0
- package/lib/chunk-4PNXT6OT.js +36 -0
- package/lib/chunk-4PNXT6OT.js.map +1 -0
- package/lib/chunk-4S3I222F.cjs +285 -0
- package/lib/chunk-4S3I222F.cjs.map +1 -0
- package/lib/chunk-4YR6JIEN.js +154 -0
- package/lib/chunk-4YR6JIEN.js.map +1 -0
- package/lib/chunk-4ZIGP3FO.cjs +59 -0
- package/lib/chunk-4ZIGP3FO.cjs.map +1 -0
- package/lib/chunk-536MZPMI.cjs +26 -0
- package/lib/chunk-536MZPMI.cjs.map +1 -0
- package/lib/chunk-54VT56WS.cjs +126 -0
- package/lib/chunk-54VT56WS.cjs.map +1 -0
- package/lib/chunk-56HCMG32.js +31 -0
- package/lib/chunk-56HCMG32.js.map +1 -0
- package/lib/chunk-5AFBGKJ4.js +53 -0
- package/lib/chunk-5AFBGKJ4.js.map +1 -0
- package/lib/chunk-5P67UEWW.cjs +56 -0
- package/lib/chunk-5P67UEWW.cjs.map +1 -0
- package/lib/chunk-5RJW5RAK.js +40 -0
- package/lib/chunk-5RJW5RAK.js.map +1 -0
- package/lib/chunk-5TLVMKOO.cjs +52 -0
- package/lib/chunk-5TLVMKOO.cjs.map +1 -0
- package/lib/chunk-5YMHXTJG.cjs +4 -0
- package/lib/chunk-5YMHXTJG.cjs.map +1 -0
- package/lib/chunk-65XBHNZH.js +96 -0
- package/lib/chunk-65XBHNZH.js.map +1 -0
- package/lib/chunk-6BXCQFTI.js +37 -0
- package/lib/chunk-6BXCQFTI.js.map +1 -0
- package/lib/chunk-6EUKX4RC.cjs +47 -0
- package/lib/chunk-6EUKX4RC.cjs.map +1 -0
- package/lib/chunk-6UIVNEE7.cjs +53 -0
- package/lib/chunk-6UIVNEE7.cjs.map +1 -0
- package/lib/chunk-7473V4XD.js +59 -0
- package/lib/chunk-7473V4XD.js.map +1 -0
- package/lib/chunk-74JBCKFT.cjs +30 -0
- package/lib/chunk-74JBCKFT.cjs.map +1 -0
- package/lib/chunk-77HRCSA5.cjs +55 -0
- package/lib/chunk-77HRCSA5.cjs.map +1 -0
- package/lib/chunk-7ZBEKCA5.cjs +75 -0
- package/lib/chunk-7ZBEKCA5.cjs.map +1 -0
- package/lib/chunk-A6E33WC3.cjs +53 -0
- package/lib/chunk-A6E33WC3.cjs.map +1 -0
- package/lib/chunk-A77RAUIU.cjs +54 -0
- package/lib/chunk-A77RAUIU.cjs.map +1 -0
- package/lib/chunk-A7BK3Z22.cjs +38 -0
- package/lib/chunk-A7BK3Z22.cjs.map +1 -0
- package/lib/chunk-AEP6D5QV.cjs +38 -0
- package/lib/chunk-AEP6D5QV.cjs.map +1 -0
- package/lib/chunk-AN2Y6XMS.js +28 -0
- package/lib/chunk-AN2Y6XMS.js.map +1 -0
- package/lib/chunk-ANRUEWG5.js +51 -0
- package/lib/chunk-ANRUEWG5.js.map +1 -0
- package/lib/chunk-AP5WOJMJ.js +49 -0
- package/lib/chunk-AP5WOJMJ.js.map +1 -0
- package/lib/chunk-APMYXRFX.js +96 -0
- package/lib/chunk-APMYXRFX.js.map +1 -0
- package/lib/chunk-APTNONWZ.js +40 -0
- package/lib/chunk-APTNONWZ.js.map +1 -0
- package/lib/chunk-AS6CAIIM.js +65 -0
- package/lib/chunk-AS6CAIIM.js.map +1 -0
- package/lib/chunk-ATK6TFVA.cjs +43 -0
- package/lib/chunk-ATK6TFVA.cjs.map +1 -0
- package/lib/chunk-AVYPSM4A.cjs +43 -0
- package/lib/chunk-AVYPSM4A.cjs.map +1 -0
- package/lib/chunk-AWEYC4IM.js +45 -0
- package/lib/chunk-AWEYC4IM.js.map +1 -0
- package/lib/chunk-AWLS4LR4.cjs +53 -0
- package/lib/chunk-AWLS4LR4.cjs.map +1 -0
- package/lib/chunk-AY7MWZ7Y.js +48 -0
- package/lib/chunk-AY7MWZ7Y.js.map +1 -0
- package/lib/chunk-B7T7DQEK.js +52 -0
- package/lib/chunk-B7T7DQEK.js.map +1 -0
- package/lib/chunk-BANZUNLK.js +40 -0
- package/lib/chunk-BANZUNLK.js.map +1 -0
- package/lib/chunk-BQE56RMQ.js +45 -0
- package/lib/chunk-BQE56RMQ.js.map +1 -0
- package/lib/chunk-C7AHHS53.cjs +51 -0
- package/lib/chunk-C7AHHS53.cjs.map +1 -0
- package/lib/chunk-CDFM6RPB.cjs +63 -0
- package/lib/chunk-CDFM6RPB.cjs.map +1 -0
- package/lib/chunk-CDNYZAMV.js +51 -0
- package/lib/chunk-CDNYZAMV.js.map +1 -0
- package/lib/chunk-CH4K74JN.cjs +55 -0
- package/lib/chunk-CH4K74JN.cjs.map +1 -0
- package/lib/chunk-CJPAOOG5.cjs +34 -0
- package/lib/chunk-CJPAOOG5.cjs.map +1 -0
- package/lib/chunk-CKSLVNN7.js +45 -0
- package/lib/chunk-CKSLVNN7.js.map +1 -0
- package/lib/chunk-CM4DAVO4.js +40 -0
- package/lib/chunk-CM4DAVO4.js.map +1 -0
- package/lib/chunk-CNMMWVI6.js +48 -0
- package/lib/chunk-CNMMWVI6.js.map +1 -0
- package/lib/chunk-CTTA6S5K.cjs +61 -0
- package/lib/chunk-CTTA6S5K.cjs.map +1 -0
- package/lib/chunk-CUYSBPPJ.js +45 -0
- package/lib/chunk-CUYSBPPJ.js.map +1 -0
- package/lib/chunk-CWD5DM6G.cjs +54 -0
- package/lib/chunk-CWD5DM6G.cjs.map +1 -0
- package/lib/chunk-D3VJO4HP.js +40 -0
- package/lib/chunk-D3VJO4HP.js.map +1 -0
- package/lib/chunk-D3YQS6YA.js +66 -0
- package/lib/chunk-D3YQS6YA.js.map +1 -0
- package/lib/chunk-DBJEPEBT.js +45 -0
- package/lib/chunk-DBJEPEBT.js.map +1 -0
- package/lib/chunk-DBNDWZZW.cjs +98 -0
- package/lib/chunk-DBNDWZZW.cjs.map +1 -0
- package/lib/chunk-DFUIO6OY.js +53 -0
- package/lib/chunk-DFUIO6OY.js.map +1 -0
- package/lib/chunk-DHGTIF6A.cjs +56 -0
- package/lib/chunk-DHGTIF6A.cjs.map +1 -0
- package/lib/chunk-DJRBEANR.js +57 -0
- package/lib/chunk-DJRBEANR.js.map +1 -0
- package/lib/chunk-DNVIOKDM.cjs +55 -0
- package/lib/chunk-DNVIOKDM.cjs.map +1 -0
- package/lib/chunk-DQUGPCYZ.js +37 -0
- package/lib/chunk-DQUGPCYZ.js.map +1 -0
- package/lib/chunk-DUQVVWSA.js +54 -0
- package/lib/chunk-DUQVVWSA.js.map +1 -0
- package/lib/chunk-E2UP2BWG.cjs +39 -0
- package/lib/chunk-E2UP2BWG.cjs.map +1 -0
- package/lib/chunk-E5G3LS6Y.js +53 -0
- package/lib/chunk-E5G3LS6Y.js.map +1 -0
- package/lib/chunk-EEXXJFJO.cjs +47 -0
- package/lib/chunk-EEXXJFJO.cjs.map +1 -0
- package/lib/chunk-EFFMFEBS.cjs +47 -0
- package/lib/chunk-EFFMFEBS.cjs.map +1 -0
- package/lib/chunk-EI2KOTCG.js +37 -0
- package/lib/chunk-EI2KOTCG.js.map +1 -0
- package/lib/chunk-ELTYSKHB.js +68 -0
- package/lib/chunk-ELTYSKHB.js.map +1 -0
- package/lib/chunk-EO7RCCV2.js +45 -0
- package/lib/chunk-EO7RCCV2.js.map +1 -0
- package/lib/chunk-EOV3GRPM.js +27 -0
- package/lib/chunk-EOV3GRPM.js.map +1 -0
- package/lib/chunk-EQ5ASSXQ.cjs +95 -0
- package/lib/chunk-EQ5ASSXQ.cjs.map +1 -0
- package/lib/chunk-EQZMPSGR.js +55 -0
- package/lib/chunk-EQZMPSGR.js.map +1 -0
- package/lib/chunk-ESI7A34I.js +52 -0
- package/lib/chunk-ESI7A34I.js.map +1 -0
- package/lib/chunk-EWFAT7KA.js +283 -0
- package/lib/chunk-EWFAT7KA.js.map +1 -0
- package/lib/chunk-FANJUOI3.cjs +51 -0
- package/lib/chunk-FANJUOI3.cjs.map +1 -0
- package/lib/chunk-FB6DA6TM.cjs +49 -0
- package/lib/chunk-FB6DA6TM.cjs.map +1 -0
- package/lib/chunk-FRVEAP6J.js +73 -0
- package/lib/chunk-FRVEAP6J.js.map +1 -0
- package/lib/chunk-FUQA5XT7.cjs +47 -0
- package/lib/chunk-FUQA5XT7.cjs.map +1 -0
- package/lib/chunk-FVRWASHH.js +32 -0
- package/lib/chunk-FVRWASHH.js.map +1 -0
- package/lib/chunk-FWBO3MH4.js +54 -0
- package/lib/chunk-FWBO3MH4.js.map +1 -0
- package/lib/chunk-FZKENL3J.js +53 -0
- package/lib/chunk-FZKENL3J.js.map +1 -0
- package/lib/chunk-GCY5B73J.cjs +47 -0
- package/lib/chunk-GCY5B73J.cjs.map +1 -0
- package/lib/chunk-GIZE32ZY.js +73 -0
- package/lib/chunk-GIZE32ZY.js.map +1 -0
- package/lib/chunk-GZPZZ262.js +49 -0
- package/lib/chunk-GZPZZ262.js.map +1 -0
- package/lib/chunk-H6K62JGC.cjs +47 -0
- package/lib/chunk-H6K62JGC.cjs.map +1 -0
- package/lib/chunk-H7J2F6QG.cjs +47 -0
- package/lib/chunk-H7J2F6QG.cjs.map +1 -0
- package/lib/chunk-H7KZGQXZ.cjs +71 -0
- package/lib/chunk-H7KZGQXZ.cjs.map +1 -0
- package/lib/chunk-HFKNOYWV.cjs +98 -0
- package/lib/chunk-HFKNOYWV.cjs.map +1 -0
- package/lib/chunk-HLR5KZ6S.js +51 -0
- package/lib/chunk-HLR5KZ6S.js.map +1 -0
- package/lib/chunk-HZYPMFTS.cjs +49 -0
- package/lib/chunk-HZYPMFTS.cjs.map +1 -0
- package/lib/chunk-I2E2P72P.cjs +70 -0
- package/lib/chunk-I2E2P72P.cjs.map +1 -0
- package/lib/chunk-I2FEIMVG.cjs +53 -0
- package/lib/chunk-I2FEIMVG.cjs.map +1 -0
- package/lib/chunk-I2UV76EQ.js +102 -0
- package/lib/chunk-I2UV76EQ.js.map +1 -0
- package/lib/chunk-I64ZCB4W.cjs +55 -0
- package/lib/chunk-I64ZCB4W.cjs.map +1 -0
- package/lib/chunk-IG2P6JOK.js +40 -0
- package/lib/chunk-IG2P6JOK.js.map +1 -0
- package/lib/chunk-IG6UCDED.js +59 -0
- package/lib/chunk-IG6UCDED.js.map +1 -0
- package/lib/chunk-IIUBCLDN.js +47 -0
- package/lib/chunk-IIUBCLDN.js.map +1 -0
- package/lib/chunk-IKU3CD3A.cjs +75 -0
- package/lib/chunk-IKU3CD3A.cjs.map +1 -0
- package/lib/chunk-IL2AXMUE.js +45 -0
- package/lib/chunk-IL2AXMUE.js.map +1 -0
- package/lib/chunk-IL66CF3O.js +105 -0
- package/lib/chunk-IL66CF3O.js.map +1 -0
- package/lib/chunk-ILAFDO4M.js +36 -0
- package/lib/chunk-ILAFDO4M.js.map +1 -0
- package/lib/chunk-INBIEH6H.cjs +44 -0
- package/lib/chunk-INBIEH6H.cjs.map +1 -0
- package/lib/chunk-IOSR7D3F.cjs +47 -0
- package/lib/chunk-IOSR7D3F.cjs.map +1 -0
- package/lib/chunk-IOYGVLML.js +41 -0
- package/lib/chunk-IOYGVLML.js.map +1 -0
- package/lib/chunk-IP5G2VCS.cjs +38 -0
- package/lib/chunk-IP5G2VCS.cjs.map +1 -0
- package/lib/chunk-IWH7CXBG.js +124 -0
- package/lib/chunk-IWH7CXBG.js.map +1 -0
- package/lib/chunk-IYGFGGZR.js +59 -0
- package/lib/chunk-IYGFGGZR.js.map +1 -0
- package/lib/chunk-IYQFTOVG.cjs +39 -0
- package/lib/chunk-IYQFTOVG.cjs.map +1 -0
- package/lib/chunk-J2ULMBWQ.js +89 -0
- package/lib/chunk-J2ULMBWQ.js.map +1 -0
- package/lib/chunk-JARZZUPY.js +93 -0
- package/lib/chunk-JARZZUPY.js.map +1 -0
- package/lib/chunk-JBKJAYRL.cjs +50 -0
- package/lib/chunk-JBKJAYRL.cjs.map +1 -0
- package/lib/chunk-JEOA64GW.cjs +46 -0
- package/lib/chunk-JEOA64GW.cjs.map +1 -0
- package/lib/chunk-JGTC32IT.cjs +69 -0
- package/lib/chunk-JGTC32IT.cjs.map +1 -0
- package/lib/chunk-JHYHQV3E.js +67 -0
- package/lib/chunk-JHYHQV3E.js.map +1 -0
- package/lib/chunk-JIDX6RAT.js +103 -0
- package/lib/chunk-JIDX6RAT.js.map +1 -0
- package/lib/chunk-JIQRQ5TK.cjs +39 -0
- package/lib/chunk-JIQRQ5TK.cjs.map +1 -0
- package/lib/chunk-JMKSIDZI.cjs +51 -0
- package/lib/chunk-JMKSIDZI.cjs.map +1 -0
- package/lib/chunk-JO2S5NYR.js +51 -0
- package/lib/chunk-JO2S5NYR.js.map +1 -0
- package/lib/chunk-JR6TYHVG.js +41 -0
- package/lib/chunk-JR6TYHVG.js.map +1 -0
- package/lib/chunk-JRVZ4JQI.js +32 -0
- package/lib/chunk-JRVZ4JQI.js.map +1 -0
- package/lib/chunk-JSHKAVYF.js +45 -0
- package/lib/chunk-JSHKAVYF.js.map +1 -0
- package/lib/chunk-K3GPCGMJ.cjs +47 -0
- package/lib/chunk-K3GPCGMJ.cjs.map +1 -0
- package/lib/chunk-KC46F2PJ.cjs +47 -0
- package/lib/chunk-KC46F2PJ.cjs.map +1 -0
- package/lib/chunk-KLO6RFMQ.cjs +89 -0
- package/lib/chunk-KLO6RFMQ.cjs.map +1 -0
- package/lib/chunk-KN2KHVGW.js +93 -0
- package/lib/chunk-KN2KHVGW.js.map +1 -0
- package/lib/chunk-KU5M6CZ5.js +48 -0
- package/lib/chunk-KU5M6CZ5.js.map +1 -0
- package/lib/chunk-KUJFQHAN.js +52 -0
- package/lib/chunk-KUJFQHAN.js.map +1 -0
- package/lib/chunk-KZDGS2SG.cjs +70 -0
- package/lib/chunk-KZDGS2SG.cjs.map +1 -0
- package/lib/chunk-L4PEYYXQ.cjs +51 -0
- package/lib/chunk-L4PEYYXQ.cjs.map +1 -0
- package/lib/chunk-L7FT6NDZ.cjs +284 -0
- package/lib/chunk-L7FT6NDZ.cjs.map +1 -0
- package/lib/chunk-LFNJLWV4.cjs +33 -0
- package/lib/chunk-LFNJLWV4.cjs.map +1 -0
- package/lib/chunk-LHESCZ5L.cjs +39 -0
- package/lib/chunk-LHESCZ5L.cjs.map +1 -0
- package/lib/chunk-LOJ7246E.js +44 -0
- package/lib/chunk-LOJ7246E.js.map +1 -0
- package/lib/chunk-LP52UBLY.js +54 -0
- package/lib/chunk-LP52UBLY.js.map +1 -0
- package/lib/chunk-LPP7TYFN.js +45 -0
- package/lib/chunk-LPP7TYFN.js.map +1 -0
- package/lib/chunk-LS7VSSB4.js +49 -0
- package/lib/chunk-LS7VSSB4.js.map +1 -0
- package/lib/chunk-LSISPTNQ.cjs +47 -0
- package/lib/chunk-LSISPTNQ.cjs.map +1 -0
- package/lib/chunk-LZO46NMA.js +60 -0
- package/lib/chunk-LZO46NMA.js.map +1 -0
- package/lib/chunk-M22WZEWB.js +37 -0
- package/lib/chunk-M22WZEWB.js.map +1 -0
- package/lib/chunk-M63P3MQC.cjs +51 -0
- package/lib/chunk-M63P3MQC.cjs.map +1 -0
- package/lib/chunk-M7EUSLT2.js +51 -0
- package/lib/chunk-M7EUSLT2.js.map +1 -0
- package/lib/chunk-M7SVKQ7R.cjs +51 -0
- package/lib/chunk-M7SVKQ7R.cjs.map +1 -0
- package/lib/chunk-MFDKS22G.js +536 -0
- package/lib/chunk-MFDKS22G.js.map +1 -0
- package/lib/chunk-MHNJALUB.cjs +42 -0
- package/lib/chunk-MHNJALUB.cjs.map +1 -0
- package/lib/chunk-MOYV2F4C.js +50 -0
- package/lib/chunk-MOYV2F4C.js.map +1 -0
- package/lib/chunk-MVXKHM42.cjs +47 -0
- package/lib/chunk-MVXKHM42.cjs.map +1 -0
- package/lib/chunk-N2TACGKJ.js +59 -0
- package/lib/chunk-N2TACGKJ.js.map +1 -0
- package/lib/chunk-N5BGBBOP.js +47 -0
- package/lib/chunk-N5BGBBOP.js.map +1 -0
- package/lib/chunk-NGJN2PES.cjs +95 -0
- package/lib/chunk-NGJN2PES.cjs.map +1 -0
- package/lib/chunk-NIFNQI3P.js +49 -0
- package/lib/chunk-NIFNQI3P.js.map +1 -0
- package/lib/chunk-NLL7EH7Y.cjs +42 -0
- package/lib/chunk-NLL7EH7Y.cjs.map +1 -0
- package/lib/chunk-NOGYLNW5.cjs +49 -0
- package/lib/chunk-NOGYLNW5.cjs.map +1 -0
- package/lib/chunk-NPZA6AMN.js +95 -0
- package/lib/chunk-NPZA6AMN.js.map +1 -0
- package/lib/chunk-NSMPVEO4.js +49 -0
- package/lib/chunk-NSMPVEO4.js.map +1 -0
- package/lib/chunk-NURW5BJN.js +37 -0
- package/lib/chunk-NURW5BJN.js.map +1 -0
- package/lib/chunk-NWPF43O7.js +50 -0
- package/lib/chunk-NWPF43O7.js.map +1 -0
- package/lib/chunk-NXSK65YY.cjs +47 -0
- package/lib/chunk-NXSK65YY.cjs.map +1 -0
- package/lib/chunk-OBNGBDLS.js +47 -0
- package/lib/chunk-OBNGBDLS.js.map +1 -0
- package/lib/chunk-OEMRZEYB.js +45 -0
- package/lib/chunk-OEMRZEYB.js.map +1 -0
- package/lib/chunk-ONVG32V5.cjs +63 -0
- package/lib/chunk-ONVG32V5.cjs.map +1 -0
- package/lib/chunk-P2IDAXTS.cjs +62 -0
- package/lib/chunk-P2IDAXTS.cjs.map +1 -0
- package/lib/chunk-P47JG2WA.js +48 -0
- package/lib/chunk-P47JG2WA.js.map +1 -0
- package/lib/chunk-P5EEPVZA.cjs +77 -0
- package/lib/chunk-P5EEPVZA.cjs.map +1 -0
- package/lib/chunk-PB6VKR7P.js +49 -0
- package/lib/chunk-PB6VKR7P.js.map +1 -0
- package/lib/chunk-PBEQTSJS.cjs +47 -0
- package/lib/chunk-PBEQTSJS.cjs.map +1 -0
- package/lib/chunk-PL6A37WA.js +45 -0
- package/lib/chunk-PL6A37WA.js.map +1 -0
- package/lib/chunk-PMV3JPUR.cjs +51 -0
- package/lib/chunk-PMV3JPUR.cjs.map +1 -0
- package/lib/chunk-PQJ2ODW3.cjs +67 -0
- package/lib/chunk-PQJ2ODW3.cjs.map +1 -0
- package/lib/chunk-PUBFRIEQ.cjs +95 -0
- package/lib/chunk-PUBFRIEQ.cjs.map +1 -0
- package/lib/chunk-PULH7AI4.cjs +68 -0
- package/lib/chunk-PULH7AI4.cjs.map +1 -0
- package/lib/chunk-PUTVVRLC.js +69 -0
- package/lib/chunk-PUTVVRLC.js.map +1 -0
- package/lib/chunk-PVBBO54F.js +49 -0
- package/lib/chunk-PVBBO54F.js.map +1 -0
- package/lib/chunk-Q3WUCLM5.js +37 -0
- package/lib/chunk-Q3WUCLM5.js.map +1 -0
- package/lib/chunk-Q5OKMDOT.js +24 -0
- package/lib/chunk-Q5OKMDOT.js.map +1 -0
- package/lib/chunk-QCY5BXWM.cjs +46 -0
- package/lib/chunk-QCY5BXWM.cjs.map +1 -0
- package/lib/chunk-QDZI3I46.cjs +43 -0
- package/lib/chunk-QDZI3I46.cjs.map +1 -0
- package/lib/chunk-QF6DOS2C.js +42 -0
- package/lib/chunk-QF6DOS2C.js.map +1 -0
- package/lib/chunk-QI4UFW5A.js +59 -0
- package/lib/chunk-QI4UFW5A.js.map +1 -0
- package/lib/chunk-QJDQS6PE.cjs +107 -0
- package/lib/chunk-QJDQS6PE.cjs.map +1 -0
- package/lib/chunk-QTBUH3V7.js +61 -0
- package/lib/chunk-QTBUH3V7.js.map +1 -0
- package/lib/chunk-QVJZ2PSX.cjs +51 -0
- package/lib/chunk-QVJZ2PSX.cjs.map +1 -0
- package/lib/chunk-QWJAX42Q.cjs +53 -0
- package/lib/chunk-QWJAX42Q.cjs.map +1 -0
- package/lib/chunk-QXXLGQVN.js +45 -0
- package/lib/chunk-QXXLGQVN.js.map +1 -0
- package/lib/chunk-R3IJVFKR.cjs +53 -0
- package/lib/chunk-R3IJVFKR.cjs.map +1 -0
- package/lib/chunk-RDZZJ22W.cjs +39 -0
- package/lib/chunk-RDZZJ22W.cjs.map +1 -0
- package/lib/chunk-RGGHPNOB.js +49 -0
- package/lib/chunk-RGGHPNOB.js.map +1 -0
- package/lib/chunk-RKD7U6QH.cjs +51 -0
- package/lib/chunk-RKD7U6QH.cjs.map +1 -0
- package/lib/chunk-RMTTRB7R.js +51 -0
- package/lib/chunk-RMTTRB7R.js.map +1 -0
- package/lib/chunk-RNJOCB3T.cjs +42 -0
- package/lib/chunk-RNJOCB3T.cjs.map +1 -0
- package/lib/chunk-RQAOPSUW.cjs +47 -0
- package/lib/chunk-RQAOPSUW.cjs.map +1 -0
- package/lib/chunk-RW4KKMPX.js +93 -0
- package/lib/chunk-RW4KKMPX.js.map +1 -0
- package/lib/chunk-S4UDNFDR.js +44 -0
- package/lib/chunk-S4UDNFDR.js.map +1 -0
- package/lib/chunk-SGXMH2JP.cjs +29 -0
- package/lib/chunk-SGXMH2JP.cjs.map +1 -0
- package/lib/chunk-SIUUVOQC.js +51 -0
- package/lib/chunk-SIUUVOQC.js.map +1 -0
- package/lib/chunk-SO73YTDF.cjs +53 -0
- package/lib/chunk-SO73YTDF.cjs.map +1 -0
- package/lib/chunk-SOA5XGA2.js +51 -0
- package/lib/chunk-SOA5XGA2.js.map +1 -0
- package/lib/chunk-SOOB4KI7.cjs +53 -0
- package/lib/chunk-SOOB4KI7.cjs.map +1 -0
- package/lib/chunk-SSHXUS6Q.js +49 -0
- package/lib/chunk-SSHXUS6Q.js.map +1 -0
- package/lib/chunk-STQYJKBK.cjs +55 -0
- package/lib/chunk-STQYJKBK.cjs.map +1 -0
- package/lib/chunk-SZARKLAL.js +68 -0
- package/lib/chunk-SZARKLAL.js.map +1 -0
- package/lib/chunk-SZM64XMO.cjs +68 -0
- package/lib/chunk-SZM64XMO.cjs.map +1 -0
- package/lib/chunk-T2DEYIX6.cjs +57 -0
- package/lib/chunk-T2DEYIX6.cjs.map +1 -0
- package/lib/chunk-T2YGQC4C.js +61 -0
- package/lib/chunk-T2YGQC4C.js.map +1 -0
- package/lib/chunk-T5OEKW7A.cjs +55 -0
- package/lib/chunk-T5OEKW7A.cjs.map +1 -0
- package/lib/chunk-T6CBFUT6.cjs +51 -0
- package/lib/chunk-T6CBFUT6.cjs.map +1 -0
- package/lib/chunk-TMP744WP.js +45 -0
- package/lib/chunk-TMP744WP.js.map +1 -0
- package/lib/chunk-TMSNRZEW.cjs +50 -0
- package/lib/chunk-TMSNRZEW.cjs.map +1 -0
- package/lib/chunk-TRDTLOUY.js +66 -0
- package/lib/chunk-TRDTLOUY.js.map +1 -0
- package/lib/chunk-TTVTRX76.cjs +93 -0
- package/lib/chunk-TTVTRX76.cjs.map +1 -0
- package/lib/chunk-TUKV2ZIA.cjs +52 -0
- package/lib/chunk-TUKV2ZIA.cjs.map +1 -0
- package/lib/chunk-TVKGUM2Z.js +99 -0
- package/lib/chunk-TVKGUM2Z.js.map +1 -0
- package/lib/chunk-U6G7T5WX.cjs +47 -0
- package/lib/chunk-U6G7T5WX.cjs.map +1 -0
- package/lib/chunk-UFUZNSZI.cjs +61 -0
- package/lib/chunk-UFUZNSZI.cjs.map +1 -0
- package/lib/chunk-UHZABEQZ.js +45 -0
- package/lib/chunk-UHZABEQZ.js.map +1 -0
- package/lib/chunk-UIRXTLC6.cjs +61 -0
- package/lib/chunk-UIRXTLC6.cjs.map +1 -0
- package/lib/chunk-UJ4OEOZA.js +87 -0
- package/lib/chunk-UJ4OEOZA.js.map +1 -0
- package/lib/chunk-UL4JQZUD.cjs +42 -0
- package/lib/chunk-UL4JQZUD.cjs.map +1 -0
- package/lib/chunk-UNPVTCLZ.cjs +47 -0
- package/lib/chunk-UNPVTCLZ.cjs.map +1 -0
- package/lib/chunk-USP4O34Q.js +28 -0
- package/lib/chunk-USP4O34Q.js.map +1 -0
- package/lib/chunk-UV6BETTC.js +48 -0
- package/lib/chunk-UV6BETTC.js.map +1 -0
- package/lib/chunk-UXLDPLOA.js +45 -0
- package/lib/chunk-UXLDPLOA.js.map +1 -0
- package/lib/chunk-V6VQMQQX.js +91 -0
- package/lib/chunk-V6VQMQQX.js.map +1 -0
- package/lib/chunk-V74OBMS3.cjs +95 -0
- package/lib/chunk-V74OBMS3.cjs.map +1 -0
- package/lib/chunk-VA6VDBQS.js +41 -0
- package/lib/chunk-VA6VDBQS.js.map +1 -0
- package/lib/chunk-VB7XUWBF.cjs +47 -0
- package/lib/chunk-VB7XUWBF.cjs.map +1 -0
- package/lib/chunk-VESU72KU.js +93 -0
- package/lib/chunk-VESU72KU.js.map +1 -0
- package/lib/chunk-VEV4DZKI.cjs +51 -0
- package/lib/chunk-VEV4DZKI.cjs.map +1 -0
- package/lib/chunk-VI2NCCWC.js +49 -0
- package/lib/chunk-VI2NCCWC.js.map +1 -0
- package/lib/chunk-VTSEVEKJ.cjs +53 -0
- package/lib/chunk-VTSEVEKJ.cjs.map +1 -0
- package/lib/chunk-VVS2M4QH.js +53 -0
- package/lib/chunk-VVS2M4QH.js.map +1 -0
- package/lib/chunk-VWUS4YUX.js +49 -0
- package/lib/chunk-VWUS4YUX.js.map +1 -0
- package/lib/chunk-VXXJ3CIC.js +49 -0
- package/lib/chunk-VXXJ3CIC.js.map +1 -0
- package/lib/chunk-VZQLDW2G.cjs +95 -0
- package/lib/chunk-VZQLDW2G.cjs.map +1 -0
- package/lib/chunk-WO5PFLID.js +45 -0
- package/lib/chunk-WO5PFLID.js.map +1 -0
- package/lib/chunk-WWUZP5BE.cjs +50 -0
- package/lib/chunk-WWUZP5BE.cjs.map +1 -0
- package/lib/chunk-X55DEMOC.js +45 -0
- package/lib/chunk-X55DEMOC.js.map +1 -0
- package/lib/chunk-X5TTCMYD.cjs +105 -0
- package/lib/chunk-X5TTCMYD.cjs.map +1 -0
- package/lib/chunk-XEAXNFP4.js +49 -0
- package/lib/chunk-XEAXNFP4.js.map +1 -0
- package/lib/chunk-XJLJ77JI.cjs +107 -0
- package/lib/chunk-XJLJ77JI.cjs.map +1 -0
- package/lib/chunk-XK7ZO7EI.js +40 -0
- package/lib/chunk-XK7ZO7EI.js.map +1 -0
- package/lib/chunk-XPPCVN6T.cjs +53 -0
- package/lib/chunk-XPPCVN6T.cjs.map +1 -0
- package/lib/chunk-XREISFN4.cjs +42 -0
- package/lib/chunk-XREISFN4.cjs.map +1 -0
- package/lib/chunk-XTJSTAG5.js +45 -0
- package/lib/chunk-XTJSTAG5.js.map +1 -0
- package/lib/chunk-XTN5Y5IT.cjs +56 -0
- package/lib/chunk-XTN5Y5IT.cjs.map +1 -0
- package/lib/chunk-XU6ZCB7C.cjs +47 -0
- package/lib/chunk-XU6ZCB7C.cjs.map +1 -0
- package/lib/chunk-XWBNNCYU.cjs +97 -0
- package/lib/chunk-XWBNNCYU.cjs.map +1 -0
- package/lib/chunk-XWIVM4OM.cjs +42 -0
- package/lib/chunk-XWIVM4OM.cjs.map +1 -0
- package/lib/chunk-Y4GGZ4EQ.cjs +101 -0
- package/lib/chunk-Y4GGZ4EQ.cjs.map +1 -0
- package/lib/chunk-YBX7UV5N.cjs +91 -0
- package/lib/chunk-YBX7UV5N.cjs.map +1 -0
- package/lib/chunk-YETXFXFO.cjs +550 -0
- package/lib/chunk-YETXFXFO.cjs.map +1 -0
- package/lib/chunk-YFTJA634.js +36 -0
- package/lib/chunk-YFTJA634.js.map +1 -0
- package/lib/chunk-YRCCY6RV.js +276 -0
- package/lib/chunk-YRCCY6RV.js.map +1 -0
- package/lib/chunk-YYAEAKBO.cjs +51 -0
- package/lib/chunk-YYAEAKBO.cjs.map +1 -0
- package/lib/chunk-ZGX3A2OH.cjs +42 -0
- package/lib/chunk-ZGX3A2OH.cjs.map +1 -0
- package/lib/chunk-ZJE7A6E6.cjs +39 -0
- package/lib/chunk-ZJE7A6E6.cjs.map +1 -0
- package/lib/chunk-ZM2HKUHW.cjs +50 -0
- package/lib/chunk-ZM2HKUHW.cjs.map +1 -0
- package/lib/chunk-ZVSNJOYP.js +51 -0
- package/lib/chunk-ZVSNJOYP.js.map +1 -0
- package/lib/commercelayer.cjs +7 -7
- package/lib/commercelayer.d.cts +3 -3
- package/lib/commercelayer.d.ts +3 -3
- package/lib/commercelayer.js +3 -3
- package/lib/enum.cjs +14 -22
- package/lib/enum.d.cts +1 -1
- package/lib/enum.d.ts +1 -1
- package/lib/enum.js +1 -1
- package/lib/index.cjs +270 -275
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +136 -137
- package/lib/jsonapi.cjs +4 -4
- package/lib/jsonapi.d.cts +1 -1
- package/lib/jsonapi.d.ts +1 -1
- package/lib/jsonapi.js +2 -2
- package/lib/model.d.cts +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/query.d.cts +1 -1
- package/lib/query.d.ts +1 -1
- package/lib/resource.cjs +7 -7
- package/lib/resource.d.cts +1 -1
- package/lib/resource.d.ts +1 -1
- package/lib/resource.js +2 -2
- package/lib/resources/addresses.cjs +4 -4
- package/lib/resources/addresses.d.cts +2 -2
- package/lib/resources/addresses.d.ts +1 -1
- package/lib/resources/addresses.js +3 -3
- package/lib/resources/adjustments.cjs +4 -4
- package/lib/resources/adjustments.d.cts +2 -2
- package/lib/resources/adjustments.d.ts +1 -1
- package/lib/resources/adjustments.js +3 -3
- package/lib/resources/adyen_gateways.cjs +4 -4
- package/lib/resources/adyen_gateways.d.cts +2 -2
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_gateways.js +3 -3
- package/lib/resources/adyen_payments.cjs +4 -4
- package/lib/resources/adyen_payments.d.cts +2 -2
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/adyen_payments.js +3 -3
- package/lib/resources/applications.cjs +4 -4
- package/lib/resources/applications.d.cts +2 -2
- package/lib/resources/applications.d.ts +1 -1
- package/lib/resources/applications.js +3 -3
- package/lib/resources/attachments.cjs +4 -4
- package/lib/resources/attachments.d.cts +2 -2
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/attachments.js +3 -3
- package/lib/resources/authorizations.cjs +4 -4
- package/lib/resources/authorizations.d.cts +2 -2
- package/lib/resources/authorizations.d.ts +1 -1
- package/lib/resources/authorizations.js +3 -3
- package/lib/resources/avalara_accounts.cjs +4 -4
- package/lib/resources/avalara_accounts.d.cts +2 -2
- package/lib/resources/avalara_accounts.d.ts +1 -1
- package/lib/resources/avalara_accounts.js +3 -3
- package/lib/resources/axerve_gateways.cjs +4 -4
- package/lib/resources/axerve_gateways.d.cts +2 -2
- package/lib/resources/axerve_gateways.d.ts +1 -1
- package/lib/resources/axerve_gateways.js +3 -3
- package/lib/resources/axerve_payments.cjs +4 -4
- package/lib/resources/axerve_payments.d.cts +2 -2
- package/lib/resources/axerve_payments.d.ts +1 -1
- package/lib/resources/axerve_payments.js +3 -3
- package/lib/resources/bing_geocoders.cjs +4 -4
- package/lib/resources/bing_geocoders.d.cts +2 -2
- package/lib/resources/bing_geocoders.d.ts +1 -1
- package/lib/resources/bing_geocoders.js +3 -3
- package/lib/resources/braintree_gateways.cjs +4 -4
- package/lib/resources/braintree_gateways.d.cts +2 -2
- package/lib/resources/braintree_gateways.d.ts +1 -1
- package/lib/resources/braintree_gateways.js +3 -3
- package/lib/resources/braintree_payments.cjs +4 -4
- package/lib/resources/braintree_payments.d.cts +2 -2
- package/lib/resources/braintree_payments.d.ts +1 -1
- package/lib/resources/braintree_payments.js +3 -3
- package/lib/resources/bundles.cjs +4 -4
- package/lib/resources/bundles.d.cts +2 -2
- package/lib/resources/bundles.d.ts +1 -1
- package/lib/resources/bundles.js +3 -3
- package/lib/resources/buy_x_pay_y_promotions.cjs +4 -4
- package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -2
- package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
- package/lib/resources/buy_x_pay_y_promotions.js +3 -3
- package/lib/resources/captures.cjs +4 -4
- package/lib/resources/captures.d.cts +2 -2
- package/lib/resources/captures.d.ts +1 -1
- package/lib/resources/captures.js +3 -3
- package/lib/resources/carrier_accounts.cjs +4 -4
- package/lib/resources/carrier_accounts.d.cts +2 -2
- package/lib/resources/carrier_accounts.d.ts +1 -1
- package/lib/resources/carrier_accounts.js +3 -3
- package/lib/resources/checkout_com_gateways.cjs +4 -4
- package/lib/resources/checkout_com_gateways.d.cts +2 -2
- package/lib/resources/checkout_com_gateways.d.ts +1 -1
- package/lib/resources/checkout_com_gateways.js +3 -3
- package/lib/resources/checkout_com_payments.cjs +4 -4
- package/lib/resources/checkout_com_payments.d.cts +2 -2
- package/lib/resources/checkout_com_payments.d.ts +1 -1
- package/lib/resources/checkout_com_payments.js +3 -3
- package/lib/resources/cleanups.cjs +4 -4
- package/lib/resources/cleanups.d.cts +2 -2
- package/lib/resources/cleanups.d.ts +1 -1
- package/lib/resources/cleanups.js +3 -3
- package/lib/resources/coupon_codes_promotion_rules.cjs +4 -4
- package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -2
- package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
- package/lib/resources/coupon_codes_promotion_rules.js +3 -3
- package/lib/resources/coupon_recipients.cjs +4 -4
- package/lib/resources/coupon_recipients.d.cts +2 -2
- package/lib/resources/coupon_recipients.d.ts +1 -1
- package/lib/resources/coupon_recipients.js +3 -3
- package/lib/resources/coupons.cjs +4 -4
- package/lib/resources/coupons.d.cts +2 -2
- package/lib/resources/coupons.d.ts +1 -1
- package/lib/resources/coupons.js +3 -3
- package/lib/resources/custom_promotion_rules.cjs +4 -4
- package/lib/resources/custom_promotion_rules.d.cts +2 -2
- package/lib/resources/custom_promotion_rules.d.ts +1 -1
- package/lib/resources/custom_promotion_rules.js +3 -3
- package/lib/resources/customer_addresses.cjs +4 -4
- package/lib/resources/customer_addresses.d.cts +2 -2
- package/lib/resources/customer_addresses.d.ts +1 -1
- package/lib/resources/customer_addresses.js +3 -3
- package/lib/resources/customer_groups.cjs +4 -4
- package/lib/resources/customer_groups.d.cts +2 -2
- package/lib/resources/customer_groups.d.ts +1 -1
- package/lib/resources/customer_groups.js +3 -3
- package/lib/resources/customer_password_resets.cjs +4 -4
- package/lib/resources/customer_password_resets.d.cts +2 -2
- package/lib/resources/customer_password_resets.d.ts +1 -1
- package/lib/resources/customer_password_resets.js +3 -3
- package/lib/resources/customer_payment_sources.cjs +4 -4
- package/lib/resources/customer_payment_sources.d.cts +2 -2
- package/lib/resources/customer_payment_sources.d.ts +1 -1
- package/lib/resources/customer_payment_sources.js +3 -3
- package/lib/resources/customer_subscriptions.cjs +4 -4
- package/lib/resources/customer_subscriptions.d.cts +2 -2
- package/lib/resources/customer_subscriptions.d.ts +1 -1
- package/lib/resources/customer_subscriptions.js +3 -3
- package/lib/resources/customers.cjs +4 -4
- package/lib/resources/customers.d.cts +2 -2
- package/lib/resources/customers.d.ts +1 -1
- package/lib/resources/customers.js +3 -3
- package/lib/resources/delivery_lead_times.cjs +4 -4
- package/lib/resources/delivery_lead_times.d.cts +2 -2
- package/lib/resources/delivery_lead_times.d.ts +1 -1
- package/lib/resources/delivery_lead_times.js +3 -3
- package/lib/resources/discount_engine_items.cjs +4 -4
- package/lib/resources/discount_engine_items.d.cts +2 -2
- package/lib/resources/discount_engine_items.d.ts +1 -1
- package/lib/resources/discount_engine_items.js +3 -3
- package/lib/resources/discount_engines.cjs +4 -4
- package/lib/resources/discount_engines.d.cts +2 -2
- package/lib/resources/discount_engines.d.ts +1 -1
- package/lib/resources/discount_engines.js +3 -3
- package/lib/resources/easypost_pickups.cjs +4 -4
- package/lib/resources/easypost_pickups.d.cts +2 -2
- package/lib/resources/easypost_pickups.d.ts +1 -1
- package/lib/resources/easypost_pickups.js +3 -3
- package/lib/resources/event_callbacks.cjs +4 -4
- package/lib/resources/event_callbacks.d.cts +2 -2
- package/lib/resources/event_callbacks.d.ts +1 -1
- package/lib/resources/event_callbacks.js +3 -3
- package/lib/resources/event_stores.cjs +4 -4
- package/lib/resources/event_stores.d.cts +2 -2
- package/lib/resources/event_stores.d.ts +1 -1
- package/lib/resources/event_stores.js +3 -3
- package/lib/resources/events.cjs +4 -4
- package/lib/resources/events.d.cts +2 -2
- package/lib/resources/events.d.ts +1 -1
- package/lib/resources/events.js +3 -3
- package/lib/resources/exports.cjs +4 -4
- package/lib/resources/exports.d.cts +2 -2
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/exports.js +3 -3
- package/lib/resources/external_gateways.cjs +4 -4
- package/lib/resources/external_gateways.d.cts +2 -2
- package/lib/resources/external_gateways.d.ts +1 -1
- package/lib/resources/external_gateways.js +3 -3
- package/lib/resources/external_payments.cjs +4 -4
- package/lib/resources/external_payments.d.cts +2 -2
- package/lib/resources/external_payments.d.ts +1 -1
- package/lib/resources/external_payments.js +3 -3
- package/lib/resources/external_promotions.cjs +4 -4
- package/lib/resources/external_promotions.d.cts +2 -2
- package/lib/resources/external_promotions.d.ts +1 -1
- package/lib/resources/external_promotions.js +3 -3
- package/lib/resources/external_tax_calculators.cjs +4 -4
- package/lib/resources/external_tax_calculators.d.cts +2 -2
- package/lib/resources/external_tax_calculators.d.ts +1 -1
- package/lib/resources/external_tax_calculators.js +3 -3
- package/lib/resources/fixed_amount_promotions.cjs +4 -4
- package/lib/resources/fixed_amount_promotions.d.cts +2 -2
- package/lib/resources/fixed_amount_promotions.d.ts +1 -1
- package/lib/resources/fixed_amount_promotions.js +3 -3
- package/lib/resources/fixed_price_promotions.cjs +4 -4
- package/lib/resources/fixed_price_promotions.d.cts +2 -2
- package/lib/resources/fixed_price_promotions.d.ts +1 -1
- package/lib/resources/fixed_price_promotions.js +3 -3
- package/lib/resources/flex_promotions.cjs +4 -4
- package/lib/resources/flex_promotions.d.cts +2 -2
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.js +3 -3
- package/lib/resources/free_gift_promotions.cjs +4 -4
- package/lib/resources/free_gift_promotions.d.cts +2 -2
- package/lib/resources/free_gift_promotions.d.ts +1 -1
- package/lib/resources/free_gift_promotions.js +3 -3
- package/lib/resources/free_shipping_promotions.cjs +4 -4
- package/lib/resources/free_shipping_promotions.d.cts +2 -2
- package/lib/resources/free_shipping_promotions.d.ts +1 -1
- package/lib/resources/free_shipping_promotions.js +3 -3
- package/lib/resources/geocoders.cjs +4 -4
- package/lib/resources/geocoders.d.cts +2 -2
- package/lib/resources/geocoders.d.ts +1 -1
- package/lib/resources/geocoders.js +3 -3
- package/lib/resources/gift_card_recipients.cjs +4 -4
- package/lib/resources/gift_card_recipients.d.cts +2 -2
- package/lib/resources/gift_card_recipients.d.ts +1 -1
- package/lib/resources/gift_card_recipients.js +3 -3
- package/lib/resources/gift_cards.cjs +4 -4
- package/lib/resources/gift_cards.d.cts +2 -2
- package/lib/resources/gift_cards.d.ts +1 -1
- package/lib/resources/gift_cards.js +3 -3
- package/lib/resources/google_geocoders.cjs +4 -4
- package/lib/resources/google_geocoders.d.cts +2 -2
- package/lib/resources/google_geocoders.d.ts +1 -1
- package/lib/resources/google_geocoders.js +3 -3
- package/lib/resources/imports.cjs +4 -4
- package/lib/resources/imports.d.cts +2 -2
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/imports.js +3 -3
- package/lib/resources/in_stock_subscriptions.cjs +4 -4
- package/lib/resources/in_stock_subscriptions.d.cts +2 -2
- package/lib/resources/in_stock_subscriptions.d.ts +1 -1
- package/lib/resources/in_stock_subscriptions.js +3 -3
- package/lib/resources/inventory_models.cjs +4 -4
- package/lib/resources/inventory_models.d.cts +2 -2
- package/lib/resources/inventory_models.d.ts +1 -1
- package/lib/resources/inventory_models.js +3 -3
- package/lib/resources/inventory_return_locations.cjs +4 -4
- package/lib/resources/inventory_return_locations.d.cts +2 -2
- package/lib/resources/inventory_return_locations.d.ts +1 -1
- package/lib/resources/inventory_return_locations.js +3 -3
- package/lib/resources/inventory_stock_locations.cjs +4 -4
- package/lib/resources/inventory_stock_locations.d.cts +2 -2
- package/lib/resources/inventory_stock_locations.d.ts +1 -1
- package/lib/resources/inventory_stock_locations.js +3 -3
- package/lib/resources/klarna_gateways.cjs +4 -4
- package/lib/resources/klarna_gateways.d.cts +2 -2
- package/lib/resources/klarna_gateways.d.ts +1 -1
- package/lib/resources/klarna_gateways.js +3 -3
- package/lib/resources/klarna_payments.cjs +4 -4
- package/lib/resources/klarna_payments.d.cts +2 -2
- package/lib/resources/klarna_payments.d.ts +1 -1
- package/lib/resources/klarna_payments.js +3 -3
- package/lib/resources/line_item_options.cjs +4 -4
- package/lib/resources/line_item_options.d.cts +2 -2
- package/lib/resources/line_item_options.d.ts +1 -1
- package/lib/resources/line_item_options.js +3 -3
- package/lib/resources/line_items.cjs +4 -4
- package/lib/resources/line_items.d.cts +2 -2
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/line_items.js +3 -3
- package/lib/resources/links.cjs +4 -4
- package/lib/resources/links.d.cts +2 -2
- package/lib/resources/links.d.ts +1 -1
- package/lib/resources/links.js +3 -3
- package/lib/resources/manual_gateways.cjs +4 -4
- package/lib/resources/manual_gateways.d.cts +2 -2
- package/lib/resources/manual_gateways.d.ts +1 -1
- package/lib/resources/manual_gateways.js +3 -3
- package/lib/resources/manual_tax_calculators.cjs +4 -4
- package/lib/resources/manual_tax_calculators.d.cts +2 -2
- package/lib/resources/manual_tax_calculators.d.ts +1 -1
- package/lib/resources/manual_tax_calculators.js +3 -3
- package/lib/resources/markets.cjs +4 -4
- package/lib/resources/markets.d.cts +2 -2
- package/lib/resources/markets.d.ts +1 -1
- package/lib/resources/markets.js +3 -3
- package/lib/resources/merchants.cjs +4 -4
- package/lib/resources/merchants.d.cts +2 -2
- package/lib/resources/merchants.d.ts +1 -1
- package/lib/resources/merchants.js +3 -3
- package/lib/resources/notifications.cjs +4 -4
- package/lib/resources/notifications.d.cts +2 -2
- package/lib/resources/notifications.d.ts +1 -1
- package/lib/resources/notifications.js +3 -3
- package/lib/resources/order_amount_promotion_rules.cjs +4 -4
- package/lib/resources/order_amount_promotion_rules.d.cts +2 -2
- package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
- package/lib/resources/order_amount_promotion_rules.js +3 -3
- package/lib/resources/order_copies.cjs +4 -4
- package/lib/resources/order_copies.d.cts +2 -2
- package/lib/resources/order_copies.d.ts +1 -1
- package/lib/resources/order_copies.js +3 -3
- package/lib/resources/order_factories.cjs +4 -4
- package/lib/resources/order_factories.d.cts +2 -2
- package/lib/resources/order_factories.d.ts +1 -1
- package/lib/resources/order_factories.js +3 -3
- package/lib/resources/order_subscription_items.cjs +4 -4
- package/lib/resources/order_subscription_items.d.cts +2 -2
- package/lib/resources/order_subscription_items.d.ts +1 -1
- package/lib/resources/order_subscription_items.js +3 -3
- package/lib/resources/order_subscriptions.cjs +4 -4
- package/lib/resources/order_subscriptions.d.cts +2 -2
- package/lib/resources/order_subscriptions.d.ts +1 -1
- package/lib/resources/order_subscriptions.js +3 -3
- package/lib/resources/orders.cjs +4 -4
- package/lib/resources/orders.d.cts +2 -2
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/orders.js +3 -3
- package/lib/resources/organizations.cjs +4 -4
- package/lib/resources/organizations.d.cts +2 -2
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/organizations.js +3 -3
- package/lib/resources/packages.cjs +4 -4
- package/lib/resources/packages.d.cts +2 -2
- package/lib/resources/packages.d.ts +1 -1
- package/lib/resources/packages.js +3 -3
- package/lib/resources/parcel_line_items.cjs +4 -4
- package/lib/resources/parcel_line_items.d.cts +2 -2
- package/lib/resources/parcel_line_items.d.ts +1 -1
- package/lib/resources/parcel_line_items.js +3 -3
- package/lib/resources/parcels.cjs +4 -4
- package/lib/resources/parcels.d.cts +2 -2
- package/lib/resources/parcels.d.ts +1 -1
- package/lib/resources/parcels.js +3 -3
- package/lib/resources/payment_gateways.cjs +4 -4
- package/lib/resources/payment_gateways.d.cts +2 -2
- package/lib/resources/payment_gateways.d.ts +1 -1
- package/lib/resources/payment_gateways.js +3 -3
- package/lib/resources/payment_methods.cjs +4 -4
- package/lib/resources/payment_methods.d.cts +2 -2
- package/lib/resources/payment_methods.d.ts +1 -1
- package/lib/resources/payment_methods.js +3 -3
- package/lib/resources/payment_options.cjs +4 -4
- package/lib/resources/payment_options.d.cts +2 -2
- package/lib/resources/payment_options.d.ts +1 -1
- package/lib/resources/payment_options.js +3 -3
- package/lib/resources/paypal_gateways.cjs +4 -4
- package/lib/resources/paypal_gateways.d.cts +2 -2
- package/lib/resources/paypal_gateways.d.ts +1 -1
- package/lib/resources/paypal_gateways.js +3 -3
- package/lib/resources/paypal_payments.cjs +4 -4
- package/lib/resources/paypal_payments.d.cts +2 -2
- package/lib/resources/paypal_payments.d.ts +1 -1
- package/lib/resources/paypal_payments.js +3 -3
- package/lib/resources/percentage_discount_promotions.cjs +4 -4
- package/lib/resources/percentage_discount_promotions.d.cts +2 -2
- package/lib/resources/percentage_discount_promotions.d.ts +1 -1
- package/lib/resources/percentage_discount_promotions.js +3 -3
- package/lib/resources/pickups.cjs +4 -4
- package/lib/resources/pickups.d.cts +2 -2
- package/lib/resources/pickups.d.ts +1 -1
- package/lib/resources/pickups.js +3 -3
- package/lib/resources/price_frequency_tiers.cjs +4 -4
- package/lib/resources/price_frequency_tiers.d.cts +2 -2
- package/lib/resources/price_frequency_tiers.d.ts +1 -1
- package/lib/resources/price_frequency_tiers.js +3 -3
- package/lib/resources/price_list_schedulers.cjs +4 -4
- package/lib/resources/price_list_schedulers.d.cts +2 -2
- package/lib/resources/price_list_schedulers.d.ts +1 -1
- package/lib/resources/price_list_schedulers.js +3 -3
- package/lib/resources/price_lists.cjs +4 -4
- package/lib/resources/price_lists.d.cts +2 -2
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_lists.js +3 -3
- package/lib/resources/price_tiers.cjs +4 -4
- package/lib/resources/price_tiers.d.cts +2 -2
- package/lib/resources/price_tiers.d.ts +1 -1
- package/lib/resources/price_tiers.js +3 -3
- package/lib/resources/price_volume_tiers.cjs +4 -4
- package/lib/resources/price_volume_tiers.d.cts +2 -2
- package/lib/resources/price_volume_tiers.d.ts +1 -1
- package/lib/resources/price_volume_tiers.js +3 -3
- package/lib/resources/prices.cjs +4 -4
- package/lib/resources/prices.d.cts +2 -2
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/prices.js +3 -3
- package/lib/resources/promotion_rules.cjs +4 -4
- package/lib/resources/promotion_rules.d.cts +2 -2
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotion_rules.js +3 -3
- package/lib/resources/promotions.cjs +4 -4
- package/lib/resources/promotions.d.cts +2 -2
- package/lib/resources/promotions.d.ts +1 -1
- package/lib/resources/promotions.js +3 -3
- package/lib/resources/recurring_order_copies.cjs +4 -4
- package/lib/resources/recurring_order_copies.d.cts +2 -2
- package/lib/resources/recurring_order_copies.d.ts +1 -1
- package/lib/resources/recurring_order_copies.js +3 -3
- package/lib/resources/refunds.cjs +4 -4
- package/lib/resources/refunds.d.cts +2 -2
- package/lib/resources/refunds.d.ts +1 -1
- package/lib/resources/refunds.js +3 -3
- package/lib/resources/reserved_stocks.cjs +4 -4
- package/lib/resources/reserved_stocks.d.cts +2 -2
- package/lib/resources/reserved_stocks.d.ts +1 -1
- package/lib/resources/reserved_stocks.js +3 -3
- package/lib/resources/resource_errors.cjs +4 -4
- package/lib/resources/resource_errors.d.cts +2 -2
- package/lib/resources/resource_errors.d.ts +1 -1
- package/lib/resources/resource_errors.js +3 -3
- package/lib/resources/return_line_items.cjs +4 -4
- package/lib/resources/return_line_items.d.cts +2 -2
- package/lib/resources/return_line_items.d.ts +1 -1
- package/lib/resources/return_line_items.js +3 -3
- package/lib/resources/returns.cjs +4 -4
- package/lib/resources/returns.d.cts +2 -2
- package/lib/resources/returns.d.ts +1 -1
- package/lib/resources/returns.js +3 -3
- package/lib/resources/satispay_gateways.cjs +4 -4
- package/lib/resources/satispay_gateways.d.cts +2 -2
- package/lib/resources/satispay_gateways.d.ts +1 -1
- package/lib/resources/satispay_gateways.js +3 -3
- package/lib/resources/satispay_payments.cjs +4 -4
- package/lib/resources/satispay_payments.d.cts +2 -2
- package/lib/resources/satispay_payments.d.ts +1 -1
- package/lib/resources/satispay_payments.js +3 -3
- package/lib/resources/shipments.cjs +4 -4
- package/lib/resources/shipments.d.cts +2 -2
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipments.js +3 -3
- package/lib/resources/shipping_categories.cjs +4 -4
- package/lib/resources/shipping_categories.d.cts +2 -2
- package/lib/resources/shipping_categories.d.ts +1 -1
- package/lib/resources/shipping_categories.js +3 -3
- package/lib/resources/shipping_method_tiers.cjs +4 -4
- package/lib/resources/shipping_method_tiers.d.cts +2 -2
- package/lib/resources/shipping_method_tiers.d.ts +1 -1
- package/lib/resources/shipping_method_tiers.js +3 -3
- package/lib/resources/shipping_methods.cjs +4 -4
- package/lib/resources/shipping_methods.d.cts +2 -2
- package/lib/resources/shipping_methods.d.ts +1 -1
- package/lib/resources/shipping_methods.js +3 -3
- package/lib/resources/shipping_weight_tiers.cjs +4 -4
- package/lib/resources/shipping_weight_tiers.d.cts +2 -2
- package/lib/resources/shipping_weight_tiers.d.ts +1 -1
- package/lib/resources/shipping_weight_tiers.js +3 -3
- package/lib/resources/shipping_zones.cjs +4 -4
- package/lib/resources/shipping_zones.d.cts +2 -2
- package/lib/resources/shipping_zones.d.ts +1 -1
- package/lib/resources/shipping_zones.js +3 -3
- package/lib/resources/sku_list_items.cjs +4 -4
- package/lib/resources/sku_list_items.d.cts +2 -2
- package/lib/resources/sku_list_items.d.ts +1 -1
- package/lib/resources/sku_list_items.js +3 -3
- package/lib/resources/sku_list_promotion_rules.cjs +4 -4
- package/lib/resources/sku_list_promotion_rules.d.cts +2 -2
- package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
- package/lib/resources/sku_list_promotion_rules.js +3 -3
- package/lib/resources/sku_lists.cjs +4 -4
- package/lib/resources/sku_lists.d.cts +2 -2
- package/lib/resources/sku_lists.d.ts +1 -1
- package/lib/resources/sku_lists.js +3 -3
- package/lib/resources/sku_options.cjs +4 -4
- package/lib/resources/sku_options.d.cts +2 -2
- package/lib/resources/sku_options.d.ts +1 -1
- package/lib/resources/sku_options.js +3 -3
- package/lib/resources/skus.cjs +4 -4
- package/lib/resources/skus.d.cts +2 -2
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/skus.js +3 -3
- package/lib/resources/stock_items.cjs +4 -4
- package/lib/resources/stock_items.d.cts +2 -2
- package/lib/resources/stock_items.d.ts +1 -1
- package/lib/resources/stock_items.js +3 -3
- package/lib/resources/stock_line_items.cjs +4 -4
- package/lib/resources/stock_line_items.d.cts +2 -2
- package/lib/resources/stock_line_items.d.ts +1 -1
- package/lib/resources/stock_line_items.js +3 -3
- package/lib/resources/stock_locations.cjs +4 -4
- package/lib/resources/stock_locations.d.cts +2 -2
- package/lib/resources/stock_locations.d.ts +1 -1
- package/lib/resources/stock_locations.js +3 -3
- package/lib/resources/stock_reservations.cjs +4 -4
- package/lib/resources/stock_reservations.d.cts +2 -2
- package/lib/resources/stock_reservations.d.ts +1 -1
- package/lib/resources/stock_reservations.js +3 -3
- package/lib/resources/stock_transfers.cjs +4 -4
- package/lib/resources/stock_transfers.d.cts +2 -2
- package/lib/resources/stock_transfers.d.ts +1 -1
- package/lib/resources/stock_transfers.js +3 -3
- package/lib/resources/stores.cjs +4 -4
- package/lib/resources/stores.d.cts +2 -2
- package/lib/resources/stores.d.ts +1 -1
- package/lib/resources/stores.js +3 -3
- package/lib/resources/stripe_gateways.cjs +4 -4
- package/lib/resources/stripe_gateways.d.cts +2 -2
- package/lib/resources/stripe_gateways.d.ts +1 -1
- package/lib/resources/stripe_gateways.js +3 -3
- package/lib/resources/stripe_payments.cjs +4 -4
- package/lib/resources/stripe_payments.d.cts +2 -2
- package/lib/resources/stripe_payments.d.ts +1 -1
- package/lib/resources/stripe_payments.js +3 -3
- package/lib/resources/stripe_tax_accounts.cjs +4 -4
- package/lib/resources/stripe_tax_accounts.d.cts +2 -2
- package/lib/resources/stripe_tax_accounts.d.ts +1 -1
- package/lib/resources/stripe_tax_accounts.js +3 -3
- package/lib/resources/subscription_models.cjs +4 -4
- package/lib/resources/subscription_models.d.cts +2 -2
- package/lib/resources/subscription_models.d.ts +1 -1
- package/lib/resources/subscription_models.js +3 -3
- package/lib/resources/tags.cjs +4 -4
- package/lib/resources/tags.d.cts +2 -2
- package/lib/resources/tags.d.ts +1 -1
- package/lib/resources/tags.js +3 -3
- package/lib/resources/talon_one_accounts.cjs +4 -4
- package/lib/resources/talon_one_accounts.d.cts +2 -2
- package/lib/resources/talon_one_accounts.d.ts +1 -1
- package/lib/resources/talon_one_accounts.js +3 -3
- package/lib/resources/tax_calculators.cjs +4 -4
- package/lib/resources/tax_calculators.d.cts +2 -2
- package/lib/resources/tax_calculators.d.ts +1 -1
- package/lib/resources/tax_calculators.js +3 -3
- package/lib/resources/tax_categories.cjs +4 -4
- package/lib/resources/tax_categories.d.cts +2 -2
- package/lib/resources/tax_categories.d.ts +1 -1
- package/lib/resources/tax_categories.js +3 -3
- package/lib/resources/tax_rules.cjs +4 -4
- package/lib/resources/tax_rules.d.cts +2 -2
- package/lib/resources/tax_rules.d.ts +1 -1
- package/lib/resources/tax_rules.js +3 -3
- package/lib/resources/taxjar_accounts.cjs +4 -4
- package/lib/resources/taxjar_accounts.d.cts +2 -2
- package/lib/resources/taxjar_accounts.d.ts +1 -1
- package/lib/resources/taxjar_accounts.js +3 -3
- package/lib/resources/transactions.cjs +4 -4
- package/lib/resources/transactions.d.cts +2 -2
- package/lib/resources/transactions.d.ts +1 -1
- package/lib/resources/transactions.js +3 -3
- package/lib/resources/vertex_accounts.cjs +4 -4
- package/lib/resources/vertex_accounts.d.cts +2 -2
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/vertex_accounts.js +3 -3
- package/lib/resources/voids.cjs +4 -4
- package/lib/resources/voids.d.cts +2 -2
- package/lib/resources/voids.d.ts +1 -1
- package/lib/resources/voids.js +3 -3
- package/lib/resources/webhooks.cjs +4 -4
- package/lib/resources/webhooks.d.cts +2 -2
- package/lib/resources/webhooks.d.ts +1 -1
- package/lib/resources/webhooks.js +3 -3
- package/lib/resources/wire_transfers.cjs +4 -4
- package/lib/resources/wire_transfers.d.cts +2 -2
- package/lib/resources/wire_transfers.d.ts +1 -1
- package/lib/resources/wire_transfers.js +3 -3
- package/lib/static.cjs +5 -5
- package/lib/static.d.cts +1 -2
- package/lib/static.d.ts +1 -2
- package/lib/static.js +4 -4
- package/package.json +9 -11
- package/lib/api-C56k_eNN.d.cts +0 -18274
- package/lib/api-fR7vDjer.d.ts +0 -18274
- package/lib/chunk-22YZMDGS.js +0 -73
- package/lib/chunk-22YZMDGS.js.map +0 -1
- package/lib/chunk-24DYX22L.cjs +0 -34
- package/lib/chunk-24DYX22L.cjs.map +0 -1
- package/lib/chunk-25LV6XNE.js +0 -57
- package/lib/chunk-25LV6XNE.js.map +0 -1
- package/lib/chunk-25SYMOHP.js +0 -63
- package/lib/chunk-25SYMOHP.js.map +0 -1
- package/lib/chunk-26IU3VMW.cjs +0 -73
- package/lib/chunk-26IU3VMW.cjs.map +0 -1
- package/lib/chunk-2COD7SFI.js +0 -24
- package/lib/chunk-2COD7SFI.js.map +0 -1
- package/lib/chunk-2TD56UNA.js +0 -97
- package/lib/chunk-2TD56UNA.js.map +0 -1
- package/lib/chunk-2UBHGJAR.cjs +0 -30
- package/lib/chunk-2UBHGJAR.cjs.map +0 -1
- package/lib/chunk-353DTUT5.js +0 -56
- package/lib/chunk-353DTUT5.js.map +0 -1
- package/lib/chunk-3AQSJH4T.js +0 -53
- package/lib/chunk-3AQSJH4T.js.map +0 -1
- package/lib/chunk-3CYUKNAO.js +0 -48
- package/lib/chunk-3CYUKNAO.js.map +0 -1
- package/lib/chunk-3F4JHN42.cjs +0 -72
- package/lib/chunk-3F4JHN42.cjs.map +0 -1
- package/lib/chunk-3KCHHQTI.js +0 -97
- package/lib/chunk-3KCHHQTI.js.map +0 -1
- package/lib/chunk-3QSWUE22.cjs +0 -43
- package/lib/chunk-3QSWUE22.cjs.map +0 -1
- package/lib/chunk-3R5E4QEL.cjs +0 -57
- package/lib/chunk-3R5E4QEL.cjs.map +0 -1
- package/lib/chunk-3XPKZ3WM.js +0 -77
- package/lib/chunk-3XPKZ3WM.js.map +0 -1
- package/lib/chunk-42TXSEGY.js +0 -53
- package/lib/chunk-42TXSEGY.js.map +0 -1
- package/lib/chunk-42VXKVD6.js +0 -53
- package/lib/chunk-42VXKVD6.js.map +0 -1
- package/lib/chunk-4KIM2UAJ.cjs +0 -72
- package/lib/chunk-4KIM2UAJ.cjs.map +0 -1
- package/lib/chunk-4KPMQG57.js +0 -49
- package/lib/chunk-4KPMQG57.js.map +0 -1
- package/lib/chunk-4QMCNTO4.js +0 -44
- package/lib/chunk-4QMCNTO4.js.map +0 -1
- package/lib/chunk-4W5EFFJ5.js +0 -48
- package/lib/chunk-4W5EFFJ5.js.map +0 -1
- package/lib/chunk-4WQKP2HI.js +0 -44
- package/lib/chunk-4WQKP2HI.js.map +0 -1
- package/lib/chunk-4YEJFKWN.cjs +0 -55
- package/lib/chunk-4YEJFKWN.cjs.map +0 -1
- package/lib/chunk-4YS4H4WH.cjs +0 -54
- package/lib/chunk-4YS4H4WH.cjs.map +0 -1
- package/lib/chunk-52L77NN2.js +0 -59
- package/lib/chunk-52L77NN2.js.map +0 -1
- package/lib/chunk-53R4X7QD.js +0 -49
- package/lib/chunk-53R4X7QD.js.map +0 -1
- package/lib/chunk-54765SFP.js +0 -55
- package/lib/chunk-54765SFP.js.map +0 -1
- package/lib/chunk-56DPVYQJ.js +0 -41
- package/lib/chunk-56DPVYQJ.js.map +0 -1
- package/lib/chunk-57EVDZVF.js +0 -63
- package/lib/chunk-57EVDZVF.js.map +0 -1
- package/lib/chunk-5CXQ67TT.js +0 -53
- package/lib/chunk-5CXQ67TT.js.map +0 -1
- package/lib/chunk-5FZ57V3M.cjs +0 -93
- package/lib/chunk-5FZ57V3M.cjs.map +0 -1
- package/lib/chunk-5NX7MHXP.cjs +0 -51
- package/lib/chunk-5NX7MHXP.cjs.map +0 -1
- package/lib/chunk-5QA264ZF.cjs +0 -74
- package/lib/chunk-5QA264ZF.cjs.map +0 -1
- package/lib/chunk-5QFZLLE2.js +0 -37
- package/lib/chunk-5QFZLLE2.js.map +0 -1
- package/lib/chunk-5T44TAQU.cjs +0 -130
- package/lib/chunk-5T44TAQU.cjs.map +0 -1
- package/lib/chunk-5UPTFJAY.cjs +0 -51
- package/lib/chunk-5UPTFJAY.cjs.map +0 -1
- package/lib/chunk-5WLMMRAX.js +0 -93
- package/lib/chunk-5WLMMRAX.js.map +0 -1
- package/lib/chunk-5Z47LT7L.js +0 -53
- package/lib/chunk-5Z47LT7L.js.map +0 -1
- package/lib/chunk-5ZWOLVB6.js +0 -128
- package/lib/chunk-5ZWOLVB6.js.map +0 -1
- package/lib/chunk-65QUR5IL.js +0 -97
- package/lib/chunk-65QUR5IL.js.map +0 -1
- package/lib/chunk-66BQF7RB.cjs +0 -61
- package/lib/chunk-66BQF7RB.cjs.map +0 -1
- package/lib/chunk-6ES3UMTH.cjs +0 -286
- package/lib/chunk-6ES3UMTH.cjs.map +0 -1
- package/lib/chunk-6EY5MW3N.js +0 -53
- package/lib/chunk-6EY5MW3N.js.map +0 -1
- package/lib/chunk-6GB4YMFB.js +0 -52
- package/lib/chunk-6GB4YMFB.js.map +0 -1
- package/lib/chunk-6RLGIXTB.cjs +0 -61
- package/lib/chunk-6RLGIXTB.cjs.map +0 -1
- package/lib/chunk-6YX6BZB6.js +0 -55
- package/lib/chunk-6YX6BZB6.js.map +0 -1
- package/lib/chunk-73IEITRE.js +0 -44
- package/lib/chunk-73IEITRE.js.map +0 -1
- package/lib/chunk-73XFO6GL.cjs +0 -51
- package/lib/chunk-73XFO6GL.cjs.map +0 -1
- package/lib/chunk-76RBIF4U.cjs +0 -79
- package/lib/chunk-76RBIF4U.cjs.map +0 -1
- package/lib/chunk-7FKCICOI.js +0 -55
- package/lib/chunk-7FKCICOI.js.map +0 -1
- package/lib/chunk-7N7KBV6L.js +0 -158
- package/lib/chunk-7N7KBV6L.js.map +0 -1
- package/lib/chunk-7UCAVCXA.cjs +0 -99
- package/lib/chunk-7UCAVCXA.cjs.map +0 -1
- package/lib/chunk-7XIPWO7I.cjs +0 -61
- package/lib/chunk-7XIPWO7I.cjs.map +0 -1
- package/lib/chunk-A7PIWL4I.js +0 -58
- package/lib/chunk-A7PIWL4I.js.map +0 -1
- package/lib/chunk-AGJQ5BMW.cjs +0 -107
- package/lib/chunk-AGJQ5BMW.cjs.map +0 -1
- package/lib/chunk-AHJQVBKB.cjs +0 -160
- package/lib/chunk-AHJQVBKB.cjs.map +0 -1
- package/lib/chunk-AJ5YOH5P.cjs +0 -30
- package/lib/chunk-AJ5YOH5P.cjs.map +0 -1
- package/lib/chunk-AQHMSOPU.js +0 -45
- package/lib/chunk-AQHMSOPU.js.map +0 -1
- package/lib/chunk-ASRC3G5N.cjs +0 -42
- package/lib/chunk-ASRC3G5N.cjs.map +0 -1
- package/lib/chunk-B3IWIR5W.cjs +0 -46
- package/lib/chunk-B3IWIR5W.cjs.map +0 -1
- package/lib/chunk-B4ASY4NL.js +0 -45
- package/lib/chunk-B4ASY4NL.js.map +0 -1
- package/lib/chunk-B6IY37XK.js +0 -70
- package/lib/chunk-B6IY37XK.js.map +0 -1
- package/lib/chunk-B6RRN2R4.cjs +0 -51
- package/lib/chunk-B6RRN2R4.cjs.map +0 -1
- package/lib/chunk-BBNWP52Z.cjs +0 -44
- package/lib/chunk-BBNWP52Z.cjs.map +0 -1
- package/lib/chunk-BCFDI5BB.cjs +0 -51
- package/lib/chunk-BCFDI5BB.cjs.map +0 -1
- package/lib/chunk-BE7FUFTL.js +0 -53
- package/lib/chunk-BE7FUFTL.js.map +0 -1
- package/lib/chunk-BGS3XVZ5.js +0 -107
- package/lib/chunk-BGS3XVZ5.js.map +0 -1
- package/lib/chunk-BLZ627KE.js +0 -59
- package/lib/chunk-BLZ627KE.js.map +0 -1
- package/lib/chunk-BOFLUBPB.js +0 -55
- package/lib/chunk-BOFLUBPB.js.map +0 -1
- package/lib/chunk-BUCTRSWS.js +0 -45
- package/lib/chunk-BUCTRSWS.js.map +0 -1
- package/lib/chunk-BUKCNQRD.cjs +0 -43
- package/lib/chunk-BUKCNQRD.cjs.map +0 -1
- package/lib/chunk-C2JKMWGR.cjs +0 -51
- package/lib/chunk-C2JKMWGR.cjs.map +0 -1
- package/lib/chunk-C5ML5FMX.cjs +0 -53
- package/lib/chunk-C5ML5FMX.cjs.map +0 -1
- package/lib/chunk-C77T7SV5.js +0 -49
- package/lib/chunk-C77T7SV5.js.map +0 -1
- package/lib/chunk-CAR7HCIH.cjs +0 -50
- package/lib/chunk-CAR7HCIH.cjs.map +0 -1
- package/lib/chunk-CD4WJZWD.js +0 -49
- package/lib/chunk-CD4WJZWD.js.map +0 -1
- package/lib/chunk-CHJOIVWT.cjs +0 -51
- package/lib/chunk-CHJOIVWT.cjs.map +0 -1
- package/lib/chunk-CIEVYLNA.cjs +0 -57
- package/lib/chunk-CIEVYLNA.cjs.map +0 -1
- package/lib/chunk-CRRVMIDJ.js +0 -32
- package/lib/chunk-CRRVMIDJ.js.map +0 -1
- package/lib/chunk-CSRXWHGF.cjs +0 -662
- package/lib/chunk-CSRXWHGF.cjs.map +0 -1
- package/lib/chunk-CXDNL2TL.cjs +0 -57
- package/lib/chunk-CXDNL2TL.cjs.map +0 -1
- package/lib/chunk-CZVJWKHF.cjs +0 -51
- package/lib/chunk-CZVJWKHF.cjs.map +0 -1
- package/lib/chunk-D5KCXRAI.js +0 -57
- package/lib/chunk-D5KCXRAI.js.map +0 -1
- package/lib/chunk-DGYQ3LEP.cjs +0 -34
- package/lib/chunk-DGYQ3LEP.cjs.map +0 -1
- package/lib/chunk-DHT6PN4S.js +0 -72
- package/lib/chunk-DHT6PN4S.js.map +0 -1
- package/lib/chunk-DKKVAVBN.cjs +0 -99
- package/lib/chunk-DKKVAVBN.cjs.map +0 -1
- package/lib/chunk-DKUONF23.cjs +0 -56
- package/lib/chunk-DKUONF23.cjs.map +0 -1
- package/lib/chunk-DZ6EOOOY.js +0 -41
- package/lib/chunk-DZ6EOOOY.js.map +0 -1
- package/lib/chunk-E2GOZ7ZV.js +0 -55
- package/lib/chunk-E2GOZ7ZV.js.map +0 -1
- package/lib/chunk-E4RUQPMF.js +0 -40
- package/lib/chunk-E4RUQPMF.js.map +0 -1
- package/lib/chunk-ED72HDOR.js +0 -31
- package/lib/chunk-ED72HDOR.js.map +0 -1
- package/lib/chunk-EGM5WCK7.js +0 -40
- package/lib/chunk-EGM5WCK7.js.map +0 -1
- package/lib/chunk-EN3E3X22.cjs +0 -46
- package/lib/chunk-EN3E3X22.cjs.map +0 -1
- package/lib/chunk-EOSTJ3GG.cjs +0 -50
- package/lib/chunk-EOSTJ3GG.cjs.map +0 -1
- package/lib/chunk-ESUFQPT7.cjs +0 -71
- package/lib/chunk-ESUFQPT7.cjs.map +0 -1
- package/lib/chunk-ESW2GV47.js +0 -100
- package/lib/chunk-ESW2GV47.js.map +0 -1
- package/lib/chunk-EV7JAD4X.js +0 -91
- package/lib/chunk-EV7JAD4X.js.map +0 -1
- package/lib/chunk-EY3D7ONH.cjs +0 -109
- package/lib/chunk-EY3D7ONH.cjs.map +0 -1
- package/lib/chunk-EZQHOZI2.js +0 -49
- package/lib/chunk-EZQHOZI2.js.map +0 -1
- package/lib/chunk-F3P63HYI.cjs +0 -65
- package/lib/chunk-F3P63HYI.cjs.map +0 -1
- package/lib/chunk-F6J4CRBZ.cjs +0 -38
- package/lib/chunk-F6J4CRBZ.cjs.map +0 -1
- package/lib/chunk-FBGHKFDZ.js +0 -68
- package/lib/chunk-FBGHKFDZ.js.map +0 -1
- package/lib/chunk-FEKNIG3W.js +0 -99
- package/lib/chunk-FEKNIG3W.js.map +0 -1
- package/lib/chunk-FKAKFPAS.js +0 -61
- package/lib/chunk-FKAKFPAS.js.map +0 -1
- package/lib/chunk-FSXKG62A.js +0 -100
- package/lib/chunk-FSXKG62A.js.map +0 -1
- package/lib/chunk-FT2UGQVD.js +0 -54
- package/lib/chunk-FT2UGQVD.js.map +0 -1
- package/lib/chunk-FUYP7J3H.js +0 -53
- package/lib/chunk-FUYP7J3H.js.map +0 -1
- package/lib/chunk-FYI5M2XM.cjs +0 -57
- package/lib/chunk-FYI5M2XM.cjs.map +0 -1
- package/lib/chunk-FYKH5NLF.cjs +0 -50
- package/lib/chunk-FYKH5NLF.cjs.map +0 -1
- package/lib/chunk-G2XGWVV4.cjs +0 -81
- package/lib/chunk-G2XGWVV4.cjs.map +0 -1
- package/lib/chunk-GNLY3HQ4.js +0 -105
- package/lib/chunk-GNLY3HQ4.js.map +0 -1
- package/lib/chunk-GRKXRJZE.js +0 -65
- package/lib/chunk-GRKXRJZE.js.map +0 -1
- package/lib/chunk-GSHDLOHZ.js +0 -97
- package/lib/chunk-GSHDLOHZ.js.map +0 -1
- package/lib/chunk-GSTAUOVL.js +0 -57
- package/lib/chunk-GSTAUOVL.js.map +0 -1
- package/lib/chunk-H3IBVZVF.js +0 -28
- package/lib/chunk-H3IBVZVF.js.map +0 -1
- package/lib/chunk-H4MPRTXI.js +0 -37
- package/lib/chunk-H4MPRTXI.js.map +0 -1
- package/lib/chunk-H5JOZYXN.cjs +0 -51
- package/lib/chunk-H5JOZYXN.cjs.map +0 -1
- package/lib/chunk-H7ZINK52.cjs +0 -93
- package/lib/chunk-H7ZINK52.cjs.map +0 -1
- package/lib/chunk-HFAQPY4K.cjs +0 -42
- package/lib/chunk-HFAQPY4K.cjs.map +0 -1
- package/lib/chunk-HLL6WIIC.js +0 -91
- package/lib/chunk-HLL6WIIC.js.map +0 -1
- package/lib/chunk-HLPUCTAZ.js +0 -103
- package/lib/chunk-HLPUCTAZ.js.map +0 -1
- package/lib/chunk-HNADBQ2G.cjs +0 -55
- package/lib/chunk-HNADBQ2G.cjs.map +0 -1
- package/lib/chunk-HOKEKQDI.js +0 -49
- package/lib/chunk-HOKEKQDI.js.map +0 -1
- package/lib/chunk-HP2WA7CM.cjs +0 -59
- package/lib/chunk-HP2WA7CM.cjs.map +0 -1
- package/lib/chunk-HQZ3S65M.js +0 -44
- package/lib/chunk-HQZ3S65M.js.map +0 -1
- package/lib/chunk-HR6ZQP3L.cjs +0 -66
- package/lib/chunk-HR6ZQP3L.cjs.map +0 -1
- package/lib/chunk-HR773LV5.cjs +0 -54
- package/lib/chunk-HR773LV5.cjs.map +0 -1
- package/lib/chunk-HTQJYP75.cjs +0 -46
- package/lib/chunk-HTQJYP75.cjs.map +0 -1
- package/lib/chunk-HWEIUKPN.cjs +0 -57
- package/lib/chunk-HWEIUKPN.cjs.map +0 -1
- package/lib/chunk-HWL3MJQJ.cjs +0 -60
- package/lib/chunk-HWL3MJQJ.cjs.map +0 -1
- package/lib/chunk-HZB22SU2.cjs +0 -51
- package/lib/chunk-HZB22SU2.cjs.map +0 -1
- package/lib/chunk-I22GQQSK.js +0 -97
- package/lib/chunk-I22GQQSK.js.map +0 -1
- package/lib/chunk-IESEQGGO.js +0 -65
- package/lib/chunk-IESEQGGO.js.map +0 -1
- package/lib/chunk-IFLQJWJG.cjs +0 -55
- package/lib/chunk-IFLQJWJG.cjs.map +0 -1
- package/lib/chunk-IGK3AET6.cjs +0 -47
- package/lib/chunk-IGK3AET6.cjs.map +0 -1
- package/lib/chunk-IJT6ADCT.cjs +0 -70
- package/lib/chunk-IJT6ADCT.cjs.map +0 -1
- package/lib/chunk-IMZ67YBL.cjs +0 -55
- package/lib/chunk-IMZ67YBL.cjs.map +0 -1
- package/lib/chunk-IR7ERHZU.js +0 -57
- package/lib/chunk-IR7ERHZU.js.map +0 -1
- package/lib/chunk-IWQQN4E4.js +0 -47
- package/lib/chunk-IWQQN4E4.js.map +0 -1
- package/lib/chunk-J3K32YXQ.js +0 -49
- package/lib/chunk-J3K32YXQ.js.map +0 -1
- package/lib/chunk-J5QKU3U7.cjs +0 -54
- package/lib/chunk-J5QKU3U7.cjs.map +0 -1
- package/lib/chunk-JAL5VEJ4.cjs +0 -51
- package/lib/chunk-JAL5VEJ4.cjs.map +0 -1
- package/lib/chunk-JBNN5FLR.cjs +0 -99
- package/lib/chunk-JBNN5FLR.cjs.map +0 -1
- package/lib/chunk-JEFXEO7O.js +0 -49
- package/lib/chunk-JEFXEO7O.js.map +0 -1
- package/lib/chunk-JIAAPIJS.js +0 -69
- package/lib/chunk-JIAAPIJS.js.map +0 -1
- package/lib/chunk-JNDUIJGS.js +0 -32
- package/lib/chunk-JNDUIJGS.js.map +0 -1
- package/lib/chunk-JTECSGQK.cjs +0 -95
- package/lib/chunk-JTECSGQK.cjs.map +0 -1
- package/lib/chunk-JU2GYUKV.js +0 -54
- package/lib/chunk-JU2GYUKV.js.map +0 -1
- package/lib/chunk-JW3TKFSF.cjs +0 -99
- package/lib/chunk-JW3TKFSF.cjs.map +0 -1
- package/lib/chunk-JWW6RX2L.cjs +0 -47
- package/lib/chunk-JWW6RX2L.cjs.map +0 -1
- package/lib/chunk-JZ5VDGTD.cjs +0 -29
- package/lib/chunk-JZ5VDGTD.cjs.map +0 -1
- package/lib/chunk-K4FGKWEQ.js +0 -36
- package/lib/chunk-K4FGKWEQ.js.map +0 -1
- package/lib/chunk-KAARRP5O.js +0 -59
- package/lib/chunk-KAARRP5O.js.map +0 -1
- package/lib/chunk-KDCQAUUV.js +0 -48
- package/lib/chunk-KDCQAUUV.js.map +0 -1
- package/lib/chunk-KMPHWFCV.cjs +0 -47
- package/lib/chunk-KMPHWFCV.cjs.map +0 -1
- package/lib/chunk-KRNU2FZC.js +0 -53
- package/lib/chunk-KRNU2FZC.js.map +0 -1
- package/lib/chunk-KUX4X636.js +0 -49
- package/lib/chunk-KUX4X636.js.map +0 -1
- package/lib/chunk-KWIFQC7H.js +0 -52
- package/lib/chunk-KWIFQC7H.js.map +0 -1
- package/lib/chunk-KZNM2CKM.cjs +0 -59
- package/lib/chunk-KZNM2CKM.cjs.map +0 -1
- package/lib/chunk-L27E3EGQ.js +0 -49
- package/lib/chunk-L27E3EGQ.js.map +0 -1
- package/lib/chunk-L2R5G3V5.js +0 -276
- package/lib/chunk-L2R5G3V5.js.map +0 -1
- package/lib/chunk-L6OLNB6W.js +0 -41
- package/lib/chunk-L6OLNB6W.js.map +0 -1
- package/lib/chunk-L7VZ5ST5.cjs +0 -60
- package/lib/chunk-L7VZ5ST5.cjs.map +0 -1
- package/lib/chunk-LBY2RHI4.js +0 -45
- package/lib/chunk-LBY2RHI4.js.map +0 -1
- package/lib/chunk-LGYK5DTL.cjs +0 -50
- package/lib/chunk-LGYK5DTL.cjs.map +0 -1
- package/lib/chunk-LLRE4DNW.cjs +0 -55
- package/lib/chunk-LLRE4DNW.cjs.map +0 -1
- package/lib/chunk-MAU4GMOM.js +0 -52
- package/lib/chunk-MAU4GMOM.js.map +0 -1
- package/lib/chunk-MBDEK4FD.cjs +0 -51
- package/lib/chunk-MBDEK4FD.cjs.map +0 -1
- package/lib/chunk-MDT7RJZY.cjs +0 -39
- package/lib/chunk-MDT7RJZY.cjs.map +0 -1
- package/lib/chunk-MF72Q5LL.cjs +0 -39
- package/lib/chunk-MF72Q5LL.cjs.map +0 -1
- package/lib/chunk-MGIOWUKO.cjs +0 -38
- package/lib/chunk-MGIOWUKO.cjs.map +0 -1
- package/lib/chunk-MIBC5G27.js +0 -77
- package/lib/chunk-MIBC5G27.js.map +0 -1
- package/lib/chunk-MU6PHJWP.js +0 -48
- package/lib/chunk-MU6PHJWP.js.map +0 -1
- package/lib/chunk-MVNE63MT.cjs +0 -67
- package/lib/chunk-MVNE63MT.cjs.map +0 -1
- package/lib/chunk-MWDZBQOU.cjs +0 -47
- package/lib/chunk-MWDZBQOU.cjs.map +0 -1
- package/lib/chunk-NEZXHBGE.js +0 -3
- package/lib/chunk-NEZXHBGE.js.map +0 -1
- package/lib/chunk-NKPMXNFW.js +0 -49
- package/lib/chunk-NKPMXNFW.js.map +0 -1
- package/lib/chunk-NKSXB523.js +0 -42
- package/lib/chunk-NKSXB523.js.map +0 -1
- package/lib/chunk-NL65GQHX.cjs +0 -39
- package/lib/chunk-NL65GQHX.cjs.map +0 -1
- package/lib/chunk-NM2TVMKS.cjs +0 -43
- package/lib/chunk-NM2TVMKS.cjs.map +0 -1
- package/lib/chunk-NUQ5KNXC.cjs +0 -63
- package/lib/chunk-NUQ5KNXC.cjs.map +0 -1
- package/lib/chunk-OQ3ZPPCE.js +0 -55
- package/lib/chunk-OQ3ZPPCE.js.map +0 -1
- package/lib/chunk-OR5ULL43.js +0 -55
- package/lib/chunk-OR5ULL43.js.map +0 -1
- package/lib/chunk-OSGNFURJ.js +0 -63
- package/lib/chunk-OSGNFURJ.js.map +0 -1
- package/lib/chunk-OSPDLBK7.cjs +0 -57
- package/lib/chunk-OSPDLBK7.cjs.map +0 -1
- package/lib/chunk-OTJ3AG3G.js +0 -45
- package/lib/chunk-OTJ3AG3G.js.map +0 -1
- package/lib/chunk-OUZO3UT3.cjs +0 -65
- package/lib/chunk-OUZO3UT3.cjs.map +0 -1
- package/lib/chunk-OXMHLYDD.js +0 -49
- package/lib/chunk-OXMHLYDD.js.map +0 -1
- package/lib/chunk-P2B3G2TZ.js +0 -44
- package/lib/chunk-P2B3G2TZ.js.map +0 -1
- package/lib/chunk-P3AQZNTG.js +0 -79
- package/lib/chunk-P3AQZNTG.js.map +0 -1
- package/lib/chunk-P3C4DMT6.cjs +0 -57
- package/lib/chunk-P3C4DMT6.cjs.map +0 -1
- package/lib/chunk-P6H53BD7.cjs +0 -102
- package/lib/chunk-P6H53BD7.cjs.map +0 -1
- package/lib/chunk-PAWJTO7I.js +0 -49
- package/lib/chunk-PAWJTO7I.js.map +0 -1
- package/lib/chunk-PD4I73FB.cjs +0 -105
- package/lib/chunk-PD4I73FB.cjs.map +0 -1
- package/lib/chunk-PGXMLN7A.js +0 -49
- package/lib/chunk-PGXMLN7A.js.map +0 -1
- package/lib/chunk-PUX7CAAV.js +0 -53
- package/lib/chunk-PUX7CAAV.js.map +0 -1
- package/lib/chunk-QE7S4OUZ.cjs +0 -51
- package/lib/chunk-QE7S4OUZ.cjs.map +0 -1
- package/lib/chunk-QKCTP2RD.cjs +0 -55
- package/lib/chunk-QKCTP2RD.cjs.map +0 -1
- package/lib/chunk-QNFZBJFQ.cjs +0 -58
- package/lib/chunk-QNFZBJFQ.cjs.map +0 -1
- package/lib/chunk-QU4NPZQC.cjs +0 -56
- package/lib/chunk-QU4NPZQC.cjs.map +0 -1
- package/lib/chunk-QVJTWTUN.cjs +0 -54
- package/lib/chunk-QVJTWTUN.cjs.map +0 -1
- package/lib/chunk-R3PNGGDR.cjs +0 -55
- package/lib/chunk-R3PNGGDR.cjs.map +0 -1
- package/lib/chunk-R7JDWIQK.cjs +0 -107
- package/lib/chunk-R7JDWIQK.cjs.map +0 -1
- package/lib/chunk-R7PR3V6Z.cjs +0 -51
- package/lib/chunk-R7PR3V6Z.cjs.map +0 -1
- package/lib/chunk-RH363QI7.cjs +0 -99
- package/lib/chunk-RH363QI7.cjs.map +0 -1
- package/lib/chunk-RLZGD4WS.cjs +0 -57
- package/lib/chunk-RLZGD4WS.cjs.map +0 -1
- package/lib/chunk-RNCWBCHU.js +0 -55
- package/lib/chunk-RNCWBCHU.js.map +0 -1
- package/lib/chunk-SEY2W62A.js +0 -53
- package/lib/chunk-SEY2W62A.js.map +0 -1
- package/lib/chunk-SGJTWE5I.js +0 -40
- package/lib/chunk-SGJTWE5I.js.map +0 -1
- package/lib/chunk-SK7SIING.cjs +0 -42
- package/lib/chunk-SK7SIING.cjs.map +0 -1
- package/lib/chunk-SNHW3YC5.cjs +0 -55
- package/lib/chunk-SNHW3YC5.cjs.map +0 -1
- package/lib/chunk-SRYEFARJ.cjs +0 -4
- package/lib/chunk-SRYEFARJ.cjs.map +0 -1
- package/lib/chunk-SWZUFDHY.js +0 -102
- package/lib/chunk-SWZUFDHY.js.map +0 -1
- package/lib/chunk-SXCTTGYT.cjs +0 -50
- package/lib/chunk-SXCTTGYT.cjs.map +0 -1
- package/lib/chunk-SXQSMTHR.js +0 -58
- package/lib/chunk-SXQSMTHR.js.map +0 -1
- package/lib/chunk-SZYWVDPJ.cjs +0 -42
- package/lib/chunk-SZYWVDPJ.cjs.map +0 -1
- package/lib/chunk-T4SW2CZX.cjs +0 -67
- package/lib/chunk-T4SW2CZX.cjs.map +0 -1
- package/lib/chunk-TE54DOJ6.cjs +0 -75
- package/lib/chunk-TE54DOJ6.cjs.map +0 -1
- package/lib/chunk-TJGZYDVV.js +0 -58
- package/lib/chunk-TJGZYDVV.js.map +0 -1
- package/lib/chunk-TPFXLI3J.js +0 -27
- package/lib/chunk-TPFXLI3J.js.map +0 -1
- package/lib/chunk-U43UPLTK.cjs +0 -42
- package/lib/chunk-U43UPLTK.cjs.map +0 -1
- package/lib/chunk-U5ZUHRP7.cjs +0 -65
- package/lib/chunk-U5ZUHRP7.cjs.map +0 -1
- package/lib/chunk-U7NVUYAO.js +0 -71
- package/lib/chunk-U7NVUYAO.js.map +0 -1
- package/lib/chunk-UBH2EC5P.cjs +0 -284
- package/lib/chunk-UBH2EC5P.cjs.map +0 -1
- package/lib/chunk-UMIZNUUK.js +0 -45
- package/lib/chunk-UMIZNUUK.js.map +0 -1
- package/lib/chunk-UR35VE5O.js +0 -53
- package/lib/chunk-UR35VE5O.js.map +0 -1
- package/lib/chunk-UTJX7SU6.cjs +0 -55
- package/lib/chunk-UTJX7SU6.cjs.map +0 -1
- package/lib/chunk-V2JFGTP4.cjs +0 -33
- package/lib/chunk-V2JFGTP4.cjs.map +0 -1
- package/lib/chunk-V3VI5SLU.cjs +0 -58
- package/lib/chunk-V3VI5SLU.cjs.map +0 -1
- package/lib/chunk-V57VEB52.cjs +0 -51
- package/lib/chunk-V57VEB52.cjs.map +0 -1
- package/lib/chunk-VCJOH3IE.js +0 -63
- package/lib/chunk-VCJOH3IE.js.map +0 -1
- package/lib/chunk-VROIQJ2H.js +0 -48
- package/lib/chunk-VROIQJ2H.js.map +0 -1
- package/lib/chunk-W5HJOZUZ.js +0 -55
- package/lib/chunk-W5HJOZUZ.js.map +0 -1
- package/lib/chunk-W6D7ACVK.cjs +0 -26
- package/lib/chunk-W6D7ACVK.cjs.map +0 -1
- package/lib/chunk-W76GDFLA.cjs +0 -49
- package/lib/chunk-W76GDFLA.cjs.map +0 -1
- package/lib/chunk-W7A5TBOT.js +0 -37
- package/lib/chunk-W7A5TBOT.js.map +0 -1
- package/lib/chunk-W7QZ4IET.js +0 -55
- package/lib/chunk-W7QZ4IET.js.map +0 -1
- package/lib/chunk-WAXSMT74.js +0 -49
- package/lib/chunk-WAXSMT74.js.map +0 -1
- package/lib/chunk-WENVZ7YQ.cjs +0 -60
- package/lib/chunk-WENVZ7YQ.cjs.map +0 -1
- package/lib/chunk-WN4NEQG3.cjs +0 -47
- package/lib/chunk-WN4NEQG3.cjs.map +0 -1
- package/lib/chunk-WPMZGCSL.js +0 -49
- package/lib/chunk-WPMZGCSL.js.map +0 -1
- package/lib/chunk-WVXUXB6M.cjs +0 -51
- package/lib/chunk-WVXUXB6M.cjs.map +0 -1
- package/lib/chunk-WYSCB65K.cjs +0 -65
- package/lib/chunk-WYSCB65K.cjs.map +0 -1
- package/lib/chunk-WZKB5BTI.cjs +0 -57
- package/lib/chunk-WZKB5BTI.cjs.map +0 -1
- package/lib/chunk-X3FOQEIP.cjs +0 -57
- package/lib/chunk-X3FOQEIP.cjs.map +0 -1
- package/lib/chunk-X435FPBT.js +0 -70
- package/lib/chunk-X435FPBT.js.map +0 -1
- package/lib/chunk-XAHCI5JE.js +0 -284
- package/lib/chunk-XAHCI5JE.js.map +0 -1
- package/lib/chunk-XAWZYCIT.cjs +0 -51
- package/lib/chunk-XAWZYCIT.cjs.map +0 -1
- package/lib/chunk-XFOVGIFM.cjs +0 -59
- package/lib/chunk-XFOVGIFM.cjs.map +0 -1
- package/lib/chunk-XGQYAM2O.cjs +0 -102
- package/lib/chunk-XGQYAM2O.cjs.map +0 -1
- package/lib/chunk-XHRLLOTH.cjs +0 -46
- package/lib/chunk-XHRLLOTH.cjs.map +0 -1
- package/lib/chunk-XLHGFYJD.js +0 -40
- package/lib/chunk-XLHGFYJD.js.map +0 -1
- package/lib/chunk-XLSIK3Q5.js +0 -40
- package/lib/chunk-XLSIK3Q5.js.map +0 -1
- package/lib/chunk-XMOZVHO7.js +0 -56
- package/lib/chunk-XMOZVHO7.js.map +0 -1
- package/lib/chunk-YDYPUEOW.js +0 -52
- package/lib/chunk-YDYPUEOW.js.map +0 -1
- package/lib/chunk-YF5IJQZK.cjs +0 -55
- package/lib/chunk-YF5IJQZK.cjs.map +0 -1
- package/lib/chunk-YI3IDZIR.js +0 -646
- package/lib/chunk-YI3IDZIR.js.map +0 -1
- package/lib/chunk-YNFTOIKI.cjs +0 -47
- package/lib/chunk-YNFTOIKI.cjs.map +0 -1
- package/lib/chunk-YOAULZCB.js +0 -28
- package/lib/chunk-YOAULZCB.js.map +0 -1
- package/lib/chunk-YOH56Z73.js +0 -64
- package/lib/chunk-YOH56Z73.js.map +0 -1
- package/lib/chunk-YYFNNQAF.js +0 -49
- package/lib/chunk-YYFNNQAF.js.map +0 -1
- package/lib/chunk-Z7FWE3KQ.cjs +0 -55
- package/lib/chunk-Z7FWE3KQ.cjs.map +0 -1
- package/lib/chunk-ZA4UM7JC.js +0 -36
- package/lib/chunk-ZA4UM7JC.js.map +0 -1
- package/lib/chunk-ZBKA7LEU.js +0 -51
- package/lib/chunk-ZBKA7LEU.js.map +0 -1
- package/lib/chunk-ZDO4C624.cjs +0 -79
- package/lib/chunk-ZDO4C624.cjs.map +0 -1
- package/lib/chunk-ZDPMTK4O.js +0 -49
- package/lib/chunk-ZDPMTK4O.js.map +0 -1
- package/lib/chunk-ZKTVCW5B.cjs +0 -51
- package/lib/chunk-ZKTVCW5B.cjs.map +0 -1
- package/lib/chunk-ZKZLRD43.cjs +0 -46
- package/lib/chunk-ZKZLRD43.cjs.map +0 -1
- package/lib/chunk-ZNRKFQBN.cjs +0 -59
- package/lib/chunk-ZNRKFQBN.cjs.map +0 -1
- package/lib/chunk-ZU3CNZKE.cjs +0 -51
- package/lib/chunk-ZU3CNZKE.cjs.map +0 -1
- package/lib/chunk-ZUURLADK.cjs +0 -55
- package/lib/chunk-ZUURLADK.cjs.map +0 -1
- package/lib/chunk-ZWTMB75R.js +0 -49
- package/lib/chunk-ZWTMB75R.js.map +0 -1
- package/lib/chunk-ZYU4XA7Z.cjs +0 -101
- package/lib/chunk-ZYU4XA7Z.cjs.map +0 -1
- package/lib/resources/versions.cjs +0 -20
- package/lib/resources/versions.cjs.map +0 -1
- package/lib/resources/versions.d.cts +0 -7
- package/lib/resources/versions.d.ts +0 -4
- package/lib/resources/versions.js +0 -12
- package/lib/resources/versions.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/organizations.ts"],"names":["ApiSingleton"],"mappings":";;;;;AAmSA,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-V2JFGTP4.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 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 */\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\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"]}
|
package/lib/chunk-V3VI5SLU.cjs
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkUBH2EC5P_cjs = require('./chunk-UBH2EC5P.cjs');
|
|
4
|
-
|
|
5
|
-
// src/resources/vertex_accounts.ts
|
|
6
|
-
var VertexAccounts = class _VertexAccounts extends chunkUBH2EC5P_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 versions(vertexAccountId, params, options) {
|
|
30
|
-
const _vertexAccountId = vertexAccountId.id || vertexAccountId;
|
|
31
|
-
return this.resources.fetch({ type: "versions" }, `vertex_accounts/${_vertexAccountId}/versions`, params, options);
|
|
32
|
-
}
|
|
33
|
-
async event_stores(vertexAccountId, params, options) {
|
|
34
|
-
const _vertexAccountId = vertexAccountId.id || vertexAccountId;
|
|
35
|
-
return this.resources.fetch({ type: "event_stores" }, `vertex_accounts/${_vertexAccountId}/event_stores`, params, options);
|
|
36
|
-
}
|
|
37
|
-
async _refresh_token(id, params, options) {
|
|
38
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _VertexAccounts.TYPE, _refresh_token: true }, params, options);
|
|
39
|
-
}
|
|
40
|
-
isVertexAccount(resource) {
|
|
41
|
-
return resource.type && resource.type === _VertexAccounts.TYPE;
|
|
42
|
-
}
|
|
43
|
-
relationship(id) {
|
|
44
|
-
return super.relationshipOneToOne(id);
|
|
45
|
-
}
|
|
46
|
-
relationshipToMany(...ids) {
|
|
47
|
-
return super.relationshipOneToMany(...ids);
|
|
48
|
-
}
|
|
49
|
-
type() {
|
|
50
|
-
return _VertexAccounts.TYPE;
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
var instance = new VertexAccounts();
|
|
54
|
-
var vertex_accounts_default = instance;
|
|
55
|
-
|
|
56
|
-
exports.vertex_accounts_default = vertex_accounts_default;
|
|
57
|
-
//# sourceMappingURL=chunk-V3VI5SLU.cjs.map
|
|
58
|
-
//# sourceMappingURL=chunk-V3VI5SLU.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/vertex_accounts.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-V3VI5SLU.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'\nimport type { Version } from './versions'\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', '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 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\tversions?: Version[] | 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', '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 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', '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 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 versions(vertexAccountId: string | VertexAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _vertexAccountId = (vertexAccountId as VertexAccount).id || vertexAccountId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `vertex_accounts/${_vertexAccountId}/versions`, params, options) as unknown as ListResponse<Version>\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"]}
|
package/lib/chunk-V57VEB52.cjs
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkUBH2EC5P_cjs = require('./chunk-UBH2EC5P.cjs');
|
|
4
|
-
|
|
5
|
-
// src/resources/inventory_stock_locations.ts
|
|
6
|
-
var InventoryStockLocations = class _InventoryStockLocations extends chunkUBH2EC5P_cjs.ApiResource {
|
|
7
|
-
static TYPE = "inventory_stock_locations";
|
|
8
|
-
async create(resource, params, options) {
|
|
9
|
-
return this.resources.create({ ...resource, type: _InventoryStockLocations.TYPE }, params, options);
|
|
10
|
-
}
|
|
11
|
-
async update(resource, params, options) {
|
|
12
|
-
return this.resources.update({ ...resource, type: _InventoryStockLocations.TYPE }, params, options);
|
|
13
|
-
}
|
|
14
|
-
async delete(id, options) {
|
|
15
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _InventoryStockLocations.TYPE } : id, options);
|
|
16
|
-
}
|
|
17
|
-
async stock_location(inventoryStockLocationId, params, options) {
|
|
18
|
-
const _inventoryStockLocationId = inventoryStockLocationId.id || inventoryStockLocationId;
|
|
19
|
-
return this.resources.fetch({ type: "stock_locations" }, `inventory_stock_locations/${_inventoryStockLocationId}/stock_location`, params, options);
|
|
20
|
-
}
|
|
21
|
-
async inventory_model(inventoryStockLocationId, params, options) {
|
|
22
|
-
const _inventoryStockLocationId = inventoryStockLocationId.id || inventoryStockLocationId;
|
|
23
|
-
return this.resources.fetch({ type: "inventory_models" }, `inventory_stock_locations/${_inventoryStockLocationId}/inventory_model`, params, options);
|
|
24
|
-
}
|
|
25
|
-
async versions(inventoryStockLocationId, params, options) {
|
|
26
|
-
const _inventoryStockLocationId = inventoryStockLocationId.id || inventoryStockLocationId;
|
|
27
|
-
return this.resources.fetch({ type: "versions" }, `inventory_stock_locations/${_inventoryStockLocationId}/versions`, params, options);
|
|
28
|
-
}
|
|
29
|
-
async event_stores(inventoryStockLocationId, params, options) {
|
|
30
|
-
const _inventoryStockLocationId = inventoryStockLocationId.id || inventoryStockLocationId;
|
|
31
|
-
return this.resources.fetch({ type: "event_stores" }, `inventory_stock_locations/${_inventoryStockLocationId}/event_stores`, params, options);
|
|
32
|
-
}
|
|
33
|
-
isInventoryStockLocation(resource) {
|
|
34
|
-
return resource.type && resource.type === _InventoryStockLocations.TYPE;
|
|
35
|
-
}
|
|
36
|
-
relationship(id) {
|
|
37
|
-
return super.relationshipOneToOne(id);
|
|
38
|
-
}
|
|
39
|
-
relationshipToMany(...ids) {
|
|
40
|
-
return super.relationshipOneToMany(...ids);
|
|
41
|
-
}
|
|
42
|
-
type() {
|
|
43
|
-
return _InventoryStockLocations.TYPE;
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
var instance = new InventoryStockLocations();
|
|
47
|
-
var inventory_stock_locations_default = instance;
|
|
48
|
-
|
|
49
|
-
exports.inventory_stock_locations_default = inventory_stock_locations_default;
|
|
50
|
-
//# sourceMappingURL=chunk-V57VEB52.cjs.map
|
|
51
|
-
//# sourceMappingURL=chunk-V57VEB52.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/inventory_stock_locations.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-V57VEB52.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 { EventStore } from './event_stores'\nimport type { InventoryModel, InventoryModelType } from './inventory_models'\nimport type { StockLocation, StockLocationType } from './stock_locations'\nimport type { Version } from './versions'\n\n\ntype InventoryStockLocationType = 'inventory_stock_locations'\ntype InventoryStockLocationRel = ResourceRel & { type: InventoryStockLocationType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype InventoryModelRel = ResourceRel & { type: InventoryModelType }\n\n\nexport type InventoryStockLocationSort = Pick<InventoryStockLocation, 'id' | 'priority' | 'on_hold'> & ResourceSort\n// export type InventoryStockLocationFilter = Pick<InventoryStockLocation, 'id' | 'priority' | 'on_hold'> & ResourceFilter\n\n\ninterface InventoryStockLocation extends Resource {\n\t\n\treadonly type: InventoryStockLocationType\n\n\t/** \n\t * The stock location priority within the associated invetory model.\n\t * @example ```1```\n\t */\n\tpriority: number\n\t/** \n\t * Indicates if the shipment should be put on hold if fulfilled from the associated stock location. This is useful to manage use cases like back-orders, pre-orders or personalized orders that need to be customized before being fulfilled.\n\t */\n\ton_hold?: boolean | null\n\n\tstock_location?: StockLocation | null\n\tinventory_model?: InventoryModel | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface InventoryStockLocationCreate extends ResourceCreate {\n\t\n\t/** \n\t * The stock location priority within the associated invetory model.\n\t * @example ```1```\n\t */\n\tpriority: number\n\t/** \n\t * Indicates if the shipment should be put on hold if fulfilled from the associated stock location. This is useful to manage use cases like back-orders, pre-orders or personalized orders that need to be customized before being fulfilled.\n\t */\n\ton_hold?: boolean | null\n\n\tstock_location: StockLocationRel\n\tinventory_model: InventoryModelRel\n\n}\n\n\ninterface InventoryStockLocationUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The stock location priority within the associated invetory model.\n\t * @example ```1```\n\t */\n\tpriority?: number | null\n\t/** \n\t * Indicates if the shipment should be put on hold if fulfilled from the associated stock location. This is useful to manage use cases like back-orders, pre-orders or personalized orders that need to be customized before being fulfilled.\n\t */\n\ton_hold?: boolean | null\n\n\tstock_location?: StockLocationRel | null\n\tinventory_model?: InventoryModelRel | null\n\n}\n\n\nclass InventoryStockLocations extends ApiResource<InventoryStockLocation> {\n\n\tstatic readonly TYPE: InventoryStockLocationType = 'inventory_stock_locations' as const\n\n\tasync create(resource: InventoryStockLocationCreate, params?: QueryParamsRetrieve<InventoryStockLocation>, options?: ResourcesConfig): Promise<InventoryStockLocation> {\n\t\treturn this.resources.create<InventoryStockLocationCreate, InventoryStockLocation>({ ...resource, type: InventoryStockLocations.TYPE }, params, options)\n\t}\n\n\tasync update(resource: InventoryStockLocationUpdate, params?: QueryParamsRetrieve<InventoryStockLocation>, options?: ResourcesConfig): Promise<InventoryStockLocation> {\n\t\treturn this.resources.update<InventoryStockLocationUpdate, InventoryStockLocation>({ ...resource, type: InventoryStockLocations.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: InventoryStockLocations.TYPE } : id, options)\n\t}\n\n\tasync stock_location(inventoryStockLocationId: string | InventoryStockLocation, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation> {\n\t\tconst _inventoryStockLocationId = (inventoryStockLocationId as InventoryStockLocation).id || inventoryStockLocationId as string\n\t\treturn this.resources.fetch<StockLocation>({ type: 'stock_locations' }, `inventory_stock_locations/${_inventoryStockLocationId}/stock_location`, params, options) as unknown as StockLocation\n\t}\n\n\tasync inventory_model(inventoryStockLocationId: string | InventoryStockLocation, params?: QueryParamsRetrieve<InventoryModel>, options?: ResourcesConfig): Promise<InventoryModel> {\n\t\tconst _inventoryStockLocationId = (inventoryStockLocationId as InventoryStockLocation).id || inventoryStockLocationId as string\n\t\treturn this.resources.fetch<InventoryModel>({ type: 'inventory_models' }, `inventory_stock_locations/${_inventoryStockLocationId}/inventory_model`, params, options) as unknown as InventoryModel\n\t}\n\n\tasync versions(inventoryStockLocationId: string | InventoryStockLocation, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _inventoryStockLocationId = (inventoryStockLocationId as InventoryStockLocation).id || inventoryStockLocationId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `inventory_stock_locations/${_inventoryStockLocationId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(inventoryStockLocationId: string | InventoryStockLocation, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _inventoryStockLocationId = (inventoryStockLocationId as InventoryStockLocation).id || inventoryStockLocationId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `inventory_stock_locations/${_inventoryStockLocationId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisInventoryStockLocation(resource: any): resource is InventoryStockLocation {\n\t\treturn resource.type && (resource.type === InventoryStockLocations.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): InventoryStockLocationRel {\n\t\treturn super.relationshipOneToOne<InventoryStockLocationRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): InventoryStockLocationRel[] {\n\t\treturn super.relationshipOneToMany<InventoryStockLocationRel>(...ids)\n\t}\n\n\n\ttype(): InventoryStockLocationType {\n\t\treturn InventoryStockLocations.TYPE\n\t}\n\n}\n\n\nconst instance = new InventoryStockLocations()\nexport default instance\n\nexport type { InventoryStockLocation, InventoryStockLocationCreate, InventoryStockLocations, InventoryStockLocationType, InventoryStockLocationUpdate }\n"]}
|
package/lib/chunk-VCJOH3IE.js
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-L2R5G3V5.js';
|
|
2
|
-
|
|
3
|
-
// src/resources/sku_options.ts
|
|
4
|
-
var SkuOptions = class _SkuOptions extends ApiResource {
|
|
5
|
-
static TYPE = "sku_options";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create({ ...resource, type: _SkuOptions.TYPE }, params, options);
|
|
8
|
-
}
|
|
9
|
-
async update(resource, params, options) {
|
|
10
|
-
return this.resources.update({ ...resource, type: _SkuOptions.TYPE }, params, options);
|
|
11
|
-
}
|
|
12
|
-
async delete(id, options) {
|
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _SkuOptions.TYPE } : id, options);
|
|
14
|
-
}
|
|
15
|
-
async market(skuOptionId, params, options) {
|
|
16
|
-
const _skuOptionId = skuOptionId.id || skuOptionId;
|
|
17
|
-
return this.resources.fetch({ type: "markets" }, `sku_options/${_skuOptionId}/market`, params, options);
|
|
18
|
-
}
|
|
19
|
-
async attachments(skuOptionId, params, options) {
|
|
20
|
-
const _skuOptionId = skuOptionId.id || skuOptionId;
|
|
21
|
-
return this.resources.fetch({ type: "attachments" }, `sku_options/${_skuOptionId}/attachments`, params, options);
|
|
22
|
-
}
|
|
23
|
-
async events(skuOptionId, params, options) {
|
|
24
|
-
const _skuOptionId = skuOptionId.id || skuOptionId;
|
|
25
|
-
return this.resources.fetch({ type: "events" }, `sku_options/${_skuOptionId}/events`, params, options);
|
|
26
|
-
}
|
|
27
|
-
async tags(skuOptionId, params, options) {
|
|
28
|
-
const _skuOptionId = skuOptionId.id || skuOptionId;
|
|
29
|
-
return this.resources.fetch({ type: "tags" }, `sku_options/${_skuOptionId}/tags`, params, options);
|
|
30
|
-
}
|
|
31
|
-
async versions(skuOptionId, params, options) {
|
|
32
|
-
const _skuOptionId = skuOptionId.id || skuOptionId;
|
|
33
|
-
return this.resources.fetch({ type: "versions" }, `sku_options/${_skuOptionId}/versions`, params, options);
|
|
34
|
-
}
|
|
35
|
-
async event_stores(skuOptionId, params, options) {
|
|
36
|
-
const _skuOptionId = skuOptionId.id || skuOptionId;
|
|
37
|
-
return this.resources.fetch({ type: "event_stores" }, `sku_options/${_skuOptionId}/event_stores`, params, options);
|
|
38
|
-
}
|
|
39
|
-
async _add_tags(id, triggerValue, params, options) {
|
|
40
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _SkuOptions.TYPE, _add_tags: triggerValue }, params, options);
|
|
41
|
-
}
|
|
42
|
-
async _remove_tags(id, triggerValue, params, options) {
|
|
43
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _SkuOptions.TYPE, _remove_tags: triggerValue }, params, options);
|
|
44
|
-
}
|
|
45
|
-
isSkuOption(resource) {
|
|
46
|
-
return resource.type && resource.type === _SkuOptions.TYPE;
|
|
47
|
-
}
|
|
48
|
-
relationship(id) {
|
|
49
|
-
return super.relationshipOneToOne(id);
|
|
50
|
-
}
|
|
51
|
-
relationshipToMany(...ids) {
|
|
52
|
-
return super.relationshipOneToMany(...ids);
|
|
53
|
-
}
|
|
54
|
-
type() {
|
|
55
|
-
return _SkuOptions.TYPE;
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
var instance = new SkuOptions();
|
|
59
|
-
var sku_options_default = instance;
|
|
60
|
-
|
|
61
|
-
export { sku_options_default };
|
|
62
|
-
//# sourceMappingURL=chunk-VCJOH3IE.js.map
|
|
63
|
-
//# sourceMappingURL=chunk-VCJOH3IE.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/sku_options.ts"],"names":[],"mappings":"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","file":"chunk-VCJOH3IE.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 { Market, MarketType } from './markets'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\n\n\ntype SkuOptionType = 'sku_options'\ntype SkuOptionRel = ResourceRel & { type: SkuOptionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type SkuOptionSort = Pick<SkuOption, 'id' | 'name' | 'currency_code' | 'price_amount_cents' | 'delay_hours' | 'delay_days'> & ResourceSort\n// export type SkuOptionFilter = Pick<SkuOption, 'id' | 'name' | 'currency_code' | 'description' | 'price_amount_cents' | 'delay_hours' | 'delay_days'> & ResourceFilter\n\n\ninterface SkuOption extends Resource {\n\t\n\treadonly type: SkuOptionType\n\n\t/** \n\t * The SKU option's internal name.\n\t * @example ```\"Embossing\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * An internal description of the SKU option.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The price of this shipping method, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents?: number | null\n\t/** \n\t * The price of this shipping method, float.\n\t * @example ```10```\n\t */\n\tprice_amount_float?: number | null\n\t/** \n\t * The price of this shipping method, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_price_amount?: string | null\n\t/** \n\t * The delay time (in hours) that should be added to the delivery lead time when this option is purchased.\n\t * @example ```48```\n\t */\n\tdelay_hours?: number | null\n\t/** \n\t * The delay time, in days (rounded).\n\t * @example ```2```\n\t */\n\tdelay_days?: number | null\n\t/** \n\t * The regex that will be evaluated to match the SKU codes, max size is 5000.\n\t * @example ```\"^(A|B).*$\"```\n\t */\n\tsku_code_regex?: string | null\n\n\tmarket?: Market | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface SkuOptionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The SKU option's internal name.\n\t * @example ```\"Embossing\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * An internal description of the SKU option.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The price of this shipping method, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents?: number | null\n\t/** \n\t * The delay time (in hours) that should be added to the delivery lead time when this option is purchased.\n\t * @example ```48```\n\t */\n\tdelay_hours?: number | null\n\t/** \n\t * The regex that will be evaluated to match the SKU codes, max size is 5000.\n\t * @example ```\"^(A|B).*$\"```\n\t */\n\tsku_code_regex?: string | null\n\n\tmarket?: MarketRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface SkuOptionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The SKU option's internal name.\n\t * @example ```\"Embossing\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * An internal description of the SKU option.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The price of this shipping method, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents?: number | null\n\t/** \n\t * The delay time (in hours) that should be added to the delivery lead time when this option is purchased.\n\t * @example ```48```\n\t */\n\tdelay_hours?: number | null\n\t/** \n\t * The regex that will be evaluated to match the SKU codes, max size is 5000.\n\t * @example ```\"^(A|B).*$\"```\n\t */\n\tsku_code_regex?: string | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\n\tmarket?: MarketRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass SkuOptions extends ApiResource<SkuOption> {\n\n\tstatic readonly TYPE: SkuOptionType = 'sku_options' as const\n\n\tasync create(resource: SkuOptionCreate, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption> {\n\t\treturn this.resources.create<SkuOptionCreate, SkuOption>({ ...resource, type: SkuOptions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: SkuOptionUpdate, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption> {\n\t\treturn this.resources.update<SkuOptionUpdate, SkuOption>({ ...resource, type: SkuOptions.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: SkuOptions.TYPE } : id, options)\n\t}\n\n\tasync market(skuOptionId: string | SkuOption, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _skuOptionId = (skuOptionId as SkuOption).id || skuOptionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `sku_options/${_skuOptionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync attachments(skuOptionId: string | SkuOption, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _skuOptionId = (skuOptionId as SkuOption).id || skuOptionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `sku_options/${_skuOptionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(skuOptionId: string | SkuOption, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _skuOptionId = (skuOptionId as SkuOption).id || skuOptionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `sku_options/${_skuOptionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(skuOptionId: string | SkuOption, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _skuOptionId = (skuOptionId as SkuOption).id || skuOptionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `sku_options/${_skuOptionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(skuOptionId: string | SkuOption, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _skuOptionId = (skuOptionId as SkuOption).id || skuOptionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `sku_options/${_skuOptionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(skuOptionId: string | SkuOption, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _skuOptionId = (skuOptionId as SkuOption).id || skuOptionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `sku_options/${_skuOptionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _add_tags(id: string | SkuOption, triggerValue: string, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption> {\n\t\treturn this.resources.update<SkuOptionUpdate, SkuOption>({ id: (typeof id === 'string')? id: id.id, type: SkuOptions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | SkuOption, triggerValue: string, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption> {\n\t\treturn this.resources.update<SkuOptionUpdate, SkuOption>({ id: (typeof id === 'string')? id: id.id, type: SkuOptions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisSkuOption(resource: any): resource is SkuOption {\n\t\treturn resource.type && (resource.type === SkuOptions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): SkuOptionRel {\n\t\treturn super.relationshipOneToOne<SkuOptionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): SkuOptionRel[] {\n\t\treturn super.relationshipOneToMany<SkuOptionRel>(...ids)\n\t}\n\n\n\ttype(): SkuOptionType {\n\t\treturn SkuOptions.TYPE\n\t}\n\n}\n\n\nconst instance = new SkuOptions()\nexport default instance\n\nexport type { SkuOption, SkuOptionCreate, SkuOptions, SkuOptionType, SkuOptionUpdate }\n"]}
|
package/lib/chunk-VROIQJ2H.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { OPEN_API_SCHEMA_VERSION } from './chunk-SWZUFDHY.js';
|
|
2
|
-
import { isTokenExpired } from './chunk-4MV6VICV.js';
|
|
3
|
-
import { isVersionable, isTaggable, isDeletable, isUpdatable, isCreatable, isSingleton, getSingletons, getResources } from './chunk-YI3IDZIR.js';
|
|
4
|
-
import { isApiError, isSdkError } from './chunk-PIHQS6OG.js';
|
|
5
|
-
|
|
6
|
-
// src/static.ts
|
|
7
|
-
var CommerceLayerStatic = {
|
|
8
|
-
resources: (sort) => {
|
|
9
|
-
return getResources(sort);
|
|
10
|
-
},
|
|
11
|
-
singletons: (sort) => {
|
|
12
|
-
return getSingletons(sort);
|
|
13
|
-
},
|
|
14
|
-
isSingleton: (resource) => {
|
|
15
|
-
return isSingleton(resource);
|
|
16
|
-
},
|
|
17
|
-
isCreatable: (resource) => {
|
|
18
|
-
return isCreatable(resource);
|
|
19
|
-
},
|
|
20
|
-
isUpdatable: (resource) => {
|
|
21
|
-
return isUpdatable(resource);
|
|
22
|
-
},
|
|
23
|
-
isDeletable: (resource) => {
|
|
24
|
-
return isDeletable(resource);
|
|
25
|
-
},
|
|
26
|
-
isTaggable: (resource) => {
|
|
27
|
-
return isTaggable(resource);
|
|
28
|
-
},
|
|
29
|
-
isVersionable: (resource) => {
|
|
30
|
-
return isVersionable(resource);
|
|
31
|
-
},
|
|
32
|
-
isSdkError: (error) => {
|
|
33
|
-
return isSdkError(error);
|
|
34
|
-
},
|
|
35
|
-
isApiError: (error) => {
|
|
36
|
-
return isApiError(error);
|
|
37
|
-
},
|
|
38
|
-
isTokenExpired: (token) => {
|
|
39
|
-
return isTokenExpired(token);
|
|
40
|
-
},
|
|
41
|
-
get schemaVersion() {
|
|
42
|
-
return OPEN_API_SCHEMA_VERSION;
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
export { CommerceLayerStatic };
|
|
47
|
-
//# sourceMappingURL=chunk-VROIQJ2H.js.map
|
|
48
|
-
//# sourceMappingURL=chunk-VROIQJ2H.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/static.ts"],"names":[],"mappings":";;;;;;AASO,IAAM,mBAAA,GAAsB;AAAA,EAElC,SAAA,EAAW,CAAC,IAAA,KAAsC;AACjD,IAAA,OAAO,aAAa,IAAI,CAAA;AAAA,EACzB,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,IAAA,KAAsC;AAClD,IAAA,OAAO,cAAc,IAAI,CAAA;AAAA,EAC1B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,QAAA,KAAwC;AACpD,IAAA,OAAO,WAAW,QAAQ,CAAA;AAAA,EAC3B,CAAA;AAAA,EAEA,aAAA,EAAe,CAAC,QAAA,KAAwC;AACvD,IAAA,OAAO,cAAc,QAAQ,CAAA;AAAA,EAC9B,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,KAAA,KAAsC;AAClD,IAAA,OAAO,WAAW,KAAK,CAAA;AAAA,EACxB,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,KAAA,KAAsC;AAClD,IAAA,OAAO,WAAW,KAAK,CAAA;AAAA,EACxB,CAAA;AAAA,EAEA,cAAA,EAAgB,CAAC,KAAA,KAA2B;AAC3C,IAAA,OAAO,eAAe,KAAK,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,IAAI,aAAA,GAAwB;AAAE,IAAA,OAAO,uBAAA;AAAA,EAAwB;AAE9D","file":"chunk-VROIQJ2H.js","sourcesContent":["\nimport { OPEN_API_SCHEMA_VERSION } from './commercelayer'\nimport type { ResourceTypeLock } from './enum'\nimport { getResources, getSingletons, isCreatable, isDeletable, isSingleton, isTaggable, isUpdatable, isVersionable } from './enum'\nimport { type ApiError, isApiError, isSdkError, type SdkError } from './error'\nimport { isTokenExpired } from './util'\n\n\n/* Static functions */\nexport const CommerceLayerStatic = {\n\n\tresources: (sort?: boolean): readonly string[] => {\n\t\treturn getResources(sort)\n\t},\n\n\tsingletons: (sort?: boolean): readonly string[] => {\n\t\treturn getSingletons(sort)\n\t},\n\n\tisSingleton: (resource: ResourceTypeLock): boolean => {\n\t\treturn isSingleton(resource)\n\t},\n\n\tisCreatable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isCreatable(resource)\n\t},\n\n\tisUpdatable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isUpdatable(resource)\n\t},\n\n\tisDeletable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isDeletable(resource)\n\t},\n\n\tisTaggable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isTaggable(resource)\n\t},\n\n\tisVersionable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isVersionable(resource)\n\t},\n\n\tisSdkError: (error: unknown): error is SdkError => {\n\t\treturn isSdkError(error)\n\t},\n\n\tisApiError: (error: unknown): error is ApiError => {\n\t\treturn isApiError(error)\n\t},\n\n\tisTokenExpired: (token: string): boolean => {\n\t\treturn isTokenExpired(token)\n\t},\n\n\tget schemaVersion(): string { return OPEN_API_SCHEMA_VERSION }\n\n}\n"]}
|
package/lib/chunk-W5HJOZUZ.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-L2R5G3V5.js';
|
|
2
|
-
|
|
3
|
-
// src/resources/stripe_gateways.ts
|
|
4
|
-
var StripeGateways = class _StripeGateways extends ApiResource {
|
|
5
|
-
static TYPE = "stripe_gateways";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create({ ...resource, type: _StripeGateways.TYPE }, params, options);
|
|
8
|
-
}
|
|
9
|
-
async update(resource, params, options) {
|
|
10
|
-
return this.resources.update({ ...resource, type: _StripeGateways.TYPE }, params, options);
|
|
11
|
-
}
|
|
12
|
-
async delete(id, options) {
|
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _StripeGateways.TYPE } : id, options);
|
|
14
|
-
}
|
|
15
|
-
async payment_methods(stripeGatewayId, params, options) {
|
|
16
|
-
const _stripeGatewayId = stripeGatewayId.id || stripeGatewayId;
|
|
17
|
-
return this.resources.fetch({ type: "payment_methods" }, `stripe_gateways/${_stripeGatewayId}/payment_methods`, params, options);
|
|
18
|
-
}
|
|
19
|
-
async versions(stripeGatewayId, params, options) {
|
|
20
|
-
const _stripeGatewayId = stripeGatewayId.id || stripeGatewayId;
|
|
21
|
-
return this.resources.fetch({ type: "versions" }, `stripe_gateways/${_stripeGatewayId}/versions`, params, options);
|
|
22
|
-
}
|
|
23
|
-
async event_stores(stripeGatewayId, params, options) {
|
|
24
|
-
const _stripeGatewayId = stripeGatewayId.id || stripeGatewayId;
|
|
25
|
-
return this.resources.fetch({ type: "event_stores" }, `stripe_gateways/${_stripeGatewayId}/event_stores`, params, options);
|
|
26
|
-
}
|
|
27
|
-
async stripe_payments(stripeGatewayId, params, options) {
|
|
28
|
-
const _stripeGatewayId = stripeGatewayId.id || stripeGatewayId;
|
|
29
|
-
return this.resources.fetch({ type: "stripe_payments" }, `stripe_gateways/${_stripeGatewayId}/stripe_payments`, params, options);
|
|
30
|
-
}
|
|
31
|
-
async _disable(id, params, options) {
|
|
32
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _StripeGateways.TYPE, _disable: true }, params, options);
|
|
33
|
-
}
|
|
34
|
-
async _enable(id, params, options) {
|
|
35
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _StripeGateways.TYPE, _enable: true }, params, options);
|
|
36
|
-
}
|
|
37
|
-
isStripeGateway(resource) {
|
|
38
|
-
return resource.type && resource.type === _StripeGateways.TYPE;
|
|
39
|
-
}
|
|
40
|
-
relationship(id) {
|
|
41
|
-
return super.relationshipOneToOne(id);
|
|
42
|
-
}
|
|
43
|
-
relationshipToMany(...ids) {
|
|
44
|
-
return super.relationshipOneToMany(...ids);
|
|
45
|
-
}
|
|
46
|
-
type() {
|
|
47
|
-
return _StripeGateways.TYPE;
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
var instance = new StripeGateways();
|
|
51
|
-
var stripe_gateways_default = instance;
|
|
52
|
-
|
|
53
|
-
export { stripe_gateways_default };
|
|
54
|
-
//# sourceMappingURL=chunk-W5HJOZUZ.js.map
|
|
55
|
-
//# sourceMappingURL=chunk-W5HJOZUZ.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/stripe_gateways.ts"],"names":[],"mappings":"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","file":"chunk-W5HJOZUZ.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 { EventStore } from './event_stores'\nimport type { PaymentMethod } from './payment_methods'\nimport type { StripePayment } from './stripe_payments'\nimport type { Version } from './versions'\n\n\ntype StripeGatewayType = 'stripe_gateways'\ntype StripeGatewayRel = ResourceRel & { type: StripeGatewayType }\n\n\nexport type StripeGatewaySort = Pick<StripeGateway, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type StripeGatewayFilter = Pick<StripeGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n\ninterface StripeGateway extends Resource {\n\t\n\treadonly type: StripeGatewayType\n\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\tforce_payments?: boolean | 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 account (if any) for which the funds of the PaymentIntent are intended.\n\t * @example ```\"acct_xxxx-yyyy-zzzz\"```\n\t */\n\tconnected_account?: string | null\n\t/** \n\t * Indicates if the gateway will accept payment methods enabled in the Stripe dashboard.\n\t * @example ```true```\n\t */\n\tauto_payments?: boolean | null\n\t/** \n\t * The gateway webhook endpoint ID, generated automatically.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\twebhook_endpoint_id?: string | null\n\t/** \n\t * The gateway webhook endpoint secret, generated automatically.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\twebhook_endpoint_secret?: string | null\n\t/** \n\t * The gateway webhook URL, generated automatically.\n\t * @example ```\"https://core.commercelayer.co/webhook_callbacks/stripe_gateways/xxxxx\"```\n\t */\n\twebhook_endpoint_url?: string | null\n\n\tpayment_methods?: PaymentMethod[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\tstripe_payments?: StripePayment[] | null\n\n}\n\n\ninterface StripeGatewayCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\tforce_payments?: boolean | 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 gateway login.\n\t * @example ```\"sk_live_xxxx-yyyy-zzzz\"```\n\t */\n\tlogin: string\n\t/** \n\t * The gateway publishable API key.\n\t * @example ```\"pk_live_xxxx-yyyy-zzzz\"```\n\t */\n\tpublishable_key?: string | null\n\t/** \n\t * The account (if any) for which the funds of the PaymentIntent are intended.\n\t * @example ```\"acct_xxxx-yyyy-zzzz\"```\n\t */\n\tconnected_account?: string | null\n\t/** \n\t * Indicates if the gateway will accept payment methods enabled in the Stripe dashboard.\n\t * @example ```true```\n\t */\n\tauto_payments?: boolean | null\n\t\n}\n\n\ninterface StripeGatewayUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname?: string | null\n\tforce_payments?: boolean | 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 account (if any) for which the funds of the PaymentIntent are intended.\n\t * @example ```\"acct_xxxx-yyyy-zzzz\"```\n\t */\n\tconnected_account?: string | null\n\t/** \n\t * Indicates if the gateway will accept payment methods enabled in the Stripe dashboard.\n\t * @example ```true```\n\t */\n\tauto_payments?: boolean | null\n\t\n}\n\n\nclass StripeGateways extends ApiResource<StripeGateway> {\n\n\tstatic readonly TYPE: StripeGatewayType = 'stripe_gateways' as const\n\n\tasync create(resource: StripeGatewayCreate, params?: QueryParamsRetrieve<StripeGateway>, options?: ResourcesConfig): Promise<StripeGateway> {\n\t\treturn this.resources.create<StripeGatewayCreate, StripeGateway>({ ...resource, type: StripeGateways.TYPE }, params, options)\n\t}\n\n\tasync update(resource: StripeGatewayUpdate, params?: QueryParamsRetrieve<StripeGateway>, options?: ResourcesConfig): Promise<StripeGateway> {\n\t\treturn this.resources.update<StripeGatewayUpdate, StripeGateway>({ ...resource, type: StripeGateways.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: StripeGateways.TYPE } : id, options)\n\t}\n\n\tasync payment_methods(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _stripeGatewayId = (stripeGatewayId as StripeGateway).id || stripeGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `stripe_gateways/${_stripeGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync versions(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _stripeGatewayId = (stripeGatewayId as StripeGateway).id || stripeGatewayId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `stripe_gateways/${_stripeGatewayId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _stripeGatewayId = (stripeGatewayId as StripeGateway).id || stripeGatewayId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `stripe_gateways/${_stripeGatewayId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync stripe_payments(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<StripePayment>, options?: ResourcesConfig): Promise<ListResponse<StripePayment>> {\n\t\tconst _stripeGatewayId = (stripeGatewayId as StripeGateway).id || stripeGatewayId as string\n\t\treturn this.resources.fetch<StripePayment>({ type: 'stripe_payments' }, `stripe_gateways/${_stripeGatewayId}/stripe_payments`, params, options) as unknown as ListResponse<StripePayment>\n\t}\n\n\tasync _disable(id: string | StripeGateway, params?: QueryParamsRetrieve<StripeGateway>, options?: ResourcesConfig): Promise<StripeGateway> {\n\t\treturn this.resources.update<StripeGatewayUpdate, StripeGateway>({ id: (typeof id === 'string')? id: id.id, type: StripeGateways.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | StripeGateway, params?: QueryParamsRetrieve<StripeGateway>, options?: ResourcesConfig): Promise<StripeGateway> {\n\t\treturn this.resources.update<StripeGatewayUpdate, StripeGateway>({ id: (typeof id === 'string')? id: id.id, type: StripeGateways.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisStripeGateway(resource: any): resource is StripeGateway {\n\t\treturn resource.type && (resource.type === StripeGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): StripeGatewayRel {\n\t\treturn super.relationshipOneToOne<StripeGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): StripeGatewayRel[] {\n\t\treturn super.relationshipOneToMany<StripeGatewayRel>(...ids)\n\t}\n\n\n\ttype(): StripeGatewayType {\n\t\treturn StripeGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new StripeGateways()\nexport default instance\n\nexport type { StripeGateway, StripeGatewayCreate, StripeGateways, StripeGatewayType, StripeGatewayUpdate }\n"]}
|
package/lib/chunk-W6D7ACVK.cjs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkUBH2EC5P_cjs = require('./chunk-UBH2EC5P.cjs');
|
|
4
|
-
|
|
5
|
-
// src/resources/event_stores.ts
|
|
6
|
-
var EventStores = class _EventStores extends chunkUBH2EC5P_cjs.ApiResource {
|
|
7
|
-
static TYPE = "event_stores";
|
|
8
|
-
isEventStore(resource) {
|
|
9
|
-
return resource.type && resource.type === _EventStores.TYPE;
|
|
10
|
-
}
|
|
11
|
-
relationship(id) {
|
|
12
|
-
return super.relationshipOneToOne(id);
|
|
13
|
-
}
|
|
14
|
-
relationshipToMany(...ids) {
|
|
15
|
-
return super.relationshipOneToMany(...ids);
|
|
16
|
-
}
|
|
17
|
-
type() {
|
|
18
|
-
return _EventStores.TYPE;
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
var instance = new EventStores();
|
|
22
|
-
var event_stores_default = instance;
|
|
23
|
-
|
|
24
|
-
exports.event_stores_default = event_stores_default;
|
|
25
|
-
//# sourceMappingURL=chunk-W6D7ACVK.cjs.map
|
|
26
|
-
//# sourceMappingURL=chunk-W6D7ACVK.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/event_stores.ts"],"names":["ApiResource"],"mappings":";;;;;AA+CA,IAAM,WAAA,GAAN,MAAM,YAAA,SAAoBA,6BAAA,CAAwB;AAAA,EAEjD,OAAgB,IAAA,GAAuB,cAAA;AAAA,EAKvC,aAAa,QAAA,EAAuC;AACnD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,YAAA,CAAY,IAAA;AAAA,EACxD;AAAA,EAGA,aAAa,EAAA,EAA+C;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAoC,EAAE,CAAA;AAAA,EACpD;AAAA,EAEA,sBAAsB,GAAA,EAAgC;AACrD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAqC,GAAG,GAAG,CAAA;AAAA,EACzD;AAAA,EAGA,IAAA,GAAuB;AACtB,IAAA,OAAO,YAAA,CAAY,IAAA;AAAA,EACpB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,WAAA,EAAY;AACjC,IAAO,oBAAA,GAAQ","file":"chunk-W6D7ACVK.cjs","sourcesContent":["import type { Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport { ApiResource } from '../resource'\n\n\n\n\ntype EventStoreType = 'event_stores'\ntype EventStoreRel = ResourceRel & { type: EventStoreType }\n\n\nexport type EventStoreSort = Pick<EventStore, 'id'> & ResourceSort\n// export type EventStoreFilter = Pick<EventStore, 'id'> & ResourceFilter\n\n\ninterface EventStore extends Resource {\n\t\n\treadonly type: EventStoreType\n\n\t/** \n\t * The type of the affected resource.\n\t * @example ```\"orders\"```\n\t */\n\tresource_type?: string | null\n\t/** \n\t * The ID of the affected resource.\n\t * @example ```\"PzdJhdLdYV\"```\n\t */\n\tresource_id?: string | null\n\t/** \n\t * The type of change (one of create or update).\n\t * @example ```\"update\"```\n\t */\n\tevent?: string | null\n\t/** \n\t * The object changes payload.\n\t * @example ```{\"status\":[\"draft\",\"placed\"]}```\n\t */\n\tpayload?: Record<string, any> | null\n\t/** \n\t * Information about who triggered the change.\n\t * @example ```{\"application\":{\"id\":\"DNOPYiZYpn\",\"kind\":\"sales_channel\",\"public\":true},\"owner\":{\"id\":\"yQQrBhLBmQ\",\"type\":\"Customer\"}}```\n\t */\n\twho?: Record<string, any> | null\n\t\n}\n\n\nclass EventStores extends ApiResource<EventStore> {\n\n\tstatic readonly TYPE: EventStoreType = 'event_stores' as const\n\n\t\n\n\n\tisEventStore(resource: any): resource is EventStore {\n\t\treturn resource.type && (resource.type === EventStores.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): EventStoreRel {\n\t\treturn super.relationshipOneToOne<EventStoreRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): EventStoreRel[] {\n\t\treturn super.relationshipOneToMany<EventStoreRel>(...ids)\n\t}\n\n\n\ttype(): EventStoreType {\n\t\treturn EventStores.TYPE\n\t}\n\n}\n\n\nconst instance = new EventStores()\nexport default instance\n\nexport type { EventStore, EventStores, EventStoreType }\n"]}
|
package/lib/chunk-W76GDFLA.cjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkUBH2EC5P_cjs = require('./chunk-UBH2EC5P.cjs');
|
|
4
|
-
|
|
5
|
-
// src/resources/links.ts
|
|
6
|
-
var Links = class _Links extends chunkUBH2EC5P_cjs.ApiResource {
|
|
7
|
-
static TYPE = "links";
|
|
8
|
-
async create(resource, params, options) {
|
|
9
|
-
return this.resources.create({ ...resource, type: _Links.TYPE }, params, options);
|
|
10
|
-
}
|
|
11
|
-
async update(resource, params, options) {
|
|
12
|
-
return this.resources.update({ ...resource, type: _Links.TYPE }, params, options);
|
|
13
|
-
}
|
|
14
|
-
async delete(id, options) {
|
|
15
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _Links.TYPE } : id, options);
|
|
16
|
-
}
|
|
17
|
-
async events(linkId, params, options) {
|
|
18
|
-
const _linkId = linkId.id || linkId;
|
|
19
|
-
return this.resources.fetch({ type: "events" }, `links/${_linkId}/events`, params, options);
|
|
20
|
-
}
|
|
21
|
-
async event_stores(linkId, params, options) {
|
|
22
|
-
const _linkId = linkId.id || linkId;
|
|
23
|
-
return this.resources.fetch({ type: "event_stores" }, `links/${_linkId}/event_stores`, params, options);
|
|
24
|
-
}
|
|
25
|
-
async _disable(id, params, options) {
|
|
26
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Links.TYPE, _disable: true }, params, options);
|
|
27
|
-
}
|
|
28
|
-
async _enable(id, params, options) {
|
|
29
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Links.TYPE, _enable: true }, params, options);
|
|
30
|
-
}
|
|
31
|
-
isLink(resource) {
|
|
32
|
-
return resource.type && resource.type === _Links.TYPE;
|
|
33
|
-
}
|
|
34
|
-
relationship(id) {
|
|
35
|
-
return super.relationshipOneToOne(id);
|
|
36
|
-
}
|
|
37
|
-
relationshipToMany(...ids) {
|
|
38
|
-
return super.relationshipOneToMany(...ids);
|
|
39
|
-
}
|
|
40
|
-
type() {
|
|
41
|
-
return _Links.TYPE;
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
var instance = new Links();
|
|
45
|
-
var links_default = instance;
|
|
46
|
-
|
|
47
|
-
exports.links_default = links_default;
|
|
48
|
-
//# sourceMappingURL=chunk-W76GDFLA.cjs.map
|
|
49
|
-
//# sourceMappingURL=chunk-W76GDFLA.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/links.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-W76GDFLA.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 { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Order, OrderType } from './orders'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Sku, SkuType } from './skus'\n\n\ntype LinkType = 'links'\ntype LinkRel = ResourceRel & { type: LinkType }\ntype OrderRel = ResourceRel & { type: OrderType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\n\n\nexport type LinkSort = Pick<Link, 'id' | 'name' | 'starts_at' | 'expires_at' | 'item_type' | 'disabled_at'> & ResourceSort\n// export type LinkFilter = Pick<Link, 'id' | 'name' | 'client_id' | 'scope' | 'starts_at' | 'expires_at' | 'item_type' | 'params' | 'disabled_at'> & ResourceFilter\n\n\ninterface Link extends Resource {\n\t\n\treadonly type: LinkType\n\n\t/** \n\t * The link internal name.\n\t * @example ```\"FW SALE 2023\"```\n\t */\n\tname: string\n\t/** \n\t * The link application client id, used to fetch JWT.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tclient_id: string\n\t/** \n\t * The link application scope, used to fetch JWT.\n\t * @example ```\"market:id:GhvCxsElAQ,market:id:kJhgVcxZDr\"```\n\t */\n\tscope: string\n\t/** \n\t * The activation date/time of this link.\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 link (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 * Indicates if the link is active (enabled and not expired).\n\t * @example ```true```\n\t */\n\tactive?: boolean | null\n\t/** \n\t * The link status. One of 'disabled', 'expired', 'pending', or 'active'.\n\t * @example ```\"pending\"```\n\t */\n\tstatus?: 'disabled' | 'expired' | 'pending' | 'active' | null\n\t/** \n\t * The link URL second level domain.\n\t * @example ```\"commercelayer.link\"```\n\t */\n\tdomain?: string | null\n\t/** \n\t * The link URL.\n\t * @example ```\"https://commercelayer.link/ZXUtd2VzdC0xLzE5ZjBlMGVlLTg4OGMtNDQ1Yi1iYTA0LTg3MTUxY2FjZjFmYQ\"```\n\t */\n\turl?: string | null\n\t/** \n\t * The type of the associated item. One of 'orders', 'skus', or 'sku_lists'.\n\t * @example ```\"orders\"```\n\t */\n\titem_type?: 'orders' | 'skus' | 'sku_lists' | null\n\t/** \n\t * The link params to be passed in URL the query string.\n\t * @example ```{\"param1\":\"ABC\",\"param2\":\"XYZ\"}```\n\t */\n\tparams?: Record<string, any> | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\n\titem?: Order | Sku | SkuList | null\n\tevents?: Event[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface LinkCreate extends ResourceCreate {\n\t\n\t/** \n\t * The link internal name.\n\t * @example ```\"FW SALE 2023\"```\n\t */\n\tname: string\n\t/** \n\t * The link application client id, used to fetch JWT.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tclient_id: string\n\t/** \n\t * The link application scope, used to fetch JWT.\n\t * @example ```\"market:id:GhvCxsElAQ,market:id:kJhgVcxZDr\"```\n\t */\n\tscope: string\n\t/** \n\t * The activation date/time of this link.\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 link (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 link URL second level domain.\n\t * @example ```\"commercelayer.link\"```\n\t */\n\tdomain?: string | null\n\t/** \n\t * The type of the associated item. One of 'orders', 'skus', or 'sku_lists'.\n\t * @example ```\"orders\"```\n\t */\n\titem_type?: 'orders' | 'skus' | 'sku_lists' | null\n\t/** \n\t * The link params to be passed in URL the query string.\n\t * @example ```{\"param1\":\"ABC\",\"param2\":\"XYZ\"}```\n\t */\n\tparams?: Record<string, any> | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\n\titem: OrderRel | SkuRel | SkuListRel\n\n}\n\n\ninterface LinkUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The link internal name.\n\t * @example ```\"FW SALE 2023\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The link application client id, used to fetch JWT.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tclient_id?: string | null\n\t/** \n\t * The link application scope, used to fetch JWT.\n\t * @example ```\"market:id:GhvCxsElAQ,market:id:kJhgVcxZDr\"```\n\t */\n\tscope?: string | null\n\t/** \n\t * The activation date/time of this link.\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 link (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 link URL second level domain.\n\t * @example ```\"commercelayer.link\"```\n\t */\n\tdomain?: string | null\n\t/** \n\t * The link params to be passed in URL the query string.\n\t * @example ```{\"param1\":\"ABC\",\"param2\":\"XYZ\"}```\n\t */\n\tparams?: Record<string, any> | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\n\titem?: OrderRel | SkuRel | SkuListRel | null\n\n}\n\n\nclass Links extends ApiResource<Link> {\n\n\tstatic readonly TYPE: LinkType = 'links' as const\n\n\tasync create(resource: LinkCreate, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link> {\n\t\treturn this.resources.create<LinkCreate, Link>({ ...resource, type: Links.TYPE }, params, options)\n\t}\n\n\tasync update(resource: LinkUpdate, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link> {\n\t\treturn this.resources.update<LinkUpdate, Link>({ ...resource, type: Links.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: Links.TYPE } : id, options)\n\t}\n\n\tasync events(linkId: string | Link, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _linkId = (linkId as Link).id || linkId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `links/${_linkId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync event_stores(linkId: string | Link, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _linkId = (linkId as Link).id || linkId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `links/${_linkId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _disable(id: string | Link, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link> {\n\t\treturn this.resources.update<LinkUpdate, Link>({ id: (typeof id === 'string')? id: id.id, type: Links.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | Link, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link> {\n\t\treturn this.resources.update<LinkUpdate, Link>({ id: (typeof id === 'string')? id: id.id, type: Links.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisLink(resource: any): resource is Link {\n\t\treturn resource.type && (resource.type === Links.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): LinkRel {\n\t\treturn super.relationshipOneToOne<LinkRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): LinkRel[] {\n\t\treturn super.relationshipOneToMany<LinkRel>(...ids)\n\t}\n\n\n\ttype(): LinkType {\n\t\treturn Links.TYPE\n\t}\n\n}\n\n\nconst instance = new Links()\nexport default instance\n\nexport type { Link, LinkCreate, Links, LinkType, LinkUpdate }\n"]}
|
package/lib/chunk-W7A5TBOT.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-L2R5G3V5.js';
|
|
2
|
-
|
|
3
|
-
// src/resources/attachments.ts
|
|
4
|
-
var Attachments = class _Attachments extends ApiResource {
|
|
5
|
-
static TYPE = "attachments";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create({ ...resource, type: _Attachments.TYPE }, params, options);
|
|
8
|
-
}
|
|
9
|
-
async update(resource, params, options) {
|
|
10
|
-
return this.resources.update({ ...resource, type: _Attachments.TYPE }, params, options);
|
|
11
|
-
}
|
|
12
|
-
async delete(id, options) {
|
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _Attachments.TYPE } : id, options);
|
|
14
|
-
}
|
|
15
|
-
async event_stores(attachmentId, params, options) {
|
|
16
|
-
const _attachmentId = attachmentId.id || attachmentId;
|
|
17
|
-
return this.resources.fetch({ type: "event_stores" }, `attachments/${_attachmentId}/event_stores`, params, options);
|
|
18
|
-
}
|
|
19
|
-
isAttachment(resource) {
|
|
20
|
-
return resource.type && resource.type === _Attachments.TYPE;
|
|
21
|
-
}
|
|
22
|
-
relationship(id) {
|
|
23
|
-
return super.relationshipOneToOne(id);
|
|
24
|
-
}
|
|
25
|
-
relationshipToMany(...ids) {
|
|
26
|
-
return super.relationshipOneToMany(...ids);
|
|
27
|
-
}
|
|
28
|
-
type() {
|
|
29
|
-
return _Attachments.TYPE;
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
var instance = new Attachments();
|
|
33
|
-
var attachments_default = instance;
|
|
34
|
-
|
|
35
|
-
export { attachments_default };
|
|
36
|
-
//# sourceMappingURL=chunk-W7A5TBOT.js.map
|
|
37
|
-
//# sourceMappingURL=chunk-W7A5TBOT.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/attachments.ts"],"names":[],"mappings":";;;AAkKA,IAAM,WAAA,GAAN,MAAM,YAAA,SAAoB,WAAA,CAAwB;AAAA,EAEjD,OAAgB,IAAA,GAAuB,aAAA;AAAA,EAEvC,MAAM,MAAA,CAAO,QAAA,EAA4B,MAAA,EAA0C,OAAA,EAAgD;AAClI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,YAAA,CAAY,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACpH;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA4B,MAAA,EAA0C,OAAA,EAAgD;AAClI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,YAAA,CAAY,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACpH;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,YAAA,CAAY,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACnG;AAAA,EAEA,MAAM,YAAA,CAAa,YAAA,EAAmC,MAAA,EAAsC,OAAA,EAA8D;AACzJ,IAAA,MAAM,aAAA,GAAiB,aAA4B,EAAA,IAAM,YAAA;AACzD,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,YAAA,EAAe,aAAa,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/H;AAAA,EAGA,aAAa,QAAA,EAAuC;AACnD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,YAAA,CAAY,IAAA;AAAA,EACxD;AAAA,EAGA,aAAa,EAAA,EAA+C;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAoC,EAAE,CAAA;AAAA,EACpD;AAAA,EAEA,sBAAsB,GAAA,EAAgC;AACrD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAqC,GAAG,GAAG,CAAA;AAAA,EACzD;AAAA,EAGA,IAAA,GAAuB;AACtB,IAAA,OAAO,YAAA,CAAY,IAAA;AAAA,EACpB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,WAAA,EAAY;AACjC,IAAO,mBAAA,GAAQ","file":"chunk-W7A5TBOT.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 { Bundle, BundleType } from './bundles'\nimport type { CarrierAccount, CarrierAccountType } from './carrier_accounts'\nimport type { CouponRecipient, CouponRecipientType } from './coupon_recipients'\nimport type { CustomerGroup, CustomerGroupType } from './customer_groups'\nimport type { Customer, CustomerType } from './customers'\nimport type { DeliveryLeadTime, DeliveryLeadTimeType } from './delivery_lead_times'\nimport type { DiscountEngine, DiscountEngineType } from './discount_engines'\nimport type { EventStore } from './event_stores'\nimport type { Geocoder, GeocoderType } from './geocoders'\nimport type { GiftCardRecipient, GiftCardRecipientType } from './gift_card_recipients'\nimport type { GiftCard, GiftCardType } from './gift_cards'\nimport type { InventoryModel, InventoryModelType } from './inventory_models'\nimport type { Market, MarketType } from './markets'\nimport type { Merchant, MerchantType } from './merchants'\nimport type { Order, OrderType } from './orders'\nimport type { Package, PackageType } from './packages'\nimport type { Parcel, ParcelType } from './parcels'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { PaymentOption, PaymentOptionType } from './payment_options'\nimport type { PriceList, PriceListType } from './price_lists'\nimport type { PriceTier, PriceTierType } from './price_tiers'\nimport type { Price, PriceType } from './prices'\nimport type { Promotion, PromotionType } from './promotions'\nimport type { Return, ReturnType } from './returns'\nimport type { Shipment, ShipmentType } from './shipments'\nimport type { ShippingCategory, ShippingCategoryType } from './shipping_categories'\nimport type { ShippingMethodTier, ShippingMethodTierType } from './shipping_method_tiers'\nimport type { ShippingMethod, ShippingMethodType } from './shipping_methods'\nimport type { ShippingZone, ShippingZoneType } from './shipping_zones'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { SkuOption, SkuOptionType } from './sku_options'\nimport type { Sku, SkuType } from './skus'\nimport type { StockItem, StockItemType } from './stock_items'\nimport type { StockLocation, StockLocationType } from './stock_locations'\nimport type { StockTransfer, StockTransferType } from './stock_transfers'\nimport type { SubscriptionModel, SubscriptionModelType } from './subscription_models'\nimport type { TaxCalculator, TaxCalculatorType } from './tax_calculators'\nimport type { TaxCategory, TaxCategoryType } from './tax_categories'\nimport type { Transaction, TransactionType } from './transactions'\n\n\ntype AttachmentType = 'attachments'\ntype AttachmentRel = ResourceRel & { type: AttachmentType }\ntype GeocoderRel = ResourceRel & { type: GeocoderType }\ntype PriceListRel = ResourceRel & { type: PriceListType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\ntype PromotionRel = ResourceRel & { type: PromotionType }\ntype OrderRel = ResourceRel & { type: OrderType }\ntype TransactionRel = ResourceRel & { type: TransactionType }\ntype TaxCalculatorRel = ResourceRel & { type: TaxCalculatorType }\ntype TaxCategoryRel = ResourceRel & { type: TaxCategoryType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype ShippingCategoryRel = ResourceRel & { type: ShippingCategoryType }\ntype BundleRel = ResourceRel & { type: BundleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype StockItemRel = ResourceRel & { type: StockItemType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype ReturnRel = ResourceRel & { type: ReturnType }\ntype CarrierAccountRel = ResourceRel & { type: CarrierAccountType }\ntype CouponRecipientRel = ResourceRel & { type: CouponRecipientType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype DeliveryLeadTimeRel = ResourceRel & { type: DeliveryLeadTimeType }\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype DiscountEngineRel = ResourceRel & { type: DiscountEngineType }\ntype ParcelRel = ResourceRel & { type: ParcelType }\ntype GiftCardRecipientRel = ResourceRel & { type: GiftCardRecipientType }\ntype GiftCardRel = ResourceRel & { type: GiftCardType }\ntype InventoryModelRel = ResourceRel & { type: InventoryModelType }\ntype StockTransferRel = ResourceRel & { type: StockTransferType }\ntype SkuOptionRel = ResourceRel & { type: SkuOptionType }\ntype MerchantRel = ResourceRel & { type: MerchantType }\ntype SubscriptionModelRel = ResourceRel & { type: SubscriptionModelType }\ntype PaymentOptionRel = ResourceRel & { type: PaymentOptionType }\ntype PackageRel = ResourceRel & { type: PackageType }\ntype PriceRel = ResourceRel & { type: PriceType }\ntype PriceTierRel = ResourceRel & { type: PriceTierType }\ntype ShippingMethodTierRel = ResourceRel & { type: ShippingMethodTierType }\ntype ShippingZoneRel = ResourceRel & { type: ShippingZoneType }\n\n\nexport type AttachmentSort = Pick<Attachment, 'id' | 'name'> & ResourceSort\n// export type AttachmentFilter = Pick<Attachment, 'id' | 'name' | 'description'> & ResourceFilter\n\n\ninterface Attachment extends Resource {\n\t\n\treadonly type: AttachmentType\n\n\t/** \n\t * The internal name of the attachment.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname: string\n\t/** \n\t * An internal description of the attachment.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The attachment URL.\n\t * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n\t */\n\turl?: string | null\n\n\tattachable?: Geocoder | PriceList | PaymentMethod | Market | CustomerGroup | Promotion | Order | Transaction | TaxCalculator | TaxCategory | Sku | ShippingCategory | Bundle | SkuList | StockItem | StockLocation | Return | CarrierAccount | CouponRecipient | Customer | DeliveryLeadTime | ShippingMethod | Shipment | DiscountEngine | Parcel | GiftCardRecipient | GiftCard | InventoryModel | StockTransfer | SkuOption | Merchant | SubscriptionModel | PaymentOption | Package | Price | PriceTier | ShippingMethodTier | ShippingZone | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface AttachmentCreate extends ResourceCreate {\n\t\n\t/** \n\t * The internal name of the attachment.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname: string\n\t/** \n\t * An internal description of the attachment.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The attachment URL.\n\t * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n\t */\n\turl?: string | null\n\n\tattachable: GeocoderRel | PriceListRel | PaymentMethodRel | MarketRel | CustomerGroupRel | PromotionRel | OrderRel | TransactionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel | DeliveryLeadTimeRel | ShippingMethodRel | ShipmentRel | DiscountEngineRel | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel | StockTransferRel | SkuOptionRel | MerchantRel | SubscriptionModelRel | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel\n\n}\n\n\ninterface AttachmentUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The internal name of the attachment.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname?: string | null\n\t/** \n\t * An internal description of the attachment.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The attachment URL.\n\t * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n\t */\n\turl?: string | null\n\n\tattachable?: GeocoderRel | PriceListRel | PaymentMethodRel | MarketRel | CustomerGroupRel | PromotionRel | OrderRel | TransactionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel | DeliveryLeadTimeRel | ShippingMethodRel | ShipmentRel | DiscountEngineRel | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel | StockTransferRel | SkuOptionRel | MerchantRel | SubscriptionModelRel | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel | null\n\n}\n\n\nclass Attachments extends ApiResource<Attachment> {\n\n\tstatic readonly TYPE: AttachmentType = 'attachments' as const\n\n\tasync create(resource: AttachmentCreate, params?: QueryParamsRetrieve<Attachment>, options?: ResourcesConfig): Promise<Attachment> {\n\t\treturn this.resources.create<AttachmentCreate, Attachment>({ ...resource, type: Attachments.TYPE }, params, options)\n\t}\n\n\tasync update(resource: AttachmentUpdate, params?: QueryParamsRetrieve<Attachment>, options?: ResourcesConfig): Promise<Attachment> {\n\t\treturn this.resources.update<AttachmentUpdate, Attachment>({ ...resource, type: Attachments.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: Attachments.TYPE } : id, options)\n\t}\n\n\tasync event_stores(attachmentId: string | Attachment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _attachmentId = (attachmentId as Attachment).id || attachmentId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `attachments/${_attachmentId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisAttachment(resource: any): resource is Attachment {\n\t\treturn resource.type && (resource.type === Attachments.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): AttachmentRel {\n\t\treturn super.relationshipOneToOne<AttachmentRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): AttachmentRel[] {\n\t\treturn super.relationshipOneToMany<AttachmentRel>(...ids)\n\t}\n\n\n\ttype(): AttachmentType {\n\t\treturn Attachments.TYPE\n\t}\n\n}\n\n\nconst instance = new Attachments()\nexport default instance\n\nexport type { Attachment, AttachmentCreate, Attachments, AttachmentType, AttachmentUpdate }\n"]}
|