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

from __future__ import annotations
from tofupilot.v2.types import BaseModel
from typing_extensions import TypedDict


class AttachmentInitializeRequestTypedDict(TypedDict):
    name: str


class AttachmentInitializeRequest(BaseModel):
    name: str


class AttachmentInitializeResponseTypedDict(TypedDict):
    r"""Upload URL generated successfully"""

    id: str
    r"""ID of the created upload"""
    upload_url: str
    r"""Pre-signed URL to upload the file directly to S3"""


class AttachmentInitializeResponse(BaseModel):
    r"""Upload URL generated successfully"""

    id: str
    r"""ID of the created upload"""

    upload_url: str
    r"""Pre-signed URL to upload the file directly to S3"""
