/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */

import * as z from "zod/v3";
import { remap as remap$ } from "../../lib/primitives.js";

export type AgentsApiV1AgentsListVersionAliasesRequest = {
  agentId: string;
};

/** @internal */
export type AgentsApiV1AgentsListVersionAliasesRequest$Outbound = {
  agent_id: string;
};

/** @internal */
export const AgentsApiV1AgentsListVersionAliasesRequest$outboundSchema:
  z.ZodType<
    AgentsApiV1AgentsListVersionAliasesRequest$Outbound,
    z.ZodTypeDef,
    AgentsApiV1AgentsListVersionAliasesRequest
  > = z.object({
    agentId: z.string(),
  }).transform((v) => {
    return remap$(v, {
      agentId: "agent_id",
    });
  });

export function agentsApiV1AgentsListVersionAliasesRequestToJSON(
  agentsApiV1AgentsListVersionAliasesRequest:
    AgentsApiV1AgentsListVersionAliasesRequest,
): string {
  return JSON.stringify(
    AgentsApiV1AgentsListVersionAliasesRequest$outboundSchema.parse(
      agentsApiV1AgentsListVersionAliasesRequest,
    ),
  );
}
