@ondewo/nlu-client-typescript 5.0.0 → 6.0.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.
Files changed (76) hide show
  1. package/api/google/api/annotations_pb.d.ts +2 -2
  2. package/api/google/api/annotations_pb.js +7 -1
  3. package/api/google/protobuf/any_pb.js +7 -1
  4. package/api/google/protobuf/empty_pb.js +7 -1
  5. package/api/google/protobuf/field_mask_pb.js +7 -1
  6. package/api/google/protobuf/struct_pb.js +9 -2
  7. package/api/google/protobuf/timestamp_pb.js +7 -1
  8. package/api/google/rpc/status_pb.d.ts +1 -1
  9. package/api/google/rpc/status_pb.js +7 -1
  10. package/api/google/type/latlng_pb.js +7 -1
  11. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +3 -64
  12. package/api/ondewo/nlu/agent_grpc_web_pb.js +7 -310
  13. package/api/ondewo/nlu/agent_pb.d.ts +11 -12
  14. package/api/ondewo/nlu/agent_pb.js +9 -4
  15. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +35 -1
  16. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +191 -3
  17. package/api/ondewo/nlu/aiservices_pb.d.ts +190 -3
  18. package/api/ondewo/nlu/aiservices_pb.js +1610 -30
  19. package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +13 -1
  20. package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +68 -3
  21. package/api/ondewo/nlu/ccai_project_pb.d.ts +89 -5
  22. package/api/ondewo/nlu/ccai_project_pb.js +375 -5
  23. package/api/ondewo/nlu/common_pb.d.ts +27 -27
  24. package/api/ondewo/nlu/common_pb.js +52 -46
  25. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +2 -2
  26. package/api/ondewo/nlu/context_grpc_web_pb.js +7 -3
  27. package/api/ondewo/nlu/context_pb.d.ts +4 -4
  28. package/api/ondewo/nlu/context_pb.js +9 -2
  29. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +3 -3
  30. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +7 -3
  31. package/api/ondewo/nlu/entity_type_pb.d.ts +6 -6
  32. package/api/ondewo/nlu/entity_type_pb.js +7 -1
  33. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +3 -3
  34. package/api/ondewo/nlu/intent_grpc_web_pb.js +7 -3
  35. package/api/ondewo/nlu/intent_pb.d.ts +8 -8
  36. package/api/ondewo/nlu/intent_pb.js +7 -1
  37. package/api/ondewo/nlu/operation_metadata_pb.d.ts +1 -1
  38. package/api/ondewo/nlu/operation_metadata_pb.js +7 -1
  39. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +2 -2
  40. package/api/ondewo/nlu/operations_grpc_web_pb.js +7 -3
  41. package/api/ondewo/nlu/operations_pb.d.ts +6 -6
  42. package/api/ondewo/nlu/operations_pb.js +7 -1
  43. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +2 -2
  44. package/api/ondewo/nlu/project_role_grpc_web_pb.js +7 -3
  45. package/api/ondewo/nlu/project_role_pb.d.ts +4 -4
  46. package/api/ondewo/nlu/project_role_pb.js +7 -1
  47. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +2 -2
  48. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +7 -3
  49. package/api/ondewo/nlu/project_statistics_pb.d.ts +4 -4
  50. package/api/ondewo/nlu/project_statistics_pb.js +7 -1
  51. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +3 -3
  52. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +7 -3
  53. package/api/ondewo/nlu/server_statistics_pb.d.ts +3 -3
  54. package/api/ondewo/nlu/server_statistics_pb.js +7 -1
  55. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +46 -10
  56. package/api/ondewo/nlu/session_grpc_web_pb.js +209 -22
  57. package/api/ondewo/nlu/session_pb.d.ts +324 -24
  58. package/api/ondewo/nlu/session_pb.js +7785 -5316
  59. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +3 -3
  60. package/api/ondewo/nlu/user_grpc_web_pb.js +7 -3
  61. package/api/ondewo/nlu/user_pb.d.ts +6 -6
  62. package/api/ondewo/nlu/user_pb.js +9 -2
  63. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +1 -1
  64. package/api/ondewo/nlu/utility_grpc_web_pb.js +7 -3
  65. package/api/ondewo/nlu/utility_pb.d.ts +2 -2
  66. package/api/ondewo/nlu/utility_pb.js +7 -1
  67. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +2 -2
  68. package/api/ondewo/nlu/webhook_grpc_web_pb.js +7 -3
  69. package/api/ondewo/nlu/webhook_pb.d.ts +8 -8
  70. package/api/ondewo/nlu/webhook_pb.js +7 -1
  71. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +2 -2
  72. package/api/ondewo/qa/qa_grpc_web_pb.js +7 -3
  73. package/api/ondewo/qa/qa_pb.d.ts +3 -3
  74. package/api/ondewo/qa/qa_pb.js +7 -1
  75. package/package.json +36 -16
  76. package/public-api.js +40 -0
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
17
23
 
