@mercurjs/admin 2.2.0-canary.3 → 2.2.0-canary.30
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 +585 -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 +8 -8
- 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,8 +6,8 @@ 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';
|
|
@@ -113,6 +113,19 @@ declare const CategoryListPage: (({ children }: {
|
|
|
113
113
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
114
114
|
};
|
|
115
115
|
|
|
116
|
+
/** Shape of a category image as returned by the admin API (linked `images`). */
|
|
117
|
+
type CategoryApiImage = {
|
|
118
|
+
id: string;
|
|
119
|
+
url: string;
|
|
120
|
+
type: string | null;
|
|
121
|
+
is_thumbnail: boolean;
|
|
122
|
+
is_banner: boolean;
|
|
123
|
+
rank?: number;
|
|
124
|
+
};
|
|
125
|
+
type CategoryWithImages = {
|
|
126
|
+
media_images?: CategoryApiImage[] | null;
|
|
127
|
+
};
|
|
128
|
+
|
|
116
129
|
declare const CategoryDetailPage: (({ children }: {
|
|
117
130
|
children?: ReactNode;
|
|
118
131
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
@@ -121,6 +134,12 @@ declare const CategoryDetailPage: (({ children }: {
|
|
|
121
134
|
MainGeneralSection: ({ category, }: {
|
|
122
135
|
category: _medusajs_types.AdminProductCategory;
|
|
123
136
|
}) => react_jsx_runtime.JSX.Element;
|
|
137
|
+
MainMediaSection: ({ category, }: {
|
|
138
|
+
category: _medusajs_types.AdminProductCategory & CategoryWithImages;
|
|
139
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
140
|
+
MainIconSection: ({ category, }: {
|
|
141
|
+
category: _medusajs_types.AdminProductCategory & CategoryWithImages;
|
|
142
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
124
143
|
MainProductSection: ({ category, }: {
|
|
125
144
|
category: _medusajs_types.AdminProductCategory;
|
|
126
145
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -139,22 +158,73 @@ declare const CreateCategorySchema: z.ZodObject<{
|
|
|
139
158
|
handle: z.ZodOptional<z.ZodString>;
|
|
140
159
|
status: z.ZodEnum<["active", "inactive"]>;
|
|
141
160
|
visibility: z.ZodEnum<["public", "internal"]>;
|
|
161
|
+
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
162
|
+
url: z.ZodString;
|
|
163
|
+
file: z.ZodNullable<z.ZodAny>;
|
|
164
|
+
is_thumbnail: z.ZodBoolean;
|
|
165
|
+
is_banner: z.ZodBoolean;
|
|
166
|
+
field_id: z.ZodOptional<z.ZodString>;
|
|
167
|
+
}, "strip", z.ZodTypeAny, {
|
|
168
|
+
url: string;
|
|
169
|
+
is_thumbnail: boolean;
|
|
170
|
+
is_banner: boolean;
|
|
171
|
+
file?: any;
|
|
172
|
+
field_id?: string | undefined;
|
|
173
|
+
}, {
|
|
174
|
+
url: string;
|
|
175
|
+
is_thumbnail: boolean;
|
|
176
|
+
is_banner: boolean;
|
|
177
|
+
file?: any;
|
|
178
|
+
field_id?: string | undefined;
|
|
179
|
+
}>, "many">>;
|
|
180
|
+
icon: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
181
|
+
url: z.ZodString;
|
|
182
|
+
file: z.ZodNullable<z.ZodAny>;
|
|
183
|
+
}, "strip", z.ZodTypeAny, {
|
|
184
|
+
url: string;
|
|
185
|
+
file?: any;
|
|
186
|
+
}, {
|
|
187
|
+
url: string;
|
|
188
|
+
file?: any;
|
|
189
|
+
}>>>;
|
|
142
190
|
}, "strip", z.ZodTypeAny, {
|
|
143
191
|
status: "active" | "inactive";
|
|
144
|
-
name: string;
|
|
145
192
|
rank: number | null;
|
|
193
|
+
name: string;
|
|
146
194
|
parent_category_id: string | null;
|
|
147
195
|
visibility: "public" | "internal";
|
|
148
196
|
description?: string | undefined;
|
|
149
197
|
handle?: string | undefined;
|
|
198
|
+
media?: {
|
|
199
|
+
url: string;
|
|
200
|
+
is_thumbnail: boolean;
|
|
201
|
+
is_banner: boolean;
|
|
202
|
+
file?: any;
|
|
203
|
+
field_id?: string | undefined;
|
|
204
|
+
}[] | undefined;
|
|
205
|
+
icon?: {
|
|
206
|
+
url: string;
|
|
207
|
+
file?: any;
|
|
208
|
+
} | null | undefined;
|
|
150
209
|
}, {
|
|
151
210
|
status: "active" | "inactive";
|
|
152
|
-
name: string;
|
|
153
211
|
rank: number | null;
|
|
212
|
+
name: string;
|
|
154
213
|
parent_category_id: string | null;
|
|
155
214
|
visibility: "public" | "internal";
|
|
156
215
|
description?: string | undefined;
|
|
157
216
|
handle?: string | undefined;
|
|
217
|
+
media?: {
|
|
218
|
+
url: string;
|
|
219
|
+
is_thumbnail: boolean;
|
|
220
|
+
is_banner: boolean;
|
|
221
|
+
file?: any;
|
|
222
|
+
field_id?: string | undefined;
|
|
223
|
+
}[] | undefined;
|
|
224
|
+
icon?: {
|
|
225
|
+
url: string;
|
|
226
|
+
file?: any;
|
|
227
|
+
} | null | undefined;
|
|
158
228
|
}>;
|
|
159
229
|
|
|
160
230
|
type CreateCategorySchemaType = z.infer<typeof CreateCategorySchema>;
|
|
@@ -172,24 +242,46 @@ declare const CategoryCreatePage: (({ children }: {
|
|
|
172
242
|
(): react_jsx_runtime.JSX.Element;
|
|
173
243
|
_tabMeta: TabDefinition<{
|
|
174
244
|
status: "active" | "inactive";
|
|
175
|
-
name: string;
|
|
176
245
|
rank: number | null;
|
|
246
|
+
name: string;
|
|
177
247
|
parent_category_id: string | null;
|
|
178
248
|
visibility: "public" | "internal";
|
|
179
249
|
description?: string | undefined;
|
|
180
250
|
handle?: string | undefined;
|
|
251
|
+
media?: {
|
|
252
|
+
url: string;
|
|
253
|
+
is_thumbnail: boolean;
|
|
254
|
+
is_banner: boolean;
|
|
255
|
+
file?: any;
|
|
256
|
+
field_id?: string | undefined;
|
|
257
|
+
}[] | undefined;
|
|
258
|
+
icon?: {
|
|
259
|
+
url: string;
|
|
260
|
+
file?: any;
|
|
261
|
+
} | null | undefined;
|
|
181
262
|
}>;
|
|
182
263
|
};
|
|
183
264
|
OrganizeTab: {
|
|
184
265
|
(): react_jsx_runtime.JSX.Element;
|
|
185
266
|
_tabMeta: TabDefinition<{
|
|
186
267
|
status: "active" | "inactive";
|
|
187
|
-
name: string;
|
|
188
268
|
rank: number | null;
|
|
269
|
+
name: string;
|
|
189
270
|
parent_category_id: string | null;
|
|
190
271
|
visibility: "public" | "internal";
|
|
191
272
|
description?: string | undefined;
|
|
192
273
|
handle?: string | undefined;
|
|
274
|
+
media?: {
|
|
275
|
+
url: string;
|
|
276
|
+
is_thumbnail: boolean;
|
|
277
|
+
is_banner: boolean;
|
|
278
|
+
file?: any;
|
|
279
|
+
field_id?: string | undefined;
|
|
280
|
+
}[] | undefined;
|
|
281
|
+
icon?: {
|
|
282
|
+
url: string;
|
|
283
|
+
file?: any;
|
|
284
|
+
} | null | undefined;
|
|
193
285
|
}>;
|
|
194
286
|
};
|
|
195
287
|
Tab: ({ children, }: {
|
|
@@ -215,43 +307,44 @@ declare const CollectionListPage: (({ children }: {
|
|
|
215
307
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
216
308
|
};
|
|
217
309
|
|
|
310
|
+
/** Shape of a collection image as returned by the admin API (linked `images`). */
|
|
311
|
+
type CollectionApiImage = {
|
|
312
|
+
id: string;
|
|
313
|
+
url: string;
|
|
314
|
+
type: string | null;
|
|
315
|
+
is_thumbnail: boolean;
|
|
316
|
+
is_banner: boolean;
|
|
317
|
+
rank?: number;
|
|
318
|
+
};
|
|
319
|
+
type CollectionWithImages = {
|
|
320
|
+
media_images?: CollectionApiImage[] | null;
|
|
321
|
+
};
|
|
322
|
+
|
|
218
323
|
declare const CollectionDetailPage: (({ children }: {
|
|
219
324
|
children?: ReactNode;
|
|
220
325
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
221
326
|
GeneralSection: ({ collection, }: {
|
|
222
327
|
collection: _medusajs_types.AdminCollection;
|
|
223
328
|
}) => react_jsx_runtime.JSX.Element;
|
|
329
|
+
MediaSection: ({ collection, }: {
|
|
330
|
+
collection: _medusajs_types.AdminCollection & CollectionWithImages;
|
|
331
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
332
|
+
IconSection: ({ collection, }: {
|
|
333
|
+
collection: _medusajs_types.AdminCollection & CollectionWithImages;
|
|
334
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
224
335
|
ProductSection: ({ collection, }: {
|
|
225
336
|
collection: _medusajs_types.AdminCollection;
|
|
226
337
|
}) => react_jsx_runtime.JSX.Element;
|
|
227
338
|
};
|
|
228
339
|
|
|
229
|
-
declare const
|
|
340
|
+
declare const CommissionsPage: (({ children }: {
|
|
230
341
|
children?: ReactNode;
|
|
231
342
|
}) => 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;
|
|
343
|
+
GlobalCommission: () => react_jsx_runtime.JSX.Element;
|
|
344
|
+
RulesTable: () => react_jsx_runtime.JSX.Element;
|
|
243
345
|
};
|
|
244
346
|
|
|
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
|
-
};
|
|
347
|
+
declare const CommissionRuleDetail: () => react_jsx_runtime.JSX.Element | null;
|
|
255
348
|
|
|
256
349
|
declare const CustomerGroupListPage: (({ children }: {
|
|
257
350
|
children?: ReactNode;
|
|
@@ -274,7 +367,12 @@ declare const CustomerGroupDetailPage: (({ children }: {
|
|
|
274
367
|
children?: ReactNode;
|
|
275
368
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
276
369
|
GeneralSection: ({ group, }: {
|
|
277
|
-
group: _medusajs_types.AdminCustomerGroup
|
|
370
|
+
group: _medusajs_types.AdminCustomerGroup & {
|
|
371
|
+
seller?: {
|
|
372
|
+
id: string;
|
|
373
|
+
name: string;
|
|
374
|
+
} | null;
|
|
375
|
+
};
|
|
278
376
|
}) => react_jsx_runtime.JSX.Element;
|
|
279
377
|
CustomerSection: ({ group, }: {
|
|
280
378
|
group: _medusajs_types.AdminCustomerGroup;
|
|
@@ -374,32 +472,32 @@ declare const CreateInventoryItemSchema: z.ZodObject<{
|
|
|
374
472
|
}, "strip", z.ZodTypeAny, {
|
|
375
473
|
title: string;
|
|
376
474
|
length?: string | number | undefined;
|
|
377
|
-
|
|
475
|
+
requires_shipping?: boolean | undefined;
|
|
476
|
+
description?: string | undefined;
|
|
477
|
+
thumbnail?: string | undefined;
|
|
378
478
|
width?: string | number | undefined;
|
|
379
|
-
sku?: string | undefined;
|
|
380
|
-
hs_code?: string | undefined;
|
|
381
479
|
height?: string | number | undefined;
|
|
480
|
+
weight?: string | number | undefined;
|
|
382
481
|
origin_country?: string | undefined;
|
|
383
|
-
|
|
482
|
+
hs_code?: string | undefined;
|
|
384
483
|
material?: string | undefined;
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
thumbnail?: string | undefined;
|
|
484
|
+
mid_code?: string | undefined;
|
|
485
|
+
sku?: string | undefined;
|
|
388
486
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
389
487
|
}, {
|
|
390
488
|
title: string;
|
|
391
489
|
length?: string | number | undefined;
|
|
392
|
-
|
|
490
|
+
requires_shipping?: boolean | undefined;
|
|
491
|
+
description?: string | undefined;
|
|
492
|
+
thumbnail?: string | undefined;
|
|
393
493
|
width?: string | number | undefined;
|
|
394
|
-
sku?: string | undefined;
|
|
395
|
-
hs_code?: string | undefined;
|
|
396
494
|
height?: string | number | undefined;
|
|
495
|
+
weight?: string | number | undefined;
|
|
397
496
|
origin_country?: string | undefined;
|
|
398
|
-
|
|
497
|
+
hs_code?: string | undefined;
|
|
399
498
|
material?: string | undefined;
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
thumbnail?: string | undefined;
|
|
499
|
+
mid_code?: string | undefined;
|
|
500
|
+
sku?: string | undefined;
|
|
403
501
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
404
502
|
}>;
|
|
405
503
|
type CreateInventoryItemSchema = z.infer<typeof CreateInventoryItemSchema>;
|
|
@@ -422,17 +520,17 @@ declare const InventoryCreatePage: (({ children }: {
|
|
|
422
520
|
_tabMeta: TabDefinition<{
|
|
423
521
|
title: string;
|
|
424
522
|
length?: string | number | undefined;
|
|
425
|
-
|
|
523
|
+
requires_shipping?: boolean | undefined;
|
|
524
|
+
description?: string | undefined;
|
|
525
|
+
thumbnail?: string | undefined;
|
|
426
526
|
width?: string | number | undefined;
|
|
427
|
-
sku?: string | undefined;
|
|
428
|
-
hs_code?: string | undefined;
|
|
429
527
|
height?: string | number | undefined;
|
|
528
|
+
weight?: string | number | undefined;
|
|
430
529
|
origin_country?: string | undefined;
|
|
431
|
-
|
|
530
|
+
hs_code?: string | undefined;
|
|
432
531
|
material?: string | undefined;
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
thumbnail?: string | undefined;
|
|
532
|
+
mid_code?: string | undefined;
|
|
533
|
+
sku?: string | undefined;
|
|
436
534
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
437
535
|
}>;
|
|
438
536
|
};
|
|
@@ -443,17 +541,17 @@ declare const InventoryCreatePage: (({ children }: {
|
|
|
443
541
|
_tabMeta: TabDefinition<{
|
|
444
542
|
title: string;
|
|
445
543
|
length?: string | number | undefined;
|
|
446
|
-
|
|
544
|
+
requires_shipping?: boolean | undefined;
|
|
545
|
+
description?: string | undefined;
|
|
546
|
+
thumbnail?: string | undefined;
|
|
447
547
|
width?: string | number | undefined;
|
|
448
|
-
sku?: string | undefined;
|
|
449
|
-
hs_code?: string | undefined;
|
|
450
548
|
height?: string | number | undefined;
|
|
549
|
+
weight?: string | number | undefined;
|
|
451
550
|
origin_country?: string | undefined;
|
|
452
|
-
|
|
551
|
+
hs_code?: string | undefined;
|
|
453
552
|
material?: string | undefined;
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
thumbnail?: string | undefined;
|
|
553
|
+
mid_code?: string | undefined;
|
|
554
|
+
sku?: string | undefined;
|
|
457
555
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
458
556
|
}>;
|
|
459
557
|
};
|
|
@@ -526,60 +624,60 @@ declare const CreateShippingOptionSchema: z.ZodObject<{
|
|
|
526
624
|
eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
527
625
|
}, "strip", z.ZodTypeAny, {
|
|
528
626
|
amount: string | number;
|
|
529
|
-
lt?: number | null | undefined;
|
|
530
627
|
gt?: number | null | undefined;
|
|
628
|
+
lt?: number | null | undefined;
|
|
531
629
|
eq?: number | null | undefined;
|
|
532
|
-
gte?: string | number | null | undefined;
|
|
533
630
|
lte?: string | number | null | undefined;
|
|
631
|
+
gte?: string | number | null | undefined;
|
|
534
632
|
}, {
|
|
535
633
|
amount: string | number;
|
|
536
|
-
lt?: number | null | undefined;
|
|
537
634
|
gt?: number | null | undefined;
|
|
635
|
+
lt?: number | null | undefined;
|
|
538
636
|
eq?: number | null | undefined;
|
|
539
|
-
gte?: string | number | null | undefined;
|
|
540
637
|
lte?: string | number | null | undefined;
|
|
638
|
+
gte?: string | number | null | undefined;
|
|
541
639
|
}>, {
|
|
542
640
|
amount: string | number;
|
|
543
|
-
lt?: number | null | undefined;
|
|
544
641
|
gt?: number | null | undefined;
|
|
642
|
+
lt?: number | null | undefined;
|
|
545
643
|
eq?: number | null | undefined;
|
|
546
|
-
gte?: string | number | null | undefined;
|
|
547
644
|
lte?: string | number | null | undefined;
|
|
645
|
+
gte?: string | number | null | undefined;
|
|
548
646
|
}, {
|
|
549
647
|
amount: string | number;
|
|
550
|
-
lt?: number | null | undefined;
|
|
551
648
|
gt?: number | null | undefined;
|
|
649
|
+
lt?: number | null | undefined;
|
|
552
650
|
eq?: number | null | undefined;
|
|
553
|
-
gte?: string | number | null | undefined;
|
|
554
651
|
lte?: string | number | null | undefined;
|
|
652
|
+
gte?: string | number | null | undefined;
|
|
555
653
|
}>, {
|
|
556
654
|
amount: string | number;
|
|
557
|
-
lt?: number | null | undefined;
|
|
558
655
|
gt?: number | null | undefined;
|
|
656
|
+
lt?: number | null | undefined;
|
|
559
657
|
eq?: number | null | undefined;
|
|
560
|
-
gte?: string | number | null | undefined;
|
|
561
658
|
lte?: string | number | null | undefined;
|
|
659
|
+
gte?: string | number | null | undefined;
|
|
562
660
|
}, {
|
|
563
661
|
amount: string | number;
|
|
564
|
-
lt?: number | null | undefined;
|
|
565
662
|
gt?: number | null | undefined;
|
|
663
|
+
lt?: number | null | undefined;
|
|
566
664
|
eq?: number | null | undefined;
|
|
567
|
-
gte?: string | number | null | undefined;
|
|
568
665
|
lte?: string | number | null | undefined;
|
|
666
|
+
gte?: string | number | null | undefined;
|
|
569
667
|
}>, {
|
|
570
668
|
amount: string | number;
|
|
571
|
-
lt?: number | null | undefined;
|
|
572
669
|
gt?: number | null | undefined;
|
|
670
|
+
lt?: number | null | undefined;
|
|
573
671
|
eq?: number | null | undefined;
|
|
574
|
-
gte?: string | number | null | undefined;
|
|
575
672
|
lte?: string | number | null | undefined;
|
|
673
|
+
gte?: string | number | null | undefined;
|
|
576
674
|
}, {
|
|
577
675
|
amount: string | number;
|
|
578
|
-
lt?: number | null | undefined;
|
|
579
676
|
gt?: number | null | undefined;
|
|
677
|
+
lt?: number | null | undefined;
|
|
580
678
|
eq?: number | null | undefined;
|
|
581
|
-
gte?: string | number | null | undefined;
|
|
582
679
|
lte?: string | number | null | undefined;
|
|
680
|
+
gte?: string | number | null | undefined;
|
|
583
681
|
}>, "many">>>;
|
|
584
682
|
conditional_currency_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
585
683
|
amount: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
@@ -590,112 +688,112 @@ declare const CreateShippingOptionSchema: z.ZodObject<{
|
|
|
590
688
|
eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
591
689
|
}, "strip", z.ZodTypeAny, {
|
|
592
690
|
amount: string | number;
|
|
593
|
-
lt?: number | null | undefined;
|
|
594
691
|
gt?: number | null | undefined;
|
|
692
|
+
lt?: number | null | undefined;
|
|
595
693
|
eq?: number | null | undefined;
|
|
596
|
-
gte?: string | number | null | undefined;
|
|
597
694
|
lte?: string | number | null | undefined;
|
|
695
|
+
gte?: string | number | null | undefined;
|
|
598
696
|
}, {
|
|
599
697
|
amount: string | number;
|
|
600
|
-
lt?: number | null | undefined;
|
|
601
698
|
gt?: number | null | undefined;
|
|
699
|
+
lt?: number | null | undefined;
|
|
602
700
|
eq?: number | null | undefined;
|
|
603
|
-
gte?: string | number | null | undefined;
|
|
604
701
|
lte?: string | number | null | undefined;
|
|
702
|
+
gte?: string | number | null | undefined;
|
|
605
703
|
}>, {
|
|
606
704
|
amount: string | number;
|
|
607
|
-
lt?: number | null | undefined;
|
|
608
705
|
gt?: number | null | undefined;
|
|
706
|
+
lt?: number | null | undefined;
|
|
609
707
|
eq?: number | null | undefined;
|
|
610
|
-
gte?: string | number | null | undefined;
|
|
611
708
|
lte?: string | number | null | undefined;
|
|
709
|
+
gte?: string | number | null | undefined;
|
|
612
710
|
}, {
|
|
613
711
|
amount: string | number;
|
|
614
|
-
lt?: number | null | undefined;
|
|
615
712
|
gt?: number | null | undefined;
|
|
713
|
+
lt?: number | null | undefined;
|
|
616
714
|
eq?: number | null | undefined;
|
|
617
|
-
gte?: string | number | null | undefined;
|
|
618
715
|
lte?: string | number | null | undefined;
|
|
716
|
+
gte?: string | number | null | undefined;
|
|
619
717
|
}>, {
|
|
620
718
|
amount: string | number;
|
|
621
|
-
lt?: number | null | undefined;
|
|
622
719
|
gt?: number | null | undefined;
|
|
720
|
+
lt?: number | null | undefined;
|
|
623
721
|
eq?: number | null | undefined;
|
|
624
|
-
gte?: string | number | null | undefined;
|
|
625
722
|
lte?: string | number | null | undefined;
|
|
723
|
+
gte?: string | number | null | undefined;
|
|
626
724
|
}, {
|
|
627
725
|
amount: string | number;
|
|
628
|
-
lt?: number | null | undefined;
|
|
629
726
|
gt?: number | null | undefined;
|
|
727
|
+
lt?: number | null | undefined;
|
|
630
728
|
eq?: number | null | undefined;
|
|
631
|
-
gte?: string | number | null | undefined;
|
|
632
729
|
lte?: string | number | null | undefined;
|
|
730
|
+
gte?: string | number | null | undefined;
|
|
633
731
|
}>, {
|
|
634
732
|
amount: string | number;
|
|
635
|
-
lt?: number | null | undefined;
|
|
636
733
|
gt?: number | null | undefined;
|
|
734
|
+
lt?: number | null | undefined;
|
|
637
735
|
eq?: number | null | undefined;
|
|
638
|
-
gte?: string | number | null | undefined;
|
|
639
736
|
lte?: string | number | null | undefined;
|
|
737
|
+
gte?: string | number | null | undefined;
|
|
640
738
|
}, {
|
|
641
739
|
amount: string | number;
|
|
642
|
-
lt?: number | null | undefined;
|
|
643
740
|
gt?: number | null | undefined;
|
|
741
|
+
lt?: number | null | undefined;
|
|
644
742
|
eq?: number | null | undefined;
|
|
645
|
-
gte?: string | number | null | undefined;
|
|
646
743
|
lte?: string | number | null | undefined;
|
|
744
|
+
gte?: string | number | null | undefined;
|
|
647
745
|
}>, "many">>>;
|
|
648
746
|
}, "strip", z.ZodTypeAny, {
|
|
649
|
-
name: string;
|
|
650
747
|
shipping_profile_id: string;
|
|
748
|
+
name: string;
|
|
651
749
|
provider_id: string;
|
|
652
|
-
|
|
750
|
+
enabled_in_store: boolean;
|
|
653
751
|
price_type: ShippingOptionPriceType;
|
|
752
|
+
shipping_option_type_id: string;
|
|
654
753
|
currency_prices: Record<string, string | undefined>;
|
|
655
|
-
enabled_in_store: boolean;
|
|
656
754
|
region_prices: Record<string, string | undefined>;
|
|
657
755
|
fulfillment_option_id: string;
|
|
658
756
|
conditional_region_prices: Record<string, {
|
|
659
757
|
amount: string | number;
|
|
660
|
-
lt?: number | null | undefined;
|
|
661
758
|
gt?: number | null | undefined;
|
|
759
|
+
lt?: number | null | undefined;
|
|
662
760
|
eq?: number | null | undefined;
|
|
663
|
-
gte?: string | number | null | undefined;
|
|
664
761
|
lte?: string | number | null | undefined;
|
|
762
|
+
gte?: string | number | null | undefined;
|
|
665
763
|
}[] | undefined>;
|
|
666
764
|
conditional_currency_prices: Record<string, {
|
|
667
765
|
amount: string | number;
|
|
668
|
-
lt?: number | null | undefined;
|
|
669
766
|
gt?: number | null | undefined;
|
|
767
|
+
lt?: number | null | undefined;
|
|
670
768
|
eq?: number | null | undefined;
|
|
671
|
-
gte?: string | number | null | undefined;
|
|
672
769
|
lte?: string | number | null | undefined;
|
|
770
|
+
gte?: string | number | null | undefined;
|
|
673
771
|
}[] | undefined>;
|
|
674
772
|
}, {
|
|
675
|
-
name: string;
|
|
676
773
|
shipping_profile_id: string;
|
|
774
|
+
name: string;
|
|
677
775
|
provider_id: string;
|
|
678
|
-
|
|
776
|
+
enabled_in_store: boolean;
|
|
679
777
|
price_type: ShippingOptionPriceType;
|
|
778
|
+
shipping_option_type_id: string;
|
|
680
779
|
currency_prices: Record<string, string | undefined>;
|
|
681
|
-
enabled_in_store: boolean;
|
|
682
780
|
region_prices: Record<string, string | undefined>;
|
|
683
781
|
fulfillment_option_id: string;
|
|
684
782
|
conditional_region_prices: Record<string, {
|
|
685
783
|
amount: string | number;
|
|
686
|
-
lt?: number | null | undefined;
|
|
687
784
|
gt?: number | null | undefined;
|
|
785
|
+
lt?: number | null | undefined;
|
|
688
786
|
eq?: number | null | undefined;
|
|
689
|
-
gte?: string | number | null | undefined;
|
|
690
787
|
lte?: string | number | null | undefined;
|
|
788
|
+
gte?: string | number | null | undefined;
|
|
691
789
|
}[] | undefined>;
|
|
692
790
|
conditional_currency_prices: Record<string, {
|
|
693
791
|
amount: string | number;
|
|
694
|
-
lt?: number | null | undefined;
|
|
695
792
|
gt?: number | null | undefined;
|
|
793
|
+
lt?: number | null | undefined;
|
|
696
794
|
eq?: number | null | undefined;
|
|
697
|
-
gte?: string | number | null | undefined;
|
|
698
795
|
lte?: string | number | null | undefined;
|
|
796
|
+
gte?: string | number | null | undefined;
|
|
699
797
|
}[] | undefined>;
|
|
700
798
|
}>;
|
|
701
799
|
|
|
@@ -725,30 +823,30 @@ declare const ShippingOptionCreatePage: (({ children }: {
|
|
|
725
823
|
type: FulfillmentSetType;
|
|
726
824
|
}): react_jsx_runtime.JSX.Element;
|
|
727
825
|
_tabMeta: TabDefinition<{
|
|
728
|
-
name: string;
|
|
729
826
|
shipping_profile_id: string;
|
|
827
|
+
name: string;
|
|
730
828
|
provider_id: string;
|
|
731
|
-
|
|
829
|
+
enabled_in_store: boolean;
|
|
732
830
|
price_type: ShippingOptionPriceType;
|
|
831
|
+
shipping_option_type_id: string;
|
|
733
832
|
currency_prices: Record<string, string | undefined>;
|
|
734
|
-
enabled_in_store: boolean;
|
|
735
833
|
region_prices: Record<string, string | undefined>;
|
|
736
834
|
fulfillment_option_id: string;
|
|
737
835
|
conditional_region_prices: Record<string, {
|
|
738
836
|
amount: string | number;
|
|
739
|
-
lt?: number | null | undefined;
|
|
740
837
|
gt?: number | null | undefined;
|
|
838
|
+
lt?: number | null | undefined;
|
|
741
839
|
eq?: number | null | undefined;
|
|
742
|
-
gte?: string | number | null | undefined;
|
|
743
840
|
lte?: string | number | null | undefined;
|
|
841
|
+
gte?: string | number | null | undefined;
|
|
744
842
|
}[] | undefined>;
|
|
745
843
|
conditional_currency_prices: Record<string, {
|
|
746
844
|
amount: string | number;
|
|
747
|
-
lt?: number | null | undefined;
|
|
748
845
|
gt?: number | null | undefined;
|
|
846
|
+
lt?: number | null | undefined;
|
|
749
847
|
eq?: number | null | undefined;
|
|
750
|
-
gte?: string | number | null | undefined;
|
|
751
848
|
lte?: string | number | null | undefined;
|
|
849
|
+
gte?: string | number | null | undefined;
|
|
752
850
|
}[] | undefined>;
|
|
753
851
|
}>;
|
|
754
852
|
};
|
|
@@ -757,30 +855,30 @@ declare const ShippingOptionCreatePage: (({ children }: {
|
|
|
757
855
|
type: FulfillmentSetType;
|
|
758
856
|
}): react_jsx_runtime.JSX.Element;
|
|
759
857
|
_tabMeta: TabDefinition<{
|
|
760
|
-
name: string;
|
|
761
858
|
shipping_profile_id: string;
|
|
859
|
+
name: string;
|
|
762
860
|
provider_id: string;
|
|
763
|
-
|
|
861
|
+
enabled_in_store: boolean;
|
|
764
862
|
price_type: ShippingOptionPriceType;
|
|
863
|
+
shipping_option_type_id: string;
|
|
765
864
|
currency_prices: Record<string, string | undefined>;
|
|
766
|
-
enabled_in_store: boolean;
|
|
767
865
|
region_prices: Record<string, string | undefined>;
|
|
768
866
|
fulfillment_option_id: string;
|
|
769
867
|
conditional_region_prices: Record<string, {
|
|
770
868
|
amount: string | number;
|
|
771
|
-
lt?: number | null | undefined;
|
|
772
869
|
gt?: number | null | undefined;
|
|
870
|
+
lt?: number | null | undefined;
|
|
773
871
|
eq?: number | null | undefined;
|
|
774
|
-
gte?: string | number | null | undefined;
|
|
775
872
|
lte?: string | number | null | undefined;
|
|
873
|
+
gte?: string | number | null | undefined;
|
|
776
874
|
}[] | undefined>;
|
|
777
875
|
conditional_currency_prices: Record<string, {
|
|
778
876
|
amount: string | number;
|
|
779
|
-
lt?: number | null | undefined;
|
|
780
877
|
gt?: number | null | undefined;
|
|
878
|
+
lt?: number | null | undefined;
|
|
781
879
|
eq?: number | null | undefined;
|
|
782
|
-
gte?: string | number | null | undefined;
|
|
783
880
|
lte?: string | number | null | undefined;
|
|
881
|
+
gte?: string | number | null | undefined;
|
|
784
882
|
}[] | undefined>;
|
|
785
883
|
}>;
|
|
786
884
|
};
|
|
@@ -1000,6 +1098,12 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1000
1098
|
}>>>;
|
|
1001
1099
|
}, "strip", z.ZodTypeAny, {
|
|
1002
1100
|
title: string;
|
|
1101
|
+
description: string;
|
|
1102
|
+
status: "draft" | "active";
|
|
1103
|
+
type: "sale" | "override";
|
|
1104
|
+
product_ids: {
|
|
1105
|
+
id: string;
|
|
1106
|
+
}[];
|
|
1003
1107
|
products: Record<string, {
|
|
1004
1108
|
variants: Record<string, {
|
|
1005
1109
|
currency_prices: Record<string, {
|
|
@@ -1010,12 +1114,6 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1010
1114
|
} | undefined>;
|
|
1011
1115
|
}>;
|
|
1012
1116
|
}>;
|
|
1013
|
-
status: "draft" | "active";
|
|
1014
|
-
description: string;
|
|
1015
|
-
type: "sale" | "override";
|
|
1016
|
-
product_ids: {
|
|
1017
|
-
id: string;
|
|
1018
|
-
}[];
|
|
1019
1117
|
rules?: {
|
|
1020
1118
|
customer_group_id?: {
|
|
1021
1119
|
id: string;
|
|
@@ -1026,6 +1124,12 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1026
1124
|
ends_at?: Date | null | undefined;
|
|
1027
1125
|
}, {
|
|
1028
1126
|
title: string;
|
|
1127
|
+
description: string;
|
|
1128
|
+
status: "draft" | "active";
|
|
1129
|
+
type: "sale" | "override";
|
|
1130
|
+
product_ids: {
|
|
1131
|
+
id: string;
|
|
1132
|
+
}[];
|
|
1029
1133
|
products: Record<string, {
|
|
1030
1134
|
variants: Record<string, {
|
|
1031
1135
|
currency_prices: Record<string, {
|
|
@@ -1036,12 +1140,6 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1036
1140
|
} | undefined>;
|
|
1037
1141
|
}>;
|
|
1038
1142
|
}>;
|
|
1039
|
-
status: "draft" | "active";
|
|
1040
|
-
description: string;
|
|
1041
|
-
type: "sale" | "override";
|
|
1042
|
-
product_ids: {
|
|
1043
|
-
id: string;
|
|
1044
|
-
}[];
|
|
1045
1143
|
rules?: {
|
|
1046
1144
|
customer_group_id?: {
|
|
1047
1145
|
id: string;
|
|
@@ -1068,6 +1166,12 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1068
1166
|
(): react_jsx_runtime.JSX.Element;
|
|
1069
1167
|
_tabMeta: TabDefinition<{
|
|
1070
1168
|
title: string;
|
|
1169
|
+
description: string;
|
|
1170
|
+
status: "draft" | "active";
|
|
1171
|
+
type: "sale" | "override";
|
|
1172
|
+
product_ids: {
|
|
1173
|
+
id: string;
|
|
1174
|
+
}[];
|
|
1071
1175
|
products: Record<string, {
|
|
1072
1176
|
variants: Record<string, {
|
|
1073
1177
|
currency_prices: Record<string, {
|
|
@@ -1078,12 +1182,6 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1078
1182
|
} | undefined>;
|
|
1079
1183
|
}>;
|
|
1080
1184
|
}>;
|
|
1081
|
-
status: "draft" | "active";
|
|
1082
|
-
description: string;
|
|
1083
|
-
type: "sale" | "override";
|
|
1084
|
-
product_ids: {
|
|
1085
|
-
id: string;
|
|
1086
|
-
}[];
|
|
1087
1185
|
rules?: {
|
|
1088
1186
|
customer_group_id?: {
|
|
1089
1187
|
id: string;
|
|
@@ -1098,6 +1196,12 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1098
1196
|
(): react_jsx_runtime.JSX.Element;
|
|
1099
1197
|
_tabMeta: TabDefinition<{
|
|
1100
1198
|
title: string;
|
|
1199
|
+
description: string;
|
|
1200
|
+
status: "draft" | "active";
|
|
1201
|
+
type: "sale" | "override";
|
|
1202
|
+
product_ids: {
|
|
1203
|
+
id: string;
|
|
1204
|
+
}[];
|
|
1101
1205
|
products: Record<string, {
|
|
1102
1206
|
variants: Record<string, {
|
|
1103
1207
|
currency_prices: Record<string, {
|
|
@@ -1108,12 +1212,6 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1108
1212
|
} | undefined>;
|
|
1109
1213
|
}>;
|
|
1110
1214
|
}>;
|
|
1111
|
-
status: "draft" | "active";
|
|
1112
|
-
description: string;
|
|
1113
|
-
type: "sale" | "override";
|
|
1114
|
-
product_ids: {
|
|
1115
|
-
id: string;
|
|
1116
|
-
}[];
|
|
1117
1215
|
rules?: {
|
|
1118
1216
|
customer_group_id?: {
|
|
1119
1217
|
id: string;
|
|
@@ -1132,6 +1230,12 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1132
1230
|
}): react_jsx_runtime.JSX.Element;
|
|
1133
1231
|
_tabMeta: TabDefinition<{
|
|
1134
1232
|
title: string;
|
|
1233
|
+
description: string;
|
|
1234
|
+
status: "draft" | "active";
|
|
1235
|
+
type: "sale" | "override";
|
|
1236
|
+
product_ids: {
|
|
1237
|
+
id: string;
|
|
1238
|
+
}[];
|
|
1135
1239
|
products: Record<string, {
|
|
1136
1240
|
variants: Record<string, {
|
|
1137
1241
|
currency_prices: Record<string, {
|
|
@@ -1142,12 +1246,6 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1142
1246
|
} | undefined>;
|
|
1143
1247
|
}>;
|
|
1144
1248
|
}>;
|
|
1145
|
-
status: "draft" | "active";
|
|
1146
|
-
description: string;
|
|
1147
|
-
type: "sale" | "override";
|
|
1148
|
-
product_ids: {
|
|
1149
|
-
id: string;
|
|
1150
|
-
}[];
|
|
1151
1249
|
rules?: {
|
|
1152
1250
|
customer_group_id?: {
|
|
1153
1251
|
id: string;
|
|
@@ -1224,6 +1322,9 @@ declare const PriceListPricesAddSchema: z.ZodObject<{
|
|
|
1224
1322
|
}>;
|
|
1225
1323
|
}>>;
|
|
1226
1324
|
}, "strip", z.ZodTypeAny, {
|
|
1325
|
+
product_ids: {
|
|
1326
|
+
id: string;
|
|
1327
|
+
}[];
|
|
1227
1328
|
products: Record<string, {
|
|
1228
1329
|
variants: Record<string, {
|
|
1229
1330
|
currency_prices: Record<string, {
|
|
@@ -1234,10 +1335,10 @@ declare const PriceListPricesAddSchema: z.ZodObject<{
|
|
|
1234
1335
|
} | undefined>;
|
|
1235
1336
|
}>;
|
|
1236
1337
|
}>;
|
|
1338
|
+
}, {
|
|
1237
1339
|
product_ids: {
|
|
1238
1340
|
id: string;
|
|
1239
1341
|
}[];
|
|
1240
|
-
}, {
|
|
1241
1342
|
products: Record<string, {
|
|
1242
1343
|
variants: Record<string, {
|
|
1243
1344
|
currency_prices: Record<string, {
|
|
@@ -1248,9 +1349,6 @@ declare const PriceListPricesAddSchema: z.ZodObject<{
|
|
|
1248
1349
|
} | undefined>;
|
|
1249
1350
|
}>;
|
|
1250
1351
|
}>;
|
|
1251
|
-
product_ids: {
|
|
1252
|
-
id: string;
|
|
1253
|
-
}[];
|
|
1254
1352
|
}>;
|
|
1255
1353
|
type PriceListPricesAddSchema = z.infer<typeof PriceListPricesAddSchema>;
|
|
1256
1354
|
|
|
@@ -1273,6 +1371,9 @@ declare const PriceListPricesAddPage: (({ children }: {
|
|
|
1273
1371
|
priceList: _medusajs_types.AdminPriceList;
|
|
1274
1372
|
}): react_jsx_runtime.JSX.Element;
|
|
1275
1373
|
_tabMeta: TabDefinition<{
|
|
1374
|
+
product_ids: {
|
|
1375
|
+
id: string;
|
|
1376
|
+
}[];
|
|
1276
1377
|
products: Record<string, {
|
|
1277
1378
|
variants: Record<string, {
|
|
1278
1379
|
currency_prices: Record<string, {
|
|
@@ -1283,9 +1384,6 @@ declare const PriceListPricesAddPage: (({ children }: {
|
|
|
1283
1384
|
} | undefined>;
|
|
1284
1385
|
}>;
|
|
1285
1386
|
}>;
|
|
1286
|
-
product_ids: {
|
|
1287
|
-
id: string;
|
|
1288
|
-
}[];
|
|
1289
1387
|
}>;
|
|
1290
1388
|
};
|
|
1291
1389
|
PricesTab: {
|
|
@@ -1295,6 +1393,9 @@ declare const PriceListPricesAddPage: (({ children }: {
|
|
|
1295
1393
|
pricePreferences: _medusajs_types.AdminPricePreference[];
|
|
1296
1394
|
}): react_jsx_runtime.JSX.Element;
|
|
1297
1395
|
_tabMeta: TabDefinition<{
|
|
1396
|
+
product_ids: {
|
|
1397
|
+
id: string;
|
|
1398
|
+
}[];
|
|
1298
1399
|
products: Record<string, {
|
|
1299
1400
|
variants: Record<string, {
|
|
1300
1401
|
currency_prices: Record<string, {
|
|
@@ -1305,9 +1406,6 @@ declare const PriceListPricesAddPage: (({ children }: {
|
|
|
1305
1406
|
} | undefined>;
|
|
1306
1407
|
}>;
|
|
1307
1408
|
}>;
|
|
1308
|
-
product_ids: {
|
|
1309
|
-
id: string;
|
|
1310
|
-
}[];
|
|
1311
1409
|
}>;
|
|
1312
1410
|
};
|
|
1313
1411
|
Tab: ({ children, }: {
|
|
@@ -1317,33 +1415,6 @@ declare const PriceListPricesAddPage: (({ children }: {
|
|
|
1317
1415
|
}) => react_jsx_runtime.JSX.Element;
|
|
1318
1416
|
};
|
|
1319
1417
|
|
|
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
1418
|
declare const ProductTagListPage: (({ children }: {
|
|
1348
1419
|
children?: ReactNode;
|
|
1349
1420
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
@@ -1402,25 +1473,12 @@ declare function VariantGeneralSection({ variant, }: {
|
|
|
1402
1473
|
variant: HttpTypes.AdminProductVariant;
|
|
1403
1474
|
}): react_jsx_runtime.JSX.Element;
|
|
1404
1475
|
|
|
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
1476
|
declare const ProductVariantDetailPage: (({ children }: {
|
|
1417
1477
|
children?: ReactNode;
|
|
1418
1478
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
1419
1479
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
1420
1480
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
1421
1481
|
MainGeneralSection: typeof VariantGeneralSection;
|
|
1422
|
-
MainInventorySection: typeof VariantInventorySectionConnected;
|
|
1423
|
-
SidebarPricesSection: typeof VariantPricesSection;
|
|
1424
1482
|
};
|
|
1425
1483
|
|
|
1426
1484
|
declare const ProductListPage: (({ children }: {
|
|
@@ -1453,13 +1511,15 @@ declare const ProductDetailPage: (({ children }: {
|
|
|
1453
1511
|
MainActiveEditSection: ({ product, }: {
|
|
1454
1512
|
product: HttpTypes.AdminProduct & {
|
|
1455
1513
|
sellers?: SellerDTO[];
|
|
1514
|
+
attributes?: ProductChangeAttribute[];
|
|
1456
1515
|
};
|
|
1457
1516
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
1458
1517
|
MainGeneralSection: ({ product, }: {
|
|
1459
1518
|
product: HttpTypes.AdminProduct;
|
|
1460
1519
|
}) => react_jsx_runtime.JSX.Element;
|
|
1461
|
-
MainMediaSection: ({ product, }: {
|
|
1520
|
+
MainMediaSection: ({ product, readOnly, }: {
|
|
1462
1521
|
product: HttpTypes.AdminProduct;
|
|
1522
|
+
readOnly?: boolean;
|
|
1463
1523
|
}) => react_jsx_runtime.JSX.Element;
|
|
1464
1524
|
MainAttributeSection: ({ product, }: {
|
|
1465
1525
|
product: {
|
|
@@ -1481,6 +1541,7 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1481
1541
|
handle: z.ZodOptional<z.ZodString>;
|
|
1482
1542
|
description: z.ZodOptional<z.ZodString>;
|
|
1483
1543
|
discountable: z.ZodBoolean;
|
|
1544
|
+
globally_available: z.ZodBoolean;
|
|
1484
1545
|
type_id: z.ZodOptional<z.ZodString>;
|
|
1485
1546
|
collection_id: z.ZodOptional<z.ZodString>;
|
|
1486
1547
|
category_id: z.ZodString;
|
|
@@ -1518,8 +1579,8 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1518
1579
|
use_for_variants: boolean;
|
|
1519
1580
|
values?: string | string[] | undefined;
|
|
1520
1581
|
type?: string | undefined;
|
|
1521
|
-
is_required?: boolean | undefined;
|
|
1522
1582
|
attribute_id?: string | undefined;
|
|
1583
|
+
is_required?: boolean | undefined;
|
|
1523
1584
|
available_values?: {
|
|
1524
1585
|
id: string;
|
|
1525
1586
|
name: string;
|
|
@@ -1530,8 +1591,8 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1530
1591
|
use_for_variants: boolean;
|
|
1531
1592
|
values?: string | string[] | undefined;
|
|
1532
1593
|
type?: string | undefined;
|
|
1533
|
-
is_required?: boolean | undefined;
|
|
1534
1594
|
attribute_id?: string | undefined;
|
|
1595
|
+
is_required?: boolean | undefined;
|
|
1535
1596
|
available_values?: {
|
|
1536
1597
|
id: string;
|
|
1537
1598
|
name: string;
|
|
@@ -1553,74 +1614,44 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1553
1614
|
material: z.ZodOptional<z.ZodString>;
|
|
1554
1615
|
origin_country: z.ZodOptional<z.ZodString>;
|
|
1555
1616
|
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>>;
|
|
1617
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1560
1618
|
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
1619
|
}, "strip", z.ZodTypeAny, {
|
|
1573
1620
|
title: string;
|
|
1574
1621
|
variant_rank: number;
|
|
1575
1622
|
should_create: boolean;
|
|
1576
1623
|
length?: string | number | undefined;
|
|
1577
|
-
|
|
1624
|
+
options?: Record<string, string> | undefined;
|
|
1578
1625
|
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
1626
|
height?: string | number | undefined;
|
|
1627
|
+
weight?: string | number | undefined;
|
|
1586
1628
|
origin_country?: string | undefined;
|
|
1587
|
-
|
|
1629
|
+
hs_code?: string | undefined;
|
|
1588
1630
|
material?: string | undefined;
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
attribute_values?: Record<string, string> | undefined;
|
|
1592
|
-
barcode?: string | undefined;
|
|
1631
|
+
mid_code?: string | undefined;
|
|
1632
|
+
sku?: string | undefined;
|
|
1593
1633
|
ean?: string | undefined;
|
|
1594
1634
|
upc?: string | undefined;
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
inventory_kit?: boolean | undefined;
|
|
1635
|
+
barcode?: string | undefined;
|
|
1636
|
+
is_default?: boolean | undefined;
|
|
1598
1637
|
}, {
|
|
1599
1638
|
title: string;
|
|
1600
1639
|
variant_rank: number;
|
|
1601
1640
|
should_create: boolean;
|
|
1602
1641
|
length?: string | number | undefined;
|
|
1603
|
-
|
|
1642
|
+
options?: Record<string, string> | undefined;
|
|
1604
1643
|
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
1644
|
height?: string | number | undefined;
|
|
1645
|
+
weight?: string | number | undefined;
|
|
1612
1646
|
origin_country?: string | undefined;
|
|
1613
|
-
|
|
1647
|
+
hs_code?: string | undefined;
|
|
1614
1648
|
material?: string | undefined;
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
attribute_values?: Record<string, string> | undefined;
|
|
1618
|
-
barcode?: string | undefined;
|
|
1649
|
+
mid_code?: string | undefined;
|
|
1650
|
+
sku?: string | undefined;
|
|
1619
1651
|
ean?: string | undefined;
|
|
1620
1652
|
upc?: string | undefined;
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
inventory_kit?: boolean | undefined;
|
|
1653
|
+
barcode?: string | undefined;
|
|
1654
|
+
is_default?: boolean | undefined;
|
|
1624
1655
|
}>, "many">;
|
|
1625
1656
|
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1626
1657
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1640,264 +1671,236 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1640
1671
|
}>, "many">>;
|
|
1641
1672
|
}, "strip", z.ZodTypeAny, {
|
|
1642
1673
|
title: string;
|
|
1674
|
+
category_id: string;
|
|
1675
|
+
discountable: boolean;
|
|
1643
1676
|
variants: {
|
|
1644
1677
|
title: string;
|
|
1645
1678
|
variant_rank: number;
|
|
1646
1679
|
should_create: boolean;
|
|
1647
1680
|
length?: string | number | undefined;
|
|
1648
|
-
|
|
1681
|
+
options?: Record<string, string> | undefined;
|
|
1649
1682
|
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
1683
|
height?: string | number | undefined;
|
|
1684
|
+
weight?: string | number | undefined;
|
|
1657
1685
|
origin_country?: string | undefined;
|
|
1658
|
-
|
|
1686
|
+
hs_code?: string | undefined;
|
|
1659
1687
|
material?: string | undefined;
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
attribute_values?: Record<string, string> | undefined;
|
|
1663
|
-
barcode?: string | undefined;
|
|
1688
|
+
mid_code?: string | undefined;
|
|
1689
|
+
sku?: string | undefined;
|
|
1664
1690
|
ean?: string | undefined;
|
|
1665
1691
|
upc?: string | undefined;
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
inventory_kit?: boolean | undefined;
|
|
1692
|
+
barcode?: string | undefined;
|
|
1693
|
+
is_default?: boolean | undefined;
|
|
1669
1694
|
}[];
|
|
1670
|
-
|
|
1671
|
-
category_id: string;
|
|
1695
|
+
globally_available: boolean;
|
|
1672
1696
|
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
1697
|
description?: string | undefined;
|
|
1681
1698
|
handle?: string | undefined;
|
|
1682
|
-
|
|
1699
|
+
media?: {
|
|
1700
|
+
url: string;
|
|
1701
|
+
isThumbnail: boolean;
|
|
1702
|
+
file?: any;
|
|
1703
|
+
id?: string | undefined;
|
|
1704
|
+
}[] | undefined;
|
|
1683
1705
|
collection_id?: string | undefined;
|
|
1684
|
-
type_id?: string | undefined;
|
|
1685
|
-
tags?: string[] | undefined;
|
|
1686
1706
|
attributes?: {
|
|
1687
1707
|
title: string;
|
|
1688
1708
|
is_custom: boolean;
|
|
1689
1709
|
use_for_variants: boolean;
|
|
1690
1710
|
values?: string | string[] | undefined;
|
|
1691
1711
|
type?: string | undefined;
|
|
1692
|
-
is_required?: boolean | undefined;
|
|
1693
1712
|
attribute_id?: string | undefined;
|
|
1713
|
+
is_required?: boolean | undefined;
|
|
1694
1714
|
available_values?: {
|
|
1695
1715
|
id: string;
|
|
1696
1716
|
name: string;
|
|
1697
1717
|
}[] | undefined;
|
|
1698
1718
|
}[] | undefined;
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1719
|
+
subtitle?: string | undefined;
|
|
1720
|
+
type_id?: string | undefined;
|
|
1721
|
+
width?: string | undefined;
|
|
1722
|
+
height?: string | undefined;
|
|
1723
|
+
weight?: string | undefined;
|
|
1724
|
+
origin_country?: string | undefined;
|
|
1725
|
+
hs_code?: string | undefined;
|
|
1726
|
+
material?: string | undefined;
|
|
1727
|
+
mid_code?: string | undefined;
|
|
1705
1728
|
seller_ids?: string[] | undefined;
|
|
1729
|
+
tags?: string[] | undefined;
|
|
1706
1730
|
}, {
|
|
1707
1731
|
title: string;
|
|
1732
|
+
category_id: string;
|
|
1733
|
+
discountable: boolean;
|
|
1708
1734
|
variants: {
|
|
1709
1735
|
title: string;
|
|
1710
1736
|
variant_rank: number;
|
|
1711
1737
|
should_create: boolean;
|
|
1712
1738
|
length?: string | number | undefined;
|
|
1713
|
-
|
|
1739
|
+
options?: Record<string, string> | undefined;
|
|
1714
1740
|
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
1741
|
height?: string | number | undefined;
|
|
1742
|
+
weight?: string | number | undefined;
|
|
1722
1743
|
origin_country?: string | undefined;
|
|
1723
|
-
|
|
1744
|
+
hs_code?: string | undefined;
|
|
1724
1745
|
material?: string | undefined;
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
attribute_values?: Record<string, string> | undefined;
|
|
1728
|
-
barcode?: string | undefined;
|
|
1746
|
+
mid_code?: string | undefined;
|
|
1747
|
+
sku?: string | undefined;
|
|
1729
1748
|
ean?: string | undefined;
|
|
1730
1749
|
upc?: string | undefined;
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
inventory_kit?: boolean | undefined;
|
|
1750
|
+
barcode?: string | undefined;
|
|
1751
|
+
is_default?: boolean | undefined;
|
|
1734
1752
|
}[];
|
|
1735
|
-
|
|
1736
|
-
category_id: string;
|
|
1753
|
+
globally_available: boolean;
|
|
1737
1754
|
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
1755
|
description?: string | undefined;
|
|
1746
1756
|
handle?: string | undefined;
|
|
1747
|
-
|
|
1757
|
+
media?: {
|
|
1758
|
+
url: string;
|
|
1759
|
+
isThumbnail: boolean;
|
|
1760
|
+
file?: any;
|
|
1761
|
+
id?: string | undefined;
|
|
1762
|
+
}[] | undefined;
|
|
1748
1763
|
collection_id?: string | undefined;
|
|
1749
|
-
type_id?: string | undefined;
|
|
1750
|
-
tags?: string[] | undefined;
|
|
1751
1764
|
attributes?: {
|
|
1752
1765
|
title: string;
|
|
1753
1766
|
is_custom: boolean;
|
|
1754
1767
|
use_for_variants: boolean;
|
|
1755
1768
|
values?: string | string[] | undefined;
|
|
1756
1769
|
type?: string | undefined;
|
|
1757
|
-
is_required?: boolean | undefined;
|
|
1758
1770
|
attribute_id?: string | undefined;
|
|
1771
|
+
is_required?: boolean | undefined;
|
|
1759
1772
|
available_values?: {
|
|
1760
1773
|
id: string;
|
|
1761
1774
|
name: string;
|
|
1762
1775
|
}[] | undefined;
|
|
1763
1776
|
}[] | undefined;
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1777
|
+
subtitle?: string | undefined;
|
|
1778
|
+
type_id?: string | undefined;
|
|
1779
|
+
width?: string | undefined;
|
|
1780
|
+
height?: string | undefined;
|
|
1781
|
+
weight?: string | undefined;
|
|
1782
|
+
origin_country?: string | undefined;
|
|
1783
|
+
hs_code?: string | undefined;
|
|
1784
|
+
material?: string | undefined;
|
|
1785
|
+
mid_code?: string | undefined;
|
|
1770
1786
|
seller_ids?: string[] | undefined;
|
|
1787
|
+
tags?: string[] | undefined;
|
|
1771
1788
|
}>, {
|
|
1772
1789
|
title: string;
|
|
1790
|
+
category_id: string;
|
|
1791
|
+
discountable: boolean;
|
|
1773
1792
|
variants: {
|
|
1774
1793
|
title: string;
|
|
1775
1794
|
variant_rank: number;
|
|
1776
1795
|
should_create: boolean;
|
|
1777
1796
|
length?: string | number | undefined;
|
|
1778
|
-
|
|
1797
|
+
options?: Record<string, string> | undefined;
|
|
1779
1798
|
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
1799
|
height?: string | number | undefined;
|
|
1800
|
+
weight?: string | number | undefined;
|
|
1787
1801
|
origin_country?: string | undefined;
|
|
1788
|
-
|
|
1802
|
+
hs_code?: string | undefined;
|
|
1789
1803
|
material?: string | undefined;
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
attribute_values?: Record<string, string> | undefined;
|
|
1793
|
-
barcode?: string | undefined;
|
|
1804
|
+
mid_code?: string | undefined;
|
|
1805
|
+
sku?: string | undefined;
|
|
1794
1806
|
ean?: string | undefined;
|
|
1795
1807
|
upc?: string | undefined;
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
inventory_kit?: boolean | undefined;
|
|
1808
|
+
barcode?: string | undefined;
|
|
1809
|
+
is_default?: boolean | undefined;
|
|
1799
1810
|
}[];
|
|
1800
|
-
|
|
1801
|
-
category_id: string;
|
|
1811
|
+
globally_available: boolean;
|
|
1802
1812
|
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
1813
|
description?: string | undefined;
|
|
1811
1814
|
handle?: string | undefined;
|
|
1812
|
-
|
|
1815
|
+
media?: {
|
|
1816
|
+
url: string;
|
|
1817
|
+
isThumbnail: boolean;
|
|
1818
|
+
file?: any;
|
|
1819
|
+
id?: string | undefined;
|
|
1820
|
+
}[] | undefined;
|
|
1813
1821
|
collection_id?: string | undefined;
|
|
1814
|
-
type_id?: string | undefined;
|
|
1815
|
-
tags?: string[] | undefined;
|
|
1816
1822
|
attributes?: {
|
|
1817
1823
|
title: string;
|
|
1818
1824
|
is_custom: boolean;
|
|
1819
1825
|
use_for_variants: boolean;
|
|
1820
1826
|
values?: string | string[] | undefined;
|
|
1821
1827
|
type?: string | undefined;
|
|
1822
|
-
is_required?: boolean | undefined;
|
|
1823
1828
|
attribute_id?: string | undefined;
|
|
1829
|
+
is_required?: boolean | undefined;
|
|
1824
1830
|
available_values?: {
|
|
1825
1831
|
id: string;
|
|
1826
1832
|
name: string;
|
|
1827
1833
|
}[] | undefined;
|
|
1828
1834
|
}[] | undefined;
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
+
subtitle?: string | undefined;
|
|
1836
|
+
type_id?: string | undefined;
|
|
1837
|
+
width?: string | undefined;
|
|
1838
|
+
height?: string | undefined;
|
|
1839
|
+
weight?: string | undefined;
|
|
1840
|
+
origin_country?: string | undefined;
|
|
1841
|
+
hs_code?: string | undefined;
|
|
1842
|
+
material?: string | undefined;
|
|
1843
|
+
mid_code?: string | undefined;
|
|
1835
1844
|
seller_ids?: string[] | undefined;
|
|
1845
|
+
tags?: string[] | undefined;
|
|
1836
1846
|
}, {
|
|
1837
1847
|
title: string;
|
|
1848
|
+
category_id: string;
|
|
1849
|
+
discountable: boolean;
|
|
1838
1850
|
variants: {
|
|
1839
1851
|
title: string;
|
|
1840
1852
|
variant_rank: number;
|
|
1841
1853
|
should_create: boolean;
|
|
1842
1854
|
length?: string | number | undefined;
|
|
1843
|
-
|
|
1855
|
+
options?: Record<string, string> | undefined;
|
|
1844
1856
|
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
1857
|
height?: string | number | undefined;
|
|
1858
|
+
weight?: string | number | undefined;
|
|
1852
1859
|
origin_country?: string | undefined;
|
|
1853
|
-
|
|
1860
|
+
hs_code?: string | undefined;
|
|
1854
1861
|
material?: string | undefined;
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
attribute_values?: Record<string, string> | undefined;
|
|
1858
|
-
barcode?: string | undefined;
|
|
1862
|
+
mid_code?: string | undefined;
|
|
1863
|
+
sku?: string | undefined;
|
|
1859
1864
|
ean?: string | undefined;
|
|
1860
1865
|
upc?: string | undefined;
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
inventory_kit?: boolean | undefined;
|
|
1866
|
+
barcode?: string | undefined;
|
|
1867
|
+
is_default?: boolean | undefined;
|
|
1864
1868
|
}[];
|
|
1865
|
-
|
|
1866
|
-
category_id: string;
|
|
1869
|
+
globally_available: boolean;
|
|
1867
1870
|
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
1871
|
description?: string | undefined;
|
|
1876
1872
|
handle?: string | undefined;
|
|
1877
|
-
|
|
1873
|
+
media?: {
|
|
1874
|
+
url: string;
|
|
1875
|
+
isThumbnail: boolean;
|
|
1876
|
+
file?: any;
|
|
1877
|
+
id?: string | undefined;
|
|
1878
|
+
}[] | undefined;
|
|
1878
1879
|
collection_id?: string | undefined;
|
|
1879
|
-
type_id?: string | undefined;
|
|
1880
|
-
tags?: string[] | undefined;
|
|
1881
1880
|
attributes?: {
|
|
1882
1881
|
title: string;
|
|
1883
1882
|
is_custom: boolean;
|
|
1884
1883
|
use_for_variants: boolean;
|
|
1885
1884
|
values?: string | string[] | undefined;
|
|
1886
1885
|
type?: string | undefined;
|
|
1887
|
-
is_required?: boolean | undefined;
|
|
1888
1886
|
attribute_id?: string | undefined;
|
|
1887
|
+
is_required?: boolean | undefined;
|
|
1889
1888
|
available_values?: {
|
|
1890
1889
|
id: string;
|
|
1891
1890
|
name: string;
|
|
1892
1891
|
}[] | undefined;
|
|
1893
1892
|
}[] | undefined;
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1893
|
+
subtitle?: string | undefined;
|
|
1894
|
+
type_id?: string | undefined;
|
|
1895
|
+
width?: string | undefined;
|
|
1896
|
+
height?: string | undefined;
|
|
1897
|
+
weight?: string | undefined;
|
|
1898
|
+
origin_country?: string | undefined;
|
|
1899
|
+
hs_code?: string | undefined;
|
|
1900
|
+
material?: string | undefined;
|
|
1901
|
+
mid_code?: string | undefined;
|
|
1900
1902
|
seller_ids?: string[] | undefined;
|
|
1903
|
+
tags?: string[] | undefined;
|
|
1901
1904
|
}>;
|
|
1902
1905
|
|
|
1903
1906
|
type ProductCreateSchemaType = z.infer<typeof ProductCreateSchema>;
|
|
@@ -1914,345 +1917,248 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
1914
1917
|
(): react_jsx_runtime.JSX.Element;
|
|
1915
1918
|
_tabMeta: TabDefinition<{
|
|
1916
1919
|
title: string;
|
|
1920
|
+
category_id: string;
|
|
1921
|
+
discountable: boolean;
|
|
1917
1922
|
variants: {
|
|
1918
1923
|
title: string;
|
|
1919
1924
|
variant_rank: number;
|
|
1920
1925
|
should_create: boolean;
|
|
1921
1926
|
length?: string | number | undefined;
|
|
1922
|
-
|
|
1927
|
+
options?: Record<string, string> | undefined;
|
|
1923
1928
|
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
1929
|
height?: string | number | undefined;
|
|
1930
|
+
weight?: string | number | undefined;
|
|
1931
1931
|
origin_country?: string | undefined;
|
|
1932
|
-
|
|
1932
|
+
hs_code?: string | undefined;
|
|
1933
1933
|
material?: string | undefined;
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
attribute_values?: Record<string, string> | undefined;
|
|
1937
|
-
barcode?: string | undefined;
|
|
1934
|
+
mid_code?: string | undefined;
|
|
1935
|
+
sku?: string | undefined;
|
|
1938
1936
|
ean?: string | undefined;
|
|
1939
1937
|
upc?: string | undefined;
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
inventory_kit?: boolean | undefined;
|
|
1938
|
+
barcode?: string | undefined;
|
|
1939
|
+
is_default?: boolean | undefined;
|
|
1943
1940
|
}[];
|
|
1944
|
-
|
|
1945
|
-
category_id: string;
|
|
1941
|
+
globally_available: boolean;
|
|
1946
1942
|
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
1943
|
description?: string | undefined;
|
|
1955
1944
|
handle?: string | undefined;
|
|
1956
|
-
|
|
1945
|
+
media?: {
|
|
1946
|
+
url: string;
|
|
1947
|
+
isThumbnail: boolean;
|
|
1948
|
+
file?: any;
|
|
1949
|
+
id?: string | undefined;
|
|
1950
|
+
}[] | undefined;
|
|
1957
1951
|
collection_id?: string | undefined;
|
|
1958
|
-
type_id?: string | undefined;
|
|
1959
|
-
tags?: string[] | undefined;
|
|
1960
1952
|
attributes?: {
|
|
1961
1953
|
title: string;
|
|
1962
1954
|
is_custom: boolean;
|
|
1963
1955
|
use_for_variants: boolean;
|
|
1964
1956
|
values?: string | string[] | undefined;
|
|
1965
1957
|
type?: string | undefined;
|
|
1966
|
-
is_required?: boolean | undefined;
|
|
1967
1958
|
attribute_id?: string | undefined;
|
|
1959
|
+
is_required?: boolean | undefined;
|
|
1968
1960
|
available_values?: {
|
|
1969
1961
|
id: string;
|
|
1970
1962
|
name: string;
|
|
1971
1963
|
}[] | undefined;
|
|
1972
1964
|
}[] | undefined;
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1965
|
+
subtitle?: string | undefined;
|
|
1966
|
+
type_id?: string | undefined;
|
|
1967
|
+
width?: string | undefined;
|
|
1968
|
+
height?: string | undefined;
|
|
1969
|
+
weight?: string | undefined;
|
|
1970
|
+
origin_country?: string | undefined;
|
|
1971
|
+
hs_code?: string | undefined;
|
|
1972
|
+
material?: string | undefined;
|
|
1973
|
+
mid_code?: string | undefined;
|
|
1979
1974
|
seller_ids?: string[] | undefined;
|
|
1975
|
+
tags?: string[] | undefined;
|
|
1980
1976
|
}>;
|
|
1981
1977
|
};
|
|
1982
1978
|
OrganizeTab: {
|
|
1983
1979
|
(): react_jsx_runtime.JSX.Element;
|
|
1984
1980
|
_tabMeta: TabDefinition<{
|
|
1985
1981
|
title: string;
|
|
1982
|
+
category_id: string;
|
|
1983
|
+
discountable: boolean;
|
|
1986
1984
|
variants: {
|
|
1987
1985
|
title: string;
|
|
1988
1986
|
variant_rank: number;
|
|
1989
1987
|
should_create: boolean;
|
|
1990
1988
|
length?: string | number | undefined;
|
|
1991
|
-
|
|
1989
|
+
options?: Record<string, string> | undefined;
|
|
1992
1990
|
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
1991
|
height?: string | number | undefined;
|
|
1992
|
+
weight?: string | number | undefined;
|
|
2000
1993
|
origin_country?: string | undefined;
|
|
2001
|
-
|
|
1994
|
+
hs_code?: string | undefined;
|
|
2002
1995
|
material?: string | undefined;
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
attribute_values?: Record<string, string> | undefined;
|
|
2006
|
-
barcode?: string | undefined;
|
|
1996
|
+
mid_code?: string | undefined;
|
|
1997
|
+
sku?: string | undefined;
|
|
2007
1998
|
ean?: string | undefined;
|
|
2008
1999
|
upc?: string | undefined;
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
inventory_kit?: boolean | undefined;
|
|
2000
|
+
barcode?: string | undefined;
|
|
2001
|
+
is_default?: boolean | undefined;
|
|
2012
2002
|
}[];
|
|
2013
|
-
|
|
2014
|
-
category_id: string;
|
|
2003
|
+
globally_available: boolean;
|
|
2015
2004
|
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
2005
|
description?: string | undefined;
|
|
2024
2006
|
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
2007
|
media?: {
|
|
2043
2008
|
url: string;
|
|
2044
2009
|
isThumbnail: boolean;
|
|
2045
2010
|
file?: any;
|
|
2046
2011
|
id?: string | undefined;
|
|
2047
2012
|
}[] | 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
2013
|
collection_id?: string | undefined;
|
|
2096
|
-
type_id?: string | undefined;
|
|
2097
|
-
tags?: string[] | undefined;
|
|
2098
2014
|
attributes?: {
|
|
2099
2015
|
title: string;
|
|
2100
2016
|
is_custom: boolean;
|
|
2101
2017
|
use_for_variants: boolean;
|
|
2102
2018
|
values?: string | string[] | undefined;
|
|
2103
2019
|
type?: string | undefined;
|
|
2104
|
-
is_required?: boolean | undefined;
|
|
2105
2020
|
attribute_id?: string | undefined;
|
|
2021
|
+
is_required?: boolean | undefined;
|
|
2106
2022
|
available_values?: {
|
|
2107
2023
|
id: string;
|
|
2108
2024
|
name: string;
|
|
2109
2025
|
}[] | undefined;
|
|
2110
2026
|
}[] | undefined;
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2027
|
+
subtitle?: string | undefined;
|
|
2028
|
+
type_id?: string | undefined;
|
|
2029
|
+
width?: string | undefined;
|
|
2030
|
+
height?: string | undefined;
|
|
2031
|
+
weight?: string | undefined;
|
|
2032
|
+
origin_country?: string | undefined;
|
|
2033
|
+
hs_code?: string | undefined;
|
|
2034
|
+
material?: string | undefined;
|
|
2035
|
+
mid_code?: string | undefined;
|
|
2117
2036
|
seller_ids?: string[] | undefined;
|
|
2037
|
+
tags?: string[] | undefined;
|
|
2118
2038
|
}>;
|
|
2119
2039
|
};
|
|
2120
|
-
|
|
2040
|
+
AttributesTab: {
|
|
2121
2041
|
(): react_jsx_runtime.JSX.Element;
|
|
2122
2042
|
_tabMeta: TabDefinition<{
|
|
2123
2043
|
title: string;
|
|
2044
|
+
category_id: string;
|
|
2045
|
+
discountable: boolean;
|
|
2124
2046
|
variants: {
|
|
2125
2047
|
title: string;
|
|
2126
2048
|
variant_rank: number;
|
|
2127
2049
|
should_create: boolean;
|
|
2128
2050
|
length?: string | number | undefined;
|
|
2129
|
-
|
|
2051
|
+
options?: Record<string, string> | undefined;
|
|
2130
2052
|
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
2053
|
height?: string | number | undefined;
|
|
2054
|
+
weight?: string | number | undefined;
|
|
2138
2055
|
origin_country?: string | undefined;
|
|
2139
|
-
|
|
2056
|
+
hs_code?: string | undefined;
|
|
2140
2057
|
material?: string | undefined;
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
attribute_values?: Record<string, string> | undefined;
|
|
2144
|
-
barcode?: string | undefined;
|
|
2058
|
+
mid_code?: string | undefined;
|
|
2059
|
+
sku?: string | undefined;
|
|
2145
2060
|
ean?: string | undefined;
|
|
2146
2061
|
upc?: string | undefined;
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
inventory_kit?: boolean | undefined;
|
|
2062
|
+
barcode?: string | undefined;
|
|
2063
|
+
is_default?: boolean | undefined;
|
|
2150
2064
|
}[];
|
|
2151
|
-
|
|
2152
|
-
category_id: string;
|
|
2065
|
+
globally_available: boolean;
|
|
2153
2066
|
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
2067
|
description?: string | undefined;
|
|
2162
2068
|
handle?: string | undefined;
|
|
2163
|
-
|
|
2069
|
+
media?: {
|
|
2070
|
+
url: string;
|
|
2071
|
+
isThumbnail: boolean;
|
|
2072
|
+
file?: any;
|
|
2073
|
+
id?: string | undefined;
|
|
2074
|
+
}[] | undefined;
|
|
2164
2075
|
collection_id?: string | undefined;
|
|
2165
|
-
type_id?: string | undefined;
|
|
2166
|
-
tags?: string[] | undefined;
|
|
2167
2076
|
attributes?: {
|
|
2168
2077
|
title: string;
|
|
2169
2078
|
is_custom: boolean;
|
|
2170
2079
|
use_for_variants: boolean;
|
|
2171
2080
|
values?: string | string[] | undefined;
|
|
2172
2081
|
type?: string | undefined;
|
|
2173
|
-
is_required?: boolean | undefined;
|
|
2174
2082
|
attribute_id?: string | undefined;
|
|
2083
|
+
is_required?: boolean | undefined;
|
|
2175
2084
|
available_values?: {
|
|
2176
2085
|
id: string;
|
|
2177
2086
|
name: string;
|
|
2178
2087
|
}[] | undefined;
|
|
2179
2088
|
}[] | undefined;
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2089
|
+
subtitle?: string | undefined;
|
|
2090
|
+
type_id?: string | undefined;
|
|
2091
|
+
width?: string | undefined;
|
|
2092
|
+
height?: string | undefined;
|
|
2093
|
+
weight?: string | undefined;
|
|
2094
|
+
origin_country?: string | undefined;
|
|
2095
|
+
hs_code?: string | undefined;
|
|
2096
|
+
material?: string | undefined;
|
|
2097
|
+
mid_code?: string | undefined;
|
|
2186
2098
|
seller_ids?: string[] | undefined;
|
|
2099
|
+
tags?: string[] | undefined;
|
|
2187
2100
|
}>;
|
|
2188
2101
|
};
|
|
2189
|
-
|
|
2102
|
+
VariantsTab: {
|
|
2190
2103
|
(): react_jsx_runtime.JSX.Element;
|
|
2191
2104
|
_tabMeta: TabDefinition<{
|
|
2192
2105
|
title: string;
|
|
2106
|
+
category_id: string;
|
|
2107
|
+
discountable: boolean;
|
|
2193
2108
|
variants: {
|
|
2194
2109
|
title: string;
|
|
2195
2110
|
variant_rank: number;
|
|
2196
2111
|
should_create: boolean;
|
|
2197
2112
|
length?: string | number | undefined;
|
|
2198
|
-
|
|
2113
|
+
options?: Record<string, string> | undefined;
|
|
2199
2114
|
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
2115
|
height?: string | number | undefined;
|
|
2116
|
+
weight?: string | number | undefined;
|
|
2207
2117
|
origin_country?: string | undefined;
|
|
2208
|
-
|
|
2118
|
+
hs_code?: string | undefined;
|
|
2209
2119
|
material?: string | undefined;
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
attribute_values?: Record<string, string> | undefined;
|
|
2213
|
-
barcode?: string | undefined;
|
|
2120
|
+
mid_code?: string | undefined;
|
|
2121
|
+
sku?: string | undefined;
|
|
2214
2122
|
ean?: string | undefined;
|
|
2215
2123
|
upc?: string | undefined;
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
inventory_kit?: boolean | undefined;
|
|
2124
|
+
barcode?: string | undefined;
|
|
2125
|
+
is_default?: boolean | undefined;
|
|
2219
2126
|
}[];
|
|
2220
|
-
|
|
2221
|
-
category_id: string;
|
|
2127
|
+
globally_available: boolean;
|
|
2222
2128
|
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
2129
|
description?: string | undefined;
|
|
2231
2130
|
handle?: string | undefined;
|
|
2232
|
-
|
|
2131
|
+
media?: {
|
|
2132
|
+
url: string;
|
|
2133
|
+
isThumbnail: boolean;
|
|
2134
|
+
file?: any;
|
|
2135
|
+
id?: string | undefined;
|
|
2136
|
+
}[] | undefined;
|
|
2233
2137
|
collection_id?: string | undefined;
|
|
2234
|
-
type_id?: string | undefined;
|
|
2235
|
-
tags?: string[] | undefined;
|
|
2236
2138
|
attributes?: {
|
|
2237
2139
|
title: string;
|
|
2238
2140
|
is_custom: boolean;
|
|
2239
2141
|
use_for_variants: boolean;
|
|
2240
2142
|
values?: string | string[] | undefined;
|
|
2241
2143
|
type?: string | undefined;
|
|
2242
|
-
is_required?: boolean | undefined;
|
|
2243
2144
|
attribute_id?: string | undefined;
|
|
2145
|
+
is_required?: boolean | undefined;
|
|
2244
2146
|
available_values?: {
|
|
2245
2147
|
id: string;
|
|
2246
2148
|
name: string;
|
|
2247
2149
|
}[] | undefined;
|
|
2248
2150
|
}[] | undefined;
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2151
|
+
subtitle?: string | undefined;
|
|
2152
|
+
type_id?: string | undefined;
|
|
2153
|
+
width?: string | undefined;
|
|
2154
|
+
height?: string | undefined;
|
|
2155
|
+
weight?: string | undefined;
|
|
2156
|
+
origin_country?: string | undefined;
|
|
2157
|
+
hs_code?: string | undefined;
|
|
2158
|
+
material?: string | undefined;
|
|
2159
|
+
mid_code?: string | undefined;
|
|
2255
2160
|
seller_ids?: string[] | undefined;
|
|
2161
|
+
tags?: string[] | undefined;
|
|
2256
2162
|
}>;
|
|
2257
2163
|
};
|
|
2258
2164
|
Tab: ({ children, }: {
|
|
@@ -2265,45 +2171,15 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
2265
2171
|
declare const CreateProductVariantSchema: z.ZodObject<{
|
|
2266
2172
|
title: z.ZodString;
|
|
2267
2173
|
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">>;
|
|
2174
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2283
2175
|
}, "strip", z.ZodTypeAny, {
|
|
2284
2176
|
title: string;
|
|
2285
|
-
|
|
2286
|
-
inventory_item_id: string;
|
|
2287
|
-
required_quantity?: string | number | undefined;
|
|
2288
|
-
}[] | undefined;
|
|
2177
|
+
options?: Record<string, string> | undefined;
|
|
2289
2178
|
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
2179
|
}, {
|
|
2296
2180
|
title: string;
|
|
2297
|
-
|
|
2298
|
-
inventory_item_id: string;
|
|
2299
|
-
required_quantity?: string | number | undefined;
|
|
2300
|
-
}[] | undefined;
|
|
2181
|
+
options?: Record<string, string> | undefined;
|
|
2301
2182
|
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
2183
|
}>;
|
|
2308
2184
|
|
|
2309
2185
|
type CreateProductVariantSchemaType = z.infer<typeof CreateProductVariantSchema>;
|
|
@@ -2315,50 +2191,8 @@ declare function DetailsTab({ product }: DetailsTabProps): react_jsx_runtime.JSX
|
|
|
2315
2191
|
declare namespace DetailsTab {
|
|
2316
2192
|
var _tabMeta: TabDefinition<{
|
|
2317
2193
|
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;
|
|
2194
|
+
options?: Record<string, string> | undefined;
|
|
2339
2195
|
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
2196
|
}>;
|
|
2363
2197
|
}
|
|
2364
2198
|
|
|
@@ -2372,8 +2206,6 @@ declare const ProductCreateVariantPage: (({ children }: {
|
|
|
2372
2206
|
defaultValues?: react_hook_form.DeepPartial<CreateProductVariantSchemaType>;
|
|
2373
2207
|
}) => react_jsx_runtime.JSX.Element;
|
|
2374
2208
|
DetailsTab: typeof DetailsTab;
|
|
2375
|
-
PricingTab: typeof PricingTab;
|
|
2376
|
-
InventoryKitTab: typeof InventoryKitTab;
|
|
2377
2209
|
Tab: ({ children, }: {
|
|
2378
2210
|
id: string;
|
|
2379
2211
|
label: string;
|
|
@@ -2442,16 +2274,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2442
2274
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2443
2275
|
}, "strip", z.ZodTypeAny, {
|
|
2444
2276
|
values: string | number | string[];
|
|
2445
|
-
attribute: string;
|
|
2446
2277
|
operator: string;
|
|
2278
|
+
attribute: string;
|
|
2447
2279
|
id?: string | undefined;
|
|
2448
2280
|
required?: boolean | undefined;
|
|
2449
2281
|
disguised?: boolean | undefined;
|
|
2450
2282
|
field_type?: string | undefined;
|
|
2451
2283
|
}, {
|
|
2452
2284
|
values: string | number | string[];
|
|
2453
|
-
attribute: string;
|
|
2454
2285
|
operator: string;
|
|
2286
|
+
attribute: string;
|
|
2455
2287
|
id?: string | undefined;
|
|
2456
2288
|
required?: boolean | undefined;
|
|
2457
2289
|
disguised?: boolean | undefined;
|
|
@@ -2473,16 +2305,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2473
2305
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2474
2306
|
}, "strip", z.ZodTypeAny, {
|
|
2475
2307
|
values: string | number | string[];
|
|
2476
|
-
attribute: string;
|
|
2477
2308
|
operator: string;
|
|
2309
|
+
attribute: string;
|
|
2478
2310
|
id?: string | undefined;
|
|
2479
2311
|
required?: boolean | undefined;
|
|
2480
2312
|
disguised?: boolean | undefined;
|
|
2481
2313
|
field_type?: string | undefined;
|
|
2482
2314
|
}, {
|
|
2483
2315
|
values: string | number | string[];
|
|
2484
|
-
attribute: string;
|
|
2485
2316
|
operator: string;
|
|
2317
|
+
attribute: string;
|
|
2486
2318
|
id?: string | undefined;
|
|
2487
2319
|
required?: boolean | undefined;
|
|
2488
2320
|
disguised?: boolean | undefined;
|
|
@@ -2498,16 +2330,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2498
2330
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2499
2331
|
}, "strip", z.ZodTypeAny, {
|
|
2500
2332
|
values: string | number | string[];
|
|
2501
|
-
attribute: string;
|
|
2502
2333
|
operator: string;
|
|
2334
|
+
attribute: string;
|
|
2503
2335
|
id?: string | undefined;
|
|
2504
2336
|
required?: boolean | undefined;
|
|
2505
2337
|
disguised?: boolean | undefined;
|
|
2506
2338
|
field_type?: string | undefined;
|
|
2507
2339
|
}, {
|
|
2508
2340
|
values: string | number | string[];
|
|
2509
|
-
attribute: string;
|
|
2510
2341
|
operator: string;
|
|
2342
|
+
attribute: string;
|
|
2511
2343
|
id?: string | undefined;
|
|
2512
2344
|
required?: boolean | undefined;
|
|
2513
2345
|
disguised?: boolean | undefined;
|
|
@@ -2518,11 +2350,12 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2518
2350
|
}, "strip", z.ZodTypeAny, {
|
|
2519
2351
|
value: string | number;
|
|
2520
2352
|
type: "fixed" | "percentage";
|
|
2353
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2521
2354
|
allocation: "each" | "across" | "once";
|
|
2522
2355
|
target_rules: {
|
|
2523
2356
|
values: string | number | string[];
|
|
2524
|
-
attribute: string;
|
|
2525
2357
|
operator: string;
|
|
2358
|
+
attribute: string;
|
|
2526
2359
|
id?: string | undefined;
|
|
2527
2360
|
required?: boolean | undefined;
|
|
2528
2361
|
disguised?: boolean | undefined;
|
|
@@ -2530,24 +2363,24 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2530
2363
|
}[];
|
|
2531
2364
|
buy_rules: {
|
|
2532
2365
|
values: string | number | string[];
|
|
2533
|
-
attribute: string;
|
|
2534
2366
|
operator: string;
|
|
2367
|
+
attribute: string;
|
|
2535
2368
|
id?: string | undefined;
|
|
2536
2369
|
required?: boolean | undefined;
|
|
2537
2370
|
disguised?: boolean | undefined;
|
|
2538
2371
|
field_type?: string | undefined;
|
|
2539
2372
|
}[];
|
|
2540
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2541
2373
|
currency_code?: string | undefined;
|
|
2542
2374
|
max_quantity?: number | null | undefined;
|
|
2543
2375
|
}, {
|
|
2544
2376
|
value: string | number;
|
|
2545
2377
|
type: "fixed" | "percentage";
|
|
2378
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2546
2379
|
allocation: "each" | "across" | "once";
|
|
2547
2380
|
target_rules: {
|
|
2548
2381
|
values: string | number | string[];
|
|
2549
|
-
attribute: string;
|
|
2550
2382
|
operator: string;
|
|
2383
|
+
attribute: string;
|
|
2551
2384
|
id?: string | undefined;
|
|
2552
2385
|
required?: boolean | undefined;
|
|
2553
2386
|
disguised?: boolean | undefined;
|
|
@@ -2555,14 +2388,13 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2555
2388
|
}[];
|
|
2556
2389
|
buy_rules: {
|
|
2557
2390
|
values: string | number | string[];
|
|
2558
|
-
attribute: string;
|
|
2559
2391
|
operator: string;
|
|
2392
|
+
attribute: string;
|
|
2560
2393
|
id?: string | undefined;
|
|
2561
2394
|
required?: boolean | undefined;
|
|
2562
2395
|
disguised?: boolean | undefined;
|
|
2563
2396
|
field_type?: string | undefined;
|
|
2564
2397
|
}[];
|
|
2565
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2566
2398
|
currency_code?: string | undefined;
|
|
2567
2399
|
max_quantity?: number | null | undefined;
|
|
2568
2400
|
}>;
|
|
@@ -2578,24 +2410,24 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2578
2410
|
type: z.ZodEnum<["spend", "usage", "use_by_attribute"]>;
|
|
2579
2411
|
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2580
2412
|
}, "strip", z.ZodTypeAny, {
|
|
2581
|
-
type: "
|
|
2413
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2414
|
+
currency_code?: string | null | undefined;
|
|
2582
2415
|
limit?: number | null | undefined;
|
|
2583
2416
|
attribute?: string | null | undefined;
|
|
2584
|
-
currency_code?: string | null | undefined;
|
|
2585
2417
|
}, {
|
|
2586
|
-
type: "
|
|
2418
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2419
|
+
currency_code?: string | null | undefined;
|
|
2587
2420
|
limit?: number | null | undefined;
|
|
2588
2421
|
attribute?: string | null | undefined;
|
|
2589
|
-
currency_code?: string | null | undefined;
|
|
2590
2422
|
}>;
|
|
2591
2423
|
}, "strip", z.ZodTypeAny, {
|
|
2592
2424
|
name: string;
|
|
2593
2425
|
campaign_identifier: string;
|
|
2594
2426
|
budget: {
|
|
2595
|
-
type: "
|
|
2427
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2428
|
+
currency_code?: string | null | undefined;
|
|
2596
2429
|
limit?: number | null | undefined;
|
|
2597
2430
|
attribute?: string | null | undefined;
|
|
2598
|
-
currency_code?: string | null | undefined;
|
|
2599
2431
|
};
|
|
2600
2432
|
starts_at: Date | null;
|
|
2601
2433
|
ends_at: Date | null;
|
|
@@ -2604,10 +2436,10 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2604
2436
|
name: string;
|
|
2605
2437
|
campaign_identifier: string;
|
|
2606
2438
|
budget: {
|
|
2607
|
-
type: "
|
|
2439
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2440
|
+
currency_code?: string | null | undefined;
|
|
2608
2441
|
limit?: number | null | undefined;
|
|
2609
2442
|
attribute?: string | null | undefined;
|
|
2610
|
-
currency_code?: string | null | undefined;
|
|
2611
2443
|
};
|
|
2612
2444
|
starts_at: Date | null;
|
|
2613
2445
|
ends_at: Date | null;
|
|
@@ -2619,22 +2451,22 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2619
2451
|
type: "standard" | "buyget";
|
|
2620
2452
|
rules: {
|
|
2621
2453
|
values: string | number | string[];
|
|
2622
|
-
attribute: string;
|
|
2623
2454
|
operator: string;
|
|
2455
|
+
attribute: string;
|
|
2624
2456
|
id?: string | undefined;
|
|
2625
2457
|
required?: boolean | undefined;
|
|
2626
2458
|
disguised?: boolean | undefined;
|
|
2627
2459
|
field_type?: string | undefined;
|
|
2628
2460
|
}[];
|
|
2629
|
-
is_automatic: string;
|
|
2630
2461
|
application_method: {
|
|
2631
2462
|
value: string | number;
|
|
2632
2463
|
type: "fixed" | "percentage";
|
|
2464
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2633
2465
|
allocation: "each" | "across" | "once";
|
|
2634
2466
|
target_rules: {
|
|
2635
2467
|
values: string | number | string[];
|
|
2636
|
-
attribute: string;
|
|
2637
2468
|
operator: string;
|
|
2469
|
+
attribute: string;
|
|
2638
2470
|
id?: string | undefined;
|
|
2639
2471
|
required?: boolean | undefined;
|
|
2640
2472
|
disguised?: boolean | undefined;
|
|
@@ -2642,56 +2474,56 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2642
2474
|
}[];
|
|
2643
2475
|
buy_rules: {
|
|
2644
2476
|
values: string | number | string[];
|
|
2645
|
-
attribute: string;
|
|
2646
2477
|
operator: string;
|
|
2478
|
+
attribute: string;
|
|
2647
2479
|
id?: string | undefined;
|
|
2648
2480
|
required?: boolean | undefined;
|
|
2649
2481
|
disguised?: boolean | undefined;
|
|
2650
2482
|
field_type?: string | undefined;
|
|
2651
2483
|
}[];
|
|
2652
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2653
2484
|
currency_code?: string | undefined;
|
|
2654
2485
|
max_quantity?: number | null | undefined;
|
|
2655
2486
|
};
|
|
2487
|
+
is_automatic: string;
|
|
2488
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2656
2489
|
campaign?: {
|
|
2657
2490
|
name: string;
|
|
2658
2491
|
campaign_identifier: string;
|
|
2659
2492
|
budget: {
|
|
2660
|
-
type: "
|
|
2493
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2494
|
+
currency_code?: string | null | undefined;
|
|
2661
2495
|
limit?: number | null | undefined;
|
|
2662
2496
|
attribute?: string | null | undefined;
|
|
2663
|
-
currency_code?: string | null | undefined;
|
|
2664
2497
|
};
|
|
2665
2498
|
starts_at: Date | null;
|
|
2666
2499
|
ends_at: Date | null;
|
|
2667
2500
|
description?: string | undefined;
|
|
2668
2501
|
} | undefined;
|
|
2669
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2670
2502
|
campaign_id?: string | undefined;
|
|
2671
2503
|
template_id?: string | undefined;
|
|
2672
|
-
campaign_choice?: "
|
|
2504
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2673
2505
|
}, {
|
|
2674
2506
|
code: string;
|
|
2675
2507
|
status: "draft" | "active" | "inactive";
|
|
2676
2508
|
type: "standard" | "buyget";
|
|
2677
2509
|
rules: {
|
|
2678
2510
|
values: string | number | string[];
|
|
2679
|
-
attribute: string;
|
|
2680
2511
|
operator: string;
|
|
2512
|
+
attribute: string;
|
|
2681
2513
|
id?: string | undefined;
|
|
2682
2514
|
required?: boolean | undefined;
|
|
2683
2515
|
disguised?: boolean | undefined;
|
|
2684
2516
|
field_type?: string | undefined;
|
|
2685
2517
|
}[];
|
|
2686
|
-
is_automatic: string;
|
|
2687
2518
|
application_method: {
|
|
2688
2519
|
value: string | number;
|
|
2689
2520
|
type: "fixed" | "percentage";
|
|
2521
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2690
2522
|
allocation: "each" | "across" | "once";
|
|
2691
2523
|
target_rules: {
|
|
2692
2524
|
values: string | number | string[];
|
|
2693
|
-
attribute: string;
|
|
2694
2525
|
operator: string;
|
|
2526
|
+
attribute: string;
|
|
2695
2527
|
id?: string | undefined;
|
|
2696
2528
|
required?: boolean | undefined;
|
|
2697
2529
|
disguised?: boolean | undefined;
|
|
@@ -2699,56 +2531,56 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2699
2531
|
}[];
|
|
2700
2532
|
buy_rules: {
|
|
2701
2533
|
values: string | number | string[];
|
|
2702
|
-
attribute: string;
|
|
2703
2534
|
operator: string;
|
|
2535
|
+
attribute: string;
|
|
2704
2536
|
id?: string | undefined;
|
|
2705
2537
|
required?: boolean | undefined;
|
|
2706
2538
|
disguised?: boolean | undefined;
|
|
2707
2539
|
field_type?: string | undefined;
|
|
2708
2540
|
}[];
|
|
2709
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2710
2541
|
currency_code?: string | undefined;
|
|
2711
2542
|
max_quantity?: number | null | undefined;
|
|
2712
2543
|
};
|
|
2544
|
+
is_automatic: string;
|
|
2545
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2713
2546
|
campaign?: {
|
|
2714
2547
|
name: string;
|
|
2715
2548
|
campaign_identifier: string;
|
|
2716
2549
|
budget: {
|
|
2717
|
-
type: "
|
|
2550
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2551
|
+
currency_code?: string | null | undefined;
|
|
2718
2552
|
limit?: number | null | undefined;
|
|
2719
2553
|
attribute?: string | null | undefined;
|
|
2720
|
-
currency_code?: string | null | undefined;
|
|
2721
2554
|
};
|
|
2722
2555
|
starts_at: Date | null;
|
|
2723
2556
|
ends_at: Date | null;
|
|
2724
2557
|
description?: string | undefined;
|
|
2725
2558
|
} | undefined;
|
|
2726
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2727
2559
|
campaign_id?: string | undefined;
|
|
2728
2560
|
template_id?: string | undefined;
|
|
2729
|
-
campaign_choice?: "
|
|
2561
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2730
2562
|
}>, {
|
|
2731
2563
|
code: string;
|
|
2732
2564
|
status: "draft" | "active" | "inactive";
|
|
2733
2565
|
type: "standard" | "buyget";
|
|
2734
2566
|
rules: {
|
|
2735
2567
|
values: string | number | string[];
|
|
2736
|
-
attribute: string;
|
|
2737
2568
|
operator: string;
|
|
2569
|
+
attribute: string;
|
|
2738
2570
|
id?: string | undefined;
|
|
2739
2571
|
required?: boolean | undefined;
|
|
2740
2572
|
disguised?: boolean | undefined;
|
|
2741
2573
|
field_type?: string | undefined;
|
|
2742
2574
|
}[];
|
|
2743
|
-
is_automatic: string;
|
|
2744
2575
|
application_method: {
|
|
2745
2576
|
value: string | number;
|
|
2746
2577
|
type: "fixed" | "percentage";
|
|
2578
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2747
2579
|
allocation: "each" | "across" | "once";
|
|
2748
2580
|
target_rules: {
|
|
2749
2581
|
values: string | number | string[];
|
|
2750
|
-
attribute: string;
|
|
2751
2582
|
operator: string;
|
|
2583
|
+
attribute: string;
|
|
2752
2584
|
id?: string | undefined;
|
|
2753
2585
|
required?: boolean | undefined;
|
|
2754
2586
|
disguised?: boolean | undefined;
|
|
@@ -2756,56 +2588,56 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2756
2588
|
}[];
|
|
2757
2589
|
buy_rules: {
|
|
2758
2590
|
values: string | number | string[];
|
|
2759
|
-
attribute: string;
|
|
2760
2591
|
operator: string;
|
|
2592
|
+
attribute: string;
|
|
2761
2593
|
id?: string | undefined;
|
|
2762
2594
|
required?: boolean | undefined;
|
|
2763
2595
|
disguised?: boolean | undefined;
|
|
2764
2596
|
field_type?: string | undefined;
|
|
2765
2597
|
}[];
|
|
2766
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2767
2598
|
currency_code?: string | undefined;
|
|
2768
2599
|
max_quantity?: number | null | undefined;
|
|
2769
2600
|
};
|
|
2601
|
+
is_automatic: string;
|
|
2602
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2770
2603
|
campaign?: {
|
|
2771
2604
|
name: string;
|
|
2772
2605
|
campaign_identifier: string;
|
|
2773
2606
|
budget: {
|
|
2774
|
-
type: "
|
|
2607
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2608
|
+
currency_code?: string | null | undefined;
|
|
2775
2609
|
limit?: number | null | undefined;
|
|
2776
2610
|
attribute?: string | null | undefined;
|
|
2777
|
-
currency_code?: string | null | undefined;
|
|
2778
2611
|
};
|
|
2779
2612
|
starts_at: Date | null;
|
|
2780
2613
|
ends_at: Date | null;
|
|
2781
2614
|
description?: string | undefined;
|
|
2782
2615
|
} | undefined;
|
|
2783
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2784
2616
|
campaign_id?: string | undefined;
|
|
2785
2617
|
template_id?: string | undefined;
|
|
2786
|
-
campaign_choice?: "
|
|
2618
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2787
2619
|
}, {
|
|
2788
2620
|
code: string;
|
|
2789
2621
|
status: "draft" | "active" | "inactive";
|
|
2790
2622
|
type: "standard" | "buyget";
|
|
2791
2623
|
rules: {
|
|
2792
2624
|
values: string | number | string[];
|
|
2793
|
-
attribute: string;
|
|
2794
2625
|
operator: string;
|
|
2626
|
+
attribute: string;
|
|
2795
2627
|
id?: string | undefined;
|
|
2796
2628
|
required?: boolean | undefined;
|
|
2797
2629
|
disguised?: boolean | undefined;
|
|
2798
2630
|
field_type?: string | undefined;
|
|
2799
2631
|
}[];
|
|
2800
|
-
is_automatic: string;
|
|
2801
2632
|
application_method: {
|
|
2802
2633
|
value: string | number;
|
|
2803
2634
|
type: "fixed" | "percentage";
|
|
2635
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2804
2636
|
allocation: "each" | "across" | "once";
|
|
2805
2637
|
target_rules: {
|
|
2806
2638
|
values: string | number | string[];
|
|
2807
|
-
attribute: string;
|
|
2808
2639
|
operator: string;
|
|
2640
|
+
attribute: string;
|
|
2809
2641
|
id?: string | undefined;
|
|
2810
2642
|
required?: boolean | undefined;
|
|
2811
2643
|
disguised?: boolean | undefined;
|
|
@@ -2813,34 +2645,34 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2813
2645
|
}[];
|
|
2814
2646
|
buy_rules: {
|
|
2815
2647
|
values: string | number | string[];
|
|
2816
|
-
attribute: string;
|
|
2817
2648
|
operator: string;
|
|
2649
|
+
attribute: string;
|
|
2818
2650
|
id?: string | undefined;
|
|
2819
2651
|
required?: boolean | undefined;
|
|
2820
2652
|
disguised?: boolean | undefined;
|
|
2821
2653
|
field_type?: string | undefined;
|
|
2822
2654
|
}[];
|
|
2823
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2824
2655
|
currency_code?: string | undefined;
|
|
2825
2656
|
max_quantity?: number | null | undefined;
|
|
2826
2657
|
};
|
|
2658
|
+
is_automatic: string;
|
|
2659
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2827
2660
|
campaign?: {
|
|
2828
2661
|
name: string;
|
|
2829
2662
|
campaign_identifier: string;
|
|
2830
2663
|
budget: {
|
|
2831
|
-
type: "
|
|
2664
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2665
|
+
currency_code?: string | null | undefined;
|
|
2832
2666
|
limit?: number | null | undefined;
|
|
2833
2667
|
attribute?: string | null | undefined;
|
|
2834
|
-
currency_code?: string | null | undefined;
|
|
2835
2668
|
};
|
|
2836
2669
|
starts_at: Date | null;
|
|
2837
2670
|
ends_at: Date | null;
|
|
2838
2671
|
description?: string | undefined;
|
|
2839
2672
|
} | undefined;
|
|
2840
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2841
2673
|
campaign_id?: string | undefined;
|
|
2842
2674
|
template_id?: string | undefined;
|
|
2843
|
-
campaign_choice?: "
|
|
2675
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2844
2676
|
}>;
|
|
2845
2677
|
type CreatePromotionSchemaType = z.infer<typeof CreatePromotionSchema>;
|
|
2846
2678
|
|
|
@@ -2863,22 +2695,22 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2863
2695
|
type: "standard" | "buyget";
|
|
2864
2696
|
rules: {
|
|
2865
2697
|
values: string | number | string[];
|
|
2866
|
-
attribute: string;
|
|
2867
2698
|
operator: string;
|
|
2699
|
+
attribute: string;
|
|
2868
2700
|
id?: string | undefined;
|
|
2869
2701
|
required?: boolean | undefined;
|
|
2870
2702
|
disguised?: boolean | undefined;
|
|
2871
2703
|
field_type?: string | undefined;
|
|
2872
2704
|
}[];
|
|
2873
|
-
is_automatic: string;
|
|
2874
2705
|
application_method: {
|
|
2875
2706
|
value: string | number;
|
|
2876
2707
|
type: "fixed" | "percentage";
|
|
2708
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2877
2709
|
allocation: "each" | "across" | "once";
|
|
2878
2710
|
target_rules: {
|
|
2879
2711
|
values: string | number | string[];
|
|
2880
|
-
attribute: string;
|
|
2881
2712
|
operator: string;
|
|
2713
|
+
attribute: string;
|
|
2882
2714
|
id?: string | undefined;
|
|
2883
2715
|
required?: boolean | undefined;
|
|
2884
2716
|
disguised?: boolean | undefined;
|
|
@@ -2886,34 +2718,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2886
2718
|
}[];
|
|
2887
2719
|
buy_rules: {
|
|
2888
2720
|
values: string | number | string[];
|
|
2889
|
-
attribute: string;
|
|
2890
2721
|
operator: string;
|
|
2722
|
+
attribute: string;
|
|
2891
2723
|
id?: string | undefined;
|
|
2892
2724
|
required?: boolean | undefined;
|
|
2893
2725
|
disguised?: boolean | undefined;
|
|
2894
2726
|
field_type?: string | undefined;
|
|
2895
2727
|
}[];
|
|
2896
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2897
2728
|
currency_code?: string | undefined;
|
|
2898
2729
|
max_quantity?: number | null | undefined;
|
|
2899
2730
|
};
|
|
2731
|
+
is_automatic: string;
|
|
2732
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2900
2733
|
campaign?: {
|
|
2901
2734
|
name: string;
|
|
2902
2735
|
campaign_identifier: string;
|
|
2903
2736
|
budget: {
|
|
2904
|
-
type: "
|
|
2737
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2738
|
+
currency_code?: string | null | undefined;
|
|
2905
2739
|
limit?: number | null | undefined;
|
|
2906
2740
|
attribute?: string | null | undefined;
|
|
2907
|
-
currency_code?: string | null | undefined;
|
|
2908
2741
|
};
|
|
2909
2742
|
starts_at: Date | null;
|
|
2910
2743
|
ends_at: Date | null;
|
|
2911
2744
|
description?: string | undefined;
|
|
2912
2745
|
} | undefined;
|
|
2913
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2914
2746
|
campaign_id?: string | undefined;
|
|
2915
2747
|
template_id?: string | undefined;
|
|
2916
|
-
campaign_choice?: "
|
|
2748
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2917
2749
|
}>;
|
|
2918
2750
|
};
|
|
2919
2751
|
DetailsTab: {
|
|
@@ -2930,22 +2762,22 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2930
2762
|
type: "standard" | "buyget";
|
|
2931
2763
|
rules: {
|
|
2932
2764
|
values: string | number | string[];
|
|
2933
|
-
attribute: string;
|
|
2934
2765
|
operator: string;
|
|
2766
|
+
attribute: string;
|
|
2935
2767
|
id?: string | undefined;
|
|
2936
2768
|
required?: boolean | undefined;
|
|
2937
2769
|
disguised?: boolean | undefined;
|
|
2938
2770
|
field_type?: string | undefined;
|
|
2939
2771
|
}[];
|
|
2940
|
-
is_automatic: string;
|
|
2941
2772
|
application_method: {
|
|
2942
2773
|
value: string | number;
|
|
2943
2774
|
type: "fixed" | "percentage";
|
|
2775
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2944
2776
|
allocation: "each" | "across" | "once";
|
|
2945
2777
|
target_rules: {
|
|
2946
2778
|
values: string | number | string[];
|
|
2947
|
-
attribute: string;
|
|
2948
2779
|
operator: string;
|
|
2780
|
+
attribute: string;
|
|
2949
2781
|
id?: string | undefined;
|
|
2950
2782
|
required?: boolean | undefined;
|
|
2951
2783
|
disguised?: boolean | undefined;
|
|
@@ -2953,34 +2785,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2953
2785
|
}[];
|
|
2954
2786
|
buy_rules: {
|
|
2955
2787
|
values: string | number | string[];
|
|
2956
|
-
attribute: string;
|
|
2957
2788
|
operator: string;
|
|
2789
|
+
attribute: string;
|
|
2958
2790
|
id?: string | undefined;
|
|
2959
2791
|
required?: boolean | undefined;
|
|
2960
2792
|
disguised?: boolean | undefined;
|
|
2961
2793
|
field_type?: string | undefined;
|
|
2962
2794
|
}[];
|
|
2963
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2964
2795
|
currency_code?: string | undefined;
|
|
2965
2796
|
max_quantity?: number | null | undefined;
|
|
2966
2797
|
};
|
|
2798
|
+
is_automatic: string;
|
|
2799
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2967
2800
|
campaign?: {
|
|
2968
2801
|
name: string;
|
|
2969
2802
|
campaign_identifier: string;
|
|
2970
2803
|
budget: {
|
|
2971
|
-
type: "
|
|
2804
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2805
|
+
currency_code?: string | null | undefined;
|
|
2972
2806
|
limit?: number | null | undefined;
|
|
2973
2807
|
attribute?: string | null | undefined;
|
|
2974
|
-
currency_code?: string | null | undefined;
|
|
2975
2808
|
};
|
|
2976
2809
|
starts_at: Date | null;
|
|
2977
2810
|
ends_at: Date | null;
|
|
2978
2811
|
description?: string | undefined;
|
|
2979
2812
|
} | undefined;
|
|
2980
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2981
2813
|
campaign_id?: string | undefined;
|
|
2982
2814
|
template_id?: string | undefined;
|
|
2983
|
-
campaign_choice?: "
|
|
2815
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2984
2816
|
}>;
|
|
2985
2817
|
};
|
|
2986
2818
|
CampaignTab: {
|
|
@@ -2991,22 +2823,22 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2991
2823
|
type: "standard" | "buyget";
|
|
2992
2824
|
rules: {
|
|
2993
2825
|
values: string | number | string[];
|
|
2994
|
-
attribute: string;
|
|
2995
2826
|
operator: string;
|
|
2827
|
+
attribute: string;
|
|
2996
2828
|
id?: string | undefined;
|
|
2997
2829
|
required?: boolean | undefined;
|
|
2998
2830
|
disguised?: boolean | undefined;
|
|
2999
2831
|
field_type?: string | undefined;
|
|
3000
2832
|
}[];
|
|
3001
|
-
is_automatic: string;
|
|
3002
2833
|
application_method: {
|
|
3003
2834
|
value: string | number;
|
|
3004
2835
|
type: "fixed" | "percentage";
|
|
2836
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
3005
2837
|
allocation: "each" | "across" | "once";
|
|
3006
2838
|
target_rules: {
|
|
3007
2839
|
values: string | number | string[];
|
|
3008
|
-
attribute: string;
|
|
3009
2840
|
operator: string;
|
|
2841
|
+
attribute: string;
|
|
3010
2842
|
id?: string | undefined;
|
|
3011
2843
|
required?: boolean | undefined;
|
|
3012
2844
|
disguised?: boolean | undefined;
|
|
@@ -3014,34 +2846,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
3014
2846
|
}[];
|
|
3015
2847
|
buy_rules: {
|
|
3016
2848
|
values: string | number | string[];
|
|
3017
|
-
attribute: string;
|
|
3018
2849
|
operator: string;
|
|
2850
|
+
attribute: string;
|
|
3019
2851
|
id?: string | undefined;
|
|
3020
2852
|
required?: boolean | undefined;
|
|
3021
2853
|
disguised?: boolean | undefined;
|
|
3022
2854
|
field_type?: string | undefined;
|
|
3023
2855
|
}[];
|
|
3024
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
3025
2856
|
currency_code?: string | undefined;
|
|
3026
2857
|
max_quantity?: number | null | undefined;
|
|
3027
2858
|
};
|
|
2859
|
+
is_automatic: string;
|
|
2860
|
+
is_tax_inclusive?: boolean | undefined;
|
|
3028
2861
|
campaign?: {
|
|
3029
2862
|
name: string;
|
|
3030
2863
|
campaign_identifier: string;
|
|
3031
2864
|
budget: {
|
|
3032
|
-
type: "
|
|
2865
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2866
|
+
currency_code?: string | null | undefined;
|
|
3033
2867
|
limit?: number | null | undefined;
|
|
3034
2868
|
attribute?: string | null | undefined;
|
|
3035
|
-
currency_code?: string | null | undefined;
|
|
3036
2869
|
};
|
|
3037
2870
|
starts_at: Date | null;
|
|
3038
2871
|
ends_at: Date | null;
|
|
3039
2872
|
description?: string | undefined;
|
|
3040
2873
|
} | undefined;
|
|
3041
|
-
is_tax_inclusive?: boolean | undefined;
|
|
3042
2874
|
campaign_id?: string | undefined;
|
|
3043
2875
|
template_id?: string | undefined;
|
|
3044
|
-
campaign_choice?: "
|
|
2876
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
3045
2877
|
}>;
|
|
3046
2878
|
};
|
|
3047
2879
|
Tab: ({ children, }: {
|
|
@@ -3180,42 +3012,39 @@ declare const StoreDetailPage: (({ children }: {
|
|
|
3180
3012
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
3181
3013
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
3182
3014
|
MainGeneralSection: ({ seller, children, }: {
|
|
3183
|
-
seller:
|
|
3015
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3184
3016
|
children?: ReactNode;
|
|
3185
3017
|
}) => react_jsx_runtime.JSX.Element;
|
|
3186
3018
|
MainConfigurationSection: ({ seller, }: {
|
|
3187
|
-
seller:
|
|
3019
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3188
3020
|
}) => react_jsx_runtime.JSX.Element;
|
|
3189
3021
|
MainPaymentDetailsSection: ({ seller, }: {
|
|
3190
|
-
seller:
|
|
3022
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3191
3023
|
}) => react_jsx_runtime.JSX.Element;
|
|
3192
3024
|
MainCompanyDetailsSection: ({ seller, }: {
|
|
3193
|
-
seller:
|
|
3025
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3194
3026
|
}) => react_jsx_runtime.JSX.Element;
|
|
3195
3027
|
SidebarAddressSection: ({ seller }: {
|
|
3196
|
-
seller:
|
|
3028
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3197
3029
|
}) => react_jsx_runtime.JSX.Element;
|
|
3198
|
-
SidebarSubscriptionSection: ({ seller, }: {
|
|
3199
|
-
seller: any;
|
|
3200
|
-
}) => react_jsx_runtime.JSX.Element | null;
|
|
3201
3030
|
SidebarMembersSection: ({ sellerId }: {
|
|
3202
3031
|
sellerId: string;
|
|
3203
3032
|
}) => react_jsx_runtime.JSX.Element;
|
|
3204
3033
|
Header: ({ seller, children, }: {
|
|
3205
|
-
seller:
|
|
3034
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3206
3035
|
} & {
|
|
3207
3036
|
children?: ReactNode;
|
|
3208
3037
|
}) => react_jsx_runtime.JSX.Element;
|
|
3209
3038
|
HeaderTitle: ({ seller }: {
|
|
3210
|
-
seller:
|
|
3039
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3211
3040
|
}) => react_jsx_runtime.JSX.Element;
|
|
3212
3041
|
HeaderActions: ({ seller, children, }: {
|
|
3213
|
-
seller:
|
|
3042
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3214
3043
|
} & {
|
|
3215
3044
|
children?: ReactNode;
|
|
3216
3045
|
}) => react_jsx_runtime.JSX.Element;
|
|
3217
3046
|
HeaderEditButton: ({ seller }: {
|
|
3218
|
-
seller:
|
|
3047
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3219
3048
|
}) => react_jsx_runtime.JSX.Element;
|
|
3220
3049
|
};
|
|
3221
3050
|
|
|
@@ -3343,4 +3172,4 @@ declare const UserDetailPage: (({ children }: {
|
|
|
3343
3172
|
}) => react_jsx_runtime.JSX.Element;
|
|
3344
3173
|
};
|
|
3345
3174
|
|
|
3346
|
-
export { ApiKeyManagementDetailPage, ApiKeyManagementListPage, CampaignDetailPage, CampaignListPage, CategoryCreatePage, CategoryDetailPage, CategoryListPage, CollectionDetailPage, CollectionListPage,
|
|
3175
|
+
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 };
|