"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.PrefixMessagesSystemMessage$outboundSchema = exports.DeploymentGetConfigPrefixMessagesContent$outboundSchema = exports.PrefixMessagesDeveloperMessage$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema = exports.PrefixMessagesUserMessage$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema = exports.DeploymentGetConfigContent2$outboundSchema = exports.DeploymentGetConfig24$outboundSchema = exports.DeploymentGetConfig2CacheControl$outboundSchema = exports.DeploymentGetConfig2Ttl$outboundSchema = exports.DeploymentGetConfig2DeploymentsType$outboundSchema = exports.PrefixMessagesAssistantMessage$outboundSchema = exports.DeploymentGetConfigPrefixMessagesToolCalls$outboundSchema = exports.DeploymentGetConfigPrefixMessagesFunction$outboundSchema = exports.DeploymentGetConfigPrefixMessagesType$outboundSchema = exports.PrefixMessagesAudio$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema = exports.DeploymentGetConfigContentDeployments2$outboundSchema = exports.PrefixMessagesToolMessage$outboundSchema = exports.DeploymentGetConfigPrefixMessagesCacheControl$outboundSchema = exports.DeploymentGetConfigPrefixMessagesTtl$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsType$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequest2$outboundSchema = exports.DeploymentGetConfigDeploymentsType = exports.ThinkingLevel = exports.DeploymentGetConfigVerbosity = exports.DeploymentGetConfigReasoningEffort = exports.DeploymentGetConfigEncodingFormat = exports.PhotoRealVersion = exports.DeploymentGetConfigResponseFormatDeploymentsResponseType = exports.DeploymentGetConfigResponseFormatType = exports.DeploymentGetConfigResponseFormatDeploymentsType = exports.ResponseFormat4 = exports.ResponseFormat5 = exports.ResponseFormat6 = exports.DeploymentGetConfigFormat = exports.DeploymentGetConfigDeploymentsResponseType = exports.DeploymentGetConfigRole = exports.DeploymentGetConfigType = exports.DeploymentGetConfig2DeploymentsTtl = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType = exports.DeploymentGetConfigMessagesType = exports.DeploymentGetConfigMessagesTtl = exports.DeploymentGetConfigMessagesDeploymentsType = exports.DeploymentGetConfig2Ttl = exports.DeploymentGetConfig2DeploymentsType = exports.DeploymentGetConfigPrefixMessagesType = exports.DeploymentGetConfigPrefixMessagesTtl = exports.DeploymentGetConfigPrefixMessagesDeploymentsType = void 0;
exports.DeploymentGetConfigAndIn$outboundSchema = exports.DeploymentGetConfigAndDeploymentsIn$outboundSchema = exports.DeploymentGetConfigAndNin$outboundSchema = exports.DeploymentGetConfigAndDeploymentsNin$outboundSchema = exports.DeploymentGetConfigAndExists$outboundSchema = exports.DeploymentGetConfigKnowledgeFilterOr$outboundSchema = exports.DeploymentGetConfigKnowledgeFilterDeploymentsOr$outboundSchema = exports.DeploymentGetConfigOrEq$outboundSchema = exports.DeploymentGetConfigOrDeploymentsEq$outboundSchema = exports.DeploymentGetConfigOrNe$outboundSchema = exports.DeploymentGetConfigOrDeploymentsNe$outboundSchema = exports.DeploymentGetConfigOrGt$outboundSchema = exports.DeploymentGetConfigOrGte$outboundSchema = exports.DeploymentGetConfigOrLt$outboundSchema = exports.DeploymentGetConfigOrLte$outboundSchema = exports.DeploymentGetConfigOrIn$outboundSchema = exports.DeploymentGetConfigOrDeploymentsIn$outboundSchema = exports.DeploymentGetConfigOrNin$outboundSchema = exports.DeploymentGetConfigOrDeploymentsNin$outboundSchema = exports.DeploymentGetConfigOrExists$outboundSchema = exports.DeploymentGetConfigThread$outboundSchema = exports.DeploymentGetConfigInvokeOptions$outboundSchema = exports.DeploymentGetConfigDocuments$outboundSchema = exports.DeploymentGetConfigMetadata$outboundSchema = exports.DeploymentGetConfigMessages$outboundSchema = exports.DeploymentGetConfigMessagesSystemMessage$outboundSchema = exports.DeploymentGetConfigMessagesContent$outboundSchema = exports.DeploymentGetConfigMessagesDeveloperMessage$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsContent$outboundSchema = exports.DeploymentGetConfigMessagesUserMessage$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestContent$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema = exports.DeploymentGetConfig2Deployments4$outboundSchema = exports.DeploymentGetConfig2DeploymentsCacheControl$outboundSchema = exports.DeploymentGetConfig2DeploymentsTtl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema = exports.DeploymentGetConfigMessagesAssistantMessage$outboundSchema = exports.DeploymentGetConfigMessagesToolCalls$outboundSchema = exports.DeploymentGetConfigMessagesFunction$outboundSchema = exports.DeploymentGetConfigMessagesType$outboundSchema = exports.DeploymentGetConfigMessagesAudio$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema = exports.DeploymentGetConfigMessagesToolMessage$outboundSchema = exports.DeploymentGetConfigMessagesCacheControl$outboundSchema = exports.DeploymentGetConfigMessagesTtl$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsType$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBody5Content$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$outboundSchema = exports.DeploymentGetConfigPrefixMessages$outboundSchema = void 0;
exports.ResponseFormat1$inboundSchema = exports.DeploymentGetConfigResponseFormatJsonSchema$inboundSchema = exports.DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema = exports.ResponseFormat2$inboundSchema = exports.DeploymentGetConfigResponseFormatType$inboundSchema = exports.ResponseFormat3$inboundSchema = exports.DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema = exports.ResponseFormat4$inboundSchema = exports.ResponseFormat5$inboundSchema = exports.ResponseFormat6$inboundSchema = exports.DeploymentGetConfigFormat$inboundSchema = exports.DeploymentGetConfigDeploymentsMessages$inboundSchema = exports.DeploymentGetConfigToolCalls$inboundSchema = exports.DeploymentGetConfigDeploymentsFunction$inboundSchema = exports.DeploymentGetConfigDeploymentsResponseType$inboundSchema = exports.DeploymentGetConfigContent$inboundSchema = exports.DeploymentGetConfigContentDeploymentsResponse2$inboundSchema = exports.Two1$inboundSchema = exports.DeploymentGetConfig22$inboundSchema = exports.TwoImageUrl$inboundSchema = exports.Two3$inboundSchema = exports.DeploymentGetConfig2File$inboundSchema = exports.DeploymentGetConfigRole$inboundSchema = exports.DeploymentGetConfigType$inboundSchema = exports.DeploymentGetConfigRequestBody$outboundSchema = exports.DeploymentGetConfigKnowledgeFilter$outboundSchema = exports.DeploymentGetConfigKnowledgeFilter1$outboundSchema = exports.DeploymentGetConfig1Eq$outboundSchema = exports.DeploymentGetConfig1DeploymentsEq$outboundSchema = exports.DeploymentGetConfig1Ne$outboundSchema = exports.DeploymentGetConfig1DeploymentsNe$outboundSchema = exports.OneGt$outboundSchema = exports.OneGte$outboundSchema = exports.OneLt$outboundSchema = exports.OneLte$outboundSchema = exports.DeploymentGetConfig1In$outboundSchema = exports.DeploymentGetConfig1DeploymentsIn$outboundSchema = exports.DeploymentGetConfig1Nin$outboundSchema = exports.DeploymentGetConfig1DeploymentsNin$outboundSchema = exports.OneExists$outboundSchema = exports.DeploymentGetConfigKnowledgeFilterAnd$outboundSchema = exports.DeploymentGetConfigKnowledgeFilterDeploymentsAnd$outboundSchema = exports.DeploymentGetConfigAndEq$outboundSchema = exports.DeploymentGetConfigAndDeploymentsEq$outboundSchema = exports.DeploymentGetConfigAndNe$outboundSchema = exports.DeploymentGetConfigAndDeploymentsNe$outboundSchema = exports.DeploymentGetConfigAndGt$outboundSchema = exports.DeploymentGetConfigAndGte$outboundSchema = exports.DeploymentGetConfigAndLt$outboundSchema = exports.DeploymentGetConfigAndLte$outboundSchema = void 0;
exports.DeploymentGetConfigResponseBody$inboundSchema = exports.DeploymentGetConfigTools$inboundSchema = exports.DeploymentGetConfigFunction$inboundSchema = exports.DeploymentGetConfigDeploymentsType$inboundSchema = exports.DeploymentGetConfigParameters$inboundSchema = exports.ThinkingLevel$inboundSchema = exports.DeploymentGetConfigVerbosity$inboundSchema = exports.DeploymentGetConfigReasoningEffort$inboundSchema = exports.DeploymentGetConfigEncodingFormat$inboundSchema = exports.PhotoRealVersion$inboundSchema = exports.DeploymentGetConfigResponseFormat$inboundSchema = void 0;
exports.deploymentGetConfigContentDeploymentsRequest2ToJSON = deploymentGetConfigContentDeploymentsRequest2ToJSON;
exports.deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5ContentToJSON = deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5ContentToJSON;
exports.deploymentGetConfigPrefixMessagesCacheControlToJSON = deploymentGetConfigPrefixMessagesCacheControlToJSON;
exports.prefixMessagesToolMessageToJSON = prefixMessagesToolMessageToJSON;
exports.deploymentGetConfigContentDeployments2ToJSON = deploymentGetConfigContentDeployments2ToJSON;
exports.deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContentToJSON = deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContentToJSON;
exports.prefixMessagesAudioToJSON = prefixMessagesAudioToJSON;
exports.deploymentGetConfigPrefixMessagesFunctionToJSON = deploymentGetConfigPrefixMessagesFunctionToJSON;
exports.deploymentGetConfigPrefixMessagesToolCallsToJSON = deploymentGetConfigPrefixMessagesToolCallsToJSON;
exports.prefixMessagesAssistantMessageToJSON = prefixMessagesAssistantMessageToJSON;
exports.deploymentGetConfig2CacheControlToJSON = deploymentGetConfig2CacheControlToJSON;
exports.deploymentGetConfig24ToJSON = deploymentGetConfig24ToJSON;
exports.deploymentGetConfigContent2ToJSON = deploymentGetConfigContent2ToJSON;
exports.deploymentGetConfigPrefixMessagesDeploymentsRequestContentToJSON = deploymentGetConfigPrefixMessagesDeploymentsRequestContentToJSON;
exports.prefixMessagesUserMessageToJSON = prefixMessagesUserMessageToJSON;
exports.deploymentGetConfigPrefixMessagesDeploymentsContentToJSON = deploymentGetConfigPrefixMessagesDeploymentsContentToJSON;
exports.prefixMessagesDeveloperMessageToJSON = prefixMessagesDeveloperMessageToJSON;
exports.deploymentGetConfigPrefixMessagesContentToJSON = deploymentGetConfigPrefixMessagesContentToJSON;
exports.prefixMessagesSystemMessageToJSON = prefixMessagesSystemMessageToJSON;
exports.deploymentGetConfigPrefixMessagesToJSON = deploymentGetConfigPrefixMessagesToJSON;
exports.deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52ToJSON = deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52ToJSON;
exports.deploymentGetConfigMessagesDeploymentsRequestRequestBody5ContentToJSON = deploymentGetConfigMessagesDeploymentsRequestRequestBody5ContentToJSON;
exports.deploymentGetConfigMessagesCacheControlToJSON = deploymentGetConfigMessagesCacheControlToJSON;
exports.deploymentGetConfigMessagesToolMessageToJSON = deploymentGetConfigMessagesToolMessageToJSON;
exports.deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2ToJSON = deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2ToJSON;
exports.deploymentGetConfigMessagesDeploymentsRequestRequestBodyContentToJSON = deploymentGetConfigMessagesDeploymentsRequestRequestBodyContentToJSON;
exports.deploymentGetConfigMessagesAudioToJSON = deploymentGetConfigMessagesAudioToJSON;
exports.deploymentGetConfigMessagesFunctionToJSON = deploymentGetConfigMessagesFunctionToJSON;
exports.deploymentGetConfigMessagesToolCallsToJSON = deploymentGetConfigMessagesToolCallsToJSON;
exports.deploymentGetConfigMessagesAssistantMessageToJSON = deploymentGetConfigMessagesAssistantMessageToJSON;
exports.deploymentGetConfig2DeploymentsCacheControlToJSON = deploymentGetConfig2DeploymentsCacheControlToJSON;
exports.deploymentGetConfig2Deployments4ToJSON = deploymentGetConfig2Deployments4ToJSON;
exports.deploymentGetConfigContentDeploymentsRequestRequestBody2ToJSON = deploymentGetConfigContentDeploymentsRequestRequestBody2ToJSON;
exports.deploymentGetConfigMessagesDeploymentsRequestContentToJSON = deploymentGetConfigMessagesDeploymentsRequestContentToJSON;
exports.deploymentGetConfigMessagesUserMessageToJSON = deploymentGetConfigMessagesUserMessageToJSON;
exports.deploymentGetConfigMessagesDeploymentsContentToJSON = deploymentGetConfigMessagesDeploymentsContentToJSON;
exports.deploymentGetConfigMessagesDeveloperMessageToJSON = deploymentGetConfigMessagesDeveloperMessageToJSON;
exports.deploymentGetConfigMessagesContentToJSON = deploymentGetConfigMessagesContentToJSON;
exports.deploymentGetConfigMessagesSystemMessageToJSON = deploymentGetConfigMessagesSystemMessageToJSON;
exports.deploymentGetConfigMessagesToJSON = deploymentGetConfigMessagesToJSON;
exports.deploymentGetConfigMetadataToJSON = deploymentGetConfigMetadataToJSON;
exports.deploymentGetConfigDocumentsToJSON = deploymentGetConfigDocumentsToJSON;
exports.deploymentGetConfigInvokeOptionsToJSON = deploymentGetConfigInvokeOptionsToJSON;
exports.deploymentGetConfigThreadToJSON = deploymentGetConfigThreadToJSON;
exports.deploymentGetConfigOrExistsToJSON = deploymentGetConfigOrExistsToJSON;
exports.deploymentGetConfigOrDeploymentsNinToJSON = deploymentGetConfigOrDeploymentsNinToJSON;
exports.deploymentGetConfigOrNinToJSON = deploymentGetConfigOrNinToJSON;
exports.deploymentGetConfigOrDeploymentsInToJSON = deploymentGetConfigOrDeploymentsInToJSON;
exports.deploymentGetConfigOrInToJSON = deploymentGetConfigOrInToJSON;
exports.deploymentGetConfigOrLteToJSON = deploymentGetConfigOrLteToJSON;
exports.deploymentGetConfigOrLtToJSON = deploymentGetConfigOrLtToJSON;
exports.deploymentGetConfigOrGteToJSON = deploymentGetConfigOrGteToJSON;
exports.deploymentGetConfigOrGtToJSON = deploymentGetConfigOrGtToJSON;
exports.deploymentGetConfigOrDeploymentsNeToJSON = deploymentGetConfigOrDeploymentsNeToJSON;
exports.deploymentGetConfigOrNeToJSON = deploymentGetConfigOrNeToJSON;
exports.deploymentGetConfigOrDeploymentsEqToJSON = deploymentGetConfigOrDeploymentsEqToJSON;
exports.deploymentGetConfigOrEqToJSON = deploymentGetConfigOrEqToJSON;
exports.deploymentGetConfigKnowledgeFilterDeploymentsOrToJSON = deploymentGetConfigKnowledgeFilterDeploymentsOrToJSON;
exports.deploymentGetConfigKnowledgeFilterOrToJSON = deploymentGetConfigKnowledgeFilterOrToJSON;
exports.deploymentGetConfigAndExistsToJSON = deploymentGetConfigAndExistsToJSON;
exports.deploymentGetConfigAndDeploymentsNinToJSON = deploymentGetConfigAndDeploymentsNinToJSON;
exports.deploymentGetConfigAndNinToJSON = deploymentGetConfigAndNinToJSON;
exports.deploymentGetConfigAndDeploymentsInToJSON = deploymentGetConfigAndDeploymentsInToJSON;
exports.deploymentGetConfigAndInToJSON = deploymentGetConfigAndInToJSON;
exports.deploymentGetConfigAndLteToJSON = deploymentGetConfigAndLteToJSON;
exports.deploymentGetConfigAndLtToJSON = deploymentGetConfigAndLtToJSON;
exports.deploymentGetConfigAndGteToJSON = deploymentGetConfigAndGteToJSON;
exports.deploymentGetConfigAndGtToJSON = deploymentGetConfigAndGtToJSON;
exports.deploymentGetConfigAndDeploymentsNeToJSON = deploymentGetConfigAndDeploymentsNeToJSON;
exports.deploymentGetConfigAndNeToJSON = deploymentGetConfigAndNeToJSON;
exports.deploymentGetConfigAndDeploymentsEqToJSON = deploymentGetConfigAndDeploymentsEqToJSON;
exports.deploymentGetConfigAndEqToJSON = deploymentGetConfigAndEqToJSON;
exports.deploymentGetConfigKnowledgeFilterDeploymentsAndToJSON = deploymentGetConfigKnowledgeFilterDeploymentsAndToJSON;
exports.deploymentGetConfigKnowledgeFilterAndToJSON = deploymentGetConfigKnowledgeFilterAndToJSON;
exports.oneExistsToJSON = oneExistsToJSON;
exports.deploymentGetConfig1DeploymentsNinToJSON = deploymentGetConfig1DeploymentsNinToJSON;
exports.deploymentGetConfig1NinToJSON = deploymentGetConfig1NinToJSON;
exports.deploymentGetConfig1DeploymentsInToJSON = deploymentGetConfig1DeploymentsInToJSON;
exports.deploymentGetConfig1InToJSON = deploymentGetConfig1InToJSON;
exports.oneLteToJSON = oneLteToJSON;
exports.oneLtToJSON = oneLtToJSON;
exports.oneGteToJSON = oneGteToJSON;
exports.oneGtToJSON = oneGtToJSON;
exports.deploymentGetConfig1DeploymentsNeToJSON = deploymentGetConfig1DeploymentsNeToJSON;
exports.deploymentGetConfig1NeToJSON = deploymentGetConfig1NeToJSON;
exports.deploymentGetConfig1DeploymentsEqToJSON = deploymentGetConfig1DeploymentsEqToJSON;
exports.deploymentGetConfig1EqToJSON = deploymentGetConfig1EqToJSON;
exports.deploymentGetConfigKnowledgeFilter1ToJSON = deploymentGetConfigKnowledgeFilter1ToJSON;
exports.deploymentGetConfigKnowledgeFilterToJSON = deploymentGetConfigKnowledgeFilterToJSON;
exports.deploymentGetConfigRequestBodyToJSON = deploymentGetConfigRequestBodyToJSON;
exports.deploymentGetConfig2FileFromJSON = deploymentGetConfig2FileFromJSON;
exports.two3FromJSON = two3FromJSON;
exports.twoImageUrlFromJSON = twoImageUrlFromJSON;
exports.deploymentGetConfig22FromJSON = deploymentGetConfig22FromJSON;
exports.two1FromJSON = two1FromJSON;
exports.deploymentGetConfigContentDeploymentsResponse2FromJSON = deploymentGetConfigContentDeploymentsResponse2FromJSON;
exports.deploymentGetConfigContentFromJSON = deploymentGetConfigContentFromJSON;
exports.deploymentGetConfigDeploymentsFunctionFromJSON = deploymentGetConfigDeploymentsFunctionFromJSON;
exports.deploymentGetConfigToolCallsFromJSON = deploymentGetConfigToolCallsFromJSON;
exports.deploymentGetConfigDeploymentsMessagesFromJSON = deploymentGetConfigDeploymentsMessagesFromJSON;
exports.responseFormat3FromJSON = responseFormat3FromJSON;
exports.responseFormat2FromJSON = responseFormat2FromJSON;
exports.deploymentGetConfigResponseFormatJsonSchemaFromJSON = deploymentGetConfigResponseFormatJsonSchemaFromJSON;
exports.responseFormat1FromJSON = responseFormat1FromJSON;
exports.deploymentGetConfigResponseFormatFromJSON = deploymentGetConfigResponseFormatFromJSON;
exports.deploymentGetConfigParametersFromJSON = deploymentGetConfigParametersFromJSON;
exports.deploymentGetConfigFunctionFromJSON = deploymentGetConfigFunctionFromJSON;
exports.deploymentGetConfigToolsFromJSON = deploymentGetConfigToolsFromJSON;
exports.deploymentGetConfigResponseBodyFromJSON = deploymentGetConfigResponseBodyFromJSON;
const z = __importStar(require("zod/v3"));
const primitives_js_1 = require("../../lib/primitives.js");
const schemas_js_1 = require("../../lib/schemas.js");
const components = __importStar(require("../components/index.js"));
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
exports.DeploymentGetConfigPrefixMessagesDeploymentsType = {
    Ephemeral: "ephemeral",
};
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
exports.DeploymentGetConfigPrefixMessagesTtl = {
    Fivem: "5m",
    Oneh: "1h",
};
/**
 * The type of the tool. Currently, only `function` is supported.
 */
