@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
|
@@ -86,28 +86,28 @@ proto.ondewo.nlu.OperationMetadata.prototype.toObject = function(opt_includeInst
|
|
|
86
86
|
*/
|
|
87
87
|
proto.ondewo.nlu.OperationMetadata.toObject = function(includeInstance, msg) {
|
|
88
88
|
var f, obj = {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
89
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
90
|
+
parentOperationName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
91
|
+
subOperationNamesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
92
|
+
createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
93
|
+
startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
94
|
+
endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
95
|
+
isCancellationRequested: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
96
|
+
cancelCommand: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
97
|
+
userIdCreated: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
98
|
+
userIdCancelled: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
99
|
+
projectParent: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
100
|
+
operationType: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
101
|
+
hostName: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
102
|
+
numReruns: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
103
|
+
maxNumReruns: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
104
|
+
description: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
105
|
+
logList: (f = jspb.Message.getRepeatedField(msg, 17)) == null ? undefined : f,
|
|
106
|
+
logLimit: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
107
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
108
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
109
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
110
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 22, "")
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
if (includeInstance) {
|
|
@@ -248,11 +248,11 @@ proto.ondewo.nlu.Operation.prototype.toObject = function(opt_includeInstance) {
|
|
|
248
248
|
*/
|
|
249
249
|
proto.ondewo.nlu.Operation.toObject = function(includeInstance, msg) {
|
|
250
250
|
var f, obj = {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
251
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
252
|
+
metadata: (f = msg.getMetadata()) && ondewo_nlu_operation_metadata_pb.OperationMetadata.toObject(includeInstance, f),
|
|
253
|
+
done: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
254
|
+
error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f),
|
|
255
|
+
response: (f = msg.getResponse()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
256
256
|
};
|
|
257
257
|
|
|
258
258
|
if (includeInstance) {
|
|
@@ -561,7 +561,7 @@ proto.ondewo.nlu.GetOperationRequest.prototype.toObject = function(opt_includeIn
|
|
|
561
561
|
*/
|
|
562
562
|
proto.ondewo.nlu.GetOperationRequest.toObject = function(includeInstance, msg) {
|
|
563
563
|
var f, obj = {
|
|
564
|
-
|
|
564
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
565
565
|
};
|
|
566
566
|
|
|
567
567
|
if (includeInstance) {
|
|
@@ -691,11 +691,11 @@ proto.ondewo.nlu.ListOperationsRequest.prototype.toObject = function(opt_include
|
|
|
691
691
|
*/
|
|
692
692
|
proto.ondewo.nlu.ListOperationsRequest.toObject = function(includeInstance, msg) {
|
|
693
693
|
var f, obj = {
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
694
|
+
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
695
|
+
filter: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
696
|
+
pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
697
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
698
|
+
operationFilter: (f = msg.getOperationFilter()) && proto.ondewo.nlu.OperationFilter.toObject(includeInstance, f)
|
|
699
699
|
};
|
|
700
700
|
|
|
701
701
|
if (includeInstance) {
|
|
@@ -1009,12 +1009,12 @@ proto.ondewo.nlu.OperationFilter.prototype.toObject = function(opt_includeInstan
|
|
|
1009
1009
|
*/
|
|
1010
1010
|
proto.ondewo.nlu.OperationFilter.toObject = function(includeInstance, msg) {
|
|
1011
1011
|
var f, obj = {
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1012
|
+
projectParentsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
1013
|
+
statusesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
1014
|
+
typesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
1015
|
+
startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1016
|
+
endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1017
|
+
userIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
|
|
1018
1018
|
};
|
|
1019
1019
|
|
|
1020
1020
|
if (includeInstance) {
|
|
@@ -1418,9 +1418,9 @@ proto.ondewo.nlu.ListOperationsResponse.prototype.toObject = function(opt_includ
|
|
|
1418
1418
|
*/
|
|
1419
1419
|
proto.ondewo.nlu.ListOperationsResponse.toObject = function(includeInstance, msg) {
|
|
1420
1420
|
var f, obj = {
|
|
1421
|
-
|
|
1421
|
+
operationsList: jspb.Message.toObjectList(msg.getOperationsList(),
|
|
1422
1422
|
proto.ondewo.nlu.Operation.toObject, includeInstance),
|
|
1423
|
-
|
|
1423
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1424
1424
|
};
|
|
1425
1425
|
|
|
1426
1426
|
if (includeInstance) {
|
|
@@ -1601,7 +1601,7 @@ proto.ondewo.nlu.CancelOperationRequest.prototype.toObject = function(opt_includ
|
|
|
1601
1601
|
*/
|
|
1602
1602
|
proto.ondewo.nlu.CancelOperationRequest.toObject = function(includeInstance, msg) {
|
|
1603
1603
|
var f, obj = {
|
|
1604
|
-
|
|
1604
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1605
1605
|
};
|
|
1606
1606
|
|
|
1607
1607
|
if (includeInstance) {
|
|
@@ -1731,7 +1731,7 @@ proto.ondewo.nlu.DeleteOperationRequest.prototype.toObject = function(opt_includ
|
|
|
1731
1731
|
*/
|
|
1732
1732
|
proto.ondewo.nlu.DeleteOperationRequest.toObject = function(includeInstance, msg) {
|
|
1733
1733
|
var f, obj = {
|
|
1734
|
-
|
|
1734
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1735
1735
|
};
|
|
1736
1736
|
|
|
1737
1737
|
if (includeInstance) {
|
|
@@ -225,13 +225,13 @@ proto.ondewo.nlu.ProjectRole.prototype.toObject = function(opt_includeInstance)
|
|
|
225
225
|
*/
|
|
226
226
|
proto.ondewo.nlu.ProjectRole.toObject = function(includeInstance, msg) {
|
|
227
227
|
var f, obj = {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
228
|
+
roleId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
229
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
230
|
+
permissionsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
231
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
232
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
233
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
234
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
235
235
|
};
|
|
236
236
|
|
|
237
237
|
if (includeInstance) {
|
|
@@ -596,9 +596,9 @@ proto.ondewo.nlu.CreateProjectRoleRequest.prototype.toObject = function(opt_incl
|
|
|
596
596
|
*/
|
|
597
597
|
proto.ondewo.nlu.CreateProjectRoleRequest.toObject = function(includeInstance, msg) {
|
|
598
598
|
var f, obj = {
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
599
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
600
|
+
role: (f = msg.getRole()) && proto.ondewo.nlu.ProjectRole.toObject(includeInstance, f),
|
|
601
|
+
projectRoleView: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
602
602
|
};
|
|
603
603
|
|
|
604
604
|
if (includeInstance) {
|
|
@@ -807,10 +807,10 @@ proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.toObject = function(opt_incl
|
|
|
807
807
|
*/
|
|
808
808
|
proto.ondewo.nlu.UpdateProjectRoleRequest.toObject = function(includeInstance, msg) {
|
|
809
809
|
var f, obj = {
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
810
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
811
|
+
role: (f = msg.getRole()) && proto.ondewo.nlu.ProjectRole.toObject(includeInstance, f),
|
|
812
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
|
|
813
|
+
projectRoleView: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
814
814
|
};
|
|
815
815
|
|
|
816
816
|
if (includeInstance) {
|
|
@@ -1095,10 +1095,10 @@ proto.ondewo.nlu.GetProjectRoleRequest.prototype.toObject = function(opt_include
|
|
|
1095
1095
|
*/
|
|
1096
1096
|
proto.ondewo.nlu.GetProjectRoleRequest.toObject = function(includeInstance, msg) {
|
|
1097
1097
|
var f, obj = {
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1098
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1099
|
+
roleId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
1100
|
+
roleName: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
|
|
1101
|
+
projectRoleView: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
1102
1102
|
};
|
|
1103
1103
|
|
|
1104
1104
|
if (includeInstance) {
|
|
@@ -1351,8 +1351,8 @@ proto.ondewo.nlu.DeleteProjectRoleRequest.prototype.toObject = function(opt_incl
|
|
|
1351
1351
|
*/
|
|
1352
1352
|
proto.ondewo.nlu.DeleteProjectRoleRequest.toObject = function(includeInstance, msg) {
|
|
1353
1353
|
var f, obj = {
|
|
1354
|
-
|
|
1355
|
-
|
|
1354
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1355
|
+
roleId: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
1356
1356
|
};
|
|
1357
1357
|
|
|
1358
1358
|
if (includeInstance) {
|
|
@@ -1511,9 +1511,9 @@ proto.ondewo.nlu.ListProjectRolesRequest.prototype.toObject = function(opt_inclu
|
|
|
1511
1511
|
*/
|
|
1512
1512
|
proto.ondewo.nlu.ListProjectRolesRequest.toObject = function(includeInstance, msg) {
|
|
1513
1513
|
var f, obj = {
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1514
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1515
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1516
|
+
projectRoleView: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
1517
1517
|
};
|
|
1518
1518
|
|
|
1519
1519
|
if (includeInstance) {
|
|
@@ -1708,9 +1708,9 @@ proto.ondewo.nlu.ListProjectRolesResponse.prototype.toObject = function(opt_incl
|
|
|
1708
1708
|
*/
|
|
1709
1709
|
proto.ondewo.nlu.ListProjectRolesResponse.toObject = function(includeInstance, msg) {
|
|
1710
1710
|
var f, obj = {
|
|
1711
|
-
|
|
1711
|
+
projectRolesList: jspb.Message.toObjectList(msg.getProjectRolesList(),
|
|
1712
1712
|
proto.ondewo.nlu.ProjectRole.toObject, includeInstance),
|
|
1713
|
-
|
|
1713
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1714
1714
|
};
|
|
1715
1715
|
|
|
1716
1716
|
if (includeInstance) {
|
|
@@ -149,8 +149,8 @@ proto.ondewo.nlu.GetIntentCountRequest.prototype.toObject = function(opt_include
|
|
|
149
149
|
*/
|
|
150
150
|
proto.ondewo.nlu.GetIntentCountRequest.toObject = function(includeInstance, msg) {
|
|
151
151
|
var f, obj = {
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
153
|
+
filterByCategory: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
if (includeInstance) {
|
|
@@ -309,8 +309,8 @@ proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.toObject = function(opt_inc
|
|
|
309
309
|
*/
|
|
310
310
|
proto.ondewo.nlu.GetEntityTypeCountRequest.toObject = function(includeInstance, msg) {
|
|
311
311
|
var f, obj = {
|
|
312
|
-
|
|
313
|
-
|
|
312
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
313
|
+
filterByCategory: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
314
314
|
};
|
|
315
315
|
|
|
316
316
|
if (includeInstance) {
|
|
@@ -469,7 +469,7 @@ proto.ondewo.nlu.GetProjectStatRequest.prototype.toObject = function(opt_include
|
|
|
469
469
|
*/
|
|
470
470
|
proto.ondewo.nlu.GetProjectStatRequest.toObject = function(includeInstance, msg) {
|
|
471
471
|
var f, obj = {
|
|
472
|
-
|
|
472
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
473
473
|
};
|
|
474
474
|
|
|
475
475
|
if (includeInstance) {
|
|
@@ -599,8 +599,8 @@ proto.ondewo.nlu.GetProjectElementStatRequest.prototype.toObject = function(opt_
|
|
|
599
599
|
*/
|
|
600
600
|
proto.ondewo.nlu.GetProjectElementStatRequest.toObject = function(includeInstance, msg) {
|
|
601
601
|
var f, obj = {
|
|
602
|
-
|
|
603
|
-
|
|
602
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
603
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
604
604
|
};
|
|
605
605
|
|
|
606
606
|
if (includeInstance) {
|
|
@@ -81,7 +81,7 @@ proto.ondewo.nlu.GetUserProjectCountRequest.prototype.toObject = function(opt_in
|
|
|
81
81
|
*/
|
|
82
82
|
proto.ondewo.nlu.GetUserProjectCountRequest.toObject = function(includeInstance, msg) {
|
|
83
83
|
var f, obj = {
|
|
84
|
-
|
|
84
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
if (includeInstance) {
|