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

import typing

import typing_extensions
from .loyalty_promotion_updated_event_object import LoyaltyPromotionUpdatedEventObjectParams


class LoyaltyPromotionUpdatedEventDataParams(typing_extensions.TypedDict):
    """
    The data associated with a `loyalty.promotion.updated` event.
    """

    type: typing_extensions.NotRequired[typing.Optional[str]]
    """
    The type of object affected by the event. For this event, the value is `loyalty_promotion`.
    """

    id: typing_extensions.NotRequired[str]
    """
    The ID of the affected loyalty promotion.
    """

    object: typing_extensions.NotRequired[LoyaltyPromotionUpdatedEventObjectParams]
    """
    An object that contains the loyalty promotion that was updated.
    """
