@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
@@ -1,6 +1,6 @@
1
1
  import * as jspb from 'google-protobuf'
2
2
 
3
- import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
3
+ import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
4
4
 
5
5
 
6
6
  export class OperationMetadata 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_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
19
25
  goog.object.extend(proto, google_protobuf_timestamp_pb);
@@ -80,28 +86,28 @@ proto.ondewo.nlu.OperationMetadata.prototype.toObject = function(opt_includeInst
80
86
  */
81
87
  proto.ondewo.nlu.OperationMetadata.toObject = function(includeInstance, msg) {
82
88
  var f, obj = {
83
- status: jspb.Message.getFieldWithDefault(msg, 1, 0),
84
- parentOperationName: jspb.Message.getFieldWithDefault(msg, 2, ""),
85
- subOperationNamesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
86
- createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
87
- startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
88
- endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
89
- isCancellationRequested: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
90
- cancelCommand: jspb.Message.getFieldWithDefault(msg, 8, ""),
91
- userIdCreated: jspb.Message.getFieldWithDefault(msg, 9, ""),
92
- userIdCancelled: jspb.Message.getFieldWithDefault(msg, 10, ""),
93
- projectParent: jspb.Message.getFieldWithDefault(msg, 11, ""),
94
- operationType: jspb.Message.getFieldWithDefault(msg, 12, 0),
95
- hostName: jspb.Message.getFieldWithDefault(msg, 13, ""),
96
- numReruns: jspb.Message.getFieldWithDefault(msg, 14, 0),
97
- maxNumReruns: jspb.Message.getFieldWithDefault(msg, 15, 0),
98
- description: jspb.Message.getFieldWithDefault(msg, 16, ""),
99
- logList: (f = jspb.Message.getRepeatedField(msg, 17)) == null ? undefined : f,
100
- logLimit: jspb.Message.getFieldWithDefault(msg, 18, 0),
101
- createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
102
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
103
- createdBy: jspb.Message.getFieldWithDefault(msg, 21, ""),
104
- modifiedBy: jspb.Message.getFieldWithDefault(msg, 22, "")
89
+ status: jspb.Message.getFieldWithDefault(msg, 1, 0),
90
+ parentOperationName: jspb.Message.getFieldWithDefault(msg, 2, ""),
91
+ subOperationNamesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
92
+ createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
93
+ startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
94
+ endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
95
+ isCancellationRequested: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
96
+ cancelCommand: jspb.Message.getFieldWithDefault(msg, 8, ""),
97
+ userIdCreated: jspb.Message.getFieldWithDefault(msg, 9, ""),
98
+ userIdCancelled: jspb.Message.getFieldWithDefault(msg, 10, ""),
99
+ projectParent: jspb.Message.getFieldWithDefault(msg, 11, ""),
100
+ operationType: jspb.Message.getFieldWithDefault(msg, 12, 0),
101
+ hostName: jspb.Message.getFieldWithDefault(msg, 13, ""),
102
+ numReruns: jspb.Message.getFieldWithDefault(msg, 14, 0),
103
+ maxNumReruns: jspb.Message.getFieldWithDefault(msg, 15, 0),
104
+ description: jspb.Message.getFieldWithDefault(msg, 16, ""),
105
+ logList: (f = jspb.Message.getRepeatedField(msg, 17)) == null ? undefined : f,
106
+ logLimit: jspb.Message.getFieldWithDefault(msg, 18, 0),
107
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
108
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
109
+ createdBy: jspb.Message.getFieldWithDefault(msg, 21, ""),
110
+ modifiedBy: jspb.Message.getFieldWithDefault(msg, 22, "")
105
111
  };
106
112
 
107
113
  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_operations_pb from '../../ondewo/nlu/operations_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_operations_pb from '../../ondewo/nlu/operations_pb'; // proto import: "ondewo/nlu/operations.proto"
5
5
 
6
6
 
7
7
  export class OperationsClient {
@@ -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/operations.proto
8
12
 
9
13
 
10
14
  /* eslint-disable */
@@ -52,7 +56,7 @@ proto.ondewo.nlu.OperationsClient =
52
56
  /**
53
57
  * @private @const {string} The hostname
54
58
  */
55
- this.hostname_ = hostname;
59
+ this.hostname_ = hostname.replace(/\/+$/, '');
56
60
 
57
61
  };
58
62
 
@@ -78,7 +82,7 @@ proto.ondewo.nlu.OperationsPromiseClient =
78
82
  /**
79
83
  * @private @const {string} The hostname
80
84
  */
81
- this.hostname_ = hostname;
85
+ this.hostname_ = hostname.replace(/\/+$/, '');
82
86
 
83
87
  };
84
88
 
@@ -1,11 +1,11 @@
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_any_pb from 'google-protobuf/google/protobuf/any_pb';
5
- import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
6
- import * as google_rpc_status_pb from '../../google/rpc/status_pb';
7
- import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
8
- import * as ondewo_nlu_operation_metadata_pb from '../../ondewo/nlu/operation_metadata_pb';
3
+ import * as google_api_annotations_pb from '../../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
4
+ import * as google_protobuf_any_pb from 'google-protobuf/google/protobuf/any_pb'; // proto import: "google/protobuf/any.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_rpc_status_pb from '../../google/rpc/status_pb'; // proto import: "google/rpc/status.proto"
7
+ import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
8
+ import * as ondewo_nlu_operation_metadata_pb from '../../ondewo/nlu/operation_metadata_pb'; // proto import: "ondewo/nlu/operation_metadata.proto"
9
9
 
10
10
 
11
11
  export class Operation 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);
