Type Alias CallHandlingGetCallHandlingSettingsResponse

CallHandlingGetCallHandlingSettingsResponse: {
    business_hours?: {
        settings?: {
            allow_callers_check_voicemail?: boolean;
            allow_members_to_reset?: boolean;
            audio_while_connecting?: { id?: string; name?: string };
            busy_routing?: {
                action?: number;
                allow_callers_check_voicemail?: boolean;
                busy_play_callee_voicemail_greeting?: boolean;
                connect_to_operator?: boolean;
                forward_to?: {
                    description?: string;
                    display_name?: string;
                    extension_id?: string;
                    extension_number?: number;
                    extension_type?: string;
                    id?: string;
                    phone_number?: string;
                    voicemail_greeting?: { id?: string; name?: string };
                };
                message_greeting?: { id?: string; name?: string };
                operator?: {
                    display_name?: string;
                    extension_id?: string;
                    extension_number?: number;
                    extension_type?: string;
                    id?: string;
                };
                overflow_play_callee_voicemail_greeting?: boolean;
                play_callee_voicemail_greeting?: boolean;
                require_press_1_before_connecting?: boolean;
                voicemail_greeting?: { id?: string; name?: string };
                voicemail_leaving_instruction?: { id?: string; name?: string };
            };
            call_distribution?: {
                handle_multiple_calls?: boolean;
                ring_duration?: number;
                ring_mode?: string;
                skip_offline_device_phone_number?: boolean;
            };
            call_forwarding_settings?: {
                description?: string;
                enable?: boolean;
                external_contact?: {
                    email?: string;
                    external_contact_id?: string;
                    name?: string;
                    phone_numbers?: string[];
                };
                id?: string;
                phone_number?: string;
            }[];
            call_not_answer_action?: number;
            connect_to_operator?: boolean;
            custom_hours_settings?: {
                from?: string;
                to?: string;
                type?: number;
                weekday?: number;
            }[];
            greeting_prompt?: { id?: string; name?: string };
            max_call_in_queue?: number;
            max_wait_time?: number;
            music_on_hold?: { id?: string; name?: string };
            receive_call?: boolean;
            require_press_1_before_connecting?: boolean;
            ring_mode?: string;
            routing?: {
                action?: number;
                allow_callers_check_voicemail?: boolean;
                busy_play_callee_voicemail_greeting?: boolean;
                connect_to_operator?: boolean;
                forward_to?: {
                    description?: string;
                    display_name?: string;
                    extension_id?: string;
                    extension_number?: number;
                    extension_type?: string;
                    id?: string;
                    partner_contact_center_id?: string;
                    pcc_phone_number_display_name?: string;
                    phone_number?: string;
                    teams_app_id?: string;
                    teams_voice_app_name?: string;
                    voicemail_greeting?: { id?: string; name?: string };
                    zcc_phone_number?: string;
                    zcc_phone_number_display_name?: string;
                };
                message_greeting?: { id?: string; name?: string };
                operator?: {
                    display_name?: string;
                    extension_id?: string;
                    extension_number?: number;
                    extension_type?: string;
                    id?: string;
                };
                overflow_play_callee_voicemail_greeting?: boolean;
                play_callee_voicemail_greeting?: boolean;
                require_press_1_before_connecting?: boolean;
                voicemail_greeting?: { id?: string; name?: string };
                voicemail_leaving_instruction?: { id?: string; name?: string };
            };
            type?: number;
            wrap_up_time?: number;
        };
        sub_setting_type?: string;
    }[];
    closed_hours?: {
        settings?: {
            allow_callers_check_voicemail?: boolean;
            busy_routing?: {
                action?: number;
                allow_callers_check_voicemail?: boolean;
                busy_play_callee_voicemail_greeting?: boolean;
                connect_to_operator?: boolean;
                forward_to?: {
                    description?: string;
                    display_name?: string;
                    extension_id?: string;
                    extension_number?: number;
                    extension_type?: string;
                    id?: string;
                    phone_number?: string;
                    voicemail_greeting?: { id?: string; name?: string };
                };
                message_greeting?: { id?: string; name?: string };
                operator?: {
                    display_name?: string;
                    extension_id?: string;
                    extension_number?: number;
                    extension_type?: string;
                    id?: string;
                };
                overflow_play_callee_voicemail_greeting?: boolean;
                play_callee_voicemail_greeting?: boolean;
                require_press_1_before_connecting?: boolean;
                voicemail_greeting?: { id?: string; name?: string };
                voicemail_leaving_instruction?: { id?: string; name?: string };
            };
            call_forwarding_settings?: {
                description?: string;
                enable?: boolean;
                external_contact?: {
                    email?: string;
                    external_contact_id?: string;
                    name?: string;
                    phone_numbers?: string[];
                };
                id?: string;
                phone_number?: string;
            }[];
            call_not_answer_action?: number;
            connect_to_operator?: boolean;
            max_wait_time?: number;
            require_press_1_before_connecting?: boolean;
            ring_mode?: string;
            routing?: {
                action?: number;
                allow_callers_check_voicemail?: boolean;
                busy_play_callee_voicemail_greeting?: boolean;
                connect_to_operator?: boolean;
                forward_to?: {
                    description?: string;
                    display_name?: string;
                    extension_id?: string;
                    extension_number?: number;
                    extension_type?: string;
                    id?: string;
                    partner_contact_center_id?: string;
                    pcc_phone_number_display_name?: string;
                    phone_number?: string;
                    teams_app_id?: string;
                    teams_voice_app_name?: string;
                    voicemail_greeting?: { id?: string; name?: string };
                    zcc_phone_number?: string;
                    zcc_phone_number_display_name?: string;
                };
                message_greeting?: { id?: string; name?: string };
                operator?: {
                    display_name?: string;
                    extension_id?: string;
                    extension_number?: number;
                    extension_type?: string;
                    id?: string;
                };
                overflow_play_callee_voicemail_greeting?: boolean;
                play_callee_voicemail_greeting?: boolean;
                require_press_1_before_connecting?: boolean;
                voicemail_greeting?: { id?: string; name?: string };
                voicemail_leaving_instruction?: { id?: string; name?: string };
            };
        };
        sub_setting_type?: string;
    }[];
    holiday_hours?: {
        details?: {
            settings?: {
                allow_callers_check_voicemail?: boolean;
                call_forwarding_settings?: {
                    description?: string;
                    enable?: boolean;
                    external_contact?: {
                        email?: string;
                        external_contact_id?: string;
                        name?: string;
                        phone_numbers?: string[];
                    };
                    id?: string;
                    phone_number?: string;
                }[];
                call_not_answer_action?: number;
                connect_to_operator?: boolean;
                from?: string;
                max_wait_time?: number;
                name?: string;
                require_press_1_before_connecting?: boolean;
                ring_mode?: string;
                routing?: {
                    action?: number;
                    allow_callers_check_voicemail?: boolean;
                    busy_play_callee_voicemail_greeting?: boolean;
                    connect_to_operator?: boolean;
                    forward_to?: {
                        description?: string;
                        display_name?: string;
                        extension_id?: string;
                        extension_number?: number;
                        extension_type?: string;
                        id?: string;
                        phone_number?: string;
                        voicemail_greeting?: object;
                    };
                    operator?: {
                        display_name?: string;
                        extension_id?: string;
                        extension_number?: number;
                        extension_type?: string;
                        id?: string;
                    };
                    overflow_play_callee_voicemail_greeting?: boolean;
                    play_callee_voicemail_greeting?: boolean;
                    require_press_1_before_connecting?: boolean;
                    voicemail_greeting?: { id?: string; name?: string };
                };
                to?: string;
            };
            sub_setting_type?: string;
        }[];
        holiday_id?: string;
    }[];
}