@ondewo/nlu-client-typescript 4.1.0 → 4.2.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 +490 -450
  2. package/api/ondewo/nlu/agent_grpc_web_pb.js +1244 -1113
  3. package/api/ondewo/nlu/agent_pb.d.ts +1751 -1939
  4. package/api/ondewo/nlu/agent_pb.js +10484 -9063
  5. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +106 -98
  6. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +280 -245
  7. package/api/ondewo/nlu/aiservices_pb.d.ts +674 -745
  8. package/api/ondewo/nlu/aiservices_pb.js +4403 -3638
  9. package/api/ondewo/nlu/common_pb.d.ts +17 -15
  10. package/api/ondewo/nlu/common_pb.js +93 -83
  11. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +82 -76
  12. package/api/ondewo/nlu/context_grpc_web_pb.js +220 -191
  13. package/api/ondewo/nlu/context_pb.d.ts +151 -151
  14. package/api/ondewo/nlu/context_pb.js +1042 -889
  15. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +154 -142
  16. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +398 -351
  17. package/api/ondewo/nlu/entity_type_pb.d.ts +571 -614
  18. package/api/ondewo/nlu/entity_type_pb.js +3369 -2893
  19. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +334 -310
  20. package/api/ondewo/nlu/intent_grpc_web_pb.js +851 -766
  21. package/api/ondewo/nlu/intent_pb.d.ts +1993 -2151
  22. package/api/ondewo/nlu/intent_pb.js +10692 -9502
  23. package/api/ondewo/nlu/operation_metadata_pb.d.ts +88 -86
  24. package/api/ondewo/nlu/operation_metadata_pb.js +412 -321
  25. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +50 -46
  26. package/api/ondewo/nlu/operations_grpc_web_pb.js +163 -140
  27. package/api/ondewo/nlu/operations_pb.d.ts +182 -189
  28. package/api/ondewo/nlu/operations_pb.js +1004 -843
  29. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +70 -65
  30. package/api/ondewo/nlu/project_role_grpc_web_pb.js +190 -164
  31. package/api/ondewo/nlu/project_role_pb.d.ts +151 -165
  32. package/api/ondewo/nlu/project_role_pb.js +963 -796
  33. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +106 -98
  34. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +281 -246
  35. package/api/ondewo/nlu/project_statistics_pb.d.ts +63 -67
  36. package/api/ondewo/nlu/project_statistics_pb.js +418 -354
  37. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +46 -43
  38. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +130 -110
  39. package/api/ondewo/nlu/server_statistics_pb.d.ts +14 -15
  40. package/api/ondewo/nlu/server_statistics_pb.js +91 -81
  41. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +334 -164
  42. package/api/ondewo/nlu/session_grpc_web_pb.js +1255 -409
  43. package/api/ondewo/nlu/session_pb.d.ts +1721 -1080
  44. package/api/ondewo/nlu/session_pb.js +13885 -6673
  45. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +190 -172
  46. package/api/ondewo/nlu/user_grpc_web_pb.js +487 -431
  47. package/api/ondewo/nlu/user_pb.d.ts +325 -345
  48. package/api/ondewo/nlu/user_pb.js +2312 -1948
  49. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +106 -98
  50. package/api/ondewo/nlu/utility_grpc_web_pb.js +279 -244
  51. package/api/ondewo/nlu/utility_pb.d.ts +535 -588
  52. package/api/ondewo/nlu/utility_pb.js +3348 -2814
  53. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +46 -43
  54. package/api/ondewo/nlu/webhook_grpc_web_pb.js +132 -112
  55. package/api/ondewo/nlu/webhook_pb.d.ts +119 -123
  56. package/api/ondewo/nlu/webhook_pb.js +718 -599
  57. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +94 -87
  58. package/api/ondewo/qa/qa_grpc_web_pb.js +250 -218
  59. package/api/ondewo/qa/qa_pb.d.ts +220 -235
  60. package/api/ondewo/qa/qa_pb.js +1452 -1222
  61. package/package.json +1 -1
  62. package/public-api.d.ts +30 -0
@@ -6,19 +6,23 @@
6
6
 
7
7
  // GENERATED CODE -- DO NOT EDIT!
8
8
 
9
+
9
10
  /* eslint-disable */
10
11
  // @ts-nocheck
11
12
 
13
+
14
+
12
15
  const grpc = {};
13
16
  grpc.web = require('grpc-web');
14
17
 
15
- var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
16
18
 
