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

import * as z from 'zod'

/**
 * LoginPayload
 */
export const zLoginPayload = z.object({
  email: z.string(),
  invite_token: z.string().nullish(),
  password: z.string(),
  remember_me: z.boolean().optional().default(false),
})

/**
 * SimpleResultOptionalDataResponse
 */
export const zSimpleResultOptionalDataResponse = z.object({
  data: z.string().nullish(),
  result: z.string(),
})

export const zPostLoginBody = zLoginPayload

/**
 * Success
 */
export const zPostLoginResponse = zSimpleResultOptionalDataResponse
