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

from .types import (
    DiarizedEntry,
    DiarizedTranscript,
    ErrorCode,
    ErrorDetails,
    ErrorMessage,
    LanguageIdentificationResponse,
    NumeralsFormat,
    SpeechSampleRate,
    SpeechToTextLanguage,
    SpeechToTextModel,
    SpeechToTextResponse,
    SpeechToTextTranslateLanguage,
    SpeechToTextTranslateModel,
    SpeechToTextTranslateResponse,
    SpokenFormNumeralsFormat,
    TextToSpeechLanguage,
    TextToSpeechModel,
    TextToSpeechResponse,
    TextToSpeechSpeaker,
    TimestampsModel,
    TranslateMode,
    TranslateModel,
    TranslatePostprocessing,
    TranslateSourceLanguage,
    TranslateSpeakerGender,
    TranslateTargetLanguage,
    TranslationResponse,
    TranslatiterateTargetLanguage,
    TransliterateSourceLanguage,
    TransliterationResponse,
)
from .errors import (
    BadRequestError,
    ForbiddenError,
    InternalServerError,
    ServiceUnavailableError,
    TooManyRequestsError,
    UnprocessableEntityError,
)
from . import speech_to_text, text, text_to_speech
from .client import AsyncSarvamAI, SarvamAI
from .environment import SarvamAIEnvironment
from .requests import (
    DiarizedEntryParams,
    DiarizedTranscriptParams,
    ErrorDetailsParams,
    ErrorMessageParams,
    LanguageIdentificationResponseParams,
    SpeechToTextResponseParams,
    SpeechToTextTranslateResponseParams,
    TextToSpeechResponseParams,
    TimestampsModelParams,
    TranslationResponseParams,
    TransliterationResponseParams,
)
from .version import __version__

__all__ = [
    "AsyncSarvamAI",
    "BadRequestError",
    "DiarizedEntry",
    "DiarizedEntryParams",
    "DiarizedTranscript",
    "DiarizedTranscriptParams",
    "ErrorCode",
    "ErrorDetails",
    "ErrorDetailsParams",
    "ErrorMessage",
    "ErrorMessageParams",
    "ForbiddenError",
    "InternalServerError",
    "LanguageIdentificationResponse",
    "LanguageIdentificationResponseParams",
    "NumeralsFormat",
    "SarvamAI",
    "SarvamAIEnvironment",
    "ServiceUnavailableError",
    "SpeechSampleRate",
    "SpeechToTextLanguage",
    "SpeechToTextModel",
    "SpeechToTextResponse",
    "SpeechToTextResponseParams",
    "SpeechToTextTranslateLanguage",
    "SpeechToTextTranslateModel",
    "SpeechToTextTranslateResponse",
    "SpeechToTextTranslateResponseParams",
    "SpokenFormNumeralsFormat",
    "TextToSpeechLanguage",
    "TextToSpeechModel",
    "TextToSpeechResponse",
    "TextToSpeechResponseParams",
    "TextToSpeechSpeaker",
    "TimestampsModel",
    "TimestampsModelParams",
    "TooManyRequestsError",
    "TranslateMode",
    "TranslateModel",
    "TranslatePostprocessing",
    "TranslateSourceLanguage",
    "TranslateSpeakerGender",
    "TranslateTargetLanguage",
    "TranslationResponse",
    "TranslationResponseParams",
    "TranslatiterateTargetLanguage",
    "TransliterateSourceLanguage",
    "TransliterationResponse",
    "TransliterationResponseParams",
    "UnprocessableEntityError",
    "__version__",
    "speech_to_text",
    "text",
    "text_to_speech",
]
