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

import typing_extensions
import typing_extensions
import typing
from .vendor_updated_event_data import VendorUpdatedEventDataParams


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

    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 seller location associated with this event, if the event is associated with the location.
    """

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

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

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

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