// This file is auto-generated by @hey-api/openapi-ts

import * as z from 'zod'

/**
 * SetupStatusResponse
 */
export const zSetupStatusResponse = z.object({
  setup_at: z.string().nullish(),
  step: z.enum(['finished', 'not_started']),
})

/**
 * SetupRequestPayload
 */
export const zSetupRequestPayload = z.object({
  email: z.string(),
  language: z.string().nullish(),
  name: z.string().max(30),
  password: z.string(),
})

/**
 * SetupResponse
 */
export const zSetupResponse = z.object({
  result: z.string(),
})

/**
 * OK
 */
export const zGetSetupResponse = zSetupStatusResponse

export const zPostSetupBody = zSetupRequestPayload

/**
 * Created
 */
export const zPostSetupResponse = zSetupResponse
