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

import typing_extensions
import typing_extensions
import typing
from .loyalty_event_created_event_object import LoyaltyEventCreatedEventObjectParams


class LoyaltyEventCreatedEventDataParams(typing_extensions.TypedDict):
    """
    The data associated with a `loyalty.event.created` event.
    """

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

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

    object: typing_extensions.NotRequired[LoyaltyEventCreatedEventObjectParams]
    """
    An object that contains the new loyalty event.
    """
