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

from __future__ import annotations
from .templatenode import TemplateNode, TemplateNodeTypedDict
from typing import List
from typing_extensions import TypedDict
from unstructured_client.types import BaseModel


class TemplateDetailTypedDict(TypedDict):
    r"""Full template details including nodes."""

    description: str
    id: str
    last_updated: str
    name: str
    nodes: List[TemplateNodeTypedDict]
    version: str


class TemplateDetail(BaseModel):
    r"""Full template details including nodes."""

    description: str

    id: str

    last_updated: str

    name: str

    nodes: List[TemplateNode]

    version: str
