@mercurjs/admin 2.2.0 → 2.2.1-canary.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-campaign-promotions-KXVCLUG2.js → add-campaign-promotions-ARQN65B6.js} +9 -8
- package/dist/{adjust-inventory-5ZJJUEMJ.js → adjust-inventory-4ZOZCMSO.js} +10 -10
- package/dist/{api-key-management-create-OXI6OTIU.js → api-key-management-create-KJAP6KDX.js} +3 -3
- package/dist/{api-key-management-detail-ZTFHZK2W.js → api-key-management-detail-RV5Q45EV.js} +12 -12
- package/dist/{api-key-management-edit-QF5SAQE5.js → api-key-management-edit-N75HXUJF.js} +3 -3
- package/dist/{api-key-management-list-44HTIZDU.js → api-key-management-list-NGPTRNEE.js} +6 -6
- package/dist/{api-key-management-sales-channels-7HNHPB4N.js → api-key-management-sales-channels-A5F3D42D.js} +4 -4
- package/dist/{attribute-create-AGLZ6QOX.js → attribute-create-WDI2GMPM.js} +15 -15
- package/dist/{attribute-detail-62HLJFM3.js → attribute-detail-ZNPHAIL7.js} +18 -18
- package/dist/{attribute-edit-ZJS7KNRQ.js → attribute-edit-LBMZVL3O.js} +2 -2
- package/dist/{attribute-edit-possible-value-XK6DK7C3.js → attribute-edit-possible-value-RWG3U7IG.js} +2 -2
- package/dist/{attribute-list-VKAQ6254.js → attribute-list-QXNNF3NN.js} +13 -13
- package/dist/{breadcrumb-OF67XUWE.js → breadcrumb-2NHCSFUI.js} +1 -1
- package/dist/{campaign-budget-edit-TCWGNELH.js → campaign-budget-edit-7NXMWE2S.js} +1 -1
- package/dist/{campaign-configuration-AFGSG3MV.js → campaign-configuration-67I6NQNR.js} +1 -1
- package/dist/{campaign-create-OZV25GTH.js → campaign-create-NCJ4NA2B.js} +2 -2
- package/dist/{campaign-detail-G7DKPI5W.js → campaign-detail-MM5I4RGN.js} +18 -18
- package/dist/{campaign-edit-F6V6FWKS.js → campaign-edit-Z6A5J2G4.js} +1 -1
- package/dist/{campaign-list-QMEX7LES.js → campaign-list-FHPFFEM5.js} +4 -4
- package/dist/{categories-metadata-EKGY5IY2.js → categories-metadata-UN7P2PDA.js} +10 -10
- package/dist/{category-create-K452J7D3.js → category-create-3F6PHBRW.js} +3 -3
- package/dist/{category-detail-HUZ7MHT5.js → category-detail-RSGX5IKI.js} +18 -18
- package/dist/{category-edit-KP2ZSV6X.js → category-edit-YIGHQ442.js} +2 -2
- package/dist/{category-icon-edit-NNA7WVQV.js → category-icon-edit-6ZVXC4ID.js} +2 -2
- package/dist/{category-list-PXL4RTYP.js → category-list-SUER3DE3.js} +6 -6
- package/dist/{category-media-RFMA5Y5K.js → category-media-IEIIXESO.js} +2 -2
- package/dist/{category-organize-NNIYSZJT.js → category-organize-7QJ4MAA4.js} +2 -2
- package/dist/{category-products-RR5RFHYX.js → category-products-NOZYZHP7.js} +16 -16
- package/dist/chunk-2IDWFEKH.js +30 -0
- package/dist/{chunk-GS7VNGVP.js → chunk-2W4YIJYV.js} +1 -1
- package/dist/{chunk-4EM4RG5L.js → chunk-34AHGPLC.js} +1 -1
- package/dist/{chunk-46WFUTZ7.js → chunk-3FOZERFM.js} +4 -4
- package/dist/{chunk-XQ5IRC23.js → chunk-3PWLO7XZ.js} +4 -4
- package/dist/{chunk-TBZRRZP2.js → chunk-3RM44AH4.js} +2 -2
- package/dist/{chunk-GPACCA4B.js → chunk-4DHTLLPG.js} +2 -2
- package/dist/{chunk-XYLQODIX.js → chunk-4DWSG7TM.js} +2 -2
- package/dist/{chunk-6FZTLQKQ.js → chunk-4JNQHJKX.js} +4 -4
- package/dist/{chunk-52KJSIHS.js → chunk-4UQMRTSC.js} +1393 -1359
- package/dist/{chunk-BAW3F2JM.js → chunk-52C7Q74T.js} +2 -2
- package/dist/{chunk-FEEYWP65.js → chunk-5346HYMP.js} +1 -1
- package/dist/{chunk-2TTWEY5U.js → chunk-53KPM2IF.js} +1 -1
- package/dist/{chunk-EU2CV4TC.js → chunk-5P2YBCU4.js} +1 -1
- package/dist/{chunk-ZYW5QC2S.js → chunk-5SJGXU6J.js} +1 -1
- package/dist/{chunk-H6PRFXGU.js → chunk-5WJ6LPXM.js} +1 -1
- package/dist/{chunk-4TW5RTWO.js → chunk-5YT4OYMI.js} +2 -2
- package/dist/{chunk-IEYTK56D.js → chunk-6AUFNHJ4.js} +1 -1
- package/dist/{chunk-Z6KZDJNZ.js → chunk-6C5EXVG7.js} +4 -4
- package/dist/{chunk-N2WNCZLR.js → chunk-6L6HRSV7.js} +2 -2
- package/dist/{chunk-MSUG6ERE.js → chunk-6ZVLQ4IK.js} +3 -3
- package/dist/{chunk-WRAOTX6G.js → chunk-AJJSAJWK.js} +8 -4
- package/dist/{chunk-PQYZXLKV.js → chunk-AYK22LJU.js} +3 -3
- package/dist/{chunk-NHKZJMNX.js → chunk-BEHI3OYC.js} +2 -2
- package/dist/{chunk-XH2SXM7F.js → chunk-BIMJMDKU.js} +1 -1
- package/dist/{chunk-NGKC43E3.js → chunk-BNT2LEY5.js} +4 -4
- package/dist/{chunk-LAS6SXKB.js → chunk-C3SCJHQN.js} +1 -1
- package/dist/{chunk-3WT5O2NN.js → chunk-COH2G4BO.js} +2 -2
- package/dist/{chunk-LEHORJ76.js → chunk-CZN2FPHR.js} +1 -1
- package/dist/{chunk-TDDEAQ3T.js → chunk-EJNYP4ZP.js} +286 -229
- package/dist/{chunk-6QXSN5IG.js → chunk-EKLQ3PFC.js} +1 -1
- package/dist/{chunk-L2HIQAOS.js → chunk-EXZFNGEH.js} +11 -1
- package/dist/{chunk-CRKA4PUH.js → chunk-F5TGLYES.js} +3 -3
- package/dist/{chunk-PZRHF4NZ.js → chunk-FGHHNTWJ.js} +1 -1
- package/dist/{chunk-Y5RHBN7J.js → chunk-FRUJ3RNF.js} +1 -1
- package/dist/{chunk-P73BQ56H.js → chunk-GAHJUTEI.js} +6 -6
- package/dist/{chunk-D24Q3XHG.js → chunk-GBSL5JTZ.js} +1 -1
- package/dist/{chunk-IHO6OGWR.js → chunk-GINON6FD.js} +1 -1
- package/dist/{chunk-5JHHADVY.js → chunk-GUXBEXAN.js} +1 -1
- package/dist/{chunk-6RMCSQBI.js → chunk-GXKT2GQ7.js} +445 -211
- package/dist/{chunk-6XYDJWNG.js → chunk-GXYCGT7P.js} +1 -1
- package/dist/{chunk-4EBW73IY.js → chunk-GYMFTVB4.js} +1 -1
- package/dist/{chunk-U7XBLL2L.js → chunk-H3PH7ZYY.js} +5 -5
- package/dist/{chunk-HC2TEEKQ.js → chunk-HKHDRY5B.js} +4 -1
- package/dist/{chunk-IB7PFZNA.js → chunk-HRDRZOL4.js} +2 -2
- package/dist/{chunk-XIB2KDE7.js → chunk-HRPM4HIB.js} +1 -1
- package/dist/{chunk-QYPNC3U5.js → chunk-IPC6RQQ7.js} +1 -1
- package/dist/{chunk-QSB2PR6Y.js → chunk-IWS4FEAA.js} +3 -3
- package/dist/{chunk-GRFWCCUW.js → chunk-IZYVY2QV.js} +1 -1
- package/dist/{chunk-ICAXGUPY.js → chunk-J37PJ6OX.js} +15 -44
- package/dist/chunk-JU5ALCEN.js +82 -0
- package/dist/{chunk-7CAQDCJ4.js → chunk-JZZLMXG4.js} +1 -1
- package/dist/{chunk-PYNVCRQK.js → chunk-K4LPEHOH.js} +1 -1
- package/dist/{chunk-3C5EMQWG.js → chunk-LKGRPE3Y.js} +4 -4
- package/dist/{chunk-VWT7NSJO.js → chunk-LU7SPDKK.js} +89 -252
- package/dist/{chunk-YCAPN5F6.js → chunk-LUPIJMZB.js} +56 -26
- package/dist/{chunk-S2ZNHDPO.js → chunk-MUAEOX6S.js} +6 -6
- package/dist/{chunk-YBMTMG47.js → chunk-MXLSIF5V.js} +1 -1
- package/dist/{chunk-XVHXE7GQ.js → chunk-MXVWKV4Z.js} +2 -2
- package/dist/{chunk-JXMEDALI.js → chunk-MZNO6GSW.js} +1 -1
- package/dist/{chunk-7LSEDXCB.js → chunk-NGJUDYMP.js} +1 -1
- package/dist/{chunk-QF22CPST.js → chunk-NSCHKQQL.js} +4 -4
- package/dist/{chunk-O4X3FYQ2.js → chunk-NUD4H2VZ.js} +2 -2
- package/dist/{chunk-QD5I3ZC4.js → chunk-OADEOZJ3.js} +6 -6
- package/dist/{chunk-GSWFRYKT.js → chunk-OPIRMBSK.js} +5 -5
- package/dist/{chunk-O3Q2YJNR.js → chunk-OT323T4H.js} +5 -5
- package/dist/{chunk-SZCQUPC6.js → chunk-OY5QD46V.js} +1 -1
- package/dist/{chunk-HI2UJ43B.js → chunk-OZEICR2S.js} +3 -3
- package/dist/{chunk-CC7MG2B7.js → chunk-PBIJMBAE.js} +2 -2
- package/dist/{chunk-EDCGEQ4V.js → chunk-PEPANIBF.js} +1 -1
- package/dist/{chunk-EITNWVKQ.js → chunk-PVNB7ETQ.js} +1 -1
- package/dist/{chunk-ZNEC7NSD.js → chunk-PW64YRH4.js} +9 -9
- package/dist/{chunk-QRN63LUS.js → chunk-QE57IFSR.js} +1 -20
- package/dist/{chunk-R6433WFI.js → chunk-QMEFPNCA.js} +1 -1
- package/dist/{chunk-2O6SLX2J.js → chunk-R55WKWFH.js} +1 -1
- package/dist/{chunk-BVVZLZBO.js → chunk-R7Q23SWH.js} +3 -3
- package/dist/{chunk-4OMNDHD2.js → chunk-RDDZLUKZ.js} +18 -12
- package/dist/{chunk-AQCA7HGL.js → chunk-RKGGKEPI.js} +5 -5
- package/dist/{chunk-42BAC3EV.js → chunk-RLOKMTTN.js} +11 -0
- package/dist/{chunk-6TJPMF7U.js → chunk-RPWO23NX.js} +2 -2
- package/dist/{chunk-FU6XA7IT.js → chunk-SNRPPG3Z.js} +3 -3
- package/dist/{chunk-LZSUKT5X.js → chunk-TF74ITJS.js} +6 -6
- package/dist/{chunk-UCA7UES2.js → chunk-U4BIWWRA.js} +1 -1
- package/dist/{chunk-I6T244NF.js → chunk-U6EIJREE.js} +1 -1
- package/dist/{chunk-XRSHPAED.js → chunk-UNNSF2VP.js} +1 -1
- package/dist/chunk-UST2RGWB.js +37 -0
- package/dist/{chunk-KX6C5FDB.js → chunk-V52NWX56.js} +1 -1
- package/dist/{chunk-7PPT3477.js → chunk-VBEQXZ2Z.js} +19 -10
- package/dist/{chunk-J5CQ6F6U.js → chunk-VKHGNAFW.js} +1 -1
- package/dist/{chunk-LNBYVXJX.js → chunk-VQN77LKF.js} +59 -10
- package/dist/{chunk-NLLX6JO6.js → chunk-WE4RBSHT.js} +3 -3
- package/dist/{chunk-XJAMGFC5.js → chunk-WIFK6L7P.js} +2 -2
- package/dist/{chunk-HPFFEXS6.js → chunk-WJJBIAJI.js} +2 -2
- package/dist/{chunk-5NC3VFXY.js → chunk-WR3WSUIV.js} +1 -1
- package/dist/{chunk-GNBUH5DG.js → chunk-WX5UZZZD.js} +1 -1
- package/dist/{chunk-GTFDJLHW.js → chunk-Y2UMDTV4.js} +22 -17
- package/dist/{chunk-HEXXU3V3.js → chunk-Y3IDGFA4.js} +3 -3
- package/dist/{chunk-CRHUF6Q6.js → chunk-YG65LX2W.js} +2 -2
- package/dist/{chunk-QHVRUP4S.js → chunk-YNPIZEWG.js} +2 -2
- package/dist/{chunk-4XRTTHJZ.js → chunk-YTBPZ5MO.js} +1 -1
- package/dist/{collection-add-products-CJEX5A53.js → collection-add-products-HPEJTRYI.js} +16 -16
- package/dist/{collection-create-TBEK75Y3.js → collection-create-3ZCR6VGP.js} +2 -2
- package/dist/{collection-detail-H2Q6WOUM.js → collection-detail-W6CGGW5S.js} +17 -17
- package/dist/{collection-edit-7RBQZNQ6.js → collection-edit-LIIDFJ6T.js} +2 -2
- package/dist/{collection-icon-edit-JQZXC2S3.js → collection-icon-edit-GMWBV5EA.js} +2 -2
- package/dist/{collection-list-ZMDJT77J.js → collection-list-AFDLBBLJ.js} +18 -18
- package/dist/{collection-media-H3CQH6DM.js → collection-media-FHD3IAES.js} +2 -2
- package/dist/{collection-metadata-7FOQ22FA.js → collection-metadata-PEBMVFM3.js} +10 -10
- package/dist/{commission-rule-detail-ISEXGPY6.js → commission-rule-detail-FSV6PA6Y.js} +4 -4
- package/dist/{commissions-list-OJ44UKGL.js → commissions-list-PRA3DROC.js} +6 -6
- package/dist/{customer-detail-LB5A5RDI.js → customer-detail-Z63YC3CC.js} +14 -14
- package/dist/{customer-group-add-customers-DK32GSHX.js → customer-group-add-customers-ZROAA2ZG.js} +2 -2
- package/dist/{customer-group-detail-TABEQDDU.js → customer-group-detail-K6TMJ66E.js} +13 -13
- package/dist/{customer-group-list-FLSK5QJD.js → customer-group-list-TJFAFJJA.js} +13 -13
- package/dist/{customer-group-metadata-V5S6BIXN.js → customer-group-metadata-2GHR645Q.js} +10 -10
- package/dist/{customer-list-E72FR2HJ.js → customer-list-BK2SAQES.js} +3 -3
- package/dist/{customer-metadata-4LLZ4ZMR.js → customer-metadata-H2BVMMPM.js} +10 -10
- package/dist/{customers-add-customer-group-FCZYSHXJ.js → customers-add-customer-group-YFNPS2EL.js} +12 -12
- package/dist/{edit-inventory-item-46KQFZVA.js → edit-inventory-item-DD5ZG32Y.js} +10 -10
- package/dist/{edit-inventory-item-attributes-ELHT4C2Y.js → edit-inventory-item-attributes-VNLOF6NO.js} +10 -10
- package/dist/{edit-reservation-PCKNMHXC.js → edit-reservation-CA6SMY3V.js} +2 -2
- package/dist/{edit-rules-GDQHJ3YV.js → edit-rules-F42247KN.js} +20 -12
- package/dist/extension-targets.d.ts +2 -2
- package/dist/index.css +14 -5
- package/dist/index.d.ts +4 -5
- package/dist/index.js +215 -215
- package/dist/{inventory-create-POFYTZXF.js → inventory-create-VDO4OWZJ.js} +11 -11
- package/dist/{inventory-detail-BKRLIEBM.js → inventory-detail-CBGHNIHH.js} +13 -13
- package/dist/{inventory-list-FEV27NU6.js → inventory-list-YRGVDHKT.js} +4 -4
- package/dist/{inventory-metadata-63TI6TPT.js → inventory-metadata-SVEEQKIY.js} +10 -10
- package/dist/{inventory-stock-KUNNVL4K.js → inventory-stock-3WSWPSMT.js} +10 -10
- package/dist/{loader-MD6G3UZA.js → loader-5VHWG2HX.js} +1 -1
- package/dist/{location-detail-MHJK22BY.js → location-detail-TIHXQBZW.js} +12 -12
- package/dist/{location-fulfillment-providers-5LMLVCH3.js → location-fulfillment-providers-XULTKWDA.js} +16 -16
- package/dist/{location-list-DRCT7MJW.js → location-list-4RNLWRLN.js} +12 -11
- package/dist/{location-sales-channels-5ONDOTKC.js → location-sales-channels-MMRCF6QT.js} +3 -3
- package/dist/{location-service-zone-create-SSMZUELJ.js → location-service-zone-create-AC2PAK2X.js} +3 -3
- package/dist/{location-service-zone-manage-areas-QP3WONCG.js → location-service-zone-manage-areas-WXBQAEGB.js} +3 -3
- package/dist/{location-service-zone-shipping-option-create-QBGIX2IS.js → location-service-zone-shipping-option-create-CJI2IDS2.js} +10 -10
- package/dist/{login-BJNN5BDP.js → login-7R2QVOMB.js} +10 -10
- package/dist/{manage-locations-X76IQE2V.js → manage-locations-E2ODEJC5.js} +1 -1
- package/dist/{marketplace-add-currencies-DNI3AV3A.js → marketplace-add-currencies-GSR5IFFC.js} +2 -2
- package/dist/{marketplace-detail-73DJFMI7.js → marketplace-detail-CYNEUPOG.js} +13 -13
- package/dist/{marketplace-metadata-PSMQ7E3O.js → marketplace-metadata-75DPIUID.js} +10 -10
- package/dist/{offer-detail-page-XJFDKX4Z.js → offer-detail-page-GHSCR452.js} +16 -23
- package/dist/{offer-variant-detail-page-6QPGQSLY.js → offer-variant-detail-page-JLUJ7FQ4.js} +3 -3
- package/dist/{offers-7IRUIP7L.js → offers-NKMURHLM.js} +15 -15
- package/dist/{order-create-claim-UJKXA37S.js → order-create-claim-LF23TJ2Z.js} +2 -2
- package/dist/{order-create-edit-5U2QNJ5S.js → order-create-edit-ZF6YEUAW.js} +5 -5
- package/dist/{order-create-exchange-R5TOVSJZ.js → order-create-exchange-NM2JT5OF.js} +12 -12
- package/dist/{order-create-refund-MEAXQVIZ.js → order-create-refund-FWRG3VIW.js} +10 -10
- package/dist/{order-create-return-MEUIY4VU.js → order-create-return-YV5HXMY7.js} +2 -2
- package/dist/{order-detail-QE4HBQ5W.js → order-detail-S3ENSWQ3.js} +14 -14
- package/dist/{order-edit-billing-address-7S2QIRSZ.js → order-edit-billing-address-UYZNY77G.js} +11 -11
- package/dist/{order-edit-email-EE26NWGK.js → order-edit-email-GVGQLXNK.js} +10 -10
- package/dist/{order-edit-shipping-address-7G5JUVKW.js → order-edit-shipping-address-RS3PRPVM.js} +10 -10
- package/dist/{order-list-QILNDFBC.js → order-list-JBCU6ZZD.js} +9 -9
- package/dist/{order-metadata-UBUSPFTW.js → order-metadata-2TOR4BJY.js} +10 -10
- package/dist/{order-request-transfer-EO76XRGE.js → order-request-transfer-6JJ2FQPA.js} +10 -10
- package/dist/pages/index.d.ts +320 -41
- package/dist/pages/index.js +98 -96
- package/dist/{payout-list-R6ESKT7V.js → payout-list-N6L7HNA5.js} +3 -3
- package/dist/{price-list-configuration-D6IS7UY5.js → price-list-configuration-BGV74K6U.js} +6 -6
- package/dist/{price-list-create-4TDXQ7UF.js → price-list-create-T4P2TWFS.js} +18 -18
- package/dist/{price-list-detail-TUKXO5WG.js → price-list-detail-JBXWXU7K.js} +18 -18
- package/dist/{price-list-edit-YCR47ZXS.js → price-list-edit-FQVZW4FT.js} +2 -2
- package/dist/{price-list-list-TSK3TWUX.js → price-list-list-KINPGGQQ.js} +6 -6
- package/dist/{price-list-prices-add-VEQQYNEA.js → price-list-prices-add-2R4A2UVP.js} +17 -17
- package/dist/{price-list-prices-edit-ANLZGAY4.js → price-list-prices-edit-PZN63VWV.js} +10 -10
- package/dist/{product-add-existing-attributes-3S3E3TDO.js → product-add-existing-attributes-LQ3S5RBE.js} +16 -16
- package/dist/{product-attributes-SY656CC5.js → product-attributes-JUEMRL5V.js} +1 -1
- package/dist/{product-bulk-edit-XU2MFL4U.js → product-bulk-edit-7GWRXFUC.js} +1 -1
- package/dist/{product-create-KILMAWD7.js → product-create-RUMS2AIE.js} +17 -17
- package/dist/{product-create-attribute-XM47T3D6.js → product-create-attribute-7P4LZP5R.js} +2 -2
- package/dist/{product-create-variant-3XVP5IWI.js → product-create-variant-74KLCMEU.js} +4 -4
- package/dist/{product-detail-B4HVVOY3.js → product-detail-XHT5SGCW.js} +15 -15
- package/dist/{product-edit-ZX33LEQM.js → product-edit-GAYL53YC.js} +1 -1
- package/dist/product-edit-attribute-EBES4PJ3.js +90 -0
- package/dist/{product-list-DNZVZ3NC.js → product-list-JQRCIWTE.js} +17 -17
- package/dist/{product-media-QY4RFTYZ.js → product-media-4LDPBVQ5.js} +4 -4
- package/dist/{product-metadata-TGAAEG4O.js → product-metadata-YZKS2MQV.js} +10 -10
- package/dist/{product-organization-JPPQYC5E.js → product-organization-6TQ4HKB2.js} +4 -4
- package/dist/{product-sales-channels-CVAXZ7C7.js → product-sales-channels-K7VOMWUP.js} +3 -3
- package/dist/{product-shipping-profile-7F5GW6PQ.js → product-shipping-profile-SYGR4IF7.js} +1 -1
- package/dist/{product-tag-create-MZV3LCQT.js → product-tag-create-J6SUTGLF.js} +10 -10
- package/dist/{product-tag-detail-SANSVX5Z.js → product-tag-detail-MCHNANH4.js} +20 -20
- package/dist/{product-tag-edit-3BSAEN4H.js → product-tag-edit-XTCRJPYD.js} +10 -10
- package/dist/{product-tag-list-NFOAK7II.js → product-tag-list-4SEHT2NG.js} +20 -20
- package/dist/{product-tag-metadata-VNH5GXMK.js → product-tag-metadata-UMQPCGKY.js} +10 -10
- package/dist/{product-type-detail-ZIGX5HUJ.js → product-type-detail-SHU5N2RG.js} +17 -17
- package/dist/{product-type-list-D7GAIR2E.js → product-type-list-AVAO26QW.js} +3 -3
- package/dist/{product-type-metadata-6KXQSYK5.js → product-type-metadata-RIRSRMDO.js} +10 -10
- package/dist/{product-variant-detail-LIXWU3V2.js → product-variant-detail-XWREJ4EK.js} +11 -11
- package/dist/{product-variant-edit-GK5A2XMB.js → product-variant-edit-PCD66JBM.js} +12 -12
- package/dist/{product-variant-metadata-4BULTZ3M.js → product-variant-metadata-UJOLOTCQ.js} +10 -10
- package/dist/{promotion-add-campaign-AU43PI2F.js → promotion-add-campaign-KS5SSTMP.js} +8 -3
- package/dist/{promotion-create-5BJ4EVAI.js → promotion-create-XYXVAF67.js} +14 -14
- package/dist/{promotion-detail-S5R5UXJ6.js → promotion-detail-EFW4P6N6.js} +21 -37
- package/dist/{promotion-edit-details-GURXKLSK.js → promotion-edit-details-SH27X7GF.js} +293 -143
- package/dist/{promotion-list-22NDDYPQ.js → promotion-list-MVXEOO5I.js} +10 -9
- package/dist/{refund-reason-create-SUJIXZMY.js → refund-reason-create-XEBLTB3C.js} +10 -10
- package/dist/{refund-reason-edit-B3Q2DGXR.js → refund-reason-edit-J3KQ2FVF.js} +10 -10
- package/dist/{refund-reason-list-JLKMODL4.js → refund-reason-list-I2EACZ64.js} +15 -15
- package/dist/{region-add-countries-LF3AV6GE.js → region-add-countries-GKKZVGKH.js} +2 -2
- package/dist/{region-create-CVQVVWVA.js → region-create-2XEJLBWS.js} +2 -2
- package/dist/{region-detail-JGSC4A2U.js → region-detail-LILWL7FN.js} +3 -3
- package/dist/{region-list-ZZJNZWOP.js → region-list-E6OMK3OU.js} +3 -3
- package/dist/{region-metadata-EFQS2FU6.js → region-metadata-GDKM4ND5.js} +10 -10
- package/dist/{reservation-create-WC7RIX5E.js → reservation-create-77EYD2ZZ.js} +2 -2
- package/dist/{reservation-detail-XYRHURYY.js → reservation-detail-M7ZAEO3G.js} +11 -11
- package/dist/{reservation-list-IKDEV3JB.js → reservation-list-EJMYXNZV.js} +5 -5
- package/dist/{reservation-metadata-44QNS5IN.js → reservation-metadata-E6WP6SHE.js} +10 -10
- package/dist/{reset-password-CCHTZ4YX.js → reset-password-P45OKOT4.js} +1 -1
- package/dist/{return-reason-list-6WUNAHM6.js → return-reason-list-QWQUXSXO.js} +7 -7
- package/dist/{sales-channel-add-products-PYO5W5KK.js → sales-channel-add-products-Q6YXGNQB.js} +16 -16
- package/dist/{sales-channel-create-WSROI4MD.js → sales-channel-create-BYCHXO7N.js} +2 -2
- package/dist/{sales-channel-detail-DBVRTBF7.js → sales-channel-detail-EQMYYPW6.js} +17 -17
- package/dist/{sales-channel-edit-SNXG34Z3.js → sales-channel-edit-KHHDBZQG.js} +2 -2
- package/dist/{sales-channel-list-VWXBOQYJ.js → sales-channel-list-J4624AXE.js} +12 -12
- package/dist/{sales-channel-metadata-2LJBDKYI.js → sales-channel-metadata-QAXDOSPG.js} +10 -10
- package/dist/{shipping-option-type-create-ZRWS4PGU.js → shipping-option-type-create-AULMQGRN.js} +10 -10
- package/dist/{shipping-option-type-detail-KUGZH5YF.js → shipping-option-type-detail-EQDAW4GJ.js} +10 -10
- package/dist/{shipping-option-type-edit-24XNCOIH.js → shipping-option-type-edit-NVXGY32I.js} +10 -10
- package/dist/{shipping-option-type-list-4XTVL3AD.js → shipping-option-type-list-PW44GDWO.js} +13 -13
- package/dist/{shipping-profile-metadata-O3AG4LS4.js → shipping-profile-metadata-OW5IGIW3.js} +10 -10
- package/dist/{shipping-profiles-list-4SBV3D52.js → shipping-profiles-list-HP3GZTW6.js} +3 -3
- package/dist/{store-bulk-edit-J5G2TKVA.js → store-bulk-edit-KOBCPVNM.js} +1 -1
- package/dist/{store-create-VKLIAHQL.js → store-create-YPCF45XH.js} +10 -10
- package/dist/{store-details-DWV3WMKC.js → store-details-KDCMXPK2.js} +18 -18
- package/dist/{store-edit-WIAZLSHU.js → store-edit-BGQJW7GH.js} +3 -3
- package/dist/{store-list-HZCRXW5L.js → store-list-SBY73JTY.js} +18 -18
- package/dist/{store-member-invite-6ZIH6B7U.js → store-member-invite-2WGAJVIX.js} +1 -1
- package/dist/{tax-region-create-2NPI4MUT.js → tax-region-create-7UUVKDZM.js} +11 -11
- package/dist/{tax-region-detail-W4RAVJVN.js → tax-region-detail-B2AIDTXD.js} +14 -14
- package/dist/{tax-region-edit-RZRSLGFZ.js → tax-region-edit-UQAMWLO5.js} +10 -10
- package/dist/{tax-region-list-Y2XSQSCD.js → tax-region-list-MVDXWVIK.js} +3 -3
- package/dist/{tax-region-metadata-OQX67IIE.js → tax-region-metadata-UONPCPC6.js} +10 -10
- package/dist/{tax-region-province-detail-BS7INZML.js → tax-region-province-detail-XFUAN2R7.js} +13 -13
- package/dist/{tax-region-tax-override-create-NRO7QCVL.js → tax-region-tax-override-create-7TQVZLLY.js} +20 -20
- package/dist/{tax-region-tax-override-edit-POJATJRW.js → tax-region-tax-override-edit-ZJ6TFQRV.js} +20 -20
- package/dist/{user-detail-RNP7ADME.js → user-detail-IYB2LYGS.js} +1 -1
- package/dist/{user-invite-TUDDN7KP.js → user-invite-ZGB23H4G.js} +2 -2
- package/dist/{user-list-JT3HWEGY.js → user-list-FZ7CGJ5N.js} +3 -3
- package/dist/{user-metadata-PNIWSBYP.js → user-metadata-OXHKB6LT.js} +10 -10
- package/package.json +15 -15
- package/dist/chunk-S2WEYEQR.js +0 -14
- package/dist/product-edit-attribute-QC22TRX4.js +0 -336
package/dist/pages/index.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ import * as react_hook_form from 'react-hook-form';
|
|
|
8
8
|
import { DeepPartial } from 'react-hook-form';
|
|
9
9
|
import { T as TabDefinition } from '../constants-CBhKGpBZ.js';
|
|
10
10
|
export { P as PRODUCT_DETAIL_FIELDS, a as PRODUCT_DETAIL_QUERY } from '../constants-CBhKGpBZ.js';
|
|
11
|
-
import * as zod from 'zod';
|
|
12
11
|
import { z } from 'zod';
|
|
13
12
|
import * as _mercurjs_types from '@mercurjs/types';
|
|
14
13
|
import { SellerDTO } from '@mercurjs/types';
|
|
@@ -236,7 +235,7 @@ declare const CategoryCreatePage: (({ children }: {
|
|
|
236
235
|
Form: ({ parentCategoryId, children, schema, defaultValues: extraDefaults, }: {
|
|
237
236
|
parentCategoryId: string | null;
|
|
238
237
|
children?: ReactNode;
|
|
239
|
-
schema?:
|
|
238
|
+
schema?: typeof CreateCategorySchema;
|
|
240
239
|
defaultValues?: react_hook_form.DeepPartial<CreateCategorySchemaType>;
|
|
241
240
|
}) => react_jsx_runtime.JSX.Element;
|
|
242
241
|
DetailsTab: {
|
|
@@ -507,7 +506,7 @@ type CreateInventoryItemSchemaType = z.infer<typeof CreateInventoryItemSchema>;
|
|
|
507
506
|
type InventoryCreateFormProps = {
|
|
508
507
|
locations: HttpTypes.AdminStockLocation[];
|
|
509
508
|
children?: ReactNode;
|
|
510
|
-
schema?:
|
|
509
|
+
schema?: typeof CreateInventoryItemSchema;
|
|
511
510
|
defaultValues?: DeepPartial<CreateInventoryItemSchemaType>;
|
|
512
511
|
};
|
|
513
512
|
declare function InventoryCreateForm({ locations, children, schema, defaultValues: extraDefaults, }: InventoryCreateFormProps): react_jsx_runtime.JSX.Element;
|
|
@@ -625,58 +624,58 @@ declare const CreateShippingOptionSchema: z.ZodObject<{
|
|
|
625
624
|
eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
626
625
|
}, "strip", z.ZodTypeAny, {
|
|
627
626
|
amount: string | number;
|
|
627
|
+
eq?: number | null | undefined;
|
|
628
628
|
gt?: number | null | undefined;
|
|
629
629
|
lt?: number | null | undefined;
|
|
630
|
-
eq?: number | null | undefined;
|
|
631
630
|
lte?: string | number | null | undefined;
|
|
632
631
|
gte?: string | number | null | undefined;
|
|
633
632
|
}, {
|
|
634
633
|
amount: string | number;
|
|
634
|
+
eq?: number | null | undefined;
|
|
635
635
|
gt?: number | null | undefined;
|
|
636
636
|
lt?: number | null | undefined;
|
|
637
|
-
eq?: number | null | undefined;
|
|
638
637
|
lte?: string | number | null | undefined;
|
|
639
638
|
gte?: string | number | null | undefined;
|
|
640
639
|
}>, {
|
|
641
640
|
amount: string | number;
|
|
641
|
+
eq?: number | null | undefined;
|
|
642
642
|
gt?: number | null | undefined;
|
|
643
643
|
lt?: number | null | undefined;
|
|
644
|
-
eq?: number | null | undefined;
|
|
645
644
|
lte?: string | number | null | undefined;
|
|
646
645
|
gte?: string | number | null | undefined;
|
|
647
646
|
}, {
|
|
648
647
|
amount: string | number;
|
|
648
|
+
eq?: number | null | undefined;
|
|
649
649
|
gt?: number | null | undefined;
|
|
650
650
|
lt?: number | null | undefined;
|
|
651
|
-
eq?: number | null | undefined;
|
|
652
651
|
lte?: string | number | null | undefined;
|
|
653
652
|
gte?: string | number | null | undefined;
|
|
654
653
|
}>, {
|
|
655
654
|
amount: string | number;
|
|
655
|
+
eq?: number | null | undefined;
|
|
656
656
|
gt?: number | null | undefined;
|
|
657
657
|
lt?: number | null | undefined;
|
|
658
|
-
eq?: number | null | undefined;
|
|
659
658
|
lte?: string | number | null | undefined;
|
|
660
659
|
gte?: string | number | null | undefined;
|
|
661
660
|
}, {
|
|
662
661
|
amount: string | number;
|
|
662
|
+
eq?: number | null | undefined;
|
|
663
663
|
gt?: number | null | undefined;
|
|
664
664
|
lt?: number | null | undefined;
|
|
665
|
-
eq?: number | null | undefined;
|
|
666
665
|
lte?: string | number | null | undefined;
|
|
667
666
|
gte?: string | number | null | undefined;
|
|
668
667
|
}>, {
|
|
669
668
|
amount: string | number;
|
|
669
|
+
eq?: number | null | undefined;
|
|
670
670
|
gt?: number | null | undefined;
|
|
671
671
|
lt?: number | null | undefined;
|
|
672
|
-
eq?: number | null | undefined;
|
|
673
672
|
lte?: string | number | null | undefined;
|
|
674
673
|
gte?: string | number | null | undefined;
|
|
675
674
|
}, {
|
|
676
675
|
amount: string | number;
|
|
676
|
+
eq?: number | null | undefined;
|
|
677
677
|
gt?: number | null | undefined;
|
|
678
678
|
lt?: number | null | undefined;
|
|
679
|
-
eq?: number | null | undefined;
|
|
680
679
|
lte?: string | number | null | undefined;
|
|
681
680
|
gte?: string | number | null | undefined;
|
|
682
681
|
}>, "many">>>;
|
|
@@ -689,58 +688,58 @@ declare const CreateShippingOptionSchema: z.ZodObject<{
|
|
|
689
688
|
eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
690
689
|
}, "strip", z.ZodTypeAny, {
|
|
691
690
|
amount: string | number;
|
|
691
|
+
eq?: number | null | undefined;
|
|
692
692
|
gt?: number | null | undefined;
|
|
693
693
|
lt?: number | null | undefined;
|
|
694
|
-
eq?: number | null | undefined;
|
|
695
694
|
lte?: string | number | null | undefined;
|
|
696
695
|
gte?: string | number | null | undefined;
|
|
697
696
|
}, {
|
|
698
697
|
amount: string | number;
|
|
698
|
+
eq?: number | null | undefined;
|
|
699
699
|
gt?: number | null | undefined;
|
|
700
700
|
lt?: number | null | undefined;
|
|
701
|
-
eq?: number | null | undefined;
|
|
702
701
|
lte?: string | number | null | undefined;
|
|
703
702
|
gte?: string | number | null | undefined;
|
|
704
703
|
}>, {
|
|
705
704
|
amount: string | number;
|
|
705
|
+
eq?: number | null | undefined;
|
|
706
706
|
gt?: number | null | undefined;
|
|
707
707
|
lt?: number | null | undefined;
|
|
708
|
-
eq?: number | null | undefined;
|
|
709
708
|
lte?: string | number | null | undefined;
|
|
710
709
|
gte?: string | number | null | undefined;
|
|
711
710
|
}, {
|
|
712
711
|
amount: string | number;
|
|
712
|
+
eq?: number | null | undefined;
|
|
713
713
|
gt?: number | null | undefined;
|
|
714
714
|
lt?: number | null | undefined;
|
|
715
|
-
eq?: number | null | undefined;
|
|
716
715
|
lte?: string | number | null | undefined;
|
|
717
716
|
gte?: string | number | null | undefined;
|
|
718
717
|
}>, {
|
|
719
718
|
amount: string | number;
|
|
719
|
+
eq?: number | null | undefined;
|
|
720
720
|
gt?: number | null | undefined;
|
|
721
721
|
lt?: number | null | undefined;
|
|
722
|
-
eq?: number | null | undefined;
|
|
723
722
|
lte?: string | number | null | undefined;
|
|
724
723
|
gte?: string | number | null | undefined;
|
|
725
724
|
}, {
|
|
726
725
|
amount: string | number;
|
|
726
|
+
eq?: number | null | undefined;
|
|
727
727
|
gt?: number | null | undefined;
|
|
728
728
|
lt?: number | null | undefined;
|
|
729
|
-
eq?: number | null | undefined;
|
|
730
729
|
lte?: string | number | null | undefined;
|
|
731
730
|
gte?: string | number | null | undefined;
|
|
732
731
|
}>, {
|
|
733
732
|
amount: string | number;
|
|
733
|
+
eq?: number | null | undefined;
|
|
734
734
|
gt?: number | null | undefined;
|
|
735
735
|
lt?: number | null | undefined;
|
|
736
|
-
eq?: number | null | undefined;
|
|
737
736
|
lte?: string | number | null | undefined;
|
|
738
737
|
gte?: string | number | null | undefined;
|
|
739
738
|
}, {
|
|
740
739
|
amount: string | number;
|
|
740
|
+
eq?: number | null | undefined;
|
|
741
741
|
gt?: number | null | undefined;
|
|
742
742
|
lt?: number | null | undefined;
|
|
743
|
-
eq?: number | null | undefined;
|
|
744
743
|
lte?: string | number | null | undefined;
|
|
745
744
|
gte?: string | number | null | undefined;
|
|
746
745
|
}>, "many">>>;
|
|
@@ -756,17 +755,17 @@ declare const CreateShippingOptionSchema: z.ZodObject<{
|
|
|
756
755
|
fulfillment_option_id: string;
|
|
757
756
|
conditional_region_prices: Record<string, {
|
|
758
757
|
amount: string | number;
|
|
758
|
+
eq?: number | null | undefined;
|
|
759
759
|
gt?: number | null | undefined;
|
|
760
760
|
lt?: number | null | undefined;
|
|
761
|
-
eq?: number | null | undefined;
|
|
762
761
|
lte?: string | number | null | undefined;
|
|
763
762
|
gte?: string | number | null | undefined;
|
|
764
763
|
}[] | undefined>;
|
|
765
764
|
conditional_currency_prices: Record<string, {
|
|
766
765
|
amount: string | number;
|
|
766
|
+
eq?: number | null | undefined;
|
|
767
767
|
gt?: number | null | undefined;
|
|
768
768
|
lt?: number | null | undefined;
|
|
769
|
-
eq?: number | null | undefined;
|
|
770
769
|
lte?: string | number | null | undefined;
|
|
771
770
|
gte?: string | number | null | undefined;
|
|
772
771
|
}[] | undefined>;
|
|
@@ -782,17 +781,17 @@ declare const CreateShippingOptionSchema: z.ZodObject<{
|
|
|
782
781
|
fulfillment_option_id: string;
|
|
783
782
|
conditional_region_prices: Record<string, {
|
|
784
783
|
amount: string | number;
|
|
784
|
+
eq?: number | null | undefined;
|
|
785
785
|
gt?: number | null | undefined;
|
|
786
786
|
lt?: number | null | undefined;
|
|
787
|
-
eq?: number | null | undefined;
|
|
788
787
|
lte?: string | number | null | undefined;
|
|
789
788
|
gte?: string | number | null | undefined;
|
|
790
789
|
}[] | undefined>;
|
|
791
790
|
conditional_currency_prices: Record<string, {
|
|
792
791
|
amount: string | number;
|
|
792
|
+
eq?: number | null | undefined;
|
|
793
793
|
gt?: number | null | undefined;
|
|
794
794
|
lt?: number | null | undefined;
|
|
795
|
-
eq?: number | null | undefined;
|
|
796
795
|
lte?: string | number | null | undefined;
|
|
797
796
|
gte?: string | number | null | undefined;
|
|
798
797
|
}[] | undefined>;
|
|
@@ -805,7 +804,7 @@ type CreateShippingOptionFormProps = {
|
|
|
805
804
|
isReturn?: boolean;
|
|
806
805
|
type: FulfillmentSetType;
|
|
807
806
|
children?: ReactNode;
|
|
808
|
-
schema?:
|
|
807
|
+
schema?: typeof CreateShippingOptionSchema;
|
|
809
808
|
defaultValues?: DeepPartial<CreateShippingOptionSchemaType>;
|
|
810
809
|
};
|
|
811
810
|
declare function CreateShippingOptionsForm({ zone, isReturn, locationId, type, children, schema, defaultValues: extraDefaults, }: CreateShippingOptionFormProps): react_jsx_runtime.JSX.Element;
|
|
@@ -835,17 +834,17 @@ declare const ShippingOptionCreatePage: (({ children }: {
|
|
|
835
834
|
fulfillment_option_id: string;
|
|
836
835
|
conditional_region_prices: Record<string, {
|
|
837
836
|
amount: string | number;
|
|
837
|
+
eq?: number | null | undefined;
|
|
838
838
|
gt?: number | null | undefined;
|
|
839
839
|
lt?: number | null | undefined;
|
|
840
|
-
eq?: number | null | undefined;
|
|
841
840
|
lte?: string | number | null | undefined;
|
|
842
841
|
gte?: string | number | null | undefined;
|
|
843
842
|
}[] | undefined>;
|
|
844
843
|
conditional_currency_prices: Record<string, {
|
|
845
844
|
amount: string | number;
|
|
845
|
+
eq?: number | null | undefined;
|
|
846
846
|
gt?: number | null | undefined;
|
|
847
847
|
lt?: number | null | undefined;
|
|
848
|
-
eq?: number | null | undefined;
|
|
849
848
|
lte?: string | number | null | undefined;
|
|
850
849
|
gte?: string | number | null | undefined;
|
|
851
850
|
}[] | undefined>;
|
|
@@ -867,17 +866,17 @@ declare const ShippingOptionCreatePage: (({ children }: {
|
|
|
867
866
|
fulfillment_option_id: string;
|
|
868
867
|
conditional_region_prices: Record<string, {
|
|
869
868
|
amount: string | number;
|
|
869
|
+
eq?: number | null | undefined;
|
|
870
870
|
gt?: number | null | undefined;
|
|
871
871
|
lt?: number | null | undefined;
|
|
872
|
-
eq?: number | null | undefined;
|
|
873
872
|
lte?: string | number | null | undefined;
|
|
874
873
|
gte?: string | number | null | undefined;
|
|
875
874
|
}[] | undefined>;
|
|
876
875
|
conditional_currency_prices: Record<string, {
|
|
877
876
|
amount: string | number;
|
|
877
|
+
eq?: number | null | undefined;
|
|
878
878
|
gt?: number | null | undefined;
|
|
879
879
|
lt?: number | null | undefined;
|
|
880
|
-
eq?: number | null | undefined;
|
|
881
880
|
lte?: string | number | null | undefined;
|
|
882
881
|
gte?: string | number | null | undefined;
|
|
883
882
|
}[] | undefined>;
|
|
@@ -1160,7 +1159,7 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1160
1159
|
currencies: _medusajs_types.AdminStoreCurrency[];
|
|
1161
1160
|
pricePreferences: _medusajs_types.AdminPricePreference[];
|
|
1162
1161
|
children?: ReactNode;
|
|
1163
|
-
schema?:
|
|
1162
|
+
schema?: typeof PricingCreateSchema;
|
|
1164
1163
|
defaultValues?: react_hook_form.DeepPartial<PricingCreateSchemaType>;
|
|
1165
1164
|
}) => react_jsx_runtime.JSX.Element;
|
|
1166
1165
|
DetailsTab: {
|
|
@@ -1364,7 +1363,7 @@ declare const PriceListPricesAddPage: (({ children }: {
|
|
|
1364
1363
|
regions: _medusajs_types.AdminRegion[];
|
|
1365
1364
|
pricePreferences: _medusajs_types.AdminPricePreference[];
|
|
1366
1365
|
children?: ReactNode;
|
|
1367
|
-
schema?:
|
|
1366
|
+
schema?: typeof PriceListPricesAddSchema;
|
|
1368
1367
|
defaultValues?: react_hook_form.DeepPartial<PriceListPricesAddSchemaType>;
|
|
1369
1368
|
}) => react_jsx_runtime.JSX.Element;
|
|
1370
1369
|
ProductIdsTab: {
|
|
@@ -1525,7 +1524,10 @@ declare const ProductDetailPage: (({ children }: {
|
|
|
1525
1524
|
MainAttributeSection: ({ product, }: {
|
|
1526
1525
|
product: {
|
|
1527
1526
|
id: string;
|
|
1528
|
-
attributes?: _mercurjs_types.ProductAttributeDTO[] |
|
|
1527
|
+
attributes?: _mercurjs_types.ProductAttributeDTO[] | null;
|
|
1528
|
+
categories?: {
|
|
1529
|
+
id?: string | null;
|
|
1530
|
+
}[] | null;
|
|
1529
1531
|
};
|
|
1530
1532
|
}) => react_jsx_runtime.JSX.Element;
|
|
1531
1533
|
MainVariantSection: ({ product, }: {
|
|
@@ -1911,7 +1913,7 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
1911
1913
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
1912
1914
|
Form: ({ children, schema, defaultValues: extraDefaults, }: {
|
|
1913
1915
|
children?: ReactNode;
|
|
1914
|
-
schema?:
|
|
1916
|
+
schema?: typeof ProductCreateSchema;
|
|
1915
1917
|
defaultValues?: react_hook_form.DeepPartial<ProductCreateSchemaType>;
|
|
1916
1918
|
}) => react_jsx_runtime.JSX.Element;
|
|
1917
1919
|
DetailsTab: {
|
|
@@ -2203,7 +2205,7 @@ declare const ProductCreateVariantPage: (({ children }: {
|
|
|
2203
2205
|
Form: ({ product, children, schema, defaultValues: extraDefaults, }: {
|
|
2204
2206
|
product: HttpTypes.AdminProduct;
|
|
2205
2207
|
children?: ReactNode;
|
|
2206
|
-
schema?:
|
|
2208
|
+
schema?: typeof CreateProductVariantSchema;
|
|
2207
2209
|
defaultValues?: react_hook_form.DeepPartial<CreateProductVariantSchemaType>;
|
|
2208
2210
|
}) => react_jsx_runtime.JSX.Element;
|
|
2209
2211
|
DetailsTab: typeof DetailsTab;
|
|
@@ -2252,12 +2254,13 @@ declare const PromotionDetailPage: (({ children }: {
|
|
|
2252
2254
|
ruleType: string;
|
|
2253
2255
|
applicationMethodTargetType?: _medusajs_types.ApplicationMethodTargetTypeValues;
|
|
2254
2256
|
}) => react_jsx_runtime.JSX.Element;
|
|
2255
|
-
SidebarCampaignSection: ({ campaign: campaignProp, }: {
|
|
2257
|
+
SidebarCampaignSection: ({ campaign: campaignProp, promotion: promotionProp, }: {
|
|
2256
2258
|
campaign?: _medusajs_types.AdminCampaign | null;
|
|
2259
|
+
promotion?: _medusajs_types.AdminPromotion;
|
|
2257
2260
|
}) => react_jsx_runtime.JSX.Element;
|
|
2258
2261
|
};
|
|
2259
2262
|
|
|
2260
|
-
declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
2263
|
+
declare const CreatePromotionSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
2261
2264
|
template_id: z.ZodOptional<z.ZodString>;
|
|
2262
2265
|
campaign_id: z.ZodOptional<z.ZodString>;
|
|
2263
2266
|
campaign_choice: z.ZodOptional<z.ZodEnum<["none", "existing", "new"]>>;
|
|
@@ -2291,6 +2294,10 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2291
2294
|
field_type?: string | undefined;
|
|
2292
2295
|
}>, "many">;
|
|
2293
2296
|
is_tax_inclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2297
|
+
seller_id: z.ZodOptional<z.ZodString>;
|
|
2298
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2299
|
+
cost_bearer: z.ZodEnum<["store", "marketplace", "shared"]>;
|
|
2300
|
+
shared_marketplace_percentage: z.ZodNullable<z.ZodNumber>;
|
|
2294
2301
|
application_method: z.ZodObject<{
|
|
2295
2302
|
allocation: z.ZodEnum<["each", "across", "once"]>;
|
|
2296
2303
|
value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -2459,6 +2466,9 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2459
2466
|
disguised?: boolean | undefined;
|
|
2460
2467
|
field_type?: string | undefined;
|
|
2461
2468
|
}[];
|
|
2469
|
+
cost_bearer: "store" | "marketplace" | "shared";
|
|
2470
|
+
shared_marketplace_percentage: number | null;
|
|
2471
|
+
is_automatic: string;
|
|
2462
2472
|
application_method: {
|
|
2463
2473
|
value: string | number;
|
|
2464
2474
|
type: "fixed" | "percentage";
|
|
@@ -2485,7 +2495,8 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2485
2495
|
currency_code?: string | undefined;
|
|
2486
2496
|
max_quantity?: number | null | undefined;
|
|
2487
2497
|
};
|
|
2488
|
-
|
|
2498
|
+
seller_id?: string | undefined;
|
|
2499
|
+
limit?: number | null | undefined;
|
|
2489
2500
|
is_tax_inclusive?: boolean | undefined;
|
|
2490
2501
|
campaign?: {
|
|
2491
2502
|
name: string;
|
|
@@ -2516,6 +2527,9 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2516
2527
|
disguised?: boolean | undefined;
|
|
2517
2528
|
field_type?: string | undefined;
|
|
2518
2529
|
}[];
|
|
2530
|
+
cost_bearer: "store" | "marketplace" | "shared";
|
|
2531
|
+
shared_marketplace_percentage: number | null;
|
|
2532
|
+
is_automatic: string;
|
|
2519
2533
|
application_method: {
|
|
2520
2534
|
value: string | number;
|
|
2521
2535
|
type: "fixed" | "percentage";
|
|
@@ -2542,7 +2556,8 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2542
2556
|
currency_code?: string | undefined;
|
|
2543
2557
|
max_quantity?: number | null | undefined;
|
|
2544
2558
|
};
|
|
2545
|
-
|
|
2559
|
+
seller_id?: string | undefined;
|
|
2560
|
+
limit?: number | null | undefined;
|
|
2546
2561
|
is_tax_inclusive?: boolean | undefined;
|
|
2547
2562
|
campaign?: {
|
|
2548
2563
|
name: string;
|
|
@@ -2573,6 +2588,9 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2573
2588
|
disguised?: boolean | undefined;
|
|
2574
2589
|
field_type?: string | undefined;
|
|
2575
2590
|
}[];
|
|
2591
|
+
cost_bearer: "store" | "marketplace" | "shared";
|
|
2592
|
+
shared_marketplace_percentage: number | null;
|
|
2593
|
+
is_automatic: string;
|
|
2576
2594
|
application_method: {
|
|
2577
2595
|
value: string | number;
|
|
2578
2596
|
type: "fixed" | "percentage";
|
|
@@ -2599,7 +2617,130 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2599
2617
|
currency_code?: string | undefined;
|
|
2600
2618
|
max_quantity?: number | null | undefined;
|
|
2601
2619
|
};
|
|
2620
|
+
seller_id?: string | undefined;
|
|
2621
|
+
limit?: number | null | undefined;
|
|
2622
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2623
|
+
campaign?: {
|
|
2624
|
+
name: string;
|
|
2625
|
+
campaign_identifier: string;
|
|
2626
|
+
budget: {
|
|
2627
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2628
|
+
currency_code?: string | null | undefined;
|
|
2629
|
+
limit?: number | null | undefined;
|
|
2630
|
+
attribute?: string | null | undefined;
|
|
2631
|
+
};
|
|
2632
|
+
starts_at: Date | null;
|
|
2633
|
+
ends_at: Date | null;
|
|
2634
|
+
description?: string | undefined;
|
|
2635
|
+
} | undefined;
|
|
2636
|
+
campaign_id?: string | undefined;
|
|
2637
|
+
template_id?: string | undefined;
|
|
2638
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2639
|
+
}, {
|
|
2640
|
+
code: string;
|
|
2641
|
+
status: "draft" | "active" | "inactive";
|
|
2642
|
+
type: "standard" | "buyget";
|
|
2643
|
+
rules: {
|
|
2644
|
+
values: string | number | string[];
|
|
2645
|
+
operator: string;
|
|
2646
|
+
attribute: string;
|
|
2647
|
+
id?: string | undefined;
|
|
2648
|
+
required?: boolean | undefined;
|
|
2649
|
+
disguised?: boolean | undefined;
|
|
2650
|
+
field_type?: string | undefined;
|
|
2651
|
+
}[];
|
|
2652
|
+
cost_bearer: "store" | "marketplace" | "shared";
|
|
2653
|
+
shared_marketplace_percentage: number | null;
|
|
2654
|
+
is_automatic: string;
|
|
2655
|
+
application_method: {
|
|
2656
|
+
value: string | number;
|
|
2657
|
+
type: "fixed" | "percentage";
|
|
2658
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2659
|
+
allocation: "once" | "each" | "across";
|
|
2660
|
+
target_rules: {
|
|
2661
|
+
values: string | number | string[];
|
|
2662
|
+
operator: string;
|
|
2663
|
+
attribute: string;
|
|
2664
|
+
id?: string | undefined;
|
|
2665
|
+
required?: boolean | undefined;
|
|
2666
|
+
disguised?: boolean | undefined;
|
|
2667
|
+
field_type?: string | undefined;
|
|
2668
|
+
}[];
|
|
2669
|
+
buy_rules: {
|
|
2670
|
+
values: string | number | string[];
|
|
2671
|
+
operator: string;
|
|
2672
|
+
attribute: string;
|
|
2673
|
+
id?: string | undefined;
|
|
2674
|
+
required?: boolean | undefined;
|
|
2675
|
+
disguised?: boolean | undefined;
|
|
2676
|
+
field_type?: string | undefined;
|
|
2677
|
+
}[];
|
|
2678
|
+
currency_code?: string | undefined;
|
|
2679
|
+
max_quantity?: number | null | undefined;
|
|
2680
|
+
};
|
|
2681
|
+
seller_id?: string | undefined;
|
|
2682
|
+
limit?: number | null | undefined;
|
|
2683
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2684
|
+
campaign?: {
|
|
2685
|
+
name: string;
|
|
2686
|
+
campaign_identifier: string;
|
|
2687
|
+
budget: {
|
|
2688
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2689
|
+
currency_code?: string | null | undefined;
|
|
2690
|
+
limit?: number | null | undefined;
|
|
2691
|
+
attribute?: string | null | undefined;
|
|
2692
|
+
};
|
|
2693
|
+
starts_at: Date | null;
|
|
2694
|
+
ends_at: Date | null;
|
|
2695
|
+
description?: string | undefined;
|
|
2696
|
+
} | undefined;
|
|
2697
|
+
campaign_id?: string | undefined;
|
|
2698
|
+
template_id?: string | undefined;
|
|
2699
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2700
|
+
}>, {
|
|
2701
|
+
code: string;
|
|
2702
|
+
status: "draft" | "active" | "inactive";
|
|
2703
|
+
type: "standard" | "buyget";
|
|
2704
|
+
rules: {
|
|
2705
|
+
values: string | number | string[];
|
|
2706
|
+
operator: string;
|
|
2707
|
+
attribute: string;
|
|
2708
|
+
id?: string | undefined;
|
|
2709
|
+
required?: boolean | undefined;
|
|
2710
|
+
disguised?: boolean | undefined;
|
|
2711
|
+
field_type?: string | undefined;
|
|
2712
|
+
}[];
|
|
2713
|
+
cost_bearer: "store" | "marketplace" | "shared";
|
|
2714
|
+
shared_marketplace_percentage: number | null;
|
|
2602
2715
|
is_automatic: string;
|
|
2716
|
+
application_method: {
|
|
2717
|
+
value: string | number;
|
|
2718
|
+
type: "fixed" | "percentage";
|
|
2719
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2720
|
+
allocation: "once" | "each" | "across";
|
|
2721
|
+
target_rules: {
|
|
2722
|
+
values: string | number | string[];
|
|
2723
|
+
operator: string;
|
|
2724
|
+
attribute: string;
|
|
2725
|
+
id?: string | undefined;
|
|
2726
|
+
required?: boolean | undefined;
|
|
2727
|
+
disguised?: boolean | undefined;
|
|
2728
|
+
field_type?: string | undefined;
|
|
2729
|
+
}[];
|
|
2730
|
+
buy_rules: {
|
|
2731
|
+
values: string | number | string[];
|
|
2732
|
+
operator: string;
|
|
2733
|
+
attribute: string;
|
|
2734
|
+
id?: string | undefined;
|
|
2735
|
+
required?: boolean | undefined;
|
|
2736
|
+
disguised?: boolean | undefined;
|
|
2737
|
+
field_type?: string | undefined;
|
|
2738
|
+
}[];
|
|
2739
|
+
currency_code?: string | undefined;
|
|
2740
|
+
max_quantity?: number | null | undefined;
|
|
2741
|
+
};
|
|
2742
|
+
seller_id?: string | undefined;
|
|
2743
|
+
limit?: number | null | undefined;
|
|
2603
2744
|
is_tax_inclusive?: boolean | undefined;
|
|
2604
2745
|
campaign?: {
|
|
2605
2746
|
name: string;
|
|
@@ -2630,6 +2771,9 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2630
2771
|
disguised?: boolean | undefined;
|
|
2631
2772
|
field_type?: string | undefined;
|
|
2632
2773
|
}[];
|
|
2774
|
+
cost_bearer: "store" | "marketplace" | "shared";
|
|
2775
|
+
shared_marketplace_percentage: number | null;
|
|
2776
|
+
is_automatic: string;
|
|
2633
2777
|
application_method: {
|
|
2634
2778
|
value: string | number;
|
|
2635
2779
|
type: "fixed" | "percentage";
|
|
@@ -2656,7 +2800,130 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2656
2800
|
currency_code?: string | undefined;
|
|
2657
2801
|
max_quantity?: number | null | undefined;
|
|
2658
2802
|
};
|
|
2803
|
+
seller_id?: string | undefined;
|
|
2804
|
+
limit?: number | null | undefined;
|
|
2805
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2806
|
+
campaign?: {
|
|
2807
|
+
name: string;
|
|
2808
|
+
campaign_identifier: string;
|
|
2809
|
+
budget: {
|
|
2810
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2811
|
+
currency_code?: string | null | undefined;
|
|
2812
|
+
limit?: number | null | undefined;
|
|
2813
|
+
attribute?: string | null | undefined;
|
|
2814
|
+
};
|
|
2815
|
+
starts_at: Date | null;
|
|
2816
|
+
ends_at: Date | null;
|
|
2817
|
+
description?: string | undefined;
|
|
2818
|
+
} | undefined;
|
|
2819
|
+
campaign_id?: string | undefined;
|
|
2820
|
+
template_id?: string | undefined;
|
|
2821
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2822
|
+
}>, {
|
|
2823
|
+
code: string;
|
|
2824
|
+
status: "draft" | "active" | "inactive";
|
|
2825
|
+
type: "standard" | "buyget";
|
|
2826
|
+
rules: {
|
|
2827
|
+
values: string | number | string[];
|
|
2828
|
+
operator: string;
|
|
2829
|
+
attribute: string;
|
|
2830
|
+
id?: string | undefined;
|
|
2831
|
+
required?: boolean | undefined;
|
|
2832
|
+
disguised?: boolean | undefined;
|
|
2833
|
+
field_type?: string | undefined;
|
|
2834
|
+
}[];
|
|
2835
|
+
cost_bearer: "store" | "marketplace" | "shared";
|
|
2836
|
+
shared_marketplace_percentage: number | null;
|
|
2659
2837
|
is_automatic: string;
|
|
2838
|
+
application_method: {
|
|
2839
|
+
value: string | number;
|
|
2840
|
+
type: "fixed" | "percentage";
|
|
2841
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2842
|
+
allocation: "once" | "each" | "across";
|
|
2843
|
+
target_rules: {
|
|
2844
|
+
values: string | number | string[];
|
|
2845
|
+
operator: string;
|
|
2846
|
+
attribute: string;
|
|
2847
|
+
id?: string | undefined;
|
|
2848
|
+
required?: boolean | undefined;
|
|
2849
|
+
disguised?: boolean | undefined;
|
|
2850
|
+
field_type?: string | undefined;
|
|
2851
|
+
}[];
|
|
2852
|
+
buy_rules: {
|
|
2853
|
+
values: string | number | string[];
|
|
2854
|
+
operator: string;
|
|
2855
|
+
attribute: string;
|
|
2856
|
+
id?: string | undefined;
|
|
2857
|
+
required?: boolean | undefined;
|
|
2858
|
+
disguised?: boolean | undefined;
|
|
2859
|
+
field_type?: string | undefined;
|
|
2860
|
+
}[];
|
|
2861
|
+
currency_code?: string | undefined;
|
|
2862
|
+
max_quantity?: number | null | undefined;
|
|
2863
|
+
};
|
|
2864
|
+
seller_id?: string | undefined;
|
|
2865
|
+
limit?: number | null | undefined;
|
|
2866
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2867
|
+
campaign?: {
|
|
2868
|
+
name: string;
|
|
2869
|
+
campaign_identifier: string;
|
|
2870
|
+
budget: {
|
|
2871
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2872
|
+
currency_code?: string | null | undefined;
|
|
2873
|
+
limit?: number | null | undefined;
|
|
2874
|
+
attribute?: string | null | undefined;
|
|
2875
|
+
};
|
|
2876
|
+
starts_at: Date | null;
|
|
2877
|
+
ends_at: Date | null;
|
|
2878
|
+
description?: string | undefined;
|
|
2879
|
+
} | undefined;
|
|
2880
|
+
campaign_id?: string | undefined;
|
|
2881
|
+
template_id?: string | undefined;
|
|
2882
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2883
|
+
}, {
|
|
2884
|
+
code: string;
|
|
2885
|
+
status: "draft" | "active" | "inactive";
|
|
2886
|
+
type: "standard" | "buyget";
|
|
2887
|
+
rules: {
|
|
2888
|
+
values: string | number | string[];
|
|
2889
|
+
operator: string;
|
|
2890
|
+
attribute: string;
|
|
2891
|
+
id?: string | undefined;
|
|
2892
|
+
required?: boolean | undefined;
|
|
2893
|
+
disguised?: boolean | undefined;
|
|
2894
|
+
field_type?: string | undefined;
|
|
2895
|
+
}[];
|
|
2896
|
+
cost_bearer: "store" | "marketplace" | "shared";
|
|
2897
|
+
shared_marketplace_percentage: number | null;
|
|
2898
|
+
is_automatic: string;
|
|
2899
|
+
application_method: {
|
|
2900
|
+
value: string | number;
|
|
2901
|
+
type: "fixed" | "percentage";
|
|
2902
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2903
|
+
allocation: "once" | "each" | "across";
|
|
2904
|
+
target_rules: {
|
|
2905
|
+
values: string | number | string[];
|
|
2906
|
+
operator: string;
|
|
2907
|
+
attribute: string;
|
|
2908
|
+
id?: string | undefined;
|
|
2909
|
+
required?: boolean | undefined;
|
|
2910
|
+
disguised?: boolean | undefined;
|
|
2911
|
+
field_type?: string | undefined;
|
|
2912
|
+
}[];
|
|
2913
|
+
buy_rules: {
|
|
2914
|
+
values: string | number | string[];
|
|
2915
|
+
operator: string;
|
|
2916
|
+
attribute: string;
|
|
2917
|
+
id?: string | undefined;
|
|
2918
|
+
required?: boolean | undefined;
|
|
2919
|
+
disguised?: boolean | undefined;
|
|
2920
|
+
field_type?: string | undefined;
|
|
2921
|
+
}[];
|
|
2922
|
+
currency_code?: string | undefined;
|
|
2923
|
+
max_quantity?: number | null | undefined;
|
|
2924
|
+
};
|
|
2925
|
+
seller_id?: string | undefined;
|
|
2926
|
+
limit?: number | null | undefined;
|
|
2660
2927
|
is_tax_inclusive?: boolean | undefined;
|
|
2661
2928
|
campaign?: {
|
|
2662
2929
|
name: string;
|
|
@@ -2679,7 +2946,7 @@ type CreatePromotionSchemaType = z.infer<typeof CreatePromotionSchema>;
|
|
|
2679
2946
|
|
|
2680
2947
|
type CreatePromotionFormProps = {
|
|
2681
2948
|
children?: ReactNode;
|
|
2682
|
-
schema?:
|
|
2949
|
+
schema?: typeof CreatePromotionSchema;
|
|
2683
2950
|
defaultValues?: DeepPartial<CreatePromotionSchemaType>;
|
|
2684
2951
|
};
|
|
2685
2952
|
declare function CreatePromotionForm({ children, schema, defaultValues: extraDefaults, }: CreatePromotionFormProps): react_jsx_runtime.JSX.Element;
|
|
@@ -2703,6 +2970,9 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2703
2970
|
disguised?: boolean | undefined;
|
|
2704
2971
|
field_type?: string | undefined;
|
|
2705
2972
|
}[];
|
|
2973
|
+
cost_bearer: "store" | "marketplace" | "shared";
|
|
2974
|
+
shared_marketplace_percentage: number | null;
|
|
2975
|
+
is_automatic: string;
|
|
2706
2976
|
application_method: {
|
|
2707
2977
|
value: string | number;
|
|
2708
2978
|
type: "fixed" | "percentage";
|
|
@@ -2729,7 +2999,8 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2729
2999
|
currency_code?: string | undefined;
|
|
2730
3000
|
max_quantity?: number | null | undefined;
|
|
2731
3001
|
};
|
|
2732
|
-
|
|
3002
|
+
seller_id?: string | undefined;
|
|
3003
|
+
limit?: number | null | undefined;
|
|
2733
3004
|
is_tax_inclusive?: boolean | undefined;
|
|
2734
3005
|
campaign?: {
|
|
2735
3006
|
name: string;
|
|
@@ -2770,6 +3041,9 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2770
3041
|
disguised?: boolean | undefined;
|
|
2771
3042
|
field_type?: string | undefined;
|
|
2772
3043
|
}[];
|
|
3044
|
+
cost_bearer: "store" | "marketplace" | "shared";
|
|
3045
|
+
shared_marketplace_percentage: number | null;
|
|
3046
|
+
is_automatic: string;
|
|
2773
3047
|
application_method: {
|
|
2774
3048
|
value: string | number;
|
|
2775
3049
|
type: "fixed" | "percentage";
|
|
@@ -2796,7 +3070,8 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2796
3070
|
currency_code?: string | undefined;
|
|
2797
3071
|
max_quantity?: number | null | undefined;
|
|
2798
3072
|
};
|
|
2799
|
-
|
|
3073
|
+
seller_id?: string | undefined;
|
|
3074
|
+
limit?: number | null | undefined;
|
|
2800
3075
|
is_tax_inclusive?: boolean | undefined;
|
|
2801
3076
|
campaign?: {
|
|
2802
3077
|
name: string;
|
|
@@ -2831,6 +3106,9 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2831
3106
|
disguised?: boolean | undefined;
|
|
2832
3107
|
field_type?: string | undefined;
|
|
2833
3108
|
}[];
|
|
3109
|
+
cost_bearer: "store" | "marketplace" | "shared";
|
|
3110
|
+
shared_marketplace_percentage: number | null;
|
|
3111
|
+
is_automatic: string;
|
|
2834
3112
|
application_method: {
|
|
2835
3113
|
value: string | number;
|
|
2836
3114
|
type: "fixed" | "percentage";
|
|
@@ -2857,7 +3135,8 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2857
3135
|
currency_code?: string | undefined;
|
|
2858
3136
|
max_quantity?: number | null | undefined;
|
|
2859
3137
|
};
|
|
2860
|
-
|
|
3138
|
+
seller_id?: string | undefined;
|
|
3139
|
+
limit?: number | null | undefined;
|
|
2861
3140
|
is_tax_inclusive?: boolean | undefined;
|
|
2862
3141
|
campaign?: {
|
|
2863
3142
|
name: string;
|