@trii/types 2.10.680 → 2.10.681
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.
|
@@ -4,10 +4,13 @@ import { GroupInfo } from "./Groups/Group";
|
|
|
4
4
|
import { Channels } from "../Common/index";
|
|
5
5
|
import { IContactAddress, IContactInfo } from "../Contacts/contacts";
|
|
6
6
|
import { IEnding } from "./Ending";
|
|
7
|
+
import { ChatType } from "../Chats/Chat";
|
|
7
8
|
export interface IConversation {
|
|
8
9
|
id: string;
|
|
9
10
|
spaceId: string;
|
|
10
11
|
version: number;
|
|
12
|
+
/** @deprecated Use assignment.owner. */
|
|
13
|
+
type: ChatType;
|
|
11
14
|
/**only for Front-End */
|
|
12
15
|
chatName: string;
|
|
13
16
|
chatImage: string;
|
|
@@ -21,6 +24,8 @@ export interface IConversation {
|
|
|
21
24
|
status: ConversationStatus;
|
|
22
25
|
priority: 'low' | 'normal' | 'high' | 'urgent';
|
|
23
26
|
assignment: ConversationAssignmentSnapshot;
|
|
27
|
+
/** @deprecated Use owner and assignment.*/
|
|
28
|
+
assignedTo?: ConversationAssigned;
|
|
24
29
|
sla: {
|
|
25
30
|
status: 'none' | 'running' | 'warning' | 'breached' | 'met';
|
|
26
31
|
deadlineAt?: Date;
|
|
@@ -36,7 +41,13 @@ export interface IConversation {
|
|
|
36
41
|
lastAgentActivityAt?: Date;
|
|
37
42
|
labels: ILabel[];
|
|
38
43
|
pinned: boolean;
|
|
44
|
+
/** @deprecated A transfer is represented by an event and the resulting current state. */
|
|
45
|
+
transferBy?: string;
|
|
46
|
+
/** @deprecated A transfer is represented by an event and the resulting current state. */
|
|
47
|
+
transferTo?: ConversationAssigned;
|
|
39
48
|
expired: boolean;
|
|
49
|
+
/** @deprecated Expiration does not own a separate assignment snapshot.*/
|
|
50
|
+
expiredAssignedTo: ConversationAssigned;
|
|
40
51
|
participants: UserInfo[];
|
|
41
52
|
archived: boolean;
|
|
42
53
|
spam: boolean;
|