@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
|
@@ -4,54 +4,51 @@ import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty
|
|
|
4
4
|
import * as ondewo_nlu_server_statistics_pb from '../../ondewo/nlu/server_statistics_pb';
|
|
5
5
|
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
export class ServerStatisticsClient {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.StatResponse>;
|
|
33
|
-
|
|
8
|
+
constructor(
|
|
9
|
+
hostname: string,
|
|
10
|
+
credentials?: null | { [index: string]: string },
|
|
11
|
+
options?: null | { [index: string]: any }
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
getProjectCount(
|
|
15
|
+
request: google_protobuf_empty_pb.Empty,
|
|
16
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
17
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_common_pb.StatResponse) => void
|
|
18
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.StatResponse>;
|
|
19
|
+
|
|
20
|
+
getUserProjectCount(
|
|
21
|
+
request: ondewo_nlu_server_statistics_pb.GetUserProjectCountRequest,
|
|
22
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
23
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_common_pb.StatResponse) => void
|
|
24
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.StatResponse>;
|
|
25
|
+
|
|
26
|
+
getUserCount(
|
|
27
|
+
request: google_protobuf_empty_pb.Empty,
|
|
28
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
29
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_common_pb.StatResponse) => void
|
|
30
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.StatResponse>;
|
|
34
31
|
}
|
|
35
32
|
|
|
36
33
|
export class ServerStatisticsPromiseClient {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
34
|
+
constructor(
|
|
35
|
+
hostname: string,
|
|
36
|
+
credentials?: null | { [index: string]: string },
|
|
37
|
+
options?: null | { [index: string]: any }
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
getProjectCount(
|
|
41
|
+
request: google_protobuf_empty_pb.Empty,
|
|
42
|
+
metadata?: grpcWeb.Metadata
|
|
43
|
+
): Promise<ondewo_nlu_common_pb.StatResponse>;
|
|
44
|
+
|
|
45
|
+
getUserProjectCount(
|
|
46
|
+
request: ondewo_nlu_server_statistics_pb.GetUserProjectCountRequest,
|
|
47
|
+
metadata?: grpcWeb.Metadata
|
|
48
|
+
): Promise<ondewo_nlu_common_pb.StatResponse>;
|
|
49
|
+
|
|
50
|
+
getUserCount(
|
|
51
|
+
request: google_protobuf_empty_pb.Empty,
|
|
52
|
+
metadata?: grpcWeb.Metadata
|
|
53
|
+
): Promise<ondewo_nlu_common_pb.StatResponse>;
|
|
56
54
|
}
|
|
57
|
-
|
|
@@ -6,21 +6,17 @@
|
|
|
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
|
|
17
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
20
18
|
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js')
|
|
19
|
+
var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js');
|
|
24
20
|
const proto = {};
|
|
25
21
|
proto.ondewo = {};
|
|
26
22
|
proto.ondewo.nlu = require('./server_statistics_pb.js');
|
|
@@ -33,24 +29,21 @@ proto.ondewo.nlu = require('./server_statistics_pb.js');
|
|
|
33
29
|
* @struct
|
|
34
30
|
* @final
|
|
35
31
|
*/
|
|
36
|
-
proto.ondewo.nlu.ServerStatisticsClient =
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
this.hostname_ = hostname;
|
|
50
|
-
|
|
32
|
+
proto.ondewo.nlu.ServerStatisticsClient = function (hostname, credentials, options) {
|
|
33
|
+
if (!options) options = {};
|
|
34
|
+
options.format = 'binary';
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
38
|
+
*/
|
|
39
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @private @const {string} The hostname
|
|
43
|
+
*/
|
|
44
|
+
this.hostname_ = hostname;
|
|
51
45
|
};
|
|
52
46
|
|
|
53
|
-
|
|
54
47
|
/**
|
|
55
48
|
* @param {string} hostname
|
|
56
49
|
* @param {?Object} credentials
|
|
@@ -59,24 +52,21 @@ proto.ondewo.nlu.ServerStatisticsClient =
|
|
|
59
52
|
* @struct
|
|
60
53
|
* @final
|
|
61
54
|
*/
|
|
62
|
-
proto.ondewo.nlu.ServerStatisticsPromiseClient =
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
this.hostname_ = hostname;
|
|
76
|
-
|
|
55
|
+
proto.ondewo.nlu.ServerStatisticsPromiseClient = function (hostname, credentials, options) {
|
|
56
|
+
if (!options) options = {};
|
|
57
|
+
options.format = 'binary';
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
61
|
+
*/
|
|
62
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @private @const {string} The hostname
|
|
66
|
+
*/
|
|
67
|
+
this.hostname_ = hostname;
|
|
77
68
|
};
|
|
78
69
|
|
|
79
|
-
|
|
80
70
|
/**
|
|
81
71
|
* @const
|
|
82
72
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -84,21 +74,20 @@ proto.ondewo.nlu.ServerStatisticsPromiseClient =
|
|
|
84
74
|
* !proto.ondewo.nlu.StatResponse>}
|
|
85
75
|
*/
|
|
86
76
|
const methodDescriptor_ServerStatistics_GetProjectCount = new grpc.web.MethodDescriptor(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
77
|
+
'/ondewo.nlu.ServerStatistics/GetProjectCount',
|
|
78
|
+
grpc.web.MethodType.UNARY,
|
|
79
|
+
google_protobuf_empty_pb.Empty,
|
|
80
|
+
ondewo_nlu_common_pb.StatResponse,
|
|
81
|
+
/**
|
|
82
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
83
|
+
* @return {!Uint8Array}
|
|
84
|
+
*/
|
|
85
|
+
function (request) {
|
|
86
|
+
return request.serializeBinary();
|
|
87
|
+
},
|
|
88
|
+
ondewo_nlu_common_pb.StatResponse.deserializeBinary
|
|
99
89
|
);
|
|
100
90
|
|
|
101
|
-
|
|
102
91
|
/**
|
|
103
92
|
* @param {!proto.google.protobuf.Empty} request The
|
|
104
93
|
* request proto
|
|
@@ -109,17 +98,16 @@ const methodDescriptor_ServerStatistics_GetProjectCount = new grpc.web.MethodDes
|
|
|
109
98
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.StatResponse>|undefined}
|
|
110
99
|
* The XHR Node Readable Stream
|
|
111
100
|
*/
|
|
112
|
-
proto.ondewo.nlu.ServerStatisticsClient.prototype.getProjectCount =
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
101
|
+
proto.ondewo.nlu.ServerStatisticsClient.prototype.getProjectCount = function (request, metadata, callback) {
|
|
102
|
+
return this.client_.rpcCall(
|
|
103
|
+
this.hostname_ + '/ondewo.nlu.ServerStatistics/GetProjectCount',
|
|
104
|
+
request,
|
|
105
|
+
metadata || {},
|
|
106
|
+
methodDescriptor_ServerStatistics_GetProjectCount,
|
|
107
|
+
callback
|
|
108
|
+
);
|
|
120
109
|
};
|
|
121
110
|
|
|
122
|
-
|
|
123
111
|
/**
|
|
124
112
|
* @param {!proto.google.protobuf.Empty} request The
|
|
125
113
|
* request proto
|
|
@@ -128,16 +116,15 @@ proto.ondewo.nlu.ServerStatisticsClient.prototype.getProjectCount =
|
|
|
128
116
|
* @return {!Promise<!proto.ondewo.nlu.StatResponse>}
|
|
129
117
|
* Promise that resolves to the response
|
|
130
118
|
*/
|
|
131
|
-
proto.ondewo.nlu.ServerStatisticsPromiseClient.prototype.getProjectCount =
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
119
|
+
proto.ondewo.nlu.ServerStatisticsPromiseClient.prototype.getProjectCount = function (request, metadata) {
|
|
120
|
+
return this.client_.unaryCall(
|
|
121
|
+
this.hostname_ + '/ondewo.nlu.ServerStatistics/GetProjectCount',
|
|
122
|
+
request,
|
|
123
|
+
metadata || {},
|
|
124
|
+
methodDescriptor_ServerStatistics_GetProjectCount
|
|
125
|
+
);
|
|
138
126
|
};
|
|
139
127
|
|
|
140
|
-
|
|
141
128
|
/**
|
|
142
129
|
* @const
|
|
143
130
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -145,21 +132,20 @@ proto.ondewo.nlu.ServerStatisticsPromiseClient.prototype.getProjectCount =
|
|
|
145
132
|
* !proto.ondewo.nlu.StatResponse>}
|
|
146
133
|
*/
|
|
147
134
|
const methodDescriptor_ServerStatistics_GetUserProjectCount = new grpc.web.MethodDescriptor(
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
135
|
+
'/ondewo.nlu.ServerStatistics/GetUserProjectCount',
|
|
136
|
+
grpc.web.MethodType.UNARY,
|
|
137
|
+
proto.ondewo.nlu.GetUserProjectCountRequest,
|
|
138
|
+
ondewo_nlu_common_pb.StatResponse,
|
|
139
|
+
/**
|
|
140
|
+
* @param {!proto.ondewo.nlu.GetUserProjectCountRequest} request
|
|
141
|
+
* @return {!Uint8Array}
|
|
142
|
+
*/
|
|
143
|
+
function (request) {
|
|
144
|
+
return request.serializeBinary();
|
|
145
|
+
},
|
|
146
|
+
ondewo_nlu_common_pb.StatResponse.deserializeBinary
|
|
160
147
|
);
|
|
161
148
|
|
|
162
|
-
|
|
163
149
|
/**
|
|
164
150
|
* @param {!proto.ondewo.nlu.GetUserProjectCountRequest} request The
|
|
165
151
|
* request proto
|
|
@@ -170,17 +156,16 @@ const methodDescriptor_ServerStatistics_GetUserProjectCount = new grpc.web.Metho
|
|
|
170
156
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.StatResponse>|undefined}
|
|
171
157
|
* The XHR Node Readable Stream
|
|
172
158
|
*/
|
|
173
|
-
proto.ondewo.nlu.ServerStatisticsClient.prototype.getUserProjectCount =
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
159
|
+
proto.ondewo.nlu.ServerStatisticsClient.prototype.getUserProjectCount = function (request, metadata, callback) {
|
|
160
|
+
return this.client_.rpcCall(
|
|
161
|
+
this.hostname_ + '/ondewo.nlu.ServerStatistics/GetUserProjectCount',
|
|
162
|
+
request,
|
|
163
|
+
metadata || {},
|
|
164
|
+
methodDescriptor_ServerStatistics_GetUserProjectCount,
|
|
165
|
+
callback
|
|
166
|
+
);
|
|
181
167
|
};
|
|
182
168
|
|
|
183
|
-
|
|
184
169
|
/**
|
|
185
170
|
* @param {!proto.ondewo.nlu.GetUserProjectCountRequest} request The
|
|
186
171
|
* request proto
|
|
@@ -189,16 +174,15 @@ proto.ondewo.nlu.ServerStatisticsClient.prototype.getUserProjectCount =
|
|
|
189
174
|
* @return {!Promise<!proto.ondewo.nlu.StatResponse>}
|
|
190
175
|
* Promise that resolves to the response
|
|
191
176
|
*/
|
|
192
|
-
proto.ondewo.nlu.ServerStatisticsPromiseClient.prototype.getUserProjectCount =
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
177
|
+
proto.ondewo.nlu.ServerStatisticsPromiseClient.prototype.getUserProjectCount = function (request, metadata) {
|
|
178
|
+
return this.client_.unaryCall(
|
|
179
|
+
this.hostname_ + '/ondewo.nlu.ServerStatistics/GetUserProjectCount',
|
|
180
|
+
request,
|
|
181
|
+
metadata || {},
|
|
182
|
+
methodDescriptor_ServerStatistics_GetUserProjectCount
|
|
183
|
+
);
|
|
199
184
|
};
|
|
200
185
|
|
|
201
|
-
|
|
202
186
|
/**
|
|
203
187
|
* @const
|
|
204
188
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -206,21 +190,20 @@ proto.ondewo.nlu.ServerStatisticsPromiseClient.prototype.getUserProjectCount =
|
|
|
206
190
|
* !proto.ondewo.nlu.StatResponse>}
|
|
207
191
|
*/
|
|
208
192
|
const methodDescriptor_ServerStatistics_GetUserCount = new grpc.web.MethodDescriptor(
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
193
|
+
'/ondewo.nlu.ServerStatistics/GetUserCount',
|
|
194
|
+
grpc.web.MethodType.UNARY,
|
|
195
|
+
google_protobuf_empty_pb.Empty,
|
|
196
|
+
ondewo_nlu_common_pb.StatResponse,
|
|
197
|
+
/**
|
|
198
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
199
|
+
* @return {!Uint8Array}
|
|
200
|
+
*/
|
|
201
|
+
function (request) {
|
|
202
|
+
return request.serializeBinary();
|
|
203
|
+
},
|
|
204
|
+
ondewo_nlu_common_pb.StatResponse.deserializeBinary
|
|
221
205
|
);
|
|
222
206
|
|
|
223
|
-
|
|
224
207
|
/**
|
|
225
208
|
* @param {!proto.google.protobuf.Empty} request The
|
|
226
209
|
* request proto
|
|
@@ -231,17 +214,16 @@ const methodDescriptor_ServerStatistics_GetUserCount = new grpc.web.MethodDescri
|
|
|
231
214
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.StatResponse>|undefined}
|
|
232
215
|
* The XHR Node Readable Stream
|
|
233
216
|
*/
|
|
234
|
-
proto.ondewo.nlu.ServerStatisticsClient.prototype.getUserCount =
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
217
|
+
proto.ondewo.nlu.ServerStatisticsClient.prototype.getUserCount = function (request, metadata, callback) {
|
|
218
|
+
return this.client_.rpcCall(
|
|
219
|
+
this.hostname_ + '/ondewo.nlu.ServerStatistics/GetUserCount',
|
|
220
|
+
request,
|
|
221
|
+
metadata || {},
|
|
222
|
+
methodDescriptor_ServerStatistics_GetUserCount,
|
|
223
|
+
callback
|
|
224
|
+
);
|
|
242
225
|
};
|
|
243
226
|
|
|
244
|
-
|
|
245
227
|
/**
|
|
246
228
|
* @param {!proto.google.protobuf.Empty} request The
|
|
247
229
|
* request proto
|
|
@@ -250,15 +232,13 @@ proto.ondewo.nlu.ServerStatisticsClient.prototype.getUserCount =
|
|
|
250
232
|
* @return {!Promise<!proto.ondewo.nlu.StatResponse>}
|
|
251
233
|
* Promise that resolves to the response
|
|
252
234
|
*/
|
|
253
|
-
proto.ondewo.nlu.ServerStatisticsPromiseClient.prototype.getUserCount =
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
235
|
+
proto.ondewo.nlu.ServerStatisticsPromiseClient.prototype.getUserCount = function (request, metadata) {
|
|
236
|
+
return this.client_.unaryCall(
|
|
237
|
+
this.hostname_ + '/ondewo.nlu.ServerStatistics/GetUserCount',
|
|
238
|
+
request,
|
|
239
|
+
metadata || {},
|
|
240
|
+
methodDescriptor_ServerStatistics_GetUserCount
|
|
241
|
+
);
|
|
260
242
|
};
|
|
261
243
|
|
|
262
|
-
|
|
263
244
|
module.exports = proto.ondewo.nlu;
|
|
264
|
-
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import * as jspb from 'google-protobuf'
|
|
1
|
+
import * as jspb from 'google-protobuf';
|
|
2
2
|
|
|
3
3
|
import * as google_api_annotations_pb from '../../google/api/annotations_pb';
|
|
4
4
|
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
5
5
|
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
export class GetUserProjectCountRequest extends jspb.Message {
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
getUserId(): string;
|
|
9
|
+
setUserId(value: string): GetUserProjectCountRequest;
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
serializeBinary(): Uint8Array;
|
|
12
|
+
toObject(includeInstance?: boolean): GetUserProjectCountRequest.AsObject;
|
|
13
|
+
static toObject(includeInstance: boolean, msg: GetUserProjectCountRequest): GetUserProjectCountRequest.AsObject;
|
|
14
|
+
static serializeBinaryToWriter(message: GetUserProjectCountRequest, writer: jspb.BinaryWriter): void;
|
|
15
|
+
static deserializeBinary(bytes: Uint8Array): GetUserProjectCountRequest;
|
|
16
|
+
static deserializeBinaryFromReader(
|
|
17
|
+
message: GetUserProjectCountRequest,
|
|
18
|
+
reader: jspb.BinaryReader
|
|
19
|
+
): GetUserProjectCountRequest;
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export namespace GetUserProjectCountRequest {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
export type AsObject = {
|
|
24
|
+
userId: string;
|
|
25
|
+
};
|
|
24
26
|
}
|
|
25
|
-
|