@ondewo/nlu-client-typescript 4.0.0 → 4.1.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 (62) hide show
  1. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +450 -490
  2. package/api/ondewo/nlu/agent_grpc_web_pb.js +1113 -1244
  3. package/api/ondewo/nlu/agent_pb.d.ts +1939 -1751
  4. package/api/ondewo/nlu/agent_pb.js +9062 -10483
  5. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +98 -106
  6. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +245 -280
  7. package/api/ondewo/nlu/aiservices_pb.d.ts +745 -674
  8. package/api/ondewo/nlu/aiservices_pb.js +3638 -4403
  9. package/api/ondewo/nlu/common_pb.d.ts +15 -17
  10. package/api/ondewo/nlu/common_pb.js +83 -93
  11. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +76 -82
  12. package/api/ondewo/nlu/context_grpc_web_pb.js +191 -220
  13. package/api/ondewo/nlu/context_pb.d.ts +151 -151
  14. package/api/ondewo/nlu/context_pb.js +889 -1042
  15. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +142 -154
  16. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +351 -398
  17. package/api/ondewo/nlu/entity_type_pb.d.ts +614 -571
  18. package/api/ondewo/nlu/entity_type_pb.js +2893 -3369
  19. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +310 -334
  20. package/api/ondewo/nlu/intent_grpc_web_pb.js +766 -851
  21. package/api/ondewo/nlu/intent_pb.d.ts +2151 -1993
  22. package/api/ondewo/nlu/intent_pb.js +9502 -10692
  23. package/api/ondewo/nlu/operation_metadata_pb.d.ts +86 -88
  24. package/api/ondewo/nlu/operation_metadata_pb.js +321 -412
  25. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +46 -50
  26. package/api/ondewo/nlu/operations_grpc_web_pb.js +140 -163
  27. package/api/ondewo/nlu/operations_pb.d.ts +189 -182
  28. package/api/ondewo/nlu/operations_pb.js +843 -1004
  29. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +65 -70
  30. package/api/ondewo/nlu/project_role_grpc_web_pb.js +164 -190
  31. package/api/ondewo/nlu/project_role_pb.d.ts +165 -151
  32. package/api/ondewo/nlu/project_role_pb.js +796 -963
  33. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +98 -106
  34. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +246 -281
  35. package/api/ondewo/nlu/project_statistics_pb.d.ts +67 -63
  36. package/api/ondewo/nlu/project_statistics_pb.js +354 -418
  37. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +43 -46
  38. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +110 -130
  39. package/api/ondewo/nlu/server_statistics_pb.d.ts +15 -14
  40. package/api/ondewo/nlu/server_statistics_pb.js +81 -91
  41. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +164 -178
  42. package/api/ondewo/nlu/session_grpc_web_pb.js +409 -462
  43. package/api/ondewo/nlu/session_pb.d.ts +1080 -1025
  44. package/api/ondewo/nlu/session_pb.js +5285 -6536
  45. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +172 -190
  46. package/api/ondewo/nlu/user_grpc_web_pb.js +431 -487
  47. package/api/ondewo/nlu/user_pb.d.ts +345 -325
  48. package/api/ondewo/nlu/user_pb.js +1948 -2312
  49. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +98 -106
  50. package/api/ondewo/nlu/utility_grpc_web_pb.js +244 -279
  51. package/api/ondewo/nlu/utility_pb.d.ts +588 -535
  52. package/api/ondewo/nlu/utility_pb.js +2814 -3348
  53. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +43 -46
  54. package/api/ondewo/nlu/webhook_grpc_web_pb.js +112 -132
  55. package/api/ondewo/nlu/webhook_pb.d.ts +123 -119
  56. package/api/ondewo/nlu/webhook_pb.js +599 -718
  57. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +87 -94
  58. package/api/ondewo/qa/qa_grpc_web_pb.js +218 -250
  59. package/api/ondewo/qa/qa_pb.d.ts +235 -220
  60. package/api/ondewo/qa/qa_pb.js +1222 -1452
  61. package/package.json +1 -1
  62. package/public-api.d.ts +4 -34
@@ -6,23 +6,19 @@
6
6
 
7
7
  // GENERATED CODE -- DO NOT EDIT!
8
8
 
9
-
10
9
  /* eslint-disable */
11
10
  // @ts-nocheck
12
11
 
13
-
14
-
15
12
  const grpc = {};
16
13
  grpc.web = require('grpc-web');
17
14
 
15
+ var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
18
16
 
19
- var google_api_annotations_pb = require('../../google/api/annotations_pb.js')
20
-
21
- var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
17
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
22
18
 
23
- var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
19
+ var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
24
20
 
25
- var ondewo_nlu_project_role_pb = require('../../ondewo/nlu/project_role_pb.js')
21
+ var ondewo_nlu_project_role_pb = require('../../ondewo/nlu/project_role_pb.js');
26
22
  const proto = {};
27
23
  proto.ondewo = {};
28
24
  proto.ondewo.nlu = require('./user_pb.js');
@@ -35,24 +31,21 @@ proto.ondewo.nlu = require('./user_pb.js');
35
31
  * @struct
36
32
  * @final
37
33
  */
