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

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

export type CreateVonagePhoneNumberDtoHooksItem =
    | Vapi.CreateVonagePhoneNumberDtoHooksItem.CallRinging
    | Vapi.CreateVonagePhoneNumberDtoHooksItem.CallEnding;

export namespace CreateVonagePhoneNumberDtoHooksItem {
    export interface CallRinging extends Vapi.PhoneNumberHookCallRinging {
        on: "call.ringing";
    }

    export interface CallEnding extends Vapi.PhoneNumberHookCallEnding {
        on: "call.ending";
    }
}
