postV1RoutinesSchema.ts•960 B
/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
import { postRoutinesRequestBodySchema } from './postRoutinesRequestBodySchema.ts'
import { routineSchema } from './routineSchema.ts'
import { z } from 'zod'
export const postV1RoutinesHeaderParamsSchema = z.object({
'api-key': z.string().uuid(),
})
/**
* @description The routine was successfully created
*/
export const postV1Routines201Schema = z.lazy(() => routineSchema)
/**
* @description Invalid request body
*/
export const postV1Routines400Schema = z.object({
error: z.string().describe('Error message').optional(),
})
/**
* @description Routine limit exceeded
*/
export const postV1Routines403Schema = z.object({
error: z.string().describe('Error message').optional(),
})
export const postV1RoutinesMutationRequestSchema = z.lazy(() => postRoutinesRequestBodySchema)
export const postV1RoutinesMutationResponseSchema = z.lazy(() => postV1Routines201Schema)