@compassdigital/sdk.typescript 3.0.0-beta.10 → 3.0.0-beta.11
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/gen.ts +11 -4
- package/lib/base.d.ts +86 -6
- package/lib/base.d.ts.map +1 -1
- package/lib/base.js +120 -28
- package/lib/base.js.map +1 -1
- package/lib/index.d.ts +236 -236
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/order.d.ts +4 -4
- package/lib/order.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/base.ts +120 -15
- package/src/index.ts +273 -238
- package/src/order.ts +6 -6
- package/template.ejs +2 -2
- package/test/client.test.ts +3 -3
- package/test/gen.test.ts +22 -0
package/src/index.ts
CHANGED
|
@@ -43,8 +43,8 @@ import {
|
|
|
43
43
|
GetOrderCustomerOrdersQuery,
|
|
44
44
|
GetOrderCustomerOrdersResponse,
|
|
45
45
|
GetOrderCustomerOrdersBrandResponse,
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
GetOrderLocationBrandQuery,
|
|
47
|
+
GetOrderLocationBrandResponse,
|
|
48
48
|
GetOrderLocationOrdersQuery,
|
|
49
49
|
GetOrderLocationOrdersResponse,
|
|
50
50
|
GetOrderGroupOrdersQuery,
|
|
@@ -455,7 +455,7 @@ import { PostMessageBody, PostMessageResponse, GetMessageResponse } from "./mess
|
|
|
455
455
|
|
|
456
456
|
import { GetLoggerBrandStatusQuery, GetLoggerBrandStatusResponse } from "./logger";
|
|
457
457
|
|
|
458
|
-
import { BaseServiceClient, RequestOptions } from "./base";
|
|
458
|
+
import { BaseServiceClient, RequestOptions, ResponsePromise } from "./base";
|
|
459
459
|
export * from "./base";
|
|
460
460
|
|
|
461
461
|
export class ServiceClient extends BaseServiceClient {
|
|
@@ -470,7 +470,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
470
470
|
id: string,
|
|
471
471
|
body: PostPaymentTransactionBody,
|
|
472
472
|
options?: RequestOptions
|
|
473
|
-
):
|
|
473
|
+
): ResponsePromise<PostPaymentTransactionResponse> {
|
|
474
474
|
return this.request(
|
|
475
475
|
"payment",
|
|
476
476
|
"post_payment_transaction",
|
|
@@ -494,7 +494,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
494
494
|
transaction_id: string,
|
|
495
495
|
body: PostPaymentTransactionRefundBody,
|
|
496
496
|
options?: RequestOptions
|
|
497
|
-
):
|
|
497
|
+
): ResponsePromise<PostPaymentTransactionRefundResponse> {
|
|
498
498
|
return this.request(
|
|
499
499
|
"payment",
|
|
500
500
|
"post_payment_transaction_refund",
|
|
@@ -514,7 +514,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
514
514
|
get_payment_clienttoken(
|
|
515
515
|
id: string,
|
|
516
516
|
options?: RequestOptions
|
|
517
|
-
):
|
|
517
|
+
): ResponsePromise<GetPaymentClienttokenResponse> {
|
|
518
518
|
return this.request(
|
|
519
519
|
"payment",
|
|
520
520
|
"get_payment_clienttoken",
|
|
@@ -536,7 +536,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
536
536
|
id: string,
|
|
537
537
|
body: PostPaymentPaymenttokenBody,
|
|
538
538
|
options?: RequestOptions
|
|
539
|
-
):
|
|
539
|
+
): ResponsePromise<PostPaymentPaymenttokenResponse> {
|
|
540
540
|
return this.request(
|
|
541
541
|
"payment",
|
|
542
542
|
"post_payment_paymenttoken",
|
|
@@ -556,7 +556,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
556
556
|
post_payment_consumer(
|
|
557
557
|
body: PostPaymentConsumerBody,
|
|
558
558
|
options?: RequestOptions
|
|
559
|
-
):
|
|
559
|
+
): ResponsePromise<PostPaymentConsumerResponse> {
|
|
560
560
|
return this.request(
|
|
561
561
|
"payment",
|
|
562
562
|
"post_payment_consumer",
|
|
@@ -576,7 +576,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
576
576
|
post_payment_method(
|
|
577
577
|
body: PostPaymentMethodBody,
|
|
578
578
|
options?: RequestOptions
|
|
579
|
-
):
|
|
579
|
+
): ResponsePromise<PostPaymentMethodResponse> {
|
|
580
580
|
return this.request("payment", "post_payment_method", "post", `/payment/method`, body, options);
|
|
581
581
|
}
|
|
582
582
|
|
|
@@ -591,7 +591,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
591
591
|
options: {
|
|
592
592
|
query: GetPaymentMethodQuery;
|
|
593
593
|
} & RequestOptions
|
|
594
|
-
):
|
|
594
|
+
): ResponsePromise<GetPaymentMethodResponse> {
|
|
595
595
|
return this.request(
|
|
596
596
|
"payment",
|
|
597
597
|
"get_payment_method",
|
|
@@ -615,7 +615,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
615
615
|
method_id: string,
|
|
616
616
|
body: DeletePaymentMethodBody,
|
|
617
617
|
options?: RequestOptions
|
|
618
|
-
):
|
|
618
|
+
): ResponsePromise<DeletePaymentMethodResponse> {
|
|
619
619
|
return this.request(
|
|
620
620
|
"payment",
|
|
621
621
|
"delete_payment_method",
|
|
@@ -635,7 +635,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
635
635
|
options: {
|
|
636
636
|
query: GetPaymentTokenQuery;
|
|
637
637
|
} & RequestOptions
|
|
638
|
-
):
|
|
638
|
+
): ResponsePromise<GetPaymentTokenResponse> {
|
|
639
639
|
return this.request("payment", "get_payment_token", "get", `/payment/token`, null, options);
|
|
640
640
|
}
|
|
641
641
|
|
|
@@ -648,7 +648,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
648
648
|
post_payment_token(
|
|
649
649
|
body: PostPaymentTokenBody,
|
|
650
650
|
options?: RequestOptions
|
|
651
|
-
):
|
|
651
|
+
): ResponsePromise<PostPaymentTokenResponse> {
|
|
652
652
|
return this.request("payment", "post_payment_token", "post", `/payment/token`, body, options);
|
|
653
653
|
}
|
|
654
654
|
|
|
@@ -661,7 +661,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
661
661
|
put_payment_token(
|
|
662
662
|
body: PutPaymentTokenBody,
|
|
663
663
|
options?: RequestOptions
|
|
664
|
-
):
|
|
664
|
+
): ResponsePromise<PutPaymentTokenResponse> {
|
|
665
665
|
return this.request("payment", "put_payment_token", "put", `/payment/token`, body, options);
|
|
666
666
|
}
|
|
667
667
|
|
|
@@ -674,7 +674,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
674
674
|
delete_payment_token(
|
|
675
675
|
body: DeletePaymentTokenBody,
|
|
676
676
|
options?: RequestOptions
|
|
677
|
-
):
|
|
677
|
+
): ResponsePromise<DeletePaymentTokenResponse> {
|
|
678
678
|
return this.request(
|
|
679
679
|
"payment",
|
|
680
680
|
"delete_payment_token",
|
|
@@ -694,7 +694,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
694
694
|
options: {
|
|
695
695
|
query: GetPaymentMethodsQuery;
|
|
696
696
|
} & RequestOptions
|
|
697
|
-
):
|
|
697
|
+
): ResponsePromise<GetPaymentMethodsResponse> {
|
|
698
698
|
return this.request("payment", "get_payment_methods", "get", `/payment/methods`, null, options);
|
|
699
699
|
}
|
|
700
700
|
|
|
@@ -707,7 +707,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
707
707
|
options: {
|
|
708
708
|
query: GetPaymentHpcQuery;
|
|
709
709
|
} & RequestOptions
|
|
710
|
-
):
|
|
710
|
+
): ResponsePromise<GetPaymentHpcResponse> {
|
|
711
711
|
return this.request("payment", "get_payment_hpc", "get", `/payment/hpc`, null, options);
|
|
712
712
|
}
|
|
713
713
|
|
|
@@ -722,7 +722,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
722
722
|
options?: {
|
|
723
723
|
query?: PostOrderQuery;
|
|
724
724
|
} & RequestOptions
|
|
725
|
-
):
|
|
725
|
+
): ResponsePromise<PostOrderResponse> {
|
|
726
726
|
return this.request("order", "post_order", "post", `/order`, body, options);
|
|
727
727
|
}
|
|
728
728
|
|
|
@@ -732,7 +732,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
732
732
|
* @param id - The order ID
|
|
733
733
|
* @param options - additional request options
|
|
734
734
|
*/
|
|
735
|
-
get_order(id: string, options?: RequestOptions):
|
|
735
|
+
get_order(id: string, options?: RequestOptions): ResponsePromise<GetOrderResponse> {
|
|
736
736
|
return this.request("order", "get_order", "get", `/order/${id}`, null, options);
|
|
737
737
|
}
|
|
738
738
|
|
|
@@ -742,7 +742,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
742
742
|
* @param id - The order ID
|
|
743
743
|
* @param options - additional request options
|
|
744
744
|
*/
|
|
745
|
-
put_order(id: string, options?: RequestOptions):
|
|
745
|
+
put_order(id: string, options?: RequestOptions): ResponsePromise<PutOrderResponse> {
|
|
746
746
|
return this.request("order", "put_order", "put", `/order/${id}`, null, options);
|
|
747
747
|
}
|
|
748
748
|
|
|
@@ -757,7 +757,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
757
757
|
id: string,
|
|
758
758
|
body: PatchOrderBody,
|
|
759
759
|
options?: RequestOptions
|
|
760
|
-
):
|
|
760
|
+
): ResponsePromise<PatchOrderResponse> {
|
|
761
761
|
return this.request("order", "patch_order", "patch", `/order/${id}`, body, options);
|
|
762
762
|
}
|
|
763
763
|
|
|
@@ -772,7 +772,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
772
772
|
id: string,
|
|
773
773
|
body: PostOrderIssueBody,
|
|
774
774
|
options?: RequestOptions
|
|
775
|
-
):
|
|
775
|
+
): ResponsePromise<PostOrderIssueResponse> {
|
|
776
776
|
return this.request("order", "post_order_issue", "post", `/order/${id}/issue`, body, options);
|
|
777
777
|
}
|
|
778
778
|
|
|
@@ -787,7 +787,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
787
787
|
id: string,
|
|
788
788
|
body: PatchOrderRefundBody,
|
|
789
789
|
options?: RequestOptions
|
|
790
|
-
):
|
|
790
|
+
): ResponsePromise<PatchOrderRefundResponse> {
|
|
791
791
|
return this.request(
|
|
792
792
|
"order",
|
|
793
793
|
"patch_order_refund",
|
|
@@ -809,7 +809,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
809
809
|
options?: {
|
|
810
810
|
query?: GetOrderCustomerOrdersQuery;
|
|
811
811
|
} & RequestOptions
|
|
812
|
-
):
|
|
812
|
+
): ResponsePromise<GetOrderCustomerOrdersResponse> {
|
|
813
813
|
return this.request(
|
|
814
814
|
"order",
|
|
815
815
|
"get_order_customer_orders",
|
|
@@ -831,7 +831,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
831
831
|
id: string,
|
|
832
832
|
location_brand: string,
|
|
833
833
|
options?: RequestOptions
|
|
834
|
-
):
|
|
834
|
+
): ResponsePromise<GetOrderCustomerOrdersBrandResponse> {
|
|
835
835
|
return this.request(
|
|
836
836
|
"order",
|
|
837
837
|
"get_order_customer_orders_brand",
|
|
@@ -848,15 +848,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
848
848
|
* @param id - The location brand ID
|
|
849
849
|
* @param options - additional request options
|
|
850
850
|
*/
|
|
851
|
-
|
|
851
|
+
get_order_location_brand(
|
|
852
852
|
id: string,
|
|
853
853
|
options?: {
|
|
854
|
-
query?:
|
|
854
|
+
query?: GetOrderLocationBrandQuery;
|
|
855
855
|
} & RequestOptions
|
|
856
|
-
):
|
|
856
|
+
): ResponsePromise<GetOrderLocationBrandResponse> {
|
|
857
857
|
return this.request(
|
|
858
858
|
"order",
|
|
859
|
-
"
|
|
859
|
+
"get_order_location_brand",
|
|
860
860
|
"get",
|
|
861
861
|
`/order/location/brand/${id}`,
|
|
862
862
|
null,
|
|
@@ -875,7 +875,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
875
875
|
options?: {
|
|
876
876
|
query?: GetOrderLocationOrdersQuery;
|
|
877
877
|
} & RequestOptions
|
|
878
|
-
):
|
|
878
|
+
): ResponsePromise<GetOrderLocationOrdersResponse> {
|
|
879
879
|
return this.request(
|
|
880
880
|
"order",
|
|
881
881
|
"get_order_location_orders",
|
|
@@ -897,7 +897,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
897
897
|
options?: {
|
|
898
898
|
query?: GetOrderGroupOrdersQuery;
|
|
899
899
|
} & RequestOptions
|
|
900
|
-
):
|
|
900
|
+
): ResponsePromise<GetOrderGroupOrdersResponse> {
|
|
901
901
|
return this.request(
|
|
902
902
|
"order",
|
|
903
903
|
"get_order_group_orders",
|
|
@@ -914,7 +914,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
914
914
|
* @param body
|
|
915
915
|
* @param options - additional request options
|
|
916
916
|
*/
|
|
917
|
-
post_location(
|
|
917
|
+
post_location(
|
|
918
|
+
body: PostLocationBody,
|
|
919
|
+
options?: RequestOptions
|
|
920
|
+
): ResponsePromise<PostLocationResponse> {
|
|
918
921
|
return this.request("location", "post_location", "post", `/location`, body, options);
|
|
919
922
|
}
|
|
920
923
|
|
|
@@ -923,7 +926,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
923
926
|
*
|
|
924
927
|
* @param options - additional request options
|
|
925
928
|
*/
|
|
926
|
-
get_locations(options?: RequestOptions):
|
|
929
|
+
get_locations(options?: RequestOptions): ResponsePromise<GetLocationsResponse> {
|
|
927
930
|
return this.request("location", "get_locations", "get", `/location`, null, options);
|
|
928
931
|
}
|
|
929
932
|
|
|
@@ -936,7 +939,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
936
939
|
options?: {
|
|
937
940
|
query?: GetLocationSearchQuery;
|
|
938
941
|
} & RequestOptions
|
|
939
|
-
):
|
|
942
|
+
): ResponsePromise<GetLocationSearchResponse> {
|
|
940
943
|
return this.request(
|
|
941
944
|
"location",
|
|
942
945
|
"get_location_search",
|
|
@@ -958,7 +961,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
958
961
|
options?: {
|
|
959
962
|
query?: GetLocationQuery;
|
|
960
963
|
} & RequestOptions
|
|
961
|
-
):
|
|
964
|
+
): ResponsePromise<GetLocationResponse> {
|
|
962
965
|
return this.request("location", "get_location", "get", `/location/${id}`, null, options);
|
|
963
966
|
}
|
|
964
967
|
|
|
@@ -973,7 +976,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
973
976
|
id: string,
|
|
974
977
|
body: PutLocationBody,
|
|
975
978
|
options?: RequestOptions
|
|
976
|
-
):
|
|
979
|
+
): ResponsePromise<PutLocationResponse> {
|
|
977
980
|
return this.request("location", "put_location", "put", `/location/${id}`, body, options);
|
|
978
981
|
}
|
|
979
982
|
|
|
@@ -988,7 +991,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
988
991
|
id: string,
|
|
989
992
|
body: DeleteLocationBody,
|
|
990
993
|
options?: RequestOptions
|
|
991
|
-
):
|
|
994
|
+
): ResponsePromise<DeleteLocationResponse> {
|
|
992
995
|
return this.request("location", "delete_location", "delete", `/location/${id}`, body, options);
|
|
993
996
|
}
|
|
994
997
|
|
|
@@ -1003,7 +1006,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1003
1006
|
id: string,
|
|
1004
1007
|
body: PatchLocationBody,
|
|
1005
1008
|
options?: RequestOptions
|
|
1006
|
-
):
|
|
1009
|
+
): ResponsePromise<PatchLocationResponse> {
|
|
1007
1010
|
return this.request("location", "patch_location", "patch", `/location/${id}`, body, options);
|
|
1008
1011
|
}
|
|
1009
1012
|
|
|
@@ -1013,7 +1016,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1013
1016
|
* @param id - POS ID
|
|
1014
1017
|
* @param options - additional request options
|
|
1015
1018
|
*/
|
|
1016
|
-
get_location_pos(id: string, options?: RequestOptions):
|
|
1019
|
+
get_location_pos(id: string, options?: RequestOptions): ResponsePromise<GetLocationPosResponse> {
|
|
1017
1020
|
return this.request(
|
|
1018
1021
|
"location",
|
|
1019
1022
|
"get_location_pos",
|
|
@@ -1035,7 +1038,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1035
1038
|
id: string,
|
|
1036
1039
|
body: PutLocationPosBody,
|
|
1037
1040
|
options?: RequestOptions
|
|
1038
|
-
):
|
|
1041
|
+
): ResponsePromise<PutLocationPosResponse> {
|
|
1039
1042
|
return this.request(
|
|
1040
1043
|
"location",
|
|
1041
1044
|
"put_location_pos",
|
|
@@ -1051,7 +1054,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1051
1054
|
*
|
|
1052
1055
|
* @param options - additional request options
|
|
1053
1056
|
*/
|
|
1054
|
-
get_location_multigroups(
|
|
1057
|
+
get_location_multigroups(
|
|
1058
|
+
options?: RequestOptions
|
|
1059
|
+
): ResponsePromise<GetLocationMultigroupsResponse> {
|
|
1055
1060
|
return this.request(
|
|
1056
1061
|
"location",
|
|
1057
1062
|
"get_location_multigroups",
|
|
@@ -1071,7 +1076,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1071
1076
|
post_location_multigroup(
|
|
1072
1077
|
body: PostLocationMultigroupBody,
|
|
1073
1078
|
options?: RequestOptions
|
|
1074
|
-
):
|
|
1079
|
+
): ResponsePromise<PostLocationMultigroupResponse> {
|
|
1075
1080
|
return this.request(
|
|
1076
1081
|
"location",
|
|
1077
1082
|
"post_location_multigroup",
|
|
@@ -1093,7 +1098,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1093
1098
|
options?: {
|
|
1094
1099
|
query?: GetLocationMultigroupQuery;
|
|
1095
1100
|
} & RequestOptions
|
|
1096
|
-
):
|
|
1101
|
+
): ResponsePromise<GetLocationMultigroupResponse> {
|
|
1097
1102
|
return this.request(
|
|
1098
1103
|
"location",
|
|
1099
1104
|
"get_location_multigroup",
|
|
@@ -1115,7 +1120,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1115
1120
|
id: string,
|
|
1116
1121
|
body: PutLocationMultigroupBody,
|
|
1117
1122
|
options?: RequestOptions
|
|
1118
|
-
):
|
|
1123
|
+
): ResponsePromise<PutLocationMultigroupResponse> {
|
|
1119
1124
|
return this.request(
|
|
1120
1125
|
"location",
|
|
1121
1126
|
"put_location_multigroup",
|
|
@@ -1137,7 +1142,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1137
1142
|
id: string,
|
|
1138
1143
|
body: DeleteLocationMultigroupBody,
|
|
1139
1144
|
options?: RequestOptions
|
|
1140
|
-
):
|
|
1145
|
+
): ResponsePromise<DeleteLocationMultigroupResponse> {
|
|
1141
1146
|
return this.request(
|
|
1142
1147
|
"location",
|
|
1143
1148
|
"delete_location_multigroup",
|
|
@@ -1159,7 +1164,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1159
1164
|
id: string,
|
|
1160
1165
|
body: PatchLocationMultigroupBody,
|
|
1161
1166
|
options?: RequestOptions
|
|
1162
|
-
):
|
|
1167
|
+
): ResponsePromise<PatchLocationMultigroupResponse> {
|
|
1163
1168
|
return this.request(
|
|
1164
1169
|
"location",
|
|
1165
1170
|
"patch_location_multigroup",
|
|
@@ -1183,7 +1188,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1183
1188
|
options?: {
|
|
1184
1189
|
query?: GetLocationUserMultigroupQuery;
|
|
1185
1190
|
} & RequestOptions
|
|
1186
|
-
):
|
|
1191
|
+
): ResponsePromise<GetLocationUserMultigroupResponse> {
|
|
1187
1192
|
return this.request(
|
|
1188
1193
|
"location",
|
|
1189
1194
|
"get_location_user_multigroup",
|
|
@@ -1203,7 +1208,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1203
1208
|
post_location_group(
|
|
1204
1209
|
body: PostLocationGroupBody,
|
|
1205
1210
|
options?: RequestOptions
|
|
1206
|
-
):
|
|
1211
|
+
): ResponsePromise<PostLocationGroupResponse> {
|
|
1207
1212
|
return this.request(
|
|
1208
1213
|
"location",
|
|
1209
1214
|
"post_location_group",
|
|
@@ -1225,7 +1230,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1225
1230
|
options?: {
|
|
1226
1231
|
query?: GetLocationGroupQuery;
|
|
1227
1232
|
} & RequestOptions
|
|
1228
|
-
):
|
|
1233
|
+
): ResponsePromise<GetLocationGroupResponse> {
|
|
1229
1234
|
return this.request(
|
|
1230
1235
|
"location",
|
|
1231
1236
|
"get_location_group",
|
|
@@ -1247,7 +1252,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1247
1252
|
id: string,
|
|
1248
1253
|
body: PutLocationGroupBody,
|
|
1249
1254
|
options?: RequestOptions
|
|
1250
|
-
):
|
|
1255
|
+
): ResponsePromise<PutLocationGroupResponse> {
|
|
1251
1256
|
return this.request(
|
|
1252
1257
|
"location",
|
|
1253
1258
|
"put_location_group",
|
|
@@ -1269,7 +1274,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1269
1274
|
id: string,
|
|
1270
1275
|
body: DeleteLocationGroupBody,
|
|
1271
1276
|
options?: RequestOptions
|
|
1272
|
-
):
|
|
1277
|
+
): ResponsePromise<DeleteLocationGroupResponse> {
|
|
1273
1278
|
return this.request(
|
|
1274
1279
|
"location",
|
|
1275
1280
|
"delete_location_group",
|
|
@@ -1291,7 +1296,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1291
1296
|
id: string,
|
|
1292
1297
|
body: PatchLocationGroupBody,
|
|
1293
1298
|
options?: RequestOptions
|
|
1294
|
-
):
|
|
1299
|
+
): ResponsePromise<PatchLocationGroupResponse> {
|
|
1295
1300
|
return this.request(
|
|
1296
1301
|
"location",
|
|
1297
1302
|
"patch_location_group",
|
|
@@ -1313,7 +1318,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1313
1318
|
options?: {
|
|
1314
1319
|
query?: GetLocationGroupDeliverydestinationsQuery;
|
|
1315
1320
|
} & RequestOptions
|
|
1316
|
-
):
|
|
1321
|
+
): ResponsePromise<GetLocationGroupDeliverydestinationsResponse> {
|
|
1317
1322
|
return this.request(
|
|
1318
1323
|
"location",
|
|
1319
1324
|
"get_location_group_deliverydestinations",
|
|
@@ -1335,7 +1340,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1335
1340
|
id: string,
|
|
1336
1341
|
body: PostLocationGroupDeliverydestinationBody,
|
|
1337
1342
|
options?: RequestOptions
|
|
1338
|
-
):
|
|
1343
|
+
): ResponsePromise<PostLocationGroupDeliverydestinationResponse> {
|
|
1339
1344
|
return this.request(
|
|
1340
1345
|
"location",
|
|
1341
1346
|
"post_location_group_deliverydestination",
|
|
@@ -1357,7 +1362,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1357
1362
|
id: string,
|
|
1358
1363
|
delivery_destination: string,
|
|
1359
1364
|
options?: RequestOptions
|
|
1360
|
-
):
|
|
1365
|
+
): ResponsePromise<GetLocationGroupDeliverydestinationResponse> {
|
|
1361
1366
|
return this.request(
|
|
1362
1367
|
"location",
|
|
1363
1368
|
"get_location_group_deliverydestination",
|
|
@@ -1381,7 +1386,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1381
1386
|
delivery_destination: string,
|
|
1382
1387
|
body: PatchLocationGroupDeliverydestinationBody,
|
|
1383
1388
|
options?: RequestOptions
|
|
1384
|
-
):
|
|
1389
|
+
): ResponsePromise<PatchLocationGroupDeliverydestinationResponse> {
|
|
1385
1390
|
return this.request(
|
|
1386
1391
|
"location",
|
|
1387
1392
|
"patch_location_group_deliverydestination",
|
|
@@ -1403,7 +1408,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1403
1408
|
id: string,
|
|
1404
1409
|
delivery_destination: string,
|
|
1405
1410
|
options?: RequestOptions
|
|
1406
|
-
):
|
|
1411
|
+
): ResponsePromise<DeleteLocationGroupDeliverydestinationResponse> {
|
|
1407
1412
|
return this.request(
|
|
1408
1413
|
"location",
|
|
1409
1414
|
"delete_location_group_deliverydestination",
|
|
@@ -1427,7 +1432,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1427
1432
|
options?: {
|
|
1428
1433
|
query?: GetLocationUserGroupQuery;
|
|
1429
1434
|
} & RequestOptions
|
|
1430
|
-
):
|
|
1435
|
+
): ResponsePromise<GetLocationUserGroupResponse> {
|
|
1431
1436
|
return this.request(
|
|
1432
1437
|
"location",
|
|
1433
1438
|
"get_location_user_group",
|
|
@@ -1443,7 +1448,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1443
1448
|
*
|
|
1444
1449
|
* @param options - additional request options
|
|
1445
1450
|
*/
|
|
1446
|
-
get_location_brands(options?: RequestOptions):
|
|
1451
|
+
get_location_brands(options?: RequestOptions): ResponsePromise<GetLocationBrandsResponse> {
|
|
1447
1452
|
return this.request(
|
|
1448
1453
|
"location",
|
|
1449
1454
|
"get_location_brands",
|
|
@@ -1463,7 +1468,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1463
1468
|
get_location_brand_destinations(
|
|
1464
1469
|
id: string,
|
|
1465
1470
|
options?: RequestOptions
|
|
1466
|
-
):
|
|
1471
|
+
): ResponsePromise<GetLocationBrandDestinationsResponse> {
|
|
1467
1472
|
return this.request(
|
|
1468
1473
|
"location",
|
|
1469
1474
|
"get_location_brand_destinations",
|
|
@@ -1485,7 +1490,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1485
1490
|
id: string,
|
|
1486
1491
|
body: PostLocationBrandDocumentBody,
|
|
1487
1492
|
options?: RequestOptions
|
|
1488
|
-
):
|
|
1493
|
+
): ResponsePromise<PostLocationBrandDocumentResponse> {
|
|
1489
1494
|
return this.request(
|
|
1490
1495
|
"location",
|
|
1491
1496
|
"post_location_brand_document",
|
|
@@ -1505,7 +1510,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1505
1510
|
patch_location_brand_document(
|
|
1506
1511
|
id: string,
|
|
1507
1512
|
options?: RequestOptions
|
|
1508
|
-
):
|
|
1513
|
+
): ResponsePromise<PatchLocationBrandDocumentResponse> {
|
|
1509
1514
|
return this.request(
|
|
1510
1515
|
"location",
|
|
1511
1516
|
"patch_location_brand_document",
|
|
@@ -1525,7 +1530,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1525
1530
|
delete_location_brand_document(
|
|
1526
1531
|
id: string,
|
|
1527
1532
|
options?: RequestOptions
|
|
1528
|
-
):
|
|
1533
|
+
): ResponsePromise<DeleteLocationBrandDocumentResponse> {
|
|
1529
1534
|
return this.request(
|
|
1530
1535
|
"location",
|
|
1531
1536
|
"delete_location_brand_document",
|
|
@@ -1545,7 +1550,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1545
1550
|
get_location_brand_documents(
|
|
1546
1551
|
id: string,
|
|
1547
1552
|
options?: RequestOptions
|
|
1548
|
-
):
|
|
1553
|
+
): ResponsePromise<GetLocationBrandDocumentsResponse> {
|
|
1549
1554
|
return this.request(
|
|
1550
1555
|
"location",
|
|
1551
1556
|
"get_location_brand_documents",
|
|
@@ -1567,7 +1572,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1567
1572
|
options?: {
|
|
1568
1573
|
query?: GetLocationBrandTimeslotsQuery;
|
|
1569
1574
|
} & RequestOptions
|
|
1570
|
-
):
|
|
1575
|
+
): ResponsePromise<GetLocationBrandTimeslotsResponse> {
|
|
1571
1576
|
return this.request(
|
|
1572
1577
|
"location",
|
|
1573
1578
|
"get_location_brand_timeslots",
|
|
@@ -1589,7 +1594,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1589
1594
|
options?: {
|
|
1590
1595
|
query?: PostLocationMarketplaceTimeslotsQuery;
|
|
1591
1596
|
} & RequestOptions
|
|
1592
|
-
):
|
|
1597
|
+
): ResponsePromise<PostLocationMarketplaceTimeslotsResponse> {
|
|
1593
1598
|
return this.request(
|
|
1594
1599
|
"location",
|
|
1595
1600
|
"post_location_marketplace_timeslots",
|
|
@@ -1611,7 +1616,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1611
1616
|
options?: {
|
|
1612
1617
|
query?: PostLocationMarketplaceTimeslotsDeliveryQuery;
|
|
1613
1618
|
} & RequestOptions
|
|
1614
|
-
):
|
|
1619
|
+
): ResponsePromise<PostLocationMarketplaceTimeslotsDeliveryResponse> {
|
|
1615
1620
|
return this.request(
|
|
1616
1621
|
"location",
|
|
1617
1622
|
"post_location_marketplace_timeslots_delivery",
|
|
@@ -1635,7 +1640,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1635
1640
|
options?: {
|
|
1636
1641
|
query?: GetLocationBrandMenuTimeslotsQuery;
|
|
1637
1642
|
} & RequestOptions
|
|
1638
|
-
):
|
|
1643
|
+
): ResponsePromise<GetLocationBrandMenuTimeslotsResponse> {
|
|
1639
1644
|
return this.request(
|
|
1640
1645
|
"location",
|
|
1641
1646
|
"get_location_brand_menu_timeslots",
|
|
@@ -1657,7 +1662,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1657
1662
|
options?: {
|
|
1658
1663
|
query?: GetLocationBrandDeliveryTimeslotsQuery;
|
|
1659
1664
|
} & RequestOptions
|
|
1660
|
-
):
|
|
1665
|
+
): ResponsePromise<GetLocationBrandDeliveryTimeslotsResponse> {
|
|
1661
1666
|
return this.request(
|
|
1662
1667
|
"location",
|
|
1663
1668
|
"get_location_brand_delivery_timeslots",
|
|
@@ -1681,7 +1686,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1681
1686
|
options?: {
|
|
1682
1687
|
query?: GetLocationBrandMenuDeliveryTimeslostsQuery;
|
|
1683
1688
|
} & RequestOptions
|
|
1684
|
-
):
|
|
1689
|
+
): ResponsePromise<GetLocationBrandMenuDeliveryTimeslostsResponse> {
|
|
1685
1690
|
return this.request(
|
|
1686
1691
|
"location",
|
|
1687
1692
|
"get_location_brand_menu_delivery_timeslosts",
|
|
@@ -1701,7 +1706,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1701
1706
|
post_location_brand(
|
|
1702
1707
|
body: PostLocationBrandBody,
|
|
1703
1708
|
options?: RequestOptions
|
|
1704
|
-
):
|
|
1709
|
+
): ResponsePromise<PostLocationBrandResponse> {
|
|
1705
1710
|
return this.request(
|
|
1706
1711
|
"location",
|
|
1707
1712
|
"post_location_brand",
|
|
@@ -1723,7 +1728,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1723
1728
|
options?: {
|
|
1724
1729
|
query?: GetLocationBrandQuery;
|
|
1725
1730
|
} & RequestOptions
|
|
1726
|
-
):
|
|
1731
|
+
): ResponsePromise<GetLocationBrandResponse> {
|
|
1727
1732
|
return this.request(
|
|
1728
1733
|
"location",
|
|
1729
1734
|
"get_location_brand",
|
|
@@ -1745,7 +1750,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1745
1750
|
id: string,
|
|
1746
1751
|
body: PatchLocationBrandBody,
|
|
1747
1752
|
options?: RequestOptions
|
|
1748
|
-
):
|
|
1753
|
+
): ResponsePromise<PatchLocationBrandResponse> {
|
|
1749
1754
|
return this.request(
|
|
1750
1755
|
"location",
|
|
1751
1756
|
"patch_location_brand",
|
|
@@ -1767,7 +1772,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1767
1772
|
id: string,
|
|
1768
1773
|
body: DeleteLocationBrandBody,
|
|
1769
1774
|
options?: RequestOptions
|
|
1770
|
-
):
|
|
1775
|
+
): ResponsePromise<DeleteLocationBrandResponse> {
|
|
1771
1776
|
return this.request(
|
|
1772
1777
|
"location",
|
|
1773
1778
|
"delete_location_brand",
|
|
@@ -1789,7 +1794,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1789
1794
|
id: string,
|
|
1790
1795
|
body: PutLocationBrandBody,
|
|
1791
1796
|
options?: RequestOptions
|
|
1792
|
-
):
|
|
1797
|
+
): ResponsePromise<PutLocationBrandResponse> {
|
|
1793
1798
|
return this.request(
|
|
1794
1799
|
"location",
|
|
1795
1800
|
"put_location_brand",
|
|
@@ -1805,7 +1810,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1805
1810
|
*
|
|
1806
1811
|
* @param options - additional request options
|
|
1807
1812
|
*/
|
|
1808
|
-
get_location_sectors(options?: RequestOptions):
|
|
1813
|
+
get_location_sectors(options?: RequestOptions): ResponsePromise<GetLocationSectorsResponse> {
|
|
1809
1814
|
return this.request(
|
|
1810
1815
|
"location",
|
|
1811
1816
|
"get_location_sectors",
|
|
@@ -1825,7 +1830,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1825
1830
|
post_location_sector(
|
|
1826
1831
|
body: PostLocationSectorBody,
|
|
1827
1832
|
options?: RequestOptions
|
|
1828
|
-
):
|
|
1833
|
+
): ResponsePromise<PostLocationSectorResponse> {
|
|
1829
1834
|
return this.request(
|
|
1830
1835
|
"location",
|
|
1831
1836
|
"post_location_sector",
|
|
@@ -1847,7 +1852,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1847
1852
|
options?: {
|
|
1848
1853
|
query?: GetLocationSectorQuery;
|
|
1849
1854
|
} & RequestOptions
|
|
1850
|
-
):
|
|
1855
|
+
): ResponsePromise<GetLocationSectorResponse> {
|
|
1851
1856
|
return this.request(
|
|
1852
1857
|
"location",
|
|
1853
1858
|
"get_location_sector",
|
|
@@ -1871,7 +1876,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1871
1876
|
options?: {
|
|
1872
1877
|
query?: PatchLocationSectorQuery;
|
|
1873
1878
|
} & RequestOptions
|
|
1874
|
-
):
|
|
1879
|
+
): ResponsePromise<PatchLocationSectorResponse> {
|
|
1875
1880
|
return this.request(
|
|
1876
1881
|
"location",
|
|
1877
1882
|
"patch_location_sector",
|
|
@@ -1891,7 +1896,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1891
1896
|
post_location_company(
|
|
1892
1897
|
body: PostLocationCompanyBody,
|
|
1893
1898
|
options?: RequestOptions
|
|
1894
|
-
):
|
|
1899
|
+
): ResponsePromise<PostLocationCompanyResponse> {
|
|
1895
1900
|
return this.request(
|
|
1896
1901
|
"location",
|
|
1897
1902
|
"post_location_company",
|
|
@@ -1913,7 +1918,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1913
1918
|
options?: {
|
|
1914
1919
|
query?: GetLocationCompanyQuery;
|
|
1915
1920
|
} & RequestOptions
|
|
1916
|
-
):
|
|
1921
|
+
): ResponsePromise<GetLocationCompanyResponse> {
|
|
1917
1922
|
return this.request(
|
|
1918
1923
|
"location",
|
|
1919
1924
|
"get_location_company",
|
|
@@ -1935,7 +1940,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1935
1940
|
id: string,
|
|
1936
1941
|
body: PatchLocationCompanyBody,
|
|
1937
1942
|
options?: RequestOptions
|
|
1938
|
-
):
|
|
1943
|
+
): ResponsePromise<PatchLocationCompanyResponse> {
|
|
1939
1944
|
return this.request(
|
|
1940
1945
|
"location",
|
|
1941
1946
|
"patch_location_company",
|
|
@@ -1955,7 +1960,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1955
1960
|
post_shoppingcart_cart(
|
|
1956
1961
|
body: PostShoppingcartCartBody,
|
|
1957
1962
|
options?: RequestOptions
|
|
1958
|
-
):
|
|
1963
|
+
): ResponsePromise<PostShoppingcartCartResponse> {
|
|
1959
1964
|
return this.request(
|
|
1960
1965
|
"shoppingcart",
|
|
1961
1966
|
"post_shoppingcart_cart",
|
|
@@ -1977,7 +1982,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1977
1982
|
id: string,
|
|
1978
1983
|
body: PutShoppingcartCartItemsBody,
|
|
1979
1984
|
options?: RequestOptions
|
|
1980
|
-
):
|
|
1985
|
+
): ResponsePromise<PutShoppingcartCartItemsResponse> {
|
|
1981
1986
|
return this.request(
|
|
1982
1987
|
"shoppingcart",
|
|
1983
1988
|
"put_shoppingcart_cart_items",
|
|
@@ -1999,7 +2004,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1999
2004
|
id: string,
|
|
2000
2005
|
body: DeleteShoppingcartCartItemsBody,
|
|
2001
2006
|
options?: RequestOptions
|
|
2002
|
-
):
|
|
2007
|
+
): ResponsePromise<DeleteShoppingcartCartItemsResponse> {
|
|
2003
2008
|
return this.request(
|
|
2004
2009
|
"shoppingcart",
|
|
2005
2010
|
"delete_shoppingcart_cart_items",
|
|
@@ -2019,7 +2024,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2019
2024
|
get_shoppingcart_cart(
|
|
2020
2025
|
id: string,
|
|
2021
2026
|
options?: RequestOptions
|
|
2022
|
-
):
|
|
2027
|
+
): ResponsePromise<GetShoppingcartCartResponse> {
|
|
2023
2028
|
return this.request(
|
|
2024
2029
|
"shoppingcart",
|
|
2025
2030
|
"get_shoppingcart_cart",
|
|
@@ -2039,7 +2044,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2039
2044
|
patch_shoppingcart_cart(
|
|
2040
2045
|
id: string,
|
|
2041
2046
|
options?: RequestOptions
|
|
2042
|
-
):
|
|
2047
|
+
): ResponsePromise<PatchShoppingcartCartResponse> {
|
|
2043
2048
|
return this.request(
|
|
2044
2049
|
"shoppingcart",
|
|
2045
2050
|
"patch_shoppingcart_cart",
|
|
@@ -2061,7 +2066,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2061
2066
|
id: string,
|
|
2062
2067
|
body: PutShoppingcartCartPromoBody,
|
|
2063
2068
|
options?: RequestOptions
|
|
2064
|
-
):
|
|
2069
|
+
): ResponsePromise<PutShoppingcartCartPromoResponse> {
|
|
2065
2070
|
return this.request(
|
|
2066
2071
|
"shoppingcart",
|
|
2067
2072
|
"put_shoppingcart_cart_promo",
|
|
@@ -2081,7 +2086,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2081
2086
|
delete_shoppingcart_cart_promo(
|
|
2082
2087
|
id: string,
|
|
2083
2088
|
options?: RequestOptions
|
|
2084
|
-
):
|
|
2089
|
+
): ResponsePromise<DeleteShoppingcartCartPromoResponse> {
|
|
2085
2090
|
return this.request(
|
|
2086
2091
|
"shoppingcart",
|
|
2087
2092
|
"delete_shoppingcart_cart_promo",
|
|
@@ -2103,7 +2108,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2103
2108
|
id: string,
|
|
2104
2109
|
body: PutShoppingcartCartPaymentBody,
|
|
2105
2110
|
options?: RequestOptions
|
|
2106
|
-
):
|
|
2111
|
+
): ResponsePromise<PutShoppingcartCartPaymentResponse> {
|
|
2107
2112
|
return this.request(
|
|
2108
2113
|
"shoppingcart",
|
|
2109
2114
|
"put_shoppingcart_cart_payment",
|
|
@@ -2125,7 +2130,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2125
2130
|
id: string,
|
|
2126
2131
|
body: PutShoppingcartCartOrderBody,
|
|
2127
2132
|
options?: RequestOptions
|
|
2128
|
-
):
|
|
2133
|
+
): ResponsePromise<PutShoppingcartCartOrderResponse> {
|
|
2129
2134
|
return this.request(
|
|
2130
2135
|
"shoppingcart",
|
|
2131
2136
|
"put_shoppingcart_cart_order",
|
|
@@ -2149,7 +2154,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2149
2154
|
user_id: string,
|
|
2150
2155
|
body: PutShoppingcartCartLoyaltyBody,
|
|
2151
2156
|
options?: RequestOptions
|
|
2152
|
-
):
|
|
2157
|
+
): ResponsePromise<PutShoppingcartCartLoyaltyResponse> {
|
|
2153
2158
|
return this.request(
|
|
2154
2159
|
"shoppingcart",
|
|
2155
2160
|
"put_shoppingcart_cart_loyalty",
|
|
@@ -2171,7 +2176,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2171
2176
|
id: string,
|
|
2172
2177
|
user_id: string,
|
|
2173
2178
|
options?: RequestOptions
|
|
2174
|
-
):
|
|
2179
|
+
): ResponsePromise<DeleteShoppingcartCartLoyaltyResponse> {
|
|
2175
2180
|
return this.request(
|
|
2176
2181
|
"shoppingcart",
|
|
2177
2182
|
"delete_shoppingcart_cart_loyalty",
|
|
@@ -2193,7 +2198,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2193
2198
|
id: string,
|
|
2194
2199
|
body: PostShoppingcartCloneCartBody,
|
|
2195
2200
|
options?: RequestOptions
|
|
2196
|
-
):
|
|
2201
|
+
): ResponsePromise<PostShoppingcartCloneCartResponse> {
|
|
2197
2202
|
return this.request(
|
|
2198
2203
|
"shoppingcart",
|
|
2199
2204
|
"post_shoppingcart_clone_cart",
|
|
@@ -2213,7 +2218,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2213
2218
|
post_shoppingcart_bulk(
|
|
2214
2219
|
body: PostShoppingcartBulkBody,
|
|
2215
2220
|
options?: RequestOptions
|
|
2216
|
-
):
|
|
2221
|
+
): ResponsePromise<PostShoppingcartBulkResponse> {
|
|
2217
2222
|
return this.request(
|
|
2218
2223
|
"shoppingcart",
|
|
2219
2224
|
"post_shoppingcart_bulk",
|
|
@@ -2233,7 +2238,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2233
2238
|
post_partner_standardcognition_shoppingcart(
|
|
2234
2239
|
body: PostPartnerStandardcognitionShoppingcartBody,
|
|
2235
2240
|
options?: RequestOptions
|
|
2236
|
-
):
|
|
2241
|
+
): ResponsePromise<PostPartnerStandardcognitionShoppingcartResponse> {
|
|
2237
2242
|
return this.request(
|
|
2238
2243
|
"partner",
|
|
2239
2244
|
"post_partner_standardcognition_shoppingcart",
|
|
@@ -2251,7 +2256,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2251
2256
|
*/
|
|
2252
2257
|
get_partner_standardcognition_locations(
|
|
2253
2258
|
options?: RequestOptions
|
|
2254
|
-
):
|
|
2259
|
+
): ResponsePromise<GetPartnerStandardcognitionLocationsResponse> {
|
|
2255
2260
|
return this.request(
|
|
2256
2261
|
"partner",
|
|
2257
2262
|
"get_partner_standardcognition_locations",
|
|
@@ -2267,7 +2272,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2267
2272
|
*
|
|
2268
2273
|
* @param options - additional request options
|
|
2269
2274
|
*/
|
|
2270
|
-
get_partner_coolr_locations(
|
|
2275
|
+
get_partner_coolr_locations(
|
|
2276
|
+
options?: RequestOptions
|
|
2277
|
+
): ResponsePromise<GetPartnerCoolrLocationsResponse> {
|
|
2271
2278
|
return this.request(
|
|
2272
2279
|
"partner",
|
|
2273
2280
|
"get_partner_coolr_locations",
|
|
@@ -2287,7 +2294,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2287
2294
|
get_partner_coolr_images(
|
|
2288
2295
|
id: string,
|
|
2289
2296
|
options?: RequestOptions
|
|
2290
|
-
):
|
|
2297
|
+
): ResponsePromise<GetPartnerCoolrImagesResponse> {
|
|
2291
2298
|
return this.request(
|
|
2292
2299
|
"partner",
|
|
2293
2300
|
"get_partner_coolr_images",
|
|
@@ -2303,7 +2310,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2303
2310
|
*
|
|
2304
2311
|
* @param options - additional request options
|
|
2305
2312
|
*/
|
|
2306
|
-
get_partner_swagger(options?: RequestOptions):
|
|
2313
|
+
get_partner_swagger(options?: RequestOptions): ResponsePromise<GetPartnerSwaggerResponse> {
|
|
2307
2314
|
return this.request(
|
|
2308
2315
|
"partner",
|
|
2309
2316
|
"get_partner_swagger",
|
|
@@ -2320,7 +2327,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2320
2327
|
* @param body - Task Information
|
|
2321
2328
|
* @param options - additional request options
|
|
2322
2329
|
*/
|
|
2323
|
-
post_task(body: PostTaskBody, options?: RequestOptions):
|
|
2330
|
+
post_task(body: PostTaskBody, options?: RequestOptions): ResponsePromise<PostTaskResponse> {
|
|
2324
2331
|
return this.request("task", "post_task", "post", `/task/`, body, options);
|
|
2325
2332
|
}
|
|
2326
2333
|
|
|
@@ -2330,7 +2337,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2330
2337
|
* @param id - Task ID
|
|
2331
2338
|
* @param options - additional request options
|
|
2332
2339
|
*/
|
|
2333
|
-
get_task(id: string, options?: RequestOptions):
|
|
2340
|
+
get_task(id: string, options?: RequestOptions): ResponsePromise<GetTaskResponse> {
|
|
2334
2341
|
return this.request("task", "get_task", "get", `/task/${id}`, null, options);
|
|
2335
2342
|
}
|
|
2336
2343
|
|
|
@@ -2345,7 +2352,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2345
2352
|
id: string,
|
|
2346
2353
|
body: PatchTaskBody,
|
|
2347
2354
|
options?: RequestOptions
|
|
2348
|
-
):
|
|
2355
|
+
): ResponsePromise<PatchTaskResponse> {
|
|
2349
2356
|
return this.request("task", "patch_task", "patch", `/task/${id}`, body, options);
|
|
2350
2357
|
}
|
|
2351
2358
|
|
|
@@ -2355,7 +2362,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2355
2362
|
* @param id - Task ID
|
|
2356
2363
|
* @param options - additional request options
|
|
2357
2364
|
*/
|
|
2358
|
-
delete_task(id: string, options?: RequestOptions):
|
|
2365
|
+
delete_task(id: string, options?: RequestOptions): ResponsePromise<DeleteTaskResponse> {
|
|
2359
2366
|
return this.request("task", "delete_task", "delete", `/task/${id}`, null, options);
|
|
2360
2367
|
}
|
|
2361
2368
|
|
|
@@ -2365,7 +2372,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2365
2372
|
* @param id - Order ID
|
|
2366
2373
|
* @param options - additional request options
|
|
2367
2374
|
*/
|
|
2368
|
-
get_task_order(id: string, options?: RequestOptions):
|
|
2375
|
+
get_task_order(id: string, options?: RequestOptions): ResponsePromise<GetTaskOrderResponse> {
|
|
2369
2376
|
return this.request("task", "get_task_order", "get", `/task/order/${id}`, null, options);
|
|
2370
2377
|
}
|
|
2371
2378
|
|
|
@@ -2375,7 +2382,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2375
2382
|
* @param id - Order ID
|
|
2376
2383
|
* @param options - additional request options
|
|
2377
2384
|
*/
|
|
2378
|
-
get_task_order_kds(
|
|
2385
|
+
get_task_order_kds(
|
|
2386
|
+
id: string,
|
|
2387
|
+
options?: RequestOptions
|
|
2388
|
+
): ResponsePromise<GetTaskOrderKdsResponse> {
|
|
2379
2389
|
return this.request(
|
|
2380
2390
|
"task",
|
|
2381
2391
|
"get_task_order_kds",
|
|
@@ -2397,7 +2407,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2397
2407
|
id: string,
|
|
2398
2408
|
body: PatchTaskOrderKdsBody,
|
|
2399
2409
|
options?: RequestOptions
|
|
2400
|
-
):
|
|
2410
|
+
): ResponsePromise<PatchTaskOrderKdsResponse> {
|
|
2401
2411
|
return this.request(
|
|
2402
2412
|
"task",
|
|
2403
2413
|
"patch_task_order_kds",
|
|
@@ -2419,7 +2429,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2419
2429
|
options?: {
|
|
2420
2430
|
query?: GetTaskAssigneeQuery;
|
|
2421
2431
|
} & RequestOptions
|
|
2422
|
-
):
|
|
2432
|
+
): ResponsePromise<GetTaskAssigneeResponse> {
|
|
2423
2433
|
return this.request("task", "get_task_assignee", "get", `/task/assignee/${id}`, null, options);
|
|
2424
2434
|
}
|
|
2425
2435
|
|
|
@@ -2434,7 +2444,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2434
2444
|
options?: {
|
|
2435
2445
|
query?: GetTaskLocationBrandQuery;
|
|
2436
2446
|
} & RequestOptions
|
|
2437
|
-
):
|
|
2447
|
+
): ResponsePromise<GetTaskLocationBrandResponse> {
|
|
2438
2448
|
return this.request(
|
|
2439
2449
|
"task",
|
|
2440
2450
|
"get_task_location_brand",
|
|
@@ -2456,7 +2466,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2456
2466
|
options?: {
|
|
2457
2467
|
query?: GetTaskLocationGroupQuery;
|
|
2458
2468
|
} & RequestOptions
|
|
2459
|
-
):
|
|
2469
|
+
): ResponsePromise<GetTaskLocationGroupResponse> {
|
|
2460
2470
|
return this.request(
|
|
2461
2471
|
"task",
|
|
2462
2472
|
"get_task_location_group",
|
|
@@ -2476,7 +2486,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2476
2486
|
options: {
|
|
2477
2487
|
query: GetKdsDevicesQuery;
|
|
2478
2488
|
} & RequestOptions
|
|
2479
|
-
):
|
|
2489
|
+
): ResponsePromise<GetKdsDevicesResponse> {
|
|
2480
2490
|
return this.request("kds", "get_kds_devices", "get", `/kds/devices`, null, options);
|
|
2481
2491
|
}
|
|
2482
2492
|
|
|
@@ -2489,7 +2499,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2489
2499
|
post_kds_device_auth(
|
|
2490
2500
|
body: PostKdsDeviceAuthBody,
|
|
2491
2501
|
options?: RequestOptions
|
|
2492
|
-
):
|
|
2502
|
+
): ResponsePromise<PostKdsDeviceAuthResponse> {
|
|
2493
2503
|
return this.request("kds", "post_kds_device_auth", "post", `/kds/device/auth`, body, options);
|
|
2494
2504
|
}
|
|
2495
2505
|
|
|
@@ -2502,7 +2512,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2502
2512
|
delete_kds_device_auth(
|
|
2503
2513
|
device_id: string,
|
|
2504
2514
|
options?: RequestOptions
|
|
2505
|
-
):
|
|
2515
|
+
): ResponsePromise<DeleteKdsDeviceAuthResponse> {
|
|
2506
2516
|
return this.request(
|
|
2507
2517
|
"kds",
|
|
2508
2518
|
"delete_kds_device_auth",
|
|
@@ -2518,7 +2528,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2518
2528
|
*
|
|
2519
2529
|
* @param options - additional request options
|
|
2520
2530
|
*/
|
|
2521
|
-
get_kds_swagger(options?: RequestOptions):
|
|
2531
|
+
get_kds_swagger(options?: RequestOptions): ResponsePromise<GetKdsSwaggerResponse> {
|
|
2522
2532
|
return this.request("kds", "get_kds_swagger", "get", `/kds/swagger.json`, null, options);
|
|
2523
2533
|
}
|
|
2524
2534
|
|
|
@@ -2533,7 +2543,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2533
2543
|
id: string,
|
|
2534
2544
|
body: PostMealplanBody,
|
|
2535
2545
|
options?: RequestOptions
|
|
2536
|
-
):
|
|
2546
|
+
): ResponsePromise<PostMealplanResponse> {
|
|
2537
2547
|
return this.request("mealplan", "post_mealplan", "post", `/mealplan/${id}`, body, options);
|
|
2538
2548
|
}
|
|
2539
2549
|
|
|
@@ -2548,7 +2558,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2548
2558
|
id: string,
|
|
2549
2559
|
body: PutMealplanBody,
|
|
2550
2560
|
options?: RequestOptions
|
|
2551
|
-
):
|
|
2561
|
+
): ResponsePromise<PutMealplanResponse> {
|
|
2552
2562
|
return this.request("mealplan", "put_mealplan", "put", `/mealplan/${id}`, body, options);
|
|
2553
2563
|
}
|
|
2554
2564
|
|
|
@@ -2558,7 +2568,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2558
2568
|
* @param id - Meal plan ID
|
|
2559
2569
|
* @param options - additional request options
|
|
2560
2570
|
*/
|
|
2561
|
-
get_mealplan(id: string, options?: RequestOptions):
|
|
2571
|
+
get_mealplan(id: string, options?: RequestOptions): ResponsePromise<GetMealplanResponse> {
|
|
2562
2572
|
return this.request("mealplan", "get_mealplan", "get", `/mealplan/${id}`, null, options);
|
|
2563
2573
|
}
|
|
2564
2574
|
|
|
@@ -2573,7 +2583,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2573
2583
|
id: string,
|
|
2574
2584
|
body: DeleteMealplanBody,
|
|
2575
2585
|
options?: RequestOptions
|
|
2576
|
-
):
|
|
2586
|
+
): ResponsePromise<DeleteMealplanResponse> {
|
|
2577
2587
|
return this.request("mealplan", "delete_mealplan", "delete", `/mealplan/${id}`, body, options);
|
|
2578
2588
|
}
|
|
2579
2589
|
|
|
@@ -2586,7 +2596,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2586
2596
|
post_mealplan_callback(
|
|
2587
2597
|
id: string,
|
|
2588
2598
|
options?: RequestOptions
|
|
2589
|
-
):
|
|
2599
|
+
): ResponsePromise<PostMealplanCallbackResponse> {
|
|
2590
2600
|
return this.request(
|
|
2591
2601
|
"mealplan",
|
|
2592
2602
|
"post_mealplan_callback",
|
|
@@ -2608,7 +2618,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2608
2618
|
id: string,
|
|
2609
2619
|
tender: string,
|
|
2610
2620
|
options?: RequestOptions
|
|
2611
|
-
):
|
|
2621
|
+
): ResponsePromise<GetMealplanTenderResponse> {
|
|
2612
2622
|
return this.request(
|
|
2613
2623
|
"mealplan",
|
|
2614
2624
|
"get_mealplan_tender",
|
|
@@ -2630,7 +2640,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2630
2640
|
id: string,
|
|
2631
2641
|
tender: string,
|
|
2632
2642
|
options?: RequestOptions
|
|
2633
|
-
):
|
|
2643
|
+
): ResponsePromise<DeleteMealplanTenderResponse> {
|
|
2634
2644
|
return this.request(
|
|
2635
2645
|
"mealplan",
|
|
2636
2646
|
"delete_mealplan_tender",
|
|
@@ -2654,7 +2664,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2654
2664
|
tender: string,
|
|
2655
2665
|
body: PatchMealplanTenderBody,
|
|
2656
2666
|
options?: RequestOptions
|
|
2657
|
-
):
|
|
2667
|
+
): ResponsePromise<PatchMealplanTenderResponse> {
|
|
2658
2668
|
return this.request(
|
|
2659
2669
|
"mealplan",
|
|
2660
2670
|
"patch_mealplan_tender",
|
|
@@ -2678,7 +2688,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2678
2688
|
options?: {
|
|
2679
2689
|
query?: PostMealplanVerifyQuery;
|
|
2680
2690
|
} & RequestOptions
|
|
2681
|
-
):
|
|
2691
|
+
): ResponsePromise<PostMealplanVerifyResponse> {
|
|
2682
2692
|
return this.request(
|
|
2683
2693
|
"mealplan",
|
|
2684
2694
|
"post_mealplan_verify",
|
|
@@ -2700,7 +2710,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2700
2710
|
id: string,
|
|
2701
2711
|
body: PutMealplanVerifyBody,
|
|
2702
2712
|
options?: RequestOptions
|
|
2703
|
-
):
|
|
2713
|
+
): ResponsePromise<PutMealplanVerifyResponse> {
|
|
2704
2714
|
return this.request(
|
|
2705
2715
|
"mealplan",
|
|
2706
2716
|
"put_mealplan_verify",
|
|
@@ -2722,7 +2732,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2722
2732
|
id: string,
|
|
2723
2733
|
body: PostMealplanAuthorizeBody,
|
|
2724
2734
|
options?: RequestOptions
|
|
2725
|
-
):
|
|
2735
|
+
): ResponsePromise<PostMealplanAuthorizeResponse> {
|
|
2726
2736
|
return this.request(
|
|
2727
2737
|
"mealplan",
|
|
2728
2738
|
"post_mealplan_authorize",
|
|
@@ -2742,7 +2752,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2742
2752
|
post_datalake_sql(
|
|
2743
2753
|
body: PostDatalakeSqlBody,
|
|
2744
2754
|
options?: RequestOptions
|
|
2745
|
-
):
|
|
2755
|
+
): ResponsePromise<PostDatalakeSqlResponse> {
|
|
2746
2756
|
return this.request("datalake", "post_datalake_sql", "post", `/datalake/sql`, body, options);
|
|
2747
2757
|
}
|
|
2748
2758
|
|
|
@@ -2751,7 +2761,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2751
2761
|
*
|
|
2752
2762
|
* @param options - additional request options
|
|
2753
2763
|
*/
|
|
2754
|
-
get_swagger(options?: RequestOptions):
|
|
2764
|
+
get_swagger(options?: RequestOptions): ResponsePromise<GetSwaggerResponse> {
|
|
2755
2765
|
return this.request("datalake", "get_swagger", "get", `/swagger.json`, null, options);
|
|
2756
2766
|
}
|
|
2757
2767
|
|
|
@@ -2761,7 +2771,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2761
2771
|
* @param body
|
|
2762
2772
|
* @param options - additional request options
|
|
2763
2773
|
*/
|
|
2764
|
-
post_promo(body: PostPromoBody, options?: RequestOptions):
|
|
2774
|
+
post_promo(body: PostPromoBody, options?: RequestOptions): ResponsePromise<PostPromoResponse> {
|
|
2765
2775
|
return this.request("promo", "post_promo", "post", `/promo`, body, options);
|
|
2766
2776
|
}
|
|
2767
2777
|
|
|
@@ -2774,7 +2784,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2774
2784
|
options?: {
|
|
2775
2785
|
query?: GetPromosQuery;
|
|
2776
2786
|
} & RequestOptions
|
|
2777
|
-
):
|
|
2787
|
+
): ResponsePromise<GetPromosResponse> {
|
|
2778
2788
|
return this.request("promo", "get_promos", "get", `/promo`, null, options);
|
|
2779
2789
|
}
|
|
2780
2790
|
|
|
@@ -2789,7 +2799,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2789
2799
|
options?: {
|
|
2790
2800
|
query?: GetPromoQuery;
|
|
2791
2801
|
} & RequestOptions
|
|
2792
|
-
):
|
|
2802
|
+
): ResponsePromise<GetPromoResponse> {
|
|
2793
2803
|
return this.request("promo", "get_promo", "get", `/promo/${id}`, null, options);
|
|
2794
2804
|
}
|
|
2795
2805
|
|
|
@@ -2800,7 +2810,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2800
2810
|
* @param body
|
|
2801
2811
|
* @param options - additional request options
|
|
2802
2812
|
*/
|
|
2803
|
-
put_promo(
|
|
2813
|
+
put_promo(
|
|
2814
|
+
id: string,
|
|
2815
|
+
body: PutPromoBody,
|
|
2816
|
+
options?: RequestOptions
|
|
2817
|
+
): ResponsePromise<PutPromoResponse> {
|
|
2804
2818
|
return this.request("promo", "put_promo", "put", `/promo/${id}`, body, options);
|
|
2805
2819
|
}
|
|
2806
2820
|
|
|
@@ -2810,7 +2824,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2810
2824
|
* @param id - Id of a promotion
|
|
2811
2825
|
* @param options - additional request options
|
|
2812
2826
|
*/
|
|
2813
|
-
delete_promo(id: string, options?: RequestOptions):
|
|
2827
|
+
delete_promo(id: string, options?: RequestOptions): ResponsePromise<DeletePromoResponse> {
|
|
2814
2828
|
return this.request("promo", "delete_promo", "delete", `/promo/${id}`, null, options);
|
|
2815
2829
|
}
|
|
2816
2830
|
|
|
@@ -2827,7 +2841,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2827
2841
|
options?: {
|
|
2828
2842
|
query?: GetPromoCompanyLocationGroupQuery;
|
|
2829
2843
|
} & RequestOptions
|
|
2830
|
-
):
|
|
2844
|
+
): ResponsePromise<GetPromoCompanyLocationGroupResponse> {
|
|
2831
2845
|
return this.request(
|
|
2832
2846
|
"promo",
|
|
2833
2847
|
"get_promo_company_location_group",
|
|
@@ -2847,7 +2861,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2847
2861
|
post_promo_validate_voucher(
|
|
2848
2862
|
body: PostPromoValidateVoucherBody,
|
|
2849
2863
|
options?: RequestOptions
|
|
2850
|
-
):
|
|
2864
|
+
): ResponsePromise<PostPromoValidateVoucherResponse> {
|
|
2851
2865
|
return this.request(
|
|
2852
2866
|
"promo",
|
|
2853
2867
|
"post_promo_validate_voucher",
|
|
@@ -2867,7 +2881,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2867
2881
|
post_promo_redeem_voucher(
|
|
2868
2882
|
body: PostPromoRedeemVoucherBody,
|
|
2869
2883
|
options?: RequestOptions
|
|
2870
|
-
):
|
|
2884
|
+
): ResponsePromise<PostPromoRedeemVoucherResponse> {
|
|
2871
2885
|
return this.request(
|
|
2872
2886
|
"promo",
|
|
2873
2887
|
"post_promo_redeem_voucher",
|
|
@@ -2887,7 +2901,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2887
2901
|
post_promo_voucher(
|
|
2888
2902
|
body: PostPromoVoucherBody,
|
|
2889
2903
|
options?: RequestOptions
|
|
2890
|
-
):
|
|
2904
|
+
): ResponsePromise<PostPromoVoucherResponse> {
|
|
2891
2905
|
return this.request("promo", "post_promo_voucher", "post", `/promo/voucher`, body, options);
|
|
2892
2906
|
}
|
|
2893
2907
|
|
|
@@ -2902,7 +2916,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2902
2916
|
id: string,
|
|
2903
2917
|
body: PutPromoVoucherBody,
|
|
2904
2918
|
options?: RequestOptions
|
|
2905
|
-
):
|
|
2919
|
+
): ResponsePromise<PutPromoVoucherResponse> {
|
|
2906
2920
|
return this.request("promo", "put_promo_voucher", "put", `/promo/voucher/${id}`, body, options);
|
|
2907
2921
|
}
|
|
2908
2922
|
|
|
@@ -2917,7 +2931,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2917
2931
|
options?: {
|
|
2918
2932
|
query?: DeletePromoVoucherQuery;
|
|
2919
2933
|
} & RequestOptions
|
|
2920
|
-
):
|
|
2934
|
+
): ResponsePromise<DeletePromoVoucherResponse> {
|
|
2921
2935
|
return this.request(
|
|
2922
2936
|
"promo",
|
|
2923
2937
|
"delete_promo_voucher",
|
|
@@ -2937,7 +2951,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2937
2951
|
post_promo_customer(
|
|
2938
2952
|
body: PostPromoCustomerBody,
|
|
2939
2953
|
options?: RequestOptions
|
|
2940
|
-
):
|
|
2954
|
+
): ResponsePromise<PostPromoCustomerResponse> {
|
|
2941
2955
|
return this.request("promo", "post_promo_customer", "post", `/promo/customer/`, body, options);
|
|
2942
2956
|
}
|
|
2943
2957
|
|
|
@@ -2950,7 +2964,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2950
2964
|
delete_promo_customer(
|
|
2951
2965
|
body: DeletePromoCustomerBody,
|
|
2952
2966
|
options?: RequestOptions
|
|
2953
|
-
):
|
|
2967
|
+
): ResponsePromise<DeletePromoCustomerResponse> {
|
|
2954
2968
|
return this.request(
|
|
2955
2969
|
"promo",
|
|
2956
2970
|
"delete_promo_customer",
|
|
@@ -2972,7 +2986,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2972
2986
|
id: string,
|
|
2973
2987
|
body: PostPromoVoucherReverseBody,
|
|
2974
2988
|
options?: RequestOptions
|
|
2975
|
-
):
|
|
2989
|
+
): ResponsePromise<PostPromoVoucherReverseResponse> {
|
|
2976
2990
|
return this.request(
|
|
2977
2991
|
"promo",
|
|
2978
2992
|
"post_promo_voucher_reverse",
|
|
@@ -2992,7 +3006,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2992
3006
|
post_promo_voucherify_activity_execute(
|
|
2993
3007
|
body: PostPromoVoucherifyActivityExecuteBody,
|
|
2994
3008
|
options?: RequestOptions
|
|
2995
|
-
):
|
|
3009
|
+
): ResponsePromise<PostPromoVoucherifyActivityExecuteResponse> {
|
|
2996
3010
|
return this.request(
|
|
2997
3011
|
"promo",
|
|
2998
3012
|
"post_promo_voucherify_activity_execute",
|
|
@@ -3010,7 +3024,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3010
3024
|
*/
|
|
3011
3025
|
get_promo_voucherify_activity_config(
|
|
3012
3026
|
options?: RequestOptions
|
|
3013
|
-
):
|
|
3027
|
+
): ResponsePromise<GetPromoVoucherifyActivityConfigResponse> {
|
|
3014
3028
|
return this.request(
|
|
3015
3029
|
"promo",
|
|
3016
3030
|
"get_promo_voucherify_activity_config",
|
|
@@ -3026,7 +3040,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3026
3040
|
*
|
|
3027
3041
|
* @param options - additional request options
|
|
3028
3042
|
*/
|
|
3029
|
-
post_dh_sql(options?: RequestOptions):
|
|
3043
|
+
post_dh_sql(options?: RequestOptions): ResponsePromise<PostDhSqlResponse> {
|
|
3030
3044
|
return this.request("dh", "post_dh_sql", "post", `/dh/sql`, null, options);
|
|
3031
3045
|
}
|
|
3032
3046
|
|
|
@@ -3036,7 +3050,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3036
3050
|
* @param key - configuration key
|
|
3037
3051
|
* @param options - additional request options
|
|
3038
3052
|
*/
|
|
3039
|
-
get_config(key: string, options?: RequestOptions):
|
|
3053
|
+
get_config(key: string, options?: RequestOptions): ResponsePromise<GetConfigResponse> {
|
|
3040
3054
|
return this.request("config", "get_config", "get", `/config/${key}`, null, options);
|
|
3041
3055
|
}
|
|
3042
3056
|
|
|
@@ -3051,7 +3065,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3051
3065
|
key: string,
|
|
3052
3066
|
body: PostConfigBody,
|
|
3053
3067
|
options?: RequestOptions
|
|
3054
|
-
):
|
|
3068
|
+
): ResponsePromise<PostConfigResponse> {
|
|
3055
3069
|
return this.request("config", "post_config", "post", `/config/${key}`, body, options);
|
|
3056
3070
|
}
|
|
3057
3071
|
|
|
@@ -3066,7 +3080,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3066
3080
|
key: string,
|
|
3067
3081
|
body: PutConfigBody,
|
|
3068
3082
|
options?: RequestOptions
|
|
3069
|
-
):
|
|
3083
|
+
): ResponsePromise<PutConfigResponse> {
|
|
3070
3084
|
return this.request("config", "put_config", "put", `/config/${key}`, body, options);
|
|
3071
3085
|
}
|
|
3072
3086
|
|
|
@@ -3076,7 +3090,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3076
3090
|
* @param key - configuration key
|
|
3077
3091
|
* @param options - additional request options
|
|
3078
3092
|
*/
|
|
3079
|
-
delete_config(key: string, options?: RequestOptions):
|
|
3093
|
+
delete_config(key: string, options?: RequestOptions): ResponsePromise<DeleteConfigResponse> {
|
|
3080
3094
|
return this.request("config", "delete_config", "delete", `/config/${key}`, null, options);
|
|
3081
3095
|
}
|
|
3082
3096
|
|
|
@@ -3086,7 +3100,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3086
3100
|
* @param key - configuration key
|
|
3087
3101
|
* @param options - additional request options
|
|
3088
3102
|
*/
|
|
3089
|
-
get_config_public(
|
|
3103
|
+
get_config_public(
|
|
3104
|
+
key: string,
|
|
3105
|
+
options?: RequestOptions
|
|
3106
|
+
): ResponsePromise<GetConfigPublicResponse> {
|
|
3090
3107
|
return this.request(
|
|
3091
3108
|
"config",
|
|
3092
3109
|
"get_config_public",
|
|
@@ -3108,7 +3125,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3108
3125
|
key: string,
|
|
3109
3126
|
body: PostConfigPublicBody,
|
|
3110
3127
|
options?: RequestOptions
|
|
3111
|
-
):
|
|
3128
|
+
): ResponsePromise<PostConfigPublicResponse> {
|
|
3112
3129
|
return this.request(
|
|
3113
3130
|
"config",
|
|
3114
3131
|
"post_config_public",
|
|
@@ -3130,7 +3147,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3130
3147
|
key: string,
|
|
3131
3148
|
body: PutConfigPublicBody,
|
|
3132
3149
|
options?: RequestOptions
|
|
3133
|
-
):
|
|
3150
|
+
): ResponsePromise<PutConfigPublicResponse> {
|
|
3134
3151
|
return this.request(
|
|
3135
3152
|
"config",
|
|
3136
3153
|
"put_config_public",
|
|
@@ -3147,7 +3164,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3147
3164
|
* @param key - configuration key
|
|
3148
3165
|
* @param options - additional request options
|
|
3149
3166
|
*/
|
|
3150
|
-
delete_config_public(
|
|
3167
|
+
delete_config_public(
|
|
3168
|
+
key: string,
|
|
3169
|
+
options?: RequestOptions
|
|
3170
|
+
): ResponsePromise<DeleteConfigPublicResponse> {
|
|
3151
3171
|
return this.request(
|
|
3152
3172
|
"config",
|
|
3153
3173
|
"delete_config_public",
|
|
@@ -3167,7 +3187,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3167
3187
|
post_announcement(
|
|
3168
3188
|
body: PostAnnouncementBody,
|
|
3169
3189
|
options?: RequestOptions
|
|
3170
|
-
):
|
|
3190
|
+
): ResponsePromise<PostAnnouncementResponse> {
|
|
3171
3191
|
return this.request(
|
|
3172
3192
|
"announcement",
|
|
3173
3193
|
"post_announcement",
|
|
@@ -3189,7 +3209,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3189
3209
|
options?: {
|
|
3190
3210
|
query?: GetAnnouncementResourceQuery;
|
|
3191
3211
|
} & RequestOptions
|
|
3192
|
-
):
|
|
3212
|
+
): ResponsePromise<GetAnnouncementResourceResponse> {
|
|
3193
3213
|
return this.request(
|
|
3194
3214
|
"announcement",
|
|
3195
3215
|
"get_announcement_resource",
|
|
@@ -3209,7 +3229,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3209
3229
|
options?: {
|
|
3210
3230
|
query?: GetAnnouncementResourcesQuery;
|
|
3211
3231
|
} & RequestOptions
|
|
3212
|
-
):
|
|
3232
|
+
): ResponsePromise<GetAnnouncementResourcesResponse> {
|
|
3213
3233
|
return this.request(
|
|
3214
3234
|
"announcement",
|
|
3215
3235
|
"get_announcement_resources",
|
|
@@ -3226,7 +3246,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3226
3246
|
* @param id - Id of the entity to which announcement is specifically related.
|
|
3227
3247
|
* @param options - additional request options
|
|
3228
3248
|
*/
|
|
3229
|
-
get_announcement(id: string, options?: RequestOptions):
|
|
3249
|
+
get_announcement(id: string, options?: RequestOptions): ResponsePromise<GetAnnouncementResponse> {
|
|
3230
3250
|
return this.request(
|
|
3231
3251
|
"announcement",
|
|
3232
3252
|
"get_announcement",
|
|
@@ -3248,7 +3268,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3248
3268
|
id: string,
|
|
3249
3269
|
body: PutAnnouncementBody,
|
|
3250
3270
|
options?: RequestOptions
|
|
3251
|
-
):
|
|
3271
|
+
): ResponsePromise<PutAnnouncementResponse> {
|
|
3252
3272
|
return this.request(
|
|
3253
3273
|
"announcement",
|
|
3254
3274
|
"put_announcement",
|
|
@@ -3265,7 +3285,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3265
3285
|
* @param id - Id of the announcement
|
|
3266
3286
|
* @param options - additional request options
|
|
3267
3287
|
*/
|
|
3268
|
-
delete_announcement(
|
|
3288
|
+
delete_announcement(
|
|
3289
|
+
id: string,
|
|
3290
|
+
options?: RequestOptions
|
|
3291
|
+
): ResponsePromise<DeleteAnnouncementResponse> {
|
|
3269
3292
|
return this.request(
|
|
3270
3293
|
"announcement",
|
|
3271
3294
|
"delete_announcement",
|
|
@@ -3289,7 +3312,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3289
3312
|
options: {
|
|
3290
3313
|
query: GetReportAnalyticsGroupQuery;
|
|
3291
3314
|
} & RequestOptions
|
|
3292
|
-
):
|
|
3315
|
+
): ResponsePromise<GetReportAnalyticsGroupResponse> {
|
|
3293
3316
|
return this.request(
|
|
3294
3317
|
"report",
|
|
3295
3318
|
"get_report_analytics_group",
|
|
@@ -3311,7 +3334,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3311
3334
|
options: {
|
|
3312
3335
|
query: GetReportAnalyticsCombinedGroupQuery;
|
|
3313
3336
|
} & RequestOptions
|
|
3314
|
-
):
|
|
3337
|
+
): ResponsePromise<GetReportAnalyticsCombinedGroupResponse> {
|
|
3315
3338
|
return this.request(
|
|
3316
3339
|
"report",
|
|
3317
3340
|
"get_report_analytics_combined_group",
|
|
@@ -3331,7 +3354,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3331
3354
|
options: {
|
|
3332
3355
|
query: GetReportAnalyticsExactmobileTotalsQuery;
|
|
3333
3356
|
} & RequestOptions
|
|
3334
|
-
):
|
|
3357
|
+
): ResponsePromise<GetReportAnalyticsExactmobileTotalsResponse> {
|
|
3335
3358
|
return this.request(
|
|
3336
3359
|
"report",
|
|
3337
3360
|
"get_report_analytics_exactmobile_totals",
|
|
@@ -3351,7 +3374,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3351
3374
|
options: {
|
|
3352
3375
|
query: GetReportAnalyticsExactmobileTransactionsQuery;
|
|
3353
3376
|
} & RequestOptions
|
|
3354
|
-
):
|
|
3377
|
+
): ResponsePromise<GetReportAnalyticsExactmobileTransactionsResponse> {
|
|
3355
3378
|
return this.request(
|
|
3356
3379
|
"report",
|
|
3357
3380
|
"get_report_analytics_exactmobile_transactions",
|
|
@@ -3371,7 +3394,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3371
3394
|
options: {
|
|
3372
3395
|
query: GetReportAnalyticsExactmobileDiscrepanciesQuery;
|
|
3373
3396
|
} & RequestOptions
|
|
3374
|
-
):
|
|
3397
|
+
): ResponsePromise<GetReportAnalyticsExactmobileDiscrepanciesResponse> {
|
|
3375
3398
|
return this.request(
|
|
3376
3399
|
"report",
|
|
3377
3400
|
"get_report_analytics_exactmobile_discrepancies",
|
|
@@ -3391,7 +3414,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3391
3414
|
get_report_analytics_tracker_report(
|
|
3392
3415
|
id: string,
|
|
3393
3416
|
options?: RequestOptions
|
|
3394
|
-
):
|
|
3417
|
+
): ResponsePromise<GetReportAnalyticsTrackerReportResponse> {
|
|
3395
3418
|
return this.request(
|
|
3396
3419
|
"report",
|
|
3397
3420
|
"get_report_analytics_tracker_report",
|
|
@@ -3413,7 +3436,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3413
3436
|
options?: {
|
|
3414
3437
|
query?: GetReportEodGroupQuery;
|
|
3415
3438
|
} & RequestOptions
|
|
3416
|
-
):
|
|
3439
|
+
): ResponsePromise<GetReportEodGroupResponse> {
|
|
3417
3440
|
return this.request(
|
|
3418
3441
|
"report",
|
|
3419
3442
|
"get_report_eod_group",
|
|
@@ -3433,7 +3456,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3433
3456
|
get_report_eod_group_subscribers(
|
|
3434
3457
|
id: string,
|
|
3435
3458
|
options?: RequestOptions
|
|
3436
|
-
):
|
|
3459
|
+
): ResponsePromise<GetReportEodGroupSubscribersResponse> {
|
|
3437
3460
|
return this.request(
|
|
3438
3461
|
"report",
|
|
3439
3462
|
"get_report_eod_group_subscribers",
|
|
@@ -3455,7 +3478,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3455
3478
|
id: string,
|
|
3456
3479
|
body: PostReportEodGroupSubscribersBody,
|
|
3457
3480
|
options?: RequestOptions
|
|
3458
|
-
):
|
|
3481
|
+
): ResponsePromise<PostReportEodGroupSubscribersResponse> {
|
|
3459
3482
|
return this.request(
|
|
3460
3483
|
"report",
|
|
3461
3484
|
"post_report_eod_group_subscribers",
|
|
@@ -3475,7 +3498,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3475
3498
|
delete_report_eod_group_subscribers(
|
|
3476
3499
|
id: string,
|
|
3477
3500
|
options?: RequestOptions
|
|
3478
|
-
):
|
|
3501
|
+
): ResponsePromise<DeleteReportEodGroupSubscribersResponse> {
|
|
3479
3502
|
return this.request(
|
|
3480
3503
|
"report",
|
|
3481
3504
|
"delete_report_eod_group_subscribers",
|
|
@@ -3497,7 +3520,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3497
3520
|
id: string,
|
|
3498
3521
|
body: PutReportEodGroupSubscribersBody,
|
|
3499
3522
|
options?: RequestOptions
|
|
3500
|
-
):
|
|
3523
|
+
): ResponsePromise<PutReportEodGroupSubscribersResponse> {
|
|
3501
3524
|
return this.request(
|
|
3502
3525
|
"report",
|
|
3503
3526
|
"put_report_eod_group_subscribers",
|
|
@@ -3517,7 +3540,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3517
3540
|
options?: {
|
|
3518
3541
|
query?: GetReportDiscrepancySubscribersQuery;
|
|
3519
3542
|
} & RequestOptions
|
|
3520
|
-
):
|
|
3543
|
+
): ResponsePromise<GetReportDiscrepancySubscribersResponse> {
|
|
3521
3544
|
return this.request(
|
|
3522
3545
|
"report",
|
|
3523
3546
|
"get_report_discrepancy_subscribers",
|
|
@@ -3537,7 +3560,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3537
3560
|
options: {
|
|
3538
3561
|
query: DeleteReportDiscrepancySubscribersQuery;
|
|
3539
3562
|
} & RequestOptions
|
|
3540
|
-
):
|
|
3563
|
+
): ResponsePromise<DeleteReportDiscrepancySubscribersResponse> {
|
|
3541
3564
|
return this.request(
|
|
3542
3565
|
"report",
|
|
3543
3566
|
"delete_report_discrepancy_subscribers",
|
|
@@ -3557,7 +3580,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3557
3580
|
post_report_discrepancy_subscribers(
|
|
3558
3581
|
body: PostReportDiscrepancySubscribersBody,
|
|
3559
3582
|
options?: RequestOptions
|
|
3560
|
-
):
|
|
3583
|
+
): ResponsePromise<PostReportDiscrepancySubscribersResponse> {
|
|
3561
3584
|
return this.request(
|
|
3562
3585
|
"report",
|
|
3563
3586
|
"post_report_discrepancy_subscribers",
|
|
@@ -3577,7 +3600,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3577
3600
|
options?: {
|
|
3578
3601
|
query?: GetUserAuthQuery;
|
|
3579
3602
|
} & RequestOptions
|
|
3580
|
-
):
|
|
3603
|
+
): ResponsePromise<GetUserAuthResponse> {
|
|
3581
3604
|
return this.request("user", "get_user_auth", "get", `/user/auth`, null, options);
|
|
3582
3605
|
}
|
|
3583
3606
|
|
|
@@ -3587,7 +3610,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3587
3610
|
* @param body
|
|
3588
3611
|
* @param options - additional request options
|
|
3589
3612
|
*/
|
|
3590
|
-
post_user_auth(
|
|
3613
|
+
post_user_auth(
|
|
3614
|
+
body: PostUserAuthBody,
|
|
3615
|
+
options?: RequestOptions
|
|
3616
|
+
): ResponsePromise<PostUserAuthResponse> {
|
|
3591
3617
|
return this.request("user", "post_user_auth", "post", `/user/auth`, body, options);
|
|
3592
3618
|
}
|
|
3593
3619
|
|
|
@@ -3596,7 +3622,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3596
3622
|
*
|
|
3597
3623
|
* @param options - additional request options
|
|
3598
3624
|
*/
|
|
3599
|
-
get_user_zendesk(options?: RequestOptions):
|
|
3625
|
+
get_user_zendesk(options?: RequestOptions): ResponsePromise<GetUserZendeskResponse> {
|
|
3600
3626
|
return this.request("user", "get_user_zendesk", "get", `/user/zendesk`, null, options);
|
|
3601
3627
|
}
|
|
3602
3628
|
|
|
@@ -3611,7 +3637,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3611
3637
|
options?: {
|
|
3612
3638
|
query?: PostUserQuery;
|
|
3613
3639
|
} & RequestOptions
|
|
3614
|
-
):
|
|
3640
|
+
): ResponsePromise<PostUserResponse> {
|
|
3615
3641
|
return this.request("user", "post_user", "post", `/user`, body, options);
|
|
3616
3642
|
}
|
|
3617
3643
|
|
|
@@ -3626,7 +3652,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3626
3652
|
options?: {
|
|
3627
3653
|
query?: GetUserQuery;
|
|
3628
3654
|
} & RequestOptions
|
|
3629
|
-
):
|
|
3655
|
+
): ResponsePromise<GetUserResponse> {
|
|
3630
3656
|
return this.request("user", "get_user", "get", `/user/${id}`, null, options);
|
|
3631
3657
|
}
|
|
3632
3658
|
|
|
@@ -3643,7 +3669,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3643
3669
|
options?: {
|
|
3644
3670
|
query?: PutUserQuery;
|
|
3645
3671
|
} & RequestOptions
|
|
3646
|
-
):
|
|
3672
|
+
): ResponsePromise<PutUserResponse> {
|
|
3647
3673
|
return this.request("user", "put_user", "put", `/user/${id}`, body, options);
|
|
3648
3674
|
}
|
|
3649
3675
|
|
|
@@ -3660,7 +3686,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3660
3686
|
options?: {
|
|
3661
3687
|
query?: PatchUserQuery;
|
|
3662
3688
|
} & RequestOptions
|
|
3663
|
-
):
|
|
3689
|
+
): ResponsePromise<PatchUserResponse> {
|
|
3664
3690
|
return this.request("user", "patch_user", "patch", `/user/${id}`, body, options);
|
|
3665
3691
|
}
|
|
3666
3692
|
|
|
@@ -3675,7 +3701,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3675
3701
|
options?: {
|
|
3676
3702
|
query?: DeleteUserQuery;
|
|
3677
3703
|
} & RequestOptions
|
|
3678
|
-
):
|
|
3704
|
+
): ResponsePromise<DeleteUserResponse> {
|
|
3679
3705
|
return this.request("user", "delete_user", "delete", `/user/${id}`, null, options);
|
|
3680
3706
|
}
|
|
3681
3707
|
|
|
@@ -3688,7 +3714,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3688
3714
|
post_user_kds_token(
|
|
3689
3715
|
body: PostUserKdsTokenBody,
|
|
3690
3716
|
options?: RequestOptions
|
|
3691
|
-
):
|
|
3717
|
+
): ResponsePromise<PostUserKdsTokenResponse> {
|
|
3692
3718
|
return this.request("user", "post_user_kds_token", "post", `/user/device/auth`, body, options);
|
|
3693
3719
|
}
|
|
3694
3720
|
|
|
@@ -3701,7 +3727,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3701
3727
|
options?: {
|
|
3702
3728
|
query?: GetUserKdsTokenQuery;
|
|
3703
3729
|
} & RequestOptions
|
|
3704
|
-
):
|
|
3730
|
+
): ResponsePromise<GetUserKdsTokenResponse> {
|
|
3705
3731
|
return this.request("user", "get_user_kds_token", "get", `/user/device/auth`, null, options);
|
|
3706
3732
|
}
|
|
3707
3733
|
|
|
@@ -3714,7 +3740,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3714
3740
|
delete_user_device_auth(
|
|
3715
3741
|
device_id: string,
|
|
3716
3742
|
options?: RequestOptions
|
|
3717
|
-
):
|
|
3743
|
+
): ResponsePromise<DeleteUserDeviceAuthResponse> {
|
|
3718
3744
|
return this.request(
|
|
3719
3745
|
"user",
|
|
3720
3746
|
"delete_user_device_auth",
|
|
@@ -3734,7 +3760,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3734
3760
|
patch_user_auth_kds(
|
|
3735
3761
|
device_id: string,
|
|
3736
3762
|
options?: RequestOptions
|
|
3737
|
-
):
|
|
3763
|
+
): ResponsePromise<PatchUserAuthKdsResponse> {
|
|
3738
3764
|
return this.request(
|
|
3739
3765
|
"user",
|
|
3740
3766
|
"patch_user_auth_kds",
|
|
@@ -3756,7 +3782,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3756
3782
|
id: string,
|
|
3757
3783
|
body: PostUserChangePasswordBody,
|
|
3758
3784
|
options?: RequestOptions
|
|
3759
|
-
):
|
|
3785
|
+
): ResponsePromise<PostUserChangePasswordResponse> {
|
|
3760
3786
|
return this.request(
|
|
3761
3787
|
"user",
|
|
3762
3788
|
"post_user_change_password",
|
|
@@ -3772,7 +3798,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3772
3798
|
*
|
|
3773
3799
|
* @param options - additional request options
|
|
3774
3800
|
*/
|
|
3775
|
-
delete_user_logout(options?: RequestOptions):
|
|
3801
|
+
delete_user_logout(options?: RequestOptions): ResponsePromise<DeleteUserLogoutResponse> {
|
|
3776
3802
|
return this.request("user", "delete_user_logout", "delete", `/user/logout`, null, options);
|
|
3777
3803
|
}
|
|
3778
3804
|
|
|
@@ -3789,7 +3815,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3789
3815
|
key: string,
|
|
3790
3816
|
body: PostUserAddSecretBody,
|
|
3791
3817
|
options?: RequestOptions
|
|
3792
|
-
):
|
|
3818
|
+
): ResponsePromise<PostUserAddSecretResponse> {
|
|
3793
3819
|
return this.request(
|
|
3794
3820
|
"user",
|
|
3795
3821
|
"post_user_add_secret",
|
|
@@ -3811,7 +3837,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3811
3837
|
id: string,
|
|
3812
3838
|
key: string,
|
|
3813
3839
|
options?: RequestOptions
|
|
3814
|
-
):
|
|
3840
|
+
): ResponsePromise<GetUserSecretResponse> {
|
|
3815
3841
|
return this.request(
|
|
3816
3842
|
"user",
|
|
3817
3843
|
"get_user_secret",
|
|
@@ -3833,7 +3859,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3833
3859
|
options?: {
|
|
3834
3860
|
query?: PostUserResetPasswordQuery;
|
|
3835
3861
|
} & RequestOptions
|
|
3836
|
-
):
|
|
3862
|
+
): ResponsePromise<PostUserResetPasswordResponse> {
|
|
3837
3863
|
return this.request(
|
|
3838
3864
|
"user",
|
|
3839
3865
|
"post_user_reset_password",
|
|
@@ -3857,7 +3883,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3857
3883
|
options: {
|
|
3858
3884
|
query: PostUserResetPasswordTokenQuery;
|
|
3859
3885
|
} & RequestOptions
|
|
3860
|
-
):
|
|
3886
|
+
): ResponsePromise<PostUserResetPasswordTokenResponse> {
|
|
3861
3887
|
return this.request(
|
|
3862
3888
|
"user",
|
|
3863
3889
|
"post_user_reset_password_token",
|
|
@@ -3879,7 +3905,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3879
3905
|
options?: {
|
|
3880
3906
|
query?: GetUserRealmUsersQuery;
|
|
3881
3907
|
} & RequestOptions
|
|
3882
|
-
):
|
|
3908
|
+
): ResponsePromise<GetUserRealmUsersResponse> {
|
|
3883
3909
|
return this.request(
|
|
3884
3910
|
"user",
|
|
3885
3911
|
"get_user_realm_users",
|
|
@@ -3901,7 +3927,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3901
3927
|
options?: {
|
|
3902
3928
|
query?: GetUserPermissionsQuery;
|
|
3903
3929
|
} & RequestOptions
|
|
3904
|
-
):
|
|
3930
|
+
): ResponsePromise<GetUserPermissionsResponse> {
|
|
3905
3931
|
return this.request(
|
|
3906
3932
|
"user",
|
|
3907
3933
|
"get_user_permissions",
|
|
@@ -3925,7 +3951,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3925
3951
|
options?: {
|
|
3926
3952
|
query?: PutUserPermissionsQuery;
|
|
3927
3953
|
} & RequestOptions
|
|
3928
|
-
):
|
|
3954
|
+
): ResponsePromise<PutUserPermissionsResponse> {
|
|
3929
3955
|
return this.request(
|
|
3930
3956
|
"user",
|
|
3931
3957
|
"put_user_permissions",
|
|
@@ -3947,7 +3973,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3947
3973
|
id: string,
|
|
3948
3974
|
body: PostUserCheckInBody,
|
|
3949
3975
|
options?: RequestOptions
|
|
3950
|
-
):
|
|
3976
|
+
): ResponsePromise<PostUserCheckInResponse> {
|
|
3951
3977
|
return this.request("user", "post_user_check_in", "post", `/user/${id}/checkin`, body, options);
|
|
3952
3978
|
}
|
|
3953
3979
|
|
|
@@ -3964,7 +3990,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3964
3990
|
checkin_id: string,
|
|
3965
3991
|
body: PatchUserCheckinBody,
|
|
3966
3992
|
options?: RequestOptions
|
|
3967
|
-
):
|
|
3993
|
+
): ResponsePromise<PatchUserCheckinResponse> {
|
|
3968
3994
|
return this.request(
|
|
3969
3995
|
"user",
|
|
3970
3996
|
"patch_user_checkin",
|
|
@@ -3984,7 +4010,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3984
4010
|
options?: {
|
|
3985
4011
|
query?: GetUserSearchCheckInQuery;
|
|
3986
4012
|
} & RequestOptions
|
|
3987
|
-
):
|
|
4013
|
+
): ResponsePromise<GetUserSearchCheckInResponse> {
|
|
3988
4014
|
return this.request(
|
|
3989
4015
|
"user",
|
|
3990
4016
|
"get_user_search_check_in",
|
|
@@ -4004,7 +4030,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4004
4030
|
post_user_send_email_verification(
|
|
4005
4031
|
id: string,
|
|
4006
4032
|
options?: RequestOptions
|
|
4007
|
-
):
|
|
4033
|
+
): ResponsePromise<PostUserSendEmailVerificationResponse> {
|
|
4008
4034
|
return this.request(
|
|
4009
4035
|
"user",
|
|
4010
4036
|
"post_user_send_email_verification",
|
|
@@ -4026,7 +4052,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4026
4052
|
id: string,
|
|
4027
4053
|
body: PutUserVerifyUserEmailBody,
|
|
4028
4054
|
options?: RequestOptions
|
|
4029
|
-
):
|
|
4055
|
+
): ResponsePromise<PutUserVerifyUserEmailResponse> {
|
|
4030
4056
|
return this.request(
|
|
4031
4057
|
"user",
|
|
4032
4058
|
"put_user_verify_user_email",
|
|
@@ -4050,7 +4076,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4050
4076
|
options?: {
|
|
4051
4077
|
query?: PostLoyaltyEnrollQuery;
|
|
4052
4078
|
} & RequestOptions
|
|
4053
|
-
):
|
|
4079
|
+
): ResponsePromise<PostLoyaltyEnrollResponse> {
|
|
4054
4080
|
return this.request(
|
|
4055
4081
|
"loyalty",
|
|
4056
4082
|
"post_loyalty_enroll",
|
|
@@ -4072,7 +4098,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4072
4098
|
options: {
|
|
4073
4099
|
query: GetLoyaltyPointsQuery;
|
|
4074
4100
|
} & RequestOptions
|
|
4075
|
-
):
|
|
4101
|
+
): ResponsePromise<GetLoyaltyPointsResponse> {
|
|
4076
4102
|
return this.request(
|
|
4077
4103
|
"loyalty",
|
|
4078
4104
|
"get_loyalty_points",
|
|
@@ -4094,7 +4120,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4094
4120
|
id: string,
|
|
4095
4121
|
user_id: string,
|
|
4096
4122
|
options?: RequestOptions
|
|
4097
|
-
):
|
|
4123
|
+
): ResponsePromise<GetLoyaltyOffersResponse> {
|
|
4098
4124
|
return this.request(
|
|
4099
4125
|
"loyalty",
|
|
4100
4126
|
"get_loyalty_offers",
|
|
@@ -4116,7 +4142,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4116
4142
|
id: string,
|
|
4117
4143
|
user_id: string,
|
|
4118
4144
|
options?: RequestOptions
|
|
4119
|
-
):
|
|
4145
|
+
): ResponsePromise<GetLoyaltyEnrollmentstatusResponse> {
|
|
4120
4146
|
return this.request(
|
|
4121
4147
|
"loyalty",
|
|
4122
4148
|
"get_loyalty_enrollmentstatus",
|
|
@@ -4138,7 +4164,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4138
4164
|
id: string,
|
|
4139
4165
|
user_id: string,
|
|
4140
4166
|
options?: RequestOptions
|
|
4141
|
-
):
|
|
4167
|
+
): ResponsePromise<GetLoyaltyBalanceResponse> {
|
|
4142
4168
|
return this.request(
|
|
4143
4169
|
"loyalty",
|
|
4144
4170
|
"get_loyalty_balance",
|
|
@@ -4162,7 +4188,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4162
4188
|
options?: {
|
|
4163
4189
|
query?: GetLoyaltyOpportunitiesQuery;
|
|
4164
4190
|
} & RequestOptions
|
|
4165
|
-
):
|
|
4191
|
+
): ResponsePromise<GetLoyaltyOpportunitiesResponse> {
|
|
4166
4192
|
return this.request(
|
|
4167
4193
|
"loyalty",
|
|
4168
4194
|
"get_loyalty_opportunities",
|
|
@@ -4186,7 +4212,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4186
4212
|
options: {
|
|
4187
4213
|
query: PostLoyaltyOpportunitiesQuery;
|
|
4188
4214
|
} & RequestOptions
|
|
4189
|
-
):
|
|
4215
|
+
): ResponsePromise<PostLoyaltyOpportunitiesResponse> {
|
|
4190
4216
|
return this.request(
|
|
4191
4217
|
"loyalty",
|
|
4192
4218
|
"post_loyalty_opportunities",
|
|
@@ -4208,7 +4234,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4208
4234
|
id: string,
|
|
4209
4235
|
user_id: string,
|
|
4210
4236
|
options?: RequestOptions
|
|
4211
|
-
):
|
|
4237
|
+
): ResponsePromise<GetLoyaltyRewardsResponse> {
|
|
4212
4238
|
return this.request(
|
|
4213
4239
|
"loyalty",
|
|
4214
4240
|
"get_loyalty_rewards",
|
|
@@ -4230,7 +4256,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4230
4256
|
id: string,
|
|
4231
4257
|
user_id: string,
|
|
4232
4258
|
options?: RequestOptions
|
|
4233
|
-
):
|
|
4259
|
+
): ResponsePromise<GetLoyaltyCouponsResponse> {
|
|
4234
4260
|
return this.request(
|
|
4235
4261
|
"loyalty",
|
|
4236
4262
|
"get_loyalty_coupons",
|
|
@@ -4254,7 +4280,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4254
4280
|
options: {
|
|
4255
4281
|
query: GetLoyaltyOrderpointsQuery;
|
|
4256
4282
|
} & RequestOptions
|
|
4257
|
-
):
|
|
4283
|
+
): ResponsePromise<GetLoyaltyOrderpointsResponse> {
|
|
4258
4284
|
return this.request(
|
|
4259
4285
|
"loyalty",
|
|
4260
4286
|
"get_loyalty_orderpoints",
|
|
@@ -4278,7 +4304,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4278
4304
|
user_id: string,
|
|
4279
4305
|
body: PostLoyaltyOrderpointsBody,
|
|
4280
4306
|
options?: RequestOptions
|
|
4281
|
-
):
|
|
4307
|
+
): ResponsePromise<PostLoyaltyOrderpointsResponse> {
|
|
4282
4308
|
return this.request(
|
|
4283
4309
|
"loyalty",
|
|
4284
4310
|
"post_loyalty_orderpoints",
|
|
@@ -4304,7 +4330,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4304
4330
|
options?: {
|
|
4305
4331
|
query?: PostLoyaltyPurchaseQuery;
|
|
4306
4332
|
} & RequestOptions
|
|
4307
|
-
):
|
|
4333
|
+
): ResponsePromise<PostLoyaltyPurchaseResponse> {
|
|
4308
4334
|
return this.request(
|
|
4309
4335
|
"loyalty",
|
|
4310
4336
|
"post_loyalty_purchase",
|
|
@@ -4330,7 +4356,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4330
4356
|
options?: {
|
|
4331
4357
|
query?: PostLoyaltyBuyrewardQuery;
|
|
4332
4358
|
} & RequestOptions
|
|
4333
|
-
):
|
|
4359
|
+
): ResponsePromise<PostLoyaltyBuyrewardResponse> {
|
|
4334
4360
|
return this.request(
|
|
4335
4361
|
"loyalty",
|
|
4336
4362
|
"post_loyalty_buyreward",
|
|
@@ -4354,7 +4380,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4354
4380
|
options?: {
|
|
4355
4381
|
query?: GetLoyaltyHistoryQuery;
|
|
4356
4382
|
} & RequestOptions
|
|
4357
|
-
):
|
|
4383
|
+
): ResponsePromise<GetLoyaltyHistoryResponse> {
|
|
4358
4384
|
return this.request(
|
|
4359
4385
|
"loyalty",
|
|
4360
4386
|
"get_loyalty_history",
|
|
@@ -4378,7 +4404,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4378
4404
|
user_id: string,
|
|
4379
4405
|
coupon_id: string,
|
|
4380
4406
|
options?: RequestOptions
|
|
4381
|
-
):
|
|
4407
|
+
): ResponsePromise<GetLoyaltyCouponResponse> {
|
|
4382
4408
|
return this.request(
|
|
4383
4409
|
"loyalty",
|
|
4384
4410
|
"get_loyalty_coupon",
|
|
@@ -4404,7 +4430,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4404
4430
|
coupon_id: string,
|
|
4405
4431
|
body: PatchLoyaltyCouponBody,
|
|
4406
4432
|
options?: RequestOptions
|
|
4407
|
-
):
|
|
4433
|
+
): ResponsePromise<PatchLoyaltyCouponResponse> {
|
|
4408
4434
|
return this.request(
|
|
4409
4435
|
"loyalty",
|
|
4410
4436
|
"patch_loyalty_coupon",
|
|
@@ -4426,7 +4452,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4426
4452
|
options: {
|
|
4427
4453
|
query: GetLoyaltySearchQuery;
|
|
4428
4454
|
} & RequestOptions
|
|
4429
|
-
):
|
|
4455
|
+
): ResponsePromise<GetLoyaltySearchResponse> {
|
|
4430
4456
|
return this.request(
|
|
4431
4457
|
"loyalty",
|
|
4432
4458
|
"get_loyalty_search",
|
|
@@ -4448,7 +4474,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4448
4474
|
options: {
|
|
4449
4475
|
query: GetLoyaltyUsersQuery;
|
|
4450
4476
|
} & RequestOptions
|
|
4451
|
-
):
|
|
4477
|
+
): ResponsePromise<GetLoyaltyUsersResponse> {
|
|
4452
4478
|
return this.request(
|
|
4453
4479
|
"loyalty",
|
|
4454
4480
|
"get_loyalty_users",
|
|
@@ -4470,7 +4496,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4470
4496
|
options: {
|
|
4471
4497
|
query: GetLoyaltyEventsQuery;
|
|
4472
4498
|
} & RequestOptions
|
|
4473
|
-
):
|
|
4499
|
+
): ResponsePromise<GetLoyaltyEventsResponse> {
|
|
4474
4500
|
return this.request(
|
|
4475
4501
|
"loyalty",
|
|
4476
4502
|
"get_loyalty_events",
|
|
@@ -4487,7 +4513,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4487
4513
|
* @param id - TODO: add parameter to swagger.json
|
|
4488
4514
|
* @param options - additional request options
|
|
4489
4515
|
*/
|
|
4490
|
-
get_brand(id: string, options?: RequestOptions):
|
|
4516
|
+
get_brand(id: string, options?: RequestOptions): ResponsePromise<GetBrandResponse> {
|
|
4491
4517
|
return this.request("brand", "get_brand", "get", `/brand/${id}`, null, options);
|
|
4492
4518
|
}
|
|
4493
4519
|
|
|
@@ -4496,7 +4522,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4496
4522
|
*
|
|
4497
4523
|
* @param options - additional request options
|
|
4498
4524
|
*/
|
|
4499
|
-
get_brands(options?: RequestOptions):
|
|
4525
|
+
get_brands(options?: RequestOptions): ResponsePromise<GetBrandsResponse> {
|
|
4500
4526
|
return this.request("brand", "get_brands", "get", `/brand`, null, options);
|
|
4501
4527
|
}
|
|
4502
4528
|
|
|
@@ -4506,7 +4532,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4506
4532
|
* @param id - brand
|
|
4507
4533
|
* @param options - additional request options
|
|
4508
4534
|
*/
|
|
4509
|
-
get_calendar(id: string, options?: RequestOptions):
|
|
4535
|
+
get_calendar(id: string, options?: RequestOptions): ResponsePromise<GetCalendarResponse> {
|
|
4510
4536
|
return this.request("calendar", "get_calendar", "get", `/calendar/${id}`, null, options);
|
|
4511
4537
|
}
|
|
4512
4538
|
|
|
@@ -4521,7 +4547,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4521
4547
|
id: string,
|
|
4522
4548
|
body: PutCalendarBody,
|
|
4523
4549
|
options?: RequestOptions
|
|
4524
|
-
):
|
|
4550
|
+
): ResponsePromise<PutCalendarResponse> {
|
|
4525
4551
|
return this.request("calendar", "put_calendar", "put", `/calendar/${id}`, body, options);
|
|
4526
4552
|
}
|
|
4527
4553
|
|
|
@@ -4536,7 +4562,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4536
4562
|
options?: {
|
|
4537
4563
|
query?: GetCalendarCdlQuery;
|
|
4538
4564
|
} & RequestOptions
|
|
4539
|
-
):
|
|
4565
|
+
): ResponsePromise<GetCalendarCdlResponse> {
|
|
4540
4566
|
return this.request(
|
|
4541
4567
|
"calendar",
|
|
4542
4568
|
"get_calendar_cdl",
|
|
@@ -4552,7 +4578,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4552
4578
|
*
|
|
4553
4579
|
* @param options - additional request options
|
|
4554
4580
|
*/
|
|
4555
|
-
get_calendar_swagger(options?: RequestOptions):
|
|
4581
|
+
get_calendar_swagger(options?: RequestOptions): ResponsePromise<GetCalendarSwaggerResponse> {
|
|
4556
4582
|
return this.request(
|
|
4557
4583
|
"calendar",
|
|
4558
4584
|
"get_calendar_swagger",
|
|
@@ -4569,7 +4595,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4569
4595
|
* @param id - brand
|
|
4570
4596
|
* @param options - additional request options
|
|
4571
4597
|
*/
|
|
4572
|
-
post_calendar_sync(
|
|
4598
|
+
post_calendar_sync(
|
|
4599
|
+
id: string,
|
|
4600
|
+
options?: RequestOptions
|
|
4601
|
+
): ResponsePromise<PostCalendarSyncResponse> {
|
|
4573
4602
|
return this.request(
|
|
4574
4603
|
"calendar",
|
|
4575
4604
|
"post_calendar_sync",
|
|
@@ -4589,7 +4618,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4589
4618
|
post_delivery_order(
|
|
4590
4619
|
body: PostDeliveryOrderBody,
|
|
4591
4620
|
options?: RequestOptions
|
|
4592
|
-
):
|
|
4621
|
+
): ResponsePromise<PostDeliveryOrderResponse> {
|
|
4593
4622
|
return this.request(
|
|
4594
4623
|
"delivery",
|
|
4595
4624
|
"post_delivery_order",
|
|
@@ -4609,7 +4638,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4609
4638
|
patch_delivery_order(
|
|
4610
4639
|
order_id: string,
|
|
4611
4640
|
options?: RequestOptions
|
|
4612
|
-
):
|
|
4641
|
+
): ResponsePromise<PatchDeliveryOrderResponse> {
|
|
4613
4642
|
return this.request(
|
|
4614
4643
|
"delivery",
|
|
4615
4644
|
"patch_delivery_order",
|
|
@@ -4629,7 +4658,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4629
4658
|
get_delivery_order(
|
|
4630
4659
|
order_id: string,
|
|
4631
4660
|
options?: RequestOptions
|
|
4632
|
-
):
|
|
4661
|
+
): ResponsePromise<GetDeliveryOrderResponse> {
|
|
4633
4662
|
return this.request(
|
|
4634
4663
|
"delivery",
|
|
4635
4664
|
"get_delivery_order",
|
|
@@ -4646,7 +4675,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4646
4675
|
* @param body
|
|
4647
4676
|
* @param options - additional request options
|
|
4648
4677
|
*/
|
|
4649
|
-
post_schedule(
|
|
4678
|
+
post_schedule(
|
|
4679
|
+
body: PostScheduleBody,
|
|
4680
|
+
options?: RequestOptions
|
|
4681
|
+
): ResponsePromise<PostScheduleResponse> {
|
|
4650
4682
|
return this.request("schedule", "post_schedule", "post", `/schedule`, body, options);
|
|
4651
4683
|
}
|
|
4652
4684
|
|
|
@@ -4659,7 +4691,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4659
4691
|
options: {
|
|
4660
4692
|
query: GetSchedulesQuery;
|
|
4661
4693
|
} & RequestOptions
|
|
4662
|
-
):
|
|
4694
|
+
): ResponsePromise<GetSchedulesResponse> {
|
|
4663
4695
|
return this.request("schedule", "get_schedules", "get", `/schedule`, null, options);
|
|
4664
4696
|
}
|
|
4665
4697
|
|
|
@@ -4669,7 +4701,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4669
4701
|
* @param id - schedule id
|
|
4670
4702
|
* @param options - additional request options
|
|
4671
4703
|
*/
|
|
4672
|
-
get_schedule(id: string, options?: RequestOptions):
|
|
4704
|
+
get_schedule(id: string, options?: RequestOptions): ResponsePromise<GetScheduleResponse> {
|
|
4673
4705
|
return this.request("schedule", "get_schedule", "get", `/schedule/${id}`, null, options);
|
|
4674
4706
|
}
|
|
4675
4707
|
|
|
@@ -4684,7 +4716,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4684
4716
|
id: string,
|
|
4685
4717
|
body: PutScheduleBody,
|
|
4686
4718
|
options?: RequestOptions
|
|
4687
|
-
):
|
|
4719
|
+
): ResponsePromise<PutScheduleResponse> {
|
|
4688
4720
|
return this.request("schedule", "put_schedule", "put", `/schedule/${id}`, body, options);
|
|
4689
4721
|
}
|
|
4690
4722
|
|
|
@@ -4694,7 +4726,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4694
4726
|
* @param id - Id of a schedule
|
|
4695
4727
|
* @param options - additional request options
|
|
4696
4728
|
*/
|
|
4697
|
-
delete_schedule(id: string, options?: RequestOptions):
|
|
4729
|
+
delete_schedule(id: string, options?: RequestOptions): ResponsePromise<DeleteScheduleResponse> {
|
|
4698
4730
|
return this.request("schedule", "delete_schedule", "delete", `/schedule/${id}`, null, options);
|
|
4699
4731
|
}
|
|
4700
4732
|
|
|
@@ -4704,7 +4736,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4704
4736
|
* @param body
|
|
4705
4737
|
* @param options - additional request options
|
|
4706
4738
|
*/
|
|
4707
|
-
post_vote(body: PostVoteBody, options?: RequestOptions):
|
|
4739
|
+
post_vote(body: PostVoteBody, options?: RequestOptions): ResponsePromise<PostVoteResponse> {
|
|
4708
4740
|
return this.request("vote", "post_vote", "post", `/vote`, body, options);
|
|
4709
4741
|
}
|
|
4710
4742
|
|
|
@@ -4719,7 +4751,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4719
4751
|
options?: {
|
|
4720
4752
|
query?: GetVoteIdfaQuery;
|
|
4721
4753
|
} & RequestOptions
|
|
4722
|
-
):
|
|
4754
|
+
): ResponsePromise<GetVoteIdfaResponse> {
|
|
4723
4755
|
return this.request("vote", "get_vote_idfa", "get", `/vote/idfa/${idfa}`, null, options);
|
|
4724
4756
|
}
|
|
4725
4757
|
|
|
@@ -4729,7 +4761,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4729
4761
|
* @param body
|
|
4730
4762
|
* @param options - additional request options
|
|
4731
4763
|
*/
|
|
4732
|
-
post_file(body: PostFileBody, options?: RequestOptions):
|
|
4764
|
+
post_file(body: PostFileBody, options?: RequestOptions): ResponsePromise<PostFileResponse> {
|
|
4733
4765
|
return this.request("file", "post_file", "post", `/file`, body, options);
|
|
4734
4766
|
}
|
|
4735
4767
|
|
|
@@ -4739,7 +4771,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4739
4771
|
* @param body - Message object that needs to be created
|
|
4740
4772
|
* @param options - additional request options
|
|
4741
4773
|
*/
|
|
4742
|
-
post_message(
|
|
4774
|
+
post_message(
|
|
4775
|
+
body: PostMessageBody,
|
|
4776
|
+
options?: RequestOptions
|
|
4777
|
+
): ResponsePromise<PostMessageResponse> {
|
|
4743
4778
|
return this.request("message", "post_message", "post", `/message`, body, options);
|
|
4744
4779
|
}
|
|
4745
4780
|
|
|
@@ -4749,7 +4784,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4749
4784
|
* @param id - Message CDL encoded id
|
|
4750
4785
|
* @param options - additional request options
|
|
4751
4786
|
*/
|
|
4752
|
-
get_message(id: string, options?: RequestOptions):
|
|
4787
|
+
get_message(id: string, options?: RequestOptions): ResponsePromise<GetMessageResponse> {
|
|
4753
4788
|
return this.request("message", "get_message", "get", `/message/${id}`, null, options);
|
|
4754
4789
|
}
|
|
4755
4790
|
|
|
@@ -4764,7 +4799,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4764
4799
|
options?: {
|
|
4765
4800
|
query?: GetLoggerBrandStatusQuery;
|
|
4766
4801
|
} & RequestOptions
|
|
4767
|
-
):
|
|
4802
|
+
): ResponsePromise<GetLoggerBrandStatusResponse> {
|
|
4768
4803
|
return this.request(
|
|
4769
4804
|
"logger",
|
|
4770
4805
|
"get_logger_brand_status",
|