/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: cb419a2438d6
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
/** @internal */
export const AgentsApiV1ConversationsRestartRequest$outboundSchema = z.object({
    conversationId: z.string(),
    conversationRestartRequest: components.ConversationRestartRequest$outboundSchema,
}).transform((v) => {
    return remap$(v, {
        conversationId: "conversation_id",
        conversationRestartRequest: "ConversationRestartRequest",
    });
});
export function agentsApiV1ConversationsRestartRequestToJSON(agentsApiV1ConversationsRestartRequest) {
    return JSON.stringify(AgentsApiV1ConversationsRestartRequest$outboundSchema.parse(agentsApiV1ConversationsRestartRequest));
}
//# sourceMappingURL=agentsapiv1conversationsrestart.js.map