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