@ondewo/nlu-client-typescript 6.0.0 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
- 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, "")
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
- ccaiServicesList: jspb.Message.toObjectList(msg.getCcaiServicesList(),
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
- 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: jspb.Message.getFieldWithDefault(msg, 24, 0),
1029
- serviceHierarchy: jspb.Message.getFieldWithDefault(msg, 25, "")
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
- ccaiProject: (f = msg.getCcaiProject()) && proto.ondewo.nlu.CcaiProject.toObject(includeInstance, f),
1976
- 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, "")
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
- ccaiProject: (f = msg.getCcaiProject()) && proto.ondewo.nlu.CcaiProject.toObject(includeInstance, f),
2157
- 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, "")
2158
2158
  };
2159
2159
 
2160
2160
  if (includeInstance) {
@@ -2334,10 +2334,10 @@ 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
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2338
- ccaiProjectView: jspb.Message.getFieldWithDefault(msg, 2, 0),
2339
- ccaiServiceFilter: (f = msg.getCcaiServiceFilter()) && proto.ondewo.nlu.CcaiServiceFilter.toObject(includeInstance, f),
2340
- 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, "")
2341
2341
  };
2342
2342
 
2343
2343
  if (includeInstance) {
@@ -2593,8 +2593,8 @@ proto.ondewo.nlu.GetCcaiServiceRequest.prototype.toObject = function(opt_include
2593
2593
  */
2594
2594
  proto.ondewo.nlu.GetCcaiServiceRequest.toObject = function(includeInstance, msg) {
2595
2595
  var f, obj = {
2596
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2597
- nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
2596
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2597
+ nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
2598
2598
  };
2599
2599
 
2600
2600
  if (includeInstance) {
@@ -2753,11 +2753,11 @@ proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.toObject = function(opt_inclu
2753
2753
  */
2754
2754
  proto.ondewo.nlu.ListCcaiProjectsRequest.toObject = function(includeInstance, msg) {
2755
2755
  var f, obj = {
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: jspb.Message.getFieldWithDefault(msg, 4, ""),
2760
- 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, "")
2761
2761
  };
2762
2762
 
2763
2763
  if (includeInstance) {
@@ -3070,9 +3070,9 @@ proto.ondewo.nlu.ListCcaiProjectsResponse.prototype.toObject = function(opt_incl
3070
3070
  */
3071
3071
  proto.ondewo.nlu.ListCcaiProjectsResponse.toObject = function(includeInstance, msg) {
3072
3072
  var f, obj = {
3073
- ccaiProjectsList: jspb.Message.toObjectList(msg.getCcaiProjectsList(),
3073
+ ccaiProjectsList: jspb.Message.toObjectList(msg.getCcaiProjectsList(),
3074
3074
  proto.ondewo.nlu.CcaiProject.toObject, includeInstance),
3075
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
3075
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
3076
3076
  };
3077
3077
 
3078
3078
  if (includeInstance) {
@@ -3253,8 +3253,8 @@ proto.ondewo.nlu.CcaiProjectSorting.prototype.toObject = function(opt_includeIns
3253
3253
  */
3254
3254
  proto.ondewo.nlu.CcaiProjectSorting.toObject = function(includeInstance, msg) {
3255
3255
  var f, obj = {
3256
- sortingField: jspb.Message.getFieldWithDefault(msg, 1, 0),
3257
- 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
3258
3258
  };
3259
3259
 
3260
3260
  if (includeInstance) {
@@ -3467,8 +3467,8 @@ proto.ondewo.nlu.CcaiServiceFilter.prototype.toObject = function(opt_includeInst
3467
3467
  */
3468
3468
  proto.ondewo.nlu.CcaiServiceFilter.toObject = function(includeInstance, msg) {
3469
3469
  var f, obj = {
3470
- languageCodesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
3471
- 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
3472
3472
  };
3473
3473
 
3474
3474
  if (includeInstance) {
@@ -3667,10 +3667,10 @@ proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.toObject = function(opt_incl
3667
3667
  */
3668
3668
  proto.ondewo.nlu.UpdateCcaiProjectRequest.toObject = function(includeInstance, msg) {
3669
3669
  var f, obj = {
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, "")
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, "")
3674
3674
  };
3675
3675
 
3676
3676
  if (includeInstance) {
@@ -3950,8 +3950,8 @@ proto.ondewo.nlu.UpdateCcaiProjectResponse.prototype.toObject = function(opt_inc
3950
3950
  */
3951
3951
  proto.ondewo.nlu.UpdateCcaiProjectResponse.toObject = function(includeInstance, msg) {
3952
3952
  var f, obj = {
3953
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3954
- errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
3953
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3954
+ errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
3955
3955
  };
3956
3956
 
3957
3957
  if (includeInstance) {
@@ -4110,8 +4110,8 @@ proto.ondewo.nlu.DeleteCcaiProjectRequest.prototype.toObject = function(opt_incl
4110
4110
  */
4111
4111
  proto.ondewo.nlu.DeleteCcaiProjectRequest.toObject = function(includeInstance, msg) {
4112
4112
  var f, obj = {
4113
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
4114
- nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
4113
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
4114
+ nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
4115
4115
  };
4116
4116
 
4117
4117
  if (includeInstance) {
@@ -4270,9 +4270,9 @@ proto.ondewo.nlu.DeleteCcaiProjectResponse.prototype.toObject = function(opt_inc
4270
4270
  */
4271
4271
  proto.ondewo.nlu.DeleteCcaiProjectResponse.toObject = function(includeInstance, msg) {
4272
4272
  var f, obj = {
4273
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
4274
- errorMessage: jspb.Message.getFieldWithDefault(msg, 2, ""),
4275
- 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, "")
4276
4276
  };
4277
4277
 
4278
4278
  if (includeInstance) {
@@ -4463,7 +4463,9 @@ proto.ondewo.nlu.CcaiServiceType = {
4463
4463
  CCAI_SERVICE_TYPE_ONDEWO_NLU_WEBSEARCH: 14,
4464
4464
  CCAI_SERVICE_TYPE_ONDEWO_AIM_WEBCHAT: 15,
4465
4465
  CCAI_SERVICE_TYPE_ONDEWO_AIM_WEBPHONE: 16,
4466
- CCAI_SERVICE_TYPE_ONDEWO_NLU_VECTORSTORE: 17
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
4467
4469
  };
4468
4470
 
4469
4471
  /**
@@ -4491,7 +4493,16 @@ proto.ondewo.nlu.CcaiServiceProvider = {
4491
4493
  CCAI_SERVICE_PROVIDER_ELASTICSEARCH: 18,
4492
4494
  CCAI_SERVICE_PROVIDER_MILVUS: 19,
4493
4495
  CCAI_SERVICE_PROVIDER_QDRANT: 20,
4494
- CCAI_SERVICE_PROVIDER_CHROMA: 21
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
4495
4506
  };
4496
4507
 
4497
4508
  /**
@@ -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
- value: jspb.Message.getFieldWithDefault(msg, 1, 0)
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
- 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, "")
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
- 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, "")
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
- notificationsList: jspb.Message.toObjectList(msg.getNotificationsList(),
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
- notificationsList: jspb.Message.toObjectList(msg.getNotificationsList(),
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
- 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
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
- 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)
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
- notificationsList: jspb.Message.toObjectList(msg.getNotificationsList(),
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
- notificationNamesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
2855
- flaggedList: (f = jspb.Message.getRepeatedBooleanField(msg, 2)) == null ? undefined : f
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
- notificationNamesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
3062
- flaggedList: (f = jspb.Message.getRepeatedBooleanField(msg, 2)) == null ? undefined : f
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
- key: jspb.Message.getFieldWithDefault(msg, 1, ""),
3291
- intValue: jspb.Message.getFieldWithDefault(msg, 2, 0),
3292
- floatValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
3293
- doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
3294
- stringValue: jspb.Message.getFieldWithDefault(msg, 5, ""),
3295
- createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
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
- 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, "")
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
- 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, "")
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
- sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1031
- pageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
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
- contextsList: jspb.Message.toObjectList(msg.getContextsList(),
1197
+ contextsList: jspb.Message.toObjectList(msg.getContextsList(),
1198
1198
  proto.ondewo.nlu.Context.toObject, includeInstance),
1199
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
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
- name: jspb.Message.getFieldWithDefault(msg, 1, "")
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
- sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1511
- context: (f = msg.getContext()) && proto.ondewo.nlu.Context.toObject(includeInstance, f)
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
- 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)
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
- name: jspb.Message.getFieldWithDefault(msg, 1, "")
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
- sessionId: jspb.Message.getFieldWithDefault(msg, 1, "")
2023
+ sessionId: jspb.Message.getFieldWithDefault(msg, 1, "")
2024
2024
  };
2025
2025
 
2026
2026
  if (includeInstance) {