18
24
  var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
19
25
  goog.object.extend(proto, google_protobuf_field_mask_pb);
@@ -31,12 +37,14 @@ goog.exportSymbol('proto.ondewo.nlu.CcaiProjectView', null, global);
31
37
  goog.exportSymbol('proto.ondewo.nlu.CcaiService', null, global);
32
38
  goog.exportSymbol('proto.ondewo.nlu.CcaiServiceFilter', null, global);
33
39
  goog.exportSymbol('proto.ondewo.nlu.CcaiServiceList', null, global);
40
+ goog.exportSymbol('proto.ondewo.nlu.CcaiServiceProvider', null, global);
34
41
  goog.exportSymbol('proto.ondewo.nlu.CcaiServiceType', null, global);
35
42
  goog.exportSymbol('proto.ondewo.nlu.CreateCcaiProjectRequest', null, global);
36
43
  goog.exportSymbol('proto.ondewo.nlu.CreateCcaiProjectResponse', null, global);
37
44
  goog.exportSymbol('proto.ondewo.nlu.DeleteCcaiProjectRequest', null, global);
38
45
  goog.exportSymbol('proto.ondewo.nlu.DeleteCcaiProjectResponse', null, global);
39
46
  goog.exportSymbol('proto.ondewo.nlu.GetCcaiProjectRequest', null, global);
47
+ goog.exportSymbol('proto.ondewo.nlu.GetCcaiServiceRequest', null, global);
40
48
  goog.exportSymbol('proto.ondewo.nlu.ListCcaiProjectsRequest', null, global);
41
49
  goog.exportSymbol('proto.ondewo.nlu.ListCcaiProjectsResponse', null, global);
42
50
  goog.exportSymbol('proto.ondewo.nlu.UpdateCcaiProjectRequest', null, global);
@@ -167,6 +175,27 @@ if (goog.DEBUG && !COMPILED) {
167
175
  */
168
176
  proto.ondewo.nlu.GetCcaiProjectRequest.displayName = 'proto.ondewo.nlu.GetCcaiProjectRequest';
169
177
  }
178
+ /**
179
+ * Generated by JsPbCodeGenerator.
180
+ * @param {Array=} opt_data Optional initial data array, typically from a
181
+ * server response, or constructed directly in Javascript. The array is used
182
+ * in place and becomes part of the constructed object. It is not cloned.
183
+ * If no data is provided, the constructed object will be empty, but still
184
+ * valid.
185
+ * @extends {jspb.Message}
186
+ * @constructor
187
+ */
188
+ proto.ondewo.nlu.GetCcaiServiceRequest = function(opt_data) {
189
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
190
+ };
191
+ goog.inherits(proto.ondewo.nlu.GetCcaiServiceRequest, jspb.Message);
192
+ if (goog.DEBUG && !COMPILED) {
193
+ /**
194
+ * @public
195
+ * @override
196
+ */
197
+ proto.ondewo.nlu.GetCcaiServiceRequest.displayName = 'proto.ondewo.nlu.GetCcaiServiceRequest';
198
+ }
170
199
  /**
171
200
  * Generated by JsPbCodeGenerator.
172
201
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -631,7 +660,8 @@ proto.ondewo.nlu.CcaiProject.prototype.getCcaiServicesMapMap = function(opt_noLa
631
660
  */