17
- var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
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')
18
22
 
19
- var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
23
+ var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
20
24
 
21
- var ondewo_nlu_project_role_pb = require('../../ondewo/nlu/project_role_pb.js');
25
+ var ondewo_nlu_project_role_pb = require('../../ondewo/nlu/project_role_pb.js')
22
26
  const proto = {};
23
27
  proto.ondewo = {};
24
28
  proto.ondewo.nlu = require('./user_pb.js');
@@ -31,21 +35,24 @@ proto.ondewo.nlu = require('./user_pb.js');
31
35
  * @struct
32
36
  * @final
33
37
  */
34
- proto.ondewo.nlu.UsersClient = function (hostname, credentials, options) {
35
- if (!options) options = {};
36
- options.format = 'binary';
38
+ proto.ondewo.nlu.UsersClient =
39
+ function(hostname, credentials, options) {
40
+ if (!options) options = {};
41
+ options.format = 'binary';
37
42
 
38
- /**
39
- * @private @const {!grpc.web.GrpcWebClientBase} The client
40
- */
41
- this.client_ = new grpc.web.GrpcWebClientBase(options);
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;
42
52
 
43
- /**
44
- * @private @const {string} The hostname
45
- */
46
- this.hostname_ = hostname;
47
53
  };
48
54
 
55
+
49
56
  /**
50
57
  * @param {string} hostname
51
58
  * @param {?Object} credentials
@@ -54,21 +61,24 @@ proto.ondewo.nlu.UsersClient = function (hostname, credentials, options) {
54
61
  * @struct
55
62
  * @final
56
63
  */
57
- proto.ondewo.nlu.UsersPromiseClient = function (hostname, credentials, options) {
58
- if (!options) options = {};
59
- options.format = 'binary';
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);
60
73
 
61
- /**
62
- * @private @const {!grpc.web.GrpcWebClientBase} The client
63
- */
64
- this.client_ = new grpc.web.GrpcWebClientBase(options);
74
+ /**
75
+ * @private @const {string} The hostname
76
+ */
77
+ this.hostname_ = hostname;
65
78
 
66
- /**
67
- * @private @const {string} The hostname
68
- */
69
- this.hostname_ = hostname;
70
79
  };
71
80
 
81
+
72
82
  /**
73
83
  * @const
74
84
  * @type {!grpc.web.MethodDescriptor<
@@ -76,20 +86,21 @@ proto.ondewo.nlu.UsersPromiseClient = function (hostname, credentials, options)
76
86
  * !proto.ondewo.nlu.User>}
77
87
  */
78
88
  const methodDescriptor_Users_CreateUser = new grpc.web.MethodDescriptor(
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
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
91
101
  );
92
102
 
103
+
93
104
  /**
94
105
  * @param {!proto.ondewo.nlu.CreateUserRequest} request The
95
106
  * request proto
@@ -100,16 +111,17 @@ const methodDescriptor_Users_CreateUser = new grpc.web.MethodDescriptor(
100
111
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.User>|undefined}
101
112
  * The XHR Node Readable Stream
102
113
  */
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
- );
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);
111
122
  };
112
123
 
124
+
113
125
  /**
114
126
  * @param {!proto.ondewo.nlu.CreateUserRequest} request The
115
127
  * request proto
@@ -118,15 +130,16 @@ proto.ondewo.nlu.UsersClient.prototype.createUser = function (request, metadata,
118
130
  * @return {!Promise<!proto.ondewo.nlu.User>}
119
131
  * Promise that resolves to the response
120
132
  */
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
- );
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);
128
140
  };
129
141
 
142
+
130
143
  /**
131
144
  * @const
132
145
  * @type {!grpc.web.MethodDescriptor<
@@ -134,20 +147,21 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.createUser = function (request, me
134
147
  * !proto.ondewo.nlu.User>}
135
148
  */
136
149
  const methodDescriptor_Users_GetUser = new grpc.web.MethodDescriptor(
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
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
149
162
  );
150
163
 
164
+
151
165
  /**
152
166
  * @param {!proto.ondewo.nlu.GetUserRequest} request The
153
167
  * request proto
@@ -158,16 +172,17 @@ const methodDescriptor_Users_GetUser = new grpc.web.MethodDescriptor(
158
172
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.User>|undefined}
159
173
  * The XHR Node Readable Stream
160
174
  */
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
- );
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);
169
183
  };
170
184
 
