@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
|
@@ -396,16 +396,16 @@ proto.ondewo.nlu.CcaiProject.prototype.toObject = function(opt_includeInstance)
|
|
|
396
396
|
*/
|
|
397
397
|
proto.ondewo.nlu.CcaiProject.toObject = function(includeInstance, msg) {
|
|
398
398
|
var f, obj = {
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
399
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
400
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
401
|
+
ownerName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
402
|
+
ccaiServicesMapMap: (f = msg.getCcaiServicesMapMap()) ? f.toObject(includeInstance, proto.ondewo.nlu.CcaiServiceList.toObject) : [],
|
|
403
|
+
ccaiProjectStatus: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
404
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
405
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
406
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
407
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
408
|
+
nluProjectName: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
409
409
|
};
|
|
410
410
|
|
|
411
411
|
if (includeInstance) {
|
|
@@ -849,7 +849,7 @@ proto.ondewo.nlu.CcaiServiceList.prototype.toObject = function(opt_includeInstan
|
|
|
849
849
|
*/
|
|
850
850
|
proto.ondewo.nlu.CcaiServiceList.toObject = function(includeInstance, msg) {
|
|
851
851
|
var f, obj = {
|
|
852
|
-
|
|
852
|
+
ccaiServicesList: jspb.Message.toObjectList(msg.getCcaiServicesList(),
|
|
853
853
|
proto.ondewo.nlu.CcaiService.toObject, includeInstance)
|
|
854
854
|
};
|
|
855
855
|
|
|
@@ -1002,31 +1002,31 @@ proto.ondewo.nlu.CcaiService.prototype.toObject = function(opt_includeInstance)
|
|
|
1002
1002
|
*/
|
|
1003
1003
|
proto.ondewo.nlu.CcaiService.toObject = function(includeInstance, msg) {
|
|
1004
1004
|
var f, obj = {
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1005
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1006
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1007
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1008
|
+
grpcHost: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1009
|
+
grpcPort: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1010
|
+
webgrpcHost: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1011
|
+
webgrpcPort: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
1012
|
+
grpcCert: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1013
|
+
host: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1014
|
+
port: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
1015
|
+
port2: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
1016
|
+
httpBasicAuthToken: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
1017
|
+
accountName: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
1018
|
+
accountPassword: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
1019
|
+
apiKey: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
1020
|
+
ccaiServiceType: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
1021
|
+
ccaiProjectName: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
1022
|
+
ccaiServiceConfig: (f = msg.getCcaiServiceConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
1023
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1024
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1025
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
1026
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
1027
|
+
headers: (f = msg.getHeaders()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
1028
|
+
ccaiServiceProvider: (f = jspb.Message.getField(msg, 24)) == null ? undefined : f,
|
|
1029
|
+
serviceHierarchy: (f = jspb.Message.getField(msg, 25)) == null ? undefined : f
|
|
1030
1030
|
};
|
|
1031
1031
|
|
|
1032
1032
|
if (includeInstance) {
|
|
@@ -1972,8 +1972,8 @@ proto.ondewo.nlu.CreateCcaiProjectRequest.prototype.toObject = function(opt_incl
|
|
|
1972
1972
|
*/
|
|
1973
1973
|
proto.ondewo.nlu.CreateCcaiProjectRequest.toObject = function(includeInstance, msg) {
|
|
1974
1974
|
var f, obj = {
|
|
1975
|
-
|
|
1976
|
-
|
|
1975
|
+
ccaiProject: (f = msg.getCcaiProject()) && proto.ondewo.nlu.CcaiProject.toObject(includeInstance, f),
|
|
1976
|
+
nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1977
1977
|
};
|
|
1978
1978
|
|
|
1979
1979
|
if (includeInstance) {
|
|
@@ -2153,8 +2153,8 @@ proto.ondewo.nlu.CreateCcaiProjectResponse.prototype.toObject = function(opt_inc
|
|
|
2153
2153
|
*/
|
|
2154
2154
|
proto.ondewo.nlu.CreateCcaiProjectResponse.toObject = function(includeInstance, msg) {
|
|
2155
2155
|
var f, obj = {
|
|
2156
|
-
|
|
2157
|
-
|
|
2156
|
+
ccaiProject: (f = msg.getCcaiProject()) && proto.ondewo.nlu.CcaiProject.toObject(includeInstance, f),
|
|
2157
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2158
2158
|
};
|
|
2159
2159
|
|
|
2160
2160
|
if (includeInstance) {
|
|
@@ -2334,10 +2334,11 @@ proto.ondewo.nlu.GetCcaiProjectRequest.prototype.toObject = function(opt_include
|
|
|
2334
2334
|
*/
|
|
2335
2335
|
proto.ondewo.nlu.GetCcaiProjectRequest.toObject = function(includeInstance, msg) {
|
|
2336
2336
|
var f, obj = {
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2337
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2338
|
+
ccaiProjectView: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
2339
|
+
ccaiServiceFilter: (f = msg.getCcaiServiceFilter()) && proto.ondewo.nlu.CcaiServiceFilter.toObject(includeInstance, f),
|
|
2340
|
+
nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2341
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
2341
2342
|
};
|
|
2342
2343
|
|
|
2343
2344
|
if (includeInstance) {
|
|
@@ -2391,6 +2392,11 @@ proto.ondewo.nlu.GetCcaiProjectRequest.deserializeBinaryFromReader = function(ms
|
|
|
2391
2392
|
var value = /** @type {string} */ (reader.readString());
|
|
2392
2393
|
msg.setNluProjectName(value);
|
|
2393
2394
|
break;
|
|
2395
|
+
case 5:
|
|
2396
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
2397
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
2398
|
+
msg.setFieldMask(value);
|
|
2399
|
+
break;
|
|
2394
2400
|
default:
|
|
2395
2401
|
reader.skipField();
|
|
2396
2402
|
break;
|
|
@@ -2449,6 +2455,14 @@ proto.ondewo.nlu.GetCcaiProjectRequest.serializeBinaryToWriter = function(messag
|
|
|
2449
2455
|
f
|
|
2450
2456
|
);
|
|
2451
2457
|
}
|
|
2458
|
+
f = message.getFieldMask();
|
|
2459
|
+
if (f != null) {
|
|
2460
|
+
writer.writeMessage(
|
|
2461
|
+
5,
|
|
2462
|
+
f,
|
|
2463
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
2464
|
+
);
|
|
2465
|
+
}
|
|
2452
2466
|
};
|
|
2453
2467
|
|
|
2454
2468
|
|
|
@@ -2561,6 +2575,43 @@ proto.ondewo.nlu.GetCcaiProjectRequest.prototype.setNluProjectName = function(va
|
|
|
2561
2575
|
};
|
|
2562
2576
|
|
|
2563
2577
|
|
|
2578
|
+
/**
|
|
2579
|
+
* optional google.protobuf.FieldMask field_mask = 5;
|
|
2580
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
2581
|
+
*/
|
|
2582
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.getFieldMask = function() {
|
|
2583
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
2584
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 5));
|
|
2585
|
+
};
|
|
2586
|
+
|
|
2587
|
+
|
|
2588
|
+
/**
|
|
2589
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
2590
|
+
* @return {!proto.ondewo.nlu.GetCcaiProjectRequest} returns this
|
|
2591
|
+
*/
|
|
2592
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.setFieldMask = function(value) {
|
|
2593
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
2594
|
+
};
|
|
2595
|
+
|
|
2596
|
+
|
|
2597
|
+
/**
|
|
2598
|
+
* Clears the message field making it undefined.
|
|
2599
|
+
* @return {!proto.ondewo.nlu.GetCcaiProjectRequest} returns this
|
|
2600
|
+
*/
|
|
2601
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.clearFieldMask = function() {
|
|
2602
|
+
return this.setFieldMask(undefined);
|
|
2603
|
+
};
|
|
2604
|
+
|
|
2605
|
+
|
|
2606
|
+
/**
|
|
2607
|
+
* Returns whether this field is set.
|
|
2608
|
+
* @return {boolean}
|
|
2609
|
+
*/
|
|
2610
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.hasFieldMask = function() {
|
|
2611
|
+
return jspb.Message.getField(this, 5) != null;
|
|
2612
|
+
};
|
|
2613
|
+
|
|
2614
|
+
|
|
2564
2615
|
|
|
2565
2616
|
|
|
2566
2617
|
|
|
@@ -2593,8 +2644,9 @@ proto.ondewo.nlu.GetCcaiServiceRequest.prototype.toObject = function(opt_include
|
|
|
2593
2644
|
*/
|
|
2594
2645
|
proto.ondewo.nlu.GetCcaiServiceRequest.toObject = function(includeInstance, msg) {
|
|
2595
2646
|
var f, obj = {
|
|
2596
|
-
|
|
2597
|
-
|
|
2647
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2648
|
+
nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2649
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
2598
2650
|
};
|
|
2599
2651
|
|
|
2600
2652
|
if (includeInstance) {
|
|
@@ -2639,6 +2691,11 @@ proto.ondewo.nlu.GetCcaiServiceRequest.deserializeBinaryFromReader = function(ms
|
|
|
2639
2691
|
var value = /** @type {string} */ (reader.readString());
|
|
2640
2692
|
msg.setNluProjectName(value);
|
|
2641
2693
|
break;
|
|
2694
|
+
case 5:
|
|
2695
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
2696
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
2697
|
+
msg.setFieldMask(value);
|
|
2698
|
+
break;
|
|
2642
2699
|
default:
|
|
2643
2700
|
reader.skipField();
|
|
2644
2701
|
break;
|
|
@@ -2682,6 +2739,14 @@ proto.ondewo.nlu.GetCcaiServiceRequest.serializeBinaryToWriter = function(messag
|
|
|
2682
2739
|
f
|
|
2683
2740
|
);
|
|
2684
2741
|
}
|
|
2742
|
+
f = message.getFieldMask();
|
|
2743
|
+
if (f != null) {
|
|
2744
|
+
writer.writeMessage(
|
|
2745
|
+
5,
|
|
2746
|
+
f,
|
|
2747
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
2748
|
+
);
|
|
2749
|
+
}
|
|
2685
2750
|
};
|
|
2686
2751
|
|
|
2687
2752
|
|
|
@@ -2721,6 +2786,43 @@ proto.ondewo.nlu.GetCcaiServiceRequest.prototype.setNluProjectName = function(va
|
|
|
2721
2786
|
};
|
|
2722
2787
|
|
|
2723
2788
|
|
|
2789
|
+
/**
|
|
2790
|
+
* optional google.protobuf.FieldMask field_mask = 5;
|
|
2791
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
2792
|
+
*/
|
|
2793
|
+
proto.ondewo.nlu.GetCcaiServiceRequest.prototype.getFieldMask = function() {
|
|
2794
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
2795
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 5));
|
|
2796
|
+
};
|
|
2797
|
+
|
|
2798
|
+
|
|
2799
|
+
/**
|
|
2800
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
2801
|
+
* @return {!proto.ondewo.nlu.GetCcaiServiceRequest} returns this
|
|
2802
|
+
*/
|
|
2803
|
+
proto.ondewo.nlu.GetCcaiServiceRequest.prototype.setFieldMask = function(value) {
|
|
2804
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
2805
|
+
};
|
|
2806
|
+
|
|
2807
|
+
|
|
2808
|
+
/**
|
|
2809
|
+
* Clears the message field making it undefined.
|
|
2810
|
+
* @return {!proto.ondewo.nlu.GetCcaiServiceRequest} returns this
|
|
2811
|
+
*/
|
|
2812
|
+
proto.ondewo.nlu.GetCcaiServiceRequest.prototype.clearFieldMask = function() {
|
|
2813
|
+
return this.setFieldMask(undefined);
|
|
2814
|
+
};
|
|
2815
|
+
|
|
2816
|
+
|
|
2817
|
+
/**
|
|
2818
|
+
* Returns whether this field is set.
|
|
2819
|
+
* @return {boolean}
|
|
2820
|
+
*/
|
|
2821
|
+
proto.ondewo.nlu.GetCcaiServiceRequest.prototype.hasFieldMask = function() {
|
|
2822
|
+
return jspb.Message.getField(this, 5) != null;
|
|
2823
|
+
};
|
|
2824
|
+
|
|
2825
|
+
|
|
2724
2826
|
|
|
2725
2827
|
|
|
2726
2828
|
|
|
@@ -2753,11 +2855,12 @@ proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.toObject = function(opt_inclu
|
|
|
2753
2855
|
*/
|
|
2754
2856
|
proto.ondewo.nlu.ListCcaiProjectsRequest.toObject = function(includeInstance, msg) {
|
|
2755
2857
|
var f, obj = {
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2858
|
+
ccaiProjectView: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2859
|
+
ccaiServiceFilter: (f = msg.getCcaiServiceFilter()) && proto.ondewo.nlu.CcaiServiceFilter.toObject(includeInstance, f),
|
|
2860
|
+
ccaiProjectSorting: (f = msg.getCcaiProjectSorting()) && proto.ondewo.nlu.CcaiProjectSorting.toObject(includeInstance, f),
|
|
2861
|
+
pageToken: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
|
|
2862
|
+
nluProjectName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
2863
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
2761
2864
|
};
|
|
2762
2865
|
|
|
2763
2866
|
if (includeInstance) {
|
|
@@ -2816,6 +2919,11 @@ proto.ondewo.nlu.ListCcaiProjectsRequest.deserializeBinaryFromReader = function(
|
|
|
2816
2919
|
var value = /** @type {string} */ (reader.readString());
|
|
2817
2920
|
msg.setNluProjectName(value);
|
|
2818
2921
|
break;
|
|
2922
|
+
case 6:
|
|
2923
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
2924
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
2925
|
+
msg.setFieldMask(value);
|
|
2926
|
+
break;
|
|
2819
2927
|
default:
|
|
2820
2928
|
reader.skipField();
|
|
2821
2929
|
break;
|
|
@@ -2882,6 +2990,14 @@ proto.ondewo.nlu.ListCcaiProjectsRequest.serializeBinaryToWriter = function(mess
|
|
|
2882
2990
|
f
|
|
2883
2991
|
);
|
|
2884
2992
|
}
|
|
2993
|
+
f = message.getFieldMask();
|
|
2994
|
+
if (f != null) {
|
|
2995
|
+
writer.writeMessage(
|
|
2996
|
+
6,
|
|
2997
|
+
f,
|
|
2998
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
2999
|
+
);
|
|
3000
|
+
}
|
|
2885
3001
|
};
|
|
2886
3002
|
|
|
2887
3003
|
|
|
@@ -3031,6 +3147,43 @@ proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.setNluProjectName = function(
|
|
|
3031
3147
|
};
|
|
3032
3148
|
|
|
3033
3149
|
|
|
3150
|
+
/**
|
|
3151
|
+
* optional google.protobuf.FieldMask field_mask = 6;
|
|
3152
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
3153
|
+
*/
|
|
3154
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.getFieldMask = function() {
|
|
3155
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
3156
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 6));
|
|
3157
|
+
};
|
|
3158
|
+
|
|
3159
|
+
|
|
3160
|
+
/**
|
|
3161
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
3162
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsRequest} returns this
|
|
3163
|
+
*/
|
|
3164
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.setFieldMask = function(value) {
|
|
3165
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
3166
|
+
};
|
|
3167
|
+
|
|
3168
|
+
|
|
3169
|
+
/**
|
|
3170
|
+
* Clears the message field making it undefined.
|
|
3171
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsRequest} returns this
|
|
3172
|
+
*/
|
|
3173
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.clearFieldMask = function() {
|
|
3174
|
+
return this.setFieldMask(undefined);
|
|
3175
|
+
};
|
|
3176
|
+
|
|
3177
|
+
|
|
3178
|
+
/**
|
|
3179
|
+
* Returns whether this field is set.
|
|
3180
|
+
* @return {boolean}
|
|
3181
|
+
*/
|
|
3182
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.hasFieldMask = function() {
|
|
3183
|
+
return jspb.Message.getField(this, 6) != null;
|
|
3184
|
+
};
|
|
3185
|
+
|
|
3186
|
+
|
|
3034
3187
|
|
|
3035
3188
|
/**
|
|
3036
3189
|
* List of repeated fields within this message type.
|
|
@@ -3070,9 +3223,9 @@ proto.ondewo.nlu.ListCcaiProjectsResponse.prototype.toObject = function(opt_incl
|
|
|
3070
3223
|
*/
|
|
3071
3224
|
proto.ondewo.nlu.ListCcaiProjectsResponse.toObject = function(includeInstance, msg) {
|
|
3072
3225
|
var f, obj = {
|
|
3073
|
-
|
|
3226
|
+
ccaiProjectsList: jspb.Message.toObjectList(msg.getCcaiProjectsList(),
|
|
3074
3227
|
proto.ondewo.nlu.CcaiProject.toObject, includeInstance),
|
|
3075
|
-
|
|
3228
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3076
3229
|
};
|
|
3077
3230
|
|
|
3078
3231
|
if (includeInstance) {
|
|
@@ -3253,8 +3406,8 @@ proto.ondewo.nlu.CcaiProjectSorting.prototype.toObject = function(opt_includeIns
|
|
|
3253
3406
|
*/
|
|
3254
3407
|
proto.ondewo.nlu.CcaiProjectSorting.toObject = function(includeInstance, msg) {
|
|
3255
3408
|
var f, obj = {
|
|
3256
|
-
|
|
3257
|
-
|
|
3409
|
+
sortingField: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
3410
|
+
sortingMode: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
|
|
3258
3411
|
};
|
|
3259
3412
|
|
|
3260
3413
|
if (includeInstance) {
|
|
@@ -3434,7 +3587,7 @@ proto.ondewo.nlu.CcaiProjectSorting.prototype.hasSortingMode = function() {
|
|
|
3434
3587
|
* @private {!Array<number>}
|
|
3435
3588
|
* @const
|
|
3436
3589
|
*/
|
|
3437
|
-
proto.ondewo.nlu.CcaiServiceFilter.repeatedFields_ = [1,2];
|
|
3590
|
+
proto.ondewo.nlu.CcaiServiceFilter.repeatedFields_ = [1,2,3];
|
|
3438
3591
|
|
|
3439
3592
|
|
|
3440
3593
|
|
|
@@ -3467,8 +3620,9 @@ proto.ondewo.nlu.CcaiServiceFilter.prototype.toObject = function(opt_includeInst
|
|
|
3467
3620
|
*/
|
|
3468
3621
|
proto.ondewo.nlu.CcaiServiceFilter.toObject = function(includeInstance, msg) {
|
|
3469
3622
|
var f, obj = {
|
|
3470
|
-
|
|
3471
|
-
|
|
3623
|
+
languageCodesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
3624
|
+
ccaiServiceTypesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
3625
|
+
ccaiServiceProvidersList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
3472
3626
|
};
|
|
3473
3627
|
|
|
3474
3628
|
if (includeInstance) {
|
|
@@ -3515,6 +3669,12 @@ proto.ondewo.nlu.CcaiServiceFilter.deserializeBinaryFromReader = function(msg, r
|
|
|
3515
3669
|
msg.addCcaiServiceTypes(values[i]);
|
|
3516
3670
|
}
|
|
3517
3671
|
break;
|
|
3672
|
+
case 3:
|
|
3673
|
+
var values = /** @type {!Array<!proto.ondewo.nlu.CcaiServiceProvider>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
3674
|
+
for (var i = 0; i < values.length; i++) {
|
|
3675
|
+
msg.addCcaiServiceProviders(values[i]);
|
|
3676
|
+
}
|
|
3677
|
+
break;
|
|
3518
3678
|
default:
|
|
3519
3679
|
reader.skipField();
|
|
3520
3680
|
break;
|
|
@@ -3558,6 +3718,13 @@ proto.ondewo.nlu.CcaiServiceFilter.serializeBinaryToWriter = function(message, w
|
|
|
3558
3718
|
f
|
|
3559
3719
|
);
|
|
3560
3720
|
}
|
|
3721
|
+
f = message.getCcaiServiceProvidersList();
|
|
3722
|
+
if (f.length > 0) {
|
|
3723
|
+
writer.writePackedEnum(
|
|
3724
|
+
3,
|
|
3725
|
+
f
|
|
3726
|
+
);
|
|
3727
|
+
}
|
|
3561
3728
|
};
|
|
3562
3729
|
|
|
3563
3730
|
|
|
@@ -3635,6 +3802,43 @@ proto.ondewo.nlu.CcaiServiceFilter.prototype.clearCcaiServiceTypesList = functio
|
|
|
3635
3802
|
};
|
|
3636
3803
|
|
|
3637
3804
|
|
|
3805
|
+
/**
|
|
3806
|
+
* repeated CcaiServiceProvider ccai_service_providers = 3;
|
|
3807
|
+
* @return {!Array<!proto.ondewo.nlu.CcaiServiceProvider>}
|
|
3808
|
+
*/
|
|
3809
|
+
proto.ondewo.nlu.CcaiServiceFilter.prototype.getCcaiServiceProvidersList = function() {
|
|
3810
|
+
return /** @type {!Array<!proto.ondewo.nlu.CcaiServiceProvider>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
3811
|
+
};
|
|
3812
|
+
|
|
3813
|
+
|
|
3814
|
+
/**
|
|
3815
|
+
* @param {!Array<!proto.ondewo.nlu.CcaiServiceProvider>} value
|
|
3816
|
+
* @return {!proto.ondewo.nlu.CcaiServiceFilter} returns this
|
|
3817
|
+
*/
|
|
3818
|
+
proto.ondewo.nlu.CcaiServiceFilter.prototype.setCcaiServiceProvidersList = function(value) {
|
|
3819
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
3820
|
+
};
|
|
3821
|
+
|
|
3822
|
+
|
|
3823
|
+
/**
|
|
3824
|
+
* @param {!proto.ondewo.nlu.CcaiServiceProvider} value
|
|
3825
|
+
* @param {number=} opt_index
|
|
3826
|
+
* @return {!proto.ondewo.nlu.CcaiServiceFilter} returns this
|
|
3827
|
+
*/
|
|
3828
|
+
proto.ondewo.nlu.CcaiServiceFilter.prototype.addCcaiServiceProviders = function(value, opt_index) {
|
|
3829
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
3830
|
+
};
|
|
3831
|
+
|
|
3832
|
+
|
|
3833
|
+
/**
|
|
3834
|
+
* Clears the list making it empty but non-null.
|
|
3835
|
+
* @return {!proto.ondewo.nlu.CcaiServiceFilter} returns this
|
|
3836
|
+
*/
|
|
3837
|
+
proto.ondewo.nlu.CcaiServiceFilter.prototype.clearCcaiServiceProvidersList = function() {
|
|
3838
|
+
return this.setCcaiServiceProvidersList([]);
|
|
3839
|
+
};
|
|
3840
|
+
|
|
3841
|
+
|
|
3638
3842
|
|
|
3639
3843
|
|
|
3640
3844
|
|
|
@@ -3667,10 +3871,10 @@ proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.toObject = function(opt_incl
|
|
|
3667
3871
|
*/
|
|
3668
3872
|
proto.ondewo.nlu.UpdateCcaiProjectRequest.toObject = function(includeInstance, msg) {
|
|
3669
3873
|
var f, obj = {
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3874
|
+
ccaiProject: (f = msg.getCcaiProject()) && proto.ondewo.nlu.CcaiProject.toObject(includeInstance, f),
|
|
3875
|
+
ccaiServiceFilter: (f = msg.getCcaiServiceFilter()) && proto.ondewo.nlu.CcaiServiceFilter.toObject(includeInstance, f),
|
|
3876
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
|
|
3877
|
+
nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
3674
3878
|
};
|
|
3675
3879
|
|
|
3676
3880
|
if (includeInstance) {
|
|
@@ -3950,8 +4154,8 @@ proto.ondewo.nlu.UpdateCcaiProjectResponse.prototype.toObject = function(opt_inc
|
|
|
3950
4154
|
*/
|
|
3951
4155
|
proto.ondewo.nlu.UpdateCcaiProjectResponse.toObject = function(includeInstance, msg) {
|
|
3952
4156
|
var f, obj = {
|
|
3953
|
-
|
|
3954
|
-
|
|
4157
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4158
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3955
4159
|
};
|
|
3956
4160
|
|
|
3957
4161
|
if (includeInstance) {
|
|
@@ -4110,8 +4314,8 @@ proto.ondewo.nlu.DeleteCcaiProjectRequest.prototype.toObject = function(opt_incl
|
|
|
4110
4314
|
*/
|
|
4111
4315
|
proto.ondewo.nlu.DeleteCcaiProjectRequest.toObject = function(includeInstance, msg) {
|
|
4112
4316
|
var f, obj = {
|
|
4113
|
-
|
|
4114
|
-
|
|
4317
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4318
|
+
nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
4115
4319
|
};
|
|
4116
4320
|
|
|
4117
4321
|
if (includeInstance) {
|
|
@@ -4270,9 +4474,9 @@ proto.ondewo.nlu.DeleteCcaiProjectResponse.prototype.toObject = function(opt_inc
|
|
|
4270
4474
|
*/
|
|
4271
4475
|
proto.ondewo.nlu.DeleteCcaiProjectResponse.toObject = function(includeInstance, msg) {
|
|
4272
4476
|
var f, obj = {
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4477
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4478
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4479
|
+
nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
4276
4480
|
};
|
|
4277
4481
|
|
|
4278
4482
|
if (includeInstance) {
|
|
@@ -4463,7 +4667,12 @@ proto.ondewo.nlu.CcaiServiceType = {
|
|
|
4463
4667
|
CCAI_SERVICE_TYPE_ONDEWO_NLU_WEBSEARCH: 14,
|
|
4464
4668
|
CCAI_SERVICE_TYPE_ONDEWO_AIM_WEBCHAT: 15,
|
|
4465
4669
|
CCAI_SERVICE_TYPE_ONDEWO_AIM_WEBPHONE: 16,
|
|
4466
|
-
CCAI_SERVICE_TYPE_ONDEWO_NLU_VECTORSTORE: 17
|
|
4670
|
+
CCAI_SERVICE_TYPE_ONDEWO_NLU_VECTORSTORE: 17,
|
|
4671
|
+
CCAI_SERVICE_TYPE_ONDEWO_NLU_LLM_AGENT: 18,
|
|
4672
|
+
CCAI_SERVICE_TYPE_ONDEWO_NLU_LLM_MCP: 19,
|
|
4673
|
+
CCAI_SERVICE_TYPE_ONDEWO_NLU_LLM_RAG: 20,
|
|
4674
|
+
CCAI_SERVICE_TYPE_ONDEWO_ANALYTICS: 21,
|
|
4675
|
+
CCAI_SERVICE_TYPE_ONDEWO_ANALYTICS_DASHBOARD: 22
|
|
4467
4676
|
};
|
|
4468
4677
|
|
|
4469
4678
|
/**
|
|
@@ -4491,7 +4700,19 @@ proto.ondewo.nlu.CcaiServiceProvider = {
|
|
|
4491
4700
|
CCAI_SERVICE_PROVIDER_ELASTICSEARCH: 18,
|
|
4492
4701
|
CCAI_SERVICE_PROVIDER_MILVUS: 19,
|
|
4493
4702
|
CCAI_SERVICE_PROVIDER_QDRANT: 20,
|
|
4494
|
-
CCAI_SERVICE_PROVIDER_CHROMA: 21
|
|
4703
|
+
CCAI_SERVICE_PROVIDER_CHROMA: 21,
|
|
4704
|
+
CCAI_SERVICE_PROVIDER_GOOGLE: 22,
|
|
4705
|
+
CCAI_SERVICE_PROVIDER_MICROSOFT: 23,
|
|
4706
|
+
CCAI_SERVICE_PROVIDER_DEEPGRAM: 24,
|
|
4707
|
+
CCAI_SERVICE_PROVIDER_ELEVENLABS: 25,
|
|
4708
|
+
CCAI_SERVICE_PROVIDER_HUGGINGFACE_TGI: 26,
|
|
4709
|
+
CCAI_SERVICE_PROVIDER_HUGGINGFACE_TGE: 27,
|
|
4710
|
+
CCAI_SERVICE_PROVIDER_HUGGINGFACE_SMOLAGENTS: 28,
|
|
4711
|
+
CCAI_SERVICE_PROVIDER_GOOGLE_AGENT_DEVELOPMENT_KIT: 29,
|
|
4712
|
+
CCAI_SERVICE_PROVIDER_MODEL_CONTEXT_PROTOCOL: 30,
|
|
4713
|
+
CCAI_SERVICE_PROVIDER_OPENSEARCH: 31,
|
|
4714
|
+
CCAI_SERVICE_PROVIDER_GROK: 32,
|
|
4715
|
+
CCAI_SERVICE_PROVIDER_POSTGRES: 33
|
|
4495
4716
|
};
|
|
4496
4717
|
|
|
4497
4718
|
/**
|