632
661
  proto.ondewo.nlu.CcaiProject.prototype.clearCcaiServicesMapMap = function() {
633
662
  this.getCcaiServicesMapMap().clear();
634
- return this;};
663
+ return this;
664
+ };
635
665
 
636
666
 
637
667
  /**
@@ -993,7 +1023,10 @@ proto.ondewo.nlu.CcaiService.toObject = function(includeInstance, msg) {
993
1023
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
994
1024
  modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
995
1025
  createdBy: jspb.Message.getFieldWithDefault(msg, 21, ""),
996
- modifiedBy: jspb.Message.getFieldWithDefault(msg, 22, "")
1026
+ modifiedBy: jspb.Message.getFieldWithDefault(msg, 22, ""),
1027
+ headers: (f = msg.getHeaders()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
1028
+ ccaiServiceProvider: jspb.Message.getFieldWithDefault(msg, 24, 0),
1029
+ serviceHierarchy: jspb.Message.getFieldWithDefault(msg, 25, "")
997
1030
  };
998
1031
 
999
1032
  if (includeInstance) {
@@ -1121,6 +1154,19 @@ proto.ondewo.nlu.CcaiService.deserializeBinaryFromReader = function(msg, reader)
1121
1154
  var value = /** @type {string} */ (reader.readString());
1122
1155
  msg.setModifiedBy(value);
1123
1156
  break;
1157
+ case 23:
1158
+ var value = new google_protobuf_struct_pb.Struct;
1159
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
1160
+ msg.setHeaders(value);
1161
+ break;
1162
+ case 24:
1163
+ var value = /** @type {!proto.ondewo.nlu.CcaiServiceProvider} */ (reader.readEnum());
1164
+ msg.setCcaiServiceProvider(value);
1165
+ break;
1166
+ case 25:
1167
+ var value = /** @type {string} */ (reader.readString());
1168
+ msg.setServiceHierarchy(value);
1169
+ break;
1124
1170
  default:
1125
1171
  reader.skipField();
1126
1172
  break;
@@ -1307,6 +1353,28 @@ proto.ondewo.nlu.CcaiService.serializeBinaryToWriter = function(message, writer)
1307
1353
  f
1308
1354
  );
1309
1355
  }
1356
+ f = message.getHeaders();
1357
+ if (f != null) {
1358
+ writer.writeMessage(
1359
+ 23,
1360
+ f,
1361
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
1362
+ );
1363
+ }
1364
+ f = /** @type {!proto.ondewo.nlu.CcaiServiceProvider} */ (jspb.Message.getField(message, 24));
1365
+ if (f != null) {
1366
+ writer.writeEnum(
1367
+ 24,
1368
+ f
1369
+ );
1370
+ }
1371
+ f = /** @type {string} */ (jspb.Message.getField(message, 25));
1372
+ if (f != null) {
1373
+ writer.writeString(
1374
+ 25,
1375
+ f
1376
+ );
1377
+ }
1310
1378
  };
1311
1379
 
1312
1380
 
@@ -1763,6 +1831,115 @@ proto.ondewo.nlu.CcaiService.prototype.setModifiedBy = function(value) {
1763
1831
  };
1764
1832
 
1765
1833
 
