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