@ondewo/nlu-client-typescript 5.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.
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 +9 -3
  4. package/api/google/protobuf/empty_pb.js +7 -1
  5. package/api/google/protobuf/field_mask_pb.js +8 -2
  6. package/api/google/protobuf/struct_pb.js +17 -10
  7. package/api/google/protobuf/timestamp_pb.js +9 -3
  8. package/api/google/rpc/status_pb.d.ts +1 -1
  9. package/api/google/rpc/status_pb.js +10 -4
  10. package/api/google/type/latlng_pb.js +9 -3
  11. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +15 -64
  12. package/api/ondewo/nlu/agent_grpc_web_pb.js +68 -310
  13. package/api/ondewo/nlu/agent_pb.d.ts +31 -12
  14. package/api/ondewo/nlu/agent_pb.js +507 -326
  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 +1715 -135
  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 +100 -5
  22. package/api/ondewo/nlu/ccai_project_pb.js +448 -67
  23. package/api/ondewo/nlu/common_pb.d.ts +27 -27
  24. package/api/ondewo/nlu/common_pb.js +100 -94
  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 +36 -29
  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 +88 -82
  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 +251 -245
  37. package/api/ondewo/nlu/operation_metadata_pb.d.ts +1 -1
  38. package/api/ondewo/nlu/operation_metadata_pb.js +29 -23
  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 +28 -22
  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 +32 -26
  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 +14 -8
  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 +8 -2
  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 +8251 -5782
  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 +12 -6
  62. package/api/ondewo/nlu/user_pb.js +131 -73
  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 +86 -80
  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 +38 -32
  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 +31 -25
  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
@@ -367,16 +396,16 @@ proto.ondewo.nlu.CcaiProject.prototype.toObject = function(opt_includeInstance)
367
396
  */
368
397
  proto.ondewo.nlu.CcaiProject.toObject = function(includeInstance, msg) {
369
398
  var f, obj = {
370
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
371
- displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
372
- ownerName: jspb.Message.getFieldWithDefault(msg, 3, ""),
373
- ccaiServicesMapMap: (f = msg.getCcaiServicesMapMap()) ? f.toObject(includeInstance, proto.ondewo.nlu.CcaiServiceList.toObject) : [],
374
- ccaiProjectStatus: jspb.Message.getFieldWithDefault(msg, 5, 0),
375
- createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
376
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
377
- createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
378
- modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
379
- nluProjectName: jspb.Message.getFieldWithDefault(msg, 10, "")
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, "")
380
409
  };
381
410
 
