@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.
Files changed (80) hide show
  1. package/LICENSE +191 -0
  2. package/README.md +27 -0
  3. package/api/google/api/annotations_pb.d.ts +6 -0
  4. package/api/google/api/annotations_pb.js +48 -0
  5. package/api/google/protobuf/any_pb.d.ts +28 -0
  6. package/api/google/protobuf/any_pb.js +275 -0
  7. package/api/google/protobuf/empty_pb.d.ts +18 -0
  8. package/api/google/protobuf/empty_pb.js +141 -0
  9. package/api/google/protobuf/field_mask_pb.d.ts +24 -0
  10. package/api/google/protobuf/field_mask_pb.js +196 -0
  11. package/api/google/protobuf/struct_pb.d.ts +99 -0
  12. package/api/google/protobuf/struct_pb.js +948 -0
  13. package/api/google/protobuf/timestamp_pb.d.ts +26 -0
  14. package/api/google/protobuf/timestamp_pb.js +236 -0
  15. package/api/google/rpc/status_pb.d.ts +33 -0
  16. package/api/google/rpc/status_pb.js +262 -0
  17. package/api/google/type/latlng_pb.d.ts +26 -0
  18. package/api/google/type/latlng_pb.js +200 -0
  19. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +489 -0
  20. package/api/ondewo/nlu/agent_grpc_web_pb.js +2476 -0
  21. package/api/ondewo/nlu/agent_pb.d.ts +2079 -0
  22. package/api/ondewo/nlu/agent_pb.js +16648 -0
  23. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +115 -0
  24. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +569 -0
  25. package/api/ondewo/nlu/aiservices_pb.d.ts +933 -0
  26. package/api/ondewo/nlu/aiservices_pb.js +7601 -0
  27. package/api/ondewo/nlu/common_pb.d.ts +26 -0
  28. package/api/ondewo/nlu/common_pb.js +179 -0
  29. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +92 -0
  30. package/api/ondewo/nlu/context_grpc_web_pb.js +447 -0
  31. package/api/ondewo/nlu/context_pb.d.ts +218 -0
  32. package/api/ondewo/nlu/context_pb.js +1788 -0
  33. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +165 -0
  34. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +817 -0
  35. package/api/ondewo/nlu/entity_type_pb.d.ts +756 -0
  36. package/api/ondewo/nlu/entity_type_pb.js +5970 -0
  37. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +345 -0
  38. package/api/ondewo/nlu/intent_grpc_web_pb.js +1738 -0
  39. package/api/ondewo/nlu/intent_pb.d.ts +2344 -0
  40. package/api/ondewo/nlu/intent_pb.js +18784 -0
  41. package/api/ondewo/nlu/operation_metadata_pb.d.ts +112 -0
  42. package/api/ondewo/nlu/operation_metadata_pb.js +740 -0
  43. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +68 -0
  44. package/api/ondewo/nlu/operations_grpc_web_pb.js +331 -0
  45. package/api/ondewo/nlu/operations_pb.d.ts +236 -0
  46. package/api/ondewo/nlu/operations_pb.js +1826 -0
  47. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +80 -0
  48. package/api/ondewo/nlu/project_role_grpc_web_pb.js +386 -0
  49. package/api/ondewo/nlu/project_role_pb.d.ts +220 -0
  50. package/api/ondewo/nlu/project_role_pb.js +1713 -0
  51. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +116 -0
  52. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +571 -0
  53. package/api/ondewo/nlu/project_statistics_pb.d.ts +92 -0
  54. package/api/ondewo/nlu/project_statistics_pb.js +724 -0
  55. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +57 -0
  56. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +264 -0
  57. package/api/ondewo/nlu/server_statistics_pb.d.ts +25 -0
  58. package/api/ondewo/nlu/server_statistics_pb.js +176 -0
  59. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +176 -0
  60. package/api/ondewo/nlu/session_grpc_web_pb.js +884 -0
  61. package/api/ondewo/nlu/session_pb.d.ts +1192 -0
  62. package/api/ondewo/nlu/session_pb.js +9762 -0
  63. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +200 -0
  64. package/api/ondewo/nlu/user_grpc_web_pb.js +998 -0
  65. package/api/ondewo/nlu/user_pb.d.ts +489 -0
  66. package/api/ondewo/nlu/user_pb.js +4057 -0
  67. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +115 -0
  68. package/api/ondewo/nlu/utility_grpc_web_pb.js +567 -0
  69. package/api/ondewo/nlu/utility_pb.d.ts +708 -0
  70. package/api/ondewo/nlu/utility_pb.js +5914 -0
  71. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +55 -0
  72. package/api/ondewo/nlu/webhook_grpc_web_pb.js +268 -0
  73. package/api/ondewo/nlu/webhook_pb.d.ts +155 -0
  74. package/api/ondewo/nlu/webhook_pb.js +1267 -0
  75. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +104 -0
  76. package/api/ondewo/qa/qa_grpc_web_pb.js +508 -0
  77. package/api/ondewo/qa/qa_pb.d.ts +304 -0
  78. package/api/ondewo/qa/qa_pb.js +2553 -0
  79. package/package.json +18 -0
  80. package/public-api.d.ts +38 -0
