@ondewo/nlu-client-typescript 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/LICENSE +191 -0
  2. package/README.md +27 -0
  3. package/api/google/api/annotations_pb.d.ts +6 -0
  4. package/api/google/api/annotations_pb.js +48 -0
  5. package/api/google/protobuf/any_pb.d.ts +28 -0
  6. package/api/google/protobuf/any_pb.js +275 -0
  7. package/api/google/protobuf/empty_pb.d.ts +18 -0
  8. package/api/google/protobuf/empty_pb.js +141 -0
  9. package/api/google/protobuf/field_mask_pb.d.ts +24 -0
  10. package/api/google/protobuf/field_mask_pb.js +196 -0
  11. package/api/google/protobuf/struct_pb.d.ts +99 -0
  12. package/api/google/protobuf/struct_pb.js +948 -0
  13. package/api/google/protobuf/timestamp_pb.d.ts +26 -0
  14. package/api/google/protobuf/timestamp_pb.js +236 -0
  15. package/api/google/rpc/status_pb.d.ts +33 -0
  16. package/api/google/rpc/status_pb.js +262 -0
  17. package/api/google/type/latlng_pb.d.ts +26 -0
  18. package/api/google/type/latlng_pb.js +200 -0
  19. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +489 -0
  20. package/api/ondewo/nlu/agent_grpc_web_pb.js +2476 -0
  21. package/api/ondewo/nlu/agent_pb.d.ts +2079 -0
  22. package/api/ondewo/nlu/agent_pb.js +16648 -0
  23. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +115 -0
  24. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +569 -0
  25. package/api/ondewo/nlu/aiservices_pb.d.ts +933 -0
  26. package/api/ondewo/nlu/aiservices_pb.js +7601 -0
  27. package/api/ondewo/nlu/common_pb.d.ts +26 -0
  28. package/api/ondewo/nlu/common_pb.js +179 -0
  29. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +92 -0
  30. package/api/ondewo/nlu/context_grpc_web_pb.js +447 -0
  31. package/api/ondewo/nlu/context_pb.d.ts +218 -0
  32. package/api/ondewo/nlu/context_pb.js +1788 -0
  33. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +165 -0
  34. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +817 -0
  35. package/api/ondewo/nlu/entity_type_pb.d.ts +756 -0
  36. package/api/ondewo/nlu/entity_type_pb.js +5970 -0
  37. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +345 -0
  38. package/api/ondewo/nlu/intent_grpc_web_pb.js +1738 -0
  39. package/api/ondewo/nlu/intent_pb.d.ts +2344 -0
  40. package/api/ondewo/nlu/intent_pb.js +18784 -0
  41. package/api/ondewo/nlu/operation_metadata_pb.d.ts +112 -0
  42. package/api/ondewo/nlu/operation_metadata_pb.js +740 -0
  43. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +68 -0
  44. package/api/ondewo/nlu/operations_grpc_web_pb.js +331 -0
  45. package/api/ondewo/nlu/operations_pb.d.ts +236 -0
  46. package/api/ondewo/nlu/operations_pb.js +1826 -0
  47. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +80 -0
  48. package/api/ondewo/nlu/project_role_grpc_web_pb.js +386 -0
  49. package/api/ondewo/nlu/project_role_pb.d.ts +220 -0
  50. package/api/ondewo/nlu/project_role_pb.js +1713 -0
  51. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +116 -0
  52. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +571 -0
  53. package/api/ondewo/nlu/project_statistics_pb.d.ts +92 -0
  54. package/api/ondewo/nlu/project_statistics_pb.js +724 -0
  55. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +57 -0
  56. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +264 -0
  57. package/api/ondewo/nlu/server_statistics_pb.d.ts +25 -0
  58. package/api/ondewo/nlu/server_statistics_pb.js +176 -0
  59. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +176 -0
  60. package/api/ondewo/nlu/session_grpc_web_pb.js +884 -0
  61. package/api/ondewo/nlu/session_pb.d.ts +1192 -0
  62. package/api/ondewo/nlu/session_pb.js +9762 -0
  63. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +200 -0
  64. package/api/ondewo/nlu/user_grpc_web_pb.js +998 -0
  65. package/api/ondewo/nlu/user_pb.d.ts +489 -0
  66. package/api/ondewo/nlu/user_pb.js +4057 -0
  67. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +115 -0
  68. package/api/ondewo/nlu/utility_grpc_web_pb.js +567 -0
  69. package/api/ondewo/nlu/utility_pb.d.ts +708 -0
  70. package/api/ondewo/nlu/utility_pb.js +5914 -0
  71. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +55 -0
  72. package/api/ondewo/nlu/webhook_grpc_web_pb.js +268 -0
  73. package/api/ondewo/nlu/webhook_pb.d.ts +155 -0
  74. package/api/ondewo/nlu/webhook_pb.js +1267 -0
  75. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +104 -0
  76. package/api/ondewo/qa/qa_grpc_web_pb.js +508 -0
  77. package/api/ondewo/qa/qa_pb.d.ts +304 -0
  78. package/api/ondewo/qa/qa_pb.js +2553 -0
  79. package/package.json +18 -0
  80. package/public-api.d.ts +38 -0
