// This file was auto-generated by Fern from our API Definition.

import type * as Vapi from "../index.js";

export interface RecordingConsentPlanVerbal {
    /**
     * This is the message asking for consent to record the call.
     * If the type is `stay-on-line`, the message should ask the user to hang up if they do not consent.
     * If the type is `verbal`, the message should ask the user to verbally consent or decline.
     */
    message: string;
    /**
     * This is the voice to use for the consent message. If not specified, inherits from the assistant's voice.
     * Use a different voice for the consent message for a better user experience.
     */
    voice?: Vapi.RecordingConsentPlanVerbalVoice | undefined;
    /** Tool to execute if user verbally declines recording consent */
    declineTool?: Record<string, unknown> | undefined;
    /** ID of existing tool to execute if user verbally declines recording consent */
    declineToolId?: string | undefined;
}
