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

import * as z from 'zod'

/**
 * TenantInfoResponse
 */
export const zTenantInfoResponse = z.object({
  created_at: z.int().nullish(),
  custom_config: z.record(z.string(), z.unknown()).nullish(),
  id: z.string(),
  in_trial: z.boolean().nullish(),
  name: z.string().nullish(),
  next_credit_reset_date: z.int().nullish(),
  plan: z.string().nullish(),
  role: z.string().nullish(),
  status: z.string().nullish(),
  trial_credits: z.int().nullish(),
  trial_credits_used: z.int().nullish(),
  trial_end_reason: z.string().nullish(),
})

/**
 * Success
 */
export const zPostInfoResponse = zTenantInfoResponse
