@ondewo/nlu-client-typescript 4.7.0 → 4.9.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 +61 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +308 -1
- package/api/ondewo/nlu/agent_pb.d.ts +242 -1
- package/api/ondewo/nlu/agent_pb.js +1984 -38
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +79 -0
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +388 -0
- package/api/ondewo/nlu/ccai_project_pb.d.ts +582 -0
- package/api/ondewo/nlu/ccai_project_pb.js +4137 -0
- package/api/ondewo/nlu/common_pb.d.ts +456 -0
- package/api/ondewo/nlu/common_pb.js +3523 -4
- package/api/ondewo/nlu/context_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/context_pb.d.ts +41 -0
- package/api/ondewo/nlu/context_pb.js +328 -2
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/entity_type_pb.d.ts +41 -0
- package/api/ondewo/nlu/entity_type_pb.js +328 -2
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/intent_grpc_web_pb.js +6 -6
- package/api/ondewo/nlu/intent_pb.d.ts +120 -0
- package/api/ondewo/nlu/intent_pb.js +1058 -86
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +21 -0
- package/api/ondewo/nlu/operation_metadata_pb.js +165 -2
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +3 -1
- package/api/ondewo/nlu/project_role_pb.d.ts +22 -1
- package/api/ondewo/nlu/project_role_pb.js +167 -3
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +109 -0
- package/api/ondewo/nlu/session_grpc_web_pb.js +551 -0
- package/api/ondewo/nlu/session_pb.d.ts +624 -0
- package/api/ondewo/nlu/session_pb.js +10278 -5168
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +85 -0
- package/api/ondewo/nlu/user_grpc_web_pb.js +431 -0
- package/api/ondewo/nlu/user_pb.d.ts +284 -0
- package/api/ondewo/nlu/user_pb.js +3418 -1024
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +37 -0
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +191 -2
- package/api/ondewo/nlu/webhook_pb.d.ts +188 -5
- package/api/ondewo/nlu/webhook_pb.js +1530 -34
- package/package.json +1 -1
- package/public-api.d.ts +27 -25
|
@@ -21,6 +21,8 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
|
|
|
21
21
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
22
22
|
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
|
|
23
23
|
goog.object.extend(proto, google_protobuf_field_mask_pb);
|
|
24
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
25
|
+
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
24
26
|
var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js');
|
|
25
27
|
goog.object.extend(proto, ondewo_nlu_common_pb);
|
|
26
28
|
var ondewo_nlu_operations_pb = require('../../ondewo/nlu/operations_pb.js');
|
|
@@ -699,7 +701,11 @@ proto.ondewo.nlu.EntityType.toObject = function(includeInstance, msg) {
|
|
|
699
701
|
nextPageToken: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
700
702
|
entityCount: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
701
703
|
status: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
702
|
-
synonymCount: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
|
704
|
+
synonymCount: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
705
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
706
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
707
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
708
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
703
709
|
};
|
|
704
710
|
|
|
705
711
|
if (includeInstance) {
|
|
@@ -773,6 +779,24 @@ proto.ondewo.nlu.EntityType.deserializeBinaryFromReader = function(msg, reader)
|
|
|
773
779
|
var value = /** @type {number} */ (reader.readInt32());
|
|
774
780
|
msg.setSynonymCount(value);
|
|
775
781
|
break;
|
|
782
|
+
case 14:
|
|
783
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
784
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
785
|
+
msg.setCreatedAt(value);
|
|
786
|
+
break;
|
|
787
|
+
case 15:
|
|
788
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
789
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
790
|
+
msg.setModifiedAt(value);
|
|
791
|
+
break;
|
|
792
|
+
case 16:
|
|
793
|
+
var value = /** @type {string} */ (reader.readString());
|
|
794
|
+
msg.setCreatedBy(value);
|
|
795
|
+
break;
|
|
796
|
+
case 17:
|
|
797
|
+
var value = /** @type {string} */ (reader.readString());
|
|
798
|
+
msg.setModifiedBy(value);
|
|
799
|
+
break;
|
|
776
800
|
default:
|
|
777
801
|
reader.skipField();
|
|
778
802
|
break;
|
|
@@ -866,6 +890,36 @@ proto.ondewo.nlu.EntityType.serializeBinaryToWriter = function(message, writer)
|
|
|
866
890
|
f
|
|
867
891
|
);
|
|
868
892
|
}
|
|
893
|
+
f = message.getCreatedAt();
|
|
894
|
+
if (f != null) {
|
|
895
|
+
writer.writeMessage(
|
|
896
|
+
14,
|
|
897
|
+
f,
|
|
898
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
899
|
+
);
|
|
900
|
+
}
|
|
901
|
+
f = message.getModifiedAt();
|
|
902
|
+
if (f != null) {
|
|
903
|
+
writer.writeMessage(
|
|
904
|
+
15,
|
|
905
|
+
f,
|
|
906
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
907
|
+
);
|
|
908
|
+
}
|
|
909
|
+
f = message.getCreatedBy();
|
|
910
|
+
if (f.length > 0) {
|
|
911
|
+
writer.writeString(
|
|
912
|
+
16,
|
|
913
|
+
f
|
|
914
|
+
);
|
|
915
|
+
}
|
|
916
|
+
f = message.getModifiedBy();
|
|
917
|
+
if (f.length > 0) {
|
|
918
|
+
writer.writeString(
|
|
919
|
+
17,
|
|
920
|
+
f
|
|
921
|
+
);
|
|
922
|
+
}
|
|
869
923
|
};
|
|
870
924
|
|
|
871
925
|
|
|
@@ -938,7 +992,11 @@ proto.ondewo.nlu.EntityType.Entity.toObject = function(includeInstance, msg) {
|
|
|
938
992
|
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
939
993
|
displayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
940
994
|
synonymCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
941
|
-
languageCode: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
995
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
996
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
997
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
998
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
999
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
942
1000
|
};
|
|
943
1001
|
|
|
944
1002
|
if (includeInstance) {
|
|
@@ -999,6 +1057,24 @@ proto.ondewo.nlu.EntityType.Entity.deserializeBinaryFromReader = function(msg, r
|
|
|
999
1057
|
var value = /** @type {string} */ (reader.readString());
|
|
1000
1058
|
msg.setLanguageCode(value);
|
|
1001
1059
|
break;
|
|
1060
|
+
case 7:
|
|
1061
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1062
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1063
|
+
msg.setCreatedAt(value);
|
|
1064
|
+
break;
|
|
1065
|
+
case 8:
|
|
1066
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1067
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1068
|
+
msg.setModifiedAt(value);
|
|
1069
|
+
break;
|
|
1070
|
+
case 9:
|
|
1071
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1072
|
+
msg.setCreatedBy(value);
|
|
1073
|
+
break;
|
|
1074
|
+
case 10:
|
|
1075
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1076
|
+
msg.setModifiedBy(value);
|
|
1077
|
+
break;
|
|
1002
1078
|
default:
|
|
1003
1079
|
reader.skipField();
|
|
1004
1080
|
break;
|
|
@@ -1070,6 +1146,36 @@ proto.ondewo.nlu.EntityType.Entity.serializeBinaryToWriter = function(message, w
|
|
|
1070
1146
|
f
|
|
1071
1147
|
);
|
|
1072
1148
|
}
|
|
1149
|
+
f = message.getCreatedAt();
|
|
1150
|
+
if (f != null) {
|
|
1151
|
+
writer.writeMessage(
|
|
1152
|
+
7,
|
|
1153
|
+
f,
|
|
1154
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1155
|
+
);
|
|
1156
|
+
}
|
|
1157
|
+
f = message.getModifiedAt();
|
|
1158
|
+
if (f != null) {
|
|
1159
|
+
writer.writeMessage(
|
|
1160
|
+
8,
|
|
1161
|
+
f,
|
|
1162
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1163
|
+
);
|
|
1164
|
+
}
|
|
1165
|
+
f = message.getCreatedBy();
|
|
1166
|
+
if (f.length > 0) {
|
|
1167
|
+
writer.writeString(
|
|
1168
|
+
9,
|
|
1169
|
+
f
|
|
1170
|
+
);
|
|
1171
|
+
}
|
|
1172
|
+
f = message.getModifiedBy();
|
|
1173
|
+
if (f.length > 0) {
|
|
1174
|
+
writer.writeString(
|
|
1175
|
+
10,
|
|
1176
|
+
f
|
|
1177
|
+
);
|
|
1178
|
+
}
|
|
1073
1179
|
};
|
|
1074
1180
|
|
|
1075
1181
|
|
|
@@ -1200,6 +1306,116 @@ proto.ondewo.nlu.EntityType.Entity.prototype.setLanguageCode = function(value) {
|
|
|
1200
1306
|
};
|
|
1201
1307
|
|
|
1202
1308
|
|
|
1309
|
+
/**
|
|
1310
|
+
* optional google.protobuf.Timestamp created_at = 7;
|
|
1311
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1312
|
+
*/
|
|
1313
|
+
proto.ondewo.nlu.EntityType.Entity.prototype.getCreatedAt = function() {
|
|
1314
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1315
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
|
|
1316
|
+
};
|
|
1317
|
+
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1321
|
+
* @return {!proto.ondewo.nlu.EntityType.Entity} returns this
|
|
1322
|
+
*/
|
|
1323
|
+
proto.ondewo.nlu.EntityType.Entity.prototype.setCreatedAt = function(value) {
|
|
1324
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
1325
|
+
};
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* Clears the message field making it undefined.
|
|
1330
|
+
* @return {!proto.ondewo.nlu.EntityType.Entity} returns this
|
|
1331
|
+
*/
|
|
1332
|
+
proto.ondewo.nlu.EntityType.Entity.prototype.clearCreatedAt = function() {
|
|
1333
|
+
return this.setCreatedAt(undefined);
|
|
1334
|
+
};
|
|
1335
|
+
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* Returns whether this field is set.
|
|
1339
|
+
* @return {boolean}
|
|
1340
|
+
*/
|
|
1341
|
+
proto.ondewo.nlu.EntityType.Entity.prototype.hasCreatedAt = function() {
|
|
1342
|
+
return jspb.Message.getField(this, 7) != null;
|
|
1343
|
+
};
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
/**
|
|
1347
|
+
* optional google.protobuf.Timestamp modified_at = 8;
|
|
1348
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1349
|
+
*/
|
|
1350
|
+
proto.ondewo.nlu.EntityType.Entity.prototype.getModifiedAt = function() {
|
|
1351
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1352
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
|
|
1353
|
+
};
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1358
|
+
* @return {!proto.ondewo.nlu.EntityType.Entity} returns this
|
|
1359
|
+
*/
|
|
1360
|
+
proto.ondewo.nlu.EntityType.Entity.prototype.setModifiedAt = function(value) {
|
|
1361
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* Clears the message field making it undefined.
|
|
1367
|
+
* @return {!proto.ondewo.nlu.EntityType.Entity} returns this
|
|
1368
|
+
*/
|
|
1369
|
+
proto.ondewo.nlu.EntityType.Entity.prototype.clearModifiedAt = function() {
|
|
1370
|
+
return this.setModifiedAt(undefined);
|
|
1371
|
+
};
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* Returns whether this field is set.
|
|
1376
|
+
* @return {boolean}
|
|
1377
|
+
*/
|
|
1378
|
+
proto.ondewo.nlu.EntityType.Entity.prototype.hasModifiedAt = function() {
|
|
1379
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1380
|
+
};
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* optional string created_by = 9;
|
|
1385
|
+
* @return {string}
|
|
1386
|
+
*/
|
|
1387
|
+
proto.ondewo.nlu.EntityType.Entity.prototype.getCreatedBy = function() {
|
|
1388
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1389
|
+
};
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* @param {string} value
|
|
1394
|
+
* @return {!proto.ondewo.nlu.EntityType.Entity} returns this
|
|
1395
|
+
*/
|
|
1396
|
+
proto.ondewo.nlu.EntityType.Entity.prototype.setCreatedBy = function(value) {
|
|
1397
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1398
|
+
};
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* optional string modified_by = 10;
|
|
1403
|
+
* @return {string}
|
|
1404
|
+
*/
|
|
1405
|
+
proto.ondewo.nlu.EntityType.Entity.prototype.getModifiedBy = function() {
|
|
1406
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1407
|
+
};
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
/**
|
|
1411
|
+
* @param {string} value
|
|
1412
|
+
* @return {!proto.ondewo.nlu.EntityType.Entity} returns this
|
|
1413
|
+
*/
|
|
1414
|
+
proto.ondewo.nlu.EntityType.Entity.prototype.setModifiedBy = function(value) {
|
|
1415
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1416
|
+
};
|
|
1417
|
+
|
|
1418
|
+
|
|
1203
1419
|
/**
|
|
1204
1420
|
* optional string name = 1;
|
|
1205
1421
|
* @return {string}
|
|
@@ -1382,6 +1598,116 @@ proto.ondewo.nlu.EntityType.prototype.setSynonymCount = function(value) {
|
|
|
1382
1598
|
};
|
|
1383
1599
|
|
|
1384
1600
|
|
|
1601
|
+
/**
|
|
1602
|
+
* optional google.protobuf.Timestamp created_at = 14;
|
|
1603
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1604
|
+
*/
|
|
1605
|
+
proto.ondewo.nlu.EntityType.prototype.getCreatedAt = function() {
|
|
1606
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1607
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 14));
|
|
1608
|
+
};
|
|
1609
|
+
|
|
1610
|
+
|
|
1611
|
+
/**
|
|
1612
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1613
|
+
* @return {!proto.ondewo.nlu.EntityType} returns this
|
|
1614
|
+
*/
|
|
1615
|
+
proto.ondewo.nlu.EntityType.prototype.setCreatedAt = function(value) {
|
|
1616
|
+
return jspb.Message.setWrapperField(this, 14, value);
|
|
1617
|
+
};
|
|
1618
|
+
|
|
1619
|
+
|
|
1620
|
+
/**
|
|
1621
|
+
* Clears the message field making it undefined.
|
|
1622
|
+
* @return {!proto.ondewo.nlu.EntityType} returns this
|
|
1623
|
+
*/
|
|
1624
|
+
proto.ondewo.nlu.EntityType.prototype.clearCreatedAt = function() {
|
|
1625
|
+
return this.setCreatedAt(undefined);
|
|
1626
|
+
};
|
|
1627
|
+
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1630
|
+
* Returns whether this field is set.
|
|
1631
|
+
* @return {boolean}
|
|
1632
|
+
*/
|
|
1633
|
+
proto.ondewo.nlu.EntityType.prototype.hasCreatedAt = function() {
|
|
1634
|
+
return jspb.Message.getField(this, 14) != null;
|
|
1635
|
+
};
|
|
1636
|
+
|
|
1637
|
+
|
|
1638
|
+
/**
|
|
1639
|
+
* optional google.protobuf.Timestamp modified_at = 15;
|
|
1640
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1641
|
+
*/
|
|
1642
|
+
proto.ondewo.nlu.EntityType.prototype.getModifiedAt = function() {
|
|
1643
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1644
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 15));
|
|
1645
|
+
};
|
|
1646
|
+
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1650
|
+
* @return {!proto.ondewo.nlu.EntityType} returns this
|
|
1651
|
+
*/
|
|
1652
|
+
proto.ondewo.nlu.EntityType.prototype.setModifiedAt = function(value) {
|
|
1653
|
+
return jspb.Message.setWrapperField(this, 15, value);
|
|
1654
|
+
};
|
|
1655
|
+
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* Clears the message field making it undefined.
|
|
1659
|
+
* @return {!proto.ondewo.nlu.EntityType} returns this
|
|
1660
|
+
*/
|
|
1661
|
+
proto.ondewo.nlu.EntityType.prototype.clearModifiedAt = function() {
|
|
1662
|
+
return this.setModifiedAt(undefined);
|
|
1663
|
+
};
|
|
1664
|
+
|
|
1665
|
+
|
|
1666
|
+
/**
|
|
1667
|
+
* Returns whether this field is set.
|
|
1668
|
+
* @return {boolean}
|
|
1669
|
+
*/
|
|
1670
|
+
proto.ondewo.nlu.EntityType.prototype.hasModifiedAt = function() {
|
|
1671
|
+
return jspb.Message.getField(this, 15) != null;
|
|
1672
|
+
};
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* optional string created_by = 16;
|
|
1677
|
+
* @return {string}
|
|
1678
|
+
*/
|
|
1679
|
+
proto.ondewo.nlu.EntityType.prototype.getCreatedBy = function() {
|
|
1680
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
1681
|
+
};
|
|
1682
|
+
|
|
1683
|
+
|
|
1684
|
+
/**
|
|
1685
|
+
* @param {string} value
|
|
1686
|
+
* @return {!proto.ondewo.nlu.EntityType} returns this
|
|
1687
|
+
*/
|
|
1688
|
+
proto.ondewo.nlu.EntityType.prototype.setCreatedBy = function(value) {
|
|
1689
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
1690
|
+
};
|
|
1691
|
+
|
|
1692
|
+
|
|
1693
|
+
/**
|
|
1694
|
+
* optional string modified_by = 17;
|
|
1695
|
+
* @return {string}
|
|
1696
|
+
*/
|
|
1697
|
+
proto.ondewo.nlu.EntityType.prototype.getModifiedBy = function() {
|
|
1698
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
1699
|
+
};
|
|
1700
|
+
|
|
1701
|
+
|
|
1702
|
+
/**
|
|
1703
|
+
* @param {string} value
|
|
1704
|
+
* @return {!proto.ondewo.nlu.EntityType} returns this
|
|
1705
|
+
*/
|
|
1706
|
+
proto.ondewo.nlu.EntityType.prototype.setModifiedBy = function(value) {
|
|
1707
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
1708
|
+
};
|
|
1709
|
+
|
|
1710
|
+
|
|
1385
1711
|
|
|
1386
1712
|
|
|
1387
1713
|
|
|
@@ -49,8 +49,8 @@ export class IntentsClient {
|
|
|
49
49
|
request: ondewo_nlu_intent_pb.BatchUpdateIntentsRequest,
|
|
50
50
|
metadata: grpcWeb.Metadata | undefined,
|
|
51
51
|
callback: (err: grpcWeb.RpcError,
|
|
52
|
-
response:
|
|
53
|
-
): grpcWeb.ClientReadableStream<
|
|
52
|
+
response: ondewo_nlu_intent_pb.BatchUpdateIntentsResponse) => void
|
|
53
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_intent_pb.BatchUpdateIntentsResponse>;
|
|
54
54
|
|
|
55
55
|
batchDeleteIntents(
|
|
56
56
|
request: ondewo_nlu_intent_pb.BatchDeleteIntentsRequest,
|
|
@@ -234,7 +234,7 @@ export class IntentsPromiseClient {
|
|
|
234
234
|
batchUpdateIntents(
|
|
235
235
|
request: ondewo_nlu_intent_pb.BatchUpdateIntentsRequest,
|
|
236
236
|
metadata?: grpcWeb.Metadata
|
|
237
|
-
): Promise<
|
|
237
|
+
): Promise<ondewo_nlu_intent_pb.BatchUpdateIntentsResponse>;
|
|
238
238
|
|
|
239
239
|
batchDeleteIntents(
|
|
240
240
|
request: ondewo_nlu_intent_pb.BatchDeleteIntentsRequest,
|
|
@@ -396,13 +396,13 @@ proto.ondewo.nlu.IntentsPromiseClient.prototype.deleteIntent =
|
|
|
396
396
|
* @const
|
|
397
397
|
* @type {!grpc.web.MethodDescriptor<
|
|
398
398
|
* !proto.ondewo.nlu.BatchUpdateIntentsRequest,
|
|
399
|
-
* !proto.ondewo.nlu.
|
|
399
|
+
* !proto.ondewo.nlu.BatchUpdateIntentsResponse>}
|
|
400
400
|
*/
|
|
401
401
|
const methodDescriptor_Intents_BatchUpdateIntents = new grpc.web.MethodDescriptor(
|
|
402
402
|
'/ondewo.nlu.Intents/BatchUpdateIntents',
|
|
403
403
|
grpc.web.MethodType.UNARY,
|
|
404
404
|
proto.ondewo.nlu.BatchUpdateIntentsRequest,
|
|
405
|
-
|
|
405
|
+
proto.ondewo.nlu.BatchUpdateIntentsResponse,
|
|
406
406
|
/**
|
|
407
407
|
* @param {!proto.ondewo.nlu.BatchUpdateIntentsRequest} request
|
|
408
408
|
* @return {!Uint8Array}
|
|
@@ -410,7 +410,7 @@ const methodDescriptor_Intents_BatchUpdateIntents = new grpc.web.MethodDescripto
|
|
|
410
410
|
function(request) {
|
|
411
411
|
return request.serializeBinary();
|
|
412
412
|
},
|
|
413
|
-
|
|
413
|
+
proto.ondewo.nlu.BatchUpdateIntentsResponse.deserializeBinary
|
|
414
414
|
);
|
|
415
415
|
|
|
416
416
|
|
|
@@ -419,9 +419,9 @@ const methodDescriptor_Intents_BatchUpdateIntents = new grpc.web.MethodDescripto
|
|
|
419
419
|
* request proto
|
|
420
420
|
* @param {?Object<string, string>} metadata User defined
|
|
421
421
|
* call metadata
|
|
422
|
-
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.
|
|
422
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchUpdateIntentsResponse)}
|
|
423
423
|
* callback The callback function(error, response)
|
|
424
|
-
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.
|
|
424
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchUpdateIntentsResponse>|undefined}
|
|
425
425
|
* The XHR Node Readable Stream
|
|
426
426
|
*/
|
|
427
427
|
proto.ondewo.nlu.IntentsClient.prototype.batchUpdateIntents =
|
|
@@ -440,7 +440,7 @@ proto.ondewo.nlu.IntentsClient.prototype.batchUpdateIntents =
|
|
|
440
440
|
* request proto
|
|
441
441
|
* @param {?Object<string, string>=} metadata User defined
|
|
442
442
|
* call metadata
|
|
443
|
-
* @return {!Promise<!proto.ondewo.nlu.
|
|
443
|
+
* @return {!Promise<!proto.ondewo.nlu.BatchUpdateIntentsResponse>}
|
|
444
444
|
* Promise that resolves to the response
|
|
445
445
|
*/
|
|
446
446
|
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchUpdateIntents =
|
|
@@ -114,6 +114,22 @@ export class Intent extends jspb.Message {
|
|
|
114
114
|
clearTagsList(): Intent;
|
|
115
115
|
addTags(value: string, index?: number): Intent;
|
|
116
116
|
|
|
117
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
118
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Intent;
|
|
119
|
+
hasCreatedAt(): boolean;
|
|
120
|
+
clearCreatedAt(): Intent;
|
|
121
|
+
|
|
122
|
+
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
123
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Intent;
|
|
124
|
+
hasModifiedAt(): boolean;
|
|
125
|
+
clearModifiedAt(): Intent;
|
|
126
|
+
|
|
127
|
+
getCreatedBy(): string;
|
|
128
|
+
setCreatedBy(value: string): Intent;
|
|
129
|
+
|
|
130
|
+
getModifiedBy(): string;
|
|
131
|
+
setModifiedBy(value: string): Intent;
|
|
132
|
+
|
|
117
133
|
serializeBinary(): Uint8Array;
|
|
118
134
|
toObject(includeInstance?: boolean): Intent.AsObject;
|
|
119
135
|
static toObject(includeInstance: boolean, msg: Intent): Intent.AsObject;
|
|
@@ -151,6 +167,10 @@ export namespace Intent {
|
|
|
151
167
|
startDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
152
168
|
endDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
153
169
|
tagsList: Array<string>,
|
|
170
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
171
|
+
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
172
|
+
createdBy: string,
|
|
173
|
+
modifiedBy: string,
|
|
154
174
|
}
|
|
155
175
|
|
|
156
176
|
export class TrainingPhrase extends jspb.Message {
|
|
@@ -174,6 +194,22 @@ export namespace Intent {
|
|
|
174
194
|
getLanguageCode(): string;
|
|
175
195
|
setLanguageCode(value: string): TrainingPhrase;
|
|
176
196
|
|
|
197
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
198
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): TrainingPhrase;
|
|
199
|
+
hasCreatedAt(): boolean;
|
|
200
|
+
clearCreatedAt(): TrainingPhrase;
|
|
201
|
+
|
|
202
|
+
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
203
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): TrainingPhrase;
|
|
204
|
+
hasModifiedAt(): boolean;
|
|
205
|
+
clearModifiedAt(): TrainingPhrase;
|
|
206
|
+
|
|
207
|
+
getCreatedBy(): string;
|
|
208
|
+
setCreatedBy(value: string): TrainingPhrase;
|
|
209
|
+
|
|
210
|
+
getModifiedBy(): string;
|
|
211
|
+
setModifiedBy(value: string): TrainingPhrase;
|
|
212
|
+
|
|
177
213
|
serializeBinary(): Uint8Array;
|
|
178
214
|
toObject(includeInstance?: boolean): TrainingPhrase.AsObject;
|
|
179
215
|
static toObject(includeInstance: boolean, msg: TrainingPhrase): TrainingPhrase.AsObject;
|
|
@@ -190,6 +226,10 @@ export namespace Intent {
|
|
|
190
226
|
entitiesList: Array<Intent.TrainingPhrase.Entity.AsObject>,
|
|
191
227
|
timesAddedCount: number,
|
|
192
228
|
languageCode: string,
|
|
229
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
230
|
+
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
231
|
+
createdBy: string,
|
|
232
|
+
modifiedBy: string,
|
|
193
233
|
}
|
|
194
234
|
|
|
195
235
|
export class Entity extends jspb.Message {
|
|
@@ -217,6 +257,22 @@ export namespace Intent {
|
|
|
217
257
|
getParameterDisplayName(): string;
|
|
218
258
|
setParameterDisplayName(value: string): Entity;
|
|
219
259
|
|
|
260
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
261
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Entity;
|
|
262
|
+
hasCreatedAt(): boolean;
|
|
263
|
+
clearCreatedAt(): Entity;
|
|
264
|
+
|
|
265
|
+
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
266
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Entity;
|
|
267
|
+
hasModifiedAt(): boolean;
|
|
268
|
+
clearModifiedAt(): Entity;
|
|
269
|
+
|
|
270
|
+
getCreatedBy(): string;
|
|
271
|
+
setCreatedBy(value: string): Entity;
|
|
272
|
+
|
|
273
|
+
getModifiedBy(): string;
|
|
274
|
+
setModifiedBy(value: string): Entity;
|
|
275
|
+
|
|
220
276
|
serializeBinary(): Uint8Array;
|
|
221
277
|
toObject(includeInstance?: boolean): Entity.AsObject;
|
|
222
278
|
static toObject(includeInstance: boolean, msg: Entity): Entity.AsObject;
|
|
@@ -235,6 +291,10 @@ export namespace Intent {
|
|
|
235
291
|
end: number,
|
|
236
292
|
parameterName: string,
|
|
237
293
|
parameterDisplayName: string,
|
|
294
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
295
|
+
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
296
|
+
createdBy: string,
|
|
297
|
+
modifiedBy: string,
|
|
238
298
|
}
|
|
239
299
|
}
|
|
240
300
|
|
|
@@ -277,6 +337,22 @@ export namespace Intent {
|
|
|
277
337
|
getIsList(): boolean;
|
|
278
338
|
setIsList(value: boolean): Parameter;
|
|
279
339
|
|
|
340
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
341
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Parameter;
|
|
342
|
+
hasCreatedAt(): boolean;
|
|
343
|
+
clearCreatedAt(): Parameter;
|
|
344
|
+
|
|
345
|
+
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
346
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Parameter;
|
|
347
|
+
hasModifiedAt(): boolean;
|
|
348
|
+
clearModifiedAt(): Parameter;
|
|
349
|
+
|
|
350
|
+
getCreatedBy(): string;
|
|
351
|
+
setCreatedBy(value: string): Parameter;
|
|
352
|
+
|
|
353
|
+
getModifiedBy(): string;
|
|
354
|
+
setModifiedBy(value: string): Parameter;
|
|
355
|
+
|
|
280
356
|
serializeBinary(): Uint8Array;
|
|
281
357
|
toObject(includeInstance?: boolean): Parameter.AsObject;
|
|
282
358
|
static toObject(includeInstance: boolean, msg: Parameter): Parameter.AsObject;
|
|
@@ -296,6 +372,10 @@ export namespace Intent {
|
|
|
296
372
|
mandatory: boolean,
|
|
297
373
|
promptsList: Array<Intent.Parameter.Prompt.AsObject>,
|
|
298
374
|
isList: boolean,
|
|
375
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
376
|
+
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
377
|
+
createdBy: string,
|
|
378
|
+
modifiedBy: string,
|
|
299
379
|
}
|
|
300
380
|
|
|
301
381
|
export class Prompt extends jspb.Message {
|
|
@@ -308,6 +388,22 @@ export namespace Intent {
|
|
|
308
388
|
getLanguageCode(): string;
|
|
309
389
|
setLanguageCode(value: string): Prompt;
|
|
310
390
|
|
|
391
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
392
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Prompt;
|
|
393
|
+
hasCreatedAt(): boolean;
|
|
394
|
+
clearCreatedAt(): Prompt;
|
|
395
|
+
|
|
396
|
+
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
397
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Prompt;
|
|
398
|
+
hasModifiedAt(): boolean;
|
|
399
|
+
clearModifiedAt(): Prompt;
|
|
400
|
+
|
|
401
|
+
getCreatedBy(): string;
|
|
402
|
+
setCreatedBy(value: string): Prompt;
|
|
403
|
+
|
|
404
|
+
getModifiedBy(): string;
|
|
405
|
+
setModifiedBy(value: string): Prompt;
|
|
406
|
+
|
|
311
407
|
serializeBinary(): Uint8Array;
|
|
312
408
|
toObject(includeInstance?: boolean): Prompt.AsObject;
|
|
313
409
|
static toObject(includeInstance: boolean, msg: Prompt): Prompt.AsObject;
|
|
@@ -321,6 +417,10 @@ export namespace Intent {
|
|
|
321
417
|
name: string,
|
|
322
418
|
text: string,
|
|
323
419
|
languageCode: string,
|
|
420
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
421
|
+
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
422
|
+
createdBy: string,
|
|
423
|
+
modifiedBy: string,
|
|
324
424
|
}
|
|
325
425
|
}
|
|
326
426
|
|
|
@@ -410,6 +510,22 @@ export namespace Intent {
|
|
|
410
510
|
getIsPrompt(): boolean;
|
|
411
511
|
setIsPrompt(value: boolean): Message;
|
|
412
512
|
|
|
513
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
514
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Message;
|
|
515
|
+
hasCreatedAt(): boolean;
|
|
516
|
+
clearCreatedAt(): Message;
|
|
517
|
+
|
|
518
|
+
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
519
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Message;
|
|
520
|
+
hasModifiedAt(): boolean;
|
|
521
|
+
clearModifiedAt(): Message;
|
|
522
|
+
|
|
523
|
+
getCreatedBy(): string;
|
|
524
|
+
setCreatedBy(value: string): Message;
|
|
525
|
+
|
|
526
|
+
getModifiedBy(): string;
|
|
527
|
+
setModifiedBy(value: string): Message;
|
|
528
|
+
|
|
413
529
|
getMessageCase(): Message.MessageCase;
|
|
414
530
|
|
|
415
531
|
serializeBinary(): Uint8Array;
|
|
@@ -440,6 +556,10 @@ export namespace Intent {
|
|
|
440
556
|
audio?: Intent.Message.Audio.AsObject,
|
|
441
557
|
platform: Intent.Message.Platform,
|
|
442
558
|
isPrompt: boolean,
|
|
559
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
560
|
+
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
561
|
+
createdBy: string,
|
|
562
|
+
modifiedBy: string,
|
|
443
563
|
}
|
|
444
564
|
|
|
445
565
|
export class Text extends jspb.Message {
|