@compassdigital/sdk.typescript 3.77.1 → 4.1.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 (68) hide show
  1. package/lib/base.js.map +1 -1
  2. package/lib/index.d.ts +13 -6
  3. package/lib/index.d.ts.map +1 -1
  4. package/lib/index.js +11 -2
  5. package/lib/index.js.map +1 -1
  6. package/lib/interface/calendar.d.ts +1 -1
  7. package/lib/interface/delivery.d.ts +2 -2
  8. package/lib/interface/delivery.d.ts.map +1 -1
  9. package/lib/interface/file.d.ts +1 -1
  10. package/lib/interface/file.d.ts.map +1 -1
  11. package/lib/interface/frictionless.d.ts +3 -3
  12. package/lib/interface/frictionless.d.ts.map +1 -1
  13. package/lib/interface/location.d.ts +15 -6
  14. package/lib/interface/location.d.ts.map +1 -1
  15. package/lib/interface/location.js +12 -0
  16. package/lib/interface/location.js.map +1 -1
  17. package/lib/interface/mealplan.d.ts +6 -5
  18. package/lib/interface/mealplan.d.ts.map +1 -1
  19. package/lib/interface/menu.d.ts +498 -406
  20. package/lib/interface/menu.d.ts.map +1 -1
  21. package/lib/interface/menu.js +6 -0
  22. package/lib/interface/menu.js.map +1 -1
  23. package/lib/interface/notification.d.ts +2 -2
  24. package/lib/interface/notification.d.ts.map +1 -1
  25. package/lib/interface/order.d.ts +8 -6
  26. package/lib/interface/order.d.ts.map +1 -1
  27. package/lib/interface/partner.d.ts +11 -6
  28. package/lib/interface/partner.d.ts.map +1 -1
  29. package/lib/interface/partner.js +6 -0
  30. package/lib/interface/partner.js.map +1 -1
  31. package/lib/interface/payment.d.ts +23 -18
  32. package/lib/interface/payment.d.ts.map +1 -1
  33. package/lib/interface/promo.d.ts +13 -6
  34. package/lib/interface/promo.d.ts.map +1 -1
  35. package/lib/interface/promo.js +8 -0
  36. package/lib/interface/promo.js.map +1 -1
  37. package/lib/interface/report.d.ts +8 -8
  38. package/lib/interface/report.d.ts.map +1 -1
  39. package/lib/interface/shoppingcart.d.ts +14 -9
  40. package/lib/interface/shoppingcart.d.ts.map +1 -1
  41. package/lib/interface/shoppingcart.js +5 -0
  42. package/lib/interface/shoppingcart.js.map +1 -1
  43. package/lib/interface/task.d.ts +14 -14
  44. package/lib/interface/task.d.ts.map +1 -1
  45. package/lib/interface/user.d.ts +16 -21
  46. package/lib/interface/user.d.ts.map +1 -1
  47. package/lib/interface/vendor.d.ts +5 -5
  48. package/lib/interface/vendor.d.ts.map +1 -1
  49. package/package.json +2 -2
  50. package/src/index.ts +26 -5
  51. package/src/interface/announcement.ts +1 -1
  52. package/src/interface/calendar.ts +1 -1
  53. package/src/interface/delivery.ts +15 -2
  54. package/src/interface/file.ts +1 -1
  55. package/src/interface/frictionless.ts +3 -3
  56. package/src/interface/location.ts +16 -8
  57. package/src/interface/mealplan.ts +8 -6
  58. package/src/interface/menu.ts +511 -415
  59. package/src/interface/notification.ts +2 -2
  60. package/src/interface/order.ts +27 -12
  61. package/src/interface/partner.ts +10 -6
  62. package/src/interface/payment.ts +26 -18
  63. package/src/interface/promo.ts +12 -6
  64. package/src/interface/report.ts +8 -8
  65. package/src/interface/shoppingcart.ts +14 -9
  66. package/src/interface/task.ts +26 -14
  67. package/src/interface/user.ts +21 -27
  68. package/src/interface/vendor.ts +5 -5
@@ -247,7 +247,11 @@ export interface Error {
247
247
  code?: number;
248
248
  data?: any;
249
249
  }
250
- export type AmountOffExclusionTypes = string;
250
+ declare enum AmountOffExclusionTypes {
251
+ LOYALTY = "loyalty",
252
+ DISCOUNT = "discount",
253
+ PROMO = "promo"
254
+ }
251
255
  export interface Menus {
252
256
  menus?: Menu[];
253
257
  }
