@feedmepos/mf-menu 0.31.40-prod → 0.31.41-prod
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/{App-aWEH-ZEk.js → App-5Lzy8zHZ.js} +8 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-jJyinQZl.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BnKXsQH-.js} +3 -3
- package/dist/{Catalog-BoFfFdn8.js → Catalog-s5b8V8nw.js} +8 -9
- package/dist/{Category-CWYbb3Jn.js → Category-BJzScJEY.js} +4 -4
- package/dist/{Category-DZ45uikR.js → Category-DZ-xqIMI.js} +6 -6
- package/dist/{CookingGuide-BU0PRWIQ.js → CookingGuide-Bkd6GPww.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Z5xsKDIE.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-B8tIjKOW.js} +1 -1
- package/dist/{Group-BMQDeqiS.js → Group-0b2Qiov3.js} +1 -1
- package/dist/{Group-C0T_uknK.js → Group-BOaCcKiI.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DyfmY6F1.js → Group.vue_vue_type_script_setup_true_lang-DUlUfMAs.js} +8 -8
- package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CouimeC4.js +399 -0
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Dl-Wvt3D.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DOvQmbrZ.js} +13 -14
- package/dist/{Ingredient-3lwDUQx_.js → Ingredient-ChcYUvOg.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-VLrrTkSC.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DE1HkipX.js} +2 -2
- package/dist/LinkProductSideSheet-BdzBGYxG.js +361 -0
- package/dist/MenuSetting-zAAttaoA.js +618 -0
- package/dist/{PrintRoute-DfJ-vUAb.js → PrintRoute-T-vuO5N8.js} +4 -4
- package/dist/{Product-F4PoLm9v.js → Product-B5q291VF.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DT5gffpA.js → Product.vue_vue_type_script_setup_true_lang-DLRlT10W.js} +468 -465
- package/dist/{ProductInternalTools-DSGU-OqU.js → ProductInternalTools-BOlc0VUR.js} +5 -5
- package/dist/{Products-COzW2Z4g.js → Products-Cd4Mqhm3.js} +88 -85
- package/dist/{Publish-CDXVWCk2.js → Publish-SuRzt-_D.js} +3 -3
- package/dist/{Recipe-BZx4wrcP.js → Recipe-BKrjNs5g.js} +4 -4
- package/dist/{Scheduler-wHCWSeU2.js → Scheduler-DnDgImLC.js} +3 -3
- package/dist/{ServingSequence-BbYEhDYh.js → ServingSequence-D602bVnm.js} +3 -3
- package/dist/{Setting-C9Tlw1Iy.js → Setting-FMT4oBYH.js} +44 -45
- package/dist/{Subcategory-C8AwfrKb.js → Subcategory-CpYmjAvA.js} +4 -4
- package/dist/{Takeaway-t1053wg2.js → Takeaway-BXh3iuME.js} +1 -1
- package/dist/{Takeaway-DaEUn-yM.js → Takeaway-D4hjN5z5.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-7XycP5fU.js → Takeaway.vue_vue_type_script_setup_true_lang-By1f-FCO.js} +5 -5
- package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-CZUwa5C_.js +440 -0
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Ci6iqOry.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DfjtfcCh.js} +604 -600
- package/dist/{Unit-CnqptGCz.js → Unit-CsjHkV-h.js} +2 -2
- package/dist/{Variant-DiOYOwJs.js → Variant-Djra14ZX.js} +3 -3
- package/dist/{_id_-BSfU16VO.js → _id_-BXkqoCzB.js} +78 -75
- package/dist/{app-Ddb81PNo.js → app-CVqWWV4x.js} +278 -278
- package/dist/{LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js → app-CiBqmBzO.js} +2120 -2084
- package/dist/{app-Cou6qPF2.js → app-PhBJNss_.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/api/menu.d.ts +2 -1
- package/dist/apps/mf-menu/src/app.d.ts +144 -0
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierRuleEditor.vue.d.ts +36 -0
- package/dist/apps/mf-menu/src/components/feature/RestaurantAttributesSelector.vue.d.ts +9 -3
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +294 -4
- package/dist/apps/mf-menu/src/composable/attributes.d.ts +26 -0
- package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +40 -0
- package/dist/apps/mf-menu/src/helper/import-export.d.ts +285 -0
- package/dist/apps/mf-menu/src/helper/menu.d.ts +285 -0
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +285 -0
- package/dist/apps/mf-menu/src/stores/menu.d.ts +293 -3
- package/dist/apps/mf-menu/src/utils/array.d.ts +1 -0
- package/dist/apps/mf-menu/src/utils/customAttributes.d.ts +12 -0
- package/dist/apps/mf-menu/src/views/MenuSetting/LinkProductRuleGroups.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/MenuSetting/RuleGroupSideSheet.vue.d.ts +176 -0
- package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +166 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-WlVAcpRn.js +13 -0
- package/dist/assets/override-menu-__h4D7ac.js +13 -0
- package/dist/assets/validate-menu-DyPuzLRg.js +13 -0
- package/dist/{catalog-DSuJhsUb.js → catalog-C_TuQLxq.js} +1 -1
- package/dist/{catalogSetting-C3gEw9ov.js → catalogSetting-BUlJu6hG.js} +1 -1
- package/dist/{category-CwWq3KCE.js → category-CmVw1Kj-.js} +1 -1
- package/dist/{currency-g45Sh-t6.js → currency-OhOTnAqk.js} +1 -1
- package/dist/customAttributes-fpOfmGnw.js +180 -0
- package/dist/{dayjs.min-g3eN5z-V.js → dayjs.min-CDhP-7L5.js} +1 -1
- package/dist/{index-QsLFbxyG.js → index-BJZEWB5C.js} +4 -4
- package/dist/{index-BLQCYEc6.js → index-DHAYGEPp.js} +7 -8
- package/dist/{index-0yRUi7LL.js → index-DtwHmS38.js} +1 -1
- package/dist/index-N3cGc8ex.js +245 -0
- package/dist/{item-BvvQ9urP.js → item-BELLphR0.js} +16 -16
- package/dist/{jszip.min-DzdUiaR4.js → jszip.min-CZtcGb7A.js} +353 -353
- package/dist/{menu-QrVg2Ph7.js → menu-Csyr6W9A.js} +7 -7
- package/dist/{menu-DFNvhoNQ.js → menu-DS_ERmBf.js} +23355 -23206
- package/dist/{menuV2-Ezf_jW40.js → menuV2-DKzAZ4Ss.js} +151 -146
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-zENsn3P_.js → priceTier-CYWS5lDS.js} +1 -1
- package/dist/{scheduler-BuwGSv6A.js → scheduler-DI5dXC7Y.js} +8 -8
- package/dist/{subcategory-O3L_zCJA.js → subcategory-D_ao-IV9.js} +2 -2
- package/dist/{toExcel-CpRy_4nG.js → toExcel-Cml-rkJQ.js} +2 -2
- package/dist/{unit-Ct_7Hfa2.js → unit-BWDp2LkV.js} +42 -41
- package/package.json +3 -3
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js +0 -50
- package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D6qro5w_.js +0 -367
- package/dist/LinkProductSideSheet-LDZjKX95.js +0 -297
- package/dist/MenuSetting-AhutsCVy.js +0 -185
- package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-B7oLH9cP.js +0 -431
- package/dist/assets/linked-status-B_crHhZH.js +0 -24
- package/dist/assets/override-menu-BmlCEpHH.js +0 -24
- package/dist/assets/validate-menu-CF-psoB-.js +0 -24
- package/dist/index-0Q5T9VZV.js +0 -214
|
@@ -2357,25 +2357,82 @@ export declare function fixMenu(menu: FdoMenuV4): z.infer<z.ZodObject<{
|
|
|
2357
2357
|
usePriceTiers: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2358
2358
|
priceTierRules: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2359
2359
|
priceTier: z.ZodString;
|
|
2360
|
+
restaurantRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2361
|
+
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
2362
|
+
restaurantCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
2363
|
+
}, "strip", z.ZodTypeAny, {
|
|
2364
|
+
restaurantAttributes?: any;
|
|
2365
|
+
restaurantCustomAttributes?: any;
|
|
2366
|
+
}, {
|
|
2367
|
+
restaurantAttributes?: any;
|
|
2368
|
+
restaurantCustomAttributes?: any;
|
|
2369
|
+
}>>>;
|
|
2360
2370
|
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
2361
2371
|
}, "strip", z.ZodTypeAny, {
|
|
2362
2372
|
restaurantAttributes?: any;
|
|
2373
|
+
restaurantRule?: {
|
|
2374
|
+
restaurantAttributes?: any;
|
|
2375
|
+
restaurantCustomAttributes?: any;
|
|
2376
|
+
} | null | undefined;
|
|
2363
2377
|
priceTier: string;
|
|
2364
2378
|
}, {
|
|
2365
2379
|
restaurantAttributes?: any;
|
|
2380
|
+
restaurantRule?: {
|
|
2381
|
+
restaurantAttributes?: any;
|
|
2382
|
+
restaurantCustomAttributes?: any;
|
|
2383
|
+
} | null | undefined;
|
|
2366
2384
|
priceTier: string;
|
|
2367
2385
|
}>, "many">>>;
|
|
2368
2386
|
linkItemRules: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2369
2387
|
orderFrom: z.ZodEnum<["ALL", "POS_ONLY", "NONE"]>;
|
|
2388
|
+
ruleGroupIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2389
|
+
restaurantRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2390
|
+
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
2391
|
+
restaurantCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
2392
|
+
}, "strip", z.ZodTypeAny, {
|
|
2393
|
+
restaurantAttributes?: any;
|
|
2394
|
+
restaurantCustomAttributes?: any;
|
|
2395
|
+
}, {
|
|
2396
|
+
restaurantAttributes?: any;
|
|
2397
|
+
restaurantCustomAttributes?: any;
|
|
2398
|
+
}>>>;
|
|
2399
|
+
itemRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2400
|
+
itemAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
2401
|
+
itemCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
2402
|
+
}, "strip", z.ZodTypeAny, {
|
|
2403
|
+
itemAttributes?: any;
|
|
2404
|
+
itemCustomAttributes?: any;
|
|
2405
|
+
}, {
|
|
2406
|
+
itemAttributes?: any;
|
|
2407
|
+
itemCustomAttributes?: any;
|
|
2408
|
+
}>>>;
|
|
2370
2409
|
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
2371
2410
|
itemAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
2372
2411
|
}, "strip", z.ZodTypeAny, {
|
|
2373
2412
|
restaurantAttributes?: any;
|
|
2374
2413
|
itemAttributes?: any;
|
|
2414
|
+
restaurantRule?: {
|
|
2415
|
+
restaurantAttributes?: any;
|
|
2416
|
+
restaurantCustomAttributes?: any;
|
|
2417
|
+
} | null | undefined;
|
|
2418
|
+
ruleGroupIds?: string[] | null | undefined;
|
|
2419
|
+
itemRule?: {
|
|
2420
|
+
itemAttributes?: any;
|
|
2421
|
+
itemCustomAttributes?: any;
|
|
2422
|
+
} | null | undefined;
|
|
2375
2423
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
2376
2424
|
}, {
|
|
2377
2425
|
restaurantAttributes?: any;
|
|
2378
2426
|
itemAttributes?: any;
|
|
2427
|
+
restaurantRule?: {
|
|
2428
|
+
restaurantAttributes?: any;
|
|
2429
|
+
restaurantCustomAttributes?: any;
|
|
2430
|
+
} | null | undefined;
|
|
2431
|
+
ruleGroupIds?: string[] | null | undefined;
|
|
2432
|
+
itemRule?: {
|
|
2433
|
+
itemAttributes?: any;
|
|
2434
|
+
itemCustomAttributes?: any;
|
|
2435
|
+
} | null | undefined;
|
|
2379
2436
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
2380
2437
|
}>, "many">>>;
|
|
2381
2438
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2448,11 +2505,24 @@ export declare function fixMenu(menu: FdoMenuV4): z.infer<z.ZodObject<{
|
|
|
2448
2505
|
usePriceTiers?: string[] | null | undefined;
|
|
2449
2506
|
priceTierRules?: {
|
|
2450
2507
|
restaurantAttributes?: any;
|
|
2508
|
+
restaurantRule?: {
|
|
2509
|
+
restaurantAttributes?: any;
|
|
2510
|
+
restaurantCustomAttributes?: any;
|
|
2511
|
+
} | null | undefined;
|
|
2451
2512
|
priceTier: string;
|
|
2452
2513
|
}[] | null | undefined;
|
|
2453
2514
|
linkItemRules?: {
|
|
2454
2515
|
restaurantAttributes?: any;
|
|
2455
2516
|
itemAttributes?: any;
|
|
2517
|
+
restaurantRule?: {
|
|
2518
|
+
restaurantAttributes?: any;
|
|
2519
|
+
restaurantCustomAttributes?: any;
|
|
2520
|
+
} | null | undefined;
|
|
2521
|
+
ruleGroupIds?: string[] | null | undefined;
|
|
2522
|
+
itemRule?: {
|
|
2523
|
+
itemAttributes?: any;
|
|
2524
|
+
itemCustomAttributes?: any;
|
|
2525
|
+
} | null | undefined;
|
|
2456
2526
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
2457
2527
|
}[] | null | undefined;
|
|
2458
2528
|
name: string;
|
|
@@ -2668,11 +2738,24 @@ export declare function fixMenu(menu: FdoMenuV4): z.infer<z.ZodObject<{
|
|
|
2668
2738
|
usePriceTiers?: string[] | null | undefined;
|
|
2669
2739
|
priceTierRules?: {
|
|
2670
2740
|
restaurantAttributes?: any;
|
|
2741
|
+
restaurantRule?: {
|
|
2742
|
+
restaurantAttributes?: any;
|
|
2743
|
+
restaurantCustomAttributes?: any;
|
|
2744
|
+
} | null | undefined;
|
|
2671
2745
|
priceTier: string;
|
|
2672
2746
|
}[] | null | undefined;
|
|
2673
2747
|
linkItemRules?: {
|
|
2674
2748
|
restaurantAttributes?: any;
|
|
2675
2749
|
itemAttributes?: any;
|
|
2750
|
+
restaurantRule?: {
|
|
2751
|
+
restaurantAttributes?: any;
|
|
2752
|
+
restaurantCustomAttributes?: any;
|
|
2753
|
+
} | null | undefined;
|
|
2754
|
+
ruleGroupIds?: string[] | null | undefined;
|
|
2755
|
+
itemRule?: {
|
|
2756
|
+
itemAttributes?: any;
|
|
2757
|
+
itemCustomAttributes?: any;
|
|
2758
|
+
} | null | undefined;
|
|
2676
2759
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
2677
2760
|
}[] | null | undefined;
|
|
2678
2761
|
name: string;
|
|
@@ -5969,11 +6052,24 @@ export declare function fixMenu(menu: FdoMenuV4): z.infer<z.ZodObject<{
|
|
|
5969
6052
|
usePriceTiers?: string[] | null | undefined;
|
|
5970
6053
|
priceTierRules?: {
|
|
5971
6054
|
restaurantAttributes?: any;
|
|
6055
|
+
restaurantRule?: {
|
|
6056
|
+
restaurantAttributes?: any;
|
|
6057
|
+
restaurantCustomAttributes?: any;
|
|
6058
|
+
} | null | undefined;
|
|
5972
6059
|
priceTier: string;
|
|
5973
6060
|
}[] | null | undefined;
|
|
5974
6061
|
linkItemRules?: {
|
|
5975
6062
|
restaurantAttributes?: any;
|
|
5976
6063
|
itemAttributes?: any;
|
|
6064
|
+
restaurantRule?: {
|
|
6065
|
+
restaurantAttributes?: any;
|
|
6066
|
+
restaurantCustomAttributes?: any;
|
|
6067
|
+
} | null | undefined;
|
|
6068
|
+
ruleGroupIds?: string[] | null | undefined;
|
|
6069
|
+
itemRule?: {
|
|
6070
|
+
itemAttributes?: any;
|
|
6071
|
+
itemCustomAttributes?: any;
|
|
6072
|
+
} | null | undefined;
|
|
5977
6073
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
5978
6074
|
}[] | null | undefined;
|
|
5979
6075
|
name: string;
|
|
@@ -6652,11 +6748,24 @@ export declare function fixMenu(menu: FdoMenuV4): z.infer<z.ZodObject<{
|
|
|
6652
6748
|
usePriceTiers?: string[] | null | undefined;
|
|
6653
6749
|
priceTierRules?: {
|
|
6654
6750
|
restaurantAttributes?: any;
|
|
6751
|
+
restaurantRule?: {
|
|
6752
|
+
restaurantAttributes?: any;
|
|
6753
|
+
restaurantCustomAttributes?: any;
|
|
6754
|
+
} | null | undefined;
|
|
6655
6755
|
priceTier: string;
|
|
6656
6756
|
}[] | null | undefined;
|
|
6657
6757
|
linkItemRules?: {
|
|
6658
6758
|
restaurantAttributes?: any;
|
|
6659
6759
|
itemAttributes?: any;
|
|
6760
|
+
restaurantRule?: {
|
|
6761
|
+
restaurantAttributes?: any;
|
|
6762
|
+
restaurantCustomAttributes?: any;
|
|
6763
|
+
} | null | undefined;
|
|
6764
|
+
ruleGroupIds?: string[] | null | undefined;
|
|
6765
|
+
itemRule?: {
|
|
6766
|
+
itemAttributes?: any;
|
|
6767
|
+
itemCustomAttributes?: any;
|
|
6768
|
+
} | null | undefined;
|
|
6660
6769
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
6661
6770
|
}[] | null | undefined;
|
|
6662
6771
|
name: string;
|
|
@@ -6958,6 +7067,120 @@ export declare function fixMenu(menu: FdoMenuV4): z.infer<z.ZodObject<{
|
|
|
6958
7067
|
}, {
|
|
6959
7068
|
key: string;
|
|
6960
7069
|
}>, "many">>>;
|
|
7070
|
+
ruleGroupSettings: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7071
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
7072
|
+
_id: z.ZodString;
|
|
7073
|
+
name: z.ZodString;
|
|
7074
|
+
description: z.ZodString;
|
|
7075
|
+
rules: z.ZodArray<z.ZodObject<{
|
|
7076
|
+
_id: z.ZodString;
|
|
7077
|
+
restaurantRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7078
|
+
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
7079
|
+
restaurantCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
7080
|
+
}, "strip", z.ZodTypeAny, {
|
|
7081
|
+
restaurantAttributes?: any;
|
|
7082
|
+
restaurantCustomAttributes?: any;
|
|
7083
|
+
}, {
|
|
7084
|
+
restaurantAttributes?: any;
|
|
7085
|
+
restaurantCustomAttributes?: any;
|
|
7086
|
+
}>>>;
|
|
7087
|
+
itemRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7088
|
+
itemAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
7089
|
+
itemCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
7090
|
+
}, "strip", z.ZodTypeAny, {
|
|
7091
|
+
itemAttributes?: any;
|
|
7092
|
+
itemCustomAttributes?: any;
|
|
7093
|
+
}, {
|
|
7094
|
+
itemAttributes?: any;
|
|
7095
|
+
itemCustomAttributes?: any;
|
|
7096
|
+
}>>>;
|
|
7097
|
+
}, "strip", z.ZodTypeAny, {
|
|
7098
|
+
restaurantRule?: {
|
|
7099
|
+
restaurantAttributes?: any;
|
|
7100
|
+
restaurantCustomAttributes?: any;
|
|
7101
|
+
} | null | undefined;
|
|
7102
|
+
itemRule?: {
|
|
7103
|
+
itemAttributes?: any;
|
|
7104
|
+
itemCustomAttributes?: any;
|
|
7105
|
+
} | null | undefined;
|
|
7106
|
+
_id: string;
|
|
7107
|
+
}, {
|
|
7108
|
+
restaurantRule?: {
|
|
7109
|
+
restaurantAttributes?: any;
|
|
7110
|
+
restaurantCustomAttributes?: any;
|
|
7111
|
+
} | null | undefined;
|
|
7112
|
+
itemRule?: {
|
|
7113
|
+
itemAttributes?: any;
|
|
7114
|
+
itemCustomAttributes?: any;
|
|
7115
|
+
} | null | undefined;
|
|
7116
|
+
_id: string;
|
|
7117
|
+
}>, "many">;
|
|
7118
|
+
}, "strip", z.ZodTypeAny, {
|
|
7119
|
+
name: string;
|
|
7120
|
+
description: string;
|
|
7121
|
+
_id: string;
|
|
7122
|
+
rules: {
|
|
7123
|
+
restaurantRule?: {
|
|
7124
|
+
restaurantAttributes?: any;
|
|
7125
|
+
restaurantCustomAttributes?: any;
|
|
7126
|
+
} | null | undefined;
|
|
7127
|
+
itemRule?: {
|
|
7128
|
+
itemAttributes?: any;
|
|
7129
|
+
itemCustomAttributes?: any;
|
|
7130
|
+
} | null | undefined;
|
|
7131
|
+
_id: string;
|
|
7132
|
+
}[];
|
|
7133
|
+
}, {
|
|
7134
|
+
name: string;
|
|
7135
|
+
description: string;
|
|
7136
|
+
_id: string;
|
|
7137
|
+
rules: {
|
|
7138
|
+
restaurantRule?: {
|
|
7139
|
+
restaurantAttributes?: any;
|
|
7140
|
+
restaurantCustomAttributes?: any;
|
|
7141
|
+
} | null | undefined;
|
|
7142
|
+
itemRule?: {
|
|
7143
|
+
itemAttributes?: any;
|
|
7144
|
+
itemCustomAttributes?: any;
|
|
7145
|
+
} | null | undefined;
|
|
7146
|
+
_id: string;
|
|
7147
|
+
}[];
|
|
7148
|
+
}>, "many">;
|
|
7149
|
+
}, "strip", z.ZodTypeAny, {
|
|
7150
|
+
groups: {
|
|
7151
|
+
name: string;
|
|
7152
|
+
description: string;
|
|
7153
|
+
_id: string;
|
|
7154
|
+
rules: {
|
|
7155
|
+
restaurantRule?: {
|
|
7156
|
+
restaurantAttributes?: any;
|
|
7157
|
+
restaurantCustomAttributes?: any;
|
|
7158
|
+
} | null | undefined;
|
|
7159
|
+
itemRule?: {
|
|
7160
|
+
itemAttributes?: any;
|
|
7161
|
+
itemCustomAttributes?: any;
|
|
7162
|
+
} | null | undefined;
|
|
7163
|
+
_id: string;
|
|
7164
|
+
}[];
|
|
7165
|
+
}[];
|
|
7166
|
+
}, {
|
|
7167
|
+
groups: {
|
|
7168
|
+
name: string;
|
|
7169
|
+
description: string;
|
|
7170
|
+
_id: string;
|
|
7171
|
+
rules: {
|
|
7172
|
+
restaurantRule?: {
|
|
7173
|
+
restaurantAttributes?: any;
|
|
7174
|
+
restaurantCustomAttributes?: any;
|
|
7175
|
+
} | null | undefined;
|
|
7176
|
+
itemRule?: {
|
|
7177
|
+
itemAttributes?: any;
|
|
7178
|
+
itemCustomAttributes?: any;
|
|
7179
|
+
} | null | undefined;
|
|
7180
|
+
_id: string;
|
|
7181
|
+
}[];
|
|
7182
|
+
}[];
|
|
7183
|
+
}>>>;
|
|
6961
7184
|
lowStockThreshold: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
6962
7185
|
}, "strip", z.ZodTypeAny, {
|
|
6963
7186
|
updatedAt?: string | null | undefined;
|
|
@@ -6978,6 +7201,24 @@ export declare function fixMenu(menu: FdoMenuV4): z.infer<z.ZodObject<{
|
|
|
6978
7201
|
priceTierSettings?: {
|
|
6979
7202
|
key: string;
|
|
6980
7203
|
}[] | null | undefined;
|
|
7204
|
+
ruleGroupSettings?: {
|
|
7205
|
+
groups: {
|
|
7206
|
+
name: string;
|
|
7207
|
+
description: string;
|
|
7208
|
+
_id: string;
|
|
7209
|
+
rules: {
|
|
7210
|
+
restaurantRule?: {
|
|
7211
|
+
restaurantAttributes?: any;
|
|
7212
|
+
restaurantCustomAttributes?: any;
|
|
7213
|
+
} | null | undefined;
|
|
7214
|
+
itemRule?: {
|
|
7215
|
+
itemAttributes?: any;
|
|
7216
|
+
itemCustomAttributes?: any;
|
|
7217
|
+
} | null | undefined;
|
|
7218
|
+
_id: string;
|
|
7219
|
+
}[];
|
|
7220
|
+
}[];
|
|
7221
|
+
} | null | undefined;
|
|
6981
7222
|
_id: string;
|
|
6982
7223
|
modules: {
|
|
6983
7224
|
subCategory?: {
|
|
@@ -7406,11 +7647,24 @@ export declare function fixMenu(menu: FdoMenuV4): z.infer<z.ZodObject<{
|
|
|
7406
7647
|
usePriceTiers?: string[] | null | undefined;
|
|
7407
7648
|
priceTierRules?: {
|
|
7408
7649
|
restaurantAttributes?: any;
|
|
7650
|
+
restaurantRule?: {
|
|
7651
|
+
restaurantAttributes?: any;
|
|
7652
|
+
restaurantCustomAttributes?: any;
|
|
7653
|
+
} | null | undefined;
|
|
7409
7654
|
priceTier: string;
|
|
7410
7655
|
}[] | null | undefined;
|
|
7411
7656
|
linkItemRules?: {
|
|
7412
7657
|
restaurantAttributes?: any;
|
|
7413
7658
|
itemAttributes?: any;
|
|
7659
|
+
restaurantRule?: {
|
|
7660
|
+
restaurantAttributes?: any;
|
|
7661
|
+
restaurantCustomAttributes?: any;
|
|
7662
|
+
} | null | undefined;
|
|
7663
|
+
ruleGroupIds?: string[] | null | undefined;
|
|
7664
|
+
itemRule?: {
|
|
7665
|
+
itemAttributes?: any;
|
|
7666
|
+
itemCustomAttributes?: any;
|
|
7667
|
+
} | null | undefined;
|
|
7414
7668
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
7415
7669
|
}[] | null | undefined;
|
|
7416
7670
|
name: string;
|
|
@@ -7682,6 +7936,24 @@ export declare function fixMenu(menu: FdoMenuV4): z.infer<z.ZodObject<{
|
|
|
7682
7936
|
priceTierSettings?: {
|
|
7683
7937
|
key: string;
|
|
7684
7938
|
}[] | null | undefined;
|
|
7939
|
+
ruleGroupSettings?: {
|
|
7940
|
+
groups: {
|
|
7941
|
+
name: string;
|
|
7942
|
+
description: string;
|
|
7943
|
+
_id: string;
|
|
7944
|
+
rules: {
|
|
7945
|
+
restaurantRule?: {
|
|
7946
|
+
restaurantAttributes?: any;
|
|
7947
|
+
restaurantCustomAttributes?: any;
|
|
7948
|
+
} | null | undefined;
|
|
7949
|
+
itemRule?: {
|
|
7950
|
+
itemAttributes?: any;
|
|
7951
|
+
itemCustomAttributes?: any;
|
|
7952
|
+
} | null | undefined;
|
|
7953
|
+
_id: string;
|
|
7954
|
+
}[];
|
|
7955
|
+
}[];
|
|
7956
|
+
} | null | undefined;
|
|
7685
7957
|
_id: string;
|
|
7686
7958
|
modules: {
|
|
7687
7959
|
subCategory?: {
|
|
@@ -8110,11 +8382,24 @@ export declare function fixMenu(menu: FdoMenuV4): z.infer<z.ZodObject<{
|
|
|
8110
8382
|
usePriceTiers?: string[] | null | undefined;
|
|
8111
8383
|
priceTierRules?: {
|
|
8112
8384
|
restaurantAttributes?: any;
|
|
8385
|
+
restaurantRule?: {
|
|
8386
|
+
restaurantAttributes?: any;
|
|
8387
|
+
restaurantCustomAttributes?: any;
|
|
8388
|
+
} | null | undefined;
|
|
8113
8389
|
priceTier: string;
|
|
8114
8390
|
}[] | null | undefined;
|
|
8115
8391
|
linkItemRules?: {
|
|
8116
8392
|
restaurantAttributes?: any;
|
|
8117
8393
|
itemAttributes?: any;
|
|
8394
|
+
restaurantRule?: {
|
|
8395
|
+
restaurantAttributes?: any;
|
|
8396
|
+
restaurantCustomAttributes?: any;
|
|
8397
|
+
} | null | undefined;
|
|
8398
|
+
ruleGroupIds?: string[] | null | undefined;
|
|
8399
|
+
itemRule?: {
|
|
8400
|
+
itemAttributes?: any;
|
|
8401
|
+
itemCustomAttributes?: any;
|
|
8402
|
+
} | null | undefined;
|
|
8118
8403
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
8119
8404
|
}[] | null | undefined;
|
|
8120
8405
|
name: string;
|