@ondewo/nlu-client-typescript 6.0.0 → 6.2.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 +59 -0
- package/api/ondewo/nlu/agent_pb.js +702 -322
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/aiservices_pb.d.ts +111 -0
- package/api/ondewo/nlu/aiservices_pb.js +637 -125
- package/api/ondewo/nlu/ccai_project_pb.d.ts +56 -0
- package/api/ondewo/nlu/ccai_project_pb.js +292 -71
- 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_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/operations_pb.d.ts +23 -0
- package/api/ondewo/nlu/operations_pb.js +125 -21
- package/api/ondewo/nlu/project_role_pb.d.ts +22 -0
- package/api/ondewo/nlu/project_role_pb.js +127 -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.d.ts +198 -0
- package/api/ondewo/nlu/session_pb.js +1312 -394
- package/api/ondewo/nlu/user_pb.d.ts +83 -0
- package/api/ondewo/nlu/user_pb.js +479 -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 +3 -3
|
@@ -306,7 +306,7 @@ proto.ondewo.nlu.StatResponse.prototype.toObject = function(opt_includeInstance)
|
|
|
306
306
|
*/
|
|
307
307
|
proto.ondewo.nlu.StatResponse.toObject = function(includeInstance, msg) {
|
|
308
308
|
var f, obj = {
|
|
309
|
-
|
|
309
|
+
value: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
310
310
|
};
|
|
311
311
|
|
|
312
312
|
if (includeInstance) {
|
|
@@ -436,15 +436,15 @@ proto.ondewo.nlu.Comment.prototype.toObject = function(opt_includeInstance) {
|
|
|
436
436
|
*/
|
|
437
437
|
proto.ondewo.nlu.Comment.toObject = function(includeInstance, msg) {
|
|
438
438
|
var f, obj = {
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
439
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
440
|
+
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
441
|
+
userId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
442
|
+
commentAboutName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
443
|
+
parentCommentName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
444
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
445
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
446
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
447
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
448
448
|
};
|
|
449
449
|
|
|
450
450
|
if (includeInstance) {
|
|
@@ -848,24 +848,24 @@ proto.ondewo.nlu.Notification.prototype.toObject = function(opt_includeInstance)
|
|
|
848
848
|
*/
|
|
849
849
|
proto.ondewo.nlu.Notification.toObject = function(includeInstance, msg) {
|
|
850
850
|
var f, obj = {
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
851
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
852
|
+
userName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
853
|
+
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
854
|
+
descriptionShort: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
855
|
+
descriptionLong: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
856
|
+
notificationFlaggedStatus: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
857
|
+
notificationFlaggedTimestamp: (f = msg.getNotificationFlaggedTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
858
|
+
notificationReadStatus: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
859
|
+
notificationReadTimestamp: (f = msg.getNotificationReadTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
860
|
+
notificationOrigin: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
861
|
+
originName: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
862
|
+
originLanguage: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
863
|
+
notificationType: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
864
|
+
notificationVisibility: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
865
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
866
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
867
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
868
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
869
869
|
};
|
|
870
870
|
|
|
871
871
|
if (includeInstance) {
|
|
@@ -1579,7 +1579,7 @@ proto.ondewo.nlu.AddNotificationsRequest.prototype.toObject = function(opt_inclu
|
|
|
1579
1579
|
*/
|
|
1580
1580
|
proto.ondewo.nlu.AddNotificationsRequest.toObject = function(includeInstance, msg) {
|
|
1581
1581
|
var f, obj = {
|
|
1582
|
-
|
|
1582
|
+
notificationsList: jspb.Message.toObjectList(msg.getNotificationsList(),
|
|
1583
1583
|
proto.ondewo.nlu.Notification.toObject, includeInstance)
|
|
1584
1584
|
};
|
|
1585
1585
|
|
|
@@ -1739,7 +1739,7 @@ proto.ondewo.nlu.AddNotificationsResponse.prototype.toObject = function(opt_incl
|
|
|
1739
1739
|
*/
|
|
1740
1740
|
proto.ondewo.nlu.AddNotificationsResponse.toObject = function(includeInstance, msg) {
|
|
1741
1741
|
var f, obj = {
|
|
1742
|
-
|
|
1742
|
+
notificationsList: jspb.Message.toObjectList(msg.getNotificationsList(),
|
|
1743
1743
|
proto.ondewo.nlu.Notification.toObject, includeInstance)
|
|
1744
1744
|
};
|
|
1745
1745
|
|
|
@@ -1899,15 +1899,15 @@ proto.ondewo.nlu.NotificationFilter.prototype.toObject = function(opt_includeIns
|
|
|
1899
1899
|
*/
|
|
1900
1900
|
proto.ondewo.nlu.NotificationFilter.toObject = function(includeInstance, msg) {
|
|
1901
1901
|
var f, obj = {
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1902
|
+
languageCodesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
1903
|
+
notificationOriginsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
1904
|
+
notificationVisibilitiesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
1905
|
+
notificationFlaggedStatusList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
1906
|
+
notificationReadStatusList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
1907
|
+
earliest: (f = msg.getEarliest()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1908
|
+
latest: (f = msg.getLatest()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1909
|
+
userNamesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
1910
|
+
originNamesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
|
|
1911
1911
|
};
|
|
1912
1912
|
|
|
1913
1913
|
if (includeInstance) {
|
|
@@ -2452,9 +2452,9 @@ proto.ondewo.nlu.ListNotificationsRequest.prototype.toObject = function(opt_incl
|
|
|
2452
2452
|
*/
|
|
2453
2453
|
proto.ondewo.nlu.ListNotificationsRequest.toObject = function(includeInstance, msg) {
|
|
2454
2454
|
var f, obj = {
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2455
|
+
notificationFilter: (f = msg.getNotificationFilter()) && proto.ondewo.nlu.NotificationFilter.toObject(includeInstance, f),
|
|
2456
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2457
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
2458
2458
|
};
|
|
2459
2459
|
|
|
2460
2460
|
if (includeInstance) {
|
|
@@ -2691,7 +2691,7 @@ proto.ondewo.nlu.ListNotificationsResponse.prototype.toObject = function(opt_inc
|
|
|
2691
2691
|
*/
|
|
2692
2692
|
proto.ondewo.nlu.ListNotificationsResponse.toObject = function(includeInstance, msg) {
|
|
2693
2693
|
var f, obj = {
|
|
2694
|
-
|
|
2694
|
+
notificationsList: jspb.Message.toObjectList(msg.getNotificationsList(),
|
|
2695
2695
|
proto.ondewo.nlu.Notification.toObject, includeInstance)
|
|
2696
2696
|
};
|
|
2697
2697
|
|
|
@@ -2851,8 +2851,8 @@ proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.toObject = funct
|
|
|
2851
2851
|
*/
|
|
2852
2852
|
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.toObject = function(includeInstance, msg) {
|
|
2853
2853
|
var f, obj = {
|
|
2854
|
-
|
|
2855
|
-
|
|
2854
|
+
notificationNamesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
2855
|
+
flaggedList: (f = jspb.Message.getRepeatedBooleanField(msg, 2)) == null ? undefined : f
|
|
2856
2856
|
};
|
|
2857
2857
|
|
|
2858
2858
|
if (includeInstance) {
|
|
@@ -3058,8 +3058,8 @@ proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.toObject = function
|
|
|
3058
3058
|
*/
|
|
3059
3059
|
proto.ondewo.nlu.SetNotificationsReadStatusRequest.toObject = function(includeInstance, msg) {
|
|
3060
3060
|
var f, obj = {
|
|
3061
|
-
|
|
3062
|
-
|
|
3061
|
+
notificationNamesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
3062
|
+
flaggedList: (f = jspb.Message.getRepeatedBooleanField(msg, 2)) == null ? undefined : f
|
|
3063
3063
|
};
|
|
3064
3064
|
|
|
3065
3065
|
if (includeInstance) {
|
|
@@ -3287,12 +3287,12 @@ proto.ondewo.nlu.KeyValuePair.prototype.toObject = function(opt_includeInstance)
|
|
|
3287
3287
|
*/
|
|
3288
3288
|
proto.ondewo.nlu.KeyValuePair.toObject = function(includeInstance, msg) {
|
|
3289
3289
|
var f, obj = {
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3290
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3291
|
+
intValue: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
3292
|
+
floatValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f,
|
|
3293
|
+
doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f,
|
|
3294
|
+
stringValue: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
|
|
3295
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
3296
3296
|
};
|
|
3297
3297
|
|
|
3298
3298
|
if (includeInstance) {
|
|
@@ -259,14 +259,14 @@ proto.ondewo.nlu.Context.prototype.toObject = function(opt_includeInstance) {
|
|
|
259
259
|
*/
|
|
260
260
|
proto.ondewo.nlu.Context.toObject = function(includeInstance, msg) {
|
|
261
261
|
var f, obj = {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
262
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
263
|
+
lifespanCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
264
|
+
parametersMap: (f = msg.getParametersMap()) ? f.toObject(includeInstance, proto.ondewo.nlu.Context.Parameter.toObject) : [],
|
|
265
|
+
lifespanTime: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
266
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
267
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
268
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
269
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
270
270
|
};
|
|
271
271
|
|
|
272
272
|
if (includeInstance) {
|
|
@@ -458,14 +458,14 @@ proto.ondewo.nlu.Context.Parameter.prototype.toObject = function(opt_includeInst
|
|
|
458
458
|
*/
|
|
459
459
|
proto.ondewo.nlu.Context.Parameter.toObject = function(includeInstance, msg) {
|
|
460
460
|
var f, obj = {
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
461
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
462
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
463
|
+
value: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
464
|
+
valueOriginal: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
465
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
466
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
467
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
468
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
469
469
|
};
|
|
470
470
|
|
|
471
471
|
if (includeInstance) {
|
|
@@ -1027,8 +1027,8 @@ proto.ondewo.nlu.ListContextsRequest.prototype.toObject = function(opt_includeIn
|
|
|
1027
1027
|
*/
|
|
1028
1028
|
proto.ondewo.nlu.ListContextsRequest.toObject = function(includeInstance, msg) {
|
|
1029
1029
|
var f, obj = {
|
|
1030
|
-
|
|
1031
|
-
|
|
1030
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1031
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1032
1032
|
};
|
|
1033
1033
|
|
|
1034
1034
|
if (includeInstance) {
|
|
@@ -1194,9 +1194,9 @@ proto.ondewo.nlu.ListContextsResponse.prototype.toObject = function(opt_includeI
|
|
|
1194
1194
|
*/
|
|
1195
1195
|
proto.ondewo.nlu.ListContextsResponse.toObject = function(includeInstance, msg) {
|
|
1196
1196
|
var f, obj = {
|
|
1197
|
-
|
|
1197
|
+
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
|
|
1198
1198
|
proto.ondewo.nlu.Context.toObject, includeInstance),
|
|
1199
|
-
|
|
1199
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1200
1200
|
};
|
|
1201
1201
|
|
|
1202
1202
|
if (includeInstance) {
|
|
@@ -1377,7 +1377,7 @@ proto.ondewo.nlu.GetContextRequest.prototype.toObject = function(opt_includeInst
|
|
|
1377
1377
|
*/
|
|
1378
1378
|
proto.ondewo.nlu.GetContextRequest.toObject = function(includeInstance, msg) {
|
|
1379
1379
|
var f, obj = {
|
|
1380
|
-
|
|
1380
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1381
1381
|
};
|
|
1382
1382
|
|
|
1383
1383
|
if (includeInstance) {
|
|
@@ -1507,8 +1507,8 @@ proto.ondewo.nlu.CreateContextRequest.prototype.toObject = function(opt_includeI
|
|
|
1507
1507
|
*/
|
|
1508
1508
|
proto.ondewo.nlu.CreateContextRequest.toObject = function(includeInstance, msg) {
|
|
1509
1509
|
var f, obj = {
|
|
1510
|
-
|
|
1511
|
-
|
|
1510
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1511
|
+
context: (f = msg.getContext()) && proto.ondewo.nlu.Context.toObject(includeInstance, f)
|
|
1512
1512
|
};
|
|
1513
1513
|
|
|
1514
1514
|
if (includeInstance) {
|
|
@@ -1688,8 +1688,8 @@ proto.ondewo.nlu.UpdateContextRequest.prototype.toObject = function(opt_includeI
|
|
|
1688
1688
|
*/
|
|
1689
1689
|
proto.ondewo.nlu.UpdateContextRequest.toObject = function(includeInstance, msg) {
|
|
1690
1690
|
var f, obj = {
|
|
1691
|
-
|
|
1692
|
-
|
|
1691
|
+
context: (f = msg.getContext()) && proto.ondewo.nlu.Context.toObject(includeInstance, f),
|
|
1692
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
1693
1693
|
};
|
|
1694
1694
|
|
|
1695
1695
|
if (includeInstance) {
|
|
@@ -1890,7 +1890,7 @@ proto.ondewo.nlu.DeleteContextRequest.prototype.toObject = function(opt_includeI
|
|
|
1890
1890
|
*/
|
|
1891
1891
|
proto.ondewo.nlu.DeleteContextRequest.toObject = function(includeInstance, msg) {
|
|
1892
1892
|
var f, obj = {
|
|
1893
|
-
|
|
1893
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1894
1894
|
};
|
|
1895
1895
|
|
|
1896
1896
|
if (includeInstance) {
|
|
@@ -2020,7 +2020,7 @@ proto.ondewo.nlu.DeleteAllContextsRequest.prototype.toObject = function(opt_incl
|
|
|
2020
2020
|
*/
|
|
2021
2021
|
proto.ondewo.nlu.DeleteAllContextsRequest.toObject = function(includeInstance, msg) {
|
|
2022
2022
|
var f, obj = {
|
|
2023
|
-
|
|
2023
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2024
2024
|
};
|
|
2025
2025
|
|
|
2026
2026
|
if (includeInstance) {
|