"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.ModelMetadata$outboundSchema = exports.ModelMetadata$inboundSchema = void 0;
exports.modelMetadataToJSON = modelMetadataToJSON;
exports.modelMetadataFromJSON = modelMetadataFromJSON;
const z = __importStar(require("zod/v3"));
const primitives_js_1 = require("../../lib/primitives.js");
const schemas_js_1 = require("../../lib/schemas.js");
const autorouterconfig_js_1 = require("./autorouterconfig.js");
const pricing_js_1 = require("./pricing.js");
/** @internal */
exports.ModelMetadata$inboundSchema = z.object({
    allowed_passthrough_parameters: z.nullable(z.array(z.string())).optional(),
    autorouter: autorouterconfig_js_1.AutoRouterConfig$inboundSchema.optional(),
    cached_image_input_cost: z.number().optional(),
    cached_input_cost: z.number().optional(),
    chain_of_thought: z.boolean().optional(),
    context_length: z.number().int().optional(),
    context_window: z.number().int().optional(),
    cost_efficiency_rating: z.number().int().optional(),
    cost_per_image: z.number().optional(),
    deprecation_date: z.string().optional(),
    embedding_dimensions: z.number().int().optional(),
    extended_context_pricing_mode: z.string().optional(),
    extended_context_threshold: z.number().int().optional(),
    generate_audio: z.boolean().optional(),
    image_input_cost: z.number().optional(),
    image_output_cost: z.number().optional(),
    image_token_cost: z.number().optional(),
    intelligence_rating: z.number().int().optional(),
    is_private: z.boolean(),
    is_realtime: z.boolean().optional(),
    knowledge_cutoff: z.string().optional(),
    max_images_per_request: z.number().int().optional(),
    max_input_tokens: z.number().int().optional(),
    max_output_tokens: z.number().int().optional(),
    million_searches_cost: z.number().optional(),
    million_tokens_above_128k_cache_read_cost: z.number().optional(),
    million_tokens_above_128k_cache_write_cost: z.number().optional(),
    million_tokens_above_128k_input_cost: z.number().optional(),
    million_tokens_above_128k_output_cost: z.number().optional(),
    million_tokens_above_200k_cache_read_cost: z.number().optional(),
    million_tokens_above_200k_cache_write_cost: z.number().optional(),
    million_tokens_above_200k_input_cost: z.number().optional(),
    million_tokens_above_200k_output_cost: z.number().optional(),
    million_tokens_audio_input_cost: z.number().optional(),
    million_tokens_audio_output_cost: z.number().optional(),
    million_tokens_batches_input_cost: z.number().optional(),
    million_tokens_batches_output_cost: z.number().optional(),
    million_tokens_cache_read_cost: z.number().optional(),
    million_tokens_cache_write_1h_cost: z.number().optional(),
    million_tokens_cache_write_5m_cost: z.number().optional(),
    million_tokens_cache_write_cost: z.number().optional(),
    million_tokens_input_cost: z.number().optional(),
    million_tokens_output_cost: z.number().optional(),
    million_tokens_reasoning_cost: z.number().optional(),
    multilingual: z.boolean().optional(),
    offline: z.boolean().optional(),
    per_video_second_cost: z.number().optional(),
    per_video_second_cost_1080p: z.number().optional(),
    pricing: pricing_js_1.Pricing$inboundSchema.optional(),
    reasoning_cost: z.number().optional(),
    reasoning_tokens: z.number().int().optional(),
    region: z.string().optional(),
    speed_rating: z.number().int().optional(),
    supported_video_aspect_ratios: z.nullable(z.array(z.string())).optional(),
    supported_video_durations: z.nullable(z.array(z.number().int())).optional(),
    supported_video_frame_images: z.nullable(z.array(z.string())).optional(),
    supported_video_resolutions: z.nullable(z.array(z.string())).optional(),
    supported_video_sizes: z.nullable(z.array(z.string())).optional(),
    supports_adaptive_reasoning: z.boolean().optional(),
    supports_audio_input: z.boolean().optional(),
    supports_audio_output: z.boolean().optional(),
    supports_b64_json_response_format: z.boolean().optional(),
    supports_batch_api: z.boolean().optional(),
    supports_citations: z.boolean().optional(),
    supports_code_execution: z.boolean().optional(),
    supports_commercial_use: z.boolean().optional(),
    supports_computer_use: z.boolean().optional(),
    supports_developer_message: z.boolean().optional(),
    supports_direct_cost: z.boolean().optional(),
    supports_distillation: z.boolean().optional(),
    supports_extended_thinking: z.boolean().optional(),
    supports_fine_tuning: z.boolean().optional(),
    supports_image_edit: z.boolean().optional(),
    supports_image_input: z.boolean().optional(),
    supports_image_output: z.boolean().optional(),
    supports_images: z.boolean().optional(),
    supports_json_mode_response_format: z.boolean().optional(),
    supports_json_schema_response_format: z.boolean().optional(),
    supports_max_completion_tokens: z.boolean().optional(),
    supports_openai_sdk: z.boolean().optional(),
    supports_parallel_tool_calls: z.boolean().optional(),
    supports_pdf_input: z.boolean().optional(),
    supports_prompt_caching: z.boolean().optional(),
    supports_reasoning: z.boolean().optional(),
    supports_reasoning_effort_default: z.boolean().optional(),
    supports_reasoning_effort_high: z.boolean().optional(),
    supports_reasoning_effort_low: z.boolean().optional(),
    supports_reasoning_effort_max: z.boolean().optional(),
    supports_reasoning_effort_medium: z.boolean().optional(),
    supports_reasoning_effort_minimal: z.boolean().optional(),
    supports_reasoning_effort_none: z.boolean().optional(),
    supports_reasoning_effort_xhigh: z.boolean().optional(),
    supports_responses_api: z.boolean().optional(),
    supports_sampling_params: z.boolean().optional(),
    supports_streaming: z.boolean().optional(),
    supports_strict_tool: z.boolean().optional(),
    supports_structured_outputs: z.boolean().optional(),
    supports_system_message: z.boolean().optional(),
    supports_text: z.boolean().optional(),
    supports_text_input: z.boolean().optional(),
    supports_text_output: z.boolean().optional(),
    supports_tool_calling: z.boolean().optional(),
    supports_tool_choice: z.boolean().optional(),
    supports_url_context: z.boolean().optional(),
    supports_url_response_format: z.boolean().optional(),
    supports_video_input: z.boolean().optional(),
    supports_video_output: z.boolean().optional(),
    supports_video_seed: z.boolean().optional(),
    supports_vision: z.boolean().optional(),
    supports_web_search: z.boolean().optional(),
    supports_zdr: z.boolean().optional(),
    thinking_enforced: z.boolean().optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "allowed_passthrough_parameters": "allowedPassthroughParameters",
        "cached_image_input_cost": "cachedImageInputCost",
        "cached_input_cost": "cachedInputCost",
        "chain_of_thought": "chainOfThought",
        "context_length": "contextLength",
        "context_window": "contextWindow",
        "cost_efficiency_rating": "costEfficiencyRating",
        "cost_per_image": "costPerImage",
        "deprecation_date": "deprecationDate",
        "embedding_dimensions": "embeddingDimensions",
        "extended_context_pricing_mode": "extendedContextPricingMode",
        "extended_context_threshold": "extendedContextThreshold",
        "generate_audio": "generateAudio",
        "image_input_cost": "imageInputCost",
        "image_output_cost": "imageOutputCost",
        "image_token_cost": "imageTokenCost",
        "intelligence_rating": "intelligenceRating",
        "is_private": "isPrivate",
        "is_realtime": "isRealtime",
        "knowledge_cutoff": "knowledgeCutoff",
        "max_images_per_request": "maxImagesPerRequest",
        "max_input_tokens": "maxInputTokens",
        "max_output_tokens": "maxOutputTokens",
        "million_searches_cost": "millionSearchesCost",
        "million_tokens_above_128k_cache_read_cost": "millionTokensAbove128kCacheReadCost",
        "million_tokens_above_128k_cache_write_cost": "millionTokensAbove128kCacheWriteCost",
        "million_tokens_above_128k_input_cost": "millionTokensAbove128kInputCost",
        "million_tokens_above_128k_output_cost": "millionTokensAbove128kOutputCost",
        "million_tokens_above_200k_cache_read_cost": "millionTokensAbove200kCacheReadCost",
        "million_tokens_above_200k_cache_write_cost": "millionTokensAbove200kCacheWriteCost",
        "million_tokens_above_200k_input_cost": "millionTokensAbove200kInputCost",
        "million_tokens_above_200k_output_cost": "millionTokensAbove200kOutputCost",
        "million_tokens_audio_input_cost": "millionTokensAudioInputCost",
        "million_tokens_audio_output_cost": "millionTokensAudioOutputCost",
        "million_tokens_batches_input_cost": "millionTokensBatchesInputCost",
        "million_tokens_batches_output_cost": "millionTokensBatchesOutputCost",
        "million_tokens_cache_read_cost": "millionTokensCacheReadCost",
        "million_tokens_cache_write_1h_cost": "millionTokensCacheWrite1hCost",
        "million_tokens_cache_write_5m_cost": "millionTokensCacheWrite5mCost",
        "million_tokens_cache_write_cost": "millionTokensCacheWriteCost",
        "million_tokens_input_cost": "millionTokensInputCost",
        "million_tokens_output_cost": "millionTokensOutputCost",
        "million_tokens_reasoning_cost": "millionTokensReasoningCost",
        "per_video_second_cost": "perVideoSecondCost",
        "per_video_second_cost_1080p": "perVideoSecondCost1080p",
        "reasoning_cost": "reasoningCost",
        "reasoning_tokens": "reasoningTokens",
        "speed_rating": "speedRating",
        "supported_video_aspect_ratios": "supportedVideoAspectRatios",
        "supported_video_durations": "supportedVideoDurations",
        "supported_video_frame_images": "supportedVideoFrameImages",
        "supported_video_resolutions": "supportedVideoResolutions",
        "supported_video_sizes": "supportedVideoSizes",
        "supports_adaptive_reasoning": "supportsAdaptiveReasoning",
        "supports_audio_input": "supportsAudioInput",
        "supports_audio_output": "supportsAudioOutput",
        "supports_b64_json_response_format": "supportsB64JsonResponseFormat",
        "supports_batch_api": "supportsBatchApi",
        "supports_citations": "supportsCitations",
        "supports_code_execution": "supportsCodeExecution",
        "supports_commercial_use": "supportsCommercialUse",
        "supports_computer_use": "supportsComputerUse",
        "supports_developer_message": "supportsDeveloperMessage",
        "supports_direct_cost": "supportsDirectCost",
        "supports_distillation": "supportsDistillation",
        "supports_extended_thinking": "supportsExtendedThinking",
        "supports_fine_tuning": "supportsFineTuning",
        "supports_image_edit": "supportsImageEdit",
        "supports_image_input": "supportsImageInput",
        "supports_image_output": "supportsImageOutput",
        "supports_images": "supportsImages",
        "supports_json_mode_response_format": "supportsJsonModeResponseFormat",
        "supports_json_schema_response_format": "supportsJsonSchemaResponseFormat",
        "supports_max_completion_tokens": "supportsMaxCompletionTokens",
        "supports_openai_sdk": "supportsOpenaiSDK",
        "supports_parallel_tool_calls": "supportsParallelToolCalls",
        "supports_pdf_input": "supportsPdfInput",
        "supports_prompt_caching": "supportsPromptCaching",
        "supports_reasoning": "supportsReasoning",
        "supports_reasoning_effort_default": "supportsReasoningEffortDefault",
        "supports_reasoning_effort_high": "supportsReasoningEffortHigh",
        "supports_reasoning_effort_low": "supportsReasoningEffortLow",
        "supports_reasoning_effort_max": "supportsReasoningEffortMax",
        "supports_reasoning_effort_medium": "supportsReasoningEffortMedium",
        "supports_reasoning_effort_minimal": "supportsReasoningEffortMinimal",
        "supports_reasoning_effort_none": "supportsReasoningEffortNone",
        "supports_reasoning_effort_xhigh": "supportsReasoningEffortXhigh",
        "supports_responses_api": "supportsResponsesApi",
        "supports_sampling_params": "supportsSamplingParams",
        "supports_streaming": "supportsStreaming",
        "supports_strict_tool": "supportsStrictTool",
        "supports_structured_outputs": "supportsStructuredOutputs",
        "supports_system_message": "supportsSystemMessage",
        "supports_text": "supportsText",
        "supports_text_input": "supportsTextInput",
        "supports_text_output": "supportsTextOutput",
        "supports_tool_calling": "supportsToolCalling",
        "supports_tool_choice": "supportsToolChoice",
        "supports_url_context": "supportsUrlContext",
        "supports_url_response_format": "supportsUrlResponseFormat",
        "supports_video_input": "supportsVideoInput",
        "supports_video_output": "supportsVideoOutput",
        "supports_video_seed": "supportsVideoSeed",
        "supports_vision": "supportsVision",
        "supports_web_search": "supportsWebSearch",
        "supports_zdr": "supportsZdr",
        "thinking_enforced": "thinkingEnforced",
    });
});
/** @internal */
exports.ModelMetadata$outboundSchema = z.object({
    allowedPassthroughParameters: z.nullable(z.array(z.string())).optional(),
    autorouter: autorouterconfig_js_1.AutoRouterConfig$outboundSchema.optional(),
    cachedImageInputCost: z.number().optional(),
    cachedInputCost: z.number().optional(),
    chainOfThought: z.boolean().optional(),
    contextLength: z.number().int().optional(),
    contextWindow: z.number().int().optional(),
    costEfficiencyRating: z.number().int().optional(),
    costPerImage: z.number().optional(),
    deprecationDate: z.string().optional(),
    embeddingDimensions: z.number().int().optional(),
    extendedContextPricingMode: z.string().optional(),
    extendedContextThreshold: z.number().int().optional(),
    generateAudio: z.boolean().optional(),
    imageInputCost: z.number().optional(),
    imageOutputCost: z.number().optional(),
    imageTokenCost: z.number().optional(),
    intelligenceRating: z.number().int().optional(),
    isPrivate: z.boolean(),
    isRealtime: z.boolean().optional(),
    knowledgeCutoff: z.string().optional(),
    maxImagesPerRequest: z.number().int().optional(),
    maxInputTokens: z.number().int().optional(),
    maxOutputTokens: z.number().int().optional(),
    millionSearchesCost: z.number().optional(),
    millionTokensAbove128kCacheReadCost: z.number().optional(),
    millionTokensAbove128kCacheWriteCost: z.number().optional(),
    millionTokensAbove128kInputCost: z.number().optional(),
    millionTokensAbove128kOutputCost: z.number().optional(),
    millionTokensAbove200kCacheReadCost: z.number().optional(),
    millionTokensAbove200kCacheWriteCost: z.number().optional(),
    millionTokensAbove200kInputCost: z.number().optional(),
    millionTokensAbove200kOutputCost: z.number().optional(),
    millionTokensAudioInputCost: z.number().optional(),
    millionTokensAudioOutputCost: z.number().optional(),
    millionTokensBatchesInputCost: z.number().optional(),
    millionTokensBatchesOutputCost: z.number().optional(),
    millionTokensCacheReadCost: z.number().optional(),
    millionTokensCacheWrite1hCost: z.number().optional(),
    millionTokensCacheWrite5mCost: z.number().optional(),
    millionTokensCacheWriteCost: z.number().optional(),
    millionTokensInputCost: z.number().optional(),
    millionTokensOutputCost: z.number().optional(),
    millionTokensReasoningCost: z.number().optional(),
    multilingual: z.boolean().optional(),
    offline: z.boolean().optional(),
    perVideoSecondCost: z.number().optional(),
    perVideoSecondCost1080p: z.number().optional(),
    pricing: pricing_js_1.Pricing$outboundSchema.optional(),
    reasoningCost: z.number().optional(),
    reasoningTokens: z.number().int().optional(),
    region: z.string().optional(),
    speedRating: z.number().int().optional(),
    supportedVideoAspectRatios: z.nullable(z.array(z.string())).optional(),
    supportedVideoDurations: z.nullable(z.array(z.number().int())).optional(),
    supportedVideoFrameImages: z.nullable(z.array(z.string())).optional(),
    supportedVideoResolutions: z.nullable(z.array(z.string())).optional(),
    supportedVideoSizes: z.nullable(z.array(z.string())).optional(),
    supportsAdaptiveReasoning: z.boolean().optional(),
    supportsAudioInput: z.boolean().optional(),
    supportsAudioOutput: z.boolean().optional(),
    supportsB64JsonResponseFormat: z.boolean().optional(),
    supportsBatchApi: z.boolean().optional(),
    supportsCitations: z.boolean().optional(),
    supportsCodeExecution: z.boolean().optional(),
    supportsCommercialUse: z.boolean().optional(),
    supportsComputerUse: z.boolean().optional(),
    supportsDeveloperMessage: z.boolean().optional(),
    supportsDirectCost: z.boolean().optional(),
    supportsDistillation: z.boolean().optional(),
    supportsExtendedThinking: z.boolean().optional(),
    supportsFineTuning: z.boolean().optional(),
    supportsImageEdit: z.boolean().optional(),
    supportsImageInput: z.boolean().optional(),
    supportsImageOutput: z.boolean().optional(),
    supportsImages: z.boolean().optional(),
    supportsJsonModeResponseFormat: z.boolean().optional(),
    supportsJsonSchemaResponseFormat: z.boolean().optional(),
    supportsMaxCompletionTokens: z.boolean().optional(),
    supportsOpenaiSDK: z.boolean().optional(),
    supportsParallelToolCalls: z.boolean().optional(),
    supportsPdfInput: z.boolean().optional(),
    supportsPromptCaching: z.boolean().optional(),
    supportsReasoning: z.boolean().optional(),
    supportsReasoningEffortDefault: z.boolean().optional(),
    supportsReasoningEffortHigh: z.boolean().optional(),
    supportsReasoningEffortLow: z.boolean().optional(),
    supportsReasoningEffortMax: z.boolean().optional(),
    supportsReasoningEffortMedium: z.boolean().optional(),
    supportsReasoningEffortMinimal: z.boolean().optional(),
    supportsReasoningEffortNone: z.boolean().optional(),
    supportsReasoningEffortXhigh: z.boolean().optional(),
    supportsResponsesApi: z.boolean().optional(),
    supportsSamplingParams: z.boolean().optional(),
    supportsStreaming: z.boolean().optional(),
    supportsStrictTool: z.boolean().optional(),
    supportsStructuredOutputs: z.boolean().optional(),
    supportsSystemMessage: z.boolean().optional(),
    supportsText: z.boolean().optional(),
    supportsTextInput: z.boolean().optional(),
    supportsTextOutput: z.boolean().optional(),
    supportsToolCalling: z.boolean().optional(),
    supportsToolChoice: z.boolean().optional(),
    supportsUrlContext: z.boolean().optional(),
    supportsUrlResponseFormat: z.boolean().optional(),
    supportsVideoInput: z.boolean().optional(),
    supportsVideoOutput: z.boolean().optional(),
    supportsVideoSeed: z.boolean().optional(),
    supportsVision: z.boolean().optional(),
    supportsWebSearch: z.boolean().optional(),
    supportsZdr: z.boolean().optional(),
    thinkingEnforced: z.boolean().optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        allowedPassthroughParameters: "allowed_passthrough_parameters",
        cachedImageInputCost: "cached_image_input_cost",
        cachedInputCost: "cached_input_cost",
        chainOfThought: "chain_of_thought",
        contextLength: "context_length",
        contextWindow: "context_window",
        costEfficiencyRating: "cost_efficiency_rating",
        costPerImage: "cost_per_image",
        deprecationDate: "deprecation_date",
        embeddingDimensions: "embedding_dimensions",
        extendedContextPricingMode: "extended_context_pricing_mode",
        extendedContextThreshold: "extended_context_threshold",
        generateAudio: "generate_audio",
        imageInputCost: "image_input_cost",
        imageOutputCost: "image_output_cost",
        imageTokenCost: "image_token_cost",
        intelligenceRating: "intelligence_rating",
        isPrivate: "is_private",
        isRealtime: "is_realtime",
        knowledgeCutoff: "knowledge_cutoff",
        maxImagesPerRequest: "max_images_per_request",
        maxInputTokens: "max_input_tokens",
        maxOutputTokens: "max_output_tokens",
        millionSearchesCost: "million_searches_cost",
        millionTokensAbove128kCacheReadCost: "million_tokens_above_128k_cache_read_cost",
        millionTokensAbove128kCacheWriteCost: "million_tokens_above_128k_cache_write_cost",
        millionTokensAbove128kInputCost: "million_tokens_above_128k_input_cost",
        millionTokensAbove128kOutputCost: "million_tokens_above_128k_output_cost",
        millionTokensAbove200kCacheReadCost: "million_tokens_above_200k_cache_read_cost",
        millionTokensAbove200kCacheWriteCost: "million_tokens_above_200k_cache_write_cost",
        millionTokensAbove200kInputCost: "million_tokens_above_200k_input_cost",
        millionTokensAbove200kOutputCost: "million_tokens_above_200k_output_cost",
        millionTokensAudioInputCost: "million_tokens_audio_input_cost",
        millionTokensAudioOutputCost: "million_tokens_audio_output_cost",
        millionTokensBatchesInputCost: "million_tokens_batches_input_cost",
        millionTokensBatchesOutputCost: "million_tokens_batches_output_cost",
        millionTokensCacheReadCost: "million_tokens_cache_read_cost",
        millionTokensCacheWrite1hCost: "million_tokens_cache_write_1h_cost",
        millionTokensCacheWrite5mCost: "million_tokens_cache_write_5m_cost",
        millionTokensCacheWriteCost: "million_tokens_cache_write_cost",
        millionTokensInputCost: "million_tokens_input_cost",
        millionTokensOutputCost: "million_tokens_output_cost",
        millionTokensReasoningCost: "million_tokens_reasoning_cost",
        perVideoSecondCost: "per_video_second_cost",
        perVideoSecondCost1080p: "per_video_second_cost_1080p",
        reasoningCost: "reasoning_cost",
        reasoningTokens: "reasoning_tokens",
        speedRating: "speed_rating",
        supportedVideoAspectRatios: "supported_video_aspect_ratios",
        supportedVideoDurations: "supported_video_durations",
        supportedVideoFrameImages: "supported_video_frame_images",
        supportedVideoResolutions: "supported_video_resolutions",
        supportedVideoSizes: "supported_video_sizes",
        supportsAdaptiveReasoning: "supports_adaptive_reasoning",
        supportsAudioInput: "supports_audio_input",
        supportsAudioOutput: "supports_audio_output",
        supportsB64JsonResponseFormat: "supports_b64_json_response_format",
        supportsBatchApi: "supports_batch_api",
        supportsCitations: "supports_citations",
        supportsCodeExecution: "supports_code_execution",
        supportsCommercialUse: "supports_commercial_use",
        supportsComputerUse: "supports_computer_use",
        supportsDeveloperMessage: "supports_developer_message",
        supportsDirectCost: "supports_direct_cost",
        supportsDistillation: "supports_distillation",
        supportsExtendedThinking: "supports_extended_thinking",
        supportsFineTuning: "supports_fine_tuning",
        supportsImageEdit: "supports_image_edit",
        supportsImageInput: "supports_image_input",
        supportsImageOutput: "supports_image_output",
        supportsImages: "supports_images",
        supportsJsonModeResponseFormat: "supports_json_mode_response_format",
        supportsJsonSchemaResponseFormat: "supports_json_schema_response_format",
        supportsMaxCompletionTokens: "supports_max_completion_tokens",
        supportsOpenaiSDK: "supports_openai_sdk",
        supportsParallelToolCalls: "supports_parallel_tool_calls",
        supportsPdfInput: "supports_pdf_input",
        supportsPromptCaching: "supports_prompt_caching",
        supportsReasoning: "supports_reasoning",
        supportsReasoningEffortDefault: "supports_reasoning_effort_default",
        supportsReasoningEffortHigh: "supports_reasoning_effort_high",
        supportsReasoningEffortLow: "supports_reasoning_effort_low",
        supportsReasoningEffortMax: "supports_reasoning_effort_max",
        supportsReasoningEffortMedium: "supports_reasoning_effort_medium",
        supportsReasoningEffortMinimal: "supports_reasoning_effort_minimal",
        supportsReasoningEffortNone: "supports_reasoning_effort_none",
        supportsReasoningEffortXhigh: "supports_reasoning_effort_xhigh",
        supportsResponsesApi: "supports_responses_api",
        supportsSamplingParams: "supports_sampling_params",
        supportsStreaming: "supports_streaming",
        supportsStrictTool: "supports_strict_tool",
        supportsStructuredOutputs: "supports_structured_outputs",
        supportsSystemMessage: "supports_system_message",
        supportsText: "supports_text",
        supportsTextInput: "supports_text_input",
        supportsTextOutput: "supports_text_output",
        supportsToolCalling: "supports_tool_calling",
        supportsToolChoice: "supports_tool_choice",
        supportsUrlContext: "supports_url_context",
        supportsUrlResponseFormat: "supports_url_response_format",
        supportsVideoInput: "supports_video_input",
        supportsVideoOutput: "supports_video_output",
        supportsVideoSeed: "supports_video_seed",
        supportsVision: "supports_vision",
        supportsWebSearch: "supports_web_search",
        supportsZdr: "supports_zdr",
        thinkingEnforced: "thinking_enforced",
    });
});
function modelMetadataToJSON(modelMetadata) {
    return JSON.stringify(exports.ModelMetadata$outboundSchema.parse(modelMetadata));
}
function modelMetadataFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ModelMetadata$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ModelMetadata' from JSON`);
}
//# sourceMappingURL=modelmetadata.js.map