"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from typing import TYPE_CHECKING
from importlib import import_module
import builtins
import sys

if TYPE_CHECKING:
    from .bulkassignkeystoguardrail import (
        BulkAssignKeysToGuardrailGlobals,
        BulkAssignKeysToGuardrailGlobalsTypedDict,
        BulkAssignKeysToGuardrailRequest,
        BulkAssignKeysToGuardrailRequestTypedDict,
    )
    from .bulkassignmemberstoguardrail import (
        BulkAssignMembersToGuardrailGlobals,
        BulkAssignMembersToGuardrailGlobalsTypedDict,
        BulkAssignMembersToGuardrailRequest,
        BulkAssignMembersToGuardrailRequestTypedDict,
    )
    from .bulkunassignkeysfromguardrail import (
        BulkUnassignKeysFromGuardrailGlobals,
        BulkUnassignKeysFromGuardrailGlobalsTypedDict,
        BulkUnassignKeysFromGuardrailRequest,
        BulkUnassignKeysFromGuardrailRequestTypedDict,
    )
    from .bulkunassignmembersfromguardrail import (
        BulkUnassignMembersFromGuardrailGlobals,
        BulkUnassignMembersFromGuardrailGlobalsTypedDict,
        BulkUnassignMembersFromGuardrailRequest,
        BulkUnassignMembersFromGuardrailRequestTypedDict,
    )
    from .createauthkeyscode import (
        CreateAuthKeysCodeCodeChallengeMethod,
        CreateAuthKeysCodeData,
        CreateAuthKeysCodeDataTypedDict,
        CreateAuthKeysCodeGlobals,
        CreateAuthKeysCodeGlobalsTypedDict,
        CreateAuthKeysCodeRequest,
        CreateAuthKeysCodeRequestBody,
        CreateAuthKeysCodeRequestBodyTypedDict,
        CreateAuthKeysCodeRequestTypedDict,
        CreateAuthKeysCodeResponse,
        CreateAuthKeysCodeResponseTypedDict,
        UsageLimitType,
    )
    from .createembeddings import (
        Content,
        ContentImageURL,
        ContentImageURLTypedDict,
        ContentText,
        ContentTextTypedDict,
        ContentTypedDict,
        CreateEmbeddingsData,
        CreateEmbeddingsDataTypedDict,
        CreateEmbeddingsGlobals,
        CreateEmbeddingsGlobalsTypedDict,
        CreateEmbeddingsRequest,
        CreateEmbeddingsRequestBody,
        CreateEmbeddingsRequestBodyTypedDict,
        CreateEmbeddingsRequestTypedDict,
        CreateEmbeddingsResponse,
        CreateEmbeddingsResponseBody,
        CreateEmbeddingsResponseBodyTypedDict,
        CreateEmbeddingsResponseTypedDict,
        CreateEmbeddingsUsage,
        CreateEmbeddingsUsageTypedDict,
        Embedding,
        EmbeddingTypedDict,
        EncodingFormat,
        ImageURL,
        ImageURLTypedDict,
        Input,
        InputTypedDict,
        InputUnion,
        InputUnionTypedDict,
        Object,
        ObjectEmbedding,
        TypeImageURL,
        TypeText,
    )
    from .createguardrail import (
        CreateGuardrailGlobals,
        CreateGuardrailGlobalsTypedDict,
        CreateGuardrailRequest,
        CreateGuardrailRequestTypedDict,
    )
    from .createkeys import (
        CreateKeysData,
        CreateKeysDataTypedDict,
        CreateKeysGlobals,
        CreateKeysGlobalsTypedDict,
        CreateKeysLimitReset,
        CreateKeysRequest,
        CreateKeysRequestBody,
        CreateKeysRequestBodyTypedDict,
        CreateKeysRequestTypedDict,
        CreateKeysResponse,
        CreateKeysResponseTypedDict,
    )
    from .creatererank import (
        CreateRerankGlobals,
        CreateRerankGlobalsTypedDict,
        CreateRerankRequest,
        CreateRerankRequestBody,
        CreateRerankRequestBodyTypedDict,
        CreateRerankRequestTypedDict,
        CreateRerankResponse,
        CreateRerankResponseBody,
        CreateRerankResponseBodyTypedDict,
        CreateRerankResponseTypedDict,
        CreateRerankUsage,
        CreateRerankUsageTypedDict,
        Document,
        DocumentTypedDict,
        Result,
        ResultTypedDict,
    )
    from .createresponses import (
        CreateResponsesGlobals,
        CreateResponsesGlobalsTypedDict,
        CreateResponsesRequest,
        CreateResponsesRequestTypedDict,
        CreateResponsesResponse,
        CreateResponsesResponseBody,
        CreateResponsesResponseBodyTypedDict,
        CreateResponsesResponseTypedDict,
    )
    from .createvideos import (
        CreateVideosGlobals,
        CreateVideosGlobalsTypedDict,
        CreateVideosRequest,
        CreateVideosRequestTypedDict,
    )
    from .deleteguardrail import (
        DeleteGuardrailGlobals,
        DeleteGuardrailGlobalsTypedDict,
        DeleteGuardrailRequest,
        DeleteGuardrailRequestTypedDict,
    )
    from .deletekeys import (
        DeleteKeysGlobals,
        DeleteKeysGlobalsTypedDict,
        DeleteKeysRequest,
        DeleteKeysRequestTypedDict,
        DeleteKeysResponse,
        DeleteKeysResponseTypedDict,
    )
    from .exchangeauthcodeforapikey import (
        ExchangeAuthCodeForAPIKeyCodeChallengeMethod,
        ExchangeAuthCodeForAPIKeyGlobals,
        ExchangeAuthCodeForAPIKeyGlobalsTypedDict,
        ExchangeAuthCodeForAPIKeyRequest,
        ExchangeAuthCodeForAPIKeyRequestBody,
        ExchangeAuthCodeForAPIKeyRequestBodyTypedDict,
        ExchangeAuthCodeForAPIKeyRequestTypedDict,
        ExchangeAuthCodeForAPIKeyResponse,
        ExchangeAuthCodeForAPIKeyResponseTypedDict,
    )
    from .getcredits import (
        GetCreditsData,
        GetCreditsDataTypedDict,
        GetCreditsGlobals,
        GetCreditsGlobalsTypedDict,
        GetCreditsRequest,
        GetCreditsRequestTypedDict,
        GetCreditsResponse,
        GetCreditsResponseTypedDict,
    )
    from .getcurrentkey import (
        GetCurrentKeyData,
        GetCurrentKeyDataTypedDict,
        GetCurrentKeyGlobals,
        GetCurrentKeyGlobalsTypedDict,
        GetCurrentKeyRequest,
        GetCurrentKeyRequestTypedDict,
        GetCurrentKeyResponse,
        GetCurrentKeyResponseTypedDict,
        RateLimit,
        RateLimitTypedDict,
    )
    from .getgeneration import (
        APIType,
        GetGenerationData,
        GetGenerationDataTypedDict,
        GetGenerationGlobals,
        GetGenerationGlobalsTypedDict,
        GetGenerationRequest,
        GetGenerationRequestTypedDict,
        GetGenerationResponse,
        GetGenerationResponseTypedDict,
    )
    from .getguardrail import (
        GetGuardrailGlobals,
        GetGuardrailGlobalsTypedDict,
        GetGuardrailRequest,
        GetGuardrailRequestTypedDict,
    )
    from .getkey import (
        GetKeyData,
        GetKeyDataTypedDict,
        GetKeyGlobals,
        GetKeyGlobalsTypedDict,
        GetKeyRequest,
        GetKeyRequestTypedDict,
        GetKeyResponse,
        GetKeyResponseTypedDict,
    )
    from .getmodels import (
        Category,
        GetModelsGlobals,
        GetModelsGlobalsTypedDict,
        GetModelsRequest,
        GetModelsRequestTypedDict,
    )
    from .getuseractivity import (
        GetUserActivityGlobals,
        GetUserActivityGlobalsTypedDict,
        GetUserActivityRequest,
        GetUserActivityRequestTypedDict,
    )
    from .getvideos import (
        GetVideosGlobals,
        GetVideosGlobalsTypedDict,
        GetVideosRequest,
        GetVideosRequestTypedDict,
    )
    from .list import (
        ListData,
        ListDataTypedDict,
        ListGlobals,
        ListGlobalsTypedDict,
        ListRequest,
        ListRequestTypedDict,
        ListResponse,
        ListResponseTypedDict,
    )
    from .listembeddingsmodels import (
        ListEmbeddingsModelsGlobals,
        ListEmbeddingsModelsGlobalsTypedDict,
        ListEmbeddingsModelsRequest,
        ListEmbeddingsModelsRequestTypedDict,
    )
    from .listendpoints import (
        ListEndpointsGlobals,
        ListEndpointsGlobalsTypedDict,
        ListEndpointsRequest,
        ListEndpointsRequestTypedDict,
        ListEndpointsResponse,
        ListEndpointsResponseTypedDict,
    )
    from .listendpointszdr import (
        ListEndpointsZdrGlobals,
        ListEndpointsZdrGlobalsTypedDict,
        ListEndpointsZdrRequest,
        ListEndpointsZdrRequestTypedDict,
        ListEndpointsZdrResponse,
        ListEndpointsZdrResponseTypedDict,
    )
    from .listguardrailkeyassignments import (
        ListGuardrailKeyAssignmentsGlobals,
        ListGuardrailKeyAssignmentsGlobalsTypedDict,
        ListGuardrailKeyAssignmentsRequest,
        ListGuardrailKeyAssignmentsRequestTypedDict,
        ListGuardrailKeyAssignmentsResponse,
        ListGuardrailKeyAssignmentsResponseTypedDict,
    )
    from .listguardrailmemberassignments import (
        ListGuardrailMemberAssignmentsGlobals,
        ListGuardrailMemberAssignmentsGlobalsTypedDict,
        ListGuardrailMemberAssignmentsRequest,
        ListGuardrailMemberAssignmentsRequestTypedDict,
        ListGuardrailMemberAssignmentsResponse,
        ListGuardrailMemberAssignmentsResponseTypedDict,
    )
    from .listguardrails import (
        ListGuardrailsGlobals,
        ListGuardrailsGlobalsTypedDict,
        ListGuardrailsRequest,
        ListGuardrailsRequestTypedDict,
        ListGuardrailsResponse,
        ListGuardrailsResponseTypedDict,
    )
    from .listkeyassignments import (
        ListKeyAssignmentsGlobals,
        ListKeyAssignmentsGlobalsTypedDict,
        ListKeyAssignmentsRequest,
        ListKeyAssignmentsRequestTypedDict,
        ListKeyAssignmentsResponse,
        ListKeyAssignmentsResponseTypedDict,
    )
    from .listmemberassignments import (
        ListMemberAssignmentsGlobals,
        ListMemberAssignmentsGlobalsTypedDict,
        ListMemberAssignmentsRequest,
        ListMemberAssignmentsRequestTypedDict,
        ListMemberAssignmentsResponse,
        ListMemberAssignmentsResponseTypedDict,
    )
    from .listmodelscount import (
        ListModelsCountGlobals,
        ListModelsCountGlobalsTypedDict,
        ListModelsCountRequest,
        ListModelsCountRequestTypedDict,
    )
    from .listmodelsuser import (
        ListModelsUserGlobals,
        ListModelsUserGlobalsTypedDict,
        ListModelsUserRequest,
        ListModelsUserRequestTypedDict,
        ListModelsUserSecurity,
        ListModelsUserSecurityTypedDict,
    )
    from .listorganizationmembers import (
        ListOrganizationMembersData,
        ListOrganizationMembersDataTypedDict,
        ListOrganizationMembersGlobals,
        ListOrganizationMembersGlobalsTypedDict,
        ListOrganizationMembersRequest,
        ListOrganizationMembersRequestTypedDict,
        ListOrganizationMembersResponse,
        ListOrganizationMembersResponseBody,
        ListOrganizationMembersResponseBodyTypedDict,
        ListOrganizationMembersResponseTypedDict,
        Role,
    )
    from .listproviders import (
        Datacenter,
        Headquarters,
        ListProvidersData,
        ListProvidersDataTypedDict,
        ListProvidersGlobals,
        ListProvidersGlobalsTypedDict,
        ListProvidersRequest,
        ListProvidersRequestTypedDict,
        ListProvidersResponse,
        ListProvidersResponseTypedDict,
    )
    from .listvideoscontent import (
        ListVideosContentGlobals,
        ListVideosContentGlobalsTypedDict,
        ListVideosContentRequest,
        ListVideosContentRequestTypedDict,
    )
    from .listvideosmodels import (
        ListVideosModelsGlobals,
        ListVideosModelsGlobalsTypedDict,
        ListVideosModelsRequest,
        ListVideosModelsRequestTypedDict,
    )
    from .sendchatcompletionrequest import (
        SendChatCompletionRequestGlobals,
        SendChatCompletionRequestGlobalsTypedDict,
        SendChatCompletionRequestRequest,
        SendChatCompletionRequestRequestTypedDict,
        SendChatCompletionRequestResponse,
        SendChatCompletionRequestResponseBody,
        SendChatCompletionRequestResponseBodyTypedDict,
        SendChatCompletionRequestResponseTypedDict,
    )
    from .updateguardrail import (
        UpdateGuardrailGlobals,
        UpdateGuardrailGlobalsTypedDict,
        UpdateGuardrailRequest,
        UpdateGuardrailRequestTypedDict,
    )
    from .updatekeys import (
        UpdateKeysData,
        UpdateKeysDataTypedDict,
        UpdateKeysGlobals,
        UpdateKeysGlobalsTypedDict,
        UpdateKeysLimitReset,
        UpdateKeysRequest,
        UpdateKeysRequestBody,
        UpdateKeysRequestBodyTypedDict,
        UpdateKeysRequestTypedDict,
        UpdateKeysResponse,
        UpdateKeysResponseTypedDict,
    )

