/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 84329c5a34f0
 */
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 CustomTaskFailedAttributes$inboundSchema = z.object({
    custom_task_id: z.string(),
    custom_task_type: z.string(),
    failure: Failure$inboundSchema,
}).transform((v) => {
    return remap$(v, {
        "custom_task_id": "customTaskId",
        "custom_task_type": "customTaskType",
    });
});
export function customTaskFailedAttributesFromJSON(jsonString) {
    return safeParse(jsonString, (x) => CustomTaskFailedAttributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CustomTaskFailedAttributes' from JSON`);
}
//# sourceMappingURL=customtaskfailedattributes.js.map