@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 ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js');
19
25
  goog.object.extend(proto, ondewo_nlu_intent_pb);
@@ -536,7 +542,7 @@ proto.ondewo.nlu.ValidateRegexRequest.prototype.toObject = function(opt_includeI
536
542
  */
537
543
  proto.ondewo.nlu.ValidateRegexRequest.toObject = function(includeInstance, msg) {
538
544
  var f, obj = {
539
- regex: jspb.Message.getFieldWithDefault(msg, 1, "")
545
+ regex: jspb.Message.getFieldWithDefault(msg, 1, "")
540
546
  };
541
547
 
542
548
  if (includeInstance) {
@@ -673,7 +679,7 @@ proto.ondewo.nlu.ValidateRegexResponse.prototype.toObject = function(opt_include
673
679
  */
674
680
  proto.ondewo.nlu.ValidateRegexResponse.toObject = function(includeInstance, msg) {
675
681
  var f, obj = {
676
- errorMessagesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
682
+ errorMessagesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
677
683
  };
678
684
 
679
685
  if (includeInstance) {
@@ -822,7 +828,7 @@ proto.ondewo.nlu.ValidateEmbeddedRegexRequest.prototype.toObject = function(opt_
822
828
  */
823
829
  proto.ondewo.nlu.ValidateEmbeddedRegexRequest.toObject = function(includeInstance, msg) {
824
830
  var f, obj = {
825
- entityType: (f = msg.getEntityType()) && ondewo_nlu_entity_type_pb.EntityType.Entity.toObject(includeInstance, f)
831
+ entityType: (f = msg.getEntityType()) && ondewo_nlu_entity_type_pb.EntityType.Entity.toObject(includeInstance, f)
826
832
  };
827
833
 
828
834
  if (includeInstance) {
@@ -980,7 +986,7 @@ proto.ondewo.nlu.ValidateEmbeddedRegexResponse.prototype.toObject = function(opt
980
986
  */
981
987
  proto.ondewo.nlu.ValidateEmbeddedRegexResponse.toObject = function(includeInstance, msg) {
982
988
  var f, obj = {
983
- errorMessagesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
989
+ errorMessagesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
984
990
  };
985
991
 
986
992
  if (includeInstance) {
@@ -1136,14 +1142,14 @@ proto.ondewo.nlu.CleanAllIntentsRequest.prototype.toObject = function(opt_includ
1136
1142
  */
1137
1143
  proto.ondewo.nlu.CleanAllIntentsRequest.toObject = function(includeInstance, msg) {
1138
1144
  var f, obj = {
1139
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1140
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
1141
- specialCharacters: jspb.Message.getFieldWithDefault(msg, 3, ""),
1142
- substringWhiteListList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
1143
- dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
1144
- trainingPhraseCleanerOptions: (f = msg.getTrainingPhraseCleanerOptions()) && proto.ondewo.nlu.TrainingPhraseCleanerOptions.toObject(includeInstance, f),
1145
- reannotateEntitiesOptions: jspb.Message.getFieldWithDefault(msg, 7, 0),
1146
- numberOfWorkers: jspb.Message.getFieldWithDefault(msg, 8, 0)
1145
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1146
+ languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
1147
+ specialCharacters: jspb.Message.getFieldWithDefault(msg, 3, ""),
1148
+ substringWhiteListList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
1149
+ dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
1150
+ trainingPhraseCleanerOptions: (f = msg.getTrainingPhraseCleanerOptions()) && proto.ondewo.nlu.TrainingPhraseCleanerOptions.toObject(includeInstance, f),
1151
+ reannotateEntitiesOptions: jspb.Message.getFieldWithDefault(msg, 7, 0),
1152
+ numberOfWorkers: jspb.Message.getFieldWithDefault(msg, 8, 0)
1147
1153
  };
1148
1154
 
1149
1155
  if (includeInstance) {
@@ -1523,9 +1529,9 @@ proto.ondewo.nlu.CleanAllIntentsResponse.prototype.toObject = function(opt_inclu
1523
1529
  */
1524
1530
  proto.ondewo.nlu.CleanAllIntentsResponse.toObject = function(includeInstance, msg) {
1525
1531
  var f, obj = {
1526
- cleanedIntentsList: jspb.Message.toObjectList(msg.getCleanedIntentsList(),
1532
+ cleanedIntentsList: jspb.Message.toObjectList(msg.getCleanedIntentsList(),
1527
1533
  ondewo_nlu_intent_pb.Intent.toObject, includeInstance),
1528
- intentUpdateListList: jspb.Message.toObjectList(msg.getIntentUpdateListList(),
1534
+ intentUpdateListList: jspb.Message.toObjectList(msg.getIntentUpdateListList(),
1529
1535
  proto.ondewo.nlu.IntentUpdate.toObject, includeInstance)
1530
1536
  };
1531
1537
 
@@ -1736,14 +1742,14 @@ proto.ondewo.nlu.CleanIntentRequest.prototype.toObject = function(opt_includeIns
1736
1742
  */
1737
1743
  proto.ondewo.nlu.CleanIntentRequest.toObject = function(includeInstance, msg) {
1738
1744
  var f, obj = {
1739
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1740
- intentName: jspb.Message.getFieldWithDefault(msg, 2, ""),
1741
- languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
1742
- specialCharacters: jspb.Message.getFieldWithDefault(msg, 4, ""),
1743
- substringWhiteListList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
1744
- dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
1745
- trainingPhraseCleanerOptions: (f = msg.getTrainingPhraseCleanerOptions()) && proto.ondewo.nlu.TrainingPhraseCleanerOptions.toObject(includeInstance, f),
1746
- reannotateEntitiesOptions: jspb.Message.getFieldWithDefault(msg, 8, 0)
1745
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1746
+ intentName: jspb.Message.getFieldWithDefault(msg, 2, ""),
1747
+ languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
1748
+ specialCharacters: jspb.Message.getFieldWithDefault(msg, 4, ""),
1749
+ substringWhiteListList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
1750
+ dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
1751
+ trainingPhraseCleanerOptions: (f = msg.getTrainingPhraseCleanerOptions()) && proto.ondewo.nlu.TrainingPhraseCleanerOptions.toObject(includeInstance, f),
1752
+ reannotateEntitiesOptions: jspb.Message.getFieldWithDefault(msg, 8, 0)
1747
1753
  };
1748
1754
 
1749
1755
  if (includeInstance) {
@@ -2116,8 +2122,8 @@ proto.ondewo.nlu.CleanIntentResponse.prototype.toObject = function(opt_includeIn
2116
2122
  */
2117
2123
  proto.ondewo.nlu.CleanIntentResponse.toObject = function(includeInstance, msg) {
2118
2124
  var f, obj = {
2119
- cleanedIntent: (f = msg.getCleanedIntent()) && ondewo_nlu_intent_pb.Intent.toObject(includeInstance, f),
2120
- intentUpdate: (f = msg.getIntentUpdate()) && proto.ondewo.nlu.IntentUpdate.toObject(includeInstance, f)
2125
+ cleanedIntent: (f = msg.getCleanedIntent()) && ondewo_nlu_intent_pb.Intent.toObject(includeInstance, f),
2126
+ intentUpdate: (f = msg.getIntentUpdate()) && proto.ondewo.nlu.IntentUpdate.toObject(includeInstance, f)
2121
2127
  };
2122
2128
 
2123
2129
  if (includeInstance) {
@@ -2318,9 +2324,9 @@ proto.ondewo.nlu.TrainingPhraseCleanerOptions.prototype.toObject = function(opt_
2318
2324
  */
2319
2325
  proto.ondewo.nlu.TrainingPhraseCleanerOptions.toObject = function(includeInstance, msg) {
2320
2326
  var f, obj = {
2321
- deleteRepeatedWhitespaces: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
2322
- deleteLeadingSpecialCharacters: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
2323
- deleteTrailingSpecialCharacters: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
2327
+ deleteRepeatedWhitespaces: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
2328
+ deleteLeadingSpecialCharacters: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
2329
+ deleteTrailingSpecialCharacters: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
2324
2330
  };
2325
2331
 
2326
2332
  if (includeInstance) {
@@ -2508,8 +2514,8 @@ proto.ondewo.nlu.StringUpdate.prototype.toObject = function(opt_includeInstance)
2508
2514
  */
2509
2515
  proto.ondewo.nlu.StringUpdate.toObject = function(includeInstance, msg) {
2510
2516
  var f, obj = {
2511
- pb_new: jspb.Message.getFieldWithDefault(msg, 1, ""),
2512
- old: jspb.Message.getFieldWithDefault(msg, 2, "")
2517
+ pb_new: jspb.Message.getFieldWithDefault(msg, 1, ""),
2518
+ old: jspb.Message.getFieldWithDefault(msg, 2, "")
2513
2519
  };
2514
2520
 
2515
2521
  if (includeInstance) {
@@ -2675,10 +2681,10 @@ proto.ondewo.nlu.IntentUpdate.prototype.toObject = function(opt_includeInstance)
2675
2681
  */
2676
2682
  proto.ondewo.nlu.IntentUpdate.toObject = function(includeInstance, msg) {
2677
2683
  var f, obj = {
2678
- intentDisplayName: jspb.Message.getFieldWithDefault(msg, 1, ""),
2679
- trainingPhraseUpdateListList: jspb.Message.toObjectList(msg.getTrainingPhraseUpdateListList(),
2684
+ intentDisplayName: jspb.Message.getFieldWithDefault(msg, 1, ""),
2685
+ trainingPhraseUpdateListList: jspb.Message.toObjectList(msg.getTrainingPhraseUpdateListList(),
2680
2686
  proto.ondewo.nlu.IntentUpdate.TrainingPhraseUpdate.toObject, includeInstance),
2681
- deletedParametersList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
2687
+ deletedParametersList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
2682
2688
  };
2683
2689
 
2684
2690
  if (includeInstance) {
@@ -2821,11 +2827,11 @@ proto.ondewo.nlu.IntentUpdate.TrainingPhraseUpdate.prototype.toObject = function
2821
2827
  */
2822
2828
  proto.ondewo.nlu.IntentUpdate.TrainingPhraseUpdate.toObject = function(includeInstance, msg) {
2823
2829
  var f, obj = {
2824
- trainingPhraseUpdate: (f = msg.getTrainingPhraseUpdate()) && proto.ondewo.nlu.StringUpdate.toObject(includeInstance, f),
2825
- entityUpdatesList: jspb.Message.toObjectList(msg.getEntityUpdatesList(),
2830
+ trainingPhraseUpdate: (f = msg.getTrainingPhraseUpdate()) && proto.ondewo.nlu.StringUpdate.toObject(includeInstance, f),
2831
+ entityUpdatesList: jspb.Message.toObjectList(msg.getEntityUpdatesList(),
2826
2832
  proto.ondewo.nlu.StringUpdate.toObject, includeInstance),
2827
- entitiesReannotatedList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
2828
- containsUpdateVariable: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
2833
+ entitiesReannotatedList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
2834
+ containsUpdateVariable: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
2829
2835
  };
2830
2836
 
2831
2837
  if (includeInstance) {
@@ -3204,8 +3210,8 @@ proto.ondewo.nlu.EntityTypeUpdate.prototype.toObject = function(opt_includeInsta
3204
3210
  */
3205
3211
  proto.ondewo.nlu.EntityTypeUpdate.toObject = function(includeInstance, msg) {
3206
3212
  var f, obj = {
3207
- entityTypeName: jspb.Message.getFieldWithDefault(msg, 1, ""),
3208
- valuesUpdateListList: jspb.Message.toObjectList(msg.getValuesUpdateListList(),
3213
+ entityTypeName: jspb.Message.getFieldWithDefault(msg, 1, ""),
3214
+ valuesUpdateListList: jspb.Message.toObjectList(msg.getValuesUpdateListList(),
3209
3215
  proto.ondewo.nlu.EntityTypeUpdate.EntityUpdate.toObject, includeInstance)
3210
3216
  };
3211
3217
 
@@ -3338,8 +3344,8 @@ proto.ondewo.nlu.EntityTypeUpdate.EntityUpdate.prototype.toObject = function(opt
3338
3344
  */
3339
3345
  proto.ondewo.nlu.EntityTypeUpdate.EntityUpdate.toObject = function(includeInstance, msg) {
3340
3346
  var f, obj = {
3341
- entityValueUpdate: (f = msg.getEntityValueUpdate()) && proto.ondewo.nlu.StringUpdate.toObject(includeInstance, f),
3342
- entitySynonymUpdatesList: jspb.Message.toObjectList(msg.getEntitySynonymUpdatesList(),
3347
+ entityValueUpdate: (f = msg.getEntityValueUpdate()) && proto.ondewo.nlu.StringUpdate.toObject(includeInstance, f),
3348
+ entitySynonymUpdatesList: jspb.Message.toObjectList(msg.getEntitySynonymUpdatesList(),
3343
3349
  proto.ondewo.nlu.StringUpdate.toObject, includeInstance)
3344
3350
  };
3345
3351
 
@@ -3605,14 +3611,14 @@ proto.ondewo.nlu.CleanAllEntityTypesRequest.prototype.toObject = function(opt_in
3605
3611
  */
3606
3612
  proto.ondewo.nlu.CleanAllEntityTypesRequest.toObject = function(includeInstance, msg) {
3607
3613
  var f, obj = {
3608
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
3609
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
3610
- specialCharacters: jspb.Message.getFieldWithDefault(msg, 3, ""),
3611
- substringWhiteListList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
3612
- maxEntityCountUpdate: jspb.Message.getFieldWithDefault(msg, 5, 0),
3613
- forbiddenEntityTypePatternsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
3614
- dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
3615
- numberOfWorkers: jspb.Message.getFieldWithDefault(msg, 8, 0)
3614
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
3615
+ languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
3616
+ specialCharacters: jspb.Message.getFieldWithDefault(msg, 3, ""),
3617
+ substringWhiteListList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
3618
+ maxEntityCountUpdate: jspb.Message.getFieldWithDefault(msg, 5, 0),
3619
+ forbiddenEntityTypePatternsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
3620
+ dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
3621
+ numberOfWorkers: jspb.Message.getFieldWithDefault(msg, 8, 0)
3616
3622
  };
3617
3623
 
3618
3624
  if (includeInstance) {
@@ -3990,13 +3996,13 @@ proto.ondewo.nlu.CleanAllEntityTypesResponse.prototype.toObject = function(opt_i
3990
3996
  */
3991
3997
  proto.ondewo.nlu.CleanAllEntityTypesResponse.toObject = function(includeInstance, msg) {
3992
3998
  var f, obj = {
3993
- cleanedEntityTypesList: jspb.Message.toObjectList(msg.getCleanedEntityTypesList(),
3999
+ cleanedEntityTypesList: jspb.Message.toObjectList(msg.getCleanedEntityTypesList(),
3994
4000
  ondewo_nlu_entity_type_pb.EntityType.toObject, includeInstance),
3995
- deletedEntityTypesList: jspb.Message.toObjectList(msg.getDeletedEntityTypesList(),
4001
+ deletedEntityTypesList: jspb.Message.toObjectList(msg.getDeletedEntityTypesList(),
3996
4002
  ondewo_nlu_entity_type_pb.EntityType.toObject, includeInstance),
3997
- entityTypeUpdatesList: jspb.Message.toObjectList(msg.getEntityTypeUpdatesList(),
4003
+ entityTypeUpdatesList: jspb.Message.toObjectList(msg.getEntityTypeUpdatesList(),
3998
4004
  proto.ondewo.nlu.EntityTypeUpdate.toObject, includeInstance),
3999
- entityTypeDeletionsList: jspb.Message.toObjectList(msg.getEntityTypeDeletionsList(),
4005
+ entityTypeDeletionsList: jspb.Message.toObjectList(msg.getEntityTypeDeletionsList(),
4000
4006
  proto.ondewo.nlu.EntityTypeUpdate.toObject, includeInstance)
4001
4007
  };
4002
4008
 
@@ -4309,13 +4315,13 @@ proto.ondewo.nlu.CleanEntityTypeRequest.prototype.toObject = function(opt_includ
4309
4315
  */
4310
4316
  proto.ondewo.nlu.CleanEntityTypeRequest.toObject = function(includeInstance, msg) {
4311
4317
  var f, obj = {
4312
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
4313
- entityTypeName: jspb.Message.getFieldWithDefault(msg, 2, ""),
4314
- languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
4315
- specialCharacters: jspb.Message.getFieldWithDefault(msg, 4, ""),
4316
- substringWhiteListList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
4317
- maxEntityCountUpdate: jspb.Message.getFieldWithDefault(msg, 6, 0),
4318
- dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
4318
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
4319
+ entityTypeName: jspb.Message.getFieldWithDefault(msg, 2, ""),
4320
+ languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
4321
+ specialCharacters: jspb.Message.getFieldWithDefault(msg, 4, ""),
4322
+ substringWhiteListList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
4323
+ maxEntityCountUpdate: jspb.Message.getFieldWithDefault(msg, 6, 0),
4324
+ dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
4319
4325
  };
4320
4326
 
4321
4327
  if (includeInstance) {
@@ -4638,8 +4644,8 @@ proto.ondewo.nlu.CleanEntityTypeResponse.prototype.toObject = function(opt_inclu
4638
4644
  */
4639
4645
  proto.ondewo.nlu.CleanEntityTypeResponse.toObject = function(includeInstance, msg) {
4640
4646
  var f, obj = {
4641
- cleanedEntityType: (f = msg.getCleanedEntityType()) && ondewo_nlu_entity_type_pb.EntityType.toObject(includeInstance, f),
4642
- entityTypeUpdate: (f = msg.getEntityTypeUpdate()) && proto.ondewo.nlu.EntityTypeUpdate.toObject(includeInstance, f)
4647
+ cleanedEntityType: (f = msg.getCleanedEntityType()) && ondewo_nlu_entity_type_pb.EntityType.toObject(includeInstance, f),
4648
+ entityTypeUpdate: (f = msg.getEntityTypeUpdate()) && proto.ondewo.nlu.EntityTypeUpdate.toObject(includeInstance, f)
4643
4649
  };
4644
4650
 
4645
4651
  if (includeInstance) {
@@ -4847,14 +4853,14 @@ proto.ondewo.nlu.AddTrainingPhrasesRequest.prototype.toObject = function(opt_inc
4847
4853
  */
4848
4854
  proto.ondewo.nlu.AddTrainingPhrasesRequest.toObject = function(includeInstance, msg) {
4849
4855
  var f, obj = {
4850
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
4851
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
4852
- trainingPhraseListList: jspb.Message.toObjectList(msg.getTrainingPhraseListList(),
4856
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
4857
+ languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
4858
+ trainingPhraseListList: jspb.Message.toObjectList(msg.getTrainingPhraseListList(),
4853
4859
  proto.ondewo.nlu.AddTrainingPhrasesRequest.TrainingPhraseForIntent.toObject, includeInstance),
4854
- extractEntities: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
4855
- specialCharacters: jspb.Message.getFieldWithDefault(msg, 5, ""),
4856
- trainingPhraseCleanerOptions: (f = msg.getTrainingPhraseCleanerOptions()) && proto.ondewo.nlu.TrainingPhraseCleanerOptions.toObject(includeInstance, f),
4857
- numberOfWorkers: jspb.Message.getFieldWithDefault(msg, 7, 0)
4860
+ extractEntities: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
4861
+ specialCharacters: jspb.Message.getFieldWithDefault(msg, 5, ""),
4862
+ trainingPhraseCleanerOptions: (f = msg.getTrainingPhraseCleanerOptions()) && proto.ondewo.nlu.TrainingPhraseCleanerOptions.toObject(includeInstance, f),
4863
+ numberOfWorkers: jspb.Message.getFieldWithDefault(msg, 7, 0)
4858
4864
  };
4859
4865
 
4860
4866
  if (includeInstance) {
@@ -5043,9 +5049,9 @@ proto.ondewo.nlu.AddTrainingPhrasesRequest.TrainingPhraseForIntent.prototype.toO
5043
5049
  */
5044
5050
  proto.ondewo.nlu.AddTrainingPhrasesRequest.TrainingPhraseForIntent.toObject = function(includeInstance, msg) {
5045
5051
  var f, obj = {
5046
- trainingPhrase: jspb.Message.getFieldWithDefault(msg, 1, ""),
5047
- intentDisplayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
5048
- entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(),
5052
+ trainingPhrase: jspb.Message.getFieldWithDefault(msg, 1, ""),
5053
+ intentDisplayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
5054
+ entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(),
5049
5055
  ondewo_nlu_intent_pb.Intent.TrainingPhrase.Entity.toObject, includeInstance)
5050
5056
  };
5051
5057
 
@@ -5428,7 +5434,7 @@ proto.ondewo.nlu.AddTrainingPhrasesResponse.prototype.toObject = function(opt_in
5428
5434
  */
5429
5435
  proto.ondewo.nlu.AddTrainingPhrasesResponse.toObject = function(includeInstance, msg) {
5430
5436
  var f, obj = {
5431
- errorMessagesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
5437
+ errorMessagesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
5432
5438
  };
5433
5439
 
5434
5440
  if (includeInstance) {
@@ -5577,13 +5583,13 @@ proto.ondewo.nlu.AddTrainingPhrasesFromCSVRequest.prototype.toObject = function(
5577
5583
  */
5578
5584
  proto.ondewo.nlu.AddTrainingPhrasesFromCSVRequest.toObject = function(includeInstance, msg) {
5579
5585
  var f, obj = {
5580
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
5581
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
5582
- csvContents: msg.getCsvContents_asB64(),
5583
- extractEntities: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
5584
- specialCharacters: jspb.Message.getFieldWithDefault(msg, 5, ""),
5585
- trainingPhraseCleanerOptions: (f = msg.getTrainingPhraseCleanerOptions()) && proto.ondewo.nlu.TrainingPhraseCleanerOptions.toObject(includeInstance, f),
5586
- numberOfWorkers: jspb.Message.getFieldWithDefault(msg, 7, 0)
5586
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
5587
+ languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
5588
+ csvContents: msg.getCsvContents_asB64(),
5589
+ extractEntities: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
5590
+ specialCharacters: jspb.Message.getFieldWithDefault(msg, 5, ""),
5591
+ trainingPhraseCleanerOptions: (f = msg.getTrainingPhraseCleanerOptions()) && proto.ondewo.nlu.TrainingPhraseCleanerOptions.toObject(includeInstance, f),
5592
+ numberOfWorkers: jspb.Message.getFieldWithDefault(msg, 7, 0)
5587
5593
  };
5588
5594
 
5589
5595
  if (includeInstance) {
@@ -1,7 +1,7 @@
1
1
  import * as grpcWeb from 'grpc-web';
2
2
 
3
- import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
4
- import * as ondewo_nlu_webhook_pb from '../../ondewo/nlu/webhook_pb';
3
+ import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
4
+ import * as ondewo_nlu_webhook_pb from '../../ondewo/nlu/webhook_pb'; // proto import: "ondewo/nlu/webhook.proto"
5
5
 
6
6
 
7
7
  export class WebhookClient {
@@ -4,7 +4,11 @@
4
4
  * @public
5
5
  */
6
6
 
7
- // GENERATED CODE -- DO NOT EDIT!
7
+ // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
8
+ // versions:
9
+ // protoc-gen-grpc-web v1.5.0
10
+ // protoc v5.27.3
11
+ // source: ondewo/nlu/webhook.proto
8
12
 
9
13
 
10
14
  /* eslint-disable */
@@ -56,7 +60,7 @@ proto.ondewo.nlu.WebhookClient =
56
60
  /**
57
61
  * @private @const {string} The hostname
58
62
  */
59
- this.hostname_ = hostname;
63
+ this.hostname_ = hostname.replace(/\/+$/, '');
60
64
 
61
65
  };
62
66
 
@@ -82,7 +86,7 @@ proto.ondewo.nlu.WebhookPromiseClient =
82
86
  /**
83
87
  * @private @const {string} The hostname
84
88
  */
85
- this.hostname_ = hostname;
89
+ this.hostname_ = hostname.replace(/\/+$/, '');
86
90
 
87
91
  };
88
92
 
@@ -1,13 +1,13 @@
1
1
  import * as jspb from 'google-protobuf'
2
2
 
3
- import * as google_api_annotations_pb from '../../google/api/annotations_pb';
4
- import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
5
- import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
6
- import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb';
7
- import * as ondewo_nlu_entity_type_pb from '../../ondewo/nlu/entity_type_pb';
8
- import * as ondewo_nlu_context_pb from '../../ondewo/nlu/context_pb';
9
- import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb';
10
- import * as ondewo_nlu_session_pb from '../../ondewo/nlu/session_pb';
3
+ import * as google_api_annotations_pb from '../../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
4
+ import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb'; // proto import: "google/protobuf/struct.proto"
5
+ import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
6
+ import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb'; // proto import: "google/protobuf/field_mask.proto"
7
+ import * as ondewo_nlu_entity_type_pb from '../../ondewo/nlu/entity_type_pb'; // proto import: "ondewo/nlu/entity_type.proto"
8
+ import * as ondewo_nlu_context_pb from '../../ondewo/nlu/context_pb'; // proto import: "ondewo/nlu/context.proto"
9
+ import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb'; // proto import: "ondewo/nlu/intent.proto"
10
+ import * as ondewo_nlu_session_pb from '../../ondewo/nlu/session_pb'; // proto import: "ondewo/nlu/session.proto"
11
11
 
12
12
 
13
13
  export class PingRequest extends jspb.Message {
@@ -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_api_annotations_pb = require('../../google/api/annotations_pb.js');
19
25
  goog.object.extend(proto, google_api_annotations_pb);
@@ -328,7 +334,7 @@ proto.ondewo.nlu.PingRequest.prototype.toObject = function(opt_includeInstance)
328
334
  */
329
335
  proto.ondewo.nlu.PingRequest.toObject = function(includeInstance, msg) {
330
336
  var f, obj = {
331
- session: jspb.Message.getFieldWithDefault(msg, 1, "")
337
+ session: jspb.Message.getFieldWithDefault(msg, 1, "")
332
338
  };
333
339
 
334
340
  if (includeInstance) {
@@ -458,11 +464,11 @@ proto.ondewo.nlu.WebhookRequest.prototype.toObject = function(opt_includeInstanc
458
464
  */
459
465
  proto.ondewo.nlu.WebhookRequest.toObject = function(includeInstance, msg) {
460
466
  var f, obj = {
461
- responseId: jspb.Message.getFieldWithDefault(msg, 1, ""),
462
- queryResult: (f = msg.getQueryResult()) && ondewo_nlu_session_pb.QueryResult.toObject(includeInstance, f),
463
- originalDetectIntentRequest: (f = msg.getOriginalDetectIntentRequest()) && proto.ondewo.nlu.OriginalDetectIntentRequest.toObject(includeInstance, f),
464
- session: jspb.Message.getFieldWithDefault(msg, 4, ""),
465
- headers: (f = msg.getHeaders()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
467
+ responseId: jspb.Message.getFieldWithDefault(msg, 1, ""),
468
+ queryResult: (f = msg.getQueryResult()) && ondewo_nlu_session_pb.QueryResult.toObject(includeInstance, f),
469
+ originalDetectIntentRequest: (f = msg.getOriginalDetectIntentRequest()) && proto.ondewo.nlu.OriginalDetectIntentRequest.toObject(includeInstance, f),
470
+ session: jspb.Message.getFieldWithDefault(msg, 4, ""),
471
+ headers: (f = msg.getHeaders()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
466
472
  };
467
473
 
468
474
  if (includeInstance) {
@@ -778,15 +784,15 @@ proto.ondewo.nlu.WebhookResponse.prototype.toObject = function(opt_includeInstan
778
784
  */
779
785
  proto.ondewo.nlu.WebhookResponse.toObject = function(includeInstance, msg) {
780
786
  var f, obj = {
781
- fulfillmentText: jspb.Message.getFieldWithDefault(msg, 1, ""),
782
- fulfillmentMessagesList: jspb.Message.toObjectList(msg.getFulfillmentMessagesList(),
787
+ fulfillmentText: jspb.Message.getFieldWithDefault(msg, 1, ""),
788
+ fulfillmentMessagesList: jspb.Message.toObjectList(msg.getFulfillmentMessagesList(),
783
789
  ondewo_nlu_intent_pb.Intent.Message.toObject, includeInstance),
784
- source: jspb.Message.getFieldWithDefault(msg, 3, ""),
785
- payload: (f = msg.getPayload()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
786
- outputContextsList: jspb.Message.toObjectList(msg.getOutputContextsList(),
790
+ source: jspb.Message.getFieldWithDefault(msg, 3, ""),
791
+ payload: (f = msg.getPayload()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
792
+ outputContextsList: jspb.Message.toObjectList(msg.getOutputContextsList(),
787
793
  ondewo_nlu_context_pb.Context.toObject, includeInstance),
788
- followupEventInput: (f = msg.getFollowupEventInput()) && ondewo_nlu_session_pb.EventInput.toObject(includeInstance, f),
789
- sessionEntityTypesList: jspb.Message.toObjectList(msg.getSessionEntityTypesList(),
794
+ followupEventInput: (f = msg.getFollowupEventInput()) && ondewo_nlu_session_pb.EventInput.toObject(includeInstance, f),
795
+ sessionEntityTypesList: jspb.Message.toObjectList(msg.getSessionEntityTypesList(),
790
796
  proto.ondewo.nlu.SessionEntityType.toObject, includeInstance)
791
797
  };
792
798
 
@@ -1199,8 +1205,8 @@ proto.ondewo.nlu.OriginalDetectIntentRequest.prototype.toObject = function(opt_i
1199
1205
  */
1200
1206
  proto.ondewo.nlu.OriginalDetectIntentRequest.toObject = function(includeInstance, msg) {
1201
1207
  var f, obj = {
1202
- source: jspb.Message.getFieldWithDefault(msg, 1, ""),
1203
- payload: (f = msg.getPayload()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
1208
+ source: jspb.Message.getFieldWithDefault(msg, 1, ""),
1209
+ payload: (f = msg.getPayload()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
1204
1210
  };
1205
1211
 
1206
1212
  if (includeInstance) {
@@ -1380,7 +1386,7 @@ proto.ondewo.nlu.PingResponse.prototype.toObject = function(opt_includeInstance)
1380
1386
  */
1381
1387
  proto.ondewo.nlu.PingResponse.toObject = function(includeInstance, msg) {
1382
1388
  var f, obj = {
1383
- isReachable: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
1389
+ isReachable: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
1384
1390
  };
1385
1391
 
1386
1392
  if (includeInstance) {
@@ -1517,9 +1523,9 @@ proto.ondewo.nlu.SessionEntityType.prototype.toObject = function(opt_includeInst
1517
1523
  */
1518
1524
  proto.ondewo.nlu.SessionEntityType.toObject = function(includeInstance, msg) {
1519
1525
  var f, obj = {
1520
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
1521
- entityOverrideMode: jspb.Message.getFieldWithDefault(msg, 2, 0),
1522
- entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(),
1526
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
1527
+ entityOverrideMode: jspb.Message.getFieldWithDefault(msg, 2, 0),
1528
+ entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(),
1523
1529
  ondewo_nlu_entity_type_pb.EntityType.Entity.toObject, includeInstance)
1524
1530
  };
1525
1531
 
@@ -1739,9 +1745,9 @@ proto.ondewo.nlu.ListSessionEntityTypesRequest.prototype.toObject = function(opt
1739
1745
  */
1740
1746
  proto.ondewo.nlu.ListSessionEntityTypesRequest.toObject = function(includeInstance, msg) {
1741
1747
  var f, obj = {
1742
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1743
- pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
1744
- pageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
1748
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1749
+ pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
1750
+ pageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
1745
1751
  };
1746
1752
 
1747
1753
  if (includeInstance) {
@@ -1936,9 +1942,9 @@ proto.ondewo.nlu.ListSessionEntityTypesResponse.prototype.toObject = function(op
1936
1942
  */
1937
1943
  proto.ondewo.nlu.ListSessionEntityTypesResponse.toObject = function(includeInstance, msg) {
1938
1944
  var f, obj = {
1939
- sessionEntityTypesList: jspb.Message.toObjectList(msg.getSessionEntityTypesList(),
1945
+ sessionEntityTypesList: jspb.Message.toObjectList(msg.getSessionEntityTypesList(),
1940
1946
  proto.ondewo.nlu.SessionEntityType.toObject, includeInstance),
1941
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
1947
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
1942
1948
  };
1943
1949
 
1944
1950
  if (includeInstance) {
@@ -2119,7 +2125,7 @@ proto.ondewo.nlu.GetSessionEntityTypeRequest.prototype.toObject = function(opt_i
2119
2125
  */
2120
2126
  proto.ondewo.nlu.GetSessionEntityTypeRequest.toObject = function(includeInstance, msg) {
2121
2127
  var f, obj = {
2122
- name: jspb.Message.getFieldWithDefault(msg, 1, "")
2128
+ name: jspb.Message.getFieldWithDefault(msg, 1, "")
2123
2129
  };
2124
2130
 
2125
2131
  if (includeInstance) {
@@ -2249,9 +2255,9 @@ proto.ondewo.nlu.CreateSessionEntityTypeRequest.prototype.toObject = function(op
2249
2255
  */
2250
2256
  proto.ondewo.nlu.CreateSessionEntityTypeRequest.toObject = function(includeInstance, msg) {
2251
2257
  var f, obj = {
2252
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
2253
- sessionEntityType: (f = msg.getSessionEntityType()) && proto.ondewo.nlu.SessionEntityType.toObject(includeInstance, f),
2254
- sessionId: jspb.Message.getFieldWithDefault(msg, 3, "")
2258
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
2259
+ sessionEntityType: (f = msg.getSessionEntityType()) && proto.ondewo.nlu.SessionEntityType.toObject(includeInstance, f),
2260
+ sessionId: jspb.Message.getFieldWithDefault(msg, 3, "")
2255
2261
  };
2256
2262
 
2257
2263
  if (includeInstance) {
@@ -2460,8 +2466,8 @@ proto.ondewo.nlu.UpdateSessionEntityTypeRequest.prototype.toObject = function(op
2460
2466
  */
2461
2467
  proto.ondewo.nlu.UpdateSessionEntityTypeRequest.toObject = function(includeInstance, msg) {
2462
2468
  var f, obj = {
2463
- sessionEntityType: (f = msg.getSessionEntityType()) && proto.ondewo.nlu.SessionEntityType.toObject(includeInstance, f),
2464
- updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
2469
+ sessionEntityType: (f = msg.getSessionEntityType()) && proto.ondewo.nlu.SessionEntityType.toObject(includeInstance, f),
2470
+ updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
2465
2471
  };
2466
2472
 
2467
2473
  if (includeInstance) {
@@ -2662,7 +2668,7 @@ proto.ondewo.nlu.DeleteSessionEntityTypeRequest.prototype.toObject = function(op
2662
2668
  */
2663
2669
  proto.ondewo.nlu.DeleteSessionEntityTypeRequest.toObject = function(includeInstance, msg) {
2664
2670
  var f, obj = {
2665
- name: jspb.Message.getFieldWithDefault(msg, 1, "")
2671
+ name: jspb.Message.getFieldWithDefault(msg, 1, "")
2666
2672
  };
2667
2673
 
2668
2674
  if (includeInstance) {
@@ -1,7 +1,7 @@
1
1
  import * as grpcWeb from 'grpc-web';
2
2
 
3
- import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
4
- import * as ondewo_qa_qa_pb from '../../ondewo/qa/qa_pb';
3
+ import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
4
+ import * as ondewo_qa_qa_pb from '../../ondewo/qa/qa_pb'; // proto import: "ondewo/qa/qa.proto"
5
5
 
6
6
 
7
7
  export class QAClient {
@@ -4,7 +4,11 @@
4
4
  * @public
5
5
  */
6
6
 
7
- // GENERATED CODE -- DO NOT EDIT!
7
+ // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
8
+ // versions:
9
+ // protoc-gen-grpc-web v1.5.0
10
+ // protoc v5.27.3
11
+ // source: ondewo/qa/qa.proto
8
12
 
9
13
 
10
14
  /* eslint-disable */
@@ -46,7 +50,7 @@ proto.ondewo.qa.QAClient =
46
50
  /**
47
51
  * @private @const {string} The hostname
48
52
  */
49
- this.hostname_ = hostname;
53
+ this.hostname_ = hostname.replace(/\/+$/, '');
50
54
 
51
55
  };
52
56
 
@@ -72,7 +76,7 @@ proto.ondewo.qa.QAPromiseClient =
72
76
  /**
73
77
  * @private @const {string} The hostname
74
78
  */
75
- this.hostname_ = hostname;
79
+ this.hostname_ = hostname.replace(/\/+$/, '');
76
80
 
77
81
  };
78
82
 
@@ -1,8 +1,8 @@
1
1
  import * as jspb from 'google-protobuf'
2
2
 
3
- import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
4
- import * as google_api_annotations_pb from '../../google/api/annotations_pb';
5
- import * as ondewo_nlu_session_pb from '../../ondewo/nlu/session_pb';
3
+ import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
4
+ import * as google_api_annotations_pb from '../../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
5
+ import * as ondewo_nlu_session_pb from '../../ondewo/nlu/session_pb'; // proto import: "ondewo/nlu/session.proto"
6
6
 
7
7
 
8
8
  export class GetAnswerRequest extends jspb.Message {