exports.DeploymentGetConfigPrefixMessagesType = {
    Function: "function",
};
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
exports.DeploymentGetConfig2DeploymentsType = {
    Ephemeral: "ephemeral",
};
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
exports.DeploymentGetConfig2Ttl = {
    Fivem: "5m",
    Oneh: "1h",
};
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
exports.DeploymentGetConfigMessagesDeploymentsType = {
    Ephemeral: "ephemeral",
};
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
exports.DeploymentGetConfigMessagesTtl = {
    Fivem: "5m",
    Oneh: "1h",
};
/**
 * The type of the tool. Currently, only `function` is supported.
 */
exports.DeploymentGetConfigMessagesType = {
    Function: "function",
};
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType = {
    Ephemeral: "ephemeral",
};
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
exports.DeploymentGetConfig2DeploymentsTtl = {
    Fivem: "5m",
    Oneh: "1h",
};
/**
 * The type of the model. Current `chat`,`completion` and `image` are supported
 */
exports.DeploymentGetConfigType = {
    Chat: "chat",
    Completion: "completion",
    Embedding: "embedding",
    Image: "image",
    Tts: "tts",
    Stt: "stt",
    Rerank: "rerank",
    Ocr: "ocr",
    Moderation: "moderation",
    Vision: "vision",
};
/**
 * The role of the prompt message
 */
