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

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

export type RuleStructuredOutputPayload = {
  instruction: string
  model_config: ModelConfig
}

export type GeneratorResponse = unknown

export type ModelConfig = {
  completion_params?: {
    [key: string]: unknown
  }
  mode: LlmMode
  name: string
  provider: string
}

export type LlmMode = 'chat' | 'completion'

export type PostRuleStructuredOutputGenerateData = {
  body: RuleStructuredOutputPayload
  path?: never
  query?: never
  url: '/rule-structured-output-generate'
}

export type PostRuleStructuredOutputGenerateErrors = {
  400: unknown
  402: unknown
}

export type PostRuleStructuredOutputGenerateResponses = {
  200: GeneratorResponse
}

export type PostRuleStructuredOutputGenerateResponse
  = PostRuleStructuredOutputGenerateResponses[keyof PostRuleStructuredOutputGenerateResponses]
