/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
import { routineSchema } from "./routineSchema.ts";
import { z } from "zod/v4";
export const getV1RoutinesRoutineidPathParamsSchema = z.object({
routineId: z.string().describe("The id of the routine"),
});
export const getV1RoutinesRoutineidHeaderParamsSchema = z.object({
"api-key": z.uuid(),
});
/**
* @description The routine with the provided id
*/
export const getV1RoutinesRoutineid200Schema = z.object({
get routine() {
return routineSchema.optional();
},
});
/**
* @description Invalid request body
*/
export const getV1RoutinesRoutineid400Schema = z.object({
error: z.optional(z.string().describe("Error message")),
});
export const getV1RoutinesRoutineidQueryResponseSchema = z.lazy(
() => getV1RoutinesRoutineid200Schema,
);