@compassdigital/sdk.typescript 3.77.1 → 4.0.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.
Files changed (67) hide show
  1. package/lib/index.d.ts +13 -6
  2. package/lib/index.d.ts.map +1 -1
  3. package/lib/index.js +11 -2
  4. package/lib/index.js.map +1 -1
  5. package/lib/interface/calendar.d.ts +1 -1
  6. package/lib/interface/delivery.d.ts +2 -2
  7. package/lib/interface/delivery.d.ts.map +1 -1
  8. package/lib/interface/file.d.ts +1 -1
  9. package/lib/interface/file.d.ts.map +1 -1
  10. package/lib/interface/frictionless.d.ts +3 -3
  11. package/lib/interface/frictionless.d.ts.map +1 -1
  12. package/lib/interface/location.d.ts +15 -6
  13. package/lib/interface/location.d.ts.map +1 -1
  14. package/lib/interface/location.js +12 -0
  15. package/lib/interface/location.js.map +1 -1
  16. package/lib/interface/mealplan.d.ts +6 -5
  17. package/lib/interface/mealplan.d.ts.map +1 -1
  18. package/lib/interface/menu.d.ts +498 -406
  19. package/lib/interface/menu.d.ts.map +1 -1
  20. package/lib/interface/menu.js +6 -0
  21. package/lib/interface/menu.js.map +1 -1
  22. package/lib/interface/notification.d.ts +2 -2
  23. package/lib/interface/notification.d.ts.map +1 -1
  24. package/lib/interface/order.d.ts +6 -6
  25. package/lib/interface/order.d.ts.map +1 -1
  26. package/lib/interface/partner.d.ts +11 -6
  27. package/lib/interface/partner.d.ts.map +1 -1
  28. package/lib/interface/partner.js +6 -0
  29. package/lib/interface/partner.js.map +1 -1
  30. package/lib/interface/payment.d.ts +4 -4
  31. package/lib/interface/payment.d.ts.map +1 -1
  32. package/lib/interface/promo.d.ts +13 -6
  33. package/lib/interface/promo.d.ts.map +1 -1
  34. package/lib/interface/promo.js +8 -0
  35. package/lib/interface/promo.js.map +1 -1
  36. package/lib/interface/report.d.ts +8 -8
  37. package/lib/interface/report.d.ts.map +1 -1
  38. package/lib/interface/shoppingcart.d.ts +14 -9
  39. package/lib/interface/shoppingcart.d.ts.map +1 -1
  40. package/lib/interface/shoppingcart.js +5 -0
  41. package/lib/interface/shoppingcart.js.map +1 -1
  42. package/lib/interface/task.d.ts +14 -14
  43. package/lib/interface/task.d.ts.map +1 -1
  44. package/lib/interface/user.d.ts +16 -21
  45. package/lib/interface/user.d.ts.map +1 -1
  46. package/lib/interface/vendor.d.ts +5 -5
  47. package/lib/interface/vendor.d.ts.map +1 -1
  48. package/package.json +2 -2
  49. package/src/index.ts +26 -5
  50. package/src/interface/announcement.ts +1 -1
  51. package/src/interface/calendar.ts +1 -1
  52. package/src/interface/delivery.ts +15 -2
  53. package/src/interface/file.ts +1 -1
  54. package/src/interface/frictionless.ts +3 -3
  55. package/src/interface/location.ts +16 -8
  56. package/src/interface/mealplan.ts +8 -6
  57. package/src/interface/menu.ts +511 -415
  58. package/src/interface/notification.ts +2 -2
  59. package/src/interface/order.ts +23 -12
  60. package/src/interface/partner.ts +10 -6
  61. package/src/interface/payment.ts +4 -4
  62. package/src/interface/promo.ts +12 -6
  63. package/src/interface/report.ts +8 -8
  64. package/src/interface/shoppingcart.ts +14 -9
  65. package/src/interface/task.ts +26 -14
  66. package/src/interface/user.ts +21 -27
  67. package/src/interface/vendor.ts +5 -5
@@ -283,7 +283,11 @@ export interface Error {
283
283
  data?: any;
284
284
  }
285
285
 
286
- export type AmountOffExclusionTypes = string;
286
+ enum AmountOffExclusionTypes {
287
+ LOYALTY = "loyalty",
288
+ DISCOUNT = "discount",
289
+ PROMO = "promo",
290
+ }
287
291
 
