import * as z from "zod/v4"; import { OpenEnum } from "../types/enums.js"; import { PrivateEndpointQuantization } from "./privateendpointquantization.js"; import { PrivateEndpointReasoningReturnMechanism } from "./privateendpointreasoningreturnmechanism.js"; import { UpdatePrivateEndpointPromptCaching, UpdatePrivateEndpointPromptCaching$Outbound } from "./updateprivateendpointpromptcaching.js"; export type UpdatePrivateEndpointSettingsRequestCompletions = { /** * Serves `/chat/completions`; `null` uses the provider default. */ chat?: boolean | null | undefined; /** * Serves `/completions`; `null` uses the provider default. */ text?: boolean | null | undefined; }; export declare const UpdatePrivateEndpointSettingsRequestExcludedParameter: { readonly Temperature: "temperature"; readonly TopP: "top_p"; readonly TopK: "top_k"; readonly MinP: "min_p"; readonly TopA: "top_a"; readonly FrequencyPenalty: "frequency_penalty"; readonly PresencePenalty: "presence_penalty"; readonly RepetitionPenalty: "repetition_penalty"; readonly MaxTokens: "max_tokens"; readonly MaxCompletionTokens: "max_completion_tokens"; readonly LogitBias: "logit_bias"; readonly Logprobs: "logprobs"; readonly TopLogprobs: "top_logprobs"; readonly Prediction: "prediction"; readonly Seed: "seed"; readonly ResponseFormat: "response_format"; readonly StructuredOutputs: "structured_outputs"; readonly StrictToolSchemas: "strict_tool_schemas"; readonly Stop: "stop"; readonly Tools: "tools"; readonly ToolChoice: "tool_choice"; readonly ParallelToolCalls: "parallel_tool_calls"; readonly IncludeReasoning: "include_reasoning"; readonly Reasoning: "reasoning"; readonly ReasoningEffort: "reasoning_effort"; readonly WebSearchOptions: "web_search_options"; readonly Verbosity: "verbosity"; }; export type UpdatePrivateEndpointSettingsRequestExcludedParameter = OpenEnum; export type UpdatePrivateEndpointSettingsRequestInputs = { /** * Accepts audio input. `null` keeps the provider default. */ audio?: boolean | null | undefined; /** * Accepts base64 file data. `null` keeps the provider default. */ base64Files?: boolean | null | undefined; /** * Accepts base64 image data. `null` keeps the provider default. */ base64Images?: boolean | null | undefined; /** * Accepts file URLs. `null` keeps the provider default. */ fileUrls?: boolean | null | undefined; /** * Accepts image URLs. `null` keeps the provider default. */ imageUrls?: boolean | null | undefined; }; export type UpdatePrivateEndpointSettingsRequestReasoning = { /** * Where the upstream puts reasoning tokens in its response: `reasoning` and `reasoning-content` are response fields, `content-string` is inline in the message, `none` returns no reasoning. `null` uses the provider default. */ returnMechanism?: PrivateEndpointReasoningReturnMechanism | null | undefined; /** * Whether requests with `reasoning` route to this endpoint. */ supported?: boolean | undefined; }; export type UpdatePrivateEndpointSettingsRequestToolChoice = { /** * Accepts `tool_choice: "auto"`. */ auto?: boolean | undefined; /** * Accepts a named function in `tool_choice`. */ function?: boolean | undefined; /** * Accepts `tool_choice: "none"`. */ none?: boolean | undefined; /** * Accepts `tool_choice: "required"`. */ required?: boolean | undefined; }; /** * Capabilities and limits to set over the ones copied from the public endpoint for this model and provider (or from the model). Omitted fields keep the copied values. */ export type UpdatePrivateEndpointSettingsRequest = { completions?: UpdatePrivateEndpointSettingsRequestCompletions | undefined; /** * Longest prompt plus completion, in tokens, or `null` to keep the model default. */ contextLength?: number | null | undefined; /** * Request parameters the upstream rejects even though the model supports them; requests using one do not route here. Cannot name a tested parameter. */ excludedParameters?: Array | undefined; inputs?: UpdatePrivateEndpointSettingsRequestInputs | undefined; /** * Longest completion the upstream returns, in tokens, or `null` to keep the model default. */ maxCompletionTokens?: number | null | undefined; /** * Longest prompt, in tokens, or `null` for no cap below the context length. Cannot exceed `context_length`, or the model context length while `context_length` is `null`. */ maxPromptTokens?: number | null | undefined; /** * Change only the named prompt-caching flags; omitted flags keep their stored value. */ promptCaching?: UpdatePrivateEndpointPromptCaching | undefined; /** * Weight precision the deployment runs at; `unknown` when not stated. */ quantization?: PrivateEndpointQuantization | undefined; reasoning?: UpdatePrivateEndpointSettingsRequestReasoning | undefined; toolChoice?: UpdatePrivateEndpointSettingsRequestToolChoice | undefined; }; /** @internal */ export type UpdatePrivateEndpointSettingsRequestCompletions$Outbound = { chat?: boolean | null | undefined; text?: boolean | null | undefined; }; /** @internal */ export declare const UpdatePrivateEndpointSettingsRequestCompletions$outboundSchema: z.ZodType; export declare function updatePrivateEndpointSettingsRequestCompletionsToJSON(updatePrivateEndpointSettingsRequestCompletions: UpdatePrivateEndpointSettingsRequestCompletions): string; /** @internal */ export declare const UpdatePrivateEndpointSettingsRequestExcludedParameter$outboundSchema: z.ZodType; /** @internal */ export type UpdatePrivateEndpointSettingsRequestInputs$Outbound = { audio?: boolean | null | undefined; base64_files?: boolean | null | undefined; base64_images?: boolean | null | undefined; file_urls?: boolean | null | undefined; image_urls?: boolean | null | undefined; }; /** @internal */ export declare const UpdatePrivateEndpointSettingsRequestInputs$outboundSchema: z.ZodType; export declare function updatePrivateEndpointSettingsRequestInputsToJSON(updatePrivateEndpointSettingsRequestInputs: UpdatePrivateEndpointSettingsRequestInputs): string; /** @internal */ export type UpdatePrivateEndpointSettingsRequestReasoning$Outbound = { return_mechanism?: string | null | undefined; supported?: boolean | undefined; }; /** @internal */ export declare const UpdatePrivateEndpointSettingsRequestReasoning$outboundSchema: z.ZodType; export declare function updatePrivateEndpointSettingsRequestReasoningToJSON(updatePrivateEndpointSettingsRequestReasoning: UpdatePrivateEndpointSettingsRequestReasoning): string; /** @internal */ export type UpdatePrivateEndpointSettingsRequestToolChoice$Outbound = { auto?: boolean | undefined; function?: boolean | undefined; none?: boolean | undefined; required?: boolean | undefined; }; /** @internal */ export declare const UpdatePrivateEndpointSettingsRequestToolChoice$outboundSchema: z.ZodType; export declare function updatePrivateEndpointSettingsRequestToolChoiceToJSON(updatePrivateEndpointSettingsRequestToolChoice: UpdatePrivateEndpointSettingsRequestToolChoice): string; /** @internal */ export type UpdatePrivateEndpointSettingsRequest$Outbound = { completions?: UpdatePrivateEndpointSettingsRequestCompletions$Outbound | undefined; context_length?: number | null | undefined; excluded_parameters?: Array | undefined; inputs?: UpdatePrivateEndpointSettingsRequestInputs$Outbound | undefined; max_completion_tokens?: number | null | undefined; max_prompt_tokens?: number | null | undefined; prompt_caching?: UpdatePrivateEndpointPromptCaching$Outbound | undefined; quantization?: string | undefined; reasoning?: UpdatePrivateEndpointSettingsRequestReasoning$Outbound | undefined; tool_choice?: UpdatePrivateEndpointSettingsRequestToolChoice$Outbound | undefined; }; /** @internal */ export declare const UpdatePrivateEndpointSettingsRequest$outboundSchema: z.ZodType; export declare function updatePrivateEndpointSettingsRequestToJSON(updatePrivateEndpointSettingsRequest: UpdatePrivateEndpointSettingsRequest): string; //# sourceMappingURL=updateprivateendpointsettingsrequest.d.ts.map