@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/easypost_pickups.ts"],"names":["ApiResource"],"mappings":";;;;;AAqHA,IAAM,eAAA,GAAN,MAAM,gBAAA,SAAwBA,6BAAA,CAA4B;AAAA,EAEzD,OAAgB,IAAA,GAA2B,kBAAA;AAAA,EAE3C,MAAM,MAAA,CAAO,QAAA,EAAgC,MAAA,EAA8C,OAAA,EAAoD;AAC9I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,gBAAA,CAAgB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAChI;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAgC,MAAA,EAA8C,OAAA,EAAoD;AAC9I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,gBAAA,CAAgB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAChI;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,I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IAAM,gBAAA;AACrE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,iBAAA,EAAoB,iBAAiB,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACxI;AAAA,EAEA,MAAM,SAAA,CAAU,EAAA,EAA6B,MAAA,EAA8C,OAAA,EAAoD;AAC9I,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAA6C,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,gBAAA,CAAgB,IAAA,EAAM,WAAW,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EAC7K;AAAA,EAGA,iBAAiB,QAAA,EAA2C;AAC3D,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,gBAAA,CAAgB,IAAA;AAAA,EAC5D;AAAA,EAGA,aAAa,EAAA,EAAmD;AAC/D,IAAA,OAAO,KAAA,CAAM,qBAAwC,EAAE,CAAA;AAAA,EACxD;AAAA,EAEA,sBAAsB,GAAA,EAAoC;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAyC,GAAG,GAAG,CAAA;AAAA,EAC7D;AAAA,EAGA,IAAA,GAA2B;AAC1B,IAAA,OAAO,gBAAA,CAAgB,IAAA;AAAA,EACxB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,eAAA,EAAgB;AACrC,IAAO,wBAAA,GAAQ","file":"chunk-QVJTWTUN.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 { Parcel } from './parcels'\nimport type { Shipment, ShipmentType } from './shipments'\n\n\ntype EasypostPickupType = 'easypost_pickups'\ntype EasypostPickupRel = ResourceRel & { type: EasypostPickupType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\n\n\nexport type EasypostPickupSort = Pick<EasypostPickup, 'id' | 'status' | 'min_datetime' | 'max_datetime' | 'purchase_started_at' | 'purchase_completed_at'> & ResourceSort\n// export type EasypostPickupFilter = Pick<EasypostPickup, 'id' | 'status' | 'min_datetime' | 'max_datetime' | 'purchase_started_at' | 'purchase_completed_at'> & ResourceFilter\n\n\ninterface EasypostPickup extends Resource {\n\t\n\treadonly type: EasypostPickupType\n\n\t/** \n\t * The pick up status.\n\t * @example ```\"unknown\"```\n\t */\n\tstatus?: string | null\n\t/** \n\t * The pick up service internal ID.\n\t * @example ```\"pickup_13e5d7e2a7824432a07975bc553944bc\"```\n\t */\n\tinternal_id: string\n\t/** \n\t * The selected purchase rate from the available pick up rates.\n\t * @example ```\"pickuprate_a6cd2647a898410aa5d33febde44e1b2\"```\n\t */\n\tselected_rate_id?: string | null\n\t/** \n\t * The available pick up rates.\n\t * @example ```[{\"id\":\"pickuprate_a6cd2647a898410aa5d33febde44e1b2\",\"rate\":\"45.59\",\"carrier\":\"USPS\",\"service\":\"NextDay\"}]```\n\t */\n\trates: Array<Record<string, any>>\n\t/** \n\t * Additional text to help the driver successfully obtain the package, automatically enriched with parcels and package informations.\n\t * @example ```\"Knock loudly\"```\n\t */\n\tinstructions?: string | null\n\t/** \n\t * The earliest time at which the package is available to pick up, must be larger than 2 hours from creation time.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tmin_datetime: string\n\t/** \n\t * The latest time at which the package is available to pick up, must be smaller than 24 hours from creation time.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tmax_datetime: string\n\t/** \n\t * Time at which the purchasing of the pick up rate started.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tpurchase_started_at?: string | null\n\t/** \n\t * Time at which the purchasing of the pick up rate completed.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tpurchase_completed_at?: string | null\n\n\tshipment?: Shipment | null\n\tparcels?: Parcel[] | null\n\tevents?: Event[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface EasypostPickupCreate extends ResourceCreate {\n\t\n\t/** \n\t * Additional text to help the driver successfully obtain the package, automatically enriched with parcels and package informations.\n\t * @example ```\"Knock loudly\"```\n\t */\n\tinstructions?: string | null\n\t/** \n\t * The earliest time at which the package is available to pick up, must be larger than 2 hours from creation time.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tmin_datetime: string\n\t/** \n\t * The latest time at which the package is available to pick up, must be smaller than 24 hours from creation time.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tmax_datetime: string\n\n\tshipment: ShipmentRel\n\n}\n\n\ninterface EasypostPickupUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The selected purchase rate from the available pick up rates.\n\t * @example ```\"pickuprate_a6cd2647a898410aa5d33febde44e1b2\"```\n\t */\n\tselected_rate_id?: string | null\n\t/** \n\t * Send this attribute if you want to purchase this pick up with the selected rate.\n\t * @example ```true```\n\t */\n\t_purchase?: boolean | null\n\n\tshipment?: ShipmentRel | null\n\n}\n\n\nclass EasypostPickups extends ApiResource<EasypostPickup> {\n\n\tstatic readonly TYPE: EasypostPickupType = 'easypost_pickups' as const\n\n\tasync create(resource: EasypostPickupCreate, params?: QueryParamsRetrieve<EasypostPickup>, options?: ResourcesConfig): Promise<EasypostPickup> {\n\t\treturn this.resources.create<EasypostPickupCreate, EasypostPickup>({ ...resource, type: EasypostPickups.TYPE }, params, options)\n\t}\n\n\tasync update(resource: EasypostPickupUpdate, params?: QueryParamsRetrieve<EasypostPickup>, options?: ResourcesConfig): Promise<EasypostPickup> {\n\t\treturn this.resources.update<EasypostPickupUpdate, EasypostPickup>({ ...resource, type: EasypostPickups.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: EasypostPickups.TYPE } : id, options)\n\t}\n\n\tasync shipment(easypostPickupId: string | EasypostPickup, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\tconst _easypostPickupId = (easypostPickupId as EasypostPickup).id || easypostPickupId as string\n\t\treturn this.resources.fetch<Shipment>({ type: 'shipments' }, `easypost_pickups/${_easypostPickupId}/shipment`, params, options) as unknown as Shipment\n\t}\n\n\tasync parcels(easypostPickupId: string | EasypostPickup, params?: QueryParamsList<Parcel>, options?: ResourcesConfig): Promise<ListResponse<Parcel>> {\n\t\tconst _easypostPickupId = (easypostPickupId as EasypostPickup).id || easypostPickupId as string\n\t\treturn this.resources.fetch<Parcel>({ type: 'parcels' }, `easypost_pickups/${_easypostPickupId}/parcels`, params, options) as unknown as ListResponse<Parcel>\n\t}\n\n\tasync events(easypostPickupId: string | EasypostPickup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _easypostPickupId = (easypostPickupId as EasypostPickup).id || easypostPickupId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `easypost_pickups/${_easypostPickupId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync event_stores(easypostPickupId: string | EasypostPickup, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _easypostPickupId = (easypostPickupId as EasypostPickup).id || easypostPickupId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `easypost_pickups/${_easypostPickupId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _purchase(id: string | EasypostPickup, params?: QueryParamsRetrieve<EasypostPickup>, options?: ResourcesConfig): Promise<EasypostPickup> {\n\t\treturn this.resources.update<EasypostPickupUpdate, EasypostPickup>({ id: (typeof id === 'string')? id: id.id, type: EasypostPickups.TYPE, _purchase: true }, params, options)\n\t}\n\n\n\tisEasypostPickup(resource: any): resource is EasypostPickup {\n\t\treturn resource.type && (resource.type === EasypostPickups.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): EasypostPickupRel {\n\t\treturn super.relationshipOneToOne<EasypostPickupRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): EasypostPickupRel[] {\n\t\treturn super.relationshipOneToMany<EasypostPickupRel>(...ids)\n\t}\n\n\n\ttype(): EasypostPickupType {\n\t\treturn EasypostPickups.TYPE\n\t}\n\n}\n\n\nconst instance = new EasypostPickups()\nexport default instance\n\nexport type { EasypostPickup, EasypostPickupCreate, EasypostPickups, EasypostPickupType, EasypostPickupUpdate }\n"]}
|
package/lib/chunk-R3PNGGDR.cjs
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkUBH2EC5P_cjs = require('./chunk-UBH2EC5P.cjs');
|
|
4
|
-
|
|
5
|
-
// src/resources/price_lists.ts
|
|
6
|
-
var PriceLists = class _PriceLists extends chunkUBH2EC5P_cjs.ApiResource {
|
|
7
|
-
static TYPE = "price_lists";
|
|
8
|
-
async create(resource, params, options) {
|
|
9
|
-
return this.resources.create({ ...resource, type: _PriceLists.TYPE }, params, options);
|
|
10
|
-
}
|
|
11
|
-
async update(resource, params, options) {
|
|
12
|
-
return this.resources.update({ ...resource, type: _PriceLists.TYPE }, params, options);
|
|
13
|
-
}
|
|
14
|
-
async delete(id, options) {
|
|
15
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _PriceLists.TYPE } : id, options);
|
|
16
|
-
}
|
|
17
|
-
async prices(priceListId, params, options) {
|
|
18
|
-
const _priceListId = priceListId.id || priceListId;
|
|
19
|
-
return this.resources.fetch({ type: "prices" }, `price_lists/${_priceListId}/prices`, params, options);
|
|
20
|
-
}
|
|
21
|
-
async price_list_schedulers(priceListId, params, options) {
|
|
22
|
-
const _priceListId = priceListId.id || priceListId;
|
|
23
|
-
return this.resources.fetch({ type: "price_list_schedulers" }, `price_lists/${_priceListId}/price_list_schedulers`, params, options);
|
|
24
|
-
}
|
|
25
|
-
async attachments(priceListId, params, options) {
|
|
26
|
-
const _priceListId = priceListId.id || priceListId;
|
|
27
|
-
return this.resources.fetch({ type: "attachments" }, `price_lists/${_priceListId}/attachments`, params, options);
|
|
28
|
-
}
|
|
29
|
-
async versions(priceListId, params, options) {
|
|
30
|
-
const _priceListId = priceListId.id || priceListId;
|
|
31
|
-
return this.resources.fetch({ type: "versions" }, `price_lists/${_priceListId}/versions`, params, options);
|
|
32
|
-
}
|
|
33
|
-
async event_stores(priceListId, params, options) {
|
|
34
|
-
const _priceListId = priceListId.id || priceListId;
|
|
35
|
-
return this.resources.fetch({ type: "event_stores" }, `price_lists/${_priceListId}/event_stores`, params, options);
|
|
36
|
-
}
|
|
37
|
-
isPriceList(resource) {
|
|
38
|
-
return resource.type && resource.type === _PriceLists.TYPE;
|
|
39
|
-
}
|
|
40
|
-
relationship(id) {
|
|
41
|
-
return super.relationshipOneToOne(id);
|
|
42
|
-
}
|
|
43
|
-
relationshipToMany(...ids) {
|
|
44
|
-
return super.relationshipOneToMany(...ids);
|
|
45
|
-
}
|
|
46
|
-
type() {
|
|
47
|
-
return _PriceLists.TYPE;
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
var instance = new PriceLists();
|
|
51
|
-
var price_lists_default = instance;
|
|
52
|
-
|
|
53
|
-
exports.price_lists_default = price_lists_default;
|
|
54
|
-
//# sourceMappingURL=chunk-R3PNGGDR.cjs.map
|
|
55
|
-
//# sourceMappingURL=chunk-R3PNGGDR.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/price_lists.ts"],"names":["ApiResource"],"mappings":";;;;;AAiIA,IAAM,UAAA,GAAN,MAAM,WAAA,SAAmBA,6BAAA,CAAuB;AAAA,EAE/C,OAAgB,IAAA,GAAsB,aA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sBAAsB,GAAA,EAA+B;AACpD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAoC,GAAG,GAAG,CAAA;AAAA,EACxD;AAAA,EAGA,IAAA,GAAsB;AACrB,IAAA,OAAO,WAAA,CAAW,IAAA;AAAA,EACnB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,UAAA,EAAW;AAChC,IAAO,mBAAA,GAAQ","file":"chunk-R3PNGGDR.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 { PriceListScheduler } from './price_list_schedulers'\nimport type { Price } from './prices'\nimport type { Version } from './versions'\n\n\ntype PriceListType = 'price_lists'\ntype PriceListRel = ResourceRel & { type: PriceListType }\n\n\nexport type PriceListSort = Pick<PriceList, 'id' | 'name' | 'code' | 'currency_code' | 'tax_included'> & ResourceSort\n// export type PriceListFilter = Pick<PriceList, 'id' | 'name' | 'code' | 'currency_code' | 'tax_included' | 'rules'> & ResourceFilter\n\n\ninterface PriceList extends Resource {\n\t\n\treadonly type: PriceListType\n\n\t/** \n\t * The price list's internal name.\n\t * @example ```\"EU Price list\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the price list (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: 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\n\t/** \n\t * Indicates if the associated prices include taxes.\n\t * @example ```true```\n\t */\n\ttax_included?: boolean | null\n\t/** \n\t * The rule outcomes.\n\t * @example ```[]```\n\t */\n\trule_outcomes?: Record<string, any> | null\n\t/** \n\t * The rules (using Rules Engine) to be applied.\n\t * @example ```{}```\n\t */\n\trules?: Record<string, any> | null\n\t/** \n\t * The payload used to evaluate the rules.\n\t * @example ```{}```\n\t */\n\tresource_payload?: Record<string, any> | null\n\n\tprices?: Price[] | null\n\tprice_list_schedulers?: PriceListScheduler[] | null\n\tattachments?: Attachment[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface PriceListCreate extends ResourceCreate {\n\t\n\t/** \n\t * The price list's internal name.\n\t * @example ```\"EU Price list\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the price list (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: 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\n\t/** \n\t * Indicates if the associated prices include taxes.\n\t * @example ```true```\n\t */\n\ttax_included?: boolean | null\n\t/** \n\t * The rules (using Rules Engine) to be applied.\n\t * @example ```{}```\n\t */\n\trules?: Record<string, any> | null\n\t\n}\n\n\ninterface PriceListUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The price list's internal name.\n\t * @example ```\"EU Price list\"```\n\t */\n\tname?: string | null\n\t/** \n\t * A string that you can use to identify the price list (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the associated prices include taxes.\n\t * @example ```true```\n\t */\n\ttax_included?: boolean | null\n\t/** \n\t * The rules (using Rules Engine) to be applied.\n\t * @example ```{}```\n\t */\n\trules?: Record<string, any> | null\n\t\n}\n\n\nclass PriceLists extends ApiResource<PriceList> {\n\n\tstatic readonly TYPE: PriceListType = 'price_lists' as const\n\n\tasync create(resource: PriceListCreate, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList> {\n\t\treturn this.resources.create<PriceListCreate, PriceList>({ ...resource, type: PriceLists.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PriceListUpdate, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList> {\n\t\treturn this.resources.update<PriceListUpdate, PriceList>({ ...resource, type: PriceLists.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: PriceLists.TYPE } : id, options)\n\t}\n\n\tasync prices(priceListId: string | PriceList, params?: QueryParamsList<Price>, options?: ResourcesConfig): Promise<ListResponse<Price>> {\n\t\tconst _priceListId = (priceListId as PriceList).id || priceListId as string\n\t\treturn this.resources.fetch<Price>({ type: 'prices' }, `price_lists/${_priceListId}/prices`, params, options) as unknown as ListResponse<Price>\n\t}\n\n\tasync price_list_schedulers(priceListId: string | PriceList, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>> {\n\t\tconst _priceListId = (priceListId as PriceList).id || priceListId as string\n\t\treturn this.resources.fetch<PriceListScheduler>({ type: 'price_list_schedulers' }, `price_lists/${_priceListId}/price_list_schedulers`, params, options) as unknown as ListResponse<PriceListScheduler>\n\t}\n\n\tasync attachments(priceListId: string | PriceList, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _priceListId = (priceListId as PriceList).id || priceListId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `price_lists/${_priceListId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync versions(priceListId: string | PriceList, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _priceListId = (priceListId as PriceList).id || priceListId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `price_lists/${_priceListId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(priceListId: string | PriceList, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _priceListId = (priceListId as PriceList).id || priceListId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `price_lists/${_priceListId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisPriceList(resource: any): resource is PriceList {\n\t\treturn resource.type && (resource.type === PriceLists.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PriceListRel {\n\t\treturn super.relationshipOneToOne<PriceListRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PriceListRel[] {\n\t\treturn super.relationshipOneToMany<PriceListRel>(...ids)\n\t}\n\n\n\ttype(): PriceListType {\n\t\treturn PriceLists.TYPE\n\t}\n\n}\n\n\nconst instance = new PriceLists()\nexport default instance\n\nexport type { PriceList, PriceListCreate, PriceLists, PriceListType, PriceListUpdate }\n"]}
|
package/lib/chunk-R7JDWIQK.cjs
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkUBH2EC5P_cjs = require('./chunk-UBH2EC5P.cjs');
|
|
4
|
-
var chunkCSRXWHGF_cjs = require('./chunk-CSRXWHGF.cjs');
|
|
5
|
-
var chunkLQ5GKVLT_cjs = require('./chunk-LQ5GKVLT.cjs');
|
|
6
|
-
var chunk7RZTCBDR_cjs = require('./chunk-7RZTCBDR.cjs');
|
|
7
|
-
|
|
8
|
-
// src/commercelayer.ts
|
|
9
|
-
var debug = chunk7RZTCBDR_cjs.debug_default("commercelayer");
|
|
10
|
-
var OPEN_API_SCHEMA_VERSION = "7.9.14";
|
|
11
|
-
var CommerceLayerClient = class _CommerceLayerClient {
|
|
12
|
-
openApiSchemaVersion = OPEN_API_SCHEMA_VERSION;
|
|
13
|
-
static cl;
|
|
14
|
-
// ##__CL_RESOURCES_DEF_START__##
|
|
15
|
-
// ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##
|
|
16
|
-
// ##__CL_RESOURCES_DEF_STOP__##
|
|
17
|
-
static get(config) {
|
|
18
|
-
if (config) return _CommerceLayerClient.cl = new _CommerceLayerClient(config);
|
|
19
|
-
else if (!_CommerceLayerClient.cl) throw new Error("CommerceLayer client not initialized");
|
|
20
|
-
return _CommerceLayerClient.cl;
|
|
21
|
-
}
|
|
22
|
-
constructor(config) {
|
|
23
|
-
debug("new commercelayer instance %O", config);
|
|
24
|
-
chunkUBH2EC5P_cjs.ApiResourceAdapter.init(config);
|
|
25
|
-
}
|
|
26
|
-
// ##__CL_RESOURCES_LEAZY_LOADING_START__##
|
|
27
|
-
// ##__CL_RESOURCES_LEAZY_LOADING_TEMPLATE:: ##__TAB__##get ##__RESOURCE_TYPE__##(): api.##__RESOURCE_CLASS__## { return this.###__RESOURCE_TYPE__## || (this.###__RESOURCE_TYPE__## = new api.##__RESOURCE_CLASS__##(this.#adapter)) }
|
|
28
|
-
// ##__CL_RESOURCES_LEAZY_LOADING_STOP__##
|
|
29
|
-
// private get adapter(): ResourceAdapter { return ApiResourceAdapter.get() }
|
|
30
|
-
get currentOrganization() {
|
|
31
|
-
return chunkUBH2EC5P_cjs.ApiResourceAdapter.get().client?.currentOrganization;
|
|
32
|
-
}
|
|
33
|
-
get currentAccessToken() {
|
|
34
|
-
return chunkUBH2EC5P_cjs.ApiResourceAdapter.get().client?.currentAccessToken;
|
|
35
|
-
}
|
|
36
|
-
get interceptors() {
|
|
37
|
-
return chunkUBH2EC5P_cjs.ApiResourceAdapter.get().client?.interceptors;
|
|
38
|
-
}
|
|
39
|
-
localConfig(_config) {
|
|
40
|
-
}
|
|
41
|
-
config(config) {
|
|
42
|
-
debug("config %o", config);
|
|
43
|
-
this.localConfig(config);
|
|
44
|
-
chunkUBH2EC5P_cjs.ApiResourceAdapter.config(config);
|
|
45
|
-
return this;
|
|
46
|
-
}
|
|
47
|
-
resources(sort) {
|
|
48
|
-
return chunkCSRXWHGF_cjs.getResources(sort);
|
|
49
|
-
}
|
|
50
|
-
isApiError(error) {
|
|
51
|
-
return chunkLQ5GKVLT_cjs.isApiError(error);
|
|
52
|
-
}
|
|
53
|
-
addRequestInterceptor(onSuccess, onFailure) {
|
|
54
|
-
this.interceptors.request = { onSuccess, onFailure };
|
|
55
|
-
return 1;
|
|
56
|
-
}
|
|
57
|
-
addResponseInterceptor(onSuccess, onFailure) {
|
|
58
|
-
this.interceptors.response = { onSuccess, onFailure };
|
|
59
|
-
return 1;
|
|
60
|
-
}
|
|
61
|
-
removeInterceptor(type, _id = 1) {
|
|
62
|
-
this.interceptors[type] = void 0;
|
|
63
|
-
}
|
|
64
|
-
removeInterceptors() {
|
|
65
|
-
this.removeInterceptor("request");
|
|
66
|
-
this.removeInterceptor("response");
|
|
67
|
-
this.removeRawResponseReader();
|
|
68
|
-
}
|
|
69
|
-
addRawResponseReader(options) {
|
|
70
|
-
const reader = {
|
|
71
|
-
id: 0,
|
|
72
|
-
rawResponse: void 0,
|
|
73
|
-
headers: void 0,
|
|
74
|
-
ok: true
|
|
75
|
-
};
|
|
76
|
-
async function rawResponseInterceptor(response) {
|
|
77
|
-
reader.rawResponse = await response?.clone().json().catch(() => {
|
|
78
|
-
});
|
|
79
|
-
reader.ok = response.ok;
|
|
80
|
-
if (options?.headers) {
|
|
81
|
-
const ho = {};
|
|
82
|
-
response.headers.forEach((value, key) => {
|
|
83
|
-
ho[key] = value;
|
|
84
|
-
});
|
|
85
|
-
reader.headers = ho;
|
|
86
|
-
}
|
|
87
|
-
return response;
|
|
88
|
-
}
|
|
89
|
-
this.interceptors.rawReader = { onSuccess: rawResponseInterceptor, onFailure: rawResponseInterceptor };
|
|
90
|
-
reader.id = 1;
|
|
91
|
-
return reader;
|
|
92
|
-
}
|
|
93
|
-
removeRawResponseReader() {
|
|
94
|
-
this.interceptors.rawReader = void 0;
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
var CommerceLayer = (config) => {
|
|
98
|
-
return CommerceLayerClient.get(config);
|
|
99
|
-
};
|
|
100
|
-
var commercelayer_default = CommerceLayer;
|
|
101
|
-
|
|
102
|
-
exports.CommerceLayer = CommerceLayer;
|
|
103
|
-
exports.CommerceLayerClient = CommerceLayerClient;
|
|
104
|
-
exports.OPEN_API_SCHEMA_VERSION = OPEN_API_SCHEMA_VERSION;
|
|
105
|
-
exports.commercelayer_default = commercelayer_default;
|
|
106
|
-
//# sourceMappingURL=chunk-R7JDWIQK.cjs.map
|
|
107
|
-
//# sourceMappingURL=chunk-R7JDWIQK.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/commercelayer.ts"],"names":["debug_default","ApiResourceAdapter","getResources","isApiError"],"mappings":";;;;;;;;AAUA,IAAM,KAAA,GAAQA,gCAAM,eAAe,CAAA;AAI5B,IAAM,uBAAA,GAA0B;AAcvC,IAAM,mBAAA,GAAN,MAAM,oBAAA,CAAoB;AAAA,EAEhB,oBAAA,GAAuB,uBAAA;AAAA,EAEhC,OAAiB,EAAA;AAAA;AAAA;AAAA;AAAA,EAQjB,OAAO,IAAK,MAAA,EAAuD;AAClE,IAAA,IAAI,QAAQ,OAAQ,oBAAA,CAAoB,EAAA,GAAK,IAAI,qBAAoB,MAAM,CAAA;AAAA,SAAA,IAEvE,CAAC,oBAAA,CAAoB,EAAA,EAAI,MAAM,IAAI,MAAM,sCAAsC,CAAA;AACnF,IAAA,OAAO,oBAAA,CAAoB,EAAA;AAAA,EAC5B;AAAA,EAGU,YAAY,MAAA,EAAiC;AAEtD,IAAA,KAAA,CAAM,iCAAiC,MAAM,CAAA;AAE7C,IAAAC,oCAAA,CAAmB,KAAK,MAAM,CAAA;AAAA,EAM/B;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,IAAI,mBAAA,GAA8B;AAAE,IAAA,OAAOA,oCAAA,CAAmB,GAAA,EAAI,CAAE,MAAA,EAAQ,mBAAA;AAAA,EAAoB;AAAA,EAChG,IAAI,kBAAA,GAA6B;AAAE,IAAA,OAAOA,oCAAA,CAAmB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AA,EAAmD;AAEvE,IAAA,MAAM,MAAA,GAA4B;AAAA,MACjC,EAAA,EAAI,CAAA;AAAA,MACJ,WAAA,EAAa,MAAA;AAAA,MACb,OAAA,EAAS,MAAA;AAAA,MACT,EAAA,EAAI;AAAA,KACL;AAEA,IAAA,eAAe,uBAAuB,QAAA,EAA6C;AAClF,MAAA,MAAA,CAAO,WAAA,GAAc,MAAM,QAAA,EAAU,KAAA,GAAQ,IAAA,EAAK,CAAE,MAAM,MAAM;AAAA,MAAC,CAAC,CAAA;AAClE,MAAA,MAAA,CAAO,KAAK,QAAA,CAAS,EAAA;AACrB,MAAA,IAAI,SAAS,OAAA,EAAS;AACrB,QAAA,MAAM,KAAiB,EAAC;AACxB,QAAA,QAAA,CAAS,OAAA,CAAQ,OAAA,CAAQ,CAAC,KAAA,EAAO,GAAA,KAAQ;AAAE,UAAA,EAAA,CAAG,GAAG,CAAA,GAAI,KAAA;AAAA,QAAM,CAAC,CAAA;AAC5D,QAAA,MAAA,CAAO,OAAA,GAAU,EAAA;AAAA,MAClB;AACA,MAAA,OAAO,QAAA;AAAA,IACR;AAEyB,IAAA,IAAA,CAAK,aAAa,SAAA,GAAY,EAAE,SAAA,EAAW,sBAAA,EAAwB,WAAW,sBAAA,EAAuB;AAC9H,IAAA,MAAA,CAAO,EAAA,GAAK,CAAA;AAEZ,IAAA,OAAO,MAAA;AAAA,EAER;AAAA,EAEA,uBAAA,GAAwE;AAKvE,IAAA,IAAA,CAAK,aAAa,SAAA,GAAY,MAAA;AAAA,EAC/B;AAED;AAIA,IAAM,aAAA,GAAgB,CAAC,MAAA,KAAyD;AAC/E,EAAA,OAAO,mBAAA,CAAoB,IAAI,MAAM,CAAA;AACtC;AAGA,IAAO,qBAAA,GAAQ","file":"chunk-R7JDWIQK.cjs","sourcesContent":["\n\n\nimport Debug from './debug'\n// import * as api from './api'\nimport { getResources } from './enum'\nimport { type ApiError, isApiError } from './error'\nimport type { ErrorInterceptor, HeadersObj, InterceptorManager, InterceptorType, RawResponseReader, RequestInterceptor, ResponseInterceptor, ResponseObj } from './interceptor'\nimport { ApiResourceAdapter, type ResourcesInitConfig } from './resource'\n\nconst debug = Debug('commercelayer')\n\n\n// Autogenerated version number, do not remove this line\nexport const OPEN_API_SCHEMA_VERSION = '7.9.14'\n\n\n// SDK local configuration\n// biome-ignore lint/complexity/noBannedTypes: left as placeholder for future SDK config options\ntype SdkConfig = {\n\t// abc?: string\n}\n\ntype CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig\ntype CommerceLayerConfig = Partial<CommerceLayerInitConfig>\n\n\n\nclass CommerceLayerClient {\n\n\treadonly openApiSchemaVersion = OPEN_API_SCHEMA_VERSION\n\n\tprotected static cl: CommerceLayerClient\n\n\t// ##__CL_RESOURCES_DEF_START__##\n\t// ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##\n\n\t// ##__CL_RESOURCES_DEF_STOP__##\n\n\n\tstatic get (config?: CommerceLayerInitConfig): CommerceLayerClient {\n\t\tif (config) return (CommerceLayerClient.cl = new CommerceLayerClient(config))\n\t\telse\n\t\tif (!CommerceLayerClient.cl) throw new Error('CommerceLayer client not initialized')\n\t\treturn CommerceLayerClient.cl\n\t}\n\n\n\tprotected constructor(config: CommerceLayerInitConfig) {\n\n\t\tdebug('new commercelayer instance %O', config)\n\n\t\tApiResourceAdapter.init(config)\n\n\t\t// ##__CL_RESOURCES_INIT_START__##\n\t\t// ##__CL_RESOURCES_INIT_TEMPLATE:: ##__TAB__####__TAB__##this.##__RESOURCE_TYPE__## = new api.##__RESOURCE_CLASS__##(this.#adapter)\n\t\t// ##__CL_RESOURCES_INIT_STOP__##\n\n\t}\n\n\t// ##__CL_RESOURCES_LEAZY_LOADING_START__##\n\t// ##__CL_RESOURCES_LEAZY_LOADING_TEMPLATE:: ##__TAB__##get ##__RESOURCE_TYPE__##(): api.##__RESOURCE_CLASS__## { return this.###__RESOURCE_TYPE__## || (this.###__RESOURCE_TYPE__## = new api.##__RESOURCE_CLASS__##(this.#adapter)) }\n\n\t// ##__CL_RESOURCES_LEAZY_LOADING_STOP__##\n\n\t// private get adapter(): ResourceAdapter { return ApiResourceAdapter.get() }\n\tget currentOrganization(): string { return ApiResourceAdapter.get().client?.currentOrganization }\n\tget currentAccessToken(): string { return ApiResourceAdapter.get().client?.currentAccessToken }\n\tprivate get interceptors(): InterceptorManager { return ApiResourceAdapter.get().client?.interceptors }\n\n\n\tprivate localConfig(_config: Partial<SdkConfig>): void {\n\t\t// if (config.abc) this.abc = config.abc\n\t}\n\n\n\tconfig(config: CommerceLayerConfig): this {\n\n\t\tdebug('config %o', config)\n\n\t\t// CommerceLayer config\n\t\tthis.localConfig(config)\n\t\t// ResourceAdapter config\n\t\tApiResourceAdapter.config(config)\n\n\t\treturn this\n\n\t}\n\n\t\n\tresources(sort?: boolean): readonly string[] {\n\t\treturn getResources(sort)\n\t}\n\n\tisApiError(error: any): error is ApiError {\n\t\treturn isApiError(error)\n\t}\n\n\n\taddRequestInterceptor(onSuccess?: RequestInterceptor, onFailure?: ErrorInterceptor): number {\n\t\tthis.interceptors.request = { onSuccess, onFailure }\n\t\treturn 1\n\t}\n\n\taddResponseInterceptor(onSuccess?: ResponseInterceptor, onFailure?: ErrorInterceptor): number {\n\t\tthis.interceptors.response = { onSuccess, onFailure }\n\t\treturn 1\n\t}\n\n\tremoveInterceptor(type: InterceptorType, _id: number = 1): void {\n\t\tthis.interceptors[type] = undefined\n\t}\n\n\tremoveInterceptors(): void {\n\t\tthis.removeInterceptor('request')\n\t\tthis.removeInterceptor('response')\n\t\tthis.removeRawResponseReader()\n\t}\n\n\taddRawResponseReader(options?: { headers: boolean }): RawResponseReader {\n\n\t\tconst reader: RawResponseReader = {\n\t\t\tid: 0,\n\t\t\trawResponse: undefined,\n\t\t\theaders: undefined,\n\t\t\tok: true\n\t\t}\n\n\t\tasync function rawResponseInterceptor(response: ResponseObj): Promise<ResponseObj> {\n\t\t\treader.rawResponse = await response?.clone().json().catch(() => {})\n\t\t\treader.ok = response.ok\n\t\t\tif (options?.headers) {\n\t\t\t\tconst ho: HeadersObj = {}\n\t\t\t\tresponse.headers.forEach((value, key) => { ho[key] = value })\n\t\t\t\treader.headers = ho\n\t\t\t}\n\t\t\treturn response\n\t\t}\n\t\t\n\t\t/* const interceptor = */this.interceptors.rawReader = { onSuccess: rawResponseInterceptor, onFailure: rawResponseInterceptor }\n\t\treader.id = 1 // interceptor\n\n\t\treturn reader\n\n\t}\n\n\tremoveRawResponseReader(/* reader: number | RawResponseReader */): void {\n\t\t/*\n\t\tconst id = (typeof reader === 'number') ? reader : reader?.id\n\t\tif (id && (id >= 0)) this.removeInterceptor('response', id)\n\t\t*/\n\t\tthis.interceptors.rawReader = undefined\n\t}\n\n}\n\n\n\nconst CommerceLayer = (config: CommerceLayerInitConfig): CommerceLayerClient => {\n\treturn CommerceLayerClient.get(config)\n}\n\n\nexport default CommerceLayer\nexport type { CommerceLayerConfig, CommerceLayerInitConfig }\nexport { CommerceLayer, CommerceLayerClient }\n"]}
|
package/lib/chunk-R7PR3V6Z.cjs
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkUBH2EC5P_cjs = require('./chunk-UBH2EC5P.cjs');
|
|
4
|
-
|
|
5
|
-
// src/resources/shipping_weight_tiers.ts
|
|
6
|
-
var ShippingWeightTiers = class _ShippingWeightTiers extends chunkUBH2EC5P_cjs.ApiResource {
|
|
7
|
-
static TYPE = "shipping_weight_tiers";
|
|
8
|
-
async create(resource, params, options) {
|
|
9
|
-
return this.resources.create({ ...resource, type: _ShippingWeightTiers.TYPE }, params, options);
|
|
10
|
-
}
|
|
11
|
-
async update(resource, params, options) {
|
|
12
|
-
return this.resources.update({ ...resource, type: _ShippingWeightTiers.TYPE }, params, options);
|
|
13
|
-
}
|
|
14
|
-
async delete(id, options) {
|
|
15
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _ShippingWeightTiers.TYPE } : id, options);
|
|
16
|
-
}
|
|
17
|
-
async shipping_method(shippingWeightTierId, params, options) {
|
|
18
|
-
const _shippingWeightTierId = shippingWeightTierId.id || shippingWeightTierId;
|
|
19
|
-
return this.resources.fetch({ type: "shipping_methods" }, `shipping_weight_tiers/${_shippingWeightTierId}/shipping_method`, params, options);
|
|
20
|
-
}
|
|
21
|
-
async attachments(shippingWeightTierId, params, options) {
|
|
22
|
-
const _shippingWeightTierId = shippingWeightTierId.id || shippingWeightTierId;
|
|
23
|
-
return this.resources.fetch({ type: "attachments" }, `shipping_weight_tiers/${_shippingWeightTierId}/attachments`, params, options);
|
|
24
|
-
}
|
|
25
|
-
async versions(shippingWeightTierId, params, options) {
|
|
26
|
-
const _shippingWeightTierId = shippingWeightTierId.id || shippingWeightTierId;
|
|
27
|
-
return this.resources.fetch({ type: "versions" }, `shipping_weight_tiers/${_shippingWeightTierId}/versions`, params, options);
|
|
28
|
-
}
|
|
29
|
-
async event_stores(shippingWeightTierId, params, options) {
|
|
30
|
-
const _shippingWeightTierId = shippingWeightTierId.id || shippingWeightTierId;
|
|
31
|
-
return this.resources.fetch({ type: "event_stores" }, `shipping_weight_tiers/${_shippingWeightTierId}/event_stores`, params, options);
|
|
32
|
-
}
|
|
33
|
-
isShippingWeightTier(resource) {
|
|
34
|
-
return resource.type && resource.type === _ShippingWeightTiers.TYPE;
|
|
35
|
-
}
|
|
36
|
-
relationship(id) {
|
|
37
|
-
return super.relationshipOneToOne(id);
|
|
38
|
-
}
|
|
39
|
-
relationshipToMany(...ids) {
|
|
40
|
-
return super.relationshipOneToMany(...ids);
|
|
41
|
-
}
|
|
42
|
-
type() {
|
|
43
|
-
return _ShippingWeightTiers.TYPE;
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
var instance = new ShippingWeightTiers();
|
|
47
|
-
var shipping_weight_tiers_default = instance;
|
|
48
|
-
|
|
49
|
-
exports.shipping_weight_tiers_default = shipping_weight_tiers_default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AM,qBAA4C,EAAE,CAAA;AAAA,EAC5D;AAAA,EAEA,sBAAsB,GAAA,EAAwC;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA6C,GAAG,GAAG,CAAA;AAAA,EACjE;AAAA,EAGA,IAAA,GAA+B;AAC9B,IAAA,OAAO,oBAAA,CAAoB,IAAA;AAAA,EAC5B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,mBAAA,EAAoB;AACzC,IAAO,6BAAA,GAAQ","file":"chunk-R7PR3V6Z.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 { ShippingMethod, ShippingMethodType } from './shipping_methods'\nimport type { Version } from './versions'\n\n\ntype ShippingWeightTierType = 'shipping_weight_tiers'\ntype ShippingWeightTierRel = ResourceRel & { type: ShippingWeightTierType }\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\n\n\nexport type ShippingWeightTierSort = Pick<ShippingWeightTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceSort\n// export type ShippingWeightTierFilter = Pick<ShippingWeightTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceFilter\n\n\ninterface ShippingWeightTier extends Resource {\n\t\n\treadonly type: ShippingWeightTierType\n\n\t/** \n\t * The shipping method tier's name.\n\t * @example ```\"Light shipping under 3kg\"```\n\t */\n\tname: string\n\t/** \n\t * The tier upper limit. When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```20.5```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this shipping method tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\t/** \n\t * The price of this shipping method tier, float.\n\t * @example ```10```\n\t */\n\tprice_amount_float?: number | null\n\t/** \n\t * The price of this shipping method tier, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_price_amount?: string | null\n\n\tshipping_method?: ShippingMethod | null\n\tattachments?: Attachment[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface ShippingWeightTierCreate extends ResourceCreate {\n\t\n\t/** \n\t * The shipping method tier's name.\n\t * @example ```\"Light shipping under 3kg\"```\n\t */\n\tname: string\n\t/** \n\t * The tier upper limit. When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```20.5```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this shipping method tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\n\tshipping_method: ShippingMethodRel\n\n}\n\n\ninterface ShippingWeightTierUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The shipping method tier's name.\n\t * @example ```\"Light shipping under 3kg\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The tier upper limit. When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```20.5```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this shipping method tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents?: number | null\n\n\tshipping_method?: ShippingMethodRel | null\n\n}\n\n\nclass ShippingWeightTiers extends ApiResource<ShippingWeightTier> {\n\n\tstatic readonly TYPE: ShippingWeightTierType = 'shipping_weight_tiers' as const\n\n\tasync create(resource: ShippingWeightTierCreate, params?: QueryParamsRetrieve<ShippingWeightTier>, options?: ResourcesConfig): Promise<ShippingWeightTier> {\n\t\treturn this.resources.create<ShippingWeightTierCreate, ShippingWeightTier>({ ...resource, type: ShippingWeightTiers.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ShippingWeightTierUpdate, params?: QueryParamsRetrieve<ShippingWeightTier>, options?: ResourcesConfig): Promise<ShippingWeightTier> {\n\t\treturn this.resources.update<ShippingWeightTierUpdate, ShippingWeightTier>({ ...resource, type: ShippingWeightTiers.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: ShippingWeightTiers.TYPE } : id, options)\n\t}\n\n\tasync shipping_method(shippingWeightTierId: string | ShippingWeightTier, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\tconst _shippingWeightTierId = (shippingWeightTierId as ShippingWeightTier).id || shippingWeightTierId as string\n\t\treturn this.resources.fetch<ShippingMethod>({ type: 'shipping_methods' }, `shipping_weight_tiers/${_shippingWeightTierId}/shipping_method`, params, options) as unknown as ShippingMethod\n\t}\n\n\tasync attachments(shippingWeightTierId: string | ShippingWeightTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _shippingWeightTierId = (shippingWeightTierId as ShippingWeightTier).id || shippingWeightTierId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `shipping_weight_tiers/${_shippingWeightTierId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync versions(shippingWeightTierId: string | ShippingWeightTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _shippingWeightTierId = (shippingWeightTierId as ShippingWeightTier).id || shippingWeightTierId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `shipping_weight_tiers/${_shippingWeightTierId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(shippingWeightTierId: string | ShippingWeightTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _shippingWeightTierId = (shippingWeightTierId as ShippingWeightTier).id || shippingWeightTierId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `shipping_weight_tiers/${_shippingWeightTierId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisShippingWeightTier(resource: any): resource is ShippingWeightTier {\n\t\treturn resource.type && (resource.type === ShippingWeightTiers.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ShippingWeightTierRel {\n\t\treturn super.relationshipOneToOne<ShippingWeightTierRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ShippingWeightTierRel[] {\n\t\treturn super.relationshipOneToMany<ShippingWeightTierRel>(...ids)\n\t}\n\n\n\ttype(): ShippingWeightTierType {\n\t\treturn ShippingWeightTiers.TYPE\n\t}\n\n}\n\n\nconst instance = new ShippingWeightTiers()\nexport default instance\n\nexport type { ShippingWeightTier, ShippingWeightTierCreate, ShippingWeightTiers, ShippingWeightTierType, ShippingWeightTierUpdate }\n"]}
|
package/lib/chunk-RH363QI7.cjs
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkUBH2EC5P_cjs = require('./chunk-UBH2EC5P.cjs');
|
|
4
|
-
|
|
5
|
-
// src/resources/percentage_discount_promotions.ts
|
|
6
|
-
var PercentageDiscountPromotions = class _PercentageDiscountPromotions extends chunkUBH2EC5P_cjs.ApiResource {
|
|
7
|
-
static TYPE = "percentage_discount_promotions";
|
|
8
|
-
async create(resource, params, options) {
|
|
9
|
-
return this.resources.create({ ...resource, type: _PercentageDiscountPromotions.TYPE }, params, options);
|
|
10
|
-
}
|
|
11
|
-
async update(resource, params, options) {
|
|
12
|
-
return this.resources.update({ ...resource, type: _PercentageDiscountPromotions.TYPE }, params, options);
|
|
13
|
-
}
|
|
14
|
-
async delete(id, options) {
|
|
15
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _PercentageDiscountPromotions.TYPE } : id, options);
|
|
16
|
-
}
|
|
17
|
-
async market(percentageDiscountPromotionId, params, options) {
|
|
18
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
19
|
-
return this.resources.fetch({ type: "markets" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/market`, params, options);
|
|
20
|
-
}
|
|
21
|
-
async order_amount_promotion_rule(percentageDiscountPromotionId, params, options) {
|
|
22
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
23
|
-
return this.resources.fetch({ type: "order_amount_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/order_amount_promotion_rule`, params, options);
|
|
24
|
-
}
|
|
25
|
-
async sku_list_promotion_rule(percentageDiscountPromotionId, params, options) {
|
|
26
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
27
|
-
return this.resources.fetch({ type: "sku_list_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/sku_list_promotion_rule`, params, options);
|
|
28
|
-
}
|
|
29
|
-
async coupon_codes_promotion_rule(percentageDiscountPromotionId, params, options) {
|
|
30
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
31
|
-
return this.resources.fetch({ type: "coupon_codes_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/coupon_codes_promotion_rule`, params, options);
|
|
32
|
-
}
|
|
33
|
-
async custom_promotion_rule(percentageDiscountPromotionId, params, options) {
|
|
34
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
35
|
-
return this.resources.fetch({ type: "custom_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/custom_promotion_rule`, params, options);
|
|
36
|
-
}
|
|
37
|
-
async sku_list(percentageDiscountPromotionId, params, options) {
|
|
38
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
39
|
-
return this.resources.fetch({ type: "sku_lists" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/sku_list`, params, options);
|
|
40
|
-
}
|
|
41
|
-
async coupons(percentageDiscountPromotionId, params, options) {
|
|
42
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
43
|
-
return this.resources.fetch({ type: "coupons" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/coupons`, params, options);
|
|
44
|
-
}
|
|
45
|
-
async attachments(percentageDiscountPromotionId, params, options) {
|
|
46
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
47
|
-
return this.resources.fetch({ type: "attachments" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/attachments`, params, options);
|
|
48
|
-
}
|
|
49
|
-
async events(percentageDiscountPromotionId, params, options) {
|
|
50
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
51
|
-
return this.resources.fetch({ type: "events" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/events`, params, options);
|
|
52
|
-
}
|
|
53
|
-
async tags(percentageDiscountPromotionId, params, options) {
|
|
54
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
55
|
-
return this.resources.fetch({ type: "tags" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/tags`, params, options);
|
|
56
|
-
}
|
|
57
|
-
async versions(percentageDiscountPromotionId, params, options) {
|
|
58
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
59
|
-
return this.resources.fetch({ type: "versions" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/versions`, params, options);
|
|
60
|
-
}
|
|
61
|
-
async event_stores(percentageDiscountPromotionId, params, options) {
|
|
62
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
63
|
-
return this.resources.fetch({ type: "event_stores" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/event_stores`, params, options);
|
|
64
|
-
}
|
|
65
|
-
async skus(percentageDiscountPromotionId, params, options) {
|
|
66
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
67
|
-
return this.resources.fetch({ type: "skus" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/skus`, params, options);
|
|
68
|
-
}
|
|
69
|
-
async _disable(id, params, options) {
|
|
70
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PercentageDiscountPromotions.TYPE, _disable: true }, params, options);
|
|
71
|
-
}
|
|
72
|
-
async _enable(id, params, options) {
|
|
73
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PercentageDiscountPromotions.TYPE, _enable: true }, params, options);
|
|
74
|
-
}
|
|
75
|
-
async _add_tags(id, triggerValue, params, options) {
|
|
76
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PercentageDiscountPromotions.TYPE, _add_tags: triggerValue }, params, options);
|
|
77
|
-
}
|
|
78
|
-
async _remove_tags(id, triggerValue, params, options) {
|
|
79
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PercentageDiscountPromotions.TYPE, _remove_tags: triggerValue }, params, options);
|
|
80
|
-
}
|
|
81
|
-
isPercentageDiscountPromotion(resource) {
|
|
82
|
-
return resource.type && resource.type === _PercentageDiscountPromotions.TYPE;
|
|
83
|
-
}
|
|
84
|
-
relationship(id) {
|
|
85
|
-
return super.relationshipOneToOne(id);
|
|
86
|
-
}
|
|
87
|
-
relationshipToMany(...ids) {
|
|
88
|
-
return super.relationshipOneToMany(...ids);
|
|
89
|
-
}
|
|
90
|
-
type() {
|
|
91
|
-
return _PercentageDiscountPromotions.TYPE;
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
var instance = new PercentageDiscountPromotions();
|
|
95
|
-
var percentage_discount_promotions_default = instance;
|
|
96
|
-
|
|
97
|
-
exports.percentage_discount_promotions_default = percentage_discount_promotions_default;
|
|
98
|
-
//# sourceMappingURL=chunk-RH363QI7.cjs.map
|
|
99
|
-
//# sourceMappingURL=chunk-RH363QI7.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/percentage_discount_promot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AAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,6BAAA,CAA6B,IAAA;AAAA,EACzE;AAAA,EAGA,aAAa,EAAA,EAAgE;AAC5E,IAAA,OAAO,KAAA,CAAM,qBAAqD,EAAE,CAAA;AAAA,EACrE;AAAA,EAEA,sBAAsB,GAAA,EAAiD;AACtE,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAsD,GAAG,GAAG,CAAA;AAAA,EAC1E;AAAA,EAGA,IAAA,GAAwC;AACvC,IAAA,OAAO,6BAAA,CAA6B,IAAA;AAAA,EACrC;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,4BAAA,EAA6B;AAClD,IAAO,sCAAA,GAAQ","file":"chunk-RH363QI7.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { Coupon } from './coupons'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { PromotionRule } from './promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Sku } from './skus'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\n\n\ntype PercentageDiscountPromotionType = 'percentage_discount_promotions'\ntype PercentageDiscountPromotionRel = ResourceRel & { type: PercentageDiscountPromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type PercentageDiscountPromotionSort = Pick<PercentageDiscountPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort\n// export type PercentageDiscountPromotionFilter = Pick<PercentageDiscountPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceFilter\n\n\ninterface PercentageDiscountPromotion extends Resource {\n\t\n\treadonly type: PercentageDiscountPromotionType\n\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * The number of times this promotion has been applied.\n\t * @example ```2```\n\t */\n\ttotal_usage_count?: number | null\n\t/** \n\t * Indicates if the promotion has been applied the total number of allowed times.\n\t */\n\ttotal_usage_reached?: boolean | null\n\t/** \n\t * Indicates if the promotion is active (enabled and not expired).\n\t * @example ```true```\n\t */\n\tactive?: boolean | null\n\t/** \n\t * The promotion status. One of 'disabled', 'expired', 'pending', 'active', or 'inactive'.\n\t * @example ```\"pending\"```\n\t */\n\tstatus?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null\n\t/** \n\t * The weight of the promotion, computed by exclusivity, priority, type and start time. Determines the order of application, higher weight apply first.\n\t * @example ```112```\n\t */\n\tweight?: number | null\n\t/** \n\t * The total number of coupons created for this promotion.\n\t * @example ```2```\n\t */\n\tcoupons_count?: number | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The discount percentage to be applied.\n\t * @example ```10```\n\t */\n\tpercentage: number\n\n\tmarket?: Market | null\n\tpromotion_rules?: PromotionRule[] | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRule | null\n\tsku_list_promotion_rule?: SkuListPromotionRule | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n\tcustom_promotion_rule?: CustomPromotionRule | null\n\tsku_list?: SkuList | null\n\tcoupons?: Coupon[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\tskus?: Sku[] | null\n\n}\n\n\ninterface PercentageDiscountPromotionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The discount percentage to be applied.\n\t * @example ```10```\n\t */\n\tpercentage: number\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface PercentageDiscountPromotionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at?: string | null\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\t/** \n\t * The discount percentage to be applied.\n\t * @example ```10```\n\t */\n\tpercentage?: number | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass PercentageDiscountPromotions extends ApiResource<PercentageDiscountPromotion> {\n\n\tstatic readonly TYPE: PercentageDiscountPromotionType = 'percentage_discount_promotions' as const\n\n\tasync create(resource: PercentageDiscountPromotionCreate, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion> {\n\t\treturn this.resources.create<PercentageDiscountPromotionCreate, PercentageDiscountPromotion>({ ...resource, type: PercentageDiscountPromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PercentageDiscountPromotionUpdate, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion> {\n\t\treturn this.resources.update<PercentageDiscountPromotionUpdate, PercentageDiscountPromotion>({ ...resource, type: PercentageDiscountPromotions.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: PercentageDiscountPromotions.TYPE } : id, options)\n\t}\n\n\tasync market(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync skus(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync _disable(id: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion> {\n\t\treturn this.resources.update<PercentageDiscountPromotionUpdate, PercentageDiscountPromotion>({ id: (typeof id === 'string')? id: id.id, type: PercentageDiscountPromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion> {\n\t\treturn this.resources.update<PercentageDiscountPromotionUpdate, PercentageDiscountPromotion>({ id: (typeof id === 'string')? id: id.id, type: PercentageDiscountPromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | PercentageDiscountPromotion, triggerValue: string, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion> {\n\t\treturn this.resources.update<PercentageDiscountPromotionUpdate, PercentageDiscountPromotion>({ id: (typeof id === 'string')? id: id.id, type: PercentageDiscountPromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | PercentageDiscountPromotion, triggerValue: string, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion> {\n\t\treturn this.resources.update<PercentageDiscountPromotionUpdate, PercentageDiscountPromotion>({ id: (typeof id === 'string')? id: id.id, type: PercentageDiscountPromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisPercentageDiscountPromotion(resource: any): resource is PercentageDiscountPromotion {\n\t\treturn resource.type && (resource.type === PercentageDiscountPromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PercentageDiscountPromotionRel {\n\t\treturn super.relationshipOneToOne<PercentageDiscountPromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PercentageDiscountPromotionRel[] {\n\t\treturn super.relationshipOneToMany<PercentageDiscountPromotionRel>(...ids)\n\t}\n\n\n\ttype(): PercentageDiscountPromotionType {\n\t\treturn PercentageDiscountPromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new PercentageDiscountPromotions()\nexport default instance\n\nexport type { PercentageDiscountPromotion, PercentageDiscountPromotionCreate, PercentageDiscountPromotions, PercentageDiscountPromotionType, PercentageDiscountPromotionUpdate }\n"]}
|
package/lib/chunk-RLZGD4WS.cjs
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkUBH2EC5P_cjs = require('./chunk-UBH2EC5P.cjs');
|
|
4
|
-
|
|
5
|
-
// src/resources/braintree_gateways.ts
|
|
6
|
-
var BraintreeGateways = class _BraintreeGateways extends chunkUBH2EC5P_cjs.ApiResource {
|
|
7
|
-
static TYPE = "braintree_gateways";
|
|
8
|
-
async create(resource, params, options) {
|
|
9
|
-
return this.resources.create({ ...resource, type: _BraintreeGateways.TYPE }, params, options);
|
|
10
|
-
}
|
|
11
|
-
async update(resource, params, options) {
|
|
12
|
-
return this.resources.update({ ...resource, type: _BraintreeGateways.TYPE }, params, options);
|
|
13
|
-
}
|
|
14
|
-
async delete(id, options) {
|
|
15
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _BraintreeGateways.TYPE } : id, options);
|
|
16
|
-
}
|
|
17
|
-
async payment_methods(braintreeGatewayId, params, options) {
|
|
18
|
-
const _braintreeGatewayId = braintreeGatewayId.id || braintreeGatewayId;
|
|
19
|
-
return this.resources.fetch({ type: "payment_methods" }, `braintree_gateways/${_braintreeGatewayId}/payment_methods`, params, options);
|
|
20
|
-
}
|
|
21
|
-
async versions(braintreeGatewayId, params, options) {
|
|
22
|
-
const _braintreeGatewayId = braintreeGatewayId.id || braintreeGatewayId;
|
|
23
|
-
return this.resources.fetch({ type: "versions" }, `braintree_gateways/${_braintreeGatewayId}/versions`, params, options);
|
|
24
|
-
}
|
|
25
|
-
async event_stores(braintreeGatewayId, params, options) {
|
|
26
|
-
const _braintreeGatewayId = braintreeGatewayId.id || braintreeGatewayId;
|
|
27
|
-
return this.resources.fetch({ type: "event_stores" }, `braintree_gateways/${_braintreeGatewayId}/event_stores`, params, options);
|
|
28
|
-
}
|
|
29
|
-
async braintree_payments(braintreeGatewayId, params, options) {
|
|
30
|
-
const _braintreeGatewayId = braintreeGatewayId.id || braintreeGatewayId;
|
|
31
|
-
return this.resources.fetch({ type: "braintree_payments" }, `braintree_gateways/${_braintreeGatewayId}/braintree_payments`, params, options);
|
|
32
|
-
}
|
|
33
|
-
async _disable(id, params, options) {
|
|
34
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _BraintreeGateways.TYPE, _disable: true }, params, options);
|
|
35
|
-
}
|
|
36
|
-
async _enable(id, params, options) {
|
|
37
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _BraintreeGateways.TYPE, _enable: true }, params, options);
|
|
38
|
-
}
|
|
39
|
-
isBraintreeGateway(resource) {
|
|
40
|
-
return resource.type && resource.type === _BraintreeGateways.TYPE;
|
|
41
|
-
}
|
|
42
|
-
relationship(id) {
|
|
43
|
-
return super.relationshipOneToOne(id);
|
|
44
|
-
}
|
|
45
|
-
relationshipToMany(...ids) {
|
|
46
|
-
return super.relationshipOneToMany(...ids);
|
|
47
|
-
}
|
|
48
|
-
type() {
|
|
49
|
-
return _BraintreeGateways.TYPE;
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
var instance = new BraintreeGateways();
|
|
53
|
-
var braintree_gateways_default = instance;
|
|
54
|
-
|
|
55
|
-
exports.braintree_gateways_default = braintree_gateways_default;
|
|
56
|
-
//# sourceMappingURL=chunk-RLZGD4WS.cjs.map
|
|
57
|
-
//# sourceMappingURL=chunk-RLZGD4WS.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/braintree_gateways.ts"],"names":["ApiResource"],"mappings":";;;;;AAgMA,IAAM,iBAAA,GAAN,MAAM,kBAAA,SAA0BA,6BAAA,CAA8B;AAAA,EAE7D,OAAgB,IAAA,GAA6B,oBAAA;AAAA,EAE7C,MAAM,MAAA,CAAO,QAAA,EAAkC,MAAA,EAAgD,OAAA,EAAsD;AACpJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAiD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,kBAAA,CAAkB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACtI;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAkC,MAAA,EAAgD,OAAA,EAAsD;AACpJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAiD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,kBAAA,CAAkB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACtI;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,kBAAA,CAAkB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACzG;AAAA,EAEA,MAAM,eAAA,CAAgB,kBAAA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AC9J;AAAA,EAEA,MAAM,QAAA,CAAS,EAAA,EAA+B,MAAA,EAAgD,OAAA,EAAsD;AACnJ,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAAiD,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,kBAAA,CAAkB,IAAA,EAAM,UAAU,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EAClL;AAAA,EAEA,MAAM,OAAA,CAAQ,EAAA,EAA+B,MAAA,EAAgD,OAAA,EAAsD;AAClJ,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAAiD,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,kBAAA,CAAkB,IAAA,EAAM,SAAS,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACjL;AAAA,EAGA,mBAAmB,QAAA,EAA6C;AAC/D,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,kBAAA,CAAkB,IAAA;AAAA,EAC9D;AAAA,EAGA,aAAa,EAAA,EAAqD;AACjE,IAAA,OAAO,KAAA,CAAM,qBAA0C,EAAE,CAAA;AAAA,EAC1D;AAAA,EAEA,sBAAsB,GAAA,EAAsC;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA2C,GAAG,GAAG,CAAA;AAAA,EAC/D;AAAA,EAGA,IAAA,GAA6B;AAC5B,IAAA,OAAO,kBAAA,CAAkB,IAAA;AAAA,EAC1B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,iBAAA,EAAkB;AACvC,IAAO,0BAAA,GAAQ","file":"chunk-RLZGD4WS.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 { BraintreePayment, BraintreePaymentType } from './braintree_payments'\nimport type { EventStore } from './event_stores'\nimport type { PaymentMethod } from './payment_methods'\nimport type { Version } from './versions'\n\n\ntype BraintreeGatewayType = 'braintree_gateways'\ntype BraintreeGatewayRel = ResourceRel & { type: BraintreeGatewayType }\ntype BraintreePaymentRel = ResourceRel & { type: BraintreePaymentType }\n\n\nexport type BraintreeGatewaySort = Pick<BraintreeGateway, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type BraintreeGatewayFilter = Pick<BraintreeGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n\ninterface BraintreeGateway extends Resource {\n\t\n\treadonly type: BraintreeGatewayType\n\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\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 dynamic descriptor name. Must be composed by business name (3, 7 or 12 chars), an asterisk (*) and the product name (18, 14 or 9 chars), for a total length of 22 chars.\n\t * @example ```\"company*productabc1234\"```\n\t */\n\tdescriptor_name?: string | null\n\t/** \n\t * The dynamic descriptor phone number. Must be 10-14 characters and can only contain numbers, dashes, parentheses and periods.\n\t * @example ```\"3125551212\"```\n\t */\n\tdescriptor_phone?: string | null\n\t/** \n\t * The dynamic descriptor URL.\n\t * @example ```\"company.com\"```\n\t */\n\tdescriptor_url?: string | null\n\t/** \n\t * The gateway webhook URL, generated automatically.\n\t * @example ```\"https://core.commercelayer.co/webhook_callbacks/braintree_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\tbraintree_payments?: BraintreePayment[] | null\n\n}\n\n\ninterface BraintreeGatewayCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\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 merchant account ID.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_account_id: string\n\t/** \n\t * The gateway merchant ID.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_id: string\n\t/** \n\t * The gateway API public key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tpublic_key: string\n\t/** \n\t * The gateway API private key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tprivate_key: string\n\t/** \n\t * The dynamic descriptor name. Must be composed by business name (3, 7 or 12 chars), an asterisk (*) and the product name (18, 14 or 9 chars), for a total length of 22 chars.\n\t * @example ```\"company*productabc1234\"```\n\t */\n\tdescriptor_name?: string | null\n\t/** \n\t * The dynamic descriptor phone number. Must be 10-14 characters and can only contain numbers, dashes, parentheses and periods.\n\t * @example ```\"3125551212\"```\n\t */\n\tdescriptor_phone?: string | null\n\t/** \n\t * The dynamic descriptor URL.\n\t * @example ```\"company.com\"```\n\t */\n\tdescriptor_url?: string | null\n\n\tbraintree_payments?: BraintreePaymentRel[] | null\n\n}\n\n\ninterface BraintreeGatewayUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\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 merchant account ID.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_account_id?: string | null\n\t/** \n\t * The gateway merchant ID.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_id?: string | null\n\t/** \n\t * The gateway API public key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tpublic_key?: string | null\n\t/** \n\t * The gateway API private key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tprivate_key?: string | null\n\t/** \n\t * The dynamic descriptor name. Must be composed by business name (3, 7 or 12 chars), an asterisk (*) and the product name (18, 14 or 9 chars), for a total length of 22 chars.\n\t * @example ```\"company*productabc1234\"```\n\t */\n\tdescriptor_name?: string | null\n\t/** \n\t * The dynamic descriptor phone number. Must be 10-14 characters and can only contain numbers, dashes, parentheses and periods.\n\t * @example ```\"3125551212\"```\n\t */\n\tdescriptor_phone?: string | null\n\t/** \n\t * The dynamic descriptor URL.\n\t * @example ```\"company.com\"```\n\t */\n\tdescriptor_url?: string | null\n\n\tbraintree_payments?: BraintreePaymentRel[] | null\n\n}\n\n\nclass BraintreeGateways extends ApiResource<BraintreeGateway> {\n\n\tstatic readonly TYPE: BraintreeGatewayType = 'braintree_gateways' as const\n\n\tasync create(resource: BraintreeGatewayCreate, params?: QueryParamsRetrieve<BraintreeGateway>, options?: ResourcesConfig): Promise<BraintreeGateway> {\n\t\treturn this.resources.create<BraintreeGatewayCreate, BraintreeGateway>({ ...resource, type: BraintreeGateways.TYPE }, params, options)\n\t}\n\n\tasync update(resource: BraintreeGatewayUpdate, params?: QueryParamsRetrieve<BraintreeGateway>, options?: ResourcesConfig): Promise<BraintreeGateway> {\n\t\treturn this.resources.update<BraintreeGatewayUpdate, BraintreeGateway>({ ...resource, type: BraintreeGateways.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: BraintreeGateways.TYPE } : id, options)\n\t}\n\n\tasync payment_methods(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _braintreeGatewayId = (braintreeGatewayId as BraintreeGateway).id || braintreeGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `braintree_gateways/${_braintreeGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync versions(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _braintreeGatewayId = (braintreeGatewayId as BraintreeGateway).id || braintreeGatewayId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `braintree_gateways/${_braintreeGatewayId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _braintreeGatewayId = (braintreeGatewayId as BraintreeGateway).id || braintreeGatewayId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `braintree_gateways/${_braintreeGatewayId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync braintree_payments(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<BraintreePayment>, options?: ResourcesConfig): Promise<ListResponse<BraintreePayment>> {\n\t\tconst _braintreeGatewayId = (braintreeGatewayId as BraintreeGateway).id || braintreeGatewayId as string\n\t\treturn this.resources.fetch<BraintreePayment>({ type: 'braintree_payments' }, `braintree_gateways/${_braintreeGatewayId}/braintree_payments`, params, options) as unknown as ListResponse<BraintreePayment>\n\t}\n\n\tasync _disable(id: string | BraintreeGateway, params?: QueryParamsRetrieve<BraintreeGateway>, options?: ResourcesConfig): Promise<BraintreeGateway> {\n\t\treturn this.resources.update<BraintreeGatewayUpdate, BraintreeGateway>({ id: (typeof id === 'string')? id: id.id, type: BraintreeGateways.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | BraintreeGateway, params?: QueryParamsRetrieve<BraintreeGateway>, options?: ResourcesConfig): Promise<BraintreeGateway> {\n\t\treturn this.resources.update<BraintreeGatewayUpdate, BraintreeGateway>({ id: (typeof id === 'string')? id: id.id, type: BraintreeGateways.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisBraintreeGateway(resource: any): resource is BraintreeGateway {\n\t\treturn resource.type && (resource.type === BraintreeGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): BraintreeGatewayRel {\n\t\treturn super.relationshipOneToOne<BraintreeGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): BraintreeGatewayRel[] {\n\t\treturn super.relationshipOneToMany<BraintreeGatewayRel>(...ids)\n\t}\n\n\n\ttype(): BraintreeGatewayType {\n\t\treturn BraintreeGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new BraintreeGateways()\nexport default instance\n\nexport type { BraintreeGateway, BraintreeGatewayCreate, BraintreeGateways, BraintreeGatewayType, BraintreeGatewayUpdate }\n"]}
|
package/lib/chunk-RNCWBCHU.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-L2R5G3V5.js';
|
|
2
|
-
|
|
3
|
-
// src/resources/paypal_gateways.ts
|
|
4
|
-
var PaypalGateways = class _PaypalGateways extends ApiResource {
|
|
5
|
-
static TYPE = "paypal_gateways";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create({ ...resource, type: _PaypalGateways.TYPE }, params, options);
|
|
8
|
-
}
|
|
9
|
-
async update(resource, params, options) {
|
|
10
|
-
return this.resources.update({ ...resource, type: _PaypalGateways.TYPE }, params, options);
|
|
11
|
-
}
|
|
12
|
-
async delete(id, options) {
|
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _PaypalGateways.TYPE } : id, options);
|
|
14
|
-
}
|
|
15
|
-
async payment_methods(paypalGatewayId, params, options) {
|
|
16
|
-
const _paypalGatewayId = paypalGatewayId.id || paypalGatewayId;
|
|
17
|
-
return this.resources.fetch({ type: "payment_methods" }, `paypal_gateways/${_paypalGatewayId}/payment_methods`, params, options);
|
|
18
|
-
}
|
|
19
|
-
async versions(paypalGatewayId, params, options) {
|
|
20
|
-
const _paypalGatewayId = paypalGatewayId.id || paypalGatewayId;
|
|
21
|
-
return this.resources.fetch({ type: "versions" }, `paypal_gateways/${_paypalGatewayId}/versions`, params, options);
|
|
22
|
-
}
|
|
23
|
-
async event_stores(paypalGatewayId, params, options) {
|
|
24
|
-
const _paypalGatewayId = paypalGatewayId.id || paypalGatewayId;
|
|
25
|
-
return this.resources.fetch({ type: "event_stores" }, `paypal_gateways/${_paypalGatewayId}/event_stores`, params, options);
|
|
26
|
-
}
|
|
27
|
-
async paypal_payments(paypalGatewayId, params, options) {
|
|
28
|
-
const _paypalGatewayId = paypalGatewayId.id || paypalGatewayId;
|
|
29
|
-
return this.resources.fetch({ type: "paypal_payments" }, `paypal_gateways/${_paypalGatewayId}/paypal_payments`, params, options);
|
|
30
|
-
}
|
|
31
|
-
async _disable(id, params, options) {
|
|
32
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PaypalGateways.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: _PaypalGateways.TYPE, _enable: true }, params, options);
|
|
36
|
-
}
|
|
37
|
-
isPaypalGateway(resource) {
|
|
38
|
-
return resource.type && resource.type === _PaypalGateways.TYPE;
|
|
39
|
-
}
|
|
40
|
-
relationship(id) {
|
|
41
|
-
return super.relationshipOneToOne(id);
|
|
42
|
-
}
|
|
43
|
-
relationshipToMany(...ids) {
|
|
44
|
-
return super.relationshipOneToMany(...ids);
|
|
45
|
-
}
|
|
46
|
-
type() {
|
|
47
|
-
return _PaypalGateways.TYPE;
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
var instance = new PaypalGateways();
|
|
51
|
-
var paypal_gateways_default = instance;
|
|
52
|
-
|
|
53
|
-
export { paypal_gateways_default };
|
|
54
|
-
//# sourceMappingURL=chunk-RNCWBCHU.js.map
|
|
55
|
-
//# sourceMappingURL=chunk-RNCWBCHU.js.map
|