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

from __future__ import annotations
from .sender import Sender, SenderTypedDict
from postivo_client.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class SenderDetailsTypedDict(TypedDict):
    r"""Extended sender details."""

    sender: SenderTypedDict
    r"""Sender data for the shipment."""
    active: bool
    r"""Indicates whether the sender is active."""
    default: bool
    r"""Indicates whether this is the default sender."""
    id: NotRequired[int]
    r"""Unique sender ID."""


class SenderDetails(BaseModel):
    r"""Extended sender details."""

    sender: Sender
    r"""Sender data for the shipment."""

    active: bool
    r"""Indicates whether the sender is active."""

    default: bool
    r"""Indicates whether this is the default sender."""

    id: Optional[int] = None
    r"""Unique sender ID."""
