@compassdigital/sdk.typescript 3.49.0 → 3.51.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.
- package/lib/index.d.ts +665 -192
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +748 -233
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +2653 -740
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +19 -1
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +21 -18
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/report.d.ts +19 -0
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +1 -0
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/user.d.ts +5 -0
- package/lib/interface/user.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/index.ts +1916 -565
- package/src/interface/menu.ts +3899 -1382
- package/src/interface/partner.ts +34 -2
- package/src/interface/payment.ts +29 -23
- package/src/interface/report.ts +36 -0
- package/src/interface/shoppingcart.ts +1 -0
- package/src/interface/user.ts +7 -0
package/lib/interface/menu.d.ts
CHANGED
|
@@ -455,26 +455,26 @@ export interface CategoryDTO {
|
|
|
455
455
|
priority?: number;
|
|
456
456
|
is_active?: boolean;
|
|
457
457
|
layout_id?: string;
|
|
458
|
+
brand_id?: string;
|
|
458
459
|
id?: string;
|
|
459
|
-
layout?: LayoutDTO;
|
|
460
|
-
items?: any[];
|
|
461
460
|
[index: string]: any;
|
|
462
461
|
}
|
|
463
462
|
export interface LayoutDTO {
|
|
463
|
+
categories?: CategoryDTO[];
|
|
464
|
+
id?: string;
|
|
465
|
+
created_at?: string;
|
|
466
|
+
updated_at?: string;
|
|
467
|
+
deleted_at?: string;
|
|
464
468
|
name: string;
|
|
465
|
-
categories?: any[];
|
|
466
469
|
brand_id: string;
|
|
467
|
-
station_id
|
|
468
|
-
|
|
470
|
+
station_id?: string;
|
|
471
|
+
version?: number;
|
|
469
472
|
brand?: BrandDTO;
|
|
470
|
-
station?:
|
|
473
|
+
station?: StationDTO;
|
|
474
|
+
changes?: LayoutChangeDTO[];
|
|
471
475
|
[index: string]: any;
|
|
472
476
|
}
|
|
473
477
|
export interface BrandDTO {
|
|
474
|
-
layouts?: any[];
|
|
475
|
-
items?: ItemDTO[];
|
|
476
|
-
modifier_groups?: any[];
|
|
477
|
-
modifiers?: any[];
|
|
478
478
|
id?: string;
|
|
479
479
|
[index: string]: any;
|
|
480
480
|
}
|
|
@@ -489,23 +489,27 @@ export interface ItemDTO {
|
|
|
489
489
|
is_active?: boolean;
|
|
490
490
|
is_in_stock?: boolean;
|
|
491
491
|
posid?: string;
|
|
492
|
-
tax_tags?:
|
|
492
|
+
tax_tags?: FilterFieldDTO[];
|
|
493
493
|
modifier_groups?: ItemToModifierGroupRelationshipDTO[];
|
|
494
494
|
brand_id?: string;
|
|
495
495
|
station_id?: string;
|
|
496
496
|
id?: string;
|
|
497
|
-
categories?:
|
|
498
|
-
brand?:
|
|
499
|
-
station?:
|
|
497
|
+
categories?: any[];
|
|
498
|
+
brand?: BrandDTO;
|
|
499
|
+
station?: StationDTO;
|
|
500
|
+
changes?: ItemChangeDTO[];
|
|
500
501
|
[index: string]: any;
|
|
501
502
|
}
|
|
502
503
|
export interface ItemToModifierGroupRelationshipDTO {
|
|
504
|
+
id?: string;
|
|
503
505
|
modifier_group_id?: string;
|
|
504
506
|
item_id?: string;
|
|
507
|
+
brand_id?: FilterFieldDTO;
|
|
505
508
|
sequence?: number;
|
|
506
|
-
id?: string;
|
|
507
509
|
modifier_group?: ModifierGroupDTO;
|
|
508
510
|
item?: any;
|
|
511
|
+
brand?: BrandDTO;
|
|
512
|
+
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
509
513
|
[index: string]: any;
|
|
510
514
|
}
|
|
511
515
|
export interface ModifierGroupDTO {
|
|
@@ -520,17 +524,21 @@ export interface ModifierGroupDTO {
|
|
|
520
524
|
brand_id?: string;
|
|
521
525
|
station_id?: string;
|
|
522
526
|
id?: string;
|
|
523
|
-
brand?:
|
|
524
|
-
station?:
|
|
527
|
+
brand?: BrandDTO;
|
|
528
|
+
station?: StationDTO;
|
|
529
|
+
changes?: ModifierGroupChangeDTO[];
|
|
525
530
|
[index: string]: any;
|
|
526
531
|
}
|
|
527
532
|
export interface ModifierGroupToModifierRelationshipDTO {
|
|
533
|
+
id?: string;
|
|
528
534
|
modifier_id?: string;
|
|
529
535
|
modifier_group_id?: string;
|
|
536
|
+
brand_id?: FilterFieldDTO;
|
|
530
537
|
sequence?: number;
|
|
531
|
-
id?: string;
|
|
532
538
|
modifier?: ModifierDTO;
|
|
533
539
|
modifier_group?: any;
|
|
540
|
+
brand?: BrandDTO;
|
|
541
|
+
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
534
542
|
[index: string]: any;
|
|
535
543
|
}
|
|
536
544
|
export interface ModifierDTO {
|
|
@@ -540,7 +548,7 @@ export interface ModifierDTO {
|
|
|
540
548
|
price?: number;
|
|
541
549
|
calories?: number;
|
|
542
550
|
priority?: number;
|
|
543
|
-
tax_tags?:
|
|
551
|
+
tax_tags?: FilterFieldDTO[];
|
|
544
552
|
is_active?: boolean;
|
|
545
553
|
is_in_stock?: boolean;
|
|
546
554
|
posid?: string;
|
|
@@ -548,25 +556,26 @@ export interface ModifierDTO {
|
|
|
548
556
|
brand_id?: string;
|
|
549
557
|
station_id?: string;
|
|
550
558
|
id?: string;
|
|
551
|
-
brand?:
|
|
559
|
+
brand?: BrandDTO;
|
|
552
560
|
station?: StationDTO;
|
|
561
|
+
changes?: ModifierChangeDTO[];
|
|
553
562
|
[index: string]: any;
|
|
554
563
|
}
|
|
555
564
|
export interface StationDTO {
|
|
556
|
-
layouts?: any[];
|
|
557
|
-
items?: any[];
|
|
558
|
-
modifier_groups?: any[];
|
|
559
|
-
modifiers?: any[];
|
|
560
565
|
id?: string;
|
|
566
|
+
name?: string;
|
|
561
567
|
[index: string]: any;
|
|
562
568
|
}
|
|
563
569
|
export interface CategoryToItemRelationshipDTO {
|
|
570
|
+
id?: string;
|
|
564
571
|
category_id?: string;
|
|
565
572
|
item_id?: string;
|
|
573
|
+
brand_id?: FilterFieldDTO;
|
|
566
574
|
sequence?: number;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
575
|
+
category?: CategoryCategoryDTO;
|
|
576
|
+
item?: ItemDTO;
|
|
577
|
+
brand?: BrandDTO;
|
|
578
|
+
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
570
579
|
[index: string]: any;
|
|
571
580
|
}
|
|
572
581
|
export interface InvalidInputErrorDTO {
|
|
@@ -590,7 +599,7 @@ export interface NotFoundErrorDTO {
|
|
|
590
599
|
[index: string]: any;
|
|
591
600
|
}
|
|
592
601
|
export interface FilterFieldDTO {
|
|
593
|
-
$
|
|
602
|
+
$equals?: string;
|
|
594
603
|
$more_than?: string;
|
|
595
604
|
$more_than_or_equal?: string;
|
|
596
605
|
$less_than?: string;
|
|
@@ -624,25 +633,12 @@ export interface PaginationMetaDTO {
|
|
|
624
633
|
soft_deleted?: string;
|
|
625
634
|
[index: string]: any;
|
|
626
635
|
}
|
|
627
|
-
export interface
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
page?: number;
|
|
631
|
-
sort_by?: string;
|
|
632
|
-
sort_order?: string;
|
|
633
|
-
soft_deleted?: string;
|
|
634
|
-
select?: string[];
|
|
635
|
-
relationships?: string[];
|
|
636
|
-
_query?: string;
|
|
637
|
-
}
|
|
638
|
-
export interface GetMenuV3ModifiersResponse {
|
|
639
|
-
meta: PaginationMetaDTO;
|
|
640
|
-
results: ModifierDTO[];
|
|
636
|
+
export interface UnauthorizedErrorDTO {
|
|
637
|
+
number: number;
|
|
638
|
+
message: string;
|
|
641
639
|
[index: string]: any;
|
|
642
640
|
}
|
|
643
|
-
export interface
|
|
644
|
-
}
|
|
645
|
-
export type PostMenuV3ModifiersBody = {
|
|
641
|
+
export interface ModifierEntityDTO {
|
|
646
642
|
name: string;
|
|
647
643
|
label?: string;
|
|
648
644
|
description?: string;
|
|
@@ -656,63 +652,34 @@ export type PostMenuV3ModifiersBody = {
|
|
|
656
652
|
modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
|
|
657
653
|
brand_id: string;
|
|
658
654
|
station_id?: string;
|
|
659
|
-
id?:
|
|
655
|
+
id?: string;
|
|
656
|
+
created_at?: string;
|
|
657
|
+
updated_at?: string;
|
|
658
|
+
deleted_at?: string;
|
|
660
659
|
brand?: BrandDTO;
|
|
661
660
|
station?: StationDTO;
|
|
662
661
|
[index: string]: any;
|
|
663
|
-
}[];
|
|
664
|
-
export interface PostMenuV3ModifiersResponse {
|
|
665
|
-
meta: PaginationMetaDTO;
|
|
666
|
-
results: ModifierDTO[];
|
|
667
|
-
[index: string]: any;
|
|
668
|
-
}
|
|
669
|
-
export interface PostMenuV3ModifiersRequest extends BaseRequest {
|
|
670
|
-
body: PostMenuV3ModifiersBody;
|
|
671
|
-
}
|
|
672
|
-
export interface GetMenuV3ModifierPath {
|
|
673
|
-
id: string;
|
|
674
|
-
}
|
|
675
|
-
export interface GetMenuV3ModifierQuery {
|
|
676
|
-
select?: string[];
|
|
677
|
-
relationships?: string[];
|
|
678
|
-
_query?: string;
|
|
679
|
-
}
|
|
680
|
-
export type GetMenuV3ModifierResponse = ModifierDTO;
|
|
681
|
-
export interface GetMenuV3ModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierQuery>, GetMenuV3ModifierPath {
|
|
682
|
-
}
|
|
683
|
-
export interface PatchMenuV3ModifierPath {
|
|
684
|
-
id: string;
|
|
685
662
|
}
|
|
686
|
-
export interface
|
|
687
|
-
name
|
|
663
|
+
export interface ModifierGroupEntityDTO {
|
|
664
|
+
name: string;
|
|
688
665
|
label?: string;
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
calories?: number;
|
|
692
|
-
priority?: number;
|
|
693
|
-
tax_tags?: string[];
|
|
666
|
+
min?: number;
|
|
667
|
+
max?: number;
|
|
694
668
|
is_active?: boolean;
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
brand_id
|
|
669
|
+
priority?: number;
|
|
670
|
+
modifiers?: ModifierGroupToModifierRelationshipDTO[];
|
|
671
|
+
items?: ItemToModifierGroupRelationshipDTO[];
|
|
672
|
+
brand_id: string;
|
|
699
673
|
station_id?: string;
|
|
700
674
|
id?: string;
|
|
675
|
+
created_at?: string;
|
|
676
|
+
updated_at?: string;
|
|
677
|
+
deleted_at?: string;
|
|
701
678
|
brand?: BrandDTO;
|
|
702
679
|
station?: StationDTO;
|
|
703
680
|
[index: string]: any;
|
|
704
681
|
}
|
|
705
|
-
export
|
|
706
|
-
export interface PatchMenuV3ModifierRequest extends BaseRequest, PatchMenuV3ModifierPath {
|
|
707
|
-
body: PatchMenuV3ModifierBody;
|
|
708
|
-
}
|
|
709
|
-
export interface DeleteMenuV3ModifierPath {
|
|
710
|
-
id: string;
|
|
711
|
-
}
|
|
712
|
-
export type DeleteMenuV3ModifierResponse = ModifierDTO;
|
|
713
|
-
export interface DeleteMenuV3ModifierRequest extends BaseRequest, DeleteMenuV3ModifierPath {
|
|
714
|
-
}
|
|
715
|
-
export interface PostMenuV3ModifierBody {
|
|
682
|
+
export interface ItemEntityDTO {
|
|
716
683
|
name: string;
|
|
717
684
|
label?: string;
|
|
718
685
|
description?: string;
|
|
@@ -726,727 +693,1305 @@ export interface PostMenuV3ModifierBody {
|
|
|
726
693
|
modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
|
|
727
694
|
brand_id: string;
|
|
728
695
|
station_id?: string;
|
|
729
|
-
id?:
|
|
696
|
+
id?: string;
|
|
697
|
+
created_at?: string;
|
|
698
|
+
updated_at?: string;
|
|
699
|
+
deleted_at?: string;
|
|
730
700
|
brand?: BrandDTO;
|
|
731
701
|
station?: StationDTO;
|
|
732
702
|
[index: string]: any;
|
|
733
703
|
}
|
|
734
|
-
export
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
704
|
+
export interface LayoutChangeDTO {
|
|
705
|
+
id?: string;
|
|
706
|
+
insert?: string;
|
|
707
|
+
delete?: string;
|
|
708
|
+
snapshot_entity_id?: string;
|
|
709
|
+
[index: string]: any;
|
|
740
710
|
}
|
|
741
|
-
export interface
|
|
742
|
-
|
|
711
|
+
export interface GetOneOptionsDTO {
|
|
712
|
+
select?: string[];
|
|
713
|
+
relationships?: string[];
|
|
714
|
+
[index: string]: any;
|
|
743
715
|
}
|
|
744
|
-
export interface
|
|
716
|
+
export interface PaginationOptionsDTO {
|
|
717
|
+
limit?: number;
|
|
718
|
+
page?: number;
|
|
719
|
+
sort_by?: string;
|
|
720
|
+
sort_order?: string;
|
|
721
|
+
soft_deleted?: string;
|
|
722
|
+
[index: string]: any;
|
|
745
723
|
}
|
|
746
|
-
export interface
|
|
747
|
-
|
|
724
|
+
export interface ListResponseMetadataDTO {
|
|
725
|
+
total_results?: number;
|
|
726
|
+
total_pages?: number;
|
|
727
|
+
result_count?: number;
|
|
748
728
|
limit?: number;
|
|
749
729
|
page?: number;
|
|
750
730
|
sort_by?: string;
|
|
751
731
|
sort_order?: string;
|
|
752
732
|
soft_deleted?: string;
|
|
753
|
-
|
|
754
|
-
relationships?: string[];
|
|
755
|
-
_query?: string;
|
|
733
|
+
[index: string]: any;
|
|
756
734
|
}
|
|
757
|
-
export interface
|
|
758
|
-
|
|
759
|
-
|
|
735
|
+
export interface CategoryCategoryDTO {
|
|
736
|
+
name?: FilterFieldDTO;
|
|
737
|
+
label?: FilterFieldDTO;
|
|
738
|
+
sequence?: FilterFieldDTO;
|
|
739
|
+
priority?: FilterFieldDTO;
|
|
740
|
+
is_active?: FilterFieldDTO;
|
|
741
|
+
layout_id?: FilterFieldDTO;
|
|
742
|
+
brand_id?: FilterFieldDTO;
|
|
743
|
+
id?: FilterFieldDTO;
|
|
744
|
+
version?: FilterFieldDTO;
|
|
745
|
+
created_at?: FilterFieldDTO;
|
|
746
|
+
updated_at?: FilterFieldDTO;
|
|
747
|
+
deleted_at?: FilterFieldDTO;
|
|
748
|
+
layout?: LayoutDTO;
|
|
749
|
+
items?: any[];
|
|
750
|
+
brand?: BrandDTO;
|
|
751
|
+
changes?: CategoryChangeDTO[];
|
|
760
752
|
[index: string]: any;
|
|
761
753
|
}
|
|
762
|
-
export interface
|
|
754
|
+
export interface CategoryChangeDTO {
|
|
755
|
+
id?: string;
|
|
756
|
+
insert?: FilterFieldDTO;
|
|
757
|
+
delete?: FilterFieldDTO;
|
|
758
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
759
|
+
snapshot_entity?: any;
|
|
760
|
+
[index: string]: any;
|
|
763
761
|
}
|
|
764
|
-
export
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
priority?: number;
|
|
771
|
-
modifiers?: ModifierGroupToModifierRelationshipDTO[];
|
|
772
|
-
items?: ItemToModifierGroupRelationshipDTO[];
|
|
773
|
-
brand_id: string;
|
|
774
|
-
station_id?: string;
|
|
775
|
-
id?: any;
|
|
776
|
-
brand?: BrandDTO;
|
|
777
|
-
station?: StationDTO;
|
|
762
|
+
export interface ModifierChangeDTO {
|
|
763
|
+
id?: string;
|
|
764
|
+
insert?: FilterFieldDTO;
|
|
765
|
+
delete?: FilterFieldDTO;
|
|
766
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
767
|
+
snapshot_entity?: any;
|
|
778
768
|
[index: string]: any;
|
|
779
|
-
}
|
|
780
|
-
export interface
|
|
781
|
-
|
|
782
|
-
|
|
769
|
+
}
|
|
770
|
+
export interface ModifierGroupToModifierRelationshipChangeDTO {
|
|
771
|
+
id?: string;
|
|
772
|
+
insert?: FilterFieldDTO;
|
|
773
|
+
delete?: FilterFieldDTO;
|
|
774
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
775
|
+
snapshot_entity?: any;
|
|
783
776
|
[index: string]: any;
|
|
784
777
|
}
|
|
785
|
-
export interface
|
|
786
|
-
|
|
778
|
+
export interface ModifierGroupChangeDTO {
|
|
779
|
+
id?: string;
|
|
780
|
+
insert?: FilterFieldDTO;
|
|
781
|
+
delete?: FilterFieldDTO;
|
|
782
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
783
|
+
snapshot_entity?: any;
|
|
784
|
+
[index: string]: any;
|
|
787
785
|
}
|
|
788
|
-
export interface
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
priority?: number;
|
|
795
|
-
modifiers?: ModifierGroupToModifierRelationshipDTO[];
|
|
796
|
-
items?: ItemToModifierGroupRelationshipDTO[];
|
|
797
|
-
brand_id: string;
|
|
798
|
-
station_id?: string;
|
|
799
|
-
id?: any;
|
|
800
|
-
brand?: BrandDTO;
|
|
801
|
-
station?: StationDTO;
|
|
786
|
+
export interface ItemToModifierGroupRelationshipChangeDTO {
|
|
787
|
+
id?: string;
|
|
788
|
+
insert?: FilterFieldDTO;
|
|
789
|
+
delete?: FilterFieldDTO;
|
|
790
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
791
|
+
snapshot_entity?: any;
|
|
802
792
|
[index: string]: any;
|
|
803
793
|
}
|
|
804
|
-
export
|
|
805
|
-
|
|
806
|
-
|
|
794
|
+
export interface ItemChangeDTO {
|
|
795
|
+
id?: string;
|
|
796
|
+
insert?: FilterFieldDTO;
|
|
797
|
+
delete?: FilterFieldDTO;
|
|
798
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
799
|
+
snapshot_entity?: any;
|
|
800
|
+
[index: string]: any;
|
|
807
801
|
}
|
|
808
|
-
export interface
|
|
809
|
-
id
|
|
802
|
+
export interface CategoryToItemRelationshipChangeDTO {
|
|
803
|
+
id?: string;
|
|
804
|
+
insert?: FilterFieldDTO;
|
|
805
|
+
delete?: FilterFieldDTO;
|
|
806
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
807
|
+
snapshot_entity?: any;
|
|
808
|
+
[index: string]: any;
|
|
810
809
|
}
|
|
811
|
-
export interface
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
810
|
+
export interface BrandChangeDTO {
|
|
811
|
+
id?: string;
|
|
812
|
+
insert?: string;
|
|
813
|
+
delete?: string;
|
|
814
|
+
snapshot_entity_id?: string;
|
|
815
|
+
[index: string]: any;
|
|
815
816
|
}
|
|
816
|
-
export
|
|
817
|
-
|
|
817
|
+
export interface PublishedLayoutDTO {
|
|
818
|
+
id?: string;
|
|
819
|
+
parent_id?: string;
|
|
820
|
+
name?: string;
|
|
821
|
+
brand_id?: string;
|
|
822
|
+
station_id?: string;
|
|
823
|
+
[index: string]: any;
|
|
818
824
|
}
|
|
819
|
-
export interface
|
|
820
|
-
id
|
|
825
|
+
export interface PublishedItemDTO {
|
|
826
|
+
id?: string;
|
|
827
|
+
parent_id?: string;
|
|
828
|
+
name?: string;
|
|
829
|
+
label?: string;
|
|
830
|
+
description?: string;
|
|
831
|
+
price?: number;
|
|
832
|
+
barcode?: string;
|
|
833
|
+
calories?: number;
|
|
834
|
+
priority?: number;
|
|
835
|
+
is_active?: boolean;
|
|
836
|
+
is_in_stock?: boolean;
|
|
837
|
+
posid?: string;
|
|
838
|
+
tax_tags?: any[];
|
|
839
|
+
brand_id?: string;
|
|
840
|
+
station_id?: string;
|
|
841
|
+
[index: string]: any;
|
|
821
842
|
}
|
|
822
|
-
export interface
|
|
843
|
+
export interface PublishedModifierGroupDTO {
|
|
844
|
+
id?: string;
|
|
845
|
+
parent_id?: string;
|
|
823
846
|
name?: string;
|
|
824
847
|
label?: string;
|
|
825
848
|
min?: number;
|
|
826
849
|
max?: number;
|
|
827
850
|
is_active?: boolean;
|
|
828
851
|
priority?: number;
|
|
829
|
-
modifiers?: ModifierGroupToModifierRelationshipDTO[];
|
|
830
|
-
items?: ItemToModifierGroupRelationshipDTO[];
|
|
831
852
|
brand_id?: string;
|
|
832
853
|
station_id?: string;
|
|
833
|
-
id?: string;
|
|
834
|
-
brand?: BrandDTO;
|
|
835
|
-
station?: StationDTO;
|
|
836
854
|
[index: string]: any;
|
|
837
855
|
}
|
|
838
|
-
export
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
856
|
+
export interface PublishedModifierDTO {
|
|
857
|
+
id?: string;
|
|
858
|
+
parent_id?: string;
|
|
859
|
+
name?: string;
|
|
860
|
+
label?: string;
|
|
861
|
+
description?: string;
|
|
862
|
+
price?: number;
|
|
863
|
+
calories?: number;
|
|
864
|
+
priority?: number;
|
|
865
|
+
tax_tags?: any[];
|
|
866
|
+
is_active?: boolean;
|
|
867
|
+
is_in_stock?: boolean;
|
|
868
|
+
posid?: string;
|
|
869
|
+
brand_id?: string;
|
|
870
|
+
station_id?: string;
|
|
871
|
+
[index: string]: any;
|
|
850
872
|
}
|
|
851
|
-
export interface
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
sort_order?: string;
|
|
862
|
-
soft_deleted?: string;
|
|
863
|
-
select?: string[];
|
|
864
|
-
relationships?: string[];
|
|
865
|
-
_query?: string;
|
|
866
|
-
}
|
|
867
|
-
export interface GetMenuV3ModifierGroupRelationshipsModifiersResponse {
|
|
868
|
-
meta: PaginationMetaDTO;
|
|
869
|
-
results: ModifierGroupToModifierRelationshipDTO[];
|
|
873
|
+
export interface PublishedCategoryDTO {
|
|
874
|
+
id?: string;
|
|
875
|
+
parent_id?: string;
|
|
876
|
+
name?: string;
|
|
877
|
+
label?: string;
|
|
878
|
+
sequence?: number;
|
|
879
|
+
priority?: number;
|
|
880
|
+
is_active?: boolean;
|
|
881
|
+
layout_id?: string;
|
|
882
|
+
brand_id?: string;
|
|
870
883
|
[index: string]: any;
|
|
871
884
|
}
|
|
872
|
-
export interface
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
modifier_id
|
|
876
|
-
modifier_group_id
|
|
885
|
+
export interface PublishedModifierGroupToModifierRelationshipDTO {
|
|
886
|
+
id?: string;
|
|
887
|
+
parent_id?: string;
|
|
888
|
+
modifier_id?: string;
|
|
889
|
+
modifier_group_id?: string;
|
|
890
|
+
brand_id?: string;
|
|
877
891
|
sequence?: number;
|
|
878
|
-
id?: any;
|
|
879
|
-
modifier?: ModifierDTO;
|
|
880
|
-
modifier_group?: ModifierGroupDTO;
|
|
881
|
-
[index: string]: any;
|
|
882
|
-
}[];
|
|
883
|
-
export interface PostMenuV3ModifierGroupRelationshipsModifiersResponse {
|
|
884
|
-
meta: PaginationMetaDTO;
|
|
885
|
-
results: ModifierGroupToModifierRelationshipDTO[];
|
|
886
892
|
[index: string]: any;
|
|
887
893
|
}
|
|
888
|
-
export interface
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
+
export interface PublishedItemToModifierGroupRelationshipDTO {
|
|
895
|
+
id?: string;
|
|
896
|
+
parent_id?: string;
|
|
897
|
+
modifier_group_id?: string;
|
|
898
|
+
item_id?: string;
|
|
899
|
+
brand_id?: string;
|
|
894
900
|
sequence?: number;
|
|
895
|
-
id?: any;
|
|
896
|
-
modifier?: ModifierDTO;
|
|
897
|
-
modifier_group?: ModifierGroupDTO;
|
|
898
901
|
[index: string]: any;
|
|
899
902
|
}
|
|
900
|
-
export
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
select?: string[];
|
|
909
|
-
relationships?: string[];
|
|
910
|
-
_query?: string;
|
|
903
|
+
export interface PublishedCategoryToItemRelationshipDTO {
|
|
904
|
+
id?: string;
|
|
905
|
+
parent_id?: string;
|
|
906
|
+
category_id?: string;
|
|
907
|
+
item_id?: string;
|
|
908
|
+
brand_id?: string;
|
|
909
|
+
sequence?: number;
|
|
910
|
+
[index: string]: any;
|
|
911
911
|
}
|
|
912
|
-
export
|
|
913
|
-
|
|
912
|
+
export interface PublishedBrandDTO {
|
|
913
|
+
parent?: any;
|
|
914
|
+
children?: any[];
|
|
915
|
+
layouts?: PublishedLayoutDTO[];
|
|
916
|
+
items?: PublishedItemDTO[];
|
|
917
|
+
modifier_groups?: PublishedModifierGroupDTO[];
|
|
918
|
+
modifiers?: PublishedModifierDTO[];
|
|
919
|
+
categories?: PublishedCategoryDTO[];
|
|
920
|
+
modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
921
|
+
item_to_modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
922
|
+
category_to_items?: PublishedCategoryToItemRelationshipDTO[];
|
|
923
|
+
parent_id?: string;
|
|
924
|
+
id?: any;
|
|
925
|
+
changes?: DraftBrandChangeDTO[];
|
|
926
|
+
[index: string]: any;
|
|
914
927
|
}
|
|
915
|
-
export interface
|
|
916
|
-
|
|
928
|
+
export interface DraftLayoutDTO {
|
|
929
|
+
parent?: any;
|
|
930
|
+
children?: any[];
|
|
931
|
+
categories?: DraftCategoryDTO[];
|
|
932
|
+
parent_id?: string;
|
|
933
|
+
name: string;
|
|
934
|
+
brand_id: string;
|
|
935
|
+
id?: any;
|
|
936
|
+
station_id?: string;
|
|
937
|
+
brand?: DraftBrandDTO;
|
|
938
|
+
station?: StationDTO;
|
|
939
|
+
changes?: DraftLayoutChangeDTO[];
|
|
940
|
+
[index: string]: any;
|
|
917
941
|
}
|
|
918
|
-
export interface
|
|
919
|
-
|
|
920
|
-
|
|
942
|
+
export interface DraftCategoryDTO {
|
|
943
|
+
parent_id?: string;
|
|
944
|
+
name?: string;
|
|
945
|
+
label?: string;
|
|
921
946
|
sequence?: number;
|
|
947
|
+
priority?: number;
|
|
948
|
+
is_active?: boolean;
|
|
949
|
+
layout_id?: string;
|
|
950
|
+
brand_id?: string;
|
|
922
951
|
id?: string;
|
|
923
|
-
modifier?: ModifierDTO;
|
|
924
|
-
modifier_group?: ModifierGroupDTO;
|
|
925
952
|
[index: string]: any;
|
|
926
953
|
}
|
|
927
|
-
export
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
export interface DeleteMenuV3ModifierGroupRelationshipsModifierPath {
|
|
932
|
-
id: string;
|
|
933
|
-
}
|
|
934
|
-
export type DeleteMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationshipDTO;
|
|
935
|
-
export interface DeleteMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, DeleteMenuV3ModifierGroupRelationshipsModifierPath {
|
|
936
|
-
}
|
|
937
|
-
export interface GetMenuV3ItemsQuery {
|
|
938
|
-
filter?: any;
|
|
939
|
-
limit?: number;
|
|
940
|
-
page?: number;
|
|
941
|
-
sort_by?: string;
|
|
942
|
-
sort_order?: string;
|
|
943
|
-
soft_deleted?: string;
|
|
944
|
-
select?: string[];
|
|
945
|
-
relationships?: string[];
|
|
946
|
-
_query?: string;
|
|
954
|
+
export interface DraftBrandDTO {
|
|
955
|
+
parent_id?: string;
|
|
956
|
+
id?: string;
|
|
957
|
+
[index: string]: any;
|
|
947
958
|
}
|
|
948
|
-
export interface
|
|
949
|
-
|
|
950
|
-
|
|
959
|
+
export interface DraftLayoutChangeDTO {
|
|
960
|
+
id?: string;
|
|
961
|
+
insert?: string;
|
|
962
|
+
delete?: string;
|
|
963
|
+
snapshot_entity_id?: string;
|
|
951
964
|
[index: string]: any;
|
|
952
965
|
}
|
|
953
|
-
export interface
|
|
966
|
+
export interface DraftLayoutDraftLayoutDTO {
|
|
967
|
+
parent_id?: any;
|
|
968
|
+
name?: any;
|
|
969
|
+
brand_id?: any;
|
|
970
|
+
station_id?: any;
|
|
971
|
+
id?: any;
|
|
972
|
+
version?: any;
|
|
973
|
+
created_at?: any;
|
|
974
|
+
updated_at?: any;
|
|
975
|
+
deleted_at?: any;
|
|
976
|
+
parent?: any;
|
|
977
|
+
children?: any[];
|
|
978
|
+
categories?: DraftCategoryDTO[];
|
|
979
|
+
brand?: DraftBrandDTO;
|
|
980
|
+
station?: StationDTO;
|
|
981
|
+
changes?: DraftLayoutChangeDTO[];
|
|
982
|
+
[index: string]: any;
|
|
983
|
+
}
|
|
984
|
+
export interface DraftCategoryDraftCategoryDTO {
|
|
985
|
+
parent_id?: FilterFieldDTO;
|
|
986
|
+
name?: FilterFieldDTO;
|
|
987
|
+
label?: FilterFieldDTO;
|
|
988
|
+
sequence?: FilterFieldDTO;
|
|
989
|
+
priority?: FilterFieldDTO;
|
|
990
|
+
is_active?: FilterFieldDTO;
|
|
991
|
+
layout_id?: FilterFieldDTO;
|
|
992
|
+
brand_id?: FilterFieldDTO;
|
|
993
|
+
id?: FilterFieldDTO;
|
|
994
|
+
version?: FilterFieldDTO;
|
|
995
|
+
created_at?: FilterFieldDTO;
|
|
996
|
+
updated_at?: FilterFieldDTO;
|
|
997
|
+
deleted_at?: FilterFieldDTO;
|
|
998
|
+
parent?: any;
|
|
999
|
+
children?: any[];
|
|
1000
|
+
layout?: DraftLayoutDTO;
|
|
1001
|
+
items?: DraftCategoryToItemRelationshipDTO[];
|
|
1002
|
+
brand?: DraftBrandDTO;
|
|
1003
|
+
changes?: DraftCategoryChangeDTO[];
|
|
1004
|
+
[index: string]: any;
|
|
1005
|
+
}
|
|
1006
|
+
export interface DraftCategoryToItemRelationshipDTO {
|
|
1007
|
+
parent?: any;
|
|
1008
|
+
children?: any[];
|
|
1009
|
+
id?: string;
|
|
1010
|
+
parent_id?: string;
|
|
1011
|
+
category_id?: string;
|
|
1012
|
+
item_id?: string;
|
|
1013
|
+
brand_id?: FilterFieldDTO;
|
|
1014
|
+
sequence?: number;
|
|
1015
|
+
category?: any;
|
|
1016
|
+
item?: DraftItemDTO;
|
|
1017
|
+
brand?: DraftBrandDTO;
|
|
1018
|
+
changes?: DraftCategoryToItemRelationshipChangeDTO[];
|
|
1019
|
+
[index: string]: any;
|
|
954
1020
|
}
|
|
955
|
-
export
|
|
956
|
-
|
|
1021
|
+
export interface DraftItemDTO {
|
|
1022
|
+
parent_id?: string;
|
|
1023
|
+
parent?: any;
|
|
1024
|
+
children?: any[];
|
|
1025
|
+
name?: string;
|
|
957
1026
|
label?: string;
|
|
958
1027
|
description?: string;
|
|
959
|
-
price
|
|
1028
|
+
price?: number;
|
|
960
1029
|
barcode?: string;
|
|
961
1030
|
calories?: number;
|
|
962
1031
|
priority?: number;
|
|
963
1032
|
is_active?: boolean;
|
|
964
1033
|
is_in_stock?: boolean;
|
|
965
|
-
posid
|
|
966
|
-
tax_tags?:
|
|
967
|
-
modifier_groups?:
|
|
968
|
-
brand_id
|
|
1034
|
+
posid?: string;
|
|
1035
|
+
tax_tags?: FilterFieldDTO[];
|
|
1036
|
+
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1037
|
+
brand_id?: string;
|
|
969
1038
|
station_id?: string;
|
|
970
|
-
id?:
|
|
971
|
-
categories?:
|
|
972
|
-
brand?:
|
|
1039
|
+
id?: string;
|
|
1040
|
+
categories?: any[];
|
|
1041
|
+
brand?: DraftBrandDTO;
|
|
973
1042
|
station?: StationDTO;
|
|
1043
|
+
changes?: DraftItemChangeDTO[];
|
|
974
1044
|
[index: string]: any;
|
|
975
|
-
}[];
|
|
976
|
-
export interface PostMenuV3ItemsResponse {
|
|
977
|
-
meta: PaginationMetaDTO;
|
|
978
|
-
results: ItemDTO[];
|
|
979
|
-
[index: string]: any;
|
|
980
|
-
}
|
|
981
|
-
export interface PostMenuV3ItemsRequest extends BaseRequest {
|
|
982
|
-
body: PostMenuV3ItemsBody;
|
|
983
|
-
}
|
|
984
|
-
export interface GetMenuV3ItemPath {
|
|
985
|
-
id: string;
|
|
986
1045
|
}
|
|
987
|
-
export interface
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
1046
|
+
export interface DraftItemToModifierGroupRelationshipDTO {
|
|
1047
|
+
parent?: any;
|
|
1048
|
+
children?: any[];
|
|
1049
|
+
id?: string;
|
|
1050
|
+
parent_id?: string;
|
|
1051
|
+
modifier_group_id?: string;
|
|
1052
|
+
item_id?: string;
|
|
1053
|
+
brand_id?: FilterFieldDTO;
|
|
1054
|
+
sequence?: number;
|
|
1055
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
1056
|
+
item?: any;
|
|
1057
|
+
brand?: DraftBrandDTO;
|
|
1058
|
+
changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
|
|
1059
|
+
[index: string]: any;
|
|
991
1060
|
}
|
|
992
|
-
export
|
|
993
|
-
|
|
1061
|
+
export interface DraftModifierGroupDTO {
|
|
1062
|
+
parent_id?: string;
|
|
1063
|
+
parent?: any;
|
|
1064
|
+
children?: any[];
|
|
1065
|
+
name?: string;
|
|
1066
|
+
label?: string;
|
|
1067
|
+
min?: number;
|
|
1068
|
+
max?: number;
|
|
1069
|
+
is_active?: boolean;
|
|
1070
|
+
priority?: number;
|
|
1071
|
+
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1072
|
+
items?: any[];
|
|
1073
|
+
brand_id?: string;
|
|
1074
|
+
station_id?: string;
|
|
1075
|
+
id?: string;
|
|
1076
|
+
brand?: DraftBrandDTO;
|
|
1077
|
+
station?: StationDTO;
|
|
1078
|
+
changes?: DraftModifierGroupChangeDTO[];
|
|
1079
|
+
[index: string]: any;
|
|
994
1080
|
}
|
|
995
|
-
export interface
|
|
996
|
-
|
|
1081
|
+
export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
1082
|
+
parent?: any;
|
|
1083
|
+
children?: any[];
|
|
1084
|
+
id?: string;
|
|
1085
|
+
parent_id?: string;
|
|
1086
|
+
modifier_id?: string;
|
|
1087
|
+
modifier_group_id?: string;
|
|
1088
|
+
brand_id?: FilterFieldDTO;
|
|
1089
|
+
sequence?: number;
|
|
1090
|
+
modifier?: DraftModifierDTO;
|
|
1091
|
+
modifier_group?: any;
|
|
1092
|
+
brand?: DraftBrandDTO;
|
|
1093
|
+
changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
|
|
1094
|
+
[index: string]: any;
|
|
997
1095
|
}
|
|
998
|
-
export interface
|
|
1096
|
+
export interface DraftModifierDTO {
|
|
1097
|
+
parent_id?: string;
|
|
1098
|
+
parent?: any;
|
|
1099
|
+
children?: any[];
|
|
999
1100
|
name?: string;
|
|
1000
1101
|
label?: string;
|
|
1001
1102
|
description?: string;
|
|
1002
1103
|
price?: number;
|
|
1003
|
-
barcode?: string;
|
|
1004
1104
|
calories?: number;
|
|
1005
1105
|
priority?: number;
|
|
1106
|
+
tax_tags?: FilterFieldDTO[];
|
|
1006
1107
|
is_active?: boolean;
|
|
1007
1108
|
is_in_stock?: boolean;
|
|
1008
1109
|
posid?: string;
|
|
1009
|
-
|
|
1010
|
-
modifier_groups?: ItemToModifierGroupRelationshipDTO[];
|
|
1110
|
+
modifier_groups?: any[];
|
|
1011
1111
|
brand_id?: string;
|
|
1012
1112
|
station_id?: string;
|
|
1013
1113
|
id?: string;
|
|
1014
|
-
|
|
1015
|
-
brand?: BrandDTO;
|
|
1114
|
+
brand?: DraftBrandDTO;
|
|
1016
1115
|
station?: StationDTO;
|
|
1116
|
+
changes?: DraftModifierChangeDTO[];
|
|
1017
1117
|
[index: string]: any;
|
|
1018
1118
|
}
|
|
1019
|
-
export
|
|
1020
|
-
|
|
1021
|
-
|
|
1119
|
+
export interface DraftModifierChangeDTO {
|
|
1120
|
+
id?: string;
|
|
1121
|
+
insert?: FilterFieldDTO;
|
|
1122
|
+
delete?: FilterFieldDTO;
|
|
1123
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
1124
|
+
snapshot_entity?: any;
|
|
1125
|
+
[index: string]: any;
|
|
1022
1126
|
}
|
|
1023
|
-
export interface
|
|
1024
|
-
id
|
|
1127
|
+
export interface DraftModifierGroupToModifierRelationshipChangeDTO {
|
|
1128
|
+
id?: string;
|
|
1129
|
+
insert?: FilterFieldDTO;
|
|
1130
|
+
delete?: FilterFieldDTO;
|
|
1131
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
1132
|
+
snapshot_entity?: any;
|
|
1133
|
+
[index: string]: any;
|
|
1025
1134
|
}
|
|
1026
|
-
export
|
|
1027
|
-
|
|
1135
|
+
export interface DraftModifierGroupChangeDTO {
|
|
1136
|
+
id?: string;
|
|
1137
|
+
insert?: FilterFieldDTO;
|
|
1138
|
+
delete?: FilterFieldDTO;
|
|
1139
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
1140
|
+
snapshot_entity?: any;
|
|
1141
|
+
[index: string]: any;
|
|
1028
1142
|
}
|
|
1029
|
-
export interface
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
calories?: number;
|
|
1036
|
-
priority?: number;
|
|
1037
|
-
is_active?: boolean;
|
|
1038
|
-
is_in_stock?: boolean;
|
|
1039
|
-
posid: string;
|
|
1040
|
-
tax_tags?: string[];
|
|
1041
|
-
modifier_groups?: ItemToModifierGroupRelationshipDTO[];
|
|
1042
|
-
brand_id: string;
|
|
1043
|
-
station_id?: string;
|
|
1044
|
-
id?: any;
|
|
1045
|
-
categories?: CategoryToItemRelationshipDTO[];
|
|
1046
|
-
brand?: BrandDTO;
|
|
1047
|
-
station?: StationDTO;
|
|
1143
|
+
export interface DraftItemToModifierGroupRelationshipChangeDTO {
|
|
1144
|
+
id?: string;
|
|
1145
|
+
insert?: FilterFieldDTO;
|
|
1146
|
+
delete?: FilterFieldDTO;
|
|
1147
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
1148
|
+
snapshot_entity?: any;
|
|
1048
1149
|
[index: string]: any;
|
|
1049
1150
|
}
|
|
1050
|
-
export
|
|
1051
|
-
|
|
1052
|
-
|
|
1151
|
+
export interface DraftItemChangeDTO {
|
|
1152
|
+
id?: string;
|
|
1153
|
+
insert?: FilterFieldDTO;
|
|
1154
|
+
delete?: FilterFieldDTO;
|
|
1155
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
1156
|
+
snapshot_entity?: any;
|
|
1157
|
+
[index: string]: any;
|
|
1053
1158
|
}
|
|
1054
|
-
export interface
|
|
1055
|
-
|
|
1056
|
-
|
|
1159
|
+
export interface DraftCategoryToItemRelationshipChangeDTO {
|
|
1160
|
+
id?: string;
|
|
1161
|
+
insert?: FilterFieldDTO;
|
|
1162
|
+
delete?: FilterFieldDTO;
|
|
1163
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
1164
|
+
snapshot_entity?: any;
|
|
1165
|
+
[index: string]: any;
|
|
1057
1166
|
}
|
|
1058
|
-
export interface
|
|
1059
|
-
|
|
1167
|
+
export interface DraftCategoryChangeDTO {
|
|
1168
|
+
id?: string;
|
|
1169
|
+
insert?: FilterFieldDTO;
|
|
1170
|
+
delete?: FilterFieldDTO;
|
|
1171
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
1172
|
+
snapshot_entity?: any;
|
|
1173
|
+
[index: string]: any;
|
|
1174
|
+
}
|
|
1175
|
+
export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipDTO {
|
|
1176
|
+
parent_id?: FilterFieldDTO;
|
|
1177
|
+
deleted_at?: FilterFieldDTO;
|
|
1178
|
+
category_id?: FilterFieldDTO;
|
|
1179
|
+
item_id?: FilterFieldDTO;
|
|
1180
|
+
brand_id?: FilterFieldDTO;
|
|
1181
|
+
sequence?: FilterFieldDTO;
|
|
1182
|
+
id?: FilterFieldDTO;
|
|
1183
|
+
version?: FilterFieldDTO;
|
|
1184
|
+
created_at?: FilterFieldDTO;
|
|
1185
|
+
updated_at?: FilterFieldDTO;
|
|
1186
|
+
parent?: any;
|
|
1187
|
+
children?: any[];
|
|
1188
|
+
category?: DraftCategoryDTO;
|
|
1189
|
+
item?: DraftItemDTO;
|
|
1190
|
+
brand?: DraftBrandDTO;
|
|
1191
|
+
changes?: DraftCategoryToItemRelationshipChangeDTO[];
|
|
1192
|
+
[index: string]: any;
|
|
1193
|
+
}
|
|
1194
|
+
export interface DraftItemDraftItemDTO {
|
|
1195
|
+
parent_id?: FilterFieldDTO;
|
|
1196
|
+
name?: FilterFieldDTO;
|
|
1197
|
+
label?: FilterFieldDTO;
|
|
1198
|
+
description?: FilterFieldDTO;
|
|
1199
|
+
price?: FilterFieldDTO;
|
|
1200
|
+
barcode?: FilterFieldDTO;
|
|
1201
|
+
calories?: FilterFieldDTO;
|
|
1202
|
+
priority?: FilterFieldDTO;
|
|
1203
|
+
is_active?: FilterFieldDTO;
|
|
1204
|
+
is_in_stock?: FilterFieldDTO;
|
|
1205
|
+
posid?: FilterFieldDTO;
|
|
1206
|
+
tax_tags?: FilterFieldDTO[];
|
|
1207
|
+
brand_id?: FilterFieldDTO;
|
|
1208
|
+
station_id?: FilterFieldDTO;
|
|
1209
|
+
id?: FilterFieldDTO;
|
|
1210
|
+
version?: FilterFieldDTO;
|
|
1211
|
+
created_at?: FilterFieldDTO;
|
|
1212
|
+
updated_at?: FilterFieldDTO;
|
|
1213
|
+
deleted_at?: FilterFieldDTO;
|
|
1214
|
+
parent?: any;
|
|
1215
|
+
children?: any[];
|
|
1216
|
+
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1217
|
+
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
1218
|
+
brand?: DraftBrandDTO;
|
|
1219
|
+
station?: StationDTO;
|
|
1220
|
+
changes?: DraftItemChangeDTO[];
|
|
1221
|
+
[index: string]: any;
|
|
1222
|
+
}
|
|
1223
|
+
export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRelationshipDTO {
|
|
1224
|
+
parent_id?: FilterFieldDTO;
|
|
1225
|
+
deleted_at?: FilterFieldDTO;
|
|
1226
|
+
modifier_group_id?: FilterFieldDTO;
|
|
1227
|
+
item_id?: FilterFieldDTO;
|
|
1228
|
+
brand_id?: FilterFieldDTO;
|
|
1229
|
+
sequence?: FilterFieldDTO;
|
|
1230
|
+
id?: FilterFieldDTO;
|
|
1231
|
+
version?: FilterFieldDTO;
|
|
1232
|
+
created_at?: FilterFieldDTO;
|
|
1233
|
+
updated_at?: FilterFieldDTO;
|
|
1234
|
+
parent?: any;
|
|
1235
|
+
children?: any[];
|
|
1236
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
1237
|
+
item?: DraftItemDTO;
|
|
1238
|
+
brand?: DraftBrandDTO;
|
|
1239
|
+
changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
|
|
1240
|
+
[index: string]: any;
|
|
1241
|
+
}
|
|
1242
|
+
export interface DraftModifierGroupDraftModifierGroupDTO {
|
|
1243
|
+
parent_id?: FilterFieldDTO;
|
|
1244
|
+
name?: FilterFieldDTO;
|
|
1245
|
+
label?: FilterFieldDTO;
|
|
1246
|
+
min?: FilterFieldDTO;
|
|
1247
|
+
max?: FilterFieldDTO;
|
|
1248
|
+
is_active?: FilterFieldDTO;
|
|
1249
|
+
priority?: FilterFieldDTO;
|
|
1250
|
+
brand_id?: FilterFieldDTO;
|
|
1251
|
+
station_id?: FilterFieldDTO;
|
|
1252
|
+
id?: FilterFieldDTO;
|
|
1253
|
+
version?: FilterFieldDTO;
|
|
1254
|
+
created_at?: FilterFieldDTO;
|
|
1255
|
+
updated_at?: FilterFieldDTO;
|
|
1256
|
+
deleted_at?: FilterFieldDTO;
|
|
1257
|
+
parent?: any;
|
|
1258
|
+
children?: any[];
|
|
1259
|
+
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1260
|
+
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1261
|
+
brand?: DraftBrandDTO;
|
|
1262
|
+
station?: StationDTO;
|
|
1263
|
+
changes?: DraftModifierGroupChangeDTO[];
|
|
1264
|
+
[index: string]: any;
|
|
1265
|
+
}
|
|
1266
|
+
export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToModifierRelationshipDTO {
|
|
1267
|
+
parent_id?: FilterFieldDTO;
|
|
1268
|
+
deleted_at?: FilterFieldDTO;
|
|
1269
|
+
modifier_id?: FilterFieldDTO;
|
|
1270
|
+
modifier_group_id?: FilterFieldDTO;
|
|
1271
|
+
brand_id?: FilterFieldDTO;
|
|
1272
|
+
sequence?: FilterFieldDTO;
|
|
1273
|
+
id?: FilterFieldDTO;
|
|
1274
|
+
version?: FilterFieldDTO;
|
|
1275
|
+
created_at?: FilterFieldDTO;
|
|
1276
|
+
updated_at?: FilterFieldDTO;
|
|
1277
|
+
parent?: any;
|
|
1278
|
+
children?: any[];
|
|
1279
|
+
modifier?: DraftModifierDTO;
|
|
1280
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
1281
|
+
brand?: DraftBrandDTO;
|
|
1282
|
+
changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
|
|
1283
|
+
[index: string]: any;
|
|
1284
|
+
}
|
|
1285
|
+
export interface DraftModifierDraftModifierDTO {
|
|
1286
|
+
parent_id?: FilterFieldDTO;
|
|
1287
|
+
name?: FilterFieldDTO;
|
|
1288
|
+
label?: FilterFieldDTO;
|
|
1289
|
+
description?: FilterFieldDTO;
|
|
1290
|
+
price?: FilterFieldDTO;
|
|
1291
|
+
calories?: FilterFieldDTO;
|
|
1292
|
+
priority?: FilterFieldDTO;
|
|
1293
|
+
tax_tags?: FilterFieldDTO[];
|
|
1294
|
+
is_active?: FilterFieldDTO;
|
|
1295
|
+
is_in_stock?: FilterFieldDTO;
|
|
1296
|
+
posid?: FilterFieldDTO;
|
|
1297
|
+
brand_id?: FilterFieldDTO;
|
|
1298
|
+
station_id?: FilterFieldDTO;
|
|
1299
|
+
id?: FilterFieldDTO;
|
|
1300
|
+
version?: FilterFieldDTO;
|
|
1301
|
+
created_at?: FilterFieldDTO;
|
|
1302
|
+
updated_at?: FilterFieldDTO;
|
|
1303
|
+
deleted_at?: FilterFieldDTO;
|
|
1304
|
+
parent?: any;
|
|
1305
|
+
children?: any[];
|
|
1306
|
+
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1307
|
+
brand?: DraftBrandDTO;
|
|
1308
|
+
station?: StationDTO;
|
|
1309
|
+
changes?: DraftModifierChangeDTO[];
|
|
1060
1310
|
[index: string]: any;
|
|
1061
1311
|
}
|
|
1062
|
-
export interface
|
|
1312
|
+
export interface DraftBrandChangeDTO {
|
|
1313
|
+
id?: string;
|
|
1314
|
+
insert?: string;
|
|
1315
|
+
delete?: string;
|
|
1316
|
+
snapshot_entity_id?: string;
|
|
1317
|
+
[index: string]: any;
|
|
1318
|
+
}
|
|
1319
|
+
export interface DraftBrandDraftBrandDTO {
|
|
1320
|
+
parent_id?: FilterFieldDTO;
|
|
1321
|
+
id?: FilterFieldDTO;
|
|
1322
|
+
version?: FilterFieldDTO;
|
|
1323
|
+
created_at?: FilterFieldDTO;
|
|
1324
|
+
updated_at?: FilterFieldDTO;
|
|
1325
|
+
deleted_at?: FilterFieldDTO;
|
|
1326
|
+
parent?: any;
|
|
1327
|
+
children?: any[];
|
|
1328
|
+
layouts?: DraftLayoutDTO[];
|
|
1329
|
+
items?: DraftItemDTO[];
|
|
1330
|
+
modifier_groups?: DraftModifierGroupDTO[];
|
|
1331
|
+
modifiers?: DraftModifierDTO[];
|
|
1332
|
+
categories?: DraftCategoryDTO[];
|
|
1333
|
+
changes?: DraftBrandChangeDTO[];
|
|
1334
|
+
modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1335
|
+
item_to_modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1336
|
+
category_to_items?: DraftCategoryToItemRelationshipDTO[];
|
|
1337
|
+
[index: string]: any;
|
|
1338
|
+
}
|
|
1339
|
+
export interface PublishedBrandPublishedBrandDTO {
|
|
1340
|
+
parent_id?: FilterFieldDTO;
|
|
1341
|
+
id?: FilterFieldDTO;
|
|
1342
|
+
version?: FilterFieldDTO;
|
|
1343
|
+
created_at?: FilterFieldDTO;
|
|
1344
|
+
updated_at?: FilterFieldDTO;
|
|
1345
|
+
deleted_at?: FilterFieldDTO;
|
|
1346
|
+
parent?: any;
|
|
1347
|
+
children?: any[];
|
|
1348
|
+
layouts?: PublishedLayoutDTO[];
|
|
1349
|
+
items?: PublishedItemDTO[];
|
|
1350
|
+
modifier_groups?: PublishedModifierGroupDTO[];
|
|
1351
|
+
modifiers?: PublishedModifierDTO[];
|
|
1352
|
+
categories?: PublishedCategoryDTO[];
|
|
1353
|
+
modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1354
|
+
item_to_modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1355
|
+
category_to_items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1356
|
+
changes?: DraftBrandChangeDTO[];
|
|
1357
|
+
[index: string]: any;
|
|
1358
|
+
}
|
|
1359
|
+
export interface PublishedLayoutPublishedLayoutDTO {
|
|
1360
|
+
parent_id?: FilterFieldDTO;
|
|
1361
|
+
name?: FilterFieldDTO;
|
|
1362
|
+
brand_id?: FilterFieldDTO;
|
|
1363
|
+
station_id?: FilterFieldDTO;
|
|
1364
|
+
id?: FilterFieldDTO;
|
|
1365
|
+
version?: FilterFieldDTO;
|
|
1366
|
+
created_at?: FilterFieldDTO;
|
|
1367
|
+
updated_at?: FilterFieldDTO;
|
|
1368
|
+
deleted_at?: FilterFieldDTO;
|
|
1369
|
+
parent?: any;
|
|
1370
|
+
children?: any[];
|
|
1371
|
+
categories?: PublishedCategoryDTO[];
|
|
1372
|
+
brand?: PublishedBrandDTO;
|
|
1373
|
+
station?: StationDTO;
|
|
1374
|
+
changes?: DraftLayoutChangeDTO[];
|
|
1375
|
+
[index: string]: any;
|
|
1376
|
+
}
|
|
1377
|
+
export interface PublishedCategoryPublishedCategoryDTO {
|
|
1378
|
+
parent_id?: FilterFieldDTO;
|
|
1379
|
+
name?: FilterFieldDTO;
|
|
1380
|
+
label?: FilterFieldDTO;
|
|
1381
|
+
sequence?: FilterFieldDTO;
|
|
1382
|
+
priority?: FilterFieldDTO;
|
|
1383
|
+
is_active?: FilterFieldDTO;
|
|
1384
|
+
layout_id?: FilterFieldDTO;
|
|
1385
|
+
brand_id?: FilterFieldDTO;
|
|
1386
|
+
id?: FilterFieldDTO;
|
|
1387
|
+
version?: FilterFieldDTO;
|
|
1388
|
+
created_at?: FilterFieldDTO;
|
|
1389
|
+
updated_at?: FilterFieldDTO;
|
|
1390
|
+
deleted_at?: FilterFieldDTO;
|
|
1391
|
+
parent?: any;
|
|
1392
|
+
children?: any[];
|
|
1393
|
+
layout?: PublishedLayoutDTO;
|
|
1394
|
+
items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1395
|
+
brand?: PublishedBrandDTO;
|
|
1396
|
+
changes?: DraftCategoryChangeDTO[];
|
|
1397
|
+
[index: string]: any;
|
|
1398
|
+
}
|
|
1399
|
+
export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelationshipDTO {
|
|
1400
|
+
parent_id?: FilterFieldDTO;
|
|
1401
|
+
deleted_at?: FilterFieldDTO;
|
|
1402
|
+
category_id?: FilterFieldDTO;
|
|
1403
|
+
item_id?: FilterFieldDTO;
|
|
1404
|
+
brand_id?: FilterFieldDTO;
|
|
1405
|
+
sequence?: FilterFieldDTO;
|
|
1406
|
+
id?: FilterFieldDTO;
|
|
1407
|
+
version?: FilterFieldDTO;
|
|
1408
|
+
created_at?: FilterFieldDTO;
|
|
1409
|
+
updated_at?: FilterFieldDTO;
|
|
1410
|
+
parent?: any;
|
|
1411
|
+
children?: any[];
|
|
1412
|
+
category?: PublishedCategoryDTO;
|
|
1413
|
+
item?: PublishedItemDTO;
|
|
1414
|
+
brand?: PublishedBrandDTO;
|
|
1415
|
+
changes?: DraftCategoryToItemRelationshipChangeDTO[];
|
|
1416
|
+
[index: string]: any;
|
|
1417
|
+
}
|
|
1418
|
+
export interface PublishedItemPublishedItemDTO {
|
|
1419
|
+
parent_id?: FilterFieldDTO;
|
|
1420
|
+
name?: FilterFieldDTO;
|
|
1421
|
+
label?: FilterFieldDTO;
|
|
1422
|
+
description?: FilterFieldDTO;
|
|
1423
|
+
price?: FilterFieldDTO;
|
|
1424
|
+
barcode?: FilterFieldDTO;
|
|
1425
|
+
calories?: FilterFieldDTO;
|
|
1426
|
+
priority?: FilterFieldDTO;
|
|
1427
|
+
is_active?: FilterFieldDTO;
|
|
1428
|
+
is_in_stock?: FilterFieldDTO;
|
|
1429
|
+
posid?: FilterFieldDTO;
|
|
1430
|
+
tax_tags?: FilterFieldDTO[];
|
|
1431
|
+
brand_id?: FilterFieldDTO;
|
|
1432
|
+
station_id?: FilterFieldDTO;
|
|
1433
|
+
id?: FilterFieldDTO;
|
|
1434
|
+
version?: FilterFieldDTO;
|
|
1435
|
+
created_at?: FilterFieldDTO;
|
|
1436
|
+
updated_at?: FilterFieldDTO;
|
|
1437
|
+
deleted_at?: FilterFieldDTO;
|
|
1438
|
+
parent?: any;
|
|
1439
|
+
children?: any[];
|
|
1440
|
+
modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1441
|
+
categories?: PublishedCategoryToItemRelationshipDTO[];
|
|
1442
|
+
brand?: PublishedBrandDTO;
|
|
1443
|
+
station?: StationDTO;
|
|
1444
|
+
changes?: DraftItemChangeDTO[];
|
|
1445
|
+
[index: string]: any;
|
|
1446
|
+
}
|
|
1447
|
+
export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifierGroupRelationshipDTO {
|
|
1448
|
+
parent_id?: FilterFieldDTO;
|
|
1449
|
+
deleted_at?: FilterFieldDTO;
|
|
1450
|
+
modifier_group_id?: FilterFieldDTO;
|
|
1451
|
+
item_id?: FilterFieldDTO;
|
|
1452
|
+
brand_id?: FilterFieldDTO;
|
|
1453
|
+
sequence?: FilterFieldDTO;
|
|
1454
|
+
id?: FilterFieldDTO;
|
|
1455
|
+
version?: FilterFieldDTO;
|
|
1456
|
+
created_at?: FilterFieldDTO;
|
|
1457
|
+
updated_at?: FilterFieldDTO;
|
|
1458
|
+
parent?: any;
|
|
1459
|
+
children?: any[];
|
|
1460
|
+
item?: PublishedItemDTO;
|
|
1461
|
+
modifier_group?: PublishedModifierGroupDTO;
|
|
1462
|
+
brand?: PublishedBrandDTO;
|
|
1463
|
+
changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
|
|
1464
|
+
[index: string]: any;
|
|
1465
|
+
}
|
|
1466
|
+
export interface PublishedModifierGroupPublishedModifierGroupDTO {
|
|
1467
|
+
parent_id?: FilterFieldDTO;
|
|
1468
|
+
name?: FilterFieldDTO;
|
|
1469
|
+
label?: FilterFieldDTO;
|
|
1470
|
+
min?: FilterFieldDTO;
|
|
1471
|
+
max?: FilterFieldDTO;
|
|
1472
|
+
is_active?: FilterFieldDTO;
|
|
1473
|
+
priority?: FilterFieldDTO;
|
|
1474
|
+
brand_id?: FilterFieldDTO;
|
|
1475
|
+
station_id?: FilterFieldDTO;
|
|
1476
|
+
id?: FilterFieldDTO;
|
|
1477
|
+
version?: FilterFieldDTO;
|
|
1478
|
+
created_at?: FilterFieldDTO;
|
|
1479
|
+
updated_at?: FilterFieldDTO;
|
|
1480
|
+
deleted_at?: FilterFieldDTO;
|
|
1481
|
+
parent?: any;
|
|
1482
|
+
children?: any[];
|
|
1483
|
+
modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1484
|
+
items?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1485
|
+
brand?: PublishedBrandDTO;
|
|
1486
|
+
station?: StationDTO;
|
|
1487
|
+
changes?: DraftModifierGroupChangeDTO[];
|
|
1488
|
+
[index: string]: any;
|
|
1489
|
+
}
|
|
1490
|
+
export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGroupToModifierRelationshipDTO {
|
|
1491
|
+
parent_id?: FilterFieldDTO;
|
|
1492
|
+
deleted_at?: FilterFieldDTO;
|
|
1493
|
+
modifier_id?: FilterFieldDTO;
|
|
1494
|
+
modifier_group_id?: FilterFieldDTO;
|
|
1495
|
+
brand_id?: FilterFieldDTO;
|
|
1496
|
+
sequence?: FilterFieldDTO;
|
|
1497
|
+
id?: FilterFieldDTO;
|
|
1498
|
+
version?: FilterFieldDTO;
|
|
1499
|
+
created_at?: FilterFieldDTO;
|
|
1500
|
+
updated_at?: FilterFieldDTO;
|
|
1501
|
+
parent?: any;
|
|
1502
|
+
children?: any[];
|
|
1503
|
+
modifier_group?: PublishedModifierGroupDTO;
|
|
1504
|
+
modifier?: PublishedModifierDTO;
|
|
1505
|
+
brand?: PublishedBrandDTO;
|
|
1506
|
+
changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
|
|
1507
|
+
[index: string]: any;
|
|
1508
|
+
}
|
|
1509
|
+
export interface PublishedModifierPublishedModifierDTO {
|
|
1510
|
+
parent_id?: FilterFieldDTO;
|
|
1511
|
+
name?: FilterFieldDTO;
|
|
1512
|
+
label?: FilterFieldDTO;
|
|
1513
|
+
description?: FilterFieldDTO;
|
|
1514
|
+
price?: FilterFieldDTO;
|
|
1515
|
+
calories?: FilterFieldDTO;
|
|
1516
|
+
priority?: FilterFieldDTO;
|
|
1517
|
+
tax_tags?: FilterFieldDTO[];
|
|
1518
|
+
is_active?: FilterFieldDTO;
|
|
1519
|
+
is_in_stock?: FilterFieldDTO;
|
|
1520
|
+
posid?: FilterFieldDTO;
|
|
1521
|
+
brand_id?: FilterFieldDTO;
|
|
1522
|
+
station_id?: FilterFieldDTO;
|
|
1523
|
+
id?: FilterFieldDTO;
|
|
1524
|
+
version?: FilterFieldDTO;
|
|
1525
|
+
created_at?: FilterFieldDTO;
|
|
1526
|
+
updated_at?: FilterFieldDTO;
|
|
1527
|
+
deleted_at?: FilterFieldDTO;
|
|
1528
|
+
parent?: any;
|
|
1529
|
+
children?: any[];
|
|
1530
|
+
modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1531
|
+
brand?: PublishedBrandDTO;
|
|
1532
|
+
station?: StationDTO;
|
|
1533
|
+
changes?: DraftModifierChangeDTO[];
|
|
1534
|
+
[index: string]: any;
|
|
1063
1535
|
}
|
|
1064
|
-
export interface
|
|
1536
|
+
export interface GetMenuV3ModifiersQuery {
|
|
1537
|
+
select?: string[];
|
|
1538
|
+
relationships?: string[];
|
|
1065
1539
|
filter?: any;
|
|
1066
1540
|
limit?: number;
|
|
1067
1541
|
page?: number;
|
|
1068
1542
|
sort_by?: string;
|
|
1069
1543
|
sort_order?: string;
|
|
1070
1544
|
soft_deleted?: string;
|
|
1071
|
-
select?: string[];
|
|
1072
|
-
relationships?: string[];
|
|
1073
1545
|
_query?: string;
|
|
1074
1546
|
}
|
|
1075
|
-
export interface
|
|
1076
|
-
|
|
1077
|
-
|
|
1547
|
+
export interface GetMenuV3ModifiersResponse {
|
|
1548
|
+
results: PublishedModifierDTO[];
|
|
1549
|
+
meta?: ListResponseMetadataDTO;
|
|
1078
1550
|
[index: string]: any;
|
|
1079
1551
|
}
|
|
1080
|
-
export interface
|
|
1552
|
+
export interface GetMenuV3ModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersQuery> {
|
|
1081
1553
|
}
|
|
1082
|
-
export
|
|
1083
|
-
modifier_group_id: string;
|
|
1084
|
-
item_id: string;
|
|
1085
|
-
sequence?: number;
|
|
1086
|
-
id?: any;
|
|
1087
|
-
modifier_group?: ModifierGroupDTO;
|
|
1088
|
-
item?: ItemDTO;
|
|
1089
|
-
[index: string]: any;
|
|
1090
|
-
}[];
|
|
1091
|
-
export interface PostMenuV3ItemRelationshipsModifierGroupsResponse {
|
|
1092
|
-
meta: PaginationMetaDTO;
|
|
1093
|
-
results: ItemToModifierGroupRelationshipDTO[];
|
|
1094
|
-
[index: string]: any;
|
|
1095
|
-
}
|
|
1096
|
-
export interface PostMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest {
|
|
1097
|
-
body: PostMenuV3ItemRelationshipsModifierGroupsBody;
|
|
1098
|
-
}
|
|
1099
|
-
export interface PostMenuV3ItemRelationshipsModifierGroupBody {
|
|
1100
|
-
modifier_group_id: string;
|
|
1101
|
-
item_id: string;
|
|
1102
|
-
sequence?: number;
|
|
1103
|
-
id?: any;
|
|
1104
|
-
modifier_group?: ModifierGroupDTO;
|
|
1105
|
-
item?: ItemDTO;
|
|
1106
|
-
[index: string]: any;
|
|
1107
|
-
}
|
|
1108
|
-
export type PostMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
|
|
1109
|
-
export interface PostMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest {
|
|
1110
|
-
body: PostMenuV3ItemRelationshipsModifierGroupBody;
|
|
1111
|
-
}
|
|
1112
|
-
export interface GetMenuV3ItemRelationshipsModifierGroupPath {
|
|
1554
|
+
export interface GetMenuV3ModifierPath {
|
|
1113
1555
|
id: string;
|
|
1114
1556
|
}
|
|
1115
|
-
export interface
|
|
1557
|
+
export interface GetMenuV3ModifierQuery {
|
|
1116
1558
|
select?: string[];
|
|
1117
1559
|
relationships?: string[];
|
|
1118
1560
|
_query?: string;
|
|
1119
1561
|
}
|
|
1120
|
-
export type
|
|
1121
|
-
export interface
|
|
1122
|
-
}
|
|
1123
|
-
export interface PatchMenuV3ItemRelationshipsModifierGroupPath {
|
|
1124
|
-
id: string;
|
|
1562
|
+
export type GetMenuV3ModifierResponse = PublishedModifierDTO;
|
|
1563
|
+
export interface GetMenuV3ModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierQuery>, GetMenuV3ModifierPath {
|
|
1125
1564
|
}
|
|
1126
|
-
export interface
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1565
|
+
export interface PostMenuV3ModifierBody {
|
|
1566
|
+
name: string;
|
|
1567
|
+
label?: string;
|
|
1568
|
+
description?: string;
|
|
1569
|
+
price: number;
|
|
1570
|
+
calories?: number;
|
|
1571
|
+
priority?: number;
|
|
1572
|
+
tax_tags?: string[];
|
|
1573
|
+
is_active?: boolean;
|
|
1574
|
+
is_in_stock?: boolean;
|
|
1575
|
+
posid: string;
|
|
1576
|
+
modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
|
|
1577
|
+
brand_id: string;
|
|
1578
|
+
station_id?: string;
|
|
1579
|
+
brand?: BrandDTO;
|
|
1580
|
+
station?: StationDTO;
|
|
1133
1581
|
[index: string]: any;
|
|
1134
1582
|
}
|
|
1135
|
-
export type
|
|
1136
|
-
export interface
|
|
1137
|
-
body:
|
|
1583
|
+
export type PostMenuV3ModifierResponse = ModifierDTO;
|
|
1584
|
+
export interface PostMenuV3ModifierRequest extends BaseRequest {
|
|
1585
|
+
body: PostMenuV3ModifierBody;
|
|
1586
|
+
}
|
|
1587
|
+
export interface GetMenuV3ModifierCountQuery {
|
|
1588
|
+
_query?: string;
|
|
1138
1589
|
}
|
|
1139
|
-
export interface
|
|
1140
|
-
|
|
1590
|
+
export interface GetMenuV3ModifierCountResponse {
|
|
1591
|
+
count?: number;
|
|
1141
1592
|
}
|
|
1142
|
-
export
|
|
1143
|
-
export interface DeleteMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, DeleteMenuV3ItemRelationshipsModifierGroupPath {
|
|
1593
|
+
export interface GetMenuV3ModifierCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierCountQuery> {
|
|
1144
1594
|
}
|
|
1145
|
-
export interface
|
|
1595
|
+
export interface GetMenuV3ModifierGroupsQuery {
|
|
1596
|
+
select?: string[];
|
|
1597
|
+
relationships?: string[];
|
|
1146
1598
|
filter?: any;
|
|
1147
1599
|
limit?: number;
|
|
1148
1600
|
page?: number;
|
|
1149
1601
|
sort_by?: string;
|
|
1150
1602
|
sort_order?: string;
|
|
1151
1603
|
soft_deleted?: string;
|
|
1152
|
-
select?: string[];
|
|
1153
|
-
relationships?: string[];
|
|
1154
1604
|
_query?: string;
|
|
1155
1605
|
}
|
|
1156
|
-
export interface
|
|
1157
|
-
|
|
1158
|
-
|
|
1606
|
+
export interface GetMenuV3ModifierGroupsResponse {
|
|
1607
|
+
results: PublishedModifierGroupDTO[];
|
|
1608
|
+
meta?: ListResponseMetadataDTO;
|
|
1159
1609
|
[index: string]: any;
|
|
1160
1610
|
}
|
|
1161
|
-
export interface
|
|
1611
|
+
export interface GetMenuV3ModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsQuery> {
|
|
1162
1612
|
}
|
|
1163
|
-
export
|
|
1613
|
+
export interface PostMenuV3ModifierGroupBody {
|
|
1164
1614
|
name: string;
|
|
1165
|
-
|
|
1615
|
+
label?: string;
|
|
1616
|
+
min?: number;
|
|
1617
|
+
max?: number;
|
|
1618
|
+
is_active?: boolean;
|
|
1619
|
+
priority?: number;
|
|
1620
|
+
modifiers?: ModifierGroupToModifierRelationshipDTO[];
|
|
1621
|
+
items?: ItemToModifierGroupRelationshipDTO[];
|
|
1166
1622
|
brand_id: string;
|
|
1167
|
-
station_id
|
|
1168
|
-
id?: any;
|
|
1623
|
+
station_id?: string;
|
|
1169
1624
|
brand?: BrandDTO;
|
|
1170
1625
|
station?: StationDTO;
|
|
1171
1626
|
[index: string]: any;
|
|
1172
|
-
}[];
|
|
1173
|
-
export interface PostMenuV3LayoutsResponse {
|
|
1174
|
-
meta: PaginationMetaDTO;
|
|
1175
|
-
results: LayoutDTO[];
|
|
1176
|
-
[index: string]: any;
|
|
1177
1627
|
}
|
|
1178
|
-
export
|
|
1179
|
-
|
|
1628
|
+
export type PostMenuV3ModifierGroupResponse = ModifierGroupDTO;
|
|
1629
|
+
export interface PostMenuV3ModifierGroupRequest extends BaseRequest {
|
|
1630
|
+
body: PostMenuV3ModifierGroupBody;
|
|
1180
1631
|
}
|
|
1181
|
-
export interface
|
|
1632
|
+
export interface GetMenuV3ModifierGroupPath {
|
|
1182
1633
|
id: string;
|
|
1183
1634
|
}
|
|
1184
|
-
export interface
|
|
1185
|
-
filter?: any;
|
|
1186
|
-
limit?: number;
|
|
1187
|
-
page?: number;
|
|
1188
|
-
sort_by?: string;
|
|
1189
|
-
sort_order?: string;
|
|
1190
|
-
soft_deleted?: string;
|
|
1635
|
+
export interface GetMenuV3ModifierGroupQuery {
|
|
1191
1636
|
select?: string[];
|
|
1192
1637
|
relationships?: string[];
|
|
1193
1638
|
_query?: string;
|
|
1194
1639
|
}
|
|
1195
|
-
export
|
|
1196
|
-
|
|
1197
|
-
results: CategoryDTO[];
|
|
1198
|
-
[index: string]: any;
|
|
1640
|
+
export type GetMenuV3ModifierGroupResponse = PublishedModifierGroupDTO;
|
|
1641
|
+
export interface GetMenuV3ModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupQuery>, GetMenuV3ModifierGroupPath {
|
|
1199
1642
|
}
|
|
1200
|
-
export interface
|
|
1643
|
+
export interface GetMenuV3ModifierGroupCountQuery {
|
|
1644
|
+
_query?: string;
|
|
1201
1645
|
}
|
|
1202
|
-
export interface
|
|
1203
|
-
|
|
1646
|
+
export interface GetMenuV3ModifierGroupCountResponse {
|
|
1647
|
+
count?: number;
|
|
1204
1648
|
}
|
|
1205
|
-
export interface
|
|
1649
|
+
export interface GetMenuV3ModifierGroupCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupCountQuery> {
|
|
1650
|
+
}
|
|
1651
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
|
|
1206
1652
|
select?: string[];
|
|
1207
1653
|
relationships?: string[];
|
|
1654
|
+
filter?: any;
|
|
1655
|
+
limit?: number;
|
|
1656
|
+
page?: number;
|
|
1657
|
+
sort_by?: string;
|
|
1658
|
+
sort_order?: string;
|
|
1659
|
+
soft_deleted?: string;
|
|
1208
1660
|
_query?: string;
|
|
1209
1661
|
}
|
|
1210
|
-
export
|
|
1211
|
-
|
|
1662
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersResponse {
|
|
1663
|
+
results: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1664
|
+
meta?: ListResponseMetadataDTO;
|
|
1665
|
+
[index: string]: any;
|
|
1212
1666
|
}
|
|
1213
|
-
export interface
|
|
1214
|
-
id: string;
|
|
1667
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersQuery> {
|
|
1215
1668
|
}
|
|
1216
|
-
export interface
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
brand?: BrandDTO;
|
|
1223
|
-
station?: StationDTO;
|
|
1669
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifierBody {
|
|
1670
|
+
modifier_id: string;
|
|
1671
|
+
modifier_group_id: string;
|
|
1672
|
+
sequence?: number;
|
|
1673
|
+
modifier?: ModifierDTO;
|
|
1674
|
+
modifier_group?: ModifierGroupDTO;
|
|
1224
1675
|
[index: string]: any;
|
|
1225
1676
|
}
|
|
1226
|
-
export type
|
|
1227
|
-
export interface
|
|
1228
|
-
body:
|
|
1677
|
+
export type PostMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationshipDTO;
|
|
1678
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest {
|
|
1679
|
+
body: PostMenuV3ModifierGroupRelationshipsModifierBody;
|
|
1229
1680
|
}
|
|
1230
|
-
export interface
|
|
1681
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifierPath {
|
|
1231
1682
|
id: string;
|
|
1232
1683
|
}
|
|
1233
|
-
export
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
export interface PostMenuV3LayoutBody {
|
|
1237
|
-
name: string;
|
|
1238
|
-
categories?: CategoryDTO[];
|
|
1239
|
-
brand_id: string;
|
|
1240
|
-
station_id: string;
|
|
1241
|
-
id?: any;
|
|
1242
|
-
brand?: any;
|
|
1243
|
-
station?: any;
|
|
1244
|
-
[index: string]: any;
|
|
1245
|
-
}
|
|
1246
|
-
export type PostMenuV3LayoutResponse = LayoutDTO;
|
|
1247
|
-
export interface PostMenuV3LayoutRequest extends BaseRequest {
|
|
1248
|
-
body: PostMenuV3LayoutBody;
|
|
1249
|
-
}
|
|
1250
|
-
export interface GetMenuV3LayoutsCountQuery {
|
|
1251
|
-
filter?: any;
|
|
1684
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifierQuery {
|
|
1685
|
+
select?: string[];
|
|
1686
|
+
relationships?: string[];
|
|
1252
1687
|
_query?: string;
|
|
1253
1688
|
}
|
|
1254
|
-
export
|
|
1255
|
-
|
|
1256
|
-
[index: string]: any;
|
|
1257
|
-
}
|
|
1258
|
-
export interface GetMenuV3LayoutsCountRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsCountQuery> {
|
|
1689
|
+
export type GetMenuV3ModifierGroupRelationshipsModifierResponse = PublishedModifierGroupToModifierRelationshipDTO;
|
|
1690
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifierQuery>, GetMenuV3ModifierGroupRelationshipsModifierPath {
|
|
1259
1691
|
}
|
|
1260
|
-
export interface
|
|
1692
|
+
export interface GetMenuV3ItemsQuery {
|
|
1693
|
+
select?: string[];
|
|
1694
|
+
relationships?: string[];
|
|
1261
1695
|
filter?: any;
|
|
1262
1696
|
limit?: number;
|
|
1263
1697
|
page?: number;
|
|
1264
1698
|
sort_by?: string;
|
|
1265
1699
|
sort_order?: string;
|
|
1266
1700
|
soft_deleted?: string;
|
|
1267
|
-
select?: string[];
|
|
1268
|
-
relationships?: string[];
|
|
1269
1701
|
_query?: string;
|
|
1270
1702
|
}
|
|
1271
|
-
export interface
|
|
1272
|
-
|
|
1273
|
-
|
|
1703
|
+
export interface GetMenuV3ItemsResponse {
|
|
1704
|
+
results: PublishedItemDTO[];
|
|
1705
|
+
meta?: ListResponseMetadataDTO;
|
|
1274
1706
|
[index: string]: any;
|
|
1275
1707
|
}
|
|
1276
|
-
export interface
|
|
1708
|
+
export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {
|
|
1277
1709
|
}
|
|
1278
|
-
export interface
|
|
1710
|
+
export interface GetMenuV3ItemPath {
|
|
1279
1711
|
id: string;
|
|
1280
1712
|
}
|
|
1281
|
-
export interface
|
|
1713
|
+
export interface GetMenuV3ItemQuery {
|
|
1282
1714
|
select?: string[];
|
|
1283
1715
|
relationships?: string[];
|
|
1284
1716
|
_query?: string;
|
|
1285
1717
|
}
|
|
1286
|
-
export type
|
|
1287
|
-
export interface
|
|
1288
|
-
}
|
|
1289
|
-
export interface PatchMenuV3CategoryPath {
|
|
1290
|
-
id: string;
|
|
1291
|
-
}
|
|
1292
|
-
export interface PatchMenuV3CategoryBody {
|
|
1293
|
-
name?: string;
|
|
1294
|
-
label?: string;
|
|
1295
|
-
sequence?: number;
|
|
1296
|
-
priority?: number;
|
|
1297
|
-
is_active?: boolean;
|
|
1298
|
-
layout_id?: string;
|
|
1299
|
-
id?: string;
|
|
1300
|
-
layout?: LayoutDTO;
|
|
1301
|
-
items?: CategoryToItemRelationshipDTO[];
|
|
1302
|
-
[index: string]: any;
|
|
1303
|
-
}
|
|
1304
|
-
export type PatchMenuV3CategoryResponse = CategoryDTO;
|
|
1305
|
-
export interface PatchMenuV3CategoryRequest extends BaseRequest, PatchMenuV3CategoryPath {
|
|
1306
|
-
body: PatchMenuV3CategoryBody;
|
|
1307
|
-
}
|
|
1308
|
-
export interface DeleteMenuV3CategoryPath {
|
|
1309
|
-
id: string;
|
|
1310
|
-
}
|
|
1311
|
-
export type DeleteMenuV3CategoryResponse = CategoryDTO;
|
|
1312
|
-
export interface DeleteMenuV3CategoryRequest extends BaseRequest, DeleteMenuV3CategoryPath {
|
|
1718
|
+
export type GetMenuV3ItemResponse = PublishedItemDTO;
|
|
1719
|
+
export interface GetMenuV3ItemRequest extends BaseRequest, RequestQuery<GetMenuV3ItemQuery>, GetMenuV3ItemPath {
|
|
1313
1720
|
}
|
|
1314
|
-
export interface
|
|
1721
|
+
export interface PostMenuV3ItemBody {
|
|
1315
1722
|
name: string;
|
|
1316
1723
|
label?: string;
|
|
1317
|
-
|
|
1724
|
+
description?: string;
|
|
1725
|
+
price: number;
|
|
1726
|
+
barcode?: string;
|
|
1727
|
+
calories?: number;
|
|
1318
1728
|
priority?: number;
|
|
1319
1729
|
is_active?: boolean;
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1730
|
+
is_in_stock?: boolean;
|
|
1731
|
+
posid: string;
|
|
1732
|
+
tax_tags?: string[];
|
|
1733
|
+
modifier_groups?: ItemToModifierGroupRelationshipDTO[];
|
|
1734
|
+
brand_id: string;
|
|
1735
|
+
station_id?: string;
|
|
1736
|
+
categories?: CategoryToItemRelationshipDTO[];
|
|
1737
|
+
brand?: BrandDTO;
|
|
1738
|
+
station?: StationDTO;
|
|
1324
1739
|
[index: string]: any;
|
|
1325
1740
|
}
|
|
1326
|
-
export type
|
|
1327
|
-
export interface
|
|
1328
|
-
body:
|
|
1741
|
+
export type PostMenuV3ItemResponse = ItemDTO;
|
|
1742
|
+
export interface PostMenuV3ItemRequest extends BaseRequest {
|
|
1743
|
+
body: PostMenuV3ItemBody;
|
|
1329
1744
|
}
|
|
1330
|
-
export interface
|
|
1745
|
+
export interface GetMenuV3ItemsCountQuery {
|
|
1331
1746
|
filter?: any;
|
|
1332
1747
|
_query?: string;
|
|
1333
1748
|
}
|
|
1334
|
-
export interface
|
|
1749
|
+
export interface GetMenuV3ItemsCountResponse {
|
|
1335
1750
|
count: number;
|
|
1336
1751
|
[index: string]: any;
|
|
1337
1752
|
}
|
|
1338
|
-
export interface
|
|
1753
|
+
export interface GetMenuV3ItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsCountQuery> {
|
|
1339
1754
|
}
|
|
1340
|
-
export interface
|
|
1755
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
|
|
1756
|
+
select?: string[];
|
|
1757
|
+
relationships?: string[];
|
|
1341
1758
|
filter?: any;
|
|
1342
1759
|
limit?: number;
|
|
1343
1760
|
page?: number;
|
|
1344
1761
|
sort_by?: string;
|
|
1345
1762
|
sort_order?: string;
|
|
1346
1763
|
soft_deleted?: string;
|
|
1347
|
-
select?: string[];
|
|
1348
|
-
relationships?: string[];
|
|
1349
1764
|
_query?: string;
|
|
1350
1765
|
}
|
|
1351
|
-
export interface
|
|
1352
|
-
|
|
1353
|
-
|
|
1766
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsResponse {
|
|
1767
|
+
results: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1768
|
+
meta?: ListResponseMetadataDTO;
|
|
1354
1769
|
[index: string]: any;
|
|
1355
1770
|
}
|
|
1356
|
-
export interface
|
|
1771
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsQuery> {
|
|
1357
1772
|
}
|
|
1358
|
-
export
|
|
1359
|
-
|
|
1773
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupBody {
|
|
1774
|
+
modifier_group_id: string;
|
|
1360
1775
|
item_id: string;
|
|
1361
1776
|
sequence?: number;
|
|
1362
|
-
|
|
1363
|
-
category?: CategoryDTO;
|
|
1777
|
+
modifier_group?: ModifierGroupDTO;
|
|
1364
1778
|
item?: ItemDTO;
|
|
1365
1779
|
[index: string]: any;
|
|
1366
|
-
}[];
|
|
1367
|
-
export interface PostMenuV3CategoryRelationshipsItemsResponse {
|
|
1368
|
-
meta: PaginationMetaDTO;
|
|
1369
|
-
results: CategoryToItemRelationshipDTO[];
|
|
1370
|
-
[index: string]: any;
|
|
1371
1780
|
}
|
|
1372
|
-
export
|
|
1373
|
-
|
|
1781
|
+
export type PostMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
|
|
1782
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest {
|
|
1783
|
+
body: PostMenuV3ItemRelationshipsModifierGroupBody;
|
|
1374
1784
|
}
|
|
1375
|
-
export interface
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1785
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupPath {
|
|
1786
|
+
id: string;
|
|
1787
|
+
}
|
|
1788
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupQuery {
|
|
1789
|
+
select?: string[];
|
|
1790
|
+
relationships?: string[];
|
|
1791
|
+
_query?: string;
|
|
1792
|
+
}
|
|
1793
|
+
export type GetMenuV3ItemRelationshipsModifierGroupResponse = PublishedItemToModifierGroupRelationshipDTO;
|
|
1794
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupQuery>, GetMenuV3ItemRelationshipsModifierGroupPath {
|
|
1795
|
+
}
|
|
1796
|
+
export interface GetMenuV3LayoutsQuery {
|
|
1797
|
+
select?: string[];
|
|
1798
|
+
relationships?: string[];
|
|
1799
|
+
filter?: any;
|
|
1800
|
+
limit?: number;
|
|
1801
|
+
page?: number;
|
|
1802
|
+
sort_by?: string;
|
|
1803
|
+
sort_order?: string;
|
|
1804
|
+
soft_deleted?: string;
|
|
1805
|
+
_query?: string;
|
|
1806
|
+
}
|
|
1807
|
+
export interface GetMenuV3LayoutsResponse {
|
|
1808
|
+
results: PublishedLayoutDTO[];
|
|
1809
|
+
meta?: ListResponseMetadataDTO;
|
|
1382
1810
|
[index: string]: any;
|
|
1383
1811
|
}
|
|
1384
|
-
export
|
|
1385
|
-
export interface PostMenuV3CategoryRelationshipsItemRequest extends BaseRequest {
|
|
1386
|
-
body: PostMenuV3CategoryRelationshipsItemBody;
|
|
1812
|
+
export interface GetMenuV3LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsQuery> {
|
|
1387
1813
|
}
|
|
1388
|
-
export interface
|
|
1814
|
+
export interface GetMenuV3LayoutCategoriesPath {
|
|
1389
1815
|
id: string;
|
|
1390
1816
|
}
|
|
1391
|
-
export interface
|
|
1817
|
+
export interface GetMenuV3LayoutCategoriesQuery {
|
|
1392
1818
|
select?: string[];
|
|
1393
1819
|
relationships?: string[];
|
|
1820
|
+
filter?: any;
|
|
1821
|
+
limit?: number;
|
|
1822
|
+
page?: number;
|
|
1823
|
+
sort_by?: string;
|
|
1824
|
+
sort_order?: string;
|
|
1825
|
+
soft_deleted?: string;
|
|
1394
1826
|
_query?: string;
|
|
1395
1827
|
}
|
|
1396
|
-
export
|
|
1397
|
-
|
|
1828
|
+
export interface GetMenuV3LayoutCategoriesResponse {
|
|
1829
|
+
results: DraftCategoryDTO[];
|
|
1830
|
+
meta?: ListResponseMetadataDTO;
|
|
1831
|
+
[index: string]: any;
|
|
1832
|
+
}
|
|
1833
|
+
export interface GetMenuV3LayoutCategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutCategoriesQuery>, GetMenuV3LayoutCategoriesPath {
|
|
1398
1834
|
}
|
|
1399
|
-
export interface
|
|
1835
|
+
export interface GetMenuV3LayoutPath {
|
|
1400
1836
|
id: string;
|
|
1401
1837
|
}
|
|
1402
|
-
export interface
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1838
|
+
export interface GetMenuV3LayoutQuery {
|
|
1839
|
+
select?: string[];
|
|
1840
|
+
relationships?: string[];
|
|
1841
|
+
_query?: string;
|
|
1842
|
+
}
|
|
1843
|
+
export type GetMenuV3LayoutResponse = PublishedLayoutDTO;
|
|
1844
|
+
export interface GetMenuV3LayoutRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutQuery>, GetMenuV3LayoutPath {
|
|
1845
|
+
}
|
|
1846
|
+
export interface PostMenuV3LayoutBody {
|
|
1847
|
+
name: string;
|
|
1848
|
+
categories?: CategoryDTO[];
|
|
1849
|
+
brand_id: string;
|
|
1850
|
+
station_id: string;
|
|
1851
|
+
brand?: BrandDTO;
|
|
1852
|
+
station?: StationDTO;
|
|
1853
|
+
[index: string]: any;
|
|
1854
|
+
}
|
|
1855
|
+
export interface PostMenuV3LayoutResponse {
|
|
1856
|
+
name: string;
|
|
1857
|
+
categories?: CategoryDTO[];
|
|
1858
|
+
brand_id: string;
|
|
1859
|
+
station_id: string;
|
|
1406
1860
|
id?: string;
|
|
1861
|
+
created_at?: string;
|
|
1862
|
+
updated_at?: string;
|
|
1863
|
+
deleted_at?: string;
|
|
1864
|
+
brand?: BrandDTO;
|
|
1865
|
+
station?: StationDTO;
|
|
1866
|
+
[index: string]: any;
|
|
1867
|
+
}
|
|
1868
|
+
export interface PostMenuV3LayoutRequest extends BaseRequest {
|
|
1869
|
+
body: PostMenuV3LayoutBody;
|
|
1870
|
+
}
|
|
1871
|
+
export interface GetMenuV3LayoutsCountQuery {
|
|
1872
|
+
filter?: any;
|
|
1873
|
+
_query?: string;
|
|
1874
|
+
}
|
|
1875
|
+
export interface GetMenuV3LayoutsCountResponse {
|
|
1876
|
+
count: number;
|
|
1877
|
+
[index: string]: any;
|
|
1878
|
+
}
|
|
1879
|
+
export interface GetMenuV3LayoutsCountRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsCountQuery> {
|
|
1880
|
+
}
|
|
1881
|
+
export interface GetMenuV3CategoryPath {
|
|
1882
|
+
id: string;
|
|
1883
|
+
}
|
|
1884
|
+
export interface GetMenuV3CategoryQuery {
|
|
1885
|
+
select?: string[];
|
|
1886
|
+
relationships?: string[];
|
|
1887
|
+
_query?: string;
|
|
1888
|
+
}
|
|
1889
|
+
export type GetMenuV3CategoryResponse = PublishedCategoryDTO;
|
|
1890
|
+
export interface GetMenuV3CategoryRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryQuery>, GetMenuV3CategoryPath {
|
|
1891
|
+
}
|
|
1892
|
+
export interface PostMenuV3CategoryBody {
|
|
1893
|
+
name: string;
|
|
1894
|
+
label?: string;
|
|
1895
|
+
sequence?: number;
|
|
1896
|
+
priority?: number;
|
|
1897
|
+
is_active?: boolean;
|
|
1898
|
+
layout_id: string;
|
|
1899
|
+
layout?: LayoutDTO;
|
|
1900
|
+
items?: CategoryToItemRelationshipDTO[];
|
|
1901
|
+
[index: string]: any;
|
|
1902
|
+
}
|
|
1903
|
+
export type PostMenuV3CategoryResponse = CategoryDTO;
|
|
1904
|
+
export interface PostMenuV3CategoryRequest extends BaseRequest {
|
|
1905
|
+
body: PostMenuV3CategoryBody;
|
|
1906
|
+
}
|
|
1907
|
+
export interface GetMenuV3CategoriesCountQuery {
|
|
1908
|
+
filter?: any;
|
|
1909
|
+
_query?: string;
|
|
1910
|
+
}
|
|
1911
|
+
export interface GetMenuV3CategoriesCountResponse {
|
|
1912
|
+
count: number;
|
|
1913
|
+
[index: string]: any;
|
|
1914
|
+
}
|
|
1915
|
+
export interface GetMenuV3CategoriesCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoriesCountQuery> {
|
|
1916
|
+
}
|
|
1917
|
+
export interface GetMenuV3CategoryRelationshipsItemsQuery {
|
|
1918
|
+
select?: string[];
|
|
1919
|
+
relationships?: string[];
|
|
1920
|
+
filter?: any;
|
|
1921
|
+
limit?: number;
|
|
1922
|
+
page?: number;
|
|
1923
|
+
sort_by?: string;
|
|
1924
|
+
sort_order?: string;
|
|
1925
|
+
soft_deleted?: string;
|
|
1926
|
+
_query?: string;
|
|
1927
|
+
}
|
|
1928
|
+
export interface GetMenuV3CategoryRelationshipsItemsResponse {
|
|
1929
|
+
results: PublishedCategoryToItemRelationshipDTO[];
|
|
1930
|
+
meta?: ListResponseMetadataDTO;
|
|
1931
|
+
[index: string]: any;
|
|
1932
|
+
}
|
|
1933
|
+
export interface GetMenuV3CategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {
|
|
1934
|
+
}
|
|
1935
|
+
export interface PostMenuV3CategoryRelationshipsItemBody {
|
|
1936
|
+
category_id: string;
|
|
1937
|
+
item_id: string;
|
|
1938
|
+
sequence?: number;
|
|
1407
1939
|
category?: CategoryDTO;
|
|
1408
1940
|
item?: ItemDTO;
|
|
1409
1941
|
[index: string]: any;
|
|
1410
1942
|
}
|
|
1411
|
-
export type
|
|
1412
|
-
export interface
|
|
1413
|
-
body:
|
|
1943
|
+
export type PostMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
|
|
1944
|
+
export interface PostMenuV3CategoryRelationshipsItemRequest extends BaseRequest {
|
|
1945
|
+
body: PostMenuV3CategoryRelationshipsItemBody;
|
|
1414
1946
|
}
|
|
1415
|
-
export interface
|
|
1947
|
+
export interface GetMenuV3CategoryRelationshipsItemPath {
|
|
1416
1948
|
id: string;
|
|
1417
1949
|
}
|
|
1418
|
-
export
|
|
1419
|
-
|
|
1950
|
+
export interface GetMenuV3CategoryRelationshipsItemQuery {
|
|
1951
|
+
select?: string[];
|
|
1952
|
+
relationships?: string[];
|
|
1953
|
+
_query?: string;
|
|
1954
|
+
}
|
|
1955
|
+
export type GetMenuV3CategoryRelationshipsItemResponse = PublishedCategoryToItemRelationshipDTO;
|
|
1956
|
+
export interface GetMenuV3CategoryRelationshipsItemRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemQuery>, GetMenuV3CategoryRelationshipsItemPath {
|
|
1420
1957
|
}
|
|
1421
1958
|
export interface GetMenuV3BrandsQuery {
|
|
1959
|
+
select?: string[];
|
|
1960
|
+
relationships?: string[];
|
|
1422
1961
|
filter?: any;
|
|
1423
1962
|
limit?: number;
|
|
1424
1963
|
page?: number;
|
|
1425
1964
|
sort_by?: string;
|
|
1426
1965
|
sort_order?: string;
|
|
1427
1966
|
soft_deleted?: string;
|
|
1428
|
-
select?: string[];
|
|
1429
|
-
relationships?: string[];
|
|
1430
1967
|
_query?: string;
|
|
1431
1968
|
}
|
|
1432
1969
|
export interface GetMenuV3BrandsResponse {
|
|
1433
|
-
|
|
1434
|
-
|
|
1970
|
+
results: PublishedBrandDTO[];
|
|
1971
|
+
meta?: ListResponseMetadataDTO;
|
|
1435
1972
|
[index: string]: any;
|
|
1436
1973
|
}
|
|
1437
1974
|
export interface GetMenuV3BrandsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsQuery> {
|
|
1438
1975
|
}
|
|
1439
1976
|
export type PostMenuV3BrandsBody = {
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1977
|
+
parent?: PublishedBrandDTO;
|
|
1978
|
+
children?: PublishedBrandDTO[];
|
|
1979
|
+
layouts?: PublishedLayoutDTO[];
|
|
1980
|
+
items?: PublishedItemDTO[];
|
|
1981
|
+
modifier_groups?: PublishedModifierGroupDTO[];
|
|
1982
|
+
modifiers?: PublishedModifierDTO[];
|
|
1983
|
+
categories?: PublishedCategoryDTO[];
|
|
1984
|
+
modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1985
|
+
item_to_modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1986
|
+
category_to_items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1987
|
+
parent_id?: string;
|
|
1444
1988
|
id?: any;
|
|
1989
|
+
changes?: DraftBrandChangeDTO[];
|
|
1445
1990
|
[index: string]: any;
|
|
1446
1991
|
}[];
|
|
1447
1992
|
export interface PostMenuV3BrandsResponse {
|
|
1448
|
-
|
|
1449
|
-
|
|
1993
|
+
results: PublishedBrandDTO[];
|
|
1994
|
+
meta?: ListResponseMetadataDTO;
|
|
1450
1995
|
[index: string]: any;
|
|
1451
1996
|
}
|
|
1452
1997
|
export interface PostMenuV3BrandsRequest extends BaseRequest {
|
|
@@ -1456,19 +2001,19 @@ export interface GetMenuV3BrandModifiersPath {
|
|
|
1456
2001
|
id: string;
|
|
1457
2002
|
}
|
|
1458
2003
|
export interface GetMenuV3BrandModifiersQuery {
|
|
2004
|
+
select?: string[];
|
|
2005
|
+
relationships?: string[];
|
|
1459
2006
|
filter?: any;
|
|
1460
2007
|
limit?: number;
|
|
1461
2008
|
page?: number;
|
|
1462
2009
|
sort_by?: string;
|
|
1463
2010
|
sort_order?: string;
|
|
1464
2011
|
soft_deleted?: string;
|
|
1465
|
-
select?: string[];
|
|
1466
|
-
relationships?: string[];
|
|
1467
2012
|
_query?: string;
|
|
1468
2013
|
}
|
|
1469
2014
|
export interface GetMenuV3BrandModifiersResponse {
|
|
1470
|
-
|
|
1471
|
-
|
|
2015
|
+
results: DraftModifierDTO[];
|
|
2016
|
+
meta?: ListResponseMetadataDTO;
|
|
1472
2017
|
[index: string]: any;
|
|
1473
2018
|
}
|
|
1474
2019
|
export interface GetMenuV3BrandModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3BrandModifiersQuery>, GetMenuV3BrandModifiersPath {
|
|
@@ -1477,19 +2022,19 @@ export interface GetMenuV3BrandModifierGroupsPath {
|
|
|
1477
2022
|
id: string;
|
|
1478
2023
|
}
|
|
1479
2024
|
export interface GetMenuV3BrandModifierGroupsQuery {
|
|
2025
|
+
select?: string[];
|
|
2026
|
+
relationships?: string[];
|
|
1480
2027
|
filter?: any;
|
|
1481
2028
|
limit?: number;
|
|
1482
2029
|
page?: number;
|
|
1483
2030
|
sort_by?: string;
|
|
1484
2031
|
sort_order?: string;
|
|
1485
2032
|
soft_deleted?: string;
|
|
1486
|
-
select?: string[];
|
|
1487
|
-
relationships?: string[];
|
|
1488
2033
|
_query?: string;
|
|
1489
2034
|
}
|
|
1490
2035
|
export interface GetMenuV3BrandModifierGroupsResponse {
|
|
1491
|
-
|
|
1492
|
-
|
|
2036
|
+
results: DraftModifierGroupDTO[];
|
|
2037
|
+
meta?: ListResponseMetadataDTO;
|
|
1493
2038
|
[index: string]: any;
|
|
1494
2039
|
}
|
|
1495
2040
|
export interface GetMenuV3BrandModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandModifierGroupsQuery>, GetMenuV3BrandModifierGroupsPath {
|
|
@@ -1498,19 +2043,19 @@ export interface GetMenuV3BrandItemsPath {
|
|
|
1498
2043
|
id: string;
|
|
1499
2044
|
}
|
|
1500
2045
|
export interface GetMenuV3BrandItemsQuery {
|
|
2046
|
+
select?: string[];
|
|
2047
|
+
relationships?: string[];
|
|
1501
2048
|
filter?: any;
|
|
1502
2049
|
limit?: number;
|
|
1503
2050
|
page?: number;
|
|
1504
2051
|
sort_by?: string;
|
|
1505
2052
|
sort_order?: string;
|
|
1506
2053
|
soft_deleted?: string;
|
|
1507
|
-
select?: string[];
|
|
1508
|
-
relationships?: string[];
|
|
1509
2054
|
_query?: string;
|
|
1510
2055
|
}
|
|
1511
2056
|
export interface GetMenuV3BrandItemsResponse {
|
|
1512
|
-
|
|
1513
|
-
|
|
2057
|
+
results: DraftItemDTO[];
|
|
2058
|
+
meta?: ListResponseMetadataDTO;
|
|
1514
2059
|
[index: string]: any;
|
|
1515
2060
|
}
|
|
1516
2061
|
export interface GetMenuV3BrandItemsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandItemsQuery>, GetMenuV3BrandItemsPath {
|
|
@@ -1523,39 +2068,55 @@ export interface GetMenuV3BrandQuery {
|
|
|
1523
2068
|
relationships?: string[];
|
|
1524
2069
|
_query?: string;
|
|
1525
2070
|
}
|
|
1526
|
-
export type GetMenuV3BrandResponse =
|
|
2071
|
+
export type GetMenuV3BrandResponse = PublishedBrandDTO;
|
|
1527
2072
|
export interface GetMenuV3BrandRequest extends BaseRequest, RequestQuery<GetMenuV3BrandQuery>, GetMenuV3BrandPath {
|
|
1528
2073
|
}
|
|
1529
2074
|
export interface PatchMenuV3BrandPath {
|
|
1530
2075
|
id: string;
|
|
1531
2076
|
}
|
|
1532
2077
|
export interface PatchMenuV3BrandBody {
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
2078
|
+
parent?: PublishedBrandDTO;
|
|
2079
|
+
children?: PublishedBrandDTO[];
|
|
2080
|
+
layouts?: PublishedLayoutDTO[];
|
|
2081
|
+
items?: PublishedItemDTO[];
|
|
2082
|
+
modifier_groups?: PublishedModifierGroupDTO[];
|
|
2083
|
+
modifiers?: PublishedModifierDTO[];
|
|
2084
|
+
categories?: PublishedCategoryDTO[];
|
|
2085
|
+
modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
2086
|
+
item_to_modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
2087
|
+
category_to_items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1537
2088
|
id?: string;
|
|
2089
|
+
parent_id?: string;
|
|
2090
|
+
changes?: DraftBrandChangeDTO[];
|
|
1538
2091
|
[index: string]: any;
|
|
1539
2092
|
}
|
|
1540
|
-
export type PatchMenuV3BrandResponse =
|
|
2093
|
+
export type PatchMenuV3BrandResponse = PublishedBrandDTO;
|
|
1541
2094
|
export interface PatchMenuV3BrandRequest extends BaseRequest, PatchMenuV3BrandPath {
|
|
1542
2095
|
body: PatchMenuV3BrandBody;
|
|
1543
2096
|
}
|
|
1544
2097
|
export interface DeleteMenuV3BrandPath {
|
|
1545
2098
|
id: string;
|
|
1546
2099
|
}
|
|
1547
|
-
export type DeleteMenuV3BrandResponse =
|
|
2100
|
+
export type DeleteMenuV3BrandResponse = PublishedBrandDTO;
|
|
1548
2101
|
export interface DeleteMenuV3BrandRequest extends BaseRequest, DeleteMenuV3BrandPath {
|
|
1549
2102
|
}
|
|
1550
2103
|
export interface PostMenuV3BrandBody {
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
2104
|
+
parent?: PublishedBrandDTO;
|
|
2105
|
+
children?: any[];
|
|
2106
|
+
layouts?: any[];
|
|
2107
|
+
items?: any[];
|
|
2108
|
+
modifier_groups?: any[];
|
|
2109
|
+
modifiers?: any[];
|
|
2110
|
+
categories?: any[];
|
|
2111
|
+
modifier_group_to_modifiers?: any[];
|
|
2112
|
+
item_to_modifier_groups?: any[];
|
|
2113
|
+
category_to_items?: any[];
|
|
2114
|
+
parent_id?: string;
|
|
1555
2115
|
id?: any;
|
|
2116
|
+
changes?: DraftBrandChangeDTO[];
|
|
1556
2117
|
[index: string]: any;
|
|
1557
2118
|
}
|
|
1558
|
-
export type PostMenuV3BrandResponse =
|
|
2119
|
+
export type PostMenuV3BrandResponse = PublishedBrandDTO;
|
|
1559
2120
|
export interface PostMenuV3BrandRequest extends BaseRequest {
|
|
1560
2121
|
body: PostMenuV3BrandBody;
|
|
1561
2122
|
}
|
|
@@ -1593,6 +2154,7 @@ export type PostMenuV3StationsBody = {
|
|
|
1593
2154
|
modifier_groups?: ModifierGroupDTO[];
|
|
1594
2155
|
modifiers?: ModifierDTO[];
|
|
1595
2156
|
id?: any;
|
|
2157
|
+
name?: string;
|
|
1596
2158
|
[index: string]: any;
|
|
1597
2159
|
}[];
|
|
1598
2160
|
export interface PostMenuV3StationsResponse {
|
|
@@ -1623,6 +2185,7 @@ export interface PatchMenuV3StationBody {
|
|
|
1623
2185
|
modifier_groups?: ModifierGroupDTO[];
|
|
1624
2186
|
modifiers?: ModifierDTO[];
|
|
1625
2187
|
id?: string;
|
|
2188
|
+
name?: string;
|
|
1626
2189
|
[index: string]: any;
|
|
1627
2190
|
}
|
|
1628
2191
|
export type PatchMenuV3StationResponse = StationDTO;
|
|
@@ -1640,7 +2203,7 @@ export interface PostMenuV3StationBody {
|
|
|
1640
2203
|
items?: ItemDTO[];
|
|
1641
2204
|
modifier_groups?: ModifierGroupDTO[];
|
|
1642
2205
|
modifiers?: ModifierDTO[];
|
|
1643
|
-
|
|
2206
|
+
name?: string;
|
|
1644
2207
|
[index: string]: any;
|
|
1645
2208
|
}
|
|
1646
2209
|
export type PostMenuV3StationResponse = StationDTO;
|
|
@@ -1805,285 +2368,1635 @@ export interface GetMenuLocationItemsRandomQuery {
|
|
|
1805
2368
|
export type GetMenuLocationItemsRandomResponse = Items;
|
|
1806
2369
|
export interface GetMenuLocationItemsRandomRequest extends BaseRequest, RequestQuery<GetMenuLocationItemsRandomQuery>, GetMenuLocationItemsRandomPath {
|
|
1807
2370
|
}
|
|
1808
|
-
export interface GetMenuSectorMenusPath {
|
|
1809
|
-
sector: string;
|
|
2371
|
+
export interface GetMenuSectorMenusPath {
|
|
2372
|
+
sector: string;
|
|
2373
|
+
}
|
|
2374
|
+
export interface GetMenuSectorMenusQuery {
|
|
2375
|
+
_query?: string;
|
|
2376
|
+
}
|
|
2377
|
+
export type GetMenuSectorMenusResponse = Menus;
|
|
2378
|
+
export interface GetMenuSectorMenusRequest extends BaseRequest, RequestQuery<GetMenuSectorMenusQuery>, GetMenuSectorMenusPath {
|
|
2379
|
+
}
|
|
2380
|
+
export interface GetMenuCompanyMenusPath {
|
|
2381
|
+
company: string;
|
|
2382
|
+
}
|
|
2383
|
+
export interface GetMenuCompanyMenusQuery {
|
|
2384
|
+
_query?: string;
|
|
2385
|
+
}
|
|
2386
|
+
export type GetMenuCompanyMenusResponse = Menus;
|
|
2387
|
+
export interface GetMenuCompanyMenusRequest extends BaseRequest, RequestQuery<GetMenuCompanyMenusQuery>, GetMenuCompanyMenusPath {
|
|
2388
|
+
}
|
|
2389
|
+
export type PostMenuModifierGroupBody = CreateOptionsGroup;
|
|
2390
|
+
export type PostMenuModifierGroupResponse = OptionsGroup;
|
|
2391
|
+
export interface PostMenuModifierGroupRequest extends BaseRequest {
|
|
2392
|
+
body: PostMenuModifierGroupBody;
|
|
2393
|
+
}
|
|
2394
|
+
export interface GetMenuModifierGroupPath {
|
|
2395
|
+
id: string;
|
|
2396
|
+
}
|
|
2397
|
+
export interface GetMenuModifierGroupQuery {
|
|
2398
|
+
_query?: string;
|
|
2399
|
+
}
|
|
2400
|
+
export type GetMenuModifierGroupResponse = OptionsGroup;
|
|
2401
|
+
export interface GetMenuModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuModifierGroupQuery>, GetMenuModifierGroupPath {
|
|
2402
|
+
}
|
|
2403
|
+
export interface PutMenuModifierGroupPath {
|
|
2404
|
+
id: string;
|
|
2405
|
+
}
|
|
2406
|
+
export type PutMenuModifierGroupBody = OptionsGroup;
|
|
2407
|
+
export type PutMenuModifierGroupResponse = OptionsGroup;
|
|
2408
|
+
export interface PutMenuModifierGroupRequest extends BaseRequest, PutMenuModifierGroupPath {
|
|
2409
|
+
body: PutMenuModifierGroupBody;
|
|
2410
|
+
}
|
|
2411
|
+
export interface DeleteMenuModifierGroupPath {
|
|
2412
|
+
id: string;
|
|
2413
|
+
}
|
|
2414
|
+
export type DeleteMenuModifierGroupResponse = Success;
|
|
2415
|
+
export interface DeleteMenuModifierGroupRequest extends BaseRequest, DeleteMenuModifierGroupPath {
|
|
2416
|
+
}
|
|
2417
|
+
export interface GetMenuCompanyModifierGroupsPath {
|
|
2418
|
+
company: string;
|
|
2419
|
+
}
|
|
2420
|
+
export interface GetMenuCompanyModifierGroupsQuery {
|
|
2421
|
+
_query?: string;
|
|
2422
|
+
}
|
|
2423
|
+
export type GetMenuCompanyModifierGroupsResponse = OptionsGroupList;
|
|
2424
|
+
export interface GetMenuCompanyModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuCompanyModifierGroupsQuery>, GetMenuCompanyModifierGroupsPath {
|
|
2425
|
+
}
|
|
2426
|
+
export interface GetMenuCompanyModifierGroupsExportPath {
|
|
2427
|
+
company: string;
|
|
2428
|
+
}
|
|
2429
|
+
export interface GetMenuCompanyModifierGroupsExportQuery {
|
|
2430
|
+
_query?: string;
|
|
2431
|
+
}
|
|
2432
|
+
export type GetMenuCompanyModifierGroupsExportResponse = ZippedExcelExport;
|
|
2433
|
+
export interface GetMenuCompanyModifierGroupsExportRequest extends BaseRequest, RequestQuery<GetMenuCompanyModifierGroupsExportQuery>, GetMenuCompanyModifierGroupsExportPath {
|
|
2434
|
+
}
|
|
2435
|
+
export interface GetMenuExportPath {
|
|
2436
|
+
id: string;
|
|
2437
|
+
}
|
|
2438
|
+
export interface GetMenuExportQuery {
|
|
2439
|
+
_query?: string;
|
|
2440
|
+
}
|
|
2441
|
+
export type GetMenuExportResponse = ZippedExcelExport;
|
|
2442
|
+
export interface GetMenuExportRequest extends BaseRequest, RequestQuery<GetMenuExportQuery>, GetMenuExportPath {
|
|
2443
|
+
}
|
|
2444
|
+
export interface GetMenuPartialGroupsPath {
|
|
2445
|
+
id: string;
|
|
2446
|
+
}
|
|
2447
|
+
export interface GetMenuPartialGroupsQuery {
|
|
2448
|
+
extended?: boolean;
|
|
2449
|
+
show_unlinked?: boolean;
|
|
2450
|
+
_query?: string;
|
|
2451
|
+
}
|
|
2452
|
+
export type GetMenuPartialGroupsResponse = Menu;
|
|
2453
|
+
export interface GetMenuPartialGroupsRequest extends BaseRequest, RequestQuery<GetMenuPartialGroupsQuery>, GetMenuPartialGroupsPath {
|
|
2454
|
+
}
|
|
2455
|
+
export interface GetMenuPartialGroupItemsPath {
|
|
2456
|
+
id: string;
|
|
2457
|
+
group_id: string;
|
|
2458
|
+
}
|
|
2459
|
+
export interface GetMenuPartialGroupItemsQuery {
|
|
2460
|
+
extended?: boolean;
|
|
2461
|
+
_query?: string;
|
|
2462
|
+
}
|
|
2463
|
+
export type GetMenuPartialGroupItemsResponse = Items;
|
|
2464
|
+
export interface GetMenuPartialGroupItemsRequest extends BaseRequest, RequestQuery<GetMenuPartialGroupItemsQuery>, GetMenuPartialGroupItemsPath {
|
|
2465
|
+
}
|
|
2466
|
+
export interface PostMenuPartialGroupItemOptionsPath {
|
|
2467
|
+
id: string;
|
|
2468
|
+
group_id: string;
|
|
2469
|
+
}
|
|
2470
|
+
export interface PostMenuPartialGroupItemOptionsQuery {
|
|
2471
|
+
extended?: boolean;
|
|
2472
|
+
}
|
|
2473
|
+
export interface PostMenuPartialGroupItemOptionsBody {
|
|
2474
|
+
item_id?: string[];
|
|
2475
|
+
}
|
|
2476
|
+
export type PostMenuPartialGroupItemOptionsResponse = Items;
|
|
2477
|
+
export interface PostMenuPartialGroupItemOptionsRequest extends BaseRequest, RequestQuery<PostMenuPartialGroupItemOptionsQuery>, PostMenuPartialGroupItemOptionsPath {
|
|
2478
|
+
body: PostMenuPartialGroupItemOptionsBody;
|
|
2479
|
+
}
|
|
2480
|
+
export interface PostMenuV3LayoutPublishPath {
|
|
2481
|
+
id: string;
|
|
2482
|
+
}
|
|
2483
|
+
export interface PostMenuV3LayoutPublishQuery {
|
|
2484
|
+
filter?: any;
|
|
2485
|
+
limit?: number;
|
|
2486
|
+
page?: number;
|
|
2487
|
+
sort_by?: string;
|
|
2488
|
+
sort_order?: string;
|
|
2489
|
+
soft_deleted?: string;
|
|
2490
|
+
select?: string[];
|
|
2491
|
+
relationships?: string[];
|
|
2492
|
+
}
|
|
2493
|
+
export interface PostMenuV3LayoutPublishResponse {
|
|
2494
|
+
status?: string;
|
|
2495
|
+
}
|
|
2496
|
+
export interface PostMenuV3LayoutPublishRequest extends BaseRequest, RequestQuery<PostMenuV3LayoutPublishQuery>, PostMenuV3LayoutPublishPath {
|
|
2497
|
+
}
|
|
2498
|
+
export type PostMenuV3CategorysBody = {
|
|
2499
|
+
name: string;
|
|
2500
|
+
label?: string;
|
|
2501
|
+
sequence?: number;
|
|
2502
|
+
priority?: number;
|
|
2503
|
+
is_active?: boolean;
|
|
2504
|
+
layout_id: string;
|
|
2505
|
+
id?: any;
|
|
2506
|
+
layout?: LayoutDTO;
|
|
2507
|
+
items?: CategoryToItemRelationshipDTO[];
|
|
2508
|
+
[index: string]: any;
|
|
2509
|
+
}[];
|
|
2510
|
+
export interface PostMenuV3CategorysResponse {
|
|
2511
|
+
meta: PaginationMetaDTO;
|
|
2512
|
+
results: CategoryDTO[];
|
|
2513
|
+
[index: string]: any;
|
|
2514
|
+
}
|
|
2515
|
+
export interface PostMenuV3CategorysRequest extends BaseRequest {
|
|
2516
|
+
body: PostMenuV3CategorysBody;
|
|
2517
|
+
}
|
|
2518
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
|
|
2519
|
+
filter?: any;
|
|
2520
|
+
_query?: string;
|
|
2521
|
+
}
|
|
2522
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountResponse {
|
|
2523
|
+
count: number;
|
|
2524
|
+
[index: string]: any;
|
|
2525
|
+
}
|
|
2526
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsCountQuery> {
|
|
2527
|
+
}
|
|
2528
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsCountQuery {
|
|
2529
|
+
filter?: any;
|
|
2530
|
+
_query?: string;
|
|
2531
|
+
}
|
|
2532
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsCountResponse {
|
|
2533
|
+
count: number;
|
|
2534
|
+
[index: string]: any;
|
|
2535
|
+
}
|
|
2536
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsCountQuery> {
|
|
2537
|
+
}
|
|
2538
|
+
export interface GetMenuV3ModifierGroupsCountQuery {
|
|
2539
|
+
filter?: any;
|
|
2540
|
+
_query?: string;
|
|
2541
|
+
}
|
|
2542
|
+
export interface GetMenuV3ModifierGroupsCountResponse {
|
|
2543
|
+
count: number;
|
|
2544
|
+
[index: string]: any;
|
|
2545
|
+
}
|
|
2546
|
+
export interface GetMenuV3ModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsCountQuery> {
|
|
2547
|
+
}
|
|
2548
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersCountQuery {
|
|
2549
|
+
filter?: any;
|
|
2550
|
+
_query?: string;
|
|
2551
|
+
}
|
|
2552
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersCountResponse {
|
|
2553
|
+
count: number;
|
|
2554
|
+
[index: string]: any;
|
|
2555
|
+
}
|
|
2556
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersCountQuery> {
|
|
2557
|
+
}
|
|
2558
|
+
export interface GetMenuV3ModifiersCountQuery {
|
|
2559
|
+
filter?: any;
|
|
2560
|
+
_query?: string;
|
|
2561
|
+
}
|
|
2562
|
+
export interface GetMenuV3ModifiersCountResponse {
|
|
2563
|
+
count: number;
|
|
2564
|
+
[index: string]: any;
|
|
2565
|
+
}
|
|
2566
|
+
export interface GetMenuV3ModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersCountQuery> {
|
|
2567
|
+
}
|
|
2568
|
+
export interface GetMenuV3StationModifiersPath {
|
|
2569
|
+
id: string;
|
|
2570
|
+
}
|
|
2571
|
+
export interface GetMenuV3StationModifiersQuery {
|
|
2572
|
+
filter?: any;
|
|
2573
|
+
limit?: number;
|
|
2574
|
+
page?: number;
|
|
2575
|
+
sort_by?: string;
|
|
2576
|
+
sort_order?: string;
|
|
2577
|
+
soft_deleted?: string;
|
|
2578
|
+
select?: string[];
|
|
2579
|
+
relationships?: string[];
|
|
2580
|
+
_query?: string;
|
|
2581
|
+
}
|
|
2582
|
+
export interface GetMenuV3StationModifiersResponse {
|
|
2583
|
+
meta: PaginationMetaDTO;
|
|
2584
|
+
results: ModifierEntityDTO[];
|
|
2585
|
+
[index: string]: any;
|
|
2586
|
+
}
|
|
2587
|
+
export interface GetMenuV3StationModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3StationModifiersQuery>, GetMenuV3StationModifiersPath {
|
|
2588
|
+
}
|
|
2589
|
+
export interface GetMenuV3StationModifierGroupsPath {
|
|
2590
|
+
id: string;
|
|
2591
|
+
}
|
|
2592
|
+
export interface GetMenuV3StationModifierGroupsQuery {
|
|
2593
|
+
filter?: any;
|
|
2594
|
+
limit?: number;
|
|
2595
|
+
page?: number;
|
|
2596
|
+
sort_by?: string;
|
|
2597
|
+
sort_order?: string;
|
|
2598
|
+
soft_deleted?: string;
|
|
2599
|
+
select?: string[];
|
|
2600
|
+
relationships?: string[];
|
|
2601
|
+
_query?: string;
|
|
2602
|
+
}
|
|
2603
|
+
export interface GetMenuV3StationModifierGroupsResponse {
|
|
2604
|
+
meta: PaginationMetaDTO;
|
|
2605
|
+
results: ModifierGroupEntityDTO[];
|
|
2606
|
+
[index: string]: any;
|
|
2607
|
+
}
|
|
2608
|
+
export interface GetMenuV3StationModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3StationModifierGroupsQuery>, GetMenuV3StationModifierGroupsPath {
|
|
2609
|
+
}
|
|
2610
|
+
export interface GetMenuV3StationItemsPath {
|
|
2611
|
+
id: string;
|
|
2612
|
+
}
|
|
2613
|
+
export interface GetMenuV3StationItemsQuery {
|
|
2614
|
+
filter?: any;
|
|
2615
|
+
limit?: number;
|
|
2616
|
+
page?: number;
|
|
2617
|
+
sort_by?: string;
|
|
2618
|
+
sort_order?: string;
|
|
2619
|
+
soft_deleted?: string;
|
|
2620
|
+
select?: string[];
|
|
2621
|
+
relationships?: string[];
|
|
2622
|
+
_query?: string;
|
|
2623
|
+
}
|
|
2624
|
+
export interface GetMenuV3StationItemsResponse {
|
|
2625
|
+
meta: PaginationMetaDTO;
|
|
2626
|
+
results: ItemEntityDTO[];
|
|
2627
|
+
[index: string]: any;
|
|
2628
|
+
}
|
|
2629
|
+
export interface GetMenuV3StationItemsRequest extends BaseRequest, RequestQuery<GetMenuV3StationItemsQuery>, GetMenuV3StationItemsPath {
|
|
2630
|
+
}
|
|
2631
|
+
export interface GetMenuV3SiteLayoutsPath {
|
|
2632
|
+
id: string;
|
|
2633
|
+
}
|
|
2634
|
+
export interface GetMenuV3SiteLayoutsQuery {
|
|
2635
|
+
filter?: any;
|
|
2636
|
+
limit?: number;
|
|
2637
|
+
page?: number;
|
|
2638
|
+
sort_by?: string;
|
|
2639
|
+
sort_order?: string;
|
|
2640
|
+
soft_deleted?: string;
|
|
2641
|
+
select?: string[];
|
|
2642
|
+
relationships?: string[];
|
|
2643
|
+
_query?: string;
|
|
2644
|
+
}
|
|
2645
|
+
export interface GetMenuV3SiteLayoutsResponse {
|
|
2646
|
+
meta: PaginationMetaDTO;
|
|
2647
|
+
results: LayoutDTO[];
|
|
2648
|
+
[index: string]: any;
|
|
2649
|
+
}
|
|
2650
|
+
export interface GetMenuV3SiteLayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3SiteLayoutsQuery>, GetMenuV3SiteLayoutsPath {
|
|
2651
|
+
}
|
|
2652
|
+
export interface PostMenuV3DraftLayoutBody {
|
|
2653
|
+
parent?: DraftLayoutDTO;
|
|
2654
|
+
children?: any[];
|
|
2655
|
+
categories?: any[];
|
|
2656
|
+
parent_id?: string;
|
|
2657
|
+
name: string;
|
|
2658
|
+
brand_id: string;
|
|
2659
|
+
id?: any;
|
|
2660
|
+
station_id?: string;
|
|
2661
|
+
brand?: any;
|
|
2662
|
+
station?: any;
|
|
2663
|
+
changes?: any[];
|
|
2664
|
+
[index: string]: any;
|
|
2665
|
+
}
|
|
2666
|
+
export type PostMenuV3DraftLayoutResponse = DraftLayoutDTO;
|
|
2667
|
+
export interface PostMenuV3DraftLayoutRequest extends BaseRequest {
|
|
2668
|
+
body: PostMenuV3DraftLayoutBody;
|
|
2669
|
+
}
|
|
2670
|
+
export interface GetMenuV3DraftLayoutPath {
|
|
2671
|
+
id: string;
|
|
2672
|
+
}
|
|
2673
|
+
export interface GetMenuV3DraftLayoutQuery {
|
|
2674
|
+
select?: string[];
|
|
2675
|
+
relationships?: string[];
|
|
2676
|
+
_query?: string;
|
|
2677
|
+
}
|
|
2678
|
+
export type GetMenuV3DraftLayoutResponse = DraftLayoutDTO;
|
|
2679
|
+
export interface GetMenuV3DraftLayoutRequest extends BaseRequest, RequestQuery<GetMenuV3DraftLayoutQuery>, GetMenuV3DraftLayoutPath {
|
|
2680
|
+
}
|
|
2681
|
+
export interface PatchMenuV3DraftLayoutPath {
|
|
2682
|
+
id: string;
|
|
2683
|
+
}
|
|
2684
|
+
export interface PatchMenuV3DraftLayoutBody {
|
|
2685
|
+
parent?: DraftLayoutDTO;
|
|
2686
|
+
children?: DraftLayoutDTO[];
|
|
2687
|
+
categories?: DraftCategoryDTO[];
|
|
2688
|
+
id?: string;
|
|
2689
|
+
parent_id?: string;
|
|
2690
|
+
name?: string;
|
|
2691
|
+
brand_id?: string;
|
|
2692
|
+
station_id?: string;
|
|
2693
|
+
brand?: DraftBrandDTO;
|
|
2694
|
+
station?: StationDTO;
|
|
2695
|
+
changes?: DraftLayoutChangeDTO[];
|
|
2696
|
+
[index: string]: any;
|
|
2697
|
+
}
|
|
2698
|
+
export type PatchMenuV3DraftLayoutResponse = DraftLayoutDTO;
|
|
2699
|
+
export interface PatchMenuV3DraftLayoutRequest extends BaseRequest, PatchMenuV3DraftLayoutPath {
|
|
2700
|
+
body: PatchMenuV3DraftLayoutBody;
|
|
2701
|
+
}
|
|
2702
|
+
export interface DeleteMenuV3DraftLayoutPath {
|
|
2703
|
+
id: string;
|
|
2704
|
+
}
|
|
2705
|
+
export type DeleteMenuV3DraftLayoutResponse = DraftLayoutDTO;
|
|
2706
|
+
export interface DeleteMenuV3DraftLayoutRequest extends BaseRequest, DeleteMenuV3DraftLayoutPath {
|
|
2707
|
+
}
|
|
2708
|
+
export interface GetMenuV3DraftLayoutsQuery {
|
|
2709
|
+
select?: string[];
|
|
2710
|
+
relationships?: string[];
|
|
2711
|
+
filter?: any;
|
|
2712
|
+
limit?: number;
|
|
2713
|
+
page?: number;
|
|
2714
|
+
sort_by?: string;
|
|
2715
|
+
sort_order?: string;
|
|
2716
|
+
soft_deleted?: string;
|
|
2717
|
+
_query?: string;
|
|
2718
|
+
}
|
|
2719
|
+
export interface GetMenuV3DraftLayoutsResponse {
|
|
2720
|
+
results: DraftLayoutDTO[];
|
|
2721
|
+
meta?: ListResponseMetadataDTO;
|
|
2722
|
+
[index: string]: any;
|
|
2723
|
+
}
|
|
2724
|
+
export interface GetMenuV3DraftLayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftLayoutsQuery> {
|
|
2725
|
+
}
|
|
2726
|
+
export type PostMenuV3DraftLayoutsBody = {
|
|
2727
|
+
parent?: DraftLayoutDTO;
|
|
2728
|
+
children?: DraftLayoutDTO[];
|
|
2729
|
+
categories?: DraftCategoryDTO[];
|
|
2730
|
+
parent_id?: string;
|
|
2731
|
+
name: string;
|
|
2732
|
+
brand_id: string;
|
|
2733
|
+
id?: any;
|
|
2734
|
+
station_id?: string;
|
|
2735
|
+
brand?: DraftBrandDTO;
|
|
2736
|
+
station?: StationDTO;
|
|
2737
|
+
changes?: DraftLayoutChangeDTO[];
|
|
2738
|
+
[index: string]: any;
|
|
2739
|
+
}[];
|
|
2740
|
+
export interface PostMenuV3DraftLayoutsResponse {
|
|
2741
|
+
results: DraftLayoutDTO[];
|
|
2742
|
+
meta?: ListResponseMetadataDTO;
|
|
2743
|
+
[index: string]: any;
|
|
2744
|
+
}
|
|
2745
|
+
export interface PostMenuV3DraftLayoutsRequest extends BaseRequest {
|
|
2746
|
+
body: PostMenuV3DraftLayoutsBody;
|
|
2747
|
+
}
|
|
2748
|
+
export interface GetMenuV3DraftLayoutsCountQuery {
|
|
2749
|
+
filter?: any;
|
|
2750
|
+
_query?: string;
|
|
2751
|
+
}
|
|
2752
|
+
export interface GetMenuV3DraftLayoutsCountResponse {
|
|
2753
|
+
count: number;
|
|
2754
|
+
[index: string]: any;
|
|
2755
|
+
}
|
|
2756
|
+
export interface GetMenuV3DraftLayoutsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftLayoutsCountQuery> {
|
|
2757
|
+
}
|
|
2758
|
+
export interface GetMenuV3DraftLayoutCategoriesPath {
|
|
2759
|
+
id: string;
|
|
2760
|
+
}
|
|
2761
|
+
export interface GetMenuV3DraftLayoutCategoriesQuery {
|
|
2762
|
+
select?: string[];
|
|
2763
|
+
relationships?: string[];
|
|
2764
|
+
filter?: any;
|
|
2765
|
+
limit?: number;
|
|
2766
|
+
page?: number;
|
|
2767
|
+
sort_by?: string;
|
|
2768
|
+
sort_order?: string;
|
|
2769
|
+
soft_deleted?: string;
|
|
2770
|
+
_query?: string;
|
|
2771
|
+
}
|
|
2772
|
+
export interface GetMenuV3DraftLayoutCategoriesResponse {
|
|
2773
|
+
results: DraftCategoryDTO[];
|
|
2774
|
+
meta?: ListResponseMetadataDTO;
|
|
2775
|
+
[index: string]: any;
|
|
2776
|
+
}
|
|
2777
|
+
export interface GetMenuV3DraftLayoutCategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3DraftLayoutCategoriesQuery>, GetMenuV3DraftLayoutCategoriesPath {
|
|
2778
|
+
}
|
|
2779
|
+
export interface PostMenuV3DraftLayoutPublishPath {
|
|
2780
|
+
id: string;
|
|
2781
|
+
}
|
|
2782
|
+
export interface PostMenuV3DraftLayoutPublishResponse {
|
|
2783
|
+
status?: string;
|
|
2784
|
+
}
|
|
2785
|
+
export interface PostMenuV3DraftLayoutPublishRequest extends BaseRequest, PostMenuV3DraftLayoutPublishPath {
|
|
2786
|
+
}
|
|
2787
|
+
export interface PostMenuV3DraftCategoryBody {
|
|
2788
|
+
parent_id?: string;
|
|
2789
|
+
parent?: DraftCategoryDTO;
|
|
2790
|
+
children?: DraftCategoryDTO[];
|
|
2791
|
+
name: string;
|
|
2792
|
+
label?: string;
|
|
2793
|
+
sequence?: number;
|
|
2794
|
+
priority?: number;
|
|
2795
|
+
is_active?: boolean;
|
|
2796
|
+
layout_id: string;
|
|
2797
|
+
brand_id: string;
|
|
2798
|
+
id?: any;
|
|
2799
|
+
layout?: DraftLayoutDTO;
|
|
2800
|
+
items?: DraftCategoryToItemRelationshipDTO[];
|
|
2801
|
+
brand?: DraftBrandDTO;
|
|
2802
|
+
changes?: DraftCategoryChangeDTO[];
|
|
2803
|
+
[index: string]: any;
|
|
2804
|
+
}
|
|
2805
|
+
export type PostMenuV3DraftCategoryResponse = DraftCategoryDTO;
|
|
2806
|
+
export interface PostMenuV3DraftCategoryRequest extends BaseRequest {
|
|
2807
|
+
body: PostMenuV3DraftCategoryBody;
|
|
2808
|
+
}
|
|
2809
|
+
export interface GetMenuV3DraftCategoryPath {
|
|
2810
|
+
id: string;
|
|
2811
|
+
}
|
|
2812
|
+
export interface GetMenuV3DraftCategoryQuery {
|
|
2813
|
+
select?: string[];
|
|
2814
|
+
relationships?: string[];
|
|
2815
|
+
_query?: string;
|
|
2816
|
+
}
|
|
2817
|
+
export type GetMenuV3DraftCategoryResponse = DraftCategoryDTO;
|
|
2818
|
+
export interface GetMenuV3DraftCategoryRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryQuery>, GetMenuV3DraftCategoryPath {
|
|
2819
|
+
}
|
|
2820
|
+
export interface PatchMenuV3DraftCategoryPath {
|
|
2821
|
+
id: string;
|
|
2822
|
+
}
|
|
2823
|
+
export interface PatchMenuV3DraftCategoryBody {
|
|
2824
|
+
parent_id?: string;
|
|
2825
|
+
parent?: DraftCategoryDTO;
|
|
2826
|
+
children?: DraftCategoryDTO[];
|
|
2827
|
+
name?: string;
|
|
2828
|
+
label?: string;
|
|
2829
|
+
sequence?: number;
|
|
2830
|
+
priority?: number;
|
|
2831
|
+
is_active?: boolean;
|
|
2832
|
+
layout_id?: string;
|
|
2833
|
+
brand_id?: string;
|
|
2834
|
+
id?: string;
|
|
2835
|
+
layout?: DraftLayoutDTO;
|
|
2836
|
+
items?: DraftCategoryToItemRelationshipDTO[];
|
|
2837
|
+
brand?: DraftBrandDTO;
|
|
2838
|
+
changes?: DraftCategoryChangeDTO[];
|
|
2839
|
+
[index: string]: any;
|
|
2840
|
+
}
|
|
2841
|
+
export type PatchMenuV3DraftCategoryResponse = DraftCategoryDTO;
|
|
2842
|
+
export interface PatchMenuV3DraftCategoryRequest extends BaseRequest, PatchMenuV3DraftCategoryPath {
|
|
2843
|
+
body: PatchMenuV3DraftCategoryBody;
|
|
2844
|
+
}
|
|
2845
|
+
export interface DeleteMenuV3DraftCategoryPath {
|
|
2846
|
+
id: string;
|
|
2847
|
+
}
|
|
2848
|
+
export type DeleteMenuV3DraftCategoryResponse = DraftCategoryDTO;
|
|
2849
|
+
export interface DeleteMenuV3DraftCategoryRequest extends BaseRequest, DeleteMenuV3DraftCategoryPath {
|
|
2850
|
+
}
|
|
2851
|
+
export interface GetMenuV3DraftCategoriesCountQuery {
|
|
2852
|
+
filter?: any;
|
|
2853
|
+
_query?: string;
|
|
2854
|
+
}
|
|
2855
|
+
export interface GetMenuV3DraftCategoriesCountResponse {
|
|
2856
|
+
count: number;
|
|
2857
|
+
[index: string]: any;
|
|
2858
|
+
}
|
|
2859
|
+
export interface GetMenuV3DraftCategoriesCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoriesCountQuery> {
|
|
2860
|
+
}
|
|
2861
|
+
export type PostMenuV3DraftCategorysBody = {
|
|
2862
|
+
parent_id?: string;
|
|
2863
|
+
parent?: DraftCategoryDTO;
|
|
2864
|
+
children?: DraftCategoryDTO[];
|
|
2865
|
+
name: string;
|
|
2866
|
+
label?: string;
|
|
2867
|
+
sequence?: number;
|
|
2868
|
+
priority?: number;
|
|
2869
|
+
is_active?: boolean;
|
|
2870
|
+
layout_id: string;
|
|
2871
|
+
brand_id: string;
|
|
2872
|
+
id?: any;
|
|
2873
|
+
layout?: DraftLayoutDTO;
|
|
2874
|
+
items?: DraftCategoryToItemRelationshipDTO[];
|
|
2875
|
+
brand?: DraftBrandDTO;
|
|
2876
|
+
changes?: DraftCategoryChangeDTO[];
|
|
2877
|
+
[index: string]: any;
|
|
2878
|
+
}[];
|
|
2879
|
+
export interface PostMenuV3DraftCategorysResponse {
|
|
2880
|
+
results: DraftCategoryDTO[];
|
|
2881
|
+
meta?: ListResponseMetadataDTO;
|
|
2882
|
+
[index: string]: any;
|
|
2883
|
+
}
|
|
2884
|
+
export interface PostMenuV3DraftCategorysRequest extends BaseRequest {
|
|
2885
|
+
body: PostMenuV3DraftCategorysBody;
|
|
2886
|
+
}
|
|
2887
|
+
export interface PostMenuV3DraftCategoryRelationshipsItemBody {
|
|
2888
|
+
parent?: DraftCategoryToItemRelationshipDTO;
|
|
2889
|
+
children?: DraftCategoryToItemRelationshipDTO[];
|
|
2890
|
+
parent_id?: string;
|
|
2891
|
+
category_id: string;
|
|
2892
|
+
item_id: string;
|
|
2893
|
+
brand_id?: string;
|
|
2894
|
+
sequence?: number;
|
|
2895
|
+
id?: any;
|
|
2896
|
+
category?: DraftCategoryDTO;
|
|
2897
|
+
item?: DraftItemDTO;
|
|
2898
|
+
brand?: DraftBrandDTO;
|
|
2899
|
+
changes?: DraftCategoryToItemRelationshipChangeDTO[];
|
|
2900
|
+
[index: string]: any;
|
|
2901
|
+
}
|
|
2902
|
+
export type PostMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
|
|
2903
|
+
export interface PostMenuV3DraftCategoryRelationshipsItemRequest extends BaseRequest {
|
|
2904
|
+
body: PostMenuV3DraftCategoryRelationshipsItemBody;
|
|
2905
|
+
}
|
|
2906
|
+
export interface GetMenuV3DraftCategoryRelationshipsItemPath {
|
|
2907
|
+
id: string;
|
|
2908
|
+
}
|
|
2909
|
+
export interface GetMenuV3DraftCategoryRelationshipsItemQuery {
|
|
2910
|
+
select?: string[];
|
|
2911
|
+
relationships?: string[];
|
|
2912
|
+
_query?: string;
|
|
2913
|
+
}
|
|
2914
|
+
export type GetMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
|
|
2915
|
+
export interface GetMenuV3DraftCategoryRelationshipsItemRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryRelationshipsItemQuery>, GetMenuV3DraftCategoryRelationshipsItemPath {
|
|
2916
|
+
}
|
|
2917
|
+
export interface PatchMenuV3DraftCategoryRelationshipsItemPath {
|
|
2918
|
+
id: string;
|
|
2919
|
+
}
|
|
2920
|
+
export interface PatchMenuV3DraftCategoryRelationshipsItemBody {
|
|
2921
|
+
parent?: DraftCategoryToItemRelationshipDTO;
|
|
2922
|
+
children?: DraftCategoryToItemRelationshipDTO[];
|
|
2923
|
+
id?: string;
|
|
2924
|
+
parent_id?: string;
|
|
2925
|
+
category_id?: string;
|
|
2926
|
+
item_id?: string;
|
|
2927
|
+
brand_id?: string;
|
|
2928
|
+
sequence?: number;
|
|
2929
|
+
category?: DraftCategoryDTO;
|
|
2930
|
+
item?: DraftItemDTO;
|
|
2931
|
+
brand?: DraftBrandDTO;
|
|
2932
|
+
changes?: DraftCategoryToItemRelationshipChangeDTO[];
|
|
2933
|
+
[index: string]: any;
|
|
2934
|
+
}
|
|
2935
|
+
export type PatchMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
|
|
2936
|
+
export interface PatchMenuV3DraftCategoryRelationshipsItemRequest extends BaseRequest, PatchMenuV3DraftCategoryRelationshipsItemPath {
|
|
2937
|
+
body: PatchMenuV3DraftCategoryRelationshipsItemBody;
|
|
2938
|
+
}
|
|
2939
|
+
export interface DeleteMenuV3DraftCategoryRelationshipsItemPath {
|
|
2940
|
+
id: string;
|
|
2941
|
+
}
|
|
2942
|
+
export type DeleteMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
|
|
2943
|
+
export interface DeleteMenuV3DraftCategoryRelationshipsItemRequest extends BaseRequest, DeleteMenuV3DraftCategoryRelationshipsItemPath {
|
|
2944
|
+
}
|
|
2945
|
+
export interface GetMenuV3DraftCategoryRelationshipsItemsQuery {
|
|
2946
|
+
select?: string[];
|
|
2947
|
+
relationships?: string[];
|
|
2948
|
+
filter?: any;
|
|
2949
|
+
limit?: number;
|
|
2950
|
+
page?: number;
|
|
2951
|
+
sort_by?: string;
|
|
2952
|
+
sort_order?: string;
|
|
2953
|
+
soft_deleted?: string;
|
|
2954
|
+
_query?: string;
|
|
2955
|
+
}
|
|
2956
|
+
export interface GetMenuV3DraftCategoryRelationshipsItemsResponse {
|
|
2957
|
+
results: DraftCategoryToItemRelationshipDTO[];
|
|
2958
|
+
meta?: ListResponseMetadataDTO;
|
|
2959
|
+
[index: string]: any;
|
|
2960
|
+
}
|
|
2961
|
+
export interface GetMenuV3DraftCategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryRelationshipsItemsQuery> {
|
|
2962
|
+
}
|
|
2963
|
+
export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
|
|
2964
|
+
parent?: DraftCategoryToItemRelationshipDTO;
|
|
2965
|
+
children?: DraftCategoryToItemRelationshipDTO[];
|
|
2966
|
+
parent_id?: string;
|
|
2967
|
+
category_id: string;
|
|
2968
|
+
item_id: string;
|
|
2969
|
+
brand_id?: string;
|
|
2970
|
+
sequence?: number;
|
|
2971
|
+
id?: any;
|
|
2972
|
+
category?: DraftCategoryDTO;
|
|
2973
|
+
item?: DraftItemDTO;
|
|
2974
|
+
brand?: DraftBrandDTO;
|
|
2975
|
+
changes?: DraftCategoryToItemRelationshipChangeDTO[];
|
|
2976
|
+
[index: string]: any;
|
|
2977
|
+
}[];
|
|
2978
|
+
export interface PostMenuV3DraftCategoryRelationshipsItemsResponse {
|
|
2979
|
+
results: DraftCategoryToItemRelationshipDTO[];
|
|
2980
|
+
meta?: ListResponseMetadataDTO;
|
|
2981
|
+
[index: string]: any;
|
|
2982
|
+
}
|
|
2983
|
+
export interface PostMenuV3DraftCategoryRelationshipsItemsRequest extends BaseRequest {
|
|
2984
|
+
body: PostMenuV3DraftCategoryRelationshipsItemsBody;
|
|
2985
|
+
}
|
|
2986
|
+
export interface GetMenuV3DraftCategoryRelationshipsItemsCountQuery {
|
|
2987
|
+
filter?: any;
|
|
2988
|
+
_query?: string;
|
|
2989
|
+
}
|
|
2990
|
+
export interface GetMenuV3DraftCategoryRelationshipsItemsCountResponse {
|
|
2991
|
+
count: number;
|
|
2992
|
+
[index: string]: any;
|
|
2993
|
+
}
|
|
2994
|
+
export interface GetMenuV3DraftCategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryRelationshipsItemsCountQuery> {
|
|
2995
|
+
}
|
|
2996
|
+
export interface PostMenuV3DraftItemBody {
|
|
2997
|
+
parent_id?: string;
|
|
2998
|
+
parent?: DraftItemDTO;
|
|
2999
|
+
children?: DraftItemDTO[];
|
|
3000
|
+
name: string;
|
|
3001
|
+
label?: string;
|
|
3002
|
+
description?: string;
|
|
3003
|
+
price: number;
|
|
3004
|
+
barcode?: string;
|
|
3005
|
+
calories?: number;
|
|
3006
|
+
priority?: number;
|
|
3007
|
+
is_active?: boolean;
|
|
3008
|
+
is_in_stock?: boolean;
|
|
3009
|
+
posid: string;
|
|
3010
|
+
tax_tags?: any[];
|
|
3011
|
+
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3012
|
+
brand_id: string;
|
|
3013
|
+
station_id?: string;
|
|
3014
|
+
id?: any;
|
|
3015
|
+
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3016
|
+
brand?: DraftBrandDTO;
|
|
3017
|
+
station?: StationDTO;
|
|
3018
|
+
changes?: DraftItemChangeDTO[];
|
|
3019
|
+
[index: string]: any;
|
|
3020
|
+
}
|
|
3021
|
+
export type PostMenuV3DraftItemResponse = DraftItemDTO;
|
|
3022
|
+
export interface PostMenuV3DraftItemRequest extends BaseRequest {
|
|
3023
|
+
body: PostMenuV3DraftItemBody;
|
|
3024
|
+
}
|
|
3025
|
+
export interface GetMenuV3DraftItemPath {
|
|
3026
|
+
id: string;
|
|
3027
|
+
}
|
|
3028
|
+
export interface GetMenuV3DraftItemQuery {
|
|
3029
|
+
select?: string[];
|
|
3030
|
+
relationships?: string[];
|
|
3031
|
+
_query?: string;
|
|
3032
|
+
}
|
|
3033
|
+
export type GetMenuV3DraftItemResponse = DraftItemDTO;
|
|
3034
|
+
export interface GetMenuV3DraftItemRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemQuery>, GetMenuV3DraftItemPath {
|
|
3035
|
+
}
|
|
3036
|
+
export interface PatchMenuV3DraftItemPath {
|
|
3037
|
+
id: string;
|
|
3038
|
+
}
|
|
3039
|
+
export interface PatchMenuV3DraftItemBody {
|
|
3040
|
+
parent_id?: string;
|
|
3041
|
+
parent?: DraftItemDTO;
|
|
3042
|
+
children?: DraftItemDTO[];
|
|
3043
|
+
name?: string;
|
|
3044
|
+
label?: string;
|
|
3045
|
+
description?: string;
|
|
3046
|
+
price?: number;
|
|
3047
|
+
barcode?: string;
|
|
3048
|
+
calories?: number;
|
|
3049
|
+
priority?: number;
|
|
3050
|
+
is_active?: boolean;
|
|
3051
|
+
is_in_stock?: boolean;
|
|
3052
|
+
posid?: string;
|
|
3053
|
+
tax_tags?: any[];
|
|
3054
|
+
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3055
|
+
brand_id?: string;
|
|
3056
|
+
station_id?: string;
|
|
3057
|
+
id?: string;
|
|
3058
|
+
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3059
|
+
brand?: DraftBrandDTO;
|
|
3060
|
+
station?: StationDTO;
|
|
3061
|
+
changes?: DraftItemChangeDTO[];
|
|
3062
|
+
[index: string]: any;
|
|
3063
|
+
}
|
|
3064
|
+
export type PatchMenuV3DraftItemResponse = DraftItemDTO;
|
|
3065
|
+
export interface PatchMenuV3DraftItemRequest extends BaseRequest, PatchMenuV3DraftItemPath {
|
|
3066
|
+
body: PatchMenuV3DraftItemBody;
|
|
3067
|
+
}
|
|
3068
|
+
export interface DeleteMenuV3DraftItemPath {
|
|
3069
|
+
id: string;
|
|
3070
|
+
}
|
|
3071
|
+
export type DeleteMenuV3DraftItemResponse = DraftItemDTO;
|
|
3072
|
+
export interface DeleteMenuV3DraftItemRequest extends BaseRequest, DeleteMenuV3DraftItemPath {
|
|
3073
|
+
}
|
|
3074
|
+
export interface GetMenuV3DraftItemsQuery {
|
|
3075
|
+
select?: string[];
|
|
3076
|
+
relationships?: string[];
|
|
3077
|
+
filter?: any;
|
|
3078
|
+
limit?: number;
|
|
3079
|
+
page?: number;
|
|
3080
|
+
sort_by?: string;
|
|
3081
|
+
sort_order?: string;
|
|
3082
|
+
soft_deleted?: string;
|
|
3083
|
+
_query?: string;
|
|
3084
|
+
}
|
|
3085
|
+
export interface GetMenuV3DraftItemsResponse {
|
|
3086
|
+
results: DraftItemDTO[];
|
|
3087
|
+
meta?: ListResponseMetadataDTO;
|
|
3088
|
+
[index: string]: any;
|
|
3089
|
+
}
|
|
3090
|
+
export interface GetMenuV3DraftItemsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemsQuery> {
|
|
3091
|
+
}
|
|
3092
|
+
export type PostMenuV3DraftItemsBody = {
|
|
3093
|
+
parent_id?: string;
|
|
3094
|
+
parent?: DraftItemDTO;
|
|
3095
|
+
children?: DraftItemDTO[];
|
|
3096
|
+
name: string;
|
|
3097
|
+
label?: string;
|
|
3098
|
+
description?: string;
|
|
3099
|
+
price: number;
|
|
3100
|
+
barcode?: string;
|
|
3101
|
+
calories?: number;
|
|
3102
|
+
priority?: number;
|
|
3103
|
+
is_active?: boolean;
|
|
3104
|
+
is_in_stock?: boolean;
|
|
3105
|
+
posid: string;
|
|
3106
|
+
tax_tags?: any[];
|
|
3107
|
+
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3108
|
+
brand_id: string;
|
|
3109
|
+
station_id?: string;
|
|
3110
|
+
id?: any;
|
|
3111
|
+
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3112
|
+
brand?: DraftBrandDTO;
|
|
3113
|
+
station?: StationDTO;
|
|
3114
|
+
changes?: DraftItemChangeDTO[];
|
|
3115
|
+
[index: string]: any;
|
|
3116
|
+
}[];
|
|
3117
|
+
export interface PostMenuV3DraftItemsResponse {
|
|
3118
|
+
results: DraftItemDTO[];
|
|
3119
|
+
meta?: ListResponseMetadataDTO;
|
|
3120
|
+
[index: string]: any;
|
|
3121
|
+
}
|
|
3122
|
+
export interface PostMenuV3DraftItemsRequest extends BaseRequest {
|
|
3123
|
+
body: PostMenuV3DraftItemsBody;
|
|
3124
|
+
}
|
|
3125
|
+
export interface GetMenuV3DraftItemsCountQuery {
|
|
3126
|
+
filter?: any;
|
|
3127
|
+
_query?: string;
|
|
3128
|
+
}
|
|
3129
|
+
export interface GetMenuV3DraftItemsCountResponse {
|
|
3130
|
+
count: number;
|
|
3131
|
+
[index: string]: any;
|
|
3132
|
+
}
|
|
3133
|
+
export interface GetMenuV3DraftItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemsCountQuery> {
|
|
3134
|
+
}
|
|
3135
|
+
export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
3136
|
+
parent?: DraftItemToModifierGroupRelationshipDTO;
|
|
3137
|
+
children?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3138
|
+
parent_id?: string;
|
|
3139
|
+
modifier_group_id: string;
|
|
3140
|
+
item_id: string;
|
|
3141
|
+
brand_id?: string;
|
|
3142
|
+
sequence?: number;
|
|
3143
|
+
id?: any;
|
|
3144
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
3145
|
+
item?: DraftItemDTO;
|
|
3146
|
+
brand?: DraftBrandDTO;
|
|
3147
|
+
changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
|
|
3148
|
+
[index: string]: any;
|
|
3149
|
+
}
|
|
3150
|
+
export type PostMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
|
|
3151
|
+
export interface PostMenuV3DraftItemRelationshipsModifierGroupRequest extends BaseRequest {
|
|
3152
|
+
body: PostMenuV3DraftItemRelationshipsModifierGroupBody;
|
|
3153
|
+
}
|
|
3154
|
+
export interface GetMenuV3DraftItemRelationshipsModifierGroupPath {
|
|
3155
|
+
id: string;
|
|
3156
|
+
}
|
|
3157
|
+
export interface GetMenuV3DraftItemRelationshipsModifierGroupQuery {
|
|
3158
|
+
select?: string[];
|
|
3159
|
+
relationships?: string[];
|
|
3160
|
+
_query?: string;
|
|
3161
|
+
}
|
|
3162
|
+
export type GetMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
|
|
3163
|
+
export interface GetMenuV3DraftItemRelationshipsModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemRelationshipsModifierGroupQuery>, GetMenuV3DraftItemRelationshipsModifierGroupPath {
|
|
3164
|
+
}
|
|
3165
|
+
export interface PatchMenuV3DraftItemRelationshipsModifierGroupPath {
|
|
3166
|
+
id: string;
|
|
3167
|
+
}
|
|
3168
|
+
export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
3169
|
+
parent?: DraftItemToModifierGroupRelationshipDTO;
|
|
3170
|
+
children?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3171
|
+
id?: string;
|
|
3172
|
+
parent_id?: string;
|
|
3173
|
+
modifier_group_id?: string;
|
|
3174
|
+
item_id?: string;
|
|
3175
|
+
brand_id?: string;
|
|
3176
|
+
sequence?: number;
|
|
3177
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
3178
|
+
item?: DraftItemDTO;
|
|
3179
|
+
brand?: DraftBrandDTO;
|
|
3180
|
+
changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
|
|
3181
|
+
[index: string]: any;
|
|
3182
|
+
}
|
|
3183
|
+
export type PatchMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
|
|
3184
|
+
export interface PatchMenuV3DraftItemRelationshipsModifierGroupRequest extends BaseRequest, PatchMenuV3DraftItemRelationshipsModifierGroupPath {
|
|
3185
|
+
body: PatchMenuV3DraftItemRelationshipsModifierGroupBody;
|
|
3186
|
+
}
|
|
3187
|
+
export interface DeleteMenuV3DraftItemRelationshipsModifierGroupPath {
|
|
3188
|
+
id: string;
|
|
3189
|
+
}
|
|
3190
|
+
export type DeleteMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
|
|
3191
|
+
export interface DeleteMenuV3DraftItemRelationshipsModifierGroupRequest extends BaseRequest, DeleteMenuV3DraftItemRelationshipsModifierGroupPath {
|
|
3192
|
+
}
|
|
3193
|
+
export interface GetMenuV3DraftItemRelationshipsModifierGroupsQuery {
|
|
3194
|
+
select?: string[];
|
|
3195
|
+
relationships?: string[];
|
|
3196
|
+
filter?: any;
|
|
3197
|
+
limit?: number;
|
|
3198
|
+
page?: number;
|
|
3199
|
+
sort_by?: string;
|
|
3200
|
+
sort_order?: string;
|
|
3201
|
+
soft_deleted?: string;
|
|
3202
|
+
_query?: string;
|
|
3203
|
+
}
|
|
3204
|
+
export interface GetMenuV3DraftItemRelationshipsModifierGroupsResponse {
|
|
3205
|
+
results: DraftItemToModifierGroupRelationshipDTO[];
|
|
3206
|
+
meta?: ListResponseMetadataDTO;
|
|
3207
|
+
[index: string]: any;
|
|
3208
|
+
}
|
|
3209
|
+
export interface GetMenuV3DraftItemRelationshipsModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemRelationshipsModifierGroupsQuery> {
|
|
3210
|
+
}
|
|
3211
|
+
export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
|
|
3212
|
+
parent?: DraftItemToModifierGroupRelationshipDTO;
|
|
3213
|
+
children?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3214
|
+
parent_id?: string;
|
|
3215
|
+
modifier_group_id: string;
|
|
3216
|
+
item_id: string;
|
|
3217
|
+
brand_id?: string;
|
|
3218
|
+
sequence?: number;
|
|
3219
|
+
id?: any;
|
|
3220
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
3221
|
+
item?: DraftItemDTO;
|
|
3222
|
+
brand?: DraftBrandDTO;
|
|
3223
|
+
changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
|
|
3224
|
+
[index: string]: any;
|
|
3225
|
+
}[];
|
|
3226
|
+
export interface PostMenuV3DraftItemRelationshipsModifierGroupsResponse {
|
|
3227
|
+
results: DraftItemToModifierGroupRelationshipDTO[];
|
|
3228
|
+
meta?: ListResponseMetadataDTO;
|
|
3229
|
+
[index: string]: any;
|
|
3230
|
+
}
|
|
3231
|
+
export interface PostMenuV3DraftItemRelationshipsModifierGroupsRequest extends BaseRequest {
|
|
3232
|
+
body: PostMenuV3DraftItemRelationshipsModifierGroupsBody;
|
|
3233
|
+
}
|
|
3234
|
+
export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery {
|
|
3235
|
+
filter?: any;
|
|
3236
|
+
_query?: string;
|
|
3237
|
+
}
|
|
3238
|
+
export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountResponse {
|
|
3239
|
+
count: number;
|
|
3240
|
+
[index: string]: any;
|
|
3241
|
+
}
|
|
3242
|
+
export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery> {
|
|
3243
|
+
}
|
|
3244
|
+
export interface PostMenuV3DraftModifierGroupBody {
|
|
3245
|
+
parent_id?: string;
|
|
3246
|
+
parent?: DraftModifierGroupDTO;
|
|
3247
|
+
children?: DraftModifierGroupDTO[];
|
|
3248
|
+
name: string;
|
|
3249
|
+
label?: string;
|
|
3250
|
+
min?: number;
|
|
3251
|
+
max?: number;
|
|
3252
|
+
is_active?: boolean;
|
|
3253
|
+
priority?: number;
|
|
3254
|
+
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3255
|
+
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3256
|
+
brand_id: string;
|
|
3257
|
+
station_id?: string;
|
|
3258
|
+
id?: any;
|
|
3259
|
+
brand?: DraftBrandDTO;
|
|
3260
|
+
station?: StationDTO;
|
|
3261
|
+
changes?: DraftModifierGroupChangeDTO[];
|
|
3262
|
+
[index: string]: any;
|
|
3263
|
+
}
|
|
3264
|
+
export type PostMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
|
|
3265
|
+
export interface PostMenuV3DraftModifierGroupRequest extends BaseRequest {
|
|
3266
|
+
body: PostMenuV3DraftModifierGroupBody;
|
|
3267
|
+
}
|
|
3268
|
+
export interface GetMenuV3DraftModifierGroupPath {
|
|
3269
|
+
id: string;
|
|
3270
|
+
}
|
|
3271
|
+
export interface GetMenuV3DraftModifierGroupQuery {
|
|
3272
|
+
select?: string[];
|
|
3273
|
+
relationships?: string[];
|
|
3274
|
+
_query?: string;
|
|
3275
|
+
}
|
|
3276
|
+
export type GetMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
|
|
3277
|
+
export interface GetMenuV3DraftModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupQuery>, GetMenuV3DraftModifierGroupPath {
|
|
3278
|
+
}
|
|
3279
|
+
export interface PatchMenuV3DraftModifierGroupPath {
|
|
3280
|
+
id: string;
|
|
3281
|
+
}
|
|
3282
|
+
export interface PatchMenuV3DraftModifierGroupBody {
|
|
3283
|
+
parent_id?: string;
|
|
3284
|
+
parent?: DraftModifierGroupDTO;
|
|
3285
|
+
children?: DraftModifierGroupDTO[];
|
|
3286
|
+
name?: string;
|
|
3287
|
+
label?: string;
|
|
3288
|
+
min?: number;
|
|
3289
|
+
max?: number;
|
|
3290
|
+
is_active?: boolean;
|
|
3291
|
+
priority?: number;
|
|
3292
|
+
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3293
|
+
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3294
|
+
brand_id?: string;
|
|
3295
|
+
station_id?: string;
|
|
3296
|
+
id?: string;
|
|
3297
|
+
brand?: DraftBrandDTO;
|
|
3298
|
+
station?: StationDTO;
|
|
3299
|
+
changes?: DraftModifierGroupChangeDTO[];
|
|
3300
|
+
[index: string]: any;
|
|
3301
|
+
}
|
|
3302
|
+
export type PatchMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
|
|
3303
|
+
export interface PatchMenuV3DraftModifierGroupRequest extends BaseRequest, PatchMenuV3DraftModifierGroupPath {
|
|
3304
|
+
body: PatchMenuV3DraftModifierGroupBody;
|
|
3305
|
+
}
|
|
3306
|
+
export interface DeleteMenuV3DraftModifierGroupPath {
|
|
3307
|
+
id: string;
|
|
3308
|
+
}
|
|
3309
|
+
export type DeleteMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
|
|
3310
|
+
export interface DeleteMenuV3DraftModifierGroupRequest extends BaseRequest, DeleteMenuV3DraftModifierGroupPath {
|
|
3311
|
+
}
|
|
3312
|
+
export interface GetMenuV3DraftModifierGroupsQuery {
|
|
3313
|
+
select?: string[];
|
|
3314
|
+
relationships?: string[];
|
|
3315
|
+
filter?: any;
|
|
3316
|
+
limit?: number;
|
|
3317
|
+
page?: number;
|
|
3318
|
+
sort_by?: string;
|
|
3319
|
+
sort_order?: string;
|
|
3320
|
+
soft_deleted?: string;
|
|
3321
|
+
_query?: string;
|
|
3322
|
+
}
|
|
3323
|
+
export interface GetMenuV3DraftModifierGroupsResponse {
|
|
3324
|
+
results: DraftModifierGroupDTO[];
|
|
3325
|
+
meta?: ListResponseMetadataDTO;
|
|
3326
|
+
[index: string]: any;
|
|
3327
|
+
}
|
|
3328
|
+
export interface GetMenuV3DraftModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupsQuery> {
|
|
3329
|
+
}
|
|
3330
|
+
export type PostMenuV3DraftModifierGroupsBody = {
|
|
3331
|
+
parent_id?: string;
|
|
3332
|
+
parent?: DraftModifierGroupDTO;
|
|
3333
|
+
children?: DraftModifierGroupDTO[];
|
|
3334
|
+
name: string;
|
|
3335
|
+
label?: string;
|
|
3336
|
+
min?: number;
|
|
3337
|
+
max?: number;
|
|
3338
|
+
is_active?: boolean;
|
|
3339
|
+
priority?: number;
|
|
3340
|
+
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3341
|
+
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3342
|
+
brand_id: string;
|
|
3343
|
+
station_id?: string;
|
|
3344
|
+
id?: any;
|
|
3345
|
+
brand?: DraftBrandDTO;
|
|
3346
|
+
station?: StationDTO;
|
|
3347
|
+
changes?: DraftModifierGroupChangeDTO[];
|
|
3348
|
+
[index: string]: any;
|
|
3349
|
+
}[];
|
|
3350
|
+
export interface PostMenuV3DraftModifierGroupsResponse {
|
|
3351
|
+
results: DraftModifierGroupDTO[];
|
|
3352
|
+
meta?: ListResponseMetadataDTO;
|
|
3353
|
+
[index: string]: any;
|
|
3354
|
+
}
|
|
3355
|
+
export interface PostMenuV3DraftModifierGroupsRequest extends BaseRequest {
|
|
3356
|
+
body: PostMenuV3DraftModifierGroupsBody;
|
|
3357
|
+
}
|
|
3358
|
+
export interface GetMenuV3DraftModifierGroupsCountQuery {
|
|
3359
|
+
filter?: any;
|
|
3360
|
+
_query?: string;
|
|
3361
|
+
}
|
|
3362
|
+
export interface GetMenuV3DraftModifierGroupsCountResponse {
|
|
3363
|
+
count: number;
|
|
3364
|
+
[index: string]: any;
|
|
3365
|
+
}
|
|
3366
|
+
export interface GetMenuV3DraftModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupsCountQuery> {
|
|
3367
|
+
}
|
|
3368
|
+
export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
3369
|
+
parent?: DraftModifierGroupToModifierRelationshipDTO;
|
|
3370
|
+
children?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3371
|
+
parent_id?: string;
|
|
3372
|
+
modifier_id: string;
|
|
3373
|
+
modifier_group_id: string;
|
|
3374
|
+
brand_id?: string;
|
|
3375
|
+
sequence?: number;
|
|
3376
|
+
id?: any;
|
|
3377
|
+
modifier?: DraftModifierDTO;
|
|
3378
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
3379
|
+
brand?: DraftBrandDTO;
|
|
3380
|
+
changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
|
|
3381
|
+
[index: string]: any;
|
|
3382
|
+
}
|
|
3383
|
+
export type PostMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
|
|
3384
|
+
export interface PostMenuV3DraftModifierGroupRelationshipsModifierRequest extends BaseRequest {
|
|
3385
|
+
body: PostMenuV3DraftModifierGroupRelationshipsModifierBody;
|
|
3386
|
+
}
|
|
3387
|
+
export interface GetMenuV3DraftModifierGroupRelationshipsModifierPath {
|
|
3388
|
+
id: string;
|
|
3389
|
+
}
|
|
3390
|
+
export interface GetMenuV3DraftModifierGroupRelationshipsModifierQuery {
|
|
3391
|
+
select?: string[];
|
|
3392
|
+
relationships?: string[];
|
|
3393
|
+
_query?: string;
|
|
3394
|
+
}
|
|
3395
|
+
export type GetMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
|
|
3396
|
+
export interface GetMenuV3DraftModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupRelationshipsModifierQuery>, GetMenuV3DraftModifierGroupRelationshipsModifierPath {
|
|
3397
|
+
}
|
|
3398
|
+
export interface PatchMenuV3DraftModifierGroupRelationshipsModifierPath {
|
|
3399
|
+
id: string;
|
|
3400
|
+
}
|
|
3401
|
+
export interface PatchMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
3402
|
+
parent?: DraftModifierGroupToModifierRelationshipDTO;
|
|
3403
|
+
children?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3404
|
+
id?: string;
|
|
3405
|
+
parent_id?: string;
|
|
3406
|
+
modifier_id?: string;
|
|
3407
|
+
modifier_group_id?: string;
|
|
3408
|
+
brand_id?: string;
|
|
3409
|
+
sequence?: number;
|
|
3410
|
+
modifier?: DraftModifierDTO;
|
|
3411
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
3412
|
+
brand?: DraftBrandDTO;
|
|
3413
|
+
changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
|
|
3414
|
+
[index: string]: any;
|
|
3415
|
+
}
|
|
3416
|
+
export type PatchMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
|
|
3417
|
+
export interface PatchMenuV3DraftModifierGroupRelationshipsModifierRequest extends BaseRequest, PatchMenuV3DraftModifierGroupRelationshipsModifierPath {
|
|
3418
|
+
body: PatchMenuV3DraftModifierGroupRelationshipsModifierBody;
|
|
3419
|
+
}
|
|
3420
|
+
export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierPath {
|
|
3421
|
+
id: string;
|
|
3422
|
+
}
|
|
3423
|
+
export type DeleteMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
|
|
3424
|
+
export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierRequest extends BaseRequest, DeleteMenuV3DraftModifierGroupRelationshipsModifierPath {
|
|
3425
|
+
}
|
|
3426
|
+
export interface GetMenuV3DraftModifierGroupRelationshipsModifiersQuery {
|
|
3427
|
+
select?: string[];
|
|
3428
|
+
relationships?: string[];
|
|
3429
|
+
filter?: any;
|
|
3430
|
+
limit?: number;
|
|
3431
|
+
page?: number;
|
|
3432
|
+
sort_by?: string;
|
|
3433
|
+
sort_order?: string;
|
|
3434
|
+
soft_deleted?: string;
|
|
3435
|
+
_query?: string;
|
|
3436
|
+
}
|
|
3437
|
+
export interface GetMenuV3DraftModifierGroupRelationshipsModifiersResponse {
|
|
3438
|
+
results: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3439
|
+
meta?: ListResponseMetadataDTO;
|
|
3440
|
+
[index: string]: any;
|
|
3441
|
+
}
|
|
3442
|
+
export interface GetMenuV3DraftModifierGroupRelationshipsModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupRelationshipsModifiersQuery> {
|
|
3443
|
+
}
|
|
3444
|
+
export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
|
|
3445
|
+
parent?: DraftModifierGroupToModifierRelationshipDTO;
|
|
3446
|
+
children?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3447
|
+
parent_id?: string;
|
|
3448
|
+
modifier_id: string;
|
|
3449
|
+
modifier_group_id: string;
|
|
3450
|
+
brand_id?: string;
|
|
3451
|
+
sequence?: number;
|
|
3452
|
+
id?: any;
|
|
3453
|
+
modifier?: DraftModifierDTO;
|
|
3454
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
3455
|
+
brand?: DraftBrandDTO;
|
|
3456
|
+
changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
|
|
3457
|
+
[index: string]: any;
|
|
3458
|
+
}[];
|
|
3459
|
+
export interface PostMenuV3DraftModifierGroupRelationshipsModifiersResponse {
|
|
3460
|
+
results: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3461
|
+
meta?: ListResponseMetadataDTO;
|
|
3462
|
+
[index: string]: any;
|
|
3463
|
+
}
|
|
3464
|
+
export interface PostMenuV3DraftModifierGroupRelationshipsModifiersRequest extends BaseRequest {
|
|
3465
|
+
body: PostMenuV3DraftModifierGroupRelationshipsModifiersBody;
|
|
3466
|
+
}
|
|
3467
|
+
export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery {
|
|
3468
|
+
filter?: any;
|
|
3469
|
+
_query?: string;
|
|
3470
|
+
}
|
|
3471
|
+
export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountResponse {
|
|
3472
|
+
count: number;
|
|
3473
|
+
[index: string]: any;
|
|
3474
|
+
}
|
|
3475
|
+
export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery> {
|
|
3476
|
+
}
|
|
3477
|
+
export interface PostMenuV3DraftModifierBody {
|
|
3478
|
+
parent_id?: string;
|
|
3479
|
+
parent?: DraftModifierDTO;
|
|
3480
|
+
children?: DraftModifierDTO[];
|
|
3481
|
+
name: string;
|
|
3482
|
+
label?: string;
|
|
3483
|
+
description?: string;
|
|
3484
|
+
price: number;
|
|
3485
|
+
calories?: number;
|
|
3486
|
+
priority?: number;
|
|
3487
|
+
tax_tags?: any[];
|
|
3488
|
+
is_active?: boolean;
|
|
3489
|
+
is_in_stock?: boolean;
|
|
3490
|
+
posid: string;
|
|
3491
|
+
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3492
|
+
brand_id: string;
|
|
3493
|
+
station_id?: string;
|
|
3494
|
+
id?: any;
|
|
3495
|
+
brand?: DraftBrandDTO;
|
|
3496
|
+
station?: StationDTO;
|
|
3497
|
+
changes?: DraftModifierChangeDTO[];
|
|
3498
|
+
[index: string]: any;
|
|
3499
|
+
}
|
|
3500
|
+
export type PostMenuV3DraftModifierResponse = DraftModifierDTO;
|
|
3501
|
+
export interface PostMenuV3DraftModifierRequest extends BaseRequest {
|
|
3502
|
+
body: PostMenuV3DraftModifierBody;
|
|
3503
|
+
}
|
|
3504
|
+
export interface GetMenuV3DraftModifierPath {
|
|
3505
|
+
id: string;
|
|
3506
|
+
}
|
|
3507
|
+
export interface GetMenuV3DraftModifierQuery {
|
|
3508
|
+
select?: string[];
|
|
3509
|
+
relationships?: string[];
|
|
3510
|
+
_query?: string;
|
|
3511
|
+
}
|
|
3512
|
+
export type GetMenuV3DraftModifierResponse = DraftModifierDTO;
|
|
3513
|
+
export interface GetMenuV3DraftModifierRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierQuery>, GetMenuV3DraftModifierPath {
|
|
3514
|
+
}
|
|
3515
|
+
export interface PatchMenuV3DraftModifierPath {
|
|
3516
|
+
id: string;
|
|
3517
|
+
}
|
|
3518
|
+
export interface PatchMenuV3DraftModifierBody {
|
|
3519
|
+
parent_id?: string;
|
|
3520
|
+
parent?: DraftModifierDTO;
|
|
3521
|
+
children?: DraftModifierDTO[];
|
|
3522
|
+
name?: string;
|
|
3523
|
+
label?: string;
|
|
3524
|
+
description?: string;
|
|
3525
|
+
price?: number;
|
|
3526
|
+
calories?: number;
|
|
3527
|
+
priority?: number;
|
|
3528
|
+
tax_tags?: any[];
|
|
3529
|
+
is_active?: boolean;
|
|
3530
|
+
is_in_stock?: boolean;
|
|
3531
|
+
posid?: string;
|
|
3532
|
+
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3533
|
+
brand_id?: string;
|
|
3534
|
+
station_id?: string;
|
|
3535
|
+
id?: string;
|
|
3536
|
+
brand?: DraftBrandDTO;
|
|
3537
|
+
station?: StationDTO;
|
|
3538
|
+
changes?: DraftModifierChangeDTO[];
|
|
3539
|
+
[index: string]: any;
|
|
3540
|
+
}
|
|
3541
|
+
export type PatchMenuV3DraftModifierResponse = DraftModifierDTO;
|
|
3542
|
+
export interface PatchMenuV3DraftModifierRequest extends BaseRequest, PatchMenuV3DraftModifierPath {
|
|
3543
|
+
body: PatchMenuV3DraftModifierBody;
|
|
3544
|
+
}
|
|
3545
|
+
export interface DeleteMenuV3DraftModifierPath {
|
|
3546
|
+
id: string;
|
|
3547
|
+
}
|
|
3548
|
+
export type DeleteMenuV3DraftModifierResponse = DraftModifierDTO;
|
|
3549
|
+
export interface DeleteMenuV3DraftModifierRequest extends BaseRequest, DeleteMenuV3DraftModifierPath {
|
|
3550
|
+
}
|
|
3551
|
+
export interface GetMenuV3DraftModifiersQuery {
|
|
3552
|
+
select?: string[];
|
|
3553
|
+
relationships?: string[];
|
|
3554
|
+
filter?: any;
|
|
3555
|
+
limit?: number;
|
|
3556
|
+
page?: number;
|
|
3557
|
+
sort_by?: string;
|
|
3558
|
+
sort_order?: string;
|
|
3559
|
+
soft_deleted?: string;
|
|
3560
|
+
_query?: string;
|
|
3561
|
+
}
|
|
3562
|
+
export interface GetMenuV3DraftModifiersResponse {
|
|
3563
|
+
results: DraftModifierDTO[];
|
|
3564
|
+
meta?: ListResponseMetadataDTO;
|
|
3565
|
+
[index: string]: any;
|
|
3566
|
+
}
|
|
3567
|
+
export interface GetMenuV3DraftModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifiersQuery> {
|
|
3568
|
+
}
|
|
3569
|
+
export type PostMenuV3DraftModifiersBody = {
|
|
3570
|
+
parent_id?: string;
|
|
3571
|
+
parent?: DraftModifierDTO;
|
|
3572
|
+
children?: DraftModifierDTO[];
|
|
3573
|
+
name: string;
|
|
3574
|
+
label?: string;
|
|
3575
|
+
description?: string;
|
|
3576
|
+
price: number;
|
|
3577
|
+
calories?: number;
|
|
3578
|
+
priority?: number;
|
|
3579
|
+
tax_tags?: any[];
|
|
3580
|
+
is_active?: boolean;
|
|
3581
|
+
is_in_stock?: boolean;
|
|
3582
|
+
posid: string;
|
|
3583
|
+
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3584
|
+
brand_id: string;
|
|
3585
|
+
station_id?: string;
|
|
3586
|
+
id?: any;
|
|
3587
|
+
brand?: DraftBrandDTO;
|
|
3588
|
+
station?: StationDTO;
|
|
3589
|
+
changes?: DraftModifierChangeDTO[];
|
|
3590
|
+
[index: string]: any;
|
|
3591
|
+
}[];
|
|
3592
|
+
export interface PostMenuV3DraftModifiersResponse {
|
|
3593
|
+
results: DraftModifierDTO[];
|
|
3594
|
+
meta?: ListResponseMetadataDTO;
|
|
3595
|
+
[index: string]: any;
|
|
3596
|
+
}
|
|
3597
|
+
export interface PostMenuV3DraftModifiersRequest extends BaseRequest {
|
|
3598
|
+
body: PostMenuV3DraftModifiersBody;
|
|
1810
3599
|
}
|
|
1811
|
-
export interface
|
|
3600
|
+
export interface GetMenuV3DraftModifiersCountQuery {
|
|
3601
|
+
filter?: any;
|
|
1812
3602
|
_query?: string;
|
|
1813
3603
|
}
|
|
1814
|
-
export
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
export interface GetMenuCompanyMenusPath {
|
|
1818
|
-
company: string;
|
|
3604
|
+
export interface GetMenuV3DraftModifiersCountResponse {
|
|
3605
|
+
count: number;
|
|
3606
|
+
[index: string]: any;
|
|
1819
3607
|
}
|
|
1820
|
-
export interface
|
|
1821
|
-
_query?: string;
|
|
3608
|
+
export interface GetMenuV3DraftModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifiersCountQuery> {
|
|
1822
3609
|
}
|
|
1823
|
-
export
|
|
1824
|
-
|
|
3610
|
+
export interface PostMenuV3DraftBrandBody {
|
|
3611
|
+
parent_id?: string;
|
|
3612
|
+
parent?: DraftBrandDTO;
|
|
3613
|
+
children?: DraftBrandDTO[];
|
|
3614
|
+
layouts?: DraftLayoutDTO[];
|
|
3615
|
+
items?: DraftItemDTO[];
|
|
3616
|
+
modifier_groups?: DraftModifierGroupDTO[];
|
|
3617
|
+
modifiers?: DraftModifierDTO[];
|
|
3618
|
+
categories?: DraftCategoryDTO[];
|
|
3619
|
+
modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3620
|
+
item_to_modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3621
|
+
category_to_items?: DraftCategoryToItemRelationshipDTO[];
|
|
3622
|
+
id?: any;
|
|
3623
|
+
changes?: DraftBrandChangeDTO[];
|
|
3624
|
+
[index: string]: any;
|
|
1825
3625
|
}
|
|
1826
|
-
export type
|
|
1827
|
-
export
|
|
1828
|
-
|
|
1829
|
-
body: PostMenuModifierGroupBody;
|
|
3626
|
+
export type PostMenuV3DraftBrandResponse = DraftBrandDTO;
|
|
3627
|
+
export interface PostMenuV3DraftBrandRequest extends BaseRequest {
|
|
3628
|
+
body: PostMenuV3DraftBrandBody;
|
|
1830
3629
|
}
|
|
1831
|
-
export interface
|
|
3630
|
+
export interface GetMenuV3DraftBrandPath {
|
|
1832
3631
|
id: string;
|
|
1833
3632
|
}
|
|
1834
|
-
export interface
|
|
3633
|
+
export interface GetMenuV3DraftBrandQuery {
|
|
3634
|
+
select?: string[];
|
|
3635
|
+
relationships?: string[];
|
|
1835
3636
|
_query?: string;
|
|
1836
3637
|
}
|
|
1837
|
-
export type
|
|
1838
|
-
export interface
|
|
3638
|
+
export type GetMenuV3DraftBrandResponse = DraftBrandDTO;
|
|
3639
|
+
export interface GetMenuV3DraftBrandRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandQuery>, GetMenuV3DraftBrandPath {
|
|
1839
3640
|
}
|
|
1840
|
-
export interface
|
|
3641
|
+
export interface PatchMenuV3DraftBrandPath {
|
|
1841
3642
|
id: string;
|
|
1842
3643
|
}
|
|
1843
|
-
export
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
3644
|
+
export interface PatchMenuV3DraftBrandBody {
|
|
3645
|
+
parent_id?: string;
|
|
3646
|
+
parent?: DraftBrandDTO;
|
|
3647
|
+
children?: DraftBrandDTO[];
|
|
3648
|
+
layouts?: DraftLayoutDTO[];
|
|
3649
|
+
items?: DraftItemDTO[];
|
|
3650
|
+
modifier_groups?: DraftModifierGroupDTO[];
|
|
3651
|
+
modifiers?: DraftModifierDTO[];
|
|
3652
|
+
categories?: DraftCategoryDTO[];
|
|
3653
|
+
modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3654
|
+
item_to_modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3655
|
+
category_to_items?: DraftCategoryToItemRelationshipDTO[];
|
|
3656
|
+
id?: string;
|
|
3657
|
+
changes?: DraftBrandChangeDTO[];
|
|
3658
|
+
[index: string]: any;
|
|
1847
3659
|
}
|
|
1848
|
-
export
|
|
1849
|
-
|
|
3660
|
+
export type PatchMenuV3DraftBrandResponse = DraftBrandDTO;
|
|
3661
|
+
export interface PatchMenuV3DraftBrandRequest extends BaseRequest, PatchMenuV3DraftBrandPath {
|
|
3662
|
+
body: PatchMenuV3DraftBrandBody;
|
|
1850
3663
|
}
|
|
1851
|
-
export
|
|
1852
|
-
|
|
3664
|
+
export interface DeleteMenuV3DraftBrandPath {
|
|
3665
|
+
id: string;
|
|
1853
3666
|
}
|
|
1854
|
-
export
|
|
1855
|
-
|
|
3667
|
+
export type DeleteMenuV3DraftBrandResponse = DraftBrandDTO;
|
|
3668
|
+
export interface DeleteMenuV3DraftBrandRequest extends BaseRequest, DeleteMenuV3DraftBrandPath {
|
|
1856
3669
|
}
|
|
1857
|
-
export interface
|
|
3670
|
+
export interface GetMenuV3DraftBrandsQuery {
|
|
3671
|
+
select?: string[];
|
|
3672
|
+
relationships?: string[];
|
|
3673
|
+
filter?: any;
|
|
3674
|
+
limit?: number;
|
|
3675
|
+
page?: number;
|
|
3676
|
+
sort_by?: string;
|
|
3677
|
+
sort_order?: string;
|
|
3678
|
+
soft_deleted?: string;
|
|
1858
3679
|
_query?: string;
|
|
1859
3680
|
}
|
|
1860
|
-
export
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
company: string;
|
|
3681
|
+
export interface GetMenuV3DraftBrandsResponse {
|
|
3682
|
+
results: DraftBrandDTO[];
|
|
3683
|
+
meta?: ListResponseMetadataDTO;
|
|
3684
|
+
[index: string]: any;
|
|
1865
3685
|
}
|
|
1866
|
-
export interface
|
|
1867
|
-
_query?: string;
|
|
3686
|
+
export interface GetMenuV3DraftBrandsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandsQuery> {
|
|
1868
3687
|
}
|
|
1869
|
-
export type
|
|
1870
|
-
|
|
3688
|
+
export type PostMenuV3DraftBrandsBody = {
|
|
3689
|
+
parent_id?: string;
|
|
3690
|
+
parent?: DraftBrandDTO;
|
|
3691
|
+
children?: DraftBrandDTO[];
|
|
3692
|
+
layouts?: DraftLayoutDTO[];
|
|
3693
|
+
items?: DraftItemDTO[];
|
|
3694
|
+
modifier_groups?: DraftModifierGroupDTO[];
|
|
3695
|
+
modifiers?: DraftModifierDTO[];
|
|
3696
|
+
categories?: DraftCategoryDTO[];
|
|
3697
|
+
modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3698
|
+
item_to_modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3699
|
+
category_to_items?: DraftCategoryToItemRelationshipDTO[];
|
|
3700
|
+
id?: any;
|
|
3701
|
+
changes?: DraftBrandChangeDTO[];
|
|
3702
|
+
[index: string]: any;
|
|
3703
|
+
}[];
|
|
3704
|
+
export interface PostMenuV3DraftBrandsResponse {
|
|
3705
|
+
results: DraftBrandDTO[];
|
|
3706
|
+
meta?: ListResponseMetadataDTO;
|
|
3707
|
+
[index: string]: any;
|
|
1871
3708
|
}
|
|
1872
|
-
export interface
|
|
1873
|
-
|
|
3709
|
+
export interface PostMenuV3DraftBrandsRequest extends BaseRequest {
|
|
3710
|
+
body: PostMenuV3DraftBrandsBody;
|
|
1874
3711
|
}
|
|
1875
|
-
export interface
|
|
3712
|
+
export interface GetMenuV3DraftBrandsCountQuery {
|
|
3713
|
+
filter?: any;
|
|
1876
3714
|
_query?: string;
|
|
1877
3715
|
}
|
|
1878
|
-
export
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
export interface GetMenuPartialGroupsPath {
|
|
1882
|
-
id: string;
|
|
1883
|
-
}
|
|
1884
|
-
export interface GetMenuPartialGroupsQuery {
|
|
1885
|
-
extended?: boolean;
|
|
1886
|
-
show_unlinked?: boolean;
|
|
1887
|
-
_query?: string;
|
|
3716
|
+
export interface GetMenuV3DraftBrandsCountResponse {
|
|
3717
|
+
count: number;
|
|
3718
|
+
[index: string]: any;
|
|
1888
3719
|
}
|
|
1889
|
-
export
|
|
1890
|
-
export interface GetMenuPartialGroupsRequest extends BaseRequest, RequestQuery<GetMenuPartialGroupsQuery>, GetMenuPartialGroupsPath {
|
|
3720
|
+
export interface GetMenuV3DraftBrandsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandsCountQuery> {
|
|
1891
3721
|
}
|
|
1892
|
-
export interface
|
|
3722
|
+
export interface GetMenuV3DraftBrandModifiersPath {
|
|
1893
3723
|
id: string;
|
|
1894
|
-
group_id: string;
|
|
1895
3724
|
}
|
|
1896
|
-
export interface
|
|
1897
|
-
|
|
3725
|
+
export interface GetMenuV3DraftBrandModifiersQuery {
|
|
3726
|
+
select?: string[];
|
|
3727
|
+
relationships?: string[];
|
|
3728
|
+
filter?: any;
|
|
3729
|
+
limit?: number;
|
|
3730
|
+
page?: number;
|
|
3731
|
+
sort_by?: string;
|
|
3732
|
+
sort_order?: string;
|
|
3733
|
+
soft_deleted?: string;
|
|
1898
3734
|
_query?: string;
|
|
1899
3735
|
}
|
|
1900
|
-
export
|
|
1901
|
-
|
|
3736
|
+
export interface GetMenuV3DraftBrandModifiersResponse {
|
|
3737
|
+
results: DraftModifierDTO[];
|
|
3738
|
+
meta?: ListResponseMetadataDTO;
|
|
3739
|
+
[index: string]: any;
|
|
1902
3740
|
}
|
|
1903
|
-
export interface
|
|
3741
|
+
export interface GetMenuV3DraftBrandModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandModifiersQuery>, GetMenuV3DraftBrandModifiersPath {
|
|
3742
|
+
}
|
|
3743
|
+
export interface GetMenuV3DraftBrandModifierGroupsPath {
|
|
1904
3744
|
id: string;
|
|
1905
|
-
group_id: string;
|
|
1906
3745
|
}
|
|
1907
|
-
export interface
|
|
1908
|
-
|
|
3746
|
+
export interface GetMenuV3DraftBrandModifierGroupsQuery {
|
|
3747
|
+
select?: string[];
|
|
3748
|
+
relationships?: string[];
|
|
3749
|
+
filter?: any;
|
|
3750
|
+
limit?: number;
|
|
3751
|
+
page?: number;
|
|
3752
|
+
sort_by?: string;
|
|
3753
|
+
sort_order?: string;
|
|
3754
|
+
soft_deleted?: string;
|
|
3755
|
+
_query?: string;
|
|
1909
3756
|
}
|
|
1910
|
-
export interface
|
|
1911
|
-
|
|
3757
|
+
export interface GetMenuV3DraftBrandModifierGroupsResponse {
|
|
3758
|
+
results: DraftModifierGroupDTO[];
|
|
3759
|
+
meta?: ListResponseMetadataDTO;
|
|
3760
|
+
[index: string]: any;
|
|
1912
3761
|
}
|
|
1913
|
-
export
|
|
1914
|
-
export interface PostMenuPartialGroupItemOptionsRequest extends BaseRequest, RequestQuery<PostMenuPartialGroupItemOptionsQuery>, PostMenuPartialGroupItemOptionsPath {
|
|
1915
|
-
body: PostMenuPartialGroupItemOptionsBody;
|
|
3762
|
+
export interface GetMenuV3DraftBrandModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandModifierGroupsQuery>, GetMenuV3DraftBrandModifierGroupsPath {
|
|
1916
3763
|
}
|
|
1917
|
-
export interface
|
|
3764
|
+
export interface GetMenuV3DraftBrandItemsPath {
|
|
1918
3765
|
id: string;
|
|
1919
3766
|
}
|
|
1920
|
-
export interface
|
|
3767
|
+
export interface GetMenuV3DraftBrandItemsQuery {
|
|
3768
|
+
select?: string[];
|
|
3769
|
+
relationships?: string[];
|
|
1921
3770
|
filter?: any;
|
|
1922
3771
|
limit?: number;
|
|
1923
3772
|
page?: number;
|
|
1924
3773
|
sort_by?: string;
|
|
1925
3774
|
sort_order?: string;
|
|
1926
3775
|
soft_deleted?: string;
|
|
1927
|
-
|
|
1928
|
-
relationships?: string[];
|
|
3776
|
+
_query?: string;
|
|
1929
3777
|
}
|
|
1930
|
-
export interface
|
|
1931
|
-
|
|
3778
|
+
export interface GetMenuV3DraftBrandItemsResponse {
|
|
3779
|
+
results: DraftItemDTO[];
|
|
3780
|
+
meta?: ListResponseMetadataDTO;
|
|
3781
|
+
[index: string]: any;
|
|
1932
3782
|
}
|
|
1933
|
-
export interface
|
|
3783
|
+
export interface GetMenuV3DraftBrandItemsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandItemsQuery>, GetMenuV3DraftBrandItemsPath {
|
|
1934
3784
|
}
|
|
1935
|
-
export
|
|
1936
|
-
|
|
1937
|
-
label?: string;
|
|
1938
|
-
sequence?: number;
|
|
1939
|
-
priority?: number;
|
|
1940
|
-
is_active?: boolean;
|
|
1941
|
-
layout_id: string;
|
|
1942
|
-
id?: any;
|
|
1943
|
-
layout?: LayoutDTO;
|
|
1944
|
-
items?: CategoryToItemRelationshipDTO[];
|
|
1945
|
-
[index: string]: any;
|
|
1946
|
-
}[];
|
|
1947
|
-
export interface PostMenuV3CategorysResponse {
|
|
1948
|
-
meta: PaginationMetaDTO;
|
|
1949
|
-
results: CategoryDTO[];
|
|
1950
|
-
[index: string]: any;
|
|
3785
|
+
export interface PostMenuV3DraftBrandPublishPath {
|
|
3786
|
+
id: string;
|
|
1951
3787
|
}
|
|
1952
|
-
export interface
|
|
1953
|
-
|
|
3788
|
+
export interface PostMenuV3DraftBrandPublishResponse {
|
|
3789
|
+
status?: string;
|
|
1954
3790
|
}
|
|
1955
|
-
export interface
|
|
1956
|
-
filter?: any;
|
|
1957
|
-
_query?: string;
|
|
3791
|
+
export interface PostMenuV3DraftBrandPublishRequest extends BaseRequest, PostMenuV3DraftBrandPublishPath {
|
|
1958
3792
|
}
|
|
1959
|
-
export interface
|
|
1960
|
-
|
|
3793
|
+
export interface PostMenuV3DraftStationBody {
|
|
3794
|
+
layouts?: DraftLayoutDTO[];
|
|
3795
|
+
items?: DraftItemDTO[];
|
|
3796
|
+
modifier_groups?: DraftModifierGroupDTO[];
|
|
3797
|
+
modifiers?: DraftModifierDTO[];
|
|
3798
|
+
name?: string;
|
|
1961
3799
|
[index: string]: any;
|
|
1962
3800
|
}
|
|
1963
|
-
export
|
|
3801
|
+
export type PostMenuV3DraftStationResponse = StationDTO;
|
|
3802
|
+
export interface PostMenuV3DraftStationRequest extends BaseRequest {
|
|
3803
|
+
body: PostMenuV3DraftStationBody;
|
|
1964
3804
|
}
|
|
1965
|
-
export interface
|
|
1966
|
-
|
|
3805
|
+
export interface GetMenuV3DraftStationPath {
|
|
3806
|
+
id: string;
|
|
3807
|
+
}
|
|
3808
|
+
export interface GetMenuV3DraftStationQuery {
|
|
3809
|
+
select?: string[];
|
|
3810
|
+
relationships?: string[];
|
|
1967
3811
|
_query?: string;
|
|
1968
3812
|
}
|
|
1969
|
-
export
|
|
1970
|
-
|
|
3813
|
+
export type GetMenuV3DraftStationResponse = StationDTO;
|
|
3814
|
+
export interface GetMenuV3DraftStationRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationQuery>, GetMenuV3DraftStationPath {
|
|
3815
|
+
}
|
|
3816
|
+
export interface PatchMenuV3DraftStationPath {
|
|
3817
|
+
id: string;
|
|
3818
|
+
}
|
|
3819
|
+
export interface PatchMenuV3DraftStationBody {
|
|
3820
|
+
layouts?: DraftLayoutDTO[];
|
|
3821
|
+
items?: DraftItemDTO[];
|
|
3822
|
+
modifier_groups?: DraftModifierGroupDTO[];
|
|
3823
|
+
modifiers?: DraftModifierDTO[];
|
|
3824
|
+
id?: string;
|
|
3825
|
+
name?: string;
|
|
1971
3826
|
[index: string]: any;
|
|
1972
3827
|
}
|
|
1973
|
-
export
|
|
3828
|
+
export type PatchMenuV3DraftStationResponse = StationDTO;
|
|
3829
|
+
export interface PatchMenuV3DraftStationRequest extends BaseRequest, PatchMenuV3DraftStationPath {
|
|
3830
|
+
body: PatchMenuV3DraftStationBody;
|
|
1974
3831
|
}
|
|
1975
|
-
export interface
|
|
3832
|
+
export interface DeleteMenuV3DraftStationPath {
|
|
3833
|
+
id: string;
|
|
3834
|
+
}
|
|
3835
|
+
export type DeleteMenuV3DraftStationResponse = StationDTO;
|
|
3836
|
+
export interface DeleteMenuV3DraftStationRequest extends BaseRequest, DeleteMenuV3DraftStationPath {
|
|
3837
|
+
}
|
|
3838
|
+
export interface GetMenuV3DraftStationsQuery {
|
|
3839
|
+
select?: string[];
|
|
3840
|
+
relationships?: string[];
|
|
1976
3841
|
filter?: any;
|
|
3842
|
+
limit?: number;
|
|
3843
|
+
page?: number;
|
|
3844
|
+
sort_by?: string;
|
|
3845
|
+
sort_order?: string;
|
|
3846
|
+
soft_deleted?: string;
|
|
1977
3847
|
_query?: string;
|
|
1978
3848
|
}
|
|
1979
|
-
export interface
|
|
1980
|
-
|
|
3849
|
+
export interface GetMenuV3DraftStationsResponse {
|
|
3850
|
+
results: StationDTO[];
|
|
3851
|
+
meta?: ListResponseMetadataDTO;
|
|
1981
3852
|
[index: string]: any;
|
|
1982
3853
|
}
|
|
1983
|
-
export interface
|
|
1984
|
-
}
|
|
1985
|
-
export interface GetMenuV3ModifierGroupRelationshipsModifiersCountQuery {
|
|
1986
|
-
filter?: any;
|
|
1987
|
-
_query?: string;
|
|
3854
|
+
export interface GetMenuV3DraftStationsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationsQuery> {
|
|
1988
3855
|
}
|
|
1989
|
-
export
|
|
1990
|
-
|
|
3856
|
+
export type PostMenuV3DraftStationsBody = {
|
|
3857
|
+
layouts?: DraftLayoutDTO[];
|
|
3858
|
+
items?: DraftItemDTO[];
|
|
3859
|
+
modifier_groups?: DraftModifierGroupDTO[];
|
|
3860
|
+
modifiers?: DraftModifierDTO[];
|
|
3861
|
+
id?: any;
|
|
3862
|
+
name?: string;
|
|
3863
|
+
[index: string]: any;
|
|
3864
|
+
}[];
|
|
3865
|
+
export interface PostMenuV3DraftStationsResponse {
|
|
3866
|
+
results: StationDTO[];
|
|
3867
|
+
meta?: ListResponseMetadataDTO;
|
|
1991
3868
|
[index: string]: any;
|
|
1992
3869
|
}
|
|
1993
|
-
export interface
|
|
3870
|
+
export interface PostMenuV3DraftStationsRequest extends BaseRequest {
|
|
3871
|
+
body: PostMenuV3DraftStationsBody;
|
|
1994
3872
|
}
|
|
1995
|
-
export interface
|
|
3873
|
+
export interface GetMenuV3DraftStationsCountQuery {
|
|
1996
3874
|
filter?: any;
|
|
1997
3875
|
_query?: string;
|
|
1998
3876
|
}
|
|
1999
|
-
export interface
|
|
3877
|
+
export interface GetMenuV3DraftStationsCountResponse {
|
|
2000
3878
|
count: number;
|
|
2001
3879
|
[index: string]: any;
|
|
2002
3880
|
}
|
|
2003
|
-
export interface
|
|
3881
|
+
export interface GetMenuV3DraftStationsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationsCountQuery> {
|
|
2004
3882
|
}
|
|
2005
|
-
export interface
|
|
3883
|
+
export interface GetMenuV3DraftStationModifiersPath {
|
|
2006
3884
|
id: string;
|
|
2007
3885
|
}
|
|
2008
|
-
export interface
|
|
3886
|
+
export interface GetMenuV3DraftStationModifiersQuery {
|
|
3887
|
+
select?: string[];
|
|
3888
|
+
relationships?: string[];
|
|
2009
3889
|
filter?: any;
|
|
2010
3890
|
limit?: number;
|
|
2011
3891
|
page?: number;
|
|
2012
3892
|
sort_by?: string;
|
|
2013
3893
|
sort_order?: string;
|
|
2014
3894
|
soft_deleted?: string;
|
|
2015
|
-
select?: string[];
|
|
2016
|
-
relationships?: string[];
|
|
2017
3895
|
_query?: string;
|
|
2018
3896
|
}
|
|
2019
|
-
export interface
|
|
2020
|
-
|
|
2021
|
-
|
|
3897
|
+
export interface GetMenuV3DraftStationModifiersResponse {
|
|
3898
|
+
results: DraftModifierDTO[];
|
|
3899
|
+
meta?: ListResponseMetadataDTO;
|
|
2022
3900
|
[index: string]: any;
|
|
2023
3901
|
}
|
|
2024
|
-
export interface
|
|
3902
|
+
export interface GetMenuV3DraftStationModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationModifiersQuery>, GetMenuV3DraftStationModifiersPath {
|
|
2025
3903
|
}
|
|
2026
|
-
export interface
|
|
3904
|
+
export interface GetMenuV3DraftStationModifierGroupsPath {
|
|
2027
3905
|
id: string;
|
|
2028
3906
|
}
|
|
2029
|
-
export interface
|
|
3907
|
+
export interface GetMenuV3DraftStationModifierGroupsQuery {
|
|
3908
|
+
select?: string[];
|
|
3909
|
+
relationships?: string[];
|
|
2030
3910
|
filter?: any;
|
|
2031
3911
|
limit?: number;
|
|
2032
3912
|
page?: number;
|
|
2033
3913
|
sort_by?: string;
|
|
2034
3914
|
sort_order?: string;
|
|
2035
3915
|
soft_deleted?: string;
|
|
2036
|
-
select?: string[];
|
|
2037
|
-
relationships?: string[];
|
|
2038
3916
|
_query?: string;
|
|
2039
3917
|
}
|
|
2040
|
-
export interface
|
|
2041
|
-
|
|
2042
|
-
|
|
3918
|
+
export interface GetMenuV3DraftStationModifierGroupsResponse {
|
|
3919
|
+
results: DraftModifierGroupDTO[];
|
|
3920
|
+
meta?: ListResponseMetadataDTO;
|
|
2043
3921
|
[index: string]: any;
|
|
2044
3922
|
}
|
|
2045
|
-
export interface
|
|
3923
|
+
export interface GetMenuV3DraftStationModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationModifierGroupsQuery>, GetMenuV3DraftStationModifierGroupsPath {
|
|
2046
3924
|
}
|
|
2047
|
-
export interface
|
|
3925
|
+
export interface GetMenuV3DraftStationItemsPath {
|
|
2048
3926
|
id: string;
|
|
2049
3927
|
}
|
|
2050
|
-
export interface
|
|
3928
|
+
export interface GetMenuV3DraftStationItemsQuery {
|
|
3929
|
+
select?: string[];
|
|
3930
|
+
relationships?: string[];
|
|
2051
3931
|
filter?: any;
|
|
2052
3932
|
limit?: number;
|
|
2053
3933
|
page?: number;
|
|
2054
3934
|
sort_by?: string;
|
|
2055
3935
|
sort_order?: string;
|
|
2056
3936
|
soft_deleted?: string;
|
|
2057
|
-
select?: string[];
|
|
2058
|
-
relationships?: string[];
|
|
2059
3937
|
_query?: string;
|
|
2060
3938
|
}
|
|
2061
|
-
export interface
|
|
2062
|
-
|
|
2063
|
-
|
|
3939
|
+
export interface GetMenuV3DraftStationItemsResponse {
|
|
3940
|
+
results: DraftItemDTO[];
|
|
3941
|
+
meta?: ListResponseMetadataDTO;
|
|
2064
3942
|
[index: string]: any;
|
|
2065
3943
|
}
|
|
2066
|
-
export interface
|
|
3944
|
+
export interface GetMenuV3DraftStationItemsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationItemsQuery>, GetMenuV3DraftStationItemsPath {
|
|
2067
3945
|
}
|
|
2068
|
-
export interface
|
|
3946
|
+
export interface GetMenuV3DraftSiteLayoutsPath {
|
|
2069
3947
|
id: string;
|
|
2070
3948
|
}
|
|
2071
|
-
export interface
|
|
3949
|
+
export interface GetMenuV3DraftSiteLayoutsQuery {
|
|
3950
|
+
select?: string[];
|
|
3951
|
+
relationships?: string[];
|
|
2072
3952
|
filter?: any;
|
|
2073
3953
|
limit?: number;
|
|
2074
3954
|
page?: number;
|
|
2075
3955
|
sort_by?: string;
|
|
2076
3956
|
sort_order?: string;
|
|
2077
3957
|
soft_deleted?: string;
|
|
2078
|
-
select?: string[];
|
|
2079
|
-
relationships?: string[];
|
|
2080
3958
|
_query?: string;
|
|
2081
3959
|
}
|
|
2082
|
-
export interface
|
|
2083
|
-
|
|
2084
|
-
|
|
3960
|
+
export interface GetMenuV3DraftSiteLayoutsResponse {
|
|
3961
|
+
results: DraftLayoutDTO[];
|
|
3962
|
+
meta?: ListResponseMetadataDTO;
|
|
2085
3963
|
[index: string]: any;
|
|
2086
3964
|
}
|
|
2087
|
-
export interface
|
|
3965
|
+
export interface GetMenuV3DraftSiteLayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftSiteLayoutsQuery>, GetMenuV3DraftSiteLayoutsPath {
|
|
3966
|
+
}
|
|
3967
|
+
export interface GetMenuV3CategorysCountQuery {
|
|
3968
|
+
filter?: any;
|
|
3969
|
+
_query?: string;
|
|
3970
|
+
}
|
|
3971
|
+
export interface GetMenuV3CategorysCountResponse {
|
|
3972
|
+
count: number;
|
|
3973
|
+
[index: string]: any;
|
|
3974
|
+
}
|
|
3975
|
+
export interface GetMenuV3CategorysCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategorysCountQuery> {
|
|
3976
|
+
}
|
|
3977
|
+
export interface PostMenuV3BrandLocalPath {
|
|
3978
|
+
id: string;
|
|
3979
|
+
}
|
|
3980
|
+
export interface PostMenuV3BrandLocalResponse {
|
|
3981
|
+
parent_id?: string;
|
|
3982
|
+
parent?: DraftBrandDTO;
|
|
3983
|
+
children?: DraftBrandDTO[];
|
|
3984
|
+
layouts?: DraftLayoutDTO[];
|
|
3985
|
+
items?: DraftItemDTO[];
|
|
3986
|
+
modifier_groups?: DraftModifierGroupDTO[];
|
|
3987
|
+
modifiers?: DraftModifierDTO[];
|
|
3988
|
+
categories?: DraftCategoryDTO[];
|
|
3989
|
+
modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3990
|
+
item_to_modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3991
|
+
category_to_items?: DraftCategoryToItemRelationshipDTO[];
|
|
3992
|
+
id?: string;
|
|
3993
|
+
created_at?: string;
|
|
3994
|
+
updated_at?: string;
|
|
3995
|
+
deleted_at?: string;
|
|
3996
|
+
version?: number;
|
|
3997
|
+
changes?: DraftBrandChangeDTO[];
|
|
3998
|
+
[index: string]: any;
|
|
3999
|
+
}
|
|
4000
|
+
export interface PostMenuV3BrandLocalRequest extends BaseRequest, PostMenuV3BrandLocalPath {
|
|
2088
4001
|
}
|
|
2089
4002
|
//# sourceMappingURL=menu.d.ts.map
|