@mercurjs/admin 2.1.6 → 2.2.0-canary.11
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]-BAPEFPAO.js +505 -0
- package/dist/{add-campaign-promotions-6Z2STQT4.js → add-campaign-promotions-KOGSYV2W.js} +14 -16
- package/dist/{adjust-inventory-NVBPZYOF.js → adjust-inventory-3IQ657W2.js} +15 -15
- package/dist/{api-key-management-create-THDCXGWK.js → api-key-management-create-UD5V7TOU.js} +3 -3
- package/dist/{api-key-management-detail-IRYR6J2I.js → api-key-management-detail-NBNHERF6.js} +27 -27
- package/dist/{api-key-management-edit-LTVNXP6T.js → api-key-management-edit-4TLKJSAE.js} +3 -3
- package/dist/{api-key-management-list-4WCDP4B3.js → api-key-management-list-SZUSD6UI.js} +11 -13
- package/dist/{api-key-management-sales-channels-NVFG2ESH.js → api-key-management-sales-channels-TK6XEGF3.js} +15 -15
- package/dist/attribute-create-IKTP5XRS.js +583 -0
- package/dist/attribute-create-possible-value-EXVHC272.js +476 -0
- package/dist/{attribute-detail-R26GDX7Q.js → attribute-detail-V4QI34FV.js} +78 -69
- package/dist/attribute-edit-LUY66TG3.js +183 -0
- package/dist/attribute-edit-possible-value-IOS3625C.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-EMPHZ32M.js} +26 -29
- package/dist/{campaign-create-AZTR5UZP.js → campaign-create-VFFIIRE4.js} +5 -5
- package/dist/{campaign-detail-TCPO6DTI.js → campaign-detail-QY3AALUR.js} +29 -31
- package/dist/{campaign-list-DCLVAFEM.js → campaign-list-NQGNOFVZ.js} +10 -12
- package/dist/{categories-metadata-YVUNHMQT.js → categories-metadata-Z5JAWPAK.js} +19 -19
- package/dist/{category-create-DG3Z5RYE.js → category-create-GMCJABRW.js} +4 -4
- package/dist/{category-detail-K2UNFPRV.js → category-detail-IP5EPIUR.js} +32 -32
- package/dist/{category-edit-IXU6E3YT.js → category-edit-GLE4NTFG.js} +5 -5
- package/dist/{category-list-2MG37UXJ.js → category-list-SNVOQ64L.js} +11 -13
- package/dist/{category-organize-CCX2INRS.js → category-organize-UY4M4N7S.js} +2 -2
- package/dist/{category-products-LKT7564A.js → category-products-HWXJR7KR.js} +32 -32
- package/dist/{chunk-FSPZYOY6.js → chunk-2OF7GB7J.js} +4 -4
- package/dist/{chunk-W576GZBG.js → chunk-3AO6X4CE.js} +9 -9
- package/dist/{chunk-MANWKYT3.js → chunk-3HY4I76Q.js} +139 -204
- package/dist/{chunk-7YHAFHGI.js → chunk-3JSAS7QP.js} +92 -165
- package/dist/chunk-3VDLE5GA.js +87 -0
- package/dist/{chunk-GJPGL7RP.js → chunk-3VTAK3S6.js} +108 -28
- package/dist/{chunk-VIGX66F7.js → chunk-3XSC3NEG.js} +14 -1
- package/dist/{chunk-DBNPVU3L.js → chunk-453BC56K.js} +1 -1
- package/dist/{chunk-N23OD7WS.js → chunk-4GFS57XI.js} +7 -7
- package/dist/{chunk-EWMEXGFZ.js → chunk-4PU6GDCE.js} +19 -19
- package/dist/{chunk-C3WE6EFO.js → chunk-4YWKKCTT.js} +1 -2
- package/dist/chunk-533GMKEG.js +125 -0
- package/dist/{chunk-CEG375CR.js → chunk-5AZCIOS4.js} +4 -4
- package/dist/{chunk-X3YEY2PY.js → chunk-5FFZQPTT.js} +11 -11
- package/dist/{chunk-AEFDAU3Y.js → chunk-5KGMGL4N.js} +4 -24
- package/dist/chunk-5UPOHLBD.js +213 -0
- package/dist/{chunk-6676HWGI.js → chunk-623TMW36.js} +4 -4
- package/dist/{chunk-DL2ZIXBO.js → chunk-6FHQCLHQ.js} +1 -1
- package/dist/{chunk-WIQ2HBJG.js → chunk-72PLRAWM.js} +13 -13
- package/dist/{chunk-3IBSB2U6.js → chunk-7KZ5X5SU.js} +14 -14
- package/dist/chunk-7MMLCMV3.js +142 -0
- package/dist/{chunk-VGM5UQRA.js → chunk-A62MTLPR.js} +806 -327
- package/dist/{chunk-35Q6JF3S.js → chunk-A7JOHU6Q.js} +4 -4
- package/dist/{chunk-ARMGWHYU.js → chunk-ABWW3JHS.js} +19 -19
- package/dist/{chunk-UXD3VNBO.js → chunk-AJLGY3LQ.js} +1 -2
- package/dist/{chunk-HY3CV5V6.js → chunk-AKTAFKIU.js} +4 -4
- package/dist/{chunk-V7EPLR3E.js → chunk-BFT3CN5L.js} +10 -10
- package/dist/{chunk-HGULM6DF.js → chunk-BGQ7H2KL.js} +10 -10
- package/dist/{chunk-SOJ4TLWP.js → chunk-BPCU5QJE.js} +5 -5
- package/dist/{chunk-F67RRVMJ.js → chunk-BQ6ZDY6L.js} +13 -13
- 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-6A7MR5NS.js → chunk-CVZA23ES.js} +11 -11
- package/dist/{chunk-7MTFPHXR.js → chunk-CYGCCNIC.js} +8 -8
- package/dist/{chunk-6MJ5HPIP.js → chunk-D2VXOF46.js} +6 -6
- package/dist/{chunk-OQMBWJPH.js → chunk-DELK6EWH.js} +13 -187
- package/dist/{chunk-N57BOIPU.js → chunk-DJWOIRLV.js} +1 -1
- package/dist/{chunk-Z2QQZOG3.js → chunk-DN2K5EAH.js} +1 -1
- package/dist/{chunk-UEEYZGM3.js → chunk-DRJAKRTI.js} +46 -17
- package/dist/chunk-EBYWGIOR.js +334 -0
- package/dist/{chunk-MMEZWZXV.js → chunk-EGTH3PUK.js} +20 -20
- package/dist/{chunk-4LQX5FRH.js → chunk-EMQP2CNF.js} +5 -5
- package/dist/{chunk-WRRMBJBQ.js → chunk-ENFXIYIH.js} +1 -1
- package/dist/{chunk-KHHMQM2L.js → chunk-EYFWEKFJ.js} +5 -5
- package/dist/chunk-F52JLHE3.js +2051 -0
- package/dist/{chunk-MNYDJXTM.js → chunk-FB7DDNCA.js} +5 -5
- package/dist/{chunk-BEU674HI.js → chunk-FDD7TANX.js} +5 -5
- package/dist/{chunk-GZBVMHXS.js → chunk-FFNSWUDC.js} +10 -10
- package/dist/{chunk-Y3FXVIJO.js → chunk-FNKBJCNF.js} +6 -6
- package/dist/{chunk-GAD5DQOY.js → chunk-G5DQCCPL.js} +2 -2
- package/dist/{chunk-35NDMIYZ.js → chunk-GVEF6UDT.js} +1 -1
- package/dist/{chunk-5CK6XEFV.js → chunk-H3MAUKL7.js} +174 -118
- package/dist/{chunk-B6SYYKJI.js → chunk-HDOWEXDH.js} +13 -13
- package/dist/{chunk-Z4WRKGME.js → chunk-HEGPAGJT.js} +11 -11
- package/dist/{chunk-63OSYRLS.js → chunk-HR7TFO2X.js} +4 -4
- package/dist/{chunk-4Q7LZQVY.js → chunk-IAWZQKUH.js} +10 -10
- package/dist/chunk-IIFQ7KYL.js +171 -0
- package/dist/{chunk-DVKO4VRC.js → chunk-IQZ3T2Q4.js} +12 -12
- package/dist/{chunk-Y2M536WR.js → chunk-JHBNG7OD.js} +17 -0
- package/dist/{chunk-LNAXUDW2.js → chunk-JSH7JEKY.js} +60 -62
- package/dist/chunk-JSMUFZZN.js +101 -0
- package/dist/{chunk-X4DGVTMC.js → chunk-K4WU4PVL.js} +5 -5
- package/dist/{chunk-MWX5JCOM.js → chunk-KT7X72J4.js} +161 -172
- package/dist/{chunk-R46PKJUT.js → chunk-KXIA66EJ.js} +13 -13
- package/dist/{chunk-2OYCT5NO.js → chunk-LGL4QSGB.js} +6 -6
- package/dist/{chunk-PBQ5M44A.js → chunk-LJDGVBOQ.js} +11 -47
- package/dist/chunk-LO2ZWQGL.js +6 -0
- package/dist/{chunk-VVWB3GIK.js → chunk-LYZDVZWA.js} +3 -12
- package/dist/{chunk-SPIVEW2Y.js → chunk-M572YFDA.js} +8 -8
- package/dist/{chunk-4ZN3D4YS.js → chunk-MEXH366L.js} +9 -9
- package/dist/{chunk-MKA5JWE6.js → chunk-MR3MLNWV.js} +35 -35
- package/dist/{chunk-SJQG3RCN.js → chunk-MVDPDVMI.js} +19 -19
- package/dist/{chunk-J24X54DB.js → chunk-MVNO35S5.js} +7 -7
- package/dist/{chunk-XBHUWCBD.js → chunk-N4GJRJF5.js} +1 -1
- package/dist/{chunk-34I4QIBD.js → chunk-N6YOACEW.js} +1 -1
- package/dist/{chunk-NEN6KWAJ.js → chunk-N7OVIX55.js} +12 -12
- package/dist/{chunk-6YGOXPB5.js → chunk-NGDOLGBQ.js} +21 -9
- package/dist/{chunk-YKDEE7ZL.js → chunk-NJP3DEE5.js} +1 -1
- package/dist/{chunk-HKDFWQ6Q.js → chunk-NQEXDLYH.js} +460 -2
- package/dist/{chunk-AZAGUAN4.js → chunk-O2XHQTBX.js} +15 -15
- package/dist/{chunk-3IN6MMKV.js → chunk-OFOKVLV3.js} +2 -2
- package/dist/chunk-OMBP3YSV.js +165 -0
- package/dist/{chunk-B6FG7A6W.js → chunk-P5XVG4PY.js} +1 -1
- package/dist/{chunk-LFATSJPO.js → chunk-PASEZJC7.js} +9 -9
- package/dist/chunk-PT5PLV3N.js +78 -0
- package/dist/{chunk-4IZ2RD3L.js → chunk-PXKDYD3M.js} +8 -8
- package/dist/chunk-PYDRHQTY.js +24 -0
- package/dist/{chunk-XB3HXEZB.js → chunk-QLEGHL2Q.js} +78 -73
- package/dist/{chunk-3B6MTW5G.js → chunk-QUHSHIAC.js} +3 -0
- package/dist/{chunk-3DOCALSU.js → chunk-QUPUWR42.js} +395 -11
- package/dist/{chunk-NRJ7F7JW.js → chunk-R7ESTJHN.js} +14 -14
- package/dist/{chunk-7QWLLYOY.js → chunk-RQPDD3RI.js} +1 -1
- package/dist/{chunk-JCSPXBS3.js → chunk-SJGIQGEC.js} +1 -1
- package/dist/{chunk-3ZSYFPHB.js → chunk-SUVFPJ4J.js} +19 -19
- package/dist/{chunk-YEUUI6JF.js → chunk-TE4IF3MM.js} +1 -1
- package/dist/{chunk-OVEBN3NC.js → chunk-TZDRRTAX.js} +5 -5
- package/dist/{chunk-HNUA6XIW.js → chunk-UCX2T4BQ.js} +14 -14
- package/dist/{chunk-GZMXTNDN.js → chunk-UCYSCKZV.js} +1432 -1380
- package/dist/chunk-UIVWOKWT.js +63 -0
- package/dist/{chunk-3T5S5RDO.js → chunk-UXGLM3B4.js} +4 -4
- package/dist/{chunk-UYO5Y4JI.js → chunk-VT5E7OMM.js} +11 -11
- package/dist/{chunk-TAKEQAZZ.js → chunk-VT6QIVZW.js} +0 -93
- package/dist/{chunk-5ZBQICCP.js → chunk-VY7PT4SI.js} +15 -15
- package/dist/{chunk-O5YFLNSQ.js → chunk-W3FDZPPF.js} +101 -290
- package/dist/chunk-W6CW4WHC.js +1755 -0
- package/dist/{chunk-ORI7UXS6.js → chunk-W6V2L2FX.js} +6 -6
- package/dist/chunk-WPVDACTL.js +60 -0
- package/dist/{chunk-5OS2MBRB.js → chunk-WTK4MLMF.js} +8 -8
- package/dist/{chunk-GDHF6CT5.js → chunk-X45JKZYW.js} +11 -11
- package/dist/{chunk-PIZ7FN3L.js → chunk-X7H7TIOT.js} +16 -16
- package/dist/{chunk-GKJLFLGN.js → chunk-XJ3WC4G7.js} +4 -4
- package/dist/{chunk-SESTTUVM.js → chunk-YN3FGNJM.js} +53 -1
- package/dist/{chunk-S4SVK5DE.js → chunk-YVLANFBK.js} +29 -1
- package/dist/{chunk-U7WZYWGA.js → chunk-Z5T5EPLF.js} +1 -1
- package/dist/{chunk-M73MP4NC.js → chunk-ZO7A6VYP.js} +19 -19
- package/dist/{collection-add-products-IRYJ6U6P.js → collection-add-products-ABWXUOFD.js} +32 -32
- package/dist/{collection-create-3BTRORHU.js → collection-create-BRMP6SIZ.js} +2 -2
- package/dist/{collection-detail-263PM4DL.js → collection-detail-AMGR2B5N.js} +30 -30
- package/dist/{collection-edit-L5GPFBBX.js → collection-edit-YLWUEU4C.js} +2 -2
- package/dist/{collection-list-CEU2EZ6K.js → collection-list-6HZE43AC.js} +38 -40
- package/dist/{collection-metadata-KHGPTV5C.js → collection-metadata-JS5QP3GD.js} +19 -19
- package/dist/{commission-rate-create-U3XQ4S27.js → commission-rate-create-PSPSJZR5.js} +57 -58
- package/dist/{commission-rate-detail-MY3F2RHR.js → commission-rate-detail-U72E4ZIO.js} +20 -20
- package/dist/{commission-rate-edit-MPEWXGTE.js → commission-rate-edit-7NJPABVA.js} +57 -58
- package/dist/{commission-rate-list-JPBOTOTA.js → commission-rate-list-Y5XLEO67.js} +8 -10
- package/dist/{constants-CAwtRicB.d.ts → constants-Bahlh59D.d.ts} +8 -4
- package/dist/{customer-detail-2QBJPF7S.js → customer-detail-2RWBN6C4.js} +30 -32
- 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-ED66F7JM.js} +26 -28
- package/dist/{customer-group-list-3NEEJXQH.js → customer-group-list-6YUFKBHH.js} +26 -28
- package/dist/{customer-group-metadata-YJXZFSFG.js → customer-group-metadata-VQUOWR3P.js} +19 -19
- package/dist/{customer-list-ZIFNZXO4.js → customer-list-MB6WZFMA.js} +11 -13
- package/dist/{customer-metadata-SG6M7X3Q.js → customer-metadata-47AVJXRI.js} +19 -19
- package/dist/{customers-add-customer-group-OQIFQZBL.js → customers-add-customer-group-HI7J7YKN.js} +29 -31
- package/dist/{edit-inventory-item-TDG2ZTPM.js → edit-inventory-item-MBPSBJL4.js} +15 -15
- package/dist/{edit-inventory-item-attributes-T56PJTCT.js → edit-inventory-item-attributes-RVYWOFAC.js} +15 -15
- package/dist/{edit-reservation-T6SKOG2F.js → edit-reservation-7BLGYXCJ.js} +5 -5
- package/dist/{edit-rules-4AHZQGCX.js → edit-rules-ZWDKM5M3.js} +19 -18
- package/dist/index.d.ts +2 -2
- package/dist/index.js +792 -632
- package/dist/{inventory-create-P26OGAHD.js → inventory-create-Q4VBPXSG.js} +22 -22
- package/dist/{inventory-detail-7W7UUWNT.js → inventory-detail-6CKO3A3Y.js} +28 -30
- package/dist/{inventory-list-PA4B4RWY.js → inventory-list-2JGX6BRI.js} +10 -12
- package/dist/{inventory-metadata-LUGA3KNV.js → inventory-metadata-COGGE5ZR.js} +19 -19
- package/dist/{inventory-stock-UZSYXXPX.js → inventory-stock-2QIKS7LE.js} +204 -42
- package/dist/loader-OU7SKXOD.js +28 -0
- package/dist/{location-detail-RUC2ZP3K.js → location-detail-HOCNTQ7K.js} +24 -24
- package/dist/{location-fulfillment-providers-WDET6TJP.js → location-fulfillment-providers-YQ2XFPAJ.js} +38 -39
- package/dist/{location-list-R7EECG5Z.js → location-list-I2UMU25V.js} +21 -22
- package/dist/{location-sales-channels-IS6E3I4S.js → location-sales-channels-GKIWX6B2.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-6GYLJHEC.js} +25 -24
- 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-POBJOF3Z.js} +13 -13
- package/dist/{login-EWHQY6G3.js → login-N7CVSQNG.js} +15 -15
- package/dist/{manage-locations-TU5HCIKG.js → manage-locations-TKLOHP3D.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-K52ALYGT.js} +27 -29
- package/dist/{marketplace-edit-U5B6WA56.js → marketplace-edit-6Q3G2OY5.js} +5 -4
- package/dist/{marketplace-metadata-VYCPYFJD.js → marketplace-metadata-ZSX3IQF4.js} +22 -22
- package/dist/offers-UBD6NICA.js +442 -0
- package/dist/{order-create-claim-R2SX6YUS.js → order-create-claim-OVHMMR3J.js} +284 -293
- package/dist/{order-create-edit-AONQC3TO.js → order-create-edit-HEOYCYZO.js} +216 -155
- package/dist/{order-create-exchange-7KKMJHXE.js → order-create-exchange-L56VKQBL.js} +291 -271
- package/dist/{order-create-refund-KWYYLAED.js → order-create-refund-UTJKJ3AJ.js} +23 -23
- package/dist/{order-create-return-BQFRANNG.js → order-create-return-FLGYGUTQ.js} +66 -41
- package/dist/{order-detail-BITJD73H.js → order-detail-KAB4MV7X.js} +34 -37
- package/dist/{order-edit-billing-address-FLEI4VDB.js → order-edit-billing-address-RUURVISC.js} +18 -18
- package/dist/{order-edit-email-AZIA6X5Q.js → order-edit-email-OO7AMRHC.js} +17 -17
- package/dist/{order-edit-shipping-address-GJMUSOPK.js → order-edit-shipping-address-BRRXUE76.js} +17 -17
- package/dist/{order-list-O7C7ENXI.js → order-list-S3AJC6L5.js} +26 -28
- package/dist/{order-metadata-RXIJOP4V.js → order-metadata-OHK6TPAO.js} +20 -20
- package/dist/{order-request-transfer-6IZVCHGV.js → order-request-transfer-YLMXC7NL.js} +19 -18
- package/dist/pages/index.d.ts +562 -706
- package/dist/pages/index.js +202 -205
- 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-Q5H22ZE2.js} +13 -15
- package/dist/{price-list-create-NQFC2JIJ.js → price-list-create-OYAVGRM5.js} +37 -37
- package/dist/{price-list-detail-HRVLVBPS.js → price-list-detail-Q4GFFUFG.js} +32 -32
- package/dist/{price-list-edit-BVVLQ5WV.js → price-list-edit-YY4SXEI3.js} +5 -5
- package/dist/{price-list-list-K4IJFZYH.js → price-list-list-OIOY43TF.js} +13 -15
- package/dist/{price-list-prices-add-WXEGEWRA.js → price-list-prices-add-KONZVSVQ.js} +33 -33
- package/dist/{price-list-prices-edit-KJEKS6TL.js → price-list-prices-edit-SMUKU7Q6.js} +24 -24
- package/dist/product-add-existing-attributes-GGRRNFDK.js +456 -0
- package/dist/{product-attributes-ASPKDH7H.js → product-attributes-C3KHQF2I.js} +4 -4
- package/dist/product-bulk-edit-J3CMBZN2.js +285 -0
- package/dist/{product-create-BDQ66ECX.js → product-create-UR5OFGUY.js} +38 -39
- package/dist/product-create-attribute-XARMC6FJ.js +224 -0
- package/dist/product-create-variant-6VUKYLWE.js +20 -0
- package/dist/{product-detail-DCHR4B4T.js → product-detail-OLFVJZ7T.js} +26 -30
- package/dist/{product-edit-IASCMBET.js → product-edit-F4CKOIUO.js} +13 -8
- package/dist/product-edit-attribute-LG2ZM6HQ.js +175 -0
- package/dist/{product-list-X72QPKOK.js → product-list-2BWYAATR.js} +33 -33
- package/dist/{product-media-VNSFLCSH.js → product-media-EUDMCJ75.js} +16 -9
- package/dist/{product-metadata-GJ7C2UJG.js → product-metadata-5WVNFCRL.js} +22 -22
- package/dist/{product-organization-PN22LYKQ.js → product-organization-BFWDCHP4.js} +18 -18
- package/dist/{product-sales-channels-J2ZNRKZT.js → product-sales-channels-WKQSYOEX.js} +15 -15
- package/dist/{product-shipping-profile-G7UPGWYK.js → product-shipping-profile-WDLKA2SN.js} +6 -5
- package/dist/{product-tag-create-PHJICTE4.js → product-tag-create-KQSVCWMC.js} +15 -15
- package/dist/{product-tag-detail-4CKJMGHR.js → product-tag-detail-CWDAY7F3.js} +54 -55
- package/dist/{product-tag-edit-G4UNGXPT.js → product-tag-edit-B4SIZCUK.js} +15 -15
- package/dist/{product-tag-list-WQLWIZZW.js → product-tag-list-2OK3OCMZ.js} +54 -55
- package/dist/{product-tag-metadata-I4V6CR6Z.js → product-tag-metadata-MASTMIKE.js} +19 -19
- package/dist/{product-type-detail-7GHH4ACU.js → product-type-detail-3X7ZTZJN.js} +30 -30
- package/dist/{product-type-list-LTYTTF4F.js → product-type-list-TM26QMHR.js} +12 -14
- package/dist/{product-type-metadata-KGVRMMTQ.js → product-type-metadata-6BKTQHQC.js} +19 -19
- package/dist/{product-variant-detail-PHGVJWUV.js → product-variant-detail-PQ4RKPZT.js} +23 -43
- package/dist/product-variant-edit-TLF475SH.js +776 -0
- package/dist/{product-variant-metadata-HV72UBCP.js → product-variant-metadata-3M72B3PM.js} +19 -19
- package/dist/{profile-detail-UQTGEFYF.js → profile-detail-ZRL5SERS.js} +4 -4
- package/dist/{promotion-add-campaign-M4OT6URB.js → promotion-add-campaign-S3JJSFHT.js} +8 -7
- package/dist/{promotion-create-GM37OXEW.js → promotion-create-OKZBUSJD.js} +25 -24
- package/dist/{promotion-detail-PDBRQII7.js → promotion-detail-MMNEDRXD.js} +23 -23
- package/dist/{promotion-list-XW4PNLJF.js → promotion-list-DHWW7FTI.js} +13 -15
- package/dist/{refund-reason-create-M2CYTCEM.js → refund-reason-create-N4DZ4UHS.js} +15 -15
- package/dist/{refund-reason-edit-M4XBV633.js → refund-reason-edit-OAHRDKXW.js} +15 -15
- package/dist/{refund-reason-list-OXBLAGYO.js → refund-reason-list-YLH4LD4S.js} +40 -39
- 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-BJSTTZFL.js} +22 -22
- package/dist/{reservation-create-26QAWABA.js → reservation-create-TXYAY3KF.js} +2 -2
- package/dist/{reservation-detail-G26K6HZV.js → reservation-detail-CEENG76D.js} +23 -23
- package/dist/{reservation-list-CHHR6CEV.js → reservation-list-SORWYHI4.js} +11 -13
- package/dist/{reservation-metadata-JFLJ27A3.js → reservation-metadata-G3QBZF4K.js} +22 -22
- package/dist/{reset-password-S6IBWG47.js → reset-password-QGQ4GAHK.js} +1 -1
- package/dist/{return-reason-list-65LQDOZB.js → return-reason-list-7HTIV7NK.js} +28 -29
- package/dist/{sales-channel-add-products-FH7B7UYR.js → sales-channel-add-products-3VZ5SLLP.js} +33 -33
- package/dist/{sales-channel-create-NSZEHGZE.js → sales-channel-create-XBR3QESI.js} +2 -2
- package/dist/{sales-channel-detail-KCS472HN.js → sales-channel-detail-PHRSKCNM.js} +30 -30
- package/dist/{sales-channel-edit-W6Z2ERBJ.js → sales-channel-edit-ILBZBQP4.js} +2 -2
- package/dist/{sales-channel-list-6HBRUZ2Z.js → sales-channel-list-3GCESYAM.js} +23 -23
- package/dist/{sales-channel-metadata-NDSKXOGH.js → sales-channel-metadata-HVPGS756.js} +19 -19
- package/dist/{shipping-option-type-create-MEL24PGH.js → shipping-option-type-create-3ZKT7WAC.js} +15 -15
- package/dist/{shipping-option-type-detail-IS7CNAYI.js → shipping-option-type-detail-IYXWAK7F.js} +21 -21
- package/dist/{shipping-option-type-edit-IVBHURXR.js → shipping-option-type-edit-QRXYNNRW.js} +15 -15
- package/dist/{shipping-option-type-list-BTPCLBSD.js → shipping-option-type-list-MLIDCA3L.js} +26 -28
- package/dist/{shipping-profile-detail-L3IHPGLL.js → shipping-profile-detail-YAKZHWZI.js} +5 -5
- package/dist/{shipping-profile-metadata-UZPX2PHJ.js → shipping-profile-metadata-T4HPNTLH.js} +21 -21
- package/dist/{shipping-profiles-list-2JKVMEZG.js → shipping-profiles-list-JF2SQIQ7.js} +9 -11
- package/dist/{store-bulk-edit-WBBPQAAC.js → store-bulk-edit-BNF3HH5K.js} +7 -7
- package/dist/{store-create-OQVFVIK4.js → store-create-KFLNOD73.js} +18 -18
- package/dist/{store-details-NRNZNKBY.js → store-details-E347PHAN.js} +47 -62
- package/dist/{store-edit-PZWUMDFA.js → store-edit-Y6NLBIOP.js} +14 -14
- package/dist/{store-list-GWOYTUBA.js → store-list-S2L44OLB.js} +39 -41
- package/dist/{store-member-invite-Z5S63WYE.js → store-member-invite-J5XSPWMW.js} +3 -3
- package/dist/{tax-region-create-5DDZ23QQ.js → tax-region-create-MIDQXQS4.js} +18 -17
- package/dist/{tax-region-detail-VNBNS7FS.js → tax-region-detail-AC7B3G57.js} +28 -29
- package/dist/{tax-region-edit-OARZRBVK.js → tax-region-edit-5CORTHTC.js} +17 -16
- package/dist/{tax-region-list-WCHVLVVC.js → tax-region-list-FIBHEFVD.js} +9 -9
- package/dist/{tax-region-metadata-XJRFOG7I.js → tax-region-metadata-QQZIQPAD.js} +19 -19
- package/dist/{tax-region-province-detail-MXYZMUX7.js → tax-region-province-detail-2MGX7LEO.js} +26 -27
- package/dist/{tax-region-tax-override-create-LGST6PD7.js → tax-region-tax-override-create-IONGD4TG.js} +57 -58
- package/dist/{tax-region-tax-override-edit-5XNWTGDS.js → tax-region-tax-override-edit-RIT6YRVK.js} +57 -58
- package/dist/{user-detail-LGIMHLY4.js → user-detail-MMVBN3AE.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-OZLU3Y2X.js} +19 -19
- package/package.json +5 -5
- 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-2U5BRCQO.js +0 -170
- package/dist/chunk-33XUAKRP.js +0 -6
- package/dist/chunk-4GPAS5GW.js +0 -36
- package/dist/chunk-4ZTZTIIM.js +0 -69
- package/dist/chunk-7O5NDICV.js +0 -120
- package/dist/chunk-7XXM72CF.js +0 -679
- 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-OG4WH7IW.js +0 -420
- package/dist/chunk-QOQSXNEF.js +0 -37
- package/dist/chunk-QSGR43JM.js +0 -30
- package/dist/chunk-RSBZREKG.js +0 -144
- package/dist/chunk-RXM4B6HR.js +0 -8
- package/dist/chunk-UM7ZR3VU.js +0 -14
- 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/order-allocate-items-2B6T5JCK.js +0 -563
- package/dist/order-create-fulfillment-2FTTWTFE.js +0 -642
- package/dist/order-create-shipment-7XP6PDTD.js +0 -214
- package/dist/order-receive-return-JV3X7YHG.js +0 -562
- package/dist/product-create-option-B7SV42LO.js +0 -148
- package/dist/product-create-variant-7YAG2YRZ.js +0 -56
- package/dist/product-edit-option-KVTIY5NM.js +0 -156
- package/dist/product-export-YZ2XSXFN.js +0 -137
- package/dist/product-import-KOSPPCSW.js +0 -267
- package/dist/product-prices-HI4SOTMP.js +0 -267
- package/dist/product-stock-666D3AMJ.js +0 -544
- package/dist/product-variant-edit-L77HDGTA.js +0 -547
- package/dist/product-variant-manage-inventory-items-WENX2QCZ.js +0 -341
- 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-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-Bahlh59D.js';
|
|
10
|
+
export { P as PRODUCT_DETAIL_FIELDS, a as PRODUCT_DETAIL_QUERY } from '../constants-Bahlh59D.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;
|
|
653
|
+
price_type: ShippingOptionPriceType;
|
|
654
654
|
enabled_in_store: boolean;
|
|
655
655
|
currency_prices: Record<string, string | undefined>;
|
|
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;
|
|
679
|
+
price_type: ShippingOptionPriceType;
|
|
680
680
|
enabled_in_store: boolean;
|
|
681
681
|
currency_prices: Record<string, string | undefined>;
|
|
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;
|
|
732
|
+
price_type: ShippingOptionPriceType;
|
|
733
733
|
enabled_in_store: boolean;
|
|
734
734
|
currency_prices: Record<string, string | undefined>;
|
|
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;
|
|
764
|
+
price_type: ShippingOptionPriceType;
|
|
765
765
|
enabled_in_store: boolean;
|
|
766
766
|
currency_prices: Record<string, string | undefined>;
|
|
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
|
}[];
|
|
@@ -1375,28 +1375,12 @@ declare function VariantGeneralSection({ variant, }: {
|
|
|
1375
1375
|
variant: HttpTypes.AdminProductVariant;
|
|
1376
1376
|
}): react_jsx_runtime.JSX.Element;
|
|
1377
1377
|
|
|
1378
|
-
/**
|
|
1379
|
-
* Wrapper that handles manage_inventory gating and inventory_items mapping.
|
|
1380
|
-
*/
|
|
1381
|
-
declare function VariantInventorySectionConnected({ variant, }: {
|
|
1382
|
-
variant: HttpTypes.AdminProductVariant;
|
|
1383
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1384
|
-
|
|
1385
|
-
declare function VariantPricesSection({ variant, }: {
|
|
1386
|
-
variant: HttpTypes.AdminProductVariant;
|
|
1387
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1388
|
-
|
|
1389
1378
|
declare const ProductVariantDetailPage: (({ children }: {
|
|
1390
1379
|
children?: ReactNode;
|
|
1391
1380
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
1392
1381
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
1393
1382
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
1394
1383
|
MainGeneralSection: typeof VariantGeneralSection;
|
|
1395
|
-
MainInventorySection: typeof VariantInventorySectionConnected;
|
|
1396
|
-
SidebarSellerSection: ({ seller }: {
|
|
1397
|
-
seller?: SellerDTO | null;
|
|
1398
|
-
}) => react_jsx_runtime.JSX.Element | null;
|
|
1399
|
-
SidebarPricesSection: typeof VariantPricesSection;
|
|
1400
1384
|
};
|
|
1401
1385
|
|
|
1402
1386
|
declare const ProductListPage: (({ children }: {
|
|
@@ -1413,8 +1397,6 @@ declare const ProductListPage: (({ children }: {
|
|
|
1413
1397
|
children?: ReactNode;
|
|
1414
1398
|
}) => react_jsx_runtime.JSX.Element;
|
|
1415
1399
|
HeaderCreateButton: () => react_jsx_runtime.JSX.Element;
|
|
1416
|
-
HeaderExportButton: () => react_jsx_runtime.JSX.Element;
|
|
1417
|
-
HeaderImportButton: () => react_jsx_runtime.JSX.Element;
|
|
1418
1400
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
1419
1401
|
};
|
|
1420
1402
|
|
|
@@ -1423,33 +1405,34 @@ declare const ProductDetailPage: (({ children }: {
|
|
|
1423
1405
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
1424
1406
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
1425
1407
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
1408
|
+
MainActiveRequestSection: ({ product, }: {
|
|
1409
|
+
product: HttpTypes.AdminProduct & {
|
|
1410
|
+
sellers?: SellerDTO[];
|
|
1411
|
+
};
|
|
1412
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
1413
|
+
MainActiveEditSection: ({ product, }: {
|
|
1414
|
+
product: HttpTypes.AdminProduct & {
|
|
1415
|
+
sellers?: SellerDTO[];
|
|
1416
|
+
};
|
|
1417
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
1426
1418
|
MainGeneralSection: ({ product, }: {
|
|
1427
1419
|
product: HttpTypes.AdminProduct;
|
|
1428
1420
|
}) => react_jsx_runtime.JSX.Element;
|
|
1429
1421
|
MainMediaSection: ({ product, }: {
|
|
1430
1422
|
product: HttpTypes.AdminProduct;
|
|
1431
1423
|
}) => react_jsx_runtime.JSX.Element;
|
|
1432
|
-
|
|
1433
|
-
product:
|
|
1424
|
+
MainAttributeSection: ({ product, }: {
|
|
1425
|
+
product: {
|
|
1426
|
+
id: string;
|
|
1427
|
+
attributes?: _mercurjs_types.ProductAttributeDTO[] | undefined;
|
|
1428
|
+
};
|
|
1434
1429
|
}) => react_jsx_runtime.JSX.Element;
|
|
1435
1430
|
MainVariantSection: ({ product, }: {
|
|
1436
1431
|
product: HttpTypes.AdminProduct;
|
|
1437
1432
|
}) => 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
1433
|
SidebarOrganizationSection: ({ product, }: {
|
|
1448
1434
|
product: HttpTypes.AdminProduct;
|
|
1449
1435
|
}) => react_jsx_runtime.JSX.Element;
|
|
1450
|
-
SidebarAttributeSection: ({ product, }: {
|
|
1451
|
-
product: HttpTypes.AdminProduct;
|
|
1452
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1453
1436
|
};
|
|
1454
1437
|
|
|
1455
1438
|
declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -1460,20 +1443,9 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1460
1443
|
discountable: z.ZodBoolean;
|
|
1461
1444
|
type_id: z.ZodOptional<z.ZodString>;
|
|
1462
1445
|
collection_id: z.ZodOptional<z.ZodString>;
|
|
1463
|
-
|
|
1464
|
-
|
|
1446
|
+
category_id: z.ZodString;
|
|
1447
|
+
seller_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1465
1448
|
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
1449
|
origin_country: z.ZodOptional<z.ZodString>;
|
|
1478
1450
|
material: z.ZodOptional<z.ZodString>;
|
|
1479
1451
|
width: z.ZodOptional<z.ZodString>;
|
|
@@ -1482,17 +1454,49 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1482
1454
|
weight: z.ZodOptional<z.ZodString>;
|
|
1483
1455
|
mid_code: z.ZodOptional<z.ZodString>;
|
|
1484
1456
|
hs_code: z.ZodOptional<z.ZodString>;
|
|
1485
|
-
|
|
1457
|
+
attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1458
|
+
attribute_id: z.ZodOptional<z.ZodString>;
|
|
1486
1459
|
title: z.ZodString;
|
|
1487
|
-
values: z.ZodArray<z.ZodString, "many"
|
|
1460
|
+
values: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1461
|
+
is_custom: z.ZodBoolean;
|
|
1462
|
+
is_required: z.ZodOptional<z.ZodBoolean>;
|
|
1463
|
+
use_for_variants: z.ZodBoolean;
|
|
1464
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
available_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1466
|
+
id: z.ZodString;
|
|
1467
|
+
name: z.ZodString;
|
|
1468
|
+
}, "strip", z.ZodTypeAny, {
|
|
1469
|
+
id: string;
|
|
1470
|
+
name: string;
|
|
1471
|
+
}, {
|
|
1472
|
+
id: string;
|
|
1473
|
+
name: string;
|
|
1474
|
+
}>, "many">>;
|
|
1488
1475
|
}, "strip", z.ZodTypeAny, {
|
|
1489
1476
|
title: string;
|
|
1490
|
-
|
|
1477
|
+
is_custom: boolean;
|
|
1478
|
+
use_for_variants: boolean;
|
|
1479
|
+
values?: string | string[] | undefined;
|
|
1480
|
+
type?: string | undefined;
|
|
1481
|
+
is_required?: boolean | undefined;
|
|
1482
|
+
attribute_id?: string | undefined;
|
|
1483
|
+
available_values?: {
|
|
1484
|
+
id: string;
|
|
1485
|
+
name: string;
|
|
1486
|
+
}[] | undefined;
|
|
1491
1487
|
}, {
|
|
1492
1488
|
title: string;
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1489
|
+
is_custom: boolean;
|
|
1490
|
+
use_for_variants: boolean;
|
|
1491
|
+
values?: string | string[] | undefined;
|
|
1492
|
+
type?: string | undefined;
|
|
1493
|
+
is_required?: boolean | undefined;
|
|
1494
|
+
attribute_id?: string | undefined;
|
|
1495
|
+
available_values?: {
|
|
1496
|
+
id: string;
|
|
1497
|
+
name: string;
|
|
1498
|
+
}[] | undefined;
|
|
1499
|
+
}>, "many">>;
|
|
1496
1500
|
variants: z.ZodArray<z.ZodObject<{
|
|
1497
1501
|
should_create: z.ZodBoolean;
|
|
1498
1502
|
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1509,74 +1513,44 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1509
1513
|
material: z.ZodOptional<z.ZodString>;
|
|
1510
1514
|
origin_country: z.ZodOptional<z.ZodString>;
|
|
1511
1515
|
sku: z.ZodOptional<z.ZodString>;
|
|
1512
|
-
|
|
1513
|
-
allow_backorder: z.ZodOptional<z.ZodBoolean>;
|
|
1514
|
-
inventory_kit: z.ZodOptional<z.ZodBoolean>;
|
|
1515
|
-
options: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1516
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1516
1517
|
variant_rank: z.ZodNumber;
|
|
1517
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>>>;
|
|
1518
|
-
inventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1519
|
-
inventory_item_id: z.ZodString;
|
|
1520
|
-
required_quantity: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
1521
|
-
}, "strip", z.ZodTypeAny, {
|
|
1522
|
-
inventory_item_id: string;
|
|
1523
|
-
required_quantity?: string | number | undefined;
|
|
1524
|
-
}, {
|
|
1525
|
-
inventory_item_id: string;
|
|
1526
|
-
required_quantity?: string | number | undefined;
|
|
1527
|
-
}>, "many">>;
|
|
1528
1518
|
}, "strip", z.ZodTypeAny, {
|
|
1529
1519
|
title: string;
|
|
1530
|
-
options: Record<string, string>;
|
|
1531
1520
|
variant_rank: number;
|
|
1532
1521
|
should_create: boolean;
|
|
1533
1522
|
length?: string | number | undefined;
|
|
1534
|
-
inventory?: {
|
|
1535
|
-
inventory_item_id: string;
|
|
1536
|
-
required_quantity?: string | number | undefined;
|
|
1537
|
-
}[] | undefined;
|
|
1538
|
-
width?: string | number | undefined;
|
|
1539
1523
|
weight?: string | number | undefined;
|
|
1524
|
+
width?: string | number | undefined;
|
|
1525
|
+
sku?: string | undefined;
|
|
1526
|
+
hs_code?: string | undefined;
|
|
1540
1527
|
height?: string | number | undefined;
|
|
1541
1528
|
origin_country?: string | undefined;
|
|
1542
|
-
hs_code?: string | undefined;
|
|
1543
1529
|
mid_code?: string | undefined;
|
|
1544
1530
|
material?: string | undefined;
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
sku?: string | undefined;
|
|
1531
|
+
options?: Record<string, string> | undefined;
|
|
1532
|
+
is_default?: boolean | undefined;
|
|
1548
1533
|
barcode?: string | undefined;
|
|
1549
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
1550
1534
|
ean?: string | undefined;
|
|
1551
1535
|
upc?: string | undefined;
|
|
1552
|
-
is_default?: boolean | undefined;
|
|
1553
|
-
inventory_kit?: boolean | undefined;
|
|
1554
1536
|
}, {
|
|
1555
1537
|
title: string;
|
|
1556
|
-
options: Record<string, string>;
|
|
1557
1538
|
variant_rank: number;
|
|
1558
1539
|
should_create: boolean;
|
|
1559
1540
|
length?: string | number | undefined;
|
|
1560
|
-
inventory?: {
|
|
1561
|
-
inventory_item_id: string;
|
|
1562
|
-
required_quantity?: string | number | undefined;
|
|
1563
|
-
}[] | undefined;
|
|
1564
|
-
width?: string | number | undefined;
|
|
1565
1541
|
weight?: string | number | undefined;
|
|
1542
|
+
width?: string | number | undefined;
|
|
1543
|
+
sku?: string | undefined;
|
|
1544
|
+
hs_code?: string | undefined;
|
|
1566
1545
|
height?: string | number | undefined;
|
|
1567
1546
|
origin_country?: string | undefined;
|
|
1568
|
-
hs_code?: string | undefined;
|
|
1569
1547
|
mid_code?: string | undefined;
|
|
1570
1548
|
material?: string | undefined;
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
sku?: string | undefined;
|
|
1549
|
+
options?: Record<string, string> | undefined;
|
|
1550
|
+
is_default?: boolean | undefined;
|
|
1574
1551
|
barcode?: string | undefined;
|
|
1575
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
1576
1552
|
ean?: string | undefined;
|
|
1577
1553
|
upc?: string | undefined;
|
|
1578
|
-
is_default?: boolean | undefined;
|
|
1579
|
-
inventory_kit?: boolean | undefined;
|
|
1580
1554
|
}>, "many">;
|
|
1581
1555
|
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1582
1556
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1586,262 +1560,242 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1586
1560
|
}, "strip", z.ZodTypeAny, {
|
|
1587
1561
|
url: string;
|
|
1588
1562
|
isThumbnail: boolean;
|
|
1589
|
-
id?: string | undefined;
|
|
1590
1563
|
file?: any;
|
|
1564
|
+
id?: string | undefined;
|
|
1591
1565
|
}, {
|
|
1592
1566
|
url: string;
|
|
1593
1567
|
isThumbnail: boolean;
|
|
1594
|
-
id?: string | undefined;
|
|
1595
1568
|
file?: any;
|
|
1569
|
+
id?: string | undefined;
|
|
1596
1570
|
}>, "many">>;
|
|
1597
1571
|
}, "strip", z.ZodTypeAny, {
|
|
1598
1572
|
title: string;
|
|
1599
|
-
options: {
|
|
1600
|
-
title: string;
|
|
1601
|
-
values: string[];
|
|
1602
|
-
}[];
|
|
1603
|
-
categories: string[];
|
|
1604
1573
|
variants: {
|
|
1605
1574
|
title: string;
|
|
1606
|
-
options: Record<string, string>;
|
|
1607
1575
|
variant_rank: number;
|
|
1608
1576
|
should_create: boolean;
|
|
1609
1577
|
length?: string | number | undefined;
|
|
1610
|
-
inventory?: {
|
|
1611
|
-
inventory_item_id: string;
|
|
1612
|
-
required_quantity?: string | number | undefined;
|
|
1613
|
-
}[] | undefined;
|
|
1614
|
-
width?: string | number | undefined;
|
|
1615
1578
|
weight?: string | number | undefined;
|
|
1579
|
+
width?: string | number | undefined;
|
|
1580
|
+
sku?: string | undefined;
|
|
1581
|
+
hs_code?: string | undefined;
|
|
1616
1582
|
height?: string | number | undefined;
|
|
1617
1583
|
origin_country?: string | undefined;
|
|
1618
|
-
hs_code?: string | undefined;
|
|
1619
1584
|
mid_code?: string | undefined;
|
|
1620
1585
|
material?: string | undefined;
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
sku?: string | undefined;
|
|
1586
|
+
options?: Record<string, string> | undefined;
|
|
1587
|
+
is_default?: boolean | undefined;
|
|
1624
1588
|
barcode?: string | undefined;
|
|
1625
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
1626
1589
|
ean?: string | undefined;
|
|
1627
1590
|
upc?: string | undefined;
|
|
1628
|
-
is_default?: boolean | undefined;
|
|
1629
|
-
inventory_kit?: boolean | undefined;
|
|
1630
1591
|
}[];
|
|
1631
1592
|
discountable: boolean;
|
|
1632
|
-
|
|
1593
|
+
category_id: string;
|
|
1633
1594
|
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
1595
|
weight?: string | undefined;
|
|
1596
|
+
width?: string | undefined;
|
|
1597
|
+
hs_code?: string | undefined;
|
|
1648
1598
|
height?: string | undefined;
|
|
1649
1599
|
origin_country?: string | undefined;
|
|
1650
|
-
hs_code?: string | undefined;
|
|
1651
1600
|
mid_code?: string | undefined;
|
|
1652
1601
|
material?: string | undefined;
|
|
1602
|
+
description?: string | undefined;
|
|
1603
|
+
handle?: string | undefined;
|
|
1604
|
+
type_id?: string | undefined;
|
|
1653
1605
|
tags?: string[] | undefined;
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1606
|
+
subtitle?: string | undefined;
|
|
1607
|
+
collection_id?: string | undefined;
|
|
1608
|
+
attributes?: {
|
|
1609
|
+
title: string;
|
|
1610
|
+
is_custom: boolean;
|
|
1611
|
+
use_for_variants: boolean;
|
|
1612
|
+
values?: string | string[] | undefined;
|
|
1613
|
+
type?: string | undefined;
|
|
1614
|
+
is_required?: boolean | undefined;
|
|
1615
|
+
attribute_id?: string | undefined;
|
|
1616
|
+
available_values?: {
|
|
1617
|
+
id: string;
|
|
1618
|
+
name: string;
|
|
1619
|
+
}[] | undefined;
|
|
1657
1620
|
}[] | undefined;
|
|
1658
|
-
|
|
1621
|
+
media?: {
|
|
1622
|
+
url: string;
|
|
1623
|
+
isThumbnail: boolean;
|
|
1624
|
+
file?: any;
|
|
1625
|
+
id?: string | undefined;
|
|
1626
|
+
}[] | undefined;
|
|
1627
|
+
seller_ids?: string[] | undefined;
|
|
1659
1628
|
}, {
|
|
1660
1629
|
title: string;
|
|
1661
|
-
options: {
|
|
1662
|
-
title: string;
|
|
1663
|
-
values: string[];
|
|
1664
|
-
}[];
|
|
1665
|
-
categories: string[];
|
|
1666
1630
|
variants: {
|
|
1667
1631
|
title: string;
|
|
1668
|
-
options: Record<string, string>;
|
|
1669
1632
|
variant_rank: number;
|
|
1670
1633
|
should_create: boolean;
|
|
1671
1634
|
length?: string | number | undefined;
|
|
1672
|
-
inventory?: {
|
|
1673
|
-
inventory_item_id: string;
|
|
1674
|
-
required_quantity?: string | number | undefined;
|
|
1675
|
-
}[] | undefined;
|
|
1676
|
-
width?: string | number | undefined;
|
|
1677
1635
|
weight?: string | number | undefined;
|
|
1636
|
+
width?: string | number | undefined;
|
|
1637
|
+
sku?: string | undefined;
|
|
1638
|
+
hs_code?: string | undefined;
|
|
1678
1639
|
height?: string | number | undefined;
|
|
1679
1640
|
origin_country?: string | undefined;
|
|
1680
|
-
hs_code?: string | undefined;
|
|
1681
1641
|
mid_code?: string | undefined;
|
|
1682
1642
|
material?: string | undefined;
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
sku?: string | undefined;
|
|
1643
|
+
options?: Record<string, string> | undefined;
|
|
1644
|
+
is_default?: boolean | undefined;
|
|
1686
1645
|
barcode?: string | undefined;
|
|
1687
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
1688
1646
|
ean?: string | undefined;
|
|
1689
1647
|
upc?: string | undefined;
|
|
1690
|
-
is_default?: boolean | undefined;
|
|
1691
|
-
inventory_kit?: boolean | undefined;
|
|
1692
1648
|
}[];
|
|
1693
1649
|
discountable: boolean;
|
|
1694
|
-
|
|
1650
|
+
category_id: string;
|
|
1695
1651
|
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
1652
|
weight?: string | undefined;
|
|
1653
|
+
width?: string | undefined;
|
|
1654
|
+
hs_code?: string | undefined;
|
|
1710
1655
|
height?: string | undefined;
|
|
1711
1656
|
origin_country?: string | undefined;
|
|
1712
|
-
hs_code?: string | undefined;
|
|
1713
1657
|
mid_code?: string | undefined;
|
|
1714
1658
|
material?: string | undefined;
|
|
1659
|
+
description?: string | undefined;
|
|
1660
|
+
handle?: string | undefined;
|
|
1661
|
+
type_id?: string | undefined;
|
|
1715
1662
|
tags?: string[] | undefined;
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1663
|
+
subtitle?: string | undefined;
|
|
1664
|
+
collection_id?: string | undefined;
|
|
1665
|
+
attributes?: {
|
|
1666
|
+
title: string;
|
|
1667
|
+
is_custom: boolean;
|
|
1668
|
+
use_for_variants: boolean;
|
|
1669
|
+
values?: string | string[] | undefined;
|
|
1670
|
+
type?: string | undefined;
|
|
1671
|
+
is_required?: boolean | undefined;
|
|
1672
|
+
attribute_id?: string | undefined;
|
|
1673
|
+
available_values?: {
|
|
1674
|
+
id: string;
|
|
1675
|
+
name: string;
|
|
1676
|
+
}[] | undefined;
|
|
1677
|
+
}[] | undefined;
|
|
1678
|
+
media?: {
|
|
1679
|
+
url: string;
|
|
1680
|
+
isThumbnail: boolean;
|
|
1681
|
+
file?: any;
|
|
1682
|
+
id?: string | undefined;
|
|
1719
1683
|
}[] | undefined;
|
|
1720
|
-
|
|
1684
|
+
seller_ids?: string[] | undefined;
|
|
1721
1685
|
}>, {
|
|
1722
1686
|
title: string;
|
|
1723
|
-
options: {
|
|
1724
|
-
title: string;
|
|
1725
|
-
values: string[];
|
|
1726
|
-
}[];
|
|
1727
|
-
categories: string[];
|
|
1728
1687
|
variants: {
|
|
1729
1688
|
title: string;
|
|
1730
|
-
options: Record<string, string>;
|
|
1731
1689
|
variant_rank: number;
|
|
1732
1690
|
should_create: boolean;
|
|
1733
1691
|
length?: string | number | undefined;
|
|
1734
|
-
inventory?: {
|
|
1735
|
-
inventory_item_id: string;
|
|
1736
|
-
required_quantity?: string | number | undefined;
|
|
1737
|
-
}[] | undefined;
|
|
1738
|
-
width?: string | number | undefined;
|
|
1739
1692
|
weight?: string | number | undefined;
|
|
1693
|
+
width?: string | number | undefined;
|
|
1694
|
+
sku?: string | undefined;
|
|
1695
|
+
hs_code?: string | undefined;
|
|
1740
1696
|
height?: string | number | undefined;
|
|
1741
1697
|
origin_country?: string | undefined;
|
|
1742
|
-
hs_code?: string | undefined;
|
|
1743
1698
|
mid_code?: string | undefined;
|
|
1744
1699
|
material?: string | undefined;
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
sku?: string | undefined;
|
|
1700
|
+
options?: Record<string, string> | undefined;
|
|
1701
|
+
is_default?: boolean | undefined;
|
|
1748
1702
|
barcode?: string | undefined;
|
|
1749
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
1750
1703
|
ean?: string | undefined;
|
|
1751
1704
|
upc?: string | undefined;
|
|
1752
|
-
is_default?: boolean | undefined;
|
|
1753
|
-
inventory_kit?: boolean | undefined;
|
|
1754
1705
|
}[];
|
|
1755
1706
|
discountable: boolean;
|
|
1756
|
-
|
|
1707
|
+
category_id: string;
|
|
1757
1708
|
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
1709
|
weight?: string | undefined;
|
|
1710
|
+
width?: string | undefined;
|
|
1711
|
+
hs_code?: string | undefined;
|
|
1772
1712
|
height?: string | undefined;
|
|
1773
1713
|
origin_country?: string | undefined;
|
|
1774
|
-
hs_code?: string | undefined;
|
|
1775
1714
|
mid_code?: string | undefined;
|
|
1776
1715
|
material?: string | undefined;
|
|
1716
|
+
description?: string | undefined;
|
|
1717
|
+
handle?: string | undefined;
|
|
1718
|
+
type_id?: string | undefined;
|
|
1777
1719
|
tags?: string[] | undefined;
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1720
|
+
subtitle?: string | undefined;
|
|
1721
|
+
collection_id?: string | undefined;
|
|
1722
|
+
attributes?: {
|
|
1723
|
+
title: string;
|
|
1724
|
+
is_custom: boolean;
|
|
1725
|
+
use_for_variants: boolean;
|
|
1726
|
+
values?: string | string[] | undefined;
|
|
1727
|
+
type?: string | undefined;
|
|
1728
|
+
is_required?: boolean | undefined;
|
|
1729
|
+
attribute_id?: string | undefined;
|
|
1730
|
+
available_values?: {
|
|
1731
|
+
id: string;
|
|
1732
|
+
name: string;
|
|
1733
|
+
}[] | undefined;
|
|
1734
|
+
}[] | undefined;
|
|
1735
|
+
media?: {
|
|
1736
|
+
url: string;
|
|
1737
|
+
isThumbnail: boolean;
|
|
1738
|
+
file?: any;
|
|
1739
|
+
id?: string | undefined;
|
|
1781
1740
|
}[] | undefined;
|
|
1782
|
-
|
|
1741
|
+
seller_ids?: string[] | undefined;
|
|
1783
1742
|
}, {
|
|
1784
1743
|
title: string;
|
|
1785
|
-
options: {
|
|
1786
|
-
title: string;
|
|
1787
|
-
values: string[];
|
|
1788
|
-
}[];
|
|
1789
|
-
categories: string[];
|
|
1790
1744
|
variants: {
|
|
1791
1745
|
title: string;
|
|
1792
|
-
options: Record<string, string>;
|
|
1793
1746
|
variant_rank: number;
|
|
1794
1747
|
should_create: boolean;
|
|
1795
1748
|
length?: string | number | undefined;
|
|
1796
|
-
inventory?: {
|
|
1797
|
-
inventory_item_id: string;
|
|
1798
|
-
required_quantity?: string | number | undefined;
|
|
1799
|
-
}[] | undefined;
|
|
1800
|
-
width?: string | number | undefined;
|
|
1801
1749
|
weight?: string | number | undefined;
|
|
1750
|
+
width?: string | number | undefined;
|
|
1751
|
+
sku?: string | undefined;
|
|
1752
|
+
hs_code?: string | undefined;
|
|
1802
1753
|
height?: string | number | undefined;
|
|
1803
1754
|
origin_country?: string | undefined;
|
|
1804
|
-
hs_code?: string | undefined;
|
|
1805
1755
|
mid_code?: string | undefined;
|
|
1806
1756
|
material?: string | undefined;
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
sku?: string | undefined;
|
|
1757
|
+
options?: Record<string, string> | undefined;
|
|
1758
|
+
is_default?: boolean | undefined;
|
|
1810
1759
|
barcode?: string | undefined;
|
|
1811
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
1812
1760
|
ean?: string | undefined;
|
|
1813
1761
|
upc?: string | undefined;
|
|
1814
|
-
is_default?: boolean | undefined;
|
|
1815
|
-
inventory_kit?: boolean | undefined;
|
|
1816
1762
|
}[];
|
|
1817
1763
|
discountable: boolean;
|
|
1818
|
-
|
|
1764
|
+
category_id: string;
|
|
1819
1765
|
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
1766
|
weight?: string | undefined;
|
|
1767
|
+
width?: string | undefined;
|
|
1768
|
+
hs_code?: string | undefined;
|
|
1834
1769
|
height?: string | undefined;
|
|
1835
1770
|
origin_country?: string | undefined;
|
|
1836
|
-
hs_code?: string | undefined;
|
|
1837
1771
|
mid_code?: string | undefined;
|
|
1838
1772
|
material?: string | undefined;
|
|
1773
|
+
description?: string | undefined;
|
|
1774
|
+
handle?: string | undefined;
|
|
1775
|
+
type_id?: string | undefined;
|
|
1839
1776
|
tags?: string[] | undefined;
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1777
|
+
subtitle?: string | undefined;
|
|
1778
|
+
collection_id?: string | undefined;
|
|
1779
|
+
attributes?: {
|
|
1780
|
+
title: string;
|
|
1781
|
+
is_custom: boolean;
|
|
1782
|
+
use_for_variants: boolean;
|
|
1783
|
+
values?: string | string[] | undefined;
|
|
1784
|
+
type?: string | undefined;
|
|
1785
|
+
is_required?: boolean | undefined;
|
|
1786
|
+
attribute_id?: string | undefined;
|
|
1787
|
+
available_values?: {
|
|
1788
|
+
id: string;
|
|
1789
|
+
name: string;
|
|
1790
|
+
}[] | undefined;
|
|
1843
1791
|
}[] | undefined;
|
|
1844
|
-
|
|
1792
|
+
media?: {
|
|
1793
|
+
url: string;
|
|
1794
|
+
isThumbnail: boolean;
|
|
1795
|
+
file?: any;
|
|
1796
|
+
id?: string | undefined;
|
|
1797
|
+
}[] | undefined;
|
|
1798
|
+
seller_ids?: string[] | undefined;
|
|
1845
1799
|
}>;
|
|
1846
1800
|
|
|
1847
1801
|
type ProductCreateSchemaType = z.infer<typeof ProductCreateSchema>;
|
|
@@ -1849,8 +1803,7 @@ type ProductCreateSchemaType = z.infer<typeof ProductCreateSchema>;
|
|
|
1849
1803
|
declare const ProductCreatePage: (({ children }: {
|
|
1850
1804
|
children?: ReactNode;
|
|
1851
1805
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
1852
|
-
Form: ({
|
|
1853
|
-
defaultChannel?: _medusajs_types.AdminSalesChannel;
|
|
1806
|
+
Form: ({ children, schema, defaultValues: extraDefaults, }: {
|
|
1854
1807
|
children?: ReactNode;
|
|
1855
1808
|
schema?: zod.ZodType<ProductCreateSchemaType>;
|
|
1856
1809
|
defaultValues?: react_hook_form.DeepPartial<ProductCreateSchemaType>;
|
|
@@ -1859,264 +1812,244 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
1859
1812
|
(): react_jsx_runtime.JSX.Element;
|
|
1860
1813
|
_tabMeta: TabDefinition<{
|
|
1861
1814
|
title: string;
|
|
1862
|
-
options: {
|
|
1863
|
-
title: string;
|
|
1864
|
-
values: string[];
|
|
1865
|
-
}[];
|
|
1866
|
-
categories: string[];
|
|
1867
1815
|
variants: {
|
|
1868
1816
|
title: string;
|
|
1869
|
-
options: Record<string, string>;
|
|
1870
1817
|
variant_rank: number;
|
|
1871
1818
|
should_create: boolean;
|
|
1872
1819
|
length?: string | number | undefined;
|
|
1873
|
-
inventory?: {
|
|
1874
|
-
inventory_item_id: string;
|
|
1875
|
-
required_quantity?: string | number | undefined;
|
|
1876
|
-
}[] | undefined;
|
|
1877
|
-
width?: string | number | undefined;
|
|
1878
1820
|
weight?: string | number | undefined;
|
|
1821
|
+
width?: string | number | undefined;
|
|
1822
|
+
sku?: string | undefined;
|
|
1823
|
+
hs_code?: string | undefined;
|
|
1879
1824
|
height?: string | number | undefined;
|
|
1880
1825
|
origin_country?: string | undefined;
|
|
1881
|
-
hs_code?: string | undefined;
|
|
1882
1826
|
mid_code?: string | undefined;
|
|
1883
1827
|
material?: string | undefined;
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
sku?: string | undefined;
|
|
1828
|
+
options?: Record<string, string> | undefined;
|
|
1829
|
+
is_default?: boolean | undefined;
|
|
1887
1830
|
barcode?: string | undefined;
|
|
1888
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
1889
1831
|
ean?: string | undefined;
|
|
1890
1832
|
upc?: string | undefined;
|
|
1891
|
-
is_default?: boolean | undefined;
|
|
1892
|
-
inventory_kit?: boolean | undefined;
|
|
1893
1833
|
}[];
|
|
1894
1834
|
discountable: boolean;
|
|
1895
|
-
|
|
1835
|
+
category_id: string;
|
|
1896
1836
|
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
1837
|
weight?: string | undefined;
|
|
1838
|
+
width?: string | undefined;
|
|
1839
|
+
hs_code?: string | undefined;
|
|
1911
1840
|
height?: string | undefined;
|
|
1912
1841
|
origin_country?: string | undefined;
|
|
1913
|
-
hs_code?: string | undefined;
|
|
1914
1842
|
mid_code?: string | undefined;
|
|
1915
1843
|
material?: string | undefined;
|
|
1844
|
+
description?: string | undefined;
|
|
1845
|
+
handle?: string | undefined;
|
|
1846
|
+
type_id?: string | undefined;
|
|
1916
1847
|
tags?: string[] | undefined;
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1848
|
+
subtitle?: string | undefined;
|
|
1849
|
+
collection_id?: string | undefined;
|
|
1850
|
+
attributes?: {
|
|
1851
|
+
title: string;
|
|
1852
|
+
is_custom: boolean;
|
|
1853
|
+
use_for_variants: boolean;
|
|
1854
|
+
values?: string | string[] | undefined;
|
|
1855
|
+
type?: string | undefined;
|
|
1856
|
+
is_required?: boolean | undefined;
|
|
1857
|
+
attribute_id?: string | undefined;
|
|
1858
|
+
available_values?: {
|
|
1859
|
+
id: string;
|
|
1860
|
+
name: string;
|
|
1861
|
+
}[] | undefined;
|
|
1920
1862
|
}[] | undefined;
|
|
1921
|
-
|
|
1863
|
+
media?: {
|
|
1864
|
+
url: string;
|
|
1865
|
+
isThumbnail: boolean;
|
|
1866
|
+
file?: any;
|
|
1867
|
+
id?: string | undefined;
|
|
1868
|
+
}[] | undefined;
|
|
1869
|
+
seller_ids?: string[] | undefined;
|
|
1922
1870
|
}>;
|
|
1923
1871
|
};
|
|
1924
1872
|
OrganizeTab: {
|
|
1925
1873
|
(): react_jsx_runtime.JSX.Element;
|
|
1926
1874
|
_tabMeta: TabDefinition<{
|
|
1927
1875
|
title: string;
|
|
1928
|
-
options: {
|
|
1929
|
-
title: string;
|
|
1930
|
-
values: string[];
|
|
1931
|
-
}[];
|
|
1932
|
-
categories: string[];
|
|
1933
1876
|
variants: {
|
|
1934
1877
|
title: string;
|
|
1935
|
-
options: Record<string, string>;
|
|
1936
1878
|
variant_rank: number;
|
|
1937
1879
|
should_create: boolean;
|
|
1938
1880
|
length?: string | number | undefined;
|
|
1939
|
-
inventory?: {
|
|
1940
|
-
inventory_item_id: string;
|
|
1941
|
-
required_quantity?: string | number | undefined;
|
|
1942
|
-
}[] | undefined;
|
|
1943
|
-
width?: string | number | undefined;
|
|
1944
1881
|
weight?: string | number | undefined;
|
|
1882
|
+
width?: string | number | undefined;
|
|
1883
|
+
sku?: string | undefined;
|
|
1884
|
+
hs_code?: string | undefined;
|
|
1945
1885
|
height?: string | number | undefined;
|
|
1946
1886
|
origin_country?: string | undefined;
|
|
1947
|
-
hs_code?: string | undefined;
|
|
1948
1887
|
mid_code?: string | undefined;
|
|
1949
1888
|
material?: string | undefined;
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
sku?: string | undefined;
|
|
1889
|
+
options?: Record<string, string> | undefined;
|
|
1890
|
+
is_default?: boolean | undefined;
|
|
1953
1891
|
barcode?: string | undefined;
|
|
1954
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
1955
1892
|
ean?: string | undefined;
|
|
1956
1893
|
upc?: string | undefined;
|
|
1957
|
-
is_default?: boolean | undefined;
|
|
1958
|
-
inventory_kit?: boolean | undefined;
|
|
1959
1894
|
}[];
|
|
1960
1895
|
discountable: boolean;
|
|
1961
|
-
|
|
1896
|
+
category_id: string;
|
|
1962
1897
|
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
1898
|
weight?: string | undefined;
|
|
1899
|
+
width?: string | undefined;
|
|
1900
|
+
hs_code?: string | undefined;
|
|
1977
1901
|
height?: string | undefined;
|
|
1978
1902
|
origin_country?: string | undefined;
|
|
1979
|
-
hs_code?: string | undefined;
|
|
1980
1903
|
mid_code?: string | undefined;
|
|
1981
1904
|
material?: string | undefined;
|
|
1905
|
+
description?: string | undefined;
|
|
1906
|
+
handle?: string | undefined;
|
|
1907
|
+
type_id?: string | undefined;
|
|
1982
1908
|
tags?: string[] | undefined;
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1909
|
+
subtitle?: string | undefined;
|
|
1910
|
+
collection_id?: string | undefined;
|
|
1911
|
+
attributes?: {
|
|
1912
|
+
title: string;
|
|
1913
|
+
is_custom: boolean;
|
|
1914
|
+
use_for_variants: boolean;
|
|
1915
|
+
values?: string | string[] | undefined;
|
|
1916
|
+
type?: string | undefined;
|
|
1917
|
+
is_required?: boolean | undefined;
|
|
1918
|
+
attribute_id?: string | undefined;
|
|
1919
|
+
available_values?: {
|
|
1920
|
+
id: string;
|
|
1921
|
+
name: string;
|
|
1922
|
+
}[] | undefined;
|
|
1986
1923
|
}[] | undefined;
|
|
1987
|
-
|
|
1924
|
+
media?: {
|
|
1925
|
+
url: string;
|
|
1926
|
+
isThumbnail: boolean;
|
|
1927
|
+
file?: any;
|
|
1928
|
+
id?: string | undefined;
|
|
1929
|
+
}[] | undefined;
|
|
1930
|
+
seller_ids?: string[] | undefined;
|
|
1988
1931
|
}>;
|
|
1989
1932
|
};
|
|
1990
|
-
|
|
1933
|
+
AttributesTab: {
|
|
1991
1934
|
(): react_jsx_runtime.JSX.Element;
|
|
1992
1935
|
_tabMeta: TabDefinition<{
|
|
1993
1936
|
title: string;
|
|
1994
|
-
options: {
|
|
1995
|
-
title: string;
|
|
1996
|
-
values: string[];
|
|
1997
|
-
}[];
|
|
1998
|
-
categories: string[];
|
|
1999
1937
|
variants: {
|
|
2000
1938
|
title: string;
|
|
2001
|
-
options: Record<string, string>;
|
|
2002
1939
|
variant_rank: number;
|
|
2003
1940
|
should_create: boolean;
|
|
2004
1941
|
length?: string | number | undefined;
|
|
2005
|
-
inventory?: {
|
|
2006
|
-
inventory_item_id: string;
|
|
2007
|
-
required_quantity?: string | number | undefined;
|
|
2008
|
-
}[] | undefined;
|
|
2009
|
-
width?: string | number | undefined;
|
|
2010
1942
|
weight?: string | number | undefined;
|
|
1943
|
+
width?: string | number | undefined;
|
|
1944
|
+
sku?: string | undefined;
|
|
1945
|
+
hs_code?: string | undefined;
|
|
2011
1946
|
height?: string | number | undefined;
|
|
2012
1947
|
origin_country?: string | undefined;
|
|
2013
|
-
hs_code?: string | undefined;
|
|
2014
1948
|
mid_code?: string | undefined;
|
|
2015
|
-
material?: string | undefined;
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
}[];
|
|
2026
|
-
discountable: boolean;
|
|
2027
|
-
enable_variants: boolean;
|
|
2028
|
-
length?: string | undefined;
|
|
2029
|
-
seller_id?: string | undefined;
|
|
2030
|
-
handle?: string | undefined;
|
|
2031
|
-
description?: string | undefined;
|
|
2032
|
-
media?: {
|
|
2033
|
-
url: string;
|
|
2034
|
-
isThumbnail: boolean;
|
|
2035
|
-
id?: string | undefined;
|
|
2036
|
-
file?: any;
|
|
2037
|
-
}[] | undefined;
|
|
2038
|
-
collection_id?: string | undefined;
|
|
2039
|
-
type_id?: string | undefined;
|
|
2040
|
-
subtitle?: string | undefined;
|
|
2041
|
-
width?: string | undefined;
|
|
1949
|
+
material?: string | undefined;
|
|
1950
|
+
options?: Record<string, string> | undefined;
|
|
1951
|
+
is_default?: boolean | undefined;
|
|
1952
|
+
barcode?: string | undefined;
|
|
1953
|
+
ean?: string | undefined;
|
|
1954
|
+
upc?: string | undefined;
|
|
1955
|
+
}[];
|
|
1956
|
+
discountable: boolean;
|
|
1957
|
+
category_id: string;
|
|
1958
|
+
length?: string | undefined;
|
|
2042
1959
|
weight?: string | undefined;
|
|
1960
|
+
width?: string | undefined;
|
|
1961
|
+
hs_code?: string | undefined;
|
|
2043
1962
|
height?: string | undefined;
|
|
2044
1963
|
origin_country?: string | undefined;
|
|
2045
|
-
hs_code?: string | undefined;
|
|
2046
1964
|
mid_code?: string | undefined;
|
|
2047
1965
|
material?: string | undefined;
|
|
1966
|
+
description?: string | undefined;
|
|
1967
|
+
handle?: string | undefined;
|
|
1968
|
+
type_id?: string | undefined;
|
|
2048
1969
|
tags?: string[] | undefined;
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
1970
|
+
subtitle?: string | undefined;
|
|
1971
|
+
collection_id?: string | undefined;
|
|
1972
|
+
attributes?: {
|
|
1973
|
+
title: string;
|
|
1974
|
+
is_custom: boolean;
|
|
1975
|
+
use_for_variants: boolean;
|
|
1976
|
+
values?: string | string[] | undefined;
|
|
1977
|
+
type?: string | undefined;
|
|
1978
|
+
is_required?: boolean | undefined;
|
|
1979
|
+
attribute_id?: string | undefined;
|
|
1980
|
+
available_values?: {
|
|
1981
|
+
id: string;
|
|
1982
|
+
name: string;
|
|
1983
|
+
}[] | undefined;
|
|
1984
|
+
}[] | undefined;
|
|
1985
|
+
media?: {
|
|
1986
|
+
url: string;
|
|
1987
|
+
isThumbnail: boolean;
|
|
1988
|
+
file?: any;
|
|
1989
|
+
id?: string | undefined;
|
|
2052
1990
|
}[] | undefined;
|
|
2053
|
-
|
|
1991
|
+
seller_ids?: string[] | undefined;
|
|
2054
1992
|
}>;
|
|
2055
1993
|
};
|
|
2056
|
-
|
|
1994
|
+
VariantsTab: {
|
|
2057
1995
|
(): react_jsx_runtime.JSX.Element;
|
|
2058
1996
|
_tabMeta: TabDefinition<{
|
|
2059
1997
|
title: string;
|
|
2060
|
-
options: {
|
|
2061
|
-
title: string;
|
|
2062
|
-
values: string[];
|
|
2063
|
-
}[];
|
|
2064
|
-
categories: string[];
|
|
2065
1998
|
variants: {
|
|
2066
1999
|
title: string;
|
|
2067
|
-
options: Record<string, string>;
|
|
2068
2000
|
variant_rank: number;
|
|
2069
2001
|
should_create: boolean;
|
|
2070
2002
|
length?: string | number | undefined;
|
|
2071
|
-
inventory?: {
|
|
2072
|
-
inventory_item_id: string;
|
|
2073
|
-
required_quantity?: string | number | undefined;
|
|
2074
|
-
}[] | undefined;
|
|
2075
|
-
width?: string | number | undefined;
|
|
2076
2003
|
weight?: string | number | undefined;
|
|
2004
|
+
width?: string | number | undefined;
|
|
2005
|
+
sku?: string | undefined;
|
|
2006
|
+
hs_code?: string | undefined;
|
|
2077
2007
|
height?: string | number | undefined;
|
|
2078
2008
|
origin_country?: string | undefined;
|
|
2079
|
-
hs_code?: string | undefined;
|
|
2080
2009
|
mid_code?: string | undefined;
|
|
2081
2010
|
material?: string | undefined;
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
sku?: string | undefined;
|
|
2011
|
+
options?: Record<string, string> | undefined;
|
|
2012
|
+
is_default?: boolean | undefined;
|
|
2085
2013
|
barcode?: string | undefined;
|
|
2086
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
2087
2014
|
ean?: string | undefined;
|
|
2088
2015
|
upc?: string | undefined;
|
|
2089
|
-
is_default?: boolean | undefined;
|
|
2090
|
-
inventory_kit?: boolean | undefined;
|
|
2091
2016
|
}[];
|
|
2092
2017
|
discountable: boolean;
|
|
2093
|
-
|
|
2018
|
+
category_id: string;
|
|
2094
2019
|
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
2020
|
weight?: string | undefined;
|
|
2021
|
+
width?: string | undefined;
|
|
2022
|
+
hs_code?: string | undefined;
|
|
2109
2023
|
height?: string | undefined;
|
|
2110
2024
|
origin_country?: string | undefined;
|
|
2111
|
-
hs_code?: string | undefined;
|
|
2112
2025
|
mid_code?: string | undefined;
|
|
2113
2026
|
material?: string | undefined;
|
|
2027
|
+
description?: string | undefined;
|
|
2028
|
+
handle?: string | undefined;
|
|
2029
|
+
type_id?: string | undefined;
|
|
2114
2030
|
tags?: string[] | undefined;
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2031
|
+
subtitle?: string | undefined;
|
|
2032
|
+
collection_id?: string | undefined;
|
|
2033
|
+
attributes?: {
|
|
2034
|
+
title: string;
|
|
2035
|
+
is_custom: boolean;
|
|
2036
|
+
use_for_variants: boolean;
|
|
2037
|
+
values?: string | string[] | undefined;
|
|
2038
|
+
type?: string | undefined;
|
|
2039
|
+
is_required?: boolean | undefined;
|
|
2040
|
+
attribute_id?: string | undefined;
|
|
2041
|
+
available_values?: {
|
|
2042
|
+
id: string;
|
|
2043
|
+
name: string;
|
|
2044
|
+
}[] | undefined;
|
|
2045
|
+
}[] | undefined;
|
|
2046
|
+
media?: {
|
|
2047
|
+
url: string;
|
|
2048
|
+
isThumbnail: boolean;
|
|
2049
|
+
file?: any;
|
|
2050
|
+
id?: string | undefined;
|
|
2118
2051
|
}[] | undefined;
|
|
2119
|
-
|
|
2052
|
+
seller_ids?: string[] | undefined;
|
|
2120
2053
|
}>;
|
|
2121
2054
|
};
|
|
2122
2055
|
Tab: ({ children, }: {
|
|
@@ -2129,45 +2062,15 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
2129
2062
|
declare const CreateProductVariantSchema: z.ZodObject<{
|
|
2130
2063
|
title: z.ZodString;
|
|
2131
2064
|
sku: z.ZodOptional<z.ZodString>;
|
|
2132
|
-
|
|
2133
|
-
allow_backorder: z.ZodOptional<z.ZodBoolean>;
|
|
2134
|
-
inventory_kit: z.ZodOptional<z.ZodBoolean>;
|
|
2135
|
-
options: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2136
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>>;
|
|
2137
|
-
inventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2138
|
-
inventory_item_id: z.ZodString;
|
|
2139
|
-
required_quantity: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
2140
|
-
}, "strip", z.ZodTypeAny, {
|
|
2141
|
-
inventory_item_id: string;
|
|
2142
|
-
required_quantity?: string | number | undefined;
|
|
2143
|
-
}, {
|
|
2144
|
-
inventory_item_id: string;
|
|
2145
|
-
required_quantity?: string | number | undefined;
|
|
2146
|
-
}>, "many">>;
|
|
2065
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2147
2066
|
}, "strip", z.ZodTypeAny, {
|
|
2148
2067
|
title: string;
|
|
2149
|
-
options: Record<string, string>;
|
|
2150
|
-
inventory?: {
|
|
2151
|
-
inventory_item_id: string;
|
|
2152
|
-
required_quantity?: string | number | undefined;
|
|
2153
|
-
}[] | undefined;
|
|
2154
|
-
manage_inventory?: boolean | undefined;
|
|
2155
|
-
allow_backorder?: boolean | undefined;
|
|
2156
2068
|
sku?: string | undefined;
|
|
2157
|
-
|
|
2158
|
-
inventory_kit?: boolean | undefined;
|
|
2069
|
+
options?: Record<string, string> | undefined;
|
|
2159
2070
|
}, {
|
|
2160
2071
|
title: string;
|
|
2161
|
-
options: Record<string, string>;
|
|
2162
|
-
inventory?: {
|
|
2163
|
-
inventory_item_id: string;
|
|
2164
|
-
required_quantity?: string | number | undefined;
|
|
2165
|
-
}[] | undefined;
|
|
2166
|
-
manage_inventory?: boolean | undefined;
|
|
2167
|
-
allow_backorder?: boolean | undefined;
|
|
2168
2072
|
sku?: string | undefined;
|
|
2169
|
-
|
|
2170
|
-
inventory_kit?: boolean | undefined;
|
|
2073
|
+
options?: Record<string, string> | undefined;
|
|
2171
2074
|
}>;
|
|
2172
2075
|
|
|
2173
2076
|
type CreateProductVariantSchemaType = z.infer<typeof CreateProductVariantSchema>;
|
|
@@ -2179,50 +2082,8 @@ declare function DetailsTab({ product }: DetailsTabProps): react_jsx_runtime.JSX
|
|
|
2179
2082
|
declare namespace DetailsTab {
|
|
2180
2083
|
var _tabMeta: TabDefinition<{
|
|
2181
2084
|
title: string;
|
|
2182
|
-
options: Record<string, string>;
|
|
2183
|
-
inventory?: {
|
|
2184
|
-
inventory_item_id: string;
|
|
2185
|
-
required_quantity?: string | number | undefined;
|
|
2186
|
-
}[] | undefined;
|
|
2187
|
-
manage_inventory?: boolean | undefined;
|
|
2188
|
-
allow_backorder?: boolean | undefined;
|
|
2189
|
-
sku?: string | undefined;
|
|
2190
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
2191
|
-
inventory_kit?: boolean | undefined;
|
|
2192
|
-
}>;
|
|
2193
|
-
}
|
|
2194
|
-
|
|
2195
|
-
declare function PricingTab(): react_jsx_runtime.JSX.Element;
|
|
2196
|
-
declare namespace PricingTab {
|
|
2197
|
-
var _tabMeta: TabDefinition<{
|
|
2198
|
-
title: string;
|
|
2199
|
-
options: Record<string, string>;
|
|
2200
|
-
inventory?: {
|
|
2201
|
-
inventory_item_id: string;
|
|
2202
|
-
required_quantity?: string | number | undefined;
|
|
2203
|
-
}[] | undefined;
|
|
2204
|
-
manage_inventory?: boolean | undefined;
|
|
2205
|
-
allow_backorder?: boolean | undefined;
|
|
2206
|
-
sku?: string | undefined;
|
|
2207
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
2208
|
-
inventory_kit?: boolean | undefined;
|
|
2209
|
-
}>;
|
|
2210
|
-
}
|
|
2211
|
-
|
|
2212
|
-
declare function InventoryKitTab(): react_jsx_runtime.JSX.Element;
|
|
2213
|
-
declare namespace InventoryKitTab {
|
|
2214
|
-
var _tabMeta: TabDefinition<{
|
|
2215
|
-
title: string;
|
|
2216
|
-
options: Record<string, string>;
|
|
2217
|
-
inventory?: {
|
|
2218
|
-
inventory_item_id: string;
|
|
2219
|
-
required_quantity?: string | number | undefined;
|
|
2220
|
-
}[] | undefined;
|
|
2221
|
-
manage_inventory?: boolean | undefined;
|
|
2222
|
-
allow_backorder?: boolean | undefined;
|
|
2223
2085
|
sku?: string | undefined;
|
|
2224
|
-
|
|
2225
|
-
inventory_kit?: boolean | undefined;
|
|
2086
|
+
options?: Record<string, string> | undefined;
|
|
2226
2087
|
}>;
|
|
2227
2088
|
}
|
|
2228
2089
|
|
|
@@ -2230,14 +2091,12 @@ declare const ProductCreateVariantPage: (({ children }: {
|
|
|
2230
2091
|
children?: ReactNode;
|
|
2231
2092
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
2232
2093
|
Form: ({ product, children, schema, defaultValues: extraDefaults, }: {
|
|
2233
|
-
product:
|
|
2094
|
+
product: HttpTypes.AdminProduct;
|
|
2234
2095
|
children?: ReactNode;
|
|
2235
2096
|
schema?: zod.ZodType<CreateProductVariantSchemaType>;
|
|
2236
2097
|
defaultValues?: react_hook_form.DeepPartial<CreateProductVariantSchemaType>;
|
|
2237
2098
|
}) => react_jsx_runtime.JSX.Element;
|
|
2238
2099
|
DetailsTab: typeof DetailsTab;
|
|
2239
|
-
PricingTab: typeof PricingTab;
|
|
2240
|
-
InventoryKitTab: typeof InventoryKitTab;
|
|
2241
2100
|
Tab: ({ children, }: {
|
|
2242
2101
|
id: string;
|
|
2243
2102
|
label: string;
|
|
@@ -2306,16 +2165,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2306
2165
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2307
2166
|
}, "strip", z.ZodTypeAny, {
|
|
2308
2167
|
values: string | number | string[];
|
|
2309
|
-
operator: string;
|
|
2310
2168
|
attribute: string;
|
|
2169
|
+
operator: string;
|
|
2311
2170
|
id?: string | undefined;
|
|
2312
2171
|
required?: boolean | undefined;
|
|
2313
2172
|
disguised?: boolean | undefined;
|
|
2314
2173
|
field_type?: string | undefined;
|
|
2315
2174
|
}, {
|
|
2316
2175
|
values: string | number | string[];
|
|
2317
|
-
operator: string;
|
|
2318
2176
|
attribute: string;
|
|
2177
|
+
operator: string;
|
|
2319
2178
|
id?: string | undefined;
|
|
2320
2179
|
required?: boolean | undefined;
|
|
2321
2180
|
disguised?: boolean | undefined;
|
|
@@ -2337,16 +2196,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2337
2196
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2338
2197
|
}, "strip", z.ZodTypeAny, {
|
|
2339
2198
|
values: string | number | string[];
|
|
2340
|
-
operator: string;
|
|
2341
2199
|
attribute: string;
|
|
2200
|
+
operator: string;
|
|
2342
2201
|
id?: string | undefined;
|
|
2343
2202
|
required?: boolean | undefined;
|
|
2344
2203
|
disguised?: boolean | undefined;
|
|
2345
2204
|
field_type?: string | undefined;
|
|
2346
2205
|
}, {
|
|
2347
2206
|
values: string | number | string[];
|
|
2348
|
-
operator: string;
|
|
2349
2207
|
attribute: string;
|
|
2208
|
+
operator: string;
|
|
2350
2209
|
id?: string | undefined;
|
|
2351
2210
|
required?: boolean | undefined;
|
|
2352
2211
|
disguised?: boolean | undefined;
|
|
@@ -2362,16 +2221,16 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2362
2221
|
field_type: z.ZodOptional<z.ZodString>;
|
|
2363
2222
|
}, "strip", z.ZodTypeAny, {
|
|
2364
2223
|
values: string | number | string[];
|
|
2365
|
-
operator: string;
|
|
2366
2224
|
attribute: string;
|
|
2225
|
+
operator: string;
|
|
2367
2226
|
id?: string | undefined;
|
|
2368
2227
|
required?: boolean | undefined;
|
|
2369
2228
|
disguised?: boolean | undefined;
|
|
2370
2229
|
field_type?: string | undefined;
|
|
2371
2230
|
}, {
|
|
2372
2231
|
values: string | number | string[];
|
|
2373
|
-
operator: string;
|
|
2374
2232
|
attribute: string;
|
|
2233
|
+
operator: string;
|
|
2375
2234
|
id?: string | undefined;
|
|
2376
2235
|
required?: boolean | undefined;
|
|
2377
2236
|
disguised?: boolean | undefined;
|
|
@@ -2382,12 +2241,11 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2382
2241
|
}, "strip", z.ZodTypeAny, {
|
|
2383
2242
|
value: string | number;
|
|
2384
2243
|
type: "fixed" | "percentage";
|
|
2385
|
-
|
|
2386
|
-
allocation: "once" | "each" | "across";
|
|
2244
|
+
allocation: "each" | "across" | "once";
|
|
2387
2245
|
target_rules: {
|
|
2388
2246
|
values: string | number | string[];
|
|
2389
|
-
operator: string;
|
|
2390
2247
|
attribute: string;
|
|
2248
|
+
operator: string;
|
|
2391
2249
|
id?: string | undefined;
|
|
2392
2250
|
required?: boolean | undefined;
|
|
2393
2251
|
disguised?: boolean | undefined;
|
|
@@ -2395,24 +2253,24 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2395
2253
|
}[];
|
|
2396
2254
|
buy_rules: {
|
|
2397
2255
|
values: string | number | string[];
|
|
2398
|
-
operator: string;
|
|
2399
2256
|
attribute: string;
|
|
2257
|
+
operator: string;
|
|
2400
2258
|
id?: string | undefined;
|
|
2401
2259
|
required?: boolean | undefined;
|
|
2402
2260
|
disguised?: boolean | undefined;
|
|
2403
2261
|
field_type?: string | undefined;
|
|
2404
2262
|
}[];
|
|
2263
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2405
2264
|
currency_code?: string | undefined;
|
|
2406
2265
|
max_quantity?: number | null | undefined;
|
|
2407
2266
|
}, {
|
|
2408
2267
|
value: string | number;
|
|
2409
2268
|
type: "fixed" | "percentage";
|
|
2410
|
-
|
|
2411
|
-
allocation: "once" | "each" | "across";
|
|
2269
|
+
allocation: "each" | "across" | "once";
|
|
2412
2270
|
target_rules: {
|
|
2413
2271
|
values: string | number | string[];
|
|
2414
|
-
operator: string;
|
|
2415
2272
|
attribute: string;
|
|
2273
|
+
operator: string;
|
|
2416
2274
|
id?: string | undefined;
|
|
2417
2275
|
required?: boolean | undefined;
|
|
2418
2276
|
disguised?: boolean | undefined;
|
|
@@ -2420,13 +2278,14 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2420
2278
|
}[];
|
|
2421
2279
|
buy_rules: {
|
|
2422
2280
|
values: string | number | string[];
|
|
2423
|
-
operator: string;
|
|
2424
2281
|
attribute: string;
|
|
2282
|
+
operator: string;
|
|
2425
2283
|
id?: string | undefined;
|
|
2426
2284
|
required?: boolean | undefined;
|
|
2427
2285
|
disguised?: boolean | undefined;
|
|
2428
2286
|
field_type?: string | undefined;
|
|
2429
2287
|
}[];
|
|
2288
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2430
2289
|
currency_code?: string | undefined;
|
|
2431
2290
|
max_quantity?: number | null | undefined;
|
|
2432
2291
|
}>;
|
|
@@ -2442,49 +2301,49 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2442
2301
|
type: z.ZodEnum<["spend", "usage", "use_by_attribute"]>;
|
|
2443
2302
|
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2444
2303
|
}, "strip", z.ZodTypeAny, {
|
|
2445
|
-
type: "
|
|
2304
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2446
2305
|
limit?: number | null | undefined;
|
|
2447
|
-
currency_code?: string | null | undefined;
|
|
2448
2306
|
attribute?: string | null | undefined;
|
|
2307
|
+
currency_code?: string | null | undefined;
|
|
2449
2308
|
}, {
|
|
2450
|
-
type: "
|
|
2309
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2451
2310
|
limit?: number | null | undefined;
|
|
2452
|
-
currency_code?: string | null | undefined;
|
|
2453
2311
|
attribute?: string | null | undefined;
|
|
2312
|
+
currency_code?: string | null | undefined;
|
|
2454
2313
|
}>;
|
|
2455
2314
|
}, "strip", z.ZodTypeAny, {
|
|
2456
2315
|
name: string;
|
|
2457
2316
|
campaign_identifier: string;
|
|
2458
|
-
starts_at: Date | null;
|
|
2459
|
-
ends_at: Date | null;
|
|
2460
2317
|
budget: {
|
|
2461
|
-
type: "
|
|
2318
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2462
2319
|
limit?: number | null | undefined;
|
|
2463
|
-
currency_code?: string | null | undefined;
|
|
2464
2320
|
attribute?: string | null | undefined;
|
|
2321
|
+
currency_code?: string | null | undefined;
|
|
2465
2322
|
};
|
|
2323
|
+
starts_at: Date | null;
|
|
2324
|
+
ends_at: Date | null;
|
|
2466
2325
|
description?: string | undefined;
|
|
2467
2326
|
}, {
|
|
2468
2327
|
name: string;
|
|
2469
2328
|
campaign_identifier: string;
|
|
2470
|
-
starts_at: Date | null;
|
|
2471
|
-
ends_at: Date | null;
|
|
2472
2329
|
budget: {
|
|
2473
|
-
type: "
|
|
2330
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2474
2331
|
limit?: number | null | undefined;
|
|
2475
|
-
currency_code?: string | null | undefined;
|
|
2476
2332
|
attribute?: string | null | undefined;
|
|
2333
|
+
currency_code?: string | null | undefined;
|
|
2477
2334
|
};
|
|
2335
|
+
starts_at: Date | null;
|
|
2336
|
+
ends_at: Date | null;
|
|
2478
2337
|
description?: string | undefined;
|
|
2479
2338
|
}>>;
|
|
2480
2339
|
}, "strip", z.ZodTypeAny, {
|
|
2481
2340
|
code: string;
|
|
2482
|
-
type: "standard" | "buyget";
|
|
2483
2341
|
status: "draft" | "active" | "inactive";
|
|
2342
|
+
type: "standard" | "buyget";
|
|
2484
2343
|
rules: {
|
|
2485
2344
|
values: string | number | string[];
|
|
2486
|
-
operator: string;
|
|
2487
2345
|
attribute: string;
|
|
2346
|
+
operator: string;
|
|
2488
2347
|
id?: string | undefined;
|
|
2489
2348
|
required?: boolean | undefined;
|
|
2490
2349
|
disguised?: boolean | undefined;
|
|
@@ -2494,12 +2353,11 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2494
2353
|
application_method: {
|
|
2495
2354
|
value: string | number;
|
|
2496
2355
|
type: "fixed" | "percentage";
|
|
2497
|
-
|
|
2498
|
-
allocation: "once" | "each" | "across";
|
|
2356
|
+
allocation: "each" | "across" | "once";
|
|
2499
2357
|
target_rules: {
|
|
2500
2358
|
values: string | number | string[];
|
|
2501
|
-
operator: string;
|
|
2502
2359
|
attribute: string;
|
|
2360
|
+
operator: string;
|
|
2503
2361
|
id?: string | undefined;
|
|
2504
2362
|
required?: boolean | undefined;
|
|
2505
2363
|
disguised?: boolean | undefined;
|
|
@@ -2507,41 +2365,42 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2507
2365
|
}[];
|
|
2508
2366
|
buy_rules: {
|
|
2509
2367
|
values: string | number | string[];
|
|
2510
|
-
operator: string;
|
|
2511
2368
|
attribute: string;
|
|
2369
|
+
operator: string;
|
|
2512
2370
|
id?: string | undefined;
|
|
2513
2371
|
required?: boolean | undefined;
|
|
2514
2372
|
disguised?: boolean | undefined;
|
|
2515
2373
|
field_type?: string | undefined;
|
|
2516
2374
|
}[];
|
|
2375
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2517
2376
|
currency_code?: string | undefined;
|
|
2518
2377
|
max_quantity?: number | null | undefined;
|
|
2519
2378
|
};
|
|
2520
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2521
|
-
campaign_id?: string | undefined;
|
|
2522
2379
|
campaign?: {
|
|
2523
2380
|
name: string;
|
|
2524
2381
|
campaign_identifier: string;
|
|
2525
|
-
starts_at: Date | null;
|
|
2526
|
-
ends_at: Date | null;
|
|
2527
2382
|
budget: {
|
|
2528
|
-
type: "
|
|
2383
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2529
2384
|
limit?: number | null | undefined;
|
|
2530
|
-
currency_code?: string | null | undefined;
|
|
2531
2385
|
attribute?: string | null | undefined;
|
|
2386
|
+
currency_code?: string | null | undefined;
|
|
2532
2387
|
};
|
|
2388
|
+
starts_at: Date | null;
|
|
2389
|
+
ends_at: Date | null;
|
|
2533
2390
|
description?: string | undefined;
|
|
2534
2391
|
} | undefined;
|
|
2392
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2393
|
+
campaign_id?: string | undefined;
|
|
2535
2394
|
template_id?: string | undefined;
|
|
2536
|
-
campaign_choice?: "
|
|
2395
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2537
2396
|
}, {
|
|
2538
2397
|
code: string;
|
|
2539
|
-
type: "standard" | "buyget";
|
|
2540
2398
|
status: "draft" | "active" | "inactive";
|
|
2399
|
+
type: "standard" | "buyget";
|
|
2541
2400
|
rules: {
|
|
2542
2401
|
values: string | number | string[];
|
|
2543
|
-
operator: string;
|
|
2544
2402
|
attribute: string;
|
|
2403
|
+
operator: string;
|
|
2545
2404
|
id?: string | undefined;
|
|
2546
2405
|
required?: boolean | undefined;
|
|
2547
2406
|
disguised?: boolean | undefined;
|
|
@@ -2551,12 +2410,11 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2551
2410
|
application_method: {
|
|
2552
2411
|
value: string | number;
|
|
2553
2412
|
type: "fixed" | "percentage";
|
|
2554
|
-
|
|
2555
|
-
allocation: "once" | "each" | "across";
|
|
2413
|
+
allocation: "each" | "across" | "once";
|
|
2556
2414
|
target_rules: {
|
|
2557
2415
|
values: string | number | string[];
|
|
2558
|
-
operator: string;
|
|
2559
2416
|
attribute: string;
|
|
2417
|
+
operator: string;
|
|
2560
2418
|
id?: string | undefined;
|
|
2561
2419
|
required?: boolean | undefined;
|
|
2562
2420
|
disguised?: boolean | undefined;
|
|
@@ -2564,41 +2422,42 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2564
2422
|
}[];
|
|
2565
2423
|
buy_rules: {
|
|
2566
2424
|
values: string | number | string[];
|
|
2567
|
-
operator: string;
|
|
2568
2425
|
attribute: string;
|
|
2426
|
+
operator: string;
|
|
2569
2427
|
id?: string | undefined;
|
|
2570
2428
|
required?: boolean | undefined;
|
|
2571
2429
|
disguised?: boolean | undefined;
|
|
2572
2430
|
field_type?: string | undefined;
|
|
2573
2431
|
}[];
|
|
2432
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2574
2433
|
currency_code?: string | undefined;
|
|
2575
2434
|
max_quantity?: number | null | undefined;
|
|
2576
2435
|
};
|
|
2577
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2578
|
-
campaign_id?: string | undefined;
|
|
2579
2436
|
campaign?: {
|
|
2580
2437
|
name: string;
|
|
2581
2438
|
campaign_identifier: string;
|
|
2582
|
-
starts_at: Date | null;
|
|
2583
|
-
ends_at: Date | null;
|
|
2584
2439
|
budget: {
|
|
2585
|
-
type: "
|
|
2440
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2586
2441
|
limit?: number | null | undefined;
|
|
2587
|
-
currency_code?: string | null | undefined;
|
|
2588
2442
|
attribute?: string | null | undefined;
|
|
2443
|
+
currency_code?: string | null | undefined;
|
|
2589
2444
|
};
|
|
2445
|
+
starts_at: Date | null;
|
|
2446
|
+
ends_at: Date | null;
|
|
2590
2447
|
description?: string | undefined;
|
|
2591
2448
|
} | undefined;
|
|
2449
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2450
|
+
campaign_id?: string | undefined;
|
|
2592
2451
|
template_id?: string | undefined;
|
|
2593
|
-
campaign_choice?: "
|
|
2452
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2594
2453
|
}>, {
|
|
2595
2454
|
code: string;
|
|
2596
|
-
type: "standard" | "buyget";
|
|
2597
2455
|
status: "draft" | "active" | "inactive";
|
|
2456
|
+
type: "standard" | "buyget";
|
|
2598
2457
|
rules: {
|
|
2599
2458
|
values: string | number | string[];
|
|
2600
|
-
operator: string;
|
|
2601
2459
|
attribute: string;
|
|
2460
|
+
operator: string;
|
|
2602
2461
|
id?: string | undefined;
|
|
2603
2462
|
required?: boolean | undefined;
|
|
2604
2463
|
disguised?: boolean | undefined;
|
|
@@ -2608,12 +2467,11 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2608
2467
|
application_method: {
|
|
2609
2468
|
value: string | number;
|
|
2610
2469
|
type: "fixed" | "percentage";
|
|
2611
|
-
|
|
2612
|
-
allocation: "once" | "each" | "across";
|
|
2470
|
+
allocation: "each" | "across" | "once";
|
|
2613
2471
|
target_rules: {
|
|
2614
2472
|
values: string | number | string[];
|
|
2615
|
-
operator: string;
|
|
2616
2473
|
attribute: string;
|
|
2474
|
+
operator: string;
|
|
2617
2475
|
id?: string | undefined;
|
|
2618
2476
|
required?: boolean | undefined;
|
|
2619
2477
|
disguised?: boolean | undefined;
|
|
@@ -2621,41 +2479,42 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2621
2479
|
}[];
|
|
2622
2480
|
buy_rules: {
|
|
2623
2481
|
values: string | number | string[];
|
|
2624
|
-
operator: string;
|
|
2625
2482
|
attribute: string;
|
|
2483
|
+
operator: string;
|
|
2626
2484
|
id?: string | undefined;
|
|
2627
2485
|
required?: boolean | undefined;
|
|
2628
2486
|
disguised?: boolean | undefined;
|
|
2629
2487
|
field_type?: string | undefined;
|
|
2630
2488
|
}[];
|
|
2489
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2631
2490
|
currency_code?: string | undefined;
|
|
2632
2491
|
max_quantity?: number | null | undefined;
|
|
2633
2492
|
};
|
|
2634
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2635
|
-
campaign_id?: string | undefined;
|
|
2636
2493
|
campaign?: {
|
|
2637
2494
|
name: string;
|
|
2638
2495
|
campaign_identifier: string;
|
|
2639
|
-
starts_at: Date | null;
|
|
2640
|
-
ends_at: Date | null;
|
|
2641
2496
|
budget: {
|
|
2642
|
-
type: "
|
|
2497
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2643
2498
|
limit?: number | null | undefined;
|
|
2644
|
-
currency_code?: string | null | undefined;
|
|
2645
2499
|
attribute?: string | null | undefined;
|
|
2500
|
+
currency_code?: string | null | undefined;
|
|
2646
2501
|
};
|
|
2502
|
+
starts_at: Date | null;
|
|
2503
|
+
ends_at: Date | null;
|
|
2647
2504
|
description?: string | undefined;
|
|
2648
2505
|
} | undefined;
|
|
2506
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2507
|
+
campaign_id?: string | undefined;
|
|
2649
2508
|
template_id?: string | undefined;
|
|
2650
|
-
campaign_choice?: "
|
|
2509
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2651
2510
|
}, {
|
|
2652
2511
|
code: string;
|
|
2653
|
-
type: "standard" | "buyget";
|
|
2654
2512
|
status: "draft" | "active" | "inactive";
|
|
2513
|
+
type: "standard" | "buyget";
|
|
2655
2514
|
rules: {
|
|
2656
2515
|
values: string | number | string[];
|
|
2657
|
-
operator: string;
|
|
2658
2516
|
attribute: string;
|
|
2517
|
+
operator: string;
|
|
2659
2518
|
id?: string | undefined;
|
|
2660
2519
|
required?: boolean | undefined;
|
|
2661
2520
|
disguised?: boolean | undefined;
|
|
@@ -2665,12 +2524,11 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2665
2524
|
application_method: {
|
|
2666
2525
|
value: string | number;
|
|
2667
2526
|
type: "fixed" | "percentage";
|
|
2668
|
-
|
|
2669
|
-
allocation: "once" | "each" | "across";
|
|
2527
|
+
allocation: "each" | "across" | "once";
|
|
2670
2528
|
target_rules: {
|
|
2671
2529
|
values: string | number | string[];
|
|
2672
|
-
operator: string;
|
|
2673
2530
|
attribute: string;
|
|
2531
|
+
operator: string;
|
|
2674
2532
|
id?: string | undefined;
|
|
2675
2533
|
required?: boolean | undefined;
|
|
2676
2534
|
disguised?: boolean | undefined;
|
|
@@ -2678,33 +2536,34 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2678
2536
|
}[];
|
|
2679
2537
|
buy_rules: {
|
|
2680
2538
|
values: string | number | string[];
|
|
2681
|
-
operator: string;
|
|
2682
2539
|
attribute: string;
|
|
2540
|
+
operator: string;
|
|
2683
2541
|
id?: string | undefined;
|
|
2684
2542
|
required?: boolean | undefined;
|
|
2685
2543
|
disguised?: boolean | undefined;
|
|
2686
2544
|
field_type?: string | undefined;
|
|
2687
2545
|
}[];
|
|
2546
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2688
2547
|
currency_code?: string | undefined;
|
|
2689
2548
|
max_quantity?: number | null | undefined;
|
|
2690
2549
|
};
|
|
2691
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2692
|
-
campaign_id?: string | undefined;
|
|
2693
2550
|
campaign?: {
|
|
2694
2551
|
name: string;
|
|
2695
2552
|
campaign_identifier: string;
|
|
2696
|
-
starts_at: Date | null;
|
|
2697
|
-
ends_at: Date | null;
|
|
2698
2553
|
budget: {
|
|
2699
|
-
type: "
|
|
2554
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2700
2555
|
limit?: number | null | undefined;
|
|
2701
|
-
currency_code?: string | null | undefined;
|
|
2702
2556
|
attribute?: string | null | undefined;
|
|
2557
|
+
currency_code?: string | null | undefined;
|
|
2703
2558
|
};
|
|
2559
|
+
starts_at: Date | null;
|
|
2560
|
+
ends_at: Date | null;
|
|
2704
2561
|
description?: string | undefined;
|
|
2705
2562
|
} | undefined;
|
|
2563
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2564
|
+
campaign_id?: string | undefined;
|
|
2706
2565
|
template_id?: string | undefined;
|
|
2707
|
-
campaign_choice?: "
|
|
2566
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2708
2567
|
}>;
|
|
2709
2568
|
type CreatePromotionSchemaType = z.infer<typeof CreatePromotionSchema>;
|
|
2710
2569
|
|
|
@@ -2723,12 +2582,12 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2723
2582
|
(): react_jsx_runtime.JSX.Element;
|
|
2724
2583
|
_tabMeta: TabDefinition<{
|
|
2725
2584
|
code: string;
|
|
2726
|
-
type: "standard" | "buyget";
|
|
2727
2585
|
status: "draft" | "active" | "inactive";
|
|
2586
|
+
type: "standard" | "buyget";
|
|
2728
2587
|
rules: {
|
|
2729
2588
|
values: string | number | string[];
|
|
2730
|
-
operator: string;
|
|
2731
2589
|
attribute: string;
|
|
2590
|
+
operator: string;
|
|
2732
2591
|
id?: string | undefined;
|
|
2733
2592
|
required?: boolean | undefined;
|
|
2734
2593
|
disguised?: boolean | undefined;
|
|
@@ -2738,12 +2597,11 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2738
2597
|
application_method: {
|
|
2739
2598
|
value: string | number;
|
|
2740
2599
|
type: "fixed" | "percentage";
|
|
2741
|
-
|
|
2742
|
-
allocation: "once" | "each" | "across";
|
|
2600
|
+
allocation: "each" | "across" | "once";
|
|
2743
2601
|
target_rules: {
|
|
2744
2602
|
values: string | number | string[];
|
|
2745
|
-
operator: string;
|
|
2746
2603
|
attribute: string;
|
|
2604
|
+
operator: string;
|
|
2747
2605
|
id?: string | undefined;
|
|
2748
2606
|
required?: boolean | undefined;
|
|
2749
2607
|
disguised?: boolean | undefined;
|
|
@@ -2751,33 +2609,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2751
2609
|
}[];
|
|
2752
2610
|
buy_rules: {
|
|
2753
2611
|
values: string | number | string[];
|
|
2754
|
-
operator: string;
|
|
2755
2612
|
attribute: string;
|
|
2613
|
+
operator: string;
|
|
2756
2614
|
id?: string | undefined;
|
|
2757
2615
|
required?: boolean | undefined;
|
|
2758
2616
|
disguised?: boolean | undefined;
|
|
2759
2617
|
field_type?: string | undefined;
|
|
2760
2618
|
}[];
|
|
2619
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2761
2620
|
currency_code?: string | undefined;
|
|
2762
2621
|
max_quantity?: number | null | undefined;
|
|
2763
2622
|
};
|
|
2764
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2765
|
-
campaign_id?: string | undefined;
|
|
2766
2623
|
campaign?: {
|
|
2767
2624
|
name: string;
|
|
2768
2625
|
campaign_identifier: string;
|
|
2769
|
-
starts_at: Date | null;
|
|
2770
|
-
ends_at: Date | null;
|
|
2771
2626
|
budget: {
|
|
2772
|
-
type: "
|
|
2627
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2773
2628
|
limit?: number | null | undefined;
|
|
2774
|
-
currency_code?: string | null | undefined;
|
|
2775
2629
|
attribute?: string | null | undefined;
|
|
2630
|
+
currency_code?: string | null | undefined;
|
|
2776
2631
|
};
|
|
2632
|
+
starts_at: Date | null;
|
|
2633
|
+
ends_at: Date | null;
|
|
2777
2634
|
description?: string | undefined;
|
|
2778
2635
|
} | undefined;
|
|
2636
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2637
|
+
campaign_id?: string | undefined;
|
|
2779
2638
|
template_id?: string | undefined;
|
|
2780
|
-
campaign_choice?: "
|
|
2639
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2781
2640
|
}>;
|
|
2782
2641
|
};
|
|
2783
2642
|
DetailsTab: {
|
|
@@ -2790,12 +2649,12 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2790
2649
|
}): react_jsx_runtime.JSX.Element;
|
|
2791
2650
|
_tabMeta: TabDefinition<{
|
|
2792
2651
|
code: string;
|
|
2793
|
-
type: "standard" | "buyget";
|
|
2794
2652
|
status: "draft" | "active" | "inactive";
|
|
2653
|
+
type: "standard" | "buyget";
|
|
2795
2654
|
rules: {
|
|
2796
2655
|
values: string | number | string[];
|
|
2797
|
-
operator: string;
|
|
2798
2656
|
attribute: string;
|
|
2657
|
+
operator: string;
|
|
2799
2658
|
id?: string | undefined;
|
|
2800
2659
|
required?: boolean | undefined;
|
|
2801
2660
|
disguised?: boolean | undefined;
|
|
@@ -2805,12 +2664,11 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2805
2664
|
application_method: {
|
|
2806
2665
|
value: string | number;
|
|
2807
2666
|
type: "fixed" | "percentage";
|
|
2808
|
-
|
|
2809
|
-
allocation: "once" | "each" | "across";
|
|
2667
|
+
allocation: "each" | "across" | "once";
|
|
2810
2668
|
target_rules: {
|
|
2811
2669
|
values: string | number | string[];
|
|
2812
|
-
operator: string;
|
|
2813
2670
|
attribute: string;
|
|
2671
|
+
operator: string;
|
|
2814
2672
|
id?: string | undefined;
|
|
2815
2673
|
required?: boolean | undefined;
|
|
2816
2674
|
disguised?: boolean | undefined;
|
|
@@ -2818,45 +2676,46 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2818
2676
|
}[];
|
|
2819
2677
|
buy_rules: {
|
|
2820
2678
|
values: string | number | string[];
|
|
2821
|
-
operator: string;
|
|
2822
2679
|
attribute: string;
|
|
2680
|
+
operator: string;
|
|
2823
2681
|
id?: string | undefined;
|
|
2824
2682
|
required?: boolean | undefined;
|
|
2825
2683
|
disguised?: boolean | undefined;
|
|
2826
2684
|
field_type?: string | undefined;
|
|
2827
2685
|
}[];
|
|
2686
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2828
2687
|
currency_code?: string | undefined;
|
|
2829
2688
|
max_quantity?: number | null | undefined;
|
|
2830
2689
|
};
|
|
2831
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2832
|
-
campaign_id?: string | undefined;
|
|
2833
2690
|
campaign?: {
|
|
2834
2691
|
name: string;
|
|
2835
2692
|
campaign_identifier: string;
|
|
2836
|
-
starts_at: Date | null;
|
|
2837
|
-
ends_at: Date | null;
|
|
2838
2693
|
budget: {
|
|
2839
|
-
type: "
|
|
2694
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2840
2695
|
limit?: number | null | undefined;
|
|
2841
|
-
currency_code?: string | null | undefined;
|
|
2842
2696
|
attribute?: string | null | undefined;
|
|
2697
|
+
currency_code?: string | null | undefined;
|
|
2843
2698
|
};
|
|
2699
|
+
starts_at: Date | null;
|
|
2700
|
+
ends_at: Date | null;
|
|
2844
2701
|
description?: string | undefined;
|
|
2845
2702
|
} | undefined;
|
|
2703
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2704
|
+
campaign_id?: string | undefined;
|
|
2846
2705
|
template_id?: string | undefined;
|
|
2847
|
-
campaign_choice?: "
|
|
2706
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2848
2707
|
}>;
|
|
2849
2708
|
};
|
|
2850
2709
|
CampaignTab: {
|
|
2851
2710
|
(): react_jsx_runtime.JSX.Element;
|
|
2852
2711
|
_tabMeta: TabDefinition<{
|
|
2853
2712
|
code: string;
|
|
2854
|
-
type: "standard" | "buyget";
|
|
2855
2713
|
status: "draft" | "active" | "inactive";
|
|
2714
|
+
type: "standard" | "buyget";
|
|
2856
2715
|
rules: {
|
|
2857
2716
|
values: string | number | string[];
|
|
2858
|
-
operator: string;
|
|
2859
2717
|
attribute: string;
|
|
2718
|
+
operator: string;
|
|
2860
2719
|
id?: string | undefined;
|
|
2861
2720
|
required?: boolean | undefined;
|
|
2862
2721
|
disguised?: boolean | undefined;
|
|
@@ -2866,12 +2725,11 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2866
2725
|
application_method: {
|
|
2867
2726
|
value: string | number;
|
|
2868
2727
|
type: "fixed" | "percentage";
|
|
2869
|
-
|
|
2870
|
-
allocation: "once" | "each" | "across";
|
|
2728
|
+
allocation: "each" | "across" | "once";
|
|
2871
2729
|
target_rules: {
|
|
2872
2730
|
values: string | number | string[];
|
|
2873
|
-
operator: string;
|
|
2874
2731
|
attribute: string;
|
|
2732
|
+
operator: string;
|
|
2875
2733
|
id?: string | undefined;
|
|
2876
2734
|
required?: boolean | undefined;
|
|
2877
2735
|
disguised?: boolean | undefined;
|
|
@@ -2879,33 +2737,34 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2879
2737
|
}[];
|
|
2880
2738
|
buy_rules: {
|
|
2881
2739
|
values: string | number | string[];
|
|
2882
|
-
operator: string;
|
|
2883
2740
|
attribute: string;
|
|
2741
|
+
operator: string;
|
|
2884
2742
|
id?: string | undefined;
|
|
2885
2743
|
required?: boolean | undefined;
|
|
2886
2744
|
disguised?: boolean | undefined;
|
|
2887
2745
|
field_type?: string | undefined;
|
|
2888
2746
|
}[];
|
|
2747
|
+
target_type: "order" | "shipping_methods" | "items";
|
|
2889
2748
|
currency_code?: string | undefined;
|
|
2890
2749
|
max_quantity?: number | null | undefined;
|
|
2891
2750
|
};
|
|
2892
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2893
|
-
campaign_id?: string | undefined;
|
|
2894
2751
|
campaign?: {
|
|
2895
2752
|
name: string;
|
|
2896
2753
|
campaign_identifier: string;
|
|
2897
|
-
starts_at: Date | null;
|
|
2898
|
-
ends_at: Date | null;
|
|
2899
2754
|
budget: {
|
|
2900
|
-
type: "
|
|
2755
|
+
type: "usage" | "spend" | "use_by_attribute";
|
|
2901
2756
|
limit?: number | null | undefined;
|
|
2902
|
-
currency_code?: string | null | undefined;
|
|
2903
2757
|
attribute?: string | null | undefined;
|
|
2758
|
+
currency_code?: string | null | undefined;
|
|
2904
2759
|
};
|
|
2760
|
+
starts_at: Date | null;
|
|
2761
|
+
ends_at: Date | null;
|
|
2905
2762
|
description?: string | undefined;
|
|
2906
2763
|
} | undefined;
|
|
2764
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2765
|
+
campaign_id?: string | undefined;
|
|
2907
2766
|
template_id?: string | undefined;
|
|
2908
|
-
campaign_choice?: "
|
|
2767
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2909
2768
|
}>;
|
|
2910
2769
|
};
|
|
2911
2770
|
Tab: ({ children, }: {
|
|
@@ -3044,42 +2903,39 @@ declare const StoreDetailPage: (({ children }: {
|
|
|
3044
2903
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
3045
2904
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
3046
2905
|
MainGeneralSection: ({ seller, children, }: {
|
|
3047
|
-
seller:
|
|
2906
|
+
seller: any;
|
|
3048
2907
|
children?: ReactNode;
|
|
3049
2908
|
}) => react_jsx_runtime.JSX.Element;
|
|
3050
2909
|
MainConfigurationSection: ({ seller, }: {
|
|
3051
|
-
seller:
|
|
2910
|
+
seller: any;
|
|
3052
2911
|
}) => react_jsx_runtime.JSX.Element;
|
|
3053
2912
|
MainPaymentDetailsSection: ({ seller, }: {
|
|
3054
|
-
seller:
|
|
2913
|
+
seller: any;
|
|
3055
2914
|
}) => react_jsx_runtime.JSX.Element;
|
|
3056
2915
|
MainCompanyDetailsSection: ({ seller, }: {
|
|
3057
|
-
seller:
|
|
2916
|
+
seller: any;
|
|
3058
2917
|
}) => react_jsx_runtime.JSX.Element;
|
|
3059
2918
|
SidebarAddressSection: ({ seller }: {
|
|
3060
|
-
seller:
|
|
2919
|
+
seller: any;
|
|
3061
2920
|
}) => react_jsx_runtime.JSX.Element;
|
|
3062
|
-
SidebarSubscriptionSection: ({ seller, }: {
|
|
3063
|
-
seller: _mercurjs_types.SellerDTO;
|
|
3064
|
-
}) => react_jsx_runtime.JSX.Element | null;
|
|
3065
2921
|
SidebarMembersSection: ({ sellerId }: {
|
|
3066
2922
|
sellerId: string;
|
|
3067
2923
|
}) => react_jsx_runtime.JSX.Element;
|
|
3068
2924
|
Header: ({ seller, children, }: {
|
|
3069
|
-
seller:
|
|
2925
|
+
seller: any;
|
|
3070
2926
|
} & {
|
|
3071
2927
|
children?: ReactNode;
|
|
3072
2928
|
}) => react_jsx_runtime.JSX.Element;
|
|
3073
2929
|
HeaderTitle: ({ seller }: {
|
|
3074
|
-
seller:
|
|
2930
|
+
seller: any;
|
|
3075
2931
|
}) => react_jsx_runtime.JSX.Element;
|
|
3076
2932
|
HeaderActions: ({ seller, children, }: {
|
|
3077
|
-
seller:
|
|
2933
|
+
seller: any;
|
|
3078
2934
|
} & {
|
|
3079
2935
|
children?: ReactNode;
|
|
3080
2936
|
}) => react_jsx_runtime.JSX.Element;
|
|
3081
2937
|
HeaderEditButton: ({ seller }: {
|
|
3082
|
-
seller:
|
|
2938
|
+
seller: any;
|
|
3083
2939
|
}) => react_jsx_runtime.JSX.Element;
|
|
3084
2940
|
};
|
|
3085
2941
|
|