@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.
Files changed (62) hide show
  1. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +490 -450
  2. package/api/ondewo/nlu/agent_grpc_web_pb.js +1244 -1113
  3. package/api/ondewo/nlu/agent_pb.d.ts +1751 -1939
  4. package/api/ondewo/nlu/agent_pb.js +10484 -9063
  5. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +106 -98
  6. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +280 -245
  7. package/api/ondewo/nlu/aiservices_pb.d.ts +674 -745
  8. package/api/ondewo/nlu/aiservices_pb.js +4403 -3638
  9. package/api/ondewo/nlu/common_pb.d.ts +17 -15
  10. package/api/ondewo/nlu/common_pb.js +93 -83
  11. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +82 -76
  12. package/api/ondewo/nlu/context_grpc_web_pb.js +220 -191
  13. package/api/ondewo/nlu/context_pb.d.ts +151 -151
  14. package/api/ondewo/nlu/context_pb.js +1042 -889
  15. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +154 -142
  16. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +398 -351
  17. package/api/ondewo/nlu/entity_type_pb.d.ts +571 -614
  18. package/api/ondewo/nlu/entity_type_pb.js +3369 -2893
  19. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +334 -310
  20. package/api/ondewo/nlu/intent_grpc_web_pb.js +851 -766
  21. package/api/ondewo/nlu/intent_pb.d.ts +1993 -2151
  22. package/api/ondewo/nlu/intent_pb.js +10692 -9502
  23. package/api/ondewo/nlu/operation_metadata_pb.d.ts +88 -86
  24. package/api/ondewo/nlu/operation_metadata_pb.js +412 -321
  25. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +50 -46
  26. package/api/ondewo/nlu/operations_grpc_web_pb.js +163 -140
  27. package/api/ondewo/nlu/operations_pb.d.ts +182 -189
  28. package/api/ondewo/nlu/operations_pb.js +1004 -843
  29. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +70 -65
  30. package/api/ondewo/nlu/project_role_grpc_web_pb.js +190 -164
  31. package/api/ondewo/nlu/project_role_pb.d.ts +151 -165
  32. package/api/ondewo/nlu/project_role_pb.js +963 -796
  33. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +106 -98
  34. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +281 -246
  35. package/api/ondewo/nlu/project_statistics_pb.d.ts +63 -67
  36. package/api/ondewo/nlu/project_statistics_pb.js +418 -354
  37. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +46 -43
  38. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +130 -110
  39. package/api/ondewo/nlu/server_statistics_pb.d.ts +14 -15
  40. package/api/ondewo/nlu/server_statistics_pb.js +91 -81
  41. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +334 -164
  42. package/api/ondewo/nlu/session_grpc_web_pb.js +1255 -409
  43. package/api/ondewo/nlu/session_pb.d.ts +1721 -1080
  44. package/api/ondewo/nlu/session_pb.js +13885 -6673
  45. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +190 -172
  46. package/api/ondewo/nlu/user_grpc_web_pb.js +487 -431
  47. package/api/ondewo/nlu/user_pb.d.ts +325 -345
  48. package/api/ondewo/nlu/user_pb.js +2312 -1948
  49. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +106 -98
  50. package/api/ondewo/nlu/utility_grpc_web_pb.js +279 -244
  51. package/api/ondewo/nlu/utility_pb.d.ts +535 -588
  52. package/api/ondewo/nlu/utility_pb.js +3348 -2814
  53. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +46 -43
  54. package/api/ondewo/nlu/webhook_grpc_web_pb.js +132 -112
  55. package/api/ondewo/nlu/webhook_pb.d.ts +119 -123
  56. package/api/ondewo/nlu/webhook_pb.js +718 -599
  57. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +94 -87
  58. package/api/ondewo/qa/qa_grpc_web_pb.js +250 -218
  59. package/api/ondewo/qa/qa_pb.d.ts +220 -235
  60. package/api/ondewo/qa/qa_pb.js +1452 -1222
  61. package/package.json +1 -1
  62. 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
- 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>;
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
- 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>;
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 google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
19
+ var google_api_annotations_pb = require('../../google/api/annotations_pb.js')
18
20
 
19
- var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js');
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 = 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;
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 = 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;
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
- '/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
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 = 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
- );
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 = function (request, metadata) {
120
- return this.client_.unaryCall(
121
- this.hostname_ + '/ondewo.nlu.ServerStatistics/GetProjectCount',
122
- request,
123
- metadata || {},
124
- methodDescriptor_ServerStatistics_GetProjectCount
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
- '/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
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 = 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
- );
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 = function (request, metadata) {
178
- return this.client_.unaryCall(
179
- this.hostname_ + '/ondewo.nlu.ServerStatistics/GetUserProjectCount',
180
- request,
181
- metadata || {},
182
- methodDescriptor_ServerStatistics_GetUserProjectCount
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
- '/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
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 = 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
- );
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 = function (request, metadata) {
236
- return this.client_.unaryCall(
237
- this.hostname_ + '/ondewo.nlu.ServerStatistics/GetUserCount',
238
- request,
239
- metadata || {},
240
- methodDescriptor_ServerStatistics_GetUserCount
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
- getUserId(): string;
9
- setUserId(value: string): GetUserProjectCountRequest;
9
+ getUserId(): string;
10
+ setUserId(value: string): GetUserProjectCountRequest;
10
11
 
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;
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
- export type AsObject = {
24
- userId: string;
25
- };
21
+ export type AsObject = {
22
+ userId: string,
23
+ }
26
24
  }
25
+