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