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

import typing

import typing_extensions
from .error import ErrorParams
from .vendor import VendorParams


class CreateVendorResponseParams(typing_extensions.TypedDict):
    """
    Represents an output from a call to [CreateVendor](api-endpoint:Vendors-CreateVendor).
    """

    errors: typing_extensions.NotRequired[typing.Sequence[ErrorParams]]
    """
    Errors encountered when the request fails.
    """

    vendor: typing_extensions.NotRequired[VendorParams]
    """
    The successfully created [Vendor](entity:Vendor) object.
    """
