@ondewo/nlu-client-typescript 6.13.0 → 7.0.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.
Files changed (36) hide show
  1. package/README.md +0 -0
  2. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +48 -0
  3. package/api/ondewo/nlu/agent_grpc_web_pb.js +244 -0
  4. package/api/ondewo/nlu/agent_pb.d.ts +196 -15
  5. package/api/ondewo/nlu/agent_pb.js +1627 -0
  6. package/api/ondewo/nlu/aiservices_pb.d.ts +0 -50
  7. package/api/ondewo/nlu/ccai_project_pb.d.ts +6 -93
  8. package/api/ondewo/nlu/ccai_project_pb.js +24 -132
  9. package/api/ondewo/nlu/common_pb.d.ts +140 -0
  10. package/api/ondewo/nlu/common_pb.js +1151 -9
  11. package/api/ondewo/nlu/context_pb.d.ts +8 -1
  12. package/api/ondewo/nlu/context_pb.js +22 -4
  13. package/api/ondewo/nlu/llm_evaluation_pb.d.ts +40 -5
  14. package/api/ondewo/nlu/llm_evaluation_pb.js +110 -20
  15. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +46 -0
  16. package/api/ondewo/nlu/operations_grpc_web_pb.js +241 -0
  17. package/api/ondewo/nlu/operations_pb.d.ts +429 -10
  18. package/api/ondewo/nlu/operations_pb.js +3413 -0
  19. package/api/ondewo/nlu/project_role_pb.d.ts +0 -10
  20. package/api/ondewo/nlu/rag_pb.d.ts +191 -520
  21. package/api/ondewo/nlu/rag_pb.js +1246 -1058
  22. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +120 -0
  23. package/api/ondewo/nlu/session_grpc_web_pb.js +610 -0
  24. package/api/ondewo/nlu/session_pb.d.ts +818 -118
  25. package/api/ondewo/nlu/session_pb.js +6396 -3
  26. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +59 -13
  27. package/api/ondewo/nlu/user_grpc_web_pb.js +300 -61
  28. package/api/ondewo/nlu/user_pb.d.ts +0 -87
  29. package/api/ondewo/nlu/user_pb.js +0 -436
  30. package/auth/offlineTokenProvider.d.ts +195 -0
  31. package/auth/offlineTokenProvider.js +372 -0
  32. package/package.json +11 -8
  33. package/public-api.d.ts +31 -31
  34. package/public-api.js +28 -28
  35. package/api/google/logging/v2/log_entry_pb.d.ts +0 -172
  36. package/api/google/logging/v2/log_entry_pb.js +0 -1333
@@ -1,8 +1,8 @@
1
1
  import * as grpcWeb from 'grpc-web';
2
2
 
3
3
  import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
4
- import * as ondewo_nlu_user_pb from '../../ondewo/nlu/user_pb'; // proto import: "ondewo/nlu/user.proto"
5
4
  import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb'; // proto import: "ondewo/nlu/common.proto"
5
+ import * as ondewo_nlu_user_pb from '../../ondewo/nlu/user_pb'; // proto import: "ondewo/nlu/user.proto"
6
6
 
7
7
 
8
8
  export class UsersClient {
@@ -101,13 +101,6 @@ export class UsersClient {
101
101
  response: ondewo_nlu_user_pb.ListServerPermissionsResponse) => void
102
102
  ): grpcWeb.ClientReadableStream<ondewo_nlu_user_pb.ListServerPermissionsResponse>;
103
103
 
104
- login(
105
- request: ondewo_nlu_user_pb.LoginRequest,
106
- metadata: grpcWeb.Metadata | undefined,
107
- callback: (err: grpcWeb.RpcError,
108
- response: ondewo_nlu_user_pb.LoginResponse) => void
109
- ): grpcWeb.ClientReadableStream<ondewo_nlu_user_pb.LoginResponse>;
110
-
111
104
  checkLogin(
112
105
  request: google_protobuf_empty_pb.Empty,
113
106
  metadata: grpcWeb.Metadata | undefined,
@@ -136,6 +129,39 @@ export class UsersClient {
136
129
  response: ondewo_nlu_common_pb.ListNotificationsResponse) => void
137
130
  ): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.ListNotificationsResponse>;