185
+
171
186
  /**
172
187
  * @param {!proto.ondewo.nlu.GetUserRequest} request The
173
188
  * request proto
@@ -176,15 +191,16 @@ proto.ondewo.nlu.UsersClient.prototype.getUser = function (request, metadata, ca
176
191
  * @return {!Promise<!proto.ondewo.nlu.User>}
177
192
  * Promise that resolves to the response
178
193
  */
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
- );
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);
186
201
  };
187
202
 
203
+
188
204
  /**
189
205
  * @const
190
206
  * @type {!grpc.web.MethodDescriptor<
@@ -192,20 +208,21 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.getUser = function (request, metad
192
208
  * !proto.ondewo.nlu.UserInfo>}
193
209
  */
194
210
  const methodDescriptor_Users_GetUserInfo = new grpc.web.MethodDescriptor(
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
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
207
223
  );
208
224
 
225
+
209
226
  /**
210
227
  * @param {!proto.ondewo.nlu.GetUserRequest} request The
211
228
  * request proto
@@ -216,16 +233,17 @@ const methodDescriptor_Users_GetUserInfo = new grpc.web.MethodDescriptor(
216
233
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.UserInfo>|undefined}
217
234
  * The XHR Node Readable Stream
218
235
  */
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
- );
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);
227
244
  };
228
245
 
246
+
229
247
  /**
230
248
  * @param {!proto.ondewo.nlu.GetUserRequest} request The
231
249
  * request proto
@@ -234,15 +252,16 @@ proto.ondewo.nlu.UsersClient.prototype.getUserInfo = function (request, metadata
234
252
  * @return {!Promise<!proto.ondewo.nlu.UserInfo>}
235
253
  * Promise that resolves to the response
236
254
  */
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
- );
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);
244
262
  };
245
263
 
264
+
246
265
  /**
247
266
  * @const
248
267
  * @type {!grpc.web.MethodDescriptor<
@@ -250,20 +269,21 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.getUserInfo = function (request, m
250
269
  * !proto.google.protobuf.Empty>}
251
270
  */
252
271
  const methodDescriptor_Users_DeleteUser = new grpc.web.MethodDescriptor(
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
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
265
284
  );
266
285
 
286
+
267
287
  /**
268
288
  * @param {!proto.ondewo.nlu.GetUserRequest} request The
269
289
  * request proto
@@ -274,16 +294,17 @@ const methodDescriptor_Users_DeleteUser = new grpc.web.MethodDescriptor(
274
294
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
275
295
  * The XHR Node Readable Stream
276
296
  */
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
- );
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);
285
305
  };
286
306
 
307
+
287
308
  /**
288
309
  * @param {!proto.ondewo.nlu.GetUserRequest} request The
289
310
  * request proto
@@ -292,15 +313,16 @@ proto.ondewo.nlu.UsersClient.prototype.deleteUser = function (request, metadata,
292
313
  * @return {!Promise<!proto.google.protobuf.Empty>}
293
314
  * Promise that resolves to the response
294
315
  */
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
- );
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);
302
323
  };
303
324
 
325
+
304
326
  /**
305
327
  * @const
306
328
  * @type {!grpc.web.MethodDescriptor<
@@ -308,20 +330,21 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.deleteUser = function (request, me
308
330
  * !proto.ondewo.nlu.User>}
309
331
  */
310
332
  const methodDescriptor_Users_UpdateUser = new grpc.web.MethodDescriptor(
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
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
323
345
  );
324
346
 
347
+
325
348
  /**
326
349
  * @param {!proto.ondewo.nlu.UpdateUserRequest} request The
327
350
  * request proto
@@ -332,16 +355,17 @@ const methodDescriptor_Users_UpdateUser = new grpc.web.MethodDescriptor(
332
355
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.User>|undefined}
333
356
  * The XHR Node Readable Stream
334
357
  */
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
- );
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);
343
366
  };
344
367
 
368
+
345
369
  /**
346
370
  * @param {!proto.ondewo.nlu.UpdateUserRequest} request The
347
371
  * request proto
@@ -350,15 +374,16 @@ proto.ondewo.nlu.UsersClient.prototype.updateUser = function (request, metadata,
350
374
  * @return {!Promise<!proto.ondewo.nlu.User>}
351
375
  * Promise that resolves to the response
352
376
  */
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
- );
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);
360
384
  };
361
385
 
