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