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

from __future__ import annotations
from .v2keysmigratekeydata import V2KeysMigrateKeyData, V2KeysMigrateKeyDataTypedDict
import pydantic
from typing import List
from typing_extensions import Annotated, TypedDict
from unkey.py.types import BaseModel


class V2KeysMigrateKeysRequestBodyTypedDict(TypedDict):
    migration_id: str
    r"""Identifier of the configured migration provider/strategy to use (e.g., \"your_company\")."""
    api_id: str
    r"""The ID of the API that the keys should be inserted into"""
    keys: List[V2KeysMigrateKeyDataTypedDict]


class V2KeysMigrateKeysRequestBody(BaseModel):
    migration_id: Annotated[str, pydantic.Field(alias="migrationId")]
    r"""Identifier of the configured migration provider/strategy to use (e.g., \"your_company\")."""

    api_id: Annotated[str, pydantic.Field(alias="apiId")]
    r"""The ID of the API that the keys should be inserted into"""

    keys: List[V2KeysMigrateKeyData]
