@onereach/types-hitl-api 0.0.78-rc.1 → 0.0.78
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.
|
@@ -18,10 +18,19 @@ export interface ISession<Meta = any> extends ITimestamps {
|
|
|
18
18
|
readonly status: SESSION_STATUS;
|
|
19
19
|
readonly tags: string[];
|
|
20
20
|
readonly transcripts?: string;
|
|
21
|
+
readonly transcript?: ITranscript;
|
|
21
22
|
readonly eventTimestamp?: Date;
|
|
22
23
|
readonly type: string;
|
|
23
24
|
readonly version: number;
|
|
24
25
|
}
|
|
26
|
+
export interface ITranscriptItem {
|
|
27
|
+
readonly content: string;
|
|
28
|
+
readonly attachments?: string[];
|
|
29
|
+
readonly type: string;
|
|
30
|
+
readonly timestamp: Date;
|
|
31
|
+
readonly from?: string;
|
|
32
|
+
}
|
|
33
|
+
export type ITranscript = Record<string, ITranscriptItem>;
|
|
25
34
|
export interface ITransferToBot {
|
|
26
35
|
readonly actions?: string[];
|
|
27
36
|
readonly schema?: any;
|