/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 3b7b7618584d
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import { ClientTasksRequestsCapability$inboundSchema, } from "./clienttasksrequestscapability.js";
/** @internal */
export const ClientTasksCapability$inboundSchema = z.object({
    list: z.nullable(z.record(z.string(), z.any())).optional(),
    cancel: z.nullable(z.record(z.string(), z.any())).optional(),
    requests: z.nullable(ClientTasksRequestsCapability$inboundSchema).optional(),
}).catchall(z.any());
export function clientTasksCapabilityFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ClientTasksCapability$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ClientTasksCapability' from JSON`);
}
//# sourceMappingURL=clienttaskscapability.js.map