@@ -0,0 +1,817 @@
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_common_pb = require('../../ondewo/nlu/common_pb.js')
26
+
27
+ var ondewo_nlu_operations_pb = require('../../ondewo/nlu/operations_pb.js')
28
+ const proto = {};
29
+ proto.ondewo = {};
30
+ proto.ondewo.nlu = require('./entity_type_pb.js');
31
+
32
+ /**
33
+ * @param {string} hostname
34
+ * @param {?Object} credentials
35
+ * @param {?grpc.web.ClientOptions} options
36
+ * @constructor
37
+ * @struct
38
+ * @final
39
+ */
40
+ proto.ondewo.nlu.EntityTypesClient =
41
+ function(hostname, credentials, options) {
42
+ if (!options) options = {};
43
+ options.format = 'binary';
44
+
45
+ /**
46
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
47
+ */
48
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
49
+
50
+ /**
51
+ * @private @const {string} The hostname
52
+ */
53
+ this.hostname_ = hostname;
54
+
55
+ };
56
+
57
+
58
+ /**
59
+ * @param {string} hostname
60
+ * @param {?Object} credentials
61
+ * @param {?grpc.web.ClientOptions} options
62
+ * @constructor
63
+ * @struct
64
+ * @final
65
+ */
66
+ proto.ondewo.nlu.EntityTypesPromiseClient =
67
+ function(hostname, credentials, options) {
68
+ if (!options) options = {};
69
+ options.format = 'binary';
70
+
71
+ /**
72
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
73
+ */
74
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
75
+
76
+ /**
77
+ * @private @const {string} The hostname
78
+ */
79
+ this.hostname_ = hostname;
80
+
81
+ };
82
+
83
+
84
+ /**
85
+ * @const
86
+ * @type {!grpc.web.MethodDescriptor<
87
+ * !proto.ondewo.nlu.ListEntityTypesRequest,
88
+ * !proto.ondewo.nlu.ListEntityTypesResponse>}
89
+ */
90
+ const methodDescriptor_EntityTypes_ListEntityTypes = new grpc.web.MethodDescriptor(
91
+ '/ondewo.nlu.EntityTypes/ListEntityTypes',
92
+ grpc.web.MethodType.UNARY,
93
+ proto.ondewo.nlu.ListEntityTypesRequest,
94
+ proto.ondewo.nlu.ListEntityTypesResponse,
95
+ /**
96
+ * @param {!proto.ondewo.nlu.ListEntityTypesRequest} request
97
+ * @return {!Uint8Array}
98
+ */
99
+ function(request) {
100
+ return request.serializeBinary();
101
+ },
102
+ proto.ondewo.nlu.ListEntityTypesResponse.deserializeBinary
103
+ );
104
+
105
+
106
+ /**
107
+ * @param {!proto.ondewo.nlu.ListEntityTypesRequest} request The
108
+ * request proto
109
+ * @param {?Object<string, string>} metadata User defined
110
+ * call metadata
111
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListEntityTypesResponse)}
112
+ * callback The callback function(error, response)
113
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListEntityTypesResponse>|undefined}
114
+ * The XHR Node Readable Stream
115
+ */
116
+ proto.ondewo.nlu.EntityTypesClient.prototype.listEntityTypes =
117
+ function(request, metadata, callback) {
118
+ return this.client_.rpcCall(this.hostname_ +
119
+ '/ondewo.nlu.EntityTypes/ListEntityTypes',
120
+ request,
121
+ metadata || {},
122
+ methodDescriptor_EntityTypes_ListEntityTypes,
123
+ callback);
124
+ };
125
+
126
+
127
+ /**
128
+ * @param {!proto.ondewo.nlu.ListEntityTypesRequest} request The
129
+ * request proto
130
+ * @param {?Object<string, string>=} metadata User defined
131
+ * call metadata
132
+ * @return {!Promise<!proto.ondewo.nlu.ListEntityTypesResponse>}
133
+ * Promise that resolves to the response
134
+ */
135
+ proto.ondewo.nlu.EntityTypesPromiseClient.prototype.listEntityTypes =
136
+ function(request, metadata) {
137
+ return this.client_.unaryCall(this.hostname_ +
138
+ '/ondewo.nlu.EntityTypes/ListEntityTypes',
139
+ request,
140
+ metadata || {},
141
+ methodDescriptor_EntityTypes_ListEntityTypes);
142
+ };
143
+
144
+
145
+ /**
146
+ * @const
147
+ * @type {!grpc.web.MethodDescriptor<
148
+ * !proto.ondewo.nlu.GetEntityTypeRequest,
149
+ * !proto.ondewo.nlu.EntityType>}
150
+ */
151
+ const methodDescriptor_EntityTypes_GetEntityType = new grpc.web.MethodDescriptor(
152
+ '/ondewo.nlu.EntityTypes/GetEntityType',
153
+ grpc.web.MethodType.UNARY,
154
+ proto.ondewo.nlu.GetEntityTypeRequest,
155
+ proto.ondewo.nlu.EntityType,
156
+ /**
157
+ * @param {!proto.ondewo.nlu.GetEntityTypeRequest} request
158
+ * @return {!Uint8Array}
159
+ */
160
+ function(request) {
161
+ return request.serializeBinary();
162
+ },
163
+ proto.ondewo.nlu.EntityType.deserializeBinary
164
+ );
165
+
166
+
167
+ /**
168
+ * @param {!proto.ondewo.nlu.GetEntityTypeRequest} request The
169
+ * request proto
170
+ * @param {?Object<string, string>} metadata User defined
171
+ * call metadata
172
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.EntityType)}
173
+ * callback The callback function(error, response)
174
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.EntityType>|undefined}
175
+ * The XHR Node Readable Stream
176
+ */
177
+ proto.ondewo.nlu.EntityTypesClient.prototype.getEntityType =
178
+ function(request, metadata, callback) {
179
+ return this.client_.rpcCall(this.hostname_ +
180
+ '/ondewo.nlu.EntityTypes/GetEntityType',
181
+ request,
182
+ metadata || {},
183
+ methodDescriptor_EntityTypes_GetEntityType,
184
+ callback);
185
+ };
186
+
187
+
188
+ /**
189
+ * @param {!proto.ondewo.nlu.GetEntityTypeRequest} request The
190
+ * request proto
191
+ * @param {?Object<string, string>=} metadata User defined
192
+ * call metadata
193
+ * @return {!Promise<!proto.ondewo.nlu.EntityType>}
194
+ * Promise that resolves to the response
195
+ */
196
+ proto.ondewo.nlu.EntityTypesPromiseClient.prototype.getEntityType =
197
+ function(request, metadata) {
198
+ return this.client_.unaryCall(this.hostname_ +
199
+ '/ondewo.nlu.EntityTypes/GetEntityType',
200
+ request,
201
+ metadata || {},
202
+ methodDescriptor_EntityTypes_GetEntityType);
203
+ };
204
+
205
+
206
+ /**
207
+ * @const
208
+ * @type {!grpc.web.MethodDescriptor<
209
+ * !proto.ondewo.nlu.CreateEntityTypeRequest,
210
+ * !proto.ondewo.nlu.EntityType>}
211
+ */
212
+ const methodDescriptor_EntityTypes_CreateEntityType = new grpc.web.MethodDescriptor(
213
+ '/ondewo.nlu.EntityTypes/CreateEntityType',
214
+ grpc.web.MethodType.UNARY,
215
+ proto.ondewo.nlu.CreateEntityTypeRequest,
216
+ proto.ondewo.nlu.EntityType,
217
+ /**
218
+ * @param {!proto.ondewo.nlu.CreateEntityTypeRequest} request
219
+ * @return {!Uint8Array}
220
+ */
221
+ function(request) {
222
+ return request.serializeBinary();
223
+ },
224
+ proto.ondewo.nlu.EntityType.deserializeBinary
225
+ );
226
+
227
+
228
+ /**
229
+ * @param {!proto.ondewo.nlu.CreateEntityTypeRequest} request The
230
+ * request proto
231
+ * @param {?Object<string, string>} metadata User defined
232
+ * call metadata
233
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.EntityType)}
234
+ * callback The callback function(error, response)
235
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.EntityType>|undefined}
236
+ * The XHR Node Readable Stream
237
+ */
238
+ proto.ondewo.nlu.EntityTypesClient.prototype.createEntityType =
239
+ function(request, metadata, callback) {
240
+ return this.client_.rpcCall(this.hostname_ +
241
+ '/ondewo.nlu.EntityTypes/CreateEntityType',
242
+ request,
243
+ metadata || {},
244
+ methodDescriptor_EntityTypes_CreateEntityType,
245
+ callback);
246
+ };
247
+
248
+
249
+ /**
250
+ * @param {!proto.ondewo.nlu.CreateEntityTypeRequest} request The
251
+ * request proto
252
+ * @param {?Object<string, string>=} metadata User defined
253
+ * call metadata
254
+ * @return {!Promise<!proto.ondewo.nlu.EntityType>}
255
+ * Promise that resolves to the response
256
+ */
257
+ proto.ondewo.nlu.EntityTypesPromiseClient.prototype.createEntityType =
258
+ function(request, metadata) {
259
+ return this.client_.unaryCall(this.hostname_ +
260
+ '/ondewo.nlu.EntityTypes/CreateEntityType',
261
+ request,
262
+ metadata || {},
263
+ methodDescriptor_EntityTypes_CreateEntityType);
264
+ };
265
+
266
+
267
+ /**
268
+ * @const
269
+ * @type {!grpc.web.MethodDescriptor<
270
+ * !proto.ondewo.nlu.UpdateEntityTypeRequest,
271
+ * !proto.ondewo.nlu.EntityType>}
272
+ */
273
+ const methodDescriptor_EntityTypes_UpdateEntityType = new grpc.web.MethodDescriptor(
274
+ '/ondewo.nlu.EntityTypes/UpdateEntityType',
275
+ grpc.web.MethodType.UNARY,
276
+ proto.ondewo.nlu.UpdateEntityTypeRequest,
277
+ proto.ondewo.nlu.EntityType,
278
+ /**
279
+ * @param {!proto.ondewo.nlu.UpdateEntityTypeRequest} request
280
+ * @return {!Uint8Array}
281
+ */
282
+ function(request) {
283
+ return request.serializeBinary();
284
+ },
285
+ proto.ondewo.nlu.EntityType.deserializeBinary
286
+ );
287
+
288
+
289
+ /**
290
+ * @param {!proto.ondewo.nlu.UpdateEntityTypeRequest} request The
291
+ * request proto
292
+ * @param {?Object<string, string>} metadata User defined
293
+ * call metadata
294
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.EntityType)}
295
+ * callback The callback function(error, response)
296
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.EntityType>|undefined}
297
+ * The XHR Node Readable Stream
298
+ */
299
+ proto.ondewo.nlu.EntityTypesClient.prototype.updateEntityType =
300
+ function(request, metadata, callback) {
301
+ return this.client_.rpcCall(this.hostname_ +
302
+ '/ondewo.nlu.EntityTypes/UpdateEntityType',
303
+ request,
304
+ metadata || {},
305
+ methodDescriptor_EntityTypes_UpdateEntityType,
306
+ callback);
307
+ };
308
+
309
+
310
+ /**
311
+ * @param {!proto.ondewo.nlu.UpdateEntityTypeRequest} request The
312
+ * request proto
313
+ * @param {?Object<string, string>=} metadata User defined
314
+ * call metadata
315
+ * @return {!Promise<!proto.ondewo.nlu.EntityType>}
316
+ * Promise that resolves to the response
317
+ */
318
+ proto.ondewo.nlu.EntityTypesPromiseClient.prototype.updateEntityType =
319
+ function(request, metadata) {
320
+ return this.client_.unaryCall(this.hostname_ +
321
+ '/ondewo.nlu.EntityTypes/UpdateEntityType',
322
+ request,
323
+ metadata || {},
324
+ methodDescriptor_EntityTypes_UpdateEntityType);
325
+ };
326
+
327
+
328
+ /**
329
+ * @const
330
+ * @type {!grpc.web.MethodDescriptor<
331
+ * !proto.ondewo.nlu.DeleteEntityTypeRequest,
332
+ * !proto.google.protobuf.Empty>}
333
+ */
334
+ const methodDescriptor_EntityTypes_DeleteEntityType = new grpc.web.MethodDescriptor(
335
+ '/ondewo.nlu.EntityTypes/DeleteEntityType',
336
+ grpc.web.MethodType.UNARY,
337
+ proto.ondewo.nlu.DeleteEntityTypeRequest,
338
+ google_protobuf_empty_pb.Empty,
339
+ /**
340
+ * @param {!proto.ondewo.nlu.DeleteEntityTypeRequest} request
341
+ * @return {!Uint8Array}
342
+ */
343
+ function(request) {
344
+ return request.serializeBinary();
345
+ },
346
+ google_protobuf_empty_pb.Empty.deserializeBinary
347
+ );
348
+
349
+
350
+ /**
351
+ * @param {!proto.ondewo.nlu.DeleteEntityTypeRequest} request The
352
+ * request proto
353
+ * @param {?Object<string, string>} metadata User defined
354
+ * call metadata
355
+ * @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
356
+ * callback The callback function(error, response)
357
+ * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
358
+ * The XHR Node Readable Stream
359
+ */
360
+ proto.ondewo.nlu.EntityTypesClient.prototype.deleteEntityType =
361
+ function(request, metadata, callback) {
362
+ return this.client_.rpcCall(this.hostname_ +
363
+ '/ondewo.nlu.EntityTypes/DeleteEntityType',
364
+ request,
365
+ metadata || {},
366
+ methodDescriptor_EntityTypes_DeleteEntityType,
367
+ callback);
368
+ };
369
+
370
+
371
+ /**
372
+ * @param {!proto.ondewo.nlu.DeleteEntityTypeRequest} request The
373
+ * request proto
374
+ * @param {?Object<string, string>=} metadata User defined
375
+ * call metadata
376
+ * @return {!Promise<!proto.google.protobuf.Empty>}
377
+ * Promise that resolves to the response
378
+ */
379
+ proto.ondewo.nlu.EntityTypesPromiseClient.prototype.deleteEntityType =
380
+ function(request, metadata) {
381
+ return this.client_.unaryCall(this.hostname_ +
382
+ '/ondewo.nlu.EntityTypes/DeleteEntityType',
383
+ request,
384
+ metadata || {},
385
+ methodDescriptor_EntityTypes_DeleteEntityType);
386
+ };
387
+
388
+
389
+ /**
390
+ * @const
391
+ * @type {!grpc.web.MethodDescriptor<
392
+ * !proto.ondewo.nlu.BatchUpdateEntityTypesRequest,
393
+ * !proto.ondewo.nlu.Operation>}
394
+ */
395
+ const methodDescriptor_EntityTypes_BatchUpdateEntityTypes = new grpc.web.MethodDescriptor(
396
+ '/ondewo.nlu.EntityTypes/BatchUpdateEntityTypes',
397
+ grpc.web.MethodType.UNARY,
398
+ proto.ondewo.nlu.BatchUpdateEntityTypesRequest,
399
+ ondewo_nlu_operations_pb.Operation,
400
+ /**
401
+ * @param {!proto.ondewo.nlu.BatchUpdateEntityTypesRequest} request
402
+ * @return {!Uint8Array}
403
+ */
404
+ function(request) {
405
+ return request.serializeBinary();
406
+ },
407
+ ondewo_nlu_operations_pb.Operation.deserializeBinary
408
+ );
409
+
410
+
411
+ /**
412
+ * @param {!proto.ondewo.nlu.BatchUpdateEntityTypesRequest} request The
413
+ * request proto
414
+ * @param {?Object<string, string>} metadata User defined
415
+ * call metadata
416
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
417
+ * callback The callback function(error, response)
418
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
419
+ * The XHR Node Readable Stream
420
+ */
421
+ proto.ondewo.nlu.EntityTypesClient.prototype.batchUpdateEntityTypes =
422
+ function(request, metadata, callback) {
423
+ return this.client_.rpcCall(this.hostname_ +
424
+ '/ondewo.nlu.EntityTypes/BatchUpdateEntityTypes',
425
+ request,
426
+ metadata || {},
427
+ methodDescriptor_EntityTypes_BatchUpdateEntityTypes,
428
+ callback);
429
+ };
430
+
431
+
432
+ /**
433
+ * @param {!proto.ondewo.nlu.BatchUpdateEntityTypesRequest} request The
434
+ * request proto
435
+ * @param {?Object<string, string>=} metadata User defined
436
+ * call metadata
437
+ * @return {!Promise<!proto.ondewo.nlu.Operation>}
438
+ * Promise that resolves to the response
439
+ */
440
+ proto.ondewo.nlu.EntityTypesPromiseClient.prototype.batchUpdateEntityTypes =
441
+ function(request, metadata) {
442
+ return this.client_.unaryCall(this.hostname_ +
443
+ '/ondewo.nlu.EntityTypes/BatchUpdateEntityTypes',
444
+ request,
445
+ metadata || {},
446
+ methodDescriptor_EntityTypes_BatchUpdateEntityTypes);
447
+ };
448
+
449
+
450
+ /**
451
+ * @const
452
+ * @type {!grpc.web.MethodDescriptor<
453
+ * !proto.ondewo.nlu.BatchDeleteEntityTypesRequest,
454
+ * !proto.ondewo.nlu.Operation>}
455
+ */
456
+ const methodDescriptor_EntityTypes_BatchDeleteEntityTypes = new grpc.web.MethodDescriptor(
457
+ '/ondewo.nlu.EntityTypes/BatchDeleteEntityTypes',
458
+ grpc.web.MethodType.UNARY,
459
+ proto.ondewo.nlu.BatchDeleteEntityTypesRequest,
460
+ ondewo_nlu_operations_pb.Operation,
461
+ /**
462
+ * @param {!proto.ondewo.nlu.BatchDeleteEntityTypesRequest} request
463
+ * @return {!Uint8Array}
464
+ */
465
+ function(request) {
466
+ return request.serializeBinary();
467
+ },
468
+ ondewo_nlu_operations_pb.Operation.deserializeBinary
469
+ );
470
+
471
+
472
+ /**
473
+ * @param {!proto.ondewo.nlu.BatchDeleteEntityTypesRequest} request The
474
+ * request proto
475
+ * @param {?Object<string, string>} metadata User defined
476
+ * call metadata
477
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
478
+ * callback The callback function(error, response)
479
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
480
+ * The XHR Node Readable Stream
481
+ */
482
+ proto.ondewo.nlu.EntityTypesClient.prototype.batchDeleteEntityTypes =
483
+ function(request, metadata, callback) {
484
+ return this.client_.rpcCall(this.hostname_ +
485
+ '/ondewo.nlu.EntityTypes/BatchDeleteEntityTypes',
486
+ request,
487
+ metadata || {},
488
+ methodDescriptor_EntityTypes_BatchDeleteEntityTypes,
489
+ callback);
490
+ };
491
+
492
+
493
+ /**
494
+ * @param {!proto.ondewo.nlu.BatchDeleteEntityTypesRequest} request The
495
+ * request proto
496
+ * @param {?Object<string, string>=} metadata User defined
497
+ * call metadata
498
+ * @return {!Promise<!proto.ondewo.nlu.Operation>}
499
+ * Promise that resolves to the response
500
+ */
501
+ proto.ondewo.nlu.EntityTypesPromiseClient.prototype.batchDeleteEntityTypes =
502
+ function(request, metadata) {
503
+ return this.client_.unaryCall(this.hostname_ +
504
+ '/ondewo.nlu.EntityTypes/BatchDeleteEntityTypes',
505
+ request,
506
+ metadata || {},
507
+ methodDescriptor_EntityTypes_BatchDeleteEntityTypes);
508
+ };
509
+
510
+
511
+ /**
512
+ * @const
513
+ * @type {!grpc.web.MethodDescriptor<
514
+ * !proto.ondewo.nlu.BatchCreateEntitiesRequest,
515
+ * !proto.ondewo.nlu.BatchEntitiesResponse>}
516
+ */
517
+ const methodDescriptor_EntityTypes_BatchCreateEntities = new grpc.web.MethodDescriptor(
518
+ '/ondewo.nlu.EntityTypes/BatchCreateEntities',
519
+ grpc.web.MethodType.UNARY,
520
+ proto.ondewo.nlu.BatchCreateEntitiesRequest,
521
+ proto.ondewo.nlu.BatchEntitiesResponse,
522
+ /**
523
+ * @param {!proto.ondewo.nlu.BatchCreateEntitiesRequest} request
524
+ * @return {!Uint8Array}
525
+ */
526
+ function(request) {
527
+ return request.serializeBinary();
528
+ },
529
+ proto.ondewo.nlu.BatchEntitiesResponse.deserializeBinary
530
+ );
531
+
532
+
533
+ /**
534
+ * @param {!proto.ondewo.nlu.BatchCreateEntitiesRequest} request The
535
+ * request proto
536
+ * @param {?Object<string, string>} metadata User defined
537
+ * call metadata
538
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchEntitiesResponse)}
539
+ * callback The callback function(error, response)
540
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchEntitiesResponse>|undefined}
541
+ * The XHR Node Readable Stream
542
+ */
543
+ proto.ondewo.nlu.EntityTypesClient.prototype.batchCreateEntities =
544
+ function(request, metadata, callback) {
545
+ return this.client_.rpcCall(this.hostname_ +
546
+ '/ondewo.nlu.EntityTypes/BatchCreateEntities',
547
+ request,
548
+ metadata || {},
549
+ methodDescriptor_EntityTypes_BatchCreateEntities,
550
+ callback);
551
+ };
552
+
553
+
554
+ /**
555
+ * @param {!proto.ondewo.nlu.BatchCreateEntitiesRequest} request The
556
+ * request proto
557
+ * @param {?Object<string, string>=} metadata User defined
558
+ * call metadata
559
+ * @return {!Promise<!proto.ondewo.nlu.BatchEntitiesResponse>}
560
+ * Promise that resolves to the response
561
+ */
562
+ proto.ondewo.nlu.EntityTypesPromiseClient.prototype.batchCreateEntities =
563
+ function(request, metadata) {
564
+ return this.client_.unaryCall(this.hostname_ +
565
+ '/ondewo.nlu.EntityTypes/BatchCreateEntities',
566
+ request,
567
+ metadata || {},
568
+ methodDescriptor_EntityTypes_BatchCreateEntities);
569
+ };
570
+
571
+
572
+ /**
573
+ * @const
574
+ * @type {!grpc.web.MethodDescriptor<
575
+ * !proto.ondewo.nlu.BatchUpdateEntitiesRequest,
576
+ * !proto.ondewo.nlu.BatchEntitiesResponse>}
577
+ */
578
+ const methodDescriptor_EntityTypes_BatchUpdateEntities = new grpc.web.MethodDescriptor(
579
+ '/ondewo.nlu.EntityTypes/BatchUpdateEntities',
580
+ grpc.web.MethodType.UNARY,
581
+ proto.ondewo.nlu.BatchUpdateEntitiesRequest,
582
+ proto.ondewo.nlu.BatchEntitiesResponse,
583
+ /**
584
+ * @param {!proto.ondewo.nlu.BatchUpdateEntitiesRequest} request
585
+ * @return {!Uint8Array}
586
+ */
587
+ function(request) {
588
+ return request.serializeBinary();
589
+ },
590
+ proto.ondewo.nlu.BatchEntitiesResponse.deserializeBinary
591
+ );
592
+
593
+
594
+ /**
595
+ * @param {!proto.ondewo.nlu.BatchUpdateEntitiesRequest} request The
596
+ * request proto
597
+ * @param {?Object<string, string>} metadata User defined
598
+ * call metadata
599
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchEntitiesResponse)}
600
+ * callback The callback function(error, response)
601
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchEntitiesResponse>|undefined}
602
+ * The XHR Node Readable Stream
603
+ */
604
+ proto.ondewo.nlu.EntityTypesClient.prototype.batchUpdateEntities =
605
+ function(request, metadata, callback) {
606
+ return this.client_.rpcCall(this.hostname_ +
607
+ '/ondewo.nlu.EntityTypes/BatchUpdateEntities',
608
+ request,
609
+ metadata || {},
610
+ methodDescriptor_EntityTypes_BatchUpdateEntities,
611
+ callback);
612
+ };
613
+
614
+
615
+ /**
616
+ * @param {!proto.ondewo.nlu.BatchUpdateEntitiesRequest} request The
617
+ * request proto
618
+ * @param {?Object<string, string>=} metadata User defined
619
+ * call metadata
620
+ * @return {!Promise<!proto.ondewo.nlu.BatchEntitiesResponse>}
621
+ * Promise that resolves to the response
622
+ */
623
+ proto.ondewo.nlu.EntityTypesPromiseClient.prototype.batchUpdateEntities =
624
+ function(request, metadata) {
625
+ return this.client_.unaryCall(this.hostname_ +
626
+ '/ondewo.nlu.EntityTypes/BatchUpdateEntities',
627
+ request,
628
+ metadata || {},
629
+ methodDescriptor_EntityTypes_BatchUpdateEntities);
630
+ };
631
+
632
+
633
+ /**
634
+ * @const
635
+ * @type {!grpc.web.MethodDescriptor<
636
+ * !proto.ondewo.nlu.BatchGetEntitiesRequest,
637
+ * !proto.ondewo.nlu.BatchEntitiesResponse>}
638
+ */
639
+ const methodDescriptor_EntityTypes_BatchGetEntities = new grpc.web.MethodDescriptor(
640
+ '/ondewo.nlu.EntityTypes/BatchGetEntities',
641
+ grpc.web.MethodType.UNARY,
642
+ proto.ondewo.nlu.BatchGetEntitiesRequest,
643
+ proto.ondewo.nlu.BatchEntitiesResponse,
644
+ /**
645
+ * @param {!proto.ondewo.nlu.BatchGetEntitiesRequest} request
646
+ * @return {!Uint8Array}
647
+ */
648
+ function(request) {
649
+ return request.serializeBinary();
650
+ },
651
+ proto.ondewo.nlu.BatchEntitiesResponse.deserializeBinary
652
+ );
653
+
654
+
655
+ /**
656
+ * @param {!proto.ondewo.nlu.BatchGetEntitiesRequest} request The
657
+ * request proto
658
+ * @param {?Object<string, string>} metadata User defined
659
+ * call metadata
660
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchEntitiesResponse)}
661
+ * callback The callback function(error, response)
662
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchEntitiesResponse>|undefined}
663
+ * The XHR Node Readable Stream
664
+ */
665
+ proto.ondewo.nlu.EntityTypesClient.prototype.batchGetEntities =
666
+ function(request, metadata, callback) {
667
+ return this.client_.rpcCall(this.hostname_ +
668
+ '/ondewo.nlu.EntityTypes/BatchGetEntities',
669
+ request,
670
+ metadata || {},
671
+ methodDescriptor_EntityTypes_BatchGetEntities,
672
+ callback);
673
+ };
674
+
675
+
676
+ /**
677
+ * @param {!proto.ondewo.nlu.BatchGetEntitiesRequest} request The
678
+ * request proto
679
+ * @param {?Object<string, string>=} metadata User defined
680
+ * call metadata
681
+ * @return {!Promise<!proto.ondewo.nlu.BatchEntitiesResponse>}
682
+ * Promise that resolves to the response
683
+ */
684
+ proto.ondewo.nlu.EntityTypesPromiseClient.prototype.batchGetEntities =
685
+ function(request, metadata) {
686
+ return this.client_.unaryCall(this.hostname_ +
687
+ '/ondewo.nlu.EntityTypes/BatchGetEntities',
688
+ request,
689
+ metadata || {},
690
+ methodDescriptor_EntityTypes_BatchGetEntities);
691
+ };
692
+
693
+
694
+ /**
695
+ * @const
696
+ * @type {!grpc.web.MethodDescriptor<
697
+ * !proto.ondewo.nlu.BatchDeleteEntitiesRequest,
698
+ * !proto.ondewo.nlu.BatchDeleteEntitiesResponse>}
699
+ */
700
+ const methodDescriptor_EntityTypes_BatchDeleteEntities = new grpc.web.MethodDescriptor(
701
+ '/ondewo.nlu.EntityTypes/BatchDeleteEntities',
702
+ grpc.web.MethodType.UNARY,
703
+ proto.ondewo.nlu.BatchDeleteEntitiesRequest,
704
+ proto.ondewo.nlu.BatchDeleteEntitiesResponse,
705
+ /**
706
+ * @param {!proto.ondewo.nlu.BatchDeleteEntitiesRequest} request
707
+ * @return {!Uint8Array}
708
+ */
709
+ function(request) {
710
+ return request.serializeBinary();
711
+ },
712
+ proto.ondewo.nlu.BatchDeleteEntitiesResponse.deserializeBinary
713
+ );
714
+
715
+
716
+ /**
717
+ * @param {!proto.ondewo.nlu.BatchDeleteEntitiesRequest} request The
718
+ * request proto
719
+ * @param {?Object<string, string>} metadata User defined
720
+ * call metadata
721
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchDeleteEntitiesResponse)}
722
+ * callback The callback function(error, response)
723
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchDeleteEntitiesResponse>|undefined}
724
+ * The XHR Node Readable Stream
725
+ */
726
+ proto.ondewo.nlu.EntityTypesClient.prototype.batchDeleteEntities =
727
+ function(request, metadata, callback) {
728
+ return this.client_.rpcCall(this.hostname_ +
729
+ '/ondewo.nlu.EntityTypes/BatchDeleteEntities',
730
+ request,
731
+ metadata || {},
732
+ methodDescriptor_EntityTypes_BatchDeleteEntities,
733
+ callback);
734
+ };
735
+
736
+
737
+ /**
738
+ * @param {!proto.ondewo.nlu.BatchDeleteEntitiesRequest} request The
739
+ * request proto
740
+ * @param {?Object<string, string>=} metadata User defined
741
+ * call metadata
742
+ * @return {!Promise<!proto.ondewo.nlu.BatchDeleteEntitiesResponse>}
743
+ * Promise that resolves to the response
744
+ */
745
+ proto.ondewo.nlu.EntityTypesPromiseClient.prototype.batchDeleteEntities =
746
+ function(request, metadata) {
747
+ return this.client_.unaryCall(this.hostname_ +
748
+ '/ondewo.nlu.EntityTypes/BatchDeleteEntities',
749
+ request,
750
+ metadata || {},
751
+ methodDescriptor_EntityTypes_BatchDeleteEntities);
752
+ };
753
+
754
+
755
+ /**
756
+ * @const
757
+ * @type {!grpc.web.MethodDescriptor<
758
+ * !proto.ondewo.nlu.ListEntitiesRequest,
759
+ * !proto.ondewo.nlu.ListEntitiesResponse>}
760
+ */
761
+ const methodDescriptor_EntityTypes_ListEntities = new grpc.web.MethodDescriptor(
762
+ '/ondewo.nlu.EntityTypes/ListEntities',
763
+ grpc.web.MethodType.UNARY,
764
+ proto.ondewo.nlu.ListEntitiesRequest,
765
+ proto.ondewo.nlu.ListEntitiesResponse,
766
+ /**
767
+ * @param {!proto.ondewo.nlu.ListEntitiesRequest} request
768
+ * @return {!Uint8Array}
769
+ */
770
+ function(request) {
771
+ return request.serializeBinary();
772
+ },
773
+ proto.ondewo.nlu.ListEntitiesResponse.deserializeBinary
774
+ );
775
+
776
+
777
+ /**
778
+ * @param {!proto.ondewo.nlu.ListEntitiesRequest} request The
779
+ * request proto
780
+ * @param {?Object<string, string>} metadata User defined
781
+ * call metadata
782
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListEntitiesResponse)}
783
+ * callback The callback function(error, response)
784
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListEntitiesResponse>|undefined}
785
+ * The XHR Node Readable Stream
786
+ */
787
+ proto.ondewo.nlu.EntityTypesClient.prototype.listEntities =
788
+ function(request, metadata, callback) {
789
+ return this.client_.rpcCall(this.hostname_ +
790
+ '/ondewo.nlu.EntityTypes/ListEntities',
791
+ request,
792
+ metadata || {},
793
+ methodDescriptor_EntityTypes_ListEntities,
794
+ callback);
795
+ };
796
+
797
+
798
+ /**
799
+ * @param {!proto.ondewo.nlu.ListEntitiesRequest} request The
800
+ * request proto
801
+ * @param {?Object<string, string>=} metadata User defined
802
+ * call metadata
803
+ * @return {!Promise<!proto.ondewo.nlu.ListEntitiesResponse>}
804
+ * Promise that resolves to the response
805
+ */
806
+ proto.ondewo.nlu.EntityTypesPromiseClient.prototype.listEntities =
807
+ function(request, metadata) {
808
+ return this.client_.unaryCall(this.hostname_ +
809
+ '/ondewo.nlu.EntityTypes/ListEntities',
810
+ request,
811
+ metadata || {},
812
+ methodDescriptor_EntityTypes_ListEntities);
813
+ };
814
+
815
+
816
+ module.exports = proto.ondewo.nlu;
817
+