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

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

export type AdvancedPromptTemplateResponse = {
  chat_prompt_config?: {
    [key: string]: unknown
  } | null
  completion_prompt_config?: {
    [key: string]: unknown
  } | null
}

export type GetAppPromptTemplatesData = {
  body?: never
  path?: never
  query: {
    app_mode: string
    has_context?: string
    model_mode: string
    model_name: string
  }
  url: '/app/prompt-templates'
}

export type GetAppPromptTemplatesErrors = {
  400: unknown
}

export type GetAppPromptTemplatesResponses = {
  200: AdvancedPromptTemplateResponse
}

export type GetAppPromptTemplatesResponse
  = GetAppPromptTemplatesResponses[keyof GetAppPromptTemplatesResponses]
