"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from openrouter.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class ChatAudioOutputTypedDict(TypedDict):
    r"""Audio output data or reference"""

    data: NotRequired[str]
    r"""Base64 encoded audio data"""
    expires_at: NotRequired[int]
    r"""Audio expiration timestamp"""
    id: NotRequired[str]
    r"""Audio output identifier"""
    transcript: NotRequired[str]
    r"""Audio transcript"""


class ChatAudioOutput(BaseModel):
    r"""Audio output data or reference"""

    data: Optional[str] = None
    r"""Base64 encoded audio data"""

    expires_at: Optional[int] = None
    r"""Audio expiration timestamp"""

    id: Optional[str] = None
    r"""Audio output identifier"""

    transcript: Optional[str] = None
    r"""Audio transcript"""
