# This file was auto-generated by Fern from our API Definition.

import typing

from .based_on_receivable_created_event_data import BasedOnReceivableCreatedEventData
from .mail_sent_event_data import MailSentEventData
from .payment_received_event_data import PaymentReceivedEventData
from .receivable_created_event_data import ReceivableCreatedEventData
from .receivable_updated_event_data import ReceivableUpdatedEventData
from .reminder_mail_sent_event_data import ReminderMailSentEventData
from .status_changed_event_data import StatusChangedEventData

ReceivableHistoryResponseEventData = typing.Union[
    StatusChangedEventData,
    ReceivableUpdatedEventData,
    ReceivableCreatedEventData,
    BasedOnReceivableCreatedEventData,
    PaymentReceivedEventData,
    MailSentEventData,
    ReminderMailSentEventData,
]