@@ -242,11 +248,11 @@ proto.ondewo.nlu.Operation.prototype.toObject = function(opt_includeInstance) {
242
248
  */
243
249
  proto.ondewo.nlu.Operation.toObject = function(includeInstance, msg) {
244
250
  var f, obj = {
245
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
246
- metadata: (f = msg.getMetadata()) && ondewo_nlu_operation_metadata_pb.OperationMetadata.toObject(includeInstance, f),
247
- done: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
248
- error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f),
249
- response: (f = msg.getResponse()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
251
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
252
+ metadata: (f = msg.getMetadata()) && ondewo_nlu_operation_metadata_pb.OperationMetadata.toObject(includeInstance, f),
253
+ done: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
254
+ error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f),
255
+ response: (f = msg.getResponse()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
250
256
  };
251
257
 
252
258
  if (includeInstance) {
@@ -555,7 +561,7 @@ proto.ondewo.nlu.GetOperationRequest.prototype.toObject = function(opt_includeIn
555
561
  */
556
562
  proto.ondewo.nlu.GetOperationRequest.toObject = function(includeInstance, msg) {
557
563
  var f, obj = {
558
- name: jspb.Message.getFieldWithDefault(msg, 1, "")
564
+ name: jspb.Message.getFieldWithDefault(msg, 1, "")
559
565
  };
560
566
 
561
567
  if (includeInstance) {
@@ -685,11 +691,11 @@ proto.ondewo.nlu.ListOperationsRequest.prototype.toObject = function(opt_include
685
691
  */
686
692
  proto.ondewo.nlu.ListOperationsRequest.toObject = function(includeInstance, msg) {
687
693
  var f, obj = {
688
- name: jspb.Message.getFieldWithDefault(msg, 4, ""),
689
- filter: jspb.Message.getFieldWithDefault(msg, 1, ""),
690
- pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
691
- pageToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
692
- operationFilter: (f = msg.getOperationFilter()) && proto.ondewo.nlu.OperationFilter.toObject(includeInstance, f)
694
+ name: jspb.Message.getFieldWithDefault(msg, 4, ""),
695
+ filter: jspb.Message.getFieldWithDefault(msg, 1, ""),
696
+ pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
697
+ pageToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
698
+ operationFilter: (f = msg.getOperationFilter()) && proto.ondewo.nlu.OperationFilter.toObject(includeInstance, f)
693
699
  };
694
700
 
695
701
  if (includeInstance) {
@@ -1003,12 +1009,12 @@ proto.ondewo.nlu.OperationFilter.prototype.toObject = function(opt_includeInstan
1003
1009
  */
1004
1010
  proto.ondewo.nlu.OperationFilter.toObject = function(includeInstance, msg) {
1005
1011
  var f, obj = {
1006
- projectParentsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
1007
- statusesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
1008
- typesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
1009
- startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1010
- endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1011
- userIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
1012
+ projectParentsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
1013
+ statusesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
1014
+ typesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
1015
+ startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1016
+ endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1017
+ userIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
1012
1018
  };
1013
1019
 
1014
1020
  if (includeInstance) {
@@ -1412,9 +1418,9 @@ proto.ondewo.nlu.ListOperationsResponse.prototype.toObject = function(opt_includ
1412
1418
  */
1413
1419
  proto.ondewo.nlu.ListOperationsResponse.toObject = function(includeInstance, msg) {
1414
1420
  var f, obj = {
1415
- operationsList: jspb.Message.toObjectList(msg.getOperationsList(),
1421
+ operationsList: jspb.Message.toObjectList(msg.getOperationsList(),
1416
1422
  proto.ondewo.nlu.Operation.toObject, includeInstance),
1417
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
1423
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
1418
1424
  };
1419
1425
 
1420
1426
  if (includeInstance) {
@@ -1595,7 +1601,7 @@ proto.ondewo.nlu.CancelOperationRequest.prototype.toObject = function(opt_includ
1595
1601
  */
1596
1602
  proto.ondewo.nlu.CancelOperationRequest.toObject = function(includeInstance, msg) {
1597
1603
  var f, obj = {
1598
- name: jspb.Message.getFieldWithDefault(msg, 1, "")
1604
+ name: jspb.Message.getFieldWithDefault(msg, 1, "")
1599
1605
  };
1600
1606
 
1601
1607
  if (includeInstance) {
@@ -1725,7 +1731,7 @@ proto.ondewo.nlu.DeleteOperationRequest.prototype.toObject = function(opt_includ
1725
1731
  */
1726
1732
  proto.ondewo.nlu.DeleteOperationRequest.toObject = function(includeInstance, msg) {
1727
1733
  var f, obj = {
1728
- name: jspb.Message.getFieldWithDefault(msg, 1, "")
1734
+ name: jspb.Message.getFieldWithDefault(msg, 1, "")
1729
1735
  };
1730
1736
 
1731
1737
  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_project_role_pb from '../../ondewo/nlu/project_role_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_project_role_pb from '../../ondewo/nlu/project_role_pb'; // proto import: "ondewo/nlu/project_role.proto"
5
5
 
6
6
 
7
7
  export class ProjectRolesClient {
@@ -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/project_role.proto
8
12
 
9
13
 
10
14
  /* eslint-disable */
@@ -48,7 +52,7 @@ proto.ondewo.nlu.ProjectRolesClient =
48
52
  /**
49
53
  * @private @const {string} The hostname
50
54
  */
51
- this.hostname_ = hostname;
55
+ this.hostname_ = hostname.replace(/\/+$/, '');
52
56
 
53
57
  };
54
58
 
@@ -74,7 +78,7 @@ proto.ondewo.nlu.ProjectRolesPromiseClient =
74
78
  /**
75
79
  * @private @const {string} The hostname
76
80
  */
77
- this.hostname_ = hostname;
81
+ this.hostname_ = hostname.replace(/\/+$/, '');
78
82
 
79
83
  };
80
84
 
@@ -1,9 +1,9 @@
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_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
5
- import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb';
6
- import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
3
+ import * as google_api_annotations_pb from '../../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
4
+ import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
5
+ import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb'; // proto import: "google/protobuf/field_mask.proto"
6
+ import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
7
7
 
8
8
 
9
9
  export class ProjectRole 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);
@@ -219,13 +225,13 @@ proto.ondewo.nlu.ProjectRole.prototype.toObject = function(opt_includeInstance)
219
225
  */
220
226
  proto.ondewo.nlu.ProjectRole.toObject = function(includeInstance, msg) {
221
227
  var f, obj = {
222
- roleId: jspb.Message.getFieldWithDefault(msg, 1, 0),
223
- name: jspb.Message.getFieldWithDefault(msg, 2, ""),
224
- permissionsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
225
- createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
226
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
227
- createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
228
- modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
228
+ roleId: jspb.Message.getFieldWithDefault(msg, 1, 0),
229
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
230
+ permissionsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
231
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
232
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
233
+ createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
234
+ modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
229
235
  };
230
236
 
231
237
  if (includeInstance) {
@@ -590,9 +596,9 @@ proto.ondewo.nlu.CreateProjectRoleRequest.prototype.toObject = function(opt_incl
590
596
  */
591
597
  proto.ondewo.nlu.CreateProjectRoleRequest.toObject = function(includeInstance, msg) {
592
598
  var f, obj = {
593
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
594
- role: (f = msg.getRole()) && proto.ondewo.nlu.ProjectRole.toObject(includeInstance, f),
595
- projectRoleView: jspb.Message.getFieldWithDefault(msg, 3, 0)
599
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
600
+ role: (f = msg.getRole()) && proto.ondewo.nlu.ProjectRole.toObject(includeInstance, f),
601
+ projectRoleView: jspb.Message.getFieldWithDefault(msg, 3, 0)
596
602
  };
597
603
 
598
604
  if (includeInstance) {
@@ -801,10 +807,10 @@ proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.toObject = function(opt_incl
801
807
  */
802
808
  proto.ondewo.nlu.UpdateProjectRoleRequest.toObject = function(includeInstance, msg) {
803
809
  var f, obj = {
804
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
805
- role: (f = msg.getRole()) && proto.ondewo.nlu.ProjectRole.toObject(includeInstance, f),
806
- updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
807
- projectRoleView: jspb.Message.getFieldWithDefault(msg, 4, 0)
810
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
811
+ role: (f = msg.getRole()) && proto.ondewo.nlu.ProjectRole.toObject(includeInstance, f),
812
+ updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
813
+ projectRoleView: jspb.Message.getFieldWithDefault(msg, 4, 0)
808
814
  };
809
815
 
810
816
  if (includeInstance) {
@@ -1089,10 +1095,10 @@ proto.ondewo.nlu.GetProjectRoleRequest.prototype.toObject = function(opt_include
1089
1095
  */
1090
1096
  proto.ondewo.nlu.GetProjectRoleRequest.toObject = function(includeInstance, msg) {
1091
1097
  var f, obj = {
1092
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1093
- roleId: jspb.Message.getFieldWithDefault(msg, 2, 0),
1094
- roleName: jspb.Message.getFieldWithDefault(msg, 3, ""),
1095
- projectRoleView: jspb.Message.getFieldWithDefault(msg, 4, 0)
1098
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1099
+ roleId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
1100
+ roleName: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
1101
+ projectRoleView: jspb.Message.getFieldWithDefault(msg, 4, 0)
1096
1102
  };
1097
1103
 
1098
1104
  if (includeInstance) {
@@ -1345,8 +1351,8 @@ proto.ondewo.nlu.DeleteProjectRoleRequest.prototype.toObject = function(opt_incl
1345
1351
  */
1346
1352
  proto.ondewo.nlu.DeleteProjectRoleRequest.toObject = function(includeInstance, msg) {
1347
1353
  var f, obj = {
1348
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1349
- roleId: jspb.Message.getFieldWithDefault(msg, 2, 0)
1354
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1355
+ roleId: jspb.Message.getFieldWithDefault(msg, 2, 0)
1350
1356
  };
1351
1357
 
1352
1358
  if (includeInstance) {
@@ -1505,9 +1511,9 @@ proto.ondewo.nlu.ListProjectRolesRequest.prototype.toObject = function(opt_inclu
1505
1511
  */
1506
1512
  proto.ondewo.nlu.ListProjectRolesRequest.toObject = function(includeInstance, msg) {
1507
1513
  var f, obj = {
1508
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1509
- pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
1510
- projectRoleView: jspb.Message.getFieldWithDefault(msg, 3, 0)
1514
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1515
+ pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
1516
+ projectRoleView: jspb.Message.getFieldWithDefault(msg, 3, 0)
1511
1517
  };
1512
1518
 
1513
1519
  if (includeInstance) {
@@ -1702,9 +1708,9 @@ proto.ondewo.nlu.ListProjectRolesResponse.prototype.toObject = function(opt_incl
1702
1708
  */
1703
1709
  proto.ondewo.nlu.ListProjectRolesResponse.toObject = function(includeInstance, msg) {
1704
1710
  var f, obj = {
1705
- projectRolesList: jspb.Message.toObjectList(msg.getProjectRolesList(),
1711
+ projectRolesList: jspb.Message.toObjectList(msg.getProjectRolesList(),
1706
1712
  proto.ondewo.nlu.ProjectRole.toObject, includeInstance),
1707
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
1713
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
1708
1714
  };
1709
1715
 
1710
1716
  if (includeInstance) {
@@ -1,7 +1,7 @@
1
1
  import * as grpcWeb from 'grpc-web';
2
2
 
3
- import * as ondewo_nlu_project_statistics_pb from '../../ondewo/nlu/project_statistics_pb';
4
- import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
3
+ import * as ondewo_nlu_project_statistics_pb from '../../ondewo/nlu/project_statistics_pb'; // proto import: "ondewo/nlu/project_statistics.proto"
4
+ import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb'; // proto import: "ondewo/nlu/common.proto"
5
5
 
6
6
 
7
7
  export class ProjectStatisticsClient {
@@ -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/project_statistics.proto
8
12
 
9
13
 
10
14
  /* eslint-disable */
@@ -48,7 +52,7 @@ proto.ondewo.nlu.ProjectStatisticsClient =
48
52
  /**
49
53
  * @private @const {string} The hostname
50
54
  */
51
- this.hostname_ = hostname;
55
+ this.hostname_ = hostname.replace(/\/+$/, '');
52
56
 
53
57
  };
54
58
 
@@ -74,7 +78,7 @@ proto.ondewo.nlu.ProjectStatisticsPromiseClient =
74
78
  /**
75
79
  * @private @const {string} The hostname
76
80
  */
77
- this.hostname_ = hostname;
81
+ this.hostname_ = hostname.replace(/\/+$/, '');
78
82
 
79
83
  };
80
84
 
@@ -1,9 +1,9 @@
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 ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb';
5
- import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
6
- import * as ondewo_nlu_entity_type_pb from '../../ondewo/nlu/entity_type_pb';
3
+ import * as google_api_annotations_pb from '../../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
4
+ import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb'; // proto import: "ondewo/nlu/intent.proto"
5
+ import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb'; // proto import: "ondewo/nlu/common.proto"
6
+ import * as ondewo_nlu_entity_type_pb from '../../ondewo/nlu/entity_type_pb'; // proto import: "ondewo/nlu/entity_type.proto"
7
7
 
8
8
 
9
9
  export class GetIntentCountRequest 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);
@@ -143,8 +149,8 @@ proto.ondewo.nlu.GetIntentCountRequest.prototype.toObject = function(opt_include
143
149
  */
144
150
  proto.ondewo.nlu.GetIntentCountRequest.toObject = function(includeInstance, msg) {
145
151
  var f, obj = {
146
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
147
- filterByCategory: jspb.Message.getFieldWithDefault(msg, 2, 0)
152
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
153
+ filterByCategory: jspb.Message.getFieldWithDefault(msg, 2, 0)
148
154
  };
149
155
 
150
156
  if (includeInstance) {
@@ -303,8 +309,8 @@ proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.toObject = function(opt_inc
303
309
  */
304
310
  proto.ondewo.nlu.GetEntityTypeCountRequest.toObject = function(includeInstance, msg) {
305
311
  var f, obj = {
306
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
307
- filterByCategory: jspb.Message.getFieldWithDefault(msg, 2, 0)
312
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
313
+ filterByCategory: jspb.Message.getFieldWithDefault(msg, 2, 0)
308
314
  };
309
315
 
310
316
  if (includeInstance) {
@@ -463,7 +469,7 @@ proto.ondewo.nlu.GetProjectStatRequest.prototype.toObject = function(opt_include
463
469
  */
464
470
  proto.ondewo.nlu.GetProjectStatRequest.toObject = function(includeInstance, msg) {
465
471
  var f, obj = {
466
- parent: jspb.Message.getFieldWithDefault(msg, 1, "")
472
+ parent: jspb.Message.getFieldWithDefault(msg, 1, "")
467
473
  };
468
474
 
469
475
  if (includeInstance) {
@@ -593,8 +599,8 @@ proto.ondewo.nlu.GetProjectElementStatRequest.prototype.toObject = function(opt_
593
599
  */
594
600
  proto.ondewo.nlu.GetProjectElementStatRequest.toObject = function(includeInstance, msg) {
595
601
  var f, obj = {
596
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
597
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, "")
602
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
603
+ languageCode: jspb.Message.getFieldWithDefault(msg, 2, "")
598
604
  };
599
605
 
600
606
  if (includeInstance) {
@@ -1,8 +1,8 @@
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_server_statistics_pb from '../../ondewo/nlu/server_statistics_pb';
5
- import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_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_server_statistics_pb from '../../ondewo/nlu/server_statistics_pb'; // proto import: "ondewo/nlu/server_statistics.proto"
5
+ import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb'; // proto import: "ondewo/nlu/common.proto"
6
6
 
7
7
 
8
8
  export class ServerStatisticsClient {
@@ -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/server_statistics.proto
8
12
 
9
13
 
10
14
  /* eslint-disable */
@@ -46,7 +50,7 @@ proto.ondewo.nlu.ServerStatisticsClient =
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.nlu.ServerStatisticsPromiseClient =
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_api_annotations_pb from '../../google/api/annotations_pb';
4
- import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
5
- import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
3
+ import * as google_api_annotations_pb from '../../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
4
+ import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
5
+ import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb'; // proto import: "ondewo/nlu/common.proto"
6
6
 
7
7
 
8
8
  export class GetUserProjectCountRequest 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);
@@ -75,7 +81,7 @@ proto.ondewo.nlu.GetUserProjectCountRequest.prototype.toObject = function(opt_in
75
81
  */
76
82
  proto.ondewo.nlu.GetUserProjectCountRequest.toObject = function(includeInstance, msg) {
77
83
  var f, obj = {
78
- userId: jspb.Message.getFieldWithDefault(msg, 1, "")
84
+ userId: jspb.Message.getFieldWithDefault(msg, 1, "")
79
85
  };
80
86
 
81
87
  if (includeInstance) {