@mercurjs/admin 2.1.2 → 2.2.0-canary.2
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/[id]-YI7UXOO2.js +499 -0
- package/dist/{add-campaign-promotions-6Z2STQT4.js → add-campaign-promotions-OLNTDP26.js} +14 -16
- package/dist/{adjust-inventory-NVBPZYOF.js → adjust-inventory-CVWSBMHU.js} +13 -12
- package/dist/{api-key-management-create-THDCXGWK.js → api-key-management-create-7RWOCVAO.js} +3 -3
- package/dist/{api-key-management-detail-IRYR6J2I.js → api-key-management-detail-ZIIDMHFI.js} +24 -23
- package/dist/{api-key-management-edit-LTVNXP6T.js → api-key-management-edit-ACH6TJAX.js} +3 -3
- package/dist/{api-key-management-list-4WCDP4B3.js → api-key-management-list-JHBBXGHH.js} +11 -13
- package/dist/{api-key-management-sales-channels-NVFG2ESH.js → api-key-management-sales-channels-XEBTUB5V.js} +15 -15
- package/dist/attribute-create-2PNEX4PM.js +562 -0
- package/dist/attribute-create-possible-value-EXVHC272.js +476 -0
- package/dist/{attribute-detail-R26GDX7Q.js → attribute-detail-3QBRIF6Q.js} +74 -64
- package/dist/attribute-edit-5G7P3LP2.js +183 -0
- package/dist/attribute-edit-possible-value-VQ7MEFZA.js +164 -0
- package/dist/{attribute-edit-ranking-CEBR5LJ7.js → attribute-edit-ranking-7AAAYEC7.js} +66 -61
- package/dist/{attribute-list-XR7OSL2H.js → attribute-list-OHU2QMUG.js} +24 -26
- package/dist/{campaign-create-AZTR5UZP.js → campaign-create-VFFIIRE4.js} +4 -4
- package/dist/{campaign-detail-TCPO6DTI.js → campaign-detail-AZKBPDLC.js} +27 -28
- package/dist/{campaign-list-DCLVAFEM.js → campaign-list-NQGNOFVZ.js} +10 -12
- package/dist/{categories-metadata-YVUNHMQT.js → categories-metadata-YZUP43OH.js} +17 -16
- package/dist/{category-create-DG3Z5RYE.js → category-create-2MRYTSYM.js} +4 -4
- package/dist/{category-detail-K2UNFPRV.js → category-detail-PBGZSZRK.js} +29 -28
- package/dist/{category-edit-IXU6E3YT.js → category-edit-QLOS2LBA.js} +5 -5
- package/dist/{category-list-2MG37UXJ.js → category-list-U7ZQBSZN.js} +11 -13
- package/dist/{category-organize-CCX2INRS.js → category-organize-TIKTYJFZ.js} +2 -2
- package/dist/{category-products-LKT7564A.js → category-products-4V2CKLVW.js} +30 -29
- package/dist/{chunk-6YGOXPB5.js → chunk-2LQ5SCPB.js} +5 -5
- package/dist/{chunk-X3YEY2PY.js → chunk-2S6VXFBZ.js} +8 -8
- package/dist/{chunk-5CK6XEFV.js → chunk-2YYXP6XI.js} +183 -111
- package/dist/{chunk-GAD5DQOY.js → chunk-3EDQIZV6.js} +2 -2
- package/dist/{chunk-4IZ2RD3L.js → chunk-3IVTUFBM.js} +8 -8
- package/dist/{chunk-7YHAFHGI.js → chunk-3JSAS7QP.js} +92 -165
- package/dist/{chunk-DVKO4VRC.js → chunk-3P4VTL4S.js} +12 -12
- package/dist/{chunk-GJPGL7RP.js → chunk-3VTAK3S6.js} +108 -28
- package/dist/{chunk-C3WE6EFO.js → chunk-4YWKKCTT.js} +1 -2
- package/dist/chunk-533GMKEG.js +125 -0
- package/dist/{chunk-AEFDAU3Y.js → chunk-5KGMGL4N.js} +4 -24
- package/dist/{chunk-LNAXUDW2.js → chunk-5POK3PM3.js} +64 -62
- package/dist/{chunk-VGM5UQRA.js → chunk-637OFDFC.js} +809 -306
- package/dist/{chunk-JCSPXBS3.js → chunk-6FIU2V6Y.js} +1 -1
- package/dist/{chunk-B6SYYKJI.js → chunk-6GWCDARX.js} +13 -13
- package/dist/{chunk-CXO3C3L2.js → chunk-6LZAVEHW.js} +11 -11
- package/dist/{chunk-SJQG3RCN.js → chunk-6MJ6ZSJF.js} +19 -19
- package/dist/{chunk-B6FG7A6W.js → chunk-A772RAKB.js} +1 -1
- package/dist/{chunk-35Q6JF3S.js → chunk-A7JOHU6Q.js} +4 -4
- package/dist/{chunk-N57BOIPU.js → chunk-AB2LHP3M.js} +1 -1
- package/dist/{chunk-HY3CV5V6.js → chunk-AKTAFKIU.js} +4 -4
- package/dist/{chunk-N23OD7WS.js → chunk-ALATTLBM.js} +7 -7
- package/dist/{chunk-PBQ5M44A.js → chunk-AXTQMIIK.js} +13 -30
- package/dist/{chunk-TAKEQAZZ.js → chunk-B3EEDC47.js} +2 -2
- package/dist/{chunk-3IBSB2U6.js → chunk-BAYORQYD.js} +14 -14
- package/dist/{chunk-EWMEXGFZ.js → chunk-BCVUMATY.js} +18 -18
- package/dist/{chunk-34I4QIBD.js → chunk-BE6JLTMI.js} +1 -1
- package/dist/{chunk-NHAOR25V.js → chunk-BECQJZQ4.js} +20 -20
- package/dist/{chunk-V7EPLR3E.js → chunk-BFT3CN5L.js} +10 -10
- package/dist/{chunk-O5YFLNSQ.js → chunk-BGGUVHDG.js} +27 -27
- package/dist/{chunk-HGULM6DF.js → chunk-BGQ7H2KL.js} +10 -10
- package/dist/{chunk-3DOCALSU.js → chunk-BHOZKBYY.js} +395 -11
- package/dist/{chunk-KHHMQM2L.js → chunk-BLYJZMNE.js} +5 -5
- package/dist/{chunk-HO7Z6MC3.js → chunk-BVZAGCTV.js} +33 -33
- package/dist/{chunk-5ZBQICCP.js → chunk-CBGXKU7Z.js} +18 -18
- package/dist/{chunk-LFATSJPO.js → chunk-CKACZXMP.js} +9 -9
- package/dist/{chunk-GXRLLA5H.js → chunk-CKD5563X.js} +4 -4
- package/dist/{chunk-E3DLJSYD.js → chunk-COP7NFSJ.js} +1 -1
- package/dist/{chunk-ABUQBBEM.js → chunk-CVFVEDMV.js} +4 -4
- package/dist/{chunk-F67RRVMJ.js → chunk-DKMBAZ5P.js} +13 -13
- package/dist/{chunk-UEEYZGM3.js → chunk-DRJAKRTI.js} +46 -17
- package/dist/{chunk-ZZO3INVE.js → chunk-DZIXC7OE.js} +1428 -1325
- package/dist/{chunk-NEN6KWAJ.js → chunk-ED7XNGZD.js} +12 -12
- package/dist/{chunk-W576GZBG.js → chunk-EJTB2SLE.js} +9 -9
- package/dist/chunk-EREXPX6I.js +348 -0
- package/dist/{chunk-MNYDJXTM.js → chunk-FB7DDNCA.js} +5 -5
- package/dist/{chunk-GZBVMHXS.js → chunk-FFNSWUDC.js} +10 -10
- package/dist/{chunk-YKDEE7ZL.js → chunk-FTAR3BDS.js} +1 -1
- package/dist/{chunk-2OYCT5NO.js → chunk-G4PROEJI.js} +5 -5
- package/dist/{chunk-AZAGUAN4.js → chunk-GJ6WPZQG.js} +15 -15
- package/dist/{chunk-OQMBWJPH.js → chunk-GKW445WA.js} +1 -1
- package/dist/{chunk-3IN6MMKV.js → chunk-GNLPUGYK.js} +2 -2
- package/dist/chunk-H5EOOXPA.js +61 -0
- package/dist/{chunk-Z2QQZOG3.js → chunk-H5PYBIOZ.js} +1 -1
- package/dist/chunk-HDRFPI6V.js +1671 -0
- package/dist/{chunk-NRJ7F7JW.js → chunk-HLPCO2OQ.js} +14 -14
- package/dist/{chunk-63OSYRLS.js → chunk-HR7TFO2X.js} +4 -4
- package/dist/chunk-HRGC5JHU.js +2355 -0
- package/dist/{chunk-4Q7LZQVY.js → chunk-IAWZQKUH.js} +10 -10
- package/dist/{chunk-2U5BRCQO.js → chunk-IEPNHH7Z.js} +1 -1
- package/dist/chunk-IIFQ7KYL.js +171 -0
- package/dist/{chunk-HNUA6XIW.js → chunk-IRTI3AS3.js} +14 -14
- package/dist/chunk-J65IXAGI.js +292 -0
- package/dist/{chunk-VIGX66F7.js → chunk-JQBSPUH2.js} +1 -1
- package/dist/{chunk-4ZN3D4YS.js → chunk-K4TGNN4P.js} +9 -9
- package/dist/{chunk-R46PKJUT.js → chunk-KXIA66EJ.js} +13 -13
- package/dist/{chunk-VVWB3GIK.js → chunk-LYZDVZWA.js} +3 -12
- package/dist/{chunk-J24X54DB.js → chunk-MVNO35S5.js} +7 -7
- package/dist/{chunk-PIZ7FN3L.js → chunk-N2LH7A4X.js} +9 -9
- package/dist/chunk-N7KTSXS5.js +101 -0
- package/dist/{chunk-SPIVEW2Y.js → chunk-NQBSSM5V.js} +8 -8
- package/dist/{chunk-HKDFWQ6Q.js → chunk-NQEXDLYH.js} +460 -2
- package/dist/{chunk-M73MP4NC.js → chunk-NXLOYMWF.js} +19 -19
- package/dist/{chunk-DBNPVU3L.js → chunk-OSEIN4Y2.js} +1 -1
- package/dist/{chunk-XBHUWCBD.js → chunk-P25PIADJ.js} +1 -1
- package/dist/{chunk-32OKBVER.js → chunk-PQI4UJ6F.js} +5 -5
- package/dist/{chunk-WRRMBJBQ.js → chunk-PXTJJQKJ.js} +1 -1
- package/dist/chunk-PYDRHQTY.js +24 -0
- package/dist/chunk-Q2QFNTNX.js +165 -0
- package/dist/{chunk-ORI7UXS6.js → chunk-Q6I2IKJB.js} +6 -6
- package/dist/{chunk-XB3HXEZB.js → chunk-QABGBGAE.js} +77 -72
- package/dist/{chunk-X4DGVTMC.js → chunk-QIU6DJY6.js} +5 -5
- package/dist/chunk-RQ4NMLSS.js +8 -0
- package/dist/{chunk-7QWLLYOY.js → chunk-RQPDD3RI.js} +1 -1
- package/dist/{chunk-DL2ZIXBO.js → chunk-S5BJ5CMF.js} +1 -1
- package/dist/chunk-S72BD7TM.js +79 -0
- package/dist/{chunk-3ZSYFPHB.js → chunk-SRDK3XX7.js} +20 -20
- package/dist/chunk-TIMU6K63.js +207 -0
- package/dist/{chunk-WIQ2HBJG.js → chunk-TITPJHIL.js} +13 -13
- package/dist/{chunk-SOJ4TLWP.js → chunk-TP7L6M7V.js} +5 -5
- package/dist/{chunk-7XXM72CF.js → chunk-TTERSO37.js} +62 -89
- package/dist/{chunk-ARMGWHYU.js → chunk-U7AZOXPV.js} +16 -16
- package/dist/{chunk-OG4WH7IW.js → chunk-U7XILJH6.js} +35 -32
- package/dist/{chunk-7MTFPHXR.js → chunk-UPNMDPFX.js} +6 -6
- package/dist/{chunk-5OS2MBRB.js → chunk-UXQAHUGZ.js} +8 -8
- package/dist/chunk-V5XHY5LP.js +39 -0
- package/dist/{chunk-YEUUI6JF.js → chunk-WDH5C2NS.js} +1 -1
- package/dist/{chunk-BEU674HI.js → chunk-WKCYMDTV.js} +5 -5
- package/dist/{chunk-6MJ5HPIP.js → chunk-WS63IRBI.js} +3 -3
- package/dist/chunk-WV4SQ57G.js +141 -0
- package/dist/{chunk-Y3FXVIJO.js → chunk-WVKVPGJW.js} +4 -4
- package/dist/{chunk-GDHF6CT5.js → chunk-X45JKZYW.js} +11 -11
- package/dist/{chunk-CIH5DSU7.js → chunk-XFQH5HPP.js} +11 -11
- package/dist/{chunk-GKJLFLGN.js → chunk-XJ3WC4G7.js} +4 -4
- package/dist/{chunk-4LQX5FRH.js → chunk-XODRTI2W.js} +7 -7
- package/dist/{chunk-7A5WEMNW.js → chunk-XQBPW3A4.js} +11 -11
- package/dist/{chunk-U7WZYWGA.js → chunk-XZZTC7E5.js} +1 -1
- package/dist/{chunk-33XUAKRP.js → chunk-YGAX72XV.js} +3 -1
- package/dist/{chunk-FSPZYOY6.js → chunk-YLKG7W4P.js} +4 -4
- package/dist/{chunk-SESTTUVM.js → chunk-YN3FGNJM.js} +53 -1
- package/dist/{chunk-GPKTJXGG.js → chunk-YZW5JD5A.js} +32 -32
- package/dist/{chunk-RE3AYHPM.js → chunk-ZF3WBVOB.js} +4 -4
- package/dist/{chunk-3T5S5RDO.js → chunk-ZHOI4QMK.js} +4 -4
- package/dist/{chunk-CEG375CR.js → chunk-ZSFJVRRS.js} +4 -4
- package/dist/chunk-ZZ3XFIEM.js +84 -0
- package/dist/{collection-add-products-IRYJ6U6P.js → collection-add-products-33MYCTBF.js} +30 -29
- package/dist/{collection-create-3BTRORHU.js → collection-create-HUNYHKUJ.js} +2 -2
- package/dist/{collection-detail-263PM4DL.js → collection-detail-ACN5GFHC.js} +28 -27
- package/dist/{collection-edit-L5GPFBBX.js → collection-edit-OQGYTQDO.js} +2 -2
- package/dist/{collection-list-IVPTNBSI.js → collection-list-M4MFNMXL.js} +35 -36
- package/dist/{collection-metadata-KHGPTV5C.js → collection-metadata-47N7TUOH.js} +17 -16
- package/dist/{commission-rate-create-3N6BHEGT.js → commission-rate-create-DCMGZS3D.js} +53 -53
- package/dist/{commission-rate-detail-MY3F2RHR.js → commission-rate-detail-LAZZLZVX.js} +18 -17
- package/dist/{commission-rate-edit-WZDPXLLZ.js → commission-rate-edit-VL4TUE3M.js} +53 -53
- package/dist/{commission-rate-list-JPBOTOTA.js → commission-rate-list-Y5XLEO67.js} +8 -10
- package/dist/{constants-CAwtRicB.d.ts → constants-26tEckuq.d.ts} +3 -3
- package/dist/{customer-detail-2QBJPF7S.js → customer-detail-D5SSLNFT.js} +27 -28
- package/dist/{customer-group-add-customers-JCLAH45C.js → customer-group-add-customers-VJUBEN7M.js} +13 -15
- package/dist/{customer-group-detail-BDKFWKTI.js → customer-group-detail-KRT7E2JA.js} +24 -25
- package/dist/{customer-group-list-3NEEJXQH.js → customer-group-list-KKDIESQ6.js} +24 -25
- package/dist/{customer-group-metadata-YJXZFSFG.js → customer-group-metadata-J6JY7DZ3.js} +17 -16
- package/dist/{customer-list-ZIFNZXO4.js → customer-list-MB6WZFMA.js} +11 -13
- package/dist/{customer-metadata-SG6M7X3Q.js → customer-metadata-AH2LBK4T.js} +17 -16
- package/dist/{customers-add-customer-group-OQIFQZBL.js → customers-add-customer-group-AHGAPEIS.js} +27 -28
- package/dist/{edit-inventory-item-TDG2ZTPM.js → edit-inventory-item-ADNLKLCN.js} +13 -12
- package/dist/{edit-inventory-item-attributes-T56PJTCT.js → edit-inventory-item-attributes-XVR2WLDU.js} +13 -12
- package/dist/{edit-reservation-T6SKOG2F.js → edit-reservation-HQQL42QX.js} +7 -7
- package/dist/{edit-rules-4AHZQGCX.js → edit-rules-YMKM5JPI.js} +17 -15
- package/dist/index.d.ts +2 -2
- package/dist/index.js +824 -598
- package/dist/{inventory-create-P26OGAHD.js → inventory-create-IVESXFSV.js} +19 -18
- package/dist/{inventory-detail-7W7UUWNT.js → inventory-detail-TINIAFVB.js} +26 -27
- package/dist/{inventory-list-PA4B4RWY.js → inventory-list-YLIAKQXI.js} +10 -12
- package/dist/{inventory-metadata-LUGA3KNV.js → inventory-metadata-6INRH2JC.js} +17 -16
- package/dist/{inventory-stock-UZSYXXPX.js → inventory-stock-6YGTATID.js} +21 -20
- package/dist/loader-6KDBTRVR.js +26 -0
- package/dist/{location-detail-RUC2ZP3K.js → location-detail-EK2S7WOK.js} +22 -21
- package/dist/{location-fulfillment-providers-WDET6TJP.js → location-fulfillment-providers-V26OWDAI.js} +36 -36
- package/dist/{location-list-R7EECG5Z.js → location-list-IV323QW2.js} +19 -19
- package/dist/{location-sales-channels-IS6E3I4S.js → location-sales-channels-EYUXMTW7.js} +12 -12
- package/dist/{location-service-zone-create-HAQVVTKP.js → location-service-zone-create-ZS3UWJAA.js} +8 -11
- package/dist/{location-service-zone-manage-areas-5LCENMAM.js → location-service-zone-manage-areas-S7QZTIFT.js} +8 -11
- package/dist/{location-service-zone-shipping-option-create-FV5Y2PNB.js → location-service-zone-shipping-option-create-36JZFRGY.js} +23 -21
- package/dist/{location-service-zone-shipping-option-edit-PLEDWIY3.js → location-service-zone-shipping-option-edit-3PGSNKYT.js} +8 -7
- package/dist/{location-service-zone-shipping-option-pricing-6QHLZ6IN.js → location-service-zone-shipping-option-pricing-JLGCOZGS.js} +8 -8
- package/dist/{login-EWHQY6G3.js → login-6L3RMREO.js} +13 -12
- package/dist/{manage-locations-TU5HCIKG.js → manage-locations-CFTM6DNH.js} +1 -1
- package/dist/{marketplace-add-currencies-PB73MHM6.js → marketplace-add-currencies-6ANNBGZM.js} +8 -10
- package/dist/{marketplace-detail-3KFGJWQ7.js → marketplace-detail-BAU2MEJT.js} +22 -23
- package/dist/{marketplace-edit-U5B6WA56.js → marketplace-edit-6Q3G2OY5.js} +5 -4
- package/dist/{marketplace-metadata-VYCPYFJD.js → marketplace-metadata-KRCGKOCA.js} +17 -16
- package/dist/offers-J2SFSNF3.js +440 -0
- package/dist/{order-allocate-items-2B6T5JCK.js → order-allocate-items-DJ2V4B7A.js} +11 -11
- package/dist/{order-create-claim-R2SX6YUS.js → order-create-claim-RMDDCUZ6.js} +27 -61
- package/dist/{order-create-edit-G35PDCQ2.js → order-create-edit-PQ54JFZZ.js} +24 -58
- package/dist/{order-create-exchange-7KKMJHXE.js → order-create-exchange-T6DBVS75.js} +41 -48
- package/dist/{order-create-fulfillment-2FTTWTFE.js → order-create-fulfillment-SMSUJSBN.js} +22 -20
- package/dist/{order-create-refund-KWYYLAED.js → order-create-refund-OW3MIXBY.js} +17 -16
- package/dist/{order-create-return-BQFRANNG.js → order-create-return-YCX6C3VP.js} +25 -27
- package/dist/{order-create-shipment-7XP6PDTD.js → order-create-shipment-5ZAWH5CZ.js} +14 -13
- package/dist/{order-detail-BITJD73H.js → order-detail-2OAEGBQG.js} +29 -30
- package/dist/{order-edit-billing-address-FLEI4VDB.js → order-edit-billing-address-VGZBQHF5.js} +15 -14
- package/dist/{order-edit-email-AZIA6X5Q.js → order-edit-email-OOCXVRET.js} +14 -13
- package/dist/{order-edit-shipping-address-GJMUSOPK.js → order-edit-shipping-address-B4F3E5RE.js} +14 -13
- package/dist/{order-list-D2SJOMZ2.js → order-list-ERQWQ6UI.js} +25 -27
- package/dist/{order-metadata-RXIJOP4V.js → order-metadata-AN6MPHHT.js} +18 -17
- package/dist/{order-receive-return-JV3X7YHG.js → order-receive-return-DZ4IUOHY.js} +20 -19
- package/dist/{order-request-transfer-6IZVCHGV.js → order-request-transfer-A2NJSQ4H.js} +16 -14
- package/dist/pages/index.d.ts +702 -566
- package/dist/pages/index.js +192 -184
- package/dist/{payout-detail-JWS2Q4TY.js → payout-detail-TWO6HN4E.js} +3 -3
- package/dist/{payout-list-PW6BFT4O.js → payout-list-7WJZFNW5.js} +9 -11
- package/dist/{price-list-configuration-N5D5OFXX.js → price-list-configuration-XAHXLCXR.js} +13 -15
- package/dist/{price-list-create-NQFC2JIJ.js → price-list-create-XCP32SJZ.js} +35 -34
- package/dist/{price-list-detail-HRVLVBPS.js → price-list-detail-26RLU4G3.js} +30 -29
- package/dist/{price-list-edit-BVVLQ5WV.js → price-list-edit-ZVLD4M5T.js} +5 -5
- package/dist/{price-list-list-K4IJFZYH.js → price-list-list-ER4TOZTY.js} +13 -15
- package/dist/{price-list-prices-add-WXEGEWRA.js → price-list-prices-add-H4E2IVBC.js} +31 -30
- package/dist/{price-list-prices-edit-KJEKS6TL.js → price-list-prices-edit-WHCIGSB2.js} +22 -21
- package/dist/product-add-existing-attributes-MSJD3GOP.js +420 -0
- package/dist/{product-attributes-ASPKDH7H.js → product-attributes-MHRXZK5S.js} +4 -4
- package/dist/product-brand-create-B3ZJGHUQ.js +171 -0
- package/dist/product-brand-detail-QBWHNBYM.js +100 -0
- package/dist/product-brand-edit-3TQDHZNN.js +179 -0
- package/dist/product-brand-list-ZBPBSRQN.js +30 -0
- package/dist/product-brand-metadata-EAMW6PQJ.js +87 -0
- package/dist/product-bulk-edit-J6ZP7GGM.js +287 -0
- package/dist/{product-create-BDQ66ECX.js → product-create-WOCQFTMZ.js} +34 -34
- package/dist/product-create-attribute-ZT3VZDNZ.js +196 -0
- package/dist/{product-create-option-B7SV42LO.js → product-create-option-NIAP75EE.js} +6 -24
- package/dist/{product-create-variant-7YAG2YRZ.js → product-create-variant-QODC7MZ7.js} +25 -21
- package/dist/{product-detail-DCHR4B4T.js → product-detail-AOMYROBE.js} +25 -27
- package/dist/{product-edit-IASCMBET.js → product-edit-EKAZRIJ6.js} +15 -8
- package/dist/product-edit-option-OZUZGMIM.js +166 -0
- package/dist/{product-list-X72QPKOK.js → product-list-J7RDCTOW.js} +31 -30
- package/dist/{product-media-VNSFLCSH.js → product-media-KREKRDOC.js} +15 -8
- package/dist/{product-metadata-GJ7C2UJG.js → product-metadata-O3BAEUYB.js} +20 -19
- package/dist/{product-organization-PN22LYKQ.js → product-organization-SBQY44IF.js} +61 -18
- package/dist/{product-prices-HI4SOTMP.js → product-prices-R5JOHVGS.js} +8 -8
- package/dist/{product-sales-channels-J2ZNRKZT.js → product-sales-channels-TFOGXCMI.js} +15 -15
- package/dist/{product-shipping-profile-G7UPGWYK.js → product-shipping-profile-E4HJ4EYW.js} +6 -5
- package/dist/{product-stock-666D3AMJ.js → product-stock-EIP2XJUR.js} +28 -27
- package/dist/{product-tag-create-PHJICTE4.js → product-tag-create-7JBM6I3V.js} +13 -12
- package/dist/{product-tag-detail-B7JEBNMJ.js → product-tag-detail-FCVZLJ7N.js} +51 -51
- package/dist/{product-tag-edit-G4UNGXPT.js → product-tag-edit-O2ADFDD6.js} +13 -12
- package/dist/{product-tag-list-MAUUWH25.js → product-tag-list-N44OW4BR.js} +51 -51
- package/dist/{product-tag-metadata-I4V6CR6Z.js → product-tag-metadata-SBOUTUXY.js} +17 -16
- package/dist/{product-type-detail-7GHH4ACU.js → product-type-detail-II4RYMUP.js} +28 -27
- package/dist/{product-type-list-LTYTTF4F.js → product-type-list-TM26QMHR.js} +12 -14
- package/dist/{product-type-metadata-KGVRMMTQ.js → product-type-metadata-KN5OXR6J.js} +17 -16
- package/dist/{product-variant-detail-PHGVJWUV.js → product-variant-detail-H2YRFDAU.js} +27 -37
- package/dist/product-variant-edit-3HKWOCHQ.js +867 -0
- package/dist/{product-variant-manage-inventory-items-WENX2QCZ.js → product-variant-manage-inventory-items-Q5MJG3EJ.js} +6 -10
- package/dist/{product-variant-metadata-HV72UBCP.js → product-variant-metadata-QESZ7VS2.js} +17 -16
- package/dist/{profile-detail-UQTGEFYF.js → profile-detail-ZRL5SERS.js} +4 -4
- package/dist/{promotion-add-campaign-M4OT6URB.js → promotion-add-campaign-O3RTMS3W.js} +6 -5
- package/dist/{promotion-create-GM37OXEW.js → promotion-create-TGC6BVWF.js} +23 -21
- package/dist/{promotion-detail-PDBRQII7.js → promotion-detail-VYIXZMMD.js} +21 -20
- package/dist/{promotion-list-XW4PNLJF.js → promotion-list-C3SKV5BJ.js} +13 -15
- package/dist/{refund-reason-create-M2CYTCEM.js → refund-reason-create-2KEQFOID.js} +13 -12
- package/dist/{refund-reason-edit-M4XBV633.js → refund-reason-edit-E7CB7SM3.js} +13 -12
- package/dist/{refund-reason-list-2S2MDKBQ.js → refund-reason-list-CB2FZPDK.js} +37 -35
- package/dist/{region-add-countries-T4XZ2CU3.js → region-add-countries-COXN4LP3.js} +7 -9
- package/dist/{region-create-MQXTWBKC.js → region-create-P66Q65XY.js} +14 -15
- package/dist/{region-detail-6OFP76OY.js → region-detail-P2HHBYFV.js} +11 -13
- package/dist/{region-edit-QNJ2HT76.js → region-edit-XFE54SAO.js} +8 -7
- package/dist/{region-list-EYTDREE2.js → region-list-2XXKCDDX.js} +11 -13
- package/dist/{region-metadata-4JWOEGTZ.js → region-metadata-723RQGHS.js} +17 -16
- package/dist/{reservation-create-26QAWABA.js → reservation-create-Y3HG4AZA.js} +4 -4
- package/dist/{reservation-detail-G26K6HZV.js → reservation-detail-HQMADZ56.js} +19 -18
- package/dist/{reservation-list-CHHR6CEV.js → reservation-list-YKC3JJ6K.js} +11 -13
- package/dist/{reservation-metadata-JFLJ27A3.js → reservation-metadata-UG4YTEMY.js} +18 -17
- package/dist/{reset-password-S6IBWG47.js → reset-password-2VNU52CE.js} +1 -1
- package/dist/{return-reason-list-MCGW2JV3.js → return-reason-list-47DFQ3NX.js} +27 -28
- package/dist/{sales-channel-add-products-FH7B7UYR.js → sales-channel-add-products-KKU2AR5R.js} +31 -30
- package/dist/{sales-channel-create-NSZEHGZE.js → sales-channel-create-BSNCLZWR.js} +2 -2
- package/dist/{sales-channel-detail-KCS472HN.js → sales-channel-detail-5WPD5VKT.js} +28 -27
- package/dist/{sales-channel-edit-W6Z2ERBJ.js → sales-channel-edit-FUDXMZYV.js} +2 -2
- package/dist/{sales-channel-list-6HBRUZ2Z.js → sales-channel-list-GYLGH4U7.js} +21 -20
- package/dist/{sales-channel-metadata-NDSKXOGH.js → sales-channel-metadata-H6RSHKVP.js} +17 -16
- package/dist/{shipping-option-type-create-MEL24PGH.js → shipping-option-type-create-QAOW7753.js} +13 -12
- package/dist/{shipping-option-type-detail-IS7CNAYI.js → shipping-option-type-detail-QGWVDTDU.js} +19 -18
- package/dist/{shipping-option-type-edit-IVBHURXR.js → shipping-option-type-edit-WXYBDRNY.js} +13 -12
- package/dist/{shipping-option-type-list-BTPCLBSD.js → shipping-option-type-list-YSWP6DSC.js} +24 -25
- package/dist/{shipping-profile-detail-L3IHPGLL.js → shipping-profile-detail-YAKZHWZI.js} +5 -5
- package/dist/{shipping-profile-metadata-UZPX2PHJ.js → shipping-profile-metadata-UE53IA3J.js} +19 -18
- package/dist/{shipping-profiles-list-2JKVMEZG.js → shipping-profiles-list-JF2SQIQ7.js} +9 -11
- package/dist/{store-bulk-edit-A4ZWZ7HJ.js → store-bulk-edit-6SQX7OV2.js} +7 -7
- package/dist/{store-create-OQVFVIK4.js → store-create-WNFRHXWR.js} +13 -12
- package/dist/{store-details-BOGWBWE7.js → store-details-RS3SPTXC.js} +44 -44
- package/dist/{store-edit-77WKNZUH.js → store-edit-34CPYPM3.js} +11 -11
- package/dist/{store-list-2G34KVD5.js → store-list-Q5X3JB3R.js} +36 -37
- package/dist/{store-member-invite-4GDKCSTT.js → store-member-invite-7PAPHDOK.js} +3 -3
- package/dist/{tax-region-create-5DDZ23QQ.js → tax-region-create-3KVECMFN.js} +16 -14
- package/dist/{tax-region-detail-VNBNS7FS.js → tax-region-detail-AOT4X4DZ.js} +26 -26
- package/dist/{tax-region-edit-OARZRBVK.js → tax-region-edit-5T7VHKIA.js} +15 -13
- package/dist/{tax-region-list-WCHVLVVC.js → tax-region-list-FIBHEFVD.js} +9 -9
- package/dist/{tax-region-metadata-XJRFOG7I.js → tax-region-metadata-RSZCJGJT.js} +17 -16
- package/dist/{tax-region-province-detail-MXYZMUX7.js → tax-region-province-detail-XEMIX5SQ.js} +24 -24
- package/dist/{tax-region-tax-override-create-VIOPM26G.js → tax-region-tax-override-create-KPFXMSPH.js} +54 -54
- package/dist/{tax-region-tax-override-edit-5FW6YCCW.js → tax-region-tax-override-edit-RMMHCFXN.js} +54 -54
- package/dist/{user-detail-LGIMHLY4.js → user-detail-W7DGVXDZ.js} +6 -6
- package/dist/{user-invite-ZZSWFXFM.js → user-invite-HLZJ7FST.js} +14 -16
- package/dist/{user-list-5QJJS7EA.js → user-list-TR7RSGUO.js} +9 -11
- package/dist/{user-metadata-376YJMY3.js → user-metadata-3AFZX3DM.js} +17 -16
- package/package.json +6 -6
- package/dist/attribute-create-EAOQ6KT6.js +0 -1010
- package/dist/attribute-create-possible-value-BIU2L7AN.js +0 -437
- package/dist/attribute-edit-DRHFOHMK.js +0 -282
- package/dist/attribute-edit-possible-value-G2ON2AE3.js +0 -264
- package/dist/chunk-35NDMIYZ.js +0 -8
- package/dist/chunk-4GPAS5GW.js +0 -36
- package/dist/chunk-4ZTZTIIM.js +0 -69
- package/dist/chunk-7O5NDICV.js +0 -120
- package/dist/chunk-IGTRIAUC.js +0 -84
- package/dist/chunk-KYPPQGGE.js +0 -467
- package/dist/chunk-LBXPX3XC.js +0 -1260
- package/dist/chunk-LO7XX5M7.js +0 -6
- package/dist/chunk-MXGDKEU5.js +0 -248
- package/dist/chunk-QOQSXNEF.js +0 -37
- package/dist/chunk-RSBZREKG.js +0 -144
- package/dist/chunk-WCEMRNW4.js +0 -6
- package/dist/chunk-Z5I2Z6L3.js +0 -160
- package/dist/chunk-ZMC7BKLT.js +0 -56
- package/dist/chunk-ZXYKF4A2.js +0 -2146
- package/dist/product-edit-option-KVTIY5NM.js +0 -156
- package/dist/product-export-E7RBOIO6.js +0 -137
- package/dist/product-import-KOSPPCSW.js +0 -267
- package/dist/product-variant-edit-L77HDGTA.js +0 -547
- package/dist/{chunk-XCANTVXS.js → chunk-CPXK5RSJ.js} +6 -6
- package/dist/{chunk-Y6NK6GBB.js → chunk-GP4J42UD.js} +5 -5
- package/dist/{chunk-L56WFGUN.js → chunk-IMR3MZDP.js} +3 -3
- package/dist/{chunk-OB4NOV4M.js → chunk-LYZT5REU.js} +3 -3
- package/dist/{chunk-ZBJ56XDB.js → chunk-Q2ULPJJ6.js} +3 -3
- package/dist/{chunk-MWX5JCOM.js → chunk-V6OGMYAI.js} +3 -3
- package/dist/{chunk-KCYUY2AI.js → chunk-WQFFCK3R.js} +6 -6
- package/dist/{chunk-ZW34ZAIP.js → chunk-WYA62MUL.js} +8 -8
- package/dist/{chunk-56AUQBQX.js → chunk-YYMACYP6.js} +5 -5
- package/dist/{customer-edit-X4HQOUAE.js → customer-edit-JZ4PQTIN.js} +3 -3
- package/dist/{profile-edit-Y5UUUKVH.js → profile-edit-HQTWYWZ7.js} +6 -6
- package/dist/{promotion-edit-details-E2XKWY7L.js → promotion-edit-details-TKRC5HES.js} +6 -6
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-26tEckuq.js';
|
|
10
|
+
export { P as PRODUCT_DETAIL_FIELDS, a as PRODUCT_DETAIL_QUERY } from '../constants-26tEckuq.js';
|
|
11
11
|
import * as zod from 'zod';
|
|
12
12
|
import { z } from 'zod';
|
|
13
13
|
import * as _mercurjs_types from '@mercurjs/types';
|
|
@@ -145,16 +145,16 @@ declare const CreateCategorySchema: z.ZodObject<{
|
|
|
145
145
|
rank: number | null;
|
|
146
146
|
parent_category_id: string | null;
|
|
147
147
|
visibility: "public" | "internal";
|
|
148
|
-
handle?: string | undefined;
|
|
149
148
|
description?: string | undefined;
|
|
149
|
+
handle?: string | undefined;
|
|
150
150
|
}, {
|
|
151
151
|
status: "active" | "inactive";
|
|
152
152
|
name: string;
|
|
153
153
|
rank: number | null;
|
|
154
154
|
parent_category_id: string | null;
|
|
155
155
|
visibility: "public" | "internal";
|
|
156
|
-
handle?: string | undefined;
|
|
157
156
|
description?: string | undefined;
|
|
157
|
+
handle?: string | undefined;
|
|
158
158
|
}>;
|
|
159
159
|
|
|
160
160
|
type CreateCategorySchemaType = z.infer<typeof CreateCategorySchema>;
|
|
@@ -176,8 +176,8 @@ declare const CategoryCreatePage: (({ children }: {
|
|
|
176
176
|
rank: number | null;
|
|
177
177
|
parent_category_id: string | null;
|
|
178
178
|
visibility: "public" | "internal";
|
|
179
|
-
handle?: string | undefined;
|
|
180
179
|
description?: string | undefined;
|
|
180
|
+
handle?: string | undefined;
|
|
181
181
|
}>;
|
|
182
182
|
};
|
|
183
183
|
OrganizeTab: {
|
|
@@ -188,8 +188,8 @@ declare const CategoryCreatePage: (({ children }: {
|
|
|
188
188
|
rank: number | null;
|
|
189
189
|
parent_category_id: string | null;
|
|
190
190
|
visibility: "public" | "internal";
|
|
191
|
-
handle?: string | undefined;
|
|
192
191
|
description?: string | undefined;
|
|
192
|
+
handle?: string | undefined;
|
|
193
193
|
}>;
|
|
194
194
|
};
|
|
195
195
|
Tab: ({ children, }: {
|
|
@@ -374,32 +374,32 @@ declare const CreateInventoryItemSchema: z.ZodObject<{
|
|
|
374
374
|
}, "strip", z.ZodTypeAny, {
|
|
375
375
|
title: string;
|
|
376
376
|
length?: string | number | undefined;
|
|
377
|
-
description?: string | undefined;
|
|
378
|
-
thumbnail?: string | undefined;
|
|
379
|
-
width?: string | number | undefined;
|
|
380
377
|
weight?: string | number | undefined;
|
|
378
|
+
width?: string | number | undefined;
|
|
379
|
+
sku?: string | undefined;
|
|
380
|
+
hs_code?: string | undefined;
|
|
381
381
|
height?: string | number | undefined;
|
|
382
382
|
origin_country?: string | undefined;
|
|
383
|
-
hs_code?: string | undefined;
|
|
384
383
|
mid_code?: string | undefined;
|
|
385
384
|
material?: string | undefined;
|
|
385
|
+
description?: string | undefined;
|
|
386
386
|
requires_shipping?: boolean | undefined;
|
|
387
|
-
|
|
387
|
+
thumbnail?: string | undefined;
|
|
388
388
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
389
389
|
}, {
|
|
390
390
|
title: string;
|
|
391
391
|
length?: string | number | undefined;
|
|
392
|
-
description?: string | undefined;
|
|
393
|
-
thumbnail?: string | undefined;
|
|
394
|
-
width?: string | number | undefined;
|
|
395
392
|
weight?: string | number | undefined;
|
|
393
|
+
width?: string | number | undefined;
|
|
394
|
+
sku?: string | undefined;
|
|
395
|
+
hs_code?: string | undefined;
|
|
396
396
|
height?: string | number | undefined;
|
|
397
397
|
origin_country?: string | undefined;
|
|
398
|
-
hs_code?: string | undefined;
|
|
399
398
|
mid_code?: string | undefined;
|
|
400
399
|
material?: string | undefined;
|
|
400
|
+
description?: string | undefined;
|
|
401
401
|
requires_shipping?: boolean | undefined;
|
|
402
|
-
|
|
402
|
+
thumbnail?: string | undefined;
|
|
403
403
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
404
404
|
}>;
|
|
405
405
|
type CreateInventoryItemSchema = z.infer<typeof CreateInventoryItemSchema>;
|
|
@@ -422,17 +422,17 @@ declare const InventoryCreatePage: (({ children }: {
|
|
|
422
422
|
_tabMeta: TabDefinition<{
|
|
423
423
|
title: string;
|
|
424
424
|
length?: string | number | undefined;
|
|
425
|
-
description?: string | undefined;
|
|
426
|
-
thumbnail?: string | undefined;
|
|
427
|
-
width?: string | number | undefined;
|
|
428
425
|
weight?: string | number | undefined;
|
|
426
|
+
width?: string | number | undefined;
|
|
427
|
+
sku?: string | undefined;
|
|
428
|
+
hs_code?: string | undefined;
|
|
429
429
|
height?: string | number | undefined;
|
|
430
430
|
origin_country?: string | undefined;
|
|
431
|
-
hs_code?: string | undefined;
|
|
432
431
|
mid_code?: string | undefined;
|
|
433
432
|
material?: string | undefined;
|
|
433
|
+
description?: string | undefined;
|
|
434
434
|
requires_shipping?: boolean | undefined;
|
|
435
|
-
|
|
435
|
+
thumbnail?: string | undefined;
|
|
436
436
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
437
437
|
}>;
|
|
438
438
|
};
|
|
@@ -443,17 +443,17 @@ declare const InventoryCreatePage: (({ children }: {
|
|
|
443
443
|
_tabMeta: TabDefinition<{
|
|
444
444
|
title: string;
|
|
445
445
|
length?: string | number | undefined;
|
|
446
|
-
description?: string | undefined;
|
|
447
|
-
thumbnail?: string | undefined;
|
|
448
|
-
width?: string | number | undefined;
|
|
449
446
|
weight?: string | number | undefined;
|
|
447
|
+
width?: string | number | undefined;
|
|
448
|
+
sku?: string | undefined;
|
|
449
|
+
hs_code?: string | undefined;
|
|
450
450
|
height?: string | number | undefined;
|
|
451
451
|
origin_country?: string | undefined;
|
|
452
|
-
hs_code?: string | undefined;
|
|
453
452
|
mid_code?: string | undefined;
|
|
454
453
|
material?: string | undefined;
|
|
454
|
+
description?: string | undefined;
|
|
455
455
|
requires_shipping?: boolean | undefined;
|
|
456
|
-
|
|
456
|
+
thumbnail?: string | undefined;
|
|
457
457
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
458
458
|
}>;
|
|
459
459
|
};
|
|
@@ -526,60 +526,60 @@ declare const CreateShippingOptionSchema: z.ZodObject<{
|
|
|
526
526
|
eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
527
527
|
}, "strip", z.ZodTypeAny, {
|
|
528
528
|
amount: string | number;
|
|
529
|
-
gt?: number | null | undefined;
|
|
530
529
|
lt?: number | null | undefined;
|
|
530
|
+
gt?: number | null | undefined;
|
|
531
531
|
eq?: number | null | undefined;
|
|
532
|
-
lte?: string | number | null | undefined;
|
|
533
532
|
gte?: string | number | null | undefined;
|
|
533
|
+
lte?: string | number | null | undefined;
|
|
534
534
|
}, {
|
|
535
535
|
amount: string | number;
|
|
536
|
-
gt?: number | null | undefined;
|
|
537
536
|
lt?: number | null | undefined;
|
|
537
|
+
gt?: number | null | undefined;
|
|
538
538
|
eq?: number | null | undefined;
|
|
539
|
-
lte?: string | number | null | undefined;
|
|
540
539
|
gte?: string | number | null | undefined;
|
|
540
|
+
lte?: string | number | null | undefined;
|
|
541
541
|
}>, {
|
|
542
542
|
amount: string | number;
|
|
543
|
-
gt?: number | null | undefined;
|
|
544
543
|
lt?: number | null | undefined;
|
|
544
|
+
gt?: number | null | undefined;
|
|
545
545
|
eq?: number | null | undefined;
|
|
546
|
-
lte?: string | number | null | undefined;
|
|
547
546
|
gte?: string | number | null | undefined;
|
|
547
|
+
lte?: string | number | null | undefined;
|
|
548
548
|
}, {
|
|
549
549
|
amount: string | number;
|
|
550
|
-
gt?: number | null | undefined;
|
|
551
550
|
lt?: number | null | undefined;
|
|
551
|
+
gt?: number | null | undefined;
|
|
552
552
|
eq?: number | null | undefined;
|
|
553
|
-
lte?: string | number | null | undefined;
|
|
554
553
|
gte?: string | number | null | undefined;
|
|
554
|
+
lte?: string | number | null | undefined;
|
|
555
555
|
}>, {
|
|
556
556
|
amount: string | number;
|
|
557
|
-
gt?: number | null | undefined;
|
|
558
557
|
lt?: number | null | undefined;
|
|
558
|
+
gt?: number | null | undefined;
|
|
559
559
|
eq?: number | null | undefined;
|
|
560
|
-
lte?: string | number | null | undefined;
|
|
561
560
|
gte?: string | number | null | undefined;
|
|
561
|
+
lte?: string | number | null | undefined;
|
|
562
562
|
}, {
|
|
563
563
|
amount: string | number;
|
|
564
|
-
gt?: number | null | undefined;
|
|
565
564
|
lt?: number | null | undefined;
|
|
565
|
+
gt?: number | null | undefined;
|
|
566
566
|
eq?: number | null | undefined;
|
|
567
|
-
lte?: string | number | null | undefined;
|
|
568
567
|
gte?: string | number | null | undefined;
|
|
568
|
+
lte?: string | number | null | undefined;
|
|
569
569
|
}>, {
|
|
570
570
|
amount: string | number;
|
|
571
|
-
gt?: number | null | undefined;
|
|
572
571
|
lt?: number | null | undefined;
|
|
572
|
+
gt?: number | null | undefined;
|
|
573
573
|
eq?: number | null | undefined;
|
|
574
|
-
lte?: string | number | null | undefined;
|
|
575
574
|
gte?: string | number | null | undefined;
|
|
575
|
+
lte?: string | number | null | undefined;
|
|
576
576
|
}, {
|
|
577
577
|
amount: string | number;
|
|
578
|
-
gt?: number | null | undefined;
|
|
579
578
|
lt?: number | null | undefined;
|
|
579
|
+
gt?: number | null | undefined;
|
|
580
580
|
eq?: number | null | undefined;
|
|
581
|
-
lte?: string | number | null | undefined;
|
|
582
581
|
gte?: string | number | null | undefined;
|
|
582
|
+
lte?: string | number | null | undefined;
|
|
583
583
|
}>, "many">>>;
|
|
584
584
|
conditional_currency_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
585
585
|
amount: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
@@ -590,112 +590,112 @@ declare const CreateShippingOptionSchema: z.ZodObject<{
|
|
|
590
590
|
eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
591
591
|
}, "strip", z.ZodTypeAny, {
|
|
592
592
|
amount: string | number;
|
|
593
|
-
gt?: number | null | undefined;
|
|
594
593
|
lt?: number | null | undefined;
|
|
594
|
+
gt?: number | null | undefined;
|
|
595
595
|
eq?: number | null | undefined;
|
|
596
|
-
lte?: string | number | null | undefined;
|
|
597
596
|
gte?: string | number | null | undefined;
|
|
597
|
+
lte?: string | number | null | undefined;
|
|
598
598
|
}, {
|
|
599
599
|
amount: string | number;
|
|
600
|
-
gt?: number | null | undefined;
|
|
601
600
|
lt?: number | null | undefined;
|
|
601
|
+
gt?: number | null | undefined;
|
|
602
602
|
eq?: number | null | undefined;
|
|
603
|
-
lte?: string | number | null | undefined;
|
|
604
603
|
gte?: string | number | null | undefined;
|
|
604
|
+
lte?: string | number | null | undefined;
|
|
605
605
|
}>, {
|
|
606
606
|
amount: string | number;
|
|
607
|
-
gt?: number | null | undefined;
|
|
608
607
|
lt?: number | null | undefined;
|
|
608
|
+
gt?: number | null | undefined;
|
|
609
609
|
eq?: number | null | undefined;
|
|
610
|
-
lte?: string | number | null | undefined;
|
|
611
610
|
gte?: string | number | null | undefined;
|
|
611
|
+
lte?: string | number | null | undefined;
|
|
612
612
|
}, {
|
|
613
613
|
amount: string | number;
|
|
614
|
-
gt?: number | null | undefined;
|
|
615
614
|
lt?: number | null | undefined;
|
|
615
|
+
gt?: number | null | undefined;
|
|
616
616
|
eq?: number | null | undefined;
|
|
617
|
-
lte?: string | number | null | undefined;
|
|
618
617
|
gte?: string | number | null | undefined;
|
|
618
|
+
lte?: string | number | null | undefined;
|
|
619
619
|
}>, {
|
|
620
620
|
amount: string | number;
|
|
621
|
-
gt?: number | null | undefined;
|
|
622
621
|
lt?: number | null | undefined;
|
|
622
|
+
gt?: number | null | undefined;
|
|
623
623
|
eq?: number | null | undefined;
|
|
624
|
-
lte?: string | number | null | undefined;
|
|
625
624
|
gte?: string | number | null | undefined;
|
|
625
|
+
lte?: string | number | null | undefined;
|
|
626
626
|
}, {
|
|
627
627
|
amount: string | number;
|
|
628
|
-
gt?: number | null | undefined;
|
|
629
628
|
lt?: number | null | undefined;
|
|
629
|
+
gt?: number | null | undefined;
|
|
630
630
|
eq?: number | null | undefined;
|
|
631
|
-
lte?: string | number | null | undefined;
|
|
632
631
|
gte?: string | number | null | undefined;
|
|
632
|
+
lte?: string | number | null | undefined;
|
|
633
633
|
}>, {
|
|
634
634
|
amount: string | number;
|
|
635
|
-
gt?: number | null | undefined;
|
|
636
635
|
lt?: number | null | undefined;
|
|
636
|
+
gt?: number | null | undefined;
|
|
637
637
|
eq?: number | null | undefined;
|
|
638
|
-
lte?: string | number | null | undefined;
|
|
639
638
|
gte?: string | number | null | undefined;
|
|
639
|
+
lte?: string | number | null | undefined;
|
|
640
640
|
}, {
|
|
641
641
|
amount: string | number;
|
|
642
|
-
gt?: number | null | undefined;
|
|
643
642
|
lt?: number | null | undefined;
|
|
643
|
+
gt?: number | null | undefined;
|
|
644
644
|
eq?: number | null | undefined;
|
|
645
|
-
lte?: string | number | null | undefined;
|
|
646
645
|
gte?: string | number | null | undefined;
|
|
646
|
+
lte?: string | number | null | undefined;
|
|
647
647
|
}>, "many">>>;
|
|
648
648
|
}, "strip", z.ZodTypeAny, {
|
|
649
649
|
name: string;
|
|
650
|
-
provider_id: string;
|
|
651
650
|
shipping_profile_id: string;
|
|
652
|
-
|
|
651
|
+
provider_id: string;
|
|
653
652
|
shipping_option_type_id: string;
|
|
654
|
-
|
|
653
|
+
price_type: ShippingOptionPriceType;
|
|
655
654
|
currency_prices: Record<string, string | undefined>;
|
|
655
|
+
enabled_in_store: boolean;
|
|
656
656
|
region_prices: Record<string, string | undefined>;
|
|
657
657
|
fulfillment_option_id: string;
|
|
658
658
|
conditional_region_prices: Record<string, {
|
|
659
659
|
amount: string | number;
|
|
660
|
-
gt?: number | null | undefined;
|
|
661
660
|
lt?: number | null | undefined;
|
|
661
|
+
gt?: number | null | undefined;
|
|
662
662
|
eq?: number | null | undefined;
|
|
663
|
-
lte?: string | number | null | undefined;
|
|
664
663
|
gte?: string | number | null | undefined;
|
|
664
|
+
lte?: string | number | null | undefined;
|
|
665
665
|
}[] | undefined>;
|
|
666
666
|
conditional_currency_prices: Record<string, {
|
|
667
667
|
amount: string | number;
|
|
668
|
-
gt?: number | null | undefined;
|
|
669
668
|
lt?: number | null | undefined;
|
|
669
|
+
gt?: number | null | undefined;
|
|
670
670
|
eq?: number | null | undefined;
|
|
671
|
-
lte?: string | number | null | undefined;
|
|
672
671
|
gte?: string | number | null | undefined;
|
|
672
|
+
lte?: string | number | null | undefined;
|
|
673
673
|
}[] | undefined>;
|
|
674
674
|
}, {
|
|
675
675
|
name: string;
|
|
676
|
-
provider_id: string;
|
|
677
676
|
shipping_profile_id: string;
|
|
678
|
-
|
|
677
|
+
provider_id: string;
|
|
679
678
|
shipping_option_type_id: string;
|
|
680
|
-
|
|
679
|
+
price_type: ShippingOptionPriceType;
|
|
681
680
|
currency_prices: Record<string, string | undefined>;
|
|
681
|
+
enabled_in_store: boolean;
|
|
682
682
|
region_prices: Record<string, string | undefined>;
|
|
683
683
|
fulfillment_option_id: string;
|
|
684
684
|
conditional_region_prices: Record<string, {
|
|
685
685
|
amount: string | number;
|
|
686
|
-
gt?: number | null | undefined;
|
|
687
686
|
lt?: number | null | undefined;
|
|
687
|
+
gt?: number | null | undefined;
|
|
688
688
|
eq?: number | null | undefined;
|
|
689
|
-
lte?: string | number | null | undefined;
|
|
690
689
|
gte?: string | number | null | undefined;
|
|
690
|
+
lte?: string | number | null | undefined;
|
|
691
691
|
}[] | undefined>;
|
|
692
692
|
conditional_currency_prices: Record<string, {
|
|
693
693
|
amount: string | number;
|
|
694
|
-
gt?: number | null | undefined;
|
|
695
694
|
lt?: number | null | undefined;
|
|
695
|
+
gt?: number | null | undefined;
|
|
696
696
|
eq?: number | null | undefined;
|
|
697
|
-
lte?: string | number | null | undefined;
|
|
698
697
|
gte?: string | number | null | undefined;
|
|
698
|
+
lte?: string | number | null | undefined;
|
|
699
699
|
}[] | undefined>;
|
|
700
700
|
}>;
|
|
701
701
|
|
|
@@ -726,29 +726,29 @@ declare const ShippingOptionCreatePage: (({ children }: {
|
|
|
726
726
|
}): react_jsx_runtime.JSX.Element;
|
|
727
727
|
_tabMeta: TabDefinition<{
|
|
728
728
|
name: string;
|
|
729
|
-
provider_id: string;
|
|
730
729
|
shipping_profile_id: string;
|
|
731
|
-
|
|
730
|
+
provider_id: string;
|
|
732
731
|
shipping_option_type_id: string;
|
|
733
|
-
|
|
732
|
+
price_type: ShippingOptionPriceType;
|
|
734
733
|
currency_prices: Record<string, string | undefined>;
|
|
734
|
+
enabled_in_store: boolean;
|
|
735
735
|
region_prices: Record<string, string | undefined>;
|
|
736
736
|
fulfillment_option_id: string;
|
|
737
737
|
conditional_region_prices: Record<string, {
|
|
738
738
|
amount: string | number;
|
|
739
|
-
gt?: number | null | undefined;
|
|
740
739
|
lt?: number | null | undefined;
|
|
740
|
+
gt?: number | null | undefined;
|
|
741
741
|
eq?: number | null | undefined;
|
|
742
|
-
lte?: string | number | null | undefined;
|
|
743
742
|
gte?: string | number | null | undefined;
|
|
743
|
+
lte?: string | number | null | undefined;
|
|
744
744
|
}[] | undefined>;
|
|
745
745
|
conditional_currency_prices: Record<string, {
|
|
746
746
|
amount: string | number;
|
|
747
|
-
gt?: number | null | undefined;
|
|
748
747
|
lt?: number | null | undefined;
|
|
748
|
+
gt?: number | null | undefined;
|
|
749
749
|
eq?: number | null | undefined;
|
|
750
|
-
lte?: string | number | null | undefined;
|
|
751
750
|
gte?: string | number | null | undefined;
|
|
751
|
+
lte?: string | number | null | undefined;
|
|
752
752
|
}[] | undefined>;
|
|
753
753
|
}>;
|
|
754
754
|
};
|
|
@@ -758,29 +758,29 @@ declare const ShippingOptionCreatePage: (({ children }: {
|
|
|
758
758
|
}): react_jsx_runtime.JSX.Element;
|
|
759
759
|
_tabMeta: TabDefinition<{
|
|
760
760
|
name: string;
|
|
761
|
-
provider_id: string;
|
|
762
761
|
shipping_profile_id: string;
|
|
763
|
-
|
|
762
|
+
provider_id: string;
|
|
764
763
|
shipping_option_type_id: string;
|
|
765
|
-
|
|
764
|
+
price_type: ShippingOptionPriceType;
|
|
766
765
|
currency_prices: Record<string, string | undefined>;
|
|
766
|
+
enabled_in_store: boolean;
|
|
767
767
|
region_prices: Record<string, string | undefined>;
|
|
768
768
|
fulfillment_option_id: string;
|
|
769
769
|
conditional_region_prices: Record<string, {
|
|
770
770
|
amount: string | number;
|
|
771
|
-
gt?: number | null | undefined;
|
|
772
771
|
lt?: number | null | undefined;
|
|
772
|
+
gt?: number | null | undefined;
|
|
773
773
|
eq?: number | null | undefined;
|
|
774
|
-
lte?: string | number | null | undefined;
|
|
775
774
|
gte?: string | number | null | undefined;
|
|
775
|
+
lte?: string | number | null | undefined;
|
|
776
776
|
}[] | undefined>;
|
|
777
777
|
conditional_currency_prices: Record<string, {
|
|
778
778
|
amount: string | number;
|
|
779
|
-
gt?: number | null | undefined;
|
|
780
779
|
lt?: number | null | undefined;
|
|
780
|
+
gt?: number | null | undefined;
|
|
781
781
|
eq?: number | null | undefined;
|
|
782
|
-
lte?: string | number | null | undefined;
|
|
783
782
|
gte?: string | number | null | undefined;
|
|
783
|
+
lte?: string | number | null | undefined;
|
|
784
784
|
}[] | undefined>;
|
|
785
785
|
}>;
|
|
786
786
|
};
|
|
@@ -1000,9 +1000,6 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1000
1000
|
}>>>;
|
|
1001
1001
|
}, "strip", z.ZodTypeAny, {
|
|
1002
1002
|
title: string;
|
|
1003
|
-
type: "override" | "sale";
|
|
1004
|
-
status: "draft" | "active";
|
|
1005
|
-
description: string;
|
|
1006
1003
|
products: Record<string, {
|
|
1007
1004
|
variants: Record<string, {
|
|
1008
1005
|
currency_prices: Record<string, {
|
|
@@ -1013,6 +1010,9 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1013
1010
|
} | undefined>;
|
|
1014
1011
|
}>;
|
|
1015
1012
|
}>;
|
|
1013
|
+
status: "draft" | "active";
|
|
1014
|
+
description: string;
|
|
1015
|
+
type: "sale" | "override";
|
|
1016
1016
|
product_ids: {
|
|
1017
1017
|
id: string;
|
|
1018
1018
|
}[];
|
|
@@ -1026,9 +1026,6 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1026
1026
|
ends_at?: Date | null | undefined;
|
|
1027
1027
|
}, {
|
|
1028
1028
|
title: string;
|
|
1029
|
-
type: "override" | "sale";
|
|
1030
|
-
status: "draft" | "active";
|
|
1031
|
-
description: string;
|
|
1032
1029
|
products: Record<string, {
|
|
1033
1030
|
variants: Record<string, {
|
|
1034
1031
|
currency_prices: Record<string, {
|
|
@@ -1039,6 +1036,9 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1039
1036
|
} | undefined>;
|
|
1040
1037
|
}>;
|
|
1041
1038
|
}>;
|
|
1039
|
+
status: "draft" | "active";
|
|
1040
|
+
description: string;
|
|
1041
|
+
type: "sale" | "override";
|
|
1042
1042
|
product_ids: {
|
|
1043
1043
|
id: string;
|
|
1044
1044
|
}[];
|
|
@@ -1068,9 +1068,6 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1068
1068
|
(): react_jsx_runtime.JSX.Element;
|
|
1069
1069
|
_tabMeta: TabDefinition<{
|
|
1070
1070
|
title: string;
|
|
1071
|
-
type: "override" | "sale";
|
|
1072
|
-
status: "draft" | "active";
|
|
1073
|
-
description: string;
|
|
1074
1071
|
products: Record<string, {
|
|
1075
1072
|
variants: Record<string, {
|
|
1076
1073
|
currency_prices: Record<string, {
|
|
@@ -1081,6 +1078,9 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1081
1078
|
} | undefined>;
|
|
1082
1079
|
}>;
|
|
1083
1080
|
}>;
|
|
1081
|
+
status: "draft" | "active";
|
|
1082
|
+
description: string;
|
|
1083
|
+
type: "sale" | "override";
|
|
1084
1084
|
product_ids: {
|
|
1085
1085
|
id: string;
|
|
1086
1086
|
}[];
|
|
@@ -1098,9 +1098,6 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1098
1098
|
(): react_jsx_runtime.JSX.Element;
|
|
1099
1099
|
_tabMeta: TabDefinition<{
|
|
1100
1100
|
title: string;
|
|
1101
|
-
type: "override" | "sale";
|
|
1102
|
-
status: "draft" | "active";
|
|
1103
|
-
description: string;
|
|
1104
1101
|
products: Record<string, {
|
|
1105
1102
|
variants: Record<string, {
|
|
1106
1103
|
currency_prices: Record<string, {
|
|
@@ -1111,6 +1108,9 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1111
1108
|
} | undefined>;
|
|
1112
1109
|
}>;
|
|
1113
1110
|
}>;
|
|
1111
|
+
status: "draft" | "active";
|
|
1112
|
+
description: string;
|
|
1113
|
+
type: "sale" | "override";
|
|
1114
1114
|
product_ids: {
|
|
1115
1115
|
id: string;
|
|
1116
1116
|
}[];
|
|
@@ -1132,9 +1132,6 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1132
1132
|
}): react_jsx_runtime.JSX.Element;
|
|
1133
1133
|
_tabMeta: TabDefinition<{
|
|
1134
1134
|
title: string;
|
|
1135
|
-
type: "override" | "sale";
|
|
1136
|
-
status: "draft" | "active";
|
|
1137
|
-
description: string;
|
|
1138
1135
|
products: Record<string, {
|
|
1139
1136
|
variants: Record<string, {
|
|
1140
1137
|
currency_prices: Record<string, {
|
|
@@ -1145,6 +1142,9 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1145
1142
|
} | undefined>;
|
|
1146
1143
|
}>;
|
|
1147
1144
|
}>;
|
|
1145
|
+
status: "draft" | "active";
|
|
1146
|
+
description: string;
|
|
1147
|
+
type: "sale" | "override";
|
|
1148
1148
|
product_ids: {
|
|
1149
1149
|
id: string;
|
|
1150
1150
|
}[];
|
|
@@ -1317,6 +1317,33 @@ declare const PriceListPricesAddPage: (({ children }: {
|
|
|
1317
1317
|
}) => react_jsx_runtime.JSX.Element;
|
|
1318
1318
|
};
|
|
1319
1319
|
|
|
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
|
+
|
|
1320
1347
|
declare const ProductTagListPage: (({ children }: {
|
|
1321
1348
|
children?: ReactNode;
|
|
1322
1349
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
@@ -1393,9 +1420,6 @@ declare const ProductVariantDetailPage: (({ children }: {
|
|
|
1393
1420
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
1394
1421
|
MainGeneralSection: typeof VariantGeneralSection;
|
|
1395
1422
|
MainInventorySection: typeof VariantInventorySectionConnected;
|
|
1396
|
-
SidebarSellerSection: ({ seller }: {
|
|
1397
|
-
seller?: SellerDTO | null;
|
|
1398
|
-
}) => react_jsx_runtime.JSX.Element | null;
|
|
1399
1423
|
SidebarPricesSection: typeof VariantPricesSection;
|
|
1400
1424
|
};
|
|
1401
1425
|
|
|
@@ -1413,8 +1437,6 @@ declare const ProductListPage: (({ children }: {
|
|
|
1413
1437
|
children?: ReactNode;
|
|
1414
1438
|
}) => react_jsx_runtime.JSX.Element;
|
|
1415
1439
|
HeaderCreateButton: () => react_jsx_runtime.JSX.Element;
|
|
1416
|
-
HeaderExportButton: () => react_jsx_runtime.JSX.Element;
|
|
1417
|
-
HeaderImportButton: () => react_jsx_runtime.JSX.Element;
|
|
1418
1440
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
1419
1441
|
};
|
|
1420
1442
|
|
|
@@ -1423,33 +1445,34 @@ declare const ProductDetailPage: (({ children }: {
|
|
|
1423
1445
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
1424
1446
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
1425
1447
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
1448
|
+
MainActiveRequestSection: ({ product, }: {
|
|
1449
|
+
product: HttpTypes.AdminProduct & {
|
|
1450
|
+
sellers?: SellerDTO[];
|
|
1451
|
+
};
|
|
1452
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
1453
|
+
MainActiveEditSection: ({ product, }: {
|
|
1454
|
+
product: HttpTypes.AdminProduct & {
|
|
1455
|
+
sellers?: SellerDTO[];
|
|
1456
|
+
};
|
|
1457
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
1426
1458
|
MainGeneralSection: ({ product, }: {
|
|
1427
1459
|
product: HttpTypes.AdminProduct;
|
|
1428
1460
|
}) => react_jsx_runtime.JSX.Element;
|
|
1429
1461
|
MainMediaSection: ({ product, }: {
|
|
1430
1462
|
product: HttpTypes.AdminProduct;
|
|
1431
1463
|
}) => react_jsx_runtime.JSX.Element;
|
|
1432
|
-
|
|
1433
|
-
product:
|
|
1464
|
+
MainAttributeSection: ({ product, }: {
|
|
1465
|
+
product: {
|
|
1466
|
+
id: string;
|
|
1467
|
+
attributes?: _mercurjs_types.ProductAttributeDTO[] | undefined;
|
|
1468
|
+
};
|
|
1434
1469
|
}) => react_jsx_runtime.JSX.Element;
|
|
1435
1470
|
MainVariantSection: ({ product, }: {
|
|
1436
1471
|
product: HttpTypes.AdminProduct;
|
|
1437
1472
|
}) => react_jsx_runtime.JSX.Element;
|
|
1438
|
-
SidebarSellerSection: ({ seller }: {
|
|
1439
|
-
seller?: SellerDTO | null;
|
|
1440
|
-
}) => react_jsx_runtime.JSX.Element | null;
|
|
1441
|
-
SidebarSalesChannelSection: ({ product, }: {
|
|
1442
|
-
product: HttpTypes.AdminProduct;
|
|
1443
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1444
|
-
SidebarShippingProfileSection: ({ product, }: {
|
|
1445
|
-
product: HttpTypes.AdminProduct;
|
|
1446
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1447
1473
|
SidebarOrganizationSection: ({ product, }: {
|
|
1448
1474
|
product: HttpTypes.AdminProduct;
|
|
1449
1475
|
}) => react_jsx_runtime.JSX.Element;
|
|
1450
|
-
SidebarAttributeSection: ({ product, }: {
|
|
1451
|
-
product: HttpTypes.AdminProduct;
|
|
1452
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1453
1476
|
};
|
|
1454
1477
|
|
|
1455
1478
|
declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -1460,20 +1483,9 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1460
1483
|
discountable: z.ZodBoolean;
|
|
1461
1484
|
type_id: z.ZodOptional<z.ZodString>;
|
|
1462
1485
|
collection_id: z.ZodOptional<z.ZodString>;
|
|
1463
|
-
|
|
1464
|
-
|
|
1486
|
+
category_id: z.ZodString;
|
|
1487
|
+
seller_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1465
1488
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1466
|
-
seller_id: z.ZodOptional<z.ZodString>;
|
|
1467
|
-
sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1468
|
-
id: z.ZodString;
|
|
1469
|
-
name: z.ZodString;
|
|
1470
|
-
}, "strip", z.ZodTypeAny, {
|
|
1471
|
-
id: string;
|
|
1472
|
-
name: string;
|
|
1473
|
-
}, {
|
|
1474
|
-
id: string;
|
|
1475
|
-
name: string;
|
|
1476
|
-
}>, "many">>;
|
|
1477
1489
|
origin_country: z.ZodOptional<z.ZodString>;
|
|
1478
1490
|
material: z.ZodOptional<z.ZodString>;
|
|
1479
1491
|
width: z.ZodOptional<z.ZodString>;
|
|
@@ -1482,17 +1494,49 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1482
1494
|
weight: z.ZodOptional<z.ZodString>;
|
|
1483
1495
|
mid_code: z.ZodOptional<z.ZodString>;
|
|
1484
1496
|
hs_code: z.ZodOptional<z.ZodString>;
|
|
1485
|
-
|
|
1497
|
+
attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1498
|
+
attribute_id: z.ZodOptional<z.ZodString>;
|
|
1486
1499
|
title: z.ZodString;
|
|
1487
|
-
values: z.ZodArray<z.ZodString, "many"
|
|
1500
|
+
values: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1501
|
+
is_custom: z.ZodBoolean;
|
|
1502
|
+
is_required: z.ZodOptional<z.ZodBoolean>;
|
|
1503
|
+
use_for_variants: z.ZodBoolean;
|
|
1504
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1505
|
+
available_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1506
|
+
id: z.ZodString;
|
|
1507
|
+
name: z.ZodString;
|
|
1508
|
+
}, "strip", z.ZodTypeAny, {
|
|
1509
|
+
id: string;
|
|
1510
|
+
name: string;
|
|
1511
|
+
}, {
|
|
1512
|
+
id: string;
|
|
1513
|
+
name: string;
|
|
1514
|
+
}>, "many">>;
|
|
1488
1515
|
}, "strip", z.ZodTypeAny, {
|
|
1489
1516
|
title: string;
|
|
1490
|
-
|
|
1517
|
+
is_custom: boolean;
|
|
1518
|
+
use_for_variants: boolean;
|
|
1519
|
+
values?: string | string[] | undefined;
|
|
1520
|
+
type?: string | undefined;
|
|
1521
|
+
is_required?: boolean | undefined;
|
|
1522
|
+
attribute_id?: string | undefined;
|
|
1523
|
+
available_values?: {
|
|
1524
|
+
id: string;
|
|
1525
|
+
name: string;
|
|
1526
|
+
}[] | undefined;
|
|
1491
1527
|
}, {
|
|
1492
1528
|
title: string;
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1529
|
+
is_custom: boolean;
|
|
1530
|
+
use_for_variants: boolean;
|
|
1531
|
+
values?: string | string[] | undefined;
|
|
1532
|
+
type?: string | undefined;
|
|
1533
|
+
is_required?: boolean | undefined;
|
|
1534
|
+
attribute_id?: string | undefined;
|
|
1535
|
+
available_values?: {
|
|
1536
|
+
id: string;
|
|
1537
|
+
name: string;
|
|
1538
|
+
}[] | undefined;
|
|
1539
|
+
}>, "many">>;
|
|
1496
1540
|
variants: z.ZodArray<z.ZodObject<{
|
|
1497
1541
|
should_create: z.ZodBoolean;
|
|
1498
1542
|
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1512,7 +1556,7 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1512
1556
|
manage_inventory: z.ZodOptional<z.ZodBoolean>;
|
|
1513
1557
|
allow_backorder: z.ZodOptional<z.ZodBoolean>;
|
|
1514
1558
|
inventory_kit: z.ZodOptional<z.ZodBoolean>;
|
|
1515
|
-
|
|
1559
|
+
attribute_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1516
1560
|
variant_rank: z.ZodNumber;
|
|
1517
1561
|
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>>>;
|
|
1518
1562
|
inventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1527,55 +1571,55 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1527
1571
|
}>, "many">>;
|
|
1528
1572
|
}, "strip", z.ZodTypeAny, {
|
|
1529
1573
|
title: string;
|
|
1530
|
-
options: Record<string, string>;
|
|
1531
1574
|
variant_rank: number;
|
|
1532
1575
|
should_create: boolean;
|
|
1533
1576
|
length?: string | number | undefined;
|
|
1577
|
+
weight?: string | number | undefined;
|
|
1578
|
+
width?: string | number | undefined;
|
|
1534
1579
|
inventory?: {
|
|
1535
1580
|
inventory_item_id: string;
|
|
1536
1581
|
required_quantity?: string | number | undefined;
|
|
1537
1582
|
}[] | undefined;
|
|
1538
|
-
|
|
1539
|
-
|
|
1583
|
+
sku?: string | undefined;
|
|
1584
|
+
hs_code?: string | undefined;
|
|
1540
1585
|
height?: string | number | undefined;
|
|
1541
1586
|
origin_country?: string | undefined;
|
|
1542
|
-
hs_code?: string | undefined;
|
|
1543
1587
|
mid_code?: string | undefined;
|
|
1544
1588
|
material?: string | undefined;
|
|
1545
|
-
manage_inventory?: boolean | undefined;
|
|
1546
|
-
allow_backorder?: boolean | undefined;
|
|
1547
|
-
sku?: string | undefined;
|
|
1548
|
-
barcode?: string | undefined;
|
|
1549
1589
|
prices?: Record<string, string | number | undefined> | undefined;
|
|
1590
|
+
is_default?: boolean | undefined;
|
|
1591
|
+
attribute_values?: Record<string, string> | undefined;
|
|
1592
|
+
barcode?: string | undefined;
|
|
1550
1593
|
ean?: string | undefined;
|
|
1551
1594
|
upc?: string | undefined;
|
|
1552
|
-
|
|
1595
|
+
allow_backorder?: boolean | undefined;
|
|
1596
|
+
manage_inventory?: boolean | undefined;
|
|
1553
1597
|
inventory_kit?: boolean | undefined;
|
|
1554
1598
|
}, {
|
|
1555
1599
|
title: string;
|
|
1556
|
-
options: Record<string, string>;
|
|
1557
1600
|
variant_rank: number;
|
|
1558
1601
|
should_create: boolean;
|
|
1559
1602
|
length?: string | number | undefined;
|
|
1603
|
+
weight?: string | number | undefined;
|
|
1604
|
+
width?: string | number | undefined;
|
|
1560
1605
|
inventory?: {
|
|
1561
1606
|
inventory_item_id: string;
|
|
1562
1607
|
required_quantity?: string | number | undefined;
|
|
1563
1608
|
}[] | undefined;
|
|
1564
|
-
|
|
1565
|
-
|
|
1609
|
+
sku?: string | undefined;
|
|
1610
|
+
hs_code?: string | undefined;
|
|
1566
1611
|
height?: string | number | undefined;
|
|
1567
1612
|
origin_country?: string | undefined;
|
|
1568
|
-
hs_code?: string | undefined;
|
|
1569
1613
|
mid_code?: string | undefined;
|
|
1570
1614
|
material?: string | undefined;
|
|
1571
|
-
manage_inventory?: boolean | undefined;
|
|
1572
|
-
allow_backorder?: boolean | undefined;
|
|
1573
|
-
sku?: string | undefined;
|
|
1574
|
-
barcode?: string | undefined;
|
|
1575
1615
|
prices?: Record<string, string | number | undefined> | undefined;
|
|
1616
|
+
is_default?: boolean | undefined;
|
|
1617
|
+
attribute_values?: Record<string, string> | undefined;
|
|
1618
|
+
barcode?: string | undefined;
|
|
1576
1619
|
ean?: string | undefined;
|
|
1577
1620
|
upc?: string | undefined;
|
|
1578
|
-
|
|
1621
|
+
allow_backorder?: boolean | undefined;
|
|
1622
|
+
manage_inventory?: boolean | undefined;
|
|
1579
1623
|
inventory_kit?: boolean | undefined;
|
|
1580
1624
|
}>, "many">;
|
|
1581
1625
|
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1586,262 +1630,274 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1586
1630
|
}, "strip", z.ZodTypeAny, {
|
|
1587
1631
|
url: string;
|
|
1588
1632
|
isThumbnail: boolean;
|
|
1589
|
-
id?: string | undefined;
|
|
1590
1633
|
file?: any;
|
|
1634
|
+
id?: string | undefined;
|
|
1591
1635
|
}, {
|
|
1592
1636
|
url: string;
|
|
1593
1637
|
isThumbnail: boolean;
|
|
1594
|
-
id?: string | undefined;
|
|
1595
1638
|
file?: any;
|
|
1639
|
+
id?: string | undefined;
|
|
1596
1640
|
}>, "many">>;
|
|
1597
1641
|
}, "strip", z.ZodTypeAny, {
|
|
1598
1642
|
title: string;
|
|
1599
|
-
options: {
|
|
1600
|
-
title: string;
|
|
1601
|
-
values: string[];
|
|
1602
|
-
}[];
|
|
1603
|
-
categories: string[];
|
|
1604
1643
|
variants: {
|
|
1605
1644
|
title: string;
|
|
1606
|
-
options: Record<string, string>;
|
|
1607
1645
|
variant_rank: number;
|
|
1608
1646
|
should_create: boolean;
|
|
1609
1647
|
length?: string | number | undefined;
|
|
1648
|
+
weight?: string | number | undefined;
|
|
1649
|
+
width?: string | number | undefined;
|
|
1610
1650
|
inventory?: {
|
|
1611
1651
|
inventory_item_id: string;
|
|
1612
1652
|
required_quantity?: string | number | undefined;
|
|
1613
1653
|
}[] | undefined;
|
|
1614
|
-
|
|
1615
|
-
|
|
1654
|
+
sku?: string | undefined;
|
|
1655
|
+
hs_code?: string | undefined;
|
|
1616
1656
|
height?: string | number | undefined;
|
|
1617
1657
|
origin_country?: string | undefined;
|
|
1618
|
-
hs_code?: string | undefined;
|
|
1619
1658
|
mid_code?: string | undefined;
|
|
1620
1659
|
material?: string | undefined;
|
|
1621
|
-
manage_inventory?: boolean | undefined;
|
|
1622
|
-
allow_backorder?: boolean | undefined;
|
|
1623
|
-
sku?: string | undefined;
|
|
1624
|
-
barcode?: string | undefined;
|
|
1625
1660
|
prices?: Record<string, string | number | undefined> | undefined;
|
|
1661
|
+
is_default?: boolean | undefined;
|
|
1662
|
+
attribute_values?: Record<string, string> | undefined;
|
|
1663
|
+
barcode?: string | undefined;
|
|
1626
1664
|
ean?: string | undefined;
|
|
1627
1665
|
upc?: string | undefined;
|
|
1628
|
-
|
|
1666
|
+
allow_backorder?: boolean | undefined;
|
|
1667
|
+
manage_inventory?: boolean | undefined;
|
|
1629
1668
|
inventory_kit?: boolean | undefined;
|
|
1630
1669
|
}[];
|
|
1631
1670
|
discountable: boolean;
|
|
1632
|
-
|
|
1671
|
+
category_id: string;
|
|
1633
1672
|
length?: string | undefined;
|
|
1634
|
-
seller_id?: string | undefined;
|
|
1635
|
-
handle?: string | undefined;
|
|
1636
|
-
description?: string | undefined;
|
|
1637
|
-
media?: {
|
|
1638
|
-
url: string;
|
|
1639
|
-
isThumbnail: boolean;
|
|
1640
|
-
id?: string | undefined;
|
|
1641
|
-
file?: any;
|
|
1642
|
-
}[] | undefined;
|
|
1643
|
-
collection_id?: string | undefined;
|
|
1644
|
-
type_id?: string | undefined;
|
|
1645
|
-
subtitle?: string | undefined;
|
|
1646
|
-
width?: string | undefined;
|
|
1647
1673
|
weight?: string | undefined;
|
|
1674
|
+
width?: string | undefined;
|
|
1675
|
+
hs_code?: string | undefined;
|
|
1648
1676
|
height?: string | undefined;
|
|
1649
1677
|
origin_country?: string | undefined;
|
|
1650
|
-
hs_code?: string | undefined;
|
|
1651
1678
|
mid_code?: string | undefined;
|
|
1652
1679
|
material?: string | undefined;
|
|
1680
|
+
description?: string | undefined;
|
|
1681
|
+
handle?: string | undefined;
|
|
1682
|
+
subtitle?: string | undefined;
|
|
1683
|
+
collection_id?: string | undefined;
|
|
1684
|
+
type_id?: string | undefined;
|
|
1653
1685
|
tags?: string[] | undefined;
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1686
|
+
attributes?: {
|
|
1687
|
+
title: string;
|
|
1688
|
+
is_custom: boolean;
|
|
1689
|
+
use_for_variants: boolean;
|
|
1690
|
+
values?: string | string[] | undefined;
|
|
1691
|
+
type?: string | undefined;
|
|
1692
|
+
is_required?: boolean | undefined;
|
|
1693
|
+
attribute_id?: string | undefined;
|
|
1694
|
+
available_values?: {
|
|
1695
|
+
id: string;
|
|
1696
|
+
name: string;
|
|
1697
|
+
}[] | undefined;
|
|
1698
|
+
}[] | undefined;
|
|
1699
|
+
media?: {
|
|
1700
|
+
url: string;
|
|
1701
|
+
isThumbnail: boolean;
|
|
1702
|
+
file?: any;
|
|
1703
|
+
id?: string | undefined;
|
|
1657
1704
|
}[] | undefined;
|
|
1658
|
-
|
|
1705
|
+
seller_ids?: string[] | undefined;
|
|
1659
1706
|
}, {
|
|
1660
1707
|
title: string;
|
|
1661
|
-
options: {
|
|
1662
|
-
title: string;
|
|
1663
|
-
values: string[];
|
|
1664
|
-
}[];
|
|
1665
|
-
categories: string[];
|
|
1666
1708
|
variants: {
|
|
1667
1709
|
title: string;
|
|
1668
|
-
options: Record<string, string>;
|
|
1669
1710
|
variant_rank: number;
|
|
1670
1711
|
should_create: boolean;
|
|
1671
1712
|
length?: string | number | undefined;
|
|
1713
|
+
weight?: string | number | undefined;
|
|
1714
|
+
width?: string | number | undefined;
|
|
1672
1715
|
inventory?: {
|
|
1673
1716
|
inventory_item_id: string;
|
|
1674
1717
|
required_quantity?: string | number | undefined;
|
|
1675
1718
|
}[] | undefined;
|
|
1676
|
-
|
|
1677
|
-
|
|
1719
|
+
sku?: string | undefined;
|
|
1720
|
+
hs_code?: string | undefined;
|
|
1678
1721
|
height?: string | number | undefined;
|
|
1679
1722
|
origin_country?: string | undefined;
|
|
1680
|
-
hs_code?: string | undefined;
|
|
1681
1723
|
mid_code?: string | undefined;
|
|
1682
1724
|
material?: string | undefined;
|
|
1683
|
-
manage_inventory?: boolean | undefined;
|
|
1684
|
-
allow_backorder?: boolean | undefined;
|
|
1685
|
-
sku?: string | undefined;
|
|
1686
|
-
barcode?: string | undefined;
|
|
1687
1725
|
prices?: Record<string, string | number | undefined> | undefined;
|
|
1726
|
+
is_default?: boolean | undefined;
|
|
1727
|
+
attribute_values?: Record<string, string> | undefined;
|
|
1728
|
+
barcode?: string | undefined;
|
|
1688
1729
|
ean?: string | undefined;
|
|
1689
1730
|
upc?: string | undefined;
|
|
1690
|
-
|
|
1731
|
+
allow_backorder?: boolean | undefined;
|
|
1732
|
+
manage_inventory?: boolean | undefined;
|
|
1691
1733
|
inventory_kit?: boolean | undefined;
|
|
1692
1734
|
}[];
|
|
1693
1735
|
discountable: boolean;
|
|
1694
|
-
|
|
1736
|
+
category_id: string;
|
|
1695
1737
|
length?: string | undefined;
|
|
1696
|
-
seller_id?: string | undefined;
|
|
1697
|
-
handle?: string | undefined;
|
|
1698
|
-
description?: string | undefined;
|
|
1699
|
-
media?: {
|
|
1700
|
-
url: string;
|
|
1701
|
-
isThumbnail: boolean;
|
|
1702
|
-
id?: string | undefined;
|
|
1703
|
-
file?: any;
|
|
1704
|
-
}[] | undefined;
|
|
1705
|
-
collection_id?: string | undefined;
|
|
1706
|
-
type_id?: string | undefined;
|
|
1707
|
-
subtitle?: string | undefined;
|
|
1708
|
-
width?: string | undefined;
|
|
1709
1738
|
weight?: string | undefined;
|
|
1739
|
+
width?: string | undefined;
|
|
1740
|
+
hs_code?: string | undefined;
|
|
1710
1741
|
height?: string | undefined;
|
|
1711
1742
|
origin_country?: string | undefined;
|
|
1712
|
-
hs_code?: string | undefined;
|
|
1713
1743
|
mid_code?: string | undefined;
|
|
1714
1744
|
material?: string | undefined;
|
|
1745
|
+
description?: string | undefined;
|
|
1746
|
+
handle?: string | undefined;
|
|
1747
|
+
subtitle?: string | undefined;
|
|
1748
|
+
collection_id?: string | undefined;
|
|
1749
|
+
type_id?: string | undefined;
|
|
1715
1750
|
tags?: string[] | undefined;
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1751
|
+
attributes?: {
|
|
1752
|
+
title: string;
|
|
1753
|
+
is_custom: boolean;
|
|
1754
|
+
use_for_variants: boolean;
|
|
1755
|
+
values?: string | string[] | undefined;
|
|
1756
|
+
type?: string | undefined;
|
|
1757
|
+
is_required?: boolean | undefined;
|
|
1758
|
+
attribute_id?: string | undefined;
|
|
1759
|
+
available_values?: {
|
|
1760
|
+
id: string;
|
|
1761
|
+
name: string;
|
|
1762
|
+
}[] | undefined;
|
|
1719
1763
|
}[] | undefined;
|
|
1720
|
-
|
|
1764
|
+
media?: {
|
|
1765
|
+
url: string;
|
|
1766
|
+
isThumbnail: boolean;
|
|
1767
|
+
file?: any;
|
|
1768
|
+
id?: string | undefined;
|
|
1769
|
+
}[] | undefined;
|
|
1770
|
+
seller_ids?: string[] | undefined;
|
|
1721
1771
|
}>, {
|
|
1722
1772
|
title: string;
|
|
1723
|
-
options: {
|
|
1724
|
-
title: string;
|
|
1725
|
-
values: string[];
|
|
1726
|
-
}[];
|
|
1727
|
-
categories: string[];
|
|
1728
1773
|
variants: {
|
|
1729
1774
|
title: string;
|
|
1730
|
-
options: Record<string, string>;
|
|
1731
1775
|
variant_rank: number;
|
|
1732
1776
|
should_create: boolean;
|
|
1733
1777
|
length?: string | number | undefined;
|
|
1778
|
+
weight?: string | number | undefined;
|
|
1779
|
+
width?: string | number | undefined;
|
|
1734
1780
|
inventory?: {
|
|
1735
1781
|
inventory_item_id: string;
|
|
1736
1782
|
required_quantity?: string | number | undefined;
|
|
1737
1783
|
}[] | undefined;
|
|
1738
|
-
|
|
1739
|
-
|
|
1784
|
+
sku?: string | undefined;
|
|
1785
|
+
hs_code?: string | undefined;
|
|
1740
1786
|
height?: string | number | undefined;
|
|
1741
1787
|
origin_country?: string | undefined;
|
|
1742
|
-
hs_code?: string | undefined;
|
|
1743
1788
|
mid_code?: string | undefined;
|
|
1744
1789
|
material?: string | undefined;
|
|
1745
|
-
manage_inventory?: boolean | undefined;
|
|
1746
|
-
allow_backorder?: boolean | undefined;
|
|
1747
|
-
sku?: string | undefined;
|
|
1748
|
-
barcode?: string | undefined;
|
|
1749
1790
|
prices?: Record<string, string | number | undefined> | undefined;
|
|
1791
|
+
is_default?: boolean | undefined;
|
|
1792
|
+
attribute_values?: Record<string, string> | undefined;
|
|
1793
|
+
barcode?: string | undefined;
|
|
1750
1794
|
ean?: string | undefined;
|
|
1751
1795
|
upc?: string | undefined;
|
|
1752
|
-
|
|
1796
|
+
allow_backorder?: boolean | undefined;
|
|
1797
|
+
manage_inventory?: boolean | undefined;
|
|
1753
1798
|
inventory_kit?: boolean | undefined;
|
|
1754
1799
|
}[];
|
|
1755
1800
|
discountable: boolean;
|
|
1756
|
-
|
|
1801
|
+
category_id: string;
|
|
1757
1802
|
length?: string | undefined;
|
|
1758
|
-
seller_id?: string | undefined;
|
|
1759
|
-
handle?: string | undefined;
|
|
1760
|
-
description?: string | undefined;
|
|
1761
|
-
media?: {
|
|
1762
|
-
url: string;
|
|
1763
|
-
isThumbnail: boolean;
|
|
1764
|
-
id?: string | undefined;
|
|
1765
|
-
file?: any;
|
|
1766
|
-
}[] | undefined;
|
|
1767
|
-
collection_id?: string | undefined;
|
|
1768
|
-
type_id?: string | undefined;
|
|
1769
|
-
subtitle?: string | undefined;
|
|
1770
|
-
width?: string | undefined;
|
|
1771
1803
|
weight?: string | undefined;
|
|
1804
|
+
width?: string | undefined;
|
|
1805
|
+
hs_code?: string | undefined;
|
|
1772
1806
|
height?: string | undefined;
|
|
1773
1807
|
origin_country?: string | undefined;
|
|
1774
|
-
hs_code?: string | undefined;
|
|
1775
1808
|
mid_code?: string | undefined;
|
|
1776
1809
|
material?: string | undefined;
|
|
1810
|
+
description?: string | undefined;
|
|
1811
|
+
handle?: string | undefined;
|
|
1812
|
+
subtitle?: string | undefined;
|
|
1813
|
+
collection_id?: string | undefined;
|
|
1814
|
+
type_id?: string | undefined;
|
|
1777
1815
|
tags?: string[] | undefined;
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1816
|
+
attributes?: {
|
|
1817
|
+
title: string;
|
|
1818
|
+
is_custom: boolean;
|
|
1819
|
+
use_for_variants: boolean;
|
|
1820
|
+
values?: string | string[] | undefined;
|
|
1821
|
+
type?: string | undefined;
|
|
1822
|
+
is_required?: boolean | undefined;
|
|
1823
|
+
attribute_id?: string | undefined;
|
|
1824
|
+
available_values?: {
|
|
1825
|
+
id: string;
|
|
1826
|
+
name: string;
|
|
1827
|
+
}[] | undefined;
|
|
1828
|
+
}[] | undefined;
|
|
1829
|
+
media?: {
|
|
1830
|
+
url: string;
|
|
1831
|
+
isThumbnail: boolean;
|
|
1832
|
+
file?: any;
|
|
1833
|
+
id?: string | undefined;
|
|
1781
1834
|
}[] | undefined;
|
|
1782
|
-
|
|
1835
|
+
seller_ids?: string[] | undefined;
|
|
1783
1836
|
}, {
|
|
1784
1837
|
title: string;
|
|
1785
|
-
options: {
|
|
1786
|
-
title: string;
|
|
1787
|
-
values: string[];
|
|
1788
|
-
}[];
|
|
1789
|
-
categories: string[];
|
|
1790
1838
|
variants: {
|
|
1791
1839
|
title: string;
|
|
1792
|
-
options: Record<string, string>;
|
|
1793
1840
|
variant_rank: number;
|
|
1794
1841
|
should_create: boolean;
|
|
1795
1842
|
length?: string | number | undefined;
|
|
1843
|
+
weight?: string | number | undefined;
|
|
1844
|
+
width?: string | number | undefined;
|
|
1796
1845
|
inventory?: {
|
|
1797
1846
|
inventory_item_id: string;
|
|
1798
1847
|
required_quantity?: string | number | undefined;
|
|
1799
1848
|
}[] | undefined;
|
|
1800
|
-
|
|
1801
|
-
|
|
1849
|
+
sku?: string | undefined;
|
|
1850
|
+
hs_code?: string | undefined;
|
|
1802
1851
|
height?: string | number | undefined;
|
|
1803
1852
|
origin_country?: string | undefined;
|
|
1804
|
-
hs_code?: string | undefined;
|
|
1805
1853
|
mid_code?: string | undefined;
|
|
1806
1854
|
material?: string | undefined;
|
|
1807
|
-
manage_inventory?: boolean | undefined;
|
|
1808
|
-
allow_backorder?: boolean | undefined;
|
|
1809
|
-
sku?: string | undefined;
|
|
1810
|
-
barcode?: string | undefined;
|
|
1811
1855
|
prices?: Record<string, string | number | undefined> | undefined;
|
|
1856
|
+
is_default?: boolean | undefined;
|
|
1857
|
+
attribute_values?: Record<string, string> | undefined;
|
|
1858
|
+
barcode?: string | undefined;
|
|
1812
1859
|
ean?: string | undefined;
|
|
1813
1860
|
upc?: string | undefined;
|
|
1814
|
-
|
|
1861
|
+
allow_backorder?: boolean | undefined;
|
|
1862
|
+
manage_inventory?: boolean | undefined;
|
|
1815
1863
|
inventory_kit?: boolean | undefined;
|
|
1816
1864
|
}[];
|
|
1817
1865
|
discountable: boolean;
|
|
1818
|
-
|
|
1866
|
+
category_id: string;
|
|
1819
1867
|
length?: string | undefined;
|
|
1820
|
-
seller_id?: string | undefined;
|
|
1821
|
-
handle?: string | undefined;
|
|
1822
|
-
description?: string | undefined;
|
|
1823
|
-
media?: {
|
|
1824
|
-
url: string;
|
|
1825
|
-
isThumbnail: boolean;
|
|
1826
|
-
id?: string | undefined;
|
|
1827
|
-
file?: any;
|
|
1828
|
-
}[] | undefined;
|
|
1829
|
-
collection_id?: string | undefined;
|
|
1830
|
-
type_id?: string | undefined;
|
|
1831
|
-
subtitle?: string | undefined;
|
|
1832
|
-
width?: string | undefined;
|
|
1833
1868
|
weight?: string | undefined;
|
|
1869
|
+
width?: string | undefined;
|
|
1870
|
+
hs_code?: string | undefined;
|
|
1834
1871
|
height?: string | undefined;
|
|
1835
1872
|
origin_country?: string | undefined;
|
|
1836
|
-
hs_code?: string | undefined;
|
|
1837
1873
|
mid_code?: string | undefined;
|
|
1838
1874
|
material?: string | undefined;
|
|
1875
|
+
description?: string | undefined;
|
|
1876
|
+
handle?: string | undefined;
|
|
1877
|
+
subtitle?: string | undefined;
|
|
1878
|
+
collection_id?: string | undefined;
|
|
1879
|
+
type_id?: string | undefined;
|
|
1839
1880
|
tags?: string[] | undefined;
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1881
|
+
attributes?: {
|
|
1882
|
+
title: string;
|
|
1883
|
+
is_custom: boolean;
|
|
1884
|
+
use_for_variants: boolean;
|
|
1885
|
+
values?: string | string[] | undefined;
|
|
1886
|
+
type?: string | undefined;
|
|
1887
|
+
is_required?: boolean | undefined;
|
|
1888
|
+
attribute_id?: string | undefined;
|
|
1889
|
+
available_values?: {
|
|
1890
|
+
id: string;
|
|
1891
|
+
name: string;
|
|
1892
|
+
}[] | undefined;
|
|
1843
1893
|
}[] | undefined;
|
|
1844
|
-
|
|
1894
|
+
media?: {
|
|
1895
|
+
url: string;
|
|
1896
|
+
isThumbnail: boolean;
|
|
1897
|
+
file?: any;
|
|
1898
|
+
id?: string | undefined;
|
|
1899
|
+
}[] | undefined;
|
|
1900
|
+
seller_ids?: string[] | undefined;
|
|
1845
1901
|
}>;
|
|
1846
1902
|
|
|
1847
1903
|
type ProductCreateSchemaType = z.infer<typeof ProductCreateSchema>;
|
|
@@ -1849,8 +1905,7 @@ type ProductCreateSchemaType = z.infer<typeof ProductCreateSchema>;
|
|
|
1849
1905
|
declare const ProductCreatePage: (({ children }: {
|
|
1850
1906
|
children?: ReactNode;
|
|
1851
1907
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
1852
|
-
Form: ({
|
|
1853
|
-
defaultChannel?: _medusajs_types.AdminSalesChannel;
|
|
1908
|
+
Form: ({ children, schema, defaultValues: extraDefaults, }: {
|
|
1854
1909
|
children?: ReactNode;
|
|
1855
1910
|
schema?: zod.ZodType<ProductCreateSchemaType>;
|
|
1856
1911
|
defaultValues?: react_hook_form.DeepPartial<ProductCreateSchemaType>;
|
|
@@ -1859,264 +1914,345 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
1859
1914
|
(): react_jsx_runtime.JSX.Element;
|
|
1860
1915
|
_tabMeta: TabDefinition<{
|
|
1861
1916
|
title: string;
|
|
1862
|
-
options: {
|
|
1863
|
-
title: string;
|
|
1864
|
-
values: string[];
|
|
1865
|
-
}[];
|
|
1866
|
-
categories: string[];
|
|
1867
1917
|
variants: {
|
|
1868
1918
|
title: string;
|
|
1869
|
-
options: Record<string, string>;
|
|
1870
1919
|
variant_rank: number;
|
|
1871
1920
|
should_create: boolean;
|
|
1872
1921
|
length?: string | number | undefined;
|
|
1922
|
+
weight?: string | number | undefined;
|
|
1923
|
+
width?: string | number | undefined;
|
|
1873
1924
|
inventory?: {
|
|
1874
1925
|
inventory_item_id: string;
|
|
1875
1926
|
required_quantity?: string | number | undefined;
|
|
1876
1927
|
}[] | undefined;
|
|
1877
|
-
|
|
1878
|
-
|
|
1928
|
+
sku?: string | undefined;
|
|
1929
|
+
hs_code?: string | undefined;
|
|
1879
1930
|
height?: string | number | undefined;
|
|
1880
1931
|
origin_country?: string | undefined;
|
|
1881
|
-
hs_code?: string | undefined;
|
|
1882
1932
|
mid_code?: string | undefined;
|
|
1883
1933
|
material?: string | undefined;
|
|
1884
|
-
manage_inventory?: boolean | undefined;
|
|
1885
|
-
allow_backorder?: boolean | undefined;
|
|
1886
|
-
sku?: string | undefined;
|
|
1887
|
-
barcode?: string | undefined;
|
|
1888
1934
|
prices?: Record<string, string | number | undefined> | undefined;
|
|
1935
|
+
is_default?: boolean | undefined;
|
|
1936
|
+
attribute_values?: Record<string, string> | undefined;
|
|
1937
|
+
barcode?: string | undefined;
|
|
1889
1938
|
ean?: string | undefined;
|
|
1890
1939
|
upc?: string | undefined;
|
|
1891
|
-
|
|
1940
|
+
allow_backorder?: boolean | undefined;
|
|
1941
|
+
manage_inventory?: boolean | undefined;
|
|
1892
1942
|
inventory_kit?: boolean | undefined;
|
|
1893
1943
|
}[];
|
|
1894
1944
|
discountable: boolean;
|
|
1895
|
-
|
|
1945
|
+
category_id: string;
|
|
1896
1946
|
length?: string | undefined;
|
|
1897
|
-
seller_id?: string | undefined;
|
|
1898
|
-
handle?: string | undefined;
|
|
1899
|
-
description?: string | undefined;
|
|
1900
|
-
media?: {
|
|
1901
|
-
url: string;
|
|
1902
|
-
isThumbnail: boolean;
|
|
1903
|
-
id?: string | undefined;
|
|
1904
|
-
file?: any;
|
|
1905
|
-
}[] | undefined;
|
|
1906
|
-
collection_id?: string | undefined;
|
|
1907
|
-
type_id?: string | undefined;
|
|
1908
|
-
subtitle?: string | undefined;
|
|
1909
|
-
width?: string | undefined;
|
|
1910
1947
|
weight?: string | undefined;
|
|
1948
|
+
width?: string | undefined;
|
|
1949
|
+
hs_code?: string | undefined;
|
|
1911
1950
|
height?: string | undefined;
|
|
1912
1951
|
origin_country?: string | undefined;
|
|
1913
|
-
hs_code?: string | undefined;
|
|
1914
1952
|
mid_code?: string | undefined;
|
|
1915
1953
|
material?: string | undefined;
|
|
1954
|
+
description?: string | undefined;
|
|
1955
|
+
handle?: string | undefined;
|
|
1956
|
+
subtitle?: string | undefined;
|
|
1957
|
+
collection_id?: string | undefined;
|
|
1958
|
+
type_id?: string | undefined;
|
|
1916
1959
|
tags?: string[] | undefined;
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1960
|
+
attributes?: {
|
|
1961
|
+
title: string;
|
|
1962
|
+
is_custom: boolean;
|
|
1963
|
+
use_for_variants: boolean;
|
|
1964
|
+
values?: string | string[] | undefined;
|
|
1965
|
+
type?: string | undefined;
|
|
1966
|
+
is_required?: boolean | undefined;
|
|
1967
|
+
attribute_id?: string | undefined;
|
|
1968
|
+
available_values?: {
|
|
1969
|
+
id: string;
|
|
1970
|
+
name: string;
|
|
1971
|
+
}[] | undefined;
|
|
1972
|
+
}[] | undefined;
|
|
1973
|
+
media?: {
|
|
1974
|
+
url: string;
|
|
1975
|
+
isThumbnail: boolean;
|
|
1976
|
+
file?: any;
|
|
1977
|
+
id?: string | undefined;
|
|
1920
1978
|
}[] | undefined;
|
|
1921
|
-
|
|
1979
|
+
seller_ids?: string[] | undefined;
|
|
1922
1980
|
}>;
|
|
1923
1981
|
};
|
|
1924
1982
|
OrganizeTab: {
|
|
1925
1983
|
(): react_jsx_runtime.JSX.Element;
|
|
1926
1984
|
_tabMeta: TabDefinition<{
|
|
1927
1985
|
title: string;
|
|
1928
|
-
options: {
|
|
1929
|
-
title: string;
|
|
1930
|
-
values: string[];
|
|
1931
|
-
}[];
|
|
1932
|
-
categories: string[];
|
|
1933
1986
|
variants: {
|
|
1934
1987
|
title: string;
|
|
1935
|
-
options: Record<string, string>;
|
|
1936
1988
|
variant_rank: number;
|
|
1937
1989
|
should_create: boolean;
|
|
1938
1990
|
length?: string | number | undefined;
|
|
1991
|
+
weight?: string | number | undefined;
|
|
1992
|
+
width?: string | number | undefined;
|
|
1939
1993
|
inventory?: {
|
|
1940
1994
|
inventory_item_id: string;
|
|
1941
1995
|
required_quantity?: string | number | undefined;
|
|
1942
1996
|
}[] | undefined;
|
|
1943
|
-
|
|
1944
|
-
|
|
1997
|
+
sku?: string | undefined;
|
|
1998
|
+
hs_code?: string | undefined;
|
|
1945
1999
|
height?: string | number | undefined;
|
|
1946
2000
|
origin_country?: string | undefined;
|
|
1947
|
-
hs_code?: string | undefined;
|
|
1948
2001
|
mid_code?: string | undefined;
|
|
1949
2002
|
material?: string | undefined;
|
|
1950
|
-
manage_inventory?: boolean | undefined;
|
|
1951
|
-
allow_backorder?: boolean | undefined;
|
|
1952
|
-
sku?: string | undefined;
|
|
1953
|
-
barcode?: string | undefined;
|
|
1954
2003
|
prices?: Record<string, string | number | undefined> | undefined;
|
|
2004
|
+
is_default?: boolean | undefined;
|
|
2005
|
+
attribute_values?: Record<string, string> | undefined;
|
|
2006
|
+
barcode?: string | undefined;
|
|
1955
2007
|
ean?: string | undefined;
|
|
1956
2008
|
upc?: string | undefined;
|
|
1957
|
-
|
|
2009
|
+
allow_backorder?: boolean | undefined;
|
|
2010
|
+
manage_inventory?: boolean | undefined;
|
|
1958
2011
|
inventory_kit?: boolean | undefined;
|
|
1959
2012
|
}[];
|
|
1960
2013
|
discountable: boolean;
|
|
1961
|
-
|
|
2014
|
+
category_id: string;
|
|
1962
2015
|
length?: string | undefined;
|
|
1963
|
-
seller_id?: string | undefined;
|
|
1964
|
-
handle?: string | undefined;
|
|
1965
|
-
description?: string | undefined;
|
|
1966
|
-
media?: {
|
|
1967
|
-
url: string;
|
|
1968
|
-
isThumbnail: boolean;
|
|
1969
|
-
id?: string | undefined;
|
|
1970
|
-
file?: any;
|
|
1971
|
-
}[] | undefined;
|
|
1972
|
-
collection_id?: string | undefined;
|
|
1973
|
-
type_id?: string | undefined;
|
|
1974
|
-
subtitle?: string | undefined;
|
|
1975
|
-
width?: string | undefined;
|
|
1976
2016
|
weight?: string | undefined;
|
|
2017
|
+
width?: string | undefined;
|
|
2018
|
+
hs_code?: string | undefined;
|
|
1977
2019
|
height?: string | undefined;
|
|
1978
2020
|
origin_country?: string | undefined;
|
|
1979
|
-
hs_code?: string | undefined;
|
|
1980
2021
|
mid_code?: string | undefined;
|
|
1981
2022
|
material?: string | undefined;
|
|
2023
|
+
description?: string | undefined;
|
|
2024
|
+
handle?: string | undefined;
|
|
2025
|
+
subtitle?: string | undefined;
|
|
2026
|
+
collection_id?: string | undefined;
|
|
2027
|
+
type_id?: string | undefined;
|
|
1982
2028
|
tags?: string[] | undefined;
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
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;
|
|
1986
2041
|
}[] | undefined;
|
|
1987
|
-
|
|
2042
|
+
media?: {
|
|
2043
|
+
url: string;
|
|
2044
|
+
isThumbnail: boolean;
|
|
2045
|
+
file?: any;
|
|
2046
|
+
id?: string | undefined;
|
|
2047
|
+
}[] | undefined;
|
|
2048
|
+
seller_ids?: string[] | undefined;
|
|
1988
2049
|
}>;
|
|
1989
2050
|
};
|
|
1990
|
-
|
|
2051
|
+
AttributesTab: {
|
|
1991
2052
|
(): react_jsx_runtime.JSX.Element;
|
|
1992
2053
|
_tabMeta: TabDefinition<{
|
|
1993
2054
|
title: string;
|
|
1994
|
-
options: {
|
|
1995
|
-
title: string;
|
|
1996
|
-
values: string[];
|
|
1997
|
-
}[];
|
|
1998
|
-
categories: string[];
|
|
1999
2055
|
variants: {
|
|
2000
2056
|
title: string;
|
|
2001
|
-
options: Record<string, string>;
|
|
2002
2057
|
variant_rank: number;
|
|
2003
2058
|
should_create: boolean;
|
|
2004
2059
|
length?: string | number | undefined;
|
|
2060
|
+
weight?: string | number | undefined;
|
|
2061
|
+
width?: string | number | undefined;
|
|
2005
2062
|
inventory?: {
|
|
2006
2063
|
inventory_item_id: string;
|
|
2007
2064
|
required_quantity?: string | number | undefined;
|
|
2008
2065
|
}[] | undefined;
|
|
2009
|
-
|
|
2010
|
-
|
|
2066
|
+
sku?: string | undefined;
|
|
2067
|
+
hs_code?: string | undefined;
|
|
2011
2068
|
height?: string | number | undefined;
|
|
2012
2069
|
origin_country?: string | undefined;
|
|
2013
|
-
hs_code?: string | undefined;
|
|
2014
2070
|
mid_code?: string | undefined;
|
|
2015
2071
|
material?: string | undefined;
|
|
2016
|
-
manage_inventory?: boolean | undefined;
|
|
2017
|
-
allow_backorder?: boolean | undefined;
|
|
2018
|
-
sku?: string | undefined;
|
|
2019
|
-
barcode?: string | undefined;
|
|
2020
2072
|
prices?: Record<string, string | number | undefined> | undefined;
|
|
2073
|
+
is_default?: boolean | undefined;
|
|
2074
|
+
attribute_values?: Record<string, string> | undefined;
|
|
2075
|
+
barcode?: string | undefined;
|
|
2021
2076
|
ean?: string | undefined;
|
|
2022
2077
|
upc?: string | undefined;
|
|
2023
|
-
|
|
2078
|
+
allow_backorder?: boolean | undefined;
|
|
2079
|
+
manage_inventory?: boolean | undefined;
|
|
2024
2080
|
inventory_kit?: boolean | undefined;
|
|
2025
2081
|
}[];
|
|
2026
2082
|
discountable: boolean;
|
|
2027
|
-
|
|
2083
|
+
category_id: string;
|
|
2028
2084
|
length?: string | undefined;
|
|
2029
|
-
|
|
2030
|
-
|
|
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;
|
|
2031
2092
|
description?: string | undefined;
|
|
2093
|
+
handle?: string | undefined;
|
|
2094
|
+
subtitle?: string | undefined;
|
|
2095
|
+
collection_id?: string | undefined;
|
|
2096
|
+
type_id?: string | undefined;
|
|
2097
|
+
tags?: string[] | undefined;
|
|
2098
|
+
attributes?: {
|
|
2099
|
+
title: string;
|
|
2100
|
+
is_custom: boolean;
|
|
2101
|
+
use_for_variants: boolean;
|
|
2102
|
+
values?: string | string[] | undefined;
|
|
2103
|
+
type?: string | undefined;
|
|
2104
|
+
is_required?: boolean | undefined;
|
|
2105
|
+
attribute_id?: string | undefined;
|
|
2106
|
+
available_values?: {
|
|
2107
|
+
id: string;
|
|
2108
|
+
name: string;
|
|
2109
|
+
}[] | undefined;
|
|
2110
|
+
}[] | undefined;
|
|
2032
2111
|
media?: {
|
|
2033
2112
|
url: string;
|
|
2034
2113
|
isThumbnail: boolean;
|
|
2035
|
-
id?: string | undefined;
|
|
2036
2114
|
file?: any;
|
|
2115
|
+
id?: string | undefined;
|
|
2037
2116
|
}[] | undefined;
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2117
|
+
seller_ids?: string[] | undefined;
|
|
2118
|
+
}>;
|
|
2119
|
+
};
|
|
2120
|
+
VariantsTab: {
|
|
2121
|
+
(): react_jsx_runtime.JSX.Element;
|
|
2122
|
+
_tabMeta: TabDefinition<{
|
|
2123
|
+
title: string;
|
|
2124
|
+
variants: {
|
|
2125
|
+
title: string;
|
|
2126
|
+
variant_rank: number;
|
|
2127
|
+
should_create: boolean;
|
|
2128
|
+
length?: string | number | undefined;
|
|
2129
|
+
weight?: string | number | undefined;
|
|
2130
|
+
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
|
+
height?: string | number | undefined;
|
|
2138
|
+
origin_country?: string | undefined;
|
|
2139
|
+
mid_code?: string | undefined;
|
|
2140
|
+
material?: string | undefined;
|
|
2141
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
2142
|
+
is_default?: boolean | undefined;
|
|
2143
|
+
attribute_values?: Record<string, string> | undefined;
|
|
2144
|
+
barcode?: string | undefined;
|
|
2145
|
+
ean?: string | undefined;
|
|
2146
|
+
upc?: string | undefined;
|
|
2147
|
+
allow_backorder?: boolean | undefined;
|
|
2148
|
+
manage_inventory?: boolean | undefined;
|
|
2149
|
+
inventory_kit?: boolean | undefined;
|
|
2150
|
+
}[];
|
|
2151
|
+
discountable: boolean;
|
|
2152
|
+
category_id: string;
|
|
2153
|
+
length?: string | undefined;
|
|
2042
2154
|
weight?: string | undefined;
|
|
2155
|
+
width?: string | undefined;
|
|
2156
|
+
hs_code?: string | undefined;
|
|
2043
2157
|
height?: string | undefined;
|
|
2044
2158
|
origin_country?: string | undefined;
|
|
2045
|
-
hs_code?: string | undefined;
|
|
2046
2159
|
mid_code?: string | undefined;
|
|
2047
2160
|
material?: string | undefined;
|
|
2161
|
+
description?: string | undefined;
|
|
2162
|
+
handle?: string | undefined;
|
|
2163
|
+
subtitle?: string | undefined;
|
|
2164
|
+
collection_id?: string | undefined;
|
|
2165
|
+
type_id?: string | undefined;
|
|
2048
2166
|
tags?: string[] | undefined;
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2167
|
+
attributes?: {
|
|
2168
|
+
title: string;
|
|
2169
|
+
is_custom: boolean;
|
|
2170
|
+
use_for_variants: boolean;
|
|
2171
|
+
values?: string | string[] | undefined;
|
|
2172
|
+
type?: string | undefined;
|
|
2173
|
+
is_required?: boolean | undefined;
|
|
2174
|
+
attribute_id?: string | undefined;
|
|
2175
|
+
available_values?: {
|
|
2176
|
+
id: string;
|
|
2177
|
+
name: string;
|
|
2178
|
+
}[] | undefined;
|
|
2179
|
+
}[] | undefined;
|
|
2180
|
+
media?: {
|
|
2181
|
+
url: string;
|
|
2182
|
+
isThumbnail: boolean;
|
|
2183
|
+
file?: any;
|
|
2184
|
+
id?: string | undefined;
|
|
2052
2185
|
}[] | undefined;
|
|
2053
|
-
|
|
2186
|
+
seller_ids?: string[] | undefined;
|
|
2054
2187
|
}>;
|
|
2055
2188
|
};
|
|
2056
2189
|
InventoryTab: {
|
|
2057
2190
|
(): react_jsx_runtime.JSX.Element;
|
|
2058
2191
|
_tabMeta: TabDefinition<{
|
|
2059
2192
|
title: string;
|
|
2060
|
-
options: {
|
|
2061
|
-
title: string;
|
|
2062
|
-
values: string[];
|
|
2063
|
-
}[];
|
|
2064
|
-
categories: string[];
|
|
2065
2193
|
variants: {
|
|
2066
2194
|
title: string;
|
|
2067
|
-
options: Record<string, string>;
|
|
2068
2195
|
variant_rank: number;
|
|
2069
2196
|
should_create: boolean;
|
|
2070
2197
|
length?: string | number | undefined;
|
|
2198
|
+
weight?: string | number | undefined;
|
|
2199
|
+
width?: string | number | undefined;
|
|
2071
2200
|
inventory?: {
|
|
2072
2201
|
inventory_item_id: string;
|
|
2073
2202
|
required_quantity?: string | number | undefined;
|
|
2074
2203
|
}[] | undefined;
|
|
2075
|
-
|
|
2076
|
-
|
|
2204
|
+
sku?: string | undefined;
|
|
2205
|
+
hs_code?: string | undefined;
|
|
2077
2206
|
height?: string | number | undefined;
|
|
2078
2207
|
origin_country?: string | undefined;
|
|
2079
|
-
hs_code?: string | undefined;
|
|
2080
2208
|
mid_code?: string | undefined;
|
|
2081
2209
|
material?: string | undefined;
|
|
2082
|
-
manage_inventory?: boolean | undefined;
|
|
2083
|
-
allow_backorder?: boolean | undefined;
|
|
2084
|
-
sku?: string | undefined;
|
|
2085
|
-
barcode?: string | undefined;
|
|
2086
2210
|
prices?: Record<string, string | number | undefined> | undefined;
|
|
2211
|
+
is_default?: boolean | undefined;
|
|
2212
|
+
attribute_values?: Record<string, string> | undefined;
|
|
2213
|
+
barcode?: string | undefined;
|
|
2087
2214
|
ean?: string | undefined;
|
|
2088
2215
|
upc?: string | undefined;
|
|
2089
|
-
|
|
2216
|
+
allow_backorder?: boolean | undefined;
|
|
2217
|
+
manage_inventory?: boolean | undefined;
|
|
2090
2218
|
inventory_kit?: boolean | undefined;
|
|
2091
2219
|
}[];
|
|
2092
2220
|
discountable: boolean;
|
|
2093
|
-
|
|
2221
|
+
category_id: string;
|
|
2094
2222
|
length?: string | undefined;
|
|
2095
|
-
seller_id?: string | undefined;
|
|
2096
|
-
handle?: string | undefined;
|
|
2097
|
-
description?: string | undefined;
|
|
2098
|
-
media?: {
|
|
2099
|
-
url: string;
|
|
2100
|
-
isThumbnail: boolean;
|
|
2101
|
-
id?: string | undefined;
|
|
2102
|
-
file?: any;
|
|
2103
|
-
}[] | undefined;
|
|
2104
|
-
collection_id?: string | undefined;
|
|
2105
|
-
type_id?: string | undefined;
|
|
2106
|
-
subtitle?: string | undefined;
|
|
2107
|
-
width?: string | undefined;
|
|
2108
2223
|
weight?: string | undefined;
|
|
2224
|
+
width?: string | undefined;
|
|
2225
|
+
hs_code?: string | undefined;
|
|
2109
2226
|
height?: string | undefined;
|
|
2110
2227
|
origin_country?: string | undefined;
|
|
2111
|
-
hs_code?: string | undefined;
|
|
2112
2228
|
mid_code?: string | undefined;
|
|
2113
2229
|
material?: string | undefined;
|
|
2230
|
+
description?: string | undefined;
|
|
2231
|
+
handle?: string | undefined;
|
|
2232
|
+
subtitle?: string | undefined;
|
|
2233
|
+
collection_id?: string | undefined;
|
|
2234
|
+
type_id?: string | undefined;
|
|
2114
2235
|
tags?: string[] | undefined;
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2236
|
+
attributes?: {
|
|
2237
|
+
title: string;
|
|
2238
|
+
is_custom: boolean;
|
|
2239
|
+
use_for_variants: boolean;
|
|
2240
|
+
values?: string | string[] | undefined;
|
|
2241
|
+
type?: string | undefined;
|
|
2242
|
+
is_required?: boolean | undefined;
|
|
2243
|
+
attribute_id?: string | undefined;
|
|
2244
|
+
available_values?: {
|
|
2245
|
+
id: string;
|
|
2246
|
+
name: string;
|
|
2247
|
+
}[] | undefined;
|
|
2248
|
+
}[] | undefined;
|
|
2249
|
+
media?: {
|
|
2250
|
+
url: string;
|
|
2251
|
+
isThumbnail: boolean;
|
|
2252
|
+
file?: any;
|
|
2253
|
+
id?: string | undefined;
|
|
2118
2254
|
}[] | undefined;
|
|
2119
|
-
|
|
2255
|
+
seller_ids?: string[] | undefined;
|
|
2120
2256
|
}>;
|
|
2121
2257
|
};
|
|
2122
2258
|
Tab: ({ children, }: {
|
|
@@ -2132,7 +2268,7 @@ declare const CreateProductVariantSchema: z.ZodObject<{
|
|
|
2132
2268
|
manage_inventory: z.ZodOptional<z.ZodBoolean>;
|
|
2133
2269
|
allow_backorder: z.ZodOptional<z.ZodBoolean>;
|
|
2134
2270
|
inventory_kit: z.ZodOptional<z.ZodBoolean>;
|
|
2135
|
-
|
|
2271
|
+
attribute_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
|
|
2136
2272
|
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>>;
|
|
2137
2273
|
inventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2138
2274
|
inventory_item_id: z.ZodString;
|
|
@@ -2146,27 +2282,27 @@ declare const CreateProductVariantSchema: z.ZodObject<{
|
|
|
2146
2282
|
}>, "many">>;
|
|
2147
2283
|
}, "strip", z.ZodTypeAny, {
|
|
2148
2284
|
title: string;
|
|
2149
|
-
options: Record<string, string>;
|
|
2150
2285
|
inventory?: {
|
|
2151
2286
|
inventory_item_id: string;
|
|
2152
2287
|
required_quantity?: string | number | undefined;
|
|
2153
2288
|
}[] | undefined;
|
|
2154
|
-
manage_inventory?: boolean | undefined;
|
|
2155
|
-
allow_backorder?: boolean | undefined;
|
|
2156
2289
|
sku?: string | undefined;
|
|
2157
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;
|
|
2158
2294
|
inventory_kit?: boolean | undefined;
|
|
2159
2295
|
}, {
|
|
2160
2296
|
title: string;
|
|
2161
|
-
options: Record<string, string>;
|
|
2162
2297
|
inventory?: {
|
|
2163
2298
|
inventory_item_id: string;
|
|
2164
2299
|
required_quantity?: string | number | undefined;
|
|
2165
2300
|
}[] | undefined;
|
|
2166
|
-
manage_inventory?: boolean | undefined;
|
|
2167
|
-
allow_backorder?: boolean | undefined;
|
|
2168
2301
|
sku?: string | undefined;
|
|
2169
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;
|
|
2170
2306
|
inventory_kit?: boolean | undefined;
|
|
2171
2307
|
}>;
|
|
2172
2308
|
|
|
@@ -2179,15 +2315,15 @@ declare function DetailsTab({ product }: DetailsTabProps): react_jsx_runtime.JSX
|
|
|
2179
2315
|
declare namespace DetailsTab {
|
|
2180
2316
|
var _tabMeta: TabDefinition<{
|
|
2181
2317
|
title: string;
|
|
2182
|
-
options: Record<string, string>;
|
|
2183
2318
|
inventory?: {
|
|
2184
2319
|
inventory_item_id: string;
|
|
2185
2320
|
required_quantity?: string | number | undefined;
|
|
2186
2321
|
}[] | undefined;
|
|
2187
|
-
manage_inventory?: boolean | undefined;
|
|
2188
|
-
allow_backorder?: boolean | undefined;
|
|
2189
2322
|
sku?: string | undefined;
|
|
2190
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;
|
|
2191
2327
|
inventory_kit?: boolean | undefined;
|
|
2192
2328
|
}>;
|
|
2193
2329
|
}
|
|
@@ -2196,15 +2332,15 @@ declare function PricingTab(): react_jsx_runtime.JSX.Element;
|
|
|
2196
2332
|
declare namespace PricingTab {
|
|
2197
2333
|
var _tabMeta: TabDefinition<{
|
|
2198
2334
|
title: string;
|
|
2199
|
-
options: Record<string, string>;
|
|
2200
2335
|
inventory?: {
|
|
2201
2336
|
inventory_item_id: string;
|
|
2202
2337
|
required_quantity?: string | number | undefined;
|
|
2203
2338
|
}[] | undefined;
|
|
2204
|
-
manage_inventory?: boolean | undefined;
|
|
2205
|
-
allow_backorder?: boolean | undefined;
|
|
2206
2339
|
sku?: string | undefined;
|
|
2207
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;
|
|
2208
2344
|
inventory_kit?: boolean | undefined;
|
|
2209
2345
|
}>;
|
|
2210
2346
|
}
|
|
@@ -2213,15 +2349,15 @@ declare function InventoryKitTab(): react_jsx_runtime.JSX.Element;
|
|
|
2213
2349
|
declare namespace InventoryKitTab {
|
|
2214
2350
|
var _tabMeta: TabDefinition<{
|
|
2215
2351
|
title: string;
|
|
2216
|
-
options: Record<string, string>;
|
|
2217
2352
|
inventory?: {
|
|
2218
2353
|
inventory_item_id: string;
|
|
2219
2354
|
required_quantity?: string | number | undefined;
|
|
2220
2355
|
}[] | undefined;
|
|
2221
|
-
manage_inventory?: boolean | undefined;
|
|
2222
|
-
allow_backorder?: boolean | undefined;
|
|
2223
2356
|
sku?: string | undefined;
|
|
2224
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;
|
|
2225
2361
|
inventory_kit?: boolean | undefined;
|
|
2226
2362
|
}>;
|
|
2227
2363
|
}
|
|
@@ -2230,7 +2366,7 @@ declare const ProductCreateVariantPage: (({ children }: {
|
|
|
2230
2366
|
children?: ReactNode;
|
|
2231
2367
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
2232
2368
|
Form: ({ product, children, schema, defaultValues: extraDefaults, }: {
|
|
2233
|
-
product:
|
|
2369
|
+
product: HttpTypes.AdminProduct;
|
|
2234
2370
|
children?: ReactNode;
|
|
2235
2371
|
schema?: zod.ZodType<CreateProductVariantSchemaType>;
|
|
2236
2372
|
defaultValues?: react_hook_form.DeepPartial<CreateProductVariantSchemaType>;
|
|
@@ -2306,16 +2442,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2306
2442
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2307
2443
|
}, "strip", z.ZodTypeAny, {
|
|
2308
2444
|
values: string | number | string[];
|
|
2309
|
-
operator: string;
|
|
2310
2445
|
attribute: string;
|
|
2446
|
+
operator: string;
|
|
2311
2447
|
id?: string | undefined;
|
|
2312
2448
|
required?: boolean | undefined;
|
|
2313
2449
|
disguised?: boolean | undefined;
|
|
2314
2450
|
field_type?: string | undefined;
|
|
2315
2451
|
}, {
|
|
2316
2452
|
values: string | number | string[];
|
|
2317
|
-
operator: string;
|
|
2318
2453
|
attribute: string;
|
|
2454
|
+
operator: string;
|
|
2319
2455
|
id?: string | undefined;
|
|
2320
2456
|
required?: boolean | undefined;
|
|
2321
2457
|
disguised?: boolean | undefined;
|
|
@@ -2337,16 +2473,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2337
2473
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2338
2474
|
}, "strip", z.ZodTypeAny, {
|
|
2339
2475
|
values: string | number | string[];
|
|
2340
|
-
operator: string;
|
|
2341
2476
|
attribute: string;
|
|
2477
|
+
operator: string;
|
|
2342
2478
|
id?: string | undefined;
|
|
2343
2479
|
required?: boolean | undefined;
|
|
2344
2480
|
disguised?: boolean | undefined;
|
|
2345
2481
|
field_type?: string | undefined;
|
|
2346
2482
|
}, {
|
|
2347
2483
|
values: string | number | string[];
|
|
2348
|
-
operator: string;
|
|
2349
2484
|
attribute: string;
|
|
2485
|
+
operator: string;
|
|
2350
2486
|
id?: string | undefined;
|
|
2351
2487
|
required?: boolean | undefined;
|
|
2352
2488
|
disguised?: boolean | undefined;
|
|
@@ -2362,16 +2498,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2362
2498
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2363
2499
|
}, "strip", z.ZodTypeAny, {
|
|
2364
2500
|
values: string | number | string[];
|
|
2365
|
-
operator: string;
|
|
2366
2501
|
attribute: string;
|
|
2502
|
+
operator: string;
|
|
2367
2503
|
id?: string | undefined;
|
|
2368
2504
|
required?: boolean | undefined;
|
|
2369
2505
|
disguised?: boolean | undefined;
|
|
2370
2506
|
field_type?: string | undefined;
|
|
2371
2507
|
}, {
|
|
2372
2508
|
values: string | number | string[];
|
|
2373
|
-
operator: string;
|
|
2374
2509
|
attribute: string;
|
|
2510
|
+
operator: string;
|
|
2375
2511
|
id?: string | undefined;
|
|
2376
2512
|
required?: boolean | undefined;
|
|
2377
2513
|
disguised?: boolean | undefined;
|
|
@@ -2382,12 +2518,11 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2382
2518
|
}, "strip", z.ZodTypeAny, {
|
|
2383
2519
|
value: string | number;
|
|
2384
2520
|
type: "fixed" | "percentage";
|
|
2385
|
-
|
|
2386
|
-
allocation: "once" | "each" | "across";
|
|
2521
|
+
allocation: "each" | "across" | "once";
|
|
2387
2522
|
target_rules: {
|
|
2388
2523
|
values: string | number | string[];
|
|
2389
|
-
operator: string;
|
|
2390
2524
|
attribute: string;
|
|
2525
|
+
operator: string;
|
|
2391
2526
|
id?: string | undefined;
|
|
2392
2527
|
required?: boolean | undefined;
|
|
2393
2528
|
disguised?: boolean | undefined;
|
|
@@ -2395,24 +2530,24 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2395
2530
|
}[];
|
|
2396
2531
|
buy_rules: {
|
|
2397
2532
|
values: string | number | string[];
|
|
2398
|
-
operator: string;
|
|
2399
2533
|
attribute: string;
|
|
2534
|
+
operator: string;
|
|
2400
2535
|
id?: string | undefined;
|
|
2401
2536
|
required?: boolean | undefined;
|
|
2402
2537
|
disguised?: boolean | undefined;
|
|
2403
2538
|
field_type?: string | undefined;
|
|
2404
2539
|
}[];
|
|
2540
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2405
2541
|
currency_code?: string | undefined;
|
|
2406
2542
|
max_quantity?: number | null | undefined;
|
|
2407
2543
|
}, {
|
|
2408
2544
|
value: string | number;
|
|
2409
2545
|
type: "fixed" | "percentage";
|
|
2410
|
-
|
|
2411
|
-
allocation: "once" | "each" | "across";
|
|
2546
|
+
allocation: "each" | "across" | "once";
|
|
2412
2547
|
target_rules: {
|
|
2413
2548
|
values: string | number | string[];
|
|
2414
|
-
operator: string;
|
|
2415
2549
|
attribute: string;
|
|
2550
|
+
operator: string;
|
|
2416
2551
|
id?: string | undefined;
|
|
2417
2552
|
required?: boolean | undefined;
|
|
2418
2553
|
disguised?: boolean | undefined;
|
|
@@ -2420,13 +2555,14 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2420
2555
|
}[];
|
|
2421
2556
|
buy_rules: {
|
|
2422
2557
|
values: string | number | string[];
|
|
2423
|
-
operator: string;
|
|
2424
2558
|
attribute: string;
|
|
2559
|
+
operator: string;
|
|
2425
2560
|
id?: string | undefined;
|
|
2426
2561
|
required?: boolean | undefined;
|
|
2427
2562
|
disguised?: boolean | undefined;
|
|
2428
2563
|
field_type?: string | undefined;
|
|
2429
2564
|
}[];
|
|
2565
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2430
2566
|
currency_code?: string | undefined;
|
|
2431
2567
|
max_quantity?: number | null | undefined;
|
|
2432
2568
|
}>;
|
|
@@ -2442,49 +2578,49 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2442
2578
|
type: z.ZodEnum<["spend", "usage", "use_by_attribute"]>;
|
|
2443
2579
|
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2444
2580
|
}, "strip", z.ZodTypeAny, {
|
|
2445
|
-
type: "
|
|
2581
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2446
2582
|
limit?: number | null | undefined;
|
|
2447
|
-
currency_code?: string | null | undefined;
|
|
2448
2583
|
attribute?: string | null | undefined;
|
|
2584
|
+
currency_code?: string | null | undefined;
|
|
2449
2585
|
}, {
|
|
2450
|
-
type: "
|
|
2586
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2451
2587
|
limit?: number | null | undefined;
|
|
2452
|
-
currency_code?: string | null | undefined;
|
|
2453
2588
|
attribute?: string | null | undefined;
|
|
2589
|
+
currency_code?: string | null | undefined;
|
|
2454
2590
|
}>;
|
|
2455
2591
|
}, "strip", z.ZodTypeAny, {
|
|
2456
2592
|
name: string;
|
|
2457
2593
|
campaign_identifier: string;
|
|
2458
|
-
starts_at: Date | null;
|
|
2459
|
-
ends_at: Date | null;
|
|
2460
2594
|
budget: {
|
|
2461
|
-
type: "
|
|
2595
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2462
2596
|
limit?: number | null | undefined;
|
|
2463
|
-
currency_code?: string | null | undefined;
|
|
2464
2597
|
attribute?: string | null | undefined;
|
|
2598
|
+
currency_code?: string | null | undefined;
|
|
2465
2599
|
};
|
|
2600
|
+
starts_at: Date | null;
|
|
2601
|
+
ends_at: Date | null;
|
|
2466
2602
|
description?: string | undefined;
|
|
2467
2603
|
}, {
|
|
2468
2604
|
name: string;
|
|
2469
2605
|
campaign_identifier: string;
|
|
2470
|
-
starts_at: Date | null;
|
|
2471
|
-
ends_at: Date | null;
|
|
2472
2606
|
budget: {
|
|
2473
|
-
type: "
|
|
2607
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2474
2608
|
limit?: number | null | undefined;
|
|
2475
|
-
currency_code?: string | null | undefined;
|
|
2476
2609
|
attribute?: string | null | undefined;
|
|
2610
|
+
currency_code?: string | null | undefined;
|
|
2477
2611
|
};
|
|
2612
|
+
starts_at: Date | null;
|
|
2613
|
+
ends_at: Date | null;
|
|
2478
2614
|
description?: string | undefined;
|
|
2479
2615
|
}>>;
|
|
2480
2616
|
}, "strip", z.ZodTypeAny, {
|
|
2481
2617
|
code: string;
|
|
2482
|
-
type: "standard" | "buyget";
|
|
2483
2618
|
status: "draft" | "active" | "inactive";
|
|
2619
|
+
type: "standard" | "buyget";
|
|
2484
2620
|
rules: {
|
|
2485
2621
|
values: string | number | string[];
|
|
2486
|
-
operator: string;
|
|
2487
2622
|
attribute: string;
|
|
2623
|
+
operator: string;
|
|
2488
2624
|
id?: string | undefined;
|
|
2489
2625
|
required?: boolean | undefined;
|
|
2490
2626
|
disguised?: boolean | undefined;
|
|
@@ -2494,12 +2630,11 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2494
2630
|
application_method: {
|
|
2495
2631
|
value: string | number;
|
|
2496
2632
|
type: "fixed" | "percentage";
|
|
2497
|
-
|
|
2498
|
-
allocation: "once" | "each" | "across";
|
|
2633
|
+
allocation: "each" | "across" | "once";
|
|
2499
2634
|
target_rules: {
|
|
2500
2635
|
values: string | number | string[];
|
|
2501
|
-
operator: string;
|
|
2502
2636
|
attribute: string;
|
|
2637
|
+
operator: string;
|
|
2503
2638
|
id?: string | undefined;
|
|
2504
2639
|
required?: boolean | undefined;
|
|
2505
2640
|
disguised?: boolean | undefined;
|
|
@@ -2507,41 +2642,42 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2507
2642
|
}[];
|
|
2508
2643
|
buy_rules: {
|
|
2509
2644
|
values: string | number | string[];
|
|
2510
|
-
operator: string;
|
|
2511
2645
|
attribute: string;
|
|
2646
|
+
operator: string;
|
|
2512
2647
|
id?: string | undefined;
|
|
2513
2648
|
required?: boolean | undefined;
|
|
2514
2649
|
disguised?: boolean | undefined;
|
|
2515
2650
|
field_type?: string | undefined;
|
|
2516
2651
|
}[];
|
|
2652
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2517
2653
|
currency_code?: string | undefined;
|
|
2518
2654
|
max_quantity?: number | null | undefined;
|
|
2519
2655
|
};
|
|
2520
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2521
|
-
campaign_id?: string | undefined;
|
|
2522
2656
|
campaign?: {
|
|
2523
2657
|
name: string;
|
|
2524
2658
|
campaign_identifier: string;
|
|
2525
|
-
starts_at: Date | null;
|
|
2526
|
-
ends_at: Date | null;
|
|
2527
2659
|
budget: {
|
|
2528
|
-
type: "
|
|
2660
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2529
2661
|
limit?: number | null | undefined;
|
|
2530
|
-
currency_code?: string | null | undefined;
|
|
2531
2662
|
attribute?: string | null | undefined;
|
|
2663
|
+
currency_code?: string | null | undefined;
|
|
2532
2664
|
};
|
|
2665
|
+
starts_at: Date | null;
|
|
2666
|
+
ends_at: Date | null;
|
|
2533
2667
|
description?: string | undefined;
|
|
2534
2668
|
} | undefined;
|
|
2669
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2670
|
+
campaign_id?: string | undefined;
|
|
2535
2671
|
template_id?: string | undefined;
|
|
2536
|
-
campaign_choice?: "
|
|
2672
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2537
2673
|
}, {
|
|
2538
2674
|
code: string;
|
|
2539
|
-
type: "standard" | "buyget";
|
|
2540
2675
|
status: "draft" | "active" | "inactive";
|
|
2676
|
+
type: "standard" | "buyget";
|
|
2541
2677
|
rules: {
|
|
2542
2678
|
values: string | number | string[];
|
|
2543
|
-
operator: string;
|
|
2544
2679
|
attribute: string;
|
|
2680
|
+
operator: string;
|
|
2545
2681
|
id?: string | undefined;
|
|
2546
2682
|
required?: boolean | undefined;
|
|
2547
2683
|
disguised?: boolean | undefined;
|
|
@@ -2551,12 +2687,11 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2551
2687
|
application_method: {
|
|
2552
2688
|
value: string | number;
|
|
2553
2689
|
type: "fixed" | "percentage";
|
|
2554
|
-
|
|
2555
|
-
allocation: "once" | "each" | "across";
|
|
2690
|
+
allocation: "each" | "across" | "once";
|
|
2556
2691
|
target_rules: {
|
|
2557
2692
|
values: string | number | string[];
|
|
2558
|
-
operator: string;
|
|
2559
2693
|
attribute: string;
|
|
2694
|
+
operator: string;
|
|
2560
2695
|
id?: string | undefined;
|
|
2561
2696
|
required?: boolean | undefined;
|
|
2562
2697
|
disguised?: boolean | undefined;
|
|
@@ -2564,41 +2699,42 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2564
2699
|
}[];
|
|
2565
2700
|
buy_rules: {
|
|
2566
2701
|
values: string | number | string[];
|
|
2567
|
-
operator: string;
|
|
2568
2702
|
attribute: string;
|
|
2703
|
+
operator: string;
|
|
2569
2704
|
id?: string | undefined;
|
|
2570
2705
|
required?: boolean | undefined;
|
|
2571
2706
|
disguised?: boolean | undefined;
|
|
2572
2707
|
field_type?: string | undefined;
|
|
2573
2708
|
}[];
|
|
2709
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2574
2710
|
currency_code?: string | undefined;
|
|
2575
2711
|
max_quantity?: number | null | undefined;
|
|
2576
2712
|
};
|
|
2577
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2578
|
-
campaign_id?: string | undefined;
|
|
2579
2713
|
campaign?: {
|
|
2580
2714
|
name: string;
|
|
2581
2715
|
campaign_identifier: string;
|
|
2582
|
-
starts_at: Date | null;
|
|
2583
|
-
ends_at: Date | null;
|
|
2584
2716
|
budget: {
|
|
2585
|
-
type: "
|
|
2717
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2586
2718
|
limit?: number | null | undefined;
|
|
2587
|
-
currency_code?: string | null | undefined;
|
|
2588
2719
|
attribute?: string | null | undefined;
|
|
2720
|
+
currency_code?: string | null | undefined;
|
|
2589
2721
|
};
|
|
2722
|
+
starts_at: Date | null;
|
|
2723
|
+
ends_at: Date | null;
|
|
2590
2724
|
description?: string | undefined;
|
|
2591
2725
|
} | undefined;
|
|
2726
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2727
|
+
campaign_id?: string | undefined;
|
|
2592
2728
|
template_id?: string | undefined;
|
|
2593
|
-
campaign_choice?: "
|
|
2729
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2594
2730
|
}>, {
|
|
2595
2731
|
code: string;
|
|
2596
|
-
type: "standard" | "buyget";
|
|
2597
2732
|
status: "draft" | "active" | "inactive";
|
|
2733
|
+
type: "standard" | "buyget";
|
|
2598
2734
|
rules: {
|
|
2599
2735
|
values: string | number | string[];
|
|
2600
|
-
operator: string;
|
|
2601
2736
|
attribute: string;
|
|
2737
|
+
operator: string;
|
|
2602
2738
|
id?: string | undefined;
|
|
2603
2739
|
required?: boolean | undefined;
|
|
2604
2740
|
disguised?: boolean | undefined;
|
|
@@ -2608,12 +2744,11 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2608
2744
|
application_method: {
|
|
2609
2745
|
value: string | number;
|
|
2610
2746
|
type: "fixed" | "percentage";
|
|
2611
|
-
|
|
2612
|
-
allocation: "once" | "each" | "across";
|
|
2747
|
+
allocation: "each" | "across" | "once";
|
|
2613
2748
|
target_rules: {
|
|
2614
2749
|
values: string | number | string[];
|
|
2615
|
-
operator: string;
|
|
2616
2750
|
attribute: string;
|
|
2751
|
+
operator: string;
|
|
2617
2752
|
id?: string | undefined;
|
|
2618
2753
|
required?: boolean | undefined;
|
|
2619
2754
|
disguised?: boolean | undefined;
|
|
@@ -2621,41 +2756,42 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2621
2756
|
}[];
|
|
2622
2757
|
buy_rules: {
|
|
2623
2758
|
values: string | number | string[];
|
|
2624
|
-
operator: string;
|
|
2625
2759
|
attribute: string;
|
|
2760
|
+
operator: string;
|
|
2626
2761
|
id?: string | undefined;
|
|
2627
2762
|
required?: boolean | undefined;
|
|
2628
2763
|
disguised?: boolean | undefined;
|
|
2629
2764
|
field_type?: string | undefined;
|
|
2630
2765
|
}[];
|
|
2766
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2631
2767
|
currency_code?: string | undefined;
|
|
2632
2768
|
max_quantity?: number | null | undefined;
|
|
2633
2769
|
};
|
|
2634
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2635
|
-
campaign_id?: string | undefined;
|
|
2636
2770
|
campaign?: {
|
|
2637
2771
|
name: string;
|
|
2638
2772
|
campaign_identifier: string;
|
|
2639
|
-
starts_at: Date | null;
|
|
2640
|
-
ends_at: Date | null;
|
|
2641
2773
|
budget: {
|
|
2642
|
-
type: "
|
|
2774
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2643
2775
|
limit?: number | null | undefined;
|
|
2644
|
-
currency_code?: string | null | undefined;
|
|
2645
2776
|
attribute?: string | null | undefined;
|
|
2777
|
+
currency_code?: string | null | undefined;
|
|
2646
2778
|
};
|
|
2779
|
+
starts_at: Date | null;
|
|
2780
|
+
ends_at: Date | null;
|
|
2647
2781
|
description?: string | undefined;
|
|
2648
2782
|
} | undefined;
|
|
2783
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2784
|
+
campaign_id?: string | undefined;
|
|
2649
2785
|
template_id?: string | undefined;
|
|
2650
|
-
campaign_choice?: "
|
|
2786
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2651
2787
|
}, {
|
|
2652
2788
|
code: string;
|
|
2653
|
-
type: "standard" | "buyget";
|
|
2654
2789
|
status: "draft" | "active" | "inactive";
|
|
2790
|
+
type: "standard" | "buyget";
|
|
2655
2791
|
rules: {
|
|
2656
2792
|
values: string | number | string[];
|
|
2657
|
-
operator: string;
|
|
2658
2793
|
attribute: string;
|
|
2794
|
+
operator: string;
|
|
2659
2795
|
id?: string | undefined;
|
|
2660
2796
|
required?: boolean | undefined;
|
|
2661
2797
|
disguised?: boolean | undefined;
|
|
@@ -2665,12 +2801,11 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2665
2801
|
application_method: {
|
|
2666
2802
|
value: string | number;
|
|
2667
2803
|
type: "fixed" | "percentage";
|
|
2668
|
-
|
|
2669
|
-
allocation: "once" | "each" | "across";
|
|
2804
|
+
allocation: "each" | "across" | "once";
|
|
2670
2805
|
target_rules: {
|
|
2671
2806
|
values: string | number | string[];
|
|
2672
|
-
operator: string;
|
|
2673
2807
|
attribute: string;
|
|
2808
|
+
operator: string;
|
|
2674
2809
|
id?: string | undefined;
|
|
2675
2810
|
required?: boolean | undefined;
|
|
2676
2811
|
disguised?: boolean | undefined;
|
|
@@ -2678,33 +2813,34 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2678
2813
|
}[];
|
|
2679
2814
|
buy_rules: {
|
|
2680
2815
|
values: string | number | string[];
|
|
2681
|
-
operator: string;
|
|
2682
2816
|
attribute: string;
|
|
2817
|
+
operator: string;
|
|
2683
2818
|
id?: string | undefined;
|
|
2684
2819
|
required?: boolean | undefined;
|
|
2685
2820
|
disguised?: boolean | undefined;
|
|
2686
2821
|
field_type?: string | undefined;
|
|
2687
2822
|
}[];
|
|
2823
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2688
2824
|
currency_code?: string | undefined;
|
|
2689
2825
|
max_quantity?: number | null | undefined;
|
|
2690
2826
|
};
|
|
2691
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2692
|
-
campaign_id?: string | undefined;
|
|
2693
2827
|
campaign?: {
|
|
2694
2828
|
name: string;
|
|
2695
2829
|
campaign_identifier: string;
|
|
2696
|
-
starts_at: Date | null;
|
|
2697
|
-
ends_at: Date | null;
|
|
2698
2830
|
budget: {
|
|
2699
|
-
type: "
|
|
2831
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2700
2832
|
limit?: number | null | undefined;
|
|
2701
|
-
currency_code?: string | null | undefined;
|
|
2702
2833
|
attribute?: string | null | undefined;
|
|
2834
|
+
currency_code?: string | null | undefined;
|
|
2703
2835
|
};
|
|
2836
|
+
starts_at: Date | null;
|
|
2837
|
+
ends_at: Date | null;
|
|
2704
2838
|
description?: string | undefined;
|
|
2705
2839
|
} | undefined;
|
|
2840
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2841
|
+
campaign_id?: string | undefined;
|
|
2706
2842
|
template_id?: string | undefined;
|
|
2707
|
-
campaign_choice?: "
|
|
2843
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2708
2844
|
}>;
|
|
2709
2845
|
type CreatePromotionSchemaType = z.infer<typeof CreatePromotionSchema>;
|
|
2710
2846
|
|
|
@@ -2723,12 +2859,12 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2723
2859
|
(): react_jsx_runtime.JSX.Element;
|
|
2724
2860
|
_tabMeta: TabDefinition<{
|
|
2725
2861
|
code: string;
|
|
2726
|
-
type: "standard" | "buyget";
|
|
2727
2862
|
status: "draft" | "active" | "inactive";
|
|
2863
|
+
type: "standard" | "buyget";
|
|
2728
2864
|
rules: {
|
|
2729
2865
|
values: string | number | string[];
|
|
2730
|
-
operator: string;
|
|
2731
2866
|
attribute: string;
|
|
2867
|
+
operator: string;
|
|
2732
2868
|
id?: string | undefined;
|
|
2733
2869
|
required?: boolean | undefined;
|
|
2734
2870
|
disguised?: boolean | undefined;
|
|
@@ -2738,12 +2874,11 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2738
2874
|
application_method: {
|
|
2739
2875
|
value: string | number;
|
|
2740
2876
|
type: "fixed" | "percentage";
|
|
2741
|
-
|
|
2742
|
-
allocation: "once" | "each" | "across";
|
|
2877
|
+
allocation: "each" | "across" | "once";
|
|
2743
2878
|
target_rules: {
|
|
2744
2879
|
values: string | number | string[];
|
|
2745
|
-
operator: string;
|
|
2746
2880
|
attribute: string;
|
|
2881
|
+
operator: string;
|
|
2747
2882
|
id?: string | undefined;
|
|
2748
2883
|
required?: boolean | undefined;
|
|
2749
2884
|
disguised?: boolean | undefined;
|
|
@@ -2751,33 +2886,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2751
2886
|
}[];
|
|
2752
2887
|
buy_rules: {
|
|
2753
2888
|
values: string | number | string[];
|
|
2754
|
-
operator: string;
|
|
2755
2889
|
attribute: string;
|
|
2890
|
+
operator: string;
|
|
2756
2891
|
id?: string | undefined;
|
|
2757
2892
|
required?: boolean | undefined;
|
|
2758
2893
|
disguised?: boolean | undefined;
|
|
2759
2894
|
field_type?: string | undefined;
|
|
2760
2895
|
}[];
|
|
2896
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2761
2897
|
currency_code?: string | undefined;
|
|
2762
2898
|
max_quantity?: number | null | undefined;
|
|
2763
2899
|
};
|
|
2764
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2765
|
-
campaign_id?: string | undefined;
|
|
2766
2900
|
campaign?: {
|
|
2767
2901
|
name: string;
|
|
2768
2902
|
campaign_identifier: string;
|
|
2769
|
-
starts_at: Date | null;
|
|
2770
|
-
ends_at: Date | null;
|
|
2771
2903
|
budget: {
|
|
2772
|
-
type: "
|
|
2904
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2773
2905
|
limit?: number | null | undefined;
|
|
2774
|
-
currency_code?: string | null | undefined;
|
|
2775
2906
|
attribute?: string | null | undefined;
|
|
2907
|
+
currency_code?: string | null | undefined;
|
|
2776
2908
|
};
|
|
2909
|
+
starts_at: Date | null;
|
|
2910
|
+
ends_at: Date | null;
|
|
2777
2911
|
description?: string | undefined;
|
|
2778
2912
|
} | undefined;
|
|
2913
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2914
|
+
campaign_id?: string | undefined;
|
|
2779
2915
|
template_id?: string | undefined;
|
|
2780
|
-
campaign_choice?: "
|
|
2916
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2781
2917
|
}>;
|
|
2782
2918
|
};
|
|
2783
2919
|
DetailsTab: {
|
|
@@ -2790,12 +2926,12 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2790
2926
|
}): react_jsx_runtime.JSX.Element;
|
|
2791
2927
|
_tabMeta: TabDefinition<{
|
|
2792
2928
|
code: string;
|
|
2793
|
-
type: "standard" | "buyget";
|
|
2794
2929
|
status: "draft" | "active" | "inactive";
|
|
2930
|
+
type: "standard" | "buyget";
|
|
2795
2931
|
rules: {
|
|
2796
2932
|
values: string | number | string[];
|
|
2797
|
-
operator: string;
|
|
2798
2933
|
attribute: string;
|
|
2934
|
+
operator: string;
|
|
2799
2935
|
id?: string | undefined;
|
|
2800
2936
|
required?: boolean | undefined;
|
|
2801
2937
|
disguised?: boolean | undefined;
|
|
@@ -2805,12 +2941,11 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2805
2941
|
application_method: {
|
|
2806
2942
|
value: string | number;
|
|
2807
2943
|
type: "fixed" | "percentage";
|
|
2808
|
-
|
|
2809
|
-
allocation: "once" | "each" | "across";
|
|
2944
|
+
allocation: "each" | "across" | "once";
|
|
2810
2945
|
target_rules: {
|
|
2811
2946
|
values: string | number | string[];
|
|
2812
|
-
operator: string;
|
|
2813
2947
|
attribute: string;
|
|
2948
|
+
operator: string;
|
|
2814
2949
|
id?: string | undefined;
|
|
2815
2950
|
required?: boolean | undefined;
|
|
2816
2951
|
disguised?: boolean | undefined;
|
|
@@ -2818,45 +2953,46 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2818
2953
|
}[];
|
|
2819
2954
|
buy_rules: {
|
|
2820
2955
|
values: string | number | string[];
|
|
2821
|
-
operator: string;
|
|
2822
2956
|
attribute: string;
|
|
2957
|
+
operator: string;
|
|
2823
2958
|
id?: string | undefined;
|
|
2824
2959
|
required?: boolean | undefined;
|
|
2825
2960
|
disguised?: boolean | undefined;
|
|
2826
2961
|
field_type?: string | undefined;
|
|
2827
2962
|
}[];
|
|
2963
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2828
2964
|
currency_code?: string | undefined;
|
|
2829
2965
|
max_quantity?: number | null | undefined;
|
|
2830
2966
|
};
|
|
2831
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2832
|
-
campaign_id?: string | undefined;
|
|
2833
2967
|
campaign?: {
|
|
2834
2968
|
name: string;
|
|
2835
2969
|
campaign_identifier: string;
|
|
2836
|
-
starts_at: Date | null;
|
|
2837
|
-
ends_at: Date | null;
|
|
2838
2970
|
budget: {
|
|
2839
|
-
type: "
|
|
2971
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2840
2972
|
limit?: number | null | undefined;
|
|
2841
|
-
currency_code?: string | null | undefined;
|
|
2842
2973
|
attribute?: string | null | undefined;
|
|
2974
|
+
currency_code?: string | null | undefined;
|
|
2843
2975
|
};
|
|
2976
|
+
starts_at: Date | null;
|
|
2977
|
+
ends_at: Date | null;
|
|
2844
2978
|
description?: string | undefined;
|
|
2845
2979
|
} | undefined;
|
|
2980
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2981
|
+
campaign_id?: string | undefined;
|
|
2846
2982
|
template_id?: string | undefined;
|
|
2847
|
-
campaign_choice?: "
|
|
2983
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2848
2984
|
}>;
|
|
2849
2985
|
};
|
|
2850
2986
|
CampaignTab: {
|
|
2851
2987
|
(): react_jsx_runtime.JSX.Element;
|
|
2852
2988
|
_tabMeta: TabDefinition<{
|
|
2853
2989
|
code: string;
|
|
2854
|
-
type: "standard" | "buyget";
|
|
2855
2990
|
status: "draft" | "active" | "inactive";
|
|
2991
|
+
type: "standard" | "buyget";
|
|
2856
2992
|
rules: {
|
|
2857
2993
|
values: string | number | string[];
|
|
2858
|
-
operator: string;
|
|
2859
2994
|
attribute: string;
|
|
2995
|
+
operator: string;
|
|
2860
2996
|
id?: string | undefined;
|
|
2861
2997
|
required?: boolean | undefined;
|
|
2862
2998
|
disguised?: boolean | undefined;
|
|
@@ -2866,12 +3002,11 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2866
3002
|
application_method: {
|
|
2867
3003
|
value: string | number;
|
|
2868
3004
|
type: "fixed" | "percentage";
|
|
2869
|
-
|
|
2870
|
-
allocation: "once" | "each" | "across";
|
|
3005
|
+
allocation: "each" | "across" | "once";
|
|
2871
3006
|
target_rules: {
|
|
2872
3007
|
values: string | number | string[];
|
|
2873
|
-
operator: string;
|
|
2874
3008
|
attribute: string;
|
|
3009
|
+
operator: string;
|
|
2875
3010
|
id?: string | undefined;
|
|
2876
3011
|
required?: boolean | undefined;
|
|
2877
3012
|
disguised?: boolean | undefined;
|
|
@@ -2879,33 +3014,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2879
3014
|
}[];
|
|
2880
3015
|
buy_rules: {
|
|
2881
3016
|
values: string | number | string[];
|
|
2882
|
-
operator: string;
|
|
2883
3017
|
attribute: string;
|
|
3018
|
+
operator: string;
|
|
2884
3019
|
id?: string | undefined;
|
|
2885
3020
|
required?: boolean | undefined;
|
|
2886
3021
|
disguised?: boolean | undefined;
|
|
2887
3022
|
field_type?: string | undefined;
|
|
2888
3023
|
}[];
|
|
3024
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2889
3025
|
currency_code?: string | undefined;
|
|
2890
3026
|
max_quantity?: number | null | undefined;
|
|
2891
3027
|
};
|
|
2892
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2893
|
-
campaign_id?: string | undefined;
|
|
2894
3028
|
campaign?: {
|
|
2895
3029
|
name: string;
|
|
2896
3030
|
campaign_identifier: string;
|
|
2897
|
-
starts_at: Date | null;
|
|
2898
|
-
ends_at: Date | null;
|
|
2899
3031
|
budget: {
|
|
2900
|
-
type: "
|
|
3032
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2901
3033
|
limit?: number | null | undefined;
|
|
2902
|
-
currency_code?: string | null | undefined;
|
|
2903
3034
|
attribute?: string | null | undefined;
|
|
3035
|
+
currency_code?: string | null | undefined;
|
|
2904
3036
|
};
|
|
3037
|
+
starts_at: Date | null;
|
|
3038
|
+
ends_at: Date | null;
|
|
2905
3039
|
description?: string | undefined;
|
|
2906
3040
|
} | undefined;
|
|
3041
|
+
is_tax_inclusive?: boolean | undefined;
|
|
3042
|
+
campaign_id?: string | undefined;
|
|
2907
3043
|
template_id?: string | undefined;
|
|
2908
|
-
campaign_choice?: "
|
|
3044
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2909
3045
|
}>;
|
|
2910
3046
|
};
|
|
2911
3047
|
Tab: ({ children, }: {
|
|
@@ -3044,42 +3180,42 @@ declare const StoreDetailPage: (({ children }: {
|
|
|
3044
3180
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
3045
3181
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
3046
3182
|
MainGeneralSection: ({ seller, children, }: {
|
|
3047
|
-
seller:
|
|
3183
|
+
seller: any;
|
|
3048
3184
|
children?: ReactNode;
|
|
3049
3185
|
}) => react_jsx_runtime.JSX.Element;
|
|
3050
3186
|
MainConfigurationSection: ({ seller, }: {
|
|
3051
|
-
seller:
|
|
3187
|
+
seller: any;
|
|
3052
3188
|
}) => react_jsx_runtime.JSX.Element;
|
|
3053
3189
|
MainPaymentDetailsSection: ({ seller, }: {
|
|
3054
|
-
seller:
|
|
3190
|
+
seller: any;
|
|
3055
3191
|
}) => react_jsx_runtime.JSX.Element;
|
|
3056
3192
|
MainCompanyDetailsSection: ({ seller, }: {
|
|
3057
|
-
seller:
|
|
3193
|
+
seller: any;
|
|
3058
3194
|
}) => react_jsx_runtime.JSX.Element;
|
|
3059
3195
|
SidebarAddressSection: ({ seller }: {
|
|
3060
|
-
seller:
|
|
3196
|
+
seller: any;
|
|
3061
3197
|
}) => react_jsx_runtime.JSX.Element;
|
|
3062
3198
|
SidebarSubscriptionSection: ({ seller, }: {
|
|
3063
|
-
seller:
|
|
3199
|
+
seller: any;
|
|
3064
3200
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
3065
3201
|
SidebarMembersSection: ({ sellerId }: {
|
|
3066
3202
|
sellerId: string;
|
|
3067
3203
|
}) => react_jsx_runtime.JSX.Element;
|
|
3068
3204
|
Header: ({ seller, children, }: {
|
|
3069
|
-
seller:
|
|
3205
|
+
seller: any;
|
|
3070
3206
|
} & {
|
|
3071
3207
|
children?: ReactNode;
|
|
3072
3208
|
}) => react_jsx_runtime.JSX.Element;
|
|
3073
3209
|
HeaderTitle: ({ seller }: {
|
|
3074
|
-
seller:
|
|
3210
|
+
seller: any;
|
|
3075
3211
|
}) => react_jsx_runtime.JSX.Element;
|
|
3076
3212
|
HeaderActions: ({ seller, children, }: {
|
|
3077
|
-
seller:
|
|
3213
|
+
seller: any;
|
|
3078
3214
|
} & {
|
|
3079
3215
|
children?: ReactNode;
|
|
3080
3216
|
}) => react_jsx_runtime.JSX.Element;
|
|
3081
3217
|
HeaderEditButton: ({ seller }: {
|
|
3082
|
-
seller:
|
|
3218
|
+
seller: any;
|
|
3083
3219
|
}) => react_jsx_runtime.JSX.Element;
|
|
3084
3220
|
};
|
|
3085
3221
|
|
|
@@ -3207,4 +3343,4 @@ declare const UserDetailPage: (({ children }: {
|
|
|
3207
3343
|
}) => react_jsx_runtime.JSX.Element;
|
|
3208
3344
|
};
|
|
3209
3345
|
|
|
3210
|
-
export { ApiKeyManagementDetailPage, ApiKeyManagementListPage, CampaignDetailPage, CampaignListPage, CategoryCreatePage, CategoryDetailPage, CategoryListPage, CollectionDetailPage, CollectionListPage, CommissionRateDetailPage, CommissionRateListPage, 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 };
|
|
3346
|
+
export { ApiKeyManagementDetailPage, ApiKeyManagementListPage, CampaignDetailPage, CampaignListPage, CategoryCreatePage, CategoryDetailPage, CategoryListPage, CollectionDetailPage, CollectionListPage, CommissionRateDetailPage, CommissionRateListPage, 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, ProductBrandDetailPage, ProductBrandListPage, 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 };
|