exports.DeploymentGetConfigRole = {
    System: "system",
    Developer: "developer",
    Assistant: "assistant",
    User: "user",
    Exception: "exception",
    Tool: "tool",
    Prompt: "prompt",
    Correction: "correction",
    ExpectedOutput: "expected_output",
};
exports.DeploymentGetConfigDeploymentsResponseType = {
    Function: "function",
};
/**
 * Only supported on `image` models.
 */
exports.DeploymentGetConfigFormat = {
    Url: "url",
    B64Json: "b64_json",
    Text: "text",
    JsonObject: "json_object",
};
exports.ResponseFormat6 = {
    Json: "json",
    Text: "text",
    Srt: "srt",
    VerboseJson: "verbose_json",
    Vtt: "vtt",
};
exports.ResponseFormat5 = {
    Url: "url",
    Base64Json: "base64_json",
};
exports.ResponseFormat4 = {
    Mp3: "mp3",
    Opus: "opus",
    Aac: "aac",
    Flac: "flac",
    Wav: "wav",
    Pcm: "pcm",
};
exports.DeploymentGetConfigResponseFormatDeploymentsType = {
    Text: "text",
};
exports.DeploymentGetConfigResponseFormatType = {
    JsonObject: "json_object",
};
exports.DeploymentGetConfigResponseFormatDeploymentsResponseType = {
    JsonSchema: "json_schema",
};
/**
 * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
 */
exports.PhotoRealVersion = {
    V1: "v1",
    V2: "v2",
};
/**
 * The format to return the embeddings
 */
exports.DeploymentGetConfigEncodingFormat = {
    Float: "float",
    Base64: "base64",
};
/**
 * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
 */
exports.DeploymentGetConfigReasoningEffort = {
    None: "none",
    Disable: "disable",
    Minimal: "minimal",
    Low: "low",
    Medium: "medium",
    High: "high",
};
/**
 * Controls the verbosity of the model output.
 */
exports.DeploymentGetConfigVerbosity = {
    Low: "low",
    Medium: "medium",
    High: "high",
};
/**
 * The level of thinking to use for the model. Only supported by `Google AI`
 */
exports.ThinkingLevel = {
    Low: "low",
    Medium: "medium",
    High: "high",
};
/**
 * The type of the tool. Currently, only `function` is supported.
 */
exports.DeploymentGetConfigDeploymentsType = {
    Function: "function",
};
/** @internal */
exports.DeploymentGetConfigContentDeploymentsRequest2$outboundSchema = components.TextContentPartSchema$outboundSchema;
function deploymentGetConfigContentDeploymentsRequest2ToJSON(deploymentGetConfigContentDeploymentsRequest2) {
    return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsRequest2$outboundSchema.parse(deploymentGetConfigContentDeploymentsRequest2));
}
/** @internal */
exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content$outboundSchema = z.union([
    z.string(),
    z.array(components.TextContentPartSchema$outboundSchema),
]);
function deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5ContentToJSON(deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content) {
    return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content$outboundSchema
        .parse(deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content));
}
/** @internal */
exports.DeploymentGetConfigPrefixMessagesDeploymentsType$outboundSchema = z
    .nativeEnum(exports.DeploymentGetConfigPrefixMessagesDeploymentsType);
