/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 588434e29697 */ import * as z from "zod/v3"; export type SearchAgentsRequest = { /** * Filters on the name of the agent. The keyword search is case-insensitive. If search string is ommited or empty, acts as no filter. */ name?: string | undefined; }; /** @internal */ export type SearchAgentsRequest$Outbound = { name?: string | undefined; }; /** @internal */ export const SearchAgentsRequest$outboundSchema: z.ZodType< SearchAgentsRequest$Outbound, z.ZodTypeDef, SearchAgentsRequest > = z.object({ name: z.string().optional(), }); export function searchAgentsRequestToJSON( searchAgentsRequest: SearchAgentsRequest, ): string { return JSON.stringify( SearchAgentsRequest$outboundSchema.parse(searchAgentsRequest), ); }