@commercelayer/sdk 8.0.1 → 8.0.3
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-oWE8X33X.d.cts +23482 -0
- package/lib/api-oWE8X33X.d.ts +23482 -0
- package/lib/api.cjs +307 -307
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +155 -155
- package/lib/binding.cjs +3 -3
- package/lib/binding.d.cts +2 -2
- package/lib/binding.d.ts +2 -2
- package/lib/binding.js +2 -2
- package/lib/bundle-compat.cjs +158 -158
- package/lib/bundle-compat.d.cts +1 -1
- package/lib/bundle-compat.d.ts +1 -1
- package/lib/bundle-compat.js +157 -157
- package/lib/bundle.cjs +159 -159
- package/lib/bundle.d.cts +1 -1
- package/lib/bundle.d.ts +1 -1
- package/lib/bundle.js +157 -157
- package/lib/chunk-22WTZEKY.js +36 -0
- package/lib/chunk-22WTZEKY.js.map +1 -0
- package/lib/chunk-24BRSXPS.js +77 -0
- package/lib/chunk-24BRSXPS.js.map +1 -0
- package/lib/chunk-25NYS3PJ.js +89 -0
- package/lib/chunk-25NYS3PJ.js.map +1 -0
- package/lib/chunk-26Y2B66M.cjs +261 -0
- package/lib/chunk-26Y2B66M.cjs.map +1 -0
- package/lib/chunk-2BHOT4PE.js +77 -0
- package/lib/chunk-2BHOT4PE.js.map +1 -0
- package/lib/chunk-2CKCINRG.js +92 -0
- package/lib/chunk-2CKCINRG.js.map +1 -0
- package/lib/chunk-2E6ZWEXB.cjs +105 -0
- package/lib/chunk-2E6ZWEXB.cjs.map +1 -0
- package/lib/chunk-2KMYXXEM.cjs +44 -0
- package/lib/chunk-2KMYXXEM.cjs.map +1 -0
- package/lib/chunk-2NFTZQSU.js +42 -0
- package/lib/chunk-2NFTZQSU.js.map +1 -0
- package/lib/chunk-2WQORYBI.cjs +843 -0
- package/lib/chunk-2WQORYBI.cjs.map +1 -0
- package/lib/chunk-2ZQ4ZLAF.cjs +122 -0
- package/lib/chunk-2ZQ4ZLAF.cjs.map +1 -0
- package/lib/chunk-36TWQ3MP.js +51 -0
- package/lib/chunk-36TWQ3MP.js.map +1 -0
- package/lib/chunk-37OLTOSK.cjs +79 -0
- package/lib/chunk-37OLTOSK.cjs.map +1 -0
- package/lib/chunk-3DPPEWZY.js +94 -0
- package/lib/chunk-3DPPEWZY.js.map +1 -0
- package/lib/chunk-3FMTM4RI.cjs +120 -0
- package/lib/chunk-3FMTM4RI.cjs.map +1 -0
- package/lib/chunk-3FQNYTDD.js +79 -0
- package/lib/chunk-3FQNYTDD.js.map +1 -0
- package/lib/chunk-3HM544FT.cjs +134 -0
- package/lib/chunk-3HM544FT.cjs.map +1 -0
- package/lib/chunk-3HMMZD2J.cjs +70 -0
- package/lib/chunk-3HMMZD2J.cjs.map +1 -0
- package/lib/chunk-3IIZST2R.cjs +19 -0
- package/lib/chunk-3IIZST2R.cjs.map +1 -0
- package/lib/chunk-3JYKY2IT.cjs +98 -0
- package/lib/chunk-3JYKY2IT.cjs.map +1 -0
- package/lib/chunk-3OYVKANP.js +96 -0
- package/lib/chunk-3OYVKANP.js.map +1 -0
- package/lib/chunk-3QVXUVE4.js +50 -0
- package/lib/chunk-3QVXUVE4.js.map +1 -0
- package/lib/chunk-3UNL4UIL.cjs +179 -0
- package/lib/chunk-3UNL4UIL.cjs.map +1 -0
- package/lib/chunk-3YUCLSNM.cjs +91 -0
- package/lib/chunk-3YUCLSNM.cjs.map +1 -0
- package/lib/chunk-42U7VMA4.cjs +106 -0
- package/lib/chunk-42U7VMA4.cjs.map +1 -0
- package/lib/chunk-44RSNAGD.cjs +122 -0
- package/lib/chunk-44RSNAGD.cjs.map +1 -0
- package/lib/chunk-45NH73QN.cjs +66 -0
- package/lib/chunk-45NH73QN.cjs.map +1 -0
- package/lib/chunk-45YMQCVM.js +68 -0
- package/lib/chunk-45YMQCVM.js.map +1 -0
- package/lib/chunk-4HBSO74M.js +59 -0
- package/lib/chunk-4HBSO74M.js.map +1 -0
- package/lib/chunk-4IEFFFIL.cjs +79 -0
- package/lib/chunk-4IEFFFIL.cjs.map +1 -0
- package/lib/chunk-4KXCXRS2.js +132 -0
- package/lib/chunk-4KXCXRS2.js.map +1 -0
- package/lib/chunk-4P4JRYIZ.cjs +126 -0
- package/lib/chunk-4P4JRYIZ.cjs.map +1 -0
- package/lib/chunk-56HSJRSD.js +86 -0
- package/lib/chunk-56HSJRSD.js.map +1 -0
- package/lib/chunk-57QTWJRF.js +191 -0
- package/lib/chunk-57QTWJRF.js.map +1 -0
- package/lib/chunk-5BHB5FW6.cjs +81 -0
- package/lib/chunk-5BHB5FW6.cjs.map +1 -0
- package/lib/chunk-5BNC5NQJ.cjs +52 -0
- package/lib/chunk-5BNC5NQJ.cjs.map +1 -0
- package/lib/chunk-5BQMCV4T.js +50 -0
- package/lib/chunk-5BQMCV4T.js.map +1 -0
- package/lib/chunk-5EPLBDUN.cjs +91 -0
- package/lib/chunk-5EPLBDUN.cjs.map +1 -0
- package/lib/chunk-5JUBE6TF.cjs +200 -0
- package/lib/chunk-5JUBE6TF.cjs.map +1 -0
- package/lib/chunk-5U34MNKZ.js +226 -0
- package/lib/chunk-5U34MNKZ.js.map +1 -0
- package/lib/chunk-5U36XDUW.cjs +44 -0
- package/lib/chunk-5U36XDUW.cjs.map +1 -0
- package/lib/chunk-5UQ6DAC2.js +118 -0
- package/lib/chunk-5UQ6DAC2.js.map +1 -0
- package/lib/chunk-5YV67PRF.js +68 -0
- package/lib/chunk-5YV67PRF.js.map +1 -0
- package/lib/chunk-65TD34O5.cjs +117 -0
- package/lib/chunk-65TD34O5.cjs.map +1 -0
- package/lib/chunk-66MS6UXW.js +69 -0
- package/lib/chunk-66MS6UXW.js.map +1 -0
- package/lib/chunk-67WXB4SV.js +80 -0
- package/lib/chunk-67WXB4SV.js.map +1 -0
- package/lib/chunk-6GTZODQZ.js +69 -0
- package/lib/chunk-6GTZODQZ.js.map +1 -0
- package/lib/chunk-6HBNIK3D.cjs +90 -0
- package/lib/chunk-6HBNIK3D.cjs.map +1 -0
- package/lib/chunk-6LR2MPQR.cjs +179 -0
- package/lib/chunk-6LR2MPQR.cjs.map +1 -0
- package/lib/chunk-6NE3DKE7.cjs +63 -0
- package/lib/chunk-6NE3DKE7.cjs.map +1 -0
- package/lib/chunk-6PCLGJDC.cjs +193 -0
- package/lib/chunk-6PCLGJDC.cjs.map +1 -0
- package/lib/chunk-6SI7KAK3.cjs +120 -0
- package/lib/chunk-6SI7KAK3.cjs.map +1 -0
- package/lib/chunk-6XME7EQ4.cjs +79 -0
- package/lib/chunk-6XME7EQ4.cjs.map +1 -0
- package/lib/chunk-734XZ2KS.js +87 -0
- package/lib/chunk-734XZ2KS.js.map +1 -0
- package/lib/chunk-742UF23S.cjs +86 -0
- package/lib/chunk-742UF23S.cjs.map +1 -0
- package/lib/chunk-74AVMYXI.cjs +61 -0
- package/lib/chunk-74AVMYXI.cjs.map +1 -0
- package/lib/chunk-7EG2QN5N.js +60 -0
- package/lib/chunk-7EG2QN5N.js.map +1 -0
- package/lib/chunk-7GRZNDQL.cjs +77 -0
- package/lib/chunk-7GRZNDQL.cjs.map +1 -0
- package/lib/chunk-7JZOWQ6K.cjs +62 -0
- package/lib/chunk-7JZOWQ6K.cjs.map +1 -0
- package/lib/chunk-7LHMQPFO.cjs +193 -0
- package/lib/chunk-7LHMQPFO.cjs.map +1 -0
- package/lib/chunk-7MKIV7NA.js +77 -0
- package/lib/chunk-7MKIV7NA.js.map +1 -0
- package/lib/chunk-7QDU56S3.cjs +323 -0
- package/lib/chunk-7QDU56S3.cjs.map +1 -0
- package/lib/chunk-7QT42UJQ.cjs +228 -0
- package/lib/chunk-7QT42UJQ.cjs.map +1 -0
- package/lib/chunk-7XJMKVVA.cjs +193 -0
- package/lib/chunk-7XJMKVVA.cjs.map +1 -0
- package/lib/chunk-AE3Q7LHC.cjs +62 -0
- package/lib/chunk-AE3Q7LHC.cjs.map +1 -0
- package/lib/chunk-AKEMAQJ6.js +96 -0
- package/lib/chunk-AKEMAQJ6.js.map +1 -0
- package/lib/chunk-AMFEBGRE.cjs +93 -0
- package/lib/chunk-AMFEBGRE.cjs.map +1 -0
- package/lib/chunk-AO42HFJW.cjs +70 -0
- package/lib/chunk-AO42HFJW.cjs.map +1 -0
- package/lib/chunk-AS6RCNEN.cjs +60 -0
- package/lib/chunk-AS6RCNEN.cjs.map +1 -0
- package/lib/chunk-AZ3NP2GE.js +24 -0
- package/lib/chunk-AZ3NP2GE.js.map +1 -0
- package/lib/chunk-B5KLSIZ7.js +799 -0
- package/lib/chunk-B5KLSIZ7.js.map +1 -0
- package/lib/chunk-B6DTTD34.cjs +88 -0
- package/lib/chunk-B6DTTD34.cjs.map +1 -0
- package/lib/chunk-B7EE6XWM.js +82 -0
- package/lib/chunk-B7EE6XWM.js.map +1 -0
- package/lib/chunk-BGJ3OMEB.js +77 -0
- package/lib/chunk-BGJ3OMEB.js.map +1 -0
- package/lib/chunk-BGPJOVUL.js +68 -0
- package/lib/chunk-BGPJOVUL.js.map +1 -0
- package/lib/chunk-BOY72KYY.cjs +53 -0
- package/lib/chunk-BOY72KYY.cjs.map +1 -0
- package/lib/chunk-BXLXNIK7.cjs +120 -0
- package/lib/chunk-BXLXNIK7.cjs.map +1 -0
- package/lib/chunk-BYJGXXSB.js +68 -0
- package/lib/chunk-BYJGXXSB.js.map +1 -0
- package/lib/chunk-C3KZVNVL.cjs +711 -0
- package/lib/chunk-C3KZVNVL.cjs.map +1 -0
- package/lib/chunk-C5RND4FF.js +60 -0
- package/lib/chunk-C5RND4FF.js.map +1 -0
- package/lib/chunk-C5UUHYYN.cjs +77 -0
- package/lib/chunk-C5UUHYYN.cjs.map +1 -0
- package/lib/chunk-CIPF3ZBB.js +73 -0
- package/lib/chunk-CIPF3ZBB.js.map +1 -0
- package/lib/chunk-CMUOOFHL.cjs +94 -0
- package/lib/chunk-CMUOOFHL.cjs.map +1 -0
- package/lib/chunk-CO4UV2ZJ.cjs +79 -0
- package/lib/chunk-CO4UV2ZJ.cjs.map +1 -0
- package/lib/chunk-CQBIBKUO.cjs +70 -0
- package/lib/chunk-CQBIBKUO.cjs.map +1 -0
- package/lib/chunk-CQIUA5UK.cjs +70 -0
- package/lib/chunk-CQIUA5UK.cjs.map +1 -0
- package/lib/chunk-CRHXGO5R.js +79 -0
- package/lib/chunk-CRHXGO5R.js.map +1 -0
- package/lib/chunk-D5B6UZOV.js +78 -0
- package/lib/chunk-D5B6UZOV.js.map +1 -0
- package/lib/chunk-D63KNYYX.js +60 -0
- package/lib/chunk-D63KNYYX.js.map +1 -0
- package/lib/chunk-D7CYZWAS.js +75 -0
- package/lib/chunk-D7CYZWAS.js.map +1 -0
- package/lib/chunk-DA6WN75S.js +86 -0
- package/lib/chunk-DA6WN75S.js.map +1 -0
- package/lib/chunk-DH4KLILM.cjs +84 -0
- package/lib/chunk-DH4KLILM.cjs.map +1 -0
- package/lib/chunk-DLOIEKEU.js +125 -0
- package/lib/chunk-DLOIEKEU.js.map +1 -0
- package/lib/chunk-DMTEG4NK.cjs +191 -0
- package/lib/chunk-DMTEG4NK.cjs.map +1 -0
- package/lib/chunk-DN3T4YMM.cjs +84 -0
- package/lib/chunk-DN3T4YMM.cjs.map +1 -0
- package/lib/chunk-DQ5MRGAQ.cjs +82 -0
- package/lib/chunk-DQ5MRGAQ.cjs.map +1 -0
- package/lib/chunk-DSGHTJNP.cjs +134 -0
- package/lib/chunk-DSGHTJNP.cjs.map +1 -0
- package/lib/chunk-DUXG4S5U.js +103 -0
- package/lib/chunk-DUXG4S5U.js.map +1 -0
- package/lib/chunk-DXPFEFLQ.js +111 -0
- package/lib/chunk-DXPFEFLQ.js.map +1 -0
- package/lib/chunk-E4GXAHJ4.js +100 -0
- package/lib/chunk-E4GXAHJ4.js.map +1 -0
- package/lib/chunk-EBRAV7UF.js +177 -0
- package/lib/chunk-EBRAV7UF.js.map +1 -0
- package/lib/chunk-EC2O3QY7.js +86 -0
- package/lib/chunk-EC2O3QY7.js.map +1 -0
- package/lib/chunk-EDEWZHXF.js +118 -0
- package/lib/chunk-EDEWZHXF.js.map +1 -0
- package/lib/chunk-EDZ3QFNA.js +132 -0
- package/lib/chunk-EDZ3QFNA.js.map +1 -0
- package/lib/chunk-EENDZN6M.cjs +81 -0
- package/lib/chunk-EENDZN6M.cjs.map +1 -0
- package/lib/chunk-EFYMVJJ3.cjs +84 -0
- package/lib/chunk-EFYMVJJ3.cjs.map +1 -0
- package/lib/chunk-EHIU625T.js +68 -0
- package/lib/chunk-EHIU625T.js.map +1 -0
- package/lib/chunk-EIWEVKSY.cjs +127 -0
- package/lib/chunk-EIWEVKSY.cjs.map +1 -0
- package/lib/chunk-EJVTH5M2.js +124 -0
- package/lib/chunk-EJVTH5M2.js.map +1 -0
- package/lib/chunk-EMKPX4RW.cjs +134 -0
- package/lib/chunk-EMKPX4RW.cjs.map +1 -0
- package/lib/chunk-EOBX5SFW.js +60 -0
- package/lib/chunk-EOBX5SFW.js.map +1 -0
- package/lib/chunk-EUR7JBLB.cjs +77 -0
- package/lib/chunk-EUR7JBLB.cjs.map +1 -0
- package/lib/chunk-EVK4AISA.js +42 -0
- package/lib/chunk-EVK4AISA.js.map +1 -0
- package/lib/chunk-EXCTCSHJ.cjs +131 -0
- package/lib/chunk-EXCTCSHJ.cjs.map +1 -0
- package/lib/chunk-F4IK677G.cjs +70 -0
- package/lib/chunk-F4IK677G.cjs.map +1 -0
- package/lib/chunk-F74A5VIA.cjs +105 -0
- package/lib/chunk-F74A5VIA.cjs.map +1 -0
- package/lib/chunk-FACLFLVZ.js +77 -0
- package/lib/chunk-FACLFLVZ.js.map +1 -0
- package/lib/chunk-FCICHXMF.js +88 -0
- package/lib/chunk-FCICHXMF.js.map +1 -0
- package/lib/chunk-FDN6KKPD.cjs +84 -0
- package/lib/chunk-FDN6KKPD.cjs.map +1 -0
- package/lib/chunk-FF3FDGGY.cjs +70 -0
- package/lib/chunk-FF3FDGGY.cjs.map +1 -0
- package/lib/chunk-FLHAE3VK.cjs +55 -0
- package/lib/chunk-FLHAE3VK.cjs.map +1 -0
- package/lib/chunk-FLZOPTO7.js +51 -0
- package/lib/chunk-FLZOPTO7.js.map +1 -0
- package/lib/chunk-FQ4QWFCL.cjs +94 -0
- package/lib/chunk-FQ4QWFCL.cjs.map +1 -0
- package/lib/chunk-FTDKLX5V.cjs +40 -0
- package/lib/chunk-FTDKLX5V.cjs.map +1 -0
- package/lib/chunk-FXLKGBOS.cjs +802 -0
- package/lib/chunk-FXLKGBOS.cjs.map +1 -0
- package/lib/chunk-FYHCMZGM.cjs +60 -0
- package/lib/chunk-FYHCMZGM.cjs.map +1 -0
- package/lib/chunk-G24B3JF4.js +77 -0
- package/lib/chunk-G24B3JF4.js.map +1 -0
- package/lib/chunk-GDW5AYT7.js +84 -0
- package/lib/chunk-GDW5AYT7.js.map +1 -0
- package/lib/chunk-GFZW3JG6.cjs +70 -0
- package/lib/chunk-GFZW3JG6.cjs.map +1 -0
- package/lib/chunk-GIP7DQ7N.cjs +115 -0
- package/lib/chunk-GIP7DQ7N.cjs.map +1 -0
- package/lib/chunk-GOYTSKMO.js +835 -0
- package/lib/chunk-GOYTSKMO.js.map +1 -0
- package/lib/chunk-GR6GU63H.cjs +102 -0
- package/lib/chunk-GR6GU63H.cjs.map +1 -0
- package/lib/chunk-GSH3LUQ6.cjs +80 -0
- package/lib/chunk-GSH3LUQ6.cjs.map +1 -0
- package/lib/chunk-GXZ7CPJZ.cjs +79 -0
- package/lib/chunk-GXZ7CPJZ.cjs.map +1 -0
- package/lib/chunk-H47WULTZ.js +81 -0
- package/lib/chunk-H47WULTZ.js.map +1 -0
- package/lib/chunk-H66ZWYXA.cjs +93 -0
- package/lib/chunk-H66ZWYXA.cjs.map +1 -0
- package/lib/chunk-HAZYVB4F.js +99 -0
- package/lib/chunk-HAZYVB4F.js.map +1 -0
- package/lib/chunk-HC3MGDGT.cjs +91 -0
- package/lib/chunk-HC3MGDGT.cjs.map +1 -0
- package/lib/chunk-HCAVRQ2U.cjs +77 -0
- package/lib/chunk-HCAVRQ2U.cjs.map +1 -0
- package/lib/chunk-HFO4G45O.js +69 -0
- package/lib/chunk-HFO4G45O.js.map +1 -0
- package/lib/chunk-HFSPKGSB.js +123 -0
- package/lib/chunk-HFSPKGSB.js.map +1 -0
- package/lib/chunk-HG7MEM2X.js +68 -0
- package/lib/chunk-HG7MEM2X.js.map +1 -0
- package/lib/chunk-HJ2JV62Q.js +42 -0
- package/lib/chunk-HJ2JV62Q.js.map +1 -0
- package/lib/chunk-HQ3AOB7V.js +92 -0
- package/lib/chunk-HQ3AOB7V.js.map +1 -0
- package/lib/chunk-HQT2IGX6.js +191 -0
- package/lib/chunk-HQT2IGX6.js.map +1 -0
- package/lib/chunk-HQX2IZ3S.cjs +53 -0
- package/lib/chunk-HQX2IZ3S.cjs.map +1 -0
- package/lib/chunk-HRR2M5BN.cjs +118 -0
- package/lib/chunk-HRR2M5BN.cjs.map +1 -0
- package/lib/chunk-HV2B43XE.js +103 -0
- package/lib/chunk-HV2B43XE.js.map +1 -0
- package/lib/chunk-HXTIVTB6.js +68 -0
- package/lib/chunk-HXTIVTB6.js.map +1 -0
- package/lib/chunk-I4BBXUCZ.cjs +70 -0
- package/lib/chunk-I4BBXUCZ.cjs.map +1 -0
- package/lib/chunk-I6LI4OXW.cjs +52 -0
- package/lib/chunk-I6LI4OXW.cjs.map +1 -0
- package/lib/chunk-IASGDRWS.js +104 -0
- package/lib/chunk-IASGDRWS.js.map +1 -0
- package/lib/chunk-IB65JHZW.cjs +53 -0
- package/lib/chunk-IB65JHZW.cjs.map +1 -0
- package/lib/chunk-ICXFY42F.js +145 -0
- package/lib/chunk-ICXFY42F.js.map +1 -0
- package/lib/chunk-IG7A2H5E.cjs +61 -0
- package/lib/chunk-IG7A2H5E.cjs.map +1 -0
- package/lib/chunk-IMROD6DZ.cjs +53 -0
- package/lib/chunk-IMROD6DZ.cjs.map +1 -0
- package/lib/chunk-INTJFLAT.cjs +83 -0
- package/lib/chunk-INTJFLAT.cjs.map +1 -0
- package/lib/chunk-IOBKEYUD.js +118 -0
- package/lib/chunk-IOBKEYUD.js.map +1 -0
- package/lib/chunk-ITNKMVF3.cjs +134 -0
- package/lib/chunk-ITNKMVF3.cjs.map +1 -0
- package/lib/chunk-JFMAOZVU.cjs +69 -0
- package/lib/chunk-JFMAOZVU.cjs.map +1 -0
- package/lib/chunk-JG5Q7VNI.js +177 -0
- package/lib/chunk-JG5Q7VNI.js.map +1 -0
- package/lib/chunk-JHXUVYYI.js +58 -0
- package/lib/chunk-JHXUVYYI.js.map +1 -0
- package/lib/chunk-JQVMGQWL.cjs +85 -0
- package/lib/chunk-JQVMGQWL.cjs.map +1 -0
- package/lib/chunk-KB6GWMPD.js +77 -0
- package/lib/chunk-KB6GWMPD.js.map +1 -0
- package/lib/chunk-KBFDUA7Q.js +132 -0
- package/lib/chunk-KBFDUA7Q.js.map +1 -0
- package/lib/chunk-KC6XSA2Y.cjs +70 -0
- package/lib/chunk-KC6XSA2Y.cjs.map +1 -0
- package/lib/chunk-KHDDHZL4.cjs +70 -0
- package/lib/chunk-KHDDHZL4.cjs.map +1 -0
- package/lib/chunk-KJN2FEX3.cjs +238 -0
- package/lib/chunk-KJN2FEX3.cjs.map +1 -0
- package/lib/chunk-KQO4XOKP.cjs +62 -0
- package/lib/chunk-KQO4XOKP.cjs.map +1 -0
- package/lib/chunk-KRF3UDFN.js +118 -0
- package/lib/chunk-KRF3UDFN.js.map +1 -0
- package/lib/chunk-KSAF3PC5.js +68 -0
- package/lib/chunk-KSAF3PC5.js.map +1 -0
- package/lib/chunk-L26KZ5DF.cjs +81 -0
- package/lib/chunk-L26KZ5DF.cjs.map +1 -0
- package/lib/chunk-L3PLRYFO.js +89 -0
- package/lib/chunk-L3PLRYFO.js.map +1 -0
- package/lib/chunk-L65BQE4Y.js +100 -0
- package/lib/chunk-L65BQE4Y.js.map +1 -0
- package/lib/chunk-LBB5IP7H.js +68 -0
- package/lib/chunk-LBB5IP7H.js.map +1 -0
- package/lib/chunk-LLKCNKKT.js +68 -0
- package/lib/chunk-LLKCNKKT.js.map +1 -0
- package/lib/chunk-LP66B7DP.cjs +62 -0
- package/lib/chunk-LP66B7DP.cjs.map +1 -0
- package/lib/chunk-M46H45DO.cjs +71 -0
- package/lib/chunk-M46H45DO.cjs.map +1 -0
- package/lib/chunk-M6TOX3HY.cjs +35 -0
- package/lib/chunk-M6TOX3HY.cjs.map +1 -0
- package/lib/chunk-MCMUX5BL.cjs +86 -0
- package/lib/chunk-MCMUX5BL.cjs.map +1 -0
- package/lib/chunk-MD3AZP5R.js +77 -0
- package/lib/chunk-MD3AZP5R.js.map +1 -0
- package/lib/chunk-MDQ2SCTW.js +95 -0
- package/lib/chunk-MDQ2SCTW.js.map +1 -0
- package/lib/chunk-MHZPK2A2.cjs +147 -0
- package/lib/chunk-MHZPK2A2.cjs.map +1 -0
- package/lib/chunk-MIUY6UJ3.cjs +125 -0
- package/lib/chunk-MIUY6UJ3.cjs.map +1 -0
- package/lib/chunk-MJXPVF77.cjs +67 -0
- package/lib/chunk-MJXPVF77.cjs.map +1 -0
- package/lib/chunk-MM2FOP73.cjs +46 -0
- package/lib/chunk-MM2FOP73.cjs.map +1 -0
- package/lib/chunk-MN2343YT.cjs +77 -0
- package/lib/chunk-MN2343YT.cjs.map +1 -0
- package/lib/chunk-MPAISLWD.cjs +52 -0
- package/lib/chunk-MPAISLWD.cjs.map +1 -0
- package/lib/chunk-MPGDLUGE.js +75 -0
- package/lib/chunk-MPGDLUGE.js.map +1 -0
- package/lib/chunk-MQRM6WNV.js +75 -0
- package/lib/chunk-MQRM6WNV.js.map +1 -0
- package/lib/chunk-MWPBG7FV.js +59 -0
- package/lib/chunk-MWPBG7FV.js.map +1 -0
- package/lib/chunk-MXLBRYWM.js +84 -0
- package/lib/chunk-MXLBRYWM.js.map +1 -0
- package/lib/chunk-N2Q4U63L.js +51 -0
- package/lib/chunk-N2Q4U63L.js.map +1 -0
- package/lib/chunk-N7GLKVK3.js +68 -0
- package/lib/chunk-N7GLKVK3.js.map +1 -0
- package/lib/chunk-NE6TY6OY.cjs +16 -0
- package/lib/chunk-NE6TY6OY.cjs.map +1 -0
- package/lib/chunk-NI2G6B2T.js +116 -0
- package/lib/chunk-NI2G6B2T.js.map +1 -0
- package/lib/chunk-NMCVJWHH.cjs +67 -0
- package/lib/chunk-NMCVJWHH.cjs.map +1 -0
- package/lib/chunk-NP64KHRD.cjs +105 -0
- package/lib/chunk-NP64KHRD.cjs.map +1 -0
- package/lib/chunk-NWSJ7AQX.js +177 -0
- package/lib/chunk-NWSJ7AQX.js.map +1 -0
- package/lib/chunk-NWT56B3X.js +189 -0
- package/lib/chunk-NWT56B3X.js.map +1 -0
- package/lib/chunk-NYMOYXJ5.js +68 -0
- package/lib/chunk-NYMOYXJ5.js.map +1 -0
- package/lib/chunk-NZPX7LLM.js +65 -0
- package/lib/chunk-NZPX7LLM.js.map +1 -0
- package/lib/chunk-O2T4EBPE.js +91 -0
- package/lib/chunk-O2T4EBPE.js.map +1 -0
- package/lib/chunk-OA3HIGQL.js +132 -0
- package/lib/chunk-OA3HIGQL.js.map +1 -0
- package/lib/chunk-OANKTTIW.cjs +79 -0
- package/lib/chunk-OANKTTIW.cjs.map +1 -0
- package/lib/chunk-OCWNCSCB.cjs +179 -0
- package/lib/chunk-OCWNCSCB.cjs.map +1 -0
- package/lib/chunk-OEWJPZKV.js +104 -0
- package/lib/chunk-OEWJPZKV.js.map +1 -0
- package/lib/chunk-OHEOKPC5.cjs +179 -0
- package/lib/chunk-OHEOKPC5.cjs.map +1 -0
- package/lib/chunk-OPJUK6LE.cjs +120 -0
- package/lib/chunk-OPJUK6LE.cjs.map +1 -0
- package/lib/chunk-OT77NWA7.js +132 -0
- package/lib/chunk-OT77NWA7.js.map +1 -0
- package/lib/chunk-OUAFZIJD.js +118 -0
- package/lib/chunk-OUAFZIJD.js.map +1 -0
- package/lib/chunk-OZAFGL3U.cjs +62 -0
- package/lib/chunk-OZAFGL3U.cjs.map +1 -0
- package/lib/chunk-P277H6EJ.js +89 -0
- package/lib/chunk-P277H6EJ.js.map +1 -0
- package/lib/chunk-P3VF425V.cjs +71 -0
- package/lib/chunk-P3VF425V.cjs.map +1 -0
- package/lib/chunk-P5ED6GBA.js +86 -0
- package/lib/chunk-P5ED6GBA.js.map +1 -0
- package/lib/chunk-PCWIIV3N.js +82 -0
- package/lib/chunk-PCWIIV3N.js.map +1 -0
- package/lib/chunk-PO3WRZWK.js +709 -0
- package/lib/chunk-PO3WRZWK.js.map +1 -0
- package/lib/chunk-PPUATSQF.cjs +91 -0
- package/lib/chunk-PPUATSQF.cjs.map +1 -0
- package/lib/chunk-PSGSQNMC.cjs +170 -0
- package/lib/chunk-PSGSQNMC.cjs.map +1 -0
- package/lib/chunk-PVJA7JLG.js +164 -0
- package/lib/chunk-PVJA7JLG.js.map +1 -0
- package/lib/chunk-PXSKGMYF.js +100 -0
- package/lib/chunk-PXSKGMYF.js.map +1 -0
- package/lib/chunk-Q3EYJPL3.js +236 -0
- package/lib/chunk-Q3EYJPL3.js.map +1 -0
- package/lib/chunk-QLA6YXS3.js +118 -0
- package/lib/chunk-QLA6YXS3.js.map +1 -0
- package/lib/chunk-QLKQAMB2.cjs +29 -0
- package/lib/chunk-QLKQAMB2.cjs.map +1 -0
- package/lib/chunk-QO72XYVP.js +177 -0
- package/lib/chunk-QO72XYVP.js.map +1 -0
- package/lib/chunk-QP7MCTKW.cjs +75 -0
- package/lib/chunk-QP7MCTKW.cjs.map +1 -0
- package/lib/chunk-QPFJ35FP.js +75 -0
- package/lib/chunk-QPFJ35FP.js.map +1 -0
- package/lib/chunk-QV5KSHJI.js +33 -0
- package/lib/chunk-QV5KSHJI.js.map +1 -0
- package/lib/chunk-QX5UIOSB.js +60 -0
- package/lib/chunk-QX5UIOSB.js.map +1 -0
- package/lib/chunk-QZGXSVF3.js +259 -0
- package/lib/chunk-QZGXSVF3.js.map +1 -0
- package/lib/chunk-QZNXJKH7.js +103 -0
- package/lib/chunk-QZNXJKH7.js.map +1 -0
- package/lib/chunk-R3XCUCTJ.js +51 -0
- package/lib/chunk-R3XCUCTJ.js.map +1 -0
- package/lib/chunk-R4Q7FZH3.js +83 -0
- package/lib/chunk-R4Q7FZH3.js.map +1 -0
- package/lib/chunk-RABOVOV5.js +96 -0
- package/lib/chunk-RABOVOV5.js.map +1 -0
- package/lib/chunk-RBFZHZ2E.js +17 -0
- package/lib/chunk-RBFZHZ2E.js.map +1 -0
- package/lib/chunk-RFVVZOXP.js +67 -0
- package/lib/chunk-RFVVZOXP.js.map +1 -0
- package/lib/chunk-RS7CIMU2.cjs +79 -0
- package/lib/chunk-RS7CIMU2.cjs.map +1 -0
- package/lib/chunk-RY52HUAM.js +129 -0
- package/lib/chunk-RY52HUAM.js.map +1 -0
- package/lib/chunk-S743NLTT.cjs +44 -0
- package/lib/chunk-S743NLTT.cjs.map +1 -0
- package/lib/chunk-S7TQNVMN.cjs +88 -0
- package/lib/chunk-S7TQNVMN.cjs.map +1 -0
- package/lib/chunk-SBAG3XP7.cjs +70 -0
- package/lib/chunk-SBAG3XP7.cjs.map +1 -0
- package/lib/chunk-SC5RATUY.js +321 -0
- package/lib/chunk-SC5RATUY.js.map +1 -0
- package/lib/chunk-SDXVTZB6.cjs +98 -0
- package/lib/chunk-SDXVTZB6.cjs.map +1 -0
- package/lib/chunk-SIZAHCYJ.cjs +26 -0
- package/lib/chunk-SIZAHCYJ.cjs.map +1 -0
- package/lib/chunk-SPG3RMDG.cjs +79 -0
- package/lib/chunk-SPG3RMDG.cjs.map +1 -0
- package/lib/chunk-SSWYGS6W.cjs +70 -0
- package/lib/chunk-SSWYGS6W.cjs.map +1 -0
- package/lib/chunk-SU6KEA6H.js +198 -0
- package/lib/chunk-SU6KEA6H.js.map +1 -0
- package/lib/chunk-SVKT6T6V.js +86 -0
- package/lib/chunk-SVKT6T6V.js.map +1 -0
- package/lib/chunk-SX7X67DZ.cjs +106 -0
- package/lib/chunk-SX7X67DZ.cjs.map +1 -0
- package/lib/chunk-SXP4ATGP.js +132 -0
- package/lib/chunk-SXP4ATGP.js.map +1 -0
- package/lib/chunk-SXWCNDKE.js +12 -0
- package/lib/chunk-SXWCNDKE.js.map +1 -0
- package/lib/chunk-SZW3PGDI.cjs +120 -0
- package/lib/chunk-SZW3PGDI.cjs.map +1 -0
- package/lib/chunk-T7BHYIJF.cjs +70 -0
- package/lib/chunk-T7BHYIJF.cjs.map +1 -0
- package/lib/chunk-TEN3HNHT.js +60 -0
- package/lib/chunk-TEN3HNHT.js.map +1 -0
- package/lib/chunk-TJK4HDQZ.js +38 -0
- package/lib/chunk-TJK4HDQZ.js.map +1 -0
- package/lib/chunk-TKNG2SD4.js +59 -0
- package/lib/chunk-TKNG2SD4.js.map +1 -0
- package/lib/chunk-TPKZB234.js +68 -0
- package/lib/chunk-TPKZB234.js.map +1 -0
- package/lib/chunk-TPP6DASP.cjs +97 -0
- package/lib/chunk-TPP6DASP.cjs.map +1 -0
- package/lib/chunk-TQUYU2CZ.cjs +53 -0
- package/lib/chunk-TQUYU2CZ.cjs.map +1 -0
- package/lib/chunk-TUG3XFAG.cjs +44 -0
- package/lib/chunk-TUG3XFAG.cjs.map +1 -0
- package/lib/chunk-U7FFLDRF.cjs +166 -0
- package/lib/chunk-U7FFLDRF.cjs.map +1 -0
- package/lib/chunk-UARXH2HB.js +120 -0
- package/lib/chunk-UARXH2HB.js.map +1 -0
- package/lib/chunk-UBPMIUT4.cjs +88 -0
- package/lib/chunk-UBPMIUT4.cjs.map +1 -0
- package/lib/chunk-UBRIGSJK.js +64 -0
- package/lib/chunk-UBRIGSJK.js.map +1 -0
- package/lib/chunk-UFVXRH5B.cjs +70 -0
- package/lib/chunk-UFVXRH5B.cjs.map +1 -0
- package/lib/chunk-UJCELX56.cjs +102 -0
- package/lib/chunk-UJCELX56.cjs.map +1 -0
- package/lib/chunk-UJS32MCU.cjs +79 -0
- package/lib/chunk-UJS32MCU.cjs.map +1 -0
- package/lib/chunk-UMLGNHVS.js +75 -0
- package/lib/chunk-UMLGNHVS.js.map +1 -0
- package/lib/chunk-UUQ4L5XM.js +60 -0
- package/lib/chunk-UUQ4L5XM.js.map +1 -0
- package/lib/chunk-UYXNMUIY.js +177 -0
- package/lib/chunk-UYXNMUIY.js.map +1 -0
- package/lib/chunk-V6TUJ2L5.js +77 -0
- package/lib/chunk-V6TUJ2L5.js.map +1 -0
- package/lib/chunk-VA6N634I.js +82 -0
- package/lib/chunk-VA6N634I.js.map +1 -0
- package/lib/chunk-VBHJKT66.js +77 -0
- package/lib/chunk-VBHJKT66.js.map +1 -0
- package/lib/chunk-VDFAACFV.cjs +134 -0
- package/lib/chunk-VDFAACFV.cjs.map +1 -0
- package/lib/chunk-VLEBVZOF.js +53 -0
- package/lib/chunk-VLEBVZOF.js.map +1 -0
- package/lib/chunk-VUGDLJE5.js +113 -0
- package/lib/chunk-VUGDLJE5.js.map +1 -0
- package/lib/chunk-VUHOXVJ3.js +79 -0
- package/lib/chunk-VUHOXVJ3.js.map +1 -0
- package/lib/chunk-VVV2BCF3.cjs +62 -0
- package/lib/chunk-VVV2BCF3.cjs.map +1 -0
- package/lib/chunk-W2SIUQ56.cjs +71 -0
- package/lib/chunk-W2SIUQ56.cjs.map +1 -0
- package/lib/chunk-W4HIMHE4.cjs +79 -0
- package/lib/chunk-W4HIMHE4.cjs.map +1 -0
- package/lib/chunk-W6EPQFA2.cjs +102 -0
- package/lib/chunk-W6EPQFA2.cjs.map +1 -0
- package/lib/chunk-W6WGFIZL.js +91 -0
- package/lib/chunk-W6WGFIZL.js.map +1 -0
- package/lib/chunk-WATUJTKW.js +191 -0
- package/lib/chunk-WATUJTKW.js.map +1 -0
- package/lib/chunk-WE3PBZFU.js +42 -0
- package/lib/chunk-WE3PBZFU.js.map +1 -0
- package/lib/chunk-WJTYPOT5.js +82 -0
- package/lib/chunk-WJTYPOT5.js.map +1 -0
- package/lib/chunk-WKML4XNE.js +77 -0
- package/lib/chunk-WKML4XNE.js.map +1 -0
- package/lib/chunk-WNM32SCA.cjs +70 -0
- package/lib/chunk-WNM32SCA.cjs.map +1 -0
- package/lib/chunk-WOCKZ7CJ.js +58 -0
- package/lib/chunk-WOCKZ7CJ.js.map +1 -0
- package/lib/chunk-WOP6L43D.js +120 -0
- package/lib/chunk-WOP6L43D.js.map +1 -0
- package/lib/chunk-WR2GG3FR.cjs +96 -0
- package/lib/chunk-WR2GG3FR.cjs.map +1 -0
- package/lib/chunk-WTDD7L2I.cjs +62 -0
- package/lib/chunk-WTDD7L2I.cjs.map +1 -0
- package/lib/chunk-WTLMZUTR.cjs +88 -0
- package/lib/chunk-WTLMZUTR.cjs.map +1 -0
- package/lib/chunk-WVMZFVEE.js +61 -0
- package/lib/chunk-WVMZFVEE.js.map +1 -0
- package/lib/chunk-WWXJDNZF.cjs +101 -0
- package/lib/chunk-WWXJDNZF.cjs.map +1 -0
- package/lib/chunk-X22YEQ4O.cjs +89 -0
- package/lib/chunk-X22YEQ4O.cjs.map +1 -0
- package/lib/chunk-X2JHZLNF.cjs +120 -0
- package/lib/chunk-X2JHZLNF.cjs.map +1 -0
- package/lib/chunk-X3UY5JZ2.js +27 -0
- package/lib/chunk-X3UY5JZ2.js.map +1 -0
- package/lib/chunk-X5PN44AB.js +77 -0
- package/lib/chunk-X5PN44AB.js.map +1 -0
- package/lib/chunk-XCWV7LWV.cjs +134 -0
- package/lib/chunk-XCWV7LWV.cjs.map +1 -0
- package/lib/chunk-XD6FBQKK.js +65 -0
- package/lib/chunk-XD6FBQKK.js.map +1 -0
- package/lib/chunk-XNKFD2Z2.js +168 -0
- package/lib/chunk-XNKFD2Z2.js.map +1 -0
- package/lib/chunk-XOAXIDIX.js +113 -0
- package/lib/chunk-XOAXIDIX.js.map +1 -0
- package/lib/chunk-XQGSPNIE.js +68 -0
- package/lib/chunk-XQGSPNIE.js.map +1 -0
- package/lib/chunk-XSK3E4XN.js +89 -0
- package/lib/chunk-XSK3E4XN.js.map +1 -0
- package/lib/chunk-XWVAMY3V.js +44 -0
- package/lib/chunk-XWVAMY3V.js.map +1 -0
- package/lib/chunk-XYRDA4QZ.cjs +79 -0
- package/lib/chunk-XYRDA4QZ.cjs.map +1 -0
- package/lib/chunk-Y6HB4L7M.cjs +113 -0
- package/lib/chunk-Y6HB4L7M.cjs.map +1 -0
- package/lib/chunk-YBW7NZL4.cjs +98 -0
- package/lib/chunk-YBW7NZL4.cjs.map +1 -0
- package/lib/chunk-YJSEU63M.cjs +88 -0
- package/lib/chunk-YJSEU63M.cjs.map +1 -0
- package/lib/chunk-YQXPTR3T.cjs +38 -0
- package/lib/chunk-YQXPTR3T.cjs.map +1 -0
- package/lib/chunk-ZAFCXNLD.js +68 -0
- package/lib/chunk-ZAFCXNLD.js.map +1 -0
- package/lib/chunk-ZDVAZL6M.cjs +179 -0
- package/lib/chunk-ZDVAZL6M.cjs.map +1 -0
- package/lib/chunk-ZHTRFRSV.cjs +61 -0
- package/lib/chunk-ZHTRFRSV.cjs.map +1 -0
- package/lib/chunk-ZT4CE4WX.cjs +79 -0
- package/lib/chunk-ZT4CE4WX.cjs.map +1 -0
- package/lib/chunk-ZVNUNWZG.js +50 -0
- package/lib/chunk-ZVNUNWZG.js.map +1 -0
- package/lib/chunk-ZY7XJJU6.js +51 -0
- package/lib/chunk-ZY7XJJU6.js.map +1 -0
- package/lib/commercelayer.cjs +10 -10
- package/lib/commercelayer.d.cts +1 -1
- package/lib/commercelayer.d.ts +1 -1
- package/lib/commercelayer.js +4 -4
- package/lib/enum.d.cts +1 -1
- package/lib/enum.d.ts +1 -1
- package/lib/index.cjs +164 -164
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +159 -159
- package/lib/model.d.cts +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/resources/addresses.cjs +5 -5
- package/lib/resources/addresses.d.cts +2 -2
- package/lib/resources/addresses.d.ts +1 -1
- package/lib/resources/addresses.js +4 -4
- package/lib/resources/adjustments.cjs +5 -5
- package/lib/resources/adjustments.d.cts +2 -2
- package/lib/resources/adjustments.d.ts +1 -1
- package/lib/resources/adjustments.js +4 -4
- package/lib/resources/adyen_gateways.cjs +5 -5
- package/lib/resources/adyen_gateways.d.cts +2 -2
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_gateways.js +4 -4
- package/lib/resources/adyen_payments.cjs +5 -5
- package/lib/resources/adyen_payments.d.cts +2 -2
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/adyen_payments.js +4 -4
- package/lib/resources/applications.cjs +5 -5
- package/lib/resources/applications.d.cts +2 -2
- package/lib/resources/applications.d.ts +1 -1
- package/lib/resources/applications.js +4 -4
- package/lib/resources/attachments.cjs +5 -5
- package/lib/resources/attachments.d.cts +2 -2
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/attachments.js +4 -4
- package/lib/resources/authorizations.cjs +5 -5
- package/lib/resources/authorizations.d.cts +2 -2
- package/lib/resources/authorizations.d.ts +1 -1
- package/lib/resources/authorizations.js +4 -4
- package/lib/resources/avalara_accounts.cjs +5 -5
- package/lib/resources/avalara_accounts.d.cts +2 -2
- package/lib/resources/avalara_accounts.d.ts +1 -1
- package/lib/resources/avalara_accounts.js +4 -4
- package/lib/resources/axerve_gateways.cjs +5 -5
- package/lib/resources/axerve_gateways.d.cts +2 -2
- package/lib/resources/axerve_gateways.d.ts +1 -1
- package/lib/resources/axerve_gateways.js +4 -4
- package/lib/resources/axerve_payments.cjs +5 -5
- package/lib/resources/axerve_payments.d.cts +2 -2
- package/lib/resources/axerve_payments.d.ts +1 -1
- package/lib/resources/axerve_payments.js +4 -4
- package/lib/resources/billing_info_validation_rules.cjs +5 -5
- package/lib/resources/billing_info_validation_rules.d.cts +2 -2
- package/lib/resources/billing_info_validation_rules.d.ts +1 -1
- package/lib/resources/billing_info_validation_rules.js +4 -4
- package/lib/resources/bing_geocoders.cjs +5 -5
- package/lib/resources/bing_geocoders.d.cts +2 -2
- package/lib/resources/bing_geocoders.d.ts +1 -1
- package/lib/resources/bing_geocoders.js +4 -4
- package/lib/resources/braintree_gateways.cjs +5 -5
- package/lib/resources/braintree_gateways.d.cts +2 -2
- package/lib/resources/braintree_gateways.d.ts +1 -1
- package/lib/resources/braintree_gateways.js +4 -4
- package/lib/resources/braintree_payments.cjs +5 -5
- package/lib/resources/braintree_payments.d.cts +2 -2
- package/lib/resources/braintree_payments.d.ts +1 -1
- package/lib/resources/braintree_payments.js +4 -4
- package/lib/resources/bundles.cjs +5 -5
- package/lib/resources/bundles.d.cts +2 -2
- package/lib/resources/bundles.d.ts +1 -1
- package/lib/resources/bundles.js +4 -4
- package/lib/resources/buy_x_pay_y_promotions.cjs +5 -5
- 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 +4 -4
- package/lib/resources/captures.cjs +5 -5
- package/lib/resources/captures.d.cts +2 -2
- package/lib/resources/captures.d.ts +1 -1
- package/lib/resources/captures.js +4 -4
- package/lib/resources/carrier_accounts.cjs +5 -5
- package/lib/resources/carrier_accounts.d.cts +2 -2
- package/lib/resources/carrier_accounts.d.ts +1 -1
- package/lib/resources/carrier_accounts.js +4 -4
- package/lib/resources/checkout_com_gateways.cjs +5 -5
- 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 +4 -4
- package/lib/resources/checkout_com_payments.cjs +5 -5
- 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 +4 -4
- package/lib/resources/cleanups.cjs +5 -5
- package/lib/resources/cleanups.d.cts +2 -2
- package/lib/resources/cleanups.d.ts +1 -1
- package/lib/resources/cleanups.js +4 -4
- package/lib/resources/coupon_codes_promotion_rules.cjs +5 -5
- 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 +4 -4
- package/lib/resources/coupon_recipients.cjs +5 -5
- package/lib/resources/coupon_recipients.d.cts +2 -2
- package/lib/resources/coupon_recipients.d.ts +1 -1
- package/lib/resources/coupon_recipients.js +4 -4
- package/lib/resources/coupons.cjs +5 -5
- package/lib/resources/coupons.d.cts +2 -2
- package/lib/resources/coupons.d.ts +1 -1
- package/lib/resources/coupons.js +4 -4
- package/lib/resources/custom_promotion_rules.cjs +5 -5
- 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 +4 -4
- package/lib/resources/customer_addresses.cjs +5 -5
- package/lib/resources/customer_addresses.d.cts +2 -2
- package/lib/resources/customer_addresses.d.ts +1 -1
- package/lib/resources/customer_addresses.js +4 -4
- package/lib/resources/customer_groups.cjs +5 -5
- package/lib/resources/customer_groups.d.cts +2 -2
- package/lib/resources/customer_groups.d.ts +1 -1
- package/lib/resources/customer_groups.js +4 -4
- package/lib/resources/customer_password_resets.cjs +5 -5
- 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 +4 -4
- package/lib/resources/customer_payment_sources.cjs +5 -5
- 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 +4 -4
- package/lib/resources/customer_subscriptions.cjs +5 -5
- package/lib/resources/customer_subscriptions.d.cts +2 -2
- package/lib/resources/customer_subscriptions.d.ts +1 -1
- package/lib/resources/customer_subscriptions.js +4 -4
- package/lib/resources/customers.cjs +5 -5
- package/lib/resources/customers.d.cts +2 -2
- package/lib/resources/customers.d.ts +1 -1
- package/lib/resources/customers.js +4 -4
- package/lib/resources/delivery_lead_times.cjs +5 -5
- 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 +4 -4
- package/lib/resources/discount_engine_items.cjs +5 -5
- 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 +4 -4
- package/lib/resources/discount_engines.cjs +5 -5
- package/lib/resources/discount_engines.d.cts +2 -2
- package/lib/resources/discount_engines.d.ts +1 -1
- package/lib/resources/discount_engines.js +4 -4
- package/lib/resources/easypost_pickups.cjs +5 -5
- package/lib/resources/easypost_pickups.d.cts +2 -2
- package/lib/resources/easypost_pickups.d.ts +1 -1
- package/lib/resources/easypost_pickups.js +4 -4
- package/lib/resources/event_callbacks.cjs +5 -5
- package/lib/resources/event_callbacks.d.cts +2 -2
- package/lib/resources/event_callbacks.d.ts +1 -1
- package/lib/resources/event_callbacks.js +4 -4
- package/lib/resources/event_stores.cjs +5 -5
- package/lib/resources/event_stores.d.cts +2 -2
- package/lib/resources/event_stores.d.ts +1 -1
- package/lib/resources/event_stores.js +4 -4
- package/lib/resources/events.cjs +5 -5
- package/lib/resources/events.d.cts +2 -2
- package/lib/resources/events.d.ts +1 -1
- package/lib/resources/events.js +4 -4
- package/lib/resources/exports.cjs +5 -5
- package/lib/resources/exports.d.cts +2 -2
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/exports.js +4 -4
- package/lib/resources/external_gateways.cjs +5 -5
- package/lib/resources/external_gateways.d.cts +2 -2
- package/lib/resources/external_gateways.d.ts +1 -1
- package/lib/resources/external_gateways.js +4 -4
- package/lib/resources/external_payments.cjs +5 -5
- package/lib/resources/external_payments.d.cts +2 -2
- package/lib/resources/external_payments.d.ts +1 -1
- package/lib/resources/external_payments.js +4 -4
- package/lib/resources/external_promotions.cjs +5 -5
- package/lib/resources/external_promotions.d.cts +2 -2
- package/lib/resources/external_promotions.d.ts +1 -1
- package/lib/resources/external_promotions.js +4 -4
- package/lib/resources/external_tax_calculators.cjs +5 -5
- 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 +4 -4
- package/lib/resources/fixed_amount_promotions.cjs +5 -5
- 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 +4 -4
- package/lib/resources/fixed_price_promotions.cjs +5 -5
- 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 +4 -4
- package/lib/resources/flex_promotions.cjs +5 -5
- package/lib/resources/flex_promotions.d.cts +2 -2
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.js +4 -4
- package/lib/resources/free_gift_promotions.cjs +5 -5
- 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 +4 -4
- package/lib/resources/free_shipping_promotions.cjs +5 -5
- 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 +4 -4
- package/lib/resources/geocoders.cjs +5 -5
- package/lib/resources/geocoders.d.cts +2 -2
- package/lib/resources/geocoders.d.ts +1 -1
- package/lib/resources/geocoders.js +4 -4
- package/lib/resources/gift_card_recipients.cjs +5 -5
- 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 +4 -4
- package/lib/resources/gift_cards.cjs +5 -5
- package/lib/resources/gift_cards.d.cts +2 -2
- package/lib/resources/gift_cards.d.ts +1 -1
- package/lib/resources/gift_cards.js +4 -4
- package/lib/resources/google_geocoders.cjs +5 -5
- package/lib/resources/google_geocoders.d.cts +2 -2
- package/lib/resources/google_geocoders.d.ts +1 -1
- package/lib/resources/google_geocoders.js +4 -4
- package/lib/resources/imports.cjs +5 -5
- package/lib/resources/imports.d.cts +2 -2
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/imports.js +4 -4
- package/lib/resources/in_stock_subscriptions.cjs +5 -5
- 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 +4 -4
- package/lib/resources/inventory_models.cjs +5 -5
- package/lib/resources/inventory_models.d.cts +2 -2
- package/lib/resources/inventory_models.d.ts +1 -1
- package/lib/resources/inventory_models.js +4 -4
- package/lib/resources/inventory_return_locations.cjs +5 -5
- 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 +4 -4
- package/lib/resources/inventory_stock_locations.cjs +5 -5
- 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 +4 -4
- package/lib/resources/klarna_gateways.cjs +5 -5
- package/lib/resources/klarna_gateways.d.cts +2 -2
- package/lib/resources/klarna_gateways.d.ts +1 -1
- package/lib/resources/klarna_gateways.js +4 -4
- package/lib/resources/klarna_payments.cjs +5 -5
- package/lib/resources/klarna_payments.d.cts +2 -2
- package/lib/resources/klarna_payments.d.ts +1 -1
- package/lib/resources/klarna_payments.js +4 -4
- package/lib/resources/line_item_options.cjs +5 -5
- 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 +4 -4
- package/lib/resources/line_items.cjs +5 -5
- package/lib/resources/line_items.d.cts +2 -2
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/line_items.js +4 -4
- package/lib/resources/links.cjs +5 -5
- package/lib/resources/links.d.cts +2 -2
- package/lib/resources/links.d.ts +1 -1
- package/lib/resources/links.js +4 -4
- package/lib/resources/manual_gateways.cjs +5 -5
- package/lib/resources/manual_gateways.d.cts +2 -2
- package/lib/resources/manual_gateways.d.ts +1 -1
- package/lib/resources/manual_gateways.js +4 -4
- package/lib/resources/manual_tax_calculators.cjs +5 -5
- 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 +4 -4
- package/lib/resources/markets.cjs +5 -5
- package/lib/resources/markets.d.cts +2 -2
- package/lib/resources/markets.d.ts +1 -1
- package/lib/resources/markets.js +4 -4
- package/lib/resources/merchants.cjs +5 -5
- package/lib/resources/merchants.d.cts +2 -2
- package/lib/resources/merchants.d.ts +1 -1
- package/lib/resources/merchants.js +4 -4
- package/lib/resources/notifications.cjs +5 -5
- package/lib/resources/notifications.d.cts +2 -2
- package/lib/resources/notifications.d.ts +1 -1
- package/lib/resources/notifications.js +4 -4
- package/lib/resources/order_amount_promotion_rules.cjs +5 -5
- 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 +4 -4
- package/lib/resources/order_copies.cjs +5 -5
- package/lib/resources/order_copies.d.cts +2 -2
- package/lib/resources/order_copies.d.ts +1 -1
- package/lib/resources/order_copies.js +4 -4
- package/lib/resources/order_factories.cjs +5 -5
- package/lib/resources/order_factories.d.cts +2 -2
- package/lib/resources/order_factories.d.ts +1 -1
- package/lib/resources/order_factories.js +4 -4
- package/lib/resources/order_subscription_items.cjs +5 -5
- 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 +4 -4
- package/lib/resources/order_subscriptions.cjs +5 -5
- package/lib/resources/order_subscriptions.d.cts +2 -2
- package/lib/resources/order_subscriptions.d.ts +1 -1
- package/lib/resources/order_subscriptions.js +4 -4
- package/lib/resources/order_validation_rules.cjs +5 -5
- package/lib/resources/order_validation_rules.d.cts +2 -2
- package/lib/resources/order_validation_rules.d.ts +1 -1
- package/lib/resources/order_validation_rules.js +4 -4
- package/lib/resources/orders.cjs +5 -5
- package/lib/resources/orders.d.cts +2 -2
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/orders.js +4 -4
- package/lib/resources/organizations.cjs +5 -5
- package/lib/resources/organizations.d.cts +2 -2
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/organizations.js +4 -4
- package/lib/resources/packages.cjs +5 -5
- package/lib/resources/packages.d.cts +2 -2
- package/lib/resources/packages.d.ts +1 -1
- package/lib/resources/packages.js +4 -4
- package/lib/resources/parcel_line_items.cjs +5 -5
- 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 +4 -4
- package/lib/resources/parcels.cjs +5 -5
- package/lib/resources/parcels.d.cts +2 -2
- package/lib/resources/parcels.d.ts +1 -1
- package/lib/resources/parcels.js +4 -4
- package/lib/resources/payment_authorizations.cjs +5 -5
- package/lib/resources/payment_authorizations.d.cts +2 -2
- package/lib/resources/payment_authorizations.d.ts +1 -1
- package/lib/resources/payment_authorizations.js +4 -4
- package/lib/resources/payment_captures.cjs +5 -5
- package/lib/resources/payment_captures.d.cts +2 -2
- package/lib/resources/payment_captures.d.ts +1 -1
- package/lib/resources/payment_captures.js +4 -4
- package/lib/resources/payment_gateways.cjs +5 -5
- package/lib/resources/payment_gateways.d.cts +2 -2
- package/lib/resources/payment_gateways.d.ts +1 -1
- package/lib/resources/payment_gateways.js +4 -4
- package/lib/resources/payment_links.cjs +5 -5
- package/lib/resources/payment_links.d.cts +2 -2
- package/lib/resources/payment_links.d.ts +1 -1
- package/lib/resources/payment_links.js +4 -4
- package/lib/resources/payment_methods.cjs +5 -5
- package/lib/resources/payment_methods.d.cts +2 -2
- package/lib/resources/payment_methods.d.ts +1 -1
- package/lib/resources/payment_methods.js +4 -4
- package/lib/resources/payment_options.cjs +5 -5
- package/lib/resources/payment_options.d.cts +2 -2
- package/lib/resources/payment_options.d.ts +1 -1
- package/lib/resources/payment_options.js +4 -4
- package/lib/resources/payment_refunds.cjs +5 -5
- package/lib/resources/payment_refunds.d.cts +2 -2
- package/lib/resources/payment_refunds.d.ts +1 -1
- package/lib/resources/payment_refunds.js +4 -4
- package/lib/resources/payment_rules.cjs +5 -5
- package/lib/resources/payment_rules.d.cts +2 -2
- package/lib/resources/payment_rules.d.ts +1 -1
- package/lib/resources/payment_rules.js +4 -4
- package/lib/resources/payment_sessions.cjs +5 -5
- package/lib/resources/payment_sessions.d.cts +2 -2
- package/lib/resources/payment_sessions.d.ts +1 -1
- package/lib/resources/payment_sessions.js +4 -4
- package/lib/resources/payment_setting_adyens.cjs +5 -5
- package/lib/resources/payment_setting_adyens.d.cts +2 -2
- package/lib/resources/payment_setting_adyens.d.ts +1 -1
- package/lib/resources/payment_setting_adyens.js +4 -4
- package/lib/resources/payment_setting_braintrees.cjs +5 -5
- package/lib/resources/payment_setting_braintrees.d.cts +2 -2
- package/lib/resources/payment_setting_braintrees.d.ts +1 -1
- package/lib/resources/payment_setting_braintrees.js +4 -4
- package/lib/resources/payment_setting_checkout_coms.cjs +5 -5
- package/lib/resources/payment_setting_checkout_coms.d.cts +2 -2
- package/lib/resources/payment_setting_checkout_coms.d.ts +1 -1
- package/lib/resources/payment_setting_checkout_coms.js +4 -4
- package/lib/resources/payment_setting_externals.cjs +5 -5
- package/lib/resources/payment_setting_externals.d.cts +2 -2
- package/lib/resources/payment_setting_externals.d.ts +1 -1
- package/lib/resources/payment_setting_externals.js +4 -4
- package/lib/resources/payment_setting_gift_cards.cjs +5 -5
- package/lib/resources/payment_setting_gift_cards.d.cts +2 -2
- package/lib/resources/payment_setting_gift_cards.d.ts +1 -1
- package/lib/resources/payment_setting_gift_cards.js +4 -4
- package/lib/resources/payment_setting_manuals.cjs +5 -5
- package/lib/resources/payment_setting_manuals.d.cts +2 -2
- package/lib/resources/payment_setting_manuals.d.ts +1 -1
- package/lib/resources/payment_setting_manuals.js +4 -4
- package/lib/resources/payment_setting_paypals.cjs +5 -5
- package/lib/resources/payment_setting_paypals.d.cts +2 -2
- package/lib/resources/payment_setting_paypals.d.ts +1 -1
- package/lib/resources/payment_setting_paypals.js +4 -4
- package/lib/resources/payment_setting_stripes.cjs +5 -5
- package/lib/resources/payment_setting_stripes.d.cts +2 -2
- package/lib/resources/payment_setting_stripes.d.ts +1 -1
- package/lib/resources/payment_setting_stripes.js +4 -4
- package/lib/resources/payment_settings.cjs +5 -5
- package/lib/resources/payment_settings.d.cts +2 -2
- package/lib/resources/payment_settings.d.ts +1 -1
- package/lib/resources/payment_settings.js +4 -4
- package/lib/resources/payment_transactions.cjs +5 -5
- package/lib/resources/payment_transactions.d.cts +2 -2
- package/lib/resources/payment_transactions.d.ts +1 -1
- package/lib/resources/payment_transactions.js +4 -4
- package/lib/resources/payment_voids.cjs +5 -5
- package/lib/resources/payment_voids.d.cts +2 -2
- package/lib/resources/payment_voids.d.ts +1 -1
- package/lib/resources/payment_voids.js +4 -4
- package/lib/resources/payment_wallets.cjs +5 -5
- package/lib/resources/payment_wallets.d.cts +2 -2
- package/lib/resources/payment_wallets.d.ts +1 -1
- package/lib/resources/payment_wallets.js +4 -4
- package/lib/resources/paypal_gateways.cjs +5 -5
- package/lib/resources/paypal_gateways.d.cts +2 -2
- package/lib/resources/paypal_gateways.d.ts +1 -1
- package/lib/resources/paypal_gateways.js +4 -4
- package/lib/resources/paypal_payments.cjs +5 -5
- package/lib/resources/paypal_payments.d.cts +2 -2
- package/lib/resources/paypal_payments.d.ts +1 -1
- package/lib/resources/paypal_payments.js +4 -4
- package/lib/resources/percentage_discount_promotions.cjs +5 -5
- 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 +4 -4
- package/lib/resources/pickups.cjs +5 -5
- package/lib/resources/pickups.d.cts +2 -2
- package/lib/resources/pickups.d.ts +1 -1
- package/lib/resources/pickups.js +4 -4
- package/lib/resources/price_frequency_tiers.cjs +5 -5
- 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 +4 -4
- package/lib/resources/price_list_schedulers.cjs +5 -5
- 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 +4 -4
- package/lib/resources/price_lists.cjs +5 -5
- package/lib/resources/price_lists.d.cts +2 -2
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_lists.js +4 -4
- package/lib/resources/price_tiers.cjs +5 -5
- package/lib/resources/price_tiers.d.cts +2 -2
- package/lib/resources/price_tiers.d.ts +1 -1
- package/lib/resources/price_tiers.js +4 -4
- package/lib/resources/price_volume_tiers.cjs +5 -5
- 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 +4 -4
- package/lib/resources/prices.cjs +5 -5
- package/lib/resources/prices.d.cts +2 -2
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/prices.js +4 -4
- package/lib/resources/promotion_rules.cjs +5 -5
- package/lib/resources/promotion_rules.d.cts +2 -2
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotion_rules.js +4 -4
- package/lib/resources/promotions.cjs +5 -5
- package/lib/resources/promotions.d.cts +2 -2
- package/lib/resources/promotions.d.ts +1 -1
- package/lib/resources/promotions.js +4 -4
- package/lib/resources/recurring_order_copies.cjs +5 -5
- 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 +4 -4
- package/lib/resources/refunds.cjs +5 -5
- package/lib/resources/refunds.d.cts +2 -2
- package/lib/resources/refunds.d.ts +1 -1
- package/lib/resources/refunds.js +4 -4
- package/lib/resources/reserved_stocks.cjs +5 -5
- package/lib/resources/reserved_stocks.d.cts +2 -2
- package/lib/resources/reserved_stocks.d.ts +1 -1
- package/lib/resources/reserved_stocks.js +4 -4
- package/lib/resources/resource_errors.cjs +5 -5
- package/lib/resources/resource_errors.d.cts +2 -2
- package/lib/resources/resource_errors.d.ts +1 -1
- package/lib/resources/resource_errors.js +4 -4
- package/lib/resources/return_line_items.cjs +5 -5
- 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 +4 -4
- package/lib/resources/returns.cjs +5 -5
- package/lib/resources/returns.d.cts +2 -2
- package/lib/resources/returns.d.ts +1 -1
- package/lib/resources/returns.js +4 -4
- package/lib/resources/satispay_gateways.cjs +5 -5
- package/lib/resources/satispay_gateways.d.cts +2 -2
- package/lib/resources/satispay_gateways.d.ts +1 -1
- package/lib/resources/satispay_gateways.js +4 -4
- package/lib/resources/satispay_payments.cjs +5 -5
- package/lib/resources/satispay_payments.d.cts +2 -2
- package/lib/resources/satispay_payments.d.ts +1 -1
- package/lib/resources/satispay_payments.js +4 -4
- package/lib/resources/shipment_line_items.cjs +5 -5
- package/lib/resources/shipment_line_items.d.cts +2 -2
- package/lib/resources/shipment_line_items.d.ts +1 -1
- package/lib/resources/shipment_line_items.js +4 -4
- package/lib/resources/shipments.cjs +5 -5
- package/lib/resources/shipments.d.cts +2 -2
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipments.js +4 -4
- package/lib/resources/shipping_categories.cjs +5 -5
- package/lib/resources/shipping_categories.d.cts +2 -2
- package/lib/resources/shipping_categories.d.ts +1 -1
- package/lib/resources/shipping_categories.js +4 -4
- package/lib/resources/shipping_method_tiers.cjs +5 -5
- 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 +4 -4
- package/lib/resources/shipping_methods.cjs +5 -5
- package/lib/resources/shipping_methods.d.cts +2 -2
- package/lib/resources/shipping_methods.d.ts +1 -1
- package/lib/resources/shipping_methods.js +4 -4
- package/lib/resources/shipping_weight_tiers.cjs +5 -5
- 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 +4 -4
- package/lib/resources/shipping_zones.cjs +5 -5
- package/lib/resources/shipping_zones.d.cts +2 -2
- package/lib/resources/shipping_zones.d.ts +1 -1
- package/lib/resources/shipping_zones.js +4 -4
- package/lib/resources/sku_list_items.cjs +5 -5
- 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 +4 -4
- package/lib/resources/sku_list_promotion_rules.cjs +5 -5
- 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 +4 -4
- package/lib/resources/sku_lists.cjs +5 -5
- package/lib/resources/sku_lists.d.cts +2 -2
- package/lib/resources/sku_lists.d.ts +1 -1
- package/lib/resources/sku_lists.js +4 -4
- package/lib/resources/sku_options.cjs +5 -5
- package/lib/resources/sku_options.d.cts +2 -2
- package/lib/resources/sku_options.d.ts +1 -1
- package/lib/resources/sku_options.js +4 -4
- package/lib/resources/skus.cjs +5 -5
- package/lib/resources/skus.d.cts +2 -2
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/skus.js +4 -4
- package/lib/resources/stock_items.cjs +5 -5
- package/lib/resources/stock_items.d.cts +2 -2
- package/lib/resources/stock_items.d.ts +1 -1
- package/lib/resources/stock_items.js +4 -4
- package/lib/resources/stock_line_items.cjs +5 -5
- 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 +4 -4
- package/lib/resources/stock_locations.cjs +5 -5
- package/lib/resources/stock_locations.d.cts +2 -2
- package/lib/resources/stock_locations.d.ts +1 -1
- package/lib/resources/stock_locations.js +4 -4
- package/lib/resources/stock_reservations.cjs +5 -5
- package/lib/resources/stock_reservations.d.cts +2 -2
- package/lib/resources/stock_reservations.d.ts +1 -1
- package/lib/resources/stock_reservations.js +4 -4
- package/lib/resources/stock_transfers.cjs +5 -5
- package/lib/resources/stock_transfers.d.cts +2 -2
- package/lib/resources/stock_transfers.d.ts +1 -1
- package/lib/resources/stock_transfers.js +4 -4
- package/lib/resources/stores.cjs +5 -5
- package/lib/resources/stores.d.cts +2 -2
- package/lib/resources/stores.d.ts +1 -1
- package/lib/resources/stores.js +4 -4
- package/lib/resources/stripe_gateways.cjs +5 -5
- package/lib/resources/stripe_gateways.d.cts +2 -2
- package/lib/resources/stripe_gateways.d.ts +1 -1
- package/lib/resources/stripe_gateways.js +4 -4
- package/lib/resources/stripe_payments.cjs +5 -5
- package/lib/resources/stripe_payments.d.cts +2 -2
- package/lib/resources/stripe_payments.d.ts +1 -1
- package/lib/resources/stripe_payments.js +4 -4
- package/lib/resources/stripe_tax_accounts.cjs +5 -5
- 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 +4 -4
- package/lib/resources/subscription_models.cjs +5 -5
- package/lib/resources/subscription_models.d.cts +2 -2
- package/lib/resources/subscription_models.d.ts +1 -1
- package/lib/resources/subscription_models.js +4 -4
- package/lib/resources/tags.cjs +5 -5
- package/lib/resources/tags.d.cts +2 -2
- package/lib/resources/tags.d.ts +1 -1
- package/lib/resources/tags.js +4 -4
- package/lib/resources/talon_one_accounts.cjs +5 -5
- 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 +4 -4
- package/lib/resources/tax_calculators.cjs +5 -5
- package/lib/resources/tax_calculators.d.cts +2 -2
- package/lib/resources/tax_calculators.d.ts +1 -1
- package/lib/resources/tax_calculators.js +4 -4
- package/lib/resources/tax_categories.cjs +5 -5
- package/lib/resources/tax_categories.d.cts +2 -2
- package/lib/resources/tax_categories.d.ts +1 -1
- package/lib/resources/tax_categories.js +4 -4
- package/lib/resources/tax_rules.cjs +5 -5
- package/lib/resources/tax_rules.d.cts +2 -2
- package/lib/resources/tax_rules.d.ts +1 -1
- package/lib/resources/tax_rules.js +4 -4
- package/lib/resources/taxjar_accounts.cjs +5 -5
- package/lib/resources/taxjar_accounts.d.cts +2 -2
- package/lib/resources/taxjar_accounts.d.ts +1 -1
- package/lib/resources/taxjar_accounts.js +4 -4
- package/lib/resources/transactions.cjs +5 -5
- package/lib/resources/transactions.d.cts +2 -2
- package/lib/resources/transactions.d.ts +1 -1
- package/lib/resources/transactions.js +4 -4
- package/lib/resources/vertex_accounts.cjs +5 -5
- package/lib/resources/vertex_accounts.d.cts +2 -2
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/vertex_accounts.js +4 -4
- package/lib/resources/voids.cjs +5 -5
- package/lib/resources/voids.d.cts +2 -2
- package/lib/resources/voids.d.ts +1 -1
- package/lib/resources/voids.js +4 -4
- package/lib/resources/webhooks.cjs +5 -5
- package/lib/resources/webhooks.d.cts +2 -2
- package/lib/resources/webhooks.d.ts +1 -1
- package/lib/resources/webhooks.js +4 -4
- package/lib/resources/wire_transfers.cjs +5 -5
- package/lib/resources/wire_transfers.d.cts +2 -2
- package/lib/resources/wire_transfers.d.ts +1 -1
- package/lib/resources/wire_transfers.js +4 -4
- package/lib/single-client.cjs +315 -315
- package/lib/single-client.d.cts +1 -1
- package/lib/single-client.d.ts +1 -1
- package/lib/single-client.js +158 -158
- package/lib/static.cjs +6 -6
- package/lib/static.d.cts +1 -1
- package/lib/static.d.ts +1 -1
- package/lib/static.js +5 -5
- package/lib/version.cjs +4 -4
- package/lib/version.js +1 -1
- package/package.json +6 -3
- package/lib/api-CfPETDki.d.cts +0 -23136
- package/lib/api-CfPETDki.d.ts +0 -23136
- package/lib/chunk-26VOQO3M.js +0 -58
- package/lib/chunk-26VOQO3M.js.map +0 -1
- package/lib/chunk-2DINIAYN.cjs +0 -61
- package/lib/chunk-2DINIAYN.cjs.map +0 -1
- package/lib/chunk-2IJ6H6VW.cjs +0 -55
- package/lib/chunk-2IJ6H6VW.cjs.map +0 -1
- package/lib/chunk-2QVDLCLM.cjs +0 -60
- package/lib/chunk-2QVDLCLM.cjs.map +0 -1
- package/lib/chunk-2UT232EJ.cjs +0 -69
- package/lib/chunk-2UT232EJ.cjs.map +0 -1
- package/lib/chunk-2VQL5GA3.js +0 -79
- package/lib/chunk-2VQL5GA3.js.map +0 -1
- package/lib/chunk-2WSQXID6.js +0 -77
- package/lib/chunk-2WSQXID6.js.map +0 -1
- package/lib/chunk-2YCSDIGK.js +0 -87
- package/lib/chunk-2YCSDIGK.js.map +0 -1
- package/lib/chunk-35X4SWHJ.js +0 -81
- package/lib/chunk-35X4SWHJ.js.map +0 -1
- package/lib/chunk-3AJTB5ZX.cjs +0 -126
- package/lib/chunk-3AJTB5ZX.cjs.map +0 -1
- package/lib/chunk-3AY474P7.js +0 -77
- package/lib/chunk-3AY474P7.js.map +0 -1
- package/lib/chunk-3HNIYOSI.js +0 -116
- package/lib/chunk-3HNIYOSI.js.map +0 -1
- package/lib/chunk-3LL3NKU6.js +0 -99
- package/lib/chunk-3LL3NKU6.js.map +0 -1
- package/lib/chunk-3LRDSJII.js +0 -103
- package/lib/chunk-3LRDSJII.js.map +0 -1
- package/lib/chunk-3MSOGNPD.js +0 -44
- package/lib/chunk-3MSOGNPD.js.map +0 -1
- package/lib/chunk-3MTXOOF4.cjs +0 -118
- package/lib/chunk-3MTXOOF4.cjs.map +0 -1
- package/lib/chunk-3RZJJB5V.js +0 -68
- package/lib/chunk-3RZJJB5V.js.map +0 -1
- package/lib/chunk-3SU2KNJW.js +0 -65
- package/lib/chunk-3SU2KNJW.js.map +0 -1
- package/lib/chunk-42UTVI7K.js +0 -96
- package/lib/chunk-42UTVI7K.js.map +0 -1
- package/lib/chunk-45J6XJ67.js +0 -103
- package/lib/chunk-45J6XJ67.js.map +0 -1
- package/lib/chunk-46RCWQO4.js +0 -75
- package/lib/chunk-46RCWQO4.js.map +0 -1
- package/lib/chunk-4BXUE76H.cjs +0 -113
- package/lib/chunk-4BXUE76H.cjs.map +0 -1
- package/lib/chunk-4CNGMTH6.cjs +0 -79
- package/lib/chunk-4CNGMTH6.cjs.map +0 -1
- package/lib/chunk-4CRMLPHN.cjs +0 -26
- package/lib/chunk-4CRMLPHN.cjs.map +0 -1
- package/lib/chunk-4ELFSLLL.cjs +0 -147
- package/lib/chunk-4ELFSLLL.cjs.map +0 -1
- package/lib/chunk-4LMYBDQQ.cjs +0 -44
- package/lib/chunk-4LMYBDQQ.cjs.map +0 -1
- package/lib/chunk-4NEJHSEH.js +0 -132
- package/lib/chunk-4NEJHSEH.js.map +0 -1
- package/lib/chunk-4REWBXFD.js +0 -86
- package/lib/chunk-4REWBXFD.js.map +0 -1
- package/lib/chunk-4RL4CWOH.js +0 -77
- package/lib/chunk-4RL4CWOH.js.map +0 -1
- package/lib/chunk-4SWANGEQ.cjs +0 -53
- package/lib/chunk-4SWANGEQ.cjs.map +0 -1
- package/lib/chunk-4TB7FWFB.js +0 -118
- package/lib/chunk-4TB7FWFB.js.map +0 -1
- package/lib/chunk-4ZOH4O7D.cjs +0 -71
- package/lib/chunk-4ZOH4O7D.cjs.map +0 -1
- package/lib/chunk-54LQV5UH.cjs +0 -79
- package/lib/chunk-54LQV5UH.cjs.map +0 -1
- package/lib/chunk-57PKF2PE.js +0 -100
- package/lib/chunk-57PKF2PE.js.map +0 -1
- package/lib/chunk-5DN2QIMY.cjs +0 -62
- package/lib/chunk-5DN2QIMY.cjs.map +0 -1
- package/lib/chunk-5F4IZXCM.js +0 -96
- package/lib/chunk-5F4IZXCM.js.map +0 -1
- package/lib/chunk-5HDMKPWV.cjs +0 -261
- package/lib/chunk-5HDMKPWV.cjs.map +0 -1
- package/lib/chunk-5HTWZ23U.js +0 -191
- package/lib/chunk-5HTWZ23U.js.map +0 -1
- package/lib/chunk-5KBXT4U5.cjs +0 -131
- package/lib/chunk-5KBXT4U5.cjs.map +0 -1
- package/lib/chunk-5UBHGROG.cjs +0 -118
- package/lib/chunk-5UBHGROG.cjs.map +0 -1
- package/lib/chunk-5YTH4C6K.cjs +0 -61
- package/lib/chunk-5YTH4C6K.cjs.map +0 -1
- package/lib/chunk-64BRGUAS.js +0 -64
- package/lib/chunk-64BRGUAS.js.map +0 -1
- package/lib/chunk-64HD6KYR.js +0 -120
- package/lib/chunk-64HD6KYR.js.map +0 -1
- package/lib/chunk-6635U6I6.js +0 -89
- package/lib/chunk-6635U6I6.js.map +0 -1
- package/lib/chunk-66EFFJFO.cjs +0 -46
- package/lib/chunk-66EFFJFO.cjs.map +0 -1
- package/lib/chunk-6BSK4KQ4.js +0 -59
- package/lib/chunk-6BSK4KQ4.js.map +0 -1
- package/lib/chunk-6FK2RLCY.js +0 -118
- package/lib/chunk-6FK2RLCY.js.map +0 -1
- package/lib/chunk-6FW5EYVG.cjs +0 -70
- package/lib/chunk-6FW5EYVG.cjs.map +0 -1
- package/lib/chunk-6LIL7YUU.js +0 -84
- package/lib/chunk-6LIL7YUU.js.map +0 -1
- package/lib/chunk-6QXEMHEQ.cjs +0 -70
- package/lib/chunk-6QXEMHEQ.cjs.map +0 -1
- package/lib/chunk-6UDCKRNR.cjs +0 -66
- package/lib/chunk-6UDCKRNR.cjs.map +0 -1
- package/lib/chunk-6V7SGNPA.js +0 -50
- package/lib/chunk-6V7SGNPA.js.map +0 -1
- package/lib/chunk-6VVXOAOR.cjs +0 -88
- package/lib/chunk-6VVXOAOR.cjs.map +0 -1
- package/lib/chunk-6WTQLH3K.js +0 -42
- package/lib/chunk-6WTQLH3K.js.map +0 -1
- package/lib/chunk-6Z2VHNWH.js +0 -65
- package/lib/chunk-6Z2VHNWH.js.map +0 -1
- package/lib/chunk-725DGVNC.cjs +0 -115
- package/lib/chunk-725DGVNC.cjs.map +0 -1
- package/lib/chunk-73LROMKM.js +0 -77
- package/lib/chunk-73LROMKM.js.map +0 -1
- package/lib/chunk-73VT33FQ.cjs +0 -179
- package/lib/chunk-73VT33FQ.cjs.map +0 -1
- package/lib/chunk-74DUDJTD.cjs +0 -70
- package/lib/chunk-74DUDJTD.cjs.map +0 -1
- package/lib/chunk-7FX5ZF6C.cjs +0 -70
- package/lib/chunk-7FX5ZF6C.cjs.map +0 -1
- package/lib/chunk-7GF4FIU5.cjs +0 -70
- package/lib/chunk-7GF4FIU5.cjs.map +0 -1
- package/lib/chunk-7GWGBALJ.cjs +0 -44
- package/lib/chunk-7GWGBALJ.cjs.map +0 -1
- package/lib/chunk-7KFYD7IE.cjs +0 -93
- package/lib/chunk-7KFYD7IE.cjs.map +0 -1
- package/lib/chunk-7KGSA4KD.cjs +0 -79
- package/lib/chunk-7KGSA4KD.cjs.map +0 -1
- package/lib/chunk-7LF7GJXP.js +0 -91
- package/lib/chunk-7LF7GJXP.js.map +0 -1
- package/lib/chunk-7LFO74HP.js +0 -77
- package/lib/chunk-7LFO74HP.js.map +0 -1
- package/lib/chunk-7NAB64RL.js +0 -94
- package/lib/chunk-7NAB64RL.js.map +0 -1
- package/lib/chunk-7RCIROLT.cjs +0 -91
- package/lib/chunk-7RCIROLT.cjs.map +0 -1
- package/lib/chunk-7SYKOZW2.cjs +0 -120
- package/lib/chunk-7SYKOZW2.cjs.map +0 -1
- package/lib/chunk-7VY54Q4F.cjs +0 -193
- package/lib/chunk-7VY54Q4F.cjs.map +0 -1
- package/lib/chunk-7XR2VU4U.js +0 -17
- package/lib/chunk-7XR2VU4U.js.map +0 -1
- package/lib/chunk-A2XRUAF5.cjs +0 -98
- package/lib/chunk-A2XRUAF5.cjs.map +0 -1
- package/lib/chunk-A3E7TXAU.cjs +0 -77
- package/lib/chunk-A3E7TXAU.cjs.map +0 -1
- package/lib/chunk-A7YLTGME.cjs +0 -52
- package/lib/chunk-A7YLTGME.cjs.map +0 -1
- package/lib/chunk-AAKG25PZ.cjs +0 -35
- package/lib/chunk-AAKG25PZ.cjs.map +0 -1
- package/lib/chunk-ACINWNAI.cjs +0 -63
- package/lib/chunk-ACINWNAI.cjs.map +0 -1
- package/lib/chunk-ACJV26V5.js +0 -24
- package/lib/chunk-ACJV26V5.js.map +0 -1
- package/lib/chunk-AHEDGB7O.cjs +0 -70
- package/lib/chunk-AHEDGB7O.cjs.map +0 -1
- package/lib/chunk-AKGX2KGU.cjs +0 -120
- package/lib/chunk-AKGX2KGU.cjs.map +0 -1
- package/lib/chunk-ARUDDWBB.js +0 -118
- package/lib/chunk-ARUDDWBB.js.map +0 -1
- package/lib/chunk-AV74QAAL.cjs +0 -62
- package/lib/chunk-AV74QAAL.cjs.map +0 -1
- package/lib/chunk-AWNOYJCK.js +0 -89
- package/lib/chunk-AWNOYJCK.js.map +0 -1
- package/lib/chunk-AY6MAIH2.cjs +0 -70
- package/lib/chunk-AY6MAIH2.cjs.map +0 -1
- package/lib/chunk-AYQ3EO37.cjs +0 -53
- package/lib/chunk-AYQ3EO37.cjs.map +0 -1
- package/lib/chunk-AYVXWT5T.cjs +0 -94
- package/lib/chunk-AYVXWT5T.cjs.map +0 -1
- package/lib/chunk-BAHP5RVT.js +0 -77
- package/lib/chunk-BAHP5RVT.js.map +0 -1
- package/lib/chunk-BLUCOTKN.js +0 -86
- package/lib/chunk-BLUCOTKN.js.map +0 -1
- package/lib/chunk-BR5KDOV2.js +0 -321
- package/lib/chunk-BR5KDOV2.js.map +0 -1
- package/lib/chunk-BXEJLPGY.js +0 -89
- package/lib/chunk-BXEJLPGY.js.map +0 -1
- package/lib/chunk-BXMICTTB.cjs +0 -118
- package/lib/chunk-BXMICTTB.cjs.map +0 -1
- package/lib/chunk-C6UC5ZHC.cjs +0 -193
- package/lib/chunk-C6UC5ZHC.cjs.map +0 -1
- package/lib/chunk-CE2KQZFF.cjs +0 -81
- package/lib/chunk-CE2KQZFF.cjs.map +0 -1
- package/lib/chunk-CF6G5NYZ.cjs +0 -77
- package/lib/chunk-CF6G5NYZ.cjs.map +0 -1
- package/lib/chunk-CJV3ORJE.js +0 -69
- package/lib/chunk-CJV3ORJE.js.map +0 -1
- package/lib/chunk-COKZGPTM.cjs +0 -102
- package/lib/chunk-COKZGPTM.cjs.map +0 -1
- package/lib/chunk-CPP5NGSE.js +0 -79
- package/lib/chunk-CPP5NGSE.js.map +0 -1
- package/lib/chunk-CUMYADUK.js +0 -75
- package/lib/chunk-CUMYADUK.js.map +0 -1
- package/lib/chunk-CV6NGULK.js +0 -95
- package/lib/chunk-CV6NGULK.js.map +0 -1
- package/lib/chunk-CWQ7YPUO.cjs +0 -84
- package/lib/chunk-CWQ7YPUO.cjs.map +0 -1
- package/lib/chunk-D27Z5EQN.js +0 -58
- package/lib/chunk-D27Z5EQN.js.map +0 -1
- package/lib/chunk-D2HIXRXV.cjs +0 -96
- package/lib/chunk-D2HIXRXV.cjs.map +0 -1
- package/lib/chunk-D4LUNUAP.js +0 -68
- package/lib/chunk-D4LUNUAP.js.map +0 -1
- package/lib/chunk-DCVWFCSK.cjs +0 -70
- package/lib/chunk-DCVWFCSK.cjs.map +0 -1
- package/lib/chunk-DDTWGO6P.js +0 -60
- package/lib/chunk-DDTWGO6P.js.map +0 -1
- package/lib/chunk-DFEGY6GS.cjs +0 -62
- package/lib/chunk-DFEGY6GS.cjs.map +0 -1
- package/lib/chunk-DOMHAGCP.cjs +0 -53
- package/lib/chunk-DOMHAGCP.cjs.map +0 -1
- package/lib/chunk-DU6UOGK2.js +0 -82
- package/lib/chunk-DU6UOGK2.js.map +0 -1
- package/lib/chunk-DVLG7TWZ.cjs +0 -91
- package/lib/chunk-DVLG7TWZ.cjs.map +0 -1
- package/lib/chunk-DZREDTTG.cjs +0 -88
- package/lib/chunk-DZREDTTG.cjs.map +0 -1
- package/lib/chunk-E6ITJRKO.js +0 -60
- package/lib/chunk-E6ITJRKO.js.map +0 -1
- package/lib/chunk-E7EPXAMX.js +0 -82
- package/lib/chunk-E7EPXAMX.js.map +0 -1
- package/lib/chunk-EJKQ5MCF.cjs +0 -82
- package/lib/chunk-EJKQ5MCF.cjs.map +0 -1
- package/lib/chunk-EMXUZF6J.cjs +0 -70
- package/lib/chunk-EMXUZF6J.cjs.map +0 -1
- package/lib/chunk-ESBDLYK6.js +0 -68
- package/lib/chunk-ESBDLYK6.js.map +0 -1
- package/lib/chunk-EVLPAXNJ.cjs +0 -179
- package/lib/chunk-EVLPAXNJ.cjs.map +0 -1
- package/lib/chunk-F4NLCNYB.js +0 -259
- package/lib/chunk-F4NLCNYB.js.map +0 -1
- package/lib/chunk-F64C27CD.cjs +0 -62
- package/lib/chunk-F64C27CD.cjs.map +0 -1
- package/lib/chunk-F6VDKAXF.js +0 -92
- package/lib/chunk-F6VDKAXF.js.map +0 -1
- package/lib/chunk-FENNQUUM.js +0 -83
- package/lib/chunk-FENNQUUM.js.map +0 -1
- package/lib/chunk-FFWJMAPB.cjs +0 -179
- package/lib/chunk-FFWJMAPB.cjs.map +0 -1
- package/lib/chunk-FJUQHF5V.js +0 -116
- package/lib/chunk-FJUQHF5V.js.map +0 -1
- package/lib/chunk-FL7KX25A.cjs +0 -79
- package/lib/chunk-FL7KX25A.cjs.map +0 -1
- package/lib/chunk-FPIRLVUI.cjs +0 -67
- package/lib/chunk-FPIRLVUI.cjs.map +0 -1
- package/lib/chunk-FQQPF5PH.cjs +0 -70
- package/lib/chunk-FQQPF5PH.cjs.map +0 -1
- package/lib/chunk-FR5FBYDC.js +0 -12
- package/lib/chunk-FR5FBYDC.js.map +0 -1
- package/lib/chunk-FWATKADX.cjs +0 -19
- package/lib/chunk-FWATKADX.cjs.map +0 -1
- package/lib/chunk-FYNTCST6.cjs +0 -79
- package/lib/chunk-FYNTCST6.cjs.map +0 -1
- package/lib/chunk-FZE4HYVZ.cjs +0 -86
- package/lib/chunk-FZE4HYVZ.cjs.map +0 -1
- package/lib/chunk-G2OL4N6O.cjs +0 -77
- package/lib/chunk-G2OL4N6O.cjs.map +0 -1
- package/lib/chunk-G44NNKEE.js +0 -100
- package/lib/chunk-G44NNKEE.js.map +0 -1
- package/lib/chunk-G6CWGVGY.js +0 -100
- package/lib/chunk-G6CWGVGY.js.map +0 -1
- package/lib/chunk-G7JHR4VL.js +0 -27
- package/lib/chunk-G7JHR4VL.js.map +0 -1
- package/lib/chunk-GBCLN6L2.cjs +0 -91
- package/lib/chunk-GBCLN6L2.cjs.map +0 -1
- package/lib/chunk-GCTWUZ63.js +0 -226
- package/lib/chunk-GCTWUZ63.js.map +0 -1
- package/lib/chunk-GF6EB3SB.cjs +0 -228
- package/lib/chunk-GF6EB3SB.cjs.map +0 -1
- package/lib/chunk-GUWQQMAU.js +0 -77
- package/lib/chunk-GUWQQMAU.js.map +0 -1
- package/lib/chunk-GV226ISI.js +0 -116
- package/lib/chunk-GV226ISI.js.map +0 -1
- package/lib/chunk-GVLD7MEA.cjs +0 -84
- package/lib/chunk-GVLD7MEA.cjs.map +0 -1
- package/lib/chunk-GZTUF33C.cjs +0 -81
- package/lib/chunk-GZTUF33C.cjs.map +0 -1
- package/lib/chunk-H7YYSTRF.cjs +0 -80
- package/lib/chunk-H7YYSTRF.cjs.map +0 -1
- package/lib/chunk-HII3BPE4.cjs +0 -101
- package/lib/chunk-HII3BPE4.cjs.map +0 -1
- package/lib/chunk-HKBE7IOC.js +0 -124
- package/lib/chunk-HKBE7IOC.js.map +0 -1
- package/lib/chunk-HNAJC4VV.js +0 -177
- package/lib/chunk-HNAJC4VV.js.map +0 -1
- package/lib/chunk-HOC7FHWD.cjs +0 -120
- package/lib/chunk-HOC7FHWD.cjs.map +0 -1
- package/lib/chunk-HOXPLI6Q.cjs +0 -67
- package/lib/chunk-HOXPLI6Q.cjs.map +0 -1
- package/lib/chunk-HPCFY2ZQ.cjs +0 -77
- package/lib/chunk-HPCFY2ZQ.cjs.map +0 -1
- package/lib/chunk-HQUNX7CL.js +0 -75
- package/lib/chunk-HQUNX7CL.js.map +0 -1
- package/lib/chunk-HSDGKL6Z.cjs +0 -79
- package/lib/chunk-HSDGKL6Z.cjs.map +0 -1
- package/lib/chunk-HTVQWGLS.cjs +0 -102
- package/lib/chunk-HTVQWGLS.cjs.map +0 -1
- package/lib/chunk-HZEGSDKB.cjs +0 -71
- package/lib/chunk-HZEGSDKB.cjs.map +0 -1
- package/lib/chunk-HZMWZMF4.cjs +0 -106
- package/lib/chunk-HZMWZMF4.cjs.map +0 -1
- package/lib/chunk-IEKN66P4.js +0 -60
- package/lib/chunk-IEKN66P4.js.map +0 -1
- package/lib/chunk-IIKDCCA3.cjs +0 -70
- package/lib/chunk-IIKDCCA3.cjs.map +0 -1
- package/lib/chunk-ILVKL525.cjs +0 -79
- package/lib/chunk-ILVKL525.cjs.map +0 -1
- package/lib/chunk-IYXJ23H4.cjs +0 -238
- package/lib/chunk-IYXJ23H4.cjs.map +0 -1
- package/lib/chunk-J3KXL4OV.js +0 -123
- package/lib/chunk-J3KXL4OV.js.map +0 -1
- package/lib/chunk-JAA4ZJLS.js +0 -111
- package/lib/chunk-JAA4ZJLS.js.map +0 -1
- package/lib/chunk-JCV3BVRS.js +0 -68
- package/lib/chunk-JCV3BVRS.js.map +0 -1
- package/lib/chunk-JDGZJMLW.js +0 -84
- package/lib/chunk-JDGZJMLW.js.map +0 -1
- package/lib/chunk-JNM2HXLO.js +0 -177
- package/lib/chunk-JNM2HXLO.js.map +0 -1
- package/lib/chunk-JNVBK2KP.cjs +0 -79
- package/lib/chunk-JNVBK2KP.cjs.map +0 -1
- package/lib/chunk-JQACBAUK.js +0 -145
- package/lib/chunk-JQACBAUK.js.map +0 -1
- package/lib/chunk-JTRTRUEO.cjs +0 -118
- package/lib/chunk-JTRTRUEO.cjs.map +0 -1
- package/lib/chunk-JUDUNORO.js +0 -75
- package/lib/chunk-JUDUNORO.js.map +0 -1
- package/lib/chunk-JUVNDLBW.cjs +0 -79
- package/lib/chunk-JUVNDLBW.cjs.map +0 -1
- package/lib/chunk-JWSSXUIK.js +0 -68
- package/lib/chunk-JWSSXUIK.js.map +0 -1
- package/lib/chunk-K46CHJSQ.cjs +0 -91
- package/lib/chunk-K46CHJSQ.cjs.map +0 -1
- package/lib/chunk-K6AXRJSZ.js +0 -51
- package/lib/chunk-K6AXRJSZ.js.map +0 -1
- package/lib/chunk-KG6HYLQA.js +0 -82
- package/lib/chunk-KG6HYLQA.js.map +0 -1
- package/lib/chunk-KINWRBHD.cjs +0 -117
- package/lib/chunk-KINWRBHD.cjs.map +0 -1
- package/lib/chunk-KK6HRV3T.cjs +0 -118
- package/lib/chunk-KK6HRV3T.cjs.map +0 -1
- package/lib/chunk-KNUS43LX.js +0 -180
- package/lib/chunk-KNUS43LX.js.map +0 -1
- package/lib/chunk-KOLFSUY5.js +0 -68
- package/lib/chunk-KOLFSUY5.js.map +0 -1
- package/lib/chunk-KTPMMFGW.cjs +0 -62
- package/lib/chunk-KTPMMFGW.cjs.map +0 -1
- package/lib/chunk-KXYSGLYL.js +0 -236
- package/lib/chunk-KXYSGLYL.js.map +0 -1
- package/lib/chunk-KYFGIQQU.js +0 -164
- package/lib/chunk-KYFGIQQU.js.map +0 -1
- package/lib/chunk-L4AJNVP7.js +0 -109
- package/lib/chunk-L4AJNVP7.js.map +0 -1
- package/lib/chunk-LDH5ZZNG.js +0 -50
- package/lib/chunk-LDH5ZZNG.js.map +0 -1
- package/lib/chunk-LEIATFAE.js +0 -69
- package/lib/chunk-LEIATFAE.js.map +0 -1
- package/lib/chunk-LLOPTQHH.cjs +0 -81
- package/lib/chunk-LLOPTQHH.cjs.map +0 -1
- package/lib/chunk-LRGS5TTX.js +0 -78
- package/lib/chunk-LRGS5TTX.js.map +0 -1
- package/lib/chunk-MDPVNDQB.js +0 -61
- package/lib/chunk-MDPVNDQB.js.map +0 -1
- package/lib/chunk-MILGILOX.js +0 -92
- package/lib/chunk-MILGILOX.js.map +0 -1
- package/lib/chunk-MKHMZXII.js +0 -68
- package/lib/chunk-MKHMZXII.js.map +0 -1
- package/lib/chunk-MKLHIMSR.js +0 -104
- package/lib/chunk-MKLHIMSR.js.map +0 -1
- package/lib/chunk-MLCAGE5E.cjs +0 -88
- package/lib/chunk-MLCAGE5E.cjs.map +0 -1
- package/lib/chunk-MMENV7MT.js +0 -113
- package/lib/chunk-MMENV7MT.js.map +0 -1
- package/lib/chunk-MNPZXHAL.js +0 -51
- package/lib/chunk-MNPZXHAL.js.map +0 -1
- package/lib/chunk-MU45PVGO.js +0 -88
- package/lib/chunk-MU45PVGO.js.map +0 -1
- package/lib/chunk-MX26KU7G.cjs +0 -711
- package/lib/chunk-MX26KU7G.cjs.map +0 -1
- package/lib/chunk-N2DSBOQJ.cjs +0 -38
- package/lib/chunk-N2DSBOQJ.cjs.map +0 -1
- package/lib/chunk-N5J6FYO5.cjs +0 -79
- package/lib/chunk-N5J6FYO5.cjs.map +0 -1
- package/lib/chunk-ND543OLK.cjs +0 -60
- package/lib/chunk-ND543OLK.cjs.map +0 -1
- package/lib/chunk-NJAIBTZP.cjs +0 -88
- package/lib/chunk-NJAIBTZP.cjs.map +0 -1
- package/lib/chunk-NMH3INM3.js +0 -177
- package/lib/chunk-NMH3INM3.js.map +0 -1
- package/lib/chunk-NSO27CXS.cjs +0 -84
- package/lib/chunk-NSO27CXS.cjs.map +0 -1
- package/lib/chunk-NSZNXBRW.js +0 -79
- package/lib/chunk-NSZNXBRW.js.map +0 -1
- package/lib/chunk-NYLFAT67.cjs +0 -98
- package/lib/chunk-NYLFAT67.cjs.map +0 -1
- package/lib/chunk-NZJPRN6Y.cjs +0 -179
- package/lib/chunk-NZJPRN6Y.cjs.map +0 -1
- package/lib/chunk-O2CGA3YK.js +0 -77
- package/lib/chunk-O2CGA3YK.js.map +0 -1
- package/lib/chunk-O3M73EZH.js +0 -104
- package/lib/chunk-O3M73EZH.js.map +0 -1
- package/lib/chunk-O6NUS4RT.js +0 -116
- package/lib/chunk-O6NUS4RT.js.map +0 -1
- package/lib/chunk-O7QW23MC.cjs +0 -70
- package/lib/chunk-O7QW23MC.cjs.map +0 -1
- package/lib/chunk-OA7KUBOT.js +0 -42
- package/lib/chunk-OA7KUBOT.js.map +0 -1
- package/lib/chunk-OAMOVXH2.cjs +0 -182
- package/lib/chunk-OAMOVXH2.cjs.map +0 -1
- package/lib/chunk-OBUTKPDW.cjs +0 -166
- package/lib/chunk-OBUTKPDW.cjs.map +0 -1
- package/lib/chunk-OJIT6Q7G.cjs +0 -105
- package/lib/chunk-OJIT6Q7G.cjs.map +0 -1
- package/lib/chunk-OJVSDWUH.js +0 -67
- package/lib/chunk-OJVSDWUH.js.map +0 -1
- package/lib/chunk-ORT3KEK4.cjs +0 -71
- package/lib/chunk-ORT3KEK4.cjs.map +0 -1
- package/lib/chunk-OSUCUT5L.js +0 -116
- package/lib/chunk-OSUCUT5L.js.map +0 -1
- package/lib/chunk-OWB6F3LW.js +0 -68
- package/lib/chunk-OWB6F3LW.js.map +0 -1
- package/lib/chunk-OXFHYJ3H.js +0 -50
- package/lib/chunk-OXFHYJ3H.js.map +0 -1
- package/lib/chunk-P3KPR43S.cjs +0 -86
- package/lib/chunk-P3KPR43S.cjs.map +0 -1
- package/lib/chunk-P4GWTW4V.js +0 -68
- package/lib/chunk-P4GWTW4V.js.map +0 -1
- package/lib/chunk-PBZ4FUKI.js +0 -87
- package/lib/chunk-PBZ4FUKI.js.map +0 -1
- package/lib/chunk-PFEKEJ2W.js +0 -51
- package/lib/chunk-PFEKEJ2W.js.map +0 -1
- package/lib/chunk-PFKQAONK.cjs +0 -44
- package/lib/chunk-PFKQAONK.cjs.map +0 -1
- package/lib/chunk-PJZEVHPG.cjs +0 -106
- package/lib/chunk-PJZEVHPG.cjs.map +0 -1
- package/lib/chunk-PNIT3MKL.js +0 -38
- package/lib/chunk-PNIT3MKL.js.map +0 -1
- package/lib/chunk-PPNIL5F7.js +0 -129
- package/lib/chunk-PPNIL5F7.js.map +0 -1
- package/lib/chunk-PQBRZ6LK.js +0 -91
- package/lib/chunk-PQBRZ6LK.js.map +0 -1
- package/lib/chunk-PUKHYPS3.js +0 -191
- package/lib/chunk-PUKHYPS3.js.map +0 -1
- package/lib/chunk-PVTG6RGH.cjs +0 -70
- package/lib/chunk-PVTG6RGH.cjs.map +0 -1
- package/lib/chunk-PX2MVHPA.js +0 -77
- package/lib/chunk-PX2MVHPA.js.map +0 -1
- package/lib/chunk-Q3OGSHZ2.cjs +0 -40
- package/lib/chunk-Q3OGSHZ2.cjs.map +0 -1
- package/lib/chunk-Q4ISR5FW.js +0 -86
- package/lib/chunk-Q4ISR5FW.js.map +0 -1
- package/lib/chunk-Q4WAKG47.cjs +0 -62
- package/lib/chunk-Q4WAKG47.cjs.map +0 -1
- package/lib/chunk-Q65ORTR5.js +0 -42
- package/lib/chunk-Q65ORTR5.js.map +0 -1
- package/lib/chunk-Q6QQQNUG.js +0 -68
- package/lib/chunk-Q6QQQNUG.js.map +0 -1
- package/lib/chunk-QHYFDDND.js +0 -51
- package/lib/chunk-QHYFDDND.js.map +0 -1
- package/lib/chunk-QPS7BTLR.cjs +0 -134
- package/lib/chunk-QPS7BTLR.cjs.map +0 -1
- package/lib/chunk-QSVIL46T.js +0 -36
- package/lib/chunk-QSVIL46T.js.map +0 -1
- package/lib/chunk-QTAQMXWQ.js +0 -51
- package/lib/chunk-QTAQMXWQ.js.map +0 -1
- package/lib/chunk-QUBGA4YS.js +0 -177
- package/lib/chunk-QUBGA4YS.js.map +0 -1
- package/lib/chunk-QUGHIMMB.cjs +0 -323
- package/lib/chunk-QUGHIMMB.cjs.map +0 -1
- package/lib/chunk-QX55PP5U.cjs +0 -44
- package/lib/chunk-QX55PP5U.cjs.map +0 -1
- package/lib/chunk-QXAHFXEZ.js +0 -198
- package/lib/chunk-QXAHFXEZ.js.map +0 -1
- package/lib/chunk-QZRO7BUB.js +0 -799
- package/lib/chunk-QZRO7BUB.js.map +0 -1
- package/lib/chunk-RCYFNNCO.cjs +0 -85
- package/lib/chunk-RCYFNNCO.cjs.map +0 -1
- package/lib/chunk-RTPW6NMB.cjs +0 -91
- package/lib/chunk-RTPW6NMB.cjs.map +0 -1
- package/lib/chunk-RTSVSJE2.cjs +0 -200
- package/lib/chunk-RTSVSJE2.cjs.map +0 -1
- package/lib/chunk-S6S4GPAQ.js +0 -59
- package/lib/chunk-S6S4GPAQ.js.map +0 -1
- package/lib/chunk-SCOOPGKV.cjs +0 -88
- package/lib/chunk-SCOOPGKV.cjs.map +0 -1
- package/lib/chunk-SDL6UJON.cjs +0 -802
- package/lib/chunk-SDL6UJON.cjs.map +0 -1
- package/lib/chunk-SGNFCKQO.js +0 -33
- package/lib/chunk-SGNFCKQO.js.map +0 -1
- package/lib/chunk-SGPXFK4P.cjs +0 -62
- package/lib/chunk-SGPXFK4P.cjs.map +0 -1
- package/lib/chunk-SGZRHUYC.js +0 -68
- package/lib/chunk-SGZRHUYC.js.map +0 -1
- package/lib/chunk-SOM3UXRX.cjs +0 -52
- package/lib/chunk-SOM3UXRX.cjs.map +0 -1
- package/lib/chunk-SQ2PZ6ZD.cjs +0 -111
- package/lib/chunk-SQ2PZ6ZD.cjs.map +0 -1
- package/lib/chunk-T4UEU4KW.cjs +0 -79
- package/lib/chunk-T4UEU4KW.cjs.map +0 -1
- package/lib/chunk-T7652UVA.cjs +0 -61
- package/lib/chunk-T7652UVA.cjs.map +0 -1
- package/lib/chunk-TBA2DO4X.js +0 -709
- package/lib/chunk-TBA2DO4X.js.map +0 -1
- package/lib/chunk-TGXBLVWB.js +0 -68
- package/lib/chunk-TGXBLVWB.js.map +0 -1
- package/lib/chunk-TU5WEUEI.js +0 -118
- package/lib/chunk-TU5WEUEI.js.map +0 -1
- package/lib/chunk-TUFTU2H6.cjs +0 -79
- package/lib/chunk-TUFTU2H6.cjs.map +0 -1
- package/lib/chunk-UA5YECTZ.js +0 -120
- package/lib/chunk-UA5YECTZ.js.map +0 -1
- package/lib/chunk-UAXJTTC4.js +0 -77
- package/lib/chunk-UAXJTTC4.js.map +0 -1
- package/lib/chunk-UE3H52BE.js +0 -168
- package/lib/chunk-UE3H52BE.js.map +0 -1
- package/lib/chunk-UGBURQS3.js +0 -69
- package/lib/chunk-UGBURQS3.js.map +0 -1
- package/lib/chunk-UH4TNZY5.cjs +0 -16
- package/lib/chunk-UH4TNZY5.cjs.map +0 -1
- package/lib/chunk-UJILUN62.cjs +0 -93
- package/lib/chunk-UJILUN62.cjs.map +0 -1
- package/lib/chunk-UP7NWCUF.cjs +0 -122
- package/lib/chunk-UP7NWCUF.cjs.map +0 -1
- package/lib/chunk-UQNF7LOT.js +0 -68
- package/lib/chunk-UQNF7LOT.js.map +0 -1
- package/lib/chunk-URMDT6Z6.cjs +0 -89
- package/lib/chunk-URMDT6Z6.cjs.map +0 -1
- package/lib/chunk-UUZPU4JX.js +0 -68
- package/lib/chunk-UUZPU4JX.js.map +0 -1
- package/lib/chunk-UXIVYC4F.cjs +0 -122
- package/lib/chunk-UXIVYC4F.cjs.map +0 -1
- package/lib/chunk-UY6NVYRH.cjs +0 -118
- package/lib/chunk-UY6NVYRH.cjs.map +0 -1
- package/lib/chunk-V3XOE465.js +0 -77
- package/lib/chunk-V3XOE465.js.map +0 -1
- package/lib/chunk-V4ZRPJUW.cjs +0 -89
- package/lib/chunk-V4ZRPJUW.cjs.map +0 -1
- package/lib/chunk-VBNKXBG4.js +0 -59
- package/lib/chunk-VBNKXBG4.js.map +0 -1
- package/lib/chunk-VBU7IBOX.cjs +0 -125
- package/lib/chunk-VBU7IBOX.cjs.map +0 -1
- package/lib/chunk-VD3YHQ2H.js +0 -60
- package/lib/chunk-VD3YHQ2H.js.map +0 -1
- package/lib/chunk-VJRT2E4G.cjs +0 -843
- package/lib/chunk-VJRT2E4G.cjs.map +0 -1
- package/lib/chunk-VMPBMAQV.js +0 -89
- package/lib/chunk-VMPBMAQV.js.map +0 -1
- package/lib/chunk-VNB5WZB6.js +0 -86
- package/lib/chunk-VNB5WZB6.js.map +0 -1
- package/lib/chunk-VNHDFVDN.js +0 -75
- package/lib/chunk-VNHDFVDN.js.map +0 -1
- package/lib/chunk-VXIMDRQC.cjs +0 -105
- package/lib/chunk-VXIMDRQC.cjs.map +0 -1
- package/lib/chunk-VXL7WTC2.js +0 -191
- package/lib/chunk-VXL7WTC2.js.map +0 -1
- package/lib/chunk-VZJBSXZW.js +0 -73
- package/lib/chunk-VZJBSXZW.js.map +0 -1
- package/lib/chunk-W3ZJRYCV.cjs +0 -70
- package/lib/chunk-W3ZJRYCV.cjs.map +0 -1
- package/lib/chunk-WAOYIVLJ.js +0 -68
- package/lib/chunk-WAOYIVLJ.js.map +0 -1
- package/lib/chunk-WDYOKTTA.cjs +0 -53
- package/lib/chunk-WDYOKTTA.cjs.map +0 -1
- package/lib/chunk-WERBBPTJ.cjs +0 -83
- package/lib/chunk-WERBBPTJ.cjs.map +0 -1
- package/lib/chunk-WGP6VNYZ.cjs +0 -170
- package/lib/chunk-WGP6VNYZ.cjs.map +0 -1
- package/lib/chunk-WJP73T4E.js +0 -123
- package/lib/chunk-WJP73T4E.js.map +0 -1
- package/lib/chunk-WLGTM2W2.js +0 -116
- package/lib/chunk-WLGTM2W2.js.map +0 -1
- package/lib/chunk-WOGVBBBR.js +0 -89
- package/lib/chunk-WOGVBBBR.js.map +0 -1
- package/lib/chunk-WUU3J6DN.cjs +0 -94
- package/lib/chunk-WUU3J6DN.cjs.map +0 -1
- package/lib/chunk-XCAB3Z7N.js +0 -60
- package/lib/chunk-XCAB3Z7N.js.map +0 -1
- package/lib/chunk-XDLZHO5Z.cjs +0 -111
- package/lib/chunk-XDLZHO5Z.cjs.map +0 -1
- package/lib/chunk-XPO7TUFA.js +0 -60
- package/lib/chunk-XPO7TUFA.js.map +0 -1
- package/lib/chunk-XRBD4YKR.js +0 -109
- package/lib/chunk-XRBD4YKR.js.map +0 -1
- package/lib/chunk-XT2BVKF4.cjs +0 -179
- package/lib/chunk-XT2BVKF4.cjs.map +0 -1
- package/lib/chunk-XTZWE54R.cjs +0 -125
- package/lib/chunk-XTZWE54R.cjs.map +0 -1
- package/lib/chunk-Y3WT5EXO.js +0 -42
- package/lib/chunk-Y3WT5EXO.js.map +0 -1
- package/lib/chunk-Y7NRQM4E.cjs +0 -90
- package/lib/chunk-Y7NRQM4E.cjs.map +0 -1
- package/lib/chunk-Y7V5PLD2.js +0 -177
- package/lib/chunk-Y7V5PLD2.js.map +0 -1
- package/lib/chunk-Y7VRMVW6.cjs +0 -97
- package/lib/chunk-Y7VRMVW6.cjs.map +0 -1
- package/lib/chunk-YBQMDYDV.js +0 -80
- package/lib/chunk-YBQMDYDV.js.map +0 -1
- package/lib/chunk-YDUZ6BN3.cjs +0 -29
- package/lib/chunk-YDUZ6BN3.cjs.map +0 -1
- package/lib/chunk-YJFLGQEA.cjs +0 -77
- package/lib/chunk-YJFLGQEA.cjs.map +0 -1
- package/lib/chunk-YL6IDPPL.cjs +0 -53
- package/lib/chunk-YL6IDPPL.cjs.map +0 -1
- package/lib/chunk-YMOMN7N6.js +0 -53
- package/lib/chunk-YMOMN7N6.js.map +0 -1
- package/lib/chunk-YNH2XLTJ.js +0 -86
- package/lib/chunk-YNH2XLTJ.js.map +0 -1
- package/lib/chunk-YOLOWIUX.cjs +0 -84
- package/lib/chunk-YOLOWIUX.cjs.map +0 -1
- package/lib/chunk-YRSHQ35W.cjs +0 -70
- package/lib/chunk-YRSHQ35W.cjs.map +0 -1
- package/lib/chunk-YTAXPOOM.cjs +0 -102
- package/lib/chunk-YTAXPOOM.cjs.map +0 -1
- package/lib/chunk-YUCG4AHW.js +0 -113
- package/lib/chunk-YUCG4AHW.js.map +0 -1
- package/lib/chunk-YVGW6NIX.cjs +0 -75
- package/lib/chunk-YVGW6NIX.cjs.map +0 -1
- package/lib/chunk-YXHVYV2Z.cjs +0 -52
- package/lib/chunk-YXHVYV2Z.cjs.map +0 -1
- package/lib/chunk-YXQQRYSQ.cjs +0 -193
- package/lib/chunk-YXQQRYSQ.cjs.map +0 -1
- package/lib/chunk-YYXD2AW4.js +0 -835
- package/lib/chunk-YYXD2AW4.js.map +0 -1
- package/lib/chunk-ZNOJ5RLV.js +0 -77
- package/lib/chunk-ZNOJ5RLV.js.map +0 -1
- package/lib/chunk-ZOOQY332.js +0 -60
- package/lib/chunk-ZOOQY332.js.map +0 -1
- package/lib/chunk-ZQ76QE3K.cjs +0 -120
- package/lib/chunk-ZQ76QE3K.cjs.map +0 -1
- package/lib/chunk-ZYY27NWP.js +0 -82
- package/lib/chunk-ZYY27NWP.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/stock_line_items.ts"],"names":[],"mappings":"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","file":"chunk-OSUCUT5L.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { EventStore } from './event_stores'\nimport type { LineItem, LineItemType } from './line_items'\nimport type { Shipment, ShipmentType } from './shipments'\nimport type { Sku, SkuType } from './skus'\nimport type { StockItem, StockItemType } from './stock_items'\nimport type { StockReservation } from './stock_reservations'\n\ntype StockLineItemType = 'stock_line_items'\ntype StockLineItemRel = ResourceRel & { type: StockLineItemType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype LineItemRel = ResourceRel & { type: LineItemType }\ntype StockItemRel = ResourceRel & { type: StockItemType }\ntype SkuRel = ResourceRel & { type: SkuType }\n\nexport type StockLineItemSort = Pick<StockLineItem, 'id' | 'quantity'> & ResourceSort\n// export type StockLineItemFilter = Pick<StockLineItem, 'id' | 'sku_code' | 'quantity'> & ResourceFilter\n\n/**\n * The Stock line item object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/stock_line_items endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/stock_line_items/object\n */\ninterface StockLineItem extends Resource {\n readonly type: StockLineItemType\n\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The code of the associated bundle.\n * @example ```\"BUNDLEMM000000FFFFFFXLXX\"```\n */\n bundle_code?: string | null\n /**\n * The line item quantity.\n * @example ```4```\n */\n quantity: number\n /**\n * The internal name of the associated line item.\n * @example ```\"Men's Black T-shirt with White Logo (XL)\"```\n */\n name?: string | null\n /**\n * The image_url of the associated line item.\n * @example ```\"https://img.yourdomain.com/skus/xYZkjABcde.png\"```\n */\n image_url?: string | null\n\n shipment?: Shipment | null\n line_item?: LineItem | null\n stock_item?: StockItem | null\n sku?: Sku | null\n stock_reservation?: StockReservation | null\n event_stores?: EventStore[] | null\n}\n\ninterface StockLineItemCreate extends ResourceCreate {\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The line item quantity.\n * @example ```4```\n */\n quantity: number\n\n shipment?: ShipmentRel | null\n line_item?: LineItemRel | null\n stock_item?: StockItemRel | null\n sku?: SkuRel | null\n}\n\ninterface StockLineItemUpdate extends ResourceUpdate {\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The line item quantity.\n * @example ```4```\n */\n quantity?: number | null\n /**\n * Send this attribute if you want to automatically reserve the stock for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.\n * @example ```true```\n */\n _reserve_stock?: boolean | null\n /**\n * Send this attribute if you want to automatically destroy the stock reservation for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.\n * @example ```true```\n */\n _release_stock?: boolean | null\n /**\n * Send this attribute if you want to automatically decrement and release the stock this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.\n * @example ```true```\n */\n _decrement_stock?: boolean | null\n\n shipment?: ShipmentRel | null\n line_item?: LineItemRel | null\n stock_item?: StockItemRel | null\n sku?: SkuRel | null\n}\n\nclass StockLineItems extends ApiResource<StockLineItem> {\n static readonly TYPE: StockLineItemType = 'stock_line_items' as const\n\n async create(\n resource: StockLineItemCreate,\n params?: QueryParamsRetrieve<StockLineItem>,\n options?: ResourcesConfig,\n ): Promise<StockLineItem> {\n return this.resources.create<StockLineItemCreate, StockLineItem>(\n { ...resource, type: StockLineItems.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: StockLineItemUpdate,\n params?: QueryParamsRetrieve<StockLineItem>,\n options?: ResourcesConfig,\n ): Promise<StockLineItem> {\n return this.resources.update<StockLineItemUpdate, StockLineItem>(\n { ...resource, type: StockLineItems.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: StockLineItems.TYPE } : id, options)\n }\n\n async shipment(\n stockLineItemId: string | StockLineItem,\n params?: QueryParamsRetrieve<Shipment>,\n options?: ResourcesConfig,\n ): Promise<Shipment> {\n const _stockLineItemId = (stockLineItemId as StockLineItem).id || (stockLineItemId as string)\n return this.resources.fetch<Shipment>(\n { type: 'shipments' },\n `stock_line_items/${_stockLineItemId}/shipment`,\n params,\n options,\n ) as unknown as Shipment\n }\n\n async line_item(\n stockLineItemId: string | StockLineItem,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n const _stockLineItemId = (stockLineItemId as StockLineItem).id || (stockLineItemId as string)\n return this.resources.fetch<LineItem>(\n { type: 'line_items' },\n `stock_line_items/${_stockLineItemId}/line_item`,\n params,\n options,\n ) as unknown as LineItem\n }\n\n async stock_item(\n stockLineItemId: string | StockLineItem,\n params?: QueryParamsRetrieve<StockItem>,\n options?: ResourcesConfig,\n ): Promise<StockItem> {\n const _stockLineItemId = (stockLineItemId as StockLineItem).id || (stockLineItemId as string)\n return this.resources.fetch<StockItem>(\n { type: 'stock_items' },\n `stock_line_items/${_stockLineItemId}/stock_item`,\n params,\n options,\n ) as unknown as StockItem\n }\n\n async sku(\n stockLineItemId: string | StockLineItem,\n params?: QueryParamsRetrieve<Sku>,\n options?: ResourcesConfig,\n ): Promise<Sku> {\n const _stockLineItemId = (stockLineItemId as StockLineItem).id || (stockLineItemId as string)\n return this.resources.fetch<Sku>(\n { type: 'skus' },\n `stock_line_items/${_stockLineItemId}/sku`,\n params,\n options,\n ) as unknown as Sku\n }\n\n async stock_reservation(\n stockLineItemId: string | StockLineItem,\n params?: QueryParamsRetrieve<StockReservation>,\n options?: ResourcesConfig,\n ): Promise<StockReservation> {\n const _stockLineItemId = (stockLineItemId as StockLineItem).id || (stockLineItemId as string)\n return this.resources.fetch<StockReservation>(\n { type: 'stock_reservations' },\n `stock_line_items/${_stockLineItemId}/stock_reservation`,\n params,\n options,\n ) as unknown as StockReservation\n }\n\n async event_stores(\n stockLineItemId: string | StockLineItem,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _stockLineItemId = (stockLineItemId as StockLineItem).id || (stockLineItemId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `stock_line_items/${_stockLineItemId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _reserve_stock(\n id: string | StockLineItem,\n params?: QueryParamsRetrieve<StockLineItem>,\n options?: ResourcesConfig,\n ): Promise<StockLineItem> {\n return this.resources.update<StockLineItemUpdate, StockLineItem>(\n { id: typeof id === 'string' ? id : id.id, type: StockLineItems.TYPE, _reserve_stock: true },\n params,\n options,\n )\n }\n\n async _release_stock(\n id: string | StockLineItem,\n params?: QueryParamsRetrieve<StockLineItem>,\n options?: ResourcesConfig,\n ): Promise<StockLineItem> {\n return this.resources.update<StockLineItemUpdate, StockLineItem>(\n { id: typeof id === 'string' ? id : id.id, type: StockLineItems.TYPE, _release_stock: true },\n params,\n options,\n )\n }\n\n async _decrement_stock(\n id: string | StockLineItem,\n params?: QueryParamsRetrieve<StockLineItem>,\n options?: ResourcesConfig,\n ): Promise<StockLineItem> {\n return this.resources.update<StockLineItemUpdate, StockLineItem>(\n { id: typeof id === 'string' ? id : id.id, type: StockLineItems.TYPE, _decrement_stock: true },\n params,\n options,\n )\n }\n\n isStockLineItem(resource: any): resource is StockLineItem {\n return resource.type && resource.type === StockLineItems.TYPE\n }\n\n relationship(id: string | ResourceId | null): StockLineItemRel {\n return super.relationshipOneToOne<StockLineItemRel>(id)\n }\n\n relationshipToMany(...ids: string[]): StockLineItemRel[] {\n return super.relationshipOneToMany<StockLineItemRel>(...ids)\n }\n\n type(): StockLineItemType {\n return StockLineItems.TYPE\n }\n}\n\nconst instance = new StockLineItems()\nexport default instance\n\nexport type { StockLineItem, StockLineItemCreate, StockLineItems, StockLineItemType, StockLineItemUpdate }\n"]}
|
package/lib/chunk-OWB6F3LW.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-YYXD2AW4.js';
|
|
2
|
-
|
|
3
|
-
// gen/resources/customer_payment_sources.ts
|
|
4
|
-
var CustomerPaymentSources = class _CustomerPaymentSources extends ApiResource {
|
|
5
|
-
static TYPE = "customer_payment_sources";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create(
|
|
8
|
-
{ ...resource, type: _CustomerPaymentSources.TYPE },
|
|
9
|
-
params,
|
|
10
|
-
options
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
async update(resource, params, options) {
|
|
14
|
-
return this.resources.update(
|
|
15
|
-
{ ...resource, type: _CustomerPaymentSources.TYPE },
|
|
16
|
-
params,
|
|
17
|
-
options
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
async delete(id, options) {
|
|
21
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _CustomerPaymentSources.TYPE } : id, options);
|
|
22
|
-
}
|
|
23
|
-
async customer(customerPaymentSourceId, params, options) {
|
|
24
|
-
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
|
25
|
-
return this.resources.fetch(
|
|
26
|
-
{ type: "customers" },
|
|
27
|
-
`customer_payment_sources/${_customerPaymentSourceId}/customer`,
|
|
28
|
-
params,
|
|
29
|
-
options
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
async payment_method(customerPaymentSourceId, params, options) {
|
|
33
|
-
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
|
34
|
-
return this.resources.fetch(
|
|
35
|
-
{ type: "payment_methods" },
|
|
36
|
-
`customer_payment_sources/${_customerPaymentSourceId}/payment_method`,
|
|
37
|
-
params,
|
|
38
|
-
options
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
async event_stores(customerPaymentSourceId, params, options) {
|
|
42
|
-
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
|
43
|
-
return this.resources.fetch(
|
|
44
|
-
{ type: "event_stores" },
|
|
45
|
-
`customer_payment_sources/${_customerPaymentSourceId}/event_stores`,
|
|
46
|
-
params,
|
|
47
|
-
options
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
isCustomerPaymentSource(resource) {
|
|
51
|
-
return resource.type && resource.type === _CustomerPaymentSources.TYPE;
|
|
52
|
-
}
|
|
53
|
-
relationship(id) {
|
|
54
|
-
return super.relationshipOneToOne(id);
|
|
55
|
-
}
|
|
56
|
-
relationshipToMany(...ids) {
|
|
57
|
-
return super.relationshipOneToMany(...ids);
|
|
58
|
-
}
|
|
59
|
-
type() {
|
|
60
|
-
return _CustomerPaymentSources.TYPE;
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
var instance = new CustomerPaymentSources();
|
|
64
|
-
var customer_payment_sources_default = instance;
|
|
65
|
-
|
|
66
|
-
export { customer_payment_sources_default };
|
|
67
|
-
//# sourceMappingURL=chunk-OWB6F3LW.js.map
|
|
68
|
-
//# sourceMappingURL=chunk-OWB6F3LW.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/customer_payment_sources.ts"],"names":[],"mappings":";;;AA+IA,IAAM,sBAAA,GAAN,MAAM,uBAAA,SAA+B,WAAA,CAAmC;AAAA,EACtE,OAAgB,IAAA,GAAkC,0BAAA;AAAA,EAElD,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACgC;AAChC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,wBAAuB,IAAA,EAAK;AAAA,MACjD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACgC;AAChC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,wBAAuB,IAAA,EAAK;AAAA,MACjD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,uBAAA,CAAuB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC9G;AAAA,EAEA,MAAM,QAAA,CACJ,uBAAA,EACA,MAAA,EACA,OAAA,EACmB;AACnB,IAAA,MAAM,wBAAA,GACH,wBAAkD,EAAA,IAAO,uBAAA;AAC5D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,WAAA,EAAY;AAAA,MACpB,4BAA4B,wBAAwB,CAAA,SAAA,CAAA;AAAA,MACpD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,cAAA,CACJ,uBAAA,EACA,MAAA,EACA,OAAA,EACwB;AACxB,IAAA,MAAM,wBAAA,GACH,wBAAkD,EAAA,IAAO,uBAAA;AAC5D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,iBAAA,EAAkB;AAAA,MAC1B,4BAA4B,wBAAwB,CAAA,eAAA,CAAA;AAAA,MACpD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,uBAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,wBAAA,GACH,wBAAkD,EAAA,IAAO,uBAAA;AAC5D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,4BAA4B,wBAAwB,CAAA,aAAA,CAAA;AAAA,MACpD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,wBAAwB,QAAA,EAAkD;AACxE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,uBAAA,CAAuB,IAAA;AAAA,EACnE;AAAA,EAEA,aAAa,EAAA,EAA0D;AACrE,IAAA,OAAO,KAAA,CAAM,qBAA+C,EAAE,CAAA;AAAA,EAChE;AAAA,EAEA,sBAAsB,GAAA,EAA2C;AAC/D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAgD,GAAG,GAAG,CAAA;AAAA,EACrE;AAAA,EAEA,IAAA,GAAkC;AAChC,IAAA,OAAO,uBAAA,CAAuB,IAAA;AAAA,EAChC;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,sBAAA,EAAuB;AAC5C,IAAO,gCAAA,GAAQ","file":"chunk-OWB6F3LW.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { AdyenPayment, AdyenPaymentType } from './adyen_payments'\nimport type { AxervePayment, AxervePaymentType } from './axerve_payments'\nimport type { BraintreePayment, BraintreePaymentType } from './braintree_payments'\nimport type { CheckoutComPayment, CheckoutComPaymentType } from './checkout_com_payments'\nimport type { Customer, CustomerType } from './customers'\nimport type { EventStore } from './event_stores'\nimport type { ExternalPayment, ExternalPaymentType } from './external_payments'\nimport type { KlarnaPayment, KlarnaPaymentType } from './klarna_payments'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { PaypalPayment, PaypalPaymentType } from './paypal_payments'\nimport type { SatispayPayment, SatispayPaymentType } from './satispay_payments'\nimport type { StripePayment, StripePaymentType } from './stripe_payments'\nimport type { WireTransfer, WireTransferType } from './wire_transfers'\n\ntype CustomerPaymentSourceType = 'customer_payment_sources'\ntype CustomerPaymentSourceRel = ResourceRel & { type: CustomerPaymentSourceType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\ntype AdyenPaymentRel = ResourceRel & { type: AdyenPaymentType }\ntype AxervePaymentRel = ResourceRel & { type: AxervePaymentType }\ntype BraintreePaymentRel = ResourceRel & { type: BraintreePaymentType }\ntype CheckoutComPaymentRel = ResourceRel & { type: CheckoutComPaymentType }\ntype ExternalPaymentRel = ResourceRel & { type: ExternalPaymentType }\ntype KlarnaPaymentRel = ResourceRel & { type: KlarnaPaymentType }\ntype PaypalPaymentRel = ResourceRel & { type: PaypalPaymentType }\ntype SatispayPaymentRel = ResourceRel & { type: SatispayPaymentType }\ntype StripePaymentRel = ResourceRel & { type: StripePaymentType }\ntype WireTransferRel = ResourceRel & { type: WireTransferType }\n\nexport type CustomerPaymentSourceSort = Pick<CustomerPaymentSource, 'id'> & ResourceSort\n// export type CustomerPaymentSourceFilter = Pick<CustomerPaymentSource, 'id' | 'name' | 'payment_source_token'> & ResourceFilter\n\n/**\n * The Customer payment source object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/customer_payment_sources endpoint.\n *\n * @deprecated Deprecated in API version 2026-05.\n * @link https://docs.commercelayer.io/core-api-reference/customer_payment_sources/object\n */\ninterface CustomerPaymentSource extends Resource {\n readonly type: CustomerPaymentSourceType\n\n /**\n * Returns the associated payment source's name.\n * @example ```\"XXXX-XXXX-XXXX-1111\"```\n */\n name?: string | null\n /**\n * Returns the customer gateway token stored in the gateway.\n * @example ```\"cus_xxxyyyzzz\"```\n */\n customer_token?: string | null\n /**\n * Returns the payment source token stored in the gateway.\n * @example ```\"pm_xxxyyyzzz\"```\n */\n payment_source_token?: string | null\n\n customer?: Customer | null\n payment_method?: PaymentMethod | null\n payment_source?:\n | AdyenPayment\n | AxervePayment\n | BraintreePayment\n | CheckoutComPayment\n | ExternalPayment\n | KlarnaPayment\n | PaypalPayment\n | SatispayPayment\n | StripePayment\n | WireTransfer\n | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomerPaymentSourceCreate extends ResourceCreate {\n /**\n * Returns the customer gateway token stored in the gateway.\n * @example ```\"cus_xxxyyyzzz\"```\n */\n customer_token?: string | null\n /**\n * Returns the payment source token stored in the gateway.\n * @example ```\"pm_xxxyyyzzz\"```\n */\n payment_source_token?: string | null\n\n customer: CustomerRel\n payment_method?: PaymentMethodRel | null\n payment_source?:\n | AdyenPaymentRel\n | AxervePaymentRel\n | BraintreePaymentRel\n | CheckoutComPaymentRel\n | ExternalPaymentRel\n | KlarnaPaymentRel\n | PaypalPaymentRel\n | SatispayPaymentRel\n | StripePaymentRel\n | WireTransferRel\n | null\n}\n\ninterface CustomerPaymentSourceUpdate extends ResourceUpdate {\n /**\n * Returns the customer gateway token stored in the gateway.\n * @example ```\"cus_xxxyyyzzz\"```\n */\n customer_token?: string | null\n /**\n * Returns the payment source token stored in the gateway.\n * @example ```\"pm_xxxyyyzzz\"```\n */\n payment_source_token?: string | null\n\n customer?: CustomerRel | null\n payment_method?: PaymentMethodRel | null\n payment_source?:\n | AdyenPaymentRel\n | AxervePaymentRel\n | BraintreePaymentRel\n | CheckoutComPaymentRel\n | ExternalPaymentRel\n | KlarnaPaymentRel\n | PaypalPaymentRel\n | SatispayPaymentRel\n | StripePaymentRel\n | WireTransferRel\n | null\n}\n\n/** @deprecated Deprecated in API version 2026-05. */\nclass CustomerPaymentSources extends ApiResource<CustomerPaymentSource> {\n static readonly TYPE: CustomerPaymentSourceType = 'customer_payment_sources' as const\n\n async create(\n resource: CustomerPaymentSourceCreate,\n params?: QueryParamsRetrieve<CustomerPaymentSource>,\n options?: ResourcesConfig,\n ): Promise<CustomerPaymentSource> {\n return this.resources.create<CustomerPaymentSourceCreate, CustomerPaymentSource>(\n { ...resource, type: CustomerPaymentSources.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CustomerPaymentSourceUpdate,\n params?: QueryParamsRetrieve<CustomerPaymentSource>,\n options?: ResourcesConfig,\n ): Promise<CustomerPaymentSource> {\n return this.resources.update<CustomerPaymentSourceUpdate, CustomerPaymentSource>(\n { ...resource, type: CustomerPaymentSources.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: CustomerPaymentSources.TYPE } : id, options)\n }\n\n async customer(\n customerPaymentSourceId: string | CustomerPaymentSource,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n const _customerPaymentSourceId =\n (customerPaymentSourceId as CustomerPaymentSource).id || (customerPaymentSourceId as string)\n return this.resources.fetch<Customer>(\n { type: 'customers' },\n `customer_payment_sources/${_customerPaymentSourceId}/customer`,\n params,\n options,\n ) as unknown as Customer\n }\n\n async payment_method(\n customerPaymentSourceId: string | CustomerPaymentSource,\n params?: QueryParamsRetrieve<PaymentMethod>,\n options?: ResourcesConfig,\n ): Promise<PaymentMethod> {\n const _customerPaymentSourceId =\n (customerPaymentSourceId as CustomerPaymentSource).id || (customerPaymentSourceId as string)\n return this.resources.fetch<PaymentMethod>(\n { type: 'payment_methods' },\n `customer_payment_sources/${_customerPaymentSourceId}/payment_method`,\n params,\n options,\n ) as unknown as PaymentMethod\n }\n\n async event_stores(\n customerPaymentSourceId: string | CustomerPaymentSource,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customerPaymentSourceId =\n (customerPaymentSourceId as CustomerPaymentSource).id || (customerPaymentSourceId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `customer_payment_sources/${_customerPaymentSourceId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isCustomerPaymentSource(resource: any): resource is CustomerPaymentSource {\n return resource.type && resource.type === CustomerPaymentSources.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomerPaymentSourceRel {\n return super.relationshipOneToOne<CustomerPaymentSourceRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomerPaymentSourceRel[] {\n return super.relationshipOneToMany<CustomerPaymentSourceRel>(...ids)\n }\n\n type(): CustomerPaymentSourceType {\n return CustomerPaymentSources.TYPE\n }\n}\n\nconst instance = new CustomerPaymentSources()\nexport default instance\n\nexport type {\n CustomerPaymentSource,\n CustomerPaymentSourceCreate,\n CustomerPaymentSources,\n CustomerPaymentSourceType,\n CustomerPaymentSourceUpdate,\n}\n"]}
|
package/lib/chunk-OXFHYJ3H.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-YYXD2AW4.js';
|
|
2
|
-
|
|
3
|
-
// gen/resources/custom_promotion_rules.ts
|
|
4
|
-
var CustomPromotionRules = class _CustomPromotionRules extends ApiResource {
|
|
5
|
-
static TYPE = "custom_promotion_rules";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create(
|
|
8
|
-
{ ...resource, type: _CustomPromotionRules.TYPE },
|
|
9
|
-
params,
|
|
10
|
-
options
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
async update(resource, params, options) {
|
|
14
|
-
return this.resources.update(
|
|
15
|
-
{ ...resource, type: _CustomPromotionRules.TYPE },
|
|
16
|
-
params,
|
|
17
|
-
options
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
async delete(id, options) {
|
|
21
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _CustomPromotionRules.TYPE } : id, options);
|
|
22
|
-
}
|
|
23
|
-
async event_stores(customPromotionRuleId, params, options) {
|
|
24
|
-
const _customPromotionRuleId = customPromotionRuleId.id || customPromotionRuleId;
|
|
25
|
-
return this.resources.fetch(
|
|
26
|
-
{ type: "event_stores" },
|
|
27
|
-
`custom_promotion_rules/${_customPromotionRuleId}/event_stores`,
|
|
28
|
-
params,
|
|
29
|
-
options
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
isCustomPromotionRule(resource) {
|
|
33
|
-
return resource.type && resource.type === _CustomPromotionRules.TYPE;
|
|
34
|
-
}
|
|
35
|
-
relationship(id) {
|
|
36
|
-
return super.relationshipOneToOne(id);
|
|
37
|
-
}
|
|
38
|
-
relationshipToMany(...ids) {
|
|
39
|
-
return super.relationshipOneToMany(...ids);
|
|
40
|
-
}
|
|
41
|
-
type() {
|
|
42
|
-
return _CustomPromotionRules.TYPE;
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
var instance = new CustomPromotionRules();
|
|
46
|
-
var custom_promotion_rules_default = instance;
|
|
47
|
-
|
|
48
|
-
export { custom_promotion_rules_default };
|
|
49
|
-
//# sourceMappingURL=chunk-OXFHYJ3H.js.map
|
|
50
|
-
//# sourceMappingURL=chunk-OXFHYJ3H.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/custom_promotion_rules.ts"],"names":[],"mappings":";;;AAoGA,IAAM,oBAAA,GAAN,MAAM,qBAAA,SAA6B,WAAA,CAAiC;AAAA,EAClE,OAAgB,IAAA,GAAgC,wBAAA;AAAA,EAEhD,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC8B;AAC9B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,sBAAqB,IAAA,EAAK;AAAA,MAC/C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC8B;AAC9B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,sBAAqB,IAAA,EAAK;AAAA,MAC/C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,qBAAA,CAAqB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC5G;AAAA,EAEA,MAAM,YAAA,CACJ,qBAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,sBAAA,GACH,sBAA8C,EAAA,IAAO,qBAAA;AACxD,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,0BAA0B,sBAAsB,CAAA,aAAA,CAAA;AAAA,MAChD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,sBAAsB,QAAA,EAAgD;AACpE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,qBAAA,CAAqB,IAAA;AAAA,EACjE;AAAA,EAEA,aAAa,EAAA,EAAwD;AACnE,IAAA,OAAO,KAAA,CAAM,qBAA6C,EAAE,CAAA;AAAA,EAC9D;AAAA,EAEA,sBAAsB,GAAA,EAAyC;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA8C,GAAG,GAAG,CAAA;AAAA,EACnE;AAAA,EAEA,IAAA,GAAgC;AAC9B,IAAA,OAAO,qBAAA,CAAqB,IAAA;AAAA,EAC9B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,oBAAA,EAAqB;AAC1C,IAAO,8BAAA,GAAQ","file":"chunk-OXFHYJ3H.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { BuyXPayYPromotion, BuyXPayYPromotionType } from './buy_x_pay_y_promotions'\nimport type { EventStore } from './event_stores'\nimport type { ExternalPromotion, ExternalPromotionType } from './external_promotions'\nimport type { FixedAmountPromotion, FixedAmountPromotionType } from './fixed_amount_promotions'\nimport type { FixedPricePromotion, FixedPricePromotionType } from './fixed_price_promotions'\nimport type { FlexPromotion, FlexPromotionType } from './flex_promotions'\nimport type { FreeGiftPromotion, FreeGiftPromotionType } from './free_gift_promotions'\nimport type { FreeShippingPromotion, FreeShippingPromotionType } from './free_shipping_promotions'\nimport type { PercentageDiscountPromotion, PercentageDiscountPromotionType } from './percentage_discount_promotions'\n\ntype CustomPromotionRuleType = 'custom_promotion_rules'\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype PercentageDiscountPromotionRel = ResourceRel & { type: PercentageDiscountPromotionType }\ntype FreeShippingPromotionRel = ResourceRel & { type: FreeShippingPromotionType }\ntype BuyXPayYPromotionRel = ResourceRel & { type: BuyXPayYPromotionType }\ntype FreeGiftPromotionRel = ResourceRel & { type: FreeGiftPromotionType }\ntype FixedPricePromotionRel = ResourceRel & { type: FixedPricePromotionType }\ntype ExternalPromotionRel = ResourceRel & { type: ExternalPromotionType }\ntype FixedAmountPromotionRel = ResourceRel & { type: FixedAmountPromotionType }\ntype FlexPromotionRel = ResourceRel & { type: FlexPromotionType }\n\nexport type CustomPromotionRuleSort = Pick<CustomPromotionRule, 'id'> & ResourceSort\n// export type CustomPromotionRuleFilter = Pick<CustomPromotionRule, 'id'> & ResourceFilter\n\n/**\n * The Custom promotion rule object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/custom_promotion_rules endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/custom_promotion_rules/object\n */\ninterface CustomPromotionRule extends Resource {\n readonly type: CustomPromotionRuleType\n\n /**\n * The filters used to trigger promotion on the matching order and its relationships attributes.\n * @example ```{\"status_eq\":\"pending\",\"line_items_sku_code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n\n promotion?:\n | PercentageDiscountPromotion\n | FreeShippingPromotion\n | BuyXPayYPromotion\n | FreeGiftPromotion\n | FixedPricePromotion\n | ExternalPromotion\n | FixedAmountPromotion\n | FlexPromotion\n | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomPromotionRuleCreate extends ResourceCreate {\n /**\n * The filters used to trigger promotion on the matching order and its relationships attributes.\n * @example ```{\"status_eq\":\"pending\",\"line_items_sku_code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n\n promotion:\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n}\n\ninterface CustomPromotionRuleUpdate extends ResourceUpdate {\n /**\n * The filters used to trigger promotion on the matching order and its relationships attributes.\n * @example ```{\"status_eq\":\"pending\",\"line_items_sku_code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n\n promotion?:\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n | null\n}\n\nclass CustomPromotionRules extends ApiResource<CustomPromotionRule> {\n static readonly TYPE: CustomPromotionRuleType = 'custom_promotion_rules' as const\n\n async create(\n resource: CustomPromotionRuleCreate,\n params?: QueryParamsRetrieve<CustomPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CustomPromotionRule> {\n return this.resources.create<CustomPromotionRuleCreate, CustomPromotionRule>(\n { ...resource, type: CustomPromotionRules.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CustomPromotionRuleUpdate,\n params?: QueryParamsRetrieve<CustomPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CustomPromotionRule> {\n return this.resources.update<CustomPromotionRuleUpdate, CustomPromotionRule>(\n { ...resource, type: CustomPromotionRules.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: CustomPromotionRules.TYPE } : id, options)\n }\n\n async event_stores(\n customPromotionRuleId: string | CustomPromotionRule,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customPromotionRuleId =\n (customPromotionRuleId as CustomPromotionRule).id || (customPromotionRuleId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `custom_promotion_rules/${_customPromotionRuleId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isCustomPromotionRule(resource: any): resource is CustomPromotionRule {\n return resource.type && resource.type === CustomPromotionRules.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomPromotionRuleRel {\n return super.relationshipOneToOne<CustomPromotionRuleRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomPromotionRuleRel[] {\n return super.relationshipOneToMany<CustomPromotionRuleRel>(...ids)\n }\n\n type(): CustomPromotionRuleType {\n return CustomPromotionRules.TYPE\n }\n}\n\nconst instance = new CustomPromotionRules()\nexport default instance\n\nexport type {\n CustomPromotionRule,\n CustomPromotionRuleCreate,\n CustomPromotionRules,\n CustomPromotionRuleType,\n CustomPromotionRuleUpdate,\n}\n"]}
|
package/lib/chunk-P3KPR43S.cjs
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkVJRT2E4G_cjs = require('./chunk-VJRT2E4G.cjs');
|
|
4
|
-
|
|
5
|
-
// gen/resources/vertex_accounts.ts
|
|
6
|
-
var VertexAccounts = class _VertexAccounts extends chunkVJRT2E4G_cjs.ApiResource {
|
|
7
|
-
static TYPE = "vertex_accounts";
|
|
8
|
-
async create(resource, params, options) {
|
|
9
|
-
return this.resources.create(
|
|
10
|
-
{ ...resource, type: _VertexAccounts.TYPE },
|
|
11
|
-
params,
|
|
12
|
-
options
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
async update(resource, params, options) {
|
|
16
|
-
return this.resources.update(
|
|
17
|
-
{ ...resource, type: _VertexAccounts.TYPE },
|
|
18
|
-
params,
|
|
19
|
-
options
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
async delete(id, options) {
|
|
23
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _VertexAccounts.TYPE } : id, options);
|
|
24
|
-
}
|
|
25
|
-
async markets(vertexAccountId, params, options) {
|
|
26
|
-
const _vertexAccountId = vertexAccountId.id || vertexAccountId;
|
|
27
|
-
return this.resources.fetch(
|
|
28
|
-
{ type: "markets" },
|
|
29
|
-
`vertex_accounts/${_vertexAccountId}/markets`,
|
|
30
|
-
params,
|
|
31
|
-
options
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
async attachments(vertexAccountId, params, options) {
|
|
35
|
-
const _vertexAccountId = vertexAccountId.id || vertexAccountId;
|
|
36
|
-
return this.resources.fetch(
|
|
37
|
-
{ type: "attachments" },
|
|
38
|
-
`vertex_accounts/${_vertexAccountId}/attachments`,
|
|
39
|
-
params,
|
|
40
|
-
options
|
|
41
|
-
);
|
|
42
|
-
}
|
|
43
|
-
async events(vertexAccountId, params, options) {
|
|
44
|
-
const _vertexAccountId = vertexAccountId.id || vertexAccountId;
|
|
45
|
-
return this.resources.fetch(
|
|
46
|
-
{ type: "events" },
|
|
47
|
-
`vertex_accounts/${_vertexAccountId}/events`,
|
|
48
|
-
params,
|
|
49
|
-
options
|
|
50
|
-
);
|
|
51
|
-
}
|
|
52
|
-
async event_stores(vertexAccountId, params, options) {
|
|
53
|
-
const _vertexAccountId = vertexAccountId.id || vertexAccountId;
|
|
54
|
-
return this.resources.fetch(
|
|
55
|
-
{ type: "event_stores" },
|
|
56
|
-
`vertex_accounts/${_vertexAccountId}/event_stores`,
|
|
57
|
-
params,
|
|
58
|
-
options
|
|
59
|
-
);
|
|
60
|
-
}
|
|
61
|
-
async _refresh_token(id, params, options) {
|
|
62
|
-
return this.resources.update(
|
|
63
|
-
{ id: typeof id === "string" ? id : id.id, type: _VertexAccounts.TYPE, _refresh_token: true },
|
|
64
|
-
params,
|
|
65
|
-
options
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
isVertexAccount(resource) {
|
|
69
|
-
return resource.type && resource.type === _VertexAccounts.TYPE;
|
|
70
|
-
}
|
|
71
|
-
relationship(id) {
|
|
72
|
-
return super.relationshipOneToOne(id);
|
|
73
|
-
}
|
|
74
|
-
relationshipToMany(...ids) {
|
|
75
|
-
return super.relationshipOneToMany(...ids);
|
|
76
|
-
}
|
|
77
|
-
type() {
|
|
78
|
-
return _VertexAccounts.TYPE;
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
var instance = new VertexAccounts();
|
|
82
|
-
var vertex_accounts_default = instance;
|
|
83
|
-
|
|
84
|
-
exports.vertex_accounts_default = vertex_accounts_default;
|
|
85
|
-
//# sourceMappingURL=chunk-P3KPR43S.cjs.map
|
|
86
|
-
//# sourceMappingURL=chunk-P3KPR43S.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/vertex_accounts.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-P3KPR43S.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market } from './markets'\n\ntype VertexAccountType = 'vertex_accounts'\ntype VertexAccountRel = ResourceRel & { type: VertexAccountType }\n\nexport type VertexAccountSort = Pick<VertexAccount, 'id' | 'name'> & ResourceSort\n// export type VertexAccountFilter = Pick<VertexAccount, 'id' | 'name'> & ResourceFilter\n\n/**\n * The Vertex account object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/vertex_accounts endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/vertex_accounts/object\n */\ninterface VertexAccount extends Resource {\n readonly type: VertexAccountType\n\n /**\n * The tax calculator's internal name.\n * @example ```\"Personal tax calculator\"```\n */\n name: string\n /**\n * The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.\n * @example ```\"cloud\"```\n */\n kind?: 'cloud' | 'on_demand' | 'on_premise' | null\n /**\n * The Vertex API baseurl, optional for 'cloud' kind.\n * @example ```\"yourbaseurl\"```\n */\n baseurl?: string | null\n /**\n * The OAuth audience sent with the token request. Defaults to 'verx://migration-api' for 'cloud' kind unless set explicitly.\n * @example ```\"verx://xyz\"```\n */\n audience?: string | null\n /**\n * The API endpoint as computed by specified kind and baseurl.\n * @example ```\"https://my_baseurl.ondemand.vertexinc.com\"```\n */\n api_endpoint?: string | null\n /**\n * Indicates if the transaction will be recorded and visible on the Vertex website.\n * @example ```true```\n */\n commit_invoice?: boolean | null\n /**\n * The expiration date/time of the access token.\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n token_expires_at?: string | null\n\n markets?: Market[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface VertexAccountCreate extends ResourceCreate {\n /**\n * The tax calculator's internal name.\n * @example ```\"Personal tax calculator\"```\n */\n name: string\n /**\n * The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.\n * @example ```\"cloud\"```\n */\n kind?: 'cloud' | 'on_demand' | 'on_premise' | null\n /**\n * The Vertex API baseurl, optional for 'cloud' kind.\n * @example ```\"yourbaseurl\"```\n */\n baseurl?: string | null\n /**\n * The OAuth audience sent with the token request. Defaults to 'verx://migration-api' for 'cloud' kind unless set explicitly.\n * @example ```\"verx://xyz\"```\n */\n audience?: string | null\n /**\n * The Vertex account client ID.\n * @example ```\"xxx-yyy-zzz\"```\n */\n client_id: string\n /**\n * The Vertex account client secret.\n * @example ```\"xxx-yyy-zzz\"```\n */\n client_secret: string\n /**\n * Indicates if the transaction will be recorded and visible on the Vertex website.\n * @example ```true```\n */\n commit_invoice?: boolean | null\n}\n\ninterface VertexAccountUpdate extends ResourceUpdate {\n /**\n * The tax calculator's internal name.\n * @example ```\"Personal tax calculator\"```\n */\n name?: string | null\n /**\n * The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.\n * @example ```\"cloud\"```\n */\n kind?: 'cloud' | 'on_demand' | 'on_premise' | null\n /**\n * The Vertex API baseurl, optional for 'cloud' kind.\n * @example ```\"yourbaseurl\"```\n */\n baseurl?: string | null\n /**\n * The OAuth audience sent with the token request. Defaults to 'verx://migration-api' for 'cloud' kind unless set explicitly.\n * @example ```\"verx://xyz\"```\n */\n audience?: string | null\n /**\n * The Vertex account client ID.\n * @example ```\"xxx-yyy-zzz\"```\n */\n client_id?: string | null\n /**\n * The Vertex account client secret.\n * @example ```\"xxx-yyy-zzz\"```\n */\n client_secret?: string | null\n /**\n * Indicates if the transaction will be recorded and visible on the Vertex website.\n * @example ```true```\n */\n commit_invoice?: boolean | null\n /**\n * Send this attribute if you want to manually refresh the access token.\n * @example ```true```\n */\n _refresh_token?: boolean | null\n}\n\nclass VertexAccounts extends ApiResource<VertexAccount> {\n static readonly TYPE: VertexAccountType = 'vertex_accounts' as const\n\n async create(\n resource: VertexAccountCreate,\n params?: QueryParamsRetrieve<VertexAccount>,\n options?: ResourcesConfig,\n ): Promise<VertexAccount> {\n return this.resources.create<VertexAccountCreate, VertexAccount>(\n { ...resource, type: VertexAccounts.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: VertexAccountUpdate,\n params?: QueryParamsRetrieve<VertexAccount>,\n options?: ResourcesConfig,\n ): Promise<VertexAccount> {\n return this.resources.update<VertexAccountUpdate, VertexAccount>(\n { ...resource, type: VertexAccounts.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: VertexAccounts.TYPE } : id, options)\n }\n\n async markets(\n vertexAccountId: string | VertexAccount,\n params?: QueryParamsList<Market>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Market>> {\n const _vertexAccountId = (vertexAccountId as VertexAccount).id || (vertexAccountId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `vertex_accounts/${_vertexAccountId}/markets`,\n params,\n options,\n ) as unknown as ListResponse<Market>\n }\n\n async attachments(\n vertexAccountId: string | VertexAccount,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _vertexAccountId = (vertexAccountId as VertexAccount).id || (vertexAccountId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `vertex_accounts/${_vertexAccountId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n vertexAccountId: string | VertexAccount,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _vertexAccountId = (vertexAccountId as VertexAccount).id || (vertexAccountId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `vertex_accounts/${_vertexAccountId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n vertexAccountId: string | VertexAccount,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _vertexAccountId = (vertexAccountId as VertexAccount).id || (vertexAccountId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `vertex_accounts/${_vertexAccountId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _refresh_token(\n id: string | VertexAccount,\n params?: QueryParamsRetrieve<VertexAccount>,\n options?: ResourcesConfig,\n ): Promise<VertexAccount> {\n return this.resources.update<VertexAccountUpdate, VertexAccount>(\n { id: typeof id === 'string' ? id : id.id, type: VertexAccounts.TYPE, _refresh_token: true },\n params,\n options,\n )\n }\n\n isVertexAccount(resource: any): resource is VertexAccount {\n return resource.type && resource.type === VertexAccounts.TYPE\n }\n\n relationship(id: string | ResourceId | null): VertexAccountRel {\n return super.relationshipOneToOne<VertexAccountRel>(id)\n }\n\n relationshipToMany(...ids: string[]): VertexAccountRel[] {\n return super.relationshipOneToMany<VertexAccountRel>(...ids)\n }\n\n type(): VertexAccountType {\n return VertexAccounts.TYPE\n }\n}\n\nconst instance = new VertexAccounts()\nexport default instance\n\nexport type { VertexAccount, VertexAccountCreate, VertexAccounts, VertexAccountType, VertexAccountUpdate }\n"]}
|
package/lib/chunk-P4GWTW4V.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-YYXD2AW4.js';
|
|
2
|
-
|
|
3
|
-
// gen/resources/sku_list_items.ts
|
|
4
|
-
var SkuListItems = class _SkuListItems extends ApiResource {
|
|
5
|
-
static TYPE = "sku_list_items";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create(
|
|
8
|
-
{ ...resource, type: _SkuListItems.TYPE },
|
|
9
|
-
params,
|
|
10
|
-
options
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
async update(resource, params, options) {
|
|
14
|
-
return this.resources.update(
|
|
15
|
-
{ ...resource, type: _SkuListItems.TYPE },
|
|
16
|
-
params,
|
|
17
|
-
options
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
async delete(id, options) {
|
|
21
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _SkuListItems.TYPE } : id, options);
|
|
22
|
-
}
|
|
23
|
-
async sku_list(skuListItemId, params, options) {
|
|
24
|
-
const _skuListItemId = skuListItemId.id || skuListItemId;
|
|
25
|
-
return this.resources.fetch(
|
|
26
|
-
{ type: "sku_lists" },
|
|
27
|
-
`sku_list_items/${_skuListItemId}/sku_list`,
|
|
28
|
-
params,
|
|
29
|
-
options
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
async sku(skuListItemId, params, options) {
|
|
33
|
-
const _skuListItemId = skuListItemId.id || skuListItemId;
|
|
34
|
-
return this.resources.fetch(
|
|
35
|
-
{ type: "skus" },
|
|
36
|
-
`sku_list_items/${_skuListItemId}/sku`,
|
|
37
|
-
params,
|
|
38
|
-
options
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
async event_stores(skuListItemId, params, options) {
|
|
42
|
-
const _skuListItemId = skuListItemId.id || skuListItemId;
|
|
43
|
-
return this.resources.fetch(
|
|
44
|
-
{ type: "event_stores" },
|
|
45
|
-
`sku_list_items/${_skuListItemId}/event_stores`,
|
|
46
|
-
params,
|
|
47
|
-
options
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
isSkuListItem(resource) {
|
|
51
|
-
return resource.type && resource.type === _SkuListItems.TYPE;
|
|
52
|
-
}
|
|
53
|
-
relationship(id) {
|
|
54
|
-
return super.relationshipOneToOne(id);
|
|
55
|
-
}
|
|
56
|
-
relationshipToMany(...ids) {
|
|
57
|
-
return super.relationshipOneToMany(...ids);
|
|
58
|
-
}
|
|
59
|
-
type() {
|
|
60
|
-
return _SkuListItems.TYPE;
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
var instance = new SkuListItems();
|
|
64
|
-
var sku_list_items_default = instance;
|
|
65
|
-
|
|
66
|
-
export { sku_list_items_default };
|
|
67
|
-
//# sourceMappingURL=chunk-P4GWTW4V.js.map
|
|
68
|
-
//# sourceMappingURL=chunk-P4GWTW4V.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/sku_list_items.ts"],"names":[],"mappings":";;;AA4FA,IAAM,YAAA,GAAN,MAAM,aAAA,SAAqB,WAAA,CAAyB;AAAA,EAClD,OAAgB,IAAA,GAAwB,gBAAA;AAAA,EAExC,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACsB;AACtB,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,cAAa,IAAA,EAAK;AAAA,MACvC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACsB;AACtB,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,cAAa,IAAA,EAAK;AAAA,MACvC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,aAAA,CAAa,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACpG;AAAA,EAEA,MAAM,QAAA,CACJ,aAAA,EACA,MAAA,EACA,OAAA,EACkB;AAClB,IAAA,MAAM,cAAA,GAAkB,cAA8B,EAAA,IAAO,aAAA;AAC7D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,WAAA,EAAY;AAAA,MACpB,kBAAkB,cAAc,CAAA,SAAA,CAAA;AAAA,MAChC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,GAAA,CACJ,aAAA,EACA,MAAA,EACA,OAAA,EACc;AACd,IAAA,MAAM,cAAA,GAAkB,cAA8B,EAAA,IAAO,aAAA;AAC7D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,MAAA,EAAO;AAAA,MACf,kBAAkB,cAAc,CAAA,IAAA,CAAA;AAAA,MAChC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,aAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,cAAA,GAAkB,cAA8B,EAAA,IAAO,aAAA;AAC7D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,kBAAkB,cAAc,CAAA,aAAA,CAAA;AAAA,MAChC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,cAAc,QAAA,EAAwC;AACpD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,aAAA,CAAa,IAAA;AAAA,EACzD;AAAA,EAEA,aAAa,EAAA,EAAgD;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAqC,EAAE,CAAA;AAAA,EACtD;AAAA,EAEA,sBAAsB,GAAA,EAAiC;AACrD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAsC,GAAG,GAAG,CAAA;AAAA,EAC3D;AAAA,EAEA,IAAA,GAAwB;AACtB,IAAA,OAAO,aAAA,CAAa,IAAA;AAAA,EACtB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,YAAA,EAAa;AAClC,IAAO,sBAAA,GAAQ","file":"chunk-P4GWTW4V.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { EventStore } from './event_stores'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Sku, SkuType } from './skus'\n\ntype SkuListItemType = 'sku_list_items'\ntype SkuListItemRel = ResourceRel & { type: SkuListItemType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype SkuRel = ResourceRel & { type: SkuType }\n\nexport type SkuListItemSort = Pick<SkuListItem, 'id' | 'position' | 'quantity'> & ResourceSort\n// export type SkuListItemFilter = Pick<SkuListItem, 'id' | 'position' | 'quantity'> & ResourceFilter\n\n/**\n * The SKU list item object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/sku_list_items endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/sku_list_items/object\n */\ninterface SkuListItem extends Resource {\n readonly type: SkuListItemType\n\n /**\n * The SKU list item's position.\n * @example ```2```\n */\n position?: number | null\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The SKU quantity for this SKU list item.\n * @example ```1```\n */\n quantity?: number | null\n\n sku_list?: SkuList | null\n sku?: Sku | null\n event_stores?: EventStore[] | null\n}\n\ninterface SkuListItemCreate extends ResourceCreate {\n /**\n * The SKU list item's position.\n * @example ```2```\n */\n position?: number | null\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The SKU quantity for this SKU list item.\n * @example ```1```\n */\n quantity?: number | null\n\n sku_list: SkuListRel\n sku: SkuRel\n}\n\ninterface SkuListItemUpdate extends ResourceUpdate {\n /**\n * The SKU list item's position.\n * @example ```2```\n */\n position?: number | null\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The SKU quantity for this SKU list item.\n * @example ```1```\n */\n quantity?: number | null\n}\n\nclass SkuListItems extends ApiResource<SkuListItem> {\n static readonly TYPE: SkuListItemType = 'sku_list_items' as const\n\n async create(\n resource: SkuListItemCreate,\n params?: QueryParamsRetrieve<SkuListItem>,\n options?: ResourcesConfig,\n ): Promise<SkuListItem> {\n return this.resources.create<SkuListItemCreate, SkuListItem>(\n { ...resource, type: SkuListItems.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: SkuListItemUpdate,\n params?: QueryParamsRetrieve<SkuListItem>,\n options?: ResourcesConfig,\n ): Promise<SkuListItem> {\n return this.resources.update<SkuListItemUpdate, SkuListItem>(\n { ...resource, type: SkuListItems.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: SkuListItems.TYPE } : id, options)\n }\n\n async sku_list(\n skuListItemId: string | SkuListItem,\n params?: QueryParamsRetrieve<SkuList>,\n options?: ResourcesConfig,\n ): Promise<SkuList> {\n const _skuListItemId = (skuListItemId as SkuListItem).id || (skuListItemId as string)\n return this.resources.fetch<SkuList>(\n { type: 'sku_lists' },\n `sku_list_items/${_skuListItemId}/sku_list`,\n params,\n options,\n ) as unknown as SkuList\n }\n\n async sku(\n skuListItemId: string | SkuListItem,\n params?: QueryParamsRetrieve<Sku>,\n options?: ResourcesConfig,\n ): Promise<Sku> {\n const _skuListItemId = (skuListItemId as SkuListItem).id || (skuListItemId as string)\n return this.resources.fetch<Sku>(\n { type: 'skus' },\n `sku_list_items/${_skuListItemId}/sku`,\n params,\n options,\n ) as unknown as Sku\n }\n\n async event_stores(\n skuListItemId: string | SkuListItem,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _skuListItemId = (skuListItemId as SkuListItem).id || (skuListItemId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `sku_list_items/${_skuListItemId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isSkuListItem(resource: any): resource is SkuListItem {\n return resource.type && resource.type === SkuListItems.TYPE\n }\n\n relationship(id: string | ResourceId | null): SkuListItemRel {\n return super.relationshipOneToOne<SkuListItemRel>(id)\n }\n\n relationshipToMany(...ids: string[]): SkuListItemRel[] {\n return super.relationshipOneToMany<SkuListItemRel>(...ids)\n }\n\n type(): SkuListItemType {\n return SkuListItems.TYPE\n }\n}\n\nconst instance = new SkuListItems()\nexport default instance\n\nexport type { SkuListItem, SkuListItemCreate, SkuListItems, SkuListItemType, SkuListItemUpdate }\n"]}
|
package/lib/chunk-PBZ4FUKI.js
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-YYXD2AW4.js';
|
|
2
|
-
|
|
3
|
-
// gen/resources/parcels.ts
|
|
4
|
-
var Parcels = class _Parcels extends ApiResource {
|
|
5
|
-
static TYPE = "parcels";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create({ ...resource, type: _Parcels.TYPE }, params, options);
|
|
8
|
-
}
|
|
9
|
-
async update(resource, params, options) {
|
|
10
|
-
return this.resources.update({ ...resource, type: _Parcels.TYPE }, params, options);
|
|
11
|
-
}
|
|
12
|
-
async delete(id, options) {
|
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _Parcels.TYPE } : id, options);
|
|
14
|
-
}
|
|
15
|
-
async shipment(parcelId, params, options) {
|
|
16
|
-
const _parcelId = parcelId.id || parcelId;
|
|
17
|
-
return this.resources.fetch(
|
|
18
|
-
{ type: "shipments" },
|
|
19
|
-
`parcels/${_parcelId}/shipment`,
|
|
20
|
-
params,
|
|
21
|
-
options
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
async package(parcelId, params, options) {
|
|
25
|
-
const _parcelId = parcelId.id || parcelId;
|
|
26
|
-
return this.resources.fetch(
|
|
27
|
-
{ type: "packages" },
|
|
28
|
-
`parcels/${_parcelId}/package`,
|
|
29
|
-
params,
|
|
30
|
-
options
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
async parcel_line_items(parcelId, params, options) {
|
|
34
|
-
const _parcelId = parcelId.id || parcelId;
|
|
35
|
-
return this.resources.fetch(
|
|
36
|
-
{ type: "parcel_line_items" },
|
|
37
|
-
`parcels/${_parcelId}/parcel_line_items`,
|
|
38
|
-
params,
|
|
39
|
-
options
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
async attachments(parcelId, params, options) {
|
|
43
|
-
const _parcelId = parcelId.id || parcelId;
|
|
44
|
-
return this.resources.fetch(
|
|
45
|
-
{ type: "attachments" },
|
|
46
|
-
`parcels/${_parcelId}/attachments`,
|
|
47
|
-
params,
|
|
48
|
-
options
|
|
49
|
-
);
|
|
50
|
-
}
|
|
51
|
-
async events(parcelId, params, options) {
|
|
52
|
-
const _parcelId = parcelId.id || parcelId;
|
|
53
|
-
return this.resources.fetch(
|
|
54
|
-
{ type: "events" },
|
|
55
|
-
`parcels/${_parcelId}/events`,
|
|
56
|
-
params,
|
|
57
|
-
options
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
async event_stores(parcelId, params, options) {
|
|
61
|
-
const _parcelId = parcelId.id || parcelId;
|
|
62
|
-
return this.resources.fetch(
|
|
63
|
-
{ type: "event_stores" },
|
|
64
|
-
`parcels/${_parcelId}/event_stores`,
|
|
65
|
-
params,
|
|
66
|
-
options
|
|
67
|
-
);
|
|
68
|
-
}
|
|
69
|
-
isParcel(resource) {
|
|
70
|
-
return resource.type && resource.type === _Parcels.TYPE;
|
|
71
|
-
}
|
|
72
|
-
relationship(id) {
|
|
73
|
-
return super.relationshipOneToOne(id);
|
|
74
|
-
}
|
|
75
|
-
relationshipToMany(...ids) {
|
|
76
|
-
return super.relationshipOneToMany(...ids);
|
|
77
|
-
}
|
|
78
|
-
type() {
|
|
79
|
-
return _Parcels.TYPE;
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
var instance = new Parcels();
|
|
83
|
-
var parcels_default = instance;
|
|
84
|
-
|
|
85
|
-
export { parcels_default };
|
|
86
|
-
//# sourceMappingURL=chunk-PBZ4FUKI.js.map
|
|
87
|
-
//# sourceMappingURL=chunk-PBZ4FUKI.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/parcels.ts"],"names":[],"mappings":"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","file":"chunk-PBZ4FUKI.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Package, PackageType } from './packages'\nimport type { ParcelLineItem } from './parcel_line_items'\nimport type { Shipment, ShipmentType } from './shipments'\n\ntype ParcelType = 'parcels'\ntype ParcelRel = ResourceRel & { type: ParcelType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype PackageRel = ResourceRel & { type: PackageType }\n\nexport type ParcelSort = Pick<\n Parcel,\n 'id' | 'weight' | 'tracking_status' | 'tracking_status_updated_at' | 'carrier_weight_oz'\n> &\n ResourceSort\n// export type ParcelFilter = Pick<Parcel, 'id' | 'weight' | 'contents_explanation' | 'shipping_label_url' | 'shipping_label_file_type' | 'shipping_label_size' | 'shipping_label_resolution' | 'tracking_number' | 'tracking_status' | 'tracking_status_detail' | 'tracking_status_updated_at' | 'carrier_weight_oz' | 'incoterm' | 'delivery_confirmation'> & ResourceFilter\n\n/**\n * The Parcel object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/parcels endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/parcels/object\n */\ninterface Parcel extends Resource {\n readonly type: ParcelType\n\n /**\n * Unique identifier for the parcel.\n * @example ```\"#1234/S/001/P/001\"```\n */\n number?: string | null\n /**\n * The parcel weight, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```1000```\n */\n weight: number\n /**\n * The unit of weight. One of 'gr', 'oz', or 'lb'.\n * @example ```\"gr\"```\n */\n unit_of_weight: 'gr' | 'oz' | 'lb'\n /**\n * When shipping outside the US, you need to provide either an Exemption and Exclusion Legend (EEL) code or a Proof of Filing Citation (PFC). Which you need is based on the value of the goods being shipped. Value can be one of \"EEL\" o \"PFC\".\n * @example ```\"EEL\"```\n */\n eel_pfc?: string | null\n /**\n * The type of item you are sending.\n * @example ```\"merchandise\"```\n */\n contents_type?: string | null\n /**\n * If you specify 'other' in the 'contents_type' attribute, you must supply a brief description in this attribute.\n */\n contents_explanation?: string | null\n /**\n * Indicates if the provided information is accurate.\n */\n customs_certify?: boolean | null\n /**\n * This is the name of the person who is certifying that the information provided on the customs form is accurate. Use a name of the person in your organization who is responsible for this.\n * @example ```\"John Doe\"```\n */\n customs_signer?: string | null\n /**\n * In case the shipment cannot be delivered, this option tells the carrier what you want to happen to the parcel. You can pass either 'return', or 'abandon'. The value defaults to 'return'. If you pass 'abandon', you will not receive the parcel back if it cannot be delivered.\n * @example ```\"return\"```\n */\n non_delivery_option?: string | null\n /**\n * Describes if your parcel requires any special treatment or quarantine when entering the country. Can be one of 'none', 'other', 'quarantine', or 'sanitary_phytosanitary_inspection'.\n * @example ```\"none\"```\n */\n restriction_type?: string | null\n /**\n * If you specify 'other' in the restriction type, you must supply a brief description of what is required.\n */\n restriction_comments?: string | null\n /**\n * Indicates if the parcel requires customs info to get the shipping rates.\n */\n customs_info_required?: boolean | null\n /**\n * The shipping label url, ready to be downloaded and printed.\n * @example ```\"https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf\"```\n */\n shipping_label_url?: string | null\n /**\n * The shipping label file type. One of 'application/pdf', 'application/zpl', 'application/epl2', or 'image/png'.\n * @example ```\"application/pdf\"```\n */\n shipping_label_file_type?: string | null\n /**\n * The shipping label size.\n * @example ```\"4x7\"```\n */\n shipping_label_size?: string | null\n /**\n * The shipping label resolution.\n * @example ```\"200\"```\n */\n shipping_label_resolution?: string | null\n /**\n * The tracking number associated to this parcel.\n * @example ```\"1Z4V2A000000000000\"```\n */\n tracking_number?: string | null\n /**\n * The tracking status for this parcel, automatically updated in real time by the shipping carrier.\n * @example ```\"delivered\"```\n */\n tracking_status?: string | null\n /**\n * Additional information about the tracking status, automatically updated in real time by the shipping carrier.\n * @example ```\"arrived_at_destination\"```\n */\n tracking_status_detail?: string | null\n /**\n * Time at which the parcel's tracking status was last updated.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n tracking_status_updated_at?: string | null\n /**\n * The parcel's full tracking history, automatically updated in real time by the shipping carrier.\n * @example ```[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment information received\",\"status\":\"pre_transit\",\"datetime\":\"2018-02-27T16:02:17Z\",\"source\":\"DHLExpress\",\"tracking_location\":{\"object\":\"TrackingLocation\"}}]```\n */\n tracking_details?: Array<Record<string, any>> | null\n /**\n * The weight of the parcel as measured by the carrier in ounces (if available).\n * @example ```\"42.32\"```\n */\n carrier_weight_oz?: string | null\n /**\n * The name of the person who signed for the parcel (if available).\n * @example ```\"John Smith\"```\n */\n signed_by?: string | null\n /**\n * The type of Incoterm (if available).\n * @example ```\"EXW\"```\n */\n incoterm?: string | null\n /**\n * The type of delivery confirmation option upon delivery.\n * @example ```\"SIGNATURE\"```\n */\n delivery_confirmation?: string | null\n\n shipment?: Shipment | null\n package?: Package | null\n parcel_line_items?: ParcelLineItem[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface ParcelCreate extends ResourceCreate {\n /**\n * The parcel weight, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```1000```\n */\n weight: number\n /**\n * The unit of weight. One of 'gr', 'oz', or 'lb'.\n * @example ```\"gr\"```\n */\n unit_of_weight: 'gr' | 'oz' | 'lb'\n /**\n * When shipping outside the US, you need to provide either an Exemption and Exclusion Legend (EEL) code or a Proof of Filing Citation (PFC). Which you need is based on the value of the goods being shipped. Value can be one of \"EEL\" o \"PFC\".\n * @example ```\"EEL\"```\n */\n eel_pfc?: string | null\n /**\n * The type of item you are sending.\n * @example ```\"merchandise\"```\n */\n contents_type?: string | null\n /**\n * If you specify 'other' in the 'contents_type' attribute, you must supply a brief description in this attribute.\n */\n contents_explanation?: string | null\n /**\n * Indicates if the provided information is accurate.\n */\n customs_certify?: boolean | null\n /**\n * This is the name of the person who is certifying that the information provided on the customs form is accurate. Use a name of the person in your organization who is responsible for this.\n * @example ```\"John Doe\"```\n */\n customs_signer?: string | null\n /**\n * In case the shipment cannot be delivered, this option tells the carrier what you want to happen to the parcel. You can pass either 'return', or 'abandon'. The value defaults to 'return'. If you pass 'abandon', you will not receive the parcel back if it cannot be delivered.\n * @example ```\"return\"```\n */\n non_delivery_option?: string | null\n /**\n * Describes if your parcel requires any special treatment or quarantine when entering the country. Can be one of 'none', 'other', 'quarantine', or 'sanitary_phytosanitary_inspection'.\n * @example ```\"none\"```\n */\n restriction_type?: string | null\n /**\n * If you specify 'other' in the restriction type, you must supply a brief description of what is required.\n */\n restriction_comments?: string | null\n /**\n * Indicates if the parcel requires customs info to get the shipping rates.\n */\n customs_info_required?: boolean | null\n /**\n * The shipping label url, ready to be downloaded and printed.\n * @example ```\"https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf\"```\n */\n shipping_label_url?: string | null\n /**\n * The shipping label file type. One of 'application/pdf', 'application/zpl', 'application/epl2', or 'image/png'.\n * @example ```\"application/pdf\"```\n */\n shipping_label_file_type?: string | null\n /**\n * The shipping label size.\n * @example ```\"4x7\"```\n */\n shipping_label_size?: string | null\n /**\n * The shipping label resolution.\n * @example ```\"200\"```\n */\n shipping_label_resolution?: string | null\n /**\n * The tracking number associated to this parcel.\n * @example ```\"1Z4V2A000000000000\"```\n */\n tracking_number?: string | null\n /**\n * The tracking status for this parcel, automatically updated in real time by the shipping carrier.\n * @example ```\"delivered\"```\n */\n tracking_status?: string | null\n /**\n * Additional information about the tracking status, automatically updated in real time by the shipping carrier.\n * @example ```\"arrived_at_destination\"```\n */\n tracking_status_detail?: string | null\n /**\n * Time at which the parcel's tracking status was last updated.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n tracking_status_updated_at?: string | null\n /**\n * The parcel's full tracking history, automatically updated in real time by the shipping carrier.\n * @example ```[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment information received\",\"status\":\"pre_transit\",\"datetime\":\"2018-02-27T16:02:17Z\",\"source\":\"DHLExpress\",\"tracking_location\":{\"object\":\"TrackingLocation\"}}]```\n */\n tracking_details?: Array<Record<string, any>> | null\n /**\n * The weight of the parcel as measured by the carrier in ounces (if available).\n * @example ```\"42.32\"```\n */\n carrier_weight_oz?: string | null\n /**\n * The name of the person who signed for the parcel (if available).\n * @example ```\"John Smith\"```\n */\n signed_by?: string | null\n /**\n * The type of Incoterm (if available).\n * @example ```\"EXW\"```\n */\n incoterm?: string | null\n /**\n * The type of delivery confirmation option upon delivery.\n * @example ```\"SIGNATURE\"```\n */\n delivery_confirmation?: string | null\n\n shipment: ShipmentRel\n package: PackageRel\n}\n\ninterface ParcelUpdate extends ResourceUpdate {\n /**\n * The parcel weight, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```1000```\n */\n weight?: number | null\n /**\n * The unit of weight. One of 'gr', 'oz', or 'lb'.\n * @example ```\"gr\"```\n */\n unit_of_weight?: 'gr' | 'oz' | 'lb' | null\n /**\n * When shipping outside the US, you need to provide either an Exemption and Exclusion Legend (EEL) code or a Proof of Filing Citation (PFC). Which you need is based on the value of the goods being shipped. Value can be one of \"EEL\" o \"PFC\".\n * @example ```\"EEL\"```\n */\n eel_pfc?: string | null\n /**\n * The type of item you are sending.\n * @example ```\"merchandise\"```\n */\n contents_type?: string | null\n /**\n * If you specify 'other' in the 'contents_type' attribute, you must supply a brief description in this attribute.\n */\n contents_explanation?: string | null\n /**\n * Indicates if the provided information is accurate.\n */\n customs_certify?: boolean | null\n /**\n * This is the name of the person who is certifying that the information provided on the customs form is accurate. Use a name of the person in your organization who is responsible for this.\n * @example ```\"John Doe\"```\n */\n customs_signer?: string | null\n /**\n * In case the shipment cannot be delivered, this option tells the carrier what you want to happen to the parcel. You can pass either 'return', or 'abandon'. The value defaults to 'return'. If you pass 'abandon', you will not receive the parcel back if it cannot be delivered.\n * @example ```\"return\"```\n */\n non_delivery_option?: string | null\n /**\n * Describes if your parcel requires any special treatment or quarantine when entering the country. Can be one of 'none', 'other', 'quarantine', or 'sanitary_phytosanitary_inspection'.\n * @example ```\"none\"```\n */\n restriction_type?: string | null\n /**\n * If you specify 'other' in the restriction type, you must supply a brief description of what is required.\n */\n restriction_comments?: string | null\n /**\n * Indicates if the parcel requires customs info to get the shipping rates.\n */\n customs_info_required?: boolean | null\n /**\n * The shipping label url, ready to be downloaded and printed.\n * @example ```\"https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf\"```\n */\n shipping_label_url?: string | null\n /**\n * The shipping label file type. One of 'application/pdf', 'application/zpl', 'application/epl2', or 'image/png'.\n * @example ```\"application/pdf\"```\n */\n shipping_label_file_type?: string | null\n /**\n * The shipping label size.\n * @example ```\"4x7\"```\n */\n shipping_label_size?: string | null\n /**\n * The shipping label resolution.\n * @example ```\"200\"```\n */\n shipping_label_resolution?: string | null\n /**\n * The tracking number associated to this parcel.\n * @example ```\"1Z4V2A000000000000\"```\n */\n tracking_number?: string | null\n /**\n * The tracking status for this parcel, automatically updated in real time by the shipping carrier.\n * @example ```\"delivered\"```\n */\n tracking_status?: string | null\n /**\n * Additional information about the tracking status, automatically updated in real time by the shipping carrier.\n * @example ```\"arrived_at_destination\"```\n */\n tracking_status_detail?: string | null\n /**\n * Time at which the parcel's tracking status was last updated.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n tracking_status_updated_at?: string | null\n /**\n * The parcel's full tracking history, automatically updated in real time by the shipping carrier.\n * @example ```[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment information received\",\"status\":\"pre_transit\",\"datetime\":\"2018-02-27T16:02:17Z\",\"source\":\"DHLExpress\",\"tracking_location\":{\"object\":\"TrackingLocation\"}}]```\n */\n tracking_details?: Array<Record<string, any>> | null\n /**\n * The weight of the parcel as measured by the carrier in ounces (if available).\n * @example ```\"42.32\"```\n */\n carrier_weight_oz?: string | null\n /**\n * The name of the person who signed for the parcel (if available).\n * @example ```\"John Smith\"```\n */\n signed_by?: string | null\n /**\n * The type of Incoterm (if available).\n * @example ```\"EXW\"```\n */\n incoterm?: string | null\n /**\n * The type of delivery confirmation option upon delivery.\n * @example ```\"SIGNATURE\"```\n */\n delivery_confirmation?: string | null\n\n shipment?: ShipmentRel | null\n package?: PackageRel | null\n}\n\nclass Parcels extends ApiResource<Parcel> {\n static readonly TYPE: ParcelType = 'parcels' as const\n\n async create(\n resource: ParcelCreate,\n params?: QueryParamsRetrieve<Parcel>,\n options?: ResourcesConfig,\n ): Promise<Parcel> {\n return this.resources.create<ParcelCreate, Parcel>({ ...resource, type: Parcels.TYPE }, params, options)\n }\n\n async update(\n resource: ParcelUpdate,\n params?: QueryParamsRetrieve<Parcel>,\n options?: ResourcesConfig,\n ): Promise<Parcel> {\n return this.resources.update<ParcelUpdate, Parcel>({ ...resource, type: Parcels.TYPE }, params, options)\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: Parcels.TYPE } : id, options)\n }\n\n async shipment(\n parcelId: string | Parcel,\n params?: QueryParamsRetrieve<Shipment>,\n options?: ResourcesConfig,\n ): Promise<Shipment> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<Shipment>(\n { type: 'shipments' },\n `parcels/${_parcelId}/shipment`,\n params,\n options,\n ) as unknown as Shipment\n }\n\n async package(\n parcelId: string | Parcel,\n params?: QueryParamsRetrieve<Package>,\n options?: ResourcesConfig,\n ): Promise<Package> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<Package>(\n { type: 'packages' },\n `parcels/${_parcelId}/package`,\n params,\n options,\n ) as unknown as Package\n }\n\n async parcel_line_items(\n parcelId: string | Parcel,\n params?: QueryParamsList<ParcelLineItem>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<ParcelLineItem>> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<ParcelLineItem>(\n { type: 'parcel_line_items' },\n `parcels/${_parcelId}/parcel_line_items`,\n params,\n options,\n ) as unknown as ListResponse<ParcelLineItem>\n }\n\n async attachments(\n parcelId: string | Parcel,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `parcels/${_parcelId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n parcelId: string | Parcel,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `parcels/${_parcelId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n parcelId: string | Parcel,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `parcels/${_parcelId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isParcel(resource: any): resource is Parcel {\n return resource.type && resource.type === Parcels.TYPE\n }\n\n relationship(id: string | ResourceId | null): ParcelRel {\n return super.relationshipOneToOne<ParcelRel>(id)\n }\n\n relationshipToMany(...ids: string[]): ParcelRel[] {\n return super.relationshipOneToMany<ParcelRel>(...ids)\n }\n\n type(): ParcelType {\n return Parcels.TYPE\n }\n}\n\nconst instance = new Parcels()\nexport default instance\n\nexport type { Parcel, ParcelCreate, Parcels, ParcelType, ParcelUpdate }\n"]}
|
package/lib/chunk-PFEKEJ2W.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-YYXD2AW4.js';
|
|
2
|
-
|
|
3
|
-
// gen/resources/shipping_method_tiers.ts
|
|
4
|
-
var ShippingMethodTiers = class _ShippingMethodTiers extends ApiResource {
|
|
5
|
-
static TYPE = "shipping_method_tiers";
|
|
6
|
-
async shipping_method(shippingMethodTierId, params, options) {
|
|
7
|
-
const _shippingMethodTierId = shippingMethodTierId.id || shippingMethodTierId;
|
|
8
|
-
return this.resources.fetch(
|
|
9
|
-
{ type: "shipping_methods" },
|
|
10
|
-
`shipping_method_tiers/${_shippingMethodTierId}/shipping_method`,
|
|
11
|
-
params,
|
|
12
|
-
options
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
async attachments(shippingMethodTierId, params, options) {
|
|
16
|
-
const _shippingMethodTierId = shippingMethodTierId.id || shippingMethodTierId;
|
|
17
|
-
return this.resources.fetch(
|
|
18
|
-
{ type: "attachments" },
|
|
19
|
-
`shipping_method_tiers/${_shippingMethodTierId}/attachments`,
|
|
20
|
-
params,
|
|
21
|
-
options
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
async event_stores(shippingMethodTierId, params, options) {
|
|
25
|
-
const _shippingMethodTierId = shippingMethodTierId.id || shippingMethodTierId;
|
|
26
|
-
return this.resources.fetch(
|
|
27
|
-
{ type: "event_stores" },
|
|
28
|
-
`shipping_method_tiers/${_shippingMethodTierId}/event_stores`,
|
|
29
|
-
params,
|
|
30
|
-
options
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
isShippingMethodTier(resource) {
|
|
34
|
-
return !!resource.type && (resource.type === _ShippingMethodTiers.TYPE || ["shipping_weight_tiers"].includes(resource.type));
|
|
35
|
-
}
|
|
36
|
-
relationship(id) {
|
|
37
|
-
return super.relationshipOneToOne(id);
|
|
38
|
-
}
|
|
39
|
-
relationshipToMany(...ids) {
|
|
40
|
-
return super.relationshipOneToMany(...ids);
|
|
41
|
-
}
|
|
42
|
-
type() {
|
|
43
|
-
return _ShippingMethodTiers.TYPE;
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
var instance = new ShippingMethodTiers();
|
|
47
|
-
var shipping_method_tiers_default = instance;
|
|
48
|
-
|
|
49
|
-
export { shipping_method_tiers_default };
|
|
50
|
-
//# sourceMappingURL=chunk-PFEKEJ2W.js.map
|
|
51
|
-
//# sourceMappingURL=chunk-PFEKEJ2W.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/shipping_method_tiers.ts"],"names":[],"mappings":";;;AA+DA,IAAM,mBAAA,GAAN,MAAM,oBAAA,SAA4B,WAAA,CAAgC;AAAA,EAChE,OAAgB,IAAA,GAA+B,uBAAA;AAAA,EAE/C,MAAM,eAAA,CACJ,oBAAA,EACA,MAAA,EACA,OAAA,EACyB;AACzB,IAAA,MAAM,qBAAA,GAAyB,qBAA4C,EAAA,IAAO,oBAAA;AAClF,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,kBAAA,EAAmB;AAAA,MAC3B,yBAAyB,qBAAqB,CAAA,gBAAA,CAAA;AAAA,MAC9C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,WAAA,CACJ,oBAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,qBAAA,GAAyB,qBAA4C,EAAA,IAAO,oBAAA;AAClF,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,aAAA,EAAc;AAAA,MACtB,yBAAyB,qBAAqB,CAAA,YAAA,CAAA;AAAA,MAC9C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,oBAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,qBAAA,GAAyB,qBAA4C,EAAA,IAAO,oBAAA;AAClF,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,yBAAyB,qBAAqB,CAAA,aAAA,CAAA;AAAA,MAC9C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,qBAAqB,QAAA,EAA+C;AAClE,IAAA,OACE,CAAC,CAAC,QAAA,CAAS,IAAA,KACV,QAAA,CAAS,IAAA,KAAS,oBAAA,CAAoB,IAAA,IAAQ,CAAC,uBAAuB,CAAA,CAAE,QAAA,CAAS,SAAS,IAAI,CAAA,CAAA;AAAA,EAEnG;AAAA,EAEA,aAAa,EAAA,EAAuD;AAClE,IAAA,OAAO,KAAA,CAAM,qBAA4C,EAAE,CAAA;AAAA,EAC7D;AAAA,EAEA,sBAAsB,GAAA,EAAwC;AAC5D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA6C,GAAG,GAAG,CAAA;AAAA,EAClE;AAAA,EAEA,IAAA,GAA+B;AAC7B,IAAA,OAAO,oBAAA,CAAoB,IAAA;AAAA,EAC7B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,mBAAA,EAAoB;AACzC,IAAO,6BAAA,GAAQ","file":"chunk-PFEKEJ2W.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { ShippingMethod } from './shipping_methods'\nimport type { ShippingWeightTier } from './shipping_weight_tiers'\n\ntype ShippingMethodTierType = 'shipping_method_tiers' | 'shipping_weight_tiers'\ntype ShippingMethodTierRel = ResourceRel & { type: ShippingMethodTierType }\n\nexport type ShippingMethodTierSort = Pick<ShippingMethodTierBase, 'id' | 'name' | 'up_to' | 'price_amount_cents'> &\n ResourceSort\n// export type ShippingMethodTierFilter = Pick<ShippingMethodTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceFilter\n\n/**\n * The Shipping method tier object is returned as part of the response body of each successful list or retrieve API call to the /api/shipping_method_tiers endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/shipping_method_tiers/object\n */\ntype ShippingMethodTier = ShippingWeightTier\n\ninterface ShippingMethodTierBase extends Resource {\n readonly type: ShippingMethodTierType\n\n /**\n * The shipping method tier's name.\n * @example ```\"Light shipping under 3kg\"```\n */\n name: string\n /**\n * The tier upper limit. When 'null' it means infinity (useful to have an always matching tier).\n * @example ```20.5```\n */\n up_to?: number | null\n /**\n * The price of this shipping method tier, in cents.\n * @example ```1000```\n */\n price_amount_cents: number\n /**\n * The price of this shipping method tier, float.\n * @example ```10```\n */\n price_amount_float?: number | null\n /**\n * The price of this shipping method tier, formatted.\n * @example ```\"€10,00\"```\n */\n formatted_price_amount?: string | null\n\n shipping_method?: ShippingMethod | null\n attachments?: Attachment[] | null\n event_stores?: EventStore[] | null\n}\n\nclass ShippingMethodTiers extends ApiResource<ShippingMethodTier> {\n static readonly TYPE: ShippingMethodTierType = 'shipping_method_tiers' as const\n\n async shipping_method(\n shippingMethodTierId: string | ShippingMethodTier,\n params?: QueryParamsRetrieve<ShippingMethod>,\n options?: ResourcesConfig,\n ): Promise<ShippingMethod> {\n const _shippingMethodTierId = (shippingMethodTierId as ShippingMethodTier).id || (shippingMethodTierId as string)\n return this.resources.fetch<ShippingMethod>(\n { type: 'shipping_methods' },\n `shipping_method_tiers/${_shippingMethodTierId}/shipping_method`,\n params,\n options,\n ) as unknown as ShippingMethod\n }\n\n async attachments(\n shippingMethodTierId: string | ShippingMethodTier,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _shippingMethodTierId = (shippingMethodTierId as ShippingMethodTier).id || (shippingMethodTierId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `shipping_method_tiers/${_shippingMethodTierId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async event_stores(\n shippingMethodTierId: string | ShippingMethodTier,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _shippingMethodTierId = (shippingMethodTierId as ShippingMethodTier).id || (shippingMethodTierId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `shipping_method_tiers/${_shippingMethodTierId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isShippingMethodTier(resource: any): resource is ShippingMethodTier {\n return (\n !!resource.type &&\n (resource.type === ShippingMethodTiers.TYPE || ['shipping_weight_tiers'].includes(resource.type))\n )\n }\n\n relationship(id: string | ResourceId | null): ShippingMethodTierRel {\n return super.relationshipOneToOne<ShippingMethodTierRel>(id)\n }\n\n relationshipToMany(...ids: string[]): ShippingMethodTierRel[] {\n return super.relationshipOneToMany<ShippingMethodTierRel>(...ids)\n }\n\n type(): ShippingMethodTierType {\n return ShippingMethodTiers.TYPE\n }\n}\n\nconst instance = new ShippingMethodTiers()\nexport default instance\n\nexport type { ShippingMethodTier, ShippingMethodTiers, ShippingMethodTierType }\n"]}
|