/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 8b64ccc8f2de
 */

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

export type AgentsApiV1AgentsDeleteRequest = {
  agentId: string;
};

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

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

export function agentsApiV1AgentsDeleteRequestToJSON(
  agentsApiV1AgentsDeleteRequest: AgentsApiV1AgentsDeleteRequest,
): string {
  return JSON.stringify(
    AgentsApiV1AgentsDeleteRequest$outboundSchema.parse(
      agentsApiV1AgentsDeleteRequest,
    ),
  );
}
