import { SiteShortDataInterface } from './device'; export interface LineInterface { description: string; pkid: string; entityChangeType: EntityChangeType; alertingName: string; asciiAlertingName: string; callingSearchSpace: string; voiceMailProfile: string; noAnswerRingDuration: number; autoAnswer: string; directoryNumber: LineDirectoryInterface; didPatterns: Array; mappedDids: Array; aarSettings: LineAarInterface; callForwardAll: CallInterface; callForwardAllSecondaryCSS: CallInterface; callForwardBusyInternal: CallInterface; callForwardBusyExternal: CallInterface; callForwardNoAnswerInternal: CallInterface; callForwardNoAnswerExternal: CallInterface; callForwardNoCoverageInternal: CallInterface; callForwardNoCoverageExternal: CallInterface; callForwardOnCTIFailure: CallInterface; callForwardUnregisteredInternal: CallInterface; callForwardUnregisteredExternal: CallInterface; parkMonitoringExternal: LineParkMonitoringInterface; parkMonitoringInternal: LineParkMonitoringInterface; callPickupGroup: string; localId: string; urgentPriority: boolean; blfPresenceGroup: string; userHoldMOHAudioSourceId: string; userHoldMOHAudioSourceName: string; networkMOHAudioSourceId: string; networkMOHAudioSourceName: string; rejectAnonymousCall: boolean; enterpriseAltNum: AlternateNumberInterface; e164AltNum: AlternateNumberInterface; directoryUris: Array; callForwardAlternateParty: ParkMonitoringInterface; mlppNoAnswerRingDuration: number; confidentialAccessMode: string; confidentialAccessLevel: string; confidentialAccessLevelName: string; callControlAgentProfile: string; holdReversionRingDuration: number; holdReversionNotificationInterval: number; partyEntranceTone: string; pstnFailover: string; isExistingLine?: boolean; plarDestinationNumber: string; prefixDigits: string; plarDescription: string; plarEnabled: boolean; } export declare enum EntityChangeType { added = "added", updated = "updated", existing = "existing", removed = "removed", unassociated = "unassociated" } export interface LineDirectoryInterface { directoryNumber: string; routePartitionName: string; pkid: string; dnType: string; subType?: string; templateDirectoryNumber?: string; } export interface TranslationPatternInterface { pattern: string; calledPartyTransformationMask: string; description?: string; site?: SiteShortDataInterface; hasMultipleSites?: boolean; multipleSitesId?: string; } export interface LineAarInterface { aarDestinationMask: string; aarGroup: string; aarVoiceMailEnabled: boolean; aarKeepCallHistory: boolean; } export interface CallInterface { forwardToVoiceMail: boolean; destination: string; callingSearchSpace: string; } export interface LineParkMonitoringInterface { voiceMail: boolean; destination: string; callingSearchSpace: string; } export interface AlternateNumberInterface { numberMask: string; addLocalRoutePartition: boolean; routePartition: string; isUrgent: boolean; advertiseGloballyIls: boolean; } export interface DirectoryUriInterface { primary: boolean; uri: string; routePartition: string; advertiseGloballyIls: boolean; } export interface ParkMonitoringInterface { destination: string; callingSearchSpace: string; voiceMail: boolean; } export interface AvailablePhoneNumberRangeInterface { phoneNumberRange: DnRangeInterface; usedNumbers: string[]; requestedNumber: string; unUsedNumbersWithDids: any; } export interface DnRangeInterface { from: string; to: string; prefix: string; routePartition: string; dnType: DnRangeType; tempIdx: number; getEditableData(): any; getUsedRangeEditableData(): any; } export declare enum DnRangeType { extension = "EXTENSION", cpg = "CPG", callpark = "CALLPARK", huntgroup = "HUNTGROUP", meetme = "MEETME", did = "DID" } export interface AvailableRangeInterface { availableNumberList: AvailablePhoneNumberRangeInterface[]; }