@ondewo/nlu-client-typescript 4.2.0 → 4.3.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.
|
@@ -2251,6 +2251,13 @@ export enum SessionsReportType {
|
|
|
2251
2251
|
SESSION_TOP_X_PHONE_NUMBERS = 8,
|
|
2252
2252
|
SESSION_HUMAN_HANDOVERS = 9,
|
|
2253
2253
|
SESSION_SQL_QUERY = 10,
|
|
2254
|
+
SESSION_LEAST_X_INTENTS = 11,
|
|
2255
|
+
SESSION_LEAST_X_ENTITY_TYPES = 12,
|
|
2256
|
+
SESSION_LEAST_X_ENTITY_VALUES = 13,
|
|
2257
|
+
SESSION_LEAST_X_USERS = 14,
|
|
2258
|
+
SESSION_LEAST_X_LABELS = 15,
|
|
2259
|
+
SESSION_LEAST_X_TAGS = 16,
|
|
2260
|
+
TOTAL_STATISTICS = 17,
|
|
2254
2261
|
}
|
|
2255
2262
|
export enum ReportFormat {
|
|
2256
2263
|
CSV = 0,
|
|
@@ -18074,7 +18074,14 @@ proto.ondewo.nlu.SessionsReportType = {
|
|
|
18074
18074
|
SESSION_TOP_X_TAGS: 7,
|
|
18075
18075
|
SESSION_TOP_X_PHONE_NUMBERS: 8,
|
|
18076
18076
|
SESSION_HUMAN_HANDOVERS: 9,
|
|
18077
|
-
SESSION_SQL_QUERY: 10
|
|
18077
|
+
SESSION_SQL_QUERY: 10,
|
|
18078
|
+
SESSION_LEAST_X_INTENTS: 11,
|
|
18079
|
+
SESSION_LEAST_X_ENTITY_TYPES: 12,
|
|
18080
|
+
SESSION_LEAST_X_ENTITY_VALUES: 13,
|
|
18081
|
+
SESSION_LEAST_X_USERS: 14,
|
|
18082
|
+
SESSION_LEAST_X_LABELS: 15,
|
|
18083
|
+
SESSION_LEAST_X_TAGS: 16,
|
|
18084
|
+
TOTAL_STATISTICS: 17
|
|
18078
18085
|
};
|
|
18079
18086
|
|
|
18080
18087
|
/**
|
|
@@ -60,6 +60,14 @@ export class OperationMetadata extends jspb.Message {
|
|
|
60
60
|
getDescription(): string;
|
|
61
61
|
setDescription(value: string): OperationMetadata;
|
|
62
62
|
|
|
63
|
+
getLogList(): Array<string>;
|
|
64
|
+
setLogList(value: Array<string>): OperationMetadata;
|
|
65
|
+
clearLogList(): OperationMetadata;
|
|
66
|
+
addLog(value: string, index?: number): OperationMetadata;
|
|
67
|
+
|
|
68
|
+
getLogLimit(): number;
|
|
69
|
+
setLogLimit(value: number): OperationMetadata;
|
|
70
|
+
|
|
63
71
|
serializeBinary(): Uint8Array;
|
|
64
72
|
toObject(includeInstance?: boolean): OperationMetadata.AsObject;
|
|
65
73
|
static toObject(includeInstance: boolean, msg: OperationMetadata): OperationMetadata.AsObject;
|
|
@@ -86,6 +94,8 @@ export namespace OperationMetadata {
|
|
|
86
94
|
numReruns: number,
|
|
87
95
|
maxNumReruns: number,
|
|
88
96
|
description: string,
|
|
97
|
+
logList: Array<string>,
|
|
98
|
+
logLimit: number,
|
|
89
99
|
}
|
|
90
100
|
|
|
91
101
|
export enum Status {
|
|
@@ -47,7 +47,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
47
47
|
* @private {!Array<number>}
|
|
48
48
|
* @const
|
|
49
49
|
*/
|
|
50
|
-
proto.ondewo.nlu.OperationMetadata.repeatedFields_ = [3];
|
|
50
|
+
proto.ondewo.nlu.OperationMetadata.repeatedFields_ = [3,17];
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
@@ -95,7 +95,9 @@ proto.ondewo.nlu.OperationMetadata.toObject = function(includeInstance, msg) {
|
|
|
95
95
|
hostName: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
96
96
|
numReruns: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
97
97
|
maxNumReruns: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
98
|
-
description: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
98
|
+
description: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
99
|
+
logList: (f = jspb.Message.getRepeatedField(msg, 17)) == null ? undefined : f,
|
|
100
|
+
logLimit: jspb.Message.getFieldWithDefault(msg, 18, 0)
|
|
99
101
|
};
|
|
100
102
|
|
|
101
103
|
if (includeInstance) {
|
|
@@ -199,6 +201,14 @@ proto.ondewo.nlu.OperationMetadata.deserializeBinaryFromReader = function(msg, r
|
|
|
199
201
|
var value = /** @type {string} */ (reader.readString());
|
|
200
202
|
msg.setDescription(value);
|
|
201
203
|
break;
|
|
204
|
+
case 17:
|
|
205
|
+
var value = /** @type {string} */ (reader.readString());
|
|
206
|
+
msg.addLog(value);
|
|
207
|
+
break;
|
|
208
|
+
case 18:
|
|
209
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
210
|
+
msg.setLogLimit(value);
|
|
211
|
+
break;
|
|
202
212
|
default:
|
|
203
213
|
reader.skipField();
|
|
204
214
|
break;
|
|
@@ -343,6 +353,20 @@ proto.ondewo.nlu.OperationMetadata.serializeBinaryToWriter = function(message, w
|
|
|
343
353
|
f
|
|
344
354
|
);
|
|
345
355
|
}
|
|
356
|
+
f = message.getLogList();
|
|
357
|
+
if (f.length > 0) {
|
|
358
|
+
writer.writeRepeatedString(
|
|
359
|
+
17,
|
|
360
|
+
f
|
|
361
|
+
);
|
|
362
|
+
}
|
|
363
|
+
f = message.getLogLimit();
|
|
364
|
+
if (f !== 0) {
|
|
365
|
+
writer.writeInt32(
|
|
366
|
+
18,
|
|
367
|
+
f
|
|
368
|
+
);
|
|
369
|
+
}
|
|
346
370
|
};
|
|
347
371
|
|
|
348
372
|
|
|
@@ -737,4 +761,59 @@ proto.ondewo.nlu.OperationMetadata.prototype.setDescription = function(value) {
|
|
|
737
761
|
};
|
|
738
762
|
|
|
739
763
|
|
|
764
|
+
/**
|
|
765
|
+
* repeated string log = 17;
|
|
766
|
+
* @return {!Array<string>}
|
|
767
|
+
*/
|
|
768
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getLogList = function() {
|
|
769
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 17));
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* @param {!Array<string>} value
|
|
775
|
+
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
776
|
+
*/
|
|
777
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setLogList = function(value) {
|
|
778
|
+
return jspb.Message.setField(this, 17, value || []);
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* @param {string} value
|
|
784
|
+
* @param {number=} opt_index
|
|
785
|
+
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
786
|
+
*/
|
|
787
|
+
proto.ondewo.nlu.OperationMetadata.prototype.addLog = function(value, opt_index) {
|
|
788
|
+
return jspb.Message.addToRepeatedField(this, 17, value, opt_index);
|
|
789
|
+
};
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* Clears the list making it empty but non-null.
|
|
794
|
+
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
795
|
+
*/
|
|
796
|
+
proto.ondewo.nlu.OperationMetadata.prototype.clearLogList = function() {
|
|
797
|
+
return this.setLogList([]);
|
|
798
|
+
};
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* optional int32 log_limit = 18;
|
|
803
|
+
* @return {number}
|
|
804
|
+
*/
|
|
805
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getLogLimit = function() {
|
|
806
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* @param {number} value
|
|
812
|
+
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
813
|
+
*/
|
|
814
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setLogLimit = function(value) {
|
|
815
|
+
return jspb.Message.setProto3IntField(this, 18, value);
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
|
|
740
819
|
goog.object.extend(exports, proto.ondewo.nlu);
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
export * from './api/ondewo/qa/qa_grpc_web_pb.d';
|
|
2
|
-
export * from './api/ondewo/qa/qa_pb.d';
|
|
3
|
-
export * from './api/ondewo/nlu/agent_pb.d';
|
|
4
1
|
export * from './api/ondewo/nlu/context_grpc_web_pb.d';
|
|
5
|
-
export * from './api/ondewo/nlu/operation_metadata_pb.d';
|
|
6
|
-
export * from './api/ondewo/nlu/webhook_grpc_web_pb.d';
|
|
7
|
-
export * from './api/ondewo/nlu/session_pb.d';
|
|
8
|
-
export * from './api/ondewo/nlu/project_role_grpc_web_pb.d';
|
|
9
|
-
export * from './api/ondewo/nlu/operations_grpc_web_pb.d';
|
|
10
|
-
export * from './api/ondewo/nlu/intent_grpc_web_pb.d';
|
|
11
|
-
export * from './api/ondewo/nlu/intent_pb.d';
|
|
12
|
-
export * from './api/ondewo/nlu/session_grpc_web_pb.d';
|
|
13
|
-
export * from './api/ondewo/nlu/utility_grpc_web_pb.d';
|
|
14
|
-
export * from './api/ondewo/nlu/entity_type_pb.d';
|
|
15
|
-
export * from './api/ondewo/nlu/common_pb.d';
|
|
16
|
-
export * from './api/ondewo/nlu/server_statistics_pb.d';
|
|
17
2
|
export * from './api/ondewo/nlu/project_statistics_grpc_web_pb.d';
|
|
18
|
-
export * from './api/ondewo/nlu/operations_pb.d';
|
|
19
3
|
export * from './api/ondewo/nlu/utility_pb.d';
|
|
20
|
-
export * from './api/ondewo/nlu/
|
|
21
|
-
export * from './api/ondewo/nlu/aiservices_grpc_web_pb.d';
|
|
22
|
-
export * from './api/ondewo/nlu/agent_grpc_web_pb.d';
|
|
4
|
+
export * from './api/ondewo/nlu/utility_grpc_web_pb.d';
|
|
23
5
|
export * from './api/ondewo/nlu/server_statistics_grpc_web_pb.d';
|
|
6
|
+
export * from './api/ondewo/nlu/operations_grpc_web_pb.d';
|
|
24
7
|
export * from './api/ondewo/nlu/user_pb.d';
|
|
25
|
-
export * from './api/ondewo/nlu/
|
|
26
|
-
export * from './api/ondewo/nlu/project_role_pb.d';
|
|
27
|
-
export * from './api/ondewo/nlu/webhook_pb.d';
|
|
8
|
+
export * from './api/ondewo/nlu/intent_pb.d';
|
|
28
9
|
export * from './api/ondewo/nlu/context_pb.d';
|
|
29
10
|
export * from './api/ondewo/nlu/project_statistics_pb.d';
|
|
11
|
+
export * from './api/ondewo/nlu/session_pb.d';
|
|
12
|
+
export * from './api/ondewo/nlu/server_statistics_pb.d';
|
|
13
|
+
export * from './api/ondewo/nlu/agent_pb.d';
|
|
14
|
+
export * from './api/ondewo/nlu/aiservices_pb.d';
|
|
15
|
+
export * from './api/ondewo/nlu/user_grpc_web_pb.d';
|
|
16
|
+
export * from './api/ondewo/nlu/common_pb.d';
|
|
17
|
+
export * from './api/ondewo/nlu/entity_type_pb.d';
|
|
18
|
+
export * from './api/ondewo/nlu/agent_grpc_web_pb.d';
|
|
19
|
+
export * from './api/ondewo/nlu/webhook_grpc_web_pb.d';
|
|
20
|
+
export * from './api/ondewo/nlu/operation_metadata_pb.d';
|
|
21
|
+
export * from './api/ondewo/nlu/project_role_grpc_web_pb.d';
|
|
22
|
+
export * from './api/ondewo/nlu/intent_grpc_web_pb.d';
|
|
23
|
+
export * from './api/ondewo/nlu/webhook_pb.d';
|
|
24
|
+
export * from './api/ondewo/nlu/project_role_pb.d';
|
|
25
|
+
export * from './api/ondewo/nlu/operations_pb.d';
|
|
26
|
+
export * from './api/ondewo/nlu/aiservices_grpc_web_pb.d';
|
|
30
27
|
export * from './api/ondewo/nlu/entity_type_grpc_web_pb.d';
|
|
31
|
-
export * from './api/
|
|
28
|
+
export * from './api/ondewo/nlu/session_grpc_web_pb.d';
|
|
29
|
+
export * from './api/ondewo/qa/qa_pb.d';
|
|
30
|
+
export * from './api/ondewo/qa/qa_grpc_web_pb.d';
|
|
31
|
+
export * from './api/google/type/latlng_pb.d';
|
|
32
|
+
export * from './api/google/rpc/status_pb.d';
|
|
32
33
|
export * from './api/google/protobuf/struct_pb.d';
|
|
33
|
-
export * from './api/google/protobuf/timestamp_pb.d';
|
|
34
34
|
export * from './api/google/protobuf/field_mask_pb.d';
|
|
35
|
+
export * from './api/google/protobuf/any_pb.d';
|
|
36
|
+
export * from './api/google/protobuf/timestamp_pb.d';
|
|
35
37
|
export * from './api/google/protobuf/empty_pb.d';
|
|
36
38
|
export * from './api/google/api/annotations_pb.d';
|
|
37
|
-
export * from './api/google/rpc/status_pb.d';
|
|
38
|
-
export * from './api/google/type/latlng_pb.d';
|