@@ -268,6 +272,7 @@ export interface ZippedExcelExport {
268
272
  export interface GlobalMenuGroupDTO {
269
273
  name?: string;
270
274
  is_active?: boolean;
275
+ posid_segment?: string;
271
276
  id?: string;
272
277
  permissions?: any;
273
278
  [index: string]: any;
@@ -277,10 +282,11 @@ export interface DraftBrandDTO {
277
282
  name?: string;
278
283
  description?: string;
279
284
  is_active?: boolean;
280
- type?: string;
285
+ type?: "global" | "local";
281
286
  parent_id?: string;
282
287
  local_menu_group_id?: string;
283
288
  global_menu_group_id?: string;
289
+ posid_segment?: string;
284
290
  permissions?: any;
285
291
  [index: string]: any;
286
292
  }
@@ -289,10 +295,11 @@ export interface PublishedBrandDTO {
289
295
  name?: string;
290
296
  description?: string;
291
297
  is_active?: boolean;
292
- type?: string;
298
+ type?: "global" | "local";
293
299
  parent_id?: string;
294
300
  local_menu_group_id?: string;
295
301
  global_menu_group_id?: string;
302
+ posid_segment?: string;
296
303
  permissions?: any;
297
304
  [index: string]: any;
298
305
  }
@@ -361,8 +368,8 @@ export interface PaginationOptionsDTO {
361
368
  limit?: number;
362
369
  page?: number;
363
370
  sort_by?: string;
364
- sort_order?: string;
365
- soft_deleted?: string;
371
+ sort_order?: "DESC" | "ASC";
372
+ soft_deleted?: "include" | "exclude" | "only";
366
373
  [index: string]: any;
367
374
  }
368
375
  export interface ListResponseMetadataDTO {
@@ -372,8 +379,8 @@ export interface ListResponseMetadataDTO {
372
379
  limit?: number;
373
380
  page?: number;
374
381
  sort_by?: string;
375
- sort_order?: string;
376
- soft_deleted?: string;
382
+ sort_order?: "DESC" | "ASC";
383
+ soft_deleted?: "include" | "exclude" | "only";
377
384
  [index: string]: any;
378
385
  }
379
386
  export interface LocalMenuGroupDTO {
@@ -399,6 +406,7 @@ export interface DraftBrandDraftBrandDTO {
399
406
  parent_id?: FilterFieldDTO;
400
407
  local_menu_group_id?: FilterFieldDTO;
401
408
  global_menu_group_id?: FilterFieldDTO;
409
+ posid_segment?: FilterFieldDTO;
402
410
  id?: FilterFieldDTO;
403
411
  version?: FilterFieldDTO;
404
412
  created_at?: FilterFieldDTO;
@@ -409,8 +417,7 @@ export interface DraftBrandDraftBrandDTO {
409
417
  changes?: BrandChangeDTO[];
410
418
  local_menu_group?: LocalMenuGroupDTO;
411
419
  global_menu_group?: GlobalMenuGroupDTO;
412
- posid_segment?: POSIDSegmentDTO;
413
- menus?: any[];
420
+ menus?: DraftMenuDTO[];
414
421
  categories?: any[];
415
422
  category_to_item_relationships?: any[];
416
423
  items?: any[];
@@ -433,103 +440,69 @@ export interface BrandChangeDTO {
433
440
  permissions?: FilterFieldDTO;
434
441
  [index: string]: any;
435
442
  }
436
- export interface POSIDSegmentDTO {
437
- value?: FilterFieldDTO;
438
- modifier_id?: string;
439
- published_modifier?: PublishedModifierDTO;
440
- draft_modifier?: DraftModifierDTO;
441
- item_id?: string;
442
- published_item?: any;
443
- draft_item?: any;
444
- brand_id?: string;
445
- published_brand?: PublishedBrandDTO;
446
- draft_brand?: any;
447
- global_menu_group_id?: string;
448
- global_menu_group?: GlobalMenuGroupDTO;
449
- id?: string;
450
- permissions?: FilterFieldDTO;
451
- [index: string]: any;
452
- }
453
- export interface PublishedModifierDTO {
443
+ export interface DraftMenuDTO {
454
444
  parent?: any;
455
445
  children?: any[];
456
- posid_segment?: any;
457
- modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
446
+ categories?: DraftCategoryDTO[];
458
447
  id?: string;
459
448
  parent_id?: string;
460
449
  name?: string;
461
- label?: string;
462
- description?: string;
463
- price?: number;
464
- calories?: number;
465
- tax_tags?: FilterFieldDTO[];
466
- is_active?: boolean;
467
- posid?: FilterFieldDTO;
468
- reporting?: any;
469
450
  brand_id?: string;
470
- brand?: PublishedBrandDTO;
471
- weight?: any;
472
- permissions?: FilterFieldDTO;
473
- [index: string]: any;
474
- }
475
- export interface PublishedModifierGroupToModifierRelationshipDTO {
476
- parent?: any;
477
- children?: any[];
478
- id?: string;
479
- parent_id?: string;
480
- modifier_id?: string;
481
- modifier_group_id?: string;
482
- brand_id?: FilterFieldDTO;
483
- sequence?: number;
484
- modifier_group?: PublishedModifierGroupDTO;
485
- modifier?: any;
486
- brand?: PublishedBrandDTO;
451
+ applied_diff_snapshot?: FilterFieldDTO;
452
+ brand?: any;
453
+ changes?: MenuChangeDTO[];
454
+ vendor_metadata?: VendorMetadataDTO[];
487
455
  permissions?: FilterFieldDTO;
488
456
  [index: string]: any;
489
457
  }
490
- export interface PublishedModifierGroupDTO {
458
+ export interface DraftCategoryDTO {
491
459
  parent?: any;
492
460
  children?: any[];
493
- modifiers?: any[];
494
- items?: PublishedItemToModifierGroupRelationshipDTO[];
495
461
  id?: string;
496
462
  parent_id?: string;
497
463
  name?: string;
498
464
  label?: string;
499
- min?: number;
500
- max?: number;
465
+ sequence?: number;
501
466
  is_active?: boolean;
502
467
  brand_id?: string;
503
- brand?: PublishedBrandDTO;
468
+ menu_id?: string;
469
+ applied_diff_snapshot?: FilterFieldDTO;
470
+ menu?: any;
471
+ items?: DraftCategoryToItemRelationshipDTO[];
472
+ brand?: any;
473
+ changes?: CategoryChangeDTO[];
474
+ vendor_metadata?: VendorMetadataDTO[];
504
475
  permissions?: FilterFieldDTO;
505
476
  [index: string]: any;
506
477
  }
507
- export interface PublishedItemToModifierGroupRelationshipDTO {
478
+ export interface DraftCategoryToItemRelationshipDTO {
508
479
  parent?: any;
509
480
  children?: any[];
510
481
  id?: string;
511
482
  parent_id?: string;
512
- modifier_group_id?: string;
513
483
  item_id?: string;
484
+ category_id?: string;
514
485
  brand_id?: FilterFieldDTO;
515
486
  sequence?: number;
516
- item?: PublishedItemDTO;
517
- modifier_group?: any;
518
- brand?: PublishedBrandDTO;
487
+ applied_diff_snapshot?: FilterFieldDTO;
488
+ category?: any;
489
+ item?: DraftItemDTO;
490
+ brand?: any;
491
+ changes?: CategoryToItemRelationshipChangeDTO[];
492
+ vendor_metadata?: VendorMetadataDTO[];
519
493
  permissions?: FilterFieldDTO;
520
494
  [index: string]: any;
521
495
  }
522
- export interface PublishedItemDTO {
496
+ export interface DraftItemDTO {
523
497
  parent?: any;
524
498
  children?: any[];
525
- posid_segment?: any;
526
- modifier_groups?: any[];
499
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
527
500
  id?: string;
528
501
  parent_id?: string;
529
502
  name?: string;
530
503
  label?: string;
531
504
  description?: string;
532
- reporting?: ReportingMetadataDTO;
505
+ reporting?: any;
533
506
  price?: number;
534
507
  barcode?: string;
535
508
  calories?: number;
@@ -538,118 +511,31 @@ export interface PublishedItemDTO {
538
511
  tax_tags?: FilterFieldDTO[];
539
512
  brand_id?: string;
540
513
  line_route?: FilterFieldDTO;
541
- brand?: PublishedBrandDTO;
542
- categories?: PublishedCategoryToItemRelationshipDTO[];
543
- attachments?: FileAttachmentsDTO;
544
- weight?: WeightDTO;
545
- permissions?: FilterFieldDTO;
546
- [index: string]: any;
547
- }
548
- export interface PublishedCategoryToItemRelationshipDTO {
549
- parent?: any;
550
- children?: any[];
551
- id?: string;
552
- parent_id?: string;
553
- item_id?: string;
554
- category_id?: string;
555
- brand_id?: FilterFieldDTO;
556
- sequence?: number;
557
- category?: PublishedCategoryDTO;
558
- item?: any;
559
- brand?: PublishedBrandDTO;
560
- permissions?: FilterFieldDTO;
561
- [index: string]: any;
562
- }
563
- export interface PublishedCategoryDTO {
564
- parent?: any;
565
- children?: any[];
566
- id?: string;
567
- parent_id?: string;
568
- name?: string;
569
- label?: string;
570
- sequence?: number;
571
- is_active?: boolean;
572
- brand_id?: string;
573
- menu_id?: string;
574
- menu?: PublishedMenuDTO;
575
- items?: any[];
576
- brand?: PublishedBrandDTO;
577
- permissions?: FilterFieldDTO;
578
- [index: string]: any;
579
- }
580
- export interface PublishedMenuDTO {
581
- parent?: any;
582
- children?: any[];
583
- categories?: any[];
584
- id?: string;
585
- parent_id?: string;
586
- name?: string;
587
- brand_id?: string;
588
- brand?: PublishedBrandDTO;
589
- permissions?: FilterFieldDTO;
590
- [index: string]: any;
591
- }
592
- export interface ReportingMetadataDTO {
593
- category?: ReportingCategoryMetadataDTO;
594
- id?: any;
595
- [index: string]: any;
596
- }
597
- export interface ReportingCategoryMetadataDTO {
598
- primary?: string;
599
- secondary?: FilterFieldDTO;
600
- id?: any;
601
- [index: string]: any;
602
- }
603
- export interface FileAttachmentsDTO {
604
- thumbnail?: FilterFieldDTO;
605
- id?: any;
606
- [index: string]: any;
607
- }
608
- export interface WeightDTO {
609
- unit?: FilterFieldDTO;
610
- amount?: FilterFieldDTO;
611
- id?: any;
612
- [index: string]: any;
613
- }
614
- export interface DraftModifierDTO {
615
- parent?: any;
616
- children?: any[];
617
- posid_segment?: any;
618
- modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
619
- id?: string;
620
- parent_id?: string;
621
- name?: string;
622
- label?: string;
623
- description?: string;
624
- price?: number;
625
- calories?: number;
626
- tax_tags?: FilterFieldDTO[];
627
- is_active?: boolean;
628
- posid?: FilterFieldDTO;
629
- reporting?: any;
630
- brand_id?: string;
514
+ posid_segment?: FilterFieldDTO;
631
515
  applied_diff_snapshot?: FilterFieldDTO;
632
516
  brand?: any;
633
- changes?: ModifierChangeDTO[];
517
+ categories?: any[];
518
+ changes?: ItemChangeDTO[];
634
519
  vendor_metadata?: VendorMetadataDTO[];
520
+ attachments?: FileAttachmentsDTO;
635
521
  weight?: any;
636
522
  permissions?: FilterFieldDTO;
637
523
  [index: string]: any;
638
524
  }
639
- export interface DraftModifierGroupToModifierRelationshipDTO {
525
+ export interface DraftItemToModifierGroupRelationshipDTO {
640
526
  parent?: any;
641
527
  children?: any[];
642
528
  id?: string;
643
529
  parent_id?: string;
644
- modifier_id?: string;
645
530
  modifier_group_id?: string;
531
+ item_id?: string;
646
532
  brand_id?: FilterFieldDTO;
647
533
  sequence?: number;
648
534
  applied_diff_snapshot?: FilterFieldDTO;
649
- modifier?: any;
535
+ item?: any;
650
536
  modifier_group?: DraftModifierGroupDTO;
651
537
  brand?: any;
652
- changes?: ModifierGroupToModifierRelationshipChangeDTO[];
538
+ changes?: ItemToModifierGroupRelationshipChangeDTO[];
653
539
  vendor_metadata?: VendorMetadataDTO[];
654
540
  permissions?: FilterFieldDTO;
655
541
  [index: string]: any;
@@ -657,8 +543,8 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
657
543
  export interface DraftModifierGroupDTO {
658
544
  parent?: any;
659
545
  children?: any[];
660
- modifiers?: any[];
661
- items?: DraftItemToModifierGroupRelationshipDTO[];
546
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
547
+ items?: any[];
662
548
  id?: string;
663
549
  parent_id?: string;
664
550
  name?: string;
@@ -674,116 +560,76 @@ export interface DraftModifierGroupDTO {
674
560
  permissions?: FilterFieldDTO;
675
561
  [index: string]: any;
676
562
  }
677
- export interface DraftItemToModifierGroupRelationshipDTO {
563
+ export interface DraftModifierGroupToModifierRelationshipDTO {
678
564
  parent?: any;
679
565
  children?: any[];
680
566
  id?: string;
681
567
  parent_id?: string;
568
+ modifier_id?: string;
682
569
  modifier_group_id?: string;
683
- item_id?: string;
684
570
  brand_id?: FilterFieldDTO;
685
571
  sequence?: number;
686
572
  applied_diff_snapshot?: FilterFieldDTO;
687
- item?: DraftItemDTO;
573
+ modifier?: DraftModifierDTO;
688
574
  modifier_group?: any;
689
575
  brand?: any;
690
- changes?: ItemToModifierGroupRelationshipChangeDTO[];
576
+ changes?: ModifierGroupToModifierRelationshipChangeDTO[];
691
577
  vendor_metadata?: VendorMetadataDTO[];
692
578
  permissions?: FilterFieldDTO;
693
579
  [index: string]: any;
694
580
  }
695
- export interface DraftItemDTO {
581
+ export interface DraftModifierDTO {
696
582
  parent?: any;
697
583
  children?: any[];
698
- posid_segment?: any;
699
584
  modifier_groups?: any[];
700
585
  id?: string;
701
586
  parent_id?: string;
702
587
  name?: string;
703
588
  label?: string;
704
589
  description?: string;
705
- reporting?: any;
706
590
  price?: number;
707
- barcode?: string;
708
591
  calories?: number;
592
+ tax_tags?: FilterFieldDTO[];
709
593
  is_active?: boolean;
710
594
  posid?: FilterFieldDTO;
711
- tax_tags?: FilterFieldDTO[];
595
+ reporting?: ReportingMetadataDTO;
596
+ posid_segment?: FilterFieldDTO;
712
597
  brand_id?: string;
713
- line_route?: FilterFieldDTO;
714
598
  applied_diff_snapshot?: FilterFieldDTO;
715
599
  brand?: any;
716
- categories?: DraftCategoryToItemRelationshipDTO[];
717
- changes?: ItemChangeDTO[];
600
+ changes?: ModifierChangeDTO[];
718
601
  vendor_metadata?: VendorMetadataDTO[];
719
- attachments?: any;
720
- weight?: any;
602
+ weight?: WeightDTO;
721
603
  permissions?: FilterFieldDTO;
722
604
  [index: string]: any;
723
605
  }
724
- export interface DraftCategoryToItemRelationshipDTO {
725
- parent?: any;
726
- children?: any[];
606
+ export interface ModifierChangeDTO {
727
607
  id?: string;
728
- parent_id?: string;
729
- item_id?: string;
730
- category_id?: string;
731
- brand_id?: FilterFieldDTO;
732
- sequence?: number;
733
- applied_diff_snapshot?: FilterFieldDTO;
734
- category?: DraftCategoryDTO;
735
- item?: any;
736
- brand?: any;
737
- changes?: CategoryToItemRelationshipChangeDTO[];
738
- vendor_metadata?: VendorMetadataDTO[];
608
+ insert?: FilterFieldDTO;
609
+ delete?: FilterFieldDTO;
610
+ snapshot_entity_id?: FilterFieldDTO;
611
+ snapshot_entity?: any;
739
612
  permissions?: FilterFieldDTO;
740
613
  [index: string]: any;
741
614
  }
742
- export interface DraftCategoryDTO {
743
- parent?: any;
744
- children?: any[];
745
- id?: string;
746
- parent_id?: string;
747
- name?: string;
748
- label?: string;
749
- sequence?: number;
750
- is_active?: boolean;
751
- brand_id?: string;
752
- menu_id?: string;
753
- applied_diff_snapshot?: FilterFieldDTO;
754
- menu?: DraftMenuDTO;
755
- items?: any[];
756
- brand?: any;
757
- changes?: CategoryChangeDTO[];
758
- vendor_metadata?: VendorMetadataDTO[];
759
- permissions?: FilterFieldDTO;
615
+ export interface ReportingMetadataDTO {
616
+ category?: ReportingCategoryMetadataDTO;
617
+ id?: any;
760
618
  [index: string]: any;
761
619
  }
762
- export interface DraftMenuDTO {
763
- parent?: any;
764
- children?: any[];
765
- categories?: any[];
766
- id?: string;
767
- parent_id?: string;
768
- name?: string;
769
- brand_id?: string;
770
- applied_diff_snapshot?: FilterFieldDTO;
771
- brand?: any;
772
- changes?: MenuChangeDTO[];
773
- vendor_metadata?: VendorMetadataDTO[];
774
- permissions?: FilterFieldDTO;
620
+ export interface ReportingCategoryMetadataDTO {
621
+ primary?: "Food" | "Beverage" | "Sundry" | "Alcohol" | "Snack";
622
+ secondary?: FilterFieldDTO;
623
+ id?: any;
775
624
  [index: string]: any;
776
625
  }
777
- export interface MenuChangeDTO {
778
- id?: string;
779
- insert?: FilterFieldDTO;
780
- delete?: FilterFieldDTO;
781
- snapshot_entity_id?: FilterFieldDTO;
782
- snapshot_entity?: any;
783
- permissions?: FilterFieldDTO;
626
+ export interface WeightDTO {
627
+ unit?: FilterFieldDTO;
628
+ amount?: FilterFieldDTO;
629
+ id?: any;
784
630
  [index: string]: any;
785
631
  }
786
- export interface CategoryChangeDTO {
632
+ export interface ModifierGroupToModifierRelationshipChangeDTO {
787
633
  id?: string;
788
634
  insert?: FilterFieldDTO;
789
635
  delete?: FilterFieldDTO;
@@ -792,7 +638,7 @@ export interface CategoryChangeDTO {
792
638
  permissions?: FilterFieldDTO;
793
639
  [index: string]: any;
794
640
  }
795
- export interface CategoryToItemRelationshipChangeDTO {
641
+ export interface ModifierGroupChangeDTO {
796
642
  id?: string;
797
643
  insert?: FilterFieldDTO;
798
644
  delete?: FilterFieldDTO;
@@ -801,7 +647,7 @@ export interface CategoryToItemRelationshipChangeDTO {
801
647
  permissions?: FilterFieldDTO;
802
648
  [index: string]: any;
803
649
  }
804
- export interface ItemChangeDTO {
650
+ export interface ItemToModifierGroupRelationshipChangeDTO {
805
651
  id?: string;
806
652
  insert?: FilterFieldDTO;
807
653
  delete?: FilterFieldDTO;
@@ -810,7 +656,7 @@ export interface ItemChangeDTO {
810
656
  permissions?: FilterFieldDTO;
811
657
  [index: string]: any;
812
658
  }
813
- export interface ItemToModifierGroupRelationshipChangeDTO {
659
+ export interface ItemChangeDTO {
814
660
  id?: string;
815
661
  insert?: FilterFieldDTO;
816
662
  delete?: FilterFieldDTO;
@@ -819,7 +665,12 @@ export interface ItemToModifierGroupRelationshipChangeDTO {
819
665
  permissions?: FilterFieldDTO;
820
666
  [index: string]: any;
821
667
  }
822
- export interface ModifierGroupChangeDTO {
668
+ export interface FileAttachmentsDTO {
669
+ thumbnail?: FilterFieldDTO;
670
+ id?: any;
671
+ [index: string]: any;
672
+ }
673
+ export interface CategoryToItemRelationshipChangeDTO {
823
674
  id?: string;
824
675
  insert?: FilterFieldDTO;
825
676
  delete?: FilterFieldDTO;
@@ -828,7 +679,7 @@ export interface ModifierGroupChangeDTO {
828
679
  permissions?: FilterFieldDTO;
829
680
  [index: string]: any;
830
681
  }
831
- export interface ModifierGroupToModifierRelationshipChangeDTO {
682
+ export interface CategoryChangeDTO {
832
683
  id?: string;
833
684
  insert?: FilterFieldDTO;
834
685
  delete?: FilterFieldDTO;
@@ -837,7 +688,7 @@ export interface ModifierGroupToModifierRelationshipChangeDTO {
837
688
  permissions?: FilterFieldDTO;
838
689
  [index: string]: any;
839
690
  }
840
- export interface ModifierChangeDTO {
691
+ export interface MenuChangeDTO {
841
692
  id?: string;
842
693
  insert?: FilterFieldDTO;
843
694
  delete?: FilterFieldDTO;
@@ -885,6 +736,7 @@ export interface DraftModifierDraftModifierDTO {
885
736
  tax_tags?: FilterFieldDTO[];
886
737
  is_active?: FilterFieldDTO;
887
738
  posid?: FilterFieldDTO;
739
+ posid_segment?: FilterFieldDTO;
888
740
  brand_id?: FilterFieldDTO;
889
741
  id?: FilterFieldDTO;
890
742
  version?: FilterFieldDTO;
@@ -893,7 +745,6 @@ export interface DraftModifierDraftModifierDTO {
893
745
  deleted_at?: FilterFieldDTO;
894
746
  parent?: any;
895
747
  children?: any[];
896
- posid_segment?: POSIDSegmentDTO;
897
748
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
898
749
  brand?: DraftBrandDTO;
899
750
  changes?: ModifierChangeDTO[];
@@ -941,6 +792,7 @@ export interface DraftItemDraftItemDTO {
941
792
  tax_tags?: FilterFieldDTO[];
942
793
  brand_id?: FilterFieldDTO;
943
794
  line_route?: FilterFieldDTO;
795
+ posid_segment?: FilterFieldDTO;
944
796
  id?: FilterFieldDTO;
945
797
  version?: FilterFieldDTO;
946
798
  created_at?: FilterFieldDTO;
@@ -948,7 +800,6 @@ export interface DraftItemDraftItemDTO {
948
800
  deleted_at?: FilterFieldDTO;
949
801
  parent?: any;
950
802
  children?: any[];
951
- posid_segment?: POSIDSegmentDTO;
952
803
  brand?: DraftBrandDTO;
953
804
  categories?: DraftCategoryToItemRelationshipDTO[];
954
805
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
@@ -995,7 +846,7 @@ export interface GlobalDiffGlobalDiffDTO {
995
846
  [index: string]: any;
996
847
  }
997
848
  export interface DiffDTO {
998
- action: string;
849
+ action: "create" | "update" | "delete";
999
850
  id?: string;
1000
851
  created_at?: string;
1001
852
  updated_at?: string;
@@ -1022,6 +873,102 @@ export interface ApplyDiffDTO {
1022
873
  id: string;
1023
874
  [index: string]: any;
1024
875
  }
876
+ export interface PublishedMenuDTO {
877
+ id?: string;
878
+ parent_id?: string;
879
+ name?: string;
880
+ brand_id?: string;
881
+ permissions?: any;
882
+ [index: string]: any;
883
+ }
884
+ export interface PublishedCategoryDTO {
885
+ id?: string;
886
+ parent_id?: string;
887
+ name?: string;
888
+ label?: string;
889
+ sequence?: number;
890
+ is_active?: boolean;
891
+ brand_id?: string;
892
+ menu_id?: string;
893
+ permissions?: any;
894
+ [index: string]: any;
895
+ }
896
+ export interface PublishedCategoryToItemRelationshipDTO {
897
+ id?: string;
898
+ parent_id?: string;
899
+ item_id?: string;
900
+ category_id?: string;
901
+ brand_id?: string;
902
+ sequence?: number;
903
+ permissions?: any;
904
+ [index: string]: any;
905
+ }
906
+ export interface PublishedItemDTO {
907
+ id?: string;
908
+ parent_id?: string;
909
+ name?: string;
910
+ label?: string;
911
+ description?: string;
912
+ price?: number;
913
+ barcode?: string;
914
+ calories?: number;
915
+ is_active?: boolean;
916
+ posid?: string;
917
+ tax_tags?: any[];
918
+ brand_id?: string;
919
+ line_route?: string;
920
+ posid_segment?: string;
921
+ permissions?: any;
922
+ [index: string]: any;
923
+ }
924
+ export interface PublishedItemToModifierGroupRelationshipDTO {
925
+ id?: string;
926
+ parent_id?: string;
927
+ modifier_group_id?: string;
928
+ item_id?: string;
929
+ brand_id?: string;
930
+ sequence?: number;
931
+ permissions?: any;
932
+ [index: string]: any;
933
+ }
934
+ export interface PublishedModifierGroupDTO {
935
+ id?: string;
936
+ parent_id?: string;
937
+ name?: string;
938
+ label?: string;
939
+ min?: number;
940
+ max?: number;
941
+ is_active?: boolean;
942
+ brand_id?: string;
943
+ permissions?: any;
944
+ [index: string]: any;
945
+ }
946
+ export interface PublishedModifierGroupToModifierRelationshipDTO {
947
+ id?: string;
948
+ parent_id?: string;
949
+ modifier_id?: string;
950
+ modifier_group_id?: string;
951
+ brand_id?: string;
952
+ sequence?: number;
953
+ permissions?: any;
954
+ [index: string]: any;
955
+ }
956
+ export interface PublishedModifierDTO {
957
+ id?: string;
958
+ parent_id?: string;
959
+ name?: string;
960
+ label?: string;
961
+ description?: string;
962
+ price?: number;
963
+ calories?: number;
964
+ tax_tags?: any[];
965
+ is_active?: boolean;
966
+ posid?: string;
967
+ posid_segment?: string;
968
+ brand_id?: string;
969
+ permissions?: any;
970
+ [index: string]: any;
971
+ }
1025
972
  export interface PublishedBrandPublishedBrandDTO {
1026
973
  name?: FilterFieldDTO;
1027
974
  description?: FilterFieldDTO;
@@ -1030,6 +977,7 @@ export interface PublishedBrandPublishedBrandDTO {
1030
977
  parent_id?: FilterFieldDTO;
1031
978
  local_menu_group_id?: FilterFieldDTO;
1032
979
  global_menu_group_id?: FilterFieldDTO;
980
+ posid_segment?: FilterFieldDTO;
1033
981
  id?: FilterFieldDTO;
1034
982
  version?: FilterFieldDTO;
1035
983
  created_at?: FilterFieldDTO;
@@ -1039,7 +987,6 @@ export interface PublishedBrandPublishedBrandDTO {
1039
987
  children?: any[];
1040
988
  local_menu_group?: LocalMenuGroupDTO;
1041
989
  global_menu_group?: GlobalMenuGroupDTO;
1042
- posid_segment?: POSIDSegmentDTO;
1043
990
  menus?: PublishedMenuDTO[];
1044
991
  categories?: PublishedCategoryDTO[];
1045
992
  category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
@@ -1157,7 +1104,6 @@ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelat
1157
1104
  export interface DraftItemEntityDTO {
1158
1105
  parent?: DraftItemDTO;
1159
1106
  children?: DraftItemDTO[];
1160
- posid_segment?: POSIDSegmentDTO;
1161
1107
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1162
1108
  id?: string;
1163
1109
  created_at?: string;
@@ -1176,6 +1122,7 @@ export interface DraftItemEntityDTO {
1176
1122
  tax_tags?: any[];
1177
1123
  brand_id: string;
1178
1124
  line_route?: string;
1125
+ posid_segment?: string;
1179
1126
  applied_diff_snapshot?: any;
1180
1127
  version?: number;
1181
1128
  brand?: DraftBrandDTO;
@@ -1200,6 +1147,7 @@ export interface PublishedItemPublishedItemDTO {
1200
1147
  tax_tags?: FilterFieldDTO[];
1201
1148
  brand_id?: FilterFieldDTO;
1202
1149
  line_route?: FilterFieldDTO;
1150
+ posid_segment?: FilterFieldDTO;
1203
1151
  id?: FilterFieldDTO;
1204
1152
  version?: FilterFieldDTO;
1205
1153
  created_at?: FilterFieldDTO;
@@ -1207,7 +1155,6 @@ export interface PublishedItemPublishedItemDTO {
1207
1155
  deleted_at?: FilterFieldDTO;
1208
1156
  parent?: any;
1209
1157
  children?: any[];
1210
- posid_segment?: POSIDSegmentDTO;
1211
1158
  brand?: PublishedBrandDTO;
1212
1159
  categories?: PublishedCategoryToItemRelationshipDTO[];
1213
1160
  modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
@@ -1323,7 +1270,6 @@ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGr
1323
1270
  export interface DraftModifierEntityDTO {
1324
1271
  parent?: DraftModifierDTO;
1325
1272
  children?: DraftModifierDTO[];
1326
- posid_segment?: POSIDSegmentDTO;
1327
1273
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
1328
1274
  id?: string;
1329
1275
  created_at?: string;
@@ -1339,6 +1285,7 @@ export interface DraftModifierEntityDTO {
1339
1285
  is_active?: boolean;
1340
1286
  posid?: string;
1341
1287
  reporting: ReportingMetadataDTO;
1288
+ posid_segment?: string;
1342
1289
  brand_id: string;
1343
1290
  applied_diff_snapshot?: any;
1344
1291
  version?: number;
@@ -1359,6 +1306,7 @@ export interface PublishedModifierPublishedModifierDTO {
1359
1306
  tax_tags?: FilterFieldDTO[];
1360
1307
  is_active?: FilterFieldDTO;
1361
1308
  posid?: FilterFieldDTO;
1309
+ posid_segment?: FilterFieldDTO;
1362
1310
  brand_id?: FilterFieldDTO;
1363
1311
  id?: FilterFieldDTO;
1364
1312
  version?: FilterFieldDTO;
@@ -1367,7 +1315,6 @@ export interface PublishedModifierPublishedModifierDTO {
1367
1315
  deleted_at?: FilterFieldDTO;
1368
1316
  parent?: any;
1369
1317
  children?: any[];
1370
- posid_segment?: POSIDSegmentDTO;
1371
1318
  modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
1372
1319
  brand?: PublishedBrandDTO;
1373
1320
  reporting?: ReportingMetadataDTO;
@@ -1376,7 +1323,7 @@ export interface PublishedModifierPublishedModifierDTO {
1376
1323
  [index: string]: any;
1377
1324
  }
1378
1325
  export interface GlobalDiffDTO {
1379
- action: string;
1326
+ action: "create" | "update" | "delete";
1380
1327
  id?: string;
1381
1328
  created_at?: string;
1382
1329
  updated_at?: string;
@@ -1764,12 +1711,14 @@ export interface DeleteMenuV3LocalMenuGroupRequest extends BaseRequest, DeleteMe
1764
1711
  export interface GetMenuV3LocalMenuGroupsQuery {
1765
1712
  select?: string[];
1766
1713
  relationships?: string[];
1767
- filter?: any;
1714
+ filter?: {
1715
+ [index: string]: any;
1716
+ };
1768
1717
  limit?: number;
1769
1718
  page?: number;
1770
1719
  sort_by?: string;
1771
- sort_order?: string;
1772
- soft_deleted?: string;
1720
+ sort_order?: "DESC" | "ASC";
1721
+ soft_deleted?: "include" | "exclude" | "only";
1773
1722
  _query?: string;
1774
1723
  }
1775
1724
  export interface GetMenuV3LocalMenuGroupsResponse {
@@ -1799,7 +1748,9 @@ export interface PostMenuV3LocalMenuGroupsRequest extends BaseRequest {
1799
1748
  body: PostMenuV3LocalMenuGroupsBody;
1800
1749
  }
1801
1750
  export interface GetMenuV3LocalMenuGroupsCountQuery {
1802
- filter?: any;
1751
+ filter?: {
1752
+ [index: string]: any;
1753
+ };
1803
1754
  _query?: string;
1804
1755
  }
1805
1756
  export interface GetMenuV3LocalMenuGroupsCountResponse {
@@ -1814,12 +1765,14 @@ export interface GetMenuV3DraftLocalMenuGroupBrandsPath {
1814
1765
  export interface GetMenuV3DraftLocalMenuGroupBrandsQuery {
1815
1766
  select?: string[];
1816
1767
  relationships?: string[];
1817
- filter?: any;
1768
+ filter?: {
1769
+ [index: string]: any;
1770
+ };
1818
1771
  limit?: number;
1819
1772
  page?: number;
1820
1773
  sort_by?: string;
1821
- sort_order?: string;
1822
- soft_deleted?: string;
1774
+ sort_order?: "DESC" | "ASC";
1775
+ soft_deleted?: "include" | "exclude" | "only";
1823
1776
  _query?: string;
1824
1777
  }
1825
1778
  export interface GetMenuV3DraftLocalMenuGroupBrandsResponse {
@@ -1835,12 +1788,14 @@ export interface GetMenuV3LocalMenuGroupBrandsPath {
1835
1788
  export interface GetMenuV3LocalMenuGroupBrandsQuery {
1836
1789
  select?: string[];
1837
1790
  relationships?: string[];
1838
- filter?: any;
1791
+ filter?: {
1792
+ [index: string]: any;
1793
+ };
1839
1794
  limit?: number;
1840
1795
  page?: number;
1841
1796
  sort_by?: string;
1842
- sort_order?: string;
1843
- soft_deleted?: string;
1797
+ sort_order?: "DESC" | "ASC";
1798
+ soft_deleted?: "include" | "exclude" | "only";
1844
1799
  _query?: string;
1845
1800
  }
1846
1801
  export interface GetMenuV3LocalMenuGroupBrandsResponse {
@@ -1856,12 +1811,14 @@ export interface GetMenuV3LocalMenuGroupAllowedGlobalBrandsPath {
1856
1811
  export interface GetMenuV3LocalMenuGroupAllowedGlobalBrandsQuery {
1857
1812
  select?: string[];
1858
1813
  relationships?: string[];
1859
- filter?: any;
1814
+ filter?: {
1815
+ [index: string]: any;
1816
+ };
1860
1817
  limit?: number;
1861
1818
  page?: number;
1862
1819
  sort_by?: string;
1863
- sort_order?: string;
1864
- soft_deleted?: string;
1820
+ sort_order?: "DESC" | "ASC";
1821
+ soft_deleted?: "include" | "exclude" | "only";
1865
1822
  _query?: string;
1866
1823
  }
1867
1824
  export interface GetMenuV3LocalMenuGroupAllowedGlobalBrandsResponse {
@@ -1878,12 +1835,14 @@ export interface PostMenuV3LocalMenuGroupImportBrandsQuery {
1878
1835
  select?: string[];
1879
1836
  relationships?: string[];
1880
1837
  "body.brand_ids"?: string[];
1881
- filter?: any;
1838
+ filter?: {
1839
+ [index: string]: any;
1840
+ };
1882
1841
  limit?: number;
1883
1842
  page?: number;
1884
1843
  sort_by?: string;
1885
- sort_order?: string;
1886
- soft_deleted?: string;
1844
+ sort_order?: "DESC" | "ASC";
1845
+ soft_deleted?: "include" | "exclude" | "only";
1887
1846
  }
1888
1847
  export interface PostMenuV3LocalMenuGroupImportBrandsResponse {
1889
1848
  results: DraftBrandDTO[];
@@ -1898,7 +1857,7 @@ export interface PostMenuV3GlobalMenuGroupBody {
1898
1857
  allowed_local_menu_groups?: LocalMenuGroupDTO[];
1899
1858
  draft_brands?: DraftBrandDTO[];
1900
1859
  published_brands?: PublishedBrandDTO[];
1901
- posid_segment?: POSIDSegmentDTO;
1860
+ posid_segment?: string;
1902
1861
  vendor_metadata?: VendorMetadataDTO[];
1903
1862
  permissions?: any;
1904
1863
  [index: string]: any;
@@ -1927,7 +1886,7 @@ export interface PatchMenuV3GlobalMenuGroupBody {
1927
1886
  allowed_local_menu_groups?: LocalMenuGroupDTO[];
1928
1887
  draft_brands?: DraftBrandDTO[];
1929
1888
  published_brands?: PublishedBrandDTO[];
1930
- posid_segment?: POSIDSegmentDTO;
1889
+ posid_segment?: string;
1931
1890
  id?: string;
1932
1891
  version?: number;
1933
1892
  vendor_metadata?: VendorMetadataDTO[];
@@ -1950,7 +1909,7 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
1950
1909
  allowed_local_menu_groups?: LocalMenuGroupDTO[];
1951
1910
  draft_brands?: DraftBrandDTO[];
1952
1911
  published_brands?: PublishedBrandDTO[];
1953
- posid_segment?: POSIDSegmentDTO;
1912
+ posid_segment?: string;
1954
1913
  id?: string;
1955
1914
  created_at?: string;
1956
1915
  updated_at?: string;
@@ -1965,12 +1924,14 @@ export interface DeleteMenuV3GlobalMenuGroupRequest extends BaseRequest, Request
1965
1924
  export interface GetMenuV3GlobalMenuGroupsQuery {
1966
1925
  select?: string[];
1967
1926
  relationships?: string[];
1968
- filter?: any;
1927
+ filter?: {
1928
+ [index: string]: any;
1929
+ };
1969
1930
  limit?: number;
1970
1931
  page?: number;
1971
1932
  sort_by?: string;
1972
- sort_order?: string;
1973
- soft_deleted?: string;
1933
+ sort_order?: "DESC" | "ASC";
1934
+ soft_deleted?: "include" | "exclude" | "only";
1974
1935
  _query?: string;
1975
1936
  }
1976
1937
  export interface GetMenuV3GlobalMenuGroupsResponse {
@@ -1986,7 +1947,7 @@ export type PostMenuV3GlobalMenuGroupsBody = {
1986
1947
  allowed_local_menu_groups?: LocalMenuGroupDTO[];
1987
1948
  draft_brands?: DraftBrandDTO[];
1988
1949
  published_brands?: PublishedBrandDTO[];
1989
- posid_segment?: POSIDSegmentDTO;
1950
+ posid_segment?: string;
1990
1951
  id?: any;
1991
1952
  vendor_metadata?: VendorMetadataDTO[];
1992
1953
  permissions?: any;
@@ -2001,7 +1962,9 @@ export interface PostMenuV3GlobalMenuGroupsRequest extends BaseRequest {
2001
1962
  body: PostMenuV3GlobalMenuGroupsBody;
2002
1963
  }
2003
1964
  export interface GetMenuV3GlobalMenuGroupsCountQuery {
2004
- filter?: any;
1965
+ filter?: {
1966
+ [index: string]: any;
1967
+ };
2005
1968
  _query?: string;
2006
1969
  }
2007
1970
  export interface GetMenuV3GlobalMenuGroupsCountResponse {
@@ -2016,12 +1979,14 @@ export interface GetMenuV3DraftGlobalMenuGroupBrandsPath {
2016
1979
  export interface GetMenuV3DraftGlobalMenuGroupBrandsQuery {
2017
1980
  select?: string[];
2018
1981
  relationships?: string[];
2019
- filter?: any;
1982
+ filter?: {
1983
+ [index: string]: any;
1984
+ };
2020
1985
  limit?: number;
2021
1986
  page?: number;
2022
1987
  sort_by?: string;
2023
- sort_order?: string;
2024
- soft_deleted?: string;
1988
+ sort_order?: "DESC" | "ASC";
1989
+ soft_deleted?: "include" | "exclude" | "only";
2025
1990
  _query?: string;
2026
1991
  }
2027
1992
  export interface GetMenuV3DraftGlobalMenuGroupBrandsResponse {
@@ -2037,12 +2002,14 @@ export interface GetMenuV3GlobalMenuGroupBrandsPath {
2037
2002
  export interface GetMenuV3GlobalMenuGroupBrandsQuery {
2038
2003
  select?: string[];
2039
2004
  relationships?: string[];
2040
- filter?: any;
2005
+ filter?: {
2006
+ [index: string]: any;
2007
+ };
2041
2008
  limit?: number;
2042
2009
  page?: number;
2043
2010
  sort_by?: string;
2044
- sort_order?: string;
2045
- soft_deleted?: string;
2011
+ sort_order?: "DESC" | "ASC";
2012
+ soft_deleted?: "include" | "exclude" | "only";
2046
2013
  _query?: string;
2047
2014
  }
2048
2015
  export interface GetMenuV3GlobalMenuGroupBrandsResponse {
@@ -2055,7 +2022,6 @@ export interface GetMenuV3GlobalMenuGroupBrandsRequest extends BaseRequest, Requ
2055
2022
  export interface PostMenuV3DraftBrandBody {
2056
2023
  parent?: DraftBrandDTO;
2057
2024
  children?: DraftBrandDTO[];
2058
- posid_segment?: POSIDSegmentDTO;
2059
2025
  menus?: DraftMenuDTO[];
2060
2026
  categories?: DraftCategoryDTO[];
2061
2027
  category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
@@ -2068,10 +2034,11 @@ export interface PostMenuV3DraftBrandBody {
2068
2034
  name: string;
2069
2035
  description?: string;
2070
2036
  is_active?: boolean;
2071
- type?: string;
2037
+ type?: "global" | "local";
2072
2038
  parent_id?: string;
2073
2039
  local_menu_group_id?: string;
2074
2040
  global_menu_group_id?: string;
2041
+ posid_segment?: string;
2075
2042
  id?: any;
2076
2043
  changes?: BrandChangeDTO[];
2077
2044
  local_menu_group?: LocalMenuGroupDTO;
@@ -2102,7 +2069,6 @@ export interface PatchMenuV3DraftBrandPath {
2102
2069
  export interface PatchMenuV3DraftBrandBody {
2103
2070
  parent?: DraftBrandDTO;
2104
2071
  children?: DraftBrandDTO[];
2105
- posid_segment?: POSIDSegmentDTO;
2106
2072
  menus?: DraftMenuDTO[];
2107
2073
  categories?: DraftCategoryDTO[];
2108
2074
  category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
@@ -2116,10 +2082,11 @@ export interface PatchMenuV3DraftBrandBody {
2116
2082
  name?: string;
2117
2083
  description?: string;
2118
2084
  is_active?: boolean;
2119
- type?: string;
2085
+ type?: "global" | "local";
2120
2086
  parent_id?: string;
2121
2087
  local_menu_group_id?: string;
2122
2088
  global_menu_group_id?: string;
2089
+ posid_segment?: string;
2123
2090
  version?: number;
2124
2091
  changes?: BrandChangeDTO[];
2125
2092
  local_menu_group?: LocalMenuGroupDTO;
@@ -2142,12 +2109,14 @@ export interface DeleteMenuV3DraftBrandRequest extends BaseRequest, DeleteMenuV3
2142
2109
  export interface GetMenuV3DraftBrandsQuery {
2143
2110
  select?: string[];
2144
2111
  relationships?: string[];
2145
- filter?: any;
2112
+ filter?: {
2113
+ [index: string]: any;
2114
+ };
2146
2115
  limit?: number;
2147
2116
  page?: number;
2148
2117
  sort_by?: string;
2149
- sort_order?: string;
2150
- soft_deleted?: string;
2118
+ sort_order?: "DESC" | "ASC";
2119
+ soft_deleted?: "include" | "exclude" | "only";
2151
2120
  _query?: string;
2152
2121
  }
2153
2122
  export interface GetMenuV3DraftBrandsResponse {
@@ -2160,7 +2129,6 @@ export interface GetMenuV3DraftBrandsRequest extends BaseRequest, RequestQuery<G
2160
2129
  export type PostMenuV3DraftBrandsBody = {
2161
2130
  parent?: DraftBrandDTO;
2162
2131
  children?: DraftBrandDTO[];
2163
- posid_segment?: POSIDSegmentDTO;
2164
2132
  menus?: DraftMenuDTO[];
2165
2133
  categories?: DraftCategoryDTO[];
2166
2134
  category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
@@ -2173,10 +2141,11 @@ export type PostMenuV3DraftBrandsBody = {
2173
2141
  name: string;
2174
2142
  description?: string;
2175
2143
  is_active?: boolean;
2176
- type?: string;
2144
+ type?: "global" | "local";
2177
2145
  parent_id?: string;
2178
2146
  local_menu_group_id?: string;
2179
2147
  global_menu_group_id?: string;
2148
+ posid_segment?: string;
2180
2149
  id?: any;
2181
2150
  changes?: BrandChangeDTO[];
2182
2151
  local_menu_group?: LocalMenuGroupDTO;
@@ -2195,7 +2164,9 @@ export interface PostMenuV3DraftBrandsRequest extends BaseRequest {
2195
2164
  body: PostMenuV3DraftBrandsBody;
2196
2165
  }
2197
2166
  export interface GetMenuV3DraftBrandsCountQuery {
2198
- filter?: any;
2167
+ filter?: {
2168
+ [index: string]: any;
2169
+ };
2199
2170
  _query?: string;
2200
2171
  }
2201
2172
  export interface GetMenuV3DraftBrandsCountResponse {
@@ -2210,12 +2181,14 @@ export interface GetMenuV3DraftBrandMenusPath {
2210
2181
  export interface GetMenuV3DraftBrandMenusQuery {
2211
2182
  select?: string[];
2212
2183
  relationships?: string[];
2213
- filter?: any;
2184
+ filter?: {
2185
+ [index: string]: any;
2186
+ };
2214
2187
  limit?: number;
2215
2188
  page?: number;
2216
2189
  sort_by?: string;
2217
- sort_order?: string;
2218
- soft_deleted?: string;
2190
+ sort_order?: "DESC" | "ASC";
2191
+ soft_deleted?: "include" | "exclude" | "only";
2219
2192
  _query?: string;
2220
2193
  }
2221
2194
  export interface GetMenuV3DraftBrandMenusResponse {
@@ -2231,12 +2204,14 @@ export interface GetMenuV3DraftBrandModifiersPath {
2231
2204
  export interface GetMenuV3DraftBrandModifiersQuery {
2232
2205
  select?: string[];
2233
2206
  relationships?: string[];
2234
- filter?: any;
2207
+ filter?: {
2208
+ [index: string]: any;
2209
+ };
2235
2210
  limit?: number;
2236
2211
  page?: number;
2237
2212
  sort_by?: string;
2238
- sort_order?: string;
2239
- soft_deleted?: string;
2213
+ sort_order?: "DESC" | "ASC";
2214
+ soft_deleted?: "include" | "exclude" | "only";
2240
2215
  _query?: string;
2241
2216
  }
2242
2217
  export interface GetMenuV3DraftBrandModifiersResponse {
@@ -2252,12 +2227,14 @@ export interface GetMenuV3DraftBrandModifierGroupsPath {
2252
2227
  export interface GetMenuV3DraftBrandModifierGroupsQuery {
2253
2228
  select?: string[];
2254
2229
  relationships?: string[];
2255
- filter?: any;
2230
+ filter?: {
2231
+ [index: string]: any;
2232
+ };
2256
2233
  limit?: number;
2257
2234
  page?: number;
2258
2235
  sort_by?: string;
2259
- sort_order?: string;
2260
- soft_deleted?: string;
2236
+ sort_order?: "DESC" | "ASC";
2237
+ soft_deleted?: "include" | "exclude" | "only";
2261
2238
  _query?: string;
2262
2239
  }
2263
2240
  export interface GetMenuV3DraftBrandModifierGroupsResponse {
@@ -2273,12 +2250,14 @@ export interface GetMenuV3DraftBrandItemsPath {
2273
2250
  export interface GetMenuV3DraftBrandItemsQuery {
2274
2251
  select?: string[];
2275
2252
  relationships?: string[];
2276
- filter?: any;
2253
+ filter?: {
2254
+ [index: string]: any;
2255
+ };
2277
2256
  limit?: number;
2278
2257
  page?: number;
2279
2258
  sort_by?: string;
2280
- sort_order?: string;
2281
- soft_deleted?: string;
2259
+ sort_order?: "DESC" | "ASC";
2260
+ soft_deleted?: "include" | "exclude" | "only";
2282
2261
  _query?: string;
2283
2262
  }
2284
2263
  export interface GetMenuV3DraftBrandItemsResponse {
@@ -2334,12 +2313,14 @@ export interface GetMenuV3DraftBrandDiffsPath {
2334
2313
  export interface GetMenuV3DraftBrandDiffsQuery {
2335
2314
  select?: string[];
2336
2315
  relationships?: string[];
2337
- filter?: any;
2316
+ filter?: {
2317
+ [index: string]: any;
2318
+ };
2338
2319
  limit?: number;
2339
2320
  page?: number;
2340
2321
  sort_by?: string;
2341
- sort_order?: string;
2342
- soft_deleted?: string;
2322
+ sort_order?: "DESC" | "ASC";
2323
+ soft_deleted?: "include" | "exclude" | "only";
2343
2324
  _query?: string;
2344
2325
  nocache?: boolean;
2345
2326
  }
@@ -2361,7 +2342,7 @@ export interface PostMenuV3DraftBrandGlobalDiffsApplyRequest extends BaseRequest
2361
2342
  }
2362
2343
  export interface PostMenuV3BrandAttachmentPath {
2363
2344
  id: string;
2364
- name: string;
2345
+ name: "thumbnail";
2365
2346
  }
2366
2347
  export interface PostMenuV3BrandAttachmentQuery {
2367
2348
  "body.data"?: string;
@@ -2377,7 +2358,6 @@ export interface PostMenuV3BrandQuery {
2377
2358
  export interface PostMenuV3BrandBody {
2378
2359
  parent?: PublishedBrandDTO;
2379
2360
  children?: PublishedBrandDTO[];
2380
- posid_segment?: POSIDSegmentDTO;
2381
2361
  menus?: PublishedMenuDTO[];
2382
2362
  categories?: PublishedCategoryDTO[];
2383
2363
  category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
@@ -2389,10 +2369,11 @@ export interface PostMenuV3BrandBody {
2389
2369
  name: string;
2390
2370
  description?: string;
2391
2371
  is_active?: boolean;
2392
- type?: string;
2372
+ type?: "global" | "local";
2393
2373
  parent_id?: string;
2394
2374
  local_menu_group_id?: string;
2395
2375
  global_menu_group_id?: string;
2376
+ posid_segment?: string;
2396
2377
  id?: any;
2397
2378
  local_menu_group?: LocalMenuGroupDTO;
2398
2379
  global_menu_group?: GlobalMenuGroupDTO;
@@ -2425,7 +2406,6 @@ export interface PatchMenuV3BrandQuery {
2425
2406
  export interface PatchMenuV3BrandBody {
2426
2407
  parent?: PublishedBrandDTO;
2427
2408
  children?: PublishedBrandDTO[];
2428
- posid_segment?: POSIDSegmentDTO;
2429
2409
  menus?: PublishedMenuDTO[];
2430
2410
  categories?: PublishedCategoryDTO[];
2431
2411
  category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
@@ -2438,10 +2418,11 @@ export interface PatchMenuV3BrandBody {
2438
2418
  name?: string;
2439
2419
  description?: string;
2440
2420
  is_active?: boolean;
2441
- type?: string;
2421
+ type?: "global" | "local";
2442
2422
  parent_id?: string;
2443
2423
  local_menu_group_id?: string;
2444
2424
  global_menu_group_id?: string;
2425
+ posid_segment?: string;
2445
2426
  version?: number;
2446
2427
  local_menu_group?: LocalMenuGroupDTO;
2447
2428
  global_menu_group?: GlobalMenuGroupDTO;
@@ -2465,12 +2446,14 @@ export interface DeleteMenuV3BrandRequest extends BaseRequest, RequestQuery<Dele
2465
2446
  export interface GetMenuV3BrandsQuery {
2466
2447
  select?: string[];
2467
2448
  relationships?: string[];
2468
- filter?: any;
2449
+ filter?: {
2450
+ [index: string]: any;
2451
+ };
2469
2452
  limit?: number;
2470
2453
  page?: number;
2471
2454
  sort_by?: string;
2472
- sort_order?: string;
2473
- soft_deleted?: string;
2455
+ sort_order?: "DESC" | "ASC";
2456
+ soft_deleted?: "include" | "exclude" | "only";
2474
2457
  _query?: string;
2475
2458
  nocache?: boolean;
2476
2459
  }
@@ -2487,7 +2470,6 @@ export interface PostMenuV3BrandsQuery {
2487
2470
  export type PostMenuV3BrandsBody = {
2488
2471
  parent?: PublishedBrandDTO;
2489
2472
  children?: PublishedBrandDTO[];
2490
- posid_segment?: POSIDSegmentDTO;
2491
2473
  menus?: PublishedMenuDTO[];
2492
2474
  categories?: PublishedCategoryDTO[];
2493
2475
  category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
@@ -2499,10 +2481,11 @@ export type PostMenuV3BrandsBody = {
2499
2481
  name: string;
2500
2482
  description?: string;
2501
2483
  is_active?: boolean;
2502
- type?: string;
2484
+ type?: "global" | "local";
2503
2485
  parent_id?: string;
2504
2486
  local_menu_group_id?: string;
2505
2487
  global_menu_group_id?: string;
2488
+ posid_segment?: string;
2506
2489
  id?: any;
2507
2490
  local_menu_group?: LocalMenuGroupDTO;
2508
2491
  global_menu_group?: GlobalMenuGroupDTO;
@@ -2519,7 +2502,9 @@ export interface PostMenuV3BrandsRequest extends BaseRequest, RequestQuery<PostM
2519
2502
  body: PostMenuV3BrandsBody;
2520
2503
  }
2521
2504
  export interface GetMenuV3BrandsCountQuery {
2522
- filter?: any;
2505
+ filter?: {
2506
+ [index: string]: any;
2507
+ };
2523
2508
  _query?: string;
2524
2509
  nocache?: boolean;
2525
2510
  }
@@ -2535,12 +2520,14 @@ export interface GetMenuV3BrandMenusPath {
2535
2520
  export interface GetMenuV3BrandMenusQuery {
2536
2521
  select?: string[];
2537
2522
  relationships?: string[];
2538
- filter?: any;
2523
+ filter?: {
2524
+ [index: string]: any;
2525
+ };
2539
2526
  limit?: number;
2540
2527
  page?: number;
2541
2528
  sort_by?: string;
2542
- sort_order?: string;
2543
- soft_deleted?: string;
2529
+ sort_order?: "DESC" | "ASC";
2530
+ soft_deleted?: "include" | "exclude" | "only";
2544
2531
  _query?: string;
2545
2532
  nocache?: boolean;
2546
2533
  }
@@ -2557,12 +2544,14 @@ export interface GetMenuV3BrandModifiersPath {
2557
2544
  export interface GetMenuV3BrandModifiersQuery {
2558
2545
  select?: string[];
2559
2546
  relationships?: string[];
2560
- filter?: any;
2547
+ filter?: {
2548
+ [index: string]: any;
2549
+ };
2561
2550
  limit?: number;
2562
2551
  page?: number;
2563
2552
  sort_by?: string;
2564
- sort_order?: string;
2565
- soft_deleted?: string;
2553
+ sort_order?: "DESC" | "ASC";
2554
+ soft_deleted?: "include" | "exclude" | "only";
2566
2555
  _query?: string;
2567
2556
  nocache?: boolean;
2568
2557
  }
@@ -2579,12 +2568,14 @@ export interface GetMenuV3BrandModifierGroupsPath {
2579
2568
  export interface GetMenuV3BrandModifierGroupsQuery {
2580
2569
  select?: string[];
2581
2570
  relationships?: string[];
2582
- filter?: any;
2571
+ filter?: {
2572
+ [index: string]: any;
2573
+ };
2583
2574
  limit?: number;
2584
2575
  page?: number;
2585
2576
  sort_by?: string;
2586
- sort_order?: string;
2587
- soft_deleted?: string;
2577
+ sort_order?: "DESC" | "ASC";
2578
+ soft_deleted?: "include" | "exclude" | "only";
2588
2579
  _query?: string;
2589
2580
  nocache?: boolean;
2590
2581
  }
@@ -2601,12 +2592,14 @@ export interface GetMenuV3BrandItemsPath {
2601
2592
  export interface GetMenuV3BrandItemsQuery {
2602
2593
  select?: string[];
2603
2594
  relationships?: string[];
2604
- filter?: any;
2595
+ filter?: {
2596
+ [index: string]: any;
2597
+ };
2605
2598
  limit?: number;
2606
2599
  page?: number;
2607
2600
  sort_by?: string;
2608
- sort_order?: string;
2609
- soft_deleted?: string;
2601
+ sort_order?: "DESC" | "ASC";
2602
+ soft_deleted?: "include" | "exclude" | "only";
2610
2603
  _query?: string;
2611
2604
  nocache?: boolean;
2612
2605
  }
@@ -2626,7 +2619,6 @@ export interface PostMenuV3BrandLocalQuery {
2626
2619
  export interface PostMenuV3BrandLocalResponse {
2627
2620
  parent?: DraftBrandDTO;
2628
2621
  children?: DraftBrandDTO[];
2629
- posid_segment?: POSIDSegmentDTO;
2630
2622
  menus?: DraftMenuDTO[];
2631
2623
  categories?: DraftCategoryDTO[];
2632
2624
  category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
@@ -2643,10 +2635,11 @@ export interface PostMenuV3BrandLocalResponse {
2643
2635
  name: string;
2644
2636
  description?: string;
2645
2637
  is_active?: boolean;
2646
- type?: string;
2638
+ type?: "global" | "local";
2647
2639
  parent_id?: string;
2648
2640
  local_menu_group_id?: string;
2649
2641
  global_menu_group_id?: string;
2642
+ posid_segment?: string;
2650
2643
  version?: number;
2651
2644
  changes?: BrandChangeDTO[];
2652
2645
  local_menu_group?: LocalMenuGroupDTO;
@@ -2720,12 +2713,14 @@ export interface DeleteMenuV3DraftMenuRequest extends BaseRequest, DeleteMenuV3D
2720
2713
  export interface GetMenuV3DraftMenusQuery {
2721
2714
  select?: string[];
2722
2715
  relationships?: string[];
2723
- filter?: any;
2716
+ filter?: {
2717
+ [index: string]: any;
2718
+ };
2724
2719
  limit?: number;
2725
2720
  page?: number;
2726
2721
  sort_by?: string;
2727
- sort_order?: string;
2728
- soft_deleted?: string;
2722
+ sort_order?: "DESC" | "ASC";
2723
+ soft_deleted?: "include" | "exclude" | "only";
2729
2724
  _query?: string;
2730
2725
  }
2731
2726
  export interface GetMenuV3DraftMenusResponse {
@@ -2759,7 +2754,9 @@ export interface PostMenuV3DraftMenusRequest extends BaseRequest {
2759
2754
  body: PostMenuV3DraftMenusBody;
2760
2755
  }
2761
2756
  export interface GetMenuV3DraftMenusCountQuery {
2762
- filter?: any;
2757
+ filter?: {
2758
+ [index: string]: any;
2759
+ };
2763
2760
  _query?: string;
2764
2761
  }
2765
2762
  export interface GetMenuV3DraftMenusCountResponse {
@@ -2774,12 +2771,14 @@ export interface GetMenuV3DraftMenuCategoriesPath {
2774
2771
  export interface GetMenuV3DraftMenuCategoriesQuery {
2775
2772
  select?: string[];
2776
2773
  relationships?: string[];
2777
- filter?: any;
2774
+ filter?: {
2775
+ [index: string]: any;
2776
+ };
2778
2777
  limit?: number;
2779
2778
  page?: number;
2780
2779
  sort_by?: string;
2781
- sort_order?: string;
2782
- soft_deleted?: string;
2780
+ sort_order?: "DESC" | "ASC";
2781
+ soft_deleted?: "include" | "exclude" | "only";
2783
2782
  _query?: string;
2784
2783
  }
2785
2784
  export interface GetMenuV3DraftMenuCategoriesResponse {
@@ -2812,12 +2811,14 @@ export interface GetMenuV3MenuRequest extends BaseRequest, RequestQuery<GetMenuV
2812
2811
  export interface GetMenuV3MenusQuery {
2813
2812
  select?: string[];
2814
2813
  relationships?: string[];
2815
- filter?: any;
2814
+ filter?: {
2815
+ [index: string]: any;
2816
+ };
2816
2817
  limit?: number;
2817
2818
  page?: number;
2818
2819
  sort_by?: string;
2819
- sort_order?: string;
2820
- soft_deleted?: string;
2820
+ sort_order?: "DESC" | "ASC";
2821
+ soft_deleted?: "include" | "exclude" | "only";
2821
2822
  _query?: string;
2822
2823
  nocache?: boolean;
2823
2824
  }
@@ -2829,7 +2830,9 @@ export interface GetMenuV3MenusResponse {
2829
2830
  export interface GetMenuV3MenusRequest extends BaseRequest, RequestQuery<GetMenuV3MenusQuery> {
2830
2831
  }
2831
2832
  export interface GetMenuV3MenusCountQuery {
2832
- filter?: any;
2833
+ filter?: {
2834
+ [index: string]: any;
2835
+ };
2833
2836
  _query?: string;
2834
2837
  nocache?: boolean;
2835
2838
  }
@@ -2845,12 +2848,14 @@ export interface GetMenuV3MenuCategoriesPath {
2845
2848
  export interface GetMenuV3MenuCategoriesQuery {
2846
2849
  select?: string[];
2847
2850
  relationships?: string[];
2848
- filter?: any;
2851
+ filter?: {
2852
+ [index: string]: any;
2853
+ };
2849
2854
  limit?: number;
2850
2855
  page?: number;
2851
2856
  sort_by?: string;
2852
- sort_order?: string;
2853
- soft_deleted?: string;
2857
+ sort_order?: "DESC" | "ASC";
2858
+ soft_deleted?: "include" | "exclude" | "only";
2854
2859
  _query?: string;
2855
2860
  nocache?: boolean;
2856
2861
  }
@@ -2931,7 +2936,9 @@ export type DeleteMenuV3DraftCategoryResponse = DraftCategoryDTO;
2931
2936
  export interface DeleteMenuV3DraftCategoryRequest extends BaseRequest, DeleteMenuV3DraftCategoryPath {
2932
2937
  }
2933
2938
  export interface GetMenuV3DraftCategoriesCountQuery {
2934
- filter?: any;
2939
+ filter?: {
2940
+ [index: string]: any;
2941
+ };
2935
2942
  _query?: string;
2936
2943
  }
2937
2944
  export interface GetMenuV3DraftCategoriesCountResponse {
@@ -2981,7 +2988,9 @@ export type GetMenuV3CategoryResponse = PublishedCategoryDTO;
2981
2988
  export interface GetMenuV3CategoryRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryQuery>, GetMenuV3CategoryPath {
2982
2989
  }
2983
2990
  export interface GetMenuV3CategorysCountQuery {
2984
- filter?: any;
2991
+ filter?: {
2992
+ [index: string]: any;
2993
+ };
2985
2994
  _query?: string;
2986
2995
  nocache?: boolean;
2987
2996
  }
@@ -3059,12 +3068,14 @@ export interface DeleteMenuV3DraftCategoryRelationshipsItemRequest extends BaseR
3059
3068
  export interface GetMenuV3DraftCategoryRelationshipsItemsQuery {
3060
3069
  select?: string[];
3061
3070
  relationships?: string[];
3062
- filter?: any;
3071
+ filter?: {
3072
+ [index: string]: any;
3073
+ };
3063
3074
  limit?: number;
3064
3075
  page?: number;
3065
3076
  sort_by?: string;
3066
- sort_order?: string;
3067
- soft_deleted?: string;
3077
+ sort_order?: "DESC" | "ASC";
3078
+ soft_deleted?: "include" | "exclude" | "only";
3068
3079
  _query?: string;
3069
3080
  }
3070
3081
  export interface GetMenuV3DraftCategoryRelationshipsItemsResponse {
@@ -3101,7 +3112,9 @@ export interface PostMenuV3DraftCategoryRelationshipsItemsRequest extends BaseRe
3101
3112
  body: PostMenuV3DraftCategoryRelationshipsItemsBody;
3102
3113
  }
3103
3114
  export interface GetMenuV3DraftCategoryRelationshipsItemsCountQuery {
3104
- filter?: any;
3115
+ filter?: {
3116
+ [index: string]: any;
3117
+ };
3105
3118
  _query?: string;
3106
3119
  }
3107
3120
  export interface GetMenuV3DraftCategoryRelationshipsItemsCountResponse {
@@ -3125,12 +3138,14 @@ export interface GetMenuV3CategoryRelationshipsItemRequest extends BaseRequest,
3125
3138
  export interface GetMenuV3CategoryRelationshipsItemsQuery {
3126
3139
  select?: string[];
3127
3140
  relationships?: string[];
3128
- filter?: any;
3141
+ filter?: {
3142
+ [index: string]: any;
3143
+ };
3129
3144
  limit?: number;
3130
3145
  page?: number;
3131
3146
  sort_by?: string;
3132
- sort_order?: string;
3133
- soft_deleted?: string;
3147
+ sort_order?: "DESC" | "ASC";
3148
+ soft_deleted?: "include" | "exclude" | "only";
3134
3149
  _query?: string;
3135
3150
  nocache?: boolean;
3136
3151
  }
@@ -3142,7 +3157,9 @@ export interface GetMenuV3CategoryRelationshipsItemsResponse {
3142
3157
  export interface GetMenuV3CategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {
3143
3158
  }
3144
3159
  export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
3145
- filter?: any;
3160
+ filter?: {
3161
+ [index: string]: any;
3162
+ };
3146
3163
  _query?: string;
3147
3164
  nocache?: boolean;
3148
3165
  }
@@ -3155,7 +3172,6 @@ export interface GetMenuV3CategoryRelationshipsItemsCountRequest extends BaseReq
3155
3172
  export interface PostMenuV3DraftItemBody {
3156
3173
  parent?: DraftItemDTO;
3157
3174
  children?: DraftItemDTO[];
3158
- posid_segment?: POSIDSegmentDTO;
3159
3175
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3160
3176
  parent_id?: string;
3161
3177
  name: string;
@@ -3170,6 +3186,7 @@ export interface PostMenuV3DraftItemBody {
3170
3186
  tax_tags?: any[];
3171
3187
  brand_id: string;
3172
3188
  line_route?: string;
3189
+ posid_segment?: string;
3173
3190
  id?: any;
3174
3191
  applied_diff_snapshot?: any;
3175
3192
  brand?: DraftBrandDTO;
@@ -3202,7 +3219,6 @@ export interface PatchMenuV3DraftItemPath {
3202
3219
  export interface PatchMenuV3DraftItemBody {
3203
3220
  parent?: DraftItemDTO;
3204
3221
  children?: DraftItemDTO[];
3205
- posid_segment?: POSIDSegmentDTO;
3206
3222
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3207
3223
  id?: string;
3208
3224
  parent_id?: string;
@@ -3218,6 +3234,7 @@ export interface PatchMenuV3DraftItemBody {
3218
3234
  tax_tags?: any[];
3219
3235
  brand_id?: string;
3220
3236
  line_route?: string;
3237
+ posid_segment?: string;
3221
3238
  applied_diff_snapshot?: any;
3222
3239
  version?: number;
3223
3240
  brand?: DraftBrandDTO;
@@ -3242,12 +3259,14 @@ export interface DeleteMenuV3DraftItemRequest extends BaseRequest, DeleteMenuV3D
3242
3259
  export interface GetMenuV3DraftItemsQuery {
3243
3260
  select?: string[];
3244
3261
  relationships?: string[];
3245
- filter?: any;
3262
+ filter?: {
3263
+ [index: string]: any;
3264
+ };
3246
3265
  limit?: number;
3247
3266
  page?: number;
3248
3267
  sort_by?: string;
3249
- sort_order?: string;
3250
- soft_deleted?: string;
3268
+ sort_order?: "DESC" | "ASC";
3269
+ soft_deleted?: "include" | "exclude" | "only";
3251
3270
  _query?: string;
3252
3271
  }
3253
3272
  export interface GetMenuV3DraftItemsResponse {
@@ -3260,7 +3279,6 @@ export interface GetMenuV3DraftItemsRequest extends BaseRequest, RequestQuery<Ge
3260
3279
  export type PostMenuV3DraftItemsBody = {
3261
3280
  parent?: DraftItemDTO;
3262
3281
  children?: DraftItemDTO[];
3263
- posid_segment?: POSIDSegmentDTO;
3264
3282
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3265
3283
  parent_id?: string;
3266
3284
  name: string;
@@ -3275,6 +3293,7 @@ export type PostMenuV3DraftItemsBody = {
3275
3293
  tax_tags?: any[];
3276
3294
  brand_id: string;
3277
3295
  line_route?: string;
3296
+ posid_segment?: string;
3278
3297
  id?: any;
3279
3298
  applied_diff_snapshot?: any;
3280
3299
  brand?: DraftBrandDTO;
@@ -3295,7 +3314,9 @@ export interface PostMenuV3DraftItemsRequest extends BaseRequest {
3295
3314
  body: PostMenuV3DraftItemsBody;
3296
3315
  }
3297
3316
  export interface GetMenuV3DraftItemsCountQuery {
3298
- filter?: any;
3317
+ filter?: {
3318
+ [index: string]: any;
3319
+ };
3299
3320
  _query?: string;
3300
3321
  }
3301
3322
  export interface GetMenuV3DraftItemsCountResponse {
@@ -3308,7 +3329,6 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
3308
3329
  id_list: any[];
3309
3330
  parent?: DraftItemDTO;
3310
3331
  children?: DraftItemDTO[];
3311
- posid_segment?: POSIDSegmentDTO;
3312
3332
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3313
3333
  id?: string;
3314
3334
  parent_id?: string;
@@ -3324,6 +3344,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
3324
3344
  tax_tags?: any[];
3325
3345
  brand_id?: string;
3326
3346
  line_route?: string;
3347
+ posid_segment?: string;
3327
3348
  applied_diff_snapshot?: any;
3328
3349
  brand?: DraftBrandDTO;
3329
3350
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -3342,7 +3363,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateRequest extends BaseRequest {
3342
3363
  }
3343
3364
  export interface PostMenuV3ItemAttachmentPath {
3344
3365
  id: string;
3345
- name: string;
3366
+ name: "thumbnail";
3346
3367
  }
3347
3368
  export interface PostMenuV3ItemAttachmentQuery {
3348
3369
  "body.data"?: string;
@@ -3354,6 +3375,7 @@ export interface PostMenuV3ItemAttachmentRequest extends BaseRequest, RequestQue
3354
3375
  }
3355
3376
  export interface PostMenuV3ItemsImportQuery {
3356
3377
  "body.brand_id"?: string;
3378
+ "body.category_id"?: string;
3357
3379
  "body.data"?: string;
3358
3380
  }
3359
3381
  export interface PostMenuV3ItemsImportResponse {
@@ -3376,12 +3398,14 @@ export interface GetMenuV3ItemRequest extends BaseRequest, RequestQuery<GetMenuV
3376
3398
  export interface GetMenuV3ItemsQuery {
3377
3399
  select?: string[];
3378
3400
  relationships?: string[];
3379
- filter?: any;
3401
+ filter?: {
3402
+ [index: string]: any;
3403
+ };
3380
3404
  limit?: number;
3381
3405
  page?: number;
3382
3406
  sort_by?: string;
3383
- sort_order?: string;
3384
- soft_deleted?: string;
3407
+ sort_order?: "DESC" | "ASC";
3408
+ soft_deleted?: "include" | "exclude" | "only";
3385
3409
  _query?: string;
3386
3410
  nocache?: boolean;
3387
3411
  }
@@ -3393,7 +3417,9 @@ export interface GetMenuV3ItemsResponse {
3393
3417
  export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {
3394
3418
  }
3395
3419
  export interface GetMenuV3ItemsCountQuery {
3396
- filter?: any;
3420
+ filter?: {
3421
+ [index: string]: any;
3422
+ };
3397
3423
  _query?: string;
3398
3424
  nocache?: boolean;
3399
3425
  }
@@ -3471,12 +3497,14 @@ export interface DeleteMenuV3DraftItemRelationshipsModifierGroupRequest extends
3471
3497
  export interface GetMenuV3DraftItemRelationshipsModifierGroupsQuery {
3472
3498
  select?: string[];
3473
3499
  relationships?: string[];
3474
- filter?: any;
3500
+ filter?: {
3501
+ [index: string]: any;
3502
+ };
3475
3503
  limit?: number;
3476
3504
  page?: number;
3477
3505
  sort_by?: string;
3478
- sort_order?: string;
3479
- soft_deleted?: string;
3506
+ sort_order?: "DESC" | "ASC";
3507
+ soft_deleted?: "include" | "exclude" | "only";
3480
3508
  _query?: string;
3481
3509
  }
3482
3510
  export interface GetMenuV3DraftItemRelationshipsModifierGroupsResponse {
@@ -3513,7 +3541,9 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupsRequest extends B
3513
3541
  body: PostMenuV3DraftItemRelationshipsModifierGroupsBody;
3514
3542
  }
3515
3543
  export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery {
3516
- filter?: any;
3544
+ filter?: {
3545
+ [index: string]: any;
3546
+ };
3517
3547
  _query?: string;
3518
3548
  }
3519
3549
  export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountResponse {
@@ -3537,12 +3567,14 @@ export interface GetMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequ
3537
3567
  export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
3538
3568
  select?: string[];
3539
3569
  relationships?: string[];
3540
- filter?: any;
3570
+ filter?: {
3571
+ [index: string]: any;
3572
+ };
3541
3573
  limit?: number;
3542
3574
  page?: number;
3543
3575
  sort_by?: string;
3544
- sort_order?: string;
3545
- soft_deleted?: string;
3576
+ sort_order?: "DESC" | "ASC";
3577
+ soft_deleted?: "include" | "exclude" | "only";
3546
3578
  _query?: string;
3547
3579
  nocache?: boolean;
3548
3580
  }
@@ -3554,7 +3586,9 @@ export interface GetMenuV3ItemRelationshipsModifierGroupsResponse {
3554
3586
  export interface GetMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsQuery> {
3555
3587
  }
3556
3588
  export interface GetMenuV3ItemRelationshipsModifierGroupsCountQuery {
3557
- filter?: any;
3589
+ filter?: {
3590
+ [index: string]: any;
3591
+ };
3558
3592
  _query?: string;
3559
3593
  nocache?: boolean;
3560
3594
  }
@@ -3636,12 +3670,14 @@ export interface DeleteMenuV3DraftModifierGroupRequest extends BaseRequest, Dele
3636
3670
  export interface GetMenuV3DraftModifierGroupsQuery {
3637
3671
  select?: string[];
3638
3672
  relationships?: string[];
3639
- filter?: any;
3673
+ filter?: {
3674
+ [index: string]: any;
3675
+ };
3640
3676
  limit?: number;
3641
3677
  page?: number;
3642
3678
  sort_by?: string;
3643
- sort_order?: string;
3644
- soft_deleted?: string;
3679
+ sort_order?: "DESC" | "ASC";
3680
+ soft_deleted?: "include" | "exclude" | "only";
3645
3681
  _query?: string;
3646
3682
  }
3647
3683
  export interface GetMenuV3DraftModifierGroupsResponse {
@@ -3680,7 +3716,9 @@ export interface PostMenuV3DraftModifierGroupsRequest extends BaseRequest {
3680
3716
  body: PostMenuV3DraftModifierGroupsBody;
3681
3717
  }
3682
3718
  export interface GetMenuV3DraftModifierGroupsCountQuery {
3683
- filter?: any;
3719
+ filter?: {
3720
+ [index: string]: any;
3721
+ };
3684
3722
  _query?: string;
3685
3723
  }
3686
3724
  export interface GetMenuV3DraftModifierGroupsCountResponse {
@@ -3689,6 +3727,35 @@ export interface GetMenuV3DraftModifierGroupsCountResponse {
3689
3727
  }
3690
3728
  export interface GetMenuV3DraftModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupsCountQuery> {
3691
3729
  }
3730
+ export interface PostMenuV3DraftModifierGroupDuplicatePath {
3731
+ id: string;
3732
+ }
3733
+ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
3734
+ parent?: DraftModifierGroupDTO;
3735
+ children?: DraftModifierGroupDTO[];
3736
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
3737
+ items?: DraftItemToModifierGroupRelationshipDTO[];
3738
+ id?: string;
3739
+ created_at?: string;
3740
+ updated_at?: string;
3741
+ deleted_at?: string;
3742
+ parent_id?: string;
3743
+ name: string;
3744
+ label?: string;
3745
+ min?: number;
3746
+ max?: number;
3747
+ is_active?: boolean;
3748
+ brand_id: string;
3749
+ applied_diff_snapshot?: any;
3750
+ version?: number;
3751
+ brand?: DraftBrandDTO;
3752
+ changes?: ModifierGroupChangeDTO[];
3753
+ vendor_metadata?: VendorMetadataDTO[];
3754
+ permissions?: any;
3755
+ [index: string]: any;
3756
+ }
3757
+ export interface PostMenuV3DraftModifierGroupDuplicateRequest extends BaseRequest, PostMenuV3DraftModifierGroupDuplicatePath {
3758
+ }
3692
3759
  export interface GetMenuV3ModifierGroupPath {
3693
3760
  id: string;
3694
3761
  }
@@ -3704,12 +3771,14 @@ export interface GetMenuV3ModifierGroupRequest extends BaseRequest, RequestQuery
3704
3771
  export interface GetMenuV3ModifierGroupsQuery {
3705
3772
  select?: string[];
3706
3773
  relationships?: string[];
3707
- filter?: any;
3774
+ filter?: {
3775
+ [index: string]: any;
3776
+ };
3708
3777
  limit?: number;
3709
3778
  page?: number;
3710
3779
  sort_by?: string;
3711
- sort_order?: string;
3712
- soft_deleted?: string;
3780
+ sort_order?: "DESC" | "ASC";
3781
+ soft_deleted?: "include" | "exclude" | "only";
3713
3782
  _query?: string;
3714
3783
  nocache?: boolean;
3715
3784
  }
@@ -3721,7 +3790,9 @@ export interface GetMenuV3ModifierGroupsResponse {
3721
3790
  export interface GetMenuV3ModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsQuery> {
3722
3791
  }
3723
3792
  export interface GetMenuV3ModifierGroupsCountQuery {
3724
- filter?: any;
3793
+ filter?: {
3794
+ [index: string]: any;
3795
+ };
3725
3796
  _query?: string;
3726
3797
  nocache?: boolean;
3727
3798
  }
@@ -3799,12 +3870,14 @@ export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierRequest exte
3799
3870
  export interface GetMenuV3DraftModifierGroupRelationshipsModifiersQuery {
3800
3871
  select?: string[];
3801
3872
  relationships?: string[];
3802
- filter?: any;
3873
+ filter?: {
3874
+ [index: string]: any;
3875
+ };
3803
3876
  limit?: number;
3804
3877
  page?: number;
3805
3878
  sort_by?: string;
3806
- sort_order?: string;
3807
- soft_deleted?: string;
3879
+ sort_order?: "DESC" | "ASC";
3880
+ soft_deleted?: "include" | "exclude" | "only";
3808
3881
  _query?: string;
3809
3882
  }
3810
3883
  export interface GetMenuV3DraftModifierGroupRelationshipsModifiersResponse {
@@ -3841,7 +3914,9 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifiersRequest exten
3841
3914
  body: PostMenuV3DraftModifierGroupRelationshipsModifiersBody;
3842
3915
  }
3843
3916
  export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery {
3844
- filter?: any;
3917
+ filter?: {
3918
+ [index: string]: any;
3919
+ };
3845
3920
  _query?: string;
3846
3921
  }
3847
3922
  export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountResponse {
@@ -3865,12 +3940,14 @@ export interface GetMenuV3ModifierGroupRelationshipsModifierRequest extends Base
3865
3940
  export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
3866
3941
  select?: string[];
3867
3942
  relationships?: string[];
3868
- filter?: any;
3943
+ filter?: {
3944
+ [index: string]: any;
3945
+ };
3869
3946
  limit?: number;
3870
3947
  page?: number;
3871
3948
  sort_by?: string;
3872
- sort_order?: string;
3873
- soft_deleted?: string;
3949
+ sort_order?: "DESC" | "ASC";
3950
+ soft_deleted?: "include" | "exclude" | "only";
3874
3951
  _query?: string;
3875
3952
  nocache?: boolean;
3876
3953
  }
@@ -3882,7 +3959,9 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersResponse {
3882
3959
  export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersQuery> {
3883
3960
  }
3884
3961
  export interface GetMenuV3ModifierGroupRelationshipsModifiersCountQuery {
3885
- filter?: any;
3962
+ filter?: {
3963
+ [index: string]: any;
3964
+ };
3886
3965
  _query?: string;
3887
3966
  nocache?: boolean;
3888
3967
  }
@@ -3895,7 +3974,6 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersCountRequest extend
3895
3974
  export interface PostMenuV3DraftModifierBody {
3896
3975
  parent?: DraftModifierDTO;
3897
3976
  children?: DraftModifierDTO[];
3898
- posid_segment?: POSIDSegmentDTO;
3899
3977
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
3900
3978
  parent_id?: string;
3901
3979
  name: string;
@@ -3907,6 +3985,7 @@ export interface PostMenuV3DraftModifierBody {
3907
3985
  is_active?: boolean;
3908
3986
  posid?: string;
3909
3987
  reporting: ReportingMetadataDTO;
3988
+ posid_segment?: string;
3910
3989
  brand_id: string;
3911
3990
  id?: any;
3912
3991
  applied_diff_snapshot?: any;
@@ -3938,7 +4017,6 @@ export interface PatchMenuV3DraftModifierPath {
3938
4017
  export interface PatchMenuV3DraftModifierBody {
3939
4018
  parent?: DraftModifierDTO;
3940
4019
  children?: DraftModifierDTO[];
3941
- posid_segment?: POSIDSegmentDTO;
3942
4020
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
3943
4021
  id?: string;
3944
4022
  parent_id?: string;
@@ -3951,6 +4029,7 @@ export interface PatchMenuV3DraftModifierBody {
3951
4029
  is_active?: boolean;
3952
4030
  posid?: string;
3953
4031
  reporting?: ReportingMetadataDTO;
4032
+ posid_segment?: string;
3954
4033
  brand_id?: string;
3955
4034
  applied_diff_snapshot?: any;
3956
4035
  version?: number;
@@ -3974,12 +4053,14 @@ export interface DeleteMenuV3DraftModifierRequest extends BaseRequest, DeleteMen
3974
4053
  export interface GetMenuV3DraftModifiersQuery {
3975
4054
  select?: string[];
3976
4055
  relationships?: string[];
3977
- filter?: any;
4056
+ filter?: {
4057
+ [index: string]: any;
4058
+ };
3978
4059
  limit?: number;
3979
4060
  page?: number;
3980
4061
  sort_by?: string;
3981
- sort_order?: string;
3982
- soft_deleted?: string;
4062
+ sort_order?: "DESC" | "ASC";
4063
+ soft_deleted?: "include" | "exclude" | "only";
3983
4064
  _query?: string;
3984
4065
  }
3985
4066
  export interface GetMenuV3DraftModifiersResponse {
@@ -3992,7 +4073,6 @@ export interface GetMenuV3DraftModifiersRequest extends BaseRequest, RequestQuer
3992
4073
  export type PostMenuV3DraftModifiersBody = {
3993
4074
  parent?: DraftModifierDTO;
3994
4075
  children?: DraftModifierDTO[];
3995
- posid_segment?: POSIDSegmentDTO;
3996
4076
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
3997
4077
  parent_id?: string;
3998
4078
  name: string;
@@ -4004,6 +4084,7 @@ export type PostMenuV3DraftModifiersBody = {
4004
4084
  is_active?: boolean;
4005
4085
  posid?: string;
4006
4086
  reporting: ReportingMetadataDTO;
4087
+ posid_segment?: string;
4007
4088
  brand_id: string;
4008
4089
  id?: any;
4009
4090
  applied_diff_snapshot?: any;
@@ -4023,7 +4104,9 @@ export interface PostMenuV3DraftModifiersRequest extends BaseRequest {
4023
4104
  body: PostMenuV3DraftModifiersBody;
4024
4105
  }
4025
4106
  export interface GetMenuV3DraftModifiersCountQuery {
4026
- filter?: any;
4107
+ filter?: {
4108
+ [index: string]: any;
4109
+ };
4027
4110
  _query?: string;
4028
4111
  }
4029
4112
  export interface GetMenuV3DraftModifiersCountResponse {
@@ -4036,7 +4119,6 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
4036
4119
  id_list: any[];
4037
4120
  parent?: DraftModifierDTO;
4038
4121
  children?: DraftModifierDTO[];
4039
- posid_segment?: POSIDSegmentDTO;
4040
4122
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
4041
4123
  id?: string;
4042
4124
  parent_id?: string;
@@ -4049,6 +4131,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
4049
4131
  is_active?: boolean;
4050
4132
  posid?: string;
4051
4133
  reporting?: ReportingMetadataDTO;
4134
+ posid_segment?: string;
4052
4135
  brand_id?: string;
4053
4136
  applied_diff_snapshot?: any;
4054
4137
  brand?: DraftBrandDTO;
@@ -4079,12 +4162,14 @@ export interface GetMenuV3ModifierRequest extends BaseRequest, RequestQuery<GetM
4079
4162
  export interface GetMenuV3ModifiersQuery {
4080
4163
  select?: string[];
4081
4164
  relationships?: string[];
4082
- filter?: any;
4165
+ filter?: {
4166
+ [index: string]: any;
4167
+ };
4083
4168
  limit?: number;
4084
4169
  page?: number;
4085
4170
  sort_by?: string;
4086
- sort_order?: string;
4087
- soft_deleted?: string;
4171
+ sort_order?: "DESC" | "ASC";
4172
+ soft_deleted?: "include" | "exclude" | "only";
4088
4173
  _query?: string;
4089
4174
  nocache?: boolean;
4090
4175
  }
@@ -4096,7 +4181,9 @@ export interface GetMenuV3ModifiersResponse {
4096
4181
  export interface GetMenuV3ModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersQuery> {
4097
4182
  }
4098
4183
  export interface GetMenuV3ModifiersCountQuery {
4099
- filter?: any;
4184
+ filter?: {
4185
+ [index: string]: any;
4186
+ };
4100
4187
  _query?: string;
4101
4188
  nocache?: boolean;
4102
4189
  }
@@ -4124,7 +4211,7 @@ export interface GetMenuV3GlobalDiffQuery {
4124
4211
  _query?: string;
4125
4212
  }
4126
4213
  export interface GetMenuV3GlobalDiffResponse {
4127
- action: string;
4214
+ action: "create" | "update" | "delete";
4128
4215
  id?: string;
4129
4216
  created_at?: string;
4130
4217
  updated_at?: string;
@@ -4149,12 +4236,14 @@ export interface GetMenuV3GlobalDiffRequest extends BaseRequest, RequestQuery<Ge
4149
4236
  export interface GetMenuV3GlobalDiffsQuery {
4150
4237
  select?: string[];
4151
4238
  relationships?: string[];
4152
- filter?: any;
4239
+ filter?: {
4240
+ [index: string]: any;
4241
+ };
4153
4242
  limit?: number;
4154
4243
  page?: number;
4155
4244
  sort_by?: string;
4156
- sort_order?: string;
4157
- soft_deleted?: string;
4245
+ sort_order?: "DESC" | "ASC";
4246
+ soft_deleted?: "include" | "exclude" | "only";
4158
4247
  _query?: string;
4159
4248
  }
4160
4249
  export interface GetMenuV3GlobalDiffsResponse {
@@ -4165,7 +4254,9 @@ export interface GetMenuV3GlobalDiffsResponse {
4165
4254
  export interface GetMenuV3GlobalDiffsRequest extends BaseRequest, RequestQuery<GetMenuV3GlobalDiffsQuery> {
4166
4255
  }
4167
4256
  export interface GetMenuV3GlobalDiffsCountQuery {
4168
- filter?: any;
4257
+ filter?: {
4258
+ [index: string]: any;
4259
+ };
4169
4260
  _query?: string;
4170
4261
  }
4171
4262
  export interface GetMenuV3GlobalDiffsCountResponse {
@@ -4174,4 +4265,5 @@ export interface GetMenuV3GlobalDiffsCountResponse {
4174
4265
  }
4175
4266
  export interface GetMenuV3GlobalDiffsCountRequest extends BaseRequest, RequestQuery<GetMenuV3GlobalDiffsCountQuery> {
4176
4267
  }
4268
+ export {};
4177
4269
  //# sourceMappingURL=menu.d.ts.map