# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from __future__ import annotations

from typing_extensions import Required, Annotated, TypedDict

from ...._utils import PropertyInfo
from .marketing_consent_status import MarketingConsentStatus

__all__ = ["CustomerUpdateParams"]


class CustomerUpdateParams(TypedDict, total=False):
    customer_id: Required[Annotated[str, PropertyInfo(alias="customerId")]]

    status: Required[MarketingConsentStatus]
    """
    Used to indicate the status of a user's consent to receive marketing
    communications from TodayTix. N.B. Clients may only set this to GRANTED or
    DENIED in POST/PATCH endpoints; only the backend can set this to UNDETERMINED.
    """