__all__ = [
    "APIType",
    "BulkAssignKeysToGuardrailGlobals",
    "BulkAssignKeysToGuardrailGlobalsTypedDict",
    "BulkAssignKeysToGuardrailRequest",
    "BulkAssignKeysToGuardrailRequestTypedDict",
    "BulkAssignMembersToGuardrailGlobals",
    "BulkAssignMembersToGuardrailGlobalsTypedDict",
    "BulkAssignMembersToGuardrailRequest",
    "BulkAssignMembersToGuardrailRequestTypedDict",
    "BulkUnassignKeysFromGuardrailGlobals",
    "BulkUnassignKeysFromGuardrailGlobalsTypedDict",
    "BulkUnassignKeysFromGuardrailRequest",
    "BulkUnassignKeysFromGuardrailRequestTypedDict",
    "BulkUnassignMembersFromGuardrailGlobals",
    "BulkUnassignMembersFromGuardrailGlobalsTypedDict",
    "BulkUnassignMembersFromGuardrailRequest",
    "BulkUnassignMembersFromGuardrailRequestTypedDict",
    "Category",
    "Content",
    "ContentImageURL",
    "ContentImageURLTypedDict",
    "ContentText",
    "ContentTextTypedDict",
    "ContentTypedDict",
    "CreateAuthKeysCodeCodeChallengeMethod",
    "CreateAuthKeysCodeData",
    "CreateAuthKeysCodeDataTypedDict",
    "CreateAuthKeysCodeGlobals",
    "CreateAuthKeysCodeGlobalsTypedDict",
    "CreateAuthKeysCodeRequest",
    "CreateAuthKeysCodeRequestBody",
    "CreateAuthKeysCodeRequestBodyTypedDict",
    "CreateAuthKeysCodeRequestTypedDict",
    "CreateAuthKeysCodeResponse",
    "CreateAuthKeysCodeResponseTypedDict",
    "CreateEmbeddingsData",
    "CreateEmbeddingsDataTypedDict",
    "CreateEmbeddingsGlobals",
    "CreateEmbeddingsGlobalsTypedDict",
    "CreateEmbeddingsRequest",
    "CreateEmbeddingsRequestBody",
    "CreateEmbeddingsRequestBodyTypedDict",
    "CreateEmbeddingsRequestTypedDict",
    "CreateEmbeddingsResponse",
    "CreateEmbeddingsResponseBody",
    "CreateEmbeddingsResponseBodyTypedDict",
    "CreateEmbeddingsResponseTypedDict",
    "CreateEmbeddingsUsage",
    "CreateEmbeddingsUsageTypedDict",
    "CreateGuardrailGlobals",
    "CreateGuardrailGlobalsTypedDict",
    "CreateGuardrailRequest",
    "CreateGuardrailRequestTypedDict",
    "CreateKeysData",
    "CreateKeysDataTypedDict",
    "CreateKeysGlobals",
    "CreateKeysGlobalsTypedDict",
    "CreateKeysLimitReset",
    "CreateKeysRequest",
    "CreateKeysRequestBody",
    "CreateKeysRequestBodyTypedDict",
    "CreateKeysRequestTypedDict",
    "CreateKeysResponse",
    "CreateKeysResponseTypedDict",
    "CreateRerankGlobals",
    "CreateRerankGlobalsTypedDict",
    "CreateRerankRequest",
    "CreateRerankRequestBody",
    "CreateRerankRequestBodyTypedDict",
    "CreateRerankRequestTypedDict",
    "CreateRerankResponse",
    "CreateRerankResponseBody",
    "CreateRerankResponseBodyTypedDict",
    "CreateRerankResponseTypedDict",
    "CreateRerankUsage",
    "CreateRerankUsageTypedDict",
    "CreateResponsesGlobals",
    "CreateResponsesGlobalsTypedDict",
    "CreateResponsesRequest",
    "CreateResponsesRequestTypedDict",
    "CreateResponsesResponse",
    "CreateResponsesResponseBody",
    "CreateResponsesResponseBodyTypedDict",
    "CreateResponsesResponseTypedDict",
    "CreateVideosGlobals",
    "CreateVideosGlobalsTypedDict",
    "CreateVideosRequest",
    "CreateVideosRequestTypedDict",
    "Datacenter",
    "DeleteGuardrailGlobals",
    "DeleteGuardrailGlobalsTypedDict",
    "DeleteGuardrailRequest",
    "DeleteGuardrailRequestTypedDict",
    "DeleteKeysGlobals",
    "DeleteKeysGlobalsTypedDict",
    "DeleteKeysRequest",
    "DeleteKeysRequestTypedDict",
    "DeleteKeysResponse",
    "DeleteKeysResponseTypedDict",
    "Document",
    "DocumentTypedDict",
    "Embedding",
    "EmbeddingTypedDict",
    "EncodingFormat",
    "ExchangeAuthCodeForAPIKeyCodeChallengeMethod",
    "ExchangeAuthCodeForAPIKeyGlobals",
    "ExchangeAuthCodeForAPIKeyGlobalsTypedDict",
    "ExchangeAuthCodeForAPIKeyRequest",
    "ExchangeAuthCodeForAPIKeyRequestBody",
    "ExchangeAuthCodeForAPIKeyRequestBodyTypedDict",
    "ExchangeAuthCodeForAPIKeyRequestTypedDict",
    "ExchangeAuthCodeForAPIKeyResponse",
    "ExchangeAuthCodeForAPIKeyResponseTypedDict",
    "GetCreditsData",
    "GetCreditsDataTypedDict",
    "GetCreditsGlobals",
    "GetCreditsGlobalsTypedDict",
    "GetCreditsRequest",
    "GetCreditsRequestTypedDict",
    "GetCreditsResponse",
    "GetCreditsResponseTypedDict",
    "GetCurrentKeyData",
    "GetCurrentKeyDataTypedDict",
    "GetCurrentKeyGlobals",
    "GetCurrentKeyGlobalsTypedDict",
    "GetCurrentKeyRequest",
    "GetCurrentKeyRequestTypedDict",
    "GetCurrentKeyResponse",
    "GetCurrentKeyResponseTypedDict",
    "GetGenerationData",
    "GetGenerationDataTypedDict",
    "GetGenerationGlobals",
    "GetGenerationGlobalsTypedDict",
    "GetGenerationRequest",
    "GetGenerationRequestTypedDict",
    "GetGenerationResponse",
    "GetGenerationResponseTypedDict",
    "GetGuardrailGlobals",
    "GetGuardrailGlobalsTypedDict",
    "GetGuardrailRequest",
    "GetGuardrailRequestTypedDict",
    "GetKeyData",
    "GetKeyDataTypedDict",
    "GetKeyGlobals",
    "GetKeyGlobalsTypedDict",
    "GetKeyRequest",
    "GetKeyRequestTypedDict",
    "GetKeyResponse",
    "GetKeyResponseTypedDict",
    "GetModelsGlobals",
    "GetModelsGlobalsTypedDict",
    "GetModelsRequest",
    "GetModelsRequestTypedDict",
    "GetUserActivityGlobals",
    "GetUserActivityGlobalsTypedDict",
    "GetUserActivityRequest",
    "GetUserActivityRequestTypedDict",
    "GetVideosGlobals",
    "GetVideosGlobalsTypedDict",
    "GetVideosRequest",
    "GetVideosRequestTypedDict",
    "Headquarters",
    "ImageURL",
    "ImageURLTypedDict",
    "Input",
    "InputTypedDict",
    "InputUnion",
    "InputUnionTypedDict",
    "ListData",
    "ListDataTypedDict",
    "ListEmbeddingsModelsGlobals",
    "ListEmbeddingsModelsGlobalsTypedDict",
    "ListEmbeddingsModelsRequest",
    "ListEmbeddingsModelsRequestTypedDict",
    "ListEndpointsGlobals",
    "ListEndpointsGlobalsTypedDict",
    "ListEndpointsRequest",
    "ListEndpointsRequestTypedDict",
    "ListEndpointsResponse",
    "ListEndpointsResponseTypedDict",
    "ListEndpointsZdrGlobals",
    "ListEndpointsZdrGlobalsTypedDict",
    "ListEndpointsZdrRequest",
    "ListEndpointsZdrRequestTypedDict",
    "ListEndpointsZdrResponse",
    "ListEndpointsZdrResponseTypedDict",
    "ListGlobals",
    "ListGlobalsTypedDict",
    "ListGuardrailKeyAssignmentsGlobals",
    "ListGuardrailKeyAssignmentsGlobalsTypedDict",
    "ListGuardrailKeyAssignmentsRequest",
    "ListGuardrailKeyAssignmentsRequestTypedDict",
    "ListGuardrailKeyAssignmentsResponse",
    "ListGuardrailKeyAssignmentsResponseTypedDict",
    "ListGuardrailMemberAssignmentsGlobals",
    "ListGuardrailMemberAssignmentsGlobalsTypedDict",
    "ListGuardrailMemberAssignmentsRequest",
    "ListGuardrailMemberAssignmentsRequestTypedDict",
    "ListGuardrailMemberAssignmentsResponse",
    "ListGuardrailMemberAssignmentsResponseTypedDict",
    "ListGuardrailsGlobals",
    "ListGuardrailsGlobalsTypedDict",
    "ListGuardrailsRequest",
    "ListGuardrailsRequestTypedDict",
    "ListGuardrailsResponse",
    "ListGuardrailsResponseTypedDict",
    "ListKeyAssignmentsGlobals",
    "ListKeyAssignmentsGlobalsTypedDict",
    "ListKeyAssignmentsRequest",
    "ListKeyAssignmentsRequestTypedDict",
    "ListKeyAssignmentsResponse",
    "ListKeyAssignmentsResponseTypedDict",
    "ListMemberAssignmentsGlobals",
    "ListMemberAssignmentsGlobalsTypedDict",
    "ListMemberAssignmentsRequest",
    "ListMemberAssignmentsRequestTypedDict",
    "ListMemberAssignmentsResponse",
    "ListMemberAssignmentsResponseTypedDict",
    "ListModelsCountGlobals",
    "ListModelsCountGlobalsTypedDict",
    "ListModelsCountRequest",
    "ListModelsCountRequestTypedDict",
    "ListModelsUserGlobals",
    "ListModelsUserGlobalsTypedDict",
    "ListModelsUserRequest",
    "ListModelsUserRequestTypedDict",
    "ListModelsUserSecurity",
    "ListModelsUserSecurityTypedDict",
    "ListOrganizationMembersData",
    "ListOrganizationMembersDataTypedDict",
    "ListOrganizationMembersGlobals",
    "ListOrganizationMembersGlobalsTypedDict",
    "ListOrganizationMembersRequest",
    "ListOrganizationMembersRequestTypedDict",
    "ListOrganizationMembersResponse",
    "ListOrganizationMembersResponseBody",
    "ListOrganizationMembersResponseBodyTypedDict",
    "ListOrganizationMembersResponseTypedDict",
    "ListProvidersData",
    "ListProvidersDataTypedDict",
    "ListProvidersGlobals",
    "ListProvidersGlobalsTypedDict",
    "ListProvidersRequest",
    "ListProvidersRequestTypedDict",
    "ListProvidersResponse",
    "ListProvidersResponseTypedDict",
    "ListRequest",
    "ListRequestTypedDict",
    "ListResponse",
    "ListResponseTypedDict",
    "ListVideosContentGlobals",
    "ListVideosContentGlobalsTypedDict",
    "ListVideosContentRequest",
    "ListVideosContentRequestTypedDict",
    "ListVideosModelsGlobals",
    "ListVideosModelsGlobalsTypedDict",
    "ListVideosModelsRequest",
    "ListVideosModelsRequestTypedDict",
    "Object",
    "ObjectEmbedding",
    "RateLimit",
    "RateLimitTypedDict",
    "Result",
    "ResultTypedDict",
    "Role",
    "SendChatCompletionRequestGlobals",
    "SendChatCompletionRequestGlobalsTypedDict",
    "SendChatCompletionRequestRequest",
    "SendChatCompletionRequestRequestTypedDict",
    "SendChatCompletionRequestResponse",
    "SendChatCompletionRequestResponseBody",
    "SendChatCompletionRequestResponseBodyTypedDict",
    "SendChatCompletionRequestResponseTypedDict",
    "TypeImageURL",
    "TypeText",
    "UpdateGuardrailGlobals",
    "UpdateGuardrailGlobalsTypedDict",
    "UpdateGuardrailRequest",
    "UpdateGuardrailRequestTypedDict",
    "UpdateKeysData",
    "UpdateKeysDataTypedDict",
    "UpdateKeysGlobals",
    "UpdateKeysGlobalsTypedDict",
    "UpdateKeysLimitReset",
    "UpdateKeysRequest",
    "UpdateKeysRequestBody",
    "UpdateKeysRequestBodyTypedDict",
    "UpdateKeysRequestTypedDict",
    "UpdateKeysResponse",
    "UpdateKeysResponseTypedDict",
    "UsageLimitType",
]

