@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
@@ -3,66 +3,62 @@ 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
-
7
6
  export class OperationsClient {
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>;
7
+ constructor(
8
+ hostname: string,
9
+ credentials?: null | { [index: string]: string },
10
+ options?: null | { [index: string]: any }
11
+ );
18
12
 
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>;
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>;
25
18
 
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>;
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>;
32
24
 
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>;
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>;
39
30
 
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>;
40
36
  }
41
37
 
42
38
  export class OperationsPromiseClient {
43
- constructor (hostname: string,
44
- credentials?: null | { [index: string]: string; },
45
- options?: null | { [index: string]: any; });
39
+ constructor(
40
+ hostname: string,
41
+ credentials?: null | { [index: string]: string },
42
+ options?: null | { [index: string]: any }
43
+ );
46
44
 
47
- listOperations(
48
- request: ondewo_nlu_operations_pb.ListOperationsRequest,
49
- metadata?: grpcWeb.Metadata
50
- ): Promise<ondewo_nlu_operations_pb.ListOperationsResponse>;
45
+ listOperations(
46
+ request: ondewo_nlu_operations_pb.ListOperationsRequest,
47
+ metadata?: grpcWeb.Metadata
48
+ ): Promise<ondewo_nlu_operations_pb.ListOperationsResponse>;
51
49
 
52
- getOperation(
53
- request: ondewo_nlu_operations_pb.GetOperationRequest,
54
- metadata?: grpcWeb.Metadata
55
- ): Promise<ondewo_nlu_operations_pb.Operation>;
50
+ getOperation(
51
+ request: ondewo_nlu_operations_pb.GetOperationRequest,
52
+ metadata?: grpcWeb.Metadata
53
+ ): Promise<ondewo_nlu_operations_pb.Operation>;
56
54
 
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>;
55
+ deleteOperation(
56
+ request: ondewo_nlu_operations_pb.DeleteOperationRequest,
57
+ metadata?: grpcWeb.Metadata
58
+ ): Promise<google_protobuf_empty_pb.Empty>;
66
59
 
60
+ cancelOperation(
61
+ request: ondewo_nlu_operations_pb.CancelOperationRequest,
62
+ metadata?: grpcWeb.Metadata
63
+ ): Promise<google_protobuf_empty_pb.Empty>;
67
64
  }
68
-
@@ -6,27 +6,23 @@
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_any_pb = require('google-protobuf/google/protobuf/any_pb.js')
17
+ var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
22
18
 
23
- var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
19
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
24
20
 
25
- var google_rpc_status_pb = require('../../google/rpc/status_pb.js')
21
+ var google_rpc_status_pb = require('../../google/rpc/status_pb.js');
26
22
 
27
- var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
23
+ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
28
24
 
29
- var ondewo_nlu_operation_metadata_pb = require('../../ondewo/nlu/operation_metadata_pb.js')
25
+ var ondewo_nlu_operation_metadata_pb = require('../../ondewo/nlu/operation_metadata_pb.js');
30
26
  const proto = {};
31
27
  proto.ondewo = {};
32
28
  proto.ondewo.nlu = require('./operations_pb.js');
@@ -39,24 +35,21 @@ proto.ondewo.nlu = require('./operations_pb.js');
39
35
  * @struct
40
36
  * @final
41
37
  */
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
-
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;
57
51
  };
58
52
 
59
-
60
53
  /**
61
54
  * @param {string} hostname
62
55
  * @param {?Object} credentials
@@ -65,24 +58,21 @@ proto.ondewo.nlu.OperationsClient =
65
58
  * @struct
66
59
  * @final
67
60
  */
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
-
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;
83
74
  };
84
75
 
85
-
86
76
  /**
87
77
  * @const
88
78
  * @type {!grpc.web.MethodDescriptor<
@@ -90,21 +80,20 @@ proto.ondewo.nlu.OperationsPromiseClient =
90
80
  * !proto.ondewo.nlu.ListOperationsResponse>}
91
81
  */
92
82
  const methodDescriptor_Operations_ListOperations = new grpc.web.MethodDescriptor(
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
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
105
95
  );
106
96
 
107
-
108
97
  /**
109
98
  * @param {!proto.ondewo.nlu.ListOperationsRequest} request The
110
99
  * request proto
@@ -115,17 +104,16 @@ const methodDescriptor_Operations_ListOperations = new grpc.web.MethodDescriptor
115
104
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListOperationsResponse>|undefined}
116
105
  * The XHR Node Readable Stream
117
106
  */
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);
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
+ );
126
115
  };
