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