"""Commune – Python SDK for email infrastructure."""

from commune.client import CommuneClient
from commune.types import (
    Domain,
    Inbox,
    InboxWebhook,
    Thread,
    ThreadList,
    Message,
    Participant,
    MessageMetadata,
    Attachment,
    AttachmentUpload,
    AttachmentUrl,
    SendMessagePayload,
    CreateDomainPayload,
)
from commune.exceptions import (
    CommuneError,
    AuthenticationError,
    NotFoundError,
    ValidationError,
    RateLimitError,
)

__all__ = [
    "CommuneClient",
    "Domain",
    "Inbox",
    "InboxWebhook",
    "Thread",
    "ThreadList",
    "Message",
    "Participant",
    "MessageMetadata",
    "Attachment",
    "AttachmentUpload",
    "AttachmentUrl",
    "SendMessagePayload",
    "CreateDomainPayload",
    "CommuneError",
    "AuthenticationError",
    "NotFoundError",
    "ValidationError",
    "RateLimitError",
]

__version__ = "0.1.0"
