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

from __future__ import annotations
from .tracker import Tracker, TrackerTypedDict
from ship24.types import BaseModel
from typing import Dict, List, Optional
from typing_extensions import NotRequired, TypedDict


class CreateTrackerDataTypedDict(TypedDict):
    tracker: NotRequired[TrackerTypedDict]


class CreateTrackerData(BaseModel):
    tracker: Optional[Tracker] = None


class CreateTrackerResponseBodyTypedDict(TypedDict):
    r"""Created"""

    data: NotRequired[CreateTrackerDataTypedDict]


class CreateTrackerResponseBody(BaseModel):
    r"""Created"""

    data: Optional[CreateTrackerData] = None


class CreateTrackerResponseTypedDict(TypedDict):
    headers: Dict[str, List[str]]
    result: CreateTrackerResponseBodyTypedDict


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

    result: CreateTrackerResponseBody
