@mercurjs/admin 2.2.0-canary.5 → 2.2.0-canary.50
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/dist/{add-campaign-promotions-FAG3FAOF.js → add-campaign-promotions-QQUFYFRH.js} +14 -14
- package/dist/{adjust-inventory-EAAPNIBZ.js → adjust-inventory-P2M7KZ77.js} +33 -34
- package/dist/{api-key-management-create-MRLR4WFZ.js → api-key-management-create-KDKSGJ4C.js} +5 -5
- package/dist/{api-key-management-detail-PIN6NFQF.js → api-key-management-detail-O6KKT7V2.js} +36 -38
- package/dist/{api-key-management-edit-EZHFP3RR.js → api-key-management-edit-NOGBLKBT.js} +5 -5
- package/dist/{api-key-management-list-OPANEDHB.js → api-key-management-list-QVYDHEZQ.js} +9 -9
- package/dist/{api-key-management-sales-channels-PBL3V4IS.js → api-key-management-sales-channels-W5NFP6EW.js} +9 -10
- package/dist/{attribute-create-F55LOXRA.js → attribute-create-KR4DSDH2.js} +96 -83
- package/dist/{attribute-create-possible-value-EXVHC272.js → attribute-create-possible-value-QFXKXZM4.js} +2 -2
- package/dist/{attribute-detail-NRDJUPTJ.js → attribute-detail-LWKL6UMS.js} +61 -49
- package/dist/{attribute-edit-SB6GN67M.js → attribute-edit-WXO5FGR6.js} +7 -7
- package/dist/{attribute-edit-possible-value-5CLQOLVR.js → attribute-edit-possible-value-RO7BY3NC.js} +5 -5
- package/dist/{attribute-edit-ranking-7AAAYEC7.js → attribute-edit-ranking-YGR3KCSC.js} +3 -3
- package/dist/attribute-list-QUSXFHRZ.js +61 -0
- package/dist/breadcrumb-GHBR74WM.js +27 -0
- package/dist/breadcrumb-OBHTESQD.js +26 -0
- package/dist/{campaign-budget-edit-WKSYXTBX.js → campaign-budget-edit-QXAXRI6B.js} +3 -3
- package/dist/{campaign-configuration-ZTK46EB5.js → campaign-configuration-A3E6G2VQ.js} +3 -3
- package/dist/{campaign-create-7BELREFT.js → campaign-create-TZH66JVU.js} +7 -7
- package/dist/{campaign-detail-QMLFWZ6K.js → campaign-detail-PF3LUUZU.js} +49 -46
- package/dist/{campaign-edit-ZGLDY4X4.js → campaign-edit-6CIGS4ZU.js} +25 -9
- package/dist/{campaign-list-NQGNOFVZ.js → campaign-list-YXZ5GE7I.js} +7 -7
- package/dist/{categories-metadata-5GXBBHEH.js → categories-metadata-AIT33J5U.js} +34 -35
- package/dist/{category-create-QPQQGIEN.js → category-create-NTSIOKLK.js} +10 -7
- package/dist/category-detail-NQIXS2WH.js +113 -0
- package/dist/{category-edit-DJP7TK4X.js → category-edit-4PGWERPJ.js} +31 -13
- package/dist/category-icon-edit-C2VAH5JA.js +117 -0
- package/dist/{category-list-T5SE63HU.js → category-list-5XGK4PEB.js} +12 -9
- package/dist/category-media-E5UUDN3I.js +655 -0
- package/dist/category-organize-T45BC4HL.js +129 -0
- package/dist/{category-products-255EJFTV.js → category-products-SX6CH3ZZ.js} +48 -48
- package/dist/{chunk-G3GSRFTB.js → chunk-26PTCTT3.js} +9 -8
- package/dist/{chunk-XAIID3PU.js → chunk-2CHED2KM.js} +25 -16
- package/dist/{chunk-FFNSWUDC.js → chunk-2GHNKPYY.js} +39 -11
- package/dist/{chunk-3JSAS7QP.js → chunk-2SMBVF6F.js} +24 -7
- package/dist/{chunk-WQFFCK3R.js → chunk-2V74T2WI.js} +1 -1
- package/dist/{chunk-26UTIAAZ.js → chunk-32URSQ4F.js} +1 -1
- package/dist/chunk-3LGGCLSO.js +185 -0
- package/dist/chunk-3RRHQY24.js +1284 -0
- package/dist/{chunk-6RHAGO5O.js → chunk-3WOU2BB5.js} +5 -4
- package/dist/{chunk-VKOE5J66.js → chunk-3XOE4NV5.js} +11 -2
- package/dist/{chunk-GP4J42UD.js → chunk-4TNOZ4VH.js} +3 -2
- package/dist/{chunk-UNOG2S56.js → chunk-4XGFT4RZ.js} +167 -102
- package/dist/{chunk-JQV7CXEC.js → chunk-5BSSIDW6.js} +17 -2
- package/dist/{chunk-FB7DDNCA.js → chunk-5CHUXS7G.js} +4 -4
- package/dist/{chunk-PR7Y27BW.js → chunk-5EOYDQAS.js} +1 -1
- package/dist/{chunk-LYZDVZWA.js → chunk-5NSOIZFB.js} +5 -3
- package/dist/{chunk-SS7LB52P.js → chunk-5WTNXDRM.js} +10 -9
- package/dist/chunk-6BAPAIQM.js +8 -0
- package/dist/{chunk-D2NBZVQC.js → chunk-6PGIRZA6.js} +15 -13
- package/dist/{chunk-NQEXDLYH.js → chunk-6ZVV2XHU.js} +28 -9
- package/dist/{chunk-TXNRS2JR.js → chunk-7CQD5AQ6.js} +2 -6
- package/dist/chunk-7IGLZARZ.js +101 -0
- package/dist/{chunk-SONUZNDT.js → chunk-7MYE6VFQ.js} +75 -53
- package/dist/chunk-7OKYEA6I.js +283 -0
- package/dist/{chunk-GKGLVDDV.js → chunk-A2F5MDPU.js} +1 -1
- package/dist/{chunk-NUC27ELX.js → chunk-AASCLZ5N.js} +5 -5
- package/dist/{chunk-46A3QXAL.js → chunk-ABS7HMLY.js} +2 -2
- package/dist/{chunk-PRBE5CM3.js → chunk-AFYILTAC.js} +35 -3
- package/dist/{chunk-KMZOBR5Q.js → chunk-AO3P27WX.js} +19 -16
- package/dist/chunk-APAT344J.js +144 -0
- package/dist/{chunk-NMFVQDVF.js → chunk-APMBU7ZV.js} +5 -5
- package/dist/{chunk-EFZBEG7O.js → chunk-B3IK3FNO.js} +24 -8
- package/dist/{chunk-3VTAK3S6.js → chunk-BFUHW56P.js} +4 -4
- package/dist/chunk-BW7BDHZV.js +34 -0
- package/dist/{chunk-LYZT5REU.js → chunk-C4XKPQ6T.js} +14 -1
- package/dist/{chunk-N6SI4IIT.js → chunk-CARSKIPW.js} +1 -1
- package/dist/chunk-CGIVQ7D2.js +115 -0
- package/dist/{chunk-HR7TFO2X.js → chunk-CQKCZECQ.js} +7 -7
- package/dist/chunk-CU4UVEHX.js +121 -0
- package/dist/{chunk-M5AJSIRN.js → chunk-DJD3MWED.js} +1 -1
- package/dist/{chunk-HZQGZQTV.js → chunk-DP6YFZHP.js} +10 -8
- package/dist/{chunk-I5THQVYP.js → chunk-DUVYF37J.js} +1 -1
- package/dist/{chunk-FXWKGNRV.js → chunk-EJY35WBK.js} +2 -2
- package/dist/{chunk-KJSCFEXT.js → chunk-EQGJGBA5.js} +291 -76
- package/dist/{chunk-XJ3WC4G7.js → chunk-ESC6LVVC.js} +4 -3
- package/dist/{chunk-46M463BR.js → chunk-EWFOFSF7.js} +1 -1
- package/dist/{chunk-533GMKEG.js → chunk-F5NW4XBU.js} +23 -3
- package/dist/{chunk-5AZCIOS4.js → chunk-F6NPDZHW.js} +2 -2
- package/dist/{chunk-R5F52U3C.js → chunk-FIWEITDG.js} +36 -8
- package/dist/{chunk-UFGVU7RF.js → chunk-FLFE6HXW.js} +1 -1
- package/dist/{chunk-4LXBQTFN.js → chunk-FREUYHMS.js} +1 -1
- package/dist/{chunk-2ZRWLCYP.js → chunk-FVG5DTS6.js} +3 -3
- package/dist/{chunk-E5WBU7ZR.js → chunk-G2LHEJLS.js} +4 -4
- package/dist/{chunk-OHOWEMHO.js → chunk-G5KNNOXX.js} +32 -26
- package/dist/{chunk-CKUIM5ZD.js → chunk-GLWJ5J3F.js} +52 -23
- package/dist/{chunk-PVZBDWLK.js → chunk-GRH7C3QN.js} +1 -1
- package/dist/{chunk-CKD5563X.js → chunk-GT5A4XN2.js} +4 -3
- package/dist/{chunk-MKBCBAS2.js → chunk-GVPKRQWI.js} +79 -28
- package/dist/{chunk-BFT3CN5L.js → chunk-GWW6MPYK.js} +5 -4
- package/dist/{chunk-VDKOJ5WD.js → chunk-GYRTURN7.js} +1 -1
- package/dist/{chunk-YFRC6GEN.js → chunk-HLL6GLZO.js} +3 -3
- package/dist/{chunk-BKNAX6QQ.js → chunk-I3RIVWBQ.js} +5 -4
- package/dist/{chunk-6NDM5WGE.js → chunk-I5HY5Q3K.js} +19 -72
- package/dist/{chunk-WJJXUXSO.js → chunk-IC2PLPRP.js} +1 -1
- package/dist/{chunk-L3E6LES5.js → chunk-IGTR66D2.js} +7 -7
- package/dist/{chunk-WRVGLMRW.js → chunk-IJ2CSCLP.js} +7 -4
- package/dist/{chunk-EZGIPTIF.js → chunk-IOAB3VND.js} +54 -19
- package/dist/chunk-IWBQZK6E.js +166 -0
- package/dist/chunk-IZDTQFCP.js +65 -0
- package/dist/{chunk-AEMDNTW5.js → chunk-J54BZXZX.js} +2 -2
- package/dist/{chunk-A7JOHU6Q.js → chunk-J772X4Q3.js} +4 -3
- package/dist/{chunk-Y2M536WR.js → chunk-JHBNG7OD.js} +17 -0
- package/dist/{chunk-LYD3C73Z.js → chunk-JI7HMGMO.js} +1 -1
- package/dist/{chunk-5J2HQOKK.js → chunk-JPFPQWNT.js} +5 -4
- package/dist/{chunk-KT7X72J4.js → chunk-JXSXBSV6.js} +9 -1
- package/dist/chunk-K2JORJRZ.js +281 -0
- package/dist/{chunk-33BERJSG.js → chunk-K6RZE3F7.js} +1 -1
- package/dist/{chunk-MFI5TG54.js → chunk-KA3BALYJ.js} +56 -16
- package/dist/{chunk-YGRTRAWX.js → chunk-KDE4HKH2.js} +1 -0
- package/dist/{chunk-VERWLDVW.js → chunk-KL4DBMVO.js} +6 -5
- package/dist/{chunk-EBQUMS7H.js → chunk-KQVRWXAL.js} +50 -20
- package/dist/chunk-KUBTN5TC.js +206 -0
- package/dist/{chunk-Q2ULPJJ6.js → chunk-KXWN75T2.js} +2 -2
- package/dist/{chunk-MVNO35S5.js → chunk-L6D7AGRF.js} +18 -8
- package/dist/{chunk-LAPEZATU.js → chunk-L7DIEO5B.js} +1 -1
- package/dist/{chunk-YYMACYP6.js → chunk-LEQINL55.js} +3 -2
- package/dist/{chunk-CMHI2RPL.js → chunk-LPIPSLR7.js} +21 -0
- package/dist/chunk-LXNWSQOE.js +87 -0
- package/dist/{chunk-ZBWL72TB.js → chunk-LXZXXOJ3.js} +1 -11
- package/dist/{chunk-GQLVERZW.js → chunk-M5BZBKA3.js} +9 -9
- package/dist/{chunk-4XFFF2L5.js → chunk-MBHP7XGQ.js} +12 -11
- package/dist/{chunk-KXIA66EJ.js → chunk-MJTFEVGB.js} +36 -13
- package/dist/{chunk-ZRFWXNT3.js → chunk-MMKUMSZS.js} +205 -205
- package/dist/{chunk-DAXXLQKB.js → chunk-MO7TNIVQ.js} +1 -1
- package/dist/{chunk-ZN7LWXVC.js → chunk-MTHPNKQ4.js} +5 -5
- package/dist/{chunk-2YN2OI3W.js → chunk-MVRIYUOU.js} +34 -8
- package/dist/{chunk-K43FFKGD.js → chunk-N2CMOV3N.js} +1 -1
- package/dist/chunk-NASXWD7N.js +659 -0
- package/dist/{chunk-UXGLM3B4.js → chunk-NEGOGYEO.js} +4 -4
- package/dist/{chunk-3OUWXGMT.js → chunk-NI4FAFNL.js} +129 -61
- package/dist/{chunk-SXGSYSW7.js → chunk-NLJ5F7FS.js} +15 -7
- package/dist/{chunk-DWCBB4QM.js → chunk-NPUD4G37.js} +7 -6
- package/dist/{chunk-YNHS5G26.js → chunk-NQ2RDSI3.js} +2 -2
- package/dist/{chunk-6XTHMAA2.js → chunk-O6KUSG6F.js} +31 -13
- package/dist/{chunk-KTBL35I2.js → chunk-OAGTPKC5.js} +1 -1
- package/dist/chunk-ODDJZVYL.js +476 -0
- package/dist/{chunk-Q23KHB6V.js → chunk-OG5AVHPY.js} +111 -29
- package/dist/{chunk-AKC67AN5.js → chunk-OPE24DZA.js} +83 -63
- package/dist/{chunk-C4JUURO5.js → chunk-OT5X3VOQ.js} +1 -1
- package/dist/chunk-OTGABFC4.js +382 -0
- package/dist/{chunk-LD7NVG2X.js → chunk-P2DFLKCN.js} +5 -5
- package/dist/{chunk-634XVU3D.js → chunk-PAYQJPGK.js} +8 -1
- package/dist/{chunk-CPXK5RSJ.js → chunk-PEUWV5YK.js} +3 -2
- package/dist/{chunk-DRJAKRTI.js → chunk-PEVS3GLB.js} +7 -6
- package/dist/{chunk-34OFJ74B.js → chunk-PFD4SHVF.js} +53 -36
- package/dist/{chunk-FNKBJCNF.js → chunk-PHWYJ26A.js} +4 -4
- package/dist/{chunk-VYMODH6P.js → chunk-PYF5EER5.js} +1 -1
- package/dist/{chunk-7BD24KNM.js → chunk-PYZ7VL5X.js} +3 -3
- package/dist/{chunk-QFE4AEQJ.js → chunk-Q2CJGCIA.js} +401 -107
- package/dist/{chunk-X7H7TIOT.js → chunk-Q4R2O7XF.js} +9 -9
- package/dist/{chunk-5TRY5IMZ.js → chunk-Q6GUA5VE.js} +2 -2
- package/dist/{chunk-B66CMFMH.js → chunk-QCIDV3AP.js} +3 -3
- package/dist/{chunk-TNNQPNXY.js → chunk-QE4R2KT3.js} +1 -1
- package/dist/{chunk-FPV32HVT.js → chunk-QEX45BI3.js} +8 -6
- package/dist/chunk-QJCUPZZQ.js +356 -0
- package/dist/chunk-QR3GYYX6.js +0 -0
- package/dist/{chunk-3B6MTW5G.js → chunk-QUHSHIAC.js} +3 -0
- package/dist/{chunk-EB5QHYKL.js → chunk-QVIX6O76.js} +2 -2
- package/dist/{chunk-OH4AABUT.js → chunk-R325CPYC.js} +1 -1
- package/dist/{chunk-JPNPTILP.js → chunk-R4O667NT.js} +1 -1
- package/dist/{chunk-UKDC2AQR.js → chunk-RMB7MPIT.js} +1 -1
- package/dist/{chunk-2FGRDEAD.js → chunk-RQQ53CQJ.js} +1 -1
- package/dist/{chunk-LEG67A2R.js → chunk-SAU35JEB.js} +2 -11
- package/dist/{chunk-BGQ7H2KL.js → chunk-SHFF3Y5U.js} +26 -12
- package/dist/{chunk-U2ZFCAPX.js → chunk-SITRHMZZ.js} +11 -8
- package/dist/{chunk-IAWZQKUH.js → chunk-THMINQBZ.js} +4 -3
- package/dist/{chunk-LO7NJYHZ.js → chunk-TJJ7S3GL.js} +5 -4
- package/dist/{chunk-LXMGYWPO.js → chunk-TVTI7RG5.js} +10 -9
- package/dist/{chunk-J4MAIN7L.js → chunk-UK5BVJI7.js} +2 -2
- package/dist/{chunk-P42E3L6Z.js → chunk-VH4W6LKI.js} +4 -3
- package/dist/{chunk-ESPLVOFC.js → chunk-VHCDSNXF.js} +2 -2
- package/dist/{chunk-GPJ6KVY2.js → chunk-VHOCBKSA.js} +7 -6
- package/dist/chunk-VM56ZITS.js +356 -0
- package/dist/{chunk-4KX6CBJ4.js → chunk-VSLHL2AZ.js} +2 -0
- package/dist/{chunk-N3334MXP.js → chunk-VU6KTPOZ.js} +647 -754
- package/dist/{chunk-K6L5PHHQ.js → chunk-VVJPSCBO.js} +10 -9
- package/dist/{chunk-EPHVGD5Z.js → chunk-VXW3BCN2.js} +1 -1
- package/dist/{chunk-F5H5JZQZ.js → chunk-VYSB4CTB.js} +2112 -1706
- package/dist/{chunk-N3BYBEDV.js → chunk-WF3ZDT5Z.js} +11 -95
- package/dist/{chunk-X3PXBMI3.js → chunk-WNBV2NBG.js} +11 -10
- package/dist/{chunk-F7O6IXPA.js → chunk-WV4SPFOD.js} +72 -30
- package/dist/{chunk-ZB4SO44T.js → chunk-WX4ABVXL.js} +3 -3
- package/dist/{chunk-WYA62MUL.js → chunk-X5PMVI7H.js} +3 -3
- package/dist/{chunk-2MVNFKL6.js → chunk-XJQ4MWBR.js} +16 -15
- package/dist/{chunk-DV7QV3X2.js → chunk-XWP4ZGKN.js} +11 -16
- package/dist/{chunk-IWI34SYT.js → chunk-Y6C2YIKD.js} +8 -7
- package/dist/{chunk-CVFVEDMV.js → chunk-YBVXGODN.js} +4 -3
- package/dist/{chunk-X45JKZYW.js → chunk-YL7CBNVF.js} +11 -8
- package/dist/chunk-YPM6XXSO.js +525 -0
- package/dist/{chunk-S4SVK5DE.js → chunk-YVLANFBK.js} +29 -1
- package/dist/{chunk-3L7M4E7W.js → chunk-YXKHBSQJ.js} +14 -188
- package/dist/{chunk-IMR3MZDP.js → chunk-Z6CIQQUZ.js} +3 -2
- package/dist/{chunk-ACDG3RAL.js → chunk-Z7XMG6DA.js} +89 -128
- package/dist/{chunk-4RT7P5ZQ.js → chunk-ZAANJVLM.js} +2 -2
- package/dist/{chunk-KAZ5BYTQ.js → chunk-ZAOEFQ6K.js} +5 -4
- package/dist/{chunk-SA3MMYXT.js → chunk-ZCQMFJ4X.js} +22 -10
- package/dist/{chunk-FEC24V7X.js → chunk-ZOTBKQLG.js} +2 -2
- package/dist/{chunk-COP7NFSJ.js → chunk-ZVPTNPLI.js} +3 -3
- package/dist/{collection-add-products-4ZTBHENL.js → collection-add-products-TRY52HYQ.js} +45 -46
- package/dist/{collection-create-GPBN7KO6.js → collection-create-7ZQONUJL.js} +89 -17
- package/dist/collection-detail-MQ7ZH6OT.js +104 -0
- package/dist/{collection-edit-NVRFKO46.js → collection-edit-ZFAECPWC.js} +35 -12
- package/dist/collection-icon-edit-642AZRHR.js +117 -0
- package/dist/collection-list-YMCTIJ52.js +85 -0
- package/dist/collection-media-LMJFEFVY.js +655 -0
- package/dist/{collection-metadata-E4C54MTU.js → collection-metadata-AZRN32RU.js} +34 -35
- package/dist/commission-rule-commission-edit-V5JVRNZN.js +195 -0
- package/dist/commission-rule-create-EZ2C6AWK.js +464 -0
- package/dist/commission-rule-detail-FOLHANWL.js +45 -0
- package/dist/commission-rule-edit-NQ5EYCGO.js +352 -0
- package/dist/commissions-list-56S53CQ4.js +36 -0
- package/dist/{constants-Bahlh59D.d.ts → constants-CBhKGpBZ.d.ts} +12 -5
- package/dist/{customer-create-QHA4KM6N.js → customer-create-SC6LAEVJ.js} +3 -3
- package/dist/{customer-create-address-TYWVWNUE.js → customer-create-address-VZMOF5AE.js} +11 -6
- package/dist/{customer-detail-ONZGPCHW.js → customer-detail-VIWHZUOZ.js} +51 -52
- package/dist/{customer-edit-JZ4PQTIN.js → customer-edit-RAWO66UL.js} +27 -9
- package/dist/customer-edit-address-ZEVUPAYN.js +311 -0
- package/dist/{customer-group-add-customers-VJUBEN7M.js → customer-group-add-customers-VKUSW6AS.js} +13 -13
- package/dist/{customer-group-create-NA2UKCF6.js → customer-group-create-3KAC3R3N.js} +3 -3
- package/dist/{customer-group-detail-XTCDJX7O.js → customer-group-detail-JVULZZTT.js} +51 -49
- package/dist/{customer-group-edit-3O6HAYYN.js → customer-group-edit-E7JX2L4J.js} +43 -22
- package/dist/customer-group-list-SKODEZKB.js +57 -0
- package/dist/{customer-group-metadata-N7HGHXNC.js → customer-group-metadata-3QRU7FIE.js} +34 -35
- package/dist/{customer-list-MB6WZFMA.js → customer-list-LYDL4IEG.js} +9 -9
- package/dist/{customer-metadata-63OWV4KB.js → customer-metadata-7DMBCQXW.js} +34 -35
- package/dist/{customers-add-customer-group-NUXPXNUC.js → customers-add-customer-group-FXRUE5SD.js} +46 -46
- package/dist/{edit-inventory-item-YOJTYA7H.js → edit-inventory-item-QPWV4MSP.js} +55 -41
- package/dist/{edit-inventory-item-attributes-JGY633F2.js → edit-inventory-item-attributes-J7WHYKMK.js} +33 -34
- package/dist/{edit-reservation-ACDUXG33.js → edit-reservation-PTUSCC6C.js} +29 -11
- package/dist/{edit-rules-4VAD5Q3L.js → edit-rules-2WZOLTL7.js} +34 -35
- package/dist/extension-targets.d.ts +269 -0
- package/dist/extension-targets.js +1 -0
- package/dist/global-commission-edit-TRSS5JBH.js +203 -0
- package/dist/index.css +5187 -3
- package/dist/index.d.ts +16 -5
- package/dist/index.js +405 -383
- package/dist/inventory-create-RDVKGH2S.js +58 -0
- package/dist/{inventory-detail-B3HU2OVR.js → inventory-detail-J7NMO7EZ.js} +50 -47
- package/dist/{inventory-list-AE44PEW7.js → inventory-list-XBDJ7BHE.js} +8 -8
- package/dist/{inventory-metadata-WCFTI7AH.js → inventory-metadata-CQHLKX4T.js} +34 -35
- package/dist/{inventory-stock-M65W4GRN.js → inventory-stock-3TR47RNA.js} +38 -39
- package/dist/{invite-VQ2HR2OM.js → invite-25CGHT4W.js} +3 -3
- package/dist/loader-TIPLOZF7.js +32 -0
- package/dist/loader-ZYV22XGC.js +40 -0
- package/dist/{location-create-ZMNB7YKR.js → location-create-GKORXOYD.js} +3 -3
- package/dist/{location-detail-2NCZD5MO.js → location-detail-DTBVSZBJ.js} +36 -37
- package/dist/{location-edit-DMBF3CYZ.js → location-edit-T2CWF6N2.js} +3 -3
- package/dist/{location-fulfillment-providers-3XKOFATD.js → location-fulfillment-providers-P5U5K4NO.js} +46 -47
- package/dist/location-list-LH27WJBT.js +54 -0
- package/dist/{location-sales-channels-TEUZYDTT.js → location-sales-channels-PRQUBZIV.js} +9 -10
- package/dist/{location-service-zone-create-ZS3UWJAA.js → location-service-zone-create-O6GYRZEE.js} +11 -11
- package/dist/{location-service-zone-edit-MTGU2O4C.js → location-service-zone-edit-7ZTB45TD.js} +5 -5
- package/dist/{location-service-zone-manage-areas-S7QZTIFT.js → location-service-zone-manage-areas-DBP3P27I.js} +11 -11
- package/dist/location-service-zone-shipping-option-create-Z3S7EUYH.js +60 -0
- package/dist/{location-service-zone-shipping-option-edit-3PGSNKYT.js → location-service-zone-shipping-option-edit-SLQM4GSH.js} +7 -7
- package/dist/{location-service-zone-shipping-option-pricing-POBJOF3Z.js → location-service-zone-shipping-option-pricing-UZ577SNK.js} +9 -9
- package/dist/{login-DJWU5X5L.js → login-JNIVGP2G.js} +32 -33
- package/dist/{manage-locations-E2XQPKKE.js → manage-locations-NGNUXP3N.js} +3 -3
- package/dist/{marketplace-add-currencies-6ANNBGZM.js → marketplace-add-currencies-IPE5RJF6.js} +13 -13
- package/dist/marketplace-detail-VNCNRAE4.js +75 -0
- package/dist/{marketplace-edit-6Q3G2OY5.js → marketplace-edit-WG6LMQ2P.js} +5 -5
- package/dist/{marketplace-metadata-7DNBHUDD.js → marketplace-metadata-74YUQ6UC.js} +34 -35
- package/dist/offer-detail-page-KQMSZLQN.js +631 -0
- package/dist/offer-variant-detail-page-GESVAA2S.js +144 -0
- package/dist/offers-NW24IATZ.js +198 -0
- package/dist/{order-create-claim-MPSXY24H.js → order-create-claim-Y7ESDXLI.js} +284 -259
- package/dist/{order-create-edit-6JLXERBY.js → order-create-edit-CAKL6MJQ.js} +215 -120
- package/dist/{order-create-exchange-O6COEAGJ.js → order-create-exchange-QGSECB7D.js} +302 -275
- package/dist/{order-create-refund-TCNCSOMX.js → order-create-refund-HXFCDZV5.js} +37 -38
- package/dist/{order-create-return-EVSD6GKE.js → order-create-return-R5WJBQ5W.js} +58 -31
- package/dist/{order-detail-BOW62X75.js → order-detail-DGZXN7IQ.js} +53 -51
- package/dist/{order-edit-billing-address-5ZBOWDWQ.js → order-edit-billing-address-ZAQ3FPRT.js} +35 -36
- package/dist/{order-edit-email-DQJW2SAM.js → order-edit-email-VSAS3M2E.js} +34 -35
- package/dist/{order-edit-shipping-address-RIML4XFQ.js → order-edit-shipping-address-FZMDRJU5.js} +34 -35
- package/dist/{order-list-U5DZYLJK.js → order-list-6LIYSO2R.js} +19 -18
- package/dist/{order-metadata-WGZUETFN.js → order-metadata-FKM3ZDNM.js} +34 -35
- package/dist/{order-request-transfer-QFUMEZPD.js → order-request-transfer-BCE6ED5E.js} +34 -35
- package/dist/pages/index.d.ts +574 -491
- package/dist/pages/index.js +204 -206
- package/dist/{payout-detail-TWO6HN4E.js → payout-detail-LY7SRCKO.js} +3 -3
- package/dist/{payout-list-7WJZFNW5.js → payout-list-VUJKOAOJ.js} +8 -8
- package/dist/{price-list-configuration-O3MR5IUA.js → price-list-configuration-DYFBYDQE.js} +14 -13
- package/dist/price-list-create-U2DMHUQE.js +77 -0
- package/dist/price-list-detail-CAK3AFSU.js +108 -0
- package/dist/{price-list-edit-OJAYEUYO.js → price-list-edit-4JPSL2NL.js} +28 -12
- package/dist/{price-list-list-ARICU2NA.js → price-list-list-PJIIPQOF.js} +11 -11
- package/dist/price-list-prices-add-6TO5RTTD.js +72 -0
- package/dist/{price-list-prices-edit-4HBSUC5W.js → price-list-prices-edit-AXJJTMKL.js} +35 -36
- package/dist/{product-add-existing-attributes-IHCIKDIH.js → product-add-existing-attributes-XIJB2NXI.js} +93 -54
- package/dist/{product-attributes-ZURXNZ3J.js → product-attributes-PCZDEFHM.js} +4 -4
- package/dist/{product-bulk-edit-LHCPVFUX.js → product-bulk-edit-FGB4T2KQ.js} +4 -4
- package/dist/product-create-KCMW6PCB.js +71 -0
- package/dist/{product-create-attribute-UBWABT2Q.js → product-create-attribute-6AJPI6IJ.js} +92 -54
- package/dist/{product-create-variant-MVYZPDO7.js → product-create-variant-2OCZA6GW.js} +8 -8
- package/dist/product-detail-A6DZWYEL.js +110 -0
- package/dist/{product-edit-EDW3D2KW.js → product-edit-KMK7CMLI.js} +9 -5
- package/dist/product-edit-attribute-FCEYWZWL.js +336 -0
- package/dist/product-list-CIHKL6N7.js +90 -0
- package/dist/{product-media-J3VTWOU4.js → product-media-P57SRDNX.js} +14 -17
- package/dist/{product-metadata-T2D4GEIP.js → product-metadata-6EFF4IPX.js} +35 -36
- package/dist/{product-organization-D6UMZAUE.js → product-organization-QNCCL277.js} +84 -51
- package/dist/{product-sales-channels-NTT6KMSD.js → product-sales-channels-GD7NYUP3.js} +8 -9
- package/dist/{product-shipping-profile-WM7LORFB.js → product-shipping-profile-UFIRKPTG.js} +4 -4
- package/dist/{product-tag-create-47G425O2.js → product-tag-create-PSY5Q437.js} +33 -34
- package/dist/{product-tag-detail-VNGOBWYE.js → product-tag-detail-D54OKWUZ.js} +58 -57
- package/dist/{product-tag-edit-DN7IVL75.js → product-tag-edit-NVGUS3CY.js} +33 -34
- package/dist/{product-tag-list-ZGRJZT2U.js → product-tag-list-QNWZAU5G.js} +58 -57
- package/dist/{product-tag-metadata-YLDBRJMI.js → product-tag-metadata-T4ZYOIXY.js} +34 -35
- package/dist/{product-type-create-RHG4KEAV.js → product-type-create-PPTAW3DW.js} +3 -3
- package/dist/{product-type-detail-MPONGCVO.js → product-type-detail-TXZ6HTOV.js} +44 -45
- package/dist/{product-type-edit-CABB7R7Y.js → product-type-edit-55AH3P7G.js} +3 -3
- package/dist/{product-type-list-TM26QMHR.js → product-type-list-OZILJZLG.js} +8 -8
- package/dist/{product-type-metadata-TDAER7JD.js → product-type-metadata-OJJYUALT.js} +34 -35
- package/dist/{product-variant-detail-5BF6JTHV.js → product-variant-detail-FZL5OZFE.js} +33 -34
- package/dist/{product-variant-edit-2RHFG2CZ.js → product-variant-edit-LSSJW4DS.js} +35 -36
- package/dist/{product-variant-metadata-G2LLH7YK.js → product-variant-metadata-D5AUINFJ.js} +34 -35
- package/dist/{profile-detail-ZRL5SERS.js → profile-detail-PFJX3LPX.js} +3 -3
- package/dist/{profile-edit-HQTWYWZ7.js → profile-edit-O6Z3XJ4U.js} +3 -3
- package/dist/{promotion-add-campaign-S3JJSFHT.js → promotion-add-campaign-PYEBYRHK.js} +7 -7
- package/dist/promotion-create-OFLXF3RZ.js +57 -0
- package/dist/promotion-detail-H6S4JYYD.js +96 -0
- package/dist/{promotion-edit-details-TKRC5HES.js → promotion-edit-details-GXA4FDTK.js} +29 -17
- package/dist/{promotion-list-AFBLWKTJ.js → promotion-list-A3V4W5DY.js} +10 -10
- package/dist/{refund-reason-create-6RPQHIJI.js → refund-reason-create-HTTX2UGC.js} +33 -34
- package/dist/{refund-reason-edit-W2TVZB3N.js → refund-reason-edit-I7XXP4EP.js} +33 -34
- package/dist/{refund-reason-list-TS6JWYS4.js → refund-reason-list-YYCNRERE.js} +49 -48
- package/dist/{region-add-countries-COXN4LP3.js → region-add-countries-UO5A42HM.js} +12 -12
- package/dist/{region-create-P66Q65XY.js → region-create-7NA6RKWS.js} +13 -13
- package/dist/{region-detail-P2HHBYFV.js → region-detail-VA4FGEKA.js} +9 -9
- package/dist/{region-edit-XFE54SAO.js → region-edit-Z4VYO3TQ.js} +5 -5
- package/dist/{region-list-2XXKCDDX.js → region-list-WU4LTP5Y.js} +9 -9
- package/dist/{region-metadata-TNSJDCBM.js → region-metadata-RRUP56B2.js} +34 -35
- package/dist/{reservation-create-2TDZAX5A.js → reservation-create-3RVQVMRF.js} +5 -5
- package/dist/{reservation-detail-KFOVTTFH.js → reservation-detail-QOVPIIMC.js} +42 -39
- package/dist/{reservation-list-K4RPXJTO.js → reservation-list-SGGW2MSN.js} +9 -9
- package/dist/{reservation-metadata-HBFAVVPW.js → reservation-metadata-OAEUUCRG.js} +34 -35
- package/dist/{reset-password-3NYZNQPK.js → reset-password-7KNQD6OM.js} +3 -3
- package/dist/{return-reason-create-KED7446I.js → return-reason-create-DYJCGEOK.js} +3 -3
- package/dist/{return-reason-edit-57EU3XSE.js → return-reason-edit-A7ATUTCD.js} +3 -3
- package/dist/{return-reason-list-WBLPUYD4.js → return-reason-list-HMSZJDKI.js} +23 -21
- package/dist/{sales-channel-add-products-IHGDKRKH.js → sales-channel-add-products-6TXYF3HM.js} +46 -47
- package/dist/{sales-channel-create-MPZCRQBT.js → sales-channel-create-77PRY5T6.js} +4 -4
- package/dist/{sales-channel-detail-QCFO7VUA.js → sales-channel-detail-SYE4FUXD.js} +43 -44
- package/dist/{sales-channel-edit-GILK4QK3.js → sales-channel-edit-PBN2XYEI.js} +4 -4
- package/dist/sales-channel-list-4CNHLSBR.js +52 -0
- package/dist/{sales-channel-metadata-OEQVWJRQ.js → sales-channel-metadata-RXT26TCT.js} +34 -35
- package/dist/{shipping-option-type-create-SMXDCF6I.js → shipping-option-type-create-2EVIHSGN.js} +33 -34
- package/dist/{shipping-option-type-detail-MO3YRUVR.js → shipping-option-type-detail-BKFYUX2T.js} +34 -35
- package/dist/{shipping-option-type-edit-KO64TZS6.js → shipping-option-type-edit-LTH6PE7B.js} +33 -34
- package/dist/shipping-option-type-list-7NSGG7ZI.js +60 -0
- package/dist/{shipping-profile-create-UJNCCKKK.js → shipping-profile-create-HKYX4FKJ.js} +3 -3
- package/dist/{shipping-profile-detail-YAKZHWZI.js → shipping-profile-detail-FOPCKNOZ.js} +3 -3
- package/dist/{shipping-profile-metadata-FLTMLAZN.js → shipping-profile-metadata-WRFZ55C3.js} +34 -35
- package/dist/{shipping-profiles-list-JF2SQIQ7.js → shipping-profiles-list-AKSZ4O35.js} +7 -7
- package/dist/{store-address-edit-PKIBRFH4.js → store-address-edit-M6A37RFY.js} +4 -4
- package/dist/{store-bulk-edit-LW6ABDJK.js → store-bulk-edit-SYHKAJ6D.js} +5 -5
- package/dist/{store-closure-edit-OK7MTUHY.js → store-closure-edit-VE7D5F7I.js} +3 -3
- package/dist/{store-create-STR6YNFJ.js → store-create-6OQW7F4U.js} +37 -38
- package/dist/store-details-45RPSTMU.js +104 -0
- package/dist/{store-edit-KRBR5MGV.js → store-edit-HABD7SAL.js} +59 -21
- package/dist/store-list-XZU26QTH.js +82 -0
- package/dist/{store-member-invite-AKH3KHMF.js → store-member-invite-T5GCT6HV.js} +6 -6
- package/dist/{store-payment-details-edit-HOGHZMZC.js → store-payment-details-edit-JUM745OG.js} +3 -3
- package/dist/{store-professional-details-edit-DPJ4ZFDR.js → store-professional-details-edit-NKBYKBCA.js} +3 -3
- package/dist/{tax-region-create-NEKIT7TT.js → tax-region-create-SKBBBZXJ.js} +34 -35
- package/dist/tax-region-detail-UGD2KK2H.js +69 -0
- package/dist/{tax-region-edit-4PJV5F5X.js → tax-region-edit-N64TGNAG.js} +33 -34
- package/dist/{tax-region-list-FIBHEFVD.js → tax-region-list-GRZIXRD4.js} +8 -8
- package/dist/{tax-region-metadata-EYRFMJLL.js → tax-region-metadata-MKXFQ5B7.js} +34 -35
- package/dist/{tax-region-province-create-OVLIZPNP.js → tax-region-province-create-7YT2LNJG.js} +3 -3
- package/dist/{tax-region-province-detail-MTHKW7LW.js → tax-region-province-detail-LITAO6EZ.js} +40 -41
- package/dist/{tax-region-tax-override-create-OGW3MPBD.js → tax-region-tax-override-create-NCAWHUOU.js} +61 -62
- package/dist/{tax-region-tax-override-edit-LTZCYN4Y.js → tax-region-tax-override-edit-OOP7RQZR.js} +61 -62
- package/dist/{tax-region-tax-rate-create-KDN6G52Y.js → tax-region-tax-rate-create-3ZLVL3X3.js} +4 -4
- package/dist/{tax-region-tax-rate-edit-D4BFDDJ7.js → tax-region-tax-rate-edit-XVMPIJOF.js} +4 -4
- package/dist/{user-detail-2OTVNTCL.js → user-detail-4FDNMJ6W.js} +4 -4
- package/dist/{user-edit-MXS2DV37.js → user-edit-T3MZKULQ.js} +3 -3
- package/dist/{user-invite-HLZJ7FST.js → user-invite-FCWARLW5.js} +11 -11
- package/dist/{user-list-TR7RSGUO.js → user-list-62A6ZMIX.js} +7 -7
- package/dist/{user-metadata-GIR3A7WO.js → user-metadata-5UFWFXLX.js} +34 -35
- package/package.json +25 -17
- package/dist/[id]-272FUOXG.js +0 -503
- package/dist/attribute-list-URWKNTSJ.js +0 -62
- package/dist/category-detail-RIKOZMPK.js +0 -108
- package/dist/category-organize-DQQGAAJY.js +0 -112
- package/dist/chunk-2XVH2IJL.js +0 -473
- package/dist/chunk-54RTJBYO.js +0 -153
- package/dist/chunk-6WBQDJIH.js +0 -1733
- package/dist/chunk-7O6WJTBI.js +0 -139
- package/dist/chunk-AKTAFKIU.js +0 -228
- package/dist/chunk-CKNQJPAG.js +0 -135
- package/dist/chunk-DDANJIE7.js +0 -207
- package/dist/chunk-GVEF6UDT.js +0 -8
- package/dist/chunk-J65IXAGI.js +0 -292
- package/dist/chunk-LFKTHNWI.js +0 -83
- package/dist/chunk-MSESXKMA.js +0 -390
- package/dist/chunk-RXM4B6HR.js +0 -8
- package/dist/chunk-SWL7ZCP3.js +0 -11
- package/dist/chunk-TE245WV3.js +0 -371
- package/dist/chunk-UM7ZR3VU.js +0 -14
- package/dist/chunk-V5XHY5LP.js +0 -39
- package/dist/chunk-ZZ3XFIEM.js +0 -84
- package/dist/collection-detail-W7OC2ALM.js +0 -99
- package/dist/collection-list-B7LALPSA.js +0 -83
- package/dist/commission-rate-create-7MEIKAXK.js +0 -783
- package/dist/commission-rate-detail-XBMB3Y7S.js +0 -86
- package/dist/commission-rate-edit-XXUAGK5Q.js +0 -768
- package/dist/commission-rate-list-Y5XLEO67.js +0 -26
- package/dist/customer-group-list-63ER7WQH.js +0 -58
- package/dist/inventory-create-3NJZLSFO.js +0 -59
- package/dist/loader-O4EABIXE.js +0 -26
- package/dist/location-list-VS6V2FXE.js +0 -55
- package/dist/location-service-zone-shipping-option-create-LAM3OHBC.js +0 -61
- package/dist/marketplace-detail-IQLU7R3J.js +0 -76
- package/dist/offers-UJCSO3RD.js +0 -440
- package/dist/order-allocate-items-TMVWJUV3.js +0 -563
- package/dist/order-create-fulfillment-Y4HQ5YRS.js +0 -644
- package/dist/order-create-shipment-EWOJJXEM.js +0 -215
- package/dist/order-receive-return-MDUU4L4X.js +0 -563
- package/dist/price-list-create-J4AJG42T.js +0 -78
- package/dist/price-list-detail-D2ETNZ5N.js +0 -105
- package/dist/price-list-prices-add-FQLQ5DPX.js +0 -73
- package/dist/product-brand-create-B3ZJGHUQ.js +0 -171
- package/dist/product-brand-detail-O7UKYV4H.js +0 -100
- package/dist/product-brand-edit-3TQDHZNN.js +0 -179
- package/dist/product-brand-list-ZBPBSRQN.js +0 -30
- package/dist/product-brand-metadata-N2CJ5K3Z.js +0 -87
- package/dist/product-create-BQXFDMEP.js +0 -72
- package/dist/product-detail-I57XSYLB.js +0 -102
- package/dist/product-list-PR532XII.js +0 -88
- package/dist/promotion-create-G3M4UJX2.js +0 -58
- package/dist/promotion-detail-4EHU6FKF.js +0 -91
- package/dist/sales-channel-list-YNHR5EHL.js +0 -54
- package/dist/shipping-option-type-list-6C26GWDM.js +0 -61
- package/dist/store-details-3U4OEFWC.js +0 -122
- package/dist/store-list-PJ3U254I.js +0 -83
- package/dist/tax-region-detail-LVN5XSN5.js +0 -70
package/dist/pages/index.d.ts
CHANGED
|
@@ -6,12 +6,13 @@ import { HttpTypes } from '@medusajs/types';
|
|
|
6
6
|
import { LoaderFunctionArgs } from 'react-router-dom';
|
|
7
7
|
import * as react_hook_form from 'react-hook-form';
|
|
8
8
|
import { DeepPartial } from 'react-hook-form';
|
|
9
|
-
import { T as TabDefinition } from '../constants-
|
|
10
|
-
export { P as PRODUCT_DETAIL_FIELDS, a as PRODUCT_DETAIL_QUERY } from '../constants-
|
|
9
|
+
import { T as TabDefinition } from '../constants-CBhKGpBZ.js';
|
|
10
|
+
export { P as PRODUCT_DETAIL_FIELDS, a as PRODUCT_DETAIL_QUERY } from '../constants-CBhKGpBZ.js';
|
|
11
11
|
import * as zod from 'zod';
|
|
12
12
|
import { z } from 'zod';
|
|
13
13
|
import * as _mercurjs_types from '@mercurjs/types';
|
|
14
14
|
import { SellerDTO } from '@mercurjs/types';
|
|
15
|
+
import * as _mercurjs_dashboard_shared from '@mercurjs/dashboard-shared';
|
|
15
16
|
|
|
16
17
|
declare const ApiKeyManagementListPage: (({ children }: {
|
|
17
18
|
children?: ReactNode;
|
|
@@ -113,6 +114,19 @@ declare const CategoryListPage: (({ children }: {
|
|
|
113
114
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
114
115
|
};
|
|
115
116
|
|
|
117
|
+
/** Shape of a category image as returned by the admin API (linked `media_images`). */
|
|
118
|
+
type CategoryApiImage = {
|
|
119
|
+
id: string;
|
|
120
|
+
url: string;
|
|
121
|
+
type: string | null;
|
|
122
|
+
is_thumbnail: boolean;
|
|
123
|
+
is_banner: boolean;
|
|
124
|
+
rank?: number;
|
|
125
|
+
};
|
|
126
|
+
type CategoryWithImages = {
|
|
127
|
+
media_images?: CategoryApiImage[] | null;
|
|
128
|
+
};
|
|
129
|
+
|
|
116
130
|
declare const CategoryDetailPage: (({ children }: {
|
|
117
131
|
children?: ReactNode;
|
|
118
132
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
@@ -121,6 +135,12 @@ declare const CategoryDetailPage: (({ children }: {
|
|
|
121
135
|
MainGeneralSection: ({ category, }: {
|
|
122
136
|
category: _medusajs_types.AdminProductCategory;
|
|
123
137
|
}) => react_jsx_runtime.JSX.Element;
|
|
138
|
+
MainMediaSection: ({ category, }: {
|
|
139
|
+
category: _medusajs_types.AdminProductCategory & CategoryWithImages;
|
|
140
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
141
|
+
MainIconSection: ({ category, }: {
|
|
142
|
+
category: _medusajs_types.AdminProductCategory & CategoryWithImages;
|
|
143
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
124
144
|
MainProductSection: ({ category, }: {
|
|
125
145
|
category: _medusajs_types.AdminProductCategory;
|
|
126
146
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -139,22 +159,73 @@ declare const CreateCategorySchema: z.ZodObject<{
|
|
|
139
159
|
handle: z.ZodOptional<z.ZodString>;
|
|
140
160
|
status: z.ZodEnum<["active", "inactive"]>;
|
|
141
161
|
visibility: z.ZodEnum<["public", "internal"]>;
|
|
162
|
+
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
163
|
+
url: z.ZodString;
|
|
164
|
+
file: z.ZodNullable<z.ZodAny>;
|
|
165
|
+
is_thumbnail: z.ZodBoolean;
|
|
166
|
+
is_banner: z.ZodBoolean;
|
|
167
|
+
field_id: z.ZodOptional<z.ZodString>;
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
url: string;
|
|
170
|
+
is_thumbnail: boolean;
|
|
171
|
+
is_banner: boolean;
|
|
172
|
+
file?: any;
|
|
173
|
+
field_id?: string | undefined;
|
|
174
|
+
}, {
|
|
175
|
+
url: string;
|
|
176
|
+
is_thumbnail: boolean;
|
|
177
|
+
is_banner: boolean;
|
|
178
|
+
file?: any;
|
|
179
|
+
field_id?: string | undefined;
|
|
180
|
+
}>, "many">>;
|
|
181
|
+
icon: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
182
|
+
url: z.ZodString;
|
|
183
|
+
file: z.ZodNullable<z.ZodAny>;
|
|
184
|
+
}, "strip", z.ZodTypeAny, {
|
|
185
|
+
url: string;
|
|
186
|
+
file?: any;
|
|
187
|
+
}, {
|
|
188
|
+
url: string;
|
|
189
|
+
file?: any;
|
|
190
|
+
}>>>;
|
|
142
191
|
}, "strip", z.ZodTypeAny, {
|
|
143
192
|
status: "active" | "inactive";
|
|
144
|
-
name: string;
|
|
145
193
|
rank: number | null;
|
|
194
|
+
name: string;
|
|
146
195
|
parent_category_id: string | null;
|
|
147
196
|
visibility: "public" | "internal";
|
|
148
197
|
description?: string | undefined;
|
|
149
198
|
handle?: string | undefined;
|
|
199
|
+
media?: {
|
|
200
|
+
url: string;
|
|
201
|
+
is_thumbnail: boolean;
|
|
202
|
+
is_banner: boolean;
|
|
203
|
+
file?: any;
|
|
204
|
+
field_id?: string | undefined;
|
|
205
|
+
}[] | undefined;
|
|
206
|
+
icon?: {
|
|
207
|
+
url: string;
|
|
208
|
+
file?: any;
|
|
209
|
+
} | null | undefined;
|
|
150
210
|
}, {
|
|
151
211
|
status: "active" | "inactive";
|
|
152
|
-
name: string;
|
|
153
212
|
rank: number | null;
|
|
213
|
+
name: string;
|
|
154
214
|
parent_category_id: string | null;
|
|
155
215
|
visibility: "public" | "internal";
|
|
156
216
|
description?: string | undefined;
|
|
157
217
|
handle?: string | undefined;
|
|
218
|
+
media?: {
|
|
219
|
+
url: string;
|
|
220
|
+
is_thumbnail: boolean;
|
|
221
|
+
is_banner: boolean;
|
|
222
|
+
file?: any;
|
|
223
|
+
field_id?: string | undefined;
|
|
224
|
+
}[] | undefined;
|
|
225
|
+
icon?: {
|
|
226
|
+
url: string;
|
|
227
|
+
file?: any;
|
|
228
|
+
} | null | undefined;
|
|
158
229
|
}>;
|
|
159
230
|
|
|
160
231
|
type CreateCategorySchemaType = z.infer<typeof CreateCategorySchema>;
|
|
@@ -172,24 +243,46 @@ declare const CategoryCreatePage: (({ children }: {
|
|
|
172
243
|
(): react_jsx_runtime.JSX.Element;
|
|
173
244
|
_tabMeta: TabDefinition<{
|
|
174
245
|
status: "active" | "inactive";
|
|
175
|
-
name: string;
|
|
176
246
|
rank: number | null;
|
|
247
|
+
name: string;
|
|
177
248
|
parent_category_id: string | null;
|
|
178
249
|
visibility: "public" | "internal";
|
|
179
250
|
description?: string | undefined;
|
|
180
251
|
handle?: string | undefined;
|
|
252
|
+
media?: {
|
|
253
|
+
url: string;
|
|
254
|
+
is_thumbnail: boolean;
|
|
255
|
+
is_banner: boolean;
|
|
256
|
+
file?: any;
|
|
257
|
+
field_id?: string | undefined;
|
|
258
|
+
}[] | undefined;
|
|
259
|
+
icon?: {
|
|
260
|
+
url: string;
|
|
261
|
+
file?: any;
|
|
262
|
+
} | null | undefined;
|
|
181
263
|
}>;
|
|
182
264
|
};
|
|
183
265
|
OrganizeTab: {
|
|
184
266
|
(): react_jsx_runtime.JSX.Element;
|
|
185
267
|
_tabMeta: TabDefinition<{
|
|
186
268
|
status: "active" | "inactive";
|
|
187
|
-
name: string;
|
|
188
269
|
rank: number | null;
|
|
270
|
+
name: string;
|
|
189
271
|
parent_category_id: string | null;
|
|
190
272
|
visibility: "public" | "internal";
|
|
191
273
|
description?: string | undefined;
|
|
192
274
|
handle?: string | undefined;
|
|
275
|
+
media?: {
|
|
276
|
+
url: string;
|
|
277
|
+
is_thumbnail: boolean;
|
|
278
|
+
is_banner: boolean;
|
|
279
|
+
file?: any;
|
|
280
|
+
field_id?: string | undefined;
|
|
281
|
+
}[] | undefined;
|
|
282
|
+
icon?: {
|
|
283
|
+
url: string;
|
|
284
|
+
file?: any;
|
|
285
|
+
} | null | undefined;
|
|
193
286
|
}>;
|
|
194
287
|
};
|
|
195
288
|
Tab: ({ children, }: {
|
|
@@ -215,43 +308,44 @@ declare const CollectionListPage: (({ children }: {
|
|
|
215
308
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
216
309
|
};
|
|
217
310
|
|
|
311
|
+
/** Shape of a collection image as returned by the admin API (linked `images`). */
|
|
312
|
+
type CollectionApiImage = {
|
|
313
|
+
id: string;
|
|
314
|
+
url: string;
|
|
315
|
+
type: string | null;
|
|
316
|
+
is_thumbnail: boolean;
|
|
317
|
+
is_banner: boolean;
|
|
318
|
+
rank?: number;
|
|
319
|
+
};
|
|
320
|
+
type CollectionWithImages = {
|
|
321
|
+
media_images?: CollectionApiImage[] | null;
|
|
322
|
+
};
|
|
323
|
+
|
|
218
324
|
declare const CollectionDetailPage: (({ children }: {
|
|
219
325
|
children?: ReactNode;
|
|
220
326
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
221
327
|
GeneralSection: ({ collection, }: {
|
|
222
328
|
collection: _medusajs_types.AdminCollection;
|
|
223
329
|
}) => react_jsx_runtime.JSX.Element;
|
|
330
|
+
MediaSection: ({ collection, }: {
|
|
331
|
+
collection: _medusajs_types.AdminCollection & CollectionWithImages;
|
|
332
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
333
|
+
IconSection: ({ collection, }: {
|
|
334
|
+
collection: _medusajs_types.AdminCollection & CollectionWithImages;
|
|
335
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
224
336
|
ProductSection: ({ collection, }: {
|
|
225
337
|
collection: _medusajs_types.AdminCollection;
|
|
226
338
|
}) => react_jsx_runtime.JSX.Element;
|
|
227
339
|
};
|
|
228
340
|
|
|
229
|
-
declare const
|
|
341
|
+
declare const CommissionsPage: (({ children }: {
|
|
230
342
|
children?: ReactNode;
|
|
231
343
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
235
|
-
Header: ({ children, }: {
|
|
236
|
-
children?: ReactNode;
|
|
237
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
238
|
-
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
239
|
-
HeaderActions: ({ children, }: {
|
|
240
|
-
children?: ReactNode;
|
|
241
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
242
|
-
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
344
|
+
GlobalCommission: () => react_jsx_runtime.JSX.Element;
|
|
345
|
+
RulesTable: () => react_jsx_runtime.JSX.Element;
|
|
243
346
|
};
|
|
244
347
|
|
|
245
|
-
declare const
|
|
246
|
-
children?: ReactNode;
|
|
247
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
248
|
-
GeneralSection: ({ commissionRate, }: {
|
|
249
|
-
commissionRate: _mercurjs_types.CommissionRateDTO;
|
|
250
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
251
|
-
RulesSection: ({ commissionRate, }: {
|
|
252
|
-
commissionRate: _mercurjs_types.CommissionRateDTO;
|
|
253
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
254
|
-
};
|
|
348
|
+
declare const CommissionRuleDetail: () => react_jsx_runtime.JSX.Element | null;
|
|
255
349
|
|
|
256
350
|
declare const CustomerGroupListPage: (({ children }: {
|
|
257
351
|
children?: ReactNode;
|
|
@@ -274,7 +368,12 @@ declare const CustomerGroupDetailPage: (({ children }: {
|
|
|
274
368
|
children?: ReactNode;
|
|
275
369
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
276
370
|
GeneralSection: ({ group, }: {
|
|
277
|
-
group: _medusajs_types.AdminCustomerGroup
|
|
371
|
+
group: _medusajs_types.AdminCustomerGroup & {
|
|
372
|
+
seller?: {
|
|
373
|
+
id: string;
|
|
374
|
+
name: string;
|
|
375
|
+
} | null;
|
|
376
|
+
};
|
|
278
377
|
}) => react_jsx_runtime.JSX.Element;
|
|
279
378
|
CustomerSection: ({ group, }: {
|
|
280
379
|
group: _medusajs_types.AdminCustomerGroup;
|
|
@@ -374,32 +473,32 @@ declare const CreateInventoryItemSchema: z.ZodObject<{
|
|
|
374
473
|
}, "strip", z.ZodTypeAny, {
|
|
375
474
|
title: string;
|
|
376
475
|
length?: string | number | undefined;
|
|
377
|
-
|
|
378
|
-
|
|
476
|
+
requires_shipping?: boolean | undefined;
|
|
477
|
+
description?: string | undefined;
|
|
379
478
|
sku?: string | undefined;
|
|
380
|
-
|
|
479
|
+
thumbnail?: string | undefined;
|
|
480
|
+
width?: string | number | undefined;
|
|
381
481
|
height?: string | number | undefined;
|
|
482
|
+
weight?: string | number | undefined;
|
|
382
483
|
origin_country?: string | undefined;
|
|
383
|
-
|
|
484
|
+
hs_code?: string | undefined;
|
|
384
485
|
material?: string | undefined;
|
|
385
|
-
|
|
386
|
-
requires_shipping?: boolean | undefined;
|
|
387
|
-
thumbnail?: string | undefined;
|
|
486
|
+
mid_code?: string | undefined;
|
|
388
487
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
389
488
|
}, {
|
|
390
489
|
title: string;
|
|
391
490
|
length?: string | number | undefined;
|
|
392
|
-
|
|
393
|
-
|
|
491
|
+
requires_shipping?: boolean | undefined;
|
|
492
|
+
description?: string | undefined;
|
|
394
493
|
sku?: string | undefined;
|
|
395
|
-
|
|
494
|
+
thumbnail?: string | undefined;
|
|
495
|
+
width?: string | number | undefined;
|
|
396
496
|
height?: string | number | undefined;
|
|
497
|
+
weight?: string | number | undefined;
|
|
397
498
|
origin_country?: string | undefined;
|
|
398
|
-
|
|
499
|
+
hs_code?: string | undefined;
|
|
399
500
|
material?: string | undefined;
|
|
400
|
-
|
|
401
|
-
requires_shipping?: boolean | undefined;
|
|
402
|
-
thumbnail?: string | undefined;
|
|
501
|
+
mid_code?: string | undefined;
|
|
403
502
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
404
503
|
}>;
|
|
405
504
|
type CreateInventoryItemSchema = z.infer<typeof CreateInventoryItemSchema>;
|
|
@@ -422,17 +521,17 @@ declare const InventoryCreatePage: (({ children }: {
|
|
|
422
521
|
_tabMeta: TabDefinition<{
|
|
423
522
|
title: string;
|
|
424
523
|
length?: string | number | undefined;
|
|
425
|
-
|
|
426
|
-
|
|
524
|
+
requires_shipping?: boolean | undefined;
|
|
525
|
+
description?: string | undefined;
|
|
427
526
|
sku?: string | undefined;
|
|
428
|
-
|
|
527
|
+
thumbnail?: string | undefined;
|
|
528
|
+
width?: string | number | undefined;
|
|
429
529
|
height?: string | number | undefined;
|
|
530
|
+
weight?: string | number | undefined;
|
|
430
531
|
origin_country?: string | undefined;
|
|
431
|
-
|
|
532
|
+
hs_code?: string | undefined;
|
|
432
533
|
material?: string | undefined;
|
|
433
|
-
|
|
434
|
-
requires_shipping?: boolean | undefined;
|
|
435
|
-
thumbnail?: string | undefined;
|
|
534
|
+
mid_code?: string | undefined;
|
|
436
535
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
437
536
|
}>;
|
|
438
537
|
};
|
|
@@ -443,17 +542,17 @@ declare const InventoryCreatePage: (({ children }: {
|
|
|
443
542
|
_tabMeta: TabDefinition<{
|
|
444
543
|
title: string;
|
|
445
544
|
length?: string | number | undefined;
|
|
446
|
-
|
|
447
|
-
|
|
545
|
+
requires_shipping?: boolean | undefined;
|
|
546
|
+
description?: string | undefined;
|
|
448
547
|
sku?: string | undefined;
|
|
449
|
-
|
|
548
|
+
thumbnail?: string | undefined;
|
|
549
|
+
width?: string | number | undefined;
|
|
450
550
|
height?: string | number | undefined;
|
|
551
|
+
weight?: string | number | undefined;
|
|
451
552
|
origin_country?: string | undefined;
|
|
452
|
-
|
|
553
|
+
hs_code?: string | undefined;
|
|
453
554
|
material?: string | undefined;
|
|
454
|
-
|
|
455
|
-
requires_shipping?: boolean | undefined;
|
|
456
|
-
thumbnail?: string | undefined;
|
|
555
|
+
mid_code?: string | undefined;
|
|
457
556
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
458
557
|
}>;
|
|
459
558
|
};
|
|
@@ -526,60 +625,60 @@ declare const CreateShippingOptionSchema: z.ZodObject<{
|
|
|
526
625
|
eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
527
626
|
}, "strip", z.ZodTypeAny, {
|
|
528
627
|
amount: string | number;
|
|
529
|
-
lt?: number | null | undefined;
|
|
530
628
|
gt?: number | null | undefined;
|
|
629
|
+
lt?: number | null | undefined;
|
|
531
630
|
eq?: number | null | undefined;
|
|
532
|
-
gte?: string | number | null | undefined;
|
|
533
631
|
lte?: string | number | null | undefined;
|
|
632
|
+
gte?: string | number | null | undefined;
|
|
534
633
|
}, {
|
|
535
634
|
amount: string | number;
|
|
536
|
-
lt?: number | null | undefined;
|
|
537
635
|
gt?: number | null | undefined;
|
|
636
|
+
lt?: number | null | undefined;
|
|
538
637
|
eq?: number | null | undefined;
|
|
539
|
-
gte?: string | number | null | undefined;
|
|
540
638
|
lte?: string | number | null | undefined;
|
|
639
|
+
gte?: string | number | null | undefined;
|
|
541
640
|
}>, {
|
|
542
641
|
amount: string | number;
|
|
543
|
-
lt?: number | null | undefined;
|
|
544
642
|
gt?: number | null | undefined;
|
|
643
|
+
lt?: number | null | undefined;
|
|
545
644
|
eq?: number | null | undefined;
|
|
546
|
-
gte?: string | number | null | undefined;
|
|
547
645
|
lte?: string | number | null | undefined;
|
|
646
|
+
gte?: string | number | null | undefined;
|
|
548
647
|
}, {
|
|
549
648
|
amount: string | number;
|
|
550
|
-
lt?: number | null | undefined;
|
|
551
649
|
gt?: number | null | undefined;
|
|
650
|
+
lt?: number | null | undefined;
|
|
552
651
|
eq?: number | null | undefined;
|
|
553
|
-
gte?: string | number | null | undefined;
|
|
554
652
|
lte?: string | number | null | undefined;
|
|
653
|
+
gte?: string | number | null | undefined;
|
|
555
654
|
}>, {
|
|
556
655
|
amount: string | number;
|
|
557
|
-
lt?: number | null | undefined;
|
|
558
656
|
gt?: number | null | undefined;
|
|
657
|
+
lt?: number | null | undefined;
|
|
559
658
|
eq?: number | null | undefined;
|
|
560
|
-
gte?: string | number | null | undefined;
|
|
561
659
|
lte?: string | number | null | undefined;
|
|
660
|
+
gte?: string | number | null | undefined;
|
|
562
661
|
}, {
|
|
563
662
|
amount: string | number;
|
|
564
|
-
lt?: number | null | undefined;
|
|
565
663
|
gt?: number | null | undefined;
|
|
664
|
+
lt?: number | null | undefined;
|
|
566
665
|
eq?: number | null | undefined;
|
|
567
|
-
gte?: string | number | null | undefined;
|
|
568
666
|
lte?: string | number | null | undefined;
|
|
667
|
+
gte?: string | number | null | undefined;
|
|
569
668
|
}>, {
|
|
570
669
|
amount: string | number;
|
|
571
|
-
lt?: number | null | undefined;
|
|
572
670
|
gt?: number | null | undefined;
|
|
671
|
+
lt?: number | null | undefined;
|
|
573
672
|
eq?: number | null | undefined;
|
|
574
|
-
gte?: string | number | null | undefined;
|
|
575
673
|
lte?: string | number | null | undefined;
|
|
674
|
+
gte?: string | number | null | undefined;
|
|
576
675
|
}, {
|
|
577
676
|
amount: string | number;
|
|
578
|
-
lt?: number | null | undefined;
|
|
579
677
|
gt?: number | null | undefined;
|
|
678
|
+
lt?: number | null | undefined;
|
|
580
679
|
eq?: number | null | undefined;
|
|
581
|
-
gte?: string | number | null | undefined;
|
|
582
680
|
lte?: string | number | null | undefined;
|
|
681
|
+
gte?: string | number | null | undefined;
|
|
583
682
|
}>, "many">>>;
|
|
584
683
|
conditional_currency_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
585
684
|
amount: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
@@ -590,112 +689,112 @@ declare const CreateShippingOptionSchema: z.ZodObject<{
|
|
|
590
689
|
eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
591
690
|
}, "strip", z.ZodTypeAny, {
|
|
592
691
|
amount: string | number;
|
|
593
|
-
lt?: number | null | undefined;
|
|
594
692
|
gt?: number | null | undefined;
|
|
693
|
+
lt?: number | null | undefined;
|
|
595
694
|
eq?: number | null | undefined;
|
|
596
|
-
gte?: string | number | null | undefined;
|
|
597
695
|
lte?: string | number | null | undefined;
|
|
696
|
+
gte?: string | number | null | undefined;
|
|
598
697
|
}, {
|
|
599
698
|
amount: string | number;
|
|
600
|
-
lt?: number | null | undefined;
|
|
601
699
|
gt?: number | null | undefined;
|
|
700
|
+
lt?: number | null | undefined;
|
|
602
701
|
eq?: number | null | undefined;
|
|
603
|
-
gte?: string | number | null | undefined;
|
|
604
702
|
lte?: string | number | null | undefined;
|
|
703
|
+
gte?: string | number | null | undefined;
|
|
605
704
|
}>, {
|
|
606
705
|
amount: string | number;
|
|
607
|
-
lt?: number | null | undefined;
|
|
608
706
|
gt?: number | null | undefined;
|
|
707
|
+
lt?: number | null | undefined;
|
|
609
708
|
eq?: number | null | undefined;
|
|
610
|
-
gte?: string | number | null | undefined;
|
|
611
709
|
lte?: string | number | null | undefined;
|
|
710
|
+
gte?: string | number | null | undefined;
|
|
612
711
|
}, {
|
|
613
712
|
amount: string | number;
|
|
614
|
-
lt?: number | null | undefined;
|
|
615
713
|
gt?: number | null | undefined;
|
|
714
|
+
lt?: number | null | undefined;
|
|
616
715
|
eq?: number | null | undefined;
|
|
617
|
-
gte?: string | number | null | undefined;
|
|
618
716
|
lte?: string | number | null | undefined;
|
|
717
|
+
gte?: string | number | null | undefined;
|
|
619
718
|
}>, {
|
|
620
719
|
amount: string | number;
|
|
621
|
-
lt?: number | null | undefined;
|
|
622
720
|
gt?: number | null | undefined;
|
|
721
|
+
lt?: number | null | undefined;
|
|
623
722
|
eq?: number | null | undefined;
|
|
624
|
-
gte?: string | number | null | undefined;
|
|
625
723
|
lte?: string | number | null | undefined;
|
|
724
|
+
gte?: string | number | null | undefined;
|
|
626
725
|
}, {
|
|
627
726
|
amount: string | number;
|
|
628
|
-
lt?: number | null | undefined;
|
|
629
727
|
gt?: number | null | undefined;
|
|
728
|
+
lt?: number | null | undefined;
|
|
630
729
|
eq?: number | null | undefined;
|
|
631
|
-
gte?: string | number | null | undefined;
|
|
632
730
|
lte?: string | number | null | undefined;
|
|
731
|
+
gte?: string | number | null | undefined;
|
|
633
732
|
}>, {
|
|
634
733
|
amount: string | number;
|
|
635
|
-
lt?: number | null | undefined;
|
|
636
734
|
gt?: number | null | undefined;
|
|
735
|
+
lt?: number | null | undefined;
|
|
637
736
|
eq?: number | null | undefined;
|
|
638
|
-
gte?: string | number | null | undefined;
|
|
639
737
|
lte?: string | number | null | undefined;
|
|
738
|
+
gte?: string | number | null | undefined;
|
|
640
739
|
}, {
|
|
641
740
|
amount: string | number;
|
|
642
|
-
lt?: number | null | undefined;
|
|
643
741
|
gt?: number | null | undefined;
|
|
742
|
+
lt?: number | null | undefined;
|
|
644
743
|
eq?: number | null | undefined;
|
|
645
|
-
gte?: string | number | null | undefined;
|
|
646
744
|
lte?: string | number | null | undefined;
|
|
745
|
+
gte?: string | number | null | undefined;
|
|
647
746
|
}>, "many">>>;
|
|
648
747
|
}, "strip", z.ZodTypeAny, {
|
|
649
|
-
name: string;
|
|
650
748
|
shipping_profile_id: string;
|
|
749
|
+
name: string;
|
|
651
750
|
provider_id: string;
|
|
652
|
-
shipping_option_type_id: string;
|
|
653
|
-
price_type: ShippingOptionPriceType;
|
|
654
751
|
enabled_in_store: boolean;
|
|
752
|
+
price_type: ShippingOptionPriceType;
|
|
753
|
+
shipping_option_type_id: string;
|
|
655
754
|
currency_prices: Record<string, string | undefined>;
|
|
656
755
|
region_prices: Record<string, string | undefined>;
|
|
657
756
|
fulfillment_option_id: string;
|
|
658
757
|
conditional_region_prices: Record<string, {
|
|
659
758
|
amount: string | number;
|
|
660
|
-
lt?: number | null | undefined;
|
|
661
759
|
gt?: number | null | undefined;
|
|
760
|
+
lt?: number | null | undefined;
|
|
662
761
|
eq?: number | null | undefined;
|
|
663
|
-
gte?: string | number | null | undefined;
|
|
664
762
|
lte?: string | number | null | undefined;
|
|
763
|
+
gte?: string | number | null | undefined;
|
|
665
764
|
}[] | undefined>;
|
|
666
765
|
conditional_currency_prices: Record<string, {
|
|
667
766
|
amount: string | number;
|
|
668
|
-
lt?: number | null | undefined;
|
|
669
767
|
gt?: number | null | undefined;
|
|
768
|
+
lt?: number | null | undefined;
|
|
670
769
|
eq?: number | null | undefined;
|
|
671
|
-
gte?: string | number | null | undefined;
|
|
672
770
|
lte?: string | number | null | undefined;
|
|
771
|
+
gte?: string | number | null | undefined;
|
|
673
772
|
}[] | undefined>;
|
|
674
773
|
}, {
|
|
675
|
-
name: string;
|
|
676
774
|
shipping_profile_id: string;
|
|
775
|
+
name: string;
|
|
677
776
|
provider_id: string;
|
|
678
|
-
shipping_option_type_id: string;
|
|
679
|
-
price_type: ShippingOptionPriceType;
|
|
680
777
|
enabled_in_store: boolean;
|
|
778
|
+
price_type: ShippingOptionPriceType;
|
|
779
|
+
shipping_option_type_id: string;
|
|
681
780
|
currency_prices: Record<string, string | undefined>;
|
|
682
781
|
region_prices: Record<string, string | undefined>;
|
|
683
782
|
fulfillment_option_id: string;
|
|
684
783
|
conditional_region_prices: Record<string, {
|
|
685
784
|
amount: string | number;
|
|
686
|
-
lt?: number | null | undefined;
|
|
687
785
|
gt?: number | null | undefined;
|
|
786
|
+
lt?: number | null | undefined;
|
|
688
787
|
eq?: number | null | undefined;
|
|
689
|
-
gte?: string | number | null | undefined;
|
|
690
788
|
lte?: string | number | null | undefined;
|
|
789
|
+
gte?: string | number | null | undefined;
|
|
691
790
|
}[] | undefined>;
|
|
692
791
|
conditional_currency_prices: Record<string, {
|
|
693
792
|
amount: string | number;
|
|
694
|
-
lt?: number | null | undefined;
|
|
695
793
|
gt?: number | null | undefined;
|
|
794
|
+
lt?: number | null | undefined;
|
|
696
795
|
eq?: number | null | undefined;
|
|
697
|
-
gte?: string | number | null | undefined;
|
|
698
796
|
lte?: string | number | null | undefined;
|
|
797
|
+
gte?: string | number | null | undefined;
|
|
699
798
|
}[] | undefined>;
|
|
700
799
|
}>;
|
|
701
800
|
|
|
@@ -725,30 +824,30 @@ declare const ShippingOptionCreatePage: (({ children }: {
|
|
|
725
824
|
type: FulfillmentSetType;
|
|
726
825
|
}): react_jsx_runtime.JSX.Element;
|
|
727
826
|
_tabMeta: TabDefinition<{
|
|
728
|
-
name: string;
|
|
729
827
|
shipping_profile_id: string;
|
|
828
|
+
name: string;
|
|
730
829
|
provider_id: string;
|
|
731
|
-
shipping_option_type_id: string;
|
|
732
|
-
price_type: ShippingOptionPriceType;
|
|
733
830
|
enabled_in_store: boolean;
|
|
831
|
+
price_type: ShippingOptionPriceType;
|
|
832
|
+
shipping_option_type_id: string;
|
|
734
833
|
currency_prices: Record<string, string | undefined>;
|
|
735
834
|
region_prices: Record<string, string | undefined>;
|
|
736
835
|
fulfillment_option_id: string;
|
|
737
836
|
conditional_region_prices: Record<string, {
|
|
738
837
|
amount: string | number;
|
|
739
|
-
lt?: number | null | undefined;
|
|
740
838
|
gt?: number | null | undefined;
|
|
839
|
+
lt?: number | null | undefined;
|
|
741
840
|
eq?: number | null | undefined;
|
|
742
|
-
gte?: string | number | null | undefined;
|
|
743
841
|
lte?: string | number | null | undefined;
|
|
842
|
+
gte?: string | number | null | undefined;
|
|
744
843
|
}[] | undefined>;
|
|
745
844
|
conditional_currency_prices: Record<string, {
|
|
746
845
|
amount: string | number;
|
|
747
|
-
lt?: number | null | undefined;
|
|
748
846
|
gt?: number | null | undefined;
|
|
847
|
+
lt?: number | null | undefined;
|
|
749
848
|
eq?: number | null | undefined;
|
|
750
|
-
gte?: string | number | null | undefined;
|
|
751
849
|
lte?: string | number | null | undefined;
|
|
850
|
+
gte?: string | number | null | undefined;
|
|
752
851
|
}[] | undefined>;
|
|
753
852
|
}>;
|
|
754
853
|
};
|
|
@@ -757,30 +856,30 @@ declare const ShippingOptionCreatePage: (({ children }: {
|
|
|
757
856
|
type: FulfillmentSetType;
|
|
758
857
|
}): react_jsx_runtime.JSX.Element;
|
|
759
858
|
_tabMeta: TabDefinition<{
|
|
760
|
-
name: string;
|
|
761
859
|
shipping_profile_id: string;
|
|
860
|
+
name: string;
|
|
762
861
|
provider_id: string;
|
|
763
|
-
shipping_option_type_id: string;
|
|
764
|
-
price_type: ShippingOptionPriceType;
|
|
765
862
|
enabled_in_store: boolean;
|
|
863
|
+
price_type: ShippingOptionPriceType;
|
|
864
|
+
shipping_option_type_id: string;
|
|
766
865
|
currency_prices: Record<string, string | undefined>;
|
|
767
866
|
region_prices: Record<string, string | undefined>;
|
|
768
867
|
fulfillment_option_id: string;
|
|
769
868
|
conditional_region_prices: Record<string, {
|
|
770
869
|
amount: string | number;
|
|
771
|
-
lt?: number | null | undefined;
|
|
772
870
|
gt?: number | null | undefined;
|
|
871
|
+
lt?: number | null | undefined;
|
|
773
872
|
eq?: number | null | undefined;
|
|
774
|
-
gte?: string | number | null | undefined;
|
|
775
873
|
lte?: string | number | null | undefined;
|
|
874
|
+
gte?: string | number | null | undefined;
|
|
776
875
|
}[] | undefined>;
|
|
777
876
|
conditional_currency_prices: Record<string, {
|
|
778
877
|
amount: string | number;
|
|
779
|
-
lt?: number | null | undefined;
|
|
780
878
|
gt?: number | null | undefined;
|
|
879
|
+
lt?: number | null | undefined;
|
|
781
880
|
eq?: number | null | undefined;
|
|
782
|
-
gte?: string | number | null | undefined;
|
|
783
881
|
lte?: string | number | null | undefined;
|
|
882
|
+
gte?: string | number | null | undefined;
|
|
784
883
|
}[] | undefined>;
|
|
785
884
|
}>;
|
|
786
885
|
};
|
|
@@ -1000,6 +1099,9 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1000
1099
|
}>>>;
|
|
1001
1100
|
}, "strip", z.ZodTypeAny, {
|
|
1002
1101
|
title: string;
|
|
1102
|
+
description: string;
|
|
1103
|
+
status: "draft" | "active";
|
|
1104
|
+
type: "sale" | "override";
|
|
1003
1105
|
products: Record<string, {
|
|
1004
1106
|
variants: Record<string, {
|
|
1005
1107
|
currency_prices: Record<string, {
|
|
@@ -1010,9 +1112,6 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1010
1112
|
} | undefined>;
|
|
1011
1113
|
}>;
|
|
1012
1114
|
}>;
|
|
1013
|
-
status: "draft" | "active";
|
|
1014
|
-
description: string;
|
|
1015
|
-
type: "sale" | "override";
|
|
1016
1115
|
product_ids: {
|
|
1017
1116
|
id: string;
|
|
1018
1117
|
}[];
|
|
@@ -1026,6 +1125,9 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1026
1125
|
ends_at?: Date | null | undefined;
|
|
1027
1126
|
}, {
|
|
1028
1127
|
title: string;
|
|
1128
|
+
description: string;
|
|
1129
|
+
status: "draft" | "active";
|
|
1130
|
+
type: "sale" | "override";
|
|
1029
1131
|
products: Record<string, {
|
|
1030
1132
|
variants: Record<string, {
|
|
1031
1133
|
currency_prices: Record<string, {
|
|
@@ -1036,9 +1138,6 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1036
1138
|
} | undefined>;
|
|
1037
1139
|
}>;
|
|
1038
1140
|
}>;
|
|
1039
|
-
status: "draft" | "active";
|
|
1040
|
-
description: string;
|
|
1041
|
-
type: "sale" | "override";
|
|
1042
1141
|
product_ids: {
|
|
1043
1142
|
id: string;
|
|
1044
1143
|
}[];
|
|
@@ -1068,6 +1167,9 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1068
1167
|
(): react_jsx_runtime.JSX.Element;
|
|
1069
1168
|
_tabMeta: TabDefinition<{
|
|
1070
1169
|
title: string;
|
|
1170
|
+
description: string;
|
|
1171
|
+
status: "draft" | "active";
|
|
1172
|
+
type: "sale" | "override";
|
|
1071
1173
|
products: Record<string, {
|
|
1072
1174
|
variants: Record<string, {
|
|
1073
1175
|
currency_prices: Record<string, {
|
|
@@ -1078,9 +1180,6 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1078
1180
|
} | undefined>;
|
|
1079
1181
|
}>;
|
|
1080
1182
|
}>;
|
|
1081
|
-
status: "draft" | "active";
|
|
1082
|
-
description: string;
|
|
1083
|
-
type: "sale" | "override";
|
|
1084
1183
|
product_ids: {
|
|
1085
1184
|
id: string;
|
|
1086
1185
|
}[];
|
|
@@ -1098,6 +1197,9 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1098
1197
|
(): react_jsx_runtime.JSX.Element;
|
|
1099
1198
|
_tabMeta: TabDefinition<{
|
|
1100
1199
|
title: string;
|
|
1200
|
+
description: string;
|
|
1201
|
+
status: "draft" | "active";
|
|
1202
|
+
type: "sale" | "override";
|
|
1101
1203
|
products: Record<string, {
|
|
1102
1204
|
variants: Record<string, {
|
|
1103
1205
|
currency_prices: Record<string, {
|
|
@@ -1108,9 +1210,6 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1108
1210
|
} | undefined>;
|
|
1109
1211
|
}>;
|
|
1110
1212
|
}>;
|
|
1111
|
-
status: "draft" | "active";
|
|
1112
|
-
description: string;
|
|
1113
|
-
type: "sale" | "override";
|
|
1114
1213
|
product_ids: {
|
|
1115
1214
|
id: string;
|
|
1116
1215
|
}[];
|
|
@@ -1132,6 +1231,9 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1132
1231
|
}): react_jsx_runtime.JSX.Element;
|
|
1133
1232
|
_tabMeta: TabDefinition<{
|
|
1134
1233
|
title: string;
|
|
1234
|
+
description: string;
|
|
1235
|
+
status: "draft" | "active";
|
|
1236
|
+
type: "sale" | "override";
|
|
1135
1237
|
products: Record<string, {
|
|
1136
1238
|
variants: Record<string, {
|
|
1137
1239
|
currency_prices: Record<string, {
|
|
@@ -1142,9 +1244,6 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1142
1244
|
} | undefined>;
|
|
1143
1245
|
}>;
|
|
1144
1246
|
}>;
|
|
1145
|
-
status: "draft" | "active";
|
|
1146
|
-
description: string;
|
|
1147
|
-
type: "sale" | "override";
|
|
1148
1247
|
product_ids: {
|
|
1149
1248
|
id: string;
|
|
1150
1249
|
}[];
|
|
@@ -1317,33 +1416,6 @@ declare const PriceListPricesAddPage: (({ children }: {
|
|
|
1317
1416
|
}) => react_jsx_runtime.JSX.Element;
|
|
1318
1417
|
};
|
|
1319
1418
|
|
|
1320
|
-
declare const ProductBrandListPage: (({ children }: {
|
|
1321
|
-
children?: ReactNode;
|
|
1322
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
1323
|
-
Table: ({ children, }: {
|
|
1324
|
-
children?: ReactNode;
|
|
1325
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1326
|
-
Header: ({ children, }: {
|
|
1327
|
-
children?: ReactNode;
|
|
1328
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1329
|
-
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
1330
|
-
HeaderActions: ({ children, }: {
|
|
1331
|
-
children?: ReactNode;
|
|
1332
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1333
|
-
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
1334
|
-
};
|
|
1335
|
-
|
|
1336
|
-
declare const ProductBrandDetailPage: (({ children }: {
|
|
1337
|
-
children?: ReactNode;
|
|
1338
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
1339
|
-
GeneralSection: ({ productBrand, }: {
|
|
1340
|
-
productBrand: _mercurjs_types.ProductBrandDTO;
|
|
1341
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1342
|
-
ProductSection: ({ productBrand, }: {
|
|
1343
|
-
productBrand: _mercurjs_types.ProductBrandDTO;
|
|
1344
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1345
|
-
};
|
|
1346
|
-
|
|
1347
1419
|
declare const ProductTagListPage: (({ children }: {
|
|
1348
1420
|
children?: ReactNode;
|
|
1349
1421
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
@@ -1440,13 +1512,15 @@ declare const ProductDetailPage: (({ children }: {
|
|
|
1440
1512
|
MainActiveEditSection: ({ product, }: {
|
|
1441
1513
|
product: HttpTypes.AdminProduct & {
|
|
1442
1514
|
sellers?: SellerDTO[];
|
|
1515
|
+
attributes?: _mercurjs_dashboard_shared.ProductChangeAttribute[];
|
|
1443
1516
|
};
|
|
1444
1517
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
1445
1518
|
MainGeneralSection: ({ product, }: {
|
|
1446
1519
|
product: HttpTypes.AdminProduct;
|
|
1447
1520
|
}) => react_jsx_runtime.JSX.Element;
|
|
1448
|
-
MainMediaSection: ({ product, }: {
|
|
1521
|
+
MainMediaSection: ({ product, readOnly, }: {
|
|
1449
1522
|
product: HttpTypes.AdminProduct;
|
|
1523
|
+
readOnly?: boolean;
|
|
1450
1524
|
}) => react_jsx_runtime.JSX.Element;
|
|
1451
1525
|
MainAttributeSection: ({ product, }: {
|
|
1452
1526
|
product: {
|
|
@@ -1468,6 +1542,7 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1468
1542
|
handle: z.ZodOptional<z.ZodString>;
|
|
1469
1543
|
description: z.ZodOptional<z.ZodString>;
|
|
1470
1544
|
discountable: z.ZodBoolean;
|
|
1545
|
+
globally_available: z.ZodBoolean;
|
|
1471
1546
|
type_id: z.ZodOptional<z.ZodString>;
|
|
1472
1547
|
collection_id: z.ZodOptional<z.ZodString>;
|
|
1473
1548
|
category_id: z.ZodString;
|
|
@@ -1505,8 +1580,8 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1505
1580
|
use_for_variants: boolean;
|
|
1506
1581
|
values?: string | string[] | undefined;
|
|
1507
1582
|
type?: string | undefined;
|
|
1508
|
-
is_required?: boolean | undefined;
|
|
1509
1583
|
attribute_id?: string | undefined;
|
|
1584
|
+
is_required?: boolean | undefined;
|
|
1510
1585
|
available_values?: {
|
|
1511
1586
|
id: string;
|
|
1512
1587
|
name: string;
|
|
@@ -1517,8 +1592,8 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1517
1592
|
use_for_variants: boolean;
|
|
1518
1593
|
values?: string | string[] | undefined;
|
|
1519
1594
|
type?: string | undefined;
|
|
1520
|
-
is_required?: boolean | undefined;
|
|
1521
1595
|
attribute_id?: string | undefined;
|
|
1596
|
+
is_required?: boolean | undefined;
|
|
1522
1597
|
available_values?: {
|
|
1523
1598
|
id: string;
|
|
1524
1599
|
name: string;
|
|
@@ -1547,37 +1622,37 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1547
1622
|
variant_rank: number;
|
|
1548
1623
|
should_create: boolean;
|
|
1549
1624
|
length?: string | number | undefined;
|
|
1550
|
-
|
|
1551
|
-
|
|
1625
|
+
options?: Record<string, string> | undefined;
|
|
1626
|
+
is_default?: boolean | undefined;
|
|
1552
1627
|
sku?: string | undefined;
|
|
1553
|
-
|
|
1628
|
+
ean?: string | undefined;
|
|
1629
|
+
upc?: string | undefined;
|
|
1630
|
+
width?: string | number | undefined;
|
|
1554
1631
|
height?: string | number | undefined;
|
|
1632
|
+
weight?: string | number | undefined;
|
|
1555
1633
|
origin_country?: string | undefined;
|
|
1556
|
-
|
|
1634
|
+
hs_code?: string | undefined;
|
|
1557
1635
|
material?: string | undefined;
|
|
1558
|
-
|
|
1559
|
-
is_default?: boolean | undefined;
|
|
1636
|
+
mid_code?: string | undefined;
|
|
1560
1637
|
barcode?: string | undefined;
|
|
1561
|
-
ean?: string | undefined;
|
|
1562
|
-
upc?: string | undefined;
|
|
1563
1638
|
}, {
|
|
1564
1639
|
title: string;
|
|
1565
1640
|
variant_rank: number;
|
|
1566
1641
|
should_create: boolean;
|
|
1567
1642
|
length?: string | number | undefined;
|
|
1568
|
-
|
|
1569
|
-
|
|
1643
|
+
options?: Record<string, string> | undefined;
|
|
1644
|
+
is_default?: boolean | undefined;
|
|
1570
1645
|
sku?: string | undefined;
|
|
1571
|
-
|
|
1646
|
+
ean?: string | undefined;
|
|
1647
|
+
upc?: string | undefined;
|
|
1648
|
+
width?: string | number | undefined;
|
|
1572
1649
|
height?: string | number | undefined;
|
|
1650
|
+
weight?: string | number | undefined;
|
|
1573
1651
|
origin_country?: string | undefined;
|
|
1574
|
-
|
|
1652
|
+
hs_code?: string | undefined;
|
|
1575
1653
|
material?: string | undefined;
|
|
1576
|
-
|
|
1577
|
-
is_default?: boolean | undefined;
|
|
1654
|
+
mid_code?: string | undefined;
|
|
1578
1655
|
barcode?: string | undefined;
|
|
1579
|
-
ean?: string | undefined;
|
|
1580
|
-
upc?: string | undefined;
|
|
1581
1656
|
}>, "many">;
|
|
1582
1657
|
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1583
1658
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1597,232 +1672,236 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1597
1672
|
}>, "many">>;
|
|
1598
1673
|
}, "strip", z.ZodTypeAny, {
|
|
1599
1674
|
title: string;
|
|
1675
|
+
category_id: string;
|
|
1600
1676
|
variants: {
|
|
1601
1677
|
title: string;
|
|
1602
1678
|
variant_rank: number;
|
|
1603
1679
|
should_create: boolean;
|
|
1604
1680
|
length?: string | number | undefined;
|
|
1605
|
-
|
|
1606
|
-
|
|
1681
|
+
options?: Record<string, string> | undefined;
|
|
1682
|
+
is_default?: boolean | undefined;
|
|
1607
1683
|
sku?: string | undefined;
|
|
1608
|
-
|
|
1684
|
+
ean?: string | undefined;
|
|
1685
|
+
upc?: string | undefined;
|
|
1686
|
+
width?: string | number | undefined;
|
|
1609
1687
|
height?: string | number | undefined;
|
|
1688
|
+
weight?: string | number | undefined;
|
|
1610
1689
|
origin_country?: string | undefined;
|
|
1611
|
-
|
|
1690
|
+
hs_code?: string | undefined;
|
|
1612
1691
|
material?: string | undefined;
|
|
1613
|
-
|
|
1614
|
-
is_default?: boolean | undefined;
|
|
1692
|
+
mid_code?: string | undefined;
|
|
1615
1693
|
barcode?: string | undefined;
|
|
1616
|
-
ean?: string | undefined;
|
|
1617
|
-
upc?: string | undefined;
|
|
1618
1694
|
}[];
|
|
1619
1695
|
discountable: boolean;
|
|
1620
|
-
|
|
1696
|
+
globally_available: boolean;
|
|
1621
1697
|
length?: string | undefined;
|
|
1622
|
-
weight?: string | undefined;
|
|
1623
|
-
width?: string | undefined;
|
|
1624
|
-
hs_code?: string | undefined;
|
|
1625
|
-
height?: string | undefined;
|
|
1626
|
-
origin_country?: string | undefined;
|
|
1627
|
-
mid_code?: string | undefined;
|
|
1628
|
-
material?: string | undefined;
|
|
1629
1698
|
description?: string | undefined;
|
|
1630
1699
|
handle?: string | undefined;
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1700
|
+
media?: {
|
|
1701
|
+
url: string;
|
|
1702
|
+
isThumbnail: boolean;
|
|
1703
|
+
file?: any;
|
|
1704
|
+
id?: string | undefined;
|
|
1705
|
+
}[] | undefined;
|
|
1634
1706
|
collection_id?: string | undefined;
|
|
1707
|
+
type_id?: string | undefined;
|
|
1635
1708
|
attributes?: {
|
|
1636
1709
|
title: string;
|
|
1637
1710
|
is_custom: boolean;
|
|
1638
1711
|
use_for_variants: boolean;
|
|
1639
1712
|
values?: string | string[] | undefined;
|
|
1640
1713
|
type?: string | undefined;
|
|
1641
|
-
is_required?: boolean | undefined;
|
|
1642
1714
|
attribute_id?: string | undefined;
|
|
1715
|
+
is_required?: boolean | undefined;
|
|
1643
1716
|
available_values?: {
|
|
1644
1717
|
id: string;
|
|
1645
1718
|
name: string;
|
|
1646
1719
|
}[] | undefined;
|
|
1647
1720
|
}[] | undefined;
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1721
|
+
subtitle?: string | undefined;
|
|
1722
|
+
width?: string | undefined;
|
|
1723
|
+
height?: string | undefined;
|
|
1724
|
+
weight?: string | undefined;
|
|
1725
|
+
origin_country?: string | undefined;
|
|
1726
|
+
hs_code?: string | undefined;
|
|
1727
|
+
material?: string | undefined;
|
|
1728
|
+
mid_code?: string | undefined;
|
|
1654
1729
|
seller_ids?: string[] | undefined;
|
|
1730
|
+
tags?: string[] | undefined;
|
|
1655
1731
|
}, {
|
|
1656
1732
|
title: string;
|
|
1733
|
+
category_id: string;
|
|
1657
1734
|
variants: {
|
|
1658
1735
|
title: string;
|
|
1659
1736
|
variant_rank: number;
|
|
1660
1737
|
should_create: boolean;
|
|
1661
1738
|
length?: string | number | undefined;
|
|
1662
|
-
|
|
1663
|
-
|
|
1739
|
+
options?: Record<string, string> | undefined;
|
|
1740
|
+
is_default?: boolean | undefined;
|
|
1664
1741
|
sku?: string | undefined;
|
|
1665
|
-
|
|
1742
|
+
ean?: string | undefined;
|
|
1743
|
+
upc?: string | undefined;
|
|
1744
|
+
width?: string | number | undefined;
|
|
1666
1745
|
height?: string | number | undefined;
|
|
1746
|
+
weight?: string | number | undefined;
|
|
1667
1747
|
origin_country?: string | undefined;
|
|
1668
|
-
|
|
1748
|
+
hs_code?: string | undefined;
|
|
1669
1749
|
material?: string | undefined;
|
|
1670
|
-
|
|
1671
|
-
is_default?: boolean | undefined;
|
|
1750
|
+
mid_code?: string | undefined;
|
|
1672
1751
|
barcode?: string | undefined;
|
|
1673
|
-
ean?: string | undefined;
|
|
1674
|
-
upc?: string | undefined;
|
|
1675
1752
|
}[];
|
|
1676
1753
|
discountable: boolean;
|
|
1677
|
-
|
|
1754
|
+
globally_available: boolean;
|
|
1678
1755
|
length?: string | undefined;
|
|
1679
|
-
weight?: string | undefined;
|
|
1680
|
-
width?: string | undefined;
|
|
1681
|
-
hs_code?: string | undefined;
|
|
1682
|
-
height?: string | undefined;
|
|
1683
|
-
origin_country?: string | undefined;
|
|
1684
|
-
mid_code?: string | undefined;
|
|
1685
|
-
material?: string | undefined;
|
|
1686
1756
|
description?: string | undefined;
|
|
1687
1757
|
handle?: string | undefined;
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1758
|
+
media?: {
|
|
1759
|
+
url: string;
|
|
1760
|
+
isThumbnail: boolean;
|
|
1761
|
+
file?: any;
|
|
1762
|
+
id?: string | undefined;
|
|
1763
|
+
}[] | undefined;
|
|
1691
1764
|
collection_id?: string | undefined;
|
|
1765
|
+
type_id?: string | undefined;
|
|
1692
1766
|
attributes?: {
|
|
1693
1767
|
title: string;
|
|
1694
1768
|
is_custom: boolean;
|
|
1695
1769
|
use_for_variants: boolean;
|
|
1696
1770
|
values?: string | string[] | undefined;
|
|
1697
1771
|
type?: string | undefined;
|
|
1698
|
-
is_required?: boolean | undefined;
|
|
1699
1772
|
attribute_id?: string | undefined;
|
|
1773
|
+
is_required?: boolean | undefined;
|
|
1700
1774
|
available_values?: {
|
|
1701
1775
|
id: string;
|
|
1702
1776
|
name: string;
|
|
1703
1777
|
}[] | undefined;
|
|
1704
1778
|
}[] | undefined;
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1779
|
+
subtitle?: string | undefined;
|
|
1780
|
+
width?: string | undefined;
|
|
1781
|
+
height?: string | undefined;
|
|
1782
|
+
weight?: string | undefined;
|
|
1783
|
+
origin_country?: string | undefined;
|
|
1784
|
+
hs_code?: string | undefined;
|
|
1785
|
+
material?: string | undefined;
|
|
1786
|
+
mid_code?: string | undefined;
|
|
1711
1787
|
seller_ids?: string[] | undefined;
|
|
1788
|
+
tags?: string[] | undefined;
|
|
1712
1789
|
}>, {
|
|
1713
1790
|
title: string;
|
|
1791
|
+
category_id: string;
|
|
1714
1792
|
variants: {
|
|
1715
1793
|
title: string;
|
|
1716
1794
|
variant_rank: number;
|
|
1717
1795
|
should_create: boolean;
|
|
1718
1796
|
length?: string | number | undefined;
|
|
1719
|
-
|
|
1720
|
-
|
|
1797
|
+
options?: Record<string, string> | undefined;
|
|
1798
|
+
is_default?: boolean | undefined;
|
|
1721
1799
|
sku?: string | undefined;
|
|
1722
|
-
|
|
1800
|
+
ean?: string | undefined;
|
|
1801
|
+
upc?: string | undefined;
|
|
1802
|
+
width?: string | number | undefined;
|
|
1723
1803
|
height?: string | number | undefined;
|
|
1804
|
+
weight?: string | number | undefined;
|
|
1724
1805
|
origin_country?: string | undefined;
|
|
1725
|
-
|
|
1806
|
+
hs_code?: string | undefined;
|
|
1726
1807
|
material?: string | undefined;
|
|
1727
|
-
|
|
1728
|
-
is_default?: boolean | undefined;
|
|
1808
|
+
mid_code?: string | undefined;
|
|
1729
1809
|
barcode?: string | undefined;
|
|
1730
|
-
ean?: string | undefined;
|
|
1731
|
-
upc?: string | undefined;
|
|
1732
1810
|
}[];
|
|
1733
1811
|
discountable: boolean;
|
|
1734
|
-
|
|
1812
|
+
globally_available: boolean;
|
|
1735
1813
|
length?: string | undefined;
|
|
1736
|
-
weight?: string | undefined;
|
|
1737
|
-
width?: string | undefined;
|
|
1738
|
-
hs_code?: string | undefined;
|
|
1739
|
-
height?: string | undefined;
|
|
1740
|
-
origin_country?: string | undefined;
|
|
1741
|
-
mid_code?: string | undefined;
|
|
1742
|
-
material?: string | undefined;
|
|
1743
1814
|
description?: string | undefined;
|
|
1744
1815
|
handle?: string | undefined;
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1816
|
+
media?: {
|
|
1817
|
+
url: string;
|
|
1818
|
+
isThumbnail: boolean;
|
|
1819
|
+
file?: any;
|
|
1820
|
+
id?: string | undefined;
|
|
1821
|
+
}[] | undefined;
|
|
1748
1822
|
collection_id?: string | undefined;
|
|
1823
|
+
type_id?: string | undefined;
|
|
1749
1824
|
attributes?: {
|
|
1750
1825
|
title: string;
|
|
1751
1826
|
is_custom: boolean;
|
|
1752
1827
|
use_for_variants: boolean;
|
|
1753
1828
|
values?: string | string[] | undefined;
|
|
1754
1829
|
type?: string | undefined;
|
|
1755
|
-
is_required?: boolean | undefined;
|
|
1756
1830
|
attribute_id?: string | undefined;
|
|
1831
|
+
is_required?: boolean | undefined;
|
|
1757
1832
|
available_values?: {
|
|
1758
1833
|
id: string;
|
|
1759
1834
|
name: string;
|
|
1760
1835
|
}[] | undefined;
|
|
1761
1836
|
}[] | undefined;
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1837
|
+
subtitle?: string | undefined;
|
|
1838
|
+
width?: string | undefined;
|
|
1839
|
+
height?: string | undefined;
|
|
1840
|
+
weight?: string | undefined;
|
|
1841
|
+
origin_country?: string | undefined;
|
|
1842
|
+
hs_code?: string | undefined;
|
|
1843
|
+
material?: string | undefined;
|
|
1844
|
+
mid_code?: string | undefined;
|
|
1768
1845
|
seller_ids?: string[] | undefined;
|
|
1846
|
+
tags?: string[] | undefined;
|
|
1769
1847
|
}, {
|
|
1770
1848
|
title: string;
|
|
1849
|
+
category_id: string;
|
|
1771
1850
|
variants: {
|
|
1772
1851
|
title: string;
|
|
1773
1852
|
variant_rank: number;
|
|
1774
1853
|
should_create: boolean;
|
|
1775
1854
|
length?: string | number | undefined;
|
|
1776
|
-
|
|
1777
|
-
|
|
1855
|
+
options?: Record<string, string> | undefined;
|
|
1856
|
+
is_default?: boolean | undefined;
|
|
1778
1857
|
sku?: string | undefined;
|
|
1779
|
-
|
|
1858
|
+
ean?: string | undefined;
|
|
1859
|
+
upc?: string | undefined;
|
|
1860
|
+
width?: string | number | undefined;
|
|
1780
1861
|
height?: string | number | undefined;
|
|
1862
|
+
weight?: string | number | undefined;
|
|
1781
1863
|
origin_country?: string | undefined;
|
|
1782
|
-
|
|
1864
|
+
hs_code?: string | undefined;
|
|
1783
1865
|
material?: string | undefined;
|
|
1784
|
-
|
|
1785
|
-
is_default?: boolean | undefined;
|
|
1866
|
+
mid_code?: string | undefined;
|
|
1786
1867
|
barcode?: string | undefined;
|
|
1787
|
-
ean?: string | undefined;
|
|
1788
|
-
upc?: string | undefined;
|
|
1789
1868
|
}[];
|
|
1790
1869
|
discountable: boolean;
|
|
1791
|
-
|
|
1870
|
+
globally_available: boolean;
|
|
1792
1871
|
length?: string | undefined;
|
|
1793
|
-
weight?: string | undefined;
|
|
1794
|
-
width?: string | undefined;
|
|
1795
|
-
hs_code?: string | undefined;
|
|
1796
|
-
height?: string | undefined;
|
|
1797
|
-
origin_country?: string | undefined;
|
|
1798
|
-
mid_code?: string | undefined;
|
|
1799
|
-
material?: string | undefined;
|
|
1800
1872
|
description?: string | undefined;
|
|
1801
1873
|
handle?: string | undefined;
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1874
|
+
media?: {
|
|
1875
|
+
url: string;
|
|
1876
|
+
isThumbnail: boolean;
|
|
1877
|
+
file?: any;
|
|
1878
|
+
id?: string | undefined;
|
|
1879
|
+
}[] | undefined;
|
|
1805
1880
|
collection_id?: string | undefined;
|
|
1881
|
+
type_id?: string | undefined;
|
|
1806
1882
|
attributes?: {
|
|
1807
1883
|
title: string;
|
|
1808
1884
|
is_custom: boolean;
|
|
1809
1885
|
use_for_variants: boolean;
|
|
1810
1886
|
values?: string | string[] | undefined;
|
|
1811
1887
|
type?: string | undefined;
|
|
1812
|
-
is_required?: boolean | undefined;
|
|
1813
1888
|
attribute_id?: string | undefined;
|
|
1889
|
+
is_required?: boolean | undefined;
|
|
1814
1890
|
available_values?: {
|
|
1815
1891
|
id: string;
|
|
1816
1892
|
name: string;
|
|
1817
1893
|
}[] | undefined;
|
|
1818
1894
|
}[] | undefined;
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1895
|
+
subtitle?: string | undefined;
|
|
1896
|
+
width?: string | undefined;
|
|
1897
|
+
height?: string | undefined;
|
|
1898
|
+
weight?: string | undefined;
|
|
1899
|
+
origin_country?: string | undefined;
|
|
1900
|
+
hs_code?: string | undefined;
|
|
1901
|
+
material?: string | undefined;
|
|
1902
|
+
mid_code?: string | undefined;
|
|
1825
1903
|
seller_ids?: string[] | undefined;
|
|
1904
|
+
tags?: string[] | undefined;
|
|
1826
1905
|
}>;
|
|
1827
1906
|
|
|
1828
1907
|
type ProductCreateSchemaType = z.infer<typeof ProductCreateSchema>;
|
|
@@ -1839,244 +1918,248 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
1839
1918
|
(): react_jsx_runtime.JSX.Element;
|
|
1840
1919
|
_tabMeta: TabDefinition<{
|
|
1841
1920
|
title: string;
|
|
1921
|
+
category_id: string;
|
|
1842
1922
|
variants: {
|
|
1843
1923
|
title: string;
|
|
1844
1924
|
variant_rank: number;
|
|
1845
1925
|
should_create: boolean;
|
|
1846
1926
|
length?: string | number | undefined;
|
|
1847
|
-
|
|
1848
|
-
|
|
1927
|
+
options?: Record<string, string> | undefined;
|
|
1928
|
+
is_default?: boolean | undefined;
|
|
1849
1929
|
sku?: string | undefined;
|
|
1850
|
-
|
|
1930
|
+
ean?: string | undefined;
|
|
1931
|
+
upc?: string | undefined;
|
|
1932
|
+
width?: string | number | undefined;
|
|
1851
1933
|
height?: string | number | undefined;
|
|
1934
|
+
weight?: string | number | undefined;
|
|
1852
1935
|
origin_country?: string | undefined;
|
|
1853
|
-
|
|
1936
|
+
hs_code?: string | undefined;
|
|
1854
1937
|
material?: string | undefined;
|
|
1855
|
-
|
|
1856
|
-
is_default?: boolean | undefined;
|
|
1938
|
+
mid_code?: string | undefined;
|
|
1857
1939
|
barcode?: string | undefined;
|
|
1858
|
-
ean?: string | undefined;
|
|
1859
|
-
upc?: string | undefined;
|
|
1860
1940
|
}[];
|
|
1861
1941
|
discountable: boolean;
|
|
1862
|
-
|
|
1942
|
+
globally_available: boolean;
|
|
1863
1943
|
length?: string | undefined;
|
|
1864
|
-
weight?: string | undefined;
|
|
1865
|
-
width?: string | undefined;
|
|
1866
|
-
hs_code?: string | undefined;
|
|
1867
|
-
height?: string | undefined;
|
|
1868
|
-
origin_country?: string | undefined;
|
|
1869
|
-
mid_code?: string | undefined;
|
|
1870
|
-
material?: string | undefined;
|
|
1871
1944
|
description?: string | undefined;
|
|
1872
1945
|
handle?: string | undefined;
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1946
|
+
media?: {
|
|
1947
|
+
url: string;
|
|
1948
|
+
isThumbnail: boolean;
|
|
1949
|
+
file?: any;
|
|
1950
|
+
id?: string | undefined;
|
|
1951
|
+
}[] | undefined;
|
|
1876
1952
|
collection_id?: string | undefined;
|
|
1953
|
+
type_id?: string | undefined;
|
|
1877
1954
|
attributes?: {
|
|
1878
1955
|
title: string;
|
|
1879
1956
|
is_custom: boolean;
|
|
1880
1957
|
use_for_variants: boolean;
|
|
1881
1958
|
values?: string | string[] | undefined;
|
|
1882
1959
|
type?: string | undefined;
|
|
1883
|
-
is_required?: boolean | undefined;
|
|
1884
1960
|
attribute_id?: string | undefined;
|
|
1961
|
+
is_required?: boolean | undefined;
|
|
1885
1962
|
available_values?: {
|
|
1886
1963
|
id: string;
|
|
1887
1964
|
name: string;
|
|
1888
1965
|
}[] | undefined;
|
|
1889
1966
|
}[] | undefined;
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1967
|
+
subtitle?: string | undefined;
|
|
1968
|
+
width?: string | undefined;
|
|
1969
|
+
height?: string | undefined;
|
|
1970
|
+
weight?: string | undefined;
|
|
1971
|
+
origin_country?: string | undefined;
|
|
1972
|
+
hs_code?: string | undefined;
|
|
1973
|
+
material?: string | undefined;
|
|
1974
|
+
mid_code?: string | undefined;
|
|
1896
1975
|
seller_ids?: string[] | undefined;
|
|
1976
|
+
tags?: string[] | undefined;
|
|
1897
1977
|
}>;
|
|
1898
1978
|
};
|
|
1899
1979
|
OrganizeTab: {
|
|
1900
1980
|
(): react_jsx_runtime.JSX.Element;
|
|
1901
1981
|
_tabMeta: TabDefinition<{
|
|
1902
1982
|
title: string;
|
|
1983
|
+
category_id: string;
|
|
1903
1984
|
variants: {
|
|
1904
1985
|
title: string;
|
|
1905
1986
|
variant_rank: number;
|
|
1906
1987
|
should_create: boolean;
|
|
1907
1988
|
length?: string | number | undefined;
|
|
1908
|
-
|
|
1909
|
-
|
|
1989
|
+
options?: Record<string, string> | undefined;
|
|
1990
|
+
is_default?: boolean | undefined;
|
|
1910
1991
|
sku?: string | undefined;
|
|
1911
|
-
|
|
1992
|
+
ean?: string | undefined;
|
|
1993
|
+
upc?: string | undefined;
|
|
1994
|
+
width?: string | number | undefined;
|
|
1912
1995
|
height?: string | number | undefined;
|
|
1996
|
+
weight?: string | number | undefined;
|
|
1913
1997
|
origin_country?: string | undefined;
|
|
1914
|
-
|
|
1998
|
+
hs_code?: string | undefined;
|
|
1915
1999
|
material?: string | undefined;
|
|
1916
|
-
|
|
1917
|
-
is_default?: boolean | undefined;
|
|
2000
|
+
mid_code?: string | undefined;
|
|
1918
2001
|
barcode?: string | undefined;
|
|
1919
|
-
ean?: string | undefined;
|
|
1920
|
-
upc?: string | undefined;
|
|
1921
2002
|
}[];
|
|
1922
2003
|
discountable: boolean;
|
|
1923
|
-
|
|
2004
|
+
globally_available: boolean;
|
|
1924
2005
|
length?: string | undefined;
|
|
1925
|
-
weight?: string | undefined;
|
|
1926
|
-
width?: string | undefined;
|
|
1927
|
-
hs_code?: string | undefined;
|
|
1928
|
-
height?: string | undefined;
|
|
1929
|
-
origin_country?: string | undefined;
|
|
1930
|
-
mid_code?: string | undefined;
|
|
1931
|
-
material?: string | undefined;
|
|
1932
2006
|
description?: string | undefined;
|
|
1933
2007
|
handle?: string | undefined;
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
2008
|
+
media?: {
|
|
2009
|
+
url: string;
|
|
2010
|
+
isThumbnail: boolean;
|
|
2011
|
+
file?: any;
|
|
2012
|
+
id?: string | undefined;
|
|
2013
|
+
}[] | undefined;
|
|
1937
2014
|
collection_id?: string | undefined;
|
|
2015
|
+
type_id?: string | undefined;
|
|
1938
2016
|
attributes?: {
|
|
1939
2017
|
title: string;
|
|
1940
2018
|
is_custom: boolean;
|
|
1941
2019
|
use_for_variants: boolean;
|
|
1942
2020
|
values?: string | string[] | undefined;
|
|
1943
2021
|
type?: string | undefined;
|
|
1944
|
-
is_required?: boolean | undefined;
|
|
1945
2022
|
attribute_id?: string | undefined;
|
|
2023
|
+
is_required?: boolean | undefined;
|
|
1946
2024
|
available_values?: {
|
|
1947
2025
|
id: string;
|
|
1948
2026
|
name: string;
|
|
1949
2027
|
}[] | undefined;
|
|
1950
2028
|
}[] | undefined;
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
2029
|
+
subtitle?: string | undefined;
|
|
2030
|
+
width?: string | undefined;
|
|
2031
|
+
height?: string | undefined;
|
|
2032
|
+
weight?: string | undefined;
|
|
2033
|
+
origin_country?: string | undefined;
|
|
2034
|
+
hs_code?: string | undefined;
|
|
2035
|
+
material?: string | undefined;
|
|
2036
|
+
mid_code?: string | undefined;
|
|
1957
2037
|
seller_ids?: string[] | undefined;
|
|
2038
|
+
tags?: string[] | undefined;
|
|
1958
2039
|
}>;
|
|
1959
2040
|
};
|
|
1960
2041
|
AttributesTab: {
|
|
1961
2042
|
(): react_jsx_runtime.JSX.Element;
|
|
1962
2043
|
_tabMeta: TabDefinition<{
|
|
1963
2044
|
title: string;
|
|
2045
|
+
category_id: string;
|
|
1964
2046
|
variants: {
|
|
1965
2047
|
title: string;
|
|
1966
2048
|
variant_rank: number;
|
|
1967
2049
|
should_create: boolean;
|
|
1968
2050
|
length?: string | number | undefined;
|
|
1969
|
-
|
|
1970
|
-
|
|
2051
|
+
options?: Record<string, string> | undefined;
|
|
2052
|
+
is_default?: boolean | undefined;
|
|
1971
2053
|
sku?: string | undefined;
|
|
1972
|
-
|
|
2054
|
+
ean?: string | undefined;
|
|
2055
|
+
upc?: string | undefined;
|
|
2056
|
+
width?: string | number | undefined;
|
|
1973
2057
|
height?: string | number | undefined;
|
|
2058
|
+
weight?: string | number | undefined;
|
|
1974
2059
|
origin_country?: string | undefined;
|
|
1975
|
-
|
|
2060
|
+
hs_code?: string | undefined;
|
|
1976
2061
|
material?: string | undefined;
|
|
1977
|
-
|
|
1978
|
-
is_default?: boolean | undefined;
|
|
2062
|
+
mid_code?: string | undefined;
|
|
1979
2063
|
barcode?: string | undefined;
|
|
1980
|
-
ean?: string | undefined;
|
|
1981
|
-
upc?: string | undefined;
|
|
1982
2064
|
}[];
|
|
1983
2065
|
discountable: boolean;
|
|
1984
|
-
|
|
2066
|
+
globally_available: boolean;
|
|
1985
2067
|
length?: string | undefined;
|
|
1986
|
-
weight?: string | undefined;
|
|
1987
|
-
width?: string | undefined;
|
|
1988
|
-
hs_code?: string | undefined;
|
|
1989
|
-
height?: string | undefined;
|
|
1990
|
-
origin_country?: string | undefined;
|
|
1991
|
-
mid_code?: string | undefined;
|
|
1992
|
-
material?: string | undefined;
|
|
1993
2068
|
description?: string | undefined;
|
|
1994
2069
|
handle?: string | undefined;
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
2070
|
+
media?: {
|
|
2071
|
+
url: string;
|
|
2072
|
+
isThumbnail: boolean;
|
|
2073
|
+
file?: any;
|
|
2074
|
+
id?: string | undefined;
|
|
2075
|
+
}[] | undefined;
|
|
1998
2076
|
collection_id?: string | undefined;
|
|
2077
|
+
type_id?: string | undefined;
|
|
1999
2078
|
attributes?: {
|
|
2000
2079
|
title: string;
|
|
2001
2080
|
is_custom: boolean;
|
|
2002
2081
|
use_for_variants: boolean;
|
|
2003
2082
|
values?: string | string[] | undefined;
|
|
2004
2083
|
type?: string | undefined;
|
|
2005
|
-
is_required?: boolean | undefined;
|
|
2006
2084
|
attribute_id?: string | undefined;
|
|
2085
|
+
is_required?: boolean | undefined;
|
|
2007
2086
|
available_values?: {
|
|
2008
2087
|
id: string;
|
|
2009
2088
|
name: string;
|
|
2010
2089
|
}[] | undefined;
|
|
2011
2090
|
}[] | undefined;
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2091
|
+
subtitle?: string | undefined;
|
|
2092
|
+
width?: string | undefined;
|
|
2093
|
+
height?: string | undefined;
|
|
2094
|
+
weight?: string | undefined;
|
|
2095
|
+
origin_country?: string | undefined;
|
|
2096
|
+
hs_code?: string | undefined;
|
|
2097
|
+
material?: string | undefined;
|
|
2098
|
+
mid_code?: string | undefined;
|
|
2018
2099
|
seller_ids?: string[] | undefined;
|
|
2100
|
+
tags?: string[] | undefined;
|
|
2019
2101
|
}>;
|
|
2020
2102
|
};
|
|
2021
2103
|
VariantsTab: {
|
|
2022
2104
|
(): react_jsx_runtime.JSX.Element;
|
|
2023
2105
|
_tabMeta: TabDefinition<{
|
|
2024
2106
|
title: string;
|
|
2107
|
+
category_id: string;
|
|
2025
2108
|
variants: {
|
|
2026
2109
|
title: string;
|
|
2027
2110
|
variant_rank: number;
|
|
2028
2111
|
should_create: boolean;
|
|
2029
2112
|
length?: string | number | undefined;
|
|
2030
|
-
|
|
2031
|
-
|
|
2113
|
+
options?: Record<string, string> | undefined;
|
|
2114
|
+
is_default?: boolean | undefined;
|
|
2032
2115
|
sku?: string | undefined;
|
|
2033
|
-
|
|
2116
|
+
ean?: string | undefined;
|
|
2117
|
+
upc?: string | undefined;
|
|
2118
|
+
width?: string | number | undefined;
|
|
2034
2119
|
height?: string | number | undefined;
|
|
2120
|
+
weight?: string | number | undefined;
|
|
2035
2121
|
origin_country?: string | undefined;
|
|
2036
|
-
|
|
2122
|
+
hs_code?: string | undefined;
|
|
2037
2123
|
material?: string | undefined;
|
|
2038
|
-
|
|
2039
|
-
is_default?: boolean | undefined;
|
|
2124
|
+
mid_code?: string | undefined;
|
|
2040
2125
|
barcode?: string | undefined;
|
|
2041
|
-
ean?: string | undefined;
|
|
2042
|
-
upc?: string | undefined;
|
|
2043
2126
|
}[];
|
|
2044
2127
|
discountable: boolean;
|
|
2045
|
-
|
|
2128
|
+
globally_available: boolean;
|
|
2046
2129
|
length?: string | undefined;
|
|
2047
|
-
weight?: string | undefined;
|
|
2048
|
-
width?: string | undefined;
|
|
2049
|
-
hs_code?: string | undefined;
|
|
2050
|
-
height?: string | undefined;
|
|
2051
|
-
origin_country?: string | undefined;
|
|
2052
|
-
mid_code?: string | undefined;
|
|
2053
|
-
material?: string | undefined;
|
|
2054
2130
|
description?: string | undefined;
|
|
2055
2131
|
handle?: string | undefined;
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2132
|
+
media?: {
|
|
2133
|
+
url: string;
|
|
2134
|
+
isThumbnail: boolean;
|
|
2135
|
+
file?: any;
|
|
2136
|
+
id?: string | undefined;
|
|
2137
|
+
}[] | undefined;
|
|
2059
2138
|
collection_id?: string | undefined;
|
|
2139
|
+
type_id?: string | undefined;
|
|
2060
2140
|
attributes?: {
|
|
2061
2141
|
title: string;
|
|
2062
2142
|
is_custom: boolean;
|
|
2063
2143
|
use_for_variants: boolean;
|
|
2064
2144
|
values?: string | string[] | undefined;
|
|
2065
2145
|
type?: string | undefined;
|
|
2066
|
-
is_required?: boolean | undefined;
|
|
2067
2146
|
attribute_id?: string | undefined;
|
|
2147
|
+
is_required?: boolean | undefined;
|
|
2068
2148
|
available_values?: {
|
|
2069
2149
|
id: string;
|
|
2070
2150
|
name: string;
|
|
2071
2151
|
}[] | undefined;
|
|
2072
2152
|
}[] | undefined;
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2153
|
+
subtitle?: string | undefined;
|
|
2154
|
+
width?: string | undefined;
|
|
2155
|
+
height?: string | undefined;
|
|
2156
|
+
weight?: string | undefined;
|
|
2157
|
+
origin_country?: string | undefined;
|
|
2158
|
+
hs_code?: string | undefined;
|
|
2159
|
+
material?: string | undefined;
|
|
2160
|
+
mid_code?: string | undefined;
|
|
2079
2161
|
seller_ids?: string[] | undefined;
|
|
2162
|
+
tags?: string[] | undefined;
|
|
2080
2163
|
}>;
|
|
2081
2164
|
};
|
|
2082
2165
|
Tab: ({ children, }: {
|
|
@@ -2092,12 +2175,12 @@ declare const CreateProductVariantSchema: z.ZodObject<{
|
|
|
2092
2175
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2093
2176
|
}, "strip", z.ZodTypeAny, {
|
|
2094
2177
|
title: string;
|
|
2095
|
-
sku?: string | undefined;
|
|
2096
2178
|
options?: Record<string, string> | undefined;
|
|
2179
|
+
sku?: string | undefined;
|
|
2097
2180
|
}, {
|
|
2098
2181
|
title: string;
|
|
2099
|
-
sku?: string | undefined;
|
|
2100
2182
|
options?: Record<string, string> | undefined;
|
|
2183
|
+
sku?: string | undefined;
|
|
2101
2184
|
}>;
|
|
2102
2185
|
|
|
2103
2186
|
type CreateProductVariantSchemaType = z.infer<typeof CreateProductVariantSchema>;
|
|
@@ -2109,8 +2192,8 @@ declare function DetailsTab({ product }: DetailsTabProps): react_jsx_runtime.JSX
|
|
|
2109
2192
|
declare namespace DetailsTab {
|
|
2110
2193
|
var _tabMeta: TabDefinition<{
|
|
2111
2194
|
title: string;
|
|
2112
|
-
sku?: string | undefined;
|
|
2113
2195
|
options?: Record<string, string> | undefined;
|
|
2196
|
+
sku?: string | undefined;
|
|
2114
2197
|
}>;
|
|
2115
2198
|
}
|
|
2116
2199
|
|
|
@@ -2192,16 +2275,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2192
2275
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2193
2276
|
}, "strip", z.ZodTypeAny, {
|
|
2194
2277
|
values: string | number | string[];
|
|
2195
|
-
attribute: string;
|
|
2196
2278
|
operator: string;
|
|
2279
|
+
attribute: string;
|
|
2197
2280
|
id?: string | undefined;
|
|
2198
2281
|
required?: boolean | undefined;
|
|
2199
2282
|
disguised?: boolean | undefined;
|
|
2200
2283
|
field_type?: string | undefined;
|
|
2201
2284
|
}, {
|
|
2202
2285
|
values: string | number | string[];
|
|
2203
|
-
attribute: string;
|
|
2204
2286
|
operator: string;
|
|
2287
|
+
attribute: string;
|
|
2205
2288
|
id?: string | undefined;
|
|
2206
2289
|
required?: boolean | undefined;
|
|
2207
2290
|
disguised?: boolean | undefined;
|
|
@@ -2223,16 +2306,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2223
2306
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2224
2307
|
}, "strip", z.ZodTypeAny, {
|
|
2225
2308
|
values: string | number | string[];
|
|
2226
|
-
attribute: string;
|
|
2227
2309
|
operator: string;
|
|
2310
|
+
attribute: string;
|
|
2228
2311
|
id?: string | undefined;
|
|
2229
2312
|
required?: boolean | undefined;
|
|
2230
2313
|
disguised?: boolean | undefined;
|
|
2231
2314
|
field_type?: string | undefined;
|
|
2232
2315
|
}, {
|
|
2233
2316
|
values: string | number | string[];
|
|
2234
|
-
attribute: string;
|
|
2235
2317
|
operator: string;
|
|
2318
|
+
attribute: string;
|
|
2236
2319
|
id?: string | undefined;
|
|
2237
2320
|
required?: boolean | undefined;
|
|
2238
2321
|
disguised?: boolean | undefined;
|
|
@@ -2248,16 +2331,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2248
2331
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2249
2332
|
}, "strip", z.ZodTypeAny, {
|
|
2250
2333
|
values: string | number | string[];
|
|
2251
|
-
attribute: string;
|
|
2252
2334
|
operator: string;
|
|
2335
|
+
attribute: string;
|
|
2253
2336
|
id?: string | undefined;
|
|
2254
2337
|
required?: boolean | undefined;
|
|
2255
2338
|
disguised?: boolean | undefined;
|
|
2256
2339
|
field_type?: string | undefined;
|
|
2257
2340
|
}, {
|
|
2258
2341
|
values: string | number | string[];
|
|
2259
|
-
attribute: string;
|
|
2260
2342
|
operator: string;
|
|
2343
|
+
attribute: string;
|
|
2261
2344
|
id?: string | undefined;
|
|
2262
2345
|
required?: boolean | undefined;
|
|
2263
2346
|
disguised?: boolean | undefined;
|
|
@@ -2268,11 +2351,12 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2268
2351
|
}, "strip", z.ZodTypeAny, {
|
|
2269
2352
|
value: string | number;
|
|
2270
2353
|
type: "fixed" | "percentage";
|
|
2271
|
-
|
|
2354
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2355
|
+
allocation: "once" | "each" | "across";
|
|
2272
2356
|
target_rules: {
|
|
2273
2357
|
values: string | number | string[];
|
|
2274
|
-
attribute: string;
|
|
2275
2358
|
operator: string;
|
|
2359
|
+
attribute: string;
|
|
2276
2360
|
id?: string | undefined;
|
|
2277
2361
|
required?: boolean | undefined;
|
|
2278
2362
|
disguised?: boolean | undefined;
|
|
@@ -2280,24 +2364,24 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2280
2364
|
}[];
|
|
2281
2365
|
buy_rules: {
|
|
2282
2366
|
values: string | number | string[];
|
|
2283
|
-
attribute: string;
|
|
2284
2367
|
operator: string;
|
|
2368
|
+
attribute: string;
|
|
2285
2369
|
id?: string | undefined;
|
|
2286
2370
|
required?: boolean | undefined;
|
|
2287
2371
|
disguised?: boolean | undefined;
|
|
2288
2372
|
field_type?: string | undefined;
|
|
2289
2373
|
}[];
|
|
2290
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2291
2374
|
currency_code?: string | undefined;
|
|
2292
2375
|
max_quantity?: number | null | undefined;
|
|
2293
2376
|
}, {
|
|
2294
2377
|
value: string | number;
|
|
2295
2378
|
type: "fixed" | "percentage";
|
|
2296
|
-
|
|
2379
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2380
|
+
allocation: "once" | "each" | "across";
|
|
2297
2381
|
target_rules: {
|
|
2298
2382
|
values: string | number | string[];
|
|
2299
|
-
attribute: string;
|
|
2300
2383
|
operator: string;
|
|
2384
|
+
attribute: string;
|
|
2301
2385
|
id?: string | undefined;
|
|
2302
2386
|
required?: boolean | undefined;
|
|
2303
2387
|
disguised?: boolean | undefined;
|
|
@@ -2305,14 +2389,13 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2305
2389
|
}[];
|
|
2306
2390
|
buy_rules: {
|
|
2307
2391
|
values: string | number | string[];
|
|
2308
|
-
attribute: string;
|
|
2309
2392
|
operator: string;
|
|
2393
|
+
attribute: string;
|
|
2310
2394
|
id?: string | undefined;
|
|
2311
2395
|
required?: boolean | undefined;
|
|
2312
2396
|
disguised?: boolean | undefined;
|
|
2313
2397
|
field_type?: string | undefined;
|
|
2314
2398
|
}[];
|
|
2315
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2316
2399
|
currency_code?: string | undefined;
|
|
2317
2400
|
max_quantity?: number | null | undefined;
|
|
2318
2401
|
}>;
|
|
@@ -2328,24 +2411,24 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2328
2411
|
type: z.ZodEnum<["spend", "usage", "use_by_attribute"]>;
|
|
2329
2412
|
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2330
2413
|
}, "strip", z.ZodTypeAny, {
|
|
2331
|
-
type: "
|
|
2414
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2415
|
+
currency_code?: string | null | undefined;
|
|
2332
2416
|
limit?: number | null | undefined;
|
|
2333
2417
|
attribute?: string | null | undefined;
|
|
2334
|
-
currency_code?: string | null | undefined;
|
|
2335
2418
|
}, {
|
|
2336
|
-
type: "
|
|
2419
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2420
|
+
currency_code?: string | null | undefined;
|
|
2337
2421
|
limit?: number | null | undefined;
|
|
2338
2422
|
attribute?: string | null | undefined;
|
|
2339
|
-
currency_code?: string | null | undefined;
|
|
2340
2423
|
}>;
|
|
2341
2424
|
}, "strip", z.ZodTypeAny, {
|
|
2342
2425
|
name: string;
|
|
2343
2426
|
campaign_identifier: string;
|
|
2344
2427
|
budget: {
|
|
2345
|
-
type: "
|
|
2428
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2429
|
+
currency_code?: string | null | undefined;
|
|
2346
2430
|
limit?: number | null | undefined;
|
|
2347
2431
|
attribute?: string | null | undefined;
|
|
2348
|
-
currency_code?: string | null | undefined;
|
|
2349
2432
|
};
|
|
2350
2433
|
starts_at: Date | null;
|
|
2351
2434
|
ends_at: Date | null;
|
|
@@ -2354,10 +2437,10 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2354
2437
|
name: string;
|
|
2355
2438
|
campaign_identifier: string;
|
|
2356
2439
|
budget: {
|
|
2357
|
-
type: "
|
|
2440
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2441
|
+
currency_code?: string | null | undefined;
|
|
2358
2442
|
limit?: number | null | undefined;
|
|
2359
2443
|
attribute?: string | null | undefined;
|
|
2360
|
-
currency_code?: string | null | undefined;
|
|
2361
2444
|
};
|
|
2362
2445
|
starts_at: Date | null;
|
|
2363
2446
|
ends_at: Date | null;
|
|
@@ -2369,22 +2452,22 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2369
2452
|
type: "standard" | "buyget";
|
|
2370
2453
|
rules: {
|
|
2371
2454
|
values: string | number | string[];
|
|
2372
|
-
attribute: string;
|
|
2373
2455
|
operator: string;
|
|
2456
|
+
attribute: string;
|
|
2374
2457
|
id?: string | undefined;
|
|
2375
2458
|
required?: boolean | undefined;
|
|
2376
2459
|
disguised?: boolean | undefined;
|
|
2377
2460
|
field_type?: string | undefined;
|
|
2378
2461
|
}[];
|
|
2379
|
-
is_automatic: string;
|
|
2380
2462
|
application_method: {
|
|
2381
2463
|
value: string | number;
|
|
2382
2464
|
type: "fixed" | "percentage";
|
|
2383
|
-
|
|
2465
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2466
|
+
allocation: "once" | "each" | "across";
|
|
2384
2467
|
target_rules: {
|
|
2385
2468
|
values: string | number | string[];
|
|
2386
|
-
attribute: string;
|
|
2387
2469
|
operator: string;
|
|
2470
|
+
attribute: string;
|
|
2388
2471
|
id?: string | undefined;
|
|
2389
2472
|
required?: boolean | undefined;
|
|
2390
2473
|
disguised?: boolean | undefined;
|
|
@@ -2392,56 +2475,56 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2392
2475
|
}[];
|
|
2393
2476
|
buy_rules: {
|
|
2394
2477
|
values: string | number | string[];
|
|
2395
|
-
attribute: string;
|
|
2396
2478
|
operator: string;
|
|
2479
|
+
attribute: string;
|
|
2397
2480
|
id?: string | undefined;
|
|
2398
2481
|
required?: boolean | undefined;
|
|
2399
2482
|
disguised?: boolean | undefined;
|
|
2400
2483
|
field_type?: string | undefined;
|
|
2401
2484
|
}[];
|
|
2402
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2403
2485
|
currency_code?: string | undefined;
|
|
2404
2486
|
max_quantity?: number | null | undefined;
|
|
2405
2487
|
};
|
|
2488
|
+
is_automatic: string;
|
|
2489
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2406
2490
|
campaign?: {
|
|
2407
2491
|
name: string;
|
|
2408
2492
|
campaign_identifier: string;
|
|
2409
2493
|
budget: {
|
|
2410
|
-
type: "
|
|
2494
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2495
|
+
currency_code?: string | null | undefined;
|
|
2411
2496
|
limit?: number | null | undefined;
|
|
2412
2497
|
attribute?: string | null | undefined;
|
|
2413
|
-
currency_code?: string | null | undefined;
|
|
2414
2498
|
};
|
|
2415
2499
|
starts_at: Date | null;
|
|
2416
2500
|
ends_at: Date | null;
|
|
2417
2501
|
description?: string | undefined;
|
|
2418
2502
|
} | undefined;
|
|
2419
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2420
2503
|
campaign_id?: string | undefined;
|
|
2421
2504
|
template_id?: string | undefined;
|
|
2422
|
-
campaign_choice?: "
|
|
2505
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2423
2506
|
}, {
|
|
2424
2507
|
code: string;
|
|
2425
2508
|
status: "draft" | "active" | "inactive";
|
|
2426
2509
|
type: "standard" | "buyget";
|
|
2427
2510
|
rules: {
|
|
2428
2511
|
values: string | number | string[];
|
|
2429
|
-
attribute: string;
|
|
2430
2512
|
operator: string;
|
|
2513
|
+
attribute: string;
|
|
2431
2514
|
id?: string | undefined;
|
|
2432
2515
|
required?: boolean | undefined;
|
|
2433
2516
|
disguised?: boolean | undefined;
|
|
2434
2517
|
field_type?: string | undefined;
|
|
2435
2518
|
}[];
|
|
2436
|
-
is_automatic: string;
|
|
2437
2519
|
application_method: {
|
|
2438
2520
|
value: string | number;
|
|
2439
2521
|
type: "fixed" | "percentage";
|
|
2440
|
-
|
|
2522
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2523
|
+
allocation: "once" | "each" | "across";
|
|
2441
2524
|
target_rules: {
|
|
2442
2525
|
values: string | number | string[];
|
|
2443
|
-
attribute: string;
|
|
2444
2526
|
operator: string;
|
|
2527
|
+
attribute: string;
|
|
2445
2528
|
id?: string | undefined;
|
|
2446
2529
|
required?: boolean | undefined;
|
|
2447
2530
|
disguised?: boolean | undefined;
|
|
@@ -2449,56 +2532,56 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2449
2532
|
}[];
|
|
2450
2533
|
buy_rules: {
|
|
2451
2534
|
values: string | number | string[];
|
|
2452
|
-
attribute: string;
|
|
2453
2535
|
operator: string;
|
|
2536
|
+
attribute: string;
|
|
2454
2537
|
id?: string | undefined;
|
|
2455
2538
|
required?: boolean | undefined;
|
|
2456
2539
|
disguised?: boolean | undefined;
|
|
2457
2540
|
field_type?: string | undefined;
|
|
2458
2541
|
}[];
|
|
2459
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2460
2542
|
currency_code?: string | undefined;
|
|
2461
2543
|
max_quantity?: number | null | undefined;
|
|
2462
2544
|
};
|
|
2545
|
+
is_automatic: string;
|
|
2546
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2463
2547
|
campaign?: {
|
|
2464
2548
|
name: string;
|
|
2465
2549
|
campaign_identifier: string;
|
|
2466
2550
|
budget: {
|
|
2467
|
-
type: "
|
|
2551
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2552
|
+
currency_code?: string | null | undefined;
|
|
2468
2553
|
limit?: number | null | undefined;
|
|
2469
2554
|
attribute?: string | null | undefined;
|
|
2470
|
-
currency_code?: string | null | undefined;
|
|
2471
2555
|
};
|
|
2472
2556
|
starts_at: Date | null;
|
|
2473
2557
|
ends_at: Date | null;
|
|
2474
2558
|
description?: string | undefined;
|
|
2475
2559
|
} | undefined;
|
|
2476
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2477
2560
|
campaign_id?: string | undefined;
|
|
2478
2561
|
template_id?: string | undefined;
|
|
2479
|
-
campaign_choice?: "
|
|
2562
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2480
2563
|
}>, {
|
|
2481
2564
|
code: string;
|
|
2482
2565
|
status: "draft" | "active" | "inactive";
|
|
2483
2566
|
type: "standard" | "buyget";
|
|
2484
2567
|
rules: {
|
|
2485
2568
|
values: string | number | string[];
|
|
2486
|
-
attribute: string;
|
|
2487
2569
|
operator: string;
|
|
2570
|
+
attribute: string;
|
|
2488
2571
|
id?: string | undefined;
|
|
2489
2572
|
required?: boolean | undefined;
|
|
2490
2573
|
disguised?: boolean | undefined;
|
|
2491
2574
|
field_type?: string | undefined;
|
|
2492
2575
|
}[];
|
|
2493
|
-
is_automatic: string;
|
|
2494
2576
|
application_method: {
|
|
2495
2577
|
value: string | number;
|
|
2496
2578
|
type: "fixed" | "percentage";
|
|
2497
|
-
|
|
2579
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2580
|
+
allocation: "once" | "each" | "across";
|
|
2498
2581
|
target_rules: {
|
|
2499
2582
|
values: string | number | string[];
|
|
2500
|
-
attribute: string;
|
|
2501
2583
|
operator: string;
|
|
2584
|
+
attribute: string;
|
|
2502
2585
|
id?: string | undefined;
|
|
2503
2586
|
required?: boolean | undefined;
|
|
2504
2587
|
disguised?: boolean | undefined;
|
|
@@ -2506,56 +2589,56 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2506
2589
|
}[];
|
|
2507
2590
|
buy_rules: {
|
|
2508
2591
|
values: string | number | string[];
|
|
2509
|
-
attribute: string;
|
|
2510
2592
|
operator: string;
|
|
2593
|
+
attribute: string;
|
|
2511
2594
|
id?: string | undefined;
|
|
2512
2595
|
required?: boolean | undefined;
|
|
2513
2596
|
disguised?: boolean | undefined;
|
|
2514
2597
|
field_type?: string | undefined;
|
|
2515
2598
|
}[];
|
|
2516
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2517
2599
|
currency_code?: string | undefined;
|
|
2518
2600
|
max_quantity?: number | null | undefined;
|
|
2519
2601
|
};
|
|
2602
|
+
is_automatic: string;
|
|
2603
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2520
2604
|
campaign?: {
|
|
2521
2605
|
name: string;
|
|
2522
2606
|
campaign_identifier: string;
|
|
2523
2607
|
budget: {
|
|
2524
|
-
type: "
|
|
2608
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2609
|
+
currency_code?: string | null | undefined;
|
|
2525
2610
|
limit?: number | null | undefined;
|
|
2526
2611
|
attribute?: string | null | undefined;
|
|
2527
|
-
currency_code?: string | null | undefined;
|
|
2528
2612
|
};
|
|
2529
2613
|
starts_at: Date | null;
|
|
2530
2614
|
ends_at: Date | null;
|
|
2531
2615
|
description?: string | undefined;
|
|
2532
2616
|
} | undefined;
|
|
2533
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2534
2617
|
campaign_id?: string | undefined;
|
|
2535
2618
|
template_id?: string | undefined;
|
|
2536
|
-
campaign_choice?: "
|
|
2619
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2537
2620
|
}, {
|
|
2538
2621
|
code: string;
|
|
2539
2622
|
status: "draft" | "active" | "inactive";
|
|
2540
2623
|
type: "standard" | "buyget";
|
|
2541
2624
|
rules: {
|
|
2542
2625
|
values: string | number | string[];
|
|
2543
|
-
attribute: string;
|
|
2544
2626
|
operator: string;
|
|
2627
|
+
attribute: string;
|
|
2545
2628
|
id?: string | undefined;
|
|
2546
2629
|
required?: boolean | undefined;
|
|
2547
2630
|
disguised?: boolean | undefined;
|
|
2548
2631
|
field_type?: string | undefined;
|
|
2549
2632
|
}[];
|
|
2550
|
-
is_automatic: string;
|
|
2551
2633
|
application_method: {
|
|
2552
2634
|
value: string | number;
|
|
2553
2635
|
type: "fixed" | "percentage";
|
|
2554
|
-
|
|
2636
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2637
|
+
allocation: "once" | "each" | "across";
|
|
2555
2638
|
target_rules: {
|
|
2556
2639
|
values: string | number | string[];
|
|
2557
|
-
attribute: string;
|
|
2558
2640
|
operator: string;
|
|
2641
|
+
attribute: string;
|
|
2559
2642
|
id?: string | undefined;
|
|
2560
2643
|
required?: boolean | undefined;
|
|
2561
2644
|
disguised?: boolean | undefined;
|
|
@@ -2563,34 +2646,34 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2563
2646
|
}[];
|
|
2564
2647
|
buy_rules: {
|
|
2565
2648
|
values: string | number | string[];
|
|
2566
|
-
attribute: string;
|
|
2567
2649
|
operator: string;
|
|
2650
|
+
attribute: string;
|
|
2568
2651
|
id?: string | undefined;
|
|
2569
2652
|
required?: boolean | undefined;
|
|
2570
2653
|
disguised?: boolean | undefined;
|
|
2571
2654
|
field_type?: string | undefined;
|
|
2572
2655
|
}[];
|
|
2573
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2574
2656
|
currency_code?: string | undefined;
|
|
2575
2657
|
max_quantity?: number | null | undefined;
|
|
2576
2658
|
};
|
|
2659
|
+
is_automatic: string;
|
|
2660
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2577
2661
|
campaign?: {
|
|
2578
2662
|
name: string;
|
|
2579
2663
|
campaign_identifier: string;
|
|
2580
2664
|
budget: {
|
|
2581
|
-
type: "
|
|
2665
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2666
|
+
currency_code?: string | null | undefined;
|
|
2582
2667
|
limit?: number | null | undefined;
|
|
2583
2668
|
attribute?: string | null | undefined;
|
|
2584
|
-
currency_code?: string | null | undefined;
|
|
2585
2669
|
};
|
|
2586
2670
|
starts_at: Date | null;
|
|
2587
2671
|
ends_at: Date | null;
|
|
2588
2672
|
description?: string | undefined;
|
|
2589
2673
|
} | undefined;
|
|
2590
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2591
2674
|
campaign_id?: string | undefined;
|
|
2592
2675
|
template_id?: string | undefined;
|
|
2593
|
-
campaign_choice?: "
|
|
2676
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2594
2677
|
}>;
|
|
2595
2678
|
type CreatePromotionSchemaType = z.infer<typeof CreatePromotionSchema>;
|
|
2596
2679
|
|
|
@@ -2613,22 +2696,22 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2613
2696
|
type: "standard" | "buyget";
|
|
2614
2697
|
rules: {
|
|
2615
2698
|
values: string | number | string[];
|
|
2616
|
-
attribute: string;
|
|
2617
2699
|
operator: string;
|
|
2700
|
+
attribute: string;
|
|
2618
2701
|
id?: string | undefined;
|
|
2619
2702
|
required?: boolean | undefined;
|
|
2620
2703
|
disguised?: boolean | undefined;
|
|
2621
2704
|
field_type?: string | undefined;
|
|
2622
2705
|
}[];
|
|
2623
|
-
is_automatic: string;
|
|
2624
2706
|
application_method: {
|
|
2625
2707
|
value: string | number;
|
|
2626
2708
|
type: "fixed" | "percentage";
|
|
2627
|
-
|
|
2709
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2710
|
+
allocation: "once" | "each" | "across";
|
|
2628
2711
|
target_rules: {
|
|
2629
2712
|
values: string | number | string[];
|
|
2630
|
-
attribute: string;
|
|
2631
2713
|
operator: string;
|
|
2714
|
+
attribute: string;
|
|
2632
2715
|
id?: string | undefined;
|
|
2633
2716
|
required?: boolean | undefined;
|
|
2634
2717
|
disguised?: boolean | undefined;
|
|
@@ -2636,34 +2719,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2636
2719
|
}[];
|
|
2637
2720
|
buy_rules: {
|
|
2638
2721
|
values: string | number | string[];
|
|
2639
|
-
attribute: string;
|
|
2640
2722
|
operator: string;
|
|
2723
|
+
attribute: string;
|
|
2641
2724
|
id?: string | undefined;
|
|
2642
2725
|
required?: boolean | undefined;
|
|
2643
2726
|
disguised?: boolean | undefined;
|
|
2644
2727
|
field_type?: string | undefined;
|
|
2645
2728
|
}[];
|
|
2646
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2647
2729
|
currency_code?: string | undefined;
|
|
2648
2730
|
max_quantity?: number | null | undefined;
|
|
2649
2731
|
};
|
|
2732
|
+
is_automatic: string;
|
|
2733
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2650
2734
|
campaign?: {
|
|
2651
2735
|
name: string;
|
|
2652
2736
|
campaign_identifier: string;
|
|
2653
2737
|
budget: {
|
|
2654
|
-
type: "
|
|
2738
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2739
|
+
currency_code?: string | null | undefined;
|
|
2655
2740
|
limit?: number | null | undefined;
|
|
2656
2741
|
attribute?: string | null | undefined;
|
|
2657
|
-
currency_code?: string | null | undefined;
|
|
2658
2742
|
};
|
|
2659
2743
|
starts_at: Date | null;
|
|
2660
2744
|
ends_at: Date | null;
|
|
2661
2745
|
description?: string | undefined;
|
|
2662
2746
|
} | undefined;
|
|
2663
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2664
2747
|
campaign_id?: string | undefined;
|
|
2665
2748
|
template_id?: string | undefined;
|
|
2666
|
-
campaign_choice?: "
|
|
2749
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2667
2750
|
}>;
|
|
2668
2751
|
};
|
|
2669
2752
|
DetailsTab: {
|
|
@@ -2680,22 +2763,22 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2680
2763
|
type: "standard" | "buyget";
|
|
2681
2764
|
rules: {
|
|
2682
2765
|
values: string | number | string[];
|
|
2683
|
-
attribute: string;
|
|
2684
2766
|
operator: string;
|
|
2767
|
+
attribute: string;
|
|
2685
2768
|
id?: string | undefined;
|
|
2686
2769
|
required?: boolean | undefined;
|
|
2687
2770
|
disguised?: boolean | undefined;
|
|
2688
2771
|
field_type?: string | undefined;
|
|
2689
2772
|
}[];
|
|
2690
|
-
is_automatic: string;
|
|
2691
2773
|
application_method: {
|
|
2692
2774
|
value: string | number;
|
|
2693
2775
|
type: "fixed" | "percentage";
|
|
2694
|
-
|
|
2776
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2777
|
+
allocation: "once" | "each" | "across";
|
|
2695
2778
|
target_rules: {
|
|
2696
2779
|
values: string | number | string[];
|
|
2697
|
-
attribute: string;
|
|
2698
2780
|
operator: string;
|
|
2781
|
+
attribute: string;
|
|
2699
2782
|
id?: string | undefined;
|
|
2700
2783
|
required?: boolean | undefined;
|
|
2701
2784
|
disguised?: boolean | undefined;
|
|
@@ -2703,34 +2786,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2703
2786
|
}[];
|
|
2704
2787
|
buy_rules: {
|
|
2705
2788
|
values: string | number | string[];
|
|
2706
|
-
attribute: string;
|
|
2707
2789
|
operator: string;
|
|
2790
|
+
attribute: string;
|
|
2708
2791
|
id?: string | undefined;
|
|
2709
2792
|
required?: boolean | undefined;
|
|
2710
2793
|
disguised?: boolean | undefined;
|
|
2711
2794
|
field_type?: string | undefined;
|
|
2712
2795
|
}[];
|
|
2713
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2714
2796
|
currency_code?: string | undefined;
|
|
2715
2797
|
max_quantity?: number | null | undefined;
|
|
2716
2798
|
};
|
|
2799
|
+
is_automatic: string;
|
|
2800
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2717
2801
|
campaign?: {
|
|
2718
2802
|
name: string;
|
|
2719
2803
|
campaign_identifier: string;
|
|
2720
2804
|
budget: {
|
|
2721
|
-
type: "
|
|
2805
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2806
|
+
currency_code?: string | null | undefined;
|
|
2722
2807
|
limit?: number | null | undefined;
|
|
2723
2808
|
attribute?: string | null | undefined;
|
|
2724
|
-
currency_code?: string | null | undefined;
|
|
2725
2809
|
};
|
|
2726
2810
|
starts_at: Date | null;
|
|
2727
2811
|
ends_at: Date | null;
|
|
2728
2812
|
description?: string | undefined;
|
|
2729
2813
|
} | undefined;
|
|
2730
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2731
2814
|
campaign_id?: string | undefined;
|
|
2732
2815
|
template_id?: string | undefined;
|
|
2733
|
-
campaign_choice?: "
|
|
2816
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2734
2817
|
}>;
|
|
2735
2818
|
};
|
|
2736
2819
|
CampaignTab: {
|
|
@@ -2741,22 +2824,22 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2741
2824
|
type: "standard" | "buyget";
|
|
2742
2825
|
rules: {
|
|
2743
2826
|
values: string | number | string[];
|
|
2744
|
-
attribute: string;
|
|
2745
2827
|
operator: string;
|
|
2828
|
+
attribute: string;
|
|
2746
2829
|
id?: string | undefined;
|
|
2747
2830
|
required?: boolean | undefined;
|
|
2748
2831
|
disguised?: boolean | undefined;
|
|
2749
2832
|
field_type?: string | undefined;
|
|
2750
2833
|
}[];
|
|
2751
|
-
is_automatic: string;
|
|
2752
2834
|
application_method: {
|
|
2753
2835
|
value: string | number;
|
|
2754
2836
|
type: "fixed" | "percentage";
|
|
2755
|
-
|
|
2837
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2838
|
+
allocation: "once" | "each" | "across";
|
|
2756
2839
|
target_rules: {
|
|
2757
2840
|
values: string | number | string[];
|
|
2758
|
-
attribute: string;
|
|
2759
2841
|
operator: string;
|
|
2842
|
+
attribute: string;
|
|
2760
2843
|
id?: string | undefined;
|
|
2761
2844
|
required?: boolean | undefined;
|
|
2762
2845
|
disguised?: boolean | undefined;
|
|
@@ -2764,34 +2847,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2764
2847
|
}[];
|
|
2765
2848
|
buy_rules: {
|
|
2766
2849
|
values: string | number | string[];
|
|
2767
|
-
attribute: string;
|
|
2768
2850
|
operator: string;
|
|
2851
|
+
attribute: string;
|
|
2769
2852
|
id?: string | undefined;
|
|
2770
2853
|
required?: boolean | undefined;
|
|
2771
2854
|
disguised?: boolean | undefined;
|
|
2772
2855
|
field_type?: string | undefined;
|
|
2773
2856
|
}[];
|
|
2774
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2775
2857
|
currency_code?: string | undefined;
|
|
2776
2858
|
max_quantity?: number | null | undefined;
|
|
2777
2859
|
};
|
|
2860
|
+
is_automatic: string;
|
|
2861
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2778
2862
|
campaign?: {
|
|
2779
2863
|
name: string;
|
|
2780
2864
|
campaign_identifier: string;
|
|
2781
2865
|
budget: {
|
|
2782
|
-
type: "
|
|
2866
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2867
|
+
currency_code?: string | null | undefined;
|
|
2783
2868
|
limit?: number | null | undefined;
|
|
2784
2869
|
attribute?: string | null | undefined;
|
|
2785
|
-
currency_code?: string | null | undefined;
|
|
2786
2870
|
};
|
|
2787
2871
|
starts_at: Date | null;
|
|
2788
2872
|
ends_at: Date | null;
|
|
2789
2873
|
description?: string | undefined;
|
|
2790
2874
|
} | undefined;
|
|
2791
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2792
2875
|
campaign_id?: string | undefined;
|
|
2793
2876
|
template_id?: string | undefined;
|
|
2794
|
-
campaign_choice?: "
|
|
2877
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2795
2878
|
}>;
|
|
2796
2879
|
};
|
|
2797
2880
|
Tab: ({ children, }: {
|
|
@@ -2930,39 +3013,39 @@ declare const StoreDetailPage: (({ children }: {
|
|
|
2930
3013
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
2931
3014
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
2932
3015
|
MainGeneralSection: ({ seller, children, }: {
|
|
2933
|
-
seller:
|
|
3016
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2934
3017
|
children?: ReactNode;
|
|
2935
3018
|
}) => react_jsx_runtime.JSX.Element;
|
|
2936
3019
|
MainConfigurationSection: ({ seller, }: {
|
|
2937
|
-
seller:
|
|
3020
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2938
3021
|
}) => react_jsx_runtime.JSX.Element;
|
|
2939
3022
|
MainPaymentDetailsSection: ({ seller, }: {
|
|
2940
|
-
seller:
|
|
3023
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2941
3024
|
}) => react_jsx_runtime.JSX.Element;
|
|
2942
3025
|
MainCompanyDetailsSection: ({ seller, }: {
|
|
2943
|
-
seller:
|
|
3026
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2944
3027
|
}) => react_jsx_runtime.JSX.Element;
|
|
2945
3028
|
SidebarAddressSection: ({ seller }: {
|
|
2946
|
-
seller:
|
|
3029
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2947
3030
|
}) => react_jsx_runtime.JSX.Element;
|
|
2948
3031
|
SidebarMembersSection: ({ sellerId }: {
|
|
2949
3032
|
sellerId: string;
|
|
2950
3033
|
}) => react_jsx_runtime.JSX.Element;
|
|
2951
3034
|
Header: ({ seller, children, }: {
|
|
2952
|
-
seller:
|
|
3035
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2953
3036
|
} & {
|
|
2954
3037
|
children?: ReactNode;
|
|
2955
3038
|
}) => react_jsx_runtime.JSX.Element;
|
|
2956
3039
|
HeaderTitle: ({ seller }: {
|
|
2957
|
-
seller:
|
|
3040
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2958
3041
|
}) => react_jsx_runtime.JSX.Element;
|
|
2959
3042
|
HeaderActions: ({ seller, children, }: {
|
|
2960
|
-
seller:
|
|
3043
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2961
3044
|
} & {
|
|
2962
3045
|
children?: ReactNode;
|
|
2963
3046
|
}) => react_jsx_runtime.JSX.Element;
|
|
2964
3047
|
HeaderEditButton: ({ seller }: {
|
|
2965
|
-
seller:
|
|
3048
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2966
3049
|
}) => react_jsx_runtime.JSX.Element;
|
|
2967
3050
|
};
|
|
2968
3051
|
|
|
@@ -3090,4 +3173,4 @@ declare const UserDetailPage: (({ children }: {
|
|
|
3090
3173
|
}) => react_jsx_runtime.JSX.Element;
|
|
3091
3174
|
};
|
|
3092
3175
|
|
|
3093
|
-
export { ApiKeyManagementDetailPage, ApiKeyManagementListPage, CampaignDetailPage, CampaignListPage, CategoryCreatePage, CategoryDetailPage, CategoryListPage, CollectionDetailPage, CollectionListPage,
|
|
3176
|
+
export { ApiKeyManagementDetailPage, ApiKeyManagementListPage, CampaignDetailPage, CampaignListPage, CategoryCreatePage, CategoryDetailPage, CategoryListPage, CollectionDetailPage, CollectionListPage, CommissionRuleDetail, CommissionsPage, AttributeListPage as Component, CreateCategorySchema, CreateInventoryItemSchema, CreateProductVariantSchema, CreatePromotionSchema, CreateShippingOptionSchema, CustomerDetailPage, CustomerGroupDetailPage, CustomerGroupListPage, CustomerListPage, InventoryCreatePage, InventoryDetailPage, InventoryListPage, LocationDetailPage, LocationListPage, MarketplaceDetailPage, OrderDetailPage, OrderListPage, PayoutDetailPage, PayoutListPage, PriceListCreatePage, PriceListDetailPage, PriceListListPage, PriceListPricesAddPage, PriceListPricesAddSchema, PricingCreateSchema, ProductCreatePage, ProductCreateSchema, ProductCreateVariantPage, ProductDetailPage, ProductListPage, ProductTagDetailPage, ProductTagListPage, ProductTypeDetailPage, ProductTypeListPage, ProductVariantDetailPage, ProfileDetailPage, PromotionCreatePage, PromotionDetailPage, PromotionListPage, RefundReasonList, RegionDetailPage, RegionListPage, ReservationDetailPage, ReservationListPage, ReturnReasonList, SalesChannelDetailPage, SalesChannelListPage, ShippingOptionCreatePage, ShippingOptionTypeDetailPage, ShippingOptionTypeListPage, ShippingProfileDetailPage, ShippingProfileListPage, StoreDetailPage, StoreListPage, TaxRegionDetailPage, TaxRegionListPage, TaxRegionProvinceDetailPage, UserDetailPage, UserListPage, attributeListLoader as loader };
|