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

import typing

import typing_extensions
from .customer import CustomerParams
from .error import ErrorParams


class UpdateCustomerResponseParams(typing_extensions.TypedDict):
    """
    Defines the fields that are included in the response body of
    a request to the [UpdateCustomer](api-endpoint:Customers-UpdateCustomer) or
    [BulkUpdateCustomers](api-endpoint:Customers-BulkUpdateCustomers) endpoint.

    Either `errors` or `customer` is present in a given response (never both).
    """

    errors: typing_extensions.NotRequired[typing.Sequence[ErrorParams]]
    """
    Any errors that occurred during the request.
    """

    customer: typing_extensions.NotRequired[CustomerParams]
    """
    The updated customer.
    """
