@compassdigital/sdk.typescript 4.617.0 → 4.619.0

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.
@@ -919,7 +919,6 @@ export interface ConsumerDiscountDTO {
919
919
  is?: ConsumerDiscountIs;
920
920
  meta?: ConsumerDiscountMeta;
921
921
  channelConfig: ConsumerDiscountChannelConfig;
922
- appliesTo: Record<string, any>;
923
922
  type: Record<string, any>;
924
923
  }
925
924
  export interface ConsumerMenuHours {
@@ -1321,7 +1320,14 @@ export interface ConsumerItem {
1321
1320
  primary?: string;
1322
1321
  secondary?: string;
1323
1322
  };
1323
+ jde_category?: string;
1324
1324
  };
1325
+ parent_id?: string;
1326
+ menu_labels?: {
1327
+ id?: string;
1328
+ text?: string;
1329
+ s3_link?: string;
1330
+ }[];
1325
1331
  is_deleted?: boolean;
1326
1332
  is?: {
1327
1333
  disabled?: boolean;
@@ -1357,33 +1363,6 @@ export interface GetMenuItemNutritionValueConsumer {
1357
1363
  export interface GetMenuItemNutritionConsumer {
1358
1364
  calories?: GetMenuItemNutritionValueConsumer;
1359
1365
  }
1360
- export interface Certified {
1361
- vegan?: boolean;
1362
- vegetarian?: boolean;
1363
- seafood_watch?: boolean;
1364
- wellbeing?: boolean;
1365
- farm_to_fork?: boolean;
1366
- in_balance?: boolean;
1367
- organic?: boolean;
1368
- no_gluten_ingredients?: boolean;
1369
- halal?: boolean;
1370
- kosher?: boolean;
1371
- humane?: boolean;
1372
- locally_crafted?: boolean;
1373
- nuts?: boolean;
1374
- oracle_garden_grown?: boolean;
1375
- oracle_oyes?: boolean;
1376
- peanut_free?: boolean;
1377
- tree_nut_free?: boolean;
1378
- wheat_free?: boolean;
1379
- non_gmo?: boolean;
1380
- milk_free?: boolean;
1381
- egg_free?: boolean;
1382
- soy_free?: boolean;
1383
- fair_trade?: boolean;
1384
- rainforest_alliance?: boolean;
1385
- salt_free?: boolean;
1386
- }
1387
1366
  export interface GetMenuOptionNutritionConsumer {
1388
1367
  calories?: GetMenuItemNutritionValueConsumer;
1389
1368
  total_fat?: GetMenuItemNutritionValueConsumer;
@@ -1405,6 +1384,14 @@ export interface GetMenuItemOptionSizingConsumer {
1405
1384
  export interface GetMenuItemOptionMetaConsumer {
1406
1385
  sizing?: GetMenuItemOptionSizingConsumer[];
1407
1386
  }
1387
+ export interface GetMenuItemImageSizesConsumer {
1388
+ original?: string;
1389
+ thumbnail_80_80?: string;
1390
+ }
1391
+ export interface GetMenuItemImageConsumer {
1392
+ src?: string;
1393
+ sizes?: GetMenuItemImageSizesConsumer;
1394
+ }
1408
1395
  export interface GetMenuItemOptionConsumer {
1409
1396
  id?: string;
1410
1397
  label?: GetMenuItemLabelConsumer;
@@ -1435,14 +1422,6 @@ export interface GetMenuItemMetaConsumer {
1435
1422
  barcodes?: string[];
1436
1423
  recipe?: GetMenuItemRecipeConsumer;
1437
1424
  }
1438
- export interface GetMenuItemImageSizesConsumer {
1439
- original?: string;
1440
- thumbnail_80_80?: string;
1441
- }
1442
- export interface GetMenuItemImageConsumer {
1443
- src?: string;
1444
- sizes?: GetMenuItemImageSizesConsumer;
1445
- }
1446
1425
  export interface GetMenuItemIsConsumer {
1447
1426
  out_of_stock?: boolean;
1448
1427
  }
@@ -2624,6 +2603,311 @@ export interface GetConsumerLocationResponse {
2624
2603
  locations?: ConsumerLocation[];
2625
2604
  address?: ConsumerAddress;
2626
2605
  }
2606
+ export interface GetMenuItemNutritionValueConsumerV2 {
2607
+ amount?: number;
2608
+ unit?: string;
2609
+ display?: string;
2610
+ }
2611
+ export interface GetMenuItemNutritionConsumerV2 {
2612
+ kcal?: number;
2613
+ calories?: GetMenuItemNutritionValueConsumerV2;
2614
+ serving_size?: GetMenuItemNutritionValueConsumerV2;
2615
+ total_fat?: GetMenuItemNutritionValueConsumerV2;
2616
+ saturated_fat?: GetMenuItemNutritionValueConsumerV2;
2617
+ trans_fat?: GetMenuItemNutritionValueConsumerV2;
2618
+ cholesterol?: GetMenuItemNutritionValueConsumerV2;
2619
+ sodium?: GetMenuItemNutritionValueConsumerV2;
2620
+ total_carbohydrate?: GetMenuItemNutritionValueConsumerV2;
2621
+ dietary_fiber?: GetMenuItemNutritionValueConsumerV2;
2622
+ sugars?: GetMenuItemNutritionValueConsumerV2;
2623
+ total_sugars?: GetMenuItemNutritionValueConsumerV2;
2624
+ protein?: GetMenuItemNutritionValueConsumerV2;
2625
+ well_being?: GetMenuItemNutritionValueConsumerV2;
2626
+ }
2627
+ export interface GetMenuOptionNutritionConsumerV2 {
2628
+ calories?: GetMenuItemNutritionValueConsumerV2;
2629
+ total_fat?: GetMenuItemNutritionValueConsumerV2;
2630
+ saturated_fat?: GetMenuItemNutritionValueConsumerV2;
2631
+ total_carbohydrate?: GetMenuItemNutritionValueConsumerV2;
2632
+ total_sugars?: GetMenuItemNutritionValueConsumerV2;
2633
+ protein?: GetMenuItemNutritionValueConsumerV2;
2634
+ dietary_fiber?: GetMenuItemNutritionValueConsumerV2;
2635
+ sodium?: GetMenuItemNutritionValueConsumerV2;
2636
+ trans_fat?: GetMenuItemNutritionValueConsumerV2;
2637
+ cholesterol?: GetMenuItemNutritionValueConsumerV2;
2638
+ added_sugars?: GetMenuItemNutritionValueConsumerV2;
2639
+ }
2640
+ export interface GetMenuItemPriceConsumerV2 {
2641
+ amount?: number;
2642
+ currency?: string;
2643
+ total_price?: number;
2644
+ discount?: number;
2645
+ }
2646
+ export interface GetMenuItemImageSizesConsumerV2 {
2647
+ original?: string;
2648
+ thumbnail_80_80?: string;
2649
+ }
2650
+ export interface GetMenuItemImageConsumerV2 {
2651
+ src?: string;
2652
+ sizes?: GetMenuItemImageSizesConsumerV2;
2653
+ }
2654
+ export interface GetMenuItemCertifiedConsumerV2 {
2655
+ vegan?: boolean;
2656
+ vegetarian?: boolean;
2657
+ seafood_watch?: boolean;
2658
+ wellbeing?: boolean;
2659
+ farm_to_fork?: boolean;
2660
+ in_balance?: boolean;
2661
+ organic?: boolean;
2662
+ no_gluten_ingredients?: boolean;
2663
+ halal?: boolean;
2664
+ kosher?: boolean;
2665
+ humane?: boolean;
2666
+ locally_crafted?: boolean;
2667
+ nuts?: boolean;
2668
+ oracle_garden_grown?: boolean;
2669
+ oracle_oyes?: boolean;
2670
+ peanut_free?: boolean;
2671
+ tree_nut_free?: boolean;
2672
+ wheat_free?: boolean;
2673
+ non_gmo?: boolean;
2674
+ milk_free?: boolean;
2675
+ egg_free?: boolean;
2676
+ soy_free?: boolean;
2677
+ fair_trade?: boolean;
2678
+ rainforest_alliance?: boolean;
2679
+ salt_free?: boolean;
2680
+ }
2681
+ export interface GetMenuItemReportingConsumerV2 {
2682
+ category?: {
2683
+ primary?: string;
2684
+ secondary?: string;
2685
+ };
2686
+ jde_category?: string;
2687
+ }
2688
+ export interface GetMenuItemIsConsumerV2 {
2689
+ disabled?: boolean;
2690
+ hidden?: boolean;
2691
+ meq_eligible?: boolean;
2692
+ out_of_stock?: boolean;
2693
+ deleted?: boolean;
2694
+ featured?: boolean;
2695
+ }
2696
+ export interface GetMenuItemMenuLabelConsumerV2 {
2697
+ id?: string;
2698
+ text?: string;
2699
+ s3_link?: string;
2700
+ }
2701
+ export interface GetMenuItemOptionMetaConsumerV2 {
2702
+ sizing?: {
2703
+ name?: string;
2704
+ posid?: string;
2705
+ price?: number;
2706
+ }[];
2707
+ sort_number?: number;
2708
+ menu_sort_number?: number;
2709
+ unique_id?: number;
2710
+ tax?: {
2711
+ tax_tag_code?: string;
2712
+ };
2713
+ }
2714
+ export interface GetMenuItemOptionIsConsumerV2 {
2715
+ disabled?: boolean;
2716
+ hidden?: boolean;
2717
+ out_of_stock?: boolean;
2718
+ }
2719
+ export interface GetMenuItemOptionConsumerV2 {
2720
+ id?: string;
2721
+ label?: {
2722
+ en?: string;
2723
+ };
2724
+ name?: string;
2725
+ description?: {
2726
+ en?: string;
2727
+ };
2728
+ price?: GetMenuItemPriceConsumerV2;
2729
+ nutrition?: GetMenuOptionNutritionConsumerV2;
2730
+ meta?: GetMenuItemOptionMetaConsumerV2;
2731
+ image?: GetMenuItemImageConsumerV2;
2732
+ certified?: GetMenuItemCertifiedConsumerV2;
2733
+ is?: GetMenuItemOptionIsConsumerV2;
2734
+ reporting?: GetMenuItemReportingConsumerV2;
2735
+ sku?: number;
2736
+ weight?: {
2737
+ unit?: string;
2738
+ amount?: number;
2739
+ };
2740
+ line_route?: string;
2741
+ amount_off_exclusions?: string[];
2742
+ }
2743
+ export interface GetMenuItemGroupIsConsumerV2 {
2744
+ incremental?: boolean;
2745
+ }
2746
+ export interface GetMenuItemGroupMetaConsumerV2 {
2747
+ order_type?: 'selection' | 'option' | 'quantity';
2748
+ sort_number?: number;
2749
+ menu_sort_number?: number;
2750
+ surcharge_limit_value?: number;
2751
+ }
2752
+ export interface GetMenuItemOptionsGroupConsumerV2 {
2753
+ id?: string;
2754
+ label?: {
2755
+ en?: string;
2756
+ };
2757
+ items?: GetMenuItemOptionConsumerV2[];
2758
+ min?: number;
2759
+ max?: number;
2760
+ is?: GetMenuItemGroupIsConsumerV2;
2761
+ meta?: GetMenuItemGroupMetaConsumerV2;
2762
+ }
2763
+ export interface GetMenuItemRecipeConsumerV2 {
2764
+ smart_tags?: string[];
2765
+ allergen_tags?: string[];
2766
+ mrn?: string;
2767
+ unit_id?: string;
2768
+ portion_quantity?: number;
2769
+ portion_unit_name?: string;
2770
+ grams?: number;
2771
+ cost?: number;
2772
+ ingredients?: string[];
2773
+ }
2774
+ export interface GetMenuItemMetaConsumerV2 {
2775
+ barcodes?: string[];
2776
+ recipe?: GetMenuItemRecipeConsumerV2;
2777
+ superplate?: {
2778
+ type_id?: number;
2779
+ type?: string;
2780
+ };
2781
+ sort_number?: number;
2782
+ menu_sort_number?: number;
2783
+ unique_id?: number;
2784
+ tax?: {
2785
+ tax_tag_code?: string;
2786
+ tax_jwo_code?: string;
2787
+ tax_rate?: number;
2788
+ tax_amount?: number;
2789
+ };
2790
+ }
2791
+ export interface GetMenuItemConsumerV2 {
2792
+ id?: string;
2793
+ label?: {
2794
+ en?: string;
2795
+ };
2796
+ name?: string;
2797
+ description?: {
2798
+ en?: string;
2799
+ };
2800
+ price?: GetMenuItemPriceConsumerV2;
2801
+ meal_value?: number;
2802
+ sale_price?: GetMenuItemPriceConsumerV2;
2803
+ unit?: number;
2804
+ sku?: number;
2805
+ item_number?: number;
2806
+ parent_id?: string;
2807
+ location?: string;
2808
+ line_route?: string;
2809
+ weight?: {
2810
+ unit?: string;
2811
+ amount?: number;
2812
+ };
2813
+ category?: {
2814
+ en?: string;
2815
+ };
2816
+ ingredients?: Record<string, any>[];
2817
+ amount_off_exclusions?: string[];
2818
+ nutrition?: GetMenuItemNutritionConsumerV2;
2819
+ certified?: GetMenuItemCertifiedConsumerV2;
2820
+ options?: GetMenuItemOptionsGroupConsumerV2[];
2821
+ meta?: GetMenuItemMetaConsumerV2;
2822
+ image?: GetMenuItemImageConsumerV2;
2823
+ is?: GetMenuItemIsConsumerV2;
2824
+ menu_labels?: GetMenuItemMenuLabelConsumerV2[];
2825
+ reporting?: GetMenuItemReportingConsumerV2;
2826
+ }
2827
+ export interface GetMenuGroupConsumerV2 {
2828
+ id: string;
2829
+ label?: {
2830
+ en?: string;
2831
+ fr?: string;
2832
+ };
2833
+ items?: GetMenuItemConsumerV2[];
2834
+ }
2835
+ export interface GetMenuIsConsumerV2 {
2836
+ disabled?: boolean;
2837
+ hidden?: boolean;
2838
+ linked?: boolean;
2839
+ promo_exemptions_enabled?: boolean;
2840
+ plu_enabled?: boolean;
2841
+ item_images_enabled?: boolean;
2842
+ item_showcase_enabled?: boolean;
2843
+ item_desc_edit_enabled?: boolean;
2844
+ calories_edit_enabled?: boolean;
2845
+ item_label_edit_enabled?: boolean;
2846
+ frictionless?: boolean;
2847
+ category_images_enabled?: boolean;
2848
+ }
2849
+ export interface GetMenuMetaConsumerV2 {
2850
+ locked_by_user?: string;
2851
+ last_modified_user?: string;
2852
+ centricos?: boolean;
2853
+ version?: number;
2854
+ revision?: string;
2855
+ }
2856
+ export interface GetMenuDateConsumerV2 {
2857
+ created?: string;
2858
+ modified?: string;
2859
+ published?: string;
2860
+ }
2861
+ export interface GetMenuImageSizesConsumerV2 {
2862
+ original?: string;
2863
+ thumbnail_80_80?: string;
2864
+ }
2865
+ export interface GetMenuImageConsumerV2 {
2866
+ src?: string;
2867
+ sizes?: GetMenuImageSizesConsumerV2;
2868
+ }
2869
+ export interface GetMenuResponseConsumerV2 {
2870
+ id: string;
2871
+ label?: {
2872
+ en?: string;
2873
+ };
2874
+ groups?: GetMenuGroupConsumerV2[];
2875
+ parent_id?: string;
2876
+ location_brand?: string;
2877
+ company?: string;
2878
+ sector?: string;
2879
+ date?: GetMenuDateConsumerV2;
2880
+ is?: GetMenuIsConsumerV2;
2881
+ meta?: GetMenuMetaConsumerV2;
2882
+ image?: GetMenuImageConsumerV2;
2883
+ }
2884
+ export interface Certified {
2885
+ vegan?: boolean;
2886
+ vegetarian?: boolean;
2887
+ seafood_watch?: boolean;
2888
+ wellbeing?: boolean;
2889
+ farm_to_fork?: boolean;
2890
+ in_balance?: boolean;
2891
+ organic?: boolean;
2892
+ no_gluten_ingredients?: boolean;
2893
+ halal?: boolean;
2894
+ kosher?: boolean;
2895
+ humane?: boolean;
2896
+ locally_crafted?: boolean;
2897
+ nuts?: boolean;
2898
+ oracle_garden_grown?: boolean;
2899
+ oracle_oyes?: boolean;
2900
+ peanut_free?: boolean;
2901
+ tree_nut_free?: boolean;
2902
+ wheat_free?: boolean;
2903
+ non_gmo?: boolean;
2904
+ milk_free?: boolean;
2905
+ egg_free?: boolean;
2906
+ soy_free?: boolean;
2907
+ fair_trade?: boolean;
2908
+ rainforest_alliance?: boolean;
2909
+ salt_free?: boolean;
2910
+ }
2627
2911
  export type HealthCheckControllerExecuteResponse = {};
2628
2912
  export interface GetPaymentListByBrandQuery {
2629
2913
  brandID?: string;
@@ -3005,4 +3289,8 @@ export interface GetConsumerLocationQuery {
3005
3289
  active_cafes?: string[];
3006
3290
  }
3007
3291
  export type GetConsumerLocationResponse$0 = GetConsumerLocationResponse;
3292
+ export interface GetConsumerMenuV2Path {
3293
+ id: string;
3294
+ }
3295
+ export type GetConsumerMenuV2Response = GetMenuResponseConsumerV2;
3008
3296
  //# sourceMappingURL=consumer.d.ts.map