/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: dff8a9c26203
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const ScheduleRange$inboundSchema = z
    .object({
    start: z.int(),
    end: z.int().default(0),
    step: z.int().default(0),
});
/** @internal */
export const ScheduleRange$outboundSchema = z.object({
    start: z.int(),
    end: z.int().default(0),
    step: z.int().default(0),
});
export function scheduleRangeToJSON(scheduleRange) {
    return JSON.stringify(ScheduleRange$outboundSchema.parse(scheduleRange));
}
export function scheduleRangeFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ScheduleRange$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ScheduleRange' from JSON`);
}
//# sourceMappingURL=schedulerange.js.map