@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/lib/interface/menu.d.ts
CHANGED
|
@@ -19,6 +19,14 @@ export interface LayoutListResponse {
|
|
|
19
19
|
meta?: Meta;
|
|
20
20
|
results?: Layout[];
|
|
21
21
|
}
|
|
22
|
+
export interface BrandListResponse {
|
|
23
|
+
meta?: Meta;
|
|
24
|
+
results?: Brand[];
|
|
25
|
+
}
|
|
26
|
+
export interface StationListResponse {
|
|
27
|
+
meta?: Meta;
|
|
28
|
+
results?: Station[];
|
|
29
|
+
}
|
|
22
30
|
export interface CategoryListResponse {
|
|
23
31
|
meta?: Meta;
|
|
24
32
|
results?: Category[];
|
|
@@ -64,6 +72,8 @@ export interface Modifier {
|
|
|
64
72
|
created_at?: string;
|
|
65
73
|
updated_at?: string;
|
|
66
74
|
deleted_at?: string;
|
|
75
|
+
brand_id?: string;
|
|
76
|
+
station_id?: string;
|
|
67
77
|
[index: string]: any;
|
|
68
78
|
}
|
|
69
79
|
export interface ModifierGroup {
|
|
@@ -77,6 +87,8 @@ export interface ModifierGroup {
|
|
|
77
87
|
created_at?: string;
|
|
78
88
|
updated_at?: string;
|
|
79
89
|
deleted_at?: string;
|
|
90
|
+
brand_id?: string;
|
|
91
|
+
station_id?: string;
|
|
80
92
|
[index: string]: any;
|
|
81
93
|
}
|
|
82
94
|
export interface LocalItem {
|
|
@@ -95,6 +107,8 @@ export interface LocalItem {
|
|
|
95
107
|
created_at?: string;
|
|
96
108
|
updated_at?: string;
|
|
97
109
|
deleted_at?: string;
|
|
110
|
+
brand_id?: string;
|
|
111
|
+
station_id?: string;
|
|
98
112
|
[index: string]: any;
|
|
99
113
|
}
|
|
100
114
|
export interface MenuV2 {
|
|
@@ -111,6 +125,22 @@ export interface Layout {
|
|
|
111
125
|
created_at?: string;
|
|
112
126
|
updated_at?: string;
|
|
113
127
|
deleted_at?: string;
|
|
128
|
+
brand_id?: string;
|
|
129
|
+
station_id?: string;
|
|
130
|
+
[index: string]: any;
|
|
131
|
+
}
|
|
132
|
+
export interface Brand {
|
|
133
|
+
id?: string;
|
|
134
|
+
created_at?: string;
|
|
135
|
+
updated_at?: string;
|
|
136
|
+
deleted_at?: string;
|
|
137
|
+
[index: string]: any;
|
|
138
|
+
}
|
|
139
|
+
export interface Station {
|
|
140
|
+
id?: string;
|
|
141
|
+
created_at?: string;
|
|
142
|
+
updated_at?: string;
|
|
143
|
+
deleted_at?: string;
|
|
114
144
|
[index: string]: any;
|
|
115
145
|
}
|
|
116
146
|
export interface Category {
|
|
@@ -418,31 +448,290 @@ export interface ZippedExcelExport {
|
|
|
418
448
|
file?: string;
|
|
419
449
|
format?: string;
|
|
420
450
|
}
|
|
451
|
+
export interface CategoryDTO {
|
|
452
|
+
name?: string;
|
|
453
|
+
label?: string;
|
|
454
|
+
sequence?: number;
|
|
455
|
+
priority?: number;
|
|
456
|
+
is_active?: boolean;
|
|
457
|
+
layout_id?: string;
|
|
458
|
+
id?: string;
|
|
459
|
+
layout?: LayoutDTO;
|
|
460
|
+
items?: any[];
|
|
461
|
+
[index: string]: any;
|
|
462
|
+
}
|
|
463
|
+
export interface LayoutDTO {
|
|
464
|
+
name: string;
|
|
465
|
+
categories?: any[];
|
|
466
|
+
brand_id: string;
|
|
467
|
+
station_id: string;
|
|
468
|
+
id?: any;
|
|
469
|
+
brand?: BrandDTO;
|
|
470
|
+
station?: any;
|
|
471
|
+
[index: string]: any;
|
|
472
|
+
}
|
|
473
|
+
export interface BrandDTO {
|
|
474
|
+
layouts?: any[];
|
|
475
|
+
items?: ItemDTO[];
|
|
476
|
+
modifier_groups?: any[];
|
|
477
|
+
modifiers?: any[];
|
|
478
|
+
id?: string;
|
|
479
|
+
[index: string]: any;
|
|
480
|
+
}
|
|
481
|
+
export interface ItemDTO {
|
|
482
|
+
name?: string;
|
|
483
|
+
label?: string;
|
|
484
|
+
description?: string;
|
|
485
|
+
price?: number;
|
|
486
|
+
barcode?: string;
|
|
487
|
+
calories?: number;
|
|
488
|
+
priority?: number;
|
|
489
|
+
is_active?: boolean;
|
|
490
|
+
is_in_stock?: boolean;
|
|
491
|
+
posid?: string;
|
|
492
|
+
tax_tags?: string[];
|
|
493
|
+
modifier_groups?: ItemToModifierGroupRelationshipDTO[];
|
|
494
|
+
brand_id?: string;
|
|
495
|
+
station_id?: string;
|
|
496
|
+
id?: string;
|
|
497
|
+
categories?: CategoryToItemRelationshipDTO[];
|
|
498
|
+
brand?: any;
|
|
499
|
+
station?: any;
|
|
500
|
+
[index: string]: any;
|
|
501
|
+
}
|
|
502
|
+
export interface ItemToModifierGroupRelationshipDTO {
|
|
503
|
+
modifier_group_id?: string;
|
|
504
|
+
item_id?: string;
|
|
505
|
+
sequence?: number;
|
|
506
|
+
id?: string;
|
|
507
|
+
modifier_group?: ModifierGroupDTO;
|
|
508
|
+
item?: any;
|
|
509
|
+
[index: string]: any;
|
|
510
|
+
}
|
|
511
|
+
export interface ModifierGroupDTO {
|
|
512
|
+
name?: string;
|
|
513
|
+
label?: string;
|
|
514
|
+
min?: number;
|
|
515
|
+
max?: number;
|
|
516
|
+
is_active?: boolean;
|
|
517
|
+
priority?: number;
|
|
518
|
+
modifiers?: ModifierGroupToModifierRelationshipDTO[];
|
|
519
|
+
items?: any[];
|
|
520
|
+
brand_id?: string;
|
|
521
|
+
station_id?: string;
|
|
522
|
+
id?: string;
|
|
523
|
+
brand?: any;
|
|
524
|
+
station?: any;
|
|
525
|
+
[index: string]: any;
|
|
526
|
+
}
|
|
527
|
+
export interface ModifierGroupToModifierRelationshipDTO {
|
|
528
|
+
modifier_id?: string;
|
|
529
|
+
modifier_group_id?: string;
|
|
530
|
+
sequence?: number;
|
|
531
|
+
id?: string;
|
|
532
|
+
modifier?: ModifierDTO;
|
|
533
|
+
modifier_group?: any;
|
|
534
|
+
[index: string]: any;
|
|
535
|
+
}
|
|
536
|
+
export interface ModifierDTO {
|
|
537
|
+
name?: string;
|
|
538
|
+
label?: string;
|
|
539
|
+
description?: string;
|
|
540
|
+
price?: number;
|
|
541
|
+
calories?: number;
|
|
542
|
+
priority?: number;
|
|
543
|
+
tax_tags?: string[];
|
|
544
|
+
is_active?: boolean;
|
|
545
|
+
is_in_stock?: boolean;
|
|
546
|
+
posid?: string;
|
|
547
|
+
modifier_groups?: any[];
|
|
548
|
+
brand_id?: string;
|
|
549
|
+
station_id?: string;
|
|
550
|
+
id?: string;
|
|
551
|
+
brand?: any;
|
|
552
|
+
station?: StationDTO;
|
|
553
|
+
[index: string]: any;
|
|
554
|
+
}
|
|
555
|
+
export interface StationDTO {
|
|
556
|
+
layouts?: any[];
|
|
557
|
+
items?: any[];
|
|
558
|
+
modifier_groups?: any[];
|
|
559
|
+
modifiers?: any[];
|
|
560
|
+
id?: string;
|
|
561
|
+
[index: string]: any;
|
|
562
|
+
}
|
|
563
|
+
export interface CategoryToItemRelationshipDTO {
|
|
564
|
+
category_id?: string;
|
|
565
|
+
item_id?: string;
|
|
566
|
+
sequence?: number;
|
|
567
|
+
id?: string;
|
|
568
|
+
category?: any;
|
|
569
|
+
item?: any;
|
|
570
|
+
[index: string]: any;
|
|
571
|
+
}
|
|
572
|
+
export interface InvalidInputErrorDTO {
|
|
573
|
+
number: number;
|
|
574
|
+
message: string;
|
|
575
|
+
[index: string]: any;
|
|
576
|
+
}
|
|
577
|
+
export interface InternalServerErrorDTO {
|
|
578
|
+
number: number;
|
|
579
|
+
message: string;
|
|
580
|
+
[index: string]: any;
|
|
581
|
+
}
|
|
582
|
+
export interface ReadParamsDTO {
|
|
583
|
+
select?: string[];
|
|
584
|
+
relationships?: string[];
|
|
585
|
+
[index: string]: any;
|
|
586
|
+
}
|
|
587
|
+
export interface NotFoundErrorDTO {
|
|
588
|
+
number: number;
|
|
589
|
+
message: string;
|
|
590
|
+
[index: string]: any;
|
|
591
|
+
}
|
|
592
|
+
export interface FilterFieldDTO {
|
|
593
|
+
$equal?: string;
|
|
594
|
+
$more_than?: string;
|
|
595
|
+
$more_than_or_equal?: string;
|
|
596
|
+
$less_than?: string;
|
|
597
|
+
$less_than_or_equal?: string;
|
|
598
|
+
$between?: string[];
|
|
599
|
+
$not?: string;
|
|
600
|
+
$in?: string[];
|
|
601
|
+
$array_contains?: string[];
|
|
602
|
+
$contains?: string;
|
|
603
|
+
}
|
|
604
|
+
export interface PaginationParamsDTO {
|
|
605
|
+
limit?: number;
|
|
606
|
+
page?: number;
|
|
607
|
+
sort_by?: string;
|
|
608
|
+
sort_order?: string;
|
|
609
|
+
soft_deleted?: string;
|
|
610
|
+
select?: string[];
|
|
611
|
+
relationships?: string[];
|
|
612
|
+
[index: string]: any;
|
|
613
|
+
}
|
|
614
|
+
export interface PaginationMetaDTO {
|
|
615
|
+
total_results?: number;
|
|
616
|
+
total_pages?: number;
|
|
617
|
+
result_count?: number;
|
|
618
|
+
select?: string[];
|
|
619
|
+
relationships?: string[];
|
|
620
|
+
limit?: number;
|
|
621
|
+
page?: number;
|
|
622
|
+
sort_by?: string;
|
|
623
|
+
sort_order?: string;
|
|
624
|
+
soft_deleted?: string;
|
|
625
|
+
[index: string]: any;
|
|
626
|
+
}
|
|
421
627
|
export interface GetMenuV3ModifiersQuery {
|
|
628
|
+
filter?: any;
|
|
629
|
+
limit?: number;
|
|
630
|
+
page?: number;
|
|
631
|
+
sort_by?: string;
|
|
632
|
+
sort_order?: string;
|
|
633
|
+
soft_deleted?: string;
|
|
634
|
+
select?: string[];
|
|
635
|
+
relationships?: string[];
|
|
422
636
|
_query?: string;
|
|
423
637
|
}
|
|
424
|
-
export
|
|
638
|
+
export interface GetMenuV3ModifiersResponse {
|
|
639
|
+
meta: PaginationMetaDTO;
|
|
640
|
+
results: ModifierDTO[];
|
|
641
|
+
[index: string]: any;
|
|
642
|
+
}
|
|
425
643
|
export interface GetMenuV3ModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersQuery> {
|
|
426
644
|
}
|
|
645
|
+
export type PostMenuV3ModifiersBody = {
|
|
646
|
+
name: string;
|
|
647
|
+
label?: string;
|
|
648
|
+
description?: string;
|
|
649
|
+
price: number;
|
|
650
|
+
calories?: number;
|
|
651
|
+
priority?: number;
|
|
652
|
+
tax_tags?: string[];
|
|
653
|
+
is_active?: boolean;
|
|
654
|
+
is_in_stock?: boolean;
|
|
655
|
+
posid: string;
|
|
656
|
+
modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
|
|
657
|
+
brand_id: string;
|
|
658
|
+
station_id?: string;
|
|
659
|
+
id?: any;
|
|
660
|
+
brand?: BrandDTO;
|
|
661
|
+
station?: StationDTO;
|
|
662
|
+
[index: string]: any;
|
|
663
|
+
}[];
|
|
664
|
+
export interface PostMenuV3ModifiersResponse {
|
|
665
|
+
meta: PaginationMetaDTO;
|
|
666
|
+
results: ModifierDTO[];
|
|
667
|
+
[index: string]: any;
|
|
668
|
+
}
|
|
669
|
+
export interface PostMenuV3ModifiersRequest extends BaseRequest {
|
|
670
|
+
body: PostMenuV3ModifiersBody;
|
|
671
|
+
}
|
|
427
672
|
export interface GetMenuV3ModifierPath {
|
|
428
673
|
id: string;
|
|
429
674
|
}
|
|
430
675
|
export interface GetMenuV3ModifierQuery {
|
|
676
|
+
select?: string[];
|
|
677
|
+
relationships?: string[];
|
|
431
678
|
_query?: string;
|
|
432
679
|
}
|
|
433
|
-
export type GetMenuV3ModifierResponse =
|
|
680
|
+
export type GetMenuV3ModifierResponse = ModifierDTO;
|
|
434
681
|
export interface GetMenuV3ModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierQuery>, GetMenuV3ModifierPath {
|
|
435
682
|
}
|
|
436
683
|
export interface PatchMenuV3ModifierPath {
|
|
437
684
|
id: string;
|
|
438
685
|
}
|
|
439
|
-
export
|
|
440
|
-
|
|
686
|
+
export interface PatchMenuV3ModifierBody {
|
|
687
|
+
name?: string;
|
|
688
|
+
label?: string;
|
|
689
|
+
description?: string;
|
|
690
|
+
price?: number;
|
|
691
|
+
calories?: number;
|
|
692
|
+
priority?: number;
|
|
693
|
+
tax_tags?: string[];
|
|
694
|
+
is_active?: boolean;
|
|
695
|
+
is_in_stock?: boolean;
|
|
696
|
+
posid?: string;
|
|
697
|
+
modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
|
|
698
|
+
brand_id?: string;
|
|
699
|
+
station_id?: string;
|
|
700
|
+
id?: string;
|
|
701
|
+
brand?: BrandDTO;
|
|
702
|
+
station?: StationDTO;
|
|
703
|
+
[index: string]: any;
|
|
704
|
+
}
|
|
705
|
+
export type PatchMenuV3ModifierResponse = ModifierDTO;
|
|
441
706
|
export interface PatchMenuV3ModifierRequest extends BaseRequest, PatchMenuV3ModifierPath {
|
|
442
707
|
body: PatchMenuV3ModifierBody;
|
|
443
708
|
}
|
|
444
|
-
export
|
|
445
|
-
|
|
709
|
+
export interface DeleteMenuV3ModifierPath {
|
|
710
|
+
id: string;
|
|
711
|
+
}
|
|
712
|
+
export type DeleteMenuV3ModifierResponse = ModifierDTO;
|
|
713
|
+
export interface DeleteMenuV3ModifierRequest extends BaseRequest, DeleteMenuV3ModifierPath {
|
|
714
|
+
}
|
|
715
|
+
export interface PostMenuV3ModifierBody {
|
|
716
|
+
name: string;
|
|
717
|
+
label?: string;
|
|
718
|
+
description?: string;
|
|
719
|
+
price: number;
|
|
720
|
+
calories?: number;
|
|
721
|
+
priority?: number;
|
|
722
|
+
tax_tags?: string[];
|
|
723
|
+
is_active?: boolean;
|
|
724
|
+
is_in_stock?: boolean;
|
|
725
|
+
posid: string;
|
|
726
|
+
modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
|
|
727
|
+
brand_id: string;
|
|
728
|
+
station_id?: string;
|
|
729
|
+
id?: any;
|
|
730
|
+
brand?: BrandDTO;
|
|
731
|
+
station?: StationDTO;
|
|
732
|
+
[index: string]: any;
|
|
733
|
+
}
|
|
734
|
+
export type PostMenuV3ModifierResponse = ModifierDTO;
|
|
446
735
|
export interface PostMenuV3ModifierRequest extends BaseRequest {
|
|
447
736
|
body: PostMenuV3ModifierBody;
|
|
448
737
|
}
|
|
@@ -455,13 +744,64 @@ export interface GetMenuV3ModifierCountResponse {
|
|
|
455
744
|
export interface GetMenuV3ModifierCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierCountQuery> {
|
|
456
745
|
}
|
|
457
746
|
export interface GetMenuV3ModifierGroupsQuery {
|
|
747
|
+
filter?: any;
|
|
748
|
+
limit?: number;
|
|
749
|
+
page?: number;
|
|
750
|
+
sort_by?: string;
|
|
751
|
+
sort_order?: string;
|
|
752
|
+
soft_deleted?: string;
|
|
753
|
+
select?: string[];
|
|
754
|
+
relationships?: string[];
|
|
458
755
|
_query?: string;
|
|
459
756
|
}
|
|
460
|
-
export
|
|
757
|
+
export interface GetMenuV3ModifierGroupsResponse {
|
|
758
|
+
meta: PaginationMetaDTO;
|
|
759
|
+
results: ModifierGroupDTO[];
|
|
760
|
+
[index: string]: any;
|
|
761
|
+
}
|
|
461
762
|
export interface GetMenuV3ModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsQuery> {
|
|
462
763
|
}
|
|
463
|
-
export type
|
|
464
|
-
|
|
764
|
+
export type PostMenuV3ModifierGroupsBody = {
|
|
765
|
+
name: string;
|
|
766
|
+
label?: string;
|
|
767
|
+
min?: number;
|
|
768
|
+
max?: number;
|
|
769
|
+
is_active?: boolean;
|
|
770
|
+
priority?: number;
|
|
771
|
+
modifiers?: ModifierGroupToModifierRelationshipDTO[];
|
|
772
|
+
items?: ItemToModifierGroupRelationshipDTO[];
|
|
773
|
+
brand_id: string;
|
|
774
|
+
station_id?: string;
|
|
775
|
+
id?: any;
|
|
776
|
+
brand?: BrandDTO;
|
|
777
|
+
station?: StationDTO;
|
|
778
|
+
[index: string]: any;
|
|
779
|
+
}[];
|
|
780
|
+
export interface PostMenuV3ModifierGroupsResponse {
|
|
781
|
+
meta: PaginationMetaDTO;
|
|
782
|
+
results: ModifierGroupDTO[];
|
|
783
|
+
[index: string]: any;
|
|
784
|
+
}
|
|
785
|
+
export interface PostMenuV3ModifierGroupsRequest extends BaseRequest {
|
|
786
|
+
body: PostMenuV3ModifierGroupsBody;
|
|
787
|
+
}
|
|
788
|
+
export interface PostMenuV3ModifierGroupBody {
|
|
789
|
+
name: string;
|
|
790
|
+
label?: string;
|
|
791
|
+
min?: number;
|
|
792
|
+
max?: number;
|
|
793
|
+
is_active?: boolean;
|
|
794
|
+
priority?: number;
|
|
795
|
+
modifiers?: ModifierGroupToModifierRelationshipDTO[];
|
|
796
|
+
items?: ItemToModifierGroupRelationshipDTO[];
|
|
797
|
+
brand_id: string;
|
|
798
|
+
station_id?: string;
|
|
799
|
+
id?: any;
|
|
800
|
+
brand?: BrandDTO;
|
|
801
|
+
station?: StationDTO;
|
|
802
|
+
[index: string]: any;
|
|
803
|
+
}
|
|
804
|
+
export type PostMenuV3ModifierGroupResponse = ModifierGroupDTO;
|
|
465
805
|
export interface PostMenuV3ModifierGroupRequest extends BaseRequest {
|
|
466
806
|
body: PostMenuV3ModifierGroupBody;
|
|
467
807
|
}
|
|
@@ -469,19 +809,42 @@ export interface GetMenuV3ModifierGroupPath {
|
|
|
469
809
|
id: string;
|
|
470
810
|
}
|
|
471
811
|
export interface GetMenuV3ModifierGroupQuery {
|
|
812
|
+
select?: string[];
|
|
813
|
+
relationships?: string[];
|
|
472
814
|
_query?: string;
|
|
473
815
|
}
|
|
474
|
-
export type GetMenuV3ModifierGroupResponse =
|
|
816
|
+
export type GetMenuV3ModifierGroupResponse = ModifierGroupDTO;
|
|
475
817
|
export interface GetMenuV3ModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupQuery>, GetMenuV3ModifierGroupPath {
|
|
476
818
|
}
|
|
477
819
|
export interface PatchMenuV3ModifierGroupPath {
|
|
478
820
|
id: string;
|
|
479
821
|
}
|
|
480
|
-
export
|
|
481
|
-
|
|
822
|
+
export interface PatchMenuV3ModifierGroupBody {
|
|
823
|
+
name?: string;
|
|
824
|
+
label?: string;
|
|
825
|
+
min?: number;
|
|
826
|
+
max?: number;
|
|
827
|
+
is_active?: boolean;
|
|
828
|
+
priority?: number;
|
|
829
|
+
modifiers?: ModifierGroupToModifierRelationshipDTO[];
|
|
830
|
+
items?: ItemToModifierGroupRelationshipDTO[];
|
|
831
|
+
brand_id?: string;
|
|
832
|
+
station_id?: string;
|
|
833
|
+
id?: string;
|
|
834
|
+
brand?: BrandDTO;
|
|
835
|
+
station?: StationDTO;
|
|
836
|
+
[index: string]: any;
|
|
837
|
+
}
|
|
838
|
+
export type PatchMenuV3ModifierGroupResponse = ModifierGroupDTO;
|
|
482
839
|
export interface PatchMenuV3ModifierGroupRequest extends BaseRequest, PatchMenuV3ModifierGroupPath {
|
|
483
840
|
body: PatchMenuV3ModifierGroupBody;
|
|
484
841
|
}
|
|
842
|
+
export interface DeleteMenuV3ModifierGroupPath {
|
|
843
|
+
id: string;
|
|
844
|
+
}
|
|
845
|
+
export type DeleteMenuV3ModifierGroupResponse = ModifierGroupDTO;
|
|
846
|
+
export interface DeleteMenuV3ModifierGroupRequest extends BaseRequest, DeleteMenuV3ModifierGroupPath {
|
|
847
|
+
}
|
|
485
848
|
export interface GetMenuV3ModifierGroupCountQuery {
|
|
486
849
|
_query?: string;
|
|
487
850
|
}
|
|
@@ -491,18 +854,50 @@ export interface GetMenuV3ModifierGroupCountResponse {
|
|
|
491
854
|
export interface GetMenuV3ModifierGroupCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupCountQuery> {
|
|
492
855
|
}
|
|
493
856
|
export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
|
|
857
|
+
filter?: any;
|
|
858
|
+
limit?: number;
|
|
859
|
+
page?: number;
|
|
860
|
+
sort_by?: string;
|
|
861
|
+
sort_order?: string;
|
|
862
|
+
soft_deleted?: string;
|
|
863
|
+
select?: string[];
|
|
864
|
+
relationships?: string[];
|
|
494
865
|
_query?: string;
|
|
495
866
|
}
|
|
496
|
-
export
|
|
867
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersResponse {
|
|
868
|
+
meta: PaginationMetaDTO;
|
|
869
|
+
results: ModifierGroupToModifierRelationshipDTO[];
|
|
870
|
+
[index: string]: any;
|
|
871
|
+
}
|
|
497
872
|
export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersQuery> {
|
|
498
873
|
}
|
|
499
|
-
export type PostMenuV3ModifierGroupRelationshipsModifiersBody =
|
|
500
|
-
|
|
874
|
+
export type PostMenuV3ModifierGroupRelationshipsModifiersBody = {
|
|
875
|
+
modifier_id: string;
|
|
876
|
+
modifier_group_id: string;
|
|
877
|
+
sequence?: number;
|
|
878
|
+
id?: any;
|
|
879
|
+
modifier?: ModifierDTO;
|
|
880
|
+
modifier_group?: ModifierGroupDTO;
|
|
881
|
+
[index: string]: any;
|
|
882
|
+
}[];
|
|
883
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifiersResponse {
|
|
884
|
+
meta: PaginationMetaDTO;
|
|
885
|
+
results: ModifierGroupToModifierRelationshipDTO[];
|
|
886
|
+
[index: string]: any;
|
|
887
|
+
}
|
|
501
888
|
export interface PostMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest {
|
|
502
889
|
body: PostMenuV3ModifierGroupRelationshipsModifiersBody;
|
|
503
890
|
}
|
|
504
|
-
export
|
|
505
|
-
|
|
891
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifierBody {
|
|
892
|
+
modifier_id: string;
|
|
893
|
+
modifier_group_id: string;
|
|
894
|
+
sequence?: number;
|
|
895
|
+
id?: any;
|
|
896
|
+
modifier?: ModifierDTO;
|
|
897
|
+
modifier_group?: ModifierGroupDTO;
|
|
898
|
+
[index: string]: any;
|
|
899
|
+
}
|
|
900
|
+
export type PostMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationshipDTO;
|
|
506
901
|
export interface PostMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest {
|
|
507
902
|
body: PostMenuV3ModifierGroupRelationshipsModifierBody;
|
|
508
903
|
}
|
|
@@ -510,241 +905,758 @@ export interface GetMenuV3ModifierGroupRelationshipsModifierPath {
|
|
|
510
905
|
id: string;
|
|
511
906
|
}
|
|
512
907
|
export interface GetMenuV3ModifierGroupRelationshipsModifierQuery {
|
|
908
|
+
select?: string[];
|
|
909
|
+
relationships?: string[];
|
|
513
910
|
_query?: string;
|
|
514
911
|
}
|
|
515
|
-
export type GetMenuV3ModifierGroupRelationshipsModifierResponse =
|
|
912
|
+
export type GetMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationshipDTO;
|
|
516
913
|
export interface GetMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifierQuery>, GetMenuV3ModifierGroupRelationshipsModifierPath {
|
|
517
914
|
}
|
|
518
915
|
export interface PatchMenuV3ModifierGroupRelationshipsModifierPath {
|
|
519
916
|
id: string;
|
|
520
917
|
}
|
|
521
|
-
export
|
|
522
|
-
|
|
918
|
+
export interface PatchMenuV3ModifierGroupRelationshipsModifierBody {
|
|
919
|
+
modifier_id?: string;
|
|
920
|
+
modifier_group_id?: string;
|
|
921
|
+
sequence?: number;
|
|
922
|
+
id?: string;
|
|
923
|
+
modifier?: ModifierDTO;
|
|
924
|
+
modifier_group?: ModifierGroupDTO;
|
|
925
|
+
[index: string]: any;
|
|
926
|
+
}
|
|
927
|
+
export type PatchMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationshipDTO;
|
|
523
928
|
export interface PatchMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, PatchMenuV3ModifierGroupRelationshipsModifierPath {
|
|
524
929
|
body: PatchMenuV3ModifierGroupRelationshipsModifierBody;
|
|
525
930
|
}
|
|
931
|
+
export interface DeleteMenuV3ModifierGroupRelationshipsModifierPath {
|
|
932
|
+
id: string;
|
|
933
|
+
}
|
|
934
|
+
export type DeleteMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationshipDTO;
|
|
935
|
+
export interface DeleteMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, DeleteMenuV3ModifierGroupRelationshipsModifierPath {
|
|
936
|
+
}
|
|
526
937
|
export interface GetMenuV3ItemsQuery {
|
|
938
|
+
filter?: any;
|
|
939
|
+
limit?: number;
|
|
940
|
+
page?: number;
|
|
941
|
+
sort_by?: string;
|
|
942
|
+
sort_order?: string;
|
|
943
|
+
soft_deleted?: string;
|
|
944
|
+
select?: string[];
|
|
945
|
+
relationships?: string[];
|
|
527
946
|
_query?: string;
|
|
528
947
|
}
|
|
529
|
-
export
|
|
948
|
+
export interface GetMenuV3ItemsResponse {
|
|
949
|
+
meta: PaginationMetaDTO;
|
|
950
|
+
results: ItemDTO[];
|
|
951
|
+
[index: string]: any;
|
|
952
|
+
}
|
|
530
953
|
export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {
|
|
531
954
|
}
|
|
955
|
+
export type PostMenuV3ItemsBody = {
|
|
956
|
+
name: string;
|
|
957
|
+
label?: string;
|
|
958
|
+
description?: string;
|
|
959
|
+
price: number;
|
|
960
|
+
barcode?: string;
|
|
961
|
+
calories?: number;
|
|
962
|
+
priority?: number;
|
|
963
|
+
is_active?: boolean;
|
|
964
|
+
is_in_stock?: boolean;
|
|
965
|
+
posid: string;
|
|
966
|
+
tax_tags?: string[];
|
|
967
|
+
modifier_groups?: ItemToModifierGroupRelationshipDTO[];
|
|
968
|
+
brand_id: string;
|
|
969
|
+
station_id?: string;
|
|
970
|
+
id?: any;
|
|
971
|
+
categories?: CategoryToItemRelationshipDTO[];
|
|
972
|
+
brand?: BrandDTO;
|
|
973
|
+
station?: StationDTO;
|
|
974
|
+
[index: string]: any;
|
|
975
|
+
}[];
|
|
976
|
+
export interface PostMenuV3ItemsResponse {
|
|
977
|
+
meta: PaginationMetaDTO;
|
|
978
|
+
results: ItemDTO[];
|
|
979
|
+
[index: string]: any;
|
|
980
|
+
}
|
|
981
|
+
export interface PostMenuV3ItemsRequest extends BaseRequest {
|
|
982
|
+
body: PostMenuV3ItemsBody;
|
|
983
|
+
}
|
|
532
984
|
export interface GetMenuV3ItemPath {
|
|
533
985
|
id: string;
|
|
534
986
|
}
|
|
535
987
|
export interface GetMenuV3ItemQuery {
|
|
988
|
+
select?: string[];
|
|
989
|
+
relationships?: string[];
|
|
536
990
|
_query?: string;
|
|
537
991
|
}
|
|
538
|
-
export type GetMenuV3ItemResponse =
|
|
992
|
+
export type GetMenuV3ItemResponse = ItemDTO;
|
|
539
993
|
export interface GetMenuV3ItemRequest extends BaseRequest, RequestQuery<GetMenuV3ItemQuery>, GetMenuV3ItemPath {
|
|
540
994
|
}
|
|
541
995
|
export interface PatchMenuV3ItemPath {
|
|
542
996
|
id: string;
|
|
543
997
|
}
|
|
544
|
-
export
|
|
545
|
-
|
|
998
|
+
export interface PatchMenuV3ItemBody {
|
|
999
|
+
name?: string;
|
|
1000
|
+
label?: string;
|
|
1001
|
+
description?: string;
|
|
1002
|
+
price?: number;
|
|
1003
|
+
barcode?: string;
|
|
1004
|
+
calories?: number;
|
|
1005
|
+
priority?: number;
|
|
1006
|
+
is_active?: boolean;
|
|
1007
|
+
is_in_stock?: boolean;
|
|
1008
|
+
posid?: string;
|
|
1009
|
+
tax_tags?: string[];
|
|
1010
|
+
modifier_groups?: ItemToModifierGroupRelationshipDTO[];
|
|
1011
|
+
brand_id?: string;
|
|
1012
|
+
station_id?: string;
|
|
1013
|
+
id?: string;
|
|
1014
|
+
categories?: CategoryToItemRelationshipDTO[];
|
|
1015
|
+
brand?: BrandDTO;
|
|
1016
|
+
station?: StationDTO;
|
|
1017
|
+
[index: string]: any;
|
|
1018
|
+
}
|
|
1019
|
+
export type PatchMenuV3ItemResponse = ItemDTO;
|
|
546
1020
|
export interface PatchMenuV3ItemRequest extends BaseRequest, PatchMenuV3ItemPath {
|
|
547
1021
|
body: PatchMenuV3ItemBody;
|
|
548
1022
|
}
|
|
549
|
-
export
|
|
550
|
-
|
|
1023
|
+
export interface DeleteMenuV3ItemPath {
|
|
1024
|
+
id: string;
|
|
1025
|
+
}
|
|
1026
|
+
export type DeleteMenuV3ItemResponse = ItemDTO;
|
|
1027
|
+
export interface DeleteMenuV3ItemRequest extends BaseRequest, DeleteMenuV3ItemPath {
|
|
1028
|
+
}
|
|
1029
|
+
export interface PostMenuV3ItemBody {
|
|
1030
|
+
name: string;
|
|
1031
|
+
label?: string;
|
|
1032
|
+
description?: string;
|
|
1033
|
+
price: number;
|
|
1034
|
+
barcode?: string;
|
|
1035
|
+
calories?: number;
|
|
1036
|
+
priority?: number;
|
|
1037
|
+
is_active?: boolean;
|
|
1038
|
+
is_in_stock?: boolean;
|
|
1039
|
+
posid: string;
|
|
1040
|
+
tax_tags?: string[];
|
|
1041
|
+
modifier_groups?: ItemToModifierGroupRelationshipDTO[];
|
|
1042
|
+
brand_id: string;
|
|
1043
|
+
station_id?: string;
|
|
1044
|
+
id?: any;
|
|
1045
|
+
categories?: CategoryToItemRelationshipDTO[];
|
|
1046
|
+
brand?: BrandDTO;
|
|
1047
|
+
station?: StationDTO;
|
|
1048
|
+
[index: string]: any;
|
|
1049
|
+
}
|
|
1050
|
+
export type PostMenuV3ItemResponse = ItemDTO;
|
|
551
1051
|
export interface PostMenuV3ItemRequest extends BaseRequest {
|
|
552
1052
|
body: PostMenuV3ItemBody;
|
|
553
1053
|
}
|
|
554
1054
|
export interface GetMenuV3ItemsCountQuery {
|
|
1055
|
+
filter?: any;
|
|
555
1056
|
_query?: string;
|
|
556
1057
|
}
|
|
557
1058
|
export interface GetMenuV3ItemsCountResponse {
|
|
558
|
-
count
|
|
1059
|
+
count: number;
|
|
1060
|
+
[index: string]: any;
|
|
559
1061
|
}
|
|
560
1062
|
export interface GetMenuV3ItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsCountQuery> {
|
|
561
1063
|
}
|
|
562
1064
|
export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
1065
|
+
filter?: any;
|
|
1066
|
+
limit?: number;
|
|
1067
|
+
page?: number;
|
|
1068
|
+
sort_by?: string;
|
|
1069
|
+
sort_order?: string;
|
|
1070
|
+
soft_deleted?: string;
|
|
1071
|
+
select?: string[];
|
|
1072
|
+
relationships?: string[];
|
|
1073
|
+
_query?: string;
|
|
1074
|
+
}
|
|
1075
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsResponse {
|
|
1076
|
+
meta: PaginationMetaDTO;
|
|
1077
|
+
results: ItemToModifierGroupRelationshipDTO[];
|
|
1078
|
+
[index: string]: any;
|
|
1079
|
+
}
|
|
566
1080
|
export interface GetMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsQuery> {
|
|
567
1081
|
}
|
|
568
|
-
export type PostMenuV3ItemRelationshipsModifierGroupsBody =
|
|
569
|
-
|
|
1082
|
+
export type PostMenuV3ItemRelationshipsModifierGroupsBody = {
|
|
1083
|
+
modifier_group_id: string;
|
|
1084
|
+
item_id: string;
|
|
1085
|
+
sequence?: number;
|
|
1086
|
+
id?: any;
|
|
1087
|
+
modifier_group?: ModifierGroupDTO;
|
|
1088
|
+
item?: ItemDTO;
|
|
1089
|
+
[index: string]: any;
|
|
1090
|
+
}[];
|
|
1091
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupsResponse {
|
|
1092
|
+
meta: PaginationMetaDTO;
|
|
1093
|
+
results: ItemToModifierGroupRelationshipDTO[];
|
|
1094
|
+
[index: string]: any;
|
|
1095
|
+
}
|
|
570
1096
|
export interface PostMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest {
|
|
571
1097
|
body: PostMenuV3ItemRelationshipsModifierGroupsBody;
|
|
572
1098
|
}
|
|
573
|
-
export
|
|
574
|
-
|
|
1099
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupBody {
|
|
1100
|
+
modifier_group_id: string;
|
|
1101
|
+
item_id: string;
|
|
1102
|
+
sequence?: number;
|
|
1103
|
+
id?: any;
|
|
1104
|
+
modifier_group?: ModifierGroupDTO;
|
|
1105
|
+
item?: ItemDTO;
|
|
1106
|
+
[index: string]: any;
|
|
1107
|
+
}
|
|
1108
|
+
export type PostMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
|
|
575
1109
|
export interface PostMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest {
|
|
576
1110
|
body: PostMenuV3ItemRelationshipsModifierGroupBody;
|
|
577
1111
|
}
|
|
1112
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupPath {
|
|
1113
|
+
id: string;
|
|
1114
|
+
}
|
|
1115
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupQuery {
|
|
1116
|
+
select?: string[];
|
|
1117
|
+
relationships?: string[];
|
|
1118
|
+
_query?: string;
|
|
1119
|
+
}
|
|
1120
|
+
export type GetMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
|
|
1121
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupQuery>, GetMenuV3ItemRelationshipsModifierGroupPath {
|
|
1122
|
+
}
|
|
578
1123
|
export interface PatchMenuV3ItemRelationshipsModifierGroupPath {
|
|
579
1124
|
id: string;
|
|
580
1125
|
}
|
|
581
|
-
export
|
|
582
|
-
|
|
1126
|
+
export interface PatchMenuV3ItemRelationshipsModifierGroupBody {
|
|
1127
|
+
modifier_group_id?: string;
|
|
1128
|
+
item_id?: string;
|
|
1129
|
+
sequence?: number;
|
|
1130
|
+
id?: string;
|
|
1131
|
+
modifier_group?: ModifierGroupDTO;
|
|
1132
|
+
item?: ItemDTO;
|
|
1133
|
+
[index: string]: any;
|
|
1134
|
+
}
|
|
1135
|
+
export type PatchMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
|
|
583
1136
|
export interface PatchMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, PatchMenuV3ItemRelationshipsModifierGroupPath {
|
|
584
1137
|
body: PatchMenuV3ItemRelationshipsModifierGroupBody;
|
|
585
1138
|
}
|
|
586
1139
|
export interface DeleteMenuV3ItemRelationshipsModifierGroupPath {
|
|
587
1140
|
id: string;
|
|
588
1141
|
}
|
|
589
|
-
export type DeleteMenuV3ItemRelationshipsModifierGroupResponse =
|
|
1142
|
+
export type DeleteMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
|
|
590
1143
|
export interface DeleteMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, DeleteMenuV3ItemRelationshipsModifierGroupPath {
|
|
591
1144
|
}
|
|
592
|
-
export interface
|
|
1145
|
+
export interface GetMenuV3LayoutsQuery {
|
|
1146
|
+
filter?: any;
|
|
1147
|
+
limit?: number;
|
|
1148
|
+
page?: number;
|
|
1149
|
+
sort_by?: string;
|
|
1150
|
+
sort_order?: string;
|
|
1151
|
+
soft_deleted?: string;
|
|
1152
|
+
select?: string[];
|
|
1153
|
+
relationships?: string[];
|
|
593
1154
|
_query?: string;
|
|
594
1155
|
}
|
|
595
|
-
export
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
id: string;
|
|
600
|
-
}
|
|
601
|
-
export interface GetMenuV3MenuQuery {
|
|
602
|
-
_query?: string;
|
|
1156
|
+
export interface GetMenuV3LayoutsResponse {
|
|
1157
|
+
meta: PaginationMetaDTO;
|
|
1158
|
+
results: LayoutDTO[];
|
|
1159
|
+
[index: string]: any;
|
|
603
1160
|
}
|
|
604
|
-
export
|
|
605
|
-
export interface GetMenuV3MenuRequest extends BaseRequest, RequestQuery<GetMenuV3MenuQuery>, GetMenuV3MenuPath {
|
|
1161
|
+
export interface GetMenuV3LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsQuery> {
|
|
606
1162
|
}
|
|
607
|
-
export
|
|
608
|
-
|
|
1163
|
+
export type PostMenuV3LayoutsBody = {
|
|
1164
|
+
name: string;
|
|
1165
|
+
categories?: CategoryDTO[];
|
|
1166
|
+
brand_id: string;
|
|
1167
|
+
station_id: string;
|
|
1168
|
+
id?: any;
|
|
1169
|
+
brand?: BrandDTO;
|
|
1170
|
+
station?: StationDTO;
|
|
1171
|
+
[index: string]: any;
|
|
1172
|
+
}[];
|
|
1173
|
+
export interface PostMenuV3LayoutsResponse {
|
|
1174
|
+
meta: PaginationMetaDTO;
|
|
1175
|
+
results: LayoutDTO[];
|
|
1176
|
+
[index: string]: any;
|
|
609
1177
|
}
|
|
610
|
-
export
|
|
611
|
-
|
|
612
|
-
export interface PatchMenuV3MenuRequest extends BaseRequest, PatchMenuV3MenuPath {
|
|
613
|
-
body: PatchMenuV3MenuBody;
|
|
1178
|
+
export interface PostMenuV3LayoutsRequest extends BaseRequest {
|
|
1179
|
+
body: PostMenuV3LayoutsBody;
|
|
614
1180
|
}
|
|
615
|
-
export interface
|
|
1181
|
+
export interface GetMenuV3LayoutCategoriesPath {
|
|
616
1182
|
id: string;
|
|
617
1183
|
}
|
|
618
|
-
export
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
1184
|
+
export interface GetMenuV3LayoutCategoriesQuery {
|
|
1185
|
+
filter?: any;
|
|
1186
|
+
limit?: number;
|
|
1187
|
+
page?: number;
|
|
1188
|
+
sort_by?: string;
|
|
1189
|
+
sort_order?: string;
|
|
1190
|
+
soft_deleted?: string;
|
|
1191
|
+
select?: string[];
|
|
1192
|
+
relationships?: string[];
|
|
627
1193
|
_query?: string;
|
|
628
1194
|
}
|
|
629
|
-
export interface
|
|
630
|
-
|
|
1195
|
+
export interface GetMenuV3LayoutCategoriesResponse {
|
|
1196
|
+
meta: PaginationMetaDTO;
|
|
1197
|
+
results: CategoryDTO[];
|
|
1198
|
+
[index: string]: any;
|
|
631
1199
|
}
|
|
632
|
-
export interface
|
|
633
|
-
}
|
|
634
|
-
export interface GetMenuV3LayoutsQuery {
|
|
635
|
-
_query?: string;
|
|
636
|
-
}
|
|
637
|
-
export type GetMenuV3LayoutsResponse = LayoutListResponse;
|
|
638
|
-
export interface GetMenuV3LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsQuery> {
|
|
1200
|
+
export interface GetMenuV3LayoutCategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutCategoriesQuery>, GetMenuV3LayoutCategoriesPath {
|
|
639
1201
|
}
|
|
640
1202
|
export interface GetMenuV3LayoutPath {
|
|
641
1203
|
id: string;
|
|
642
1204
|
}
|
|
643
1205
|
export interface GetMenuV3LayoutQuery {
|
|
1206
|
+
select?: string[];
|
|
1207
|
+
relationships?: string[];
|
|
644
1208
|
_query?: string;
|
|
645
1209
|
}
|
|
646
|
-
export type GetMenuV3LayoutResponse =
|
|
1210
|
+
export type GetMenuV3LayoutResponse = LayoutDTO;
|
|
647
1211
|
export interface GetMenuV3LayoutRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutQuery>, GetMenuV3LayoutPath {
|
|
648
1212
|
}
|
|
649
1213
|
export interface PatchMenuV3LayoutPath {
|
|
650
1214
|
id: string;
|
|
651
1215
|
}
|
|
652
|
-
export
|
|
653
|
-
|
|
1216
|
+
export interface PatchMenuV3LayoutBody {
|
|
1217
|
+
name?: string;
|
|
1218
|
+
categories?: CategoryDTO[];
|
|
1219
|
+
brand_id?: string;
|
|
1220
|
+
station_id?: string;
|
|
1221
|
+
id?: string;
|
|
1222
|
+
brand?: BrandDTO;
|
|
1223
|
+
station?: StationDTO;
|
|
1224
|
+
[index: string]: any;
|
|
1225
|
+
}
|
|
1226
|
+
export type PatchMenuV3LayoutResponse = LayoutDTO;
|
|
654
1227
|
export interface PatchMenuV3LayoutRequest extends BaseRequest, PatchMenuV3LayoutPath {
|
|
655
1228
|
body: PatchMenuV3LayoutBody;
|
|
656
1229
|
}
|
|
657
1230
|
export interface DeleteMenuV3LayoutPath {
|
|
658
1231
|
id: string;
|
|
659
1232
|
}
|
|
660
|
-
export type DeleteMenuV3LayoutResponse =
|
|
1233
|
+
export type DeleteMenuV3LayoutResponse = LayoutDTO;
|
|
661
1234
|
export interface DeleteMenuV3LayoutRequest extends BaseRequest, DeleteMenuV3LayoutPath {
|
|
662
1235
|
}
|
|
663
|
-
export
|
|
664
|
-
|
|
1236
|
+
export interface PostMenuV3LayoutBody {
|
|
1237
|
+
name: string;
|
|
1238
|
+
categories?: CategoryDTO[];
|
|
1239
|
+
brand_id: string;
|
|
1240
|
+
station_id: string;
|
|
1241
|
+
id?: any;
|
|
1242
|
+
brand?: any;
|
|
1243
|
+
station?: any;
|
|
1244
|
+
[index: string]: any;
|
|
1245
|
+
}
|
|
1246
|
+
export type PostMenuV3LayoutResponse = LayoutDTO;
|
|
665
1247
|
export interface PostMenuV3LayoutRequest extends BaseRequest {
|
|
666
1248
|
body: PostMenuV3LayoutBody;
|
|
667
1249
|
}
|
|
668
1250
|
export interface GetMenuV3LayoutsCountQuery {
|
|
1251
|
+
filter?: any;
|
|
669
1252
|
_query?: string;
|
|
670
1253
|
}
|
|
671
1254
|
export interface GetMenuV3LayoutsCountResponse {
|
|
672
|
-
count
|
|
1255
|
+
count: number;
|
|
1256
|
+
[index: string]: any;
|
|
673
1257
|
}
|
|
674
1258
|
export interface GetMenuV3LayoutsCountRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsCountQuery> {
|
|
675
1259
|
}
|
|
676
1260
|
export interface GetMenuV3CategoriesQuery {
|
|
1261
|
+
filter?: any;
|
|
1262
|
+
limit?: number;
|
|
1263
|
+
page?: number;
|
|
1264
|
+
sort_by?: string;
|
|
1265
|
+
sort_order?: string;
|
|
1266
|
+
soft_deleted?: string;
|
|
1267
|
+
select?: string[];
|
|
1268
|
+
relationships?: string[];
|
|
677
1269
|
_query?: string;
|
|
678
1270
|
}
|
|
679
|
-
export
|
|
1271
|
+
export interface GetMenuV3CategoriesResponse {
|
|
1272
|
+
meta: PaginationMetaDTO;
|
|
1273
|
+
results: CategoryDTO[];
|
|
1274
|
+
[index: string]: any;
|
|
1275
|
+
}
|
|
680
1276
|
export interface GetMenuV3CategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3CategoriesQuery> {
|
|
681
1277
|
}
|
|
682
1278
|
export interface GetMenuV3CategoryPath {
|
|
683
1279
|
id: string;
|
|
684
1280
|
}
|
|
685
1281
|
export interface GetMenuV3CategoryQuery {
|
|
1282
|
+
select?: string[];
|
|
1283
|
+
relationships?: string[];
|
|
686
1284
|
_query?: string;
|
|
687
1285
|
}
|
|
688
|
-
export type GetMenuV3CategoryResponse =
|
|
1286
|
+
export type GetMenuV3CategoryResponse = CategoryDTO;
|
|
689
1287
|
export interface GetMenuV3CategoryRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryQuery>, GetMenuV3CategoryPath {
|
|
690
1288
|
}
|
|
691
1289
|
export interface PatchMenuV3CategoryPath {
|
|
692
1290
|
id: string;
|
|
693
1291
|
}
|
|
694
|
-
export
|
|
695
|
-
|
|
1292
|
+
export interface PatchMenuV3CategoryBody {
|
|
1293
|
+
name?: string;
|
|
1294
|
+
label?: string;
|
|
1295
|
+
sequence?: number;
|
|
1296
|
+
priority?: number;
|
|
1297
|
+
is_active?: boolean;
|
|
1298
|
+
layout_id?: string;
|
|
1299
|
+
id?: string;
|
|
1300
|
+
layout?: LayoutDTO;
|
|
1301
|
+
items?: CategoryToItemRelationshipDTO[];
|
|
1302
|
+
[index: string]: any;
|
|
1303
|
+
}
|
|
1304
|
+
export type PatchMenuV3CategoryResponse = CategoryDTO;
|
|
696
1305
|
export interface PatchMenuV3CategoryRequest extends BaseRequest, PatchMenuV3CategoryPath {
|
|
697
1306
|
body: PatchMenuV3CategoryBody;
|
|
698
1307
|
}
|
|
699
1308
|
export interface DeleteMenuV3CategoryPath {
|
|
700
1309
|
id: string;
|
|
701
1310
|
}
|
|
702
|
-
export type DeleteMenuV3CategoryResponse =
|
|
1311
|
+
export type DeleteMenuV3CategoryResponse = CategoryDTO;
|
|
703
1312
|
export interface DeleteMenuV3CategoryRequest extends BaseRequest, DeleteMenuV3CategoryPath {
|
|
704
1313
|
}
|
|
705
|
-
export
|
|
706
|
-
|
|
1314
|
+
export interface PostMenuV3CategoryBody {
|
|
1315
|
+
name: string;
|
|
1316
|
+
label?: string;
|
|
1317
|
+
sequence?: number;
|
|
1318
|
+
priority?: number;
|
|
1319
|
+
is_active?: boolean;
|
|
1320
|
+
layout_id: string;
|
|
1321
|
+
id?: any;
|
|
1322
|
+
layout?: LayoutDTO;
|
|
1323
|
+
items?: CategoryToItemRelationshipDTO[];
|
|
1324
|
+
[index: string]: any;
|
|
1325
|
+
}
|
|
1326
|
+
export type PostMenuV3CategoryResponse = CategoryDTO;
|
|
707
1327
|
export interface PostMenuV3CategoryRequest extends BaseRequest {
|
|
708
1328
|
body: PostMenuV3CategoryBody;
|
|
709
1329
|
}
|
|
710
1330
|
export interface GetMenuV3CategoriesCountQuery {
|
|
1331
|
+
filter?: any;
|
|
711
1332
|
_query?: string;
|
|
712
1333
|
}
|
|
713
1334
|
export interface GetMenuV3CategoriesCountResponse {
|
|
714
|
-
count
|
|
1335
|
+
count: number;
|
|
1336
|
+
[index: string]: any;
|
|
715
1337
|
}
|
|
716
1338
|
export interface GetMenuV3CategoriesCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoriesCountQuery> {
|
|
717
1339
|
}
|
|
718
1340
|
export interface GetMenuV3CategoryRelationshipsItemsQuery {
|
|
1341
|
+
filter?: any;
|
|
1342
|
+
limit?: number;
|
|
1343
|
+
page?: number;
|
|
1344
|
+
sort_by?: string;
|
|
1345
|
+
sort_order?: string;
|
|
1346
|
+
soft_deleted?: string;
|
|
1347
|
+
select?: string[];
|
|
1348
|
+
relationships?: string[];
|
|
719
1349
|
_query?: string;
|
|
720
1350
|
}
|
|
721
|
-
export
|
|
1351
|
+
export interface GetMenuV3CategoryRelationshipsItemsResponse {
|
|
1352
|
+
meta: PaginationMetaDTO;
|
|
1353
|
+
results: CategoryToItemRelationshipDTO[];
|
|
1354
|
+
[index: string]: any;
|
|
1355
|
+
}
|
|
722
1356
|
export interface GetMenuV3CategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {
|
|
723
1357
|
}
|
|
724
|
-
export type PostMenuV3CategoryRelationshipsItemsBody =
|
|
725
|
-
|
|
1358
|
+
export type PostMenuV3CategoryRelationshipsItemsBody = {
|
|
1359
|
+
category_id: string;
|
|
1360
|
+
item_id: string;
|
|
1361
|
+
sequence?: number;
|
|
1362
|
+
id?: any;
|
|
1363
|
+
category?: CategoryDTO;
|
|
1364
|
+
item?: ItemDTO;
|
|
1365
|
+
[index: string]: any;
|
|
1366
|
+
}[];
|
|
1367
|
+
export interface PostMenuV3CategoryRelationshipsItemsResponse {
|
|
1368
|
+
meta: PaginationMetaDTO;
|
|
1369
|
+
results: CategoryToItemRelationshipDTO[];
|
|
1370
|
+
[index: string]: any;
|
|
1371
|
+
}
|
|
726
1372
|
export interface PostMenuV3CategoryRelationshipsItemsRequest extends BaseRequest {
|
|
727
1373
|
body: PostMenuV3CategoryRelationshipsItemsBody;
|
|
728
1374
|
}
|
|
729
|
-
export
|
|
730
|
-
|
|
1375
|
+
export interface PostMenuV3CategoryRelationshipsItemBody {
|
|
1376
|
+
category_id: string;
|
|
1377
|
+
item_id: string;
|
|
1378
|
+
sequence?: number;
|
|
1379
|
+
id?: any;
|
|
1380
|
+
category?: CategoryDTO;
|
|
1381
|
+
item?: ItemDTO;
|
|
1382
|
+
[index: string]: any;
|
|
1383
|
+
}
|
|
1384
|
+
export type PostMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
|
|
731
1385
|
export interface PostMenuV3CategoryRelationshipsItemRequest extends BaseRequest {
|
|
732
1386
|
body: PostMenuV3CategoryRelationshipsItemBody;
|
|
733
1387
|
}
|
|
1388
|
+
export interface GetMenuV3CategoryRelationshipsItemPath {
|
|
1389
|
+
id: string;
|
|
1390
|
+
}
|
|
1391
|
+
export interface GetMenuV3CategoryRelationshipsItemQuery {
|
|
1392
|
+
select?: string[];
|
|
1393
|
+
relationships?: string[];
|
|
1394
|
+
_query?: string;
|
|
1395
|
+
}
|
|
1396
|
+
export type GetMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
|
|
1397
|
+
export interface GetMenuV3CategoryRelationshipsItemRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemQuery>, GetMenuV3CategoryRelationshipsItemPath {
|
|
1398
|
+
}
|
|
734
1399
|
export interface PatchMenuV3CategoryRelationshipsItemPath {
|
|
735
1400
|
id: string;
|
|
736
1401
|
}
|
|
737
|
-
export
|
|
738
|
-
|
|
1402
|
+
export interface PatchMenuV3CategoryRelationshipsItemBody {
|
|
1403
|
+
category_id?: string;
|
|
1404
|
+
item_id?: string;
|
|
1405
|
+
sequence?: number;
|
|
1406
|
+
id?: string;
|
|
1407
|
+
category?: CategoryDTO;
|
|
1408
|
+
item?: ItemDTO;
|
|
1409
|
+
[index: string]: any;
|
|
1410
|
+
}
|
|
1411
|
+
export type PatchMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
|
|
739
1412
|
export interface PatchMenuV3CategoryRelationshipsItemRequest extends BaseRequest, PatchMenuV3CategoryRelationshipsItemPath {
|
|
740
1413
|
body: PatchMenuV3CategoryRelationshipsItemBody;
|
|
741
1414
|
}
|
|
742
1415
|
export interface DeleteMenuV3CategoryRelationshipsItemPath {
|
|
743
1416
|
id: string;
|
|
744
1417
|
}
|
|
745
|
-
export type DeleteMenuV3CategoryRelationshipsItemResponse =
|
|
1418
|
+
export type DeleteMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
|
|
746
1419
|
export interface DeleteMenuV3CategoryRelationshipsItemRequest extends BaseRequest, DeleteMenuV3CategoryRelationshipsItemPath {
|
|
747
1420
|
}
|
|
1421
|
+
export interface GetMenuV3BrandsQuery {
|
|
1422
|
+
filter?: any;
|
|
1423
|
+
limit?: number;
|
|
1424
|
+
page?: number;
|
|
1425
|
+
sort_by?: string;
|
|
1426
|
+
sort_order?: string;
|
|
1427
|
+
soft_deleted?: string;
|
|
1428
|
+
select?: string[];
|
|
1429
|
+
relationships?: string[];
|
|
1430
|
+
_query?: string;
|
|
1431
|
+
}
|
|
1432
|
+
export interface GetMenuV3BrandsResponse {
|
|
1433
|
+
meta: PaginationMetaDTO;
|
|
1434
|
+
results: BrandDTO[];
|
|
1435
|
+
[index: string]: any;
|
|
1436
|
+
}
|
|
1437
|
+
export interface GetMenuV3BrandsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsQuery> {
|
|
1438
|
+
}
|
|
1439
|
+
export type PostMenuV3BrandsBody = {
|
|
1440
|
+
layouts?: LayoutDTO[];
|
|
1441
|
+
items?: ItemDTO[];
|
|
1442
|
+
modifier_groups?: ModifierGroupDTO[];
|
|
1443
|
+
modifiers?: ModifierDTO[];
|
|
1444
|
+
id?: any;
|
|
1445
|
+
[index: string]: any;
|
|
1446
|
+
}[];
|
|
1447
|
+
export interface PostMenuV3BrandsResponse {
|
|
1448
|
+
meta: PaginationMetaDTO;
|
|
1449
|
+
results: BrandDTO[];
|
|
1450
|
+
[index: string]: any;
|
|
1451
|
+
}
|
|
1452
|
+
export interface PostMenuV3BrandsRequest extends BaseRequest {
|
|
1453
|
+
body: PostMenuV3BrandsBody;
|
|
1454
|
+
}
|
|
1455
|
+
export interface GetMenuV3BrandModifiersPath {
|
|
1456
|
+
id: string;
|
|
1457
|
+
}
|
|
1458
|
+
export interface GetMenuV3BrandModifiersQuery {
|
|
1459
|
+
filter?: any;
|
|
1460
|
+
limit?: number;
|
|
1461
|
+
page?: number;
|
|
1462
|
+
sort_by?: string;
|
|
1463
|
+
sort_order?: string;
|
|
1464
|
+
soft_deleted?: string;
|
|
1465
|
+
select?: string[];
|
|
1466
|
+
relationships?: string[];
|
|
1467
|
+
_query?: string;
|
|
1468
|
+
}
|
|
1469
|
+
export interface GetMenuV3BrandModifiersResponse {
|
|
1470
|
+
meta: PaginationMetaDTO;
|
|
1471
|
+
results: ModifierDTO[];
|
|
1472
|
+
[index: string]: any;
|
|
1473
|
+
}
|
|
1474
|
+
export interface GetMenuV3BrandModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3BrandModifiersQuery>, GetMenuV3BrandModifiersPath {
|
|
1475
|
+
}
|
|
1476
|
+
export interface GetMenuV3BrandModifierGroupsPath {
|
|
1477
|
+
id: string;
|
|
1478
|
+
}
|
|
1479
|
+
export interface GetMenuV3BrandModifierGroupsQuery {
|
|
1480
|
+
filter?: any;
|
|
1481
|
+
limit?: number;
|
|
1482
|
+
page?: number;
|
|
1483
|
+
sort_by?: string;
|
|
1484
|
+
sort_order?: string;
|
|
1485
|
+
soft_deleted?: string;
|
|
1486
|
+
select?: string[];
|
|
1487
|
+
relationships?: string[];
|
|
1488
|
+
_query?: string;
|
|
1489
|
+
}
|
|
1490
|
+
export interface GetMenuV3BrandModifierGroupsResponse {
|
|
1491
|
+
meta: PaginationMetaDTO;
|
|
1492
|
+
results: ModifierGroupDTO[];
|
|
1493
|
+
[index: string]: any;
|
|
1494
|
+
}
|
|
1495
|
+
export interface GetMenuV3BrandModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandModifierGroupsQuery>, GetMenuV3BrandModifierGroupsPath {
|
|
1496
|
+
}
|
|
1497
|
+
export interface GetMenuV3BrandItemsPath {
|
|
1498
|
+
id: string;
|
|
1499
|
+
}
|
|
1500
|
+
export interface GetMenuV3BrandItemsQuery {
|
|
1501
|
+
filter?: any;
|
|
1502
|
+
limit?: number;
|
|
1503
|
+
page?: number;
|
|
1504
|
+
sort_by?: string;
|
|
1505
|
+
sort_order?: string;
|
|
1506
|
+
soft_deleted?: string;
|
|
1507
|
+
select?: string[];
|
|
1508
|
+
relationships?: string[];
|
|
1509
|
+
_query?: string;
|
|
1510
|
+
}
|
|
1511
|
+
export interface GetMenuV3BrandItemsResponse {
|
|
1512
|
+
meta: PaginationMetaDTO;
|
|
1513
|
+
results: ItemDTO[];
|
|
1514
|
+
[index: string]: any;
|
|
1515
|
+
}
|
|
1516
|
+
export interface GetMenuV3BrandItemsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandItemsQuery>, GetMenuV3BrandItemsPath {
|
|
1517
|
+
}
|
|
1518
|
+
export interface GetMenuV3BrandPath {
|
|
1519
|
+
id: string;
|
|
1520
|
+
}
|
|
1521
|
+
export interface GetMenuV3BrandQuery {
|
|
1522
|
+
select?: string[];
|
|
1523
|
+
relationships?: string[];
|
|
1524
|
+
_query?: string;
|
|
1525
|
+
}
|
|
1526
|
+
export type GetMenuV3BrandResponse = BrandDTO;
|
|
1527
|
+
export interface GetMenuV3BrandRequest extends BaseRequest, RequestQuery<GetMenuV3BrandQuery>, GetMenuV3BrandPath {
|
|
1528
|
+
}
|
|
1529
|
+
export interface PatchMenuV3BrandPath {
|
|
1530
|
+
id: string;
|
|
1531
|
+
}
|
|
1532
|
+
export interface PatchMenuV3BrandBody {
|
|
1533
|
+
layouts?: LayoutDTO[];
|
|
1534
|
+
items?: ItemDTO[];
|
|
1535
|
+
modifier_groups?: ModifierGroupDTO[];
|
|
1536
|
+
modifiers?: ModifierDTO[];
|
|
1537
|
+
id?: string;
|
|
1538
|
+
[index: string]: any;
|
|
1539
|
+
}
|
|
1540
|
+
export type PatchMenuV3BrandResponse = BrandDTO;
|
|
1541
|
+
export interface PatchMenuV3BrandRequest extends BaseRequest, PatchMenuV3BrandPath {
|
|
1542
|
+
body: PatchMenuV3BrandBody;
|
|
1543
|
+
}
|
|
1544
|
+
export interface DeleteMenuV3BrandPath {
|
|
1545
|
+
id: string;
|
|
1546
|
+
}
|
|
1547
|
+
export type DeleteMenuV3BrandResponse = BrandDTO;
|
|
1548
|
+
export interface DeleteMenuV3BrandRequest extends BaseRequest, DeleteMenuV3BrandPath {
|
|
1549
|
+
}
|
|
1550
|
+
export interface PostMenuV3BrandBody {
|
|
1551
|
+
layouts?: LayoutDTO[];
|
|
1552
|
+
items?: ItemDTO[];
|
|
1553
|
+
modifier_groups?: ModifierGroupDTO[];
|
|
1554
|
+
modifiers?: ModifierDTO[];
|
|
1555
|
+
id?: any;
|
|
1556
|
+
[index: string]: any;
|
|
1557
|
+
}
|
|
1558
|
+
export type PostMenuV3BrandResponse = BrandDTO;
|
|
1559
|
+
export interface PostMenuV3BrandRequest extends BaseRequest {
|
|
1560
|
+
body: PostMenuV3BrandBody;
|
|
1561
|
+
}
|
|
1562
|
+
export interface GetMenuV3BrandsCountQuery {
|
|
1563
|
+
filter?: any;
|
|
1564
|
+
_query?: string;
|
|
1565
|
+
}
|
|
1566
|
+
export interface GetMenuV3BrandsCountResponse {
|
|
1567
|
+
count: number;
|
|
1568
|
+
[index: string]: any;
|
|
1569
|
+
}
|
|
1570
|
+
export interface GetMenuV3BrandsCountRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsCountQuery> {
|
|
1571
|
+
}
|
|
1572
|
+
export interface GetMenuV3StationsQuery {
|
|
1573
|
+
filter?: any;
|
|
1574
|
+
limit?: number;
|
|
1575
|
+
page?: number;
|
|
1576
|
+
sort_by?: string;
|
|
1577
|
+
sort_order?: string;
|
|
1578
|
+
soft_deleted?: string;
|
|
1579
|
+
select?: string[];
|
|
1580
|
+
relationships?: string[];
|
|
1581
|
+
_query?: string;
|
|
1582
|
+
}
|
|
1583
|
+
export interface GetMenuV3StationsResponse {
|
|
1584
|
+
meta: PaginationMetaDTO;
|
|
1585
|
+
results: StationDTO[];
|
|
1586
|
+
[index: string]: any;
|
|
1587
|
+
}
|
|
1588
|
+
export interface GetMenuV3StationsRequest extends BaseRequest, RequestQuery<GetMenuV3StationsQuery> {
|
|
1589
|
+
}
|
|
1590
|
+
export type PostMenuV3StationsBody = {
|
|
1591
|
+
layouts?: LayoutDTO[];
|
|
1592
|
+
items?: ItemDTO[];
|
|
1593
|
+
modifier_groups?: ModifierGroupDTO[];
|
|
1594
|
+
modifiers?: ModifierDTO[];
|
|
1595
|
+
id?: any;
|
|
1596
|
+
[index: string]: any;
|
|
1597
|
+
}[];
|
|
1598
|
+
export interface PostMenuV3StationsResponse {
|
|
1599
|
+
meta: PaginationMetaDTO;
|
|
1600
|
+
results: StationDTO[];
|
|
1601
|
+
[index: string]: any;
|
|
1602
|
+
}
|
|
1603
|
+
export interface PostMenuV3StationsRequest extends BaseRequest {
|
|
1604
|
+
body: PostMenuV3StationsBody;
|
|
1605
|
+
}
|
|
1606
|
+
export interface GetMenuV3StationPath {
|
|
1607
|
+
id: string;
|
|
1608
|
+
}
|
|
1609
|
+
export interface GetMenuV3StationQuery {
|
|
1610
|
+
select?: string[];
|
|
1611
|
+
relationships?: string[];
|
|
1612
|
+
_query?: string;
|
|
1613
|
+
}
|
|
1614
|
+
export type GetMenuV3StationResponse = StationDTO;
|
|
1615
|
+
export interface GetMenuV3StationRequest extends BaseRequest, RequestQuery<GetMenuV3StationQuery>, GetMenuV3StationPath {
|
|
1616
|
+
}
|
|
1617
|
+
export interface PatchMenuV3StationPath {
|
|
1618
|
+
id: string;
|
|
1619
|
+
}
|
|
1620
|
+
export interface PatchMenuV3StationBody {
|
|
1621
|
+
layouts?: LayoutDTO[];
|
|
1622
|
+
items?: ItemDTO[];
|
|
1623
|
+
modifier_groups?: ModifierGroupDTO[];
|
|
1624
|
+
modifiers?: ModifierDTO[];
|
|
1625
|
+
id?: string;
|
|
1626
|
+
[index: string]: any;
|
|
1627
|
+
}
|
|
1628
|
+
export type PatchMenuV3StationResponse = StationDTO;
|
|
1629
|
+
export interface PatchMenuV3StationRequest extends BaseRequest, PatchMenuV3StationPath {
|
|
1630
|
+
body: PatchMenuV3StationBody;
|
|
1631
|
+
}
|
|
1632
|
+
export interface DeleteMenuV3StationPath {
|
|
1633
|
+
id: string;
|
|
1634
|
+
}
|
|
1635
|
+
export type DeleteMenuV3StationResponse = StationDTO;
|
|
1636
|
+
export interface DeleteMenuV3StationRequest extends BaseRequest, DeleteMenuV3StationPath {
|
|
1637
|
+
}
|
|
1638
|
+
export interface PostMenuV3StationBody {
|
|
1639
|
+
layouts?: LayoutDTO[];
|
|
1640
|
+
items?: ItemDTO[];
|
|
1641
|
+
modifier_groups?: ModifierGroupDTO[];
|
|
1642
|
+
modifiers?: ModifierDTO[];
|
|
1643
|
+
id?: any;
|
|
1644
|
+
[index: string]: any;
|
|
1645
|
+
}
|
|
1646
|
+
export type PostMenuV3StationResponse = StationDTO;
|
|
1647
|
+
export interface PostMenuV3StationRequest extends BaseRequest {
|
|
1648
|
+
body: PostMenuV3StationBody;
|
|
1649
|
+
}
|
|
1650
|
+
export interface GetMenuV3StationsCountQuery {
|
|
1651
|
+
filter?: any;
|
|
1652
|
+
_query?: string;
|
|
1653
|
+
}
|
|
1654
|
+
export interface GetMenuV3StationsCountResponse {
|
|
1655
|
+
count: number;
|
|
1656
|
+
[index: string]: any;
|
|
1657
|
+
}
|
|
1658
|
+
export interface GetMenuV3StationsCountRequest extends BaseRequest, RequestQuery<GetMenuV3StationsCountQuery> {
|
|
1659
|
+
}
|
|
748
1660
|
export interface GetMenuClientPath {
|
|
749
1661
|
client_id: string;
|
|
750
1662
|
}
|
|
@@ -1002,4 +1914,176 @@ export type PostMenuPartialGroupItemOptionsResponse = Items;
|
|
|
1002
1914
|
export interface PostMenuPartialGroupItemOptionsRequest extends BaseRequest, RequestQuery<PostMenuPartialGroupItemOptionsQuery>, PostMenuPartialGroupItemOptionsPath {
|
|
1003
1915
|
body: PostMenuPartialGroupItemOptionsBody;
|
|
1004
1916
|
}
|
|
1917
|
+
export interface PostMenuV3LayoutPublishPath {
|
|
1918
|
+
id: string;
|
|
1919
|
+
}
|
|
1920
|
+
export interface PostMenuV3LayoutPublishQuery {
|
|
1921
|
+
filter?: any;
|
|
1922
|
+
limit?: number;
|
|
1923
|
+
page?: number;
|
|
1924
|
+
sort_by?: string;
|
|
1925
|
+
sort_order?: string;
|
|
1926
|
+
soft_deleted?: string;
|
|
1927
|
+
select?: string[];
|
|
1928
|
+
relationships?: string[];
|
|
1929
|
+
}
|
|
1930
|
+
export interface PostMenuV3LayoutPublishResponse {
|
|
1931
|
+
status?: string;
|
|
1932
|
+
}
|
|
1933
|
+
export interface PostMenuV3LayoutPublishRequest extends BaseRequest, RequestQuery<PostMenuV3LayoutPublishQuery>, PostMenuV3LayoutPublishPath {
|
|
1934
|
+
}
|
|
1935
|
+
export type PostMenuV3CategorysBody = {
|
|
1936
|
+
name: string;
|
|
1937
|
+
label?: string;
|
|
1938
|
+
sequence?: number;
|
|
1939
|
+
priority?: number;
|
|
1940
|
+
is_active?: boolean;
|
|
1941
|
+
layout_id: string;
|
|
1942
|
+
id?: any;
|
|
1943
|
+
layout?: LayoutDTO;
|
|
1944
|
+
items?: CategoryToItemRelationshipDTO[];
|
|
1945
|
+
[index: string]: any;
|
|
1946
|
+
}[];
|
|
1947
|
+
export interface PostMenuV3CategorysResponse {
|
|
1948
|
+
meta: PaginationMetaDTO;
|
|
1949
|
+
results: CategoryDTO[];
|
|
1950
|
+
[index: string]: any;
|
|
1951
|
+
}
|
|
1952
|
+
export interface PostMenuV3CategorysRequest extends BaseRequest {
|
|
1953
|
+
body: PostMenuV3CategorysBody;
|
|
1954
|
+
}
|
|
1955
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
|
|
1956
|
+
filter?: any;
|
|
1957
|
+
_query?: string;
|
|
1958
|
+
}
|
|
1959
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountResponse {
|
|
1960
|
+
count: number;
|
|
1961
|
+
[index: string]: any;
|
|
1962
|
+
}
|
|
1963
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsCountQuery> {
|
|
1964
|
+
}
|
|
1965
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsCountQuery {
|
|
1966
|
+
filter?: any;
|
|
1967
|
+
_query?: string;
|
|
1968
|
+
}
|
|
1969
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsCountResponse {
|
|
1970
|
+
count: number;
|
|
1971
|
+
[index: string]: any;
|
|
1972
|
+
}
|
|
1973
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsCountQuery> {
|
|
1974
|
+
}
|
|
1975
|
+
export interface GetMenuV3ModifierGroupsCountQuery {
|
|
1976
|
+
filter?: any;
|
|
1977
|
+
_query?: string;
|
|
1978
|
+
}
|
|
1979
|
+
export interface GetMenuV3ModifierGroupsCountResponse {
|
|
1980
|
+
count: number;
|
|
1981
|
+
[index: string]: any;
|
|
1982
|
+
}
|
|
1983
|
+
export interface GetMenuV3ModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsCountQuery> {
|
|
1984
|
+
}
|
|
1985
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersCountQuery {
|
|
1986
|
+
filter?: any;
|
|
1987
|
+
_query?: string;
|
|
1988
|
+
}
|
|
1989
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersCountResponse {
|
|
1990
|
+
count: number;
|
|
1991
|
+
[index: string]: any;
|
|
1992
|
+
}
|
|
1993
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersCountQuery> {
|
|
1994
|
+
}
|
|
1995
|
+
export interface GetMenuV3ModifiersCountQuery {
|
|
1996
|
+
filter?: any;
|
|
1997
|
+
_query?: string;
|
|
1998
|
+
}
|
|
1999
|
+
export interface GetMenuV3ModifiersCountResponse {
|
|
2000
|
+
count: number;
|
|
2001
|
+
[index: string]: any;
|
|
2002
|
+
}
|
|
2003
|
+
export interface GetMenuV3ModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersCountQuery> {
|
|
2004
|
+
}
|
|
2005
|
+
export interface GetMenuV3StationModifiersPath {
|
|
2006
|
+
id: string;
|
|
2007
|
+
}
|
|
2008
|
+
export interface GetMenuV3StationModifiersQuery {
|
|
2009
|
+
filter?: any;
|
|
2010
|
+
limit?: number;
|
|
2011
|
+
page?: number;
|
|
2012
|
+
sort_by?: string;
|
|
2013
|
+
sort_order?: string;
|
|
2014
|
+
soft_deleted?: string;
|
|
2015
|
+
select?: string[];
|
|
2016
|
+
relationships?: string[];
|
|
2017
|
+
_query?: string;
|
|
2018
|
+
}
|
|
2019
|
+
export interface GetMenuV3StationModifiersResponse {
|
|
2020
|
+
meta: PaginationMetaDTO;
|
|
2021
|
+
results: ModifierDTO[];
|
|
2022
|
+
[index: string]: any;
|
|
2023
|
+
}
|
|
2024
|
+
export interface GetMenuV3StationModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3StationModifiersQuery>, GetMenuV3StationModifiersPath {
|
|
2025
|
+
}
|
|
2026
|
+
export interface GetMenuV3StationModifierGroupsPath {
|
|
2027
|
+
id: string;
|
|
2028
|
+
}
|
|
2029
|
+
export interface GetMenuV3StationModifierGroupsQuery {
|
|
2030
|
+
filter?: any;
|
|
2031
|
+
limit?: number;
|
|
2032
|
+
page?: number;
|
|
2033
|
+
sort_by?: string;
|
|
2034
|
+
sort_order?: string;
|
|
2035
|
+
soft_deleted?: string;
|
|
2036
|
+
select?: string[];
|
|
2037
|
+
relationships?: string[];
|
|
2038
|
+
_query?: string;
|
|
2039
|
+
}
|
|
2040
|
+
export interface GetMenuV3StationModifierGroupsResponse {
|
|
2041
|
+
meta: PaginationMetaDTO;
|
|
2042
|
+
results: ModifierGroupDTO[];
|
|
2043
|
+
[index: string]: any;
|
|
2044
|
+
}
|
|
2045
|
+
export interface GetMenuV3StationModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3StationModifierGroupsQuery>, GetMenuV3StationModifierGroupsPath {
|
|
2046
|
+
}
|
|
2047
|
+
export interface GetMenuV3StationItemsPath {
|
|
2048
|
+
id: string;
|
|
2049
|
+
}
|
|
2050
|
+
export interface GetMenuV3StationItemsQuery {
|
|
2051
|
+
filter?: any;
|
|
2052
|
+
limit?: number;
|
|
2053
|
+
page?: number;
|
|
2054
|
+
sort_by?: string;
|
|
2055
|
+
sort_order?: string;
|
|
2056
|
+
soft_deleted?: string;
|
|
2057
|
+
select?: string[];
|
|
2058
|
+
relationships?: string[];
|
|
2059
|
+
_query?: string;
|
|
2060
|
+
}
|
|
2061
|
+
export interface GetMenuV3StationItemsResponse {
|
|
2062
|
+
meta: PaginationMetaDTO;
|
|
2063
|
+
results: ItemDTO[];
|
|
2064
|
+
[index: string]: any;
|
|
2065
|
+
}
|
|
2066
|
+
export interface GetMenuV3StationItemsRequest extends BaseRequest, RequestQuery<GetMenuV3StationItemsQuery>, GetMenuV3StationItemsPath {
|
|
2067
|
+
}
|
|
2068
|
+
export interface GetMenuV3SiteLayoutsPath {
|
|
2069
|
+
id: string;
|
|
2070
|
+
}
|
|
2071
|
+
export interface GetMenuV3SiteLayoutsQuery {
|
|
2072
|
+
filter?: any;
|
|
2073
|
+
limit?: number;
|
|
2074
|
+
page?: number;
|
|
2075
|
+
sort_by?: string;
|
|
2076
|
+
sort_order?: string;
|
|
2077
|
+
soft_deleted?: string;
|
|
2078
|
+
select?: string[];
|
|
2079
|
+
relationships?: string[];
|
|
2080
|
+
_query?: string;
|
|
2081
|
+
}
|
|
2082
|
+
export interface GetMenuV3SiteLayoutsResponse {
|
|
2083
|
+
meta: PaginationMetaDTO;
|
|
2084
|
+
results: LayoutDTO[];
|
|
2085
|
+
[index: string]: any;
|
|
2086
|
+
}
|
|
2087
|
+
export interface GetMenuV3SiteLayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3SiteLayoutsQuery>, GetMenuV3SiteLayoutsPath {
|
|
2088
|
+
}
|
|
1005
2089
|
//# sourceMappingURL=menu.d.ts.map
|