# generated by datamodel-codegen:
#   filename:  e2a-openapi3.yaml

from __future__ import annotations

from pydantic import BaseModel, ConfigDict, Field


class Attachment(BaseModel):
    model_config = ConfigDict(
        populate_by_name=True,
    )
    content_type: str | None = Field(None, examples=['application/pdf'])
    data: str | None = Field(
        None, description='base64-encoded', examples=['base64-encoded-content']
    )
    filename: str | None = Field(None, examples=['report.pdf'])


class CreateSigningSecretRequest(BaseModel):
    model_config = ConfigDict(
        populate_by_name=True,
    )
    name: str | None = Field(
        None,
        description='Optional human-readable label so users can tell secrets apart in\nthe dashboard (e.g. "prod", "staging", "rollover-2026-04").',
    )
