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