@compassdigital/sdk.typescript 4.41.1 → 4.43.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.
@@ -483,11 +483,11 @@ export interface LocalMenuGroupDTO {
483
483
 
484
484
  export interface BrandChangeDTO {
485
485
  id?: string;
486
- insert?: FilterFieldDTO;
487
- delete?: FilterFieldDTO;
488
- snapshot_entity_id?: FilterFieldDTO;
486
+ insert?: Record<string, any>;
487
+ delete?: Record<string, any>;
488
+ snapshot_entity_id?: string;
489
489
  snapshot_entity?: DraftBrandDTO;
490
- permissions?: FilterFieldDTO;
490
+ permissions?: Record<string, any>;
491
491
  [index: string]: any;
492
492
  }
493
493
 
@@ -499,11 +499,11 @@ export interface DraftMenuDTO {
499
499
  parent_id?: string;
500
500
  name?: string;
501
501
  brand_id?: string;
502
- applied_diff_snapshot?: FilterFieldDTO;
502
+ applied_diff_snapshot?: Record<string, any>;
503
503
  brand?: DraftBrandDTO;
504
504
  changes?: MenuChangeDTO[];
505
505
  vendor_metadata?: VendorMetadataDTO[];
506
- permissions?: FilterFieldDTO;
506
+ permissions?: Record<string, any>;
507
507
  [index: string]: any;
508
508
  }
509
509
 
@@ -518,14 +518,14 @@ export interface DraftCategoryDTO {
518
518
  is_active?: boolean;
519
519
  brand_id?: string;
520
520
  menu_id?: string;
521
- applied_diff_snapshot?: FilterFieldDTO;
521
+ applied_diff_snapshot?: Record<string, any>;
522
522
  menu?: Record<string, any>;
523
523
  items?: DraftCategoryToItemRelationshipDTO[];
524
524
  brand?: DraftBrandDTO;
525
525
  changes?: CategoryChangeDTO[];
526
526
  vendor_metadata?: VendorMetadataDTO[];
527
527
  attachments?: Record<string, any>;
528
- permissions?: FilterFieldDTO;
528
+ permissions?: Record<string, any>;
529
529
  [index: string]: any;
530
530
  }
531
531
 
@@ -536,15 +536,15 @@ export interface DraftCategoryToItemRelationshipDTO {
536
536
  parent_id?: string;
537
537
  item_id?: string;
538
538
  category_id?: string;
539
- brand_id?: FilterFieldDTO;
539
+ brand_id?: string;
540
540
  sequence?: number;
541
- applied_diff_snapshot?: FilterFieldDTO;
541
+ applied_diff_snapshot?: Record<string, any>;
542
542
  category?: Record<string, any>;
543
543
  item?: DraftItemDTO;
544
544
  brand?: DraftBrandDTO;
545
545
  changes?: CategoryToItemRelationshipChangeDTO[];
546
546
  vendor_metadata?: VendorMetadataDTO[];
547
- permissions?: FilterFieldDTO;
547
+ permissions?: Record<string, any>;
548
548
  [index: string]: any;
549
549
  }
550
550
 
@@ -563,22 +563,22 @@ export interface DraftItemDTO {
563
563
  calories?: number;
564
564
  meal_value?: number;
565
565
  is_active?: boolean;
566
- posid?: FilterFieldDTO;
567
- tax_tags?: FilterFieldDTO[];
566
+ posid?: string;
567
+ tax_tags?: string[];
568
568
  brand_id?: string;
569
- line_route?: FilterFieldDTO;
570
- posid_segment?: FilterFieldDTO;
569
+ line_route?: string;
570
+ posid_segment?: string;
571
571
  menu_works?: Record<string, any>;
572
- is_out_of_stock?: FilterFieldDTO;
573
- tax_tag_code?: FilterFieldDTO;
574
- applied_diff_snapshot?: FilterFieldDTO;
572
+ is_out_of_stock?: boolean;
573
+ tax_tag_code?: string;
574
+ applied_diff_snapshot?: Record<string, any>;
575
575
  brand?: DraftBrandDTO;
576
576
  categories?: Record<string, any>[];
577
577
  changes?: ItemChangeDTO[];
578
578
  vendor_metadata?: VendorMetadataDTO[];
579
579
  attachments?: Record<string, any>;
580
580
  weight?: Record<string, any>;
581
- permissions?: FilterFieldDTO;
581
+ permissions?: Record<string, any>;
582
582
  [index: string]: any;
583
583
  }
584
584
 
@@ -589,15 +589,15 @@ export interface DraftItemToModifierGroupRelationshipDTO {
589
589
  parent_id?: string;
590
590
  modifier_group_id?: string;
591
591
  item_id?: string;
592
- brand_id?: FilterFieldDTO;
592
+ brand_id?: string;
593
593
  sequence?: number;
594
- applied_diff_snapshot?: FilterFieldDTO;
594
+ applied_diff_snapshot?: Record<string, any>;
595
595
  item?: Record<string, any>;
596
596
  modifier_group?: DraftModifierGroupDTO;
597
597
  brand?: DraftBrandDTO;
598
598
  changes?: ItemToModifierGroupRelationshipChangeDTO[];
599
599
  vendor_metadata?: VendorMetadataDTO[];
600
- permissions?: FilterFieldDTO;
600
+ permissions?: Record<string, any>;
601
601
  [index: string]: any;
602
602
  }
603
603
 
@@ -617,13 +617,13 @@ export interface DraftModifierGroupDTO {
617
617
  brand_id?: string;
618
618
  order_type?: "selection" | "option" | "quantity";
619
619
  sizing?: string;
620
- is_out_of_stock?: FilterFieldDTO;
621
- is_incremental?: FilterFieldDTO;
622
- applied_diff_snapshot?: FilterFieldDTO;
620
+ is_out_of_stock?: boolean;
621
+ is_incremental?: boolean;
622
+ applied_diff_snapshot?: Record<string, any>;
623
623
  brand?: DraftBrandDTO;
624
624
  changes?: ModifierGroupChangeDTO[];
625
625
  vendor_metadata?: VendorMetadataDTO[];
626
- permissions?: FilterFieldDTO;
626
+ permissions?: Record<string, any>;
627
627
  [index: string]: any;
628
628
  }
629
629
 
@@ -634,15 +634,15 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
634
634
  parent_id?: string;
635
635
  modifier_id?: string;
636
636
  modifier_group_id?: string;
637
- brand_id?: FilterFieldDTO;
637
+ brand_id?: string;
638
638
  sequence?: number;
639
- applied_diff_snapshot?: FilterFieldDTO;
639
+ applied_diff_snapshot?: Record<string, any>;
640
640
  modifier?: DraftModifierDTO;
641
641
  modifier_group?: Record<string, any>;
642
642
  brand?: DraftBrandDTO;
643
643
  changes?: ModifierGroupToModifierRelationshipChangeDTO[];
644
644
  vendor_metadata?: VendorMetadataDTO[];
645
- permissions?: FilterFieldDTO;
645
+ permissions?: Record<string, any>;
646
646
  [index: string]: any;
647
647
  }
648
648
 
