/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
import { postWorkoutsRequestExerciseSchema } from "./postWorkoutsRequestExerciseSchema.ts";
import { z } from "zod/v4";
export const postWorkoutsRequestBodySchema = z.object({
workout: z.optional(
z.object({
title: z.optional(z.string().describe("The title of the workout.")),
description: z
.string()
.describe("A description for the workout workout.")
.nullish(),
start_time: z.optional(
z.string().describe("The time the workout started."),
),
end_time: z.optional(z.string().describe("The time the workout ended.")),
is_private: z.optional(
z.boolean().describe("A boolean indicating if the workout is private."),
),
get exercises() {
return z.array(postWorkoutsRequestExerciseSchema).optional();
},
}),
),
});