138
131
 
132
+ addNotifications(
133
+ request: ondewo_nlu_common_pb.AddNotificationsRequest,
134
+ metadata: grpcWeb.Metadata | undefined,
135
+ callback: (err: grpcWeb.RpcError,
136
+ response: ondewo_nlu_common_pb.AddNotificationsResponse) => void
137
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.AddNotificationsResponse>;
138
+
139
+ getNotification(
140
+ request: ondewo_nlu_common_pb.GetNotificationRequest,
141
+ metadata: grpcWeb.Metadata | undefined,
142
+ callback: (err: grpcWeb.RpcError,
143
+ response: ondewo_nlu_common_pb.Notification) => void
144
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.Notification>;
145
+
146
+ updateNotification(
147
+ request: ondewo_nlu_common_pb.UpdateNotificationRequest,
148
+ metadata: grpcWeb.Metadata | undefined,
149
+ callback: (err: grpcWeb.RpcError,
150
+ response: ondewo_nlu_common_pb.Notification) => void
151
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.Notification>;
152
+
153
+ deleteNotifications(
154
+ request: ondewo_nlu_common_pb.DeleteNotificationsRequest,
155
+ metadata: grpcWeb.Metadata | undefined,
156
+ callback: (err: grpcWeb.RpcError,
157
+ response: google_protobuf_empty_pb.Empty) => void
158
+ ): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
159
+
160
+ streamNotifications(
161
+ request: ondewo_nlu_common_pb.StreamNotificationsRequest,
162
+ metadata?: grpcWeb.Metadata
163
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.Notification>;
164
+
139
165
  getUserPreferences(
140
166
  request: ondewo_nlu_user_pb.GetUserPreferencesRequest,
141
167
  metadata: grpcWeb.Metadata | undefined,
@@ -236,11 +262,6 @@ export class UsersPromiseClient {
236
262
  metadata?: grpcWeb.Metadata
237
263
  ): Promise<ondewo_nlu_user_pb.ListServerPermissionsResponse>;
238
264
 
239
- login(
240
- request: ondewo_nlu_user_pb.LoginRequest,
241
- metadata?: grpcWeb.Metadata
242
- ): Promise<ondewo_nlu_user_pb.LoginResponse>;
243
-
244
265
  checkLogin(
245
266
  request: google_protobuf_empty_pb.Empty,
246
267
  metadata?: grpcWeb.Metadata
@@ -261,6 +282,31 @@ export class UsersPromiseClient {
261
282
  metadata?: grpcWeb.Metadata
262
283
  ): Promise<ondewo_nlu_common_pb.ListNotificationsResponse>;
263
284
 
285
+ addNotifications(
286
+ request: ondewo_nlu_common_pb.AddNotificationsRequest,
287
+ metadata?: grpcWeb.Metadata
288
+ ): Promise<ondewo_nlu_common_pb.AddNotificationsResponse>;
289
+
290
+ getNotification(
291
+ request: ondewo_nlu_common_pb.GetNotificationRequest,
292
+ metadata?: grpcWeb.Metadata
293
+ ): Promise<ondewo_nlu_common_pb.Notification>;
294
+
295
+ updateNotification(
296
+ request: ondewo_nlu_common_pb.UpdateNotificationRequest,
297
+ metadata?: grpcWeb.Metadata
298
+ ): Promise<ondewo_nlu_common_pb.Notification>;
299
+
300
+ deleteNotifications(
301
+ request: ondewo_nlu_common_pb.DeleteNotificationsRequest,
302
+ metadata?: grpcWeb.Metadata
303
+ ): Promise<google_protobuf_empty_pb.Empty>;
304
+
305
+ streamNotifications(
306
+ request: ondewo_nlu_common_pb.StreamNotificationsRequest,
307
+ metadata?: grpcWeb.Metadata
308
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.Notification>;
309
+
264
310
  getUserPreferences(
265
311
  request: ondewo_nlu_user_pb.GetUserPreferencesRequest,
266
312
  metadata?: grpcWeb.Metadata
@@ -880,67 +880,6 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.listServerPermissions =
880
880
  };
881
881
 
882
882
 
883
- /**
884
- * @const
885
- * @type {!grpc.web.MethodDescriptor<
886
- * !proto.ondewo.nlu.LoginRequest,
887
- * !proto.ondewo.nlu.LoginResponse>}
888
- */
889
- const methodDescriptor_Users_Login = new grpc.web.MethodDescriptor(
890
- '/ondewo.nlu.Users/Login',
891
- grpc.web.MethodType.UNARY,
892
- proto.ondewo.nlu.LoginRequest,
893
- proto.ondewo.nlu.LoginResponse,
894
- /**
895
- * @param {!proto.ondewo.nlu.LoginRequest} request
896
- * @return {!Uint8Array}
897
- */
898
- function(request) {
899
- return request.serializeBinary();
900
- },
901
- proto.ondewo.nlu.LoginResponse.deserializeBinary
902
- );
903
-
904
-
905
- /**
906
- * @param {!proto.ondewo.nlu.LoginRequest} request The
907
- * request proto
908
- * @param {?Object<string, string>} metadata User defined
909
- * call metadata
910
- * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.LoginResponse)}
911
- * callback The callback function(error, response)
912
- * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.LoginResponse>|undefined}
913
- * The XHR Node Readable Stream
914
- */
915
- proto.ondewo.nlu.UsersClient.prototype.login =
916
- function(request, metadata, callback) {
917
- return this.client_.rpcCall(this.hostname_ +
918
- '/ondewo.nlu.Users/Login',
919
- request,
920
- metadata || {},
921
- methodDescriptor_Users_Login,
922
- callback);
923
- };
924
-
925
-
926
- /**
927
- * @param {!proto.ondewo.nlu.LoginRequest} request The
928
- * request proto
929
- * @param {?Object<string, string>=} metadata User defined
930
- * call metadata
931
- * @return {!Promise<!proto.ondewo.nlu.LoginResponse>}
932
- * Promise that resolves to the response
933
- */
934
- proto.ondewo.nlu.UsersPromiseClient.prototype.login =
935
- function(request, metadata) {
936
- return this.client_.unaryCall(this.hostname_ +
937
- '/ondewo.nlu.Users/Login',
938
- request,
939
- metadata || {},
940
- methodDescriptor_Users_Login);
941
- };
942
-
943
-
944
883
  /**
945
884
  * @const
946
885
  * @type {!grpc.web.MethodDescriptor<
@@ -1185,6 +1124,306 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.setNotificationsReadStatus =
1185
1124
  };
1186
1125
 
1187
1126
 
1127
+ /**
1128
+ * @const
1129
+ * @type {!grpc.web.MethodDescriptor<
1130
+ * !proto.ondewo.nlu.AddNotificationsRequest,
1131
+ * !proto.ondewo.nlu.AddNotificationsResponse>}
1132
+ */
1133
+ const methodDescriptor_Users_AddNotifications = new grpc.web.MethodDescriptor(
1134
+ '/ondewo.nlu.Users/AddNotifications',
1135
+ grpc.web.MethodType.UNARY,
1136
+ ondewo_nlu_common_pb.AddNotificationsRequest,
1137
+ ondewo_nlu_common_pb.AddNotificationsResponse,
1138
+ /**
1139
+ * @param {!proto.ondewo.nlu.AddNotificationsRequest} request
1140
+ * @return {!Uint8Array}
1141
+ */
1142
+ function(request) {
1143
+ return request.serializeBinary();
1144
+ },
1145
+ ondewo_nlu_common_pb.AddNotificationsResponse.deserializeBinary
1146
+ );
1147
+
1148
+
1149
+ /**
1150
+ * @param {!proto.ondewo.nlu.AddNotificationsRequest} request The
1151
+ * request proto
1152
+ * @param {?Object<string, string>} metadata User defined
1153
+ * call metadata
1154
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.AddNotificationsResponse)}
1155
+ * callback The callback function(error, response)
1156
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.AddNotificationsResponse>|undefined}
1157
+ * The XHR Node Readable Stream
1158
+ */
1159
+ proto.ondewo.nlu.UsersClient.prototype.addNotifications =
1160
+ function(request, metadata, callback) {
1161
+ return this.client_.rpcCall(this.hostname_ +
1162
+ '/ondewo.nlu.Users/AddNotifications',
1163
+ request,
1164
+ metadata || {},
1165
+ methodDescriptor_Users_AddNotifications,
1166
+ callback);
1167
+ };
1168
+
1169
+
1170
+ /**
1171
+ * @param {!proto.ondewo.nlu.AddNotificationsRequest} request The
1172
+ * request proto
1173
+ * @param {?Object<string, string>=} metadata User defined
1174
+ * call metadata
1175
+ * @return {!Promise<!proto.ondewo.nlu.AddNotificationsResponse>}
1176
+ * Promise that resolves to the response
1177
+ */
1178
+ proto.ondewo.nlu.UsersPromiseClient.prototype.addNotifications =
1179
+ function(request, metadata) {
1180
+ return this.client_.unaryCall(this.hostname_ +
1181
+ '/ondewo.nlu.Users/AddNotifications',
1182
+ request,
1183
+ metadata || {},
1184
+ methodDescriptor_Users_AddNotifications);
1185
+ };
1186
+
1187
+
1188
+ /**
1189
+ * @const
1190
+ * @type {!grpc.web.MethodDescriptor<
1191
+ * !proto.ondewo.nlu.GetNotificationRequest,
1192
+ * !proto.ondewo.nlu.Notification>}
1193
+ */
1194
+ const methodDescriptor_Users_GetNotification = new grpc.web.MethodDescriptor(
1195
+ '/ondewo.nlu.Users/GetNotification',
1196
+ grpc.web.MethodType.UNARY,
1197
+ ondewo_nlu_common_pb.GetNotificationRequest,
1198
+ ondewo_nlu_common_pb.Notification,
1199
+ /**
1200
+ * @param {!proto.ondewo.nlu.GetNotificationRequest} request
1201
+ * @return {!Uint8Array}
1202
+ */
1203
+ function(request) {
1204
+ return request.serializeBinary();
1205
+ },
1206
+ ondewo_nlu_common_pb.Notification.deserializeBinary
1207
+ );
1208
+
1209
+
1210
+ /**
1211
+ * @param {!proto.ondewo.nlu.GetNotificationRequest} request The
1212
+ * request proto
1213
+ * @param {?Object<string, string>} metadata User defined
1214
+ * call metadata
1215
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Notification)}
1216
+ * callback The callback function(error, response)
1217
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Notification>|undefined}
1218
+ * The XHR Node Readable Stream
1219
+ */
1220
+ proto.ondewo.nlu.UsersClient.prototype.getNotification =
1221
+ function(request, metadata, callback) {
1222
+ return this.client_.rpcCall(this.hostname_ +
1223
+ '/ondewo.nlu.Users/GetNotification',
1224
+ request,
1225
+ metadata || {},
1226
+ methodDescriptor_Users_GetNotification,
1227
+ callback);
1228
+ };
1229
+
1230
+
1231
+ /**
1232
+ * @param {!proto.ondewo.nlu.GetNotificationRequest} request The
1233
+ * request proto
1234
+ * @param {?Object<string, string>=} metadata User defined
1235
+ * call metadata
1236
+ * @return {!Promise<!proto.ondewo.nlu.Notification>}
1237
+ * Promise that resolves to the response
1238
+ */
1239
+ proto.ondewo.nlu.UsersPromiseClient.prototype.getNotification =
1240
+ function(request, metadata) {
1241
+ return this.client_.unaryCall(this.hostname_ +
1242
+ '/ondewo.nlu.Users/GetNotification',
1243
+ request,
1244
+ metadata || {},
1245
+ methodDescriptor_Users_GetNotification);
1246
+ };
1247
+
1248
+
1249
+ /**
1250
+ * @const
1251
+ * @type {!grpc.web.MethodDescriptor<
1252
+ * !proto.ondewo.nlu.UpdateNotificationRequest,
1253
+ * !proto.ondewo.nlu.Notification>}
1254
+ */
1255
+ const methodDescriptor_Users_UpdateNotification = new grpc.web.MethodDescriptor(
1256
+ '/ondewo.nlu.Users/UpdateNotification',
1257
+ grpc.web.MethodType.UNARY,
1258
+ ondewo_nlu_common_pb.UpdateNotificationRequest,
1259
+ ondewo_nlu_common_pb.Notification,
1260
+ /**
1261
+ * @param {!proto.ondewo.nlu.UpdateNotificationRequest} request
1262
+ * @return {!Uint8Array}
1263
+ */
1264
+ function(request) {
1265
+ return request.serializeBinary();
1266
+ },
1267
+ ondewo_nlu_common_pb.Notification.deserializeBinary
1268
+ );
1269
+
1270
+
1271
+ /**
1272
+ * @param {!proto.ondewo.nlu.UpdateNotificationRequest} request The
1273
+ * request proto
1274
+ * @param {?Object<string, string>} metadata User defined
1275
+ * call metadata
1276
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Notification)}
1277
+ * callback The callback function(error, response)
1278
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Notification>|undefined}
1279
+ * The XHR Node Readable Stream
1280
+ */
1281
+ proto.ondewo.nlu.UsersClient.prototype.updateNotification =
1282
+ function(request, metadata, callback) {
1283
+ return this.client_.rpcCall(this.hostname_ +
1284
+ '/ondewo.nlu.Users/UpdateNotification',
1285
+ request,
1286
+ metadata || {},
1287
+ methodDescriptor_Users_UpdateNotification,
1288
+ callback);
1289
+ };
1290
+
1291
+
1292
+ /**
1293
+ * @param {!proto.ondewo.nlu.UpdateNotificationRequest} request The
1294
+ * request proto
1295
+ * @param {?Object<string, string>=} metadata User defined
1296
+ * call metadata
1297
+ * @return {!Promise<!proto.ondewo.nlu.Notification>}
1298
+ * Promise that resolves to the response
1299
+ */
1300
+ proto.ondewo.nlu.UsersPromiseClient.prototype.updateNotification =
1301
+ function(request, metadata) {
1302
+ return this.client_.unaryCall(this.hostname_ +
1303
+ '/ondewo.nlu.Users/UpdateNotification',
1304
+ request,
1305
+ metadata || {},
1306
+ methodDescriptor_Users_UpdateNotification);
1307
+ };
1308
+
1309
+
1310
+ /**
1311
+ * @const
1312
+ * @type {!grpc.web.MethodDescriptor<
1313
+ * !proto.ondewo.nlu.DeleteNotificationsRequest,
1314
+ * !proto.google.protobuf.Empty>}
1315
+ */
1316
+ const methodDescriptor_Users_DeleteNotifications = new grpc.web.MethodDescriptor(
1317
+ '/ondewo.nlu.Users/DeleteNotifications',
1318
+ grpc.web.MethodType.UNARY,
1319
+ ondewo_nlu_common_pb.DeleteNotificationsRequest,
1320
+ google_protobuf_empty_pb.Empty,
1321
+ /**
1322
+ * @param {!proto.ondewo.nlu.DeleteNotificationsRequest} request
1323
+ * @return {!Uint8Array}
1324
+ */
1325
+ function(request) {
1326
+ return request.serializeBinary();
1327
+ },
1328
+ google_protobuf_empty_pb.Empty.deserializeBinary
1329
+ );
1330
+
1331
+
1332
+ /**
1333
+ * @param {!proto.ondewo.nlu.DeleteNotificationsRequest} request The
1334
+ * request proto
1335
+ * @param {?Object<string, string>} metadata User defined
1336
+ * call metadata
1337
+ * @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
1338
+ * callback The callback function(error, response)
1339
+ * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
1340
+ * The XHR Node Readable Stream
1341
+ */
1342
+ proto.ondewo.nlu.UsersClient.prototype.deleteNotifications =
1343
+ function(request, metadata, callback) {
1344
+ return this.client_.rpcCall(this.hostname_ +
1345
+ '/ondewo.nlu.Users/DeleteNotifications',
1346
+ request,
1347
+ metadata || {},
1348
+ methodDescriptor_Users_DeleteNotifications,
1349
+ callback);
1350
+ };
1351
+
1352
+
1353
+ /**
1354
+ * @param {!proto.ondewo.nlu.DeleteNotificationsRequest} request The
1355
+ * request proto
1356
+ * @param {?Object<string, string>=} metadata User defined
1357
+ * call metadata
1358
+ * @return {!Promise<!proto.google.protobuf.Empty>}
1359
+ * Promise that resolves to the response
1360
+ */
1361
+ proto.ondewo.nlu.UsersPromiseClient.prototype.deleteNotifications =
1362
+ function(request, metadata) {
1363
+ return this.client_.unaryCall(this.hostname_ +
1364
+ '/ondewo.nlu.Users/DeleteNotifications',
1365
+ request,
1366
+ metadata || {},
1367
+ methodDescriptor_Users_DeleteNotifications);
1368
+ };
1369
+
1370
+
1371
+ /**
1372
+ * @const
1373
+ * @type {!grpc.web.MethodDescriptor<
1374
+ * !proto.ondewo.nlu.StreamNotificationsRequest,
1375
+ * !proto.ondewo.nlu.Notification>}
1376
+ */
1377
+ const methodDescriptor_Users_StreamNotifications = new grpc.web.MethodDescriptor(
1378
+ '/ondewo.nlu.Users/StreamNotifications',
1379
+ grpc.web.MethodType.SERVER_STREAMING,
1380
+ ondewo_nlu_common_pb.StreamNotificationsRequest,
1381
+ ondewo_nlu_common_pb.Notification,
1382
+ /**
1383
+ * @param {!proto.ondewo.nlu.StreamNotificationsRequest} request
1384
+ * @return {!Uint8Array}
1385
+ */
1386
+ function(request) {
1387
+ return request.serializeBinary();
1388
+ },
1389
+ ondewo_nlu_common_pb.Notification.deserializeBinary
1390
+ );
1391
+
1392
+
1393
+ /**
1394
+ * @param {!proto.ondewo.nlu.StreamNotificationsRequest} request The request proto
1395
+ * @param {?Object<string, string>=} metadata User defined
1396
+ * call metadata
1397
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Notification>}
1398
+ * The XHR Node Readable Stream
1399
+ */
1400
+ proto.ondewo.nlu.UsersClient.prototype.streamNotifications =
1401
+ function(request, metadata) {
1402
+ return this.client_.serverStreaming(this.hostname_ +
1403
+ '/ondewo.nlu.Users/StreamNotifications',
1404
+ request,
1405
+ metadata || {},
1406
+ methodDescriptor_Users_StreamNotifications);
1407
+ };
1408
+
1409
+
1410
+ /**
1411
+ * @param {!proto.ondewo.nlu.StreamNotificationsRequest} request The request proto
1412
+ * @param {?Object<string, string>=} metadata User defined
1413
+ * call metadata
1414
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Notification>}
1415
+ * The XHR Node Readable Stream
1416
+ */
1417
+ proto.ondewo.nlu.UsersPromiseClient.prototype.streamNotifications =
1418
+ function(request, metadata) {
1419
+ return this.client_.serverStreaming(this.hostname_ +
1420
+ '/ondewo.nlu.Users/StreamNotifications',
1421
+ request,
1422
+ metadata || {},
1423
+ methodDescriptor_Users_StreamNotifications);
1424
+ };
1425
+
1426
+
1188
1427
  /**
1189
1428
  * @const
1190
1429
  * @type {!grpc.web.MethodDescriptor<
@@ -218,11 +218,6 @@ export namespace ListUsersRequest {
218
218
  pageToken: string,
219
219
  fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
220
220
  }
221
-
222
- export enum FieldMaskCase {
223
- _FIELD_MASK_NOT_SET = 0,
224
- FIELD_MASK = 2,
225
- }
226
221
  }
227
222
 
228
223
  export class ListUsersResponse extends jspb.Message {
@@ -419,11 +414,6 @@ export namespace GetServerRoleRequest {
419
414
  ROLE_ID = 1,
420
415
  ROLE_NAME = 2,
421
416
  }
422
-
423
- export enum FieldMaskCase {
424
- _FIELD_MASK_NOT_SET = 0,
425
- FIELD_MASK = 3,
426
- }
427
417
  }
428
418
 
429
419
  export class ListServerRolesRequest extends jspb.Message {
@@ -448,11 +438,6 @@ export namespace ListServerRolesRequest {
448
438
  pageToken: string,
449
439
  fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
450
440
  }
451
-
452
- export enum FieldMaskCase {
453
- _FIELD_MASK_NOT_SET = 0,
454
- FIELD_MASK = 2,
455
- }
456
441
  }
457
442
 
458
443
  export class ListServerRolesResponse extends jspb.Message {
@@ -501,11 +486,6 @@ export namespace ListServerPermissionsRequest {
501
486
  pageToken: string,
502
487
  fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
503
488
  }
504
-
505
- export enum FieldMaskCase {
506
- _FIELD_MASK_NOT_SET = 0,
507
- FIELD_MASK = 2,
508
- }
509
489
  }
510
490
 
511
491
  export class ListServerPermissionsResponse extends jspb.Message {
@@ -532,63 +512,6 @@ export namespace ListServerPermissionsResponse {
532
512
  }
533
513
  }
534
514
 
535
- export class LoginRequest extends jspb.Message {
536
- getUserEmail(): string;
537
- setUserEmail(value: string): LoginRequest;
538
-
539
- getPassword(): string;
540
- setPassword(value: string): LoginRequest;
541
-
542
- getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
543
- setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): LoginRequest;
544
- hasFieldMask(): boolean;
545
- clearFieldMask(): LoginRequest;
546
-
547
- serializeBinary(): Uint8Array;
548
- toObject(includeInstance?: boolean): LoginRequest.AsObject;
549
- static toObject(includeInstance: boolean, msg: LoginRequest): LoginRequest.AsObject;
550
- static serializeBinaryToWriter(message: LoginRequest, writer: jspb.BinaryWriter): void;
551
- static deserializeBinary(bytes: Uint8Array): LoginRequest;
552
- static deserializeBinaryFromReader(message: LoginRequest, reader: jspb.BinaryReader): LoginRequest;
553
- }
554
-
555
- export namespace LoginRequest {
556
- export type AsObject = {
557
- userEmail: string,
558
- password: string,
559
- fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
560
- }
561
-
562
- export enum FieldMaskCase {
563
- _FIELD_MASK_NOT_SET = 0,
564
- FIELD_MASK = 3,
565
- }
566
- }
567
-
568
- export class LoginResponse extends jspb.Message {
569
- getUser(): User | undefined;
570
- setUser(value?: User): LoginResponse;
571
- hasUser(): boolean;
572
- clearUser(): LoginResponse;
573
-
574
- getAuthToken(): string;
575
- setAuthToken(value: string): LoginResponse;
576
-
577
- serializeBinary(): Uint8Array;
578
- toObject(includeInstance?: boolean): LoginResponse.AsObject;
579
- static toObject(includeInstance: boolean, msg: LoginResponse): LoginResponse.AsObject;
580
- static serializeBinaryToWriter(message: LoginResponse, writer: jspb.BinaryWriter): void;
581
- static deserializeBinary(bytes: Uint8Array): LoginResponse;
582
- static deserializeBinaryFromReader(message: LoginResponse, reader: jspb.BinaryReader): LoginResponse;
583
- }
584
-
585
- export namespace LoginResponse {
586
- export type AsObject = {
587
- user?: User.AsObject,
588
- authToken: string,
589
- }
590
- }
591
-
592
515
  export class GetUserPreferencesRequest extends jspb.Message {
593
516
  getUserName(): string;
594
517
  setUserName(value: string): GetUserPreferencesRequest;
@@ -621,11 +544,6 @@ export namespace GetUserPreferencesRequest {
621
544
  regexInclude: string,
622
545
  fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
623
546
  }
624
-
625
- export enum FieldMaskCase {
626
- _FIELD_MASK_NOT_SET = 0,
627
- FIELD_MASK = 4,
628
- }
629
547
  }
630
548
 
631
549
  export class GetUserPreferencesResponse extends jspb.Message {
@@ -812,11 +730,6 @@ export namespace ListUserPreferencesRequest {
812
730
  regexFilter: string,
813
731
  fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
814
732
  }
815
-
816
- export enum FieldMaskCase {
817
- _FIELD_MASK_NOT_SET = 0,
818
- FIELD_MASK = 3,
819
- }
820
733
  }
821
734
 
822
735
  export class ListUserPreferencesResponse extends jspb.Message {