@compassdigital/sdk.typescript 3.45.1 → 3.46.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 +334 -59
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +362 -60
- package/lib/index.js.map +1 -1
- package/lib/interface/announcement.d.ts.map +1 -1
- package/lib/interface/announcement.js +1 -0
- package/lib/interface/announcement.js.map +1 -1
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/calendar.js +1 -0
- package/lib/interface/calendar.js.map +1 -1
- package/lib/interface/compassconnect.d.ts.map +1 -1
- package/lib/interface/compassconnect.js +1 -0
- package/lib/interface/compassconnect.js.map +1 -1
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/config.js +1 -0
- package/lib/interface/config.js.map +1 -1
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/datalake.js +1 -0
- package/lib/interface/datalake.js.map +1 -1
- package/lib/interface/delivery.d.ts +73 -0
- package/lib/interface/delivery.d.ts.map +1 -0
- package/lib/interface/delivery.js +5 -0
- package/lib/interface/delivery.js.map +1 -0
- package/lib/interface/email.d.ts.map +1 -1
- package/lib/interface/email.js +1 -0
- package/lib/interface/email.js.map +1 -1
- package/lib/interface/file.d.ts.map +1 -1
- package/lib/interface/file.js +1 -0
- package/lib/interface/file.js.map +1 -1
- package/lib/interface/kds.d.ts.map +1 -1
- package/lib/interface/kds.js +1 -0
- package/lib/interface/kds.js.map +1 -1
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/location.js +1 -0
- package/lib/interface/location.js.map +1 -1
- package/lib/interface/loyalty.d.ts.map +1 -1
- package/lib/interface/loyalty.js +1 -0
- package/lib/interface/loyalty.js.map +1 -1
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/mealplan.js +1 -0
- package/lib/interface/mealplan.js.map +1 -1
- package/lib/interface/menu.d.ts +1180 -96
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/menu.js +1 -0
- package/lib/interface/menu.js.map +1 -1
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/notification.js +1 -0
- package/lib/interface/notification.js.map +1 -1
- package/lib/interface/order.d.ts +12 -0
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/order.js +1 -0
- package/lib/interface/order.js.map +1 -1
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/partner.js +1 -0
- package/lib/interface/partner.js.map +1 -1
- package/lib/interface/payment.d.ts +7 -21
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/payment.js +1 -0
- package/lib/interface/payment.js.map +1 -1
- package/lib/interface/permission.d.ts.map +1 -1
- package/lib/interface/permission.js +1 -0
- package/lib/interface/permission.js.map +1 -1
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/promo.js +1 -0
- package/lib/interface/promo.js.map +1 -1
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/report.js +1 -0
- package/lib/interface/report.js.map +1 -1
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/shoppingcart.js +1 -0
- package/lib/interface/shoppingcart.js.map +1 -1
- package/lib/interface/sms.js +1 -0
- package/lib/interface/sms.js.map +1 -1
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/task.js +1 -0
- package/lib/interface/task.js.map +1 -1
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/user.js +1 -0
- package/lib/interface/user.js.map +1 -1
- package/lib/interface/vendor.d.ts.map +1 -1
- package/lib/interface/vendor.js +1 -0
- package/lib/interface/vendor.js.map +1 -1
- package/manifest.json +4 -0
- package/package.json +2 -2
- package/quicktest.json +8 -0
- package/src/index.ts +898 -162
- package/src/interface/announcement.ts +1 -0
- package/src/interface/calendar.ts +1 -0
- package/src/interface/compassconnect.ts +1 -0
- package/src/interface/config.ts +1 -0
- package/src/interface/datalake.ts +1 -0
- package/src/interface/delivery.ts +102 -0
- package/src/interface/email.ts +1 -0
- package/src/interface/file.ts +1 -0
- package/src/interface/kds.ts +1 -0
- package/src/interface/location.ts +1 -0
- package/src/interface/loyalty.ts +1 -0
- package/src/interface/mealplan.ts +1 -0
- package/src/interface/menu.ts +1660 -171
- package/src/interface/notification.ts +1 -0
- package/src/interface/order.ts +25 -0
- package/src/interface/partner.ts +1 -0
- package/src/interface/payment.ts +15 -41
- package/src/interface/permission.ts +1 -0
- package/src/interface/promo.ts +1 -0
- package/src/interface/report.ts +1 -0
- package/src/interface/shoppingcart.ts +1 -0
- package/src/interface/sms.ts +1 -0
- package/src/interface/task.ts +1 -0
- package/src/interface/user.ts +1 -0
- package/src/interface/vendor.ts +1 -0
package/src/index.ts
CHANGED
|
@@ -27,8 +27,6 @@ import {
|
|
|
27
27
|
GetPaymentMethodsResponse,
|
|
28
28
|
GetPaymentHpcQuery,
|
|
29
29
|
GetPaymentHpcResponse,
|
|
30
|
-
GetPaymentHcaptchaVerifyQuery,
|
|
31
|
-
GetPaymentHcaptchaVerifyResponse,
|
|
32
30
|
GetPaymentBadgepayQuery,
|
|
33
31
|
GetPaymentBadgepayResponse,
|
|
34
32
|
PostPaymentBadgepayBody,
|
|
@@ -460,22 +458,28 @@ import {
|
|
|
460
458
|
import {
|
|
461
459
|
GetMenuV3ModifiersQuery,
|
|
462
460
|
GetMenuV3ModifiersResponse,
|
|
461
|
+
PostMenuV3ModifiersBody,
|
|
462
|
+
PostMenuV3ModifiersResponse,
|
|
463
463
|
GetMenuV3ModifierQuery,
|
|
464
464
|
GetMenuV3ModifierResponse,
|
|
465
465
|
PatchMenuV3ModifierBody,
|
|
466
466
|
PatchMenuV3ModifierResponse,
|
|
467
|
+
DeleteMenuV3ModifierResponse,
|
|
467
468
|
PostMenuV3ModifierBody,
|
|
468
469
|
PostMenuV3ModifierResponse,
|
|
469
470
|
GetMenuV3ModifierCountQuery,
|
|
470
471
|
GetMenuV3ModifierCountResponse,
|
|
471
472
|
GetMenuV3ModifierGroupsQuery,
|
|
472
473
|
GetMenuV3ModifierGroupsResponse,
|
|
474
|
+
PostMenuV3ModifierGroupsBody,
|
|
475
|
+
PostMenuV3ModifierGroupsResponse,
|
|
473
476
|
PostMenuV3ModifierGroupBody,
|
|
474
477
|
PostMenuV3ModifierGroupResponse,
|
|
475
478
|
GetMenuV3ModifierGroupQuery,
|
|
476
479
|
GetMenuV3ModifierGroupResponse,
|
|
477
480
|
PatchMenuV3ModifierGroupBody,
|
|
478
481
|
PatchMenuV3ModifierGroupResponse,
|
|
482
|
+
DeleteMenuV3ModifierGroupResponse,
|
|
479
483
|
GetMenuV3ModifierGroupCountQuery,
|
|
480
484
|
GetMenuV3ModifierGroupCountResponse,
|
|
481
485
|
GetMenuV3ModifierGroupRelationshipsModifiersQuery,
|
|
@@ -488,12 +492,16 @@ import {
|
|
|
488
492
|
GetMenuV3ModifierGroupRelationshipsModifierResponse,
|
|
489
493
|
PatchMenuV3ModifierGroupRelationshipsModifierBody,
|
|
490
494
|
PatchMenuV3ModifierGroupRelationshipsModifierResponse,
|
|
495
|
+
DeleteMenuV3ModifierGroupRelationshipsModifierResponse,
|
|
491
496
|
GetMenuV3ItemsQuery,
|
|
492
497
|
GetMenuV3ItemsResponse,
|
|
498
|
+
PostMenuV3ItemsBody,
|
|
499
|
+
PostMenuV3ItemsResponse,
|
|
493
500
|
GetMenuV3ItemQuery,
|
|
494
501
|
GetMenuV3ItemResponse,
|
|
495
502
|
PatchMenuV3ItemBody,
|
|
496
503
|
PatchMenuV3ItemResponse,
|
|
504
|
+
DeleteMenuV3ItemResponse,
|
|
497
505
|
PostMenuV3ItemBody,
|
|
498
506
|
PostMenuV3ItemResponse,
|
|
499
507
|
GetMenuV3ItemsCountQuery,
|
|
@@ -504,22 +512,17 @@ import {
|
|
|
504
512
|
PostMenuV3ItemRelationshipsModifierGroupsResponse,
|
|
505
513
|
PostMenuV3ItemRelationshipsModifierGroupBody,
|
|
506
514
|
PostMenuV3ItemRelationshipsModifierGroupResponse,
|
|
515
|
+
GetMenuV3ItemRelationshipsModifierGroupQuery,
|
|
516
|
+
GetMenuV3ItemRelationshipsModifierGroupResponse,
|
|
507
517
|
PatchMenuV3ItemRelationshipsModifierGroupBody,
|
|
508
518
|
PatchMenuV3ItemRelationshipsModifierGroupResponse,
|
|
509
519
|
DeleteMenuV3ItemRelationshipsModifierGroupResponse,
|
|
510
|
-
GetMenuV3MenusQuery,
|
|
511
|
-
GetMenuV3MenusResponse,
|
|
512
|
-
GetMenuV3MenuQuery,
|
|
513
|
-
GetMenuV3MenuResponse,
|
|
514
|
-
PatchMenuV3MenuBody,
|
|
515
|
-
PatchMenuV3MenuResponse,
|
|
516
|
-
DeleteMenuV3MenuResponse,
|
|
517
|
-
PostMenuV3MenuBody,
|
|
518
|
-
PostMenuV3MenuResponse,
|
|
519
|
-
GetMenuV3MenusCountQuery,
|
|
520
|
-
GetMenuV3MenusCountResponse,
|
|
521
520
|
GetMenuV3LayoutsQuery,
|
|
522
521
|
GetMenuV3LayoutsResponse,
|
|
522
|
+
PostMenuV3LayoutsBody,
|
|
523
|
+
PostMenuV3LayoutsResponse,
|
|
524
|
+
GetMenuV3LayoutCategoriesQuery,
|
|
525
|
+
GetMenuV3LayoutCategoriesResponse,
|
|
523
526
|
GetMenuV3LayoutQuery,
|
|
524
527
|
GetMenuV3LayoutResponse,
|
|
525
528
|
PatchMenuV3LayoutBody,
|
|
@@ -546,9 +549,43 @@ import {
|
|
|
546
549
|
PostMenuV3CategoryRelationshipsItemsResponse,
|
|
547
550
|
PostMenuV3CategoryRelationshipsItemBody,
|
|
548
551
|
PostMenuV3CategoryRelationshipsItemResponse,
|
|
552
|
+
GetMenuV3CategoryRelationshipsItemQuery,
|
|
553
|
+
GetMenuV3CategoryRelationshipsItemResponse,
|
|
549
554
|
PatchMenuV3CategoryRelationshipsItemBody,
|
|
550
555
|
PatchMenuV3CategoryRelationshipsItemResponse,
|
|
551
556
|
DeleteMenuV3CategoryRelationshipsItemResponse,
|
|
557
|
+
GetMenuV3BrandsQuery,
|
|
558
|
+
GetMenuV3BrandsResponse,
|
|
559
|
+
PostMenuV3BrandsBody,
|
|
560
|
+
PostMenuV3BrandsResponse,
|
|
561
|
+
GetMenuV3BrandModifiersQuery,
|
|
562
|
+
GetMenuV3BrandModifiersResponse,
|
|
563
|
+
GetMenuV3BrandModifierGroupsQuery,
|
|
564
|
+
GetMenuV3BrandModifierGroupsResponse,
|
|
565
|
+
GetMenuV3BrandItemsQuery,
|
|
566
|
+
GetMenuV3BrandItemsResponse,
|
|
567
|
+
GetMenuV3BrandQuery,
|
|
568
|
+
GetMenuV3BrandResponse,
|
|
569
|
+
PatchMenuV3BrandBody,
|
|
570
|
+
PatchMenuV3BrandResponse,
|
|
571
|
+
DeleteMenuV3BrandResponse,
|
|
572
|
+
PostMenuV3BrandBody,
|
|
573
|
+
PostMenuV3BrandResponse,
|
|
574
|
+
GetMenuV3BrandsCountQuery,
|
|
575
|
+
GetMenuV3BrandsCountResponse,
|
|
576
|
+
GetMenuV3StationsQuery,
|
|
577
|
+
GetMenuV3StationsResponse,
|
|
578
|
+
PostMenuV3StationsBody,
|
|
579
|
+
PostMenuV3StationsResponse,
|
|
580
|
+
GetMenuV3StationQuery,
|
|
581
|
+
GetMenuV3StationResponse,
|
|
582
|
+
PatchMenuV3StationBody,
|
|
583
|
+
PatchMenuV3StationResponse,
|
|
584
|
+
DeleteMenuV3StationResponse,
|
|
585
|
+
PostMenuV3StationBody,
|
|
586
|
+
PostMenuV3StationResponse,
|
|
587
|
+
GetMenuV3StationsCountQuery,
|
|
588
|
+
GetMenuV3StationsCountResponse,
|
|
552
589
|
GetMenuClientQuery,
|
|
553
590
|
GetMenuClientResponse,
|
|
554
591
|
GetMenusQuery,
|
|
@@ -607,6 +644,28 @@ import {
|
|
|
607
644
|
PostMenuPartialGroupItemOptionsQuery,
|
|
608
645
|
PostMenuPartialGroupItemOptionsBody,
|
|
609
646
|
PostMenuPartialGroupItemOptionsResponse,
|
|
647
|
+
PostMenuV3LayoutPublishQuery,
|
|
648
|
+
PostMenuV3LayoutPublishResponse,
|
|
649
|
+
PostMenuV3CategorysBody,
|
|
650
|
+
PostMenuV3CategorysResponse,
|
|
651
|
+
GetMenuV3CategoryRelationshipsItemsCountQuery,
|
|
652
|
+
GetMenuV3CategoryRelationshipsItemsCountResponse,
|
|
653
|
+
GetMenuV3ItemRelationshipsModifierGroupsCountQuery,
|
|
654
|
+
GetMenuV3ItemRelationshipsModifierGroupsCountResponse,
|
|
655
|
+
GetMenuV3ModifierGroupsCountQuery,
|
|
656
|
+
GetMenuV3ModifierGroupsCountResponse,
|
|
657
|
+
GetMenuV3ModifierGroupRelationshipsModifiersCountQuery,
|
|
658
|
+
GetMenuV3ModifierGroupRelationshipsModifiersCountResponse,
|
|
659
|
+
GetMenuV3ModifiersCountQuery,
|
|
660
|
+
GetMenuV3ModifiersCountResponse,
|
|
661
|
+
GetMenuV3StationModifiersQuery,
|
|
662
|
+
GetMenuV3StationModifiersResponse,
|
|
663
|
+
GetMenuV3StationModifierGroupsQuery,
|
|
664
|
+
GetMenuV3StationModifierGroupsResponse,
|
|
665
|
+
GetMenuV3StationItemsQuery,
|
|
666
|
+
GetMenuV3StationItemsResponse,
|
|
667
|
+
GetMenuV3SiteLayoutsQuery,
|
|
668
|
+
GetMenuV3SiteLayoutsResponse,
|
|
610
669
|
} from "./interface/menu";
|
|
611
670
|
|
|
612
671
|
import {
|
|
@@ -682,6 +741,13 @@ import {
|
|
|
682
741
|
DeletePermissionRoleUserResponse,
|
|
683
742
|
} from "./interface/permission";
|
|
684
743
|
|
|
744
|
+
import {
|
|
745
|
+
GetDeliveryOrderQuery,
|
|
746
|
+
GetDeliveryOrderResponse,
|
|
747
|
+
GetDeliveryQuery,
|
|
748
|
+
GetDeliveryResponse,
|
|
749
|
+
} from "./interface/delivery";
|
|
750
|
+
|
|
685
751
|
import {
|
|
686
752
|
PostLoyaltyEnrollQuery,
|
|
687
753
|
PostLoyaltyEnrollResponse,
|
|
@@ -961,26 +1027,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
961
1027
|
return this.request("payment", "get_payment_hpc", "get", `/payment/hpc`, null, options);
|
|
962
1028
|
}
|
|
963
1029
|
|
|
964
|
-
/**
|
|
965
|
-
* GET /payment/hcaptcha/verify
|
|
966
|
-
*
|
|
967
|
-
* @param options - additional request options
|
|
968
|
-
*/
|
|
969
|
-
get_payment_hcaptcha_verify(
|
|
970
|
-
options?: {
|
|
971
|
-
query?: GetPaymentHcaptchaVerifyQuery;
|
|
972
|
-
} & RequestOptions
|
|
973
|
-
): ResponsePromise<GetPaymentHcaptchaVerifyResponse> {
|
|
974
|
-
return this.request(
|
|
975
|
-
"payment",
|
|
976
|
-
"get_payment_hcaptcha_verify",
|
|
977
|
-
"get",
|
|
978
|
-
`/payment/hcaptcha/verify`,
|
|
979
|
-
null,
|
|
980
|
-
options
|
|
981
|
-
);
|
|
982
|
-
}
|
|
983
|
-
|
|
984
1030
|
/**
|
|
985
1031
|
* GET /payment/{id}/badgepay
|
|
986
1032
|
*
|
|
@@ -4751,6 +4797,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4751
4797
|
);
|
|
4752
4798
|
}
|
|
4753
4799
|
|
|
4800
|
+
/**
|
|
4801
|
+
* POST /menu/v3/modifiers
|
|
4802
|
+
*
|
|
4803
|
+
* @param body
|
|
4804
|
+
* @param options - additional request options
|
|
4805
|
+
*/
|
|
4806
|
+
post_menu_v3_modifiers(
|
|
4807
|
+
body: PostMenuV3ModifiersBody,
|
|
4808
|
+
options?: RequestOptions
|
|
4809
|
+
): ResponsePromise<PostMenuV3ModifiersResponse> {
|
|
4810
|
+
return this.request(
|
|
4811
|
+
"menu",
|
|
4812
|
+
"post_menu_v3_modifiers",
|
|
4813
|
+
"post",
|
|
4814
|
+
`/menu/v3/modifiers`,
|
|
4815
|
+
body,
|
|
4816
|
+
options
|
|
4817
|
+
);
|
|
4818
|
+
}
|
|
4819
|
+
|
|
4754
4820
|
/**
|
|
4755
4821
|
* GET /menu/v3/modifier/{id}
|
|
4756
4822
|
*
|
|
@@ -4777,7 +4843,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4777
4843
|
* PATCH /menu/v3/modifier/{id}
|
|
4778
4844
|
*
|
|
4779
4845
|
* @param id
|
|
4780
|
-
* @param body
|
|
4846
|
+
* @param body - A partially populated ModifierEntity
|
|
4781
4847
|
* @param options - additional request options
|
|
4782
4848
|
*/
|
|
4783
4849
|
patch_menu_v3_modifier(
|
|
@@ -4795,6 +4861,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4795
4861
|
);
|
|
4796
4862
|
}
|
|
4797
4863
|
|
|
4864
|
+
/**
|
|
4865
|
+
* DELETE /menu/v3/modifier/{id}
|
|
4866
|
+
*
|
|
4867
|
+
* @param id
|
|
4868
|
+
* @param options - additional request options
|
|
4869
|
+
*/
|
|
4870
|
+
delete_menu_v3_modifier(
|
|
4871
|
+
id: string,
|
|
4872
|
+
options?: RequestOptions
|
|
4873
|
+
): ResponsePromise<DeleteMenuV3ModifierResponse> {
|
|
4874
|
+
return this.request(
|
|
4875
|
+
"menu",
|
|
4876
|
+
"delete_menu_v3_modifier",
|
|
4877
|
+
"delete",
|
|
4878
|
+
`/menu/v3/modifier/${id}`,
|
|
4879
|
+
null,
|
|
4880
|
+
options
|
|
4881
|
+
);
|
|
4882
|
+
}
|
|
4883
|
+
|
|
4798
4884
|
/**
|
|
4799
4885
|
* POST /menu/v3/modifier
|
|
4800
4886
|
*
|
|
@@ -4855,6 +4941,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4855
4941
|
);
|
|
4856
4942
|
}
|
|
4857
4943
|
|
|
4944
|
+
/**
|
|
4945
|
+
* POST /menu/v3/modifier-groups
|
|
4946
|
+
*
|
|
4947
|
+
* @param body
|
|
4948
|
+
* @param options - additional request options
|
|
4949
|
+
*/
|
|
4950
|
+
post_menu_v3_modifier_groups(
|
|
4951
|
+
body: PostMenuV3ModifierGroupsBody,
|
|
4952
|
+
options?: RequestOptions
|
|
4953
|
+
): ResponsePromise<PostMenuV3ModifierGroupsResponse> {
|
|
4954
|
+
return this.request(
|
|
4955
|
+
"menu",
|
|
4956
|
+
"post_menu_v3_modifier_groups",
|
|
4957
|
+
"post",
|
|
4958
|
+
`/menu/v3/modifier-groups`,
|
|
4959
|
+
body,
|
|
4960
|
+
options
|
|
4961
|
+
);
|
|
4962
|
+
}
|
|
4963
|
+
|
|
4858
4964
|
/**
|
|
4859
4965
|
* POST /menu/v3/modifier-group
|
|
4860
4966
|
*
|
|
@@ -4901,7 +5007,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4901
5007
|
* PATCH /menu/v3/modifier-group/{id}
|
|
4902
5008
|
*
|
|
4903
5009
|
* @param id
|
|
4904
|
-
* @param body
|
|
5010
|
+
* @param body - A partially populated ModifierGroupEntity
|
|
4905
5011
|
* @param options - additional request options
|
|
4906
5012
|
*/
|
|
4907
5013
|
patch_menu_v3_modifier_group(
|
|
@@ -4919,6 +5025,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4919
5025
|
);
|
|
4920
5026
|
}
|
|
4921
5027
|
|
|
5028
|
+
/**
|
|
5029
|
+
* DELETE /menu/v3/modifier-group/{id}
|
|
5030
|
+
*
|
|
5031
|
+
* @param id
|
|
5032
|
+
* @param options - additional request options
|
|
5033
|
+
*/
|
|
5034
|
+
delete_menu_v3_modifier_group(
|
|
5035
|
+
id: string,
|
|
5036
|
+
options?: RequestOptions
|
|
5037
|
+
): ResponsePromise<DeleteMenuV3ModifierGroupResponse> {
|
|
5038
|
+
return this.request(
|
|
5039
|
+
"menu",
|
|
5040
|
+
"delete_menu_v3_modifier_group",
|
|
5041
|
+
"delete",
|
|
5042
|
+
`/menu/v3/modifier-group/${id}`,
|
|
5043
|
+
null,
|
|
5044
|
+
options
|
|
5045
|
+
);
|
|
5046
|
+
}
|
|
5047
|
+
|
|
4922
5048
|
/**
|
|
4923
5049
|
* GET /menu/v3/modifier-group/count
|
|
4924
5050
|
*
|
|
@@ -5025,7 +5151,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5025
5151
|
* PATCH /menu/v3/modifier-group/relationships/modifier/{id}
|
|
5026
5152
|
*
|
|
5027
5153
|
* @param id
|
|
5028
|
-
* @param body
|
|
5154
|
+
* @param body - A partially populated ModifierGroupToModifierRelationship
|
|
5029
5155
|
* @param options - additional request options
|
|
5030
5156
|
*/
|
|
5031
5157
|
patch_menu_v3_modifier_group_relationships_modifier(
|
|
@@ -5043,6 +5169,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5043
5169
|
);
|
|
5044
5170
|
}
|
|
5045
5171
|
|
|
5172
|
+
/**
|
|
5173
|
+
* DELETE /menu/v3/modifier-group/relationships/modifier/{id}
|
|
5174
|
+
*
|
|
5175
|
+
* @param id
|
|
5176
|
+
* @param options - additional request options
|
|
5177
|
+
*/
|
|
5178
|
+
delete_menu_v3_modifier_group_relationships_modifier(
|
|
5179
|
+
id: string,
|
|
5180
|
+
options?: RequestOptions
|
|
5181
|
+
): ResponsePromise<DeleteMenuV3ModifierGroupRelationshipsModifierResponse> {
|
|
5182
|
+
return this.request(
|
|
5183
|
+
"menu",
|
|
5184
|
+
"delete_menu_v3_modifier_group_relationships_modifier",
|
|
5185
|
+
"delete",
|
|
5186
|
+
`/menu/v3/modifier-group/relationships/modifier/${id}`,
|
|
5187
|
+
null,
|
|
5188
|
+
options
|
|
5189
|
+
);
|
|
5190
|
+
}
|
|
5191
|
+
|
|
5046
5192
|
/**
|
|
5047
5193
|
* GET /menu/v3/items
|
|
5048
5194
|
*
|
|
@@ -5056,6 +5202,19 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5056
5202
|
return this.request("menu", "get_menu_v3_items", "get", `/menu/v3/items`, null, options);
|
|
5057
5203
|
}
|
|
5058
5204
|
|
|
5205
|
+
/**
|
|
5206
|
+
* POST /menu/v3/items
|
|
5207
|
+
*
|
|
5208
|
+
* @param body
|
|
5209
|
+
* @param options - additional request options
|
|
5210
|
+
*/
|
|
5211
|
+
post_menu_v3_items(
|
|
5212
|
+
body: PostMenuV3ItemsBody,
|
|
5213
|
+
options?: RequestOptions
|
|
5214
|
+
): ResponsePromise<PostMenuV3ItemsResponse> {
|
|
5215
|
+
return this.request("menu", "post_menu_v3_items", "post", `/menu/v3/items`, body, options);
|
|
5216
|
+
}
|
|
5217
|
+
|
|
5059
5218
|
/**
|
|
5060
5219
|
* GET /menu/v3/item/{id}
|
|
5061
5220
|
*
|
|
@@ -5075,7 +5234,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5075
5234
|
* PATCH /menu/v3/item/{id}
|
|
5076
5235
|
*
|
|
5077
5236
|
* @param id
|
|
5078
|
-
* @param body
|
|
5237
|
+
* @param body - A partially populated ItemEntity
|
|
5079
5238
|
* @param options - additional request options
|
|
5080
5239
|
*/
|
|
5081
5240
|
patch_menu_v3_item(
|
|
@@ -5093,6 +5252,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5093
5252
|
);
|
|
5094
5253
|
}
|
|
5095
5254
|
|
|
5255
|
+
/**
|
|
5256
|
+
* DELETE /menu/v3/item/{id}
|
|
5257
|
+
*
|
|
5258
|
+
* @param id
|
|
5259
|
+
* @param options - additional request options
|
|
5260
|
+
*/
|
|
5261
|
+
delete_menu_v3_item(
|
|
5262
|
+
id: string,
|
|
5263
|
+
options?: RequestOptions
|
|
5264
|
+
): ResponsePromise<DeleteMenuV3ItemResponse> {
|
|
5265
|
+
return this.request(
|
|
5266
|
+
"menu",
|
|
5267
|
+
"delete_menu_v3_item",
|
|
5268
|
+
"delete",
|
|
5269
|
+
`/menu/v3/item/${id}`,
|
|
5270
|
+
null,
|
|
5271
|
+
options
|
|
5272
|
+
);
|
|
5273
|
+
}
|
|
5274
|
+
|
|
5096
5275
|
/**
|
|
5097
5276
|
* POST /menu/v3/item
|
|
5098
5277
|
*
|
|
@@ -5186,11 +5365,33 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5186
5365
|
);
|
|
5187
5366
|
}
|
|
5188
5367
|
|
|
5368
|
+
/**
|
|
5369
|
+
* GET /menu/v3/item/relationships/modifier-group/{id}
|
|
5370
|
+
*
|
|
5371
|
+
* @param id
|
|
5372
|
+
* @param options - additional request options
|
|
5373
|
+
*/
|
|
5374
|
+
get_menu_v3_item_relationships_modifier_group(
|
|
5375
|
+
id: string,
|
|
5376
|
+
options?: {
|
|
5377
|
+
query?: GetMenuV3ItemRelationshipsModifierGroupQuery;
|
|
5378
|
+
} & RequestOptions
|
|
5379
|
+
): ResponsePromise<GetMenuV3ItemRelationshipsModifierGroupResponse> {
|
|
5380
|
+
return this.request(
|
|
5381
|
+
"menu",
|
|
5382
|
+
"get_menu_v3_item_relationships_modifier_group",
|
|
5383
|
+
"get",
|
|
5384
|
+
`/menu/v3/item/relationships/modifier-group/${id}`,
|
|
5385
|
+
null,
|
|
5386
|
+
options
|
|
5387
|
+
);
|
|
5388
|
+
}
|
|
5389
|
+
|
|
5189
5390
|
/**
|
|
5190
5391
|
* PATCH /menu/v3/item/relationships/modifier-group/{id}
|
|
5191
5392
|
*
|
|
5192
5393
|
* @param id
|
|
5193
|
-
* @param body
|
|
5394
|
+
* @param body - A partially populated ItemToModifierGroupRelationship
|
|
5194
5395
|
* @param options - additional request options
|
|
5195
5396
|
*/
|
|
5196
5397
|
patch_menu_v3_item_relationships_modifier_group(
|
|
@@ -5229,121 +5430,53 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5229
5430
|
}
|
|
5230
5431
|
|
|
5231
5432
|
/**
|
|
5232
|
-
* GET /menu/v3/
|
|
5233
|
-
*
|
|
5234
|
-
* @param options - additional request options
|
|
5235
|
-
*/
|
|
5236
|
-
get_menu_v3_menus(
|
|
5237
|
-
options?: {
|
|
5238
|
-
query?: GetMenuV3MenusQuery;
|
|
5239
|
-
} & RequestOptions
|
|
5240
|
-
): ResponsePromise<GetMenuV3MenusResponse> {
|
|
5241
|
-
return this.request("menu", "get_menu_v3_menus", "get", `/menu/v3/menus`, null, options);
|
|
5242
|
-
}
|
|
5243
|
-
|
|
5244
|
-
/**
|
|
5245
|
-
* GET /menu/v3/menu/{id}
|
|
5433
|
+
* GET /menu/v3/layouts
|
|
5246
5434
|
*
|
|
5247
|
-
* @param id
|
|
5248
5435
|
* @param options - additional request options
|
|
5249
5436
|
*/
|
|
5250
|
-
|
|
5251
|
-
id: string,
|
|
5437
|
+
get_menu_v3_layouts(
|
|
5252
5438
|
options?: {
|
|
5253
|
-
query?:
|
|
5439
|
+
query?: GetMenuV3LayoutsQuery;
|
|
5254
5440
|
} & RequestOptions
|
|
5255
|
-
): ResponsePromise<
|
|
5256
|
-
return this.request("menu", "
|
|
5441
|
+
): ResponsePromise<GetMenuV3LayoutsResponse> {
|
|
5442
|
+
return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
|
|
5257
5443
|
}
|
|
5258
5444
|
|
|
5259
5445
|
/**
|
|
5260
|
-
*
|
|
5446
|
+
* POST /menu/v3/layouts
|
|
5261
5447
|
*
|
|
5262
|
-
* @param id
|
|
5263
5448
|
* @param body
|
|
5264
5449
|
* @param options - additional request options
|
|
5265
5450
|
*/
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
body: PatchMenuV3MenuBody,
|
|
5451
|
+
post_menu_v3_layouts(
|
|
5452
|
+
body: PostMenuV3LayoutsBody,
|
|
5269
5453
|
options?: RequestOptions
|
|
5270
|
-
): ResponsePromise<
|
|
5271
|
-
return this.request(
|
|
5272
|
-
"menu",
|
|
5273
|
-
"patch_menu_v3_menu",
|
|
5274
|
-
"patch",
|
|
5275
|
-
`/menu/v3/menu/${id}`,
|
|
5276
|
-
body,
|
|
5277
|
-
options
|
|
5278
|
-
);
|
|
5454
|
+
): ResponsePromise<PostMenuV3LayoutsResponse> {
|
|
5455
|
+
return this.request("menu", "post_menu_v3_layouts", "post", `/menu/v3/layouts`, body, options);
|
|
5279
5456
|
}
|
|
5280
5457
|
|
|
5281
5458
|
/**
|
|
5282
|
-
*
|
|
5459
|
+
* GET /menu/v3/layout/{id}/categories
|
|
5283
5460
|
*
|
|
5284
5461
|
* @param id
|
|
5285
5462
|
* @param options - additional request options
|
|
5286
5463
|
*/
|
|
5287
|
-
|
|
5464
|
+
get_menu_v3_layout_categories(
|
|
5288
5465
|
id: string,
|
|
5289
|
-
options?: RequestOptions
|
|
5290
|
-
): ResponsePromise<DeleteMenuV3MenuResponse> {
|
|
5291
|
-
return this.request(
|
|
5292
|
-
"menu",
|
|
5293
|
-
"delete_menu_v3_menu",
|
|
5294
|
-
"delete",
|
|
5295
|
-
`/menu/v3/menu/${id}`,
|
|
5296
|
-
null,
|
|
5297
|
-
options
|
|
5298
|
-
);
|
|
5299
|
-
}
|
|
5300
|
-
|
|
5301
|
-
/**
|
|
5302
|
-
* POST /menu/v3/menu
|
|
5303
|
-
*
|
|
5304
|
-
* @param body
|
|
5305
|
-
* @param options - additional request options
|
|
5306
|
-
*/
|
|
5307
|
-
post_menu_v3_menu(
|
|
5308
|
-
body: PostMenuV3MenuBody,
|
|
5309
|
-
options?: RequestOptions
|
|
5310
|
-
): ResponsePromise<PostMenuV3MenuResponse> {
|
|
5311
|
-
return this.request("menu", "post_menu_v3_menu", "post", `/menu/v3/menu`, body, options);
|
|
5312
|
-
}
|
|
5313
|
-
|
|
5314
|
-
/**
|
|
5315
|
-
* GET /menu/v3/menus/count
|
|
5316
|
-
*
|
|
5317
|
-
* @param options - additional request options
|
|
5318
|
-
*/
|
|
5319
|
-
get_menu_v3_menus_count(
|
|
5320
5466
|
options?: {
|
|
5321
|
-
query?:
|
|
5467
|
+
query?: GetMenuV3LayoutCategoriesQuery;
|
|
5322
5468
|
} & RequestOptions
|
|
5323
|
-
): ResponsePromise<
|
|
5469
|
+
): ResponsePromise<GetMenuV3LayoutCategoriesResponse> {
|
|
5324
5470
|
return this.request(
|
|
5325
5471
|
"menu",
|
|
5326
|
-
"
|
|
5472
|
+
"get_menu_v3_layout_categories",
|
|
5327
5473
|
"get",
|
|
5328
|
-
`/menu/v3/
|
|
5474
|
+
`/menu/v3/layout/${id}/categories`,
|
|
5329
5475
|
null,
|
|
5330
5476
|
options
|
|
5331
5477
|
);
|
|
5332
5478
|
}
|
|
5333
5479
|
|
|
5334
|
-
/**
|
|
5335
|
-
* GET /menu/v3/layouts
|
|
5336
|
-
*
|
|
5337
|
-
* @param options - additional request options
|
|
5338
|
-
*/
|
|
5339
|
-
get_menu_v3_layouts(
|
|
5340
|
-
options?: {
|
|
5341
|
-
query?: GetMenuV3LayoutsQuery;
|
|
5342
|
-
} & RequestOptions
|
|
5343
|
-
): ResponsePromise<GetMenuV3LayoutsResponse> {
|
|
5344
|
-
return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
|
|
5345
|
-
}
|
|
5346
|
-
|
|
5347
5480
|
/**
|
|
5348
5481
|
* GET /menu/v3/layout/{id}
|
|
5349
5482
|
*
|
|
@@ -5370,7 +5503,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5370
5503
|
* PATCH /menu/v3/layout/{id}
|
|
5371
5504
|
*
|
|
5372
5505
|
* @param id
|
|
5373
|
-
* @param body
|
|
5506
|
+
* @param body - A partially populated LayoutEntity
|
|
5374
5507
|
* @param options - additional request options
|
|
5375
5508
|
*/
|
|
5376
5509
|
patch_menu_v3_layout(
|
|
@@ -5487,7 +5620,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5487
5620
|
* PATCH /menu/v3/category/{id}
|
|
5488
5621
|
*
|
|
5489
5622
|
* @param id
|
|
5490
|
-
* @param body
|
|
5623
|
+
* @param body - A partially populated CategoryEntity
|
|
5491
5624
|
* @param options - additional request options
|
|
5492
5625
|
*/
|
|
5493
5626
|
patch_menu_v3_category(
|
|
@@ -5625,11 +5758,33 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5625
5758
|
);
|
|
5626
5759
|
}
|
|
5627
5760
|
|
|
5761
|
+
/**
|
|
5762
|
+
* GET /menu/v3/category/relationships/item/{id}
|
|
5763
|
+
*
|
|
5764
|
+
* @param id
|
|
5765
|
+
* @param options - additional request options
|
|
5766
|
+
*/
|
|
5767
|
+
get_menu_v3_category_relationships_item(
|
|
5768
|
+
id: string,
|
|
5769
|
+
options?: {
|
|
5770
|
+
query?: GetMenuV3CategoryRelationshipsItemQuery;
|
|
5771
|
+
} & RequestOptions
|
|
5772
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemResponse> {
|
|
5773
|
+
return this.request(
|
|
5774
|
+
"menu",
|
|
5775
|
+
"get_menu_v3_category_relationships_item",
|
|
5776
|
+
"get",
|
|
5777
|
+
`/menu/v3/category/relationships/item/${id}`,
|
|
5778
|
+
null,
|
|
5779
|
+
options
|
|
5780
|
+
);
|
|
5781
|
+
}
|
|
5782
|
+
|
|
5628
5783
|
/**
|
|
5629
5784
|
* PATCH /menu/v3/category/relationships/item/{id}
|
|
5630
5785
|
*
|
|
5631
5786
|
* @param id
|
|
5632
|
-
* @param body
|
|
5787
|
+
* @param body - A partially populated CategoryToItemRelationship
|
|
5633
5788
|
* @param options - additional request options
|
|
5634
5789
|
*/
|
|
5635
5790
|
patch_menu_v3_category_relationships_item(
|
|
@@ -5668,64 +5823,376 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5668
5823
|
}
|
|
5669
5824
|
|
|
5670
5825
|
/**
|
|
5671
|
-
* GET /menu/
|
|
5826
|
+
* GET /menu/v3/brands
|
|
5672
5827
|
*
|
|
5673
|
-
* @param client_id
|
|
5674
5828
|
* @param options - additional request options
|
|
5675
5829
|
*/
|
|
5676
|
-
|
|
5677
|
-
client_id: string,
|
|
5830
|
+
get_menu_v3_brands(
|
|
5678
5831
|
options?: {
|
|
5679
|
-
query?:
|
|
5680
|
-
} & RequestOptions
|
|
5681
|
-
): ResponsePromise<GetMenuClientResponse> {
|
|
5682
|
-
return this.request(
|
|
5683
|
-
"menu",
|
|
5684
|
-
"get_menu_client",
|
|
5685
|
-
"get",
|
|
5686
|
-
`/menu/client/${client_id}`,
|
|
5687
|
-
null,
|
|
5688
|
-
options
|
|
5689
|
-
);
|
|
5690
|
-
}
|
|
5691
|
-
|
|
5692
|
-
/**
|
|
5693
|
-
* GET /menu - Get Menus or search for Menus
|
|
5694
|
-
*
|
|
5695
|
-
* @param options - additional request options
|
|
5696
|
-
*/
|
|
5697
|
-
get_menus(
|
|
5698
|
-
options: {
|
|
5699
|
-
query: GetMenusQuery;
|
|
5832
|
+
query?: GetMenuV3BrandsQuery;
|
|
5700
5833
|
} & RequestOptions
|
|
5701
|
-
): ResponsePromise<
|
|
5702
|
-
return this.request("menu", "
|
|
5834
|
+
): ResponsePromise<GetMenuV3BrandsResponse> {
|
|
5835
|
+
return this.request("menu", "get_menu_v3_brands", "get", `/menu/v3/brands`, null, options);
|
|
5703
5836
|
}
|
|
5704
5837
|
|
|
5705
5838
|
/**
|
|
5706
|
-
* POST /menu
|
|
5839
|
+
* POST /menu/v3/brands
|
|
5707
5840
|
*
|
|
5708
5841
|
* @param body
|
|
5709
5842
|
* @param options - additional request options
|
|
5710
5843
|
*/
|
|
5711
|
-
|
|
5712
|
-
|
|
5844
|
+
post_menu_v3_brands(
|
|
5845
|
+
body: PostMenuV3BrandsBody,
|
|
5846
|
+
options?: RequestOptions
|
|
5847
|
+
): ResponsePromise<PostMenuV3BrandsResponse> {
|
|
5848
|
+
return this.request("menu", "post_menu_v3_brands", "post", `/menu/v3/brands`, body, options);
|
|
5713
5849
|
}
|
|
5714
5850
|
|
|
5715
5851
|
/**
|
|
5716
|
-
*
|
|
5852
|
+
* GET /menu/v3/brand/{id}/modifiers
|
|
5717
5853
|
*
|
|
5718
|
-
* @param id
|
|
5854
|
+
* @param id
|
|
5719
5855
|
* @param options - additional request options
|
|
5720
5856
|
*/
|
|
5721
|
-
|
|
5857
|
+
get_menu_v3_brand_modifiers(
|
|
5722
5858
|
id: string,
|
|
5723
5859
|
options?: {
|
|
5724
|
-
query?:
|
|
5860
|
+
query?: GetMenuV3BrandModifiersQuery;
|
|
5725
5861
|
} & RequestOptions
|
|
5726
|
-
): ResponsePromise<
|
|
5727
|
-
return this.request(
|
|
5728
|
-
|
|
5862
|
+
): ResponsePromise<GetMenuV3BrandModifiersResponse> {
|
|
5863
|
+
return this.request(
|
|
5864
|
+
"menu",
|
|
5865
|
+
"get_menu_v3_brand_modifiers",
|
|
5866
|
+
"get",
|
|
5867
|
+
`/menu/v3/brand/${id}/modifiers`,
|
|
5868
|
+
null,
|
|
5869
|
+
options
|
|
5870
|
+
);
|
|
5871
|
+
}
|
|
5872
|
+
|
|
5873
|
+
/**
|
|
5874
|
+
* GET /menu/v3/brand/{id}/modifier_groups
|
|
5875
|
+
*
|
|
5876
|
+
* @param id
|
|
5877
|
+
* @param options - additional request options
|
|
5878
|
+
*/
|
|
5879
|
+
get_menu_v3_brand_modifier_groups(
|
|
5880
|
+
id: string,
|
|
5881
|
+
options?: {
|
|
5882
|
+
query?: GetMenuV3BrandModifierGroupsQuery;
|
|
5883
|
+
} & RequestOptions
|
|
5884
|
+
): ResponsePromise<GetMenuV3BrandModifierGroupsResponse> {
|
|
5885
|
+
return this.request(
|
|
5886
|
+
"menu",
|
|
5887
|
+
"get_menu_v3_brand_modifier_groups",
|
|
5888
|
+
"get",
|
|
5889
|
+
`/menu/v3/brand/${id}/modifier_groups`,
|
|
5890
|
+
null,
|
|
5891
|
+
options
|
|
5892
|
+
);
|
|
5893
|
+
}
|
|
5894
|
+
|
|
5895
|
+
/**
|
|
5896
|
+
* GET /menu/v3/brand/{id}/items
|
|
5897
|
+
*
|
|
5898
|
+
* @param id
|
|
5899
|
+
* @param options - additional request options
|
|
5900
|
+
*/
|
|
5901
|
+
get_menu_v3_brand_items(
|
|
5902
|
+
id: string,
|
|
5903
|
+
options?: {
|
|
5904
|
+
query?: GetMenuV3BrandItemsQuery;
|
|
5905
|
+
} & RequestOptions
|
|
5906
|
+
): ResponsePromise<GetMenuV3BrandItemsResponse> {
|
|
5907
|
+
return this.request(
|
|
5908
|
+
"menu",
|
|
5909
|
+
"get_menu_v3_brand_items",
|
|
5910
|
+
"get",
|
|
5911
|
+
`/menu/v3/brand/${id}/items`,
|
|
5912
|
+
null,
|
|
5913
|
+
options
|
|
5914
|
+
);
|
|
5915
|
+
}
|
|
5916
|
+
|
|
5917
|
+
/**
|
|
5918
|
+
* GET /menu/v3/brand/{id}
|
|
5919
|
+
*
|
|
5920
|
+
* @param id
|
|
5921
|
+
* @param options - additional request options
|
|
5922
|
+
*/
|
|
5923
|
+
get_menu_v3_brand(
|
|
5924
|
+
id: string,
|
|
5925
|
+
options?: {
|
|
5926
|
+
query?: GetMenuV3BrandQuery;
|
|
5927
|
+
} & RequestOptions
|
|
5928
|
+
): ResponsePromise<GetMenuV3BrandResponse> {
|
|
5929
|
+
return this.request("menu", "get_menu_v3_brand", "get", `/menu/v3/brand/${id}`, null, options);
|
|
5930
|
+
}
|
|
5931
|
+
|
|
5932
|
+
/**
|
|
5933
|
+
* PATCH /menu/v3/brand/{id}
|
|
5934
|
+
*
|
|
5935
|
+
* @param id
|
|
5936
|
+
* @param body - A partially populated BrandEntity
|
|
5937
|
+
* @param options - additional request options
|
|
5938
|
+
*/
|
|
5939
|
+
patch_menu_v3_brand(
|
|
5940
|
+
id: string,
|
|
5941
|
+
body: PatchMenuV3BrandBody,
|
|
5942
|
+
options?: RequestOptions
|
|
5943
|
+
): ResponsePromise<PatchMenuV3BrandResponse> {
|
|
5944
|
+
return this.request(
|
|
5945
|
+
"menu",
|
|
5946
|
+
"patch_menu_v3_brand",
|
|
5947
|
+
"patch",
|
|
5948
|
+
`/menu/v3/brand/${id}`,
|
|
5949
|
+
body,
|
|
5950
|
+
options
|
|
5951
|
+
);
|
|
5952
|
+
}
|
|
5953
|
+
|
|
5954
|
+
/**
|
|
5955
|
+
* DELETE /menu/v3/brand/{id}
|
|
5956
|
+
*
|
|
5957
|
+
* @param id
|
|
5958
|
+
* @param options - additional request options
|
|
5959
|
+
*/
|
|
5960
|
+
delete_menu_v3_brand(
|
|
5961
|
+
id: string,
|
|
5962
|
+
options?: RequestOptions
|
|
5963
|
+
): ResponsePromise<DeleteMenuV3BrandResponse> {
|
|
5964
|
+
return this.request(
|
|
5965
|
+
"menu",
|
|
5966
|
+
"delete_menu_v3_brand",
|
|
5967
|
+
"delete",
|
|
5968
|
+
`/menu/v3/brand/${id}`,
|
|
5969
|
+
null,
|
|
5970
|
+
options
|
|
5971
|
+
);
|
|
5972
|
+
}
|
|
5973
|
+
|
|
5974
|
+
/**
|
|
5975
|
+
* POST /menu/v3/brand
|
|
5976
|
+
*
|
|
5977
|
+
* @param body
|
|
5978
|
+
* @param options - additional request options
|
|
5979
|
+
*/
|
|
5980
|
+
post_menu_v3_brand(
|
|
5981
|
+
body: PostMenuV3BrandBody,
|
|
5982
|
+
options?: RequestOptions
|
|
5983
|
+
): ResponsePromise<PostMenuV3BrandResponse> {
|
|
5984
|
+
return this.request("menu", "post_menu_v3_brand", "post", `/menu/v3/brand`, body, options);
|
|
5985
|
+
}
|
|
5986
|
+
|
|
5987
|
+
/**
|
|
5988
|
+
* GET /menu/v3/brands/count
|
|
5989
|
+
*
|
|
5990
|
+
* @param options - additional request options
|
|
5991
|
+
*/
|
|
5992
|
+
get_menu_v3_brands_count(
|
|
5993
|
+
options?: {
|
|
5994
|
+
query?: GetMenuV3BrandsCountQuery;
|
|
5995
|
+
} & RequestOptions
|
|
5996
|
+
): ResponsePromise<GetMenuV3BrandsCountResponse> {
|
|
5997
|
+
return this.request(
|
|
5998
|
+
"menu",
|
|
5999
|
+
"get_menu_v3_brands_count",
|
|
6000
|
+
"get",
|
|
6001
|
+
`/menu/v3/brands/count`,
|
|
6002
|
+
null,
|
|
6003
|
+
options
|
|
6004
|
+
);
|
|
6005
|
+
}
|
|
6006
|
+
|
|
6007
|
+
/**
|
|
6008
|
+
* GET /menu/v3/stations
|
|
6009
|
+
*
|
|
6010
|
+
* @param options - additional request options
|
|
6011
|
+
*/
|
|
6012
|
+
get_menu_v3_stations(
|
|
6013
|
+
options?: {
|
|
6014
|
+
query?: GetMenuV3StationsQuery;
|
|
6015
|
+
} & RequestOptions
|
|
6016
|
+
): ResponsePromise<GetMenuV3StationsResponse> {
|
|
6017
|
+
return this.request("menu", "get_menu_v3_stations", "get", `/menu/v3/stations`, null, options);
|
|
6018
|
+
}
|
|
6019
|
+
|
|
6020
|
+
/**
|
|
6021
|
+
* POST /menu/v3/stations
|
|
6022
|
+
*
|
|
6023
|
+
* @param body
|
|
6024
|
+
* @param options - additional request options
|
|
6025
|
+
*/
|
|
6026
|
+
post_menu_v3_stations(
|
|
6027
|
+
body: PostMenuV3StationsBody,
|
|
6028
|
+
options?: RequestOptions
|
|
6029
|
+
): ResponsePromise<PostMenuV3StationsResponse> {
|
|
6030
|
+
return this.request(
|
|
6031
|
+
"menu",
|
|
6032
|
+
"post_menu_v3_stations",
|
|
6033
|
+
"post",
|
|
6034
|
+
`/menu/v3/stations`,
|
|
6035
|
+
body,
|
|
6036
|
+
options
|
|
6037
|
+
);
|
|
6038
|
+
}
|
|
6039
|
+
|
|
6040
|
+
/**
|
|
6041
|
+
* GET /menu/v3/station/{id}
|
|
6042
|
+
*
|
|
6043
|
+
* @param id
|
|
6044
|
+
* @param options - additional request options
|
|
6045
|
+
*/
|
|
6046
|
+
get_menu_v3_station(
|
|
6047
|
+
id: string,
|
|
6048
|
+
options?: {
|
|
6049
|
+
query?: GetMenuV3StationQuery;
|
|
6050
|
+
} & RequestOptions
|
|
6051
|
+
): ResponsePromise<GetMenuV3StationResponse> {
|
|
6052
|
+
return this.request(
|
|
6053
|
+
"menu",
|
|
6054
|
+
"get_menu_v3_station",
|
|
6055
|
+
"get",
|
|
6056
|
+
`/menu/v3/station/${id}`,
|
|
6057
|
+
null,
|
|
6058
|
+
options
|
|
6059
|
+
);
|
|
6060
|
+
}
|
|
6061
|
+
|
|
6062
|
+
/**
|
|
6063
|
+
* PATCH /menu/v3/station/{id}
|
|
6064
|
+
*
|
|
6065
|
+
* @param id
|
|
6066
|
+
* @param body - A partially populated StationEntity
|
|
6067
|
+
* @param options - additional request options
|
|
6068
|
+
*/
|
|
6069
|
+
patch_menu_v3_station(
|
|
6070
|
+
id: string,
|
|
6071
|
+
body: PatchMenuV3StationBody,
|
|
6072
|
+
options?: RequestOptions
|
|
6073
|
+
): ResponsePromise<PatchMenuV3StationResponse> {
|
|
6074
|
+
return this.request(
|
|
6075
|
+
"menu",
|
|
6076
|
+
"patch_menu_v3_station",
|
|
6077
|
+
"patch",
|
|
6078
|
+
`/menu/v3/station/${id}`,
|
|
6079
|
+
body,
|
|
6080
|
+
options
|
|
6081
|
+
);
|
|
6082
|
+
}
|
|
6083
|
+
|
|
6084
|
+
/**
|
|
6085
|
+
* DELETE /menu/v3/station/{id}
|
|
6086
|
+
*
|
|
6087
|
+
* @param id
|
|
6088
|
+
* @param options - additional request options
|
|
6089
|
+
*/
|
|
6090
|
+
delete_menu_v3_station(
|
|
6091
|
+
id: string,
|
|
6092
|
+
options?: RequestOptions
|
|
6093
|
+
): ResponsePromise<DeleteMenuV3StationResponse> {
|
|
6094
|
+
return this.request(
|
|
6095
|
+
"menu",
|
|
6096
|
+
"delete_menu_v3_station",
|
|
6097
|
+
"delete",
|
|
6098
|
+
`/menu/v3/station/${id}`,
|
|
6099
|
+
null,
|
|
6100
|
+
options
|
|
6101
|
+
);
|
|
6102
|
+
}
|
|
6103
|
+
|
|
6104
|
+
/**
|
|
6105
|
+
* POST /menu/v3/station
|
|
6106
|
+
*
|
|
6107
|
+
* @param body
|
|
6108
|
+
* @param options - additional request options
|
|
6109
|
+
*/
|
|
6110
|
+
post_menu_v3_station(
|
|
6111
|
+
body: PostMenuV3StationBody,
|
|
6112
|
+
options?: RequestOptions
|
|
6113
|
+
): ResponsePromise<PostMenuV3StationResponse> {
|
|
6114
|
+
return this.request("menu", "post_menu_v3_station", "post", `/menu/v3/station`, body, options);
|
|
6115
|
+
}
|
|
6116
|
+
|
|
6117
|
+
/**
|
|
6118
|
+
* GET /menu/v3/stations/count
|
|
6119
|
+
*
|
|
6120
|
+
* @param options - additional request options
|
|
6121
|
+
*/
|
|
6122
|
+
get_menu_v3_stations_count(
|
|
6123
|
+
options?: {
|
|
6124
|
+
query?: GetMenuV3StationsCountQuery;
|
|
6125
|
+
} & RequestOptions
|
|
6126
|
+
): ResponsePromise<GetMenuV3StationsCountResponse> {
|
|
6127
|
+
return this.request(
|
|
6128
|
+
"menu",
|
|
6129
|
+
"get_menu_v3_stations_count",
|
|
6130
|
+
"get",
|
|
6131
|
+
`/menu/v3/stations/count`,
|
|
6132
|
+
null,
|
|
6133
|
+
options
|
|
6134
|
+
);
|
|
6135
|
+
}
|
|
6136
|
+
|
|
6137
|
+
/**
|
|
6138
|
+
* GET /menu/client/{client_id} - Get menu client
|
|
6139
|
+
*
|
|
6140
|
+
* @param client_id
|
|
6141
|
+
* @param options - additional request options
|
|
6142
|
+
*/
|
|
6143
|
+
get_menu_client(
|
|
6144
|
+
client_id: string,
|
|
6145
|
+
options?: {
|
|
6146
|
+
query?: GetMenuClientQuery;
|
|
6147
|
+
} & RequestOptions
|
|
6148
|
+
): ResponsePromise<GetMenuClientResponse> {
|
|
6149
|
+
return this.request(
|
|
6150
|
+
"menu",
|
|
6151
|
+
"get_menu_client",
|
|
6152
|
+
"get",
|
|
6153
|
+
`/menu/client/${client_id}`,
|
|
6154
|
+
null,
|
|
6155
|
+
options
|
|
6156
|
+
);
|
|
6157
|
+
}
|
|
6158
|
+
|
|
6159
|
+
/**
|
|
6160
|
+
* GET /menu - Get Menus or search for Menus
|
|
6161
|
+
*
|
|
6162
|
+
* @param options - additional request options
|
|
6163
|
+
*/
|
|
6164
|
+
get_menus(
|
|
6165
|
+
options: {
|
|
6166
|
+
query: GetMenusQuery;
|
|
6167
|
+
} & RequestOptions
|
|
6168
|
+
): ResponsePromise<GetMenusResponse> {
|
|
6169
|
+
return this.request("menu", "get_menus", "get", `/menu`, null, options);
|
|
6170
|
+
}
|
|
6171
|
+
|
|
6172
|
+
/**
|
|
6173
|
+
* POST /menu - Create a new Menu
|
|
6174
|
+
*
|
|
6175
|
+
* @param body
|
|
6176
|
+
* @param options - additional request options
|
|
6177
|
+
*/
|
|
6178
|
+
post_menu(body: PostMenuBody, options?: RequestOptions): ResponsePromise<PostMenuResponse> {
|
|
6179
|
+
return this.request("menu", "post_menu", "post", `/menu`, body, options);
|
|
6180
|
+
}
|
|
6181
|
+
|
|
6182
|
+
/**
|
|
6183
|
+
* HEAD /menu/{id} - Get an individual Menu
|
|
6184
|
+
*
|
|
6185
|
+
* @param id - menu
|
|
6186
|
+
* @param options - additional request options
|
|
6187
|
+
*/
|
|
6188
|
+
head_menu(
|
|
6189
|
+
id: string,
|
|
6190
|
+
options?: {
|
|
6191
|
+
query?: HeadMenuQuery;
|
|
6192
|
+
} & RequestOptions
|
|
6193
|
+
): ResponsePromise<HeadMenuResponse> {
|
|
6194
|
+
return this.request("menu", "head_menu", "head", `/menu/${id}`, null, options);
|
|
6195
|
+
}
|
|
5729
6196
|
|
|
5730
6197
|
/**
|
|
5731
6198
|
* GET /menu/{id} - Get an individual Menu
|
|
@@ -6200,6 +6667,236 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6200
6667
|
);
|
|
6201
6668
|
}
|
|
6202
6669
|
|
|
6670
|
+
/**
|
|
6671
|
+
* POST /menu/v3/layout/{id}/publish
|
|
6672
|
+
*
|
|
6673
|
+
* @param id
|
|
6674
|
+
* @param options - additional request options
|
|
6675
|
+
*/
|
|
6676
|
+
post_menu_v3_layout_publish(
|
|
6677
|
+
id: string,
|
|
6678
|
+
options?: {
|
|
6679
|
+
query?: PostMenuV3LayoutPublishQuery;
|
|
6680
|
+
} & RequestOptions
|
|
6681
|
+
): ResponsePromise<PostMenuV3LayoutPublishResponse> {
|
|
6682
|
+
return this.request(
|
|
6683
|
+
"menu",
|
|
6684
|
+
"post_menu_v3_layout_publish",
|
|
6685
|
+
"post",
|
|
6686
|
+
`/menu/v3/layout/${id}/publish`,
|
|
6687
|
+
null,
|
|
6688
|
+
options
|
|
6689
|
+
);
|
|
6690
|
+
}
|
|
6691
|
+
|
|
6692
|
+
/**
|
|
6693
|
+
* POST /menu/v3/categorys
|
|
6694
|
+
*
|
|
6695
|
+
* @param body
|
|
6696
|
+
* @param options - additional request options
|
|
6697
|
+
*/
|
|
6698
|
+
post_menu_v3_categorys(
|
|
6699
|
+
body: PostMenuV3CategorysBody,
|
|
6700
|
+
options?: RequestOptions
|
|
6701
|
+
): ResponsePromise<PostMenuV3CategorysResponse> {
|
|
6702
|
+
return this.request(
|
|
6703
|
+
"menu",
|
|
6704
|
+
"post_menu_v3_categorys",
|
|
6705
|
+
"post",
|
|
6706
|
+
`/menu/v3/categorys`,
|
|
6707
|
+
body,
|
|
6708
|
+
options
|
|
6709
|
+
);
|
|
6710
|
+
}
|
|
6711
|
+
|
|
6712
|
+
/**
|
|
6713
|
+
* GET /menu/v3/category/relationships/items/count
|
|
6714
|
+
*
|
|
6715
|
+
* @param options - additional request options
|
|
6716
|
+
*/
|
|
6717
|
+
get_menu_v3_category_relationships_items_count(
|
|
6718
|
+
options?: {
|
|
6719
|
+
query?: GetMenuV3CategoryRelationshipsItemsCountQuery;
|
|
6720
|
+
} & RequestOptions
|
|
6721
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemsCountResponse> {
|
|
6722
|
+
return this.request(
|
|
6723
|
+
"menu",
|
|
6724
|
+
"get_menu_v3_category_relationships_items_count",
|
|
6725
|
+
"get",
|
|
6726
|
+
`/menu/v3/category/relationships/items/count`,
|
|
6727
|
+
null,
|
|
6728
|
+
options
|
|
6729
|
+
);
|
|
6730
|
+
}
|
|
6731
|
+
|
|
6732
|
+
/**
|
|
6733
|
+
* GET /menu/v3/item/relationships/modifier-groups/count
|
|
6734
|
+
*
|
|
6735
|
+
* @param options - additional request options
|
|
6736
|
+
*/
|
|
6737
|
+
get_menu_v3_item_relationships_modifier_groups_count(
|
|
6738
|
+
options?: {
|
|
6739
|
+
query?: GetMenuV3ItemRelationshipsModifierGroupsCountQuery;
|
|
6740
|
+
} & RequestOptions
|
|
6741
|
+
): ResponsePromise<GetMenuV3ItemRelationshipsModifierGroupsCountResponse> {
|
|
6742
|
+
return this.request(
|
|
6743
|
+
"menu",
|
|
6744
|
+
"get_menu_v3_item_relationships_modifier_groups_count",
|
|
6745
|
+
"get",
|
|
6746
|
+
`/menu/v3/item/relationships/modifier-groups/count`,
|
|
6747
|
+
null,
|
|
6748
|
+
options
|
|
6749
|
+
);
|
|
6750
|
+
}
|
|
6751
|
+
|
|
6752
|
+
/**
|
|
6753
|
+
* GET /menu/v3/modifier-groups/count
|
|
6754
|
+
*
|
|
6755
|
+
* @param options - additional request options
|
|
6756
|
+
*/
|
|
6757
|
+
get_menu_v3_modifier_groups_count(
|
|
6758
|
+
options?: {
|
|
6759
|
+
query?: GetMenuV3ModifierGroupsCountQuery;
|
|
6760
|
+
} & RequestOptions
|
|
6761
|
+
): ResponsePromise<GetMenuV3ModifierGroupsCountResponse> {
|
|
6762
|
+
return this.request(
|
|
6763
|
+
"menu",
|
|
6764
|
+
"get_menu_v3_modifier_groups_count",
|
|
6765
|
+
"get",
|
|
6766
|
+
`/menu/v3/modifier-groups/count`,
|
|
6767
|
+
null,
|
|
6768
|
+
options
|
|
6769
|
+
);
|
|
6770
|
+
}
|
|
6771
|
+
|
|
6772
|
+
/**
|
|
6773
|
+
* GET /menu/v3/modifier-group/relationships/modifiers/count
|
|
6774
|
+
*
|
|
6775
|
+
* @param options - additional request options
|
|
6776
|
+
*/
|
|
6777
|
+
get_menu_v3_modifier_group_relationships_modifiers_count(
|
|
6778
|
+
options?: {
|
|
6779
|
+
query?: GetMenuV3ModifierGroupRelationshipsModifiersCountQuery;
|
|
6780
|
+
} & RequestOptions
|
|
6781
|
+
): ResponsePromise<GetMenuV3ModifierGroupRelationshipsModifiersCountResponse> {
|
|
6782
|
+
return this.request(
|
|
6783
|
+
"menu",
|
|
6784
|
+
"get_menu_v3_modifier_group_relationships_modifiers_count",
|
|
6785
|
+
"get",
|
|
6786
|
+
`/menu/v3/modifier-group/relationships/modifiers/count`,
|
|
6787
|
+
null,
|
|
6788
|
+
options
|
|
6789
|
+
);
|
|
6790
|
+
}
|
|
6791
|
+
|
|
6792
|
+
/**
|
|
6793
|
+
* GET /menu/v3/modifiers/count
|
|
6794
|
+
*
|
|
6795
|
+
* @param options - additional request options
|
|
6796
|
+
*/
|
|
6797
|
+
get_menu_v3_modifiers_count(
|
|
6798
|
+
options?: {
|
|
6799
|
+
query?: GetMenuV3ModifiersCountQuery;
|
|
6800
|
+
} & RequestOptions
|
|
6801
|
+
): ResponsePromise<GetMenuV3ModifiersCountResponse> {
|
|
6802
|
+
return this.request(
|
|
6803
|
+
"menu",
|
|
6804
|
+
"get_menu_v3_modifiers_count",
|
|
6805
|
+
"get",
|
|
6806
|
+
`/menu/v3/modifiers/count`,
|
|
6807
|
+
null,
|
|
6808
|
+
options
|
|
6809
|
+
);
|
|
6810
|
+
}
|
|
6811
|
+
|
|
6812
|
+
/**
|
|
6813
|
+
* GET /menu/v3/station/{id}/modifiers
|
|
6814
|
+
*
|
|
6815
|
+
* @param id
|
|
6816
|
+
* @param options - additional request options
|
|
6817
|
+
*/
|
|
6818
|
+
get_menu_v3_station_modifiers(
|
|
6819
|
+
id: string,
|
|
6820
|
+
options?: {
|
|
6821
|
+
query?: GetMenuV3StationModifiersQuery;
|
|
6822
|
+
} & RequestOptions
|
|
6823
|
+
): ResponsePromise<GetMenuV3StationModifiersResponse> {
|
|
6824
|
+
return this.request(
|
|
6825
|
+
"menu",
|
|
6826
|
+
"get_menu_v3_station_modifiers",
|
|
6827
|
+
"get",
|
|
6828
|
+
`/menu/v3/station/${id}/modifiers`,
|
|
6829
|
+
null,
|
|
6830
|
+
options
|
|
6831
|
+
);
|
|
6832
|
+
}
|
|
6833
|
+
|
|
6834
|
+
/**
|
|
6835
|
+
* GET /menu/v3/station/{id}/modifier_groups
|
|
6836
|
+
*
|
|
6837
|
+
* @param id
|
|
6838
|
+
* @param options - additional request options
|
|
6839
|
+
*/
|
|
6840
|
+
get_menu_v3_station_modifier_groups(
|
|
6841
|
+
id: string,
|
|
6842
|
+
options?: {
|
|
6843
|
+
query?: GetMenuV3StationModifierGroupsQuery;
|
|
6844
|
+
} & RequestOptions
|
|
6845
|
+
): ResponsePromise<GetMenuV3StationModifierGroupsResponse> {
|
|
6846
|
+
return this.request(
|
|
6847
|
+
"menu",
|
|
6848
|
+
"get_menu_v3_station_modifier_groups",
|
|
6849
|
+
"get",
|
|
6850
|
+
`/menu/v3/station/${id}/modifier_groups`,
|
|
6851
|
+
null,
|
|
6852
|
+
options
|
|
6853
|
+
);
|
|
6854
|
+
}
|
|
6855
|
+
|
|
6856
|
+
/**
|
|
6857
|
+
* GET /menu/v3/station/{id}/items
|
|
6858
|
+
*
|
|
6859
|
+
* @param id
|
|
6860
|
+
* @param options - additional request options
|
|
6861
|
+
*/
|
|
6862
|
+
get_menu_v3_station_items(
|
|
6863
|
+
id: string,
|
|
6864
|
+
options?: {
|
|
6865
|
+
query?: GetMenuV3StationItemsQuery;
|
|
6866
|
+
} & RequestOptions
|
|
6867
|
+
): ResponsePromise<GetMenuV3StationItemsResponse> {
|
|
6868
|
+
return this.request(
|
|
6869
|
+
"menu",
|
|
6870
|
+
"get_menu_v3_station_items",
|
|
6871
|
+
"get",
|
|
6872
|
+
`/menu/v3/station/${id}/items`,
|
|
6873
|
+
null,
|
|
6874
|
+
options
|
|
6875
|
+
);
|
|
6876
|
+
}
|
|
6877
|
+
|
|
6878
|
+
/**
|
|
6879
|
+
* GET /menu/v3/site/{id}/layouts
|
|
6880
|
+
*
|
|
6881
|
+
* @param id
|
|
6882
|
+
* @param options - additional request options
|
|
6883
|
+
*/
|
|
6884
|
+
get_menu_v3_site_layouts(
|
|
6885
|
+
id: string,
|
|
6886
|
+
options?: {
|
|
6887
|
+
query?: GetMenuV3SiteLayoutsQuery;
|
|
6888
|
+
} & RequestOptions
|
|
6889
|
+
): ResponsePromise<GetMenuV3SiteLayoutsResponse> {
|
|
6890
|
+
return this.request(
|
|
6891
|
+
"menu",
|
|
6892
|
+
"get_menu_v3_site_layouts",
|
|
6893
|
+
"get",
|
|
6894
|
+
`/menu/v3/site/${id}/layouts`,
|
|
6895
|
+
null,
|
|
6896
|
+
options
|
|
6897
|
+
);
|
|
6898
|
+
}
|
|
6899
|
+
|
|
6203
6900
|
/**
|
|
6204
6901
|
* GET /notification - Get all notifications
|
|
6205
6902
|
*
|
|
@@ -6807,6 +7504,45 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6807
7504
|
);
|
|
6808
7505
|
}
|
|
6809
7506
|
|
|
7507
|
+
/**
|
|
7508
|
+
* GET /delivery/{id}/order/{order_id} - get delivery for order
|
|
7509
|
+
*
|
|
7510
|
+
* @param id - delivery provider id
|
|
7511
|
+
* @param order_id - order id
|
|
7512
|
+
* @param options - additional request options
|
|
7513
|
+
*/
|
|
7514
|
+
get_delivery_order(
|
|
7515
|
+
id: string,
|
|
7516
|
+
order_id: string,
|
|
7517
|
+
options?: {
|
|
7518
|
+
query?: GetDeliveryOrderQuery;
|
|
7519
|
+
} & RequestOptions
|
|
7520
|
+
): ResponsePromise<GetDeliveryOrderResponse> {
|
|
7521
|
+
return this.request(
|
|
7522
|
+
"delivery",
|
|
7523
|
+
"get_delivery_order",
|
|
7524
|
+
"get",
|
|
7525
|
+
`/delivery/${id}/order/${order_id}`,
|
|
7526
|
+
null,
|
|
7527
|
+
options
|
|
7528
|
+
);
|
|
7529
|
+
}
|
|
7530
|
+
|
|
7531
|
+
/**
|
|
7532
|
+
* GET /delivery/{id} - Get all Deliveries for delivery provider
|
|
7533
|
+
*
|
|
7534
|
+
* @param id - delivery provider id
|
|
7535
|
+
* @param options - additional request options
|
|
7536
|
+
*/
|
|
7537
|
+
get_delivery(
|
|
7538
|
+
id: string,
|
|
7539
|
+
options?: {
|
|
7540
|
+
query?: GetDeliveryQuery;
|
|
7541
|
+
} & RequestOptions
|
|
7542
|
+
): ResponsePromise<GetDeliveryResponse> {
|
|
7543
|
+
return this.request("delivery", "get_delivery", "get", `/delivery/${id}`, null, options);
|
|
7544
|
+
}
|
|
7545
|
+
|
|
6810
7546
|
/**
|
|
6811
7547
|
* POST /loyalty/{id}/enroll/{user_id} - Enroll logged in user in Loyalty program
|
|
6812
7548
|
*
|