/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 20666aa5dd34
 */
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 WorkflowBulkArchiveResponse$inboundSchema = z.object({
    archived: z.array(Workflow$inboundSchema),
    errored: z.array(WorkflowBulkError$inboundSchema).optional(),
});
export function workflowBulkArchiveResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => WorkflowBulkArchiveResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WorkflowBulkArchiveResponse' from JSON`);
}
//# sourceMappingURL=workflowbulkarchiveresponse.js.map