/** @internal */
exports.DeploymentGetConfigPrefixMessagesTtl$outboundSchema = z.nativeEnum(exports.DeploymentGetConfigPrefixMessagesTtl);
/** @internal */
exports.DeploymentGetConfigPrefixMessagesCacheControl$outboundSchema = z.object({
    type: exports.DeploymentGetConfigPrefixMessagesDeploymentsType$outboundSchema,
    ttl: exports.DeploymentGetConfigPrefixMessagesTtl$outboundSchema.default("5m"),
});
function deploymentGetConfigPrefixMessagesCacheControlToJSON(deploymentGetConfigPrefixMessagesCacheControl) {
    return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesCacheControl$outboundSchema.parse(deploymentGetConfigPrefixMessagesCacheControl));
}
/** @internal */
exports.PrefixMessagesToolMessage$outboundSchema = z.object({
    role: z.literal("tool"),
    content: z.union([
        z.string(),
        z.array(components.TextContentPartSchema$outboundSchema),
    ]),
    toolCallId: z.nullable(z.string()),
    cacheControl: z.lazy(() => exports.DeploymentGetConfigPrefixMessagesCacheControl$outboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        toolCallId: "tool_call_id",
        cacheControl: "cache_control",
    });
});
function prefixMessagesToolMessageToJSON(prefixMessagesToolMessage) {
    return JSON.stringify(exports.PrefixMessagesToolMessage$outboundSchema.parse(prefixMessagesToolMessage));
}
/** @internal */
exports.DeploymentGetConfigContentDeployments2$outboundSchema = z.union([
    components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
    components.RefusalPartSchema$outboundSchema,
    components.ReasoningPartSchema$outboundSchema,
    components.RedactedReasoningPartSchema$outboundSchema,
]);
function deploymentGetConfigContentDeployments2ToJSON(deploymentGetConfigContentDeployments2) {
    return JSON.stringify(exports.DeploymentGetConfigContentDeployments2$outboundSchema.parse(deploymentGetConfigContentDeployments2));
}
/** @internal */
exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema = z.union([
    z.string(),
    z.array(z.union([
        components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
        components.RefusalPartSchema$outboundSchema,
        components.ReasoningPartSchema$outboundSchema,
        components.RedactedReasoningPartSchema$outboundSchema,
    ])),
]);
function deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContentToJSON(deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent) {
    return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema
        .parse(deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent));
}
/** @internal */
exports.PrefixMessagesAudio$outboundSchema = z.object({
    id: z.string(),
});
function prefixMessagesAudioToJSON(prefixMessagesAudio) {
    return JSON.stringify(exports.PrefixMessagesAudio$outboundSchema.parse(prefixMessagesAudio));
}
/** @internal */
exports.DeploymentGetConfigPrefixMessagesType$outboundSchema = z.nativeEnum(exports.DeploymentGetConfigPrefixMessagesType);
/** @internal */
exports.DeploymentGetConfigPrefixMessagesFunction$outboundSchema = z.object({
    name: z.string().optional(),
    arguments: z.string().optional(),
});
function deploymentGetConfigPrefixMessagesFunctionToJSON(deploymentGetConfigPrefixMessagesFunction) {
    return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesFunction$outboundSchema.parse(deploymentGetConfigPrefixMessagesFunction));
}
/** @internal */
exports.DeploymentGetConfigPrefixMessagesToolCalls$outboundSchema = z.object({
    id: z.string(),
    type: exports.DeploymentGetConfigPrefixMessagesType$outboundSchema,
    function: z.lazy(() => exports.DeploymentGetConfigPrefixMessagesFunction$outboundSchema),
    thoughtSignature: z.string().optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        thoughtSignature: "thought_signature",
    });
});
function deploymentGetConfigPrefixMessagesToolCallsToJSON(deploymentGetConfigPrefixMessagesToolCalls) {
    return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesToolCalls$outboundSchema.parse(deploymentGetConfigPrefixMessagesToolCalls));
}
/** @internal */
exports.PrefixMessagesAssistantMessage$outboundSchema = z.object({
    content: z.nullable(z.union([
        z.string(),
        z.array(z.union([
            components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
            components.RefusalPartSchema$outboundSchema,
            components.ReasoningPartSchema$outboundSchema,
            components.RedactedReasoningPartSchema$outboundSchema,
        ])),
    ])).optional(),
    refusal: z.nullable(z.string()).optional(),
    role: z.literal("assistant"),
    name: z.string().optional(),
    audio: z.nullable(z.lazy(() => exports.PrefixMessagesAudio$outboundSchema))
        .optional(),
    toolCalls: z.array(z.lazy(() => exports.DeploymentGetConfigPrefixMessagesToolCalls$outboundSchema)).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        toolCalls: "tool_calls",
    });
});
function prefixMessagesAssistantMessageToJSON(prefixMessagesAssistantMessage) {
    return JSON.stringify(exports.PrefixMessagesAssistantMessage$outboundSchema.parse(prefixMessagesAssistantMessage));
}
/** @internal */
exports.DeploymentGetConfig2DeploymentsType$outboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsType);
/** @internal */
exports.DeploymentGetConfig2Ttl$outboundSchema = z.nativeEnum(exports.DeploymentGetConfig2Ttl);
/** @internal */
exports.DeploymentGetConfig2CacheControl$outboundSchema = z.object({
    type: exports.DeploymentGetConfig2DeploymentsType$outboundSchema,
    ttl: exports.DeploymentGetConfig2Ttl$outboundSchema.default("5m"),
});
function deploymentGetConfig2CacheControlToJSON(deploymentGetConfig2CacheControl) {
    return JSON.stringify(exports.DeploymentGetConfig2CacheControl$outboundSchema.parse(deploymentGetConfig2CacheControl));
}
/** @internal */
exports.DeploymentGetConfig24$outboundSchema = z.object({
    type: z.literal("file"),
    cacheControl: z.lazy(() => exports.DeploymentGetConfig2CacheControl$outboundSchema)
        .optional(),
    file: components.FileContentPartSchema$outboundSchema,
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        cacheControl: "cache_control",
    });
});
function deploymentGetConfig24ToJSON(deploymentGetConfig24) {
    return JSON.stringify(exports.DeploymentGetConfig24$outboundSchema.parse(deploymentGetConfig24));
}
/** @internal */
exports.DeploymentGetConfigContent2$outboundSchema = z.union([
    components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
    components.ImageContentPartSchema$outboundSchema,
    components.AudioContentPartSchema$outboundSchema,
    z.lazy(() => exports.DeploymentGetConfig24$outboundSchema),
]);
function deploymentGetConfigContent2ToJSON(deploymentGetConfigContent2) {
    return JSON.stringify(exports.DeploymentGetConfigContent2$outboundSchema.parse(deploymentGetConfigContent2));
}
/** @internal */
exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema = z.union([
    z.string(),
    z.array(z.union([
        components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
        components.ImageContentPartSchema$outboundSchema,
        components.AudioContentPartSchema$outboundSchema,
        z.lazy(() => exports.DeploymentGetConfig24$outboundSchema),
    ])),
]);
function deploymentGetConfigPrefixMessagesDeploymentsRequestContentToJSON(deploymentGetConfigPrefixMessagesDeploymentsRequestContent) {
    return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema
        .parse(deploymentGetConfigPrefixMessagesDeploymentsRequestContent));
}
/** @internal */
exports.PrefixMessagesUserMessage$outboundSchema = z.object({
    role: z.literal("user"),
    name: z.string().optional(),
    content: z.union([
        z.string(),
        z.array(z.union([
            components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
            components.ImageContentPartSchema$outboundSchema,
            components.AudioContentPartSchema$outboundSchema,
            z.lazy(() => exports.DeploymentGetConfig24$outboundSchema),
        ])),
    ]),
});
function prefixMessagesUserMessageToJSON(prefixMessagesUserMessage) {
    return JSON.stringify(exports.PrefixMessagesUserMessage$outboundSchema.parse(prefixMessagesUserMessage));
}
/** @internal */
exports.DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema = z.union([
    z.string(),
    z.array(components.TextContentPartSchema$outboundSchema),
]);
function deploymentGetConfigPrefixMessagesDeploymentsContentToJSON(deploymentGetConfigPrefixMessagesDeploymentsContent) {
    return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema.parse(deploymentGetConfigPrefixMessagesDeploymentsContent));
}
/** @internal */
exports.PrefixMessagesDeveloperMessage$outboundSchema = z.object({
    role: z.literal("developer"),
    content: z.union([
        z.string(),
        z.array(components.TextContentPartSchema$outboundSchema),
    ]),
    name: z.string().optional(),
});
function prefixMessagesDeveloperMessageToJSON(prefixMessagesDeveloperMessage) {
    return JSON.stringify(exports.PrefixMessagesDeveloperMessage$outboundSchema.parse(prefixMessagesDeveloperMessage));
}
/** @internal */
exports.DeploymentGetConfigPrefixMessagesContent$outboundSchema = z.union([
    z.string(),
    z.array(components.TextContentPartSchema$outboundSchema),
]);
function deploymentGetConfigPrefixMessagesContentToJSON(deploymentGetConfigPrefixMessagesContent) {
    return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesContent$outboundSchema.parse(deploymentGetConfigPrefixMessagesContent));
}
/** @internal */
exports.PrefixMessagesSystemMessage$outboundSchema = z.object({
    role: z.literal("system"),
    content: z.union([
        z.string(),
        z.array(components.TextContentPartSchema$outboundSchema),
    ]),
    name: z.string().optional(),
});
function prefixMessagesSystemMessageToJSON(prefixMessagesSystemMessage) {
    return JSON.stringify(exports.PrefixMessagesSystemMessage$outboundSchema.parse(prefixMessagesSystemMessage));
}
/** @internal */
exports.DeploymentGetConfigPrefixMessages$outboundSchema = z.union([
    z.lazy(() => exports.PrefixMessagesSystemMessage$outboundSchema),
    z.lazy(() => exports.PrefixMessagesDeveloperMessage$outboundSchema),
    z.lazy(() => exports.PrefixMessagesUserMessage$outboundSchema),
    z.lazy(() => exports.PrefixMessagesAssistantMessage$outboundSchema),
    z.lazy(() => exports.PrefixMessagesToolMessage$outboundSchema),
]);
function deploymentGetConfigPrefixMessagesToJSON(deploymentGetConfigPrefixMessages) {
    return JSON.stringify(exports.DeploymentGetConfigPrefixMessages$outboundSchema.parse(deploymentGetConfigPrefixMessages));
}
/** @internal */
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$outboundSchema = components.TextContentPartSchema$outboundSchema;
function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52) {
    return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$outboundSchema
        .parse(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52));
}
/** @internal */
exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBody5Content$outboundSchema = z.union([
    z.string(),
    z.array(components.TextContentPartSchema$outboundSchema),
]);
function deploymentGetConfigMessagesDeploymentsRequestRequestBody5ContentToJSON(deploymentGetConfigMessagesDeploymentsRequestRequestBody5Content) {
    return JSON.stringify(exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBody5Content$outboundSchema
        .parse(deploymentGetConfigMessagesDeploymentsRequestRequestBody5Content));
}
/** @internal */
exports.DeploymentGetConfigMessagesDeploymentsType$outboundSchema = z
    .nativeEnum(exports.DeploymentGetConfigMessagesDeploymentsType);
