@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.
@@ -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 GetMenuV2ModifiersQuery {
451
+ export interface GetMenuV3ModifiersQuery {
415
452
  _query?: string;
416
453
  }
417
- export type GetMenuV2ModifiersResponse = ModifiersListResponse;
418
- export interface GetMenuV2ModifiersRequest extends BaseRequest, RequestQuery<GetMenuV2ModifiersQuery> {
454
+ export type GetMenuV3ModifiersResponse = ModifiersListResponse;
455
+ export interface GetMenuV3ModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersQuery> {
419
456
  }
420
- export interface GetMenuV2ModifierPath {
457
+ export interface GetMenuV3ModifierPath {
421
458
  id: string;
422
459
  }
423
- export interface GetMenuV2ModifierQuery {
460
+ export interface GetMenuV3ModifierQuery {
424
461
  _query?: string;
425
462
  }
426
- export type GetMenuV2ModifierResponse = Modifier;
427
- export interface GetMenuV2ModifierRequest extends BaseRequest, RequestQuery<GetMenuV2ModifierQuery>, GetMenuV2ModifierPath {
463
+ export type GetMenuV3ModifierResponse = Modifier;
464
+ export interface GetMenuV3ModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierQuery>, GetMenuV3ModifierPath {
428
465
  }
429
- export interface PatchMenuV2ModifierPath {
466
+ export interface PatchMenuV3ModifierPath {
430
467
  id: string;
431
468
  }
432
- export type PatchMenuV2ModifierBody = Modifier;
433
- export type PatchMenuV2ModifierResponse = Modifier;
434
- export interface PatchMenuV2ModifierRequest extends BaseRequest, PatchMenuV2ModifierPath {
435
- body: PatchMenuV2ModifierBody;
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 PostMenuV2ModifierBody = Modifier;
438
- export type PostMenuV2ModifierResponse = Modifier;
439
- export interface PostMenuV2ModifierRequest extends BaseRequest {
440
- body: PostMenuV2ModifierBody;
474
+ export type PostMenuV3ModifierBody = Modifier;
475
+ export type PostMenuV3ModifierResponse = Modifier;
476
+ export interface PostMenuV3ModifierRequest extends BaseRequest {
477
+ body: PostMenuV3ModifierBody;
441
478
  }
442
- export interface GetMenuV2ModifierCountQuery {
479
+ export interface GetMenuV3ModifierCountQuery {
443
480
  _query?: string;
444
481
  }
445
- export interface GetMenuV2ModifierCountResponse {
482
+ export interface GetMenuV3ModifierCountResponse {
446
483
  count?: number;
447
484
  }
448
- export interface GetMenuV2ModifierCountRequest extends BaseRequest, RequestQuery<GetMenuV2ModifierCountQuery> {
485
+ export interface GetMenuV3ModifierCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierCountQuery> {
449
486
  }
450
- export interface GetMenuV2ModifierGroupsQuery {
487
+ export interface GetMenuV3ModifierGroupsQuery {
451
488
  _query?: string;
452
489
  }
453
- export type GetMenuV2ModifierGroupsResponse = ModifierGroupsListResponse;
454
- export interface GetMenuV2ModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV2ModifierGroupsQuery> {
490
+ export type GetMenuV3ModifierGroupsResponse = ModifierGroupsListResponse;
491
+ export interface GetMenuV3ModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsQuery> {
455
492
  }
456
- export type PostMenuV2ModifierGroupBody = ModifierGroup;
457
- export type PostMenuV2ModifierGroupResponse = ModifierGroup;
458
- export interface PostMenuV2ModifierGroupRequest extends BaseRequest {
459
- body: PostMenuV2ModifierGroupBody;
493
+ export type PostMenuV3ModifierGroupBody = ModifierGroup;
494
+ export type PostMenuV3ModifierGroupResponse = ModifierGroup;
495
+ export interface PostMenuV3ModifierGroupRequest extends BaseRequest {
496
+ body: PostMenuV3ModifierGroupBody;
460
497
  }
461
- export interface GetMenuV2ModifierGroupPath {
498
+ export interface GetMenuV3ModifierGroupPath {
462
499
  id: string;
463
500
  }
464
- export interface GetMenuV2ModifierGroupQuery {
501
+ export interface GetMenuV3ModifierGroupQuery {
465
502
  _query?: string;
466
503
  }
467
- export type GetMenuV2ModifierGroupResponse = ModifierGroup;
468
- export interface GetMenuV2ModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV2ModifierGroupQuery>, GetMenuV2ModifierGroupPath {
504
+ export type GetMenuV3ModifierGroupResponse = ModifierGroup;
505
+ export interface GetMenuV3ModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupQuery>, GetMenuV3ModifierGroupPath {
469
506
  }
470
- export interface PatchMenuV2ModifierGroupPath {
507
+ export interface PatchMenuV3ModifierGroupPath {
471
508
  id: string;
472
509
  }
473
- export type PatchMenuV2ModifierGroupBody = ModifierGroup;
474
- export type PatchMenuV2ModifierGroupResponse = ModifierGroup;
475
- export interface PatchMenuV2ModifierGroupRequest extends BaseRequest, PatchMenuV2ModifierGroupPath {
476
- body: PatchMenuV2ModifierGroupBody;
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 GetMenuV2ModifierGroupCountQuery {
515
+ export interface GetMenuV3ModifierGroupCountQuery {
479
516
  _query?: string;
480
517
  }
481
- export interface GetMenuV2ModifierGroupCountResponse {
518
+ export interface GetMenuV3ModifierGroupCountResponse {
482
519
  count?: number;
483
520
  }
484
- export interface GetMenuV2ModifierGroupCountRequest extends BaseRequest, RequestQuery<GetMenuV2ModifierGroupCountQuery> {
521
+ export interface GetMenuV3ModifierGroupCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupCountQuery> {
485
522
  }
486
- export interface GetMenuV2ModifierGroupRelationshipsModifiersQuery {
523
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
487
524
  _query?: string;
488
525
  }
489
- export type GetMenuV2ModifierGroupRelationshipsModifiersResponse = ModifierGroupToModifierRelationshipListResponse;
490
- export interface GetMenuV2ModifierGroupRelationshipsModifiersRequest extends BaseRequest, RequestQuery<GetMenuV2ModifierGroupRelationshipsModifiersQuery> {
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 PostMenuV2ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
493
- export type PostMenuV2ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationship;
494
- export interface PostMenuV2ModifierGroupRelationshipsModifierRequest extends BaseRequest {
495
- body: PostMenuV2ModifierGroupRelationshipsModifierBody;
534
+ export type PostMenuV3ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
535
+ export type PostMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationship;
536
+ export interface PostMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest {
537
+ body: PostMenuV3ModifierGroupRelationshipsModifierBody;
496
538
  }
497
- export interface GetMenuV2ModifierGroupRelationshipsModifierPath {
539
+ export interface GetMenuV3ModifierGroupRelationshipsModifierPath {
498
540
  id: string;
499
541
  }
500
- export interface GetMenuV2ModifierGroupRelationshipsModifierQuery {
542
+ export interface GetMenuV3ModifierGroupRelationshipsModifierQuery {
501
543
  _query?: string;
502
544
  }
503
- export type GetMenuV2ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationship;
504
- export interface GetMenuV2ModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<GetMenuV2ModifierGroupRelationshipsModifierQuery>, GetMenuV2ModifierGroupRelationshipsModifierPath {
545
+ export type GetMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationship;
546
+ export interface GetMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifierQuery>, GetMenuV3ModifierGroupRelationshipsModifierPath {
505
547
  }
506
- export interface PatchMenuV2ModifierGroupRelationshipsModifierPath {
548
+ export interface PatchMenuV3ModifierGroupRelationshipsModifierPath {
507
549
  id: string;
508
550
  }
509
- export type PatchMenuV2ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
510
- export type PatchMenuV2ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationship;
511
- export interface PatchMenuV2ModifierGroupRelationshipsModifierRequest extends BaseRequest, PatchMenuV2ModifierGroupRelationshipsModifierPath {
512
- body: PatchMenuV2ModifierGroupRelationshipsModifierBody;
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 GetMenuV2ItemsQuery {
556
+ export interface GetMenuV3ItemsQuery {
515
557
  _query?: string;
516
558
  }
517
- export type GetMenuV2ItemsResponse = ItemsListResponse;
518
- export interface GetMenuV2ItemsRequest extends BaseRequest, RequestQuery<GetMenuV2ItemsQuery> {
559
+ export type GetMenuV3ItemsResponse = ItemsListResponse;
560
+ export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {
519
561
  }
520
- export interface GetMenuV2ItemPath {
562
+ export interface GetMenuV3ItemPath {
521
563
  id: string;
522
564
  }
523
- export interface GetMenuV2ItemQuery {
565
+ export interface GetMenuV3ItemQuery {
524
566
  _query?: string;
525
567
  }
526
- export type GetMenuV2ItemResponse = LocalItem;
527
- export interface GetMenuV2ItemRequest extends BaseRequest, RequestQuery<GetMenuV2ItemQuery>, GetMenuV2ItemPath {
568
+ export type GetMenuV3ItemResponse = LocalItem;
569
+ export interface GetMenuV3ItemRequest extends BaseRequest, RequestQuery<GetMenuV3ItemQuery>, GetMenuV3ItemPath {
528
570
  }
529
- export interface PatchMenuV2ItemPath {
571
+ export interface PatchMenuV3ItemPath {
530
572
  id: string;
531
573
  }
532
- export type PatchMenuV2ItemBody = LocalItem;
533
- export type PatchMenuV2ItemResponse = LocalItem;
534
- export interface PatchMenuV2ItemRequest extends BaseRequest, PatchMenuV2ItemPath {
535
- body: PatchMenuV2ItemBody;
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 PostMenuV2ItemBody = LocalItem;
538
- export type PostMenuV2ItemResponse = LocalItem;
539
- export interface PostMenuV2ItemRequest extends BaseRequest {
540
- body: PostMenuV2ItemBody;
579
+ export type PostMenuV3ItemBody = LocalItem;
580
+ export type PostMenuV3ItemResponse = LocalItem;
581
+ export interface PostMenuV3ItemRequest extends BaseRequest {
582
+ body: PostMenuV3ItemBody;
541
583
  }
542
- export interface GetMenuV2ItemsCountQuery {
584
+ export interface GetMenuV3ItemsCountQuery {
543
585
  _query?: string;
544
586
  }
545
- export interface GetMenuV2ItemsCountResponse {
587
+ export interface GetMenuV3ItemsCountResponse {
546
588
  count?: number;
547
589
  }
548
- export interface GetMenuV2ItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV2ItemsCountQuery> {
590
+ export interface GetMenuV3ItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsCountQuery> {
549
591
  }
550
- export interface GetMenuV2ItemRelationshipsModifierGroupsQuery {
592
+ export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
551
593
  _query?: string;
552
594
  }
553
- export type GetMenuV2ItemRelationshipsModifierGroupsResponse = ItemToModifierGroupRelationshipListResponse;
554
- export interface GetMenuV2ItemRelationshipsModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV2ItemRelationshipsModifierGroupsQuery> {
595
+ export type GetMenuV3ItemRelationshipsModifierGroupsResponse = ItemToModifierGroupRelationshipListResponse;
596
+ export interface GetMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsQuery> {
555
597
  }
556
- export type PostMenuV2ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
557
- export type PostMenuV2ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
558
- export interface PostMenuV2ItemRelationshipsModifierGroupRequest extends BaseRequest {
559
- body: PostMenuV2ItemRelationshipsModifierGroupBody;
598
+ export type PostMenuV3ItemRelationshipsModifierGroupsBody = ItemToModifierGroupRelationshipList;
599
+ export type PostMenuV3ItemRelationshipsModifierGroupsResponse = ItemToModifierGroupRelationshipListResponse;
600
+ export interface PostMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest {
601
+ body: PostMenuV3ItemRelationshipsModifierGroupsBody;
560
602
  }
561
- export interface PatchMenuV2ItemRelationshipsModifierGroupPath {
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 PatchMenuV2ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
565
- export type PatchMenuV2ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
566
- export interface PatchMenuV2ItemRelationshipsModifierGroupRequest extends BaseRequest, PatchMenuV2ItemRelationshipsModifierGroupPath {
567
- body: PatchMenuV2ItemRelationshipsModifierGroupBody;
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 DeleteMenuV2ItemRelationshipsModifierGroupPath {
616
+ export interface DeleteMenuV3ItemRelationshipsModifierGroupPath {
570
617
  id: string;
571
618
  }
572
- export type DeleteMenuV2ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
573
- export interface DeleteMenuV2ItemRelationshipsModifierGroupRequest extends BaseRequest, DeleteMenuV2ItemRelationshipsModifierGroupPath {
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 GetMenuV2MenusQuery {
631
+ export interface GetMenuV3LayoutCategoriesQuery {
576
632
  _query?: string;
577
633
  }
578
- export type GetMenuV2MenusResponse = MenuV2ListResponse;
579
- export interface GetMenuV2MenusRequest extends BaseRequest, RequestQuery<GetMenuV2MenusQuery> {
634
+ export type GetMenuV3LayoutCategoriesResponse = CategoryListResponse;
635
+ export interface GetMenuV3LayoutCategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutCategoriesQuery>, GetMenuV3LayoutCategoriesPath {
580
636
  }
581
- export interface GetMenuV2MenuPath {
637
+ export interface GetMenuV3LayoutPath {
582
638
  id: string;
583
639
  }
584
- export interface GetMenuV2MenuQuery {
640
+ export interface GetMenuV3LayoutQuery {
585
641
  _query?: string;
586
642
  }
587
- export type GetMenuV2MenuResponse = MenuV2;
588
- export interface GetMenuV2MenuRequest extends BaseRequest, RequestQuery<GetMenuV2MenuQuery>, GetMenuV2MenuPath {
643
+ export type GetMenuV3LayoutResponse = Layout;
644
+ export interface GetMenuV3LayoutRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutQuery>, GetMenuV3LayoutPath {
589
645
  }
590
- export interface PatchMenuV2MenuPath {
646
+ export interface PatchMenuV3LayoutPath {
591
647
  id: string;
592
648
  }
593
- export type PatchMenuV2MenuBody = MenuV2;
594
- export type PatchMenuV2MenuResponse = MenuV2;
595
- export interface PatchMenuV2MenuRequest extends BaseRequest, PatchMenuV2MenuPath {
596
- body: PatchMenuV2MenuBody;
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 DeleteMenuV2MenuPath {
654
+ export interface DeleteMenuV3LayoutPath {
599
655
  id: string;
600
656
  }
601
- export type DeleteMenuV2MenuResponse = MenuV2;
602
- export interface DeleteMenuV2MenuRequest extends BaseRequest, DeleteMenuV2MenuPath {
657
+ export type DeleteMenuV3LayoutResponse = Layout;
658
+ export interface DeleteMenuV3LayoutRequest extends BaseRequest, DeleteMenuV3LayoutPath {
603
659
  }
604
- export type PostMenuV2MenuBody = MenuV2;
605
- export type PostMenuV2MenuResponse = MenuV2;
606
- export interface PostMenuV2MenuRequest extends BaseRequest {
607
- body: PostMenuV2MenuBody;
660
+ export type PostMenuV3LayoutBody = Layout;
661
+ export type PostMenuV3LayoutResponse = Layout;
662
+ export interface PostMenuV3LayoutRequest extends BaseRequest {
663
+ body: PostMenuV3LayoutBody;
608
664
  }
609
- export interface GetMenuV2MenusCountQuery {
665
+ export interface GetMenuV3LayoutsCountQuery {
610
666
  _query?: string;
611
667
  }
612
- export interface GetMenuV2MenusCountResponse {
668
+ export interface GetMenuV3LayoutsCountResponse {
613
669
  count?: number;
614
670
  }
615
- export interface GetMenuV2MenusCountRequest extends BaseRequest, RequestQuery<GetMenuV2MenusCountQuery> {
671
+ export interface GetMenuV3LayoutsCountRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsCountQuery> {
616
672
  }
617
- export interface GetMenuV2LayoutsQuery {
673
+ export interface GetMenuV3CategoriesQuery {
618
674
  _query?: string;
619
675
  }
620
- export type GetMenuV2LayoutsResponse = LayoutListResponse;
621
- export interface GetMenuV2LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV2LayoutsQuery> {
676
+ export type GetMenuV3CategoriesResponse = CategoryListResponse;
677
+ export interface GetMenuV3CategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3CategoriesQuery> {
622
678
  }
623
- export interface GetMenuV2LayoutPath {
679
+ export interface GetMenuV3CategoryPath {
624
680
  id: string;
625
681
  }
626
- export interface GetMenuV2LayoutQuery {
682
+ export interface GetMenuV3CategoryQuery {
627
683
  _query?: string;
628
684
  }
629
- export type GetMenuV2LayoutResponse = Layout;
630
- export interface GetMenuV2LayoutRequest extends BaseRequest, RequestQuery<GetMenuV2LayoutQuery>, GetMenuV2LayoutPath {
685
+ export type GetMenuV3CategoryResponse = Category;
686
+ export interface GetMenuV3CategoryRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryQuery>, GetMenuV3CategoryPath {
631
687
  }
632
- export interface PatchMenuV2LayoutPath {
688
+ export interface PatchMenuV3CategoryPath {
633
689
  id: string;
634
690
  }
635
- export type PatchMenuV2LayoutBody = Layout;
636
- export type PatchMenuV2LayoutResponse = Layout;
637
- export interface PatchMenuV2LayoutRequest extends BaseRequest, PatchMenuV2LayoutPath {
638
- body: PatchMenuV2LayoutBody;
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 DeleteMenuV2LayoutPath {
696
+ export interface DeleteMenuV3CategoryPath {
641
697
  id: string;
642
698
  }
643
- export type DeleteMenuV2LayoutResponse = Layout;
644
- export interface DeleteMenuV2LayoutRequest extends BaseRequest, DeleteMenuV2LayoutPath {
699
+ export type DeleteMenuV3CategoryResponse = Category;
700
+ export interface DeleteMenuV3CategoryRequest extends BaseRequest, DeleteMenuV3CategoryPath {
645
701
  }
646
- export type PostMenuV2LayoutBody = Layout;
647
- export type PostMenuV2LayoutResponse = Layout;
648
- export interface PostMenuV2LayoutRequest extends BaseRequest {
649
- body: PostMenuV2LayoutBody;
702
+ export type PostMenuV3CategoryBody = Category;
703
+ export type PostMenuV3CategoryResponse = Category;
704
+ export interface PostMenuV3CategoryRequest extends BaseRequest {
705
+ body: PostMenuV3CategoryBody;
650
706
  }
651
- export interface GetMenuV2LayoutsCountQuery {
707
+ export interface GetMenuV3CategoriesCountQuery {
652
708
  _query?: string;
653
709
  }
654
- export interface GetMenuV2LayoutsCountResponse {
710
+ export interface GetMenuV3CategoriesCountResponse {
655
711
  count?: number;
656
712
  }
657
- export interface GetMenuV2LayoutsCountRequest extends BaseRequest, RequestQuery<GetMenuV2LayoutsCountQuery> {
713
+ export interface GetMenuV3CategoriesCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoriesCountQuery> {
658
714
  }
659
- export interface GetMenuV2CategoriesQuery {
715
+ export interface GetMenuV3CategoryRelationshipsItemsQuery {
660
716
  _query?: string;
661
717
  }
662
- export type GetMenuV2CategoriesResponse = CategoryListResponse;
663
- export interface GetMenuV2CategoriesRequest extends BaseRequest, RequestQuery<GetMenuV2CategoriesQuery> {
718
+ export type GetMenuV3CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
719
+ export interface GetMenuV3CategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {
664
720
  }
665
- export interface GetMenuV2CategoryPath {
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 interface GetMenuV2CategoryQuery {
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 GetMenuV2CategoryResponse = Category;
672
- export interface GetMenuV2CategoryRequest extends BaseRequest, RequestQuery<GetMenuV2CategoryQuery>, GetMenuV2CategoryPath {
748
+ export type GetMenuV3BrandsResponse = BrandListResponse;
749
+ export interface GetMenuV3BrandsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsQuery> {
673
750
  }
674
- export interface PatchMenuV2CategoryPath {
751
+ export interface GetMenuV3BrandModifiersPath {
675
752
  id: string;
676
753
  }
677
- export type PatchMenuV2CategoryBody = Category;
678
- export type PatchMenuV2CategoryResponse = Category;
679
- export interface PatchMenuV2CategoryRequest extends BaseRequest, PatchMenuV2CategoryPath {
680
- body: PatchMenuV2CategoryBody;
754
+ export interface GetMenuV3BrandModifiersQuery {
755
+ _query?: string;
681
756
  }
682
- export interface DeleteMenuV2CategoryPath {
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 type DeleteMenuV2CategoryResponse = Category;
686
- export interface DeleteMenuV2CategoryRequest extends BaseRequest, DeleteMenuV2CategoryPath {
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 type PostMenuV2CategoryBody = Category;
689
- export type PostMenuV2CategoryResponse = Category;
690
- export interface PostMenuV2CategoryRequest extends BaseRequest {
691
- body: PostMenuV2CategoryBody;
769
+ export interface GetMenuV3BrandItemsPath {
770
+ id: string;
692
771
  }
693
- export interface GetMenuV2CategoriesCountQuery {
772
+ export interface GetMenuV3BrandItemsQuery {
694
773
  _query?: string;
695
774
  }
696
- export interface GetMenuV2CategoriesCountResponse {
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 GetMenuV2CategoriesCountRequest extends BaseRequest, RequestQuery<GetMenuV2CategoriesCountQuery> {
812
+ export interface GetMenuV3BrandsCountRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsCountQuery> {
700
813
  }
701
- export interface GetMenuV2CategoryRelationshipsItemsQuery {
814
+ export interface GetMenuV3StationsQuery {
702
815
  _query?: string;
703
816
  }
704
- export type GetMenuV2CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
705
- export interface GetMenuV2CategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV2CategoryRelationshipsItemsQuery> {
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 PostMenuV2CategoryRelationshipsItemBody = CategoryToItemRelationship;
708
- export type PostMenuV2CategoryRelationshipsItemResponse = CategoryToItemRelationship;
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 PatchMenuV2CategoryRelationshipsItemPath {
829
+ export interface PatchMenuV3StationPath {
713
830
  id: string;
714
831
  }
715
- export type PatchMenuV2CategoryRelationshipsItemBody = CategoryToItemRelationship;
716
- export type PatchMenuV2CategoryRelationshipsItemResponse = CategoryToItemRelationship;
717
- export interface PatchMenuV2CategoryRelationshipsItemRequest extends BaseRequest, PatchMenuV2CategoryRelationshipsItemPath {
718
- body: PatchMenuV2CategoryRelationshipsItemBody;
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 DeleteMenuV2CategoryRelationshipsItemPath {
837
+ export interface DeleteMenuV3StationPath {
721
838
  id: string;
722
839
  }
723
- export type DeleteMenuV2CategoryRelationshipsItemResponse = CategoryToItemRelationship;
724
- export interface DeleteMenuV2CategoryRelationshipsItemRequest extends BaseRequest, DeleteMenuV2CategoryRelationshipsItemPath {
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;