/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 935c52864367
 */
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 ActivityTaskCompletedAttributesResponse$inboundSchema = z.object({
    task_id: z.string(),
    activity_name: z.string(),
    result: JSONPayloadResponse$inboundSchema,
}).transform((v) => {
    return remap$(v, {
        "task_id": "taskId",
        "activity_name": "activityName",
    });
});
export function activityTaskCompletedAttributesResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ActivityTaskCompletedAttributesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ActivityTaskCompletedAttributesResponse' from JSON`);
}
//# sourceMappingURL=activitytaskcompletedattributesresponse.js.map