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

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

/**
 * This is the destination the call was transferred to, if the call was forwarded.
 * This can also be found at `call.destination` on GET /call/:id.
 */
export type ServerMessageEndOfCallReportDestination =
    | Vapi.ServerMessageEndOfCallReportDestination.Number
    | Vapi.ServerMessageEndOfCallReportDestination.Sip;

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

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