/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { remap as remap$ } from "../../lib/primitives.js"; import * as components from "../components/index.js"; import * as z from "zod"; export type ConsoleV1AutotunesControllerGenFullUpdateRequest = { /** * id */ id: string; /** * Optional header to respect review settings for mutation endpoints. */ xRespectReviewSettings?: string | undefined; autotuneFullUpdateDto: components.AutotuneFullUpdateDto; }; /** * Fully Update Autotune Success */ export type ConsoleV1AutotunesControllerGenFullUpdateResponseBody = { /** * A simple string explaining the result of the operation. */ message: string; data: components.AutotuneExperimentDto; }; /** @internal */ export const ConsoleV1AutotunesControllerGenFullUpdateRequest$inboundSchema: z.ZodType< ConsoleV1AutotunesControllerGenFullUpdateRequest, z.ZodTypeDef, unknown > = z .object({ id: z.string(), "x-respect-review-settings": z.string().optional(), AutotuneFullUpdateDto: components.AutotuneFullUpdateDto$inboundSchema, }) .transform((v) => { return remap$(v, { "x-respect-review-settings": "xRespectReviewSettings", AutotuneFullUpdateDto: "autotuneFullUpdateDto", }); }); /** @internal */ export type ConsoleV1AutotunesControllerGenFullUpdateRequest$Outbound = { id: string; "x-respect-review-settings"?: string | undefined; AutotuneFullUpdateDto: components.AutotuneFullUpdateDto$Outbound; }; /** @internal */ export const ConsoleV1AutotunesControllerGenFullUpdateRequest$outboundSchema: z.ZodType< ConsoleV1AutotunesControllerGenFullUpdateRequest$Outbound, z.ZodTypeDef, ConsoleV1AutotunesControllerGenFullUpdateRequest > = z .object({ id: z.string(), xRespectReviewSettings: z.string().optional(), autotuneFullUpdateDto: components.AutotuneFullUpdateDto$outboundSchema, }) .transform((v) => { return remap$(v, { xRespectReviewSettings: "x-respect-review-settings", autotuneFullUpdateDto: "AutotuneFullUpdateDto", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace ConsoleV1AutotunesControllerGenFullUpdateRequest$ { /** @deprecated use `ConsoleV1AutotunesControllerGenFullUpdateRequest$inboundSchema` instead. */ export const inboundSchema = ConsoleV1AutotunesControllerGenFullUpdateRequest$inboundSchema; /** @deprecated use `ConsoleV1AutotunesControllerGenFullUpdateRequest$outboundSchema` instead. */ export const outboundSchema = ConsoleV1AutotunesControllerGenFullUpdateRequest$outboundSchema; /** @deprecated use `ConsoleV1AutotunesControllerGenFullUpdateRequest$Outbound` instead. */ export type Outbound = ConsoleV1AutotunesControllerGenFullUpdateRequest$Outbound; } /** @internal */ export const ConsoleV1AutotunesControllerGenFullUpdateResponseBody$inboundSchema: z.ZodType< ConsoleV1AutotunesControllerGenFullUpdateResponseBody, z.ZodTypeDef, unknown > = z.object({ message: z.string(), data: components.AutotuneExperimentDto$inboundSchema, }); /** @internal */ export type ConsoleV1AutotunesControllerGenFullUpdateResponseBody$Outbound = { message: string; data: components.AutotuneExperimentDto$Outbound; }; /** @internal */ export const ConsoleV1AutotunesControllerGenFullUpdateResponseBody$outboundSchema: z.ZodType< ConsoleV1AutotunesControllerGenFullUpdateResponseBody$Outbound, z.ZodTypeDef, ConsoleV1AutotunesControllerGenFullUpdateResponseBody > = z.object({ message: z.string(), data: components.AutotuneExperimentDto$outboundSchema, }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace ConsoleV1AutotunesControllerGenFullUpdateResponseBody$ { /** @deprecated use `ConsoleV1AutotunesControllerGenFullUpdateResponseBody$inboundSchema` instead. */ export const inboundSchema = ConsoleV1AutotunesControllerGenFullUpdateResponseBody$inboundSchema; /** @deprecated use `ConsoleV1AutotunesControllerGenFullUpdateResponseBody$outboundSchema` instead. */ export const outboundSchema = ConsoleV1AutotunesControllerGenFullUpdateResponseBody$outboundSchema; /** @deprecated use `ConsoleV1AutotunesControllerGenFullUpdateResponseBody$Outbound` instead. */ export type Outbound = ConsoleV1AutotunesControllerGenFullUpdateResponseBody$Outbound; }