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

import typing_extensions
import typing_extensions
from .timecard import TimecardParams
import typing
from .error import ErrorParams


class UpdateTimecardResponseParams(typing_extensions.TypedDict):
    """
    The response to a request to update a `Timecard`. The response contains
    the updated `Timecard` object and might contain a set of `Error` objects if
    the request resulted in errors.
    """

    timecard: typing_extensions.NotRequired[TimecardParams]
    """
    The updated `Timecard`.
    """

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