386
+
362
387
  /**
363
388
  * @const
364
389
  * @type {!grpc.web.MethodDescriptor<
@@ -366,20 +391,21 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.updateUser = function (request, me
366
391
  * !proto.ondewo.nlu.ListUsersResponse>}
367
392
  */
368
393
  const methodDescriptor_Users_ListUsers = new grpc.web.MethodDescriptor(
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
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
381
406
  );
382
407
 
408
+
383
409
  /**
384
410
  * @param {!proto.ondewo.nlu.ListUsersRequest} request The
385
411
  * request proto
@@ -390,16 +416,17 @@ const methodDescriptor_Users_ListUsers = new grpc.web.MethodDescriptor(
390
416
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListUsersResponse>|undefined}
391
417
  * The XHR Node Readable Stream
392
418
  */
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
- );
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);
401
427
  };
402
428
 
429
+
403
430
  /**
404
431
  * @param {!proto.ondewo.nlu.ListUsersRequest} request The
405
432
  * request proto
@@ -408,15 +435,16 @@ proto.ondewo.nlu.UsersClient.prototype.listUsers = function (request, metadata,
408
435
  * @return {!Promise<!proto.ondewo.nlu.ListUsersResponse>}
409
436
  * Promise that resolves to the response
410
437
  */
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
- );
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);
418
445
  };
419
446
 
447
+
420
448
  /**
421
449
  * @const
422
450
  * @type {!grpc.web.MethodDescriptor<
@@ -424,20 +452,21 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.listUsers = function (request, met
424
452
  * !proto.ondewo.nlu.ListUserInfosResponse>}
425
453
  */
426
454
  const methodDescriptor_Users_ListUserInfos = new grpc.web.MethodDescriptor(
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
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
439
467
  );
440
468
 
469
+
441
470
  /**
442
471
  * @param {!proto.ondewo.nlu.ListUsersRequest} request The
443
472
  * request proto
@@ -448,16 +477,17 @@ const methodDescriptor_Users_ListUserInfos = new grpc.web.MethodDescriptor(
448
477
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListUserInfosResponse>|undefined}
449
478
  * The XHR Node Readable Stream
450
479
  */
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
- );
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);
459
488
  };
460
489
 
490
+
461
491
  /**
462
492
  * @param {!proto.ondewo.nlu.ListUsersRequest} request The
463
493
  * request proto
@@ -466,15 +496,16 @@ proto.ondewo.nlu.UsersClient.prototype.listUserInfos = function (request, metada
466
496
  * @return {!Promise<!proto.ondewo.nlu.ListUserInfosResponse>}
467
497
  * Promise that resolves to the response
468
498
  */
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
- );
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);
476
506
  };
477
507
 
508
+
478
509
  /**
479
510
  * @const
480
511
  * @type {!grpc.web.MethodDescriptor<
@@ -482,20 +513,21 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.listUserInfos = function (request,
482
513
  * !proto.ondewo.nlu.ServerRole>}
483
514
  */
484
515
  const methodDescriptor_Users_CreateServerRole = new grpc.web.MethodDescriptor(
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
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
497
528
  );
498
529
 
530
+
499
531
  /**
500
532
  * @param {!proto.ondewo.nlu.CreateServerRoleRequest} request The
501
533
  * request proto
@@ -506,16 +538,17 @@ const methodDescriptor_Users_CreateServerRole = new grpc.web.MethodDescriptor(
506
538
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ServerRole>|undefined}
507
539
  * The XHR Node Readable Stream
508
540
  */
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
- );
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);
517
549
  };
518
550
 
551
+
519
552
  /**
520
553
  * @param {!proto.ondewo.nlu.CreateServerRoleRequest} request The
521
554
  * request proto
@@ -524,15 +557,16 @@ proto.ondewo.nlu.UsersClient.prototype.createServerRole = function (request, met
524
557
  * @return {!Promise<!proto.ondewo.nlu.ServerRole>}
525
558
  * Promise that resolves to the response
526
559
  */
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
- );
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);
534
567
  };
535
568
 
569
+
536
570
  /**
537
571
  * @const
538
572
  * @type {!grpc.web.MethodDescriptor<
@@ -540,20 +574,21 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.createServerRole = function (reque
540
574
  * !proto.ondewo.nlu.ServerRole>}
541
575
  */
542
576
  const methodDescriptor_Users_GetServerRole = new grpc.web.MethodDescriptor(
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
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
555
589
  );
556
590
 
