from pydantic import BaseModel


class SessionToFlowRequest(BaseModel):
    session_id: str


class SessionToFlowResponse(BaseModel):
    name: str
    description: str
    tree_type: str  # Always "procedural"
    tags: list[str]
    tree_structure: dict  # Procedural steps with optional fallback_steps
