@mercurjs/admin 2.2.0-canary.9 → 2.2.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-campaign-promotions-XANY2FIV.js → add-campaign-promotions-RH5L6VMH.js} +15 -15
- package/dist/{adjust-inventory-DJRDNU2V.js → adjust-inventory-P2M7KZ77.js} +33 -33
- package/dist/{api-key-management-create-UD5V7TOU.js → api-key-management-create-KDKSGJ4C.js} +5 -5
- package/dist/{api-key-management-detail-XJVWUU2C.js → api-key-management-detail-2RZ6NOYH.js} +37 -38
- package/dist/{api-key-management-edit-4TLKJSAE.js → api-key-management-edit-NOGBLKBT.js} +5 -5
- package/dist/{api-key-management-list-SZUSD6UI.js → api-key-management-list-CGHUURWX.js} +11 -11
- package/dist/{api-key-management-sales-channels-TK6XEGF3.js → api-key-management-sales-channels-VJMUPYV3.js} +10 -11
- package/dist/{attribute-create-2COL3PJX.js → attribute-create-KR4DSDH2.js} +58 -66
- package/dist/{attribute-create-possible-value-EXVHC272.js → attribute-create-possible-value-QFXKXZM4.js} +2 -2
- package/dist/{attribute-detail-7SK3MWGQ.js → attribute-detail-6FMX7IDW.js} +64 -51
- package/dist/{attribute-edit-LUY66TG3.js → attribute-edit-WXO5FGR6.js} +7 -7
- package/dist/{attribute-edit-possible-value-IOS3625C.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-PJXWYS4C.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-XL3QCW5Y.js → campaign-detail-3PNOOUGP.js} +50 -46
- package/dist/{campaign-edit-ZGLDY4X4.js → campaign-edit-6CIGS4ZU.js} +25 -9
- package/dist/{campaign-list-NQGNOFVZ.js → campaign-list-TNJDWTM5.js} +9 -9
- package/dist/{categories-metadata-C6HVQRH2.js → categories-metadata-AIT33J5U.js} +34 -34
- package/dist/{category-create-GMCJABRW.js → category-create-NTSIOKLK.js} +9 -6
- package/dist/category-detail-3WUCMDWO.js +113 -0
- package/dist/{category-edit-GLE4NTFG.js → category-edit-4PGWERPJ.js} +31 -13
- package/dist/category-icon-edit-C2VAH5JA.js +117 -0
- package/dist/{category-list-SNVOQ64L.js → category-list-D4J4G6HW.js} +14 -11
- package/dist/category-media-E5UUDN3I.js +655 -0
- package/dist/category-organize-T45BC4HL.js +129 -0
- package/dist/{category-products-EWBBAXAH.js → category-products-TTQGSVUC.js} +49 -48
- package/dist/chunk-2KERYQNF.js +525 -0
- package/dist/{chunk-WQFFCK3R.js → chunk-2V74T2WI.js} +1 -1
- package/dist/{chunk-26UTIAAZ.js → chunk-32URSQ4F.js} +1 -1
- package/dist/{chunk-VT5E7OMM.js → chunk-3F4Z4BNA.js} +34 -16
- package/dist/{chunk-BSU6VOKG.js → chunk-3FKB6UTO.js} +81 -64
- package/dist/chunk-3KS7PC2Z.js +1284 -0
- package/dist/{chunk-FDD7TANX.js → chunk-3LDOWS4A.js} +8 -7
- package/dist/chunk-3LGGCLSO.js +185 -0
- package/dist/{chunk-X4EKVL5F.js → chunk-3WCK2FT4.js} +291 -76
- package/dist/{chunk-VKOE5J66.js → chunk-3XOE4NV5.js} +11 -2
- package/dist/{chunk-W2QNDZTH.js → chunk-4DJL3XN7.js} +25 -13
- package/dist/{chunk-PASEZJC7.js → chunk-4QQ6BFWQ.js} +9 -9
- package/dist/{chunk-GP4J42UD.js → chunk-4TNOZ4VH.js} +3 -2
- package/dist/chunk-4TW5RTWO.js +281 -0
- package/dist/{chunk-JQV7CXEC.js → chunk-5BSSIDW6.js} +17 -2
- package/dist/{chunk-FB7DDNCA.js → chunk-5CHUXS7G.js} +4 -4
- package/dist/{chunk-SJGIQGEC.js → chunk-5EOYDQAS.js} +1 -1
- package/dist/{chunk-DRJAKRTI.js → chunk-5NAX6LXB.js} +7 -6
- package/dist/{chunk-3VTAK3S6.js → chunk-5NC3VFXY.js} +4 -4
- package/dist/{chunk-LYZDVZWA.js → chunk-5NSOIZFB.js} +5 -3
- package/dist/{chunk-D4PQL46N.js → chunk-67KYEPSA.js} +1 -1
- package/dist/chunk-6BAPAIQM.js +8 -0
- package/dist/{chunk-3JSAS7QP.js → chunk-6DDS7IRR.js} +24 -7
- package/dist/{chunk-VY7PT4SI.js → chunk-6R767EBC.js} +19 -16
- package/dist/{chunk-Y6NDT26D.js → chunk-6S5RUSUU.js} +12 -11
- package/dist/{chunk-AWCVVFEY.js → chunk-6TMGHMZ2.js} +39 -11
- package/dist/{chunk-TE4IF3MM.js → chunk-7CQD5AQ6.js} +2 -6
- package/dist/chunk-7IGLZARZ.js +101 -0
- package/dist/{chunk-634XVU3D.js → chunk-7PPT3477.js} +10 -3
- package/dist/{chunk-GKGLVDDV.js → chunk-A2F5MDPU.js} +1 -1
- package/dist/{chunk-NUC27ELX.js → chunk-AASCLZ5N.js} +5 -5
- package/dist/{chunk-LOIFUOOA.js → chunk-ABS7HMLY.js} +2 -2
- package/dist/{chunk-PRBE5CM3.js → chunk-AFYILTAC.js} +35 -3
- package/dist/chunk-APAT344J.js +144 -0
- package/dist/{chunk-57RZ7ZOK.js → chunk-APMBU7ZV.js} +5 -5
- package/dist/{chunk-UCX2T4BQ.js → chunk-AW5OKJQZ.js} +12 -11
- package/dist/{chunk-N7OVIX55.js → chunk-BBD4WOUK.js} +11 -10
- package/dist/{chunk-SV5YQGFE.js → chunk-BHF4TD3T.js} +16 -15
- package/dist/{chunk-FFNSWUDC.js → chunk-BHSY6RCN.js} +42 -14
- 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-CU4UVEHX.js +121 -0
- package/dist/{chunk-NJ7V6YWI.js → chunk-CWQKHTH6.js} +92 -131
- package/dist/{chunk-JSMUFZZN.js → chunk-DJD3MWED.js} +1 -1
- package/dist/{chunk-PMWLTPYR.js → chunk-DMZDXTS5.js} +168 -103
- package/dist/{chunk-QUPUWR42.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-46M463BR.js → chunk-EWFOFSF7.js} +1 -1
- package/dist/{chunk-CVFX57MN.js → chunk-F57NIOVJ.js} +52 -23
- package/dist/{chunk-533GMKEG.js → chunk-F5NW4XBU.js} +23 -3
- package/dist/{chunk-HR7TFO2X.js → chunk-F6DGTW4E.js} +7 -7
- package/dist/{chunk-5AZCIOS4.js → chunk-F6NPDZHW.js} +2 -2
- package/dist/{chunk-OKDODCIP.js → chunk-FLFE6HXW.js} +1 -1
- package/dist/{chunk-4LXBQTFN.js → chunk-FREUYHMS.js} +1 -1
- package/dist/{chunk-Z5T5EPLF.js → chunk-FVG5DTS6.js} +3 -3
- package/dist/{chunk-453BC56K.js → chunk-G2LHEJLS.js} +4 -4
- package/dist/{chunk-OHOWEMHO.js → chunk-G5KNNOXX.js} +32 -26
- package/dist/{chunk-EHGCFAN6.js → chunk-G67PGZDM.js} +72 -30
- package/dist/{chunk-NQEXDLYH.js → chunk-GRFWCCUW.js} +28 -9
- package/dist/{chunk-PVZBDWLK.js → chunk-GRH7C3QN.js} +1 -1
- package/dist/{chunk-2OF7GB7J.js → chunk-GVPKRQWI.js} +77 -26
- package/dist/{chunk-VDKOJ5WD.js → chunk-GYRTURN7.js} +1 -1
- package/dist/{chunk-XJ3WC4G7.js → chunk-H3D6V3KM.js} +4 -3
- package/dist/chunk-HC2TEEKQ.js +283 -0
- package/dist/{chunk-BPCU5QJE.js → chunk-HC7FWIMY.js} +8 -7
- package/dist/{chunk-YFRC6GEN.js → chunk-HLL6GLZO.js} +3 -3
- package/dist/{chunk-TLDLOE27.js → chunk-HYDXR5K4.js} +56 -16
- package/dist/{chunk-X45JKZYW.js → chunk-I5FOWDOM.js} +11 -8
- package/dist/{chunk-OMBP3YSV.js → chunk-I5HY5Q3K.js} +19 -72
- package/dist/{chunk-WJJXUXSO.js → chunk-IC2PLPRP.js} +1 -1
- package/dist/{chunk-5NHDF6SM.js → chunk-IGTR66D2.js} +7 -7
- package/dist/{chunk-MR3MLNWV.js → chunk-IJ2CSCLP.js} +5 -2
- 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-THZ5Q2UG.js → chunk-JHBNG7OD.js} +16 -0
- package/dist/{chunk-LYD3C73Z.js → chunk-JI7HMGMO.js} +1 -1
- package/dist/{chunk-SFSD57M5.js → chunk-JJOITP32.js} +13 -12
- package/dist/{chunk-KT7X72J4.js → chunk-JXSXBSV6.js} +9 -1
- package/dist/{chunk-33BERJSG.js → chunk-K6RZE3F7.js} +1 -1
- package/dist/{chunk-YGRTRAWX.js → chunk-KDE4HKH2.js} +1 -0
- package/dist/{chunk-A7JOHU6Q.js → chunk-KT7CXVLT.js} +7 -6
- package/dist/chunk-KUBTN5TC.js +206 -0
- package/dist/{chunk-Q2ULPJJ6.js → chunk-KXWN75T2.js} +2 -2
- 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-7MKIOI7P.js → chunk-LQQERWMM.js} +13 -12
- package/dist/chunk-LXNWSQOE.js +87 -0
- package/dist/{chunk-ZBWL72TB.js → chunk-LXZXXOJ3.js} +1 -11
- package/dist/{chunk-K4WU4PVL.js → chunk-MEDZM6N7.js} +27 -11
- package/dist/{chunk-H3MAUKL7.js → chunk-MMKUMSZS.js} +204 -224
- package/dist/{chunk-DAXXLQKB.js → chunk-MO7TNIVQ.js} +1 -1
- package/dist/{chunk-2YE5K2D7.js → chunk-MPRW23TB.js} +50 -20
- package/dist/{chunk-ZN7LWXVC.js → chunk-MTHPNKQ4.js} +5 -5
- package/dist/{chunk-5FFZQPTT.js → chunk-MUKW4VRI.js} +13 -12
- package/dist/{chunk-UXGLM3B4.js → chunk-NEGOGYEO.js} +4 -4
- package/dist/{chunk-3VDLE5GA.js → chunk-NLJ5F7FS.js} +5 -5
- package/dist/{chunk-YNHS5G26.js → chunk-NQ2RDSI3.js} +2 -2
- package/dist/{chunk-IQCUYC42.js → chunk-O7SDCQD6.js} +25 -16
- package/dist/chunk-ODDJZVYL.js +476 -0
- package/dist/{chunk-JM7MSBWD.js → chunk-OG5AVHPY.js} +111 -29
- package/dist/{chunk-C4JUURO5.js → chunk-OT5X3VOQ.js} +1 -1
- package/dist/{chunk-MVNO35S5.js → chunk-OX6HZPVY.js} +21 -11
- package/dist/{chunk-5UPOHLBD.js → chunk-P2DFLKCN.js} +5 -5
- package/dist/{chunk-LDQY7K5W.js → chunk-P2JA3QTQ.js} +8 -7
- package/dist/{chunk-COP7NFSJ.js → chunk-P3GGL5JL.js} +3 -3
- package/dist/{chunk-6PLDJPQ3.js → chunk-PDID73QY.js} +197 -336
- package/dist/{chunk-CPXK5RSJ.js → chunk-PEUWV5YK.js} +3 -2
- package/dist/{chunk-FNKBJCNF.js → chunk-PHWYJ26A.js} +4 -4
- package/dist/{chunk-CYGCCNIC.js → chunk-PPRIEP4H.js} +36 -10
- package/dist/{chunk-VYMODH6P.js → chunk-PYF5EER5.js} +1 -1
- package/dist/{chunk-4AU37UL5.js → chunk-PYZ7VL5X.js} +3 -3
- package/dist/{chunk-X7H7TIOT.js → chunk-Q4R2O7XF.js} +9 -9
- package/dist/{chunk-CVBPTNG7.js → chunk-Q5DRFJPI.js} +8 -7
- package/dist/{chunk-5TRY5IMZ.js → chunk-Q6GUA5VE.js} +2 -2
- package/dist/{chunk-HEGPAGJT.js → chunk-QA7S7WVH.js} +56 -39
- package/dist/{chunk-X2T3AU67.js → chunk-QCIDV3AP.js} +3 -3
- package/dist/{chunk-3B6HI32S.js → chunk-QE4R2KT3.js} +1 -1
- package/dist/{chunk-LGL4QSGB.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-DN2K5EAH.js → chunk-QVIX6O76.js} +2 -2
- package/dist/{chunk-XLE7EDWR.js → chunk-R2LW5LGL.js} +387 -61
- package/dist/{chunk-OH4AABUT.js → chunk-R325CPYC.js} +1 -1
- package/dist/{chunk-JPNPTILP.js → chunk-R4O667NT.js} +1 -1
- package/dist/{chunk-WPVDACTL.js → chunk-RMB7MPIT.js} +1 -1
- package/dist/{chunk-2FGRDEAD.js → chunk-RQQ53CQJ.js} +1 -1
- package/dist/{chunk-37N6S4CU.js → chunk-RT2MBSJQ.js} +9 -8
- package/dist/{chunk-BGQ7H2KL.js → chunk-RYISNVIR.js} +29 -15
- package/dist/{chunk-LEG67A2R.js → chunk-SAU35JEB.js} +2 -11
- package/dist/{chunk-U2ZFCAPX.js → chunk-SITRHMZZ.js} +11 -8
- package/dist/{chunk-PT5G44WJ.js → chunk-SLAWONP2.js} +57 -22
- package/dist/{chunk-KXHYJGAV.js → chunk-TIG77LHS.js} +1 -1
- package/dist/{chunk-PAJ335VB.js → chunk-TJJ7S3GL.js} +5 -4
- package/dist/{chunk-SVKQDD7E.js → chunk-UK5BVJI7.js} +2 -2
- package/dist/{chunk-GU52ZMNY.js → chunk-UK5CZJ4A.js} +15 -13
- package/dist/{chunk-CVFVEDMV.js → chunk-UVH7PC5B.js} +7 -6
- package/dist/{chunk-7MMLCMV3.js → chunk-VH4W6LKI.js} +4 -3
- package/dist/{chunk-ESPLVOFC.js → chunk-VHCDSNXF.js} +2 -2
- package/dist/{chunk-VMEJGGXA.js → chunk-VHOCBKSA.js} +7 -6
- package/dist/chunk-VM56ZITS.js +356 -0
- package/dist/chunk-VQ6OPDS3.js +659 -0
- package/dist/{chunk-4KX6CBJ4.js → chunk-VSLHL2AZ.js} +2 -0
- package/dist/{chunk-CKD5563X.js → chunk-VX6OCQLN.js} +7 -6
- package/dist/{chunk-EPHVGD5Z.js → chunk-VXW3BCN2.js} +1 -1
- package/dist/{chunk-UCYSCKZV.js → chunk-VYSB4CTB.js} +2114 -1699
- package/dist/{chunk-IAWZQKUH.js → chunk-WF2PHYTE.js} +7 -6
- package/dist/{chunk-2WHSCEKX.js → chunk-WF3ZDT5Z.js} +11 -95
- package/dist/{chunk-P5XVG4PY.js → chunk-WX4ABVXL.js} +3 -3
- package/dist/{chunk-KXIA66EJ.js → chunk-X4SSIHH7.js} +39 -16
- package/dist/{chunk-WYA62MUL.js → chunk-X5PMVI7H.js} +3 -3
- package/dist/{chunk-WM2BRJCJ.js → chunk-XDMCPTDG.js} +215 -122
- package/dist/chunk-XNUH2AOW.js +382 -0
- package/dist/{chunk-XODBX3LN.js → chunk-XWP4ZGKN.js} +14 -19
- package/dist/{chunk-WTK4MLMF.js → chunk-XXV6ZSWY.js} +7 -6
- package/dist/{chunk-BFT3CN5L.js → chunk-YLQ63F5E.js} +8 -7
- package/dist/{chunk-W6V2L2FX.js → chunk-YNR25MNM.js} +78 -56
- package/dist/{chunk-S4SVK5DE.js → chunk-YVLANFBK.js} +29 -1
- package/dist/{chunk-YDBPAHWU.js → chunk-YXKHBSQJ.js} +14 -188
- package/dist/{chunk-IMR3MZDP.js → chunk-Z6CIQQUZ.js} +3 -2
- package/dist/{chunk-NJP3DEE5.js → chunk-ZAANJVLM.js} +2 -2
- package/dist/{chunk-KAZ5BYTQ.js → chunk-ZAOEFQ6K.js} +5 -4
- package/dist/{chunk-6FHQCLHQ.js → chunk-ZOTBKQLG.js} +2 -2
- package/dist/{collection-add-products-6JY2OYKB.js → collection-add-products-TXJAEXUT.js} +46 -46
- package/dist/{collection-create-BRMP6SIZ.js → collection-create-7ZQONUJL.js} +89 -17
- package/dist/collection-detail-FGXNWXAN.js +104 -0
- package/dist/{collection-edit-YLWUEU4C.js → collection-edit-ZFAECPWC.js} +35 -12
- package/dist/collection-icon-edit-642AZRHR.js +117 -0
- package/dist/collection-list-ZLBRTQAC.js +85 -0
- package/dist/collection-media-LMJFEFVY.js +655 -0
- package/dist/{collection-metadata-PBSEIVJ6.js → collection-metadata-AZRN32RU.js} +34 -34
- 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-SGVCP2O4.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-PZ4RLCCE.js → customer-detail-3KIDRBLW.js} +52 -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-LKFLDXVO.js} +14 -14
- package/dist/{customer-group-create-NA2UKCF6.js → customer-group-create-3KAC3R3N.js} +3 -3
- package/dist/{customer-group-detail-CQ7GI3CJ.js → customer-group-detail-KWHS7V6F.js} +53 -50
- package/dist/{customer-group-edit-3O6HAYYN.js → customer-group-edit-E7JX2L4J.js} +43 -22
- package/dist/customer-group-list-3FCJBXFY.js +57 -0
- package/dist/{customer-group-metadata-FBZAMX7J.js → customer-group-metadata-3QRU7FIE.js} +34 -34
- package/dist/{customer-list-MB6WZFMA.js → customer-list-JT6YE2IW.js} +11 -11
- package/dist/{customer-metadata-DNCPK22Y.js → customer-metadata-7DMBCQXW.js} +34 -34
- package/dist/{customers-add-customer-group-AJJG2XEW.js → customers-add-customer-group-IAGH6MJJ.js} +47 -46
- package/dist/{edit-inventory-item-MXA5NEWW.js → edit-inventory-item-QPWV4MSP.js} +55 -40
- package/dist/{edit-inventory-item-attributes-M2NUNSM7.js → edit-inventory-item-attributes-J7WHYKMK.js} +33 -33
- package/dist/{edit-reservation-6KA372WV.js → edit-reservation-PTUSCC6C.js} +29 -11
- package/dist/{edit-rules-2GVJU6O7.js → edit-rules-2WZOLTL7.js} +34 -34
- 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 +400 -328
- package/dist/inventory-create-RDVKGH2S.js +58 -0
- package/dist/{inventory-detail-47UAVORN.js → inventory-detail-LHWQTJ7S.js} +51 -47
- package/dist/{inventory-list-2JGX6BRI.js → inventory-list-Q2CCGYI5.js} +10 -10
- package/dist/{inventory-metadata-N2PZACPZ.js → inventory-metadata-CQHLKX4T.js} +34 -34
- package/dist/{inventory-stock-6JUYSL3S.js → inventory-stock-3TR47RNA.js} +38 -38
- 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-OET2D2VX.js → location-detail-ZRLP4XVJ.js} +36 -36
- package/dist/{location-edit-DMBF3CYZ.js → location-edit-T2CWF6N2.js} +3 -3
- package/dist/{location-fulfillment-providers-K6OKN6AY.js → location-fulfillment-providers-CL7PKPTT.js} +48 -48
- package/dist/location-list-HW5F37YZ.js +54 -0
- package/dist/{location-sales-channels-GKIWX6B2.js → location-sales-channels-Z4E5VA7M.js} +10 -11
- package/dist/{location-service-zone-create-ZS3UWJAA.js → location-service-zone-create-WZXZFMA2.js} +12 -12
- 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-5SYZKBQK.js} +12 -12
- 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-LTCJJFDI.js → login-JNIVGP2G.js} +32 -32
- package/dist/{manage-locations-TKLOHP3D.js → manage-locations-NGNUXP3N.js} +3 -3
- package/dist/{marketplace-add-currencies-6ANNBGZM.js → marketplace-add-currencies-ZBLGQQCX.js} +14 -14
- package/dist/marketplace-detail-RZWOCVGF.js +75 -0
- package/dist/{marketplace-edit-6Q3G2OY5.js → marketplace-edit-WG6LMQ2P.js} +5 -5
- package/dist/{marketplace-metadata-KUUCCF4P.js → marketplace-metadata-74YUQ6UC.js} +34 -34
- package/dist/offer-detail-page-XS52BE5U.js +631 -0
- package/dist/offer-variant-detail-page-QQGOMRUY.js +144 -0
- package/dist/offers-UUFYROYV.js +198 -0
- package/dist/{order-create-claim-QWSJZUEM.js → order-create-claim-AG3GMAE2.js} +283 -258
- package/dist/{order-create-edit-M4YFR6U7.js → order-create-edit-N3TDQQIT.js} +217 -122
- package/dist/{order-create-exchange-RD7VOZSB.js → order-create-exchange-ZCQBC54O.js} +301 -273
- package/dist/{order-create-refund-XHQREMTG.js → order-create-refund-HXFCDZV5.js} +37 -37
- package/dist/{order-create-return-EOKSXD2G.js → order-create-return-VUHKWVQM.js} +55 -28
- package/dist/{order-detail-QUPHQYYD.js → order-detail-CTZELMAQ.js} +53 -50
- package/dist/{order-edit-billing-address-WAG2HYJP.js → order-edit-billing-address-S4YOG2EE.js} +35 -35
- package/dist/{order-edit-email-BVINKRKO.js → order-edit-email-VSAS3M2E.js} +34 -34
- package/dist/{order-edit-shipping-address-ZC5HY26W.js → order-edit-shipping-address-FZMDRJU5.js} +34 -34
- package/dist/{order-list-2PKEFG4L.js → order-list-EFBU3W6N.js} +20 -19
- package/dist/{order-metadata-NI65ZEFX.js → order-metadata-FKM3ZDNM.js} +34 -34
- package/dist/{order-request-transfer-X7D3T6YH.js → order-request-transfer-BCE6ED5E.js} +34 -34
- package/dist/pages/index.d.ts +574 -464
- package/dist/pages/index.js +194 -186
- package/dist/{payout-detail-TWO6HN4E.js → payout-detail-LY7SRCKO.js} +3 -3
- package/dist/{payout-list-7WJZFNW5.js → payout-list-WE3H7FKO.js} +9 -9
- package/dist/{price-list-configuration-Q5H22ZE2.js → price-list-configuration-4UNGTKCM.js} +15 -14
- package/dist/price-list-create-XGRFJ74B.js +77 -0
- package/dist/price-list-detail-AE6S3CEM.js +108 -0
- package/dist/{price-list-edit-YY4SXEI3.js → price-list-edit-4JPSL2NL.js} +28 -12
- package/dist/{price-list-list-OIOY43TF.js → price-list-list-EM3TNZQG.js} +12 -12
- package/dist/price-list-prices-add-DF6W4N6L.js +72 -0
- package/dist/{price-list-prices-edit-GS7L2BYX.js → price-list-prices-edit-AXJJTMKL.js} +35 -35
- package/dist/{product-add-existing-attributes-3Q2LGRQO.js → product-add-existing-attributes-UVVJDOEN.js} +52 -49
- package/dist/{product-attributes-C3KHQF2I.js → product-attributes-PCZDEFHM.js} +4 -4
- package/dist/{product-bulk-edit-J3CMBZN2.js → product-bulk-edit-FGB4T2KQ.js} +4 -4
- package/dist/product-create-3PZNLIDT.js +77 -0
- package/dist/{product-create-attribute-XARMC6FJ.js → product-create-attribute-6AJPI6IJ.js} +21 -11
- package/dist/{product-create-variant-6VUKYLWE.js → product-create-variant-2OCZA6GW.js} +8 -8
- package/dist/product-detail-IVRD2OHL.js +110 -0
- package/dist/{product-edit-F4CKOIUO.js → product-edit-KMK7CMLI.js} +9 -5
- package/dist/product-edit-attribute-FCEYWZWL.js +336 -0
- package/dist/product-list-IMKQUEIM.js +90 -0
- package/dist/{product-media-PKIQO5ZS.js → product-media-B5D2HUQF.js} +14 -17
- package/dist/{product-metadata-HMRYPUVS.js → product-metadata-6EFF4IPX.js} +35 -35
- package/dist/{product-organization-BFWDCHP4.js → product-organization-5FUCDOGD.js} +86 -10
- package/dist/{product-sales-channels-WKQSYOEX.js → product-sales-channels-GUK6FTDA.js} +9 -10
- package/dist/{product-shipping-profile-WDLKA2SN.js → product-shipping-profile-UFIRKPTG.js} +4 -4
- package/dist/{product-tag-create-JPRBCLRG.js → product-tag-create-PSY5Q437.js} +33 -33
- package/dist/{product-tag-detail-KAVDX34C.js → product-tag-detail-L5RXBCPS.js} +59 -57
- package/dist/{product-tag-edit-HZSUOL64.js → product-tag-edit-NVGUS3CY.js} +33 -33
- package/dist/{product-tag-list-FECZ4YS2.js → product-tag-list-UX2GZALX.js} +59 -57
- package/dist/{product-tag-metadata-YP4SOBCH.js → product-tag-metadata-T4ZYOIXY.js} +34 -34
- package/dist/{product-type-create-RHG4KEAV.js → product-type-create-PPTAW3DW.js} +3 -3
- package/dist/{product-type-detail-BWAJ2JO5.js → product-type-detail-LJWSJ6V5.js} +45 -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-AQ3GEAZX.js} +10 -10
- package/dist/{product-type-metadata-EJOBRGZ6.js → product-type-metadata-OJJYUALT.js} +34 -34
- package/dist/{product-variant-detail-VXWES7XS.js → product-variant-detail-FZL5OZFE.js} +33 -33
- package/dist/{product-variant-edit-XH4R6M3D.js → product-variant-edit-LSSJW4DS.js} +35 -35
- package/dist/{product-variant-metadata-Y6SO5UJI.js → product-variant-metadata-D5AUINFJ.js} +34 -34
- 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-N7JHJGSW.js +96 -0
- package/dist/{promotion-edit-details-TKRC5HES.js → promotion-edit-details-GXA4FDTK.js} +29 -17
- package/dist/{promotion-list-SSWK44YZ.js → promotion-list-MIL2B752.js} +12 -12
- package/dist/{refund-reason-create-XDJFPVZL.js → refund-reason-create-HTTX2UGC.js} +33 -33
- package/dist/{refund-reason-edit-VI5DSC7T.js → refund-reason-edit-I7XXP4EP.js} +33 -33
- package/dist/{refund-reason-list-3PYLHTJZ.js → refund-reason-list-YYCNRERE.js} +50 -48
- package/dist/{region-add-countries-COXN4LP3.js → region-add-countries-WIJCJPOX.js} +13 -13
- package/dist/{region-create-P66Q65XY.js → region-create-B3I3W7QJ.js} +14 -14
- package/dist/{region-detail-P2HHBYFV.js → region-detail-3OFMBGML.js} +10 -10
- package/dist/{region-edit-XFE54SAO.js → region-edit-Z4VYO3TQ.js} +5 -5
- package/dist/{region-list-2XXKCDDX.js → region-list-DD5S5BD2.js} +11 -11
- package/dist/{region-metadata-6RR2SU5H.js → region-metadata-RRUP56B2.js} +34 -34
- package/dist/{reservation-create-LRSOJH6K.js → reservation-create-3RVQVMRF.js} +5 -5
- package/dist/{reservation-detail-L4B27AVM.js → reservation-detail-QOVPIIMC.js} +42 -38
- package/dist/{reservation-list-YWCTHZUL.js → reservation-list-EJPMH7UX.js} +11 -11
- package/dist/{reservation-metadata-W6IYXGPB.js → reservation-metadata-OAEUUCRG.js} +34 -34
- package/dist/{reset-password-EBZ65YXV.js → reset-password-AZ2RPOG5.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-74IYCLLS.js → return-reason-list-PFDQCDWA.js} +24 -22
- package/dist/{sales-channel-add-products-6UPTDZPP.js → sales-channel-add-products-FXWQ4LZ6.js} +47 -47
- package/dist/{sales-channel-create-XBR3QESI.js → sales-channel-create-77PRY5T6.js} +4 -4
- package/dist/{sales-channel-detail-H6XNWIK6.js → sales-channel-detail-HVPDMOUJ.js} +44 -44
- package/dist/{sales-channel-edit-ILBZBQP4.js → sales-channel-edit-PBN2XYEI.js} +4 -4
- package/dist/sales-channel-list-WBG6DUZJ.js +52 -0
- package/dist/{sales-channel-metadata-ILMPQGG3.js → sales-channel-metadata-RXT26TCT.js} +34 -34
- package/dist/{shipping-option-type-create-6JJFI3KO.js → shipping-option-type-create-2EVIHSGN.js} +33 -33
- package/dist/{shipping-option-type-detail-QOQ4EE2K.js → shipping-option-type-detail-BKFYUX2T.js} +34 -34
- package/dist/{shipping-option-type-edit-OQWZ7PWX.js → shipping-option-type-edit-LTH6PE7B.js} +33 -33
- package/dist/shipping-option-type-list-7F5R6ACH.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-TFG6BEVX.js → shipping-profile-metadata-WRFZ55C3.js} +34 -34
- package/dist/{shipping-profiles-list-JF2SQIQ7.js → shipping-profiles-list-KXXYHJIY.js} +9 -9
- package/dist/{store-address-edit-PKIBRFH4.js → store-address-edit-M6A37RFY.js} +4 -4
- package/dist/{store-bulk-edit-BNF3HH5K.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-MIMJEBST.js → store-create-6OQW7F4U.js} +37 -37
- package/dist/store-details-YV4U4GZK.js +104 -0
- package/dist/{store-edit-XNZRRLYY.js → store-edit-33N7EQE2.js} +59 -21
- package/dist/store-list-VTV3TYJN.js +82 -0
- package/dist/{store-member-invite-J5XSPWMW.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-FN4W4SQK.js → tax-region-create-7FXHJKVB.js} +34 -34
- package/dist/tax-region-detail-6AFMQQP7.js +69 -0
- package/dist/{tax-region-edit-RCGY5D3G.js → tax-region-edit-N64TGNAG.js} +33 -33
- package/dist/{tax-region-list-FIBHEFVD.js → tax-region-list-IBT5YP3U.js} +8 -8
- package/dist/{tax-region-metadata-NKJXZ4SR.js → tax-region-metadata-MKXFQ5B7.js} +34 -34
- package/dist/{tax-region-province-create-OVLIZPNP.js → tax-region-province-create-7YT2LNJG.js} +3 -3
- package/dist/{tax-region-province-detail-L2TWOQ7H.js → tax-region-province-detail-CBCYMSGF.js} +40 -40
- package/dist/{tax-region-tax-override-create-767T73RO.js → tax-region-tax-override-create-DFOUTYWV.js} +62 -62
- package/dist/{tax-region-tax-override-edit-T2BK7ZPA.js → tax-region-tax-override-edit-PY7XG5KR.js} +62 -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-MMVBN3AE.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-LSWNFFLT.js} +12 -12
- package/dist/{user-list-TR7RSGUO.js → user-list-B66HEMCD.js} +8 -8
- package/dist/{user-metadata-IZCJT3N5.js → user-metadata-5UFWFXLX.js} +34 -34
- package/package.json +25 -17
- package/dist/[id]-272FUOXG.js +0 -503
- package/dist/attribute-list-SK3ZYHDB.js +0 -61
- package/dist/category-detail-R2VZJEAV.js +0 -107
- package/dist/category-organize-UY4M4N7S.js +0 -112
- package/dist/chunk-45CPSFTO.js +0 -371
- package/dist/chunk-4GFS57XI.js +0 -390
- package/dist/chunk-54RTJBYO.js +0 -153
- package/dist/chunk-6IXCZ3FF.js +0 -473
- package/dist/chunk-7O6WJTBI.js +0 -139
- package/dist/chunk-AKTAFKIU.js +0 -228
- package/dist/chunk-CKNQJPAG.js +0 -135
- package/dist/chunk-FG4NHVBO.js +0 -1755
- package/dist/chunk-GVEF6UDT.js +0 -8
- package/dist/chunk-LFKTHNWI.js +0 -83
- package/dist/chunk-RXM4B6HR.js +0 -8
- package/dist/chunk-SWL7ZCP3.js +0 -11
- package/dist/chunk-UM7ZR3VU.js +0 -14
- package/dist/collection-detail-PDR53MV5.js +0 -98
- package/dist/collection-list-ZAMXJO4H.js +0 -82
- package/dist/commission-rate-create-O2TZ56RG.js +0 -782
- package/dist/commission-rate-detail-Y5NPDWQN.js +0 -85
- package/dist/commission-rate-edit-X5RJS6XC.js +0 -767
- package/dist/commission-rate-list-Y5XLEO67.js +0 -26
- package/dist/customer-group-list-RGCIS44T.js +0 -57
- package/dist/inventory-create-VIIAVANZ.js +0 -58
- package/dist/loader-O4EABIXE.js +0 -26
- package/dist/location-list-YH3X5HHG.js +0 -54
- package/dist/location-service-zone-shipping-option-create-FK447EYC.js +0 -60
- package/dist/marketplace-detail-VXY6MKJS.js +0 -75
- package/dist/offers-O4BI5PLZ.js +0 -440
- package/dist/order-allocate-items-XSJ65QFV.js +0 -563
- package/dist/order-create-fulfillment-QT3QP5EE.js +0 -643
- package/dist/order-create-shipment-664JCOKN.js +0 -214
- package/dist/order-receive-return-KJPDZB5H.js +0 -562
- package/dist/price-list-create-W2NKRFCV.js +0 -77
- package/dist/price-list-detail-6M2QQ63Q.js +0 -104
- package/dist/price-list-prices-add-KGW5H7JL.js +0 -72
- package/dist/product-create-3WA2FHND.js +0 -71
- package/dist/product-detail-OKHNAVKL.js +0 -101
- package/dist/product-edit-attribute-LG2ZM6HQ.js +0 -175
- package/dist/product-list-OEM73MI2.js +0 -87
- package/dist/promotion-create-7HDNJF2T.js +0 -57
- package/dist/promotion-detail-KTPZUDXT.js +0 -90
- package/dist/sales-channel-list-VA2OASCG.js +0 -53
- package/dist/shipping-option-type-list-YRDWTDMK.js +0 -60
- package/dist/store-details-TGB2GFLX.js +0 -121
- package/dist/store-list-BLXUWEG3.js +0 -82
- package/dist/tax-region-detail-XN4P6VR5.js +0 -69
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
|
}[];
|
|
@@ -1413,13 +1512,15 @@ declare const ProductDetailPage: (({ children }: {
|
|
|
1413
1512
|
MainActiveEditSection: ({ product, }: {
|
|
1414
1513
|
product: HttpTypes.AdminProduct & {
|
|
1415
1514
|
sellers?: SellerDTO[];
|
|
1515
|
+
attributes?: _mercurjs_dashboard_shared.ProductChangeAttribute[];
|
|
1416
1516
|
};
|
|
1417
1517
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
1418
1518
|
MainGeneralSection: ({ product, }: {
|
|
1419
1519
|
product: HttpTypes.AdminProduct;
|
|
1420
1520
|
}) => react_jsx_runtime.JSX.Element;
|
|
1421
|
-
MainMediaSection: ({ product, }: {
|
|
1521
|
+
MainMediaSection: ({ product, readOnly, }: {
|
|
1422
1522
|
product: HttpTypes.AdminProduct;
|
|
1523
|
+
readOnly?: boolean;
|
|
1423
1524
|
}) => react_jsx_runtime.JSX.Element;
|
|
1424
1525
|
MainAttributeSection: ({ product, }: {
|
|
1425
1526
|
product: {
|
|
@@ -1441,6 +1542,7 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1441
1542
|
handle: z.ZodOptional<z.ZodString>;
|
|
1442
1543
|
description: z.ZodOptional<z.ZodString>;
|
|
1443
1544
|
discountable: z.ZodBoolean;
|
|
1545
|
+
globally_available: z.ZodBoolean;
|
|
1444
1546
|
type_id: z.ZodOptional<z.ZodString>;
|
|
1445
1547
|
collection_id: z.ZodOptional<z.ZodString>;
|
|
1446
1548
|
category_id: z.ZodString;
|
|
@@ -1478,8 +1580,8 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1478
1580
|
use_for_variants: boolean;
|
|
1479
1581
|
values?: string | string[] | undefined;
|
|
1480
1582
|
type?: string | undefined;
|
|
1481
|
-
is_required?: boolean | undefined;
|
|
1482
1583
|
attribute_id?: string | undefined;
|
|
1584
|
+
is_required?: boolean | undefined;
|
|
1483
1585
|
available_values?: {
|
|
1484
1586
|
id: string;
|
|
1485
1587
|
name: string;
|
|
@@ -1490,8 +1592,8 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1490
1592
|
use_for_variants: boolean;
|
|
1491
1593
|
values?: string | string[] | undefined;
|
|
1492
1594
|
type?: string | undefined;
|
|
1493
|
-
is_required?: boolean | undefined;
|
|
1494
1595
|
attribute_id?: string | undefined;
|
|
1596
|
+
is_required?: boolean | undefined;
|
|
1495
1597
|
available_values?: {
|
|
1496
1598
|
id: string;
|
|
1497
1599
|
name: string;
|
|
@@ -1520,37 +1622,37 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1520
1622
|
variant_rank: number;
|
|
1521
1623
|
should_create: boolean;
|
|
1522
1624
|
length?: string | number | undefined;
|
|
1523
|
-
|
|
1524
|
-
|
|
1625
|
+
options?: Record<string, string> | undefined;
|
|
1626
|
+
is_default?: boolean | undefined;
|
|
1525
1627
|
sku?: string | undefined;
|
|
1526
|
-
|
|
1628
|
+
ean?: string | undefined;
|
|
1629
|
+
upc?: string | undefined;
|
|
1630
|
+
width?: string | number | undefined;
|
|
1527
1631
|
height?: string | number | undefined;
|
|
1632
|
+
weight?: string | number | undefined;
|
|
1528
1633
|
origin_country?: string | undefined;
|
|
1529
|
-
|
|
1634
|
+
hs_code?: string | undefined;
|
|
1530
1635
|
material?: string | undefined;
|
|
1531
|
-
|
|
1532
|
-
is_default?: boolean | undefined;
|
|
1636
|
+
mid_code?: string | undefined;
|
|
1533
1637
|
barcode?: string | undefined;
|
|
1534
|
-
ean?: string | undefined;
|
|
1535
|
-
upc?: string | undefined;
|
|
1536
1638
|
}, {
|
|
1537
1639
|
title: string;
|
|
1538
1640
|
variant_rank: number;
|
|
1539
1641
|
should_create: boolean;
|
|
1540
1642
|
length?: string | number | undefined;
|
|
1541
|
-
|
|
1542
|
-
|
|
1643
|
+
options?: Record<string, string> | undefined;
|
|
1644
|
+
is_default?: boolean | undefined;
|
|
1543
1645
|
sku?: string | undefined;
|
|
1544
|
-
|
|
1646
|
+
ean?: string | undefined;
|
|
1647
|
+
upc?: string | undefined;
|
|
1648
|
+
width?: string | number | undefined;
|
|
1545
1649
|
height?: string | number | undefined;
|
|
1650
|
+
weight?: string | number | undefined;
|
|
1546
1651
|
origin_country?: string | undefined;
|
|
1547
|
-
|
|
1652
|
+
hs_code?: string | undefined;
|
|
1548
1653
|
material?: string | undefined;
|
|
1549
|
-
|
|
1550
|
-
is_default?: boolean | undefined;
|
|
1654
|
+
mid_code?: string | undefined;
|
|
1551
1655
|
barcode?: string | undefined;
|
|
1552
|
-
ean?: string | undefined;
|
|
1553
|
-
upc?: string | undefined;
|
|
1554
1656
|
}>, "many">;
|
|
1555
1657
|
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1556
1658
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1570,232 +1672,236 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1570
1672
|
}>, "many">>;
|
|
1571
1673
|
}, "strip", z.ZodTypeAny, {
|
|
1572
1674
|
title: string;
|
|
1675
|
+
category_id: string;
|
|
1573
1676
|
variants: {
|
|
1574
1677
|
title: string;
|
|
1575
1678
|
variant_rank: number;
|
|
1576
1679
|
should_create: boolean;
|
|
1577
1680
|
length?: string | number | undefined;
|
|
1578
|
-
|
|
1579
|
-
|
|
1681
|
+
options?: Record<string, string> | undefined;
|
|
1682
|
+
is_default?: boolean | undefined;
|
|
1580
1683
|
sku?: string | undefined;
|
|
1581
|
-
|
|
1684
|
+
ean?: string | undefined;
|
|
1685
|
+
upc?: string | undefined;
|
|
1686
|
+
width?: string | number | undefined;
|
|
1582
1687
|
height?: string | number | undefined;
|
|
1688
|
+
weight?: string | number | undefined;
|
|
1583
1689
|
origin_country?: string | undefined;
|
|
1584
|
-
|
|
1690
|
+
hs_code?: string | undefined;
|
|
1585
1691
|
material?: string | undefined;
|
|
1586
|
-
|
|
1587
|
-
is_default?: boolean | undefined;
|
|
1692
|
+
mid_code?: string | undefined;
|
|
1588
1693
|
barcode?: string | undefined;
|
|
1589
|
-
ean?: string | undefined;
|
|
1590
|
-
upc?: string | undefined;
|
|
1591
1694
|
}[];
|
|
1592
1695
|
discountable: boolean;
|
|
1593
|
-
|
|
1696
|
+
globally_available: boolean;
|
|
1594
1697
|
length?: string | undefined;
|
|
1595
|
-
weight?: string | undefined;
|
|
1596
|
-
width?: string | undefined;
|
|
1597
|
-
hs_code?: string | undefined;
|
|
1598
|
-
height?: string | undefined;
|
|
1599
|
-
origin_country?: string | undefined;
|
|
1600
|
-
mid_code?: string | undefined;
|
|
1601
|
-
material?: string | undefined;
|
|
1602
1698
|
description?: string | undefined;
|
|
1603
1699
|
handle?: string | undefined;
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1700
|
+
media?: {
|
|
1701
|
+
url: string;
|
|
1702
|
+
isThumbnail: boolean;
|
|
1703
|
+
file?: any;
|
|
1704
|
+
id?: string | undefined;
|
|
1705
|
+
}[] | undefined;
|
|
1607
1706
|
collection_id?: string | undefined;
|
|
1707
|
+
type_id?: string | undefined;
|
|
1608
1708
|
attributes?: {
|
|
1609
1709
|
title: string;
|
|
1610
1710
|
is_custom: boolean;
|
|
1611
1711
|
use_for_variants: boolean;
|
|
1612
1712
|
values?: string | string[] | undefined;
|
|
1613
1713
|
type?: string | undefined;
|
|
1614
|
-
is_required?: boolean | undefined;
|
|
1615
1714
|
attribute_id?: string | undefined;
|
|
1715
|
+
is_required?: boolean | undefined;
|
|
1616
1716
|
available_values?: {
|
|
1617
1717
|
id: string;
|
|
1618
1718
|
name: string;
|
|
1619
1719
|
}[] | undefined;
|
|
1620
1720
|
}[] | undefined;
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
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;
|
|
1627
1729
|
seller_ids?: string[] | undefined;
|
|
1730
|
+
tags?: string[] | undefined;
|
|
1628
1731
|
}, {
|
|
1629
1732
|
title: string;
|
|
1733
|
+
category_id: string;
|
|
1630
1734
|
variants: {
|
|
1631
1735
|
title: string;
|
|
1632
1736
|
variant_rank: number;
|
|
1633
1737
|
should_create: boolean;
|
|
1634
1738
|
length?: string | number | undefined;
|
|
1635
|
-
|
|
1636
|
-
|
|
1739
|
+
options?: Record<string, string> | undefined;
|
|
1740
|
+
is_default?: boolean | undefined;
|
|
1637
1741
|
sku?: string | undefined;
|
|
1638
|
-
|
|
1742
|
+
ean?: string | undefined;
|
|
1743
|
+
upc?: string | undefined;
|
|
1744
|
+
width?: string | number | undefined;
|
|
1639
1745
|
height?: string | number | undefined;
|
|
1746
|
+
weight?: string | number | undefined;
|
|
1640
1747
|
origin_country?: string | undefined;
|
|
1641
|
-
|
|
1748
|
+
hs_code?: string | undefined;
|
|
1642
1749
|
material?: string | undefined;
|
|
1643
|
-
|
|
1644
|
-
is_default?: boolean | undefined;
|
|
1750
|
+
mid_code?: string | undefined;
|
|
1645
1751
|
barcode?: string | undefined;
|
|
1646
|
-
ean?: string | undefined;
|
|
1647
|
-
upc?: string | undefined;
|
|
1648
1752
|
}[];
|
|
1649
1753
|
discountable: boolean;
|
|
1650
|
-
|
|
1754
|
+
globally_available: boolean;
|
|
1651
1755
|
length?: string | undefined;
|
|
1652
|
-
weight?: string | undefined;
|
|
1653
|
-
width?: string | undefined;
|
|
1654
|
-
hs_code?: string | undefined;
|
|
1655
|
-
height?: string | undefined;
|
|
1656
|
-
origin_country?: string | undefined;
|
|
1657
|
-
mid_code?: string | undefined;
|
|
1658
|
-
material?: string | undefined;
|
|
1659
1756
|
description?: string | undefined;
|
|
1660
1757
|
handle?: string | undefined;
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1758
|
+
media?: {
|
|
1759
|
+
url: string;
|
|
1760
|
+
isThumbnail: boolean;
|
|
1761
|
+
file?: any;
|
|
1762
|
+
id?: string | undefined;
|
|
1763
|
+
}[] | undefined;
|
|
1664
1764
|
collection_id?: string | undefined;
|
|
1765
|
+
type_id?: string | undefined;
|
|
1665
1766
|
attributes?: {
|
|
1666
1767
|
title: string;
|
|
1667
1768
|
is_custom: boolean;
|
|
1668
1769
|
use_for_variants: boolean;
|
|
1669
1770
|
values?: string | string[] | undefined;
|
|
1670
1771
|
type?: string | undefined;
|
|
1671
|
-
is_required?: boolean | undefined;
|
|
1672
1772
|
attribute_id?: string | undefined;
|
|
1773
|
+
is_required?: boolean | undefined;
|
|
1673
1774
|
available_values?: {
|
|
1674
1775
|
id: string;
|
|
1675
1776
|
name: string;
|
|
1676
1777
|
}[] | undefined;
|
|
1677
1778
|
}[] | undefined;
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
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;
|
|
1684
1787
|
seller_ids?: string[] | undefined;
|
|
1788
|
+
tags?: string[] | undefined;
|
|
1685
1789
|
}>, {
|
|
1686
1790
|
title: string;
|
|
1791
|
+
category_id: string;
|
|
1687
1792
|
variants: {
|
|
1688
1793
|
title: string;
|
|
1689
1794
|
variant_rank: number;
|
|
1690
1795
|
should_create: boolean;
|
|
1691
1796
|
length?: string | number | undefined;
|
|
1692
|
-
|
|
1693
|
-
|
|
1797
|
+
options?: Record<string, string> | undefined;
|
|
1798
|
+
is_default?: boolean | undefined;
|
|
1694
1799
|
sku?: string | undefined;
|
|
1695
|
-
|
|
1800
|
+
ean?: string | undefined;
|
|
1801
|
+
upc?: string | undefined;
|
|
1802
|
+
width?: string | number | undefined;
|
|
1696
1803
|
height?: string | number | undefined;
|
|
1804
|
+
weight?: string | number | undefined;
|
|
1697
1805
|
origin_country?: string | undefined;
|
|
1698
|
-
|
|
1806
|
+
hs_code?: string | undefined;
|
|
1699
1807
|
material?: string | undefined;
|
|
1700
|
-
|
|
1701
|
-
is_default?: boolean | undefined;
|
|
1808
|
+
mid_code?: string | undefined;
|
|
1702
1809
|
barcode?: string | undefined;
|
|
1703
|
-
ean?: string | undefined;
|
|
1704
|
-
upc?: string | undefined;
|
|
1705
1810
|
}[];
|
|
1706
1811
|
discountable: boolean;
|
|
1707
|
-
|
|
1812
|
+
globally_available: boolean;
|
|
1708
1813
|
length?: string | undefined;
|
|
1709
|
-
weight?: string | undefined;
|
|
1710
|
-
width?: string | undefined;
|
|
1711
|
-
hs_code?: string | undefined;
|
|
1712
|
-
height?: string | undefined;
|
|
1713
|
-
origin_country?: string | undefined;
|
|
1714
|
-
mid_code?: string | undefined;
|
|
1715
|
-
material?: string | undefined;
|
|
1716
1814
|
description?: string | undefined;
|
|
1717
1815
|
handle?: string | undefined;
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1816
|
+
media?: {
|
|
1817
|
+
url: string;
|
|
1818
|
+
isThumbnail: boolean;
|
|
1819
|
+
file?: any;
|
|
1820
|
+
id?: string | undefined;
|
|
1821
|
+
}[] | undefined;
|
|
1721
1822
|
collection_id?: string | undefined;
|
|
1823
|
+
type_id?: string | undefined;
|
|
1722
1824
|
attributes?: {
|
|
1723
1825
|
title: string;
|
|
1724
1826
|
is_custom: boolean;
|
|
1725
1827
|
use_for_variants: boolean;
|
|
1726
1828
|
values?: string | string[] | undefined;
|
|
1727
1829
|
type?: string | undefined;
|
|
1728
|
-
is_required?: boolean | undefined;
|
|
1729
1830
|
attribute_id?: string | undefined;
|
|
1831
|
+
is_required?: boolean | undefined;
|
|
1730
1832
|
available_values?: {
|
|
1731
1833
|
id: string;
|
|
1732
1834
|
name: string;
|
|
1733
1835
|
}[] | undefined;
|
|
1734
1836
|
}[] | undefined;
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
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;
|
|
1741
1845
|
seller_ids?: string[] | undefined;
|
|
1846
|
+
tags?: string[] | undefined;
|
|
1742
1847
|
}, {
|
|
1743
1848
|
title: string;
|
|
1849
|
+
category_id: string;
|
|
1744
1850
|
variants: {
|
|
1745
1851
|
title: string;
|
|
1746
1852
|
variant_rank: number;
|
|
1747
1853
|
should_create: boolean;
|
|
1748
1854
|
length?: string | number | undefined;
|
|
1749
|
-
|
|
1750
|
-
|
|
1855
|
+
options?: Record<string, string> | undefined;
|
|
1856
|
+
is_default?: boolean | undefined;
|
|
1751
1857
|
sku?: string | undefined;
|
|
1752
|
-
|
|
1858
|
+
ean?: string | undefined;
|
|
1859
|
+
upc?: string | undefined;
|
|
1860
|
+
width?: string | number | undefined;
|
|
1753
1861
|
height?: string | number | undefined;
|
|
1862
|
+
weight?: string | number | undefined;
|
|
1754
1863
|
origin_country?: string | undefined;
|
|
1755
|
-
|
|
1864
|
+
hs_code?: string | undefined;
|
|
1756
1865
|
material?: string | undefined;
|
|
1757
|
-
|
|
1758
|
-
is_default?: boolean | undefined;
|
|
1866
|
+
mid_code?: string | undefined;
|
|
1759
1867
|
barcode?: string | undefined;
|
|
1760
|
-
ean?: string | undefined;
|
|
1761
|
-
upc?: string | undefined;
|
|
1762
1868
|
}[];
|
|
1763
1869
|
discountable: boolean;
|
|
1764
|
-
|
|
1870
|
+
globally_available: boolean;
|
|
1765
1871
|
length?: string | undefined;
|
|
1766
|
-
weight?: string | undefined;
|
|
1767
|
-
width?: string | undefined;
|
|
1768
|
-
hs_code?: string | undefined;
|
|
1769
|
-
height?: string | undefined;
|
|
1770
|
-
origin_country?: string | undefined;
|
|
1771
|
-
mid_code?: string | undefined;
|
|
1772
|
-
material?: string | undefined;
|
|
1773
1872
|
description?: string | undefined;
|
|
1774
1873
|
handle?: string | undefined;
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1874
|
+
media?: {
|
|
1875
|
+
url: string;
|
|
1876
|
+
isThumbnail: boolean;
|
|
1877
|
+
file?: any;
|
|
1878
|
+
id?: string | undefined;
|
|
1879
|
+
}[] | undefined;
|
|
1778
1880
|
collection_id?: string | undefined;
|
|
1881
|
+
type_id?: string | undefined;
|
|
1779
1882
|
attributes?: {
|
|
1780
1883
|
title: string;
|
|
1781
1884
|
is_custom: boolean;
|
|
1782
1885
|
use_for_variants: boolean;
|
|
1783
1886
|
values?: string | string[] | undefined;
|
|
1784
1887
|
type?: string | undefined;
|
|
1785
|
-
is_required?: boolean | undefined;
|
|
1786
1888
|
attribute_id?: string | undefined;
|
|
1889
|
+
is_required?: boolean | undefined;
|
|
1787
1890
|
available_values?: {
|
|
1788
1891
|
id: string;
|
|
1789
1892
|
name: string;
|
|
1790
1893
|
}[] | undefined;
|
|
1791
1894
|
}[] | undefined;
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
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;
|
|
1798
1903
|
seller_ids?: string[] | undefined;
|
|
1904
|
+
tags?: string[] | undefined;
|
|
1799
1905
|
}>;
|
|
1800
1906
|
|
|
1801
1907
|
type ProductCreateSchemaType = z.infer<typeof ProductCreateSchema>;
|
|
@@ -1812,244 +1918,248 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
1812
1918
|
(): react_jsx_runtime.JSX.Element;
|
|
1813
1919
|
_tabMeta: TabDefinition<{
|
|
1814
1920
|
title: string;
|
|
1921
|
+
category_id: string;
|
|
1815
1922
|
variants: {
|
|
1816
1923
|
title: string;
|
|
1817
1924
|
variant_rank: number;
|
|
1818
1925
|
should_create: boolean;
|
|
1819
1926
|
length?: string | number | undefined;
|
|
1820
|
-
|
|
1821
|
-
|
|
1927
|
+
options?: Record<string, string> | undefined;
|
|
1928
|
+
is_default?: boolean | undefined;
|
|
1822
1929
|
sku?: string | undefined;
|
|
1823
|
-
|
|
1930
|
+
ean?: string | undefined;
|
|
1931
|
+
upc?: string | undefined;
|
|
1932
|
+
width?: string | number | undefined;
|
|
1824
1933
|
height?: string | number | undefined;
|
|
1934
|
+
weight?: string | number | undefined;
|
|
1825
1935
|
origin_country?: string | undefined;
|
|
1826
|
-
|
|
1936
|
+
hs_code?: string | undefined;
|
|
1827
1937
|
material?: string | undefined;
|
|
1828
|
-
|
|
1829
|
-
is_default?: boolean | undefined;
|
|
1938
|
+
mid_code?: string | undefined;
|
|
1830
1939
|
barcode?: string | undefined;
|
|
1831
|
-
ean?: string | undefined;
|
|
1832
|
-
upc?: string | undefined;
|
|
1833
1940
|
}[];
|
|
1834
1941
|
discountable: boolean;
|
|
1835
|
-
|
|
1942
|
+
globally_available: boolean;
|
|
1836
1943
|
length?: string | undefined;
|
|
1837
|
-
weight?: string | undefined;
|
|
1838
|
-
width?: string | undefined;
|
|
1839
|
-
hs_code?: string | undefined;
|
|
1840
|
-
height?: string | undefined;
|
|
1841
|
-
origin_country?: string | undefined;
|
|
1842
|
-
mid_code?: string | undefined;
|
|
1843
|
-
material?: string | undefined;
|
|
1844
1944
|
description?: string | undefined;
|
|
1845
1945
|
handle?: string | undefined;
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1946
|
+
media?: {
|
|
1947
|
+
url: string;
|
|
1948
|
+
isThumbnail: boolean;
|
|
1949
|
+
file?: any;
|
|
1950
|
+
id?: string | undefined;
|
|
1951
|
+
}[] | undefined;
|
|
1849
1952
|
collection_id?: string | undefined;
|
|
1953
|
+
type_id?: string | undefined;
|
|
1850
1954
|
attributes?: {
|
|
1851
1955
|
title: string;
|
|
1852
1956
|
is_custom: boolean;
|
|
1853
1957
|
use_for_variants: boolean;
|
|
1854
1958
|
values?: string | string[] | undefined;
|
|
1855
1959
|
type?: string | undefined;
|
|
1856
|
-
is_required?: boolean | undefined;
|
|
1857
1960
|
attribute_id?: string | undefined;
|
|
1961
|
+
is_required?: boolean | undefined;
|
|
1858
1962
|
available_values?: {
|
|
1859
1963
|
id: string;
|
|
1860
1964
|
name: string;
|
|
1861
1965
|
}[] | undefined;
|
|
1862
1966
|
}[] | undefined;
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
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;
|
|
1869
1975
|
seller_ids?: string[] | undefined;
|
|
1976
|
+
tags?: string[] | undefined;
|
|
1870
1977
|
}>;
|
|
1871
1978
|
};
|
|
1872
1979
|
OrganizeTab: {
|
|
1873
1980
|
(): react_jsx_runtime.JSX.Element;
|
|
1874
1981
|
_tabMeta: TabDefinition<{
|
|
1875
1982
|
title: string;
|
|
1983
|
+
category_id: string;
|
|
1876
1984
|
variants: {
|
|
1877
1985
|
title: string;
|
|
1878
1986
|
variant_rank: number;
|
|
1879
1987
|
should_create: boolean;
|
|
1880
1988
|
length?: string | number | undefined;
|
|
1881
|
-
|
|
1882
|
-
|
|
1989
|
+
options?: Record<string, string> | undefined;
|
|
1990
|
+
is_default?: boolean | undefined;
|
|
1883
1991
|
sku?: string | undefined;
|
|
1884
|
-
|
|
1992
|
+
ean?: string | undefined;
|
|
1993
|
+
upc?: string | undefined;
|
|
1994
|
+
width?: string | number | undefined;
|
|
1885
1995
|
height?: string | number | undefined;
|
|
1996
|
+
weight?: string | number | undefined;
|
|
1886
1997
|
origin_country?: string | undefined;
|
|
1887
|
-
|
|
1998
|
+
hs_code?: string | undefined;
|
|
1888
1999
|
material?: string | undefined;
|
|
1889
|
-
|
|
1890
|
-
is_default?: boolean | undefined;
|
|
2000
|
+
mid_code?: string | undefined;
|
|
1891
2001
|
barcode?: string | undefined;
|
|
1892
|
-
ean?: string | undefined;
|
|
1893
|
-
upc?: string | undefined;
|
|
1894
2002
|
}[];
|
|
1895
2003
|
discountable: boolean;
|
|
1896
|
-
|
|
2004
|
+
globally_available: boolean;
|
|
1897
2005
|
length?: string | undefined;
|
|
1898
|
-
weight?: string | undefined;
|
|
1899
|
-
width?: string | undefined;
|
|
1900
|
-
hs_code?: string | undefined;
|
|
1901
|
-
height?: string | undefined;
|
|
1902
|
-
origin_country?: string | undefined;
|
|
1903
|
-
mid_code?: string | undefined;
|
|
1904
|
-
material?: string | undefined;
|
|
1905
2006
|
description?: string | undefined;
|
|
1906
2007
|
handle?: string | undefined;
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
2008
|
+
media?: {
|
|
2009
|
+
url: string;
|
|
2010
|
+
isThumbnail: boolean;
|
|
2011
|
+
file?: any;
|
|
2012
|
+
id?: string | undefined;
|
|
2013
|
+
}[] | undefined;
|
|
1910
2014
|
collection_id?: string | undefined;
|
|
2015
|
+
type_id?: string | undefined;
|
|
1911
2016
|
attributes?: {
|
|
1912
2017
|
title: string;
|
|
1913
2018
|
is_custom: boolean;
|
|
1914
2019
|
use_for_variants: boolean;
|
|
1915
2020
|
values?: string | string[] | undefined;
|
|
1916
2021
|
type?: string | undefined;
|
|
1917
|
-
is_required?: boolean | undefined;
|
|
1918
2022
|
attribute_id?: string | undefined;
|
|
2023
|
+
is_required?: boolean | undefined;
|
|
1919
2024
|
available_values?: {
|
|
1920
2025
|
id: string;
|
|
1921
2026
|
name: string;
|
|
1922
2027
|
}[] | undefined;
|
|
1923
2028
|
}[] | undefined;
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
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;
|
|
1930
2037
|
seller_ids?: string[] | undefined;
|
|
2038
|
+
tags?: string[] | undefined;
|
|
1931
2039
|
}>;
|
|
1932
2040
|
};
|
|
1933
2041
|
AttributesTab: {
|
|
1934
2042
|
(): react_jsx_runtime.JSX.Element;
|
|
1935
2043
|
_tabMeta: TabDefinition<{
|
|
1936
2044
|
title: string;
|
|
2045
|
+
category_id: string;
|
|
1937
2046
|
variants: {
|
|
1938
2047
|
title: string;
|
|
1939
2048
|
variant_rank: number;
|
|
1940
2049
|
should_create: boolean;
|
|
1941
2050
|
length?: string | number | undefined;
|
|
1942
|
-
|
|
1943
|
-
|
|
2051
|
+
options?: Record<string, string> | undefined;
|
|
2052
|
+
is_default?: boolean | undefined;
|
|
1944
2053
|
sku?: string | undefined;
|
|
1945
|
-
|
|
2054
|
+
ean?: string | undefined;
|
|
2055
|
+
upc?: string | undefined;
|
|
2056
|
+
width?: string | number | undefined;
|
|
1946
2057
|
height?: string | number | undefined;
|
|
2058
|
+
weight?: string | number | undefined;
|
|
1947
2059
|
origin_country?: string | undefined;
|
|
1948
|
-
|
|
2060
|
+
hs_code?: string | undefined;
|
|
1949
2061
|
material?: string | undefined;
|
|
1950
|
-
|
|
1951
|
-
is_default?: boolean | undefined;
|
|
2062
|
+
mid_code?: string | undefined;
|
|
1952
2063
|
barcode?: string | undefined;
|
|
1953
|
-
ean?: string | undefined;
|
|
1954
|
-
upc?: string | undefined;
|
|
1955
2064
|
}[];
|
|
1956
2065
|
discountable: boolean;
|
|
1957
|
-
|
|
2066
|
+
globally_available: boolean;
|
|
1958
2067
|
length?: string | undefined;
|
|
1959
|
-
weight?: string | undefined;
|
|
1960
|
-
width?: string | undefined;
|
|
1961
|
-
hs_code?: string | undefined;
|
|
1962
|
-
height?: string | undefined;
|
|
1963
|
-
origin_country?: string | undefined;
|
|
1964
|
-
mid_code?: string | undefined;
|
|
1965
|
-
material?: string | undefined;
|
|
1966
2068
|
description?: string | undefined;
|
|
1967
2069
|
handle?: string | undefined;
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
2070
|
+
media?: {
|
|
2071
|
+
url: string;
|
|
2072
|
+
isThumbnail: boolean;
|
|
2073
|
+
file?: any;
|
|
2074
|
+
id?: string | undefined;
|
|
2075
|
+
}[] | undefined;
|
|
1971
2076
|
collection_id?: string | undefined;
|
|
2077
|
+
type_id?: string | undefined;
|
|
1972
2078
|
attributes?: {
|
|
1973
2079
|
title: string;
|
|
1974
2080
|
is_custom: boolean;
|
|
1975
2081
|
use_for_variants: boolean;
|
|
1976
2082
|
values?: string | string[] | undefined;
|
|
1977
2083
|
type?: string | undefined;
|
|
1978
|
-
is_required?: boolean | undefined;
|
|
1979
2084
|
attribute_id?: string | undefined;
|
|
2085
|
+
is_required?: boolean | undefined;
|
|
1980
2086
|
available_values?: {
|
|
1981
2087
|
id: string;
|
|
1982
2088
|
name: string;
|
|
1983
2089
|
}[] | undefined;
|
|
1984
2090
|
}[] | undefined;
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
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;
|
|
1991
2099
|
seller_ids?: string[] | undefined;
|
|
2100
|
+
tags?: string[] | undefined;
|
|
1992
2101
|
}>;
|
|
1993
2102
|
};
|
|
1994
2103
|
VariantsTab: {
|
|
1995
2104
|
(): react_jsx_runtime.JSX.Element;
|
|
1996
2105
|
_tabMeta: TabDefinition<{
|
|
1997
2106
|
title: string;
|
|
2107
|
+
category_id: string;
|
|
1998
2108
|
variants: {
|
|
1999
2109
|
title: string;
|
|
2000
2110
|
variant_rank: number;
|
|
2001
2111
|
should_create: boolean;
|
|
2002
2112
|
length?: string | number | undefined;
|
|
2003
|
-
|
|
2004
|
-
|
|
2113
|
+
options?: Record<string, string> | undefined;
|
|
2114
|
+
is_default?: boolean | undefined;
|
|
2005
2115
|
sku?: string | undefined;
|
|
2006
|
-
|
|
2116
|
+
ean?: string | undefined;
|
|
2117
|
+
upc?: string | undefined;
|
|
2118
|
+
width?: string | number | undefined;
|
|
2007
2119
|
height?: string | number | undefined;
|
|
2120
|
+
weight?: string | number | undefined;
|
|
2008
2121
|
origin_country?: string | undefined;
|
|
2009
|
-
|
|
2122
|
+
hs_code?: string | undefined;
|
|
2010
2123
|
material?: string | undefined;
|
|
2011
|
-
|
|
2012
|
-
is_default?: boolean | undefined;
|
|
2124
|
+
mid_code?: string | undefined;
|
|
2013
2125
|
barcode?: string | undefined;
|
|
2014
|
-
ean?: string | undefined;
|
|
2015
|
-
upc?: string | undefined;
|
|
2016
2126
|
}[];
|
|
2017
2127
|
discountable: boolean;
|
|
2018
|
-
|
|
2128
|
+
globally_available: boolean;
|
|
2019
2129
|
length?: string | undefined;
|
|
2020
|
-
weight?: string | undefined;
|
|
2021
|
-
width?: string | undefined;
|
|
2022
|
-
hs_code?: string | undefined;
|
|
2023
|
-
height?: string | undefined;
|
|
2024
|
-
origin_country?: string | undefined;
|
|
2025
|
-
mid_code?: string | undefined;
|
|
2026
|
-
material?: string | undefined;
|
|
2027
2130
|
description?: string | undefined;
|
|
2028
2131
|
handle?: string | undefined;
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2132
|
+
media?: {
|
|
2133
|
+
url: string;
|
|
2134
|
+
isThumbnail: boolean;
|
|
2135
|
+
file?: any;
|
|
2136
|
+
id?: string | undefined;
|
|
2137
|
+
}[] | undefined;
|
|
2032
2138
|
collection_id?: string | undefined;
|
|
2139
|
+
type_id?: string | undefined;
|
|
2033
2140
|
attributes?: {
|
|
2034
2141
|
title: string;
|
|
2035
2142
|
is_custom: boolean;
|
|
2036
2143
|
use_for_variants: boolean;
|
|
2037
2144
|
values?: string | string[] | undefined;
|
|
2038
2145
|
type?: string | undefined;
|
|
2039
|
-
is_required?: boolean | undefined;
|
|
2040
2146
|
attribute_id?: string | undefined;
|
|
2147
|
+
is_required?: boolean | undefined;
|
|
2041
2148
|
available_values?: {
|
|
2042
2149
|
id: string;
|
|
2043
2150
|
name: string;
|
|
2044
2151
|
}[] | undefined;
|
|
2045
2152
|
}[] | undefined;
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
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;
|
|
2052
2161
|
seller_ids?: string[] | undefined;
|
|
2162
|
+
tags?: string[] | undefined;
|
|
2053
2163
|
}>;
|
|
2054
2164
|
};
|
|
2055
2165
|
Tab: ({ children, }: {
|
|
@@ -2065,12 +2175,12 @@ declare const CreateProductVariantSchema: z.ZodObject<{
|
|
|
2065
2175
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2066
2176
|
}, "strip", z.ZodTypeAny, {
|
|
2067
2177
|
title: string;
|
|
2068
|
-
sku?: string | undefined;
|
|
2069
2178
|
options?: Record<string, string> | undefined;
|
|
2179
|
+
sku?: string | undefined;
|
|
2070
2180
|
}, {
|
|
2071
2181
|
title: string;
|
|
2072
|
-
sku?: string | undefined;
|
|
2073
2182
|
options?: Record<string, string> | undefined;
|
|
2183
|
+
sku?: string | undefined;
|
|
2074
2184
|
}>;
|
|
2075
2185
|
|
|
2076
2186
|
type CreateProductVariantSchemaType = z.infer<typeof CreateProductVariantSchema>;
|
|
@@ -2082,8 +2192,8 @@ declare function DetailsTab({ product }: DetailsTabProps): react_jsx_runtime.JSX
|
|
|
2082
2192
|
declare namespace DetailsTab {
|
|
2083
2193
|
var _tabMeta: TabDefinition<{
|
|
2084
2194
|
title: string;
|
|
2085
|
-
sku?: string | undefined;
|
|
2086
2195
|
options?: Record<string, string> | undefined;
|
|
2196
|
+
sku?: string | undefined;
|
|
2087
2197
|
}>;
|
|
2088
2198
|
}
|
|
2089
2199
|
|
|
@@ -2165,16 +2275,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2165
2275
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2166
2276
|
}, "strip", z.ZodTypeAny, {
|
|
2167
2277
|
values: string | number | string[];
|
|
2168
|
-
attribute: string;
|
|
2169
2278
|
operator: string;
|
|
2279
|
+
attribute: string;
|
|
2170
2280
|
id?: string | undefined;
|
|
2171
2281
|
required?: boolean | undefined;
|
|
2172
2282
|
disguised?: boolean | undefined;
|
|
2173
2283
|
field_type?: string | undefined;
|
|
2174
2284
|
}, {
|
|
2175
2285
|
values: string | number | string[];
|
|
2176
|
-
attribute: string;
|
|
2177
2286
|
operator: string;
|
|
2287
|
+
attribute: string;
|
|
2178
2288
|
id?: string | undefined;
|
|
2179
2289
|
required?: boolean | undefined;
|
|
2180
2290
|
disguised?: boolean | undefined;
|
|
@@ -2196,16 +2306,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2196
2306
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2197
2307
|
}, "strip", z.ZodTypeAny, {
|
|
2198
2308
|
values: string | number | string[];
|
|
2199
|
-
attribute: string;
|
|
2200
2309
|
operator: string;
|
|
2310
|
+
attribute: string;
|
|
2201
2311
|
id?: string | undefined;
|
|
2202
2312
|
required?: boolean | undefined;
|
|
2203
2313
|
disguised?: boolean | undefined;
|
|
2204
2314
|
field_type?: string | undefined;
|
|
2205
2315
|
}, {
|
|
2206
2316
|
values: string | number | string[];
|
|
2207
|
-
attribute: string;
|
|
2208
2317
|
operator: string;
|
|
2318
|
+
attribute: string;
|
|
2209
2319
|
id?: string | undefined;
|
|
2210
2320
|
required?: boolean | undefined;
|
|
2211
2321
|
disguised?: boolean | undefined;
|
|
@@ -2221,16 +2331,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2221
2331
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2222
2332
|
}, "strip", z.ZodTypeAny, {
|
|
2223
2333
|
values: string | number | string[];
|
|
2224
|
-
attribute: string;
|
|
2225
2334
|
operator: string;
|
|
2335
|
+
attribute: string;
|
|
2226
2336
|
id?: string | undefined;
|
|
2227
2337
|
required?: boolean | undefined;
|
|
2228
2338
|
disguised?: boolean | undefined;
|
|
2229
2339
|
field_type?: string | undefined;
|
|
2230
2340
|
}, {
|
|
2231
2341
|
values: string | number | string[];
|
|
2232
|
-
attribute: string;
|
|
2233
2342
|
operator: string;
|
|
2343
|
+
attribute: string;
|
|
2234
2344
|
id?: string | undefined;
|
|
2235
2345
|
required?: boolean | undefined;
|
|
2236
2346
|
disguised?: boolean | undefined;
|
|
@@ -2241,11 +2351,12 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2241
2351
|
}, "strip", z.ZodTypeAny, {
|
|
2242
2352
|
value: string | number;
|
|
2243
2353
|
type: "fixed" | "percentage";
|
|
2244
|
-
|
|
2354
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2355
|
+
allocation: "once" | "each" | "across";
|
|
2245
2356
|
target_rules: {
|
|
2246
2357
|
values: string | number | string[];
|
|
2247
|
-
attribute: string;
|
|
2248
2358
|
operator: string;
|
|
2359
|
+
attribute: string;
|
|
2249
2360
|
id?: string | undefined;
|
|
2250
2361
|
required?: boolean | undefined;
|
|
2251
2362
|
disguised?: boolean | undefined;
|
|
@@ -2253,24 +2364,24 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2253
2364
|
}[];
|
|
2254
2365
|
buy_rules: {
|
|
2255
2366
|
values: string | number | string[];
|
|
2256
|
-
attribute: string;
|
|
2257
2367
|
operator: string;
|
|
2368
|
+
attribute: string;
|
|
2258
2369
|
id?: string | undefined;
|
|
2259
2370
|
required?: boolean | undefined;
|
|
2260
2371
|
disguised?: boolean | undefined;
|
|
2261
2372
|
field_type?: string | undefined;
|
|
2262
2373
|
}[];
|
|
2263
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2264
2374
|
currency_code?: string | undefined;
|
|
2265
2375
|
max_quantity?: number | null | undefined;
|
|
2266
2376
|
}, {
|
|
2267
2377
|
value: string | number;
|
|
2268
2378
|
type: "fixed" | "percentage";
|
|
2269
|
-
|
|
2379
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2380
|
+
allocation: "once" | "each" | "across";
|
|
2270
2381
|
target_rules: {
|
|
2271
2382
|
values: string | number | string[];
|
|
2272
|
-
attribute: string;
|
|
2273
2383
|
operator: string;
|
|
2384
|
+
attribute: string;
|
|
2274
2385
|
id?: string | undefined;
|
|
2275
2386
|
required?: boolean | undefined;
|
|
2276
2387
|
disguised?: boolean | undefined;
|
|
@@ -2278,14 +2389,13 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2278
2389
|
}[];
|
|
2279
2390
|
buy_rules: {
|
|
2280
2391
|
values: string | number | string[];
|
|
2281
|
-
attribute: string;
|
|
2282
2392
|
operator: string;
|
|
2393
|
+
attribute: string;
|
|
2283
2394
|
id?: string | undefined;
|
|
2284
2395
|
required?: boolean | undefined;
|
|
2285
2396
|
disguised?: boolean | undefined;
|
|
2286
2397
|
field_type?: string | undefined;
|
|
2287
2398
|
}[];
|
|
2288
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2289
2399
|
currency_code?: string | undefined;
|
|
2290
2400
|
max_quantity?: number | null | undefined;
|
|
2291
2401
|
}>;
|
|
@@ -2301,24 +2411,24 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2301
2411
|
type: z.ZodEnum<["spend", "usage", "use_by_attribute"]>;
|
|
2302
2412
|
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2303
2413
|
}, "strip", z.ZodTypeAny, {
|
|
2304
|
-
type: "
|
|
2414
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2415
|
+
currency_code?: string | null | undefined;
|
|
2305
2416
|
limit?: number | null | undefined;
|
|
2306
2417
|
attribute?: string | null | undefined;
|
|
2307
|
-
currency_code?: string | null | undefined;
|
|
2308
2418
|
}, {
|
|
2309
|
-
type: "
|
|
2419
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2420
|
+
currency_code?: string | null | undefined;
|
|
2310
2421
|
limit?: number | null | undefined;
|
|
2311
2422
|
attribute?: string | null | undefined;
|
|
2312
|
-
currency_code?: string | null | undefined;
|
|
2313
2423
|
}>;
|
|
2314
2424
|
}, "strip", z.ZodTypeAny, {
|
|
2315
2425
|
name: string;
|
|
2316
2426
|
campaign_identifier: string;
|
|
2317
2427
|
budget: {
|
|
2318
|
-
type: "
|
|
2428
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2429
|
+
currency_code?: string | null | undefined;
|
|
2319
2430
|
limit?: number | null | undefined;
|
|
2320
2431
|
attribute?: string | null | undefined;
|
|
2321
|
-
currency_code?: string | null | undefined;
|
|
2322
2432
|
};
|
|
2323
2433
|
starts_at: Date | null;
|
|
2324
2434
|
ends_at: Date | null;
|
|
@@ -2327,10 +2437,10 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2327
2437
|
name: string;
|
|
2328
2438
|
campaign_identifier: string;
|
|
2329
2439
|
budget: {
|
|
2330
|
-
type: "
|
|
2440
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2441
|
+
currency_code?: string | null | undefined;
|
|
2331
2442
|
limit?: number | null | undefined;
|
|
2332
2443
|
attribute?: string | null | undefined;
|
|
2333
|
-
currency_code?: string | null | undefined;
|
|
2334
2444
|
};
|
|
2335
2445
|
starts_at: Date | null;
|
|
2336
2446
|
ends_at: Date | null;
|
|
@@ -2342,22 +2452,22 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2342
2452
|
type: "standard" | "buyget";
|
|
2343
2453
|
rules: {
|
|
2344
2454
|
values: string | number | string[];
|
|
2345
|
-
attribute: string;
|
|
2346
2455
|
operator: string;
|
|
2456
|
+
attribute: string;
|
|
2347
2457
|
id?: string | undefined;
|
|
2348
2458
|
required?: boolean | undefined;
|
|
2349
2459
|
disguised?: boolean | undefined;
|
|
2350
2460
|
field_type?: string | undefined;
|
|
2351
2461
|
}[];
|
|
2352
|
-
is_automatic: string;
|
|
2353
2462
|
application_method: {
|
|
2354
2463
|
value: string | number;
|
|
2355
2464
|
type: "fixed" | "percentage";
|
|
2356
|
-
|
|
2465
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2466
|
+
allocation: "once" | "each" | "across";
|
|
2357
2467
|
target_rules: {
|
|
2358
2468
|
values: string | number | string[];
|
|
2359
|
-
attribute: string;
|
|
2360
2469
|
operator: string;
|
|
2470
|
+
attribute: string;
|
|
2361
2471
|
id?: string | undefined;
|
|
2362
2472
|
required?: boolean | undefined;
|
|
2363
2473
|
disguised?: boolean | undefined;
|
|
@@ -2365,56 +2475,56 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2365
2475
|
}[];
|
|
2366
2476
|
buy_rules: {
|
|
2367
2477
|
values: string | number | string[];
|
|
2368
|
-
attribute: string;
|
|
2369
2478
|
operator: string;
|
|
2479
|
+
attribute: string;
|
|
2370
2480
|
id?: string | undefined;
|
|
2371
2481
|
required?: boolean | undefined;
|
|
2372
2482
|
disguised?: boolean | undefined;
|
|
2373
2483
|
field_type?: string | undefined;
|
|
2374
2484
|
}[];
|
|
2375
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2376
2485
|
currency_code?: string | undefined;
|
|
2377
2486
|
max_quantity?: number | null | undefined;
|
|
2378
2487
|
};
|
|
2488
|
+
is_automatic: string;
|
|
2489
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2379
2490
|
campaign?: {
|
|
2380
2491
|
name: string;
|
|
2381
2492
|
campaign_identifier: string;
|
|
2382
2493
|
budget: {
|
|
2383
|
-
type: "
|
|
2494
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2495
|
+
currency_code?: string | null | undefined;
|
|
2384
2496
|
limit?: number | null | undefined;
|
|
2385
2497
|
attribute?: string | null | undefined;
|
|
2386
|
-
currency_code?: string | null | undefined;
|
|
2387
2498
|
};
|
|
2388
2499
|
starts_at: Date | null;
|
|
2389
2500
|
ends_at: Date | null;
|
|
2390
2501
|
description?: string | undefined;
|
|
2391
2502
|
} | undefined;
|
|
2392
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2393
2503
|
campaign_id?: string | undefined;
|
|
2394
2504
|
template_id?: string | undefined;
|
|
2395
|
-
campaign_choice?: "
|
|
2505
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2396
2506
|
}, {
|
|
2397
2507
|
code: string;
|
|
2398
2508
|
status: "draft" | "active" | "inactive";
|
|
2399
2509
|
type: "standard" | "buyget";
|
|
2400
2510
|
rules: {
|
|
2401
2511
|
values: string | number | string[];
|
|
2402
|
-
attribute: string;
|
|
2403
2512
|
operator: string;
|
|
2513
|
+
attribute: string;
|
|
2404
2514
|
id?: string | undefined;
|
|
2405
2515
|
required?: boolean | undefined;
|
|
2406
2516
|
disguised?: boolean | undefined;
|
|
2407
2517
|
field_type?: string | undefined;
|
|
2408
2518
|
}[];
|
|
2409
|
-
is_automatic: string;
|
|
2410
2519
|
application_method: {
|
|
2411
2520
|
value: string | number;
|
|
2412
2521
|
type: "fixed" | "percentage";
|
|
2413
|
-
|
|
2522
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2523
|
+
allocation: "once" | "each" | "across";
|
|
2414
2524
|
target_rules: {
|
|
2415
2525
|
values: string | number | string[];
|
|
2416
|
-
attribute: string;
|
|
2417
2526
|
operator: string;
|
|
2527
|
+
attribute: string;
|
|
2418
2528
|
id?: string | undefined;
|
|
2419
2529
|
required?: boolean | undefined;
|
|
2420
2530
|
disguised?: boolean | undefined;
|
|
@@ -2422,56 +2532,56 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2422
2532
|
}[];
|
|
2423
2533
|
buy_rules: {
|
|
2424
2534
|
values: string | number | string[];
|
|
2425
|
-
attribute: string;
|
|
2426
2535
|
operator: string;
|
|
2536
|
+
attribute: string;
|
|
2427
2537
|
id?: string | undefined;
|
|
2428
2538
|
required?: boolean | undefined;
|
|
2429
2539
|
disguised?: boolean | undefined;
|
|
2430
2540
|
field_type?: string | undefined;
|
|
2431
2541
|
}[];
|
|
2432
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2433
2542
|
currency_code?: string | undefined;
|
|
2434
2543
|
max_quantity?: number | null | undefined;
|
|
2435
2544
|
};
|
|
2545
|
+
is_automatic: string;
|
|
2546
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2436
2547
|
campaign?: {
|
|
2437
2548
|
name: string;
|
|
2438
2549
|
campaign_identifier: string;
|
|
2439
2550
|
budget: {
|
|
2440
|
-
type: "
|
|
2551
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2552
|
+
currency_code?: string | null | undefined;
|
|
2441
2553
|
limit?: number | null | undefined;
|
|
2442
2554
|
attribute?: string | null | undefined;
|
|
2443
|
-
currency_code?: string | null | undefined;
|
|
2444
2555
|
};
|
|
2445
2556
|
starts_at: Date | null;
|
|
2446
2557
|
ends_at: Date | null;
|
|
2447
2558
|
description?: string | undefined;
|
|
2448
2559
|
} | undefined;
|
|
2449
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2450
2560
|
campaign_id?: string | undefined;
|
|
2451
2561
|
template_id?: string | undefined;
|
|
2452
|
-
campaign_choice?: "
|
|
2562
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2453
2563
|
}>, {
|
|
2454
2564
|
code: string;
|
|
2455
2565
|
status: "draft" | "active" | "inactive";
|
|
2456
2566
|
type: "standard" | "buyget";
|
|
2457
2567
|
rules: {
|
|
2458
2568
|
values: string | number | string[];
|
|
2459
|
-
attribute: string;
|
|
2460
2569
|
operator: string;
|
|
2570
|
+
attribute: string;
|
|
2461
2571
|
id?: string | undefined;
|
|
2462
2572
|
required?: boolean | undefined;
|
|
2463
2573
|
disguised?: boolean | undefined;
|
|
2464
2574
|
field_type?: string | undefined;
|
|
2465
2575
|
}[];
|
|
2466
|
-
is_automatic: string;
|
|
2467
2576
|
application_method: {
|
|
2468
2577
|
value: string | number;
|
|
2469
2578
|
type: "fixed" | "percentage";
|
|
2470
|
-
|
|
2579
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2580
|
+
allocation: "once" | "each" | "across";
|
|
2471
2581
|
target_rules: {
|
|
2472
2582
|
values: string | number | string[];
|
|
2473
|
-
attribute: string;
|
|
2474
2583
|
operator: string;
|
|
2584
|
+
attribute: string;
|
|
2475
2585
|
id?: string | undefined;
|
|
2476
2586
|
required?: boolean | undefined;
|
|
2477
2587
|
disguised?: boolean | undefined;
|
|
@@ -2479,56 +2589,56 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2479
2589
|
}[];
|
|
2480
2590
|
buy_rules: {
|
|
2481
2591
|
values: string | number | string[];
|
|
2482
|
-
attribute: string;
|
|
2483
2592
|
operator: string;
|
|
2593
|
+
attribute: string;
|
|
2484
2594
|
id?: string | undefined;
|
|
2485
2595
|
required?: boolean | undefined;
|
|
2486
2596
|
disguised?: boolean | undefined;
|
|
2487
2597
|
field_type?: string | undefined;
|
|
2488
2598
|
}[];
|
|
2489
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2490
2599
|
currency_code?: string | undefined;
|
|
2491
2600
|
max_quantity?: number | null | undefined;
|
|
2492
2601
|
};
|
|
2602
|
+
is_automatic: string;
|
|
2603
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2493
2604
|
campaign?: {
|
|
2494
2605
|
name: string;
|
|
2495
2606
|
campaign_identifier: string;
|
|
2496
2607
|
budget: {
|
|
2497
|
-
type: "
|
|
2608
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2609
|
+
currency_code?: string | null | undefined;
|
|
2498
2610
|
limit?: number | null | undefined;
|
|
2499
2611
|
attribute?: string | null | undefined;
|
|
2500
|
-
currency_code?: string | null | undefined;
|
|
2501
2612
|
};
|
|
2502
2613
|
starts_at: Date | null;
|
|
2503
2614
|
ends_at: Date | null;
|
|
2504
2615
|
description?: string | undefined;
|
|
2505
2616
|
} | undefined;
|
|
2506
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2507
2617
|
campaign_id?: string | undefined;
|
|
2508
2618
|
template_id?: string | undefined;
|
|
2509
|
-
campaign_choice?: "
|
|
2619
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2510
2620
|
}, {
|
|
2511
2621
|
code: string;
|
|
2512
2622
|
status: "draft" | "active" | "inactive";
|
|
2513
2623
|
type: "standard" | "buyget";
|
|
2514
2624
|
rules: {
|
|
2515
2625
|
values: string | number | string[];
|
|
2516
|
-
attribute: string;
|
|
2517
2626
|
operator: string;
|
|
2627
|
+
attribute: string;
|
|
2518
2628
|
id?: string | undefined;
|
|
2519
2629
|
required?: boolean | undefined;
|
|
2520
2630
|
disguised?: boolean | undefined;
|
|
2521
2631
|
field_type?: string | undefined;
|
|
2522
2632
|
}[];
|
|
2523
|
-
is_automatic: string;
|
|
2524
2633
|
application_method: {
|
|
2525
2634
|
value: string | number;
|
|
2526
2635
|
type: "fixed" | "percentage";
|
|
2527
|
-
|
|
2636
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2637
|
+
allocation: "once" | "each" | "across";
|
|
2528
2638
|
target_rules: {
|
|
2529
2639
|
values: string | number | string[];
|
|
2530
|
-
attribute: string;
|
|
2531
2640
|
operator: string;
|
|
2641
|
+
attribute: string;
|
|
2532
2642
|
id?: string | undefined;
|
|
2533
2643
|
required?: boolean | undefined;
|
|
2534
2644
|
disguised?: boolean | undefined;
|
|
@@ -2536,34 +2646,34 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2536
2646
|
}[];
|
|
2537
2647
|
buy_rules: {
|
|
2538
2648
|
values: string | number | string[];
|
|
2539
|
-
attribute: string;
|
|
2540
2649
|
operator: string;
|
|
2650
|
+
attribute: string;
|
|
2541
2651
|
id?: string | undefined;
|
|
2542
2652
|
required?: boolean | undefined;
|
|
2543
2653
|
disguised?: boolean | undefined;
|
|
2544
2654
|
field_type?: string | undefined;
|
|
2545
2655
|
}[];
|
|
2546
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2547
2656
|
currency_code?: string | undefined;
|
|
2548
2657
|
max_quantity?: number | null | undefined;
|
|
2549
2658
|
};
|
|
2659
|
+
is_automatic: string;
|
|
2660
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2550
2661
|
campaign?: {
|
|
2551
2662
|
name: string;
|
|
2552
2663
|
campaign_identifier: string;
|
|
2553
2664
|
budget: {
|
|
2554
|
-
type: "
|
|
2665
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2666
|
+
currency_code?: string | null | undefined;
|
|
2555
2667
|
limit?: number | null | undefined;
|
|
2556
2668
|
attribute?: string | null | undefined;
|
|
2557
|
-
currency_code?: string | null | undefined;
|
|
2558
2669
|
};
|
|
2559
2670
|
starts_at: Date | null;
|
|
2560
2671
|
ends_at: Date | null;
|
|
2561
2672
|
description?: string | undefined;
|
|
2562
2673
|
} | undefined;
|
|
2563
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2564
2674
|
campaign_id?: string | undefined;
|
|
2565
2675
|
template_id?: string | undefined;
|
|
2566
|
-
campaign_choice?: "
|
|
2676
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2567
2677
|
}>;
|
|
2568
2678
|
type CreatePromotionSchemaType = z.infer<typeof CreatePromotionSchema>;
|
|
2569
2679
|
|
|
@@ -2586,22 +2696,22 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2586
2696
|
type: "standard" | "buyget";
|
|
2587
2697
|
rules: {
|
|
2588
2698
|
values: string | number | string[];
|
|
2589
|
-
attribute: string;
|
|
2590
2699
|
operator: string;
|
|
2700
|
+
attribute: string;
|
|
2591
2701
|
id?: string | undefined;
|
|
2592
2702
|
required?: boolean | undefined;
|
|
2593
2703
|
disguised?: boolean | undefined;
|
|
2594
2704
|
field_type?: string | undefined;
|
|
2595
2705
|
}[];
|
|
2596
|
-
is_automatic: string;
|
|
2597
2706
|
application_method: {
|
|
2598
2707
|
value: string | number;
|
|
2599
2708
|
type: "fixed" | "percentage";
|
|
2600
|
-
|
|
2709
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2710
|
+
allocation: "once" | "each" | "across";
|
|
2601
2711
|
target_rules: {
|
|
2602
2712
|
values: string | number | string[];
|
|
2603
|
-
attribute: string;
|
|
2604
2713
|
operator: string;
|
|
2714
|
+
attribute: string;
|
|
2605
2715
|
id?: string | undefined;
|
|
2606
2716
|
required?: boolean | undefined;
|
|
2607
2717
|
disguised?: boolean | undefined;
|
|
@@ -2609,34 +2719,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2609
2719
|
}[];
|
|
2610
2720
|
buy_rules: {
|
|
2611
2721
|
values: string | number | string[];
|
|
2612
|
-
attribute: string;
|
|
2613
2722
|
operator: string;
|
|
2723
|
+
attribute: string;
|
|
2614
2724
|
id?: string | undefined;
|
|
2615
2725
|
required?: boolean | undefined;
|
|
2616
2726
|
disguised?: boolean | undefined;
|
|
2617
2727
|
field_type?: string | undefined;
|
|
2618
2728
|
}[];
|
|
2619
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2620
2729
|
currency_code?: string | undefined;
|
|
2621
2730
|
max_quantity?: number | null | undefined;
|
|
2622
2731
|
};
|
|
2732
|
+
is_automatic: string;
|
|
2733
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2623
2734
|
campaign?: {
|
|
2624
2735
|
name: string;
|
|
2625
2736
|
campaign_identifier: string;
|
|
2626
2737
|
budget: {
|
|
2627
|
-
type: "
|
|
2738
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2739
|
+
currency_code?: string | null | undefined;
|
|
2628
2740
|
limit?: number | null | undefined;
|
|
2629
2741
|
attribute?: string | null | undefined;
|
|
2630
|
-
currency_code?: string | null | undefined;
|
|
2631
2742
|
};
|
|
2632
2743
|
starts_at: Date | null;
|
|
2633
2744
|
ends_at: Date | null;
|
|
2634
2745
|
description?: string | undefined;
|
|
2635
2746
|
} | undefined;
|
|
2636
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2637
2747
|
campaign_id?: string | undefined;
|
|
2638
2748
|
template_id?: string | undefined;
|
|
2639
|
-
campaign_choice?: "
|
|
2749
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2640
2750
|
}>;
|
|
2641
2751
|
};
|
|
2642
2752
|
DetailsTab: {
|
|
@@ -2653,22 +2763,22 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2653
2763
|
type: "standard" | "buyget";
|
|
2654
2764
|
rules: {
|
|
2655
2765
|
values: string | number | string[];
|
|
2656
|
-
attribute: string;
|
|
2657
2766
|
operator: string;
|
|
2767
|
+
attribute: string;
|
|
2658
2768
|
id?: string | undefined;
|
|
2659
2769
|
required?: boolean | undefined;
|
|
2660
2770
|
disguised?: boolean | undefined;
|
|
2661
2771
|
field_type?: string | undefined;
|
|
2662
2772
|
}[];
|
|
2663
|
-
is_automatic: string;
|
|
2664
2773
|
application_method: {
|
|
2665
2774
|
value: string | number;
|
|
2666
2775
|
type: "fixed" | "percentage";
|
|
2667
|
-
|
|
2776
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2777
|
+
allocation: "once" | "each" | "across";
|
|
2668
2778
|
target_rules: {
|
|
2669
2779
|
values: string | number | string[];
|
|
2670
|
-
attribute: string;
|
|
2671
2780
|
operator: string;
|
|
2781
|
+
attribute: string;
|
|
2672
2782
|
id?: string | undefined;
|
|
2673
2783
|
required?: boolean | undefined;
|
|
2674
2784
|
disguised?: boolean | undefined;
|
|
@@ -2676,34 +2786,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2676
2786
|
}[];
|
|
2677
2787
|
buy_rules: {
|
|
2678
2788
|
values: string | number | string[];
|
|
2679
|
-
attribute: string;
|
|
2680
2789
|
operator: string;
|
|
2790
|
+
attribute: string;
|
|
2681
2791
|
id?: string | undefined;
|
|
2682
2792
|
required?: boolean | undefined;
|
|
2683
2793
|
disguised?: boolean | undefined;
|
|
2684
2794
|
field_type?: string | undefined;
|
|
2685
2795
|
}[];
|
|
2686
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2687
2796
|
currency_code?: string | undefined;
|
|
2688
2797
|
max_quantity?: number | null | undefined;
|
|
2689
2798
|
};
|
|
2799
|
+
is_automatic: string;
|
|
2800
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2690
2801
|
campaign?: {
|
|
2691
2802
|
name: string;
|
|
2692
2803
|
campaign_identifier: string;
|
|
2693
2804
|
budget: {
|
|
2694
|
-
type: "
|
|
2805
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2806
|
+
currency_code?: string | null | undefined;
|
|
2695
2807
|
limit?: number | null | undefined;
|
|
2696
2808
|
attribute?: string | null | undefined;
|
|
2697
|
-
currency_code?: string | null | undefined;
|
|
2698
2809
|
};
|
|
2699
2810
|
starts_at: Date | null;
|
|
2700
2811
|
ends_at: Date | null;
|
|
2701
2812
|
description?: string | undefined;
|
|
2702
2813
|
} | undefined;
|
|
2703
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2704
2814
|
campaign_id?: string | undefined;
|
|
2705
2815
|
template_id?: string | undefined;
|
|
2706
|
-
campaign_choice?: "
|
|
2816
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2707
2817
|
}>;
|
|
2708
2818
|
};
|
|
2709
2819
|
CampaignTab: {
|
|
@@ -2714,22 +2824,22 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2714
2824
|
type: "standard" | "buyget";
|
|
2715
2825
|
rules: {
|
|
2716
2826
|
values: string | number | string[];
|
|
2717
|
-
attribute: string;
|
|
2718
2827
|
operator: string;
|
|
2828
|
+
attribute: string;
|
|
2719
2829
|
id?: string | undefined;
|
|
2720
2830
|
required?: boolean | undefined;
|
|
2721
2831
|
disguised?: boolean | undefined;
|
|
2722
2832
|
field_type?: string | undefined;
|
|
2723
2833
|
}[];
|
|
2724
|
-
is_automatic: string;
|
|
2725
2834
|
application_method: {
|
|
2726
2835
|
value: string | number;
|
|
2727
2836
|
type: "fixed" | "percentage";
|
|
2728
|
-
|
|
2837
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2838
|
+
allocation: "once" | "each" | "across";
|
|
2729
2839
|
target_rules: {
|
|
2730
2840
|
values: string | number | string[];
|
|
2731
|
-
attribute: string;
|
|
2732
2841
|
operator: string;
|
|
2842
|
+
attribute: string;
|
|
2733
2843
|
id?: string | undefined;
|
|
2734
2844
|
required?: boolean | undefined;
|
|
2735
2845
|
disguised?: boolean | undefined;
|
|
@@ -2737,34 +2847,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2737
2847
|
}[];
|
|
2738
2848
|
buy_rules: {
|
|
2739
2849
|
values: string | number | string[];
|
|
2740
|
-
attribute: string;
|
|
2741
2850
|
operator: string;
|
|
2851
|
+
attribute: string;
|
|
2742
2852
|
id?: string | undefined;
|
|
2743
2853
|
required?: boolean | undefined;
|
|
2744
2854
|
disguised?: boolean | undefined;
|
|
2745
2855
|
field_type?: string | undefined;
|
|
2746
2856
|
}[];
|
|
2747
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2748
2857
|
currency_code?: string | undefined;
|
|
2749
2858
|
max_quantity?: number | null | undefined;
|
|
2750
2859
|
};
|
|
2860
|
+
is_automatic: string;
|
|
2861
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2751
2862
|
campaign?: {
|
|
2752
2863
|
name: string;
|
|
2753
2864
|
campaign_identifier: string;
|
|
2754
2865
|
budget: {
|
|
2755
|
-
type: "
|
|
2866
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2867
|
+
currency_code?: string | null | undefined;
|
|
2756
2868
|
limit?: number | null | undefined;
|
|
2757
2869
|
attribute?: string | null | undefined;
|
|
2758
|
-
currency_code?: string | null | undefined;
|
|
2759
2870
|
};
|
|
2760
2871
|
starts_at: Date | null;
|
|
2761
2872
|
ends_at: Date | null;
|
|
2762
2873
|
description?: string | undefined;
|
|
2763
2874
|
} | undefined;
|
|
2764
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2765
2875
|
campaign_id?: string | undefined;
|
|
2766
2876
|
template_id?: string | undefined;
|
|
2767
|
-
campaign_choice?: "
|
|
2877
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2768
2878
|
}>;
|
|
2769
2879
|
};
|
|
2770
2880
|
Tab: ({ children, }: {
|
|
@@ -2903,39 +3013,39 @@ declare const StoreDetailPage: (({ children }: {
|
|
|
2903
3013
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
2904
3014
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
2905
3015
|
MainGeneralSection: ({ seller, children, }: {
|
|
2906
|
-
seller:
|
|
3016
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2907
3017
|
children?: ReactNode;
|
|
2908
3018
|
}) => react_jsx_runtime.JSX.Element;
|
|
2909
3019
|
MainConfigurationSection: ({ seller, }: {
|
|
2910
|
-
seller:
|
|
3020
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2911
3021
|
}) => react_jsx_runtime.JSX.Element;
|
|
2912
3022
|
MainPaymentDetailsSection: ({ seller, }: {
|
|
2913
|
-
seller:
|
|
3023
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2914
3024
|
}) => react_jsx_runtime.JSX.Element;
|
|
2915
3025
|
MainCompanyDetailsSection: ({ seller, }: {
|
|
2916
|
-
seller:
|
|
3026
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2917
3027
|
}) => react_jsx_runtime.JSX.Element;
|
|
2918
3028
|
SidebarAddressSection: ({ seller }: {
|
|
2919
|
-
seller:
|
|
3029
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2920
3030
|
}) => react_jsx_runtime.JSX.Element;
|
|
2921
3031
|
SidebarMembersSection: ({ sellerId }: {
|
|
2922
3032
|
sellerId: string;
|
|
2923
3033
|
}) => react_jsx_runtime.JSX.Element;
|
|
2924
3034
|
Header: ({ seller, children, }: {
|
|
2925
|
-
seller:
|
|
3035
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2926
3036
|
} & {
|
|
2927
3037
|
children?: ReactNode;
|
|
2928
3038
|
}) => react_jsx_runtime.JSX.Element;
|
|
2929
3039
|
HeaderTitle: ({ seller }: {
|
|
2930
|
-
seller:
|
|
3040
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2931
3041
|
}) => react_jsx_runtime.JSX.Element;
|
|
2932
3042
|
HeaderActions: ({ seller, children, }: {
|
|
2933
|
-
seller:
|
|
3043
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2934
3044
|
} & {
|
|
2935
3045
|
children?: ReactNode;
|
|
2936
3046
|
}) => react_jsx_runtime.JSX.Element;
|
|
2937
3047
|
HeaderEditButton: ({ seller }: {
|
|
2938
|
-
seller:
|
|
3048
|
+
seller: _mercurjs_types.SellerDTO;
|
|
2939
3049
|
}) => react_jsx_runtime.JSX.Element;
|
|
2940
3050
|
};
|
|
2941
3051
|
|
|
@@ -3063,4 +3173,4 @@ declare const UserDetailPage: (({ children }: {
|
|
|
3063
3173
|
}) => react_jsx_runtime.JSX.Element;
|
|
3064
3174
|
};
|
|
3065
3175
|
|
|
3066
|
-
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 };
|