/** @internal */
exports.DeploymentGetConfigMessagesTtl$outboundSchema = z.nativeEnum(exports.DeploymentGetConfigMessagesTtl);
/** @internal */
exports.DeploymentGetConfigMessagesCacheControl$outboundSchema = z.object({
    type: exports.DeploymentGetConfigMessagesDeploymentsType$outboundSchema,
    ttl: exports.DeploymentGetConfigMessagesTtl$outboundSchema.default("5m"),
});
function deploymentGetConfigMessagesCacheControlToJSON(deploymentGetConfigMessagesCacheControl) {
    return JSON.stringify(exports.DeploymentGetConfigMessagesCacheControl$outboundSchema.parse(deploymentGetConfigMessagesCacheControl));
}
/** @internal */
exports.DeploymentGetConfigMessagesToolMessage$outboundSchema = z.object({
    role: z.literal("tool"),
    content: z.union([
        z.string(),
        z.array(components.TextContentPartSchema$outboundSchema),
    ]),
    toolCallId: z.nullable(z.string()),
    cacheControl: z.lazy(() => exports.DeploymentGetConfigMessagesCacheControl$outboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        toolCallId: "tool_call_id",
        cacheControl: "cache_control",
    });
});
function deploymentGetConfigMessagesToolMessageToJSON(deploymentGetConfigMessagesToolMessage) {
    return JSON.stringify(exports.DeploymentGetConfigMessagesToolMessage$outboundSchema.parse(deploymentGetConfigMessagesToolMessage));
}
/** @internal */
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema = z.union([
    components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
    components.RefusalPartSchema$outboundSchema,
    components.ReasoningPartSchema$outboundSchema,
    components.RedactedReasoningPartSchema$outboundSchema,
]);
function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2) {
    return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema
        .parse(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2));
}
/** @internal */
exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$outboundSchema = z.union([
    z.string(),
    z.array(z.union([
        components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
        components.RefusalPartSchema$outboundSchema,
        components.ReasoningPartSchema$outboundSchema,
        components.RedactedReasoningPartSchema$outboundSchema,
    ])),
]);
function deploymentGetConfigMessagesDeploymentsRequestRequestBodyContentToJSON(deploymentGetConfigMessagesDeploymentsRequestRequestBodyContent) {
    return JSON.stringify(exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$outboundSchema
        .parse(deploymentGetConfigMessagesDeploymentsRequestRequestBodyContent));
}
/** @internal */
exports.DeploymentGetConfigMessagesAudio$outboundSchema = z.object({
    id: z.string(),
});
function deploymentGetConfigMessagesAudioToJSON(deploymentGetConfigMessagesAudio) {
    return JSON.stringify(exports.DeploymentGetConfigMessagesAudio$outboundSchema.parse(deploymentGetConfigMessagesAudio));
}
/** @internal */
exports.DeploymentGetConfigMessagesType$outboundSchema = z.nativeEnum(exports.DeploymentGetConfigMessagesType);
/** @internal */
exports.DeploymentGetConfigMessagesFunction$outboundSchema = z.object({
    name: z.string().optional(),
    arguments: z.string().optional(),
});
function deploymentGetConfigMessagesFunctionToJSON(deploymentGetConfigMessagesFunction) {
    return JSON.stringify(exports.DeploymentGetConfigMessagesFunction$outboundSchema.parse(deploymentGetConfigMessagesFunction));
}
/** @internal */
exports.DeploymentGetConfigMessagesToolCalls$outboundSchema = z.object({
    id: z.string(),
    type: exports.DeploymentGetConfigMessagesType$outboundSchema,
    function: z.lazy(() => exports.DeploymentGetConfigMessagesFunction$outboundSchema),
    thoughtSignature: z.string().optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        thoughtSignature: "thought_signature",
    });
});
function deploymentGetConfigMessagesToolCallsToJSON(deploymentGetConfigMessagesToolCalls) {
    return JSON.stringify(exports.DeploymentGetConfigMessagesToolCalls$outboundSchema.parse(deploymentGetConfigMessagesToolCalls));
}
/** @internal */
exports.DeploymentGetConfigMessagesAssistantMessage$outboundSchema = z.object({
    content: z.nullable(z.union([
        z.string(),
        z.array(z.union([
            components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
            components.RefusalPartSchema$outboundSchema,
            components.ReasoningPartSchema$outboundSchema,
            components.RedactedReasoningPartSchema$outboundSchema,
        ])),
    ])).optional(),
    refusal: z.nullable(z.string()).optional(),
    role: z.literal("assistant"),
    name: z.string().optional(),
    audio: z.nullable(z.lazy(() => exports.DeploymentGetConfigMessagesAudio$outboundSchema)).optional(),
    toolCalls: z.array(z.lazy(() => exports.DeploymentGetConfigMessagesToolCalls$outboundSchema)).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        toolCalls: "tool_calls",
    });
});
function deploymentGetConfigMessagesAssistantMessageToJSON(deploymentGetConfigMessagesAssistantMessage) {
    return JSON.stringify(exports.DeploymentGetConfigMessagesAssistantMessage$outboundSchema.parse(deploymentGetConfigMessagesAssistantMessage));
}
/** @internal */
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType);
/** @internal */
exports.DeploymentGetConfig2DeploymentsTtl$outboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsTtl);
/** @internal */
exports.DeploymentGetConfig2DeploymentsCacheControl$outboundSchema = z.object({
    type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema,
    ttl: exports.DeploymentGetConfig2DeploymentsTtl$outboundSchema.default("5m"),
});
function deploymentGetConfig2DeploymentsCacheControlToJSON(deploymentGetConfig2DeploymentsCacheControl) {
    return JSON.stringify(exports.DeploymentGetConfig2DeploymentsCacheControl$outboundSchema.parse(deploymentGetConfig2DeploymentsCacheControl));
}
/** @internal */
exports.DeploymentGetConfig2Deployments4$outboundSchema = z.object({
    type: z.literal("file"),
    cacheControl: z.lazy(() => exports.DeploymentGetConfig2DeploymentsCacheControl$outboundSchema).optional(),
    file: components.FileContentPartSchema$outboundSchema,
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        cacheControl: "cache_control",
    });
});
function deploymentGetConfig2Deployments4ToJSON(deploymentGetConfig2Deployments4) {
    return JSON.stringify(exports.DeploymentGetConfig2Deployments4$outboundSchema.parse(deploymentGetConfig2Deployments4));
}
/** @internal */
exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema = z.union([
    components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
    components.ImageContentPartSchema$outboundSchema,
    components.AudioContentPartSchema$outboundSchema,
    z.lazy(() => exports.DeploymentGetConfig2Deployments4$outboundSchema),
]);
function deploymentGetConfigContentDeploymentsRequestRequestBody2ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBody2) {
    return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema
        .parse(deploymentGetConfigContentDeploymentsRequestRequestBody2));
}
/** @internal */
exports.DeploymentGetConfigMessagesDeploymentsRequestContent$outboundSchema = z.union([
    z.string(),
    z.array(z.union([
        components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
        components.ImageContentPartSchema$outboundSchema,
        components.AudioContentPartSchema$outboundSchema,
        z.lazy(() => exports.DeploymentGetConfig2Deployments4$outboundSchema),
    ])),
]);
function deploymentGetConfigMessagesDeploymentsRequestContentToJSON(deploymentGetConfigMessagesDeploymentsRequestContent) {
    return JSON.stringify(exports.DeploymentGetConfigMessagesDeploymentsRequestContent$outboundSchema.parse(deploymentGetConfigMessagesDeploymentsRequestContent));
}
/** @internal */
exports.DeploymentGetConfigMessagesUserMessage$outboundSchema = z.object({
    role: z.literal("user"),
    name: z.string().optional(),
    content: z.union([
        z.string(),
        z.array(z.union([
            components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
            components.ImageContentPartSchema$outboundSchema,
            components.AudioContentPartSchema$outboundSchema,
            z.lazy(() => exports.DeploymentGetConfig2Deployments4$outboundSchema),
        ])),
    ]),
});
function deploymentGetConfigMessagesUserMessageToJSON(deploymentGetConfigMessagesUserMessage) {
    return JSON.stringify(exports.DeploymentGetConfigMessagesUserMessage$outboundSchema.parse(deploymentGetConfigMessagesUserMessage));
}
/** @internal */
exports.DeploymentGetConfigMessagesDeploymentsContent$outboundSchema = z.union([
    z.string(),
    z.array(components.TextContentPartSchema$outboundSchema),
]);
function deploymentGetConfigMessagesDeploymentsContentToJSON(deploymentGetConfigMessagesDeploymentsContent) {
    return JSON.stringify(exports.DeploymentGetConfigMessagesDeploymentsContent$outboundSchema.parse(deploymentGetConfigMessagesDeploymentsContent));
}
/** @internal */
exports.DeploymentGetConfigMessagesDeveloperMessage$outboundSchema = z.object({
    role: z.literal("developer"),
    content: z.union([
        z.string(),
        z.array(components.TextContentPartSchema$outboundSchema),
    ]),
    name: z.string().optional(),
});
function deploymentGetConfigMessagesDeveloperMessageToJSON(deploymentGetConfigMessagesDeveloperMessage) {
    return JSON.stringify(exports.DeploymentGetConfigMessagesDeveloperMessage$outboundSchema.parse(deploymentGetConfigMessagesDeveloperMessage));
}
/** @internal */
exports.DeploymentGetConfigMessagesContent$outboundSchema = z.union([
    z.string(),
    z.array(components.TextContentPartSchema$outboundSchema),
]);
function deploymentGetConfigMessagesContentToJSON(deploymentGetConfigMessagesContent) {
    return JSON.stringify(exports.DeploymentGetConfigMessagesContent$outboundSchema.parse(deploymentGetConfigMessagesContent));
}
/** @internal */
exports.DeploymentGetConfigMessagesSystemMessage$outboundSchema = z.object({
    role: z.literal("system"),
    content: z.union([
        z.string(),
        z.array(components.TextContentPartSchema$outboundSchema),
    ]),
    name: z.string().optional(),
});
function deploymentGetConfigMessagesSystemMessageToJSON(deploymentGetConfigMessagesSystemMessage) {
    return JSON.stringify(exports.DeploymentGetConfigMessagesSystemMessage$outboundSchema.parse(deploymentGetConfigMessagesSystemMessage));
}
/** @internal */
exports.DeploymentGetConfigMessages$outboundSchema = z.union([
    z.lazy(() => exports.DeploymentGetConfigMessagesSystemMessage$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigMessagesDeveloperMessage$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigMessagesUserMessage$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigMessagesAssistantMessage$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigMessagesToolMessage$outboundSchema),
]);
function deploymentGetConfigMessagesToJSON(deploymentGetConfigMessages) {
    return JSON.stringify(exports.DeploymentGetConfigMessages$outboundSchema.parse(deploymentGetConfigMessages));
}
/** @internal */
exports.DeploymentGetConfigMetadata$outboundSchema = z.object({
    fileName: z.string().optional(),
    fileType: z.string().optional(),
    pageNumber: z.number().optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        fileName: "file_name",
        fileType: "file_type",
        pageNumber: "page_number",
    });
});
function deploymentGetConfigMetadataToJSON(deploymentGetConfigMetadata) {
    return JSON.stringify(exports.DeploymentGetConfigMetadata$outboundSchema.parse(deploymentGetConfigMetadata));
}
/** @internal */
exports.DeploymentGetConfigDocuments$outboundSchema = z.object({
    text: z.string(),
    metadata: z.lazy(() => exports.DeploymentGetConfigMetadata$outboundSchema).optional(),
});
function deploymentGetConfigDocumentsToJSON(deploymentGetConfigDocuments) {
    return JSON.stringify(exports.DeploymentGetConfigDocuments$outboundSchema.parse(deploymentGetConfigDocuments));
}
/** @internal */
exports.DeploymentGetConfigInvokeOptions$outboundSchema = z.object({
    includeRetrievals: z.boolean().default(false),
    includeUsage: z.boolean().default(false),
    mockResponse: z.string().optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        includeRetrievals: "include_retrievals",
        includeUsage: "include_usage",
        mockResponse: "mock_response",
    });
});
function deploymentGetConfigInvokeOptionsToJSON(deploymentGetConfigInvokeOptions) {
    return JSON.stringify(exports.DeploymentGetConfigInvokeOptions$outboundSchema.parse(deploymentGetConfigInvokeOptions));
}
/** @internal */
exports.DeploymentGetConfigThread$outboundSchema = z.object({
    id: z.string(),
    tags: z.array(z.string()).optional(),
});
function deploymentGetConfigThreadToJSON(deploymentGetConfigThread) {
    return JSON.stringify(exports.DeploymentGetConfigThread$outboundSchema.parse(deploymentGetConfigThread));
}
/** @internal */
exports.DeploymentGetConfigOrExists$outboundSchema = z.object({
    exists: z.boolean(),
});
function deploymentGetConfigOrExistsToJSON(deploymentGetConfigOrExists) {
    return JSON.stringify(exports.DeploymentGetConfigOrExists$outboundSchema.parse(deploymentGetConfigOrExists));
}
/** @internal */
exports.DeploymentGetConfigOrDeploymentsNin$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
function deploymentGetConfigOrDeploymentsNinToJSON(deploymentGetConfigOrDeploymentsNin) {
    return JSON.stringify(exports.DeploymentGetConfigOrDeploymentsNin$outboundSchema.parse(deploymentGetConfigOrDeploymentsNin));
}
/** @internal */
exports.DeploymentGetConfigOrNin$outboundSchema = z.object({
    nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
});
function deploymentGetConfigOrNinToJSON(deploymentGetConfigOrNin) {
    return JSON.stringify(exports.DeploymentGetConfigOrNin$outboundSchema.parse(deploymentGetConfigOrNin));
}
/** @internal */
exports.DeploymentGetConfigOrDeploymentsIn$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
function deploymentGetConfigOrDeploymentsInToJSON(deploymentGetConfigOrDeploymentsIn) {
    return JSON.stringify(exports.DeploymentGetConfigOrDeploymentsIn$outboundSchema.parse(deploymentGetConfigOrDeploymentsIn));
}
/** @internal */
exports.DeploymentGetConfigOrIn$outboundSchema = z.object({
    in: z.array(z.union([z.string(), z.number(), z.boolean()])),
});
function deploymentGetConfigOrInToJSON(deploymentGetConfigOrIn) {
    return JSON.stringify(exports.DeploymentGetConfigOrIn$outboundSchema.parse(deploymentGetConfigOrIn));
}
/** @internal */
exports.DeploymentGetConfigOrLte$outboundSchema = z.object({
    lte: z.number(),
});
function deploymentGetConfigOrLteToJSON(deploymentGetConfigOrLte) {
    return JSON.stringify(exports.DeploymentGetConfigOrLte$outboundSchema.parse(deploymentGetConfigOrLte));
}
/** @internal */
exports.DeploymentGetConfigOrLt$outboundSchema = z.object({
    lt: z.number(),
});
function deploymentGetConfigOrLtToJSON(deploymentGetConfigOrLt) {
    return JSON.stringify(exports.DeploymentGetConfigOrLt$outboundSchema.parse(deploymentGetConfigOrLt));
}
/** @internal */
exports.DeploymentGetConfigOrGte$outboundSchema = z.object({
    gte: z.number(),
});
function deploymentGetConfigOrGteToJSON(deploymentGetConfigOrGte) {
    return JSON.stringify(exports.DeploymentGetConfigOrGte$outboundSchema.parse(deploymentGetConfigOrGte));
}
/** @internal */
exports.DeploymentGetConfigOrGt$outboundSchema = z.object({
    gt: z.number(),
});
function deploymentGetConfigOrGtToJSON(deploymentGetConfigOrGt) {
    return JSON.stringify(exports.DeploymentGetConfigOrGt$outboundSchema.parse(deploymentGetConfigOrGt));
}
/** @internal */
exports.DeploymentGetConfigOrDeploymentsNe$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
function deploymentGetConfigOrDeploymentsNeToJSON(deploymentGetConfigOrDeploymentsNe) {
    return JSON.stringify(exports.DeploymentGetConfigOrDeploymentsNe$outboundSchema.parse(deploymentGetConfigOrDeploymentsNe));
}
/** @internal */
exports.DeploymentGetConfigOrNe$outboundSchema = z.object({
    ne: z.union([z.string(), z.number(), z.boolean()]),
});
function deploymentGetConfigOrNeToJSON(deploymentGetConfigOrNe) {
    return JSON.stringify(exports.DeploymentGetConfigOrNe$outboundSchema.parse(deploymentGetConfigOrNe));
}
/** @internal */
exports.DeploymentGetConfigOrDeploymentsEq$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
function deploymentGetConfigOrDeploymentsEqToJSON(deploymentGetConfigOrDeploymentsEq) {
    return JSON.stringify(exports.DeploymentGetConfigOrDeploymentsEq$outboundSchema.parse(deploymentGetConfigOrDeploymentsEq));
}
/** @internal */
exports.DeploymentGetConfigOrEq$outboundSchema = z.object({
    eq: z.union([z.string(), z.number(), z.boolean()]),
});
function deploymentGetConfigOrEqToJSON(deploymentGetConfigOrEq) {
    return JSON.stringify(exports.DeploymentGetConfigOrEq$outboundSchema.parse(deploymentGetConfigOrEq));
}
/** @internal */
exports.DeploymentGetConfigKnowledgeFilterDeploymentsOr$outboundSchema = z.union([
    z.lazy(() => exports.DeploymentGetConfigOrEq$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigOrNe$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigOrGt$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigOrGte$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigOrLt$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigOrLte$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigOrIn$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigOrNin$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigOrExists$outboundSchema),
]);
function deploymentGetConfigKnowledgeFilterDeploymentsOrToJSON(deploymentGetConfigKnowledgeFilterDeploymentsOr) {
    return JSON.stringify(exports.DeploymentGetConfigKnowledgeFilterDeploymentsOr$outboundSchema.parse(deploymentGetConfigKnowledgeFilterDeploymentsOr));
}
/** @internal */
exports.DeploymentGetConfigKnowledgeFilterOr$outboundSchema = z.object({
    or: z.array(z.record(z.union([
        z.lazy(() => exports.DeploymentGetConfigOrEq$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigOrNe$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigOrGt$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigOrGte$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigOrLt$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigOrLte$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigOrIn$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigOrNin$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigOrExists$outboundSchema),
    ]))),
});
function deploymentGetConfigKnowledgeFilterOrToJSON(deploymentGetConfigKnowledgeFilterOr) {
    return JSON.stringify(exports.DeploymentGetConfigKnowledgeFilterOr$outboundSchema.parse(deploymentGetConfigKnowledgeFilterOr));
}
/** @internal */
exports.DeploymentGetConfigAndExists$outboundSchema = z.object({
    exists: z.boolean(),
});
function deploymentGetConfigAndExistsToJSON(deploymentGetConfigAndExists) {
    return JSON.stringify(exports.DeploymentGetConfigAndExists$outboundSchema.parse(deploymentGetConfigAndExists));
}
/** @internal */
exports.DeploymentGetConfigAndDeploymentsNin$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
function deploymentGetConfigAndDeploymentsNinToJSON(deploymentGetConfigAndDeploymentsNin) {
    return JSON.stringify(exports.DeploymentGetConfigAndDeploymentsNin$outboundSchema.parse(deploymentGetConfigAndDeploymentsNin));
}
/** @internal */
exports.DeploymentGetConfigAndNin$outboundSchema = z.object({
    nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
});
function deploymentGetConfigAndNinToJSON(deploymentGetConfigAndNin) {
    return JSON.stringify(exports.DeploymentGetConfigAndNin$outboundSchema.parse(deploymentGetConfigAndNin));
}
/** @internal */
exports.DeploymentGetConfigAndDeploymentsIn$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
function deploymentGetConfigAndDeploymentsInToJSON(deploymentGetConfigAndDeploymentsIn) {
    return JSON.stringify(exports.DeploymentGetConfigAndDeploymentsIn$outboundSchema.parse(deploymentGetConfigAndDeploymentsIn));
}
/** @internal */
exports.DeploymentGetConfigAndIn$outboundSchema = z.object({
    in: z.array(z.union([z.string(), z.number(), z.boolean()])),
});
function deploymentGetConfigAndInToJSON(deploymentGetConfigAndIn) {
    return JSON.stringify(exports.DeploymentGetConfigAndIn$outboundSchema.parse(deploymentGetConfigAndIn));
}
/** @internal */
exports.DeploymentGetConfigAndLte$outboundSchema = z.object({
    lte: z.number(),
});
function deploymentGetConfigAndLteToJSON(deploymentGetConfigAndLte) {
    return JSON.stringify(exports.DeploymentGetConfigAndLte$outboundSchema.parse(deploymentGetConfigAndLte));
}
/** @internal */
exports.DeploymentGetConfigAndLt$outboundSchema = z.object({
    lt: z.number(),
});
function deploymentGetConfigAndLtToJSON(deploymentGetConfigAndLt) {
    return JSON.stringify(exports.DeploymentGetConfigAndLt$outboundSchema.parse(deploymentGetConfigAndLt));
}
/** @internal */
exports.DeploymentGetConfigAndGte$outboundSchema = z.object({
    gte: z.number(),
});
function deploymentGetConfigAndGteToJSON(deploymentGetConfigAndGte) {
    return JSON.stringify(exports.DeploymentGetConfigAndGte$outboundSchema.parse(deploymentGetConfigAndGte));
}
/** @internal */
exports.DeploymentGetConfigAndGt$outboundSchema = z.object({
    gt: z.number(),
});
function deploymentGetConfigAndGtToJSON(deploymentGetConfigAndGt) {
    return JSON.stringify(exports.DeploymentGetConfigAndGt$outboundSchema.parse(deploymentGetConfigAndGt));
}
/** @internal */
exports.DeploymentGetConfigAndDeploymentsNe$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
function deploymentGetConfigAndDeploymentsNeToJSON(deploymentGetConfigAndDeploymentsNe) {
    return JSON.stringify(exports.DeploymentGetConfigAndDeploymentsNe$outboundSchema.parse(deploymentGetConfigAndDeploymentsNe));
}
/** @internal */
exports.DeploymentGetConfigAndNe$outboundSchema = z.object({
    ne: z.union([z.string(), z.number(), z.boolean()]),
});
function deploymentGetConfigAndNeToJSON(deploymentGetConfigAndNe) {
    return JSON.stringify(exports.DeploymentGetConfigAndNe$outboundSchema.parse(deploymentGetConfigAndNe));
}
/** @internal */
exports.DeploymentGetConfigAndDeploymentsEq$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
function deploymentGetConfigAndDeploymentsEqToJSON(deploymentGetConfigAndDeploymentsEq) {
    return JSON.stringify(exports.DeploymentGetConfigAndDeploymentsEq$outboundSchema.parse(deploymentGetConfigAndDeploymentsEq));
}
/** @internal */
exports.DeploymentGetConfigAndEq$outboundSchema = z.object({
    eq: z.union([z.string(), z.number(), z.boolean()]),
});
function deploymentGetConfigAndEqToJSON(deploymentGetConfigAndEq) {
    return JSON.stringify(exports.DeploymentGetConfigAndEq$outboundSchema.parse(deploymentGetConfigAndEq));
}
/** @internal */
exports.DeploymentGetConfigKnowledgeFilterDeploymentsAnd$outboundSchema = z.union([
    z.lazy(() => exports.DeploymentGetConfigAndEq$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigAndNe$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigAndGt$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigAndGte$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigAndLt$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigAndLte$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigAndIn$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigAndNin$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigAndExists$outboundSchema),
]);
function deploymentGetConfigKnowledgeFilterDeploymentsAndToJSON(deploymentGetConfigKnowledgeFilterDeploymentsAnd) {
    return JSON.stringify(exports.DeploymentGetConfigKnowledgeFilterDeploymentsAnd$outboundSchema.parse(deploymentGetConfigKnowledgeFilterDeploymentsAnd));
}
/** @internal */
exports.DeploymentGetConfigKnowledgeFilterAnd$outboundSchema = z.object({
    and: z.array(z.record(z.union([
        z.lazy(() => exports.DeploymentGetConfigAndEq$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigAndNe$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigAndGt$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigAndGte$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigAndLt$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigAndLte$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigAndIn$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigAndNin$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigAndExists$outboundSchema),
    ]))),
});
function deploymentGetConfigKnowledgeFilterAndToJSON(deploymentGetConfigKnowledgeFilterAnd) {
    return JSON.stringify(exports.DeploymentGetConfigKnowledgeFilterAnd$outboundSchema.parse(deploymentGetConfigKnowledgeFilterAnd));
}
/** @internal */
exports.OneExists$outboundSchema = z.object({
    exists: z.boolean(),
});
function oneExistsToJSON(oneExists) {
    return JSON.stringify(exports.OneExists$outboundSchema.parse(oneExists));
}
/** @internal */
exports.DeploymentGetConfig1DeploymentsNin$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
function deploymentGetConfig1DeploymentsNinToJSON(deploymentGetConfig1DeploymentsNin) {
    return JSON.stringify(exports.DeploymentGetConfig1DeploymentsNin$outboundSchema.parse(deploymentGetConfig1DeploymentsNin));
}
/** @internal */
exports.DeploymentGetConfig1Nin$outboundSchema = z.object({
    nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
});
function deploymentGetConfig1NinToJSON(deploymentGetConfig1Nin) {
    return JSON.stringify(exports.DeploymentGetConfig1Nin$outboundSchema.parse(deploymentGetConfig1Nin));
}
/** @internal */
exports.DeploymentGetConfig1DeploymentsIn$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
function deploymentGetConfig1DeploymentsInToJSON(deploymentGetConfig1DeploymentsIn) {
    return JSON.stringify(exports.DeploymentGetConfig1DeploymentsIn$outboundSchema.parse(deploymentGetConfig1DeploymentsIn));
}
/** @internal */
exports.DeploymentGetConfig1In$outboundSchema = z.object({
    in: z.array(z.union([z.string(), z.number(), z.boolean()])),
});
function deploymentGetConfig1InToJSON(deploymentGetConfig1In) {
    return JSON.stringify(exports.DeploymentGetConfig1In$outboundSchema.parse(deploymentGetConfig1In));
}
/** @internal */
exports.OneLte$outboundSchema = z.object({
    lte: z.number(),
});
function oneLteToJSON(oneLte) {
    return JSON.stringify(exports.OneLte$outboundSchema.parse(oneLte));
}
/** @internal */
exports.OneLt$outboundSchema = z.object({
    lt: z.number(),
});
function oneLtToJSON(oneLt) {
    return JSON.stringify(exports.OneLt$outboundSchema.parse(oneLt));
}
/** @internal */
exports.OneGte$outboundSchema = z.object({
    gte: z.number(),
});
function oneGteToJSON(oneGte) {
    return JSON.stringify(exports.OneGte$outboundSchema.parse(oneGte));
}
/** @internal */
exports.OneGt$outboundSchema = z.object({
    gt: z.number(),
});
function oneGtToJSON(oneGt) {
    return JSON.stringify(exports.OneGt$outboundSchema.parse(oneGt));
}
/** @internal */
exports.DeploymentGetConfig1DeploymentsNe$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
function deploymentGetConfig1DeploymentsNeToJSON(deploymentGetConfig1DeploymentsNe) {
    return JSON.stringify(exports.DeploymentGetConfig1DeploymentsNe$outboundSchema.parse(deploymentGetConfig1DeploymentsNe));
}
/** @internal */
exports.DeploymentGetConfig1Ne$outboundSchema = z.object({
    ne: z.union([z.string(), z.number(), z.boolean()]),
});
function deploymentGetConfig1NeToJSON(deploymentGetConfig1Ne) {
    return JSON.stringify(exports.DeploymentGetConfig1Ne$outboundSchema.parse(deploymentGetConfig1Ne));
}
/** @internal */
exports.DeploymentGetConfig1DeploymentsEq$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
function deploymentGetConfig1DeploymentsEqToJSON(deploymentGetConfig1DeploymentsEq) {
    return JSON.stringify(exports.DeploymentGetConfig1DeploymentsEq$outboundSchema.parse(deploymentGetConfig1DeploymentsEq));
}
/** @internal */
exports.DeploymentGetConfig1Eq$outboundSchema = z.object({
    eq: z.union([z.string(), z.number(), z.boolean()]),
});
function deploymentGetConfig1EqToJSON(deploymentGetConfig1Eq) {
    return JSON.stringify(exports.DeploymentGetConfig1Eq$outboundSchema.parse(deploymentGetConfig1Eq));
}
/** @internal */
exports.DeploymentGetConfigKnowledgeFilter1$outboundSchema = z.union([
    z.lazy(() => exports.DeploymentGetConfig1Eq$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfig1Ne$outboundSchema),
    z.lazy(() => exports.OneGt$outboundSchema),
    z.lazy(() => exports.OneGte$outboundSchema),
    z.lazy(() => exports.OneLt$outboundSchema),
    z.lazy(() => exports.OneLte$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfig1In$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfig1Nin$outboundSchema),
    z.lazy(() => exports.OneExists$outboundSchema),
]);
function deploymentGetConfigKnowledgeFilter1ToJSON(deploymentGetConfigKnowledgeFilter1) {
    return JSON.stringify(exports.DeploymentGetConfigKnowledgeFilter1$outboundSchema.parse(deploymentGetConfigKnowledgeFilter1));
}
/** @internal */
exports.DeploymentGetConfigKnowledgeFilter$outboundSchema = z.union([
    z.lazy(() => exports.DeploymentGetConfigKnowledgeFilterAnd$outboundSchema),
    z.lazy(() => exports.DeploymentGetConfigKnowledgeFilterOr$outboundSchema),
    z.record(z.union([
        z.lazy(() => exports.DeploymentGetConfig1Eq$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfig1Ne$outboundSchema),
        z.lazy(() => exports.OneGt$outboundSchema),
        z.lazy(() => exports.OneGte$outboundSchema),
        z.lazy(() => exports.OneLt$outboundSchema),
        z.lazy(() => exports.OneLte$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfig1In$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfig1Nin$outboundSchema),
        z.lazy(() => exports.OneExists$outboundSchema),
    ])),
]);
function deploymentGetConfigKnowledgeFilterToJSON(deploymentGetConfigKnowledgeFilter) {
    return JSON.stringify(exports.DeploymentGetConfigKnowledgeFilter$outboundSchema.parse(deploymentGetConfigKnowledgeFilter));
}
/** @internal */
exports.DeploymentGetConfigRequestBody$outboundSchema = z.object({
    key: z.string(),
    inputs: z.record(z.any()).optional(),
    context: z.record(z.any()).optional(),
    prefixMessages: z.array(z.union([
        z.lazy(() => exports.PrefixMessagesSystemMessage$outboundSchema),
        z.lazy(() => exports.PrefixMessagesDeveloperMessage$outboundSchema),
        z.lazy(() => exports.PrefixMessagesUserMessage$outboundSchema),
        z.lazy(() => exports.PrefixMessagesAssistantMessage$outboundSchema),
        z.lazy(() => exports.PrefixMessagesToolMessage$outboundSchema),
    ])).optional(),
    messages: z.array(z.union([
        z.lazy(() => exports.DeploymentGetConfigMessagesSystemMessage$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigMessagesDeveloperMessage$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigMessagesUserMessage$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigMessagesAssistantMessage$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigMessagesToolMessage$outboundSchema),
    ])).optional(),
    identity: components.PublicIdentity$outboundSchema.optional(),
    fileIds: z.array(z.string()).optional(),
    metadata: z.record(z.any()).optional(),
    extraParams: z.record(z.any()).optional(),
    documents: z.array(z.lazy(() => exports.DeploymentGetConfigDocuments$outboundSchema))
        .optional(),
    invokeOptions: z.lazy(() => exports.DeploymentGetConfigInvokeOptions$outboundSchema)
        .optional(),
    thread: z.lazy(() => exports.DeploymentGetConfigThread$outboundSchema).optional(),
    knowledgeFilter: z.union([
        z.lazy(() => exports.DeploymentGetConfigKnowledgeFilterAnd$outboundSchema),
        z.lazy(() => exports.DeploymentGetConfigKnowledgeFilterOr$outboundSchema),
        z.record(z.union([
            z.lazy(() => exports.DeploymentGetConfig1Eq$outboundSchema),
            z.lazy(() => exports.DeploymentGetConfig1Ne$outboundSchema),
            z.lazy(() => exports.OneGt$outboundSchema),
            z.lazy(() => exports.OneGte$outboundSchema),
            z.lazy(() => exports.OneLt$outboundSchema),
            z.lazy(() => exports.OneLte$outboundSchema),
            z.lazy(() => exports.DeploymentGetConfig1In$outboundSchema),
            z.lazy(() => exports.DeploymentGetConfig1Nin$outboundSchema),
            z.lazy(() => exports.OneExists$outboundSchema),
        ])),
    ]).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        prefixMessages: "prefix_messages",
        fileIds: "file_ids",
        extraParams: "extra_params",
        invokeOptions: "invoke_options",
        knowledgeFilter: "knowledge_filter",
    });
});
function deploymentGetConfigRequestBodyToJSON(deploymentGetConfigRequestBody) {
    return JSON.stringify(exports.DeploymentGetConfigRequestBody$outboundSchema.parse(deploymentGetConfigRequestBody));
}
/** @internal */
exports.DeploymentGetConfigType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigType);
/** @internal */
exports.DeploymentGetConfigRole$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigRole);
/** @internal */
exports.DeploymentGetConfig2File$inboundSchema = z.object({
    file_data: z.string().optional(),
    uri: z.string().optional(),
    mimeType: z.string().optional(),
    filename: z.string().optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "file_data": "fileData",
    });
});
function deploymentGetConfig2FileFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2File$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2File' from JSON`);
}
/** @internal */
exports.Two3$inboundSchema = z
    .object({
    type: z.literal("file"),
    file: z.lazy(() => exports.DeploymentGetConfig2File$inboundSchema),
});
function two3FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Two3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Two3' from JSON`);
}
/** @internal */
exports.TwoImageUrl$inboundSchema = z.object({
    id: z.string().optional(),
    url: z.string(),
    detail: z.string().optional(),
});
function twoImageUrlFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TwoImageUrl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwoImageUrl' from JSON`);
}
/** @internal */
exports.DeploymentGetConfig22$inboundSchema = z.object({
    type: z.literal("image_url"),
    image_url: z.lazy(() => exports.TwoImageUrl$inboundSchema),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "image_url": "imageUrl",
    });
});
function deploymentGetConfig22FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig22$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig22' from JSON`);
}
/** @internal */
exports.Two1$inboundSchema = z
    .object({
    type: z.literal("text"),
    text: z.string(),
});
function two1FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Two1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Two1' from JSON`);
}
/** @internal */
exports.DeploymentGetConfigContentDeploymentsResponse2$inboundSchema = z.union([
    z.lazy(() => exports.Two1$inboundSchema),
    z.lazy(() => exports.DeploymentGetConfig22$inboundSchema),
    z.lazy(() => exports.Two3$inboundSchema),
]);
function deploymentGetConfigContentDeploymentsResponse2FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContentDeploymentsResponse2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContentDeploymentsResponse2' from JSON`);
}
/** @internal */
exports.DeploymentGetConfigContent$inboundSchema = z.union([
    z.string(),
    z.array(z.union([
        z.lazy(() => exports.Two1$inboundSchema),
        z.lazy(() => exports.DeploymentGetConfig22$inboundSchema),
        z.lazy(() => exports.Two3$inboundSchema),
    ])),
]);
function deploymentGetConfigContentFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContent' from JSON`);
}
/** @internal */
exports.DeploymentGetConfigDeploymentsResponseType$inboundSchema = z
    .nativeEnum(exports.DeploymentGetConfigDeploymentsResponseType);
