@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,116 @@
|
|
|
1
|
+
import * as grpcWeb from 'grpc-web';
|
|
2
|
+
|
|
3
|
+
import * as ondewo_nlu_project_statistics_pb from '../../ondewo/nlu/project_statistics_pb';
|
|
4
|
+
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export class ProjectStatisticsClient {
|
|
8
|
+
constructor (hostname: string,
|
|
9
|
+
credentials?: null | { [index: string]: string; },
|
|
10
|
+
options?: null | { [index: string]: any; });
|
|
11
|
+
|
|
12
|
+
getIntentCount(
|
|
13
|
+
request: ondewo_nlu_project_statistics_pb.GetIntentCountRequest,
|
|
14
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
15
|
+
callback: (err: grpcWeb.RpcError,
|
|
16
|
+
response: ondewo_nlu_common_pb.StatResponse) => void
|
|
17
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.StatResponse>;
|
|
18
|
+
|
|
19
|
+
getEntityTypeCount(
|
|
20
|
+
request: ondewo_nlu_project_statistics_pb.GetEntityTypeCountRequest,
|
|
21
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
22
|
+
callback: (err: grpcWeb.RpcError,
|
|
23
|
+
response: ondewo_nlu_common_pb.StatResponse) => void
|
|
24
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.StatResponse>;
|
|
25
|
+
|
|
26
|
+
getUserCount(
|
|
27
|
+
request: ondewo_nlu_project_statistics_pb.GetProjectStatRequest,
|
|
28
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
29
|
+
callback: (err: grpcWeb.RpcError,
|
|
30
|
+
response: ondewo_nlu_common_pb.StatResponse) => void
|
|
31
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.StatResponse>;
|
|
32
|
+
|
|
33
|
+
getSessionCount(
|
|
34
|
+
request: ondewo_nlu_project_statistics_pb.GetProjectStatRequest,
|
|
35
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
36
|
+
callback: (err: grpcWeb.RpcError,
|
|
37
|
+
response: ondewo_nlu_common_pb.StatResponse) => void
|
|
38
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.StatResponse>;
|
|
39
|
+
|
|
40
|
+
getTrainingPhraseCount(
|
|
41
|
+
request: ondewo_nlu_project_statistics_pb.GetProjectElementStatRequest,
|
|
42
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
43
|
+
callback: (err: grpcWeb.RpcError,
|
|
44
|
+
response: ondewo_nlu_common_pb.StatResponse) => void
|
|
45
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.StatResponse>;
|
|
46
|
+
|
|
47
|
+
getResponseCount(
|
|
48
|
+
request: ondewo_nlu_project_statistics_pb.GetProjectElementStatRequest,
|
|
49
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
50
|
+
callback: (err: grpcWeb.RpcError,
|
|
51
|
+
response: ondewo_nlu_common_pb.StatResponse) => void
|
|
52
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.StatResponse>;
|
|
53
|
+
|
|
54
|
+
getEntityValueCount(
|
|
55
|
+
request: ondewo_nlu_project_statistics_pb.GetProjectElementStatRequest,
|
|
56
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
57
|
+
callback: (err: grpcWeb.RpcError,
|
|
58
|
+
response: ondewo_nlu_common_pb.StatResponse) => void
|
|
59
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.StatResponse>;
|
|
60
|
+
|
|
61
|
+
getEntitySynonymCount(
|
|
62
|
+
request: ondewo_nlu_project_statistics_pb.GetProjectElementStatRequest,
|
|
63
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
64
|
+
callback: (err: grpcWeb.RpcError,
|
|
65
|
+
response: ondewo_nlu_common_pb.StatResponse) => void
|
|
66
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.StatResponse>;
|
|
67
|
+
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export class ProjectStatisticsPromiseClient {
|
|
71
|
+
constructor (hostname: string,
|
|
72
|
+
credentials?: null | { [index: string]: string; },
|
|
73
|
+
options?: null | { [index: string]: any; });
|
|
74
|
+
|
|
75
|
+
getIntentCount(
|
|
76
|
+
request: ondewo_nlu_project_statistics_pb.GetIntentCountRequest,
|
|
77
|
+
metadata?: grpcWeb.Metadata
|
|
78
|
+
): Promise<ondewo_nlu_common_pb.StatResponse>;
|
|
79
|
+
|
|
80
|
+
getEntityTypeCount(
|
|
81
|
+
request: ondewo_nlu_project_statistics_pb.GetEntityTypeCountRequest,
|
|
82
|
+
metadata?: grpcWeb.Metadata
|
|
83
|
+
): Promise<ondewo_nlu_common_pb.StatResponse>;
|
|
84
|
+
|
|
85
|
+
getUserCount(
|
|
86
|
+
request: ondewo_nlu_project_statistics_pb.GetProjectStatRequest,
|
|
87
|
+
metadata?: grpcWeb.Metadata
|
|
88
|
+
): Promise<ondewo_nlu_common_pb.StatResponse>;
|
|
89
|
+
|
|
90
|
+
getSessionCount(
|
|
91
|
+
request: ondewo_nlu_project_statistics_pb.GetProjectStatRequest,
|
|
92
|
+
metadata?: grpcWeb.Metadata
|
|
93
|
+
): Promise<ondewo_nlu_common_pb.StatResponse>;
|
|
94
|
+
|
|
95
|
+
getTrainingPhraseCount(
|
|
96
|
+
request: ondewo_nlu_project_statistics_pb.GetProjectElementStatRequest,
|
|
97
|
+
metadata?: grpcWeb.Metadata
|
|
98
|
+
): Promise<ondewo_nlu_common_pb.StatResponse>;
|
|
99
|
+
|
|
100
|
+
getResponseCount(
|
|
101
|
+
request: ondewo_nlu_project_statistics_pb.GetProjectElementStatRequest,
|
|
102
|
+
metadata?: grpcWeb.Metadata
|
|
103
|
+
): Promise<ondewo_nlu_common_pb.StatResponse>;
|
|
104
|
+
|
|
105
|
+
getEntityValueCount(
|
|
106
|
+
request: ondewo_nlu_project_statistics_pb.GetProjectElementStatRequest,
|
|
107
|
+
metadata?: grpcWeb.Metadata
|
|
108
|
+
): Promise<ondewo_nlu_common_pb.StatResponse>;
|
|
109
|
+
|
|
110
|
+
getEntitySynonymCount(
|
|
111
|
+
request: ondewo_nlu_project_statistics_pb.GetProjectElementStatRequest,
|
|
112
|
+
metadata?: grpcWeb.Metadata
|
|
113
|
+
): Promise<ondewo_nlu_common_pb.StatResponse>;
|
|
114
|
+
|
|
115
|
+
}
|
|
116
|
+
|
|
@@ -0,0 +1,571 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for ondewo.nlu
|
|
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_api_annotations_pb = require('../../google/api/annotations_pb.js')
|
|
20
|
+
|
|
21
|
+
var ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js')
|
|
22
|
+
|
|
23
|
+
var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js')
|
|
24
|
+
|
|
25
|
+
var ondewo_nlu_entity_type_pb = require('../../ondewo/nlu/entity_type_pb.js')
|
|
26
|
+
const proto = {};
|
|
27
|
+
proto.ondewo = {};
|
|
28
|
+
proto.ondewo.nlu = require('./project_statistics_pb.js');
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @param {string} hostname
|
|
32
|
+
* @param {?Object} credentials
|
|
33
|
+
* @param {?grpc.web.ClientOptions} options
|
|
34
|
+
* @constructor
|
|
35
|
+
* @struct
|
|
36
|
+
* @final
|
|
37
|
+
*/
|
|
38
|
+
proto.ondewo.nlu.ProjectStatisticsClient =
|
|
39
|
+
function(hostname, credentials, options) {
|
|
40
|
+
if (!options) options = {};
|
|
41
|
+
options.format = 'binary';
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
45
|
+
*/
|
|
46
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @private @const {string} The hostname
|
|
50
|
+
*/
|
|
51
|
+
this.hostname_ = hostname;
|
|
52
|
+
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @param {string} hostname
|
|
58
|
+
* @param {?Object} credentials
|
|
59
|
+
* @param {?grpc.web.ClientOptions} options
|
|
60
|
+
* @constructor
|
|
61
|
+
* @struct
|
|
62
|
+
* @final
|
|
63
|
+
*/
|
|
64
|
+
proto.ondewo.nlu.ProjectStatisticsPromiseClient =
|
|
65
|
+
function(hostname, credentials, options) {
|
|
66
|
+
if (!options) options = {};
|
|
67
|
+
options.format = 'binary';
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
71
|
+
*/
|
|
72
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @private @const {string} The hostname
|
|
76
|
+
*/
|
|
77
|
+
this.hostname_ = hostname;
|
|
78
|
+
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @const
|
|
84
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
85
|
+
* !proto.ondewo.nlu.GetIntentCountRequest,
|
|
86
|
+
* !proto.ondewo.nlu.StatResponse>}
|
|
87
|
+
*/
|
|
88
|
+
const methodDescriptor_ProjectStatistics_GetIntentCount = new grpc.web.MethodDescriptor(
|
|
89
|
+
'/ondewo.nlu.ProjectStatistics/GetIntentCount',
|
|
90
|
+
grpc.web.MethodType.UNARY,
|
|
91
|
+
proto.ondewo.nlu.GetIntentCountRequest,
|
|
92
|
+
ondewo_nlu_common_pb.StatResponse,
|
|
93
|
+
/**
|
|
94
|
+
* @param {!proto.ondewo.nlu.GetIntentCountRequest} request
|
|
95
|
+
* @return {!Uint8Array}
|
|
96
|
+
*/
|
|
97
|
+
function(request) {
|
|
98
|
+
return request.serializeBinary();
|
|
99
|
+
},
|
|
100
|
+
ondewo_nlu_common_pb.StatResponse.deserializeBinary
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @param {!proto.ondewo.nlu.GetIntentCountRequest} request The
|
|
106
|
+
* request proto
|
|
107
|
+
* @param {?Object<string, string>} metadata User defined
|
|
108
|
+
* call metadata
|
|
109
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.StatResponse)}
|
|
110
|
+
* callback The callback function(error, response)
|
|
111
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.StatResponse>|undefined}
|
|
112
|
+
* The XHR Node Readable Stream
|
|
113
|
+
*/
|
|
114
|
+
proto.ondewo.nlu.ProjectStatisticsClient.prototype.getIntentCount =
|
|
115
|
+
function(request, metadata, callback) {
|
|
116
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
117
|
+
'/ondewo.nlu.ProjectStatistics/GetIntentCount',
|
|
118
|
+
request,
|
|
119
|
+
metadata || {},
|
|
120
|
+
methodDescriptor_ProjectStatistics_GetIntentCount,
|
|
121
|
+
callback);
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* @param {!proto.ondewo.nlu.GetIntentCountRequest} request The
|
|
127
|
+
* request proto
|
|
128
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
129
|
+
* call metadata
|
|
130
|
+
* @return {!Promise<!proto.ondewo.nlu.StatResponse>}
|
|
131
|
+
* Promise that resolves to the response
|
|
132
|
+
*/
|
|
133
|
+
proto.ondewo.nlu.ProjectStatisticsPromiseClient.prototype.getIntentCount =
|
|
134
|
+
function(request, metadata) {
|
|
135
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
136
|
+
'/ondewo.nlu.ProjectStatistics/GetIntentCount',
|
|
137
|
+
request,
|
|
138
|
+
metadata || {},
|
|
139
|
+
methodDescriptor_ProjectStatistics_GetIntentCount);
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @const
|
|
145
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
146
|
+
* !proto.ondewo.nlu.GetEntityTypeCountRequest,
|
|
147
|
+
* !proto.ondewo.nlu.StatResponse>}
|
|
148
|
+
*/
|
|
149
|
+
const methodDescriptor_ProjectStatistics_GetEntityTypeCount = new grpc.web.MethodDescriptor(
|
|
150
|
+
'/ondewo.nlu.ProjectStatistics/GetEntityTypeCount',
|
|
151
|
+
grpc.web.MethodType.UNARY,
|
|
152
|
+
proto.ondewo.nlu.GetEntityTypeCountRequest,
|
|
153
|
+
ondewo_nlu_common_pb.StatResponse,
|
|
154
|
+
/**
|
|
155
|
+
* @param {!proto.ondewo.nlu.GetEntityTypeCountRequest} request
|
|
156
|
+
* @return {!Uint8Array}
|
|
157
|
+
*/
|
|
158
|
+
function(request) {
|
|
159
|
+
return request.serializeBinary();
|
|
160
|
+
},
|
|
161
|
+
ondewo_nlu_common_pb.StatResponse.deserializeBinary
|
|
162
|
+
);
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @param {!proto.ondewo.nlu.GetEntityTypeCountRequest} request The
|
|
167
|
+
* request proto
|
|
168
|
+
* @param {?Object<string, string>} metadata User defined
|
|
169
|
+
* call metadata
|
|
170
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.StatResponse)}
|
|
171
|
+
* callback The callback function(error, response)
|
|
172
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.StatResponse>|undefined}
|
|
173
|
+
* The XHR Node Readable Stream
|
|
174
|
+
*/
|
|
175
|
+
proto.ondewo.nlu.ProjectStatisticsClient.prototype.getEntityTypeCount =
|
|
176
|
+
function(request, metadata, callback) {
|
|
177
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
178
|
+
'/ondewo.nlu.ProjectStatistics/GetEntityTypeCount',
|
|
179
|
+
request,
|
|
180
|
+
metadata || {},
|
|
181
|
+
methodDescriptor_ProjectStatistics_GetEntityTypeCount,
|
|
182
|
+
callback);
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @param {!proto.ondewo.nlu.GetEntityTypeCountRequest} request The
|
|
188
|
+
* request proto
|
|
189
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
190
|
+
* call metadata
|
|
191
|
+
* @return {!Promise<!proto.ondewo.nlu.StatResponse>}
|
|
192
|
+
* Promise that resolves to the response
|
|
193
|
+
*/
|
|
194
|
+
proto.ondewo.nlu.ProjectStatisticsPromiseClient.prototype.getEntityTypeCount =
|
|
195
|
+
function(request, metadata) {
|
|
196
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
197
|
+
'/ondewo.nlu.ProjectStatistics/GetEntityTypeCount',
|
|
198
|
+
request,
|
|
199
|
+
metadata || {},
|
|
200
|
+
methodDescriptor_ProjectStatistics_GetEntityTypeCount);
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @const
|
|
206
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
207
|
+
* !proto.ondewo.nlu.GetProjectStatRequest,
|
|
208
|
+
* !proto.ondewo.nlu.StatResponse>}
|
|
209
|
+
*/
|
|
210
|
+
const methodDescriptor_ProjectStatistics_GetUserCount = new grpc.web.MethodDescriptor(
|
|
211
|
+
'/ondewo.nlu.ProjectStatistics/GetUserCount',
|
|
212
|
+
grpc.web.MethodType.UNARY,
|
|
213
|
+
proto.ondewo.nlu.GetProjectStatRequest,
|
|
214
|
+
ondewo_nlu_common_pb.StatResponse,
|
|
215
|
+
/**
|
|
216
|
+
* @param {!proto.ondewo.nlu.GetProjectStatRequest} request
|
|
217
|
+
* @return {!Uint8Array}
|
|
218
|
+
*/
|
|
219
|
+
function(request) {
|
|
220
|
+
return request.serializeBinary();
|
|
221
|
+
},
|
|
222
|
+
ondewo_nlu_common_pb.StatResponse.deserializeBinary
|
|
223
|
+
);
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @param {!proto.ondewo.nlu.GetProjectStatRequest} request The
|
|
228
|
+
* request proto
|
|
229
|
+
* @param {?Object<string, string>} metadata User defined
|
|
230
|
+
* call metadata
|
|
231
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.StatResponse)}
|
|
232
|
+
* callback The callback function(error, response)
|
|
233
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.StatResponse>|undefined}
|
|
234
|
+
* The XHR Node Readable Stream
|
|
235
|
+
*/
|
|
236
|
+
proto.ondewo.nlu.ProjectStatisticsClient.prototype.getUserCount =
|
|
237
|
+
function(request, metadata, callback) {
|
|
238
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
239
|
+
'/ondewo.nlu.ProjectStatistics/GetUserCount',
|
|
240
|
+
request,
|
|
241
|
+
metadata || {},
|
|
242
|
+
methodDescriptor_ProjectStatistics_GetUserCount,
|
|
243
|
+
callback);
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @param {!proto.ondewo.nlu.GetProjectStatRequest} request The
|
|
249
|
+
* request proto
|
|
250
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
251
|
+
* call metadata
|
|
252
|
+
* @return {!Promise<!proto.ondewo.nlu.StatResponse>}
|
|
253
|
+
* Promise that resolves to the response
|
|
254
|
+
*/
|
|
255
|
+
proto.ondewo.nlu.ProjectStatisticsPromiseClient.prototype.getUserCount =
|
|
256
|
+
function(request, metadata) {
|
|
257
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
258
|
+
'/ondewo.nlu.ProjectStatistics/GetUserCount',
|
|
259
|
+
request,
|
|
260
|
+
metadata || {},
|
|
261
|
+
methodDescriptor_ProjectStatistics_GetUserCount);
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* @const
|
|
267
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
268
|
+
* !proto.ondewo.nlu.GetProjectStatRequest,
|
|
269
|
+
* !proto.ondewo.nlu.StatResponse>}
|
|
270
|
+
*/
|
|
271
|
+
const methodDescriptor_ProjectStatistics_GetSessionCount = new grpc.web.MethodDescriptor(
|
|
272
|
+
'/ondewo.nlu.ProjectStatistics/GetSessionCount',
|
|
273
|
+
grpc.web.MethodType.UNARY,
|
|
274
|
+
proto.ondewo.nlu.GetProjectStatRequest,
|
|
275
|
+
ondewo_nlu_common_pb.StatResponse,
|
|
276
|
+
/**
|
|
277
|
+
* @param {!proto.ondewo.nlu.GetProjectStatRequest} request
|
|
278
|
+
* @return {!Uint8Array}
|
|
279
|
+
*/
|
|
280
|
+
function(request) {
|
|
281
|
+
return request.serializeBinary();
|
|
282
|
+
},
|
|
283
|
+
ondewo_nlu_common_pb.StatResponse.deserializeBinary
|
|
284
|
+
);
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @param {!proto.ondewo.nlu.GetProjectStatRequest} request The
|
|
289
|
+
* request proto
|
|
290
|
+
* @param {?Object<string, string>} metadata User defined
|
|
291
|
+
* call metadata
|
|
292
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.StatResponse)}
|
|
293
|
+
* callback The callback function(error, response)
|
|
294
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.StatResponse>|undefined}
|
|
295
|
+
* The XHR Node Readable Stream
|
|
296
|
+
*/
|
|
297
|
+
proto.ondewo.nlu.ProjectStatisticsClient.prototype.getSessionCount =
|
|
298
|
+
function(request, metadata, callback) {
|
|
299
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
300
|
+
'/ondewo.nlu.ProjectStatistics/GetSessionCount',
|
|
301
|
+
request,
|
|
302
|
+
metadata || {},
|
|
303
|
+
methodDescriptor_ProjectStatistics_GetSessionCount,
|
|
304
|
+
callback);
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* @param {!proto.ondewo.nlu.GetProjectStatRequest} request The
|
|
310
|
+
* request proto
|
|
311
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
312
|
+
* call metadata
|
|
313
|
+
* @return {!Promise<!proto.ondewo.nlu.StatResponse>}
|
|
314
|
+
* Promise that resolves to the response
|
|
315
|
+
*/
|
|
316
|
+
proto.ondewo.nlu.ProjectStatisticsPromiseClient.prototype.getSessionCount =
|
|
317
|
+
function(request, metadata) {
|
|
318
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
319
|
+
'/ondewo.nlu.ProjectStatistics/GetSessionCount',
|
|
320
|
+
request,
|
|
321
|
+
metadata || {},
|
|
322
|
+
methodDescriptor_ProjectStatistics_GetSessionCount);
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* @const
|
|
328
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
329
|
+
* !proto.ondewo.nlu.GetProjectElementStatRequest,
|
|
330
|
+
* !proto.ondewo.nlu.StatResponse>}
|
|
331
|
+
*/
|
|
332
|
+
const methodDescriptor_ProjectStatistics_GetTrainingPhraseCount = new grpc.web.MethodDescriptor(
|
|
333
|
+
'/ondewo.nlu.ProjectStatistics/GetTrainingPhraseCount',
|
|
334
|
+
grpc.web.MethodType.UNARY,
|
|
335
|
+
proto.ondewo.nlu.GetProjectElementStatRequest,
|
|
336
|
+
ondewo_nlu_common_pb.StatResponse,
|
|
337
|
+
/**
|
|
338
|
+
* @param {!proto.ondewo.nlu.GetProjectElementStatRequest} request
|
|
339
|
+
* @return {!Uint8Array}
|
|
340
|
+
*/
|
|
341
|
+
function(request) {
|
|
342
|
+
return request.serializeBinary();
|
|
343
|
+
},
|
|
344
|
+
ondewo_nlu_common_pb.StatResponse.deserializeBinary
|
|
345
|
+
);
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* @param {!proto.ondewo.nlu.GetProjectElementStatRequest} request The
|
|
350
|
+
* request proto
|
|
351
|
+
* @param {?Object<string, string>} metadata User defined
|
|
352
|
+
* call metadata
|
|
353
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.StatResponse)}
|
|
354
|
+
* callback The callback function(error, response)
|
|
355
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.StatResponse>|undefined}
|
|
356
|
+
* The XHR Node Readable Stream
|
|
357
|
+
*/
|
|
358
|
+
proto.ondewo.nlu.ProjectStatisticsClient.prototype.getTrainingPhraseCount =
|
|
359
|
+
function(request, metadata, callback) {
|
|
360
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
361
|
+
'/ondewo.nlu.ProjectStatistics/GetTrainingPhraseCount',
|
|
362
|
+
request,
|
|
363
|
+
metadata || {},
|
|
364
|
+
methodDescriptor_ProjectStatistics_GetTrainingPhraseCount,
|
|
365
|
+
callback);
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* @param {!proto.ondewo.nlu.GetProjectElementStatRequest} request The
|
|
371
|
+
* request proto
|
|
372
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
373
|
+
* call metadata
|
|
374
|
+
* @return {!Promise<!proto.ondewo.nlu.StatResponse>}
|
|
375
|
+
* Promise that resolves to the response
|
|
376
|
+
*/
|
|
377
|
+
proto.ondewo.nlu.ProjectStatisticsPromiseClient.prototype.getTrainingPhraseCount =
|
|
378
|
+
function(request, metadata) {
|
|
379
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
380
|
+
'/ondewo.nlu.ProjectStatistics/GetTrainingPhraseCount',
|
|
381
|
+
request,
|
|
382
|
+
metadata || {},
|
|
383
|
+
methodDescriptor_ProjectStatistics_GetTrainingPhraseCount);
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* @const
|
|
389
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
390
|
+
* !proto.ondewo.nlu.GetProjectElementStatRequest,
|
|
391
|
+
* !proto.ondewo.nlu.StatResponse>}
|
|
392
|
+
*/
|
|
393
|
+
const methodDescriptor_ProjectStatistics_GetResponseCount = new grpc.web.MethodDescriptor(
|
|
394
|
+
'/ondewo.nlu.ProjectStatistics/GetResponseCount',
|
|
395
|
+
grpc.web.MethodType.UNARY,
|
|
396
|
+
proto.ondewo.nlu.GetProjectElementStatRequest,
|
|
397
|
+
ondewo_nlu_common_pb.StatResponse,
|
|
398
|
+
/**
|
|
399
|
+
* @param {!proto.ondewo.nlu.GetProjectElementStatRequest} request
|
|
400
|
+
* @return {!Uint8Array}
|
|
401
|
+
*/
|
|
402
|
+
function(request) {
|
|
403
|
+
return request.serializeBinary();
|
|
404
|
+
},
|
|
405
|
+
ondewo_nlu_common_pb.StatResponse.deserializeBinary
|
|
406
|
+
);
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* @param {!proto.ondewo.nlu.GetProjectElementStatRequest} request The
|
|
411
|
+
* request proto
|
|
412
|
+
* @param {?Object<string, string>} metadata User defined
|
|
413
|
+
* call metadata
|
|
414
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.StatResponse)}
|
|
415
|
+
* callback The callback function(error, response)
|
|
416
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.StatResponse>|undefined}
|
|
417
|
+
* The XHR Node Readable Stream
|
|
418
|
+
*/
|
|
419
|
+
proto.ondewo.nlu.ProjectStatisticsClient.prototype.getResponseCount =
|
|
420
|
+
function(request, metadata, callback) {
|
|
421
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
422
|
+
'/ondewo.nlu.ProjectStatistics/GetResponseCount',
|
|
423
|
+
request,
|
|
424
|
+
metadata || {},
|
|
425
|
+
methodDescriptor_ProjectStatistics_GetResponseCount,
|
|
426
|
+
callback);
|
|
427
|
+
};
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* @param {!proto.ondewo.nlu.GetProjectElementStatRequest} request The
|
|
432
|
+
* request proto
|
|
433
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
434
|
+
* call metadata
|
|
435
|
+
* @return {!Promise<!proto.ondewo.nlu.StatResponse>}
|
|
436
|
+
* Promise that resolves to the response
|
|
437
|
+
*/
|
|
438
|
+
proto.ondewo.nlu.ProjectStatisticsPromiseClient.prototype.getResponseCount =
|
|
439
|
+
function(request, metadata) {
|
|
440
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
441
|
+
'/ondewo.nlu.ProjectStatistics/GetResponseCount',
|
|
442
|
+
request,
|
|
443
|
+
metadata || {},
|
|
444
|
+
methodDescriptor_ProjectStatistics_GetResponseCount);
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* @const
|
|
450
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
451
|
+
* !proto.ondewo.nlu.GetProjectElementStatRequest,
|
|
452
|
+
* !proto.ondewo.nlu.StatResponse>}
|
|
453
|
+
*/
|
|
454
|
+
const methodDescriptor_ProjectStatistics_GetEntityValueCount = new grpc.web.MethodDescriptor(
|
|
455
|
+
'/ondewo.nlu.ProjectStatistics/GetEntityValueCount',
|
|
456
|
+
grpc.web.MethodType.UNARY,
|
|
457
|
+
proto.ondewo.nlu.GetProjectElementStatRequest,
|
|
458
|
+
ondewo_nlu_common_pb.StatResponse,
|
|
459
|
+
/**
|
|
460
|
+
* @param {!proto.ondewo.nlu.GetProjectElementStatRequest} request
|
|
461
|
+
* @return {!Uint8Array}
|
|
462
|
+
*/
|
|
463
|
+
function(request) {
|
|
464
|
+
return request.serializeBinary();
|
|
465
|
+
},
|
|
466
|
+
ondewo_nlu_common_pb.StatResponse.deserializeBinary
|
|
467
|
+
);
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* @param {!proto.ondewo.nlu.GetProjectElementStatRequest} request The
|
|
472
|
+
* request proto
|
|
473
|
+
* @param {?Object<string, string>} metadata User defined
|
|
474
|
+
* call metadata
|
|
475
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.StatResponse)}
|
|
476
|
+
* callback The callback function(error, response)
|
|
477
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.StatResponse>|undefined}
|
|
478
|
+
* The XHR Node Readable Stream
|
|
479
|
+
*/
|
|
480
|
+
proto.ondewo.nlu.ProjectStatisticsClient.prototype.getEntityValueCount =
|
|
481
|
+
function(request, metadata, callback) {
|
|
482
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
483
|
+
'/ondewo.nlu.ProjectStatistics/GetEntityValueCount',
|
|
484
|
+
request,
|
|
485
|
+
metadata || {},
|
|
486
|
+
methodDescriptor_ProjectStatistics_GetEntityValueCount,
|
|
487
|
+
callback);
|
|
488
|
+
};
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* @param {!proto.ondewo.nlu.GetProjectElementStatRequest} request The
|
|
493
|
+
* request proto
|
|
494
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
495
|
+
* call metadata
|
|
496
|
+
* @return {!Promise<!proto.ondewo.nlu.StatResponse>}
|
|
497
|
+
* Promise that resolves to the response
|
|
498
|
+
*/
|
|
499
|
+
proto.ondewo.nlu.ProjectStatisticsPromiseClient.prototype.getEntityValueCount =
|
|
500
|
+
function(request, metadata) {
|
|
501
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
502
|
+
'/ondewo.nlu.ProjectStatistics/GetEntityValueCount',
|
|
503
|
+
request,
|
|
504
|
+
metadata || {},
|
|
505
|
+
methodDescriptor_ProjectStatistics_GetEntityValueCount);
|
|
506
|
+
};
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* @const
|
|
511
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
512
|
+
* !proto.ondewo.nlu.GetProjectElementStatRequest,
|
|
513
|
+
* !proto.ondewo.nlu.StatResponse>}
|
|
514
|
+
*/
|
|
515
|
+
const methodDescriptor_ProjectStatistics_GetEntitySynonymCount = new grpc.web.MethodDescriptor(
|
|
516
|
+
'/ondewo.nlu.ProjectStatistics/GetEntitySynonymCount',
|
|
517
|
+
grpc.web.MethodType.UNARY,
|
|
518
|
+
proto.ondewo.nlu.GetProjectElementStatRequest,
|
|
519
|
+
ondewo_nlu_common_pb.StatResponse,
|
|
520
|
+
/**
|
|
521
|
+
* @param {!proto.ondewo.nlu.GetProjectElementStatRequest} request
|
|
522
|
+
* @return {!Uint8Array}
|
|
523
|
+
*/
|
|
524
|
+
function(request) {
|
|
525
|
+
return request.serializeBinary();
|
|
526
|
+
},
|
|
527
|
+
ondewo_nlu_common_pb.StatResponse.deserializeBinary
|
|
528
|
+
);
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* @param {!proto.ondewo.nlu.GetProjectElementStatRequest} request The
|
|
533
|
+
* request proto
|
|
534
|
+
* @param {?Object<string, string>} metadata User defined
|
|
535
|
+
* call metadata
|
|
536
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.StatResponse)}
|
|
537
|
+
* callback The callback function(error, response)
|
|
538
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.StatResponse>|undefined}
|
|
539
|
+
* The XHR Node Readable Stream
|
|
540
|
+
*/
|
|
541
|
+
proto.ondewo.nlu.ProjectStatisticsClient.prototype.getEntitySynonymCount =
|
|
542
|
+
function(request, metadata, callback) {
|
|
543
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
544
|
+
'/ondewo.nlu.ProjectStatistics/GetEntitySynonymCount',
|
|
545
|
+
request,
|
|
546
|
+
metadata || {},
|
|
547
|
+
methodDescriptor_ProjectStatistics_GetEntitySynonymCount,
|
|
548
|
+
callback);
|
|
549
|
+
};
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* @param {!proto.ondewo.nlu.GetProjectElementStatRequest} request The
|
|
554
|
+
* request proto
|
|
555
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
556
|
+
* call metadata
|
|
557
|
+
* @return {!Promise<!proto.ondewo.nlu.StatResponse>}
|
|
558
|
+
* Promise that resolves to the response
|
|
559
|
+
*/
|
|
560
|
+
proto.ondewo.nlu.ProjectStatisticsPromiseClient.prototype.getEntitySynonymCount =
|
|
561
|
+
function(request, metadata) {
|
|
562
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
563
|
+
'/ondewo.nlu.ProjectStatistics/GetEntitySynonymCount',
|
|
564
|
+
request,
|
|
565
|
+
metadata || {},
|
|
566
|
+
methodDescriptor_ProjectStatistics_GetEntitySynonymCount);
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
module.exports = proto.ondewo.nlu;
|
|
571
|
+
|