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

from __future__ import annotations
import pydantic
from typing_extensions import Annotated, TypedDict
from unkey.py.types import BaseModel


class V2KeysMigrateKeysMigrationTypedDict(TypedDict):
    hash: str
    r"""The hash provided in the migration request"""
    key_id: str
    r"""The unique identifier for this key in Unkey's system. This is NOT the actual API key, but a reference ID used for management operations like updating or deleting the key. Store this ID in your database to reference the key later. This ID is not sensitive and can be logged or displayed in dashboards."""


class V2KeysMigrateKeysMigration(BaseModel):
    hash: str
    r"""The hash provided in the migration request"""

    key_id: Annotated[str, pydantic.Field(alias="keyId")]
    r"""The unique identifier for this key in Unkey's system. This is NOT the actual API key, but a reference ID used for management operations like updating or deleting the key. Store this ID in your database to reference the key later. This ID is not sensitive and can be logged or displayed in dashboards."""
