@ondewo/nlu-client-typescript 4.1.0 → 4.2.0

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