@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.
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +490 -450
- package/api/ondewo/nlu/agent_grpc_web_pb.js +1244 -1113
- package/api/ondewo/nlu/agent_pb.d.ts +1758 -1939
- package/api/ondewo/nlu/agent_pb.js +10491 -9063
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +106 -98
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +280 -245
- package/api/ondewo/nlu/aiservices_pb.d.ts +674 -745
- package/api/ondewo/nlu/aiservices_pb.js +4403 -3638
- package/api/ondewo/nlu/common_pb.d.ts +17 -15
- package/api/ondewo/nlu/common_pb.js +93 -83
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +82 -76
- package/api/ondewo/nlu/context_grpc_web_pb.js +220 -191
- package/api/ondewo/nlu/context_pb.d.ts +151 -151
- package/api/ondewo/nlu/context_pb.js +1042 -889
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +154 -142
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +398 -351
- package/api/ondewo/nlu/entity_type_pb.d.ts +571 -614
- package/api/ondewo/nlu/entity_type_pb.js +3369 -2893
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +334 -310
- package/api/ondewo/nlu/intent_grpc_web_pb.js +851 -766
- package/api/ondewo/nlu/intent_pb.d.ts +1993 -2151
- package/api/ondewo/nlu/intent_pb.js +10692 -9502
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +98 -86
- package/api/ondewo/nlu/operation_metadata_pb.js +492 -322
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +50 -46
- package/api/ondewo/nlu/operations_grpc_web_pb.js +163 -140
- package/api/ondewo/nlu/operations_pb.d.ts +182 -189
- package/api/ondewo/nlu/operations_pb.js +1004 -843
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +70 -65
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +190 -164
- package/api/ondewo/nlu/project_role_pb.d.ts +151 -165
- package/api/ondewo/nlu/project_role_pb.js +963 -796
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +106 -98
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +281 -246
- package/api/ondewo/nlu/project_statistics_pb.d.ts +63 -67
- package/api/ondewo/nlu/project_statistics_pb.js +418 -354
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +46 -43
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +130 -110
- package/api/ondewo/nlu/server_statistics_pb.d.ts +14 -15
- package/api/ondewo/nlu/server_statistics_pb.js +91 -81
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +334 -164
- package/api/ondewo/nlu/session_grpc_web_pb.js +1255 -409
- package/api/ondewo/nlu/session_pb.d.ts +1721 -1080
- package/api/ondewo/nlu/session_pb.js +13885 -6673
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +190 -172
- package/api/ondewo/nlu/user_grpc_web_pb.js +487 -431
- package/api/ondewo/nlu/user_pb.d.ts +325 -345
- package/api/ondewo/nlu/user_pb.js +2312 -1948
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +106 -98
- package/api/ondewo/nlu/utility_grpc_web_pb.js +279 -244
- package/api/ondewo/nlu/utility_pb.d.ts +535 -588
- package/api/ondewo/nlu/utility_pb.js +3348 -2814
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +46 -43
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +132 -112
- package/api/ondewo/nlu/webhook_pb.d.ts +119 -123
- package/api/ondewo/nlu/webhook_pb.js +718 -599
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +94 -87
- package/api/ondewo/qa/qa_grpc_web_pb.js +250 -218
- package/api/ondewo/qa/qa_pb.d.ts +220 -235
- package/api/ondewo/qa/qa_pb.js +1452 -1222
- package/package.json +1 -1
- 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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
listOperations(
|
|
48
|
+
request: ondewo_nlu_operations_pb.ListOperationsRequest,
|
|
49
|
+
metadata?: grpcWeb.Metadata
|
|
50
|
+
): Promise<ondewo_nlu_operations_pb.ListOperationsResponse>;
|
|
49
51
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
getOperation(
|
|
53
|
+
request: ondewo_nlu_operations_pb.GetOperationRequest,
|
|
54
|
+
metadata?: grpcWeb.Metadata
|
|
55
|
+
): Promise<ondewo_nlu_operations_pb.Operation>;
|
|
54
56
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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
|
|
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 =
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
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 =
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
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
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
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 =
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
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 =
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
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
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
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 =
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
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 =
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
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
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
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 =
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
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 =
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
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
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
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 =
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
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 =
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
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
|
+
|