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

import * as z from 'zod'

/**
 * EmailPayload
 */
export const zEmailPayload = z.object({
  email: z.string(),
  language: z.string().nullish(),
})

/**
 * EmailCodeLoginPayload
 */
export const zEmailCodeLoginPayload = z.object({
  code: z.string(),
  email: z.string(),
  language: z.string().nullish(),
  token: z.string(),
})

export const zPostEmailCodeLoginBody = zEmailPayload

/**
 * Success
 */
export const zPostEmailCodeLoginResponse = z.record(z.string(), z.unknown())

export const zPostEmailCodeLoginValidityBody = zEmailCodeLoginPayload

/**
 * Success
 */
export const zPostEmailCodeLoginValidityResponse = z.record(z.string(), z.unknown())
