/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: ec3a69543697
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
/** @internal */
export const GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetRequest$outboundSchema = z.object({
    workflowName: z.string(),
    startTime: z.nullable(z.date().transform(v => v.toISOString())).optional(),
    endTime: z.nullable(z.date().transform(v => v.toISOString())).optional(),
}).transform((v) => {
    return remap$(v, {
        workflowName: "workflow_name",
        startTime: "start_time",
        endTime: "end_time",
    });
});
export function getWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetRequestToJSON(getWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetRequest) {
    return JSON.stringify(GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetRequest$outboundSchema
        .parse(getWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetRequest));
}
//# sourceMappingURL=getworkflowmetricsv1workflowsworkflownamemetricsget.js.map