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

import typing_extensions
import typing_extensions
import typing
from .loyalty_promotion_created_event_object import LoyaltyPromotionCreatedEventObjectParams


class LoyaltyPromotionCreatedEventDataParams(typing_extensions.TypedDict):
    """
    The data associated with a `loyalty.promotion.created` 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[LoyaltyPromotionCreatedEventObjectParams]
    """
    An object that contains the loyalty promotion that was created.
    """