@@ -657,155 +657,150 @@ export interface DraftModifierDTO {
657
657
  description?: string;
658
658
  price?: number;
659
659
  calories?: number;
660
- tax_tags?: FilterFieldDTO[];
660
+ tax_tags?: string[];
661
661
  is_active?: boolean;
662
- posid?: FilterFieldDTO;
662
+ posid?: string;
663
663
  reporting?: ReportingMetadataDTO;
664
- posid_segment?: FilterFieldDTO;
664
+ posid_segment?: string;
665
665
  brand_id?: string;
666
666
  menu_works?: MenuWorksDTO;
667
- is_out_of_stock?: FilterFieldDTO;
667
+ is_out_of_stock?: boolean;
668
668
  price_for_none?: number;
669
669
  price_for_less?: number;
670
670
  price_for_more?: number;
671
671
  pre_surcharge?: number;
672
672
  post_surcharge?: number;
673
- tax_tag_code?: FilterFieldDTO;
674
- applied_diff_snapshot?: FilterFieldDTO;
673
+ tax_tag_code?: string;
674
+ applied_diff_snapshot?: Record<string, any>;
675
675
  brand?: DraftBrandDTO;
676
676
  changes?: ModifierChangeDTO[];
677
677
  vendor_metadata?: VendorMetadataDTO[];
678
678
  weight?: WeightDTO;
679
679
  attachments?: FileAttachmentsDTO;
680
- permissions?: FilterFieldDTO;
680
+ permissions?: Record<string, any>;
681
681
  [index: string]: any;
682
682
  }
683
683
 
684
684
  export interface ModifierChangeDTO {
685
685
  id?: string;
686
- insert?: FilterFieldDTO;
687
- delete?: FilterFieldDTO;
688
- snapshot_entity_id?: FilterFieldDTO;
686
+ insert?: Record<string, any>;
687
+ delete?: Record<string, any>;
688
+ snapshot_entity_id?: string;
689
689
  snapshot_entity?: Record<string, any>;
690
- permissions?: FilterFieldDTO;
690
+ permissions?: Record<string, any>;
691
691
  [index: string]: any;
692
692
  }
693
693
 
694
694
  export interface ReportingMetadataDTO {
695
695
  category?: ReportingCategoryMetadataDTO;
696
- id?: Record<string, any>;
697
696
  [index: string]: any;
698
697
  }
699
698
 
700
699
  export interface ReportingCategoryMetadataDTO {
701
700
  primary?: "Food" | "Beverage" | "Sundry" | "Alcohol" | "Snack";
702
- secondary?: FilterFieldDTO;
703
- id?: Record<string, any>;
701
+ secondary?: string;
704
702
  [index: string]: any;
705
703
  }
706
704
 
707
705
  export interface WeightDTO {
708
- unit?: FilterFieldDTO;
709
- amount?: FilterFieldDTO;
710
- id?: Record<string, any>;
706
+ unit?: string;
707
+ amount?: number;
711
708
  [index: string]: any;
712
709
  }
713
710
 
714
711
  export interface FileAttachmentsDTO {
715
- thumbnail?: FilterFieldDTO;
716
- id?: Record<string, any>;
712
+ thumbnail?: string;
717
713
  [index: string]: any;
718
714
  }
719
715
 
720
716
  export interface MenuWorksDTO {
721
- MRN?: FilterFieldDTO;
722
- unit_id?: FilterFieldDTO;
717
+ MRN?: string;
718
+ unit_id?: string;
723
719
  portion_quantity?: number;
724
- portion_unit_name?: FilterFieldDTO;
720
+ portion_unit_name?: string;
725
721
  grams?: number;
726
722
  cost?: number;
727
- id?: Record<string, any>;
728
723
  [index: string]: any;
729
724
  }
730
725
 
731
726
  export interface ModifierGroupToModifierRelationshipChangeDTO {
732
727
  id?: string;
733
- insert?: FilterFieldDTO;
734
- delete?: FilterFieldDTO;
735
- snapshot_entity_id?: FilterFieldDTO;
728
+ insert?: Record<string, any>;
729
+ delete?: Record<string, any>;
730
+ snapshot_entity_id?: string;
736
731
  snapshot_entity?: Record<string, any>;
737
- permissions?: FilterFieldDTO;
732
+ permissions?: Record<string, any>;
738
733
  [index: string]: any;
739
734
  }
740
735
 
741
736
  export interface ModifierGroupChangeDTO {
742
737
  id?: string;
743
- insert?: FilterFieldDTO;
744
- delete?: FilterFieldDTO;
745
- snapshot_entity_id?: FilterFieldDTO;
738
+ insert?: Record<string, any>;
739
+ delete?: Record<string, any>;
740
+ snapshot_entity_id?: string;
746
741
  snapshot_entity?: Record<string, any>;
747
- permissions?: FilterFieldDTO;
742
+ permissions?: Record<string, any>;
748
743
  [index: string]: any;
749
744
  }
750
745
 
751
746
  export interface ItemToModifierGroupRelationshipChangeDTO {
752
747
  id?: string;
753
- insert?: FilterFieldDTO;
754
- delete?: FilterFieldDTO;
755
- snapshot_entity_id?: FilterFieldDTO;
748
+ insert?: Record<string, any>;
749
+ delete?: Record<string, any>;
750
+ snapshot_entity_id?: string;
756
751
  snapshot_entity?: Record<string, any>;
757
- permissions?: FilterFieldDTO;
752
+ permissions?: Record<string, any>;
758
753
  [index: string]: any;
759
754
  }
760
755
 
761
756
  export interface ItemChangeDTO {
762
757
  id?: string;
763
- insert?: FilterFieldDTO;
764
- delete?: FilterFieldDTO;
765
- snapshot_entity_id?: FilterFieldDTO;
758
+ insert?: Record<string, any>;
759
+ delete?: Record<string, any>;
760
+ snapshot_entity_id?: string;
766
761
  snapshot_entity?: Record<string, any>;
767
- permissions?: FilterFieldDTO;
762
+ permissions?: Record<string, any>;
768
763
  [index: string]: any;
769
764
  }
770
765
 
771
766
  export interface CategoryToItemRelationshipChangeDTO {
772
767
  id?: string;
773
- insert?: FilterFieldDTO;
774
- delete?: FilterFieldDTO;
775
- snapshot_entity_id?: FilterFieldDTO;
768
+ insert?: Record<string, any>;
769
+ delete?: Record<string, any>;
770
+ snapshot_entity_id?: string;
776
771
  snapshot_entity?: Record<string, any>;
777
- permissions?: FilterFieldDTO;
772
+ permissions?: Record<string, any>;
778
773
  [index: string]: any;
779
774
  }
780
775
 
781
776
  export interface CategoryChangeDTO {
782
777
  id?: string;
783
- insert?: FilterFieldDTO;
784
- delete?: FilterFieldDTO;
785
- snapshot_entity_id?: FilterFieldDTO;
778
+ insert?: Record<string, any>;
779
+ delete?: Record<string, any>;
780
+ snapshot_entity_id?: string;
786
781
  snapshot_entity?: Record<string, any>;
787
- permissions?: FilterFieldDTO;
782
+ permissions?: Record<string, any>;
788
783
  [index: string]: any;
789
784
  }
790
785
 
791
786
  export interface MenuChangeDTO {
792
787
  id?: string;
793
- insert?: FilterFieldDTO;
794
- delete?: FilterFieldDTO;
795
- snapshot_entity_id?: FilterFieldDTO;
788
+ insert?: Record<string, any>;
789
+ delete?: Record<string, any>;
790
+ snapshot_entity_id?: string;
796
791
  snapshot_entity?: Record<string, any>;
797
- permissions?: FilterFieldDTO;
792
+ permissions?: Record<string, any>;
798
793
  [index: string]: any;
799
794
  }
800
795
 
