/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: de358ef0d0df
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
import { ScheduleDefinitionOutput$inboundSchema, } from "./scheduledefinitionoutput.js";
/** @internal */
export const WorkflowScheduleListResponse$inboundSchema = z.object({
    schedules: z.array(ScheduleDefinitionOutput$inboundSchema),
    next_page_token: z.nullable(z.string()).optional(),
}).transform((v) => {
    return remap$(v, {
        "next_page_token": "nextPageToken",
    });
});
export function workflowScheduleListResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => WorkflowScheduleListResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WorkflowScheduleListResponse' from JSON`);
}
//# sourceMappingURL=workflowschedulelistresponse.js.map