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