@compassdigital/sdk.typescript 3.45.2 → 3.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +206 -27
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +221 -18
- package/lib/index.js.map +1 -1
- package/lib/interface/announcement.d.ts.map +1 -1
- package/lib/interface/announcement.js +1 -0
- package/lib/interface/announcement.js.map +1 -1
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/calendar.js +1 -0
- package/lib/interface/calendar.js.map +1 -1
- package/lib/interface/compassconnect.d.ts.map +1 -1
- package/lib/interface/compassconnect.js +1 -0
- package/lib/interface/compassconnect.js.map +1 -1
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/config.js +1 -0
- package/lib/interface/config.js.map +1 -1
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/datalake.js +1 -0
- package/lib/interface/datalake.js.map +1 -1
- package/lib/interface/delivery.d.ts +13 -13
- package/lib/interface/delivery.d.ts.map +1 -1
- package/lib/interface/delivery.js +1 -0
- package/lib/interface/delivery.js.map +1 -1
- package/lib/interface/email.d.ts.map +1 -1
- package/lib/interface/email.js +1 -0
- package/lib/interface/email.js.map +1 -1
- package/lib/interface/file.d.ts.map +1 -1
- package/lib/interface/file.js +1 -0
- package/lib/interface/file.js.map +1 -1
- package/lib/interface/kds.d.ts.map +1 -1
- package/lib/interface/kds.js +1 -0
- package/lib/interface/kds.js.map +1 -1
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/location.js +1 -0
- package/lib/interface/location.js.map +1 -1
- package/lib/interface/loyalty.d.ts.map +1 -1
- package/lib/interface/loyalty.js +1 -0
- package/lib/interface/loyalty.js.map +1 -1
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/mealplan.js +1 -0
- package/lib/interface/mealplan.js.map +1 -1
- package/lib/interface/menu.d.ts +1058 -82
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/menu.js +1 -0
- package/lib/interface/menu.js.map +1 -1
- package/lib/interface/notification.d.ts +11 -0
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/notification.js +1 -0
- package/lib/interface/notification.js.map +1 -1
- package/lib/interface/order.d.ts +2 -0
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/order.js +1 -0
- package/lib/interface/order.js.map +1 -1
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/partner.js +1 -0
- package/lib/interface/partner.js.map +1 -1
- package/lib/interface/payment.d.ts +7 -21
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/payment.js +1 -0
- package/lib/interface/payment.js.map +1 -1
- package/lib/interface/permission.d.ts.map +1 -1
- package/lib/interface/permission.js +1 -0
- package/lib/interface/permission.js.map +1 -1
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/promo.js +1 -0
- package/lib/interface/promo.js.map +1 -1
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/report.js +1 -0
- package/lib/interface/report.js.map +1 -1
- package/lib/interface/shoppingcart.d.ts +1 -0
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/shoppingcart.js +1 -0
- package/lib/interface/shoppingcart.js.map +1 -1
- package/lib/interface/sms.js +1 -0
- package/lib/interface/sms.js.map +1 -1
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/task.js +1 -0
- package/lib/interface/task.js.map +1 -1
- package/lib/interface/user.d.ts +2 -0
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/user.js +1 -0
- package/lib/interface/user.js.map +1 -1
- package/lib/interface/vendor.d.ts.map +1 -1
- package/lib/interface/vendor.js +1 -0
- package/lib/interface/vendor.js.map +1 -1
- package/manifest.json +24 -24
- package/package.json +3 -3
- package/pipeline.yml +1 -0
- package/src/index.ts +535 -40
- package/src/interface/announcement.ts +1 -0
- package/src/interface/calendar.ts +1 -0
- package/src/interface/compassconnect.ts +1 -0
- package/src/interface/config.ts +1 -0
- package/src/interface/datalake.ts +1 -0
- package/src/interface/delivery.ts +14 -13
- package/src/interface/email.ts +1 -0
- package/src/interface/file.ts +1 -0
- package/src/interface/kds.ts +1 -0
- package/src/interface/location.ts +1 -0
- package/src/interface/loyalty.ts +1 -0
- package/src/interface/mealplan.ts +1 -0
- package/src/interface/menu.ts +1392 -89
- package/src/interface/notification.ts +19 -0
- package/src/interface/order.ts +4 -0
- package/src/interface/partner.ts +1 -0
- package/src/interface/payment.ts +15 -41
- package/src/interface/permission.ts +1 -0
- package/src/interface/promo.ts +1 -0
- package/src/interface/report.ts +1 -0
- package/src/interface/shoppingcart.ts +3 -1
- package/src/interface/sms.ts +1 -0
- package/src/interface/task.ts +1 -0
- package/src/interface/user.ts +5 -0
- package/src/interface/vendor.ts +1 -0
- package/quicktest.json +0 -8
package/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,11 +512,15 @@ import {
|
|
|
504
512
|
PostMenuV3ItemRelationshipsModifierGroupsResponse,
|
|
505
513
|
PostMenuV3ItemRelationshipsModifierGroupBody,
|
|
506
514
|
PostMenuV3ItemRelationshipsModifierGroupResponse,
|
|
515
|
+
GetMenuV3ItemRelationshipsModifierGroupQuery,
|
|
516
|
+
GetMenuV3ItemRelationshipsModifierGroupResponse,
|
|
507
517
|
PatchMenuV3ItemRelationshipsModifierGroupBody,
|
|
508
518
|
PatchMenuV3ItemRelationshipsModifierGroupResponse,
|
|
509
519
|
DeleteMenuV3ItemRelationshipsModifierGroupResponse,
|
|
510
520
|
GetMenuV3LayoutsQuery,
|
|
511
521
|
GetMenuV3LayoutsResponse,
|
|
522
|
+
PostMenuV3LayoutsBody,
|
|
523
|
+
PostMenuV3LayoutsResponse,
|
|
512
524
|
GetMenuV3LayoutCategoriesQuery,
|
|
513
525
|
GetMenuV3LayoutCategoriesResponse,
|
|
514
526
|
GetMenuV3LayoutQuery,
|
|
@@ -537,15 +549,19 @@ import {
|
|
|
537
549
|
PostMenuV3CategoryRelationshipsItemsResponse,
|
|
538
550
|
PostMenuV3CategoryRelationshipsItemBody,
|
|
539
551
|
PostMenuV3CategoryRelationshipsItemResponse,
|
|
552
|
+
GetMenuV3CategoryRelationshipsItemQuery,
|
|
553
|
+
GetMenuV3CategoryRelationshipsItemResponse,
|
|
540
554
|
PatchMenuV3CategoryRelationshipsItemBody,
|
|
541
555
|
PatchMenuV3CategoryRelationshipsItemResponse,
|
|
542
556
|
DeleteMenuV3CategoryRelationshipsItemResponse,
|
|
543
557
|
GetMenuV3BrandsQuery,
|
|
544
558
|
GetMenuV3BrandsResponse,
|
|
559
|
+
PostMenuV3BrandsBody,
|
|
560
|
+
PostMenuV3BrandsResponse,
|
|
545
561
|
GetMenuV3BrandModifiersQuery,
|
|
546
562
|
GetMenuV3BrandModifiersResponse,
|
|
547
|
-
|
|
548
|
-
|
|
563
|
+
GetMenuV3BrandModifierGroupsQuery,
|
|
564
|
+
GetMenuV3BrandModifierGroupsResponse,
|
|
549
565
|
GetMenuV3BrandItemsQuery,
|
|
550
566
|
GetMenuV3BrandItemsResponse,
|
|
551
567
|
GetMenuV3BrandQuery,
|
|
@@ -559,6 +575,8 @@ import {
|
|
|
559
575
|
GetMenuV3BrandsCountResponse,
|
|
560
576
|
GetMenuV3StationsQuery,
|
|
561
577
|
GetMenuV3StationsResponse,
|
|
578
|
+
PostMenuV3StationsBody,
|
|
579
|
+
PostMenuV3StationsResponse,
|
|
562
580
|
GetMenuV3StationQuery,
|
|
563
581
|
GetMenuV3StationResponse,
|
|
564
582
|
PatchMenuV3StationBody,
|
|
@@ -626,6 +644,28 @@ import {
|
|
|
626
644
|
PostMenuPartialGroupItemOptionsQuery,
|
|
627
645
|
PostMenuPartialGroupItemOptionsBody,
|
|
628
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,
|
|
629
669
|
} from "./interface/menu";
|
|
630
670
|
|
|
631
671
|
import {
|
|
@@ -638,6 +678,8 @@ import {
|
|
|
638
678
|
DeleteNotificationResponse,
|
|
639
679
|
PostNotificationStatusBody,
|
|
640
680
|
PostNotificationStatusResponse,
|
|
681
|
+
PostNotificationDevicePushBody,
|
|
682
|
+
PostNotificationDevicePushResponse,
|
|
641
683
|
GetNotificationSwaggerQuery,
|
|
642
684
|
GetNotificationSwaggerResponse,
|
|
643
685
|
} from "./interface/notification";
|
|
@@ -987,26 +1029,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
987
1029
|
return this.request("payment", "get_payment_hpc", "get", `/payment/hpc`, null, options);
|
|
988
1030
|
}
|
|
989
1031
|
|
|
990
|
-
/**
|
|
991
|
-
* GET /payment/hcaptcha/verify
|
|
992
|
-
*
|
|
993
|
-
* @param options - additional request options
|
|
994
|
-
*/
|
|
995
|
-
get_payment_hcaptcha_verify(
|
|
996
|
-
options?: {
|
|
997
|
-
query?: GetPaymentHcaptchaVerifyQuery;
|
|
998
|
-
} & RequestOptions
|
|
999
|
-
): ResponsePromise<GetPaymentHcaptchaVerifyResponse> {
|
|
1000
|
-
return this.request(
|
|
1001
|
-
"payment",
|
|
1002
|
-
"get_payment_hcaptcha_verify",
|
|
1003
|
-
"get",
|
|
1004
|
-
`/payment/hcaptcha/verify`,
|
|
1005
|
-
null,
|
|
1006
|
-
options
|
|
1007
|
-
);
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
1032
|
/**
|
|
1011
1033
|
* GET /payment/{id}/badgepay
|
|
1012
1034
|
*
|
|
@@ -4125,8 +4147,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4125
4147
|
*/
|
|
4126
4148
|
post_user(
|
|
4127
4149
|
body: PostUserBody,
|
|
4128
|
-
options
|
|
4129
|
-
query
|
|
4150
|
+
options: {
|
|
4151
|
+
query: PostUserQuery;
|
|
4130
4152
|
} & RequestOptions
|
|
4131
4153
|
): ResponsePromise<PostUserResponse> {
|
|
4132
4154
|
return this.request("user", "post_user", "post", `/user`, body, options);
|
|
@@ -4349,8 +4371,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4349
4371
|
*/
|
|
4350
4372
|
post_user_reset_password(
|
|
4351
4373
|
body: PostUserResetPasswordBody,
|
|
4352
|
-
options
|
|
4353
|
-
query
|
|
4374
|
+
options: {
|
|
4375
|
+
query: PostUserResetPasswordQuery;
|
|
4354
4376
|
} & RequestOptions
|
|
4355
4377
|
): ResponsePromise<PostUserResetPasswordResponse> {
|
|
4356
4378
|
return this.request(
|
|
@@ -4777,6 +4799,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4777
4799
|
);
|
|
4778
4800
|
}
|
|
4779
4801
|
|
|
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
|
+
|
|
4780
4822
|
/**
|
|
4781
4823
|
* GET /menu/v3/modifier/{id}
|
|
4782
4824
|
*
|
|
@@ -4803,7 +4845,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4803
4845
|
* PATCH /menu/v3/modifier/{id}
|
|
4804
4846
|
*
|
|
4805
4847
|
* @param id
|
|
4806
|
-
* @param body
|
|
4848
|
+
* @param body - A partially populated ModifierEntity
|
|
4807
4849
|
* @param options - additional request options
|
|
4808
4850
|
*/
|
|
4809
4851
|
patch_menu_v3_modifier(
|
|
@@ -4821,6 +4863,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4821
4863
|
);
|
|
4822
4864
|
}
|
|
4823
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
|
+
|
|
4824
4886
|
/**
|
|
4825
4887
|
* POST /menu/v3/modifier
|
|
4826
4888
|
*
|
|
@@ -4881,6 +4943,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4881
4943
|
);
|
|
4882
4944
|
}
|
|
4883
4945
|
|
|
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
|
+
|
|
4884
4966
|
/**
|
|
4885
4967
|
* POST /menu/v3/modifier-group
|
|
4886
4968
|
*
|
|
@@ -4927,7 +5009,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4927
5009
|
* PATCH /menu/v3/modifier-group/{id}
|
|
4928
5010
|
*
|
|
4929
5011
|
* @param id
|
|
4930
|
-
* @param body
|
|
5012
|
+
* @param body - A partially populated ModifierGroupEntity
|
|
4931
5013
|
* @param options - additional request options
|
|
4932
5014
|
*/
|
|
4933
5015
|
patch_menu_v3_modifier_group(
|
|
@@ -4945,6 +5027,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4945
5027
|
);
|
|
4946
5028
|
}
|
|
4947
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
|
+
|
|
4948
5050
|
/**
|
|
4949
5051
|
* GET /menu/v3/modifier-group/count
|
|
4950
5052
|
*
|
|
@@ -5051,7 +5153,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5051
5153
|
* PATCH /menu/v3/modifier-group/relationships/modifier/{id}
|
|
5052
5154
|
*
|
|
5053
5155
|
* @param id
|
|
5054
|
-
* @param body
|
|
5156
|
+
* @param body - A partially populated ModifierGroupToModifierRelationship
|
|
5055
5157
|
* @param options - additional request options
|
|
5056
5158
|
*/
|
|
5057
5159
|
patch_menu_v3_modifier_group_relationships_modifier(
|
|
@@ -5069,6 +5171,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5069
5171
|
);
|
|
5070
5172
|
}
|
|
5071
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
|
+
|
|
5072
5194
|
/**
|
|
5073
5195
|
* GET /menu/v3/items
|
|
5074
5196
|
*
|
|
@@ -5082,6 +5204,19 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5082
5204
|
return this.request("menu", "get_menu_v3_items", "get", `/menu/v3/items`, null, options);
|
|
5083
5205
|
}
|
|
5084
5206
|
|
|
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
|
+
|
|
5085
5220
|
/**
|
|
5086
5221
|
* GET /menu/v3/item/{id}
|
|
5087
5222
|
*
|
|
@@ -5101,7 +5236,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5101
5236
|
* PATCH /menu/v3/item/{id}
|
|
5102
5237
|
*
|
|
5103
5238
|
* @param id
|
|
5104
|
-
* @param body
|
|
5239
|
+
* @param body - A partially populated ItemEntity
|
|
5105
5240
|
* @param options - additional request options
|
|
5106
5241
|
*/
|
|
5107
5242
|
patch_menu_v3_item(
|
|
@@ -5119,6 +5254,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5119
5254
|
);
|
|
5120
5255
|
}
|
|
5121
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
|
+
|
|
5122
5277
|
/**
|
|
5123
5278
|
* POST /menu/v3/item
|
|
5124
5279
|
*
|
|
@@ -5212,11 +5367,33 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5212
5367
|
);
|
|
5213
5368
|
}
|
|
5214
5369
|
|
|
5370
|
+
/**
|
|
5371
|
+
* GET /menu/v3/item/relationships/modifier-group/{id}
|
|
5372
|
+
*
|
|
5373
|
+
* @param id
|
|
5374
|
+
* @param options - additional request options
|
|
5375
|
+
*/
|
|
5376
|
+
get_menu_v3_item_relationships_modifier_group(
|
|
5377
|
+
id: string,
|
|
5378
|
+
options?: {
|
|
5379
|
+
query?: GetMenuV3ItemRelationshipsModifierGroupQuery;
|
|
5380
|
+
} & RequestOptions
|
|
5381
|
+
): ResponsePromise<GetMenuV3ItemRelationshipsModifierGroupResponse> {
|
|
5382
|
+
return this.request(
|
|
5383
|
+
"menu",
|
|
5384
|
+
"get_menu_v3_item_relationships_modifier_group",
|
|
5385
|
+
"get",
|
|
5386
|
+
`/menu/v3/item/relationships/modifier-group/${id}`,
|
|
5387
|
+
null,
|
|
5388
|
+
options
|
|
5389
|
+
);
|
|
5390
|
+
}
|
|
5391
|
+
|
|
5215
5392
|
/**
|
|
5216
5393
|
* PATCH /menu/v3/item/relationships/modifier-group/{id}
|
|
5217
5394
|
*
|
|
5218
5395
|
* @param id
|
|
5219
|
-
* @param body
|
|
5396
|
+
* @param body - A partially populated ItemToModifierGroupRelationship
|
|
5220
5397
|
* @param options - additional request options
|
|
5221
5398
|
*/
|
|
5222
5399
|
patch_menu_v3_item_relationships_modifier_group(
|
|
@@ -5267,6 +5444,19 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5267
5444
|
return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
|
|
5268
5445
|
}
|
|
5269
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
|
+
|
|
5270
5460
|
/**
|
|
5271
5461
|
* GET /menu/v3/layout/{id}/categories
|
|
5272
5462
|
*
|
|
@@ -5315,7 +5505,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5315
5505
|
* PATCH /menu/v3/layout/{id}
|
|
5316
5506
|
*
|
|
5317
5507
|
* @param id
|
|
5318
|
-
* @param body
|
|
5508
|
+
* @param body - A partially populated LayoutEntity
|
|
5319
5509
|
* @param options - additional request options
|
|
5320
5510
|
*/
|
|
5321
5511
|
patch_menu_v3_layout(
|
|
@@ -5432,7 +5622,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5432
5622
|
* PATCH /menu/v3/category/{id}
|
|
5433
5623
|
*
|
|
5434
5624
|
* @param id
|
|
5435
|
-
* @param body
|
|
5625
|
+
* @param body - A partially populated CategoryEntity
|
|
5436
5626
|
* @param options - additional request options
|
|
5437
5627
|
*/
|
|
5438
5628
|
patch_menu_v3_category(
|
|
@@ -5570,11 +5760,33 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5570
5760
|
);
|
|
5571
5761
|
}
|
|
5572
5762
|
|
|
5763
|
+
/**
|
|
5764
|
+
* GET /menu/v3/category/relationships/item/{id}
|
|
5765
|
+
*
|
|
5766
|
+
* @param id
|
|
5767
|
+
* @param options - additional request options
|
|
5768
|
+
*/
|
|
5769
|
+
get_menu_v3_category_relationships_item(
|
|
5770
|
+
id: string,
|
|
5771
|
+
options?: {
|
|
5772
|
+
query?: GetMenuV3CategoryRelationshipsItemQuery;
|
|
5773
|
+
} & RequestOptions
|
|
5774
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemResponse> {
|
|
5775
|
+
return this.request(
|
|
5776
|
+
"menu",
|
|
5777
|
+
"get_menu_v3_category_relationships_item",
|
|
5778
|
+
"get",
|
|
5779
|
+
`/menu/v3/category/relationships/item/${id}`,
|
|
5780
|
+
null,
|
|
5781
|
+
options
|
|
5782
|
+
);
|
|
5783
|
+
}
|
|
5784
|
+
|
|
5573
5785
|
/**
|
|
5574
5786
|
* PATCH /menu/v3/category/relationships/item/{id}
|
|
5575
5787
|
*
|
|
5576
5788
|
* @param id
|
|
5577
|
-
* @param body
|
|
5789
|
+
* @param body - A partially populated CategoryToItemRelationship
|
|
5578
5790
|
* @param options - additional request options
|
|
5579
5791
|
*/
|
|
5580
5792
|
patch_menu_v3_category_relationships_item(
|
|
@@ -5625,6 +5837,19 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5625
5837
|
return this.request("menu", "get_menu_v3_brands", "get", `/menu/v3/brands`, null, options);
|
|
5626
5838
|
}
|
|
5627
5839
|
|
|
5840
|
+
/**
|
|
5841
|
+
* POST /menu/v3/brands
|
|
5842
|
+
*
|
|
5843
|
+
* @param body
|
|
5844
|
+
* @param options - additional request options
|
|
5845
|
+
*/
|
|
5846
|
+
post_menu_v3_brands(
|
|
5847
|
+
body: PostMenuV3BrandsBody,
|
|
5848
|
+
options?: RequestOptions
|
|
5849
|
+
): ResponsePromise<PostMenuV3BrandsResponse> {
|
|
5850
|
+
return this.request("menu", "post_menu_v3_brands", "post", `/menu/v3/brands`, body, options);
|
|
5851
|
+
}
|
|
5852
|
+
|
|
5628
5853
|
/**
|
|
5629
5854
|
* GET /menu/v3/brand/{id}/modifiers
|
|
5630
5855
|
*
|
|
@@ -5656,9 +5881,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5656
5881
|
get_menu_v3_brand_modifier_groups(
|
|
5657
5882
|
id: string,
|
|
5658
5883
|
options?: {
|
|
5659
|
-
query?:
|
|
5884
|
+
query?: GetMenuV3BrandModifierGroupsQuery;
|
|
5660
5885
|
} & RequestOptions
|
|
5661
|
-
): ResponsePromise<
|
|
5886
|
+
): ResponsePromise<GetMenuV3BrandModifierGroupsResponse> {
|
|
5662
5887
|
return this.request(
|
|
5663
5888
|
"menu",
|
|
5664
5889
|
"get_menu_v3_brand_modifier_groups",
|
|
@@ -5710,7 +5935,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5710
5935
|
* PATCH /menu/v3/brand/{id}
|
|
5711
5936
|
*
|
|
5712
5937
|
* @param id
|
|
5713
|
-
* @param body
|
|
5938
|
+
* @param body - A partially populated BrandEntity
|
|
5714
5939
|
* @param options - additional request options
|
|
5715
5940
|
*/
|
|
5716
5941
|
patch_menu_v3_brand(
|
|
@@ -5794,6 +6019,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5794
6019
|
return this.request("menu", "get_menu_v3_stations", "get", `/menu/v3/stations`, null, options);
|
|
5795
6020
|
}
|
|
5796
6021
|
|
|
6022
|
+
/**
|
|
6023
|
+
* POST /menu/v3/stations
|
|
6024
|
+
*
|
|
6025
|
+
* @param body
|
|
6026
|
+
* @param options - additional request options
|
|
6027
|
+
*/
|
|
6028
|
+
post_menu_v3_stations(
|
|
6029
|
+
body: PostMenuV3StationsBody,
|
|
6030
|
+
options?: RequestOptions
|
|
6031
|
+
): ResponsePromise<PostMenuV3StationsResponse> {
|
|
6032
|
+
return this.request(
|
|
6033
|
+
"menu",
|
|
6034
|
+
"post_menu_v3_stations",
|
|
6035
|
+
"post",
|
|
6036
|
+
`/menu/v3/stations`,
|
|
6037
|
+
body,
|
|
6038
|
+
options
|
|
6039
|
+
);
|
|
6040
|
+
}
|
|
6041
|
+
|
|
5797
6042
|
/**
|
|
5798
6043
|
* GET /menu/v3/station/{id}
|
|
5799
6044
|
*
|
|
@@ -5820,7 +6065,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5820
6065
|
* PATCH /menu/v3/station/{id}
|
|
5821
6066
|
*
|
|
5822
6067
|
* @param id
|
|
5823
|
-
* @param body
|
|
6068
|
+
* @param body - A partially populated StationEntity
|
|
5824
6069
|
* @param options - additional request options
|
|
5825
6070
|
*/
|
|
5826
6071
|
patch_menu_v3_station(
|
|
@@ -6424,6 +6669,236 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6424
6669
|
);
|
|
6425
6670
|
}
|
|
6426
6671
|
|
|
6672
|
+
/**
|
|
6673
|
+
* POST /menu/v3/layout/{id}/publish
|
|
6674
|
+
*
|
|
6675
|
+
* @param id
|
|
6676
|
+
* @param options - additional request options
|
|
6677
|
+
*/
|
|
6678
|
+
post_menu_v3_layout_publish(
|
|
6679
|
+
id: string,
|
|
6680
|
+
options?: {
|
|
6681
|
+
query?: PostMenuV3LayoutPublishQuery;
|
|
6682
|
+
} & RequestOptions
|
|
6683
|
+
): ResponsePromise<PostMenuV3LayoutPublishResponse> {
|
|
6684
|
+
return this.request(
|
|
6685
|
+
"menu",
|
|
6686
|
+
"post_menu_v3_layout_publish",
|
|
6687
|
+
"post",
|
|
6688
|
+
`/menu/v3/layout/${id}/publish`,
|
|
6689
|
+
null,
|
|
6690
|
+
options
|
|
6691
|
+
);
|
|
6692
|
+
}
|
|
6693
|
+
|
|
6694
|
+
/**
|
|
6695
|
+
* POST /menu/v3/categorys
|
|
6696
|
+
*
|
|
6697
|
+
* @param body
|
|
6698
|
+
* @param options - additional request options
|
|
6699
|
+
*/
|
|
6700
|
+
post_menu_v3_categorys(
|
|
6701
|
+
body: PostMenuV3CategorysBody,
|
|
6702
|
+
options?: RequestOptions
|
|
6703
|
+
): ResponsePromise<PostMenuV3CategorysResponse> {
|
|
6704
|
+
return this.request(
|
|
6705
|
+
"menu",
|
|
6706
|
+
"post_menu_v3_categorys",
|
|
6707
|
+
"post",
|
|
6708
|
+
`/menu/v3/categorys`,
|
|
6709
|
+
body,
|
|
6710
|
+
options
|
|
6711
|
+
);
|
|
6712
|
+
}
|
|
6713
|
+
|
|
6714
|
+
/**
|
|
6715
|
+
* GET /menu/v3/category/relationships/items/count
|
|
6716
|
+
*
|
|
6717
|
+
* @param options - additional request options
|
|
6718
|
+
*/
|
|
6719
|
+
get_menu_v3_category_relationships_items_count(
|
|
6720
|
+
options?: {
|
|
6721
|
+
query?: GetMenuV3CategoryRelationshipsItemsCountQuery;
|
|
6722
|
+
} & RequestOptions
|
|
6723
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemsCountResponse> {
|
|
6724
|
+
return this.request(
|
|
6725
|
+
"menu",
|
|
6726
|
+
"get_menu_v3_category_relationships_items_count",
|
|
6727
|
+
"get",
|
|
6728
|
+
`/menu/v3/category/relationships/items/count`,
|
|
6729
|
+
null,
|
|
6730
|
+
options
|
|
6731
|
+
);
|
|
6732
|
+
}
|
|
6733
|
+
|
|
6734
|
+
/**
|
|
6735
|
+
* GET /menu/v3/item/relationships/modifier-groups/count
|
|
6736
|
+
*
|
|
6737
|
+
* @param options - additional request options
|
|
6738
|
+
*/
|
|
6739
|
+
get_menu_v3_item_relationships_modifier_groups_count(
|
|
6740
|
+
options?: {
|
|
6741
|
+
query?: GetMenuV3ItemRelationshipsModifierGroupsCountQuery;
|
|
6742
|
+
} & RequestOptions
|
|
6743
|
+
): ResponsePromise<GetMenuV3ItemRelationshipsModifierGroupsCountResponse> {
|
|
6744
|
+
return this.request(
|
|
6745
|
+
"menu",
|
|
6746
|
+
"get_menu_v3_item_relationships_modifier_groups_count",
|
|
6747
|
+
"get",
|
|
6748
|
+
`/menu/v3/item/relationships/modifier-groups/count`,
|
|
6749
|
+
null,
|
|
6750
|
+
options
|
|
6751
|
+
);
|
|
6752
|
+
}
|
|
6753
|
+
|
|
6754
|
+
/**
|
|
6755
|
+
* GET /menu/v3/modifier-groups/count
|
|
6756
|
+
*
|
|
6757
|
+
* @param options - additional request options
|
|
6758
|
+
*/
|
|
6759
|
+
get_menu_v3_modifier_groups_count(
|
|
6760
|
+
options?: {
|
|
6761
|
+
query?: GetMenuV3ModifierGroupsCountQuery;
|
|
6762
|
+
} & RequestOptions
|
|
6763
|
+
): ResponsePromise<GetMenuV3ModifierGroupsCountResponse> {
|
|
6764
|
+
return this.request(
|
|
6765
|
+
"menu",
|
|
6766
|
+
"get_menu_v3_modifier_groups_count",
|
|
6767
|
+
"get",
|
|
6768
|
+
`/menu/v3/modifier-groups/count`,
|
|
6769
|
+
null,
|
|
6770
|
+
options
|
|
6771
|
+
);
|
|
6772
|
+
}
|
|
6773
|
+
|
|
6774
|
+
/**
|
|
6775
|
+
* GET /menu/v3/modifier-group/relationships/modifiers/count
|
|
6776
|
+
*
|
|
6777
|
+
* @param options - additional request options
|
|
6778
|
+
*/
|
|
6779
|
+
get_menu_v3_modifier_group_relationships_modifiers_count(
|
|
6780
|
+
options?: {
|
|
6781
|
+
query?: GetMenuV3ModifierGroupRelationshipsModifiersCountQuery;
|
|
6782
|
+
} & RequestOptions
|
|
6783
|
+
): ResponsePromise<GetMenuV3ModifierGroupRelationshipsModifiersCountResponse> {
|
|
6784
|
+
return this.request(
|
|
6785
|
+
"menu",
|
|
6786
|
+
"get_menu_v3_modifier_group_relationships_modifiers_count",
|
|
6787
|
+
"get",
|
|
6788
|
+
`/menu/v3/modifier-group/relationships/modifiers/count`,
|
|
6789
|
+
null,
|
|
6790
|
+
options
|
|
6791
|
+
);
|
|
6792
|
+
}
|
|
6793
|
+
|
|
6794
|
+
/**
|
|
6795
|
+
* GET /menu/v3/modifiers/count
|
|
6796
|
+
*
|
|
6797
|
+
* @param options - additional request options
|
|
6798
|
+
*/
|
|
6799
|
+
get_menu_v3_modifiers_count(
|
|
6800
|
+
options?: {
|
|
6801
|
+
query?: GetMenuV3ModifiersCountQuery;
|
|
6802
|
+
} & RequestOptions
|
|
6803
|
+
): ResponsePromise<GetMenuV3ModifiersCountResponse> {
|
|
6804
|
+
return this.request(
|
|
6805
|
+
"menu",
|
|
6806
|
+
"get_menu_v3_modifiers_count",
|
|
6807
|
+
"get",
|
|
6808
|
+
`/menu/v3/modifiers/count`,
|
|
6809
|
+
null,
|
|
6810
|
+
options
|
|
6811
|
+
);
|
|
6812
|
+
}
|
|
6813
|
+
|
|
6814
|
+
/**
|
|
6815
|
+
* GET /menu/v3/station/{id}/modifiers
|
|
6816
|
+
*
|
|
6817
|
+
* @param id
|
|
6818
|
+
* @param options - additional request options
|
|
6819
|
+
*/
|
|
6820
|
+
get_menu_v3_station_modifiers(
|
|
6821
|
+
id: string,
|
|
6822
|
+
options?: {
|
|
6823
|
+
query?: GetMenuV3StationModifiersQuery;
|
|
6824
|
+
} & RequestOptions
|
|
6825
|
+
): ResponsePromise<GetMenuV3StationModifiersResponse> {
|
|
6826
|
+
return this.request(
|
|
6827
|
+
"menu",
|
|
6828
|
+
"get_menu_v3_station_modifiers",
|
|
6829
|
+
"get",
|
|
6830
|
+
`/menu/v3/station/${id}/modifiers`,
|
|
6831
|
+
null,
|
|
6832
|
+
options
|
|
6833
|
+
);
|
|
6834
|
+
}
|
|
6835
|
+
|
|
6836
|
+
/**
|
|
6837
|
+
* GET /menu/v3/station/{id}/modifier_groups
|
|
6838
|
+
*
|
|
6839
|
+
* @param id
|
|
6840
|
+
* @param options - additional request options
|
|
6841
|
+
*/
|
|
6842
|
+
get_menu_v3_station_modifier_groups(
|
|
6843
|
+
id: string,
|
|
6844
|
+
options?: {
|
|
6845
|
+
query?: GetMenuV3StationModifierGroupsQuery;
|
|
6846
|
+
} & RequestOptions
|
|
6847
|
+
): ResponsePromise<GetMenuV3StationModifierGroupsResponse> {
|
|
6848
|
+
return this.request(
|
|
6849
|
+
"menu",
|
|
6850
|
+
"get_menu_v3_station_modifier_groups",
|
|
6851
|
+
"get",
|
|
6852
|
+
`/menu/v3/station/${id}/modifier_groups`,
|
|
6853
|
+
null,
|
|
6854
|
+
options
|
|
6855
|
+
);
|
|
6856
|
+
}
|
|
6857
|
+
|
|
6858
|
+
/**
|
|
6859
|
+
* GET /menu/v3/station/{id}/items
|
|
6860
|
+
*
|
|
6861
|
+
* @param id
|
|
6862
|
+
* @param options - additional request options
|
|
6863
|
+
*/
|
|
6864
|
+
get_menu_v3_station_items(
|
|
6865
|
+
id: string,
|
|
6866
|
+
options?: {
|
|
6867
|
+
query?: GetMenuV3StationItemsQuery;
|
|
6868
|
+
} & RequestOptions
|
|
6869
|
+
): ResponsePromise<GetMenuV3StationItemsResponse> {
|
|
6870
|
+
return this.request(
|
|
6871
|
+
"menu",
|
|
6872
|
+
"get_menu_v3_station_items",
|
|
6873
|
+
"get",
|
|
6874
|
+
`/menu/v3/station/${id}/items`,
|
|
6875
|
+
null,
|
|
6876
|
+
options
|
|
6877
|
+
);
|
|
6878
|
+
}
|
|
6879
|
+
|
|
6880
|
+
/**
|
|
6881
|
+
* GET /menu/v3/site/{id}/layouts
|
|
6882
|
+
*
|
|
6883
|
+
* @param id
|
|
6884
|
+
* @param options - additional request options
|
|
6885
|
+
*/
|
|
6886
|
+
get_menu_v3_site_layouts(
|
|
6887
|
+
id: string,
|
|
6888
|
+
options?: {
|
|
6889
|
+
query?: GetMenuV3SiteLayoutsQuery;
|
|
6890
|
+
} & RequestOptions
|
|
6891
|
+
): ResponsePromise<GetMenuV3SiteLayoutsResponse> {
|
|
6892
|
+
return this.request(
|
|
6893
|
+
"menu",
|
|
6894
|
+
"get_menu_v3_site_layouts",
|
|
6895
|
+
"get",
|
|
6896
|
+
`/menu/v3/site/${id}/layouts`,
|
|
6897
|
+
null,
|
|
6898
|
+
options
|
|
6899
|
+
);
|
|
6900
|
+
}
|
|
6901
|
+
|
|
6427
6902
|
/**
|
|
6428
6903
|
* GET /notification - Get all notifications
|
|
6429
6904
|
*
|
|
@@ -6521,6 +6996,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6521
6996
|
);
|
|
6522
6997
|
}
|
|
6523
6998
|
|
|
6999
|
+
/**
|
|
7000
|
+
* POST /notification/device/push - Send a push notification to user's device
|
|
7001
|
+
*
|
|
7002
|
+
* @param body - Push notification to send
|
|
7003
|
+
* @param options - additional request options
|
|
7004
|
+
*/
|
|
7005
|
+
post_notification_device_push(
|
|
7006
|
+
body: PostNotificationDevicePushBody,
|
|
7007
|
+
options?: RequestOptions
|
|
7008
|
+
): ResponsePromise<PostNotificationDevicePushResponse> {
|
|
7009
|
+
return this.request(
|
|
7010
|
+
"notification",
|
|
7011
|
+
"post_notification_device_push",
|
|
7012
|
+
"post",
|
|
7013
|
+
`/notification/device/push`,
|
|
7014
|
+
body,
|
|
7015
|
+
options
|
|
7016
|
+
);
|
|
7017
|
+
}
|
|
7018
|
+
|
|
6524
7019
|
/**
|
|
6525
7020
|
* GET /notification/swagger.json - Get a swagger for notification service
|
|
6526
7021
|
*
|