/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 44e25f2b96fb
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
export const Confirmation = {
    Allow: "allow",
    Deny: "deny",
};
/** @internal */
export const Confirmation$outboundSchema = z
    .enum(Confirmation);
/** @internal */
export const ToolCallConfirmation$outboundSchema = z.object({
    toolCallId: z.string(),
    confirmation: Confirmation$outboundSchema,
}).transform((v) => {
    return remap$(v, {
        toolCallId: "tool_call_id",
    });
});
export function toolCallConfirmationToJSON(toolCallConfirmation) {
    return JSON.stringify(ToolCallConfirmation$outboundSchema.parse(toolCallConfirmation));
}
//# sourceMappingURL=toolcallconfirmation.js.map