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

from __future__ import annotations
from openrouter.types import BaseModel
from typing import Literal
from typing_extensions import TypedDict


AnthropicPlainTextSourceMediaType = Literal["text/plain",]


AnthropicPlainTextSourceType = Literal["text",]


class AnthropicPlainTextSourceTypedDict(TypedDict):
    data: str
    media_type: AnthropicPlainTextSourceMediaType
    type: AnthropicPlainTextSourceType


class AnthropicPlainTextSource(BaseModel):
    data: str

    media_type: AnthropicPlainTextSourceMediaType

    type: AnthropicPlainTextSourceType
