@mercurjs/admin 2.2.0-canary.3 → 2.2.0-canary.31
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-OLNTDP26.js → add-campaign-promotions-7VQ4YSDF.js} +12 -12
- package/dist/{adjust-inventory-CVWSBMHU.js → adjust-inventory-DOJ66E2D.js} +21 -22
- package/dist/{api-key-management-create-7RWOCVAO.js → api-key-management-create-6FLITJ2S.js} +4 -4
- package/dist/{api-key-management-detail-ZIIDMHFI.js → api-key-management-detail-ANVRI5YV.js} +26 -27
- package/dist/{api-key-management-edit-ACH6TJAX.js → api-key-management-edit-Z5F3GSZO.js} +4 -4
- package/dist/{api-key-management-list-JHBBXGHH.js → api-key-management-list-AIFIEFQX.js} +7 -7
- package/dist/{api-key-management-sales-channels-XEBTUB5V.js → api-key-management-sales-channels-NLFQSL4H.js} +9 -9
- package/dist/{attribute-create-HGNJXJBO.js → attribute-create-BCNSJO5F.js} +79 -59
- package/dist/{attribute-create-possible-value-EXVHC272.js → attribute-create-possible-value-MLUBL2LB.js} +1 -1
- package/dist/{attribute-detail-JF2RHBXC.js → attribute-detail-E7IQZW7F.js} +33 -31
- package/dist/{attribute-edit-ADBGDZTL.js → attribute-edit-UYGZZCMQ.js} +4 -4
- package/dist/{attribute-edit-possible-value-OLHGHLA3.js → attribute-edit-possible-value-MVYVVF23.js} +4 -4
- package/dist/{attribute-edit-ranking-7AAAYEC7.js → attribute-edit-ranking-WHFPAM7T.js} +1 -1
- package/dist/{attribute-list-OHU2QMUG.js → attribute-list-XDW6VE4J.js} +26 -27
- package/dist/breadcrumb-OYF6FUUL.js +26 -0
- package/dist/breadcrumb-RYIHOYZE.js +27 -0
- package/dist/{campaign-budget-edit-WKSYXTBX.js → campaign-budget-edit-N2WWGO2G.js} +1 -1
- package/dist/{campaign-configuration-ZTK46EB5.js → campaign-configuration-MFFZXUEN.js} +1 -1
- package/dist/{campaign-create-VFFIIRE4.js → campaign-create-NMIOUGXQ.js} +3 -3
- package/dist/{campaign-detail-AZKBPDLC.js → campaign-detail-YEX2W33U.js} +28 -29
- package/dist/{campaign-edit-ZGLDY4X4.js → campaign-edit-PA7FGIY3.js} +1 -1
- package/dist/{campaign-list-NQGNOFVZ.js → campaign-list-IJCTNMOH.js} +4 -4
- package/dist/{categories-metadata-YZUP43OH.js → categories-metadata-WSFKMQSW.js} +22 -23
- package/dist/{category-create-2MRYTSYM.js → category-create-QNQKIXYH.js} +8 -5
- package/dist/{category-detail-B2TSD5V4.js → category-detail-UHTEDGZ4.js} +34 -33
- package/dist/{category-edit-QLOS2LBA.js → category-edit-6D6RZ7V2.js} +3 -3
- package/dist/category-icon-edit-SRCDLZ65.js +117 -0
- package/dist/{category-list-U7ZQBSZN.js → category-list-KNBCMJPI.js} +10 -7
- package/dist/category-media-MBK52QCA.js +654 -0
- package/dist/{category-organize-TIKTYJFZ.js → category-organize-7WFAJ46F.js} +2 -2
- package/dist/{category-products-KIP4KAF2.js → category-products-5VEHSKOC.js} +36 -37
- package/dist/{chunk-3VTAK3S6.js → chunk-24WHXAR7.js} +4 -4
- package/dist/chunk-27PAP64U.js +204 -0
- package/dist/{chunk-26UTIAAZ.js → chunk-32URSQ4F.js} +1 -1
- package/dist/{chunk-AB2LHP3M.js → chunk-3KL4OL3I.js} +1 -1
- package/dist/{chunk-3JSAS7QP.js → chunk-3MQJARVG.js} +21 -5
- package/dist/{chunk-X2IZZAII.js → chunk-3V54HZK7.js} +7 -7
- package/dist/{chunk-VKOE5J66.js → chunk-3XOE4NV5.js} +11 -2
- package/dist/{chunk-SRDK3XX7.js → chunk-3ZKJ4F7B.js} +6 -6
- package/dist/chunk-46MOMKPW.js +8 -0
- package/dist/{chunk-ZHOI4QMK.js → chunk-4OEYCLBE.js} +1 -1
- package/dist/{chunk-M75FCGHK.js → chunk-4XGB5NDV.js} +3 -3
- package/dist/{chunk-H5PYBIOZ.js → chunk-5I6YZOBU.js} +1 -1
- package/dist/{chunk-5DNAS3T4.js → chunk-5K5VNKSE.js} +1 -1
- package/dist/{chunk-3EDQIZV6.js → chunk-6LG3VL3Q.js} +2 -2
- package/dist/{chunk-FTAR3BDS.js → chunk-6MZPZ5KV.js} +1 -1
- package/dist/{chunk-X45JKZYW.js → chunk-7WAQRY46.js} +4 -4
- package/dist/{chunk-UXD3VNBO.js → chunk-AJLGY3LQ.js} +1 -2
- package/dist/{chunk-CMHI2RPL.js → chunk-AKSUGT5I.js} +21 -0
- package/dist/{chunk-2YYXP6XI.js → chunk-AM5XDEIN.js} +202 -238
- package/dist/{chunk-WDH5C2NS.js → chunk-ARAK63IS.js} +1 -1
- package/dist/{chunk-WYA62MUL.js → chunk-AROCMF45.js} +1 -1
- package/dist/{chunk-YLKG7W4P.js → chunk-B33LL4AM.js} +73 -20
- package/dist/{chunk-ED7XNGZD.js → chunk-B4YTTIYS.js} +5 -5
- package/dist/chunk-BN6OOLJA.js +358 -0
- package/dist/{chunk-3IVTUFBM.js → chunk-BVWAWPJO.js} +2 -2
- package/dist/{chunk-LYZT5REU.js → chunk-C4XKPQ6T.js} +14 -1
- package/dist/chunk-CGIVQ7D2.js +115 -0
- package/dist/{chunk-CVFVEDMV.js → chunk-D6ELCGPF.js} +1 -1
- package/dist/{chunk-WKCYMDTV.js → chunk-DBZV75X3.js} +5 -5
- package/dist/{chunk-CBGXKU7Z.js → chunk-DCD5KNOW.js} +7 -7
- package/dist/{chunk-54RTJBYO.js → chunk-DGCPYCHU.js} +8 -63
- package/dist/{chunk-BGGUVHDG.js → chunk-DWAAPLKD.js} +607 -747
- package/dist/{chunk-A7JOHU6Q.js → chunk-E3O5GAYR.js} +1 -1
- package/dist/{chunk-VOMVHF67.js → chunk-EAJMQKL5.js} +4 -4
- package/dist/{chunk-PE4STCQ5.js → chunk-ELYCSQWC.js} +13 -13
- package/dist/{chunk-533GMKEG.js → chunk-ER7GGJ5A.js} +22 -2
- package/dist/{chunk-WS63IRBI.js → chunk-ERQBTOAZ.js} +6 -6
- package/dist/{chunk-DRJAKRTI.js → chunk-EW77LP7P.js} +3 -3
- package/dist/{chunk-XTSMGXL2.js → chunk-EXPDYI26.js} +22 -13
- package/dist/{chunk-6FIU2V6Y.js → chunk-FDXE4XDD.js} +1 -1
- package/dist/{chunk-4LXBQTFN.js → chunk-FREUYHMS.js} +1 -1
- package/dist/{chunk-PXTJJQKJ.js → chunk-FYKG35MR.js} +1 -1
- package/dist/{chunk-637OFDFC.js → chunk-GFMTZ5O3.js} +282 -84
- package/dist/{chunk-GNLPUGYK.js → chunk-GHGOOZEL.js} +2 -2
- package/dist/{chunk-R2MI5GL4.js → chunk-GK6V5XL3.js} +4 -8
- package/dist/{chunk-YL3SCKWU.js → chunk-GKWXWN6R.js} +8 -8
- package/dist/{chunk-EREXPX6I.js → chunk-GME72WUF.js} +86 -93
- package/dist/{chunk-ZSFJVRRS.js → chunk-GQUGCSJV.js} +2 -2
- package/dist/{chunk-OSEIN4Y2.js → chunk-GV2Z3IHA.js} +2 -2
- package/dist/{chunk-3O6YY3R5.js → chunk-GX7OEF7F.js} +348 -788
- package/dist/{chunk-V6OGMYAI.js → chunk-HHW4PPNH.js} +159 -169
- package/dist/{chunk-CKD5563X.js → chunk-HSNKADGW.js} +1 -1
- package/dist/{chunk-UXQAHUGZ.js → chunk-HVDBP2QZ.js} +1 -1
- package/dist/{chunk-BFT3CN5L.js → chunk-HXPW7OZG.js} +1 -1
- package/dist/{chunk-GKW445WA.js → chunk-IHTQOPB6.js} +13 -187
- package/dist/{chunk-HR7TFO2X.js → chunk-IOXHJONC.js} +7 -7
- package/dist/chunk-JFXAJYAT.js +103 -0
- package/dist/{chunk-NQEXDLYH.js → chunk-JGCGVEFZ.js} +1 -1
- package/dist/{chunk-Y2M536WR.js → chunk-JHBNG7OD.js} +17 -0
- package/dist/{chunk-N2LH7A4X.js → chunk-JR4T4OQU.js} +10 -10
- package/dist/{chunk-YGRTRAWX.js → chunk-KDE4HKH2.js} +1 -0
- package/dist/{chunk-TP7L6M7V.js → chunk-KIQM7FNE.js} +2 -2
- package/dist/{chunk-XALYF4WJ.js → chunk-KOOVZT22.js} +141 -430
- package/dist/{chunk-BE6JLTMI.js → chunk-L5Z4JGRD.js} +1 -1
- package/dist/{chunk-FB7DDNCA.js → chunk-LHVXXHPO.js} +1 -1
- package/dist/{chunk-XJ3WC4G7.js → chunk-LM6IBDJ3.js} +1 -1
- package/dist/{chunk-YGAX72XV.js → chunk-LO2ZWQGL.js} +0 -2
- package/dist/{chunk-TITPJHIL.js → chunk-LPETBANQ.js} +5 -5
- package/dist/{chunk-IAWZQKUH.js → chunk-LSJMVVI4.js} +1 -1
- package/dist/{chunk-3P4VTL4S.js → chunk-LTAQZW2L.js} +6 -6
- package/dist/{chunk-6UQ5WDW6.js → chunk-LTYARVER.js} +6 -6
- package/dist/{chunk-DTYQWWHT.js → chunk-LX5XLXPI.js} +15 -7
- package/dist/{chunk-UPNMDPFX.js → chunk-M674QP3K.js} +19 -7
- package/dist/{chunk-CIZUUV2Y.js → chunk-MBWL2AUF.js} +210 -115
- package/dist/{chunk-EJTB2SLE.js → chunk-MHTSIOQS.js} +4 -4
- package/dist/{chunk-KXIA66EJ.js → chunk-MYDNPTDK.js} +8 -4
- package/dist/{chunk-COP7NFSJ.js → chunk-NHBHU7X7.js} +1 -1
- package/dist/{chunk-XODRTI2W.js → chunk-NK2VVZGH.js} +2 -2
- package/dist/{chunk-JRUUOZ5S.js → chunk-NNIU5SUY.js} +11 -11
- package/dist/{chunk-JQV7CXEC.js → chunk-NONPU75Q.js} +17 -2
- package/dist/{chunk-MVNO35S5.js → chunk-NVBITQAB.js} +1 -1
- package/dist/chunk-O4NME2PB.js +184 -0
- package/dist/chunk-O4XMXNZL.js +280 -0
- package/dist/{chunk-FFNSWUDC.js → chunk-O5BX4VGQ.js} +12 -5
- package/dist/{chunk-RVBZV3BH.js → chunk-P4TBXTHK.js} +127 -192
- package/dist/{chunk-634XVU3D.js → chunk-PAYQJPGK.js} +8 -1
- package/dist/{chunk-AXTQMIIK.js → chunk-PJR6W35H.js} +8 -27
- package/dist/{chunk-2V4BOCYF.js → chunk-PQZWP6CW.js} +4 -4
- package/dist/{chunk-IRTI3AS3.js → chunk-PXETYIW2.js} +6 -6
- package/dist/chunk-PZ27H46M.js +358 -0
- package/dist/{chunk-JQBSPUH2.js → chunk-Q4Q5BKCY.js} +14 -1
- package/dist/{chunk-XZZTC7E5.js → chunk-Q5HXKDZG.js} +1 -1
- package/dist/{chunk-CKACZXMP.js → chunk-QD5LDTJ3.js} +5 -5
- package/dist/{chunk-A772RAKB.js → chunk-QJ4J5F6T.js} +1 -1
- package/dist/{chunk-Q6I2IKJB.js → chunk-QKUCVPQ2.js} +3 -3
- package/dist/chunk-QPFQLFKV.js +142 -0
- package/dist/chunk-QR3GYYX6.js +0 -0
- package/dist/{chunk-3B6MTW5G.js → chunk-QUHSHIAC.js} +3 -0
- package/dist/{chunk-PRBE5CM3.js → chunk-QYDWMBEX.js} +31 -0
- package/dist/{chunk-QBVFUDNG.js → chunk-R6MM5UOX.js} +5 -5
- package/dist/chunk-RCOMAL7R.js +381 -0
- package/dist/{chunk-B3EEDC47.js → chunk-RMAQKNBA.js} +10 -94
- package/dist/{chunk-QIU6DJY6.js → chunk-RUVEMICX.js} +2 -2
- package/dist/{chunk-CKNQJPAG.js → chunk-RWAEZQCV.js} +77 -19
- package/dist/chunk-S6A4FVM2.js +170 -0
- package/dist/chunk-SCYPLUXT.js +86 -0
- package/dist/{chunk-U2ZFCAPX.js → chunk-SITRHMZZ.js} +11 -8
- package/dist/{chunk-RQPDD3RI.js → chunk-SKKF3CU6.js} +1 -1
- package/dist/{chunk-DQGGJSOO.js → chunk-SU444Q24.js} +21 -53
- package/dist/{chunk-K4TGNN4P.js → chunk-TAKY7IW6.js} +3 -3
- package/dist/{chunk-SUHCZ33F.js → chunk-TKC3RDRT.js} +5 -5
- package/dist/{chunk-BLYJZMNE.js → chunk-TLOJG7LK.js} +2 -2
- package/dist/{chunk-EAC7NFA2.js → chunk-U5UXL42H.js} +4 -4
- package/dist/chunk-UIVWOKWT.js +63 -0
- package/dist/{chunk-BCVUMATY.js → chunk-UZO3CIEN.js} +220 -44
- package/dist/{chunk-2LQ5SCPB.js → chunk-VJ32NGUB.js} +20 -8
- package/dist/{chunk-4KX6CBJ4.js → chunk-VSLHL2AZ.js} +2 -0
- package/dist/{chunk-6RQR3B6T.js → chunk-WBSUHLO7.js} +1 -2
- package/dist/{chunk-G4PROEJI.js → chunk-WE66XPIF.js} +4 -4
- package/dist/{chunk-YPESX7CE.js → chunk-WKTRJNOK.js} +3 -3
- package/dist/{chunk-BHOZKBYY.js → chunk-WV43FOTY.js} +10 -8
- package/dist/{chunk-2S6VXFBZ.js → chunk-XBMSMHRJ.js} +5 -5
- package/dist/chunk-XGWYGDQN.js +213 -0
- package/dist/{chunk-LYZDVZWA.js → chunk-XH5GIQOS.js} +1 -1
- package/dist/{chunk-I5THQVYP.js → chunk-XIFE4VUR.js} +1 -1
- package/dist/{chunk-S5BJ5CMF.js → chunk-XKRR5ALR.js} +1 -1
- package/dist/{chunk-AMOSVDPE.js → chunk-XNGAFAQ7.js} +160 -29
- package/dist/chunk-Y3RABQC4.js +33 -0
- package/dist/{chunk-P25PIADJ.js → chunk-Y7KAW3E7.js} +1 -1
- package/dist/{chunk-YXSTDH2B.js → chunk-YTTITSCF.js} +12 -12
- package/dist/{chunk-S4SVK5DE.js → chunk-YVLANFBK.js} +29 -1
- package/dist/{chunk-NQBSSM5V.js → chunk-YW2P62WD.js} +2 -2
- package/dist/{chunk-FMRP2CNF.js → chunk-YZBEJ3CY.js} +2101 -1867
- package/dist/{chunk-BGQ7H2KL.js → chunk-ZF75KDQ2.js} +3 -3
- package/dist/{chunk-OHOWEMHO.js → chunk-ZIFHQXP3.js} +31 -25
- package/dist/{collection-add-products-5ULJZWE2.js → collection-add-products-QBUVYWEK.js} +34 -35
- package/dist/{collection-create-HUNYHKUJ.js → collection-create-LTCUNTEN.js} +86 -15
- package/dist/{collection-detail-2KCCLJMV.js → collection-detail-CNMO72V2.js} +32 -31
- package/dist/{collection-edit-OQGYTQDO.js → collection-edit-XB7XNWKT.js} +3 -3
- package/dist/collection-icon-edit-SJUTX7SL.js +117 -0
- package/dist/{collection-list-QHZSZGPO.js → collection-list-2LWAVDXE.js} +39 -37
- package/dist/collection-media-NXMSBVNW.js +654 -0
- package/dist/{collection-metadata-47N7TUOH.js → collection-metadata-4UP7MB2G.js} +22 -23
- package/dist/commission-rule-commission-edit-CPBCAN6K.js +182 -0
- package/dist/commission-rule-create-6YJX5BRC.js +485 -0
- package/dist/commission-rule-detail-QF2TJ6WF.js +45 -0
- package/dist/commission-rule-edit-OWGW6HLN.js +331 -0
- package/dist/commissions-list-ENBXDOND.js +36 -0
- package/dist/{constants-26tEckuq.d.ts → constants-DINN0J9x.d.ts} +15 -4
- package/dist/{customer-create-QHA4KM6N.js → customer-create-HZXLOIZH.js} +2 -2
- package/dist/{customer-create-address-TYWVWNUE.js → customer-create-address-AEZNVQOG.js} +2 -2
- package/dist/{customer-detail-D5SSLNFT.js → customer-detail-ASONGOEE.js} +29 -34
- package/dist/{customer-edit-JZ4PQTIN.js → customer-edit-MMRTWOAF.js} +2 -2
- package/dist/customer-edit-address-AEYX2LMP.js +302 -0
- package/dist/{customer-group-add-customers-VJUBEN7M.js → customer-group-add-customers-CVFWLLP3.js} +11 -11
- package/dist/{customer-group-create-NA2UKCF6.js → customer-group-create-25JT74S3.js} +2 -2
- package/dist/{customer-group-detail-KRT7E2JA.js → customer-group-detail-Z5DFQHBD.js} +25 -26
- package/dist/{customer-group-edit-3O6HAYYN.js → customer-group-edit-AAI47MUL.js} +2 -2
- package/dist/{customer-group-list-KKDIESQ6.js → customer-group-list-NEN5EBVH.js} +26 -27
- package/dist/{customer-group-metadata-J6JY7DZ3.js → customer-group-metadata-MWI6PEIS.js} +22 -23
- package/dist/{customer-list-MB6WZFMA.js → customer-list-TBV4DHXV.js} +6 -6
- package/dist/{customer-metadata-AH2LBK4T.js → customer-metadata-AAANMDFW.js} +22 -23
- package/dist/{customers-add-customer-group-AHGAPEIS.js → customers-add-customer-group-WU4TPDZL.js} +31 -32
- package/dist/{edit-inventory-item-ADNLKLCN.js → edit-inventory-item-DNSEIVDG.js} +21 -22
- package/dist/{edit-inventory-item-attributes-XVR2WLDU.js → edit-inventory-item-attributes-NNSYKNZS.js} +21 -22
- package/dist/{edit-reservation-HQQL42QX.js → edit-reservation-UBOAYKRO.js} +3 -3
- package/dist/{edit-rules-YMKM5JPI.js → edit-rules-DFLANIHQ.js} +22 -23
- package/dist/global-commission-edit-QDPLLFM5.js +198 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +648 -654
- package/dist/{inventory-create-IVESXFSV.js → inventory-create-TADTOF5K.js} +25 -26
- package/dist/{inventory-detail-TINIAFVB.js → inventory-detail-SYC6STHZ.js} +26 -27
- package/dist/{inventory-list-YLIAKQXI.js → inventory-list-QK4YHPQ6.js} +5 -5
- package/dist/{inventory-metadata-6INRH2JC.js → inventory-metadata-FRVMXW4Q.js} +22 -23
- package/dist/{inventory-stock-6YGTATID.js → inventory-stock-RD6RJLAY.js} +205 -44
- package/dist/loader-PQ4CT5ZD.js +32 -0
- package/dist/loader-S77URTQS.js +32 -0
- package/dist/{location-create-ZMNB7YKR.js → location-create-SO2CURZL.js} +1 -1
- package/dist/{location-detail-EK2S7WOK.js → location-detail-WN5HVKYF.js} +23 -24
- package/dist/{location-edit-DMBF3CYZ.js → location-edit-XA53657R.js} +1 -1
- package/dist/{location-fulfillment-providers-YQAUTEWK.js → location-fulfillment-providers-ABZ65GIC.js} +34 -35
- package/dist/{location-list-IV323QW2.js → location-list-CZA5V424.js} +22 -23
- package/dist/{location-sales-channels-EYUXMTW7.js → location-sales-channels-J7ZV7RHB.js} +8 -8
- package/dist/{location-service-zone-create-ZS3UWJAA.js → location-service-zone-create-7AQNNBIB.js} +7 -7
- package/dist/{location-service-zone-edit-MTGU2O4C.js → location-service-zone-edit-X37BNDRP.js} +1 -1
- package/dist/{location-service-zone-manage-areas-S7QZTIFT.js → location-service-zone-manage-areas-FW7DW6C4.js} +7 -7
- package/dist/{location-service-zone-shipping-option-create-36JZFRGY.js → location-service-zone-shipping-option-create-IPQF3VMS.js} +25 -26
- package/dist/{location-service-zone-shipping-option-edit-3PGSNKYT.js → location-service-zone-shipping-option-edit-WRSLBO23.js} +4 -4
- package/dist/{location-service-zone-shipping-option-pricing-JLGCOZGS.js → location-service-zone-shipping-option-pricing-FZNCTVT6.js} +8 -8
- package/dist/{login-6L3RMREO.js → login-J6UNTZII.js} +20 -21
- package/dist/{manage-locations-CFTM6DNH.js → manage-locations-3IXLBRY5.js} +1 -1
- package/dist/{marketplace-add-currencies-6ANNBGZM.js → marketplace-add-currencies-7MNMK5MD.js} +9 -9
- package/dist/{marketplace-detail-BAU2MEJT.js → marketplace-detail-HYZKPGFP.js} +25 -26
- package/dist/{marketplace-edit-6Q3G2OY5.js → marketplace-edit-QNFCTDUC.js} +1 -1
- package/dist/{marketplace-metadata-KRCGKOCA.js → marketplace-metadata-XWMSFSLY.js} +23 -24
- package/dist/offer-detail-page-563ISJ2A.js +572 -0
- package/dist/offer-variant-detail-page-UNWZBHXM.js +143 -0
- package/dist/offers-VAGLCRW6.js +603 -0
- package/dist/{order-create-claim-RMDDCUZ6.js → order-create-claim-J5L46I5K.js} +278 -253
- package/dist/{order-create-edit-PQ54JFZZ.js → order-create-edit-A52YVMEP.js} +214 -119
- package/dist/{order-create-exchange-T6DBVS75.js → order-create-exchange-MVNQIEXK.js} +287 -260
- package/dist/{order-create-refund-OW3MIXBY.js → order-create-refund-XXHC5LFS.js} +25 -26
- package/dist/{order-create-return-YCX6C3VP.js → order-create-return-65KF5A2N.js} +54 -27
- package/dist/{order-detail-2OAEGBQG.js → order-detail-O327KLZC.js} +36 -38
- package/dist/{order-edit-billing-address-VGZBQHF5.js → order-edit-billing-address-ER7MGZEB.js} +23 -24
- package/dist/{order-edit-email-OOCXVRET.js → order-edit-email-XYHRJQ2T.js} +22 -23
- package/dist/{order-edit-shipping-address-B4F3E5RE.js → order-edit-shipping-address-YPEC2Q6U.js} +22 -23
- package/dist/{order-list-M6F7PKVN.js → order-list-43LBG6AQ.js} +15 -15
- package/dist/{order-metadata-AN6MPHHT.js → order-metadata-EAGVYWZL.js} +22 -23
- package/dist/{order-request-transfer-A2NJSQ4H.js → order-request-transfer-O4Q73SK5.js} +22 -23
- package/dist/pages/index.d.ts +586 -756
- package/dist/pages/index.js +200 -204
- package/dist/{payout-list-7WJZFNW5.js → payout-list-6HQJM5YW.js} +5 -5
- package/dist/{price-list-configuration-XAHXLCXR.js → price-list-configuration-XAQ2OEG4.js} +13 -12
- package/dist/{price-list-create-CZAQLDSW.js → price-list-create-H7WBDAC5.js} +38 -39
- package/dist/{price-list-detail-6VXW6O5I.js → price-list-detail-BYXRB2ND.js} +32 -33
- package/dist/{price-list-edit-ZVLD4M5T.js → price-list-edit-BYSFESIX.js} +4 -4
- package/dist/{price-list-list-ER4TOZTY.js → price-list-list-NNCTFTSJ.js} +9 -9
- package/dist/{price-list-prices-add-FQI7EF6V.js → price-list-prices-add-RN5RKGF6.js} +35 -36
- package/dist/{price-list-prices-edit-WHCIGSB2.js → price-list-prices-edit-P3HBNQVA.js} +23 -24
- package/dist/{product-add-existing-attributes-QKIGOAE2.js → product-add-existing-attributes-3DKKBGKG.js} +81 -42
- package/dist/{product-attributes-MHRXZK5S.js → product-attributes-CGLY56QN.js} +3 -3
- package/dist/{product-bulk-edit-J6ZP7GGM.js → product-bulk-edit-L5VJUWHK.js} +6 -8
- package/dist/{product-create-ZVQOFCJA.js → product-create-BJPAN5FR.js} +33 -34
- package/dist/{product-create-attribute-ZT3VZDNZ.js → product-create-attribute-LBQENHSF.js} +91 -53
- package/dist/product-create-variant-4PS7DJUI.js +20 -0
- package/dist/{product-detail-N6W4M6TC.js → product-detail-JKPHVZT5.js} +29 -27
- package/dist/{product-edit-EKAZRIJ6.js → product-edit-P6XH3L6L.js} +3 -5
- package/dist/product-edit-attribute-VGOXQKZ3.js +368 -0
- package/dist/{product-list-VWBUTMXT.js → product-list-XSNCYJWP.js} +32 -33
- package/dist/{product-media-KREKRDOC.js → product-media-AH6H4HJX.js} +13 -9
- package/dist/{product-metadata-O3BAEUYB.js → product-metadata-NGELJKS3.js} +23 -24
- package/dist/{product-organization-SBQY44IF.js → product-organization-CKUJWI3D.js} +83 -50
- package/dist/{product-sales-channels-TFOGXCMI.js → product-sales-channels-5BL5U76N.js} +8 -8
- package/dist/{product-shipping-profile-E4HJ4EYW.js → product-shipping-profile-GOXQTNIA.js} +3 -3
- package/dist/{product-tag-create-7JBM6I3V.js → product-tag-create-26GJFMP3.js} +21 -22
- package/dist/{product-tag-detail-KSJ45MJU.js → product-tag-detail-GI7UI22V.js} +49 -48
- package/dist/{product-tag-edit-O2ADFDD6.js → product-tag-edit-LJ5LOAB4.js} +21 -22
- package/dist/{product-tag-list-NQPPUWZG.js → product-tag-list-H3BEJC3T.js} +49 -48
- package/dist/{product-tag-metadata-SBOUTUXY.js → product-tag-metadata-VUQYHROC.js} +22 -23
- package/dist/{product-type-create-RHG4KEAV.js → product-type-create-A7SUR2OX.js} +1 -1
- package/dist/{product-type-detail-L2ASZ4GW.js → product-type-detail-YLTHK3WR.js} +31 -32
- package/dist/{product-type-edit-CABB7R7Y.js → product-type-edit-DM4U2VB4.js} +1 -1
- package/dist/{product-type-list-TM26QMHR.js → product-type-list-FCPUCMHZ.js} +4 -4
- package/dist/{product-type-metadata-KN5OXR6J.js → product-type-metadata-GX45OZJN.js} +23 -24
- package/dist/{product-variant-detail-H2YRFDAU.js → product-variant-detail-NTZAL233.js} +25 -35
- package/dist/{product-variant-edit-T267E4SW.js → product-variant-edit-QJDI34H5.js} +172 -263
- package/dist/{product-variant-metadata-QESZ7VS2.js → product-variant-metadata-7YFMPPB6.js} +22 -23
- package/dist/{profile-edit-HQTWYWZ7.js → profile-edit-H5QZ66PF.js} +1 -1
- package/dist/{promotion-add-campaign-O3RTMS3W.js → promotion-add-campaign-V3RJ634F.js} +4 -4
- package/dist/{promotion-create-TGC6BVWF.js → promotion-create-4CYXDQ4X.js} +26 -27
- package/dist/{promotion-detail-VYIXZMMD.js → promotion-detail-NFNBZ6YZ.js} +24 -25
- package/dist/{promotion-edit-details-TKRC5HES.js → promotion-edit-details-NWOBD3YD.js} +1 -1
- package/dist/{promotion-list-C3SKV5BJ.js → promotion-list-QWALFJWV.js} +7 -7
- package/dist/{refund-reason-create-2KEQFOID.js → refund-reason-create-UKEEJ47T.js} +21 -22
- package/dist/{refund-reason-edit-E7CB7SM3.js → refund-reason-edit-5TIFGV34.js} +21 -22
- package/dist/{refund-reason-list-PAWAU6KN.js → refund-reason-list-T55XZNAP.js} +39 -38
- package/dist/{region-add-countries-COXN4LP3.js → region-add-countries-C23C6QUJ.js} +9 -9
- package/dist/{region-create-P66Q65XY.js → region-create-L2JYP7DK.js} +9 -9
- package/dist/{region-detail-P2HHBYFV.js → region-detail-4MELDU2I.js} +6 -6
- package/dist/{region-edit-XFE54SAO.js → region-edit-YQZCZIX3.js} +1 -1
- package/dist/{region-list-2XXKCDDX.js → region-list-SDMLAQCG.js} +5 -5
- package/dist/{region-metadata-723RQGHS.js → region-metadata-ZCPAAMLY.js} +25 -26
- package/dist/{reservation-create-Y3HG4AZA.js → reservation-create-WWGZ5A7Z.js} +3 -3
- package/dist/{reservation-detail-HQMADZ56.js → reservation-detail-K7LQX5TT.js} +21 -22
- package/dist/{reservation-list-YKC3JJ6K.js → reservation-list-AQFSNZNN.js} +6 -6
- package/dist/{reservation-metadata-UG4YTEMY.js → reservation-metadata-4W5SP7OA.js} +22 -23
- package/dist/{reset-password-2VNU52CE.js → reset-password-37QWVIGC.js} +1 -1
- package/dist/{return-reason-create-KED7446I.js → return-reason-create-G7ON7U3A.js} +1 -1
- package/dist/{return-reason-edit-57EU3XSE.js → return-reason-edit-77RVRFF6.js} +1 -1
- package/dist/{return-reason-list-YH3HHTLJ.js → return-reason-list-IZNMWPEM.js} +26 -24
- package/dist/{sales-channel-add-products-IOS5FT56.js → sales-channel-add-products-RDYMBNAE.js} +35 -36
- package/dist/{sales-channel-create-BSNCLZWR.js → sales-channel-create-APJ6UXEW.js} +3 -3
- package/dist/{sales-channel-detail-6T4M2IEH.js → sales-channel-detail-XF3WPMVT.js} +30 -31
- package/dist/{sales-channel-edit-FUDXMZYV.js → sales-channel-edit-CBZZQ2VG.js} +3 -3
- package/dist/{sales-channel-list-GYLGH4U7.js → sales-channel-list-46AJDQZ6.js} +24 -25
- package/dist/{sales-channel-metadata-H6RSHKVP.js → sales-channel-metadata-AWVCB7DX.js} +22 -23
- package/dist/{shipping-option-type-create-QAOW7753.js → shipping-option-type-create-NSGPERMQ.js} +21 -22
- package/dist/{shipping-option-type-detail-QGWVDTDU.js → shipping-option-type-detail-IZ2XRP3S.js} +22 -23
- package/dist/{shipping-option-type-edit-WXYBDRNY.js → shipping-option-type-edit-KFVTVVGH.js} +21 -22
- package/dist/{shipping-option-type-list-YSWP6DSC.js → shipping-option-type-list-2P65XUH5.js} +25 -26
- package/dist/{shipping-profile-create-UJNCCKKK.js → shipping-profile-create-JYRXTOBF.js} +1 -1
- package/dist/{shipping-profile-metadata-UE53IA3J.js → shipping-profile-metadata-FPD35TQ3.js} +23 -24
- package/dist/{shipping-profiles-list-JF2SQIQ7.js → shipping-profiles-list-VUUGBT24.js} +4 -4
- package/dist/{store-address-edit-PKIBRFH4.js → store-address-edit-SWLACMPC.js} +1 -1
- package/dist/{store-bulk-edit-AMSI34AW.js → store-bulk-edit-N4XSW6UA.js} +3 -3
- package/dist/{store-closure-edit-OK7MTUHY.js → store-closure-edit-Y3FOCDRX.js} +1 -1
- package/dist/{store-create-WNFRHXWR.js → store-create-VFXM4O7E.js} +25 -26
- package/dist/{store-details-4KYA642K.js → store-details-2V46HEJD.js} +39 -54
- package/dist/{store-edit-GWHK5PX5.js → store-edit-G6JFYGXK.js} +8 -8
- package/dist/{store-list-SUFT46IY.js → store-list-5FPJV3KV.js} +35 -36
- package/dist/{store-member-invite-MUSU7EQ7.js → store-member-invite-7ORH52T4.js} +2 -2
- package/dist/{store-payment-details-edit-HOGHZMZC.js → store-payment-details-edit-DF2WURRI.js} +1 -1
- package/dist/{store-professional-details-edit-DPJ4ZFDR.js → store-professional-details-edit-FPOLORSE.js} +1 -1
- package/dist/{tax-region-create-3KVECMFN.js → tax-region-create-HUF2FCLU.js} +22 -23
- package/dist/{tax-region-detail-AOT4X4DZ.js → tax-region-detail-UZ776HBC.js} +28 -29
- package/dist/{tax-region-edit-5T7VHKIA.js → tax-region-edit-M24WWMU6.js} +21 -22
- package/dist/{tax-region-list-FIBHEFVD.js → tax-region-list-6LH6TYQZ.js} +4 -4
- package/dist/{tax-region-metadata-RSZCJGJT.js → tax-region-metadata-XJFQE3XR.js} +22 -23
- package/dist/{tax-region-province-create-OVLIZPNP.js → tax-region-province-create-SEPY4OAZ.js} +1 -1
- package/dist/{tax-region-province-detail-XEMIX5SQ.js → tax-region-province-detail-7JRSANC2.js} +26 -27
- package/dist/{tax-region-tax-override-create-74C24OCP.js → tax-region-tax-override-create-G5DAVZDV.js} +52 -53
- package/dist/{tax-region-tax-override-edit-KSQI4ITI.js → tax-region-tax-override-edit-D52MNBCS.js} +53 -54
- package/dist/{tax-region-tax-rate-create-KDN6G52Y.js → tax-region-tax-rate-create-ZITIAU3K.js} +1 -1
- package/dist/{tax-region-tax-rate-edit-D4BFDDJ7.js → tax-region-tax-rate-edit-RQLUPHD4.js} +1 -1
- package/dist/{user-detail-W7DGVXDZ.js → user-detail-JV2BQ43X.js} +1 -1
- package/dist/{user-edit-MXS2DV37.js → user-edit-DVIMNODF.js} +1 -1
- package/dist/{user-invite-HLZJ7FST.js → user-invite-KYSDELAV.js} +9 -9
- package/dist/{user-list-TR7RSGUO.js → user-list-IUJTQS5X.js} +4 -4
- package/dist/{user-metadata-3AFZX3DM.js → user-metadata-ZBON4ZVS.js} +22 -23
- package/package.json +12 -12
- package/dist/[id]-YI7UXOO2.js +0 -499
- package/dist/chunk-AKTAFKIU.js +0 -228
- package/dist/chunk-ALATTLBM.js +0 -390
- package/dist/chunk-IEPNHH7Z.js +0 -170
- package/dist/chunk-J65IXAGI.js +0 -292
- package/dist/chunk-QSGR43JM.js +0 -30
- package/dist/chunk-RAWXS763.js +0 -652
- package/dist/chunk-RQ4NMLSS.js +0 -8
- package/dist/chunk-RXM4B6HR.js +0 -8
- package/dist/chunk-SNPNLTCO.js +0 -207
- package/dist/chunk-SWL7ZCP3.js +0 -11
- package/dist/chunk-U7XILJH6.js +0 -423
- package/dist/chunk-UM7ZR3VU.js +0 -14
- package/dist/chunk-V5XHY5LP.js +0 -39
- package/dist/chunk-WV4SQ57G.js +0 -141
- package/dist/chunk-ZZ3XFIEM.js +0 -84
- package/dist/commission-rate-create-7SH3LKQP.js +0 -783
- package/dist/commission-rate-detail-LAZZLZVX.js +0 -86
- package/dist/commission-rate-edit-ISER2E7G.js +0 -768
- package/dist/commission-rate-list-Y5XLEO67.js +0 -26
- package/dist/loader-6KDBTRVR.js +0 -26
- package/dist/offers-566UJ2JF.js +0 -440
- package/dist/order-allocate-items-DJ2V4B7A.js +0 -563
- package/dist/order-create-fulfillment-SMSUJSBN.js +0 -644
- package/dist/order-create-shipment-5ZAWH5CZ.js +0 -215
- package/dist/order-receive-return-DZ4IUOHY.js +0 -563
- package/dist/product-brand-create-B3ZJGHUQ.js +0 -171
- package/dist/product-brand-detail-WYALM342.js +0 -100
- package/dist/product-brand-edit-3TQDHZNN.js +0 -179
- package/dist/product-brand-list-ZBPBSRQN.js +0 -30
- package/dist/product-brand-metadata-EAMW6PQJ.js +0 -87
- package/dist/product-create-option-NIAP75EE.js +0 -130
- package/dist/product-create-variant-KKOMOEDX.js +0 -60
- package/dist/product-edit-option-OZUZGMIM.js +0 -166
- package/dist/product-prices-R5JOHVGS.js +0 -267
- package/dist/product-stock-EIP2XJUR.js +0 -545
- package/dist/product-variant-manage-inventory-items-Q5MJG3EJ.js +0 -337
- package/dist/{chunk-WVKVPGJW.js → chunk-FNKBJCNF.js} +3 -3
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-DINN0J9x.js';
|
|
10
|
+
export { P as PRODUCT_DETAIL_FIELDS, a as PRODUCT_DETAIL_QUERY } from '../constants-DINN0J9x.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 `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
|
-
|
|
476
|
+
requires_shipping?: boolean | undefined;
|
|
477
|
+
description?: string | undefined;
|
|
478
|
+
thumbnail?: string | undefined;
|
|
378
479
|
width?: string | number | undefined;
|
|
379
|
-
sku?: string | undefined;
|
|
380
|
-
hs_code?: string | undefined;
|
|
381
480
|
height?: string | number | undefined;
|
|
481
|
+
weight?: string | number | undefined;
|
|
382
482
|
origin_country?: string | undefined;
|
|
383
|
-
|
|
483
|
+
hs_code?: string | undefined;
|
|
384
484
|
material?: string | undefined;
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
thumbnail?: string | undefined;
|
|
485
|
+
mid_code?: string | undefined;
|
|
486
|
+
sku?: string | undefined;
|
|
388
487
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
389
488
|
}, {
|
|
390
489
|
title: string;
|
|
391
490
|
length?: string | number | undefined;
|
|
392
|
-
|
|
491
|
+
requires_shipping?: boolean | undefined;
|
|
492
|
+
description?: string | undefined;
|
|
493
|
+
thumbnail?: string | undefined;
|
|
393
494
|
width?: string | number | undefined;
|
|
394
|
-
sku?: string | undefined;
|
|
395
|
-
hs_code?: string | undefined;
|
|
396
495
|
height?: string | number | undefined;
|
|
496
|
+
weight?: string | number | undefined;
|
|
397
497
|
origin_country?: string | undefined;
|
|
398
|
-
|
|
498
|
+
hs_code?: string | undefined;
|
|
399
499
|
material?: string | undefined;
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
thumbnail?: string | undefined;
|
|
500
|
+
mid_code?: string | undefined;
|
|
501
|
+
sku?: 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
|
-
|
|
524
|
+
requires_shipping?: boolean | undefined;
|
|
525
|
+
description?: string | undefined;
|
|
526
|
+
thumbnail?: string | undefined;
|
|
426
527
|
width?: string | number | undefined;
|
|
427
|
-
sku?: string | undefined;
|
|
428
|
-
hs_code?: string | undefined;
|
|
429
528
|
height?: string | number | undefined;
|
|
529
|
+
weight?: string | number | undefined;
|
|
430
530
|
origin_country?: string | undefined;
|
|
431
|
-
|
|
531
|
+
hs_code?: string | undefined;
|
|
432
532
|
material?: string | undefined;
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
thumbnail?: string | undefined;
|
|
533
|
+
mid_code?: string | undefined;
|
|
534
|
+
sku?: 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
|
-
|
|
545
|
+
requires_shipping?: boolean | undefined;
|
|
546
|
+
description?: string | undefined;
|
|
547
|
+
thumbnail?: string | undefined;
|
|
447
548
|
width?: string | number | undefined;
|
|
448
|
-
sku?: string | undefined;
|
|
449
|
-
hs_code?: string | undefined;
|
|
450
549
|
height?: string | number | undefined;
|
|
550
|
+
weight?: string | number | undefined;
|
|
451
551
|
origin_country?: string | undefined;
|
|
452
|
-
|
|
552
|
+
hs_code?: string | undefined;
|
|
453
553
|
material?: string | undefined;
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
thumbnail?: string | undefined;
|
|
554
|
+
mid_code?: string | undefined;
|
|
555
|
+
sku?: 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
|
-
|
|
751
|
+
enabled_in_store: boolean;
|
|
653
752
|
price_type: ShippingOptionPriceType;
|
|
753
|
+
shipping_option_type_id: string;
|
|
654
754
|
currency_prices: Record<string, string | undefined>;
|
|
655
|
-
enabled_in_store: boolean;
|
|
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
|
-
|
|
777
|
+
enabled_in_store: boolean;
|
|
679
778
|
price_type: ShippingOptionPriceType;
|
|
779
|
+
shipping_option_type_id: string;
|
|
680
780
|
currency_prices: Record<string, string | undefined>;
|
|
681
|
-
enabled_in_store: boolean;
|
|
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
|
-
|
|
830
|
+
enabled_in_store: boolean;
|
|
732
831
|
price_type: ShippingOptionPriceType;
|
|
832
|
+
shipping_option_type_id: string;
|
|
733
833
|
currency_prices: Record<string, string | undefined>;
|
|
734
|
-
enabled_in_store: boolean;
|
|
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
|
-
|
|
862
|
+
enabled_in_store: boolean;
|
|
764
863
|
price_type: ShippingOptionPriceType;
|
|
864
|
+
shipping_option_type_id: string;
|
|
765
865
|
currency_prices: Record<string, string | undefined>;
|
|
766
|
-
enabled_in_store: boolean;
|
|
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,12 @@ 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";
|
|
1105
|
+
product_ids: {
|
|
1106
|
+
id: string;
|
|
1107
|
+
}[];
|
|
1003
1108
|
products: Record<string, {
|
|
1004
1109
|
variants: Record<string, {
|
|
1005
1110
|
currency_prices: Record<string, {
|
|
@@ -1010,12 +1115,6 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1010
1115
|
} | undefined>;
|
|
1011
1116
|
}>;
|
|
1012
1117
|
}>;
|
|
1013
|
-
status: "draft" | "active";
|
|
1014
|
-
description: string;
|
|
1015
|
-
type: "sale" | "override";
|
|
1016
|
-
product_ids: {
|
|
1017
|
-
id: string;
|
|
1018
|
-
}[];
|
|
1019
1118
|
rules?: {
|
|
1020
1119
|
customer_group_id?: {
|
|
1021
1120
|
id: string;
|
|
@@ -1026,6 +1125,12 @@ 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";
|
|
1131
|
+
product_ids: {
|
|
1132
|
+
id: string;
|
|
1133
|
+
}[];
|
|
1029
1134
|
products: Record<string, {
|
|
1030
1135
|
variants: Record<string, {
|
|
1031
1136
|
currency_prices: Record<string, {
|
|
@@ -1036,12 +1141,6 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1036
1141
|
} | undefined>;
|
|
1037
1142
|
}>;
|
|
1038
1143
|
}>;
|
|
1039
|
-
status: "draft" | "active";
|
|
1040
|
-
description: string;
|
|
1041
|
-
type: "sale" | "override";
|
|
1042
|
-
product_ids: {
|
|
1043
|
-
id: string;
|
|
1044
|
-
}[];
|
|
1045
1144
|
rules?: {
|
|
1046
1145
|
customer_group_id?: {
|
|
1047
1146
|
id: string;
|
|
@@ -1068,6 +1167,12 @@ 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";
|
|
1173
|
+
product_ids: {
|
|
1174
|
+
id: string;
|
|
1175
|
+
}[];
|
|
1071
1176
|
products: Record<string, {
|
|
1072
1177
|
variants: Record<string, {
|
|
1073
1178
|
currency_prices: Record<string, {
|
|
@@ -1078,12 +1183,6 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1078
1183
|
} | undefined>;
|
|
1079
1184
|
}>;
|
|
1080
1185
|
}>;
|
|
1081
|
-
status: "draft" | "active";
|
|
1082
|
-
description: string;
|
|
1083
|
-
type: "sale" | "override";
|
|
1084
|
-
product_ids: {
|
|
1085
|
-
id: string;
|
|
1086
|
-
}[];
|
|
1087
1186
|
rules?: {
|
|
1088
1187
|
customer_group_id?: {
|
|
1089
1188
|
id: string;
|
|
@@ -1098,6 +1197,12 @@ 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";
|
|
1203
|
+
product_ids: {
|
|
1204
|
+
id: string;
|
|
1205
|
+
}[];
|
|
1101
1206
|
products: Record<string, {
|
|
1102
1207
|
variants: Record<string, {
|
|
1103
1208
|
currency_prices: Record<string, {
|
|
@@ -1108,12 +1213,6 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1108
1213
|
} | undefined>;
|
|
1109
1214
|
}>;
|
|
1110
1215
|
}>;
|
|
1111
|
-
status: "draft" | "active";
|
|
1112
|
-
description: string;
|
|
1113
|
-
type: "sale" | "override";
|
|
1114
|
-
product_ids: {
|
|
1115
|
-
id: string;
|
|
1116
|
-
}[];
|
|
1117
1216
|
rules?: {
|
|
1118
1217
|
customer_group_id?: {
|
|
1119
1218
|
id: string;
|
|
@@ -1132,6 +1231,12 @@ 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";
|
|
1237
|
+
product_ids: {
|
|
1238
|
+
id: string;
|
|
1239
|
+
}[];
|
|
1135
1240
|
products: Record<string, {
|
|
1136
1241
|
variants: Record<string, {
|
|
1137
1242
|
currency_prices: Record<string, {
|
|
@@ -1142,12 +1247,6 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1142
1247
|
} | undefined>;
|
|
1143
1248
|
}>;
|
|
1144
1249
|
}>;
|
|
1145
|
-
status: "draft" | "active";
|
|
1146
|
-
description: string;
|
|
1147
|
-
type: "sale" | "override";
|
|
1148
|
-
product_ids: {
|
|
1149
|
-
id: string;
|
|
1150
|
-
}[];
|
|
1151
1250
|
rules?: {
|
|
1152
1251
|
customer_group_id?: {
|
|
1153
1252
|
id: string;
|
|
@@ -1224,6 +1323,9 @@ declare const PriceListPricesAddSchema: z.ZodObject<{
|
|
|
1224
1323
|
}>;
|
|
1225
1324
|
}>>;
|
|
1226
1325
|
}, "strip", z.ZodTypeAny, {
|
|
1326
|
+
product_ids: {
|
|
1327
|
+
id: string;
|
|
1328
|
+
}[];
|
|
1227
1329
|
products: Record<string, {
|
|
1228
1330
|
variants: Record<string, {
|
|
1229
1331
|
currency_prices: Record<string, {
|
|
@@ -1234,10 +1336,10 @@ declare const PriceListPricesAddSchema: z.ZodObject<{
|
|
|
1234
1336
|
} | undefined>;
|
|
1235
1337
|
}>;
|
|
1236
1338
|
}>;
|
|
1339
|
+
}, {
|
|
1237
1340
|
product_ids: {
|
|
1238
1341
|
id: string;
|
|
1239
1342
|
}[];
|
|
1240
|
-
}, {
|
|
1241
1343
|
products: Record<string, {
|
|
1242
1344
|
variants: Record<string, {
|
|
1243
1345
|
currency_prices: Record<string, {
|
|
@@ -1248,9 +1350,6 @@ declare const PriceListPricesAddSchema: z.ZodObject<{
|
|
|
1248
1350
|
} | undefined>;
|
|
1249
1351
|
}>;
|
|
1250
1352
|
}>;
|
|
1251
|
-
product_ids: {
|
|
1252
|
-
id: string;
|
|
1253
|
-
}[];
|
|
1254
1353
|
}>;
|
|
1255
1354
|
type PriceListPricesAddSchema = z.infer<typeof PriceListPricesAddSchema>;
|
|
1256
1355
|
|
|
@@ -1273,6 +1372,9 @@ declare const PriceListPricesAddPage: (({ children }: {
|
|
|
1273
1372
|
priceList: _medusajs_types.AdminPriceList;
|
|
1274
1373
|
}): react_jsx_runtime.JSX.Element;
|
|
1275
1374
|
_tabMeta: TabDefinition<{
|
|
1375
|
+
product_ids: {
|
|
1376
|
+
id: string;
|
|
1377
|
+
}[];
|
|
1276
1378
|
products: Record<string, {
|
|
1277
1379
|
variants: Record<string, {
|
|
1278
1380
|
currency_prices: Record<string, {
|
|
@@ -1283,9 +1385,6 @@ declare const PriceListPricesAddPage: (({ children }: {
|
|
|
1283
1385
|
} | undefined>;
|
|
1284
1386
|
}>;
|
|
1285
1387
|
}>;
|
|
1286
|
-
product_ids: {
|
|
1287
|
-
id: string;
|
|
1288
|
-
}[];
|
|
1289
1388
|
}>;
|
|
1290
1389
|
};
|
|
1291
1390
|
PricesTab: {
|
|
@@ -1295,6 +1394,9 @@ declare const PriceListPricesAddPage: (({ children }: {
|
|
|
1295
1394
|
pricePreferences: _medusajs_types.AdminPricePreference[];
|
|
1296
1395
|
}): react_jsx_runtime.JSX.Element;
|
|
1297
1396
|
_tabMeta: TabDefinition<{
|
|
1397
|
+
product_ids: {
|
|
1398
|
+
id: string;
|
|
1399
|
+
}[];
|
|
1298
1400
|
products: Record<string, {
|
|
1299
1401
|
variants: Record<string, {
|
|
1300
1402
|
currency_prices: Record<string, {
|
|
@@ -1305,9 +1407,6 @@ declare const PriceListPricesAddPage: (({ children }: {
|
|
|
1305
1407
|
} | undefined>;
|
|
1306
1408
|
}>;
|
|
1307
1409
|
}>;
|
|
1308
|
-
product_ids: {
|
|
1309
|
-
id: string;
|
|
1310
|
-
}[];
|
|
1311
1410
|
}>;
|
|
1312
1411
|
};
|
|
1313
1412
|
Tab: ({ children, }: {
|
|
@@ -1317,33 +1416,6 @@ declare const PriceListPricesAddPage: (({ children }: {
|
|
|
1317
1416
|
}) => react_jsx_runtime.JSX.Element;
|
|
1318
1417
|
};
|
|
1319
1418
|
|
|
1320
|
-
declare const ProductBrandListPage: (({ children }: {
|
|
1321
|
-
children?: ReactNode;
|
|
1322
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
1323
|
-
Table: ({ children, }: {
|
|
1324
|
-
children?: ReactNode;
|
|
1325
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1326
|
-
Header: ({ children, }: {
|
|
1327
|
-
children?: ReactNode;
|
|
1328
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1329
|
-
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
1330
|
-
HeaderActions: ({ children, }: {
|
|
1331
|
-
children?: ReactNode;
|
|
1332
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1333
|
-
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
1334
|
-
};
|
|
1335
|
-
|
|
1336
|
-
declare const ProductBrandDetailPage: (({ children }: {
|
|
1337
|
-
children?: ReactNode;
|
|
1338
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
1339
|
-
GeneralSection: ({ productBrand, }: {
|
|
1340
|
-
productBrand: _mercurjs_types.ProductBrandDTO;
|
|
1341
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1342
|
-
ProductSection: ({ productBrand, }: {
|
|
1343
|
-
productBrand: _mercurjs_types.ProductBrandDTO;
|
|
1344
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1345
|
-
};
|
|
1346
|
-
|
|
1347
1419
|
declare const ProductTagListPage: (({ children }: {
|
|
1348
1420
|
children?: ReactNode;
|
|
1349
1421
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
@@ -1402,25 +1474,12 @@ declare function VariantGeneralSection({ variant, }: {
|
|
|
1402
1474
|
variant: HttpTypes.AdminProductVariant;
|
|
1403
1475
|
}): react_jsx_runtime.JSX.Element;
|
|
1404
1476
|
|
|
1405
|
-
/**
|
|
1406
|
-
* Wrapper that handles manage_inventory gating and inventory_items mapping.
|
|
1407
|
-
*/
|
|
1408
|
-
declare function VariantInventorySectionConnected({ variant, }: {
|
|
1409
|
-
variant: HttpTypes.AdminProductVariant;
|
|
1410
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1411
|
-
|
|
1412
|
-
declare function VariantPricesSection({ variant, }: {
|
|
1413
|
-
variant: HttpTypes.AdminProductVariant;
|
|
1414
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1415
|
-
|
|
1416
1477
|
declare const ProductVariantDetailPage: (({ children }: {
|
|
1417
1478
|
children?: ReactNode;
|
|
1418
1479
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
1419
1480
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
1420
1481
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
1421
1482
|
MainGeneralSection: typeof VariantGeneralSection;
|
|
1422
|
-
MainInventorySection: typeof VariantInventorySectionConnected;
|
|
1423
|
-
SidebarPricesSection: typeof VariantPricesSection;
|
|
1424
1483
|
};
|
|
1425
1484
|
|
|
1426
1485
|
declare const ProductListPage: (({ children }: {
|
|
@@ -1453,13 +1512,15 @@ declare const ProductDetailPage: (({ children }: {
|
|
|
1453
1512
|
MainActiveEditSection: ({ product, }: {
|
|
1454
1513
|
product: HttpTypes.AdminProduct & {
|
|
1455
1514
|
sellers?: SellerDTO[];
|
|
1515
|
+
attributes?: _mercurjs_dashboard_shared.ProductChangeAttribute[];
|
|
1456
1516
|
};
|
|
1457
1517
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
1458
1518
|
MainGeneralSection: ({ product, }: {
|
|
1459
1519
|
product: HttpTypes.AdminProduct;
|
|
1460
1520
|
}) => react_jsx_runtime.JSX.Element;
|
|
1461
|
-
MainMediaSection: ({ product, }: {
|
|
1521
|
+
MainMediaSection: ({ product, readOnly, }: {
|
|
1462
1522
|
product: HttpTypes.AdminProduct;
|
|
1523
|
+
readOnly?: boolean;
|
|
1463
1524
|
}) => react_jsx_runtime.JSX.Element;
|
|
1464
1525
|
MainAttributeSection: ({ product, }: {
|
|
1465
1526
|
product: {
|
|
@@ -1481,6 +1542,7 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1481
1542
|
handle: z.ZodOptional<z.ZodString>;
|
|
1482
1543
|
description: z.ZodOptional<z.ZodString>;
|
|
1483
1544
|
discountable: z.ZodBoolean;
|
|
1545
|
+
globally_available: z.ZodBoolean;
|
|
1484
1546
|
type_id: z.ZodOptional<z.ZodString>;
|
|
1485
1547
|
collection_id: z.ZodOptional<z.ZodString>;
|
|
1486
1548
|
category_id: z.ZodString;
|
|
@@ -1518,8 +1580,8 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1518
1580
|
use_for_variants: boolean;
|
|
1519
1581
|
values?: string | string[] | undefined;
|
|
1520
1582
|
type?: string | undefined;
|
|
1521
|
-
is_required?: boolean | undefined;
|
|
1522
1583
|
attribute_id?: string | undefined;
|
|
1584
|
+
is_required?: boolean | undefined;
|
|
1523
1585
|
available_values?: {
|
|
1524
1586
|
id: string;
|
|
1525
1587
|
name: string;
|
|
@@ -1530,8 +1592,8 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1530
1592
|
use_for_variants: boolean;
|
|
1531
1593
|
values?: string | string[] | undefined;
|
|
1532
1594
|
type?: string | undefined;
|
|
1533
|
-
is_required?: boolean | undefined;
|
|
1534
1595
|
attribute_id?: string | undefined;
|
|
1596
|
+
is_required?: boolean | undefined;
|
|
1535
1597
|
available_values?: {
|
|
1536
1598
|
id: string;
|
|
1537
1599
|
name: string;
|
|
@@ -1553,74 +1615,44 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1553
1615
|
material: z.ZodOptional<z.ZodString>;
|
|
1554
1616
|
origin_country: z.ZodOptional<z.ZodString>;
|
|
1555
1617
|
sku: z.ZodOptional<z.ZodString>;
|
|
1556
|
-
|
|
1557
|
-
allow_backorder: z.ZodOptional<z.ZodBoolean>;
|
|
1558
|
-
inventory_kit: z.ZodOptional<z.ZodBoolean>;
|
|
1559
|
-
attribute_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1618
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1560
1619
|
variant_rank: z.ZodNumber;
|
|
1561
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>>>;
|
|
1562
|
-
inventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1563
|
-
inventory_item_id: z.ZodString;
|
|
1564
|
-
required_quantity: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
1565
|
-
}, "strip", z.ZodTypeAny, {
|
|
1566
|
-
inventory_item_id: string;
|
|
1567
|
-
required_quantity?: string | number | undefined;
|
|
1568
|
-
}, {
|
|
1569
|
-
inventory_item_id: string;
|
|
1570
|
-
required_quantity?: string | number | undefined;
|
|
1571
|
-
}>, "many">>;
|
|
1572
1620
|
}, "strip", z.ZodTypeAny, {
|
|
1573
1621
|
title: string;
|
|
1574
1622
|
variant_rank: number;
|
|
1575
1623
|
should_create: boolean;
|
|
1576
1624
|
length?: string | number | undefined;
|
|
1577
|
-
|
|
1625
|
+
options?: Record<string, string> | undefined;
|
|
1578
1626
|
width?: string | number | undefined;
|
|
1579
|
-
inventory?: {
|
|
1580
|
-
inventory_item_id: string;
|
|
1581
|
-
required_quantity?: string | number | undefined;
|
|
1582
|
-
}[] | undefined;
|
|
1583
|
-
sku?: string | undefined;
|
|
1584
|
-
hs_code?: string | undefined;
|
|
1585
1627
|
height?: string | number | undefined;
|
|
1628
|
+
weight?: string | number | undefined;
|
|
1586
1629
|
origin_country?: string | undefined;
|
|
1587
|
-
|
|
1630
|
+
hs_code?: string | undefined;
|
|
1588
1631
|
material?: string | undefined;
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
attribute_values?: Record<string, string> | undefined;
|
|
1592
|
-
barcode?: string | undefined;
|
|
1632
|
+
mid_code?: string | undefined;
|
|
1633
|
+
sku?: string | undefined;
|
|
1593
1634
|
ean?: string | undefined;
|
|
1594
1635
|
upc?: string | undefined;
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
inventory_kit?: boolean | undefined;
|
|
1636
|
+
barcode?: string | undefined;
|
|
1637
|
+
is_default?: boolean | undefined;
|
|
1598
1638
|
}, {
|
|
1599
1639
|
title: string;
|
|
1600
1640
|
variant_rank: number;
|
|
1601
1641
|
should_create: boolean;
|
|
1602
1642
|
length?: string | number | undefined;
|
|
1603
|
-
|
|
1643
|
+
options?: Record<string, string> | undefined;
|
|
1604
1644
|
width?: string | number | undefined;
|
|
1605
|
-
inventory?: {
|
|
1606
|
-
inventory_item_id: string;
|
|
1607
|
-
required_quantity?: string | number | undefined;
|
|
1608
|
-
}[] | undefined;
|
|
1609
|
-
sku?: string | undefined;
|
|
1610
|
-
hs_code?: string | undefined;
|
|
1611
1645
|
height?: string | number | undefined;
|
|
1646
|
+
weight?: string | number | undefined;
|
|
1612
1647
|
origin_country?: string | undefined;
|
|
1613
|
-
|
|
1648
|
+
hs_code?: string | undefined;
|
|
1614
1649
|
material?: string | undefined;
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
attribute_values?: Record<string, string> | undefined;
|
|
1618
|
-
barcode?: string | undefined;
|
|
1650
|
+
mid_code?: string | undefined;
|
|
1651
|
+
sku?: string | undefined;
|
|
1619
1652
|
ean?: string | undefined;
|
|
1620
1653
|
upc?: string | undefined;
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
inventory_kit?: boolean | undefined;
|
|
1654
|
+
barcode?: string | undefined;
|
|
1655
|
+
is_default?: boolean | undefined;
|
|
1624
1656
|
}>, "many">;
|
|
1625
1657
|
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1626
1658
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1640,264 +1672,236 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1640
1672
|
}>, "many">>;
|
|
1641
1673
|
}, "strip", z.ZodTypeAny, {
|
|
1642
1674
|
title: string;
|
|
1675
|
+
category_id: string;
|
|
1676
|
+
discountable: boolean;
|
|
1643
1677
|
variants: {
|
|
1644
1678
|
title: string;
|
|
1645
1679
|
variant_rank: number;
|
|
1646
1680
|
should_create: boolean;
|
|
1647
1681
|
length?: string | number | undefined;
|
|
1648
|
-
|
|
1682
|
+
options?: Record<string, string> | undefined;
|
|
1649
1683
|
width?: string | number | undefined;
|
|
1650
|
-
inventory?: {
|
|
1651
|
-
inventory_item_id: string;
|
|
1652
|
-
required_quantity?: string | number | undefined;
|
|
1653
|
-
}[] | undefined;
|
|
1654
|
-
sku?: string | undefined;
|
|
1655
|
-
hs_code?: string | undefined;
|
|
1656
1684
|
height?: string | number | undefined;
|
|
1685
|
+
weight?: string | number | undefined;
|
|
1657
1686
|
origin_country?: string | undefined;
|
|
1658
|
-
|
|
1687
|
+
hs_code?: string | undefined;
|
|
1659
1688
|
material?: string | undefined;
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
attribute_values?: Record<string, string> | undefined;
|
|
1663
|
-
barcode?: string | undefined;
|
|
1689
|
+
mid_code?: string | undefined;
|
|
1690
|
+
sku?: string | undefined;
|
|
1664
1691
|
ean?: string | undefined;
|
|
1665
1692
|
upc?: string | undefined;
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
inventory_kit?: boolean | undefined;
|
|
1693
|
+
barcode?: string | undefined;
|
|
1694
|
+
is_default?: boolean | undefined;
|
|
1669
1695
|
}[];
|
|
1670
|
-
|
|
1671
|
-
category_id: string;
|
|
1696
|
+
globally_available: boolean;
|
|
1672
1697
|
length?: string | undefined;
|
|
1673
|
-
weight?: string | undefined;
|
|
1674
|
-
width?: string | undefined;
|
|
1675
|
-
hs_code?: string | undefined;
|
|
1676
|
-
height?: string | undefined;
|
|
1677
|
-
origin_country?: string | undefined;
|
|
1678
|
-
mid_code?: string | undefined;
|
|
1679
|
-
material?: string | undefined;
|
|
1680
1698
|
description?: string | undefined;
|
|
1681
1699
|
handle?: string | undefined;
|
|
1682
|
-
|
|
1700
|
+
media?: {
|
|
1701
|
+
url: string;
|
|
1702
|
+
isThumbnail: boolean;
|
|
1703
|
+
file?: any;
|
|
1704
|
+
id?: string | undefined;
|
|
1705
|
+
}[] | undefined;
|
|
1683
1706
|
collection_id?: string | undefined;
|
|
1684
|
-
type_id?: string | undefined;
|
|
1685
|
-
tags?: string[] | undefined;
|
|
1686
1707
|
attributes?: {
|
|
1687
1708
|
title: string;
|
|
1688
1709
|
is_custom: boolean;
|
|
1689
1710
|
use_for_variants: boolean;
|
|
1690
1711
|
values?: string | string[] | undefined;
|
|
1691
1712
|
type?: string | undefined;
|
|
1692
|
-
is_required?: boolean | undefined;
|
|
1693
1713
|
attribute_id?: string | undefined;
|
|
1714
|
+
is_required?: boolean | undefined;
|
|
1694
1715
|
available_values?: {
|
|
1695
1716
|
id: string;
|
|
1696
1717
|
name: string;
|
|
1697
1718
|
}[] | undefined;
|
|
1698
1719
|
}[] | undefined;
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1720
|
+
subtitle?: string | undefined;
|
|
1721
|
+
type_id?: 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;
|
|
1705
1729
|
seller_ids?: string[] | undefined;
|
|
1730
|
+
tags?: string[] | undefined;
|
|
1706
1731
|
}, {
|
|
1707
1732
|
title: string;
|
|
1733
|
+
category_id: string;
|
|
1734
|
+
discountable: boolean;
|
|
1708
1735
|
variants: {
|
|
1709
1736
|
title: string;
|
|
1710
1737
|
variant_rank: number;
|
|
1711
1738
|
should_create: boolean;
|
|
1712
1739
|
length?: string | number | undefined;
|
|
1713
|
-
|
|
1740
|
+
options?: Record<string, string> | undefined;
|
|
1714
1741
|
width?: string | number | undefined;
|
|
1715
|
-
inventory?: {
|
|
1716
|
-
inventory_item_id: string;
|
|
1717
|
-
required_quantity?: string | number | undefined;
|
|
1718
|
-
}[] | undefined;
|
|
1719
|
-
sku?: string | undefined;
|
|
1720
|
-
hs_code?: string | undefined;
|
|
1721
1742
|
height?: string | number | undefined;
|
|
1743
|
+
weight?: string | number | undefined;
|
|
1722
1744
|
origin_country?: string | undefined;
|
|
1723
|
-
|
|
1745
|
+
hs_code?: string | undefined;
|
|
1724
1746
|
material?: string | undefined;
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
attribute_values?: Record<string, string> | undefined;
|
|
1728
|
-
barcode?: string | undefined;
|
|
1747
|
+
mid_code?: string | undefined;
|
|
1748
|
+
sku?: string | undefined;
|
|
1729
1749
|
ean?: string | undefined;
|
|
1730
1750
|
upc?: string | undefined;
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
inventory_kit?: boolean | undefined;
|
|
1751
|
+
barcode?: string | undefined;
|
|
1752
|
+
is_default?: boolean | undefined;
|
|
1734
1753
|
}[];
|
|
1735
|
-
|
|
1736
|
-
category_id: string;
|
|
1754
|
+
globally_available: boolean;
|
|
1737
1755
|
length?: string | undefined;
|
|
1738
|
-
weight?: string | undefined;
|
|
1739
|
-
width?: string | undefined;
|
|
1740
|
-
hs_code?: string | undefined;
|
|
1741
|
-
height?: string | undefined;
|
|
1742
|
-
origin_country?: string | undefined;
|
|
1743
|
-
mid_code?: string | undefined;
|
|
1744
|
-
material?: string | undefined;
|
|
1745
1756
|
description?: string | undefined;
|
|
1746
1757
|
handle?: string | undefined;
|
|
1747
|
-
|
|
1758
|
+
media?: {
|
|
1759
|
+
url: string;
|
|
1760
|
+
isThumbnail: boolean;
|
|
1761
|
+
file?: any;
|
|
1762
|
+
id?: string | undefined;
|
|
1763
|
+
}[] | undefined;
|
|
1748
1764
|
collection_id?: string | undefined;
|
|
1749
|
-
type_id?: string | undefined;
|
|
1750
|
-
tags?: string[] | undefined;
|
|
1751
1765
|
attributes?: {
|
|
1752
1766
|
title: string;
|
|
1753
1767
|
is_custom: boolean;
|
|
1754
1768
|
use_for_variants: boolean;
|
|
1755
1769
|
values?: string | string[] | undefined;
|
|
1756
1770
|
type?: string | undefined;
|
|
1757
|
-
is_required?: boolean | undefined;
|
|
1758
1771
|
attribute_id?: string | undefined;
|
|
1772
|
+
is_required?: boolean | undefined;
|
|
1759
1773
|
available_values?: {
|
|
1760
1774
|
id: string;
|
|
1761
1775
|
name: string;
|
|
1762
1776
|
}[] | undefined;
|
|
1763
1777
|
}[] | undefined;
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1778
|
+
subtitle?: string | undefined;
|
|
1779
|
+
type_id?: 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;
|
|
1770
1787
|
seller_ids?: string[] | undefined;
|
|
1788
|
+
tags?: string[] | undefined;
|
|
1771
1789
|
}>, {
|
|
1772
1790
|
title: string;
|
|
1791
|
+
category_id: string;
|
|
1792
|
+
discountable: boolean;
|
|
1773
1793
|
variants: {
|
|
1774
1794
|
title: string;
|
|
1775
1795
|
variant_rank: number;
|
|
1776
1796
|
should_create: boolean;
|
|
1777
1797
|
length?: string | number | undefined;
|
|
1778
|
-
|
|
1798
|
+
options?: Record<string, string> | undefined;
|
|
1779
1799
|
width?: string | number | undefined;
|
|
1780
|
-
inventory?: {
|
|
1781
|
-
inventory_item_id: string;
|
|
1782
|
-
required_quantity?: string | number | undefined;
|
|
1783
|
-
}[] | undefined;
|
|
1784
|
-
sku?: string | undefined;
|
|
1785
|
-
hs_code?: string | undefined;
|
|
1786
1800
|
height?: string | number | undefined;
|
|
1801
|
+
weight?: string | number | undefined;
|
|
1787
1802
|
origin_country?: string | undefined;
|
|
1788
|
-
|
|
1803
|
+
hs_code?: string | undefined;
|
|
1789
1804
|
material?: string | undefined;
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
attribute_values?: Record<string, string> | undefined;
|
|
1793
|
-
barcode?: string | undefined;
|
|
1805
|
+
mid_code?: string | undefined;
|
|
1806
|
+
sku?: string | undefined;
|
|
1794
1807
|
ean?: string | undefined;
|
|
1795
1808
|
upc?: string | undefined;
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
inventory_kit?: boolean | undefined;
|
|
1809
|
+
barcode?: string | undefined;
|
|
1810
|
+
is_default?: boolean | undefined;
|
|
1799
1811
|
}[];
|
|
1800
|
-
|
|
1801
|
-
category_id: string;
|
|
1812
|
+
globally_available: boolean;
|
|
1802
1813
|
length?: string | undefined;
|
|
1803
|
-
weight?: string | undefined;
|
|
1804
|
-
width?: string | undefined;
|
|
1805
|
-
hs_code?: string | undefined;
|
|
1806
|
-
height?: string | undefined;
|
|
1807
|
-
origin_country?: string | undefined;
|
|
1808
|
-
mid_code?: string | undefined;
|
|
1809
|
-
material?: string | undefined;
|
|
1810
1814
|
description?: string | undefined;
|
|
1811
1815
|
handle?: string | undefined;
|
|
1812
|
-
|
|
1816
|
+
media?: {
|
|
1817
|
+
url: string;
|
|
1818
|
+
isThumbnail: boolean;
|
|
1819
|
+
file?: any;
|
|
1820
|
+
id?: string | undefined;
|
|
1821
|
+
}[] | undefined;
|
|
1813
1822
|
collection_id?: string | undefined;
|
|
1814
|
-
type_id?: string | undefined;
|
|
1815
|
-
tags?: string[] | undefined;
|
|
1816
1823
|
attributes?: {
|
|
1817
1824
|
title: string;
|
|
1818
1825
|
is_custom: boolean;
|
|
1819
1826
|
use_for_variants: boolean;
|
|
1820
1827
|
values?: string | string[] | undefined;
|
|
1821
1828
|
type?: string | undefined;
|
|
1822
|
-
is_required?: boolean | undefined;
|
|
1823
1829
|
attribute_id?: string | undefined;
|
|
1830
|
+
is_required?: boolean | undefined;
|
|
1824
1831
|
available_values?: {
|
|
1825
1832
|
id: string;
|
|
1826
1833
|
name: string;
|
|
1827
1834
|
}[] | undefined;
|
|
1828
1835
|
}[] | undefined;
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1836
|
+
subtitle?: string | undefined;
|
|
1837
|
+
type_id?: 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;
|
|
1835
1845
|
seller_ids?: string[] | undefined;
|
|
1846
|
+
tags?: string[] | undefined;
|
|
1836
1847
|
}, {
|
|
1837
1848
|
title: string;
|
|
1849
|
+
category_id: string;
|
|
1850
|
+
discountable: boolean;
|
|
1838
1851
|
variants: {
|
|
1839
1852
|
title: string;
|
|
1840
1853
|
variant_rank: number;
|
|
1841
1854
|
should_create: boolean;
|
|
1842
1855
|
length?: string | number | undefined;
|
|
1843
|
-
|
|
1856
|
+
options?: Record<string, string> | undefined;
|
|
1844
1857
|
width?: string | number | undefined;
|
|
1845
|
-
inventory?: {
|
|
1846
|
-
inventory_item_id: string;
|
|
1847
|
-
required_quantity?: string | number | undefined;
|
|
1848
|
-
}[] | undefined;
|
|
1849
|
-
sku?: string | undefined;
|
|
1850
|
-
hs_code?: string | undefined;
|
|
1851
1858
|
height?: string | number | undefined;
|
|
1859
|
+
weight?: string | number | undefined;
|
|
1852
1860
|
origin_country?: string | undefined;
|
|
1853
|
-
|
|
1861
|
+
hs_code?: string | undefined;
|
|
1854
1862
|
material?: string | undefined;
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
attribute_values?: Record<string, string> | undefined;
|
|
1858
|
-
barcode?: string | undefined;
|
|
1863
|
+
mid_code?: string | undefined;
|
|
1864
|
+
sku?: string | undefined;
|
|
1859
1865
|
ean?: string | undefined;
|
|
1860
1866
|
upc?: string | undefined;
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
inventory_kit?: boolean | undefined;
|
|
1867
|
+
barcode?: string | undefined;
|
|
1868
|
+
is_default?: boolean | undefined;
|
|
1864
1869
|
}[];
|
|
1865
|
-
|
|
1866
|
-
category_id: string;
|
|
1870
|
+
globally_available: boolean;
|
|
1867
1871
|
length?: string | undefined;
|
|
1868
|
-
weight?: string | undefined;
|
|
1869
|
-
width?: string | undefined;
|
|
1870
|
-
hs_code?: string | undefined;
|
|
1871
|
-
height?: string | undefined;
|
|
1872
|
-
origin_country?: string | undefined;
|
|
1873
|
-
mid_code?: string | undefined;
|
|
1874
|
-
material?: string | undefined;
|
|
1875
1872
|
description?: string | undefined;
|
|
1876
1873
|
handle?: string | undefined;
|
|
1877
|
-
|
|
1874
|
+
media?: {
|
|
1875
|
+
url: string;
|
|
1876
|
+
isThumbnail: boolean;
|
|
1877
|
+
file?: any;
|
|
1878
|
+
id?: string | undefined;
|
|
1879
|
+
}[] | undefined;
|
|
1878
1880
|
collection_id?: string | undefined;
|
|
1879
|
-
type_id?: string | undefined;
|
|
1880
|
-
tags?: string[] | undefined;
|
|
1881
1881
|
attributes?: {
|
|
1882
1882
|
title: string;
|
|
1883
1883
|
is_custom: boolean;
|
|
1884
1884
|
use_for_variants: boolean;
|
|
1885
1885
|
values?: string | string[] | undefined;
|
|
1886
1886
|
type?: string | undefined;
|
|
1887
|
-
is_required?: boolean | undefined;
|
|
1888
1887
|
attribute_id?: string | undefined;
|
|
1888
|
+
is_required?: boolean | undefined;
|
|
1889
1889
|
available_values?: {
|
|
1890
1890
|
id: string;
|
|
1891
1891
|
name: string;
|
|
1892
1892
|
}[] | undefined;
|
|
1893
1893
|
}[] | undefined;
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1894
|
+
subtitle?: string | undefined;
|
|
1895
|
+
type_id?: 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;
|
|
1900
1903
|
seller_ids?: string[] | undefined;
|
|
1904
|
+
tags?: string[] | undefined;
|
|
1901
1905
|
}>;
|
|
1902
1906
|
|
|
1903
1907
|
type ProductCreateSchemaType = z.infer<typeof ProductCreateSchema>;
|
|
@@ -1914,345 +1918,248 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
1914
1918
|
(): react_jsx_runtime.JSX.Element;
|
|
1915
1919
|
_tabMeta: TabDefinition<{
|
|
1916
1920
|
title: string;
|
|
1921
|
+
category_id: string;
|
|
1922
|
+
discountable: boolean;
|
|
1917
1923
|
variants: {
|
|
1918
1924
|
title: string;
|
|
1919
1925
|
variant_rank: number;
|
|
1920
1926
|
should_create: boolean;
|
|
1921
1927
|
length?: string | number | undefined;
|
|
1922
|
-
|
|
1928
|
+
options?: Record<string, string> | undefined;
|
|
1923
1929
|
width?: string | number | undefined;
|
|
1924
|
-
inventory?: {
|
|
1925
|
-
inventory_item_id: string;
|
|
1926
|
-
required_quantity?: string | number | undefined;
|
|
1927
|
-
}[] | undefined;
|
|
1928
|
-
sku?: string | undefined;
|
|
1929
|
-
hs_code?: string | undefined;
|
|
1930
1930
|
height?: string | number | undefined;
|
|
1931
|
+
weight?: string | number | undefined;
|
|
1931
1932
|
origin_country?: string | undefined;
|
|
1932
|
-
|
|
1933
|
+
hs_code?: string | undefined;
|
|
1933
1934
|
material?: string | undefined;
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
attribute_values?: Record<string, string> | undefined;
|
|
1937
|
-
barcode?: string | undefined;
|
|
1935
|
+
mid_code?: string | undefined;
|
|
1936
|
+
sku?: string | undefined;
|
|
1938
1937
|
ean?: string | undefined;
|
|
1939
1938
|
upc?: string | undefined;
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
inventory_kit?: boolean | undefined;
|
|
1939
|
+
barcode?: string | undefined;
|
|
1940
|
+
is_default?: boolean | undefined;
|
|
1943
1941
|
}[];
|
|
1944
|
-
|
|
1945
|
-
category_id: string;
|
|
1942
|
+
globally_available: boolean;
|
|
1946
1943
|
length?: string | undefined;
|
|
1947
|
-
weight?: string | undefined;
|
|
1948
|
-
width?: string | undefined;
|
|
1949
|
-
hs_code?: string | undefined;
|
|
1950
|
-
height?: string | undefined;
|
|
1951
|
-
origin_country?: string | undefined;
|
|
1952
|
-
mid_code?: string | undefined;
|
|
1953
|
-
material?: string | undefined;
|
|
1954
1944
|
description?: string | undefined;
|
|
1955
1945
|
handle?: string | undefined;
|
|
1956
|
-
|
|
1946
|
+
media?: {
|
|
1947
|
+
url: string;
|
|
1948
|
+
isThumbnail: boolean;
|
|
1949
|
+
file?: any;
|
|
1950
|
+
id?: string | undefined;
|
|
1951
|
+
}[] | undefined;
|
|
1957
1952
|
collection_id?: string | undefined;
|
|
1958
|
-
type_id?: string | undefined;
|
|
1959
|
-
tags?: string[] | undefined;
|
|
1960
1953
|
attributes?: {
|
|
1961
1954
|
title: string;
|
|
1962
1955
|
is_custom: boolean;
|
|
1963
1956
|
use_for_variants: boolean;
|
|
1964
1957
|
values?: string | string[] | undefined;
|
|
1965
1958
|
type?: string | undefined;
|
|
1966
|
-
is_required?: boolean | undefined;
|
|
1967
1959
|
attribute_id?: string | undefined;
|
|
1960
|
+
is_required?: boolean | undefined;
|
|
1968
1961
|
available_values?: {
|
|
1969
1962
|
id: string;
|
|
1970
1963
|
name: string;
|
|
1971
1964
|
}[] | undefined;
|
|
1972
1965
|
}[] | undefined;
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1966
|
+
subtitle?: string | undefined;
|
|
1967
|
+
type_id?: 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;
|
|
1979
1975
|
seller_ids?: string[] | undefined;
|
|
1976
|
+
tags?: string[] | undefined;
|
|
1980
1977
|
}>;
|
|
1981
1978
|
};
|
|
1982
1979
|
OrganizeTab: {
|
|
1983
1980
|
(): react_jsx_runtime.JSX.Element;
|
|
1984
1981
|
_tabMeta: TabDefinition<{
|
|
1985
1982
|
title: string;
|
|
1983
|
+
category_id: string;
|
|
1984
|
+
discountable: boolean;
|
|
1986
1985
|
variants: {
|
|
1987
1986
|
title: string;
|
|
1988
1987
|
variant_rank: number;
|
|
1989
1988
|
should_create: boolean;
|
|
1990
1989
|
length?: string | number | undefined;
|
|
1991
|
-
|
|
1990
|
+
options?: Record<string, string> | undefined;
|
|
1992
1991
|
width?: string | number | undefined;
|
|
1993
|
-
inventory?: {
|
|
1994
|
-
inventory_item_id: string;
|
|
1995
|
-
required_quantity?: string | number | undefined;
|
|
1996
|
-
}[] | undefined;
|
|
1997
|
-
sku?: string | undefined;
|
|
1998
|
-
hs_code?: string | undefined;
|
|
1999
1992
|
height?: string | number | undefined;
|
|
1993
|
+
weight?: string | number | undefined;
|
|
2000
1994
|
origin_country?: string | undefined;
|
|
2001
|
-
|
|
1995
|
+
hs_code?: string | undefined;
|
|
2002
1996
|
material?: string | undefined;
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
attribute_values?: Record<string, string> | undefined;
|
|
2006
|
-
barcode?: string | undefined;
|
|
1997
|
+
mid_code?: string | undefined;
|
|
1998
|
+
sku?: string | undefined;
|
|
2007
1999
|
ean?: string | undefined;
|
|
2008
2000
|
upc?: string | undefined;
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
inventory_kit?: boolean | undefined;
|
|
2001
|
+
barcode?: string | undefined;
|
|
2002
|
+
is_default?: boolean | undefined;
|
|
2012
2003
|
}[];
|
|
2013
|
-
|
|
2014
|
-
category_id: string;
|
|
2004
|
+
globally_available: boolean;
|
|
2015
2005
|
length?: string | undefined;
|
|
2016
|
-
weight?: string | undefined;
|
|
2017
|
-
width?: string | undefined;
|
|
2018
|
-
hs_code?: string | undefined;
|
|
2019
|
-
height?: string | undefined;
|
|
2020
|
-
origin_country?: string | undefined;
|
|
2021
|
-
mid_code?: string | undefined;
|
|
2022
|
-
material?: string | undefined;
|
|
2023
2006
|
description?: string | undefined;
|
|
2024
2007
|
handle?: string | undefined;
|
|
2025
|
-
subtitle?: string | undefined;
|
|
2026
|
-
collection_id?: string | undefined;
|
|
2027
|
-
type_id?: string | undefined;
|
|
2028
|
-
tags?: string[] | undefined;
|
|
2029
|
-
attributes?: {
|
|
2030
|
-
title: string;
|
|
2031
|
-
is_custom: boolean;
|
|
2032
|
-
use_for_variants: boolean;
|
|
2033
|
-
values?: string | string[] | undefined;
|
|
2034
|
-
type?: string | undefined;
|
|
2035
|
-
is_required?: boolean | undefined;
|
|
2036
|
-
attribute_id?: string | undefined;
|
|
2037
|
-
available_values?: {
|
|
2038
|
-
id: string;
|
|
2039
|
-
name: string;
|
|
2040
|
-
}[] | undefined;
|
|
2041
|
-
}[] | undefined;
|
|
2042
2008
|
media?: {
|
|
2043
2009
|
url: string;
|
|
2044
2010
|
isThumbnail: boolean;
|
|
2045
2011
|
file?: any;
|
|
2046
2012
|
id?: string | undefined;
|
|
2047
2013
|
}[] | undefined;
|
|
2048
|
-
seller_ids?: string[] | undefined;
|
|
2049
|
-
}>;
|
|
2050
|
-
};
|
|
2051
|
-
AttributesTab: {
|
|
2052
|
-
(): react_jsx_runtime.JSX.Element;
|
|
2053
|
-
_tabMeta: TabDefinition<{
|
|
2054
|
-
title: string;
|
|
2055
|
-
variants: {
|
|
2056
|
-
title: string;
|
|
2057
|
-
variant_rank: number;
|
|
2058
|
-
should_create: boolean;
|
|
2059
|
-
length?: string | number | undefined;
|
|
2060
|
-
weight?: string | number | undefined;
|
|
2061
|
-
width?: string | number | undefined;
|
|
2062
|
-
inventory?: {
|
|
2063
|
-
inventory_item_id: string;
|
|
2064
|
-
required_quantity?: string | number | undefined;
|
|
2065
|
-
}[] | undefined;
|
|
2066
|
-
sku?: string | undefined;
|
|
2067
|
-
hs_code?: string | undefined;
|
|
2068
|
-
height?: string | number | undefined;
|
|
2069
|
-
origin_country?: string | undefined;
|
|
2070
|
-
mid_code?: string | undefined;
|
|
2071
|
-
material?: string | undefined;
|
|
2072
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
2073
|
-
is_default?: boolean | undefined;
|
|
2074
|
-
attribute_values?: Record<string, string> | undefined;
|
|
2075
|
-
barcode?: string | undefined;
|
|
2076
|
-
ean?: string | undefined;
|
|
2077
|
-
upc?: string | undefined;
|
|
2078
|
-
allow_backorder?: boolean | undefined;
|
|
2079
|
-
manage_inventory?: boolean | undefined;
|
|
2080
|
-
inventory_kit?: boolean | undefined;
|
|
2081
|
-
}[];
|
|
2082
|
-
discountable: boolean;
|
|
2083
|
-
category_id: string;
|
|
2084
|
-
length?: string | undefined;
|
|
2085
|
-
weight?: string | undefined;
|
|
2086
|
-
width?: string | undefined;
|
|
2087
|
-
hs_code?: string | undefined;
|
|
2088
|
-
height?: string | undefined;
|
|
2089
|
-
origin_country?: string | undefined;
|
|
2090
|
-
mid_code?: string | undefined;
|
|
2091
|
-
material?: string | undefined;
|
|
2092
|
-
description?: string | undefined;
|
|
2093
|
-
handle?: string | undefined;
|
|
2094
|
-
subtitle?: string | undefined;
|
|
2095
2014
|
collection_id?: string | undefined;
|
|
2096
|
-
type_id?: string | undefined;
|
|
2097
|
-
tags?: string[] | undefined;
|
|
2098
2015
|
attributes?: {
|
|
2099
2016
|
title: string;
|
|
2100
2017
|
is_custom: boolean;
|
|
2101
2018
|
use_for_variants: boolean;
|
|
2102
2019
|
values?: string | string[] | undefined;
|
|
2103
2020
|
type?: string | undefined;
|
|
2104
|
-
is_required?: boolean | undefined;
|
|
2105
2021
|
attribute_id?: string | undefined;
|
|
2022
|
+
is_required?: boolean | undefined;
|
|
2106
2023
|
available_values?: {
|
|
2107
2024
|
id: string;
|
|
2108
2025
|
name: string;
|
|
2109
2026
|
}[] | undefined;
|
|
2110
2027
|
}[] | undefined;
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2028
|
+
subtitle?: string | undefined;
|
|
2029
|
+
type_id?: 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;
|
|
2117
2037
|
seller_ids?: string[] | undefined;
|
|
2038
|
+
tags?: string[] | undefined;
|
|
2118
2039
|
}>;
|
|
2119
2040
|
};
|
|
2120
|
-
|
|
2041
|
+
AttributesTab: {
|
|
2121
2042
|
(): react_jsx_runtime.JSX.Element;
|
|
2122
2043
|
_tabMeta: TabDefinition<{
|
|
2123
2044
|
title: string;
|
|
2045
|
+
category_id: string;
|
|
2046
|
+
discountable: boolean;
|
|
2124
2047
|
variants: {
|
|
2125
2048
|
title: string;
|
|
2126
2049
|
variant_rank: number;
|
|
2127
2050
|
should_create: boolean;
|
|
2128
2051
|
length?: string | number | undefined;
|
|
2129
|
-
|
|
2052
|
+
options?: Record<string, string> | undefined;
|
|
2130
2053
|
width?: string | number | undefined;
|
|
2131
|
-
inventory?: {
|
|
2132
|
-
inventory_item_id: string;
|
|
2133
|
-
required_quantity?: string | number | undefined;
|
|
2134
|
-
}[] | undefined;
|
|
2135
|
-
sku?: string | undefined;
|
|
2136
|
-
hs_code?: string | undefined;
|
|
2137
2054
|
height?: string | number | undefined;
|
|
2055
|
+
weight?: string | number | undefined;
|
|
2138
2056
|
origin_country?: string | undefined;
|
|
2139
|
-
|
|
2057
|
+
hs_code?: string | undefined;
|
|
2140
2058
|
material?: string | undefined;
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
attribute_values?: Record<string, string> | undefined;
|
|
2144
|
-
barcode?: string | undefined;
|
|
2059
|
+
mid_code?: string | undefined;
|
|
2060
|
+
sku?: string | undefined;
|
|
2145
2061
|
ean?: string | undefined;
|
|
2146
2062
|
upc?: string | undefined;
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
inventory_kit?: boolean | undefined;
|
|
2063
|
+
barcode?: string | undefined;
|
|
2064
|
+
is_default?: boolean | undefined;
|
|
2150
2065
|
}[];
|
|
2151
|
-
|
|
2152
|
-
category_id: string;
|
|
2066
|
+
globally_available: boolean;
|
|
2153
2067
|
length?: string | undefined;
|
|
2154
|
-
weight?: string | undefined;
|
|
2155
|
-
width?: string | undefined;
|
|
2156
|
-
hs_code?: string | undefined;
|
|
2157
|
-
height?: string | undefined;
|
|
2158
|
-
origin_country?: string | undefined;
|
|
2159
|
-
mid_code?: string | undefined;
|
|
2160
|
-
material?: string | undefined;
|
|
2161
2068
|
description?: string | undefined;
|
|
2162
2069
|
handle?: string | undefined;
|
|
2163
|
-
|
|
2070
|
+
media?: {
|
|
2071
|
+
url: string;
|
|
2072
|
+
isThumbnail: boolean;
|
|
2073
|
+
file?: any;
|
|
2074
|
+
id?: string | undefined;
|
|
2075
|
+
}[] | undefined;
|
|
2164
2076
|
collection_id?: string | undefined;
|
|
2165
|
-
type_id?: string | undefined;
|
|
2166
|
-
tags?: string[] | undefined;
|
|
2167
2077
|
attributes?: {
|
|
2168
2078
|
title: string;
|
|
2169
2079
|
is_custom: boolean;
|
|
2170
2080
|
use_for_variants: boolean;
|
|
2171
2081
|
values?: string | string[] | undefined;
|
|
2172
2082
|
type?: string | undefined;
|
|
2173
|
-
is_required?: boolean | undefined;
|
|
2174
2083
|
attribute_id?: string | undefined;
|
|
2084
|
+
is_required?: boolean | undefined;
|
|
2175
2085
|
available_values?: {
|
|
2176
2086
|
id: string;
|
|
2177
2087
|
name: string;
|
|
2178
2088
|
}[] | undefined;
|
|
2179
2089
|
}[] | undefined;
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2090
|
+
subtitle?: string | undefined;
|
|
2091
|
+
type_id?: 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;
|
|
2186
2099
|
seller_ids?: string[] | undefined;
|
|
2100
|
+
tags?: string[] | undefined;
|
|
2187
2101
|
}>;
|
|
2188
2102
|
};
|
|
2189
|
-
|
|
2103
|
+
VariantsTab: {
|
|
2190
2104
|
(): react_jsx_runtime.JSX.Element;
|
|
2191
2105
|
_tabMeta: TabDefinition<{
|
|
2192
2106
|
title: string;
|
|
2107
|
+
category_id: string;
|
|
2108
|
+
discountable: boolean;
|
|
2193
2109
|
variants: {
|
|
2194
2110
|
title: string;
|
|
2195
2111
|
variant_rank: number;
|
|
2196
2112
|
should_create: boolean;
|
|
2197
2113
|
length?: string | number | undefined;
|
|
2198
|
-
|
|
2114
|
+
options?: Record<string, string> | undefined;
|
|
2199
2115
|
width?: string | number | undefined;
|
|
2200
|
-
inventory?: {
|
|
2201
|
-
inventory_item_id: string;
|
|
2202
|
-
required_quantity?: string | number | undefined;
|
|
2203
|
-
}[] | undefined;
|
|
2204
|
-
sku?: string | undefined;
|
|
2205
|
-
hs_code?: string | undefined;
|
|
2206
2116
|
height?: string | number | undefined;
|
|
2117
|
+
weight?: string | number | undefined;
|
|
2207
2118
|
origin_country?: string | undefined;
|
|
2208
|
-
|
|
2119
|
+
hs_code?: string | undefined;
|
|
2209
2120
|
material?: string | undefined;
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
attribute_values?: Record<string, string> | undefined;
|
|
2213
|
-
barcode?: string | undefined;
|
|
2121
|
+
mid_code?: string | undefined;
|
|
2122
|
+
sku?: string | undefined;
|
|
2214
2123
|
ean?: string | undefined;
|
|
2215
2124
|
upc?: string | undefined;
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
inventory_kit?: boolean | undefined;
|
|
2125
|
+
barcode?: string | undefined;
|
|
2126
|
+
is_default?: boolean | undefined;
|
|
2219
2127
|
}[];
|
|
2220
|
-
|
|
2221
|
-
category_id: string;
|
|
2128
|
+
globally_available: boolean;
|
|
2222
2129
|
length?: string | undefined;
|
|
2223
|
-
weight?: string | undefined;
|
|
2224
|
-
width?: string | undefined;
|
|
2225
|
-
hs_code?: string | undefined;
|
|
2226
|
-
height?: string | undefined;
|
|
2227
|
-
origin_country?: string | undefined;
|
|
2228
|
-
mid_code?: string | undefined;
|
|
2229
|
-
material?: string | undefined;
|
|
2230
2130
|
description?: string | undefined;
|
|
2231
2131
|
handle?: string | undefined;
|
|
2232
|
-
|
|
2132
|
+
media?: {
|
|
2133
|
+
url: string;
|
|
2134
|
+
isThumbnail: boolean;
|
|
2135
|
+
file?: any;
|
|
2136
|
+
id?: string | undefined;
|
|
2137
|
+
}[] | undefined;
|
|
2233
2138
|
collection_id?: string | undefined;
|
|
2234
|
-
type_id?: string | undefined;
|
|
2235
|
-
tags?: string[] | undefined;
|
|
2236
2139
|
attributes?: {
|
|
2237
2140
|
title: string;
|
|
2238
2141
|
is_custom: boolean;
|
|
2239
2142
|
use_for_variants: boolean;
|
|
2240
2143
|
values?: string | string[] | undefined;
|
|
2241
2144
|
type?: string | undefined;
|
|
2242
|
-
is_required?: boolean | undefined;
|
|
2243
2145
|
attribute_id?: string | undefined;
|
|
2146
|
+
is_required?: boolean | undefined;
|
|
2244
2147
|
available_values?: {
|
|
2245
2148
|
id: string;
|
|
2246
2149
|
name: string;
|
|
2247
2150
|
}[] | undefined;
|
|
2248
2151
|
}[] | undefined;
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2152
|
+
subtitle?: string | undefined;
|
|
2153
|
+
type_id?: 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;
|
|
2255
2161
|
seller_ids?: string[] | undefined;
|
|
2162
|
+
tags?: string[] | undefined;
|
|
2256
2163
|
}>;
|
|
2257
2164
|
};
|
|
2258
2165
|
Tab: ({ children, }: {
|
|
@@ -2265,45 +2172,15 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
2265
2172
|
declare const CreateProductVariantSchema: z.ZodObject<{
|
|
2266
2173
|
title: z.ZodString;
|
|
2267
2174
|
sku: z.ZodOptional<z.ZodString>;
|
|
2268
|
-
|
|
2269
|
-
allow_backorder: z.ZodOptional<z.ZodBoolean>;
|
|
2270
|
-
inventory_kit: z.ZodOptional<z.ZodBoolean>;
|
|
2271
|
-
attribute_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
|
|
2272
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>>;
|
|
2273
|
-
inventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2274
|
-
inventory_item_id: z.ZodString;
|
|
2275
|
-
required_quantity: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
2276
|
-
}, "strip", z.ZodTypeAny, {
|
|
2277
|
-
inventory_item_id: string;
|
|
2278
|
-
required_quantity?: string | number | undefined;
|
|
2279
|
-
}, {
|
|
2280
|
-
inventory_item_id: string;
|
|
2281
|
-
required_quantity?: string | number | undefined;
|
|
2282
|
-
}>, "many">>;
|
|
2175
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2283
2176
|
}, "strip", z.ZodTypeAny, {
|
|
2284
2177
|
title: string;
|
|
2285
|
-
|
|
2286
|
-
inventory_item_id: string;
|
|
2287
|
-
required_quantity?: string | number | undefined;
|
|
2288
|
-
}[] | undefined;
|
|
2178
|
+
options?: Record<string, string> | undefined;
|
|
2289
2179
|
sku?: string | undefined;
|
|
2290
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
2291
|
-
attribute_values?: Record<string, string | string[]> | undefined;
|
|
2292
|
-
allow_backorder?: boolean | undefined;
|
|
2293
|
-
manage_inventory?: boolean | undefined;
|
|
2294
|
-
inventory_kit?: boolean | undefined;
|
|
2295
2180
|
}, {
|
|
2296
2181
|
title: string;
|
|
2297
|
-
|
|
2298
|
-
inventory_item_id: string;
|
|
2299
|
-
required_quantity?: string | number | undefined;
|
|
2300
|
-
}[] | undefined;
|
|
2182
|
+
options?: Record<string, string> | undefined;
|
|
2301
2183
|
sku?: string | undefined;
|
|
2302
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
2303
|
-
attribute_values?: Record<string, string | string[]> | undefined;
|
|
2304
|
-
allow_backorder?: boolean | undefined;
|
|
2305
|
-
manage_inventory?: boolean | undefined;
|
|
2306
|
-
inventory_kit?: boolean | undefined;
|
|
2307
2184
|
}>;
|
|
2308
2185
|
|
|
2309
2186
|
type CreateProductVariantSchemaType = z.infer<typeof CreateProductVariantSchema>;
|
|
@@ -2315,50 +2192,8 @@ declare function DetailsTab({ product }: DetailsTabProps): react_jsx_runtime.JSX
|
|
|
2315
2192
|
declare namespace DetailsTab {
|
|
2316
2193
|
var _tabMeta: TabDefinition<{
|
|
2317
2194
|
title: string;
|
|
2318
|
-
|
|
2319
|
-
inventory_item_id: string;
|
|
2320
|
-
required_quantity?: string | number | undefined;
|
|
2321
|
-
}[] | undefined;
|
|
2322
|
-
sku?: string | undefined;
|
|
2323
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
2324
|
-
attribute_values?: Record<string, string | string[]> | undefined;
|
|
2325
|
-
allow_backorder?: boolean | undefined;
|
|
2326
|
-
manage_inventory?: boolean | undefined;
|
|
2327
|
-
inventory_kit?: boolean | undefined;
|
|
2328
|
-
}>;
|
|
2329
|
-
}
|
|
2330
|
-
|
|
2331
|
-
declare function PricingTab(): react_jsx_runtime.JSX.Element;
|
|
2332
|
-
declare namespace PricingTab {
|
|
2333
|
-
var _tabMeta: TabDefinition<{
|
|
2334
|
-
title: string;
|
|
2335
|
-
inventory?: {
|
|
2336
|
-
inventory_item_id: string;
|
|
2337
|
-
required_quantity?: string | number | undefined;
|
|
2338
|
-
}[] | undefined;
|
|
2195
|
+
options?: Record<string, string> | undefined;
|
|
2339
2196
|
sku?: string | undefined;
|
|
2340
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
2341
|
-
attribute_values?: Record<string, string | string[]> | undefined;
|
|
2342
|
-
allow_backorder?: boolean | undefined;
|
|
2343
|
-
manage_inventory?: boolean | undefined;
|
|
2344
|
-
inventory_kit?: boolean | undefined;
|
|
2345
|
-
}>;
|
|
2346
|
-
}
|
|
2347
|
-
|
|
2348
|
-
declare function InventoryKitTab(): react_jsx_runtime.JSX.Element;
|
|
2349
|
-
declare namespace InventoryKitTab {
|
|
2350
|
-
var _tabMeta: TabDefinition<{
|
|
2351
|
-
title: string;
|
|
2352
|
-
inventory?: {
|
|
2353
|
-
inventory_item_id: string;
|
|
2354
|
-
required_quantity?: string | number | undefined;
|
|
2355
|
-
}[] | undefined;
|
|
2356
|
-
sku?: string | undefined;
|
|
2357
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
2358
|
-
attribute_values?: Record<string, string | string[]> | undefined;
|
|
2359
|
-
allow_backorder?: boolean | undefined;
|
|
2360
|
-
manage_inventory?: boolean | undefined;
|
|
2361
|
-
inventory_kit?: boolean | undefined;
|
|
2362
2197
|
}>;
|
|
2363
2198
|
}
|
|
2364
2199
|
|
|
@@ -2372,8 +2207,6 @@ declare const ProductCreateVariantPage: (({ children }: {
|
|
|
2372
2207
|
defaultValues?: react_hook_form.DeepPartial<CreateProductVariantSchemaType>;
|
|
2373
2208
|
}) => react_jsx_runtime.JSX.Element;
|
|
2374
2209
|
DetailsTab: typeof DetailsTab;
|
|
2375
|
-
PricingTab: typeof PricingTab;
|
|
2376
|
-
InventoryKitTab: typeof InventoryKitTab;
|
|
2377
2210
|
Tab: ({ children, }: {
|
|
2378
2211
|
id: string;
|
|
2379
2212
|
label: string;
|
|
@@ -2442,16 +2275,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2442
2275
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2443
2276
|
}, "strip", z.ZodTypeAny, {
|
|
2444
2277
|
values: string | number | string[];
|
|
2445
|
-
attribute: string;
|
|
2446
2278
|
operator: string;
|
|
2279
|
+
attribute: string;
|
|
2447
2280
|
id?: string | undefined;
|
|
2448
2281
|
required?: boolean | undefined;
|
|
2449
2282
|
disguised?: boolean | undefined;
|
|
2450
2283
|
field_type?: string | undefined;
|
|
2451
2284
|
}, {
|
|
2452
2285
|
values: string | number | string[];
|
|
2453
|
-
attribute: string;
|
|
2454
2286
|
operator: string;
|
|
2287
|
+
attribute: string;
|
|
2455
2288
|
id?: string | undefined;
|
|
2456
2289
|
required?: boolean | undefined;
|
|
2457
2290
|
disguised?: boolean | undefined;
|
|
@@ -2473,16 +2306,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2473
2306
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2474
2307
|
}, "strip", z.ZodTypeAny, {
|
|
2475
2308
|
values: string | number | string[];
|
|
2476
|
-
attribute: string;
|
|
2477
2309
|
operator: string;
|
|
2310
|
+
attribute: string;
|
|
2478
2311
|
id?: string | undefined;
|
|
2479
2312
|
required?: boolean | undefined;
|
|
2480
2313
|
disguised?: boolean | undefined;
|
|
2481
2314
|
field_type?: string | undefined;
|
|
2482
2315
|
}, {
|
|
2483
2316
|
values: string | number | string[];
|
|
2484
|
-
attribute: string;
|
|
2485
2317
|
operator: string;
|
|
2318
|
+
attribute: string;
|
|
2486
2319
|
id?: string | undefined;
|
|
2487
2320
|
required?: boolean | undefined;
|
|
2488
2321
|
disguised?: boolean | undefined;
|
|
@@ -2498,16 +2331,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2498
2331
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2499
2332
|
}, "strip", z.ZodTypeAny, {
|
|
2500
2333
|
values: string | number | string[];
|
|
2501
|
-
attribute: string;
|
|
2502
2334
|
operator: string;
|
|
2335
|
+
attribute: string;
|
|
2503
2336
|
id?: string | undefined;
|
|
2504
2337
|
required?: boolean | undefined;
|
|
2505
2338
|
disguised?: boolean | undefined;
|
|
2506
2339
|
field_type?: string | undefined;
|
|
2507
2340
|
}, {
|
|
2508
2341
|
values: string | number | string[];
|
|
2509
|
-
attribute: string;
|
|
2510
2342
|
operator: string;
|
|
2343
|
+
attribute: string;
|
|
2511
2344
|
id?: string | undefined;
|
|
2512
2345
|
required?: boolean | undefined;
|
|
2513
2346
|
disguised?: boolean | undefined;
|
|
@@ -2518,11 +2351,12 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2518
2351
|
}, "strip", z.ZodTypeAny, {
|
|
2519
2352
|
value: string | number;
|
|
2520
2353
|
type: "fixed" | "percentage";
|
|
2354
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2521
2355
|
allocation: "each" | "across" | "once";
|
|
2522
2356
|
target_rules: {
|
|
2523
2357
|
values: string | number | string[];
|
|
2524
|
-
attribute: string;
|
|
2525
2358
|
operator: string;
|
|
2359
|
+
attribute: string;
|
|
2526
2360
|
id?: string | undefined;
|
|
2527
2361
|
required?: boolean | undefined;
|
|
2528
2362
|
disguised?: boolean | undefined;
|
|
@@ -2530,24 +2364,24 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2530
2364
|
}[];
|
|
2531
2365
|
buy_rules: {
|
|
2532
2366
|
values: string | number | string[];
|
|
2533
|
-
attribute: string;
|
|
2534
2367
|
operator: string;
|
|
2368
|
+
attribute: string;
|
|
2535
2369
|
id?: string | undefined;
|
|
2536
2370
|
required?: boolean | undefined;
|
|
2537
2371
|
disguised?: boolean | undefined;
|
|
2538
2372
|
field_type?: string | undefined;
|
|
2539
2373
|
}[];
|
|
2540
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2541
2374
|
currency_code?: string | undefined;
|
|
2542
2375
|
max_quantity?: number | null | undefined;
|
|
2543
2376
|
}, {
|
|
2544
2377
|
value: string | number;
|
|
2545
2378
|
type: "fixed" | "percentage";
|
|
2379
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2546
2380
|
allocation: "each" | "across" | "once";
|
|
2547
2381
|
target_rules: {
|
|
2548
2382
|
values: string | number | string[];
|
|
2549
|
-
attribute: string;
|
|
2550
2383
|
operator: string;
|
|
2384
|
+
attribute: string;
|
|
2551
2385
|
id?: string | undefined;
|
|
2552
2386
|
required?: boolean | undefined;
|
|
2553
2387
|
disguised?: boolean | undefined;
|
|
@@ -2555,14 +2389,13 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2555
2389
|
}[];
|
|
2556
2390
|
buy_rules: {
|
|
2557
2391
|
values: string | number | string[];
|
|
2558
|
-
attribute: string;
|
|
2559
2392
|
operator: string;
|
|
2393
|
+
attribute: string;
|
|
2560
2394
|
id?: string | undefined;
|
|
2561
2395
|
required?: boolean | undefined;
|
|
2562
2396
|
disguised?: boolean | undefined;
|
|
2563
2397
|
field_type?: string | undefined;
|
|
2564
2398
|
}[];
|
|
2565
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2566
2399
|
currency_code?: string | undefined;
|
|
2567
2400
|
max_quantity?: number | null | undefined;
|
|
2568
2401
|
}>;
|
|
@@ -2578,24 +2411,24 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2578
2411
|
type: z.ZodEnum<["spend", "usage", "use_by_attribute"]>;
|
|
2579
2412
|
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2580
2413
|
}, "strip", z.ZodTypeAny, {
|
|
2581
|
-
type: "
|
|
2414
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2415
|
+
currency_code?: string | null | undefined;
|
|
2582
2416
|
limit?: number | null | undefined;
|
|
2583
2417
|
attribute?: string | null | undefined;
|
|
2584
|
-
currency_code?: string | null | undefined;
|
|
2585
2418
|
}, {
|
|
2586
|
-
type: "
|
|
2419
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2420
|
+
currency_code?: string | null | undefined;
|
|
2587
2421
|
limit?: number | null | undefined;
|
|
2588
2422
|
attribute?: string | null | undefined;
|
|
2589
|
-
currency_code?: string | null | undefined;
|
|
2590
2423
|
}>;
|
|
2591
2424
|
}, "strip", z.ZodTypeAny, {
|
|
2592
2425
|
name: string;
|
|
2593
2426
|
campaign_identifier: string;
|
|
2594
2427
|
budget: {
|
|
2595
|
-
type: "
|
|
2428
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2429
|
+
currency_code?: string | null | undefined;
|
|
2596
2430
|
limit?: number | null | undefined;
|
|
2597
2431
|
attribute?: string | null | undefined;
|
|
2598
|
-
currency_code?: string | null | undefined;
|
|
2599
2432
|
};
|
|
2600
2433
|
starts_at: Date | null;
|
|
2601
2434
|
ends_at: Date | null;
|
|
@@ -2604,10 +2437,10 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2604
2437
|
name: string;
|
|
2605
2438
|
campaign_identifier: string;
|
|
2606
2439
|
budget: {
|
|
2607
|
-
type: "
|
|
2440
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2441
|
+
currency_code?: string | null | undefined;
|
|
2608
2442
|
limit?: number | null | undefined;
|
|
2609
2443
|
attribute?: string | null | undefined;
|
|
2610
|
-
currency_code?: string | null | undefined;
|
|
2611
2444
|
};
|
|
2612
2445
|
starts_at: Date | null;
|
|
2613
2446
|
ends_at: Date | null;
|
|
@@ -2619,22 +2452,22 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2619
2452
|
type: "standard" | "buyget";
|
|
2620
2453
|
rules: {
|
|
2621
2454
|
values: string | number | string[];
|
|
2622
|
-
attribute: string;
|
|
2623
2455
|
operator: string;
|
|
2456
|
+
attribute: string;
|
|
2624
2457
|
id?: string | undefined;
|
|
2625
2458
|
required?: boolean | undefined;
|
|
2626
2459
|
disguised?: boolean | undefined;
|
|
2627
2460
|
field_type?: string | undefined;
|
|
2628
2461
|
}[];
|
|
2629
|
-
is_automatic: string;
|
|
2630
2462
|
application_method: {
|
|
2631
2463
|
value: string | number;
|
|
2632
2464
|
type: "fixed" | "percentage";
|
|
2465
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2633
2466
|
allocation: "each" | "across" | "once";
|
|
2634
2467
|
target_rules: {
|
|
2635
2468
|
values: string | number | string[];
|
|
2636
|
-
attribute: string;
|
|
2637
2469
|
operator: string;
|
|
2470
|
+
attribute: string;
|
|
2638
2471
|
id?: string | undefined;
|
|
2639
2472
|
required?: boolean | undefined;
|
|
2640
2473
|
disguised?: boolean | undefined;
|
|
@@ -2642,56 +2475,56 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2642
2475
|
}[];
|
|
2643
2476
|
buy_rules: {
|
|
2644
2477
|
values: string | number | string[];
|
|
2645
|
-
attribute: string;
|
|
2646
2478
|
operator: string;
|
|
2479
|
+
attribute: string;
|
|
2647
2480
|
id?: string | undefined;
|
|
2648
2481
|
required?: boolean | undefined;
|
|
2649
2482
|
disguised?: boolean | undefined;
|
|
2650
2483
|
field_type?: string | undefined;
|
|
2651
2484
|
}[];
|
|
2652
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2653
2485
|
currency_code?: string | undefined;
|
|
2654
2486
|
max_quantity?: number | null | undefined;
|
|
2655
2487
|
};
|
|
2488
|
+
is_automatic: string;
|
|
2489
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2656
2490
|
campaign?: {
|
|
2657
2491
|
name: string;
|
|
2658
2492
|
campaign_identifier: string;
|
|
2659
2493
|
budget: {
|
|
2660
|
-
type: "
|
|
2494
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2495
|
+
currency_code?: string | null | undefined;
|
|
2661
2496
|
limit?: number | null | undefined;
|
|
2662
2497
|
attribute?: string | null | undefined;
|
|
2663
|
-
currency_code?: string | null | undefined;
|
|
2664
2498
|
};
|
|
2665
2499
|
starts_at: Date | null;
|
|
2666
2500
|
ends_at: Date | null;
|
|
2667
2501
|
description?: string | undefined;
|
|
2668
2502
|
} | undefined;
|
|
2669
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2670
2503
|
campaign_id?: string | undefined;
|
|
2671
2504
|
template_id?: string | undefined;
|
|
2672
|
-
campaign_choice?: "
|
|
2505
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2673
2506
|
}, {
|
|
2674
2507
|
code: string;
|
|
2675
2508
|
status: "draft" | "active" | "inactive";
|
|
2676
2509
|
type: "standard" | "buyget";
|
|
2677
2510
|
rules: {
|
|
2678
2511
|
values: string | number | string[];
|
|
2679
|
-
attribute: string;
|
|
2680
2512
|
operator: string;
|
|
2513
|
+
attribute: string;
|
|
2681
2514
|
id?: string | undefined;
|
|
2682
2515
|
required?: boolean | undefined;
|
|
2683
2516
|
disguised?: boolean | undefined;
|
|
2684
2517
|
field_type?: string | undefined;
|
|
2685
2518
|
}[];
|
|
2686
|
-
is_automatic: string;
|
|
2687
2519
|
application_method: {
|
|
2688
2520
|
value: string | number;
|
|
2689
2521
|
type: "fixed" | "percentage";
|
|
2522
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2690
2523
|
allocation: "each" | "across" | "once";
|
|
2691
2524
|
target_rules: {
|
|
2692
2525
|
values: string | number | string[];
|
|
2693
|
-
attribute: string;
|
|
2694
2526
|
operator: string;
|
|
2527
|
+
attribute: string;
|
|
2695
2528
|
id?: string | undefined;
|
|
2696
2529
|
required?: boolean | undefined;
|
|
2697
2530
|
disguised?: boolean | undefined;
|
|
@@ -2699,56 +2532,56 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2699
2532
|
}[];
|
|
2700
2533
|
buy_rules: {
|
|
2701
2534
|
values: string | number | string[];
|
|
2702
|
-
attribute: string;
|
|
2703
2535
|
operator: string;
|
|
2536
|
+
attribute: string;
|
|
2704
2537
|
id?: string | undefined;
|
|
2705
2538
|
required?: boolean | undefined;
|
|
2706
2539
|
disguised?: boolean | undefined;
|
|
2707
2540
|
field_type?: string | undefined;
|
|
2708
2541
|
}[];
|
|
2709
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2710
2542
|
currency_code?: string | undefined;
|
|
2711
2543
|
max_quantity?: number | null | undefined;
|
|
2712
2544
|
};
|
|
2545
|
+
is_automatic: string;
|
|
2546
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2713
2547
|
campaign?: {
|
|
2714
2548
|
name: string;
|
|
2715
2549
|
campaign_identifier: string;
|
|
2716
2550
|
budget: {
|
|
2717
|
-
type: "
|
|
2551
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2552
|
+
currency_code?: string | null | undefined;
|
|
2718
2553
|
limit?: number | null | undefined;
|
|
2719
2554
|
attribute?: string | null | undefined;
|
|
2720
|
-
currency_code?: string | null | undefined;
|
|
2721
2555
|
};
|
|
2722
2556
|
starts_at: Date | null;
|
|
2723
2557
|
ends_at: Date | null;
|
|
2724
2558
|
description?: string | undefined;
|
|
2725
2559
|
} | undefined;
|
|
2726
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2727
2560
|
campaign_id?: string | undefined;
|
|
2728
2561
|
template_id?: string | undefined;
|
|
2729
|
-
campaign_choice?: "
|
|
2562
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2730
2563
|
}>, {
|
|
2731
2564
|
code: string;
|
|
2732
2565
|
status: "draft" | "active" | "inactive";
|
|
2733
2566
|
type: "standard" | "buyget";
|
|
2734
2567
|
rules: {
|
|
2735
2568
|
values: string | number | string[];
|
|
2736
|
-
attribute: string;
|
|
2737
2569
|
operator: string;
|
|
2570
|
+
attribute: string;
|
|
2738
2571
|
id?: string | undefined;
|
|
2739
2572
|
required?: boolean | undefined;
|
|
2740
2573
|
disguised?: boolean | undefined;
|
|
2741
2574
|
field_type?: string | undefined;
|
|
2742
2575
|
}[];
|
|
2743
|
-
is_automatic: string;
|
|
2744
2576
|
application_method: {
|
|
2745
2577
|
value: string | number;
|
|
2746
2578
|
type: "fixed" | "percentage";
|
|
2579
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2747
2580
|
allocation: "each" | "across" | "once";
|
|
2748
2581
|
target_rules: {
|
|
2749
2582
|
values: string | number | string[];
|
|
2750
|
-
attribute: string;
|
|
2751
2583
|
operator: string;
|
|
2584
|
+
attribute: string;
|
|
2752
2585
|
id?: string | undefined;
|
|
2753
2586
|
required?: boolean | undefined;
|
|
2754
2587
|
disguised?: boolean | undefined;
|
|
@@ -2756,56 +2589,56 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2756
2589
|
}[];
|
|
2757
2590
|
buy_rules: {
|
|
2758
2591
|
values: string | number | string[];
|
|
2759
|
-
attribute: string;
|
|
2760
2592
|
operator: string;
|
|
2593
|
+
attribute: string;
|
|
2761
2594
|
id?: string | undefined;
|
|
2762
2595
|
required?: boolean | undefined;
|
|
2763
2596
|
disguised?: boolean | undefined;
|
|
2764
2597
|
field_type?: string | undefined;
|
|
2765
2598
|
}[];
|
|
2766
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2767
2599
|
currency_code?: string | undefined;
|
|
2768
2600
|
max_quantity?: number | null | undefined;
|
|
2769
2601
|
};
|
|
2602
|
+
is_automatic: string;
|
|
2603
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2770
2604
|
campaign?: {
|
|
2771
2605
|
name: string;
|
|
2772
2606
|
campaign_identifier: string;
|
|
2773
2607
|
budget: {
|
|
2774
|
-
type: "
|
|
2608
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2609
|
+
currency_code?: string | null | undefined;
|
|
2775
2610
|
limit?: number | null | undefined;
|
|
2776
2611
|
attribute?: string | null | undefined;
|
|
2777
|
-
currency_code?: string | null | undefined;
|
|
2778
2612
|
};
|
|
2779
2613
|
starts_at: Date | null;
|
|
2780
2614
|
ends_at: Date | null;
|
|
2781
2615
|
description?: string | undefined;
|
|
2782
2616
|
} | undefined;
|
|
2783
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2784
2617
|
campaign_id?: string | undefined;
|
|
2785
2618
|
template_id?: string | undefined;
|
|
2786
|
-
campaign_choice?: "
|
|
2619
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2787
2620
|
}, {
|
|
2788
2621
|
code: string;
|
|
2789
2622
|
status: "draft" | "active" | "inactive";
|
|
2790
2623
|
type: "standard" | "buyget";
|
|
2791
2624
|
rules: {
|
|
2792
2625
|
values: string | number | string[];
|
|
2793
|
-
attribute: string;
|
|
2794
2626
|
operator: string;
|
|
2627
|
+
attribute: string;
|
|
2795
2628
|
id?: string | undefined;
|
|
2796
2629
|
required?: boolean | undefined;
|
|
2797
2630
|
disguised?: boolean | undefined;
|
|
2798
2631
|
field_type?: string | undefined;
|
|
2799
2632
|
}[];
|
|
2800
|
-
is_automatic: string;
|
|
2801
2633
|
application_method: {
|
|
2802
2634
|
value: string | number;
|
|
2803
2635
|
type: "fixed" | "percentage";
|
|
2636
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2804
2637
|
allocation: "each" | "across" | "once";
|
|
2805
2638
|
target_rules: {
|
|
2806
2639
|
values: string | number | string[];
|
|
2807
|
-
attribute: string;
|
|
2808
2640
|
operator: string;
|
|
2641
|
+
attribute: string;
|
|
2809
2642
|
id?: string | undefined;
|
|
2810
2643
|
required?: boolean | undefined;
|
|
2811
2644
|
disguised?: boolean | undefined;
|
|
@@ -2813,34 +2646,34 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2813
2646
|
}[];
|
|
2814
2647
|
buy_rules: {
|
|
2815
2648
|
values: string | number | string[];
|
|
2816
|
-
attribute: string;
|
|
2817
2649
|
operator: string;
|
|
2650
|
+
attribute: string;
|
|
2818
2651
|
id?: string | undefined;
|
|
2819
2652
|
required?: boolean | undefined;
|
|
2820
2653
|
disguised?: boolean | undefined;
|
|
2821
2654
|
field_type?: string | undefined;
|
|
2822
2655
|
}[];
|
|
2823
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2824
2656
|
currency_code?: string | undefined;
|
|
2825
2657
|
max_quantity?: number | null | undefined;
|
|
2826
2658
|
};
|
|
2659
|
+
is_automatic: string;
|
|
2660
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2827
2661
|
campaign?: {
|
|
2828
2662
|
name: string;
|
|
2829
2663
|
campaign_identifier: string;
|
|
2830
2664
|
budget: {
|
|
2831
|
-
type: "
|
|
2665
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2666
|
+
currency_code?: string | null | undefined;
|
|
2832
2667
|
limit?: number | null | undefined;
|
|
2833
2668
|
attribute?: string | null | undefined;
|
|
2834
|
-
currency_code?: string | null | undefined;
|
|
2835
2669
|
};
|
|
2836
2670
|
starts_at: Date | null;
|
|
2837
2671
|
ends_at: Date | null;
|
|
2838
2672
|
description?: string | undefined;
|
|
2839
2673
|
} | undefined;
|
|
2840
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2841
2674
|
campaign_id?: string | undefined;
|
|
2842
2675
|
template_id?: string | undefined;
|
|
2843
|
-
campaign_choice?: "
|
|
2676
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2844
2677
|
}>;
|
|
2845
2678
|
type CreatePromotionSchemaType = z.infer<typeof CreatePromotionSchema>;
|
|
2846
2679
|
|
|
@@ -2863,22 +2696,22 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2863
2696
|
type: "standard" | "buyget";
|
|
2864
2697
|
rules: {
|
|
2865
2698
|
values: string | number | string[];
|
|
2866
|
-
attribute: string;
|
|
2867
2699
|
operator: string;
|
|
2700
|
+
attribute: string;
|
|
2868
2701
|
id?: string | undefined;
|
|
2869
2702
|
required?: boolean | undefined;
|
|
2870
2703
|
disguised?: boolean | undefined;
|
|
2871
2704
|
field_type?: string | undefined;
|
|
2872
2705
|
}[];
|
|
2873
|
-
is_automatic: string;
|
|
2874
2706
|
application_method: {
|
|
2875
2707
|
value: string | number;
|
|
2876
2708
|
type: "fixed" | "percentage";
|
|
2709
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2877
2710
|
allocation: "each" | "across" | "once";
|
|
2878
2711
|
target_rules: {
|
|
2879
2712
|
values: string | number | string[];
|
|
2880
|
-
attribute: string;
|
|
2881
2713
|
operator: string;
|
|
2714
|
+
attribute: string;
|
|
2882
2715
|
id?: string | undefined;
|
|
2883
2716
|
required?: boolean | undefined;
|
|
2884
2717
|
disguised?: boolean | undefined;
|
|
@@ -2886,34 +2719,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2886
2719
|
}[];
|
|
2887
2720
|
buy_rules: {
|
|
2888
2721
|
values: string | number | string[];
|
|
2889
|
-
attribute: string;
|
|
2890
2722
|
operator: string;
|
|
2723
|
+
attribute: string;
|
|
2891
2724
|
id?: string | undefined;
|
|
2892
2725
|
required?: boolean | undefined;
|
|
2893
2726
|
disguised?: boolean | undefined;
|
|
2894
2727
|
field_type?: string | undefined;
|
|
2895
2728
|
}[];
|
|
2896
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2897
2729
|
currency_code?: string | undefined;
|
|
2898
2730
|
max_quantity?: number | null | undefined;
|
|
2899
2731
|
};
|
|
2732
|
+
is_automatic: string;
|
|
2733
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2900
2734
|
campaign?: {
|
|
2901
2735
|
name: string;
|
|
2902
2736
|
campaign_identifier: string;
|
|
2903
2737
|
budget: {
|
|
2904
|
-
type: "
|
|
2738
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2739
|
+
currency_code?: string | null | undefined;
|
|
2905
2740
|
limit?: number | null | undefined;
|
|
2906
2741
|
attribute?: string | null | undefined;
|
|
2907
|
-
currency_code?: string | null | undefined;
|
|
2908
2742
|
};
|
|
2909
2743
|
starts_at: Date | null;
|
|
2910
2744
|
ends_at: Date | null;
|
|
2911
2745
|
description?: string | undefined;
|
|
2912
2746
|
} | undefined;
|
|
2913
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2914
2747
|
campaign_id?: string | undefined;
|
|
2915
2748
|
template_id?: string | undefined;
|
|
2916
|
-
campaign_choice?: "
|
|
2749
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2917
2750
|
}>;
|
|
2918
2751
|
};
|
|
2919
2752
|
DetailsTab: {
|
|
@@ -2930,22 +2763,22 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2930
2763
|
type: "standard" | "buyget";
|
|
2931
2764
|
rules: {
|
|
2932
2765
|
values: string | number | string[];
|
|
2933
|
-
attribute: string;
|
|
2934
2766
|
operator: string;
|
|
2767
|
+
attribute: string;
|
|
2935
2768
|
id?: string | undefined;
|
|
2936
2769
|
required?: boolean | undefined;
|
|
2937
2770
|
disguised?: boolean | undefined;
|
|
2938
2771
|
field_type?: string | undefined;
|
|
2939
2772
|
}[];
|
|
2940
|
-
is_automatic: string;
|
|
2941
2773
|
application_method: {
|
|
2942
2774
|
value: string | number;
|
|
2943
2775
|
type: "fixed" | "percentage";
|
|
2776
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2944
2777
|
allocation: "each" | "across" | "once";
|
|
2945
2778
|
target_rules: {
|
|
2946
2779
|
values: string | number | string[];
|
|
2947
|
-
attribute: string;
|
|
2948
2780
|
operator: string;
|
|
2781
|
+
attribute: string;
|
|
2949
2782
|
id?: string | undefined;
|
|
2950
2783
|
required?: boolean | undefined;
|
|
2951
2784
|
disguised?: boolean | undefined;
|
|
@@ -2953,34 +2786,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2953
2786
|
}[];
|
|
2954
2787
|
buy_rules: {
|
|
2955
2788
|
values: string | number | string[];
|
|
2956
|
-
attribute: string;
|
|
2957
2789
|
operator: string;
|
|
2790
|
+
attribute: string;
|
|
2958
2791
|
id?: string | undefined;
|
|
2959
2792
|
required?: boolean | undefined;
|
|
2960
2793
|
disguised?: boolean | undefined;
|
|
2961
2794
|
field_type?: string | undefined;
|
|
2962
2795
|
}[];
|
|
2963
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2964
2796
|
currency_code?: string | undefined;
|
|
2965
2797
|
max_quantity?: number | null | undefined;
|
|
2966
2798
|
};
|
|
2799
|
+
is_automatic: string;
|
|
2800
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2967
2801
|
campaign?: {
|
|
2968
2802
|
name: string;
|
|
2969
2803
|
campaign_identifier: string;
|
|
2970
2804
|
budget: {
|
|
2971
|
-
type: "
|
|
2805
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2806
|
+
currency_code?: string | null | undefined;
|
|
2972
2807
|
limit?: number | null | undefined;
|
|
2973
2808
|
attribute?: string | null | undefined;
|
|
2974
|
-
currency_code?: string | null | undefined;
|
|
2975
2809
|
};
|
|
2976
2810
|
starts_at: Date | null;
|
|
2977
2811
|
ends_at: Date | null;
|
|
2978
2812
|
description?: string | undefined;
|
|
2979
2813
|
} | undefined;
|
|
2980
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2981
2814
|
campaign_id?: string | undefined;
|
|
2982
2815
|
template_id?: string | undefined;
|
|
2983
|
-
campaign_choice?: "
|
|
2816
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2984
2817
|
}>;
|
|
2985
2818
|
};
|
|
2986
2819
|
CampaignTab: {
|
|
@@ -2991,22 +2824,22 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2991
2824
|
type: "standard" | "buyget";
|
|
2992
2825
|
rules: {
|
|
2993
2826
|
values: string | number | string[];
|
|
2994
|
-
attribute: string;
|
|
2995
2827
|
operator: string;
|
|
2828
|
+
attribute: string;
|
|
2996
2829
|
id?: string | undefined;
|
|
2997
2830
|
required?: boolean | undefined;
|
|
2998
2831
|
disguised?: boolean | undefined;
|
|
2999
2832
|
field_type?: string | undefined;
|
|
3000
2833
|
}[];
|
|
3001
|
-
is_automatic: string;
|
|
3002
2834
|
application_method: {
|
|
3003
2835
|
value: string | number;
|
|
3004
2836
|
type: "fixed" | "percentage";
|
|
2837
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
3005
2838
|
allocation: "each" | "across" | "once";
|
|
3006
2839
|
target_rules: {
|
|
3007
2840
|
values: string | number | string[];
|
|
3008
|
-
attribute: string;
|
|
3009
2841
|
operator: string;
|
|
2842
|
+
attribute: string;
|
|
3010
2843
|
id?: string | undefined;
|
|
3011
2844
|
required?: boolean | undefined;
|
|
3012
2845
|
disguised?: boolean | undefined;
|
|
@@ -3014,34 +2847,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
3014
2847
|
}[];
|
|
3015
2848
|
buy_rules: {
|
|
3016
2849
|
values: string | number | string[];
|
|
3017
|
-
attribute: string;
|
|
3018
2850
|
operator: string;
|
|
2851
|
+
attribute: string;
|
|
3019
2852
|
id?: string | undefined;
|
|
3020
2853
|
required?: boolean | undefined;
|
|
3021
2854
|
disguised?: boolean | undefined;
|
|
3022
2855
|
field_type?: string | undefined;
|
|
3023
2856
|
}[];
|
|
3024
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
3025
2857
|
currency_code?: string | undefined;
|
|
3026
2858
|
max_quantity?: number | null | undefined;
|
|
3027
2859
|
};
|
|
2860
|
+
is_automatic: string;
|
|
2861
|
+
is_tax_inclusive?: boolean | undefined;
|
|
3028
2862
|
campaign?: {
|
|
3029
2863
|
name: string;
|
|
3030
2864
|
campaign_identifier: string;
|
|
3031
2865
|
budget: {
|
|
3032
|
-
type: "
|
|
2866
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2867
|
+
currency_code?: string | null | undefined;
|
|
3033
2868
|
limit?: number | null | undefined;
|
|
3034
2869
|
attribute?: string | null | undefined;
|
|
3035
|
-
currency_code?: string | null | undefined;
|
|
3036
2870
|
};
|
|
3037
2871
|
starts_at: Date | null;
|
|
3038
2872
|
ends_at: Date | null;
|
|
3039
2873
|
description?: string | undefined;
|
|
3040
2874
|
} | undefined;
|
|
3041
|
-
is_tax_inclusive?: boolean | undefined;
|
|
3042
2875
|
campaign_id?: string | undefined;
|
|
3043
2876
|
template_id?: string | undefined;
|
|
3044
|
-
campaign_choice?: "
|
|
2877
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
3045
2878
|
}>;
|
|
3046
2879
|
};
|
|
3047
2880
|
Tab: ({ children, }: {
|
|
@@ -3180,42 +3013,39 @@ declare const StoreDetailPage: (({ children }: {
|
|
|
3180
3013
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
3181
3014
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
3182
3015
|
MainGeneralSection: ({ seller, children, }: {
|
|
3183
|
-
seller:
|
|
3016
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3184
3017
|
children?: ReactNode;
|
|
3185
3018
|
}) => react_jsx_runtime.JSX.Element;
|
|
3186
3019
|
MainConfigurationSection: ({ seller, }: {
|
|
3187
|
-
seller:
|
|
3020
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3188
3021
|
}) => react_jsx_runtime.JSX.Element;
|
|
3189
3022
|
MainPaymentDetailsSection: ({ seller, }: {
|
|
3190
|
-
seller:
|
|
3023
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3191
3024
|
}) => react_jsx_runtime.JSX.Element;
|
|
3192
3025
|
MainCompanyDetailsSection: ({ seller, }: {
|
|
3193
|
-
seller:
|
|
3026
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3194
3027
|
}) => react_jsx_runtime.JSX.Element;
|
|
3195
3028
|
SidebarAddressSection: ({ seller }: {
|
|
3196
|
-
seller:
|
|
3029
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3197
3030
|
}) => react_jsx_runtime.JSX.Element;
|
|
3198
|
-
SidebarSubscriptionSection: ({ seller, }: {
|
|
3199
|
-
seller: any;
|
|
3200
|
-
}) => react_jsx_runtime.JSX.Element | null;
|
|
3201
3031
|
SidebarMembersSection: ({ sellerId }: {
|
|
3202
3032
|
sellerId: string;
|
|
3203
3033
|
}) => react_jsx_runtime.JSX.Element;
|
|
3204
3034
|
Header: ({ seller, children, }: {
|
|
3205
|
-
seller:
|
|
3035
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3206
3036
|
} & {
|
|
3207
3037
|
children?: ReactNode;
|
|
3208
3038
|
}) => react_jsx_runtime.JSX.Element;
|
|
3209
3039
|
HeaderTitle: ({ seller }: {
|
|
3210
|
-
seller:
|
|
3040
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3211
3041
|
}) => react_jsx_runtime.JSX.Element;
|
|
3212
3042
|
HeaderActions: ({ seller, children, }: {
|
|
3213
|
-
seller:
|
|
3043
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3214
3044
|
} & {
|
|
3215
3045
|
children?: ReactNode;
|
|
3216
3046
|
}) => react_jsx_runtime.JSX.Element;
|
|
3217
3047
|
HeaderEditButton: ({ seller }: {
|
|
3218
|
-
seller:
|
|
3048
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3219
3049
|
}) => react_jsx_runtime.JSX.Element;
|
|
3220
3050
|
};
|
|
3221
3051
|
|
|
@@ -3343,4 +3173,4 @@ declare const UserDetailPage: (({ children }: {
|
|
|
3343
3173
|
}) => react_jsx_runtime.JSX.Element;
|
|
3344
3174
|
};
|
|
3345
3175
|
|
|
3346
|
-
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 };
|