/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; import * as models from "../index.js"; export type UpdateAgentRequest = { id: number; body: models.NameDescriptionSystemPrompt; }; /** @internal */ export type UpdateAgentRequest$Outbound = { id: number; body: models.NameDescriptionSystemPrompt$Outbound; }; /** @internal */ export const UpdateAgentRequest$outboundSchema: z.ZodMiniType< UpdateAgentRequest$Outbound, UpdateAgentRequest > = z.object({ id: z.int(), body: models.NameDescriptionSystemPrompt$outboundSchema, }); export function updateAgentRequestToJSON( updateAgentRequest: UpdateAgentRequest, ): string { return JSON.stringify( UpdateAgentRequest$outboundSchema.parse(updateAgentRequest), ); }