@compassdigital/sdk.typescript 3.45.0 → 3.45.2
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 +260 -136
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +271 -136
- package/lib/index.js.map +1 -1
- package/lib/interface/delivery.d.ts +73 -0
- package/lib/interface/delivery.d.ts.map +1 -0
- package/lib/interface/delivery.js +4 -0
- package/lib/interface/delivery.js.map +1 -0
- package/lib/interface/menu.d.ts +299 -169
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/order.d.ts +10 -0
- package/lib/interface/order.d.ts.map +1 -1
- package/manifest.json +4 -0
- package/package.json +1 -1
- package/src/index.ts +682 -353
- package/src/interface/delivery.ts +101 -0
- package/src/interface/menu.ts +476 -247
- package/src/interface/order.ts +21 -0
package/src/interface/menu.ts
CHANGED
|
@@ -27,11 +27,27 @@ export interface LayoutListResponse {
|
|
|
27
27
|
results?: Layout[];
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
export interface BrandListResponse {
|
|
31
|
+
meta?: Meta;
|
|
32
|
+
results?: Brand[];
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface StationListResponse {
|
|
36
|
+
meta?: Meta;
|
|
37
|
+
results?: Station[];
|
|
38
|
+
}
|
|
39
|
+
|
|
30
40
|
export interface CategoryListResponse {
|
|
31
41
|
meta?: Meta;
|
|
32
42
|
results?: Category[];
|
|
33
43
|
}
|
|
34
44
|
|
|
45
|
+
export type ItemToModifierGroupRelationshipList = ItemToModifierGroupRelationship[];
|
|
46
|
+
|
|
47
|
+
export type CategoryToItemRelationshipList = CategoryToItemRelationship[];
|
|
48
|
+
|
|
49
|
+
export type ModifierGroupToModifierRelationshipList = ModifierGroupToModifierRelationship[];
|
|
50
|
+
|
|
35
51
|
export interface ItemToModifierGroupRelationshipListResponse {
|
|
36
52
|
meta?: Meta;
|
|
37
53
|
results?: ItemToModifierGroupRelationship[];
|
|
@@ -66,6 +82,7 @@ export interface Modifier {
|
|
|
66
82
|
label?: string;
|
|
67
83
|
price?: number;
|
|
68
84
|
calories?: number;
|
|
85
|
+
priority?: number;
|
|
69
86
|
posid?: string;
|
|
70
87
|
tax_tags?: string[];
|
|
71
88
|
is_active?: boolean;
|
|
@@ -73,6 +90,8 @@ export interface Modifier {
|
|
|
73
90
|
created_at?: string;
|
|
74
91
|
updated_at?: string;
|
|
75
92
|
deleted_at?: string;
|
|
93
|
+
brand_id?: string;
|
|
94
|
+
station_id?: string;
|
|
76
95
|
[index: string]: any;
|
|
77
96
|
}
|
|
78
97
|
|
|
@@ -83,9 +102,12 @@ export interface ModifierGroup {
|
|
|
83
102
|
min?: number;
|
|
84
103
|
max?: number;
|
|
85
104
|
is_active?: boolean;
|
|
105
|
+
priority?: number;
|
|
86
106
|
created_at?: string;
|
|
87
107
|
updated_at?: string;
|
|
88
108
|
deleted_at?: string;
|
|
109
|
+
brand_id?: string;
|
|
110
|
+
station_id?: string;
|
|
89
111
|
[index: string]: any;
|
|
90
112
|
}
|
|
91
113
|
|
|
@@ -96,6 +118,7 @@ export interface LocalItem {
|
|
|
96
118
|
label?: string;
|
|
97
119
|
price?: number;
|
|
98
120
|
calories?: number;
|
|
121
|
+
priority?: number;
|
|
99
122
|
posid?: string;
|
|
100
123
|
barcode?: string;
|
|
101
124
|
tax_tags?: string[];
|
|
@@ -104,6 +127,8 @@ export interface LocalItem {
|
|
|
104
127
|
created_at?: string;
|
|
105
128
|
updated_at?: string;
|
|
106
129
|
deleted_at?: string;
|
|
130
|
+
brand_id?: string;
|
|
131
|
+
station_id?: string;
|
|
107
132
|
[index: string]: any;
|
|
108
133
|
}
|
|
109
134
|
|
|
@@ -122,6 +147,24 @@ export interface Layout {
|
|
|
122
147
|
created_at?: string;
|
|
123
148
|
updated_at?: string;
|
|
124
149
|
deleted_at?: string;
|
|
150
|
+
brand_id?: string;
|
|
151
|
+
station_id?: string;
|
|
152
|
+
[index: string]: any;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export interface Brand {
|
|
156
|
+
id?: string;
|
|
157
|
+
created_at?: string;
|
|
158
|
+
updated_at?: string;
|
|
159
|
+
deleted_at?: string;
|
|
160
|
+
[index: string]: any;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export interface Station {
|
|
164
|
+
id?: string;
|
|
165
|
+
created_at?: string;
|
|
166
|
+
updated_at?: string;
|
|
167
|
+
deleted_at?: string;
|
|
125
168
|
[index: string]: any;
|
|
126
169
|
}
|
|
127
170
|
|
|
@@ -131,6 +174,7 @@ export interface Category {
|
|
|
131
174
|
label?: string;
|
|
132
175
|
sequence?: number;
|
|
133
176
|
is_active?: boolean;
|
|
177
|
+
priority?: number;
|
|
134
178
|
created_at?: string;
|
|
135
179
|
updated_at?: string;
|
|
136
180
|
deleted_at?: string;
|
|
@@ -473,613 +517,798 @@ export interface ZippedExcelExport {
|
|
|
473
517
|
format?: string;
|
|
474
518
|
}
|
|
475
519
|
|
|
476
|
-
// GET /menu/
|
|
520
|
+
// GET /menu/v3/modifiers
|
|
477
521
|
|
|
478
|
-
export interface
|
|
522
|
+
export interface GetMenuV3ModifiersQuery {
|
|
479
523
|
// Graphql query string
|
|
480
524
|
_query?: string;
|
|
481
525
|
}
|
|
482
526
|
|
|
483
|
-
export type
|
|
527
|
+
export type GetMenuV3ModifiersResponse = ModifiersListResponse;
|
|
484
528
|
|
|
485
|
-
export interface
|
|
529
|
+
export interface GetMenuV3ModifiersRequest
|
|
486
530
|
extends BaseRequest,
|
|
487
|
-
RequestQuery<
|
|
531
|
+
RequestQuery<GetMenuV3ModifiersQuery> {}
|
|
488
532
|
|
|
489
|
-
// GET /menu/
|
|
533
|
+
// GET /menu/v3/modifier/{id}
|
|
490
534
|
|
|
491
|
-
export interface
|
|
535
|
+
export interface GetMenuV3ModifierPath {
|
|
492
536
|
id: string;
|
|
493
537
|
}
|
|
494
538
|
|
|
495
|
-
export interface
|
|
539
|
+
export interface GetMenuV3ModifierQuery {
|
|
496
540
|
// Graphql query string
|
|
497
541
|
_query?: string;
|
|
498
542
|
}
|
|
499
543
|
|
|
500
|
-
export type
|
|
544
|
+
export type GetMenuV3ModifierResponse = Modifier;
|
|
501
545
|
|
|
502
|
-
export interface
|
|
546
|
+
export interface GetMenuV3ModifierRequest
|
|
503
547
|
extends BaseRequest,
|
|
504
|
-
RequestQuery<
|
|
505
|
-
|
|
548
|
+
RequestQuery<GetMenuV3ModifierQuery>,
|
|
549
|
+
GetMenuV3ModifierPath {}
|
|
506
550
|
|
|
507
|
-
// PATCH /menu/
|
|
551
|
+
// PATCH /menu/v3/modifier/{id}
|
|
508
552
|
|
|
509
|
-
export interface
|
|
553
|
+
export interface PatchMenuV3ModifierPath {
|
|
510
554
|
id: string;
|
|
511
555
|
}
|
|
512
556
|
|
|
513
|
-
export type
|
|
557
|
+
export type PatchMenuV3ModifierBody = Modifier;
|
|
514
558
|
|
|
515
|
-
export type
|
|
559
|
+
export type PatchMenuV3ModifierResponse = Modifier;
|
|
516
560
|
|
|
517
|
-
export interface
|
|
518
|
-
body:
|
|
561
|
+
export interface PatchMenuV3ModifierRequest extends BaseRequest, PatchMenuV3ModifierPath {
|
|
562
|
+
body: PatchMenuV3ModifierBody;
|
|
519
563
|
}
|
|
520
564
|
|
|
521
|
-
// POST /menu/
|
|
565
|
+
// POST /menu/v3/modifier
|
|
522
566
|
|
|
523
|
-
export type
|
|
567
|
+
export type PostMenuV3ModifierBody = Modifier;
|
|
524
568
|
|
|
525
|
-
export type
|
|
569
|
+
export type PostMenuV3ModifierResponse = Modifier;
|
|
526
570
|
|
|
527
|
-
export interface
|
|
528
|
-
body:
|
|
571
|
+
export interface PostMenuV3ModifierRequest extends BaseRequest {
|
|
572
|
+
body: PostMenuV3ModifierBody;
|
|
529
573
|
}
|
|
530
574
|
|
|
531
|
-
// GET /menu/
|
|
575
|
+
// GET /menu/v3/modifier/count
|
|
532
576
|
|
|
533
|
-
export interface
|
|
577
|
+
export interface GetMenuV3ModifierCountQuery {
|
|
534
578
|
// Graphql query string
|
|
535
579
|
_query?: string;
|
|
536
580
|
}
|
|
537
581
|
|
|
538
|
-
export interface
|
|
582
|
+
export interface GetMenuV3ModifierCountResponse {
|
|
539
583
|
count?: number;
|
|
540
584
|
}
|
|
541
585
|
|
|
542
|
-
export interface
|
|
586
|
+
export interface GetMenuV3ModifierCountRequest
|
|
543
587
|
extends BaseRequest,
|
|
544
|
-
RequestQuery<
|
|
588
|
+
RequestQuery<GetMenuV3ModifierCountQuery> {}
|
|
545
589
|
|
|
546
|
-
// GET /menu/
|
|
590
|
+
// GET /menu/v3/modifier-groups
|
|
547
591
|
|
|
548
|
-
export interface
|
|
592
|
+
export interface GetMenuV3ModifierGroupsQuery {
|
|
549
593
|
// Graphql query string
|
|
550
594
|
_query?: string;
|
|
551
595
|
}
|
|
552
596
|
|
|
553
|
-
export type
|
|
597
|
+
export type GetMenuV3ModifierGroupsResponse = ModifierGroupsListResponse;
|
|
554
598
|
|
|
555
|
-
export interface
|
|
599
|
+
export interface GetMenuV3ModifierGroupsRequest
|
|
556
600
|
extends BaseRequest,
|
|
557
|
-
RequestQuery<
|
|
601
|
+
RequestQuery<GetMenuV3ModifierGroupsQuery> {}
|
|
558
602
|
|
|
559
|
-
// POST /menu/
|
|
603
|
+
// POST /menu/v3/modifier-group
|
|
560
604
|
|
|
561
|
-
export type
|
|
605
|
+
export type PostMenuV3ModifierGroupBody = ModifierGroup;
|
|
562
606
|
|
|
563
|
-
export type
|
|
607
|
+
export type PostMenuV3ModifierGroupResponse = ModifierGroup;
|
|
564
608
|
|
|
565
|
-
export interface
|
|
566
|
-
body:
|
|
609
|
+
export interface PostMenuV3ModifierGroupRequest extends BaseRequest {
|
|
610
|
+
body: PostMenuV3ModifierGroupBody;
|
|
567
611
|
}
|
|
568
612
|
|
|
569
|
-
// GET /menu/
|
|
613
|
+
// GET /menu/v3/modifier-group/{id}
|
|
570
614
|
|
|
571
|
-
export interface
|
|
615
|
+
export interface GetMenuV3ModifierGroupPath {
|
|
572
616
|
id: string;
|
|
573
617
|
}
|
|
574
618
|
|
|
575
|
-
export interface
|
|
619
|
+
export interface GetMenuV3ModifierGroupQuery {
|
|
576
620
|
// Graphql query string
|
|
577
621
|
_query?: string;
|
|
578
622
|
}
|
|
579
623
|
|
|
580
|
-
export type
|
|
624
|
+
export type GetMenuV3ModifierGroupResponse = ModifierGroup;
|
|
581
625
|
|
|
582
|
-
export interface
|
|
626
|
+
export interface GetMenuV3ModifierGroupRequest
|
|
583
627
|
extends BaseRequest,
|
|
584
|
-
RequestQuery<
|
|
585
|
-
|
|
628
|
+
RequestQuery<GetMenuV3ModifierGroupQuery>,
|
|
629
|
+
GetMenuV3ModifierGroupPath {}
|
|
586
630
|
|
|
587
|
-
// PATCH /menu/
|
|
631
|
+
// PATCH /menu/v3/modifier-group/{id}
|
|
588
632
|
|
|
589
|
-
export interface
|
|
633
|
+
export interface PatchMenuV3ModifierGroupPath {
|
|
590
634
|
id: string;
|
|
591
635
|
}
|
|
592
636
|
|
|
593
|
-
export type
|
|
637
|
+
export type PatchMenuV3ModifierGroupBody = ModifierGroup;
|
|
594
638
|
|
|
595
|
-
export type
|
|
639
|
+
export type PatchMenuV3ModifierGroupResponse = ModifierGroup;
|
|
596
640
|
|
|
597
|
-
export interface
|
|
598
|
-
body:
|
|
641
|
+
export interface PatchMenuV3ModifierGroupRequest extends BaseRequest, PatchMenuV3ModifierGroupPath {
|
|
642
|
+
body: PatchMenuV3ModifierGroupBody;
|
|
599
643
|
}
|
|
600
644
|
|
|
601
|
-
// GET /menu/
|
|
645
|
+
// GET /menu/v3/modifier-group/count
|
|
602
646
|
|
|
603
|
-
export interface
|
|
647
|
+
export interface GetMenuV3ModifierGroupCountQuery {
|
|
604
648
|
// Graphql query string
|
|
605
649
|
_query?: string;
|
|
606
650
|
}
|
|
607
651
|
|
|
608
|
-
export interface
|
|
652
|
+
export interface GetMenuV3ModifierGroupCountResponse {
|
|
609
653
|
count?: number;
|
|
610
654
|
}
|
|
611
655
|
|
|
612
|
-
export interface
|
|
656
|
+
export interface GetMenuV3ModifierGroupCountRequest
|
|
613
657
|
extends BaseRequest,
|
|
614
|
-
RequestQuery<
|
|
658
|
+
RequestQuery<GetMenuV3ModifierGroupCountQuery> {}
|
|
615
659
|
|
|
616
|
-
// GET /menu/
|
|
660
|
+
// GET /menu/v3/modifier-group/relationships/modifiers
|
|
617
661
|
|
|
618
|
-
export interface
|
|
662
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
|
|
619
663
|
// Graphql query string
|
|
620
664
|
_query?: string;
|
|
621
665
|
}
|
|
622
666
|
|
|
623
|
-
export type
|
|
667
|
+
export type GetMenuV3ModifierGroupRelationshipsModifiersResponse =
|
|
624
668
|
ModifierGroupToModifierRelationshipListResponse;
|
|
625
669
|
|
|
626
|
-
export interface
|
|
670
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest
|
|
627
671
|
extends BaseRequest,
|
|
628
|
-
RequestQuery<
|
|
672
|
+
RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersQuery> {}
|
|
673
|
+
|
|
674
|
+
// POST /menu/v3/modifier-group/relationships/modifiers
|
|
629
675
|
|
|
630
|
-
|
|
676
|
+
export type PostMenuV3ModifierGroupRelationshipsModifiersBody =
|
|
677
|
+
ModifierGroupToModifierRelationshipList;
|
|
631
678
|
|
|
632
|
-
export type
|
|
679
|
+
export type PostMenuV3ModifierGroupRelationshipsModifiersResponse =
|
|
680
|
+
ModifierGroupToModifierRelationshipListResponse;
|
|
633
681
|
|
|
634
|
-
export
|
|
682
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest {
|
|
683
|
+
body: PostMenuV3ModifierGroupRelationshipsModifiersBody;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
// POST /menu/v3/modifier-group/relationships/modifier
|
|
687
|
+
|
|
688
|
+
export type PostMenuV3ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
|
|
689
|
+
|
|
690
|
+
export type PostMenuV3ModifierGroupRelationshipsModifierResponse =
|
|
635
691
|
ModifierGroupToModifierRelationship;
|
|
636
692
|
|
|
637
|
-
export interface
|
|
638
|
-
body:
|
|
693
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest {
|
|
694
|
+
body: PostMenuV3ModifierGroupRelationshipsModifierBody;
|
|
639
695
|
}
|
|
640
696
|
|
|
641
|
-
// GET /menu/
|
|
697
|
+
// GET /menu/v3/modifier-group/relationships/modifier/{id}
|
|
642
698
|
|
|
643
|
-
export interface
|
|
699
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifierPath {
|
|
644
700
|
id: string;
|
|
645
701
|
}
|
|
646
702
|
|
|
647
|
-
export interface
|
|
703
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifierQuery {
|
|
648
704
|
// Graphql query string
|
|
649
705
|
_query?: string;
|
|
650
706
|
}
|
|
651
707
|
|
|
652
|
-
export type
|
|
708
|
+
export type GetMenuV3ModifierGroupRelationshipsModifierResponse =
|
|
653
709
|
ModifierGroupToModifierRelationship;
|
|
654
710
|
|
|
655
|
-
export interface
|
|
711
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifierRequest
|
|
656
712
|
extends BaseRequest,
|
|
657
|
-
RequestQuery<
|
|
658
|
-
|
|
713
|
+
RequestQuery<GetMenuV3ModifierGroupRelationshipsModifierQuery>,
|
|
714
|
+
GetMenuV3ModifierGroupRelationshipsModifierPath {}
|
|
659
715
|
|
|
660
|
-
// PATCH /menu/
|
|
716
|
+
// PATCH /menu/v3/modifier-group/relationships/modifier/{id}
|
|
661
717
|
|
|
662
|
-
export interface
|
|
718
|
+
export interface PatchMenuV3ModifierGroupRelationshipsModifierPath {
|
|
663
719
|
id: string;
|
|
664
720
|
}
|
|
665
721
|
|
|
666
|
-
export type
|
|
722
|
+
export type PatchMenuV3ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
|
|
667
723
|
|
|
668
|
-
export type
|
|
724
|
+
export type PatchMenuV3ModifierGroupRelationshipsModifierResponse =
|
|
669
725
|
ModifierGroupToModifierRelationship;
|
|
670
726
|
|
|
671
|
-
export interface
|
|
727
|
+
export interface PatchMenuV3ModifierGroupRelationshipsModifierRequest
|
|
672
728
|
extends BaseRequest,
|
|
673
|
-
|
|
674
|
-
body:
|
|
729
|
+
PatchMenuV3ModifierGroupRelationshipsModifierPath {
|
|
730
|
+
body: PatchMenuV3ModifierGroupRelationshipsModifierBody;
|
|
675
731
|
}
|
|
676
732
|
|
|
677
|
-
// GET /menu/
|
|
733
|
+
// GET /menu/v3/items
|
|
678
734
|
|
|
679
|
-
export interface
|
|
735
|
+
export interface GetMenuV3ItemsQuery {
|
|
680
736
|
// Graphql query string
|
|
681
737
|
_query?: string;
|
|
682
738
|
}
|
|
683
739
|
|
|
684
|
-
export type
|
|
740
|
+
export type GetMenuV3ItemsResponse = ItemsListResponse;
|
|
685
741
|
|
|
686
|
-
export interface
|
|
742
|
+
export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {}
|
|
687
743
|
|
|
688
|
-
// GET /menu/
|
|
744
|
+
// GET /menu/v3/item/{id}
|
|
689
745
|
|
|
690
|
-
export interface
|
|
746
|
+
export interface GetMenuV3ItemPath {
|
|
691
747
|
id: string;
|
|
692
748
|
}
|
|
693
749
|
|
|
694
|
-
export interface
|
|
750
|
+
export interface GetMenuV3ItemQuery {
|
|
695
751
|
// Graphql query string
|
|
696
752
|
_query?: string;
|
|
697
753
|
}
|
|
698
754
|
|
|
699
|
-
export type
|
|
755
|
+
export type GetMenuV3ItemResponse = LocalItem;
|
|
700
756
|
|
|
701
|
-
export interface
|
|
757
|
+
export interface GetMenuV3ItemRequest
|
|
702
758
|
extends BaseRequest,
|
|
703
|
-
RequestQuery<
|
|
704
|
-
|
|
759
|
+
RequestQuery<GetMenuV3ItemQuery>,
|
|
760
|
+
GetMenuV3ItemPath {}
|
|
705
761
|
|
|
706
|
-
// PATCH /menu/
|
|
762
|
+
// PATCH /menu/v3/item/{id}
|
|
707
763
|
|
|
708
|
-
export interface
|
|
764
|
+
export interface PatchMenuV3ItemPath {
|
|
709
765
|
id: string;
|
|
710
766
|
}
|
|
711
767
|
|
|
712
|
-
export type
|
|
768
|
+
export type PatchMenuV3ItemBody = LocalItem;
|
|
713
769
|
|
|
714
|
-
export type
|
|
770
|
+
export type PatchMenuV3ItemResponse = LocalItem;
|
|
715
771
|
|
|
716
|
-
export interface
|
|
717
|
-
body:
|
|
772
|
+
export interface PatchMenuV3ItemRequest extends BaseRequest, PatchMenuV3ItemPath {
|
|
773
|
+
body: PatchMenuV3ItemBody;
|
|
718
774
|
}
|
|
719
775
|
|
|
720
|
-
// POST /menu/
|
|
776
|
+
// POST /menu/v3/item
|
|
721
777
|
|
|
722
|
-
export type
|
|
778
|
+
export type PostMenuV3ItemBody = LocalItem;
|
|
723
779
|
|
|
724
|
-
export type
|
|
780
|
+
export type PostMenuV3ItemResponse = LocalItem;
|
|
725
781
|
|
|
726
|
-
export interface
|
|
727
|
-
body:
|
|
782
|
+
export interface PostMenuV3ItemRequest extends BaseRequest {
|
|
783
|
+
body: PostMenuV3ItemBody;
|
|
728
784
|
}
|
|
729
785
|
|
|
730
|
-
// GET /menu/
|
|
786
|
+
// GET /menu/v3/items/count
|
|
731
787
|
|
|
732
|
-
export interface
|
|
788
|
+
export interface GetMenuV3ItemsCountQuery {
|
|
733
789
|
// Graphql query string
|
|
734
790
|
_query?: string;
|
|
735
791
|
}
|
|
736
792
|
|
|
737
|
-
export interface
|
|
793
|
+
export interface GetMenuV3ItemsCountResponse {
|
|
738
794
|
count?: number;
|
|
739
795
|
}
|
|
740
796
|
|
|
741
|
-
export interface
|
|
797
|
+
export interface GetMenuV3ItemsCountRequest
|
|
742
798
|
extends BaseRequest,
|
|
743
|
-
RequestQuery<
|
|
799
|
+
RequestQuery<GetMenuV3ItemsCountQuery> {}
|
|
744
800
|
|
|
745
|
-
// GET /menu/
|
|
801
|
+
// GET /menu/v3/item/relationships/modifier-groups
|
|
746
802
|
|
|
747
|
-
export interface
|
|
803
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
|
|
748
804
|
// Graphql query string
|
|
749
805
|
_query?: string;
|
|
750
806
|
}
|
|
751
807
|
|
|
752
|
-
export type
|
|
808
|
+
export type GetMenuV3ItemRelationshipsModifierGroupsResponse =
|
|
753
809
|
ItemToModifierGroupRelationshipListResponse;
|
|
754
810
|
|
|
755
|
-
export interface
|
|
811
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsRequest
|
|
756
812
|
extends BaseRequest,
|
|
757
|
-
RequestQuery<
|
|
813
|
+
RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsQuery> {}
|
|
814
|
+
|
|
815
|
+
// POST /menu/v3/item/relationships/modifier-groups
|
|
816
|
+
|
|
817
|
+
export type PostMenuV3ItemRelationshipsModifierGroupsBody = ItemToModifierGroupRelationshipList;
|
|
818
|
+
|
|
819
|
+
export type PostMenuV3ItemRelationshipsModifierGroupsResponse =
|
|
820
|
+
ItemToModifierGroupRelationshipListResponse;
|
|
821
|
+
|
|
822
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest {
|
|
823
|
+
body: PostMenuV3ItemRelationshipsModifierGroupsBody;
|
|
824
|
+
}
|
|
758
825
|
|
|
759
|
-
// POST /menu/
|
|
826
|
+
// POST /menu/v3/item/relationships/modifier-group
|
|
760
827
|
|
|
761
|
-
export type
|
|
828
|
+
export type PostMenuV3ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
|
|
762
829
|
|
|
763
|
-
export type
|
|
830
|
+
export type PostMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
|
|
764
831
|
|
|
765
|
-
export interface
|
|
766
|
-
body:
|
|
832
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest {
|
|
833
|
+
body: PostMenuV3ItemRelationshipsModifierGroupBody;
|
|
767
834
|
}
|
|
768
835
|
|
|
769
|
-
// PATCH /menu/
|
|
836
|
+
// PATCH /menu/v3/item/relationships/modifier-group/{id}
|
|
770
837
|
|
|
771
|
-
export interface
|
|
838
|
+
export interface PatchMenuV3ItemRelationshipsModifierGroupPath {
|
|
772
839
|
id: string;
|
|
773
840
|
}
|
|
774
841
|
|
|
775
|
-
export type
|
|
842
|
+
export type PatchMenuV3ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
|
|
776
843
|
|
|
777
|
-
export type
|
|
844
|
+
export type PatchMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
|
|
778
845
|
|
|
779
|
-
export interface
|
|
846
|
+
export interface PatchMenuV3ItemRelationshipsModifierGroupRequest
|
|
780
847
|
extends BaseRequest,
|
|
781
|
-
|
|
782
|
-
body:
|
|
848
|
+
PatchMenuV3ItemRelationshipsModifierGroupPath {
|
|
849
|
+
body: PatchMenuV3ItemRelationshipsModifierGroupBody;
|
|
783
850
|
}
|
|
784
851
|
|
|
785
|
-
// DELETE /menu/
|
|
852
|
+
// DELETE /menu/v3/item/relationships/modifier-group/{id}
|
|
786
853
|
|
|
787
|
-
export interface
|
|
854
|
+
export interface DeleteMenuV3ItemRelationshipsModifierGroupPath {
|
|
788
855
|
id: string;
|
|
789
856
|
}
|
|
790
857
|
|
|
791
|
-
export type
|
|
858
|
+
export type DeleteMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
|
|
792
859
|
|
|
793
|
-
export interface
|
|
860
|
+
export interface DeleteMenuV3ItemRelationshipsModifierGroupRequest
|
|
794
861
|
extends BaseRequest,
|
|
795
|
-
|
|
862
|
+
DeleteMenuV3ItemRelationshipsModifierGroupPath {}
|
|
796
863
|
|
|
797
|
-
// GET /menu/
|
|
864
|
+
// GET /menu/v3/layouts
|
|
798
865
|
|
|
799
|
-
export interface
|
|
866
|
+
export interface GetMenuV3LayoutsQuery {
|
|
800
867
|
// Graphql query string
|
|
801
868
|
_query?: string;
|
|
802
869
|
}
|
|
803
870
|
|
|
804
|
-
export type
|
|
871
|
+
export type GetMenuV3LayoutsResponse = LayoutListResponse;
|
|
805
872
|
|
|
806
|
-
export interface
|
|
873
|
+
export interface GetMenuV3LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsQuery> {}
|
|
807
874
|
|
|
808
|
-
// GET /menu/
|
|
875
|
+
// GET /menu/v3/layout/{id}/categories
|
|
809
876
|
|
|
810
|
-
export interface
|
|
877
|
+
export interface GetMenuV3LayoutCategoriesPath {
|
|
811
878
|
id: string;
|
|
812
879
|
}
|
|
813
880
|
|
|
814
|
-
export interface
|
|
881
|
+
export interface GetMenuV3LayoutCategoriesQuery {
|
|
815
882
|
// Graphql query string
|
|
816
883
|
_query?: string;
|
|
817
884
|
}
|
|
818
885
|
|
|
819
|
-
export type
|
|
886
|
+
export type GetMenuV3LayoutCategoriesResponse = CategoryListResponse;
|
|
820
887
|
|
|
821
|
-
export interface
|
|
888
|
+
export interface GetMenuV3LayoutCategoriesRequest
|
|
822
889
|
extends BaseRequest,
|
|
823
|
-
RequestQuery<
|
|
824
|
-
|
|
890
|
+
RequestQuery<GetMenuV3LayoutCategoriesQuery>,
|
|
891
|
+
GetMenuV3LayoutCategoriesPath {}
|
|
825
892
|
|
|
826
|
-
//
|
|
893
|
+
// GET /menu/v3/layout/{id}
|
|
827
894
|
|
|
828
|
-
export interface
|
|
895
|
+
export interface GetMenuV3LayoutPath {
|
|
829
896
|
id: string;
|
|
830
897
|
}
|
|
831
898
|
|
|
832
|
-
export
|
|
899
|
+
export interface GetMenuV3LayoutQuery {
|
|
900
|
+
// Graphql query string
|
|
901
|
+
_query?: string;
|
|
902
|
+
}
|
|
833
903
|
|
|
834
|
-
export type
|
|
904
|
+
export type GetMenuV3LayoutResponse = Layout;
|
|
835
905
|
|
|
836
|
-
export interface
|
|
837
|
-
|
|
906
|
+
export interface GetMenuV3LayoutRequest
|
|
907
|
+
extends BaseRequest,
|
|
908
|
+
RequestQuery<GetMenuV3LayoutQuery>,
|
|
909
|
+
GetMenuV3LayoutPath {}
|
|
910
|
+
|
|
911
|
+
// PATCH /menu/v3/layout/{id}
|
|
912
|
+
|
|
913
|
+
export interface PatchMenuV3LayoutPath {
|
|
914
|
+
id: string;
|
|
838
915
|
}
|
|
839
916
|
|
|
840
|
-
|
|
917
|
+
export type PatchMenuV3LayoutBody = Layout;
|
|
918
|
+
|
|
919
|
+
export type PatchMenuV3LayoutResponse = Layout;
|
|
841
920
|
|
|
842
|
-
export interface
|
|
921
|
+
export interface PatchMenuV3LayoutRequest extends BaseRequest, PatchMenuV3LayoutPath {
|
|
922
|
+
body: PatchMenuV3LayoutBody;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
// DELETE /menu/v3/layout/{id}
|
|
926
|
+
|
|
927
|
+
export interface DeleteMenuV3LayoutPath {
|
|
843
928
|
id: string;
|
|
844
929
|
}
|
|
845
930
|
|
|
846
|
-
export type
|
|
931
|
+
export type DeleteMenuV3LayoutResponse = Layout;
|
|
847
932
|
|
|
848
|
-
export interface
|
|
933
|
+
export interface DeleteMenuV3LayoutRequest extends BaseRequest, DeleteMenuV3LayoutPath {}
|
|
849
934
|
|
|
850
|
-
// POST /menu/
|
|
935
|
+
// POST /menu/v3/layout
|
|
851
936
|
|
|
852
|
-
export type
|
|
937
|
+
export type PostMenuV3LayoutBody = Layout;
|
|
853
938
|
|
|
854
|
-
export type
|
|
939
|
+
export type PostMenuV3LayoutResponse = Layout;
|
|
855
940
|
|
|
856
|
-
export interface
|
|
857
|
-
body:
|
|
941
|
+
export interface PostMenuV3LayoutRequest extends BaseRequest {
|
|
942
|
+
body: PostMenuV3LayoutBody;
|
|
858
943
|
}
|
|
859
944
|
|
|
860
|
-
// GET /menu/
|
|
945
|
+
// GET /menu/v3/layouts/count
|
|
861
946
|
|
|
862
|
-
export interface
|
|
947
|
+
export interface GetMenuV3LayoutsCountQuery {
|
|
863
948
|
// Graphql query string
|
|
864
949
|
_query?: string;
|
|
865
950
|
}
|
|
866
951
|
|
|
867
|
-
export interface
|
|
952
|
+
export interface GetMenuV3LayoutsCountResponse {
|
|
868
953
|
count?: number;
|
|
869
954
|
}
|
|
870
955
|
|
|
871
|
-
export interface
|
|
956
|
+
export interface GetMenuV3LayoutsCountRequest
|
|
872
957
|
extends BaseRequest,
|
|
873
|
-
RequestQuery<
|
|
958
|
+
RequestQuery<GetMenuV3LayoutsCountQuery> {}
|
|
874
959
|
|
|
875
|
-
// GET /menu/
|
|
960
|
+
// GET /menu/v3/categories
|
|
876
961
|
|
|
877
|
-
export interface
|
|
962
|
+
export interface GetMenuV3CategoriesQuery {
|
|
878
963
|
// Graphql query string
|
|
879
964
|
_query?: string;
|
|
880
965
|
}
|
|
881
966
|
|
|
882
|
-
export type
|
|
967
|
+
export type GetMenuV3CategoriesResponse = CategoryListResponse;
|
|
883
968
|
|
|
884
|
-
export interface
|
|
969
|
+
export interface GetMenuV3CategoriesRequest
|
|
970
|
+
extends BaseRequest,
|
|
971
|
+
RequestQuery<GetMenuV3CategoriesQuery> {}
|
|
885
972
|
|
|
886
|
-
// GET /menu/
|
|
973
|
+
// GET /menu/v3/category/{id}
|
|
887
974
|
|
|
888
|
-
export interface
|
|
975
|
+
export interface GetMenuV3CategoryPath {
|
|
889
976
|
id: string;
|
|
890
977
|
}
|
|
891
978
|
|
|
892
|
-
export interface
|
|
979
|
+
export interface GetMenuV3CategoryQuery {
|
|
893
980
|
// Graphql query string
|
|
894
981
|
_query?: string;
|
|
895
982
|
}
|
|
896
983
|
|
|
897
|
-
export type
|
|
984
|
+
export type GetMenuV3CategoryResponse = Category;
|
|
898
985
|
|
|
899
|
-
export interface
|
|
986
|
+
export interface GetMenuV3CategoryRequest
|
|
900
987
|
extends BaseRequest,
|
|
901
|
-
RequestQuery<
|
|
902
|
-
|
|
988
|
+
RequestQuery<GetMenuV3CategoryQuery>,
|
|
989
|
+
GetMenuV3CategoryPath {}
|
|
903
990
|
|
|
904
|
-
// PATCH /menu/
|
|
991
|
+
// PATCH /menu/v3/category/{id}
|
|
905
992
|
|
|
906
|
-
export interface
|
|
993
|
+
export interface PatchMenuV3CategoryPath {
|
|
907
994
|
id: string;
|
|
908
995
|
}
|
|
909
996
|
|
|
910
|
-
export type
|
|
997
|
+
export type PatchMenuV3CategoryBody = Category;
|
|
911
998
|
|
|
912
|
-
export type
|
|
999
|
+
export type PatchMenuV3CategoryResponse = Category;
|
|
913
1000
|
|
|
914
|
-
export interface
|
|
915
|
-
body:
|
|
1001
|
+
export interface PatchMenuV3CategoryRequest extends BaseRequest, PatchMenuV3CategoryPath {
|
|
1002
|
+
body: PatchMenuV3CategoryBody;
|
|
916
1003
|
}
|
|
917
1004
|
|
|
918
|
-
// DELETE /menu/
|
|
1005
|
+
// DELETE /menu/v3/category/{id}
|
|
919
1006
|
|
|
920
|
-
export interface
|
|
1007
|
+
export interface DeleteMenuV3CategoryPath {
|
|
921
1008
|
id: string;
|
|
922
1009
|
}
|
|
923
1010
|
|
|
924
|
-
export type
|
|
1011
|
+
export type DeleteMenuV3CategoryResponse = Category;
|
|
925
1012
|
|
|
926
|
-
export interface
|
|
1013
|
+
export interface DeleteMenuV3CategoryRequest extends BaseRequest, DeleteMenuV3CategoryPath {}
|
|
927
1014
|
|
|
928
|
-
// POST /menu/
|
|
1015
|
+
// POST /menu/v3/category
|
|
929
1016
|
|
|
930
|
-
export type
|
|
1017
|
+
export type PostMenuV3CategoryBody = Category;
|
|
931
1018
|
|
|
932
|
-
export type
|
|
1019
|
+
export type PostMenuV3CategoryResponse = Category;
|
|
933
1020
|
|
|
934
|
-
export interface
|
|
935
|
-
body:
|
|
1021
|
+
export interface PostMenuV3CategoryRequest extends BaseRequest {
|
|
1022
|
+
body: PostMenuV3CategoryBody;
|
|
936
1023
|
}
|
|
937
1024
|
|
|
938
|
-
// GET /menu/
|
|
1025
|
+
// GET /menu/v3/categories/count
|
|
939
1026
|
|
|
940
|
-
export interface
|
|
1027
|
+
export interface GetMenuV3CategoriesCountQuery {
|
|
941
1028
|
// Graphql query string
|
|
942
1029
|
_query?: string;
|
|
943
1030
|
}
|
|
944
1031
|
|
|
945
|
-
export interface
|
|
1032
|
+
export interface GetMenuV3CategoriesCountResponse {
|
|
946
1033
|
count?: number;
|
|
947
1034
|
}
|
|
948
1035
|
|
|
949
|
-
export interface
|
|
1036
|
+
export interface GetMenuV3CategoriesCountRequest
|
|
1037
|
+
extends BaseRequest,
|
|
1038
|
+
RequestQuery<GetMenuV3CategoriesCountQuery> {}
|
|
1039
|
+
|
|
1040
|
+
// GET /menu/v3/category/relationships/items
|
|
1041
|
+
|
|
1042
|
+
export interface GetMenuV3CategoryRelationshipsItemsQuery {
|
|
1043
|
+
// Graphql query string
|
|
1044
|
+
_query?: string;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
export type GetMenuV3CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
|
|
1048
|
+
|
|
1049
|
+
export interface GetMenuV3CategoryRelationshipsItemsRequest
|
|
1050
|
+
extends BaseRequest,
|
|
1051
|
+
RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {}
|
|
1052
|
+
|
|
1053
|
+
// POST /menu/v3/category/relationships/items
|
|
1054
|
+
|
|
1055
|
+
export type PostMenuV3CategoryRelationshipsItemsBody = CategoryToItemRelationshipList;
|
|
1056
|
+
|
|
1057
|
+
export type PostMenuV3CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
|
|
1058
|
+
|
|
1059
|
+
export interface PostMenuV3CategoryRelationshipsItemsRequest extends BaseRequest {
|
|
1060
|
+
body: PostMenuV3CategoryRelationshipsItemsBody;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
// POST /menu/v3/category/relationships/item
|
|
1064
|
+
|
|
1065
|
+
export type PostMenuV3CategoryRelationshipsItemBody = CategoryToItemRelationship;
|
|
1066
|
+
|
|
1067
|
+
export type PostMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
|
|
1068
|
+
|
|
1069
|
+
export interface PostMenuV3CategoryRelationshipsItemRequest extends BaseRequest {
|
|
1070
|
+
body: PostMenuV3CategoryRelationshipsItemBody;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
// PATCH /menu/v3/category/relationships/item/{id}
|
|
1074
|
+
|
|
1075
|
+
export interface PatchMenuV3CategoryRelationshipsItemPath {
|
|
1076
|
+
id: string;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
export type PatchMenuV3CategoryRelationshipsItemBody = CategoryToItemRelationship;
|
|
1080
|
+
|
|
1081
|
+
export type PatchMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
|
|
1082
|
+
|
|
1083
|
+
export interface PatchMenuV3CategoryRelationshipsItemRequest
|
|
1084
|
+
extends BaseRequest,
|
|
1085
|
+
PatchMenuV3CategoryRelationshipsItemPath {
|
|
1086
|
+
body: PatchMenuV3CategoryRelationshipsItemBody;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
// DELETE /menu/v3/category/relationships/item/{id}
|
|
1090
|
+
|
|
1091
|
+
export interface DeleteMenuV3CategoryRelationshipsItemPath {
|
|
1092
|
+
id: string;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
export type DeleteMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
|
|
1096
|
+
|
|
1097
|
+
export interface DeleteMenuV3CategoryRelationshipsItemRequest
|
|
1098
|
+
extends BaseRequest,
|
|
1099
|
+
DeleteMenuV3CategoryRelationshipsItemPath {}
|
|
1100
|
+
|
|
1101
|
+
// GET /menu/v3/brands
|
|
1102
|
+
|
|
1103
|
+
export interface GetMenuV3BrandsQuery {
|
|
1104
|
+
// Graphql query string
|
|
1105
|
+
_query?: string;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
export type GetMenuV3BrandsResponse = BrandListResponse;
|
|
1109
|
+
|
|
1110
|
+
export interface GetMenuV3BrandsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsQuery> {}
|
|
1111
|
+
|
|
1112
|
+
// GET /menu/v3/brand/{id}/modifiers
|
|
1113
|
+
|
|
1114
|
+
export interface GetMenuV3BrandModifiersPath {
|
|
1115
|
+
id: string;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
export interface GetMenuV3BrandModifiersQuery {
|
|
1119
|
+
// Graphql query string
|
|
1120
|
+
_query?: string;
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
export type GetMenuV3BrandModifiersResponse = ModifiersListResponse;
|
|
1124
|
+
|
|
1125
|
+
export interface GetMenuV3BrandModifiersRequest
|
|
1126
|
+
extends BaseRequest,
|
|
1127
|
+
RequestQuery<GetMenuV3BrandModifiersQuery>,
|
|
1128
|
+
GetMenuV3BrandModifiersPath {}
|
|
1129
|
+
|
|
1130
|
+
// GET /menu/v3/brand/{id}/modifier_groups
|
|
1131
|
+
|
|
1132
|
+
export interface GetMenuV3BrandModifier_groupsPath {
|
|
1133
|
+
id: string;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
export interface GetMenuV3BrandModifier_groupsQuery {
|
|
1137
|
+
// Graphql query string
|
|
1138
|
+
_query?: string;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
export type GetMenuV3BrandModifier_groupsResponse = ModifierGroupsListResponse;
|
|
1142
|
+
|
|
1143
|
+
export interface GetMenuV3BrandModifier_groupsRequest
|
|
950
1144
|
extends BaseRequest,
|
|
951
|
-
RequestQuery<
|
|
1145
|
+
RequestQuery<GetMenuV3BrandModifier_groupsQuery>,
|
|
1146
|
+
GetMenuV3BrandModifier_groupsPath {}
|
|
952
1147
|
|
|
953
|
-
// GET /menu/
|
|
1148
|
+
// GET /menu/v3/brand/{id}/items
|
|
954
1149
|
|
|
955
|
-
export interface
|
|
1150
|
+
export interface GetMenuV3BrandItemsPath {
|
|
1151
|
+
id: string;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
export interface GetMenuV3BrandItemsQuery {
|
|
956
1155
|
// Graphql query string
|
|
957
1156
|
_query?: string;
|
|
958
1157
|
}
|
|
959
1158
|
|
|
960
|
-
export type
|
|
1159
|
+
export type GetMenuV3BrandItemsResponse = ItemsListResponse;
|
|
961
1160
|
|
|
962
|
-
export interface
|
|
1161
|
+
export interface GetMenuV3BrandItemsRequest
|
|
963
1162
|
extends BaseRequest,
|
|
964
|
-
RequestQuery<
|
|
1163
|
+
RequestQuery<GetMenuV3BrandItemsQuery>,
|
|
1164
|
+
GetMenuV3BrandItemsPath {}
|
|
965
1165
|
|
|
966
|
-
// GET /menu/
|
|
1166
|
+
// GET /menu/v3/brand/{id}
|
|
967
1167
|
|
|
968
|
-
export interface
|
|
1168
|
+
export interface GetMenuV3BrandPath {
|
|
969
1169
|
id: string;
|
|
970
1170
|
}
|
|
971
1171
|
|
|
972
|
-
export interface
|
|
1172
|
+
export interface GetMenuV3BrandQuery {
|
|
973
1173
|
// Graphql query string
|
|
974
1174
|
_query?: string;
|
|
975
1175
|
}
|
|
976
1176
|
|
|
977
|
-
export type
|
|
1177
|
+
export type GetMenuV3BrandResponse = Brand;
|
|
978
1178
|
|
|
979
|
-
export interface
|
|
1179
|
+
export interface GetMenuV3BrandRequest
|
|
980
1180
|
extends BaseRequest,
|
|
981
|
-
RequestQuery<
|
|
982
|
-
|
|
1181
|
+
RequestQuery<GetMenuV3BrandQuery>,
|
|
1182
|
+
GetMenuV3BrandPath {}
|
|
983
1183
|
|
|
984
|
-
// PATCH /menu/
|
|
1184
|
+
// PATCH /menu/v3/brand/{id}
|
|
985
1185
|
|
|
986
|
-
export interface
|
|
1186
|
+
export interface PatchMenuV3BrandPath {
|
|
987
1187
|
id: string;
|
|
988
1188
|
}
|
|
989
1189
|
|
|
990
|
-
export type
|
|
1190
|
+
export type PatchMenuV3BrandBody = Brand;
|
|
991
1191
|
|
|
992
|
-
export type
|
|
1192
|
+
export type PatchMenuV3BrandResponse = Brand;
|
|
993
1193
|
|
|
994
|
-
export interface
|
|
995
|
-
body:
|
|
1194
|
+
export interface PatchMenuV3BrandRequest extends BaseRequest, PatchMenuV3BrandPath {
|
|
1195
|
+
body: PatchMenuV3BrandBody;
|
|
996
1196
|
}
|
|
997
1197
|
|
|
998
|
-
// DELETE /menu/
|
|
1198
|
+
// DELETE /menu/v3/brand/{id}
|
|
999
1199
|
|
|
1000
|
-
export interface
|
|
1200
|
+
export interface DeleteMenuV3BrandPath {
|
|
1001
1201
|
id: string;
|
|
1002
1202
|
}
|
|
1003
1203
|
|
|
1004
|
-
export type
|
|
1204
|
+
export type DeleteMenuV3BrandResponse = Brand;
|
|
1005
1205
|
|
|
1006
|
-
export interface
|
|
1206
|
+
export interface DeleteMenuV3BrandRequest extends BaseRequest, DeleteMenuV3BrandPath {}
|
|
1007
1207
|
|
|
1008
|
-
// POST /menu/
|
|
1208
|
+
// POST /menu/v3/brand
|
|
1009
1209
|
|
|
1010
|
-
export type
|
|
1210
|
+
export type PostMenuV3BrandBody = Brand;
|
|
1011
1211
|
|
|
1012
|
-
export type
|
|
1212
|
+
export type PostMenuV3BrandResponse = Brand;
|
|
1013
1213
|
|
|
1014
|
-
export interface
|
|
1015
|
-
body:
|
|
1214
|
+
export interface PostMenuV3BrandRequest extends BaseRequest {
|
|
1215
|
+
body: PostMenuV3BrandBody;
|
|
1016
1216
|
}
|
|
1017
1217
|
|
|
1018
|
-
// GET /menu/
|
|
1218
|
+
// GET /menu/v3/brands/count
|
|
1019
1219
|
|
|
1020
|
-
export interface
|
|
1220
|
+
export interface GetMenuV3BrandsCountQuery {
|
|
1021
1221
|
// Graphql query string
|
|
1022
1222
|
_query?: string;
|
|
1023
1223
|
}
|
|
1024
1224
|
|
|
1025
|
-
export interface
|
|
1225
|
+
export interface GetMenuV3BrandsCountResponse {
|
|
1026
1226
|
count?: number;
|
|
1027
1227
|
}
|
|
1028
1228
|
|
|
1029
|
-
export interface
|
|
1229
|
+
export interface GetMenuV3BrandsCountRequest
|
|
1030
1230
|
extends BaseRequest,
|
|
1031
|
-
RequestQuery<
|
|
1231
|
+
RequestQuery<GetMenuV3BrandsCountQuery> {}
|
|
1032
1232
|
|
|
1033
|
-
// GET /menu/
|
|
1233
|
+
// GET /menu/v3/stations
|
|
1034
1234
|
|
|
1035
|
-
export interface
|
|
1235
|
+
export interface GetMenuV3StationsQuery {
|
|
1036
1236
|
// Graphql query string
|
|
1037
1237
|
_query?: string;
|
|
1038
1238
|
}
|
|
1039
1239
|
|
|
1040
|
-
export type
|
|
1240
|
+
export type GetMenuV3StationsResponse = StationListResponse;
|
|
1041
1241
|
|
|
1042
|
-
export interface
|
|
1242
|
+
export interface GetMenuV3StationsRequest
|
|
1043
1243
|
extends BaseRequest,
|
|
1044
|
-
RequestQuery<
|
|
1244
|
+
RequestQuery<GetMenuV3StationsQuery> {}
|
|
1045
1245
|
|
|
1046
|
-
//
|
|
1246
|
+
// GET /menu/v3/station/{id}
|
|
1047
1247
|
|
|
1048
|
-
export
|
|
1049
|
-
|
|
1050
|
-
|
|
1248
|
+
export interface GetMenuV3StationPath {
|
|
1249
|
+
id: string;
|
|
1250
|
+
}
|
|
1051
1251
|
|
|
1052
|
-
export interface
|
|
1053
|
-
|
|
1252
|
+
export interface GetMenuV3StationQuery {
|
|
1253
|
+
// Graphql query string
|
|
1254
|
+
_query?: string;
|
|
1054
1255
|
}
|
|
1055
1256
|
|
|
1056
|
-
|
|
1257
|
+
export type GetMenuV3StationResponse = Station;
|
|
1258
|
+
|
|
1259
|
+
export interface GetMenuV3StationRequest
|
|
1260
|
+
extends BaseRequest,
|
|
1261
|
+
RequestQuery<GetMenuV3StationQuery>,
|
|
1262
|
+
GetMenuV3StationPath {}
|
|
1263
|
+
|
|
1264
|
+
// PATCH /menu/v3/station/{id}
|
|
1057
1265
|
|
|
1058
|
-
export interface
|
|
1266
|
+
export interface PatchMenuV3StationPath {
|
|
1059
1267
|
id: string;
|
|
1060
1268
|
}
|
|
1061
1269
|
|
|
1062
|
-
export type
|
|
1270
|
+
export type PatchMenuV3StationBody = Station;
|
|
1063
1271
|
|
|
1064
|
-
export type
|
|
1272
|
+
export type PatchMenuV3StationResponse = Station;
|
|
1065
1273
|
|
|
1066
|
-
export interface
|
|
1067
|
-
|
|
1068
|
-
PatchMenuV2CategoryRelationshipsItemPath {
|
|
1069
|
-
body: PatchMenuV2CategoryRelationshipsItemBody;
|
|
1274
|
+
export interface PatchMenuV3StationRequest extends BaseRequest, PatchMenuV3StationPath {
|
|
1275
|
+
body: PatchMenuV3StationBody;
|
|
1070
1276
|
}
|
|
1071
1277
|
|
|
1072
|
-
// DELETE /menu/
|
|
1278
|
+
// DELETE /menu/v3/station/{id}
|
|
1073
1279
|
|
|
1074
|
-
export interface
|
|
1280
|
+
export interface DeleteMenuV3StationPath {
|
|
1075
1281
|
id: string;
|
|
1076
1282
|
}
|
|
1077
1283
|
|
|
1078
|
-
export type
|
|
1284
|
+
export type DeleteMenuV3StationResponse = Station;
|
|
1285
|
+
|
|
1286
|
+
export interface DeleteMenuV3StationRequest extends BaseRequest, DeleteMenuV3StationPath {}
|
|
1287
|
+
|
|
1288
|
+
// POST /menu/v3/station
|
|
1289
|
+
|
|
1290
|
+
export type PostMenuV3StationBody = Station;
|
|
1291
|
+
|
|
1292
|
+
export type PostMenuV3StationResponse = Station;
|
|
1293
|
+
|
|
1294
|
+
export interface PostMenuV3StationRequest extends BaseRequest {
|
|
1295
|
+
body: PostMenuV3StationBody;
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
// GET /menu/v3/stations/count
|
|
1299
|
+
|
|
1300
|
+
export interface GetMenuV3StationsCountQuery {
|
|
1301
|
+
// Graphql query string
|
|
1302
|
+
_query?: string;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
export interface GetMenuV3StationsCountResponse {
|
|
1306
|
+
count?: number;
|
|
1307
|
+
}
|
|
1079
1308
|
|
|
1080
|
-
export interface
|
|
1309
|
+
export interface GetMenuV3StationsCountRequest
|
|
1081
1310
|
extends BaseRequest,
|
|
1082
|
-
|
|
1311
|
+
RequestQuery<GetMenuV3StationsCountQuery> {}
|
|
1083
1312
|
|
|
1084
1313
|
// GET /menu/client/{client_id} - Get menu client
|
|
1085
1314
|
|