801
796
  export interface BrandStatusDTO {
802
- brand_id?: FilterFieldDTO;
797
+ brand_id?: string;
803
798
  type?: string;
804
799
  status?: string;
805
- metadata?: FilterFieldDTO;
800
+ metadata?: Record<string, any>;
806
801
  id?: string;
807
802
  brand?: DraftBrandDTO;
808
- permissions?: FilterFieldDTO;
803
+ permissions?: Record<string, any>;
809
804
  [index: string]: any;
810
805
  }
811
806
 
@@ -837,25 +832,25 @@ export interface GlobalDiffDependencyDTO {
837
832
  id?: string;
838
833
  depends_on?: GlobalDiffDTO;
839
834
  is_depended_by?: Record<string, any>;
840
- permissions?: FilterFieldDTO;
835
+ permissions?: Record<string, any>;
841
836
  [index: string]: any;
842
837
  }
843
838
 
844
839
  export interface GlobalDiffDTO {
845
840
  action?: "create" | "update" | "delete";
846
841
  id?: string;
847
- entity_type?: FilterFieldDTO;
848
- local_id?: FilterFieldDTO;
849
- changes?: FilterFieldDTO;
850
- local_changes?: FilterFieldDTO;
851
- local_snapshot?: FilterFieldDTO;
852
- global_id?: FilterFieldDTO;
853
- global_snapshot?: FilterFieldDTO;
854
- brand_id?: FilterFieldDTO;
842
+ entity_type?: string;
843
+ local_id?: string;
844
+ changes?: Record<string, any>;
845
+ local_changes?: Record<string, any>;
846
+ local_snapshot?: Record<string, any>;
847
+ global_id?: string;
848
+ global_snapshot?: Record<string, any>;
849
+ brand_id?: string;
855
850
  depends_on?: Record<string, any>[];
856
851
  is_depended_by?: Record<string, any>[];
857
852
  brand?: DraftBrandDTO;
858
- permissions?: FilterFieldDTO;
853
+ permissions?: Record<string, any>;
859
854
  [index: string]: any;
860
855
  }
861
856
 
