import { LOGGER } from '../Logger/types'; export interface LoggerInterface { level: LOGGER; } export type ToggleSetting = { enabled: boolean; ringSplashEnabled?: boolean; }; export type CallForwardAlwaysSetting = { enabled: boolean; ringReminderEnabled?: boolean; destinationVoicemailEnabled?: boolean; destination?: string; }; export type CallForwardSetting = { callForwarding: { always: CallForwardAlwaysSetting; busy: { enabled: boolean; destinationVoicemailEnabled?: boolean; destination?: string; }; noAnswer: { enabled: boolean; numberOfRings?: number; systemMaxNumberOfRings?: number; destinationVoicemailEnabled?: boolean; destination?: string; }; }; businessContinuity: { enabled: boolean; destinationVoicemailEnabled?: boolean; destination?: string; }; }; export type VoicemailSetting = { enabled: boolean; sendAllCalls?: { enabled: boolean; }; sendBusyCalls: { enabled: boolean; greeting?: string; greetingUploaded?: boolean; }; sendUnansweredCalls: { enabled: boolean; greeting?: string; greetingUploaded?: boolean; numberOfRings: number; systemMaxNumberOfRings?: number; }; notifications: { enabled: boolean; destination?: string; }; transferToNumber?: { enabled: boolean; destination: string; }; emailCopyOfMessage: { enabled: boolean; emailId?: string; }; messageStorage: { mwiEnabled: boolean; storageType: string; externalEmail?: string; }; faxMessage?: { enabled: boolean; phoneNumber?: string; extension?: string; }; voiceMessageForwardingEnabled?: boolean; }; export type CallSettingResponse = { statusCode: number; data: { callSetting?: ToggleSetting | CallForwardSetting | VoicemailSetting | CallForwardAlwaysSetting; error?: string; }; message: string | null; }; export interface ICallSettings { getCallWaitingSetting(): Promise; getDoNotDisturbSetting(): Promise; setDoNotDisturbSetting(flag: boolean): Promise; getCallForwardSetting(): Promise; setCallForwardSetting(request: CallForwardSetting): Promise; getVoicemailSetting(): Promise; setVoicemailSetting(request: VoicemailSetting): Promise; getCallForwardAlwaysSetting(directoryNumber?: string): Promise; } export type IWxCallBackendConnector = ICallSettings; export type IUcmBackendConnector = ICallSettings; export type CallForwardingAlwaysSettingsUCM = { dn: string; destination?: string; destinationVoicemailEnabled: boolean; e164Number: string; }; export type CallForwardingSettingsUCM = { callForwarding: { always: CallForwardingAlwaysSettingsUCM[]; }; }; //# sourceMappingURL=types.d.ts.map