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