@ondewo/nlu-client-typescript 4.7.0 → 4.9.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 +242 -1
- package/api/ondewo/nlu/agent_pb.js +1984 -38
- 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_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/intent_grpc_web_pb.js +6 -6
- 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
|
@@ -21,6 +21,8 @@ var google_api_annotations_pb = require('../../google/api/annotations_pb.js')
|
|
|
21
21
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
|
|
22
22
|
|
|
23
23
|
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
|
|
24
|
+
|
|
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('./context_pb.js');
|
|
@@ -3,6 +3,7 @@ import * as jspb from 'google-protobuf'
|
|
|
3
3
|
import * as google_api_annotations_pb from '../../google/api/annotations_pb';
|
|
4
4
|
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
5
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 Context extends jspb.Message {
|
|
@@ -18,6 +19,22 @@ export class Context extends jspb.Message {
|
|
|
18
19
|
getLifespanTime(): number;
|
|
19
20
|
setLifespanTime(value: number): Context;
|
|
20
21
|
|
|
22
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
23
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Context;
|
|
24
|
+
hasCreatedAt(): boolean;
|
|
25
|
+
clearCreatedAt(): Context;
|
|
26
|
+
|
|
27
|
+
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
28
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Context;
|
|
29
|
+
hasModifiedAt(): boolean;
|
|
30
|
+
clearModifiedAt(): Context;
|
|
31
|
+
|
|
32
|
+
getCreatedBy(): string;
|
|
33
|
+
setCreatedBy(value: string): Context;
|
|
34
|
+
|
|
35
|
+
getModifiedBy(): string;
|
|
36
|
+
setModifiedBy(value: string): Context;
|
|
37
|
+
|
|
21
38
|
serializeBinary(): Uint8Array;
|
|
22
39
|
toObject(includeInstance?: boolean): Context.AsObject;
|
|
23
40
|
static toObject(includeInstance: boolean, msg: Context): Context.AsObject;
|
|
@@ -32,6 +49,10 @@ export namespace Context {
|
|
|
32
49
|
lifespanCount: number,
|
|
33
50
|
parametersMap: Array<[string, Context.Parameter.AsObject]>,
|
|
34
51
|
lifespanTime: number,
|
|
52
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
53
|
+
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
54
|
+
createdBy: string,
|
|
55
|
+
modifiedBy: string,
|
|
35
56
|
}
|
|
36
57
|
|
|
37
58
|
export class Parameter extends jspb.Message {
|
|
@@ -47,6 +68,22 @@ export namespace Context {
|
|
|
47
68
|
getValueOriginal(): string;
|
|
48
69
|
setValueOriginal(value: string): Parameter;
|
|
49
70
|
|
|
71
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
72
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Parameter;
|
|
73
|
+
hasCreatedAt(): boolean;
|
|
74
|
+
clearCreatedAt(): Parameter;
|
|
75
|
+
|
|
76
|
+
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
77
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Parameter;
|
|
78
|
+
hasModifiedAt(): boolean;
|
|
79
|
+
clearModifiedAt(): Parameter;
|
|
80
|
+
|
|
81
|
+
getCreatedBy(): string;
|
|
82
|
+
setCreatedBy(value: string): Parameter;
|
|
83
|
+
|
|
84
|
+
getModifiedBy(): string;
|
|
85
|
+
setModifiedBy(value: string): Parameter;
|
|
86
|
+
|
|
50
87
|
serializeBinary(): Uint8Array;
|
|
51
88
|
toObject(includeInstance?: boolean): Parameter.AsObject;
|
|
52
89
|
static toObject(includeInstance: boolean, msg: Parameter): Parameter.AsObject;
|
|
@@ -61,6 +98,10 @@ export namespace Context {
|
|
|
61
98
|
displayName: string,
|
|
62
99
|
value: string,
|
|
63
100
|
valueOriginal: string,
|
|
101
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
102
|
+
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
103
|
+
createdBy: string,
|
|
104
|
+
modifiedBy: string,
|
|
64
105
|
}
|
|
65
106
|
}
|
|
66
107
|
|
|
@@ -21,6 +21,8 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
|
|
|
21
21
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
22
22
|
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
|
|
23
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.Context', null, global);
|
|
25
27
|
goog.exportSymbol('proto.ondewo.nlu.Context.Parameter', null, global);
|
|
26
28
|
goog.exportSymbol('proto.ondewo.nlu.CreateContextRequest', null, global);
|
|
@@ -254,7 +256,11 @@ proto.ondewo.nlu.Context.toObject = function(includeInstance, msg) {
|
|
|
254
256
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
255
257
|
lifespanCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
256
258
|
parametersMap: (f = msg.getParametersMap()) ? f.toObject(includeInstance, proto.ondewo.nlu.Context.Parameter.toObject) : [],
|
|
257
|
-
lifespanTime: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
|
|
259
|
+
lifespanTime: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
260
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
261
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
262
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
263
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
258
264
|
};
|
|
259
265
|
|
|
260
266
|
if (includeInstance) {
|
|
@@ -309,6 +315,24 @@ proto.ondewo.nlu.Context.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
309
315
|
var value = /** @type {number} */ (reader.readFloat());
|
|
310
316
|
msg.setLifespanTime(value);
|
|
311
317
|
break;
|
|
318
|
+
case 5:
|
|
319
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
320
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
321
|
+
msg.setCreatedAt(value);
|
|
322
|
+
break;
|
|
323
|
+
case 6:
|
|
324
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
325
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
326
|
+
msg.setModifiedAt(value);
|
|
327
|
+
break;
|
|
328
|
+
case 7:
|
|
329
|
+
var value = /** @type {string} */ (reader.readString());
|
|
330
|
+
msg.setCreatedBy(value);
|
|
331
|
+
break;
|
|
332
|
+
case 8:
|
|
333
|
+
var value = /** @type {string} */ (reader.readString());
|
|
334
|
+
msg.setModifiedBy(value);
|
|
335
|
+
break;
|
|
312
336
|
default:
|
|
313
337
|
reader.skipField();
|
|
314
338
|
break;
|
|
@@ -363,6 +387,36 @@ proto.ondewo.nlu.Context.serializeBinaryToWriter = function(message, writer) {
|
|
|
363
387
|
f
|
|
364
388
|
);
|
|
365
389
|
}
|
|
390
|
+
f = message.getCreatedAt();
|
|
391
|
+
if (f != null) {
|
|
392
|
+
writer.writeMessage(
|
|
393
|
+
5,
|
|
394
|
+
f,
|
|
395
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
396
|
+
);
|
|
397
|
+
}
|
|
398
|
+
f = message.getModifiedAt();
|
|
399
|
+
if (f != null) {
|
|
400
|
+
writer.writeMessage(
|
|
401
|
+
6,
|
|
402
|
+
f,
|
|
403
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
404
|
+
);
|
|
405
|
+
}
|
|
406
|
+
f = message.getCreatedBy();
|
|
407
|
+
if (f.length > 0) {
|
|
408
|
+
writer.writeString(
|
|
409
|
+
7,
|
|
410
|
+
f
|
|
411
|
+
);
|
|
412
|
+
}
|
|
413
|
+
f = message.getModifiedBy();
|
|
414
|
+
if (f.length > 0) {
|
|
415
|
+
writer.writeString(
|
|
416
|
+
8,
|
|
417
|
+
f
|
|
418
|
+
);
|
|
419
|
+
}
|
|
366
420
|
};
|
|
367
421
|
|
|
368
422
|
|
|
@@ -401,7 +455,11 @@ proto.ondewo.nlu.Context.Parameter.toObject = function(includeInstance, msg) {
|
|
|
401
455
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
402
456
|
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
403
457
|
value: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
404
|
-
valueOriginal: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
458
|
+
valueOriginal: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
459
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
460
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
461
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
462
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
405
463
|
};
|
|
406
464
|
|
|
407
465
|
if (includeInstance) {
|
|
@@ -454,6 +512,24 @@ proto.ondewo.nlu.Context.Parameter.deserializeBinaryFromReader = function(msg, r
|
|
|
454
512
|
var value = /** @type {string} */ (reader.readString());
|
|
455
513
|
msg.setValueOriginal(value);
|
|
456
514
|
break;
|
|
515
|
+
case 5:
|
|
516
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
517
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
518
|
+
msg.setCreatedAt(value);
|
|
519
|
+
break;
|
|
520
|
+
case 6:
|
|
521
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
522
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
523
|
+
msg.setModifiedAt(value);
|
|
524
|
+
break;
|
|
525
|
+
case 7:
|
|
526
|
+
var value = /** @type {string} */ (reader.readString());
|
|
527
|
+
msg.setCreatedBy(value);
|
|
528
|
+
break;
|
|
529
|
+
case 8:
|
|
530
|
+
var value = /** @type {string} */ (reader.readString());
|
|
531
|
+
msg.setModifiedBy(value);
|
|
532
|
+
break;
|
|
457
533
|
default:
|
|
458
534
|
reader.skipField();
|
|
459
535
|
break;
|
|
@@ -511,6 +587,36 @@ proto.ondewo.nlu.Context.Parameter.serializeBinaryToWriter = function(message, w
|
|
|
511
587
|
f
|
|
512
588
|
);
|
|
513
589
|
}
|
|
590
|
+
f = message.getCreatedAt();
|
|
591
|
+
if (f != null) {
|
|
592
|
+
writer.writeMessage(
|
|
593
|
+
5,
|
|
594
|
+
f,
|
|
595
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
596
|
+
);
|
|
597
|
+
}
|
|
598
|
+
f = message.getModifiedAt();
|
|
599
|
+
if (f != null) {
|
|
600
|
+
writer.writeMessage(
|
|
601
|
+
6,
|
|
602
|
+
f,
|
|
603
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
604
|
+
);
|
|
605
|
+
}
|
|
606
|
+
f = message.getCreatedBy();
|
|
607
|
+
if (f.length > 0) {
|
|
608
|
+
writer.writeString(
|
|
609
|
+
7,
|
|
610
|
+
f
|
|
611
|
+
);
|
|
612
|
+
}
|
|
613
|
+
f = message.getModifiedBy();
|
|
614
|
+
if (f.length > 0) {
|
|
615
|
+
writer.writeString(
|
|
616
|
+
8,
|
|
617
|
+
f
|
|
618
|
+
);
|
|
619
|
+
}
|
|
514
620
|
};
|
|
515
621
|
|
|
516
622
|
|
|
@@ -586,6 +692,116 @@ proto.ondewo.nlu.Context.Parameter.prototype.setValueOriginal = function(value)
|
|
|
586
692
|
};
|
|
587
693
|
|
|
588
694
|
|
|
695
|
+
/**
|
|
696
|
+
* optional google.protobuf.Timestamp created_at = 5;
|
|
697
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
698
|
+
*/
|
|
699
|
+
proto.ondewo.nlu.Context.Parameter.prototype.getCreatedAt = function() {
|
|
700
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
701
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
702
|
+
};
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
707
|
+
* @return {!proto.ondewo.nlu.Context.Parameter} returns this
|
|
708
|
+
*/
|
|
709
|
+
proto.ondewo.nlu.Context.Parameter.prototype.setCreatedAt = function(value) {
|
|
710
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
711
|
+
};
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* Clears the message field making it undefined.
|
|
716
|
+
* @return {!proto.ondewo.nlu.Context.Parameter} returns this
|
|
717
|
+
*/
|
|
718
|
+
proto.ondewo.nlu.Context.Parameter.prototype.clearCreatedAt = function() {
|
|
719
|
+
return this.setCreatedAt(undefined);
|
|
720
|
+
};
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* Returns whether this field is set.
|
|
725
|
+
* @return {boolean}
|
|
726
|
+
*/
|
|
727
|
+
proto.ondewo.nlu.Context.Parameter.prototype.hasCreatedAt = function() {
|
|
728
|
+
return jspb.Message.getField(this, 5) != null;
|
|
729
|
+
};
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* optional google.protobuf.Timestamp modified_at = 6;
|
|
734
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
735
|
+
*/
|
|
736
|
+
proto.ondewo.nlu.Context.Parameter.prototype.getModifiedAt = function() {
|
|
737
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
738
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
739
|
+
};
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
744
|
+
* @return {!proto.ondewo.nlu.Context.Parameter} returns this
|
|
745
|
+
*/
|
|
746
|
+
proto.ondewo.nlu.Context.Parameter.prototype.setModifiedAt = function(value) {
|
|
747
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
748
|
+
};
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* Clears the message field making it undefined.
|
|
753
|
+
* @return {!proto.ondewo.nlu.Context.Parameter} returns this
|
|
754
|
+
*/
|
|
755
|
+
proto.ondewo.nlu.Context.Parameter.prototype.clearModifiedAt = function() {
|
|
756
|
+
return this.setModifiedAt(undefined);
|
|
757
|
+
};
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* Returns whether this field is set.
|
|
762
|
+
* @return {boolean}
|
|
763
|
+
*/
|
|
764
|
+
proto.ondewo.nlu.Context.Parameter.prototype.hasModifiedAt = function() {
|
|
765
|
+
return jspb.Message.getField(this, 6) != null;
|
|
766
|
+
};
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* optional string created_by = 7;
|
|
771
|
+
* @return {string}
|
|
772
|
+
*/
|
|
773
|
+
proto.ondewo.nlu.Context.Parameter.prototype.getCreatedBy = function() {
|
|
774
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
775
|
+
};
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* @param {string} value
|
|
780
|
+
* @return {!proto.ondewo.nlu.Context.Parameter} returns this
|
|
781
|
+
*/
|
|
782
|
+
proto.ondewo.nlu.Context.Parameter.prototype.setCreatedBy = function(value) {
|
|
783
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
784
|
+
};
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* optional string modified_by = 8;
|
|
789
|
+
* @return {string}
|
|
790
|
+
*/
|
|
791
|
+
proto.ondewo.nlu.Context.Parameter.prototype.getModifiedBy = function() {
|
|
792
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* @param {string} value
|
|
798
|
+
* @return {!proto.ondewo.nlu.Context.Parameter} returns this
|
|
799
|
+
*/
|
|
800
|
+
proto.ondewo.nlu.Context.Parameter.prototype.setModifiedBy = function(value) {
|
|
801
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
802
|
+
};
|
|
803
|
+
|
|
804
|
+
|
|
589
805
|
/**
|
|
590
806
|
* optional string name = 1;
|
|
591
807
|
* @return {string}
|
|
@@ -662,6 +878,116 @@ proto.ondewo.nlu.Context.prototype.setLifespanTime = function(value) {
|
|
|
662
878
|
};
|
|
663
879
|
|
|
664
880
|
|
|
881
|
+
/**
|
|
882
|
+
* optional google.protobuf.Timestamp created_at = 5;
|
|
883
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
884
|
+
*/
|
|
885
|
+
proto.ondewo.nlu.Context.prototype.getCreatedAt = function() {
|
|
886
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
887
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
888
|
+
};
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
893
|
+
* @return {!proto.ondewo.nlu.Context} returns this
|
|
894
|
+
*/
|
|
895
|
+
proto.ondewo.nlu.Context.prototype.setCreatedAt = function(value) {
|
|
896
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* Clears the message field making it undefined.
|
|
902
|
+
* @return {!proto.ondewo.nlu.Context} returns this
|
|
903
|
+
*/
|
|
904
|
+
proto.ondewo.nlu.Context.prototype.clearCreatedAt = function() {
|
|
905
|
+
return this.setCreatedAt(undefined);
|
|
906
|
+
};
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* Returns whether this field is set.
|
|
911
|
+
* @return {boolean}
|
|
912
|
+
*/
|
|
913
|
+
proto.ondewo.nlu.Context.prototype.hasCreatedAt = function() {
|
|
914
|
+
return jspb.Message.getField(this, 5) != null;
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* optional google.protobuf.Timestamp modified_at = 6;
|
|
920
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
921
|
+
*/
|
|
922
|
+
proto.ondewo.nlu.Context.prototype.getModifiedAt = function() {
|
|
923
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
924
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
930
|
+
* @return {!proto.ondewo.nlu.Context} returns this
|
|
931
|
+
*/
|
|
932
|
+
proto.ondewo.nlu.Context.prototype.setModifiedAt = function(value) {
|
|
933
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
934
|
+
};
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* Clears the message field making it undefined.
|
|
939
|
+
* @return {!proto.ondewo.nlu.Context} returns this
|
|
940
|
+
*/
|
|
941
|
+
proto.ondewo.nlu.Context.prototype.clearModifiedAt = function() {
|
|
942
|
+
return this.setModifiedAt(undefined);
|
|
943
|
+
};
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Returns whether this field is set.
|
|
948
|
+
* @return {boolean}
|
|
949
|
+
*/
|
|
950
|
+
proto.ondewo.nlu.Context.prototype.hasModifiedAt = function() {
|
|
951
|
+
return jspb.Message.getField(this, 6) != null;
|
|
952
|
+
};
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* optional string created_by = 7;
|
|
957
|
+
* @return {string}
|
|
958
|
+
*/
|
|
959
|
+
proto.ondewo.nlu.Context.prototype.getCreatedBy = function() {
|
|
960
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
961
|
+
};
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* @param {string} value
|
|
966
|
+
* @return {!proto.ondewo.nlu.Context} returns this
|
|
967
|
+
*/
|
|
968
|
+
proto.ondewo.nlu.Context.prototype.setCreatedBy = function(value) {
|
|
969
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
970
|
+
};
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* optional string modified_by = 8;
|
|
975
|
+
* @return {string}
|
|
976
|
+
*/
|
|
977
|
+
proto.ondewo.nlu.Context.prototype.getModifiedBy = function() {
|
|
978
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
979
|
+
};
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* @param {string} value
|
|
984
|
+
* @return {!proto.ondewo.nlu.Context} returns this
|
|
985
|
+
*/
|
|
986
|
+
proto.ondewo.nlu.Context.prototype.setModifiedBy = function(value) {
|
|
987
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
988
|
+
};
|
|
989
|
+
|
|
990
|
+
|
|
665
991
|
|
|
666
992
|
|
|
667
993
|
|
|
@@ -22,6 +22,8 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
|
|
|
22
22
|
|
|
23
23
|
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
|
|
24
24
|
|
|
25
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
|
|
26
|
+
|
|
25
27
|
var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js')
|
|
26
28
|
|
|
27
29
|
var ondewo_nlu_operations_pb = require('../../ondewo/nlu/operations_pb.js')
|
|
@@ -3,6 +3,7 @@ import * as jspb from 'google-protobuf'
|
|
|
3
3
|
import * as google_api_annotations_pb from '../../google/api/annotations_pb';
|
|
4
4
|
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
5
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
|
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
|
|
7
8
|
import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb';
|
|
8
9
|
|
|
@@ -37,6 +38,22 @@ export class EntityType extends jspb.Message {
|
|
|
37
38
|
getSynonymCount(): number;
|
|
38
39
|
setSynonymCount(value: number): EntityType;
|
|
39
40
|
|
|
41
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
42
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): EntityType;
|
|
43
|
+
hasCreatedAt(): boolean;
|
|
44
|
+
clearCreatedAt(): EntityType;
|
|
45
|
+
|
|
46
|
+
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
47
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): EntityType;
|
|
48
|
+
hasModifiedAt(): boolean;
|
|
49
|
+
clearModifiedAt(): EntityType;
|
|
50
|
+
|
|
51
|
+
getCreatedBy(): string;
|
|
52
|
+
setCreatedBy(value: string): EntityType;
|
|
53
|
+
|
|
54
|
+
getModifiedBy(): string;
|
|
55
|
+
setModifiedBy(value: string): EntityType;
|
|
56
|
+
|
|
40
57
|
serializeBinary(): Uint8Array;
|
|
41
58
|
toObject(includeInstance?: boolean): EntityType.AsObject;
|
|
42
59
|
static toObject(includeInstance: boolean, msg: EntityType): EntityType.AsObject;
|
|
@@ -56,6 +73,10 @@ export namespace EntityType {
|
|
|
56
73
|
entityCount: number,
|
|
57
74
|
status: EntityType.EntityTypeStatus,
|
|
58
75
|
synonymCount: number,
|
|
76
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
77
|
+
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
78
|
+
createdBy: string,
|
|
79
|
+
modifiedBy: string,
|
|
59
80
|
}
|
|
60
81
|
|
|
61
82
|
export class Entity extends jspb.Message {
|
|
@@ -79,6 +100,22 @@ export namespace EntityType {
|
|
|
79
100
|
getLanguageCode(): string;
|
|
80
101
|
setLanguageCode(value: string): Entity;
|
|
81
102
|
|
|
103
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
104
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Entity;
|
|
105
|
+
hasCreatedAt(): boolean;
|
|
106
|
+
clearCreatedAt(): Entity;
|
|
107
|
+
|
|
108
|
+
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
109
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Entity;
|
|
110
|
+
hasModifiedAt(): boolean;
|
|
111
|
+
clearModifiedAt(): Entity;
|
|
112
|
+
|
|
113
|
+
getCreatedBy(): string;
|
|
114
|
+
setCreatedBy(value: string): Entity;
|
|
115
|
+
|
|
116
|
+
getModifiedBy(): string;
|
|
117
|
+
setModifiedBy(value: string): Entity;
|
|
118
|
+
|
|
82
119
|
serializeBinary(): Uint8Array;
|
|
83
120
|
toObject(includeInstance?: boolean): Entity.AsObject;
|
|
84
121
|
static toObject(includeInstance: boolean, msg: Entity): Entity.AsObject;
|
|
@@ -95,6 +132,10 @@ export namespace EntityType {
|
|
|
95
132
|
displayName: string,
|
|
96
133
|
synonymCount: number,
|
|
97
134
|
languageCode: string,
|
|
135
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
136
|
+
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
137
|
+
createdBy: string,
|
|
138
|
+
modifiedBy: string,
|
|
98
139
|
}
|
|
99
140
|
}
|
|
100
141
|
|