@@ -934,7 +929,7 @@ export interface PublishedItemDTO {
934
929
  meal_value?: number;
935
930
  is_active?: boolean;
936
931
  posid?: string;
937
- tax_tags?: Record<string, any>[];
932
+ tax_tags?: string[];
938
933
  brand_id?: string;
939
934
  line_route?: string;
940
935
  posid_segment?: string;
@@ -992,7 +987,7 @@ export interface PublishedModifierDTO {
992
987
  description?: string;
993
988
  price?: number;
994
989
  calories?: number;
995
- tax_tags?: Record<string, any>[];
990
+ tax_tags?: string[];
996
991
  is_active?: boolean;
997
992
  posid?: string;
998
993
  posid_segment?: string;
@@ -1285,7 +1280,7 @@ export interface DraftItemEntityDTO {
1285
1280
  meal_value?: number;
1286
1281
  is_active?: boolean;
1287
1282
  posid?: string;
1288
- tax_tags?: Record<string, any>[];
1283
+ tax_tags?: string[];
1289
1284
  brand_id: string;
1290
1285
  line_route?: string;
1291
1286
  posid_segment?: string;
@@ -1318,7 +1313,7 @@ export interface DraftModifierEntityDTO {
1318
1313
  description?: string;
1319
1314
  price: number;
1320
1315
  calories?: number;
1321
- tax_tags?: Record<string, any>[];
1316
+ tax_tags?: string[];
1322
1317
  is_active?: boolean;
1323
1318
  posid?: string;
1324
1319
  reporting: ReportingMetadataDTO;
@@ -1778,7 +1773,7 @@ export interface GetCompanyModifierGroupsExportRequest
1778
1773
  // GET /menu/{id}/export - Export menu set to zipped excel file.
1779
1774
 
1780
1775
  export interface GetMenuExportPath {
1781
- // menu; TODO: cannot use compassdigital.id as path parameter
1776
+ // menu
1782
1777
  id: string;
1783
1778
  }
1784
1779
 
@@ -1797,7 +1792,7 @@ export interface GetMenuExportRequest
1797
1792
  // GET /menu/partial/{id}/groups - Get an individual menu with its categories only partially loaded. (No items)
1798
1793
 
1799
1794
  export interface GetMenuPartialGroupsPath {
1800
- // menu; TODO: cannot use compassdigital.id as path parameter
1795
+ // menu
1801
1796
  id: string;
1802
1797
  }
1803
1798
 
@@ -1822,9 +1817,9 @@ export interface GetMenuPartialGroupsRequest
1822
1817
  // GET /menu/partial/{id}/group/{group_id}/items - Get an individual menu with its categories only partially loaded. (No items)
1823
1818
 
1824
1819
  export interface GetMenuPartialGroupItemsPath {
1825
- // menu; TODO: cannot use compassdigital.id as path parameter
1820
+ // menu
1826
1821
  id: string;
1827
- // group; TODO: cannot use compassdigital.id as path parameter
1822
+ // group
1828
1823
  group_id: string;
1829
1824
  }
1830
1825
 
@@ -1845,9 +1840,9 @@ export interface GetMenuPartialGroupItemsRequest
1845
1840
  // POST /menu/partial/{id}/group/{group_id}/item/options - Get menu items's options
1846
1841
 
1847
1842
  export interface PostMenuPartialGroupItemOptionsPath {
1848
- // menu; TODO: cannot use compassdigital.id as path parameter
1843
+ // menu
1849
1844
  id: string;
1850
- // group; TODO: cannot use compassdigital.id as path parameter
1845
+ // group
1851
1846
  group_id: string;
1852
1847
  }
1853
1848
 
@@ -1987,6 +1982,7 @@ export interface DeleteMenuV3LocalMenuGroupPath {
1987
1982
 
1988
1983
  export interface DeleteMenuV3LocalMenuGroupQuery {
1989
1984
  delete_posid?: boolean;
1985
+ hard_delete?: boolean;
1990
1986
  }
1991
1987
 
1992
1988
  export interface DeleteMenuV3LocalMenuGroupResponse {
@@ -2018,9 +2014,7 @@ export interface GetMenuV3LocalMenuGroupsQuery {
2018
2014
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2019
2015
  relationships?: string[];
2020
2016
  // The fields that filtering is allowed on
2021
- filter?: {
2022
- [index: string]: any;
2023
- };
2017
+ filter?: string;
2024
2018
  // Number of records to load per page
2025
2019
  limit?: number;
2026
2020
  page?: number;
@@ -2070,9 +2064,7 @@ export interface PostMenuV3LocalMenuGroupsRequest extends BaseRequest {
2070
2064
 
2071
2065
  export interface GetMenuV3LocalMenuGroupsCountQuery {
2072
2066
  // The fields that filtering is allowed on
2073
- filter?: {
2074
- [index: string]: any;
2075
- };
2067
+ filter?: string;
2076
2068
  // Graphql query string
2077
2069
  _query?: string;
2078
2070
  }
@@ -2098,9 +2090,7 @@ export interface GetMenuV3DraftLocalMenuGroupBrandsQuery {
2098
2090
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2099
2091
  relationships?: string[];
2100
2092
  // The fields that filtering is allowed on
2101
- filter?: {
2102
- [index: string]: any;
2103
- };
2093
+ filter?: string;
2104
2094
  // Number of records to load per page
2105
2095
  limit?: number;
2106
2096
  page?: number;
@@ -2136,9 +2126,7 @@ export interface GetMenuV3LocalMenuGroupBrandsQuery {
2136
2126
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2137
2127
  relationships?: string[];
2138
2128
  // The fields that filtering is allowed on
2139
- filter?: {
2140
- [index: string]: any;
2141
- };
2129
+ filter?: string;
2142
2130
  // Number of records to load per page
2143
2131
  limit?: number;
2144
2132
  page?: number;
@@ -2174,9 +2162,7 @@ export interface GetMenuV3LocalMenuGroupAllowedGlobalBrandsQuery {
2174
2162
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2175
2163
  relationships?: string[];
2176
2164
  // The fields that filtering is allowed on
2177
- filter?: {
2178
- [index: string]: any;
2179
- };
2165
+ filter?: string;
2180
2166
  // Number of records to load per page
2181
2167
  limit?: number;
2182
2168
  page?: number;
@@ -2213,9 +2199,7 @@ export interface PostMenuV3LocalMenuGroupImportBrandsQuery {
2213
2199
  relationships?: string[];
2214
2200
  "body.brand_ids"?: string[];
2215
2201
  // The fields that filtering is allowed on
2216
- filter?: {
2217
- [index: string]: any;
2218
- };
2202
+ filter?: string;
2219
2203
  // Number of records to load per page
2220
2204
  limit?: number;
2221
2205
  page?: number;
@@ -2385,6 +2369,7 @@ export interface DeleteMenuV3GlobalMenuGroupPath {
2385
2369
 
2386
2370
  export interface DeleteMenuV3GlobalMenuGroupQuery {
2387
2371
  delete_posid?: boolean;
2372
+ hard_delete?: boolean;
2388
2373
  }
2389
2374
 
2390
2375
  export interface DeleteMenuV3GlobalMenuGroupResponse {
@@ -2417,9 +2402,7 @@ export interface GetMenuV3GlobalMenuGroupsQuery {
2417
2402
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2418
2403
  relationships?: string[];
2419
2404
  // The fields that filtering is allowed on
2420
- filter?: {
2421
- [index: string]: any;
2422
- };
2405
+ filter?: string;
2423
2406
  // Number of records to load per page
2424
2407
  limit?: number;
2425
2408
  page?: number;
@@ -2470,9 +2453,7 @@ export interface PostMenuV3GlobalMenuGroupsRequest extends BaseRequest {
2470
2453
 
2471
2454
  export interface GetMenuV3GlobalMenuGroupsCountQuery {
2472
2455
  // The fields that filtering is allowed on
2473
- filter?: {
2474
- [index: string]: any;
2475
- };
2456
+ filter?: string;
2476
2457
  // Graphql query string
2477
2458
  _query?: string;
2478
2459
  }
@@ -2498,9 +2479,7 @@ export interface GetMenuV3DraftGlobalMenuGroupBrandsQuery {
2498
2479
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2499
2480
  relationships?: string[];
2500
2481
  // The fields that filtering is allowed on
2501
- filter?: {
2502
- [index: string]: any;
2503
- };
2482
+ filter?: string;
2504
2483
  // Number of records to load per page
2505
2484
  limit?: number;
2506
2485
  page?: number;
@@ -2536,9 +2515,7 @@ export interface GetMenuV3GlobalMenuGroupBrandsQuery {
2536
2515
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2537
2516
  relationships?: string[];
2538
2517
  // The fields that filtering is allowed on
2539
- filter?: {
2540
- [index: string]: any;
2541
- };
2518
+ filter?: string;
2542
2519
  // Number of records to load per page
2543
2520
  limit?: number;
2544
2521
  page?: number;
@@ -2672,9 +2649,16 @@ export interface DeleteMenuV3DraftBrandPath {
2672
2649
  id: string;
2673
2650
  }
2674
2651
 
2652
+ export interface DeleteMenuV3DraftBrandQuery {
2653
+ hard_delete?: boolean;
2654
+ }
2655
+
2675
2656
  export type DeleteMenuV3DraftBrandResponse = DraftBrandDTO;
2676
2657
 
2677
- export interface DeleteMenuV3DraftBrandRequest extends BaseRequest, DeleteMenuV3DraftBrandPath {}
2658
+ export interface DeleteMenuV3DraftBrandRequest
2659
+ extends BaseRequest,
2660
+ RequestQuery<DeleteMenuV3DraftBrandQuery>,
2661
+ DeleteMenuV3DraftBrandPath {}
2678
2662
 
2679
2663
  // GET /menu/v3/draft/brands
2680
2664
 
@@ -2684,9 +2668,7 @@ export interface GetMenuV3DraftBrandsQuery {
2684
2668
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2685
2669
  relationships?: string[];
2686
2670
  // The fields that filtering is allowed on
2687
- filter?: {
2688
- [index: string]: any;
2689
- };
2671
+ filter?: string;
2690
2672
  // Number of records to load per page
2691
2673
  limit?: number;
2692
2674
  page?: number;
@@ -2755,9 +2737,7 @@ export interface PostMenuV3DraftBrandsRequest extends BaseRequest {
2755
2737
 
2756
2738
  export interface GetMenuV3DraftBrandsCountQuery {
2757
2739
  // The fields that filtering is allowed on
2758
- filter?: {
2759
- [index: string]: any;
2760
- };
2740
+ filter?: string;
2761
2741
  // Graphql query string
2762
2742
  _query?: string;
2763
2743
  }
@@ -2783,9 +2763,7 @@ export interface GetMenuV3DraftBrandMenusQuery {
2783
2763
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2784
2764
  relationships?: string[];
2785
2765
  // The fields that filtering is allowed on
2786
- filter?: {
2787
- [index: string]: any;
2788
- };
2766
+ filter?: string;
2789
2767
  // Number of records to load per page
2790
2768
  limit?: number;
2791
2769
  page?: number;
@@ -2821,9 +2799,7 @@ export interface GetMenuV3DraftBrandModifiersQuery {
2821
2799
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2822
2800
  relationships?: string[];
2823
2801
  // The fields that filtering is allowed on
2824
- filter?: {
2825
- [index: string]: any;
2826
- };
2802
+ filter?: string;
2827
2803
  // Number of records to load per page
2828
2804
  limit?: number;
2829
2805
  page?: number;
@@ -2859,9 +2835,7 @@ export interface GetMenuV3DraftBrandModifierGroupsQuery {
2859
2835
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2860
2836
  relationships?: string[];
2861
2837
  // The fields that filtering is allowed on
2862
- filter?: {
2863
- [index: string]: any;
2864
- };
2838
+ filter?: string;
2865
2839
  // Number of records to load per page
2866
2840
  limit?: number;
2867
2841
  page?: number;
@@ -2897,9 +2871,7 @@ export interface GetMenuV3DraftBrandItemsQuery {
2897
2871
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2898
2872
  relationships?: string[];
2899
2873
  // The fields that filtering is allowed on
2900
- filter?: {
2901
- [index: string]: any;
2902
- };
2874
+ filter?: string;
2903
2875
  // Number of records to load per page
2904
2876
  limit?: number;
2905
2877
  page?: number;
@@ -3005,9 +2977,7 @@ export interface GetMenuV3DraftBrandDiffsQuery {
3005
2977
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3006
2978
  relationships?: string[];
3007
2979
  // The fields that filtering is allowed on
3008
- filter?: {
3009
- [index: string]: any;
3010
- };
2980
+ filter?: string;
3011
2981
  // Number of records to load per page
3012
2982
  limit?: number;
3013
2983
  page?: number;
@@ -3035,8 +3005,8 @@ export interface PostMenuV3DraftBrandGlobalDiffsApplyPath {
3035
3005
  id: string;
3036
3006
  }
3037
3007
 
3038
- export interface PostMenuV3DraftBrandGlobalDiffsApplyQuery {
3039
- "body.diffs"?: ApplyDiffDTO[];
3008
+ export interface PostMenuV3DraftBrandGlobalDiffsApplyBody {
3009
+ diffs?: ApplyDiffDTO[];
3040
3010
  }
3041
3011
 
3042
3012
  export interface PostMenuV3DraftBrandGlobalDiffsApplyResponse {
@@ -3045,8 +3015,9 @@ export interface PostMenuV3DraftBrandGlobalDiffsApplyResponse {
3045
3015
 
3046
3016
  export interface PostMenuV3DraftBrandGlobalDiffsApplyRequest
3047
3017
  extends BaseRequest,
3048
- RequestQuery<PostMenuV3DraftBrandGlobalDiffsApplyQuery>,
3049
- PostMenuV3DraftBrandGlobalDiffsApplyPath {}
3018
+ PostMenuV3DraftBrandGlobalDiffsApplyPath {
3019
+ body: PostMenuV3DraftBrandGlobalDiffsApplyBody;
3020
+ }
3050
3021
 
3051
3022
  // POST /menu/v3/draft/brand/{id}/attachment/{name}
3052
3023
 
@@ -3185,6 +3156,7 @@ export interface DeleteMenuV3BrandPath {
3185
3156
  }
3186
3157
 
3187
3158
  export interface DeleteMenuV3BrandQuery {
3159
+ hard_delete?: boolean;
3188
3160
  nocache?: boolean;
3189
3161
  }
3190
3162
 
@@ -3203,9 +3175,7 @@ export interface GetMenuV3BrandsQuery {
3203
3175
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3204
3176
  relationships?: string[];
3205
3177
  // The fields that filtering is allowed on
3206
- filter?: {
3207
- [index: string]: any;
3208
- };
3178
+ filter?: string;
3209
3179
  // Number of records to load per page
3210
3180
  limit?: number;
3211
3181
  page?: number;
@@ -3274,9 +3244,7 @@ export interface PostMenuV3BrandsRequest extends BaseRequest, RequestQuery<PostM
3274
3244
 
3275
3245
  export interface GetMenuV3BrandsCountQuery {
3276
3246
  // The fields that filtering is allowed on
3277
- filter?: {
3278
- [index: string]: any;
3279
- };
3247
+ filter?: string;
3280
3248
  // Graphql query string
3281
3249
  _query?: string;
3282
3250
  nocache?: boolean;
@@ -3303,9 +3271,7 @@ export interface GetMenuV3BrandMenusQuery {
3303
3271
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3304
3272
  relationships?: string[];
3305
3273
  // The fields that filtering is allowed on
3306
- filter?: {
3307
- [index: string]: any;
3308
- };
3274
+ filter?: string;
3309
3275
  // Number of records to load per page
3310
3276
  limit?: number;
3311
3277
  page?: number;
@@ -3342,9 +3308,7 @@ export interface GetMenuV3BrandModifiersQuery {
3342
3308
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3343
3309
  relationships?: string[];
3344
3310
  // The fields that filtering is allowed on
3345
- filter?: {
3346
- [index: string]: any;
3347
- };
3311
+ filter?: string;
3348
3312
  // Number of records to load per page
3349
3313
  limit?: number;
3350
3314
  page?: number;
@@ -3381,9 +3345,7 @@ export interface GetMenuV3BrandModifierGroupsQuery {
3381
3345
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3382
3346
  relationships?: string[];
3383
3347
  // The fields that filtering is allowed on
3384
- filter?: {
3385
- [index: string]: any;
3386
- };
3348
+ filter?: string;
3387
3349
  // Number of records to load per page
3388
3350
  limit?: number;
3389
3351
  page?: number;
@@ -3420,9 +3382,7 @@ export interface GetMenuV3BrandItemsQuery {
3420
3382
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3421
3383
  relationships?: string[];
3422
3384
  // The fields that filtering is allowed on
3423
- filter?: {
3424
- [index: string]: any;
3425
- };
3385
+ filter?: string;
3426
3386
  // Number of records to load per page
3427
3387
  limit?: number;
3428
3388
  page?: number;
@@ -3527,9 +3487,16 @@ export interface DeleteMenuV3DraftMenuPath {
3527
3487
  id: string;
3528
3488
  }
3529
3489
 
3490
+ export interface DeleteMenuV3DraftMenuQuery {
3491
+ hard_delete?: boolean;
3492
+ }
3493
+
3530
3494
  export type DeleteMenuV3DraftMenuResponse = DraftMenuDTO;
3531
3495
 
3532
- export interface DeleteMenuV3DraftMenuRequest extends BaseRequest, DeleteMenuV3DraftMenuPath {}
3496
+ export interface DeleteMenuV3DraftMenuRequest
3497
+ extends BaseRequest,
3498
+ RequestQuery<DeleteMenuV3DraftMenuQuery>,
3499
+ DeleteMenuV3DraftMenuPath {}
3533
3500
 
3534
3501
  // GET /menu/v3/draft/menus
3535
3502
 
@@ -3539,9 +3506,7 @@ export interface GetMenuV3DraftMenusQuery {
3539
3506
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3540
3507
  relationships?: string[];
3541
3508
  // The fields that filtering is allowed on
3542
- filter?: {
3543
- [index: string]: any;
3544
- };
3509
+ filter?: string;
3545
3510
  // Number of records to load per page
3546
3511
  limit?: number;
3547
3512
  page?: number;
@@ -3595,9 +3560,7 @@ export interface PostMenuV3DraftMenusRequest extends BaseRequest {
3595
3560
 
3596
3561
  export interface GetMenuV3DraftMenusCountQuery {
3597
3562
  // The fields that filtering is allowed on
3598
- filter?: {
3599
- [index: string]: any;
3600
- };
3563
+ filter?: string;
3601
3564
  // Graphql query string
3602
3565
  _query?: string;
3603
3566
  }
@@ -3623,9 +3586,7 @@ export interface GetMenuV3DraftMenuCategoriesQuery {
3623
3586
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3624
3587
  relationships?: string[];
3625
3588
  // The fields that filtering is allowed on
3626
- filter?: {
3627
- [index: string]: any;
3628
- };
3589
+ filter?: string;
3629
3590
  // Number of records to load per page
3630
3591
  limit?: number;
3631
3592
  page?: number;
@@ -3694,9 +3655,7 @@ export interface GetMenuV3MenusQuery {
3694
3655
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3695
3656
  relationships?: string[];
3696
3657
  // The fields that filtering is allowed on
3697
- filter?: {
3698
- [index: string]: any;
3699
- };
3658
+ filter?: string;
3700
3659
  // Number of records to load per page
3701
3660
  limit?: number;
3702
3661
  page?: number;
@@ -3722,9 +3681,7 @@ export interface GetMenuV3MenusRequest extends BaseRequest, RequestQuery<GetMenu
3722
3681
 
3723
3682
  export interface GetMenuV3MenusCountQuery {
3724
3683
  // The fields that filtering is allowed on
3725
- filter?: {
3726
- [index: string]: any;
3727
- };
3684
+ filter?: string;
3728
3685
  // Graphql query string
3729
3686
  _query?: string;
3730
3687
  nocache?: boolean;
@@ -3751,9 +3708,7 @@ export interface GetMenuV3MenuCategoriesQuery {
3751
3708
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3752
3709
  relationships?: string[];
3753
3710
  // The fields that filtering is allowed on
3754
- filter?: {
3755
- [index: string]: any;
3756
- };
3711
+ filter?: string;
3757
3712
  // Number of records to load per page
3758
3713
  limit?: number;
3759
3714
  page?: number;
@@ -3899,19 +3854,22 @@ export interface DeleteMenuV3DraftCategoryPath {
3899
3854
  id: string;
3900
3855
  }
3901
3856
 
3857
+ export interface DeleteMenuV3DraftCategoryQuery {
3858
+ hard_delete?: boolean;
3859
+ }
3860
+
3902
3861
  export type DeleteMenuV3DraftCategoryResponse = DraftCategoryDTO;
3903
3862
 
3904
3863
  export interface DeleteMenuV3DraftCategoryRequest
3905
3864
  extends BaseRequest,
3865
+ RequestQuery<DeleteMenuV3DraftCategoryQuery>,
3906
3866
  DeleteMenuV3DraftCategoryPath {}
3907
3867
 
3908
3868
  // GET /menu/v3/draft/categories/count
3909
3869
 
3910
3870
  export interface GetMenuV3DraftCategoriesCountQuery {
3911
3871
  // The fields that filtering is allowed on
3912
- filter?: {
3913
- [index: string]: any;
3914
- };
3872
+ filter?: string;
3915
3873
  // Graphql query string
3916
3874
  _query?: string;
3917
3875
  }
@@ -4005,9 +3963,7 @@ export interface GetMenuV3CategoryRequest
4005
3963
 
4006
3964
  export interface GetMenuV3CategorysCountQuery {
4007
3965
  // The fields that filtering is allowed on
4008
- filter?: {
4009
- [index: string]: any;
4010
- };
3966
+ filter?: string;
4011
3967
  // Graphql query string
4012
3968
  _query?: string;
4013
3969
  nocache?: boolean;
@@ -4110,10 +4066,15 @@ export interface DeleteMenuV3DraftCategoryRelationshipsItemPath {
4110
4066
  id: string;
4111
4067
  }
4112
4068
 
4069
+ export interface DeleteMenuV3DraftCategoryRelationshipsItemQuery {
4070
+ hard_delete?: boolean;
4071
+ }
4072
+
4113
4073
  export type DeleteMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
4114
4074
 
4115
4075
  export interface DeleteMenuV3DraftCategoryRelationshipsItemRequest
4116
4076
  extends BaseRequest,
4077
+ RequestQuery<DeleteMenuV3DraftCategoryRelationshipsItemQuery>,
4117
4078
  DeleteMenuV3DraftCategoryRelationshipsItemPath {}
4118
4079
 
4119
4080
  // GET /menu/v3/draft/category/relationships/items
@@ -4124,9 +4085,7 @@ export interface GetMenuV3DraftCategoryRelationshipsItemsQuery {
4124
4085
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4125
4086
  relationships?: string[];
4126
4087
  // The fields that filtering is allowed on
4127
- filter?: {
4128
- [index: string]: any;
4129
- };
4088
+ filter?: string;
4130
4089
  // Number of records to load per page
4131
4090
  limit?: number;
4132
4091
  page?: number;
@@ -4183,9 +4142,7 @@ export interface PostMenuV3DraftCategoryRelationshipsItemsRequest extends BaseRe
4183
4142
 
4184
4143
  export interface GetMenuV3DraftCategoryRelationshipsItemsCountQuery {
4185
4144
  // The fields that filtering is allowed on
4186
- filter?: {
4187
- [index: string]: any;
4188
- };
4145
+ filter?: string;
4189
4146
  // Graphql query string
4190
4147
  _query?: string;
4191
4148
  }
@@ -4230,9 +4187,7 @@ export interface GetMenuV3CategoryRelationshipsItemsQuery {
4230
4187
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4231
4188
  relationships?: string[];
4232
4189
  // The fields that filtering is allowed on
4233
- filter?: {
4234
- [index: string]: any;
4235
- };
4190
+ filter?: string;
4236
4191
  // Number of records to load per page
4237
4192
  limit?: number;
4238
4193
  page?: number;
@@ -4260,9 +4215,7 @@ export interface GetMenuV3CategoryRelationshipsItemsRequest
4260
4215
 
4261
4216
  export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
4262
4217
  // The fields that filtering is allowed on
4263
- filter?: {
4264
- [index: string]: any;
4265
- };
4218
+ filter?: string;
4266
4219
  // Graphql query string
4267
4220
  _query?: string;
4268
4221
  nocache?: boolean;
@@ -4294,7 +4247,7 @@ export interface PostMenuV3DraftItemBody {
4294
4247
  meal_value?: number;
4295
4248
  is_active?: boolean;
4296
4249
  posid?: string;
4297
- tax_tags?: Record<string, any>[];
4250
+ tax_tags?: string[];
4298
4251
  brand_id: string;
4299
4252
  line_route?: string;
4300
4253
  posid_segment?: string;
@@ -4362,7 +4315,7 @@ export interface PatchMenuV3DraftItemBody {
4362
4315
  meal_value?: number;
4363
4316
  is_active?: boolean;
4364
4317
  posid?: string;
4365
- tax_tags?: Record<string, any>[];
4318
+ tax_tags?: string[];
4366
4319
  brand_id?: string;
4367
4320
  line_route?: string;
4368
4321
  posid_segment?: string;
@@ -4393,9 +4346,16 @@ export interface DeleteMenuV3DraftItemPath {
4393
4346
  id: string;
4394
4347
  }
4395
4348
 
4349
+ export interface DeleteMenuV3DraftItemQuery {
4350
+ hard_delete?: boolean;
4351
+ }
4352
+
4396
4353
  export type DeleteMenuV3DraftItemResponse = DraftItemDTO;
4397
4354
 
4398
- export interface DeleteMenuV3DraftItemRequest extends BaseRequest, DeleteMenuV3DraftItemPath {}
4355
+ export interface DeleteMenuV3DraftItemRequest
4356
+ extends BaseRequest,
4357
+ RequestQuery<DeleteMenuV3DraftItemQuery>,
4358
+ DeleteMenuV3DraftItemPath {}
4399
4359
 
4400
4360
  // GET /menu/v3/draft/items
4401
4361
 
@@ -4405,9 +4365,7 @@ export interface GetMenuV3DraftItemsQuery {
4405
4365
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4406
4366
  relationships?: string[];
4407
4367
  // The fields that filtering is allowed on
4408
- filter?: {
4409
- [index: string]: any;
4410
- };
4368
+ filter?: string;
4411
4369
  // Number of records to load per page
4412
4370
  limit?: number;
4413
4371
  page?: number;
@@ -4447,7 +4405,7 @@ export type PostMenuV3DraftItemsBody = {
4447
4405
  meal_value?: number;
4448
4406
  is_active?: boolean;
4449
4407
  posid?: string;
4450
- tax_tags?: Record<string, any>[];
4408
+ tax_tags?: string[];
4451
4409
  brand_id: string;
4452
4410
  line_route?: string;
4453
4411
  posid_segment?: string;
@@ -4479,9 +4437,7 @@ export interface PostMenuV3DraftItemsRequest extends BaseRequest {
4479
4437
 
4480
4438
  export interface GetMenuV3DraftItemsCountQuery {
4481
4439
  // The fields that filtering is allowed on
4482
- filter?: {
4483
- [index: string]: any;
4484
- };
4440
+ filter?: string;
4485
4441
  // Graphql query string
4486
4442
  _query?: string;
4487
4443
  }
@@ -4519,7 +4475,7 @@ export interface GetMenuV3DraftItemLineRoutesRequest
4519
4475
  // PATCH /menu/v3/draft/items/bulk-update
4520
4476
 
4521
4477
  export interface PatchMenuV3DraftItemsBulkUpdateBody {
4522
- id_list: Record<string, any>[];
4478
+ id_list: string[];
4523
4479
  parent?: DraftItemDTO;
4524
4480
  children?: DraftItemDTO[];
4525
4481
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
@@ -4535,7 +4491,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
4535
4491
  meal_value?: number;
4536
4492
  is_active?: boolean;
4537
4493
  posid?: string;
4538
- tax_tags?: Record<string, any>[];
4494
+ tax_tags?: string[];
4539
4495
  brand_id?: string;
4540
4496
  line_route?: string;
4541
4497
  posid_segment?: string;
@@ -4663,9 +4619,7 @@ export interface GetMenuV3ItemsQuery {
4663
4619
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4664
4620
  relationships?: string[];
4665
4621
  // The fields that filtering is allowed on
4666
- filter?: {
4667
- [index: string]: any;
4668
- };
4622
+ filter?: string;
4669
4623
  // Number of records to load per page
4670
4624
  limit?: number;
4671
4625
  page?: number;
@@ -4691,9 +4645,7 @@ export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenu
4691
4645
 
4692
4646
  export interface GetMenuV3ItemsCountQuery {
4693
4647
  // The fields that filtering is allowed on
4694
- filter?: {
4695
- [index: string]: any;
4696
- };
4648
+ filter?: string;
4697
4649
  // Graphql query string
4698
4650
  _query?: string;
4699
4651
  nocache?: boolean;
@@ -4799,11 +4751,16 @@ export interface DeleteMenuV3DraftItemRelationshipsModifierGroupPath {
4799
4751
  id: string;
4800
4752
  }
4801
4753
 
4754
+ export interface DeleteMenuV3DraftItemRelationshipsModifierGroupQuery {
4755
+ hard_delete?: boolean;
4756
+ }
4757
+
4802
4758
  export type DeleteMenuV3DraftItemRelationshipsModifierGroupResponse =
4803
4759
  DraftItemToModifierGroupRelationshipDTO;
4804
4760
 
4805
4761
  export interface DeleteMenuV3DraftItemRelationshipsModifierGroupRequest
4806
4762
  extends BaseRequest,
4763
+ RequestQuery<DeleteMenuV3DraftItemRelationshipsModifierGroupQuery>,
4807
4764
  DeleteMenuV3DraftItemRelationshipsModifierGroupPath {}
4808
4765
 
4809
4766
  // GET /menu/v3/draft/item/relationships/modifier-groups
@@ -4814,9 +4771,7 @@ export interface GetMenuV3DraftItemRelationshipsModifierGroupsQuery {
4814
4771
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4815
4772
  relationships?: string[];
4816
4773
  // The fields that filtering is allowed on
4817
- filter?: {
4818
- [index: string]: any;
4819
- };
4774
+ filter?: string;
4820
4775
  // Number of records to load per page
4821
4776
  limit?: number;
4822
4777
  page?: number;
@@ -4873,9 +4828,7 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupsRequest extends B
4873
4828
 
4874
4829
  export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery {
4875
4830
  // The fields that filtering is allowed on
4876
- filter?: {
4877
- [index: string]: any;
4878
- };
4831
+ filter?: string;
4879
4832
  // Graphql query string
4880
4833
  _query?: string;
4881
4834
  }
@@ -4921,9 +4874,7 @@ export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
4921
4874
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4922
4875
  relationships?: string[];
4923
4876
  // The fields that filtering is allowed on
4924
- filter?: {
4925
- [index: string]: any;
4926
- };
4877
+ filter?: string;
4927
4878
  // Number of records to load per page
4928
4879
  limit?: number;
4929
4880
  page?: number;
@@ -4951,9 +4902,7 @@ export interface GetMenuV3ItemRelationshipsModifierGroupsRequest
4951
4902
 
4952
4903
  export interface GetMenuV3ItemRelationshipsModifierGroupsCountQuery {
4953
4904
  // The fields that filtering is allowed on
4954
- filter?: {
4955
- [index: string]: any;
4956
- };
4905
+ filter?: string;
4957
4906
  // Graphql query string
4958
4907
  _query?: string;
4959
4908
  nocache?: boolean;
@@ -5070,10 +5019,15 @@ export interface DeleteMenuV3DraftModifierGroupPath {
5070
5019
  id: string;
5071
5020
  }
5072
5021
 
5022
+ export interface DeleteMenuV3DraftModifierGroupQuery {
5023
+ hard_delete?: boolean;
5024
+ }
5025
+
5073
5026
  export type DeleteMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
5074
5027
 
5075
5028
  export interface DeleteMenuV3DraftModifierGroupRequest
5076
5029
  extends BaseRequest,
5030
+ RequestQuery<DeleteMenuV3DraftModifierGroupQuery>,
5077
5031
  DeleteMenuV3DraftModifierGroupPath {}
5078
5032
 
5079
5033
  // GET /menu/v3/draft/modifier-groups
@@ -5084,9 +5038,7 @@ export interface GetMenuV3DraftModifierGroupsQuery {
5084
5038
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5085
5039
  relationships?: string[];
5086
5040
  // The fields that filtering is allowed on
5087
- filter?: {
5088
- [index: string]: any;
5089
- };
5041
+ filter?: string;
5090
5042
  // Number of records to load per page
5091
5043
  limit?: number;
5092
5044
  page?: number;
@@ -5150,9 +5102,7 @@ export interface PostMenuV3DraftModifierGroupsRequest extends BaseRequest {
5150
5102
 
5151
5103
  export interface GetMenuV3DraftModifierGroupsCountQuery {
5152
5104
  // The fields that filtering is allowed on
5153
- filter?: {
5154
- [index: string]: any;
5155
- };
5105
+ filter?: string;
5156
5106
  // Graphql query string
5157
5107
  _query?: string;
5158
5108
  }
@@ -5237,9 +5187,7 @@ export interface GetMenuV3ModifierGroupsQuery {
5237
5187
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5238
5188
  relationships?: string[];
5239
5189
  // The fields that filtering is allowed on
5240
- filter?: {
5241
- [index: string]: any;
5242
- };
5190
+ filter?: string;
5243
5191
  // Number of records to load per page
5244
5192
  limit?: number;
5245
5193
  page?: number;
@@ -5267,9 +5215,7 @@ export interface GetMenuV3ModifierGroupsRequest
5267
5215
 
5268
5216
  export interface GetMenuV3ModifierGroupsCountQuery {
5269
5217
  // The fields that filtering is allowed on
5270
- filter?: {
5271
- [index: string]: any;
5272
- };
5218
+ filter?: string;
5273
5219
  // Graphql query string
5274
5220
  _query?: string;
5275
5221
  nocache?: boolean;
@@ -5375,11 +5321,16 @@ export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierPath {
5375
5321
  id: string;
5376
5322
  }
5377
5323
 
5324
+ export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierQuery {
5325
+ hard_delete?: boolean;
5326
+ }
5327
+
5378
5328
  export type DeleteMenuV3DraftModifierGroupRelationshipsModifierResponse =
5379
5329
  DraftModifierGroupToModifierRelationshipDTO;
5380
5330
 
5381
5331
  export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierRequest
5382
5332
  extends BaseRequest,
5333
+ RequestQuery<DeleteMenuV3DraftModifierGroupRelationshipsModifierQuery>,
5383
5334
  DeleteMenuV3DraftModifierGroupRelationshipsModifierPath {}
5384
5335
 
5385
5336
  // GET /menu/v3/draft/modifier-group/relationships/modifiers
@@ -5390,9 +5341,7 @@ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersQuery {
5390
5341
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5391
5342
  relationships?: string[];
5392
5343
  // The fields that filtering is allowed on
5393
- filter?: {
5394
- [index: string]: any;
5395
- };
5344
+ filter?: string;
5396
5345
  // Number of records to load per page
5397
5346
  limit?: number;
5398
5347
  page?: number;
@@ -5449,9 +5398,7 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifiersRequest exten
5449
5398
 
5450
5399
  export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery {
5451
5400
  // The fields that filtering is allowed on
5452
- filter?: {
5453
- [index: string]: any;
5454
- };
5401
+ filter?: string;
5455
5402
  // Graphql query string
5456
5403
  _query?: string;
5457
5404
  }
@@ -5497,9 +5444,7 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
5497
5444
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5498
5445
  relationships?: string[];
5499
5446
  // The fields that filtering is allowed on
5500
- filter?: {
5501
- [index: string]: any;
5502
- };
5447
+ filter?: string;
5503
5448
  // Number of records to load per page
5504
5449
  limit?: number;
5505
5450
  page?: number;
@@ -5527,9 +5472,7 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest
5527
5472
 
5528
5473
  export interface GetMenuV3ModifierGroupRelationshipsModifiersCountQuery {
5529
5474
  // The fields that filtering is allowed on
5530
- filter?: {
5531
- [index: string]: any;
5532
- };
5475
+ filter?: string;
5533
5476
  // Graphql query string
5534
5477
  _query?: string;
5535
5478
  nocache?: boolean;
@@ -5556,7 +5499,7 @@ export interface PostMenuV3DraftModifierBody {
5556
5499
  description?: string;
5557
5500
  price: number;
5558
5501
  calories?: number;
5559
- tax_tags?: Record<string, any>[];
5502
+ tax_tags?: string[];
5560
5503
  is_active?: boolean;
5561
5504
  posid?: string;
5562
5505
  reporting: ReportingMetadataDTO;
@@ -5625,7 +5568,7 @@ export interface PatchMenuV3DraftModifierBody {
5625
5568
  description?: string;
5626
5569
  price?: number;
5627
5570
  calories?: number;
5628
- tax_tags?: Record<string, any>[];
5571
+ tax_tags?: string[];
5629
5572
  is_active?: boolean;
5630
5573
  posid?: string;
5631
5574
  reporting?: ReportingMetadataDTO;
@@ -5662,10 +5605,15 @@ export interface DeleteMenuV3DraftModifierPath {
5662
5605
  id: string;
5663
5606
  }
5664
5607
 
5608
+ export interface DeleteMenuV3DraftModifierQuery {
5609
+ hard_delete?: boolean;
5610
+ }
5611
+
5665
5612
  export type DeleteMenuV3DraftModifierResponse = DraftModifierDTO;
5666
5613
 
5667
5614
  export interface DeleteMenuV3DraftModifierRequest
5668
5615
  extends BaseRequest,
5616
+ RequestQuery<DeleteMenuV3DraftModifierQuery>,
5669
5617
  DeleteMenuV3DraftModifierPath {}
5670
5618
 
5671
5619
  // GET /menu/v3/draft/modifiers
@@ -5676,9 +5624,7 @@ export interface GetMenuV3DraftModifiersQuery {
5676
5624
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5677
5625
  relationships?: string[];
5678
5626
  // The fields that filtering is allowed on
5679
- filter?: {
5680
- [index: string]: any;
5681
- };
5627
+ filter?: string;
5682
5628
  // Number of records to load per page
5683
5629
  limit?: number;
5684
5630
  page?: number;
@@ -5713,7 +5659,7 @@ export type PostMenuV3DraftModifiersBody = {
5713
5659
  description?: string;
5714
5660
  price: number;
5715
5661
  calories?: number;
5716
- tax_tags?: Record<string, any>[];
5662
+ tax_tags?: string[];
5717
5663
  is_active?: boolean;
5718
5664
  posid?: string;
5719
5665
  reporting: ReportingMetadataDTO;
@@ -5751,9 +5697,7 @@ export interface PostMenuV3DraftModifiersRequest extends BaseRequest {
5751
5697
 
5752
5698
  export interface GetMenuV3DraftModifiersCountQuery {
5753
5699
  // The fields that filtering is allowed on
5754
- filter?: {
5755
- [index: string]: any;
5756
- };
5700
+ filter?: string;
5757
5701
  // Graphql query string
5758
5702
  _query?: string;
5759
5703
  }
@@ -5770,7 +5714,7 @@ export interface GetMenuV3DraftModifiersCountRequest
5770
5714
  // PATCH /menu/v3/draft/modifiers/bulk-update
5771
5715
 
5772
5716
  export interface PatchMenuV3DraftModifiersBulkUpdateBody {
5773
- id_list: Record<string, any>[];
5717
+ id_list: string[];
5774
5718
  parent?: DraftModifierDTO;
5775
5719
  children?: DraftModifierDTO[];
5776
5720
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
@@ -5781,7 +5725,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
5781
5725
  description?: string;
5782
5726
  price?: number;
5783
5727
  calories?: number;
5784
- tax_tags?: Record<string, any>[];
5728
+ tax_tags?: string[];
5785
5729
  is_active?: boolean;
5786
5730
  posid?: string;
5787
5731
  reporting?: ReportingMetadataDTO;
@@ -5864,9 +5808,7 @@ export interface GetMenuV3ModifiersQuery {
5864
5808
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5865
5809
  relationships?: string[];
5866
5810
  // The fields that filtering is allowed on
5867
- filter?: {
5868
- [index: string]: any;
5869
- };
5811
+ filter?: string;
5870
5812
  // Number of records to load per page
5871
5813
  limit?: number;
5872
5814
  page?: number;
@@ -5894,9 +5836,7 @@ export interface GetMenuV3ModifiersRequest
5894
5836
 
5895
5837
  export interface GetMenuV3ModifiersCountQuery {
5896
5838
  // The fields that filtering is allowed on
5897
- filter?: {
5898
- [index: string]: any;
5899
- };
5839
+ filter?: string;
5900
5840
  // Graphql query string
5901
5841
  _query?: string;
5902
5842
  nocache?: boolean;
@@ -5956,9 +5896,7 @@ export interface GetMenuV3GlobalDiffsQuery {
5956
5896
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5957
5897
  relationships?: string[];
5958
5898
  // The fields that filtering is allowed on
5959
- filter?: {
5960
- [index: string]: any;
5961
- };
5899
+ filter?: string;
5962
5900
  // Number of records to load per page
5963
5901
  limit?: number;
5964
5902
  page?: number;
@@ -5985,9 +5923,7 @@ export interface GetMenuV3GlobalDiffsRequest
5985
5923
 
5986
5924
  export interface GetMenuV3GlobalDiffsCountQuery {
5987
5925
  // The fields that filtering is allowed on
5988
- filter?: {
5989
- [index: string]: any;
5990
- };
5926
+ filter?: string;
5991
5927
  // Graphql query string
5992
5928
  _query?: string;
5993
5929
  }
@@ -6001,7 +5937,7 @@ export interface GetMenuV3GlobalDiffsCountRequest
6001
5937
  extends BaseRequest,
6002
5938
  RequestQuery<GetMenuV3GlobalDiffsCountQuery> {}
6003
5939
 
6004
- // GET menu/v3/menuworks
5940
+ // GET /menu/v3/menuworks
6005
5941
 
6006
5942
  export interface GetMenuV3MenuworksQuery {
6007
5943
  unit_id?: string;