@ondewo/nlu-client-typescript 3.5.2 → 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.
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +450 -478
- package/api/ondewo/nlu/agent_grpc_web_pb.js +1143 -1213
- package/api/ondewo/nlu/agent_pb.d.ts +1965 -1672
- package/api/ondewo/nlu/agent_pb.js +9401 -10036
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +98 -106
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +245 -280
- package/api/ondewo/nlu/aiservices_pb.d.ts +746 -671
- package/api/ondewo/nlu/aiservices_pb.js +3648 -4383
- package/api/ondewo/nlu/common_pb.d.ts +15 -17
- package/api/ondewo/nlu/common_pb.js +83 -93
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +76 -82
- package/api/ondewo/nlu/context_grpc_web_pb.js +191 -220
- package/api/ondewo/nlu/context_pb.d.ts +151 -151
- package/api/ondewo/nlu/context_pb.js +892 -1045
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +142 -154
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +351 -398
- package/api/ondewo/nlu/entity_type_pb.d.ts +614 -571
- package/api/ondewo/nlu/entity_type_pb.js +2893 -3369
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +310 -334
- package/api/ondewo/nlu/intent_grpc_web_pb.js +766 -851
- package/api/ondewo/nlu/intent_pb.d.ts +2151 -1993
- package/api/ondewo/nlu/intent_pb.js +9502 -10692
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +86 -88
- package/api/ondewo/nlu/operation_metadata_pb.js +321 -412
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +46 -50
- package/api/ondewo/nlu/operations_grpc_web_pb.js +140 -163
- package/api/ondewo/nlu/operations_pb.d.ts +189 -182
- package/api/ondewo/nlu/operations_pb.js +843 -1004
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +65 -70
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +164 -190
- package/api/ondewo/nlu/project_role_pb.d.ts +165 -151
- package/api/ondewo/nlu/project_role_pb.js +796 -963
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +98 -106
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +246 -281
- package/api/ondewo/nlu/project_statistics_pb.d.ts +67 -63
- package/api/ondewo/nlu/project_statistics_pb.js +354 -418
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +43 -46
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +110 -130
- package/api/ondewo/nlu/server_statistics_pb.d.ts +15 -14
- package/api/ondewo/nlu/server_statistics_pb.js +81 -91
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +164 -178
- package/api/ondewo/nlu/session_grpc_web_pb.js +409 -460
- package/api/ondewo/nlu/session_pb.d.ts +1132 -867
- package/api/ondewo/nlu/session_pb.js +5960 -5662
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +172 -190
- package/api/ondewo/nlu/user_grpc_web_pb.js +431 -487
- package/api/ondewo/nlu/user_pb.d.ts +345 -325
- package/api/ondewo/nlu/user_pb.js +1948 -2312
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +98 -106
- package/api/ondewo/nlu/utility_grpc_web_pb.js +244 -279
- package/api/ondewo/nlu/utility_pb.d.ts +588 -535
- package/api/ondewo/nlu/utility_pb.js +2814 -3348
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +43 -46
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +112 -132
- package/api/ondewo/nlu/webhook_pb.d.ts +123 -119
- package/api/ondewo/nlu/webhook_pb.js +599 -718
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +87 -94
- package/api/ondewo/qa/qa_grpc_web_pb.js +218 -250
- package/api/ondewo/qa/qa_pb.d.ts +235 -220
- package/api/ondewo/qa/qa_pb.js +1222 -1452
- package/package.json +1 -1
- 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
constructor(
|
|
40
|
+
hostname: string,
|
|
41
|
+
credentials?: null | { [index: string]: string },
|
|
42
|
+
options?: null | { [index: string]: any }
|
|
43
|
+
);
|
|
46
44
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
45
|
+
listOperations(
|
|
46
|
+
request: ondewo_nlu_operations_pb.ListOperationsRequest,
|
|
47
|
+
metadata?: grpcWeb.Metadata
|
|
48
|
+
): Promise<ondewo_nlu_operations_pb.ListOperationsResponse>;
|
|
51
49
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
50
|
+
getOperation(
|
|
51
|
+
request: ondewo_nlu_operations_pb.GetOperationRequest,
|
|
52
|
+
metadata?: grpcWeb.Metadata
|
|
53
|
+
): Promise<ondewo_nlu_operations_pb.Operation>;
|
|
56
54
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
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
|
|
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
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
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
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
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
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
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
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
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
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
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
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
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
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
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
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
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
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
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
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
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
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
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
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
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
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
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
|
-
|