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