288
292
  export interface Menus {
289
293
  menus?: Menu[];
@@ -312,6 +316,7 @@ export interface ZippedExcelExport {
312
316
  export interface GlobalMenuGroupDTO {
313
317
  name?: string;
314
318
  is_active?: boolean;
319
+ posid_segment?: string;
315
320
  id?: string;
316
321
  permissions?: any;
317
322
  [index: string]: any;
@@ -322,10 +327,11 @@ export interface DraftBrandDTO {
322
327
  name?: string;
323
328
  description?: string;
324
329
  is_active?: boolean;
325
- type?: string;
330
+ type?: "global" | "local";
326
331
  parent_id?: string;
327
332
  local_menu_group_id?: string;
328
333
  global_menu_group_id?: string;
334
+ posid_segment?: string;
329
335
  permissions?: any;
330
336
  [index: string]: any;
331
337
  }
@@ -335,10 +341,11 @@ export interface PublishedBrandDTO {
335
341
  name?: string;
336
342
  description?: string;
337
343
  is_active?: boolean;
338
- type?: string;
344
+ type?: "global" | "local";
339
345
  parent_id?: string;
340
346
  local_menu_group_id?: string;
341
347
  global_menu_group_id?: string;
348
+ posid_segment?: string;
342
349
  permissions?: any;
343
350
  [index: string]: any;
344
351
  }
@@ -423,9 +430,9 @@ export interface PaginationOptionsDTO {
423
430
  page?: number;
424
431
  // A field to sort the results based on
425
432
  sort_by?: string;
426
- sort_order?: string;
433
+ sort_order?: "DESC" | "ASC";
427
434
  // How soft deleted records should be shown in the list
428
- soft_deleted?: string;
435
+ soft_deleted?: "include" | "exclude" | "only";
429
436
  [index: string]: any;
430
437
  }
431
438
 
@@ -440,9 +447,9 @@ export interface ListResponseMetadataDTO {
440
447
  page?: number;
441
448
  // A field to sort the results based on
442
449
  sort_by?: string;
443
- sort_order?: string;
450
+ sort_order?: "DESC" | "ASC";
444
451
  // How soft deleted records should be shown in the list
445
- soft_deleted?: string;
452
+ soft_deleted?: "include" | "exclude" | "only";
446
453
  [index: string]: any;
447
454
  }
448
455
 
@@ -470,6 +477,7 @@ export interface DraftBrandDraftBrandDTO {
470
477
  parent_id?: FilterFieldDTO;
471
478
  local_menu_group_id?: FilterFieldDTO;
472
479
  global_menu_group_id?: FilterFieldDTO;
480
+ posid_segment?: FilterFieldDTO;
473
481
  id?: FilterFieldDTO;
474
482
  version?: FilterFieldDTO;
475
483
  created_at?: FilterFieldDTO;
@@ -480,8 +488,7 @@ export interface DraftBrandDraftBrandDTO {
480
488
  changes?: BrandChangeDTO[];
481
489
  local_menu_group?: LocalMenuGroupDTO;
482
490
  global_menu_group?: GlobalMenuGroupDTO;
483
- posid_segment?: POSIDSegmentDTO;
484
- menus?: any[];
491
+ menus?: DraftMenuDTO[];
485
492
  categories?: any[];
486
493
  category_to_item_relationships?: any[];
487
494
  items?: any[];
@@ -506,108 +513,72 @@ export interface BrandChangeDTO {
506
513
  [index: string]: any;
507
514
  }
508
515
 
509
- export interface POSIDSegmentDTO {
510
- value?: FilterFieldDTO;
511
- modifier_id?: string;
512
- published_modifier?: PublishedModifierDTO;
513
- draft_modifier?: DraftModifierDTO;
514
- item_id?: string;
515
- published_item?: any;
516
- draft_item?: any;
517
- brand_id?: string;
518
- published_brand?: PublishedBrandDTO;
519
- draft_brand?: any;
520
- global_menu_group_id?: string;
521
- global_menu_group?: GlobalMenuGroupDTO;
522
- id?: string;
523
- permissions?: FilterFieldDTO;
524
- [index: string]: any;
525
- }
526
-
527
- export interface PublishedModifierDTO {
516
+ export interface DraftMenuDTO {
528
517
  parent?: any;
529
518
  children?: any[];
530
- posid_segment?: any;
531
- modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
519
+ categories?: DraftCategoryDTO[];
532
520
  id?: string;
533
521
  parent_id?: string;
534
522
  name?: string;
535
- label?: string;
536
- description?: string;
537
- price?: number;
538
- calories?: number;
539
- tax_tags?: FilterFieldDTO[];
540
- is_active?: boolean;
541
- posid?: FilterFieldDTO;
542
- reporting?: any;
543
523
  brand_id?: string;
544
- brand?: PublishedBrandDTO;
545
- weight?: any;
546
- permissions?: FilterFieldDTO;
547
- [index: string]: any;
548
- }
549
-
550
- export interface PublishedModifierGroupToModifierRelationshipDTO {
551
- parent?: any;
552
- children?: any[];
553
- id?: string;
554
- parent_id?: string;
555
- modifier_id?: string;
556
- modifier_group_id?: string;
557
- brand_id?: FilterFieldDTO;
558
- sequence?: number;
559
- modifier_group?: PublishedModifierGroupDTO;
560
- modifier?: any;
561
- brand?: PublishedBrandDTO;
524
+ applied_diff_snapshot?: FilterFieldDTO;
525
+ brand?: any;
526
+ changes?: MenuChangeDTO[];
527
+ vendor_metadata?: VendorMetadataDTO[];
562
528
  permissions?: FilterFieldDTO;
563
529
  [index: string]: any;
564
530
  }
565
531
 
566
- export interface PublishedModifierGroupDTO {
532
+ export interface DraftCategoryDTO {
567
533
  parent?: any;
568
534
  children?: any[];
569
- modifiers?: any[];
570
- items?: PublishedItemToModifierGroupRelationshipDTO[];
571
535
  id?: string;
572
536
  parent_id?: string;
573
537
  name?: string;
574
538
  label?: string;
575
- min?: number;
576
- max?: number;
539
+ sequence?: number;
577
540
  is_active?: boolean;
578
541
  brand_id?: string;
579
- brand?: PublishedBrandDTO;
542
+ menu_id?: string;
543
+ applied_diff_snapshot?: FilterFieldDTO;
544
+ menu?: any;
545
+ items?: DraftCategoryToItemRelationshipDTO[];
546
+ brand?: any;
547
+ changes?: CategoryChangeDTO[];
548
+ vendor_metadata?: VendorMetadataDTO[];
580
549
  permissions?: FilterFieldDTO;
581
550
  [index: string]: any;
582
551
  }
583
552
 
584
- export interface PublishedItemToModifierGroupRelationshipDTO {
553
+ export interface DraftCategoryToItemRelationshipDTO {
585
554
  parent?: any;
586
555
  children?: any[];
587
556
  id?: string;
588
557
  parent_id?: string;
589
- modifier_group_id?: string;
590
558
  item_id?: string;
559
+ category_id?: string;
591
560
  brand_id?: FilterFieldDTO;
592
561
  sequence?: number;
593
- item?: PublishedItemDTO;
594
- modifier_group?: any;
595
- brand?: PublishedBrandDTO;
562
+ applied_diff_snapshot?: FilterFieldDTO;
563
+ category?: any;
564
+ item?: DraftItemDTO;
565
+ brand?: any;
566
+ changes?: CategoryToItemRelationshipChangeDTO[];
567
+ vendor_metadata?: VendorMetadataDTO[];
596
568
  permissions?: FilterFieldDTO;
597
569
  [index: string]: any;
598
570
  }
599
571
 
600
- export interface PublishedItemDTO {
572
+ export interface DraftItemDTO {
601
573
  parent?: any;
602
574
  children?: any[];
603
- posid_segment?: any;
604
- modifier_groups?: any[];
575
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
605
576
  id?: string;
606
577
  parent_id?: string;
607
578
  name?: string;
608
579
  label?: string;
609
580
  description?: string;
610
- reporting?: ReportingMetadataDTO;
581
+ reporting?: any;
611
582
  price?: number;
612
583
  barcode?: string;
613
584
  calories?: number;
@@ -616,127 +587,32 @@ export interface PublishedItemDTO {
616
587
  tax_tags?: FilterFieldDTO[];
617
588
  brand_id?: string;
618
589
  line_route?: FilterFieldDTO;
619
- brand?: PublishedBrandDTO;
620
- categories?: PublishedCategoryToItemRelationshipDTO[];
621
- attachments?: FileAttachmentsDTO;
622
- weight?: WeightDTO;
623
- permissions?: FilterFieldDTO;
624
- [index: string]: any;
625
- }
626
-
627
- export interface PublishedCategoryToItemRelationshipDTO {
628
- parent?: any;
629
- children?: any[];
630
- id?: string;
631
- parent_id?: string;
632
- item_id?: string;
633
- category_id?: string;
634
- brand_id?: FilterFieldDTO;
635
- sequence?: number;
636
- category?: PublishedCategoryDTO;
637
- item?: any;
638
- brand?: PublishedBrandDTO;
639
- permissions?: FilterFieldDTO;
640
- [index: string]: any;
641
- }
642
-
643
- export interface PublishedCategoryDTO {
644
- parent?: any;
645
- children?: any[];
646
- id?: string;
647
- parent_id?: string;
648
- name?: string;
649
- label?: string;
650
- sequence?: number;
651
- is_active?: boolean;
652
- brand_id?: string;
653
- menu_id?: string;
654
- menu?: PublishedMenuDTO;
655
- items?: any[];
656
- brand?: PublishedBrandDTO;
657
- permissions?: FilterFieldDTO;
658
- [index: string]: any;
659
- }
660
-
661
- export interface PublishedMenuDTO {
662
- parent?: any;
663
- children?: any[];
664
- categories?: any[];
665
- id?: string;
666
- parent_id?: string;
667
- name?: string;
668
- brand_id?: string;
669
- brand?: PublishedBrandDTO;
670
- permissions?: FilterFieldDTO;
671
- [index: string]: any;
672
- }
673
-
674
- export interface ReportingMetadataDTO {
675
- category?: ReportingCategoryMetadataDTO;
676
- id?: any;
677
- [index: string]: any;
678
- }
679
-
680
- export interface ReportingCategoryMetadataDTO {
681
- primary?: string;
682
- secondary?: FilterFieldDTO;
683
- id?: any;
684
- [index: string]: any;
685
- }
686
-
687
- export interface FileAttachmentsDTO {
688
- thumbnail?: FilterFieldDTO;
689
- id?: any;
690
- [index: string]: any;
691
- }
692
-
693
- export interface WeightDTO {
694
- unit?: FilterFieldDTO;
695
- amount?: FilterFieldDTO;
696
- id?: any;
697
- [index: string]: any;
698
- }
699
-
700
- export interface DraftModifierDTO {
701
- parent?: any;
702
- children?: any[];
703
- posid_segment?: any;
704
- modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
705
- id?: string;
706
- parent_id?: string;
707
- name?: string;
708
- label?: string;
709
- description?: string;
710
- price?: number;
711
- calories?: number;
712
- tax_tags?: FilterFieldDTO[];
713
- is_active?: boolean;
714
- posid?: FilterFieldDTO;
715
- reporting?: any;
716
- brand_id?: string;
590
+ posid_segment?: FilterFieldDTO;
717
591
  applied_diff_snapshot?: FilterFieldDTO;
718
592
  brand?: any;
719
- changes?: ModifierChangeDTO[];
593
+ categories?: any[];
594
+ changes?: ItemChangeDTO[];
720
595
  vendor_metadata?: VendorMetadataDTO[];
596
+ attachments?: FileAttachmentsDTO;
721
597
  weight?: any;
722
598
  permissions?: FilterFieldDTO;
723
599
  [index: string]: any;
724
600
  }
725
601
 
726
- export interface DraftModifierGroupToModifierRelationshipDTO {
602
+ export interface DraftItemToModifierGroupRelationshipDTO {
727
603
  parent?: any;
728
604
  children?: any[];
729
605
  id?: string;
730
606
  parent_id?: string;
731
- modifier_id?: string;
732
607
  modifier_group_id?: string;
608
+ item_id?: string;
733
609
  brand_id?: FilterFieldDTO;
734
610
  sequence?: number;
735
611
  applied_diff_snapshot?: FilterFieldDTO;
736
- modifier?: any;
612
+ item?: any;
737
613
  modifier_group?: DraftModifierGroupDTO;
738
614
  brand?: any;
739
- changes?: ModifierGroupToModifierRelationshipChangeDTO[];
615
+ changes?: ItemToModifierGroupRelationshipChangeDTO[];
740
616
  vendor_metadata?: VendorMetadataDTO[];
741
617
  permissions?: FilterFieldDTO;
742
618
  [index: string]: any;
@@ -745,8 +621,8 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
745
621
  export interface DraftModifierGroupDTO {
746
622
  parent?: any;
747
623
  children?: any[];
748
- modifiers?: any[];
749
- items?: DraftItemToModifierGroupRelationshipDTO[];
624
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
625
+ items?: any[];
750
626
  id?: string;
751
627
  parent_id?: string;
752
628
  name?: string;
@@ -763,112 +639,82 @@ export interface DraftModifierGroupDTO {
763
639
  [index: string]: any;
764
640
  }
765
641
 
766
- export interface DraftItemToModifierGroupRelationshipDTO {
642
+ export interface DraftModifierGroupToModifierRelationshipDTO {
767
643
  parent?: any;
768
644
  children?: any[];
769
645
  id?: string;
770
646
  parent_id?: string;
647
+ modifier_id?: string;
771
648
  modifier_group_id?: string;
772
- item_id?: string;
773
649
  brand_id?: FilterFieldDTO;
774
650
  sequence?: number;
775
651
  applied_diff_snapshot?: FilterFieldDTO;
776
- item?: DraftItemDTO;
652
+ modifier?: DraftModifierDTO;
777
653
  modifier_group?: any;
778
654
  brand?: any;
779
- changes?: ItemToModifierGroupRelationshipChangeDTO[];
655
+ changes?: ModifierGroupToModifierRelationshipChangeDTO[];
780
656
  vendor_metadata?: VendorMetadataDTO[];
781
657
  permissions?: FilterFieldDTO;
782
658
  [index: string]: any;
783
659
  }
784
660
 
785
- export interface DraftItemDTO {
661
+ export interface DraftModifierDTO {
786
662
  parent?: any;
787
663
  children?: any[];
788
- posid_segment?: any;
789
664
  modifier_groups?: any[];
790
665
  id?: string;
791
666
  parent_id?: string;
792
667
  name?: string;
793
668
  label?: string;
794
669
  description?: string;
795
- reporting?: any;
796
670
  price?: number;
797
- barcode?: string;
798
671
  calories?: number;
672
+ tax_tags?: FilterFieldDTO[];
799
673
  is_active?: boolean;
800
674
  posid?: FilterFieldDTO;
801
- tax_tags?: FilterFieldDTO[];
675
+ reporting?: ReportingMetadataDTO;
676
+ posid_segment?: FilterFieldDTO;
802
677
  brand_id?: string;
803
- line_route?: FilterFieldDTO;
804
678
  applied_diff_snapshot?: FilterFieldDTO;
805
679
  brand?: any;
806
- categories?: DraftCategoryToItemRelationshipDTO[];
807
- changes?: ItemChangeDTO[];
680
+ changes?: ModifierChangeDTO[];
808
681
  vendor_metadata?: VendorMetadataDTO[];
809
- attachments?: any;
810
- weight?: any;
682
+ weight?: WeightDTO;
811
683
  permissions?: FilterFieldDTO;
812
684
  [index: string]: any;
813
685
  }
814
686
 
815
- export interface DraftCategoryToItemRelationshipDTO {
816
- parent?: any;
817
- children?: any[];
687
+ export interface ModifierChangeDTO {
818
688
  id?: string;
819
- parent_id?: string;
820
- item_id?: string;
821
- category_id?: string;
822
- brand_id?: FilterFieldDTO;
823
- sequence?: number;
824
- applied_diff_snapshot?: FilterFieldDTO;
825
- category?: DraftCategoryDTO;
826
- item?: any;
827
- brand?: any;
828
- changes?: CategoryToItemRelationshipChangeDTO[];
829
- vendor_metadata?: VendorMetadataDTO[];
689
+ insert?: FilterFieldDTO;
690
+ delete?: FilterFieldDTO;
691
+ snapshot_entity_id?: FilterFieldDTO;
692
+ snapshot_entity?: any;
830
693
  permissions?: FilterFieldDTO;
831
694
  [index: string]: any;
832
695
  }
833
696
 
834
- export interface DraftCategoryDTO {
835
- parent?: any;
836
- children?: any[];
837
- id?: string;
838
- parent_id?: string;
839
- name?: string;
840
- label?: string;
841
- sequence?: number;
842
- is_active?: boolean;
843
- brand_id?: string;
844
- menu_id?: string;
845
- applied_diff_snapshot?: FilterFieldDTO;
846
- menu?: DraftMenuDTO;
847
- items?: any[];
848
- brand?: any;
849
- changes?: CategoryChangeDTO[];
850
- vendor_metadata?: VendorMetadataDTO[];
851
- permissions?: FilterFieldDTO;
697
+ export interface ReportingMetadataDTO {
698
+ category?: ReportingCategoryMetadataDTO;
699
+ id?: any;
852
700
  [index: string]: any;
853
701
  }
854
702
 
855
- export interface DraftMenuDTO {
856
- parent?: any;
857
- children?: any[];
858
- categories?: any[];
859
- id?: string;
860
- parent_id?: string;
861
- name?: string;
862
- brand_id?: string;
863
- applied_diff_snapshot?: FilterFieldDTO;
864
- brand?: any;
865
- changes?: MenuChangeDTO[];
866
- vendor_metadata?: VendorMetadataDTO[];
867
- permissions?: FilterFieldDTO;
703
+ export interface ReportingCategoryMetadataDTO {
704
+ primary?: "Food" | "Beverage" | "Sundry" | "Alcohol" | "Snack";
705
+ secondary?: FilterFieldDTO;
706
+ id?: any;
868
707
  [index: string]: any;
869
708
  }
870
709
 
871
- export interface MenuChangeDTO {
710
+ export interface WeightDTO {
711
+ unit?: FilterFieldDTO;
712
+ amount?: FilterFieldDTO;
713
+ id?: any;
714
+ [index: string]: any;
715
+ }
716
+
717
+ export interface ModifierGroupToModifierRelationshipChangeDTO {
872
718
  id?: string;
873
719
  insert?: FilterFieldDTO;
874
720
  delete?: FilterFieldDTO;
@@ -878,7 +724,7 @@ export interface MenuChangeDTO {
878
724
  [index: string]: any;
879
725
  }
880
726
 
881
- export interface CategoryChangeDTO {
727
+ export interface ModifierGroupChangeDTO {
882
728
  id?: string;
883
729
  insert?: FilterFieldDTO;
884
730
  delete?: FilterFieldDTO;
@@ -888,7 +734,7 @@ export interface CategoryChangeDTO {
888
734
  [index: string]: any;
889
735
  }
890
736
 
891
- export interface CategoryToItemRelationshipChangeDTO {
737
+ export interface ItemToModifierGroupRelationshipChangeDTO {
892
738
  id?: string;
893
739
  insert?: FilterFieldDTO;
894
740
  delete?: FilterFieldDTO;
@@ -908,17 +754,13 @@ export interface ItemChangeDTO {
908
754
  [index: string]: any;
909
755
  }
910
756
 
911
- export interface ItemToModifierGroupRelationshipChangeDTO {
912
- id?: string;
913
- insert?: FilterFieldDTO;
914
- delete?: FilterFieldDTO;
915
- snapshot_entity_id?: FilterFieldDTO;
916
- snapshot_entity?: any;
917
- permissions?: FilterFieldDTO;
757
+ export interface FileAttachmentsDTO {
758
+ thumbnail?: FilterFieldDTO;
759
+ id?: any;
918
760
  [index: string]: any;
919
761
  }
920
762
 
921
- export interface ModifierGroupChangeDTO {
763
+ export interface CategoryToItemRelationshipChangeDTO {
922
764
  id?: string;
923
765
  insert?: FilterFieldDTO;
924
766
  delete?: FilterFieldDTO;
@@ -928,7 +770,7 @@ export interface ModifierGroupChangeDTO {
928
770
  [index: string]: any;
929
771
  }
930
772
 
931
- export interface ModifierGroupToModifierRelationshipChangeDTO {
773
+ export interface CategoryChangeDTO {
932
774
  id?: string;
933
775
  insert?: FilterFieldDTO;
934
776
  delete?: FilterFieldDTO;
@@ -938,7 +780,7 @@ export interface ModifierGroupToModifierRelationshipChangeDTO {
938
780
  [index: string]: any;
939
781
  }
940
782
 
941
- export interface ModifierChangeDTO {
783
+ export interface MenuChangeDTO {
942
784
  id?: string;
943
785
  insert?: FilterFieldDTO;
944
786
  delete?: FilterFieldDTO;
@@ -989,6 +831,7 @@ export interface DraftModifierDraftModifierDTO {
989
831
  tax_tags?: FilterFieldDTO[];
990
832
  is_active?: FilterFieldDTO;
991
833
  posid?: FilterFieldDTO;
834
+ posid_segment?: FilterFieldDTO;
992
835
  brand_id?: FilterFieldDTO;
993
836
  id?: FilterFieldDTO;
994
837
  version?: FilterFieldDTO;
@@ -997,7 +840,6 @@ export interface DraftModifierDraftModifierDTO {
997
840
  deleted_at?: FilterFieldDTO;
998
841
  parent?: any;
999
842
  children?: any[];
1000
- posid_segment?: POSIDSegmentDTO;
1001
843
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
1002
844
  brand?: DraftBrandDTO;
1003
845
  changes?: ModifierChangeDTO[];
@@ -1047,6 +889,7 @@ export interface DraftItemDraftItemDTO {
1047
889
  tax_tags?: FilterFieldDTO[];
1048
890
  brand_id?: FilterFieldDTO;
1049
891
  line_route?: FilterFieldDTO;
892
+ posid_segment?: FilterFieldDTO;
1050
893
  id?: FilterFieldDTO;
1051
894
  version?: FilterFieldDTO;
1052
895
  created_at?: FilterFieldDTO;
@@ -1054,7 +897,6 @@ export interface DraftItemDraftItemDTO {
1054
897
  deleted_at?: FilterFieldDTO;
1055
898
  parent?: any;
1056
899
  children?: any[];
1057
- posid_segment?: POSIDSegmentDTO;
1058
900
  brand?: DraftBrandDTO;
1059
901
  categories?: DraftCategoryToItemRelationshipDTO[];
1060
902
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
@@ -1105,7 +947,7 @@ export interface GlobalDiffGlobalDiffDTO {
1105
947
  }
1106
948
 
1107
949
  export interface DiffDTO {
1108
- action: string;
950
+ action: "create" | "update" | "delete";
1109
951
  id?: string;
1110
952
  created_at?: string;
1111
953
  updated_at?: string;
@@ -1134,6 +976,110 @@ export interface ApplyDiffDTO {
1134
976
  [index: string]: any;
1135
977
  }
1136
978
 
979
+ export interface PublishedMenuDTO {
980
+ id?: string;
981
+ parent_id?: string;
982
+ name?: string;
983
+ brand_id?: string;
984
+ permissions?: any;
985
+ [index: string]: any;
986
+ }
987
+
988
+ export interface PublishedCategoryDTO {
989
+ id?: string;
990
+ parent_id?: string;
991
+ name?: string;
992
+ label?: string;
993
+ sequence?: number;
994
+ is_active?: boolean;
995
+ brand_id?: string;
996
+ menu_id?: string;
997
+ permissions?: any;
998
+ [index: string]: any;
999
+ }
1000
+
1001
+ export interface PublishedCategoryToItemRelationshipDTO {
1002
+ id?: string;
1003
+ parent_id?: string;
1004
+ item_id?: string;
1005
+ category_id?: string;
1006
+ brand_id?: string;
1007
+ sequence?: number;
1008
+ permissions?: any;
1009
+ [index: string]: any;
1010
+ }
1011
+
1012
+ export interface PublishedItemDTO {
1013
+ id?: string;
1014
+ parent_id?: string;
1015
+ name?: string;
1016
+ label?: string;
1017
+ description?: string;
1018
+ price?: number;
1019
+ barcode?: string;
1020
+ calories?: number;
1021
+ is_active?: boolean;
1022
+ posid?: string;
1023
+ tax_tags?: any[];
1024
+ brand_id?: string;
1025
+ line_route?: string;
1026
+ posid_segment?: string;
1027
+ permissions?: any;
1028
+ [index: string]: any;
1029
+ }
1030
+
1031
+ export interface PublishedItemToModifierGroupRelationshipDTO {
1032
+ id?: string;
1033
+ parent_id?: string;
1034
+ modifier_group_id?: string;
1035
+ item_id?: string;
1036
+ brand_id?: string;
1037
+ sequence?: number;
1038
+ permissions?: any;
1039
+ [index: string]: any;
1040
+ }
1041
+
1042
+ export interface PublishedModifierGroupDTO {
1043
+ id?: string;
1044
+ parent_id?: string;
1045
+ name?: string;
1046
+ label?: string;
1047
+ min?: number;
1048
+ max?: number;
1049
+ is_active?: boolean;
1050
+ brand_id?: string;
1051
+ permissions?: any;
1052
+ [index: string]: any;
1053
+ }
1054
+
1055
+ export interface PublishedModifierGroupToModifierRelationshipDTO {
1056
+ id?: string;
1057
+ parent_id?: string;
1058
+ modifier_id?: string;
1059
+ modifier_group_id?: string;
1060
+ brand_id?: string;
1061
+ sequence?: number;
1062
+ permissions?: any;
1063
+ [index: string]: any;
1064
+ }
1065
+
1066
+ export interface PublishedModifierDTO {
1067
+ id?: string;
1068
+ parent_id?: string;
1069
+ name?: string;
1070
+ label?: string;
1071
+ description?: string;
1072
+ price?: number;
1073
+ calories?: number;
1074
+ tax_tags?: any[];
1075
+ is_active?: boolean;
1076
+ posid?: string;
1077
+ posid_segment?: string;
1078
+ brand_id?: string;
1079
+ permissions?: any;
1080
+ [index: string]: any;
1081
+ }
1082
+
1137
1083
  export interface PublishedBrandPublishedBrandDTO {
1138
1084
  name?: FilterFieldDTO;
1139
1085
  description?: FilterFieldDTO;
@@ -1142,6 +1088,7 @@ export interface PublishedBrandPublishedBrandDTO {
1142
1088
  parent_id?: FilterFieldDTO;
1143
1089
  local_menu_group_id?: FilterFieldDTO;
1144
1090
  global_menu_group_id?: FilterFieldDTO;
1091
+ posid_segment?: FilterFieldDTO;
1145
1092
  id?: FilterFieldDTO;
1146
1093
  version?: FilterFieldDTO;
1147
1094
  created_at?: FilterFieldDTO;
@@ -1151,7 +1098,6 @@ export interface PublishedBrandPublishedBrandDTO {
1151
1098
  children?: any[];
1152
1099
  local_menu_group?: LocalMenuGroupDTO;
1153
1100
  global_menu_group?: GlobalMenuGroupDTO;
1154
- posid_segment?: POSIDSegmentDTO;
1155
1101
  menus?: PublishedMenuDTO[];
1156
1102
  categories?: PublishedCategoryDTO[];
1157
1103
  category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
@@ -1275,7 +1221,6 @@ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelat
1275
1221
  export interface DraftItemEntityDTO {
1276
1222
  parent?: DraftItemDTO;
1277
1223
  children?: DraftItemDTO[];
1278
- posid_segment?: POSIDSegmentDTO;
1279
1224
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1280
1225
  id?: string;
1281
1226
  created_at?: string;
@@ -1294,6 +1239,7 @@ export interface DraftItemEntityDTO {
1294
1239
  tax_tags?: any[];
1295
1240
  brand_id: string;
1296
1241
  line_route?: string;
1242
+ posid_segment?: string;
1297
1243
  applied_diff_snapshot?: any;
1298
1244
  version?: number;
1299
1245
  brand?: DraftBrandDTO;
@@ -1319,6 +1265,7 @@ export interface PublishedItemPublishedItemDTO {
1319
1265
  tax_tags?: FilterFieldDTO[];
1320
1266
  brand_id?: FilterFieldDTO;
1321
1267
  line_route?: FilterFieldDTO;
1268
+ posid_segment?: FilterFieldDTO;
1322
1269
  id?: FilterFieldDTO;
1323
1270
  version?: FilterFieldDTO;
1324
1271
  created_at?: FilterFieldDTO;
@@ -1326,7 +1273,6 @@ export interface PublishedItemPublishedItemDTO {
1326
1273
  deleted_at?: FilterFieldDTO;
1327
1274
  parent?: any;
1328
1275
  children?: any[];
1329
- posid_segment?: POSIDSegmentDTO;
1330
1276
  brand?: PublishedBrandDTO;
1331
1277
  categories?: PublishedCategoryToItemRelationshipDTO[];
1332
1278
  modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
@@ -1448,7 +1394,6 @@ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGr
1448
1394
  export interface DraftModifierEntityDTO {
1449
1395
  parent?: DraftModifierDTO;
1450
1396
  children?: DraftModifierDTO[];
1451
- posid_segment?: POSIDSegmentDTO;
1452
1397
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
1453
1398
  id?: string;
1454
1399
  created_at?: string;
@@ -1464,6 +1409,7 @@ export interface DraftModifierEntityDTO {
1464
1409
  is_active?: boolean;
1465
1410
  posid?: string;
1466
1411
  reporting: ReportingMetadataDTO;
1412
+ posid_segment?: string;
1467
1413
  brand_id: string;
1468
1414
  applied_diff_snapshot?: any;
1469
1415
  version?: number;
@@ -1485,6 +1431,7 @@ export interface PublishedModifierPublishedModifierDTO {
1485
1431
  tax_tags?: FilterFieldDTO[];
1486
1432
  is_active?: FilterFieldDTO;
1487
1433
  posid?: FilterFieldDTO;
1434
+ posid_segment?: FilterFieldDTO;
1488
1435
  brand_id?: FilterFieldDTO;
1489
1436
  id?: FilterFieldDTO;
1490
1437
  version?: FilterFieldDTO;
@@ -1493,7 +1440,6 @@ export interface PublishedModifierPublishedModifierDTO {
1493
1440
  deleted_at?: FilterFieldDTO;
1494
1441
  parent?: any;
1495
1442
  children?: any[];
1496
- posid_segment?: POSIDSegmentDTO;
1497
1443
  modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
1498
1444
  brand?: PublishedBrandDTO;
1499
1445
  reporting?: ReportingMetadataDTO;
@@ -1503,7 +1449,7 @@ export interface PublishedModifierPublishedModifierDTO {
1503
1449
  }
1504
1450
 
1505
1451
  export interface GlobalDiffDTO {
1506
- action: string;
1452
+ action: "create" | "update" | "delete";
1507
1453
  id?: string;
1508
1454
  created_at?: string;
1509
1455
  updated_at?: string;
@@ -2182,15 +2128,17 @@ export interface GetMenuV3LocalMenuGroupsQuery {
2182
2128
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2183
2129
  relationships?: string[];
2184
2130
  // The fields that filtering is allowed on
2185
- filter?: any;
2131
+ filter?: {
2132
+ [index: string]: any;
2133
+ };
2186
2134
  // Number of records to load per page
2187
2135
  limit?: number;
2188
2136
  page?: number;
2189
2137
  // A field to sort the results based on
2190
2138
  sort_by?: string;
2191
- sort_order?: string;
2139
+ sort_order?: "DESC" | "ASC";
2192
2140
  // How soft deleted records should be shown in the list
2193
- soft_deleted?: string;
2141
+ soft_deleted?: "include" | "exclude" | "only";
2194
2142
  // Graphql query string
2195
2143
  _query?: string;
2196
2144
  }
@@ -2233,7 +2181,9 @@ export interface PostMenuV3LocalMenuGroupsRequest extends BaseRequest {
2233
2181
 
2234
2182
  export interface GetMenuV3LocalMenuGroupsCountQuery {
2235
2183
  // The fields that filtering is allowed on
2236
- filter?: any;
2184
+ filter?: {
2185
+ [index: string]: any;
2186
+ };
2237
2187
  // Graphql query string
2238
2188
  _query?: string;
2239
2189
  }
@@ -2259,15 +2209,17 @@ export interface GetMenuV3DraftLocalMenuGroupBrandsQuery {
2259
2209
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2260
2210
  relationships?: string[];
2261
2211
  // The fields that filtering is allowed on
2262
- filter?: any;
2212
+ filter?: {
2213
+ [index: string]: any;
2214
+ };
2263
2215
  // Number of records to load per page
2264
2216
  limit?: number;
2265
2217
  page?: number;
2266
2218
  // A field to sort the results based on
2267
2219
  sort_by?: string;
2268
- sort_order?: string;
2220
+ sort_order?: "DESC" | "ASC";
2269
2221
  // How soft deleted records should be shown in the list
2270
- soft_deleted?: string;
2222
+ soft_deleted?: "include" | "exclude" | "only";
2271
2223
  // Graphql query string
2272
2224
  _query?: string;
2273
2225
  }
@@ -2295,15 +2247,17 @@ export interface GetMenuV3LocalMenuGroupBrandsQuery {
2295
2247
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2296
2248
  relationships?: string[];
2297
2249
  // The fields that filtering is allowed on
2298
- filter?: any;
2250
+ filter?: {
2251
+ [index: string]: any;
2252
+ };
2299
2253
  // Number of records to load per page
2300
2254
  limit?: number;
2301
2255
  page?: number;
2302
2256
  // A field to sort the results based on
2303
2257
  sort_by?: string;
2304
- sort_order?: string;
2258
+ sort_order?: "DESC" | "ASC";
2305
2259
  // How soft deleted records should be shown in the list
2306
- soft_deleted?: string;
2260
+ soft_deleted?: "include" | "exclude" | "only";
2307
2261
  // Graphql query string
2308
2262
  _query?: string;
2309
2263
  }
@@ -2331,15 +2285,17 @@ export interface GetMenuV3LocalMenuGroupAllowedGlobalBrandsQuery {
2331
2285
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2332
2286
  relationships?: string[];
2333
2287
  // The fields that filtering is allowed on
2334
- filter?: any;
2288
+ filter?: {
2289
+ [index: string]: any;
2290
+ };
2335
2291
  // Number of records to load per page
2336
2292
  limit?: number;
2337
2293
  page?: number;
2338
2294
  // A field to sort the results based on
2339
2295
  sort_by?: string;
2340
- sort_order?: string;
2296
+ sort_order?: "DESC" | "ASC";
2341
2297
  // How soft deleted records should be shown in the list
2342
- soft_deleted?: string;
2298
+ soft_deleted?: "include" | "exclude" | "only";
2343
2299
  // Graphql query string
2344
2300
  _query?: string;
2345
2301
  }
@@ -2368,15 +2324,17 @@ export interface PostMenuV3LocalMenuGroupImportBrandsQuery {
2368
2324
  relationships?: string[];
2369
2325
  "body.brand_ids"?: string[];
2370
2326
  // The fields that filtering is allowed on
2371
- filter?: any;
2327
+ filter?: {
2328
+ [index: string]: any;
2329
+ };
2372
2330
  // Number of records to load per page
2373
2331
  limit?: number;
2374
2332
  page?: number;
2375
2333
  // A field to sort the results based on
2376
2334
  sort_by?: string;
2377
- sort_order?: string;
2335
+ sort_order?: "DESC" | "ASC";
2378
2336
  // How soft deleted records should be shown in the list
2379
- soft_deleted?: string;
2337
+ soft_deleted?: "include" | "exclude" | "only";
2380
2338
  }
2381
2339
 
2382
2340
  export interface PostMenuV3LocalMenuGroupImportBrandsResponse {
@@ -2398,7 +2356,7 @@ export interface PostMenuV3GlobalMenuGroupBody {
2398
2356
  allowed_local_menu_groups?: LocalMenuGroupDTO[];
2399
2357
  draft_brands?: DraftBrandDTO[];
2400
2358
  published_brands?: PublishedBrandDTO[];
2401
- posid_segment?: POSIDSegmentDTO;
2359
+ posid_segment?: string;
2402
2360
  vendor_metadata?: VendorMetadataDTO[];
2403
2361
  permissions?: any;
2404
2362
  [index: string]: any;
@@ -2444,7 +2402,7 @@ export interface PatchMenuV3GlobalMenuGroupBody {
2444
2402
  allowed_local_menu_groups?: LocalMenuGroupDTO[];
2445
2403
  draft_brands?: DraftBrandDTO[];
2446
2404
  published_brands?: PublishedBrandDTO[];
2447
- posid_segment?: POSIDSegmentDTO;
2405
+ posid_segment?: string;
2448
2406
  id?: string;
2449
2407
  version?: number;
2450
2408
  vendor_metadata?: VendorMetadataDTO[];
@@ -2476,7 +2434,7 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
2476
2434
  allowed_local_menu_groups?: LocalMenuGroupDTO[];
2477
2435
  draft_brands?: DraftBrandDTO[];
2478
2436
  published_brands?: PublishedBrandDTO[];
2479
- posid_segment?: POSIDSegmentDTO;
2437
+ posid_segment?: string;
2480
2438
  id?: string;
2481
2439
  created_at?: string;
2482
2440
  updated_at?: string;
@@ -2500,15 +2458,17 @@ export interface GetMenuV3GlobalMenuGroupsQuery {
2500
2458
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2501
2459
  relationships?: string[];
2502
2460
  // The fields that filtering is allowed on
2503
- filter?: any;
2461
+ filter?: {
2462
+ [index: string]: any;
2463
+ };
2504
2464
  // Number of records to load per page
2505
2465
  limit?: number;
2506
2466
  page?: number;
2507
2467
  // A field to sort the results based on
2508
2468
  sort_by?: string;
2509
- sort_order?: string;
2469
+ sort_order?: "DESC" | "ASC";
2510
2470
  // How soft deleted records should be shown in the list
2511
- soft_deleted?: string;
2471
+ soft_deleted?: "include" | "exclude" | "only";
2512
2472
  // Graphql query string
2513
2473
  _query?: string;
2514
2474
  }
@@ -2531,7 +2491,7 @@ export type PostMenuV3GlobalMenuGroupsBody = {
2531
2491
  allowed_local_menu_groups?: LocalMenuGroupDTO[];
2532
2492
  draft_brands?: DraftBrandDTO[];
2533
2493
  published_brands?: PublishedBrandDTO[];
2534
- posid_segment?: POSIDSegmentDTO;
2494
+ posid_segment?: string;
2535
2495
  id?: any;
2536
2496
  vendor_metadata?: VendorMetadataDTO[];
2537
2497
  permissions?: any;
@@ -2552,7 +2512,9 @@ export interface PostMenuV3GlobalMenuGroupsRequest extends BaseRequest {
2552
2512
 
2553
2513
  export interface GetMenuV3GlobalMenuGroupsCountQuery {
2554
2514
  // The fields that filtering is allowed on
2555
- filter?: any;
2515
+ filter?: {
2516
+ [index: string]: any;
2517
+ };
2556
2518
  // Graphql query string
2557
2519
  _query?: string;
2558
2520
  }
@@ -2578,15 +2540,17 @@ export interface GetMenuV3DraftGlobalMenuGroupBrandsQuery {
2578
2540
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2579
2541
  relationships?: string[];
2580
2542
  // The fields that filtering is allowed on
2581
- filter?: any;
2543
+ filter?: {
2544
+ [index: string]: any;
2545
+ };
2582
2546
  // Number of records to load per page
2583
2547
  limit?: number;
2584
2548
  page?: number;
2585
2549
  // A field to sort the results based on
2586
2550
  sort_by?: string;
2587
- sort_order?: string;
2551
+ sort_order?: "DESC" | "ASC";
2588
2552
  // How soft deleted records should be shown in the list
2589
- soft_deleted?: string;
2553
+ soft_deleted?: "include" | "exclude" | "only";
2590
2554
  // Graphql query string
2591
2555
  _query?: string;
2592
2556
  }
@@ -2614,15 +2578,17 @@ export interface GetMenuV3GlobalMenuGroupBrandsQuery {
2614
2578
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2615
2579
  relationships?: string[];
2616
2580
  // The fields that filtering is allowed on
2617
- filter?: any;
2581
+ filter?: {
2582
+ [index: string]: any;
2583
+ };
2618
2584
  // Number of records to load per page
2619
2585
  limit?: number;
2620
2586
  page?: number;
2621
2587
  // A field to sort the results based on
2622
2588
  sort_by?: string;
2623
- sort_order?: string;
2589
+ sort_order?: "DESC" | "ASC";
2624
2590
  // How soft deleted records should be shown in the list
2625
- soft_deleted?: string;
2591
+ soft_deleted?: "include" | "exclude" | "only";
2626
2592
  // Graphql query string
2627
2593
  _query?: string;
2628
2594
  }
@@ -2643,7 +2609,6 @@ export interface GetMenuV3GlobalMenuGroupBrandsRequest
2643
2609
  export interface PostMenuV3DraftBrandBody {
2644
2610
  parent?: DraftBrandDTO;
2645
2611
  children?: DraftBrandDTO[];
2646
- posid_segment?: POSIDSegmentDTO;
2647
2612
  menus?: DraftMenuDTO[];
2648
2613
  categories?: DraftCategoryDTO[];
2649
2614
  category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
@@ -2656,10 +2621,11 @@ export interface PostMenuV3DraftBrandBody {
2656
2621
  name: string;
2657
2622
  description?: string;
2658
2623
  is_active?: boolean;
2659
- type?: string;
2624
+ type?: "global" | "local";
2660
2625
  parent_id?: string;
2661
2626
  local_menu_group_id?: string;
2662
2627
  global_menu_group_id?: string;
2628
+ posid_segment?: string;
2663
2629
  id?: any;
2664
2630
  changes?: BrandChangeDTO[];
2665
2631
  local_menu_group?: LocalMenuGroupDTO;
@@ -2707,7 +2673,6 @@ export interface PatchMenuV3DraftBrandPath {
2707
2673
  export interface PatchMenuV3DraftBrandBody {
2708
2674
  parent?: DraftBrandDTO;
2709
2675
  children?: DraftBrandDTO[];
2710
- posid_segment?: POSIDSegmentDTO;
2711
2676
  menus?: DraftMenuDTO[];
2712
2677
  categories?: DraftCategoryDTO[];
2713
2678
  category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
@@ -2721,10 +2686,11 @@ export interface PatchMenuV3DraftBrandBody {
2721
2686
  name?: string;
2722
2687
  description?: string;
2723
2688
  is_active?: boolean;
2724
- type?: string;
2689
+ type?: "global" | "local";
2725
2690
  parent_id?: string;
2726
2691
  local_menu_group_id?: string;
2727
2692
  global_menu_group_id?: string;
2693
+ posid_segment?: string;
2728
2694
  version?: number;
2729
2695
  changes?: BrandChangeDTO[];
2730
2696
  local_menu_group?: LocalMenuGroupDTO;
@@ -2759,15 +2725,17 @@ export interface GetMenuV3DraftBrandsQuery {
2759
2725
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2760
2726
  relationships?: string[];
2761
2727
  // The fields that filtering is allowed on
2762
- filter?: any;
2728
+ filter?: {
2729
+ [index: string]: any;
2730
+ };
2763
2731
  // Number of records to load per page
2764
2732
  limit?: number;
2765
2733
  page?: number;
2766
2734
  // A field to sort the results based on
2767
2735
  sort_by?: string;
2768
- sort_order?: string;
2736
+ sort_order?: "DESC" | "ASC";
2769
2737
  // How soft deleted records should be shown in the list
2770
- soft_deleted?: string;
2738
+ soft_deleted?: "include" | "exclude" | "only";
2771
2739
  // Graphql query string
2772
2740
  _query?: string;
2773
2741
  }
@@ -2787,7 +2755,6 @@ export interface GetMenuV3DraftBrandsRequest
2787
2755
  export type PostMenuV3DraftBrandsBody = {
2788
2756
  parent?: DraftBrandDTO;
2789
2757
  children?: DraftBrandDTO[];
2790
- posid_segment?: POSIDSegmentDTO;
2791
2758
  menus?: DraftMenuDTO[];
2792
2759
  categories?: DraftCategoryDTO[];
2793
2760
  category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
@@ -2800,10 +2767,11 @@ export type PostMenuV3DraftBrandsBody = {
2800
2767
  name: string;
2801
2768
  description?: string;
2802
2769
  is_active?: boolean;
2803
- type?: string;
2770
+ type?: "global" | "local";
2804
2771
  parent_id?: string;
2805
2772
  local_menu_group_id?: string;
2806
2773
  global_menu_group_id?: string;
2774
+ posid_segment?: string;
2807
2775
  id?: any;
2808
2776
  changes?: BrandChangeDTO[];
2809
2777
  local_menu_group?: LocalMenuGroupDTO;
@@ -2828,7 +2796,9 @@ export interface PostMenuV3DraftBrandsRequest extends BaseRequest {
2828
2796
 
2829
2797
  export interface GetMenuV3DraftBrandsCountQuery {
2830
2798
  // The fields that filtering is allowed on
2831
- filter?: any;
2799
+ filter?: {
2800
+ [index: string]: any;
2801
+ };
2832
2802
  // Graphql query string
2833
2803
  _query?: string;
2834
2804
  }
@@ -2854,15 +2824,17 @@ export interface GetMenuV3DraftBrandMenusQuery {
2854
2824
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2855
2825
  relationships?: string[];
2856
2826
  // The fields that filtering is allowed on
2857
- filter?: any;
2827
+ filter?: {
2828
+ [index: string]: any;
2829
+ };
2858
2830
  // Number of records to load per page
2859
2831
  limit?: number;
2860
2832
  page?: number;
2861
2833
  // A field to sort the results based on
2862
2834
  sort_by?: string;
2863
- sort_order?: string;
2835
+ sort_order?: "DESC" | "ASC";
2864
2836
  // How soft deleted records should be shown in the list
2865
- soft_deleted?: string;
2837
+ soft_deleted?: "include" | "exclude" | "only";
2866
2838
  // Graphql query string
2867
2839
  _query?: string;
2868
2840
  }
@@ -2890,15 +2862,17 @@ export interface GetMenuV3DraftBrandModifiersQuery {
2890
2862
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2891
2863
  relationships?: string[];
2892
2864
  // The fields that filtering is allowed on
2893
- filter?: any;
2865
+ filter?: {
2866
+ [index: string]: any;
2867
+ };
2894
2868
  // Number of records to load per page
2895
2869
  limit?: number;
2896
2870
  page?: number;
2897
2871
  // A field to sort the results based on
2898
2872
  sort_by?: string;
2899
- sort_order?: string;
2873
+ sort_order?: "DESC" | "ASC";
2900
2874
  // How soft deleted records should be shown in the list
2901
- soft_deleted?: string;
2875
+ soft_deleted?: "include" | "exclude" | "only";
2902
2876
  // Graphql query string
2903
2877
  _query?: string;
2904
2878
  }
@@ -2926,15 +2900,17 @@ export interface GetMenuV3DraftBrandModifierGroupsQuery {
2926
2900
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2927
2901
  relationships?: string[];
2928
2902
  // The fields that filtering is allowed on
2929
- filter?: any;
2903
+ filter?: {
2904
+ [index: string]: any;
2905
+ };
2930
2906
  // Number of records to load per page
2931
2907
  limit?: number;
2932
2908
  page?: number;
2933
2909
  // A field to sort the results based on
2934
2910
  sort_by?: string;
2935
- sort_order?: string;
2911
+ sort_order?: "DESC" | "ASC";
2936
2912
  // How soft deleted records should be shown in the list
2937
- soft_deleted?: string;
2913
+ soft_deleted?: "include" | "exclude" | "only";
2938
2914
  // Graphql query string
2939
2915
  _query?: string;
2940
2916
  }
@@ -2962,15 +2938,17 @@ export interface GetMenuV3DraftBrandItemsQuery {
2962
2938
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2963
2939
  relationships?: string[];
2964
2940
  // The fields that filtering is allowed on
2965
- filter?: any;
2941
+ filter?: {
2942
+ [index: string]: any;
2943
+ };
2966
2944
  // Number of records to load per page
2967
2945
  limit?: number;
2968
2946
  page?: number;
2969
2947
  // A field to sort the results based on
2970
2948
  sort_by?: string;
2971
- sort_order?: string;
2949
+ sort_order?: "DESC" | "ASC";
2972
2950
  // How soft deleted records should be shown in the list
2973
- soft_deleted?: string;
2951
+ soft_deleted?: "include" | "exclude" | "only";
2974
2952
  // Graphql query string
2975
2953
  _query?: string;
2976
2954
  }
@@ -3068,15 +3046,17 @@ export interface GetMenuV3DraftBrandDiffsQuery {
3068
3046
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3069
3047
  relationships?: string[];
3070
3048
  // The fields that filtering is allowed on
3071
- filter?: any;
3049
+ filter?: {
3050
+ [index: string]: any;
3051
+ };
3072
3052
  // Number of records to load per page
3073
3053
  limit?: number;
3074
3054
  page?: number;
3075
3055
  // A field to sort the results based on
3076
3056
  sort_by?: string;
3077
- sort_order?: string;
3057
+ sort_order?: "DESC" | "ASC";
3078
3058
  // How soft deleted records should be shown in the list
3079
- soft_deleted?: string;
3059
+ soft_deleted?: "include" | "exclude" | "only";
3080
3060
  // Graphql query string
3081
3061
  _query?: string;
3082
3062
  nocache?: boolean;
@@ -3114,7 +3094,7 @@ export interface PostMenuV3DraftBrandGlobalDiffsApplyRequest
3114
3094
 
3115
3095
  export interface PostMenuV3BrandAttachmentPath {
3116
3096
  id: string;
3117
- name: string;
3097
+ name: "thumbnail";
3118
3098
  }
3119
3099
 
3120
3100
  export interface PostMenuV3BrandAttachmentQuery {
@@ -3139,7 +3119,6 @@ export interface PostMenuV3BrandQuery {
3139
3119
  export interface PostMenuV3BrandBody {
3140
3120
  parent?: PublishedBrandDTO;
3141
3121
  children?: PublishedBrandDTO[];
3142
- posid_segment?: POSIDSegmentDTO;
3143
3122
  menus?: PublishedMenuDTO[];
3144
3123
  categories?: PublishedCategoryDTO[];
3145
3124
  category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
@@ -3151,10 +3130,11 @@ export interface PostMenuV3BrandBody {
3151
3130
  name: string;
3152
3131
  description?: string;
3153
3132
  is_active?: boolean;
3154
- type?: string;
3133
+ type?: "global" | "local";
3155
3134
  parent_id?: string;
3156
3135
  local_menu_group_id?: string;
3157
3136
  global_menu_group_id?: string;
3137
+ posid_segment?: string;
3158
3138
  id?: any;
3159
3139
  local_menu_group?: LocalMenuGroupDTO;
3160
3140
  global_menu_group?: GlobalMenuGroupDTO;
@@ -3205,7 +3185,6 @@ export interface PatchMenuV3BrandQuery {
3205
3185
  export interface PatchMenuV3BrandBody {
3206
3186
  parent?: PublishedBrandDTO;
3207
3187
  children?: PublishedBrandDTO[];
3208
- posid_segment?: POSIDSegmentDTO;
3209
3188
  menus?: PublishedMenuDTO[];
3210
3189
  categories?: PublishedCategoryDTO[];
3211
3190
  category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
@@ -3218,10 +3197,11 @@ export interface PatchMenuV3BrandBody {
3218
3197
  name?: string;
3219
3198
  description?: string;
3220
3199
  is_active?: boolean;
3221
- type?: string;
3200
+ type?: "global" | "local";
3222
3201
  parent_id?: string;
3223
3202
  local_menu_group_id?: string;
3224
3203
  global_menu_group_id?: string;
3204
+ posid_segment?: string;
3225
3205
  version?: number;
3226
3206
  local_menu_group?: LocalMenuGroupDTO;
3227
3207
  global_menu_group?: GlobalMenuGroupDTO;
@@ -3264,15 +3244,17 @@ export interface GetMenuV3BrandsQuery {
3264
3244
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3265
3245
  relationships?: string[];
3266
3246
  // The fields that filtering is allowed on
3267
- filter?: any;
3247
+ filter?: {
3248
+ [index: string]: any;
3249
+ };
3268
3250
  // Number of records to load per page
3269
3251
  limit?: number;
3270
3252
  page?: number;
3271
3253
  // A field to sort the results based on
3272
3254
  sort_by?: string;
3273
- sort_order?: string;
3255
+ sort_order?: "DESC" | "ASC";
3274
3256
  // How soft deleted records should be shown in the list
3275
- soft_deleted?: string;
3257
+ soft_deleted?: "include" | "exclude" | "only";
3276
3258
  // Graphql query string
3277
3259
  _query?: string;
3278
3260
  nocache?: boolean;
@@ -3295,7 +3277,6 @@ export interface PostMenuV3BrandsQuery {
3295
3277
  export type PostMenuV3BrandsBody = {
3296
3278
  parent?: PublishedBrandDTO;
3297
3279
  children?: PublishedBrandDTO[];
3298
- posid_segment?: POSIDSegmentDTO;
3299
3280
  menus?: PublishedMenuDTO[];
3300
3281
  categories?: PublishedCategoryDTO[];
3301
3282
  category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
@@ -3307,10 +3288,11 @@ export type PostMenuV3BrandsBody = {
3307
3288
  name: string;
3308
3289
  description?: string;
3309
3290
  is_active?: boolean;
3310
- type?: string;
3291
+ type?: "global" | "local";
3311
3292
  parent_id?: string;
3312
3293
  local_menu_group_id?: string;
3313
3294
  global_menu_group_id?: string;
3295
+ posid_segment?: string;
3314
3296
  id?: any;
3315
3297
  local_menu_group?: LocalMenuGroupDTO;
3316
3298
  global_menu_group?: GlobalMenuGroupDTO;
@@ -3333,7 +3315,9 @@ export interface PostMenuV3BrandsRequest extends BaseRequest, RequestQuery<PostM
3333
3315
 
3334
3316
  export interface GetMenuV3BrandsCountQuery {
3335
3317
  // The fields that filtering is allowed on
3336
- filter?: any;
3318
+ filter?: {
3319
+ [index: string]: any;
3320
+ };
3337
3321
  // Graphql query string
3338
3322
  _query?: string;
3339
3323
  nocache?: boolean;
@@ -3360,15 +3344,17 @@ export interface GetMenuV3BrandMenusQuery {
3360
3344
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3361
3345
  relationships?: string[];
3362
3346
  // The fields that filtering is allowed on
3363
- filter?: any;
3347
+ filter?: {
3348
+ [index: string]: any;
3349
+ };
3364
3350
  // Number of records to load per page
3365
3351
  limit?: number;
3366
3352
  page?: number;
3367
3353
  // A field to sort the results based on
3368
3354
  sort_by?: string;
3369
- sort_order?: string;
3355
+ sort_order?: "DESC" | "ASC";
3370
3356
  // How soft deleted records should be shown in the list
3371
- soft_deleted?: string;
3357
+ soft_deleted?: "include" | "exclude" | "only";
3372
3358
  // Graphql query string
3373
3359
  _query?: string;
3374
3360
  nocache?: boolean;
@@ -3397,15 +3383,17 @@ export interface GetMenuV3BrandModifiersQuery {
3397
3383
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3398
3384
  relationships?: string[];
3399
3385
  // The fields that filtering is allowed on
3400
- filter?: any;
3386
+ filter?: {
3387
+ [index: string]: any;
3388
+ };
3401
3389
  // Number of records to load per page
3402
3390
  limit?: number;
3403
3391
  page?: number;
3404
3392
  // A field to sort the results based on
3405
3393
  sort_by?: string;
3406
- sort_order?: string;
3394
+ sort_order?: "DESC" | "ASC";
3407
3395
  // How soft deleted records should be shown in the list
3408
- soft_deleted?: string;
3396
+ soft_deleted?: "include" | "exclude" | "only";
3409
3397
  // Graphql query string
3410
3398
  _query?: string;
3411
3399
  nocache?: boolean;
@@ -3434,15 +3422,17 @@ export interface GetMenuV3BrandModifierGroupsQuery {
3434
3422
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3435
3423
  relationships?: string[];
3436
3424
  // The fields that filtering is allowed on
3437
- filter?: any;
3425
+ filter?: {
3426
+ [index: string]: any;
3427
+ };
3438
3428
  // Number of records to load per page
3439
3429
  limit?: number;
3440
3430
  page?: number;
3441
3431
  // A field to sort the results based on
3442
3432
  sort_by?: string;
3443
- sort_order?: string;
3433
+ sort_order?: "DESC" | "ASC";
3444
3434
  // How soft deleted records should be shown in the list
3445
- soft_deleted?: string;
3435
+ soft_deleted?: "include" | "exclude" | "only";
3446
3436
  // Graphql query string
3447
3437
  _query?: string;
3448
3438
  nocache?: boolean;
@@ -3471,15 +3461,17 @@ export interface GetMenuV3BrandItemsQuery {
3471
3461
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3472
3462
  relationships?: string[];
3473
3463
  // The fields that filtering is allowed on
3474
- filter?: any;
3464
+ filter?: {
3465
+ [index: string]: any;
3466
+ };
3475
3467
  // Number of records to load per page
3476
3468
  limit?: number;
3477
3469
  page?: number;
3478
3470
  // A field to sort the results based on
3479
3471
  sort_by?: string;
3480
- sort_order?: string;
3472
+ sort_order?: "DESC" | "ASC";
3481
3473
  // How soft deleted records should be shown in the list
3482
- soft_deleted?: string;
3474
+ soft_deleted?: "include" | "exclude" | "only";
3483
3475
  // Graphql query string
3484
3476
  _query?: string;
3485
3477
  nocache?: boolean;
@@ -3509,7 +3501,6 @@ export interface PostMenuV3BrandLocalQuery {
3509
3501
  export interface PostMenuV3BrandLocalResponse {
3510
3502
  parent?: DraftBrandDTO;
3511
3503
  children?: DraftBrandDTO[];
3512
- posid_segment?: POSIDSegmentDTO;
3513
3504
  menus?: DraftMenuDTO[];
3514
3505
  categories?: DraftCategoryDTO[];
3515
3506
  category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
@@ -3526,10 +3517,11 @@ export interface PostMenuV3BrandLocalResponse {
3526
3517
  name: string;
3527
3518
  description?: string;
3528
3519
  is_active?: boolean;
3529
- type?: string;
3520
+ type?: "global" | "local";
3530
3521
  parent_id?: string;
3531
3522
  local_menu_group_id?: string;
3532
3523
  global_menu_group_id?: string;
3524
+ posid_segment?: string;
3533
3525
  version?: number;
3534
3526
  changes?: BrandChangeDTO[];
3535
3527
  local_menu_group?: LocalMenuGroupDTO;
@@ -3638,15 +3630,17 @@ export interface GetMenuV3DraftMenusQuery {
3638
3630
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3639
3631
  relationships?: string[];
3640
3632
  // The fields that filtering is allowed on
3641
- filter?: any;
3633
+ filter?: {
3634
+ [index: string]: any;
3635
+ };
3642
3636
  // Number of records to load per page
3643
3637
  limit?: number;
3644
3638
  page?: number;
3645
3639
  // A field to sort the results based on
3646
3640
  sort_by?: string;
3647
- sort_order?: string;
3641
+ sort_order?: "DESC" | "ASC";
3648
3642
  // How soft deleted records should be shown in the list
3649
- soft_deleted?: string;
3643
+ soft_deleted?: "include" | "exclude" | "only";
3650
3644
  // Graphql query string
3651
3645
  _query?: string;
3652
3646
  }
@@ -3693,7 +3687,9 @@ export interface PostMenuV3DraftMenusRequest extends BaseRequest {
3693
3687
 
3694
3688
  export interface GetMenuV3DraftMenusCountQuery {
3695
3689
  // The fields that filtering is allowed on
3696
- filter?: any;
3690
+ filter?: {
3691
+ [index: string]: any;
3692
+ };
3697
3693
  // Graphql query string
3698
3694
  _query?: string;
3699
3695
  }
@@ -3719,15 +3715,17 @@ export interface GetMenuV3DraftMenuCategoriesQuery {
3719
3715
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3720
3716
  relationships?: string[];
3721
3717
  // The fields that filtering is allowed on
3722
- filter?: any;
3718
+ filter?: {
3719
+ [index: string]: any;
3720
+ };
3723
3721
  // Number of records to load per page
3724
3722
  limit?: number;
3725
3723
  page?: number;
3726
3724
  // A field to sort the results based on
3727
3725
  sort_by?: string;
3728
- sort_order?: string;
3726
+ sort_order?: "DESC" | "ASC";
3729
3727
  // How soft deleted records should be shown in the list
3730
- soft_deleted?: string;
3728
+ soft_deleted?: "include" | "exclude" | "only";
3731
3729
  // Graphql query string
3732
3730
  _query?: string;
3733
3731
  }
@@ -3788,15 +3786,17 @@ export interface GetMenuV3MenusQuery {
3788
3786
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3789
3787
  relationships?: string[];
3790
3788
  // The fields that filtering is allowed on
3791
- filter?: any;
3789
+ filter?: {
3790
+ [index: string]: any;
3791
+ };
3792
3792
  // Number of records to load per page
3793
3793
  limit?: number;
3794
3794
  page?: number;
3795
3795
  // A field to sort the results based on
3796
3796
  sort_by?: string;
3797
- sort_order?: string;
3797
+ sort_order?: "DESC" | "ASC";
3798
3798
  // How soft deleted records should be shown in the list
3799
- soft_deleted?: string;
3799
+ soft_deleted?: "include" | "exclude" | "only";
3800
3800
  // Graphql query string
3801
3801
  _query?: string;
3802
3802
  nocache?: boolean;
@@ -3814,7 +3814,9 @@ export interface GetMenuV3MenusRequest extends BaseRequest, RequestQuery<GetMenu
3814
3814
 
3815
3815
  export interface GetMenuV3MenusCountQuery {
3816
3816
  // The fields that filtering is allowed on
3817
- filter?: any;
3817
+ filter?: {
3818
+ [index: string]: any;
3819
+ };
3818
3820
  // Graphql query string
3819
3821
  _query?: string;
3820
3822
  nocache?: boolean;
@@ -3841,15 +3843,17 @@ export interface GetMenuV3MenuCategoriesQuery {
3841
3843
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3842
3844
  relationships?: string[];
3843
3845
  // The fields that filtering is allowed on
3844
- filter?: any;
3846
+ filter?: {
3847
+ [index: string]: any;
3848
+ };
3845
3849
  // Number of records to load per page
3846
3850
  limit?: number;
3847
3851
  page?: number;
3848
3852
  // A field to sort the results based on
3849
3853
  sort_by?: string;
3850
- sort_order?: string;
3854
+ sort_order?: "DESC" | "ASC";
3851
3855
  // How soft deleted records should be shown in the list
3852
- soft_deleted?: string;
3856
+ soft_deleted?: "include" | "exclude" | "only";
3853
3857
  // Graphql query string
3854
3858
  _query?: string;
3855
3859
  nocache?: boolean;
@@ -3967,7 +3971,9 @@ export interface DeleteMenuV3DraftCategoryRequest
3967
3971
 
3968
3972
  export interface GetMenuV3DraftCategoriesCountQuery {
3969
3973
  // The fields that filtering is allowed on
3970
- filter?: any;
3974
+ filter?: {
3975
+ [index: string]: any;
3976
+ };
3971
3977
  // Graphql query string
3972
3978
  _query?: string;
3973
3979
  }
@@ -4041,7 +4047,9 @@ export interface GetMenuV3CategoryRequest
4041
4047
 
4042
4048
  export interface GetMenuV3CategorysCountQuery {
4043
4049
  // The fields that filtering is allowed on
4044
- filter?: any;
4050
+ filter?: {
4051
+ [index: string]: any;
4052
+ };
4045
4053
  // Graphql query string
4046
4054
  _query?: string;
4047
4055
  nocache?: boolean;
@@ -4159,15 +4167,17 @@ export interface GetMenuV3DraftCategoryRelationshipsItemsQuery {
4159
4167
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4160
4168
  relationships?: string[];
4161
4169
  // The fields that filtering is allowed on
4162
- filter?: any;
4170
+ filter?: {
4171
+ [index: string]: any;
4172
+ };
4163
4173
  // Number of records to load per page
4164
4174
  limit?: number;
4165
4175
  page?: number;
4166
4176
  // A field to sort the results based on
4167
4177
  sort_by?: string;
4168
- sort_order?: string;
4178
+ sort_order?: "DESC" | "ASC";
4169
4179
  // How soft deleted records should be shown in the list
4170
- soft_deleted?: string;
4180
+ soft_deleted?: "include" | "exclude" | "only";
4171
4181
  // Graphql query string
4172
4182
  _query?: string;
4173
4183
  }
@@ -4217,7 +4227,9 @@ export interface PostMenuV3DraftCategoryRelationshipsItemsRequest extends BaseRe
4217
4227
 
4218
4228
  export interface GetMenuV3DraftCategoryRelationshipsItemsCountQuery {
4219
4229
  // The fields that filtering is allowed on
4220
- filter?: any;
4230
+ filter?: {
4231
+ [index: string]: any;
4232
+ };
4221
4233
  // Graphql query string
4222
4234
  _query?: string;
4223
4235
  }
@@ -4262,15 +4274,17 @@ export interface GetMenuV3CategoryRelationshipsItemsQuery {
4262
4274
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4263
4275
  relationships?: string[];
4264
4276
  // The fields that filtering is allowed on
4265
- filter?: any;
4277
+ filter?: {
4278
+ [index: string]: any;
4279
+ };
4266
4280
  // Number of records to load per page
4267
4281
  limit?: number;
4268
4282
  page?: number;
4269
4283
  // A field to sort the results based on
4270
4284
  sort_by?: string;
4271
- sort_order?: string;
4285
+ sort_order?: "DESC" | "ASC";
4272
4286
  // How soft deleted records should be shown in the list
4273
- soft_deleted?: string;
4287
+ soft_deleted?: "include" | "exclude" | "only";
4274
4288
  // Graphql query string
4275
4289
  _query?: string;
4276
4290
  nocache?: boolean;
@@ -4290,7 +4304,9 @@ export interface GetMenuV3CategoryRelationshipsItemsRequest
4290
4304
 
4291
4305
  export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
4292
4306
  // The fields that filtering is allowed on
4293
- filter?: any;
4307
+ filter?: {
4308
+ [index: string]: any;
4309
+ };
4294
4310
  // Graphql query string
4295
4311
  _query?: string;
4296
4312
  nocache?: boolean;
@@ -4310,7 +4326,6 @@ export interface GetMenuV3CategoryRelationshipsItemsCountRequest
4310
4326
  export interface PostMenuV3DraftItemBody {
4311
4327
  parent?: DraftItemDTO;
4312
4328
  children?: DraftItemDTO[];
4313
- posid_segment?: POSIDSegmentDTO;
4314
4329
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
4315
4330
  parent_id?: string;
4316
4331
  name: string;
@@ -4325,6 +4340,7 @@ export interface PostMenuV3DraftItemBody {
4325
4340
  tax_tags?: any[];
4326
4341
  brand_id: string;
4327
4342
  line_route?: string;
4343
+ posid_segment?: string;
4328
4344
  id?: any;
4329
4345
  applied_diff_snapshot?: any;
4330
4346
  brand?: DraftBrandDTO;
@@ -4374,7 +4390,6 @@ export interface PatchMenuV3DraftItemPath {
4374
4390
  export interface PatchMenuV3DraftItemBody {
4375
4391
  parent?: DraftItemDTO;
4376
4392
  children?: DraftItemDTO[];
4377
- posid_segment?: POSIDSegmentDTO;
4378
4393
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
4379
4394
  id?: string;
4380
4395
  parent_id?: string;
@@ -4390,6 +4405,7 @@ export interface PatchMenuV3DraftItemBody {
4390
4405
  tax_tags?: any[];
4391
4406
  brand_id?: string;
4392
4407
  line_route?: string;
4408
+ posid_segment?: string;
4393
4409
  applied_diff_snapshot?: any;
4394
4410
  version?: number;
4395
4411
  brand?: DraftBrandDTO;
@@ -4426,15 +4442,17 @@ export interface GetMenuV3DraftItemsQuery {
4426
4442
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4427
4443
  relationships?: string[];
4428
4444
  // The fields that filtering is allowed on
4429
- filter?: any;
4445
+ filter?: {
4446
+ [index: string]: any;
4447
+ };
4430
4448
  // Number of records to load per page
4431
4449
  limit?: number;
4432
4450
  page?: number;
4433
4451
  // A field to sort the results based on
4434
4452
  sort_by?: string;
4435
- sort_order?: string;
4453
+ sort_order?: "DESC" | "ASC";
4436
4454
  // How soft deleted records should be shown in the list
4437
- soft_deleted?: string;
4455
+ soft_deleted?: "include" | "exclude" | "only";
4438
4456
  // Graphql query string
4439
4457
  _query?: string;
4440
4458
  }
@@ -4454,7 +4472,6 @@ export interface GetMenuV3DraftItemsRequest
4454
4472
  export type PostMenuV3DraftItemsBody = {
4455
4473
  parent?: DraftItemDTO;
4456
4474
  children?: DraftItemDTO[];
4457
- posid_segment?: POSIDSegmentDTO;
4458
4475
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
4459
4476
  parent_id?: string;
4460
4477
  name: string;
@@ -4469,6 +4486,7 @@ export type PostMenuV3DraftItemsBody = {
4469
4486
  tax_tags?: any[];
4470
4487
  brand_id: string;
4471
4488
  line_route?: string;
4489
+ posid_segment?: string;
4472
4490
  id?: any;
4473
4491
  applied_diff_snapshot?: any;
4474
4492
  brand?: DraftBrandDTO;
@@ -4495,7 +4513,9 @@ export interface PostMenuV3DraftItemsRequest extends BaseRequest {
4495
4513
 
4496
4514
  export interface GetMenuV3DraftItemsCountQuery {
4497
4515
  // The fields that filtering is allowed on
4498
- filter?: any;
4516
+ filter?: {
4517
+ [index: string]: any;
4518
+ };
4499
4519
  // Graphql query string
4500
4520
  _query?: string;
4501
4521
  }
@@ -4515,7 +4535,6 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
4515
4535
  id_list: any[];
4516
4536
  parent?: DraftItemDTO;
4517
4537
  children?: DraftItemDTO[];
4518
- posid_segment?: POSIDSegmentDTO;
4519
4538
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
4520
4539
  id?: string;
4521
4540
  parent_id?: string;
@@ -4531,6 +4550,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
4531
4550
  tax_tags?: any[];
4532
4551
  brand_id?: string;
4533
4552
  line_route?: string;
4553
+ posid_segment?: string;
4534
4554
  applied_diff_snapshot?: any;
4535
4555
  brand?: DraftBrandDTO;
4536
4556
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -4554,7 +4574,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateRequest extends BaseRequest {
4554
4574
 
4555
4575
  export interface PostMenuV3ItemAttachmentPath {
4556
4576
  id: string;
4557
- name: string;
4577
+ name: "thumbnail";
4558
4578
  }
4559
4579
 
4560
4580
  export interface PostMenuV3ItemAttachmentQuery {
@@ -4574,6 +4594,7 @@ export interface PostMenuV3ItemAttachmentRequest
4574
4594
 
4575
4595
  export interface PostMenuV3ItemsImportQuery {
4576
4596
  "body.brand_id"?: string;
4597
+ "body.category_id"?: string;
4577
4598
  "body.data"?: string;
4578
4599
  }
4579
4600
 
@@ -4616,15 +4637,17 @@ export interface GetMenuV3ItemsQuery {
4616
4637
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4617
4638
  relationships?: string[];
4618
4639
  // The fields that filtering is allowed on
4619
- filter?: any;
4640
+ filter?: {
4641
+ [index: string]: any;
4642
+ };
4620
4643
  // Number of records to load per page
4621
4644
  limit?: number;
4622
4645
  page?: number;
4623
4646
  // A field to sort the results based on
4624
4647
  sort_by?: string;
4625
- sort_order?: string;
4648
+ sort_order?: "DESC" | "ASC";
4626
4649
  // How soft deleted records should be shown in the list
4627
- soft_deleted?: string;
4650
+ soft_deleted?: "include" | "exclude" | "only";
4628
4651
  // Graphql query string
4629
4652
  _query?: string;
4630
4653
  nocache?: boolean;
@@ -4642,7 +4665,9 @@ export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenu
4642
4665
 
4643
4666
  export interface GetMenuV3ItemsCountQuery {
4644
4667
  // The fields that filtering is allowed on
4645
- filter?: any;
4668
+ filter?: {
4669
+ [index: string]: any;
4670
+ };
4646
4671
  // Graphql query string
4647
4672
  _query?: string;
4648
4673
  nocache?: boolean;
@@ -4764,15 +4789,17 @@ export interface GetMenuV3DraftItemRelationshipsModifierGroupsQuery {
4764
4789
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4765
4790
  relationships?: string[];
4766
4791
  // The fields that filtering is allowed on
4767
- filter?: any;
4792
+ filter?: {
4793
+ [index: string]: any;
4794
+ };
4768
4795
  // Number of records to load per page
4769
4796
  limit?: number;
4770
4797
  page?: number;
4771
4798
  // A field to sort the results based on
4772
4799
  sort_by?: string;
4773
- sort_order?: string;
4800
+ sort_order?: "DESC" | "ASC";
4774
4801
  // How soft deleted records should be shown in the list
4775
- soft_deleted?: string;
4802
+ soft_deleted?: "include" | "exclude" | "only";
4776
4803
  // Graphql query string
4777
4804
  _query?: string;
4778
4805
  }
@@ -4822,7 +4849,9 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupsRequest extends B
4822
4849
 
4823
4850
  export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery {
4824
4851
  // The fields that filtering is allowed on
4825
- filter?: any;
4852
+ filter?: {
4853
+ [index: string]: any;
4854
+ };
4826
4855
  // Graphql query string
4827
4856
  _query?: string;
4828
4857
  }
@@ -4868,15 +4897,17 @@ export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
4868
4897
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4869
4898
  relationships?: string[];
4870
4899
  // The fields that filtering is allowed on
4871
- filter?: any;
4900
+ filter?: {
4901
+ [index: string]: any;
4902
+ };
4872
4903
  // Number of records to load per page
4873
4904
  limit?: number;
4874
4905
  page?: number;
4875
4906
  // A field to sort the results based on
4876
4907
  sort_by?: string;
4877
- sort_order?: string;
4908
+ sort_order?: "DESC" | "ASC";
4878
4909
  // How soft deleted records should be shown in the list
4879
- soft_deleted?: string;
4910
+ soft_deleted?: "include" | "exclude" | "only";
4880
4911
  // Graphql query string
4881
4912
  _query?: string;
4882
4913
  nocache?: boolean;
@@ -4896,7 +4927,9 @@ export interface GetMenuV3ItemRelationshipsModifierGroupsRequest
4896
4927
 
4897
4928
  export interface GetMenuV3ItemRelationshipsModifierGroupsCountQuery {
4898
4929
  // The fields that filtering is allowed on
4899
- filter?: any;
4930
+ filter?: {
4931
+ [index: string]: any;
4932
+ };
4900
4933
  // Graphql query string
4901
4934
  _query?: string;
4902
4935
  nocache?: boolean;
@@ -5018,15 +5051,17 @@ export interface GetMenuV3DraftModifierGroupsQuery {
5018
5051
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5019
5052
  relationships?: string[];
5020
5053
  // The fields that filtering is allowed on
5021
- filter?: any;
5054
+ filter?: {
5055
+ [index: string]: any;
5056
+ };
5022
5057
  // Number of records to load per page
5023
5058
  limit?: number;
5024
5059
  page?: number;
5025
5060
  // A field to sort the results based on
5026
5061
  sort_by?: string;
5027
- sort_order?: string;
5062
+ sort_order?: "DESC" | "ASC";
5028
5063
  // How soft deleted records should be shown in the list
5029
- soft_deleted?: string;
5064
+ soft_deleted?: "include" | "exclude" | "only";
5030
5065
  // Graphql query string
5031
5066
  _query?: string;
5032
5067
  }
@@ -5078,7 +5113,9 @@ export interface PostMenuV3DraftModifierGroupsRequest extends BaseRequest {
5078
5113
 
5079
5114
  export interface GetMenuV3DraftModifierGroupsCountQuery {
5080
5115
  // The fields that filtering is allowed on
5081
- filter?: any;
5116
+ filter?: {
5117
+ [index: string]: any;
5118
+ };
5082
5119
  // Graphql query string
5083
5120
  _query?: string;
5084
5121
  }
@@ -5092,6 +5129,41 @@ export interface GetMenuV3DraftModifierGroupsCountRequest
5092
5129
  extends BaseRequest,
5093
5130
  RequestQuery<GetMenuV3DraftModifierGroupsCountQuery> {}
5094
5131
 
5132
+ // POST /menu/v3/draft/modifier-group/{id}/duplicate
5133
+
5134
+ export interface PostMenuV3DraftModifierGroupDuplicatePath {
5135
+ id: string;
5136
+ }
5137
+
5138
+ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
5139
+ parent?: DraftModifierGroupDTO;
5140
+ children?: DraftModifierGroupDTO[];
5141
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
5142
+ items?: DraftItemToModifierGroupRelationshipDTO[];
5143
+ id?: string;
5144
+ created_at?: string;
5145
+ updated_at?: string;
5146
+ deleted_at?: string;
5147
+ parent_id?: string;
5148
+ name: string;
5149
+ label?: string;
5150
+ min?: number;
5151
+ max?: number;
5152
+ is_active?: boolean;
5153
+ brand_id: string;
5154
+ applied_diff_snapshot?: any;
5155
+ version?: number;
5156
+ brand?: DraftBrandDTO;
5157
+ changes?: ModifierGroupChangeDTO[];
5158
+ vendor_metadata?: VendorMetadataDTO[];
5159
+ permissions?: any;
5160
+ [index: string]: any;
5161
+ }
5162
+
5163
+ export interface PostMenuV3DraftModifierGroupDuplicateRequest
5164
+ extends BaseRequest,
5165
+ PostMenuV3DraftModifierGroupDuplicatePath {}
5166
+
5095
5167
  // GET /menu/v3/modifier-group/{id}
5096
5168
 
5097
5169
  export interface GetMenuV3ModifierGroupPath {
@@ -5123,15 +5195,17 @@ export interface GetMenuV3ModifierGroupsQuery {
5123
5195
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5124
5196
  relationships?: string[];
5125
5197
  // The fields that filtering is allowed on
5126
- filter?: any;
5198
+ filter?: {
5199
+ [index: string]: any;
5200
+ };
5127
5201
  // Number of records to load per page
5128
5202
  limit?: number;
5129
5203
  page?: number;
5130
5204
  // A field to sort the results based on
5131
5205
  sort_by?: string;
5132
- sort_order?: string;
5206
+ sort_order?: "DESC" | "ASC";
5133
5207
  // How soft deleted records should be shown in the list
5134
- soft_deleted?: string;
5208
+ soft_deleted?: "include" | "exclude" | "only";
5135
5209
  // Graphql query string
5136
5210
  _query?: string;
5137
5211
  nocache?: boolean;
@@ -5151,7 +5225,9 @@ export interface GetMenuV3ModifierGroupsRequest
5151
5225
 
5152
5226
  export interface GetMenuV3ModifierGroupsCountQuery {
5153
5227
  // The fields that filtering is allowed on
5154
- filter?: any;
5228
+ filter?: {
5229
+ [index: string]: any;
5230
+ };
5155
5231
  // Graphql query string
5156
5232
  _query?: string;
5157
5233
  nocache?: boolean;
@@ -5273,15 +5349,17 @@ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersQuery {
5273
5349
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5274
5350
  relationships?: string[];
5275
5351
  // The fields that filtering is allowed on
5276
- filter?: any;
5352
+ filter?: {
5353
+ [index: string]: any;
5354
+ };
5277
5355
  // Number of records to load per page
5278
5356
  limit?: number;
5279
5357
  page?: number;
5280
5358
  // A field to sort the results based on
5281
5359
  sort_by?: string;
5282
- sort_order?: string;
5360
+ sort_order?: "DESC" | "ASC";
5283
5361
  // How soft deleted records should be shown in the list
5284
- soft_deleted?: string;
5362
+ soft_deleted?: "include" | "exclude" | "only";
5285
5363
  // Graphql query string
5286
5364
  _query?: string;
5287
5365
  }
@@ -5331,7 +5409,9 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifiersRequest exten
5331
5409
 
5332
5410
  export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery {
5333
5411
  // The fields that filtering is allowed on
5334
- filter?: any;
5412
+ filter?: {
5413
+ [index: string]: any;
5414
+ };
5335
5415
  // Graphql query string
5336
5416
  _query?: string;
5337
5417
  }
@@ -5377,15 +5457,17 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
5377
5457
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5378
5458
  relationships?: string[];
5379
5459
  // The fields that filtering is allowed on
5380
- filter?: any;
5460
+ filter?: {
5461
+ [index: string]: any;
5462
+ };
5381
5463
  // Number of records to load per page
5382
5464
  limit?: number;
5383
5465
  page?: number;
5384
5466
  // A field to sort the results based on
5385
5467
  sort_by?: string;
5386
- sort_order?: string;
5468
+ sort_order?: "DESC" | "ASC";
5387
5469
  // How soft deleted records should be shown in the list
5388
- soft_deleted?: string;
5470
+ soft_deleted?: "include" | "exclude" | "only";
5389
5471
  // Graphql query string
5390
5472
  _query?: string;
5391
5473
  nocache?: boolean;
@@ -5405,7 +5487,9 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest
5405
5487
 
5406
5488
  export interface GetMenuV3ModifierGroupRelationshipsModifiersCountQuery {
5407
5489
  // The fields that filtering is allowed on
5408
- filter?: any;
5490
+ filter?: {
5491
+ [index: string]: any;
5492
+ };
5409
5493
  // Graphql query string
5410
5494
  _query?: string;
5411
5495
  nocache?: boolean;
@@ -5425,7 +5509,6 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersCountRequest
5425
5509
  export interface PostMenuV3DraftModifierBody {
5426
5510
  parent?: DraftModifierDTO;
5427
5511
  children?: DraftModifierDTO[];
5428
- posid_segment?: POSIDSegmentDTO;
5429
5512
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
5430
5513
  parent_id?: string;
5431
5514
  name: string;
@@ -5437,6 +5520,7 @@ export interface PostMenuV3DraftModifierBody {
5437
5520
  is_active?: boolean;
5438
5521
  posid?: string;
5439
5522
  reporting: ReportingMetadataDTO;
5523
+ posid_segment?: string;
5440
5524
  brand_id: string;
5441
5525
  id?: any;
5442
5526
  applied_diff_snapshot?: any;
@@ -5485,7 +5569,6 @@ export interface PatchMenuV3DraftModifierPath {
5485
5569
  export interface PatchMenuV3DraftModifierBody {
5486
5570
  parent?: DraftModifierDTO;
5487
5571
  children?: DraftModifierDTO[];
5488
- posid_segment?: POSIDSegmentDTO;
5489
5572
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
5490
5573
  id?: string;
5491
5574
  parent_id?: string;
@@ -5498,6 +5581,7 @@ export interface PatchMenuV3DraftModifierBody {
5498
5581
  is_active?: boolean;
5499
5582
  posid?: string;
5500
5583
  reporting?: ReportingMetadataDTO;
5584
+ posid_segment?: string;
5501
5585
  brand_id?: string;
5502
5586
  applied_diff_snapshot?: any;
5503
5587
  version?: number;
@@ -5535,15 +5619,17 @@ export interface GetMenuV3DraftModifiersQuery {
5535
5619
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5536
5620
  relationships?: string[];
5537
5621
  // The fields that filtering is allowed on
5538
- filter?: any;
5622
+ filter?: {
5623
+ [index: string]: any;
5624
+ };
5539
5625
  // Number of records to load per page
5540
5626
  limit?: number;
5541
5627
  page?: number;
5542
5628
  // A field to sort the results based on
5543
5629
  sort_by?: string;
5544
- sort_order?: string;
5630
+ sort_order?: "DESC" | "ASC";
5545
5631
  // How soft deleted records should be shown in the list
5546
- soft_deleted?: string;
5632
+ soft_deleted?: "include" | "exclude" | "only";
5547
5633
  // Graphql query string
5548
5634
  _query?: string;
5549
5635
  }
@@ -5563,7 +5649,6 @@ export interface GetMenuV3DraftModifiersRequest
5563
5649
  export type PostMenuV3DraftModifiersBody = {
5564
5650
  parent?: DraftModifierDTO;
5565
5651
  children?: DraftModifierDTO[];
5566
- posid_segment?: POSIDSegmentDTO;
5567
5652
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
5568
5653
  parent_id?: string;
5569
5654
  name: string;
@@ -5575,6 +5660,7 @@ export type PostMenuV3DraftModifiersBody = {
5575
5660
  is_active?: boolean;
5576
5661
  posid?: string;
5577
5662
  reporting: ReportingMetadataDTO;
5663
+ posid_segment?: string;
5578
5664
  brand_id: string;
5579
5665
  id?: any;
5580
5666
  applied_diff_snapshot?: any;
@@ -5600,7 +5686,9 @@ export interface PostMenuV3DraftModifiersRequest extends BaseRequest {
5600
5686
 
5601
5687
  export interface GetMenuV3DraftModifiersCountQuery {
5602
5688
  // The fields that filtering is allowed on
5603
- filter?: any;
5689
+ filter?: {
5690
+ [index: string]: any;
5691
+ };
5604
5692
  // Graphql query string
5605
5693
  _query?: string;
5606
5694
  }
@@ -5620,7 +5708,6 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
5620
5708
  id_list: any[];
5621
5709
  parent?: DraftModifierDTO;
5622
5710
  children?: DraftModifierDTO[];
5623
- posid_segment?: POSIDSegmentDTO;
5624
5711
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
5625
5712
  id?: string;
5626
5713
  parent_id?: string;
@@ -5633,6 +5720,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
5633
5720
  is_active?: boolean;
5634
5721
  posid?: string;
5635
5722
  reporting?: ReportingMetadataDTO;
5723
+ posid_segment?: string;
5636
5724
  brand_id?: string;
5637
5725
  applied_diff_snapshot?: any;
5638
5726
  brand?: DraftBrandDTO;
@@ -5682,15 +5770,17 @@ export interface GetMenuV3ModifiersQuery {
5682
5770
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5683
5771
  relationships?: string[];
5684
5772
  // The fields that filtering is allowed on
5685
- filter?: any;
5773
+ filter?: {
5774
+ [index: string]: any;
5775
+ };
5686
5776
  // Number of records to load per page
5687
5777
  limit?: number;
5688
5778
  page?: number;
5689
5779
  // A field to sort the results based on
5690
5780
  sort_by?: string;
5691
- sort_order?: string;
5781
+ sort_order?: "DESC" | "ASC";
5692
5782
  // How soft deleted records should be shown in the list
5693
- soft_deleted?: string;
5783
+ soft_deleted?: "include" | "exclude" | "only";
5694
5784
  // Graphql query string
5695
5785
  _query?: string;
5696
5786
  nocache?: boolean;
@@ -5710,7 +5800,9 @@ export interface GetMenuV3ModifiersRequest
5710
5800
 
5711
5801
  export interface GetMenuV3ModifiersCountQuery {
5712
5802
  // The fields that filtering is allowed on
5713
- filter?: any;
5803
+ filter?: {
5804
+ [index: string]: any;
5805
+ };
5714
5806
  // Graphql query string
5715
5807
  _query?: string;
5716
5808
  nocache?: boolean;
@@ -5756,7 +5848,7 @@ export interface GetMenuV3GlobalDiffQuery {
5756
5848
  }
5757
5849
 
5758
5850
  export interface GetMenuV3GlobalDiffResponse {
5759
- action: string;
5851
+ action: "create" | "update" | "delete";
5760
5852
  id?: string;
5761
5853
  created_at?: string;
5762
5854
  updated_at?: string;
@@ -5790,15 +5882,17 @@ export interface GetMenuV3GlobalDiffsQuery {
5790
5882
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5791
5883
  relationships?: string[];
5792
5884
  // The fields that filtering is allowed on
5793
- filter?: any;
5885
+ filter?: {
5886
+ [index: string]: any;
5887
+ };
5794
5888
  // Number of records to load per page
5795
5889
  limit?: number;
5796
5890
  page?: number;
5797
5891
  // A field to sort the results based on
5798
5892
  sort_by?: string;
5799
- sort_order?: string;
5893
+ sort_order?: "DESC" | "ASC";
5800
5894
  // How soft deleted records should be shown in the list
5801
- soft_deleted?: string;
5895
+ soft_deleted?: "include" | "exclude" | "only";
5802
5896
  // Graphql query string
5803
5897
  _query?: string;
5804
5898
  }
@@ -5817,7 +5911,9 @@ export interface GetMenuV3GlobalDiffsRequest
5817
5911
 
5818
5912
  export interface GetMenuV3GlobalDiffsCountQuery {
5819
5913
  // The fields that filtering is allowed on
5820
- filter?: any;
5914
+ filter?: {
5915
+ [index: string]: any;
5916
+ };
5821
5917
  // Graphql query string
5822
5918
  _query?: string;
5823
5919
  }