38
- proto.ondewo.nlu.UsersClient =
39
- function(hostname, credentials, options) {
40
- if (!options) options = {};
41
- options.format = 'binary';
34
+ proto.ondewo.nlu.UsersClient = function (hostname, credentials, options) {
35
+ if (!options) options = {};
36
+ options.format = 'binary';
42
37
 
43
- /**
44
- * @private @const {!grpc.web.GrpcWebClientBase} The client
45
- */
46
- this.client_ = new grpc.web.GrpcWebClientBase(options);
47
-
48
- /**
49
- * @private @const {string} The hostname
50
- */
51
- this.hostname_ = hostname;
38
+ /**
39
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
40
+ */
41
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
52
42
 
43
+ /**
44
+ * @private @const {string} The hostname
45
+ */
46
+ this.hostname_ = hostname;
53
47
  };
54
48
 
55
-
56
49
  /**
57
50
  * @param {string} hostname
58
51
  * @param {?Object} credentials
@@ -61,24 +54,21 @@ proto.ondewo.nlu.UsersClient =
61
54
  * @struct
62
55
  * @final
63
56
  */
64
- proto.ondewo.nlu.UsersPromiseClient =
65
- function(hostname, credentials, options) {
66
- if (!options) options = {};
67
- options.format = 'binary';
68
-
69
- /**
70
- * @private @const {!grpc.web.GrpcWebClientBase} The client
71
- */
72
- this.client_ = new grpc.web.GrpcWebClientBase(options);
57
+ proto.ondewo.nlu.UsersPromiseClient = function (hostname, credentials, options) {
58
+ if (!options) options = {};
59
+ options.format = 'binary';
73
60
 
74
- /**
75
- * @private @const {string} The hostname
76
- */
77
- this.hostname_ = hostname;
61
+ /**
62
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
63
+ */
64
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
78
65
 
66
+ /**
67
+ * @private @const {string} The hostname
68
+ */
69
+ this.hostname_ = hostname;
79
70
  };
80
71
 
81
-
82
72
  /**
83
73
  * @const
84
74
  * @type {!grpc.web.MethodDescriptor<
@@ -86,21 +76,20 @@ proto.ondewo.nlu.UsersPromiseClient =
86
76
  * !proto.ondewo.nlu.User>}
87
77
  */
88
78
  const methodDescriptor_Users_CreateUser = new grpc.web.MethodDescriptor(
89
- '/ondewo.nlu.Users/CreateUser',
90
- grpc.web.MethodType.UNARY,
91
- proto.ondewo.nlu.CreateUserRequest,
92
- proto.ondewo.nlu.User,
93
- /**
94
- * @param {!proto.ondewo.nlu.CreateUserRequest} request
95
- * @return {!Uint8Array}
96
- */
97
- function(request) {
98
- return request.serializeBinary();
99
- },
100
- proto.ondewo.nlu.User.deserializeBinary
79
+ '/ondewo.nlu.Users/CreateUser',
80
+ grpc.web.MethodType.UNARY,
81
+ proto.ondewo.nlu.CreateUserRequest,
82
+ proto.ondewo.nlu.User,
83
+ /**
84
+ * @param {!proto.ondewo.nlu.CreateUserRequest} request
85
+ * @return {!Uint8Array}
86
+ */
87
+ function (request) {
88
+ return request.serializeBinary();
89
+ },
90
+ proto.ondewo.nlu.User.deserializeBinary
101
91
  );
102
92
 
103
-
104
93
  /**
105
94
  * @param {!proto.ondewo.nlu.CreateUserRequest} request The
106
95
  * request proto
@@ -111,17 +100,16 @@ const methodDescriptor_Users_CreateUser = new grpc.web.MethodDescriptor(
111
100
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.User>|undefined}
112
101
  * The XHR Node Readable Stream
113
102
  */
114
- proto.ondewo.nlu.UsersClient.prototype.createUser =
115
- function(request, metadata, callback) {
116
- return this.client_.rpcCall(this.hostname_ +
117
- '/ondewo.nlu.Users/CreateUser',
118
- request,
119
- metadata || {},
120
- methodDescriptor_Users_CreateUser,
121
- callback);
103
+ proto.ondewo.nlu.UsersClient.prototype.createUser = function (request, metadata, callback) {
104
+ return this.client_.rpcCall(
105
+ this.hostname_ + '/ondewo.nlu.Users/CreateUser',
106
+ request,
107
+ metadata || {},
108
+ methodDescriptor_Users_CreateUser,
109
+ callback
110
+ );
122
111
  };
123
112
 
124
-
125
113
  /**
126
114
  * @param {!proto.ondewo.nlu.CreateUserRequest} request The
127
115
  * request proto
@@ -130,16 +118,15 @@ proto.ondewo.nlu.UsersClient.prototype.createUser =
130
118
  * @return {!Promise<!proto.ondewo.nlu.User>}
131
119
  * Promise that resolves to the response
132
120
  */
133
- proto.ondewo.nlu.UsersPromiseClient.prototype.createUser =
134
- function(request, metadata) {
135
- return this.client_.unaryCall(this.hostname_ +
136
- '/ondewo.nlu.Users/CreateUser',
137
- request,
138
- metadata || {},
139
- methodDescriptor_Users_CreateUser);
121
+ proto.ondewo.nlu.UsersPromiseClient.prototype.createUser = function (request, metadata) {
122
+ return this.client_.unaryCall(
123
+ this.hostname_ + '/ondewo.nlu.Users/CreateUser',
124
+ request,
125
+ metadata || {},
126
+ methodDescriptor_Users_CreateUser
127
+ );
140
128
  };
141
129
 
142
-
143
130
  /**
144
131
  * @const
145
132
  * @type {!grpc.web.MethodDescriptor<
@@ -147,21 +134,20 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.createUser =
147
134
  * !proto.ondewo.nlu.User>}
148
135
  */
149
136
  const methodDescriptor_Users_GetUser = new grpc.web.MethodDescriptor(
150
- '/ondewo.nlu.Users/GetUser',
151
- grpc.web.MethodType.UNARY,
152
- proto.ondewo.nlu.GetUserRequest,
153
- proto.ondewo.nlu.User,
154
- /**
155
- * @param {!proto.ondewo.nlu.GetUserRequest} request
156
- * @return {!Uint8Array}
157
- */
158
- function(request) {
159
- return request.serializeBinary();
160
- },
161
- proto.ondewo.nlu.User.deserializeBinary
137
+ '/ondewo.nlu.Users/GetUser',
138
+ grpc.web.MethodType.UNARY,
139
+ proto.ondewo.nlu.GetUserRequest,
140
+ proto.ondewo.nlu.User,
141
+ /**
142
+ * @param {!proto.ondewo.nlu.GetUserRequest} request
143
+ * @return {!Uint8Array}
144
+ */
145
+ function (request) {
146
+ return request.serializeBinary();
147
+ },
148
+ proto.ondewo.nlu.User.deserializeBinary
162
149
  );
163
150
 
164
-
165
151
  /**
166
152
  * @param {!proto.ondewo.nlu.GetUserRequest} request The
167
153
  * request proto
@@ -172,17 +158,16 @@ const methodDescriptor_Users_GetUser = new grpc.web.MethodDescriptor(
172
158
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.User>|undefined}
173
159
  * The XHR Node Readable Stream
174
160
  */
175
- proto.ondewo.nlu.UsersClient.prototype.getUser =
176
- function(request, metadata, callback) {
177
- return this.client_.rpcCall(this.hostname_ +
178
- '/ondewo.nlu.Users/GetUser',
179
- request,
180
- metadata || {},
181
- methodDescriptor_Users_GetUser,
182
- callback);
161
+ proto.ondewo.nlu.UsersClient.prototype.getUser = function (request, metadata, callback) {
162
+ return this.client_.rpcCall(
163
+ this.hostname_ + '/ondewo.nlu.Users/GetUser',
164
+ request,
165
+ metadata || {},
166
+ methodDescriptor_Users_GetUser,
167
+ callback
168
+ );
183
169
  };
184
170
 
185
-
186
171
  /**
187
172
  * @param {!proto.ondewo.nlu.GetUserRequest} request The
188
173
  * request proto
@@ -191,16 +176,15 @@ proto.ondewo.nlu.UsersClient.prototype.getUser =
191
176
  * @return {!Promise<!proto.ondewo.nlu.User>}
192
177
  * Promise that resolves to the response
193
178
  */
194
- proto.ondewo.nlu.UsersPromiseClient.prototype.getUser =
195
- function(request, metadata) {
196
- return this.client_.unaryCall(this.hostname_ +
197
- '/ondewo.nlu.Users/GetUser',
198
- request,
199
- metadata || {},
200
- methodDescriptor_Users_GetUser);
179
+ proto.ondewo.nlu.UsersPromiseClient.prototype.getUser = function (request, metadata) {
180
+ return this.client_.unaryCall(
181
+ this.hostname_ + '/ondewo.nlu.Users/GetUser',
182
+ request,
183
+ metadata || {},
184
+ methodDescriptor_Users_GetUser
185
+ );
201
186
  };
202
187
 
203
-
204
188
  /**
205
189
  * @const
206
190
  * @type {!grpc.web.MethodDescriptor<
@@ -208,21 +192,20 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.getUser =
208
192
  * !proto.ondewo.nlu.UserInfo>}
209
193
  */
210
194
  const methodDescriptor_Users_GetUserInfo = new grpc.web.MethodDescriptor(
211
- '/ondewo.nlu.Users/GetUserInfo',
212
- grpc.web.MethodType.UNARY,
213
- proto.ondewo.nlu.GetUserRequest,
214
- proto.ondewo.nlu.UserInfo,
215
- /**
216
- * @param {!proto.ondewo.nlu.GetUserRequest} request
217
- * @return {!Uint8Array}
218
- */
219
- function(request) {
220
- return request.serializeBinary();
221
- },
222
- proto.ondewo.nlu.UserInfo.deserializeBinary
195
+ '/ondewo.nlu.Users/GetUserInfo',
196
+ grpc.web.MethodType.UNARY,
197
+ proto.ondewo.nlu.GetUserRequest,
198
+ proto.ondewo.nlu.UserInfo,
199
+ /**
200
+ * @param {!proto.ondewo.nlu.GetUserRequest} request
201
+ * @return {!Uint8Array}
202
+ */
203
+ function (request) {
204
+ return request.serializeBinary();
205
+ },
206
+ proto.ondewo.nlu.UserInfo.deserializeBinary
223
207
  );
224
208
 
225
-
226
209
  /**
227
210
  * @param {!proto.ondewo.nlu.GetUserRequest} request The
228
211
  * request proto
@@ -233,17 +216,16 @@ const methodDescriptor_Users_GetUserInfo = new grpc.web.MethodDescriptor(
233
216
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.UserInfo>|undefined}
234
217
  * The XHR Node Readable Stream
235
218
  */
236
- proto.ondewo.nlu.UsersClient.prototype.getUserInfo =
237
- function(request, metadata, callback) {
238
- return this.client_.rpcCall(this.hostname_ +
239
- '/ondewo.nlu.Users/GetUserInfo',
240
- request,
241
- metadata || {},
242
- methodDescriptor_Users_GetUserInfo,
243
- callback);
219
+ proto.ondewo.nlu.UsersClient.prototype.getUserInfo = function (request, metadata, callback) {
220
+ return this.client_.rpcCall(
221
+ this.hostname_ + '/ondewo.nlu.Users/GetUserInfo',
222
+ request,
223
+ metadata || {},
224
+ methodDescriptor_Users_GetUserInfo,
225
+ callback
226
+ );
244
227
  };
245
228
 
246
-
247
229
  /**
248
230
  * @param {!proto.ondewo.nlu.GetUserRequest} request The
249
231
  * request proto
@@ -252,16 +234,15 @@ proto.ondewo.nlu.UsersClient.prototype.getUserInfo =
252
234
  * @return {!Promise<!proto.ondewo.nlu.UserInfo>}
253
235
  * Promise that resolves to the response
254
236
  */
255
- proto.ondewo.nlu.UsersPromiseClient.prototype.getUserInfo =
256
- function(request, metadata) {
257
- return this.client_.unaryCall(this.hostname_ +
258
- '/ondewo.nlu.Users/GetUserInfo',
259
- request,
260
- metadata || {},
261
- methodDescriptor_Users_GetUserInfo);
237
+ proto.ondewo.nlu.UsersPromiseClient.prototype.getUserInfo = function (request, metadata) {
238
+ return this.client_.unaryCall(
239
+ this.hostname_ + '/ondewo.nlu.Users/GetUserInfo',
240
+ request,
241
+ metadata || {},
242
+ methodDescriptor_Users_GetUserInfo
243
+ );
262
244
  };
263
245
 
264
-
265
246
  /**
266
247
  * @const
267
248
  * @type {!grpc.web.MethodDescriptor<
@@ -269,21 +250,20 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.getUserInfo =
269
250
  * !proto.google.protobuf.Empty>}
270
251
  */
271
252
  const methodDescriptor_Users_DeleteUser = new grpc.web.MethodDescriptor(
272
- '/ondewo.nlu.Users/DeleteUser',
273
- grpc.web.MethodType.UNARY,
274
- proto.ondewo.nlu.GetUserRequest,
275
- google_protobuf_empty_pb.Empty,
276
- /**
277
- * @param {!proto.ondewo.nlu.GetUserRequest} request
278
- * @return {!Uint8Array}
279
- */
280
- function(request) {
281
- return request.serializeBinary();
282
- },
283
- google_protobuf_empty_pb.Empty.deserializeBinary
253
+ '/ondewo.nlu.Users/DeleteUser',
254
+ grpc.web.MethodType.UNARY,
255
+ proto.ondewo.nlu.GetUserRequest,
256
+ google_protobuf_empty_pb.Empty,
257
+ /**
258
+ * @param {!proto.ondewo.nlu.GetUserRequest} request
259
+ * @return {!Uint8Array}
260
+ */
261
+ function (request) {
262
+ return request.serializeBinary();
263
+ },
264
+ google_protobuf_empty_pb.Empty.deserializeBinary
284
265
  );
285
266
 
286
-
287
267
  /**
288
268
  * @param {!proto.ondewo.nlu.GetUserRequest} request The
289
269
  * request proto
@@ -294,17 +274,16 @@ const methodDescriptor_Users_DeleteUser = new grpc.web.MethodDescriptor(
294
274
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
295
275
  * The XHR Node Readable Stream
296
276
  */
297
- proto.ondewo.nlu.UsersClient.prototype.deleteUser =
298
- function(request, metadata, callback) {
299
- return this.client_.rpcCall(this.hostname_ +
300
- '/ondewo.nlu.Users/DeleteUser',
301
- request,
302
- metadata || {},
303
- methodDescriptor_Users_DeleteUser,
304
- callback);
277
+ proto.ondewo.nlu.UsersClient.prototype.deleteUser = function (request, metadata, callback) {
278
+ return this.client_.rpcCall(
279
+ this.hostname_ + '/ondewo.nlu.Users/DeleteUser',
280
+ request,
281
+ metadata || {},
282
+ methodDescriptor_Users_DeleteUser,
283
+ callback
284
+ );
305
285
  };
306
286
 
307
-
308
287
  /**
309
288
  * @param {!proto.ondewo.nlu.GetUserRequest} request The
310
289
  * request proto
@@ -313,16 +292,15 @@ proto.ondewo.nlu.UsersClient.prototype.deleteUser =
313
292
  * @return {!Promise<!proto.google.protobuf.Empty>}
314
293
  * Promise that resolves to the response
315
294
  */
316
- proto.ondewo.nlu.UsersPromiseClient.prototype.deleteUser =
317
- function(request, metadata) {
318
- return this.client_.unaryCall(this.hostname_ +
319
- '/ondewo.nlu.Users/DeleteUser',
320
- request,
321
- metadata || {},
322
- methodDescriptor_Users_DeleteUser);
295
+ proto.ondewo.nlu.UsersPromiseClient.prototype.deleteUser = function (request, metadata) {
296
+ return this.client_.unaryCall(
297
+ this.hostname_ + '/ondewo.nlu.Users/DeleteUser',
298
+ request,
299
+ metadata || {},
300
+ methodDescriptor_Users_DeleteUser
301
+ );
323
302
  };
324
303
 
325
-
326
304
  /**
327
305
  * @const
328
306
  * @type {!grpc.web.MethodDescriptor<
@@ -330,21 +308,20 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.deleteUser =
330
308
  * !proto.ondewo.nlu.User>}
331
309
  */
332
310
  const methodDescriptor_Users_UpdateUser = new grpc.web.MethodDescriptor(
333
- '/ondewo.nlu.Users/UpdateUser',
334
- grpc.web.MethodType.UNARY,
335
- proto.ondewo.nlu.UpdateUserRequest,
336
- proto.ondewo.nlu.User,
337
- /**
338
- * @param {!proto.ondewo.nlu.UpdateUserRequest} request
339
- * @return {!Uint8Array}
340
- */
341
- function(request) {
342
- return request.serializeBinary();
343
- },
344
- proto.ondewo.nlu.User.deserializeBinary
311
+ '/ondewo.nlu.Users/UpdateUser',
312
+ grpc.web.MethodType.UNARY,
313
+ proto.ondewo.nlu.UpdateUserRequest,
314
+ proto.ondewo.nlu.User,
315
+ /**
316
+ * @param {!proto.ondewo.nlu.UpdateUserRequest} request
317
+ * @return {!Uint8Array}
318
+ */
319
+ function (request) {
320
+ return request.serializeBinary();
321
+ },
322
+ proto.ondewo.nlu.User.deserializeBinary
345
323
  );
346
324
 
347
-
348
325
  /**
349
326
  * @param {!proto.ondewo.nlu.UpdateUserRequest} request The
350
327
  * request proto
@@ -355,17 +332,16 @@ const methodDescriptor_Users_UpdateUser = new grpc.web.MethodDescriptor(
355
332
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.User>|undefined}
356
333
  * The XHR Node Readable Stream
357
334
  */
358
- proto.ondewo.nlu.UsersClient.prototype.updateUser =
359
- function(request, metadata, callback) {
360
- return this.client_.rpcCall(this.hostname_ +
361
- '/ondewo.nlu.Users/UpdateUser',
362
- request,
363
- metadata || {},
364
- methodDescriptor_Users_UpdateUser,
365
- callback);
335
+ proto.ondewo.nlu.UsersClient.prototype.updateUser = function (request, metadata, callback) {
336
+ return this.client_.rpcCall(
337
+ this.hostname_ + '/ondewo.nlu.Users/UpdateUser',
338
+ request,
339
+ metadata || {},
340
+ methodDescriptor_Users_UpdateUser,
341
+ callback
342
+ );
366
343
  };
367
344
 
368
-
369
345
  /**
370
346
  * @param {!proto.ondewo.nlu.UpdateUserRequest} request The
371
347
  * request proto
@@ -374,16 +350,15 @@ proto.ondewo.nlu.UsersClient.prototype.updateUser =
374
350
  * @return {!Promise<!proto.ondewo.nlu.User>}
375
351
  * Promise that resolves to the response
376
352
  */
377
- proto.ondewo.nlu.UsersPromiseClient.prototype.updateUser =
378
- function(request, metadata) {
379
- return this.client_.unaryCall(this.hostname_ +
380
- '/ondewo.nlu.Users/UpdateUser',
381
- request,
382
- metadata || {},
383
- methodDescriptor_Users_UpdateUser);
353
+ proto.ondewo.nlu.UsersPromiseClient.prototype.updateUser = function (request, metadata) {
354
+ return this.client_.unaryCall(
355
+ this.hostname_ + '/ondewo.nlu.Users/UpdateUser',
356
+ request,
357
+ metadata || {},
358
+ methodDescriptor_Users_UpdateUser
359
+ );
384
360
  };
385
361
 
386
-
387
362
  /**
388
363
  * @const
389
364
  * @type {!grpc.web.MethodDescriptor<
@@ -391,21 +366,20 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.updateUser =
391
366
  * !proto.ondewo.nlu.ListUsersResponse>}
392
367
  */
393
368
  const methodDescriptor_Users_ListUsers = new grpc.web.MethodDescriptor(
394
- '/ondewo.nlu.Users/ListUsers',
395
- grpc.web.MethodType.UNARY,
396
- proto.ondewo.nlu.ListUsersRequest,
397
- proto.ondewo.nlu.ListUsersResponse,
398
- /**
399
- * @param {!proto.ondewo.nlu.ListUsersRequest} request
400
- * @return {!Uint8Array}
401
- */
402
- function(request) {
403
- return request.serializeBinary();
404
- },
405
- proto.ondewo.nlu.ListUsersResponse.deserializeBinary
369
+ '/ondewo.nlu.Users/ListUsers',
370
+ grpc.web.MethodType.UNARY,
371
+ proto.ondewo.nlu.ListUsersRequest,
372
+ proto.ondewo.nlu.ListUsersResponse,
373
+ /**
374
+ * @param {!proto.ondewo.nlu.ListUsersRequest} request
375
+ * @return {!Uint8Array}
376
+ */
377
+ function (request) {
378
+ return request.serializeBinary();
379
+ },
380
+ proto.ondewo.nlu.ListUsersResponse.deserializeBinary
406
381
  );
407
382
 
408
-
409
383
  /**
410
384
  * @param {!proto.ondewo.nlu.ListUsersRequest} request The
411
385
  * request proto
@@ -416,17 +390,16 @@ const methodDescriptor_Users_ListUsers = new grpc.web.MethodDescriptor(
416
390
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListUsersResponse>|undefined}
417
391
  * The XHR Node Readable Stream
418
392
  */
419
- proto.ondewo.nlu.UsersClient.prototype.listUsers =
420
- function(request, metadata, callback) {
421
- return this.client_.rpcCall(this.hostname_ +
422
- '/ondewo.nlu.Users/ListUsers',
423
- request,
424
- metadata || {},
425
- methodDescriptor_Users_ListUsers,
426
- callback);
393
+ proto.ondewo.nlu.UsersClient.prototype.listUsers = function (request, metadata, callback) {
394
+ return this.client_.rpcCall(
395
+ this.hostname_ + '/ondewo.nlu.Users/ListUsers',
396
+ request,
397
+ metadata || {},
398
+ methodDescriptor_Users_ListUsers,
399
+ callback
400
+ );
427
401
  };
428
402
 
429
-
430
403
  /**
431
404
  * @param {!proto.ondewo.nlu.ListUsersRequest} request The
432
405
  * request proto
@@ -435,16 +408,15 @@ proto.ondewo.nlu.UsersClient.prototype.listUsers =
435
408
  * @return {!Promise<!proto.ondewo.nlu.ListUsersResponse>}
436
409
  * Promise that resolves to the response
437
410
  */
438
- proto.ondewo.nlu.UsersPromiseClient.prototype.listUsers =
439
- function(request, metadata) {
440
- return this.client_.unaryCall(this.hostname_ +
441
- '/ondewo.nlu.Users/ListUsers',
442
- request,
443
- metadata || {},
444
- methodDescriptor_Users_ListUsers);
411
+ proto.ondewo.nlu.UsersPromiseClient.prototype.listUsers = function (request, metadata) {
412
+ return this.client_.unaryCall(
413
+ this.hostname_ + '/ondewo.nlu.Users/ListUsers',
414
+ request,
415
+ metadata || {},
416
+ methodDescriptor_Users_ListUsers
417
+ );
445
418
  };
446
419
 
447
-
448
420
  /**
449
421
  * @const
450
422
  * @type {!grpc.web.MethodDescriptor<
@@ -452,21 +424,20 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.listUsers =
452
424
  * !proto.ondewo.nlu.ListUserInfosResponse>}
453
425
  */
454
426
  const methodDescriptor_Users_ListUserInfos = new grpc.web.MethodDescriptor(
455
- '/ondewo.nlu.Users/ListUserInfos',
456
- grpc.web.MethodType.UNARY,
457
- proto.ondewo.nlu.ListUsersRequest,
458
- proto.ondewo.nlu.ListUserInfosResponse,
459
- /**
460
- * @param {!proto.ondewo.nlu.ListUsersRequest} request
461
- * @return {!Uint8Array}
462
- */
463
- function(request) {
464
- return request.serializeBinary();
465
- },
466
- proto.ondewo.nlu.ListUserInfosResponse.deserializeBinary
427
+ '/ondewo.nlu.Users/ListUserInfos',
428
+ grpc.web.MethodType.UNARY,
429
+ proto.ondewo.nlu.ListUsersRequest,
430
+ proto.ondewo.nlu.ListUserInfosResponse,
431
+ /**
432
+ * @param {!proto.ondewo.nlu.ListUsersRequest} request
433
+ * @return {!Uint8Array}
434
+ */
435
+ function (request) {
436
+ return request.serializeBinary();
437
+ },
438
+ proto.ondewo.nlu.ListUserInfosResponse.deserializeBinary
467
439
  );
468
440
 
469
-
470
441
  /**
471
442
  * @param {!proto.ondewo.nlu.ListUsersRequest} request The
472
443
  * request proto
@@ -477,17 +448,16 @@ const methodDescriptor_Users_ListUserInfos = new grpc.web.MethodDescriptor(
477
448
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListUserInfosResponse>|undefined}
478
449
  * The XHR Node Readable Stream
479
450
  */
480
- proto.ondewo.nlu.UsersClient.prototype.listUserInfos =
481
- function(request, metadata, callback) {
482
- return this.client_.rpcCall(this.hostname_ +
483
- '/ondewo.nlu.Users/ListUserInfos',
484
- request,
485
- metadata || {},
486
- methodDescriptor_Users_ListUserInfos,
487
- callback);
451
+ proto.ondewo.nlu.UsersClient.prototype.listUserInfos = function (request, metadata, callback) {
452
+ return this.client_.rpcCall(
453
+ this.hostname_ + '/ondewo.nlu.Users/ListUserInfos',
454
+ request,
455
+ metadata || {},
456
+ methodDescriptor_Users_ListUserInfos,
457
+ callback
458
+ );
488
459
  };
489
460
 
490
-
491
461
  /**
492
462
  * @param {!proto.ondewo.nlu.ListUsersRequest} request The
493
463
  * request proto
@@ -496,16 +466,15 @@ proto.ondewo.nlu.UsersClient.prototype.listUserInfos =
496
466
  * @return {!Promise<!proto.ondewo.nlu.ListUserInfosResponse>}
497
467
  * Promise that resolves to the response
498
468
  */
499
- proto.ondewo.nlu.UsersPromiseClient.prototype.listUserInfos =
500
- function(request, metadata) {
501
- return this.client_.unaryCall(this.hostname_ +
502
- '/ondewo.nlu.Users/ListUserInfos',
503
- request,
504
- metadata || {},
505
- methodDescriptor_Users_ListUserInfos);
469
+ proto.ondewo.nlu.UsersPromiseClient.prototype.listUserInfos = function (request, metadata) {
470
+ return this.client_.unaryCall(
471
+ this.hostname_ + '/ondewo.nlu.Users/ListUserInfos',
472
+ request,
473
+ metadata || {},
474
+ methodDescriptor_Users_ListUserInfos
475
+ );
506
476
  };
507
477
 
508
-
509
478
  /**
510
479
  * @const
511
480
  * @type {!grpc.web.MethodDescriptor<
@@ -513,21 +482,20 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.listUserInfos =
513
482
  * !proto.ondewo.nlu.ServerRole>}
514
483
  */
515
484
  const methodDescriptor_Users_CreateServerRole = new grpc.web.MethodDescriptor(
516
- '/ondewo.nlu.Users/CreateServerRole',
517
- grpc.web.MethodType.UNARY,
518
- proto.ondewo.nlu.CreateServerRoleRequest,
519
- proto.ondewo.nlu.ServerRole,
520
- /**
521
- * @param {!proto.ondewo.nlu.CreateServerRoleRequest} request
522
- * @return {!Uint8Array}
523
- */
524
- function(request) {
525
- return request.serializeBinary();
526
- },
527
- proto.ondewo.nlu.ServerRole.deserializeBinary
485
+ '/ondewo.nlu.Users/CreateServerRole',
486
+ grpc.web.MethodType.UNARY,
487
+ proto.ondewo.nlu.CreateServerRoleRequest,
488
+ proto.ondewo.nlu.ServerRole,
489
+ /**
490
+ * @param {!proto.ondewo.nlu.CreateServerRoleRequest} request
491
+ * @return {!Uint8Array}
492
+ */
493
+ function (request) {
494
+ return request.serializeBinary();
495
+ },
496
+ proto.ondewo.nlu.ServerRole.deserializeBinary
528
497
  );
529
498
 
530
-
531
499
  /**
532
500
  * @param {!proto.ondewo.nlu.CreateServerRoleRequest} request The
533
501
  * request proto
@@ -538,17 +506,16 @@ const methodDescriptor_Users_CreateServerRole = new grpc.web.MethodDescriptor(
538
506
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ServerRole>|undefined}
539
507
  * The XHR Node Readable Stream
540
508
  */
541
- proto.ondewo.nlu.UsersClient.prototype.createServerRole =
542
- function(request, metadata, callback) {
543
- return this.client_.rpcCall(this.hostname_ +
544
- '/ondewo.nlu.Users/CreateServerRole',
545
- request,
546
- metadata || {},
547
- methodDescriptor_Users_CreateServerRole,
548
- callback);
509
+ proto.ondewo.nlu.UsersClient.prototype.createServerRole = function (request, metadata, callback) {
510
+ return this.client_.rpcCall(
511
+ this.hostname_ + '/ondewo.nlu.Users/CreateServerRole',
512
+ request,
513
+ metadata || {},
514
+ methodDescriptor_Users_CreateServerRole,
515
+ callback
516
+ );
549
517
  };
550
518
 
551
-
552
519
  /**
553
520
  * @param {!proto.ondewo.nlu.CreateServerRoleRequest} request The
554
521
  * request proto
@@ -557,16 +524,15 @@ proto.ondewo.nlu.UsersClient.prototype.createServerRole =
557
524
  * @return {!Promise<!proto.ondewo.nlu.ServerRole>}
558
525
  * Promise that resolves to the response
559
526
  */
560
- proto.ondewo.nlu.UsersPromiseClient.prototype.createServerRole =
561
- function(request, metadata) {
562
- return this.client_.unaryCall(this.hostname_ +
563
- '/ondewo.nlu.Users/CreateServerRole',
564
- request,
565
- metadata || {},
566
- methodDescriptor_Users_CreateServerRole);
527
+ proto.ondewo.nlu.UsersPromiseClient.prototype.createServerRole = function (request, metadata) {
528
+ return this.client_.unaryCall(
529
+ this.hostname_ + '/ondewo.nlu.Users/CreateServerRole',
530
+ request,
531
+ metadata || {},
532
+ methodDescriptor_Users_CreateServerRole
533
+ );
567
534
  };
568
535
 
569
-
570
536
  /**
571
537
  * @const
572
538
  * @type {!grpc.web.MethodDescriptor<
@@ -574,21 +540,20 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.createServerRole =
574
540
  * !proto.ondewo.nlu.ServerRole>}
575
541
  */
576
542
  const methodDescriptor_Users_GetServerRole = new grpc.web.MethodDescriptor(
577
- '/ondewo.nlu.Users/GetServerRole',
578
- grpc.web.MethodType.UNARY,
579
- proto.ondewo.nlu.GetServerRoleRequest,
580
- proto.ondewo.nlu.ServerRole,
581
- /**
582
- * @param {!proto.ondewo.nlu.GetServerRoleRequest} request
583
- * @return {!Uint8Array}
584
- */
585
- function(request) {
586
- return request.serializeBinary();
587
- },
588
- proto.ondewo.nlu.ServerRole.deserializeBinary
543
+ '/ondewo.nlu.Users/GetServerRole',
544
+ grpc.web.MethodType.UNARY,
545
+ proto.ondewo.nlu.GetServerRoleRequest,
546
+ proto.ondewo.nlu.ServerRole,
547
+ /**
548
+ * @param {!proto.ondewo.nlu.GetServerRoleRequest} request
549
+ * @return {!Uint8Array}
550
+ */
551
+ function (request) {
552
+ return request.serializeBinary();
553
+ },
554
+ proto.ondewo.nlu.ServerRole.deserializeBinary
589
555
  );
590
556
 
591
-
592
557
  /**
593
558
  * @param {!proto.ondewo.nlu.GetServerRoleRequest} request The
594
559
  * request proto
@@ -599,17 +564,16 @@ const methodDescriptor_Users_GetServerRole = new grpc.web.MethodDescriptor(
599
564
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ServerRole>|undefined}
600
565
  * The XHR Node Readable Stream
601
566
  */
602
- proto.ondewo.nlu.UsersClient.prototype.getServerRole =
603
- function(request, metadata, callback) {
604
- return this.client_.rpcCall(this.hostname_ +
605
- '/ondewo.nlu.Users/GetServerRole',
606
- request,
607
- metadata || {},
608
- methodDescriptor_Users_GetServerRole,
609
- callback);
567
+ proto.ondewo.nlu.UsersClient.prototype.getServerRole = function (request, metadata, callback) {
568
+ return this.client_.rpcCall(
569
+ this.hostname_ + '/ondewo.nlu.Users/GetServerRole',
570
+ request,
571
+ metadata || {},
572
+ methodDescriptor_Users_GetServerRole,
573
+ callback
574
+ );
610
575
  };
611
576
 
612
-
613
577
  /**
614
578
  * @param {!proto.ondewo.nlu.GetServerRoleRequest} request The
615
579
  * request proto
@@ -618,16 +582,15 @@ proto.ondewo.nlu.UsersClient.prototype.getServerRole =
618
582
  * @return {!Promise<!proto.ondewo.nlu.ServerRole>}
619
583
  * Promise that resolves to the response
620
584
  */
621
- proto.ondewo.nlu.UsersPromiseClient.prototype.getServerRole =
622
- function(request, metadata) {
623
- return this.client_.unaryCall(this.hostname_ +
624
- '/ondewo.nlu.Users/GetServerRole',
625
- request,
626
- metadata || {},
627
- methodDescriptor_Users_GetServerRole);
585
+ proto.ondewo.nlu.UsersPromiseClient.prototype.getServerRole = function (request, metadata) {
586
+ return this.client_.unaryCall(
587
+ this.hostname_ + '/ondewo.nlu.Users/GetServerRole',
588
+ request,
589
+ metadata || {},
590
+ methodDescriptor_Users_GetServerRole
591
+ );
628
592
  };
629
593
 
630
-
631
594
  /**
632
595
  * @const
633
596
  * @type {!grpc.web.MethodDescriptor<
@@ -635,21 +598,20 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.getServerRole =
635
598
  * !proto.google.protobuf.Empty>}
636
599
  */
637
600
  const methodDescriptor_Users_DeleteServerRole = new grpc.web.MethodDescriptor(
638
- '/ondewo.nlu.Users/DeleteServerRole',
639
- grpc.web.MethodType.UNARY,
640
- proto.ondewo.nlu.DeleteServerRoleRequest,
641
- google_protobuf_empty_pb.Empty,
642
- /**
643
- * @param {!proto.ondewo.nlu.DeleteServerRoleRequest} request
644
- * @return {!Uint8Array}
645
- */
646
- function(request) {
647
- return request.serializeBinary();
648
- },
649
- google_protobuf_empty_pb.Empty.deserializeBinary
601
+ '/ondewo.nlu.Users/DeleteServerRole',
602
+ grpc.web.MethodType.UNARY,
603
+ proto.ondewo.nlu.DeleteServerRoleRequest,
604
+ google_protobuf_empty_pb.Empty,
605
+ /**
606
+ * @param {!proto.ondewo.nlu.DeleteServerRoleRequest} request
607
+ * @return {!Uint8Array}
608
+ */
609
+ function (request) {
610
+ return request.serializeBinary();
611
+ },
612
+ google_protobuf_empty_pb.Empty.deserializeBinary
650
613
  );
651
614
 
652
-
653
615
  /**
654
616
  * @param {!proto.ondewo.nlu.DeleteServerRoleRequest} request The
655
617
  * request proto
@@ -660,17 +622,16 @@ const methodDescriptor_Users_DeleteServerRole = new grpc.web.MethodDescriptor(
660
622
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
661
623
  * The XHR Node Readable Stream
662
624
  */
663
- proto.ondewo.nlu.UsersClient.prototype.deleteServerRole =
664
- function(request, metadata, callback) {
665
- return this.client_.rpcCall(this.hostname_ +
666
- '/ondewo.nlu.Users/DeleteServerRole',
667
- request,
668
- metadata || {},
669
- methodDescriptor_Users_DeleteServerRole,
670
- callback);
625
+ proto.ondewo.nlu.UsersClient.prototype.deleteServerRole = function (request, metadata, callback) {
626
+ return this.client_.rpcCall(
627
+ this.hostname_ + '/ondewo.nlu.Users/DeleteServerRole',
628
+ request,
629
+ metadata || {},
630
+ methodDescriptor_Users_DeleteServerRole,
631
+ callback
632
+ );
671
633
  };
672
634
 
673
-
674
635
  /**
675
636
  * @param {!proto.ondewo.nlu.DeleteServerRoleRequest} request The
676
637
  * request proto
@@ -679,16 +640,15 @@ proto.ondewo.nlu.UsersClient.prototype.deleteServerRole =
679
640
  * @return {!Promise<!proto.google.protobuf.Empty>}
680
641
  * Promise that resolves to the response
681
642
  */
682
- proto.ondewo.nlu.UsersPromiseClient.prototype.deleteServerRole =
683
- function(request, metadata) {
684
- return this.client_.unaryCall(this.hostname_ +
685
- '/ondewo.nlu.Users/DeleteServerRole',
686
- request,
687
- metadata || {},
688
- methodDescriptor_Users_DeleteServerRole);
643
+ proto.ondewo.nlu.UsersPromiseClient.prototype.deleteServerRole = function (request, metadata) {
644
+ return this.client_.unaryCall(
645
+ this.hostname_ + '/ondewo.nlu.Users/DeleteServerRole',
646
+ request,
647
+ metadata || {},
648
+ methodDescriptor_Users_DeleteServerRole
649
+ );
689
650
  };
690
651
 
691
-
692
652
  /**
693
653
  * @const
694
654
  * @type {!grpc.web.MethodDescriptor<
@@ -696,21 +656,20 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.deleteServerRole =
696
656
  * !proto.ondewo.nlu.ServerRole>}
697
657
  */
698
658
  const methodDescriptor_Users_UpdateServerRole = new grpc.web.MethodDescriptor(
699
- '/ondewo.nlu.Users/UpdateServerRole',
700
- grpc.web.MethodType.UNARY,
701
- proto.ondewo.nlu.UpdateServerRoleRequest,
702
- proto.ondewo.nlu.ServerRole,
703
- /**
704
- * @param {!proto.ondewo.nlu.UpdateServerRoleRequest} request
705
- * @return {!Uint8Array}
706
- */
707
- function(request) {
708
- return request.serializeBinary();
709
- },
710
- proto.ondewo.nlu.ServerRole.deserializeBinary
659
+ '/ondewo.nlu.Users/UpdateServerRole',
660
+ grpc.web.MethodType.UNARY,
661
+ proto.ondewo.nlu.UpdateServerRoleRequest,
662
+ proto.ondewo.nlu.ServerRole,
663
+ /**
664
+ * @param {!proto.ondewo.nlu.UpdateServerRoleRequest} request
665
+ * @return {!Uint8Array}
666
+ */
667
+ function (request) {
668
+ return request.serializeBinary();
669
+ },
670
+ proto.ondewo.nlu.ServerRole.deserializeBinary
711
671
  );
712
672
 
713
-
714
673
  /**
715
674
  * @param {!proto.ondewo.nlu.UpdateServerRoleRequest} request The
716
675
  * request proto
@@ -721,17 +680,16 @@ const methodDescriptor_Users_UpdateServerRole = new grpc.web.MethodDescriptor(
721
680
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ServerRole>|undefined}
722
681
  * The XHR Node Readable Stream
723
682
  */
724
- proto.ondewo.nlu.UsersClient.prototype.updateServerRole =
725
- function(request, metadata, callback) {
726
- return this.client_.rpcCall(this.hostname_ +
727
- '/ondewo.nlu.Users/UpdateServerRole',
728
- request,
729
- metadata || {},
730
- methodDescriptor_Users_UpdateServerRole,
731
- callback);
683
+ proto.ondewo.nlu.UsersClient.prototype.updateServerRole = function (request, metadata, callback) {
684
+ return this.client_.rpcCall(
685
+ this.hostname_ + '/ondewo.nlu.Users/UpdateServerRole',
686
+ request,
687
+ metadata || {},
688
+ methodDescriptor_Users_UpdateServerRole,
689
+ callback
690
+ );
732
691
  };
733
692
 
734
-
735
693
  /**
736
694
  * @param {!proto.ondewo.nlu.UpdateServerRoleRequest} request The
737
695
  * request proto
@@ -740,16 +698,15 @@ proto.ondewo.nlu.UsersClient.prototype.updateServerRole =
740
698
  * @return {!Promise<!proto.ondewo.nlu.ServerRole>}
741
699
  * Promise that resolves to the response
742
700
  */
743
- proto.ondewo.nlu.UsersPromiseClient.prototype.updateServerRole =
744
- function(request, metadata) {
745
- return this.client_.unaryCall(this.hostname_ +
746
- '/ondewo.nlu.Users/UpdateServerRole',
747
- request,
748
- metadata || {},
749
- methodDescriptor_Users_UpdateServerRole);
701
+ proto.ondewo.nlu.UsersPromiseClient.prototype.updateServerRole = function (request, metadata) {
702
+ return this.client_.unaryCall(
703
+ this.hostname_ + '/ondewo.nlu.Users/UpdateServerRole',
704
+ request,
705
+ metadata || {},
706
+ methodDescriptor_Users_UpdateServerRole
707
+ );
750
708
  };
751
709
 
752
-
753
710
  /**
754
711
  * @const
755
712
  * @type {!grpc.web.MethodDescriptor<
@@ -757,21 +714,20 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.updateServerRole =
757
714
  * !proto.ondewo.nlu.ListServerRolesResponse>}
758
715
  */
759
716
  const methodDescriptor_Users_ListServerRoles = new grpc.web.MethodDescriptor(
760
- '/ondewo.nlu.Users/ListServerRoles',
761
- grpc.web.MethodType.UNARY,
762
- proto.ondewo.nlu.ListServerRolesRequest,
763
- proto.ondewo.nlu.ListServerRolesResponse,
764
- /**
765
- * @param {!proto.ondewo.nlu.ListServerRolesRequest} request
766
- * @return {!Uint8Array}
767
- */
768
- function(request) {
769
- return request.serializeBinary();
770
- },
771
- proto.ondewo.nlu.ListServerRolesResponse.deserializeBinary
717
+ '/ondewo.nlu.Users/ListServerRoles',
718
+ grpc.web.MethodType.UNARY,
719
+ proto.ondewo.nlu.ListServerRolesRequest,
720
+ proto.ondewo.nlu.ListServerRolesResponse,
721
+ /**
722
+ * @param {!proto.ondewo.nlu.ListServerRolesRequest} request
723
+ * @return {!Uint8Array}
724
+ */
725
+ function (request) {
726
+ return request.serializeBinary();
727
+ },
728
+ proto.ondewo.nlu.ListServerRolesResponse.deserializeBinary
772
729
  );
773
730
 
774
-
775
731
  /**
776
732
  * @param {!proto.ondewo.nlu.ListServerRolesRequest} request The
777
733
  * request proto
@@ -782,17 +738,16 @@ const methodDescriptor_Users_ListServerRoles = new grpc.web.MethodDescriptor(
782
738
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListServerRolesResponse>|undefined}
783
739
  * The XHR Node Readable Stream
784
740
  */
785
- proto.ondewo.nlu.UsersClient.prototype.listServerRoles =
786
- function(request, metadata, callback) {
787
- return this.client_.rpcCall(this.hostname_ +
788
- '/ondewo.nlu.Users/ListServerRoles',
789
- request,
790
- metadata || {},
791
- methodDescriptor_Users_ListServerRoles,
792
- callback);
741
+ proto.ondewo.nlu.UsersClient.prototype.listServerRoles = function (request, metadata, callback) {
742
+ return this.client_.rpcCall(
743
+ this.hostname_ + '/ondewo.nlu.Users/ListServerRoles',
744
+ request,
745
+ metadata || {},
746
+ methodDescriptor_Users_ListServerRoles,
747
+ callback
748
+ );
793
749
  };
794
750
 
795
-
796
751
  /**
797
752
  * @param {!proto.ondewo.nlu.ListServerRolesRequest} request The
798
753
  * request proto
@@ -801,16 +756,15 @@ proto.ondewo.nlu.UsersClient.prototype.listServerRoles =
801
756
  * @return {!Promise<!proto.ondewo.nlu.ListServerRolesResponse>}
802
757
  * Promise that resolves to the response
803
758
  */
804
- proto.ondewo.nlu.UsersPromiseClient.prototype.listServerRoles =
805
- function(request, metadata) {
806
- return this.client_.unaryCall(this.hostname_ +
807
- '/ondewo.nlu.Users/ListServerRoles',
808
- request,
809
- metadata || {},
810
- methodDescriptor_Users_ListServerRoles);
759
+ proto.ondewo.nlu.UsersPromiseClient.prototype.listServerRoles = function (request, metadata) {
760
+ return this.client_.unaryCall(
761
+ this.hostname_ + '/ondewo.nlu.Users/ListServerRoles',
762
+ request,
763
+ metadata || {},
764
+ methodDescriptor_Users_ListServerRoles
765
+ );
811
766
  };
812
767
 
813
-
814
768
  /**
815
769
  * @const
816
770
  * @type {!grpc.web.MethodDescriptor<
@@ -818,21 +772,20 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.listServerRoles =
818
772
  * !proto.ondewo.nlu.ListServerPermissionsResponse>}
819
773
  */
820
774
  const methodDescriptor_Users_ListServerPermissions = new grpc.web.MethodDescriptor(
821
- '/ondewo.nlu.Users/ListServerPermissions',
822
- grpc.web.MethodType.UNARY,
823
- proto.ondewo.nlu.ListServerPermissionsRequest,
824
- proto.ondewo.nlu.ListServerPermissionsResponse,
825
- /**
826
- * @param {!proto.ondewo.nlu.ListServerPermissionsRequest} request
827
- * @return {!Uint8Array}
828
- */
829
- function(request) {
830
- return request.serializeBinary();
831
- },
832
- proto.ondewo.nlu.ListServerPermissionsResponse.deserializeBinary
775
+ '/ondewo.nlu.Users/ListServerPermissions',
776
+ grpc.web.MethodType.UNARY,
777
+ proto.ondewo.nlu.ListServerPermissionsRequest,
778
+ proto.ondewo.nlu.ListServerPermissionsResponse,
779
+ /**
780
+ * @param {!proto.ondewo.nlu.ListServerPermissionsRequest} request
781
+ * @return {!Uint8Array}
782
+ */
783
+ function (request) {
784
+ return request.serializeBinary();
785
+ },
786
+ proto.ondewo.nlu.ListServerPermissionsResponse.deserializeBinary
833
787
  );
834
788
 
835
-
836
789
  /**
837
790
  * @param {!proto.ondewo.nlu.ListServerPermissionsRequest} request The
838
791
  * request proto
@@ -843,17 +796,16 @@ const methodDescriptor_Users_ListServerPermissions = new grpc.web.MethodDescript
843
796
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListServerPermissionsResponse>|undefined}
844
797
  * The XHR Node Readable Stream
845
798
  */
846
- proto.ondewo.nlu.UsersClient.prototype.listServerPermissions =
847
- function(request, metadata, callback) {
848
- return this.client_.rpcCall(this.hostname_ +
849
- '/ondewo.nlu.Users/ListServerPermissions',
850
- request,
851
- metadata || {},
852
- methodDescriptor_Users_ListServerPermissions,
853
- callback);
799
+ proto.ondewo.nlu.UsersClient.prototype.listServerPermissions = function (request, metadata, callback) {
800
+ return this.client_.rpcCall(
801
+ this.hostname_ + '/ondewo.nlu.Users/ListServerPermissions',
802
+ request,
803
+ metadata || {},
804
+ methodDescriptor_Users_ListServerPermissions,
805
+ callback
806
+ );
854
807
  };
855
808
 
856
-
857
809
  /**
858
810
  * @param {!proto.ondewo.nlu.ListServerPermissionsRequest} request The
859
811
  * request proto
@@ -862,16 +814,15 @@ proto.ondewo.nlu.UsersClient.prototype.listServerPermissions =
862
814
  * @return {!Promise<!proto.ondewo.nlu.ListServerPermissionsResponse>}
863
815
  * Promise that resolves to the response
864
816
  */
865
- proto.ondewo.nlu.UsersPromiseClient.prototype.listServerPermissions =
866
- function(request, metadata) {
867
- return this.client_.unaryCall(this.hostname_ +
868
- '/ondewo.nlu.Users/ListServerPermissions',
869
- request,
870
- metadata || {},
871
- methodDescriptor_Users_ListServerPermissions);
817
+ proto.ondewo.nlu.UsersPromiseClient.prototype.listServerPermissions = function (request, metadata) {
818
+ return this.client_.unaryCall(
819
+ this.hostname_ + '/ondewo.nlu.Users/ListServerPermissions',
820
+ request,
821
+ metadata || {},
822
+ methodDescriptor_Users_ListServerPermissions
823
+ );
872
824
  };
873
825
 
874
-
875
826
  /**
876
827
  * @const
877
828
  * @type {!grpc.web.MethodDescriptor<
@@ -879,21 +830,20 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.listServerPermissions =
879
830
  * !proto.ondewo.nlu.LoginResponse>}
880
831
  */
881
832
  const methodDescriptor_Users_Login = new grpc.web.MethodDescriptor(
882
- '/ondewo.nlu.Users/Login',
883
- grpc.web.MethodType.UNARY,
884
- proto.ondewo.nlu.LoginRequest,
885
- proto.ondewo.nlu.LoginResponse,
886
- /**
887
- * @param {!proto.ondewo.nlu.LoginRequest} request
888
- * @return {!Uint8Array}
889
- */
890
- function(request) {
891
- return request.serializeBinary();
892
- },
893
- proto.ondewo.nlu.LoginResponse.deserializeBinary
833
+ '/ondewo.nlu.Users/Login',
834
+ grpc.web.MethodType.UNARY,
835
+ proto.ondewo.nlu.LoginRequest,
836
+ proto.ondewo.nlu.LoginResponse,
837
+ /**
838
+ * @param {!proto.ondewo.nlu.LoginRequest} request
839
+ * @return {!Uint8Array}
840
+ */
841
+ function (request) {
842
+ return request.serializeBinary();
843
+ },
844
+ proto.ondewo.nlu.LoginResponse.deserializeBinary
894
845
  );
895
846
 
896
-
897
847
  /**
898
848
  * @param {!proto.ondewo.nlu.LoginRequest} request The
899
849
  * request proto
@@ -904,17 +854,16 @@ const methodDescriptor_Users_Login = new grpc.web.MethodDescriptor(
904
854
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.LoginResponse>|undefined}
905
855
  * The XHR Node Readable Stream
906
856
  */
907
- proto.ondewo.nlu.UsersClient.prototype.login =
908
- function(request, metadata, callback) {
909
- return this.client_.rpcCall(this.hostname_ +
910
- '/ondewo.nlu.Users/Login',
911
- request,
912
- metadata || {},
913
- methodDescriptor_Users_Login,
914
- callback);
857
+ proto.ondewo.nlu.UsersClient.prototype.login = function (request, metadata, callback) {
858
+ return this.client_.rpcCall(
859
+ this.hostname_ + '/ondewo.nlu.Users/Login',
860
+ request,
861
+ metadata || {},
862
+ methodDescriptor_Users_Login,
863
+ callback
864
+ );
915
865
  };
916
866
 
917
-
918
867
  /**
919
868
  * @param {!proto.ondewo.nlu.LoginRequest} request The
920
869
  * request proto
@@ -923,16 +872,15 @@ proto.ondewo.nlu.UsersClient.prototype.login =
923
872
  * @return {!Promise<!proto.ondewo.nlu.LoginResponse>}
924
873
  * Promise that resolves to the response
925
874
  */
926
- proto.ondewo.nlu.UsersPromiseClient.prototype.login =
927
- function(request, metadata) {
928
- return this.client_.unaryCall(this.hostname_ +
929
- '/ondewo.nlu.Users/Login',
930
- request,
931
- metadata || {},
932
- methodDescriptor_Users_Login);
875
+ proto.ondewo.nlu.UsersPromiseClient.prototype.login = function (request, metadata) {
876
+ return this.client_.unaryCall(
877
+ this.hostname_ + '/ondewo.nlu.Users/Login',
878
+ request,
879
+ metadata || {},
880
+ methodDescriptor_Users_Login
881
+ );
933
882
  };
934
883
 
935
-
936
884
  /**
937
885
  * @const
938
886
  * @type {!grpc.web.MethodDescriptor<
@@ -940,21 +888,20 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.login =
940
888
  * !proto.google.protobuf.Empty>}
941
889
  */
942
890
  const methodDescriptor_Users_CheckLogin = new grpc.web.MethodDescriptor(
943
- '/ondewo.nlu.Users/CheckLogin',
944
- grpc.web.MethodType.UNARY,
945
- google_protobuf_empty_pb.Empty,
946
- google_protobuf_empty_pb.Empty,
947
- /**
948
- * @param {!proto.google.protobuf.Empty} request
949
- * @return {!Uint8Array}
950
- */
951
- function(request) {
952
- return request.serializeBinary();
953
- },
954
- google_protobuf_empty_pb.Empty.deserializeBinary
891
+ '/ondewo.nlu.Users/CheckLogin',
892
+ grpc.web.MethodType.UNARY,
893
+ google_protobuf_empty_pb.Empty,
894
+ google_protobuf_empty_pb.Empty,
895
+ /**
896
+ * @param {!proto.google.protobuf.Empty} request
897
+ * @return {!Uint8Array}
898
+ */
899
+ function (request) {
900
+ return request.serializeBinary();
901
+ },
902
+ google_protobuf_empty_pb.Empty.deserializeBinary
955
903
  );
956
904
 
957
-
958
905
  /**
959
906
  * @param {!proto.google.protobuf.Empty} request The
960
907
  * request proto
@@ -965,17 +912,16 @@ const methodDescriptor_Users_CheckLogin = new grpc.web.MethodDescriptor(
965
912
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
966
913
  * The XHR Node Readable Stream
967
914
  */
968
- proto.ondewo.nlu.UsersClient.prototype.checkLogin =
969
- function(request, metadata, callback) {
970
- return this.client_.rpcCall(this.hostname_ +
971
- '/ondewo.nlu.Users/CheckLogin',
972
- request,
973
- metadata || {},
974
- methodDescriptor_Users_CheckLogin,
975
- callback);
915
+ proto.ondewo.nlu.UsersClient.prototype.checkLogin = function (request, metadata, callback) {
916
+ return this.client_.rpcCall(
917
+ this.hostname_ + '/ondewo.nlu.Users/CheckLogin',
918
+ request,
919
+ metadata || {},
920
+ methodDescriptor_Users_CheckLogin,
921
+ callback
922
+ );
976
923
  };
977
924
 
978
-
979
925
  /**
980
926
  * @param {!proto.google.protobuf.Empty} request The
981
927
  * request proto
@@ -984,15 +930,13 @@ proto.ondewo.nlu.UsersClient.prototype.checkLogin =
984
930
  * @return {!Promise<!proto.google.protobuf.Empty>}
985
931
  * Promise that resolves to the response
986
932
  */
987
- proto.ondewo.nlu.UsersPromiseClient.prototype.checkLogin =
988
- function(request, metadata) {
989
- return this.client_.unaryCall(this.hostname_ +
990
- '/ondewo.nlu.Users/CheckLogin',
991
- request,
992
- metadata || {},
993
- methodDescriptor_Users_CheckLogin);
933
+ proto.ondewo.nlu.UsersPromiseClient.prototype.checkLogin = function (request, metadata) {
934
+ return this.client_.unaryCall(
935
+ this.hostname_ + '/ondewo.nlu.Users/CheckLogin',
936
+ request,
937
+ metadata || {},
938
+ methodDescriptor_Users_CheckLogin
939
+ );
994
940
  };
995
941
 
996
-
997
942
  module.exports = proto.ondewo.nlu;
998
-