/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: d11619785045
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
import { Failure$inboundSchema } from "./failure.js";
/** @internal */
export const WorkflowTaskFailedAttributes$inboundSchema = z.object({
    task_id: z.string(),
    failure: Failure$inboundSchema,
}).transform((v) => {
    return remap$(v, {
        "task_id": "taskId",
    });
});
export function workflowTaskFailedAttributesFromJSON(jsonString) {
    return safeParse(jsonString, (x) => WorkflowTaskFailedAttributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WorkflowTaskFailedAttributes' from JSON`);
}
//# sourceMappingURL=workflowtaskfailedattributes.js.map