@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')
20
-
21
- var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
17
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
22
18
 
23
- var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
19
+ var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
24
20
  const proto = {};
25
21
  proto.ondewo = {};
26
22
  proto.ondewo.nlu = require('./context_pb.js');
@@ -33,24 +29,21 @@ proto.ondewo.nlu = require('./context_pb.js');
33
29
  * @struct
34
30
  * @final
35
31
  */
36
- proto.ondewo.nlu.ContextsClient =
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.ContextsClient = 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.ContextsClient =
59
52
  * @struct
60
53
  * @final
61
54
  */
62
- proto.ondewo.nlu.ContextsPromiseClient =
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.ContextsPromiseClient = 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.ContextsPromiseClient =
84
74
  * !proto.ondewo.nlu.ListContextsResponse>}
85
75
  */
86
76
  const methodDescriptor_Contexts_ListContexts = new grpc.web.MethodDescriptor(
87
- '/ondewo.nlu.Contexts/ListContexts',
88
- grpc.web.MethodType.UNARY,
89
- proto.ondewo.nlu.ListContextsRequest,
90
- proto.ondewo.nlu.ListContextsResponse,
91
- /**
92
- * @param {!proto.ondewo.nlu.ListContextsRequest} request
93
- * @return {!Uint8Array}
94
- */
95
- function(request) {
96
- return request.serializeBinary();
97
- },
98
- proto.ondewo.nlu.ListContextsResponse.deserializeBinary
77
+ '/ondewo.nlu.Contexts/ListContexts',
78
+ grpc.web.MethodType.UNARY,
79
+ proto.ondewo.nlu.ListContextsRequest,
80
+ proto.ondewo.nlu.ListContextsResponse,
81
+ /**
82
+ * @param {!proto.ondewo.nlu.ListContextsRequest} request
83
+ * @return {!Uint8Array}
84
+ */
85
+ function (request) {
86
+ return request.serializeBinary();
87
+ },
88
+ proto.ondewo.nlu.ListContextsResponse.deserializeBinary
99
89
  );
100
90
 
101
-
102
91
  /**
103
92
  * @param {!proto.ondewo.nlu.ListContextsRequest} request The
104
93
  * request proto
@@ -109,17 +98,16 @@ const methodDescriptor_Contexts_ListContexts = new grpc.web.MethodDescriptor(
109
98
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListContextsResponse>|undefined}
110
99
  * The XHR Node Readable Stream
111
100
  */
