RocketChat/Rocket.Chat

View on GitHub
packages/core-typings/src/ILivechatDepartmentRecord.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { IRocketChatRecord } from './IRocketChatRecord';

/** @deprecated */
export interface ILivechatDepartmentRecord extends IRocketChatRecord {
    _id: string;
    name: string;
    enabled: boolean;
    description?: string;
    showOnRegistration: boolean;
    showOnOfflineForm: boolean;
    requestTagBeforeClosingChat?: boolean;
    email: string;
    chatClosingTags?: string[];
    offlineMessageChannelName: string;
    numAgents: number;
    businessHourId?: string;
    fallbackForwardDepartment?: string;
    departmentsAllowedToForward?: string[];
    // extra optional fields
    [k: string]: any;
}