/** @internal */
exports.DeploymentGetConfigDeploymentsFunction$inboundSchema = z.object({
    name: z.string(),
    arguments: z.string(),
});
function deploymentGetConfigDeploymentsFunctionFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigDeploymentsFunction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigDeploymentsFunction' from JSON`);
}
/** @internal */
exports.DeploymentGetConfigToolCalls$inboundSchema = z.object({
    id: z.string().optional(),
    index: z.number().optional(),
    type: exports.DeploymentGetConfigDeploymentsResponseType$inboundSchema,
    function: z.lazy(() => exports.DeploymentGetConfigDeploymentsFunction$inboundSchema),
});
function deploymentGetConfigToolCallsFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigToolCalls$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigToolCalls' from JSON`);
}
/** @internal */
exports.DeploymentGetConfigDeploymentsMessages$inboundSchema = z.object({
    role: exports.DeploymentGetConfigRole$inboundSchema,
    content: z.nullable(z.union([
        z.string(),
        z.array(z.union([
            z.lazy(() => exports.Two1$inboundSchema),
            z.lazy(() => exports.DeploymentGetConfig22$inboundSchema),
            z.lazy(() => exports.Two3$inboundSchema),
        ])),
    ])),
    tool_calls: z.array(z.lazy(() => exports.DeploymentGetConfigToolCalls$inboundSchema))
        .optional(),
    tool_call_id: z.nullable(z.string()).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "tool_calls": "toolCalls",
        "tool_call_id": "toolCallId",
    });
});
function deploymentGetConfigDeploymentsMessagesFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigDeploymentsMessages$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigDeploymentsMessages' from JSON`);
}
/** @internal */
exports.DeploymentGetConfigFormat$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigFormat);
/** @internal */
exports.ResponseFormat6$inboundSchema = z.nativeEnum(exports.ResponseFormat6);
/** @internal */
exports.ResponseFormat5$inboundSchema = z.nativeEnum(exports.ResponseFormat5);
/** @internal */
exports.ResponseFormat4$inboundSchema = z.nativeEnum(exports.ResponseFormat4);
/** @internal */
exports.DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema = z
    .nativeEnum(exports.DeploymentGetConfigResponseFormatDeploymentsType);
