Rocket.Chat.ReactNative/app/definitions/ILivechatDepartment.ts

24 lines
609 B
TypeScript

export interface ILivechatDepartment {
_id: string;
name: string;
enabled: boolean;
description?: string;
showOnRegistration: boolean;
showOnOfflineForm: boolean;
requestTagBeforeClosingChat?: boolean;
email: string;
chatClosingTags?: string[];
offlineMessageChannelName: string;
numAgents: number;
_updatedAt?: Date;
businessHourId?: string;
fallbackForwardDepartment?: string;
maxNumberSimultaneousChat: number;
abandonedRoomsCloseCustomMessage: string;
waitingQueueMessage: string;
departmentsAllowedToForward: string;
ancestors: string[];
// extra optional fields
[k: string]: any;
}