@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
81 lines • 3.54 kB
TypeScript
import { PhoneNumber } from '../PhoneNumber';
import { LineOptionForwardNatureTypeEnum } from './LineOptionForwardNatureTypeEnum';
import { LineOptionIntercomEnum } from './LineOptionIntercomEnum';
import { IpBlock } from '../IpBlock';
import { LineOptionLanguageEnum } from './LineOptionLanguageEnum';
/** Line options */
export interface LineOptions {
/** */
absentSubscriber: boolean;
/** Reject anonymous calls */
anonymousCallRejection: boolean;
/** Whether or not the line has restriction on incoming calls */
callRestrictionIncoming: boolean;
/** Whether or not the line has restriction on outgoing calls */
callRestrictionOutgoing: boolean;
/** If the line receives a new call and the line is already in communication, this new call is dispatched once the current call is completed */
callWaiting: boolean;
/** Codecs preferences */
codecs: string;
/** The default voicemail of the line. It can be the voicemail of any line of your account. */
defaultVoicemail: PhoneNumber;
/** */
displayNumber: PhoneNumber;
/** */
doNotDisturb: boolean;
/** The domain to configure in your SIP client. */
domain: string;
/** Enable calls forward when the line is unavailable */
forwardBackup: boolean;
/** Nature of the forward when the line is unavailable */
forwardBackupNature: LineOptionForwardNatureTypeEnum;
/** Destination of the forward when the line is unavailable */
forwardBackupNumber: PhoneNumber;
/** Enable calls forward when the line is busy */
forwardBusy: boolean;
/** Nature of the forward when the line is busy */
forwardBusyNature: LineOptionForwardNatureTypeEnum;
/** Destination of the forward when the line is busy */
forwardBusyNumber: PhoneNumber;
/** Enable calls forward on no-reply */
forwardNoReply: boolean;
/** Delay before forward on no-reply */
forwardNoReplyDelay: number;
/** Nature of the forward on no-reply */
forwardNoReplyNature: LineOptionForwardNatureTypeEnum;
/** Destination of the forward on no-reply */
forwardNoReplyNumber: PhoneNumber;
/** Enable unconditional calls forward */
forwardUnconditional: boolean;
/** Nature of the unconditional forward */
forwardUnconditionalNature: LineOptionForwardNatureTypeEnum;
/** Destination of the unconditional forward */
forwardUnconditionalNumber: PhoneNumber;
/** Do not display your number */
identificationRestriction: boolean;
/** Intercom mode: takes automatically the call with the loudspeaker */
intercom: LineOptionIntercomEnum;
/** The ip restrictions of your line */
ipRestrictions: IpBlock[];
/** Language of the line */
language: LineOptionLanguageEnum;
/** Disallow outgoing calls */
lockOutCall: boolean;
/** Disallow outgoing calls password */
lockOutCallPassword?: string;
/** The outbound proxy to configure in your SIP client. */
proxy: string;
/** Enable or disable record of outgoing calls */
recordOutgoingCallsBeta: boolean;
/** Sound ID of on-call-waiting tone */
toneOnCallWaitingSoundId?: number;
/** Sound ID of on-hold tone */
toneOnHoldSoundId?: number;
/** Sound ID of ringback tone */
toneRingbackSoundId?: number;
/** Voicemail number to dial from any other line */
voicemailExternalNumber: PhoneNumber;
/** Voicemail short number to dial from the line */
voicemailInternalNumber: string;
}
//# sourceMappingURL=LineOptions.d.ts.map