1834
+ /**
1835
+ * optional google.protobuf.Struct headers = 23;
1836
+ * @return {?proto.google.protobuf.Struct}
1837
+ */
1838
+ proto.ondewo.nlu.CcaiService.prototype.getHeaders = function() {
1839
+ return /** @type{?proto.google.protobuf.Struct} */ (
1840
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 23));
1841
+ };
1842
+
1843
+
1844
+ /**
1845
+ * @param {?proto.google.protobuf.Struct|undefined} value
1846
+ * @return {!proto.ondewo.nlu.CcaiService} returns this
1847
+ */
1848
+ proto.ondewo.nlu.CcaiService.prototype.setHeaders = function(value) {
1849
+ return jspb.Message.setWrapperField(this, 23, value);
1850
+ };
1851
+
1852
+
1853
+ /**
1854
+ * Clears the message field making it undefined.
1855
+ * @return {!proto.ondewo.nlu.CcaiService} returns this
1856
+ */
1857
+ proto.ondewo.nlu.CcaiService.prototype.clearHeaders = function() {
1858
+ return this.setHeaders(undefined);
1859
+ };
1860
+
1861
+
1862
+ /**
1863
+ * Returns whether this field is set.
1864
+ * @return {boolean}
1865
+ */
1866
+ proto.ondewo.nlu.CcaiService.prototype.hasHeaders = function() {
1867
+ return jspb.Message.getField(this, 23) != null;
1868
+ };
1869
+
1870
+
1871
+ /**
1872
+ * optional CcaiServiceProvider ccai_service_provider = 24;
1873
+ * @return {!proto.ondewo.nlu.CcaiServiceProvider}
1874
+ */
1875
+ proto.ondewo.nlu.CcaiService.prototype.getCcaiServiceProvider = function() {
1876
+ return /** @type {!proto.ondewo.nlu.CcaiServiceProvider} */ (jspb.Message.getFieldWithDefault(this, 24, 0));
1877
+ };
1878
+
1879
+
1880
+ /**
1881
+ * @param {!proto.ondewo.nlu.CcaiServiceProvider} value
1882
+ * @return {!proto.ondewo.nlu.CcaiService} returns this
1883
+ */
1884
+ proto.ondewo.nlu.CcaiService.prototype.setCcaiServiceProvider = function(value) {
1885
+ return jspb.Message.setField(this, 24, value);
1886
+ };
1887
+
1888
+
1889
+ /**
1890
+ * Clears the field making it undefined.
1891
+ * @return {!proto.ondewo.nlu.CcaiService} returns this
1892
+ */
1893
+ proto.ondewo.nlu.CcaiService.prototype.clearCcaiServiceProvider = function() {
1894
+ return jspb.Message.setField(this, 24, undefined);
1895
+ };
1896
+
1897
+
1898
+ /**
1899
+ * Returns whether this field is set.
1900
+ * @return {boolean}
1901
+ */
1902
+ proto.ondewo.nlu.CcaiService.prototype.hasCcaiServiceProvider = function() {
1903
+ return jspb.Message.getField(this, 24) != null;
1904
+ };
1905
+
1906
+
1907
+ /**
1908
+ * optional string service_hierarchy = 25;
1909
+ * @return {string}
1910
+ */
1911
+ proto.ondewo.nlu.CcaiService.prototype.getServiceHierarchy = function() {
1912
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
1913
+ };
1914
+
1915
+
1916
+ /**
1917
+ * @param {string} value
1918
+ * @return {!proto.ondewo.nlu.CcaiService} returns this
1919
+ */
1920
+ proto.ondewo.nlu.CcaiService.prototype.setServiceHierarchy = function(value) {
1921
+ return jspb.Message.setField(this, 25, value);
1922
+ };
1923
+
1924
+
1925
+ /**
1926
+ * Clears the field making it undefined.
1927
+ * @return {!proto.ondewo.nlu.CcaiService} returns this
1928
+ */
1929
+ proto.ondewo.nlu.CcaiService.prototype.clearServiceHierarchy = function() {
1930
+ return jspb.Message.setField(this, 25, undefined);
1931
+ };
1932
+
1933
+
1934
+ /**
1935
+ * Returns whether this field is set.
1936
+ * @return {boolean}
1937
+ */
1938
+ proto.ondewo.nlu.CcaiService.prototype.hasServiceHierarchy = function() {
1939
+ return jspb.Message.getField(this, 25) != null;
1940
+ };
1941
+
1942
+
1766
1943
 
1767
1944
 
1768
1945
 
