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

import typing_extensions
import typing_extensions
import typing
from .vendor_created_event_data import VendorCreatedEventDataParams


class VendorCreatedEventParams(typing_extensions.TypedDict):
    """
    Published when a [Vendor](entity:Vendor) is created.
    """

    merchant_id: typing_extensions.NotRequired[typing.Optional[str]]
    """
    The ID of a seller associated with this event.
    """

    location_id: typing_extensions.NotRequired[typing.Optional[str]]
    """
    The ID of a location associated with the event, if the event is associated with the location of the seller.
    """

    type: typing_extensions.NotRequired[typing.Optional[str]]
    """
    The type of this event. The value is `"vendor.created".`
    """

    event_id: typing_extensions.NotRequired[typing.Optional[str]]
    """
    A unique ID for this event.
    """

    created_at: typing_extensions.NotRequired[str]
    """
    The RFC 3339-formatted time when the underlying event data object is created.
    """

    data: typing_extensions.NotRequired[VendorCreatedEventDataParams]
    """
    The data associated with this event.
    """
