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

from __future__ import annotations
from .v3_squads_squadresponse import (
    V3SquadsSquadResponse,
    V3SquadsSquadResponseTypedDict,
)
from .v3_squads_updatesquadrequest import (
    V3SquadsUpdateSquadRequest,
    V3SquadsUpdateSquadRequestTypedDict,
)
import pydantic
from squadcast_sdk.types import BaseModel
from squadcast_sdk.utils import FieldMetadata, PathParamMetadata, RequestMetadata
from typing_extensions import Annotated, TypedDict


class SquadsUpdateSquadRequestTypedDict(TypedDict):
    squad_id: str
    v3_squads_update_squad_request: V3SquadsUpdateSquadRequestTypedDict


class SquadsUpdateSquadRequest(BaseModel):
    squad_id: Annotated[
        str,
        pydantic.Field(alias="squadID"),
        FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
    ]

    v3_squads_update_squad_request: Annotated[
        V3SquadsUpdateSquadRequest,
        FieldMetadata(request=RequestMetadata(media_type="application/json")),
    ]


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

    data: V3SquadsSquadResponseTypedDict


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

    data: V3SquadsSquadResponse
