@ondewo/nlu-client-typescript 4.0.0 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +450 -490
  2. package/api/ondewo/nlu/agent_grpc_web_pb.js +1113 -1244
  3. package/api/ondewo/nlu/agent_pb.d.ts +1939 -1751
  4. package/api/ondewo/nlu/agent_pb.js +9062 -10483
  5. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +98 -106
  6. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +245 -280
  7. package/api/ondewo/nlu/aiservices_pb.d.ts +745 -674
  8. package/api/ondewo/nlu/aiservices_pb.js +3638 -4403
  9. package/api/ondewo/nlu/common_pb.d.ts +15 -17
  10. package/api/ondewo/nlu/common_pb.js +83 -93
  11. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +76 -82
  12. package/api/ondewo/nlu/context_grpc_web_pb.js +191 -220
  13. package/api/ondewo/nlu/context_pb.d.ts +151 -151
  14. package/api/ondewo/nlu/context_pb.js +889 -1042
  15. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +142 -154
  16. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +351 -398
  17. package/api/ondewo/nlu/entity_type_pb.d.ts +614 -571
  18. package/api/ondewo/nlu/entity_type_pb.js +2893 -3369
  19. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +310 -334
  20. package/api/ondewo/nlu/intent_grpc_web_pb.js +766 -851
  21. package/api/ondewo/nlu/intent_pb.d.ts +2151 -1993
  22. package/api/ondewo/nlu/intent_pb.js +9502 -10692
  23. package/api/ondewo/nlu/operation_metadata_pb.d.ts +86 -88
  24. package/api/ondewo/nlu/operation_metadata_pb.js +321 -412
  25. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +46 -50
  26. package/api/ondewo/nlu/operations_grpc_web_pb.js +140 -163
  27. package/api/ondewo/nlu/operations_pb.d.ts +189 -182
  28. package/api/ondewo/nlu/operations_pb.js +843 -1004
  29. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +65 -70
  30. package/api/ondewo/nlu/project_role_grpc_web_pb.js +164 -190
  31. package/api/ondewo/nlu/project_role_pb.d.ts +165 -151
  32. package/api/ondewo/nlu/project_role_pb.js +796 -963
  33. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +98 -106
  34. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +246 -281
  35. package/api/ondewo/nlu/project_statistics_pb.d.ts +67 -63
  36. package/api/ondewo/nlu/project_statistics_pb.js +354 -418
  37. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +43 -46
  38. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +110 -130
  39. package/api/ondewo/nlu/server_statistics_pb.d.ts +15 -14
  40. package/api/ondewo/nlu/server_statistics_pb.js +81 -91
  41. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +164 -178
  42. package/api/ondewo/nlu/session_grpc_web_pb.js +409 -462
  43. package/api/ondewo/nlu/session_pb.d.ts +1080 -1025
  44. package/api/ondewo/nlu/session_pb.js +5285 -6536
  45. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +172 -190
  46. package/api/ondewo/nlu/user_grpc_web_pb.js +431 -487
  47. package/api/ondewo/nlu/user_pb.d.ts +345 -325
  48. package/api/ondewo/nlu/user_pb.js +1948 -2312
  49. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +98 -106
  50. package/api/ondewo/nlu/utility_grpc_web_pb.js +244 -279
  51. package/api/ondewo/nlu/utility_pb.d.ts +588 -535
  52. package/api/ondewo/nlu/utility_pb.js +2814 -3348
  53. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +43 -46
  54. package/api/ondewo/nlu/webhook_grpc_web_pb.js +112 -132
  55. package/api/ondewo/nlu/webhook_pb.d.ts +123 -119
  56. package/api/ondewo/nlu/webhook_pb.js +599 -718
  57. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +87 -94
  58. package/api/ondewo/qa/qa_grpc_web_pb.js +218 -250
  59. package/api/ondewo/qa/qa_pb.d.ts +235 -220
  60. package/api/ondewo/qa/qa_pb.js +1222 -1452
  61. package/package.json +1 -1
  62. package/public-api.d.ts +4 -34
@@ -6,21 +6,17 @@
6
6
 
7
7
  // GENERATED CODE -- DO NOT EDIT!
8
8
 
9
-
10
9
  /* eslint-disable */
11
10
  // @ts-nocheck
12
11
 
13
-
14
-
15
12
  const grpc = {};
16
13
  grpc.web = require('grpc-web');
17
14
 
15
+ var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
18
16
 
19
- var google_api_annotations_pb = require('../../google/api/annotations_pb.js')
17
+ var ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js');
20
18
 
21
- var ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js')
22
-
23
- var ondewo_nlu_entity_type_pb = require('../../ondewo/nlu/entity_type_pb.js')
19
+ var ondewo_nlu_entity_type_pb = require('../../ondewo/nlu/entity_type_pb.js');
24
20
  const proto = {};
25
21
  proto.ondewo = {};
26
22
  proto.ondewo.nlu = require('./aiservices_pb.js');
@@ -33,24 +29,21 @@ proto.ondewo.nlu = require('./aiservices_pb.js');
33
29
  * @struct
