import { Channels } from "../Common/index"; export interface ICallLog { id: string; shardKey?: string; spaceId: string; userId: string; extensionNumber: string; remoteName: string; remoteNumber: string; contactId?: string; origin: string; channelInfo: Channels.IChannel; recId: string; recUrl: string; type: CallType; direction: CallDirection; status: CallStatus; cost: number; uuid: string; uuidParent: null; callerIdNumber: string; callerIdName: string; destinationNumber: string; startStamp: Date; answerStamp: Date; endStamp: Date; billSec: number; duration: number; hangupCause: string; accountcode: string; readCodec: string; writeCodec: string; sipHangupDisposition: string; ani: string; sipCallId: string; domainName: string; source: string; createdAt?: Date | null; createdBy?: string | null; } export declare enum CallType { NONE = 0, EXTERNAL = 1, INTERNAL = 2 } export declare enum CallDirection { INBOUND = 1, OUTBOUND = 2 } export declare enum CallStatus { NONE = 0, ANSWERED = 1, NO_ANSWER = 2, BUSY = 3, FAILED = 4, LOST = 5, ABANDONED = 6, OVERFLOWED = 7 }