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

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

export interface VoiceLibrary {
    /** This is the voice provider that will be used. */
    provider?: Record<string, unknown> | undefined;
    /** The ID of the voice provided by the provider. */
    providerId?: string | undefined;
    /** The unique slug of the voice. */
    slug?: string | undefined;
    /** The name of the voice. */
    name?: string | undefined;
    /** The language of the voice. */
    language?: string | undefined;
    /** The language code of the voice. */
    languageCode?: string | undefined;
    /** The model of the voice. */
    model?: string | undefined;
    /** The supported models of the voice. */
    supportedModels?: string | undefined;
    /** The gender of the voice. */
    gender?: Vapi.VoiceLibraryGender | undefined;
    /** The accent of the voice. */
    accent?: string | undefined;
    /** The preview URL of the voice. */
    previewUrl?: string | undefined;
    /** The sort order of the voice for display purposes. Lower values appear first. */
    sortOrder?: number | undefined;
    /** The description of the voice. */
    description?: string | undefined;
    /** The credential ID of the voice. */
    credentialId?: string | undefined;
    /** The unique identifier for the voice library. */
    id: string;
    /** The unique identifier for the organization that this voice library belongs to. */
    orgId: string;
    /** The Public voice is shared accross all the organizations. */
    isPublic: boolean;
    /** The deletion status of the voice. */
    isDeleted: boolean;
    /** The ISO 8601 date-time string of when the voice library was created. */
    createdAt: string;
    /** The ISO 8601 date-time string of when the voice library was last updated. */
    updatedAt: string;
}
