/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: a0da7dd8bb99
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
import { Failure$inboundSchema } from "./failure.js";
/** @internal */
export const ActivityTaskRetryingAttributes$inboundSchema = z.object({
    task_id: z.string(),
    activity_name: z.string(),
    attempt: z.int(),
    failure: Failure$inboundSchema,
}).transform((v) => {
    return remap$(v, {
        "task_id": "taskId",
        "activity_name": "activityName",
    });
});
export function activityTaskRetryingAttributesFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ActivityTaskRetryingAttributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ActivityTaskRetryingAttributes' from JSON`);
}
//# sourceMappingURL=activitytaskretryingattributes.js.map