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

import * as z from 'zod'

/**
 * WorkspaceCustomConfigResponse
 */
export const zWorkspaceCustomConfigResponse = z.object({
  remove_webapp_brand: z.boolean().nullish(),
  replace_webapp_logo: z.string().nullish(),
})

/**
 * TenantInfoResponse
 */
export const zTenantInfoResponse = z.object({
  created_at: z.int().nullish(),
  custom_config: zWorkspaceCustomConfigResponse.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
