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

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

export type ConsoleHumanInputFormDefinitionResponse = {
  [key: string]: unknown
}

export type HumanInputFormSubmitPayload = {
  action: string
  form_inputs: {
    [key: string]: unknown
  }
  inputs: {
    [key: string]: unknown
  }
}

export type ConsoleHumanInputFormSubmitResponse = {
  [key: string]: unknown
}

export type GetFormHumanInputByFormTokenData = {
  body?: never
  path: {
    form_token: string
  }
  query?: never
  url: '/form/human_input/{form_token}'
}

export type GetFormHumanInputByFormTokenResponses = {
  200: ConsoleHumanInputFormDefinitionResponse
}

export type GetFormHumanInputByFormTokenResponse
  = GetFormHumanInputByFormTokenResponses[keyof GetFormHumanInputByFormTokenResponses]

export type PostFormHumanInputByFormTokenData = {
  body: HumanInputFormSubmitPayload
  path: {
    form_token: string
  }
  query?: never
  url: '/form/human_input/{form_token}'
}

export type PostFormHumanInputByFormTokenResponses = {
  200: ConsoleHumanInputFormSubmitResponse
}

export type PostFormHumanInputByFormTokenResponse
  = PostFormHumanInputByFormTokenResponses[keyof PostFormHumanInputByFormTokenResponses]
