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