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

from __future__ import annotations
from syllable_sdk.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class DictionaryMetadataTypedDict(TypedDict):
    r"""Audit metadata associated with a dictionary."""

    entries: int
    hash: str
    source: NotRequired[str]


class DictionaryMetadata(BaseModel):
    r"""Audit metadata associated with a dictionary."""

    entries: int

    hash: str

    source: Optional[str] = ""
