vn-verdnaturachat/app/definitions/ILivechatAgent.ts

17 lines
359 B
TypeScript

import { IUser } from './IUser';
export enum ILivechatAgentStatus {
AVAILABLE = 'available',
UNAVAILABLE = 'unavailable'
}
export interface ILivechatAgent extends IUser {
statusLivechat: ILivechatAgentStatus;
livechat: {
maxNumberSimultaneousChat: number;
};
livechatCount: number;
lastRoutingTime: Date;
livechatStatusSystemModified?: boolean;
}