/** @internal */
exports.ResponseFormat3$inboundSchema = z.object({
    type: exports.DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema,
});
function responseFormat3FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResponseFormat3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponseFormat3' from JSON`);
}
/** @internal */
exports.DeploymentGetConfigResponseFormatType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigResponseFormatType);
/** @internal */
exports.ResponseFormat2$inboundSchema = z.object({
    type: exports.DeploymentGetConfigResponseFormatType$inboundSchema,
});
function responseFormat2FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResponseFormat2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponseFormat2' from JSON`);
}
/** @internal */
exports.DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigResponseFormatDeploymentsResponseType);
/** @internal */
exports.DeploymentGetConfigResponseFormatJsonSchema$inboundSchema = z.object({
    name: z.string(),
    description: z.string().optional(),
    strict: z.boolean().optional(),
    schema: z.record(z.any()),
});
function deploymentGetConfigResponseFormatJsonSchemaFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigResponseFormatJsonSchema$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigResponseFormatJsonSchema' from JSON`);
}
/** @internal */
exports.ResponseFormat1$inboundSchema = z.object({
    type: exports.DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema,
    display_name: z.string().optional(),
    json_schema: z.lazy(() => exports.DeploymentGetConfigResponseFormatJsonSchema$inboundSchema),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "display_name": "displayName",
        "json_schema": "jsonSchema",
    });
});
function responseFormat1FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResponseFormat1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponseFormat1' from JSON`);
}
/** @internal */
exports.DeploymentGetConfigResponseFormat$inboundSchema = z.union([
    z.lazy(() => exports.ResponseFormat1$inboundSchema),
    z.lazy(() => exports.ResponseFormat2$inboundSchema),
    z.lazy(() => exports.ResponseFormat3$inboundSchema),
    exports.ResponseFormat4$inboundSchema,
    exports.ResponseFormat5$inboundSchema,
    exports.ResponseFormat6$inboundSchema,
]);
function deploymentGetConfigResponseFormatFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigResponseFormat$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigResponseFormat' from JSON`);
}
/** @internal */
exports.PhotoRealVersion$inboundSchema = z.nativeEnum(exports.PhotoRealVersion);
/** @internal */
exports.DeploymentGetConfigEncodingFormat$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigEncodingFormat);
/** @internal */
exports.DeploymentGetConfigReasoningEffort$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigReasoningEffort);
/** @internal */
exports.DeploymentGetConfigVerbosity$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigVerbosity);
/** @internal */
exports.ThinkingLevel$inboundSchema = z.nativeEnum(exports.ThinkingLevel);
/** @internal */
exports.DeploymentGetConfigParameters$inboundSchema = z.object({
    temperature: z.number().optional(),
    maxTokens: z.number().optional(),
    topK: z.number().optional(),
    topP: z.number().optional(),
    frequencyPenalty: z.number().optional(),
    presencePenalty: z.number().optional(),
    numImages: z.number().optional(),
    seed: z.number().optional(),
    format: exports.DeploymentGetConfigFormat$inboundSchema.optional(),
    dimensions: z.string().optional(),
    quality: z.string().optional(),
    style: z.string().optional(),
    responseFormat: z.nullable(z.union([
        z.lazy(() => exports.ResponseFormat1$inboundSchema),
        z.lazy(() => exports.ResponseFormat2$inboundSchema),
        z.lazy(() => exports.ResponseFormat3$inboundSchema),
        exports.ResponseFormat4$inboundSchema,
        exports.ResponseFormat5$inboundSchema,
        exports.ResponseFormat6$inboundSchema,
    ])).optional(),
    photoRealVersion: exports.PhotoRealVersion$inboundSchema.optional(),
    encoding_format: exports.DeploymentGetConfigEncodingFormat$inboundSchema.optional(),
    reasoningEffort: exports.DeploymentGetConfigReasoningEffort$inboundSchema.optional(),
    budgetTokens: z.number().optional(),
    verbosity: exports.DeploymentGetConfigVerbosity$inboundSchema.optional(),
    thinkingLevel: exports.ThinkingLevel$inboundSchema.optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "encoding_format": "encodingFormat",
    });
});
function deploymentGetConfigParametersFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigParameters$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigParameters' from JSON`);
}
/** @internal */
exports.DeploymentGetConfigDeploymentsType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigDeploymentsType);
/** @internal */
exports.DeploymentGetConfigFunction$inboundSchema = z.object({
    name: z.string(),
    description: z.string().optional(),
    parameters: z.record(z.any()).optional(),
});
function deploymentGetConfigFunctionFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigFunction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigFunction' from JSON`);
}
/** @internal */
exports.DeploymentGetConfigTools$inboundSchema = z.object({
    type: exports.DeploymentGetConfigDeploymentsType$inboundSchema,
    function: z.lazy(() => exports.DeploymentGetConfigFunction$inboundSchema),
});
function deploymentGetConfigToolsFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigTools$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigTools' from JSON`);
}
/** @internal */
exports.DeploymentGetConfigResponseBody$inboundSchema = z.object({
    id: z.string(),
    provider: z.string(),
    model: z.string(),
    type: exports.DeploymentGetConfigType$inboundSchema.optional(),
    version: z.string(),
    messages: z.array(z.lazy(() => exports.DeploymentGetConfigDeploymentsMessages$inboundSchema)),
    parameters: z.lazy(() => exports.DeploymentGetConfigParameters$inboundSchema),
    tools: z.array(z.lazy(() => exports.DeploymentGetConfigTools$inboundSchema))
        .optional(),
});
function deploymentGetConfigResponseBodyFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigResponseBody' from JSON`);
}
//# sourceMappingURL=deploymentgetconfig.js.map