@compassdigital/sdk.typescript 3.49.0 → 3.51.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 +665 -192
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +748 -233
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +2653 -740
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +19 -1
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +21 -18
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/report.d.ts +19 -0
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +1 -0
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/user.d.ts +5 -0
- package/lib/interface/user.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/index.ts +1916 -565
- package/src/interface/menu.ts +3899 -1382
- package/src/interface/partner.ts +34 -2
- package/src/interface/payment.ts +29 -23
- package/src/interface/report.ts +36 -0
- package/src/interface/shoppingcart.ts +1 -0
- package/src/interface/user.ts +7 -0
package/src/index.ts
CHANGED
|
@@ -27,12 +27,12 @@ import {
|
|
|
27
27
|
GetPaymentMethodsResponse,
|
|
28
28
|
GetPaymentHpcQuery,
|
|
29
29
|
GetPaymentHpcResponse,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
GetPaymentCashlessQuery,
|
|
31
|
+
GetPaymentCashlessResponse,
|
|
32
|
+
PostPaymentCashlessBody,
|
|
33
|
+
PostPaymentCashlessResponse,
|
|
34
|
+
DeletePaymentCashlessBody,
|
|
35
|
+
DeletePaymentCashlessResponse,
|
|
36
36
|
} from "./interface/payment";
|
|
37
37
|
|
|
38
38
|
import {
|
|
@@ -215,6 +215,8 @@ import {
|
|
|
215
215
|
PostPartnerEventResponse,
|
|
216
216
|
GetPartnerSwaggerQuery,
|
|
217
217
|
GetPartnerSwaggerResponse,
|
|
218
|
+
PostPartnerMenuBody,
|
|
219
|
+
PostPartnerMenuResponse,
|
|
218
220
|
} from "./interface/partner";
|
|
219
221
|
|
|
220
222
|
import { PostEmailBody, PostEmailResponse } from "./interface/email";
|
|
@@ -367,6 +369,8 @@ import {
|
|
|
367
369
|
DeleteReportEodGroupSubscribersResponse,
|
|
368
370
|
PutReportEodGroupSubscribersBody,
|
|
369
371
|
PutReportEodGroupSubscribersResponse,
|
|
372
|
+
GetReportEodGroupItemsQuery,
|
|
373
|
+
GetReportEodGroupItemsResponse,
|
|
370
374
|
} from "./interface/report";
|
|
371
375
|
|
|
372
376
|
import {
|
|
@@ -458,102 +462,62 @@ import {
|
|
|
458
462
|
import {
|
|
459
463
|
GetMenuV3ModifiersQuery,
|
|
460
464
|
GetMenuV3ModifiersResponse,
|
|
461
|
-
PostMenuV3ModifiersBody,
|
|
462
|
-
PostMenuV3ModifiersResponse,
|
|
463
465
|
GetMenuV3ModifierQuery,
|
|
464
466
|
GetMenuV3ModifierResponse,
|
|
465
|
-
PatchMenuV3ModifierBody,
|
|
466
|
-
PatchMenuV3ModifierResponse,
|
|
467
|
-
DeleteMenuV3ModifierResponse,
|
|
468
467
|
PostMenuV3ModifierBody,
|
|
469
468
|
PostMenuV3ModifierResponse,
|
|
470
469
|
GetMenuV3ModifierCountQuery,
|
|
471
470
|
GetMenuV3ModifierCountResponse,
|
|
472
471
|
GetMenuV3ModifierGroupsQuery,
|
|
473
472
|
GetMenuV3ModifierGroupsResponse,
|
|
474
|
-
PostMenuV3ModifierGroupsBody,
|
|
475
|
-
PostMenuV3ModifierGroupsResponse,
|
|
476
473
|
PostMenuV3ModifierGroupBody,
|
|
477
474
|
PostMenuV3ModifierGroupResponse,
|
|
478
475
|
GetMenuV3ModifierGroupQuery,
|
|
479
476
|
GetMenuV3ModifierGroupResponse,
|
|
480
|
-
PatchMenuV3ModifierGroupBody,
|
|
481
|
-
PatchMenuV3ModifierGroupResponse,
|
|
482
|
-
DeleteMenuV3ModifierGroupResponse,
|
|
483
477
|
GetMenuV3ModifierGroupCountQuery,
|
|
484
478
|
GetMenuV3ModifierGroupCountResponse,
|
|
485
479
|
GetMenuV3ModifierGroupRelationshipsModifiersQuery,
|
|
486
480
|
GetMenuV3ModifierGroupRelationshipsModifiersResponse,
|
|
487
|
-
PostMenuV3ModifierGroupRelationshipsModifiersBody,
|
|
488
|
-
PostMenuV3ModifierGroupRelationshipsModifiersResponse,
|
|
489
481
|
PostMenuV3ModifierGroupRelationshipsModifierBody,
|
|
490
482
|
PostMenuV3ModifierGroupRelationshipsModifierResponse,
|
|
491
483
|
GetMenuV3ModifierGroupRelationshipsModifierQuery,
|
|
492
484
|
GetMenuV3ModifierGroupRelationshipsModifierResponse,
|
|
493
|
-
PatchMenuV3ModifierGroupRelationshipsModifierBody,
|
|
494
|
-
PatchMenuV3ModifierGroupRelationshipsModifierResponse,
|
|
495
|
-
DeleteMenuV3ModifierGroupRelationshipsModifierResponse,
|
|
496
485
|
GetMenuV3ItemsQuery,
|
|
497
486
|
GetMenuV3ItemsResponse,
|
|
498
|
-
PostMenuV3ItemsBody,
|
|
499
|
-
PostMenuV3ItemsResponse,
|
|
500
487
|
GetMenuV3ItemQuery,
|
|
501
488
|
GetMenuV3ItemResponse,
|
|
502
|
-
PatchMenuV3ItemBody,
|
|
503
|
-
PatchMenuV3ItemResponse,
|
|
504
|
-
DeleteMenuV3ItemResponse,
|
|
505
489
|
PostMenuV3ItemBody,
|
|
506
490
|
PostMenuV3ItemResponse,
|
|
507
491
|
GetMenuV3ItemsCountQuery,
|
|
508
492
|
GetMenuV3ItemsCountResponse,
|
|
509
493
|
GetMenuV3ItemRelationshipsModifierGroupsQuery,
|
|
510
494
|
GetMenuV3ItemRelationshipsModifierGroupsResponse,
|
|
511
|
-
PostMenuV3ItemRelationshipsModifierGroupsBody,
|
|
512
|
-
PostMenuV3ItemRelationshipsModifierGroupsResponse,
|
|
513
495
|
PostMenuV3ItemRelationshipsModifierGroupBody,
|
|
514
496
|
PostMenuV3ItemRelationshipsModifierGroupResponse,
|
|
515
497
|
GetMenuV3ItemRelationshipsModifierGroupQuery,
|
|
516
498
|
GetMenuV3ItemRelationshipsModifierGroupResponse,
|
|
517
|
-
PatchMenuV3ItemRelationshipsModifierGroupBody,
|
|
518
|
-
PatchMenuV3ItemRelationshipsModifierGroupResponse,
|
|
519
|
-
DeleteMenuV3ItemRelationshipsModifierGroupResponse,
|
|
520
499
|
GetMenuV3LayoutsQuery,
|
|
521
500
|
GetMenuV3LayoutsResponse,
|
|
522
|
-
PostMenuV3LayoutsBody,
|
|
523
|
-
PostMenuV3LayoutsResponse,
|
|
524
501
|
GetMenuV3LayoutCategoriesQuery,
|
|
525
502
|
GetMenuV3LayoutCategoriesResponse,
|
|
526
503
|
GetMenuV3LayoutQuery,
|
|
527
504
|
GetMenuV3LayoutResponse,
|
|
528
|
-
PatchMenuV3LayoutBody,
|
|
529
|
-
PatchMenuV3LayoutResponse,
|
|
530
|
-
DeleteMenuV3LayoutResponse,
|
|
531
505
|
PostMenuV3LayoutBody,
|
|
532
506
|
PostMenuV3LayoutResponse,
|
|
533
507
|
GetMenuV3LayoutsCountQuery,
|
|
534
508
|
GetMenuV3LayoutsCountResponse,
|
|
535
|
-
GetMenuV3CategoriesQuery,
|
|
536
|
-
GetMenuV3CategoriesResponse,
|
|
537
509
|
GetMenuV3CategoryQuery,
|
|
538
510
|
GetMenuV3CategoryResponse,
|
|
539
|
-
PatchMenuV3CategoryBody,
|
|
540
|
-
PatchMenuV3CategoryResponse,
|
|
541
|
-
DeleteMenuV3CategoryResponse,
|
|
542
511
|
PostMenuV3CategoryBody,
|
|
543
512
|
PostMenuV3CategoryResponse,
|
|
544
513
|
GetMenuV3CategoriesCountQuery,
|
|
545
514
|
GetMenuV3CategoriesCountResponse,
|
|
546
515
|
GetMenuV3CategoryRelationshipsItemsQuery,
|
|
547
516
|
GetMenuV3CategoryRelationshipsItemsResponse,
|
|
548
|
-
PostMenuV3CategoryRelationshipsItemsBody,
|
|
549
|
-
PostMenuV3CategoryRelationshipsItemsResponse,
|
|
550
517
|
PostMenuV3CategoryRelationshipsItemBody,
|
|
551
518
|
PostMenuV3CategoryRelationshipsItemResponse,
|
|
552
519
|
GetMenuV3CategoryRelationshipsItemQuery,
|
|
553
520
|
GetMenuV3CategoryRelationshipsItemResponse,
|
|
554
|
-
PatchMenuV3CategoryRelationshipsItemBody,
|
|
555
|
-
PatchMenuV3CategoryRelationshipsItemResponse,
|
|
556
|
-
DeleteMenuV3CategoryRelationshipsItemResponse,
|
|
557
521
|
GetMenuV3BrandsQuery,
|
|
558
522
|
GetMenuV3BrandsResponse,
|
|
559
523
|
PostMenuV3BrandsBody,
|
|
@@ -666,6 +630,155 @@ import {
|
|
|
666
630
|
GetMenuV3StationItemsResponse,
|
|
667
631
|
GetMenuV3SiteLayoutsQuery,
|
|
668
632
|
GetMenuV3SiteLayoutsResponse,
|
|
633
|
+
PostMenuV3DraftLayoutBody,
|
|
634
|
+
PostMenuV3DraftLayoutResponse,
|
|
635
|
+
GetMenuV3DraftLayoutQuery,
|
|
636
|
+
GetMenuV3DraftLayoutResponse,
|
|
637
|
+
PatchMenuV3DraftLayoutBody,
|
|
638
|
+
PatchMenuV3DraftLayoutResponse,
|
|
639
|
+
DeleteMenuV3DraftLayoutResponse,
|
|
640
|
+
GetMenuV3DraftLayoutsQuery,
|
|
641
|
+
GetMenuV3DraftLayoutsResponse,
|
|
642
|
+
PostMenuV3DraftLayoutsBody,
|
|
643
|
+
PostMenuV3DraftLayoutsResponse,
|
|
644
|
+
GetMenuV3DraftLayoutsCountQuery,
|
|
645
|
+
GetMenuV3DraftLayoutsCountResponse,
|
|
646
|
+
GetMenuV3DraftLayoutCategoriesQuery,
|
|
647
|
+
GetMenuV3DraftLayoutCategoriesResponse,
|
|
648
|
+
PostMenuV3DraftLayoutPublishResponse,
|
|
649
|
+
PostMenuV3DraftCategoryBody,
|
|
650
|
+
PostMenuV3DraftCategoryResponse,
|
|
651
|
+
GetMenuV3DraftCategoryQuery,
|
|
652
|
+
GetMenuV3DraftCategoryResponse,
|
|
653
|
+
PatchMenuV3DraftCategoryBody,
|
|
654
|
+
PatchMenuV3DraftCategoryResponse,
|
|
655
|
+
DeleteMenuV3DraftCategoryResponse,
|
|
656
|
+
GetMenuV3DraftCategoriesCountQuery,
|
|
657
|
+
GetMenuV3DraftCategoriesCountResponse,
|
|
658
|
+
PostMenuV3DraftCategorysBody,
|
|
659
|
+
PostMenuV3DraftCategorysResponse,
|
|
660
|
+
PostMenuV3DraftCategoryRelationshipsItemBody,
|
|
661
|
+
PostMenuV3DraftCategoryRelationshipsItemResponse,
|
|
662
|
+
GetMenuV3DraftCategoryRelationshipsItemQuery,
|
|
663
|
+
GetMenuV3DraftCategoryRelationshipsItemResponse,
|
|
664
|
+
PatchMenuV3DraftCategoryRelationshipsItemBody,
|
|
665
|
+
PatchMenuV3DraftCategoryRelationshipsItemResponse,
|
|
666
|
+
DeleteMenuV3DraftCategoryRelationshipsItemResponse,
|
|
667
|
+
GetMenuV3DraftCategoryRelationshipsItemsQuery,
|
|
668
|
+
GetMenuV3DraftCategoryRelationshipsItemsResponse,
|
|
669
|
+
PostMenuV3DraftCategoryRelationshipsItemsBody,
|
|
670
|
+
PostMenuV3DraftCategoryRelationshipsItemsResponse,
|
|
671
|
+
GetMenuV3DraftCategoryRelationshipsItemsCountQuery,
|
|
672
|
+
GetMenuV3DraftCategoryRelationshipsItemsCountResponse,
|
|
673
|
+
PostMenuV3DraftItemBody,
|
|
674
|
+
PostMenuV3DraftItemResponse,
|
|
675
|
+
GetMenuV3DraftItemQuery,
|
|
676
|
+
GetMenuV3DraftItemResponse,
|
|
677
|
+
PatchMenuV3DraftItemBody,
|
|
678
|
+
PatchMenuV3DraftItemResponse,
|
|
679
|
+
DeleteMenuV3DraftItemResponse,
|
|
680
|
+
GetMenuV3DraftItemsQuery,
|
|
681
|
+
GetMenuV3DraftItemsResponse,
|
|
682
|
+
PostMenuV3DraftItemsBody,
|
|
683
|
+
PostMenuV3DraftItemsResponse,
|
|
684
|
+
GetMenuV3DraftItemsCountQuery,
|
|
685
|
+
GetMenuV3DraftItemsCountResponse,
|
|
686
|
+
PostMenuV3DraftItemRelationshipsModifierGroupBody,
|
|
687
|
+
PostMenuV3DraftItemRelationshipsModifierGroupResponse,
|
|
688
|
+
GetMenuV3DraftItemRelationshipsModifierGroupQuery,
|
|
689
|
+
GetMenuV3DraftItemRelationshipsModifierGroupResponse,
|
|
690
|
+
PatchMenuV3DraftItemRelationshipsModifierGroupBody,
|
|
691
|
+
PatchMenuV3DraftItemRelationshipsModifierGroupResponse,
|
|
692
|
+
DeleteMenuV3DraftItemRelationshipsModifierGroupResponse,
|
|
693
|
+
GetMenuV3DraftItemRelationshipsModifierGroupsQuery,
|
|
694
|
+
GetMenuV3DraftItemRelationshipsModifierGroupsResponse,
|
|
695
|
+
PostMenuV3DraftItemRelationshipsModifierGroupsBody,
|
|
696
|
+
PostMenuV3DraftItemRelationshipsModifierGroupsResponse,
|
|
697
|
+
GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery,
|
|
698
|
+
GetMenuV3DraftItemRelationshipsModifierGroupsCountResponse,
|
|
699
|
+
PostMenuV3DraftModifierGroupBody,
|
|
700
|
+
PostMenuV3DraftModifierGroupResponse,
|
|
701
|
+
GetMenuV3DraftModifierGroupQuery,
|
|
702
|
+
GetMenuV3DraftModifierGroupResponse,
|
|
703
|
+
PatchMenuV3DraftModifierGroupBody,
|
|
704
|
+
PatchMenuV3DraftModifierGroupResponse,
|
|
705
|
+
DeleteMenuV3DraftModifierGroupResponse,
|
|
706
|
+
GetMenuV3DraftModifierGroupsQuery,
|
|
707
|
+
GetMenuV3DraftModifierGroupsResponse,
|
|
708
|
+
PostMenuV3DraftModifierGroupsBody,
|
|
709
|
+
PostMenuV3DraftModifierGroupsResponse,
|
|
710
|
+
GetMenuV3DraftModifierGroupsCountQuery,
|
|
711
|
+
GetMenuV3DraftModifierGroupsCountResponse,
|
|
712
|
+
PostMenuV3DraftModifierGroupRelationshipsModifierBody,
|
|
713
|
+
PostMenuV3DraftModifierGroupRelationshipsModifierResponse,
|
|
714
|
+
GetMenuV3DraftModifierGroupRelationshipsModifierQuery,
|
|
715
|
+
GetMenuV3DraftModifierGroupRelationshipsModifierResponse,
|
|
716
|
+
PatchMenuV3DraftModifierGroupRelationshipsModifierBody,
|
|
717
|
+
PatchMenuV3DraftModifierGroupRelationshipsModifierResponse,
|
|
718
|
+
DeleteMenuV3DraftModifierGroupRelationshipsModifierResponse,
|
|
719
|
+
GetMenuV3DraftModifierGroupRelationshipsModifiersQuery,
|
|
720
|
+
GetMenuV3DraftModifierGroupRelationshipsModifiersResponse,
|
|
721
|
+
PostMenuV3DraftModifierGroupRelationshipsModifiersBody,
|
|
722
|
+
PostMenuV3DraftModifierGroupRelationshipsModifiersResponse,
|
|
723
|
+
GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery,
|
|
724
|
+
GetMenuV3DraftModifierGroupRelationshipsModifiersCountResponse,
|
|
725
|
+
PostMenuV3DraftModifierBody,
|
|
726
|
+
PostMenuV3DraftModifierResponse,
|
|
727
|
+
GetMenuV3DraftModifierQuery,
|
|
728
|
+
GetMenuV3DraftModifierResponse,
|
|
729
|
+
PatchMenuV3DraftModifierBody,
|
|
730
|
+
PatchMenuV3DraftModifierResponse,
|
|
731
|
+
DeleteMenuV3DraftModifierResponse,
|
|
732
|
+
GetMenuV3DraftModifiersQuery,
|
|
733
|
+
GetMenuV3DraftModifiersResponse,
|
|
734
|
+
PostMenuV3DraftModifiersBody,
|
|
735
|
+
PostMenuV3DraftModifiersResponse,
|
|
736
|
+
GetMenuV3DraftModifiersCountQuery,
|
|
737
|
+
GetMenuV3DraftModifiersCountResponse,
|
|
738
|
+
PostMenuV3DraftBrandBody,
|
|
739
|
+
PostMenuV3DraftBrandResponse,
|
|
740
|
+
GetMenuV3DraftBrandQuery,
|
|
741
|
+
GetMenuV3DraftBrandResponse,
|
|
742
|
+
PatchMenuV3DraftBrandBody,
|
|
743
|
+
PatchMenuV3DraftBrandResponse,
|
|
744
|
+
DeleteMenuV3DraftBrandResponse,
|
|
745
|
+
GetMenuV3DraftBrandsQuery,
|
|
746
|
+
GetMenuV3DraftBrandsResponse,
|
|
747
|
+
PostMenuV3DraftBrandsBody,
|
|
748
|
+
PostMenuV3DraftBrandsResponse,
|
|
749
|
+
GetMenuV3DraftBrandsCountQuery,
|
|
750
|
+
GetMenuV3DraftBrandsCountResponse,
|
|
751
|
+
GetMenuV3DraftBrandModifiersQuery,
|
|
752
|
+
GetMenuV3DraftBrandModifiersResponse,
|
|
753
|
+
GetMenuV3DraftBrandModifierGroupsQuery,
|
|
754
|
+
GetMenuV3DraftBrandModifierGroupsResponse,
|
|
755
|
+
GetMenuV3DraftBrandItemsQuery,
|
|
756
|
+
GetMenuV3DraftBrandItemsResponse,
|
|
757
|
+
PostMenuV3DraftBrandPublishResponse,
|
|
758
|
+
PostMenuV3DraftStationBody,
|
|
759
|
+
PostMenuV3DraftStationResponse,
|
|
760
|
+
GetMenuV3DraftStationQuery,
|
|
761
|
+
GetMenuV3DraftStationResponse,
|
|
762
|
+
PatchMenuV3DraftStationBody,
|
|
763
|
+
PatchMenuV3DraftStationResponse,
|
|
764
|
+
DeleteMenuV3DraftStationResponse,
|
|
765
|
+
GetMenuV3DraftStationsQuery,
|
|
766
|
+
GetMenuV3DraftStationsResponse,
|
|
767
|
+
PostMenuV3DraftStationsBody,
|
|
768
|
+
PostMenuV3DraftStationsResponse,
|
|
769
|
+
GetMenuV3DraftStationsCountQuery,
|
|
770
|
+
GetMenuV3DraftStationsCountResponse,
|
|
771
|
+
GetMenuV3DraftStationModifiersQuery,
|
|
772
|
+
GetMenuV3DraftStationModifiersResponse,
|
|
773
|
+
GetMenuV3DraftStationModifierGroupsQuery,
|
|
774
|
+
GetMenuV3DraftStationModifierGroupsResponse,
|
|
775
|
+
GetMenuV3DraftStationItemsQuery,
|
|
776
|
+
GetMenuV3DraftStationItemsResponse,
|
|
777
|
+
GetMenuV3DraftSiteLayoutsQuery,
|
|
778
|
+
GetMenuV3DraftSiteLayoutsResponse,
|
|
779
|
+
GetMenuV3CategorysCountQuery,
|
|
780
|
+
GetMenuV3CategorysCountResponse,
|
|
781
|
+
PostMenuV3BrandLocalResponse,
|
|
669
782
|
} from "./interface/menu";
|
|
670
783
|
|
|
671
784
|
import {
|
|
@@ -851,8 +964,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
851
964
|
*/
|
|
852
965
|
get_payment_clienttoken(
|
|
853
966
|
id: string,
|
|
854
|
-
options
|
|
855
|
-
query
|
|
967
|
+
options: {
|
|
968
|
+
query: GetPaymentClienttokenQuery;
|
|
856
969
|
} & RequestOptions
|
|
857
970
|
): ResponsePromise<GetPaymentClienttokenResponse> {
|
|
858
971
|
return this.request(
|
|
@@ -1030,66 +1143,66 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1030
1143
|
}
|
|
1031
1144
|
|
|
1032
1145
|
/**
|
|
1033
|
-
* GET /payment/{id}/
|
|
1146
|
+
* GET /payment/{id}/cashless
|
|
1034
1147
|
*
|
|
1035
1148
|
* @param id - TODO: add parameter to swagger.json
|
|
1036
1149
|
* @param options - additional request options
|
|
1037
1150
|
*/
|
|
1038
|
-
|
|
1151
|
+
get_payment_cashless(
|
|
1039
1152
|
id: string,
|
|
1040
1153
|
options?: {
|
|
1041
|
-
query?:
|
|
1154
|
+
query?: GetPaymentCashlessQuery;
|
|
1042
1155
|
} & RequestOptions
|
|
1043
|
-
): ResponsePromise<
|
|
1156
|
+
): ResponsePromise<GetPaymentCashlessResponse> {
|
|
1044
1157
|
return this.request(
|
|
1045
1158
|
"payment",
|
|
1046
|
-
"
|
|
1159
|
+
"get_payment_cashless",
|
|
1047
1160
|
"get",
|
|
1048
|
-
`/payment/${id}/
|
|
1161
|
+
`/payment/${id}/cashless`,
|
|
1049
1162
|
null,
|
|
1050
1163
|
options
|
|
1051
1164
|
);
|
|
1052
1165
|
}
|
|
1053
1166
|
|
|
1054
1167
|
/**
|
|
1055
|
-
* POST /payment/{id}/
|
|
1168
|
+
* POST /payment/{id}/cashless
|
|
1056
1169
|
*
|
|
1057
1170
|
* @param id - TODO: add parameter to swagger.json
|
|
1058
1171
|
* @param body
|
|
1059
1172
|
* @param options - additional request options
|
|
1060
1173
|
*/
|
|
1061
|
-
|
|
1174
|
+
post_payment_cashless(
|
|
1062
1175
|
id: string,
|
|
1063
|
-
body:
|
|
1176
|
+
body: PostPaymentCashlessBody,
|
|
1064
1177
|
options?: RequestOptions
|
|
1065
|
-
): ResponsePromise<
|
|
1178
|
+
): ResponsePromise<PostPaymentCashlessResponse> {
|
|
1066
1179
|
return this.request(
|
|
1067
1180
|
"payment",
|
|
1068
|
-
"
|
|
1181
|
+
"post_payment_cashless",
|
|
1069
1182
|
"post",
|
|
1070
|
-
`/payment/${id}/
|
|
1183
|
+
`/payment/${id}/cashless`,
|
|
1071
1184
|
body,
|
|
1072
1185
|
options
|
|
1073
1186
|
);
|
|
1074
1187
|
}
|
|
1075
1188
|
|
|
1076
1189
|
/**
|
|
1077
|
-
* DELETE /payment/{id}/
|
|
1190
|
+
* DELETE /payment/{id}/cashless
|
|
1078
1191
|
*
|
|
1079
1192
|
* @param id - TODO: add parameter to swagger.json
|
|
1080
1193
|
* @param body
|
|
1081
1194
|
* @param options - additional request options
|
|
1082
1195
|
*/
|
|
1083
|
-
|
|
1196
|
+
delete_payment_cashless(
|
|
1084
1197
|
id: string,
|
|
1085
|
-
body:
|
|
1198
|
+
body: DeletePaymentCashlessBody,
|
|
1086
1199
|
options?: RequestOptions
|
|
1087
|
-
): ResponsePromise<
|
|
1200
|
+
): ResponsePromise<DeletePaymentCashlessResponse> {
|
|
1088
1201
|
return this.request(
|
|
1089
1202
|
"payment",
|
|
1090
|
-
"
|
|
1203
|
+
"delete_payment_cashless",
|
|
1091
1204
|
"delete",
|
|
1092
|
-
`/payment/${id}/
|
|
1205
|
+
`/payment/${id}/cashless`,
|
|
1093
1206
|
body,
|
|
1094
1207
|
options
|
|
1095
1208
|
);
|
|
@@ -2862,6 +2975,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2862
2975
|
);
|
|
2863
2976
|
}
|
|
2864
2977
|
|
|
2978
|
+
/**
|
|
2979
|
+
* POST /partner/{id}/menu - Create a Partner menu from files(only xls for now)
|
|
2980
|
+
*
|
|
2981
|
+
* @param id - partner
|
|
2982
|
+
* @param body
|
|
2983
|
+
* @param options - additional request options
|
|
2984
|
+
*/
|
|
2985
|
+
post_partner_menu(
|
|
2986
|
+
id: string,
|
|
2987
|
+
body: PostPartnerMenuBody,
|
|
2988
|
+
options?: RequestOptions
|
|
2989
|
+
): ResponsePromise<PostPartnerMenuResponse> {
|
|
2990
|
+
return this.request(
|
|
2991
|
+
"partner",
|
|
2992
|
+
"post_partner_menu",
|
|
2993
|
+
"post",
|
|
2994
|
+
`/partner/${id}/menu`,
|
|
2995
|
+
body,
|
|
2996
|
+
options
|
|
2997
|
+
);
|
|
2998
|
+
}
|
|
2999
|
+
|
|
2865
3000
|
/**
|
|
2866
3001
|
* POST /email - Send an email
|
|
2867
3002
|
*
|
|
@@ -4100,6 +4235,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4100
4235
|
);
|
|
4101
4236
|
}
|
|
4102
4237
|
|
|
4238
|
+
/**
|
|
4239
|
+
* GET /report/eod/group/{id}/items - Get items sales report for selected location group
|
|
4240
|
+
*
|
|
4241
|
+
* @param id
|
|
4242
|
+
* @param options - additional request options
|
|
4243
|
+
*/
|
|
4244
|
+
get_report_eod_group_items(
|
|
4245
|
+
id: string,
|
|
4246
|
+
options: {
|
|
4247
|
+
query: GetReportEodGroupItemsQuery;
|
|
4248
|
+
} & RequestOptions
|
|
4249
|
+
): ResponsePromise<GetReportEodGroupItemsResponse> {
|
|
4250
|
+
return this.request(
|
|
4251
|
+
"report",
|
|
4252
|
+
"get_report_eod_group_items",
|
|
4253
|
+
"get",
|
|
4254
|
+
`/report/eod/group/${id}/items`,
|
|
4255
|
+
null,
|
|
4256
|
+
options
|
|
4257
|
+
);
|
|
4258
|
+
}
|
|
4259
|
+
|
|
4103
4260
|
/**
|
|
4104
4261
|
* GET /user/auth - Gets the JWT token for a user
|
|
4105
4262
|
*
|
|
@@ -4799,26 +4956,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4799
4956
|
);
|
|
4800
4957
|
}
|
|
4801
4958
|
|
|
4802
|
-
/**
|
|
4803
|
-
* POST /menu/v3/modifiers
|
|
4804
|
-
*
|
|
4805
|
-
* @param body
|
|
4806
|
-
* @param options - additional request options
|
|
4807
|
-
*/
|
|
4808
|
-
post_menu_v3_modifiers(
|
|
4809
|
-
body: PostMenuV3ModifiersBody,
|
|
4810
|
-
options?: RequestOptions
|
|
4811
|
-
): ResponsePromise<PostMenuV3ModifiersResponse> {
|
|
4812
|
-
return this.request(
|
|
4813
|
-
"menu",
|
|
4814
|
-
"post_menu_v3_modifiers",
|
|
4815
|
-
"post",
|
|
4816
|
-
`/menu/v3/modifiers`,
|
|
4817
|
-
body,
|
|
4818
|
-
options
|
|
4819
|
-
);
|
|
4820
|
-
}
|
|
4821
|
-
|
|
4822
4959
|
/**
|
|
4823
4960
|
* GET /menu/v3/modifier/{id}
|
|
4824
4961
|
*
|
|
@@ -4841,48 +4978,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4841
4978
|
);
|
|
4842
4979
|
}
|
|
4843
4980
|
|
|
4844
|
-
/**
|
|
4845
|
-
* PATCH /menu/v3/modifier/{id}
|
|
4846
|
-
*
|
|
4847
|
-
* @param id
|
|
4848
|
-
* @param body - A partially populated ModifierEntity
|
|
4849
|
-
* @param options - additional request options
|
|
4850
|
-
*/
|
|
4851
|
-
patch_menu_v3_modifier(
|
|
4852
|
-
id: string,
|
|
4853
|
-
body: PatchMenuV3ModifierBody,
|
|
4854
|
-
options?: RequestOptions
|
|
4855
|
-
): ResponsePromise<PatchMenuV3ModifierResponse> {
|
|
4856
|
-
return this.request(
|
|
4857
|
-
"menu",
|
|
4858
|
-
"patch_menu_v3_modifier",
|
|
4859
|
-
"patch",
|
|
4860
|
-
`/menu/v3/modifier/${id}`,
|
|
4861
|
-
body,
|
|
4862
|
-
options
|
|
4863
|
-
);
|
|
4864
|
-
}
|
|
4865
|
-
|
|
4866
|
-
/**
|
|
4867
|
-
* DELETE /menu/v3/modifier/{id}
|
|
4868
|
-
*
|
|
4869
|
-
* @param id
|
|
4870
|
-
* @param options - additional request options
|
|
4871
|
-
*/
|
|
4872
|
-
delete_menu_v3_modifier(
|
|
4873
|
-
id: string,
|
|
4874
|
-
options?: RequestOptions
|
|
4875
|
-
): ResponsePromise<DeleteMenuV3ModifierResponse> {
|
|
4876
|
-
return this.request(
|
|
4877
|
-
"menu",
|
|
4878
|
-
"delete_menu_v3_modifier",
|
|
4879
|
-
"delete",
|
|
4880
|
-
`/menu/v3/modifier/${id}`,
|
|
4881
|
-
null,
|
|
4882
|
-
options
|
|
4883
|
-
);
|
|
4884
|
-
}
|
|
4885
|
-
|
|
4886
4981
|
/**
|
|
4887
4982
|
* POST /menu/v3/modifier
|
|
4888
4983
|
*
|
|
@@ -4943,26 +5038,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4943
5038
|
);
|
|
4944
5039
|
}
|
|
4945
5040
|
|
|
4946
|
-
/**
|
|
4947
|
-
* POST /menu/v3/modifier-groups
|
|
4948
|
-
*
|
|
4949
|
-
* @param body
|
|
4950
|
-
* @param options - additional request options
|
|
4951
|
-
*/
|
|
4952
|
-
post_menu_v3_modifier_groups(
|
|
4953
|
-
body: PostMenuV3ModifierGroupsBody,
|
|
4954
|
-
options?: RequestOptions
|
|
4955
|
-
): ResponsePromise<PostMenuV3ModifierGroupsResponse> {
|
|
4956
|
-
return this.request(
|
|
4957
|
-
"menu",
|
|
4958
|
-
"post_menu_v3_modifier_groups",
|
|
4959
|
-
"post",
|
|
4960
|
-
`/menu/v3/modifier-groups`,
|
|
4961
|
-
body,
|
|
4962
|
-
options
|
|
4963
|
-
);
|
|
4964
|
-
}
|
|
4965
|
-
|
|
4966
5041
|
/**
|
|
4967
5042
|
* POST /menu/v3/modifier-group
|
|
4968
5043
|
*
|
|
@@ -5005,48 +5080,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5005
5080
|
);
|
|
5006
5081
|
}
|
|
5007
5082
|
|
|
5008
|
-
/**
|
|
5009
|
-
* PATCH /menu/v3/modifier-group/{id}
|
|
5010
|
-
*
|
|
5011
|
-
* @param id
|
|
5012
|
-
* @param body - A partially populated ModifierGroupEntity
|
|
5013
|
-
* @param options - additional request options
|
|
5014
|
-
*/
|
|
5015
|
-
patch_menu_v3_modifier_group(
|
|
5016
|
-
id: string,
|
|
5017
|
-
body: PatchMenuV3ModifierGroupBody,
|
|
5018
|
-
options?: RequestOptions
|
|
5019
|
-
): ResponsePromise<PatchMenuV3ModifierGroupResponse> {
|
|
5020
|
-
return this.request(
|
|
5021
|
-
"menu",
|
|
5022
|
-
"patch_menu_v3_modifier_group",
|
|
5023
|
-
"patch",
|
|
5024
|
-
`/menu/v3/modifier-group/${id}`,
|
|
5025
|
-
body,
|
|
5026
|
-
options
|
|
5027
|
-
);
|
|
5028
|
-
}
|
|
5029
|
-
|
|
5030
|
-
/**
|
|
5031
|
-
* DELETE /menu/v3/modifier-group/{id}
|
|
5032
|
-
*
|
|
5033
|
-
* @param id
|
|
5034
|
-
* @param options - additional request options
|
|
5035
|
-
*/
|
|
5036
|
-
delete_menu_v3_modifier_group(
|
|
5037
|
-
id: string,
|
|
5038
|
-
options?: RequestOptions
|
|
5039
|
-
): ResponsePromise<DeleteMenuV3ModifierGroupResponse> {
|
|
5040
|
-
return this.request(
|
|
5041
|
-
"menu",
|
|
5042
|
-
"delete_menu_v3_modifier_group",
|
|
5043
|
-
"delete",
|
|
5044
|
-
`/menu/v3/modifier-group/${id}`,
|
|
5045
|
-
null,
|
|
5046
|
-
options
|
|
5047
|
-
);
|
|
5048
|
-
}
|
|
5049
|
-
|
|
5050
5083
|
/**
|
|
5051
5084
|
* GET /menu/v3/modifier-group/count
|
|
5052
5085
|
*
|
|
@@ -5087,26 +5120,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5087
5120
|
);
|
|
5088
5121
|
}
|
|
5089
5122
|
|
|
5090
|
-
/**
|
|
5091
|
-
* POST /menu/v3/modifier-group/relationships/modifiers
|
|
5092
|
-
*
|
|
5093
|
-
* @param body
|
|
5094
|
-
* @param options - additional request options
|
|
5095
|
-
*/
|
|
5096
|
-
post_menu_v3_modifier_group_relationships_modifiers(
|
|
5097
|
-
body: PostMenuV3ModifierGroupRelationshipsModifiersBody,
|
|
5098
|
-
options?: RequestOptions
|
|
5099
|
-
): ResponsePromise<PostMenuV3ModifierGroupRelationshipsModifiersResponse> {
|
|
5100
|
-
return this.request(
|
|
5101
|
-
"menu",
|
|
5102
|
-
"post_menu_v3_modifier_group_relationships_modifiers",
|
|
5103
|
-
"post",
|
|
5104
|
-
`/menu/v3/modifier-group/relationships/modifiers`,
|
|
5105
|
-
body,
|
|
5106
|
-
options
|
|
5107
|
-
);
|
|
5108
|
-
}
|
|
5109
|
-
|
|
5110
5123
|
/**
|
|
5111
5124
|
* POST /menu/v3/modifier-group/relationships/modifier
|
|
5112
5125
|
*
|
|
@@ -5149,48 +5162,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5149
5162
|
);
|
|
5150
5163
|
}
|
|
5151
5164
|
|
|
5152
|
-
/**
|
|
5153
|
-
* PATCH /menu/v3/modifier-group/relationships/modifier/{id}
|
|
5154
|
-
*
|
|
5155
|
-
* @param id
|
|
5156
|
-
* @param body - A partially populated ModifierGroupToModifierRelationship
|
|
5157
|
-
* @param options - additional request options
|
|
5158
|
-
*/
|
|
5159
|
-
patch_menu_v3_modifier_group_relationships_modifier(
|
|
5160
|
-
id: string,
|
|
5161
|
-
body: PatchMenuV3ModifierGroupRelationshipsModifierBody,
|
|
5162
|
-
options?: RequestOptions
|
|
5163
|
-
): ResponsePromise<PatchMenuV3ModifierGroupRelationshipsModifierResponse> {
|
|
5164
|
-
return this.request(
|
|
5165
|
-
"menu",
|
|
5166
|
-
"patch_menu_v3_modifier_group_relationships_modifier",
|
|
5167
|
-
"patch",
|
|
5168
|
-
`/menu/v3/modifier-group/relationships/modifier/${id}`,
|
|
5169
|
-
body,
|
|
5170
|
-
options
|
|
5171
|
-
);
|
|
5172
|
-
}
|
|
5173
|
-
|
|
5174
|
-
/**
|
|
5175
|
-
* DELETE /menu/v3/modifier-group/relationships/modifier/{id}
|
|
5176
|
-
*
|
|
5177
|
-
* @param id
|
|
5178
|
-
* @param options - additional request options
|
|
5179
|
-
*/
|
|
5180
|
-
delete_menu_v3_modifier_group_relationships_modifier(
|
|
5181
|
-
id: string,
|
|
5182
|
-
options?: RequestOptions
|
|
5183
|
-
): ResponsePromise<DeleteMenuV3ModifierGroupRelationshipsModifierResponse> {
|
|
5184
|
-
return this.request(
|
|
5185
|
-
"menu",
|
|
5186
|
-
"delete_menu_v3_modifier_group_relationships_modifier",
|
|
5187
|
-
"delete",
|
|
5188
|
-
`/menu/v3/modifier-group/relationships/modifier/${id}`,
|
|
5189
|
-
null,
|
|
5190
|
-
options
|
|
5191
|
-
);
|
|
5192
|
-
}
|
|
5193
|
-
|
|
5194
5165
|
/**
|
|
5195
5166
|
* GET /menu/v3/items
|
|
5196
5167
|
*
|
|
@@ -5204,19 +5175,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5204
5175
|
return this.request("menu", "get_menu_v3_items", "get", `/menu/v3/items`, null, options);
|
|
5205
5176
|
}
|
|
5206
5177
|
|
|
5207
|
-
/**
|
|
5208
|
-
* POST /menu/v3/items
|
|
5209
|
-
*
|
|
5210
|
-
* @param body
|
|
5211
|
-
* @param options - additional request options
|
|
5212
|
-
*/
|
|
5213
|
-
post_menu_v3_items(
|
|
5214
|
-
body: PostMenuV3ItemsBody,
|
|
5215
|
-
options?: RequestOptions
|
|
5216
|
-
): ResponsePromise<PostMenuV3ItemsResponse> {
|
|
5217
|
-
return this.request("menu", "post_menu_v3_items", "post", `/menu/v3/items`, body, options);
|
|
5218
|
-
}
|
|
5219
|
-
|
|
5220
5178
|
/**
|
|
5221
5179
|
* GET /menu/v3/item/{id}
|
|
5222
5180
|
*
|
|
@@ -5232,48 +5190,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5232
5190
|
return this.request("menu", "get_menu_v3_item", "get", `/menu/v3/item/${id}`, null, options);
|
|
5233
5191
|
}
|
|
5234
5192
|
|
|
5235
|
-
/**
|
|
5236
|
-
* PATCH /menu/v3/item/{id}
|
|
5237
|
-
*
|
|
5238
|
-
* @param id
|
|
5239
|
-
* @param body - A partially populated ItemEntity
|
|
5240
|
-
* @param options - additional request options
|
|
5241
|
-
*/
|
|
5242
|
-
patch_menu_v3_item(
|
|
5243
|
-
id: string,
|
|
5244
|
-
body: PatchMenuV3ItemBody,
|
|
5245
|
-
options?: RequestOptions
|
|
5246
|
-
): ResponsePromise<PatchMenuV3ItemResponse> {
|
|
5247
|
-
return this.request(
|
|
5248
|
-
"menu",
|
|
5249
|
-
"patch_menu_v3_item",
|
|
5250
|
-
"patch",
|
|
5251
|
-
`/menu/v3/item/${id}`,
|
|
5252
|
-
body,
|
|
5253
|
-
options
|
|
5254
|
-
);
|
|
5255
|
-
}
|
|
5256
|
-
|
|
5257
|
-
/**
|
|
5258
|
-
* DELETE /menu/v3/item/{id}
|
|
5259
|
-
*
|
|
5260
|
-
* @param id
|
|
5261
|
-
* @param options - additional request options
|
|
5262
|
-
*/
|
|
5263
|
-
delete_menu_v3_item(
|
|
5264
|
-
id: string,
|
|
5265
|
-
options?: RequestOptions
|
|
5266
|
-
): ResponsePromise<DeleteMenuV3ItemResponse> {
|
|
5267
|
-
return this.request(
|
|
5268
|
-
"menu",
|
|
5269
|
-
"delete_menu_v3_item",
|
|
5270
|
-
"delete",
|
|
5271
|
-
`/menu/v3/item/${id}`,
|
|
5272
|
-
null,
|
|
5273
|
-
options
|
|
5274
|
-
);
|
|
5275
|
-
}
|
|
5276
|
-
|
|
5277
5193
|
/**
|
|
5278
5194
|
* POST /menu/v3/item
|
|
5279
5195
|
*
|
|
@@ -5327,26 +5243,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5327
5243
|
);
|
|
5328
5244
|
}
|
|
5329
5245
|
|
|
5330
|
-
/**
|
|
5331
|
-
* POST /menu/v3/item/relationships/modifier-groups
|
|
5332
|
-
*
|
|
5333
|
-
* @param body
|
|
5334
|
-
* @param options - additional request options
|
|
5335
|
-
*/
|
|
5336
|
-
post_menu_v3_item_relationships_modifier_groups(
|
|
5337
|
-
body: PostMenuV3ItemRelationshipsModifierGroupsBody,
|
|
5338
|
-
options?: RequestOptions
|
|
5339
|
-
): ResponsePromise<PostMenuV3ItemRelationshipsModifierGroupsResponse> {
|
|
5340
|
-
return this.request(
|
|
5341
|
-
"menu",
|
|
5342
|
-
"post_menu_v3_item_relationships_modifier_groups",
|
|
5343
|
-
"post",
|
|
5344
|
-
`/menu/v3/item/relationships/modifier-groups`,
|
|
5345
|
-
body,
|
|
5346
|
-
options
|
|
5347
|
-
);
|
|
5348
|
-
}
|
|
5349
|
-
|
|
5350
5246
|
/**
|
|
5351
5247
|
* POST /menu/v3/item/relationships/modifier-group
|
|
5352
5248
|
*
|
|
@@ -5390,90 +5286,35 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5390
5286
|
}
|
|
5391
5287
|
|
|
5392
5288
|
/**
|
|
5393
|
-
*
|
|
5289
|
+
* GET /menu/v3/layouts
|
|
5394
5290
|
*
|
|
5395
|
-
* @param id
|
|
5396
|
-
* @param body - A partially populated ItemToModifierGroupRelationship
|
|
5397
5291
|
* @param options - additional request options
|
|
5398
5292
|
*/
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
): ResponsePromise<
|
|
5404
|
-
return this.request(
|
|
5405
|
-
"menu",
|
|
5406
|
-
"patch_menu_v3_item_relationships_modifier_group",
|
|
5407
|
-
"patch",
|
|
5408
|
-
`/menu/v3/item/relationships/modifier-group/${id}`,
|
|
5409
|
-
body,
|
|
5410
|
-
options
|
|
5411
|
-
);
|
|
5293
|
+
get_menu_v3_layouts(
|
|
5294
|
+
options?: {
|
|
5295
|
+
query?: GetMenuV3LayoutsQuery;
|
|
5296
|
+
} & RequestOptions
|
|
5297
|
+
): ResponsePromise<GetMenuV3LayoutsResponse> {
|
|
5298
|
+
return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
|
|
5412
5299
|
}
|
|
5413
5300
|
|
|
5414
5301
|
/**
|
|
5415
|
-
*
|
|
5302
|
+
* GET /menu/v3/layout/{id}/categories
|
|
5416
5303
|
*
|
|
5417
5304
|
* @param id
|
|
5418
5305
|
* @param options - additional request options
|
|
5419
5306
|
*/
|
|
5420
|
-
|
|
5307
|
+
get_menu_v3_layout_categories(
|
|
5421
5308
|
id: string,
|
|
5422
|
-
options?:
|
|
5423
|
-
|
|
5309
|
+
options?: {
|
|
5310
|
+
query?: GetMenuV3LayoutCategoriesQuery;
|
|
5311
|
+
} & RequestOptions
|
|
5312
|
+
): ResponsePromise<GetMenuV3LayoutCategoriesResponse> {
|
|
5424
5313
|
return this.request(
|
|
5425
5314
|
"menu",
|
|
5426
|
-
"
|
|
5427
|
-
"
|
|
5428
|
-
`/menu/v3/
|
|
5429
|
-
null,
|
|
5430
|
-
options
|
|
5431
|
-
);
|
|
5432
|
-
}
|
|
5433
|
-
|
|
5434
|
-
/**
|
|
5435
|
-
* GET /menu/v3/layouts
|
|
5436
|
-
*
|
|
5437
|
-
* @param options - additional request options
|
|
5438
|
-
*/
|
|
5439
|
-
get_menu_v3_layouts(
|
|
5440
|
-
options?: {
|
|
5441
|
-
query?: GetMenuV3LayoutsQuery;
|
|
5442
|
-
} & RequestOptions
|
|
5443
|
-
): ResponsePromise<GetMenuV3LayoutsResponse> {
|
|
5444
|
-
return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
|
|
5445
|
-
}
|
|
5446
|
-
|
|
5447
|
-
/**
|
|
5448
|
-
* POST /menu/v3/layouts
|
|
5449
|
-
*
|
|
5450
|
-
* @param body
|
|
5451
|
-
* @param options - additional request options
|
|
5452
|
-
*/
|
|
5453
|
-
post_menu_v3_layouts(
|
|
5454
|
-
body: PostMenuV3LayoutsBody,
|
|
5455
|
-
options?: RequestOptions
|
|
5456
|
-
): ResponsePromise<PostMenuV3LayoutsResponse> {
|
|
5457
|
-
return this.request("menu", "post_menu_v3_layouts", "post", `/menu/v3/layouts`, body, options);
|
|
5458
|
-
}
|
|
5459
|
-
|
|
5460
|
-
/**
|
|
5461
|
-
* GET /menu/v3/layout/{id}/categories
|
|
5462
|
-
*
|
|
5463
|
-
* @param id
|
|
5464
|
-
* @param options - additional request options
|
|
5465
|
-
*/
|
|
5466
|
-
get_menu_v3_layout_categories(
|
|
5467
|
-
id: string,
|
|
5468
|
-
options?: {
|
|
5469
|
-
query?: GetMenuV3LayoutCategoriesQuery;
|
|
5470
|
-
} & RequestOptions
|
|
5471
|
-
): ResponsePromise<GetMenuV3LayoutCategoriesResponse> {
|
|
5472
|
-
return this.request(
|
|
5473
|
-
"menu",
|
|
5474
|
-
"get_menu_v3_layout_categories",
|
|
5475
|
-
"get",
|
|
5476
|
-
`/menu/v3/layout/${id}/categories`,
|
|
5315
|
+
"get_menu_v3_layout_categories",
|
|
5316
|
+
"get",
|
|
5317
|
+
`/menu/v3/layout/${id}/categories`,
|
|
5477
5318
|
null,
|
|
5478
5319
|
options
|
|
5479
5320
|
);
|
|
@@ -5501,48 +5342,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5501
5342
|
);
|
|
5502
5343
|
}
|
|
5503
5344
|
|
|
5504
|
-
/**
|
|
5505
|
-
* PATCH /menu/v3/layout/{id}
|
|
5506
|
-
*
|
|
5507
|
-
* @param id
|
|
5508
|
-
* @param body - A partially populated LayoutEntity
|
|
5509
|
-
* @param options - additional request options
|
|
5510
|
-
*/
|
|
5511
|
-
patch_menu_v3_layout(
|
|
5512
|
-
id: string,
|
|
5513
|
-
body: PatchMenuV3LayoutBody,
|
|
5514
|
-
options?: RequestOptions
|
|
5515
|
-
): ResponsePromise<PatchMenuV3LayoutResponse> {
|
|
5516
|
-
return this.request(
|
|
5517
|
-
"menu",
|
|
5518
|
-
"patch_menu_v3_layout",
|
|
5519
|
-
"patch",
|
|
5520
|
-
`/menu/v3/layout/${id}`,
|
|
5521
|
-
body,
|
|
5522
|
-
options
|
|
5523
|
-
);
|
|
5524
|
-
}
|
|
5525
|
-
|
|
5526
|
-
/**
|
|
5527
|
-
* DELETE /menu/v3/layout/{id}
|
|
5528
|
-
*
|
|
5529
|
-
* @param id
|
|
5530
|
-
* @param options - additional request options
|
|
5531
|
-
*/
|
|
5532
|
-
delete_menu_v3_layout(
|
|
5533
|
-
id: string,
|
|
5534
|
-
options?: RequestOptions
|
|
5535
|
-
): ResponsePromise<DeleteMenuV3LayoutResponse> {
|
|
5536
|
-
return this.request(
|
|
5537
|
-
"menu",
|
|
5538
|
-
"delete_menu_v3_layout",
|
|
5539
|
-
"delete",
|
|
5540
|
-
`/menu/v3/layout/${id}`,
|
|
5541
|
-
null,
|
|
5542
|
-
options
|
|
5543
|
-
);
|
|
5544
|
-
}
|
|
5545
|
-
|
|
5546
5345
|
/**
|
|
5547
5346
|
* POST /menu/v3/layout
|
|
5548
5347
|
*
|
|
@@ -5576,26 +5375,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5576
5375
|
);
|
|
5577
5376
|
}
|
|
5578
5377
|
|
|
5579
|
-
/**
|
|
5580
|
-
* GET /menu/v3/categories
|
|
5581
|
-
*
|
|
5582
|
-
* @param options - additional request options
|
|
5583
|
-
*/
|
|
5584
|
-
get_menu_v3_categories(
|
|
5585
|
-
options?: {
|
|
5586
|
-
query?: GetMenuV3CategoriesQuery;
|
|
5587
|
-
} & RequestOptions
|
|
5588
|
-
): ResponsePromise<GetMenuV3CategoriesResponse> {
|
|
5589
|
-
return this.request(
|
|
5590
|
-
"menu",
|
|
5591
|
-
"get_menu_v3_categories",
|
|
5592
|
-
"get",
|
|
5593
|
-
`/menu/v3/categories`,
|
|
5594
|
-
null,
|
|
5595
|
-
options
|
|
5596
|
-
);
|
|
5597
|
-
}
|
|
5598
|
-
|
|
5599
5378
|
/**
|
|
5600
5379
|
* GET /menu/v3/category/{id}
|
|
5601
5380
|
*
|
|
@@ -5618,48 +5397,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5618
5397
|
);
|
|
5619
5398
|
}
|
|
5620
5399
|
|
|
5621
|
-
/**
|
|
5622
|
-
* PATCH /menu/v3/category/{id}
|
|
5623
|
-
*
|
|
5624
|
-
* @param id
|
|
5625
|
-
* @param body - A partially populated CategoryEntity
|
|
5626
|
-
* @param options - additional request options
|
|
5627
|
-
*/
|
|
5628
|
-
patch_menu_v3_category(
|
|
5629
|
-
id: string,
|
|
5630
|
-
body: PatchMenuV3CategoryBody,
|
|
5631
|
-
options?: RequestOptions
|
|
5632
|
-
): ResponsePromise<PatchMenuV3CategoryResponse> {
|
|
5633
|
-
return this.request(
|
|
5634
|
-
"menu",
|
|
5635
|
-
"patch_menu_v3_category",
|
|
5636
|
-
"patch",
|
|
5637
|
-
`/menu/v3/category/${id}`,
|
|
5638
|
-
body,
|
|
5639
|
-
options
|
|
5640
|
-
);
|
|
5641
|
-
}
|
|
5642
|
-
|
|
5643
|
-
/**
|
|
5644
|
-
* DELETE /menu/v3/category/{id}
|
|
5645
|
-
*
|
|
5646
|
-
* @param id
|
|
5647
|
-
* @param options - additional request options
|
|
5648
|
-
*/
|
|
5649
|
-
delete_menu_v3_category(
|
|
5650
|
-
id: string,
|
|
5651
|
-
options?: RequestOptions
|
|
5652
|
-
): ResponsePromise<DeleteMenuV3CategoryResponse> {
|
|
5653
|
-
return this.request(
|
|
5654
|
-
"menu",
|
|
5655
|
-
"delete_menu_v3_category",
|
|
5656
|
-
"delete",
|
|
5657
|
-
`/menu/v3/category/${id}`,
|
|
5658
|
-
null,
|
|
5659
|
-
options
|
|
5660
|
-
);
|
|
5661
|
-
}
|
|
5662
|
-
|
|
5663
5400
|
/**
|
|
5664
5401
|
* POST /menu/v3/category
|
|
5665
5402
|
*
|
|
@@ -5720,26 +5457,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5720
5457
|
);
|
|
5721
5458
|
}
|
|
5722
5459
|
|
|
5723
|
-
/**
|
|
5724
|
-
* POST /menu/v3/category/relationships/items
|
|
5725
|
-
*
|
|
5726
|
-
* @param body
|
|
5727
|
-
* @param options - additional request options
|
|
5728
|
-
*/
|
|
5729
|
-
post_menu_v3_category_relationships_items(
|
|
5730
|
-
body: PostMenuV3CategoryRelationshipsItemsBody,
|
|
5731
|
-
options?: RequestOptions
|
|
5732
|
-
): ResponsePromise<PostMenuV3CategoryRelationshipsItemsResponse> {
|
|
5733
|
-
return this.request(
|
|
5734
|
-
"menu",
|
|
5735
|
-
"post_menu_v3_category_relationships_items",
|
|
5736
|
-
"post",
|
|
5737
|
-
`/menu/v3/category/relationships/items`,
|
|
5738
|
-
body,
|
|
5739
|
-
options
|
|
5740
|
-
);
|
|
5741
|
-
}
|
|
5742
|
-
|
|
5743
5460
|
/**
|
|
5744
5461
|
* POST /menu/v3/category/relationships/item
|
|
5745
5462
|
*
|
|
@@ -5782,48 +5499,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5782
5499
|
);
|
|
5783
5500
|
}
|
|
5784
5501
|
|
|
5785
|
-
/**
|
|
5786
|
-
* PATCH /menu/v3/category/relationships/item/{id}
|
|
5787
|
-
*
|
|
5788
|
-
* @param id
|
|
5789
|
-
* @param body - A partially populated CategoryToItemRelationship
|
|
5790
|
-
* @param options - additional request options
|
|
5791
|
-
*/
|
|
5792
|
-
patch_menu_v3_category_relationships_item(
|
|
5793
|
-
id: string,
|
|
5794
|
-
body: PatchMenuV3CategoryRelationshipsItemBody,
|
|
5795
|
-
options?: RequestOptions
|
|
5796
|
-
): ResponsePromise<PatchMenuV3CategoryRelationshipsItemResponse> {
|
|
5797
|
-
return this.request(
|
|
5798
|
-
"menu",
|
|
5799
|
-
"patch_menu_v3_category_relationships_item",
|
|
5800
|
-
"patch",
|
|
5801
|
-
`/menu/v3/category/relationships/item/${id}`,
|
|
5802
|
-
body,
|
|
5803
|
-
options
|
|
5804
|
-
);
|
|
5805
|
-
}
|
|
5806
|
-
|
|
5807
|
-
/**
|
|
5808
|
-
* DELETE /menu/v3/category/relationships/item/{id}
|
|
5809
|
-
*
|
|
5810
|
-
* @param id
|
|
5811
|
-
* @param options - additional request options
|
|
5812
|
-
*/
|
|
5813
|
-
delete_menu_v3_category_relationships_item(
|
|
5814
|
-
id: string,
|
|
5815
|
-
options?: RequestOptions
|
|
5816
|
-
): ResponsePromise<DeleteMenuV3CategoryRelationshipsItemResponse> {
|
|
5817
|
-
return this.request(
|
|
5818
|
-
"menu",
|
|
5819
|
-
"delete_menu_v3_category_relationships_item",
|
|
5820
|
-
"delete",
|
|
5821
|
-
`/menu/v3/category/relationships/item/${id}`,
|
|
5822
|
-
null,
|
|
5823
|
-
options
|
|
5824
|
-
);
|
|
5825
|
-
}
|
|
5826
|
-
|
|
5827
5502
|
/**
|
|
5828
5503
|
* GET /menu/v3/brands
|
|
5829
5504
|
*
|
|
@@ -5935,7 +5610,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5935
5610
|
* PATCH /menu/v3/brand/{id}
|
|
5936
5611
|
*
|
|
5937
5612
|
* @param id
|
|
5938
|
-
* @param body - A partially populated
|
|
5613
|
+
* @param body - A partially populated PublishedBrandEntity
|
|
5939
5614
|
* @param options - additional request options
|
|
5940
5615
|
*/
|
|
5941
5616
|
patch_menu_v3_brand(
|
|
@@ -6899,6 +6574,1682 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6899
6574
|
);
|
|
6900
6575
|
}
|
|
6901
6576
|
|
|
6577
|
+
/**
|
|
6578
|
+
* POST /menu/v3/draft/layout
|
|
6579
|
+
*
|
|
6580
|
+
* @param body
|
|
6581
|
+
* @param options - additional request options
|
|
6582
|
+
*/
|
|
6583
|
+
post_menu_v3_draft_layout(
|
|
6584
|
+
body: PostMenuV3DraftLayoutBody,
|
|
6585
|
+
options?: RequestOptions
|
|
6586
|
+
): ResponsePromise<PostMenuV3DraftLayoutResponse> {
|
|
6587
|
+
return this.request(
|
|
6588
|
+
"menu",
|
|
6589
|
+
"post_menu_v3_draft_layout",
|
|
6590
|
+
"post",
|
|
6591
|
+
`/menu/v3/draft/layout`,
|
|
6592
|
+
body,
|
|
6593
|
+
options
|
|
6594
|
+
);
|
|
6595
|
+
}
|
|
6596
|
+
|
|
6597
|
+
/**
|
|
6598
|
+
* GET /menu/v3/draft/layout/{id}
|
|
6599
|
+
*
|
|
6600
|
+
* @param id
|
|
6601
|
+
* @param options - additional request options
|
|
6602
|
+
*/
|
|
6603
|
+
get_menu_v3_draft_layout(
|
|
6604
|
+
id: string,
|
|
6605
|
+
options?: {
|
|
6606
|
+
query?: GetMenuV3DraftLayoutQuery;
|
|
6607
|
+
} & RequestOptions
|
|
6608
|
+
): ResponsePromise<GetMenuV3DraftLayoutResponse> {
|
|
6609
|
+
return this.request(
|
|
6610
|
+
"menu",
|
|
6611
|
+
"get_menu_v3_draft_layout",
|
|
6612
|
+
"get",
|
|
6613
|
+
`/menu/v3/draft/layout/${id}`,
|
|
6614
|
+
null,
|
|
6615
|
+
options
|
|
6616
|
+
);
|
|
6617
|
+
}
|
|
6618
|
+
|
|
6619
|
+
/**
|
|
6620
|
+
* PATCH /menu/v3/draft/layout/{id}
|
|
6621
|
+
*
|
|
6622
|
+
* @param id
|
|
6623
|
+
* @param body - A partially populated DraftLayoutEntity
|
|
6624
|
+
* @param options - additional request options
|
|
6625
|
+
*/
|
|
6626
|
+
patch_menu_v3_draft_layout(
|
|
6627
|
+
id: string,
|
|
6628
|
+
body: PatchMenuV3DraftLayoutBody,
|
|
6629
|
+
options?: RequestOptions
|
|
6630
|
+
): ResponsePromise<PatchMenuV3DraftLayoutResponse> {
|
|
6631
|
+
return this.request(
|
|
6632
|
+
"menu",
|
|
6633
|
+
"patch_menu_v3_draft_layout",
|
|
6634
|
+
"patch",
|
|
6635
|
+
`/menu/v3/draft/layout/${id}`,
|
|
6636
|
+
body,
|
|
6637
|
+
options
|
|
6638
|
+
);
|
|
6639
|
+
}
|
|
6640
|
+
|
|
6641
|
+
/**
|
|
6642
|
+
* DELETE /menu/v3/draft/layout/{id}
|
|
6643
|
+
*
|
|
6644
|
+
* @param id
|
|
6645
|
+
* @param options - additional request options
|
|
6646
|
+
*/
|
|
6647
|
+
delete_menu_v3_draft_layout(
|
|
6648
|
+
id: string,
|
|
6649
|
+
options?: RequestOptions
|
|
6650
|
+
): ResponsePromise<DeleteMenuV3DraftLayoutResponse> {
|
|
6651
|
+
return this.request(
|
|
6652
|
+
"menu",
|
|
6653
|
+
"delete_menu_v3_draft_layout",
|
|
6654
|
+
"delete",
|
|
6655
|
+
`/menu/v3/draft/layout/${id}`,
|
|
6656
|
+
null,
|
|
6657
|
+
options
|
|
6658
|
+
);
|
|
6659
|
+
}
|
|
6660
|
+
|
|
6661
|
+
/**
|
|
6662
|
+
* GET /menu/v3/draft/layouts
|
|
6663
|
+
*
|
|
6664
|
+
* @param options - additional request options
|
|
6665
|
+
*/
|
|
6666
|
+
get_menu_v3_draft_layouts(
|
|
6667
|
+
options?: {
|
|
6668
|
+
query?: GetMenuV3DraftLayoutsQuery;
|
|
6669
|
+
} & RequestOptions
|
|
6670
|
+
): ResponsePromise<GetMenuV3DraftLayoutsResponse> {
|
|
6671
|
+
return this.request(
|
|
6672
|
+
"menu",
|
|
6673
|
+
"get_menu_v3_draft_layouts",
|
|
6674
|
+
"get",
|
|
6675
|
+
`/menu/v3/draft/layouts`,
|
|
6676
|
+
null,
|
|
6677
|
+
options
|
|
6678
|
+
);
|
|
6679
|
+
}
|
|
6680
|
+
|
|
6681
|
+
/**
|
|
6682
|
+
* POST /menu/v3/draft/layouts
|
|
6683
|
+
*
|
|
6684
|
+
* @param body
|
|
6685
|
+
* @param options - additional request options
|
|
6686
|
+
*/
|
|
6687
|
+
post_menu_v3_draft_layouts(
|
|
6688
|
+
body: PostMenuV3DraftLayoutsBody,
|
|
6689
|
+
options?: RequestOptions
|
|
6690
|
+
): ResponsePromise<PostMenuV3DraftLayoutsResponse> {
|
|
6691
|
+
return this.request(
|
|
6692
|
+
"menu",
|
|
6693
|
+
"post_menu_v3_draft_layouts",
|
|
6694
|
+
"post",
|
|
6695
|
+
`/menu/v3/draft/layouts`,
|
|
6696
|
+
body,
|
|
6697
|
+
options
|
|
6698
|
+
);
|
|
6699
|
+
}
|
|
6700
|
+
|
|
6701
|
+
/**
|
|
6702
|
+
* GET /menu/v3/draft/layouts/count
|
|
6703
|
+
*
|
|
6704
|
+
* @param options - additional request options
|
|
6705
|
+
*/
|
|
6706
|
+
get_menu_v3_draft_layouts_count(
|
|
6707
|
+
options?: {
|
|
6708
|
+
query?: GetMenuV3DraftLayoutsCountQuery;
|
|
6709
|
+
} & RequestOptions
|
|
6710
|
+
): ResponsePromise<GetMenuV3DraftLayoutsCountResponse> {
|
|
6711
|
+
return this.request(
|
|
6712
|
+
"menu",
|
|
6713
|
+
"get_menu_v3_draft_layouts_count",
|
|
6714
|
+
"get",
|
|
6715
|
+
`/menu/v3/draft/layouts/count`,
|
|
6716
|
+
null,
|
|
6717
|
+
options
|
|
6718
|
+
);
|
|
6719
|
+
}
|
|
6720
|
+
|
|
6721
|
+
/**
|
|
6722
|
+
* GET /menu/v3/draft/layout/{id}/categories
|
|
6723
|
+
*
|
|
6724
|
+
* @param id
|
|
6725
|
+
* @param options - additional request options
|
|
6726
|
+
*/
|
|
6727
|
+
get_menu_v3_draft_layout_categories(
|
|
6728
|
+
id: string,
|
|
6729
|
+
options?: {
|
|
6730
|
+
query?: GetMenuV3DraftLayoutCategoriesQuery;
|
|
6731
|
+
} & RequestOptions
|
|
6732
|
+
): ResponsePromise<GetMenuV3DraftLayoutCategoriesResponse> {
|
|
6733
|
+
return this.request(
|
|
6734
|
+
"menu",
|
|
6735
|
+
"get_menu_v3_draft_layout_categories",
|
|
6736
|
+
"get",
|
|
6737
|
+
`/menu/v3/draft/layout/${id}/categories`,
|
|
6738
|
+
null,
|
|
6739
|
+
options
|
|
6740
|
+
);
|
|
6741
|
+
}
|
|
6742
|
+
|
|
6743
|
+
/**
|
|
6744
|
+
* POST /menu/v3/draft/layout/{id}/publish
|
|
6745
|
+
*
|
|
6746
|
+
* @param id
|
|
6747
|
+
* @param options - additional request options
|
|
6748
|
+
*/
|
|
6749
|
+
post_menu_v3_draft_layout_publish(
|
|
6750
|
+
id: string,
|
|
6751
|
+
options?: RequestOptions
|
|
6752
|
+
): ResponsePromise<PostMenuV3DraftLayoutPublishResponse> {
|
|
6753
|
+
return this.request(
|
|
6754
|
+
"menu",
|
|
6755
|
+
"post_menu_v3_draft_layout_publish",
|
|
6756
|
+
"post",
|
|
6757
|
+
`/menu/v3/draft/layout/${id}/publish`,
|
|
6758
|
+
null,
|
|
6759
|
+
options
|
|
6760
|
+
);
|
|
6761
|
+
}
|
|
6762
|
+
|
|
6763
|
+
/**
|
|
6764
|
+
* POST /menu/v3/draft/category
|
|
6765
|
+
*
|
|
6766
|
+
* @param body
|
|
6767
|
+
* @param options - additional request options
|
|
6768
|
+
*/
|
|
6769
|
+
post_menu_v3_draft_category(
|
|
6770
|
+
body: PostMenuV3DraftCategoryBody,
|
|
6771
|
+
options?: RequestOptions
|
|
6772
|
+
): ResponsePromise<PostMenuV3DraftCategoryResponse> {
|
|
6773
|
+
return this.request(
|
|
6774
|
+
"menu",
|
|
6775
|
+
"post_menu_v3_draft_category",
|
|
6776
|
+
"post",
|
|
6777
|
+
`/menu/v3/draft/category`,
|
|
6778
|
+
body,
|
|
6779
|
+
options
|
|
6780
|
+
);
|
|
6781
|
+
}
|
|
6782
|
+
|
|
6783
|
+
/**
|
|
6784
|
+
* GET /menu/v3/draft/category/{id}
|
|
6785
|
+
*
|
|
6786
|
+
* @param id
|
|
6787
|
+
* @param options - additional request options
|
|
6788
|
+
*/
|
|
6789
|
+
get_menu_v3_draft_category(
|
|
6790
|
+
id: string,
|
|
6791
|
+
options?: {
|
|
6792
|
+
query?: GetMenuV3DraftCategoryQuery;
|
|
6793
|
+
} & RequestOptions
|
|
6794
|
+
): ResponsePromise<GetMenuV3DraftCategoryResponse> {
|
|
6795
|
+
return this.request(
|
|
6796
|
+
"menu",
|
|
6797
|
+
"get_menu_v3_draft_category",
|
|
6798
|
+
"get",
|
|
6799
|
+
`/menu/v3/draft/category/${id}`,
|
|
6800
|
+
null,
|
|
6801
|
+
options
|
|
6802
|
+
);
|
|
6803
|
+
}
|
|
6804
|
+
|
|
6805
|
+
/**
|
|
6806
|
+
* PATCH /menu/v3/draft/category/{id}
|
|
6807
|
+
*
|
|
6808
|
+
* @param id
|
|
6809
|
+
* @param body - A partially populated DraftCategoryEntity
|
|
6810
|
+
* @param options - additional request options
|
|
6811
|
+
*/
|
|
6812
|
+
patch_menu_v3_draft_category(
|
|
6813
|
+
id: string,
|
|
6814
|
+
body: PatchMenuV3DraftCategoryBody,
|
|
6815
|
+
options?: RequestOptions
|
|
6816
|
+
): ResponsePromise<PatchMenuV3DraftCategoryResponse> {
|
|
6817
|
+
return this.request(
|
|
6818
|
+
"menu",
|
|
6819
|
+
"patch_menu_v3_draft_category",
|
|
6820
|
+
"patch",
|
|
6821
|
+
`/menu/v3/draft/category/${id}`,
|
|
6822
|
+
body,
|
|
6823
|
+
options
|
|
6824
|
+
);
|
|
6825
|
+
}
|
|
6826
|
+
|
|
6827
|
+
/**
|
|
6828
|
+
* DELETE /menu/v3/draft/category/{id}
|
|
6829
|
+
*
|
|
6830
|
+
* @param id
|
|
6831
|
+
* @param options - additional request options
|
|
6832
|
+
*/
|
|
6833
|
+
delete_menu_v3_draft_category(
|
|
6834
|
+
id: string,
|
|
6835
|
+
options?: RequestOptions
|
|
6836
|
+
): ResponsePromise<DeleteMenuV3DraftCategoryResponse> {
|
|
6837
|
+
return this.request(
|
|
6838
|
+
"menu",
|
|
6839
|
+
"delete_menu_v3_draft_category",
|
|
6840
|
+
"delete",
|
|
6841
|
+
`/menu/v3/draft/category/${id}`,
|
|
6842
|
+
null,
|
|
6843
|
+
options
|
|
6844
|
+
);
|
|
6845
|
+
}
|
|
6846
|
+
|
|
6847
|
+
/**
|
|
6848
|
+
* GET /menu/v3/draft/categories/count
|
|
6849
|
+
*
|
|
6850
|
+
* @param options - additional request options
|
|
6851
|
+
*/
|
|
6852
|
+
get_menu_v3_draft_categories_count(
|
|
6853
|
+
options?: {
|
|
6854
|
+
query?: GetMenuV3DraftCategoriesCountQuery;
|
|
6855
|
+
} & RequestOptions
|
|
6856
|
+
): ResponsePromise<GetMenuV3DraftCategoriesCountResponse> {
|
|
6857
|
+
return this.request(
|
|
6858
|
+
"menu",
|
|
6859
|
+
"get_menu_v3_draft_categories_count",
|
|
6860
|
+
"get",
|
|
6861
|
+
`/menu/v3/draft/categories/count`,
|
|
6862
|
+
null,
|
|
6863
|
+
options
|
|
6864
|
+
);
|
|
6865
|
+
}
|
|
6866
|
+
|
|
6867
|
+
/**
|
|
6868
|
+
* POST /menu/v3/draft/categorys
|
|
6869
|
+
*
|
|
6870
|
+
* @param body
|
|
6871
|
+
* @param options - additional request options
|
|
6872
|
+
*/
|
|
6873
|
+
post_menu_v3_draft_categorys(
|
|
6874
|
+
body: PostMenuV3DraftCategorysBody,
|
|
6875
|
+
options?: RequestOptions
|
|
6876
|
+
): ResponsePromise<PostMenuV3DraftCategorysResponse> {
|
|
6877
|
+
return this.request(
|
|
6878
|
+
"menu",
|
|
6879
|
+
"post_menu_v3_draft_categorys",
|
|
6880
|
+
"post",
|
|
6881
|
+
`/menu/v3/draft/categorys`,
|
|
6882
|
+
body,
|
|
6883
|
+
options
|
|
6884
|
+
);
|
|
6885
|
+
}
|
|
6886
|
+
|
|
6887
|
+
/**
|
|
6888
|
+
* POST /menu/v3/draft/category/relationships/item
|
|
6889
|
+
*
|
|
6890
|
+
* @param body
|
|
6891
|
+
* @param options - additional request options
|
|
6892
|
+
*/
|
|
6893
|
+
post_menu_v3_draft_category_relationships_item(
|
|
6894
|
+
body: PostMenuV3DraftCategoryRelationshipsItemBody,
|
|
6895
|
+
options?: RequestOptions
|
|
6896
|
+
): ResponsePromise<PostMenuV3DraftCategoryRelationshipsItemResponse> {
|
|
6897
|
+
return this.request(
|
|
6898
|
+
"menu",
|
|
6899
|
+
"post_menu_v3_draft_category_relationships_item",
|
|
6900
|
+
"post",
|
|
6901
|
+
`/menu/v3/draft/category/relationships/item`,
|
|
6902
|
+
body,
|
|
6903
|
+
options
|
|
6904
|
+
);
|
|
6905
|
+
}
|
|
6906
|
+
|
|
6907
|
+
/**
|
|
6908
|
+
* GET /menu/v3/draft/category/relationships/item/{id}
|
|
6909
|
+
*
|
|
6910
|
+
* @param id
|
|
6911
|
+
* @param options - additional request options
|
|
6912
|
+
*/
|
|
6913
|
+
get_menu_v3_draft_category_relationships_item(
|
|
6914
|
+
id: string,
|
|
6915
|
+
options?: {
|
|
6916
|
+
query?: GetMenuV3DraftCategoryRelationshipsItemQuery;
|
|
6917
|
+
} & RequestOptions
|
|
6918
|
+
): ResponsePromise<GetMenuV3DraftCategoryRelationshipsItemResponse> {
|
|
6919
|
+
return this.request(
|
|
6920
|
+
"menu",
|
|
6921
|
+
"get_menu_v3_draft_category_relationships_item",
|
|
6922
|
+
"get",
|
|
6923
|
+
`/menu/v3/draft/category/relationships/item/${id}`,
|
|
6924
|
+
null,
|
|
6925
|
+
options
|
|
6926
|
+
);
|
|
6927
|
+
}
|
|
6928
|
+
|
|
6929
|
+
/**
|
|
6930
|
+
* PATCH /menu/v3/draft/category/relationships/item/{id}
|
|
6931
|
+
*
|
|
6932
|
+
* @param id
|
|
6933
|
+
* @param body - A partially populated DraftCategoryToItemRelationship
|
|
6934
|
+
* @param options - additional request options
|
|
6935
|
+
*/
|
|
6936
|
+
patch_menu_v3_draft_category_relationships_item(
|
|
6937
|
+
id: string,
|
|
6938
|
+
body: PatchMenuV3DraftCategoryRelationshipsItemBody,
|
|
6939
|
+
options?: RequestOptions
|
|
6940
|
+
): ResponsePromise<PatchMenuV3DraftCategoryRelationshipsItemResponse> {
|
|
6941
|
+
return this.request(
|
|
6942
|
+
"menu",
|
|
6943
|
+
"patch_menu_v3_draft_category_relationships_item",
|
|
6944
|
+
"patch",
|
|
6945
|
+
`/menu/v3/draft/category/relationships/item/${id}`,
|
|
6946
|
+
body,
|
|
6947
|
+
options
|
|
6948
|
+
);
|
|
6949
|
+
}
|
|
6950
|
+
|
|
6951
|
+
/**
|
|
6952
|
+
* DELETE /menu/v3/draft/category/relationships/item/{id}
|
|
6953
|
+
*
|
|
6954
|
+
* @param id
|
|
6955
|
+
* @param options - additional request options
|
|
6956
|
+
*/
|
|
6957
|
+
delete_menu_v3_draft_category_relationships_item(
|
|
6958
|
+
id: string,
|
|
6959
|
+
options?: RequestOptions
|
|
6960
|
+
): ResponsePromise<DeleteMenuV3DraftCategoryRelationshipsItemResponse> {
|
|
6961
|
+
return this.request(
|
|
6962
|
+
"menu",
|
|
6963
|
+
"delete_menu_v3_draft_category_relationships_item",
|
|
6964
|
+
"delete",
|
|
6965
|
+
`/menu/v3/draft/category/relationships/item/${id}`,
|
|
6966
|
+
null,
|
|
6967
|
+
options
|
|
6968
|
+
);
|
|
6969
|
+
}
|
|
6970
|
+
|
|
6971
|
+
/**
|
|
6972
|
+
* GET /menu/v3/draft/category/relationships/items
|
|
6973
|
+
*
|
|
6974
|
+
* @param options - additional request options
|
|
6975
|
+
*/
|
|
6976
|
+
get_menu_v3_draft_category_relationships_items(
|
|
6977
|
+
options?: {
|
|
6978
|
+
query?: GetMenuV3DraftCategoryRelationshipsItemsQuery;
|
|
6979
|
+
} & RequestOptions
|
|
6980
|
+
): ResponsePromise<GetMenuV3DraftCategoryRelationshipsItemsResponse> {
|
|
6981
|
+
return this.request(
|
|
6982
|
+
"menu",
|
|
6983
|
+
"get_menu_v3_draft_category_relationships_items",
|
|
6984
|
+
"get",
|
|
6985
|
+
`/menu/v3/draft/category/relationships/items`,
|
|
6986
|
+
null,
|
|
6987
|
+
options
|
|
6988
|
+
);
|
|
6989
|
+
}
|
|
6990
|
+
|
|
6991
|
+
/**
|
|
6992
|
+
* POST /menu/v3/draft/category/relationships/items
|
|
6993
|
+
*
|
|
6994
|
+
* @param body
|
|
6995
|
+
* @param options - additional request options
|
|
6996
|
+
*/
|
|
6997
|
+
post_menu_v3_draft_category_relationships_items(
|
|
6998
|
+
body: PostMenuV3DraftCategoryRelationshipsItemsBody,
|
|
6999
|
+
options?: RequestOptions
|
|
7000
|
+
): ResponsePromise<PostMenuV3DraftCategoryRelationshipsItemsResponse> {
|
|
7001
|
+
return this.request(
|
|
7002
|
+
"menu",
|
|
7003
|
+
"post_menu_v3_draft_category_relationships_items",
|
|
7004
|
+
"post",
|
|
7005
|
+
`/menu/v3/draft/category/relationships/items`,
|
|
7006
|
+
body,
|
|
7007
|
+
options
|
|
7008
|
+
);
|
|
7009
|
+
}
|
|
7010
|
+
|
|
7011
|
+
/**
|
|
7012
|
+
* GET /menu/v3/draft/category/relationships/items/count
|
|
7013
|
+
*
|
|
7014
|
+
* @param options - additional request options
|
|
7015
|
+
*/
|
|
7016
|
+
get_menu_v3_draft_category_relationships_items_count(
|
|
7017
|
+
options?: {
|
|
7018
|
+
query?: GetMenuV3DraftCategoryRelationshipsItemsCountQuery;
|
|
7019
|
+
} & RequestOptions
|
|
7020
|
+
): ResponsePromise<GetMenuV3DraftCategoryRelationshipsItemsCountResponse> {
|
|
7021
|
+
return this.request(
|
|
7022
|
+
"menu",
|
|
7023
|
+
"get_menu_v3_draft_category_relationships_items_count",
|
|
7024
|
+
"get",
|
|
7025
|
+
`/menu/v3/draft/category/relationships/items/count`,
|
|
7026
|
+
null,
|
|
7027
|
+
options
|
|
7028
|
+
);
|
|
7029
|
+
}
|
|
7030
|
+
|
|
7031
|
+
/**
|
|
7032
|
+
* POST /menu/v3/draft/item
|
|
7033
|
+
*
|
|
7034
|
+
* @param body
|
|
7035
|
+
* @param options - additional request options
|
|
7036
|
+
*/
|
|
7037
|
+
post_menu_v3_draft_item(
|
|
7038
|
+
body: PostMenuV3DraftItemBody,
|
|
7039
|
+
options?: RequestOptions
|
|
7040
|
+
): ResponsePromise<PostMenuV3DraftItemResponse> {
|
|
7041
|
+
return this.request(
|
|
7042
|
+
"menu",
|
|
7043
|
+
"post_menu_v3_draft_item",
|
|
7044
|
+
"post",
|
|
7045
|
+
`/menu/v3/draft/item`,
|
|
7046
|
+
body,
|
|
7047
|
+
options
|
|
7048
|
+
);
|
|
7049
|
+
}
|
|
7050
|
+
|
|
7051
|
+
/**
|
|
7052
|
+
* GET /menu/v3/draft/item/{id}
|
|
7053
|
+
*
|
|
7054
|
+
* @param id
|
|
7055
|
+
* @param options - additional request options
|
|
7056
|
+
*/
|
|
7057
|
+
get_menu_v3_draft_item(
|
|
7058
|
+
id: string,
|
|
7059
|
+
options?: {
|
|
7060
|
+
query?: GetMenuV3DraftItemQuery;
|
|
7061
|
+
} & RequestOptions
|
|
7062
|
+
): ResponsePromise<GetMenuV3DraftItemResponse> {
|
|
7063
|
+
return this.request(
|
|
7064
|
+
"menu",
|
|
7065
|
+
"get_menu_v3_draft_item",
|
|
7066
|
+
"get",
|
|
7067
|
+
`/menu/v3/draft/item/${id}`,
|
|
7068
|
+
null,
|
|
7069
|
+
options
|
|
7070
|
+
);
|
|
7071
|
+
}
|
|
7072
|
+
|
|
7073
|
+
/**
|
|
7074
|
+
* PATCH /menu/v3/draft/item/{id}
|
|
7075
|
+
*
|
|
7076
|
+
* @param id
|
|
7077
|
+
* @param body - A partially populated DraftItemEntity
|
|
7078
|
+
* @param options - additional request options
|
|
7079
|
+
*/
|
|
7080
|
+
patch_menu_v3_draft_item(
|
|
7081
|
+
id: string,
|
|
7082
|
+
body: PatchMenuV3DraftItemBody,
|
|
7083
|
+
options?: RequestOptions
|
|
7084
|
+
): ResponsePromise<PatchMenuV3DraftItemResponse> {
|
|
7085
|
+
return this.request(
|
|
7086
|
+
"menu",
|
|
7087
|
+
"patch_menu_v3_draft_item",
|
|
7088
|
+
"patch",
|
|
7089
|
+
`/menu/v3/draft/item/${id}`,
|
|
7090
|
+
body,
|
|
7091
|
+
options
|
|
7092
|
+
);
|
|
7093
|
+
}
|
|
7094
|
+
|
|
7095
|
+
/**
|
|
7096
|
+
* DELETE /menu/v3/draft/item/{id}
|
|
7097
|
+
*
|
|
7098
|
+
* @param id
|
|
7099
|
+
* @param options - additional request options
|
|
7100
|
+
*/
|
|
7101
|
+
delete_menu_v3_draft_item(
|
|
7102
|
+
id: string,
|
|
7103
|
+
options?: RequestOptions
|
|
7104
|
+
): ResponsePromise<DeleteMenuV3DraftItemResponse> {
|
|
7105
|
+
return this.request(
|
|
7106
|
+
"menu",
|
|
7107
|
+
"delete_menu_v3_draft_item",
|
|
7108
|
+
"delete",
|
|
7109
|
+
`/menu/v3/draft/item/${id}`,
|
|
7110
|
+
null,
|
|
7111
|
+
options
|
|
7112
|
+
);
|
|
7113
|
+
}
|
|
7114
|
+
|
|
7115
|
+
/**
|
|
7116
|
+
* GET /menu/v3/draft/items
|
|
7117
|
+
*
|
|
7118
|
+
* @param options - additional request options
|
|
7119
|
+
*/
|
|
7120
|
+
get_menu_v3_draft_items(
|
|
7121
|
+
options?: {
|
|
7122
|
+
query?: GetMenuV3DraftItemsQuery;
|
|
7123
|
+
} & RequestOptions
|
|
7124
|
+
): ResponsePromise<GetMenuV3DraftItemsResponse> {
|
|
7125
|
+
return this.request(
|
|
7126
|
+
"menu",
|
|
7127
|
+
"get_menu_v3_draft_items",
|
|
7128
|
+
"get",
|
|
7129
|
+
`/menu/v3/draft/items`,
|
|
7130
|
+
null,
|
|
7131
|
+
options
|
|
7132
|
+
);
|
|
7133
|
+
}
|
|
7134
|
+
|
|
7135
|
+
/**
|
|
7136
|
+
* POST /menu/v3/draft/items
|
|
7137
|
+
*
|
|
7138
|
+
* @param body
|
|
7139
|
+
* @param options - additional request options
|
|
7140
|
+
*/
|
|
7141
|
+
post_menu_v3_draft_items(
|
|
7142
|
+
body: PostMenuV3DraftItemsBody,
|
|
7143
|
+
options?: RequestOptions
|
|
7144
|
+
): ResponsePromise<PostMenuV3DraftItemsResponse> {
|
|
7145
|
+
return this.request(
|
|
7146
|
+
"menu",
|
|
7147
|
+
"post_menu_v3_draft_items",
|
|
7148
|
+
"post",
|
|
7149
|
+
`/menu/v3/draft/items`,
|
|
7150
|
+
body,
|
|
7151
|
+
options
|
|
7152
|
+
);
|
|
7153
|
+
}
|
|
7154
|
+
|
|
7155
|
+
/**
|
|
7156
|
+
* GET /menu/v3/draft/items/count
|
|
7157
|
+
*
|
|
7158
|
+
* @param options - additional request options
|
|
7159
|
+
*/
|
|
7160
|
+
get_menu_v3_draft_items_count(
|
|
7161
|
+
options?: {
|
|
7162
|
+
query?: GetMenuV3DraftItemsCountQuery;
|
|
7163
|
+
} & RequestOptions
|
|
7164
|
+
): ResponsePromise<GetMenuV3DraftItemsCountResponse> {
|
|
7165
|
+
return this.request(
|
|
7166
|
+
"menu",
|
|
7167
|
+
"get_menu_v3_draft_items_count",
|
|
7168
|
+
"get",
|
|
7169
|
+
`/menu/v3/draft/items/count`,
|
|
7170
|
+
null,
|
|
7171
|
+
options
|
|
7172
|
+
);
|
|
7173
|
+
}
|
|
7174
|
+
|
|
7175
|
+
/**
|
|
7176
|
+
* POST /menu/v3/draft/item/relationships/modifier-group
|
|
7177
|
+
*
|
|
7178
|
+
* @param body
|
|
7179
|
+
* @param options - additional request options
|
|
7180
|
+
*/
|
|
7181
|
+
post_menu_v3_draft_item_relationships_modifier_group(
|
|
7182
|
+
body: PostMenuV3DraftItemRelationshipsModifierGroupBody,
|
|
7183
|
+
options?: RequestOptions
|
|
7184
|
+
): ResponsePromise<PostMenuV3DraftItemRelationshipsModifierGroupResponse> {
|
|
7185
|
+
return this.request(
|
|
7186
|
+
"menu",
|
|
7187
|
+
"post_menu_v3_draft_item_relationships_modifier_group",
|
|
7188
|
+
"post",
|
|
7189
|
+
`/menu/v3/draft/item/relationships/modifier-group`,
|
|
7190
|
+
body,
|
|
7191
|
+
options
|
|
7192
|
+
);
|
|
7193
|
+
}
|
|
7194
|
+
|
|
7195
|
+
/**
|
|
7196
|
+
* GET /menu/v3/draft/item/relationships/modifier-group/{id}
|
|
7197
|
+
*
|
|
7198
|
+
* @param id
|
|
7199
|
+
* @param options - additional request options
|
|
7200
|
+
*/
|
|
7201
|
+
get_menu_v3_draft_item_relationships_modifier_group(
|
|
7202
|
+
id: string,
|
|
7203
|
+
options?: {
|
|
7204
|
+
query?: GetMenuV3DraftItemRelationshipsModifierGroupQuery;
|
|
7205
|
+
} & RequestOptions
|
|
7206
|
+
): ResponsePromise<GetMenuV3DraftItemRelationshipsModifierGroupResponse> {
|
|
7207
|
+
return this.request(
|
|
7208
|
+
"menu",
|
|
7209
|
+
"get_menu_v3_draft_item_relationships_modifier_group",
|
|
7210
|
+
"get",
|
|
7211
|
+
`/menu/v3/draft/item/relationships/modifier-group/${id}`,
|
|
7212
|
+
null,
|
|
7213
|
+
options
|
|
7214
|
+
);
|
|
7215
|
+
}
|
|
7216
|
+
|
|
7217
|
+
/**
|
|
7218
|
+
* PATCH /menu/v3/draft/item/relationships/modifier-group/{id}
|
|
7219
|
+
*
|
|
7220
|
+
* @param id
|
|
7221
|
+
* @param body - A partially populated DraftItemToModifierGroupRelationship
|
|
7222
|
+
* @param options - additional request options
|
|
7223
|
+
*/
|
|
7224
|
+
patch_menu_v3_draft_item_relationships_modifier_group(
|
|
7225
|
+
id: string,
|
|
7226
|
+
body: PatchMenuV3DraftItemRelationshipsModifierGroupBody,
|
|
7227
|
+
options?: RequestOptions
|
|
7228
|
+
): ResponsePromise<PatchMenuV3DraftItemRelationshipsModifierGroupResponse> {
|
|
7229
|
+
return this.request(
|
|
7230
|
+
"menu",
|
|
7231
|
+
"patch_menu_v3_draft_item_relationships_modifier_group",
|
|
7232
|
+
"patch",
|
|
7233
|
+
`/menu/v3/draft/item/relationships/modifier-group/${id}`,
|
|
7234
|
+
body,
|
|
7235
|
+
options
|
|
7236
|
+
);
|
|
7237
|
+
}
|
|
7238
|
+
|
|
7239
|
+
/**
|
|
7240
|
+
* DELETE /menu/v3/draft/item/relationships/modifier-group/{id}
|
|
7241
|
+
*
|
|
7242
|
+
* @param id
|
|
7243
|
+
* @param options - additional request options
|
|
7244
|
+
*/
|
|
7245
|
+
delete_menu_v3_draft_item_relationships_modifier_group(
|
|
7246
|
+
id: string,
|
|
7247
|
+
options?: RequestOptions
|
|
7248
|
+
): ResponsePromise<DeleteMenuV3DraftItemRelationshipsModifierGroupResponse> {
|
|
7249
|
+
return this.request(
|
|
7250
|
+
"menu",
|
|
7251
|
+
"delete_menu_v3_draft_item_relationships_modifier_group",
|
|
7252
|
+
"delete",
|
|
7253
|
+
`/menu/v3/draft/item/relationships/modifier-group/${id}`,
|
|
7254
|
+
null,
|
|
7255
|
+
options
|
|
7256
|
+
);
|
|
7257
|
+
}
|
|
7258
|
+
|
|
7259
|
+
/**
|
|
7260
|
+
* GET /menu/v3/draft/item/relationships/modifier-groups
|
|
7261
|
+
*
|
|
7262
|
+
* @param options - additional request options
|
|
7263
|
+
*/
|
|
7264
|
+
get_menu_v3_draft_item_relationships_modifier_groups(
|
|
7265
|
+
options?: {
|
|
7266
|
+
query?: GetMenuV3DraftItemRelationshipsModifierGroupsQuery;
|
|
7267
|
+
} & RequestOptions
|
|
7268
|
+
): ResponsePromise<GetMenuV3DraftItemRelationshipsModifierGroupsResponse> {
|
|
7269
|
+
return this.request(
|
|
7270
|
+
"menu",
|
|
7271
|
+
"get_menu_v3_draft_item_relationships_modifier_groups",
|
|
7272
|
+
"get",
|
|
7273
|
+
`/menu/v3/draft/item/relationships/modifier-groups`,
|
|
7274
|
+
null,
|
|
7275
|
+
options
|
|
7276
|
+
);
|
|
7277
|
+
}
|
|
7278
|
+
|
|
7279
|
+
/**
|
|
7280
|
+
* POST /menu/v3/draft/item/relationships/modifier-groups
|
|
7281
|
+
*
|
|
7282
|
+
* @param body
|
|
7283
|
+
* @param options - additional request options
|
|
7284
|
+
*/
|
|
7285
|
+
post_menu_v3_draft_item_relationships_modifier_groups(
|
|
7286
|
+
body: PostMenuV3DraftItemRelationshipsModifierGroupsBody,
|
|
7287
|
+
options?: RequestOptions
|
|
7288
|
+
): ResponsePromise<PostMenuV3DraftItemRelationshipsModifierGroupsResponse> {
|
|
7289
|
+
return this.request(
|
|
7290
|
+
"menu",
|
|
7291
|
+
"post_menu_v3_draft_item_relationships_modifier_groups",
|
|
7292
|
+
"post",
|
|
7293
|
+
`/menu/v3/draft/item/relationships/modifier-groups`,
|
|
7294
|
+
body,
|
|
7295
|
+
options
|
|
7296
|
+
);
|
|
7297
|
+
}
|
|
7298
|
+
|
|
7299
|
+
/**
|
|
7300
|
+
* GET /menu/v3/draft/item/relationships/modifier-groups/count
|
|
7301
|
+
*
|
|
7302
|
+
* @param options - additional request options
|
|
7303
|
+
*/
|
|
7304
|
+
get_menu_v3_draft_item_relationships_modifier_groups_count(
|
|
7305
|
+
options?: {
|
|
7306
|
+
query?: GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery;
|
|
7307
|
+
} & RequestOptions
|
|
7308
|
+
): ResponsePromise<GetMenuV3DraftItemRelationshipsModifierGroupsCountResponse> {
|
|
7309
|
+
return this.request(
|
|
7310
|
+
"menu",
|
|
7311
|
+
"get_menu_v3_draft_item_relationships_modifier_groups_count",
|
|
7312
|
+
"get",
|
|
7313
|
+
`/menu/v3/draft/item/relationships/modifier-groups/count`,
|
|
7314
|
+
null,
|
|
7315
|
+
options
|
|
7316
|
+
);
|
|
7317
|
+
}
|
|
7318
|
+
|
|
7319
|
+
/**
|
|
7320
|
+
* POST /menu/v3/draft/modifier-group
|
|
7321
|
+
*
|
|
7322
|
+
* @param body
|
|
7323
|
+
* @param options - additional request options
|
|
7324
|
+
*/
|
|
7325
|
+
post_menu_v3_draft_modifier_group(
|
|
7326
|
+
body: PostMenuV3DraftModifierGroupBody,
|
|
7327
|
+
options?: RequestOptions
|
|
7328
|
+
): ResponsePromise<PostMenuV3DraftModifierGroupResponse> {
|
|
7329
|
+
return this.request(
|
|
7330
|
+
"menu",
|
|
7331
|
+
"post_menu_v3_draft_modifier_group",
|
|
7332
|
+
"post",
|
|
7333
|
+
`/menu/v3/draft/modifier-group`,
|
|
7334
|
+
body,
|
|
7335
|
+
options
|
|
7336
|
+
);
|
|
7337
|
+
}
|
|
7338
|
+
|
|
7339
|
+
/**
|
|
7340
|
+
* GET /menu/v3/draft/modifier-group/{id}
|
|
7341
|
+
*
|
|
7342
|
+
* @param id
|
|
7343
|
+
* @param options - additional request options
|
|
7344
|
+
*/
|
|
7345
|
+
get_menu_v3_draft_modifier_group(
|
|
7346
|
+
id: string,
|
|
7347
|
+
options?: {
|
|
7348
|
+
query?: GetMenuV3DraftModifierGroupQuery;
|
|
7349
|
+
} & RequestOptions
|
|
7350
|
+
): ResponsePromise<GetMenuV3DraftModifierGroupResponse> {
|
|
7351
|
+
return this.request(
|
|
7352
|
+
"menu",
|
|
7353
|
+
"get_menu_v3_draft_modifier_group",
|
|
7354
|
+
"get",
|
|
7355
|
+
`/menu/v3/draft/modifier-group/${id}`,
|
|
7356
|
+
null,
|
|
7357
|
+
options
|
|
7358
|
+
);
|
|
7359
|
+
}
|
|
7360
|
+
|
|
7361
|
+
/**
|
|
7362
|
+
* PATCH /menu/v3/draft/modifier-group/{id}
|
|
7363
|
+
*
|
|
7364
|
+
* @param id
|
|
7365
|
+
* @param body - A partially populated DraftModifierGroupEntity
|
|
7366
|
+
* @param options - additional request options
|
|
7367
|
+
*/
|
|
7368
|
+
patch_menu_v3_draft_modifier_group(
|
|
7369
|
+
id: string,
|
|
7370
|
+
body: PatchMenuV3DraftModifierGroupBody,
|
|
7371
|
+
options?: RequestOptions
|
|
7372
|
+
): ResponsePromise<PatchMenuV3DraftModifierGroupResponse> {
|
|
7373
|
+
return this.request(
|
|
7374
|
+
"menu",
|
|
7375
|
+
"patch_menu_v3_draft_modifier_group",
|
|
7376
|
+
"patch",
|
|
7377
|
+
`/menu/v3/draft/modifier-group/${id}`,
|
|
7378
|
+
body,
|
|
7379
|
+
options
|
|
7380
|
+
);
|
|
7381
|
+
}
|
|
7382
|
+
|
|
7383
|
+
/**
|
|
7384
|
+
* DELETE /menu/v3/draft/modifier-group/{id}
|
|
7385
|
+
*
|
|
7386
|
+
* @param id
|
|
7387
|
+
* @param options - additional request options
|
|
7388
|
+
*/
|
|
7389
|
+
delete_menu_v3_draft_modifier_group(
|
|
7390
|
+
id: string,
|
|
7391
|
+
options?: RequestOptions
|
|
7392
|
+
): ResponsePromise<DeleteMenuV3DraftModifierGroupResponse> {
|
|
7393
|
+
return this.request(
|
|
7394
|
+
"menu",
|
|
7395
|
+
"delete_menu_v3_draft_modifier_group",
|
|
7396
|
+
"delete",
|
|
7397
|
+
`/menu/v3/draft/modifier-group/${id}`,
|
|
7398
|
+
null,
|
|
7399
|
+
options
|
|
7400
|
+
);
|
|
7401
|
+
}
|
|
7402
|
+
|
|
7403
|
+
/**
|
|
7404
|
+
* GET /menu/v3/draft/modifier-groups
|
|
7405
|
+
*
|
|
7406
|
+
* @param options - additional request options
|
|
7407
|
+
*/
|
|
7408
|
+
get_menu_v3_draft_modifier_groups(
|
|
7409
|
+
options?: {
|
|
7410
|
+
query?: GetMenuV3DraftModifierGroupsQuery;
|
|
7411
|
+
} & RequestOptions
|
|
7412
|
+
): ResponsePromise<GetMenuV3DraftModifierGroupsResponse> {
|
|
7413
|
+
return this.request(
|
|
7414
|
+
"menu",
|
|
7415
|
+
"get_menu_v3_draft_modifier_groups",
|
|
7416
|
+
"get",
|
|
7417
|
+
`/menu/v3/draft/modifier-groups`,
|
|
7418
|
+
null,
|
|
7419
|
+
options
|
|
7420
|
+
);
|
|
7421
|
+
}
|
|
7422
|
+
|
|
7423
|
+
/**
|
|
7424
|
+
* POST /menu/v3/draft/modifier-groups
|
|
7425
|
+
*
|
|
7426
|
+
* @param body
|
|
7427
|
+
* @param options - additional request options
|
|
7428
|
+
*/
|
|
7429
|
+
post_menu_v3_draft_modifier_groups(
|
|
7430
|
+
body: PostMenuV3DraftModifierGroupsBody,
|
|
7431
|
+
options?: RequestOptions
|
|
7432
|
+
): ResponsePromise<PostMenuV3DraftModifierGroupsResponse> {
|
|
7433
|
+
return this.request(
|
|
7434
|
+
"menu",
|
|
7435
|
+
"post_menu_v3_draft_modifier_groups",
|
|
7436
|
+
"post",
|
|
7437
|
+
`/menu/v3/draft/modifier-groups`,
|
|
7438
|
+
body,
|
|
7439
|
+
options
|
|
7440
|
+
);
|
|
7441
|
+
}
|
|
7442
|
+
|
|
7443
|
+
/**
|
|
7444
|
+
* GET /menu/v3/draft/modifier-groups/count
|
|
7445
|
+
*
|
|
7446
|
+
* @param options - additional request options
|
|
7447
|
+
*/
|
|
7448
|
+
get_menu_v3_draft_modifier_groups_count(
|
|
7449
|
+
options?: {
|
|
7450
|
+
query?: GetMenuV3DraftModifierGroupsCountQuery;
|
|
7451
|
+
} & RequestOptions
|
|
7452
|
+
): ResponsePromise<GetMenuV3DraftModifierGroupsCountResponse> {
|
|
7453
|
+
return this.request(
|
|
7454
|
+
"menu",
|
|
7455
|
+
"get_menu_v3_draft_modifier_groups_count",
|
|
7456
|
+
"get",
|
|
7457
|
+
`/menu/v3/draft/modifier-groups/count`,
|
|
7458
|
+
null,
|
|
7459
|
+
options
|
|
7460
|
+
);
|
|
7461
|
+
}
|
|
7462
|
+
|
|
7463
|
+
/**
|
|
7464
|
+
* POST /menu/v3/draft/modifier-group/relationships/modifier
|
|
7465
|
+
*
|
|
7466
|
+
* @param body
|
|
7467
|
+
* @param options - additional request options
|
|
7468
|
+
*/
|
|
7469
|
+
post_menu_v3_draft_modifier_group_relationships_modifier(
|
|
7470
|
+
body: PostMenuV3DraftModifierGroupRelationshipsModifierBody,
|
|
7471
|
+
options?: RequestOptions
|
|
7472
|
+
): ResponsePromise<PostMenuV3DraftModifierGroupRelationshipsModifierResponse> {
|
|
7473
|
+
return this.request(
|
|
7474
|
+
"menu",
|
|
7475
|
+
"post_menu_v3_draft_modifier_group_relationships_modifier",
|
|
7476
|
+
"post",
|
|
7477
|
+
`/menu/v3/draft/modifier-group/relationships/modifier`,
|
|
7478
|
+
body,
|
|
7479
|
+
options
|
|
7480
|
+
);
|
|
7481
|
+
}
|
|
7482
|
+
|
|
7483
|
+
/**
|
|
7484
|
+
* GET /menu/v3/draft/modifier-group/relationships/modifier/{id}
|
|
7485
|
+
*
|
|
7486
|
+
* @param id
|
|
7487
|
+
* @param options - additional request options
|
|
7488
|
+
*/
|
|
7489
|
+
get_menu_v3_draft_modifier_group_relationships_modifier(
|
|
7490
|
+
id: string,
|
|
7491
|
+
options?: {
|
|
7492
|
+
query?: GetMenuV3DraftModifierGroupRelationshipsModifierQuery;
|
|
7493
|
+
} & RequestOptions
|
|
7494
|
+
): ResponsePromise<GetMenuV3DraftModifierGroupRelationshipsModifierResponse> {
|
|
7495
|
+
return this.request(
|
|
7496
|
+
"menu",
|
|
7497
|
+
"get_menu_v3_draft_modifier_group_relationships_modifier",
|
|
7498
|
+
"get",
|
|
7499
|
+
`/menu/v3/draft/modifier-group/relationships/modifier/${id}`,
|
|
7500
|
+
null,
|
|
7501
|
+
options
|
|
7502
|
+
);
|
|
7503
|
+
}
|
|
7504
|
+
|
|
7505
|
+
/**
|
|
7506
|
+
* PATCH /menu/v3/draft/modifier-group/relationships/modifier/{id}
|
|
7507
|
+
*
|
|
7508
|
+
* @param id
|
|
7509
|
+
* @param body - A partially populated DraftModifierGroupToModifierRelationship
|
|
7510
|
+
* @param options - additional request options
|
|
7511
|
+
*/
|
|
7512
|
+
patch_menu_v3_draft_modifier_group_relationships_modifier(
|
|
7513
|
+
id: string,
|
|
7514
|
+
body: PatchMenuV3DraftModifierGroupRelationshipsModifierBody,
|
|
7515
|
+
options?: RequestOptions
|
|
7516
|
+
): ResponsePromise<PatchMenuV3DraftModifierGroupRelationshipsModifierResponse> {
|
|
7517
|
+
return this.request(
|
|
7518
|
+
"menu",
|
|
7519
|
+
"patch_menu_v3_draft_modifier_group_relationships_modifier",
|
|
7520
|
+
"patch",
|
|
7521
|
+
`/menu/v3/draft/modifier-group/relationships/modifier/${id}`,
|
|
7522
|
+
body,
|
|
7523
|
+
options
|
|
7524
|
+
);
|
|
7525
|
+
}
|
|
7526
|
+
|
|
7527
|
+
/**
|
|
7528
|
+
* DELETE /menu/v3/draft/modifier-group/relationships/modifier/{id}
|
|
7529
|
+
*
|
|
7530
|
+
* @param id
|
|
7531
|
+
* @param options - additional request options
|
|
7532
|
+
*/
|
|
7533
|
+
delete_menu_v3_draft_modifier_group_relationships_modifier(
|
|
7534
|
+
id: string,
|
|
7535
|
+
options?: RequestOptions
|
|
7536
|
+
): ResponsePromise<DeleteMenuV3DraftModifierGroupRelationshipsModifierResponse> {
|
|
7537
|
+
return this.request(
|
|
7538
|
+
"menu",
|
|
7539
|
+
"delete_menu_v3_draft_modifier_group_relationships_modifier",
|
|
7540
|
+
"delete",
|
|
7541
|
+
`/menu/v3/draft/modifier-group/relationships/modifier/${id}`,
|
|
7542
|
+
null,
|
|
7543
|
+
options
|
|
7544
|
+
);
|
|
7545
|
+
}
|
|
7546
|
+
|
|
7547
|
+
/**
|
|
7548
|
+
* GET /menu/v3/draft/modifier-group/relationships/modifiers
|
|
7549
|
+
*
|
|
7550
|
+
* @param options - additional request options
|
|
7551
|
+
*/
|
|
7552
|
+
get_menu_v3_draft_modifier_group_relationships_modifiers(
|
|
7553
|
+
options?: {
|
|
7554
|
+
query?: GetMenuV3DraftModifierGroupRelationshipsModifiersQuery;
|
|
7555
|
+
} & RequestOptions
|
|
7556
|
+
): ResponsePromise<GetMenuV3DraftModifierGroupRelationshipsModifiersResponse> {
|
|
7557
|
+
return this.request(
|
|
7558
|
+
"menu",
|
|
7559
|
+
"get_menu_v3_draft_modifier_group_relationships_modifiers",
|
|
7560
|
+
"get",
|
|
7561
|
+
`/menu/v3/draft/modifier-group/relationships/modifiers`,
|
|
7562
|
+
null,
|
|
7563
|
+
options
|
|
7564
|
+
);
|
|
7565
|
+
}
|
|
7566
|
+
|
|
7567
|
+
/**
|
|
7568
|
+
* POST /menu/v3/draft/modifier-group/relationships/modifiers
|
|
7569
|
+
*
|
|
7570
|
+
* @param body
|
|
7571
|
+
* @param options - additional request options
|
|
7572
|
+
*/
|
|
7573
|
+
post_menu_v3_draft_modifier_group_relationships_modifiers(
|
|
7574
|
+
body: PostMenuV3DraftModifierGroupRelationshipsModifiersBody,
|
|
7575
|
+
options?: RequestOptions
|
|
7576
|
+
): ResponsePromise<PostMenuV3DraftModifierGroupRelationshipsModifiersResponse> {
|
|
7577
|
+
return this.request(
|
|
7578
|
+
"menu",
|
|
7579
|
+
"post_menu_v3_draft_modifier_group_relationships_modifiers",
|
|
7580
|
+
"post",
|
|
7581
|
+
`/menu/v3/draft/modifier-group/relationships/modifiers`,
|
|
7582
|
+
body,
|
|
7583
|
+
options
|
|
7584
|
+
);
|
|
7585
|
+
}
|
|
7586
|
+
|
|
7587
|
+
/**
|
|
7588
|
+
* GET /menu/v3/draft/modifier-group/relationships/modifiers/count
|
|
7589
|
+
*
|
|
7590
|
+
* @param options - additional request options
|
|
7591
|
+
*/
|
|
7592
|
+
get_menu_v3_draft_modifier_group_relationships_modifiers_count(
|
|
7593
|
+
options?: {
|
|
7594
|
+
query?: GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery;
|
|
7595
|
+
} & RequestOptions
|
|
7596
|
+
): ResponsePromise<GetMenuV3DraftModifierGroupRelationshipsModifiersCountResponse> {
|
|
7597
|
+
return this.request(
|
|
7598
|
+
"menu",
|
|
7599
|
+
"get_menu_v3_draft_modifier_group_relationships_modifiers_count",
|
|
7600
|
+
"get",
|
|
7601
|
+
`/menu/v3/draft/modifier-group/relationships/modifiers/count`,
|
|
7602
|
+
null,
|
|
7603
|
+
options
|
|
7604
|
+
);
|
|
7605
|
+
}
|
|
7606
|
+
|
|
7607
|
+
/**
|
|
7608
|
+
* POST /menu/v3/draft/modifier
|
|
7609
|
+
*
|
|
7610
|
+
* @param body
|
|
7611
|
+
* @param options - additional request options
|
|
7612
|
+
*/
|
|
7613
|
+
post_menu_v3_draft_modifier(
|
|
7614
|
+
body: PostMenuV3DraftModifierBody,
|
|
7615
|
+
options?: RequestOptions
|
|
7616
|
+
): ResponsePromise<PostMenuV3DraftModifierResponse> {
|
|
7617
|
+
return this.request(
|
|
7618
|
+
"menu",
|
|
7619
|
+
"post_menu_v3_draft_modifier",
|
|
7620
|
+
"post",
|
|
7621
|
+
`/menu/v3/draft/modifier`,
|
|
7622
|
+
body,
|
|
7623
|
+
options
|
|
7624
|
+
);
|
|
7625
|
+
}
|
|
7626
|
+
|
|
7627
|
+
/**
|
|
7628
|
+
* GET /menu/v3/draft/modifier/{id}
|
|
7629
|
+
*
|
|
7630
|
+
* @param id
|
|
7631
|
+
* @param options - additional request options
|
|
7632
|
+
*/
|
|
7633
|
+
get_menu_v3_draft_modifier(
|
|
7634
|
+
id: string,
|
|
7635
|
+
options?: {
|
|
7636
|
+
query?: GetMenuV3DraftModifierQuery;
|
|
7637
|
+
} & RequestOptions
|
|
7638
|
+
): ResponsePromise<GetMenuV3DraftModifierResponse> {
|
|
7639
|
+
return this.request(
|
|
7640
|
+
"menu",
|
|
7641
|
+
"get_menu_v3_draft_modifier",
|
|
7642
|
+
"get",
|
|
7643
|
+
`/menu/v3/draft/modifier/${id}`,
|
|
7644
|
+
null,
|
|
7645
|
+
options
|
|
7646
|
+
);
|
|
7647
|
+
}
|
|
7648
|
+
|
|
7649
|
+
/**
|
|
7650
|
+
* PATCH /menu/v3/draft/modifier/{id}
|
|
7651
|
+
*
|
|
7652
|
+
* @param id
|
|
7653
|
+
* @param body - A partially populated DraftModifierEntity
|
|
7654
|
+
* @param options - additional request options
|
|
7655
|
+
*/
|
|
7656
|
+
patch_menu_v3_draft_modifier(
|
|
7657
|
+
id: string,
|
|
7658
|
+
body: PatchMenuV3DraftModifierBody,
|
|
7659
|
+
options?: RequestOptions
|
|
7660
|
+
): ResponsePromise<PatchMenuV3DraftModifierResponse> {
|
|
7661
|
+
return this.request(
|
|
7662
|
+
"menu",
|
|
7663
|
+
"patch_menu_v3_draft_modifier",
|
|
7664
|
+
"patch",
|
|
7665
|
+
`/menu/v3/draft/modifier/${id}`,
|
|
7666
|
+
body,
|
|
7667
|
+
options
|
|
7668
|
+
);
|
|
7669
|
+
}
|
|
7670
|
+
|
|
7671
|
+
/**
|
|
7672
|
+
* DELETE /menu/v3/draft/modifier/{id}
|
|
7673
|
+
*
|
|
7674
|
+
* @param id
|
|
7675
|
+
* @param options - additional request options
|
|
7676
|
+
*/
|
|
7677
|
+
delete_menu_v3_draft_modifier(
|
|
7678
|
+
id: string,
|
|
7679
|
+
options?: RequestOptions
|
|
7680
|
+
): ResponsePromise<DeleteMenuV3DraftModifierResponse> {
|
|
7681
|
+
return this.request(
|
|
7682
|
+
"menu",
|
|
7683
|
+
"delete_menu_v3_draft_modifier",
|
|
7684
|
+
"delete",
|
|
7685
|
+
`/menu/v3/draft/modifier/${id}`,
|
|
7686
|
+
null,
|
|
7687
|
+
options
|
|
7688
|
+
);
|
|
7689
|
+
}
|
|
7690
|
+
|
|
7691
|
+
/**
|
|
7692
|
+
* GET /menu/v3/draft/modifiers
|
|
7693
|
+
*
|
|
7694
|
+
* @param options - additional request options
|
|
7695
|
+
*/
|
|
7696
|
+
get_menu_v3_draft_modifiers(
|
|
7697
|
+
options?: {
|
|
7698
|
+
query?: GetMenuV3DraftModifiersQuery;
|
|
7699
|
+
} & RequestOptions
|
|
7700
|
+
): ResponsePromise<GetMenuV3DraftModifiersResponse> {
|
|
7701
|
+
return this.request(
|
|
7702
|
+
"menu",
|
|
7703
|
+
"get_menu_v3_draft_modifiers",
|
|
7704
|
+
"get",
|
|
7705
|
+
`/menu/v3/draft/modifiers`,
|
|
7706
|
+
null,
|
|
7707
|
+
options
|
|
7708
|
+
);
|
|
7709
|
+
}
|
|
7710
|
+
|
|
7711
|
+
/**
|
|
7712
|
+
* POST /menu/v3/draft/modifiers
|
|
7713
|
+
*
|
|
7714
|
+
* @param body
|
|
7715
|
+
* @param options - additional request options
|
|
7716
|
+
*/
|
|
7717
|
+
post_menu_v3_draft_modifiers(
|
|
7718
|
+
body: PostMenuV3DraftModifiersBody,
|
|
7719
|
+
options?: RequestOptions
|
|
7720
|
+
): ResponsePromise<PostMenuV3DraftModifiersResponse> {
|
|
7721
|
+
return this.request(
|
|
7722
|
+
"menu",
|
|
7723
|
+
"post_menu_v3_draft_modifiers",
|
|
7724
|
+
"post",
|
|
7725
|
+
`/menu/v3/draft/modifiers`,
|
|
7726
|
+
body,
|
|
7727
|
+
options
|
|
7728
|
+
);
|
|
7729
|
+
}
|
|
7730
|
+
|
|
7731
|
+
/**
|
|
7732
|
+
* GET /menu/v3/draft/modifiers/count
|
|
7733
|
+
*
|
|
7734
|
+
* @param options - additional request options
|
|
7735
|
+
*/
|
|
7736
|
+
get_menu_v3_draft_modifiers_count(
|
|
7737
|
+
options?: {
|
|
7738
|
+
query?: GetMenuV3DraftModifiersCountQuery;
|
|
7739
|
+
} & RequestOptions
|
|
7740
|
+
): ResponsePromise<GetMenuV3DraftModifiersCountResponse> {
|
|
7741
|
+
return this.request(
|
|
7742
|
+
"menu",
|
|
7743
|
+
"get_menu_v3_draft_modifiers_count",
|
|
7744
|
+
"get",
|
|
7745
|
+
`/menu/v3/draft/modifiers/count`,
|
|
7746
|
+
null,
|
|
7747
|
+
options
|
|
7748
|
+
);
|
|
7749
|
+
}
|
|
7750
|
+
|
|
7751
|
+
/**
|
|
7752
|
+
* POST /menu/v3/draft/brand
|
|
7753
|
+
*
|
|
7754
|
+
* @param body
|
|
7755
|
+
* @param options - additional request options
|
|
7756
|
+
*/
|
|
7757
|
+
post_menu_v3_draft_brand(
|
|
7758
|
+
body: PostMenuV3DraftBrandBody,
|
|
7759
|
+
options?: RequestOptions
|
|
7760
|
+
): ResponsePromise<PostMenuV3DraftBrandResponse> {
|
|
7761
|
+
return this.request(
|
|
7762
|
+
"menu",
|
|
7763
|
+
"post_menu_v3_draft_brand",
|
|
7764
|
+
"post",
|
|
7765
|
+
`/menu/v3/draft/brand`,
|
|
7766
|
+
body,
|
|
7767
|
+
options
|
|
7768
|
+
);
|
|
7769
|
+
}
|
|
7770
|
+
|
|
7771
|
+
/**
|
|
7772
|
+
* GET /menu/v3/draft/brand/{id}
|
|
7773
|
+
*
|
|
7774
|
+
* @param id
|
|
7775
|
+
* @param options - additional request options
|
|
7776
|
+
*/
|
|
7777
|
+
get_menu_v3_draft_brand(
|
|
7778
|
+
id: string,
|
|
7779
|
+
options?: {
|
|
7780
|
+
query?: GetMenuV3DraftBrandQuery;
|
|
7781
|
+
} & RequestOptions
|
|
7782
|
+
): ResponsePromise<GetMenuV3DraftBrandResponse> {
|
|
7783
|
+
return this.request(
|
|
7784
|
+
"menu",
|
|
7785
|
+
"get_menu_v3_draft_brand",
|
|
7786
|
+
"get",
|
|
7787
|
+
`/menu/v3/draft/brand/${id}`,
|
|
7788
|
+
null,
|
|
7789
|
+
options
|
|
7790
|
+
);
|
|
7791
|
+
}
|
|
7792
|
+
|
|
7793
|
+
/**
|
|
7794
|
+
* PATCH /menu/v3/draft/brand/{id}
|
|
7795
|
+
*
|
|
7796
|
+
* @param id
|
|
7797
|
+
* @param body - A partially populated DraftBrandEntity
|
|
7798
|
+
* @param options - additional request options
|
|
7799
|
+
*/
|
|
7800
|
+
patch_menu_v3_draft_brand(
|
|
7801
|
+
id: string,
|
|
7802
|
+
body: PatchMenuV3DraftBrandBody,
|
|
7803
|
+
options?: RequestOptions
|
|
7804
|
+
): ResponsePromise<PatchMenuV3DraftBrandResponse> {
|
|
7805
|
+
return this.request(
|
|
7806
|
+
"menu",
|
|
7807
|
+
"patch_menu_v3_draft_brand",
|
|
7808
|
+
"patch",
|
|
7809
|
+
`/menu/v3/draft/brand/${id}`,
|
|
7810
|
+
body,
|
|
7811
|
+
options
|
|
7812
|
+
);
|
|
7813
|
+
}
|
|
7814
|
+
|
|
7815
|
+
/**
|
|
7816
|
+
* DELETE /menu/v3/draft/brand/{id}
|
|
7817
|
+
*
|
|
7818
|
+
* @param id
|
|
7819
|
+
* @param options - additional request options
|
|
7820
|
+
*/
|
|
7821
|
+
delete_menu_v3_draft_brand(
|
|
7822
|
+
id: string,
|
|
7823
|
+
options?: RequestOptions
|
|
7824
|
+
): ResponsePromise<DeleteMenuV3DraftBrandResponse> {
|
|
7825
|
+
return this.request(
|
|
7826
|
+
"menu",
|
|
7827
|
+
"delete_menu_v3_draft_brand",
|
|
7828
|
+
"delete",
|
|
7829
|
+
`/menu/v3/draft/brand/${id}`,
|
|
7830
|
+
null,
|
|
7831
|
+
options
|
|
7832
|
+
);
|
|
7833
|
+
}
|
|
7834
|
+
|
|
7835
|
+
/**
|
|
7836
|
+
* GET /menu/v3/draft/brands
|
|
7837
|
+
*
|
|
7838
|
+
* @param options - additional request options
|
|
7839
|
+
*/
|
|
7840
|
+
get_menu_v3_draft_brands(
|
|
7841
|
+
options?: {
|
|
7842
|
+
query?: GetMenuV3DraftBrandsQuery;
|
|
7843
|
+
} & RequestOptions
|
|
7844
|
+
): ResponsePromise<GetMenuV3DraftBrandsResponse> {
|
|
7845
|
+
return this.request(
|
|
7846
|
+
"menu",
|
|
7847
|
+
"get_menu_v3_draft_brands",
|
|
7848
|
+
"get",
|
|
7849
|
+
`/menu/v3/draft/brands`,
|
|
7850
|
+
null,
|
|
7851
|
+
options
|
|
7852
|
+
);
|
|
7853
|
+
}
|
|
7854
|
+
|
|
7855
|
+
/**
|
|
7856
|
+
* POST /menu/v3/draft/brands
|
|
7857
|
+
*
|
|
7858
|
+
* @param body
|
|
7859
|
+
* @param options - additional request options
|
|
7860
|
+
*/
|
|
7861
|
+
post_menu_v3_draft_brands(
|
|
7862
|
+
body: PostMenuV3DraftBrandsBody,
|
|
7863
|
+
options?: RequestOptions
|
|
7864
|
+
): ResponsePromise<PostMenuV3DraftBrandsResponse> {
|
|
7865
|
+
return this.request(
|
|
7866
|
+
"menu",
|
|
7867
|
+
"post_menu_v3_draft_brands",
|
|
7868
|
+
"post",
|
|
7869
|
+
`/menu/v3/draft/brands`,
|
|
7870
|
+
body,
|
|
7871
|
+
options
|
|
7872
|
+
);
|
|
7873
|
+
}
|
|
7874
|
+
|
|
7875
|
+
/**
|
|
7876
|
+
* GET /menu/v3/draft/brands/count
|
|
7877
|
+
*
|
|
7878
|
+
* @param options - additional request options
|
|
7879
|
+
*/
|
|
7880
|
+
get_menu_v3_draft_brands_count(
|
|
7881
|
+
options?: {
|
|
7882
|
+
query?: GetMenuV3DraftBrandsCountQuery;
|
|
7883
|
+
} & RequestOptions
|
|
7884
|
+
): ResponsePromise<GetMenuV3DraftBrandsCountResponse> {
|
|
7885
|
+
return this.request(
|
|
7886
|
+
"menu",
|
|
7887
|
+
"get_menu_v3_draft_brands_count",
|
|
7888
|
+
"get",
|
|
7889
|
+
`/menu/v3/draft/brands/count`,
|
|
7890
|
+
null,
|
|
7891
|
+
options
|
|
7892
|
+
);
|
|
7893
|
+
}
|
|
7894
|
+
|
|
7895
|
+
/**
|
|
7896
|
+
* GET /menu/v3/draft/brand/{id}/modifiers
|
|
7897
|
+
*
|
|
7898
|
+
* @param id
|
|
7899
|
+
* @param options - additional request options
|
|
7900
|
+
*/
|
|
7901
|
+
get_menu_v3_draft_brand_modifiers(
|
|
7902
|
+
id: string,
|
|
7903
|
+
options?: {
|
|
7904
|
+
query?: GetMenuV3DraftBrandModifiersQuery;
|
|
7905
|
+
} & RequestOptions
|
|
7906
|
+
): ResponsePromise<GetMenuV3DraftBrandModifiersResponse> {
|
|
7907
|
+
return this.request(
|
|
7908
|
+
"menu",
|
|
7909
|
+
"get_menu_v3_draft_brand_modifiers",
|
|
7910
|
+
"get",
|
|
7911
|
+
`/menu/v3/draft/brand/${id}/modifiers`,
|
|
7912
|
+
null,
|
|
7913
|
+
options
|
|
7914
|
+
);
|
|
7915
|
+
}
|
|
7916
|
+
|
|
7917
|
+
/**
|
|
7918
|
+
* GET /menu/v3/draft/brand/{id}/modifier_groups
|
|
7919
|
+
*
|
|
7920
|
+
* @param id
|
|
7921
|
+
* @param options - additional request options
|
|
7922
|
+
*/
|
|
7923
|
+
get_menu_v3_draft_brand_modifier_groups(
|
|
7924
|
+
id: string,
|
|
7925
|
+
options?: {
|
|
7926
|
+
query?: GetMenuV3DraftBrandModifierGroupsQuery;
|
|
7927
|
+
} & RequestOptions
|
|
7928
|
+
): ResponsePromise<GetMenuV3DraftBrandModifierGroupsResponse> {
|
|
7929
|
+
return this.request(
|
|
7930
|
+
"menu",
|
|
7931
|
+
"get_menu_v3_draft_brand_modifier_groups",
|
|
7932
|
+
"get",
|
|
7933
|
+
`/menu/v3/draft/brand/${id}/modifier_groups`,
|
|
7934
|
+
null,
|
|
7935
|
+
options
|
|
7936
|
+
);
|
|
7937
|
+
}
|
|
7938
|
+
|
|
7939
|
+
/**
|
|
7940
|
+
* GET /menu/v3/draft/brand/{id}/items
|
|
7941
|
+
*
|
|
7942
|
+
* @param id
|
|
7943
|
+
* @param options - additional request options
|
|
7944
|
+
*/
|
|
7945
|
+
get_menu_v3_draft_brand_items(
|
|
7946
|
+
id: string,
|
|
7947
|
+
options?: {
|
|
7948
|
+
query?: GetMenuV3DraftBrandItemsQuery;
|
|
7949
|
+
} & RequestOptions
|
|
7950
|
+
): ResponsePromise<GetMenuV3DraftBrandItemsResponse> {
|
|
7951
|
+
return this.request(
|
|
7952
|
+
"menu",
|
|
7953
|
+
"get_menu_v3_draft_brand_items",
|
|
7954
|
+
"get",
|
|
7955
|
+
`/menu/v3/draft/brand/${id}/items`,
|
|
7956
|
+
null,
|
|
7957
|
+
options
|
|
7958
|
+
);
|
|
7959
|
+
}
|
|
7960
|
+
|
|
7961
|
+
/**
|
|
7962
|
+
* POST /menu/v3/draft/brand/{id}/publish
|
|
7963
|
+
*
|
|
7964
|
+
* @param id
|
|
7965
|
+
* @param options - additional request options
|
|
7966
|
+
*/
|
|
7967
|
+
post_menu_v3_draft_brand_publish(
|
|
7968
|
+
id: string,
|
|
7969
|
+
options?: RequestOptions
|
|
7970
|
+
): ResponsePromise<PostMenuV3DraftBrandPublishResponse> {
|
|
7971
|
+
return this.request(
|
|
7972
|
+
"menu",
|
|
7973
|
+
"post_menu_v3_draft_brand_publish",
|
|
7974
|
+
"post",
|
|
7975
|
+
`/menu/v3/draft/brand/${id}/publish`,
|
|
7976
|
+
null,
|
|
7977
|
+
options
|
|
7978
|
+
);
|
|
7979
|
+
}
|
|
7980
|
+
|
|
7981
|
+
/**
|
|
7982
|
+
* POST /menu/v3/draft/station
|
|
7983
|
+
*
|
|
7984
|
+
* @param body
|
|
7985
|
+
* @param options - additional request options
|
|
7986
|
+
*/
|
|
7987
|
+
post_menu_v3_draft_station(
|
|
7988
|
+
body: PostMenuV3DraftStationBody,
|
|
7989
|
+
options?: RequestOptions
|
|
7990
|
+
): ResponsePromise<PostMenuV3DraftStationResponse> {
|
|
7991
|
+
return this.request(
|
|
7992
|
+
"menu",
|
|
7993
|
+
"post_menu_v3_draft_station",
|
|
7994
|
+
"post",
|
|
7995
|
+
`/menu/v3/draft/station`,
|
|
7996
|
+
body,
|
|
7997
|
+
options
|
|
7998
|
+
);
|
|
7999
|
+
}
|
|
8000
|
+
|
|
8001
|
+
/**
|
|
8002
|
+
* GET /menu/v3/draft/station/{id}
|
|
8003
|
+
*
|
|
8004
|
+
* @param id
|
|
8005
|
+
* @param options - additional request options
|
|
8006
|
+
*/
|
|
8007
|
+
get_menu_v3_draft_station(
|
|
8008
|
+
id: string,
|
|
8009
|
+
options?: {
|
|
8010
|
+
query?: GetMenuV3DraftStationQuery;
|
|
8011
|
+
} & RequestOptions
|
|
8012
|
+
): ResponsePromise<GetMenuV3DraftStationResponse> {
|
|
8013
|
+
return this.request(
|
|
8014
|
+
"menu",
|
|
8015
|
+
"get_menu_v3_draft_station",
|
|
8016
|
+
"get",
|
|
8017
|
+
`/menu/v3/draft/station/${id}`,
|
|
8018
|
+
null,
|
|
8019
|
+
options
|
|
8020
|
+
);
|
|
8021
|
+
}
|
|
8022
|
+
|
|
8023
|
+
/**
|
|
8024
|
+
* PATCH /menu/v3/draft/station/{id}
|
|
8025
|
+
*
|
|
8026
|
+
* @param id
|
|
8027
|
+
* @param body - A partially populated StationEntity
|
|
8028
|
+
* @param options - additional request options
|
|
8029
|
+
*/
|
|
8030
|
+
patch_menu_v3_draft_station(
|
|
8031
|
+
id: string,
|
|
8032
|
+
body: PatchMenuV3DraftStationBody,
|
|
8033
|
+
options?: RequestOptions
|
|
8034
|
+
): ResponsePromise<PatchMenuV3DraftStationResponse> {
|
|
8035
|
+
return this.request(
|
|
8036
|
+
"menu",
|
|
8037
|
+
"patch_menu_v3_draft_station",
|
|
8038
|
+
"patch",
|
|
8039
|
+
`/menu/v3/draft/station/${id}`,
|
|
8040
|
+
body,
|
|
8041
|
+
options
|
|
8042
|
+
);
|
|
8043
|
+
}
|
|
8044
|
+
|
|
8045
|
+
/**
|
|
8046
|
+
* DELETE /menu/v3/draft/station/{id}
|
|
8047
|
+
*
|
|
8048
|
+
* @param id
|
|
8049
|
+
* @param options - additional request options
|
|
8050
|
+
*/
|
|
8051
|
+
delete_menu_v3_draft_station(
|
|
8052
|
+
id: string,
|
|
8053
|
+
options?: RequestOptions
|
|
8054
|
+
): ResponsePromise<DeleteMenuV3DraftStationResponse> {
|
|
8055
|
+
return this.request(
|
|
8056
|
+
"menu",
|
|
8057
|
+
"delete_menu_v3_draft_station",
|
|
8058
|
+
"delete",
|
|
8059
|
+
`/menu/v3/draft/station/${id}`,
|
|
8060
|
+
null,
|
|
8061
|
+
options
|
|
8062
|
+
);
|
|
8063
|
+
}
|
|
8064
|
+
|
|
8065
|
+
/**
|
|
8066
|
+
* GET /menu/v3/draft/stations
|
|
8067
|
+
*
|
|
8068
|
+
* @param options - additional request options
|
|
8069
|
+
*/
|
|
8070
|
+
get_menu_v3_draft_stations(
|
|
8071
|
+
options?: {
|
|
8072
|
+
query?: GetMenuV3DraftStationsQuery;
|
|
8073
|
+
} & RequestOptions
|
|
8074
|
+
): ResponsePromise<GetMenuV3DraftStationsResponse> {
|
|
8075
|
+
return this.request(
|
|
8076
|
+
"menu",
|
|
8077
|
+
"get_menu_v3_draft_stations",
|
|
8078
|
+
"get",
|
|
8079
|
+
`/menu/v3/draft/stations`,
|
|
8080
|
+
null,
|
|
8081
|
+
options
|
|
8082
|
+
);
|
|
8083
|
+
}
|
|
8084
|
+
|
|
8085
|
+
/**
|
|
8086
|
+
* POST /menu/v3/draft/stations
|
|
8087
|
+
*
|
|
8088
|
+
* @param body
|
|
8089
|
+
* @param options - additional request options
|
|
8090
|
+
*/
|
|
8091
|
+
post_menu_v3_draft_stations(
|
|
8092
|
+
body: PostMenuV3DraftStationsBody,
|
|
8093
|
+
options?: RequestOptions
|
|
8094
|
+
): ResponsePromise<PostMenuV3DraftStationsResponse> {
|
|
8095
|
+
return this.request(
|
|
8096
|
+
"menu",
|
|
8097
|
+
"post_menu_v3_draft_stations",
|
|
8098
|
+
"post",
|
|
8099
|
+
`/menu/v3/draft/stations`,
|
|
8100
|
+
body,
|
|
8101
|
+
options
|
|
8102
|
+
);
|
|
8103
|
+
}
|
|
8104
|
+
|
|
8105
|
+
/**
|
|
8106
|
+
* GET /menu/v3/draft/stations/count
|
|
8107
|
+
*
|
|
8108
|
+
* @param options - additional request options
|
|
8109
|
+
*/
|
|
8110
|
+
get_menu_v3_draft_stations_count(
|
|
8111
|
+
options?: {
|
|
8112
|
+
query?: GetMenuV3DraftStationsCountQuery;
|
|
8113
|
+
} & RequestOptions
|
|
8114
|
+
): ResponsePromise<GetMenuV3DraftStationsCountResponse> {
|
|
8115
|
+
return this.request(
|
|
8116
|
+
"menu",
|
|
8117
|
+
"get_menu_v3_draft_stations_count",
|
|
8118
|
+
"get",
|
|
8119
|
+
`/menu/v3/draft/stations/count`,
|
|
8120
|
+
null,
|
|
8121
|
+
options
|
|
8122
|
+
);
|
|
8123
|
+
}
|
|
8124
|
+
|
|
8125
|
+
/**
|
|
8126
|
+
* GET /menu/v3/draft/station/{id}/modifiers
|
|
8127
|
+
*
|
|
8128
|
+
* @param id
|
|
8129
|
+
* @param options - additional request options
|
|
8130
|
+
*/
|
|
8131
|
+
get_menu_v3_draft_station_modifiers(
|
|
8132
|
+
id: string,
|
|
8133
|
+
options?: {
|
|
8134
|
+
query?: GetMenuV3DraftStationModifiersQuery;
|
|
8135
|
+
} & RequestOptions
|
|
8136
|
+
): ResponsePromise<GetMenuV3DraftStationModifiersResponse> {
|
|
8137
|
+
return this.request(
|
|
8138
|
+
"menu",
|
|
8139
|
+
"get_menu_v3_draft_station_modifiers",
|
|
8140
|
+
"get",
|
|
8141
|
+
`/menu/v3/draft/station/${id}/modifiers`,
|
|
8142
|
+
null,
|
|
8143
|
+
options
|
|
8144
|
+
);
|
|
8145
|
+
}
|
|
8146
|
+
|
|
8147
|
+
/**
|
|
8148
|
+
* GET /menu/v3/draft/station/{id}/modifier_groups
|
|
8149
|
+
*
|
|
8150
|
+
* @param id
|
|
8151
|
+
* @param options - additional request options
|
|
8152
|
+
*/
|
|
8153
|
+
get_menu_v3_draft_station_modifier_groups(
|
|
8154
|
+
id: string,
|
|
8155
|
+
options?: {
|
|
8156
|
+
query?: GetMenuV3DraftStationModifierGroupsQuery;
|
|
8157
|
+
} & RequestOptions
|
|
8158
|
+
): ResponsePromise<GetMenuV3DraftStationModifierGroupsResponse> {
|
|
8159
|
+
return this.request(
|
|
8160
|
+
"menu",
|
|
8161
|
+
"get_menu_v3_draft_station_modifier_groups",
|
|
8162
|
+
"get",
|
|
8163
|
+
`/menu/v3/draft/station/${id}/modifier_groups`,
|
|
8164
|
+
null,
|
|
8165
|
+
options
|
|
8166
|
+
);
|
|
8167
|
+
}
|
|
8168
|
+
|
|
8169
|
+
/**
|
|
8170
|
+
* GET /menu/v3/draft/station/{id}/items
|
|
8171
|
+
*
|
|
8172
|
+
* @param id
|
|
8173
|
+
* @param options - additional request options
|
|
8174
|
+
*/
|
|
8175
|
+
get_menu_v3_draft_station_items(
|
|
8176
|
+
id: string,
|
|
8177
|
+
options?: {
|
|
8178
|
+
query?: GetMenuV3DraftStationItemsQuery;
|
|
8179
|
+
} & RequestOptions
|
|
8180
|
+
): ResponsePromise<GetMenuV3DraftStationItemsResponse> {
|
|
8181
|
+
return this.request(
|
|
8182
|
+
"menu",
|
|
8183
|
+
"get_menu_v3_draft_station_items",
|
|
8184
|
+
"get",
|
|
8185
|
+
`/menu/v3/draft/station/${id}/items`,
|
|
8186
|
+
null,
|
|
8187
|
+
options
|
|
8188
|
+
);
|
|
8189
|
+
}
|
|
8190
|
+
|
|
8191
|
+
/**
|
|
8192
|
+
* GET /menu/v3/draft/site/{id}/layouts
|
|
8193
|
+
*
|
|
8194
|
+
* @param id
|
|
8195
|
+
* @param options - additional request options
|
|
8196
|
+
*/
|
|
8197
|
+
get_menu_v3_draft_site_layouts(
|
|
8198
|
+
id: string,
|
|
8199
|
+
options?: {
|
|
8200
|
+
query?: GetMenuV3DraftSiteLayoutsQuery;
|
|
8201
|
+
} & RequestOptions
|
|
8202
|
+
): ResponsePromise<GetMenuV3DraftSiteLayoutsResponse> {
|
|
8203
|
+
return this.request(
|
|
8204
|
+
"menu",
|
|
8205
|
+
"get_menu_v3_draft_site_layouts",
|
|
8206
|
+
"get",
|
|
8207
|
+
`/menu/v3/draft/site/${id}/layouts`,
|
|
8208
|
+
null,
|
|
8209
|
+
options
|
|
8210
|
+
);
|
|
8211
|
+
}
|
|
8212
|
+
|
|
8213
|
+
/**
|
|
8214
|
+
* GET /menu/v3/categorys/count
|
|
8215
|
+
*
|
|
8216
|
+
* @param options - additional request options
|
|
8217
|
+
*/
|
|
8218
|
+
get_menu_v3_categorys_count(
|
|
8219
|
+
options?: {
|
|
8220
|
+
query?: GetMenuV3CategorysCountQuery;
|
|
8221
|
+
} & RequestOptions
|
|
8222
|
+
): ResponsePromise<GetMenuV3CategorysCountResponse> {
|
|
8223
|
+
return this.request(
|
|
8224
|
+
"menu",
|
|
8225
|
+
"get_menu_v3_categorys_count",
|
|
8226
|
+
"get",
|
|
8227
|
+
`/menu/v3/categorys/count`,
|
|
8228
|
+
null,
|
|
8229
|
+
options
|
|
8230
|
+
);
|
|
8231
|
+
}
|
|
8232
|
+
|
|
8233
|
+
/**
|
|
8234
|
+
* POST /menu/v3/brand/{id}/local
|
|
8235
|
+
*
|
|
8236
|
+
* @param id
|
|
8237
|
+
* @param options - additional request options
|
|
8238
|
+
*/
|
|
8239
|
+
post_menu_v3_brand_local(
|
|
8240
|
+
id: string,
|
|
8241
|
+
options?: RequestOptions
|
|
8242
|
+
): ResponsePromise<PostMenuV3BrandLocalResponse> {
|
|
8243
|
+
return this.request(
|
|
8244
|
+
"menu",
|
|
8245
|
+
"post_menu_v3_brand_local",
|
|
8246
|
+
"post",
|
|
8247
|
+
`/menu/v3/brand/${id}/local`,
|
|
8248
|
+
null,
|
|
8249
|
+
options
|
|
8250
|
+
);
|
|
8251
|
+
}
|
|
8252
|
+
|
|
6902
8253
|
/**
|
|
6903
8254
|
* GET /notification - Get all notifications
|
|
6904
8255
|
*
|