@ondewo/nlu-client-typescript 4.7.0 → 4.8.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.
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +61 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +308 -1
- package/api/ondewo/nlu/agent_pb.d.ts +222 -1
- package/api/ondewo/nlu/agent_pb.js +1814 -30
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +79 -0
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +388 -0
- package/api/ondewo/nlu/ccai_project_pb.d.ts +582 -0
- package/api/ondewo/nlu/ccai_project_pb.js +4137 -0
- package/api/ondewo/nlu/common_pb.d.ts +456 -0
- package/api/ondewo/nlu/common_pb.js +3523 -4
- package/api/ondewo/nlu/context_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/context_pb.d.ts +41 -0
- package/api/ondewo/nlu/context_pb.js +328 -2
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/entity_type_pb.d.ts +41 -0
- package/api/ondewo/nlu/entity_type_pb.js +328 -2
- package/api/ondewo/nlu/intent_pb.d.ts +120 -0
- package/api/ondewo/nlu/intent_pb.js +1058 -86
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +21 -0
- package/api/ondewo/nlu/operation_metadata_pb.js +165 -2
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +3 -1
- package/api/ondewo/nlu/project_role_pb.d.ts +22 -1
- package/api/ondewo/nlu/project_role_pb.js +167 -3
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +109 -0
- package/api/ondewo/nlu/session_grpc_web_pb.js +551 -0
- package/api/ondewo/nlu/session_pb.d.ts +624 -0
- package/api/ondewo/nlu/session_pb.js +10278 -5168
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +85 -0
- package/api/ondewo/nlu/user_grpc_web_pb.js +431 -0
- package/api/ondewo/nlu/user_pb.d.ts +284 -0
- package/api/ondewo/nlu/user_pb.js +3418 -1024
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +37 -0
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +191 -2
- package/api/ondewo/nlu/webhook_pb.d.ts +188 -5
- package/api/ondewo/nlu/webhook_pb.js +1530 -34
- package/package.json +1 -1
- package/public-api.d.ts +27 -25
|
@@ -68,6 +68,22 @@ export class OperationMetadata extends jspb.Message {
|
|
|
68
68
|
getLogLimit(): number;
|
|
69
69
|
setLogLimit(value: number): OperationMetadata;
|
|
70
70
|
|
|
71
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
72
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): OperationMetadata;
|
|
73
|
+
hasCreatedAt(): boolean;
|
|
74
|
+
clearCreatedAt(): OperationMetadata;
|
|
75
|
+
|
|
76
|
+
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
77
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): OperationMetadata;
|
|
78
|
+
hasModifiedAt(): boolean;
|
|
79
|
+
clearModifiedAt(): OperationMetadata;
|
|
80
|
+
|
|
81
|
+
getCreatedBy(): string;
|
|
82
|
+
setCreatedBy(value: string): OperationMetadata;
|
|
83
|
+
|
|
84
|
+
getModifiedBy(): string;
|
|
85
|
+
setModifiedBy(value: string): OperationMetadata;
|
|
86
|
+
|
|
71
87
|
serializeBinary(): Uint8Array;
|
|
72
88
|
toObject(includeInstance?: boolean): OperationMetadata.AsObject;
|
|
73
89
|
static toObject(includeInstance: boolean, msg: OperationMetadata): OperationMetadata.AsObject;
|
|
@@ -96,6 +112,10 @@ export namespace OperationMetadata {
|
|
|
96
112
|
description: string,
|
|
97
113
|
logList: Array<string>,
|
|
98
114
|
logLimit: number,
|
|
115
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
116
|
+
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
117
|
+
createdBy: string,
|
|
118
|
+
modifiedBy: string,
|
|
99
119
|
}
|
|
100
120
|
|
|
101
121
|
export enum Status {
|
|
@@ -117,6 +137,7 @@ export namespace OperationMetadata {
|
|
|
117
137
|
BUILD_AGENT_CACHE = 6,
|
|
118
138
|
TRAIN_AGENT = 7,
|
|
119
139
|
EXPORT_BENCHMARK_AGENT = 8,
|
|
140
|
+
INDEX_AGENT = 9,
|
|
120
141
|
}
|
|
121
142
|
}
|
|
122
143
|
|
|
@@ -97,7 +97,11 @@ proto.ondewo.nlu.OperationMetadata.toObject = function(includeInstance, msg) {
|
|
|
97
97
|
maxNumReruns: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
98
98
|
description: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
99
99
|
logList: (f = jspb.Message.getRepeatedField(msg, 17)) == null ? undefined : f,
|
|
100
|
-
logLimit: jspb.Message.getFieldWithDefault(msg, 18, 0)
|
|
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, "")
|
|
101
105
|
};
|
|
102
106
|
|
|
103
107
|
if (includeInstance) {
|
|
@@ -209,6 +213,24 @@ proto.ondewo.nlu.OperationMetadata.deserializeBinaryFromReader = function(msg, r
|
|
|
209
213
|
var value = /** @type {number} */ (reader.readInt32());
|
|
210
214
|
msg.setLogLimit(value);
|
|
211
215
|
break;
|
|
216
|
+
case 19:
|
|
217
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
218
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
219
|
+
msg.setCreatedAt(value);
|
|
220
|
+
break;
|
|
221
|
+
case 20:
|
|
222
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
223
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
224
|
+
msg.setModifiedAt(value);
|
|
225
|
+
break;
|
|
226
|
+
case 21:
|
|
227
|
+
var value = /** @type {string} */ (reader.readString());
|
|
228
|
+
msg.setCreatedBy(value);
|
|
229
|
+
break;
|
|
230
|
+
case 22:
|
|
231
|
+
var value = /** @type {string} */ (reader.readString());
|
|
232
|
+
msg.setModifiedBy(value);
|
|
233
|
+
break;
|
|
212
234
|
default:
|
|
213
235
|
reader.skipField();
|
|
214
236
|
break;
|
|
@@ -367,6 +389,36 @@ proto.ondewo.nlu.OperationMetadata.serializeBinaryToWriter = function(message, w
|
|
|
367
389
|
f
|
|
368
390
|
);
|
|
369
391
|
}
|
|
392
|
+
f = message.getCreatedAt();
|
|
393
|
+
if (f != null) {
|
|
394
|
+
writer.writeMessage(
|
|
395
|
+
19,
|
|
396
|
+
f,
|
|
397
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
398
|
+
);
|
|
399
|
+
}
|
|
400
|
+
f = message.getModifiedAt();
|
|
401
|
+
if (f != null) {
|
|
402
|
+
writer.writeMessage(
|
|
403
|
+
20,
|
|
404
|
+
f,
|
|
405
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
406
|
+
);
|
|
407
|
+
}
|
|
408
|
+
f = message.getCreatedBy();
|
|
409
|
+
if (f.length > 0) {
|
|
410
|
+
writer.writeString(
|
|
411
|
+
21,
|
|
412
|
+
f
|
|
413
|
+
);
|
|
414
|
+
}
|
|
415
|
+
f = message.getModifiedBy();
|
|
416
|
+
if (f.length > 0) {
|
|
417
|
+
writer.writeString(
|
|
418
|
+
22,
|
|
419
|
+
f
|
|
420
|
+
);
|
|
421
|
+
}
|
|
370
422
|
};
|
|
371
423
|
|
|
372
424
|
|
|
@@ -394,7 +446,8 @@ proto.ondewo.nlu.OperationMetadata.OperationType = {
|
|
|
394
446
|
RESTORE_AGENT: 5,
|
|
395
447
|
BUILD_AGENT_CACHE: 6,
|
|
396
448
|
TRAIN_AGENT: 7,
|
|
397
|
-
EXPORT_BENCHMARK_AGENT: 8
|
|
449
|
+
EXPORT_BENCHMARK_AGENT: 8,
|
|
450
|
+
INDEX_AGENT: 9
|
|
398
451
|
};
|
|
399
452
|
|
|
400
453
|
/**
|
|
@@ -816,4 +869,114 @@ proto.ondewo.nlu.OperationMetadata.prototype.setLogLimit = function(value) {
|
|
|
816
869
|
};
|
|
817
870
|
|
|
818
871
|
|
|
872
|
+
/**
|
|
873
|
+
* optional google.protobuf.Timestamp created_at = 19;
|
|
874
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
875
|
+
*/
|
|
876
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getCreatedAt = function() {
|
|
877
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
878
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 19));
|
|
879
|
+
};
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
884
|
+
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
885
|
+
*/
|
|
886
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setCreatedAt = function(value) {
|
|
887
|
+
return jspb.Message.setWrapperField(this, 19, value);
|
|
888
|
+
};
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* Clears the message field making it undefined.
|
|
893
|
+
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
894
|
+
*/
|
|
895
|
+
proto.ondewo.nlu.OperationMetadata.prototype.clearCreatedAt = function() {
|
|
896
|
+
return this.setCreatedAt(undefined);
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* Returns whether this field is set.
|
|
902
|
+
* @return {boolean}
|
|
903
|
+
*/
|
|
904
|
+
proto.ondewo.nlu.OperationMetadata.prototype.hasCreatedAt = function() {
|
|
905
|
+
return jspb.Message.getField(this, 19) != null;
|
|
906
|
+
};
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* optional google.protobuf.Timestamp modified_at = 20;
|
|
911
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
912
|
+
*/
|
|
913
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getModifiedAt = function() {
|
|
914
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
915
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 20));
|
|
916
|
+
};
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
921
|
+
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
922
|
+
*/
|
|
923
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setModifiedAt = function(value) {
|
|
924
|
+
return jspb.Message.setWrapperField(this, 20, value);
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Clears the message field making it undefined.
|
|
930
|
+
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
931
|
+
*/
|
|
932
|
+
proto.ondewo.nlu.OperationMetadata.prototype.clearModifiedAt = function() {
|
|
933
|
+
return this.setModifiedAt(undefined);
|
|
934
|
+
};
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* Returns whether this field is set.
|
|
939
|
+
* @return {boolean}
|
|
940
|
+
*/
|
|
941
|
+
proto.ondewo.nlu.OperationMetadata.prototype.hasModifiedAt = function() {
|
|
942
|
+
return jspb.Message.getField(this, 20) != null;
|
|
943
|
+
};
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* optional string created_by = 21;
|
|
948
|
+
* @return {string}
|
|
949
|
+
*/
|
|
950
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getCreatedBy = function() {
|
|
951
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
952
|
+
};
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* @param {string} value
|
|
957
|
+
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
958
|
+
*/
|
|
959
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setCreatedBy = function(value) {
|
|
960
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
961
|
+
};
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* optional string modified_by = 22;
|
|
966
|
+
* @return {string}
|
|
967
|
+
*/
|
|
968
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getModifiedBy = function() {
|
|
969
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
970
|
+
};
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* @param {string} value
|
|
975
|
+
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
976
|
+
*/
|
|
977
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setModifiedBy = function(value) {
|
|
978
|
+
return jspb.Message.setProto3StringField(this, 22, value);
|
|
979
|
+
};
|
|
980
|
+
|
|
981
|
+
|
|
819
982
|
goog.object.extend(exports, proto.ondewo.nlu);
|
|
@@ -18,9 +18,11 @@ grpc.web = require('grpc-web');
|
|
|
18
18
|
|
|
19
19
|
var google_api_annotations_pb = require('../../google/api/annotations_pb.js')
|
|
20
20
|
|
|
21
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
|
|
22
|
+
|
|
21
23
|
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
|
|
22
24
|
|
|
23
|
-
var
|
|
25
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
|
|
24
26
|
const proto = {};
|
|
25
27
|
proto.ondewo = {};
|
|
26
28
|
proto.ondewo.nlu = require('./project_role_pb.js');
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as jspb from 'google-protobuf'
|
|
2
2
|
|
|
3
3
|
import * as google_api_annotations_pb from '../../google/api/annotations_pb';
|
|
4
|
-
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb';
|
|
5
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';
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
export class ProjectRole extends jspb.Message {
|
|
@@ -17,6 +18,22 @@ export class ProjectRole extends jspb.Message {
|
|
|
17
18
|
clearPermissionsList(): ProjectRole;
|
|
18
19
|
addPermissions(value: string, index?: number): ProjectRole;
|
|
19
20
|
|
|
21
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
22
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): ProjectRole;
|
|
23
|
+
hasCreatedAt(): boolean;
|
|
24
|
+
clearCreatedAt(): ProjectRole;
|
|
25
|
+
|
|
26
|
+
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
27
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): ProjectRole;
|
|
28
|
+
hasModifiedAt(): boolean;
|
|
29
|
+
clearModifiedAt(): ProjectRole;
|
|
30
|
+
|
|
31
|
+
getCreatedBy(): string;
|
|
32
|
+
setCreatedBy(value: string): ProjectRole;
|
|
33
|
+
|
|
34
|
+
getModifiedBy(): string;
|
|
35
|
+
setModifiedBy(value: string): ProjectRole;
|
|
36
|
+
|
|
20
37
|
serializeBinary(): Uint8Array;
|
|
21
38
|
toObject(includeInstance?: boolean): ProjectRole.AsObject;
|
|
22
39
|
static toObject(includeInstance: boolean, msg: ProjectRole): ProjectRole.AsObject;
|
|
@@ -30,6 +47,10 @@ export namespace ProjectRole {
|
|
|
30
47
|
roleId: number,
|
|
31
48
|
name: string,
|
|
32
49
|
permissionsList: Array<string>,
|
|
50
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
51
|
+
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
52
|
+
createdBy: string,
|
|
53
|
+
modifiedBy: string,
|
|
33
54
|
}
|
|
34
55
|
}
|
|
35
56
|
|
|
@@ -17,10 +17,12 @@ var global = (function() { return this || window || global || self || Function('
|
|
|
17
17
|
|
|
18
18
|
var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
|
|
19
19
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
20
|
-
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
|
|
21
|
-
goog.object.extend(proto, google_protobuf_field_mask_pb);
|
|
22
20
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
23
21
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
22
|
+
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
|
|
23
|
+
goog.object.extend(proto, google_protobuf_field_mask_pb);
|
|
24
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
25
|
+
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
24
26
|
goog.exportSymbol('proto.ondewo.nlu.CreateProjectRoleRequest', null, global);
|
|
25
27
|
goog.exportSymbol('proto.ondewo.nlu.DefaultProjectRole', null, global);
|
|
26
28
|
goog.exportSymbol('proto.ondewo.nlu.DeleteProjectRoleRequest', null, global);
|
|
@@ -219,7 +221,11 @@ proto.ondewo.nlu.ProjectRole.toObject = function(includeInstance, msg) {
|
|
|
219
221
|
var f, obj = {
|
|
220
222
|
roleId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
221
223
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
222
|
-
permissionsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
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, "")
|
|
223
229
|
};
|
|
224
230
|
|
|
225
231
|
if (includeInstance) {
|
|
@@ -268,6 +274,24 @@ proto.ondewo.nlu.ProjectRole.deserializeBinaryFromReader = function(msg, reader)
|
|
|
268
274
|
var value = /** @type {string} */ (reader.readString());
|
|
269
275
|
msg.addPermissions(value);
|
|
270
276
|
break;
|
|
277
|
+
case 4:
|
|
278
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
279
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
280
|
+
msg.setCreatedAt(value);
|
|
281
|
+
break;
|
|
282
|
+
case 5:
|
|
283
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
284
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
285
|
+
msg.setModifiedAt(value);
|
|
286
|
+
break;
|
|
287
|
+
case 6:
|
|
288
|
+
var value = /** @type {string} */ (reader.readString());
|
|
289
|
+
msg.setCreatedBy(value);
|
|
290
|
+
break;
|
|
291
|
+
case 7:
|
|
292
|
+
var value = /** @type {string} */ (reader.readString());
|
|
293
|
+
msg.setModifiedBy(value);
|
|
294
|
+
break;
|
|
271
295
|
default:
|
|
272
296
|
reader.skipField();
|
|
273
297
|
break;
|
|
@@ -318,6 +342,36 @@ proto.ondewo.nlu.ProjectRole.serializeBinaryToWriter = function(message, writer)
|
|
|
318
342
|
f
|
|
319
343
|
);
|
|
320
344
|
}
|
|
345
|
+
f = message.getCreatedAt();
|
|
346
|
+
if (f != null) {
|
|
347
|
+
writer.writeMessage(
|
|
348
|
+
4,
|
|
349
|
+
f,
|
|
350
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
351
|
+
);
|
|
352
|
+
}
|
|
353
|
+
f = message.getModifiedAt();
|
|
354
|
+
if (f != null) {
|
|
355
|
+
writer.writeMessage(
|
|
356
|
+
5,
|
|
357
|
+
f,
|
|
358
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
359
|
+
);
|
|
360
|
+
}
|
|
361
|
+
f = message.getCreatedBy();
|
|
362
|
+
if (f.length > 0) {
|
|
363
|
+
writer.writeString(
|
|
364
|
+
6,
|
|
365
|
+
f
|
|
366
|
+
);
|
|
367
|
+
}
|
|
368
|
+
f = message.getModifiedBy();
|
|
369
|
+
if (f.length > 0) {
|
|
370
|
+
writer.writeString(
|
|
371
|
+
7,
|
|
372
|
+
f
|
|
373
|
+
);
|
|
374
|
+
}
|
|
321
375
|
};
|
|
322
376
|
|
|
323
377
|
|
|
@@ -394,6 +448,116 @@ proto.ondewo.nlu.ProjectRole.prototype.clearPermissionsList = function() {
|
|
|
394
448
|
};
|
|
395
449
|
|
|
396
450
|
|
|
451
|
+
/**
|
|
452
|
+
* optional google.protobuf.Timestamp created_at = 4;
|
|
453
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
454
|
+
*/
|
|
455
|
+
proto.ondewo.nlu.ProjectRole.prototype.getCreatedAt = function() {
|
|
456
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
457
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
463
|
+
* @return {!proto.ondewo.nlu.ProjectRole} returns this
|
|
464
|
+
*/
|
|
465
|
+
proto.ondewo.nlu.ProjectRole.prototype.setCreatedAt = function(value) {
|
|
466
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
467
|
+
};
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Clears the message field making it undefined.
|
|
472
|
+
* @return {!proto.ondewo.nlu.ProjectRole} returns this
|
|
473
|
+
*/
|
|
474
|
+
proto.ondewo.nlu.ProjectRole.prototype.clearCreatedAt = function() {
|
|
475
|
+
return this.setCreatedAt(undefined);
|
|
476
|
+
};
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* Returns whether this field is set.
|
|
481
|
+
* @return {boolean}
|
|
482
|
+
*/
|
|
483
|
+
proto.ondewo.nlu.ProjectRole.prototype.hasCreatedAt = function() {
|
|
484
|
+
return jspb.Message.getField(this, 4) != null;
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* optional google.protobuf.Timestamp modified_at = 5;
|
|
490
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
491
|
+
*/
|
|
492
|
+
proto.ondewo.nlu.ProjectRole.prototype.getModifiedAt = function() {
|
|
493
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
494
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
495
|
+
};
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
500
|
+
* @return {!proto.ondewo.nlu.ProjectRole} returns this
|
|
501
|
+
*/
|
|
502
|
+
proto.ondewo.nlu.ProjectRole.prototype.setModifiedAt = function(value) {
|
|
503
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
504
|
+
};
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* Clears the message field making it undefined.
|
|
509
|
+
* @return {!proto.ondewo.nlu.ProjectRole} returns this
|
|
510
|
+
*/
|
|
511
|
+
proto.ondewo.nlu.ProjectRole.prototype.clearModifiedAt = function() {
|
|
512
|
+
return this.setModifiedAt(undefined);
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Returns whether this field is set.
|
|
518
|
+
* @return {boolean}
|
|
519
|
+
*/
|
|
520
|
+
proto.ondewo.nlu.ProjectRole.prototype.hasModifiedAt = function() {
|
|
521
|
+
return jspb.Message.getField(this, 5) != null;
|
|
522
|
+
};
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* optional string created_by = 6;
|
|
527
|
+
* @return {string}
|
|
528
|
+
*/
|
|
529
|
+
proto.ondewo.nlu.ProjectRole.prototype.getCreatedBy = function() {
|
|
530
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
531
|
+
};
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* @param {string} value
|
|
536
|
+
* @return {!proto.ondewo.nlu.ProjectRole} returns this
|
|
537
|
+
*/
|
|
538
|
+
proto.ondewo.nlu.ProjectRole.prototype.setCreatedBy = function(value) {
|
|
539
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* optional string modified_by = 7;
|
|
545
|
+
* @return {string}
|
|
546
|
+
*/
|
|
547
|
+
proto.ondewo.nlu.ProjectRole.prototype.getModifiedBy = function() {
|
|
548
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
549
|
+
};
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* @param {string} value
|
|
554
|
+
* @return {!proto.ondewo.nlu.ProjectRole} returns this
|
|
555
|
+
*/
|
|
556
|
+
proto.ondewo.nlu.ProjectRole.prototype.setModifiedBy = function(value) {
|
|
557
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
|
|
397
561
|
|
|
398
562
|
|
|
399
563
|
|
|
@@ -2,6 +2,7 @@ import * as grpcWeb from 'grpc-web';
|
|
|
2
2
|
|
|
3
3
|
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
4
4
|
import * as ondewo_nlu_session_pb from '../../ondewo/nlu/session_pb';
|
|
5
|
+
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
export class SessionsClient {
|
|
@@ -170,6 +171,34 @@ export class SessionsClient {
|
|
|
170
171
|
response: ondewo_nlu_session_pb.Session) => void
|
|
171
172
|
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.Session>;
|
|
172
173
|
|
|
174
|
+
addSessionComment(
|
|
175
|
+
request: ondewo_nlu_session_pb.AddSessionCommentRequest,
|
|
176
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
177
|
+
callback: (err: grpcWeb.RpcError,
|
|
178
|
+
response: ondewo_nlu_common_pb.Comment) => void
|
|
179
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_common_pb.Comment>;
|
|
180
|
+
|
|
181
|
+
deleteSessionComments(
|
|
182
|
+
request: ondewo_nlu_session_pb.DeleteSessionCommentsRequest,
|
|
183
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
184
|
+
callback: (err: grpcWeb.RpcError,
|
|
185
|
+
response: ondewo_nlu_session_pb.Session) => void
|
|
186
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.Session>;
|
|
187
|
+
|
|
188
|
+
updateSessionComments(
|
|
189
|
+
request: ondewo_nlu_session_pb.UpdateSessionCommentsRequest,
|
|
190
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
191
|
+
callback: (err: grpcWeb.RpcError,
|
|
192
|
+
response: ondewo_nlu_session_pb.Session) => void
|
|
193
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.Session>;
|
|
194
|
+
|
|
195
|
+
listSessionComments(
|
|
196
|
+
request: ondewo_nlu_session_pb.ListSessionCommentsRequest,
|
|
197
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
198
|
+
callback: (err: grpcWeb.RpcError,
|
|
199
|
+
response: ondewo_nlu_session_pb.ListSessionCommentsResponse) => void
|
|
200
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.ListSessionCommentsResponse>;
|
|
201
|
+
|
|
173
202
|
listSessionReviews(
|
|
174
203
|
request: ondewo_nlu_session_pb.ListSessionReviewsRequest,
|
|
175
204
|
metadata: grpcWeb.Metadata | undefined,
|
|
@@ -198,6 +227,41 @@ export class SessionsClient {
|
|
|
198
227
|
response: ondewo_nlu_session_pb.SessionReview) => void
|
|
199
228
|
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.SessionReview>;
|
|
200
229
|
|
|
230
|
+
getAudioFiles(
|
|
231
|
+
request: ondewo_nlu_session_pb.GetAudioFilesRequest,
|
|
232
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
233
|
+
callback: (err: grpcWeb.RpcError,
|
|
234
|
+
response: ondewo_nlu_session_pb.GetAudioFilesResponse) => void
|
|
235
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.GetAudioFilesResponse>;
|
|
236
|
+
|
|
237
|
+
addAudioFiles(
|
|
238
|
+
request: ondewo_nlu_session_pb.AddAudioFilesRequest,
|
|
239
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
240
|
+
callback: (err: grpcWeb.RpcError,
|
|
241
|
+
response: ondewo_nlu_session_pb.AddAudioFilesResponse) => void
|
|
242
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.AddAudioFilesResponse>;
|
|
243
|
+
|
|
244
|
+
deleteAudioFiles(
|
|
245
|
+
request: ondewo_nlu_session_pb.DeleteAudioFilesRequest,
|
|
246
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
247
|
+
callback: (err: grpcWeb.RpcError,
|
|
248
|
+
response: ondewo_nlu_session_pb.DeleteAudioFilesResponse) => void
|
|
249
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.DeleteAudioFilesResponse>;
|
|
250
|
+
|
|
251
|
+
getAudioFileOfSession(
|
|
252
|
+
request: ondewo_nlu_session_pb.GetAudioFileOfSessionRequest,
|
|
253
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
254
|
+
callback: (err: grpcWeb.RpcError,
|
|
255
|
+
response: ondewo_nlu_session_pb.AudioFileResource) => void
|
|
256
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.AudioFileResource>;
|
|
257
|
+
|
|
258
|
+
listAudioFiles(
|
|
259
|
+
request: ondewo_nlu_session_pb.ListAudioFilesRequest,
|
|
260
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
261
|
+
callback: (err: grpcWeb.RpcError,
|
|
262
|
+
response: ondewo_nlu_session_pb.ListAudioFilesResponse) => void
|
|
263
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_session_pb.ListAudioFilesResponse>;
|
|
264
|
+
|
|
201
265
|
}
|
|
202
266
|
|
|
203
267
|
export class SessionsPromiseClient {
|
|
@@ -320,6 +384,26 @@ export class SessionsPromiseClient {
|
|
|
320
384
|
metadata?: grpcWeb.Metadata
|
|
321
385
|
): Promise<ondewo_nlu_session_pb.Session>;
|
|
322
386
|
|
|
387
|
+
addSessionComment(
|
|
388
|
+
request: ondewo_nlu_session_pb.AddSessionCommentRequest,
|
|
389
|
+
metadata?: grpcWeb.Metadata
|
|
390
|
+
): Promise<ondewo_nlu_common_pb.Comment>;
|
|
391
|
+
|
|
392
|
+
deleteSessionComments(
|
|
393
|
+
request: ondewo_nlu_session_pb.DeleteSessionCommentsRequest,
|
|
394
|
+
metadata?: grpcWeb.Metadata
|
|
395
|
+
): Promise<ondewo_nlu_session_pb.Session>;
|
|
396
|
+
|
|
397
|
+
updateSessionComments(
|
|
398
|
+
request: ondewo_nlu_session_pb.UpdateSessionCommentsRequest,
|
|
399
|
+
metadata?: grpcWeb.Metadata
|
|
400
|
+
): Promise<ondewo_nlu_session_pb.Session>;
|
|
401
|
+
|
|
402
|
+
listSessionComments(
|
|
403
|
+
request: ondewo_nlu_session_pb.ListSessionCommentsRequest,
|
|
404
|
+
metadata?: grpcWeb.Metadata
|
|
405
|
+
): Promise<ondewo_nlu_session_pb.ListSessionCommentsResponse>;
|
|
406
|
+
|
|
323
407
|
listSessionReviews(
|
|
324
408
|
request: ondewo_nlu_session_pb.ListSessionReviewsRequest,
|
|
325
409
|
metadata?: grpcWeb.Metadata
|
|
@@ -340,5 +424,30 @@ export class SessionsPromiseClient {
|
|
|
340
424
|
metadata?: grpcWeb.Metadata
|
|
341
425
|
): Promise<ondewo_nlu_session_pb.SessionReview>;
|
|
342
426
|
|
|
427
|
+
getAudioFiles(
|
|
428
|
+
request: ondewo_nlu_session_pb.GetAudioFilesRequest,
|
|
429
|
+
metadata?: grpcWeb.Metadata
|
|
430
|
+
): Promise<ondewo_nlu_session_pb.GetAudioFilesResponse>;
|
|
431
|
+
|
|
432
|
+
addAudioFiles(
|
|
433
|
+
request: ondewo_nlu_session_pb.AddAudioFilesRequest,
|
|
434
|
+
metadata?: grpcWeb.Metadata
|
|
435
|
+
): Promise<ondewo_nlu_session_pb.AddAudioFilesResponse>;
|
|
436
|
+
|
|
437
|
+
deleteAudioFiles(
|
|
438
|
+
request: ondewo_nlu_session_pb.DeleteAudioFilesRequest,
|
|
439
|
+
metadata?: grpcWeb.Metadata
|
|
440
|
+
): Promise<ondewo_nlu_session_pb.DeleteAudioFilesResponse>;
|
|
441
|
+
|
|
442
|
+
getAudioFileOfSession(
|
|
443
|
+
request: ondewo_nlu_session_pb.GetAudioFileOfSessionRequest,
|
|
444
|
+
metadata?: grpcWeb.Metadata
|
|
445
|
+
): Promise<ondewo_nlu_session_pb.AudioFileResource>;
|
|
446
|
+
|
|
447
|
+
listAudioFiles(
|
|
448
|
+
request: ondewo_nlu_session_pb.ListAudioFilesRequest,
|
|
449
|
+
metadata?: grpcWeb.Metadata
|
|
450
|
+
): Promise<ondewo_nlu_session_pb.ListAudioFilesResponse>;
|
|
451
|
+
|
|
343
452
|
}
|
|
344
453
|
|