/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { ClosedEnum } from "../../types/enums.js"; import * as z from "zod"; export const EchidnaLoadPulseQueryDtoRefresh = { Full: "full", Incremental: "incremental", Metric: "metric", Power: "power", } as const; export type EchidnaLoadPulseQueryDtoRefresh = ClosedEnum; export type EchidnaLoadPulseQueryDto = { refresh?: EchidnaLoadPulseQueryDtoRefresh | undefined; ruleId?: string | undefined; turboMode?: boolean | undefined; }; /** @internal */ export const EchidnaLoadPulseQueryDtoRefresh$inboundSchema: z.ZodNativeEnum< typeof EchidnaLoadPulseQueryDtoRefresh > = z.nativeEnum(EchidnaLoadPulseQueryDtoRefresh); /** @internal */ export const EchidnaLoadPulseQueryDtoRefresh$outboundSchema: z.ZodNativeEnum< typeof EchidnaLoadPulseQueryDtoRefresh > = EchidnaLoadPulseQueryDtoRefresh$inboundSchema; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace EchidnaLoadPulseQueryDtoRefresh$ { /** @deprecated use `EchidnaLoadPulseQueryDtoRefresh$inboundSchema` instead. */ export const inboundSchema = EchidnaLoadPulseQueryDtoRefresh$inboundSchema; /** @deprecated use `EchidnaLoadPulseQueryDtoRefresh$outboundSchema` instead. */ export const outboundSchema = EchidnaLoadPulseQueryDtoRefresh$outboundSchema; } /** @internal */ export const EchidnaLoadPulseQueryDto$inboundSchema: z.ZodType< EchidnaLoadPulseQueryDto, z.ZodTypeDef, unknown > = z.object({ refresh: EchidnaLoadPulseQueryDtoRefresh$inboundSchema.default("full"), ruleId: z.string().optional(), turboMode: z.boolean().optional(), }); /** @internal */ export type EchidnaLoadPulseQueryDto$Outbound = { refresh: string; ruleId?: string | undefined; turboMode?: boolean | undefined; }; /** @internal */ export const EchidnaLoadPulseQueryDto$outboundSchema: z.ZodType< EchidnaLoadPulseQueryDto$Outbound, z.ZodTypeDef, EchidnaLoadPulseQueryDto > = z.object({ refresh: EchidnaLoadPulseQueryDtoRefresh$outboundSchema.default("full"), ruleId: z.string().optional(), turboMode: z.boolean().optional(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace EchidnaLoadPulseQueryDto$ { /** @deprecated use `EchidnaLoadPulseQueryDto$inboundSchema` instead. */ export const inboundSchema = EchidnaLoadPulseQueryDto$inboundSchema; /** @deprecated use `EchidnaLoadPulseQueryDto$outboundSchema` instead. */ export const outboundSchema = EchidnaLoadPulseQueryDto$outboundSchema; /** @deprecated use `EchidnaLoadPulseQueryDto$Outbound` instead. */ export type Outbound = EchidnaLoadPulseQueryDto$Outbound; }