@commercelayer/sdk 8.0.0-beta.12 → 8.0.0-beta.13
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-B1BMXFo6.d.cts +19348 -0
- package/lib/api-B1BMXFo6.d.ts +19348 -0
- package/lib/api.cjs +271 -271
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +137 -137
- 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 +140 -140
- package/lib/bundle-compat.d.cts +1 -1
- package/lib/bundle-compat.d.ts +1 -1
- package/lib/bundle-compat.js +139 -139
- package/lib/bundle.cjs +141 -141
- package/lib/bundle.d.cts +1 -1
- package/lib/bundle.d.ts +1 -1
- package/lib/bundle.js +139 -139
- package/lib/chunk-22QEVU7O.js +118 -0
- package/lib/chunk-22QEVU7O.js.map +1 -0
- package/lib/chunk-23N7ZNJN.cjs +85 -0
- package/lib/chunk-23N7ZNJN.cjs.map +1 -0
- package/lib/chunk-24FKVY4W.js +53 -0
- package/lib/chunk-24FKVY4W.js.map +1 -0
- package/lib/chunk-27C4F3SM.cjs +91 -0
- package/lib/chunk-27C4F3SM.cjs.map +1 -0
- package/lib/chunk-2BDFFEBL.js +168 -0
- package/lib/chunk-2BDFFEBL.js.map +1 -0
- package/lib/chunk-2DLE4OHU.js +91 -0
- package/lib/chunk-2DLE4OHU.js.map +1 -0
- package/lib/chunk-2EFMY5ID.js +60 -0
- package/lib/chunk-2EFMY5ID.js.map +1 -0
- package/lib/chunk-2GWJ3F3V.js +177 -0
- package/lib/chunk-2GWJ3F3V.js.map +1 -0
- package/lib/chunk-2JGAWCSO.js +68 -0
- package/lib/chunk-2JGAWCSO.js.map +1 -0
- package/lib/chunk-2P72JFW6.js +68 -0
- package/lib/chunk-2P72JFW6.js.map +1 -0
- package/lib/chunk-2P7JGV3T.cjs +70 -0
- package/lib/chunk-2P7JGV3T.cjs.map +1 -0
- package/lib/chunk-2R7IRINK.js +79 -0
- package/lib/chunk-2R7IRINK.js.map +1 -0
- package/lib/chunk-3GCSAK5R.cjs +77 -0
- package/lib/chunk-3GCSAK5R.cjs.map +1 -0
- package/lib/chunk-3OJL5XNH.js +77 -0
- package/lib/chunk-3OJL5XNH.js.map +1 -0
- package/lib/chunk-3TT3ZNWR.cjs +71 -0
- package/lib/chunk-3TT3ZNWR.cjs.map +1 -0
- package/lib/chunk-3Y3P26RJ.js +86 -0
- package/lib/chunk-3Y3P26RJ.js.map +1 -0
- package/lib/chunk-43XLD2HN.cjs +70 -0
- package/lib/chunk-43XLD2HN.cjs.map +1 -0
- package/lib/chunk-4RIOLWWG.js +82 -0
- package/lib/chunk-4RIOLWWG.js.map +1 -0
- package/lib/chunk-4SH4UNDF.cjs +98 -0
- package/lib/chunk-4SH4UNDF.cjs.map +1 -0
- package/lib/chunk-4ZIHEYP7.cjs +70 -0
- package/lib/chunk-4ZIHEYP7.cjs.map +1 -0
- package/lib/chunk-57BH3H7I.cjs +79 -0
- package/lib/chunk-57BH3H7I.cjs.map +1 -0
- package/lib/chunk-5AXTTRTZ.cjs +166 -0
- package/lib/chunk-5AXTTRTZ.cjs.map +1 -0
- package/lib/chunk-5BLV7QCQ.js +177 -0
- package/lib/chunk-5BLV7QCQ.js.map +1 -0
- package/lib/chunk-5E7XDFEY.cjs +70 -0
- package/lib/chunk-5E7XDFEY.cjs.map +1 -0
- package/lib/chunk-5GCRDWIT.cjs +53 -0
- package/lib/chunk-5GCRDWIT.cjs.map +1 -0
- package/lib/chunk-5H4QQYLL.cjs +29 -0
- package/lib/chunk-5H4QQYLL.cjs.map +1 -0
- package/lib/chunk-5JC7I6QJ.js +177 -0
- package/lib/chunk-5JC7I6QJ.js.map +1 -0
- package/lib/chunk-5N2UKZQB.cjs +44 -0
- package/lib/chunk-5N2UKZQB.cjs.map +1 -0
- package/lib/chunk-5OBBF2XZ.js +118 -0
- package/lib/chunk-5OBBF2XZ.js.map +1 -0
- package/lib/chunk-5OFBIQYL.js +60 -0
- package/lib/chunk-5OFBIQYL.js.map +1 -0
- package/lib/chunk-5WEDRZPL.cjs +44 -0
- package/lib/chunk-5WEDRZPL.cjs.map +1 -0
- package/lib/chunk-5WTAGYRE.cjs +88 -0
- package/lib/chunk-5WTAGYRE.cjs.map +1 -0
- package/lib/chunk-5YV2MUSC.js +75 -0
- package/lib/chunk-5YV2MUSC.js.map +1 -0
- package/lib/chunk-65VX4PJL.cjs +79 -0
- package/lib/chunk-65VX4PJL.cjs.map +1 -0
- package/lib/chunk-6KP5YH6F.js +68 -0
- package/lib/chunk-6KP5YH6F.js.map +1 -0
- package/lib/chunk-73PDTWDI.js +83 -0
- package/lib/chunk-73PDTWDI.js.map +1 -0
- package/lib/chunk-756AJG23.cjs +61 -0
- package/lib/chunk-756AJG23.cjs.map +1 -0
- package/lib/chunk-7CWPDL7D.cjs +71 -0
- package/lib/chunk-7CWPDL7D.cjs.map +1 -0
- package/lib/chunk-7WOEETZZ.cjs +79 -0
- package/lib/chunk-7WOEETZZ.cjs.map +1 -0
- package/lib/chunk-A3W5ZTHY.js +77 -0
- package/lib/chunk-A3W5ZTHY.js.map +1 -0
- package/lib/chunk-A3XAAY6I.js +123 -0
- package/lib/chunk-A3XAAY6I.js.map +1 -0
- package/lib/chunk-ADQDVME4.js +42 -0
- package/lib/chunk-ADQDVME4.js.map +1 -0
- package/lib/chunk-AFCRSRTJ.js +75 -0
- package/lib/chunk-AFCRSRTJ.js.map +1 -0
- package/lib/chunk-AM3F6VLX.cjs +193 -0
- package/lib/chunk-AM3F6VLX.cjs.map +1 -0
- package/lib/chunk-AVDVPECB.cjs +122 -0
- package/lib/chunk-AVDVPECB.cjs.map +1 -0
- package/lib/chunk-AXGILGEL.js +42 -0
- package/lib/chunk-AXGILGEL.js.map +1 -0
- package/lib/chunk-AZXCR5YI.cjs +79 -0
- package/lib/chunk-AZXCR5YI.cjs.map +1 -0
- package/lib/chunk-B4WLQFDI.cjs +120 -0
- package/lib/chunk-B4WLQFDI.cjs.map +1 -0
- package/lib/chunk-B6WVZLF2.cjs +79 -0
- package/lib/chunk-B6WVZLF2.cjs.map +1 -0
- package/lib/chunk-BALL5SQ4.cjs +131 -0
- package/lib/chunk-BALL5SQ4.cjs.map +1 -0
- package/lib/chunk-BBI33EU4.cjs +102 -0
- package/lib/chunk-BBI33EU4.cjs.map +1 -0
- package/lib/chunk-BHL3OK33.cjs +118 -0
- package/lib/chunk-BHL3OK33.cjs.map +1 -0
- package/lib/chunk-BOM4XWDX.cjs +79 -0
- package/lib/chunk-BOM4XWDX.cjs.map +1 -0
- package/lib/chunk-BROHUUMK.cjs +62 -0
- package/lib/chunk-BROHUUMK.cjs.map +1 -0
- package/lib/chunk-BTWAXIAN.js +86 -0
- package/lib/chunk-BTWAXIAN.js.map +1 -0
- package/lib/chunk-BVP4O5YT.js +12 -0
- package/lib/chunk-BVP4O5YT.js.map +1 -0
- package/lib/chunk-C2HCNUWI.js +86 -0
- package/lib/chunk-C2HCNUWI.js.map +1 -0
- package/lib/chunk-C4LEK74I.cjs +67 -0
- package/lib/chunk-C4LEK74I.cjs.map +1 -0
- package/lib/chunk-C4OIX7FQ.js +65 -0
- package/lib/chunk-C4OIX7FQ.js.map +1 -0
- package/lib/chunk-CAFLLUM3.js +75 -0
- package/lib/chunk-CAFLLUM3.js.map +1 -0
- package/lib/chunk-CBEDD5XV.cjs +179 -0
- package/lib/chunk-CBEDD5XV.cjs.map +1 -0
- package/lib/chunk-CCBZH2BZ.js +177 -0
- package/lib/chunk-CCBZH2BZ.js.map +1 -0
- package/lib/chunk-CEPPOT75.js +59 -0
- package/lib/chunk-CEPPOT75.js.map +1 -0
- package/lib/chunk-CLX2MA3D.cjs +77 -0
- package/lib/chunk-CLX2MA3D.cjs.map +1 -0
- package/lib/chunk-CNFMQUCE.js +68 -0
- package/lib/chunk-CNFMQUCE.js.map +1 -0
- package/lib/chunk-CTXGAWSA.cjs +55 -0
- package/lib/chunk-CTXGAWSA.cjs.map +1 -0
- package/lib/chunk-CWH7I3BL.js +68 -0
- package/lib/chunk-CWH7I3BL.js.map +1 -0
- package/lib/chunk-D3U7JSGR.cjs +60 -0
- package/lib/chunk-D3U7JSGR.cjs.map +1 -0
- package/lib/chunk-D6YW3NMU.cjs +86 -0
- package/lib/chunk-D6YW3NMU.cjs.map +1 -0
- package/lib/chunk-DCFZLBUH.js +60 -0
- package/lib/chunk-DCFZLBUH.js.map +1 -0
- package/lib/chunk-DD42A7RW.cjs +88 -0
- package/lib/chunk-DD42A7RW.cjs.map +1 -0
- package/lib/chunk-DH4MWJA5.js +50 -0
- package/lib/chunk-DH4MWJA5.js.map +1 -0
- package/lib/chunk-DMKFUBUL.cjs +79 -0
- package/lib/chunk-DMKFUBUL.cjs.map +1 -0
- package/lib/chunk-DODU3HR5.js +68 -0
- package/lib/chunk-DODU3HR5.js.map +1 -0
- package/lib/chunk-DPEMEKMH.js +91 -0
- package/lib/chunk-DPEMEKMH.js.map +1 -0
- package/lib/chunk-DQTUZXNM.cjs +60 -0
- package/lib/chunk-DQTUZXNM.cjs.map +1 -0
- package/lib/chunk-DSHKV2DU.cjs +614 -0
- package/lib/chunk-DSHKV2DU.cjs.map +1 -0
- package/lib/chunk-DVR45EYD.js +69 -0
- package/lib/chunk-DVR45EYD.js.map +1 -0
- package/lib/chunk-DYS7XVRH.js +92 -0
- package/lib/chunk-DYS7XVRH.js.map +1 -0
- package/lib/chunk-DZFJO4LF.cjs +816 -0
- package/lib/chunk-DZFJO4LF.cjs.map +1 -0
- package/lib/chunk-DZGXCZVF.cjs +53 -0
- package/lib/chunk-DZGXCZVF.cjs.map +1 -0
- package/lib/chunk-E6AATN7Y.cjs +70 -0
- package/lib/chunk-E6AATN7Y.cjs.map +1 -0
- package/lib/chunk-E7VI2SVA.cjs +93 -0
- package/lib/chunk-E7VI2SVA.cjs.map +1 -0
- package/lib/chunk-EB66RJXX.cjs +90 -0
- package/lib/chunk-EB66RJXX.cjs.map +1 -0
- package/lib/chunk-ECFRQWZF.js +77 -0
- package/lib/chunk-ECFRQWZF.js.map +1 -0
- package/lib/chunk-EDLY6XW6.cjs +61 -0
- package/lib/chunk-EDLY6XW6.cjs.map +1 -0
- package/lib/chunk-EHIRQORB.js +113 -0
- package/lib/chunk-EHIRQORB.js.map +1 -0
- package/lib/chunk-EN5IKIGN.cjs +53 -0
- package/lib/chunk-EN5IKIGN.cjs.map +1 -0
- package/lib/chunk-EORYVMG7.cjs +102 -0
- package/lib/chunk-EORYVMG7.cjs.map +1 -0
- package/lib/chunk-EP353ENQ.js +17 -0
- package/lib/chunk-EP353ENQ.js.map +1 -0
- package/lib/chunk-EPWU4GMQ.cjs +84 -0
- package/lib/chunk-EPWU4GMQ.cjs.map +1 -0
- package/lib/chunk-EQ7F256D.js +180 -0
- package/lib/chunk-EQ7F256D.js.map +1 -0
- package/lib/chunk-EVBJLO37.js +60 -0
- package/lib/chunk-EVBJLO37.js.map +1 -0
- package/lib/chunk-F3S2D4XA.js +44 -0
- package/lib/chunk-F3S2D4XA.js.map +1 -0
- package/lib/chunk-F6G7TTJP.js +42 -0
- package/lib/chunk-F6G7TTJP.js.map +1 -0
- package/lib/chunk-FAONDNFT.js +82 -0
- package/lib/chunk-FAONDNFT.js.map +1 -0
- package/lib/chunk-FGHB6SIM.cjs +122 -0
- package/lib/chunk-FGHB6SIM.cjs.map +1 -0
- package/lib/chunk-FKMQZNBZ.js +51 -0
- package/lib/chunk-FKMQZNBZ.js.map +1 -0
- package/lib/chunk-FSJ5ASJO.js +68 -0
- package/lib/chunk-FSJ5ASJO.js.map +1 -0
- package/lib/chunk-FYRSCQAT.js +100 -0
- package/lib/chunk-FYRSCQAT.js.map +1 -0
- package/lib/chunk-GDFQYZF4.js +94 -0
- package/lib/chunk-GDFQYZF4.js.map +1 -0
- package/lib/chunk-GDLOUNY7.cjs +88 -0
- package/lib/chunk-GDLOUNY7.cjs.map +1 -0
- package/lib/chunk-GDYUR3M5.cjs +91 -0
- package/lib/chunk-GDYUR3M5.cjs.map +1 -0
- package/lib/chunk-GH5VQCDT.cjs +179 -0
- package/lib/chunk-GH5VQCDT.cjs.map +1 -0
- package/lib/chunk-GLQ55MH2.cjs +77 -0
- package/lib/chunk-GLQ55MH2.cjs.map +1 -0
- package/lib/chunk-GXID6I4X.cjs +62 -0
- package/lib/chunk-GXID6I4X.cjs.map +1 -0
- package/lib/chunk-HAVNDSL3.js +68 -0
- package/lib/chunk-HAVNDSL3.js.map +1 -0
- package/lib/chunk-HAWT3AVI.cjs +35 -0
- package/lib/chunk-HAWT3AVI.cjs.map +1 -0
- package/lib/chunk-HAZOMHMN.js +80 -0
- package/lib/chunk-HAZOMHMN.js.map +1 -0
- package/lib/chunk-HBQQF3YE.js +84 -0
- package/lib/chunk-HBQQF3YE.js.map +1 -0
- package/lib/chunk-HBXGDXPS.cjs +198 -0
- package/lib/chunk-HBXGDXPS.cjs.map +1 -0
- package/lib/chunk-HETS5MDK.js +100 -0
- package/lib/chunk-HETS5MDK.js.map +1 -0
- package/lib/chunk-HIFEJ3UD.js +89 -0
- package/lib/chunk-HIFEJ3UD.js.map +1 -0
- package/lib/chunk-HOK4CEEE.js +69 -0
- package/lib/chunk-HOK4CEEE.js.map +1 -0
- package/lib/chunk-HQSUDPLN.js +42 -0
- package/lib/chunk-HQSUDPLN.js.map +1 -0
- package/lib/chunk-HRXF5PYG.js +191 -0
- package/lib/chunk-HRXF5PYG.js.map +1 -0
- package/lib/chunk-HVE6MLV2.cjs +63 -0
- package/lib/chunk-HVE6MLV2.cjs.map +1 -0
- package/lib/chunk-HVMK64MS.cjs +77 -0
- package/lib/chunk-HVMK64MS.cjs.map +1 -0
- package/lib/chunk-I663QZHP.js +60 -0
- package/lib/chunk-I663QZHP.js.map +1 -0
- package/lib/chunk-I6QA5OLE.cjs +98 -0
- package/lib/chunk-I6QA5OLE.cjs.map +1 -0
- package/lib/chunk-IBO6CPGX.cjs +98 -0
- package/lib/chunk-IBO6CPGX.cjs.map +1 -0
- package/lib/chunk-IBVEEQKC.js +89 -0
- package/lib/chunk-IBVEEQKC.js.map +1 -0
- package/lib/chunk-IERQWZMB.cjs +70 -0
- package/lib/chunk-IERQWZMB.cjs.map +1 -0
- package/lib/chunk-ILK4A253.cjs +179 -0
- package/lib/chunk-ILK4A253.cjs.map +1 -0
- package/lib/chunk-INWIFJOG.cjs +94 -0
- package/lib/chunk-INWIFJOG.cjs.map +1 -0
- package/lib/chunk-IOFM4JEN.cjs +44 -0
- package/lib/chunk-IOFM4JEN.cjs.map +1 -0
- package/lib/chunk-IOHDRJKA.cjs +80 -0
- package/lib/chunk-IOHDRJKA.cjs.map +1 -0
- package/lib/chunk-IVP2QAEE.js +77 -0
- package/lib/chunk-IVP2QAEE.js.map +1 -0
- package/lib/chunk-J4CIIZ7K.js +58 -0
- package/lib/chunk-J4CIIZ7K.js.map +1 -0
- package/lib/chunk-J5RQQEG7.js +89 -0
- package/lib/chunk-J5RQQEG7.js.map +1 -0
- package/lib/chunk-JDZMUJEG.js +100 -0
- package/lib/chunk-JDZMUJEG.js.map +1 -0
- package/lib/chunk-JGRWFQIK.cjs +52 -0
- package/lib/chunk-JGRWFQIK.cjs.map +1 -0
- package/lib/chunk-JHQLDVWP.cjs +67 -0
- package/lib/chunk-JHQLDVWP.cjs.map +1 -0
- package/lib/chunk-JIDUW5OL.js +82 -0
- package/lib/chunk-JIDUW5OL.js.map +1 -0
- package/lib/chunk-JR3KXI2J.cjs +117 -0
- package/lib/chunk-JR3KXI2J.cjs.map +1 -0
- package/lib/chunk-JROMCT3R.cjs +88 -0
- package/lib/chunk-JROMCT3R.cjs.map +1 -0
- package/lib/chunk-JTCQISTA.cjs +91 -0
- package/lib/chunk-JTCQISTA.cjs.map +1 -0
- package/lib/chunk-K6R2EBBD.cjs +70 -0
- package/lib/chunk-K6R2EBBD.cjs.map +1 -0
- package/lib/chunk-KAAL3X72.cjs +84 -0
- package/lib/chunk-KAAL3X72.cjs.map +1 -0
- package/lib/chunk-KAFJIMKH.js +88 -0
- package/lib/chunk-KAFJIMKH.js.map +1 -0
- package/lib/chunk-KD6CL5CK.cjs +81 -0
- package/lib/chunk-KD6CL5CK.cjs.map +1 -0
- package/lib/chunk-KGDYXOHY.js +51 -0
- package/lib/chunk-KGDYXOHY.js.map +1 -0
- package/lib/chunk-KITEAEYA.js +96 -0
- package/lib/chunk-KITEAEYA.js.map +1 -0
- package/lib/chunk-KLQVXFFS.cjs +179 -0
- package/lib/chunk-KLQVXFFS.cjs.map +1 -0
- package/lib/chunk-KNYGM6CD.cjs +79 -0
- package/lib/chunk-KNYGM6CD.cjs.map +1 -0
- package/lib/chunk-L2CAYREK.js +68 -0
- package/lib/chunk-L2CAYREK.js.map +1 -0
- package/lib/chunk-L3Q2TFM3.js +191 -0
- package/lib/chunk-L3Q2TFM3.js.map +1 -0
- package/lib/chunk-L6UNI64M.cjs +91 -0
- package/lib/chunk-L6UNI64M.cjs.map +1 -0
- package/lib/chunk-LCAZRGON.js +116 -0
- package/lib/chunk-LCAZRGON.js.map +1 -0
- package/lib/chunk-LDE7CC7L.js +196 -0
- package/lib/chunk-LDE7CC7L.js.map +1 -0
- package/lib/chunk-LFCHI43P.cjs +46 -0
- package/lib/chunk-LFCHI43P.cjs.map +1 -0
- package/lib/chunk-LIBKAWDY.cjs +712 -0
- package/lib/chunk-LIBKAWDY.cjs.map +1 -0
- package/lib/chunk-LKDWO346.js +68 -0
- package/lib/chunk-LKDWO346.js.map +1 -0
- package/lib/chunk-LLYSQ5JX.js +60 -0
- package/lib/chunk-LLYSQ5JX.js.map +1 -0
- package/lib/chunk-LP4HCCSP.js +132 -0
- package/lib/chunk-LP4HCCSP.js.map +1 -0
- package/lib/chunk-LVZUJ6IN.js +120 -0
- package/lib/chunk-LVZUJ6IN.js.map +1 -0
- package/lib/chunk-M2TFEBGP.cjs +75 -0
- package/lib/chunk-M2TFEBGP.cjs.map +1 -0
- package/lib/chunk-MITMRRX2.cjs +19 -0
- package/lib/chunk-MITMRRX2.cjs.map +1 -0
- package/lib/chunk-MMF27PU7.js +612 -0
- package/lib/chunk-MMF27PU7.js.map +1 -0
- package/lib/chunk-MRVEUGPI.cjs +52 -0
- package/lib/chunk-MRVEUGPI.cjs.map +1 -0
- package/lib/chunk-MUBD6YPJ.cjs +70 -0
- package/lib/chunk-MUBD6YPJ.cjs.map +1 -0
- package/lib/chunk-N5FS2DVM.js +75 -0
- package/lib/chunk-N5FS2DVM.js.map +1 -0
- package/lib/chunk-N6HG6W3R.js +92 -0
- package/lib/chunk-N6HG6W3R.js.map +1 -0
- package/lib/chunk-NBXYK3NQ.js +164 -0
- package/lib/chunk-NBXYK3NQ.js.map +1 -0
- package/lib/chunk-NDP7Z7DS.cjs +205 -0
- package/lib/chunk-NDP7Z7DS.cjs.map +1 -0
- package/lib/chunk-NGNKJ6WL.js +96 -0
- package/lib/chunk-NGNKJ6WL.js.map +1 -0
- package/lib/chunk-NIRFJABJ.js +51 -0
- package/lib/chunk-NIRFJABJ.js.map +1 -0
- package/lib/chunk-NJ6UVTYG.cjs +61 -0
- package/lib/chunk-NJ6UVTYG.cjs.map +1 -0
- package/lib/chunk-NMXOO64W.cjs +182 -0
- package/lib/chunk-NMXOO64W.cjs.map +1 -0
- package/lib/chunk-NOYJYNWI.cjs +38 -0
- package/lib/chunk-NOYJYNWI.cjs.map +1 -0
- package/lib/chunk-NT2DAUSV.cjs +243 -0
- package/lib/chunk-NT2DAUSV.cjs.map +1 -0
- package/lib/chunk-NVAGPUU6.cjs +115 -0
- package/lib/chunk-NVAGPUU6.cjs.map +1 -0
- package/lib/chunk-NX2T5UXY.js +120 -0
- package/lib/chunk-NX2T5UXY.js.map +1 -0
- package/lib/chunk-NYP4VNBV.cjs +91 -0
- package/lib/chunk-NYP4VNBV.cjs.map +1 -0
- package/lib/chunk-NZMCLORF.cjs +70 -0
- package/lib/chunk-NZMCLORF.cjs.map +1 -0
- package/lib/chunk-O26QPADM.js +77 -0
- package/lib/chunk-O26QPADM.js.map +1 -0
- package/lib/chunk-O2OH2BOI.js +82 -0
- package/lib/chunk-O2OH2BOI.js.map +1 -0
- package/lib/chunk-O6DODGY7.js +241 -0
- package/lib/chunk-O6DODGY7.js.map +1 -0
- package/lib/chunk-OCMOWAHV.cjs +80 -0
- package/lib/chunk-OCMOWAHV.cjs.map +1 -0
- package/lib/chunk-OF2GTDJ3.js +50 -0
- package/lib/chunk-OF2GTDJ3.js.map +1 -0
- package/lib/chunk-OGY4DULR.cjs +193 -0
- package/lib/chunk-OGY4DULR.cjs.map +1 -0
- package/lib/chunk-OM2AZYLG.cjs +91 -0
- package/lib/chunk-OM2AZYLG.cjs.map +1 -0
- package/lib/chunk-OONH6WXN.cjs +79 -0
- package/lib/chunk-OONH6WXN.cjs.map +1 -0
- package/lib/chunk-OULDY4YE.cjs +44 -0
- package/lib/chunk-OULDY4YE.cjs.map +1 -0
- package/lib/chunk-OWPG3FNI.cjs +53 -0
- package/lib/chunk-OWPG3FNI.cjs.map +1 -0
- package/lib/chunk-OZIR3YWA.js +86 -0
- package/lib/chunk-OZIR3YWA.js.map +1 -0
- package/lib/chunk-P2JPRBHZ.js +51 -0
- package/lib/chunk-P2JPRBHZ.js.map +1 -0
- package/lib/chunk-P3H7TCQO.cjs +70 -0
- package/lib/chunk-P3H7TCQO.cjs.map +1 -0
- package/lib/chunk-P4IHC45V.js +68 -0
- package/lib/chunk-P4IHC45V.js.map +1 -0
- package/lib/chunk-P7ROLPCU.js +77 -0
- package/lib/chunk-P7ROLPCU.js.map +1 -0
- package/lib/chunk-PCGH6UJQ.js +50 -0
- package/lib/chunk-PCGH6UJQ.js.map +1 -0
- package/lib/chunk-PKE3BBFP.js +68 -0
- package/lib/chunk-PKE3BBFP.js.map +1 -0
- package/lib/chunk-PMERNCSJ.js +203 -0
- package/lib/chunk-PMERNCSJ.js.map +1 -0
- package/lib/chunk-PNTX6XU2.cjs +323 -0
- package/lib/chunk-PNTX6XU2.cjs.map +1 -0
- package/lib/chunk-PQ75J3RB.js +58 -0
- package/lib/chunk-PQ75J3RB.js.map +1 -0
- package/lib/chunk-PSBMKEZE.js +89 -0
- package/lib/chunk-PSBMKEZE.js.map +1 -0
- package/lib/chunk-PWWE7OPX.js +51 -0
- package/lib/chunk-PWWE7OPX.js.map +1 -0
- package/lib/chunk-PZST5ZSQ.cjs +79 -0
- package/lib/chunk-PZST5ZSQ.cjs.map +1 -0
- package/lib/chunk-Q6NZ4ERM.js +808 -0
- package/lib/chunk-Q6NZ4ERM.js.map +1 -0
- package/lib/chunk-Q7HH3WAF.js +89 -0
- package/lib/chunk-Q7HH3WAF.js.map +1 -0
- package/lib/chunk-QC7VOWFK.cjs +70 -0
- package/lib/chunk-QC7VOWFK.cjs.map +1 -0
- package/lib/chunk-QDAZS5P4.js +77 -0
- package/lib/chunk-QDAZS5P4.js.map +1 -0
- package/lib/chunk-QF6NWTGQ.cjs +79 -0
- package/lib/chunk-QF6NWTGQ.cjs.map +1 -0
- package/lib/chunk-QULKMJNT.cjs +16 -0
- package/lib/chunk-QULKMJNT.cjs.map +1 -0
- package/lib/chunk-QUW37EJH.js +36 -0
- package/lib/chunk-QUW37EJH.js.map +1 -0
- package/lib/chunk-QVZAZNT7.js +96 -0
- package/lib/chunk-QVZAZNT7.js.map +1 -0
- package/lib/chunk-R2ZRTQ47.cjs +88 -0
- package/lib/chunk-R2ZRTQ47.cjs.map +1 -0
- package/lib/chunk-R6FQFTXL.cjs +70 -0
- package/lib/chunk-R6FQFTXL.cjs.map +1 -0
- package/lib/chunk-RHP23EX4.cjs +62 -0
- package/lib/chunk-RHP23EX4.cjs.map +1 -0
- package/lib/chunk-RIEJBKV5.cjs +82 -0
- package/lib/chunk-RIEJBKV5.cjs.map +1 -0
- package/lib/chunk-RRKI2DT7.cjs +62 -0
- package/lib/chunk-RRKI2DT7.cjs.map +1 -0
- package/lib/chunk-RSQTDLUZ.js +27 -0
- package/lib/chunk-RSQTDLUZ.js.map +1 -0
- package/lib/chunk-RT734KX6.cjs +179 -0
- package/lib/chunk-RT734KX6.cjs.map +1 -0
- package/lib/chunk-RZB3YT7E.js +86 -0
- package/lib/chunk-RZB3YT7E.js.map +1 -0
- package/lib/chunk-RZZZDMV4.js +77 -0
- package/lib/chunk-RZZZDMV4.js.map +1 -0
- package/lib/chunk-S3NUL3KA.js +68 -0
- package/lib/chunk-S3NUL3KA.js.map +1 -0
- package/lib/chunk-S43GW2P2.js +75 -0
- package/lib/chunk-S43GW2P2.js.map +1 -0
- package/lib/chunk-SC6RW7TX.cjs +193 -0
- package/lib/chunk-SC6RW7TX.cjs.map +1 -0
- package/lib/chunk-SFLFBJYM.js +177 -0
- package/lib/chunk-SFLFBJYM.js.map +1 -0
- package/lib/chunk-SGCLUVCE.js +24 -0
- package/lib/chunk-SGCLUVCE.js.map +1 -0
- package/lib/chunk-SHQ5WPWB.cjs +62 -0
- package/lib/chunk-SHQ5WPWB.cjs.map +1 -0
- package/lib/chunk-SJTDKSSV.cjs +179 -0
- package/lib/chunk-SJTDKSSV.cjs.map +1 -0
- package/lib/chunk-SNVAKY6A.js +79 -0
- package/lib/chunk-SNVAKY6A.js.map +1 -0
- package/lib/chunk-SVNPIPNB.cjs +96 -0
- package/lib/chunk-SVNPIPNB.cjs.map +1 -0
- package/lib/chunk-SWAKRVXF.js +84 -0
- package/lib/chunk-SWAKRVXF.js.map +1 -0
- package/lib/chunk-SXDLEQXQ.cjs +94 -0
- package/lib/chunk-SXDLEQXQ.cjs.map +1 -0
- package/lib/chunk-T2O6ZEDI.js +78 -0
- package/lib/chunk-T2O6ZEDI.js.map +1 -0
- package/lib/chunk-T7KEDNBP.js +96 -0
- package/lib/chunk-T7KEDNBP.js.map +1 -0
- package/lib/chunk-TBKNPEXT.cjs +70 -0
- package/lib/chunk-TBKNPEXT.cjs.map +1 -0
- package/lib/chunk-TBTPGODY.cjs +86 -0
- package/lib/chunk-TBTPGODY.cjs.map +1 -0
- package/lib/chunk-TGUDVMKA.js +124 -0
- package/lib/chunk-TGUDVMKA.js.map +1 -0
- package/lib/chunk-TJMXOSWV.cjs +89 -0
- package/lib/chunk-TJMXOSWV.cjs.map +1 -0
- package/lib/chunk-TXO5TNAN.cjs +70 -0
- package/lib/chunk-TXO5TNAN.cjs.map +1 -0
- package/lib/chunk-U5HAYP73.js +87 -0
- package/lib/chunk-U5HAYP73.js.map +1 -0
- package/lib/chunk-UAHOAAF5.cjs +102 -0
- package/lib/chunk-UAHOAAF5.cjs.map +1 -0
- package/lib/chunk-UC4EBIEP.cjs +40 -0
- package/lib/chunk-UC4EBIEP.cjs.map +1 -0
- package/lib/chunk-UFB5C7RB.js +79 -0
- package/lib/chunk-UFB5C7RB.js.map +1 -0
- package/lib/chunk-UKPP3NJH.js +67 -0
- package/lib/chunk-UKPP3NJH.js.map +1 -0
- package/lib/chunk-USDSZN37.cjs +120 -0
- package/lib/chunk-USDSZN37.cjs.map +1 -0
- package/lib/chunk-USF6ZXAU.js +33 -0
- package/lib/chunk-USF6ZXAU.js.map +1 -0
- package/lib/chunk-UTEWVMUY.js +78 -0
- package/lib/chunk-UTEWVMUY.js.map +1 -0
- package/lib/chunk-UTIVMNMW.js +73 -0
- package/lib/chunk-UTIVMNMW.js.map +1 -0
- package/lib/chunk-VBISYOF4.cjs +77 -0
- package/lib/chunk-VBISYOF4.cjs.map +1 -0
- package/lib/chunk-VEG7LLQB.js +59 -0
- package/lib/chunk-VEG7LLQB.js.map +1 -0
- package/lib/chunk-VNZTHEHI.cjs +52 -0
- package/lib/chunk-VNZTHEHI.cjs.map +1 -0
- package/lib/chunk-VSBNV5XE.js +77 -0
- package/lib/chunk-VSBNV5XE.js.map +1 -0
- package/lib/chunk-VSIPPK7O.cjs +81 -0
- package/lib/chunk-VSIPPK7O.cjs.map +1 -0
- package/lib/chunk-VUET2RHO.js +177 -0
- package/lib/chunk-VUET2RHO.js.map +1 -0
- package/lib/chunk-VUVWOQW3.cjs +170 -0
- package/lib/chunk-VUVWOQW3.cjs.map +1 -0
- package/lib/chunk-VWWMNMVU.js +60 -0
- package/lib/chunk-VWWMNMVU.js.map +1 -0
- package/lib/chunk-VWZTYMTS.js +709 -0
- package/lib/chunk-VWZTYMTS.js.map +1 -0
- package/lib/chunk-W4PGH4JH.js +113 -0
- package/lib/chunk-W4PGH4JH.js.map +1 -0
- package/lib/chunk-W7WL44ZO.cjs +84 -0
- package/lib/chunk-W7WL44ZO.cjs.map +1 -0
- package/lib/chunk-WDPGYKKY.cjs +126 -0
- package/lib/chunk-WDPGYKKY.cjs.map +1 -0
- package/lib/chunk-WNKENBNE.cjs +53 -0
- package/lib/chunk-WNKENBNE.cjs.map +1 -0
- package/lib/chunk-WNM4AOJM.cjs +98 -0
- package/lib/chunk-WNM4AOJM.cjs.map +1 -0
- package/lib/chunk-WXVWQXDZ.js +129 -0
- package/lib/chunk-WXVWQXDZ.js.map +1 -0
- package/lib/chunk-X3KKVQ4B.js +89 -0
- package/lib/chunk-X3KKVQ4B.js.map +1 -0
- package/lib/chunk-XARE43DB.js +191 -0
- package/lib/chunk-XARE43DB.js.map +1 -0
- package/lib/chunk-XIAEDILF.cjs +70 -0
- package/lib/chunk-XIAEDILF.cjs.map +1 -0
- package/lib/chunk-XMDSMUH4.js +65 -0
- package/lib/chunk-XMDSMUH4.js.map +1 -0
- package/lib/chunk-XOMDOKUR.js +77 -0
- package/lib/chunk-XOMDOKUR.js.map +1 -0
- package/lib/chunk-XU2TLA7E.js +59 -0
- package/lib/chunk-XU2TLA7E.js.map +1 -0
- package/lib/chunk-XVJ74AKI.js +321 -0
- package/lib/chunk-XVJ74AKI.js.map +1 -0
- package/lib/chunk-Y5LFT7RG.js +77 -0
- package/lib/chunk-Y5LFT7RG.js.map +1 -0
- package/lib/chunk-YAEFTHO3.cjs +93 -0
- package/lib/chunk-YAEFTHO3.cjs.map +1 -0
- package/lib/chunk-YENWKHWP.cjs +26 -0
- package/lib/chunk-YENWKHWP.cjs.map +1 -0
- package/lib/chunk-YG7QYI34.cjs +134 -0
- package/lib/chunk-YG7QYI34.cjs.map +1 -0
- package/lib/chunk-YJIBX2CK.cjs +81 -0
- package/lib/chunk-YJIBX2CK.cjs.map +1 -0
- package/lib/chunk-YOACNJYE.cjs +79 -0
- package/lib/chunk-YOACNJYE.cjs.map +1 -0
- package/lib/chunk-YSSUMXAB.cjs +62 -0
- package/lib/chunk-YSSUMXAB.cjs.map +1 -0
- package/lib/chunk-YWJTC2WA.cjs +69 -0
- package/lib/chunk-YWJTC2WA.cjs.map +1 -0
- package/lib/chunk-Z2E5OBDM.js +68 -0
- package/lib/chunk-Z2E5OBDM.js.map +1 -0
- package/lib/chunk-ZAFGXVIP.js +61 -0
- package/lib/chunk-ZAFGXVIP.js.map +1 -0
- package/lib/chunk-ZBGZB2ON.cjs +62 -0
- package/lib/chunk-ZBGZB2ON.cjs.map +1 -0
- package/lib/chunk-ZC5CIFZU.js +77 -0
- package/lib/chunk-ZC5CIFZU.js.map +1 -0
- package/lib/chunk-ZEHBZXJ5.cjs +84 -0
- package/lib/chunk-ZEHBZXJ5.cjs.map +1 -0
- package/lib/chunk-ZI6LGD3R.js +38 -0
- package/lib/chunk-ZI6LGD3R.js.map +1 -0
- package/lib/chunk-ZLQH6Q4K.cjs +125 -0
- package/lib/chunk-ZLQH6Q4K.cjs.map +1 -0
- package/lib/chunk-ZPQ775KO.js +68 -0
- package/lib/chunk-ZPQ775KO.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 +146 -146
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +141 -141
- 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_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_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/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 +279 -279
- package/lib/single-client.d.cts +1 -1
- package/lib/single-client.d.ts +1 -1
- package/lib/single-client.js +140 -140
- 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 +2 -2
- package/lib/api-D0eatyA3.d.cts +0 -19341
- package/lib/api-D0eatyA3.d.ts +0 -19341
- package/lib/chunk-23URFLKP.js +0 -69
- package/lib/chunk-23URFLKP.js.map +0 -1
- package/lib/chunk-24MBIFVA.cjs +0 -70
- package/lib/chunk-24MBIFVA.cjs.map +0 -1
- package/lib/chunk-2BQWTC5S.cjs +0 -125
- package/lib/chunk-2BQWTC5S.cjs.map +0 -1
- package/lib/chunk-2DSQA3AH.js +0 -86
- package/lib/chunk-2DSQA3AH.js.map +0 -1
- package/lib/chunk-2HJ3L77F.cjs +0 -81
- package/lib/chunk-2HJ3L77F.cjs.map +0 -1
- package/lib/chunk-2PNIRVMS.js +0 -75
- package/lib/chunk-2PNIRVMS.js.map +0 -1
- package/lib/chunk-2WSD3E3G.js +0 -77
- package/lib/chunk-2WSD3E3G.js.map +0 -1
- package/lib/chunk-2XIWERKY.js +0 -73
- package/lib/chunk-2XIWERKY.js.map +0 -1
- package/lib/chunk-32NZQRH7.cjs +0 -62
- package/lib/chunk-32NZQRH7.cjs.map +0 -1
- package/lib/chunk-346RKEND.js +0 -84
- package/lib/chunk-346RKEND.js.map +0 -1
- package/lib/chunk-37EXQJZT.js +0 -75
- package/lib/chunk-37EXQJZT.js.map +0 -1
- package/lib/chunk-3DCRFK2I.cjs +0 -70
- package/lib/chunk-3DCRFK2I.cjs.map +0 -1
- package/lib/chunk-3HSY3BRY.js +0 -42
- package/lib/chunk-3HSY3BRY.js.map +0 -1
- package/lib/chunk-3HY6ZUYQ.cjs +0 -115
- package/lib/chunk-3HY6ZUYQ.cjs.map +0 -1
- package/lib/chunk-3NYP67U2.cjs +0 -118
- package/lib/chunk-3NYP67U2.cjs.map +0 -1
- package/lib/chunk-3OXKOEHT.cjs +0 -91
- package/lib/chunk-3OXKOEHT.cjs.map +0 -1
- package/lib/chunk-3P4RX57L.cjs +0 -94
- package/lib/chunk-3P4RX57L.cjs.map +0 -1
- package/lib/chunk-3PZVWRCK.js +0 -180
- package/lib/chunk-3PZVWRCK.js.map +0 -1
- package/lib/chunk-3SMXHQ6X.cjs +0 -61
- package/lib/chunk-3SMXHQ6X.cjs.map +0 -1
- package/lib/chunk-3UOZGKNM.js +0 -129
- package/lib/chunk-3UOZGKNM.js.map +0 -1
- package/lib/chunk-424U6FMB.cjs +0 -44
- package/lib/chunk-424U6FMB.cjs.map +0 -1
- package/lib/chunk-43WFN4DX.cjs +0 -19
- package/lib/chunk-43WFN4DX.cjs.map +0 -1
- package/lib/chunk-475MKBER.cjs +0 -86
- package/lib/chunk-475MKBER.cjs.map +0 -1
- package/lib/chunk-4HB7CRMG.cjs +0 -70
- package/lib/chunk-4HB7CRMG.cjs.map +0 -1
- package/lib/chunk-4IY3XMDJ.cjs +0 -205
- package/lib/chunk-4IY3XMDJ.cjs.map +0 -1
- package/lib/chunk-4PJ2LIM6.js +0 -113
- package/lib/chunk-4PJ2LIM6.js.map +0 -1
- package/lib/chunk-4RZSTEYC.cjs +0 -79
- package/lib/chunk-4RZSTEYC.cjs.map +0 -1
- package/lib/chunk-4VISJW7S.js +0 -68
- package/lib/chunk-4VISJW7S.js.map +0 -1
- package/lib/chunk-4Y5KJTZE.cjs +0 -614
- package/lib/chunk-4Y5KJTZE.cjs.map +0 -1
- package/lib/chunk-54RV6UFR.js +0 -78
- package/lib/chunk-54RV6UFR.js.map +0 -1
- package/lib/chunk-57VBD4AA.cjs +0 -70
- package/lib/chunk-57VBD4AA.cjs.map +0 -1
- package/lib/chunk-5JUTXCVS.js +0 -191
- package/lib/chunk-5JUTXCVS.js.map +0 -1
- package/lib/chunk-5ZXPNCGU.cjs +0 -102
- package/lib/chunk-5ZXPNCGU.cjs.map +0 -1
- package/lib/chunk-6E76MVAJ.cjs +0 -94
- package/lib/chunk-6E76MVAJ.cjs.map +0 -1
- package/lib/chunk-6ED5TPZK.cjs +0 -79
- package/lib/chunk-6ED5TPZK.cjs.map +0 -1
- package/lib/chunk-6GV72TJ3.js +0 -113
- package/lib/chunk-6GV72TJ3.js.map +0 -1
- package/lib/chunk-6OH35VFP.cjs +0 -61
- package/lib/chunk-6OH35VFP.cjs.map +0 -1
- package/lib/chunk-6PTRHKSW.cjs +0 -70
- package/lib/chunk-6PTRHKSW.cjs.map +0 -1
- package/lib/chunk-6VQ7I5IF.js +0 -51
- package/lib/chunk-6VQ7I5IF.js.map +0 -1
- package/lib/chunk-6XCEZPJE.cjs +0 -85
- package/lib/chunk-6XCEZPJE.cjs.map +0 -1
- package/lib/chunk-73OCIZVQ.cjs +0 -102
- package/lib/chunk-73OCIZVQ.cjs.map +0 -1
- package/lib/chunk-7C7OMUFD.cjs +0 -98
- package/lib/chunk-7C7OMUFD.cjs.map +0 -1
- package/lib/chunk-7FSZ6SBH.js +0 -177
- package/lib/chunk-7FSZ6SBH.js.map +0 -1
- package/lib/chunk-7MAXJKPR.js +0 -80
- package/lib/chunk-7MAXJKPR.js.map +0 -1
- package/lib/chunk-7OO4CUD3.js +0 -203
- package/lib/chunk-7OO4CUD3.js.map +0 -1
- package/lib/chunk-7TDL2W4Y.cjs +0 -70
- package/lib/chunk-7TDL2W4Y.cjs.map +0 -1
- package/lib/chunk-7YQQQTZN.cjs +0 -77
- package/lib/chunk-7YQQQTZN.cjs.map +0 -1
- package/lib/chunk-A5VRPXCX.cjs +0 -134
- package/lib/chunk-A5VRPXCX.cjs.map +0 -1
- package/lib/chunk-A5XWHEAW.js +0 -68
- package/lib/chunk-A5XWHEAW.js.map +0 -1
- package/lib/chunk-ABNTISBI.js +0 -50
- package/lib/chunk-ABNTISBI.js.map +0 -1
- package/lib/chunk-AESVJ5CV.cjs +0 -70
- package/lib/chunk-AESVJ5CV.cjs.map +0 -1
- package/lib/chunk-AOIPH64V.cjs +0 -79
- package/lib/chunk-AOIPH64V.cjs.map +0 -1
- package/lib/chunk-AOSNZ3D5.js +0 -241
- package/lib/chunk-AOSNZ3D5.js.map +0 -1
- package/lib/chunk-AUPYST3F.js +0 -177
- package/lib/chunk-AUPYST3F.js.map +0 -1
- package/lib/chunk-AWA4622I.cjs +0 -80
- package/lib/chunk-AWA4622I.cjs.map +0 -1
- package/lib/chunk-AX5RKHRG.cjs +0 -98
- package/lib/chunk-AX5RKHRG.cjs.map +0 -1
- package/lib/chunk-BHYMWU3Y.js +0 -12
- package/lib/chunk-BHYMWU3Y.js.map +0 -1
- package/lib/chunk-BJFAKJ6R.js +0 -77
- package/lib/chunk-BJFAKJ6R.js.map +0 -1
- package/lib/chunk-BNPSK3AX.cjs +0 -90
- package/lib/chunk-BNPSK3AX.cjs.map +0 -1
- package/lib/chunk-BX3VJO26.js +0 -68
- package/lib/chunk-BX3VJO26.js.map +0 -1
- package/lib/chunk-CCNTO5PD.js +0 -68
- package/lib/chunk-CCNTO5PD.js.map +0 -1
- package/lib/chunk-CHZW23J5.js +0 -24
- package/lib/chunk-CHZW23J5.js.map +0 -1
- package/lib/chunk-CK4S634W.js +0 -51
- package/lib/chunk-CK4S634W.js.map +0 -1
- package/lib/chunk-CL7NQ7SS.js +0 -44
- package/lib/chunk-CL7NQ7SS.js.map +0 -1
- package/lib/chunk-CLJC6OIA.js +0 -91
- package/lib/chunk-CLJC6OIA.js.map +0 -1
- package/lib/chunk-CPTBSFBO.js +0 -51
- package/lib/chunk-CPTBSFBO.js.map +0 -1
- package/lib/chunk-CQKXD2E4.js +0 -84
- package/lib/chunk-CQKXD2E4.js.map +0 -1
- package/lib/chunk-CSOKDC4R.cjs +0 -88
- package/lib/chunk-CSOKDC4R.cjs.map +0 -1
- package/lib/chunk-CSUG7RWW.js +0 -65
- package/lib/chunk-CSUG7RWW.js.map +0 -1
- package/lib/chunk-CTIVKRAD.cjs +0 -70
- package/lib/chunk-CTIVKRAD.cjs.map +0 -1
- package/lib/chunk-CUHP564L.js +0 -89
- package/lib/chunk-CUHP564L.js.map +0 -1
- package/lib/chunk-CUK2U7NN.cjs +0 -62
- package/lib/chunk-CUK2U7NN.cjs.map +0 -1
- package/lib/chunk-CWXVJ6YG.js +0 -89
- package/lib/chunk-CWXVJ6YG.js.map +0 -1
- package/lib/chunk-CY2PLGSB.cjs +0 -120
- package/lib/chunk-CY2PLGSB.cjs.map +0 -1
- package/lib/chunk-D2TP75LQ.cjs +0 -67
- package/lib/chunk-D2TP75LQ.cjs.map +0 -1
- package/lib/chunk-D37NLCFK.js +0 -191
- package/lib/chunk-D37NLCFK.js.map +0 -1
- package/lib/chunk-D5VC6YOB.cjs +0 -91
- package/lib/chunk-D5VC6YOB.cjs.map +0 -1
- package/lib/chunk-DA5GCFQM.cjs +0 -89
- package/lib/chunk-DA5GCFQM.cjs.map +0 -1
- package/lib/chunk-DFOOH2WW.js +0 -60
- package/lib/chunk-DFOOH2WW.js.map +0 -1
- package/lib/chunk-DHPCNTAW.cjs +0 -98
- package/lib/chunk-DHPCNTAW.cjs.map +0 -1
- package/lib/chunk-DJBO3WTX.js +0 -68
- package/lib/chunk-DJBO3WTX.js.map +0 -1
- package/lib/chunk-DQXPL4R4.js +0 -709
- package/lib/chunk-DQXPL4R4.js.map +0 -1
- package/lib/chunk-EATLGC6R.cjs +0 -79
- package/lib/chunk-EATLGC6R.cjs.map +0 -1
- package/lib/chunk-EBUSVBHB.js +0 -68
- package/lib/chunk-EBUSVBHB.js.map +0 -1
- package/lib/chunk-EDU5O2BV.js +0 -94
- package/lib/chunk-EDU5O2BV.js.map +0 -1
- package/lib/chunk-EEUEHM7P.js +0 -58
- package/lib/chunk-EEUEHM7P.js.map +0 -1
- package/lib/chunk-EGD5RSXO.js +0 -38
- package/lib/chunk-EGD5RSXO.js.map +0 -1
- package/lib/chunk-ENTP2RZN.js +0 -89
- package/lib/chunk-ENTP2RZN.js.map +0 -1
- package/lib/chunk-EPCTKVEX.js +0 -50
- package/lib/chunk-EPCTKVEX.js.map +0 -1
- package/lib/chunk-ERIYAZFF.cjs +0 -91
- package/lib/chunk-ERIYAZFF.cjs.map +0 -1
- package/lib/chunk-ESVJZWNY.js +0 -89
- package/lib/chunk-ESVJZWNY.js.map +0 -1
- package/lib/chunk-EXKSLABH.cjs +0 -26
- package/lib/chunk-EXKSLABH.cjs.map +0 -1
- package/lib/chunk-F4NY3VXW.js +0 -51
- package/lib/chunk-F4NY3VXW.js.map +0 -1
- package/lib/chunk-FAY6QWMD.js +0 -59
- package/lib/chunk-FAY6QWMD.js.map +0 -1
- package/lib/chunk-FB4YNZ27.cjs +0 -77
- package/lib/chunk-FB4YNZ27.cjs.map +0 -1
- package/lib/chunk-FBN3XE7X.js +0 -321
- package/lib/chunk-FBN3XE7X.js.map +0 -1
- package/lib/chunk-FBUQUNF7.js +0 -50
- package/lib/chunk-FBUQUNF7.js.map +0 -1
- package/lib/chunk-FJFKKH63.js +0 -96
- package/lib/chunk-FJFKKH63.js.map +0 -1
- package/lib/chunk-FLTDGOWH.cjs +0 -179
- package/lib/chunk-FLTDGOWH.cjs.map +0 -1
- package/lib/chunk-FTJVKRNI.cjs +0 -70
- package/lib/chunk-FTJVKRNI.cjs.map +0 -1
- package/lib/chunk-FU6GXVWX.cjs +0 -70
- package/lib/chunk-FU6GXVWX.cjs.map +0 -1
- package/lib/chunk-FX3LUP53.cjs +0 -96
- package/lib/chunk-FX3LUP53.cjs.map +0 -1
- package/lib/chunk-G264EKGR.js +0 -86
- package/lib/chunk-G264EKGR.js.map +0 -1
- package/lib/chunk-G66NQJYO.cjs +0 -82
- package/lib/chunk-G66NQJYO.cjs.map +0 -1
- package/lib/chunk-GBA62ZSN.cjs +0 -52
- package/lib/chunk-GBA62ZSN.cjs.map +0 -1
- package/lib/chunk-GCVUOAVT.js +0 -86
- package/lib/chunk-GCVUOAVT.js.map +0 -1
- package/lib/chunk-GEY2R25H.js +0 -60
- package/lib/chunk-GEY2R25H.js.map +0 -1
- package/lib/chunk-GFYA3JFR.js +0 -100
- package/lib/chunk-GFYA3JFR.js.map +0 -1
- package/lib/chunk-GKLSNJYZ.cjs +0 -62
- package/lib/chunk-GKLSNJYZ.cjs.map +0 -1
- package/lib/chunk-GLYW4X75.js +0 -77
- package/lib/chunk-GLYW4X75.js.map +0 -1
- package/lib/chunk-GQ4EG3PH.js +0 -177
- package/lib/chunk-GQ4EG3PH.js.map +0 -1
- package/lib/chunk-GRMIWQRN.js +0 -68
- package/lib/chunk-GRMIWQRN.js.map +0 -1
- package/lib/chunk-GRN6UI5O.js +0 -75
- package/lib/chunk-GRN6UI5O.js.map +0 -1
- package/lib/chunk-GRY655U3.cjs +0 -61
- package/lib/chunk-GRY655U3.cjs.map +0 -1
- package/lib/chunk-GUOXJ2II.cjs +0 -182
- package/lib/chunk-GUOXJ2II.cjs.map +0 -1
- package/lib/chunk-GWAJA5WZ.cjs +0 -179
- package/lib/chunk-GWAJA5WZ.cjs.map +0 -1
- package/lib/chunk-H7C5BAYC.js +0 -82
- package/lib/chunk-H7C5BAYC.js.map +0 -1
- package/lib/chunk-HABG2EQZ.cjs +0 -179
- package/lib/chunk-HABG2EQZ.cjs.map +0 -1
- package/lib/chunk-HEQKQD6L.cjs +0 -80
- package/lib/chunk-HEQKQD6L.cjs.map +0 -1
- package/lib/chunk-HEUHQU5Q.js +0 -177
- package/lib/chunk-HEUHQU5Q.js.map +0 -1
- package/lib/chunk-HHLBPITX.js +0 -92
- package/lib/chunk-HHLBPITX.js.map +0 -1
- package/lib/chunk-HUA4G4G7.cjs +0 -53
- package/lib/chunk-HUA4G4G7.cjs.map +0 -1
- package/lib/chunk-I2U6TRXU.js +0 -86
- package/lib/chunk-I2U6TRXU.js.map +0 -1
- package/lib/chunk-I2Y5MGCV.js +0 -89
- package/lib/chunk-I2Y5MGCV.js.map +0 -1
- package/lib/chunk-I5AS47IY.js +0 -808
- package/lib/chunk-I5AS47IY.js.map +0 -1
- package/lib/chunk-IEVOIBTG.cjs +0 -84
- package/lib/chunk-IEVOIBTG.cjs.map +0 -1
- package/lib/chunk-IF6TZTLV.js +0 -65
- package/lib/chunk-IF6TZTLV.js.map +0 -1
- package/lib/chunk-IHLDYOF4.js +0 -69
- package/lib/chunk-IHLDYOF4.js.map +0 -1
- package/lib/chunk-IIBH66T2.cjs +0 -79
- package/lib/chunk-IIBH66T2.cjs.map +0 -1
- package/lib/chunk-IKRDK376.js +0 -58
- package/lib/chunk-IKRDK376.js.map +0 -1
- package/lib/chunk-IRP2NUMF.cjs +0 -62
- package/lib/chunk-IRP2NUMF.cjs.map +0 -1
- package/lib/chunk-J267I7R5.js +0 -68
- package/lib/chunk-J267I7R5.js.map +0 -1
- package/lib/chunk-J2P4L2YP.cjs +0 -52
- package/lib/chunk-J2P4L2YP.cjs.map +0 -1
- package/lib/chunk-J7LYW2GF.js +0 -77
- package/lib/chunk-J7LYW2GF.js.map +0 -1
- package/lib/chunk-JA77OJAG.cjs +0 -70
- package/lib/chunk-JA77OJAG.cjs.map +0 -1
- package/lib/chunk-JAQEC2MQ.js +0 -82
- package/lib/chunk-JAQEC2MQ.js.map +0 -1
- package/lib/chunk-JDTLKWLV.js +0 -116
- package/lib/chunk-JDTLKWLV.js.map +0 -1
- package/lib/chunk-JITZJ3ZG.js +0 -82
- package/lib/chunk-JITZJ3ZG.js.map +0 -1
- package/lib/chunk-JL37DZ7T.js +0 -75
- package/lib/chunk-JL37DZ7T.js.map +0 -1
- package/lib/chunk-JTHQO3SQ.cjs +0 -88
- package/lib/chunk-JTHQO3SQ.cjs.map +0 -1
- package/lib/chunk-JWZI2CF2.js +0 -17
- package/lib/chunk-JWZI2CF2.js.map +0 -1
- package/lib/chunk-JXVQ46M2.js +0 -68
- package/lib/chunk-JXVQ46M2.js.map +0 -1
- package/lib/chunk-K6WHEZM5.cjs +0 -60
- package/lib/chunk-K6WHEZM5.cjs.map +0 -1
- package/lib/chunk-KADJ44US.js +0 -36
- package/lib/chunk-KADJ44US.js.map +0 -1
- package/lib/chunk-KBUV2RVV.cjs +0 -44
- package/lib/chunk-KBUV2RVV.cjs.map +0 -1
- package/lib/chunk-KCFF7UUD.js +0 -132
- package/lib/chunk-KCFF7UUD.js.map +0 -1
- package/lib/chunk-KCNFVPYB.js +0 -42
- package/lib/chunk-KCNFVPYB.js.map +0 -1
- package/lib/chunk-KCZQRESM.js +0 -164
- package/lib/chunk-KCZQRESM.js.map +0 -1
- package/lib/chunk-KDJZITT5.js +0 -77
- package/lib/chunk-KDJZITT5.js.map +0 -1
- package/lib/chunk-KIMYXQMX.cjs +0 -86
- package/lib/chunk-KIMYXQMX.cjs.map +0 -1
- package/lib/chunk-KNQK7T6A.js +0 -87
- package/lib/chunk-KNQK7T6A.js.map +0 -1
- package/lib/chunk-KSBMPODE.js +0 -612
- package/lib/chunk-KSBMPODE.js.map +0 -1
- package/lib/chunk-KTBWKQ6V.cjs +0 -166
- package/lib/chunk-KTBWKQ6V.cjs.map +0 -1
- package/lib/chunk-KWE3LK3M.cjs +0 -62
- package/lib/chunk-KWE3LK3M.cjs.map +0 -1
- package/lib/chunk-KWLVA6Z4.cjs +0 -131
- package/lib/chunk-KWLVA6Z4.cjs.map +0 -1
- package/lib/chunk-L4JABO3R.js +0 -33
- package/lib/chunk-L4JABO3R.js.map +0 -1
- package/lib/chunk-L5VFXDWX.cjs +0 -60
- package/lib/chunk-L5VFXDWX.cjs.map +0 -1
- package/lib/chunk-LAJXSUB4.cjs +0 -63
- package/lib/chunk-LAJXSUB4.cjs.map +0 -1
- package/lib/chunk-LKWLTTDG.cjs +0 -70
- package/lib/chunk-LKWLTTDG.cjs.map +0 -1
- package/lib/chunk-LQDXQKIT.cjs +0 -62
- package/lib/chunk-LQDXQKIT.cjs.map +0 -1
- package/lib/chunk-LRVC7V2N.cjs +0 -193
- package/lib/chunk-LRVC7V2N.cjs.map +0 -1
- package/lib/chunk-LWFWUWU4.cjs +0 -122
- package/lib/chunk-LWFWUWU4.cjs.map +0 -1
- package/lib/chunk-MA6XX7BH.cjs +0 -16
- package/lib/chunk-MA6XX7BH.cjs.map +0 -1
- package/lib/chunk-MALO5K7G.js +0 -68
- package/lib/chunk-MALO5K7G.js.map +0 -1
- package/lib/chunk-MKL2WQSE.cjs +0 -69
- package/lib/chunk-MKL2WQSE.cjs.map +0 -1
- package/lib/chunk-MQMRNDRB.js +0 -75
- package/lib/chunk-MQMRNDRB.js.map +0 -1
- package/lib/chunk-MRBG72Y3.cjs +0 -179
- package/lib/chunk-MRBG72Y3.cjs.map +0 -1
- package/lib/chunk-NCXJJGO2.cjs +0 -84
- package/lib/chunk-NCXJJGO2.cjs.map +0 -1
- package/lib/chunk-NLHDTN37.cjs +0 -193
- package/lib/chunk-NLHDTN37.cjs.map +0 -1
- package/lib/chunk-NP2JYF3V.cjs +0 -81
- package/lib/chunk-NP2JYF3V.cjs.map +0 -1
- package/lib/chunk-O4YV47MU.js +0 -196
- package/lib/chunk-O4YV47MU.js.map +0 -1
- package/lib/chunk-OCGQKSBT.cjs +0 -46
- package/lib/chunk-OCGQKSBT.cjs.map +0 -1
- package/lib/chunk-OEK7SCVD.js +0 -60
- package/lib/chunk-OEK7SCVD.js.map +0 -1
- package/lib/chunk-OEKHEAG5.cjs +0 -35
- package/lib/chunk-OEKHEAG5.cjs.map +0 -1
- package/lib/chunk-OIQVUXAY.cjs +0 -62
- package/lib/chunk-OIQVUXAY.cjs.map +0 -1
- package/lib/chunk-OOYCXVXP.cjs +0 -53
- package/lib/chunk-OOYCXVXP.cjs.map +0 -1
- package/lib/chunk-ORFPHNVU.js +0 -89
- package/lib/chunk-ORFPHNVU.js.map +0 -1
- package/lib/chunk-OTZHBYV5.js +0 -123
- package/lib/chunk-OTZHBYV5.js.map +0 -1
- package/lib/chunk-P3Y42EGI.cjs +0 -38
- package/lib/chunk-P3Y42EGI.cjs.map +0 -1
- package/lib/chunk-P74KHE2J.cjs +0 -98
- package/lib/chunk-P74KHE2J.cjs.map +0 -1
- package/lib/chunk-PHCU2GSM.cjs +0 -77
- package/lib/chunk-PHCU2GSM.cjs.map +0 -1
- package/lib/chunk-POLTI6QO.cjs +0 -93
- package/lib/chunk-POLTI6QO.cjs.map +0 -1
- package/lib/chunk-PPB6W4JC.cjs +0 -91
- package/lib/chunk-PPB6W4JC.cjs.map +0 -1
- package/lib/chunk-PRE3YU5A.cjs +0 -816
- package/lib/chunk-PRE3YU5A.cjs.map +0 -1
- package/lib/chunk-PRVN45UR.cjs +0 -88
- package/lib/chunk-PRVN45UR.cjs.map +0 -1
- package/lib/chunk-PU57SF2R.cjs +0 -77
- package/lib/chunk-PU57SF2R.cjs.map +0 -1
- package/lib/chunk-PUTHUCU7.cjs +0 -53
- package/lib/chunk-PUTHUCU7.cjs.map +0 -1
- package/lib/chunk-PVXN3ZX4.cjs +0 -88
- package/lib/chunk-PVXN3ZX4.cjs.map +0 -1
- package/lib/chunk-Q7FCC7A4.js +0 -77
- package/lib/chunk-Q7FCC7A4.js.map +0 -1
- package/lib/chunk-QENVU424.js +0 -68
- package/lib/chunk-QENVU424.js.map +0 -1
- package/lib/chunk-QETFMOWJ.js +0 -118
- package/lib/chunk-QETFMOWJ.js.map +0 -1
- package/lib/chunk-QJ5B6HGE.js +0 -68
- package/lib/chunk-QJ5B6HGE.js.map +0 -1
- package/lib/chunk-QLZRFKNC.js +0 -118
- package/lib/chunk-QLZRFKNC.js.map +0 -1
- package/lib/chunk-QOMCY4NX.js +0 -79
- package/lib/chunk-QOMCY4NX.js.map +0 -1
- package/lib/chunk-QQNJZOBS.cjs +0 -170
- package/lib/chunk-QQNJZOBS.cjs.map +0 -1
- package/lib/chunk-QRAY4AHE.js +0 -60
- package/lib/chunk-QRAY4AHE.js.map +0 -1
- package/lib/chunk-QRUPAU4D.cjs +0 -79
- package/lib/chunk-QRUPAU4D.cjs.map +0 -1
- package/lib/chunk-QSM6HEUU.cjs +0 -70
- package/lib/chunk-QSM6HEUU.cjs.map +0 -1
- package/lib/chunk-QVEX5Q65.cjs +0 -81
- package/lib/chunk-QVEX5Q65.cjs.map +0 -1
- package/lib/chunk-QWKAFFRB.cjs +0 -77
- package/lib/chunk-QWKAFFRB.cjs.map +0 -1
- package/lib/chunk-QXT4NCXW.cjs +0 -29
- package/lib/chunk-QXT4NCXW.cjs.map +0 -1
- package/lib/chunk-QXVR6ZZR.js +0 -177
- package/lib/chunk-QXVR6ZZR.js.map +0 -1
- package/lib/chunk-QZEWBE5D.js +0 -42
- package/lib/chunk-QZEWBE5D.js.map +0 -1
- package/lib/chunk-QZONKNRQ.js +0 -177
- package/lib/chunk-QZONKNRQ.js.map +0 -1
- package/lib/chunk-R4FCMGTE.cjs +0 -243
- package/lib/chunk-R4FCMGTE.cjs.map +0 -1
- package/lib/chunk-RD3TXYW5.js +0 -83
- package/lib/chunk-RD3TXYW5.js.map +0 -1
- package/lib/chunk-RGBFHUC2.js +0 -91
- package/lib/chunk-RGBFHUC2.js.map +0 -1
- package/lib/chunk-RGOILWCB.js +0 -124
- package/lib/chunk-RGOILWCB.js.map +0 -1
- package/lib/chunk-RKNDHKGN.js +0 -61
- package/lib/chunk-RKNDHKGN.js.map +0 -1
- package/lib/chunk-RPYJJTIG.js +0 -68
- package/lib/chunk-RPYJJTIG.js.map +0 -1
- package/lib/chunk-RQ5I4JHS.cjs +0 -88
- package/lib/chunk-RQ5I4JHS.cjs.map +0 -1
- package/lib/chunk-RQLMQP6U.cjs +0 -120
- package/lib/chunk-RQLMQP6U.cjs.map +0 -1
- package/lib/chunk-RZ4WI3NH.js +0 -60
- package/lib/chunk-RZ4WI3NH.js.map +0 -1
- package/lib/chunk-RZIW25QW.js +0 -68
- package/lib/chunk-RZIW25QW.js.map +0 -1
- package/lib/chunk-S4AT2O34.cjs +0 -122
- package/lib/chunk-S4AT2O34.cjs.map +0 -1
- package/lib/chunk-S5PIAPKP.cjs +0 -84
- package/lib/chunk-S5PIAPKP.cjs.map +0 -1
- package/lib/chunk-S6HWFMH3.cjs +0 -193
- package/lib/chunk-S6HWFMH3.cjs.map +0 -1
- package/lib/chunk-SO3WXEZ4.cjs +0 -52
- package/lib/chunk-SO3WXEZ4.cjs.map +0 -1
- package/lib/chunk-SRQ6QGXC.js +0 -79
- package/lib/chunk-SRQ6QGXC.js.map +0 -1
- package/lib/chunk-T2ERHAGG.cjs +0 -55
- package/lib/chunk-T2ERHAGG.cjs.map +0 -1
- package/lib/chunk-T5ZRTAPG.cjs +0 -91
- package/lib/chunk-T5ZRTAPG.cjs.map +0 -1
- package/lib/chunk-TB2EIJER.cjs +0 -179
- package/lib/chunk-TB2EIJER.cjs.map +0 -1
- package/lib/chunk-TD35HNQP.js +0 -168
- package/lib/chunk-TD35HNQP.js.map +0 -1
- package/lib/chunk-TPPUQQPC.js +0 -77
- package/lib/chunk-TPPUQQPC.js.map +0 -1
- package/lib/chunk-TUNBZ3ZH.cjs +0 -84
- package/lib/chunk-TUNBZ3ZH.cjs.map +0 -1
- package/lib/chunk-TWAYAXA2.js +0 -67
- package/lib/chunk-TWAYAXA2.js.map +0 -1
- package/lib/chunk-U34KUQXA.js +0 -120
- package/lib/chunk-U34KUQXA.js.map +0 -1
- package/lib/chunk-U6JAKKOV.js +0 -100
- package/lib/chunk-U6JAKKOV.js.map +0 -1
- package/lib/chunk-UBE4YSEL.js +0 -60
- package/lib/chunk-UBE4YSEL.js.map +0 -1
- package/lib/chunk-UCECBYPO.cjs +0 -44
- package/lib/chunk-UCECBYPO.cjs.map +0 -1
- package/lib/chunk-UGQAWILC.js +0 -53
- package/lib/chunk-UGQAWILC.js.map +0 -1
- package/lib/chunk-UGSEWMOT.js +0 -77
- package/lib/chunk-UGSEWMOT.js.map +0 -1
- package/lib/chunk-UIJCNVX4.js +0 -59
- package/lib/chunk-UIJCNVX4.js.map +0 -1
- package/lib/chunk-UMRNYMOF.js +0 -68
- package/lib/chunk-UMRNYMOF.js.map +0 -1
- package/lib/chunk-USUPWZTW.cjs +0 -198
- package/lib/chunk-USUPWZTW.cjs.map +0 -1
- package/lib/chunk-UZ4CGMXI.cjs +0 -70
- package/lib/chunk-UZ4CGMXI.cjs.map +0 -1
- package/lib/chunk-V3XCCIJQ.js +0 -77
- package/lib/chunk-V3XCCIJQ.js.map +0 -1
- package/lib/chunk-V46ZQIRF.js +0 -77
- package/lib/chunk-V46ZQIRF.js.map +0 -1
- package/lib/chunk-V7ID2Q5E.js +0 -100
- package/lib/chunk-V7ID2Q5E.js.map +0 -1
- package/lib/chunk-VCWICZZ3.js +0 -191
- package/lib/chunk-VCWICZZ3.js.map +0 -1
- package/lib/chunk-VCXOJHZ5.cjs +0 -712
- package/lib/chunk-VCXOJHZ5.cjs.map +0 -1
- package/lib/chunk-VR3MIUI6.js +0 -96
- package/lib/chunk-VR3MIUI6.js.map +0 -1
- package/lib/chunk-VSFS2YSQ.cjs +0 -44
- package/lib/chunk-VSFS2YSQ.cjs.map +0 -1
- package/lib/chunk-VWQLM2QW.cjs +0 -93
- package/lib/chunk-VWQLM2QW.cjs.map +0 -1
- package/lib/chunk-VZ37VWLV.cjs +0 -71
- package/lib/chunk-VZ37VWLV.cjs.map +0 -1
- package/lib/chunk-VZDWZE2F.cjs +0 -79
- package/lib/chunk-VZDWZE2F.cjs.map +0 -1
- package/lib/chunk-WBCNIXDU.js +0 -27
- package/lib/chunk-WBCNIXDU.js.map +0 -1
- package/lib/chunk-WCQ7PU3I.js +0 -60
- package/lib/chunk-WCQ7PU3I.js.map +0 -1
- package/lib/chunk-WCVSRFDT.cjs +0 -79
- package/lib/chunk-WCVSRFDT.cjs.map +0 -1
- package/lib/chunk-WG3VU7K6.cjs +0 -79
- package/lib/chunk-WG3VU7K6.cjs.map +0 -1
- package/lib/chunk-WHZ3RDUY.js +0 -86
- package/lib/chunk-WHZ3RDUY.js.map +0 -1
- package/lib/chunk-WJILFEDV.js +0 -96
- package/lib/chunk-WJILFEDV.js.map +0 -1
- package/lib/chunk-WPROPYFB.cjs +0 -79
- package/lib/chunk-WPROPYFB.cjs.map +0 -1
- package/lib/chunk-WQEUUUBH.cjs +0 -91
- package/lib/chunk-WQEUUUBH.cjs.map +0 -1
- package/lib/chunk-WSSWGPDM.cjs +0 -179
- package/lib/chunk-WSSWGPDM.cjs.map +0 -1
- package/lib/chunk-WXF62JJL.js +0 -51
- package/lib/chunk-WXF62JJL.js.map +0 -1
- package/lib/chunk-X22S44DG.cjs +0 -323
- package/lib/chunk-X22S44DG.cjs.map +0 -1
- package/lib/chunk-X6NDTTWQ.cjs +0 -75
- package/lib/chunk-X6NDTTWQ.cjs.map +0 -1
- package/lib/chunk-XD7YRJZM.cjs +0 -67
- package/lib/chunk-XD7YRJZM.cjs.map +0 -1
- package/lib/chunk-XH7RV45F.js +0 -92
- package/lib/chunk-XH7RV45F.js.map +0 -1
- package/lib/chunk-XIKMN2I3.js +0 -77
- package/lib/chunk-XIKMN2I3.js.map +0 -1
- package/lib/chunk-XJFBOBME.cjs +0 -70
- package/lib/chunk-XJFBOBME.cjs.map +0 -1
- package/lib/chunk-XRY6YJDC.cjs +0 -53
- package/lib/chunk-XRY6YJDC.cjs.map +0 -1
- package/lib/chunk-XTJW3CUF.js +0 -77
- package/lib/chunk-XTJW3CUF.js.map +0 -1
- package/lib/chunk-XUCUG7FA.cjs +0 -79
- package/lib/chunk-XUCUG7FA.cjs.map +0 -1
- package/lib/chunk-XVFH2RND.js +0 -78
- package/lib/chunk-XVFH2RND.js.map +0 -1
- package/lib/chunk-XWDHQ75A.js +0 -59
- package/lib/chunk-XWDHQ75A.js.map +0 -1
- package/lib/chunk-XWID26AA.cjs +0 -71
- package/lib/chunk-XWID26AA.cjs.map +0 -1
- package/lib/chunk-XZ2E3WPZ.js +0 -120
- package/lib/chunk-XZ2E3WPZ.js.map +0 -1
- package/lib/chunk-Y62PYMY5.cjs +0 -126
- package/lib/chunk-Y62PYMY5.cjs.map +0 -1
- package/lib/chunk-Y77CQIUK.js +0 -79
- package/lib/chunk-Y77CQIUK.js.map +0 -1
- package/lib/chunk-YBNXYHJL.cjs +0 -40
- package/lib/chunk-YBNXYHJL.cjs.map +0 -1
- package/lib/chunk-YE3KE4FH.cjs +0 -79
- package/lib/chunk-YE3KE4FH.cjs.map +0 -1
- package/lib/chunk-YKVNRK57.js +0 -42
- package/lib/chunk-YKVNRK57.js.map +0 -1
- package/lib/chunk-YNWJLLHC.cjs +0 -53
- package/lib/chunk-YNWJLLHC.cjs.map +0 -1
- package/lib/chunk-YOOIJWJP.cjs +0 -102
- package/lib/chunk-YOOIJWJP.cjs.map +0 -1
- package/lib/chunk-YRJDRXKK.cjs +0 -117
- package/lib/chunk-YRJDRXKK.cjs.map +0 -1
- package/lib/chunk-YY3PFKZX.js +0 -82
- package/lib/chunk-YY3PFKZX.js.map +0 -1
- package/lib/chunk-YYFXD3AB.js +0 -96
- package/lib/chunk-YYFXD3AB.js.map +0 -1
- package/lib/chunk-YZBOV7XI.js +0 -88
- package/lib/chunk-YZBOV7XI.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/buy_x_pay_y_promotions.ts"],"names":["ApiResource"],"mappings":";;;;;AAyTA,IAAM,kBAAA,GAAN,MAAM,mBAAA,SAA2BA,6BAAA,CAA+B;AAAA,EAC9D,OAAgB,IAAA,GAA8B,wBAAA;AAAA,EAE9C,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC4B;AAC5B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,oBAAmB,IAAA,EAAK;AAAA,MAC7C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC4B;AAC5B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,oBAAmB,IAAA,EAAK;AAAA,MAC7C,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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AA,CAAG,EAAA,EAAI,IAAA,EAAM,mBAAA,CAAmB,IAAA,EAAM,YAAA,EAAc,YAAA,EAAa;AAAA,MACrG,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,oBAAoB,QAAA,EAA8C;AAChE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,mBAAA,CAAmB,IAAA;AAAA,EAC/D;AAAA,EAEA,aAAa,EAAA,EAAsD;AACjE,IAAA,OAAO,KAAA,CAAM,qBAA2C,EAAE,CAAA;AAAA,EAC5D;AAAA,EAEA,sBAAsB,GAAA,EAAuC;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA4C,GAAG,GAAG,CAAA;AAAA,EACjE;AAAA,EAEA,IAAA,GAA8B;AAC5B,IAAA,OAAO,mBAAA,CAAmB,IAAA;AAAA,EAC5B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,kBAAA,EAAmB;AACxC,IAAO,8BAAA,GAAQ","file":"chunk-KLQVXFFS.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 { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { Coupon } from './coupons'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { PromotionRule } from './promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Sku } from './skus'\nimport type { Tag, TagType } from './tags'\n\ntype BuyXPayYPromotionType = 'buy_x_pay_y_promotions'\ntype BuyXPayYPromotionRel = ResourceRel & { type: BuyXPayYPromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\nexport type BuyXPayYPromotionSort = Pick<\n BuyXPayYPromotion,\n | 'id'\n | 'name'\n | 'currency_code'\n | 'exclusive'\n | 'priority'\n | 'starts_at'\n | 'expires_at'\n | 'total_usage_limit'\n | 'total_usage_count'\n | 'total_usage_reached'\n | 'disabled_at'\n | 'x'\n | 'y'\n> &\n ResourceSort\n// export type BuyXPayYPromotionFilter = Pick<BuyXPayYPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at' | 'x' | 'y'> & ResourceFilter\n\n/**\n * The Buy x pay y promotion object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/buy_x_pay_y_promotions endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/buy_x_pay_y_promotions/object\n */\ninterface BuyXPayYPromotion extends Resource {\n readonly type: BuyXPayYPromotionType\n\n /**\n * The promotion's internal name.\n * @example ```\"Personal promotion\"```\n */\n name: string\n /**\n * The international 3-letter currency code as defined by the ISO 4217 standard.\n * @example ```\"EUR\"```\n */\n currency_code?: string | null\n /**\n * Indicates if the promotion will be applied exclusively, based on its priority score.\n * @example ```true```\n */\n exclusive?: boolean | null\n /**\n * The priority assigned to the promotion (lower means higher priority).\n * @example ```2```\n */\n priority?: number | null\n /**\n * The activation date/time of this promotion.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at: string\n /**\n * The expiration date/time of this promotion (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at: string\n /**\n * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n * @example ```5```\n */\n total_usage_limit?: number | null\n /**\n * The number of times this promotion has been applied.\n * @example ```2```\n */\n total_usage_count?: number | null\n /**\n * Indicates if the promotion has been applied the total number of allowed times.\n */\n total_usage_reached?: boolean | null\n /**\n * Indicates if the promotion is active (enabled and not expired).\n * @example ```true```\n */\n active?: boolean | null\n /**\n * The promotion status. One of 'disabled', 'expired', 'pending', 'active', or 'inactive'.\n * @example ```\"pending\"```\n */\n status?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null\n /**\n * The weight of the promotion, computed by exclusivity, priority, type and start time. Determines the order of application, higher weight apply first.\n * @example ```112```\n */\n weight?: number | null\n /**\n * The total number of coupons created for this promotion.\n * @example ```2```\n */\n coupons_count?: number | null\n /**\n * Time at which this resource was disabled.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n disabled_at?: string | null\n /**\n * The quantity which defines the threshold for free items (works by multiple of x).\n * @example ```3```\n */\n x: number\n /**\n * The quantity which defines how many items you get for free, with the formula x-y.\n * @example ```2```\n */\n y: number\n /**\n * Indicates if the cheapest items are discounted, allowing all of the SKUs in the associated list to be eligible for counting.\n * @example ```true```\n */\n cheapest_free?: boolean | null\n\n market?: Market | null\n promotion_rules?: PromotionRule[] | null\n order_amount_promotion_rule?: OrderAmountPromotionRule | null\n sku_list_promotion_rule?: SkuListPromotionRule | null\n coupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n custom_promotion_rule?: CustomPromotionRule | null\n sku_list?: SkuList | null\n coupons?: Coupon[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n tags?: Tag[] | null\n event_stores?: EventStore[] | null\n skus?: Sku[] | null\n}\n\ninterface BuyXPayYPromotionCreate extends ResourceCreate {\n /**\n * The promotion's internal name.\n * @example ```\"Personal promotion\"```\n */\n name: string\n /**\n * The international 3-letter currency code as defined by the ISO 4217 standard.\n * @example ```\"EUR\"```\n */\n currency_code?: string | null\n /**\n * Indicates if the promotion will be applied exclusively, based on its priority score.\n * @example ```true```\n */\n exclusive?: boolean | null\n /**\n * The priority assigned to the promotion (lower means higher priority).\n * @example ```2```\n */\n priority?: number | null\n /**\n * The activation date/time of this promotion.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at: string\n /**\n * The expiration date/time of this promotion (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at: string\n /**\n * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n * @example ```5```\n */\n total_usage_limit?: number | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n /**\n * The quantity which defines the threshold for free items (works by multiple of x).\n * @example ```3```\n */\n x: number\n /**\n * The quantity which defines how many items you get for free, with the formula x-y.\n * @example ```2```\n */\n y: number\n /**\n * Indicates if the cheapest items are discounted, allowing all of the SKUs in the associated list to be eligible for counting.\n * @example ```true```\n */\n cheapest_free?: boolean | null\n\n market?: MarketRel | null\n order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n sku_list_promotion_rule?: SkuListPromotionRuleRel | null\n coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n custom_promotion_rule?: CustomPromotionRuleRel | null\n sku_list: SkuListRel\n tags?: TagRel[] | null\n}\n\ninterface BuyXPayYPromotionUpdate extends ResourceUpdate {\n /**\n * The promotion's internal name.\n * @example ```\"Personal promotion\"```\n */\n name?: string | null\n /**\n * The international 3-letter currency code as defined by the ISO 4217 standard.\n * @example ```\"EUR\"```\n */\n currency_code?: string | null\n /**\n * Indicates if the promotion will be applied exclusively, based on its priority score.\n * @example ```true```\n */\n exclusive?: boolean | null\n /**\n * The priority assigned to the promotion (lower means higher priority).\n * @example ```2```\n */\n priority?: number | null\n /**\n * The activation date/time of this promotion.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at?: string | null\n /**\n * The expiration date/time of this promotion (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at?: string | null\n /**\n * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n * @example ```5```\n */\n total_usage_limit?: number | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n /**\n * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _add_tags?: string | null\n /**\n * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _remove_tags?: string | null\n /**\n * The quantity which defines the threshold for free items (works by multiple of x).\n * @example ```3```\n */\n x?: number | null\n /**\n * The quantity which defines how many items you get for free, with the formula x-y.\n * @example ```2```\n */\n y?: number | null\n /**\n * Indicates if the cheapest items are discounted, allowing all of the SKUs in the associated list to be eligible for counting.\n * @example ```true```\n */\n cheapest_free?: boolean | null\n\n market?: MarketRel | null\n order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n sku_list_promotion_rule?: SkuListPromotionRuleRel | null\n coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n custom_promotion_rule?: CustomPromotionRuleRel | null\n sku_list?: SkuListRel | null\n tags?: TagRel[] | null\n}\n\nclass BuyXPayYPromotions extends ApiResource<BuyXPayYPromotion> {\n static readonly TYPE: BuyXPayYPromotionType = 'buy_x_pay_y_promotions' as const\n\n async create(\n resource: BuyXPayYPromotionCreate,\n params?: QueryParamsRetrieve<BuyXPayYPromotion>,\n options?: ResourcesConfig,\n ): Promise<BuyXPayYPromotion> {\n return this.resources.create<BuyXPayYPromotionCreate, BuyXPayYPromotion>(\n { ...resource, type: BuyXPayYPromotions.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: BuyXPayYPromotionUpdate,\n params?: QueryParamsRetrieve<BuyXPayYPromotion>,\n options?: ResourcesConfig,\n ): Promise<BuyXPayYPromotion> {\n return this.resources.update<BuyXPayYPromotionUpdate, BuyXPayYPromotion>(\n { ...resource, type: BuyXPayYPromotions.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: BuyXPayYPromotions.TYPE } : id, options)\n }\n\n async market(\n buyXPayYPromotionId: string | BuyXPayYPromotion,\n params?: QueryParamsRetrieve<Market>,\n options?: ResourcesConfig,\n ): Promise<Market> {\n const _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || (buyXPayYPromotionId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/market`,\n params,\n options,\n ) as unknown as Market\n }\n\n async order_amount_promotion_rule(\n buyXPayYPromotionId: string | BuyXPayYPromotion,\n params?: QueryParamsRetrieve<OrderAmountPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<OrderAmountPromotionRule> {\n const _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || (buyXPayYPromotionId as string)\n return this.resources.fetch<OrderAmountPromotionRule>(\n { type: 'order_amount_promotion_rules' },\n `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/order_amount_promotion_rule`,\n params,\n options,\n ) as unknown as OrderAmountPromotionRule\n }\n\n async sku_list_promotion_rule(\n buyXPayYPromotionId: string | BuyXPayYPromotion,\n params?: QueryParamsRetrieve<SkuListPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<SkuListPromotionRule> {\n const _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || (buyXPayYPromotionId as string)\n return this.resources.fetch<SkuListPromotionRule>(\n { type: 'sku_list_promotion_rules' },\n `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/sku_list_promotion_rule`,\n params,\n options,\n ) as unknown as SkuListPromotionRule\n }\n\n async coupon_codes_promotion_rule(\n buyXPayYPromotionId: string | BuyXPayYPromotion,\n params?: QueryParamsRetrieve<CouponCodesPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CouponCodesPromotionRule> {\n const _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || (buyXPayYPromotionId as string)\n return this.resources.fetch<CouponCodesPromotionRule>(\n { type: 'coupon_codes_promotion_rules' },\n `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/coupon_codes_promotion_rule`,\n params,\n options,\n ) as unknown as CouponCodesPromotionRule\n }\n\n async custom_promotion_rule(\n buyXPayYPromotionId: string | BuyXPayYPromotion,\n params?: QueryParamsRetrieve<CustomPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CustomPromotionRule> {\n const _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || (buyXPayYPromotionId as string)\n return this.resources.fetch<CustomPromotionRule>(\n { type: 'custom_promotion_rules' },\n `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/custom_promotion_rule`,\n params,\n options,\n ) as unknown as CustomPromotionRule\n }\n\n async sku_list(\n buyXPayYPromotionId: string | BuyXPayYPromotion,\n params?: QueryParamsRetrieve<SkuList>,\n options?: ResourcesConfig,\n ): Promise<SkuList> {\n const _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || (buyXPayYPromotionId as string)\n return this.resources.fetch<SkuList>(\n { type: 'sku_lists' },\n `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/sku_list`,\n params,\n options,\n ) as unknown as SkuList\n }\n\n async coupons(\n buyXPayYPromotionId: string | BuyXPayYPromotion,\n params?: QueryParamsList<Coupon>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Coupon>> {\n const _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || (buyXPayYPromotionId as string)\n return this.resources.fetch<Coupon>(\n { type: 'coupons' },\n `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/coupons`,\n params,\n options,\n ) as unknown as ListResponse<Coupon>\n }\n\n async attachments(\n buyXPayYPromotionId: string | BuyXPayYPromotion,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || (buyXPayYPromotionId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n buyXPayYPromotionId: string | BuyXPayYPromotion,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || (buyXPayYPromotionId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async tags(\n buyXPayYPromotionId: string | BuyXPayYPromotion,\n params?: QueryParamsList<Tag>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Tag>> {\n const _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || (buyXPayYPromotionId as string)\n return this.resources.fetch<Tag>(\n { type: 'tags' },\n `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/tags`,\n params,\n options,\n ) as unknown as ListResponse<Tag>\n }\n\n async event_stores(\n buyXPayYPromotionId: string | BuyXPayYPromotion,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || (buyXPayYPromotionId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async skus(\n buyXPayYPromotionId: string | BuyXPayYPromotion,\n params?: QueryParamsList<Sku>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Sku>> {\n const _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || (buyXPayYPromotionId as string)\n return this.resources.fetch<Sku>(\n { type: 'skus' },\n `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/skus`,\n params,\n options,\n ) as unknown as ListResponse<Sku>\n }\n\n async _disable(\n id: string | BuyXPayYPromotion,\n params?: QueryParamsRetrieve<BuyXPayYPromotion>,\n options?: ResourcesConfig,\n ): Promise<BuyXPayYPromotion> {\n return this.resources.update<BuyXPayYPromotionUpdate, BuyXPayYPromotion>(\n { id: typeof id === 'string' ? id : id.id, type: BuyXPayYPromotions.TYPE, _disable: true },\n params,\n options,\n )\n }\n\n async _enable(\n id: string | BuyXPayYPromotion,\n params?: QueryParamsRetrieve<BuyXPayYPromotion>,\n options?: ResourcesConfig,\n ): Promise<BuyXPayYPromotion> {\n return this.resources.update<BuyXPayYPromotionUpdate, BuyXPayYPromotion>(\n { id: typeof id === 'string' ? id : id.id, type: BuyXPayYPromotions.TYPE, _enable: true },\n params,\n options,\n )\n }\n\n async _add_tags(\n id: string | BuyXPayYPromotion,\n triggerValue: string,\n params?: QueryParamsRetrieve<BuyXPayYPromotion>,\n options?: ResourcesConfig,\n ): Promise<BuyXPayYPromotion> {\n return this.resources.update<BuyXPayYPromotionUpdate, BuyXPayYPromotion>(\n { id: typeof id === 'string' ? id : id.id, type: BuyXPayYPromotions.TYPE, _add_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _remove_tags(\n id: string | BuyXPayYPromotion,\n triggerValue: string,\n params?: QueryParamsRetrieve<BuyXPayYPromotion>,\n options?: ResourcesConfig,\n ): Promise<BuyXPayYPromotion> {\n return this.resources.update<BuyXPayYPromotionUpdate, BuyXPayYPromotion>(\n { id: typeof id === 'string' ? id : id.id, type: BuyXPayYPromotions.TYPE, _remove_tags: triggerValue },\n params,\n options,\n )\n }\n\n isBuyXPayYPromotion(resource: any): resource is BuyXPayYPromotion {\n return resource.type && resource.type === BuyXPayYPromotions.TYPE\n }\n\n relationship(id: string | ResourceId | null): BuyXPayYPromotionRel {\n return super.relationshipOneToOne<BuyXPayYPromotionRel>(id)\n }\n\n relationshipToMany(...ids: string[]): BuyXPayYPromotionRel[] {\n return super.relationshipOneToMany<BuyXPayYPromotionRel>(...ids)\n }\n\n type(): BuyXPayYPromotionType {\n return BuyXPayYPromotions.TYPE\n }\n}\n\nconst instance = new BuyXPayYPromotions()\nexport default instance\n\nexport type {\n BuyXPayYPromotion,\n BuyXPayYPromotionCreate,\n BuyXPayYPromotions,\n BuyXPayYPromotionType,\n BuyXPayYPromotionUpdate,\n}\n"]}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkDZFJO4LF_cjs = require('./chunk-DZFJO4LF.cjs');
|
|
4
|
+
|
|
5
|
+
// gen/resources/customer_addresses.ts
|
|
6
|
+
var CustomerAddresses = class _CustomerAddresses extends chunkDZFJO4LF_cjs.ApiResource {
|
|
7
|
+
static TYPE = "customer_addresses";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create(
|
|
10
|
+
{ ...resource, type: _CustomerAddresses.TYPE },
|
|
11
|
+
params,
|
|
12
|
+
options
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
async update(resource, params, options) {
|
|
16
|
+
return this.resources.update(
|
|
17
|
+
{ ...resource, type: _CustomerAddresses.TYPE },
|
|
18
|
+
params,
|
|
19
|
+
options
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
async delete(id, options) {
|
|
23
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CustomerAddresses.TYPE } : id, options);
|
|
24
|
+
}
|
|
25
|
+
async customer(customerAddressId, params, options) {
|
|
26
|
+
const _customerAddressId = customerAddressId.id || customerAddressId;
|
|
27
|
+
return this.resources.fetch(
|
|
28
|
+
{ type: "customers" },
|
|
29
|
+
`customer_addresses/${_customerAddressId}/customer`,
|
|
30
|
+
params,
|
|
31
|
+
options
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
async address(customerAddressId, params, options) {
|
|
35
|
+
const _customerAddressId = customerAddressId.id || customerAddressId;
|
|
36
|
+
return this.resources.fetch(
|
|
37
|
+
{ type: "addresses" },
|
|
38
|
+
`customer_addresses/${_customerAddressId}/address`,
|
|
39
|
+
params,
|
|
40
|
+
options
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
async events(customerAddressId, params, options) {
|
|
44
|
+
const _customerAddressId = customerAddressId.id || customerAddressId;
|
|
45
|
+
return this.resources.fetch(
|
|
46
|
+
{ type: "events" },
|
|
47
|
+
`customer_addresses/${_customerAddressId}/events`,
|
|
48
|
+
params,
|
|
49
|
+
options
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
async event_stores(customerAddressId, params, options) {
|
|
53
|
+
const _customerAddressId = customerAddressId.id || customerAddressId;
|
|
54
|
+
return this.resources.fetch(
|
|
55
|
+
{ type: "event_stores" },
|
|
56
|
+
`customer_addresses/${_customerAddressId}/event_stores`,
|
|
57
|
+
params,
|
|
58
|
+
options
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
isCustomerAddress(resource) {
|
|
62
|
+
return resource.type && resource.type === _CustomerAddresses.TYPE;
|
|
63
|
+
}
|
|
64
|
+
relationship(id) {
|
|
65
|
+
return super.relationshipOneToOne(id);
|
|
66
|
+
}
|
|
67
|
+
relationshipToMany(...ids) {
|
|
68
|
+
return super.relationshipOneToMany(...ids);
|
|
69
|
+
}
|
|
70
|
+
type() {
|
|
71
|
+
return _CustomerAddresses.TYPE;
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
var instance = new CustomerAddresses();
|
|
75
|
+
var customer_addresses_default = instance;
|
|
76
|
+
|
|
77
|
+
exports.customer_addresses_default = customer_addresses_default;
|
|
78
|
+
//# sourceMappingURL=chunk-KNYGM6CD.cjs.map
|
|
79
|
+
//# sourceMappingURL=chunk-KNYGM6CD.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/customer_addresses.ts"],"names":["ApiResource"],"mappings":";;;;;AAkEA,IAAM,iBAAA,GAAN,MAAM,kBAAA,SAA0BA,6BAAA,CAA6B;AAAA,EAC3D,OAAgB,IAAA,GAA4B,oBAAA;AAAA,EAE5C,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC0B;AAC1B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,mBAAkB,IAAA,EAAK;AAAA,MAC5C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC0B;AAC1B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,mBAAkB,IAAA,EAAK;AAAA,MAC5C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,kBAAA,CAAkB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACzG;AAAA,EAEA,MAAM,QAAA,CACJ,iBAAA,EACA,MAAA,EACA,OAAA,EACmB;AACnB,IAAA,MAAM,kBAA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B,IAAA;AAAA,EAC9D;AAAA,EAEA,aAAa,EAAA,EAAoD;AAC/D,IAAA,OAAO,KAAA,CAAM,qBAAyC,EAAE,CAAA;AAAA,EAC1D;AAAA,EAEA,sBAAsB,GAAA,EAAqC;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA0C,GAAG,GAAG,CAAA;AAAA,EAC/D;AAAA,EAEA,IAAA,GAA4B;AAC1B,IAAA,OAAO,kBAAA,CAAkB,IAAA;AAAA,EAC3B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,iBAAA,EAAkB;AACvC,IAAO,0BAAA,GAAQ","file":"chunk-KNYGM6CD.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 { Address, AddressType } from './addresses'\nimport type { Customer, CustomerType } from './customers'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\n\ntype CustomerAddressType = 'customer_addresses'\ntype CustomerAddressRel = ResourceRel & { type: CustomerAddressType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype AddressRel = ResourceRel & { type: AddressType }\n\nexport type CustomerAddressSort = Pick<CustomerAddress, 'id'> & ResourceSort\n// export type CustomerAddressFilter = Pick<CustomerAddress, 'id'> & ResourceFilter\n\n/**\n * The Customer address object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/customer_addresses endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/customer_addresses/object\n */\ninterface CustomerAddress extends Resource {\n readonly type: CustomerAddressType\n\n /**\n * Returns the associated address' name.\n * @example ```\"John Smith, 2883 Geraldine Lane Apt.23, 10013 New York NY (US) (212) 646-338-1228\"```\n */\n name?: string | null\n /**\n * The email of the customer associated to the address.\n * @example ```\"john@example.com\"```\n */\n customer_email: string\n\n customer?: Customer | null\n address?: Address | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomerAddressCreate extends ResourceCreate {\n /**\n * The email of the customer associated to the address.\n * @example ```\"john@example.com\"```\n */\n customer_email: string\n\n customer: CustomerRel\n address: AddressRel\n}\n\ninterface CustomerAddressUpdate extends ResourceUpdate {\n customer?: CustomerRel | null\n address?: AddressRel | null\n}\n\nclass CustomerAddresses extends ApiResource<CustomerAddress> {\n static readonly TYPE: CustomerAddressType = 'customer_addresses' as const\n\n async create(\n resource: CustomerAddressCreate,\n params?: QueryParamsRetrieve<CustomerAddress>,\n options?: ResourcesConfig,\n ): Promise<CustomerAddress> {\n return this.resources.create<CustomerAddressCreate, CustomerAddress>(\n { ...resource, type: CustomerAddresses.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CustomerAddressUpdate,\n params?: QueryParamsRetrieve<CustomerAddress>,\n options?: ResourcesConfig,\n ): Promise<CustomerAddress> {\n return this.resources.update<CustomerAddressUpdate, CustomerAddress>(\n { ...resource, type: CustomerAddresses.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: CustomerAddresses.TYPE } : id, options)\n }\n\n async customer(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<Customer>(\n { type: 'customers' },\n `customer_addresses/${_customerAddressId}/customer`,\n params,\n options,\n ) as unknown as Customer\n }\n\n async address(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsRetrieve<Address>,\n options?: ResourcesConfig,\n ): Promise<Address> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<Address>(\n { type: 'addresses' },\n `customer_addresses/${_customerAddressId}/address`,\n params,\n options,\n ) as unknown as Address\n }\n\n async events(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `customer_addresses/${_customerAddressId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `customer_addresses/${_customerAddressId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isCustomerAddress(resource: any): resource is CustomerAddress {\n return resource.type && resource.type === CustomerAddresses.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomerAddressRel {\n return super.relationshipOneToOne<CustomerAddressRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomerAddressRel[] {\n return super.relationshipOneToMany<CustomerAddressRel>(...ids)\n }\n\n type(): CustomerAddressType {\n return CustomerAddresses.TYPE\n }\n}\n\nconst instance = new CustomerAddresses()\nexport default instance\n\nexport type { CustomerAddress, CustomerAddressCreate, CustomerAddresses, CustomerAddressType, CustomerAddressUpdate }\n"]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-Q6NZ4ERM.js';
|
|
2
|
+
|
|
3
|
+
// gen/resources/billing_info_validation_rules.ts
|
|
4
|
+
var BillingInfoValidationRules = class _BillingInfoValidationRules extends ApiResource {
|
|
5
|
+
static TYPE = "billing_info_validation_rules";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create(
|
|
8
|
+
{ ...resource, type: _BillingInfoValidationRules.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _BillingInfoValidationRules.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _BillingInfoValidationRules.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async market(billingInfoValidationRuleId, params, options) {
|
|
24
|
+
const _billingInfoValidationRuleId = billingInfoValidationRuleId.id || billingInfoValidationRuleId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "markets" },
|
|
27
|
+
`billing_info_validation_rules/${_billingInfoValidationRuleId}/market`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
async attachments(billingInfoValidationRuleId, params, options) {
|
|
33
|
+
const _billingInfoValidationRuleId = billingInfoValidationRuleId.id || billingInfoValidationRuleId;
|
|
34
|
+
return this.resources.fetch(
|
|
35
|
+
{ type: "attachments" },
|
|
36
|
+
`billing_info_validation_rules/${_billingInfoValidationRuleId}/attachments`,
|
|
37
|
+
params,
|
|
38
|
+
options
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
async event_stores(billingInfoValidationRuleId, params, options) {
|
|
42
|
+
const _billingInfoValidationRuleId = billingInfoValidationRuleId.id || billingInfoValidationRuleId;
|
|
43
|
+
return this.resources.fetch(
|
|
44
|
+
{ type: "event_stores" },
|
|
45
|
+
`billing_info_validation_rules/${_billingInfoValidationRuleId}/event_stores`,
|
|
46
|
+
params,
|
|
47
|
+
options
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
isBillingInfoValidationRule(resource) {
|
|
51
|
+
return resource.type && resource.type === _BillingInfoValidationRules.TYPE;
|
|
52
|
+
}
|
|
53
|
+
relationship(id) {
|
|
54
|
+
return super.relationshipOneToOne(id);
|
|
55
|
+
}
|
|
56
|
+
relationshipToMany(...ids) {
|
|
57
|
+
return super.relationshipOneToMany(...ids);
|
|
58
|
+
}
|
|
59
|
+
type() {
|
|
60
|
+
return _BillingInfoValidationRules.TYPE;
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
var instance = new BillingInfoValidationRules();
|
|
64
|
+
var billing_info_validation_rules_default = instance;
|
|
65
|
+
|
|
66
|
+
export { billing_info_validation_rules_default };
|
|
67
|
+
//# sourceMappingURL=chunk-L2CAYREK.js.map
|
|
68
|
+
//# sourceMappingURL=chunk-L2CAYREK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/billing_info_validation_rules.ts"],"names":[],"mappings":";;;AA8CA,IAAM,0BAAA,GAAN,MAAM,2BAAA,SAAmC,WAAA,CAAuC;AAAA,EAC9E,OAAgB,IAAA,GAAsC,+BAAA;AAAA,EAEtD,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACoC;AACpC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,4BAA2B,IAAA,EAAK;AAAA,MACrD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACoC;AACpC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,4BAA2B,IAAA,EAAK;AAAA,MACrD,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,2BAAA,CAA2B,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AA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AAAA,EACzE;AAAA,EAEA,IAAA,GAAsC;AACpC,IAAA,OAAO,2BAAA,CAA2B,IAAA;AAAA,EACpC;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,0BAAA,EAA2B;AAChD,IAAO,qCAAA,GAAQ","file":"chunk-L2CAYREK.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 { Market, MarketType } from './markets'\n\ntype BillingInfoValidationRuleType = 'billing_info_validation_rules'\ntype BillingInfoValidationRuleRel = ResourceRel & { type: BillingInfoValidationRuleType }\ntype MarketRel = ResourceRel & { type: MarketType }\n\nexport type BillingInfoValidationRuleSort = Pick<BillingInfoValidationRule, 'id'> & ResourceSort\n// export type BillingInfoValidationRuleFilter = Pick<BillingInfoValidationRule, 'id'> & ResourceFilter\n\n/**\n * The Billing info validation rule object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/billing_info_validation_rules endpoint.\n *\n * @deprecated\n * @link https://docs.commercelayer.io/core-api-reference/billing_info_validation_rules/object\n */\ninterface BillingInfoValidationRule extends Resource {\n readonly type: BillingInfoValidationRuleType\n\n market?: Market | null\n attachments?: Attachment[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface BillingInfoValidationRuleCreate extends ResourceCreate {\n market: MarketRel\n}\n\ninterface BillingInfoValidationRuleUpdate extends ResourceUpdate {\n market?: MarketRel | null\n}\n\n/** @deprecated */\nclass BillingInfoValidationRules extends ApiResource<BillingInfoValidationRule> {\n static readonly TYPE: BillingInfoValidationRuleType = 'billing_info_validation_rules' as const\n\n async create(\n resource: BillingInfoValidationRuleCreate,\n params?: QueryParamsRetrieve<BillingInfoValidationRule>,\n options?: ResourcesConfig,\n ): Promise<BillingInfoValidationRule> {\n return this.resources.create<BillingInfoValidationRuleCreate, BillingInfoValidationRule>(\n { ...resource, type: BillingInfoValidationRules.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: BillingInfoValidationRuleUpdate,\n params?: QueryParamsRetrieve<BillingInfoValidationRule>,\n options?: ResourcesConfig,\n ): Promise<BillingInfoValidationRule> {\n return this.resources.update<BillingInfoValidationRuleUpdate, BillingInfoValidationRule>(\n { ...resource, type: BillingInfoValidationRules.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: BillingInfoValidationRules.TYPE } : id, options)\n }\n\n async market(\n billingInfoValidationRuleId: string | BillingInfoValidationRule,\n params?: QueryParamsRetrieve<Market>,\n options?: ResourcesConfig,\n ): Promise<Market> {\n const _billingInfoValidationRuleId =\n (billingInfoValidationRuleId as BillingInfoValidationRule).id || (billingInfoValidationRuleId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `billing_info_validation_rules/${_billingInfoValidationRuleId}/market`,\n params,\n options,\n ) as unknown as Market\n }\n\n async attachments(\n billingInfoValidationRuleId: string | BillingInfoValidationRule,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _billingInfoValidationRuleId =\n (billingInfoValidationRuleId as BillingInfoValidationRule).id || (billingInfoValidationRuleId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `billing_info_validation_rules/${_billingInfoValidationRuleId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async event_stores(\n billingInfoValidationRuleId: string | BillingInfoValidationRule,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _billingInfoValidationRuleId =\n (billingInfoValidationRuleId as BillingInfoValidationRule).id || (billingInfoValidationRuleId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `billing_info_validation_rules/${_billingInfoValidationRuleId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isBillingInfoValidationRule(resource: any): resource is BillingInfoValidationRule {\n return resource.type && resource.type === BillingInfoValidationRules.TYPE\n }\n\n relationship(id: string | ResourceId | null): BillingInfoValidationRuleRel {\n return super.relationshipOneToOne<BillingInfoValidationRuleRel>(id)\n }\n\n relationshipToMany(...ids: string[]): BillingInfoValidationRuleRel[] {\n return super.relationshipOneToMany<BillingInfoValidationRuleRel>(...ids)\n }\n\n type(): BillingInfoValidationRuleType {\n return BillingInfoValidationRules.TYPE\n }\n}\n\nconst instance = new BillingInfoValidationRules()\nexport default instance\n\nexport type {\n BillingInfoValidationRule,\n BillingInfoValidationRuleCreate,\n BillingInfoValidationRules,\n BillingInfoValidationRuleType,\n BillingInfoValidationRuleUpdate,\n}\n"]}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-Q6NZ4ERM.js';
|
|
2
|
+
|
|
3
|
+
// gen/resources/external_promotions.ts
|
|
4
|
+
var ExternalPromotions = class _ExternalPromotions extends ApiResource {
|
|
5
|
+
static TYPE = "external_promotions";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create(
|
|
8
|
+
{ ...resource, type: _ExternalPromotions.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _ExternalPromotions.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _ExternalPromotions.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async market(externalPromotionId, params, options) {
|
|
24
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "markets" },
|
|
27
|
+
`external_promotions/${_externalPromotionId}/market`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
async order_amount_promotion_rule(externalPromotionId, params, options) {
|
|
33
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
34
|
+
return this.resources.fetch(
|
|
35
|
+
{ type: "order_amount_promotion_rules" },
|
|
36
|
+
`external_promotions/${_externalPromotionId}/order_amount_promotion_rule`,
|
|
37
|
+
params,
|
|
38
|
+
options
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
async sku_list_promotion_rule(externalPromotionId, params, options) {
|
|
42
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
43
|
+
return this.resources.fetch(
|
|
44
|
+
{ type: "sku_list_promotion_rules" },
|
|
45
|
+
`external_promotions/${_externalPromotionId}/sku_list_promotion_rule`,
|
|
46
|
+
params,
|
|
47
|
+
options
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
async coupon_codes_promotion_rule(externalPromotionId, params, options) {
|
|
51
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
52
|
+
return this.resources.fetch(
|
|
53
|
+
{ type: "coupon_codes_promotion_rules" },
|
|
54
|
+
`external_promotions/${_externalPromotionId}/coupon_codes_promotion_rule`,
|
|
55
|
+
params,
|
|
56
|
+
options
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
async custom_promotion_rule(externalPromotionId, params, options) {
|
|
60
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
61
|
+
return this.resources.fetch(
|
|
62
|
+
{ type: "custom_promotion_rules" },
|
|
63
|
+
`external_promotions/${_externalPromotionId}/custom_promotion_rule`,
|
|
64
|
+
params,
|
|
65
|
+
options
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
async sku_list(externalPromotionId, params, options) {
|
|
69
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
70
|
+
return this.resources.fetch(
|
|
71
|
+
{ type: "sku_lists" },
|
|
72
|
+
`external_promotions/${_externalPromotionId}/sku_list`,
|
|
73
|
+
params,
|
|
74
|
+
options
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
async coupons(externalPromotionId, params, options) {
|
|
78
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
79
|
+
return this.resources.fetch(
|
|
80
|
+
{ type: "coupons" },
|
|
81
|
+
`external_promotions/${_externalPromotionId}/coupons`,
|
|
82
|
+
params,
|
|
83
|
+
options
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
async attachments(externalPromotionId, params, options) {
|
|
87
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
88
|
+
return this.resources.fetch(
|
|
89
|
+
{ type: "attachments" },
|
|
90
|
+
`external_promotions/${_externalPromotionId}/attachments`,
|
|
91
|
+
params,
|
|
92
|
+
options
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
async events(externalPromotionId, params, options) {
|
|
96
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
97
|
+
return this.resources.fetch(
|
|
98
|
+
{ type: "events" },
|
|
99
|
+
`external_promotions/${_externalPromotionId}/events`,
|
|
100
|
+
params,
|
|
101
|
+
options
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
async tags(externalPromotionId, params, options) {
|
|
105
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
106
|
+
return this.resources.fetch(
|
|
107
|
+
{ type: "tags" },
|
|
108
|
+
`external_promotions/${_externalPromotionId}/tags`,
|
|
109
|
+
params,
|
|
110
|
+
options
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
async event_stores(externalPromotionId, params, options) {
|
|
114
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
115
|
+
return this.resources.fetch(
|
|
116
|
+
{ type: "event_stores" },
|
|
117
|
+
`external_promotions/${_externalPromotionId}/event_stores`,
|
|
118
|
+
params,
|
|
119
|
+
options
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
async skus(externalPromotionId, params, options) {
|
|
123
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
124
|
+
return this.resources.fetch(
|
|
125
|
+
{ type: "skus" },
|
|
126
|
+
`external_promotions/${_externalPromotionId}/skus`,
|
|
127
|
+
params,
|
|
128
|
+
options
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
async _disable(id, params, options) {
|
|
132
|
+
return this.resources.update(
|
|
133
|
+
{ id: typeof id === "string" ? id : id.id, type: _ExternalPromotions.TYPE, _disable: true },
|
|
134
|
+
params,
|
|
135
|
+
options
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
async _enable(id, params, options) {
|
|
139
|
+
return this.resources.update(
|
|
140
|
+
{ id: typeof id === "string" ? id : id.id, type: _ExternalPromotions.TYPE, _enable: true },
|
|
141
|
+
params,
|
|
142
|
+
options
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
async _add_tags(id, triggerValue, params, options) {
|
|
146
|
+
return this.resources.update(
|
|
147
|
+
{ id: typeof id === "string" ? id : id.id, type: _ExternalPromotions.TYPE, _add_tags: triggerValue },
|
|
148
|
+
params,
|
|
149
|
+
options
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
async _remove_tags(id, triggerValue, params, options) {
|
|
153
|
+
return this.resources.update(
|
|
154
|
+
{ id: typeof id === "string" ? id : id.id, type: _ExternalPromotions.TYPE, _remove_tags: triggerValue },
|
|
155
|
+
params,
|
|
156
|
+
options
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
async _reset_circuit(id, params, options) {
|
|
160
|
+
return this.resources.update(
|
|
161
|
+
{ id: typeof id === "string" ? id : id.id, type: _ExternalPromotions.TYPE, _reset_circuit: true },
|
|
162
|
+
params,
|
|
163
|
+
options
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
async _regenerate_shared_secret(id, params, options) {
|
|
167
|
+
return this.resources.update(
|
|
168
|
+
{ id: typeof id === "string" ? id : id.id, type: _ExternalPromotions.TYPE, _regenerate_shared_secret: true },
|
|
169
|
+
params,
|
|
170
|
+
options
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
isExternalPromotion(resource) {
|
|
174
|
+
return resource.type && resource.type === _ExternalPromotions.TYPE;
|
|
175
|
+
}
|
|
176
|
+
relationship(id) {
|
|
177
|
+
return super.relationshipOneToOne(id);
|
|
178
|
+
}
|
|
179
|
+
relationshipToMany(...ids) {
|
|
180
|
+
return super.relationshipOneToMany(...ids);
|
|
181
|
+
}
|
|
182
|
+
type() {
|
|
183
|
+
return _ExternalPromotions.TYPE;
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
var instance = new ExternalPromotions();
|
|
187
|
+
var external_promotions_default = instance;
|
|
188
|
+
|
|
189
|
+
export { external_promotions_default };
|
|
190
|
+
//# sourceMappingURL=chunk-L3Q2TFM3.js.map
|
|
191
|
+
//# sourceMappingURL=chunk-L3Q2TFM3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/external_promotions.ts"],"names":[],"mappings":";;;AAmUA,IAAM,kBAAA,GAAN,MAAM,mBAAA,SAA2B,WAAA,CAA+B;AAAA,EAC9D,OAAgB,IAAA,GAA8B,qBAAA;AAAA,EAE9C,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC4B;AAC5B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,oBAAmB,IAAA,EAAK;AAAA,MAC7C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC4B;AAC5B,IAAA,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O,KAAA,CAAM,qBAA2C,EAAE,CAAA;AAAA,EAC5D;AAAA,EAEA,sBAAsB,GAAA,EAAuC;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA4C,GAAG,GAAG,CAAA;AAAA,EACjE;AAAA,EAEA,IAAA,GAA8B;AAC5B,IAAA,OAAO,mBAAA,CAAmB,IAAA;AAAA,EAC5B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,kBAAA,EAAmB;AACxC,IAAO,2BAAA,GAAQ","file":"chunk-L3Q2TFM3.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 { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { Coupon } from './coupons'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { PromotionRule } from './promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Sku } from './skus'\nimport type { Tag, TagType } from './tags'\n\ntype ExternalPromotionType = 'external_promotions'\ntype ExternalPromotionRel = ResourceRel & { type: ExternalPromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\nexport type ExternalPromotionSort = Pick<\n ExternalPromotion,\n | 'id'\n | 'name'\n | 'currency_code'\n | 'exclusive'\n | 'priority'\n | 'starts_at'\n | 'expires_at'\n | 'total_usage_limit'\n | 'total_usage_count'\n | 'total_usage_reached'\n | 'disabled_at'\n | 'circuit_state'\n | 'circuit_failure_count'\n> &\n ResourceSort\n// export type ExternalPromotionFilter = Pick<ExternalPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceFilter\n\n/**\n * The External promotion object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/external_promotions endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/external_promotions/object\n */\ninterface ExternalPromotion extends Resource {\n readonly type: ExternalPromotionType\n\n /**\n * The promotion's internal name.\n * @example ```\"Personal promotion\"```\n */\n name: string\n /**\n * The international 3-letter currency code as defined by the ISO 4217 standard.\n * @example ```\"EUR\"```\n */\n currency_code?: string | null\n /**\n * Indicates if the promotion will be applied exclusively, based on its priority score.\n * @example ```true```\n */\n exclusive?: boolean | null\n /**\n * The priority assigned to the promotion (lower means higher priority).\n * @example ```2```\n */\n priority?: number | null\n /**\n * The activation date/time of this promotion.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at: string\n /**\n * The expiration date/time of this promotion (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at: string\n /**\n * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n * @example ```5```\n */\n total_usage_limit?: number | null\n /**\n * The number of times this promotion has been applied.\n * @example ```2```\n */\n total_usage_count?: number | null\n /**\n * Indicates if the promotion has been applied the total number of allowed times.\n */\n total_usage_reached?: boolean | null\n /**\n * Indicates if the promotion is active (enabled and not expired).\n * @example ```true```\n */\n active?: boolean | null\n /**\n * The promotion status. One of 'disabled', 'expired', 'pending', 'active', or 'inactive'.\n * @example ```\"pending\"```\n */\n status?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null\n /**\n * The weight of the promotion, computed by exclusivity, priority, type and start time. Determines the order of application, higher weight apply first.\n * @example ```112```\n */\n weight?: number | null\n /**\n * The total number of coupons created for this promotion.\n * @example ```2```\n */\n coupons_count?: number | null\n /**\n * Time at which this resource was disabled.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n disabled_at?: string | null\n /**\n * The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.\n * @example ```\"closed\"```\n */\n circuit_state?: string | null\n /**\n * The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.\n * @example ```5```\n */\n circuit_failure_count?: number | null\n /**\n * The shared secret used to sign the external request payload.\n * @example ```\"1c0994cc4e996e8c6ee56a2198f66f3c\"```\n */\n shared_secret: string\n /**\n * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n * @example ```[\"order.line_item_options\"]```\n */\n external_includes?: string[] | null\n /**\n * The URL to the service that will compute the discount.\n * @example ```\"https://external_promotion.yourbrand.com\"```\n */\n promotion_url: string\n\n market?: Market | null\n promotion_rules?: PromotionRule[] | null\n order_amount_promotion_rule?: OrderAmountPromotionRule | null\n sku_list_promotion_rule?: SkuListPromotionRule | null\n coupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n custom_promotion_rule?: CustomPromotionRule | null\n sku_list?: SkuList | null\n coupons?: Coupon[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n tags?: Tag[] | null\n event_stores?: EventStore[] | null\n skus?: Sku[] | null\n}\n\ninterface ExternalPromotionCreate extends ResourceCreate {\n /**\n * The promotion's internal name.\n * @example ```\"Personal promotion\"```\n */\n name: string\n /**\n * The international 3-letter currency code as defined by the ISO 4217 standard.\n * @example ```\"EUR\"```\n */\n currency_code?: string | null\n /**\n * Indicates if the promotion will be applied exclusively, based on its priority score.\n * @example ```true```\n */\n exclusive?: boolean | null\n /**\n * The priority assigned to the promotion (lower means higher priority).\n * @example ```2```\n */\n priority?: number | null\n /**\n * The activation date/time of this promotion.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at: string\n /**\n * The expiration date/time of this promotion (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at: string\n /**\n * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n * @example ```5```\n */\n total_usage_limit?: number | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n /**\n * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n * @example ```[\"order.line_item_options\"]```\n */\n external_includes?: string[] | null\n /**\n * The URL to the service that will compute the discount.\n * @example ```\"https://external_promotion.yourbrand.com\"```\n */\n promotion_url: string\n\n market?: MarketRel | null\n order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n sku_list_promotion_rule?: SkuListPromotionRuleRel | null\n coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n custom_promotion_rule?: CustomPromotionRuleRel | null\n sku_list?: SkuListRel | null\n tags?: TagRel[] | null\n}\n\ninterface ExternalPromotionUpdate extends ResourceUpdate {\n /**\n * The promotion's internal name.\n * @example ```\"Personal promotion\"```\n */\n name?: string | null\n /**\n * The international 3-letter currency code as defined by the ISO 4217 standard.\n * @example ```\"EUR\"```\n */\n currency_code?: string | null\n /**\n * Indicates if the promotion will be applied exclusively, based on its priority score.\n * @example ```true```\n */\n exclusive?: boolean | null\n /**\n * The priority assigned to the promotion (lower means higher priority).\n * @example ```2```\n */\n priority?: number | null\n /**\n * The activation date/time of this promotion.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at?: string | null\n /**\n * The expiration date/time of this promotion (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at?: string | null\n /**\n * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n * @example ```5```\n */\n total_usage_limit?: number | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n /**\n * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _add_tags?: string | null\n /**\n * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _remove_tags?: string | null\n /**\n * Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.\n * @example ```true```\n */\n _reset_circuit?: boolean | null\n /**\n * Send this attribute if you want to regenerate the shared secret.\n * @example ```true```\n */\n _regenerate_shared_secret?: boolean | null\n /**\n * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n * @example ```[\"order.line_item_options\"]```\n */\n external_includes?: string[] | null\n /**\n * The URL to the service that will compute the discount.\n * @example ```\"https://external_promotion.yourbrand.com\"```\n */\n promotion_url?: string | null\n\n market?: MarketRel | null\n order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n sku_list_promotion_rule?: SkuListPromotionRuleRel | null\n coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n custom_promotion_rule?: CustomPromotionRuleRel | null\n sku_list?: SkuListRel | null\n tags?: TagRel[] | null\n}\n\nclass ExternalPromotions extends ApiResource<ExternalPromotion> {\n static readonly TYPE: ExternalPromotionType = 'external_promotions' as const\n\n async create(\n resource: ExternalPromotionCreate,\n params?: QueryParamsRetrieve<ExternalPromotion>,\n options?: ResourcesConfig,\n ): Promise<ExternalPromotion> {\n return this.resources.create<ExternalPromotionCreate, ExternalPromotion>(\n { ...resource, type: ExternalPromotions.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: ExternalPromotionUpdate,\n params?: QueryParamsRetrieve<ExternalPromotion>,\n options?: ResourcesConfig,\n ): Promise<ExternalPromotion> {\n return this.resources.update<ExternalPromotionUpdate, ExternalPromotion>(\n { ...resource, type: ExternalPromotions.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: ExternalPromotions.TYPE } : id, options)\n }\n\n async market(\n externalPromotionId: string | ExternalPromotion,\n params?: QueryParamsRetrieve<Market>,\n options?: ResourcesConfig,\n ): Promise<Market> {\n const _externalPromotionId = (externalPromotionId as ExternalPromotion).id || (externalPromotionId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `external_promotions/${_externalPromotionId}/market`,\n params,\n options,\n ) as unknown as Market\n }\n\n async order_amount_promotion_rule(\n externalPromotionId: string | ExternalPromotion,\n params?: QueryParamsRetrieve<OrderAmountPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<OrderAmountPromotionRule> {\n const _externalPromotionId = (externalPromotionId as ExternalPromotion).id || (externalPromotionId as string)\n return this.resources.fetch<OrderAmountPromotionRule>(\n { type: 'order_amount_promotion_rules' },\n `external_promotions/${_externalPromotionId}/order_amount_promotion_rule`,\n params,\n options,\n ) as unknown as OrderAmountPromotionRule\n }\n\n async sku_list_promotion_rule(\n externalPromotionId: string | ExternalPromotion,\n params?: QueryParamsRetrieve<SkuListPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<SkuListPromotionRule> {\n const _externalPromotionId = (externalPromotionId as ExternalPromotion).id || (externalPromotionId as string)\n return this.resources.fetch<SkuListPromotionRule>(\n { type: 'sku_list_promotion_rules' },\n `external_promotions/${_externalPromotionId}/sku_list_promotion_rule`,\n params,\n options,\n ) as unknown as SkuListPromotionRule\n }\n\n async coupon_codes_promotion_rule(\n externalPromotionId: string | ExternalPromotion,\n params?: QueryParamsRetrieve<CouponCodesPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CouponCodesPromotionRule> {\n const _externalPromotionId = (externalPromotionId as ExternalPromotion).id || (externalPromotionId as string)\n return this.resources.fetch<CouponCodesPromotionRule>(\n { type: 'coupon_codes_promotion_rules' },\n `external_promotions/${_externalPromotionId}/coupon_codes_promotion_rule`,\n params,\n options,\n ) as unknown as CouponCodesPromotionRule\n }\n\n async custom_promotion_rule(\n externalPromotionId: string | ExternalPromotion,\n params?: QueryParamsRetrieve<CustomPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CustomPromotionRule> {\n const _externalPromotionId = (externalPromotionId as ExternalPromotion).id || (externalPromotionId as string)\n return this.resources.fetch<CustomPromotionRule>(\n { type: 'custom_promotion_rules' },\n `external_promotions/${_externalPromotionId}/custom_promotion_rule`,\n params,\n options,\n ) as unknown as CustomPromotionRule\n }\n\n async sku_list(\n externalPromotionId: string | ExternalPromotion,\n params?: QueryParamsRetrieve<SkuList>,\n options?: ResourcesConfig,\n ): Promise<SkuList> {\n const _externalPromotionId = (externalPromotionId as ExternalPromotion).id || (externalPromotionId as string)\n return this.resources.fetch<SkuList>(\n { type: 'sku_lists' },\n `external_promotions/${_externalPromotionId}/sku_list`,\n params,\n options,\n ) as unknown as SkuList\n }\n\n async coupons(\n externalPromotionId: string | ExternalPromotion,\n params?: QueryParamsList<Coupon>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Coupon>> {\n const _externalPromotionId = (externalPromotionId as ExternalPromotion).id || (externalPromotionId as string)\n return this.resources.fetch<Coupon>(\n { type: 'coupons' },\n `external_promotions/${_externalPromotionId}/coupons`,\n params,\n options,\n ) as unknown as ListResponse<Coupon>\n }\n\n async attachments(\n externalPromotionId: string | ExternalPromotion,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _externalPromotionId = (externalPromotionId as ExternalPromotion).id || (externalPromotionId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `external_promotions/${_externalPromotionId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n externalPromotionId: string | ExternalPromotion,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _externalPromotionId = (externalPromotionId as ExternalPromotion).id || (externalPromotionId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `external_promotions/${_externalPromotionId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async tags(\n externalPromotionId: string | ExternalPromotion,\n params?: QueryParamsList<Tag>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Tag>> {\n const _externalPromotionId = (externalPromotionId as ExternalPromotion).id || (externalPromotionId as string)\n return this.resources.fetch<Tag>(\n { type: 'tags' },\n `external_promotions/${_externalPromotionId}/tags`,\n params,\n options,\n ) as unknown as ListResponse<Tag>\n }\n\n async event_stores(\n externalPromotionId: string | ExternalPromotion,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _externalPromotionId = (externalPromotionId as ExternalPromotion).id || (externalPromotionId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `external_promotions/${_externalPromotionId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async skus(\n externalPromotionId: string | ExternalPromotion,\n params?: QueryParamsList<Sku>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Sku>> {\n const _externalPromotionId = (externalPromotionId as ExternalPromotion).id || (externalPromotionId as string)\n return this.resources.fetch<Sku>(\n { type: 'skus' },\n `external_promotions/${_externalPromotionId}/skus`,\n params,\n options,\n ) as unknown as ListResponse<Sku>\n }\n\n async _disable(\n id: string | ExternalPromotion,\n params?: QueryParamsRetrieve<ExternalPromotion>,\n options?: ResourcesConfig,\n ): Promise<ExternalPromotion> {\n return this.resources.update<ExternalPromotionUpdate, ExternalPromotion>(\n { id: typeof id === 'string' ? id : id.id, type: ExternalPromotions.TYPE, _disable: true },\n params,\n options,\n )\n }\n\n async _enable(\n id: string | ExternalPromotion,\n params?: QueryParamsRetrieve<ExternalPromotion>,\n options?: ResourcesConfig,\n ): Promise<ExternalPromotion> {\n return this.resources.update<ExternalPromotionUpdate, ExternalPromotion>(\n { id: typeof id === 'string' ? id : id.id, type: ExternalPromotions.TYPE, _enable: true },\n params,\n options,\n )\n }\n\n async _add_tags(\n id: string | ExternalPromotion,\n triggerValue: string,\n params?: QueryParamsRetrieve<ExternalPromotion>,\n options?: ResourcesConfig,\n ): Promise<ExternalPromotion> {\n return this.resources.update<ExternalPromotionUpdate, ExternalPromotion>(\n { id: typeof id === 'string' ? id : id.id, type: ExternalPromotions.TYPE, _add_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _remove_tags(\n id: string | ExternalPromotion,\n triggerValue: string,\n params?: QueryParamsRetrieve<ExternalPromotion>,\n options?: ResourcesConfig,\n ): Promise<ExternalPromotion> {\n return this.resources.update<ExternalPromotionUpdate, ExternalPromotion>(\n { id: typeof id === 'string' ? id : id.id, type: ExternalPromotions.TYPE, _remove_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _reset_circuit(\n id: string | ExternalPromotion,\n params?: QueryParamsRetrieve<ExternalPromotion>,\n options?: ResourcesConfig,\n ): Promise<ExternalPromotion> {\n return this.resources.update<ExternalPromotionUpdate, ExternalPromotion>(\n { id: typeof id === 'string' ? id : id.id, type: ExternalPromotions.TYPE, _reset_circuit: true },\n params,\n options,\n )\n }\n\n async _regenerate_shared_secret(\n id: string | ExternalPromotion,\n params?: QueryParamsRetrieve<ExternalPromotion>,\n options?: ResourcesConfig,\n ): Promise<ExternalPromotion> {\n return this.resources.update<ExternalPromotionUpdate, ExternalPromotion>(\n { id: typeof id === 'string' ? id : id.id, type: ExternalPromotions.TYPE, _regenerate_shared_secret: true },\n params,\n options,\n )\n }\n\n isExternalPromotion(resource: any): resource is ExternalPromotion {\n return resource.type && resource.type === ExternalPromotions.TYPE\n }\n\n relationship(id: string | ResourceId | null): ExternalPromotionRel {\n return super.relationshipOneToOne<ExternalPromotionRel>(id)\n }\n\n relationshipToMany(...ids: string[]): ExternalPromotionRel[] {\n return super.relationshipOneToMany<ExternalPromotionRel>(...ids)\n }\n\n type(): ExternalPromotionType {\n return ExternalPromotions.TYPE\n }\n}\n\nconst instance = new ExternalPromotions()\nexport default instance\n\nexport type {\n ExternalPromotion,\n ExternalPromotionCreate,\n ExternalPromotions,\n ExternalPromotionType,\n ExternalPromotionUpdate,\n}\n"]}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkDZFJO4LF_cjs = require('./chunk-DZFJO4LF.cjs');
|
|
4
|
+
|
|
5
|
+
// gen/resources/stripe_gateways.ts
|
|
6
|
+
var StripeGateways = class _StripeGateways extends chunkDZFJO4LF_cjs.ApiResource {
|
|
7
|
+
static TYPE = "stripe_gateways";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create(
|
|
10
|
+
{ ...resource, type: _StripeGateways.TYPE },
|
|
11
|
+
params,
|
|
12
|
+
options
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
async update(resource, params, options) {
|
|
16
|
+
return this.resources.update(
|
|
17
|
+
{ ...resource, type: _StripeGateways.TYPE },
|
|
18
|
+
params,
|
|
19
|
+
options
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
async delete(id, options) {
|
|
23
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _StripeGateways.TYPE } : id, options);
|
|
24
|
+
}
|
|
25
|
+
async payment_methods(stripeGatewayId, params, options) {
|
|
26
|
+
const _stripeGatewayId = stripeGatewayId.id || stripeGatewayId;
|
|
27
|
+
return this.resources.fetch(
|
|
28
|
+
{ type: "payment_methods" },
|
|
29
|
+
`stripe_gateways/${_stripeGatewayId}/payment_methods`,
|
|
30
|
+
params,
|
|
31
|
+
options
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
async event_stores(stripeGatewayId, params, options) {
|
|
35
|
+
const _stripeGatewayId = stripeGatewayId.id || stripeGatewayId;
|
|
36
|
+
return this.resources.fetch(
|
|
37
|
+
{ type: "event_stores" },
|
|
38
|
+
`stripe_gateways/${_stripeGatewayId}/event_stores`,
|
|
39
|
+
params,
|
|
40
|
+
options
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
async stripe_payments(stripeGatewayId, params, options) {
|
|
44
|
+
const _stripeGatewayId = stripeGatewayId.id || stripeGatewayId;
|
|
45
|
+
return this.resources.fetch(
|
|
46
|
+
{ type: "stripe_payments" },
|
|
47
|
+
`stripe_gateways/${_stripeGatewayId}/stripe_payments`,
|
|
48
|
+
params,
|
|
49
|
+
options
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
async _disable(id, params, options) {
|
|
53
|
+
return this.resources.update(
|
|
54
|
+
{ id: typeof id === "string" ? id : id.id, type: _StripeGateways.TYPE, _disable: true },
|
|
55
|
+
params,
|
|
56
|
+
options
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
async _enable(id, params, options) {
|
|
60
|
+
return this.resources.update(
|
|
61
|
+
{ id: typeof id === "string" ? id : id.id, type: _StripeGateways.TYPE, _enable: true },
|
|
62
|
+
params,
|
|
63
|
+
options
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
async _check(id, params, options) {
|
|
67
|
+
return this.resources.update(
|
|
68
|
+
{ id: typeof id === "string" ? id : id.id, type: _StripeGateways.TYPE, _check: true },
|
|
69
|
+
params,
|
|
70
|
+
options
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
isStripeGateway(resource) {
|
|
74
|
+
return resource.type && resource.type === _StripeGateways.TYPE;
|
|
75
|
+
}
|
|
76
|
+
relationship(id) {
|
|
77
|
+
return super.relationshipOneToOne(id);
|
|
78
|
+
}
|
|
79
|
+
relationshipToMany(...ids) {
|
|
80
|
+
return super.relationshipOneToMany(...ids);
|
|
81
|
+
}
|
|
82
|
+
type() {
|
|
83
|
+
return _StripeGateways.TYPE;
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
var instance = new StripeGateways();
|
|
87
|
+
var stripe_gateways_default = instance;
|
|
88
|
+
|
|
89
|
+
exports.stripe_gateways_default = stripe_gateways_default;
|
|
90
|
+
//# sourceMappingURL=chunk-L6UNI64M.cjs.map
|
|
91
|
+
//# sourceMappingURL=chunk-L6UNI64M.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/stripe_gateways.ts"],"names":["ApiResource"],"mappings":";;;;;AAuKA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuBA,6BAAA,CAA2B;AAAA,EACtD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACwB;AACxB,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,gBAAe,IAAA,EAAK;AAAA,MACzC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACwB;AACxB,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,gBAAe,IAAA,EAAK;AAAA,MACzC,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,I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} 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 { PaymentMethod } from './payment_methods'\nimport type { StripePayment } from './stripe_payments'\n\ntype StripeGatewayType = 'stripe_gateways'\ntype StripeGatewayRel = ResourceRel & { type: StripeGatewayType }\n\nexport type StripeGatewaySort = Pick<StripeGateway, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type StripeGatewayFilter = Pick<StripeGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n/**\n * The Stripe gateway object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/stripe_gateways endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/stripe_gateways/object\n */\ninterface StripeGateway extends Resource {\n readonly type: StripeGatewayType\n\n /**\n * The payment gateway's internal name.\n * @example ```\"US payment gateway\"```\n */\n name: string\n /**\n * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n * @example ```true```\n */\n force_payments?: boolean | null\n /**\n * The payment gateway's API credential keys last digits.\n * @example ```{\"api_key\":\"********BW989\"}```\n */\n credential_keys?: Record<string, any> | null\n /**\n * Time at which this resource was disabled.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n disabled_at?: string | null\n /**\n * The account (if any) for which the funds of the PaymentIntent are intended.\n * @example ```\"acct_xxxx-yyyy-zzzz\"```\n */\n connected_account?: string | null\n /**\n * Indicates if the gateway will accept payment methods enabled in the Stripe dashboard.\n * @example ```true```\n */\n auto_payments?: boolean | null\n /**\n * The gateway webhook endpoint ID, generated automatically.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n webhook_endpoint_id?: string | null\n /**\n * The gateway webhook endpoint secret, generated automatically.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n webhook_endpoint_secret?: string | null\n /**\n * The gateway webhook URL, generated automatically.\n * @example ```\"https://core.commercelayer.co/webhook_callbacks/stripe_gateways/xxxxx\"```\n */\n webhook_endpoint_url?: string | null\n\n payment_methods?: PaymentMethod[] | null\n event_stores?: EventStore[] | null\n stripe_payments?: StripePayment[] | null\n}\n\ninterface StripeGatewayCreate extends ResourceCreate {\n /**\n * The payment gateway's internal name.\n * @example ```\"US payment gateway\"```\n */\n name: string\n /**\n * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n * @example ```true```\n */\n force_payments?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n /**\n * Send this attribute if you want to check the credentials against the payment gateway's APIs.\n * @example ```true```\n */\n _check?: boolean | null\n /**\n * The gateway login.\n * @example ```\"sk_live_xxxx-yyyy-zzzz\"```\n */\n login: string\n /**\n * The gateway publishable API key.\n * @example ```\"pk_live_xxxx-yyyy-zzzz\"```\n */\n publishable_key?: string | null\n /**\n * The account (if any) for which the funds of the PaymentIntent are intended.\n * @example ```\"acct_xxxx-yyyy-zzzz\"```\n */\n connected_account?: string | null\n /**\n * Indicates if the gateway will accept payment methods enabled in the Stripe dashboard.\n * @example ```true```\n */\n auto_payments?: boolean | null\n}\n\ninterface StripeGatewayUpdate extends ResourceUpdate {\n /**\n * The payment gateway's internal name.\n * @example ```\"US payment gateway\"```\n */\n name?: string | null\n /**\n * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n * @example ```true```\n */\n force_payments?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n /**\n * Send this attribute if you want to check the credentials against the payment gateway's APIs.\n * @example ```true```\n */\n _check?: boolean | null\n /**\n * The account (if any) for which the funds of the PaymentIntent are intended.\n * @example ```\"acct_xxxx-yyyy-zzzz\"```\n */\n connected_account?: string | null\n /**\n * Indicates if the gateway will accept payment methods enabled in the Stripe dashboard.\n * @example ```true```\n */\n auto_payments?: boolean | null\n}\n\nclass StripeGateways extends ApiResource<StripeGateway> {\n static readonly TYPE: StripeGatewayType = 'stripe_gateways' as const\n\n async create(\n resource: StripeGatewayCreate,\n params?: QueryParamsRetrieve<StripeGateway>,\n options?: ResourcesConfig,\n ): Promise<StripeGateway> {\n return this.resources.create<StripeGatewayCreate, StripeGateway>(\n { ...resource, type: StripeGateways.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: StripeGatewayUpdate,\n params?: QueryParamsRetrieve<StripeGateway>,\n options?: ResourcesConfig,\n ): Promise<StripeGateway> {\n return this.resources.update<StripeGatewayUpdate, StripeGateway>(\n { ...resource, type: StripeGateways.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: StripeGateways.TYPE } : id, options)\n }\n\n async payment_methods(\n stripeGatewayId: string | StripeGateway,\n params?: QueryParamsList<PaymentMethod>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentMethod>> {\n const _stripeGatewayId = (stripeGatewayId as StripeGateway).id || (stripeGatewayId as string)\n return this.resources.fetch<PaymentMethod>(\n { type: 'payment_methods' },\n `stripe_gateways/${_stripeGatewayId}/payment_methods`,\n params,\n options,\n ) as unknown as ListResponse<PaymentMethod>\n }\n\n async event_stores(\n stripeGatewayId: string | StripeGateway,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _stripeGatewayId = (stripeGatewayId as StripeGateway).id || (stripeGatewayId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `stripe_gateways/${_stripeGatewayId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async stripe_payments(\n stripeGatewayId: string | StripeGateway,\n params?: QueryParamsList<StripePayment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<StripePayment>> {\n const _stripeGatewayId = (stripeGatewayId as StripeGateway).id || (stripeGatewayId as string)\n return this.resources.fetch<StripePayment>(\n { type: 'stripe_payments' },\n `stripe_gateways/${_stripeGatewayId}/stripe_payments`,\n params,\n options,\n ) as unknown as ListResponse<StripePayment>\n }\n\n async _disable(\n id: string | StripeGateway,\n params?: QueryParamsRetrieve<StripeGateway>,\n options?: ResourcesConfig,\n ): Promise<StripeGateway> {\n return this.resources.update<StripeGatewayUpdate, StripeGateway>(\n { id: typeof id === 'string' ? id : id.id, type: StripeGateways.TYPE, _disable: true },\n params,\n options,\n )\n }\n\n async _enable(\n id: string | StripeGateway,\n params?: QueryParamsRetrieve<StripeGateway>,\n options?: ResourcesConfig,\n ): Promise<StripeGateway> {\n return this.resources.update<StripeGatewayUpdate, StripeGateway>(\n { id: typeof id === 'string' ? id : id.id, type: StripeGateways.TYPE, _enable: true },\n params,\n options,\n )\n }\n\n async _check(\n id: string | StripeGateway,\n params?: QueryParamsRetrieve<StripeGateway>,\n options?: ResourcesConfig,\n ): Promise<StripeGateway> {\n return this.resources.update<StripeGatewayUpdate, StripeGateway>(\n { id: typeof id === 'string' ? id : id.id, type: StripeGateways.TYPE, _check: true },\n params,\n options,\n )\n }\n\n isStripeGateway(resource: any): resource is StripeGateway {\n return resource.type && resource.type === StripeGateways.TYPE\n }\n\n relationship(id: string | ResourceId | null): StripeGatewayRel {\n return super.relationshipOneToOne<StripeGatewayRel>(id)\n }\n\n relationshipToMany(...ids: string[]): StripeGatewayRel[] {\n return super.relationshipOneToMany<StripeGatewayRel>(...ids)\n }\n\n type(): StripeGatewayType {\n return StripeGateways.TYPE\n }\n}\n\nconst instance = new StripeGateways()\nexport default instance\n\nexport type { StripeGateway, StripeGatewayCreate, StripeGateways, StripeGatewayType, StripeGatewayUpdate }\n"]}
|