382
411
  if (includeInstance) {
@@ -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
  /**
@@ -819,7 +849,7 @@ proto.ondewo.nlu.CcaiServiceList.prototype.toObject = function(opt_includeInstan
819
849
  */
820
850
  proto.ondewo.nlu.CcaiServiceList.toObject = function(includeInstance, msg) {
821
851
  var f, obj = {
822
- ccaiServicesList: jspb.Message.toObjectList(msg.getCcaiServicesList(),
852
+ ccaiServicesList: jspb.Message.toObjectList(msg.getCcaiServicesList(),
823
853
  proto.ondewo.nlu.CcaiService.toObject, includeInstance)
824
854
  };
825
855
 
@@ -972,28 +1002,31 @@ proto.ondewo.nlu.CcaiService.prototype.toObject = function(opt_includeInstance)
972
1002
  */
973
1003
  proto.ondewo.nlu.CcaiService.toObject = function(includeInstance, msg) {
974
1004
  var f, obj = {
975
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
976
- displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
977
- languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
978
- grpcHost: jspb.Message.getFieldWithDefault(msg, 4, ""),
979
- grpcPort: jspb.Message.getFieldWithDefault(msg, 5, 0),
980
- webgrpcHost: jspb.Message.getFieldWithDefault(msg, 6, ""),
981
- webgrpcPort: jspb.Message.getFieldWithDefault(msg, 7, 0),
982
- grpcCert: jspb.Message.getFieldWithDefault(msg, 8, ""),
983
- host: jspb.Message.getFieldWithDefault(msg, 9, ""),
984
- port: jspb.Message.getFieldWithDefault(msg, 10, 0),
985
- port2: jspb.Message.getFieldWithDefault(msg, 11, 0),
986
- httpBasicAuthToken: jspb.Message.getFieldWithDefault(msg, 12, ""),
987
- accountName: jspb.Message.getFieldWithDefault(msg, 13, ""),
988
- accountPassword: jspb.Message.getFieldWithDefault(msg, 14, ""),
989
- apiKey: jspb.Message.getFieldWithDefault(msg, 15, ""),
990
- ccaiServiceType: jspb.Message.getFieldWithDefault(msg, 16, 0),
991
- ccaiProjectName: jspb.Message.getFieldWithDefault(msg, 17, ""),
992
- ccaiServiceConfig: (f = msg.getCcaiServiceConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
993
- createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
994
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
995
- createdBy: jspb.Message.getFieldWithDefault(msg, 21, ""),
996
- modifiedBy: jspb.Message.getFieldWithDefault(msg, 22, "")
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
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
 
@@ -1795,8 +1972,8 @@ proto.ondewo.nlu.CreateCcaiProjectRequest.prototype.toObject = function(opt_incl
1795
1972
  */
1796
1973
  proto.ondewo.nlu.CreateCcaiProjectRequest.toObject = function(includeInstance, msg) {
1797
1974
  var f, obj = {
1798
- ccaiProject: (f = msg.getCcaiProject()) && proto.ondewo.nlu.CcaiProject.toObject(includeInstance, f),
1799
- nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
1975
+ ccaiProject: (f = msg.getCcaiProject()) && proto.ondewo.nlu.CcaiProject.toObject(includeInstance, f),
1976
+ nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
1800
1977
  };
1801
1978
 
1802
1979
  if (includeInstance) {
@@ -1976,8 +2153,8 @@ proto.ondewo.nlu.CreateCcaiProjectResponse.prototype.toObject = function(opt_inc
1976
2153
  */
1977
2154
  proto.ondewo.nlu.CreateCcaiProjectResponse.toObject = function(includeInstance, msg) {
1978
2155
  var f, obj = {
1979
- ccaiProject: (f = msg.getCcaiProject()) && proto.ondewo.nlu.CcaiProject.toObject(includeInstance, f),
1980
- errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
2156
+ ccaiProject: (f = msg.getCcaiProject()) && proto.ondewo.nlu.CcaiProject.toObject(includeInstance, f),
2157
+ errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
1981
2158
  };
1982
2159
 
1983
2160
  if (includeInstance) {
@@ -2157,10 +2334,10 @@ proto.ondewo.nlu.GetCcaiProjectRequest.prototype.toObject = function(opt_include
2157
2334
  */
2158
2335
  proto.ondewo.nlu.GetCcaiProjectRequest.toObject = function(includeInstance, msg) {
2159
2336
  var f, obj = {
2160
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2161
- ccaiProjectView: jspb.Message.getFieldWithDefault(msg, 2, 0),
2162
- ccaiServiceFilter: (f = msg.getCcaiServiceFilter()) && proto.ondewo.nlu.CcaiServiceFilter.toObject(includeInstance, f),
2163
- nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
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, "")
2164
2341
  };
2165
2342
 
2166
2343
  if (includeInstance) {
@@ -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.
@@ -2416,11 +2753,11 @@ proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.toObject = function(opt_inclu
2416
2753
  */
2417
2754
  proto.ondewo.nlu.ListCcaiProjectsRequest.toObject = function(includeInstance, msg) {
2418
2755
  var f, obj = {
2419
- ccaiProjectView: jspb.Message.getFieldWithDefault(msg, 1, 0),
2420
- ccaiServiceFilter: (f = msg.getCcaiServiceFilter()) && proto.ondewo.nlu.CcaiServiceFilter.toObject(includeInstance, f),
2421
- ccaiProjectSorting: (f = msg.getCcaiProjectSorting()) && proto.ondewo.nlu.CcaiProjectSorting.toObject(includeInstance, f),
2422
- pageToken: jspb.Message.getFieldWithDefault(msg, 4, ""),
2423
- nluProjectName: jspb.Message.getFieldWithDefault(msg, 5, "")
2756
+ ccaiProjectView: jspb.Message.getFieldWithDefault(msg, 1, 0),
2757
+ ccaiServiceFilter: (f = msg.getCcaiServiceFilter()) && proto.ondewo.nlu.CcaiServiceFilter.toObject(includeInstance, f),
2758
+ ccaiProjectSorting: (f = msg.getCcaiProjectSorting()) && proto.ondewo.nlu.CcaiProjectSorting.toObject(includeInstance, f),
2759
+ pageToken: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
2760
+ nluProjectName: jspb.Message.getFieldWithDefault(msg, 5, "")
2424
2761
  };
2425
2762
 
2426
2763
  if (includeInstance) {
@@ -2733,9 +3070,9 @@ proto.ondewo.nlu.ListCcaiProjectsResponse.prototype.toObject = function(opt_incl
2733
3070
  */
2734
3071
  proto.ondewo.nlu.ListCcaiProjectsResponse.toObject = function(includeInstance, msg) {
2735
3072
  var f, obj = {
2736
- ccaiProjectsList: jspb.Message.toObjectList(msg.getCcaiProjectsList(),
3073
+ ccaiProjectsList: jspb.Message.toObjectList(msg.getCcaiProjectsList(),
2737
3074
  proto.ondewo.nlu.CcaiProject.toObject, includeInstance),
2738
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
3075
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
2739
3076
  };
2740
3077
 
2741
3078
  if (includeInstance) {
@@ -2916,8 +3253,8 @@ proto.ondewo.nlu.CcaiProjectSorting.prototype.toObject = function(opt_includeIns
2916
3253
  */
2917
3254
  proto.ondewo.nlu.CcaiProjectSorting.toObject = function(includeInstance, msg) {
2918
3255
  var f, obj = {
2919
- sortingField: jspb.Message.getFieldWithDefault(msg, 1, 0),
2920
- sortingMode: jspb.Message.getFieldWithDefault(msg, 2, 0)
3256
+ sortingField: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
3257
+ sortingMode: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
2921
3258
  };
2922
3259
 
2923
3260
  if (includeInstance) {
@@ -3130,8 +3467,8 @@ proto.ondewo.nlu.CcaiServiceFilter.prototype.toObject = function(opt_includeInst
3130
3467
  */
3131
3468
  proto.ondewo.nlu.CcaiServiceFilter.toObject = function(includeInstance, msg) {
3132
3469
  var f, obj = {
3133
- languageCodesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
3134
- ccaiServiceTypesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
3470
+ languageCodesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
3471
+ ccaiServiceTypesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
3135
3472
  };
3136
3473
 
3137
3474
  if (includeInstance) {
@@ -3330,10 +3667,10 @@ proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.toObject = function(opt_incl
3330
3667
  */
3331
3668
  proto.ondewo.nlu.UpdateCcaiProjectRequest.toObject = function(includeInstance, msg) {
3332
3669
  var f, obj = {
3333
- ccaiProject: (f = msg.getCcaiProject()) && proto.ondewo.nlu.CcaiProject.toObject(includeInstance, f),
3334
- ccaiServiceFilter: (f = msg.getCcaiServiceFilter()) && proto.ondewo.nlu.CcaiServiceFilter.toObject(includeInstance, f),
3335
- updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
3336
- nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
3670
+ ccaiProject: (f = msg.getCcaiProject()) && proto.ondewo.nlu.CcaiProject.toObject(includeInstance, f),
3671
+ ccaiServiceFilter: (f = msg.getCcaiServiceFilter()) && proto.ondewo.nlu.CcaiServiceFilter.toObject(includeInstance, f),
3672
+ updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
3673
+ nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
3337
3674
  };
3338
3675
 
3339
3676
  if (includeInstance) {
@@ -3613,8 +3950,8 @@ proto.ondewo.nlu.UpdateCcaiProjectResponse.prototype.toObject = function(opt_inc
3613
3950
  */
3614
3951
  proto.ondewo.nlu.UpdateCcaiProjectResponse.toObject = function(includeInstance, msg) {
3615
3952
  var f, obj = {
3616
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3617
- errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
3953
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3954
+ errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
3618
3955
  };
3619
3956
 
3620
3957
  if (includeInstance) {
@@ -3773,8 +4110,8 @@ proto.ondewo.nlu.DeleteCcaiProjectRequest.prototype.toObject = function(opt_incl
3773
4110
  */
3774
4111
  proto.ondewo.nlu.DeleteCcaiProjectRequest.toObject = function(includeInstance, msg) {
3775
4112
  var f, obj = {
3776
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3777
- nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
4113
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
4114
+ nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
3778
4115
  };
3779
4116
 
3780
4117
  if (includeInstance) {
@@ -3933,9 +4270,9 @@ proto.ondewo.nlu.DeleteCcaiProjectResponse.prototype.toObject = function(opt_inc
3933
4270
  */
3934
4271
  proto.ondewo.nlu.DeleteCcaiProjectResponse.toObject = function(includeInstance, msg) {
3935
4272
  var f, obj = {
3936
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3937
- errorMessage: jspb.Message.getFieldWithDefault(msg, 2, ""),
3938
- nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
4273
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
4274
+ errorMessage: jspb.Message.getFieldWithDefault(msg, 2, ""),
4275
+ nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
3939
4276
  };
3940
4277
 
3941
4278
  if (includeInstance) {
@@ -4118,10 +4455,54 @@ 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
+ CCAI_SERVICE_TYPE_ONDEWO_NLU_LLM_AGENT: 18,
4468
+ CCAI_SERVICE_TYPE_ONDEWO_NLU_LLM_MCP: 19
4469
+ };
4470
+
4471
+ /**
4472
+ * @enum {number}
4473
+ */
4474
+ proto.ondewo.nlu.CcaiServiceProvider = {
4475
+ NO_CCAI_SERVICE_PROVIDER: 0,
4476
+ CCAI_SERVICE_PROVIDER_ONDEWO: 1,
4477
+ CCAI_SERVICE_PROVIDER_GOOGLE_GEMINI: 2,
4478
+ CCAI_SERVICE_PROVIDER_MICROSOFT_AZURE_OPENAI: 3,
4479
+ CCAI_SERVICE_PROVIDER_MICROSOFT_AUTOGEN: 4,
4480
+ CCAI_SERVICE_PROVIDER_OLLAMA: 5,
4481
+ CCAI_SERVICE_PROVIDER_OPENAI: 6,
4482
+ CCAI_SERVICE_PROVIDER_ANTHROPIC: 7,
4483
+ CCAI_SERVICE_PROVIDER_HUGGINGFACE: 8,
4484
+ CCAI_SERVICE_PROVIDER_IBM: 9,
4485
+ CCAI_SERVICE_PROVIDER_HAYSTACK: 10,
4486
+ CCAI_SERVICE_PROVIDER_LANGCHAIN: 11,
4487
+ CCAI_SERVICE_PROVIDER_AMAZON: 12,
4488
+ CCAI_SERVICE_PROVIDER_MISTRAL: 13,
4489
+ CCAI_SERVICE_PROVIDER_DUCKDUCKGO: 14,
4490
+ CCAI_SERVICE_PROVIDER_GOOGLE_PSE: 15,
4491
+ CCAI_SERVICE_PROVIDER_JINA: 16,
4492
+ CCAI_SERVICE_PROVIDER_TAVILY: 17,
4493
+ CCAI_SERVICE_PROVIDER_ELASTICSEARCH: 18,
4494
+ CCAI_SERVICE_PROVIDER_MILVUS: 19,
4495
+ CCAI_SERVICE_PROVIDER_QDRANT: 20,
4496
+ CCAI_SERVICE_PROVIDER_CHROMA: 21,
4497
+ CCAI_SERVICE_PROVIDER_GOOGLE: 22,
4498
+ CCAI_SERVICE_PROVIDER_MICROSOFT: 23,
4499
+ CCAI_SERVICE_PROVIDER_DEEPGRAM: 24,
4500
+ CCAI_SERVICE_PROVIDER_ELEVENLABS: 25,
4501
+ CCAI_SERVICE_PROVIDER_HUGGINGFACE_TGI: 26,
4502
+ CCAI_SERVICE_PROVIDER_HUGGINGFACE_TGE: 27,
4503
+ CCAI_SERVICE_PROVIDER_HUGGINGFACE_SMOLAGENTS: 28,
4504
+ CCAI_SERVICE_PROVIDER_GOOGLE_AGENT_DEVELOPMENT_KIT: 29,
4505
+ CCAI_SERVICE_PROVIDER_MODEL_CONTEXT_PROTOCOL: 30
4125
4506
  };
4126
4507
 
4127
4508
  /**