@ondewo/nlu-client-typescript 4.7.0 → 4.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +61 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +308 -1
- package/api/ondewo/nlu/agent_pb.d.ts +222 -1
- package/api/ondewo/nlu/agent_pb.js +1814 -30
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +79 -0
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +388 -0
- package/api/ondewo/nlu/ccai_project_pb.d.ts +582 -0
- package/api/ondewo/nlu/ccai_project_pb.js +4137 -0
- package/api/ondewo/nlu/common_pb.d.ts +456 -0
- package/api/ondewo/nlu/common_pb.js +3523 -4
- package/api/ondewo/nlu/context_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/context_pb.d.ts +41 -0
- package/api/ondewo/nlu/context_pb.js +328 -2
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/entity_type_pb.d.ts +41 -0
- package/api/ondewo/nlu/entity_type_pb.js +328 -2
- package/api/ondewo/nlu/intent_pb.d.ts +120 -0
- package/api/ondewo/nlu/intent_pb.js +1058 -86
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +21 -0
- package/api/ondewo/nlu/operation_metadata_pb.js +165 -2
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +3 -1
- package/api/ondewo/nlu/project_role_pb.d.ts +22 -1
- package/api/ondewo/nlu/project_role_pb.js +167 -3
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +109 -0
- package/api/ondewo/nlu/session_grpc_web_pb.js +551 -0
- package/api/ondewo/nlu/session_pb.d.ts +624 -0
- package/api/ondewo/nlu/session_pb.js +10278 -5168
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +85 -0
- package/api/ondewo/nlu/user_grpc_web_pb.js +431 -0
- package/api/ondewo/nlu/user_pb.d.ts +284 -0
- package/api/ondewo/nlu/user_pb.js +3418 -1024
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +37 -0
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +191 -2
- package/api/ondewo/nlu/webhook_pb.d.ts +188 -5
- package/api/ondewo/nlu/webhook_pb.js +1530 -34
- package/package.json +1 -1
- package/public-api.d.ts +27 -25
|
@@ -2,6 +2,7 @@ import * as grpcWeb from 'grpc-web';
|
|
|
2
2
|
|
|
3
3
|
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
4
4
|
import * as ondewo_nlu_user_pb from '../../ondewo/nlu/user_pb';
|
|
5
|
+
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
export class UsersClient {
|
|
@@ -114,6 +115,55 @@ export class UsersClient {
|
|
|
114
115
|
response: google_protobuf_empty_pb.Empty) => void
|
|
115
116
|
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
|
116
117
|
|
|
118
|
+
listNotifications(
|
|
119
|
+
request: ondewo_nlu_common_pb.ListNotificationsRequest,
|
|
120
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
121
|
+
callback: (err: grpcWeb.RpcError,
|
|
122
|
+
response: ondewo_nlu_common_pb.ListNotificationsResponse) => void
|
|
123
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.ListNotificationsResponse>;
|
|
124
|
+
|
|
125
|
+
setNotificationsFlaggedStatus(
|
|
126
|
+
request: ondewo_nlu_common_pb.SetNotificationsFlaggedStatusRequest,
|
|
127
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
128
|
+
callback: (err: grpcWeb.RpcError,
|
|
129
|
+
response: ondewo_nlu_common_pb.ListNotificationsResponse) => void
|
|
130
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.ListNotificationsResponse>;
|
|
131
|
+
|
|
132
|
+
setNotificationsReadStatus(
|
|
133
|
+
request: ondewo_nlu_common_pb.SetNotificationsReadStatusRequest,
|
|
134
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
135
|
+
callback: (err: grpcWeb.RpcError,
|
|
136
|
+
response: ondewo_nlu_common_pb.ListNotificationsResponse) => void
|
|
137
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.ListNotificationsResponse>;
|
|
138
|
+
|
|
139
|
+
getUserPreferences(
|
|
140
|
+
request: ondewo_nlu_user_pb.GetUserPreferencesRequest,
|
|
141
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
142
|
+
callback: (err: grpcWeb.RpcError,
|
|
143
|
+
response: ondewo_nlu_user_pb.GetUserPreferencesResponse) => void
|
|
144
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_user_pb.GetUserPreferencesResponse>;
|
|
145
|
+
|
|
146
|
+
setUserPreferences(
|
|
147
|
+
request: ondewo_nlu_user_pb.SetUserPreferencesRequest,
|
|
148
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
149
|
+
callback: (err: grpcWeb.RpcError,
|
|
150
|
+
response: ondewo_nlu_user_pb.SetUserPreferencesResponse) => void
|
|
151
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_user_pb.SetUserPreferencesResponse>;
|
|
152
|
+
|
|
153
|
+
deleteUserPreferences(
|
|
154
|
+
request: ondewo_nlu_user_pb.DeleteUserPreferencesRequest,
|
|
155
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
156
|
+
callback: (err: grpcWeb.RpcError,
|
|
157
|
+
response: ondewo_nlu_user_pb.DeleteUserPreferencesResponse) => void
|
|
158
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_user_pb.DeleteUserPreferencesResponse>;
|
|
159
|
+
|
|
160
|
+
deleteAllUserPreferences(
|
|
161
|
+
request: ondewo_nlu_user_pb.DeleteAllUserPreferencesRequest,
|
|
162
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
163
|
+
callback: (err: grpcWeb.RpcError,
|
|
164
|
+
response: ondewo_nlu_user_pb.DeleteUserPreferencesResponse) => void
|
|
165
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_user_pb.DeleteUserPreferencesResponse>;
|
|
166
|
+
|
|
117
167
|
}
|
|
118
168
|
|
|
119
169
|
export class UsersPromiseClient {
|
|
@@ -196,5 +246,40 @@ export class UsersPromiseClient {
|
|
|
196
246
|
metadata?: grpcWeb.Metadata
|
|
197
247
|
): Promise<google_protobuf_empty_pb.Empty>;
|
|
198
248
|
|
|
249
|
+
listNotifications(
|
|
250
|
+
request: ondewo_nlu_common_pb.ListNotificationsRequest,
|
|
251
|
+
metadata?: grpcWeb.Metadata
|
|
252
|
+
): Promise<ondewo_nlu_common_pb.ListNotificationsResponse>;
|
|
253
|
+
|
|
254
|
+
setNotificationsFlaggedStatus(
|
|
255
|
+
request: ondewo_nlu_common_pb.SetNotificationsFlaggedStatusRequest,
|
|
256
|
+
metadata?: grpcWeb.Metadata
|
|
257
|
+
): Promise<ondewo_nlu_common_pb.ListNotificationsResponse>;
|
|
258
|
+
|
|
259
|
+
setNotificationsReadStatus(
|
|
260
|
+
request: ondewo_nlu_common_pb.SetNotificationsReadStatusRequest,
|
|
261
|
+
metadata?: grpcWeb.Metadata
|
|
262
|
+
): Promise<ondewo_nlu_common_pb.ListNotificationsResponse>;
|
|
263
|
+
|
|
264
|
+
getUserPreferences(
|
|
265
|
+
request: ondewo_nlu_user_pb.GetUserPreferencesRequest,
|
|
266
|
+
metadata?: grpcWeb.Metadata
|
|
267
|
+
): Promise<ondewo_nlu_user_pb.GetUserPreferencesResponse>;
|
|
268
|
+
|
|
269
|
+
setUserPreferences(
|
|
270
|
+
request: ondewo_nlu_user_pb.SetUserPreferencesRequest,
|
|
271
|
+
metadata?: grpcWeb.Metadata
|
|
272
|
+
): Promise<ondewo_nlu_user_pb.SetUserPreferencesResponse>;
|
|
273
|
+
|
|
274
|
+
deleteUserPreferences(
|
|
275
|
+
request: ondewo_nlu_user_pb.DeleteUserPreferencesRequest,
|
|
276
|
+
metadata?: grpcWeb.Metadata
|
|
277
|
+
): Promise<ondewo_nlu_user_pb.DeleteUserPreferencesResponse>;
|
|
278
|
+
|
|
279
|
+
deleteAllUserPreferences(
|
|
280
|
+
request: ondewo_nlu_user_pb.DeleteAllUserPreferencesRequest,
|
|
281
|
+
metadata?: grpcWeb.Metadata
|
|
282
|
+
): Promise<ondewo_nlu_user_pb.DeleteUserPreferencesResponse>;
|
|
283
|
+
|
|
199
284
|
}
|
|
200
285
|
|
|
@@ -22,7 +22,11 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
|
|
|
22
22
|
|
|
23
23
|
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
|
|
24
24
|
|
|
25
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
|
|
26
|
+
|
|
25
27
|
var ondewo_nlu_project_role_pb = require('../../ondewo/nlu/project_role_pb.js')
|
|
28
|
+
|
|
29
|
+
var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js')
|
|
26
30
|
const proto = {};
|
|
27
31
|
proto.ondewo = {};
|
|
28
32
|
proto.ondewo.nlu = require('./user_pb.js');
|
|
@@ -994,5 +998,432 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.checkLogin =
|
|
|
994
998
|
};
|
|
995
999
|
|
|
996
1000
|
|
|
1001
|
+
/**
|
|
1002
|
+
* @const
|
|
1003
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1004
|
+
* !proto.ondewo.nlu.ListNotificationsRequest,
|
|
1005
|
+
* !proto.ondewo.nlu.ListNotificationsResponse>}
|
|
1006
|
+
*/
|
|
1007
|
+
const methodDescriptor_Users_ListNotifications = new grpc.web.MethodDescriptor(
|
|
1008
|
+
'/ondewo.nlu.Users/ListNotifications',
|
|
1009
|
+
grpc.web.MethodType.UNARY,
|
|
1010
|
+
ondewo_nlu_common_pb.ListNotificationsRequest,
|
|
1011
|
+
ondewo_nlu_common_pb.ListNotificationsResponse,
|
|
1012
|
+
/**
|
|
1013
|
+
* @param {!proto.ondewo.nlu.ListNotificationsRequest} request
|
|
1014
|
+
* @return {!Uint8Array}
|
|
1015
|
+
*/
|
|
1016
|
+
function(request) {
|
|
1017
|
+
return request.serializeBinary();
|
|
1018
|
+
},
|
|
1019
|
+
ondewo_nlu_common_pb.ListNotificationsResponse.deserializeBinary
|
|
1020
|
+
);
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
* @param {!proto.ondewo.nlu.ListNotificationsRequest} request The
|
|
1025
|
+
* request proto
|
|
1026
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1027
|
+
* call metadata
|
|
1028
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListNotificationsResponse)}
|
|
1029
|
+
* callback The callback function(error, response)
|
|
1030
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListNotificationsResponse>|undefined}
|
|
1031
|
+
* The XHR Node Readable Stream
|
|
1032
|
+
*/
|
|
1033
|
+
proto.ondewo.nlu.UsersClient.prototype.listNotifications =
|
|
1034
|
+
function(request, metadata, callback) {
|
|
1035
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1036
|
+
'/ondewo.nlu.Users/ListNotifications',
|
|
1037
|
+
request,
|
|
1038
|
+
metadata || {},
|
|
1039
|
+
methodDescriptor_Users_ListNotifications,
|
|
1040
|
+
callback);
|
|
1041
|
+
};
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* @param {!proto.ondewo.nlu.ListNotificationsRequest} request The
|
|
1046
|
+
* request proto
|
|
1047
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1048
|
+
* call metadata
|
|
1049
|
+
* @return {!Promise<!proto.ondewo.nlu.ListNotificationsResponse>}
|
|
1050
|
+
* Promise that resolves to the response
|
|
1051
|
+
*/
|
|
1052
|
+
proto.ondewo.nlu.UsersPromiseClient.prototype.listNotifications =
|
|
1053
|
+
function(request, metadata) {
|
|
1054
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1055
|
+
'/ondewo.nlu.Users/ListNotifications',
|
|
1056
|
+
request,
|
|
1057
|
+
metadata || {},
|
|
1058
|
+
methodDescriptor_Users_ListNotifications);
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* @const
|
|
1064
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1065
|
+
* !proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest,
|
|
1066
|
+
* !proto.ondewo.nlu.ListNotificationsResponse>}
|
|
1067
|
+
*/
|
|
1068
|
+
const methodDescriptor_Users_SetNotificationsFlaggedStatus = new grpc.web.MethodDescriptor(
|
|
1069
|
+
'/ondewo.nlu.Users/SetNotificationsFlaggedStatus',
|
|
1070
|
+
grpc.web.MethodType.UNARY,
|
|
1071
|
+
ondewo_nlu_common_pb.SetNotificationsFlaggedStatusRequest,
|
|
1072
|
+
ondewo_nlu_common_pb.ListNotificationsResponse,
|
|
1073
|
+
/**
|
|
1074
|
+
* @param {!proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest} request
|
|
1075
|
+
* @return {!Uint8Array}
|
|
1076
|
+
*/
|
|
1077
|
+
function(request) {
|
|
1078
|
+
return request.serializeBinary();
|
|
1079
|
+
},
|
|
1080
|
+
ondewo_nlu_common_pb.ListNotificationsResponse.deserializeBinary
|
|
1081
|
+
);
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* @param {!proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest} request The
|
|
1086
|
+
* request proto
|
|
1087
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1088
|
+
* call metadata
|
|
1089
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListNotificationsResponse)}
|
|
1090
|
+
* callback The callback function(error, response)
|
|
1091
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListNotificationsResponse>|undefined}
|
|
1092
|
+
* The XHR Node Readable Stream
|
|
1093
|
+
*/
|
|
1094
|
+
proto.ondewo.nlu.UsersClient.prototype.setNotificationsFlaggedStatus =
|
|
1095
|
+
function(request, metadata, callback) {
|
|
1096
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1097
|
+
'/ondewo.nlu.Users/SetNotificationsFlaggedStatus',
|
|
1098
|
+
request,
|
|
1099
|
+
metadata || {},
|
|
1100
|
+
methodDescriptor_Users_SetNotificationsFlaggedStatus,
|
|
1101
|
+
callback);
|
|
1102
|
+
};
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
/**
|
|
1106
|
+
* @param {!proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest} request The
|
|
1107
|
+
* request proto
|
|
1108
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1109
|
+
* call metadata
|
|
1110
|
+
* @return {!Promise<!proto.ondewo.nlu.ListNotificationsResponse>}
|
|
1111
|
+
* Promise that resolves to the response
|
|
1112
|
+
*/
|
|
1113
|
+
proto.ondewo.nlu.UsersPromiseClient.prototype.setNotificationsFlaggedStatus =
|
|
1114
|
+
function(request, metadata) {
|
|
1115
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1116
|
+
'/ondewo.nlu.Users/SetNotificationsFlaggedStatus',
|
|
1117
|
+
request,
|
|
1118
|
+
metadata || {},
|
|
1119
|
+
methodDescriptor_Users_SetNotificationsFlaggedStatus);
|
|
1120
|
+
};
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
* @const
|
|
1125
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1126
|
+
* !proto.ondewo.nlu.SetNotificationsReadStatusRequest,
|
|
1127
|
+
* !proto.ondewo.nlu.ListNotificationsResponse>}
|
|
1128
|
+
*/
|
|
1129
|
+
const methodDescriptor_Users_SetNotificationsReadStatus = new grpc.web.MethodDescriptor(
|
|
1130
|
+
'/ondewo.nlu.Users/SetNotificationsReadStatus',
|
|
1131
|
+
grpc.web.MethodType.UNARY,
|
|
1132
|
+
ondewo_nlu_common_pb.SetNotificationsReadStatusRequest,
|
|
1133
|
+
ondewo_nlu_common_pb.ListNotificationsResponse,
|
|
1134
|
+
/**
|
|
1135
|
+
* @param {!proto.ondewo.nlu.SetNotificationsReadStatusRequest} request
|
|
1136
|
+
* @return {!Uint8Array}
|
|
1137
|
+
*/
|
|
1138
|
+
function(request) {
|
|
1139
|
+
return request.serializeBinary();
|
|
1140
|
+
},
|
|
1141
|
+
ondewo_nlu_common_pb.ListNotificationsResponse.deserializeBinary
|
|
1142
|
+
);
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* @param {!proto.ondewo.nlu.SetNotificationsReadStatusRequest} request The
|
|
1147
|
+
* request proto
|
|
1148
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1149
|
+
* call metadata
|
|
1150
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListNotificationsResponse)}
|
|
1151
|
+
* callback The callback function(error, response)
|
|
1152
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListNotificationsResponse>|undefined}
|
|
1153
|
+
* The XHR Node Readable Stream
|
|
1154
|
+
*/
|
|
1155
|
+
proto.ondewo.nlu.UsersClient.prototype.setNotificationsReadStatus =
|
|
1156
|
+
function(request, metadata, callback) {
|
|
1157
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1158
|
+
'/ondewo.nlu.Users/SetNotificationsReadStatus',
|
|
1159
|
+
request,
|
|
1160
|
+
metadata || {},
|
|
1161
|
+
methodDescriptor_Users_SetNotificationsReadStatus,
|
|
1162
|
+
callback);
|
|
1163
|
+
};
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
/**
|
|
1167
|
+
* @param {!proto.ondewo.nlu.SetNotificationsReadStatusRequest} request The
|
|
1168
|
+
* request proto
|
|
1169
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1170
|
+
* call metadata
|
|
1171
|
+
* @return {!Promise<!proto.ondewo.nlu.ListNotificationsResponse>}
|
|
1172
|
+
* Promise that resolves to the response
|
|
1173
|
+
*/
|
|
1174
|
+
proto.ondewo.nlu.UsersPromiseClient.prototype.setNotificationsReadStatus =
|
|
1175
|
+
function(request, metadata) {
|
|
1176
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1177
|
+
'/ondewo.nlu.Users/SetNotificationsReadStatus',
|
|
1178
|
+
request,
|
|
1179
|
+
metadata || {},
|
|
1180
|
+
methodDescriptor_Users_SetNotificationsReadStatus);
|
|
1181
|
+
};
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* @const
|
|
1186
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1187
|
+
* !proto.ondewo.nlu.GetUserPreferencesRequest,
|
|
1188
|
+
* !proto.ondewo.nlu.GetUserPreferencesResponse>}
|
|
1189
|
+
*/
|
|
1190
|
+
const methodDescriptor_Users_GetUserPreferences = new grpc.web.MethodDescriptor(
|
|
1191
|
+
'/ondewo.nlu.Users/GetUserPreferences',
|
|
1192
|
+
grpc.web.MethodType.UNARY,
|
|
1193
|
+
proto.ondewo.nlu.GetUserPreferencesRequest,
|
|
1194
|
+
proto.ondewo.nlu.GetUserPreferencesResponse,
|
|
1195
|
+
/**
|
|
1196
|
+
* @param {!proto.ondewo.nlu.GetUserPreferencesRequest} request
|
|
1197
|
+
* @return {!Uint8Array}
|
|
1198
|
+
*/
|
|
1199
|
+
function(request) {
|
|
1200
|
+
return request.serializeBinary();
|
|
1201
|
+
},
|
|
1202
|
+
proto.ondewo.nlu.GetUserPreferencesResponse.deserializeBinary
|
|
1203
|
+
);
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* @param {!proto.ondewo.nlu.GetUserPreferencesRequest} request The
|
|
1208
|
+
* request proto
|
|
1209
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1210
|
+
* call metadata
|
|
1211
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.GetUserPreferencesResponse)}
|
|
1212
|
+
* callback The callback function(error, response)
|
|
1213
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GetUserPreferencesResponse>|undefined}
|
|
1214
|
+
* The XHR Node Readable Stream
|
|
1215
|
+
*/
|
|
1216
|
+
proto.ondewo.nlu.UsersClient.prototype.getUserPreferences =
|
|
1217
|
+
function(request, metadata, callback) {
|
|
1218
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1219
|
+
'/ondewo.nlu.Users/GetUserPreferences',
|
|
1220
|
+
request,
|
|
1221
|
+
metadata || {},
|
|
1222
|
+
methodDescriptor_Users_GetUserPreferences,
|
|
1223
|
+
callback);
|
|
1224
|
+
};
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
/**
|
|
1228
|
+
* @param {!proto.ondewo.nlu.GetUserPreferencesRequest} request The
|
|
1229
|
+
* request proto
|
|
1230
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1231
|
+
* call metadata
|
|
1232
|
+
* @return {!Promise<!proto.ondewo.nlu.GetUserPreferencesResponse>}
|
|
1233
|
+
* Promise that resolves to the response
|
|
1234
|
+
*/
|
|
1235
|
+
proto.ondewo.nlu.UsersPromiseClient.prototype.getUserPreferences =
|
|
1236
|
+
function(request, metadata) {
|
|
1237
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1238
|
+
'/ondewo.nlu.Users/GetUserPreferences',
|
|
1239
|
+
request,
|
|
1240
|
+
metadata || {},
|
|
1241
|
+
methodDescriptor_Users_GetUserPreferences);
|
|
1242
|
+
};
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* @const
|
|
1247
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1248
|
+
* !proto.ondewo.nlu.SetUserPreferencesRequest,
|
|
1249
|
+
* !proto.ondewo.nlu.SetUserPreferencesResponse>}
|
|
1250
|
+
*/
|
|
1251
|
+
const methodDescriptor_Users_SetUserPreferences = new grpc.web.MethodDescriptor(
|
|
1252
|
+
'/ondewo.nlu.Users/SetUserPreferences',
|
|
1253
|
+
grpc.web.MethodType.UNARY,
|
|
1254
|
+
proto.ondewo.nlu.SetUserPreferencesRequest,
|
|
1255
|
+
proto.ondewo.nlu.SetUserPreferencesResponse,
|
|
1256
|
+
/**
|
|
1257
|
+
* @param {!proto.ondewo.nlu.SetUserPreferencesRequest} request
|
|
1258
|
+
* @return {!Uint8Array}
|
|
1259
|
+
*/
|
|
1260
|
+
function(request) {
|
|
1261
|
+
return request.serializeBinary();
|
|
1262
|
+
},
|
|
1263
|
+
proto.ondewo.nlu.SetUserPreferencesResponse.deserializeBinary
|
|
1264
|
+
);
|
|
1265
|
+
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* @param {!proto.ondewo.nlu.SetUserPreferencesRequest} request The
|
|
1269
|
+
* request proto
|
|
1270
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1271
|
+
* call metadata
|
|
1272
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.SetUserPreferencesResponse)}
|
|
1273
|
+
* callback The callback function(error, response)
|
|
1274
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.SetUserPreferencesResponse>|undefined}
|
|
1275
|
+
* The XHR Node Readable Stream
|
|
1276
|
+
*/
|
|
1277
|
+
proto.ondewo.nlu.UsersClient.prototype.setUserPreferences =
|
|
1278
|
+
function(request, metadata, callback) {
|
|
1279
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1280
|
+
'/ondewo.nlu.Users/SetUserPreferences',
|
|
1281
|
+
request,
|
|
1282
|
+
metadata || {},
|
|
1283
|
+
methodDescriptor_Users_SetUserPreferences,
|
|
1284
|
+
callback);
|
|
1285
|
+
};
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* @param {!proto.ondewo.nlu.SetUserPreferencesRequest} request The
|
|
1290
|
+
* request proto
|
|
1291
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1292
|
+
* call metadata
|
|
1293
|
+
* @return {!Promise<!proto.ondewo.nlu.SetUserPreferencesResponse>}
|
|
1294
|
+
* Promise that resolves to the response
|
|
1295
|
+
*/
|
|
1296
|
+
proto.ondewo.nlu.UsersPromiseClient.prototype.setUserPreferences =
|
|
1297
|
+
function(request, metadata) {
|
|
1298
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1299
|
+
'/ondewo.nlu.Users/SetUserPreferences',
|
|
1300
|
+
request,
|
|
1301
|
+
metadata || {},
|
|
1302
|
+
methodDescriptor_Users_SetUserPreferences);
|
|
1303
|
+
};
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* @const
|
|
1308
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1309
|
+
* !proto.ondewo.nlu.DeleteUserPreferencesRequest,
|
|
1310
|
+
* !proto.ondewo.nlu.DeleteUserPreferencesResponse>}
|
|
1311
|
+
*/
|
|
1312
|
+
const methodDescriptor_Users_DeleteUserPreferences = new grpc.web.MethodDescriptor(
|
|
1313
|
+
'/ondewo.nlu.Users/DeleteUserPreferences',
|
|
1314
|
+
grpc.web.MethodType.UNARY,
|
|
1315
|
+
proto.ondewo.nlu.DeleteUserPreferencesRequest,
|
|
1316
|
+
proto.ondewo.nlu.DeleteUserPreferencesResponse,
|
|
1317
|
+
/**
|
|
1318
|
+
* @param {!proto.ondewo.nlu.DeleteUserPreferencesRequest} request
|
|
1319
|
+
* @return {!Uint8Array}
|
|
1320
|
+
*/
|
|
1321
|
+
function(request) {
|
|
1322
|
+
return request.serializeBinary();
|
|
1323
|
+
},
|
|
1324
|
+
proto.ondewo.nlu.DeleteUserPreferencesResponse.deserializeBinary
|
|
1325
|
+
);
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* @param {!proto.ondewo.nlu.DeleteUserPreferencesRequest} request The
|
|
1330
|
+
* request proto
|
|
1331
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1332
|
+
* call metadata
|
|
1333
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.DeleteUserPreferencesResponse)}
|
|
1334
|
+
* callback The callback function(error, response)
|
|
1335
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.DeleteUserPreferencesResponse>|undefined}
|
|
1336
|
+
* The XHR Node Readable Stream
|
|
1337
|
+
*/
|
|
1338
|
+
proto.ondewo.nlu.UsersClient.prototype.deleteUserPreferences =
|
|
1339
|
+
function(request, metadata, callback) {
|
|
1340
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1341
|
+
'/ondewo.nlu.Users/DeleteUserPreferences',
|
|
1342
|
+
request,
|
|
1343
|
+
metadata || {},
|
|
1344
|
+
methodDescriptor_Users_DeleteUserPreferences,
|
|
1345
|
+
callback);
|
|
1346
|
+
};
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* @param {!proto.ondewo.nlu.DeleteUserPreferencesRequest} request The
|
|
1351
|
+
* request proto
|
|
1352
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1353
|
+
* call metadata
|
|
1354
|
+
* @return {!Promise<!proto.ondewo.nlu.DeleteUserPreferencesResponse>}
|
|
1355
|
+
* Promise that resolves to the response
|
|
1356
|
+
*/
|
|
1357
|
+
proto.ondewo.nlu.UsersPromiseClient.prototype.deleteUserPreferences =
|
|
1358
|
+
function(request, metadata) {
|
|
1359
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1360
|
+
'/ondewo.nlu.Users/DeleteUserPreferences',
|
|
1361
|
+
request,
|
|
1362
|
+
metadata || {},
|
|
1363
|
+
methodDescriptor_Users_DeleteUserPreferences);
|
|
1364
|
+
};
|
|
1365
|
+
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* @const
|
|
1369
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1370
|
+
* !proto.ondewo.nlu.DeleteAllUserPreferencesRequest,
|
|
1371
|
+
* !proto.ondewo.nlu.DeleteUserPreferencesResponse>}
|
|
1372
|
+
*/
|
|
1373
|
+
const methodDescriptor_Users_DeleteAllUserPreferences = new grpc.web.MethodDescriptor(
|
|
1374
|
+
'/ondewo.nlu.Users/DeleteAllUserPreferences',
|
|
1375
|
+
grpc.web.MethodType.UNARY,
|
|
1376
|
+
proto.ondewo.nlu.DeleteAllUserPreferencesRequest,
|
|
1377
|
+
proto.ondewo.nlu.DeleteUserPreferencesResponse,
|
|
1378
|
+
/**
|
|
1379
|
+
* @param {!proto.ondewo.nlu.DeleteAllUserPreferencesRequest} request
|
|
1380
|
+
* @return {!Uint8Array}
|
|
1381
|
+
*/
|
|
1382
|
+
function(request) {
|
|
1383
|
+
return request.serializeBinary();
|
|
1384
|
+
},
|
|
1385
|
+
proto.ondewo.nlu.DeleteUserPreferencesResponse.deserializeBinary
|
|
1386
|
+
);
|
|
1387
|
+
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* @param {!proto.ondewo.nlu.DeleteAllUserPreferencesRequest} request The
|
|
1391
|
+
* request proto
|
|
1392
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1393
|
+
* call metadata
|
|
1394
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.DeleteUserPreferencesResponse)}
|
|
1395
|
+
* callback The callback function(error, response)
|
|
1396
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.DeleteUserPreferencesResponse>|undefined}
|
|
1397
|
+
* The XHR Node Readable Stream
|
|
1398
|
+
*/
|
|
1399
|
+
proto.ondewo.nlu.UsersClient.prototype.deleteAllUserPreferences =
|
|
1400
|
+
function(request, metadata, callback) {
|
|
1401
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1402
|
+
'/ondewo.nlu.Users/DeleteAllUserPreferences',
|
|
1403
|
+
request,
|
|
1404
|
+
metadata || {},
|
|
1405
|
+
methodDescriptor_Users_DeleteAllUserPreferences,
|
|
1406
|
+
callback);
|
|
1407
|
+
};
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
/**
|
|
1411
|
+
* @param {!proto.ondewo.nlu.DeleteAllUserPreferencesRequest} request The
|
|
1412
|
+
* request proto
|
|
1413
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1414
|
+
* call metadata
|
|
1415
|
+
* @return {!Promise<!proto.ondewo.nlu.DeleteUserPreferencesResponse>}
|
|
1416
|
+
* Promise that resolves to the response
|
|
1417
|
+
*/
|
|
1418
|
+
proto.ondewo.nlu.UsersPromiseClient.prototype.deleteAllUserPreferences =
|
|
1419
|
+
function(request, metadata) {
|
|
1420
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1421
|
+
'/ondewo.nlu.Users/DeleteAllUserPreferences',
|
|
1422
|
+
request,
|
|
1423
|
+
metadata || {},
|
|
1424
|
+
methodDescriptor_Users_DeleteAllUserPreferences);
|
|
1425
|
+
};
|
|
1426
|
+
|
|
1427
|
+
|
|
997
1428
|
module.exports = proto.ondewo.nlu;
|
|
998
1429
|
|