@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.
- package/lib/index.d.ts +156 -135
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +162 -135
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +191 -169
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +408 -342
- package/src/interface/menu.ts +288 -245
- package/quicktest.json +0 -8
package/lib/interface/menu.d.ts
CHANGED
|
@@ -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
|
|
421
|
+
export interface GetMenuV3ModifiersQuery {
|
|
415
422
|
_query?: string;
|
|
416
423
|
}
|
|
417
|
-
export type
|
|
418
|
-
export interface
|
|
424
|
+
export type GetMenuV3ModifiersResponse = ModifiersListResponse;
|
|
425
|
+
export interface GetMenuV3ModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersQuery> {
|
|
419
426
|
}
|
|
420
|
-
export interface
|
|
427
|
+
export interface GetMenuV3ModifierPath {
|
|
421
428
|
id: string;
|
|
422
429
|
}
|
|
423
|
-
export interface
|
|
430
|
+
export interface GetMenuV3ModifierQuery {
|
|
424
431
|
_query?: string;
|
|
425
432
|
}
|
|
426
|
-
export type
|
|
427
|
-
export interface
|
|
433
|
+
export type GetMenuV3ModifierResponse = Modifier;
|
|
434
|
+
export interface GetMenuV3ModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierQuery>, GetMenuV3ModifierPath {
|
|
428
435
|
}
|
|
429
|
-
export interface
|
|
436
|
+
export interface PatchMenuV3ModifierPath {
|
|
430
437
|
id: string;
|
|
431
438
|
}
|
|
432
|
-
export type
|
|
433
|
-
export type
|
|
434
|
-
export interface
|
|
435
|
-
body:
|
|
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
|
|
438
|
-
export type
|
|
439
|
-
export interface
|
|
440
|
-
body:
|
|
444
|
+
export type PostMenuV3ModifierBody = Modifier;
|
|
445
|
+
export type PostMenuV3ModifierResponse = Modifier;
|
|
446
|
+
export interface PostMenuV3ModifierRequest extends BaseRequest {
|
|
447
|
+
body: PostMenuV3ModifierBody;
|
|
441
448
|
}
|
|
442
|
-
export interface
|
|
449
|
+
export interface GetMenuV3ModifierCountQuery {
|
|
443
450
|
_query?: string;
|
|
444
451
|
}
|
|
445
|
-
export interface
|
|
452
|
+
export interface GetMenuV3ModifierCountResponse {
|
|
446
453
|
count?: number;
|
|
447
454
|
}
|
|
448
|
-
export interface
|
|
455
|
+
export interface GetMenuV3ModifierCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierCountQuery> {
|
|
449
456
|
}
|
|
450
|
-
export interface
|
|
457
|
+
export interface GetMenuV3ModifierGroupsQuery {
|
|
451
458
|
_query?: string;
|
|
452
459
|
}
|
|
453
|
-
export type
|
|
454
|
-
export interface
|
|
460
|
+
export type GetMenuV3ModifierGroupsResponse = ModifierGroupsListResponse;
|
|
461
|
+
export interface GetMenuV3ModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsQuery> {
|
|
455
462
|
}
|
|
456
|
-
export type
|
|
457
|
-
export type
|
|
458
|
-
export interface
|
|
459
|
-
body:
|
|
463
|
+
export type PostMenuV3ModifierGroupBody = ModifierGroup;
|
|
464
|
+
export type PostMenuV3ModifierGroupResponse = ModifierGroup;
|
|
465
|
+
export interface PostMenuV3ModifierGroupRequest extends BaseRequest {
|
|
466
|
+
body: PostMenuV3ModifierGroupBody;
|
|
460
467
|
}
|
|
461
|
-
export interface
|
|
468
|
+
export interface GetMenuV3ModifierGroupPath {
|
|
462
469
|
id: string;
|
|
463
470
|
}
|
|
464
|
-
export interface
|
|
471
|
+
export interface GetMenuV3ModifierGroupQuery {
|
|
465
472
|
_query?: string;
|
|
466
473
|
}
|
|
467
|
-
export type
|
|
468
|
-
export interface
|
|
474
|
+
export type GetMenuV3ModifierGroupResponse = ModifierGroup;
|
|
475
|
+
export interface GetMenuV3ModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupQuery>, GetMenuV3ModifierGroupPath {
|
|
469
476
|
}
|
|
470
|
-
export interface
|
|
477
|
+
export interface PatchMenuV3ModifierGroupPath {
|
|
471
478
|
id: string;
|
|
472
479
|
}
|
|
473
|
-
export type
|
|
474
|
-
export type
|
|
475
|
-
export interface
|
|
476
|
-
body:
|
|
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
|
|
485
|
+
export interface GetMenuV3ModifierGroupCountQuery {
|
|
479
486
|
_query?: string;
|
|
480
487
|
}
|
|
481
|
-
export interface
|
|
488
|
+
export interface GetMenuV3ModifierGroupCountResponse {
|
|
482
489
|
count?: number;
|
|
483
490
|
}
|
|
484
|
-
export interface
|
|
491
|
+
export interface GetMenuV3ModifierGroupCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupCountQuery> {
|
|
485
492
|
}
|
|
486
|
-
export interface
|
|
493
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
|
|
487
494
|
_query?: string;
|
|
488
495
|
}
|
|
489
|
-
export type
|
|
490
|
-
export interface
|
|
496
|
+
export type GetMenuV3ModifierGroupRelationshipsModifiersResponse = ModifierGroupToModifierRelationshipListResponse;
|
|
497
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersQuery> {
|
|
491
498
|
}
|
|
492
|
-
export type
|
|
493
|
-
export type
|
|
494
|
-
export interface
|
|
495
|
-
body:
|
|
499
|
+
export type PostMenuV3ModifierGroupRelationshipsModifiersBody = ModifierGroupToModifierRelationshipList;
|
|
500
|
+
export type PostMenuV3ModifierGroupRelationshipsModifiersResponse = ModifierGroupToModifierRelationshipListResponse;
|
|
501
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest {
|
|
502
|
+
body: PostMenuV3ModifierGroupRelationshipsModifiersBody;
|
|
496
503
|
}
|
|
497
|
-
export
|
|
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
|
|
512
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifierQuery {
|
|
501
513
|
_query?: string;
|
|
502
514
|
}
|
|
503
|
-
export type
|
|
504
|
-
export interface
|
|
515
|
+
export type GetMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationship;
|
|
516
|
+
export interface GetMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifierQuery>, GetMenuV3ModifierGroupRelationshipsModifierPath {
|
|
505
517
|
}
|
|
506
|
-
export interface
|
|
518
|
+
export interface PatchMenuV3ModifierGroupRelationshipsModifierPath {
|
|
507
519
|
id: string;
|
|
508
520
|
}
|
|
509
|
-
export type
|
|
510
|
-
export type
|
|
511
|
-
export interface
|
|
512
|
-
body:
|
|
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
|
|
526
|
+
export interface GetMenuV3ItemsQuery {
|
|
515
527
|
_query?: string;
|
|
516
528
|
}
|
|
517
|
-
export type
|
|
518
|
-
export interface
|
|
529
|
+
export type GetMenuV3ItemsResponse = ItemsListResponse;
|
|
530
|
+
export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {
|
|
519
531
|
}
|
|
520
|
-
export interface
|
|
532
|
+
export interface GetMenuV3ItemPath {
|
|
521
533
|
id: string;
|
|
522
534
|
}
|
|
523
|
-
export interface
|
|
535
|
+
export interface GetMenuV3ItemQuery {
|
|
524
536
|
_query?: string;
|
|
525
537
|
}
|
|
526
|
-
export type
|
|
527
|
-
export interface
|
|
538
|
+
export type GetMenuV3ItemResponse = LocalItem;
|
|
539
|
+
export interface GetMenuV3ItemRequest extends BaseRequest, RequestQuery<GetMenuV3ItemQuery>, GetMenuV3ItemPath {
|
|
528
540
|
}
|
|
529
|
-
export interface
|
|
541
|
+
export interface PatchMenuV3ItemPath {
|
|
530
542
|
id: string;
|
|
531
543
|
}
|
|
532
|
-
export type
|
|
533
|
-
export type
|
|
534
|
-
export interface
|
|
535
|
-
body:
|
|
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
|
|
538
|
-
export type
|
|
539
|
-
export interface
|
|
540
|
-
body:
|
|
549
|
+
export type PostMenuV3ItemBody = LocalItem;
|
|
550
|
+
export type PostMenuV3ItemResponse = LocalItem;
|
|
551
|
+
export interface PostMenuV3ItemRequest extends BaseRequest {
|
|
552
|
+
body: PostMenuV3ItemBody;
|
|
541
553
|
}
|
|
542
|
-
export interface
|
|
554
|
+
export interface GetMenuV3ItemsCountQuery {
|
|
543
555
|
_query?: string;
|
|
544
556
|
}
|
|
545
|
-
export interface
|
|
557
|
+
export interface GetMenuV3ItemsCountResponse {
|
|
546
558
|
count?: number;
|
|
547
559
|
}
|
|
548
|
-
export interface
|
|
560
|
+
export interface GetMenuV3ItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsCountQuery> {
|
|
549
561
|
}
|
|
550
|
-
export interface
|
|
562
|
+
export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
|
|
551
563
|
_query?: string;
|
|
552
564
|
}
|
|
553
|
-
export type
|
|
554
|
-
export interface
|
|
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
|
|
557
|
-
export type
|
|
558
|
-
export interface
|
|
559
|
-
body:
|
|
573
|
+
export type PostMenuV3ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
|
|
574
|
+
export type PostMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
|
|
575
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest {
|
|
576
|
+
body: PostMenuV3ItemRelationshipsModifierGroupBody;
|
|
560
577
|
}
|
|
561
|
-
export interface
|
|
578
|
+
export interface PatchMenuV3ItemRelationshipsModifierGroupPath {
|
|
562
579
|
id: string;
|
|
563
580
|
}
|
|
564
|
-
export type
|
|
565
|
-
export type
|
|
566
|
-
export interface
|
|
567
|
-
body:
|
|
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
|
|
586
|
+
export interface DeleteMenuV3ItemRelationshipsModifierGroupPath {
|
|
570
587
|
id: string;
|
|
571
588
|
}
|
|
572
|
-
export type
|
|
573
|
-
export interface
|
|
589
|
+
export type DeleteMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
|
|
590
|
+
export interface DeleteMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, DeleteMenuV3ItemRelationshipsModifierGroupPath {
|
|
574
591
|
}
|
|
575
|
-
export interface
|
|
592
|
+
export interface GetMenuV3MenusQuery {
|
|
576
593
|
_query?: string;
|
|
577
594
|
}
|
|
578
|
-
export type
|
|
579
|
-
export interface
|
|
595
|
+
export type GetMenuV3MenusResponse = MenuV2ListResponse;
|
|
596
|
+
export interface GetMenuV3MenusRequest extends BaseRequest, RequestQuery<GetMenuV3MenusQuery> {
|
|
580
597
|
}
|
|
581
|
-
export interface
|
|
598
|
+
export interface GetMenuV3MenuPath {
|
|
582
599
|
id: string;
|
|
583
600
|
}
|
|
584
|
-
export interface
|
|
601
|
+
export interface GetMenuV3MenuQuery {
|
|
585
602
|
_query?: string;
|
|
586
603
|
}
|
|
587
|
-
export type
|
|
588
|
-
export interface
|
|
604
|
+
export type GetMenuV3MenuResponse = MenuV2;
|
|
605
|
+
export interface GetMenuV3MenuRequest extends BaseRequest, RequestQuery<GetMenuV3MenuQuery>, GetMenuV3MenuPath {
|
|
589
606
|
}
|
|
590
|
-
export interface
|
|
607
|
+
export interface PatchMenuV3MenuPath {
|
|
591
608
|
id: string;
|
|
592
609
|
}
|
|
593
|
-
export type
|
|
594
|
-
export type
|
|
595
|
-
export interface
|
|
596
|
-
body:
|
|
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
|
|
615
|
+
export interface DeleteMenuV3MenuPath {
|
|
599
616
|
id: string;
|
|
600
617
|
}
|
|
601
|
-
export type
|
|
602
|
-
export interface
|
|
618
|
+
export type DeleteMenuV3MenuResponse = MenuV2;
|
|
619
|
+
export interface DeleteMenuV3MenuRequest extends BaseRequest, DeleteMenuV3MenuPath {
|
|
603
620
|
}
|
|
604
|
-
export type
|
|
605
|
-
export type
|
|
606
|
-
export interface
|
|
607
|
-
body:
|
|
621
|
+
export type PostMenuV3MenuBody = MenuV2;
|
|
622
|
+
export type PostMenuV3MenuResponse = MenuV2;
|
|
623
|
+
export interface PostMenuV3MenuRequest extends BaseRequest {
|
|
624
|
+
body: PostMenuV3MenuBody;
|
|
608
625
|
}
|
|
609
|
-
export interface
|
|
626
|
+
export interface GetMenuV3MenusCountQuery {
|
|
610
627
|
_query?: string;
|
|
611
628
|
}
|
|
612
|
-
export interface
|
|
629
|
+
export interface GetMenuV3MenusCountResponse {
|
|
613
630
|
count?: number;
|
|
614
631
|
}
|
|
615
|
-
export interface
|
|
632
|
+
export interface GetMenuV3MenusCountRequest extends BaseRequest, RequestQuery<GetMenuV3MenusCountQuery> {
|
|
616
633
|
}
|
|
617
|
-
export interface
|
|
634
|
+
export interface GetMenuV3LayoutsQuery {
|
|
618
635
|
_query?: string;
|
|
619
636
|
}
|
|
620
|
-
export type
|
|
621
|
-
export interface
|
|
637
|
+
export type GetMenuV3LayoutsResponse = LayoutListResponse;
|
|
638
|
+
export interface GetMenuV3LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsQuery> {
|
|
622
639
|
}
|
|
623
|
-
export interface
|
|
640
|
+
export interface GetMenuV3LayoutPath {
|
|
624
641
|
id: string;
|
|
625
642
|
}
|
|
626
|
-
export interface
|
|
643
|
+
export interface GetMenuV3LayoutQuery {
|
|
627
644
|
_query?: string;
|
|
628
645
|
}
|
|
629
|
-
export type
|
|
630
|
-
export interface
|
|
646
|
+
export type GetMenuV3LayoutResponse = Layout;
|
|
647
|
+
export interface GetMenuV3LayoutRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutQuery>, GetMenuV3LayoutPath {
|
|
631
648
|
}
|
|
632
|
-
export interface
|
|
649
|
+
export interface PatchMenuV3LayoutPath {
|
|
633
650
|
id: string;
|
|
634
651
|
}
|
|
635
|
-
export type
|
|
636
|
-
export type
|
|
637
|
-
export interface
|
|
638
|
-
body:
|
|
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
|
|
657
|
+
export interface DeleteMenuV3LayoutPath {
|
|
641
658
|
id: string;
|
|
642
659
|
}
|
|
643
|
-
export type
|
|
644
|
-
export interface
|
|
660
|
+
export type DeleteMenuV3LayoutResponse = Layout;
|
|
661
|
+
export interface DeleteMenuV3LayoutRequest extends BaseRequest, DeleteMenuV3LayoutPath {
|
|
645
662
|
}
|
|
646
|
-
export type
|
|
647
|
-
export type
|
|
648
|
-
export interface
|
|
649
|
-
body:
|
|
663
|
+
export type PostMenuV3LayoutBody = Layout;
|
|
664
|
+
export type PostMenuV3LayoutResponse = Layout;
|
|
665
|
+
export interface PostMenuV3LayoutRequest extends BaseRequest {
|
|
666
|
+
body: PostMenuV3LayoutBody;
|
|
650
667
|
}
|
|
651
|
-
export interface
|
|
668
|
+
export interface GetMenuV3LayoutsCountQuery {
|
|
652
669
|
_query?: string;
|
|
653
670
|
}
|
|
654
|
-
export interface
|
|
671
|
+
export interface GetMenuV3LayoutsCountResponse {
|
|
655
672
|
count?: number;
|
|
656
673
|
}
|
|
657
|
-
export interface
|
|
674
|
+
export interface GetMenuV3LayoutsCountRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsCountQuery> {
|
|
658
675
|
}
|
|
659
|
-
export interface
|
|
676
|
+
export interface GetMenuV3CategoriesQuery {
|
|
660
677
|
_query?: string;
|
|
661
678
|
}
|
|
662
|
-
export type
|
|
663
|
-
export interface
|
|
679
|
+
export type GetMenuV3CategoriesResponse = CategoryListResponse;
|
|
680
|
+
export interface GetMenuV3CategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3CategoriesQuery> {
|
|
664
681
|
}
|
|
665
|
-
export interface
|
|
682
|
+
export interface GetMenuV3CategoryPath {
|
|
666
683
|
id: string;
|
|
667
684
|
}
|
|
668
|
-
export interface
|
|
685
|
+
export interface GetMenuV3CategoryQuery {
|
|
669
686
|
_query?: string;
|
|
670
687
|
}
|
|
671
|
-
export type
|
|
672
|
-
export interface
|
|
688
|
+
export type GetMenuV3CategoryResponse = Category;
|
|
689
|
+
export interface GetMenuV3CategoryRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryQuery>, GetMenuV3CategoryPath {
|
|
673
690
|
}
|
|
674
|
-
export interface
|
|
691
|
+
export interface PatchMenuV3CategoryPath {
|
|
675
692
|
id: string;
|
|
676
693
|
}
|
|
677
|
-
export type
|
|
678
|
-
export type
|
|
679
|
-
export interface
|
|
680
|
-
body:
|
|
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
|
|
699
|
+
export interface DeleteMenuV3CategoryPath {
|
|
683
700
|
id: string;
|
|
684
701
|
}
|
|
685
|
-
export type
|
|
686
|
-
export interface
|
|
702
|
+
export type DeleteMenuV3CategoryResponse = Category;
|
|
703
|
+
export interface DeleteMenuV3CategoryRequest extends BaseRequest, DeleteMenuV3CategoryPath {
|
|
687
704
|
}
|
|
688
|
-
export type
|
|
689
|
-
export type
|
|
690
|
-
export interface
|
|
691
|
-
body:
|
|
705
|
+
export type PostMenuV3CategoryBody = Category;
|
|
706
|
+
export type PostMenuV3CategoryResponse = Category;
|
|
707
|
+
export interface PostMenuV3CategoryRequest extends BaseRequest {
|
|
708
|
+
body: PostMenuV3CategoryBody;
|
|
692
709
|
}
|
|
693
|
-
export interface
|
|
710
|
+
export interface GetMenuV3CategoriesCountQuery {
|
|
694
711
|
_query?: string;
|
|
695
712
|
}
|
|
696
|
-
export interface
|
|
713
|
+
export interface GetMenuV3CategoriesCountResponse {
|
|
697
714
|
count?: number;
|
|
698
715
|
}
|
|
699
|
-
export interface
|
|
716
|
+
export interface GetMenuV3CategoriesCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoriesCountQuery> {
|
|
700
717
|
}
|
|
701
|
-
export interface
|
|
718
|
+
export interface GetMenuV3CategoryRelationshipsItemsQuery {
|
|
702
719
|
_query?: string;
|
|
703
720
|
}
|
|
704
|
-
export type
|
|
705
|
-
export interface
|
|
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
|
|
708
|
-
export type
|
|
709
|
-
export interface
|
|
710
|
-
body:
|
|
729
|
+
export type PostMenuV3CategoryRelationshipsItemBody = CategoryToItemRelationship;
|
|
730
|
+
export type PostMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
|
|
731
|
+
export interface PostMenuV3CategoryRelationshipsItemRequest extends BaseRequest {
|
|
732
|
+
body: PostMenuV3CategoryRelationshipsItemBody;
|
|
711
733
|
}
|
|
712
|
-
export interface
|
|
734
|
+
export interface PatchMenuV3CategoryRelationshipsItemPath {
|
|
713
735
|
id: string;
|
|
714
736
|
}
|
|
715
|
-
export type
|
|
716
|
-
export type
|
|
717
|
-
export interface
|
|
718
|
-
body:
|
|
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
|
|
742
|
+
export interface DeleteMenuV3CategoryRelationshipsItemPath {
|
|
721
743
|
id: string;
|
|
722
744
|
}
|
|
723
|
-
export type
|
|
724
|
-
export interface
|
|
745
|
+
export type DeleteMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
|
|
746
|
+
export interface DeleteMenuV3CategoryRelationshipsItemRequest extends BaseRequest, DeleteMenuV3CategoryRelationshipsItemPath {
|
|
725
747
|
}
|
|
726
748
|
export interface GetMenuClientPath {
|
|
727
749
|
client_id: string;
|