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

from __future__ import annotations
from .v2keysmigratekeysmigration import (
    V2KeysMigrateKeysMigration,
    V2KeysMigrateKeysMigrationTypedDict,
)
from typing import List
from typing_extensions import TypedDict
from unkey.py.types import BaseModel


class V2KeysMigrateKeysResponseDataTypedDict(TypedDict):
    migrated: List[V2KeysMigrateKeysMigrationTypedDict]
    r"""Successfully migrated keys with their hash and generated keyId"""
    failed: List[str]
    r"""Hashes that could not be migrated (e.g., already exist in the system)"""


class V2KeysMigrateKeysResponseData(BaseModel):
    migrated: List[V2KeysMigrateKeysMigration]
    r"""Successfully migrated keys with their hash and generated keyId"""

    failed: List[str]
    r"""Hashes that could not be migrated (e.g., already exist in the system)"""
