Type Alias CallHandlingUpdateCallHandlingSettingRequestBody

CallHandlingUpdateCallHandlingSettingRequestBody:
    | {
        settings?: {
            call_forwarding_settings?: {
                description?: string;
                enable?: boolean;
                external_contact?: { external_contact_id?: string };
                id?: string;
                phone_number?: string;
            }[];
            require_press_1_before_connecting?: boolean;
        };
        sub_setting_type?: string;
    }
    | {
        settings?: {
            from?: string;
            holiday_id?: string;
            name?: string;
            to?: string;
        };
        sub_setting_type?: string;
    }
    | {
        settings?: {
            allow_members_to_reset?: boolean;
            custom_hours_settings?: {
                from?: string;
                to?: string;
                type?: number;
                weekday?: number;
            }[];
            type?: number;
        };
        sub_setting_type?: string;
    }
    | {
        settings?: {
            allow_callers_check_voicemail?: boolean;
            allow_members_to_reset?: boolean;
            audio_while_connecting_id?: string;
            busy_description?: string;
            busy_forward_to_extension_id?: string;
            busy_on_another_call_action?: number;
            busy_phone_number?: string;
            busy_play_callee_voicemail_greeting?: boolean;
            busy_require_press_1_before_connecting?: boolean;
            call_distribution?: {
                handle_multiple_calls?: boolean;
                ring_duration?: number;
                ring_mode?: string;
                skip_offline_device_phone_number?: boolean;
            };
            call_not_answer_action?: number;
            connect_to_operator?: boolean;
            description?: string;
            forward_to_extension_id?: string;
            forward_to_partner_contact_center_id?: string;
            forward_to_teams_id?: string;
            forward_to_zcc_phone_number?: string;
            greeting_prompt_id?: string;
            max_call_in_queue?: number;
            max_wait_time?: number;
            message_greeting_id?: string;
            music_on_hold_id?: string;
            operator_extension_id?: string;
            overflow_play_callee_voicemail_greeting?: boolean;
            phone_number?: string;
            play_callee_voicemail_greeting?: boolean;
            receive_call?: boolean;
            ring_mode?: string;
            un_answered_require_press_1_before_connecting?: boolean;
            voicemail_greeting_id?: string;
            voicemail_leaving_instruction_id?: string;
            wrap_up_time?: number;
        };
        sub_setting_type?: string;
    }