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

import typing_extensions
import typing_extensions
import typing
from .loyalty_program_updated_event_object import LoyaltyProgramUpdatedEventObjectParams


class LoyaltyProgramUpdatedEventDataParams(typing_extensions.TypedDict):
    """
    The data associated with a `loyalty.program.updated` 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 affected loyalty program.
    """

    object: typing_extensions.NotRequired[LoyaltyProgramUpdatedEventObjectParams]
    """
    An object that contains the loyalty program that was updated.
    """
