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

from __future__ import annotations
from .v3_teams_teammemberresponse import (
    V3TeamsTeamMemberResponse,
    V3TeamsTeamMemberResponseTypedDict,
)
import pydantic
from squadcast_sdk.types import BaseModel
from squadcast_sdk.utils import FieldMetadata, PathParamMetadata
from typing import List
from typing_extensions import Annotated, TypedDict


class TeamsGetAllTeamMembersRequestTypedDict(TypedDict):
    team_id: str


class TeamsGetAllTeamMembersRequest(BaseModel):
    team_id: Annotated[
        str,
        pydantic.Field(alias="teamId"),
        FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
    ]


class TeamsGetAllTeamMembersResponseTypedDict(TypedDict):
    r"""The request has succeeded."""

    data: List[V3TeamsTeamMemberResponseTypedDict]


class TeamsGetAllTeamMembersResponse(BaseModel):
    r"""The request has succeeded."""

    data: List[V3TeamsTeamMemberResponse]
