@compassdigital/sdk.typescript 4.621.0 → 4.622.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.
@@ -1444,6 +1444,33 @@ export interface GetMenuItemNutritionValueConsumer {
1444
1444
  export interface GetMenuItemNutritionConsumer {
1445
1445
  calories?: GetMenuItemNutritionValueConsumer;
1446
1446
  }
1447
+ export interface Certified {
1448
+ vegan?: boolean;
1449
+ vegetarian?: boolean;
1450
+ seafood_watch?: boolean;
1451
+ wellbeing?: boolean;
1452
+ farm_to_fork?: boolean;
1453
+ in_balance?: boolean;
1454
+ organic?: boolean;
1455
+ no_gluten_ingredients?: boolean;
1456
+ halal?: boolean;
1457
+ kosher?: boolean;
1458
+ humane?: boolean;
1459
+ locally_crafted?: boolean;
1460
+ nuts?: boolean;
1461
+ oracle_garden_grown?: boolean;
1462
+ oracle_oyes?: boolean;
1463
+ peanut_free?: boolean;
1464
+ tree_nut_free?: boolean;
1465
+ wheat_free?: boolean;
1466
+ non_gmo?: boolean;
1467
+ milk_free?: boolean;
1468
+ egg_free?: boolean;
1469
+ soy_free?: boolean;
1470
+ fair_trade?: boolean;
1471
+ rainforest_alliance?: boolean;
1472
+ salt_free?: boolean;
1473
+ }
1447
1474
  export interface GetMenuOptionNutritionConsumer {
1448
1475
  calories?: GetMenuItemNutritionValueConsumer;
1449
1476
  total_fat?: GetMenuItemNutritionValueConsumer;
@@ -1465,14 +1492,6 @@ export interface GetMenuItemOptionSizingConsumer {
1465
1492
  export interface GetMenuItemOptionMetaConsumer {
1466
1493
  sizing?: GetMenuItemOptionSizingConsumer[];
1467
1494
  }
1468
- export interface GetMenuItemImageSizesConsumer {
1469
- original?: string;
1470
- thumbnail_80_80?: string;
1471
- }
1472
- export interface GetMenuItemImageConsumer {
1473
- src?: string;
1474
- sizes?: GetMenuItemImageSizesConsumer;
1475
- }
1476
1495
  export interface GetMenuItemOptionConsumer {
1477
1496
  id?: string;
1478
1497
  label?: GetMenuItemLabelConsumer;
@@ -1503,6 +1522,14 @@ export interface GetMenuItemMetaConsumer {
1503
1522
  barcodes?: string[];
1504
1523
  recipe?: GetMenuItemRecipeConsumer;
1505
1524
  }
1525
+ export interface GetMenuItemImageSizesConsumer {
1526
+ original?: string;
1527
+ thumbnail_80_80?: string;
1528
+ }
1529
+ export interface GetMenuItemImageConsumer {
1530
+ src?: string;
1531
+ sizes?: GetMenuItemImageSizesConsumer;
1532
+ }
1506
1533
  export interface GetMenuItemIsConsumer {
1507
1534
  out_of_stock?: boolean;
1508
1535
  }
@@ -1538,6 +1565,280 @@ export interface GetMenuResponseConsumer {
1538
1565
  groups?: GetMenuGroupConsumer[];
1539
1566
  parent_id?: string;
1540
1567
  }
1568
+ export interface GetMenuLabelConsumerV2 {
1569
+ en?: string;
1570
+ }
1571
+ export interface GetMenuGroupLabelConsumerV2 {
1572
+ en?: string;
1573
+ fr?: string;
1574
+ }
1575
+ export interface GetMenuItemLabelConsumerV2 {
1576
+ en?: string;
1577
+ }
1578
+ export interface GetMenuItemPriceConsumerV2 {
1579
+ amount?: number;
1580
+ currency?: string;
1581
+ total_price?: number;
1582
+ discount?: number;
1583
+ }
1584
+ export interface GetMenuItemNutritionValueConsumerV2 {
1585
+ amount?: number;
1586
+ unit?: string;
1587
+ display?: string;
1588
+ }
1589
+ export interface GetMenuItemNutritionConsumerV2 {
1590
+ kcal?: number;
1591
+ calories?: GetMenuItemNutritionValueConsumerV2;
1592
+ serving_size?: GetMenuItemNutritionValueConsumerV2;
1593
+ total_fat?: GetMenuItemNutritionValueConsumerV2;
1594
+ saturated_fat?: GetMenuItemNutritionValueConsumerV2;
1595
+ trans_fat?: GetMenuItemNutritionValueConsumerV2;
1596
+ cholesterol?: GetMenuItemNutritionValueConsumerV2;
1597
+ sodium?: GetMenuItemNutritionValueConsumerV2;
1598
+ total_carbohydrate?: GetMenuItemNutritionValueConsumerV2;
1599
+ dietary_fiber?: GetMenuItemNutritionValueConsumerV2;
1600
+ sugars?: GetMenuItemNutritionValueConsumerV2;
1601
+ total_sugars?: GetMenuItemNutritionValueConsumerV2;
1602
+ protein?: GetMenuItemNutritionValueConsumerV2;
1603
+ well_being?: GetMenuItemNutritionValueConsumerV2;
1604
+ }
1605
+ export interface GetMenuItemCertifiedConsumerV2 {
1606
+ vegan?: boolean;
1607
+ vegetarian?: boolean;
1608
+ seafood_watch?: boolean;
1609
+ wellbeing?: boolean;
1610
+ farm_to_fork?: boolean;
1611
+ in_balance?: boolean;
1612
+ organic?: boolean;
1613
+ no_gluten_ingredients?: boolean;
1614
+ halal?: boolean;
1615
+ kosher?: boolean;
1616
+ humane?: boolean;
1617
+ locally_crafted?: boolean;
1618
+ nuts?: boolean;
1619
+ oracle_garden_grown?: boolean;
1620
+ oracle_oyes?: boolean;
1621
+ peanut_free?: boolean;
1622
+ tree_nut_free?: boolean;
1623
+ wheat_free?: boolean;
1624
+ non_gmo?: boolean;
1625
+ milk_free?: boolean;
1626
+ egg_free?: boolean;
1627
+ soy_free?: boolean;
1628
+ fair_trade?: boolean;
1629
+ rainforest_alliance?: boolean;
1630
+ salt_free?: boolean;
1631
+ }
1632
+ export interface GetMenuOptionNutritionConsumerV2 {
1633
+ calories?: GetMenuItemNutritionValueConsumerV2;
1634
+ total_fat?: GetMenuItemNutritionValueConsumerV2;
1635
+ saturated_fat?: GetMenuItemNutritionValueConsumerV2;
1636
+ total_carbohydrate?: GetMenuItemNutritionValueConsumerV2;
1637
+ total_sugars?: GetMenuItemNutritionValueConsumerV2;
1638
+ protein?: GetMenuItemNutritionValueConsumerV2;
1639
+ dietary_fiber?: GetMenuItemNutritionValueConsumerV2;
1640
+ sodium?: GetMenuItemNutritionValueConsumerV2;
1641
+ trans_fat?: GetMenuItemNutritionValueConsumerV2;
1642
+ cholesterol?: GetMenuItemNutritionValueConsumerV2;
1643
+ added_sugars?: GetMenuItemNutritionValueConsumerV2;
1644
+ }
1645
+ export interface GetMenuItemOptionSizingConsumerV2 {
1646
+ name?: string;
1647
+ posid?: string;
1648
+ price?: number;
1649
+ }
1650
+ export interface GetMenuItemOptionMetaConsumerV2 {
1651
+ sizing?: GetMenuItemOptionSizingConsumerV2[];
1652
+ sort_number?: number;
1653
+ menu_sort_number?: number;
1654
+ unique_id?: number;
1655
+ tax?: {
1656
+ tax_tag_code?: string;
1657
+ };
1658
+ }
1659
+ export interface GetMenuItemImageSizesConsumerV2 {
1660
+ original?: string;
1661
+ thumbnail_80_80?: string;
1662
+ }
1663
+ export interface GetMenuItemImageConsumerV2 {
1664
+ src?: string;
1665
+ sizes?: GetMenuItemImageSizesConsumerV2;
1666
+ }
1667
+ export interface GetMenuItemOptionIsConsumerV2 {
1668
+ disabled?: boolean;
1669
+ hidden?: boolean;
1670
+ out_of_stock?: boolean;
1671
+ }
1672
+ export interface GetMenuItemReportingConsumerV2 {
1673
+ category?: {
1674
+ primary?: string;
1675
+ secondary?: string;
1676
+ };
1677
+ jde_category?: string;
1678
+ }
1679
+ export interface GetMenuItemOptionConsumerV2 {
1680
+ id?: string;
1681
+ label?: GetMenuItemLabelConsumerV2;
1682
+ name?: string;
1683
+ description?: GetMenuItemLabelConsumerV2;
1684
+ price?: GetMenuItemPriceConsumerV2;
1685
+ nutrition?: GetMenuOptionNutritionConsumerV2;
1686
+ meta?: GetMenuItemOptionMetaConsumerV2;
1687
+ image?: GetMenuItemImageConsumerV2;
1688
+ certified?: GetMenuItemCertifiedConsumerV2;
1689
+ is?: GetMenuItemOptionIsConsumerV2;
1690
+ reporting?: GetMenuItemReportingConsumerV2;
1691
+ sku?: number;
1692
+ weight?: {
1693
+ unit?: string;
1694
+ amount?: number;
1695
+ };
1696
+ line_route?: string;
1697
+ amount_off_exclusions?: string[];
1698
+ }
1699
+ export interface GetMenuItemGroupIsConsumerV2 {
1700
+ incremental?: boolean;
1701
+ }
1702
+ export interface GetMenuItemGroupMetaConsumerV2 {
1703
+ order_type?: 'selection' | 'option' | 'quantity';
1704
+ sort_number?: number;
1705
+ menu_sort_number?: number;
1706
+ surcharge_limit_value?: number;
1707
+ }
1708
+ export interface GetMenuItemOptionsGroupConsumerV2 {
1709
+ id?: string;
1710
+ label?: GetMenuItemLabelConsumerV2;
1711
+ items?: GetMenuItemOptionConsumerV2[];
1712
+ min?: number;
1713
+ max?: number;
1714
+ is?: GetMenuItemGroupIsConsumerV2;
1715
+ meta?: GetMenuItemGroupMetaConsumerV2;
1716
+ }
1717
+ export interface GetMenuItemRecipeConsumerV2 {
1718
+ smart_tags?: string[];
1719
+ allergen_tags?: string[];
1720
+ mrn?: string;
1721
+ unit_id?: string;
1722
+ portion_quantity?: number;
1723
+ portion_unit_name?: string;
1724
+ grams?: number;
1725
+ cost?: number;
1726
+ ingredients?: string[];
1727
+ }
1728
+ export interface GetMenuItemMetaConsumerV2 {
1729
+ barcodes?: string[];
1730
+ recipe?: GetMenuItemRecipeConsumerV2;
1731
+ superplate?: {
1732
+ type_id?: number;
1733
+ type?: string;
1734
+ };
1735
+ sort_number?: number;
1736
+ menu_sort_number?: number;
1737
+ unique_id?: number;
1738
+ tax?: {
1739
+ tax_tag_code?: string;
1740
+ tax_jwo_code?: string;
1741
+ tax_rate?: number;
1742
+ tax_amount?: number;
1743
+ };
1744
+ }
1745
+ export interface GetMenuItemIsConsumerV2 {
1746
+ disabled?: boolean;
1747
+ hidden?: boolean;
1748
+ meq_eligible?: boolean;
1749
+ out_of_stock?: boolean;
1750
+ deleted?: boolean;
1751
+ featured?: boolean;
1752
+ }
1753
+ export interface GetMenuItemMenuLabelConsumerV2 {
1754
+ id?: string;
1755
+ text?: string;
1756
+ s3_link?: string;
1757
+ }
1758
+ export interface GetMenuItemConsumerV2 {
1759
+ id?: string;
1760
+ label?: GetMenuItemLabelConsumerV2;
1761
+ name?: string;
1762
+ description?: GetMenuItemLabelConsumerV2;
1763
+ price?: GetMenuItemPriceConsumerV2;
1764
+ meal_value?: number;
1765
+ sale_price?: GetMenuItemPriceConsumerV2;
1766
+ unit?: number;
1767
+ sku?: number;
1768
+ item_number?: number;
1769
+ parent_id?: string;
1770
+ location?: string;
1771
+ line_route?: string;
1772
+ weight?: {
1773
+ unit?: string;
1774
+ amount?: number;
1775
+ };
1776
+ category?: {
1777
+ en?: string;
1778
+ };
1779
+ ingredients?: Record<string, any>[];
1780
+ amount_off_exclusions?: string[];
1781
+ nutrition?: GetMenuItemNutritionConsumerV2;
1782
+ certified?: GetMenuItemCertifiedConsumerV2;
1783
+ options?: GetMenuItemOptionsGroupConsumerV2[];
1784
+ meta?: GetMenuItemMetaConsumerV2;
1785
+ image?: GetMenuItemImageConsumerV2;
1786
+ is?: GetMenuItemIsConsumerV2;
1787
+ menu_labels?: GetMenuItemMenuLabelConsumerV2[];
1788
+ reporting?: GetMenuItemReportingConsumerV2;
1789
+ }
1790
+ export interface GetMenuGroupConsumerV2 {
1791
+ id?: string;
1792
+ label?: GetMenuGroupLabelConsumerV2;
1793
+ items?: GetMenuItemConsumerV2[];
1794
+ }
1795
+ export interface GetMenuDateConsumerV2 {
1796
+ created?: string;
1797
+ modified?: string;
1798
+ published?: string;
1799
+ }
1800
+ export interface GetMenuIsConsumerV2 {
1801
+ disabled?: boolean;
1802
+ hidden?: boolean;
1803
+ linked?: boolean;
1804
+ promo_exemptions_enabled?: boolean;
1805
+ plu_enabled?: boolean;
1806
+ item_images_enabled?: boolean;
1807
+ item_showcase_enabled?: boolean;
1808
+ item_desc_edit_enabled?: boolean;
1809
+ calories_edit_enabled?: boolean;
1810
+ item_label_edit_enabled?: boolean;
1811
+ frictionless?: boolean;
1812
+ category_images_enabled?: boolean;
1813
+ }
1814
+ export interface GetMenuMetaConsumerV2 {
1815
+ locked_by_user?: string;
1816
+ last_modified_user?: string;
1817
+ centricos?: boolean;
1818
+ version?: number;
1819
+ revision?: string;
1820
+ }
1821
+ export interface GetMenuImageSizesConsumerV2 {
1822
+ original?: string;
1823
+ thumbnail_80_80?: string;
1824
+ }
1825
+ export interface GetMenuImageConsumerV2 {
1826
+ src?: string;
1827
+ sizes?: GetMenuImageSizesConsumerV2;
1828
+ }
1829
+ export interface GetMenuResponseConsumerV2 {
1830
+ id: string;
1831
+ label?: GetMenuLabelConsumerV2;
1832
+ groups?: GetMenuGroupConsumerV2[];
1833
+ parent_id?: string;
1834
+ location_brand?: string;
1835
+ company?: string;
1836
+ sector?: string;
1837
+ date?: GetMenuDateConsumerV2;
1838
+ is?: GetMenuIsConsumerV2;
1839
+ meta?: GetMenuMetaConsumerV2;
1840
+ image?: GetMenuImageConsumerV2;
1841
+ }
1541
1842
  export interface GetConsumerMenuItemsResponse {
1542
1843
  meta?: Record<string, any>;
1543
1844
  items: ConsumerItem[];
@@ -2460,9 +2761,9 @@ export interface PatchConsumerShoppingCartResponse {
2460
2761
  incentives?: ConsumerIncentives;
2461
2762
  }
2462
2763
  export interface PostConsumerShoppingCartCloneBodyRequest {
2463
- menu: string;
2464
- order_type: string;
2465
- items_to_clone: string[];
2764
+ menu?: string;
2765
+ order_type?: string;
2766
+ items_to_clone?: string[];
2466
2767
  }
2467
2768
  export interface PostCustomerRewardsBodyDTO {
2468
2769
  shoppingcartBrands?: string[];
@@ -2601,428 +2902,123 @@ export interface OpenAiChatMessage {
2601
2902
  toolCalls?: OpenAiChatToolCall[];
2602
2903
  toolCallId?: string;
2603
2904
  }
2604
- export interface OpenAiChatBody {
2605
- model: string;
2606
- messages: OpenAiChatMessage[];
2607
- tools: Record<string, any>[];
2608
- tool_choice: Record<string, any>;
2609
- temperature: number;
2610
- max_tokens: number;
2611
- }
2612
- export interface OpenAiChatChoice {
2613
- index: number;
2614
- message: OpenAiChatMessage;
2615
- finishReason: string;
2616
- }
2617
- export interface OpenAiChatResponse {
2618
- id: string;
2619
- object: string;
2620
- created: number;
2621
- model: string;
2622
- choices: OpenAiChatChoice[];
2623
- }
2624
- export interface PostPaymentValidateMerchantBody {
2625
- validation_url: string;
2626
- display_name: string;
2627
- }
2628
- export interface MerchantSessionResponse {
2629
- epochTimestamp: number;
2630
- expiresAt: number;
2631
- nonce: string;
2632
- merchantIdentifier: string;
2633
- merchantSessionIdentifier: string;
2634
- operationalAnalyticsIdentifier: string;
2635
- domainName: string;
2636
- displayName: string;
2637
- signature: string;
2638
- retries: number;
2639
- pspId: string;
2640
- }
2641
- export interface PostPaymentValidateMerchantResponse {
2642
- merchant_session: MerchantSessionResponse;
2643
- }
2644
- export interface ConsumerPostPaymentCashlessBody {
2645
- token: string;
2646
- }
2647
- export interface ReviewDTO {
2648
- taxonomy?: Record<string, any>;
2649
- id: string;
2650
- createdAt: string;
2651
- updatedAt: string;
2652
- score?: number;
2653
- comment?: string;
2654
- reason?: [];
2655
- }
2656
- export interface GetReviewOrderItemsRequestDTO {
2657
- reviews: ReviewDTO[];
2658
- }
2659
- export interface PostConsumerShoppingCartBulkBodyRequest {
2660
- ids: string[];
2661
- }
2662
- export interface PostConsumerShoppingCartBulkResponse {
2663
- shoppingcarts: PostConsumerShoppingCartResponse[];
2664
- }
2665
- export interface ConsumerDeleteMealplanBody {
2666
- tenders?: string[];
2667
- }
2668
- export interface PostExternalExchangeLoginCodeRequestDTO {
2669
- code: string;
2670
- }
2671
- export interface AccessTokenPartDTO {
2672
- token: string;
2673
- expires: string;
2674
- }
2675
- export interface ProfileNameDTO {
2676
- first: string;
2677
- last: string;
2678
- }
2679
- export interface ProfileDateDTO {
2680
- modified?: string;
2681
- created?: string;
2682
- }
2683
- export interface ProfileIsDTO {
2684
- disabled: boolean;
2685
- verified: boolean;
2686
- }
2687
- export interface ExchangeProfileDTO {
2688
- id: string;
2689
- email: string;
2690
- name?: ProfileNameDTO;
2691
- date?: ProfileDateDTO;
2692
- is?: ProfileIsDTO;
2693
- meta?: Record<string, any>;
2694
- }
2695
- export interface PostExternalExchangeLoginCodeResponseDTO {
2696
- access: AccessTokenPartDTO;
2697
- profile: ExchangeProfileDTO;
2698
- }
2699
- export interface GetConsumerLocationResponse {
2700
- id: string;
2701
- date?: {
2702
- created?: string;
2703
- modified?: string;
2704
- };
2705
- name: string;
2706
- label?: {
2707
- en?: string;
2708
- fr?: string;
2709
- };
2710
- distance?: number;
2711
- meta?: Record<string, any>;
2712
- style?: {
2713
- logo?: string | null;
2714
- main_logo?: string | null;
2715
- alt_logo?: string | null;
2716
- };
2717
- timezone?: string;
2718
- status?: Record<string, any>;
2719
- locations?: ConsumerLocation[];
2720
- address?: ConsumerAddress;
2721
- }
2722
- export interface GetMenuItemNutritionValueConsumerV2 {
2723
- amount?: number;
2724
- unit?: string;
2725
- display?: string;
2726
- }
2727
- export interface GetMenuItemNutritionConsumerV2 {
2728
- kcal?: number;
2729
- calories?: GetMenuItemNutritionValueConsumerV2;
2730
- serving_size?: GetMenuItemNutritionValueConsumerV2;
2731
- total_fat?: GetMenuItemNutritionValueConsumerV2;
2732
- saturated_fat?: GetMenuItemNutritionValueConsumerV2;
2733
- trans_fat?: GetMenuItemNutritionValueConsumerV2;
2734
- cholesterol?: GetMenuItemNutritionValueConsumerV2;
2735
- sodium?: GetMenuItemNutritionValueConsumerV2;
2736
- total_carbohydrate?: GetMenuItemNutritionValueConsumerV2;
2737
- dietary_fiber?: GetMenuItemNutritionValueConsumerV2;
2738
- sugars?: GetMenuItemNutritionValueConsumerV2;
2739
- total_sugars?: GetMenuItemNutritionValueConsumerV2;
2740
- protein?: GetMenuItemNutritionValueConsumerV2;
2741
- well_being?: GetMenuItemNutritionValueConsumerV2;
2742
- }
2743
- export interface GetMenuOptionNutritionConsumerV2 {
2744
- calories?: GetMenuItemNutritionValueConsumerV2;
2745
- total_fat?: GetMenuItemNutritionValueConsumerV2;
2746
- saturated_fat?: GetMenuItemNutritionValueConsumerV2;
2747
- total_carbohydrate?: GetMenuItemNutritionValueConsumerV2;
2748
- total_sugars?: GetMenuItemNutritionValueConsumerV2;
2749
- protein?: GetMenuItemNutritionValueConsumerV2;
2750
- dietary_fiber?: GetMenuItemNutritionValueConsumerV2;
2751
- sodium?: GetMenuItemNutritionValueConsumerV2;
2752
- trans_fat?: GetMenuItemNutritionValueConsumerV2;
2753
- cholesterol?: GetMenuItemNutritionValueConsumerV2;
2754
- added_sugars?: GetMenuItemNutritionValueConsumerV2;
2755
- }
2756
- export interface GetMenuItemPriceConsumerV2 {
2757
- amount?: number;
2758
- currency?: string;
2759
- total_price?: number;
2760
- discount?: number;
2761
- }
2762
- export interface GetMenuItemImageSizesConsumerV2 {
2763
- original?: string;
2764
- thumbnail_80_80?: string;
2765
- }
2766
- export interface GetMenuItemImageConsumerV2 {
2767
- src?: string;
2768
- sizes?: GetMenuItemImageSizesConsumerV2;
2769
- }
2770
- export interface GetMenuItemCertifiedConsumerV2 {
2771
- vegan?: boolean;
2772
- vegetarian?: boolean;
2773
- seafood_watch?: boolean;
2774
- wellbeing?: boolean;
2775
- farm_to_fork?: boolean;
2776
- in_balance?: boolean;
2777
- organic?: boolean;
2778
- no_gluten_ingredients?: boolean;
2779
- halal?: boolean;
2780
- kosher?: boolean;
2781
- humane?: boolean;
2782
- locally_crafted?: boolean;
2783
- nuts?: boolean;
2784
- oracle_garden_grown?: boolean;
2785
- oracle_oyes?: boolean;
2786
- peanut_free?: boolean;
2787
- tree_nut_free?: boolean;
2788
- wheat_free?: boolean;
2789
- non_gmo?: boolean;
2790
- milk_free?: boolean;
2791
- egg_free?: boolean;
2792
- soy_free?: boolean;
2793
- fair_trade?: boolean;
2794
- rainforest_alliance?: boolean;
2795
- salt_free?: boolean;
2796
- }
2797
- export interface GetMenuItemReportingConsumerV2 {
2798
- category?: {
2799
- primary?: string;
2800
- secondary?: string;
2801
- };
2802
- jde_category?: string;
2803
- }
2804
- export interface GetMenuItemIsConsumerV2 {
2805
- disabled?: boolean;
2806
- hidden?: boolean;
2807
- meq_eligible?: boolean;
2808
- out_of_stock?: boolean;
2809
- deleted?: boolean;
2810
- featured?: boolean;
2811
- }
2812
- export interface GetMenuItemMenuLabelConsumerV2 {
2813
- id?: string;
2814
- text?: string;
2815
- s3_link?: string;
2816
- }
2817
- export interface GetMenuItemOptionMetaConsumerV2 {
2818
- sizing?: {
2819
- name?: string;
2820
- posid?: string;
2821
- price?: number;
2822
- }[];
2823
- sort_number?: number;
2824
- menu_sort_number?: number;
2825
- unique_id?: number;
2826
- tax?: {
2827
- tax_tag_code?: string;
2828
- };
2829
- }
2830
- export interface GetMenuItemOptionIsConsumerV2 {
2831
- disabled?: boolean;
2832
- hidden?: boolean;
2833
- out_of_stock?: boolean;
2834
- }
2835
- export interface GetMenuItemOptionConsumerV2 {
2836
- id?: string;
2837
- label?: {
2838
- en?: string;
2839
- };
2840
- name?: string;
2841
- description?: {
2842
- en?: string;
2843
- };
2844
- price?: GetMenuItemPriceConsumerV2;
2845
- nutrition?: GetMenuOptionNutritionConsumerV2;
2846
- meta?: GetMenuItemOptionMetaConsumerV2;
2847
- image?: GetMenuItemImageConsumerV2;
2848
- certified?: GetMenuItemCertifiedConsumerV2;
2849
- is?: GetMenuItemOptionIsConsumerV2;
2850
- reporting?: GetMenuItemReportingConsumerV2;
2851
- sku?: number;
2852
- weight?: {
2853
- unit?: string;
2854
- amount?: number;
2855
- };
2856
- line_route?: string;
2857
- amount_off_exclusions?: string[];
2858
- }
2859
- export interface GetMenuItemGroupIsConsumerV2 {
2860
- incremental?: boolean;
2905
+ export interface OpenAiChatBody {
2906
+ model: string;
2907
+ messages: OpenAiChatMessage[];
2908
+ tools: Record<string, any>[];
2909
+ tool_choice: Record<string, any>;
2910
+ temperature: number;
2911
+ max_tokens: number;
2861
2912
  }
2862
- export interface GetMenuItemGroupMetaConsumerV2 {
2863
- order_type?: 'selection' | 'option' | 'quantity';
2864
- sort_number?: number;
2865
- menu_sort_number?: number;
2866
- surcharge_limit_value?: number;
2913
+ export interface OpenAiChatChoice {
2914
+ index: number;
2915
+ message: OpenAiChatMessage;
2916
+ finishReason: string;
2867
2917
  }
2868
- export interface GetMenuItemOptionsGroupConsumerV2 {
2869
- id?: string;
2870
- label?: {
2871
- en?: string;
2872
- };
2873
- items?: GetMenuItemOptionConsumerV2[];
2874
- min?: number;
2875
- max?: number;
2876
- is?: GetMenuItemGroupIsConsumerV2;
2877
- meta?: GetMenuItemGroupMetaConsumerV2;
2918
+ export interface OpenAiChatResponse {
2919
+ id: string;
2920
+ object: string;
2921
+ created: number;
2922
+ model: string;
2923
+ choices: OpenAiChatChoice[];
2878
2924
  }
2879
- export interface GetMenuItemRecipeConsumerV2 {
2880
- smart_tags?: string[];
2881
- allergen_tags?: string[];
2882
- mrn?: string;
2883
- unit_id?: string;
2884
- portion_quantity?: number;
2885
- portion_unit_name?: string;
2886
- grams?: number;
2887
- cost?: number;
2888
- ingredients?: string[];
2925
+ export interface PostPaymentValidateMerchantBody {
2926
+ validation_url: string;
2927
+ display_name: string;
2889
2928
  }
2890
- export interface GetMenuItemMetaConsumerV2 {
2891
- barcodes?: string[];
2892
- recipe?: GetMenuItemRecipeConsumerV2;
2893
- superplate?: {
2894
- type_id?: number;
2895
- type?: string;
2896
- };
2897
- sort_number?: number;
2898
- menu_sort_number?: number;
2899
- unique_id?: number;
2900
- tax?: {
2901
- tax_tag_code?: string;
2902
- tax_jwo_code?: string;
2903
- tax_rate?: number;
2904
- tax_amount?: number;
2905
- };
2929
+ export interface MerchantSessionResponse {
2930
+ epochTimestamp: number;
2931
+ expiresAt: number;
2932
+ nonce: string;
2933
+ merchantIdentifier: string;
2934
+ merchantSessionIdentifier: string;
2935
+ operationalAnalyticsIdentifier: string;
2936
+ domainName: string;
2937
+ displayName: string;
2938
+ signature: string;
2939
+ retries: number;
2940
+ pspId: string;
2906
2941
  }
2907
- export interface GetMenuItemConsumerV2 {
2908
- id?: string;
2909
- label?: {
2910
- en?: string;
2911
- };
2912
- name?: string;
2913
- description?: {
2914
- en?: string;
2915
- };
2916
- price?: GetMenuItemPriceConsumerV2;
2917
- meal_value?: number;
2918
- sale_price?: GetMenuItemPriceConsumerV2;
2919
- unit?: number;
2920
- sku?: number;
2921
- item_number?: number;
2922
- parent_id?: string;
2923
- location?: string;
2924
- line_route?: string;
2925
- weight?: {
2926
- unit?: string;
2927
- amount?: number;
2928
- };
2929
- category?: {
2930
- en?: string;
2931
- };
2932
- ingredients?: Record<string, any>[];
2933
- amount_off_exclusions?: string[];
2934
- nutrition?: GetMenuItemNutritionConsumerV2;
2935
- certified?: GetMenuItemCertifiedConsumerV2;
2936
- options?: GetMenuItemOptionsGroupConsumerV2[];
2937
- meta?: GetMenuItemMetaConsumerV2;
2938
- image?: GetMenuItemImageConsumerV2;
2939
- is?: GetMenuItemIsConsumerV2;
2940
- menu_labels?: GetMenuItemMenuLabelConsumerV2[];
2941
- reporting?: GetMenuItemReportingConsumerV2;
2942
+ export interface PostPaymentValidateMerchantResponse {
2943
+ merchant_session: MerchantSessionResponse;
2942
2944
  }
2943
- export interface GetMenuGroupConsumerV2 {
2945
+ export interface ConsumerPostPaymentCashlessBody {
2946
+ token: string;
2947
+ }
2948
+ export interface ReviewDTO {
2949
+ taxonomy?: Record<string, any>;
2944
2950
  id: string;
2945
- label?: {
2946
- en?: string;
2947
- fr?: string;
2948
- };
2949
- items?: GetMenuItemConsumerV2[];
2951
+ createdAt: string;
2952
+ updatedAt: string;
2953
+ score?: number;
2954
+ comment?: string;
2955
+ reason?: [];
2950
2956
  }
2951
- export interface GetMenuIsConsumerV2 {
2952
- disabled?: boolean;
2953
- hidden?: boolean;
2954
- linked?: boolean;
2955
- promo_exemptions_enabled?: boolean;
2956
- plu_enabled?: boolean;
2957
- item_images_enabled?: boolean;
2958
- item_showcase_enabled?: boolean;
2959
- item_desc_edit_enabled?: boolean;
2960
- calories_edit_enabled?: boolean;
2961
- item_label_edit_enabled?: boolean;
2962
- frictionless?: boolean;
2963
- category_images_enabled?: boolean;
2957
+ export interface GetReviewOrderItemsRequestDTO {
2958
+ reviews: ReviewDTO[];
2964
2959
  }
2965
- export interface GetMenuMetaConsumerV2 {
2966
- locked_by_user?: string;
2967
- last_modified_user?: string;
2968
- centricos?: boolean;
2969
- version?: number;
2970
- revision?: string;
2960
+ export interface PostConsumerShoppingCartBulkBodyRequest {
2961
+ ids: string[];
2971
2962
  }
2972
- export interface GetMenuDateConsumerV2 {
2973
- created?: string;
2963
+ export interface PostConsumerShoppingCartBulkResponse {
2964
+ shoppingcarts: PostConsumerShoppingCartResponse[];
2965
+ }
2966
+ export interface ConsumerDeleteMealplanBody {
2967
+ tenders?: string[];
2968
+ }
2969
+ export interface PostExternalExchangeLoginCodeRequestDTO {
2970
+ code: string;
2971
+ }
2972
+ export interface AccessTokenPartDTO {
2973
+ token: string;
2974
+ expires: string;
2975
+ }
2976
+ export interface ProfileNameDTO {
2977
+ first: string;
2978
+ last: string;
2979
+ }
2980
+ export interface ProfileDateDTO {
2974
2981
  modified?: string;
2975
- published?: string;
2982
+ created?: string;
2976
2983
  }
2977
- export interface GetMenuImageSizesConsumerV2 {
2978
- original?: string;
2979
- thumbnail_80_80?: string;
2984
+ export interface ProfileIsDTO {
2985
+ disabled: boolean;
2986
+ verified: boolean;
2980
2987
  }
2981
- export interface GetMenuImageConsumerV2 {
2982
- src?: string;
2983
- sizes?: GetMenuImageSizesConsumerV2;
2988
+ export interface ExchangeProfileDTO {
2989
+ id: string;
2990
+ email: string;
2991
+ name?: ProfileNameDTO;
2992
+ date?: ProfileDateDTO;
2993
+ is?: ProfileIsDTO;
2994
+ meta?: Record<string, any>;
2984
2995
  }
2985
- export interface GetMenuResponseConsumerV2 {
2996
+ export interface PostExternalExchangeLoginCodeResponseDTO {
2997
+ access: AccessTokenPartDTO;
2998
+ profile: ExchangeProfileDTO;
2999
+ }
3000
+ export interface GetConsumerLocationResponse {
2986
3001
  id: string;
3002
+ date?: {
3003
+ created?: string;
3004
+ modified?: string;
3005
+ };
3006
+ name: string;
2987
3007
  label?: {
2988
3008
  en?: string;
3009
+ fr?: string;
2989
3010
  };
2990
- groups?: GetMenuGroupConsumerV2[];
2991
- parent_id?: string;
2992
- location_brand?: string;
2993
- company?: string;
2994
- sector?: string;
2995
- date?: GetMenuDateConsumerV2;
2996
- is?: GetMenuIsConsumerV2;
2997
- meta?: GetMenuMetaConsumerV2;
2998
- image?: GetMenuImageConsumerV2;
2999
- }
3000
- export interface Certified {
3001
- vegan?: boolean;
3002
- vegetarian?: boolean;
3003
- seafood_watch?: boolean;
3004
- wellbeing?: boolean;
3005
- farm_to_fork?: boolean;
3006
- in_balance?: boolean;
3007
- organic?: boolean;
3008
- no_gluten_ingredients?: boolean;
3009
- halal?: boolean;
3010
- kosher?: boolean;
3011
- humane?: boolean;
3012
- locally_crafted?: boolean;
3013
- nuts?: boolean;
3014
- oracle_garden_grown?: boolean;
3015
- oracle_oyes?: boolean;
3016
- peanut_free?: boolean;
3017
- tree_nut_free?: boolean;
3018
- wheat_free?: boolean;
3019
- non_gmo?: boolean;
3020
- milk_free?: boolean;
3021
- egg_free?: boolean;
3022
- soy_free?: boolean;
3023
- fair_trade?: boolean;
3024
- rainforest_alliance?: boolean;
3025
- salt_free?: boolean;
3011
+ distance?: number;
3012
+ meta?: Record<string, any>;
3013
+ style?: {
3014
+ logo?: string | null;
3015
+ main_logo?: string | null;
3016
+ alt_logo?: string | null;
3017
+ };
3018
+ timezone?: string;
3019
+ status?: Record<string, any>;
3020
+ locations?: ConsumerLocation[];
3021
+ address?: ConsumerAddress;
3026
3022
  }
3027
3023
  export type HealthCheckControllerExecuteResponse = {};
3028
3024
  export interface GetPaymentListByBrandQuery {
@@ -3149,6 +3145,10 @@ export interface GetConsumerMenuPath {
3149
3145
  id: string;
3150
3146
  }
3151
3147
  export type GetConsumerMenuResponse = GetMenuResponseConsumer;
3148
+ export interface GetConsumerMenuV2Path {
3149
+ id: string;
3150
+ }
3151
+ export type GetConsumerMenuV2Response = GetMenuResponseConsumerV2;
3152
3152
  export interface GetConsumerMenuItemsPath {
3153
3153
  id: string;
3154
3154
  }
@@ -3414,8 +3414,4 @@ export interface GetConsumerLocationQuery {
3414
3414
  active_cafes?: string[];
3415
3415
  }
3416
3416
  export type GetConsumerLocationResponse$0 = GetConsumerLocationResponse;
3417
- export interface GetConsumerMenuV2Path {
3418
- id: string;
3419
- }
3420
- export type GetConsumerMenuV2Response = GetMenuResponseConsumerV2;
3421
3417
  //# sourceMappingURL=consumer.d.ts.map