127
116
 
128
-
129
117
  /**
130
118
  * @param {!proto.ondewo.nlu.ListOperationsRequest} request The
131
119
  * request proto
@@ -134,16 +122,15 @@ proto.ondewo.nlu.OperationsClient.prototype.listOperations =
134
122
  * @return {!Promise<!proto.ondewo.nlu.ListOperationsResponse>}
135
123
  * Promise that resolves to the response
136
124
  */
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);
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
+ );
144
132
  };
145
133
 
146
-
147
134
  /**
148
135
  * @const
149
136
  * @type {!grpc.web.MethodDescriptor<
@@ -151,21 +138,20 @@ proto.ondewo.nlu.OperationsPromiseClient.prototype.listOperations =
151
138
  * !proto.ondewo.nlu.Operation>}
152
139
  */
153
140
  const methodDescriptor_Operations_GetOperation = new grpc.web.MethodDescriptor(
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
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
166
153
  );
167
154
 
168
-
169
155
  /**
170
156
  * @param {!proto.ondewo.nlu.GetOperationRequest} request The
171
157
  * request proto
@@ -176,17 +162,16 @@ const methodDescriptor_Operations_GetOperation = new grpc.web.MethodDescriptor(
176
162
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
177
163
  * The XHR Node Readable Stream
178
164
  */
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);
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
+ );
187
173
  };
188
174
 
189
-
190
175
  /**
191
176
  * @param {!proto.ondewo.nlu.GetOperationRequest} request The
192
177
  * request proto
@@ -195,16 +180,15 @@ proto.ondewo.nlu.OperationsClient.prototype.getOperation =
195
180
  * @return {!Promise<!proto.ondewo.nlu.Operation>}
196
181
  * Promise that resolves to the response
197
182
  */
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);
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
+ );
205
190
  };
206
191
 
207
-
208
192
  /**
209
193
  * @const
210
194
  * @type {!grpc.web.MethodDescriptor<
@@ -212,21 +196,20 @@ proto.ondewo.nlu.OperationsPromiseClient.prototype.getOperation =
212
196
  * !proto.google.protobuf.Empty>}
213
197
  */
214
198
  const methodDescriptor_Operations_DeleteOperation = new grpc.web.MethodDescriptor(
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
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
227
211
  );
228
212
 
229
-
230
213
  /**
231
214
  * @param {!proto.ondewo.nlu.DeleteOperationRequest} request The
232
215
  * request proto
@@ -237,17 +220,16 @@ const methodDescriptor_Operations_DeleteOperation = new grpc.web.MethodDescripto
237
220
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
238
221
  * The XHR Node Readable Stream
239
222
  */
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);
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
+ );
248
231
  };
249
232
 
250
-
251
233
  /**
252
234
  * @param {!proto.ondewo.nlu.DeleteOperationRequest} request The
253
235
  * request proto
@@ -256,16 +238,15 @@ proto.ondewo.nlu.OperationsClient.prototype.deleteOperation =
256
238
  * @return {!Promise<!proto.google.protobuf.Empty>}
257
239
  * Promise that resolves to the response
258
240
  */
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);
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
+ );
266
248
  };
267
249
 
268
-
269
250
  /**
270
251
  * @const
271
252
  * @type {!grpc.web.MethodDescriptor<
@@ -273,21 +254,20 @@ proto.ondewo.nlu.OperationsPromiseClient.prototype.deleteOperation =
273
254
  * !proto.google.protobuf.Empty>}
274
255
  */
275
256
  const methodDescriptor_Operations_CancelOperation = new grpc.web.MethodDescriptor(
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
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
288
269
  );
289
270
 
290
-
291
271
  /**
292
272
  * @param {!proto.ondewo.nlu.CancelOperationRequest} request The
293
273
  * request proto
@@ -298,17 +278,16 @@ const methodDescriptor_Operations_CancelOperation = new grpc.web.MethodDescripto
298
278
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
299
279
  * The XHR Node Readable Stream
300
280
  */
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);
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
+ );
309
289
  };
310
290
 
311
-
312
291
  /**
313
292
  * @param {!proto.ondewo.nlu.CancelOperationRequest} request The
314
293
  * request proto
@@ -317,15 +296,13 @@ proto.ondewo.nlu.OperationsClient.prototype.cancelOperation =
317
296
  * @return {!Promise<!proto.google.protobuf.Empty>}
318
297
  * Promise that resolves to the response
319
298
  */
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);
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
+ );
327
306
  };
328
307
 
329
-
330
308
  module.exports = proto.ondewo.nlu;
331
-