@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
|
@@ -698,20 +698,20 @@ proto.ondewo.nlu.EntityType.prototype.toObject = function(opt_includeInstance) {
|
|
|
698
698
|
*/
|
|
699
699
|
proto.ondewo.nlu.EntityType.toObject = function(includeInstance, msg) {
|
|
700
700
|
var f, obj = {
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
701
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
702
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
703
|
+
kind: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
704
|
+
autoExpansionMode: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
705
|
+
entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(),
|
|
706
706
|
proto.ondewo.nlu.EntityType.Entity.toObject, includeInstance),
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
707
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
708
|
+
entityCount: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
709
|
+
status: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
710
|
+
synonymCount: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
711
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
712
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
713
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
714
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
715
715
|
};
|
|
716
716
|
|
|
717
717
|
if (includeInstance) {
|
|
@@ -993,16 +993,16 @@ proto.ondewo.nlu.EntityType.Entity.prototype.toObject = function(opt_includeInst
|
|
|
993
993
|
*/
|
|
994
994
|
proto.ondewo.nlu.EntityType.Entity.toObject = function(includeInstance, msg) {
|
|
995
995
|
var f, obj = {
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
996
|
+
value: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
997
|
+
synonymsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
998
|
+
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
999
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1000
|
+
synonymCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1001
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1002
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1003
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1004
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1005
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
1006
1006
|
};
|
|
1007
1007
|
|
|
1008
1008
|
if (includeInstance) {
|
|
@@ -1746,12 +1746,12 @@ proto.ondewo.nlu.ListEntityTypesRequest.prototype.toObject = function(opt_includ
|
|
|
1746
1746
|
*/
|
|
1747
1747
|
proto.ondewo.nlu.ListEntityTypesRequest.toObject = function(includeInstance, msg) {
|
|
1748
1748
|
var f, obj = {
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1749
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1750
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1751
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1752
|
+
entityTypeView: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1753
|
+
filterByCategory: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
1754
|
+
sortByField: (f = msg.getSortByField()) && proto.ondewo.nlu.EntityTypeSorting.toObject(includeInstance, f)
|
|
1755
1755
|
};
|
|
1756
1756
|
|
|
1757
1757
|
if (includeInstance) {
|
|
@@ -2054,9 +2054,9 @@ proto.ondewo.nlu.ListEntityTypesResponse.prototype.toObject = function(opt_inclu
|
|
|
2054
2054
|
*/
|
|
2055
2055
|
proto.ondewo.nlu.ListEntityTypesResponse.toObject = function(includeInstance, msg) {
|
|
2056
2056
|
var f, obj = {
|
|
2057
|
-
|
|
2057
|
+
entityTypesList: jspb.Message.toObjectList(msg.getEntityTypesList(),
|
|
2058
2058
|
proto.ondewo.nlu.EntityType.toObject, includeInstance),
|
|
2059
|
-
|
|
2059
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2060
2060
|
};
|
|
2061
2061
|
|
|
2062
2062
|
if (includeInstance) {
|
|
@@ -2237,10 +2237,10 @@ proto.ondewo.nlu.GetEntityTypeRequest.prototype.toObject = function(opt_includeI
|
|
|
2237
2237
|
*/
|
|
2238
2238
|
proto.ondewo.nlu.GetEntityTypeRequest.toObject = function(includeInstance, msg) {
|
|
2239
2239
|
var f, obj = {
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2240
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2241
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2242
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
2243
|
+
entityTypeView: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
2244
2244
|
};
|
|
2245
2245
|
|
|
2246
2246
|
if (includeInstance) {
|
|
@@ -2457,10 +2457,10 @@ proto.ondewo.nlu.CreateEntityTypeRequest.prototype.toObject = function(opt_inclu
|
|
|
2457
2457
|
*/
|
|
2458
2458
|
proto.ondewo.nlu.CreateEntityTypeRequest.toObject = function(includeInstance, msg) {
|
|
2459
2459
|
var f, obj = {
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2460
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2461
|
+
entityType: (f = msg.getEntityType()) && proto.ondewo.nlu.EntityType.toObject(includeInstance, f),
|
|
2462
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2463
|
+
entityTypeView: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
2464
2464
|
};
|
|
2465
2465
|
|
|
2466
2466
|
if (includeInstance) {
|
|
@@ -2698,10 +2698,10 @@ proto.ondewo.nlu.UpdateEntityTypeRequest.prototype.toObject = function(opt_inclu
|
|
|
2698
2698
|
*/
|
|
2699
2699
|
proto.ondewo.nlu.UpdateEntityTypeRequest.toObject = function(includeInstance, msg) {
|
|
2700
2700
|
var f, obj = {
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2701
|
+
entityType: (f = msg.getEntityType()) && proto.ondewo.nlu.EntityType.toObject(includeInstance, f),
|
|
2702
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2703
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
|
|
2704
|
+
entityTypeView: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
2705
2705
|
};
|
|
2706
2706
|
|
|
2707
2707
|
if (includeInstance) {
|
|
@@ -2960,7 +2960,7 @@ proto.ondewo.nlu.DeleteEntityTypeRequest.prototype.toObject = function(opt_inclu
|
|
|
2960
2960
|
*/
|
|
2961
2961
|
proto.ondewo.nlu.DeleteEntityTypeRequest.toObject = function(includeInstance, msg) {
|
|
2962
2962
|
var f, obj = {
|
|
2963
|
-
|
|
2963
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2964
2964
|
};
|
|
2965
2965
|
|
|
2966
2966
|
if (includeInstance) {
|
|
@@ -3116,11 +3116,11 @@ proto.ondewo.nlu.BatchUpdateEntityTypesRequest.prototype.toObject = function(opt
|
|
|
3116
3116
|
*/
|
|
3117
3117
|
proto.ondewo.nlu.BatchUpdateEntityTypesRequest.toObject = function(includeInstance, msg) {
|
|
3118
3118
|
var f, obj = {
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3119
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3120
|
+
entityTypeBatchUri: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
3121
|
+
entityTypeBatchInline: (f = msg.getEntityTypeBatchInline()) && proto.ondewo.nlu.EntityTypeBatch.toObject(includeInstance, f),
|
|
3122
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3123
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3124
3124
|
};
|
|
3125
3125
|
|
|
3126
3126
|
if (includeInstance) {
|
|
@@ -3433,7 +3433,7 @@ proto.ondewo.nlu.BatchUpdateEntityTypesResponse.prototype.toObject = function(op
|
|
|
3433
3433
|
*/
|
|
3434
3434
|
proto.ondewo.nlu.BatchUpdateEntityTypesResponse.toObject = function(includeInstance, msg) {
|
|
3435
3435
|
var f, obj = {
|
|
3436
|
-
|
|
3436
|
+
entityTypesList: jspb.Message.toObjectList(msg.getEntityTypesList(),
|
|
3437
3437
|
proto.ondewo.nlu.EntityType.toObject, includeInstance)
|
|
3438
3438
|
};
|
|
3439
3439
|
|
|
@@ -3593,8 +3593,8 @@ proto.ondewo.nlu.BatchDeleteEntityTypesRequest.prototype.toObject = function(opt
|
|
|
3593
3593
|
*/
|
|
3594
3594
|
proto.ondewo.nlu.BatchDeleteEntityTypesRequest.toObject = function(includeInstance, msg) {
|
|
3595
3595
|
var f, obj = {
|
|
3596
|
-
|
|
3597
|
-
|
|
3596
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3597
|
+
entityTypeNamesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
3598
3598
|
};
|
|
3599
3599
|
|
|
3600
3600
|
if (includeInstance) {
|
|
@@ -3779,7 +3779,7 @@ proto.ondewo.nlu.EntityTypeBatch.prototype.toObject = function(opt_includeInstan
|
|
|
3779
3779
|
*/
|
|
3780
3780
|
proto.ondewo.nlu.EntityTypeBatch.toObject = function(includeInstance, msg) {
|
|
3781
3781
|
var f, obj = {
|
|
3782
|
-
|
|
3782
|
+
entityTypesList: jspb.Message.toObjectList(msg.getEntityTypesList(),
|
|
3783
3783
|
proto.ondewo.nlu.EntityType.toObject, includeInstance)
|
|
3784
3784
|
};
|
|
3785
3785
|
|
|
@@ -3932,8 +3932,8 @@ proto.ondewo.nlu.EntityTypeSorting.prototype.toObject = function(opt_includeInst
|
|
|
3932
3932
|
*/
|
|
3933
3933
|
proto.ondewo.nlu.EntityTypeSorting.toObject = function(includeInstance, msg) {
|
|
3934
3934
|
var f, obj = {
|
|
3935
|
-
|
|
3936
|
-
|
|
3935
|
+
sortingField: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3936
|
+
sortingMode: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
3937
3937
|
};
|
|
3938
3938
|
|
|
3939
3939
|
if (includeInstance) {
|
|
@@ -4130,8 +4130,8 @@ proto.ondewo.nlu.EntityStatus.prototype.toObject = function(opt_includeInstance)
|
|
|
4130
4130
|
*/
|
|
4131
4131
|
proto.ondewo.nlu.EntityStatus.toObject = function(includeInstance, msg) {
|
|
4132
4132
|
var f, obj = {
|
|
4133
|
-
|
|
4134
|
-
|
|
4133
|
+
entity: (f = msg.getEntity()) && proto.ondewo.nlu.EntityType.Entity.toObject(includeInstance, f),
|
|
4134
|
+
errorMessage: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
|
|
4135
4135
|
};
|
|
4136
4136
|
|
|
4137
4137
|
if (includeInstance) {
|
|
@@ -4336,9 +4336,9 @@ proto.ondewo.nlu.BatchEntitiesResponse.prototype.toObject = function(opt_include
|
|
|
4336
4336
|
*/
|
|
4337
4337
|
proto.ondewo.nlu.BatchEntitiesResponse.toObject = function(includeInstance, msg) {
|
|
4338
4338
|
var f, obj = {
|
|
4339
|
-
|
|
4339
|
+
entityStatusesList: jspb.Message.toObjectList(msg.getEntityStatusesList(),
|
|
4340
4340
|
proto.ondewo.nlu.EntityStatus.toObject, includeInstance),
|
|
4341
|
-
|
|
4341
|
+
hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
4342
4342
|
};
|
|
4343
4343
|
|
|
4344
4344
|
if (includeInstance) {
|
|
@@ -4519,8 +4519,8 @@ proto.ondewo.nlu.CreateEntityRequest.prototype.toObject = function(opt_includeIn
|
|
|
4519
4519
|
*/
|
|
4520
4520
|
proto.ondewo.nlu.CreateEntityRequest.toObject = function(includeInstance, msg) {
|
|
4521
4521
|
var f, obj = {
|
|
4522
|
-
|
|
4523
|
-
|
|
4522
|
+
entityTypeName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4523
|
+
entity: (f = msg.getEntity()) && proto.ondewo.nlu.EntityType.Entity.toObject(includeInstance, f)
|
|
4524
4524
|
};
|
|
4525
4525
|
|
|
4526
4526
|
if (includeInstance) {
|
|
@@ -4707,7 +4707,7 @@ proto.ondewo.nlu.BatchCreateEntitiesRequest.prototype.toObject = function(opt_in
|
|
|
4707
4707
|
*/
|
|
4708
4708
|
proto.ondewo.nlu.BatchCreateEntitiesRequest.toObject = function(includeInstance, msg) {
|
|
4709
4709
|
var f, obj = {
|
|
4710
|
-
|
|
4710
|
+
createEntityRequestsList: jspb.Message.toObjectList(msg.getCreateEntityRequestsList(),
|
|
4711
4711
|
proto.ondewo.nlu.CreateEntityRequest.toObject, includeInstance)
|
|
4712
4712
|
};
|
|
4713
4713
|
|
|
@@ -4867,7 +4867,7 @@ proto.ondewo.nlu.BatchUpdateEntitiesRequest.prototype.toObject = function(opt_in
|
|
|
4867
4867
|
*/
|
|
4868
4868
|
proto.ondewo.nlu.BatchUpdateEntitiesRequest.toObject = function(includeInstance, msg) {
|
|
4869
4869
|
var f, obj = {
|
|
4870
|
-
|
|
4870
|
+
entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(),
|
|
4871
4871
|
proto.ondewo.nlu.EntityType.Entity.toObject, includeInstance)
|
|
4872
4872
|
};
|
|
4873
4873
|
|
|
@@ -5020,7 +5020,7 @@ proto.ondewo.nlu.UpdateEntityRequest.prototype.toObject = function(opt_includeIn
|
|
|
5020
5020
|
*/
|
|
5021
5021
|
proto.ondewo.nlu.UpdateEntityRequest.toObject = function(includeInstance, msg) {
|
|
5022
5022
|
var f, obj = {
|
|
5023
|
-
|
|
5023
|
+
entity: (f = msg.getEntity()) && proto.ondewo.nlu.EntityType.Entity.toObject(includeInstance, f)
|
|
5024
5024
|
};
|
|
5025
5025
|
|
|
5026
5026
|
if (includeInstance) {
|
|
@@ -5171,7 +5171,7 @@ proto.ondewo.nlu.GetEntityRequest.prototype.toObject = function(opt_includeInsta
|
|
|
5171
5171
|
*/
|
|
5172
5172
|
proto.ondewo.nlu.GetEntityRequest.toObject = function(includeInstance, msg) {
|
|
5173
5173
|
var f, obj = {
|
|
5174
|
-
|
|
5174
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
5175
5175
|
};
|
|
5176
5176
|
|
|
5177
5177
|
if (includeInstance) {
|
|
@@ -5308,7 +5308,7 @@ proto.ondewo.nlu.BatchGetEntitiesRequest.prototype.toObject = function(opt_inclu
|
|
|
5308
5308
|
*/
|
|
5309
5309
|
proto.ondewo.nlu.BatchGetEntitiesRequest.toObject = function(includeInstance, msg) {
|
|
5310
5310
|
var f, obj = {
|
|
5311
|
-
|
|
5311
|
+
namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
5312
5312
|
};
|
|
5313
5313
|
|
|
5314
5314
|
if (includeInstance) {
|
|
@@ -5464,7 +5464,7 @@ proto.ondewo.nlu.BatchDeleteEntitiesRequest.prototype.toObject = function(opt_in
|
|
|
5464
5464
|
*/
|
|
5465
5465
|
proto.ondewo.nlu.BatchDeleteEntitiesRequest.toObject = function(includeInstance, msg) {
|
|
5466
5466
|
var f, obj = {
|
|
5467
|
-
|
|
5467
|
+
namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
5468
5468
|
};
|
|
5469
5469
|
|
|
5470
5470
|
if (includeInstance) {
|
|
@@ -5613,7 +5613,7 @@ proto.ondewo.nlu.DeleteEntityRequest.prototype.toObject = function(opt_includeIn
|
|
|
5613
5613
|
*/
|
|
5614
5614
|
proto.ondewo.nlu.DeleteEntityRequest.toObject = function(includeInstance, msg) {
|
|
5615
5615
|
var f, obj = {
|
|
5616
|
-
|
|
5616
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
5617
5617
|
};
|
|
5618
5618
|
|
|
5619
5619
|
if (includeInstance) {
|
|
@@ -5769,8 +5769,8 @@ proto.ondewo.nlu.DeleteEntityStatus.prototype.toObject = function(opt_includeIns
|
|
|
5769
5769
|
*/
|
|
5770
5770
|
proto.ondewo.nlu.DeleteEntityStatus.toObject = function(includeInstance, msg) {
|
|
5771
5771
|
var f, obj = {
|
|
5772
|
-
|
|
5773
|
-
|
|
5772
|
+
successfullyDeleted: (f = msg.getSuccessfullyDeleted()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
|
|
5773
|
+
errorMessage: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
|
|
5774
5774
|
};
|
|
5775
5775
|
|
|
5776
5776
|
if (includeInstance) {
|
|
@@ -5975,9 +5975,9 @@ proto.ondewo.nlu.BatchDeleteEntitiesResponse.prototype.toObject = function(opt_i
|
|
|
5975
5975
|
*/
|
|
5976
5976
|
proto.ondewo.nlu.BatchDeleteEntitiesResponse.toObject = function(includeInstance, msg) {
|
|
5977
5977
|
var f, obj = {
|
|
5978
|
-
|
|
5978
|
+
deleteStatusesList: jspb.Message.toObjectList(msg.getDeleteStatusesList(),
|
|
5979
5979
|
proto.ondewo.nlu.DeleteEntityStatus.toObject, includeInstance),
|
|
5980
|
-
|
|
5980
|
+
hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
5981
5981
|
};
|
|
5982
5982
|
|
|
5983
5983
|
if (includeInstance) {
|
|
@@ -6158,11 +6158,11 @@ proto.ondewo.nlu.ListEntitiesRequest.prototype.toObject = function(opt_includeIn
|
|
|
6158
6158
|
*/
|
|
6159
6159
|
proto.ondewo.nlu.ListEntitiesRequest.toObject = function(includeInstance, msg) {
|
|
6160
6160
|
var f, obj = {
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6161
|
+
entityTypeName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6162
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6163
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6164
|
+
sortByField: (f = msg.getSortByField()) && proto.ondewo.nlu.EntityValueSorting.toObject(includeInstance, f),
|
|
6165
|
+
searchByPattern: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
6166
6166
|
};
|
|
6167
6167
|
|
|
6168
6168
|
if (includeInstance) {
|
|
@@ -6436,9 +6436,9 @@ proto.ondewo.nlu.ListEntitiesResponse.prototype.toObject = function(opt_includeI
|
|
|
6436
6436
|
*/
|
|
6437
6437
|
proto.ondewo.nlu.ListEntitiesResponse.toObject = function(includeInstance, msg) {
|
|
6438
6438
|
var f, obj = {
|
|
6439
|
-
|
|
6439
|
+
entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(),
|
|
6440
6440
|
proto.ondewo.nlu.EntityType.Entity.toObject, includeInstance),
|
|
6441
|
-
|
|
6441
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
6442
6442
|
};
|
|
6443
6443
|
|
|
6444
6444
|
if (includeInstance) {
|
|
@@ -6619,8 +6619,8 @@ proto.ondewo.nlu.EntityValueSorting.prototype.toObject = function(opt_includeIns
|
|
|
6619
6619
|
*/
|
|
6620
6620
|
proto.ondewo.nlu.EntityValueSorting.toObject = function(includeInstance, msg) {
|
|
6621
6621
|
var f, obj = {
|
|
6622
|
-
|
|
6623
|
-
|
|
6622
|
+
sortingField: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
6623
|
+
sortingMode: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
6624
6624
|
};
|
|
6625
6625
|
|
|
6626
6626
|
if (includeInstance) {
|