@ondewo/nlu-client-typescript 4.1.0 → 4.3.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 +1758 -1939
  4. package/api/ondewo/nlu/agent_pb.js +10491 -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 +98 -86
  24. package/api/ondewo/nlu/operation_metadata_pb.js +492 -322
  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 +34 -4
@@ -3,62 +3,66 @@ import * as grpcWeb from 'grpc-web';
3
3
  import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
4
4
  import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb';
5
5
 
6
+
6
7
  export class OperationsClient {
7
- constructor(
8
- hostname: string,
9
- credentials?: null | { [index: string]: string },
10
- options?: null | { [index: string]: any }
11
- );
8
+ constructor (hostname: string,
9
+ credentials?: null | { [index: string]: string; },
10
+ options?: null | { [index: string]: any; });
11
+
12
+ listOperations(
13
+ request: ondewo_nlu_operations_pb.ListOperationsRequest,
14
+ metadata: grpcWeb.Metadata | undefined,
15
+ callback: (err: grpcWeb.RpcError,
16
+ response: ondewo_nlu_operations_pb.ListOperationsResponse) => void
17
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_operations_pb.ListOperationsResponse>;
12
18
 
13
- listOperations(
14
- request: ondewo_nlu_operations_pb.ListOperationsRequest,
15
- metadata: grpcWeb.Metadata | undefined,
16
- callback: (err: grpcWeb.RpcError, response: ondewo_nlu_operations_pb.ListOperationsResponse) => void
17
- ): grpcWeb.ClientReadableStream<ondewo_nlu_operations_pb.ListOperationsResponse>;
19
+ getOperation(
20
+ request: ondewo_nlu_operations_pb.GetOperationRequest,
21
+ metadata: grpcWeb.Metadata | undefined,
22
+ callback: (err: grpcWeb.RpcError,
23
+ response: ondewo_nlu_operations_pb.Operation) => void
24
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_operations_pb.Operation>;
18
25
 
19
- getOperation(
20
- request: ondewo_nlu_operations_pb.GetOperationRequest,
21
- metadata: grpcWeb.Metadata | undefined,
22
- callback: (err: grpcWeb.RpcError, response: ondewo_nlu_operations_pb.Operation) => void
23
- ): grpcWeb.ClientReadableStream<ondewo_nlu_operations_pb.Operation>;
26
+ deleteOperation(
27
+ request: ondewo_nlu_operations_pb.DeleteOperationRequest,
28
+ metadata: grpcWeb.Metadata | undefined,
29
+ callback: (err: grpcWeb.RpcError,
30
+ response: google_protobuf_empty_pb.Empty) => void
31
+ ): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
24
32
 
25
- deleteOperation(
26
- request: ondewo_nlu_operations_pb.DeleteOperationRequest,
27
- metadata: grpcWeb.Metadata | undefined,
28
- callback: (err: grpcWeb.RpcError, response: google_protobuf_empty_pb.Empty) => void
29
- ): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
33
+ cancelOperation(
34
+ request: ondewo_nlu_operations_pb.CancelOperationRequest,
35
+ metadata: grpcWeb.Metadata | undefined,
36
+ callback: (err: grpcWeb.RpcError,
37
+ response: google_protobuf_empty_pb.Empty) => void
38
+ ): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
30
39
 
31
- cancelOperation(
32
- request: ondewo_nlu_operations_pb.CancelOperationRequest,
33
- metadata: grpcWeb.Metadata | undefined,
34
- callback: (err: grpcWeb.RpcError, response: google_protobuf_empty_pb.Empty) => void
35
- ): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
36
40
  }
37
41
 
38
42
  export class OperationsPromiseClient {
39
- constructor(
40
- hostname: string,
41
- credentials?: null | { [index: string]: string },
42
- options?: null | { [index: string]: any }
43
- );
43
+ constructor (hostname: string,
44
+ credentials?: null | { [index: string]: string; },
45
+ options?: null | { [index: string]: any; });
44
46
 
45
- listOperations(
46
- request: ondewo_nlu_operations_pb.ListOperationsRequest,
47
- metadata?: grpcWeb.Metadata
48
- ): Promise<ondewo_nlu_operations_pb.ListOperationsResponse>;
47
+ listOperations(
48
+ request: ondewo_nlu_operations_pb.ListOperationsRequest,
49
+ metadata?: grpcWeb.Metadata
50
+ ): Promise<ondewo_nlu_operations_pb.ListOperationsResponse>;
49
51
 
50
- getOperation(
51
- request: ondewo_nlu_operations_pb.GetOperationRequest,
52
- metadata?: grpcWeb.Metadata
53
- ): Promise<ondewo_nlu_operations_pb.Operation>;
52
+ getOperation(
53
+ request: ondewo_nlu_operations_pb.GetOperationRequest,
54
+ metadata?: grpcWeb.Metadata
55
+ ): Promise<ondewo_nlu_operations_pb.Operation>;
54
56
 
55
- deleteOperation(
56
- request: ondewo_nlu_operations_pb.DeleteOperationRequest,
57
- metadata?: grpcWeb.Metadata
58
- ): Promise<google_protobuf_empty_pb.Empty>;
57
+ deleteOperation(
58
+ request: ondewo_nlu_operations_pb.DeleteOperationRequest,
59
+ metadata?: grpcWeb.Metadata
60
+ ): Promise<google_protobuf_empty_pb.Empty>;
61
+
62
+ cancelOperation(
63
+ request: ondewo_nlu_operations_pb.CancelOperationRequest,
64
+ metadata?: grpcWeb.Metadata
65
+ ): Promise<google_protobuf_empty_pb.Empty>;
59
66
 
60
- cancelOperation(
61
- request: ondewo_nlu_operations_pb.CancelOperationRequest,
62
- metadata?: grpcWeb.Metadata
63
- ): Promise<google_protobuf_empty_pb.Empty>;
64
67
  }
68
+
@@ -6,23 +6,27 @@
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 google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
19
+ var google_api_annotations_pb = require('../../google/api/annotations_pb.js')
20
+
21
+ var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js')
18
22
 
19
- var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
23
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
20
24
 
21
- var google_rpc_status_pb = require('../../google/rpc/status_pb.js');
25
+ var google_rpc_status_pb = require('../../google/rpc/status_pb.js')
22
26
 
23
- var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
27
+ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
24
28
 
25
- var ondewo_nlu_operation_metadata_pb = require('../../ondewo/nlu/operation_metadata_pb.js');
29
+ var ondewo_nlu_operation_metadata_pb = require('../../ondewo/nlu/operation_metadata_pb.js')
26
30
  const proto = {};
27
31
  proto.ondewo = {};
28
32
  proto.ondewo.nlu = require('./operations_pb.js');
@@ -35,21 +39,24 @@ proto.ondewo.nlu = require('./operations_pb.js');
35
39
  * @struct
36
40
  * @final
37
41
  */
38
- proto.ondewo.nlu.OperationsClient = function (hostname, credentials, options) {
39
- if (!options) options = {};
40
- options.format = 'binary';
41
-
42
- /**
43
- * @private @const {!grpc.web.GrpcWebClientBase} The client
44
- */
45
- this.client_ = new grpc.web.GrpcWebClientBase(options);
46
-
47
- /**
48
- * @private @const {string} The hostname
49
- */
50
- this.hostname_ = hostname;
42
+ proto.ondewo.nlu.OperationsClient =
43
+ function(hostname, credentials, options) {
44
+ if (!options) options = {};
45
+ options.format = 'binary';
46
+
47
+ /**
48
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
49
+ */
50
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
51
+
52
+ /**
53
+ * @private @const {string} The hostname
54
+ */
55
+ this.hostname_ = hostname;
56
+
51
57
  };
52
58
 
59
+
53
60
  /**
54
61
  * @param {string} hostname
55
62
  * @param {?Object} credentials
@@ -58,21 +65,24 @@ proto.ondewo.nlu.OperationsClient = function (hostname, credentials, options) {
58
65
  * @struct
59
66
  * @final
60
67
  */
61
- proto.ondewo.nlu.OperationsPromiseClient = 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;
68
+ proto.ondewo.nlu.OperationsPromiseClient =
69
+ function(hostname, credentials, options) {
70
+ if (!options) options = {};
71
+ options.format = 'binary';
72
+
73
+ /**
74
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
75
+ */
76
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
77
+
78
+ /**
79
+ * @private @const {string} The hostname
80
+ */
81
+ this.hostname_ = hostname;
82
+
74
83
  };
75
84
 
85
+
76
86
  /**
77
87
  * @const
78
88
  * @type {!grpc.web.MethodDescriptor<
@@ -80,20 +90,21 @@ proto.ondewo.nlu.OperationsPromiseClient = function (hostname, credentials, opti
80
90
  * !proto.ondewo.nlu.ListOperationsResponse>}
81
91
  */
82
92
  const methodDescriptor_Operations_ListOperations = new grpc.web.MethodDescriptor(
83
- '/ondewo.nlu.Operations/ListOperations',
84
- grpc.web.MethodType.UNARY,
85
- proto.ondewo.nlu.ListOperationsRequest,
86
- proto.ondewo.nlu.ListOperationsResponse,
87
- /**
88
- * @param {!proto.ondewo.nlu.ListOperationsRequest} request
89
- * @return {!Uint8Array}
90
- */
91
- function (request) {
92
- return request.serializeBinary();
93
- },
94
- proto.ondewo.nlu.ListOperationsResponse.deserializeBinary
93
+ '/ondewo.nlu.Operations/ListOperations',
94
+ grpc.web.MethodType.UNARY,
95
+ proto.ondewo.nlu.ListOperationsRequest,
96
+ proto.ondewo.nlu.ListOperationsResponse,
97
+ /**
98
+ * @param {!proto.ondewo.nlu.ListOperationsRequest} request
99
+ * @return {!Uint8Array}
100
+ */
101
+ function(request) {
102
+ return request.serializeBinary();
103
+ },
104
+ proto.ondewo.nlu.ListOperationsResponse.deserializeBinary
95
105
  );
96
106
 
107
+
97
108
  /**
98
109
  * @param {!proto.ondewo.nlu.ListOperationsRequest} request The
99
110
  * request proto
@@ -104,16 +115,17 @@ const methodDescriptor_Operations_ListOperations = new grpc.web.MethodDescriptor
104
115
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListOperationsResponse>|undefined}
105
116
  * The XHR Node Readable Stream
106
117
  */
107
- proto.ondewo.nlu.OperationsClient.prototype.listOperations = function (request, metadata, callback) {
108
- return this.client_.rpcCall(
109
- this.hostname_ + '/ondewo.nlu.Operations/ListOperations',
110
- request,
111
- metadata || {},
112
- methodDescriptor_Operations_ListOperations,
113
- callback
114
- );
118
+ proto.ondewo.nlu.OperationsClient.prototype.listOperations =
119
+ function(request, metadata, callback) {
120
+ return this.client_.rpcCall(this.hostname_ +
121
+ '/ondewo.nlu.Operations/ListOperations',
122
+ request,
123
+ metadata || {},
124
+ methodDescriptor_Operations_ListOperations,
125
+ callback);
115
126
  };
116
127
 
128
+
117
129
  /**
118
130
  * @param {!proto.ondewo.nlu.ListOperationsRequest} request The
119
131
  * request proto
@@ -122,15 +134,16 @@ proto.ondewo.nlu.OperationsClient.prototype.listOperations = function (request,
122
134
  * @return {!Promise<!proto.ondewo.nlu.ListOperationsResponse>}
123
135
  * Promise that resolves to the response
124
136
  */
125
- proto.ondewo.nlu.OperationsPromiseClient.prototype.listOperations = function (request, metadata) {
126
- return this.client_.unaryCall(
127
- this.hostname_ + '/ondewo.nlu.Operations/ListOperations',
128
- request,
129
- metadata || {},
130
- methodDescriptor_Operations_ListOperations
131
- );
137
+ proto.ondewo.nlu.OperationsPromiseClient.prototype.listOperations =
138
+ function(request, metadata) {
139
+ return this.client_.unaryCall(this.hostname_ +
140
+ '/ondewo.nlu.Operations/ListOperations',
141
+ request,
142
+ metadata || {},
143
+ methodDescriptor_Operations_ListOperations);
132
144
  };
133
145
 
146
+
134
147
  /**
135
148
  * @const
136
149
  * @type {!grpc.web.MethodDescriptor<
@@ -138,20 +151,21 @@ proto.ondewo.nlu.OperationsPromiseClient.prototype.listOperations = function (re
138
151
  * !proto.ondewo.nlu.Operation>}
139
152
  */
140
153
  const methodDescriptor_Operations_GetOperation = new grpc.web.MethodDescriptor(
141
- '/ondewo.nlu.Operations/GetOperation',
142
- grpc.web.MethodType.UNARY,
143
- proto.ondewo.nlu.GetOperationRequest,
144
- proto.ondewo.nlu.Operation,
145
- /**
146
- * @param {!proto.ondewo.nlu.GetOperationRequest} request
147
- * @return {!Uint8Array}
148
- */
149
- function (request) {
150
- return request.serializeBinary();
151
- },
152
- proto.ondewo.nlu.Operation.deserializeBinary
154
+ '/ondewo.nlu.Operations/GetOperation',
155
+ grpc.web.MethodType.UNARY,
156
+ proto.ondewo.nlu.GetOperationRequest,
157
+ proto.ondewo.nlu.Operation,
158
+ /**
159
+ * @param {!proto.ondewo.nlu.GetOperationRequest} request
160
+ * @return {!Uint8Array}
161
+ */
162
+ function(request) {
163
+ return request.serializeBinary();
164
+ },
165
+ proto.ondewo.nlu.Operation.deserializeBinary
153
166
  );
154
167
 
168
+
155
169
  /**
156
170
  * @param {!proto.ondewo.nlu.GetOperationRequest} request The
157
171
  * request proto
@@ -162,16 +176,17 @@ const methodDescriptor_Operations_GetOperation = new grpc.web.MethodDescriptor(
162
176
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
163
177
  * The XHR Node Readable Stream
164
178
  */
165
- proto.ondewo.nlu.OperationsClient.prototype.getOperation = function (request, metadata, callback) {
166
- return this.client_.rpcCall(
167
- this.hostname_ + '/ondewo.nlu.Operations/GetOperation',
168
- request,
169
- metadata || {},
170
- methodDescriptor_Operations_GetOperation,
171
- callback
172
- );
179
+ proto.ondewo.nlu.OperationsClient.prototype.getOperation =
180
+ function(request, metadata, callback) {
181
+ return this.client_.rpcCall(this.hostname_ +
182
+ '/ondewo.nlu.Operations/GetOperation',
183
+ request,
184
+ metadata || {},
185
+ methodDescriptor_Operations_GetOperation,
186
+ callback);
173
187
  };
174
188
 
189
+
175
190
  /**
176
191
  * @param {!proto.ondewo.nlu.GetOperationRequest} request The
177
192
  * request proto
@@ -180,15 +195,16 @@ proto.ondewo.nlu.OperationsClient.prototype.getOperation = function (request, me
180
195
  * @return {!Promise<!proto.ondewo.nlu.Operation>}
181
196
  * Promise that resolves to the response
182
197
  */
183
- proto.ondewo.nlu.OperationsPromiseClient.prototype.getOperation = function (request, metadata) {
184
- return this.client_.unaryCall(
185
- this.hostname_ + '/ondewo.nlu.Operations/GetOperation',
186
- request,
187
- metadata || {},
188
- methodDescriptor_Operations_GetOperation
189
- );
198
+ proto.ondewo.nlu.OperationsPromiseClient.prototype.getOperation =
199
+ function(request, metadata) {
200
+ return this.client_.unaryCall(this.hostname_ +
201
+ '/ondewo.nlu.Operations/GetOperation',
202
+ request,
203
+ metadata || {},
204
+ methodDescriptor_Operations_GetOperation);
190
205
  };
191
206
 
207
+
192
208
  /**
193
209
  * @const
194
210
  * @type {!grpc.web.MethodDescriptor<
@@ -196,20 +212,21 @@ proto.ondewo.nlu.OperationsPromiseClient.prototype.getOperation = function (requ
196
212
  * !proto.google.protobuf.Empty>}
197
213
  */
198
214
  const methodDescriptor_Operations_DeleteOperation = new grpc.web.MethodDescriptor(
199
- '/ondewo.nlu.Operations/DeleteOperation',
200
- grpc.web.MethodType.UNARY,
201
- proto.ondewo.nlu.DeleteOperationRequest,
202
- google_protobuf_empty_pb.Empty,
203
- /**
204
- * @param {!proto.ondewo.nlu.DeleteOperationRequest} request
205
- * @return {!Uint8Array}
206
- */
207
- function (request) {
208
- return request.serializeBinary();
209
- },
210
- google_protobuf_empty_pb.Empty.deserializeBinary
215
+ '/ondewo.nlu.Operations/DeleteOperation',
216
+ grpc.web.MethodType.UNARY,
217
+ proto.ondewo.nlu.DeleteOperationRequest,
218
+ google_protobuf_empty_pb.Empty,
219
+ /**
220
+ * @param {!proto.ondewo.nlu.DeleteOperationRequest} request
221
+ * @return {!Uint8Array}
222
+ */
223
+ function(request) {
224
+ return request.serializeBinary();
225
+ },
226
+ google_protobuf_empty_pb.Empty.deserializeBinary
211
227
  );
212
228
 
229
+
213
230
  /**
214
231
  * @param {!proto.ondewo.nlu.DeleteOperationRequest} request The
215
232
  * request proto
@@ -220,16 +237,17 @@ const methodDescriptor_Operations_DeleteOperation = new grpc.web.MethodDescripto
220
237
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
221
238
  * The XHR Node Readable Stream
222
239
  */
223
- proto.ondewo.nlu.OperationsClient.prototype.deleteOperation = function (request, metadata, callback) {
224
- return this.client_.rpcCall(
225
- this.hostname_ + '/ondewo.nlu.Operations/DeleteOperation',
226
- request,
227
- metadata || {},
228
- methodDescriptor_Operations_DeleteOperation,
229
- callback
230
- );
240
+ proto.ondewo.nlu.OperationsClient.prototype.deleteOperation =
241
+ function(request, metadata, callback) {
242
+ return this.client_.rpcCall(this.hostname_ +
243
+ '/ondewo.nlu.Operations/DeleteOperation',
244
+ request,
245
+ metadata || {},
246
+ methodDescriptor_Operations_DeleteOperation,
247
+ callback);
231
248
  };
232
249
 
250
+
233
251
  /**
234
252
  * @param {!proto.ondewo.nlu.DeleteOperationRequest} request The
235
253
  * request proto
@@ -238,15 +256,16 @@ proto.ondewo.nlu.OperationsClient.prototype.deleteOperation = function (request,
238
256
  * @return {!Promise<!proto.google.protobuf.Empty>}
239
257
  * Promise that resolves to the response
240
258
  */
241
- proto.ondewo.nlu.OperationsPromiseClient.prototype.deleteOperation = function (request, metadata) {
242
- return this.client_.unaryCall(
243
- this.hostname_ + '/ondewo.nlu.Operations/DeleteOperation',
244
- request,
245
- metadata || {},
246
- methodDescriptor_Operations_DeleteOperation
247
- );
259
+ proto.ondewo.nlu.OperationsPromiseClient.prototype.deleteOperation =
260
+ function(request, metadata) {
261
+ return this.client_.unaryCall(this.hostname_ +
262
+ '/ondewo.nlu.Operations/DeleteOperation',
263
+ request,
264
+ metadata || {},
265
+ methodDescriptor_Operations_DeleteOperation);
248
266
  };
249
267
 
268
+
250
269
  /**
251
270
  * @const
252
271
  * @type {!grpc.web.MethodDescriptor<
@@ -254,20 +273,21 @@ proto.ondewo.nlu.OperationsPromiseClient.prototype.deleteOperation = function (r
254
273
  * !proto.google.protobuf.Empty>}
255
274
  */
256
275
  const methodDescriptor_Operations_CancelOperation = new grpc.web.MethodDescriptor(
257
- '/ondewo.nlu.Operations/CancelOperation',
258
- grpc.web.MethodType.UNARY,
259
- proto.ondewo.nlu.CancelOperationRequest,
260
- google_protobuf_empty_pb.Empty,
261
- /**
262
- * @param {!proto.ondewo.nlu.CancelOperationRequest} request
263
- * @return {!Uint8Array}
264
- */
265
- function (request) {
266
- return request.serializeBinary();
267
- },
268
- google_protobuf_empty_pb.Empty.deserializeBinary
276
+ '/ondewo.nlu.Operations/CancelOperation',
277
+ grpc.web.MethodType.UNARY,
278
+ proto.ondewo.nlu.CancelOperationRequest,
279
+ google_protobuf_empty_pb.Empty,
280
+ /**
281
+ * @param {!proto.ondewo.nlu.CancelOperationRequest} request
282
+ * @return {!Uint8Array}
283
+ */
284
+ function(request) {
285
+ return request.serializeBinary();
286
+ },
287
+ google_protobuf_empty_pb.Empty.deserializeBinary
269
288
  );
270
289
 
290
+
271
291
  /**
272
292
  * @param {!proto.ondewo.nlu.CancelOperationRequest} request The
273
293
  * request proto
@@ -278,16 +298,17 @@ const methodDescriptor_Operations_CancelOperation = new grpc.web.MethodDescripto
278
298
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
279
299
  * The XHR Node Readable Stream
280
300
  */
281
- proto.ondewo.nlu.OperationsClient.prototype.cancelOperation = function (request, metadata, callback) {
282
- return this.client_.rpcCall(
283
- this.hostname_ + '/ondewo.nlu.Operations/CancelOperation',
284
- request,
285
- metadata || {},
286
- methodDescriptor_Operations_CancelOperation,
287
- callback
288
- );
301
+ proto.ondewo.nlu.OperationsClient.prototype.cancelOperation =
302
+ function(request, metadata, callback) {
303
+ return this.client_.rpcCall(this.hostname_ +
304
+ '/ondewo.nlu.Operations/CancelOperation',
305
+ request,
306
+ metadata || {},
307
+ methodDescriptor_Operations_CancelOperation,
308
+ callback);
289
309
  };
290
310
 
311
+
291
312
  /**
292
313
  * @param {!proto.ondewo.nlu.CancelOperationRequest} request The
293
314
  * request proto
@@ -296,13 +317,15 @@ proto.ondewo.nlu.OperationsClient.prototype.cancelOperation = function (request,
296
317
  * @return {!Promise<!proto.google.protobuf.Empty>}
297
318
  * Promise that resolves to the response
298
319
  */
299
- proto.ondewo.nlu.OperationsPromiseClient.prototype.cancelOperation = function (request, metadata) {
300
- return this.client_.unaryCall(
301
- this.hostname_ + '/ondewo.nlu.Operations/CancelOperation',
302
- request,
303
- metadata || {},
304
- methodDescriptor_Operations_CancelOperation
305
- );
320
+ proto.ondewo.nlu.OperationsPromiseClient.prototype.cancelOperation =
321
+ function(request, metadata) {
322
+ return this.client_.unaryCall(this.hostname_ +
323
+ '/ondewo.nlu.Operations/CancelOperation',
324
+ request,
325
+ metadata || {},
326
+ methodDescriptor_Operations_CancelOperation);
306
327
  };
307
328
 
329
+
308
330
  module.exports = proto.ondewo.nlu;
331
+