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

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

/**
 * This is the destination to forward the call to if the request is "forward".
 */
export type ServerMessagePhoneCallControlDestination =
    | Vapi.ServerMessagePhoneCallControlDestination.Number
    | Vapi.ServerMessagePhoneCallControlDestination.Sip;

export namespace ServerMessagePhoneCallControlDestination {
    export interface Number extends Vapi.TransferDestinationNumber {
        type: "number";
    }

    export interface Sip extends Vapi.TransferDestinationSip {
        type: "sip";
    }
}
