/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: c1887466583f
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import { Workflow$inboundSchema } from "./workflow.js";
import { WorkflowBulkError$inboundSchema, } from "./workflowbulkerror.js";
/** @internal */
export const WorkflowBulkUnarchiveResponse$inboundSchema = z.object({
    unarchived: z.array(Workflow$inboundSchema),
    errored: z.array(WorkflowBulkError$inboundSchema).optional(),
});
export function workflowBulkUnarchiveResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => WorkflowBulkUnarchiveResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WorkflowBulkUnarchiveResponse' from JSON`);
}
//# sourceMappingURL=workflowbulkunarchiveresponse.js.map