@ondewo/nlu-client-typescript 6.0.0 → 6.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/google/protobuf/any_pb.js +2 -2
- package/api/google/protobuf/field_mask_pb.js +1 -1
- package/api/google/protobuf/struct_pb.js +8 -8
- package/api/google/protobuf/timestamp_pb.js +2 -2
- package/api/google/rpc/status_pb.js +3 -3
- package/api/google/type/latlng_pb.js +2 -2
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +12 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +61 -0
- package/api/ondewo/nlu/agent_pb.d.ts +20 -0
- package/api/ondewo/nlu/agent_pb.js +498 -322
- package/api/ondewo/nlu/aiservices_pb.js +124 -124
- package/api/ondewo/nlu/ccai_project_pb.d.ts +11 -0
- package/api/ondewo/nlu/ccai_project_pb.js +81 -70
- package/api/ondewo/nlu/common_pb.js +53 -53
- package/api/ondewo/nlu/context_pb.js +27 -27
- package/api/ondewo/nlu/entity_type_pb.js +81 -81
- package/api/ondewo/nlu/intent_pb.js +244 -244
- package/api/ondewo/nlu/operation_metadata_pb.js +22 -22
- package/api/ondewo/nlu/operations_pb.js +21 -21
- package/api/ondewo/nlu/project_role_pb.js +25 -25
- package/api/ondewo/nlu/project_statistics_pb.js +7 -7
- package/api/ondewo/nlu/server_statistics_pb.js +1 -1
- package/api/ondewo/nlu/session_pb.js +366 -366
- package/api/ondewo/nlu/user_pb.d.ts +6 -0
- package/api/ondewo/nlu/user_pb.js +122 -71
- package/api/ondewo/nlu/utility_pb.js +79 -79
- package/api/ondewo/nlu/webhook_pb.js +31 -31
- package/api/ondewo/qa/qa_pb.js +24 -24
- package/package.json +1 -1
|
@@ -542,7 +542,7 @@ proto.ondewo.nlu.ValidateRegexRequest.prototype.toObject = function(opt_includeI
|
|
|
542
542
|
*/
|
|
543
543
|
proto.ondewo.nlu.ValidateRegexRequest.toObject = function(includeInstance, msg) {
|
|
544
544
|
var f, obj = {
|
|
545
|
-
|
|
545
|
+
regex: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
546
546
|
};
|
|
547
547
|
|
|
548
548
|
if (includeInstance) {
|
|
@@ -679,7 +679,7 @@ proto.ondewo.nlu.ValidateRegexResponse.prototype.toObject = function(opt_include
|
|
|
679
679
|
*/
|
|
680
680
|
proto.ondewo.nlu.ValidateRegexResponse.toObject = function(includeInstance, msg) {
|
|
681
681
|
var f, obj = {
|
|
682
|
-
|
|
682
|
+
errorMessagesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
683
683
|
};
|
|
684
684
|
|
|
685
685
|
if (includeInstance) {
|
|
@@ -828,7 +828,7 @@ proto.ondewo.nlu.ValidateEmbeddedRegexRequest.prototype.toObject = function(opt_
|
|
|
828
828
|
*/
|
|
829
829
|
proto.ondewo.nlu.ValidateEmbeddedRegexRequest.toObject = function(includeInstance, msg) {
|
|
830
830
|
var f, obj = {
|
|
831
|
-
|
|
831
|
+
entityType: (f = msg.getEntityType()) && ondewo_nlu_entity_type_pb.EntityType.Entity.toObject(includeInstance, f)
|
|
832
832
|
};
|
|
833
833
|
|
|
834
834
|
if (includeInstance) {
|
|
@@ -986,7 +986,7 @@ proto.ondewo.nlu.ValidateEmbeddedRegexResponse.prototype.toObject = function(opt
|
|
|
986
986
|
*/
|
|
987
987
|
proto.ondewo.nlu.ValidateEmbeddedRegexResponse.toObject = function(includeInstance, msg) {
|
|
988
988
|
var f, obj = {
|
|
989
|
-
|
|
989
|
+
errorMessagesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
990
990
|
};
|
|
991
991
|
|
|
992
992
|
if (includeInstance) {
|
|
@@ -1142,14 +1142,14 @@ proto.ondewo.nlu.CleanAllIntentsRequest.prototype.toObject = function(opt_includ
|
|
|
1142
1142
|
*/
|
|
1143
1143
|
proto.ondewo.nlu.CleanAllIntentsRequest.toObject = function(includeInstance, msg) {
|
|
1144
1144
|
var f, obj = {
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1145
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1146
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1147
|
+
specialCharacters: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1148
|
+
substringWhiteListList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
1149
|
+
dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
1150
|
+
trainingPhraseCleanerOptions: (f = msg.getTrainingPhraseCleanerOptions()) && proto.ondewo.nlu.TrainingPhraseCleanerOptions.toObject(includeInstance, f),
|
|
1151
|
+
reannotateEntitiesOptions: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
1152
|
+
numberOfWorkers: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
1153
1153
|
};
|
|
1154
1154
|
|
|
1155
1155
|
if (includeInstance) {
|
|
@@ -1529,9 +1529,9 @@ proto.ondewo.nlu.CleanAllIntentsResponse.prototype.toObject = function(opt_inclu
|
|
|
1529
1529
|
*/
|
|
1530
1530
|
proto.ondewo.nlu.CleanAllIntentsResponse.toObject = function(includeInstance, msg) {
|
|
1531
1531
|
var f, obj = {
|
|
1532
|
-
|
|
1532
|
+
cleanedIntentsList: jspb.Message.toObjectList(msg.getCleanedIntentsList(),
|
|
1533
1533
|
ondewo_nlu_intent_pb.Intent.toObject, includeInstance),
|
|
1534
|
-
|
|
1534
|
+
intentUpdateListList: jspb.Message.toObjectList(msg.getIntentUpdateListList(),
|
|
1535
1535
|
proto.ondewo.nlu.IntentUpdate.toObject, includeInstance)
|
|
1536
1536
|
};
|
|
1537
1537
|
|
|
@@ -1742,14 +1742,14 @@ proto.ondewo.nlu.CleanIntentRequest.prototype.toObject = function(opt_includeIns
|
|
|
1742
1742
|
*/
|
|
1743
1743
|
proto.ondewo.nlu.CleanIntentRequest.toObject = function(includeInstance, msg) {
|
|
1744
1744
|
var f, obj = {
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1745
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1746
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1747
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1748
|
+
specialCharacters: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1749
|
+
substringWhiteListList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
1750
|
+
dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
1751
|
+
trainingPhraseCleanerOptions: (f = msg.getTrainingPhraseCleanerOptions()) && proto.ondewo.nlu.TrainingPhraseCleanerOptions.toObject(includeInstance, f),
|
|
1752
|
+
reannotateEntitiesOptions: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
1753
1753
|
};
|
|
1754
1754
|
|
|
1755
1755
|
if (includeInstance) {
|
|
@@ -2122,8 +2122,8 @@ proto.ondewo.nlu.CleanIntentResponse.prototype.toObject = function(opt_includeIn
|
|
|
2122
2122
|
*/
|
|
2123
2123
|
proto.ondewo.nlu.CleanIntentResponse.toObject = function(includeInstance, msg) {
|
|
2124
2124
|
var f, obj = {
|
|
2125
|
-
|
|
2126
|
-
|
|
2125
|
+
cleanedIntent: (f = msg.getCleanedIntent()) && ondewo_nlu_intent_pb.Intent.toObject(includeInstance, f),
|
|
2126
|
+
intentUpdate: (f = msg.getIntentUpdate()) && proto.ondewo.nlu.IntentUpdate.toObject(includeInstance, f)
|
|
2127
2127
|
};
|
|
2128
2128
|
|
|
2129
2129
|
if (includeInstance) {
|
|
@@ -2324,9 +2324,9 @@ proto.ondewo.nlu.TrainingPhraseCleanerOptions.prototype.toObject = function(opt_
|
|
|
2324
2324
|
*/
|
|
2325
2325
|
proto.ondewo.nlu.TrainingPhraseCleanerOptions.toObject = function(includeInstance, msg) {
|
|
2326
2326
|
var f, obj = {
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2327
|
+
deleteRepeatedWhitespaces: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
2328
|
+
deleteLeadingSpecialCharacters: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
2329
|
+
deleteTrailingSpecialCharacters: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
2330
2330
|
};
|
|
2331
2331
|
|
|
2332
2332
|
if (includeInstance) {
|
|
@@ -2514,8 +2514,8 @@ proto.ondewo.nlu.StringUpdate.prototype.toObject = function(opt_includeInstance)
|
|
|
2514
2514
|
*/
|
|
2515
2515
|
proto.ondewo.nlu.StringUpdate.toObject = function(includeInstance, msg) {
|
|
2516
2516
|
var f, obj = {
|
|
2517
|
-
|
|
2518
|
-
|
|
2517
|
+
pb_new: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2518
|
+
old: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2519
2519
|
};
|
|
2520
2520
|
|
|
2521
2521
|
if (includeInstance) {
|
|
@@ -2681,10 +2681,10 @@ proto.ondewo.nlu.IntentUpdate.prototype.toObject = function(opt_includeInstance)
|
|
|
2681
2681
|
*/
|
|
2682
2682
|
proto.ondewo.nlu.IntentUpdate.toObject = function(includeInstance, msg) {
|
|
2683
2683
|
var f, obj = {
|
|
2684
|
-
|
|
2685
|
-
|
|
2684
|
+
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2685
|
+
trainingPhraseUpdateListList: jspb.Message.toObjectList(msg.getTrainingPhraseUpdateListList(),
|
|
2686
2686
|
proto.ondewo.nlu.IntentUpdate.TrainingPhraseUpdate.toObject, includeInstance),
|
|
2687
|
-
|
|
2687
|
+
deletedParametersList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
2688
2688
|
};
|
|
2689
2689
|
|
|
2690
2690
|
if (includeInstance) {
|
|
@@ -2827,11 +2827,11 @@ proto.ondewo.nlu.IntentUpdate.TrainingPhraseUpdate.prototype.toObject = function
|
|
|
2827
2827
|
*/
|
|
2828
2828
|
proto.ondewo.nlu.IntentUpdate.TrainingPhraseUpdate.toObject = function(includeInstance, msg) {
|
|
2829
2829
|
var f, obj = {
|
|
2830
|
-
|
|
2831
|
-
|
|
2830
|
+
trainingPhraseUpdate: (f = msg.getTrainingPhraseUpdate()) && proto.ondewo.nlu.StringUpdate.toObject(includeInstance, f),
|
|
2831
|
+
entityUpdatesList: jspb.Message.toObjectList(msg.getEntityUpdatesList(),
|
|
2832
2832
|
proto.ondewo.nlu.StringUpdate.toObject, includeInstance),
|
|
2833
|
-
|
|
2834
|
-
|
|
2833
|
+
entitiesReannotatedList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
2834
|
+
containsUpdateVariable: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
2835
2835
|
};
|
|
2836
2836
|
|
|
2837
2837
|
if (includeInstance) {
|
|
@@ -3210,8 +3210,8 @@ proto.ondewo.nlu.EntityTypeUpdate.prototype.toObject = function(opt_includeInsta
|
|
|
3210
3210
|
*/
|
|
3211
3211
|
proto.ondewo.nlu.EntityTypeUpdate.toObject = function(includeInstance, msg) {
|
|
3212
3212
|
var f, obj = {
|
|
3213
|
-
|
|
3214
|
-
|
|
3213
|
+
entityTypeName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3214
|
+
valuesUpdateListList: jspb.Message.toObjectList(msg.getValuesUpdateListList(),
|
|
3215
3215
|
proto.ondewo.nlu.EntityTypeUpdate.EntityUpdate.toObject, includeInstance)
|
|
3216
3216
|
};
|
|
3217
3217
|
|
|
@@ -3344,8 +3344,8 @@ proto.ondewo.nlu.EntityTypeUpdate.EntityUpdate.prototype.toObject = function(opt
|
|
|
3344
3344
|
*/
|
|
3345
3345
|
proto.ondewo.nlu.EntityTypeUpdate.EntityUpdate.toObject = function(includeInstance, msg) {
|
|
3346
3346
|
var f, obj = {
|
|
3347
|
-
|
|
3348
|
-
|
|
3347
|
+
entityValueUpdate: (f = msg.getEntityValueUpdate()) && proto.ondewo.nlu.StringUpdate.toObject(includeInstance, f),
|
|
3348
|
+
entitySynonymUpdatesList: jspb.Message.toObjectList(msg.getEntitySynonymUpdatesList(),
|
|
3349
3349
|
proto.ondewo.nlu.StringUpdate.toObject, includeInstance)
|
|
3350
3350
|
};
|
|
3351
3351
|
|
|
@@ -3611,14 +3611,14 @@ proto.ondewo.nlu.CleanAllEntityTypesRequest.prototype.toObject = function(opt_in
|
|
|
3611
3611
|
*/
|
|
3612
3612
|
proto.ondewo.nlu.CleanAllEntityTypesRequest.toObject = function(includeInstance, msg) {
|
|
3613
3613
|
var f, obj = {
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3614
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3615
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3616
|
+
specialCharacters: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3617
|
+
substringWhiteListList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
3618
|
+
maxEntityCountUpdate: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
3619
|
+
forbiddenEntityTypePatternsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
3620
|
+
dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
3621
|
+
numberOfWorkers: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
3622
3622
|
};
|
|
3623
3623
|
|
|
3624
3624
|
if (includeInstance) {
|
|
@@ -3996,13 +3996,13 @@ proto.ondewo.nlu.CleanAllEntityTypesResponse.prototype.toObject = function(opt_i
|
|
|
3996
3996
|
*/
|
|
3997
3997
|
proto.ondewo.nlu.CleanAllEntityTypesResponse.toObject = function(includeInstance, msg) {
|
|
3998
3998
|
var f, obj = {
|
|
3999
|
-
|
|
3999
|
+
cleanedEntityTypesList: jspb.Message.toObjectList(msg.getCleanedEntityTypesList(),
|
|
4000
4000
|
ondewo_nlu_entity_type_pb.EntityType.toObject, includeInstance),
|
|
4001
|
-
|
|
4001
|
+
deletedEntityTypesList: jspb.Message.toObjectList(msg.getDeletedEntityTypesList(),
|
|
4002
4002
|
ondewo_nlu_entity_type_pb.EntityType.toObject, includeInstance),
|
|
4003
|
-
|
|
4003
|
+
entityTypeUpdatesList: jspb.Message.toObjectList(msg.getEntityTypeUpdatesList(),
|
|
4004
4004
|
proto.ondewo.nlu.EntityTypeUpdate.toObject, includeInstance),
|
|
4005
|
-
|
|
4005
|
+
entityTypeDeletionsList: jspb.Message.toObjectList(msg.getEntityTypeDeletionsList(),
|
|
4006
4006
|
proto.ondewo.nlu.EntityTypeUpdate.toObject, includeInstance)
|
|
4007
4007
|
};
|
|
4008
4008
|
|
|
@@ -4315,13 +4315,13 @@ proto.ondewo.nlu.CleanEntityTypeRequest.prototype.toObject = function(opt_includ
|
|
|
4315
4315
|
*/
|
|
4316
4316
|
proto.ondewo.nlu.CleanEntityTypeRequest.toObject = function(includeInstance, msg) {
|
|
4317
4317
|
var f, obj = {
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4318
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4319
|
+
entityTypeName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4320
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4321
|
+
specialCharacters: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4322
|
+
substringWhiteListList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
4323
|
+
maxEntityCountUpdate: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
4324
|
+
dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
4325
4325
|
};
|
|
4326
4326
|
|
|
4327
4327
|
if (includeInstance) {
|
|
@@ -4644,8 +4644,8 @@ proto.ondewo.nlu.CleanEntityTypeResponse.prototype.toObject = function(opt_inclu
|
|
|
4644
4644
|
*/
|
|
4645
4645
|
proto.ondewo.nlu.CleanEntityTypeResponse.toObject = function(includeInstance, msg) {
|
|
4646
4646
|
var f, obj = {
|
|
4647
|
-
|
|
4648
|
-
|
|
4647
|
+
cleanedEntityType: (f = msg.getCleanedEntityType()) && ondewo_nlu_entity_type_pb.EntityType.toObject(includeInstance, f),
|
|
4648
|
+
entityTypeUpdate: (f = msg.getEntityTypeUpdate()) && proto.ondewo.nlu.EntityTypeUpdate.toObject(includeInstance, f)
|
|
4649
4649
|
};
|
|
4650
4650
|
|
|
4651
4651
|
if (includeInstance) {
|
|
@@ -4853,14 +4853,14 @@ proto.ondewo.nlu.AddTrainingPhrasesRequest.prototype.toObject = function(opt_inc
|
|
|
4853
4853
|
*/
|
|
4854
4854
|
proto.ondewo.nlu.AddTrainingPhrasesRequest.toObject = function(includeInstance, msg) {
|
|
4855
4855
|
var f, obj = {
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4856
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4857
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4858
|
+
trainingPhraseListList: jspb.Message.toObjectList(msg.getTrainingPhraseListList(),
|
|
4859
4859
|
proto.ondewo.nlu.AddTrainingPhrasesRequest.TrainingPhraseForIntent.toObject, includeInstance),
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4860
|
+
extractEntities: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
4861
|
+
specialCharacters: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4862
|
+
trainingPhraseCleanerOptions: (f = msg.getTrainingPhraseCleanerOptions()) && proto.ondewo.nlu.TrainingPhraseCleanerOptions.toObject(includeInstance, f),
|
|
4863
|
+
numberOfWorkers: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
4864
4864
|
};
|
|
4865
4865
|
|
|
4866
4866
|
if (includeInstance) {
|
|
@@ -5049,9 +5049,9 @@ proto.ondewo.nlu.AddTrainingPhrasesRequest.TrainingPhraseForIntent.prototype.toO
|
|
|
5049
5049
|
*/
|
|
5050
5050
|
proto.ondewo.nlu.AddTrainingPhrasesRequest.TrainingPhraseForIntent.toObject = function(includeInstance, msg) {
|
|
5051
5051
|
var f, obj = {
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5052
|
+
trainingPhrase: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5053
|
+
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5054
|
+
entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(),
|
|
5055
5055
|
ondewo_nlu_intent_pb.Intent.TrainingPhrase.Entity.toObject, includeInstance)
|
|
5056
5056
|
};
|
|
5057
5057
|
|
|
@@ -5434,7 +5434,7 @@ proto.ondewo.nlu.AddTrainingPhrasesResponse.prototype.toObject = function(opt_in
|
|
|
5434
5434
|
*/
|
|
5435
5435
|
proto.ondewo.nlu.AddTrainingPhrasesResponse.toObject = function(includeInstance, msg) {
|
|
5436
5436
|
var f, obj = {
|
|
5437
|
-
|
|
5437
|
+
errorMessagesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
5438
5438
|
};
|
|
5439
5439
|
|
|
5440
5440
|
if (includeInstance) {
|
|
@@ -5583,13 +5583,13 @@ proto.ondewo.nlu.AddTrainingPhrasesFromCSVRequest.prototype.toObject = function(
|
|
|
5583
5583
|
*/
|
|
5584
5584
|
proto.ondewo.nlu.AddTrainingPhrasesFromCSVRequest.toObject = function(includeInstance, msg) {
|
|
5585
5585
|
var f, obj = {
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5586
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5587
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5588
|
+
csvContents: msg.getCsvContents_asB64(),
|
|
5589
|
+
extractEntities: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
5590
|
+
specialCharacters: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
5591
|
+
trainingPhraseCleanerOptions: (f = msg.getTrainingPhraseCleanerOptions()) && proto.ondewo.nlu.TrainingPhraseCleanerOptions.toObject(includeInstance, f),
|
|
5592
|
+
numberOfWorkers: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
5593
5593
|
};
|
|
5594
5594
|
|
|
5595
5595
|
if (includeInstance) {
|
|
@@ -334,7 +334,7 @@ proto.ondewo.nlu.PingRequest.prototype.toObject = function(opt_includeInstance)
|
|
|
334
334
|
*/
|
|
335
335
|
proto.ondewo.nlu.PingRequest.toObject = function(includeInstance, msg) {
|
|
336
336
|
var f, obj = {
|
|
337
|
-
|
|
337
|
+
session: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
338
338
|
};
|
|
339
339
|
|
|
340
340
|
if (includeInstance) {
|
|
@@ -464,11 +464,11 @@ proto.ondewo.nlu.WebhookRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
464
464
|
*/
|
|
465
465
|
proto.ondewo.nlu.WebhookRequest.toObject = function(includeInstance, msg) {
|
|
466
466
|
var f, obj = {
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
467
|
+
responseId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
468
|
+
queryResult: (f = msg.getQueryResult()) && ondewo_nlu_session_pb.QueryResult.toObject(includeInstance, f),
|
|
469
|
+
originalDetectIntentRequest: (f = msg.getOriginalDetectIntentRequest()) && proto.ondewo.nlu.OriginalDetectIntentRequest.toObject(includeInstance, f),
|
|
470
|
+
session: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
471
|
+
headers: (f = msg.getHeaders()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
472
472
|
};
|
|
473
473
|
|
|
474
474
|
if (includeInstance) {
|
|
@@ -784,15 +784,15 @@ proto.ondewo.nlu.WebhookResponse.prototype.toObject = function(opt_includeInstan
|
|
|
784
784
|
*/
|
|
785
785
|
proto.ondewo.nlu.WebhookResponse.toObject = function(includeInstance, msg) {
|
|
786
786
|
var f, obj = {
|
|
787
|
-
|
|
788
|
-
|
|
787
|
+
fulfillmentText: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
788
|
+
fulfillmentMessagesList: jspb.Message.toObjectList(msg.getFulfillmentMessagesList(),
|
|
789
789
|
ondewo_nlu_intent_pb.Intent.Message.toObject, includeInstance),
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
790
|
+
source: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
791
|
+
payload: (f = msg.getPayload()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
792
|
+
outputContextsList: jspb.Message.toObjectList(msg.getOutputContextsList(),
|
|
793
793
|
ondewo_nlu_context_pb.Context.toObject, includeInstance),
|
|
794
|
-
|
|
795
|
-
|
|
794
|
+
followupEventInput: (f = msg.getFollowupEventInput()) && ondewo_nlu_session_pb.EventInput.toObject(includeInstance, f),
|
|
795
|
+
sessionEntityTypesList: jspb.Message.toObjectList(msg.getSessionEntityTypesList(),
|
|
796
796
|
proto.ondewo.nlu.SessionEntityType.toObject, includeInstance)
|
|
797
797
|
};
|
|
798
798
|
|
|
@@ -1205,8 +1205,8 @@ proto.ondewo.nlu.OriginalDetectIntentRequest.prototype.toObject = function(opt_i
|
|
|
1205
1205
|
*/
|
|
1206
1206
|
proto.ondewo.nlu.OriginalDetectIntentRequest.toObject = function(includeInstance, msg) {
|
|
1207
1207
|
var f, obj = {
|
|
1208
|
-
|
|
1209
|
-
|
|
1208
|
+
source: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1209
|
+
payload: (f = msg.getPayload()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
1210
1210
|
};
|
|
1211
1211
|
|
|
1212
1212
|
if (includeInstance) {
|
|
@@ -1386,7 +1386,7 @@ proto.ondewo.nlu.PingResponse.prototype.toObject = function(opt_includeInstance)
|
|
|
1386
1386
|
*/
|
|
1387
1387
|
proto.ondewo.nlu.PingResponse.toObject = function(includeInstance, msg) {
|
|
1388
1388
|
var f, obj = {
|
|
1389
|
-
|
|
1389
|
+
isReachable: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
1390
1390
|
};
|
|
1391
1391
|
|
|
1392
1392
|
if (includeInstance) {
|
|
@@ -1523,9 +1523,9 @@ proto.ondewo.nlu.SessionEntityType.prototype.toObject = function(opt_includeInst
|
|
|
1523
1523
|
*/
|
|
1524
1524
|
proto.ondewo.nlu.SessionEntityType.toObject = function(includeInstance, msg) {
|
|
1525
1525
|
var f, obj = {
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1526
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1527
|
+
entityOverrideMode: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1528
|
+
entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(),
|
|
1529
1529
|
ondewo_nlu_entity_type_pb.EntityType.Entity.toObject, includeInstance)
|
|
1530
1530
|
};
|
|
1531
1531
|
|
|
@@ -1745,9 +1745,9 @@ proto.ondewo.nlu.ListSessionEntityTypesRequest.prototype.toObject = function(opt
|
|
|
1745
1745
|
*/
|
|
1746
1746
|
proto.ondewo.nlu.ListSessionEntityTypesRequest.toObject = function(includeInstance, msg) {
|
|
1747
1747
|
var f, obj = {
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1748
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1749
|
+
pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1750
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1751
1751
|
};
|
|
1752
1752
|
|
|
1753
1753
|
if (includeInstance) {
|
|
@@ -1942,9 +1942,9 @@ proto.ondewo.nlu.ListSessionEntityTypesResponse.prototype.toObject = function(op
|
|
|
1942
1942
|
*/
|
|
1943
1943
|
proto.ondewo.nlu.ListSessionEntityTypesResponse.toObject = function(includeInstance, msg) {
|
|
1944
1944
|
var f, obj = {
|
|
1945
|
-
|
|
1945
|
+
sessionEntityTypesList: jspb.Message.toObjectList(msg.getSessionEntityTypesList(),
|
|
1946
1946
|
proto.ondewo.nlu.SessionEntityType.toObject, includeInstance),
|
|
1947
|
-
|
|
1947
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1948
1948
|
};
|
|
1949
1949
|
|
|
1950
1950
|
if (includeInstance) {
|
|
@@ -2125,7 +2125,7 @@ proto.ondewo.nlu.GetSessionEntityTypeRequest.prototype.toObject = function(opt_i
|
|
|
2125
2125
|
*/
|
|
2126
2126
|
proto.ondewo.nlu.GetSessionEntityTypeRequest.toObject = function(includeInstance, msg) {
|
|
2127
2127
|
var f, obj = {
|
|
2128
|
-
|
|
2128
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2129
2129
|
};
|
|
2130
2130
|
|
|
2131
2131
|
if (includeInstance) {
|
|
@@ -2255,9 +2255,9 @@ proto.ondewo.nlu.CreateSessionEntityTypeRequest.prototype.toObject = function(op
|
|
|
2255
2255
|
*/
|
|
2256
2256
|
proto.ondewo.nlu.CreateSessionEntityTypeRequest.toObject = function(includeInstance, msg) {
|
|
2257
2257
|
var f, obj = {
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2258
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2259
|
+
sessionEntityType: (f = msg.getSessionEntityType()) && proto.ondewo.nlu.SessionEntityType.toObject(includeInstance, f),
|
|
2260
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
2261
2261
|
};
|
|
2262
2262
|
|
|
2263
2263
|
if (includeInstance) {
|
|
@@ -2466,8 +2466,8 @@ proto.ondewo.nlu.UpdateSessionEntityTypeRequest.prototype.toObject = function(op
|
|
|
2466
2466
|
*/
|
|
2467
2467
|
proto.ondewo.nlu.UpdateSessionEntityTypeRequest.toObject = function(includeInstance, msg) {
|
|
2468
2468
|
var f, obj = {
|
|
2469
|
-
|
|
2470
|
-
|
|
2469
|
+
sessionEntityType: (f = msg.getSessionEntityType()) && proto.ondewo.nlu.SessionEntityType.toObject(includeInstance, f),
|
|
2470
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
2471
2471
|
};
|
|
2472
2472
|
|
|
2473
2473
|
if (includeInstance) {
|
|
@@ -2668,7 +2668,7 @@ proto.ondewo.nlu.DeleteSessionEntityTypeRequest.prototype.toObject = function(op
|
|
|
2668
2668
|
*/
|
|
2669
2669
|
proto.ondewo.nlu.DeleteSessionEntityTypeRequest.toObject = function(includeInstance, msg) {
|
|
2670
2670
|
var f, obj = {
|
|
2671
|
-
|
|
2671
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2672
2672
|
};
|
|
2673
2673
|
|
|
2674
2674
|
if (includeInstance) {
|
package/api/ondewo/qa/qa_pb.js
CHANGED
|
@@ -345,14 +345,14 @@ proto.ondewo.qa.GetAnswerRequest.prototype.toObject = function(opt_includeInstan
|
|
|
345
345
|
*/
|
|
346
346
|
proto.ondewo.qa.GetAnswerRequest.toObject = function(includeInstance, msg) {
|
|
347
347
|
var f, obj = {
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
348
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
349
|
+
text: (f = msg.getText()) && ondewo_nlu_session_pb.TextInput.toObject(includeInstance, f),
|
|
350
|
+
maxNumAnswers: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
351
|
+
thresholdReader: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
352
|
+
thresholdRetriever: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
353
|
+
thresholdOverall: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
354
|
+
readerModelName: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
355
|
+
urlFilter: (f = msg.getUrlFilter()) && proto.ondewo.qa.UrlFilter.toObject(includeInstance, f)
|
|
356
356
|
};
|
|
357
357
|
|
|
358
358
|
if (includeInstance) {
|
|
@@ -727,7 +727,7 @@ proto.ondewo.qa.GetAnswerResponse.prototype.toObject = function(opt_includeInsta
|
|
|
727
727
|
*/
|
|
728
728
|
proto.ondewo.qa.GetAnswerResponse.toObject = function(includeInstance, msg) {
|
|
729
729
|
var f, obj = {
|
|
730
|
-
|
|
730
|
+
queryResult: (f = msg.getQueryResult()) && ondewo_nlu_session_pb.DetectIntentResponse.toObject(includeInstance, f)
|
|
731
731
|
};
|
|
732
732
|
|
|
733
733
|
if (includeInstance) {
|
|
@@ -885,7 +885,7 @@ proto.ondewo.qa.RunScraperRequest.prototype.toObject = function(opt_includeInsta
|
|
|
885
885
|
*/
|
|
886
886
|
proto.ondewo.qa.RunScraperRequest.toObject = function(includeInstance, msg) {
|
|
887
887
|
var f, obj = {
|
|
888
|
-
|
|
888
|
+
projectIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
889
889
|
};
|
|
890
890
|
|
|
891
891
|
if (includeInstance) {
|
|
@@ -1041,7 +1041,7 @@ proto.ondewo.qa.RunScraperResponse.prototype.toObject = function(opt_includeInst
|
|
|
1041
1041
|
*/
|
|
1042
1042
|
proto.ondewo.qa.RunScraperResponse.toObject = function(includeInstance, msg) {
|
|
1043
1043
|
var f, obj = {
|
|
1044
|
-
|
|
1044
|
+
scraperContainersList: jspb.Message.toObjectList(msg.getScraperContainersList(),
|
|
1045
1045
|
proto.ondewo.qa.RunScraperResponse.ScraperContainer.toObject, includeInstance)
|
|
1046
1046
|
};
|
|
1047
1047
|
|
|
@@ -1156,8 +1156,8 @@ proto.ondewo.qa.RunScraperResponse.ScraperContainer.prototype.toObject = functio
|
|
|
1156
1156
|
*/
|
|
1157
1157
|
proto.ondewo.qa.RunScraperResponse.ScraperContainer.toObject = function(includeInstance, msg) {
|
|
1158
1158
|
var f, obj = {
|
|
1159
|
-
|
|
1160
|
-
|
|
1159
|
+
containerName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1160
|
+
containerId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1161
1161
|
};
|
|
1162
1162
|
|
|
1163
1163
|
if (includeInstance) {
|
|
@@ -1354,8 +1354,8 @@ proto.ondewo.qa.RunTrainingResponse.prototype.toObject = function(opt_includeIns
|
|
|
1354
1354
|
*/
|
|
1355
1355
|
proto.ondewo.qa.RunTrainingResponse.toObject = function(includeInstance, msg) {
|
|
1356
1356
|
var f, obj = {
|
|
1357
|
-
|
|
1358
|
-
|
|
1357
|
+
f1: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
|
1358
|
+
accuracy: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
|
|
1359
1359
|
};
|
|
1360
1360
|
|
|
1361
1361
|
if (includeInstance) {
|
|
@@ -1521,9 +1521,9 @@ proto.ondewo.qa.UrlFilter.prototype.toObject = function(opt_includeInstance) {
|
|
|
1521
1521
|
*/
|
|
1522
1522
|
proto.ondewo.qa.UrlFilter.toObject = function(includeInstance, msg) {
|
|
1523
1523
|
var f, obj = {
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1524
|
+
allowedValuesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
1525
|
+
regexFilterInclude: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1526
|
+
regexFilterExclude: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1527
1527
|
};
|
|
1528
1528
|
|
|
1529
1529
|
if (includeInstance) {
|
|
@@ -1730,7 +1730,7 @@ proto.ondewo.qa.GetServerStateResponse.prototype.toObject = function(opt_include
|
|
|
1730
1730
|
*/
|
|
1731
1731
|
proto.ondewo.qa.GetServerStateResponse.toObject = function(includeInstance, msg) {
|
|
1732
1732
|
var f, obj = {
|
|
1733
|
-
|
|
1733
|
+
serverIsReady: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
1734
1734
|
};
|
|
1735
1735
|
|
|
1736
1736
|
if (includeInstance) {
|
|
@@ -1867,7 +1867,7 @@ proto.ondewo.qa.ListProjectIdsResponse.prototype.toObject = function(opt_include
|
|
|
1867
1867
|
*/
|
|
1868
1868
|
proto.ondewo.qa.ListProjectIdsResponse.toObject = function(includeInstance, msg) {
|
|
1869
1869
|
var f, obj = {
|
|
1870
|
-
|
|
1870
|
+
projectIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
1871
1871
|
};
|
|
1872
1872
|
|
|
1873
1873
|
if (includeInstance) {
|
|
@@ -2016,7 +2016,7 @@ proto.ondewo.qa.GetProjectConfigRequest.prototype.toObject = function(opt_includ
|
|
|
2016
2016
|
*/
|
|
2017
2017
|
proto.ondewo.qa.GetProjectConfigRequest.toObject = function(includeInstance, msg) {
|
|
2018
2018
|
var f, obj = {
|
|
2019
|
-
|
|
2019
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2020
2020
|
};
|
|
2021
2021
|
|
|
2022
2022
|
if (includeInstance) {
|
|
@@ -2146,7 +2146,7 @@ proto.ondewo.qa.GetProjectConfigResponse.prototype.toObject = function(opt_inclu
|
|
|
2146
2146
|
*/
|
|
2147
2147
|
proto.ondewo.qa.GetProjectConfigResponse.toObject = function(includeInstance, msg) {
|
|
2148
2148
|
var f, obj = {
|
|
2149
|
-
|
|
2149
|
+
configSerialized: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2150
2150
|
};
|
|
2151
2151
|
|
|
2152
2152
|
if (includeInstance) {
|
|
@@ -2283,7 +2283,7 @@ proto.ondewo.qa.UpdateDatabaseRequest.prototype.toObject = function(opt_includeI
|
|
|
2283
2283
|
*/
|
|
2284
2284
|
proto.ondewo.qa.UpdateDatabaseRequest.toObject = function(includeInstance, msg) {
|
|
2285
2285
|
var f, obj = {
|
|
2286
|
-
|
|
2286
|
+
projectIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
2287
2287
|
};
|
|
2288
2288
|
|
|
2289
2289
|
if (includeInstance) {
|
|
@@ -2439,7 +2439,7 @@ proto.ondewo.qa.UpdateDatabaseResponse.prototype.toObject = function(opt_include
|
|
|
2439
2439
|
*/
|
|
2440
2440
|
proto.ondewo.qa.UpdateDatabaseResponse.toObject = function(includeInstance, msg) {
|
|
2441
2441
|
var f, obj = {
|
|
2442
|
-
|
|
2442
|
+
errorMessagesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
2443
2443
|
};
|
|
2444
2444
|
|
|
2445
2445
|
if (includeInstance) {
|
package/package.json
CHANGED