/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
import { customExerciseTypeSchema } from "./customExerciseTypeSchema.ts";
import { equipmentCategorySchema } from "./equipmentCategorySchema.ts";
import { muscleGroupSchema } from "./muscleGroupSchema.ts";
import { z } from "zod/v4";
export const createCustomExerciseRequestBodySchema = z.object({
exercise: z.object({
title: z.optional(
z.string().describe("The title of the exercise template."),
),
get exercise_type() {
return customExerciseTypeSchema.optional();
},
get equipment_category() {
return equipmentCategorySchema.and(z.any()).optional();
},
get muscle_group() {
return muscleGroupSchema.and(z.any()).optional();
},
get other_muscles() {
return z
.array(muscleGroupSchema)
.describe("The other muscles of the exercise template.")
.optional();
},
}),
});