34
30
  * @final
35
31
  */
36
- proto.ondewo.nlu.AiServicesClient =
37
- function(hostname, credentials, options) {
38
- if (!options) options = {};
39
- options.format = 'binary';
40
-
41
- /**
42
- * @private @const {!grpc.web.GrpcWebClientBase} The client
43
- */
44
- this.client_ = new grpc.web.GrpcWebClientBase(options);
45
-
46
- /**
47
- * @private @const {string} The hostname
48
- */
49
- this.hostname_ = hostname;
50
-
32
+ proto.ondewo.nlu.AiServicesClient = function (hostname, credentials, options) {
33
+ if (!options) options = {};
34
+ options.format = 'binary';
35
+
36
+ /**
37
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
38
+ */
39
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
40
+
41
+ /**
42
+ * @private @const {string} The hostname
43
+ */
44
+ this.hostname_ = hostname;
51
45
  };
52
46
 
53
-
54
47
  /**
55
48
  * @param {string} hostname
56
49
  * @param {?Object} credentials
@@ -59,24 +52,21 @@ proto.ondewo.nlu.AiServicesClient =
59
52
  * @struct
60
53
  * @final
61
54
  */
62
- proto.ondewo.nlu.AiServicesPromiseClient =
63
- function(hostname, credentials, options) {
64
- if (!options) options = {};
65
- options.format = 'binary';
66
-
67
- /**
68
- * @private @const {!grpc.web.GrpcWebClientBase} The client
69
- */
70
- this.client_ = new grpc.web.GrpcWebClientBase(options);
71
-
72
- /**
73
- * @private @const {string} The hostname
74
- */
75
- this.hostname_ = hostname;
76
-
55
+ proto.ondewo.nlu.AiServicesPromiseClient = function (hostname, credentials, options) {
56
+ if (!options) options = {};
57
+ options.format = 'binary';
58
+
59
+ /**
60
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
61
+ */
62
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
63
+
64
+ /**
65
+ * @private @const {string} The hostname
66
+ */
67
+ this.hostname_ = hostname;
77
68
  };
78
69
 
79
-
80
70
  /**
81
71
  * @const
82
72
  * @type {!grpc.web.MethodDescriptor<
@@ -84,21 +74,20 @@ proto.ondewo.nlu.AiServicesPromiseClient =
84
74
  * !proto.ondewo.nlu.ExtractEntitiesResponse>}
85
75
  */
86
76
  const methodDescriptor_AiServices_ExtractEntities = new grpc.web.MethodDescriptor(
87
- '/ondewo.nlu.AiServices/ExtractEntities',
88
- grpc.web.MethodType.UNARY,
89
- proto.ondewo.nlu.ExtractEntitiesRequest,
90
- proto.ondewo.nlu.ExtractEntitiesResponse,
91
- /**
92
- * @param {!proto.ondewo.nlu.ExtractEntitiesRequest} request
93
- * @return {!Uint8Array}
94
- */
95
- function(request) {
96
- return request.serializeBinary();
97
- },
98
- proto.ondewo.nlu.ExtractEntitiesResponse.deserializeBinary
77
+ '/ondewo.nlu.AiServices/ExtractEntities',
78
+ grpc.web.MethodType.UNARY,
79
+ proto.ondewo.nlu.ExtractEntitiesRequest,
80
+ proto.ondewo.nlu.ExtractEntitiesResponse,
81
+ /**
82
+ * @param {!proto.ondewo.nlu.ExtractEntitiesRequest} request
83
+ * @return {!Uint8Array}
84
+ */
85
+ function (request) {
86
+ return request.serializeBinary();
87
+ },
88
+ proto.ondewo.nlu.ExtractEntitiesResponse.deserializeBinary
99
89
  );
100
90
 
101
-
102
91
  /**
103
92
  * @param {!proto.ondewo.nlu.ExtractEntitiesRequest} request The
104
93
  * request proto
@@ -109,17 +98,16 @@ const methodDescriptor_AiServices_ExtractEntities = new grpc.web.MethodDescripto
109
98
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ExtractEntitiesResponse>|undefined}
110
99
  * The XHR Node Readable Stream
111
100
  */
112
- proto.ondewo.nlu.AiServicesClient.prototype.extractEntities =
113
- function(request, metadata, callback) {
114
- return this.client_.rpcCall(this.hostname_ +
115
- '/ondewo.nlu.AiServices/ExtractEntities',
116
- request,
117
- metadata || {},
118
- methodDescriptor_AiServices_ExtractEntities,
119
- callback);
101
+ proto.ondewo.nlu.AiServicesClient.prototype.extractEntities = function (request, metadata, callback) {
102
+ return this.client_.rpcCall(
103
+ this.hostname_ + '/ondewo.nlu.AiServices/ExtractEntities',
104
+ request,
105
+ metadata || {},
106
+ methodDescriptor_AiServices_ExtractEntities,
107
+ callback
108
+ );
120
109
  };
121
110
 
122
-
123
111
  /**
124
112
  * @param {!proto.ondewo.nlu.ExtractEntitiesRequest} request The
125
113
  * request proto
@@ -128,16 +116,15 @@ proto.ondewo.nlu.AiServicesClient.prototype.extractEntities =
128
116
  * @return {!Promise<!proto.ondewo.nlu.ExtractEntitiesResponse>}
129
117
  * Promise that resolves to the response
130
118
  */
131
- proto.ondewo.nlu.AiServicesPromiseClient.prototype.extractEntities =
132
- function(request, metadata) {
133
- return this.client_.unaryCall(this.hostname_ +
134
- '/ondewo.nlu.AiServices/ExtractEntities',
135
- request,
136
- metadata || {},
137
- methodDescriptor_AiServices_ExtractEntities);
119
+ proto.ondewo.nlu.AiServicesPromiseClient.prototype.extractEntities = function (request, metadata) {
120
+ return this.client_.unaryCall(
121
+ this.hostname_ + '/ondewo.nlu.AiServices/ExtractEntities',
122
+ request,
123
+ metadata || {},
124
+ methodDescriptor_AiServices_ExtractEntities
125
+ );
138
126
  };
139
127
 
140
-
141
128
  /**
142
129
  * @const
143
130
  * @type {!grpc.web.MethodDescriptor<
@@ -145,21 +132,20 @@ proto.ondewo.nlu.AiServicesPromiseClient.prototype.extractEntities =
145
132
  * !proto.ondewo.nlu.GenerateUserSaysResponse>}
146
133
  */
147
134
  const methodDescriptor_AiServices_GenerateUserSays = new grpc.web.MethodDescriptor(
148
- '/ondewo.nlu.AiServices/GenerateUserSays',
149
- grpc.web.MethodType.UNARY,
150
- proto.ondewo.nlu.GenerateUserSaysRequest,
151
- proto.ondewo.nlu.GenerateUserSaysResponse,
152
- /**
153
- * @param {!proto.ondewo.nlu.GenerateUserSaysRequest} request
154
- * @return {!Uint8Array}
155
- */
156
- function(request) {
157
- return request.serializeBinary();
158
- },
159
- proto.ondewo.nlu.GenerateUserSaysResponse.deserializeBinary
135
+ '/ondewo.nlu.AiServices/GenerateUserSays',
136
+ grpc.web.MethodType.UNARY,
137
+ proto.ondewo.nlu.GenerateUserSaysRequest,
138
+ proto.ondewo.nlu.GenerateUserSaysResponse,
139
+ /**
140
+ * @param {!proto.ondewo.nlu.GenerateUserSaysRequest} request
141
+ * @return {!Uint8Array}
142
+ */
143
+ function (request) {
144
+ return request.serializeBinary();
145
+ },
146
+ proto.ondewo.nlu.GenerateUserSaysResponse.deserializeBinary
160
147
  );
161
148
 
162
-
163
149
  /**
164
150
  * @param {!proto.ondewo.nlu.GenerateUserSaysRequest} request The
165
151
  * request proto
@@ -170,17 +156,16 @@ const methodDescriptor_AiServices_GenerateUserSays = new grpc.web.MethodDescript
170
156
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GenerateUserSaysResponse>|undefined}
171
157
  * The XHR Node Readable Stream
172
158
  */
173
- proto.ondewo.nlu.AiServicesClient.prototype.generateUserSays =
174
- function(request, metadata, callback) {
175
- return this.client_.rpcCall(this.hostname_ +
176
- '/ondewo.nlu.AiServices/GenerateUserSays',
177
- request,
178
- metadata || {},
179
- methodDescriptor_AiServices_GenerateUserSays,
180
- callback);
159
+ proto.ondewo.nlu.AiServicesClient.prototype.generateUserSays = function (request, metadata, callback) {
160
+ return this.client_.rpcCall(
161
+ this.hostname_ + '/ondewo.nlu.AiServices/GenerateUserSays',
162
+ request,
163
+ metadata || {},
164
+ methodDescriptor_AiServices_GenerateUserSays,
165
+ callback
166
+ );
181
167
  };
182
168
 
183
-
184
169
  /**
185
170
  * @param {!proto.ondewo.nlu.GenerateUserSaysRequest} request The
186
171
  * request proto
@@ -189,16 +174,15 @@ proto.ondewo.nlu.AiServicesClient.prototype.generateUserSays =
189
174
  * @return {!Promise<!proto.ondewo.nlu.GenerateUserSaysResponse>}
190
175
  * Promise that resolves to the response
191
176
  */
192
- proto.ondewo.nlu.AiServicesPromiseClient.prototype.generateUserSays =
193
- function(request, metadata) {
194
- return this.client_.unaryCall(this.hostname_ +
195
- '/ondewo.nlu.AiServices/GenerateUserSays',
196
- request,
197
- metadata || {},
198
- methodDescriptor_AiServices_GenerateUserSays);
177
+ proto.ondewo.nlu.AiServicesPromiseClient.prototype.generateUserSays = function (request, metadata) {
178
+ return this.client_.unaryCall(
179
+ this.hostname_ + '/ondewo.nlu.AiServices/GenerateUserSays',
180
+ request,
181
+ metadata || {},
182
+ methodDescriptor_AiServices_GenerateUserSays
183
+ );
199
184
  };
200
185
 
201
-
202
186
  /**
203
187
  * @const
204
188
  * @type {!grpc.web.MethodDescriptor<
@@ -206,21 +190,20 @@ proto.ondewo.nlu.AiServicesPromiseClient.prototype.generateUserSays =
206
190
  * !proto.ondewo.nlu.GenerateResponsesResponse>}
207
191
  */
208
192
  const methodDescriptor_AiServices_GenerateResponses = new grpc.web.MethodDescriptor(
209
- '/ondewo.nlu.AiServices/GenerateResponses',
210
- grpc.web.MethodType.UNARY,
211
- proto.ondewo.nlu.GenerateResponsesRequest,
212
- proto.ondewo.nlu.GenerateResponsesResponse,
213
- /**
214
- * @param {!proto.ondewo.nlu.GenerateResponsesRequest} request
215
- * @return {!Uint8Array}
216
- */
217
- function(request) {
218
- return request.serializeBinary();
219
- },
220
- proto.ondewo.nlu.GenerateResponsesResponse.deserializeBinary
193
+ '/ondewo.nlu.AiServices/GenerateResponses',
194
+ grpc.web.MethodType.UNARY,
195
+ proto.ondewo.nlu.GenerateResponsesRequest,
196
+ proto.ondewo.nlu.GenerateResponsesResponse,
197
+ /**
198
+ * @param {!proto.ondewo.nlu.GenerateResponsesRequest} request
199
+ * @return {!Uint8Array}
200
+ */
201
+ function (request) {
202
+ return request.serializeBinary();
203
+ },
204
+ proto.ondewo.nlu.GenerateResponsesResponse.deserializeBinary
221
205
  );
222
206
 
223
-
224
207
  /**
225
208
  * @param {!proto.ondewo.nlu.GenerateResponsesRequest} request The
226
209
  * request proto
@@ -231,17 +214,16 @@ const methodDescriptor_AiServices_GenerateResponses = new grpc.web.MethodDescrip
231
214
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GenerateResponsesResponse>|undefined}
232
215
  * The XHR Node Readable Stream
233
216
  */
234
- proto.ondewo.nlu.AiServicesClient.prototype.generateResponses =
235
- function(request, metadata, callback) {
236
- return this.client_.rpcCall(this.hostname_ +
237
- '/ondewo.nlu.AiServices/GenerateResponses',
238
- request,
239
- metadata || {},
240
- methodDescriptor_AiServices_GenerateResponses,
241
- callback);
217
+ proto.ondewo.nlu.AiServicesClient.prototype.generateResponses = function (request, metadata, callback) {
218
+ return this.client_.rpcCall(
219
+ this.hostname_ + '/ondewo.nlu.AiServices/GenerateResponses',
220
+ request,
221
+ metadata || {},
222
+ methodDescriptor_AiServices_GenerateResponses,
223
+ callback
224
+ );
242
225
  };
243
226
 
244
-
245
227
  /**
246
228
  * @param {!proto.ondewo.nlu.GenerateResponsesRequest} request The
247
229
  * request proto
@@ -250,16 +232,15 @@ proto.ondewo.nlu.AiServicesClient.prototype.generateResponses =
250
232
  * @return {!Promise<!proto.ondewo.nlu.GenerateResponsesResponse>}
251
233
  * Promise that resolves to the response
252
234
  */
253
- proto.ondewo.nlu.AiServicesPromiseClient.prototype.generateResponses =
254
- function(request, metadata) {
255
- return this.client_.unaryCall(this.hostname_ +
256
- '/ondewo.nlu.AiServices/GenerateResponses',
257
- request,
258
- metadata || {},
259
- methodDescriptor_AiServices_GenerateResponses);
235
+ proto.ondewo.nlu.AiServicesPromiseClient.prototype.generateResponses = function (request, metadata) {
236
+ return this.client_.unaryCall(
237
+ this.hostname_ + '/ondewo.nlu.AiServices/GenerateResponses',
238
+ request,
239
+ metadata || {},
240
+ methodDescriptor_AiServices_GenerateResponses
241
+ );
260
242
  };
261
243
 
262
-
263
244
  /**
264
245
  * @const
265
246
  * @type {!grpc.web.MethodDescriptor<
@@ -267,21 +248,20 @@ proto.ondewo.nlu.AiServicesPromiseClient.prototype.generateResponses =
267
248
  * !proto.ondewo.nlu.GetAlternativeSentencesResponse>}
268
249
  */
269
250
  const methodDescriptor_AiServices_GetAlternativeSentences = new grpc.web.MethodDescriptor(
270
- '/ondewo.nlu.AiServices/GetAlternativeSentences',
271
- grpc.web.MethodType.UNARY,
272
- proto.ondewo.nlu.GetAlternativeSentencesRequest,
273
- proto.ondewo.nlu.GetAlternativeSentencesResponse,
274
- /**
275
- * @param {!proto.ondewo.nlu.GetAlternativeSentencesRequest} request
276
- * @return {!Uint8Array}
277
- */
278
- function(request) {
279
- return request.serializeBinary();
280
- },
281
- proto.ondewo.nlu.GetAlternativeSentencesResponse.deserializeBinary
251
+ '/ondewo.nlu.AiServices/GetAlternativeSentences',
252
+ grpc.web.MethodType.UNARY,
253
+ proto.ondewo.nlu.GetAlternativeSentencesRequest,
254
+ proto.ondewo.nlu.GetAlternativeSentencesResponse,
255
+ /**
256
+ * @param {!proto.ondewo.nlu.GetAlternativeSentencesRequest} request
257
+ * @return {!Uint8Array}
258
+ */
259
+ function (request) {
260
+ return request.serializeBinary();
261
+ },
262
+ proto.ondewo.nlu.GetAlternativeSentencesResponse.deserializeBinary
282
263
  );
283
264
 
284
-
285
265
  /**
286
266
  * @param {!proto.ondewo.nlu.GetAlternativeSentencesRequest} request The
287
267
  * request proto
@@ -292,17 +272,16 @@ const methodDescriptor_AiServices_GetAlternativeSentences = new grpc.web.MethodD
292
272
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GetAlternativeSentencesResponse>|undefined}
293
273
  * The XHR Node Readable Stream
294
274
  */
295
- proto.ondewo.nlu.AiServicesClient.prototype.getAlternativeSentences =
296
- function(request, metadata, callback) {
297
- return this.client_.rpcCall(this.hostname_ +
298
- '/ondewo.nlu.AiServices/GetAlternativeSentences',
299
- request,
300
- metadata || {},
301
- methodDescriptor_AiServices_GetAlternativeSentences,
302
- callback);
275
+ proto.ondewo.nlu.AiServicesClient.prototype.getAlternativeSentences = function (request, metadata, callback) {
276
+ return this.client_.rpcCall(
277
+ this.hostname_ + '/ondewo.nlu.AiServices/GetAlternativeSentences',
278
+ request,
279
+ metadata || {},
280
+ methodDescriptor_AiServices_GetAlternativeSentences,
281
+ callback
282
+ );
303
283
  };
304
284
 
305
-
306
285
  /**
307
286
  * @param {!proto.ondewo.nlu.GetAlternativeSentencesRequest} request The
308
287
  * request proto
@@ -311,16 +290,15 @@ proto.ondewo.nlu.AiServicesClient.prototype.getAlternativeSentences =
311
290
  * @return {!Promise<!proto.ondewo.nlu.GetAlternativeSentencesResponse>}
312
291
  * Promise that resolves to the response
313
292
  */
314
- proto.ondewo.nlu.AiServicesPromiseClient.prototype.getAlternativeSentences =
315
- function(request, metadata) {
316
- return this.client_.unaryCall(this.hostname_ +
317
- '/ondewo.nlu.AiServices/GetAlternativeSentences',
318
- request,
319
- metadata || {},
320
- methodDescriptor_AiServices_GetAlternativeSentences);
293
+ proto.ondewo.nlu.AiServicesPromiseClient.prototype.getAlternativeSentences = function (request, metadata) {
294
+ return this.client_.unaryCall(
295
+ this.hostname_ + '/ondewo.nlu.AiServices/GetAlternativeSentences',
296
+ request,
297
+ metadata || {},
298
+ methodDescriptor_AiServices_GetAlternativeSentences
299
+ );
321
300
  };
322
301
 
323
-
324
302
  /**
325
303
  * @const
326
304
  * @type {!grpc.web.MethodDescriptor<
@@ -328,21 +306,20 @@ proto.ondewo.nlu.AiServicesPromiseClient.prototype.getAlternativeSentences =
328
306
  * !proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse>}
329
307
  */
330
308
  const methodDescriptor_AiServices_GetAlternativeTrainingPhrases = new grpc.web.MethodDescriptor(
331
- '/ondewo.nlu.AiServices/GetAlternativeTrainingPhrases',
332
- grpc.web.MethodType.UNARY,
333
- proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest,
334
- proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse,
335
- /**
336
- * @param {!proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest} request
337
- * @return {!Uint8Array}
338
- */
339
- function(request) {
340
- return request.serializeBinary();
341
- },
342
- proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse.deserializeBinary
309
+ '/ondewo.nlu.AiServices/GetAlternativeTrainingPhrases',
310
+ grpc.web.MethodType.UNARY,
311
+ proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest,
312
+ proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse,
313
+ /**
314
+ * @param {!proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest} request
315
+ * @return {!Uint8Array}
316
+ */
317
+ function (request) {
318
+ return request.serializeBinary();
319
+ },
320
+ proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse.deserializeBinary
343
321
  );
344
322
 
345
-
346
323
  /**
347
324
  * @param {!proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest} request The
348
325
  * request proto
@@ -353,17 +330,16 @@ const methodDescriptor_AiServices_GetAlternativeTrainingPhrases = new grpc.web.M
353
330
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse>|undefined}
354
331
  * The XHR Node Readable Stream
355
332
  */
356
- proto.ondewo.nlu.AiServicesClient.prototype.getAlternativeTrainingPhrases =
357
- function(request, metadata, callback) {
358
- return this.client_.rpcCall(this.hostname_ +
359
- '/ondewo.nlu.AiServices/GetAlternativeTrainingPhrases',
360
- request,
361
- metadata || {},
362
- methodDescriptor_AiServices_GetAlternativeTrainingPhrases,
363
- callback);
333
+ proto.ondewo.nlu.AiServicesClient.prototype.getAlternativeTrainingPhrases = function (request, metadata, callback) {
334
+ return this.client_.rpcCall(
335
+ this.hostname_ + '/ondewo.nlu.AiServices/GetAlternativeTrainingPhrases',
336
+ request,
337
+ metadata || {},
338
+ methodDescriptor_AiServices_GetAlternativeTrainingPhrases,
339
+ callback
340
+ );
364
341
  };
365
342
 
366
-
367
343
  /**
368
344
  * @param {!proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest} request The
369
345
  * request proto
@@ -372,16 +348,15 @@ proto.ondewo.nlu.AiServicesClient.prototype.getAlternativeTrainingPhrases =
372
348
  * @return {!Promise<!proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse>}
373
349
  * Promise that resolves to the response
374
350
  */
375
- proto.ondewo.nlu.AiServicesPromiseClient.prototype.getAlternativeTrainingPhrases =
376
- function(request, metadata) {
377
- return this.client_.unaryCall(this.hostname_ +
378
- '/ondewo.nlu.AiServices/GetAlternativeTrainingPhrases',
379
- request,
380
- metadata || {},
381
- methodDescriptor_AiServices_GetAlternativeTrainingPhrases);
351
+ proto.ondewo.nlu.AiServicesPromiseClient.prototype.getAlternativeTrainingPhrases = function (request, metadata) {
352
+ return this.client_.unaryCall(
353
+ this.hostname_ + '/ondewo.nlu.AiServices/GetAlternativeTrainingPhrases',
354
+ request,
355
+ metadata || {},
356
+ methodDescriptor_AiServices_GetAlternativeTrainingPhrases
357
+ );
382
358
  };
383
359
 
384
-
385
360
  /**
386
361
  * @const
387
362
  * @type {!grpc.web.MethodDescriptor<
@@ -389,21 +364,20 @@ proto.ondewo.nlu.AiServicesPromiseClient.prototype.getAlternativeTrainingPhrases
389
364
  * !proto.ondewo.nlu.GetSynonymsResponse>}
390
365
  */
391
366
  const methodDescriptor_AiServices_GetSynonyms = new grpc.web.MethodDescriptor(
392
- '/ondewo.nlu.AiServices/GetSynonyms',
393
- grpc.web.MethodType.UNARY,
394
- proto.ondewo.nlu.GetSynonymsRequest,
395
- proto.ondewo.nlu.GetSynonymsResponse,
396
- /**
397
- * @param {!proto.ondewo.nlu.GetSynonymsRequest} request
398
- * @return {!Uint8Array}
399
- */
400
- function(request) {
401
- return request.serializeBinary();
402
- },
403
- proto.ondewo.nlu.GetSynonymsResponse.deserializeBinary
367
+ '/ondewo.nlu.AiServices/GetSynonyms',
368
+ grpc.web.MethodType.UNARY,
369
+ proto.ondewo.nlu.GetSynonymsRequest,
370
+ proto.ondewo.nlu.GetSynonymsResponse,
371
+ /**
372
+ * @param {!proto.ondewo.nlu.GetSynonymsRequest} request
373
+ * @return {!Uint8Array}
374
+ */
375
+ function (request) {
376
+ return request.serializeBinary();
377
+ },
378
+ proto.ondewo.nlu.GetSynonymsResponse.deserializeBinary
404
379
  );
405
380
 
406
-
407
381
  /**
408
382
  * @param {!proto.ondewo.nlu.GetSynonymsRequest} request The
409
383
  * request proto
@@ -414,17 +388,16 @@ const methodDescriptor_AiServices_GetSynonyms = new grpc.web.MethodDescriptor(
414
388
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GetSynonymsResponse>|undefined}
415
389
  * The XHR Node Readable Stream
416
390
  */
417
- proto.ondewo.nlu.AiServicesClient.prototype.getSynonyms =
418
- function(request, metadata, callback) {
419
- return this.client_.rpcCall(this.hostname_ +
420
- '/ondewo.nlu.AiServices/GetSynonyms',
421
- request,
422
- metadata || {},
423
- methodDescriptor_AiServices_GetSynonyms,
424
- callback);
391
+ proto.ondewo.nlu.AiServicesClient.prototype.getSynonyms = function (request, metadata, callback) {
392
+ return this.client_.rpcCall(
393
+ this.hostname_ + '/ondewo.nlu.AiServices/GetSynonyms',
394
+ request,
395
+ metadata || {},
396
+ methodDescriptor_AiServices_GetSynonyms,
397
+ callback
398
+ );
425
399
  };
426
400
 
427
-
428
401
  /**
429
402
  * @param {!proto.ondewo.nlu.GetSynonymsRequest} request The
430
403
  * request proto
@@ -433,16 +406,15 @@ proto.ondewo.nlu.AiServicesClient.prototype.getSynonyms =
433
406
  * @return {!Promise<!proto.ondewo.nlu.GetSynonymsResponse>}
434
407
  * Promise that resolves to the response
435
408
  */
436
- proto.ondewo.nlu.AiServicesPromiseClient.prototype.getSynonyms =
437
- function(request, metadata) {
438
- return this.client_.unaryCall(this.hostname_ +
439
- '/ondewo.nlu.AiServices/GetSynonyms',
440
- request,
441
- metadata || {},
442
- methodDescriptor_AiServices_GetSynonyms);
409
+ proto.ondewo.nlu.AiServicesPromiseClient.prototype.getSynonyms = function (request, metadata) {
410
+ return this.client_.unaryCall(
411
+ this.hostname_ + '/ondewo.nlu.AiServices/GetSynonyms',
412
+ request,
413
+ metadata || {},
414
+ methodDescriptor_AiServices_GetSynonyms
415
+ );
443
416
  };
444
417
 
445
-
446
418
  /**
447
419
  * @const
448
420
  * @type {!grpc.web.MethodDescriptor<
@@ -450,21 +422,20 @@ proto.ondewo.nlu.AiServicesPromiseClient.prototype.getSynonyms =
450
422
  * !proto.ondewo.nlu.ClassifyIntentsResponse>}
451
423
  */
452
424
  const methodDescriptor_AiServices_ClassifyIntents = new grpc.web.MethodDescriptor(
453
- '/ondewo.nlu.AiServices/ClassifyIntents',
454
- grpc.web.MethodType.UNARY,
455
- proto.ondewo.nlu.ClassifyIntentsRequest,
456
- proto.ondewo.nlu.ClassifyIntentsResponse,
457
- /**
458
- * @param {!proto.ondewo.nlu.ClassifyIntentsRequest} request
459
- * @return {!Uint8Array}
460
- */
461
- function(request) {
462
- return request.serializeBinary();
463
- },
464
- proto.ondewo.nlu.ClassifyIntentsResponse.deserializeBinary
425
+ '/ondewo.nlu.AiServices/ClassifyIntents',
426
+ grpc.web.MethodType.UNARY,
427
+ proto.ondewo.nlu.ClassifyIntentsRequest,
428
+ proto.ondewo.nlu.ClassifyIntentsResponse,
429
+ /**
430
+ * @param {!proto.ondewo.nlu.ClassifyIntentsRequest} request
431
+ * @return {!Uint8Array}
432
+ */
433
+ function (request) {
434
+ return request.serializeBinary();
435
+ },
436
+ proto.ondewo.nlu.ClassifyIntentsResponse.deserializeBinary
465
437
  );
466
438
 
467
-
468
439
  /**
469
440
  * @param {!proto.ondewo.nlu.ClassifyIntentsRequest} request The
470
441
  * request proto
@@ -475,17 +446,16 @@ const methodDescriptor_AiServices_ClassifyIntents = new grpc.web.MethodDescripto
475
446
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ClassifyIntentsResponse>|undefined}
476
447
  * The XHR Node Readable Stream
477
448
  */
478
- proto.ondewo.nlu.AiServicesClient.prototype.classifyIntents =
479
- function(request, metadata, callback) {
480
- return this.client_.rpcCall(this.hostname_ +
481
- '/ondewo.nlu.AiServices/ClassifyIntents',
482
- request,
483
- metadata || {},
484
- methodDescriptor_AiServices_ClassifyIntents,
485
- callback);
449
+ proto.ondewo.nlu.AiServicesClient.prototype.classifyIntents = function (request, metadata, callback) {
450
+ return this.client_.rpcCall(
451
+ this.hostname_ + '/ondewo.nlu.AiServices/ClassifyIntents',
452
+ request,
453
+ metadata || {},
454
+ methodDescriptor_AiServices_ClassifyIntents,
455
+ callback
456
+ );
486
457
  };
487
458
 
488
-
489
459
  /**
490
460
  * @param {!proto.ondewo.nlu.ClassifyIntentsRequest} request The
491
461
  * request proto
@@ -494,16 +464,15 @@ proto.ondewo.nlu.AiServicesClient.prototype.classifyIntents =
494
464
  * @return {!Promise<!proto.ondewo.nlu.ClassifyIntentsResponse>}
495
465
  * Promise that resolves to the response
496
466
  */
497
- proto.ondewo.nlu.AiServicesPromiseClient.prototype.classifyIntents =
498
- function(request, metadata) {
499
- return this.client_.unaryCall(this.hostname_ +
500
- '/ondewo.nlu.AiServices/ClassifyIntents',
501
- request,
502
- metadata || {},
503
- methodDescriptor_AiServices_ClassifyIntents);
467
+ proto.ondewo.nlu.AiServicesPromiseClient.prototype.classifyIntents = function (request, metadata) {
468
+ return this.client_.unaryCall(
469
+ this.hostname_ + '/ondewo.nlu.AiServices/ClassifyIntents',
470
+ request,
471
+ metadata || {},
472
+ methodDescriptor_AiServices_ClassifyIntents
473
+ );
504
474
  };
505
475
 
506
-
507
476
  /**
508
477
  * @const
509
478
  * @type {!grpc.web.MethodDescriptor<
@@ -511,21 +480,20 @@ proto.ondewo.nlu.AiServicesPromiseClient.prototype.classifyIntents =
511
480
  * !proto.ondewo.nlu.ExtractEntitiesResponse>}
512
481
  */
513
482
  const methodDescriptor_AiServices_ExtractEntitiesFuzzy = new grpc.web.MethodDescriptor(
514
- '/ondewo.nlu.AiServices/ExtractEntitiesFuzzy',
515
- grpc.web.MethodType.UNARY,
516
- proto.ondewo.nlu.ExtractEntitiesFuzzyRequest,
517
- proto.ondewo.nlu.ExtractEntitiesResponse,
518
- /**
519
- * @param {!proto.ondewo.nlu.ExtractEntitiesFuzzyRequest} request
520
- * @return {!Uint8Array}
521
- */
522
- function(request) {
523
- return request.serializeBinary();
524
- },
525
- proto.ondewo.nlu.ExtractEntitiesResponse.deserializeBinary
483
+ '/ondewo.nlu.AiServices/ExtractEntitiesFuzzy',
484
+ grpc.web.MethodType.UNARY,
485
+ proto.ondewo.nlu.ExtractEntitiesFuzzyRequest,
486
+ proto.ondewo.nlu.ExtractEntitiesResponse,
487
+ /**
488
+ * @param {!proto.ondewo.nlu.ExtractEntitiesFuzzyRequest} request
489
+ * @return {!Uint8Array}
490
+ */
491
+ function (request) {
492
+ return request.serializeBinary();
493
+ },
494
+ proto.ondewo.nlu.ExtractEntitiesResponse.deserializeBinary
526
495
  );
527
496
 
528
-
529
497
  /**
530
498
  * @param {!proto.ondewo.nlu.ExtractEntitiesFuzzyRequest} request The
531
499
  * request proto
@@ -536,17 +504,16 @@ const methodDescriptor_AiServices_ExtractEntitiesFuzzy = new grpc.web.MethodDesc
536
504
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ExtractEntitiesResponse>|undefined}
537
505
  * The XHR Node Readable Stream
538
506
  */
539
- proto.ondewo.nlu.AiServicesClient.prototype.extractEntitiesFuzzy =
540
- function(request, metadata, callback) {
541
- return this.client_.rpcCall(this.hostname_ +
542
- '/ondewo.nlu.AiServices/ExtractEntitiesFuzzy',
543
- request,
544
- metadata || {},
545
- methodDescriptor_AiServices_ExtractEntitiesFuzzy,
546
- callback);
507
+ proto.ondewo.nlu.AiServicesClient.prototype.extractEntitiesFuzzy = function (request, metadata, callback) {
508
+ return this.client_.rpcCall(
509
+ this.hostname_ + '/ondewo.nlu.AiServices/ExtractEntitiesFuzzy',
510
+ request,
511
+ metadata || {},
512
+ methodDescriptor_AiServices_ExtractEntitiesFuzzy,
513
+ callback
514
+ );
547
515
  };
548
516
 
549
-
550
517
  /**
551
518
  * @param {!proto.ondewo.nlu.ExtractEntitiesFuzzyRequest} request The
552
519
  * request proto
@@ -555,15 +522,13 @@ proto.ondewo.nlu.AiServicesClient.prototype.extractEntitiesFuzzy =
555
522
  * @return {!Promise<!proto.ondewo.nlu.ExtractEntitiesResponse>}
556
523
  * Promise that resolves to the response
557
524
  */
558
- proto.ondewo.nlu.AiServicesPromiseClient.prototype.extractEntitiesFuzzy =
559
- function(request, metadata) {
560
- return this.client_.unaryCall(this.hostname_ +
561
- '/ondewo.nlu.AiServices/ExtractEntitiesFuzzy',
562
- request,
563
- metadata || {},
564
- methodDescriptor_AiServices_ExtractEntitiesFuzzy);
525
+ proto.ondewo.nlu.AiServicesPromiseClient.prototype.extractEntitiesFuzzy = function (request, metadata) {
526
+ return this.client_.unaryCall(
527
+ this.hostname_ + '/ondewo.nlu.AiServices/ExtractEntitiesFuzzy',
528
+ request,
529
+ metadata || {},
530
+ methodDescriptor_AiServices_ExtractEntitiesFuzzy
531
+ );
565
532
  };
566
533
 
567
-
568
534
  module.exports = proto.ondewo.nlu;
569
-