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

from __future__ import annotations
from moovio_sdk.models.components import (
    patchsweepconfig as components_patchsweepconfig,
    sweepconfig as components_sweepconfig,
)
from moovio_sdk.types import BaseModel
from moovio_sdk.utils import FieldMetadata, PathParamMetadata, RequestMetadata
import pydantic
from typing import Dict, List
from typing_extensions import Annotated, TypedDict


class UpdateSweepConfigRequestTypedDict(TypedDict):
    account_id: str
    sweep_config_id: str
    patch_sweep_config: components_patchsweepconfig.PatchSweepConfigTypedDict


class UpdateSweepConfigRequest(BaseModel):
    account_id: Annotated[
        str,
        pydantic.Field(alias="accountID"),
        FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
    ]

    sweep_config_id: Annotated[
        str,
        pydantic.Field(alias="sweepConfigID"),
        FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
    ]

    patch_sweep_config: Annotated[
        components_patchsweepconfig.PatchSweepConfig,
        FieldMetadata(request=RequestMetadata(media_type="application/json")),
    ]


class UpdateSweepConfigResponseTypedDict(TypedDict):
    headers: Dict[str, List[str]]
    result: components_sweepconfig.SweepConfigTypedDict


class UpdateSweepConfigResponse(BaseModel):
    headers: Dict[str, List[str]]

    result: components_sweepconfig.SweepConfig
