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

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

/**
 * This is the phone number that the message is associated with.
 */
export type ServerMessageAssistantRequestPhoneNumber =
    | Vapi.ServerMessageAssistantRequestPhoneNumber.ByoPhoneNumber
    | Vapi.ServerMessageAssistantRequestPhoneNumber.Twilio
    | Vapi.ServerMessageAssistantRequestPhoneNumber.Vonage
    | Vapi.ServerMessageAssistantRequestPhoneNumber.Vapi
    | Vapi.ServerMessageAssistantRequestPhoneNumber.Telnyx;

export namespace ServerMessageAssistantRequestPhoneNumber {
    export interface ByoPhoneNumber extends Vapi.CreateByoPhoneNumberDto {
        provider: "byo-phone-number";
    }

    export interface Twilio extends Vapi.CreateTwilioPhoneNumberDto {
        provider: "twilio";
    }

    export interface Vonage extends Vapi.CreateVonagePhoneNumberDto {
        provider: "vonage";
    }

    export interface Vapi extends Vapi.CreateVapiPhoneNumberDto {
        provider: "vapi";
    }

    export interface Telnyx extends Vapi.CreateTelnyxPhoneNumberDto {
        provider: "telnyx";
    }
}