591
+
557
592
  /**
558
593
  * @param {!proto.ondewo.nlu.GetServerRoleRequest} request The
559
594
  * request proto
@@ -564,16 +599,17 @@ const methodDescriptor_Users_GetServerRole = new grpc.web.MethodDescriptor(
564
599
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ServerRole>|undefined}
565
600
  * The XHR Node Readable Stream
566
601
  */
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
- );
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);
575
610
  };
576
611
 
612
+
577
613
  /**
578
614
  * @param {!proto.ondewo.nlu.GetServerRoleRequest} request The
579
615
  * request proto
@@ -582,15 +618,16 @@ proto.ondewo.nlu.UsersClient.prototype.getServerRole = function (request, metada
582
618
  * @return {!Promise<!proto.ondewo.nlu.ServerRole>}
583
619
  * Promise that resolves to the response
584
620
  */
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
- );
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);
592
628
  };
593
629
 
630
+
594
631
  /**
595
632
  * @const
596
633
  * @type {!grpc.web.MethodDescriptor<
@@ -598,20 +635,21 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.getServerRole = function (request,
598
635
  * !proto.google.protobuf.Empty>}
599
636
  */
600
637
  const methodDescriptor_Users_DeleteServerRole = new grpc.web.MethodDescriptor(
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
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
613
650
  );
614
651
 
652
+
615
653
  /**
616
654
  * @param {!proto.ondewo.nlu.DeleteServerRoleRequest} request The
617
655
  * request proto
@@ -622,16 +660,17 @@ const methodDescriptor_Users_DeleteServerRole = new grpc.web.MethodDescriptor(
622
660
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
623
661
  * The XHR Node Readable Stream
624
662
  */
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
- );
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);
633
671
  };
634
672
 
673
+
635
674
  /**
636
675
  * @param {!proto.ondewo.nlu.DeleteServerRoleRequest} request The
637
676
  * request proto
@@ -640,15 +679,16 @@ proto.ondewo.nlu.UsersClient.prototype.deleteServerRole = function (request, met
640
679
  * @return {!Promise<!proto.google.protobuf.Empty>}
641
680
  * Promise that resolves to the response
642
681
  */
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
- );
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);
650
689
  };
651
690
 
691
+
652
692
  /**
653
693
  * @const
654
694
  * @type {!grpc.web.MethodDescriptor<
@@ -656,20 +696,21 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.deleteServerRole = function (reque
656
696
  * !proto.ondewo.nlu.ServerRole>}
657
697
  */
658
698
  const methodDescriptor_Users_UpdateServerRole = new grpc.web.MethodDescriptor(
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
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
671
711
  );
672
712
 
713
+
673
714
  /**
674
715
  * @param {!proto.ondewo.nlu.UpdateServerRoleRequest} request The
675
716
  * request proto
@@ -680,16 +721,17 @@ const methodDescriptor_Users_UpdateServerRole = new grpc.web.MethodDescriptor(
680
721
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ServerRole>|undefined}
681
722
  * The XHR Node Readable Stream
682
723
  */
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
- );
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);
691
732
  };
692
733
 
734
+
693
735
  /**
694
736
  * @param {!proto.ondewo.nlu.UpdateServerRoleRequest} request The
695
737
  * request proto
@@ -698,15 +740,16 @@ proto.ondewo.nlu.UsersClient.prototype.updateServerRole = function (request, met
698
740
  * @return {!Promise<!proto.ondewo.nlu.ServerRole>}
699
741
  * Promise that resolves to the response
700
742
  */
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
- );
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);
708
750
  };
709
751
 
752
+
710
753
  /**
711
754
  * @const
712
755
  * @type {!grpc.web.MethodDescriptor<
@@ -714,20 +757,21 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.updateServerRole = function (reque
714
757
  * !proto.ondewo.nlu.ListServerRolesResponse>}
715
758
  */
716
759
  const methodDescriptor_Users_ListServerRoles = new grpc.web.MethodDescriptor(
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
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
729
772
  );
730
773
 
774
+
731
775
  /**
732
776
  * @param {!proto.ondewo.nlu.ListServerRolesRequest} request The
733
777
  * request proto
@@ -738,16 +782,17 @@ const methodDescriptor_Users_ListServerRoles = new grpc.web.MethodDescriptor(
738
782
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListServerRolesResponse>|undefined}
739
783
  * The XHR Node Readable Stream
740
784
  */
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
- );
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);
749
793
  };
750
794
 
