Type Alias SitesUpdatePhoneSiteDetailsRequestBody
SitesUpdatePhoneSiteDetailsRequestBody: {
caller_id_name?: string;
default_emergency_address?: {
address_line1: string;
address_line2?: string;
city: string;
country: string;
state_code: string;
zip: string;
};
name?: string;
policy?: {
ad_hoc_call_recording?: {
enable?: boolean;
locked?: boolean;
play_recording_beep_tone?: {
enable?: boolean;
play_beep_member?: string;
play_beep_time_interval?: number;
play_beep_volume?: number;
};
recording_start_prompt?: boolean;
recording_transcription?: boolean;
reset?: boolean;
};
audio_intercom?: { enable?: boolean; locked?: boolean; reset?: boolean };
auto_call_recording?: {
allow_stop_resume_recording?: boolean;
disconnect_on_recording_failure?: boolean;
enable?: boolean;
inbound_audio_notification?: {
recording_explicit_consent?: boolean;
recording_start_prompt?: boolean;
};
locked?: boolean;
outbound_audio_notification?: {
recording_explicit_consent?: boolean;
recording_start_prompt?: boolean;
};
play_recording_beep_tone?: {
enable?: boolean;
play_beep_member?: string;
play_beep_time_interval?: number;
play_beep_volume?: number;
};
recording_calls?: string;
recording_explicit_consent?: boolean;
recording_start_prompt?: boolean;
recording_transcription?: boolean;
reset?: boolean;
};
auto_delete_data_after_retention_duration?: {
delete_type?: number;
enable?: boolean;
items?: { duration?: number; time_unit?: string; type?: string }[];
locked?: boolean;
reset?: boolean;
};
block_calls_without_caller_id?: {
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
block_external_calls?: {
block_business_hours?: boolean;
block_call_action?: number;
block_call_change_type?: number;
block_closed_hours?: boolean;
block_holiday_hours?: boolean;
e2e_encryption?: {
enable?: boolean;
locked?: boolean;
locked_by?: string;
modified?: boolean;
};
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
call_handling_forwarding_to_other_users?: {
call_forwarding_type?: number;
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
call_overflow?: {
call_overflow_type?: number;
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
call_park?: {
call_not_picked_up_action?: number;
enable?: boolean;
expiration_period?: number;
forward_to_extension_id?: string;
locked?: boolean;
reset?: boolean;
sequence?: number;
};
call_queue_opt_out_reason?: {
call_queue_opt_out_reasons_list?: {
code?: string;
enable?: boolean;
system?: boolean;
}[];
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
call_queue_pickup_code?: {
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
call_transferring?: {
call_transferring_type?: number;
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
check_voicemails_over_phone?: {
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
delegation?: { enable?: boolean; locked?: boolean; reset?: boolean };
elevate_to_meeting?: {
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
force_off_net?: {
allow_extension_only_users_call_users_outside_site?: boolean;
enable?: boolean;
};
hand_off_to_room?: { enable?: boolean; locked?: boolean; reset?: boolean };
international_calling?: {
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
mobile_switch_to_carrier?: {
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
personal_audio_library?: {
allow_music_on_hold_customization?: boolean;
allow_voicemail_and_message_greeting_customization?: boolean;
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
select_outbound_caller_id?: {
allow_hide_outbound_caller_id?: boolean;
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
shared_voicemail_notification_by_email?: {
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
show_user_last_transferred_call?: boolean;
sms?: {
enable?: boolean;
international_sms?: boolean;
international_sms_countries?: string[];
locked?: boolean;
reset?: boolean;
};
voicemail?: {
allow_delete?: boolean;
allow_download?: boolean;
allow_videomail?: boolean;
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
voicemail_notification_by_email?: {
enable?: boolean;
forward_voicemail_to_email?: boolean;
include_voicemail_file?: boolean;
include_voicemail_transcription?: boolean;
locked?: boolean;
reset?: boolean;
};
voicemail_transcription?: {
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
zoom_phone_on_mobile?: {
allow_calling_sms_mms?: boolean;
enable?: boolean;
locked?: boolean;
reset?: boolean;
};
};
short_extension?: {
length?: number;
ranges?: { range_from?: string; range_to?: string }[];
};
sip_zone?: { id?: string };
site_code?: number;
}