@compassdigital/sdk.typescript 3.45.0 → 3.45.1

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.
@@ -23,6 +23,9 @@ export interface CategoryListResponse {
23
23
  meta?: Meta;
24
24
  results?: Category[];
25
25
  }
26
+ export type ItemToModifierGroupRelationshipList = ItemToModifierGroupRelationship[];
27
+ export type CategoryToItemRelationshipList = CategoryToItemRelationship[];
28
+ export type ModifierGroupToModifierRelationshipList = ModifierGroupToModifierRelationship[];
26
29
  export interface ItemToModifierGroupRelationshipListResponse {
27
30
  meta?: Meta;
28
31
  results?: ItemToModifierGroupRelationship[];
@@ -53,6 +56,7 @@ export interface Modifier {
53
56
  label?: string;
54
57
  price?: number;
55
58
  calories?: number;
59
+ priority?: number;
56
60
  posid?: string;
57
61
  tax_tags?: string[];
58
62
  is_active?: boolean;
@@ -69,6 +73,7 @@ export interface ModifierGroup {
69
73
  min?: number;
70
74
  max?: number;
71
75
  is_active?: boolean;
76
+ priority?: number;
72
77
  created_at?: string;
73
78
  updated_at?: string;
74
79
  deleted_at?: string;
@@ -81,6 +86,7 @@ export interface LocalItem {
81
86
  label?: string;
82
87
  price?: number;
83
88
  calories?: number;
89
+ priority?: number;
84
90
  posid?: string;
85
91
  barcode?: string;
86
92
  tax_tags?: string[];
@@ -113,6 +119,7 @@ export interface Category {
113
119
  label?: string;
114
120
  sequence?: number;
115
121
  is_active?: boolean;
122
+ priority?: number;
116
123
  created_at?: string;
117
124
  updated_at?: string;
118
125
  deleted_at?: string;
@@ -411,317 +418,332 @@ export interface ZippedExcelExport {
411
418
  file?: string;
412
419
  format?: string;
413
420
  }
414
- export interface GetMenuV2ModifiersQuery {
421
+ export interface GetMenuV3ModifiersQuery {
415
422
  _query?: string;
416
423
  }
417
- export type GetMenuV2ModifiersResponse = ModifiersListResponse;
418
- export interface GetMenuV2ModifiersRequest extends BaseRequest, RequestQuery<GetMenuV2ModifiersQuery> {
424
+ export type GetMenuV3ModifiersResponse = ModifiersListResponse;
425
+ export interface GetMenuV3ModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersQuery> {
419
426
  }
420
- export interface GetMenuV2ModifierPath {
427
+ export interface GetMenuV3ModifierPath {
421
428
  id: string;
422
429
  }
423
- export interface GetMenuV2ModifierQuery {
430
+ export interface GetMenuV3ModifierQuery {
424
431
  _query?: string;
425
432
  }
426
- export type GetMenuV2ModifierResponse = Modifier;
427
- export interface GetMenuV2ModifierRequest extends BaseRequest, RequestQuery<GetMenuV2ModifierQuery>, GetMenuV2ModifierPath {
433
+ export type GetMenuV3ModifierResponse = Modifier;
434
+ export interface GetMenuV3ModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierQuery>, GetMenuV3ModifierPath {
428
435
  }
429
- export interface PatchMenuV2ModifierPath {
436
+ export interface PatchMenuV3ModifierPath {
430
437
  id: string;
431
438
  }
432
- export type PatchMenuV2ModifierBody = Modifier;
433
- export type PatchMenuV2ModifierResponse = Modifier;
434
- export interface PatchMenuV2ModifierRequest extends BaseRequest, PatchMenuV2ModifierPath {
435
- body: PatchMenuV2ModifierBody;
439
+ export type PatchMenuV3ModifierBody = Modifier;
440
+ export type PatchMenuV3ModifierResponse = Modifier;
441
+ export interface PatchMenuV3ModifierRequest extends BaseRequest, PatchMenuV3ModifierPath {
442
+ body: PatchMenuV3ModifierBody;
436
443
  }
437
- export type PostMenuV2ModifierBody = Modifier;
438
- export type PostMenuV2ModifierResponse = Modifier;
439
- export interface PostMenuV2ModifierRequest extends BaseRequest {
440
- body: PostMenuV2ModifierBody;
444
+ export type PostMenuV3ModifierBody = Modifier;
445
+ export type PostMenuV3ModifierResponse = Modifier;
446
+ export interface PostMenuV3ModifierRequest extends BaseRequest {
447
+ body: PostMenuV3ModifierBody;
441
448
  }
442
- export interface GetMenuV2ModifierCountQuery {
449
+ export interface GetMenuV3ModifierCountQuery {
443
450
  _query?: string;
444
451
  }
445
- export interface GetMenuV2ModifierCountResponse {
452
+ export interface GetMenuV3ModifierCountResponse {
446
453
  count?: number;
447
454
  }
448
- export interface GetMenuV2ModifierCountRequest extends BaseRequest, RequestQuery<GetMenuV2ModifierCountQuery> {
455
+ export interface GetMenuV3ModifierCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierCountQuery> {
449
456
  }
450
- export interface GetMenuV2ModifierGroupsQuery {
457
+ export interface GetMenuV3ModifierGroupsQuery {
451
458
  _query?: string;
452
459
  }
453
- export type GetMenuV2ModifierGroupsResponse = ModifierGroupsListResponse;
454
- export interface GetMenuV2ModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV2ModifierGroupsQuery> {
460
+ export type GetMenuV3ModifierGroupsResponse = ModifierGroupsListResponse;
461
+ export interface GetMenuV3ModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsQuery> {
455
462
  }
456
- export type PostMenuV2ModifierGroupBody = ModifierGroup;
457
- export type PostMenuV2ModifierGroupResponse = ModifierGroup;
458
- export interface PostMenuV2ModifierGroupRequest extends BaseRequest {
459
- body: PostMenuV2ModifierGroupBody;
463
+ export type PostMenuV3ModifierGroupBody = ModifierGroup;
464
+ export type PostMenuV3ModifierGroupResponse = ModifierGroup;
465
+ export interface PostMenuV3ModifierGroupRequest extends BaseRequest {
466
+ body: PostMenuV3ModifierGroupBody;
460
467
  }
461
- export interface GetMenuV2ModifierGroupPath {
468
+ export interface GetMenuV3ModifierGroupPath {
462
469
  id: string;
463
470
  }
464
- export interface GetMenuV2ModifierGroupQuery {
471
+ export interface GetMenuV3ModifierGroupQuery {
465
472
  _query?: string;
466
473
  }
467
- export type GetMenuV2ModifierGroupResponse = ModifierGroup;
468
- export interface GetMenuV2ModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV2ModifierGroupQuery>, GetMenuV2ModifierGroupPath {
474
+ export type GetMenuV3ModifierGroupResponse = ModifierGroup;
475
+ export interface GetMenuV3ModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupQuery>, GetMenuV3ModifierGroupPath {
469
476
  }
470
- export interface PatchMenuV2ModifierGroupPath {
477
+ export interface PatchMenuV3ModifierGroupPath {
471
478
  id: string;
472
479
  }
473
- export type PatchMenuV2ModifierGroupBody = ModifierGroup;
474
- export type PatchMenuV2ModifierGroupResponse = ModifierGroup;
475
- export interface PatchMenuV2ModifierGroupRequest extends BaseRequest, PatchMenuV2ModifierGroupPath {
476
- body: PatchMenuV2ModifierGroupBody;
480
+ export type PatchMenuV3ModifierGroupBody = ModifierGroup;
481
+ export type PatchMenuV3ModifierGroupResponse = ModifierGroup;
482
+ export interface PatchMenuV3ModifierGroupRequest extends BaseRequest, PatchMenuV3ModifierGroupPath {
483
+ body: PatchMenuV3ModifierGroupBody;
477
484
  }
478
- export interface GetMenuV2ModifierGroupCountQuery {
485
+ export interface GetMenuV3ModifierGroupCountQuery {
479
486
  _query?: string;
480
487
  }
481
- export interface GetMenuV2ModifierGroupCountResponse {
488
+ export interface GetMenuV3ModifierGroupCountResponse {
482
489
  count?: number;
483
490
  }
484
- export interface GetMenuV2ModifierGroupCountRequest extends BaseRequest, RequestQuery<GetMenuV2ModifierGroupCountQuery> {
491
+ export interface GetMenuV3ModifierGroupCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupCountQuery> {
485
492
  }
486
- export interface GetMenuV2ModifierGroupRelationshipsModifiersQuery {
493
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
487
494
  _query?: string;
488
495
  }
489
- export type GetMenuV2ModifierGroupRelationshipsModifiersResponse = ModifierGroupToModifierRelationshipListResponse;
490
- export interface GetMenuV2ModifierGroupRelationshipsModifiersRequest extends BaseRequest, RequestQuery<GetMenuV2ModifierGroupRelationshipsModifiersQuery> {
496
+ export type GetMenuV3ModifierGroupRelationshipsModifiersResponse = ModifierGroupToModifierRelationshipListResponse;
497
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersQuery> {
491
498
  }
492
- export type PostMenuV2ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
493
- export type PostMenuV2ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationship;
494
- export interface PostMenuV2ModifierGroupRelationshipsModifierRequest extends BaseRequest {
495
- body: PostMenuV2ModifierGroupRelationshipsModifierBody;
499
+ export type PostMenuV3ModifierGroupRelationshipsModifiersBody = ModifierGroupToModifierRelationshipList;
500
+ export type PostMenuV3ModifierGroupRelationshipsModifiersResponse = ModifierGroupToModifierRelationshipListResponse;
501
+ export interface PostMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest {
502
+ body: PostMenuV3ModifierGroupRelationshipsModifiersBody;
496
503
  }
497
- export interface GetMenuV2ModifierGroupRelationshipsModifierPath {
504
+ export type PostMenuV3ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
505
+ export type PostMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationship;
506
+ export interface PostMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest {
507
+ body: PostMenuV3ModifierGroupRelationshipsModifierBody;
508
+ }
509
+ export interface GetMenuV3ModifierGroupRelationshipsModifierPath {
498
510
  id: string;
499
511
  }
500
- export interface GetMenuV2ModifierGroupRelationshipsModifierQuery {
512
+ export interface GetMenuV3ModifierGroupRelationshipsModifierQuery {
501
513
  _query?: string;
502
514
  }
503
- export type GetMenuV2ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationship;
504
- export interface GetMenuV2ModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<GetMenuV2ModifierGroupRelationshipsModifierQuery>, GetMenuV2ModifierGroupRelationshipsModifierPath {
515
+ export type GetMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationship;
516
+ export interface GetMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifierQuery>, GetMenuV3ModifierGroupRelationshipsModifierPath {
505
517
  }
506
- export interface PatchMenuV2ModifierGroupRelationshipsModifierPath {
518
+ export interface PatchMenuV3ModifierGroupRelationshipsModifierPath {
507
519
  id: string;
508
520
  }
509
- export type PatchMenuV2ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
510
- export type PatchMenuV2ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationship;
511
- export interface PatchMenuV2ModifierGroupRelationshipsModifierRequest extends BaseRequest, PatchMenuV2ModifierGroupRelationshipsModifierPath {
512
- body: PatchMenuV2ModifierGroupRelationshipsModifierBody;
521
+ export type PatchMenuV3ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
522
+ export type PatchMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationship;
523
+ export interface PatchMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, PatchMenuV3ModifierGroupRelationshipsModifierPath {
524
+ body: PatchMenuV3ModifierGroupRelationshipsModifierBody;
513
525
  }
514
- export interface GetMenuV2ItemsQuery {
526
+ export interface GetMenuV3ItemsQuery {
515
527
  _query?: string;
516
528
  }
517
- export type GetMenuV2ItemsResponse = ItemsListResponse;
518
- export interface GetMenuV2ItemsRequest extends BaseRequest, RequestQuery<GetMenuV2ItemsQuery> {
529
+ export type GetMenuV3ItemsResponse = ItemsListResponse;
530
+ export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {
519
531
  }
520
- export interface GetMenuV2ItemPath {
532
+ export interface GetMenuV3ItemPath {
521
533
  id: string;
522
534
  }
523
- export interface GetMenuV2ItemQuery {
535
+ export interface GetMenuV3ItemQuery {
524
536
  _query?: string;
525
537
  }
526
- export type GetMenuV2ItemResponse = LocalItem;
527
- export interface GetMenuV2ItemRequest extends BaseRequest, RequestQuery<GetMenuV2ItemQuery>, GetMenuV2ItemPath {
538
+ export type GetMenuV3ItemResponse = LocalItem;
539
+ export interface GetMenuV3ItemRequest extends BaseRequest, RequestQuery<GetMenuV3ItemQuery>, GetMenuV3ItemPath {
528
540
  }
529
- export interface PatchMenuV2ItemPath {
541
+ export interface PatchMenuV3ItemPath {
530
542
  id: string;
531
543
  }
532
- export type PatchMenuV2ItemBody = LocalItem;
533
- export type PatchMenuV2ItemResponse = LocalItem;
534
- export interface PatchMenuV2ItemRequest extends BaseRequest, PatchMenuV2ItemPath {
535
- body: PatchMenuV2ItemBody;
544
+ export type PatchMenuV3ItemBody = LocalItem;
545
+ export type PatchMenuV3ItemResponse = LocalItem;
546
+ export interface PatchMenuV3ItemRequest extends BaseRequest, PatchMenuV3ItemPath {
547
+ body: PatchMenuV3ItemBody;
536
548
  }
537
- export type PostMenuV2ItemBody = LocalItem;
538
- export type PostMenuV2ItemResponse = LocalItem;
539
- export interface PostMenuV2ItemRequest extends BaseRequest {
540
- body: PostMenuV2ItemBody;
549
+ export type PostMenuV3ItemBody = LocalItem;
550
+ export type PostMenuV3ItemResponse = LocalItem;
551
+ export interface PostMenuV3ItemRequest extends BaseRequest {
552
+ body: PostMenuV3ItemBody;
541
553
  }
542
- export interface GetMenuV2ItemsCountQuery {
554
+ export interface GetMenuV3ItemsCountQuery {
543
555
  _query?: string;
544
556
  }
545
- export interface GetMenuV2ItemsCountResponse {
557
+ export interface GetMenuV3ItemsCountResponse {
546
558
  count?: number;
547
559
  }
548
- export interface GetMenuV2ItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV2ItemsCountQuery> {
560
+ export interface GetMenuV3ItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsCountQuery> {
549
561
  }
550
- export interface GetMenuV2ItemRelationshipsModifierGroupsQuery {
562
+ export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
551
563
  _query?: string;
552
564
  }
553
- export type GetMenuV2ItemRelationshipsModifierGroupsResponse = ItemToModifierGroupRelationshipListResponse;
554
- export interface GetMenuV2ItemRelationshipsModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV2ItemRelationshipsModifierGroupsQuery> {
565
+ export type GetMenuV3ItemRelationshipsModifierGroupsResponse = ItemToModifierGroupRelationshipListResponse;
566
+ export interface GetMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsQuery> {
567
+ }
568
+ export type PostMenuV3ItemRelationshipsModifierGroupsBody = ItemToModifierGroupRelationshipList;
569
+ export type PostMenuV3ItemRelationshipsModifierGroupsResponse = ItemToModifierGroupRelationshipListResponse;
570
+ export interface PostMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest {
571
+ body: PostMenuV3ItemRelationshipsModifierGroupsBody;
555
572
  }
556
- export type PostMenuV2ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
557
- export type PostMenuV2ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
558
- export interface PostMenuV2ItemRelationshipsModifierGroupRequest extends BaseRequest {
559
- body: PostMenuV2ItemRelationshipsModifierGroupBody;
573
+ export type PostMenuV3ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
574
+ export type PostMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
575
+ export interface PostMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest {
576
+ body: PostMenuV3ItemRelationshipsModifierGroupBody;
560
577
  }
561
- export interface PatchMenuV2ItemRelationshipsModifierGroupPath {
578
+ export interface PatchMenuV3ItemRelationshipsModifierGroupPath {
562
579
  id: string;
563
580
  }
564
- export type PatchMenuV2ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
565
- export type PatchMenuV2ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
566
- export interface PatchMenuV2ItemRelationshipsModifierGroupRequest extends BaseRequest, PatchMenuV2ItemRelationshipsModifierGroupPath {
567
- body: PatchMenuV2ItemRelationshipsModifierGroupBody;
581
+ export type PatchMenuV3ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
582
+ export type PatchMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
583
+ export interface PatchMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, PatchMenuV3ItemRelationshipsModifierGroupPath {
584
+ body: PatchMenuV3ItemRelationshipsModifierGroupBody;
568
585
  }
569
- export interface DeleteMenuV2ItemRelationshipsModifierGroupPath {
586
+ export interface DeleteMenuV3ItemRelationshipsModifierGroupPath {
570
587
  id: string;
571
588
  }
572
- export type DeleteMenuV2ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
573
- export interface DeleteMenuV2ItemRelationshipsModifierGroupRequest extends BaseRequest, DeleteMenuV2ItemRelationshipsModifierGroupPath {
589
+ export type DeleteMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
590
+ export interface DeleteMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, DeleteMenuV3ItemRelationshipsModifierGroupPath {
574
591
  }
575
- export interface GetMenuV2MenusQuery {
592
+ export interface GetMenuV3MenusQuery {
576
593
  _query?: string;
577
594
  }
578
- export type GetMenuV2MenusResponse = MenuV2ListResponse;
579
- export interface GetMenuV2MenusRequest extends BaseRequest, RequestQuery<GetMenuV2MenusQuery> {
595
+ export type GetMenuV3MenusResponse = MenuV2ListResponse;
596
+ export interface GetMenuV3MenusRequest extends BaseRequest, RequestQuery<GetMenuV3MenusQuery> {
580
597
  }
581
- export interface GetMenuV2MenuPath {
598
+ export interface GetMenuV3MenuPath {
582
599
  id: string;
583
600
  }
584
- export interface GetMenuV2MenuQuery {
601
+ export interface GetMenuV3MenuQuery {
585
602
  _query?: string;
586
603
  }
587
- export type GetMenuV2MenuResponse = MenuV2;
588
- export interface GetMenuV2MenuRequest extends BaseRequest, RequestQuery<GetMenuV2MenuQuery>, GetMenuV2MenuPath {
604
+ export type GetMenuV3MenuResponse = MenuV2;
605
+ export interface GetMenuV3MenuRequest extends BaseRequest, RequestQuery<GetMenuV3MenuQuery>, GetMenuV3MenuPath {
589
606
  }
590
- export interface PatchMenuV2MenuPath {
607
+ export interface PatchMenuV3MenuPath {
591
608
  id: string;
592
609
  }
593
- export type PatchMenuV2MenuBody = MenuV2;
594
- export type PatchMenuV2MenuResponse = MenuV2;
595
- export interface PatchMenuV2MenuRequest extends BaseRequest, PatchMenuV2MenuPath {
596
- body: PatchMenuV2MenuBody;
610
+ export type PatchMenuV3MenuBody = MenuV2;
611
+ export type PatchMenuV3MenuResponse = MenuV2;
612
+ export interface PatchMenuV3MenuRequest extends BaseRequest, PatchMenuV3MenuPath {
613
+ body: PatchMenuV3MenuBody;
597
614
  }
598
- export interface DeleteMenuV2MenuPath {
615
+ export interface DeleteMenuV3MenuPath {
599
616
  id: string;
600
617
  }
601
- export type DeleteMenuV2MenuResponse = MenuV2;
602
- export interface DeleteMenuV2MenuRequest extends BaseRequest, DeleteMenuV2MenuPath {
618
+ export type DeleteMenuV3MenuResponse = MenuV2;
619
+ export interface DeleteMenuV3MenuRequest extends BaseRequest, DeleteMenuV3MenuPath {
603
620
  }
604
- export type PostMenuV2MenuBody = MenuV2;
605
- export type PostMenuV2MenuResponse = MenuV2;
606
- export interface PostMenuV2MenuRequest extends BaseRequest {
607
- body: PostMenuV2MenuBody;
621
+ export type PostMenuV3MenuBody = MenuV2;
622
+ export type PostMenuV3MenuResponse = MenuV2;
623
+ export interface PostMenuV3MenuRequest extends BaseRequest {
624
+ body: PostMenuV3MenuBody;
608
625
  }
609
- export interface GetMenuV2MenusCountQuery {
626
+ export interface GetMenuV3MenusCountQuery {
610
627
  _query?: string;
611
628
  }
612
- export interface GetMenuV2MenusCountResponse {
629
+ export interface GetMenuV3MenusCountResponse {
613
630
  count?: number;
614
631
  }
615
- export interface GetMenuV2MenusCountRequest extends BaseRequest, RequestQuery<GetMenuV2MenusCountQuery> {
632
+ export interface GetMenuV3MenusCountRequest extends BaseRequest, RequestQuery<GetMenuV3MenusCountQuery> {
616
633
  }
617
- export interface GetMenuV2LayoutsQuery {
634
+ export interface GetMenuV3LayoutsQuery {
618
635
  _query?: string;
619
636
  }
620
- export type GetMenuV2LayoutsResponse = LayoutListResponse;
621
- export interface GetMenuV2LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV2LayoutsQuery> {
637
+ export type GetMenuV3LayoutsResponse = LayoutListResponse;
638
+ export interface GetMenuV3LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsQuery> {
622
639
  }
623
- export interface GetMenuV2LayoutPath {
640
+ export interface GetMenuV3LayoutPath {
624
641
  id: string;
625
642
  }
626
- export interface GetMenuV2LayoutQuery {
643
+ export interface GetMenuV3LayoutQuery {
627
644
  _query?: string;
628
645
  }
629
- export type GetMenuV2LayoutResponse = Layout;
630
- export interface GetMenuV2LayoutRequest extends BaseRequest, RequestQuery<GetMenuV2LayoutQuery>, GetMenuV2LayoutPath {
646
+ export type GetMenuV3LayoutResponse = Layout;
647
+ export interface GetMenuV3LayoutRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutQuery>, GetMenuV3LayoutPath {
631
648
  }
632
- export interface PatchMenuV2LayoutPath {
649
+ export interface PatchMenuV3LayoutPath {
633
650
  id: string;
634
651
  }
635
- export type PatchMenuV2LayoutBody = Layout;
636
- export type PatchMenuV2LayoutResponse = Layout;
637
- export interface PatchMenuV2LayoutRequest extends BaseRequest, PatchMenuV2LayoutPath {
638
- body: PatchMenuV2LayoutBody;
652
+ export type PatchMenuV3LayoutBody = Layout;
653
+ export type PatchMenuV3LayoutResponse = Layout;
654
+ export interface PatchMenuV3LayoutRequest extends BaseRequest, PatchMenuV3LayoutPath {
655
+ body: PatchMenuV3LayoutBody;
639
656
  }
640
- export interface DeleteMenuV2LayoutPath {
657
+ export interface DeleteMenuV3LayoutPath {
641
658
  id: string;
642
659
  }
643
- export type DeleteMenuV2LayoutResponse = Layout;
644
- export interface DeleteMenuV2LayoutRequest extends BaseRequest, DeleteMenuV2LayoutPath {
660
+ export type DeleteMenuV3LayoutResponse = Layout;
661
+ export interface DeleteMenuV3LayoutRequest extends BaseRequest, DeleteMenuV3LayoutPath {
645
662
  }
646
- export type PostMenuV2LayoutBody = Layout;
647
- export type PostMenuV2LayoutResponse = Layout;
648
- export interface PostMenuV2LayoutRequest extends BaseRequest {
649
- body: PostMenuV2LayoutBody;
663
+ export type PostMenuV3LayoutBody = Layout;
664
+ export type PostMenuV3LayoutResponse = Layout;
665
+ export interface PostMenuV3LayoutRequest extends BaseRequest {
666
+ body: PostMenuV3LayoutBody;
650
667
  }
651
- export interface GetMenuV2LayoutsCountQuery {
668
+ export interface GetMenuV3LayoutsCountQuery {
652
669
  _query?: string;
653
670
  }
654
- export interface GetMenuV2LayoutsCountResponse {
671
+ export interface GetMenuV3LayoutsCountResponse {
655
672
  count?: number;
656
673
  }
657
- export interface GetMenuV2LayoutsCountRequest extends BaseRequest, RequestQuery<GetMenuV2LayoutsCountQuery> {
674
+ export interface GetMenuV3LayoutsCountRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsCountQuery> {
658
675
  }
659
- export interface GetMenuV2CategoriesQuery {
676
+ export interface GetMenuV3CategoriesQuery {
660
677
  _query?: string;
661
678
  }
662
- export type GetMenuV2CategoriesResponse = CategoryListResponse;
663
- export interface GetMenuV2CategoriesRequest extends BaseRequest, RequestQuery<GetMenuV2CategoriesQuery> {
679
+ export type GetMenuV3CategoriesResponse = CategoryListResponse;
680
+ export interface GetMenuV3CategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3CategoriesQuery> {
664
681
  }
665
- export interface GetMenuV2CategoryPath {
682
+ export interface GetMenuV3CategoryPath {
666
683
  id: string;
667
684
  }
668
- export interface GetMenuV2CategoryQuery {
685
+ export interface GetMenuV3CategoryQuery {
669
686
  _query?: string;
670
687
  }
671
- export type GetMenuV2CategoryResponse = Category;
672
- export interface GetMenuV2CategoryRequest extends BaseRequest, RequestQuery<GetMenuV2CategoryQuery>, GetMenuV2CategoryPath {
688
+ export type GetMenuV3CategoryResponse = Category;
689
+ export interface GetMenuV3CategoryRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryQuery>, GetMenuV3CategoryPath {
673
690
  }
674
- export interface PatchMenuV2CategoryPath {
691
+ export interface PatchMenuV3CategoryPath {
675
692
  id: string;
676
693
  }
677
- export type PatchMenuV2CategoryBody = Category;
678
- export type PatchMenuV2CategoryResponse = Category;
679
- export interface PatchMenuV2CategoryRequest extends BaseRequest, PatchMenuV2CategoryPath {
680
- body: PatchMenuV2CategoryBody;
694
+ export type PatchMenuV3CategoryBody = Category;
695
+ export type PatchMenuV3CategoryResponse = Category;
696
+ export interface PatchMenuV3CategoryRequest extends BaseRequest, PatchMenuV3CategoryPath {
697
+ body: PatchMenuV3CategoryBody;
681
698
  }
682
- export interface DeleteMenuV2CategoryPath {
699
+ export interface DeleteMenuV3CategoryPath {
683
700
  id: string;
684
701
  }
685
- export type DeleteMenuV2CategoryResponse = Category;
686
- export interface DeleteMenuV2CategoryRequest extends BaseRequest, DeleteMenuV2CategoryPath {
702
+ export type DeleteMenuV3CategoryResponse = Category;
703
+ export interface DeleteMenuV3CategoryRequest extends BaseRequest, DeleteMenuV3CategoryPath {
687
704
  }
688
- export type PostMenuV2CategoryBody = Category;
689
- export type PostMenuV2CategoryResponse = Category;
690
- export interface PostMenuV2CategoryRequest extends BaseRequest {
691
- body: PostMenuV2CategoryBody;
705
+ export type PostMenuV3CategoryBody = Category;
706
+ export type PostMenuV3CategoryResponse = Category;
707
+ export interface PostMenuV3CategoryRequest extends BaseRequest {
708
+ body: PostMenuV3CategoryBody;
692
709
  }
693
- export interface GetMenuV2CategoriesCountQuery {
710
+ export interface GetMenuV3CategoriesCountQuery {
694
711
  _query?: string;
695
712
  }
696
- export interface GetMenuV2CategoriesCountResponse {
713
+ export interface GetMenuV3CategoriesCountResponse {
697
714
  count?: number;
698
715
  }
699
- export interface GetMenuV2CategoriesCountRequest extends BaseRequest, RequestQuery<GetMenuV2CategoriesCountQuery> {
716
+ export interface GetMenuV3CategoriesCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoriesCountQuery> {
700
717
  }
701
- export interface GetMenuV2CategoryRelationshipsItemsQuery {
718
+ export interface GetMenuV3CategoryRelationshipsItemsQuery {
702
719
  _query?: string;
703
720
  }
704
- export type GetMenuV2CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
705
- export interface GetMenuV2CategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV2CategoryRelationshipsItemsQuery> {
721
+ export type GetMenuV3CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
722
+ export interface GetMenuV3CategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {
723
+ }
724
+ export type PostMenuV3CategoryRelationshipsItemsBody = CategoryToItemRelationshipList;
725
+ export type PostMenuV3CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
726
+ export interface PostMenuV3CategoryRelationshipsItemsRequest extends BaseRequest {
727
+ body: PostMenuV3CategoryRelationshipsItemsBody;
706
728
  }
707
- export type PostMenuV2CategoryRelationshipsItemBody = CategoryToItemRelationship;
708
- export type PostMenuV2CategoryRelationshipsItemResponse = CategoryToItemRelationship;
709
- export interface PostMenuV2CategoryRelationshipsItemRequest extends BaseRequest {
710
- body: PostMenuV2CategoryRelationshipsItemBody;
729
+ export type PostMenuV3CategoryRelationshipsItemBody = CategoryToItemRelationship;
730
+ export type PostMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
731
+ export interface PostMenuV3CategoryRelationshipsItemRequest extends BaseRequest {
732
+ body: PostMenuV3CategoryRelationshipsItemBody;
711
733
  }
712
- export interface PatchMenuV2CategoryRelationshipsItemPath {
734
+ export interface PatchMenuV3CategoryRelationshipsItemPath {
713
735
  id: string;
714
736
  }
715
- export type PatchMenuV2CategoryRelationshipsItemBody = CategoryToItemRelationship;
716
- export type PatchMenuV2CategoryRelationshipsItemResponse = CategoryToItemRelationship;
717
- export interface PatchMenuV2CategoryRelationshipsItemRequest extends BaseRequest, PatchMenuV2CategoryRelationshipsItemPath {
718
- body: PatchMenuV2CategoryRelationshipsItemBody;
737
+ export type PatchMenuV3CategoryRelationshipsItemBody = CategoryToItemRelationship;
738
+ export type PatchMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
739
+ export interface PatchMenuV3CategoryRelationshipsItemRequest extends BaseRequest, PatchMenuV3CategoryRelationshipsItemPath {
740
+ body: PatchMenuV3CategoryRelationshipsItemBody;
719
741
  }
720
- export interface DeleteMenuV2CategoryRelationshipsItemPath {
742
+ export interface DeleteMenuV3CategoryRelationshipsItemPath {
721
743
  id: string;
722
744
  }
723
- export type DeleteMenuV2CategoryRelationshipsItemResponse = CategoryToItemRelationship;
724
- export interface DeleteMenuV2CategoryRelationshipsItemRequest extends BaseRequest, DeleteMenuV2CategoryRelationshipsItemPath {
745
+ export type DeleteMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
746
+ export interface DeleteMenuV3CategoryRelationshipsItemRequest extends BaseRequest, DeleteMenuV3CategoryRelationshipsItemPath {
725
747
  }
726
748
  export interface GetMenuClientPath {
727
749
  client_id: string;