795
+
751
796
  /**
752
797
  * @param {!proto.ondewo.nlu.ListServerRolesRequest} request The
753
798
  * request proto
@@ -756,15 +801,16 @@ proto.ondewo.nlu.UsersClient.prototype.listServerRoles = function (request, meta
756
801
  * @return {!Promise<!proto.ondewo.nlu.ListServerRolesResponse>}
757
802
  * Promise that resolves to the response
758
803
  */
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
- );
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);
766
811
  };
767
812
 
813
+
768
814
  /**
769
815
  * @const
770
816
  * @type {!grpc.web.MethodDescriptor<
@@ -772,20 +818,21 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.listServerRoles = function (reques
772
818
  * !proto.ondewo.nlu.ListServerPermissionsResponse>}
773
819
  */
774
820
  const methodDescriptor_Users_ListServerPermissions = new grpc.web.MethodDescriptor(
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
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
787
833
  );
788
834
 
835
+
789
836
  /**
790
837
  * @param {!proto.ondewo.nlu.ListServerPermissionsRequest} request The
791
838
  * request proto
@@ -796,16 +843,17 @@ const methodDescriptor_Users_ListServerPermissions = new grpc.web.MethodDescript
796
843
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListServerPermissionsResponse>|undefined}
797
844
  * The XHR Node Readable Stream
798
845
  */
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
- );
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);
807
854
  };
808
855
 
856
+
809
857
  /**
810
858
  * @param {!proto.ondewo.nlu.ListServerPermissionsRequest} request The
811
859
  * request proto
@@ -814,15 +862,16 @@ proto.ondewo.nlu.UsersClient.prototype.listServerPermissions = function (request
814
862
  * @return {!Promise<!proto.ondewo.nlu.ListServerPermissionsResponse>}
815
863
  * Promise that resolves to the response
816
864
  */
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
- );
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);
824
872
  };
825
873
 
874
+
826
875
  /**
827
876
  * @const
828
877
  * @type {!grpc.web.MethodDescriptor<
@@ -830,20 +879,21 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.listServerPermissions = function (
830
879
  * !proto.ondewo.nlu.LoginResponse>}
831
880
  */
832
881
  const methodDescriptor_Users_Login = new grpc.web.MethodDescriptor(
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
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
845
894
  );
846
895
 
896
+
847
897
  /**
848
898
  * @param {!proto.ondewo.nlu.LoginRequest} request The
849
899
  * request proto
@@ -854,16 +904,17 @@ const methodDescriptor_Users_Login = new grpc.web.MethodDescriptor(
854
904
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.LoginResponse>|undefined}
855
905
  * The XHR Node Readable Stream
856
906
  */
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
- );
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);
865
915
  };
866
916
 
917
+
867
918
  /**
868
919
  * @param {!proto.ondewo.nlu.LoginRequest} request The
869
920
  * request proto
@@ -872,15 +923,16 @@ proto.ondewo.nlu.UsersClient.prototype.login = function (request, metadata, call
872
923
  * @return {!Promise<!proto.ondewo.nlu.LoginResponse>}
873
924
  * Promise that resolves to the response
874
925
  */
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
- );
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);
882
933
  };
883
934
 
935
+
884
936
  /**
885
937
  * @const
886
938
  * @type {!grpc.web.MethodDescriptor<
@@ -888,20 +940,21 @@ proto.ondewo.nlu.UsersPromiseClient.prototype.login = function (request, metadat
888
940
  * !proto.google.protobuf.Empty>}
889
941
  */
890
942
  const methodDescriptor_Users_CheckLogin = new grpc.web.MethodDescriptor(
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
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
903
955
  );
904
956
 
957
+
905
958
  /**
906
959
  * @param {!proto.google.protobuf.Empty} request The
907
960
  * request proto
@@ -912,16 +965,17 @@ const methodDescriptor_Users_CheckLogin = new grpc.web.MethodDescriptor(
912
965
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
913
966
  * The XHR Node Readable Stream
914
967
  */
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
- );
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);
923
976
  };
924
977
 
978
+
925
979
  /**
926
980
  * @param {!proto.google.protobuf.Empty} request The
927
981
  * request proto
@@ -930,13 +984,15 @@ proto.ondewo.nlu.UsersClient.prototype.checkLogin = function (request, metadata,
930
984
  * @return {!Promise<!proto.google.protobuf.Empty>}
931
985
  * Promise that resolves to the response
932
986
  */
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
- );
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);
940
994
  };
941
995
 
996
+
942
997
  module.exports = proto.ondewo.nlu;
998
+