@compassdigital/sdk.typescript 3.45.1 → 3.46.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 +334 -59
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +362 -60
- package/lib/index.js.map +1 -1
- package/lib/interface/announcement.d.ts.map +1 -1
- package/lib/interface/announcement.js +1 -0
- package/lib/interface/announcement.js.map +1 -1
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/calendar.js +1 -0
- package/lib/interface/calendar.js.map +1 -1
- package/lib/interface/compassconnect.d.ts.map +1 -1
- package/lib/interface/compassconnect.js +1 -0
- package/lib/interface/compassconnect.js.map +1 -1
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/config.js +1 -0
- package/lib/interface/config.js.map +1 -1
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/datalake.js +1 -0
- package/lib/interface/datalake.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 +5 -0
- package/lib/interface/delivery.js.map +1 -0
- package/lib/interface/email.d.ts.map +1 -1
- package/lib/interface/email.js +1 -0
- package/lib/interface/email.js.map +1 -1
- package/lib/interface/file.d.ts.map +1 -1
- package/lib/interface/file.js +1 -0
- package/lib/interface/file.js.map +1 -1
- package/lib/interface/kds.d.ts.map +1 -1
- package/lib/interface/kds.js +1 -0
- package/lib/interface/kds.js.map +1 -1
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/location.js +1 -0
- package/lib/interface/location.js.map +1 -1
- package/lib/interface/loyalty.d.ts.map +1 -1
- package/lib/interface/loyalty.js +1 -0
- package/lib/interface/loyalty.js.map +1 -1
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/mealplan.js +1 -0
- package/lib/interface/mealplan.js.map +1 -1
- package/lib/interface/menu.d.ts +1180 -96
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/menu.js +1 -0
- package/lib/interface/menu.js.map +1 -1
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/notification.js +1 -0
- package/lib/interface/notification.js.map +1 -1
- package/lib/interface/order.d.ts +12 -0
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/order.js +1 -0
- package/lib/interface/order.js.map +1 -1
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/partner.js +1 -0
- package/lib/interface/partner.js.map +1 -1
- package/lib/interface/payment.d.ts +7 -21
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/payment.js +1 -0
- package/lib/interface/payment.js.map +1 -1
- package/lib/interface/permission.d.ts.map +1 -1
- package/lib/interface/permission.js +1 -0
- package/lib/interface/permission.js.map +1 -1
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/promo.js +1 -0
- package/lib/interface/promo.js.map +1 -1
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/report.js +1 -0
- package/lib/interface/report.js.map +1 -1
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/shoppingcart.js +1 -0
- package/lib/interface/shoppingcart.js.map +1 -1
- package/lib/interface/sms.js +1 -0
- package/lib/interface/sms.js.map +1 -1
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/task.js +1 -0
- package/lib/interface/task.js.map +1 -1
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/user.js +1 -0
- package/lib/interface/user.js.map +1 -1
- package/lib/interface/vendor.d.ts.map +1 -1
- package/lib/interface/vendor.js +1 -0
- package/lib/interface/vendor.js.map +1 -1
- package/manifest.json +4 -0
- package/package.json +2 -2
- package/quicktest.json +8 -0
- package/src/index.ts +898 -162
- package/src/interface/announcement.ts +1 -0
- package/src/interface/calendar.ts +1 -0
- package/src/interface/compassconnect.ts +1 -0
- package/src/interface/config.ts +1 -0
- package/src/interface/datalake.ts +1 -0
- package/src/interface/delivery.ts +102 -0
- package/src/interface/email.ts +1 -0
- package/src/interface/file.ts +1 -0
- package/src/interface/kds.ts +1 -0
- package/src/interface/location.ts +1 -0
- package/src/interface/loyalty.ts +1 -0
- package/src/interface/mealplan.ts +1 -0
- package/src/interface/menu.ts +1660 -171
- package/src/interface/notification.ts +1 -0
- package/src/interface/order.ts +25 -0
- package/src/interface/partner.ts +1 -0
- package/src/interface/payment.ts +15 -41
- package/src/interface/permission.ts +1 -0
- package/src/interface/promo.ts +1 -0
- package/src/interface/report.ts +1 -0
- package/src/interface/shoppingcart.ts +1 -0
- package/src/interface/sms.ts +1 -0
- package/src/interface/task.ts +1 -0
- package/src/interface/user.ts +1 -0
- package/src/interface/vendor.ts +1 -0
package/src/interface/menu.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// /* eslint-disable */
|
|
1
2
|
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
3
|
|
|
3
4
|
import { RequestQuery, BaseRequest } from "./util";
|
|
@@ -27,6 +28,16 @@ export interface LayoutListResponse {
|
|
|
27
28
|
results?: Layout[];
|
|
28
29
|
}
|
|
29
30
|
|
|
31
|
+
export interface BrandListResponse {
|
|
32
|
+
meta?: Meta;
|
|
33
|
+
results?: Brand[];
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface StationListResponse {
|
|
37
|
+
meta?: Meta;
|
|
38
|
+
results?: Station[];
|
|
39
|
+
}
|
|
40
|
+
|
|
30
41
|
export interface CategoryListResponse {
|
|
31
42
|
meta?: Meta;
|
|
32
43
|
results?: Category[];
|
|
@@ -80,6 +91,8 @@ export interface Modifier {
|
|
|
80
91
|
created_at?: string;
|
|
81
92
|
updated_at?: string;
|
|
82
93
|
deleted_at?: string;
|
|
94
|
+
brand_id?: string;
|
|
95
|
+
station_id?: string;
|
|
83
96
|
[index: string]: any;
|
|
84
97
|
}
|
|
85
98
|
|
|
@@ -94,6 +107,8 @@ export interface ModifierGroup {
|
|
|
94
107
|
created_at?: string;
|
|
95
108
|
updated_at?: string;
|
|
96
109
|
deleted_at?: string;
|
|
110
|
+
brand_id?: string;
|
|
111
|
+
station_id?: string;
|
|
97
112
|
[index: string]: any;
|
|
98
113
|
}
|
|
99
114
|
|
|
@@ -113,6 +128,8 @@ export interface LocalItem {
|
|
|
113
128
|
created_at?: string;
|
|
114
129
|
updated_at?: string;
|
|
115
130
|
deleted_at?: string;
|
|
131
|
+
brand_id?: string;
|
|
132
|
+
station_id?: string;
|
|
116
133
|
[index: string]: any;
|
|
117
134
|
}
|
|
118
135
|
|
|
@@ -131,6 +148,24 @@ export interface Layout {
|
|
|
131
148
|
created_at?: string;
|
|
132
149
|
updated_at?: string;
|
|
133
150
|
deleted_at?: string;
|
|
151
|
+
brand_id?: string;
|
|
152
|
+
station_id?: string;
|
|
153
|
+
[index: string]: any;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export interface Brand {
|
|
157
|
+
id?: string;
|
|
158
|
+
created_at?: string;
|
|
159
|
+
updated_at?: string;
|
|
160
|
+
deleted_at?: string;
|
|
161
|
+
[index: string]: any;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export interface Station {
|
|
165
|
+
id?: string;
|
|
166
|
+
created_at?: string;
|
|
167
|
+
updated_at?: string;
|
|
168
|
+
deleted_at?: string;
|
|
134
169
|
[index: string]: any;
|
|
135
170
|
}
|
|
136
171
|
|
|
@@ -483,19 +518,279 @@ export interface ZippedExcelExport {
|
|
|
483
518
|
format?: string;
|
|
484
519
|
}
|
|
485
520
|
|
|
521
|
+
export interface CategoryDTO {
|
|
522
|
+
name?: string;
|
|
523
|
+
label?: string;
|
|
524
|
+
sequence?: number;
|
|
525
|
+
priority?: number;
|
|
526
|
+
is_active?: boolean;
|
|
527
|
+
layout_id?: string;
|
|
528
|
+
id?: string;
|
|
529
|
+
layout?: LayoutDTO;
|
|
530
|
+
items?: any[];
|
|
531
|
+
[index: string]: any;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
export interface LayoutDTO {
|
|
535
|
+
name: string;
|
|
536
|
+
categories?: any[];
|
|
537
|
+
brand_id: string;
|
|
538
|
+
station_id: string;
|
|
539
|
+
id?: any;
|
|
540
|
+
brand?: BrandDTO;
|
|
541
|
+
station?: any;
|
|
542
|
+
[index: string]: any;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export interface BrandDTO {
|
|
546
|
+
layouts?: any[];
|
|
547
|
+
items?: ItemDTO[];
|
|
548
|
+
modifier_groups?: any[];
|
|
549
|
+
modifiers?: any[];
|
|
550
|
+
id?: string;
|
|
551
|
+
[index: string]: any;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
export interface ItemDTO {
|
|
555
|
+
name?: string;
|
|
556
|
+
label?: string;
|
|
557
|
+
description?: string;
|
|
558
|
+
price?: number;
|
|
559
|
+
barcode?: string;
|
|
560
|
+
calories?: number;
|
|
561
|
+
priority?: number;
|
|
562
|
+
is_active?: boolean;
|
|
563
|
+
is_in_stock?: boolean;
|
|
564
|
+
posid?: string;
|
|
565
|
+
tax_tags?: string[];
|
|
566
|
+
modifier_groups?: ItemToModifierGroupRelationshipDTO[];
|
|
567
|
+
brand_id?: string;
|
|
568
|
+
station_id?: string;
|
|
569
|
+
id?: string;
|
|
570
|
+
categories?: CategoryToItemRelationshipDTO[];
|
|
571
|
+
brand?: any;
|
|
572
|
+
station?: any;
|
|
573
|
+
[index: string]: any;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export interface ItemToModifierGroupRelationshipDTO {
|
|
577
|
+
modifier_group_id?: string;
|
|
578
|
+
item_id?: string;
|
|
579
|
+
sequence?: number;
|
|
580
|
+
id?: string;
|
|
581
|
+
modifier_group?: ModifierGroupDTO;
|
|
582
|
+
item?: any;
|
|
583
|
+
[index: string]: any;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
export interface ModifierGroupDTO {
|
|
587
|
+
name?: string;
|
|
588
|
+
label?: string;
|
|
589
|
+
min?: number;
|
|
590
|
+
max?: number;
|
|
591
|
+
is_active?: boolean;
|
|
592
|
+
priority?: number;
|
|
593
|
+
modifiers?: ModifierGroupToModifierRelationshipDTO[];
|
|
594
|
+
items?: any[];
|
|
595
|
+
brand_id?: string;
|
|
596
|
+
station_id?: string;
|
|
597
|
+
id?: string;
|
|
598
|
+
brand?: any;
|
|
599
|
+
station?: any;
|
|
600
|
+
[index: string]: any;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
export interface ModifierGroupToModifierRelationshipDTO {
|
|
604
|
+
modifier_id?: string;
|
|
605
|
+
modifier_group_id?: string;
|
|
606
|
+
sequence?: number;
|
|
607
|
+
id?: string;
|
|
608
|
+
modifier?: ModifierDTO;
|
|
609
|
+
modifier_group?: any;
|
|
610
|
+
[index: string]: any;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
export interface ModifierDTO {
|
|
614
|
+
name?: string;
|
|
615
|
+
label?: string;
|
|
616
|
+
description?: string;
|
|
617
|
+
price?: number;
|
|
618
|
+
calories?: number;
|
|
619
|
+
priority?: number;
|
|
620
|
+
tax_tags?: string[];
|
|
621
|
+
is_active?: boolean;
|
|
622
|
+
is_in_stock?: boolean;
|
|
623
|
+
posid?: string;
|
|
624
|
+
modifier_groups?: any[];
|
|
625
|
+
brand_id?: string;
|
|
626
|
+
station_id?: string;
|
|
627
|
+
id?: string;
|
|
628
|
+
brand?: any;
|
|
629
|
+
station?: StationDTO;
|
|
630
|
+
[index: string]: any;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
export interface StationDTO {
|
|
634
|
+
layouts?: any[];
|
|
635
|
+
items?: any[];
|
|
636
|
+
modifier_groups?: any[];
|
|
637
|
+
modifiers?: any[];
|
|
638
|
+
id?: string;
|
|
639
|
+
[index: string]: any;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
export interface CategoryToItemRelationshipDTO {
|
|
643
|
+
category_id?: string;
|
|
644
|
+
item_id?: string;
|
|
645
|
+
sequence?: number;
|
|
646
|
+
id?: string;
|
|
647
|
+
category?: any;
|
|
648
|
+
item?: any;
|
|
649
|
+
[index: string]: any;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
export interface InvalidInputErrorDTO {
|
|
653
|
+
number: number;
|
|
654
|
+
message: string;
|
|
655
|
+
[index: string]: any;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
export interface InternalServerErrorDTO {
|
|
659
|
+
number: number;
|
|
660
|
+
message: string;
|
|
661
|
+
[index: string]: any;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
export interface ReadParamsDTO {
|
|
665
|
+
// If specified, only the selected fields will be returned
|
|
666
|
+
select?: string[];
|
|
667
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
668
|
+
relationships?: string[];
|
|
669
|
+
[index: string]: any;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
export interface NotFoundErrorDTO {
|
|
673
|
+
number: number;
|
|
674
|
+
message: string;
|
|
675
|
+
[index: string]: any;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
export interface FilterFieldDTO {
|
|
679
|
+
// Alternatively you can pass in the value directly (like '{ key: value }' instead of '{ key : { $equal : value } }
|
|
680
|
+
$equal?: string;
|
|
681
|
+
$more_than?: string;
|
|
682
|
+
$more_than_or_equal?: string;
|
|
683
|
+
$less_than?: string;
|
|
684
|
+
$less_than_or_equal?: string;
|
|
685
|
+
// Accepts two 'range' values passed in an array (like '{ key : { $between : [ '2020-01-01', '2021-01-01' ] } }')
|
|
686
|
+
$between?: string[];
|
|
687
|
+
// Can be combined with other operators (such as '{ key : { $not : { $more_than: 2 } } }')
|
|
688
|
+
$not?: string;
|
|
689
|
+
$in?: string[];
|
|
690
|
+
$array_contains?: string[];
|
|
691
|
+
$contains?: string;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export interface PaginationParamsDTO {
|
|
695
|
+
// Number of records to load per page
|
|
696
|
+
limit?: number;
|
|
697
|
+
page?: number;
|
|
698
|
+
// A field to sort the results based on
|
|
699
|
+
sort_by?: string;
|
|
700
|
+
sort_order?: string;
|
|
701
|
+
// How soft deleted records should be shown in the list
|
|
702
|
+
soft_deleted?: string;
|
|
703
|
+
// If specified, only the selected fields will be returned
|
|
704
|
+
select?: string[];
|
|
705
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
706
|
+
relationships?: string[];
|
|
707
|
+
[index: string]: any;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
export interface PaginationMetaDTO {
|
|
711
|
+
// Number of total records available based on the filter criteria
|
|
712
|
+
total_results?: number;
|
|
713
|
+
total_pages?: number;
|
|
714
|
+
// Number of records shown in the current page.
|
|
715
|
+
result_count?: number;
|
|
716
|
+
// If specified, only the selected fields will be returned
|
|
717
|
+
select?: string[];
|
|
718
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
719
|
+
relationships?: string[];
|
|
720
|
+
// Number of records to load per page
|
|
721
|
+
limit?: number;
|
|
722
|
+
page?: number;
|
|
723
|
+
// A field to sort the results based on
|
|
724
|
+
sort_by?: string;
|
|
725
|
+
sort_order?: string;
|
|
726
|
+
// How soft deleted records should be shown in the list
|
|
727
|
+
soft_deleted?: string;
|
|
728
|
+
[index: string]: any;
|
|
729
|
+
}
|
|
730
|
+
|
|
486
731
|
// GET /menu/v3/modifiers
|
|
487
732
|
|
|
488
733
|
export interface GetMenuV3ModifiersQuery {
|
|
734
|
+
// The fields that filtering is allowed on
|
|
735
|
+
filter?: any;
|
|
736
|
+
// Number of records to load per page
|
|
737
|
+
limit?: number;
|
|
738
|
+
page?: number;
|
|
739
|
+
// A field to sort the results based on
|
|
740
|
+
sort_by?: string;
|
|
741
|
+
sort_order?: string;
|
|
742
|
+
// How soft deleted records should be shown in the list
|
|
743
|
+
soft_deleted?: string;
|
|
744
|
+
// If specified, only the selected fields will be returned
|
|
745
|
+
select?: string[];
|
|
746
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
747
|
+
relationships?: string[];
|
|
489
748
|
// Graphql query string
|
|
490
749
|
_query?: string;
|
|
491
750
|
}
|
|
492
751
|
|
|
493
|
-
export
|
|
752
|
+
export interface GetMenuV3ModifiersResponse {
|
|
753
|
+
meta: PaginationMetaDTO;
|
|
754
|
+
results: ModifierDTO[];
|
|
755
|
+
[index: string]: any;
|
|
756
|
+
}
|
|
494
757
|
|
|
495
758
|
export interface GetMenuV3ModifiersRequest
|
|
496
759
|
extends BaseRequest,
|
|
497
760
|
RequestQuery<GetMenuV3ModifiersQuery> {}
|
|
498
761
|
|
|
762
|
+
// POST /menu/v3/modifiers
|
|
763
|
+
|
|
764
|
+
export type PostMenuV3ModifiersBody = {
|
|
765
|
+
name: string;
|
|
766
|
+
label?: string;
|
|
767
|
+
description?: string;
|
|
768
|
+
price: number;
|
|
769
|
+
calories?: number;
|
|
770
|
+
priority?: number;
|
|
771
|
+
tax_tags?: string[];
|
|
772
|
+
is_active?: boolean;
|
|
773
|
+
is_in_stock?: boolean;
|
|
774
|
+
posid: string;
|
|
775
|
+
modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
|
|
776
|
+
brand_id: string;
|
|
777
|
+
station_id?: string;
|
|
778
|
+
id?: any;
|
|
779
|
+
brand?: BrandDTO;
|
|
780
|
+
station?: StationDTO;
|
|
781
|
+
[index: string]: any;
|
|
782
|
+
}[];
|
|
783
|
+
|
|
784
|
+
export interface PostMenuV3ModifiersResponse {
|
|
785
|
+
meta: PaginationMetaDTO;
|
|
786
|
+
results: ModifierDTO[];
|
|
787
|
+
[index: string]: any;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
export interface PostMenuV3ModifiersRequest extends BaseRequest {
|
|
791
|
+
body: PostMenuV3ModifiersBody;
|
|
792
|
+
}
|
|
793
|
+
|
|
499
794
|
// GET /menu/v3/modifier/{id}
|
|
500
795
|
|
|
501
796
|
export interface GetMenuV3ModifierPath {
|
|
@@ -503,11 +798,15 @@ export interface GetMenuV3ModifierPath {
|
|
|
503
798
|
}
|
|
504
799
|
|
|
505
800
|
export interface GetMenuV3ModifierQuery {
|
|
801
|
+
// If specified, only the selected fields will be returned
|
|
802
|
+
select?: string[];
|
|
803
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
804
|
+
relationships?: string[];
|
|
506
805
|
// Graphql query string
|
|
507
806
|
_query?: string;
|
|
508
807
|
}
|
|
509
808
|
|
|
510
|
-
export type GetMenuV3ModifierResponse =
|
|
809
|
+
export type GetMenuV3ModifierResponse = ModifierDTO;
|
|
511
810
|
|
|
512
811
|
export interface GetMenuV3ModifierRequest
|
|
513
812
|
extends BaseRequest,
|
|
@@ -520,19 +819,65 @@ export interface PatchMenuV3ModifierPath {
|
|
|
520
819
|
id: string;
|
|
521
820
|
}
|
|
522
821
|
|
|
523
|
-
export
|
|
822
|
+
export interface PatchMenuV3ModifierBody {
|
|
823
|
+
name?: string;
|
|
824
|
+
label?: string;
|
|
825
|
+
description?: string;
|
|
826
|
+
price?: number;
|
|
827
|
+
calories?: number;
|
|
828
|
+
priority?: number;
|
|
829
|
+
tax_tags?: string[];
|
|
830
|
+
is_active?: boolean;
|
|
831
|
+
is_in_stock?: boolean;
|
|
832
|
+
posid?: string;
|
|
833
|
+
modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
|
|
834
|
+
brand_id?: string;
|
|
835
|
+
station_id?: string;
|
|
836
|
+
id?: string;
|
|
837
|
+
brand?: BrandDTO;
|
|
838
|
+
station?: StationDTO;
|
|
839
|
+
[index: string]: any;
|
|
840
|
+
}
|
|
524
841
|
|
|
525
|
-
export type PatchMenuV3ModifierResponse =
|
|
842
|
+
export type PatchMenuV3ModifierResponse = ModifierDTO;
|
|
526
843
|
|
|
527
844
|
export interface PatchMenuV3ModifierRequest extends BaseRequest, PatchMenuV3ModifierPath {
|
|
528
845
|
body: PatchMenuV3ModifierBody;
|
|
529
846
|
}
|
|
530
847
|
|
|
848
|
+
// DELETE /menu/v3/modifier/{id}
|
|
849
|
+
|
|
850
|
+
export interface DeleteMenuV3ModifierPath {
|
|
851
|
+
id: string;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
export type DeleteMenuV3ModifierResponse = ModifierDTO;
|
|
855
|
+
|
|
856
|
+
export interface DeleteMenuV3ModifierRequest extends BaseRequest, DeleteMenuV3ModifierPath {}
|
|
857
|
+
|
|
531
858
|
// POST /menu/v3/modifier
|
|
532
859
|
|
|
533
|
-
export
|
|
860
|
+
export interface PostMenuV3ModifierBody {
|
|
861
|
+
name: string;
|
|
862
|
+
label?: string;
|
|
863
|
+
description?: string;
|
|
864
|
+
price: number;
|
|
865
|
+
calories?: number;
|
|
866
|
+
priority?: number;
|
|
867
|
+
tax_tags?: string[];
|
|
868
|
+
is_active?: boolean;
|
|
869
|
+
is_in_stock?: boolean;
|
|
870
|
+
posid: string;
|
|
871
|
+
modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
|
|
872
|
+
brand_id: string;
|
|
873
|
+
station_id?: string;
|
|
874
|
+
id?: any;
|
|
875
|
+
brand?: BrandDTO;
|
|
876
|
+
station?: StationDTO;
|
|
877
|
+
[index: string]: any;
|
|
878
|
+
}
|
|
534
879
|
|
|
535
|
-
export type PostMenuV3ModifierResponse =
|
|
880
|
+
export type PostMenuV3ModifierResponse = ModifierDTO;
|
|
536
881
|
|
|
537
882
|
export interface PostMenuV3ModifierRequest extends BaseRequest {
|
|
538
883
|
body: PostMenuV3ModifierBody;
|
|
@@ -556,21 +901,83 @@ export interface GetMenuV3ModifierCountRequest
|
|
|
556
901
|
// GET /menu/v3/modifier-groups
|
|
557
902
|
|
|
558
903
|
export interface GetMenuV3ModifierGroupsQuery {
|
|
904
|
+
// The fields that filtering is allowed on
|
|
905
|
+
filter?: any;
|
|
906
|
+
// Number of records to load per page
|
|
907
|
+
limit?: number;
|
|
908
|
+
page?: number;
|
|
909
|
+
// A field to sort the results based on
|
|
910
|
+
sort_by?: string;
|
|
911
|
+
sort_order?: string;
|
|
912
|
+
// How soft deleted records should be shown in the list
|
|
913
|
+
soft_deleted?: string;
|
|
914
|
+
// If specified, only the selected fields will be returned
|
|
915
|
+
select?: string[];
|
|
916
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
917
|
+
relationships?: string[];
|
|
559
918
|
// Graphql query string
|
|
560
919
|
_query?: string;
|
|
561
920
|
}
|
|
562
921
|
|
|
563
|
-
export
|
|
922
|
+
export interface GetMenuV3ModifierGroupsResponse {
|
|
923
|
+
meta: PaginationMetaDTO;
|
|
924
|
+
results: ModifierGroupDTO[];
|
|
925
|
+
[index: string]: any;
|
|
926
|
+
}
|
|
564
927
|
|
|
565
928
|
export interface GetMenuV3ModifierGroupsRequest
|
|
566
929
|
extends BaseRequest,
|
|
567
930
|
RequestQuery<GetMenuV3ModifierGroupsQuery> {}
|
|
568
931
|
|
|
932
|
+
// POST /menu/v3/modifier-groups
|
|
933
|
+
|
|
934
|
+
export type PostMenuV3ModifierGroupsBody = {
|
|
935
|
+
name: string;
|
|
936
|
+
label?: string;
|
|
937
|
+
min?: number;
|
|
938
|
+
max?: number;
|
|
939
|
+
is_active?: boolean;
|
|
940
|
+
priority?: number;
|
|
941
|
+
modifiers?: ModifierGroupToModifierRelationshipDTO[];
|
|
942
|
+
items?: ItemToModifierGroupRelationshipDTO[];
|
|
943
|
+
brand_id: string;
|
|
944
|
+
station_id?: string;
|
|
945
|
+
id?: any;
|
|
946
|
+
brand?: BrandDTO;
|
|
947
|
+
station?: StationDTO;
|
|
948
|
+
[index: string]: any;
|
|
949
|
+
}[];
|
|
950
|
+
|
|
951
|
+
export interface PostMenuV3ModifierGroupsResponse {
|
|
952
|
+
meta: PaginationMetaDTO;
|
|
953
|
+
results: ModifierGroupDTO[];
|
|
954
|
+
[index: string]: any;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
export interface PostMenuV3ModifierGroupsRequest extends BaseRequest {
|
|
958
|
+
body: PostMenuV3ModifierGroupsBody;
|
|
959
|
+
}
|
|
960
|
+
|
|
569
961
|
// POST /menu/v3/modifier-group
|
|
570
962
|
|
|
571
|
-
export
|
|
963
|
+
export interface PostMenuV3ModifierGroupBody {
|
|
964
|
+
name: string;
|
|
965
|
+
label?: string;
|
|
966
|
+
min?: number;
|
|
967
|
+
max?: number;
|
|
968
|
+
is_active?: boolean;
|
|
969
|
+
priority?: number;
|
|
970
|
+
modifiers?: ModifierGroupToModifierRelationshipDTO[];
|
|
971
|
+
items?: ItemToModifierGroupRelationshipDTO[];
|
|
972
|
+
brand_id: string;
|
|
973
|
+
station_id?: string;
|
|
974
|
+
id?: any;
|
|
975
|
+
brand?: BrandDTO;
|
|
976
|
+
station?: StationDTO;
|
|
977
|
+
[index: string]: any;
|
|
978
|
+
}
|
|
572
979
|
|
|
573
|
-
export type PostMenuV3ModifierGroupResponse =
|
|
980
|
+
export type PostMenuV3ModifierGroupResponse = ModifierGroupDTO;
|
|
574
981
|
|
|
575
982
|
export interface PostMenuV3ModifierGroupRequest extends BaseRequest {
|
|
576
983
|
body: PostMenuV3ModifierGroupBody;
|
|
@@ -583,11 +990,15 @@ export interface GetMenuV3ModifierGroupPath {
|
|
|
583
990
|
}
|
|
584
991
|
|
|
585
992
|
export interface GetMenuV3ModifierGroupQuery {
|
|
993
|
+
// If specified, only the selected fields will be returned
|
|
994
|
+
select?: string[];
|
|
995
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
996
|
+
relationships?: string[];
|
|
586
997
|
// Graphql query string
|
|
587
998
|
_query?: string;
|
|
588
999
|
}
|
|
589
1000
|
|
|
590
|
-
export type GetMenuV3ModifierGroupResponse =
|
|
1001
|
+
export type GetMenuV3ModifierGroupResponse = ModifierGroupDTO;
|
|
591
1002
|
|
|
592
1003
|
export interface GetMenuV3ModifierGroupRequest
|
|
593
1004
|
extends BaseRequest,
|
|
@@ -600,14 +1011,41 @@ export interface PatchMenuV3ModifierGroupPath {
|
|
|
600
1011
|
id: string;
|
|
601
1012
|
}
|
|
602
1013
|
|
|
603
|
-
export
|
|
1014
|
+
export interface PatchMenuV3ModifierGroupBody {
|
|
1015
|
+
name?: string;
|
|
1016
|
+
label?: string;
|
|
1017
|
+
min?: number;
|
|
1018
|
+
max?: number;
|
|
1019
|
+
is_active?: boolean;
|
|
1020
|
+
priority?: number;
|
|
1021
|
+
modifiers?: ModifierGroupToModifierRelationshipDTO[];
|
|
1022
|
+
items?: ItemToModifierGroupRelationshipDTO[];
|
|
1023
|
+
brand_id?: string;
|
|
1024
|
+
station_id?: string;
|
|
1025
|
+
id?: string;
|
|
1026
|
+
brand?: BrandDTO;
|
|
1027
|
+
station?: StationDTO;
|
|
1028
|
+
[index: string]: any;
|
|
1029
|
+
}
|
|
604
1030
|
|
|
605
|
-
export type PatchMenuV3ModifierGroupResponse =
|
|
1031
|
+
export type PatchMenuV3ModifierGroupResponse = ModifierGroupDTO;
|
|
606
1032
|
|
|
607
1033
|
export interface PatchMenuV3ModifierGroupRequest extends BaseRequest, PatchMenuV3ModifierGroupPath {
|
|
608
1034
|
body: PatchMenuV3ModifierGroupBody;
|
|
609
1035
|
}
|
|
610
1036
|
|
|
1037
|
+
// DELETE /menu/v3/modifier-group/{id}
|
|
1038
|
+
|
|
1039
|
+
export interface DeleteMenuV3ModifierGroupPath {
|
|
1040
|
+
id: string;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
export type DeleteMenuV3ModifierGroupResponse = ModifierGroupDTO;
|
|
1044
|
+
|
|
1045
|
+
export interface DeleteMenuV3ModifierGroupRequest
|
|
1046
|
+
extends BaseRequest,
|
|
1047
|
+
DeleteMenuV3ModifierGroupPath {}
|
|
1048
|
+
|
|
611
1049
|
// GET /menu/v3/modifier-group/count
|
|
612
1050
|
|
|
613
1051
|
export interface GetMenuV3ModifierGroupCountQuery {
|
|
@@ -626,12 +1064,29 @@ export interface GetMenuV3ModifierGroupCountRequest
|
|
|
626
1064
|
// GET /menu/v3/modifier-group/relationships/modifiers
|
|
627
1065
|
|
|
628
1066
|
export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
|
|
1067
|
+
// The fields that filtering is allowed on
|
|
1068
|
+
filter?: any;
|
|
1069
|
+
// Number of records to load per page
|
|
1070
|
+
limit?: number;
|
|
1071
|
+
page?: number;
|
|
1072
|
+
// A field to sort the results based on
|
|
1073
|
+
sort_by?: string;
|
|
1074
|
+
sort_order?: string;
|
|
1075
|
+
// How soft deleted records should be shown in the list
|
|
1076
|
+
soft_deleted?: string;
|
|
1077
|
+
// If specified, only the selected fields will be returned
|
|
1078
|
+
select?: string[];
|
|
1079
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1080
|
+
relationships?: string[];
|
|
629
1081
|
// Graphql query string
|
|
630
1082
|
_query?: string;
|
|
631
1083
|
}
|
|
632
1084
|
|
|
633
|
-
export
|
|
634
|
-
|
|
1085
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersResponse {
|
|
1086
|
+
meta: PaginationMetaDTO;
|
|
1087
|
+
results: ModifierGroupToModifierRelationshipDTO[];
|
|
1088
|
+
[index: string]: any;
|
|
1089
|
+
}
|
|
635
1090
|
|
|
636
1091
|
export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest
|
|
637
1092
|
extends BaseRequest,
|
|
@@ -639,11 +1094,21 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest
|
|
|
639
1094
|
|
|
640
1095
|
// POST /menu/v3/modifier-group/relationships/modifiers
|
|
641
1096
|
|
|
642
|
-
export type PostMenuV3ModifierGroupRelationshipsModifiersBody =
|
|
643
|
-
|
|
1097
|
+
export type PostMenuV3ModifierGroupRelationshipsModifiersBody = {
|
|
1098
|
+
modifier_id: string;
|
|
1099
|
+
modifier_group_id: string;
|
|
1100
|
+
sequence?: number;
|
|
1101
|
+
id?: any;
|
|
1102
|
+
modifier?: ModifierDTO;
|
|
1103
|
+
modifier_group?: ModifierGroupDTO;
|
|
1104
|
+
[index: string]: any;
|
|
1105
|
+
}[];
|
|
644
1106
|
|
|
645
|
-
export
|
|
646
|
-
|
|
1107
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifiersResponse {
|
|
1108
|
+
meta: PaginationMetaDTO;
|
|
1109
|
+
results: ModifierGroupToModifierRelationshipDTO[];
|
|
1110
|
+
[index: string]: any;
|
|
1111
|
+
}
|
|
647
1112
|
|
|
648
1113
|
export interface PostMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest {
|
|
649
1114
|
body: PostMenuV3ModifierGroupRelationshipsModifiersBody;
|
|
@@ -651,10 +1116,18 @@ export interface PostMenuV3ModifierGroupRelationshipsModifiersRequest extends Ba
|
|
|
651
1116
|
|
|
652
1117
|
// POST /menu/v3/modifier-group/relationships/modifier
|
|
653
1118
|
|
|
654
|
-
export
|
|
1119
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifierBody {
|
|
1120
|
+
modifier_id: string;
|
|
1121
|
+
modifier_group_id: string;
|
|
1122
|
+
sequence?: number;
|
|
1123
|
+
id?: any;
|
|
1124
|
+
modifier?: ModifierDTO;
|
|
1125
|
+
modifier_group?: ModifierGroupDTO;
|
|
1126
|
+
[index: string]: any;
|
|
1127
|
+
}
|
|
655
1128
|
|
|
656
1129
|
export type PostMenuV3ModifierGroupRelationshipsModifierResponse =
|
|
657
|
-
|
|
1130
|
+
ModifierGroupToModifierRelationshipDTO;
|
|
658
1131
|
|
|
659
1132
|
export interface PostMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest {
|
|
660
1133
|
body: PostMenuV3ModifierGroupRelationshipsModifierBody;
|
|
@@ -667,12 +1140,16 @@ export interface GetMenuV3ModifierGroupRelationshipsModifierPath {
|
|
|
667
1140
|
}
|
|
668
1141
|
|
|
669
1142
|
export interface GetMenuV3ModifierGroupRelationshipsModifierQuery {
|
|
1143
|
+
// If specified, only the selected fields will be returned
|
|
1144
|
+
select?: string[];
|
|
1145
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1146
|
+
relationships?: string[];
|
|
670
1147
|
// Graphql query string
|
|
671
1148
|
_query?: string;
|
|
672
1149
|
}
|
|
673
1150
|
|
|
674
1151
|
export type GetMenuV3ModifierGroupRelationshipsModifierResponse =
|
|
675
|
-
|
|
1152
|
+
ModifierGroupToModifierRelationshipDTO;
|
|
676
1153
|
|
|
677
1154
|
export interface GetMenuV3ModifierGroupRelationshipsModifierRequest
|
|
678
1155
|
extends BaseRequest,
|
|
@@ -685,10 +1162,18 @@ export interface PatchMenuV3ModifierGroupRelationshipsModifierPath {
|
|
|
685
1162
|
id: string;
|
|
686
1163
|
}
|
|
687
1164
|
|
|
688
|
-
export
|
|
1165
|
+
export interface PatchMenuV3ModifierGroupRelationshipsModifierBody {
|
|
1166
|
+
modifier_id?: string;
|
|
1167
|
+
modifier_group_id?: string;
|
|
1168
|
+
sequence?: number;
|
|
1169
|
+
id?: string;
|
|
1170
|
+
modifier?: ModifierDTO;
|
|
1171
|
+
modifier_group?: ModifierGroupDTO;
|
|
1172
|
+
[index: string]: any;
|
|
1173
|
+
}
|
|
689
1174
|
|
|
690
1175
|
export type PatchMenuV3ModifierGroupRelationshipsModifierResponse =
|
|
691
|
-
|
|
1176
|
+
ModifierGroupToModifierRelationshipDTO;
|
|
692
1177
|
|
|
693
1178
|
export interface PatchMenuV3ModifierGroupRelationshipsModifierRequest
|
|
694
1179
|
extends BaseRequest,
|
|
@@ -696,29 +1181,98 @@ export interface PatchMenuV3ModifierGroupRelationshipsModifierRequest
|
|
|
696
1181
|
body: PatchMenuV3ModifierGroupRelationshipsModifierBody;
|
|
697
1182
|
}
|
|
698
1183
|
|
|
1184
|
+
// DELETE /menu/v3/modifier-group/relationships/modifier/{id}
|
|
1185
|
+
|
|
1186
|
+
export interface DeleteMenuV3ModifierGroupRelationshipsModifierPath {
|
|
1187
|
+
id: string;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
export type DeleteMenuV3ModifierGroupRelationshipsModifierResponse =
|
|
1191
|
+
ModifierGroupToModifierRelationshipDTO;
|
|
1192
|
+
|
|
1193
|
+
export interface DeleteMenuV3ModifierGroupRelationshipsModifierRequest
|
|
1194
|
+
extends BaseRequest,
|
|
1195
|
+
DeleteMenuV3ModifierGroupRelationshipsModifierPath {}
|
|
1196
|
+
|
|
699
1197
|
// GET /menu/v3/items
|
|
700
1198
|
|
|
701
1199
|
export interface GetMenuV3ItemsQuery {
|
|
1200
|
+
// The fields that filtering is allowed on
|
|
1201
|
+
filter?: any;
|
|
1202
|
+
// Number of records to load per page
|
|
1203
|
+
limit?: number;
|
|
1204
|
+
page?: number;
|
|
1205
|
+
// A field to sort the results based on
|
|
1206
|
+
sort_by?: string;
|
|
1207
|
+
sort_order?: string;
|
|
1208
|
+
// How soft deleted records should be shown in the list
|
|
1209
|
+
soft_deleted?: string;
|
|
1210
|
+
// If specified, only the selected fields will be returned
|
|
1211
|
+
select?: string[];
|
|
1212
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1213
|
+
relationships?: string[];
|
|
702
1214
|
// Graphql query string
|
|
703
1215
|
_query?: string;
|
|
704
1216
|
}
|
|
705
1217
|
|
|
706
|
-
export
|
|
1218
|
+
export interface GetMenuV3ItemsResponse {
|
|
1219
|
+
meta: PaginationMetaDTO;
|
|
1220
|
+
results: ItemDTO[];
|
|
1221
|
+
[index: string]: any;
|
|
1222
|
+
}
|
|
707
1223
|
|
|
708
1224
|
export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {}
|
|
709
1225
|
|
|
710
|
-
//
|
|
1226
|
+
// POST /menu/v3/items
|
|
711
1227
|
|
|
712
|
-
export
|
|
713
|
-
|
|
714
|
-
|
|
1228
|
+
export type PostMenuV3ItemsBody = {
|
|
1229
|
+
name: string;
|
|
1230
|
+
label?: string;
|
|
1231
|
+
description?: string;
|
|
1232
|
+
price: number;
|
|
1233
|
+
barcode?: string;
|
|
1234
|
+
calories?: number;
|
|
1235
|
+
priority?: number;
|
|
1236
|
+
is_active?: boolean;
|
|
1237
|
+
is_in_stock?: boolean;
|
|
1238
|
+
posid: string;
|
|
1239
|
+
tax_tags?: string[];
|
|
1240
|
+
modifier_groups?: ItemToModifierGroupRelationshipDTO[];
|
|
1241
|
+
brand_id: string;
|
|
1242
|
+
station_id?: string;
|
|
1243
|
+
id?: any;
|
|
1244
|
+
categories?: CategoryToItemRelationshipDTO[];
|
|
1245
|
+
brand?: BrandDTO;
|
|
1246
|
+
station?: StationDTO;
|
|
1247
|
+
[index: string]: any;
|
|
1248
|
+
}[];
|
|
1249
|
+
|
|
1250
|
+
export interface PostMenuV3ItemsResponse {
|
|
1251
|
+
meta: PaginationMetaDTO;
|
|
1252
|
+
results: ItemDTO[];
|
|
1253
|
+
[index: string]: any;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
export interface PostMenuV3ItemsRequest extends BaseRequest {
|
|
1257
|
+
body: PostMenuV3ItemsBody;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
// GET /menu/v3/item/{id}
|
|
1261
|
+
|
|
1262
|
+
export interface GetMenuV3ItemPath {
|
|
1263
|
+
id: string;
|
|
1264
|
+
}
|
|
715
1265
|
|
|
716
1266
|
export interface GetMenuV3ItemQuery {
|
|
1267
|
+
// If specified, only the selected fields will be returned
|
|
1268
|
+
select?: string[];
|
|
1269
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1270
|
+
relationships?: string[];
|
|
717
1271
|
// Graphql query string
|
|
718
1272
|
_query?: string;
|
|
719
1273
|
}
|
|
720
1274
|
|
|
721
|
-
export type GetMenuV3ItemResponse =
|
|
1275
|
+
export type GetMenuV3ItemResponse = ItemDTO;
|
|
722
1276
|
|
|
723
1277
|
export interface GetMenuV3ItemRequest
|
|
724
1278
|
extends BaseRequest,
|
|
@@ -731,19 +1285,69 @@ export interface PatchMenuV3ItemPath {
|
|
|
731
1285
|
id: string;
|
|
732
1286
|
}
|
|
733
1287
|
|
|
734
|
-
export
|
|
1288
|
+
export interface PatchMenuV3ItemBody {
|
|
1289
|
+
name?: string;
|
|
1290
|
+
label?: string;
|
|
1291
|
+
description?: string;
|
|
1292
|
+
price?: number;
|
|
1293
|
+
barcode?: string;
|
|
1294
|
+
calories?: number;
|
|
1295
|
+
priority?: number;
|
|
1296
|
+
is_active?: boolean;
|
|
1297
|
+
is_in_stock?: boolean;
|
|
1298
|
+
posid?: string;
|
|
1299
|
+
tax_tags?: string[];
|
|
1300
|
+
modifier_groups?: ItemToModifierGroupRelationshipDTO[];
|
|
1301
|
+
brand_id?: string;
|
|
1302
|
+
station_id?: string;
|
|
1303
|
+
id?: string;
|
|
1304
|
+
categories?: CategoryToItemRelationshipDTO[];
|
|
1305
|
+
brand?: BrandDTO;
|
|
1306
|
+
station?: StationDTO;
|
|
1307
|
+
[index: string]: any;
|
|
1308
|
+
}
|
|
735
1309
|
|
|
736
|
-
export type PatchMenuV3ItemResponse =
|
|
1310
|
+
export type PatchMenuV3ItemResponse = ItemDTO;
|
|
737
1311
|
|
|
738
1312
|
export interface PatchMenuV3ItemRequest extends BaseRequest, PatchMenuV3ItemPath {
|
|
739
1313
|
body: PatchMenuV3ItemBody;
|
|
740
1314
|
}
|
|
741
1315
|
|
|
1316
|
+
// DELETE /menu/v3/item/{id}
|
|
1317
|
+
|
|
1318
|
+
export interface DeleteMenuV3ItemPath {
|
|
1319
|
+
id: string;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
export type DeleteMenuV3ItemResponse = ItemDTO;
|
|
1323
|
+
|
|
1324
|
+
export interface DeleteMenuV3ItemRequest extends BaseRequest, DeleteMenuV3ItemPath {}
|
|
1325
|
+
|
|
742
1326
|
// POST /menu/v3/item
|
|
743
1327
|
|
|
744
|
-
export
|
|
1328
|
+
export interface PostMenuV3ItemBody {
|
|
1329
|
+
name: string;
|
|
1330
|
+
label?: string;
|
|
1331
|
+
description?: string;
|
|
1332
|
+
price: number;
|
|
1333
|
+
barcode?: string;
|
|
1334
|
+
calories?: number;
|
|
1335
|
+
priority?: number;
|
|
1336
|
+
is_active?: boolean;
|
|
1337
|
+
is_in_stock?: boolean;
|
|
1338
|
+
posid: string;
|
|
1339
|
+
tax_tags?: string[];
|
|
1340
|
+
modifier_groups?: ItemToModifierGroupRelationshipDTO[];
|
|
1341
|
+
brand_id: string;
|
|
1342
|
+
station_id?: string;
|
|
1343
|
+
id?: any;
|
|
1344
|
+
categories?: CategoryToItemRelationshipDTO[];
|
|
1345
|
+
brand?: BrandDTO;
|
|
1346
|
+
station?: StationDTO;
|
|
1347
|
+
[index: string]: any;
|
|
1348
|
+
}
|
|
745
1349
|
|
|
746
|
-
export type PostMenuV3ItemResponse =
|
|
1350
|
+
export type PostMenuV3ItemResponse = ItemDTO;
|
|
747
1351
|
|
|
748
1352
|
export interface PostMenuV3ItemRequest extends BaseRequest {
|
|
749
1353
|
body: PostMenuV3ItemBody;
|
|
@@ -752,12 +1356,15 @@ export interface PostMenuV3ItemRequest extends BaseRequest {
|
|
|
752
1356
|
// GET /menu/v3/items/count
|
|
753
1357
|
|
|
754
1358
|
export interface GetMenuV3ItemsCountQuery {
|
|
1359
|
+
// The fields that filtering is allowed on
|
|
1360
|
+
filter?: any;
|
|
755
1361
|
// Graphql query string
|
|
756
1362
|
_query?: string;
|
|
757
1363
|
}
|
|
758
1364
|
|
|
759
1365
|
export interface GetMenuV3ItemsCountResponse {
|
|
760
|
-
count
|
|
1366
|
+
count: number;
|
|
1367
|
+
[index: string]: any;
|
|
761
1368
|
}
|
|
762
1369
|
|
|
763
1370
|
export interface GetMenuV3ItemsCountRequest
|
|
@@ -767,12 +1374,29 @@ export interface GetMenuV3ItemsCountRequest
|
|
|
767
1374
|
// GET /menu/v3/item/relationships/modifier-groups
|
|
768
1375
|
|
|
769
1376
|
export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
|
|
1377
|
+
// The fields that filtering is allowed on
|
|
1378
|
+
filter?: any;
|
|
1379
|
+
// Number of records to load per page
|
|
1380
|
+
limit?: number;
|
|
1381
|
+
page?: number;
|
|
1382
|
+
// A field to sort the results based on
|
|
1383
|
+
sort_by?: string;
|
|
1384
|
+
sort_order?: string;
|
|
1385
|
+
// How soft deleted records should be shown in the list
|
|
1386
|
+
soft_deleted?: string;
|
|
1387
|
+
// If specified, only the selected fields will be returned
|
|
1388
|
+
select?: string[];
|
|
1389
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1390
|
+
relationships?: string[];
|
|
770
1391
|
// Graphql query string
|
|
771
1392
|
_query?: string;
|
|
772
1393
|
}
|
|
773
1394
|
|
|
774
|
-
export
|
|
775
|
-
|
|
1395
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsResponse {
|
|
1396
|
+
meta: PaginationMetaDTO;
|
|
1397
|
+
results: ItemToModifierGroupRelationshipDTO[];
|
|
1398
|
+
[index: string]: any;
|
|
1399
|
+
}
|
|
776
1400
|
|
|
777
1401
|
export interface GetMenuV3ItemRelationshipsModifierGroupsRequest
|
|
778
1402
|
extends BaseRequest,
|
|
@@ -780,10 +1404,21 @@ export interface GetMenuV3ItemRelationshipsModifierGroupsRequest
|
|
|
780
1404
|
|
|
781
1405
|
// POST /menu/v3/item/relationships/modifier-groups
|
|
782
1406
|
|
|
783
|
-
export type PostMenuV3ItemRelationshipsModifierGroupsBody =
|
|
1407
|
+
export type PostMenuV3ItemRelationshipsModifierGroupsBody = {
|
|
1408
|
+
modifier_group_id: string;
|
|
1409
|
+
item_id: string;
|
|
1410
|
+
sequence?: number;
|
|
1411
|
+
id?: any;
|
|
1412
|
+
modifier_group?: ModifierGroupDTO;
|
|
1413
|
+
item?: ItemDTO;
|
|
1414
|
+
[index: string]: any;
|
|
1415
|
+
}[];
|
|
784
1416
|
|
|
785
|
-
export
|
|
786
|
-
|
|
1417
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupsResponse {
|
|
1418
|
+
meta: PaginationMetaDTO;
|
|
1419
|
+
results: ItemToModifierGroupRelationshipDTO[];
|
|
1420
|
+
[index: string]: any;
|
|
1421
|
+
}
|
|
787
1422
|
|
|
788
1423
|
export interface PostMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest {
|
|
789
1424
|
body: PostMenuV3ItemRelationshipsModifierGroupsBody;
|
|
@@ -791,23 +1426,61 @@ export interface PostMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRe
|
|
|
791
1426
|
|
|
792
1427
|
// POST /menu/v3/item/relationships/modifier-group
|
|
793
1428
|
|
|
794
|
-
export
|
|
1429
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupBody {
|
|
1430
|
+
modifier_group_id: string;
|
|
1431
|
+
item_id: string;
|
|
1432
|
+
sequence?: number;
|
|
1433
|
+
id?: any;
|
|
1434
|
+
modifier_group?: ModifierGroupDTO;
|
|
1435
|
+
item?: ItemDTO;
|
|
1436
|
+
[index: string]: any;
|
|
1437
|
+
}
|
|
795
1438
|
|
|
796
|
-
export type PostMenuV3ItemRelationshipsModifierGroupResponse =
|
|
1439
|
+
export type PostMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
|
|
797
1440
|
|
|
798
1441
|
export interface PostMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest {
|
|
799
1442
|
body: PostMenuV3ItemRelationshipsModifierGroupBody;
|
|
800
1443
|
}
|
|
801
1444
|
|
|
1445
|
+
// GET /menu/v3/item/relationships/modifier-group/{id}
|
|
1446
|
+
|
|
1447
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupPath {
|
|
1448
|
+
id: string;
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupQuery {
|
|
1452
|
+
// If specified, only the selected fields will be returned
|
|
1453
|
+
select?: string[];
|
|
1454
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1455
|
+
relationships?: string[];
|
|
1456
|
+
// Graphql query string
|
|
1457
|
+
_query?: string;
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
export type GetMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
|
|
1461
|
+
|
|
1462
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupRequest
|
|
1463
|
+
extends BaseRequest,
|
|
1464
|
+
RequestQuery<GetMenuV3ItemRelationshipsModifierGroupQuery>,
|
|
1465
|
+
GetMenuV3ItemRelationshipsModifierGroupPath {}
|
|
1466
|
+
|
|
802
1467
|
// PATCH /menu/v3/item/relationships/modifier-group/{id}
|
|
803
1468
|
|
|
804
1469
|
export interface PatchMenuV3ItemRelationshipsModifierGroupPath {
|
|
805
1470
|
id: string;
|
|
806
1471
|
}
|
|
807
1472
|
|
|
808
|
-
export
|
|
1473
|
+
export interface PatchMenuV3ItemRelationshipsModifierGroupBody {
|
|
1474
|
+
modifier_group_id?: string;
|
|
1475
|
+
item_id?: string;
|
|
1476
|
+
sequence?: number;
|
|
1477
|
+
id?: string;
|
|
1478
|
+
modifier_group?: ModifierGroupDTO;
|
|
1479
|
+
item?: ItemDTO;
|
|
1480
|
+
[index: string]: any;
|
|
1481
|
+
}
|
|
809
1482
|
|
|
810
|
-
export type PatchMenuV3ItemRelationshipsModifierGroupResponse =
|
|
1483
|
+
export type PatchMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
|
|
811
1484
|
|
|
812
1485
|
export interface PatchMenuV3ItemRelationshipsModifierGroupRequest
|
|
813
1486
|
extends BaseRequest,
|
|
@@ -821,308 +1494,833 @@ export interface DeleteMenuV3ItemRelationshipsModifierGroupPath {
|
|
|
821
1494
|
id: string;
|
|
822
1495
|
}
|
|
823
1496
|
|
|
824
|
-
export type DeleteMenuV3ItemRelationshipsModifierGroupResponse =
|
|
1497
|
+
export type DeleteMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
|
|
825
1498
|
|
|
826
1499
|
export interface DeleteMenuV3ItemRelationshipsModifierGroupRequest
|
|
827
1500
|
extends BaseRequest,
|
|
828
1501
|
DeleteMenuV3ItemRelationshipsModifierGroupPath {}
|
|
829
1502
|
|
|
830
|
-
// GET /menu/v3/
|
|
1503
|
+
// GET /menu/v3/layouts
|
|
831
1504
|
|
|
832
|
-
export interface
|
|
1505
|
+
export interface GetMenuV3LayoutsQuery {
|
|
1506
|
+
// The fields that filtering is allowed on
|
|
1507
|
+
filter?: any;
|
|
1508
|
+
// Number of records to load per page
|
|
1509
|
+
limit?: number;
|
|
1510
|
+
page?: number;
|
|
1511
|
+
// A field to sort the results based on
|
|
1512
|
+
sort_by?: string;
|
|
1513
|
+
sort_order?: string;
|
|
1514
|
+
// How soft deleted records should be shown in the list
|
|
1515
|
+
soft_deleted?: string;
|
|
1516
|
+
// If specified, only the selected fields will be returned
|
|
1517
|
+
select?: string[];
|
|
1518
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1519
|
+
relationships?: string[];
|
|
833
1520
|
// Graphql query string
|
|
834
1521
|
_query?: string;
|
|
835
1522
|
}
|
|
836
1523
|
|
|
837
|
-
export
|
|
1524
|
+
export interface GetMenuV3LayoutsResponse {
|
|
1525
|
+
meta: PaginationMetaDTO;
|
|
1526
|
+
results: LayoutDTO[];
|
|
1527
|
+
[index: string]: any;
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
export interface GetMenuV3LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsQuery> {}
|
|
1531
|
+
|
|
1532
|
+
// POST /menu/v3/layouts
|
|
1533
|
+
|
|
1534
|
+
export type PostMenuV3LayoutsBody = {
|
|
1535
|
+
name: string;
|
|
1536
|
+
categories?: CategoryDTO[];
|
|
1537
|
+
brand_id: string;
|
|
1538
|
+
station_id: string;
|
|
1539
|
+
id?: any;
|
|
1540
|
+
brand?: BrandDTO;
|
|
1541
|
+
station?: StationDTO;
|
|
1542
|
+
[index: string]: any;
|
|
1543
|
+
}[];
|
|
1544
|
+
|
|
1545
|
+
export interface PostMenuV3LayoutsResponse {
|
|
1546
|
+
meta: PaginationMetaDTO;
|
|
1547
|
+
results: LayoutDTO[];
|
|
1548
|
+
[index: string]: any;
|
|
1549
|
+
}
|
|
838
1550
|
|
|
839
|
-
export interface
|
|
1551
|
+
export interface PostMenuV3LayoutsRequest extends BaseRequest {
|
|
1552
|
+
body: PostMenuV3LayoutsBody;
|
|
1553
|
+
}
|
|
840
1554
|
|
|
841
|
-
// GET /menu/v3/
|
|
1555
|
+
// GET /menu/v3/layout/{id}/categories
|
|
842
1556
|
|
|
843
|
-
export interface
|
|
1557
|
+
export interface GetMenuV3LayoutCategoriesPath {
|
|
844
1558
|
id: string;
|
|
845
1559
|
}
|
|
846
1560
|
|
|
847
|
-
export interface
|
|
1561
|
+
export interface GetMenuV3LayoutCategoriesQuery {
|
|
1562
|
+
// The fields that filtering is allowed on
|
|
1563
|
+
filter?: any;
|
|
1564
|
+
// Number of records to load per page
|
|
1565
|
+
limit?: number;
|
|
1566
|
+
page?: number;
|
|
1567
|
+
// A field to sort the results based on
|
|
1568
|
+
sort_by?: string;
|
|
1569
|
+
sort_order?: string;
|
|
1570
|
+
// How soft deleted records should be shown in the list
|
|
1571
|
+
soft_deleted?: string;
|
|
1572
|
+
// If specified, only the selected fields will be returned
|
|
1573
|
+
select?: string[];
|
|
1574
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1575
|
+
relationships?: string[];
|
|
848
1576
|
// Graphql query string
|
|
849
1577
|
_query?: string;
|
|
850
1578
|
}
|
|
851
1579
|
|
|
852
|
-
export
|
|
1580
|
+
export interface GetMenuV3LayoutCategoriesResponse {
|
|
1581
|
+
meta: PaginationMetaDTO;
|
|
1582
|
+
results: CategoryDTO[];
|
|
1583
|
+
[index: string]: any;
|
|
1584
|
+
}
|
|
853
1585
|
|
|
854
|
-
export interface
|
|
1586
|
+
export interface GetMenuV3LayoutCategoriesRequest
|
|
855
1587
|
extends BaseRequest,
|
|
856
|
-
RequestQuery<
|
|
857
|
-
|
|
1588
|
+
RequestQuery<GetMenuV3LayoutCategoriesQuery>,
|
|
1589
|
+
GetMenuV3LayoutCategoriesPath {}
|
|
858
1590
|
|
|
859
|
-
//
|
|
1591
|
+
// GET /menu/v3/layout/{id}
|
|
860
1592
|
|
|
861
|
-
export interface
|
|
1593
|
+
export interface GetMenuV3LayoutPath {
|
|
862
1594
|
id: string;
|
|
863
1595
|
}
|
|
864
1596
|
|
|
865
|
-
export
|
|
1597
|
+
export interface GetMenuV3LayoutQuery {
|
|
1598
|
+
// If specified, only the selected fields will be returned
|
|
1599
|
+
select?: string[];
|
|
1600
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1601
|
+
relationships?: string[];
|
|
1602
|
+
// Graphql query string
|
|
1603
|
+
_query?: string;
|
|
1604
|
+
}
|
|
866
1605
|
|
|
867
|
-
export type
|
|
1606
|
+
export type GetMenuV3LayoutResponse = LayoutDTO;
|
|
868
1607
|
|
|
869
|
-
export interface
|
|
870
|
-
|
|
1608
|
+
export interface GetMenuV3LayoutRequest
|
|
1609
|
+
extends BaseRequest,
|
|
1610
|
+
RequestQuery<GetMenuV3LayoutQuery>,
|
|
1611
|
+
GetMenuV3LayoutPath {}
|
|
1612
|
+
|
|
1613
|
+
// PATCH /menu/v3/layout/{id}
|
|
1614
|
+
|
|
1615
|
+
export interface PatchMenuV3LayoutPath {
|
|
1616
|
+
id: string;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
export interface PatchMenuV3LayoutBody {
|
|
1620
|
+
name?: string;
|
|
1621
|
+
categories?: CategoryDTO[];
|
|
1622
|
+
brand_id?: string;
|
|
1623
|
+
station_id?: string;
|
|
1624
|
+
id?: string;
|
|
1625
|
+
brand?: BrandDTO;
|
|
1626
|
+
station?: StationDTO;
|
|
1627
|
+
[index: string]: any;
|
|
871
1628
|
}
|
|
872
1629
|
|
|
873
|
-
|
|
1630
|
+
export type PatchMenuV3LayoutResponse = LayoutDTO;
|
|
1631
|
+
|
|
1632
|
+
export interface PatchMenuV3LayoutRequest extends BaseRequest, PatchMenuV3LayoutPath {
|
|
1633
|
+
body: PatchMenuV3LayoutBody;
|
|
1634
|
+
}
|
|
874
1635
|
|
|
875
|
-
|
|
1636
|
+
// DELETE /menu/v3/layout/{id}
|
|
1637
|
+
|
|
1638
|
+
export interface DeleteMenuV3LayoutPath {
|
|
876
1639
|
id: string;
|
|
877
1640
|
}
|
|
878
1641
|
|
|
879
|
-
export type
|
|
1642
|
+
export type DeleteMenuV3LayoutResponse = LayoutDTO;
|
|
880
1643
|
|
|
881
|
-
export interface
|
|
1644
|
+
export interface DeleteMenuV3LayoutRequest extends BaseRequest, DeleteMenuV3LayoutPath {}
|
|
882
1645
|
|
|
883
|
-
// POST /menu/v3/
|
|
1646
|
+
// POST /menu/v3/layout
|
|
884
1647
|
|
|
885
|
-
export
|
|
1648
|
+
export interface PostMenuV3LayoutBody {
|
|
1649
|
+
name: string;
|
|
1650
|
+
categories?: CategoryDTO[];
|
|
1651
|
+
brand_id: string;
|
|
1652
|
+
station_id: string;
|
|
1653
|
+
id?: any;
|
|
1654
|
+
brand?: any;
|
|
1655
|
+
station?: any;
|
|
1656
|
+
[index: string]: any;
|
|
1657
|
+
}
|
|
886
1658
|
|
|
887
|
-
export type
|
|
1659
|
+
export type PostMenuV3LayoutResponse = LayoutDTO;
|
|
888
1660
|
|
|
889
|
-
export interface
|
|
890
|
-
body:
|
|
1661
|
+
export interface PostMenuV3LayoutRequest extends BaseRequest {
|
|
1662
|
+
body: PostMenuV3LayoutBody;
|
|
891
1663
|
}
|
|
892
1664
|
|
|
893
|
-
// GET /menu/v3/
|
|
1665
|
+
// GET /menu/v3/layouts/count
|
|
894
1666
|
|
|
895
|
-
export interface
|
|
1667
|
+
export interface GetMenuV3LayoutsCountQuery {
|
|
1668
|
+
// The fields that filtering is allowed on
|
|
1669
|
+
filter?: any;
|
|
896
1670
|
// Graphql query string
|
|
897
1671
|
_query?: string;
|
|
898
1672
|
}
|
|
899
1673
|
|
|
900
|
-
export interface
|
|
901
|
-
count
|
|
1674
|
+
export interface GetMenuV3LayoutsCountResponse {
|
|
1675
|
+
count: number;
|
|
1676
|
+
[index: string]: any;
|
|
902
1677
|
}
|
|
903
1678
|
|
|
904
|
-
export interface
|
|
1679
|
+
export interface GetMenuV3LayoutsCountRequest
|
|
905
1680
|
extends BaseRequest,
|
|
906
|
-
RequestQuery<
|
|
1681
|
+
RequestQuery<GetMenuV3LayoutsCountQuery> {}
|
|
907
1682
|
|
|
908
|
-
// GET /menu/v3/
|
|
1683
|
+
// GET /menu/v3/categories
|
|
909
1684
|
|
|
910
|
-
export interface
|
|
1685
|
+
export interface GetMenuV3CategoriesQuery {
|
|
1686
|
+
// The fields that filtering is allowed on
|
|
1687
|
+
filter?: any;
|
|
1688
|
+
// Number of records to load per page
|
|
1689
|
+
limit?: number;
|
|
1690
|
+
page?: number;
|
|
1691
|
+
// A field to sort the results based on
|
|
1692
|
+
sort_by?: string;
|
|
1693
|
+
sort_order?: string;
|
|
1694
|
+
// How soft deleted records should be shown in the list
|
|
1695
|
+
soft_deleted?: string;
|
|
1696
|
+
// If specified, only the selected fields will be returned
|
|
1697
|
+
select?: string[];
|
|
1698
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1699
|
+
relationships?: string[];
|
|
911
1700
|
// Graphql query string
|
|
912
1701
|
_query?: string;
|
|
913
1702
|
}
|
|
914
1703
|
|
|
915
|
-
export
|
|
1704
|
+
export interface GetMenuV3CategoriesResponse {
|
|
1705
|
+
meta: PaginationMetaDTO;
|
|
1706
|
+
results: CategoryDTO[];
|
|
1707
|
+
[index: string]: any;
|
|
1708
|
+
}
|
|
916
1709
|
|
|
917
|
-
export interface
|
|
1710
|
+
export interface GetMenuV3CategoriesRequest
|
|
1711
|
+
extends BaseRequest,
|
|
1712
|
+
RequestQuery<GetMenuV3CategoriesQuery> {}
|
|
918
1713
|
|
|
919
|
-
// GET /menu/v3/
|
|
1714
|
+
// GET /menu/v3/category/{id}
|
|
920
1715
|
|
|
921
|
-
export interface
|
|
1716
|
+
export interface GetMenuV3CategoryPath {
|
|
922
1717
|
id: string;
|
|
923
1718
|
}
|
|
924
1719
|
|
|
925
|
-
export interface
|
|
1720
|
+
export interface GetMenuV3CategoryQuery {
|
|
1721
|
+
// If specified, only the selected fields will be returned
|
|
1722
|
+
select?: string[];
|
|
1723
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1724
|
+
relationships?: string[];
|
|
926
1725
|
// Graphql query string
|
|
927
1726
|
_query?: string;
|
|
928
1727
|
}
|
|
929
1728
|
|
|
930
|
-
export type
|
|
1729
|
+
export type GetMenuV3CategoryResponse = CategoryDTO;
|
|
931
1730
|
|
|
932
|
-
export interface
|
|
1731
|
+
export interface GetMenuV3CategoryRequest
|
|
933
1732
|
extends BaseRequest,
|
|
934
|
-
RequestQuery<
|
|
935
|
-
|
|
1733
|
+
RequestQuery<GetMenuV3CategoryQuery>,
|
|
1734
|
+
GetMenuV3CategoryPath {}
|
|
936
1735
|
|
|
937
|
-
// PATCH /menu/v3/
|
|
1736
|
+
// PATCH /menu/v3/category/{id}
|
|
938
1737
|
|
|
939
|
-
export interface
|
|
1738
|
+
export interface PatchMenuV3CategoryPath {
|
|
940
1739
|
id: string;
|
|
941
1740
|
}
|
|
942
1741
|
|
|
943
|
-
export
|
|
1742
|
+
export interface PatchMenuV3CategoryBody {
|
|
1743
|
+
name?: string;
|
|
1744
|
+
label?: string;
|
|
1745
|
+
sequence?: number;
|
|
1746
|
+
priority?: number;
|
|
1747
|
+
is_active?: boolean;
|
|
1748
|
+
layout_id?: string;
|
|
1749
|
+
id?: string;
|
|
1750
|
+
layout?: LayoutDTO;
|
|
1751
|
+
items?: CategoryToItemRelationshipDTO[];
|
|
1752
|
+
[index: string]: any;
|
|
1753
|
+
}
|
|
944
1754
|
|
|
945
|
-
export type
|
|
1755
|
+
export type PatchMenuV3CategoryResponse = CategoryDTO;
|
|
946
1756
|
|
|
947
|
-
export interface
|
|
948
|
-
body:
|
|
1757
|
+
export interface PatchMenuV3CategoryRequest extends BaseRequest, PatchMenuV3CategoryPath {
|
|
1758
|
+
body: PatchMenuV3CategoryBody;
|
|
949
1759
|
}
|
|
950
1760
|
|
|
951
|
-
// DELETE /menu/v3/
|
|
1761
|
+
// DELETE /menu/v3/category/{id}
|
|
952
1762
|
|
|
953
|
-
export interface
|
|
1763
|
+
export interface DeleteMenuV3CategoryPath {
|
|
954
1764
|
id: string;
|
|
955
1765
|
}
|
|
956
1766
|
|
|
957
|
-
export type
|
|
1767
|
+
export type DeleteMenuV3CategoryResponse = CategoryDTO;
|
|
958
1768
|
|
|
959
|
-
export interface
|
|
1769
|
+
export interface DeleteMenuV3CategoryRequest extends BaseRequest, DeleteMenuV3CategoryPath {}
|
|
960
1770
|
|
|
961
|
-
// POST /menu/v3/
|
|
1771
|
+
// POST /menu/v3/category
|
|
1772
|
+
|
|
1773
|
+
export interface PostMenuV3CategoryBody {
|
|
1774
|
+
name: string;
|
|
1775
|
+
label?: string;
|
|
1776
|
+
sequence?: number;
|
|
1777
|
+
priority?: number;
|
|
1778
|
+
is_active?: boolean;
|
|
1779
|
+
layout_id: string;
|
|
1780
|
+
id?: any;
|
|
1781
|
+
layout?: LayoutDTO;
|
|
1782
|
+
items?: CategoryToItemRelationshipDTO[];
|
|
1783
|
+
[index: string]: any;
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
export type PostMenuV3CategoryResponse = CategoryDTO;
|
|
1787
|
+
|
|
1788
|
+
export interface PostMenuV3CategoryRequest extends BaseRequest {
|
|
1789
|
+
body: PostMenuV3CategoryBody;
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
// GET /menu/v3/categories/count
|
|
1793
|
+
|
|
1794
|
+
export interface GetMenuV3CategoriesCountQuery {
|
|
1795
|
+
// The fields that filtering is allowed on
|
|
1796
|
+
filter?: any;
|
|
1797
|
+
// Graphql query string
|
|
1798
|
+
_query?: string;
|
|
1799
|
+
}
|
|
962
1800
|
|
|
963
|
-
export
|
|
1801
|
+
export interface GetMenuV3CategoriesCountResponse {
|
|
1802
|
+
count: number;
|
|
1803
|
+
[index: string]: any;
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
export interface GetMenuV3CategoriesCountRequest
|
|
1807
|
+
extends BaseRequest,
|
|
1808
|
+
RequestQuery<GetMenuV3CategoriesCountQuery> {}
|
|
1809
|
+
|
|
1810
|
+
// GET /menu/v3/category/relationships/items
|
|
1811
|
+
|
|
1812
|
+
export interface GetMenuV3CategoryRelationshipsItemsQuery {
|
|
1813
|
+
// The fields that filtering is allowed on
|
|
1814
|
+
filter?: any;
|
|
1815
|
+
// Number of records to load per page
|
|
1816
|
+
limit?: number;
|
|
1817
|
+
page?: number;
|
|
1818
|
+
// A field to sort the results based on
|
|
1819
|
+
sort_by?: string;
|
|
1820
|
+
sort_order?: string;
|
|
1821
|
+
// How soft deleted records should be shown in the list
|
|
1822
|
+
soft_deleted?: string;
|
|
1823
|
+
// If specified, only the selected fields will be returned
|
|
1824
|
+
select?: string[];
|
|
1825
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1826
|
+
relationships?: string[];
|
|
1827
|
+
// Graphql query string
|
|
1828
|
+
_query?: string;
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
export interface GetMenuV3CategoryRelationshipsItemsResponse {
|
|
1832
|
+
meta: PaginationMetaDTO;
|
|
1833
|
+
results: CategoryToItemRelationshipDTO[];
|
|
1834
|
+
[index: string]: any;
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
export interface GetMenuV3CategoryRelationshipsItemsRequest
|
|
1838
|
+
extends BaseRequest,
|
|
1839
|
+
RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {}
|
|
1840
|
+
|
|
1841
|
+
// POST /menu/v3/category/relationships/items
|
|
1842
|
+
|
|
1843
|
+
export type PostMenuV3CategoryRelationshipsItemsBody = {
|
|
1844
|
+
category_id: string;
|
|
1845
|
+
item_id: string;
|
|
1846
|
+
sequence?: number;
|
|
1847
|
+
id?: any;
|
|
1848
|
+
category?: CategoryDTO;
|
|
1849
|
+
item?: ItemDTO;
|
|
1850
|
+
[index: string]: any;
|
|
1851
|
+
}[];
|
|
1852
|
+
|
|
1853
|
+
export interface PostMenuV3CategoryRelationshipsItemsResponse {
|
|
1854
|
+
meta: PaginationMetaDTO;
|
|
1855
|
+
results: CategoryToItemRelationshipDTO[];
|
|
1856
|
+
[index: string]: any;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
export interface PostMenuV3CategoryRelationshipsItemsRequest extends BaseRequest {
|
|
1860
|
+
body: PostMenuV3CategoryRelationshipsItemsBody;
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
// POST /menu/v3/category/relationships/item
|
|
1864
|
+
|
|
1865
|
+
export interface PostMenuV3CategoryRelationshipsItemBody {
|
|
1866
|
+
category_id: string;
|
|
1867
|
+
item_id: string;
|
|
1868
|
+
sequence?: number;
|
|
1869
|
+
id?: any;
|
|
1870
|
+
category?: CategoryDTO;
|
|
1871
|
+
item?: ItemDTO;
|
|
1872
|
+
[index: string]: any;
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
export type PostMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
|
|
1876
|
+
|
|
1877
|
+
export interface PostMenuV3CategoryRelationshipsItemRequest extends BaseRequest {
|
|
1878
|
+
body: PostMenuV3CategoryRelationshipsItemBody;
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
// GET /menu/v3/category/relationships/item/{id}
|
|
1882
|
+
|
|
1883
|
+
export interface GetMenuV3CategoryRelationshipsItemPath {
|
|
1884
|
+
id: string;
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
export interface GetMenuV3CategoryRelationshipsItemQuery {
|
|
1888
|
+
// If specified, only the selected fields will be returned
|
|
1889
|
+
select?: string[];
|
|
1890
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1891
|
+
relationships?: string[];
|
|
1892
|
+
// Graphql query string
|
|
1893
|
+
_query?: string;
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
export type GetMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
|
|
1897
|
+
|
|
1898
|
+
export interface GetMenuV3CategoryRelationshipsItemRequest
|
|
1899
|
+
extends BaseRequest,
|
|
1900
|
+
RequestQuery<GetMenuV3CategoryRelationshipsItemQuery>,
|
|
1901
|
+
GetMenuV3CategoryRelationshipsItemPath {}
|
|
1902
|
+
|
|
1903
|
+
// PATCH /menu/v3/category/relationships/item/{id}
|
|
1904
|
+
|
|
1905
|
+
export interface PatchMenuV3CategoryRelationshipsItemPath {
|
|
1906
|
+
id: string;
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
export interface PatchMenuV3CategoryRelationshipsItemBody {
|
|
1910
|
+
category_id?: string;
|
|
1911
|
+
item_id?: string;
|
|
1912
|
+
sequence?: number;
|
|
1913
|
+
id?: string;
|
|
1914
|
+
category?: CategoryDTO;
|
|
1915
|
+
item?: ItemDTO;
|
|
1916
|
+
[index: string]: any;
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
export type PatchMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
|
|
1920
|
+
|
|
1921
|
+
export interface PatchMenuV3CategoryRelationshipsItemRequest
|
|
1922
|
+
extends BaseRequest,
|
|
1923
|
+
PatchMenuV3CategoryRelationshipsItemPath {
|
|
1924
|
+
body: PatchMenuV3CategoryRelationshipsItemBody;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
// DELETE /menu/v3/category/relationships/item/{id}
|
|
1928
|
+
|
|
1929
|
+
export interface DeleteMenuV3CategoryRelationshipsItemPath {
|
|
1930
|
+
id: string;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
export type DeleteMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
|
|
1934
|
+
|
|
1935
|
+
export interface DeleteMenuV3CategoryRelationshipsItemRequest
|
|
1936
|
+
extends BaseRequest,
|
|
1937
|
+
DeleteMenuV3CategoryRelationshipsItemPath {}
|
|
1938
|
+
|
|
1939
|
+
// GET /menu/v3/brands
|
|
1940
|
+
|
|
1941
|
+
export interface GetMenuV3BrandsQuery {
|
|
1942
|
+
// The fields that filtering is allowed on
|
|
1943
|
+
filter?: any;
|
|
1944
|
+
// Number of records to load per page
|
|
1945
|
+
limit?: number;
|
|
1946
|
+
page?: number;
|
|
1947
|
+
// A field to sort the results based on
|
|
1948
|
+
sort_by?: string;
|
|
1949
|
+
sort_order?: string;
|
|
1950
|
+
// How soft deleted records should be shown in the list
|
|
1951
|
+
soft_deleted?: string;
|
|
1952
|
+
// If specified, only the selected fields will be returned
|
|
1953
|
+
select?: string[];
|
|
1954
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1955
|
+
relationships?: string[];
|
|
1956
|
+
// Graphql query string
|
|
1957
|
+
_query?: string;
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
export interface GetMenuV3BrandsResponse {
|
|
1961
|
+
meta: PaginationMetaDTO;
|
|
1962
|
+
results: BrandDTO[];
|
|
1963
|
+
[index: string]: any;
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
export interface GetMenuV3BrandsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsQuery> {}
|
|
1967
|
+
|
|
1968
|
+
// POST /menu/v3/brands
|
|
1969
|
+
|
|
1970
|
+
export type PostMenuV3BrandsBody = {
|
|
1971
|
+
layouts?: LayoutDTO[];
|
|
1972
|
+
items?: ItemDTO[];
|
|
1973
|
+
modifier_groups?: ModifierGroupDTO[];
|
|
1974
|
+
modifiers?: ModifierDTO[];
|
|
1975
|
+
id?: any;
|
|
1976
|
+
[index: string]: any;
|
|
1977
|
+
}[];
|
|
1978
|
+
|
|
1979
|
+
export interface PostMenuV3BrandsResponse {
|
|
1980
|
+
meta: PaginationMetaDTO;
|
|
1981
|
+
results: BrandDTO[];
|
|
1982
|
+
[index: string]: any;
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
export interface PostMenuV3BrandsRequest extends BaseRequest {
|
|
1986
|
+
body: PostMenuV3BrandsBody;
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1989
|
+
// GET /menu/v3/brand/{id}/modifiers
|
|
1990
|
+
|
|
1991
|
+
export interface GetMenuV3BrandModifiersPath {
|
|
1992
|
+
id: string;
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1995
|
+
export interface GetMenuV3BrandModifiersQuery {
|
|
1996
|
+
// The fields that filtering is allowed on
|
|
1997
|
+
filter?: any;
|
|
1998
|
+
// Number of records to load per page
|
|
1999
|
+
limit?: number;
|
|
2000
|
+
page?: number;
|
|
2001
|
+
// A field to sort the results based on
|
|
2002
|
+
sort_by?: string;
|
|
2003
|
+
sort_order?: string;
|
|
2004
|
+
// How soft deleted records should be shown in the list
|
|
2005
|
+
soft_deleted?: string;
|
|
2006
|
+
// If specified, only the selected fields will be returned
|
|
2007
|
+
select?: string[];
|
|
2008
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2009
|
+
relationships?: string[];
|
|
2010
|
+
// Graphql query string
|
|
2011
|
+
_query?: string;
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
export interface GetMenuV3BrandModifiersResponse {
|
|
2015
|
+
meta: PaginationMetaDTO;
|
|
2016
|
+
results: ModifierDTO[];
|
|
2017
|
+
[index: string]: any;
|
|
2018
|
+
}
|
|
2019
|
+
|
|
2020
|
+
export interface GetMenuV3BrandModifiersRequest
|
|
2021
|
+
extends BaseRequest,
|
|
2022
|
+
RequestQuery<GetMenuV3BrandModifiersQuery>,
|
|
2023
|
+
GetMenuV3BrandModifiersPath {}
|
|
964
2024
|
|
|
965
|
-
|
|
2025
|
+
// GET /menu/v3/brand/{id}/modifier_groups
|
|
966
2026
|
|
|
967
|
-
export interface
|
|
968
|
-
|
|
2027
|
+
export interface GetMenuV3BrandModifierGroupsPath {
|
|
2028
|
+
id: string;
|
|
969
2029
|
}
|
|
970
2030
|
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
2031
|
+
export interface GetMenuV3BrandModifierGroupsQuery {
|
|
2032
|
+
// The fields that filtering is allowed on
|
|
2033
|
+
filter?: any;
|
|
2034
|
+
// Number of records to load per page
|
|
2035
|
+
limit?: number;
|
|
2036
|
+
page?: number;
|
|
2037
|
+
// A field to sort the results based on
|
|
2038
|
+
sort_by?: string;
|
|
2039
|
+
sort_order?: string;
|
|
2040
|
+
// How soft deleted records should be shown in the list
|
|
2041
|
+
soft_deleted?: string;
|
|
2042
|
+
// If specified, only the selected fields will be returned
|
|
2043
|
+
select?: string[];
|
|
2044
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2045
|
+
relationships?: string[];
|
|
974
2046
|
// Graphql query string
|
|
975
2047
|
_query?: string;
|
|
976
2048
|
}
|
|
977
2049
|
|
|
978
|
-
export interface
|
|
979
|
-
|
|
2050
|
+
export interface GetMenuV3BrandModifierGroupsResponse {
|
|
2051
|
+
meta: PaginationMetaDTO;
|
|
2052
|
+
results: ModifierGroupDTO[];
|
|
2053
|
+
[index: string]: any;
|
|
980
2054
|
}
|
|
981
2055
|
|
|
982
|
-
export interface
|
|
2056
|
+
export interface GetMenuV3BrandModifierGroupsRequest
|
|
983
2057
|
extends BaseRequest,
|
|
984
|
-
RequestQuery<
|
|
2058
|
+
RequestQuery<GetMenuV3BrandModifierGroupsQuery>,
|
|
2059
|
+
GetMenuV3BrandModifierGroupsPath {}
|
|
985
2060
|
|
|
986
|
-
// GET /menu/v3/
|
|
2061
|
+
// GET /menu/v3/brand/{id}/items
|
|
987
2062
|
|
|
988
|
-
export interface
|
|
2063
|
+
export interface GetMenuV3BrandItemsPath {
|
|
2064
|
+
id: string;
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
export interface GetMenuV3BrandItemsQuery {
|
|
2068
|
+
// The fields that filtering is allowed on
|
|
2069
|
+
filter?: any;
|
|
2070
|
+
// Number of records to load per page
|
|
2071
|
+
limit?: number;
|
|
2072
|
+
page?: number;
|
|
2073
|
+
// A field to sort the results based on
|
|
2074
|
+
sort_by?: string;
|
|
2075
|
+
sort_order?: string;
|
|
2076
|
+
// How soft deleted records should be shown in the list
|
|
2077
|
+
soft_deleted?: string;
|
|
2078
|
+
// If specified, only the selected fields will be returned
|
|
2079
|
+
select?: string[];
|
|
2080
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2081
|
+
relationships?: string[];
|
|
989
2082
|
// Graphql query string
|
|
990
2083
|
_query?: string;
|
|
991
2084
|
}
|
|
992
2085
|
|
|
993
|
-
export
|
|
2086
|
+
export interface GetMenuV3BrandItemsResponse {
|
|
2087
|
+
meta: PaginationMetaDTO;
|
|
2088
|
+
results: ItemDTO[];
|
|
2089
|
+
[index: string]: any;
|
|
2090
|
+
}
|
|
994
2091
|
|
|
995
|
-
export interface
|
|
2092
|
+
export interface GetMenuV3BrandItemsRequest
|
|
996
2093
|
extends BaseRequest,
|
|
997
|
-
RequestQuery<
|
|
2094
|
+
RequestQuery<GetMenuV3BrandItemsQuery>,
|
|
2095
|
+
GetMenuV3BrandItemsPath {}
|
|
998
2096
|
|
|
999
|
-
// GET /menu/v3/
|
|
2097
|
+
// GET /menu/v3/brand/{id}
|
|
1000
2098
|
|
|
1001
|
-
export interface
|
|
2099
|
+
export interface GetMenuV3BrandPath {
|
|
1002
2100
|
id: string;
|
|
1003
2101
|
}
|
|
1004
2102
|
|
|
1005
|
-
export interface
|
|
2103
|
+
export interface GetMenuV3BrandQuery {
|
|
2104
|
+
// If specified, only the selected fields will be returned
|
|
2105
|
+
select?: string[];
|
|
2106
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2107
|
+
relationships?: string[];
|
|
1006
2108
|
// Graphql query string
|
|
1007
2109
|
_query?: string;
|
|
1008
2110
|
}
|
|
1009
2111
|
|
|
1010
|
-
export type
|
|
2112
|
+
export type GetMenuV3BrandResponse = BrandDTO;
|
|
1011
2113
|
|
|
1012
|
-
export interface
|
|
2114
|
+
export interface GetMenuV3BrandRequest
|
|
1013
2115
|
extends BaseRequest,
|
|
1014
|
-
RequestQuery<
|
|
1015
|
-
|
|
2116
|
+
RequestQuery<GetMenuV3BrandQuery>,
|
|
2117
|
+
GetMenuV3BrandPath {}
|
|
1016
2118
|
|
|
1017
|
-
// PATCH /menu/v3/
|
|
2119
|
+
// PATCH /menu/v3/brand/{id}
|
|
1018
2120
|
|
|
1019
|
-
export interface
|
|
2121
|
+
export interface PatchMenuV3BrandPath {
|
|
1020
2122
|
id: string;
|
|
1021
2123
|
}
|
|
1022
2124
|
|
|
1023
|
-
export
|
|
2125
|
+
export interface PatchMenuV3BrandBody {
|
|
2126
|
+
layouts?: LayoutDTO[];
|
|
2127
|
+
items?: ItemDTO[];
|
|
2128
|
+
modifier_groups?: ModifierGroupDTO[];
|
|
2129
|
+
modifiers?: ModifierDTO[];
|
|
2130
|
+
id?: string;
|
|
2131
|
+
[index: string]: any;
|
|
2132
|
+
}
|
|
1024
2133
|
|
|
1025
|
-
export type
|
|
2134
|
+
export type PatchMenuV3BrandResponse = BrandDTO;
|
|
1026
2135
|
|
|
1027
|
-
export interface
|
|
1028
|
-
body:
|
|
2136
|
+
export interface PatchMenuV3BrandRequest extends BaseRequest, PatchMenuV3BrandPath {
|
|
2137
|
+
body: PatchMenuV3BrandBody;
|
|
1029
2138
|
}
|
|
1030
2139
|
|
|
1031
|
-
// DELETE /menu/v3/
|
|
2140
|
+
// DELETE /menu/v3/brand/{id}
|
|
1032
2141
|
|
|
1033
|
-
export interface
|
|
2142
|
+
export interface DeleteMenuV3BrandPath {
|
|
1034
2143
|
id: string;
|
|
1035
2144
|
}
|
|
1036
2145
|
|
|
1037
|
-
export type
|
|
2146
|
+
export type DeleteMenuV3BrandResponse = BrandDTO;
|
|
1038
2147
|
|
|
1039
|
-
export interface
|
|
2148
|
+
export interface DeleteMenuV3BrandRequest extends BaseRequest, DeleteMenuV3BrandPath {}
|
|
1040
2149
|
|
|
1041
|
-
// POST /menu/v3/
|
|
2150
|
+
// POST /menu/v3/brand
|
|
1042
2151
|
|
|
1043
|
-
export
|
|
2152
|
+
export interface PostMenuV3BrandBody {
|
|
2153
|
+
layouts?: LayoutDTO[];
|
|
2154
|
+
items?: ItemDTO[];
|
|
2155
|
+
modifier_groups?: ModifierGroupDTO[];
|
|
2156
|
+
modifiers?: ModifierDTO[];
|
|
2157
|
+
id?: any;
|
|
2158
|
+
[index: string]: any;
|
|
2159
|
+
}
|
|
1044
2160
|
|
|
1045
|
-
export type
|
|
2161
|
+
export type PostMenuV3BrandResponse = BrandDTO;
|
|
1046
2162
|
|
|
1047
|
-
export interface
|
|
1048
|
-
body:
|
|
2163
|
+
export interface PostMenuV3BrandRequest extends BaseRequest {
|
|
2164
|
+
body: PostMenuV3BrandBody;
|
|
1049
2165
|
}
|
|
1050
2166
|
|
|
1051
|
-
// GET /menu/v3/
|
|
2167
|
+
// GET /menu/v3/brands/count
|
|
1052
2168
|
|
|
1053
|
-
export interface
|
|
2169
|
+
export interface GetMenuV3BrandsCountQuery {
|
|
2170
|
+
// The fields that filtering is allowed on
|
|
2171
|
+
filter?: any;
|
|
1054
2172
|
// Graphql query string
|
|
1055
2173
|
_query?: string;
|
|
1056
2174
|
}
|
|
1057
2175
|
|
|
1058
|
-
export interface
|
|
1059
|
-
count
|
|
2176
|
+
export interface GetMenuV3BrandsCountResponse {
|
|
2177
|
+
count: number;
|
|
2178
|
+
[index: string]: any;
|
|
1060
2179
|
}
|
|
1061
2180
|
|
|
1062
|
-
export interface
|
|
2181
|
+
export interface GetMenuV3BrandsCountRequest
|
|
1063
2182
|
extends BaseRequest,
|
|
1064
|
-
RequestQuery<
|
|
2183
|
+
RequestQuery<GetMenuV3BrandsCountQuery> {}
|
|
1065
2184
|
|
|
1066
|
-
// GET /menu/v3/
|
|
2185
|
+
// GET /menu/v3/stations
|
|
1067
2186
|
|
|
1068
|
-
export interface
|
|
2187
|
+
export interface GetMenuV3StationsQuery {
|
|
2188
|
+
// The fields that filtering is allowed on
|
|
2189
|
+
filter?: any;
|
|
2190
|
+
// Number of records to load per page
|
|
2191
|
+
limit?: number;
|
|
2192
|
+
page?: number;
|
|
2193
|
+
// A field to sort the results based on
|
|
2194
|
+
sort_by?: string;
|
|
2195
|
+
sort_order?: string;
|
|
2196
|
+
// How soft deleted records should be shown in the list
|
|
2197
|
+
soft_deleted?: string;
|
|
2198
|
+
// If specified, only the selected fields will be returned
|
|
2199
|
+
select?: string[];
|
|
2200
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2201
|
+
relationships?: string[];
|
|
1069
2202
|
// Graphql query string
|
|
1070
2203
|
_query?: string;
|
|
1071
2204
|
}
|
|
1072
2205
|
|
|
1073
|
-
export
|
|
2206
|
+
export interface GetMenuV3StationsResponse {
|
|
2207
|
+
meta: PaginationMetaDTO;
|
|
2208
|
+
results: StationDTO[];
|
|
2209
|
+
[index: string]: any;
|
|
2210
|
+
}
|
|
1074
2211
|
|
|
1075
|
-
export interface
|
|
2212
|
+
export interface GetMenuV3StationsRequest
|
|
1076
2213
|
extends BaseRequest,
|
|
1077
|
-
RequestQuery<
|
|
1078
|
-
|
|
1079
|
-
// POST /menu/v3/category/relationships/items
|
|
2214
|
+
RequestQuery<GetMenuV3StationsQuery> {}
|
|
1080
2215
|
|
|
1081
|
-
|
|
2216
|
+
// POST /menu/v3/stations
|
|
1082
2217
|
|
|
1083
|
-
export type
|
|
2218
|
+
export type PostMenuV3StationsBody = {
|
|
2219
|
+
layouts?: LayoutDTO[];
|
|
2220
|
+
items?: ItemDTO[];
|
|
2221
|
+
modifier_groups?: ModifierGroupDTO[];
|
|
2222
|
+
modifiers?: ModifierDTO[];
|
|
2223
|
+
id?: any;
|
|
2224
|
+
[index: string]: any;
|
|
2225
|
+
}[];
|
|
1084
2226
|
|
|
1085
|
-
export interface
|
|
1086
|
-
|
|
2227
|
+
export interface PostMenuV3StationsResponse {
|
|
2228
|
+
meta: PaginationMetaDTO;
|
|
2229
|
+
results: StationDTO[];
|
|
2230
|
+
[index: string]: any;
|
|
1087
2231
|
}
|
|
1088
2232
|
|
|
1089
|
-
|
|
2233
|
+
export interface PostMenuV3StationsRequest extends BaseRequest {
|
|
2234
|
+
body: PostMenuV3StationsBody;
|
|
2235
|
+
}
|
|
1090
2236
|
|
|
1091
|
-
|
|
2237
|
+
// GET /menu/v3/station/{id}
|
|
1092
2238
|
|
|
1093
|
-
export
|
|
2239
|
+
export interface GetMenuV3StationPath {
|
|
2240
|
+
id: string;
|
|
2241
|
+
}
|
|
1094
2242
|
|
|
1095
|
-
export interface
|
|
1096
|
-
|
|
2243
|
+
export interface GetMenuV3StationQuery {
|
|
2244
|
+
// If specified, only the selected fields will be returned
|
|
2245
|
+
select?: string[];
|
|
2246
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2247
|
+
relationships?: string[];
|
|
2248
|
+
// Graphql query string
|
|
2249
|
+
_query?: string;
|
|
1097
2250
|
}
|
|
1098
2251
|
|
|
1099
|
-
|
|
2252
|
+
export type GetMenuV3StationResponse = StationDTO;
|
|
1100
2253
|
|
|
1101
|
-
export interface
|
|
2254
|
+
export interface GetMenuV3StationRequest
|
|
2255
|
+
extends BaseRequest,
|
|
2256
|
+
RequestQuery<GetMenuV3StationQuery>,
|
|
2257
|
+
GetMenuV3StationPath {}
|
|
2258
|
+
|
|
2259
|
+
// PATCH /menu/v3/station/{id}
|
|
2260
|
+
|
|
2261
|
+
export interface PatchMenuV3StationPath {
|
|
1102
2262
|
id: string;
|
|
1103
2263
|
}
|
|
1104
2264
|
|
|
1105
|
-
export
|
|
2265
|
+
export interface PatchMenuV3StationBody {
|
|
2266
|
+
layouts?: LayoutDTO[];
|
|
2267
|
+
items?: ItemDTO[];
|
|
2268
|
+
modifier_groups?: ModifierGroupDTO[];
|
|
2269
|
+
modifiers?: ModifierDTO[];
|
|
2270
|
+
id?: string;
|
|
2271
|
+
[index: string]: any;
|
|
2272
|
+
}
|
|
1106
2273
|
|
|
1107
|
-
export type
|
|
2274
|
+
export type PatchMenuV3StationResponse = StationDTO;
|
|
1108
2275
|
|
|
1109
|
-
export interface
|
|
1110
|
-
|
|
1111
|
-
PatchMenuV3CategoryRelationshipsItemPath {
|
|
1112
|
-
body: PatchMenuV3CategoryRelationshipsItemBody;
|
|
2276
|
+
export interface PatchMenuV3StationRequest extends BaseRequest, PatchMenuV3StationPath {
|
|
2277
|
+
body: PatchMenuV3StationBody;
|
|
1113
2278
|
}
|
|
1114
2279
|
|
|
1115
|
-
// DELETE /menu/v3/
|
|
2280
|
+
// DELETE /menu/v3/station/{id}
|
|
1116
2281
|
|
|
1117
|
-
export interface
|
|
2282
|
+
export interface DeleteMenuV3StationPath {
|
|
1118
2283
|
id: string;
|
|
1119
2284
|
}
|
|
1120
2285
|
|
|
1121
|
-
export type
|
|
2286
|
+
export type DeleteMenuV3StationResponse = StationDTO;
|
|
1122
2287
|
|
|
1123
|
-
export interface
|
|
2288
|
+
export interface DeleteMenuV3StationRequest extends BaseRequest, DeleteMenuV3StationPath {}
|
|
2289
|
+
|
|
2290
|
+
// POST /menu/v3/station
|
|
2291
|
+
|
|
2292
|
+
export interface PostMenuV3StationBody {
|
|
2293
|
+
layouts?: LayoutDTO[];
|
|
2294
|
+
items?: ItemDTO[];
|
|
2295
|
+
modifier_groups?: ModifierGroupDTO[];
|
|
2296
|
+
modifiers?: ModifierDTO[];
|
|
2297
|
+
id?: any;
|
|
2298
|
+
[index: string]: any;
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2301
|
+
export type PostMenuV3StationResponse = StationDTO;
|
|
2302
|
+
|
|
2303
|
+
export interface PostMenuV3StationRequest extends BaseRequest {
|
|
2304
|
+
body: PostMenuV3StationBody;
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
// GET /menu/v3/stations/count
|
|
2308
|
+
|
|
2309
|
+
export interface GetMenuV3StationsCountQuery {
|
|
2310
|
+
// The fields that filtering is allowed on
|
|
2311
|
+
filter?: any;
|
|
2312
|
+
// Graphql query string
|
|
2313
|
+
_query?: string;
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2316
|
+
export interface GetMenuV3StationsCountResponse {
|
|
2317
|
+
count: number;
|
|
2318
|
+
[index: string]: any;
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
export interface GetMenuV3StationsCountRequest
|
|
1124
2322
|
extends BaseRequest,
|
|
1125
|
-
|
|
2323
|
+
RequestQuery<GetMenuV3StationsCountQuery> {}
|
|
1126
2324
|
|
|
1127
2325
|
// GET /menu/client/{client_id} - Get menu client
|
|
1128
2326
|
|
|
@@ -1632,3 +2830,294 @@ export interface PostMenuPartialGroupItemOptionsRequest
|
|
|
1632
2830
|
PostMenuPartialGroupItemOptionsPath {
|
|
1633
2831
|
body: PostMenuPartialGroupItemOptionsBody;
|
|
1634
2832
|
}
|
|
2833
|
+
|
|
2834
|
+
// POST /menu/v3/layout/{id}/publish
|
|
2835
|
+
|
|
2836
|
+
export interface PostMenuV3LayoutPublishPath {
|
|
2837
|
+
id: string;
|
|
2838
|
+
}
|
|
2839
|
+
|
|
2840
|
+
export interface PostMenuV3LayoutPublishQuery {
|
|
2841
|
+
// The fields that filtering is allowed on
|
|
2842
|
+
filter?: any;
|
|
2843
|
+
// Number of records to load per page
|
|
2844
|
+
limit?: number;
|
|
2845
|
+
page?: number;
|
|
2846
|
+
// A field to sort the results based on
|
|
2847
|
+
sort_by?: string;
|
|
2848
|
+
sort_order?: string;
|
|
2849
|
+
// How soft deleted records should be shown in the list
|
|
2850
|
+
soft_deleted?: string;
|
|
2851
|
+
// If specified, only the selected fields will be returned
|
|
2852
|
+
select?: string[];
|
|
2853
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2854
|
+
relationships?: string[];
|
|
2855
|
+
}
|
|
2856
|
+
|
|
2857
|
+
export interface PostMenuV3LayoutPublishResponse {
|
|
2858
|
+
status?: string;
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
export interface PostMenuV3LayoutPublishRequest
|
|
2862
|
+
extends BaseRequest,
|
|
2863
|
+
RequestQuery<PostMenuV3LayoutPublishQuery>,
|
|
2864
|
+
PostMenuV3LayoutPublishPath {}
|
|
2865
|
+
|
|
2866
|
+
// POST /menu/v3/categorys
|
|
2867
|
+
|
|
2868
|
+
export type PostMenuV3CategorysBody = {
|
|
2869
|
+
name: string;
|
|
2870
|
+
label?: string;
|
|
2871
|
+
sequence?: number;
|
|
2872
|
+
priority?: number;
|
|
2873
|
+
is_active?: boolean;
|
|
2874
|
+
layout_id: string;
|
|
2875
|
+
id?: any;
|
|
2876
|
+
layout?: LayoutDTO;
|
|
2877
|
+
items?: CategoryToItemRelationshipDTO[];
|
|
2878
|
+
[index: string]: any;
|
|
2879
|
+
}[];
|
|
2880
|
+
|
|
2881
|
+
export interface PostMenuV3CategorysResponse {
|
|
2882
|
+
meta: PaginationMetaDTO;
|
|
2883
|
+
results: CategoryDTO[];
|
|
2884
|
+
[index: string]: any;
|
|
2885
|
+
}
|
|
2886
|
+
|
|
2887
|
+
export interface PostMenuV3CategorysRequest extends BaseRequest {
|
|
2888
|
+
body: PostMenuV3CategorysBody;
|
|
2889
|
+
}
|
|
2890
|
+
|
|
2891
|
+
// GET /menu/v3/category/relationships/items/count
|
|
2892
|
+
|
|
2893
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
|
|
2894
|
+
// The fields that filtering is allowed on
|
|
2895
|
+
filter?: any;
|
|
2896
|
+
// Graphql query string
|
|
2897
|
+
_query?: string;
|
|
2898
|
+
}
|
|
2899
|
+
|
|
2900
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountResponse {
|
|
2901
|
+
count: number;
|
|
2902
|
+
[index: string]: any;
|
|
2903
|
+
}
|
|
2904
|
+
|
|
2905
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountRequest
|
|
2906
|
+
extends BaseRequest,
|
|
2907
|
+
RequestQuery<GetMenuV3CategoryRelationshipsItemsCountQuery> {}
|
|
2908
|
+
|
|
2909
|
+
// GET /menu/v3/item/relationships/modifier-groups/count
|
|
2910
|
+
|
|
2911
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsCountQuery {
|
|
2912
|
+
// The fields that filtering is allowed on
|
|
2913
|
+
filter?: any;
|
|
2914
|
+
// Graphql query string
|
|
2915
|
+
_query?: string;
|
|
2916
|
+
}
|
|
2917
|
+
|
|
2918
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsCountResponse {
|
|
2919
|
+
count: number;
|
|
2920
|
+
[index: string]: any;
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2923
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsCountRequest
|
|
2924
|
+
extends BaseRequest,
|
|
2925
|
+
RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsCountQuery> {}
|
|
2926
|
+
|
|
2927
|
+
// GET /menu/v3/modifier-groups/count
|
|
2928
|
+
|
|
2929
|
+
export interface GetMenuV3ModifierGroupsCountQuery {
|
|
2930
|
+
// The fields that filtering is allowed on
|
|
2931
|
+
filter?: any;
|
|
2932
|
+
// Graphql query string
|
|
2933
|
+
_query?: string;
|
|
2934
|
+
}
|
|
2935
|
+
|
|
2936
|
+
export interface GetMenuV3ModifierGroupsCountResponse {
|
|
2937
|
+
count: number;
|
|
2938
|
+
[index: string]: any;
|
|
2939
|
+
}
|
|
2940
|
+
|
|
2941
|
+
export interface GetMenuV3ModifierGroupsCountRequest
|
|
2942
|
+
extends BaseRequest,
|
|
2943
|
+
RequestQuery<GetMenuV3ModifierGroupsCountQuery> {}
|
|
2944
|
+
|
|
2945
|
+
// GET /menu/v3/modifier-group/relationships/modifiers/count
|
|
2946
|
+
|
|
2947
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersCountQuery {
|
|
2948
|
+
// The fields that filtering is allowed on
|
|
2949
|
+
filter?: any;
|
|
2950
|
+
// Graphql query string
|
|
2951
|
+
_query?: string;
|
|
2952
|
+
}
|
|
2953
|
+
|
|
2954
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersCountResponse {
|
|
2955
|
+
count: number;
|
|
2956
|
+
[index: string]: any;
|
|
2957
|
+
}
|
|
2958
|
+
|
|
2959
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersCountRequest
|
|
2960
|
+
extends BaseRequest,
|
|
2961
|
+
RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersCountQuery> {}
|
|
2962
|
+
|
|
2963
|
+
// GET /menu/v3/modifiers/count
|
|
2964
|
+
|
|
2965
|
+
export interface GetMenuV3ModifiersCountQuery {
|
|
2966
|
+
// The fields that filtering is allowed on
|
|
2967
|
+
filter?: any;
|
|
2968
|
+
// Graphql query string
|
|
2969
|
+
_query?: string;
|
|
2970
|
+
}
|
|
2971
|
+
|
|
2972
|
+
export interface GetMenuV3ModifiersCountResponse {
|
|
2973
|
+
count: number;
|
|
2974
|
+
[index: string]: any;
|
|
2975
|
+
}
|
|
2976
|
+
|
|
2977
|
+
export interface GetMenuV3ModifiersCountRequest
|
|
2978
|
+
extends BaseRequest,
|
|
2979
|
+
RequestQuery<GetMenuV3ModifiersCountQuery> {}
|
|
2980
|
+
|
|
2981
|
+
// GET /menu/v3/station/{id}/modifiers
|
|
2982
|
+
|
|
2983
|
+
export interface GetMenuV3StationModifiersPath {
|
|
2984
|
+
id: string;
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2987
|
+
export interface GetMenuV3StationModifiersQuery {
|
|
2988
|
+
// The fields that filtering is allowed on
|
|
2989
|
+
filter?: any;
|
|
2990
|
+
// Number of records to load per page
|
|
2991
|
+
limit?: number;
|
|
2992
|
+
page?: number;
|
|
2993
|
+
// A field to sort the results based on
|
|
2994
|
+
sort_by?: string;
|
|
2995
|
+
sort_order?: string;
|
|
2996
|
+
// How soft deleted records should be shown in the list
|
|
2997
|
+
soft_deleted?: string;
|
|
2998
|
+
// If specified, only the selected fields will be returned
|
|
2999
|
+
select?: string[];
|
|
3000
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3001
|
+
relationships?: string[];
|
|
3002
|
+
// Graphql query string
|
|
3003
|
+
_query?: string;
|
|
3004
|
+
}
|
|
3005
|
+
|
|
3006
|
+
export interface GetMenuV3StationModifiersResponse {
|
|
3007
|
+
meta: PaginationMetaDTO;
|
|
3008
|
+
results: ModifierDTO[];
|
|
3009
|
+
[index: string]: any;
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
export interface GetMenuV3StationModifiersRequest
|
|
3013
|
+
extends BaseRequest,
|
|
3014
|
+
RequestQuery<GetMenuV3StationModifiersQuery>,
|
|
3015
|
+
GetMenuV3StationModifiersPath {}
|
|
3016
|
+
|
|
3017
|
+
// GET /menu/v3/station/{id}/modifier_groups
|
|
3018
|
+
|
|
3019
|
+
export interface GetMenuV3StationModifierGroupsPath {
|
|
3020
|
+
id: string;
|
|
3021
|
+
}
|
|
3022
|
+
|
|
3023
|
+
export interface GetMenuV3StationModifierGroupsQuery {
|
|
3024
|
+
// The fields that filtering is allowed on
|
|
3025
|
+
filter?: any;
|
|
3026
|
+
// Number of records to load per page
|
|
3027
|
+
limit?: number;
|
|
3028
|
+
page?: number;
|
|
3029
|
+
// A field to sort the results based on
|
|
3030
|
+
sort_by?: string;
|
|
3031
|
+
sort_order?: string;
|
|
3032
|
+
// How soft deleted records should be shown in the list
|
|
3033
|
+
soft_deleted?: string;
|
|
3034
|
+
// If specified, only the selected fields will be returned
|
|
3035
|
+
select?: string[];
|
|
3036
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3037
|
+
relationships?: string[];
|
|
3038
|
+
// Graphql query string
|
|
3039
|
+
_query?: string;
|
|
3040
|
+
}
|
|
3041
|
+
|
|
3042
|
+
export interface GetMenuV3StationModifierGroupsResponse {
|
|
3043
|
+
meta: PaginationMetaDTO;
|
|
3044
|
+
results: ModifierGroupDTO[];
|
|
3045
|
+
[index: string]: any;
|
|
3046
|
+
}
|
|
3047
|
+
|
|
3048
|
+
export interface GetMenuV3StationModifierGroupsRequest
|
|
3049
|
+
extends BaseRequest,
|
|
3050
|
+
RequestQuery<GetMenuV3StationModifierGroupsQuery>,
|
|
3051
|
+
GetMenuV3StationModifierGroupsPath {}
|
|
3052
|
+
|
|
3053
|
+
// GET /menu/v3/station/{id}/items
|
|
3054
|
+
|
|
3055
|
+
export interface GetMenuV3StationItemsPath {
|
|
3056
|
+
id: string;
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3059
|
+
export interface GetMenuV3StationItemsQuery {
|
|
3060
|
+
// The fields that filtering is allowed on
|
|
3061
|
+
filter?: any;
|
|
3062
|
+
// Number of records to load per page
|
|
3063
|
+
limit?: number;
|
|
3064
|
+
page?: number;
|
|
3065
|
+
// A field to sort the results based on
|
|
3066
|
+
sort_by?: string;
|
|
3067
|
+
sort_order?: string;
|
|
3068
|
+
// How soft deleted records should be shown in the list
|
|
3069
|
+
soft_deleted?: string;
|
|
3070
|
+
// If specified, only the selected fields will be returned
|
|
3071
|
+
select?: string[];
|
|
3072
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3073
|
+
relationships?: string[];
|
|
3074
|
+
// Graphql query string
|
|
3075
|
+
_query?: string;
|
|
3076
|
+
}
|
|
3077
|
+
|
|
3078
|
+
export interface GetMenuV3StationItemsResponse {
|
|
3079
|
+
meta: PaginationMetaDTO;
|
|
3080
|
+
results: ItemDTO[];
|
|
3081
|
+
[index: string]: any;
|
|
3082
|
+
}
|
|
3083
|
+
|
|
3084
|
+
export interface GetMenuV3StationItemsRequest
|
|
3085
|
+
extends BaseRequest,
|
|
3086
|
+
RequestQuery<GetMenuV3StationItemsQuery>,
|
|
3087
|
+
GetMenuV3StationItemsPath {}
|
|
3088
|
+
|
|
3089
|
+
// GET /menu/v3/site/{id}/layouts
|
|
3090
|
+
|
|
3091
|
+
export interface GetMenuV3SiteLayoutsPath {
|
|
3092
|
+
id: string;
|
|
3093
|
+
}
|
|
3094
|
+
|
|
3095
|
+
export interface GetMenuV3SiteLayoutsQuery {
|
|
3096
|
+
// The fields that filtering is allowed on
|
|
3097
|
+
filter?: any;
|
|
3098
|
+
// Number of records to load per page
|
|
3099
|
+
limit?: number;
|
|
3100
|
+
page?: number;
|
|
3101
|
+
// A field to sort the results based on
|
|
3102
|
+
sort_by?: string;
|
|
3103
|
+
sort_order?: string;
|
|
3104
|
+
// How soft deleted records should be shown in the list
|
|
3105
|
+
soft_deleted?: string;
|
|
3106
|
+
// If specified, only the selected fields will be returned
|
|
3107
|
+
select?: string[];
|
|
3108
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3109
|
+
relationships?: string[];
|
|
3110
|
+
// Graphql query string
|
|
3111
|
+
_query?: string;
|
|
3112
|
+
}
|
|
3113
|
+
|
|
3114
|
+
export interface GetMenuV3SiteLayoutsResponse {
|
|
3115
|
+
meta: PaginationMetaDTO;
|
|
3116
|
+
results: LayoutDTO[];
|
|
3117
|
+
[index: string]: any;
|
|
3118
|
+
}
|
|
3119
|
+
|
|
3120
|
+
export interface GetMenuV3SiteLayoutsRequest
|
|
3121
|
+
extends BaseRequest,
|
|
3122
|
+
RequestQuery<GetMenuV3SiteLayoutsQuery>,
|
|
3123
|
+
GetMenuV3SiteLayoutsPath {}
|