@ondewo/nlu-client-typescript 4.0.0 → 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 -490
- package/api/ondewo/nlu/agent_grpc_web_pb.js +1113 -1244
- package/api/ondewo/nlu/agent_pb.d.ts +1939 -1751
- package/api/ondewo/nlu/agent_pb.js +9062 -10483
- 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 +745 -674
- package/api/ondewo/nlu/aiservices_pb.js +3638 -4403
- 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 +889 -1042
- 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 -462
- package/api/ondewo/nlu/session_pb.d.ts +1080 -1025
- package/api/ondewo/nlu/session_pb.js +5285 -6536
- 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
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global = function () {
|
|
17
|
+
return this || window || global || self || Function('return this')();
|
|
18
|
+
}.call(null);
|
|
17
19
|
|
|
18
20
|
var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
|
|
19
21
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
@@ -32,72 +34,68 @@ goog.exportSymbol('proto.ondewo.nlu.GetUserProjectCountRequest', null, global);
|
|
|
32
34
|
* @extends {jspb.Message}
|
|
33
35
|
* @constructor
|
|
34
36
|
*/
|
|
35
|
-
proto.ondewo.nlu.GetUserProjectCountRequest = function(opt_data) {
|
|
36
|
-
|
|
37
|
+
proto.ondewo.nlu.GetUserProjectCountRequest = function (opt_data) {
|
|
38
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
37
39
|
};
|
|
38
40
|
goog.inherits(proto.ondewo.nlu.GetUserProjectCountRequest, jspb.Message);
|
|
39
41
|
if (goog.DEBUG && !COMPILED) {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* @override
|
|
45
|
+
*/
|
|
46
|
+
proto.ondewo.nlu.GetUserProjectCountRequest.displayName = 'proto.ondewo.nlu.GetUserProjectCountRequest';
|
|
45
47
|
}
|
|
46
48
|
|
|
47
|
-
|
|
48
|
-
|
|
49
49
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
50
|
-
/**
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
proto.ondewo.nlu.GetUserProjectCountRequest.prototype.toObject = function(opt_includeInstance) {
|
|
63
|
-
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
};
|
|
50
|
+
/**
|
|
51
|
+
* Creates an object representation of this proto.
|
|
52
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
53
|
+
* Optional fields that are not set will be set to undefined.
|
|
54
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
55
|
+
* For the list of reserved names please see:
|
|
56
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
57
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
58
|
+
* JSPB instance for transitional soy proto support:
|
|
59
|
+
* http://goto/soy-param-migration
|
|
60
|
+
* @return {!Object}
|
|
61
|
+
*/
|
|
62
|
+
proto.ondewo.nlu.GetUserProjectCountRequest.prototype.toObject = function (opt_includeInstance) {
|
|
63
|
+
return proto.ondewo.nlu.GetUserProjectCountRequest.toObject(opt_includeInstance, this);
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Static version of the {@see toObject} method.
|
|
68
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
69
|
+
* the JSPB instance for transitional soy proto support:
|
|
70
|
+
* http://goto/soy-param-migration
|
|
71
|
+
* @param {!proto.ondewo.nlu.GetUserProjectCountRequest} msg The msg instance to transform.
|
|
72
|
+
* @return {!Object}
|
|
73
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
74
|
+
*/
|
|
75
|
+
proto.ondewo.nlu.GetUserProjectCountRequest.toObject = function (includeInstance, msg) {
|
|
76
|
+
var f,
|
|
77
|
+
obj = {
|
|
78
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, '')
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
if (includeInstance) {
|
|
82
|
+
obj.$jspbMessageInstance = msg;
|
|
83
|
+
}
|
|
84
|
+
return obj;
|
|
85
|
+
};
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
/**
|
|
90
89
|
* Deserializes binary data (in protobuf wire format).
|
|
91
90
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
92
91
|
* @return {!proto.ondewo.nlu.GetUserProjectCountRequest}
|
|
93
92
|
*/
|
|
94
|
-
proto.ondewo.nlu.GetUserProjectCountRequest.deserializeBinary = function(bytes) {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
93
|
+
proto.ondewo.nlu.GetUserProjectCountRequest.deserializeBinary = function (bytes) {
|
|
94
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
95
|
+
var msg = new proto.ondewo.nlu.GetUserProjectCountRequest();
|
|
96
|
+
return proto.ondewo.nlu.GetUserProjectCountRequest.deserializeBinaryFromReader(msg, reader);
|
|
98
97
|
};
|
|
99
98
|
|
|
100
|
-
|
|
101
99
|
/**
|
|
102
100
|
* Deserializes binary data (in protobuf wire format) from the
|
|
103
101
|
* given reader into the given message object.
|
|
@@ -105,37 +103,35 @@ proto.ondewo.nlu.GetUserProjectCountRequest.deserializeBinary = function(bytes)
|
|
|
105
103
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
106
104
|
* @return {!proto.ondewo.nlu.GetUserProjectCountRequest}
|
|
107
105
|
*/
|
|
108
|
-
proto.ondewo.nlu.GetUserProjectCountRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
106
|
+
proto.ondewo.nlu.GetUserProjectCountRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
107
|
+
while (reader.nextField()) {
|
|
108
|
+
if (reader.isEndGroup()) {
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
var field = reader.getFieldNumber();
|
|
112
|
+
switch (field) {
|
|
113
|
+
case 1:
|
|
114
|
+
var value = /** @type {string} */ (reader.readString());
|
|
115
|
+
msg.setUserId(value);
|
|
116
|
+
break;
|
|
117
|
+
default:
|
|
118
|
+
reader.skipField();
|
|
119
|
+
break;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
return msg;
|
|
125
123
|
};
|
|
126
124
|
|
|
127
|
-
|
|
128
125
|
/**
|
|
129
126
|
* Serializes the message to binary data (in protobuf wire format).
|
|
130
127
|
* @return {!Uint8Array}
|
|
131
128
|
*/
|
|
132
|
-
proto.ondewo.nlu.GetUserProjectCountRequest.prototype.serializeBinary = function() {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
129
|
+
proto.ondewo.nlu.GetUserProjectCountRequest.prototype.serializeBinary = function () {
|
|
130
|
+
var writer = new jspb.BinaryWriter();
|
|
131
|
+
proto.ondewo.nlu.GetUserProjectCountRequest.serializeBinaryToWriter(this, writer);
|
|
132
|
+
return writer.getResultBuffer();
|
|
136
133
|
};
|
|
137
134
|
|
|
138
|
-
|
|
139
135
|
/**
|
|
140
136
|
* Serializes the given message to binary data (in protobuf wire
|
|
141
137
|
* format), writing to the given BinaryWriter.
|
|
@@ -143,34 +139,28 @@ proto.ondewo.nlu.GetUserProjectCountRequest.prototype.serializeBinary = function
|
|
|
143
139
|
* @param {!jspb.BinaryWriter} writer
|
|
144
140
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
145
141
|
*/
|
|
146
|
-
proto.ondewo.nlu.GetUserProjectCountRequest.serializeBinaryToWriter = function(message, writer) {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
f
|
|
153
|
-
);
|
|
154
|
-
}
|
|
142
|
+
proto.ondewo.nlu.GetUserProjectCountRequest.serializeBinaryToWriter = function (message, writer) {
|
|
143
|
+
var f = undefined;
|
|
144
|
+
f = message.getUserId();
|
|
145
|
+
if (f.length > 0) {
|
|
146
|
+
writer.writeString(1, f);
|
|
147
|
+
}
|
|
155
148
|
};
|
|
156
149
|
|
|
157
|
-
|
|
158
150
|
/**
|
|
159
151
|
* optional string user_id = 1;
|
|
160
152
|
* @return {string}
|
|
161
153
|
*/
|
|
162
|
-
proto.ondewo.nlu.GetUserProjectCountRequest.prototype.getUserId = function() {
|
|
163
|
-
|
|
154
|
+
proto.ondewo.nlu.GetUserProjectCountRequest.prototype.getUserId = function () {
|
|
155
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
|
|
164
156
|
};
|
|
165
157
|
|
|
166
|
-
|
|
167
158
|
/**
|
|
168
159
|
* @param {string} value
|
|
169
160
|
* @return {!proto.ondewo.nlu.GetUserProjectCountRequest} returns this
|
|
170
161
|
*/
|
|
171
|
-
proto.ondewo.nlu.GetUserProjectCountRequest.prototype.setUserId = function(value) {
|
|
172
|
-
|
|
162
|
+
proto.ondewo.nlu.GetUserProjectCountRequest.prototype.setUserId = function (value) {
|
|
163
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
173
164
|
};
|
|
174
165
|
|
|
175
|
-
|
|
176
166
|
goog.object.extend(exports, proto.ondewo.nlu);
|
|
@@ -3,186 +3,172 @@ import * as grpcWeb from 'grpc-web';
|
|
|
3
3
|
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
4
4
|
import * as ondewo_nlu_session_pb from '../../ondewo/nlu/session_pb';
|
|
5
5
|
|
|
6
|
-
|
|
7
6
|
export class SessionsClient {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
request: ondewo_nlu_session_pb.GetLatestSessionReviewRequest,
|
|
98
|
-
metadata: grpcWeb.Metadata | undefined,
|
|
99
|
-
callback: (err: grpcWeb.RpcError,
|
|
100
|
-
response: ondewo_nlu_session_pb.SessionReview) => void
|
|
101
|
-
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.SessionReview>;
|
|
102
|
-
|
|
103
|
-
createSessionReview(
|
|
104
|
-
request: ondewo_nlu_session_pb.CreateSessionReviewRequest,
|
|
105
|
-
metadata: grpcWeb.Metadata | undefined,
|
|
106
|
-
callback: (err: grpcWeb.RpcError,
|
|
107
|
-
response: ondewo_nlu_session_pb.SessionReview) => void
|
|
108
|
-
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.SessionReview>;
|
|
109
|
-
|
|
7
|
+
constructor(
|
|
8
|
+
hostname: string,
|
|
9
|
+
credentials?: null | { [index: string]: string },
|
|
10
|
+
options?: null | { [index: string]: any }
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
detectIntent(
|
|
14
|
+
request: ondewo_nlu_session_pb.DetectIntentRequest,
|
|
15
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
16
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_session_pb.DetectIntentResponse) => void
|
|
17
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.DetectIntentResponse>;
|
|
18
|
+
|
|
19
|
+
listSessions(
|
|
20
|
+
request: ondewo_nlu_session_pb.ListSessionsRequest,
|
|
21
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
22
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_session_pb.ListSessionsResponse) => void
|
|
23
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.ListSessionsResponse>;
|
|
24
|
+
|
|
25
|
+
getSession(
|
|
26
|
+
request: ondewo_nlu_session_pb.GetSessionRequest,
|
|
27
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
28
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_session_pb.Session) => void
|
|
29
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.Session>;
|
|
30
|
+
|
|
31
|
+
createSession(
|
|
32
|
+
request: ondewo_nlu_session_pb.CreateSessionRequest,
|
|
33
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
34
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_session_pb.Session) => void
|
|
35
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.Session>;
|
|
36
|
+
|
|
37
|
+
trackSessionStep(
|
|
38
|
+
request: ondewo_nlu_session_pb.TrackSessionStepRequest,
|
|
39
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
40
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_session_pb.Session) => void
|
|
41
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.Session>;
|
|
42
|
+
|
|
43
|
+
deleteSession(
|
|
44
|
+
request: ondewo_nlu_session_pb.DeleteSessionRequest,
|
|
45
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
46
|
+
callback: (err: grpcWeb.RpcError, response: google_protobuf_empty_pb.Empty) => void
|
|
47
|
+
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
|
48
|
+
|
|
49
|
+
listSessionLabels(
|
|
50
|
+
request: ondewo_nlu_session_pb.ListSessionLabelsRequest,
|
|
51
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
52
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_session_pb.ListSessionLabelsResponse) => void
|
|
53
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.ListSessionLabelsResponse>;
|
|
54
|
+
|
|
55
|
+
listSessionLabelsOfAllSessions(
|
|
56
|
+
request: ondewo_nlu_session_pb.ListSessionLabelsOfAllSessionsRequest,
|
|
57
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
58
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_session_pb.ListSessionLabelsResponse) => void
|
|
59
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.ListSessionLabelsResponse>;
|
|
60
|
+
|
|
61
|
+
addSessionLabels(
|
|
62
|
+
request: ondewo_nlu_session_pb.AddSessionLabelsRequest,
|
|
63
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
64
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_session_pb.Session) => void
|
|
65
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.Session>;
|
|
66
|
+
|
|
67
|
+
deleteSessionLabels(
|
|
68
|
+
request: ondewo_nlu_session_pb.DeleteSessionLabelsRequest,
|
|
69
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
70
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_session_pb.Session) => void
|
|
71
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.Session>;
|
|
72
|
+
|
|
73
|
+
listSessionReviews(
|
|
74
|
+
request: ondewo_nlu_session_pb.ListSessionReviewsRequest,
|
|
75
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
76
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_session_pb.ListSessionReviewsResponse) => void
|
|
77
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.ListSessionReviewsResponse>;
|
|
78
|
+
|
|
79
|
+
getSessionReview(
|
|
80
|
+
request: ondewo_nlu_session_pb.GetSessionReviewRequest,
|
|
81
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
82
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_session_pb.SessionReview) => void
|
|
83
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.SessionReview>;
|
|
84
|
+
|
|
85
|
+
getLatestSessionReview(
|
|
86
|
+
request: ondewo_nlu_session_pb.GetLatestSessionReviewRequest,
|
|
87
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
88
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_session_pb.SessionReview) => void
|
|
89
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.SessionReview>;
|
|
90
|
+
|
|
91
|
+
createSessionReview(
|
|
92
|
+
request: ondewo_nlu_session_pb.CreateSessionReviewRequest,
|
|
93
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
94
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_session_pb.SessionReview) => void
|
|
95
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.SessionReview>;
|
|
110
96
|
}
|
|
111
97
|
|
|
112
98
|
export class SessionsPromiseClient {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
99
|
+
constructor(
|
|
100
|
+
hostname: string,
|
|
101
|
+
credentials?: null | { [index: string]: string },
|
|
102
|
+
options?: null | { [index: string]: any }
|
|
103
|
+
);
|
|
104
|
+
|
|
105
|
+
detectIntent(
|
|
106
|
+
request: ondewo_nlu_session_pb.DetectIntentRequest,
|
|
107
|
+
metadata?: grpcWeb.Metadata
|
|
108
|
+
): Promise<ondewo_nlu_session_pb.DetectIntentResponse>;
|
|
109
|
+
|
|
110
|
+
listSessions(
|
|
111
|
+
request: ondewo_nlu_session_pb.ListSessionsRequest,
|
|
112
|
+
metadata?: grpcWeb.Metadata
|
|
113
|
+
): Promise<ondewo_nlu_session_pb.ListSessionsResponse>;
|
|
114
|
+
|
|
115
|
+
getSession(
|
|
116
|
+
request: ondewo_nlu_session_pb.GetSessionRequest,
|
|
117
|
+
metadata?: grpcWeb.Metadata
|
|
118
|
+
): Promise<ondewo_nlu_session_pb.Session>;
|
|
119
|
+
|
|
120
|
+
createSession(
|
|
121
|
+
request: ondewo_nlu_session_pb.CreateSessionRequest,
|
|
122
|
+
metadata?: grpcWeb.Metadata
|
|
123
|
+
): Promise<ondewo_nlu_session_pb.Session>;
|
|
124
|
+
|
|
125
|
+
trackSessionStep(
|
|
126
|
+
request: ondewo_nlu_session_pb.TrackSessionStepRequest,
|
|
127
|
+
metadata?: grpcWeb.Metadata
|
|
128
|
+
): Promise<ondewo_nlu_session_pb.Session>;
|
|
129
|
+
|
|
130
|
+
deleteSession(
|
|
131
|
+
request: ondewo_nlu_session_pb.DeleteSessionRequest,
|
|
132
|
+
metadata?: grpcWeb.Metadata
|
|
133
|
+
): Promise<google_protobuf_empty_pb.Empty>;
|
|
134
|
+
|
|
135
|
+
listSessionLabels(
|
|
136
|
+
request: ondewo_nlu_session_pb.ListSessionLabelsRequest,
|
|
137
|
+
metadata?: grpcWeb.Metadata
|
|
138
|
+
): Promise<ondewo_nlu_session_pb.ListSessionLabelsResponse>;
|
|
139
|
+
|
|
140
|
+
listSessionLabelsOfAllSessions(
|
|
141
|
+
request: ondewo_nlu_session_pb.ListSessionLabelsOfAllSessionsRequest,
|
|
142
|
+
metadata?: grpcWeb.Metadata
|
|
143
|
+
): Promise<ondewo_nlu_session_pb.ListSessionLabelsResponse>;
|
|
144
|
+
|
|
145
|
+
addSessionLabels(
|
|
146
|
+
request: ondewo_nlu_session_pb.AddSessionLabelsRequest,
|
|
147
|
+
metadata?: grpcWeb.Metadata
|
|
148
|
+
): Promise<ondewo_nlu_session_pb.Session>;
|
|
149
|
+
|
|
150
|
+
deleteSessionLabels(
|
|
151
|
+
request: ondewo_nlu_session_pb.DeleteSessionLabelsRequest,
|
|
152
|
+
metadata?: grpcWeb.Metadata
|
|
153
|
+
): Promise<ondewo_nlu_session_pb.Session>;
|
|
154
|
+
|
|
155
|
+
listSessionReviews(
|
|
156
|
+
request: ondewo_nlu_session_pb.ListSessionReviewsRequest,
|
|
157
|
+
metadata?: grpcWeb.Metadata
|
|
158
|
+
): Promise<ondewo_nlu_session_pb.ListSessionReviewsResponse>;
|
|
159
|
+
|
|
160
|
+
getSessionReview(
|
|
161
|
+
request: ondewo_nlu_session_pb.GetSessionReviewRequest,
|
|
162
|
+
metadata?: grpcWeb.Metadata
|
|
163
|
+
): Promise<ondewo_nlu_session_pb.SessionReview>;
|
|
164
|
+
|
|
165
|
+
getLatestSessionReview(
|
|
166
|
+
request: ondewo_nlu_session_pb.GetLatestSessionReviewRequest,
|
|
167
|
+
metadata?: grpcWeb.Metadata
|
|
168
|
+
): Promise<ondewo_nlu_session_pb.SessionReview>;
|
|
169
|
+
|
|
170
|
+
createSessionReview(
|
|
171
|
+
request: ondewo_nlu_session_pb.CreateSessionReviewRequest,
|
|
172
|
+
metadata?: grpcWeb.Metadata
|
|
173
|
+
): Promise<ondewo_nlu_session_pb.SessionReview>;
|
|
187
174
|
}
|
|
188
|
-
|