@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,884 @@
|
|
|
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 google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
|
|
22
|
+
|
|
23
|
+
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js')
|
|
24
|
+
|
|
25
|
+
var google_rpc_status_pb = require('../../google/rpc/status_pb.js')
|
|
26
|
+
|
|
27
|
+
var google_type_latlng_pb = require('../../google/type/latlng_pb.js')
|
|
28
|
+
|
|
29
|
+
var ondewo_nlu_context_pb = require('../../ondewo/nlu/context_pb.js')
|
|
30
|
+
|
|
31
|
+
var ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js')
|
|
32
|
+
|
|
33
|
+
var ondewo_nlu_entity_type_pb = require('../../ondewo/nlu/entity_type_pb.js')
|
|
34
|
+
const proto = {};
|
|
35
|
+
proto.ondewo = {};
|
|
36
|
+
proto.ondewo.nlu = require('./session_pb.js');
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @param {string} hostname
|
|
40
|
+
* @param {?Object} credentials
|
|
41
|
+
* @param {?grpc.web.ClientOptions} options
|
|
42
|
+
* @constructor
|
|
43
|
+
* @struct
|
|
44
|
+
* @final
|
|
45
|
+
*/
|
|
46
|
+
proto.ondewo.nlu.SessionsClient =
|
|
47
|
+
function(hostname, credentials, options) {
|
|
48
|
+
if (!options) options = {};
|
|
49
|
+
options.format = 'binary';
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
53
|
+
*/
|
|
54
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @private @const {string} The hostname
|
|
58
|
+
*/
|
|
59
|
+
this.hostname_ = hostname;
|
|
60
|
+
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @param {string} hostname
|
|
66
|
+
* @param {?Object} credentials
|
|
67
|
+
* @param {?grpc.web.ClientOptions} options
|
|
68
|
+
* @constructor
|
|
69
|
+
* @struct
|
|
70
|
+
* @final
|
|
71
|
+
*/
|
|
72
|
+
proto.ondewo.nlu.SessionsPromiseClient =
|
|
73
|
+
function(hostname, credentials, options) {
|
|
74
|
+
if (!options) options = {};
|
|
75
|
+
options.format = 'binary';
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
79
|
+
*/
|
|
80
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @private @const {string} The hostname
|
|
84
|
+
*/
|
|
85
|
+
this.hostname_ = hostname;
|
|
86
|
+
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @const
|
|
92
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
93
|
+
* !proto.ondewo.nlu.DetectIntentRequest,
|
|
94
|
+
* !proto.ondewo.nlu.DetectIntentResponse>}
|
|
95
|
+
*/
|
|
96
|
+
const methodDescriptor_Sessions_DetectIntent = new grpc.web.MethodDescriptor(
|
|
97
|
+
'/ondewo.nlu.Sessions/DetectIntent',
|
|
98
|
+
grpc.web.MethodType.UNARY,
|
|
99
|
+
proto.ondewo.nlu.DetectIntentRequest,
|
|
100
|
+
proto.ondewo.nlu.DetectIntentResponse,
|
|
101
|
+
/**
|
|
102
|
+
* @param {!proto.ondewo.nlu.DetectIntentRequest} request
|
|
103
|
+
* @return {!Uint8Array}
|
|
104
|
+
*/
|
|
105
|
+
function(request) {
|
|
106
|
+
return request.serializeBinary();
|
|
107
|
+
},
|
|
108
|
+
proto.ondewo.nlu.DetectIntentResponse.deserializeBinary
|
|
109
|
+
);
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @param {!proto.ondewo.nlu.DetectIntentRequest} request The
|
|
114
|
+
* request proto
|
|
115
|
+
* @param {?Object<string, string>} metadata User defined
|
|
116
|
+
* call metadata
|
|
117
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.DetectIntentResponse)}
|
|
118
|
+
* callback The callback function(error, response)
|
|
119
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.DetectIntentResponse>|undefined}
|
|
120
|
+
* The XHR Node Readable Stream
|
|
121
|
+
*/
|
|
122
|
+
proto.ondewo.nlu.SessionsClient.prototype.detectIntent =
|
|
123
|
+
function(request, metadata, callback) {
|
|
124
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
125
|
+
'/ondewo.nlu.Sessions/DetectIntent',
|
|
126
|
+
request,
|
|
127
|
+
metadata || {},
|
|
128
|
+
methodDescriptor_Sessions_DetectIntent,
|
|
129
|
+
callback);
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @param {!proto.ondewo.nlu.DetectIntentRequest} request The
|
|
135
|
+
* request proto
|
|
136
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
137
|
+
* call metadata
|
|
138
|
+
* @return {!Promise<!proto.ondewo.nlu.DetectIntentResponse>}
|
|
139
|
+
* Promise that resolves to the response
|
|
140
|
+
*/
|
|
141
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.detectIntent =
|
|
142
|
+
function(request, metadata) {
|
|
143
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
144
|
+
'/ondewo.nlu.Sessions/DetectIntent',
|
|
145
|
+
request,
|
|
146
|
+
metadata || {},
|
|
147
|
+
methodDescriptor_Sessions_DetectIntent);
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @const
|
|
153
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
154
|
+
* !proto.ondewo.nlu.ListSessionsRequest,
|
|
155
|
+
* !proto.ondewo.nlu.ListSessionsResponse>}
|
|
156
|
+
*/
|
|
157
|
+
const methodDescriptor_Sessions_ListSessions = new grpc.web.MethodDescriptor(
|
|
158
|
+
'/ondewo.nlu.Sessions/ListSessions',
|
|
159
|
+
grpc.web.MethodType.UNARY,
|
|
160
|
+
proto.ondewo.nlu.ListSessionsRequest,
|
|
161
|
+
proto.ondewo.nlu.ListSessionsResponse,
|
|
162
|
+
/**
|
|
163
|
+
* @param {!proto.ondewo.nlu.ListSessionsRequest} request
|
|
164
|
+
* @return {!Uint8Array}
|
|
165
|
+
*/
|
|
166
|
+
function(request) {
|
|
167
|
+
return request.serializeBinary();
|
|
168
|
+
},
|
|
169
|
+
proto.ondewo.nlu.ListSessionsResponse.deserializeBinary
|
|
170
|
+
);
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @param {!proto.ondewo.nlu.ListSessionsRequest} request The
|
|
175
|
+
* request proto
|
|
176
|
+
* @param {?Object<string, string>} metadata User defined
|
|
177
|
+
* call metadata
|
|
178
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListSessionsResponse)}
|
|
179
|
+
* callback The callback function(error, response)
|
|
180
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListSessionsResponse>|undefined}
|
|
181
|
+
* The XHR Node Readable Stream
|
|
182
|
+
*/
|
|
183
|
+
proto.ondewo.nlu.SessionsClient.prototype.listSessions =
|
|
184
|
+
function(request, metadata, callback) {
|
|
185
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
186
|
+
'/ondewo.nlu.Sessions/ListSessions',
|
|
187
|
+
request,
|
|
188
|
+
metadata || {},
|
|
189
|
+
methodDescriptor_Sessions_ListSessions,
|
|
190
|
+
callback);
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @param {!proto.ondewo.nlu.ListSessionsRequest} request The
|
|
196
|
+
* request proto
|
|
197
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
198
|
+
* call metadata
|
|
199
|
+
* @return {!Promise<!proto.ondewo.nlu.ListSessionsResponse>}
|
|
200
|
+
* Promise that resolves to the response
|
|
201
|
+
*/
|
|
202
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.listSessions =
|
|
203
|
+
function(request, metadata) {
|
|
204
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
205
|
+
'/ondewo.nlu.Sessions/ListSessions',
|
|
206
|
+
request,
|
|
207
|
+
metadata || {},
|
|
208
|
+
methodDescriptor_Sessions_ListSessions);
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @const
|
|
214
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
215
|
+
* !proto.ondewo.nlu.GetSessionRequest,
|
|
216
|
+
* !proto.ondewo.nlu.Session>}
|
|
217
|
+
*/
|
|
218
|
+
const methodDescriptor_Sessions_GetSession = new grpc.web.MethodDescriptor(
|
|
219
|
+
'/ondewo.nlu.Sessions/GetSession',
|
|
220
|
+
grpc.web.MethodType.UNARY,
|
|
221
|
+
proto.ondewo.nlu.GetSessionRequest,
|
|
222
|
+
proto.ondewo.nlu.Session,
|
|
223
|
+
/**
|
|
224
|
+
* @param {!proto.ondewo.nlu.GetSessionRequest} request
|
|
225
|
+
* @return {!Uint8Array}
|
|
226
|
+
*/
|
|
227
|
+
function(request) {
|
|
228
|
+
return request.serializeBinary();
|
|
229
|
+
},
|
|
230
|
+
proto.ondewo.nlu.Session.deserializeBinary
|
|
231
|
+
);
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @param {!proto.ondewo.nlu.GetSessionRequest} request The
|
|
236
|
+
* request proto
|
|
237
|
+
* @param {?Object<string, string>} metadata User defined
|
|
238
|
+
* call metadata
|
|
239
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Session)}
|
|
240
|
+
* callback The callback function(error, response)
|
|
241
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Session>|undefined}
|
|
242
|
+
* The XHR Node Readable Stream
|
|
243
|
+
*/
|
|
244
|
+
proto.ondewo.nlu.SessionsClient.prototype.getSession =
|
|
245
|
+
function(request, metadata, callback) {
|
|
246
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
247
|
+
'/ondewo.nlu.Sessions/GetSession',
|
|
248
|
+
request,
|
|
249
|
+
metadata || {},
|
|
250
|
+
methodDescriptor_Sessions_GetSession,
|
|
251
|
+
callback);
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* @param {!proto.ondewo.nlu.GetSessionRequest} request The
|
|
257
|
+
* request proto
|
|
258
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
259
|
+
* call metadata
|
|
260
|
+
* @return {!Promise<!proto.ondewo.nlu.Session>}
|
|
261
|
+
* Promise that resolves to the response
|
|
262
|
+
*/
|
|
263
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.getSession =
|
|
264
|
+
function(request, metadata) {
|
|
265
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
266
|
+
'/ondewo.nlu.Sessions/GetSession',
|
|
267
|
+
request,
|
|
268
|
+
metadata || {},
|
|
269
|
+
methodDescriptor_Sessions_GetSession);
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* @const
|
|
275
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
276
|
+
* !proto.ondewo.nlu.CreateSessionRequest,
|
|
277
|
+
* !proto.ondewo.nlu.Session>}
|
|
278
|
+
*/
|
|
279
|
+
const methodDescriptor_Sessions_CreateSession = new grpc.web.MethodDescriptor(
|
|
280
|
+
'/ondewo.nlu.Sessions/CreateSession',
|
|
281
|
+
grpc.web.MethodType.UNARY,
|
|
282
|
+
proto.ondewo.nlu.CreateSessionRequest,
|
|
283
|
+
proto.ondewo.nlu.Session,
|
|
284
|
+
/**
|
|
285
|
+
* @param {!proto.ondewo.nlu.CreateSessionRequest} request
|
|
286
|
+
* @return {!Uint8Array}
|
|
287
|
+
*/
|
|
288
|
+
function(request) {
|
|
289
|
+
return request.serializeBinary();
|
|
290
|
+
},
|
|
291
|
+
proto.ondewo.nlu.Session.deserializeBinary
|
|
292
|
+
);
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* @param {!proto.ondewo.nlu.CreateSessionRequest} request The
|
|
297
|
+
* request proto
|
|
298
|
+
* @param {?Object<string, string>} metadata User defined
|
|
299
|
+
* call metadata
|
|
300
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Session)}
|
|
301
|
+
* callback The callback function(error, response)
|
|
302
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Session>|undefined}
|
|
303
|
+
* The XHR Node Readable Stream
|
|
304
|
+
*/
|
|
305
|
+
proto.ondewo.nlu.SessionsClient.prototype.createSession =
|
|
306
|
+
function(request, metadata, callback) {
|
|
307
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
308
|
+
'/ondewo.nlu.Sessions/CreateSession',
|
|
309
|
+
request,
|
|
310
|
+
metadata || {},
|
|
311
|
+
methodDescriptor_Sessions_CreateSession,
|
|
312
|
+
callback);
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* @param {!proto.ondewo.nlu.CreateSessionRequest} request The
|
|
318
|
+
* request proto
|
|
319
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
320
|
+
* call metadata
|
|
321
|
+
* @return {!Promise<!proto.ondewo.nlu.Session>}
|
|
322
|
+
* Promise that resolves to the response
|
|
323
|
+
*/
|
|
324
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.createSession =
|
|
325
|
+
function(request, metadata) {
|
|
326
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
327
|
+
'/ondewo.nlu.Sessions/CreateSession',
|
|
328
|
+
request,
|
|
329
|
+
metadata || {},
|
|
330
|
+
methodDescriptor_Sessions_CreateSession);
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* @const
|
|
336
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
337
|
+
* !proto.ondewo.nlu.TrackSessionStepRequest,
|
|
338
|
+
* !proto.ondewo.nlu.Session>}
|
|
339
|
+
*/
|
|
340
|
+
const methodDescriptor_Sessions_TrackSessionStep = new grpc.web.MethodDescriptor(
|
|
341
|
+
'/ondewo.nlu.Sessions/TrackSessionStep',
|
|
342
|
+
grpc.web.MethodType.UNARY,
|
|
343
|
+
proto.ondewo.nlu.TrackSessionStepRequest,
|
|
344
|
+
proto.ondewo.nlu.Session,
|
|
345
|
+
/**
|
|
346
|
+
* @param {!proto.ondewo.nlu.TrackSessionStepRequest} request
|
|
347
|
+
* @return {!Uint8Array}
|
|
348
|
+
*/
|
|
349
|
+
function(request) {
|
|
350
|
+
return request.serializeBinary();
|
|
351
|
+
},
|
|
352
|
+
proto.ondewo.nlu.Session.deserializeBinary
|
|
353
|
+
);
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* @param {!proto.ondewo.nlu.TrackSessionStepRequest} request The
|
|
358
|
+
* request proto
|
|
359
|
+
* @param {?Object<string, string>} metadata User defined
|
|
360
|
+
* call metadata
|
|
361
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Session)}
|
|
362
|
+
* callback The callback function(error, response)
|
|
363
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Session>|undefined}
|
|
364
|
+
* The XHR Node Readable Stream
|
|
365
|
+
*/
|
|
366
|
+
proto.ondewo.nlu.SessionsClient.prototype.trackSessionStep =
|
|
367
|
+
function(request, metadata, callback) {
|
|
368
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
369
|
+
'/ondewo.nlu.Sessions/TrackSessionStep',
|
|
370
|
+
request,
|
|
371
|
+
metadata || {},
|
|
372
|
+
methodDescriptor_Sessions_TrackSessionStep,
|
|
373
|
+
callback);
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* @param {!proto.ondewo.nlu.TrackSessionStepRequest} request The
|
|
379
|
+
* request proto
|
|
380
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
381
|
+
* call metadata
|
|
382
|
+
* @return {!Promise<!proto.ondewo.nlu.Session>}
|
|
383
|
+
* Promise that resolves to the response
|
|
384
|
+
*/
|
|
385
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.trackSessionStep =
|
|
386
|
+
function(request, metadata) {
|
|
387
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
388
|
+
'/ondewo.nlu.Sessions/TrackSessionStep',
|
|
389
|
+
request,
|
|
390
|
+
metadata || {},
|
|
391
|
+
methodDescriptor_Sessions_TrackSessionStep);
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* @const
|
|
397
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
398
|
+
* !proto.ondewo.nlu.DeleteSessionRequest,
|
|
399
|
+
* !proto.google.protobuf.Empty>}
|
|
400
|
+
*/
|
|
401
|
+
const methodDescriptor_Sessions_DeleteSession = new grpc.web.MethodDescriptor(
|
|
402
|
+
'/ondewo.nlu.Sessions/DeleteSession',
|
|
403
|
+
grpc.web.MethodType.UNARY,
|
|
404
|
+
proto.ondewo.nlu.DeleteSessionRequest,
|
|
405
|
+
google_protobuf_empty_pb.Empty,
|
|
406
|
+
/**
|
|
407
|
+
* @param {!proto.ondewo.nlu.DeleteSessionRequest} request
|
|
408
|
+
* @return {!Uint8Array}
|
|
409
|
+
*/
|
|
410
|
+
function(request) {
|
|
411
|
+
return request.serializeBinary();
|
|
412
|
+
},
|
|
413
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
414
|
+
);
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* @param {!proto.ondewo.nlu.DeleteSessionRequest} request The
|
|
419
|
+
* request proto
|
|
420
|
+
* @param {?Object<string, string>} metadata User defined
|
|
421
|
+
* call metadata
|
|
422
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
423
|
+
* callback The callback function(error, response)
|
|
424
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
425
|
+
* The XHR Node Readable Stream
|
|
426
|
+
*/
|
|
427
|
+
proto.ondewo.nlu.SessionsClient.prototype.deleteSession =
|
|
428
|
+
function(request, metadata, callback) {
|
|
429
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
430
|
+
'/ondewo.nlu.Sessions/DeleteSession',
|
|
431
|
+
request,
|
|
432
|
+
metadata || {},
|
|
433
|
+
methodDescriptor_Sessions_DeleteSession,
|
|
434
|
+
callback);
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* @param {!proto.ondewo.nlu.DeleteSessionRequest} request The
|
|
440
|
+
* request proto
|
|
441
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
442
|
+
* call metadata
|
|
443
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
444
|
+
* Promise that resolves to the response
|
|
445
|
+
*/
|
|
446
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.deleteSession =
|
|
447
|
+
function(request, metadata) {
|
|
448
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
449
|
+
'/ondewo.nlu.Sessions/DeleteSession',
|
|
450
|
+
request,
|
|
451
|
+
metadata || {},
|
|
452
|
+
methodDescriptor_Sessions_DeleteSession);
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* @const
|
|
458
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
459
|
+
* !proto.ondewo.nlu.ListSessionLabelsRequest,
|
|
460
|
+
* !proto.ondewo.nlu.ListSessionLabelsResponse>}
|
|
461
|
+
*/
|
|
462
|
+
const methodDescriptor_Sessions_ListSessionLabels = new grpc.web.MethodDescriptor(
|
|
463
|
+
'/ondewo.nlu.Sessions/ListSessionLabels',
|
|
464
|
+
grpc.web.MethodType.UNARY,
|
|
465
|
+
proto.ondewo.nlu.ListSessionLabelsRequest,
|
|
466
|
+
proto.ondewo.nlu.ListSessionLabelsResponse,
|
|
467
|
+
/**
|
|
468
|
+
* @param {!proto.ondewo.nlu.ListSessionLabelsRequest} request
|
|
469
|
+
* @return {!Uint8Array}
|
|
470
|
+
*/
|
|
471
|
+
function(request) {
|
|
472
|
+
return request.serializeBinary();
|
|
473
|
+
},
|
|
474
|
+
proto.ondewo.nlu.ListSessionLabelsResponse.deserializeBinary
|
|
475
|
+
);
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* @param {!proto.ondewo.nlu.ListSessionLabelsRequest} request The
|
|
480
|
+
* request proto
|
|
481
|
+
* @param {?Object<string, string>} metadata User defined
|
|
482
|
+
* call metadata
|
|
483
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListSessionLabelsResponse)}
|
|
484
|
+
* callback The callback function(error, response)
|
|
485
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListSessionLabelsResponse>|undefined}
|
|
486
|
+
* The XHR Node Readable Stream
|
|
487
|
+
*/
|
|
488
|
+
proto.ondewo.nlu.SessionsClient.prototype.listSessionLabels =
|
|
489
|
+
function(request, metadata, callback) {
|
|
490
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
491
|
+
'/ondewo.nlu.Sessions/ListSessionLabels',
|
|
492
|
+
request,
|
|
493
|
+
metadata || {},
|
|
494
|
+
methodDescriptor_Sessions_ListSessionLabels,
|
|
495
|
+
callback);
|
|
496
|
+
};
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* @param {!proto.ondewo.nlu.ListSessionLabelsRequest} request The
|
|
501
|
+
* request proto
|
|
502
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
503
|
+
* call metadata
|
|
504
|
+
* @return {!Promise<!proto.ondewo.nlu.ListSessionLabelsResponse>}
|
|
505
|
+
* Promise that resolves to the response
|
|
506
|
+
*/
|
|
507
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.listSessionLabels =
|
|
508
|
+
function(request, metadata) {
|
|
509
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
510
|
+
'/ondewo.nlu.Sessions/ListSessionLabels',
|
|
511
|
+
request,
|
|
512
|
+
metadata || {},
|
|
513
|
+
methodDescriptor_Sessions_ListSessionLabels);
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* @const
|
|
519
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
520
|
+
* !proto.ondewo.nlu.AddSessionLabelsRequest,
|
|
521
|
+
* !proto.ondewo.nlu.Session>}
|
|
522
|
+
*/
|
|
523
|
+
const methodDescriptor_Sessions_AddSessionLabels = new grpc.web.MethodDescriptor(
|
|
524
|
+
'/ondewo.nlu.Sessions/AddSessionLabels',
|
|
525
|
+
grpc.web.MethodType.UNARY,
|
|
526
|
+
proto.ondewo.nlu.AddSessionLabelsRequest,
|
|
527
|
+
proto.ondewo.nlu.Session,
|
|
528
|
+
/**
|
|
529
|
+
* @param {!proto.ondewo.nlu.AddSessionLabelsRequest} request
|
|
530
|
+
* @return {!Uint8Array}
|
|
531
|
+
*/
|
|
532
|
+
function(request) {
|
|
533
|
+
return request.serializeBinary();
|
|
534
|
+
},
|
|
535
|
+
proto.ondewo.nlu.Session.deserializeBinary
|
|
536
|
+
);
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* @param {!proto.ondewo.nlu.AddSessionLabelsRequest} request The
|
|
541
|
+
* request proto
|
|
542
|
+
* @param {?Object<string, string>} metadata User defined
|
|
543
|
+
* call metadata
|
|
544
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Session)}
|
|
545
|
+
* callback The callback function(error, response)
|
|
546
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Session>|undefined}
|
|
547
|
+
* The XHR Node Readable Stream
|
|
548
|
+
*/
|
|
549
|
+
proto.ondewo.nlu.SessionsClient.prototype.addSessionLabels =
|
|
550
|
+
function(request, metadata, callback) {
|
|
551
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
552
|
+
'/ondewo.nlu.Sessions/AddSessionLabels',
|
|
553
|
+
request,
|
|
554
|
+
metadata || {},
|
|
555
|
+
methodDescriptor_Sessions_AddSessionLabels,
|
|
556
|
+
callback);
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* @param {!proto.ondewo.nlu.AddSessionLabelsRequest} request The
|
|
562
|
+
* request proto
|
|
563
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
564
|
+
* call metadata
|
|
565
|
+
* @return {!Promise<!proto.ondewo.nlu.Session>}
|
|
566
|
+
* Promise that resolves to the response
|
|
567
|
+
*/
|
|
568
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.addSessionLabels =
|
|
569
|
+
function(request, metadata) {
|
|
570
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
571
|
+
'/ondewo.nlu.Sessions/AddSessionLabels',
|
|
572
|
+
request,
|
|
573
|
+
metadata || {},
|
|
574
|
+
methodDescriptor_Sessions_AddSessionLabels);
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* @const
|
|
580
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
581
|
+
* !proto.ondewo.nlu.RemoveSessionLabelsRequest,
|
|
582
|
+
* !proto.ondewo.nlu.Session>}
|
|
583
|
+
*/
|
|
584
|
+
const methodDescriptor_Sessions_RemoveSessionLabels = new grpc.web.MethodDescriptor(
|
|
585
|
+
'/ondewo.nlu.Sessions/RemoveSessionLabels',
|
|
586
|
+
grpc.web.MethodType.UNARY,
|
|
587
|
+
proto.ondewo.nlu.RemoveSessionLabelsRequest,
|
|
588
|
+
proto.ondewo.nlu.Session,
|
|
589
|
+
/**
|
|
590
|
+
* @param {!proto.ondewo.nlu.RemoveSessionLabelsRequest} request
|
|
591
|
+
* @return {!Uint8Array}
|
|
592
|
+
*/
|
|
593
|
+
function(request) {
|
|
594
|
+
return request.serializeBinary();
|
|
595
|
+
},
|
|
596
|
+
proto.ondewo.nlu.Session.deserializeBinary
|
|
597
|
+
);
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* @param {!proto.ondewo.nlu.RemoveSessionLabelsRequest} request The
|
|
602
|
+
* request proto
|
|
603
|
+
* @param {?Object<string, string>} metadata User defined
|
|
604
|
+
* call metadata
|
|
605
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Session)}
|
|
606
|
+
* callback The callback function(error, response)
|
|
607
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Session>|undefined}
|
|
608
|
+
* The XHR Node Readable Stream
|
|
609
|
+
*/
|
|
610
|
+
proto.ondewo.nlu.SessionsClient.prototype.removeSessionLabels =
|
|
611
|
+
function(request, metadata, callback) {
|
|
612
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
613
|
+
'/ondewo.nlu.Sessions/RemoveSessionLabels',
|
|
614
|
+
request,
|
|
615
|
+
metadata || {},
|
|
616
|
+
methodDescriptor_Sessions_RemoveSessionLabels,
|
|
617
|
+
callback);
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* @param {!proto.ondewo.nlu.RemoveSessionLabelsRequest} request The
|
|
623
|
+
* request proto
|
|
624
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
625
|
+
* call metadata
|
|
626
|
+
* @return {!Promise<!proto.ondewo.nlu.Session>}
|
|
627
|
+
* Promise that resolves to the response
|
|
628
|
+
*/
|
|
629
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.removeSessionLabels =
|
|
630
|
+
function(request, metadata) {
|
|
631
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
632
|
+
'/ondewo.nlu.Sessions/RemoveSessionLabels',
|
|
633
|
+
request,
|
|
634
|
+
metadata || {},
|
|
635
|
+
methodDescriptor_Sessions_RemoveSessionLabels);
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* @const
|
|
641
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
642
|
+
* !proto.ondewo.nlu.ListSessionReviewsRequest,
|
|
643
|
+
* !proto.ondewo.nlu.ListSessionReviewsResponse>}
|
|
644
|
+
*/
|
|
645
|
+
const methodDescriptor_Sessions_ListSessionReviews = new grpc.web.MethodDescriptor(
|
|
646
|
+
'/ondewo.nlu.Sessions/ListSessionReviews',
|
|
647
|
+
grpc.web.MethodType.UNARY,
|
|
648
|
+
proto.ondewo.nlu.ListSessionReviewsRequest,
|
|
649
|
+
proto.ondewo.nlu.ListSessionReviewsResponse,
|
|
650
|
+
/**
|
|
651
|
+
* @param {!proto.ondewo.nlu.ListSessionReviewsRequest} request
|
|
652
|
+
* @return {!Uint8Array}
|
|
653
|
+
*/
|
|
654
|
+
function(request) {
|
|
655
|
+
return request.serializeBinary();
|
|
656
|
+
},
|
|
657
|
+
proto.ondewo.nlu.ListSessionReviewsResponse.deserializeBinary
|
|
658
|
+
);
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* @param {!proto.ondewo.nlu.ListSessionReviewsRequest} request The
|
|
663
|
+
* request proto
|
|
664
|
+
* @param {?Object<string, string>} metadata User defined
|
|
665
|
+
* call metadata
|
|
666
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListSessionReviewsResponse)}
|
|
667
|
+
* callback The callback function(error, response)
|
|
668
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListSessionReviewsResponse>|undefined}
|
|
669
|
+
* The XHR Node Readable Stream
|
|
670
|
+
*/
|
|
671
|
+
proto.ondewo.nlu.SessionsClient.prototype.listSessionReviews =
|
|
672
|
+
function(request, metadata, callback) {
|
|
673
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
674
|
+
'/ondewo.nlu.Sessions/ListSessionReviews',
|
|
675
|
+
request,
|
|
676
|
+
metadata || {},
|
|
677
|
+
methodDescriptor_Sessions_ListSessionReviews,
|
|
678
|
+
callback);
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* @param {!proto.ondewo.nlu.ListSessionReviewsRequest} request The
|
|
684
|
+
* request proto
|
|
685
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
686
|
+
* call metadata
|
|
687
|
+
* @return {!Promise<!proto.ondewo.nlu.ListSessionReviewsResponse>}
|
|
688
|
+
* Promise that resolves to the response
|
|
689
|
+
*/
|
|
690
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.listSessionReviews =
|
|
691
|
+
function(request, metadata) {
|
|
692
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
693
|
+
'/ondewo.nlu.Sessions/ListSessionReviews',
|
|
694
|
+
request,
|
|
695
|
+
metadata || {},
|
|
696
|
+
methodDescriptor_Sessions_ListSessionReviews);
|
|
697
|
+
};
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* @const
|
|
702
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
703
|
+
* !proto.ondewo.nlu.GetSessionReviewRequest,
|
|
704
|
+
* !proto.ondewo.nlu.SessionReview>}
|
|
705
|
+
*/
|
|
706
|
+
const methodDescriptor_Sessions_GetSessionReview = new grpc.web.MethodDescriptor(
|
|
707
|
+
'/ondewo.nlu.Sessions/GetSessionReview',
|
|
708
|
+
grpc.web.MethodType.UNARY,
|
|
709
|
+
proto.ondewo.nlu.GetSessionReviewRequest,
|
|
710
|
+
proto.ondewo.nlu.SessionReview,
|
|
711
|
+
/**
|
|
712
|
+
* @param {!proto.ondewo.nlu.GetSessionReviewRequest} request
|
|
713
|
+
* @return {!Uint8Array}
|
|
714
|
+
*/
|
|
715
|
+
function(request) {
|
|
716
|
+
return request.serializeBinary();
|
|
717
|
+
},
|
|
718
|
+
proto.ondewo.nlu.SessionReview.deserializeBinary
|
|
719
|
+
);
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* @param {!proto.ondewo.nlu.GetSessionReviewRequest} request The
|
|
724
|
+
* request proto
|
|
725
|
+
* @param {?Object<string, string>} metadata User defined
|
|
726
|
+
* call metadata
|
|
727
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.SessionReview)}
|
|
728
|
+
* callback The callback function(error, response)
|
|
729
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.SessionReview>|undefined}
|
|
730
|
+
* The XHR Node Readable Stream
|
|
731
|
+
*/
|
|
732
|
+
proto.ondewo.nlu.SessionsClient.prototype.getSessionReview =
|
|
733
|
+
function(request, metadata, callback) {
|
|
734
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
735
|
+
'/ondewo.nlu.Sessions/GetSessionReview',
|
|
736
|
+
request,
|
|
737
|
+
metadata || {},
|
|
738
|
+
methodDescriptor_Sessions_GetSessionReview,
|
|
739
|
+
callback);
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* @param {!proto.ondewo.nlu.GetSessionReviewRequest} request The
|
|
745
|
+
* request proto
|
|
746
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
747
|
+
* call metadata
|
|
748
|
+
* @return {!Promise<!proto.ondewo.nlu.SessionReview>}
|
|
749
|
+
* Promise that resolves to the response
|
|
750
|
+
*/
|
|
751
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.getSessionReview =
|
|
752
|
+
function(request, metadata) {
|
|
753
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
754
|
+
'/ondewo.nlu.Sessions/GetSessionReview',
|
|
755
|
+
request,
|
|
756
|
+
metadata || {},
|
|
757
|
+
methodDescriptor_Sessions_GetSessionReview);
|
|
758
|
+
};
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* @const
|
|
763
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
764
|
+
* !proto.ondewo.nlu.GetLatestSessionReviewRequest,
|
|
765
|
+
* !proto.ondewo.nlu.SessionReview>}
|
|
766
|
+
*/
|
|
767
|
+
const methodDescriptor_Sessions_GetLatestSessionReview = new grpc.web.MethodDescriptor(
|
|
768
|
+
'/ondewo.nlu.Sessions/GetLatestSessionReview',
|
|
769
|
+
grpc.web.MethodType.UNARY,
|
|
770
|
+
proto.ondewo.nlu.GetLatestSessionReviewRequest,
|
|
771
|
+
proto.ondewo.nlu.SessionReview,
|
|
772
|
+
/**
|
|
773
|
+
* @param {!proto.ondewo.nlu.GetLatestSessionReviewRequest} request
|
|
774
|
+
* @return {!Uint8Array}
|
|
775
|
+
*/
|
|
776
|
+
function(request) {
|
|
777
|
+
return request.serializeBinary();
|
|
778
|
+
},
|
|
779
|
+
proto.ondewo.nlu.SessionReview.deserializeBinary
|
|
780
|
+
);
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* @param {!proto.ondewo.nlu.GetLatestSessionReviewRequest} request The
|
|
785
|
+
* request proto
|
|
786
|
+
* @param {?Object<string, string>} metadata User defined
|
|
787
|
+
* call metadata
|
|
788
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.SessionReview)}
|
|
789
|
+
* callback The callback function(error, response)
|
|
790
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.SessionReview>|undefined}
|
|
791
|
+
* The XHR Node Readable Stream
|
|
792
|
+
*/
|
|
793
|
+
proto.ondewo.nlu.SessionsClient.prototype.getLatestSessionReview =
|
|
794
|
+
function(request, metadata, callback) {
|
|
795
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
796
|
+
'/ondewo.nlu.Sessions/GetLatestSessionReview',
|
|
797
|
+
request,
|
|
798
|
+
metadata || {},
|
|
799
|
+
methodDescriptor_Sessions_GetLatestSessionReview,
|
|
800
|
+
callback);
|
|
801
|
+
};
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* @param {!proto.ondewo.nlu.GetLatestSessionReviewRequest} request The
|
|
806
|
+
* request proto
|
|
807
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
808
|
+
* call metadata
|
|
809
|
+
* @return {!Promise<!proto.ondewo.nlu.SessionReview>}
|
|
810
|
+
* Promise that resolves to the response
|
|
811
|
+
*/
|
|
812
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.getLatestSessionReview =
|
|
813
|
+
function(request, metadata) {
|
|
814
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
815
|
+
'/ondewo.nlu.Sessions/GetLatestSessionReview',
|
|
816
|
+
request,
|
|
817
|
+
metadata || {},
|
|
818
|
+
methodDescriptor_Sessions_GetLatestSessionReview);
|
|
819
|
+
};
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* @const
|
|
824
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
825
|
+
* !proto.ondewo.nlu.CreateSessionReviewRequest,
|
|
826
|
+
* !proto.ondewo.nlu.SessionReview>}
|
|
827
|
+
*/
|
|
828
|
+
const methodDescriptor_Sessions_CreateSessionReview = new grpc.web.MethodDescriptor(
|
|
829
|
+
'/ondewo.nlu.Sessions/CreateSessionReview',
|
|
830
|
+
grpc.web.MethodType.UNARY,
|
|
831
|
+
proto.ondewo.nlu.CreateSessionReviewRequest,
|
|
832
|
+
proto.ondewo.nlu.SessionReview,
|
|
833
|
+
/**
|
|
834
|
+
* @param {!proto.ondewo.nlu.CreateSessionReviewRequest} request
|
|
835
|
+
* @return {!Uint8Array}
|
|
836
|
+
*/
|
|
837
|
+
function(request) {
|
|
838
|
+
return request.serializeBinary();
|
|
839
|
+
},
|
|
840
|
+
proto.ondewo.nlu.SessionReview.deserializeBinary
|
|
841
|
+
);
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* @param {!proto.ondewo.nlu.CreateSessionReviewRequest} request The
|
|
846
|
+
* request proto
|
|
847
|
+
* @param {?Object<string, string>} metadata User defined
|
|
848
|
+
* call metadata
|
|
849
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.SessionReview)}
|
|
850
|
+
* callback The callback function(error, response)
|
|
851
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.SessionReview>|undefined}
|
|
852
|
+
* The XHR Node Readable Stream
|
|
853
|
+
*/
|
|
854
|
+
proto.ondewo.nlu.SessionsClient.prototype.createSessionReview =
|
|
855
|
+
function(request, metadata, callback) {
|
|
856
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
857
|
+
'/ondewo.nlu.Sessions/CreateSessionReview',
|
|
858
|
+
request,
|
|
859
|
+
metadata || {},
|
|
860
|
+
methodDescriptor_Sessions_CreateSessionReview,
|
|
861
|
+
callback);
|
|
862
|
+
};
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* @param {!proto.ondewo.nlu.CreateSessionReviewRequest} request The
|
|
867
|
+
* request proto
|
|
868
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
869
|
+
* call metadata
|
|
870
|
+
* @return {!Promise<!proto.ondewo.nlu.SessionReview>}
|
|
871
|
+
* Promise that resolves to the response
|
|
872
|
+
*/
|
|
873
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.createSessionReview =
|
|
874
|
+
function(request, metadata) {
|
|
875
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
876
|
+
'/ondewo.nlu.Sessions/CreateSessionReview',
|
|
877
|
+
request,
|
|
878
|
+
metadata || {},
|
|
879
|
+
methodDescriptor_Sessions_CreateSessionReview);
|
|
880
|
+
};
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
module.exports = proto.ondewo.nlu;
|
|
884
|
+
|