/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 5599d0727063
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import { smartUnion } from "../../types/smartUnion.js";
/** @internal */
export const FunctionCallEntryArguments$inboundSchema = smartUnion([z.record(z.string(), z.any()), z.string()]);
/** @internal */
export const FunctionCallEntryArguments$outboundSchema = smartUnion([z.record(z.string(), z.any()), z.string()]);
export function functionCallEntryArgumentsToJSON(functionCallEntryArguments) {
    return JSON.stringify(FunctionCallEntryArguments$outboundSchema.parse(functionCallEntryArguments));
}
export function functionCallEntryArgumentsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => FunctionCallEntryArguments$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FunctionCallEntryArguments' from JSON`);
}
//# sourceMappingURL=functioncallentryarguments.js.map