@onereach/types-hitl-api 0.0.49-rc.0 → 0.0.49
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.
|
@@ -55,6 +55,7 @@ export interface IAgentStatus {
|
|
|
55
55
|
readonly lastStatusUpdate?: string;
|
|
56
56
|
/** How long ago user has changed his status to a different one */
|
|
57
57
|
readonly lastStatusChange?: string;
|
|
58
|
+
readonly expireIn?: number;
|
|
58
59
|
}
|
|
59
60
|
export interface IAgentStatusSettings {
|
|
60
61
|
readonly defaultLoginStatus?: AGENT_STATUS;
|
|
@@ -98,7 +99,7 @@ export interface IStatusChangeContext {
|
|
|
98
99
|
export interface ISetAgentStatusOptions<T extends IStatusChangeContext = IStatusChangeContext> {
|
|
99
100
|
readonly accountId: string;
|
|
100
101
|
readonly agentId: string;
|
|
101
|
-
readonly statusData: Pick<IAgentStatus, 'status' | 'busyReason'>;
|
|
102
|
+
readonly statusData: Pick<IAgentStatus, 'status' | 'busyReason' | 'expireIn'>;
|
|
102
103
|
readonly notifyStatusChange: boolean;
|
|
103
104
|
readonly statusChangeContext?: T;
|
|
104
105
|
}
|