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