_dynamic_imports: dict[str, str] = {
    "BulkAssignKeysToGuardrailGlobals": ".bulkassignkeystoguardrail",
    "BulkAssignKeysToGuardrailGlobalsTypedDict": ".bulkassignkeystoguardrail",
    "BulkAssignKeysToGuardrailRequest": ".bulkassignkeystoguardrail",
    "BulkAssignKeysToGuardrailRequestTypedDict": ".bulkassignkeystoguardrail",
    "BulkAssignMembersToGuardrailGlobals": ".bulkassignmemberstoguardrail",
    "BulkAssignMembersToGuardrailGlobalsTypedDict": ".bulkassignmemberstoguardrail",
    "BulkAssignMembersToGuardrailRequest": ".bulkassignmemberstoguardrail",
    "BulkAssignMembersToGuardrailRequestTypedDict": ".bulkassignmemberstoguardrail",
    "BulkUnassignKeysFromGuardrailGlobals": ".bulkunassignkeysfromguardrail",
    "BulkUnassignKeysFromGuardrailGlobalsTypedDict": ".bulkunassignkeysfromguardrail",
    "BulkUnassignKeysFromGuardrailRequest": ".bulkunassignkeysfromguardrail",
    "BulkUnassignKeysFromGuardrailRequestTypedDict": ".bulkunassignkeysfromguardrail",
    "BulkUnassignMembersFromGuardrailGlobals": ".bulkunassignmembersfromguardrail",
    "BulkUnassignMembersFromGuardrailGlobalsTypedDict": ".bulkunassignmembersfromguardrail",
    "BulkUnassignMembersFromGuardrailRequest": ".bulkunassignmembersfromguardrail",
    "BulkUnassignMembersFromGuardrailRequestTypedDict": ".bulkunassignmembersfromguardrail",
    "CreateAuthKeysCodeCodeChallengeMethod": ".createauthkeyscode",
    "CreateAuthKeysCodeData": ".createauthkeyscode",
    "CreateAuthKeysCodeDataTypedDict": ".createauthkeyscode",
    "CreateAuthKeysCodeGlobals": ".createauthkeyscode",
    "CreateAuthKeysCodeGlobalsTypedDict": ".createauthkeyscode",
    "CreateAuthKeysCodeRequest": ".createauthkeyscode",
    "CreateAuthKeysCodeRequestBody": ".createauthkeyscode",
    "CreateAuthKeysCodeRequestBodyTypedDict": ".createauthkeyscode",
    "CreateAuthKeysCodeRequestTypedDict": ".createauthkeyscode",
    "CreateAuthKeysCodeResponse": ".createauthkeyscode",
    "CreateAuthKeysCodeResponseTypedDict": ".createauthkeyscode",
    "UsageLimitType": ".createauthkeyscode",
    "Content": ".createembeddings",
    "ContentImageURL": ".createembeddings",
    "ContentImageURLTypedDict": ".createembeddings",
    "ContentText": ".createembeddings",
    "ContentTextTypedDict": ".createembeddings",
    "ContentTypedDict": ".createembeddings",
    "CreateEmbeddingsData": ".createembeddings",
    "CreateEmbeddingsDataTypedDict": ".createembeddings",
    "CreateEmbeddingsGlobals": ".createembeddings",
    "CreateEmbeddingsGlobalsTypedDict": ".createembeddings",
    "CreateEmbeddingsRequest": ".createembeddings",
    "CreateEmbeddingsRequestBody": ".createembeddings",
    "CreateEmbeddingsRequestBodyTypedDict": ".createembeddings",
    "CreateEmbeddingsRequestTypedDict": ".createembeddings",
    "CreateEmbeddingsResponse": ".createembeddings",
    "CreateEmbeddingsResponseBody": ".createembeddings",
    "CreateEmbeddingsResponseBodyTypedDict": ".createembeddings",
    "CreateEmbeddingsResponseTypedDict": ".createembeddings",
    "CreateEmbeddingsUsage": ".createembeddings",
    "CreateEmbeddingsUsageTypedDict": ".createembeddings",
    "Embedding": ".createembeddings",
    "EmbeddingTypedDict": ".createembeddings",
    "EncodingFormat": ".createembeddings",
    "ImageURL": ".createembeddings",
    "ImageURLTypedDict": ".createembeddings",
    "Input": ".createembeddings",
    "InputTypedDict": ".createembeddings",
    "InputUnion": ".createembeddings",
    "InputUnionTypedDict": ".createembeddings",
    "Object": ".createembeddings",
    "ObjectEmbedding": ".createembeddings",
    "TypeImageURL": ".createembeddings",
    "TypeText": ".createembeddings",
    "CreateGuardrailGlobals": ".createguardrail",
    "CreateGuardrailGlobalsTypedDict": ".createguardrail",
    "CreateGuardrailRequest": ".createguardrail",
    "CreateGuardrailRequestTypedDict": ".createguardrail",
    "CreateKeysData": ".createkeys",
    "CreateKeysDataTypedDict": ".createkeys",
    "CreateKeysGlobals": ".createkeys",
    "CreateKeysGlobalsTypedDict": ".createkeys",
    "CreateKeysLimitReset": ".createkeys",
    "CreateKeysRequest": ".createkeys",
    "CreateKeysRequestBody": ".createkeys",
    "CreateKeysRequestBodyTypedDict": ".createkeys",
    "CreateKeysRequestTypedDict": ".createkeys",
    "CreateKeysResponse": ".createkeys",
    "CreateKeysResponseTypedDict": ".createkeys",
    "CreateRerankGlobals": ".creatererank",
    "CreateRerankGlobalsTypedDict": ".creatererank",
    "CreateRerankRequest": ".creatererank",
    "CreateRerankRequestBody": ".creatererank",
    "CreateRerankRequestBodyTypedDict": ".creatererank",
    "CreateRerankRequestTypedDict": ".creatererank",
    "CreateRerankResponse": ".creatererank",
    "CreateRerankResponseBody": ".creatererank",
    "CreateRerankResponseBodyTypedDict": ".creatererank",
    "CreateRerankResponseTypedDict": ".creatererank",
    "CreateRerankUsage": ".creatererank",
    "CreateRerankUsageTypedDict": ".creatererank",
    "Document": ".creatererank",
    "DocumentTypedDict": ".creatererank",
    "Result": ".creatererank",
    "ResultTypedDict": ".creatererank",
    "CreateResponsesGlobals": ".createresponses",
    "CreateResponsesGlobalsTypedDict": ".createresponses",
    "CreateResponsesRequest": ".createresponses",
    "CreateResponsesRequestTypedDict": ".createresponses",
    "CreateResponsesResponse": ".createresponses",
    "CreateResponsesResponseBody": ".createresponses",
    "CreateResponsesResponseBodyTypedDict": ".createresponses",
    "CreateResponsesResponseTypedDict": ".createresponses",
    "CreateVideosGlobals": ".createvideos",
    "CreateVideosGlobalsTypedDict": ".createvideos",
    "CreateVideosRequest": ".createvideos",
    "CreateVideosRequestTypedDict": ".createvideos",
    "DeleteGuardrailGlobals": ".deleteguardrail",
    "DeleteGuardrailGlobalsTypedDict": ".deleteguardrail",
    "DeleteGuardrailRequest": ".deleteguardrail",
    "DeleteGuardrailRequestTypedDict": ".deleteguardrail",
    "DeleteKeysGlobals": ".deletekeys",
    "DeleteKeysGlobalsTypedDict": ".deletekeys",
    "DeleteKeysRequest": ".deletekeys",
    "DeleteKeysRequestTypedDict": ".deletekeys",
    "DeleteKeysResponse": ".deletekeys",
    "DeleteKeysResponseTypedDict": ".deletekeys",
    "ExchangeAuthCodeForAPIKeyCodeChallengeMethod": ".exchangeauthcodeforapikey",
    "ExchangeAuthCodeForAPIKeyGlobals": ".exchangeauthcodeforapikey",
    "ExchangeAuthCodeForAPIKeyGlobalsTypedDict": ".exchangeauthcodeforapikey",
    "ExchangeAuthCodeForAPIKeyRequest": ".exchangeauthcodeforapikey",
    "ExchangeAuthCodeForAPIKeyRequestBody": ".exchangeauthcodeforapikey",
    "ExchangeAuthCodeForAPIKeyRequestBodyTypedDict": ".exchangeauthcodeforapikey",
    "ExchangeAuthCodeForAPIKeyRequestTypedDict": ".exchangeauthcodeforapikey",
    "ExchangeAuthCodeForAPIKeyResponse": ".exchangeauthcodeforapikey",
    "ExchangeAuthCodeForAPIKeyResponseTypedDict": ".exchangeauthcodeforapikey",
    "GetCreditsData": ".getcredits",
    "GetCreditsDataTypedDict": ".getcredits",
    "GetCreditsGlobals": ".getcredits",
    "GetCreditsGlobalsTypedDict": ".getcredits",
    "GetCreditsRequest": ".getcredits",
    "GetCreditsRequestTypedDict": ".getcredits",
    "GetCreditsResponse": ".getcredits",
    "GetCreditsResponseTypedDict": ".getcredits",
    "GetCurrentKeyData": ".getcurrentkey",
    "GetCurrentKeyDataTypedDict": ".getcurrentkey",
    "GetCurrentKeyGlobals": ".getcurrentkey",
    "GetCurrentKeyGlobalsTypedDict": ".getcurrentkey",
    "GetCurrentKeyRequest": ".getcurrentkey",
    "GetCurrentKeyRequestTypedDict": ".getcurrentkey",
    "GetCurrentKeyResponse": ".getcurrentkey",
    "GetCurrentKeyResponseTypedDict": ".getcurrentkey",
    "RateLimit": ".getcurrentkey",
    "RateLimitTypedDict": ".getcurrentkey",
    "APIType": ".getgeneration",
    "GetGenerationData": ".getgeneration",
    "GetGenerationDataTypedDict": ".getgeneration",
    "GetGenerationGlobals": ".getgeneration",
    "GetGenerationGlobalsTypedDict": ".getgeneration",
    "GetGenerationRequest": ".getgeneration",
    "GetGenerationRequestTypedDict": ".getgeneration",
    "GetGenerationResponse": ".getgeneration",
    "GetGenerationResponseTypedDict": ".getgeneration",
    "GetGuardrailGlobals": ".getguardrail",
    "GetGuardrailGlobalsTypedDict": ".getguardrail",
    "GetGuardrailRequest": ".getguardrail",
    "GetGuardrailRequestTypedDict": ".getguardrail",
    "GetKeyData": ".getkey",
    "GetKeyDataTypedDict": ".getkey",
    "GetKeyGlobals": ".getkey",
    "GetKeyGlobalsTypedDict": ".getkey",
    "GetKeyRequest": ".getkey",
    "GetKeyRequestTypedDict": ".getkey",
    "GetKeyResponse": ".getkey",
    "GetKeyResponseTypedDict": ".getkey",
    "Category": ".getmodels",
    "GetModelsGlobals": ".getmodels",
    "GetModelsGlobalsTypedDict": ".getmodels",
    "GetModelsRequest": ".getmodels",
    "GetModelsRequestTypedDict": ".getmodels",
    "GetUserActivityGlobals": ".getuseractivity",
    "GetUserActivityGlobalsTypedDict": ".getuseractivity",
    "GetUserActivityRequest": ".getuseractivity",
    "GetUserActivityRequestTypedDict": ".getuseractivity",
    "GetVideosGlobals": ".getvideos",
    "GetVideosGlobalsTypedDict": ".getvideos",
    "GetVideosRequest": ".getvideos",
    "GetVideosRequestTypedDict": ".getvideos",
    "ListData": ".list",
    "ListDataTypedDict": ".list",
    "ListGlobals": ".list",
    "ListGlobalsTypedDict": ".list",
    "ListRequest": ".list",
    "ListRequestTypedDict": ".list",
    "ListResponse": ".list",
    "ListResponseTypedDict": ".list",
    "ListEmbeddingsModelsGlobals": ".listembeddingsmodels",
    "ListEmbeddingsModelsGlobalsTypedDict": ".listembeddingsmodels",
    "ListEmbeddingsModelsRequest": ".listembeddingsmodels",
    "ListEmbeddingsModelsRequestTypedDict": ".listembeddingsmodels",
    "ListEndpointsGlobals": ".listendpoints",
    "ListEndpointsGlobalsTypedDict": ".listendpoints",
    "ListEndpointsRequest": ".listendpoints",
    "ListEndpointsRequestTypedDict": ".listendpoints",
    "ListEndpointsResponse": ".listendpoints",
    "ListEndpointsResponseTypedDict": ".listendpoints",
    "ListEndpointsZdrGlobals": ".listendpointszdr",
    "ListEndpointsZdrGlobalsTypedDict": ".listendpointszdr",
    "ListEndpointsZdrRequest": ".listendpointszdr",
    "ListEndpointsZdrRequestTypedDict": ".listendpointszdr",
    "ListEndpointsZdrResponse": ".listendpointszdr",
    "ListEndpointsZdrResponseTypedDict": ".listendpointszdr",
    "ListGuardrailKeyAssignmentsGlobals": ".listguardrailkeyassignments",
    "ListGuardrailKeyAssignmentsGlobalsTypedDict": ".listguardrailkeyassignments",
    "ListGuardrailKeyAssignmentsRequest": ".listguardrailkeyassignments",
    "ListGuardrailKeyAssignmentsRequestTypedDict": ".listguardrailkeyassignments",
    "ListGuardrailKeyAssignmentsResponse": ".listguardrailkeyassignments",
    "ListGuardrailKeyAssignmentsResponseTypedDict": ".listguardrailkeyassignments",
    "ListGuardrailMemberAssignmentsGlobals": ".listguardrailmemberassignments",
    "ListGuardrailMemberAssignmentsGlobalsTypedDict": ".listguardrailmemberassignments",
    "ListGuardrailMemberAssignmentsRequest": ".listguardrailmemberassignments",
    "ListGuardrailMemberAssignmentsRequestTypedDict": ".listguardrailmemberassignments",
    "ListGuardrailMemberAssignmentsResponse": ".listguardrailmemberassignments",
    "ListGuardrailMemberAssignmentsResponseTypedDict": ".listguardrailmemberassignments",
    "ListGuardrailsGlobals": ".listguardrails",
    "ListGuardrailsGlobalsTypedDict": ".listguardrails",
    "ListGuardrailsRequest": ".listguardrails",
    "ListGuardrailsRequestTypedDict": ".listguardrails",
    "ListGuardrailsResponse": ".listguardrails",
    "ListGuardrailsResponseTypedDict": ".listguardrails",
    "ListKeyAssignmentsGlobals": ".listkeyassignments",
    "ListKeyAssignmentsGlobalsTypedDict": ".listkeyassignments",
    "ListKeyAssignmentsRequest": ".listkeyassignments",
    "ListKeyAssignmentsRequestTypedDict": ".listkeyassignments",
    "ListKeyAssignmentsResponse": ".listkeyassignments",
    "ListKeyAssignmentsResponseTypedDict": ".listkeyassignments",
    "ListMemberAssignmentsGlobals": ".listmemberassignments",
    "ListMemberAssignmentsGlobalsTypedDict": ".listmemberassignments",
    "ListMemberAssignmentsRequest": ".listmemberassignments",
    "ListMemberAssignmentsRequestTypedDict": ".listmemberassignments",
    "ListMemberAssignmentsResponse": ".listmemberassignments",
    "ListMemberAssignmentsResponseTypedDict": ".listmemberassignments",
    "ListModelsCountGlobals": ".listmodelscount",
    "ListModelsCountGlobalsTypedDict": ".listmodelscount",
    "ListModelsCountRequest": ".listmodelscount",
    "ListModelsCountRequestTypedDict": ".listmodelscount",
    "ListModelsUserGlobals": ".listmodelsuser",
    "ListModelsUserGlobalsTypedDict": ".listmodelsuser",
    "ListModelsUserRequest": ".listmodelsuser",
    "ListModelsUserRequestTypedDict": ".listmodelsuser",
    "ListModelsUserSecurity": ".listmodelsuser",
    "ListModelsUserSecurityTypedDict": ".listmodelsuser",
    "ListOrganizationMembersData": ".listorganizationmembers",
    "ListOrganizationMembersDataTypedDict": ".listorganizationmembers",
    "ListOrganizationMembersGlobals": ".listorganizationmembers",
    "ListOrganizationMembersGlobalsTypedDict": ".listorganizationmembers",
    "ListOrganizationMembersRequest": ".listorganizationmembers",
    "ListOrganizationMembersRequestTypedDict": ".listorganizationmembers",
    "ListOrganizationMembersResponse": ".listorganizationmembers",
    "ListOrganizationMembersResponseBody": ".listorganizationmembers",
    "ListOrganizationMembersResponseBodyTypedDict": ".listorganizationmembers",
    "ListOrganizationMembersResponseTypedDict": ".listorganizationmembers",
    "Role": ".listorganizationmembers",
    "Datacenter": ".listproviders",
    "Headquarters": ".listproviders",
    "ListProvidersData": ".listproviders",
    "ListProvidersDataTypedDict": ".listproviders",
    "ListProvidersGlobals": ".listproviders",
    "ListProvidersGlobalsTypedDict": ".listproviders",
    "ListProvidersRequest": ".listproviders",
    "ListProvidersRequestTypedDict": ".listproviders",
    "ListProvidersResponse": ".listproviders",
    "ListProvidersResponseTypedDict": ".listproviders",
    "ListVideosContentGlobals": ".listvideoscontent",
    "ListVideosContentGlobalsTypedDict": ".listvideoscontent",
    "ListVideosContentRequest": ".listvideoscontent",
    "ListVideosContentRequestTypedDict": ".listvideoscontent",
    "ListVideosModelsGlobals": ".listvideosmodels",
    "ListVideosModelsGlobalsTypedDict": ".listvideosmodels",
    "ListVideosModelsRequest": ".listvideosmodels",
    "ListVideosModelsRequestTypedDict": ".listvideosmodels",
    "SendChatCompletionRequestGlobals": ".sendchatcompletionrequest",
    "SendChatCompletionRequestGlobalsTypedDict": ".sendchatcompletionrequest",
    "SendChatCompletionRequestRequest": ".sendchatcompletionrequest",
    "SendChatCompletionRequestRequestTypedDict": ".sendchatcompletionrequest",
    "SendChatCompletionRequestResponse": ".sendchatcompletionrequest",
    "SendChatCompletionRequestResponseBody": ".sendchatcompletionrequest",
    "SendChatCompletionRequestResponseBodyTypedDict": ".sendchatcompletionrequest",
    "SendChatCompletionRequestResponseTypedDict": ".sendchatcompletionrequest",
    "UpdateGuardrailGlobals": ".updateguardrail",
    "UpdateGuardrailGlobalsTypedDict": ".updateguardrail",
    "UpdateGuardrailRequest": ".updateguardrail",
    "UpdateGuardrailRequestTypedDict": ".updateguardrail",
    "UpdateKeysData": ".updatekeys",
    "UpdateKeysDataTypedDict": ".updatekeys",
    "UpdateKeysGlobals": ".updatekeys",
    "UpdateKeysGlobalsTypedDict": ".updatekeys",
    "UpdateKeysLimitReset": ".updatekeys",
    "UpdateKeysRequest": ".updatekeys",
    "UpdateKeysRequestBody": ".updatekeys",
    "UpdateKeysRequestBodyTypedDict": ".updatekeys",
    "UpdateKeysRequestTypedDict": ".updatekeys",
    "UpdateKeysResponse": ".updatekeys",
    "UpdateKeysResponseTypedDict": ".updatekeys",
}


def dynamic_import(modname, retries=3):
    for attempt in range(retries):
        try:
            return import_module(modname, __package__)
        except KeyError:
            # Clear any half-initialized module and retry
            sys.modules.pop(modname, None)
            if attempt == retries - 1:
                break
    raise KeyError(f"Failed to import module '{modname}' after {retries} attempts")


def __getattr__(attr_name: str) -> object:
    module_name = _dynamic_imports.get(attr_name)
    if module_name is None:
        raise AttributeError(
            f"No {attr_name} found in _dynamic_imports for module name -> {__name__} "
        )

    try:
        module = dynamic_import(module_name)
        result = getattr(module, attr_name)
        return result
    except ImportError as e:
        raise ImportError(
            f"Failed to import {attr_name} from {module_name}: {e}"
        ) from e
    except AttributeError as e:
        raise AttributeError(
            f"Failed to get {attr_name} from {module_name}: {e}"
        ) from e


def __dir__():
    lazy_attrs = builtins.list(_dynamic_imports.keys())
    return builtins.sorted(lazy_attrs)
