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

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


class DocumentResponseTypedDict(TypedDict):
    r"""Generated document content."""

    mime_type: str
    r"""Document MIME type."""
    file_stream: NotRequired[str]
    r"""Base64-encoded document content."""


class DocumentResponse(BaseModel):
    r"""Generated document content."""

    mime_type: str
    r"""Document MIME type."""

    file_stream: Optional[str] = None
    r"""Base64-encoded document content."""
