@compassdigital/sdk.typescript 3.45.0 → 3.45.1
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 +156 -135
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +162 -135
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +191 -169
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +408 -342
- package/src/interface/menu.ts +288 -245
- package/quicktest.json +0 -8
package/src/interface/menu.ts
CHANGED
|
@@ -32,6 +32,12 @@ export interface CategoryListResponse {
|
|
|
32
32
|
results?: Category[];
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
export type ItemToModifierGroupRelationshipList = ItemToModifierGroupRelationship[];
|
|
36
|
+
|
|
37
|
+
export type CategoryToItemRelationshipList = CategoryToItemRelationship[];
|
|
38
|
+
|
|
39
|
+
export type ModifierGroupToModifierRelationshipList = ModifierGroupToModifierRelationship[];
|
|
40
|
+
|
|
35
41
|
export interface ItemToModifierGroupRelationshipListResponse {
|
|
36
42
|
meta?: Meta;
|
|
37
43
|
results?: ItemToModifierGroupRelationship[];
|
|
@@ -66,6 +72,7 @@ export interface Modifier {
|
|
|
66
72
|
label?: string;
|
|
67
73
|
price?: number;
|
|
68
74
|
calories?: number;
|
|
75
|
+
priority?: number;
|
|
69
76
|
posid?: string;
|
|
70
77
|
tax_tags?: string[];
|
|
71
78
|
is_active?: boolean;
|
|
@@ -83,6 +90,7 @@ export interface ModifierGroup {
|
|
|
83
90
|
min?: number;
|
|
84
91
|
max?: number;
|
|
85
92
|
is_active?: boolean;
|
|
93
|
+
priority?: number;
|
|
86
94
|
created_at?: string;
|
|
87
95
|
updated_at?: string;
|
|
88
96
|
deleted_at?: string;
|
|
@@ -96,6 +104,7 @@ export interface LocalItem {
|
|
|
96
104
|
label?: string;
|
|
97
105
|
price?: number;
|
|
98
106
|
calories?: number;
|
|
107
|
+
priority?: number;
|
|
99
108
|
posid?: string;
|
|
100
109
|
barcode?: string;
|
|
101
110
|
tax_tags?: string[];
|
|
@@ -131,6 +140,7 @@ export interface Category {
|
|
|
131
140
|
label?: string;
|
|
132
141
|
sequence?: number;
|
|
133
142
|
is_active?: boolean;
|
|
143
|
+
priority?: number;
|
|
134
144
|
created_at?: string;
|
|
135
145
|
updated_at?: string;
|
|
136
146
|
deleted_at?: string;
|
|
@@ -473,613 +483,646 @@ export interface ZippedExcelExport {
|
|
|
473
483
|
format?: string;
|
|
474
484
|
}
|
|
475
485
|
|
|
476
|
-
// GET /menu/
|
|
486
|
+
// GET /menu/v3/modifiers
|
|
477
487
|
|
|
478
|
-
export interface
|
|
488
|
+
export interface GetMenuV3ModifiersQuery {
|
|
479
489
|
// Graphql query string
|
|
480
490
|
_query?: string;
|
|
481
491
|
}
|
|
482
492
|
|
|
483
|
-
export type
|
|
493
|
+
export type GetMenuV3ModifiersResponse = ModifiersListResponse;
|
|
484
494
|
|
|
485
|
-
export interface
|
|
495
|
+
export interface GetMenuV3ModifiersRequest
|
|
486
496
|
extends BaseRequest,
|
|
487
|
-
RequestQuery<
|
|
497
|
+
RequestQuery<GetMenuV3ModifiersQuery> {}
|
|
488
498
|
|
|
489
|
-
// GET /menu/
|
|
499
|
+
// GET /menu/v3/modifier/{id}
|
|
490
500
|
|
|
491
|
-
export interface
|
|
501
|
+
export interface GetMenuV3ModifierPath {
|
|
492
502
|
id: string;
|
|
493
503
|
}
|
|
494
504
|
|
|
495
|
-
export interface
|
|
505
|
+
export interface GetMenuV3ModifierQuery {
|
|
496
506
|
// Graphql query string
|
|
497
507
|
_query?: string;
|
|
498
508
|
}
|
|
499
509
|
|
|
500
|
-
export type
|
|
510
|
+
export type GetMenuV3ModifierResponse = Modifier;
|
|
501
511
|
|
|
502
|
-
export interface
|
|
512
|
+
export interface GetMenuV3ModifierRequest
|
|
503
513
|
extends BaseRequest,
|
|
504
|
-
RequestQuery<
|
|
505
|
-
|
|
514
|
+
RequestQuery<GetMenuV3ModifierQuery>,
|
|
515
|
+
GetMenuV3ModifierPath {}
|
|
506
516
|
|
|
507
|
-
// PATCH /menu/
|
|
517
|
+
// PATCH /menu/v3/modifier/{id}
|
|
508
518
|
|
|
509
|
-
export interface
|
|
519
|
+
export interface PatchMenuV3ModifierPath {
|
|
510
520
|
id: string;
|
|
511
521
|
}
|
|
512
522
|
|
|
513
|
-
export type
|
|
523
|
+
export type PatchMenuV3ModifierBody = Modifier;
|
|
514
524
|
|
|
515
|
-
export type
|
|
525
|
+
export type PatchMenuV3ModifierResponse = Modifier;
|
|
516
526
|
|
|
517
|
-
export interface
|
|
518
|
-
body:
|
|
527
|
+
export interface PatchMenuV3ModifierRequest extends BaseRequest, PatchMenuV3ModifierPath {
|
|
528
|
+
body: PatchMenuV3ModifierBody;
|
|
519
529
|
}
|
|
520
530
|
|
|
521
|
-
// POST /menu/
|
|
531
|
+
// POST /menu/v3/modifier
|
|
522
532
|
|
|
523
|
-
export type
|
|
533
|
+
export type PostMenuV3ModifierBody = Modifier;
|
|
524
534
|
|
|
525
|
-
export type
|
|
535
|
+
export type PostMenuV3ModifierResponse = Modifier;
|
|
526
536
|
|
|
527
|
-
export interface
|
|
528
|
-
body:
|
|
537
|
+
export interface PostMenuV3ModifierRequest extends BaseRequest {
|
|
538
|
+
body: PostMenuV3ModifierBody;
|
|
529
539
|
}
|
|
530
540
|
|
|
531
|
-
// GET /menu/
|
|
541
|
+
// GET /menu/v3/modifier/count
|
|
532
542
|
|
|
533
|
-
export interface
|
|
543
|
+
export interface GetMenuV3ModifierCountQuery {
|
|
534
544
|
// Graphql query string
|
|
535
545
|
_query?: string;
|
|
536
546
|
}
|
|
537
547
|
|
|
538
|
-
export interface
|
|
548
|
+
export interface GetMenuV3ModifierCountResponse {
|
|
539
549
|
count?: number;
|
|
540
550
|
}
|
|
541
551
|
|
|
542
|
-
export interface
|
|
552
|
+
export interface GetMenuV3ModifierCountRequest
|
|
543
553
|
extends BaseRequest,
|
|
544
|
-
RequestQuery<
|
|
554
|
+
RequestQuery<GetMenuV3ModifierCountQuery> {}
|
|
545
555
|
|
|
546
|
-
// GET /menu/
|
|
556
|
+
// GET /menu/v3/modifier-groups
|
|
547
557
|
|
|
548
|
-
export interface
|
|
558
|
+
export interface GetMenuV3ModifierGroupsQuery {
|
|
549
559
|
// Graphql query string
|
|
550
560
|
_query?: string;
|
|
551
561
|
}
|
|
552
562
|
|
|
553
|
-
export type
|
|
563
|
+
export type GetMenuV3ModifierGroupsResponse = ModifierGroupsListResponse;
|
|
554
564
|
|
|
555
|
-
export interface
|
|
565
|
+
export interface GetMenuV3ModifierGroupsRequest
|
|
556
566
|
extends BaseRequest,
|
|
557
|
-
RequestQuery<
|
|
567
|
+
RequestQuery<GetMenuV3ModifierGroupsQuery> {}
|
|
558
568
|
|
|
559
|
-
// POST /menu/
|
|
569
|
+
// POST /menu/v3/modifier-group
|
|
560
570
|
|
|
561
|
-
export type
|
|
571
|
+
export type PostMenuV3ModifierGroupBody = ModifierGroup;
|
|
562
572
|
|
|
563
|
-
export type
|
|
573
|
+
export type PostMenuV3ModifierGroupResponse = ModifierGroup;
|
|
564
574
|
|
|
565
|
-
export interface
|
|
566
|
-
body:
|
|
575
|
+
export interface PostMenuV3ModifierGroupRequest extends BaseRequest {
|
|
576
|
+
body: PostMenuV3ModifierGroupBody;
|
|
567
577
|
}
|
|
568
578
|
|
|
569
|
-
// GET /menu/
|
|
579
|
+
// GET /menu/v3/modifier-group/{id}
|
|
570
580
|
|
|
571
|
-
export interface
|
|
581
|
+
export interface GetMenuV3ModifierGroupPath {
|
|
572
582
|
id: string;
|
|
573
583
|
}
|
|
574
584
|
|
|
575
|
-
export interface
|
|
585
|
+
export interface GetMenuV3ModifierGroupQuery {
|
|
576
586
|
// Graphql query string
|
|
577
587
|
_query?: string;
|
|
578
588
|
}
|
|
579
589
|
|
|
580
|
-
export type
|
|
590
|
+
export type GetMenuV3ModifierGroupResponse = ModifierGroup;
|
|
581
591
|
|
|
582
|
-
export interface
|
|
592
|
+
export interface GetMenuV3ModifierGroupRequest
|
|
583
593
|
extends BaseRequest,
|
|
584
|
-
RequestQuery<
|
|
585
|
-
|
|
594
|
+
RequestQuery<GetMenuV3ModifierGroupQuery>,
|
|
595
|
+
GetMenuV3ModifierGroupPath {}
|
|
586
596
|
|
|
587
|
-
// PATCH /menu/
|
|
597
|
+
// PATCH /menu/v3/modifier-group/{id}
|
|
588
598
|
|
|
589
|
-
export interface
|
|
599
|
+
export interface PatchMenuV3ModifierGroupPath {
|
|
590
600
|
id: string;
|
|
591
601
|
}
|
|
592
602
|
|
|
593
|
-
export type
|
|
603
|
+
export type PatchMenuV3ModifierGroupBody = ModifierGroup;
|
|
594
604
|
|
|
595
|
-
export type
|
|
605
|
+
export type PatchMenuV3ModifierGroupResponse = ModifierGroup;
|
|
596
606
|
|
|
597
|
-
export interface
|
|
598
|
-
body:
|
|
607
|
+
export interface PatchMenuV3ModifierGroupRequest extends BaseRequest, PatchMenuV3ModifierGroupPath {
|
|
608
|
+
body: PatchMenuV3ModifierGroupBody;
|
|
599
609
|
}
|
|
600
610
|
|
|
601
|
-
// GET /menu/
|
|
611
|
+
// GET /menu/v3/modifier-group/count
|
|
602
612
|
|
|
603
|
-
export interface
|
|
613
|
+
export interface GetMenuV3ModifierGroupCountQuery {
|
|
604
614
|
// Graphql query string
|
|
605
615
|
_query?: string;
|
|
606
616
|
}
|
|
607
617
|
|
|
608
|
-
export interface
|
|
618
|
+
export interface GetMenuV3ModifierGroupCountResponse {
|
|
609
619
|
count?: number;
|
|
610
620
|
}
|
|
611
621
|
|
|
612
|
-
export interface
|
|
622
|
+
export interface GetMenuV3ModifierGroupCountRequest
|
|
613
623
|
extends BaseRequest,
|
|
614
|
-
RequestQuery<
|
|
624
|
+
RequestQuery<GetMenuV3ModifierGroupCountQuery> {}
|
|
615
625
|
|
|
616
|
-
// GET /menu/
|
|
626
|
+
// GET /menu/v3/modifier-group/relationships/modifiers
|
|
617
627
|
|
|
618
|
-
export interface
|
|
628
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
|
|
619
629
|
// Graphql query string
|
|
620
630
|
_query?: string;
|
|
621
631
|
}
|
|
622
632
|
|
|
623
|
-
export type
|
|
633
|
+
export type GetMenuV3ModifierGroupRelationshipsModifiersResponse =
|
|
624
634
|
ModifierGroupToModifierRelationshipListResponse;
|
|
625
635
|
|
|
626
|
-
export interface
|
|
636
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest
|
|
627
637
|
extends BaseRequest,
|
|
628
|
-
RequestQuery<
|
|
638
|
+
RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersQuery> {}
|
|
639
|
+
|
|
640
|
+
// POST /menu/v3/modifier-group/relationships/modifiers
|
|
641
|
+
|
|
642
|
+
export type PostMenuV3ModifierGroupRelationshipsModifiersBody =
|
|
643
|
+
ModifierGroupToModifierRelationshipList;
|
|
629
644
|
|
|
630
|
-
|
|
645
|
+
export type PostMenuV3ModifierGroupRelationshipsModifiersResponse =
|
|
646
|
+
ModifierGroupToModifierRelationshipListResponse;
|
|
647
|
+
|
|
648
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest {
|
|
649
|
+
body: PostMenuV3ModifierGroupRelationshipsModifiersBody;
|
|
650
|
+
}
|
|
631
651
|
|
|
632
|
-
|
|
652
|
+
// POST /menu/v3/modifier-group/relationships/modifier
|
|
633
653
|
|
|
634
|
-
export type
|
|
654
|
+
export type PostMenuV3ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
|
|
655
|
+
|
|
656
|
+
export type PostMenuV3ModifierGroupRelationshipsModifierResponse =
|
|
635
657
|
ModifierGroupToModifierRelationship;
|
|
636
658
|
|
|
637
|
-
export interface
|
|
638
|
-
body:
|
|
659
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest {
|
|
660
|
+
body: PostMenuV3ModifierGroupRelationshipsModifierBody;
|
|
639
661
|
}
|
|
640
662
|
|
|
641
|
-
// GET /menu/
|
|
663
|
+
// GET /menu/v3/modifier-group/relationships/modifier/{id}
|
|
642
664
|
|
|
643
|
-
export interface
|
|
665
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifierPath {
|
|
644
666
|
id: string;
|
|
645
667
|
}
|
|
646
668
|
|
|
647
|
-
export interface
|
|
669
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifierQuery {
|
|
648
670
|
// Graphql query string
|
|
649
671
|
_query?: string;
|
|
650
672
|
}
|
|
651
673
|
|
|
652
|
-
export type
|
|
674
|
+
export type GetMenuV3ModifierGroupRelationshipsModifierResponse =
|
|
653
675
|
ModifierGroupToModifierRelationship;
|
|
654
676
|
|
|
655
|
-
export interface
|
|
677
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifierRequest
|
|
656
678
|
extends BaseRequest,
|
|
657
|
-
RequestQuery<
|
|
658
|
-
|
|
679
|
+
RequestQuery<GetMenuV3ModifierGroupRelationshipsModifierQuery>,
|
|
680
|
+
GetMenuV3ModifierGroupRelationshipsModifierPath {}
|
|
659
681
|
|
|
660
|
-
// PATCH /menu/
|
|
682
|
+
// PATCH /menu/v3/modifier-group/relationships/modifier/{id}
|
|
661
683
|
|
|
662
|
-
export interface
|
|
684
|
+
export interface PatchMenuV3ModifierGroupRelationshipsModifierPath {
|
|
663
685
|
id: string;
|
|
664
686
|
}
|
|
665
687
|
|
|
666
|
-
export type
|
|
688
|
+
export type PatchMenuV3ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
|
|
667
689
|
|
|
668
|
-
export type
|
|
690
|
+
export type PatchMenuV3ModifierGroupRelationshipsModifierResponse =
|
|
669
691
|
ModifierGroupToModifierRelationship;
|
|
670
692
|
|
|
671
|
-
export interface
|
|
693
|
+
export interface PatchMenuV3ModifierGroupRelationshipsModifierRequest
|
|
672
694
|
extends BaseRequest,
|
|
673
|
-
|
|
674
|
-
body:
|
|
695
|
+
PatchMenuV3ModifierGroupRelationshipsModifierPath {
|
|
696
|
+
body: PatchMenuV3ModifierGroupRelationshipsModifierBody;
|
|
675
697
|
}
|
|
676
698
|
|
|
677
|
-
// GET /menu/
|
|
699
|
+
// GET /menu/v3/items
|
|
678
700
|
|
|
679
|
-
export interface
|
|
701
|
+
export interface GetMenuV3ItemsQuery {
|
|
680
702
|
// Graphql query string
|
|
681
703
|
_query?: string;
|
|
682
704
|
}
|
|
683
705
|
|
|
684
|
-
export type
|
|
706
|
+
export type GetMenuV3ItemsResponse = ItemsListResponse;
|
|
685
707
|
|
|
686
|
-
export interface
|
|
708
|
+
export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {}
|
|
687
709
|
|
|
688
|
-
// GET /menu/
|
|
710
|
+
// GET /menu/v3/item/{id}
|
|
689
711
|
|
|
690
|
-
export interface
|
|
712
|
+
export interface GetMenuV3ItemPath {
|
|
691
713
|
id: string;
|
|
692
714
|
}
|
|
693
715
|
|
|
694
|
-
export interface
|
|
716
|
+
export interface GetMenuV3ItemQuery {
|
|
695
717
|
// Graphql query string
|
|
696
718
|
_query?: string;
|
|
697
719
|
}
|
|
698
720
|
|
|
699
|
-
export type
|
|
721
|
+
export type GetMenuV3ItemResponse = LocalItem;
|
|
700
722
|
|
|
701
|
-
export interface
|
|
723
|
+
export interface GetMenuV3ItemRequest
|
|
702
724
|
extends BaseRequest,
|
|
703
|
-
RequestQuery<
|
|
704
|
-
|
|
725
|
+
RequestQuery<GetMenuV3ItemQuery>,
|
|
726
|
+
GetMenuV3ItemPath {}
|
|
705
727
|
|
|
706
|
-
// PATCH /menu/
|
|
728
|
+
// PATCH /menu/v3/item/{id}
|
|
707
729
|
|
|
708
|
-
export interface
|
|
730
|
+
export interface PatchMenuV3ItemPath {
|
|
709
731
|
id: string;
|
|
710
732
|
}
|
|
711
733
|
|
|
712
|
-
export type
|
|
734
|
+
export type PatchMenuV3ItemBody = LocalItem;
|
|
713
735
|
|
|
714
|
-
export type
|
|
736
|
+
export type PatchMenuV3ItemResponse = LocalItem;
|
|
715
737
|
|
|
716
|
-
export interface
|
|
717
|
-
body:
|
|
738
|
+
export interface PatchMenuV3ItemRequest extends BaseRequest, PatchMenuV3ItemPath {
|
|
739
|
+
body: PatchMenuV3ItemBody;
|
|
718
740
|
}
|
|
719
741
|
|
|
720
|
-
// POST /menu/
|
|
742
|
+
// POST /menu/v3/item
|
|
721
743
|
|
|
722
|
-
export type
|
|
744
|
+
export type PostMenuV3ItemBody = LocalItem;
|
|
723
745
|
|
|
724
|
-
export type
|
|
746
|
+
export type PostMenuV3ItemResponse = LocalItem;
|
|
725
747
|
|
|
726
|
-
export interface
|
|
727
|
-
body:
|
|
748
|
+
export interface PostMenuV3ItemRequest extends BaseRequest {
|
|
749
|
+
body: PostMenuV3ItemBody;
|
|
728
750
|
}
|
|
729
751
|
|
|
730
|
-
// GET /menu/
|
|
752
|
+
// GET /menu/v3/items/count
|
|
731
753
|
|
|
732
|
-
export interface
|
|
754
|
+
export interface GetMenuV3ItemsCountQuery {
|
|
733
755
|
// Graphql query string
|
|
734
756
|
_query?: string;
|
|
735
757
|
}
|
|
736
758
|
|
|
737
|
-
export interface
|
|
759
|
+
export interface GetMenuV3ItemsCountResponse {
|
|
738
760
|
count?: number;
|
|
739
761
|
}
|
|
740
762
|
|
|
741
|
-
export interface
|
|
763
|
+
export interface GetMenuV3ItemsCountRequest
|
|
742
764
|
extends BaseRequest,
|
|
743
|
-
RequestQuery<
|
|
765
|
+
RequestQuery<GetMenuV3ItemsCountQuery> {}
|
|
744
766
|
|
|
745
|
-
// GET /menu/
|
|
767
|
+
// GET /menu/v3/item/relationships/modifier-groups
|
|
746
768
|
|
|
747
|
-
export interface
|
|
769
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
|
|
748
770
|
// Graphql query string
|
|
749
771
|
_query?: string;
|
|
750
772
|
}
|
|
751
773
|
|
|
752
|
-
export type
|
|
774
|
+
export type GetMenuV3ItemRelationshipsModifierGroupsResponse =
|
|
753
775
|
ItemToModifierGroupRelationshipListResponse;
|
|
754
776
|
|
|
755
|
-
export interface
|
|
777
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsRequest
|
|
756
778
|
extends BaseRequest,
|
|
757
|
-
RequestQuery<
|
|
779
|
+
RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsQuery> {}
|
|
780
|
+
|
|
781
|
+
// POST /menu/v3/item/relationships/modifier-groups
|
|
758
782
|
|
|
759
|
-
|
|
783
|
+
export type PostMenuV3ItemRelationshipsModifierGroupsBody = ItemToModifierGroupRelationshipList;
|
|
760
784
|
|
|
761
|
-
export type
|
|
785
|
+
export type PostMenuV3ItemRelationshipsModifierGroupsResponse =
|
|
786
|
+
ItemToModifierGroupRelationshipListResponse;
|
|
787
|
+
|
|
788
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest {
|
|
789
|
+
body: PostMenuV3ItemRelationshipsModifierGroupsBody;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
// POST /menu/v3/item/relationships/modifier-group
|
|
793
|
+
|
|
794
|
+
export type PostMenuV3ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
|
|
762
795
|
|
|
763
|
-
export type
|
|
796
|
+
export type PostMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
|
|
764
797
|
|
|
765
|
-
export interface
|
|
766
|
-
body:
|
|
798
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest {
|
|
799
|
+
body: PostMenuV3ItemRelationshipsModifierGroupBody;
|
|
767
800
|
}
|
|
768
801
|
|
|
769
|
-
// PATCH /menu/
|
|
802
|
+
// PATCH /menu/v3/item/relationships/modifier-group/{id}
|
|
770
803
|
|
|
771
|
-
export interface
|
|
804
|
+
export interface PatchMenuV3ItemRelationshipsModifierGroupPath {
|
|
772
805
|
id: string;
|
|
773
806
|
}
|
|
774
807
|
|
|
775
|
-
export type
|
|
808
|
+
export type PatchMenuV3ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
|
|
776
809
|
|
|
777
|
-
export type
|
|
810
|
+
export type PatchMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
|
|
778
811
|
|
|
779
|
-
export interface
|
|
812
|
+
export interface PatchMenuV3ItemRelationshipsModifierGroupRequest
|
|
780
813
|
extends BaseRequest,
|
|
781
|
-
|
|
782
|
-
body:
|
|
814
|
+
PatchMenuV3ItemRelationshipsModifierGroupPath {
|
|
815
|
+
body: PatchMenuV3ItemRelationshipsModifierGroupBody;
|
|
783
816
|
}
|
|
784
817
|
|
|
785
|
-
// DELETE /menu/
|
|
818
|
+
// DELETE /menu/v3/item/relationships/modifier-group/{id}
|
|
786
819
|
|
|
787
|
-
export interface
|
|
820
|
+
export interface DeleteMenuV3ItemRelationshipsModifierGroupPath {
|
|
788
821
|
id: string;
|
|
789
822
|
}
|
|
790
823
|
|
|
791
|
-
export type
|
|
824
|
+
export type DeleteMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
|
|
792
825
|
|
|
793
|
-
export interface
|
|
826
|
+
export interface DeleteMenuV3ItemRelationshipsModifierGroupRequest
|
|
794
827
|
extends BaseRequest,
|
|
795
|
-
|
|
828
|
+
DeleteMenuV3ItemRelationshipsModifierGroupPath {}
|
|
796
829
|
|
|
797
|
-
// GET /menu/
|
|
830
|
+
// GET /menu/v3/menus
|
|
798
831
|
|
|
799
|
-
export interface
|
|
832
|
+
export interface GetMenuV3MenusQuery {
|
|
800
833
|
// Graphql query string
|
|
801
834
|
_query?: string;
|
|
802
835
|
}
|
|
803
836
|
|
|
804
|
-
export type
|
|
837
|
+
export type GetMenuV3MenusResponse = MenuV2ListResponse;
|
|
805
838
|
|
|
806
|
-
export interface
|
|
839
|
+
export interface GetMenuV3MenusRequest extends BaseRequest, RequestQuery<GetMenuV3MenusQuery> {}
|
|
807
840
|
|
|
808
|
-
// GET /menu/
|
|
841
|
+
// GET /menu/v3/menu/{id}
|
|
809
842
|
|
|
810
|
-
export interface
|
|
843
|
+
export interface GetMenuV3MenuPath {
|
|
811
844
|
id: string;
|
|
812
845
|
}
|
|
813
846
|
|
|
814
|
-
export interface
|
|
847
|
+
export interface GetMenuV3MenuQuery {
|
|
815
848
|
// Graphql query string
|
|
816
849
|
_query?: string;
|
|
817
850
|
}
|
|
818
851
|
|
|
819
|
-
export type
|
|
852
|
+
export type GetMenuV3MenuResponse = MenuV2;
|
|
820
853
|
|
|
821
|
-
export interface
|
|
854
|
+
export interface GetMenuV3MenuRequest
|
|
822
855
|
extends BaseRequest,
|
|
823
|
-
RequestQuery<
|
|
824
|
-
|
|
856
|
+
RequestQuery<GetMenuV3MenuQuery>,
|
|
857
|
+
GetMenuV3MenuPath {}
|
|
825
858
|
|
|
826
|
-
// PATCH /menu/
|
|
859
|
+
// PATCH /menu/v3/menu/{id}
|
|
827
860
|
|
|
828
|
-
export interface
|
|
861
|
+
export interface PatchMenuV3MenuPath {
|
|
829
862
|
id: string;
|
|
830
863
|
}
|
|
831
864
|
|
|
832
|
-
export type
|
|
865
|
+
export type PatchMenuV3MenuBody = MenuV2;
|
|
833
866
|
|
|
834
|
-
export type
|
|
867
|
+
export type PatchMenuV3MenuResponse = MenuV2;
|
|
835
868
|
|
|
836
|
-
export interface
|
|
837
|
-
body:
|
|
869
|
+
export interface PatchMenuV3MenuRequest extends BaseRequest, PatchMenuV3MenuPath {
|
|
870
|
+
body: PatchMenuV3MenuBody;
|
|
838
871
|
}
|
|
839
872
|
|
|
840
|
-
// DELETE /menu/
|
|
873
|
+
// DELETE /menu/v3/menu/{id}
|
|
841
874
|
|
|
842
|
-
export interface
|
|
875
|
+
export interface DeleteMenuV3MenuPath {
|
|
843
876
|
id: string;
|
|
844
877
|
}
|
|
845
878
|
|
|
846
|
-
export type
|
|
879
|
+
export type DeleteMenuV3MenuResponse = MenuV2;
|
|
847
880
|
|
|
848
|
-
export interface
|
|
881
|
+
export interface DeleteMenuV3MenuRequest extends BaseRequest, DeleteMenuV3MenuPath {}
|
|
849
882
|
|
|
850
|
-
// POST /menu/
|
|
883
|
+
// POST /menu/v3/menu
|
|
851
884
|
|
|
852
|
-
export type
|
|
885
|
+
export type PostMenuV3MenuBody = MenuV2;
|
|
853
886
|
|
|
854
|
-
export type
|
|
887
|
+
export type PostMenuV3MenuResponse = MenuV2;
|
|
855
888
|
|
|
856
|
-
export interface
|
|
857
|
-
body:
|
|
889
|
+
export interface PostMenuV3MenuRequest extends BaseRequest {
|
|
890
|
+
body: PostMenuV3MenuBody;
|
|
858
891
|
}
|
|
859
892
|
|
|
860
|
-
// GET /menu/
|
|
893
|
+
// GET /menu/v3/menus/count
|
|
861
894
|
|
|
862
|
-
export interface
|
|
895
|
+
export interface GetMenuV3MenusCountQuery {
|
|
863
896
|
// Graphql query string
|
|
864
897
|
_query?: string;
|
|
865
898
|
}
|
|
866
899
|
|
|
867
|
-
export interface
|
|
900
|
+
export interface GetMenuV3MenusCountResponse {
|
|
868
901
|
count?: number;
|
|
869
902
|
}
|
|
870
903
|
|
|
871
|
-
export interface
|
|
904
|
+
export interface GetMenuV3MenusCountRequest
|
|
872
905
|
extends BaseRequest,
|
|
873
|
-
RequestQuery<
|
|
906
|
+
RequestQuery<GetMenuV3MenusCountQuery> {}
|
|
874
907
|
|
|
875
|
-
// GET /menu/
|
|
908
|
+
// GET /menu/v3/layouts
|
|
876
909
|
|
|
877
|
-
export interface
|
|
910
|
+
export interface GetMenuV3LayoutsQuery {
|
|
878
911
|
// Graphql query string
|
|
879
912
|
_query?: string;
|
|
880
913
|
}
|
|
881
914
|
|
|
882
|
-
export type
|
|
915
|
+
export type GetMenuV3LayoutsResponse = LayoutListResponse;
|
|
883
916
|
|
|
884
|
-
export interface
|
|
917
|
+
export interface GetMenuV3LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsQuery> {}
|
|
885
918
|
|
|
886
|
-
// GET /menu/
|
|
919
|
+
// GET /menu/v3/layout/{id}
|
|
887
920
|
|
|
888
|
-
export interface
|
|
921
|
+
export interface GetMenuV3LayoutPath {
|
|
889
922
|
id: string;
|
|
890
923
|
}
|
|
891
924
|
|
|
892
|
-
export interface
|
|
925
|
+
export interface GetMenuV3LayoutQuery {
|
|
893
926
|
// Graphql query string
|
|
894
927
|
_query?: string;
|
|
895
928
|
}
|
|
896
929
|
|
|
897
|
-
export type
|
|
930
|
+
export type GetMenuV3LayoutResponse = Layout;
|
|
898
931
|
|
|
899
|
-
export interface
|
|
932
|
+
export interface GetMenuV3LayoutRequest
|
|
900
933
|
extends BaseRequest,
|
|
901
|
-
RequestQuery<
|
|
902
|
-
|
|
934
|
+
RequestQuery<GetMenuV3LayoutQuery>,
|
|
935
|
+
GetMenuV3LayoutPath {}
|
|
903
936
|
|
|
904
|
-
// PATCH /menu/
|
|
937
|
+
// PATCH /menu/v3/layout/{id}
|
|
905
938
|
|
|
906
|
-
export interface
|
|
939
|
+
export interface PatchMenuV3LayoutPath {
|
|
907
940
|
id: string;
|
|
908
941
|
}
|
|
909
942
|
|
|
910
|
-
export type
|
|
943
|
+
export type PatchMenuV3LayoutBody = Layout;
|
|
911
944
|
|
|
912
|
-
export type
|
|
945
|
+
export type PatchMenuV3LayoutResponse = Layout;
|
|
913
946
|
|
|
914
|
-
export interface
|
|
915
|
-
body:
|
|
947
|
+
export interface PatchMenuV3LayoutRequest extends BaseRequest, PatchMenuV3LayoutPath {
|
|
948
|
+
body: PatchMenuV3LayoutBody;
|
|
916
949
|
}
|
|
917
950
|
|
|
918
|
-
// DELETE /menu/
|
|
951
|
+
// DELETE /menu/v3/layout/{id}
|
|
919
952
|
|
|
920
|
-
export interface
|
|
953
|
+
export interface DeleteMenuV3LayoutPath {
|
|
921
954
|
id: string;
|
|
922
955
|
}
|
|
923
956
|
|
|
924
|
-
export type
|
|
957
|
+
export type DeleteMenuV3LayoutResponse = Layout;
|
|
925
958
|
|
|
926
|
-
export interface
|
|
959
|
+
export interface DeleteMenuV3LayoutRequest extends BaseRequest, DeleteMenuV3LayoutPath {}
|
|
927
960
|
|
|
928
|
-
// POST /menu/
|
|
961
|
+
// POST /menu/v3/layout
|
|
929
962
|
|
|
930
|
-
export type
|
|
963
|
+
export type PostMenuV3LayoutBody = Layout;
|
|
931
964
|
|
|
932
|
-
export type
|
|
965
|
+
export type PostMenuV3LayoutResponse = Layout;
|
|
933
966
|
|
|
934
|
-
export interface
|
|
935
|
-
body:
|
|
967
|
+
export interface PostMenuV3LayoutRequest extends BaseRequest {
|
|
968
|
+
body: PostMenuV3LayoutBody;
|
|
936
969
|
}
|
|
937
970
|
|
|
938
|
-
// GET /menu/
|
|
971
|
+
// GET /menu/v3/layouts/count
|
|
939
972
|
|
|
940
|
-
export interface
|
|
973
|
+
export interface GetMenuV3LayoutsCountQuery {
|
|
941
974
|
// Graphql query string
|
|
942
975
|
_query?: string;
|
|
943
976
|
}
|
|
944
977
|
|
|
945
|
-
export interface
|
|
978
|
+
export interface GetMenuV3LayoutsCountResponse {
|
|
946
979
|
count?: number;
|
|
947
980
|
}
|
|
948
981
|
|
|
949
|
-
export interface
|
|
982
|
+
export interface GetMenuV3LayoutsCountRequest
|
|
950
983
|
extends BaseRequest,
|
|
951
|
-
RequestQuery<
|
|
984
|
+
RequestQuery<GetMenuV3LayoutsCountQuery> {}
|
|
952
985
|
|
|
953
|
-
// GET /menu/
|
|
986
|
+
// GET /menu/v3/categories
|
|
954
987
|
|
|
955
|
-
export interface
|
|
988
|
+
export interface GetMenuV3CategoriesQuery {
|
|
956
989
|
// Graphql query string
|
|
957
990
|
_query?: string;
|
|
958
991
|
}
|
|
959
992
|
|
|
960
|
-
export type
|
|
993
|
+
export type GetMenuV3CategoriesResponse = CategoryListResponse;
|
|
961
994
|
|
|
962
|
-
export interface
|
|
995
|
+
export interface GetMenuV3CategoriesRequest
|
|
963
996
|
extends BaseRequest,
|
|
964
|
-
RequestQuery<
|
|
997
|
+
RequestQuery<GetMenuV3CategoriesQuery> {}
|
|
965
998
|
|
|
966
|
-
// GET /menu/
|
|
999
|
+
// GET /menu/v3/category/{id}
|
|
967
1000
|
|
|
968
|
-
export interface
|
|
1001
|
+
export interface GetMenuV3CategoryPath {
|
|
969
1002
|
id: string;
|
|
970
1003
|
}
|
|
971
1004
|
|
|
972
|
-
export interface
|
|
1005
|
+
export interface GetMenuV3CategoryQuery {
|
|
973
1006
|
// Graphql query string
|
|
974
1007
|
_query?: string;
|
|
975
1008
|
}
|
|
976
1009
|
|
|
977
|
-
export type
|
|
1010
|
+
export type GetMenuV3CategoryResponse = Category;
|
|
978
1011
|
|
|
979
|
-
export interface
|
|
1012
|
+
export interface GetMenuV3CategoryRequest
|
|
980
1013
|
extends BaseRequest,
|
|
981
|
-
RequestQuery<
|
|
982
|
-
|
|
1014
|
+
RequestQuery<GetMenuV3CategoryQuery>,
|
|
1015
|
+
GetMenuV3CategoryPath {}
|
|
983
1016
|
|
|
984
|
-
// PATCH /menu/
|
|
1017
|
+
// PATCH /menu/v3/category/{id}
|
|
985
1018
|
|
|
986
|
-
export interface
|
|
1019
|
+
export interface PatchMenuV3CategoryPath {
|
|
987
1020
|
id: string;
|
|
988
1021
|
}
|
|
989
1022
|
|
|
990
|
-
export type
|
|
1023
|
+
export type PatchMenuV3CategoryBody = Category;
|
|
991
1024
|
|
|
992
|
-
export type
|
|
1025
|
+
export type PatchMenuV3CategoryResponse = Category;
|
|
993
1026
|
|
|
994
|
-
export interface
|
|
995
|
-
body:
|
|
1027
|
+
export interface PatchMenuV3CategoryRequest extends BaseRequest, PatchMenuV3CategoryPath {
|
|
1028
|
+
body: PatchMenuV3CategoryBody;
|
|
996
1029
|
}
|
|
997
1030
|
|
|
998
|
-
// DELETE /menu/
|
|
1031
|
+
// DELETE /menu/v3/category/{id}
|
|
999
1032
|
|
|
1000
|
-
export interface
|
|
1033
|
+
export interface DeleteMenuV3CategoryPath {
|
|
1001
1034
|
id: string;
|
|
1002
1035
|
}
|
|
1003
1036
|
|
|
1004
|
-
export type
|
|
1037
|
+
export type DeleteMenuV3CategoryResponse = Category;
|
|
1005
1038
|
|
|
1006
|
-
export interface
|
|
1039
|
+
export interface DeleteMenuV3CategoryRequest extends BaseRequest, DeleteMenuV3CategoryPath {}
|
|
1007
1040
|
|
|
1008
|
-
// POST /menu/
|
|
1041
|
+
// POST /menu/v3/category
|
|
1009
1042
|
|
|
1010
|
-
export type
|
|
1043
|
+
export type PostMenuV3CategoryBody = Category;
|
|
1011
1044
|
|
|
1012
|
-
export type
|
|
1045
|
+
export type PostMenuV3CategoryResponse = Category;
|
|
1013
1046
|
|
|
1014
|
-
export interface
|
|
1015
|
-
body:
|
|
1047
|
+
export interface PostMenuV3CategoryRequest extends BaseRequest {
|
|
1048
|
+
body: PostMenuV3CategoryBody;
|
|
1016
1049
|
}
|
|
1017
1050
|
|
|
1018
|
-
// GET /menu/
|
|
1051
|
+
// GET /menu/v3/categories/count
|
|
1019
1052
|
|
|
1020
|
-
export interface
|
|
1053
|
+
export interface GetMenuV3CategoriesCountQuery {
|
|
1021
1054
|
// Graphql query string
|
|
1022
1055
|
_query?: string;
|
|
1023
1056
|
}
|
|
1024
1057
|
|
|
1025
|
-
export interface
|
|
1058
|
+
export interface GetMenuV3CategoriesCountResponse {
|
|
1026
1059
|
count?: number;
|
|
1027
1060
|
}
|
|
1028
1061
|
|
|
1029
|
-
export interface
|
|
1062
|
+
export interface GetMenuV3CategoriesCountRequest
|
|
1030
1063
|
extends BaseRequest,
|
|
1031
|
-
RequestQuery<
|
|
1064
|
+
RequestQuery<GetMenuV3CategoriesCountQuery> {}
|
|
1032
1065
|
|
|
1033
|
-
// GET /menu/
|
|
1066
|
+
// GET /menu/v3/category/relationships/items
|
|
1034
1067
|
|
|
1035
|
-
export interface
|
|
1068
|
+
export interface GetMenuV3CategoryRelationshipsItemsQuery {
|
|
1036
1069
|
// Graphql query string
|
|
1037
1070
|
_query?: string;
|
|
1038
1071
|
}
|
|
1039
1072
|
|
|
1040
|
-
export type
|
|
1073
|
+
export type GetMenuV3CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
|
|
1041
1074
|
|
|
1042
|
-
export interface
|
|
1075
|
+
export interface GetMenuV3CategoryRelationshipsItemsRequest
|
|
1043
1076
|
extends BaseRequest,
|
|
1044
|
-
RequestQuery<
|
|
1077
|
+
RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {}
|
|
1078
|
+
|
|
1079
|
+
// POST /menu/v3/category/relationships/items
|
|
1080
|
+
|
|
1081
|
+
export type PostMenuV3CategoryRelationshipsItemsBody = CategoryToItemRelationshipList;
|
|
1082
|
+
|
|
1083
|
+
export type PostMenuV3CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
|
|
1084
|
+
|
|
1085
|
+
export interface PostMenuV3CategoryRelationshipsItemsRequest extends BaseRequest {
|
|
1086
|
+
body: PostMenuV3CategoryRelationshipsItemsBody;
|
|
1087
|
+
}
|
|
1045
1088
|
|
|
1046
|
-
// POST /menu/
|
|
1089
|
+
// POST /menu/v3/category/relationships/item
|
|
1047
1090
|
|
|
1048
|
-
export type
|
|
1091
|
+
export type PostMenuV3CategoryRelationshipsItemBody = CategoryToItemRelationship;
|
|
1049
1092
|
|
|
1050
|
-
export type
|
|
1093
|
+
export type PostMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
|
|
1051
1094
|
|
|
1052
|
-
export interface
|
|
1053
|
-
body:
|
|
1095
|
+
export interface PostMenuV3CategoryRelationshipsItemRequest extends BaseRequest {
|
|
1096
|
+
body: PostMenuV3CategoryRelationshipsItemBody;
|
|
1054
1097
|
}
|
|
1055
1098
|
|
|
1056
|
-
// PATCH /menu/
|
|
1099
|
+
// PATCH /menu/v3/category/relationships/item/{id}
|
|
1057
1100
|
|
|
1058
|
-
export interface
|
|
1101
|
+
export interface PatchMenuV3CategoryRelationshipsItemPath {
|
|
1059
1102
|
id: string;
|
|
1060
1103
|
}
|
|
1061
1104
|
|
|
1062
|
-
export type
|
|
1105
|
+
export type PatchMenuV3CategoryRelationshipsItemBody = CategoryToItemRelationship;
|
|
1063
1106
|
|
|
1064
|
-
export type
|
|
1107
|
+
export type PatchMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
|
|
1065
1108
|
|
|
1066
|
-
export interface
|
|
1109
|
+
export interface PatchMenuV3CategoryRelationshipsItemRequest
|
|
1067
1110
|
extends BaseRequest,
|
|
1068
|
-
|
|
1069
|
-
body:
|
|
1111
|
+
PatchMenuV3CategoryRelationshipsItemPath {
|
|
1112
|
+
body: PatchMenuV3CategoryRelationshipsItemBody;
|
|
1070
1113
|
}
|
|
1071
1114
|
|
|
1072
|
-
// DELETE /menu/
|
|
1115
|
+
// DELETE /menu/v3/category/relationships/item/{id}
|
|
1073
1116
|
|
|
1074
|
-
export interface
|
|
1117
|
+
export interface DeleteMenuV3CategoryRelationshipsItemPath {
|
|
1075
1118
|
id: string;
|
|
1076
1119
|
}
|
|
1077
1120
|
|
|
1078
|
-
export type
|
|
1121
|
+
export type DeleteMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
|
|
1079
1122
|
|
|
1080
|
-
export interface
|
|
1123
|
+
export interface DeleteMenuV3CategoryRelationshipsItemRequest
|
|
1081
1124
|
extends BaseRequest,
|
|
1082
|
-
|
|
1125
|
+
DeleteMenuV3CategoryRelationshipsItemPath {}
|
|
1083
1126
|
|
|
1084
1127
|
// GET /menu/client/{client_id} - Get menu client
|
|
1085
1128
|
|