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

from __future__ import annotations
from friendli.core.types import BaseModel
import pydantic
from typing_extensions import Annotated, TypedDict


class FileInitUploadRequestTypedDict(TypedDict):
    """Initiate file upload request."""

    name: str
    "Name of the file."
    size: int
    "Size of the file in bytes."
    digest: str
    "Digest of the file."
    project_id: str
    "ID of the project the file belongs to."


class FileInitUploadRequest(BaseModel):
    """Initiate file upload request."""

    name: str
    "Name of the file."
    size: int
    "Size of the file in bytes."
    digest: str
    "Digest of the file."
    project_id: Annotated[str, pydantic.Field(alias="projectId")]
    "ID of the project the file belongs to."
