@compassdigital/sdk.typescript 3.45.0 → 3.45.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +260 -136
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +271 -136
- package/lib/index.js.map +1 -1
- package/lib/interface/delivery.d.ts +73 -0
- package/lib/interface/delivery.d.ts.map +1 -0
- package/lib/interface/delivery.js +4 -0
- package/lib/interface/delivery.js.map +1 -0
- package/lib/interface/menu.d.ts +299 -169
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/order.d.ts +10 -0
- package/lib/interface/order.d.ts.map +1 -1
- package/manifest.json +4 -0
- package/package.json +1 -1
- package/src/index.ts +682 -353
- package/src/interface/delivery.ts +101 -0
- package/src/interface/menu.ts +476 -247
- package/src/interface/order.ts +21 -0
package/lib/interface/menu.d.ts
CHANGED
|
@@ -19,10 +19,21 @@ 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[];
|
|
25
33
|
}
|
|
34
|
+
export type ItemToModifierGroupRelationshipList = ItemToModifierGroupRelationship[];
|
|
35
|
+
export type CategoryToItemRelationshipList = CategoryToItemRelationship[];
|
|
36
|
+
export type ModifierGroupToModifierRelationshipList = ModifierGroupToModifierRelationship[];
|
|
26
37
|
export interface ItemToModifierGroupRelationshipListResponse {
|
|
27
38
|
meta?: Meta;
|
|
28
39
|
results?: ItemToModifierGroupRelationship[];
|
|
@@ -53,6 +64,7 @@ export interface Modifier {
|
|
|
53
64
|
label?: string;
|
|
54
65
|
price?: number;
|
|
55
66
|
calories?: number;
|
|
67
|
+
priority?: number;
|
|
56
68
|
posid?: string;
|
|
57
69
|
tax_tags?: string[];
|
|
58
70
|
is_active?: boolean;
|
|
@@ -60,6 +72,8 @@ export interface Modifier {
|
|
|
60
72
|
created_at?: string;
|
|
61
73
|
updated_at?: string;
|
|
62
74
|
deleted_at?: string;
|
|
75
|
+
brand_id?: string;
|
|
76
|
+
station_id?: string;
|
|
63
77
|
[index: string]: any;
|
|
64
78
|
}
|
|
65
79
|
export interface ModifierGroup {
|
|
@@ -69,9 +83,12 @@ export interface ModifierGroup {
|
|
|
69
83
|
min?: number;
|
|
70
84
|
max?: number;
|
|
71
85
|
is_active?: boolean;
|
|
86
|
+
priority?: number;
|
|
72
87
|
created_at?: string;
|
|
73
88
|
updated_at?: string;
|
|
74
89
|
deleted_at?: string;
|
|
90
|
+
brand_id?: string;
|
|
91
|
+
station_id?: string;
|
|
75
92
|
[index: string]: any;
|
|
76
93
|
}
|
|
77
94
|
export interface LocalItem {
|
|
@@ -81,6 +98,7 @@ export interface LocalItem {
|
|
|
81
98
|
label?: string;
|
|
82
99
|
price?: number;
|
|
83
100
|
calories?: number;
|
|
101
|
+
priority?: number;
|
|
84
102
|
posid?: string;
|
|
85
103
|
barcode?: string;
|
|
86
104
|
tax_tags?: string[];
|
|
@@ -89,6 +107,8 @@ export interface LocalItem {
|
|
|
89
107
|
created_at?: string;
|
|
90
108
|
updated_at?: string;
|
|
91
109
|
deleted_at?: string;
|
|
110
|
+
brand_id?: string;
|
|
111
|
+
station_id?: string;
|
|
92
112
|
[index: string]: any;
|
|
93
113
|
}
|
|
94
114
|
export interface MenuV2 {
|
|
@@ -105,6 +125,22 @@ export interface Layout {
|
|
|
105
125
|
created_at?: string;
|
|
106
126
|
updated_at?: string;
|
|
107
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;
|
|
108
144
|
[index: string]: any;
|
|
109
145
|
}
|
|
110
146
|
export interface Category {
|
|
@@ -113,6 +149,7 @@ export interface Category {
|
|
|
113
149
|
label?: string;
|
|
114
150
|
sequence?: number;
|
|
115
151
|
is_active?: boolean;
|
|
152
|
+
priority?: number;
|
|
116
153
|
created_at?: string;
|
|
117
154
|
updated_at?: string;
|
|
118
155
|
deleted_at?: string;
|
|
@@ -411,317 +448,410 @@ export interface ZippedExcelExport {
|
|
|
411
448
|
file?: string;
|
|
412
449
|
format?: string;
|
|
413
450
|
}
|
|
414
|
-
export interface
|
|
451
|
+
export interface GetMenuV3ModifiersQuery {
|
|
415
452
|
_query?: string;
|
|
416
453
|
}
|
|
417
|
-
export type
|
|
418
|
-
export interface
|
|
454
|
+
export type GetMenuV3ModifiersResponse = ModifiersListResponse;
|
|
455
|
+
export interface GetMenuV3ModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersQuery> {
|
|
419
456
|
}
|
|
420
|
-
export interface
|
|
457
|
+
export interface GetMenuV3ModifierPath {
|
|
421
458
|
id: string;
|
|
422
459
|
}
|
|
423
|
-
export interface
|
|
460
|
+
export interface GetMenuV3ModifierQuery {
|
|
424
461
|
_query?: string;
|
|
425
462
|
}
|
|
426
|
-
export type
|
|
427
|
-
export interface
|
|
463
|
+
export type GetMenuV3ModifierResponse = Modifier;
|
|
464
|
+
export interface GetMenuV3ModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierQuery>, GetMenuV3ModifierPath {
|
|
428
465
|
}
|
|
429
|
-
export interface
|
|
466
|
+
export interface PatchMenuV3ModifierPath {
|
|
430
467
|
id: string;
|
|
431
468
|
}
|
|
432
|
-
export type
|
|
433
|
-
export type
|
|
434
|
-
export interface
|
|
435
|
-
body:
|
|
469
|
+
export type PatchMenuV3ModifierBody = Modifier;
|
|
470
|
+
export type PatchMenuV3ModifierResponse = Modifier;
|
|
471
|
+
export interface PatchMenuV3ModifierRequest extends BaseRequest, PatchMenuV3ModifierPath {
|
|
472
|
+
body: PatchMenuV3ModifierBody;
|
|
436
473
|
}
|
|
437
|
-
export type
|
|
438
|
-
export type
|
|
439
|
-
export interface
|
|
440
|
-
body:
|
|
474
|
+
export type PostMenuV3ModifierBody = Modifier;
|
|
475
|
+
export type PostMenuV3ModifierResponse = Modifier;
|
|
476
|
+
export interface PostMenuV3ModifierRequest extends BaseRequest {
|
|
477
|
+
body: PostMenuV3ModifierBody;
|
|
441
478
|
}
|
|
442
|
-
export interface
|
|
479
|
+
export interface GetMenuV3ModifierCountQuery {
|
|
443
480
|
_query?: string;
|
|
444
481
|
}
|
|
445
|
-
export interface
|
|
482
|
+
export interface GetMenuV3ModifierCountResponse {
|
|
446
483
|
count?: number;
|
|
447
484
|
}
|
|
448
|
-
export interface
|
|
485
|
+
export interface GetMenuV3ModifierCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierCountQuery> {
|
|
449
486
|
}
|
|
450
|
-
export interface
|
|
487
|
+
export interface GetMenuV3ModifierGroupsQuery {
|
|
451
488
|
_query?: string;
|
|
452
489
|
}
|
|
453
|
-
export type
|
|
454
|
-
export interface
|
|
490
|
+
export type GetMenuV3ModifierGroupsResponse = ModifierGroupsListResponse;
|
|
491
|
+
export interface GetMenuV3ModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsQuery> {
|
|
455
492
|
}
|
|
456
|
-
export type
|
|
457
|
-
export type
|
|
458
|
-
export interface
|
|
459
|
-
body:
|
|
493
|
+
export type PostMenuV3ModifierGroupBody = ModifierGroup;
|
|
494
|
+
export type PostMenuV3ModifierGroupResponse = ModifierGroup;
|
|
495
|
+
export interface PostMenuV3ModifierGroupRequest extends BaseRequest {
|
|
496
|
+
body: PostMenuV3ModifierGroupBody;
|
|
460
497
|
}
|
|
461
|
-
export interface
|
|
498
|
+
export interface GetMenuV3ModifierGroupPath {
|
|
462
499
|
id: string;
|
|
463
500
|
}
|
|
464
|
-
export interface
|
|
501
|
+
export interface GetMenuV3ModifierGroupQuery {
|
|
465
502
|
_query?: string;
|
|
466
503
|
}
|
|
467
|
-
export type
|
|
468
|
-
export interface
|
|
504
|
+
export type GetMenuV3ModifierGroupResponse = ModifierGroup;
|
|
505
|
+
export interface GetMenuV3ModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupQuery>, GetMenuV3ModifierGroupPath {
|
|
469
506
|
}
|
|
470
|
-
export interface
|
|
507
|
+
export interface PatchMenuV3ModifierGroupPath {
|
|
471
508
|
id: string;
|
|
472
509
|
}
|
|
473
|
-
export type
|
|
474
|
-
export type
|
|
475
|
-
export interface
|
|
476
|
-
body:
|
|
510
|
+
export type PatchMenuV3ModifierGroupBody = ModifierGroup;
|
|
511
|
+
export type PatchMenuV3ModifierGroupResponse = ModifierGroup;
|
|
512
|
+
export interface PatchMenuV3ModifierGroupRequest extends BaseRequest, PatchMenuV3ModifierGroupPath {
|
|
513
|
+
body: PatchMenuV3ModifierGroupBody;
|
|
477
514
|
}
|
|
478
|
-
export interface
|
|
515
|
+
export interface GetMenuV3ModifierGroupCountQuery {
|
|
479
516
|
_query?: string;
|
|
480
517
|
}
|
|
481
|
-
export interface
|
|
518
|
+
export interface GetMenuV3ModifierGroupCountResponse {
|
|
482
519
|
count?: number;
|
|
483
520
|
}
|
|
484
|
-
export interface
|
|
521
|
+
export interface GetMenuV3ModifierGroupCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupCountQuery> {
|
|
485
522
|
}
|
|
486
|
-
export interface
|
|
523
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
|
|
487
524
|
_query?: string;
|
|
488
525
|
}
|
|
489
|
-
export type
|
|
490
|
-
export interface
|
|
526
|
+
export type GetMenuV3ModifierGroupRelationshipsModifiersResponse = ModifierGroupToModifierRelationshipListResponse;
|
|
527
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersQuery> {
|
|
528
|
+
}
|
|
529
|
+
export type PostMenuV3ModifierGroupRelationshipsModifiersBody = ModifierGroupToModifierRelationshipList;
|
|
530
|
+
export type PostMenuV3ModifierGroupRelationshipsModifiersResponse = ModifierGroupToModifierRelationshipListResponse;
|
|
531
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest {
|
|
532
|
+
body: PostMenuV3ModifierGroupRelationshipsModifiersBody;
|
|
491
533
|
}
|
|
492
|
-
export type
|
|
493
|
-
export type
|
|
494
|
-
export interface
|
|
495
|
-
body:
|
|
534
|
+
export type PostMenuV3ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
|
|
535
|
+
export type PostMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationship;
|
|
536
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest {
|
|
537
|
+
body: PostMenuV3ModifierGroupRelationshipsModifierBody;
|
|
496
538
|
}
|
|
497
|
-
export interface
|
|
539
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifierPath {
|
|
498
540
|
id: string;
|
|
499
541
|
}
|
|
500
|
-
export interface
|
|
542
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifierQuery {
|
|
501
543
|
_query?: string;
|
|
502
544
|
}
|
|
503
|
-
export type
|
|
504
|
-
export interface
|
|
545
|
+
export type GetMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationship;
|
|
546
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifierQuery>, GetMenuV3ModifierGroupRelationshipsModifierPath {
|
|
505
547
|
}
|
|
506
|
-
export interface
|
|
548
|
+
export interface PatchMenuV3ModifierGroupRelationshipsModifierPath {
|
|
507
549
|
id: string;
|
|
508
550
|
}
|
|
509
|
-
export type
|
|
510
|
-
export type
|
|
511
|
-
export interface
|
|
512
|
-
body:
|
|
551
|
+
export type PatchMenuV3ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
|
|
552
|
+
export type PatchMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationship;
|
|
553
|
+
export interface PatchMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, PatchMenuV3ModifierGroupRelationshipsModifierPath {
|
|
554
|
+
body: PatchMenuV3ModifierGroupRelationshipsModifierBody;
|
|
513
555
|
}
|
|
514
|
-
export interface
|
|
556
|
+
export interface GetMenuV3ItemsQuery {
|
|
515
557
|
_query?: string;
|
|
516
558
|
}
|
|
517
|
-
export type
|
|
518
|
-
export interface
|
|
559
|
+
export type GetMenuV3ItemsResponse = ItemsListResponse;
|
|
560
|
+
export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {
|
|
519
561
|
}
|
|
520
|
-
export interface
|
|
562
|
+
export interface GetMenuV3ItemPath {
|
|
521
563
|
id: string;
|
|
522
564
|
}
|
|
523
|
-
export interface
|
|
565
|
+
export interface GetMenuV3ItemQuery {
|
|
524
566
|
_query?: string;
|
|
525
567
|
}
|
|
526
|
-
export type
|
|
527
|
-
export interface
|
|
568
|
+
export type GetMenuV3ItemResponse = LocalItem;
|
|
569
|
+
export interface GetMenuV3ItemRequest extends BaseRequest, RequestQuery<GetMenuV3ItemQuery>, GetMenuV3ItemPath {
|
|
528
570
|
}
|
|
529
|
-
export interface
|
|
571
|
+
export interface PatchMenuV3ItemPath {
|
|
530
572
|
id: string;
|
|
531
573
|
}
|
|
532
|
-
export type
|
|
533
|
-
export type
|
|
534
|
-
export interface
|
|
535
|
-
body:
|
|
574
|
+
export type PatchMenuV3ItemBody = LocalItem;
|
|
575
|
+
export type PatchMenuV3ItemResponse = LocalItem;
|
|
576
|
+
export interface PatchMenuV3ItemRequest extends BaseRequest, PatchMenuV3ItemPath {
|
|
577
|
+
body: PatchMenuV3ItemBody;
|
|
536
578
|
}
|
|
537
|
-
export type
|
|
538
|
-
export type
|
|
539
|
-
export interface
|
|
540
|
-
body:
|
|
579
|
+
export type PostMenuV3ItemBody = LocalItem;
|
|
580
|
+
export type PostMenuV3ItemResponse = LocalItem;
|
|
581
|
+
export interface PostMenuV3ItemRequest extends BaseRequest {
|
|
582
|
+
body: PostMenuV3ItemBody;
|
|
541
583
|
}
|
|
542
|
-
export interface
|
|
584
|
+
export interface GetMenuV3ItemsCountQuery {
|
|
543
585
|
_query?: string;
|
|
544
586
|
}
|
|
545
|
-
export interface
|
|
587
|
+
export interface GetMenuV3ItemsCountResponse {
|
|
546
588
|
count?: number;
|
|
547
589
|
}
|
|
548
|
-
export interface
|
|
590
|
+
export interface GetMenuV3ItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsCountQuery> {
|
|
549
591
|
}
|
|
550
|
-
export interface
|
|
592
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
|
|
551
593
|
_query?: string;
|
|
552
594
|
}
|
|
553
|
-
export type
|
|
554
|
-
export interface
|
|
595
|
+
export type GetMenuV3ItemRelationshipsModifierGroupsResponse = ItemToModifierGroupRelationshipListResponse;
|
|
596
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsQuery> {
|
|
555
597
|
}
|
|
556
|
-
export type
|
|
557
|
-
export type
|
|
558
|
-
export interface
|
|
559
|
-
body:
|
|
598
|
+
export type PostMenuV3ItemRelationshipsModifierGroupsBody = ItemToModifierGroupRelationshipList;
|
|
599
|
+
export type PostMenuV3ItemRelationshipsModifierGroupsResponse = ItemToModifierGroupRelationshipListResponse;
|
|
600
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest {
|
|
601
|
+
body: PostMenuV3ItemRelationshipsModifierGroupsBody;
|
|
560
602
|
}
|
|
561
|
-
export
|
|
603
|
+
export type PostMenuV3ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
|
|
604
|
+
export type PostMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
|
|
605
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest {
|
|
606
|
+
body: PostMenuV3ItemRelationshipsModifierGroupBody;
|
|
607
|
+
}
|
|
608
|
+
export interface PatchMenuV3ItemRelationshipsModifierGroupPath {
|
|
562
609
|
id: string;
|
|
563
610
|
}
|
|
564
|
-
export type
|
|
565
|
-
export type
|
|
566
|
-
export interface
|
|
567
|
-
body:
|
|
611
|
+
export type PatchMenuV3ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
|
|
612
|
+
export type PatchMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
|
|
613
|
+
export interface PatchMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, PatchMenuV3ItemRelationshipsModifierGroupPath {
|
|
614
|
+
body: PatchMenuV3ItemRelationshipsModifierGroupBody;
|
|
568
615
|
}
|
|
569
|
-
export interface
|
|
616
|
+
export interface DeleteMenuV3ItemRelationshipsModifierGroupPath {
|
|
570
617
|
id: string;
|
|
571
618
|
}
|
|
572
|
-
export type
|
|
573
|
-
export interface
|
|
619
|
+
export type DeleteMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
|
|
620
|
+
export interface DeleteMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, DeleteMenuV3ItemRelationshipsModifierGroupPath {
|
|
621
|
+
}
|
|
622
|
+
export interface GetMenuV3LayoutsQuery {
|
|
623
|
+
_query?: string;
|
|
624
|
+
}
|
|
625
|
+
export type GetMenuV3LayoutsResponse = LayoutListResponse;
|
|
626
|
+
export interface GetMenuV3LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsQuery> {
|
|
627
|
+
}
|
|
628
|
+
export interface GetMenuV3LayoutCategoriesPath {
|
|
629
|
+
id: string;
|
|
574
630
|
}
|
|
575
|
-
export interface
|
|
631
|
+
export interface GetMenuV3LayoutCategoriesQuery {
|
|
576
632
|
_query?: string;
|
|
577
633
|
}
|
|
578
|
-
export type
|
|
579
|
-
export interface
|
|
634
|
+
export type GetMenuV3LayoutCategoriesResponse = CategoryListResponse;
|
|
635
|
+
export interface GetMenuV3LayoutCategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutCategoriesQuery>, GetMenuV3LayoutCategoriesPath {
|
|
580
636
|
}
|
|
581
|
-
export interface
|
|
637
|
+
export interface GetMenuV3LayoutPath {
|
|
582
638
|
id: string;
|
|
583
639
|
}
|
|
584
|
-
export interface
|
|
640
|
+
export interface GetMenuV3LayoutQuery {
|
|
585
641
|
_query?: string;
|
|
586
642
|
}
|
|
587
|
-
export type
|
|
588
|
-
export interface
|
|
643
|
+
export type GetMenuV3LayoutResponse = Layout;
|
|
644
|
+
export interface GetMenuV3LayoutRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutQuery>, GetMenuV3LayoutPath {
|
|
589
645
|
}
|
|
590
|
-
export interface
|
|
646
|
+
export interface PatchMenuV3LayoutPath {
|
|
591
647
|
id: string;
|
|
592
648
|
}
|
|
593
|
-
export type
|
|
594
|
-
export type
|
|
595
|
-
export interface
|
|
596
|
-
body:
|
|
649
|
+
export type PatchMenuV3LayoutBody = Layout;
|
|
650
|
+
export type PatchMenuV3LayoutResponse = Layout;
|
|
651
|
+
export interface PatchMenuV3LayoutRequest extends BaseRequest, PatchMenuV3LayoutPath {
|
|
652
|
+
body: PatchMenuV3LayoutBody;
|
|
597
653
|
}
|
|
598
|
-
export interface
|
|
654
|
+
export interface DeleteMenuV3LayoutPath {
|
|
599
655
|
id: string;
|
|
600
656
|
}
|
|
601
|
-
export type
|
|
602
|
-
export interface
|
|
657
|
+
export type DeleteMenuV3LayoutResponse = Layout;
|
|
658
|
+
export interface DeleteMenuV3LayoutRequest extends BaseRequest, DeleteMenuV3LayoutPath {
|
|
603
659
|
}
|
|
604
|
-
export type
|
|
605
|
-
export type
|
|
606
|
-
export interface
|
|
607
|
-
body:
|
|
660
|
+
export type PostMenuV3LayoutBody = Layout;
|
|
661
|
+
export type PostMenuV3LayoutResponse = Layout;
|
|
662
|
+
export interface PostMenuV3LayoutRequest extends BaseRequest {
|
|
663
|
+
body: PostMenuV3LayoutBody;
|
|
608
664
|
}
|
|
609
|
-
export interface
|
|
665
|
+
export interface GetMenuV3LayoutsCountQuery {
|
|
610
666
|
_query?: string;
|
|
611
667
|
}
|
|
612
|
-
export interface
|
|
668
|
+
export interface GetMenuV3LayoutsCountResponse {
|
|
613
669
|
count?: number;
|
|
614
670
|
}
|
|
615
|
-
export interface
|
|
671
|
+
export interface GetMenuV3LayoutsCountRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsCountQuery> {
|
|
616
672
|
}
|
|
617
|
-
export interface
|
|
673
|
+
export interface GetMenuV3CategoriesQuery {
|
|
618
674
|
_query?: string;
|
|
619
675
|
}
|
|
620
|
-
export type
|
|
621
|
-
export interface
|
|
676
|
+
export type GetMenuV3CategoriesResponse = CategoryListResponse;
|
|
677
|
+
export interface GetMenuV3CategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3CategoriesQuery> {
|
|
622
678
|
}
|
|
623
|
-
export interface
|
|
679
|
+
export interface GetMenuV3CategoryPath {
|
|
624
680
|
id: string;
|
|
625
681
|
}
|
|
626
|
-
export interface
|
|
682
|
+
export interface GetMenuV3CategoryQuery {
|
|
627
683
|
_query?: string;
|
|
628
684
|
}
|
|
629
|
-
export type
|
|
630
|
-
export interface
|
|
685
|
+
export type GetMenuV3CategoryResponse = Category;
|
|
686
|
+
export interface GetMenuV3CategoryRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryQuery>, GetMenuV3CategoryPath {
|
|
631
687
|
}
|
|
632
|
-
export interface
|
|
688
|
+
export interface PatchMenuV3CategoryPath {
|
|
633
689
|
id: string;
|
|
634
690
|
}
|
|
635
|
-
export type
|
|
636
|
-
export type
|
|
637
|
-
export interface
|
|
638
|
-
body:
|
|
691
|
+
export type PatchMenuV3CategoryBody = Category;
|
|
692
|
+
export type PatchMenuV3CategoryResponse = Category;
|
|
693
|
+
export interface PatchMenuV3CategoryRequest extends BaseRequest, PatchMenuV3CategoryPath {
|
|
694
|
+
body: PatchMenuV3CategoryBody;
|
|
639
695
|
}
|
|
640
|
-
export interface
|
|
696
|
+
export interface DeleteMenuV3CategoryPath {
|
|
641
697
|
id: string;
|
|
642
698
|
}
|
|
643
|
-
export type
|
|
644
|
-
export interface
|
|
699
|
+
export type DeleteMenuV3CategoryResponse = Category;
|
|
700
|
+
export interface DeleteMenuV3CategoryRequest extends BaseRequest, DeleteMenuV3CategoryPath {
|
|
645
701
|
}
|
|
646
|
-
export type
|
|
647
|
-
export type
|
|
648
|
-
export interface
|
|
649
|
-
body:
|
|
702
|
+
export type PostMenuV3CategoryBody = Category;
|
|
703
|
+
export type PostMenuV3CategoryResponse = Category;
|
|
704
|
+
export interface PostMenuV3CategoryRequest extends BaseRequest {
|
|
705
|
+
body: PostMenuV3CategoryBody;
|
|
650
706
|
}
|
|
651
|
-
export interface
|
|
707
|
+
export interface GetMenuV3CategoriesCountQuery {
|
|
652
708
|
_query?: string;
|
|
653
709
|
}
|
|
654
|
-
export interface
|
|
710
|
+
export interface GetMenuV3CategoriesCountResponse {
|
|
655
711
|
count?: number;
|
|
656
712
|
}
|
|
657
|
-
export interface
|
|
713
|
+
export interface GetMenuV3CategoriesCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoriesCountQuery> {
|
|
658
714
|
}
|
|
659
|
-
export interface
|
|
715
|
+
export interface GetMenuV3CategoryRelationshipsItemsQuery {
|
|
660
716
|
_query?: string;
|
|
661
717
|
}
|
|
662
|
-
export type
|
|
663
|
-
export interface
|
|
718
|
+
export type GetMenuV3CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
|
|
719
|
+
export interface GetMenuV3CategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {
|
|
664
720
|
}
|
|
665
|
-
export
|
|
721
|
+
export type PostMenuV3CategoryRelationshipsItemsBody = CategoryToItemRelationshipList;
|
|
722
|
+
export type PostMenuV3CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
|
|
723
|
+
export interface PostMenuV3CategoryRelationshipsItemsRequest extends BaseRequest {
|
|
724
|
+
body: PostMenuV3CategoryRelationshipsItemsBody;
|
|
725
|
+
}
|
|
726
|
+
export type PostMenuV3CategoryRelationshipsItemBody = CategoryToItemRelationship;
|
|
727
|
+
export type PostMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
|
|
728
|
+
export interface PostMenuV3CategoryRelationshipsItemRequest extends BaseRequest {
|
|
729
|
+
body: PostMenuV3CategoryRelationshipsItemBody;
|
|
730
|
+
}
|
|
731
|
+
export interface PatchMenuV3CategoryRelationshipsItemPath {
|
|
666
732
|
id: string;
|
|
667
733
|
}
|
|
668
|
-
export
|
|
734
|
+
export type PatchMenuV3CategoryRelationshipsItemBody = CategoryToItemRelationship;
|
|
735
|
+
export type PatchMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
|
|
736
|
+
export interface PatchMenuV3CategoryRelationshipsItemRequest extends BaseRequest, PatchMenuV3CategoryRelationshipsItemPath {
|
|
737
|
+
body: PatchMenuV3CategoryRelationshipsItemBody;
|
|
738
|
+
}
|
|
739
|
+
export interface DeleteMenuV3CategoryRelationshipsItemPath {
|
|
740
|
+
id: string;
|
|
741
|
+
}
|
|
742
|
+
export type DeleteMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
|
|
743
|
+
export interface DeleteMenuV3CategoryRelationshipsItemRequest extends BaseRequest, DeleteMenuV3CategoryRelationshipsItemPath {
|
|
744
|
+
}
|
|
745
|
+
export interface GetMenuV3BrandsQuery {
|
|
669
746
|
_query?: string;
|
|
670
747
|
}
|
|
671
|
-
export type
|
|
672
|
-
export interface
|
|
748
|
+
export type GetMenuV3BrandsResponse = BrandListResponse;
|
|
749
|
+
export interface GetMenuV3BrandsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsQuery> {
|
|
673
750
|
}
|
|
674
|
-
export interface
|
|
751
|
+
export interface GetMenuV3BrandModifiersPath {
|
|
675
752
|
id: string;
|
|
676
753
|
}
|
|
677
|
-
export
|
|
678
|
-
|
|
679
|
-
export interface PatchMenuV2CategoryRequest extends BaseRequest, PatchMenuV2CategoryPath {
|
|
680
|
-
body: PatchMenuV2CategoryBody;
|
|
754
|
+
export interface GetMenuV3BrandModifiersQuery {
|
|
755
|
+
_query?: string;
|
|
681
756
|
}
|
|
682
|
-
export
|
|
757
|
+
export type GetMenuV3BrandModifiersResponse = ModifiersListResponse;
|
|
758
|
+
export interface GetMenuV3BrandModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3BrandModifiersQuery>, GetMenuV3BrandModifiersPath {
|
|
759
|
+
}
|
|
760
|
+
export interface GetMenuV3BrandModifier_groupsPath {
|
|
683
761
|
id: string;
|
|
684
762
|
}
|
|
685
|
-
export
|
|
686
|
-
|
|
763
|
+
export interface GetMenuV3BrandModifier_groupsQuery {
|
|
764
|
+
_query?: string;
|
|
765
|
+
}
|
|
766
|
+
export type GetMenuV3BrandModifier_groupsResponse = ModifierGroupsListResponse;
|
|
767
|
+
export interface GetMenuV3BrandModifier_groupsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandModifier_groupsQuery>, GetMenuV3BrandModifier_groupsPath {
|
|
687
768
|
}
|
|
688
|
-
export
|
|
689
|
-
|
|
690
|
-
export interface PostMenuV2CategoryRequest extends BaseRequest {
|
|
691
|
-
body: PostMenuV2CategoryBody;
|
|
769
|
+
export interface GetMenuV3BrandItemsPath {
|
|
770
|
+
id: string;
|
|
692
771
|
}
|
|
693
|
-
export interface
|
|
772
|
+
export interface GetMenuV3BrandItemsQuery {
|
|
694
773
|
_query?: string;
|
|
695
774
|
}
|
|
696
|
-
export
|
|
775
|
+
export type GetMenuV3BrandItemsResponse = ItemsListResponse;
|
|
776
|
+
export interface GetMenuV3BrandItemsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandItemsQuery>, GetMenuV3BrandItemsPath {
|
|
777
|
+
}
|
|
778
|
+
export interface GetMenuV3BrandPath {
|
|
779
|
+
id: string;
|
|
780
|
+
}
|
|
781
|
+
export interface GetMenuV3BrandQuery {
|
|
782
|
+
_query?: string;
|
|
783
|
+
}
|
|
784
|
+
export type GetMenuV3BrandResponse = Brand;
|
|
785
|
+
export interface GetMenuV3BrandRequest extends BaseRequest, RequestQuery<GetMenuV3BrandQuery>, GetMenuV3BrandPath {
|
|
786
|
+
}
|
|
787
|
+
export interface PatchMenuV3BrandPath {
|
|
788
|
+
id: string;
|
|
789
|
+
}
|
|
790
|
+
export type PatchMenuV3BrandBody = Brand;
|
|
791
|
+
export type PatchMenuV3BrandResponse = Brand;
|
|
792
|
+
export interface PatchMenuV3BrandRequest extends BaseRequest, PatchMenuV3BrandPath {
|
|
793
|
+
body: PatchMenuV3BrandBody;
|
|
794
|
+
}
|
|
795
|
+
export interface DeleteMenuV3BrandPath {
|
|
796
|
+
id: string;
|
|
797
|
+
}
|
|
798
|
+
export type DeleteMenuV3BrandResponse = Brand;
|
|
799
|
+
export interface DeleteMenuV3BrandRequest extends BaseRequest, DeleteMenuV3BrandPath {
|
|
800
|
+
}
|
|
801
|
+
export type PostMenuV3BrandBody = Brand;
|
|
802
|
+
export type PostMenuV3BrandResponse = Brand;
|
|
803
|
+
export interface PostMenuV3BrandRequest extends BaseRequest {
|
|
804
|
+
body: PostMenuV3BrandBody;
|
|
805
|
+
}
|
|
806
|
+
export interface GetMenuV3BrandsCountQuery {
|
|
807
|
+
_query?: string;
|
|
808
|
+
}
|
|
809
|
+
export interface GetMenuV3BrandsCountResponse {
|
|
697
810
|
count?: number;
|
|
698
811
|
}
|
|
699
|
-
export interface
|
|
812
|
+
export interface GetMenuV3BrandsCountRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsCountQuery> {
|
|
700
813
|
}
|
|
701
|
-
export interface
|
|
814
|
+
export interface GetMenuV3StationsQuery {
|
|
702
815
|
_query?: string;
|
|
703
816
|
}
|
|
704
|
-
export type
|
|
705
|
-
export interface
|
|
817
|
+
export type GetMenuV3StationsResponse = StationListResponse;
|
|
818
|
+
export interface GetMenuV3StationsRequest extends BaseRequest, RequestQuery<GetMenuV3StationsQuery> {
|
|
819
|
+
}
|
|
820
|
+
export interface GetMenuV3StationPath {
|
|
821
|
+
id: string;
|
|
822
|
+
}
|
|
823
|
+
export interface GetMenuV3StationQuery {
|
|
824
|
+
_query?: string;
|
|
706
825
|
}
|
|
707
|
-
export type
|
|
708
|
-
export
|
|
709
|
-
export interface PostMenuV2CategoryRelationshipsItemRequest extends BaseRequest {
|
|
710
|
-
body: PostMenuV2CategoryRelationshipsItemBody;
|
|
826
|
+
export type GetMenuV3StationResponse = Station;
|
|
827
|
+
export interface GetMenuV3StationRequest extends BaseRequest, RequestQuery<GetMenuV3StationQuery>, GetMenuV3StationPath {
|
|
711
828
|
}
|
|
712
|
-
export interface
|
|
829
|
+
export interface PatchMenuV3StationPath {
|
|
713
830
|
id: string;
|
|
714
831
|
}
|
|
715
|
-
export type
|
|
716
|
-
export type
|
|
717
|
-
export interface
|
|
718
|
-
body:
|
|
832
|
+
export type PatchMenuV3StationBody = Station;
|
|
833
|
+
export type PatchMenuV3StationResponse = Station;
|
|
834
|
+
export interface PatchMenuV3StationRequest extends BaseRequest, PatchMenuV3StationPath {
|
|
835
|
+
body: PatchMenuV3StationBody;
|
|
719
836
|
}
|
|
720
|
-
export interface
|
|
837
|
+
export interface DeleteMenuV3StationPath {
|
|
721
838
|
id: string;
|
|
722
839
|
}
|
|
723
|
-
export type
|
|
724
|
-
export interface
|
|
840
|
+
export type DeleteMenuV3StationResponse = Station;
|
|
841
|
+
export interface DeleteMenuV3StationRequest extends BaseRequest, DeleteMenuV3StationPath {
|
|
842
|
+
}
|
|
843
|
+
export type PostMenuV3StationBody = Station;
|
|
844
|
+
export type PostMenuV3StationResponse = Station;
|
|
845
|
+
export interface PostMenuV3StationRequest extends BaseRequest {
|
|
846
|
+
body: PostMenuV3StationBody;
|
|
847
|
+
}
|
|
848
|
+
export interface GetMenuV3StationsCountQuery {
|
|
849
|
+
_query?: string;
|
|
850
|
+
}
|
|
851
|
+
export interface GetMenuV3StationsCountResponse {
|
|
852
|
+
count?: number;
|
|
853
|
+
}
|
|
854
|
+
export interface GetMenuV3StationsCountRequest extends BaseRequest, RequestQuery<GetMenuV3StationsCountQuery> {
|
|
725
855
|
}
|
|
726
856
|
export interface GetMenuClientPath {
|
|
727
857
|
client_id: string;
|