112
- proto.ondewo.nlu.ContextsClient.prototype.listContexts =
113
- function(request, metadata, callback) {
114
- return this.client_.rpcCall(this.hostname_ +
115
- '/ondewo.nlu.Contexts/ListContexts',
116
- request,
117
- metadata || {},
118
- methodDescriptor_Contexts_ListContexts,
119
- callback);
101
+ proto.ondewo.nlu.ContextsClient.prototype.listContexts = function (request, metadata, callback) {
102
+ return this.client_.rpcCall(
103
+ this.hostname_ + '/ondewo.nlu.Contexts/ListContexts',
104
+ request,
105
+ metadata || {},
106
+ methodDescriptor_Contexts_ListContexts,
107
+ callback
108
+ );
120
109
  };
121
110
 
122
-
123
111
  /**
124
112
  * @param {!proto.ondewo.nlu.ListContextsRequest} request The
125
113
  * request proto
@@ -128,16 +116,15 @@ proto.ondewo.nlu.ContextsClient.prototype.listContexts =
128
116
  * @return {!Promise<!proto.ondewo.nlu.ListContextsResponse>}
129
117
  * Promise that resolves to the response
130
118
  */
131
- proto.ondewo.nlu.ContextsPromiseClient.prototype.listContexts =
132
- function(request, metadata) {
133
- return this.client_.unaryCall(this.hostname_ +
134
- '/ondewo.nlu.Contexts/ListContexts',
135
- request,
136
- metadata || {},
137
- methodDescriptor_Contexts_ListContexts);
119
+ proto.ondewo.nlu.ContextsPromiseClient.prototype.listContexts = function (request, metadata) {
120
+ return this.client_.unaryCall(
121
+ this.hostname_ + '/ondewo.nlu.Contexts/ListContexts',
122
+ request,
123
+ metadata || {},
124
+ methodDescriptor_Contexts_ListContexts
125
+ );
138
126
  };
139
127
 
140
-
141
128
  /**
142
129
  * @const
143
130
  * @type {!grpc.web.MethodDescriptor<
@@ -145,21 +132,20 @@ proto.ondewo.nlu.ContextsPromiseClient.prototype.listContexts =
145
132
  * !proto.ondewo.nlu.Context>}
146
133
  */
147
134
  const methodDescriptor_Contexts_GetContext = new grpc.web.MethodDescriptor(
148
- '/ondewo.nlu.Contexts/GetContext',
149
- grpc.web.MethodType.UNARY,
150
- proto.ondewo.nlu.GetContextRequest,
151
- proto.ondewo.nlu.Context,
152
- /**
153
- * @param {!proto.ondewo.nlu.GetContextRequest} request
154
- * @return {!Uint8Array}
155
- */
156
- function(request) {
157
- return request.serializeBinary();
158
- },
159
- proto.ondewo.nlu.Context.deserializeBinary
135
+ '/ondewo.nlu.Contexts/GetContext',
136
+ grpc.web.MethodType.UNARY,
137
+ proto.ondewo.nlu.GetContextRequest,
138
+ proto.ondewo.nlu.Context,
139
+ /**
140
+ * @param {!proto.ondewo.nlu.GetContextRequest} request
141
+ * @return {!Uint8Array}
142
+ */
143
+ function (request) {
144
+ return request.serializeBinary();
145
+ },
146
+ proto.ondewo.nlu.Context.deserializeBinary
160
147
  );
161
148
 
162
-
163
149
  /**
164
150
  * @param {!proto.ondewo.nlu.GetContextRequest} request The
165
151
  * request proto
@@ -170,17 +156,16 @@ const methodDescriptor_Contexts_GetContext = new grpc.web.MethodDescriptor(
170
156
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Context>|undefined}
171
157
  * The XHR Node Readable Stream
172
158
  */
173
- proto.ondewo.nlu.ContextsClient.prototype.getContext =
174
- function(request, metadata, callback) {
175
- return this.client_.rpcCall(this.hostname_ +
176
- '/ondewo.nlu.Contexts/GetContext',
177
- request,
178
- metadata || {},
179
- methodDescriptor_Contexts_GetContext,
180
- callback);
159
+ proto.ondewo.nlu.ContextsClient.prototype.getContext = function (request, metadata, callback) {
160
+ return this.client_.rpcCall(
161
+ this.hostname_ + '/ondewo.nlu.Contexts/GetContext',
162
+ request,
163
+ metadata || {},
164
+ methodDescriptor_Contexts_GetContext,
165
+ callback
166
+ );
181
167
  };
182
168
 
183
-
184
169
  /**
185
170
  * @param {!proto.ondewo.nlu.GetContextRequest} request The
186
171
  * request proto
@@ -189,16 +174,15 @@ proto.ondewo.nlu.ContextsClient.prototype.getContext =
189
174
  * @return {!Promise<!proto.ondewo.nlu.Context>}
190
175
  * Promise that resolves to the response
191
176
  */
192
- proto.ondewo.nlu.ContextsPromiseClient.prototype.getContext =
193
- function(request, metadata) {
194
- return this.client_.unaryCall(this.hostname_ +
195
- '/ondewo.nlu.Contexts/GetContext',
196
- request,
197
- metadata || {},
198
- methodDescriptor_Contexts_GetContext);
177
+ proto.ondewo.nlu.ContextsPromiseClient.prototype.getContext = function (request, metadata) {
178
+ return this.client_.unaryCall(
179
+ this.hostname_ + '/ondewo.nlu.Contexts/GetContext',
180
+ request,
181
+ metadata || {},
182
+ methodDescriptor_Contexts_GetContext
183
+ );
199
184
  };
200
185
 
201
-
202
186
  /**
203
187
  * @const
204
188
  * @type {!grpc.web.MethodDescriptor<
@@ -206,21 +190,20 @@ proto.ondewo.nlu.ContextsPromiseClient.prototype.getContext =
206
190
  * !proto.ondewo.nlu.Context>}
207
191
  */
208
192
  const methodDescriptor_Contexts_CreateContext = new grpc.web.MethodDescriptor(
209
- '/ondewo.nlu.Contexts/CreateContext',
210
- grpc.web.MethodType.UNARY,
211
- proto.ondewo.nlu.CreateContextRequest,
212
- proto.ondewo.nlu.Context,
213
- /**
214
- * @param {!proto.ondewo.nlu.CreateContextRequest} request
215
- * @return {!Uint8Array}
216
- */
217
- function(request) {
218
- return request.serializeBinary();
219
- },
220
- proto.ondewo.nlu.Context.deserializeBinary
193
+ '/ondewo.nlu.Contexts/CreateContext',
194
+ grpc.web.MethodType.UNARY,
195
+ proto.ondewo.nlu.CreateContextRequest,
196
+ proto.ondewo.nlu.Context,
197
+ /**
198
+ * @param {!proto.ondewo.nlu.CreateContextRequest} request
199
+ * @return {!Uint8Array}
200
+ */
201
+ function (request) {
202
+ return request.serializeBinary();
203
+ },
204
+ proto.ondewo.nlu.Context.deserializeBinary
221
205
  );
222
206
 
223
-
224
207
  /**
225
208
  * @param {!proto.ondewo.nlu.CreateContextRequest} request The
226
209
  * request proto
@@ -231,17 +214,16 @@ const methodDescriptor_Contexts_CreateContext = new grpc.web.MethodDescriptor(
231
214
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Context>|undefined}
232
215
  * The XHR Node Readable Stream
233
216
  */
234
- proto.ondewo.nlu.ContextsClient.prototype.createContext =
235
- function(request, metadata, callback) {
236
- return this.client_.rpcCall(this.hostname_ +
237
- '/ondewo.nlu.Contexts/CreateContext',
238
- request,
239
- metadata || {},
240
- methodDescriptor_Contexts_CreateContext,
241
- callback);
217
+ proto.ondewo.nlu.ContextsClient.prototype.createContext = function (request, metadata, callback) {
218
+ return this.client_.rpcCall(
219
+ this.hostname_ + '/ondewo.nlu.Contexts/CreateContext',
220
+ request,
221
+ metadata || {},
222
+ methodDescriptor_Contexts_CreateContext,
223
+ callback
224
+ );
242
225
  };
243
226
 
244
-
245
227
  /**
246
228
  * @param {!proto.ondewo.nlu.CreateContextRequest} request The
247
229
  * request proto
@@ -250,16 +232,15 @@ proto.ondewo.nlu.ContextsClient.prototype.createContext =
250
232
  * @return {!Promise<!proto.ondewo.nlu.Context>}
251
233
  * Promise that resolves to the response
252
234
  */
253
- proto.ondewo.nlu.ContextsPromiseClient.prototype.createContext =
254
- function(request, metadata) {
255
- return this.client_.unaryCall(this.hostname_ +
256
- '/ondewo.nlu.Contexts/CreateContext',
257
- request,
258
- metadata || {},
259
- methodDescriptor_Contexts_CreateContext);
235
+ proto.ondewo.nlu.ContextsPromiseClient.prototype.createContext = function (request, metadata) {
236
+ return this.client_.unaryCall(
237
+ this.hostname_ + '/ondewo.nlu.Contexts/CreateContext',
238
+ request,
239
+ metadata || {},
240
+ methodDescriptor_Contexts_CreateContext
241
+ );
260
242
  };
261
243
 
262
-
263
244
  /**
264
245
  * @const
265
246
  * @type {!grpc.web.MethodDescriptor<
@@ -267,21 +248,20 @@ proto.ondewo.nlu.ContextsPromiseClient.prototype.createContext =
267
248
  * !proto.ondewo.nlu.Context>}
268
249
  */
269
250
  const methodDescriptor_Contexts_UpdateContext = new grpc.web.MethodDescriptor(
270
- '/ondewo.nlu.Contexts/UpdateContext',
271
- grpc.web.MethodType.UNARY,
272
- proto.ondewo.nlu.UpdateContextRequest,
273
- proto.ondewo.nlu.Context,
274
- /**
275
- * @param {!proto.ondewo.nlu.UpdateContextRequest} request
276
- * @return {!Uint8Array}
277
- */
278
- function(request) {
279
- return request.serializeBinary();
280
- },
281
- proto.ondewo.nlu.Context.deserializeBinary
251
+ '/ondewo.nlu.Contexts/UpdateContext',
252
+ grpc.web.MethodType.UNARY,
253
+ proto.ondewo.nlu.UpdateContextRequest,
254
+ proto.ondewo.nlu.Context,
255
+ /**
256
+ * @param {!proto.ondewo.nlu.UpdateContextRequest} request
257
+ * @return {!Uint8Array}
258
+ */
259
+ function (request) {
260
+ return request.serializeBinary();
261
+ },
262
+ proto.ondewo.nlu.Context.deserializeBinary
282
263
  );
283
264
 
284
-
285
265
  /**
286
266
  * @param {!proto.ondewo.nlu.UpdateContextRequest} request The
287
267
  * request proto
@@ -292,17 +272,16 @@ const methodDescriptor_Contexts_UpdateContext = new grpc.web.MethodDescriptor(
292
272
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Context>|undefined}
293
273
  * The XHR Node Readable Stream
294
274
  */
295
- proto.ondewo.nlu.ContextsClient.prototype.updateContext =
296
- function(request, metadata, callback) {
297
- return this.client_.rpcCall(this.hostname_ +
298
- '/ondewo.nlu.Contexts/UpdateContext',
299
- request,
300
- metadata || {},
301
- methodDescriptor_Contexts_UpdateContext,
302
- callback);
275
+ proto.ondewo.nlu.ContextsClient.prototype.updateContext = function (request, metadata, callback) {
276
+ return this.client_.rpcCall(
277
+ this.hostname_ + '/ondewo.nlu.Contexts/UpdateContext',
278
+ request,
279
+ metadata || {},
280
+ methodDescriptor_Contexts_UpdateContext,
281
+ callback
282
+ );
303
283
  };
304
284
 
305
-
306
285
  /**
307
286
  * @param {!proto.ondewo.nlu.UpdateContextRequest} request The
308
287
  * request proto
@@ -311,16 +290,15 @@ proto.ondewo.nlu.ContextsClient.prototype.updateContext =
311
290
  * @return {!Promise<!proto.ondewo.nlu.Context>}
312
291
  * Promise that resolves to the response
313
292
  */
314
- proto.ondewo.nlu.ContextsPromiseClient.prototype.updateContext =
315
- function(request, metadata) {
316
- return this.client_.unaryCall(this.hostname_ +
317
- '/ondewo.nlu.Contexts/UpdateContext',
318
- request,
319
- metadata || {},
320
- methodDescriptor_Contexts_UpdateContext);
293
+ proto.ondewo.nlu.ContextsPromiseClient.prototype.updateContext = function (request, metadata) {
294
+ return this.client_.unaryCall(
295
+ this.hostname_ + '/ondewo.nlu.Contexts/UpdateContext',
296
+ request,
297
+ metadata || {},
298
+ methodDescriptor_Contexts_UpdateContext
299
+ );
321
300
  };
322
301
 
323
-
324
302
  /**
325
303
  * @const
326
304
  * @type {!grpc.web.MethodDescriptor<
@@ -328,21 +306,20 @@ proto.ondewo.nlu.ContextsPromiseClient.prototype.updateContext =
328
306
  * !proto.google.protobuf.Empty>}
329
307
  */
330
308
  const methodDescriptor_Contexts_DeleteContext = new grpc.web.MethodDescriptor(
331
- '/ondewo.nlu.Contexts/DeleteContext',
332
- grpc.web.MethodType.UNARY,
333
- proto.ondewo.nlu.DeleteContextRequest,
334
- google_protobuf_empty_pb.Empty,
335
- /**
336
- * @param {!proto.ondewo.nlu.DeleteContextRequest} request
337
- * @return {!Uint8Array}
338
- */
339
- function(request) {
340
- return request.serializeBinary();
341
- },
342
- google_protobuf_empty_pb.Empty.deserializeBinary
309
+ '/ondewo.nlu.Contexts/DeleteContext',
310
+ grpc.web.MethodType.UNARY,
311
+ proto.ondewo.nlu.DeleteContextRequest,
312
+ google_protobuf_empty_pb.Empty,
313
+ /**
314
+ * @param {!proto.ondewo.nlu.DeleteContextRequest} request
315
+ * @return {!Uint8Array}
316
+ */
317
+ function (request) {
318
+ return request.serializeBinary();
319
+ },
320
+ google_protobuf_empty_pb.Empty.deserializeBinary
343
321
  );
344
322
 
345
-
346
323
  /**
347
324
  * @param {!proto.ondewo.nlu.DeleteContextRequest} request The
348
325
  * request proto
@@ -353,17 +330,16 @@ const methodDescriptor_Contexts_DeleteContext = new grpc.web.MethodDescriptor(
353
330
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
354
331
  * The XHR Node Readable Stream
355
332
  */
356
- proto.ondewo.nlu.ContextsClient.prototype.deleteContext =
357
- function(request, metadata, callback) {
358
- return this.client_.rpcCall(this.hostname_ +
359
- '/ondewo.nlu.Contexts/DeleteContext',
360
- request,
361
- metadata || {},
362
- methodDescriptor_Contexts_DeleteContext,
363
- callback);
333
+ proto.ondewo.nlu.ContextsClient.prototype.deleteContext = function (request, metadata, callback) {
334
+ return this.client_.rpcCall(
335
+ this.hostname_ + '/ondewo.nlu.Contexts/DeleteContext',
336
+ request,
337
+ metadata || {},
338
+ methodDescriptor_Contexts_DeleteContext,
339
+ callback
340
+ );
364
341
  };
365
342
 
366
-
367
343
  /**
368
344
  * @param {!proto.ondewo.nlu.DeleteContextRequest} request The
369
345
  * request proto
@@ -372,16 +348,15 @@ proto.ondewo.nlu.ContextsClient.prototype.deleteContext =
372
348
  * @return {!Promise<!proto.google.protobuf.Empty>}
373
349
  * Promise that resolves to the response
374
350
  */
375
- proto.ondewo.nlu.ContextsPromiseClient.prototype.deleteContext =
376
- function(request, metadata) {
377
- return this.client_.unaryCall(this.hostname_ +
378
- '/ondewo.nlu.Contexts/DeleteContext',
379
- request,
380
- metadata || {},
381
- methodDescriptor_Contexts_DeleteContext);
351
+ proto.ondewo.nlu.ContextsPromiseClient.prototype.deleteContext = function (request, metadata) {
352
+ return this.client_.unaryCall(
353
+ this.hostname_ + '/ondewo.nlu.Contexts/DeleteContext',
354
+ request,
355
+ metadata || {},
356
+ methodDescriptor_Contexts_DeleteContext
357
+ );
382
358
  };
383
359
 
384
-
385
360
  /**
386
361
  * @const
387
362
  * @type {!grpc.web.MethodDescriptor<
@@ -389,21 +364,20 @@ proto.ondewo.nlu.ContextsPromiseClient.prototype.deleteContext =
389
364
  * !proto.google.protobuf.Empty>}
390
365
  */
391
366
  const methodDescriptor_Contexts_DeleteAllContexts = new grpc.web.MethodDescriptor(
392
- '/ondewo.nlu.Contexts/DeleteAllContexts',
393
- grpc.web.MethodType.UNARY,
394
- proto.ondewo.nlu.DeleteAllContextsRequest,
395
- google_protobuf_empty_pb.Empty,
396
- /**
397
- * @param {!proto.ondewo.nlu.DeleteAllContextsRequest} request
398
- * @return {!Uint8Array}
399
- */
400
- function(request) {
401
- return request.serializeBinary();
402
- },
403
- google_protobuf_empty_pb.Empty.deserializeBinary
367
+ '/ondewo.nlu.Contexts/DeleteAllContexts',
368
+ grpc.web.MethodType.UNARY,
369
+ proto.ondewo.nlu.DeleteAllContextsRequest,
370
+ google_protobuf_empty_pb.Empty,
371
+ /**
372
+ * @param {!proto.ondewo.nlu.DeleteAllContextsRequest} request
373
+ * @return {!Uint8Array}
374
+ */
375
+ function (request) {
376
+ return request.serializeBinary();
377
+ },
378
+ google_protobuf_empty_pb.Empty.deserializeBinary
404
379
  );
405
380
 
406
-
407
381
  /**
408
382
  * @param {!proto.ondewo.nlu.DeleteAllContextsRequest} request The
409
383
  * request proto
@@ -414,17 +388,16 @@ const methodDescriptor_Contexts_DeleteAllContexts = new grpc.web.MethodDescripto
414
388
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
415
389
  * The XHR Node Readable Stream
416
390
  */
417
- proto.ondewo.nlu.ContextsClient.prototype.deleteAllContexts =
418
- function(request, metadata, callback) {
419
- return this.client_.rpcCall(this.hostname_ +
420
- '/ondewo.nlu.Contexts/DeleteAllContexts',
421
- request,
422
- metadata || {},
423
- methodDescriptor_Contexts_DeleteAllContexts,
424
- callback);
391
+ proto.ondewo.nlu.ContextsClient.prototype.deleteAllContexts = function (request, metadata, callback) {
392
+ return this.client_.rpcCall(
393
+ this.hostname_ + '/ondewo.nlu.Contexts/DeleteAllContexts',
394
+ request,
395
+ metadata || {},
396
+ methodDescriptor_Contexts_DeleteAllContexts,
397
+ callback
398
+ );
425
399
  };
426
400
 
427
-
428
401
  /**
429
402
  * @param {!proto.ondewo.nlu.DeleteAllContextsRequest} request The
430
403
  * request proto
@@ -433,15 +406,13 @@ proto.ondewo.nlu.ContextsClient.prototype.deleteAllContexts =
433
406
  * @return {!Promise<!proto.google.protobuf.Empty>}
434
407
  * Promise that resolves to the response
435
408
  */
436
- proto.ondewo.nlu.ContextsPromiseClient.prototype.deleteAllContexts =
437
- function(request, metadata) {
438
- return this.client_.unaryCall(this.hostname_ +
439
- '/ondewo.nlu.Contexts/DeleteAllContexts',
440
- request,
441
- metadata || {},
442
- methodDescriptor_Contexts_DeleteAllContexts);
409
+ proto.ondewo.nlu.ContextsPromiseClient.prototype.deleteAllContexts = function (request, metadata) {
410
+ return this.client_.unaryCall(
411
+ this.hostname_ + '/ondewo.nlu.Contexts/DeleteAllContexts',
412
+ request,
413
+ metadata || {},
414
+ methodDescriptor_Contexts_DeleteAllContexts
415
+ );
443
416
  };
444
417
 
445
-
446
418
  module.exports = proto.ondewo.nlu;
447
-