@trii/types 2.10.770 → 2.10.772
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.
|
@@ -48,7 +48,8 @@ export interface PersonalInboxSnapshot {
|
|
|
48
48
|
}
|
|
49
49
|
export interface PersonalInboxMembership {
|
|
50
50
|
pending: ID[];
|
|
51
|
-
following
|
|
51
|
+
/** @deprecated Empty compatibility field; following uses paged API queries. */
|
|
52
|
+
following?: ID[];
|
|
52
53
|
}
|
|
53
54
|
export interface PersonalInboxItem {
|
|
54
55
|
id: ID;
|
|
@@ -79,11 +80,23 @@ export interface PersonalInboxItem {
|
|
|
79
80
|
metric: IConversation['sla']['clocks'][number]['metric'];
|
|
80
81
|
status: IConversation['sla']['clocks'][number]['status'];
|
|
81
82
|
deadlineAt: string | null;
|
|
83
|
+
nextWarningAt?: string | null;
|
|
84
|
+
warningAt?: string | null;
|
|
85
|
+
breachedAt?: string | null;
|
|
82
86
|
}[];
|
|
87
|
+
/** Current automation control only; older snapshots may omit these fields. */
|
|
88
|
+
automationStatus?: NonNullable<IConversation['automation']>['status'] | null;
|
|
89
|
+
activeAiAgent?: NonNullable<IConversation['automation']>['activeAiAgent'] | null;
|
|
83
90
|
queueId: ID | null;
|
|
91
|
+
isSharedQueue: boolean;
|
|
84
92
|
ownerUserId: ID | null;
|
|
85
93
|
ownerName: string | null;
|
|
86
94
|
ownerAvatarUrl: string | null;
|
|
95
|
+
/** Pending handoff, omitted by older personal inbox snapshots. */
|
|
96
|
+
pendingTransfer?: (Omit<NonNullable<IConversation['pendingTransfer']>, 'requestedAt' | 'expiresAt'> & {
|
|
97
|
+
requestedAt: string;
|
|
98
|
+
expiresAt?: string | null;
|
|
99
|
+
}) | null;
|
|
87
100
|
interactionKind: InteractionKind;
|
|
88
101
|
participants: {
|
|
89
102
|
id: ID;
|
|
@@ -96,6 +109,19 @@ export interface PersonalInboxItem {
|
|
|
96
109
|
color: string | null;
|
|
97
110
|
}[];
|
|
98
111
|
}
|
|
112
|
+
/** Ephemeral viewers of one conversation. An owner or participant may be offline. */
|
|
113
|
+
export interface ConversationPresenceViewer {
|
|
114
|
+
id: ID;
|
|
115
|
+
name: string;
|
|
116
|
+
imageUrl: string | null;
|
|
117
|
+
}
|
|
118
|
+
export interface ConversationPresenceResponse {
|
|
119
|
+
viewers: ConversationPresenceViewer[];
|
|
120
|
+
}
|
|
121
|
+
export interface ConversationPresenceHeartbeatRequest {
|
|
122
|
+
/** One UUID per browser tab/conversation visit. */
|
|
123
|
+
sessionId: string;
|
|
124
|
+
}
|
|
99
125
|
export interface ResolvePersonalInboxItemsRequest {
|
|
100
126
|
conversationIds: ID[];
|
|
101
127
|
}
|