/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: ef6dc4ab2349 */ import * as z from "zod/v4"; import { remap as remap$ } from "../../lib/primitives.js"; export type AgentsApiV1AgentsGetVersionRequest = { agentId: string; version: string; }; /** @internal */ export type AgentsApiV1AgentsGetVersionRequest$Outbound = { agent_id: string; version: string; }; /** @internal */ export const AgentsApiV1AgentsGetVersionRequest$outboundSchema: z.ZodType< AgentsApiV1AgentsGetVersionRequest$Outbound, AgentsApiV1AgentsGetVersionRequest > = z.object({ agentId: z.string(), version: z.string(), }).transform((v) => { return remap$(v, { agentId: "agent_id", }); }); export function agentsApiV1AgentsGetVersionRequestToJSON( agentsApiV1AgentsGetVersionRequest: AgentsApiV1AgentsGetVersionRequest, ): string { return JSON.stringify( AgentsApiV1AgentsGetVersionRequest$outboundSchema.parse( agentsApiV1AgentsGetVersionRequest, ), ); }