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

import typing

import typing_extensions
from .loyalty_program_created_event_object import LoyaltyProgramCreatedEventObjectParams


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

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

    id: typing_extensions.NotRequired[str]
    """
    The ID of the created loyalty program.
    """

    object: typing_extensions.NotRequired[LoyaltyProgramCreatedEventObjectParams]
    """
    An object that contains the loyalty program that was created.
    """