@@ -2387,6 +2564,166 @@ proto.ondewo.nlu.GetCcaiProjectRequest.prototype.setNluProjectName = function(va
2387
2564
 
2388
2565
 
2389
2566
 
2567
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2568
+ /**
2569
+ * Creates an object representation of this proto.
2570
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2571
+ * Optional fields that are not set will be set to undefined.
2572
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2573
+ * For the list of reserved names please see:
2574
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2575
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2576
+ * JSPB instance for transitional soy proto support:
2577
+ * http://goto/soy-param-migration
2578
+ * @return {!Object}
2579
+ */
2580
+ proto.ondewo.nlu.GetCcaiServiceRequest.prototype.toObject = function(opt_includeInstance) {
2581
+ return proto.ondewo.nlu.GetCcaiServiceRequest.toObject(opt_includeInstance, this);
2582
+ };
2583
+
2584
+
2585
+ /**
2586
+ * Static version of the {@see toObject} method.
2587
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2588
+ * the JSPB instance for transitional soy proto support:
2589
+ * http://goto/soy-param-migration
2590
+ * @param {!proto.ondewo.nlu.GetCcaiServiceRequest} msg The msg instance to transform.
2591
+ * @return {!Object}
2592
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2593
+ */
2594
+ proto.ondewo.nlu.GetCcaiServiceRequest.toObject = function(includeInstance, msg) {
2595
+ var f, obj = {
2596
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2597
+ nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
2598
+ };
2599
+
2600
+ if (includeInstance) {
2601
+ obj.$jspbMessageInstance = msg;
2602
+ }
2603
+ return obj;
2604
+ };
2605
+ }
2606
+
2607
+
2608
+ /**
2609
+ * Deserializes binary data (in protobuf wire format).
2610
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2611
+ * @return {!proto.ondewo.nlu.GetCcaiServiceRequest}
2612
+ */
2613
+ proto.ondewo.nlu.GetCcaiServiceRequest.deserializeBinary = function(bytes) {
2614
+ var reader = new jspb.BinaryReader(bytes);
2615
+ var msg = new proto.ondewo.nlu.GetCcaiServiceRequest;
2616
+ return proto.ondewo.nlu.GetCcaiServiceRequest.deserializeBinaryFromReader(msg, reader);
2617
+ };
2618
+
2619
+
2620
+ /**
2621
+ * Deserializes binary data (in protobuf wire format) from the
2622
+ * given reader into the given message object.
2623
+ * @param {!proto.ondewo.nlu.GetCcaiServiceRequest} msg The message object to deserialize into.
2624
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2625
+ * @return {!proto.ondewo.nlu.GetCcaiServiceRequest}
2626
+ */
2627
+ proto.ondewo.nlu.GetCcaiServiceRequest.deserializeBinaryFromReader = function(msg, reader) {
2628
+ while (reader.nextField()) {
2629
+ if (reader.isEndGroup()) {
2630
+ break;
2631
+ }
2632
+ var field = reader.getFieldNumber();
2633
+ switch (field) {
2634
+ case 1:
2635
+ var value = /** @type {string} */ (reader.readString());
2636
+ msg.setName(value);
2637
+ break;
2638
+ case 4:
2639
+ var value = /** @type {string} */ (reader.readString());
2640
+ msg.setNluProjectName(value);
2641
+ break;
2642
+ default:
2643
+ reader.skipField();
2644
+ break;
2645
+ }
2646
+ }
2647
+ return msg;
2648
+ };
2649
+
2650
+
2651
+ /**
2652
+ * Serializes the message to binary data (in protobuf wire format).
2653
+ * @return {!Uint8Array}
2654
+ */
2655
+ proto.ondewo.nlu.GetCcaiServiceRequest.prototype.serializeBinary = function() {
2656
+ var writer = new jspb.BinaryWriter();
2657
+ proto.ondewo.nlu.GetCcaiServiceRequest.serializeBinaryToWriter(this, writer);
2658
+ return writer.getResultBuffer();
2659
+ };
2660
+
2661
+
2662
+ /**
2663
+ * Serializes the given message to binary data (in protobuf wire
2664
+ * format), writing to the given BinaryWriter.
2665
+ * @param {!proto.ondewo.nlu.GetCcaiServiceRequest} message
2666
+ * @param {!jspb.BinaryWriter} writer
2667
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2668
+ */
2669
+ proto.ondewo.nlu.GetCcaiServiceRequest.serializeBinaryToWriter = function(message, writer) {
2670
+ var f = undefined;
2671
+ f = message.getName();
2672
+ if (f.length > 0) {
2673
+ writer.writeString(
2674
+ 1,
2675
+ f
2676
+ );
2677
+ }
2678
+ f = message.getNluProjectName();
2679
+ if (f.length > 0) {
2680
+ writer.writeString(
2681
+ 4,
2682
+ f
2683
+ );
2684
+ }
2685
+ };
2686
+
2687
+
2688
+ /**
2689
+ * optional string name = 1;
2690
+ * @return {string}
2691
+ */
2692
+ proto.ondewo.nlu.GetCcaiServiceRequest.prototype.getName = function() {
2693
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2694
+ };
2695
+
2696
+
2697
+ /**
2698
+ * @param {string} value
2699
+ * @return {!proto.ondewo.nlu.GetCcaiServiceRequest} returns this
2700
+ */
2701
+ proto.ondewo.nlu.GetCcaiServiceRequest.prototype.setName = function(value) {
2702
+ return jspb.Message.setProto3StringField(this, 1, value);
2703
+ };
2704
+
2705
+
2706
+ /**
2707
+ * optional string nlu_project_name = 4;
2708
+ * @return {string}
2709
+ */
2710
+ proto.ondewo.nlu.GetCcaiServiceRequest.prototype.getNluProjectName = function() {
2711
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2712
+ };
2713
+
2714
+
2715
+ /**
2716
+ * @param {string} value
2717
+ * @return {!proto.ondewo.nlu.GetCcaiServiceRequest} returns this
2718
+ */
2719
+ proto.ondewo.nlu.GetCcaiServiceRequest.prototype.setNluProjectName = function(value) {
2720
+ return jspb.Message.setProto3StringField(this, 4, value);
2721
+ };
2722
+
2723
+
2724
+
2725
+
2726
+
2390
2727
  if (jspb.Message.GENERATE_TO_OBJECT) {
2391
2728
  /**
2392
2729
  * Creates an object representation of this proto.
@@ -4118,10 +4455,43 @@ proto.ondewo.nlu.CcaiServiceType = {
4118
4455
  CCAI_SERVICE_TYPE_ONDEWO_SIP: 6,
4119
4456
  CCAI_SERVICE_TYPE_ONDEWO_T2S: 7,
4120
4457
  CCAI_SERVICE_TYPE_ONDEWO_VTSI: 8,
4121
- CCAI_SERVICE_TYPE_VTSI_RABBITMQ: 9,
4458
+ CCAI_SERVICE_TYPE_ONDEWO_VTSI_RABBITMQ: 9,
4122
4459
  CCAI_SERVICE_TYPE_ONDEWO_NLU_QA: 10,
4123
4460
  CCAI_SERVICE_TYPE_ONDEWO_NLU_WEBHOOK: 11,
4124
- CCAI_SERVICE_TYPE_ONDEWO_SURVEY: 12
4461
+ CCAI_SERVICE_TYPE_ONDEWO_SURVEY: 12,
4462
+ CCAI_SERVICE_TYPE_ONDEWO_NLU_LLM: 13,
4463
+ CCAI_SERVICE_TYPE_ONDEWO_NLU_WEBSEARCH: 14,
4464
+ CCAI_SERVICE_TYPE_ONDEWO_AIM_WEBCHAT: 15,
4465
+ CCAI_SERVICE_TYPE_ONDEWO_AIM_WEBPHONE: 16,
4466
+ CCAI_SERVICE_TYPE_ONDEWO_NLU_VECTORSTORE: 17
4467
+ };
4468
+
4469
+ /**
4470
+ * @enum {number}
4471
+ */
4472
+ proto.ondewo.nlu.CcaiServiceProvider = {
4473
+ NO_CCAI_SERVICE_PROVIDER: 0,
4474
+ CCAI_SERVICE_PROVIDER_ONDEWO: 1,
4475
+ CCAI_SERVICE_PROVIDER_GOOGLE_GEMINI: 2,
4476
+ CCAI_SERVICE_PROVIDER_MICROSOFT_AZURE_OPENAI: 3,
4477
+ CCAI_SERVICE_PROVIDER_MICROSOFT_AUTOGEN: 4,
4478
+ CCAI_SERVICE_PROVIDER_OLLAMA: 5,
4479
+ CCAI_SERVICE_PROVIDER_OPENAI: 6,
4480
+ CCAI_SERVICE_PROVIDER_ANTHROPIC: 7,
4481
+ CCAI_SERVICE_PROVIDER_HUGGINGFACE: 8,
4482
+ CCAI_SERVICE_PROVIDER_IBM: 9,
4483
+ CCAI_SERVICE_PROVIDER_HAYSTACK: 10,
4484
+ CCAI_SERVICE_PROVIDER_LANGCHAIN: 11,
4485
+ CCAI_SERVICE_PROVIDER_AMAZON: 12,
4486
+ CCAI_SERVICE_PROVIDER_MISTRAL: 13,
4487
+ CCAI_SERVICE_PROVIDER_DUCKDUCKGO: 14,
4488
+ CCAI_SERVICE_PROVIDER_GOOGLE_PSE: 15,
4489
+ CCAI_SERVICE_PROVIDER_JINA: 16,
4490
+ CCAI_SERVICE_PROVIDER_TAVILY: 17,
4491
+ CCAI_SERVICE_PROVIDER_ELASTICSEARCH: 18,
4492
+ CCAI_SERVICE_PROVIDER_MILVUS: 19,
4493
+ CCAI_SERVICE_PROVIDER_QDRANT: 20,
4494
+ CCAI_SERVICE_PROVIDER_CHROMA: 21
4125
4495
  };
4126
4496
 
4127
4497
  /**
@@ -1,7 +1,7 @@
1
1
  import * as jspb from 'google-protobuf'
2
2
 
3
- import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb';
4
- import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
3
+ import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb'; // proto import: "google/protobuf/field_mask.proto"
4
+ import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
5
5
 
6
6
 
7
7
  export class StatResponse extends jspb.Message {
@@ -171,10 +171,10 @@ export namespace Notification {
171
171
  }
172
172
 
173
173
  export class AddNotificationsRequest extends jspb.Message {
174
- getNotificationList(): Array<Notification>;
175
- setNotificationList(value: Array<Notification>): AddNotificationsRequest;
176
- clearNotificationList(): AddNotificationsRequest;
177
- addNotification(value?: Notification, index?: number): Notification;
174
+ getNotificationsList(): Array<Notification>;
175
+ setNotificationsList(value: Array<Notification>): AddNotificationsRequest;
176
+ clearNotificationsList(): AddNotificationsRequest;
177
+ addNotifications(value?: Notification, index?: number): Notification;
178
178
 
179
179
  serializeBinary(): Uint8Array;
180
180
  toObject(includeInstance?: boolean): AddNotificationsRequest.AsObject;
@@ -186,15 +186,15 @@ export class AddNotificationsRequest extends jspb.Message {
186
186
 
187
187
  export namespace AddNotificationsRequest {
188
188
  export type AsObject = {
189
- notificationList: Array<Notification.AsObject>,
189
+ notificationsList: Array<Notification.AsObject>,
190
190
  }
191
191
  }
192
192
 
193
193
  export class AddNotificationsResponse extends jspb.Message {
194
- getNotificationList(): Array<Notification>;
195
- setNotificationList(value: Array<Notification>): AddNotificationsResponse;
196
- clearNotificationList(): AddNotificationsResponse;
197
- addNotification(value?: Notification, index?: number): Notification;
194
+ getNotificationsList(): Array<Notification>;
195
+ setNotificationsList(value: Array<Notification>): AddNotificationsResponse;
196
+ clearNotificationsList(): AddNotificationsResponse;
197
+ addNotifications(value?: Notification, index?: number): Notification;
198
198
 
199
199
  serializeBinary(): Uint8Array;
200
200
  toObject(includeInstance?: boolean): AddNotificationsResponse.AsObject;
@@ -206,7 +206,7 @@ export class AddNotificationsResponse extends jspb.Message {
206
206
 
207
207
  export namespace AddNotificationsResponse {
208
208
  export type AsObject = {
209
- notificationList: Array<Notification.AsObject>,
209
+ notificationsList: Array<Notification.AsObject>,
210
210
  }
211
211
  }
212
212
 
@@ -309,10 +309,10 @@ export namespace ListNotificationsRequest {
309
309
  }
310
310
 
311
311
  export class ListNotificationsResponse extends jspb.Message {
312
- getNotificationList(): Array<Notification>;
313
- setNotificationList(value: Array<Notification>): ListNotificationsResponse;
314
- clearNotificationList(): ListNotificationsResponse;
315
- addNotification(value?: Notification, index?: number): Notification;
312
+ getNotificationsList(): Array<Notification>;
313
+ setNotificationsList(value: Array<Notification>): ListNotificationsResponse;
314
+ clearNotificationsList(): ListNotificationsResponse;
315
+ addNotifications(value?: Notification, index?: number): Notification;
316
316
 
317
317
  serializeBinary(): Uint8Array;
318
318
  toObject(includeInstance?: boolean): ListNotificationsResponse.AsObject;
@@ -324,15 +324,15 @@ export class ListNotificationsResponse extends jspb.Message {
324
324
 
325
325
  export namespace ListNotificationsResponse {
326
326
  export type AsObject = {
327
- notificationList: Array<Notification.AsObject>,
327
+ notificationsList: Array<Notification.AsObject>,
328
328
  }
329
329
  }
330
330
 
331
331
  export class SetNotificationsFlaggedStatusRequest extends jspb.Message {
332
- getNotificationNameList(): Array<string>;
333
- setNotificationNameList(value: Array<string>): SetNotificationsFlaggedStatusRequest;
334
- clearNotificationNameList(): SetNotificationsFlaggedStatusRequest;
335
- addNotificationName(value: string, index?: number): SetNotificationsFlaggedStatusRequest;
332
+ getNotificationNamesList(): Array<string>;
333
+ setNotificationNamesList(value: Array<string>): SetNotificationsFlaggedStatusRequest;
334
+ clearNotificationNamesList(): SetNotificationsFlaggedStatusRequest;
335
+ addNotificationNames(value: string, index?: number): SetNotificationsFlaggedStatusRequest;
336
336
 
337
337
  getFlaggedList(): Array<boolean>;
338
338
  setFlaggedList(value: Array<boolean>): SetNotificationsFlaggedStatusRequest;
@@ -349,16 +349,16 @@ export class SetNotificationsFlaggedStatusRequest extends jspb.Message {
349
349
 
350
350
  export namespace SetNotificationsFlaggedStatusRequest {
351
351
  export type AsObject = {
352
- notificationNameList: Array<string>,
352
+ notificationNamesList: Array<string>,
353
353
  flaggedList: Array<boolean>,
354
354
  }
355
355
  }
356
356
 
357
357
  export class SetNotificationsReadStatusRequest extends jspb.Message {
358
- getNotificationNameList(): Array<string>;
359
- setNotificationNameList(value: Array<string>): SetNotificationsReadStatusRequest;
360
- clearNotificationNameList(): SetNotificationsReadStatusRequest;
361
- addNotificationName(value: string, index?: number): SetNotificationsReadStatusRequest;
358
+ getNotificationNamesList(): Array<string>;
359
+ setNotificationNamesList(value: Array<string>): SetNotificationsReadStatusRequest;
360
+ clearNotificationNamesList(): SetNotificationsReadStatusRequest;
361
+ addNotificationNames(value: string, index?: number): SetNotificationsReadStatusRequest;
362
362
 
363
363
  getFlaggedList(): Array<boolean>;
364
364
  setFlaggedList(value: Array<boolean>): SetNotificationsReadStatusRequest;
@@ -375,7 +375,7 @@ export class SetNotificationsReadStatusRequest extends jspb.Message {
375
375
 
376
376
  export namespace SetNotificationsReadStatusRequest {
377
377
  export type AsObject = {
378
- notificationNameList: Array<string>,
378
+ notificationNamesList: Array<string>,
379
379
  flaggedList: Array<boolean>,
380
380
  }
381
381
  }