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

export type ClientOptions = {
  baseUrl: `${string}://${string}/console/api` | (string & {})
}

export type TenantInfoResponse = {
  created_at?: number | null
  custom_config?: {
    [key: string]: unknown
  } | null
  id: string
  in_trial?: boolean | null
  name?: string | null
  next_credit_reset_date?: number | null
  plan?: string | null
  role?: string | null
  status?: string | null
  trial_credits?: number | null
  trial_credits_used?: number | null
  trial_end_reason?: string | null
}

export type PostInfoData = {
  body?: never
  path?: never
  query?: never
  url: '/info'
}

export type PostInfoResponses = {
  200: TenantInfoResponse
}

export type PostInfoResponse = PostInfoResponses[keyof PostInfoResponses]
