@mercurjs/admin 2.0.0-canary.39 → 2.0.0-canary.41
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-ZUXBF5G3.js → add-campaign-promotions-7TPECJOT.js} +4 -4
- package/dist/{api-key-management-detail-SKJNAZ5L.js → api-key-management-detail-2EFDWJSF.js} +7 -7
- package/dist/{api-key-management-list-2D4WKI6Y.js → api-key-management-list-UZLHSM2R.js} +6 -5
- package/dist/{api-key-management-sales-channels-C7EWPHC2.js → api-key-management-sales-channels-ER5ZINL7.js} +6 -7
- package/dist/{campaign-create-B7XM2FZM.js → campaign-create-AFR3V7P4.js} +3 -3
- package/dist/{campaign-detail-7U4CQHU5.js → campaign-detail-UUNEZUY7.js} +9 -8
- package/dist/{campaign-list-SC7FLTRM.js → campaign-list-2AAGWYEG.js} +6 -5
- package/dist/category-create-LY45Z7YB.js +23 -0
- package/dist/{category-detail-HGHR3R2R.js → category-detail-AGTIMI6P.js} +7 -6
- package/dist/{category-list-QBBFGHQM.js → category-list-ROM7UTA4.js} +6 -5
- package/dist/{chunk-ENMRRG4N.js → chunk-2AWQ4FPA.js} +6 -6
- package/dist/{chunk-VBAAYYCS.js → chunk-2HPZJCAF.js} +6 -6
- package/dist/{chunk-SFG7JTBH.js → chunk-2LAANNMF.js} +111 -48
- package/dist/{chunk-KYUXTS2L.js → chunk-2UN7CNBG.js} +7 -7
- package/dist/chunk-3LTXCGNM.js +204 -0
- package/dist/{chunk-EDQBUWY7.js → chunk-3NIWL75F.js} +6 -6
- package/dist/{product-create-variant-CJPECBV4.js → chunk-4UTK7DZN.js} +63 -69
- package/dist/{chunk-5VEYNZSW.js → chunk-5322X23U.js} +9 -4
- package/dist/{chunk-U3SFHLUA.js → chunk-53IISBJZ.js} +1 -0
- package/dist/{chunk-DGCPYCHU.js → chunk-54RTJBYO.js} +63 -8
- package/dist/{chunk-E2AAYIHS.js → chunk-5EFOVNK2.js} +3 -3
- package/dist/{chunk-NQPAEBSZ.js → chunk-6E3T6CGY.js} +15 -7
- package/dist/{chunk-V2DXJ75C.js → chunk-6OA7JZ5E.js} +1 -1
- package/dist/chunk-72IQIAGX.js +245 -0
- package/dist/{chunk-3IYIS5UZ.js → chunk-7DOPC5GY.js} +4 -4
- package/dist/{chunk-Q6XCCONH.js → chunk-AI6RJGRQ.js} +9 -9
- package/dist/{price-list-create-OK7YYLAB.js → chunk-AJZQBGE4.js} +193 -428
- package/dist/{chunk-XDVS4B7W.js → chunk-BAV6Y7RC.js} +8 -7
- package/dist/{chunk-4WYBW3HK.js → chunk-BCAT7P6B.js} +3 -3
- package/dist/{chunk-LYT3RI4O.js → chunk-BHYDGWZ6.js} +18 -9
- package/dist/{chunk-DK3U2SRA.js → chunk-BIEYPCHL.js} +5 -5
- package/dist/{product-create-NVBKO426.js → chunk-BLG726FI.js} +36 -68
- package/dist/chunk-BVRI7YAR.js +100 -0
- package/dist/{chunk-2IGCU3KP.js → chunk-DOMRLXOI.js} +2 -2
- package/dist/{chunk-K6FXWZ2M.js → chunk-F55UXYYA.js} +10 -0
- package/dist/{chunk-AOVEX4EM.js → chunk-FNXSMFGL.js} +5 -5
- package/dist/{chunk-IXGP2EEN.js → chunk-FYAYHOCN.js} +2 -3
- package/dist/{chunk-QBOXELB5.js → chunk-GJHAVFXL.js} +4 -4
- package/dist/{price-list-prices-add-7PGUONDK.js → chunk-GOVOSXUU.js} +90 -290
- package/dist/{chunk-66IHH2HG.js → chunk-H6W6Q6YE.js} +3 -3
- package/dist/{seller-details-KROISMQC.js → chunk-HVLQFQGD.js} +74 -146
- package/dist/{chunk-QD6KYDYH.js → chunk-I6R4I7EF.js} +6 -6
- package/dist/{chunk-RIMR3ULR.js → chunk-ISYWL6RZ.js} +64 -33
- package/dist/{chunk-HHNJNKCB.js → chunk-KMUEJ3IE.js} +59 -20
- package/dist/{chunk-GJTIHFXG.js → chunk-KOILMFJX.js} +29 -31
- package/dist/{chunk-3SAH3NUS.js → chunk-LIXRNUG5.js} +1 -1
- package/dist/chunk-LOJD5572.js +433 -0
- package/dist/{chunk-T25UE7SS.js → chunk-MD56QRKC.js} +6 -6
- package/dist/{chunk-S4QUEQQK.js → chunk-MSFNMGFD.js} +48 -48
- package/dist/{chunk-YH4VQBAA.js → chunk-MX52GGQO.js} +81 -52
- package/dist/{chunk-O6O22BN4.js → chunk-N7BCAAJC.js} +113 -48
- package/dist/{chunk-JA2XIIIZ.js → chunk-NXKCVD5F.js} +6 -5
- package/dist/{chunk-G4QMLQF2.js → chunk-NZN7PFPB.js} +2 -4
- package/dist/{chunk-KUDLPUWR.js → chunk-OFWYMU6K.js} +8 -8
- package/dist/chunk-OOAY7PAK.js +1155 -0
- package/dist/chunk-PAQH5QQH.js +685 -0
- package/dist/{chunk-3H74EI2D.js → chunk-POCHIWE2.js} +100 -40
- package/dist/chunk-PXBCTPQO.js +248 -0
- package/dist/chunk-QSZ2FIM2.js +223 -0
- package/dist/{chunk-23663A2W.js → chunk-R5VKVG6S.js} +1 -1
- package/dist/{chunk-DP5U3GQU.js → chunk-RXUUBJSZ.js} +1 -1
- package/dist/{chunk-FYB5MS4F.js → chunk-S2GARTQU.js} +6 -6
- package/dist/{chunk-7TLEUIAL.js → chunk-SO6PXIPV.js} +21 -16
- package/dist/{category-create-UWBJGIED.js → chunk-ST74PSEZ.js} +78 -149
- package/dist/{chunk-33FUPXJL.js → chunk-T3OYE2MH.js} +4 -4
- package/dist/{chunk-JRWB7VWP.js → chunk-U4RMXPGI.js} +8 -8
- package/dist/{chunk-YGSM5PVN.js → chunk-UI2BJVP5.js} +1 -1
- package/dist/{chunk-FXU7SL6M.js → chunk-UOIUQC3P.js} +25 -15
- package/dist/{chunk-ZU2RNSCP.js → chunk-UONTDHRH.js} +4 -2
- package/dist/{chunk-J7SR4GW5.js → chunk-V3SHSLK4.js} +4 -4
- package/dist/{chunk-TE5VQBCL.js → chunk-V42ZR4XW.js} +8 -9
- package/dist/chunk-V5J73NPW.js +117 -0
- package/dist/{chunk-QP6XXG6A.js → chunk-VOFAM7HJ.js} +74 -42
- package/dist/{chunk-CR4E2DCR.js → chunk-VT3RBTYK.js} +3 -3
- package/dist/{chunk-AOVJTW7M.js → chunk-VWQYMOBM.js} +9 -9
- package/dist/{chunk-6L2LSIPR.js → chunk-VXAQZ2ZZ.js} +4 -4
- package/dist/{chunk-OSHCUDYY.js → chunk-X3KBQBGW.js} +6 -6
- package/dist/{chunk-WZADCDDE.js → chunk-X56THFPA.js} +2 -1
- package/dist/{chunk-HZKW7HRU.js → chunk-X7NWBH7T.js} +64 -35
- package/dist/{chunk-OFRQZHVQ.js → chunk-XE5ZMNUN.js} +6 -6
- package/dist/{chunk-4GVHNYZR.js → chunk-XHVYNMTA.js} +2 -2
- package/dist/{chunk-U2UCL2VG.js → chunk-XIZLPYEE.js} +3 -111
- package/dist/{chunk-KXPCEVFB.js → chunk-XOKRMMVP.js} +6 -6
- package/dist/{chunk-XVKRTPVM.js → chunk-Y5N26ZC3.js} +41 -15
- package/dist/{chunk-A6Z2Q7D5.js → chunk-Z2MDPTF2.js} +4 -2
- package/dist/{chunk-TKGZBTOS.js → chunk-ZFSZTRZ6.js} +54 -32
- package/dist/{chunk-RV6NZTNP.js → chunk-ZZEAWVFX.js} +27 -27
- package/dist/{collection-detail-YJ3FV2C6.js → collection-detail-SRR3HSIV.js} +7 -6
- package/dist/{collection-list-WDQOBHQN.js → collection-list-MKISW5S4.js} +6 -5
- package/dist/{commission-rate-detail-UQDIIMIK.js → commission-rate-detail-GLB733F3.js} +5 -4
- package/dist/{commission-rate-list-WTDZLKUR.js → commission-rate-list-5V3FQROA.js} +6 -5
- package/dist/{customer-detail-N7CS4IJU.js → customer-detail-SBQF232S.js} +4 -3
- package/dist/customer-group-add-customers-LCNDTLXR.js +1 -1
- package/dist/{customer-group-detail-UCTY4FF7.js → customer-group-detail-QQSNRM2K.js} +6 -5
- package/dist/{customer-group-list-XOQ64CVR.js → customer-group-list-IO7SVK3F.js} +15 -6
- package/dist/{customer-list-BUUO6OF7.js → customer-list-TXBAME4V.js} +4 -3
- package/dist/customers-add-customer-group-BKEV24N2.js +1 -1
- package/dist/index.d.ts +225 -16
- package/dist/index.js +581 -387
- package/dist/inventory-create-Q4JIXZTT.js +56 -0
- package/dist/{inventory-detail-BJT5WEV5.js → inventory-detail-3D37JWQT.js} +7 -6
- package/dist/{inventory-list-3LWBPWVK.js → inventory-list-WH42ADNB.js} +6 -5
- package/dist/{inventory-stock-G3GP4FZX.js → inventory-stock-DTKOGYT7.js} +6 -6
- package/dist/{location-detail-N7J6PEAP.js → location-detail-2SSHXSKL.js} +5 -4
- package/dist/location-fulfillment-providers-BHCY2MYC.js +1 -1
- package/dist/{location-list-UG6B47NP.js → location-list-LPISOSQI.js} +5 -4
- package/dist/{location-sales-channels-3IGHCJEN.js → location-sales-channels-PPH53OHD.js} +6 -7
- package/dist/location-service-zone-shipping-option-create-GSXLVEGO.js +57 -0
- package/dist/{location-service-zone-shipping-option-pricing-7VMPXDWX.js → location-service-zone-shipping-option-pricing-4CTGXBP3.js} +6 -6
- package/dist/marketplace-add-currencies-CIGOPBO6.js +1 -1
- package/dist/{marketplace-detail-7KJMXXAJ.js → marketplace-detail-3CBLIYVK.js} +6 -5
- package/dist/{order-detail-C25NQSZN.js → order-detail-AJV2PE7J.js} +7 -6
- package/dist/{order-edit-billing-address-NVRMPZEU.js → order-edit-billing-address-QQUPIC2H.js} +6 -6
- package/dist/{order-list-7NH7LROU.js → order-list-VPQOG5WE.js} +6 -5
- package/dist/pages/index.d.ts +2608 -82
- package/dist/pages/index.js +238 -156
- package/dist/{payout-detail-MDD5SRK5.js → payout-detail-PMR26YQI.js} +5 -4
- package/dist/{payout-list-XY2A5KYS.js → payout-list-DMG7MQM7.js} +6 -4
- package/dist/price-list-configuration-XK3IZLLX.js +1 -1
- package/dist/price-list-create-QS6CVEWS.js +76 -0
- package/dist/{price-list-detail-IGFSM77P.js → price-list-detail-IO5ZURVW.js} +7 -6
- package/dist/{price-list-list-TBXQ5DOS.js → price-list-list-B3FKB46L.js} +6 -5
- package/dist/price-list-prices-add-NSAQWBT6.js +71 -0
- package/dist/{price-list-prices-edit-QVGBT6AI.js → price-list-prices-edit-UOAIOS5X.js} +6 -6
- package/dist/product-create-UVKMOKRF.js +68 -0
- package/dist/product-create-variant-TCXDJ425.js +53 -0
- package/dist/{product-detail-ZC37BGPC.js → product-detail-273ME23P.js} +4 -4
- package/dist/{product-list-635ZXM2D.js → product-list-2ZHLFSBI.js} +5 -4
- package/dist/{product-media-ZMDAVPGI.js → product-media-YMFP6Q6A.js} +3 -3
- package/dist/{product-prices-WMRIC7WM.js → product-prices-X6JO3Y5A.js} +5 -5
- package/dist/{product-sales-channels-LSN5DVWZ.js → product-sales-channels-2PVBPK6W.js} +2 -3
- package/dist/{product-stock-HF42WRSC.js → product-stock-ARRFHDSU.js} +6 -6
- package/dist/{product-tag-detail-OJLYO3Q5.js → product-tag-detail-545AVFGA.js} +7 -6
- package/dist/{product-tag-list-XFHGJBRF.js → product-tag-list-2Y2Q7K3A.js} +7 -6
- package/dist/{product-type-detail-J4UA4AEM.js → product-type-detail-PBP572AM.js} +7 -6
- package/dist/{product-type-list-H5EQHCXS.js → product-type-list-XWNUKETZ.js} +6 -5
- package/dist/{product-variant-detail-5WKYURFA.js → product-variant-detail-RJUQWBYH.js} +4 -3
- package/dist/{profile-detail-EYNXOHGZ.js → profile-detail-H22ZBNOB.js} +5 -4
- package/dist/{promotion-add-campaign-B5SF72KC.js → promotion-add-campaign-5LCKEU6H.js} +3 -3
- package/dist/promotion-create-KXBEHXPK.js +54 -0
- package/dist/{promotion-detail-MVFOMS4E.js → promotion-detail-NZZ2HII7.js} +7 -6
- package/dist/{promotion-list-IN4VWEQN.js → promotion-list-KARWNOAQ.js} +9 -8
- package/dist/{refund-reason-list-DJZZC7KK.js → refund-reason-list-GTZQBZ7R.js} +3 -2
- package/dist/{region-detail-OFZHX57G.js → region-detail-3OPMLS4V.js} +5 -4
- package/dist/{region-list-L4FKHVJJ.js → region-list-542EMW5C.js} +6 -5
- package/dist/{reservation-detail-LZYEM5NW.js → reservation-detail-IPGIBQW4.js} +5 -4
- package/dist/{reservation-list-OGPDB7WG.js → reservation-list-CEFKMB2G.js} +6 -5
- package/dist/{reset-password-Q7Y4FWRE.js → reset-password-R5ULRWEM.js} +1 -1
- package/dist/{return-reason-list-6ICMSVKF.js → return-reason-list-S7LU655M.js} +5 -4
- package/dist/{sales-channel-detail-RRJG7U7R.js → sales-channel-detail-QCJ6OC3H.js} +7 -6
- package/dist/{sales-channel-list-LUZ4ZXCY.js → sales-channel-list-KYNBWXUD.js} +7 -7
- package/dist/seller-details-A7TYGP67.js +104 -0
- package/dist/{seller-list-664H4SI5.js → seller-list-5KPNNC2B.js} +7 -6
- package/dist/{shipping-option-type-detail-2RY3NHRO.js → shipping-option-type-detail-OBYOZZWS.js} +5 -4
- package/dist/{shipping-option-type-list-IOSOE33S.js → shipping-option-type-list-UGVMQ3DC.js} +6 -5
- package/dist/{shipping-profile-detail-RIIAX7VE.js → shipping-profile-detail-RYOFRMLH.js} +5 -4
- package/dist/{shipping-profiles-list-AL4EJSJY.js → shipping-profiles-list-XJGQ7AVX.js} +5 -4
- package/dist/{tax-region-create-UOTLTCOP.js → tax-region-create-AR2LNF2G.js} +6 -6
- package/dist/{tax-region-detail-CA2W5W6A.js → tax-region-detail-PIGY5JQ7.js} +7 -6
- package/dist/{tax-region-list-JTZ7KZCX.js → tax-region-list-AMGZWUAI.js} +6 -5
- package/dist/{tax-region-province-detail-ZHLX4FF4.js → tax-region-province-detail-D3R4FJT4.js} +6 -5
- package/dist/types-DUhfb5tH.d.ts +30 -0
- package/dist/{user-detail-YNPBC5MN.js → user-detail-H66ZAR7W.js} +5 -4
- package/dist/{user-list-LNTZNT3D.js → user-list-HIUXLIJV.js} +5 -4
- package/package.json +3 -3
- package/dist/chunk-62ZRA6BZ.js +0 -216
- package/dist/chunk-6PNMR6XP.js +0 -192
- package/dist/chunk-7COSFMM7.js +0 -163
- package/dist/chunk-A2KURGQO.js +0 -151
- package/dist/chunk-BHID7W3U.js +0 -78
- package/dist/chunk-UKLRBS4W.js +0 -61
- package/dist/inventory-create-QLEIHESO.js +0 -620
- package/dist/location-service-zone-shipping-option-create-GYPW6SSN.js +0 -811
- package/dist/promotion-create-D77SANLX.js +0 -1262
- package/dist/{adjust-inventory-HZCWL6SC.js → adjust-inventory-WL7D7TQR.js} +3 -3
- package/dist/{campaign-budget-edit-AIXCDGG3.js → campaign-budget-edit-722ECPRI.js} +3 -3
- package/dist/{category-products-XLCG2JR7.js → category-products-H3VFYGOU.js} +2 -2
- package/dist/{chunk-DEKJJ7NG.js → chunk-OFCUTNGV.js} +3 -3
- package/dist/{chunk-KUWNYCGL.js → chunk-U3OWJE7V.js} +0 -0
- package/dist/{collection-add-products-IQ7M63BA.js → collection-add-products-BQ2FZKR4.js} +1 -1
- package/dist/{commission-rate-create-VC72GTV4.js → commission-rate-create-GFQNADQS.js} +9 -9
- package/dist/{commission-rate-edit-AXJKJNFY.js → commission-rate-edit-A2BFZUEI.js} +9 -9
- package/dist/{location-service-zone-shipping-option-edit-E3GN4ZF5.js → location-service-zone-shipping-option-edit-KPECMUYB.js} +3 -3
- package/dist/{order-create-claim-7WW6MXTT.js → order-create-claim-IWTV2HKL.js} +6 -6
- package/dist/{order-create-edit-KAH6ZPLX.js → order-create-edit-H2MHZFIW.js} +5 -5
- package/dist/{order-create-exchange-ELLWF3IY.js → order-create-exchange-PPMRSGLD.js} +6 -6
- package/dist/{order-create-refund-5QZBOSCA.js → order-create-refund-LZOHRL7T.js} +3 -3
- package/dist/{order-create-return-L6DEDPJK.js → order-create-return-WY6R4QMN.js} +6 -6
- package/dist/{order-edit-shipping-address-BPU7OL2N.js → order-edit-shipping-address-XQCSN4YO.js} +3 -3
- package/dist/{order-receive-return-FW5QZJBM.js → order-receive-return-GKMHYD4G.js} +1 -1
- package/dist/{product-edit-LQJDUUVX.js → product-edit-QGRKGJ3H.js} +1 -1
- package/dist/{product-variant-edit-66ZUIIMP.js → product-variant-edit-IQLBIHDE.js} +1 -1
- package/dist/{product-variant-manage-inventory-items-CV2CC2PV.js → product-variant-manage-inventory-items-C77QHYRT.js} +3 -3
- package/dist/{promotion-edit-details-YKS24GBD.js → promotion-edit-details-BFXPUEE6.js} +4 -4
- package/dist/{region-create-UMJK3VGL.js → region-create-ZPY6V77Q.js} +3 -3
- package/dist/{region-edit-ODVSNJHM.js → region-edit-Q2CBVPR2.js} +3 -3
- package/dist/{sales-channel-add-products-EOWFSO35.js → sales-channel-add-products-PIY4PUIW.js} +2 -2
- package/dist/{tax-region-province-create-RFYCUDER.js → tax-region-province-create-7BMYABJ6.js} +3 -3
- package/dist/{tax-region-tax-override-create-WIWUNXW6.js → tax-region-tax-override-create-EBDKSAXG.js} +6 -6
- package/dist/{tax-region-tax-override-edit-SWROFQTP.js → tax-region-tax-override-edit-55ODL7KC.js} +6 -6
package/dist/pages/index.d.ts
CHANGED
|
@@ -3,17 +3,31 @@ import * as react from 'react';
|
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import * as _medusajs_types from '@medusajs/types';
|
|
5
5
|
import { HttpTypes } from '@medusajs/types';
|
|
6
|
+
import * as react_hook_form from 'react-hook-form';
|
|
7
|
+
import { DeepPartial } from 'react-hook-form';
|
|
8
|
+
import { T as TabDefinition } from '../types-DUhfb5tH.js';
|
|
9
|
+
import * as zod from 'zod';
|
|
10
|
+
import { z } from 'zod';
|
|
6
11
|
import * as _mercurjs_types from '@mercurjs/types';
|
|
12
|
+
import { SellerDTO } from '@mercurjs/types';
|
|
7
13
|
|
|
8
|
-
declare const
|
|
14
|
+
declare const ApiKeyManagementListPage: (({ children }: {
|
|
9
15
|
children?: ReactNode;
|
|
10
16
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
11
|
-
Table: ({
|
|
12
|
-
|
|
17
|
+
Table: ({ children, }: {
|
|
18
|
+
children?: ReactNode;
|
|
19
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
20
|
+
Header: ({ children, }: {
|
|
21
|
+
children?: ReactNode;
|
|
22
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
23
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
24
|
+
HeaderActions: ({ children, }: {
|
|
25
|
+
children?: ReactNode;
|
|
13
26
|
}) => react_jsx_runtime.JSX.Element;
|
|
27
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
14
28
|
};
|
|
15
29
|
|
|
16
|
-
declare const
|
|
30
|
+
declare const ApiKeyManagementDetailPage: (({ children }: {
|
|
17
31
|
children?: ReactNode;
|
|
18
32
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
19
33
|
GeneralSection: ({ apiKey }: {
|
|
@@ -24,13 +38,24 @@ declare const ApiKeyManagementDetail: (({ children }: {
|
|
|
24
38
|
}) => react_jsx_runtime.JSX.Element;
|
|
25
39
|
};
|
|
26
40
|
|
|
27
|
-
declare const
|
|
41
|
+
declare const CampaignListPage: (({ children }: {
|
|
28
42
|
children?: ReactNode;
|
|
29
43
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
30
|
-
Table: (
|
|
44
|
+
Table: ({ children }: {
|
|
45
|
+
children?: ReactNode;
|
|
46
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
47
|
+
Header: ({ children }: {
|
|
48
|
+
children?: ReactNode;
|
|
49
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
50
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
51
|
+
HeaderActions: ({ children }: {
|
|
52
|
+
children?: ReactNode;
|
|
53
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
54
|
+
HeaderCreateButton: () => react_jsx_runtime.JSX.Element;
|
|
55
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
31
56
|
};
|
|
32
57
|
|
|
33
|
-
declare const
|
|
58
|
+
declare const CampaignDetailPage: (({ children }: {
|
|
34
59
|
children?: ReactNode;
|
|
35
60
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
36
61
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
@@ -52,7 +77,7 @@ declare const CampaignDetail: (({ children }: {
|
|
|
52
77
|
}) => react_jsx_runtime.JSX.Element;
|
|
53
78
|
};
|
|
54
79
|
|
|
55
|
-
declare const
|
|
80
|
+
declare const CategoryListPage: (({ children }: {
|
|
56
81
|
children?: ReactNode;
|
|
57
82
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
58
83
|
Table: ({ children }: {
|
|
@@ -68,7 +93,7 @@ declare const CategoryList: (({ children }: {
|
|
|
68
93
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
69
94
|
};
|
|
70
95
|
|
|
71
|
-
declare const
|
|
96
|
+
declare const CategoryDetailPage: (({ children }: {
|
|
72
97
|
children?: ReactNode;
|
|
73
98
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
74
99
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
@@ -84,7 +109,77 @@ declare const CategoryDetail: (({ children }: {
|
|
|
84
109
|
}) => react_jsx_runtime.JSX.Element;
|
|
85
110
|
};
|
|
86
111
|
|
|
87
|
-
|
|
112
|
+
type CreateCategorySchema = z.infer<typeof CreateCategorySchema>;
|
|
113
|
+
declare const CreateCategorySchema: z.ZodObject<{
|
|
114
|
+
rank: z.ZodNullable<z.ZodNumber>;
|
|
115
|
+
parent_category_id: z.ZodNullable<z.ZodString>;
|
|
116
|
+
} & {
|
|
117
|
+
name: z.ZodString;
|
|
118
|
+
description: z.ZodOptional<z.ZodString>;
|
|
119
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
120
|
+
status: z.ZodEnum<["active", "inactive"]>;
|
|
121
|
+
visibility: z.ZodEnum<["public", "internal"]>;
|
|
122
|
+
}, "strip", z.ZodTypeAny, {
|
|
123
|
+
status: "active" | "inactive";
|
|
124
|
+
name: string;
|
|
125
|
+
rank: number | null;
|
|
126
|
+
parent_category_id: string | null;
|
|
127
|
+
visibility: "public" | "internal";
|
|
128
|
+
handle?: string | undefined;
|
|
129
|
+
description?: string | undefined;
|
|
130
|
+
}, {
|
|
131
|
+
status: "active" | "inactive";
|
|
132
|
+
name: string;
|
|
133
|
+
rank: number | null;
|
|
134
|
+
parent_category_id: string | null;
|
|
135
|
+
visibility: "public" | "internal";
|
|
136
|
+
handle?: string | undefined;
|
|
137
|
+
description?: string | undefined;
|
|
138
|
+
}>;
|
|
139
|
+
|
|
140
|
+
type CreateCategorySchemaType = z.infer<typeof CreateCategorySchema>;
|
|
141
|
+
|
|
142
|
+
declare const CategoryCreatePage: (({ children }: {
|
|
143
|
+
children?: ReactNode;
|
|
144
|
+
}) => react_jsx_runtime.JSX.Element) & {
|
|
145
|
+
Form: ({ parentCategoryId, children, schema, defaultValues: extraDefaults, }: {
|
|
146
|
+
parentCategoryId: string | null;
|
|
147
|
+
children?: ReactNode;
|
|
148
|
+
schema?: zod.ZodType<CreateCategorySchemaType>;
|
|
149
|
+
defaultValues?: react_hook_form.DeepPartial<CreateCategorySchemaType>;
|
|
150
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
151
|
+
DetailsTab: {
|
|
152
|
+
(): react_jsx_runtime.JSX.Element;
|
|
153
|
+
_tabMeta: TabDefinition<{
|
|
154
|
+
status: "active" | "inactive";
|
|
155
|
+
name: string;
|
|
156
|
+
rank: number | null;
|
|
157
|
+
parent_category_id: string | null;
|
|
158
|
+
visibility: "public" | "internal";
|
|
159
|
+
handle?: string | undefined;
|
|
160
|
+
description?: string | undefined;
|
|
161
|
+
}>;
|
|
162
|
+
};
|
|
163
|
+
OrganizeTab: {
|
|
164
|
+
(): react_jsx_runtime.JSX.Element;
|
|
165
|
+
_tabMeta: TabDefinition<{
|
|
166
|
+
status: "active" | "inactive";
|
|
167
|
+
name: string;
|
|
168
|
+
rank: number | null;
|
|
169
|
+
parent_category_id: string | null;
|
|
170
|
+
visibility: "public" | "internal";
|
|
171
|
+
handle?: string | undefined;
|
|
172
|
+
description?: string | undefined;
|
|
173
|
+
}>;
|
|
174
|
+
};
|
|
175
|
+
Tab: ({ children, }: {
|
|
176
|
+
id: string;
|
|
177
|
+
label: string;
|
|
178
|
+
children?: ReactNode;
|
|
179
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
declare const CollectionListPage: (({ children }: {
|
|
88
183
|
children?: ReactNode;
|
|
89
184
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
90
185
|
Table: ({ children }: {
|
|
@@ -100,7 +195,7 @@ declare const CollectionList: (({ children }: {
|
|
|
100
195
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
101
196
|
};
|
|
102
197
|
|
|
103
|
-
declare const
|
|
198
|
+
declare const CollectionDetailPage: (({ children }: {
|
|
104
199
|
children?: ReactNode;
|
|
105
200
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
106
201
|
GeneralSection: ({ collection, }: {
|
|
@@ -111,13 +206,23 @@ declare const CollectionDetail: (({ children }: {
|
|
|
111
206
|
}) => react_jsx_runtime.JSX.Element;
|
|
112
207
|
};
|
|
113
208
|
|
|
114
|
-
declare const
|
|
209
|
+
declare const CommissionRateListPage: (({ children }: {
|
|
115
210
|
children?: ReactNode;
|
|
116
211
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
117
|
-
Table: (
|
|
212
|
+
Table: ({ children, }: {
|
|
213
|
+
children?: ReactNode;
|
|
214
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
215
|
+
Header: ({ children, }: {
|
|
216
|
+
children?: ReactNode;
|
|
217
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
218
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
219
|
+
HeaderActions: ({ children, }: {
|
|
220
|
+
children?: ReactNode;
|
|
221
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
222
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
118
223
|
};
|
|
119
224
|
|
|
120
|
-
declare const
|
|
225
|
+
declare const CommissionRateDetailPage: (({ children }: {
|
|
121
226
|
children?: ReactNode;
|
|
122
227
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
123
228
|
GeneralSection: ({ commissionRate, }: {
|
|
@@ -128,9 +233,33 @@ declare const CommissionRateDetail: (({ children }: {
|
|
|
128
233
|
}) => react_jsx_runtime.JSX.Element;
|
|
129
234
|
};
|
|
130
235
|
|
|
131
|
-
declare const
|
|
236
|
+
declare const CustomerGroupListPage: (({ children }: {
|
|
237
|
+
children?: ReactNode;
|
|
238
|
+
}) => react_jsx_runtime.JSX.Element) & {
|
|
239
|
+
Table: ({ children }: {
|
|
240
|
+
children?: ReactNode;
|
|
241
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
242
|
+
Header: ({ children }: {
|
|
243
|
+
children?: ReactNode;
|
|
244
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
245
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
246
|
+
HeaderActions: ({ children }: {
|
|
247
|
+
children?: ReactNode;
|
|
248
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
249
|
+
HeaderCreateButton: () => react_jsx_runtime.JSX.Element;
|
|
250
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
251
|
+
};
|
|
132
252
|
|
|
133
|
-
declare const
|
|
253
|
+
declare const CustomerGroupDetailPage: (({ children }: {
|
|
254
|
+
children?: ReactNode;
|
|
255
|
+
}) => react_jsx_runtime.JSX.Element) & {
|
|
256
|
+
GeneralSection: ({ group, }: {
|
|
257
|
+
group: _medusajs_types.AdminCustomerGroup;
|
|
258
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
259
|
+
CustomerSection: ({ group, }: {
|
|
260
|
+
group: _medusajs_types.AdminCustomerGroup;
|
|
261
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
262
|
+
};
|
|
134
263
|
|
|
135
264
|
declare const CustomerListPage: (({ children }: {
|
|
136
265
|
children?: ReactNode;
|
|
@@ -168,13 +297,24 @@ declare const CustomerDetailPage: (({ children }: {
|
|
|
168
297
|
}) => react_jsx_runtime.JSX.Element;
|
|
169
298
|
};
|
|
170
299
|
|
|
171
|
-
declare const
|
|
300
|
+
declare const InventoryListPage: (({ children }: {
|
|
172
301
|
children?: ReactNode;
|
|
173
302
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
174
|
-
Table: (
|
|
303
|
+
Table: ({ children }: {
|
|
304
|
+
children?: ReactNode;
|
|
305
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
306
|
+
Header: ({ children }: {
|
|
307
|
+
children?: ReactNode;
|
|
308
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
309
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
310
|
+
HeaderActions: ({ children }: {
|
|
311
|
+
children?: ReactNode;
|
|
312
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
313
|
+
HeaderCreateButton: () => react_jsx_runtime.JSX.Element;
|
|
314
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
175
315
|
};
|
|
176
316
|
|
|
177
|
-
declare const
|
|
317
|
+
declare const InventoryDetailPage: (({ children }: {
|
|
178
318
|
children?: ReactNode;
|
|
179
319
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
180
320
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
@@ -196,13 +336,121 @@ declare const InventoryDetail: (({ children }: {
|
|
|
196
336
|
}) => react_jsx_runtime.JSX.Element;
|
|
197
337
|
};
|
|
198
338
|
|
|
199
|
-
declare const
|
|
339
|
+
declare const CreateInventoryItemSchema: z.ZodObject<{
|
|
340
|
+
title: z.ZodString;
|
|
341
|
+
description: z.ZodOptional<z.ZodString>;
|
|
342
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
343
|
+
hs_code: z.ZodOptional<z.ZodString>;
|
|
344
|
+
weight: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
345
|
+
length: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
346
|
+
height: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
347
|
+
width: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
348
|
+
origin_country: z.ZodOptional<z.ZodString>;
|
|
349
|
+
mid_code: z.ZodOptional<z.ZodString>;
|
|
350
|
+
material: z.ZodOptional<z.ZodString>;
|
|
351
|
+
requires_shipping: z.ZodOptional<z.ZodBoolean>;
|
|
352
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
353
|
+
locations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>>>;
|
|
354
|
+
}, "strip", z.ZodTypeAny, {
|
|
355
|
+
title: string;
|
|
356
|
+
length?: string | number | undefined;
|
|
357
|
+
description?: string | undefined;
|
|
358
|
+
requires_shipping?: boolean | undefined;
|
|
359
|
+
thumbnail?: string | undefined;
|
|
360
|
+
sku?: string | undefined;
|
|
361
|
+
origin_country?: string | undefined;
|
|
362
|
+
hs_code?: string | undefined;
|
|
363
|
+
mid_code?: string | undefined;
|
|
364
|
+
material?: string | undefined;
|
|
365
|
+
weight?: string | number | undefined;
|
|
366
|
+
height?: string | number | undefined;
|
|
367
|
+
width?: string | number | undefined;
|
|
368
|
+
locations?: Record<string, string | number | undefined> | undefined;
|
|
369
|
+
}, {
|
|
370
|
+
title: string;
|
|
371
|
+
length?: string | number | undefined;
|
|
372
|
+
description?: string | undefined;
|
|
373
|
+
requires_shipping?: boolean | undefined;
|
|
374
|
+
thumbnail?: string | undefined;
|
|
375
|
+
sku?: string | undefined;
|
|
376
|
+
origin_country?: string | undefined;
|
|
377
|
+
hs_code?: string | undefined;
|
|
378
|
+
mid_code?: string | undefined;
|
|
379
|
+
material?: string | undefined;
|
|
380
|
+
weight?: string | number | undefined;
|
|
381
|
+
height?: string | number | undefined;
|
|
382
|
+
width?: string | number | undefined;
|
|
383
|
+
locations?: Record<string, string | number | undefined> | undefined;
|
|
384
|
+
}>;
|
|
385
|
+
type CreateInventoryItemSchema = z.infer<typeof CreateInventoryItemSchema>;
|
|
386
|
+
|
|
387
|
+
type CreateInventoryItemSchemaType = z.infer<typeof CreateInventoryItemSchema>;
|
|
388
|
+
type InventoryCreateFormProps = {
|
|
389
|
+
locations: HttpTypes.AdminStockLocation[];
|
|
390
|
+
children?: ReactNode;
|
|
391
|
+
schema?: z.ZodType<CreateInventoryItemSchemaType>;
|
|
392
|
+
defaultValues?: DeepPartial<CreateInventoryItemSchemaType>;
|
|
393
|
+
};
|
|
394
|
+
declare function InventoryCreateForm({ locations, children, schema, defaultValues: extraDefaults, }: InventoryCreateFormProps): react_jsx_runtime.JSX.Element;
|
|
395
|
+
|
|
396
|
+
declare const InventoryCreatePage: (({ children }: {
|
|
397
|
+
children?: ReactNode;
|
|
398
|
+
}) => react_jsx_runtime.JSX.Element) & {
|
|
399
|
+
Form: typeof InventoryCreateForm;
|
|
400
|
+
DetailsTab: {
|
|
401
|
+
(): react_jsx_runtime.JSX.Element;
|
|
402
|
+
_tabMeta: TabDefinition<{
|
|
403
|
+
title: string;
|
|
404
|
+
length?: string | number | undefined;
|
|
405
|
+
description?: string | undefined;
|
|
406
|
+
requires_shipping?: boolean | undefined;
|
|
407
|
+
thumbnail?: string | undefined;
|
|
408
|
+
sku?: string | undefined;
|
|
409
|
+
origin_country?: string | undefined;
|
|
410
|
+
hs_code?: string | undefined;
|
|
411
|
+
mid_code?: string | undefined;
|
|
412
|
+
material?: string | undefined;
|
|
413
|
+
weight?: string | number | undefined;
|
|
414
|
+
height?: string | number | undefined;
|
|
415
|
+
width?: string | number | undefined;
|
|
416
|
+
locations?: Record<string, string | number | undefined> | undefined;
|
|
417
|
+
}>;
|
|
418
|
+
};
|
|
419
|
+
AvailabilityTab: {
|
|
420
|
+
({ locations }: {
|
|
421
|
+
locations: _medusajs_types.AdminStockLocation[];
|
|
422
|
+
}): react_jsx_runtime.JSX.Element;
|
|
423
|
+
_tabMeta: TabDefinition<{
|
|
424
|
+
title: string;
|
|
425
|
+
length?: string | number | undefined;
|
|
426
|
+
description?: string | undefined;
|
|
427
|
+
requires_shipping?: boolean | undefined;
|
|
428
|
+
thumbnail?: string | undefined;
|
|
429
|
+
sku?: string | undefined;
|
|
430
|
+
origin_country?: string | undefined;
|
|
431
|
+
hs_code?: string | undefined;
|
|
432
|
+
mid_code?: string | undefined;
|
|
433
|
+
material?: string | undefined;
|
|
434
|
+
weight?: string | number | undefined;
|
|
435
|
+
height?: string | number | undefined;
|
|
436
|
+
width?: string | number | undefined;
|
|
437
|
+
locations?: Record<string, string | number | undefined> | undefined;
|
|
438
|
+
}>;
|
|
439
|
+
};
|
|
440
|
+
Tab: ({ children, }: {
|
|
441
|
+
id: string;
|
|
442
|
+
label: string;
|
|
443
|
+
children?: ReactNode;
|
|
444
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
declare const LocationListPage: (({ children }: {
|
|
200
448
|
children?: ReactNode;
|
|
201
449
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
202
450
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
203
451
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
204
|
-
|
|
205
|
-
|
|
452
|
+
Content: () => react_jsx_runtime.JSX.Element;
|
|
453
|
+
LinksSection: () => react_jsx_runtime.JSX.Element;
|
|
206
454
|
};
|
|
207
455
|
|
|
208
456
|
type LocationsSalesChannelsSectionProps = {
|
|
@@ -215,7 +463,7 @@ type LocationsFulfillmentProvidersSectionProps = {
|
|
|
215
463
|
};
|
|
216
464
|
declare function LocationsFulfillmentProvidersSection({ location, }: LocationsFulfillmentProvidersSectionProps): react_jsx_runtime.JSX.Element;
|
|
217
465
|
|
|
218
|
-
declare const
|
|
466
|
+
declare const LocationDetailPage: (({ children }: {
|
|
219
467
|
children?: ReactNode;
|
|
220
468
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
221
469
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
@@ -227,7 +475,303 @@ declare const LocationDetail: (({ children }: {
|
|
|
227
475
|
SidebarFulfillmentProvidersSection: typeof LocationsFulfillmentProvidersSection;
|
|
228
476
|
};
|
|
229
477
|
|
|
230
|
-
declare
|
|
478
|
+
declare enum FulfillmentSetType {
|
|
479
|
+
Shipping = "shipping",
|
|
480
|
+
Pickup = "pickup"
|
|
481
|
+
}
|
|
482
|
+
declare enum ShippingOptionPriceType {
|
|
483
|
+
FlatRate = "flat",
|
|
484
|
+
Calculated = "calculated"
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
type CreateShippingOptionSchema = z.infer<typeof CreateShippingOptionSchema>;
|
|
488
|
+
declare const CreateShippingOptionSchema: z.ZodObject<{
|
|
489
|
+
region_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>;
|
|
490
|
+
currency_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>;
|
|
491
|
+
} & {
|
|
492
|
+
name: z.ZodString;
|
|
493
|
+
price_type: z.ZodNativeEnum<typeof ShippingOptionPriceType>;
|
|
494
|
+
enabled_in_store: z.ZodBoolean;
|
|
495
|
+
shipping_profile_id: z.ZodString;
|
|
496
|
+
provider_id: z.ZodString;
|
|
497
|
+
fulfillment_option_id: z.ZodString;
|
|
498
|
+
shipping_option_type_id: z.ZodString;
|
|
499
|
+
} & {
|
|
500
|
+
conditional_region_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
501
|
+
amount: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
502
|
+
gte: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
503
|
+
lte: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
504
|
+
lt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
505
|
+
gt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
506
|
+
eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
507
|
+
}, "strip", z.ZodTypeAny, {
|
|
508
|
+
amount: string | number;
|
|
509
|
+
gt?: number | null | undefined;
|
|
510
|
+
lt?: number | null | undefined;
|
|
511
|
+
eq?: number | null | undefined;
|
|
512
|
+
lte?: string | number | null | undefined;
|
|
513
|
+
gte?: string | number | null | undefined;
|
|
514
|
+
}, {
|
|
515
|
+
amount: string | number;
|
|
516
|
+
gt?: number | null | undefined;
|
|
517
|
+
lt?: number | null | undefined;
|
|
518
|
+
eq?: number | null | undefined;
|
|
519
|
+
lte?: string | number | null | undefined;
|
|
520
|
+
gte?: string | number | null | undefined;
|
|
521
|
+
}>, {
|
|
522
|
+
amount: string | number;
|
|
523
|
+
gt?: number | null | undefined;
|
|
524
|
+
lt?: number | null | undefined;
|
|
525
|
+
eq?: number | null | undefined;
|
|
526
|
+
lte?: string | number | null | undefined;
|
|
527
|
+
gte?: string | number | null | undefined;
|
|
528
|
+
}, {
|
|
529
|
+
amount: string | number;
|
|
530
|
+
gt?: number | null | undefined;
|
|
531
|
+
lt?: number | null | undefined;
|
|
532
|
+
eq?: number | null | undefined;
|
|
533
|
+
lte?: string | number | null | undefined;
|
|
534
|
+
gte?: string | number | null | undefined;
|
|
535
|
+
}>, {
|
|
536
|
+
amount: string | number;
|
|
537
|
+
gt?: number | null | undefined;
|
|
538
|
+
lt?: number | null | undefined;
|
|
539
|
+
eq?: number | null | undefined;
|
|
540
|
+
lte?: string | number | null | undefined;
|
|
541
|
+
gte?: string | number | null | undefined;
|
|
542
|
+
}, {
|
|
543
|
+
amount: string | number;
|
|
544
|
+
gt?: number | null | undefined;
|
|
545
|
+
lt?: number | null | undefined;
|
|
546
|
+
eq?: number | null | undefined;
|
|
547
|
+
lte?: string | number | null | undefined;
|
|
548
|
+
gte?: string | number | null | undefined;
|
|
549
|
+
}>, {
|
|
550
|
+
amount: string | number;
|
|
551
|
+
gt?: number | null | undefined;
|
|
552
|
+
lt?: number | null | undefined;
|
|
553
|
+
eq?: number | null | undefined;
|
|
554
|
+
lte?: string | number | null | undefined;
|
|
555
|
+
gte?: string | number | null | undefined;
|
|
556
|
+
}, {
|
|
557
|
+
amount: string | number;
|
|
558
|
+
gt?: number | null | undefined;
|
|
559
|
+
lt?: number | null | undefined;
|
|
560
|
+
eq?: number | null | undefined;
|
|
561
|
+
lte?: string | number | null | undefined;
|
|
562
|
+
gte?: string | number | null | undefined;
|
|
563
|
+
}>, "many">>>;
|
|
564
|
+
conditional_currency_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
565
|
+
amount: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
566
|
+
gte: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
567
|
+
lte: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
568
|
+
lt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
569
|
+
gt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
570
|
+
eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
571
|
+
}, "strip", z.ZodTypeAny, {
|
|
572
|
+
amount: string | number;
|
|
573
|
+
gt?: number | null | undefined;
|
|
574
|
+
lt?: number | null | undefined;
|
|
575
|
+
eq?: number | null | undefined;
|
|
576
|
+
lte?: string | number | null | undefined;
|
|
577
|
+
gte?: string | number | null | undefined;
|
|
578
|
+
}, {
|
|
579
|
+
amount: string | number;
|
|
580
|
+
gt?: number | null | undefined;
|
|
581
|
+
lt?: number | null | undefined;
|
|
582
|
+
eq?: number | null | undefined;
|
|
583
|
+
lte?: string | number | null | undefined;
|
|
584
|
+
gte?: string | number | null | undefined;
|
|
585
|
+
}>, {
|
|
586
|
+
amount: string | number;
|
|
587
|
+
gt?: number | null | undefined;
|
|
588
|
+
lt?: number | null | undefined;
|
|
589
|
+
eq?: number | null | undefined;
|
|
590
|
+
lte?: string | number | null | undefined;
|
|
591
|
+
gte?: string | number | null | undefined;
|
|
592
|
+
}, {
|
|
593
|
+
amount: string | number;
|
|
594
|
+
gt?: number | null | undefined;
|
|
595
|
+
lt?: number | null | undefined;
|
|
596
|
+
eq?: number | null | undefined;
|
|
597
|
+
lte?: string | number | null | undefined;
|
|
598
|
+
gte?: string | number | null | undefined;
|
|
599
|
+
}>, {
|
|
600
|
+
amount: string | number;
|
|
601
|
+
gt?: number | null | undefined;
|
|
602
|
+
lt?: number | null | undefined;
|
|
603
|
+
eq?: number | null | undefined;
|
|
604
|
+
lte?: string | number | null | undefined;
|
|
605
|
+
gte?: string | number | null | undefined;
|
|
606
|
+
}, {
|
|
607
|
+
amount: string | number;
|
|
608
|
+
gt?: number | null | undefined;
|
|
609
|
+
lt?: number | null | undefined;
|
|
610
|
+
eq?: number | null | undefined;
|
|
611
|
+
lte?: string | number | null | undefined;
|
|
612
|
+
gte?: string | number | null | undefined;
|
|
613
|
+
}>, {
|
|
614
|
+
amount: string | number;
|
|
615
|
+
gt?: number | null | undefined;
|
|
616
|
+
lt?: number | null | undefined;
|
|
617
|
+
eq?: number | null | undefined;
|
|
618
|
+
lte?: string | number | null | undefined;
|
|
619
|
+
gte?: string | number | null | undefined;
|
|
620
|
+
}, {
|
|
621
|
+
amount: string | number;
|
|
622
|
+
gt?: number | null | undefined;
|
|
623
|
+
lt?: number | null | undefined;
|
|
624
|
+
eq?: number | null | undefined;
|
|
625
|
+
lte?: string | number | null | undefined;
|
|
626
|
+
gte?: string | number | null | undefined;
|
|
627
|
+
}>, "many">>>;
|
|
628
|
+
}, "strip", z.ZodTypeAny, {
|
|
629
|
+
name: string;
|
|
630
|
+
shipping_profile_id: string;
|
|
631
|
+
price_type: ShippingOptionPriceType;
|
|
632
|
+
provider_id: string;
|
|
633
|
+
shipping_option_type_id: string;
|
|
634
|
+
enabled_in_store: boolean;
|
|
635
|
+
currency_prices: Record<string, string | undefined>;
|
|
636
|
+
region_prices: Record<string, string | undefined>;
|
|
637
|
+
fulfillment_option_id: string;
|
|
638
|
+
conditional_region_prices: Record<string, {
|
|
639
|
+
amount: string | number;
|
|
640
|
+
gt?: number | null | undefined;
|
|
641
|
+
lt?: number | null | undefined;
|
|
642
|
+
eq?: number | null | undefined;
|
|
643
|
+
lte?: string | number | null | undefined;
|
|
644
|
+
gte?: string | number | null | undefined;
|
|
645
|
+
}[] | undefined>;
|
|
646
|
+
conditional_currency_prices: Record<string, {
|
|
647
|
+
amount: string | number;
|
|
648
|
+
gt?: number | null | undefined;
|
|
649
|
+
lt?: number | null | undefined;
|
|
650
|
+
eq?: number | null | undefined;
|
|
651
|
+
lte?: string | number | null | undefined;
|
|
652
|
+
gte?: string | number | null | undefined;
|
|
653
|
+
}[] | undefined>;
|
|
654
|
+
}, {
|
|
655
|
+
name: string;
|
|
656
|
+
shipping_profile_id: string;
|
|
657
|
+
price_type: ShippingOptionPriceType;
|
|
658
|
+
provider_id: string;
|
|
659
|
+
shipping_option_type_id: string;
|
|
660
|
+
enabled_in_store: boolean;
|
|
661
|
+
currency_prices: Record<string, string | undefined>;
|
|
662
|
+
region_prices: Record<string, string | undefined>;
|
|
663
|
+
fulfillment_option_id: string;
|
|
664
|
+
conditional_region_prices: Record<string, {
|
|
665
|
+
amount: string | number;
|
|
666
|
+
gt?: number | null | undefined;
|
|
667
|
+
lt?: number | null | undefined;
|
|
668
|
+
eq?: number | null | undefined;
|
|
669
|
+
lte?: string | number | null | undefined;
|
|
670
|
+
gte?: string | number | null | undefined;
|
|
671
|
+
}[] | undefined>;
|
|
672
|
+
conditional_currency_prices: Record<string, {
|
|
673
|
+
amount: string | number;
|
|
674
|
+
gt?: number | null | undefined;
|
|
675
|
+
lt?: number | null | undefined;
|
|
676
|
+
eq?: number | null | undefined;
|
|
677
|
+
lte?: string | number | null | undefined;
|
|
678
|
+
gte?: string | number | null | undefined;
|
|
679
|
+
}[] | undefined>;
|
|
680
|
+
}>;
|
|
681
|
+
|
|
682
|
+
type CreateShippingOptionSchemaType = z.infer<typeof CreateShippingOptionSchema>;
|
|
683
|
+
type CreateShippingOptionFormProps = {
|
|
684
|
+
zone: HttpTypes.AdminServiceZone;
|
|
685
|
+
locationId: string;
|
|
686
|
+
isReturn?: boolean;
|
|
687
|
+
type: FulfillmentSetType;
|
|
688
|
+
children?: ReactNode;
|
|
689
|
+
schema?: z.ZodType<CreateShippingOptionSchemaType>;
|
|
690
|
+
defaultValues?: DeepPartial<CreateShippingOptionSchemaType>;
|
|
691
|
+
};
|
|
692
|
+
declare function CreateShippingOptionsForm({ zone, isReturn, locationId, type, children, schema, defaultValues: extraDefaults, }: CreateShippingOptionFormProps): react_jsx_runtime.JSX.Element;
|
|
693
|
+
|
|
694
|
+
declare const ShippingOptionCreatePage: (({ children }: {
|
|
695
|
+
children?: ReactNode;
|
|
696
|
+
}) => react_jsx_runtime.JSX.Element) & {
|
|
697
|
+
Form: typeof CreateShippingOptionsForm;
|
|
698
|
+
DetailsTab: {
|
|
699
|
+
({ isReturn, zone, locationId, fulfillmentProviderOptions, selectedProviderId, type, }: {
|
|
700
|
+
isReturn?: boolean;
|
|
701
|
+
zone: _medusajs_types.AdminServiceZone;
|
|
702
|
+
locationId: string;
|
|
703
|
+
fulfillmentProviderOptions: ExtendedAdminFulfillmentProviderOption[];
|
|
704
|
+
selectedProviderId?: string;
|
|
705
|
+
type: FulfillmentSetType;
|
|
706
|
+
}): react_jsx_runtime.JSX.Element;
|
|
707
|
+
_tabMeta: TabDefinition<{
|
|
708
|
+
name: string;
|
|
709
|
+
shipping_profile_id: string;
|
|
710
|
+
price_type: ShippingOptionPriceType;
|
|
711
|
+
provider_id: string;
|
|
712
|
+
shipping_option_type_id: string;
|
|
713
|
+
enabled_in_store: boolean;
|
|
714
|
+
currency_prices: Record<string, string | undefined>;
|
|
715
|
+
region_prices: Record<string, string | undefined>;
|
|
716
|
+
fulfillment_option_id: string;
|
|
717
|
+
conditional_region_prices: Record<string, {
|
|
718
|
+
amount: string | number;
|
|
719
|
+
gt?: number | null | undefined;
|
|
720
|
+
lt?: number | null | undefined;
|
|
721
|
+
eq?: number | null | undefined;
|
|
722
|
+
lte?: string | number | null | undefined;
|
|
723
|
+
gte?: string | number | null | undefined;
|
|
724
|
+
}[] | undefined>;
|
|
725
|
+
conditional_currency_prices: Record<string, {
|
|
726
|
+
amount: string | number;
|
|
727
|
+
gt?: number | null | undefined;
|
|
728
|
+
lt?: number | null | undefined;
|
|
729
|
+
eq?: number | null | undefined;
|
|
730
|
+
lte?: string | number | null | undefined;
|
|
731
|
+
gte?: string | number | null | undefined;
|
|
732
|
+
}[] | undefined>;
|
|
733
|
+
}>;
|
|
734
|
+
};
|
|
735
|
+
PricingTab: {
|
|
736
|
+
({ type }: {
|
|
737
|
+
type: FulfillmentSetType;
|
|
738
|
+
}): react_jsx_runtime.JSX.Element;
|
|
739
|
+
_tabMeta: TabDefinition<{
|
|
740
|
+
name: string;
|
|
741
|
+
shipping_profile_id: string;
|
|
742
|
+
price_type: ShippingOptionPriceType;
|
|
743
|
+
provider_id: string;
|
|
744
|
+
shipping_option_type_id: string;
|
|
745
|
+
enabled_in_store: boolean;
|
|
746
|
+
currency_prices: Record<string, string | undefined>;
|
|
747
|
+
region_prices: Record<string, string | undefined>;
|
|
748
|
+
fulfillment_option_id: string;
|
|
749
|
+
conditional_region_prices: Record<string, {
|
|
750
|
+
amount: string | number;
|
|
751
|
+
gt?: number | null | undefined;
|
|
752
|
+
lt?: number | null | undefined;
|
|
753
|
+
eq?: number | null | undefined;
|
|
754
|
+
lte?: string | number | null | undefined;
|
|
755
|
+
gte?: string | number | null | undefined;
|
|
756
|
+
}[] | undefined>;
|
|
757
|
+
conditional_currency_prices: Record<string, {
|
|
758
|
+
amount: string | number;
|
|
759
|
+
gt?: number | null | undefined;
|
|
760
|
+
lt?: number | null | undefined;
|
|
761
|
+
eq?: number | null | undefined;
|
|
762
|
+
lte?: string | number | null | undefined;
|
|
763
|
+
gte?: string | number | null | undefined;
|
|
764
|
+
}[] | undefined>;
|
|
765
|
+
}>;
|
|
766
|
+
};
|
|
767
|
+
Tab: ({ children, }: {
|
|
768
|
+
id: string;
|
|
769
|
+
label: string;
|
|
770
|
+
children?: ReactNode;
|
|
771
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
772
|
+
};
|
|
773
|
+
|
|
774
|
+
declare const MarketplaceDetailPage: (({ children }: {
|
|
231
775
|
children?: ReactNode;
|
|
232
776
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
233
777
|
GeneralSection: ({ store }: {
|
|
@@ -238,21 +782,77 @@ declare const MarketplaceDetail: (({ children }: {
|
|
|
238
782
|
}) => react_jsx_runtime.JSX.Element;
|
|
239
783
|
};
|
|
240
784
|
|
|
241
|
-
declare const
|
|
785
|
+
declare const OrderListPage: (({ children }: {
|
|
242
786
|
children?: ReactNode;
|
|
243
|
-
}) => react_jsx_runtime.JSX.Element
|
|
787
|
+
}) => react_jsx_runtime.JSX.Element) & {
|
|
788
|
+
Table: ({ children }: {
|
|
789
|
+
children?: ReactNode;
|
|
790
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
791
|
+
Header: ({ children, }: {
|
|
792
|
+
children?: ReactNode;
|
|
793
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
794
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
795
|
+
HeaderActions: ({ children, }: {
|
|
796
|
+
children?: ReactNode;
|
|
797
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
798
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
799
|
+
};
|
|
244
800
|
|
|
245
|
-
declare const
|
|
801
|
+
declare const OrderDetailPage: (({ children }: {
|
|
246
802
|
children?: ReactNode;
|
|
247
|
-
}) => react_jsx_runtime.JSX.Element
|
|
803
|
+
}) => react_jsx_runtime.JSX.Element) & {
|
|
804
|
+
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
805
|
+
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
806
|
+
MainActiveEditSection: ({ order, }: {
|
|
807
|
+
order: _medusajs_types.AdminOrder;
|
|
808
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
809
|
+
MainActiveClaimSection: ({ orderPreview, }: {
|
|
810
|
+
orderPreview: _medusajs_types.AdminOrderPreview;
|
|
811
|
+
}) => react_jsx_runtime.JSX.Element | undefined;
|
|
812
|
+
MainActiveExchangeSection: ({ orderPreview, }: {
|
|
813
|
+
orderPreview: _medusajs_types.AdminOrderPreview;
|
|
814
|
+
}) => react_jsx_runtime.JSX.Element | undefined;
|
|
815
|
+
MainActiveReturnSection: ({ orderPreview, }: {
|
|
816
|
+
orderPreview: _medusajs_types.AdminOrderPreview;
|
|
817
|
+
}) => react_jsx_runtime.JSX.Element | undefined;
|
|
818
|
+
MainGeneralSection: ({ order }: {
|
|
819
|
+
order: _medusajs_types.AdminOrder;
|
|
820
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
821
|
+
MainSummarySection: ({ order }: {
|
|
822
|
+
order: _medusajs_types.AdminOrder;
|
|
823
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
824
|
+
MainPaymentSection: ({ order }: {
|
|
825
|
+
order: _medusajs_types.AdminOrder;
|
|
826
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
827
|
+
MainFulfillmentSection: ({ order, }: {
|
|
828
|
+
order: _medusajs_types.AdminOrder;
|
|
829
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
830
|
+
SidebarCustomerSection: ({ order }: {
|
|
831
|
+
order: _medusajs_types.AdminOrder;
|
|
832
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
833
|
+
SidebarActivitySection: ({ order }: {
|
|
834
|
+
order: _medusajs_types.AdminOrder;
|
|
835
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
836
|
+
SidebarOrderGroupSection: () => react_jsx_runtime.JSX.Element | null;
|
|
837
|
+
};
|
|
248
838
|
|
|
249
|
-
declare const
|
|
839
|
+
declare const PayoutListPage: (({ children }: {
|
|
250
840
|
children?: ReactNode;
|
|
251
841
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
252
|
-
Table: (
|
|
842
|
+
Table: ({ children }: {
|
|
843
|
+
children?: ReactNode;
|
|
844
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
845
|
+
Header: ({ children }: {
|
|
846
|
+
children?: ReactNode;
|
|
847
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
848
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
849
|
+
HeaderActions: ({ children }: {
|
|
850
|
+
children?: ReactNode;
|
|
851
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
852
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
253
853
|
};
|
|
254
854
|
|
|
255
|
-
declare const
|
|
855
|
+
declare const PayoutDetailPage: (({ children }: {
|
|
256
856
|
children?: ReactNode;
|
|
257
857
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
258
858
|
GeneralSection: ({ payout }: {
|
|
@@ -260,7 +860,7 @@ declare const PayoutDetail: (({ children }: {
|
|
|
260
860
|
}) => react_jsx_runtime.JSX.Element;
|
|
261
861
|
};
|
|
262
862
|
|
|
263
|
-
declare const
|
|
863
|
+
declare const PriceListListPage: (({ children }: {
|
|
264
864
|
children?: ReactNode;
|
|
265
865
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
266
866
|
Table: ({ children }: {
|
|
@@ -276,7 +876,7 @@ declare const PriceListList: (({ children }: {
|
|
|
276
876
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
277
877
|
};
|
|
278
878
|
|
|
279
|
-
declare const
|
|
879
|
+
declare const PriceListDetailPage: (({ children }: {
|
|
280
880
|
children?: ReactNode;
|
|
281
881
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
282
882
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
@@ -292,13 +892,428 @@ declare const PriceListDetails: (({ children }: {
|
|
|
292
892
|
}) => react_jsx_runtime.JSX.Element;
|
|
293
893
|
};
|
|
294
894
|
|
|
295
|
-
declare const
|
|
895
|
+
declare const PricingCreateSchema: z.ZodObject<{
|
|
896
|
+
type: z.ZodEnum<["sale", "override"]>;
|
|
897
|
+
status: z.ZodEnum<["draft", "active"]>;
|
|
898
|
+
title: z.ZodString;
|
|
899
|
+
description: z.ZodString;
|
|
900
|
+
starts_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
901
|
+
ends_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
902
|
+
product_ids: z.ZodArray<z.ZodObject<{
|
|
903
|
+
id: z.ZodString;
|
|
904
|
+
}, "strip", z.ZodTypeAny, {
|
|
905
|
+
id: string;
|
|
906
|
+
}, {
|
|
907
|
+
id: string;
|
|
908
|
+
}>, "many">;
|
|
909
|
+
products: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
910
|
+
variants: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
911
|
+
currency_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
|
|
912
|
+
amount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
913
|
+
}, "strip", z.ZodTypeAny, {
|
|
914
|
+
amount?: string | number | undefined;
|
|
915
|
+
}, {
|
|
916
|
+
amount?: string | number | undefined;
|
|
917
|
+
}>>>;
|
|
918
|
+
region_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
|
|
919
|
+
amount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
920
|
+
}, "strip", z.ZodTypeAny, {
|
|
921
|
+
amount?: string | number | undefined;
|
|
922
|
+
}, {
|
|
923
|
+
amount?: string | number | undefined;
|
|
924
|
+
}>>>;
|
|
925
|
+
}, "strip", z.ZodTypeAny, {
|
|
926
|
+
currency_prices: Record<string, {
|
|
927
|
+
amount?: string | number | undefined;
|
|
928
|
+
} | undefined>;
|
|
929
|
+
region_prices: Record<string, {
|
|
930
|
+
amount?: string | number | undefined;
|
|
931
|
+
} | undefined>;
|
|
932
|
+
}, {
|
|
933
|
+
currency_prices: Record<string, {
|
|
934
|
+
amount?: string | number | undefined;
|
|
935
|
+
} | undefined>;
|
|
936
|
+
region_prices: Record<string, {
|
|
937
|
+
amount?: string | number | undefined;
|
|
938
|
+
} | undefined>;
|
|
939
|
+
}>>;
|
|
940
|
+
}, "strip", z.ZodTypeAny, {
|
|
941
|
+
variants: Record<string, {
|
|
942
|
+
currency_prices: Record<string, {
|
|
943
|
+
amount?: string | number | undefined;
|
|
944
|
+
} | undefined>;
|
|
945
|
+
region_prices: Record<string, {
|
|
946
|
+
amount?: string | number | undefined;
|
|
947
|
+
} | undefined>;
|
|
948
|
+
}>;
|
|
949
|
+
}, {
|
|
950
|
+
variants: Record<string, {
|
|
951
|
+
currency_prices: Record<string, {
|
|
952
|
+
amount?: string | number | undefined;
|
|
953
|
+
} | undefined>;
|
|
954
|
+
region_prices: Record<string, {
|
|
955
|
+
amount?: string | number | undefined;
|
|
956
|
+
} | undefined>;
|
|
957
|
+
}>;
|
|
958
|
+
}>>;
|
|
959
|
+
rules: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
960
|
+
customer_group_id: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
961
|
+
id: z.ZodString;
|
|
962
|
+
name: z.ZodString;
|
|
963
|
+
}, "strip", z.ZodTypeAny, {
|
|
964
|
+
id: string;
|
|
965
|
+
name: string;
|
|
966
|
+
}, {
|
|
967
|
+
id: string;
|
|
968
|
+
name: string;
|
|
969
|
+
}>, "many">>>;
|
|
970
|
+
}, "strip", z.ZodTypeAny, {
|
|
971
|
+
customer_group_id?: {
|
|
972
|
+
id: string;
|
|
973
|
+
name: string;
|
|
974
|
+
}[] | null | undefined;
|
|
975
|
+
}, {
|
|
976
|
+
customer_group_id?: {
|
|
977
|
+
id: string;
|
|
978
|
+
name: string;
|
|
979
|
+
}[] | null | undefined;
|
|
980
|
+
}>>>;
|
|
981
|
+
}, "strip", z.ZodTypeAny, {
|
|
982
|
+
title: string;
|
|
983
|
+
type: "sale" | "override";
|
|
984
|
+
status: "draft" | "active";
|
|
985
|
+
description: string;
|
|
986
|
+
products: Record<string, {
|
|
987
|
+
variants: Record<string, {
|
|
988
|
+
currency_prices: Record<string, {
|
|
989
|
+
amount?: string | number | undefined;
|
|
990
|
+
} | undefined>;
|
|
991
|
+
region_prices: Record<string, {
|
|
992
|
+
amount?: string | number | undefined;
|
|
993
|
+
} | undefined>;
|
|
994
|
+
}>;
|
|
995
|
+
}>;
|
|
996
|
+
product_ids: {
|
|
997
|
+
id: string;
|
|
998
|
+
}[];
|
|
999
|
+
rules?: {
|
|
1000
|
+
customer_group_id?: {
|
|
1001
|
+
id: string;
|
|
1002
|
+
name: string;
|
|
1003
|
+
}[] | null | undefined;
|
|
1004
|
+
} | null | undefined;
|
|
1005
|
+
starts_at?: Date | null | undefined;
|
|
1006
|
+
ends_at?: Date | null | undefined;
|
|
1007
|
+
}, {
|
|
1008
|
+
title: string;
|
|
1009
|
+
type: "sale" | "override";
|
|
1010
|
+
status: "draft" | "active";
|
|
1011
|
+
description: string;
|
|
1012
|
+
products: Record<string, {
|
|
1013
|
+
variants: Record<string, {
|
|
1014
|
+
currency_prices: Record<string, {
|
|
1015
|
+
amount?: string | number | undefined;
|
|
1016
|
+
} | undefined>;
|
|
1017
|
+
region_prices: Record<string, {
|
|
1018
|
+
amount?: string | number | undefined;
|
|
1019
|
+
} | undefined>;
|
|
1020
|
+
}>;
|
|
1021
|
+
}>;
|
|
1022
|
+
product_ids: {
|
|
1023
|
+
id: string;
|
|
1024
|
+
}[];
|
|
1025
|
+
rules?: {
|
|
1026
|
+
customer_group_id?: {
|
|
1027
|
+
id: string;
|
|
1028
|
+
name: string;
|
|
1029
|
+
}[] | null | undefined;
|
|
1030
|
+
} | null | undefined;
|
|
1031
|
+
starts_at?: Date | null | undefined;
|
|
1032
|
+
ends_at?: Date | null | undefined;
|
|
1033
|
+
}>;
|
|
1034
|
+
type PricingCreateSchemaType = z.infer<typeof PricingCreateSchema>;
|
|
1035
|
+
|
|
1036
|
+
declare const PriceListCreatePage: (({ children }: {
|
|
1037
|
+
children?: ReactNode;
|
|
1038
|
+
}) => react_jsx_runtime.JSX.Element) & {
|
|
1039
|
+
Form: ({ regions, currencies, pricePreferences, children, schema, defaultValues: extraDefaults, }: {
|
|
1040
|
+
regions: _medusajs_types.AdminRegion[];
|
|
1041
|
+
currencies: _medusajs_types.AdminStoreCurrency[];
|
|
1042
|
+
pricePreferences: _medusajs_types.AdminPricePreference[];
|
|
1043
|
+
children?: ReactNode;
|
|
1044
|
+
schema?: zod.ZodType<PricingCreateSchemaType>;
|
|
1045
|
+
defaultValues?: react_hook_form.DeepPartial<PricingCreateSchemaType>;
|
|
1046
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1047
|
+
DetailsTab: {
|
|
1048
|
+
(): react_jsx_runtime.JSX.Element;
|
|
1049
|
+
_tabMeta: TabDefinition<{
|
|
1050
|
+
title: string;
|
|
1051
|
+
type: "sale" | "override";
|
|
1052
|
+
status: "draft" | "active";
|
|
1053
|
+
description: string;
|
|
1054
|
+
products: Record<string, {
|
|
1055
|
+
variants: Record<string, {
|
|
1056
|
+
currency_prices: Record<string, {
|
|
1057
|
+
amount?: string | number | undefined;
|
|
1058
|
+
} | undefined>;
|
|
1059
|
+
region_prices: Record<string, {
|
|
1060
|
+
amount?: string | number | undefined;
|
|
1061
|
+
} | undefined>;
|
|
1062
|
+
}>;
|
|
1063
|
+
}>;
|
|
1064
|
+
product_ids: {
|
|
1065
|
+
id: string;
|
|
1066
|
+
}[];
|
|
1067
|
+
rules?: {
|
|
1068
|
+
customer_group_id?: {
|
|
1069
|
+
id: string;
|
|
1070
|
+
name: string;
|
|
1071
|
+
}[] | null | undefined;
|
|
1072
|
+
} | null | undefined;
|
|
1073
|
+
starts_at?: Date | null | undefined;
|
|
1074
|
+
ends_at?: Date | null | undefined;
|
|
1075
|
+
}>;
|
|
1076
|
+
};
|
|
1077
|
+
ProductsTab: {
|
|
1078
|
+
(): react_jsx_runtime.JSX.Element;
|
|
1079
|
+
_tabMeta: TabDefinition<{
|
|
1080
|
+
title: string;
|
|
1081
|
+
type: "sale" | "override";
|
|
1082
|
+
status: "draft" | "active";
|
|
1083
|
+
description: string;
|
|
1084
|
+
products: Record<string, {
|
|
1085
|
+
variants: Record<string, {
|
|
1086
|
+
currency_prices: Record<string, {
|
|
1087
|
+
amount?: string | number | undefined;
|
|
1088
|
+
} | undefined>;
|
|
1089
|
+
region_prices: Record<string, {
|
|
1090
|
+
amount?: string | number | undefined;
|
|
1091
|
+
} | undefined>;
|
|
1092
|
+
}>;
|
|
1093
|
+
}>;
|
|
1094
|
+
product_ids: {
|
|
1095
|
+
id: string;
|
|
1096
|
+
}[];
|
|
1097
|
+
rules?: {
|
|
1098
|
+
customer_group_id?: {
|
|
1099
|
+
id: string;
|
|
1100
|
+
name: string;
|
|
1101
|
+
}[] | null | undefined;
|
|
1102
|
+
} | null | undefined;
|
|
1103
|
+
starts_at?: Date | null | undefined;
|
|
1104
|
+
ends_at?: Date | null | undefined;
|
|
1105
|
+
}>;
|
|
1106
|
+
};
|
|
1107
|
+
PricesTab: {
|
|
1108
|
+
({ currencies, regions, pricePreferences, }: {
|
|
1109
|
+
currencies: _medusajs_types.AdminStoreCurrency[];
|
|
1110
|
+
regions: _medusajs_types.AdminRegion[];
|
|
1111
|
+
pricePreferences: _medusajs_types.AdminPricePreference[];
|
|
1112
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1113
|
+
_tabMeta: TabDefinition<{
|
|
1114
|
+
title: string;
|
|
1115
|
+
type: "sale" | "override";
|
|
1116
|
+
status: "draft" | "active";
|
|
1117
|
+
description: string;
|
|
1118
|
+
products: Record<string, {
|
|
1119
|
+
variants: Record<string, {
|
|
1120
|
+
currency_prices: Record<string, {
|
|
1121
|
+
amount?: string | number | undefined;
|
|
1122
|
+
} | undefined>;
|
|
1123
|
+
region_prices: Record<string, {
|
|
1124
|
+
amount?: string | number | undefined;
|
|
1125
|
+
} | undefined>;
|
|
1126
|
+
}>;
|
|
1127
|
+
}>;
|
|
1128
|
+
product_ids: {
|
|
1129
|
+
id: string;
|
|
1130
|
+
}[];
|
|
1131
|
+
rules?: {
|
|
1132
|
+
customer_group_id?: {
|
|
1133
|
+
id: string;
|
|
1134
|
+
name: string;
|
|
1135
|
+
}[] | null | undefined;
|
|
1136
|
+
} | null | undefined;
|
|
1137
|
+
starts_at?: Date | null | undefined;
|
|
1138
|
+
ends_at?: Date | null | undefined;
|
|
1139
|
+
}>;
|
|
1140
|
+
};
|
|
1141
|
+
Tab: ({ children, }: {
|
|
1142
|
+
id: string;
|
|
1143
|
+
label: string;
|
|
1144
|
+
children?: ReactNode;
|
|
1145
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1146
|
+
};
|
|
1147
|
+
|
|
1148
|
+
declare const PriceListPricesAddSchema: z.ZodObject<{
|
|
1149
|
+
product_ids: z.ZodArray<z.ZodObject<{
|
|
1150
|
+
id: z.ZodString;
|
|
1151
|
+
}, "strip", z.ZodTypeAny, {
|
|
1152
|
+
id: string;
|
|
1153
|
+
}, {
|
|
1154
|
+
id: string;
|
|
1155
|
+
}>, "many">;
|
|
1156
|
+
products: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1157
|
+
variants: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1158
|
+
currency_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
|
|
1159
|
+
amount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1160
|
+
}, "strip", z.ZodTypeAny, {
|
|
1161
|
+
amount?: string | number | undefined;
|
|
1162
|
+
}, {
|
|
1163
|
+
amount?: string | number | undefined;
|
|
1164
|
+
}>>>;
|
|
1165
|
+
region_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
|
|
1166
|
+
amount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1167
|
+
}, "strip", z.ZodTypeAny, {
|
|
1168
|
+
amount?: string | number | undefined;
|
|
1169
|
+
}, {
|
|
1170
|
+
amount?: string | number | undefined;
|
|
1171
|
+
}>>>;
|
|
1172
|
+
}, "strip", z.ZodTypeAny, {
|
|
1173
|
+
currency_prices: Record<string, {
|
|
1174
|
+
amount?: string | number | undefined;
|
|
1175
|
+
} | undefined>;
|
|
1176
|
+
region_prices: Record<string, {
|
|
1177
|
+
amount?: string | number | undefined;
|
|
1178
|
+
} | undefined>;
|
|
1179
|
+
}, {
|
|
1180
|
+
currency_prices: Record<string, {
|
|
1181
|
+
amount?: string | number | undefined;
|
|
1182
|
+
} | undefined>;
|
|
1183
|
+
region_prices: Record<string, {
|
|
1184
|
+
amount?: string | number | undefined;
|
|
1185
|
+
} | undefined>;
|
|
1186
|
+
}>>;
|
|
1187
|
+
}, "strip", z.ZodTypeAny, {
|
|
1188
|
+
variants: Record<string, {
|
|
1189
|
+
currency_prices: Record<string, {
|
|
1190
|
+
amount?: string | number | undefined;
|
|
1191
|
+
} | undefined>;
|
|
1192
|
+
region_prices: Record<string, {
|
|
1193
|
+
amount?: string | number | undefined;
|
|
1194
|
+
} | undefined>;
|
|
1195
|
+
}>;
|
|
1196
|
+
}, {
|
|
1197
|
+
variants: Record<string, {
|
|
1198
|
+
currency_prices: Record<string, {
|
|
1199
|
+
amount?: string | number | undefined;
|
|
1200
|
+
} | undefined>;
|
|
1201
|
+
region_prices: Record<string, {
|
|
1202
|
+
amount?: string | number | undefined;
|
|
1203
|
+
} | undefined>;
|
|
1204
|
+
}>;
|
|
1205
|
+
}>>;
|
|
1206
|
+
}, "strip", z.ZodTypeAny, {
|
|
1207
|
+
products: Record<string, {
|
|
1208
|
+
variants: Record<string, {
|
|
1209
|
+
currency_prices: Record<string, {
|
|
1210
|
+
amount?: string | number | undefined;
|
|
1211
|
+
} | undefined>;
|
|
1212
|
+
region_prices: Record<string, {
|
|
1213
|
+
amount?: string | number | undefined;
|
|
1214
|
+
} | undefined>;
|
|
1215
|
+
}>;
|
|
1216
|
+
}>;
|
|
1217
|
+
product_ids: {
|
|
1218
|
+
id: string;
|
|
1219
|
+
}[];
|
|
1220
|
+
}, {
|
|
1221
|
+
products: Record<string, {
|
|
1222
|
+
variants: Record<string, {
|
|
1223
|
+
currency_prices: Record<string, {
|
|
1224
|
+
amount?: string | number | undefined;
|
|
1225
|
+
} | undefined>;
|
|
1226
|
+
region_prices: Record<string, {
|
|
1227
|
+
amount?: string | number | undefined;
|
|
1228
|
+
} | undefined>;
|
|
1229
|
+
}>;
|
|
1230
|
+
}>;
|
|
1231
|
+
product_ids: {
|
|
1232
|
+
id: string;
|
|
1233
|
+
}[];
|
|
1234
|
+
}>;
|
|
1235
|
+
type PriceListPricesAddSchema = z.infer<typeof PriceListPricesAddSchema>;
|
|
1236
|
+
|
|
1237
|
+
type PriceListPricesAddSchemaType = z.infer<typeof PriceListPricesAddSchema>;
|
|
1238
|
+
|
|
1239
|
+
declare const PriceListPricesAddPage: (({ children }: {
|
|
296
1240
|
children?: ReactNode;
|
|
297
1241
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
298
|
-
|
|
1242
|
+
Form: ({ priceList, regions, currencies, pricePreferences, children, schema, defaultValues: extraDefaults, }: {
|
|
1243
|
+
priceList: _medusajs_types.AdminPriceList;
|
|
1244
|
+
currencies: _medusajs_types.AdminStoreCurrency[];
|
|
1245
|
+
regions: _medusajs_types.AdminRegion[];
|
|
1246
|
+
pricePreferences: _medusajs_types.AdminPricePreference[];
|
|
1247
|
+
children?: ReactNode;
|
|
1248
|
+
schema?: zod.ZodType<PriceListPricesAddSchemaType>;
|
|
1249
|
+
defaultValues?: react_hook_form.DeepPartial<PriceListPricesAddSchemaType>;
|
|
1250
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1251
|
+
ProductIdsTab: {
|
|
1252
|
+
({ priceList, }: {
|
|
1253
|
+
priceList: _medusajs_types.AdminPriceList;
|
|
1254
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1255
|
+
_tabMeta: TabDefinition<{
|
|
1256
|
+
products: Record<string, {
|
|
1257
|
+
variants: Record<string, {
|
|
1258
|
+
currency_prices: Record<string, {
|
|
1259
|
+
amount?: string | number | undefined;
|
|
1260
|
+
} | undefined>;
|
|
1261
|
+
region_prices: Record<string, {
|
|
1262
|
+
amount?: string | number | undefined;
|
|
1263
|
+
} | undefined>;
|
|
1264
|
+
}>;
|
|
1265
|
+
}>;
|
|
1266
|
+
product_ids: {
|
|
1267
|
+
id: string;
|
|
1268
|
+
}[];
|
|
1269
|
+
}>;
|
|
1270
|
+
};
|
|
1271
|
+
PricesTab: {
|
|
1272
|
+
({ currencies, regions, pricePreferences, }: {
|
|
1273
|
+
currencies: _medusajs_types.AdminStoreCurrency[];
|
|
1274
|
+
regions: _medusajs_types.AdminRegion[];
|
|
1275
|
+
pricePreferences: _medusajs_types.AdminPricePreference[];
|
|
1276
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1277
|
+
_tabMeta: TabDefinition<{
|
|
1278
|
+
products: Record<string, {
|
|
1279
|
+
variants: Record<string, {
|
|
1280
|
+
currency_prices: Record<string, {
|
|
1281
|
+
amount?: string | number | undefined;
|
|
1282
|
+
} | undefined>;
|
|
1283
|
+
region_prices: Record<string, {
|
|
1284
|
+
amount?: string | number | undefined;
|
|
1285
|
+
} | undefined>;
|
|
1286
|
+
}>;
|
|
1287
|
+
}>;
|
|
1288
|
+
product_ids: {
|
|
1289
|
+
id: string;
|
|
1290
|
+
}[];
|
|
1291
|
+
}>;
|
|
1292
|
+
};
|
|
1293
|
+
Tab: ({ children, }: {
|
|
1294
|
+
id: string;
|
|
1295
|
+
label: string;
|
|
1296
|
+
children?: ReactNode;
|
|
1297
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1298
|
+
};
|
|
1299
|
+
|
|
1300
|
+
declare const ProductTagListPage: (({ children }: {
|
|
1301
|
+
children?: ReactNode;
|
|
1302
|
+
}) => react_jsx_runtime.JSX.Element) & {
|
|
1303
|
+
Table: ({ children, }: {
|
|
1304
|
+
children?: ReactNode;
|
|
1305
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1306
|
+
Header: ({ children, }: {
|
|
1307
|
+
children?: ReactNode;
|
|
1308
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1309
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
1310
|
+
HeaderActions: ({ children, }: {
|
|
1311
|
+
children?: ReactNode;
|
|
1312
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1313
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
299
1314
|
};
|
|
300
1315
|
|
|
301
|
-
declare const
|
|
1316
|
+
declare const ProductTagDetailPage: (({ children }: {
|
|
302
1317
|
children?: ReactNode;
|
|
303
1318
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
304
1319
|
GeneralSection: ({ productTag, }: {
|
|
@@ -309,13 +1324,23 @@ declare const ProductTagDetail: (({ children }: {
|
|
|
309
1324
|
}) => react_jsx_runtime.JSX.Element;
|
|
310
1325
|
};
|
|
311
1326
|
|
|
312
|
-
declare const
|
|
1327
|
+
declare const ProductTypeListPage: (({ children }: {
|
|
313
1328
|
children?: ReactNode;
|
|
314
1329
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
315
|
-
Table: (
|
|
1330
|
+
Table: ({ children, }: {
|
|
1331
|
+
children?: ReactNode;
|
|
1332
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1333
|
+
Header: ({ children, }: {
|
|
1334
|
+
children?: ReactNode;
|
|
1335
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1336
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
1337
|
+
HeaderActions: ({ children, }: {
|
|
1338
|
+
children?: ReactNode;
|
|
1339
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1340
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
316
1341
|
};
|
|
317
1342
|
|
|
318
|
-
declare const
|
|
1343
|
+
declare const ProductTypeDetailPage: (({ children }: {
|
|
319
1344
|
children?: ReactNode;
|
|
320
1345
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
321
1346
|
GeneralSection: ({ productType, }: {
|
|
@@ -349,7 +1374,7 @@ declare const ProductVariantDetailPage: (({ children }: {
|
|
|
349
1374
|
MainGeneralSection: typeof VariantGeneralSection;
|
|
350
1375
|
MainInventorySection: typeof VariantInventorySectionConnected;
|
|
351
1376
|
SidebarSellerSection: ({ seller }: {
|
|
352
|
-
seller?:
|
|
1377
|
+
seller?: SellerDTO | null;
|
|
353
1378
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
354
1379
|
SidebarPricesSection: typeof VariantPricesSection;
|
|
355
1380
|
};
|
|
@@ -379,35 +1404,828 @@ declare const ProductDetailPage: (({ children }: {
|
|
|
379
1404
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
380
1405
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
381
1406
|
MainGeneralSection: ({ product, }: {
|
|
382
|
-
product:
|
|
1407
|
+
product: HttpTypes.AdminProduct;
|
|
383
1408
|
}) => react_jsx_runtime.JSX.Element;
|
|
384
1409
|
MainMediaSection: ({ product, }: {
|
|
385
|
-
product:
|
|
1410
|
+
product: HttpTypes.AdminProduct;
|
|
386
1411
|
}) => react_jsx_runtime.JSX.Element;
|
|
387
1412
|
MainOptionSection: ({ product, }: {
|
|
388
|
-
product:
|
|
1413
|
+
product: HttpTypes.AdminProduct;
|
|
389
1414
|
}) => react_jsx_runtime.JSX.Element;
|
|
390
1415
|
MainVariantSection: ({ product, }: {
|
|
391
|
-
product:
|
|
1416
|
+
product: HttpTypes.AdminProduct;
|
|
392
1417
|
}) => react_jsx_runtime.JSX.Element;
|
|
393
1418
|
SidebarSellerSection: ({ seller }: {
|
|
394
|
-
seller?:
|
|
1419
|
+
seller?: SellerDTO | null;
|
|
395
1420
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
396
1421
|
SidebarSalesChannelSection: ({ product, }: {
|
|
397
|
-
product:
|
|
1422
|
+
product: HttpTypes.AdminProduct;
|
|
398
1423
|
}) => react_jsx_runtime.JSX.Element;
|
|
399
1424
|
SidebarShippingProfileSection: ({ product, }: {
|
|
400
|
-
product:
|
|
1425
|
+
product: HttpTypes.AdminProduct;
|
|
401
1426
|
}) => react_jsx_runtime.JSX.Element;
|
|
402
1427
|
SidebarOrganizationSection: ({ product, }: {
|
|
403
|
-
product:
|
|
1428
|
+
product: HttpTypes.AdminProduct;
|
|
404
1429
|
}) => react_jsx_runtime.JSX.Element;
|
|
405
1430
|
SidebarAttributeSection: ({ product, }: {
|
|
1431
|
+
product: HttpTypes.AdminProduct;
|
|
1432
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1433
|
+
};
|
|
1434
|
+
|
|
1435
|
+
declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
1436
|
+
title: z.ZodString;
|
|
1437
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
1438
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
1439
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1440
|
+
discountable: z.ZodBoolean;
|
|
1441
|
+
type_id: z.ZodOptional<z.ZodString>;
|
|
1442
|
+
collection_id: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
shipping_profile_id: z.ZodOptional<z.ZodString>;
|
|
1444
|
+
categories: z.ZodArray<z.ZodString, "many">;
|
|
1445
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1446
|
+
seller_id: z.ZodOptional<z.ZodString>;
|
|
1447
|
+
sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1448
|
+
id: z.ZodString;
|
|
1449
|
+
name: z.ZodString;
|
|
1450
|
+
}, "strip", z.ZodTypeAny, {
|
|
1451
|
+
id: string;
|
|
1452
|
+
name: string;
|
|
1453
|
+
}, {
|
|
1454
|
+
id: string;
|
|
1455
|
+
name: string;
|
|
1456
|
+
}>, "many">>;
|
|
1457
|
+
origin_country: z.ZodOptional<z.ZodString>;
|
|
1458
|
+
material: z.ZodOptional<z.ZodString>;
|
|
1459
|
+
width: z.ZodOptional<z.ZodString>;
|
|
1460
|
+
length: z.ZodOptional<z.ZodString>;
|
|
1461
|
+
height: z.ZodOptional<z.ZodString>;
|
|
1462
|
+
weight: z.ZodOptional<z.ZodString>;
|
|
1463
|
+
mid_code: z.ZodOptional<z.ZodString>;
|
|
1464
|
+
hs_code: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1466
|
+
title: z.ZodString;
|
|
1467
|
+
values: z.ZodArray<z.ZodString, "many">;
|
|
1468
|
+
}, "strip", z.ZodTypeAny, {
|
|
1469
|
+
title: string;
|
|
1470
|
+
values: string[];
|
|
1471
|
+
}, {
|
|
1472
|
+
title: string;
|
|
1473
|
+
values: string[];
|
|
1474
|
+
}>, "many">;
|
|
1475
|
+
enable_variants: z.ZodBoolean;
|
|
1476
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1477
|
+
should_create: z.ZodBoolean;
|
|
1478
|
+
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
1479
|
+
title: z.ZodString;
|
|
1480
|
+
upc: z.ZodOptional<z.ZodString>;
|
|
1481
|
+
ean: z.ZodOptional<z.ZodString>;
|
|
1482
|
+
barcode: z.ZodOptional<z.ZodString>;
|
|
1483
|
+
mid_code: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
hs_code: z.ZodOptional<z.ZodString>;
|
|
1485
|
+
width: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
1486
|
+
height: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
1487
|
+
length: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
1488
|
+
weight: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
1489
|
+
material: z.ZodOptional<z.ZodString>;
|
|
1490
|
+
origin_country: z.ZodOptional<z.ZodString>;
|
|
1491
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
1492
|
+
manage_inventory: z.ZodOptional<z.ZodBoolean>;
|
|
1493
|
+
allow_backorder: z.ZodOptional<z.ZodBoolean>;
|
|
1494
|
+
inventory_kit: z.ZodOptional<z.ZodBoolean>;
|
|
1495
|
+
options: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1496
|
+
variant_rank: z.ZodNumber;
|
|
1497
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>>>;
|
|
1498
|
+
inventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1499
|
+
inventory_item_id: z.ZodString;
|
|
1500
|
+
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>;
|
|
1501
|
+
}, "strip", z.ZodTypeAny, {
|
|
1502
|
+
inventory_item_id: string;
|
|
1503
|
+
required_quantity?: string | number | undefined;
|
|
1504
|
+
}, {
|
|
1505
|
+
inventory_item_id: string;
|
|
1506
|
+
required_quantity?: string | number | undefined;
|
|
1507
|
+
}>, "many">>;
|
|
1508
|
+
}, "strip", z.ZodTypeAny, {
|
|
1509
|
+
title: string;
|
|
1510
|
+
options: Record<string, string>;
|
|
1511
|
+
variant_rank: number;
|
|
1512
|
+
should_create: boolean;
|
|
1513
|
+
length?: string | number | undefined;
|
|
1514
|
+
inventory?: {
|
|
1515
|
+
inventory_item_id: string;
|
|
1516
|
+
required_quantity?: string | number | undefined;
|
|
1517
|
+
}[] | undefined;
|
|
1518
|
+
manage_inventory?: boolean | undefined;
|
|
1519
|
+
allow_backorder?: boolean | undefined;
|
|
1520
|
+
sku?: string | undefined;
|
|
1521
|
+
barcode?: string | undefined;
|
|
1522
|
+
origin_country?: string | undefined;
|
|
1523
|
+
hs_code?: string | undefined;
|
|
1524
|
+
mid_code?: string | undefined;
|
|
1525
|
+
material?: string | undefined;
|
|
1526
|
+
weight?: string | number | undefined;
|
|
1527
|
+
height?: string | number | undefined;
|
|
1528
|
+
width?: string | number | undefined;
|
|
1529
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
1530
|
+
ean?: string | undefined;
|
|
1531
|
+
upc?: string | undefined;
|
|
1532
|
+
is_default?: boolean | undefined;
|
|
1533
|
+
inventory_kit?: boolean | undefined;
|
|
1534
|
+
}, {
|
|
1535
|
+
title: string;
|
|
1536
|
+
options: Record<string, string>;
|
|
1537
|
+
variant_rank: number;
|
|
1538
|
+
should_create: boolean;
|
|
1539
|
+
length?: string | number | undefined;
|
|
1540
|
+
inventory?: {
|
|
1541
|
+
inventory_item_id: string;
|
|
1542
|
+
required_quantity?: string | number | undefined;
|
|
1543
|
+
}[] | undefined;
|
|
1544
|
+
manage_inventory?: boolean | undefined;
|
|
1545
|
+
allow_backorder?: boolean | undefined;
|
|
1546
|
+
sku?: string | undefined;
|
|
1547
|
+
barcode?: string | undefined;
|
|
1548
|
+
origin_country?: string | undefined;
|
|
1549
|
+
hs_code?: string | undefined;
|
|
1550
|
+
mid_code?: string | undefined;
|
|
1551
|
+
material?: string | undefined;
|
|
1552
|
+
weight?: string | number | undefined;
|
|
1553
|
+
height?: string | number | undefined;
|
|
1554
|
+
width?: string | number | undefined;
|
|
1555
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
1556
|
+
ean?: string | undefined;
|
|
1557
|
+
upc?: string | undefined;
|
|
1558
|
+
is_default?: boolean | undefined;
|
|
1559
|
+
inventory_kit?: boolean | undefined;
|
|
1560
|
+
}>, "many">;
|
|
1561
|
+
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1562
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1563
|
+
url: z.ZodString;
|
|
1564
|
+
isThumbnail: z.ZodBoolean;
|
|
1565
|
+
file: z.ZodNullable<z.ZodAny>;
|
|
1566
|
+
}, "strip", z.ZodTypeAny, {
|
|
1567
|
+
url: string;
|
|
1568
|
+
isThumbnail: boolean;
|
|
1569
|
+
id?: string | undefined;
|
|
1570
|
+
file?: any;
|
|
1571
|
+
}, {
|
|
1572
|
+
url: string;
|
|
1573
|
+
isThumbnail: boolean;
|
|
1574
|
+
id?: string | undefined;
|
|
1575
|
+
file?: any;
|
|
1576
|
+
}>, "many">>;
|
|
1577
|
+
}, "strip", z.ZodTypeAny, {
|
|
1578
|
+
title: string;
|
|
1579
|
+
options: {
|
|
1580
|
+
title: string;
|
|
1581
|
+
values: string[];
|
|
1582
|
+
}[];
|
|
1583
|
+
variants: {
|
|
1584
|
+
title: string;
|
|
1585
|
+
options: Record<string, string>;
|
|
1586
|
+
variant_rank: number;
|
|
1587
|
+
should_create: boolean;
|
|
1588
|
+
length?: string | number | undefined;
|
|
1589
|
+
inventory?: {
|
|
1590
|
+
inventory_item_id: string;
|
|
1591
|
+
required_quantity?: string | number | undefined;
|
|
1592
|
+
}[] | undefined;
|
|
1593
|
+
manage_inventory?: boolean | undefined;
|
|
1594
|
+
allow_backorder?: boolean | undefined;
|
|
1595
|
+
sku?: string | undefined;
|
|
1596
|
+
barcode?: string | undefined;
|
|
1597
|
+
origin_country?: string | undefined;
|
|
1598
|
+
hs_code?: string | undefined;
|
|
1599
|
+
mid_code?: string | undefined;
|
|
1600
|
+
material?: string | undefined;
|
|
1601
|
+
weight?: string | number | undefined;
|
|
1602
|
+
height?: string | number | undefined;
|
|
1603
|
+
width?: string | number | undefined;
|
|
1604
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
1605
|
+
ean?: string | undefined;
|
|
1606
|
+
upc?: string | undefined;
|
|
1607
|
+
is_default?: boolean | undefined;
|
|
1608
|
+
inventory_kit?: boolean | undefined;
|
|
1609
|
+
}[];
|
|
1610
|
+
discountable: boolean;
|
|
1611
|
+
categories: string[];
|
|
1612
|
+
enable_variants: boolean;
|
|
1613
|
+
length?: string | undefined;
|
|
1614
|
+
seller_id?: string | undefined;
|
|
1615
|
+
handle?: string | undefined;
|
|
1616
|
+
description?: string | undefined;
|
|
1617
|
+
media?: {
|
|
1618
|
+
url: string;
|
|
1619
|
+
isThumbnail: boolean;
|
|
1620
|
+
id?: string | undefined;
|
|
1621
|
+
file?: any;
|
|
1622
|
+
}[] | undefined;
|
|
1623
|
+
collection_id?: string | undefined;
|
|
1624
|
+
type_id?: string | undefined;
|
|
1625
|
+
sales_channels?: {
|
|
1626
|
+
id: string;
|
|
1627
|
+
name: string;
|
|
1628
|
+
}[] | undefined;
|
|
1629
|
+
shipping_profile_id?: string | undefined;
|
|
1630
|
+
subtitle?: string | undefined;
|
|
1631
|
+
origin_country?: string | undefined;
|
|
1632
|
+
hs_code?: string | undefined;
|
|
1633
|
+
mid_code?: string | undefined;
|
|
1634
|
+
material?: string | undefined;
|
|
1635
|
+
weight?: string | undefined;
|
|
1636
|
+
height?: string | undefined;
|
|
1637
|
+
width?: string | undefined;
|
|
1638
|
+
tags?: string[] | undefined;
|
|
1639
|
+
}, {
|
|
1640
|
+
title: string;
|
|
1641
|
+
options: {
|
|
1642
|
+
title: string;
|
|
1643
|
+
values: string[];
|
|
1644
|
+
}[];
|
|
1645
|
+
variants: {
|
|
1646
|
+
title: string;
|
|
1647
|
+
options: Record<string, string>;
|
|
1648
|
+
variant_rank: number;
|
|
1649
|
+
should_create: boolean;
|
|
1650
|
+
length?: string | number | undefined;
|
|
1651
|
+
inventory?: {
|
|
1652
|
+
inventory_item_id: string;
|
|
1653
|
+
required_quantity?: string | number | undefined;
|
|
1654
|
+
}[] | undefined;
|
|
1655
|
+
manage_inventory?: boolean | undefined;
|
|
1656
|
+
allow_backorder?: boolean | undefined;
|
|
1657
|
+
sku?: string | undefined;
|
|
1658
|
+
barcode?: string | undefined;
|
|
1659
|
+
origin_country?: string | undefined;
|
|
1660
|
+
hs_code?: string | undefined;
|
|
1661
|
+
mid_code?: string | undefined;
|
|
1662
|
+
material?: string | undefined;
|
|
1663
|
+
weight?: string | number | undefined;
|
|
1664
|
+
height?: string | number | undefined;
|
|
1665
|
+
width?: string | number | undefined;
|
|
1666
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
1667
|
+
ean?: string | undefined;
|
|
1668
|
+
upc?: string | undefined;
|
|
1669
|
+
is_default?: boolean | undefined;
|
|
1670
|
+
inventory_kit?: boolean | undefined;
|
|
1671
|
+
}[];
|
|
1672
|
+
discountable: boolean;
|
|
1673
|
+
categories: string[];
|
|
1674
|
+
enable_variants: boolean;
|
|
1675
|
+
length?: string | undefined;
|
|
1676
|
+
seller_id?: string | undefined;
|
|
1677
|
+
handle?: string | undefined;
|
|
1678
|
+
description?: string | undefined;
|
|
1679
|
+
media?: {
|
|
1680
|
+
url: string;
|
|
1681
|
+
isThumbnail: boolean;
|
|
1682
|
+
id?: string | undefined;
|
|
1683
|
+
file?: any;
|
|
1684
|
+
}[] | undefined;
|
|
1685
|
+
collection_id?: string | undefined;
|
|
1686
|
+
type_id?: string | undefined;
|
|
1687
|
+
sales_channels?: {
|
|
1688
|
+
id: string;
|
|
1689
|
+
name: string;
|
|
1690
|
+
}[] | undefined;
|
|
1691
|
+
shipping_profile_id?: string | undefined;
|
|
1692
|
+
subtitle?: string | undefined;
|
|
1693
|
+
origin_country?: string | undefined;
|
|
1694
|
+
hs_code?: string | undefined;
|
|
1695
|
+
mid_code?: string | undefined;
|
|
1696
|
+
material?: string | undefined;
|
|
1697
|
+
weight?: string | undefined;
|
|
1698
|
+
height?: string | undefined;
|
|
1699
|
+
width?: string | undefined;
|
|
1700
|
+
tags?: string[] | undefined;
|
|
1701
|
+
}>, {
|
|
1702
|
+
title: string;
|
|
1703
|
+
options: {
|
|
1704
|
+
title: string;
|
|
1705
|
+
values: string[];
|
|
1706
|
+
}[];
|
|
1707
|
+
variants: {
|
|
1708
|
+
title: string;
|
|
1709
|
+
options: Record<string, string>;
|
|
1710
|
+
variant_rank: number;
|
|
1711
|
+
should_create: boolean;
|
|
1712
|
+
length?: string | number | undefined;
|
|
1713
|
+
inventory?: {
|
|
1714
|
+
inventory_item_id: string;
|
|
1715
|
+
required_quantity?: string | number | undefined;
|
|
1716
|
+
}[] | undefined;
|
|
1717
|
+
manage_inventory?: boolean | undefined;
|
|
1718
|
+
allow_backorder?: boolean | undefined;
|
|
1719
|
+
sku?: string | undefined;
|
|
1720
|
+
barcode?: string | undefined;
|
|
1721
|
+
origin_country?: string | undefined;
|
|
1722
|
+
hs_code?: string | undefined;
|
|
1723
|
+
mid_code?: string | undefined;
|
|
1724
|
+
material?: string | undefined;
|
|
1725
|
+
weight?: string | number | undefined;
|
|
1726
|
+
height?: string | number | undefined;
|
|
1727
|
+
width?: string | number | undefined;
|
|
1728
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
1729
|
+
ean?: string | undefined;
|
|
1730
|
+
upc?: string | undefined;
|
|
1731
|
+
is_default?: boolean | undefined;
|
|
1732
|
+
inventory_kit?: boolean | undefined;
|
|
1733
|
+
}[];
|
|
1734
|
+
discountable: boolean;
|
|
1735
|
+
categories: string[];
|
|
1736
|
+
enable_variants: boolean;
|
|
1737
|
+
length?: string | undefined;
|
|
1738
|
+
seller_id?: string | undefined;
|
|
1739
|
+
handle?: string | undefined;
|
|
1740
|
+
description?: string | undefined;
|
|
1741
|
+
media?: {
|
|
1742
|
+
url: string;
|
|
1743
|
+
isThumbnail: boolean;
|
|
1744
|
+
id?: string | undefined;
|
|
1745
|
+
file?: any;
|
|
1746
|
+
}[] | undefined;
|
|
1747
|
+
collection_id?: string | undefined;
|
|
1748
|
+
type_id?: string | undefined;
|
|
1749
|
+
sales_channels?: {
|
|
1750
|
+
id: string;
|
|
1751
|
+
name: string;
|
|
1752
|
+
}[] | undefined;
|
|
1753
|
+
shipping_profile_id?: string | undefined;
|
|
1754
|
+
subtitle?: string | undefined;
|
|
1755
|
+
origin_country?: string | undefined;
|
|
1756
|
+
hs_code?: string | undefined;
|
|
1757
|
+
mid_code?: string | undefined;
|
|
1758
|
+
material?: string | undefined;
|
|
1759
|
+
weight?: string | undefined;
|
|
1760
|
+
height?: string | undefined;
|
|
1761
|
+
width?: string | undefined;
|
|
1762
|
+
tags?: string[] | undefined;
|
|
1763
|
+
}, {
|
|
1764
|
+
title: string;
|
|
1765
|
+
options: {
|
|
1766
|
+
title: string;
|
|
1767
|
+
values: string[];
|
|
1768
|
+
}[];
|
|
1769
|
+
variants: {
|
|
1770
|
+
title: string;
|
|
1771
|
+
options: Record<string, string>;
|
|
1772
|
+
variant_rank: number;
|
|
1773
|
+
should_create: boolean;
|
|
1774
|
+
length?: string | number | undefined;
|
|
1775
|
+
inventory?: {
|
|
1776
|
+
inventory_item_id: string;
|
|
1777
|
+
required_quantity?: string | number | undefined;
|
|
1778
|
+
}[] | undefined;
|
|
1779
|
+
manage_inventory?: boolean | undefined;
|
|
1780
|
+
allow_backorder?: boolean | undefined;
|
|
1781
|
+
sku?: string | undefined;
|
|
1782
|
+
barcode?: string | undefined;
|
|
1783
|
+
origin_country?: string | undefined;
|
|
1784
|
+
hs_code?: string | undefined;
|
|
1785
|
+
mid_code?: string | undefined;
|
|
1786
|
+
material?: string | undefined;
|
|
1787
|
+
weight?: string | number | undefined;
|
|
1788
|
+
height?: string | number | undefined;
|
|
1789
|
+
width?: string | number | undefined;
|
|
1790
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
1791
|
+
ean?: string | undefined;
|
|
1792
|
+
upc?: string | undefined;
|
|
1793
|
+
is_default?: boolean | undefined;
|
|
1794
|
+
inventory_kit?: boolean | undefined;
|
|
1795
|
+
}[];
|
|
1796
|
+
discountable: boolean;
|
|
1797
|
+
categories: string[];
|
|
1798
|
+
enable_variants: boolean;
|
|
1799
|
+
length?: string | undefined;
|
|
1800
|
+
seller_id?: string | undefined;
|
|
1801
|
+
handle?: string | undefined;
|
|
1802
|
+
description?: string | undefined;
|
|
1803
|
+
media?: {
|
|
1804
|
+
url: string;
|
|
1805
|
+
isThumbnail: boolean;
|
|
1806
|
+
id?: string | undefined;
|
|
1807
|
+
file?: any;
|
|
1808
|
+
}[] | undefined;
|
|
1809
|
+
collection_id?: string | undefined;
|
|
1810
|
+
type_id?: string | undefined;
|
|
1811
|
+
sales_channels?: {
|
|
1812
|
+
id: string;
|
|
1813
|
+
name: string;
|
|
1814
|
+
}[] | undefined;
|
|
1815
|
+
shipping_profile_id?: string | undefined;
|
|
1816
|
+
subtitle?: string | undefined;
|
|
1817
|
+
origin_country?: string | undefined;
|
|
1818
|
+
hs_code?: string | undefined;
|
|
1819
|
+
mid_code?: string | undefined;
|
|
1820
|
+
material?: string | undefined;
|
|
1821
|
+
weight?: string | undefined;
|
|
1822
|
+
height?: string | undefined;
|
|
1823
|
+
width?: string | undefined;
|
|
1824
|
+
tags?: string[] | undefined;
|
|
1825
|
+
}>;
|
|
1826
|
+
|
|
1827
|
+
type ProductCreateSchemaType = z.infer<typeof ProductCreateSchema>;
|
|
1828
|
+
|
|
1829
|
+
declare const ProductCreatePage: (({ children }: {
|
|
1830
|
+
children?: ReactNode;
|
|
1831
|
+
}) => react_jsx_runtime.JSX.Element) & {
|
|
1832
|
+
Form: ({ defaultChannel, children, schema, defaultValues: extraDefaults, }: {
|
|
1833
|
+
defaultChannel?: _medusajs_types.AdminSalesChannel;
|
|
1834
|
+
children?: ReactNode;
|
|
1835
|
+
schema?: zod.ZodType<ProductCreateSchemaType>;
|
|
1836
|
+
defaultValues?: react_hook_form.DeepPartial<ProductCreateSchemaType>;
|
|
1837
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1838
|
+
DetailsTab: {
|
|
1839
|
+
(): react_jsx_runtime.JSX.Element;
|
|
1840
|
+
_tabMeta: TabDefinition<{
|
|
1841
|
+
title: string;
|
|
1842
|
+
options: {
|
|
1843
|
+
title: string;
|
|
1844
|
+
values: string[];
|
|
1845
|
+
}[];
|
|
1846
|
+
variants: {
|
|
1847
|
+
title: string;
|
|
1848
|
+
options: Record<string, string>;
|
|
1849
|
+
variant_rank: number;
|
|
1850
|
+
should_create: boolean;
|
|
1851
|
+
length?: string | number | undefined;
|
|
1852
|
+
inventory?: {
|
|
1853
|
+
inventory_item_id: string;
|
|
1854
|
+
required_quantity?: string | number | undefined;
|
|
1855
|
+
}[] | undefined;
|
|
1856
|
+
manage_inventory?: boolean | undefined;
|
|
1857
|
+
allow_backorder?: boolean | undefined;
|
|
1858
|
+
sku?: string | undefined;
|
|
1859
|
+
barcode?: string | undefined;
|
|
1860
|
+
origin_country?: string | undefined;
|
|
1861
|
+
hs_code?: string | undefined;
|
|
1862
|
+
mid_code?: string | undefined;
|
|
1863
|
+
material?: string | undefined;
|
|
1864
|
+
weight?: string | number | undefined;
|
|
1865
|
+
height?: string | number | undefined;
|
|
1866
|
+
width?: string | number | undefined;
|
|
1867
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
1868
|
+
ean?: string | undefined;
|
|
1869
|
+
upc?: string | undefined;
|
|
1870
|
+
is_default?: boolean | undefined;
|
|
1871
|
+
inventory_kit?: boolean | undefined;
|
|
1872
|
+
}[];
|
|
1873
|
+
discountable: boolean;
|
|
1874
|
+
categories: string[];
|
|
1875
|
+
enable_variants: boolean;
|
|
1876
|
+
length?: string | undefined;
|
|
1877
|
+
seller_id?: string | undefined;
|
|
1878
|
+
handle?: string | undefined;
|
|
1879
|
+
description?: string | undefined;
|
|
1880
|
+
media?: {
|
|
1881
|
+
url: string;
|
|
1882
|
+
isThumbnail: boolean;
|
|
1883
|
+
id?: string | undefined;
|
|
1884
|
+
file?: any;
|
|
1885
|
+
}[] | undefined;
|
|
1886
|
+
collection_id?: string | undefined;
|
|
1887
|
+
type_id?: string | undefined;
|
|
1888
|
+
sales_channels?: {
|
|
1889
|
+
id: string;
|
|
1890
|
+
name: string;
|
|
1891
|
+
}[] | undefined;
|
|
1892
|
+
shipping_profile_id?: string | undefined;
|
|
1893
|
+
subtitle?: string | undefined;
|
|
1894
|
+
origin_country?: string | undefined;
|
|
1895
|
+
hs_code?: string | undefined;
|
|
1896
|
+
mid_code?: string | undefined;
|
|
1897
|
+
material?: string | undefined;
|
|
1898
|
+
weight?: string | undefined;
|
|
1899
|
+
height?: string | undefined;
|
|
1900
|
+
width?: string | undefined;
|
|
1901
|
+
tags?: string[] | undefined;
|
|
1902
|
+
}>;
|
|
1903
|
+
};
|
|
1904
|
+
OrganizeTab: {
|
|
1905
|
+
(): react_jsx_runtime.JSX.Element;
|
|
1906
|
+
_tabMeta: TabDefinition<{
|
|
1907
|
+
title: string;
|
|
1908
|
+
options: {
|
|
1909
|
+
title: string;
|
|
1910
|
+
values: string[];
|
|
1911
|
+
}[];
|
|
1912
|
+
variants: {
|
|
1913
|
+
title: string;
|
|
1914
|
+
options: Record<string, string>;
|
|
1915
|
+
variant_rank: number;
|
|
1916
|
+
should_create: boolean;
|
|
1917
|
+
length?: string | number | undefined;
|
|
1918
|
+
inventory?: {
|
|
1919
|
+
inventory_item_id: string;
|
|
1920
|
+
required_quantity?: string | number | undefined;
|
|
1921
|
+
}[] | undefined;
|
|
1922
|
+
manage_inventory?: boolean | undefined;
|
|
1923
|
+
allow_backorder?: boolean | undefined;
|
|
1924
|
+
sku?: string | undefined;
|
|
1925
|
+
barcode?: string | undefined;
|
|
1926
|
+
origin_country?: string | undefined;
|
|
1927
|
+
hs_code?: string | undefined;
|
|
1928
|
+
mid_code?: string | undefined;
|
|
1929
|
+
material?: string | undefined;
|
|
1930
|
+
weight?: string | number | undefined;
|
|
1931
|
+
height?: string | number | undefined;
|
|
1932
|
+
width?: string | number | undefined;
|
|
1933
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
1934
|
+
ean?: string | undefined;
|
|
1935
|
+
upc?: string | undefined;
|
|
1936
|
+
is_default?: boolean | undefined;
|
|
1937
|
+
inventory_kit?: boolean | undefined;
|
|
1938
|
+
}[];
|
|
1939
|
+
discountable: boolean;
|
|
1940
|
+
categories: string[];
|
|
1941
|
+
enable_variants: boolean;
|
|
1942
|
+
length?: string | undefined;
|
|
1943
|
+
seller_id?: string | undefined;
|
|
1944
|
+
handle?: string | undefined;
|
|
1945
|
+
description?: string | undefined;
|
|
1946
|
+
media?: {
|
|
1947
|
+
url: string;
|
|
1948
|
+
isThumbnail: boolean;
|
|
1949
|
+
id?: string | undefined;
|
|
1950
|
+
file?: any;
|
|
1951
|
+
}[] | undefined;
|
|
1952
|
+
collection_id?: string | undefined;
|
|
1953
|
+
type_id?: string | undefined;
|
|
1954
|
+
sales_channels?: {
|
|
1955
|
+
id: string;
|
|
1956
|
+
name: string;
|
|
1957
|
+
}[] | undefined;
|
|
1958
|
+
shipping_profile_id?: string | undefined;
|
|
1959
|
+
subtitle?: string | undefined;
|
|
1960
|
+
origin_country?: string | undefined;
|
|
1961
|
+
hs_code?: string | undefined;
|
|
1962
|
+
mid_code?: string | undefined;
|
|
1963
|
+
material?: string | undefined;
|
|
1964
|
+
weight?: string | undefined;
|
|
1965
|
+
height?: string | undefined;
|
|
1966
|
+
width?: string | undefined;
|
|
1967
|
+
tags?: string[] | undefined;
|
|
1968
|
+
}>;
|
|
1969
|
+
};
|
|
1970
|
+
VariantsTab: {
|
|
1971
|
+
(): react_jsx_runtime.JSX.Element;
|
|
1972
|
+
_tabMeta: TabDefinition<{
|
|
1973
|
+
title: string;
|
|
1974
|
+
options: {
|
|
1975
|
+
title: string;
|
|
1976
|
+
values: string[];
|
|
1977
|
+
}[];
|
|
1978
|
+
variants: {
|
|
1979
|
+
title: string;
|
|
1980
|
+
options: Record<string, string>;
|
|
1981
|
+
variant_rank: number;
|
|
1982
|
+
should_create: boolean;
|
|
1983
|
+
length?: string | number | undefined;
|
|
1984
|
+
inventory?: {
|
|
1985
|
+
inventory_item_id: string;
|
|
1986
|
+
required_quantity?: string | number | undefined;
|
|
1987
|
+
}[] | undefined;
|
|
1988
|
+
manage_inventory?: boolean | undefined;
|
|
1989
|
+
allow_backorder?: boolean | undefined;
|
|
1990
|
+
sku?: string | undefined;
|
|
1991
|
+
barcode?: string | undefined;
|
|
1992
|
+
origin_country?: string | undefined;
|
|
1993
|
+
hs_code?: string | undefined;
|
|
1994
|
+
mid_code?: string | undefined;
|
|
1995
|
+
material?: string | undefined;
|
|
1996
|
+
weight?: string | number | undefined;
|
|
1997
|
+
height?: string | number | undefined;
|
|
1998
|
+
width?: string | number | undefined;
|
|
1999
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
2000
|
+
ean?: string | undefined;
|
|
2001
|
+
upc?: string | undefined;
|
|
2002
|
+
is_default?: boolean | undefined;
|
|
2003
|
+
inventory_kit?: boolean | undefined;
|
|
2004
|
+
}[];
|
|
2005
|
+
discountable: boolean;
|
|
2006
|
+
categories: string[];
|
|
2007
|
+
enable_variants: boolean;
|
|
2008
|
+
length?: string | undefined;
|
|
2009
|
+
seller_id?: string | undefined;
|
|
2010
|
+
handle?: string | undefined;
|
|
2011
|
+
description?: string | undefined;
|
|
2012
|
+
media?: {
|
|
2013
|
+
url: string;
|
|
2014
|
+
isThumbnail: boolean;
|
|
2015
|
+
id?: string | undefined;
|
|
2016
|
+
file?: any;
|
|
2017
|
+
}[] | undefined;
|
|
2018
|
+
collection_id?: string | undefined;
|
|
2019
|
+
type_id?: string | undefined;
|
|
2020
|
+
sales_channels?: {
|
|
2021
|
+
id: string;
|
|
2022
|
+
name: string;
|
|
2023
|
+
}[] | undefined;
|
|
2024
|
+
shipping_profile_id?: string | undefined;
|
|
2025
|
+
subtitle?: string | undefined;
|
|
2026
|
+
origin_country?: string | undefined;
|
|
2027
|
+
hs_code?: string | undefined;
|
|
2028
|
+
mid_code?: string | undefined;
|
|
2029
|
+
material?: string | undefined;
|
|
2030
|
+
weight?: string | undefined;
|
|
2031
|
+
height?: string | undefined;
|
|
2032
|
+
width?: string | undefined;
|
|
2033
|
+
tags?: string[] | undefined;
|
|
2034
|
+
}>;
|
|
2035
|
+
};
|
|
2036
|
+
InventoryTab: {
|
|
2037
|
+
(): react_jsx_runtime.JSX.Element;
|
|
2038
|
+
_tabMeta: TabDefinition<{
|
|
2039
|
+
title: string;
|
|
2040
|
+
options: {
|
|
2041
|
+
title: string;
|
|
2042
|
+
values: string[];
|
|
2043
|
+
}[];
|
|
2044
|
+
variants: {
|
|
2045
|
+
title: string;
|
|
2046
|
+
options: Record<string, string>;
|
|
2047
|
+
variant_rank: number;
|
|
2048
|
+
should_create: boolean;
|
|
2049
|
+
length?: string | number | undefined;
|
|
2050
|
+
inventory?: {
|
|
2051
|
+
inventory_item_id: string;
|
|
2052
|
+
required_quantity?: string | number | undefined;
|
|
2053
|
+
}[] | undefined;
|
|
2054
|
+
manage_inventory?: boolean | undefined;
|
|
2055
|
+
allow_backorder?: boolean | undefined;
|
|
2056
|
+
sku?: string | undefined;
|
|
2057
|
+
barcode?: string | undefined;
|
|
2058
|
+
origin_country?: string | undefined;
|
|
2059
|
+
hs_code?: string | undefined;
|
|
2060
|
+
mid_code?: string | undefined;
|
|
2061
|
+
material?: string | undefined;
|
|
2062
|
+
weight?: string | number | undefined;
|
|
2063
|
+
height?: string | number | undefined;
|
|
2064
|
+
width?: string | number | undefined;
|
|
2065
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
2066
|
+
ean?: string | undefined;
|
|
2067
|
+
upc?: string | undefined;
|
|
2068
|
+
is_default?: boolean | undefined;
|
|
2069
|
+
inventory_kit?: boolean | undefined;
|
|
2070
|
+
}[];
|
|
2071
|
+
discountable: boolean;
|
|
2072
|
+
categories: string[];
|
|
2073
|
+
enable_variants: boolean;
|
|
2074
|
+
length?: string | undefined;
|
|
2075
|
+
seller_id?: string | undefined;
|
|
2076
|
+
handle?: string | undefined;
|
|
2077
|
+
description?: string | undefined;
|
|
2078
|
+
media?: {
|
|
2079
|
+
url: string;
|
|
2080
|
+
isThumbnail: boolean;
|
|
2081
|
+
id?: string | undefined;
|
|
2082
|
+
file?: any;
|
|
2083
|
+
}[] | undefined;
|
|
2084
|
+
collection_id?: string | undefined;
|
|
2085
|
+
type_id?: string | undefined;
|
|
2086
|
+
sales_channels?: {
|
|
2087
|
+
id: string;
|
|
2088
|
+
name: string;
|
|
2089
|
+
}[] | undefined;
|
|
2090
|
+
shipping_profile_id?: string | undefined;
|
|
2091
|
+
subtitle?: string | undefined;
|
|
2092
|
+
origin_country?: string | undefined;
|
|
2093
|
+
hs_code?: string | undefined;
|
|
2094
|
+
mid_code?: string | undefined;
|
|
2095
|
+
material?: string | undefined;
|
|
2096
|
+
weight?: string | undefined;
|
|
2097
|
+
height?: string | undefined;
|
|
2098
|
+
width?: string | undefined;
|
|
2099
|
+
tags?: string[] | undefined;
|
|
2100
|
+
}>;
|
|
2101
|
+
};
|
|
2102
|
+
Tab: ({ children, }: {
|
|
2103
|
+
id: string;
|
|
2104
|
+
label: string;
|
|
2105
|
+
children?: ReactNode;
|
|
2106
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2107
|
+
};
|
|
2108
|
+
|
|
2109
|
+
declare const CreateProductVariantSchema: z.ZodObject<{
|
|
2110
|
+
title: z.ZodString;
|
|
2111
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
2112
|
+
manage_inventory: z.ZodOptional<z.ZodBoolean>;
|
|
2113
|
+
allow_backorder: z.ZodOptional<z.ZodBoolean>;
|
|
2114
|
+
inventory_kit: z.ZodOptional<z.ZodBoolean>;
|
|
2115
|
+
options: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2116
|
+
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>>;
|
|
2117
|
+
inventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2118
|
+
inventory_item_id: z.ZodString;
|
|
2119
|
+
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>;
|
|
2120
|
+
}, "strip", z.ZodTypeAny, {
|
|
2121
|
+
inventory_item_id: string;
|
|
2122
|
+
required_quantity?: string | number | undefined;
|
|
2123
|
+
}, {
|
|
2124
|
+
inventory_item_id: string;
|
|
2125
|
+
required_quantity?: string | number | undefined;
|
|
2126
|
+
}>, "many">>;
|
|
2127
|
+
}, "strip", z.ZodTypeAny, {
|
|
2128
|
+
title: string;
|
|
2129
|
+
options: Record<string, string>;
|
|
2130
|
+
inventory?: {
|
|
2131
|
+
inventory_item_id: string;
|
|
2132
|
+
required_quantity?: string | number | undefined;
|
|
2133
|
+
}[] | undefined;
|
|
2134
|
+
manage_inventory?: boolean | undefined;
|
|
2135
|
+
allow_backorder?: boolean | undefined;
|
|
2136
|
+
sku?: string | undefined;
|
|
2137
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
2138
|
+
inventory_kit?: boolean | undefined;
|
|
2139
|
+
}, {
|
|
2140
|
+
title: string;
|
|
2141
|
+
options: Record<string, string>;
|
|
2142
|
+
inventory?: {
|
|
2143
|
+
inventory_item_id: string;
|
|
2144
|
+
required_quantity?: string | number | undefined;
|
|
2145
|
+
}[] | undefined;
|
|
2146
|
+
manage_inventory?: boolean | undefined;
|
|
2147
|
+
allow_backorder?: boolean | undefined;
|
|
2148
|
+
sku?: string | undefined;
|
|
2149
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
2150
|
+
inventory_kit?: boolean | undefined;
|
|
2151
|
+
}>;
|
|
2152
|
+
|
|
2153
|
+
type CreateProductVariantSchemaType = z.infer<typeof CreateProductVariantSchema>;
|
|
2154
|
+
|
|
2155
|
+
type DetailsTabProps = {
|
|
2156
|
+
product: HttpTypes.AdminProduct;
|
|
2157
|
+
};
|
|
2158
|
+
declare function DetailsTab({ product }: DetailsTabProps): react_jsx_runtime.JSX.Element;
|
|
2159
|
+
declare namespace DetailsTab {
|
|
2160
|
+
var _tabMeta: TabDefinition<{
|
|
2161
|
+
title: string;
|
|
2162
|
+
options: Record<string, string>;
|
|
2163
|
+
inventory?: {
|
|
2164
|
+
inventory_item_id: string;
|
|
2165
|
+
required_quantity?: string | number | undefined;
|
|
2166
|
+
}[] | undefined;
|
|
2167
|
+
manage_inventory?: boolean | undefined;
|
|
2168
|
+
allow_backorder?: boolean | undefined;
|
|
2169
|
+
sku?: string | undefined;
|
|
2170
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
2171
|
+
inventory_kit?: boolean | undefined;
|
|
2172
|
+
}>;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
declare function PricingTab(): react_jsx_runtime.JSX.Element;
|
|
2176
|
+
declare namespace PricingTab {
|
|
2177
|
+
var _tabMeta: TabDefinition<{
|
|
2178
|
+
title: string;
|
|
2179
|
+
options: Record<string, string>;
|
|
2180
|
+
inventory?: {
|
|
2181
|
+
inventory_item_id: string;
|
|
2182
|
+
required_quantity?: string | number | undefined;
|
|
2183
|
+
}[] | undefined;
|
|
2184
|
+
manage_inventory?: boolean | undefined;
|
|
2185
|
+
allow_backorder?: boolean | undefined;
|
|
2186
|
+
sku?: string | undefined;
|
|
2187
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
2188
|
+
inventory_kit?: boolean | undefined;
|
|
2189
|
+
}>;
|
|
2190
|
+
}
|
|
2191
|
+
|
|
2192
|
+
declare function InventoryKitTab(): react_jsx_runtime.JSX.Element;
|
|
2193
|
+
declare namespace InventoryKitTab {
|
|
2194
|
+
var _tabMeta: TabDefinition<{
|
|
2195
|
+
title: string;
|
|
2196
|
+
options: Record<string, string>;
|
|
2197
|
+
inventory?: {
|
|
2198
|
+
inventory_item_id: string;
|
|
2199
|
+
required_quantity?: string | number | undefined;
|
|
2200
|
+
}[] | undefined;
|
|
2201
|
+
manage_inventory?: boolean | undefined;
|
|
2202
|
+
allow_backorder?: boolean | undefined;
|
|
2203
|
+
sku?: string | undefined;
|
|
2204
|
+
prices?: Record<string, string | number | undefined> | undefined;
|
|
2205
|
+
inventory_kit?: boolean | undefined;
|
|
2206
|
+
}>;
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
declare const ProductCreateVariantPage: (({ children }: {
|
|
2210
|
+
children?: ReactNode;
|
|
2211
|
+
}) => react_jsx_runtime.JSX.Element) & {
|
|
2212
|
+
Form: ({ product, children, schema, defaultValues: extraDefaults, }: {
|
|
406
2213
|
product: _medusajs_types.AdminProduct;
|
|
2214
|
+
children?: ReactNode;
|
|
2215
|
+
schema?: zod.ZodType<CreateProductVariantSchemaType>;
|
|
2216
|
+
defaultValues?: react_hook_form.DeepPartial<CreateProductVariantSchemaType>;
|
|
2217
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2218
|
+
DetailsTab: typeof DetailsTab;
|
|
2219
|
+
PricingTab: typeof PricingTab;
|
|
2220
|
+
InventoryKitTab: typeof InventoryKitTab;
|
|
2221
|
+
Tab: ({ children, }: {
|
|
2222
|
+
id: string;
|
|
2223
|
+
label: string;
|
|
2224
|
+
children?: ReactNode;
|
|
407
2225
|
}) => react_jsx_runtime.JSX.Element;
|
|
408
2226
|
};
|
|
409
2227
|
|
|
410
|
-
declare const
|
|
2228
|
+
declare const ProfileDetailPage: (({ children }: {
|
|
411
2229
|
children?: ReactNode;
|
|
412
2230
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
413
2231
|
GeneralSection: ({ user }: {
|
|
@@ -415,27 +2233,665 @@ declare const ProfileDetail: (({ children }: {
|
|
|
415
2233
|
}) => react_jsx_runtime.JSX.Element;
|
|
416
2234
|
};
|
|
417
2235
|
|
|
418
|
-
declare const
|
|
2236
|
+
declare const PromotionListPage: (({ children }: {
|
|
419
2237
|
children?: ReactNode;
|
|
420
2238
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
421
|
-
Table: (
|
|
2239
|
+
Table: ({ children }: {
|
|
2240
|
+
children?: ReactNode;
|
|
2241
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2242
|
+
Header: ({ children }: {
|
|
2243
|
+
children?: ReactNode;
|
|
2244
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2245
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
2246
|
+
HeaderActions: ({ children }: {
|
|
2247
|
+
children?: ReactNode;
|
|
2248
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2249
|
+
HeaderCreateButton: () => react_jsx_runtime.JSX.Element;
|
|
2250
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
422
2251
|
};
|
|
423
2252
|
|
|
424
|
-
declare const
|
|
2253
|
+
declare const PromotionDetailPage: (({ children }: {
|
|
425
2254
|
children?: ReactNode;
|
|
426
2255
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
427
2256
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
428
2257
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
429
|
-
MainGeneralSection: ({ promotion, }: {
|
|
430
|
-
promotion
|
|
431
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
432
|
-
MainConditionsSection: ({ rules, ruleType, applicationMethodTargetType, }: {
|
|
433
|
-
rules
|
|
2258
|
+
MainGeneralSection: ({ promotion: promotionProp, }: {
|
|
2259
|
+
promotion?: _medusajs_types.AdminPromotion;
|
|
2260
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
2261
|
+
MainConditionsSection: ({ rules: rulesProp, ruleType, applicationMethodTargetType, }: {
|
|
2262
|
+
rules?: _medusajs_types.AdminPromotionRule[];
|
|
434
2263
|
ruleType: string;
|
|
435
2264
|
applicationMethodTargetType?: _medusajs_types.ApplicationMethodTargetTypeValues;
|
|
436
2265
|
}) => react_jsx_runtime.JSX.Element;
|
|
437
|
-
SidebarCampaignSection: ({ campaign, }: {
|
|
438
|
-
campaign
|
|
2266
|
+
SidebarCampaignSection: ({ campaign: campaignProp, }: {
|
|
2267
|
+
campaign?: _medusajs_types.AdminCampaign | null;
|
|
2268
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2269
|
+
};
|
|
2270
|
+
|
|
2271
|
+
declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
2272
|
+
template_id: z.ZodOptional<z.ZodString>;
|
|
2273
|
+
campaign_id: z.ZodOptional<z.ZodString>;
|
|
2274
|
+
campaign_choice: z.ZodOptional<z.ZodEnum<["none", "existing", "new"]>>;
|
|
2275
|
+
is_automatic: z.ZodString;
|
|
2276
|
+
code: z.ZodString;
|
|
2277
|
+
type: z.ZodEnum<["buyget", "standard"]>;
|
|
2278
|
+
status: z.ZodEnum<["draft", "active", "inactive"]>;
|
|
2279
|
+
rules: z.ZodArray<z.ZodObject<{
|
|
2280
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2281
|
+
attribute: z.ZodString;
|
|
2282
|
+
operator: z.ZodString;
|
|
2283
|
+
values: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
2284
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2285
|
+
disguised: z.ZodOptional<z.ZodBoolean>;
|
|
2286
|
+
field_type: z.ZodOptional<z.ZodString>;
|
|
2287
|
+
}, "strip", z.ZodTypeAny, {
|
|
2288
|
+
values: string | number | string[];
|
|
2289
|
+
operator: string;
|
|
2290
|
+
attribute: string;
|
|
2291
|
+
id?: string | undefined;
|
|
2292
|
+
required?: boolean | undefined;
|
|
2293
|
+
disguised?: boolean | undefined;
|
|
2294
|
+
field_type?: string | undefined;
|
|
2295
|
+
}, {
|
|
2296
|
+
values: string | number | string[];
|
|
2297
|
+
operator: string;
|
|
2298
|
+
attribute: string;
|
|
2299
|
+
id?: string | undefined;
|
|
2300
|
+
required?: boolean | undefined;
|
|
2301
|
+
disguised?: boolean | undefined;
|
|
2302
|
+
field_type?: string | undefined;
|
|
2303
|
+
}>, "many">;
|
|
2304
|
+
is_tax_inclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2305
|
+
application_method: z.ZodObject<{
|
|
2306
|
+
allocation: z.ZodEnum<["each", "across", "once"]>;
|
|
2307
|
+
value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2308
|
+
currency_code: z.ZodOptional<z.ZodString>;
|
|
2309
|
+
max_quantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
2310
|
+
target_rules: z.ZodArray<z.ZodObject<{
|
|
2311
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2312
|
+
attribute: z.ZodString;
|
|
2313
|
+
operator: z.ZodString;
|
|
2314
|
+
values: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
2315
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2316
|
+
disguised: z.ZodOptional<z.ZodBoolean>;
|
|
2317
|
+
field_type: z.ZodOptional<z.ZodString>;
|
|
2318
|
+
}, "strip", z.ZodTypeAny, {
|
|
2319
|
+
values: string | number | string[];
|
|
2320
|
+
operator: string;
|
|
2321
|
+
attribute: string;
|
|
2322
|
+
id?: string | undefined;
|
|
2323
|
+
required?: boolean | undefined;
|
|
2324
|
+
disguised?: boolean | undefined;
|
|
2325
|
+
field_type?: string | undefined;
|
|
2326
|
+
}, {
|
|
2327
|
+
values: string | number | string[];
|
|
2328
|
+
operator: string;
|
|
2329
|
+
attribute: string;
|
|
2330
|
+
id?: string | undefined;
|
|
2331
|
+
required?: boolean | undefined;
|
|
2332
|
+
disguised?: boolean | undefined;
|
|
2333
|
+
field_type?: string | undefined;
|
|
2334
|
+
}>, "many">;
|
|
2335
|
+
buy_rules: z.ZodArray<z.ZodObject<{
|
|
2336
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2337
|
+
attribute: z.ZodString;
|
|
2338
|
+
operator: z.ZodString;
|
|
2339
|
+
values: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
2340
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2341
|
+
disguised: z.ZodOptional<z.ZodBoolean>;
|
|
2342
|
+
field_type: z.ZodOptional<z.ZodString>;
|
|
2343
|
+
}, "strip", z.ZodTypeAny, {
|
|
2344
|
+
values: string | number | string[];
|
|
2345
|
+
operator: string;
|
|
2346
|
+
attribute: string;
|
|
2347
|
+
id?: string | undefined;
|
|
2348
|
+
required?: boolean | undefined;
|
|
2349
|
+
disguised?: boolean | undefined;
|
|
2350
|
+
field_type?: string | undefined;
|
|
2351
|
+
}, {
|
|
2352
|
+
values: string | number | string[];
|
|
2353
|
+
operator: string;
|
|
2354
|
+
attribute: string;
|
|
2355
|
+
id?: string | undefined;
|
|
2356
|
+
required?: boolean | undefined;
|
|
2357
|
+
disguised?: boolean | undefined;
|
|
2358
|
+
field_type?: string | undefined;
|
|
2359
|
+
}>, "many">;
|
|
2360
|
+
type: z.ZodEnum<["fixed", "percentage"]>;
|
|
2361
|
+
target_type: z.ZodEnum<["order", "shipping_methods", "items"]>;
|
|
2362
|
+
}, "strip", z.ZodTypeAny, {
|
|
2363
|
+
value: string | number;
|
|
2364
|
+
type: "fixed" | "percentage";
|
|
2365
|
+
target_type: "order" | "items" | "shipping_methods";
|
|
2366
|
+
allocation: "once" | "each" | "across";
|
|
2367
|
+
target_rules: {
|
|
2368
|
+
values: string | number | string[];
|
|
2369
|
+
operator: string;
|
|
2370
|
+
attribute: string;
|
|
2371
|
+
id?: string | undefined;
|
|
2372
|
+
required?: boolean | undefined;
|
|
2373
|
+
disguised?: boolean | undefined;
|
|
2374
|
+
field_type?: string | undefined;
|
|
2375
|
+
}[];
|
|
2376
|
+
buy_rules: {
|
|
2377
|
+
values: string | number | string[];
|
|
2378
|
+
operator: string;
|
|
2379
|
+
attribute: string;
|
|
2380
|
+
id?: string | undefined;
|
|
2381
|
+
required?: boolean | undefined;
|
|
2382
|
+
disguised?: boolean | undefined;
|
|
2383
|
+
field_type?: string | undefined;
|
|
2384
|
+
}[];
|
|
2385
|
+
currency_code?: string | undefined;
|
|
2386
|
+
max_quantity?: number | null | undefined;
|
|
2387
|
+
}, {
|
|
2388
|
+
value: string | number;
|
|
2389
|
+
type: "fixed" | "percentage";
|
|
2390
|
+
target_type: "order" | "items" | "shipping_methods";
|
|
2391
|
+
allocation: "once" | "each" | "across";
|
|
2392
|
+
target_rules: {
|
|
2393
|
+
values: string | number | string[];
|
|
2394
|
+
operator: string;
|
|
2395
|
+
attribute: string;
|
|
2396
|
+
id?: string | undefined;
|
|
2397
|
+
required?: boolean | undefined;
|
|
2398
|
+
disguised?: boolean | undefined;
|
|
2399
|
+
field_type?: string | undefined;
|
|
2400
|
+
}[];
|
|
2401
|
+
buy_rules: {
|
|
2402
|
+
values: string | number | string[];
|
|
2403
|
+
operator: string;
|
|
2404
|
+
attribute: string;
|
|
2405
|
+
id?: string | undefined;
|
|
2406
|
+
required?: boolean | undefined;
|
|
2407
|
+
disguised?: boolean | undefined;
|
|
2408
|
+
field_type?: string | undefined;
|
|
2409
|
+
}[];
|
|
2410
|
+
currency_code?: string | undefined;
|
|
2411
|
+
max_quantity?: number | null | undefined;
|
|
2412
|
+
}>;
|
|
2413
|
+
campaign: z.ZodOptional<z.ZodObject<{
|
|
2414
|
+
name: z.ZodString;
|
|
2415
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2416
|
+
campaign_identifier: z.ZodString;
|
|
2417
|
+
starts_at: z.ZodNullable<z.ZodDate>;
|
|
2418
|
+
ends_at: z.ZodNullable<z.ZodDate>;
|
|
2419
|
+
budget: z.ZodObject<{
|
|
2420
|
+
attribute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2421
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2422
|
+
type: z.ZodEnum<["spend", "usage", "use_by_attribute"]>;
|
|
2423
|
+
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2424
|
+
}, "strip", z.ZodTypeAny, {
|
|
2425
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2426
|
+
limit?: number | null | undefined;
|
|
2427
|
+
currency_code?: string | null | undefined;
|
|
2428
|
+
attribute?: string | null | undefined;
|
|
2429
|
+
}, {
|
|
2430
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2431
|
+
limit?: number | null | undefined;
|
|
2432
|
+
currency_code?: string | null | undefined;
|
|
2433
|
+
attribute?: string | null | undefined;
|
|
2434
|
+
}>;
|
|
2435
|
+
}, "strip", z.ZodTypeAny, {
|
|
2436
|
+
name: string;
|
|
2437
|
+
campaign_identifier: string;
|
|
2438
|
+
starts_at: Date | null;
|
|
2439
|
+
ends_at: Date | null;
|
|
2440
|
+
budget: {
|
|
2441
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2442
|
+
limit?: number | null | undefined;
|
|
2443
|
+
currency_code?: string | null | undefined;
|
|
2444
|
+
attribute?: string | null | undefined;
|
|
2445
|
+
};
|
|
2446
|
+
description?: string | undefined;
|
|
2447
|
+
}, {
|
|
2448
|
+
name: string;
|
|
2449
|
+
campaign_identifier: string;
|
|
2450
|
+
starts_at: Date | null;
|
|
2451
|
+
ends_at: Date | null;
|
|
2452
|
+
budget: {
|
|
2453
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2454
|
+
limit?: number | null | undefined;
|
|
2455
|
+
currency_code?: string | null | undefined;
|
|
2456
|
+
attribute?: string | null | undefined;
|
|
2457
|
+
};
|
|
2458
|
+
description?: string | undefined;
|
|
2459
|
+
}>>;
|
|
2460
|
+
}, "strip", z.ZodTypeAny, {
|
|
2461
|
+
code: string;
|
|
2462
|
+
type: "standard" | "buyget";
|
|
2463
|
+
status: "draft" | "active" | "inactive";
|
|
2464
|
+
rules: {
|
|
2465
|
+
values: string | number | string[];
|
|
2466
|
+
operator: string;
|
|
2467
|
+
attribute: string;
|
|
2468
|
+
id?: string | undefined;
|
|
2469
|
+
required?: boolean | undefined;
|
|
2470
|
+
disguised?: boolean | undefined;
|
|
2471
|
+
field_type?: string | undefined;
|
|
2472
|
+
}[];
|
|
2473
|
+
is_automatic: string;
|
|
2474
|
+
application_method: {
|
|
2475
|
+
value: string | number;
|
|
2476
|
+
type: "fixed" | "percentage";
|
|
2477
|
+
target_type: "order" | "items" | "shipping_methods";
|
|
2478
|
+
allocation: "once" | "each" | "across";
|
|
2479
|
+
target_rules: {
|
|
2480
|
+
values: string | number | string[];
|
|
2481
|
+
operator: string;
|
|
2482
|
+
attribute: string;
|
|
2483
|
+
id?: string | undefined;
|
|
2484
|
+
required?: boolean | undefined;
|
|
2485
|
+
disguised?: boolean | undefined;
|
|
2486
|
+
field_type?: string | undefined;
|
|
2487
|
+
}[];
|
|
2488
|
+
buy_rules: {
|
|
2489
|
+
values: string | number | string[];
|
|
2490
|
+
operator: string;
|
|
2491
|
+
attribute: string;
|
|
2492
|
+
id?: string | undefined;
|
|
2493
|
+
required?: boolean | undefined;
|
|
2494
|
+
disguised?: boolean | undefined;
|
|
2495
|
+
field_type?: string | undefined;
|
|
2496
|
+
}[];
|
|
2497
|
+
currency_code?: string | undefined;
|
|
2498
|
+
max_quantity?: number | null | undefined;
|
|
2499
|
+
};
|
|
2500
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2501
|
+
campaign_id?: string | undefined;
|
|
2502
|
+
campaign?: {
|
|
2503
|
+
name: string;
|
|
2504
|
+
campaign_identifier: string;
|
|
2505
|
+
starts_at: Date | null;
|
|
2506
|
+
ends_at: Date | null;
|
|
2507
|
+
budget: {
|
|
2508
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2509
|
+
limit?: number | null | undefined;
|
|
2510
|
+
currency_code?: string | null | undefined;
|
|
2511
|
+
attribute?: string | null | undefined;
|
|
2512
|
+
};
|
|
2513
|
+
description?: string | undefined;
|
|
2514
|
+
} | undefined;
|
|
2515
|
+
template_id?: string | undefined;
|
|
2516
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2517
|
+
}, {
|
|
2518
|
+
code: string;
|
|
2519
|
+
type: "standard" | "buyget";
|
|
2520
|
+
status: "draft" | "active" | "inactive";
|
|
2521
|
+
rules: {
|
|
2522
|
+
values: string | number | string[];
|
|
2523
|
+
operator: string;
|
|
2524
|
+
attribute: string;
|
|
2525
|
+
id?: string | undefined;
|
|
2526
|
+
required?: boolean | undefined;
|
|
2527
|
+
disguised?: boolean | undefined;
|
|
2528
|
+
field_type?: string | undefined;
|
|
2529
|
+
}[];
|
|
2530
|
+
is_automatic: string;
|
|
2531
|
+
application_method: {
|
|
2532
|
+
value: string | number;
|
|
2533
|
+
type: "fixed" | "percentage";
|
|
2534
|
+
target_type: "order" | "items" | "shipping_methods";
|
|
2535
|
+
allocation: "once" | "each" | "across";
|
|
2536
|
+
target_rules: {
|
|
2537
|
+
values: string | number | string[];
|
|
2538
|
+
operator: string;
|
|
2539
|
+
attribute: string;
|
|
2540
|
+
id?: string | undefined;
|
|
2541
|
+
required?: boolean | undefined;
|
|
2542
|
+
disguised?: boolean | undefined;
|
|
2543
|
+
field_type?: string | undefined;
|
|
2544
|
+
}[];
|
|
2545
|
+
buy_rules: {
|
|
2546
|
+
values: string | number | string[];
|
|
2547
|
+
operator: string;
|
|
2548
|
+
attribute: string;
|
|
2549
|
+
id?: string | undefined;
|
|
2550
|
+
required?: boolean | undefined;
|
|
2551
|
+
disguised?: boolean | undefined;
|
|
2552
|
+
field_type?: string | undefined;
|
|
2553
|
+
}[];
|
|
2554
|
+
currency_code?: string | undefined;
|
|
2555
|
+
max_quantity?: number | null | undefined;
|
|
2556
|
+
};
|
|
2557
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2558
|
+
campaign_id?: string | undefined;
|
|
2559
|
+
campaign?: {
|
|
2560
|
+
name: string;
|
|
2561
|
+
campaign_identifier: string;
|
|
2562
|
+
starts_at: Date | null;
|
|
2563
|
+
ends_at: Date | null;
|
|
2564
|
+
budget: {
|
|
2565
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2566
|
+
limit?: number | null | undefined;
|
|
2567
|
+
currency_code?: string | null | undefined;
|
|
2568
|
+
attribute?: string | null | undefined;
|
|
2569
|
+
};
|
|
2570
|
+
description?: string | undefined;
|
|
2571
|
+
} | undefined;
|
|
2572
|
+
template_id?: string | undefined;
|
|
2573
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2574
|
+
}>, {
|
|
2575
|
+
code: string;
|
|
2576
|
+
type: "standard" | "buyget";
|
|
2577
|
+
status: "draft" | "active" | "inactive";
|
|
2578
|
+
rules: {
|
|
2579
|
+
values: string | number | string[];
|
|
2580
|
+
operator: string;
|
|
2581
|
+
attribute: string;
|
|
2582
|
+
id?: string | undefined;
|
|
2583
|
+
required?: boolean | undefined;
|
|
2584
|
+
disguised?: boolean | undefined;
|
|
2585
|
+
field_type?: string | undefined;
|
|
2586
|
+
}[];
|
|
2587
|
+
is_automatic: string;
|
|
2588
|
+
application_method: {
|
|
2589
|
+
value: string | number;
|
|
2590
|
+
type: "fixed" | "percentage";
|
|
2591
|
+
target_type: "order" | "items" | "shipping_methods";
|
|
2592
|
+
allocation: "once" | "each" | "across";
|
|
2593
|
+
target_rules: {
|
|
2594
|
+
values: string | number | string[];
|
|
2595
|
+
operator: string;
|
|
2596
|
+
attribute: string;
|
|
2597
|
+
id?: string | undefined;
|
|
2598
|
+
required?: boolean | undefined;
|
|
2599
|
+
disguised?: boolean | undefined;
|
|
2600
|
+
field_type?: string | undefined;
|
|
2601
|
+
}[];
|
|
2602
|
+
buy_rules: {
|
|
2603
|
+
values: string | number | string[];
|
|
2604
|
+
operator: string;
|
|
2605
|
+
attribute: string;
|
|
2606
|
+
id?: string | undefined;
|
|
2607
|
+
required?: boolean | undefined;
|
|
2608
|
+
disguised?: boolean | undefined;
|
|
2609
|
+
field_type?: string | undefined;
|
|
2610
|
+
}[];
|
|
2611
|
+
currency_code?: string | undefined;
|
|
2612
|
+
max_quantity?: number | null | undefined;
|
|
2613
|
+
};
|
|
2614
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2615
|
+
campaign_id?: string | undefined;
|
|
2616
|
+
campaign?: {
|
|
2617
|
+
name: string;
|
|
2618
|
+
campaign_identifier: string;
|
|
2619
|
+
starts_at: Date | null;
|
|
2620
|
+
ends_at: Date | null;
|
|
2621
|
+
budget: {
|
|
2622
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2623
|
+
limit?: number | null | undefined;
|
|
2624
|
+
currency_code?: string | null | undefined;
|
|
2625
|
+
attribute?: string | null | undefined;
|
|
2626
|
+
};
|
|
2627
|
+
description?: string | undefined;
|
|
2628
|
+
} | undefined;
|
|
2629
|
+
template_id?: string | undefined;
|
|
2630
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2631
|
+
}, {
|
|
2632
|
+
code: string;
|
|
2633
|
+
type: "standard" | "buyget";
|
|
2634
|
+
status: "draft" | "active" | "inactive";
|
|
2635
|
+
rules: {
|
|
2636
|
+
values: string | number | string[];
|
|
2637
|
+
operator: string;
|
|
2638
|
+
attribute: string;
|
|
2639
|
+
id?: string | undefined;
|
|
2640
|
+
required?: boolean | undefined;
|
|
2641
|
+
disguised?: boolean | undefined;
|
|
2642
|
+
field_type?: string | undefined;
|
|
2643
|
+
}[];
|
|
2644
|
+
is_automatic: string;
|
|
2645
|
+
application_method: {
|
|
2646
|
+
value: string | number;
|
|
2647
|
+
type: "fixed" | "percentage";
|
|
2648
|
+
target_type: "order" | "items" | "shipping_methods";
|
|
2649
|
+
allocation: "once" | "each" | "across";
|
|
2650
|
+
target_rules: {
|
|
2651
|
+
values: string | number | string[];
|
|
2652
|
+
operator: string;
|
|
2653
|
+
attribute: string;
|
|
2654
|
+
id?: string | undefined;
|
|
2655
|
+
required?: boolean | undefined;
|
|
2656
|
+
disguised?: boolean | undefined;
|
|
2657
|
+
field_type?: string | undefined;
|
|
2658
|
+
}[];
|
|
2659
|
+
buy_rules: {
|
|
2660
|
+
values: string | number | string[];
|
|
2661
|
+
operator: string;
|
|
2662
|
+
attribute: string;
|
|
2663
|
+
id?: string | undefined;
|
|
2664
|
+
required?: boolean | undefined;
|
|
2665
|
+
disguised?: boolean | undefined;
|
|
2666
|
+
field_type?: string | undefined;
|
|
2667
|
+
}[];
|
|
2668
|
+
currency_code?: string | undefined;
|
|
2669
|
+
max_quantity?: number | null | undefined;
|
|
2670
|
+
};
|
|
2671
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2672
|
+
campaign_id?: string | undefined;
|
|
2673
|
+
campaign?: {
|
|
2674
|
+
name: string;
|
|
2675
|
+
campaign_identifier: string;
|
|
2676
|
+
starts_at: Date | null;
|
|
2677
|
+
ends_at: Date | null;
|
|
2678
|
+
budget: {
|
|
2679
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2680
|
+
limit?: number | null | undefined;
|
|
2681
|
+
currency_code?: string | null | undefined;
|
|
2682
|
+
attribute?: string | null | undefined;
|
|
2683
|
+
};
|
|
2684
|
+
description?: string | undefined;
|
|
2685
|
+
} | undefined;
|
|
2686
|
+
template_id?: string | undefined;
|
|
2687
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2688
|
+
}>;
|
|
2689
|
+
type CreatePromotionSchemaType = z.infer<typeof CreatePromotionSchema>;
|
|
2690
|
+
|
|
2691
|
+
type CreatePromotionFormProps = {
|
|
2692
|
+
children?: ReactNode;
|
|
2693
|
+
schema?: z.ZodType<CreatePromotionSchemaType>;
|
|
2694
|
+
defaultValues?: DeepPartial<CreatePromotionSchemaType>;
|
|
2695
|
+
};
|
|
2696
|
+
declare function CreatePromotionForm({ children, schema, defaultValues: extraDefaults, }: CreatePromotionFormProps): react_jsx_runtime.JSX.Element;
|
|
2697
|
+
|
|
2698
|
+
declare const PromotionCreatePage: (({ children }: {
|
|
2699
|
+
children?: ReactNode;
|
|
2700
|
+
}) => react_jsx_runtime.JSX.Element) & {
|
|
2701
|
+
Form: typeof CreatePromotionForm;
|
|
2702
|
+
TemplateTab: {
|
|
2703
|
+
(): react_jsx_runtime.JSX.Element;
|
|
2704
|
+
_tabMeta: TabDefinition<{
|
|
2705
|
+
code: string;
|
|
2706
|
+
type: "standard" | "buyget";
|
|
2707
|
+
status: "draft" | "active" | "inactive";
|
|
2708
|
+
rules: {
|
|
2709
|
+
values: string | number | string[];
|
|
2710
|
+
operator: string;
|
|
2711
|
+
attribute: string;
|
|
2712
|
+
id?: string | undefined;
|
|
2713
|
+
required?: boolean | undefined;
|
|
2714
|
+
disguised?: boolean | undefined;
|
|
2715
|
+
field_type?: string | undefined;
|
|
2716
|
+
}[];
|
|
2717
|
+
is_automatic: string;
|
|
2718
|
+
application_method: {
|
|
2719
|
+
value: string | number;
|
|
2720
|
+
type: "fixed" | "percentage";
|
|
2721
|
+
target_type: "order" | "items" | "shipping_methods";
|
|
2722
|
+
allocation: "once" | "each" | "across";
|
|
2723
|
+
target_rules: {
|
|
2724
|
+
values: string | number | string[];
|
|
2725
|
+
operator: string;
|
|
2726
|
+
attribute: string;
|
|
2727
|
+
id?: string | undefined;
|
|
2728
|
+
required?: boolean | undefined;
|
|
2729
|
+
disguised?: boolean | undefined;
|
|
2730
|
+
field_type?: string | undefined;
|
|
2731
|
+
}[];
|
|
2732
|
+
buy_rules: {
|
|
2733
|
+
values: string | number | string[];
|
|
2734
|
+
operator: string;
|
|
2735
|
+
attribute: string;
|
|
2736
|
+
id?: string | undefined;
|
|
2737
|
+
required?: boolean | undefined;
|
|
2738
|
+
disguised?: boolean | undefined;
|
|
2739
|
+
field_type?: string | undefined;
|
|
2740
|
+
}[];
|
|
2741
|
+
currency_code?: string | undefined;
|
|
2742
|
+
max_quantity?: number | null | undefined;
|
|
2743
|
+
};
|
|
2744
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2745
|
+
campaign_id?: string | undefined;
|
|
2746
|
+
campaign?: {
|
|
2747
|
+
name: string;
|
|
2748
|
+
campaign_identifier: string;
|
|
2749
|
+
starts_at: Date | null;
|
|
2750
|
+
ends_at: Date | null;
|
|
2751
|
+
budget: {
|
|
2752
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2753
|
+
limit?: number | null | undefined;
|
|
2754
|
+
currency_code?: string | null | undefined;
|
|
2755
|
+
attribute?: string | null | undefined;
|
|
2756
|
+
};
|
|
2757
|
+
description?: string | undefined;
|
|
2758
|
+
} | undefined;
|
|
2759
|
+
template_id?: string | undefined;
|
|
2760
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2761
|
+
}>;
|
|
2762
|
+
};
|
|
2763
|
+
DetailsTab: {
|
|
2764
|
+
({ currentTemplate }: {
|
|
2765
|
+
currentTemplate?: {
|
|
2766
|
+
id: string;
|
|
2767
|
+
title: string;
|
|
2768
|
+
hiddenFields: string[];
|
|
2769
|
+
};
|
|
2770
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2771
|
+
_tabMeta: TabDefinition<{
|
|
2772
|
+
code: string;
|
|
2773
|
+
type: "standard" | "buyget";
|
|
2774
|
+
status: "draft" | "active" | "inactive";
|
|
2775
|
+
rules: {
|
|
2776
|
+
values: string | number | string[];
|
|
2777
|
+
operator: string;
|
|
2778
|
+
attribute: string;
|
|
2779
|
+
id?: string | undefined;
|
|
2780
|
+
required?: boolean | undefined;
|
|
2781
|
+
disguised?: boolean | undefined;
|
|
2782
|
+
field_type?: string | undefined;
|
|
2783
|
+
}[];
|
|
2784
|
+
is_automatic: string;
|
|
2785
|
+
application_method: {
|
|
2786
|
+
value: string | number;
|
|
2787
|
+
type: "fixed" | "percentage";
|
|
2788
|
+
target_type: "order" | "items" | "shipping_methods";
|
|
2789
|
+
allocation: "once" | "each" | "across";
|
|
2790
|
+
target_rules: {
|
|
2791
|
+
values: string | number | string[];
|
|
2792
|
+
operator: string;
|
|
2793
|
+
attribute: string;
|
|
2794
|
+
id?: string | undefined;
|
|
2795
|
+
required?: boolean | undefined;
|
|
2796
|
+
disguised?: boolean | undefined;
|
|
2797
|
+
field_type?: string | undefined;
|
|
2798
|
+
}[];
|
|
2799
|
+
buy_rules: {
|
|
2800
|
+
values: string | number | string[];
|
|
2801
|
+
operator: string;
|
|
2802
|
+
attribute: string;
|
|
2803
|
+
id?: string | undefined;
|
|
2804
|
+
required?: boolean | undefined;
|
|
2805
|
+
disguised?: boolean | undefined;
|
|
2806
|
+
field_type?: string | undefined;
|
|
2807
|
+
}[];
|
|
2808
|
+
currency_code?: string | undefined;
|
|
2809
|
+
max_quantity?: number | null | undefined;
|
|
2810
|
+
};
|
|
2811
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2812
|
+
campaign_id?: string | undefined;
|
|
2813
|
+
campaign?: {
|
|
2814
|
+
name: string;
|
|
2815
|
+
campaign_identifier: string;
|
|
2816
|
+
starts_at: Date | null;
|
|
2817
|
+
ends_at: Date | null;
|
|
2818
|
+
budget: {
|
|
2819
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2820
|
+
limit?: number | null | undefined;
|
|
2821
|
+
currency_code?: string | null | undefined;
|
|
2822
|
+
attribute?: string | null | undefined;
|
|
2823
|
+
};
|
|
2824
|
+
description?: string | undefined;
|
|
2825
|
+
} | undefined;
|
|
2826
|
+
template_id?: string | undefined;
|
|
2827
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2828
|
+
}>;
|
|
2829
|
+
};
|
|
2830
|
+
CampaignTab: {
|
|
2831
|
+
(): react_jsx_runtime.JSX.Element;
|
|
2832
|
+
_tabMeta: TabDefinition<{
|
|
2833
|
+
code: string;
|
|
2834
|
+
type: "standard" | "buyget";
|
|
2835
|
+
status: "draft" | "active" | "inactive";
|
|
2836
|
+
rules: {
|
|
2837
|
+
values: string | number | string[];
|
|
2838
|
+
operator: string;
|
|
2839
|
+
attribute: string;
|
|
2840
|
+
id?: string | undefined;
|
|
2841
|
+
required?: boolean | undefined;
|
|
2842
|
+
disguised?: boolean | undefined;
|
|
2843
|
+
field_type?: string | undefined;
|
|
2844
|
+
}[];
|
|
2845
|
+
is_automatic: string;
|
|
2846
|
+
application_method: {
|
|
2847
|
+
value: string | number;
|
|
2848
|
+
type: "fixed" | "percentage";
|
|
2849
|
+
target_type: "order" | "items" | "shipping_methods";
|
|
2850
|
+
allocation: "once" | "each" | "across";
|
|
2851
|
+
target_rules: {
|
|
2852
|
+
values: string | number | string[];
|
|
2853
|
+
operator: string;
|
|
2854
|
+
attribute: string;
|
|
2855
|
+
id?: string | undefined;
|
|
2856
|
+
required?: boolean | undefined;
|
|
2857
|
+
disguised?: boolean | undefined;
|
|
2858
|
+
field_type?: string | undefined;
|
|
2859
|
+
}[];
|
|
2860
|
+
buy_rules: {
|
|
2861
|
+
values: string | number | string[];
|
|
2862
|
+
operator: string;
|
|
2863
|
+
attribute: string;
|
|
2864
|
+
id?: string | undefined;
|
|
2865
|
+
required?: boolean | undefined;
|
|
2866
|
+
disguised?: boolean | undefined;
|
|
2867
|
+
field_type?: string | undefined;
|
|
2868
|
+
}[];
|
|
2869
|
+
currency_code?: string | undefined;
|
|
2870
|
+
max_quantity?: number | null | undefined;
|
|
2871
|
+
};
|
|
2872
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2873
|
+
campaign_id?: string | undefined;
|
|
2874
|
+
campaign?: {
|
|
2875
|
+
name: string;
|
|
2876
|
+
campaign_identifier: string;
|
|
2877
|
+
starts_at: Date | null;
|
|
2878
|
+
ends_at: Date | null;
|
|
2879
|
+
budget: {
|
|
2880
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2881
|
+
limit?: number | null | undefined;
|
|
2882
|
+
currency_code?: string | null | undefined;
|
|
2883
|
+
attribute?: string | null | undefined;
|
|
2884
|
+
};
|
|
2885
|
+
description?: string | undefined;
|
|
2886
|
+
} | undefined;
|
|
2887
|
+
template_id?: string | undefined;
|
|
2888
|
+
campaign_choice?: "none" | "new" | "existing" | undefined;
|
|
2889
|
+
}>;
|
|
2890
|
+
};
|
|
2891
|
+
Tab: ({ children, }: {
|
|
2892
|
+
id: string;
|
|
2893
|
+
label: string;
|
|
2894
|
+
children?: ReactNode;
|
|
439
2895
|
}) => react_jsx_runtime.JSX.Element;
|
|
440
2896
|
};
|
|
441
2897
|
|
|
@@ -455,13 +2911,23 @@ declare const RefundReasonList: (({ children }: {
|
|
|
455
2911
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
456
2912
|
};
|
|
457
2913
|
|
|
458
|
-
declare const
|
|
2914
|
+
declare const RegionListPage: (({ children }: {
|
|
459
2915
|
children?: ReactNode;
|
|
460
2916
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
461
|
-
Table: (
|
|
2917
|
+
Table: ({ children, }: {
|
|
2918
|
+
children?: ReactNode;
|
|
2919
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2920
|
+
Header: ({ children, }: {
|
|
2921
|
+
children?: ReactNode;
|
|
2922
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2923
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
2924
|
+
HeaderActions: ({ children, }: {
|
|
2925
|
+
children?: ReactNode;
|
|
2926
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2927
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
462
2928
|
};
|
|
463
2929
|
|
|
464
|
-
declare const
|
|
2930
|
+
declare const RegionDetailPage: (({ children }: {
|
|
465
2931
|
children?: ReactNode;
|
|
466
2932
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
467
2933
|
GeneralSection: ({ region, pricePreferences, }: {
|
|
@@ -473,13 +2939,24 @@ declare const RegionDetail: (({ children }: {
|
|
|
473
2939
|
}) => react_jsx_runtime.JSX.Element;
|
|
474
2940
|
};
|
|
475
2941
|
|
|
476
|
-
declare const
|
|
2942
|
+
declare const ReservationListPage: (({ children }: {
|
|
477
2943
|
children?: ReactNode;
|
|
478
2944
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
479
|
-
Table: (
|
|
2945
|
+
Table: ({ children }: {
|
|
2946
|
+
children?: ReactNode;
|
|
2947
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2948
|
+
Header: ({ children }: {
|
|
2949
|
+
children?: ReactNode;
|
|
2950
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2951
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
2952
|
+
HeaderActions: ({ children }: {
|
|
2953
|
+
children?: ReactNode;
|
|
2954
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2955
|
+
HeaderCreateButton: () => react_jsx_runtime.JSX.Element;
|
|
2956
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
480
2957
|
};
|
|
481
2958
|
|
|
482
|
-
declare const
|
|
2959
|
+
declare const ReservationDetailPage: (({ children }: {
|
|
483
2960
|
children?: ReactNode;
|
|
484
2961
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
485
2962
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
@@ -498,13 +2975,23 @@ declare const ReturnReasonList: (({ children }: {
|
|
|
498
2975
|
Table: () => react_jsx_runtime.JSX.Element;
|
|
499
2976
|
};
|
|
500
2977
|
|
|
501
|
-
declare const
|
|
2978
|
+
declare const SalesChannelListPage: (({ children }: {
|
|
502
2979
|
children?: ReactNode;
|
|
503
2980
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
504
|
-
Table: (
|
|
2981
|
+
Table: ({ children, }: {
|
|
2982
|
+
children?: ReactNode;
|
|
2983
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2984
|
+
Header: ({ children, }: {
|
|
2985
|
+
children?: ReactNode;
|
|
2986
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2987
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
2988
|
+
HeaderActions: ({ children, }: {
|
|
2989
|
+
children?: ReactNode;
|
|
2990
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2991
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
505
2992
|
};
|
|
506
2993
|
|
|
507
|
-
declare const
|
|
2994
|
+
declare const SalesChannelDetailPage: (({ children }: {
|
|
508
2995
|
children?: ReactNode;
|
|
509
2996
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
510
2997
|
GeneralSection: ({ salesChannel, }: {
|
|
@@ -515,7 +3002,7 @@ declare const SalesChannelDetail: (({ children }: {
|
|
|
515
3002
|
}) => react_jsx_runtime.JSX.Element;
|
|
516
3003
|
};
|
|
517
3004
|
|
|
518
|
-
declare const
|
|
3005
|
+
declare const SellerListPage: (({ children }: {
|
|
519
3006
|
children?: ReactNode;
|
|
520
3007
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
521
3008
|
Table: ({ children }: {
|
|
@@ -531,13 +3018,42 @@ declare const SellersList: (({ children }: {
|
|
|
531
3018
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
532
3019
|
};
|
|
533
3020
|
|
|
534
|
-
declare const
|
|
3021
|
+
declare const SellerDetailPage: (({ children }: {
|
|
535
3022
|
children?: ReactNode;
|
|
536
3023
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
537
|
-
|
|
3024
|
+
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
3025
|
+
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
3026
|
+
MainGeneralSection: ({ seller, }: {
|
|
3027
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3028
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
3029
|
+
MainOrderSection: ({ sellerId }: {
|
|
3030
|
+
sellerId: string;
|
|
3031
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
3032
|
+
MainProductSection: ({ sellerId }: {
|
|
3033
|
+
sellerId: string;
|
|
3034
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
3035
|
+
SidebarAddressSection: ({ seller, }: {
|
|
3036
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3037
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
3038
|
+
};
|
|
3039
|
+
|
|
3040
|
+
declare const ShippingOptionTypeListPage: (({ children }: {
|
|
3041
|
+
children?: ReactNode;
|
|
3042
|
+
}) => react_jsx_runtime.JSX.Element) & {
|
|
3043
|
+
Table: ({ children, }: {
|
|
3044
|
+
children?: ReactNode;
|
|
3045
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
3046
|
+
Header: ({ children, }: {
|
|
3047
|
+
children?: ReactNode;
|
|
3048
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
3049
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
3050
|
+
HeaderActions: ({ children, }: {
|
|
3051
|
+
children?: ReactNode;
|
|
3052
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
3053
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
538
3054
|
};
|
|
539
3055
|
|
|
540
|
-
declare const
|
|
3056
|
+
declare const ShippingOptionTypeDetailPage: (({ children }: {
|
|
541
3057
|
children?: ReactNode;
|
|
542
3058
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
543
3059
|
GeneralSection: ({ shippingOptionType, }: {
|
|
@@ -545,13 +3061,23 @@ declare const ShippingOptionTypeDetail: (({ children }: {
|
|
|
545
3061
|
}) => react_jsx_runtime.JSX.Element;
|
|
546
3062
|
};
|
|
547
3063
|
|
|
548
|
-
declare const
|
|
3064
|
+
declare const ShippingProfileListPage: (({ children }: {
|
|
549
3065
|
children?: ReactNode;
|
|
550
3066
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
551
|
-
Table: (
|
|
3067
|
+
Table: ({ children, }: {
|
|
3068
|
+
children?: ReactNode;
|
|
3069
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
3070
|
+
Header: ({ children, }: {
|
|
3071
|
+
children?: ReactNode;
|
|
3072
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
3073
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
3074
|
+
HeaderActions: ({ children, }: {
|
|
3075
|
+
children?: ReactNode;
|
|
3076
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
3077
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
552
3078
|
};
|
|
553
3079
|
|
|
554
|
-
declare const
|
|
3080
|
+
declare const ShippingProfileDetailPage: (({ children }: {
|
|
555
3081
|
children?: ReactNode;
|
|
556
3082
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
557
3083
|
GeneralSection: ({ profile, }: {
|
|
@@ -559,10 +3085,10 @@ declare const ShippingProfileDetail: (({ children }: {
|
|
|
559
3085
|
}) => react_jsx_runtime.JSX.Element;
|
|
560
3086
|
};
|
|
561
3087
|
|
|
562
|
-
declare const
|
|
3088
|
+
declare const TaxRegionListPage: (({ children }: {
|
|
563
3089
|
children?: ReactNode;
|
|
564
3090
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
565
|
-
Table: ({ children }: {
|
|
3091
|
+
Table: ({ children, }: {
|
|
566
3092
|
children?: ReactNode;
|
|
567
3093
|
}) => react_jsx_runtime.JSX.Element;
|
|
568
3094
|
Header: ({ children, }: {
|
|
@@ -579,7 +3105,7 @@ declare function TaxRegionProviderSection({ taxRegion, }: {
|
|
|
579
3105
|
taxRegion: HttpTypes.AdminTaxRegion;
|
|
580
3106
|
}): react_jsx_runtime.JSX.Element;
|
|
581
3107
|
|
|
582
|
-
declare const
|
|
3108
|
+
declare const TaxRegionDetailPage: (({ children }: {
|
|
583
3109
|
children?: ReactNode;
|
|
584
3110
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
585
3111
|
SublevelAlert: ({ taxRegion, showSublevelRegions, setShowSublevelRegions, }: {
|
|
@@ -600,7 +3126,7 @@ declare const TaxRegionDetail$1: (({ children }: {
|
|
|
600
3126
|
ProviderSection: typeof TaxRegionProviderSection;
|
|
601
3127
|
};
|
|
602
3128
|
|
|
603
|
-
declare const
|
|
3129
|
+
declare const TaxRegionProvinceDetailPage: (({ children }: {
|
|
604
3130
|
children?: ReactNode;
|
|
605
3131
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
606
3132
|
DetailSection: ({ taxRegion, }: {
|
|
@@ -611,7 +3137,7 @@ declare const TaxRegionDetail: (({ children }: {
|
|
|
611
3137
|
}) => react_jsx_runtime.JSX.Element;
|
|
612
3138
|
};
|
|
613
3139
|
|
|
614
|
-
declare const
|
|
3140
|
+
declare const UserListPage: (({ children }: {
|
|
615
3141
|
children?: ReactNode;
|
|
616
3142
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
617
3143
|
Table: ({ children }: {
|
|
@@ -627,7 +3153,7 @@ declare const UserList: (({ children }: {
|
|
|
627
3153
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
628
3154
|
};
|
|
629
3155
|
|
|
630
|
-
declare const
|
|
3156
|
+
declare const UserDetailPage: (({ children }: {
|
|
631
3157
|
children?: ReactNode;
|
|
632
3158
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
633
3159
|
GeneralSection: ({ user }: {
|
|
@@ -635,4 +3161,4 @@ declare const UserDetail: (({ children }: {
|
|
|
635
3161
|
}) => react_jsx_runtime.JSX.Element;
|
|
636
3162
|
};
|
|
637
3163
|
|
|
638
|
-
export {
|
|
3164
|
+
export { ApiKeyManagementDetailPage, ApiKeyManagementListPage, CampaignDetailPage, CampaignListPage, CategoryCreatePage, CategoryDetailPage, CategoryListPage, CollectionDetailPage, CollectionListPage, CommissionRateDetailPage, CommissionRateListPage, CreateCategorySchema, CreateInventoryItemSchema, CreateProductVariantSchema, CreatePromotionSchema, CreateShippingOptionSchema, CustomerDetailPage, CustomerGroupDetailPage, CustomerGroupListPage, CustomerListPage, InventoryCreatePage, InventoryDetailPage, InventoryListPage, LocationDetailPage, LocationListPage, MarketplaceDetailPage, OrderDetailPage, OrderListPage, PayoutDetailPage, PayoutListPage, PriceListCreatePage, PriceListDetailPage, PriceListListPage, PriceListPricesAddPage, PriceListPricesAddSchema, PricingCreateSchema, ProductCreatePage, ProductCreateSchema, ProductCreateVariantPage, ProductDetailPage, ProductListPage, ProductTagDetailPage, ProductTagListPage, ProductTypeDetailPage, ProductTypeListPage, ProductVariantDetailPage, ProfileDetailPage, PromotionCreatePage, PromotionDetailPage, PromotionListPage, RefundReasonList, RegionDetailPage, RegionListPage, ReservationDetailPage, ReservationListPage, ReturnReasonList, SalesChannelDetailPage, SalesChannelListPage, SellerDetailPage, SellerListPage, ShippingOptionCreatePage, ShippingOptionTypeDetailPage, ShippingOptionTypeListPage, ShippingProfileDetailPage, ShippingProfileListPage, TaxRegionDetailPage, TaxRegionListPage, TaxRegionProvinceDetailPage, UserDetailPage, UserListPage };
|