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

from __future__ import annotations
from .workspace_member import WorkspaceMember, WorkspaceMemberTypedDict
from attio.types import BaseModel
from attio.utils import FieldMetadata, PathParamMetadata
from typing import Literal
from typing_extensions import Annotated, TypedDict


class GetV2WorkspaceMembersWorkspaceMemberIDRequestTypedDict(TypedDict):
    workspace_member_id: str


class GetV2WorkspaceMembersWorkspaceMemberIDRequest(BaseModel):
    workspace_member_id: Annotated[
        str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
    ]


GetV2WorkspaceMembersWorkspaceMemberIDType = Literal["invalid_request_error",]


GetV2WorkspaceMembersWorkspaceMemberIDCode = Literal["not_found",]


class GetV2WorkspaceMembersWorkspaceMemberIDResponseTypedDict(TypedDict):
    r"""Success"""

    data: WorkspaceMemberTypedDict


class GetV2WorkspaceMembersWorkspaceMemberIDResponse(BaseModel):
    r"""Success"""

    data: WorkspaceMember
