/* * 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 ConsoleV1ChangeValidationControllerChangeValidationRequest = { /** * Optional header to respect review settings for mutation endpoints. */ xRespectReviewSettings?: string | undefined; changeValidationDto: components.ChangeValidationDto; }; /** * Change Validation Success */ export type ConsoleV1ChangeValidationControllerChangeValidationResponseBody = { message?: string | undefined; }; /** @internal */ export const ConsoleV1ChangeValidationControllerChangeValidationRequest$inboundSchema: z.ZodType< ConsoleV1ChangeValidationControllerChangeValidationRequest, z.ZodTypeDef, unknown > = z .object({ "x-respect-review-settings": z.string().optional(), ChangeValidationDto: components.ChangeValidationDto$inboundSchema, }) .transform((v) => { return remap$(v, { "x-respect-review-settings": "xRespectReviewSettings", ChangeValidationDto: "changeValidationDto", }); }); /** @internal */ export type ConsoleV1ChangeValidationControllerChangeValidationRequest$Outbound = { "x-respect-review-settings"?: string | undefined; ChangeValidationDto: components.ChangeValidationDto$Outbound; }; /** @internal */ export const ConsoleV1ChangeValidationControllerChangeValidationRequest$outboundSchema: z.ZodType< ConsoleV1ChangeValidationControllerChangeValidationRequest$Outbound, z.ZodTypeDef, ConsoleV1ChangeValidationControllerChangeValidationRequest > = z .object({ xRespectReviewSettings: z.string().optional(), changeValidationDto: components.ChangeValidationDto$outboundSchema, }) .transform((v) => { return remap$(v, { xRespectReviewSettings: "x-respect-review-settings", changeValidationDto: "ChangeValidationDto", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace ConsoleV1ChangeValidationControllerChangeValidationRequest$ { /** @deprecated use `ConsoleV1ChangeValidationControllerChangeValidationRequest$inboundSchema` instead. */ export const inboundSchema = ConsoleV1ChangeValidationControllerChangeValidationRequest$inboundSchema; /** @deprecated use `ConsoleV1ChangeValidationControllerChangeValidationRequest$outboundSchema` instead. */ export const outboundSchema = ConsoleV1ChangeValidationControllerChangeValidationRequest$outboundSchema; /** @deprecated use `ConsoleV1ChangeValidationControllerChangeValidationRequest$Outbound` instead. */ export type Outbound = ConsoleV1ChangeValidationControllerChangeValidationRequest$Outbound; } /** @internal */ export const ConsoleV1ChangeValidationControllerChangeValidationResponseBody$inboundSchema: z.ZodType< ConsoleV1ChangeValidationControllerChangeValidationResponseBody, z.ZodTypeDef, unknown > = z.object({ message: z.string().optional(), }); /** @internal */ export type ConsoleV1ChangeValidationControllerChangeValidationResponseBody$Outbound = { message?: string | undefined; }; /** @internal */ export const ConsoleV1ChangeValidationControllerChangeValidationResponseBody$outboundSchema: z.ZodType< ConsoleV1ChangeValidationControllerChangeValidationResponseBody$Outbound, z.ZodTypeDef, ConsoleV1ChangeValidationControllerChangeValidationResponseBody > = z.object({ message: z.string().optional(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace ConsoleV1ChangeValidationControllerChangeValidationResponseBody$ { /** @deprecated use `ConsoleV1ChangeValidationControllerChangeValidationResponseBody$inboundSchema` instead. */ export const inboundSchema = ConsoleV1ChangeValidationControllerChangeValidationResponseBody$inboundSchema; /** @deprecated use `ConsoleV1ChangeValidationControllerChangeValidationResponseBody$outboundSchema` instead. */ export const outboundSchema = ConsoleV1ChangeValidationControllerChangeValidationResponseBody$outboundSchema; /** @deprecated use `ConsoleV1ChangeValidationControllerChangeValidationResponseBody$Outbound` instead. */ export type Outbound = ConsoleV1ChangeValidationControllerChangeValidationResponseBody$Outbound; }