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

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

/**
 * This is the action to perform when the hook triggers
 */
export type PhoneNumberHookCallEndingDo =
    | Vapi.PhoneNumberHookCallEndingDo.Transfer
    | Vapi.PhoneNumberHookCallEndingDo.Say;

export namespace PhoneNumberHookCallEndingDo {
    export interface Transfer extends Vapi.TransferPhoneNumberHookAction {
        type: "transfer";
    }

    export interface Say extends Vapi.SayPhoneNumberHookAction {
        type: "say";
    }
}