@@ -0,0 +1,115 @@
1
+ import * as grpcWeb from 'grpc-web';
2
+
3
+ import * as ondewo_nlu_utility_pb from '../../ondewo/nlu/utility_pb';
4
+
5
+
6
+ export class UtilitiesClient {
7
+ constructor (hostname: string,
8
+ credentials?: null | { [index: string]: string; },
9
+ options?: null | { [index: string]: any; });
10
+
11
+ validateRegex(
12
+ request: ondewo_nlu_utility_pb.ValidateRegexRequest,
13
+ metadata: grpcWeb.Metadata | undefined,
14
+ callback: (err: grpcWeb.RpcError,
15
+ response: ondewo_nlu_utility_pb.ValidateRegexResponse) => void
16
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_utility_pb.ValidateRegexResponse>;
17
+
18
+ validateEmbeddedRegex(
19
+ request: ondewo_nlu_utility_pb.ValidateEmbeddedRegexRequest,
20
+ metadata: grpcWeb.Metadata | undefined,
21
+ callback: (err: grpcWeb.RpcError,
22
+ response: ondewo_nlu_utility_pb.ValidateEmbeddedRegexResponse) => void
23
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_utility_pb.ValidateEmbeddedRegexResponse>;
24
+
25
+ cleanAllIntents(
26
+ request: ondewo_nlu_utility_pb.CleanAllIntentsRequest,
27
+ metadata: grpcWeb.Metadata | undefined,
28
+ callback: (err: grpcWeb.RpcError,
29
+ response: ondewo_nlu_utility_pb.CleanAllIntentsResponse) => void
30
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_utility_pb.CleanAllIntentsResponse>;
31
+
32
+ cleanIntent(
33
+ request: ondewo_nlu_utility_pb.CleanIntentRequest,
34
+ metadata: grpcWeb.Metadata | undefined,
35
+ callback: (err: grpcWeb.RpcError,
36
+ response: ondewo_nlu_utility_pb.CleanIntentResponse) => void
37
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_utility_pb.CleanIntentResponse>;
38
+
39
+ cleanAllEntityTypes(
40
+ request: ondewo_nlu_utility_pb.CleanAllEntityTypesRequest,
41
+ metadata: grpcWeb.Metadata | undefined,
42
+ callback: (err: grpcWeb.RpcError,
43
+ response: ondewo_nlu_utility_pb.CleanAllEntityTypesResponse) => void
44
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_utility_pb.CleanAllEntityTypesResponse>;
45
+
46
+ cleanEntityType(
47
+ request: ondewo_nlu_utility_pb.CleanEntityTypeRequest,
48
+ metadata: grpcWeb.Metadata | undefined,
49
+ callback: (err: grpcWeb.RpcError,
50
+ response: ondewo_nlu_utility_pb.CleanEntityTypeResponse) => void
51
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_utility_pb.CleanEntityTypeResponse>;
52
+
53
+ addTrainingPhrases(
54
+ request: ondewo_nlu_utility_pb.AddTrainingPhrasesRequest,
55
+ metadata: grpcWeb.Metadata | undefined,
56
+ callback: (err: grpcWeb.RpcError,
57
+ response: ondewo_nlu_utility_pb.AddTrainingPhrasesResponse) => void
58
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_utility_pb.AddTrainingPhrasesResponse>;
59
+
60
+ addTrainingPhrasesFromCSV(
61
+ request: ondewo_nlu_utility_pb.AddTrainingPhrasesFromCSVRequest,
62
+ metadata: grpcWeb.Metadata | undefined,
63
+ callback: (err: grpcWeb.RpcError,
64
+ response: ondewo_nlu_utility_pb.AddTrainingPhrasesResponse) => void
65
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_utility_pb.AddTrainingPhrasesResponse>;
66
+
67
+ }
68
+
69
+ export class UtilitiesPromiseClient {
70
+ constructor (hostname: string,
71
+ credentials?: null | { [index: string]: string; },
72
+ options?: null | { [index: string]: any; });
73
+
74
+ validateRegex(
75
+ request: ondewo_nlu_utility_pb.ValidateRegexRequest,
76
+ metadata?: grpcWeb.Metadata
77
+ ): Promise<ondewo_nlu_utility_pb.ValidateRegexResponse>;
78
+
79
+ validateEmbeddedRegex(
80
+ request: ondewo_nlu_utility_pb.ValidateEmbeddedRegexRequest,
81
+ metadata?: grpcWeb.Metadata
82
+ ): Promise<ondewo_nlu_utility_pb.ValidateEmbeddedRegexResponse>;
83
+
84
+ cleanAllIntents(
85
+ request: ondewo_nlu_utility_pb.CleanAllIntentsRequest,
86
+ metadata?: grpcWeb.Metadata
87
+ ): Promise<ondewo_nlu_utility_pb.CleanAllIntentsResponse>;
88
+
89
+ cleanIntent(
90
+ request: ondewo_nlu_utility_pb.CleanIntentRequest,
91
+ metadata?: grpcWeb.Metadata
92
+ ): Promise<ondewo_nlu_utility_pb.CleanIntentResponse>;
93
+
94
+ cleanAllEntityTypes(
95
+ request: ondewo_nlu_utility_pb.CleanAllEntityTypesRequest,
96
+ metadata?: grpcWeb.Metadata
97
+ ): Promise<ondewo_nlu_utility_pb.CleanAllEntityTypesResponse>;
98
+
99
+ cleanEntityType(
100
+ request: ondewo_nlu_utility_pb.CleanEntityTypeRequest,
101
+ metadata?: grpcWeb.Metadata
102
+ ): Promise<ondewo_nlu_utility_pb.CleanEntityTypeResponse>;
103
+
104
+ addTrainingPhrases(
105
+ request: ondewo_nlu_utility_pb.AddTrainingPhrasesRequest,
106
+ metadata?: grpcWeb.Metadata
107
+ ): Promise<ondewo_nlu_utility_pb.AddTrainingPhrasesResponse>;
108
+
109
+ addTrainingPhrasesFromCSV(
110
+ request: ondewo_nlu_utility_pb.AddTrainingPhrasesFromCSVRequest,
111
+ metadata?: grpcWeb.Metadata
112
+ ): Promise<ondewo_nlu_utility_pb.AddTrainingPhrasesResponse>;
113
+
114
+ }
115
+
@@ -0,0 +1,567 @@
1
+ /**
2
+ * @fileoverview gRPC-Web generated client stub for ondewo.nlu
3
+ * @enhanceable
4
+ * @public
5
+ */
6
+
7
+ // GENERATED CODE -- DO NOT EDIT!
8
+
9
+
10
+ /* eslint-disable */
11
+ // @ts-nocheck
12
+
13
+
14
+
15
+ const grpc = {};
16
+ grpc.web = require('grpc-web');
17
+
18
+
19
+ var ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js')
20
+
21
+ var ondewo_nlu_entity_type_pb = require('../../ondewo/nlu/entity_type_pb.js')
22
+ const proto = {};
23
+ proto.ondewo = {};
24
+ proto.ondewo.nlu = require('./utility_pb.js');
25
+
26
+ /**
27
+ * @param {string} hostname
28
+ * @param {?Object} credentials
29
+ * @param {?grpc.web.ClientOptions} options
30
+ * @constructor
31
+ * @struct
32
+ * @final
33
+ */
34
+ proto.ondewo.nlu.UtilitiesClient =
35
+ function(hostname, credentials, options) {
36
+ if (!options) options = {};
37
+ options.format = 'binary';
38
+
39
+ /**
40
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
41
+ */
42
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
43
+
44
+ /**
45
+ * @private @const {string} The hostname
46
+ */
47
+ this.hostname_ = hostname;
48
+
49
+ };
50
+
51
+
52
+ /**
53
+ * @param {string} hostname
54
+ * @param {?Object} credentials
55
+ * @param {?grpc.web.ClientOptions} options
56
+ * @constructor
57
+ * @struct
58
+ * @final
59
+ */
60
+ proto.ondewo.nlu.UtilitiesPromiseClient =
61
+ function(hostname, credentials, options) {
62
+ if (!options) options = {};
63
+ options.format = 'binary';
64
+
65
+ /**
66
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
67
+ */
68
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
69
+
70
+ /**
71
+ * @private @const {string} The hostname
72
+ */
73
+ this.hostname_ = hostname;
74
+
75
+ };
76
+
77
+
78
+ /**
79
+ * @const
80
+ * @type {!grpc.web.MethodDescriptor<
81
+ * !proto.ondewo.nlu.ValidateRegexRequest,
82
+ * !proto.ondewo.nlu.ValidateRegexResponse>}
83
+ */
84
+ const methodDescriptor_Utilities_ValidateRegex = new grpc.web.MethodDescriptor(
85
+ '/ondewo.nlu.Utilities/ValidateRegex',
86
+ grpc.web.MethodType.UNARY,
87
+ proto.ondewo.nlu.ValidateRegexRequest,
88
+ proto.ondewo.nlu.ValidateRegexResponse,
89
+ /**
90
+ * @param {!proto.ondewo.nlu.ValidateRegexRequest} request
91
+ * @return {!Uint8Array}
92
+ */
93
+ function(request) {
94
+ return request.serializeBinary();
95
+ },
96
+ proto.ondewo.nlu.ValidateRegexResponse.deserializeBinary
97
+ );
98
+
99
+
100
+ /**
101
+ * @param {!proto.ondewo.nlu.ValidateRegexRequest} request The
102
+ * request proto
103
+ * @param {?Object<string, string>} metadata User defined
104
+ * call metadata
105
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ValidateRegexResponse)}
106
+ * callback The callback function(error, response)
107
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ValidateRegexResponse>|undefined}
108
+ * The XHR Node Readable Stream
109
+ */
110
+ proto.ondewo.nlu.UtilitiesClient.prototype.validateRegex =
111
+ function(request, metadata, callback) {
112
+ return this.client_.rpcCall(this.hostname_ +
113
+ '/ondewo.nlu.Utilities/ValidateRegex',
114
+ request,
115
+ metadata || {},
116
+ methodDescriptor_Utilities_ValidateRegex,
117
+ callback);
118
+ };
119
+
120
+
121
+ /**
122
+ * @param {!proto.ondewo.nlu.ValidateRegexRequest} request The
123
+ * request proto
124
+ * @param {?Object<string, string>=} metadata User defined
125
+ * call metadata
126
+ * @return {!Promise<!proto.ondewo.nlu.ValidateRegexResponse>}
127
+ * Promise that resolves to the response
128
+ */
129
+ proto.ondewo.nlu.UtilitiesPromiseClient.prototype.validateRegex =
130
+ function(request, metadata) {
131
+ return this.client_.unaryCall(this.hostname_ +
132
+ '/ondewo.nlu.Utilities/ValidateRegex',
133
+ request,
134
+ metadata || {},
135
+ methodDescriptor_Utilities_ValidateRegex);
136
+ };
137
+
138
+
139
+ /**
140
+ * @const
141
+ * @type {!grpc.web.MethodDescriptor<
142
+ * !proto.ondewo.nlu.ValidateEmbeddedRegexRequest,
143
+ * !proto.ondewo.nlu.ValidateEmbeddedRegexResponse>}
144
+ */
145
+ const methodDescriptor_Utilities_ValidateEmbeddedRegex = new grpc.web.MethodDescriptor(
146
+ '/ondewo.nlu.Utilities/ValidateEmbeddedRegex',
147
+ grpc.web.MethodType.UNARY,
148
+ proto.ondewo.nlu.ValidateEmbeddedRegexRequest,
149
+ proto.ondewo.nlu.ValidateEmbeddedRegexResponse,
150
+ /**
151
+ * @param {!proto.ondewo.nlu.ValidateEmbeddedRegexRequest} request
152
+ * @return {!Uint8Array}
153
+ */
154
+ function(request) {
155
+ return request.serializeBinary();
156
+ },
157
+ proto.ondewo.nlu.ValidateEmbeddedRegexResponse.deserializeBinary
158
+ );
159
+
160
+
161
+ /**
162
+ * @param {!proto.ondewo.nlu.ValidateEmbeddedRegexRequest} request The
163
+ * request proto
164
+ * @param {?Object<string, string>} metadata User defined
165
+ * call metadata
166
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ValidateEmbeddedRegexResponse)}
167
+ * callback The callback function(error, response)
168
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ValidateEmbeddedRegexResponse>|undefined}
169
+ * The XHR Node Readable Stream
170
+ */
171
+ proto.ondewo.nlu.UtilitiesClient.prototype.validateEmbeddedRegex =
172
+ function(request, metadata, callback) {
173
+ return this.client_.rpcCall(this.hostname_ +
174
+ '/ondewo.nlu.Utilities/ValidateEmbeddedRegex',
175
+ request,
176
+ metadata || {},
177
+ methodDescriptor_Utilities_ValidateEmbeddedRegex,
178
+ callback);
179
+ };
180
+
181
+
182
+ /**
183
+ * @param {!proto.ondewo.nlu.ValidateEmbeddedRegexRequest} request The
184
+ * request proto
185
+ * @param {?Object<string, string>=} metadata User defined
186
+ * call metadata
187
+ * @return {!Promise<!proto.ondewo.nlu.ValidateEmbeddedRegexResponse>}
188
+ * Promise that resolves to the response
189
+ */
190
+ proto.ondewo.nlu.UtilitiesPromiseClient.prototype.validateEmbeddedRegex =
191
+ function(request, metadata) {
192
+ return this.client_.unaryCall(this.hostname_ +
193
+ '/ondewo.nlu.Utilities/ValidateEmbeddedRegex',
194
+ request,
195
+ metadata || {},
196
+ methodDescriptor_Utilities_ValidateEmbeddedRegex);
197
+ };
198
+
199
+
200
+ /**
201
+ * @const
202
+ * @type {!grpc.web.MethodDescriptor<
203
+ * !proto.ondewo.nlu.CleanAllIntentsRequest,
204
+ * !proto.ondewo.nlu.CleanAllIntentsResponse>}
205
+ */
206
+ const methodDescriptor_Utilities_CleanAllIntents = new grpc.web.MethodDescriptor(
207
+ '/ondewo.nlu.Utilities/CleanAllIntents',
208
+ grpc.web.MethodType.UNARY,
209
+ proto.ondewo.nlu.CleanAllIntentsRequest,
210
+ proto.ondewo.nlu.CleanAllIntentsResponse,
211
+ /**
212
+ * @param {!proto.ondewo.nlu.CleanAllIntentsRequest} request
213
+ * @return {!Uint8Array}
214
+ */
215
+ function(request) {
216
+ return request.serializeBinary();
217
+ },
218
+ proto.ondewo.nlu.CleanAllIntentsResponse.deserializeBinary
219
+ );
220
+
221
+
222
+ /**
223
+ * @param {!proto.ondewo.nlu.CleanAllIntentsRequest} request The
224
+ * request proto
225
+ * @param {?Object<string, string>} metadata User defined
226
+ * call metadata
227
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.CleanAllIntentsResponse)}
228
+ * callback The callback function(error, response)
229
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.CleanAllIntentsResponse>|undefined}
230
+ * The XHR Node Readable Stream
231
+ */
232
+ proto.ondewo.nlu.UtilitiesClient.prototype.cleanAllIntents =
233
+ function(request, metadata, callback) {
234
+ return this.client_.rpcCall(this.hostname_ +
235
+ '/ondewo.nlu.Utilities/CleanAllIntents',
236
+ request,
237
+ metadata || {},
238
+ methodDescriptor_Utilities_CleanAllIntents,
239
+ callback);
240
+ };
241
+
242
+
243
+ /**
244
+ * @param {!proto.ondewo.nlu.CleanAllIntentsRequest} request The
245
+ * request proto
246
+ * @param {?Object<string, string>=} metadata User defined
247
+ * call metadata
248
+ * @return {!Promise<!proto.ondewo.nlu.CleanAllIntentsResponse>}
249
+ * Promise that resolves to the response
250
+ */
251
+ proto.ondewo.nlu.UtilitiesPromiseClient.prototype.cleanAllIntents =
252
+ function(request, metadata) {
253
+ return this.client_.unaryCall(this.hostname_ +
254
+ '/ondewo.nlu.Utilities/CleanAllIntents',
255
+ request,
256
+ metadata || {},
257
+ methodDescriptor_Utilities_CleanAllIntents);
258
+ };
259
+
260
+
261
+ /**
262
+ * @const
263
+ * @type {!grpc.web.MethodDescriptor<
264
+ * !proto.ondewo.nlu.CleanIntentRequest,
265
+ * !proto.ondewo.nlu.CleanIntentResponse>}
266
+ */
267
+ const methodDescriptor_Utilities_CleanIntent = new grpc.web.MethodDescriptor(
268
+ '/ondewo.nlu.Utilities/CleanIntent',
269
+ grpc.web.MethodType.UNARY,
270
+ proto.ondewo.nlu.CleanIntentRequest,
271
+ proto.ondewo.nlu.CleanIntentResponse,
272
+ /**
273
+ * @param {!proto.ondewo.nlu.CleanIntentRequest} request
274
+ * @return {!Uint8Array}
275
+ */
276
+ function(request) {
277
+ return request.serializeBinary();
278
+ },
279
+ proto.ondewo.nlu.CleanIntentResponse.deserializeBinary
280
+ );
281
+
282
+
283
+ /**
284
+ * @param {!proto.ondewo.nlu.CleanIntentRequest} request The
285
+ * request proto
286
+ * @param {?Object<string, string>} metadata User defined
287
+ * call metadata
288
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.CleanIntentResponse)}
289
+ * callback The callback function(error, response)
290
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.CleanIntentResponse>|undefined}
291
+ * The XHR Node Readable Stream
292
+ */
293
+ proto.ondewo.nlu.UtilitiesClient.prototype.cleanIntent =
294
+ function(request, metadata, callback) {
295
+ return this.client_.rpcCall(this.hostname_ +
296
+ '/ondewo.nlu.Utilities/CleanIntent',
297
+ request,
298
+ metadata || {},
299
+ methodDescriptor_Utilities_CleanIntent,
300
+ callback);
301
+ };
302
+
303
+
304
+ /**
305
+ * @param {!proto.ondewo.nlu.CleanIntentRequest} request The
306
+ * request proto
307
+ * @param {?Object<string, string>=} metadata User defined
308
+ * call metadata
309
+ * @return {!Promise<!proto.ondewo.nlu.CleanIntentResponse>}
310
+ * Promise that resolves to the response
311
+ */
312
+ proto.ondewo.nlu.UtilitiesPromiseClient.prototype.cleanIntent =
313
+ function(request, metadata) {
314
+ return this.client_.unaryCall(this.hostname_ +
315
+ '/ondewo.nlu.Utilities/CleanIntent',
316
+ request,
317
+ metadata || {},
318
+ methodDescriptor_Utilities_CleanIntent);
319
+ };
320
+
321
+
322
+ /**
323
+ * @const
324
+ * @type {!grpc.web.MethodDescriptor<
325
+ * !proto.ondewo.nlu.CleanAllEntityTypesRequest,
326
+ * !proto.ondewo.nlu.CleanAllEntityTypesResponse>}
327
+ */
328
+ const methodDescriptor_Utilities_CleanAllEntityTypes = new grpc.web.MethodDescriptor(
329
+ '/ondewo.nlu.Utilities/CleanAllEntityTypes',
330
+ grpc.web.MethodType.UNARY,
331
+ proto.ondewo.nlu.CleanAllEntityTypesRequest,
332
+ proto.ondewo.nlu.CleanAllEntityTypesResponse,
333
+ /**
334
+ * @param {!proto.ondewo.nlu.CleanAllEntityTypesRequest} request
335
+ * @return {!Uint8Array}
336
+ */
337
+ function(request) {
338
+ return request.serializeBinary();
339
+ },
340
+ proto.ondewo.nlu.CleanAllEntityTypesResponse.deserializeBinary
341
+ );
342
+
343
+
344
+ /**
345
+ * @param {!proto.ondewo.nlu.CleanAllEntityTypesRequest} request The
346
+ * request proto
347
+ * @param {?Object<string, string>} metadata User defined
348
+ * call metadata
349
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.CleanAllEntityTypesResponse)}
350
+ * callback The callback function(error, response)
351
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.CleanAllEntityTypesResponse>|undefined}
352
+ * The XHR Node Readable Stream
353
+ */
354
+ proto.ondewo.nlu.UtilitiesClient.prototype.cleanAllEntityTypes =
355
+ function(request, metadata, callback) {
356
+ return this.client_.rpcCall(this.hostname_ +
357
+ '/ondewo.nlu.Utilities/CleanAllEntityTypes',
358
+ request,
359
+ metadata || {},
360
+ methodDescriptor_Utilities_CleanAllEntityTypes,
361
+ callback);
362
+ };
363
+
364
+
365
+ /**
366
+ * @param {!proto.ondewo.nlu.CleanAllEntityTypesRequest} request The
367
+ * request proto
368
+ * @param {?Object<string, string>=} metadata User defined
369
+ * call metadata
370
+ * @return {!Promise<!proto.ondewo.nlu.CleanAllEntityTypesResponse>}
371
+ * Promise that resolves to the response
372
+ */
373
+ proto.ondewo.nlu.UtilitiesPromiseClient.prototype.cleanAllEntityTypes =
374
+ function(request, metadata) {
375
+ return this.client_.unaryCall(this.hostname_ +
376
+ '/ondewo.nlu.Utilities/CleanAllEntityTypes',
377
+ request,
378
+ metadata || {},
379
+ methodDescriptor_Utilities_CleanAllEntityTypes);
380
+ };
381
+
382
+
383
+ /**
384
+ * @const
385
+ * @type {!grpc.web.MethodDescriptor<
386
+ * !proto.ondewo.nlu.CleanEntityTypeRequest,
387
+ * !proto.ondewo.nlu.CleanEntityTypeResponse>}
388
+ */
389
+ const methodDescriptor_Utilities_CleanEntityType = new grpc.web.MethodDescriptor(
390
+ '/ondewo.nlu.Utilities/CleanEntityType',
391
+ grpc.web.MethodType.UNARY,
392
+ proto.ondewo.nlu.CleanEntityTypeRequest,
393
+ proto.ondewo.nlu.CleanEntityTypeResponse,
394
+ /**
395
+ * @param {!proto.ondewo.nlu.CleanEntityTypeRequest} request
396
+ * @return {!Uint8Array}
397
+ */
398
+ function(request) {
399
+ return request.serializeBinary();
400
+ },
401
+ proto.ondewo.nlu.CleanEntityTypeResponse.deserializeBinary
402
+ );
403
+
404
+
405
+ /**
406
+ * @param {!proto.ondewo.nlu.CleanEntityTypeRequest} request The
407
+ * request proto
408
+ * @param {?Object<string, string>} metadata User defined
409
+ * call metadata
410
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.CleanEntityTypeResponse)}
411
+ * callback The callback function(error, response)
412
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.CleanEntityTypeResponse>|undefined}
413
+ * The XHR Node Readable Stream
414
+ */
415
+ proto.ondewo.nlu.UtilitiesClient.prototype.cleanEntityType =
416
+ function(request, metadata, callback) {
417
+ return this.client_.rpcCall(this.hostname_ +
418
+ '/ondewo.nlu.Utilities/CleanEntityType',
419
+ request,
420
+ metadata || {},
421
+ methodDescriptor_Utilities_CleanEntityType,
422
+ callback);
423
+ };
424
+
425
+
426
+ /**
427
+ * @param {!proto.ondewo.nlu.CleanEntityTypeRequest} request The
428
+ * request proto
429
+ * @param {?Object<string, string>=} metadata User defined
430
+ * call metadata
431
+ * @return {!Promise<!proto.ondewo.nlu.CleanEntityTypeResponse>}
432
+ * Promise that resolves to the response
433
+ */
434
+ proto.ondewo.nlu.UtilitiesPromiseClient.prototype.cleanEntityType =
435
+ function(request, metadata) {
436
+ return this.client_.unaryCall(this.hostname_ +
437
+ '/ondewo.nlu.Utilities/CleanEntityType',
438
+ request,
439
+ metadata || {},
440
+ methodDescriptor_Utilities_CleanEntityType);
441
+ };
442
+
443
+
444
+ /**
445
+ * @const
446
+ * @type {!grpc.web.MethodDescriptor<
447
+ * !proto.ondewo.nlu.AddTrainingPhrasesRequest,
448
+ * !proto.ondewo.nlu.AddTrainingPhrasesResponse>}
449
+ */
450
+ const methodDescriptor_Utilities_AddTrainingPhrases = new grpc.web.MethodDescriptor(
451
+ '/ondewo.nlu.Utilities/AddTrainingPhrases',
452
+ grpc.web.MethodType.UNARY,
453
+ proto.ondewo.nlu.AddTrainingPhrasesRequest,
454
+ proto.ondewo.nlu.AddTrainingPhrasesResponse,
455
+ /**
456
+ * @param {!proto.ondewo.nlu.AddTrainingPhrasesRequest} request
457
+ * @return {!Uint8Array}
458
+ */
459
+ function(request) {
460
+ return request.serializeBinary();
461
+ },
462
+ proto.ondewo.nlu.AddTrainingPhrasesResponse.deserializeBinary
463
+ );
464
+
465
+
466
+ /**
467
+ * @param {!proto.ondewo.nlu.AddTrainingPhrasesRequest} request The
468
+ * request proto
469
+ * @param {?Object<string, string>} metadata User defined
470
+ * call metadata
471
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.AddTrainingPhrasesResponse)}
472
+ * callback The callback function(error, response)
473
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.AddTrainingPhrasesResponse>|undefined}
474
+ * The XHR Node Readable Stream
475
+ */
476
+ proto.ondewo.nlu.UtilitiesClient.prototype.addTrainingPhrases =
477
+ function(request, metadata, callback) {
478
+ return this.client_.rpcCall(this.hostname_ +
479
+ '/ondewo.nlu.Utilities/AddTrainingPhrases',
480
+ request,
481
+ metadata || {},
482
+ methodDescriptor_Utilities_AddTrainingPhrases,
483
+ callback);
484
+ };
485
+
486
+
487
+ /**
488
+ * @param {!proto.ondewo.nlu.AddTrainingPhrasesRequest} request The
489
+ * request proto
490
+ * @param {?Object<string, string>=} metadata User defined
491
+ * call metadata
492
+ * @return {!Promise<!proto.ondewo.nlu.AddTrainingPhrasesResponse>}
493
+ * Promise that resolves to the response
494
+ */
495
+ proto.ondewo.nlu.UtilitiesPromiseClient.prototype.addTrainingPhrases =
496
+ function(request, metadata) {
497
+ return this.client_.unaryCall(this.hostname_ +
498
+ '/ondewo.nlu.Utilities/AddTrainingPhrases',
499
+ request,
500
+ metadata || {},
501
+ methodDescriptor_Utilities_AddTrainingPhrases);
502
+ };
503
+
504
+
505
+ /**
506
+ * @const
507
+ * @type {!grpc.web.MethodDescriptor<
508
+ * !proto.ondewo.nlu.AddTrainingPhrasesFromCSVRequest,
509
+ * !proto.ondewo.nlu.AddTrainingPhrasesResponse>}
510
+ */
511
+ const methodDescriptor_Utilities_AddTrainingPhrasesFromCSV = new grpc.web.MethodDescriptor(
512
+ '/ondewo.nlu.Utilities/AddTrainingPhrasesFromCSV',
513
+ grpc.web.MethodType.UNARY,
514
+ proto.ondewo.nlu.AddTrainingPhrasesFromCSVRequest,
515
+ proto.ondewo.nlu.AddTrainingPhrasesResponse,
516
+ /**
517
+ * @param {!proto.ondewo.nlu.AddTrainingPhrasesFromCSVRequest} request
518
+ * @return {!Uint8Array}
519
+ */
520
+ function(request) {
521
+ return request.serializeBinary();
522
+ },
523
+ proto.ondewo.nlu.AddTrainingPhrasesResponse.deserializeBinary
524
+ );
525
+
526
+
527
+ /**
528
+ * @param {!proto.ondewo.nlu.AddTrainingPhrasesFromCSVRequest} request The
529
+ * request proto
530
+ * @param {?Object<string, string>} metadata User defined
531
+ * call metadata
532
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.AddTrainingPhrasesResponse)}
533
+ * callback The callback function(error, response)
534
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.AddTrainingPhrasesResponse>|undefined}
535
+ * The XHR Node Readable Stream
536
+ */
537
+ proto.ondewo.nlu.UtilitiesClient.prototype.addTrainingPhrasesFromCSV =
538
+ function(request, metadata, callback) {
539
+ return this.client_.rpcCall(this.hostname_ +
540
+ '/ondewo.nlu.Utilities/AddTrainingPhrasesFromCSV',
541
+ request,
542
+ metadata || {},
543
+ methodDescriptor_Utilities_AddTrainingPhrasesFromCSV,
544
+ callback);
545
+ };
546
+
547
+
548
+ /**
549
+ * @param {!proto.ondewo.nlu.AddTrainingPhrasesFromCSVRequest} request The
550
+ * request proto
551
+ * @param {?Object<string, string>=} metadata User defined
552
+ * call metadata
553
+ * @return {!Promise<!proto.ondewo.nlu.AddTrainingPhrasesResponse>}
554
+ * Promise that resolves to the response
555
+ */
556
+ proto.ondewo.nlu.UtilitiesPromiseClient.prototype.addTrainingPhrasesFromCSV =
557
+ function(request, metadata) {
558
+ return this.client_.unaryCall(this.hostname_ +
559
+ '/ondewo.nlu.Utilities/AddTrainingPhrasesFromCSV',
560
+ request,
561
+ metadata || {},
562
+ methodDescriptor_Utilities_AddTrainingPhrasesFromCSV);
563
+ };
564
+
565
+
566
+ module.exports = proto.ondewo.nlu;
567
+