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

from __future__ import annotations
from .recipientfromaddressbook import (
    RecipientFromAddressBook,
    RecipientFromAddressBookTypedDict,
)
from .recipientfromaddressbookbyexternalid import (
    RecipientFromAddressBookByExternalID,
    RecipientFromAddressBookByExternalIDTypedDict,
)
from .recipientinline import RecipientInline, RecipientInlineTypedDict
from typing import Union
from typing_extensions import TypeAliasType


RecipientsTypedDict = TypeAliasType(
    "RecipientsTypedDict",
    Union[
        RecipientFromAddressBookTypedDict,
        RecipientFromAddressBookByExternalIDTypedDict,
        RecipientInlineTypedDict,
    ],
)
r"""A base recipient object."""


Recipients = TypeAliasType(
    "Recipients",
    Union[
        RecipientFromAddressBook, RecipientFromAddressBookByExternalID, RecipientInline
    ],
)
r"""A base recipient object."""
