/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
import { routineSchema } from "./routineSchema.ts";
import { z } from "zod/v4";
export const getV1RoutinesQueryParamsSchema = z.object({
"page": z.coerce.number().int().default(1).describe("Page number (Must be 1 or greater)"),
"pageSize": z.coerce.number().int().default(5).describe("Number of items on the requested page (Max 10)")
})
export const getV1RoutinesHeaderParamsSchema = z.object({
"api-key": z.uuid()
})
/**
* @description A paginated list of routines
*/
export const getV1Routines200Schema = z.object({
"page": z.optional(z.int().describe("Current page number")),
"page_count": z.optional(z.int().describe("Total number of pages")),
get "routines"(){
return z.array(routineSchema).optional()
}
})
/**
* @description Invalid page size
*/
export const getV1Routines400Schema = z.any()
export const getV1RoutinesQueryResponseSchema = z.lazy(() => getV1Routines200Schema)