/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 3a338846c043
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const ScheduleRecentExecution$inboundSchema = z.object({
    scheduled_at: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
    started_at: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
    execution_id: z.string(),
}).transform((v) => {
    return remap$(v, {
        "scheduled_at": "scheduledAt",
        "started_at": "startedAt",
        "execution_id": "executionId",
    });
});
export function scheduleRecentExecutionFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ScheduleRecentExecution$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ScheduleRecentExecution' from JSON`);
}
//# sourceMappingURL=schedulerecentexecution.js.map