/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: d04aeb33ac84
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const BatchExecutionResult$inboundSchema = z.object({
    status: z.string(),
    error: z.nullable(z.string()).optional(),
});
export function batchExecutionResultFromJSON(jsonString) {
    return safeParse(jsonString, (x) => BatchExecutionResult$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BatchExecutionResult' from JSON`);
}
//# sourceMappingURL=batchexecutionresult.js.map