@ondewo/nlu-client-typescript 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +191 -0
- package/README.md +27 -0
- package/api/google/api/annotations_pb.d.ts +6 -0
- package/api/google/api/annotations_pb.js +48 -0
- package/api/google/protobuf/any_pb.d.ts +28 -0
- package/api/google/protobuf/any_pb.js +275 -0
- package/api/google/protobuf/empty_pb.d.ts +18 -0
- package/api/google/protobuf/empty_pb.js +141 -0
- package/api/google/protobuf/field_mask_pb.d.ts +24 -0
- package/api/google/protobuf/field_mask_pb.js +196 -0
- package/api/google/protobuf/struct_pb.d.ts +99 -0
- package/api/google/protobuf/struct_pb.js +948 -0
- package/api/google/protobuf/timestamp_pb.d.ts +26 -0
- package/api/google/protobuf/timestamp_pb.js +236 -0
- package/api/google/rpc/status_pb.d.ts +33 -0
- package/api/google/rpc/status_pb.js +262 -0
- package/api/google/type/latlng_pb.d.ts +26 -0
- package/api/google/type/latlng_pb.js +200 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +489 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +2476 -0
- package/api/ondewo/nlu/agent_pb.d.ts +2079 -0
- package/api/ondewo/nlu/agent_pb.js +16648 -0
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +115 -0
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +569 -0
- package/api/ondewo/nlu/aiservices_pb.d.ts +933 -0
- package/api/ondewo/nlu/aiservices_pb.js +7601 -0
- package/api/ondewo/nlu/common_pb.d.ts +26 -0
- package/api/ondewo/nlu/common_pb.js +179 -0
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +92 -0
- package/api/ondewo/nlu/context_grpc_web_pb.js +447 -0
- package/api/ondewo/nlu/context_pb.d.ts +218 -0
- package/api/ondewo/nlu/context_pb.js +1788 -0
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +165 -0
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +817 -0
- package/api/ondewo/nlu/entity_type_pb.d.ts +756 -0
- package/api/ondewo/nlu/entity_type_pb.js +5970 -0
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +345 -0
- package/api/ondewo/nlu/intent_grpc_web_pb.js +1738 -0
- package/api/ondewo/nlu/intent_pb.d.ts +2344 -0
- package/api/ondewo/nlu/intent_pb.js +18784 -0
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +112 -0
- package/api/ondewo/nlu/operation_metadata_pb.js +740 -0
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +68 -0
- package/api/ondewo/nlu/operations_grpc_web_pb.js +331 -0
- package/api/ondewo/nlu/operations_pb.d.ts +236 -0
- package/api/ondewo/nlu/operations_pb.js +1826 -0
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +80 -0
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +386 -0
- package/api/ondewo/nlu/project_role_pb.d.ts +220 -0
- package/api/ondewo/nlu/project_role_pb.js +1713 -0
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +116 -0
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +571 -0
- package/api/ondewo/nlu/project_statistics_pb.d.ts +92 -0
- package/api/ondewo/nlu/project_statistics_pb.js +724 -0
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +57 -0
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +264 -0
- package/api/ondewo/nlu/server_statistics_pb.d.ts +25 -0
- package/api/ondewo/nlu/server_statistics_pb.js +176 -0
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +176 -0
- package/api/ondewo/nlu/session_grpc_web_pb.js +884 -0
- package/api/ondewo/nlu/session_pb.d.ts +1192 -0
- package/api/ondewo/nlu/session_pb.js +9762 -0
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +200 -0
- package/api/ondewo/nlu/user_grpc_web_pb.js +998 -0
- package/api/ondewo/nlu/user_pb.d.ts +489 -0
- package/api/ondewo/nlu/user_pb.js +4057 -0
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +115 -0
- package/api/ondewo/nlu/utility_grpc_web_pb.js +567 -0
- package/api/ondewo/nlu/utility_pb.d.ts +708 -0
- package/api/ondewo/nlu/utility_pb.js +5914 -0
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +55 -0
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +268 -0
- package/api/ondewo/nlu/webhook_pb.d.ts +155 -0
- package/api/ondewo/nlu/webhook_pb.js +1267 -0
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +104 -0
- package/api/ondewo/qa/qa_grpc_web_pb.js +508 -0
- package/api/ondewo/qa/qa_pb.d.ts +304 -0
- package/api/ondewo/qa/qa_pb.js +2553 -0
- package/package.json +18 -0
- package/public-api.d.ts +38 -0
|
@@ -0,0 +1,998 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for ondewo.nlu
|
|
3
|
+
* @enhanceable
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
/* eslint-disable */
|
|
11
|
+
// @ts-nocheck
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
const grpc = {};
|
|
16
|
+
grpc.web = require('grpc-web');
|
|
17
|
+
|
|
18
|
+
|
|
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')
|
|
22
|
+
|
|
23
|
+
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
|
|
24
|
+
|
|
25
|
+
var ondewo_nlu_project_role_pb = require('../../ondewo/nlu/project_role_pb.js')
|
|
26
|
+
const proto = {};
|
|
27
|
+
proto.ondewo = {};
|
|
28
|
+
proto.ondewo.nlu = require('./user_pb.js');
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @param {string} hostname
|
|
32
|
+
* @param {?Object} credentials
|
|
33
|
+
* @param {?grpc.web.ClientOptions} options
|
|
34
|
+
* @constructor
|
|
35
|
+
* @struct
|
|
36
|
+
* @final
|
|
37
|
+
*/
|
|
38
|
+
proto.ondewo.nlu.UsersClient =
|
|
39
|
+
function(hostname, credentials, options) {
|
|
40
|
+
if (!options) options = {};
|
|
41
|
+
options.format = 'binary';
|
|
42
|
+
|
|
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;
|
|
52
|
+
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @param {string} hostname
|
|
58
|
+
* @param {?Object} credentials
|
|
59
|
+
* @param {?grpc.web.ClientOptions} options
|
|
60
|
+
* @constructor
|
|
61
|
+
* @struct
|
|
62
|
+
* @final
|
|
63
|
+
*/
|
|
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);
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @private @const {string} The hostname
|
|
76
|
+
*/
|
|
77
|
+
this.hostname_ = hostname;
|
|
78
|
+
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @const
|
|
84
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
85
|
+
* !proto.ondewo.nlu.CreateUserRequest,
|
|
86
|
+
* !proto.ondewo.nlu.User>}
|
|
87
|
+
*/
|
|
88
|
+
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
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @param {!proto.ondewo.nlu.CreateUserRequest} request The
|
|
106
|
+
* request proto
|
|
107
|
+
* @param {?Object<string, string>} metadata User defined
|
|
108
|
+
* call metadata
|
|
109
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.User)}
|
|
110
|
+
* callback The callback function(error, response)
|
|
111
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.User>|undefined}
|
|
112
|
+
* The XHR Node Readable Stream
|
|
113
|
+
*/
|
|
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);
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* @param {!proto.ondewo.nlu.CreateUserRequest} request The
|
|
127
|
+
* request proto
|
|
128
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
129
|
+
* call metadata
|
|
130
|
+
* @return {!Promise<!proto.ondewo.nlu.User>}
|
|
131
|
+
* Promise that resolves to the response
|
|
132
|
+
*/
|
|
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);
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @const
|
|
145
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
146
|
+
* !proto.ondewo.nlu.GetUserRequest,
|
|
147
|
+
* !proto.ondewo.nlu.User>}
|
|
148
|
+
*/
|
|
149
|
+
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
|
|
162
|
+
);
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @param {!proto.ondewo.nlu.GetUserRequest} request The
|
|
167
|
+
* request proto
|
|
168
|
+
* @param {?Object<string, string>} metadata User defined
|
|
169
|
+
* call metadata
|
|
170
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.User)}
|
|
171
|
+
* callback The callback function(error, response)
|
|
172
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.User>|undefined}
|
|
173
|
+
* The XHR Node Readable Stream
|
|
174
|
+
*/
|
|
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);
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @param {!proto.ondewo.nlu.GetUserRequest} request The
|
|
188
|
+
* request proto
|
|
189
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
190
|
+
* call metadata
|
|
191
|
+
* @return {!Promise<!proto.ondewo.nlu.User>}
|
|
192
|
+
* Promise that resolves to the response
|
|
193
|
+
*/
|
|
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);
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @const
|
|
206
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
207
|
+
* !proto.ondewo.nlu.GetUserRequest,
|
|
208
|
+
* !proto.ondewo.nlu.UserInfo>}
|
|
209
|
+
*/
|
|
210
|
+
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
|
|
223
|
+
);
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @param {!proto.ondewo.nlu.GetUserRequest} request The
|
|
228
|
+
* request proto
|
|
229
|
+
* @param {?Object<string, string>} metadata User defined
|
|
230
|
+
* call metadata
|
|
231
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.UserInfo)}
|
|
232
|
+
* callback The callback function(error, response)
|
|
233
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.UserInfo>|undefined}
|
|
234
|
+
* The XHR Node Readable Stream
|
|
235
|
+
*/
|
|
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);
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @param {!proto.ondewo.nlu.GetUserRequest} request The
|
|
249
|
+
* request proto
|
|
250
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
251
|
+
* call metadata
|
|
252
|
+
* @return {!Promise<!proto.ondewo.nlu.UserInfo>}
|
|
253
|
+
* Promise that resolves to the response
|
|
254
|
+
*/
|
|
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);
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* @const
|
|
267
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
268
|
+
* !proto.ondewo.nlu.GetUserRequest,
|
|
269
|
+
* !proto.google.protobuf.Empty>}
|
|
270
|
+
*/
|
|
271
|
+
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
|
|
284
|
+
);
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @param {!proto.ondewo.nlu.GetUserRequest} request The
|
|
289
|
+
* request proto
|
|
290
|
+
* @param {?Object<string, string>} metadata User defined
|
|
291
|
+
* call metadata
|
|
292
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
293
|
+
* callback The callback function(error, response)
|
|
294
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
295
|
+
* The XHR Node Readable Stream
|
|
296
|
+
*/
|
|
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);
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* @param {!proto.ondewo.nlu.GetUserRequest} request The
|
|
310
|
+
* request proto
|
|
311
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
312
|
+
* call metadata
|
|
313
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
314
|
+
* Promise that resolves to the response
|
|
315
|
+
*/
|
|
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);
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* @const
|
|
328
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
329
|
+
* !proto.ondewo.nlu.UpdateUserRequest,
|
|
330
|
+
* !proto.ondewo.nlu.User>}
|
|
331
|
+
*/
|
|
332
|
+
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
|
|
345
|
+
);
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* @param {!proto.ondewo.nlu.UpdateUserRequest} request The
|
|
350
|
+
* request proto
|
|
351
|
+
* @param {?Object<string, string>} metadata User defined
|
|
352
|
+
* call metadata
|
|
353
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.User)}
|
|
354
|
+
* callback The callback function(error, response)
|
|
355
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.User>|undefined}
|
|
356
|
+
* The XHR Node Readable Stream
|
|
357
|
+
*/
|
|
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);
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* @param {!proto.ondewo.nlu.UpdateUserRequest} request The
|
|
371
|
+
* request proto
|
|
372
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
373
|
+
* call metadata
|
|
374
|
+
* @return {!Promise<!proto.ondewo.nlu.User>}
|
|
375
|
+
* Promise that resolves to the response
|
|
376
|
+
*/
|
|
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);
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* @const
|
|
389
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
390
|
+
* !proto.ondewo.nlu.ListUsersRequest,
|
|
391
|
+
* !proto.ondewo.nlu.ListUsersResponse>}
|
|
392
|
+
*/
|
|
393
|
+
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
|
|
406
|
+
);
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* @param {!proto.ondewo.nlu.ListUsersRequest} request The
|
|
411
|
+
* request proto
|
|
412
|
+
* @param {?Object<string, string>} metadata User defined
|
|
413
|
+
* call metadata
|
|
414
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListUsersResponse)}
|
|
415
|
+
* callback The callback function(error, response)
|
|
416
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListUsersResponse>|undefined}
|
|
417
|
+
* The XHR Node Readable Stream
|
|
418
|
+
*/
|
|
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);
|
|
427
|
+
};
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* @param {!proto.ondewo.nlu.ListUsersRequest} request The
|
|
432
|
+
* request proto
|
|
433
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
434
|
+
* call metadata
|
|
435
|
+
* @return {!Promise<!proto.ondewo.nlu.ListUsersResponse>}
|
|
436
|
+
* Promise that resolves to the response
|
|
437
|
+
*/
|
|
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);
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* @const
|
|
450
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
451
|
+
* !proto.ondewo.nlu.ListUsersRequest,
|
|
452
|
+
* !proto.ondewo.nlu.ListUserInfosResponse>}
|
|
453
|
+
*/
|
|
454
|
+
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
|
|
467
|
+
);
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* @param {!proto.ondewo.nlu.ListUsersRequest} request The
|
|
472
|
+
* request proto
|
|
473
|
+
* @param {?Object<string, string>} metadata User defined
|
|
474
|
+
* call metadata
|
|
475
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListUserInfosResponse)}
|
|
476
|
+
* callback The callback function(error, response)
|
|
477
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListUserInfosResponse>|undefined}
|
|
478
|
+
* The XHR Node Readable Stream
|
|
479
|
+
*/
|
|
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);
|
|
488
|
+
};
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* @param {!proto.ondewo.nlu.ListUsersRequest} request The
|
|
493
|
+
* request proto
|
|
494
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
495
|
+
* call metadata
|
|
496
|
+
* @return {!Promise<!proto.ondewo.nlu.ListUserInfosResponse>}
|
|
497
|
+
* Promise that resolves to the response
|
|
498
|
+
*/
|
|
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);
|
|
506
|
+
};
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* @const
|
|
511
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
512
|
+
* !proto.ondewo.nlu.CreateServerRoleRequest,
|
|
513
|
+
* !proto.ondewo.nlu.ServerRole>}
|
|
514
|
+
*/
|
|
515
|
+
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
|
|
528
|
+
);
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* @param {!proto.ondewo.nlu.CreateServerRoleRequest} request The
|
|
533
|
+
* request proto
|
|
534
|
+
* @param {?Object<string, string>} metadata User defined
|
|
535
|
+
* call metadata
|
|
536
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ServerRole)}
|
|
537
|
+
* callback The callback function(error, response)
|
|
538
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ServerRole>|undefined}
|
|
539
|
+
* The XHR Node Readable Stream
|
|
540
|
+
*/
|
|
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);
|
|
549
|
+
};
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* @param {!proto.ondewo.nlu.CreateServerRoleRequest} request The
|
|
554
|
+
* request proto
|
|
555
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
556
|
+
* call metadata
|
|
557
|
+
* @return {!Promise<!proto.ondewo.nlu.ServerRole>}
|
|
558
|
+
* Promise that resolves to the response
|
|
559
|
+
*/
|
|
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);
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* @const
|
|
572
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
573
|
+
* !proto.ondewo.nlu.GetServerRoleRequest,
|
|
574
|
+
* !proto.ondewo.nlu.ServerRole>}
|
|
575
|
+
*/
|
|
576
|
+
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
|
|
589
|
+
);
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* @param {!proto.ondewo.nlu.GetServerRoleRequest} request The
|
|
594
|
+
* request proto
|
|
595
|
+
* @param {?Object<string, string>} metadata User defined
|
|
596
|
+
* call metadata
|
|
597
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ServerRole)}
|
|
598
|
+
* callback The callback function(error, response)
|
|
599
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ServerRole>|undefined}
|
|
600
|
+
* The XHR Node Readable Stream
|
|
601
|
+
*/
|
|
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);
|
|
610
|
+
};
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* @param {!proto.ondewo.nlu.GetServerRoleRequest} request The
|
|
615
|
+
* request proto
|
|
616
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
617
|
+
* call metadata
|
|
618
|
+
* @return {!Promise<!proto.ondewo.nlu.ServerRole>}
|
|
619
|
+
* Promise that resolves to the response
|
|
620
|
+
*/
|
|
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);
|
|
628
|
+
};
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* @const
|
|
633
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
634
|
+
* !proto.ondewo.nlu.DeleteServerRoleRequest,
|
|
635
|
+
* !proto.google.protobuf.Empty>}
|
|
636
|
+
*/
|
|
637
|
+
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
|
|
650
|
+
);
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* @param {!proto.ondewo.nlu.DeleteServerRoleRequest} request The
|
|
655
|
+
* request proto
|
|
656
|
+
* @param {?Object<string, string>} metadata User defined
|
|
657
|
+
* call metadata
|
|
658
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
659
|
+
* callback The callback function(error, response)
|
|
660
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
661
|
+
* The XHR Node Readable Stream
|
|
662
|
+
*/
|
|
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);
|
|
671
|
+
};
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* @param {!proto.ondewo.nlu.DeleteServerRoleRequest} request The
|
|
676
|
+
* request proto
|
|
677
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
678
|
+
* call metadata
|
|
679
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
680
|
+
* Promise that resolves to the response
|
|
681
|
+
*/
|
|
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);
|
|
689
|
+
};
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* @const
|
|
694
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
695
|
+
* !proto.ondewo.nlu.UpdateServerRoleRequest,
|
|
696
|
+
* !proto.ondewo.nlu.ServerRole>}
|
|
697
|
+
*/
|
|
698
|
+
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
|
|
711
|
+
);
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* @param {!proto.ondewo.nlu.UpdateServerRoleRequest} request The
|
|
716
|
+
* request proto
|
|
717
|
+
* @param {?Object<string, string>} metadata User defined
|
|
718
|
+
* call metadata
|
|
719
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ServerRole)}
|
|
720
|
+
* callback The callback function(error, response)
|
|
721
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ServerRole>|undefined}
|
|
722
|
+
* The XHR Node Readable Stream
|
|
723
|
+
*/
|
|
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);
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* @param {!proto.ondewo.nlu.UpdateServerRoleRequest} request The
|
|
737
|
+
* request proto
|
|
738
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
739
|
+
* call metadata
|
|
740
|
+
* @return {!Promise<!proto.ondewo.nlu.ServerRole>}
|
|
741
|
+
* Promise that resolves to the response
|
|
742
|
+
*/
|
|
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);
|
|
750
|
+
};
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* @const
|
|
755
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
756
|
+
* !proto.ondewo.nlu.ListServerRolesRequest,
|
|
757
|
+
* !proto.ondewo.nlu.ListServerRolesResponse>}
|
|
758
|
+
*/
|
|
759
|
+
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
|
|
772
|
+
);
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* @param {!proto.ondewo.nlu.ListServerRolesRequest} request The
|
|
777
|
+
* request proto
|
|
778
|
+
* @param {?Object<string, string>} metadata User defined
|
|
779
|
+
* call metadata
|
|
780
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListServerRolesResponse)}
|
|
781
|
+
* callback The callback function(error, response)
|
|
782
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListServerRolesResponse>|undefined}
|
|
783
|
+
* The XHR Node Readable Stream
|
|
784
|
+
*/
|
|
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);
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* @param {!proto.ondewo.nlu.ListServerRolesRequest} request The
|
|
798
|
+
* request proto
|
|
799
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
800
|
+
* call metadata
|
|
801
|
+
* @return {!Promise<!proto.ondewo.nlu.ListServerRolesResponse>}
|
|
802
|
+
* Promise that resolves to the response
|
|
803
|
+
*/
|
|
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);
|
|
811
|
+
};
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* @const
|
|
816
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
817
|
+
* !proto.ondewo.nlu.ListServerPermissionsRequest,
|
|
818
|
+
* !proto.ondewo.nlu.ListServerPermissionsResponse>}
|
|
819
|
+
*/
|
|
820
|
+
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
|
|
833
|
+
);
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* @param {!proto.ondewo.nlu.ListServerPermissionsRequest} request The
|
|
838
|
+
* request proto
|
|
839
|
+
* @param {?Object<string, string>} metadata User defined
|
|
840
|
+
* call metadata
|
|
841
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListServerPermissionsResponse)}
|
|
842
|
+
* callback The callback function(error, response)
|
|
843
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListServerPermissionsResponse>|undefined}
|
|
844
|
+
* The XHR Node Readable Stream
|
|
845
|
+
*/
|
|
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);
|
|
854
|
+
};
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* @param {!proto.ondewo.nlu.ListServerPermissionsRequest} request The
|
|
859
|
+
* request proto
|
|
860
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
861
|
+
* call metadata
|
|
862
|
+
* @return {!Promise<!proto.ondewo.nlu.ListServerPermissionsResponse>}
|
|
863
|
+
* Promise that resolves to the response
|
|
864
|
+
*/
|
|
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);
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* @const
|
|
877
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
878
|
+
* !proto.ondewo.nlu.LoginRequest,
|
|
879
|
+
* !proto.ondewo.nlu.LoginResponse>}
|
|
880
|
+
*/
|
|
881
|
+
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
|
|
894
|
+
);
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* @param {!proto.ondewo.nlu.LoginRequest} request The
|
|
899
|
+
* request proto
|
|
900
|
+
* @param {?Object<string, string>} metadata User defined
|
|
901
|
+
* call metadata
|
|
902
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.LoginResponse)}
|
|
903
|
+
* callback The callback function(error, response)
|
|
904
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.LoginResponse>|undefined}
|
|
905
|
+
* The XHR Node Readable Stream
|
|
906
|
+
*/
|
|
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);
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* @param {!proto.ondewo.nlu.LoginRequest} request The
|
|
920
|
+
* request proto
|
|
921
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
922
|
+
* call metadata
|
|
923
|
+
* @return {!Promise<!proto.ondewo.nlu.LoginResponse>}
|
|
924
|
+
* Promise that resolves to the response
|
|
925
|
+
*/
|
|
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);
|
|
933
|
+
};
|
|
934
|
+
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* @const
|
|
938
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
939
|
+
* !proto.google.protobuf.Empty,
|
|
940
|
+
* !proto.google.protobuf.Empty>}
|
|
941
|
+
*/
|
|
942
|
+
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
|
|
955
|
+
);
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
960
|
+
* request proto
|
|
961
|
+
* @param {?Object<string, string>} metadata User defined
|
|
962
|
+
* call metadata
|
|
963
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
964
|
+
* callback The callback function(error, response)
|
|
965
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
966
|
+
* The XHR Node Readable Stream
|
|
967
|
+
*/
|
|
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);
|
|
976
|
+
};
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
981
|
+
* request proto
|
|
982
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
983
|
+
* call metadata
|
|
984
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
985
|
+
* Promise that resolves to the response
|
|
986
|
+
*/
|
|
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);
|
|
994
|
+
};
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
module.exports = proto.ondewo.nlu;
|
|
998
|
+
|