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

import typing

import typing_extensions
from .gift_card_customer_unlinked_event_object import GiftCardCustomerUnlinkedEventObjectParams


class GiftCardCustomerUnlinkedEventDataParams(typing_extensions.TypedDict):
    """
    The data associated with a `gift_card.customer_unlinked` event.
    """

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

    id: typing_extensions.NotRequired[str]
    """
    The ID of the updated gift card.
    """

    object: typing_extensions.NotRequired[GiftCardCustomerUnlinkedEventObjectParams]
    """
    An object that contains the updated gift card and the ID of the unlinked customer.
    """
