
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `AgentConfiguration` model and its related types.
 *
 * 🟢 You can import this file directly.
 */
import type * as runtime from "@prisma/client/runtime/client"
import type * as $Enums from "../enums.js"
import type * as Prisma from "../internal/prismaNamespace.js"

/**
 * Model AgentConfiguration
 * 
 */
export type AgentConfigurationModel = runtime.Types.Result.DefaultSelection<Prisma.$AgentConfigurationPayload>

export type AggregateAgentConfiguration = {
  _count: AgentConfigurationCountAggregateOutputType | null
  _avg: AgentConfigurationAvgAggregateOutputType | null
  _sum: AgentConfigurationSumAggregateOutputType | null
  _min: AgentConfigurationMinAggregateOutputType | null
  _max: AgentConfigurationMaxAggregateOutputType | null
}

export type AgentConfigurationAvgAggregateOutputType = {
  temperature: number | null
  concurrent_calls_limit: number | null
  conversation_retention_days: number | null
  daily_calls_limit: number | null
  max_conversation_duration_seconds: number | null
  silence_end_call_timeout_seconds: number | null
  tokenLimit: number | null
  turn_timeout_seconds: number | null
  voice_similarity_boost: number | null
  voice_speed: number | null
  voice_stability: number | null
}

export type AgentConfigurationSumAggregateOutputType = {
  temperature: number | null
  concurrent_calls_limit: number | null
  conversation_retention_days: number | null
  daily_calls_limit: number | null
  max_conversation_duration_seconds: number | null
  silence_end_call_timeout_seconds: number | null
  tokenLimit: number | null
  turn_timeout_seconds: number | null
  voice_similarity_boost: number | null
  voice_speed: number | null
  voice_stability: number | null
}

export type AgentConfigurationMinAggregateOutputType = {
  agentConfigId: string | null
  agentId: string | null
  systemPrompt: string | null
  firstMessage: string | null
  temperature: number | null
  voiceId: string | null
  concurrent_calls_limit: number | null
  conversation_retention_days: number | null
  daily_calls_limit: number | null
  enable_auth_for_agent_api: boolean | null
  max_conversation_duration_seconds: number | null
  optimize_streaming_latency: boolean | null
  silence_end_call_timeout_seconds: number | null
  store_call_audio: boolean | null
  tokenLimit: number | null
  tts_output_format: string | null
  turn_timeout_seconds: number | null
  update_at: Date | null
  use_flash_call: boolean | null
  use_rag: boolean | null
  user_input_audio_format: string | null
  voice_similarity_boost: number | null
  voice_speed: number | null
  voice_stability: number | null
  zero_pii_retention: boolean | null
  llmModel: string | null
  sttModel: string | null
  ttsModel: string | null
  agent_language: string | null
  preemptive_generation: boolean | null
  timezone: string | null
}

export type AgentConfigurationMaxAggregateOutputType = {
  agentConfigId: string | null
  agentId: string | null
  systemPrompt: string | null
  firstMessage: string | null
  temperature: number | null
  voiceId: string | null
  concurrent_calls_limit: number | null
  conversation_retention_days: number | null
  daily_calls_limit: number | null
  enable_auth_for_agent_api: boolean | null
  max_conversation_duration_seconds: number | null
  optimize_streaming_latency: boolean | null
  silence_end_call_timeout_seconds: number | null
  store_call_audio: boolean | null
  tokenLimit: number | null
  tts_output_format: string | null
  turn_timeout_seconds: number | null
  update_at: Date | null
  use_flash_call: boolean | null
  use_rag: boolean | null
  user_input_audio_format: string | null
  voice_similarity_boost: number | null
  voice_speed: number | null
  voice_stability: number | null
  zero_pii_retention: boolean | null
  llmModel: string | null
  sttModel: string | null
  ttsModel: string | null
  agent_language: string | null
  preemptive_generation: boolean | null
  timezone: string | null
}

export type AgentConfigurationCountAggregateOutputType = {
  agentConfigId: number
  agentId: number
  systemPrompt: number
  firstMessage: number
  temperature: number
  data_needed: number
  data_evaluation: number
  voiceId: number
  concurrent_calls_limit: number
  conversation_retention_days: number
  daily_calls_limit: number
  enable_auth_for_agent_api: number
  max_conversation_duration_seconds: number
  optimize_streaming_latency: number
  silence_end_call_timeout_seconds: number
  store_call_audio: number
  tokenLimit: number
  tts_output_format: number
  turn_timeout_seconds: number
  update_at: number
  use_flash_call: number
  use_rag: number
  user_input_audio_format: number
  voice_similarity_boost: number
  voice_speed: number
  voice_stability: number
  zero_pii_retention: number
  llmModel: number
  sttModel: number
  ttsModel: number
  agent_language: number
  initiation_webhook: number
  post_call_webhook: number
  variables: number
  preemptive_generation: number
  timezone: number
  _all: number
}


export type AgentConfigurationAvgAggregateInputType = {
  temperature?: true
  concurrent_calls_limit?: true
  conversation_retention_days?: true
  daily_calls_limit?: true
  max_conversation_duration_seconds?: true
  silence_end_call_timeout_seconds?: true
  tokenLimit?: true
  turn_timeout_seconds?: true
  voice_similarity_boost?: true
  voice_speed?: true
  voice_stability?: true
}

export type AgentConfigurationSumAggregateInputType = {
  temperature?: true
  concurrent_calls_limit?: true
  conversation_retention_days?: true
  daily_calls_limit?: true
  max_conversation_duration_seconds?: true
  silence_end_call_timeout_seconds?: true
  tokenLimit?: true
  turn_timeout_seconds?: true
  voice_similarity_boost?: true
  voice_speed?: true
  voice_stability?: true
}

export type AgentConfigurationMinAggregateInputType = {
  agentConfigId?: true
  agentId?: true
  systemPrompt?: true
  firstMessage?: true
  temperature?: true
  voiceId?: true
  concurrent_calls_limit?: true
  conversation_retention_days?: true
  daily_calls_limit?: true
  enable_auth_for_agent_api?: true
  max_conversation_duration_seconds?: true
  optimize_streaming_latency?: true
  silence_end_call_timeout_seconds?: true
  store_call_audio?: true
  tokenLimit?: true
  tts_output_format?: true
  turn_timeout_seconds?: true
  update_at?: true
  use_flash_call?: true
  use_rag?: true
  user_input_audio_format?: true
  voice_similarity_boost?: true
  voice_speed?: true
  voice_stability?: true
  zero_pii_retention?: true
  llmModel?: true
  sttModel?: true
  ttsModel?: true
  agent_language?: true
  preemptive_generation?: true
  timezone?: true
}

export type AgentConfigurationMaxAggregateInputType = {
  agentConfigId?: true
  agentId?: true
  systemPrompt?: true
  firstMessage?: true
  temperature?: true
  voiceId?: true
  concurrent_calls_limit?: true
  conversation_retention_days?: true
  daily_calls_limit?: true
  enable_auth_for_agent_api?: true
  max_conversation_duration_seconds?: true
  optimize_streaming_latency?: true
  silence_end_call_timeout_seconds?: true
  store_call_audio?: true
  tokenLimit?: true
  tts_output_format?: true
  turn_timeout_seconds?: true
  update_at?: true
  use_flash_call?: true
  use_rag?: true
  user_input_audio_format?: true
  voice_similarity_boost?: true
  voice_speed?: true
  voice_stability?: true
  zero_pii_retention?: true
  llmModel?: true
  sttModel?: true
  ttsModel?: true
  agent_language?: true
  preemptive_generation?: true
  timezone?: true
}

export type AgentConfigurationCountAggregateInputType = {
  agentConfigId?: true
  agentId?: true
  systemPrompt?: true
  firstMessage?: true
  temperature?: true
  data_needed?: true
  data_evaluation?: true
  voiceId?: true
  concurrent_calls_limit?: true
  conversation_retention_days?: true
  daily_calls_limit?: true
  enable_auth_for_agent_api?: true
  max_conversation_duration_seconds?: true
  optimize_streaming_latency?: true
  silence_end_call_timeout_seconds?: true
  store_call_audio?: true
  tokenLimit?: true
  tts_output_format?: true
  turn_timeout_seconds?: true
  update_at?: true
  use_flash_call?: true
  use_rag?: true
  user_input_audio_format?: true
  voice_similarity_boost?: true
  voice_speed?: true
  voice_stability?: true
  zero_pii_retention?: true
  llmModel?: true
  sttModel?: true
  ttsModel?: true
  agent_language?: true
  initiation_webhook?: true
  post_call_webhook?: true
  variables?: true
  preemptive_generation?: true
  timezone?: true
  _all?: true
}

export type AgentConfigurationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which AgentConfiguration to aggregate.
   */
  where?: Prisma.AgentConfigurationWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of AgentConfigurations to fetch.
   */
  orderBy?: Prisma.AgentConfigurationOrderByWithRelationInput | Prisma.AgentConfigurationOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.AgentConfigurationWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` AgentConfigurations from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` AgentConfigurations.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned AgentConfigurations
  **/
  _count?: true | AgentConfigurationCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: AgentConfigurationAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: AgentConfigurationSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: AgentConfigurationMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: AgentConfigurationMaxAggregateInputType
}

export type GetAgentConfigurationAggregateType<T extends AgentConfigurationAggregateArgs> = {
      [P in keyof T & keyof AggregateAgentConfiguration]: P extends '_count' | 'count'
    ? T[P] extends true
      ? number
      : Prisma.GetScalarType<T[P], AggregateAgentConfiguration[P]>
    : Prisma.GetScalarType<T[P], AggregateAgentConfiguration[P]>
}




export type AgentConfigurationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.AgentConfigurationWhereInput
  orderBy?: Prisma.AgentConfigurationOrderByWithAggregationInput | Prisma.AgentConfigurationOrderByWithAggregationInput[]
  by: Prisma.AgentConfigurationScalarFieldEnum[] | Prisma.AgentConfigurationScalarFieldEnum
  having?: Prisma.AgentConfigurationScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: AgentConfigurationCountAggregateInputType | true
  _avg?: AgentConfigurationAvgAggregateInputType
  _sum?: AgentConfigurationSumAggregateInputType
  _min?: AgentConfigurationMinAggregateInputType
  _max?: AgentConfigurationMaxAggregateInputType
}

export type AgentConfigurationGroupByOutputType = {
  agentConfigId: string
  agentId: string
  systemPrompt: string
  firstMessage: string
  temperature: number
  data_needed: runtime.JsonValue | null
  data_evaluation: runtime.JsonValue | null
  voiceId: string
  concurrent_calls_limit: number
  conversation_retention_days: number
  daily_calls_limit: number
  enable_auth_for_agent_api: boolean
  max_conversation_duration_seconds: number
  optimize_streaming_latency: boolean
  silence_end_call_timeout_seconds: number
  store_call_audio: boolean
  tokenLimit: number
  tts_output_format: string
  turn_timeout_seconds: number
  update_at: Date
  use_flash_call: boolean
  use_rag: boolean
  user_input_audio_format: string
  voice_similarity_boost: number
  voice_speed: number
  voice_stability: number
  zero_pii_retention: boolean
  llmModel: string
  sttModel: string
  ttsModel: string
  agent_language: string
  initiation_webhook: runtime.JsonValue | null
  post_call_webhook: runtime.JsonValue | null
  variables: runtime.JsonValue | null
  preemptive_generation: boolean
  timezone: string
  _count: AgentConfigurationCountAggregateOutputType | null
  _avg: AgentConfigurationAvgAggregateOutputType | null
  _sum: AgentConfigurationSumAggregateOutputType | null
  _min: AgentConfigurationMinAggregateOutputType | null
  _max: AgentConfigurationMaxAggregateOutputType | null
}

export type GetAgentConfigurationGroupByPayload<T extends AgentConfigurationGroupByArgs> = Prisma.PrismaPromise<
  Array<
    Prisma.PickEnumerable<AgentConfigurationGroupByOutputType, T['by']> &
      {
        [P in ((keyof T) & (keyof AgentConfigurationGroupByOutputType))]: P extends '_count'
          ? T[P] extends boolean
            ? number
            : Prisma.GetScalarType<T[P], AgentConfigurationGroupByOutputType[P]>
          : Prisma.GetScalarType<T[P], AgentConfigurationGroupByOutputType[P]>
      }
    >
  >



export type AgentConfigurationWhereInput = {
  AND?: Prisma.AgentConfigurationWhereInput | Prisma.AgentConfigurationWhereInput[]
  OR?: Prisma.AgentConfigurationWhereInput[]
  NOT?: Prisma.AgentConfigurationWhereInput | Prisma.AgentConfigurationWhereInput[]
  agentConfigId?: Prisma.StringFilter<"AgentConfiguration"> | string
  agentId?: Prisma.StringFilter<"AgentConfiguration"> | string
  systemPrompt?: Prisma.StringFilter<"AgentConfiguration"> | string
  firstMessage?: Prisma.StringFilter<"AgentConfiguration"> | string
  temperature?: Prisma.FloatFilter<"AgentConfiguration"> | number
  data_needed?: Prisma.JsonNullableFilter<"AgentConfiguration">
  data_evaluation?: Prisma.JsonNullableFilter<"AgentConfiguration">
  voiceId?: Prisma.StringFilter<"AgentConfiguration"> | string
  concurrent_calls_limit?: Prisma.IntFilter<"AgentConfiguration"> | number
  conversation_retention_days?: Prisma.IntFilter<"AgentConfiguration"> | number
  daily_calls_limit?: Prisma.IntFilter<"AgentConfiguration"> | number
  enable_auth_for_agent_api?: Prisma.BoolFilter<"AgentConfiguration"> | boolean
  max_conversation_duration_seconds?: Prisma.IntFilter<"AgentConfiguration"> | number
  optimize_streaming_latency?: Prisma.BoolFilter<"AgentConfiguration"> | boolean
  silence_end_call_timeout_seconds?: Prisma.IntFilter<"AgentConfiguration"> | number
  store_call_audio?: Prisma.BoolFilter<"AgentConfiguration"> | boolean
  tokenLimit?: Prisma.IntFilter<"AgentConfiguration"> | number
  tts_output_format?: Prisma.StringFilter<"AgentConfiguration"> | string
  turn_timeout_seconds?: Prisma.IntFilter<"AgentConfiguration"> | number
  update_at?: Prisma.DateTimeFilter<"AgentConfiguration"> | Date | string
  use_flash_call?: Prisma.BoolFilter<"AgentConfiguration"> | boolean
  use_rag?: Prisma.BoolFilter<"AgentConfiguration"> | boolean
  user_input_audio_format?: Prisma.StringFilter<"AgentConfiguration"> | string
  voice_similarity_boost?: Prisma.FloatFilter<"AgentConfiguration"> | number
  voice_speed?: Prisma.FloatFilter<"AgentConfiguration"> | number
  voice_stability?: Prisma.FloatFilter<"AgentConfiguration"> | number
  zero_pii_retention?: Prisma.BoolFilter<"AgentConfiguration"> | boolean
  llmModel?: Prisma.StringFilter<"AgentConfiguration"> | string
  sttModel?: Prisma.StringFilter<"AgentConfiguration"> | string
  ttsModel?: Prisma.StringFilter<"AgentConfiguration"> | string
  agent_language?: Prisma.StringFilter<"AgentConfiguration"> | string
  initiation_webhook?: Prisma.JsonNullableFilter<"AgentConfiguration">
  post_call_webhook?: Prisma.JsonNullableFilter<"AgentConfiguration">
  variables?: Prisma.JsonNullableFilter<"AgentConfiguration">
  preemptive_generation?: Prisma.BoolFilter<"AgentConfiguration"> | boolean
  timezone?: Prisma.StringFilter<"AgentConfiguration"> | string
  agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>
}

export type AgentConfigurationOrderByWithRelationInput = {
  agentConfigId?: Prisma.SortOrder
  agentId?: Prisma.SortOrder
  systemPrompt?: Prisma.SortOrder
  firstMessage?: Prisma.SortOrder
  temperature?: Prisma.SortOrder
  data_needed?: Prisma.SortOrderInput | Prisma.SortOrder
  data_evaluation?: Prisma.SortOrderInput | Prisma.SortOrder
  voiceId?: Prisma.SortOrder
  concurrent_calls_limit?: Prisma.SortOrder
  conversation_retention_days?: Prisma.SortOrder
  daily_calls_limit?: Prisma.SortOrder
  enable_auth_for_agent_api?: Prisma.SortOrder
  max_conversation_duration_seconds?: Prisma.SortOrder
  optimize_streaming_latency?: Prisma.SortOrder
  silence_end_call_timeout_seconds?: Prisma.SortOrder
  store_call_audio?: Prisma.SortOrder
  tokenLimit?: Prisma.SortOrder
  tts_output_format?: Prisma.SortOrder
  turn_timeout_seconds?: Prisma.SortOrder
  update_at?: Prisma.SortOrder
  use_flash_call?: Prisma.SortOrder
  use_rag?: Prisma.SortOrder
  user_input_audio_format?: Prisma.SortOrder
  voice_similarity_boost?: Prisma.SortOrder
  voice_speed?: Prisma.SortOrder
  voice_stability?: Prisma.SortOrder
  zero_pii_retention?: Prisma.SortOrder
  llmModel?: Prisma.SortOrder
  sttModel?: Prisma.SortOrder
  ttsModel?: Prisma.SortOrder
  agent_language?: Prisma.SortOrder
  initiation_webhook?: Prisma.SortOrderInput | Prisma.SortOrder
  post_call_webhook?: Prisma.SortOrderInput | Prisma.SortOrder
  variables?: Prisma.SortOrderInput | Prisma.SortOrder
  preemptive_generation?: Prisma.SortOrder
  timezone?: Prisma.SortOrder
  agent?: Prisma.AgentOrderByWithRelationInput
}

export type AgentConfigurationWhereUniqueInput = Prisma.AtLeast<{
  agentConfigId?: string
  agentId?: string
  AND?: Prisma.AgentConfigurationWhereInput | Prisma.AgentConfigurationWhereInput[]
  OR?: Prisma.AgentConfigurationWhereInput[]
  NOT?: Prisma.AgentConfigurationWhereInput | Prisma.AgentConfigurationWhereInput[]
  systemPrompt?: Prisma.StringFilter<"AgentConfiguration"> | string
  firstMessage?: Prisma.StringFilter<"AgentConfiguration"> | string
  temperature?: Prisma.FloatFilter<"AgentConfiguration"> | number
  data_needed?: Prisma.JsonNullableFilter<"AgentConfiguration">
  data_evaluation?: Prisma.JsonNullableFilter<"AgentConfiguration">
  voiceId?: Prisma.StringFilter<"AgentConfiguration"> | string
  concurrent_calls_limit?: Prisma.IntFilter<"AgentConfiguration"> | number
  conversation_retention_days?: Prisma.IntFilter<"AgentConfiguration"> | number
  daily_calls_limit?: Prisma.IntFilter<"AgentConfiguration"> | number
  enable_auth_for_agent_api?: Prisma.BoolFilter<"AgentConfiguration"> | boolean
  max_conversation_duration_seconds?: Prisma.IntFilter<"AgentConfiguration"> | number
  optimize_streaming_latency?: Prisma.BoolFilter<"AgentConfiguration"> | boolean
  silence_end_call_timeout_seconds?: Prisma.IntFilter<"AgentConfiguration"> | number
  store_call_audio?: Prisma.BoolFilter<"AgentConfiguration"> | boolean
  tokenLimit?: Prisma.IntFilter<"AgentConfiguration"> | number
  tts_output_format?: Prisma.StringFilter<"AgentConfiguration"> | string
  turn_timeout_seconds?: Prisma.IntFilter<"AgentConfiguration"> | number
  update_at?: Prisma.DateTimeFilter<"AgentConfiguration"> | Date | string
  use_flash_call?: Prisma.BoolFilter<"AgentConfiguration"> | boolean
  use_rag?: Prisma.BoolFilter<"AgentConfiguration"> | boolean
  user_input_audio_format?: Prisma.StringFilter<"AgentConfiguration"> | string
  voice_similarity_boost?: Prisma.FloatFilter<"AgentConfiguration"> | number
  voice_speed?: Prisma.FloatFilter<"AgentConfiguration"> | number
  voice_stability?: Prisma.FloatFilter<"AgentConfiguration"> | number
  zero_pii_retention?: Prisma.BoolFilter<"AgentConfiguration"> | boolean
  llmModel?: Prisma.StringFilter<"AgentConfiguration"> | string
  sttModel?: Prisma.StringFilter<"AgentConfiguration"> | string
  ttsModel?: Prisma.StringFilter<"AgentConfiguration"> | string
  agent_language?: Prisma.StringFilter<"AgentConfiguration"> | string
  initiation_webhook?: Prisma.JsonNullableFilter<"AgentConfiguration">
  post_call_webhook?: Prisma.JsonNullableFilter<"AgentConfiguration">
  variables?: Prisma.JsonNullableFilter<"AgentConfiguration">
  preemptive_generation?: Prisma.BoolFilter<"AgentConfiguration"> | boolean
  timezone?: Prisma.StringFilter<"AgentConfiguration"> | string
  agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>
}, "agentConfigId" | "agentId">

export type AgentConfigurationOrderByWithAggregationInput = {
  agentConfigId?: Prisma.SortOrder
  agentId?: Prisma.SortOrder
  systemPrompt?: Prisma.SortOrder
  firstMessage?: Prisma.SortOrder
  temperature?: Prisma.SortOrder
  data_needed?: Prisma.SortOrderInput | Prisma.SortOrder
  data_evaluation?: Prisma.SortOrderInput | Prisma.SortOrder
  voiceId?: Prisma.SortOrder
  concurrent_calls_limit?: Prisma.SortOrder
  conversation_retention_days?: Prisma.SortOrder
  daily_calls_limit?: Prisma.SortOrder
  enable_auth_for_agent_api?: Prisma.SortOrder
  max_conversation_duration_seconds?: Prisma.SortOrder
  optimize_streaming_latency?: Prisma.SortOrder
  silence_end_call_timeout_seconds?: Prisma.SortOrder
  store_call_audio?: Prisma.SortOrder
  tokenLimit?: Prisma.SortOrder
  tts_output_format?: Prisma.SortOrder
  turn_timeout_seconds?: Prisma.SortOrder
  update_at?: Prisma.SortOrder
  use_flash_call?: Prisma.SortOrder
  use_rag?: Prisma.SortOrder
  user_input_audio_format?: Prisma.SortOrder
  voice_similarity_boost?: Prisma.SortOrder
  voice_speed?: Prisma.SortOrder
  voice_stability?: Prisma.SortOrder
  zero_pii_retention?: Prisma.SortOrder
  llmModel?: Prisma.SortOrder
  sttModel?: Prisma.SortOrder
  ttsModel?: Prisma.SortOrder
  agent_language?: Prisma.SortOrder
  initiation_webhook?: Prisma.SortOrderInput | Prisma.SortOrder
  post_call_webhook?: Prisma.SortOrderInput | Prisma.SortOrder
  variables?: Prisma.SortOrderInput | Prisma.SortOrder
  preemptive_generation?: Prisma.SortOrder
  timezone?: Prisma.SortOrder
  _count?: Prisma.AgentConfigurationCountOrderByAggregateInput
  _avg?: Prisma.AgentConfigurationAvgOrderByAggregateInput
  _max?: Prisma.AgentConfigurationMaxOrderByAggregateInput
  _min?: Prisma.AgentConfigurationMinOrderByAggregateInput
  _sum?: Prisma.AgentConfigurationSumOrderByAggregateInput
}

export type AgentConfigurationScalarWhereWithAggregatesInput = {
  AND?: Prisma.AgentConfigurationScalarWhereWithAggregatesInput | Prisma.AgentConfigurationScalarWhereWithAggregatesInput[]
  OR?: Prisma.AgentConfigurationScalarWhereWithAggregatesInput[]
  NOT?: Prisma.AgentConfigurationScalarWhereWithAggregatesInput | Prisma.AgentConfigurationScalarWhereWithAggregatesInput[]
  agentConfigId?: Prisma.StringWithAggregatesFilter<"AgentConfiguration"> | string
  agentId?: Prisma.StringWithAggregatesFilter<"AgentConfiguration"> | string
  systemPrompt?: Prisma.StringWithAggregatesFilter<"AgentConfiguration"> | string
  firstMessage?: Prisma.StringWithAggregatesFilter<"AgentConfiguration"> | string
  temperature?: Prisma.FloatWithAggregatesFilter<"AgentConfiguration"> | number
  data_needed?: Prisma.JsonNullableWithAggregatesFilter<"AgentConfiguration">
  data_evaluation?: Prisma.JsonNullableWithAggregatesFilter<"AgentConfiguration">
  voiceId?: Prisma.StringWithAggregatesFilter<"AgentConfiguration"> | string
  concurrent_calls_limit?: Prisma.IntWithAggregatesFilter<"AgentConfiguration"> | number
  conversation_retention_days?: Prisma.IntWithAggregatesFilter<"AgentConfiguration"> | number
  daily_calls_limit?: Prisma.IntWithAggregatesFilter<"AgentConfiguration"> | number
  enable_auth_for_agent_api?: Prisma.BoolWithAggregatesFilter<"AgentConfiguration"> | boolean
  max_conversation_duration_seconds?: Prisma.IntWithAggregatesFilter<"AgentConfiguration"> | number
  optimize_streaming_latency?: Prisma.BoolWithAggregatesFilter<"AgentConfiguration"> | boolean
  silence_end_call_timeout_seconds?: Prisma.IntWithAggregatesFilter<"AgentConfiguration"> | number
  store_call_audio?: Prisma.BoolWithAggregatesFilter<"AgentConfiguration"> | boolean
  tokenLimit?: Prisma.IntWithAggregatesFilter<"AgentConfiguration"> | number
  tts_output_format?: Prisma.StringWithAggregatesFilter<"AgentConfiguration"> | string
  turn_timeout_seconds?: Prisma.IntWithAggregatesFilter<"AgentConfiguration"> | number
  update_at?: Prisma.DateTimeWithAggregatesFilter<"AgentConfiguration"> | Date | string
  use_flash_call?: Prisma.BoolWithAggregatesFilter<"AgentConfiguration"> | boolean
  use_rag?: Prisma.BoolWithAggregatesFilter<"AgentConfiguration"> | boolean
  user_input_audio_format?: Prisma.StringWithAggregatesFilter<"AgentConfiguration"> | string
  voice_similarity_boost?: Prisma.FloatWithAggregatesFilter<"AgentConfiguration"> | number
  voice_speed?: Prisma.FloatWithAggregatesFilter<"AgentConfiguration"> | number
  voice_stability?: Prisma.FloatWithAggregatesFilter<"AgentConfiguration"> | number
  zero_pii_retention?: Prisma.BoolWithAggregatesFilter<"AgentConfiguration"> | boolean
  llmModel?: Prisma.StringWithAggregatesFilter<"AgentConfiguration"> | string
  sttModel?: Prisma.StringWithAggregatesFilter<"AgentConfiguration"> | string
  ttsModel?: Prisma.StringWithAggregatesFilter<"AgentConfiguration"> | string
  agent_language?: Prisma.StringWithAggregatesFilter<"AgentConfiguration"> | string
  initiation_webhook?: Prisma.JsonNullableWithAggregatesFilter<"AgentConfiguration">
  post_call_webhook?: Prisma.JsonNullableWithAggregatesFilter<"AgentConfiguration">
  variables?: Prisma.JsonNullableWithAggregatesFilter<"AgentConfiguration">
  preemptive_generation?: Prisma.BoolWithAggregatesFilter<"AgentConfiguration"> | boolean
  timezone?: Prisma.StringWithAggregatesFilter<"AgentConfiguration"> | string
}

export type AgentConfigurationCreateInput = {
  agentConfigId?: string
  systemPrompt: string
  firstMessage: string
  temperature?: number
  data_needed?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  data_evaluation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  voiceId: string
  concurrent_calls_limit: number
  conversation_retention_days?: number
  daily_calls_limit: number
  enable_auth_for_agent_api?: boolean
  max_conversation_duration_seconds: number
  optimize_streaming_latency?: boolean
  silence_end_call_timeout_seconds: number
  store_call_audio?: boolean
  tokenLimit?: number
  tts_output_format?: string
  turn_timeout_seconds: number
  update_at?: Date | string
  use_flash_call?: boolean
  use_rag?: boolean
  user_input_audio_format: string
  voice_similarity_boost: number
  voice_speed: number
  voice_stability: number
  zero_pii_retention?: boolean
  llmModel?: string
  sttModel?: string
  ttsModel?: string
  agent_language?: string
  initiation_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  post_call_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  variables?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  preemptive_generation?: boolean
  timezone?: string
  agent: Prisma.AgentCreateNestedOneWithoutConfigurationInput
}

export type AgentConfigurationUncheckedCreateInput = {
  agentConfigId?: string
  agentId: string
  systemPrompt: string
  firstMessage: string
  temperature?: number
  data_needed?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  data_evaluation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  voiceId: string
  concurrent_calls_limit: number
  conversation_retention_days?: number
  daily_calls_limit: number
  enable_auth_for_agent_api?: boolean
  max_conversation_duration_seconds: number
  optimize_streaming_latency?: boolean
  silence_end_call_timeout_seconds: number
  store_call_audio?: boolean
  tokenLimit?: number
  tts_output_format?: string
  turn_timeout_seconds: number
  update_at?: Date | string
  use_flash_call?: boolean
  use_rag?: boolean
  user_input_audio_format: string
  voice_similarity_boost: number
  voice_speed: number
  voice_stability: number
  zero_pii_retention?: boolean
  llmModel?: string
  sttModel?: string
  ttsModel?: string
  agent_language?: string
  initiation_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  post_call_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  variables?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  preemptive_generation?: boolean
  timezone?: string
}

export type AgentConfigurationUpdateInput = {
  agentConfigId?: Prisma.StringFieldUpdateOperationsInput | string
  systemPrompt?: Prisma.StringFieldUpdateOperationsInput | string
  firstMessage?: Prisma.StringFieldUpdateOperationsInput | string
  temperature?: Prisma.FloatFieldUpdateOperationsInput | number
  data_needed?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  data_evaluation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  voiceId?: Prisma.StringFieldUpdateOperationsInput | string
  concurrent_calls_limit?: Prisma.IntFieldUpdateOperationsInput | number
  conversation_retention_days?: Prisma.IntFieldUpdateOperationsInput | number
  daily_calls_limit?: Prisma.IntFieldUpdateOperationsInput | number
  enable_auth_for_agent_api?: Prisma.BoolFieldUpdateOperationsInput | boolean
  max_conversation_duration_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  optimize_streaming_latency?: Prisma.BoolFieldUpdateOperationsInput | boolean
  silence_end_call_timeout_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  store_call_audio?: Prisma.BoolFieldUpdateOperationsInput | boolean
  tokenLimit?: Prisma.IntFieldUpdateOperationsInput | number
  tts_output_format?: Prisma.StringFieldUpdateOperationsInput | string
  turn_timeout_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  update_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  use_flash_call?: Prisma.BoolFieldUpdateOperationsInput | boolean
  use_rag?: Prisma.BoolFieldUpdateOperationsInput | boolean
  user_input_audio_format?: Prisma.StringFieldUpdateOperationsInput | string
  voice_similarity_boost?: Prisma.FloatFieldUpdateOperationsInput | number
  voice_speed?: Prisma.FloatFieldUpdateOperationsInput | number
  voice_stability?: Prisma.FloatFieldUpdateOperationsInput | number
  zero_pii_retention?: Prisma.BoolFieldUpdateOperationsInput | boolean
  llmModel?: Prisma.StringFieldUpdateOperationsInput | string
  sttModel?: Prisma.StringFieldUpdateOperationsInput | string
  ttsModel?: Prisma.StringFieldUpdateOperationsInput | string
  agent_language?: Prisma.StringFieldUpdateOperationsInput | string
  initiation_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  post_call_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  variables?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  preemptive_generation?: Prisma.BoolFieldUpdateOperationsInput | boolean
  timezone?: Prisma.StringFieldUpdateOperationsInput | string
  agent?: Prisma.AgentUpdateOneRequiredWithoutConfigurationNestedInput
}

export type AgentConfigurationUncheckedUpdateInput = {
  agentConfigId?: Prisma.StringFieldUpdateOperationsInput | string
  agentId?: Prisma.StringFieldUpdateOperationsInput | string
  systemPrompt?: Prisma.StringFieldUpdateOperationsInput | string
  firstMessage?: Prisma.StringFieldUpdateOperationsInput | string
  temperature?: Prisma.FloatFieldUpdateOperationsInput | number
  data_needed?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  data_evaluation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  voiceId?: Prisma.StringFieldUpdateOperationsInput | string
  concurrent_calls_limit?: Prisma.IntFieldUpdateOperationsInput | number
  conversation_retention_days?: Prisma.IntFieldUpdateOperationsInput | number
  daily_calls_limit?: Prisma.IntFieldUpdateOperationsInput | number
  enable_auth_for_agent_api?: Prisma.BoolFieldUpdateOperationsInput | boolean
  max_conversation_duration_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  optimize_streaming_latency?: Prisma.BoolFieldUpdateOperationsInput | boolean
  silence_end_call_timeout_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  store_call_audio?: Prisma.BoolFieldUpdateOperationsInput | boolean
  tokenLimit?: Prisma.IntFieldUpdateOperationsInput | number
  tts_output_format?: Prisma.StringFieldUpdateOperationsInput | string
  turn_timeout_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  update_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  use_flash_call?: Prisma.BoolFieldUpdateOperationsInput | boolean
  use_rag?: Prisma.BoolFieldUpdateOperationsInput | boolean
  user_input_audio_format?: Prisma.StringFieldUpdateOperationsInput | string
  voice_similarity_boost?: Prisma.FloatFieldUpdateOperationsInput | number
  voice_speed?: Prisma.FloatFieldUpdateOperationsInput | number
  voice_stability?: Prisma.FloatFieldUpdateOperationsInput | number
  zero_pii_retention?: Prisma.BoolFieldUpdateOperationsInput | boolean
  llmModel?: Prisma.StringFieldUpdateOperationsInput | string
  sttModel?: Prisma.StringFieldUpdateOperationsInput | string
  ttsModel?: Prisma.StringFieldUpdateOperationsInput | string
  agent_language?: Prisma.StringFieldUpdateOperationsInput | string
  initiation_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  post_call_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  variables?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  preemptive_generation?: Prisma.BoolFieldUpdateOperationsInput | boolean
  timezone?: Prisma.StringFieldUpdateOperationsInput | string
}

export type AgentConfigurationCreateManyInput = {
  agentConfigId?: string
  agentId: string
  systemPrompt: string
  firstMessage: string
  temperature?: number
  data_needed?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  data_evaluation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  voiceId: string
  concurrent_calls_limit: number
  conversation_retention_days?: number
  daily_calls_limit: number
  enable_auth_for_agent_api?: boolean
  max_conversation_duration_seconds: number
  optimize_streaming_latency?: boolean
  silence_end_call_timeout_seconds: number
  store_call_audio?: boolean
  tokenLimit?: number
  tts_output_format?: string
  turn_timeout_seconds: number
  update_at?: Date | string
  use_flash_call?: boolean
  use_rag?: boolean
  user_input_audio_format: string
  voice_similarity_boost: number
  voice_speed: number
  voice_stability: number
  zero_pii_retention?: boolean
  llmModel?: string
  sttModel?: string
  ttsModel?: string
  agent_language?: string
  initiation_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  post_call_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  variables?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  preemptive_generation?: boolean
  timezone?: string
}

export type AgentConfigurationUpdateManyMutationInput = {
  agentConfigId?: Prisma.StringFieldUpdateOperationsInput | string
  systemPrompt?: Prisma.StringFieldUpdateOperationsInput | string
  firstMessage?: Prisma.StringFieldUpdateOperationsInput | string
  temperature?: Prisma.FloatFieldUpdateOperationsInput | number
  data_needed?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  data_evaluation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  voiceId?: Prisma.StringFieldUpdateOperationsInput | string
  concurrent_calls_limit?: Prisma.IntFieldUpdateOperationsInput | number
  conversation_retention_days?: Prisma.IntFieldUpdateOperationsInput | number
  daily_calls_limit?: Prisma.IntFieldUpdateOperationsInput | number
  enable_auth_for_agent_api?: Prisma.BoolFieldUpdateOperationsInput | boolean
  max_conversation_duration_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  optimize_streaming_latency?: Prisma.BoolFieldUpdateOperationsInput | boolean
  silence_end_call_timeout_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  store_call_audio?: Prisma.BoolFieldUpdateOperationsInput | boolean
  tokenLimit?: Prisma.IntFieldUpdateOperationsInput | number
  tts_output_format?: Prisma.StringFieldUpdateOperationsInput | string
  turn_timeout_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  update_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  use_flash_call?: Prisma.BoolFieldUpdateOperationsInput | boolean
  use_rag?: Prisma.BoolFieldUpdateOperationsInput | boolean
  user_input_audio_format?: Prisma.StringFieldUpdateOperationsInput | string
  voice_similarity_boost?: Prisma.FloatFieldUpdateOperationsInput | number
  voice_speed?: Prisma.FloatFieldUpdateOperationsInput | number
  voice_stability?: Prisma.FloatFieldUpdateOperationsInput | number
  zero_pii_retention?: Prisma.BoolFieldUpdateOperationsInput | boolean
  llmModel?: Prisma.StringFieldUpdateOperationsInput | string
  sttModel?: Prisma.StringFieldUpdateOperationsInput | string
  ttsModel?: Prisma.StringFieldUpdateOperationsInput | string
  agent_language?: Prisma.StringFieldUpdateOperationsInput | string
  initiation_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  post_call_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  variables?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  preemptive_generation?: Prisma.BoolFieldUpdateOperationsInput | boolean
  timezone?: Prisma.StringFieldUpdateOperationsInput | string
}

export type AgentConfigurationUncheckedUpdateManyInput = {
  agentConfigId?: Prisma.StringFieldUpdateOperationsInput | string
  agentId?: Prisma.StringFieldUpdateOperationsInput | string
  systemPrompt?: Prisma.StringFieldUpdateOperationsInput | string
  firstMessage?: Prisma.StringFieldUpdateOperationsInput | string
  temperature?: Prisma.FloatFieldUpdateOperationsInput | number
  data_needed?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  data_evaluation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  voiceId?: Prisma.StringFieldUpdateOperationsInput | string
  concurrent_calls_limit?: Prisma.IntFieldUpdateOperationsInput | number
  conversation_retention_days?: Prisma.IntFieldUpdateOperationsInput | number
  daily_calls_limit?: Prisma.IntFieldUpdateOperationsInput | number
  enable_auth_for_agent_api?: Prisma.BoolFieldUpdateOperationsInput | boolean
  max_conversation_duration_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  optimize_streaming_latency?: Prisma.BoolFieldUpdateOperationsInput | boolean
  silence_end_call_timeout_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  store_call_audio?: Prisma.BoolFieldUpdateOperationsInput | boolean
  tokenLimit?: Prisma.IntFieldUpdateOperationsInput | number
  tts_output_format?: Prisma.StringFieldUpdateOperationsInput | string
  turn_timeout_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  update_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  use_flash_call?: Prisma.BoolFieldUpdateOperationsInput | boolean
  use_rag?: Prisma.BoolFieldUpdateOperationsInput | boolean
  user_input_audio_format?: Prisma.StringFieldUpdateOperationsInput | string
  voice_similarity_boost?: Prisma.FloatFieldUpdateOperationsInput | number
  voice_speed?: Prisma.FloatFieldUpdateOperationsInput | number
  voice_stability?: Prisma.FloatFieldUpdateOperationsInput | number
  zero_pii_retention?: Prisma.BoolFieldUpdateOperationsInput | boolean
  llmModel?: Prisma.StringFieldUpdateOperationsInput | string
  sttModel?: Prisma.StringFieldUpdateOperationsInput | string
  ttsModel?: Prisma.StringFieldUpdateOperationsInput | string
  agent_language?: Prisma.StringFieldUpdateOperationsInput | string
  initiation_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  post_call_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  variables?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  preemptive_generation?: Prisma.BoolFieldUpdateOperationsInput | boolean
  timezone?: Prisma.StringFieldUpdateOperationsInput | string
}

export type AgentConfigurationNullableScalarRelationFilter = {
  is?: Prisma.AgentConfigurationWhereInput | null
  isNot?: Prisma.AgentConfigurationWhereInput | null
}

export type AgentConfigurationCountOrderByAggregateInput = {
  agentConfigId?: Prisma.SortOrder
  agentId?: Prisma.SortOrder
  systemPrompt?: Prisma.SortOrder
  firstMessage?: Prisma.SortOrder
  temperature?: Prisma.SortOrder
  data_needed?: Prisma.SortOrder
  data_evaluation?: Prisma.SortOrder
  voiceId?: Prisma.SortOrder
  concurrent_calls_limit?: Prisma.SortOrder
  conversation_retention_days?: Prisma.SortOrder
  daily_calls_limit?: Prisma.SortOrder
  enable_auth_for_agent_api?: Prisma.SortOrder
  max_conversation_duration_seconds?: Prisma.SortOrder
  optimize_streaming_latency?: Prisma.SortOrder
  silence_end_call_timeout_seconds?: Prisma.SortOrder
  store_call_audio?: Prisma.SortOrder
  tokenLimit?: Prisma.SortOrder
  tts_output_format?: Prisma.SortOrder
  turn_timeout_seconds?: Prisma.SortOrder
  update_at?: Prisma.SortOrder
  use_flash_call?: Prisma.SortOrder
  use_rag?: Prisma.SortOrder
  user_input_audio_format?: Prisma.SortOrder
  voice_similarity_boost?: Prisma.SortOrder
  voice_speed?: Prisma.SortOrder
  voice_stability?: Prisma.SortOrder
  zero_pii_retention?: Prisma.SortOrder
  llmModel?: Prisma.SortOrder
  sttModel?: Prisma.SortOrder
  ttsModel?: Prisma.SortOrder
  agent_language?: Prisma.SortOrder
  initiation_webhook?: Prisma.SortOrder
  post_call_webhook?: Prisma.SortOrder
  variables?: Prisma.SortOrder
  preemptive_generation?: Prisma.SortOrder
  timezone?: Prisma.SortOrder
}

export type AgentConfigurationAvgOrderByAggregateInput = {
  temperature?: Prisma.SortOrder
  concurrent_calls_limit?: Prisma.SortOrder
  conversation_retention_days?: Prisma.SortOrder
  daily_calls_limit?: Prisma.SortOrder
  max_conversation_duration_seconds?: Prisma.SortOrder
  silence_end_call_timeout_seconds?: Prisma.SortOrder
  tokenLimit?: Prisma.SortOrder
  turn_timeout_seconds?: Prisma.SortOrder
  voice_similarity_boost?: Prisma.SortOrder
  voice_speed?: Prisma.SortOrder
  voice_stability?: Prisma.SortOrder
}

export type AgentConfigurationMaxOrderByAggregateInput = {
  agentConfigId?: Prisma.SortOrder
  agentId?: Prisma.SortOrder
  systemPrompt?: Prisma.SortOrder
  firstMessage?: Prisma.SortOrder
  temperature?: Prisma.SortOrder
  voiceId?: Prisma.SortOrder
  concurrent_calls_limit?: Prisma.SortOrder
  conversation_retention_days?: Prisma.SortOrder
  daily_calls_limit?: Prisma.SortOrder
  enable_auth_for_agent_api?: Prisma.SortOrder
  max_conversation_duration_seconds?: Prisma.SortOrder
  optimize_streaming_latency?: Prisma.SortOrder
  silence_end_call_timeout_seconds?: Prisma.SortOrder
  store_call_audio?: Prisma.SortOrder
  tokenLimit?: Prisma.SortOrder
  tts_output_format?: Prisma.SortOrder
  turn_timeout_seconds?: Prisma.SortOrder
  update_at?: Prisma.SortOrder
  use_flash_call?: Prisma.SortOrder
  use_rag?: Prisma.SortOrder
  user_input_audio_format?: Prisma.SortOrder
  voice_similarity_boost?: Prisma.SortOrder
  voice_speed?: Prisma.SortOrder
  voice_stability?: Prisma.SortOrder
  zero_pii_retention?: Prisma.SortOrder
  llmModel?: Prisma.SortOrder
  sttModel?: Prisma.SortOrder
  ttsModel?: Prisma.SortOrder
  agent_language?: Prisma.SortOrder
  preemptive_generation?: Prisma.SortOrder
  timezone?: Prisma.SortOrder
}

export type AgentConfigurationMinOrderByAggregateInput = {
  agentConfigId?: Prisma.SortOrder
  agentId?: Prisma.SortOrder
  systemPrompt?: Prisma.SortOrder
  firstMessage?: Prisma.SortOrder
  temperature?: Prisma.SortOrder
  voiceId?: Prisma.SortOrder
  concurrent_calls_limit?: Prisma.SortOrder
  conversation_retention_days?: Prisma.SortOrder
  daily_calls_limit?: Prisma.SortOrder
  enable_auth_for_agent_api?: Prisma.SortOrder
  max_conversation_duration_seconds?: Prisma.SortOrder
  optimize_streaming_latency?: Prisma.SortOrder
  silence_end_call_timeout_seconds?: Prisma.SortOrder
  store_call_audio?: Prisma.SortOrder
  tokenLimit?: Prisma.SortOrder
  tts_output_format?: Prisma.SortOrder
  turn_timeout_seconds?: Prisma.SortOrder
  update_at?: Prisma.SortOrder
  use_flash_call?: Prisma.SortOrder
  use_rag?: Prisma.SortOrder
  user_input_audio_format?: Prisma.SortOrder
  voice_similarity_boost?: Prisma.SortOrder
  voice_speed?: Prisma.SortOrder
  voice_stability?: Prisma.SortOrder
  zero_pii_retention?: Prisma.SortOrder
  llmModel?: Prisma.SortOrder
  sttModel?: Prisma.SortOrder
  ttsModel?: Prisma.SortOrder
  agent_language?: Prisma.SortOrder
  preemptive_generation?: Prisma.SortOrder
  timezone?: Prisma.SortOrder
}

export type AgentConfigurationSumOrderByAggregateInput = {
  temperature?: Prisma.SortOrder
  concurrent_calls_limit?: Prisma.SortOrder
  conversation_retention_days?: Prisma.SortOrder
  daily_calls_limit?: Prisma.SortOrder
  max_conversation_duration_seconds?: Prisma.SortOrder
  silence_end_call_timeout_seconds?: Prisma.SortOrder
  tokenLimit?: Prisma.SortOrder
  turn_timeout_seconds?: Prisma.SortOrder
  voice_similarity_boost?: Prisma.SortOrder
  voice_speed?: Prisma.SortOrder
  voice_stability?: Prisma.SortOrder
}

export type AgentConfigurationCreateNestedOneWithoutAgentInput = {
  create?: Prisma.XOR<Prisma.AgentConfigurationCreateWithoutAgentInput, Prisma.AgentConfigurationUncheckedCreateWithoutAgentInput>
  connectOrCreate?: Prisma.AgentConfigurationCreateOrConnectWithoutAgentInput
  connect?: Prisma.AgentConfigurationWhereUniqueInput
}

export type AgentConfigurationUncheckedCreateNestedOneWithoutAgentInput = {
  create?: Prisma.XOR<Prisma.AgentConfigurationCreateWithoutAgentInput, Prisma.AgentConfigurationUncheckedCreateWithoutAgentInput>
  connectOrCreate?: Prisma.AgentConfigurationCreateOrConnectWithoutAgentInput
  connect?: Prisma.AgentConfigurationWhereUniqueInput
}

export type AgentConfigurationUpdateOneWithoutAgentNestedInput = {
  create?: Prisma.XOR<Prisma.AgentConfigurationCreateWithoutAgentInput, Prisma.AgentConfigurationUncheckedCreateWithoutAgentInput>
  connectOrCreate?: Prisma.AgentConfigurationCreateOrConnectWithoutAgentInput
  upsert?: Prisma.AgentConfigurationUpsertWithoutAgentInput
  disconnect?: Prisma.AgentConfigurationWhereInput | boolean
  delete?: Prisma.AgentConfigurationWhereInput | boolean
  connect?: Prisma.AgentConfigurationWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.AgentConfigurationUpdateToOneWithWhereWithoutAgentInput, Prisma.AgentConfigurationUpdateWithoutAgentInput>, Prisma.AgentConfigurationUncheckedUpdateWithoutAgentInput>
}

export type AgentConfigurationUncheckedUpdateOneWithoutAgentNestedInput = {
  create?: Prisma.XOR<Prisma.AgentConfigurationCreateWithoutAgentInput, Prisma.AgentConfigurationUncheckedCreateWithoutAgentInput>
  connectOrCreate?: Prisma.AgentConfigurationCreateOrConnectWithoutAgentInput
  upsert?: Prisma.AgentConfigurationUpsertWithoutAgentInput
  disconnect?: Prisma.AgentConfigurationWhereInput | boolean
  delete?: Prisma.AgentConfigurationWhereInput | boolean
  connect?: Prisma.AgentConfigurationWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.AgentConfigurationUpdateToOneWithWhereWithoutAgentInput, Prisma.AgentConfigurationUpdateWithoutAgentInput>, Prisma.AgentConfigurationUncheckedUpdateWithoutAgentInput>
}

export type FloatFieldUpdateOperationsInput = {
  set?: number
  increment?: number
  decrement?: number
  multiply?: number
  divide?: number
}

export type AgentConfigurationCreateWithoutAgentInput = {
  agentConfigId?: string
  systemPrompt: string
  firstMessage: string
  temperature?: number
  data_needed?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  data_evaluation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  voiceId: string
  concurrent_calls_limit: number
  conversation_retention_days?: number
  daily_calls_limit: number
  enable_auth_for_agent_api?: boolean
  max_conversation_duration_seconds: number
  optimize_streaming_latency?: boolean
  silence_end_call_timeout_seconds: number
  store_call_audio?: boolean
  tokenLimit?: number
  tts_output_format?: string
  turn_timeout_seconds: number
  update_at?: Date | string
  use_flash_call?: boolean
  use_rag?: boolean
  user_input_audio_format: string
  voice_similarity_boost: number
  voice_speed: number
  voice_stability: number
  zero_pii_retention?: boolean
  llmModel?: string
  sttModel?: string
  ttsModel?: string
  agent_language?: string
  initiation_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  post_call_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  variables?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  preemptive_generation?: boolean
  timezone?: string
}

export type AgentConfigurationUncheckedCreateWithoutAgentInput = {
  agentConfigId?: string
  systemPrompt: string
  firstMessage: string
  temperature?: number
  data_needed?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  data_evaluation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  voiceId: string
  concurrent_calls_limit: number
  conversation_retention_days?: number
  daily_calls_limit: number
  enable_auth_for_agent_api?: boolean
  max_conversation_duration_seconds: number
  optimize_streaming_latency?: boolean
  silence_end_call_timeout_seconds: number
  store_call_audio?: boolean
  tokenLimit?: number
  tts_output_format?: string
  turn_timeout_seconds: number
  update_at?: Date | string
  use_flash_call?: boolean
  use_rag?: boolean
  user_input_audio_format: string
  voice_similarity_boost: number
  voice_speed: number
  voice_stability: number
  zero_pii_retention?: boolean
  llmModel?: string
  sttModel?: string
  ttsModel?: string
  agent_language?: string
  initiation_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  post_call_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  variables?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  preemptive_generation?: boolean
  timezone?: string
}

export type AgentConfigurationCreateOrConnectWithoutAgentInput = {
  where: Prisma.AgentConfigurationWhereUniqueInput
  create: Prisma.XOR<Prisma.AgentConfigurationCreateWithoutAgentInput, Prisma.AgentConfigurationUncheckedCreateWithoutAgentInput>
}

export type AgentConfigurationUpsertWithoutAgentInput = {
  update: Prisma.XOR<Prisma.AgentConfigurationUpdateWithoutAgentInput, Prisma.AgentConfigurationUncheckedUpdateWithoutAgentInput>
  create: Prisma.XOR<Prisma.AgentConfigurationCreateWithoutAgentInput, Prisma.AgentConfigurationUncheckedCreateWithoutAgentInput>
  where?: Prisma.AgentConfigurationWhereInput
}

export type AgentConfigurationUpdateToOneWithWhereWithoutAgentInput = {
  where?: Prisma.AgentConfigurationWhereInput
  data: Prisma.XOR<Prisma.AgentConfigurationUpdateWithoutAgentInput, Prisma.AgentConfigurationUncheckedUpdateWithoutAgentInput>
}

export type AgentConfigurationUpdateWithoutAgentInput = {
  agentConfigId?: Prisma.StringFieldUpdateOperationsInput | string
  systemPrompt?: Prisma.StringFieldUpdateOperationsInput | string
  firstMessage?: Prisma.StringFieldUpdateOperationsInput | string
  temperature?: Prisma.FloatFieldUpdateOperationsInput | number
  data_needed?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  data_evaluation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  voiceId?: Prisma.StringFieldUpdateOperationsInput | string
  concurrent_calls_limit?: Prisma.IntFieldUpdateOperationsInput | number
  conversation_retention_days?: Prisma.IntFieldUpdateOperationsInput | number
  daily_calls_limit?: Prisma.IntFieldUpdateOperationsInput | number
  enable_auth_for_agent_api?: Prisma.BoolFieldUpdateOperationsInput | boolean
  max_conversation_duration_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  optimize_streaming_latency?: Prisma.BoolFieldUpdateOperationsInput | boolean
  silence_end_call_timeout_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  store_call_audio?: Prisma.BoolFieldUpdateOperationsInput | boolean
  tokenLimit?: Prisma.IntFieldUpdateOperationsInput | number
  tts_output_format?: Prisma.StringFieldUpdateOperationsInput | string
  turn_timeout_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  update_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  use_flash_call?: Prisma.BoolFieldUpdateOperationsInput | boolean
  use_rag?: Prisma.BoolFieldUpdateOperationsInput | boolean
  user_input_audio_format?: Prisma.StringFieldUpdateOperationsInput | string
  voice_similarity_boost?: Prisma.FloatFieldUpdateOperationsInput | number
  voice_speed?: Prisma.FloatFieldUpdateOperationsInput | number
  voice_stability?: Prisma.FloatFieldUpdateOperationsInput | number
  zero_pii_retention?: Prisma.BoolFieldUpdateOperationsInput | boolean
  llmModel?: Prisma.StringFieldUpdateOperationsInput | string
  sttModel?: Prisma.StringFieldUpdateOperationsInput | string
  ttsModel?: Prisma.StringFieldUpdateOperationsInput | string
  agent_language?: Prisma.StringFieldUpdateOperationsInput | string
  initiation_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  post_call_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  variables?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  preemptive_generation?: Prisma.BoolFieldUpdateOperationsInput | boolean
  timezone?: Prisma.StringFieldUpdateOperationsInput | string
}

export type AgentConfigurationUncheckedUpdateWithoutAgentInput = {
  agentConfigId?: Prisma.StringFieldUpdateOperationsInput | string
  systemPrompt?: Prisma.StringFieldUpdateOperationsInput | string
  firstMessage?: Prisma.StringFieldUpdateOperationsInput | string
  temperature?: Prisma.FloatFieldUpdateOperationsInput | number
  data_needed?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  data_evaluation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  voiceId?: Prisma.StringFieldUpdateOperationsInput | string
  concurrent_calls_limit?: Prisma.IntFieldUpdateOperationsInput | number
  conversation_retention_days?: Prisma.IntFieldUpdateOperationsInput | number
  daily_calls_limit?: Prisma.IntFieldUpdateOperationsInput | number
  enable_auth_for_agent_api?: Prisma.BoolFieldUpdateOperationsInput | boolean
  max_conversation_duration_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  optimize_streaming_latency?: Prisma.BoolFieldUpdateOperationsInput | boolean
  silence_end_call_timeout_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  store_call_audio?: Prisma.BoolFieldUpdateOperationsInput | boolean
  tokenLimit?: Prisma.IntFieldUpdateOperationsInput | number
  tts_output_format?: Prisma.StringFieldUpdateOperationsInput | string
  turn_timeout_seconds?: Prisma.IntFieldUpdateOperationsInput | number
  update_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  use_flash_call?: Prisma.BoolFieldUpdateOperationsInput | boolean
  use_rag?: Prisma.BoolFieldUpdateOperationsInput | boolean
  user_input_audio_format?: Prisma.StringFieldUpdateOperationsInput | string
  voice_similarity_boost?: Prisma.FloatFieldUpdateOperationsInput | number
  voice_speed?: Prisma.FloatFieldUpdateOperationsInput | number
  voice_stability?: Prisma.FloatFieldUpdateOperationsInput | number
  zero_pii_retention?: Prisma.BoolFieldUpdateOperationsInput | boolean
  llmModel?: Prisma.StringFieldUpdateOperationsInput | string
  sttModel?: Prisma.StringFieldUpdateOperationsInput | string
  ttsModel?: Prisma.StringFieldUpdateOperationsInput | string
  agent_language?: Prisma.StringFieldUpdateOperationsInput | string
  initiation_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  post_call_webhook?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  variables?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  preemptive_generation?: Prisma.BoolFieldUpdateOperationsInput | boolean
  timezone?: Prisma.StringFieldUpdateOperationsInput | string
}



export type AgentConfigurationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  agentConfigId?: boolean
  agentId?: boolean
  systemPrompt?: boolean
  firstMessage?: boolean
  temperature?: boolean
  data_needed?: boolean
  data_evaluation?: boolean
  voiceId?: boolean
  concurrent_calls_limit?: boolean
  conversation_retention_days?: boolean
  daily_calls_limit?: boolean
  enable_auth_for_agent_api?: boolean
  max_conversation_duration_seconds?: boolean
  optimize_streaming_latency?: boolean
  silence_end_call_timeout_seconds?: boolean
  store_call_audio?: boolean
  tokenLimit?: boolean
  tts_output_format?: boolean
  turn_timeout_seconds?: boolean
  update_at?: boolean
  use_flash_call?: boolean
  use_rag?: boolean
  user_input_audio_format?: boolean
  voice_similarity_boost?: boolean
  voice_speed?: boolean
  voice_stability?: boolean
  zero_pii_retention?: boolean
  llmModel?: boolean
  sttModel?: boolean
  ttsModel?: boolean
  agent_language?: boolean
  initiation_webhook?: boolean
  post_call_webhook?: boolean
  variables?: boolean
  preemptive_generation?: boolean
  timezone?: boolean
  agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
}, ExtArgs["result"]["agentConfiguration"]>

export type AgentConfigurationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  agentConfigId?: boolean
  agentId?: boolean
  systemPrompt?: boolean
  firstMessage?: boolean
  temperature?: boolean
  data_needed?: boolean
  data_evaluation?: boolean
  voiceId?: boolean
  concurrent_calls_limit?: boolean
  conversation_retention_days?: boolean
  daily_calls_limit?: boolean
  enable_auth_for_agent_api?: boolean
  max_conversation_duration_seconds?: boolean
  optimize_streaming_latency?: boolean
  silence_end_call_timeout_seconds?: boolean
  store_call_audio?: boolean
  tokenLimit?: boolean
  tts_output_format?: boolean
  turn_timeout_seconds?: boolean
  update_at?: boolean
  use_flash_call?: boolean
  use_rag?: boolean
  user_input_audio_format?: boolean
  voice_similarity_boost?: boolean
  voice_speed?: boolean
  voice_stability?: boolean
  zero_pii_retention?: boolean
  llmModel?: boolean
  sttModel?: boolean
  ttsModel?: boolean
  agent_language?: boolean
  initiation_webhook?: boolean
  post_call_webhook?: boolean
  variables?: boolean
  preemptive_generation?: boolean
  timezone?: boolean
  agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
}, ExtArgs["result"]["agentConfiguration"]>

export type AgentConfigurationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  agentConfigId?: boolean
  agentId?: boolean
  systemPrompt?: boolean
  firstMessage?: boolean
  temperature?: boolean
  data_needed?: boolean
  data_evaluation?: boolean
  voiceId?: boolean
  concurrent_calls_limit?: boolean
  conversation_retention_days?: boolean
  daily_calls_limit?: boolean
  enable_auth_for_agent_api?: boolean
  max_conversation_duration_seconds?: boolean
  optimize_streaming_latency?: boolean
  silence_end_call_timeout_seconds?: boolean
  store_call_audio?: boolean
  tokenLimit?: boolean
  tts_output_format?: boolean
  turn_timeout_seconds?: boolean
  update_at?: boolean
  use_flash_call?: boolean
  use_rag?: boolean
  user_input_audio_format?: boolean
  voice_similarity_boost?: boolean
  voice_speed?: boolean
  voice_stability?: boolean
  zero_pii_retention?: boolean
  llmModel?: boolean
  sttModel?: boolean
  ttsModel?: boolean
  agent_language?: boolean
  initiation_webhook?: boolean
  post_call_webhook?: boolean
  variables?: boolean
  preemptive_generation?: boolean
  timezone?: boolean
  agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
}, ExtArgs["result"]["agentConfiguration"]>

export type AgentConfigurationSelectScalar = {
  agentConfigId?: boolean
  agentId?: boolean
  systemPrompt?: boolean
  firstMessage?: boolean
  temperature?: boolean
  data_needed?: boolean
  data_evaluation?: boolean
  voiceId?: boolean
  concurrent_calls_limit?: boolean
  conversation_retention_days?: boolean
  daily_calls_limit?: boolean
  enable_auth_for_agent_api?: boolean
  max_conversation_duration_seconds?: boolean
  optimize_streaming_latency?: boolean
  silence_end_call_timeout_seconds?: boolean
  store_call_audio?: boolean
  tokenLimit?: boolean
  tts_output_format?: boolean
  turn_timeout_seconds?: boolean
  update_at?: boolean
  use_flash_call?: boolean
  use_rag?: boolean
  user_input_audio_format?: boolean
  voice_similarity_boost?: boolean
  voice_speed?: boolean
  voice_stability?: boolean
  zero_pii_retention?: boolean
  llmModel?: boolean
  sttModel?: boolean
  ttsModel?: boolean
  agent_language?: boolean
  initiation_webhook?: boolean
  post_call_webhook?: boolean
  variables?: boolean
  preemptive_generation?: boolean
  timezone?: boolean
}

export type AgentConfigurationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"agentConfigId" | "agentId" | "systemPrompt" | "firstMessage" | "temperature" | "data_needed" | "data_evaluation" | "voiceId" | "concurrent_calls_limit" | "conversation_retention_days" | "daily_calls_limit" | "enable_auth_for_agent_api" | "max_conversation_duration_seconds" | "optimize_streaming_latency" | "silence_end_call_timeout_seconds" | "store_call_audio" | "tokenLimit" | "tts_output_format" | "turn_timeout_seconds" | "update_at" | "use_flash_call" | "use_rag" | "user_input_audio_format" | "voice_similarity_boost" | "voice_speed" | "voice_stability" | "zero_pii_retention" | "llmModel" | "sttModel" | "ttsModel" | "agent_language" | "initiation_webhook" | "post_call_webhook" | "variables" | "preemptive_generation" | "timezone", ExtArgs["result"]["agentConfiguration"]>
export type AgentConfigurationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
}
export type AgentConfigurationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
}
export type AgentConfigurationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
}

export type $AgentConfigurationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "AgentConfiguration"
  objects: {
    agent: Prisma.$AgentPayload<ExtArgs>
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    agentConfigId: string
    agentId: string
    systemPrompt: string
    firstMessage: string
    temperature: number
    data_needed: runtime.JsonValue | null
    data_evaluation: runtime.JsonValue | null
    voiceId: string
    concurrent_calls_limit: number
    conversation_retention_days: number
    daily_calls_limit: number
    enable_auth_for_agent_api: boolean
    max_conversation_duration_seconds: number
    optimize_streaming_latency: boolean
    silence_end_call_timeout_seconds: number
    store_call_audio: boolean
    tokenLimit: number
    tts_output_format: string
    turn_timeout_seconds: number
    update_at: Date
    use_flash_call: boolean
    use_rag: boolean
    user_input_audio_format: string
    voice_similarity_boost: number
    voice_speed: number
    voice_stability: number
    zero_pii_retention: boolean
    llmModel: string
    sttModel: string
    ttsModel: string
    agent_language: string
    initiation_webhook: runtime.JsonValue | null
    post_call_webhook: runtime.JsonValue | null
    variables: runtime.JsonValue | null
    preemptive_generation: boolean
    timezone: string
  }, ExtArgs["result"]["agentConfiguration"]>
  composites: {}
}

export type AgentConfigurationGetPayload<S extends boolean | null | undefined | AgentConfigurationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AgentConfigurationPayload, S>

export type AgentConfigurationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
  Omit<AgentConfigurationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: AgentConfigurationCountAggregateInputType | true
  }

export interface AgentConfigurationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AgentConfiguration'], meta: { name: 'AgentConfiguration' } }
  /**
   * Find zero or one AgentConfiguration that matches the filter.
   * @param {AgentConfigurationFindUniqueArgs} args - Arguments to find a AgentConfiguration
   * @example
   * // Get one AgentConfiguration
   * const agentConfiguration = await prisma.agentConfiguration.findUnique({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUnique<T extends AgentConfigurationFindUniqueArgs>(args: Prisma.SelectSubset<T, AgentConfigurationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AgentConfigurationClient<runtime.Types.Result.GetResult<Prisma.$AgentConfigurationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find one AgentConfiguration that matches the filter or throw an error with `error.code='P2025'`
   * if no matches were found.
   * @param {AgentConfigurationFindUniqueOrThrowArgs} args - Arguments to find a AgentConfiguration
   * @example
   * // Get one AgentConfiguration
   * const agentConfiguration = await prisma.agentConfiguration.findUniqueOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUniqueOrThrow<T extends AgentConfigurationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AgentConfigurationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentConfigurationClient<runtime.Types.Result.GetResult<Prisma.$AgentConfigurationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first AgentConfiguration that matches the filter.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {AgentConfigurationFindFirstArgs} args - Arguments to find a AgentConfiguration
   * @example
   * // Get one AgentConfiguration
   * const agentConfiguration = await prisma.agentConfiguration.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends AgentConfigurationFindFirstArgs>(args?: Prisma.SelectSubset<T, AgentConfigurationFindFirstArgs<ExtArgs>>): Prisma.Prisma__AgentConfigurationClient<runtime.Types.Result.GetResult<Prisma.$AgentConfigurationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first AgentConfiguration that matches the filter or
   * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {AgentConfigurationFindFirstOrThrowArgs} args - Arguments to find a AgentConfiguration
   * @example
   * // Get one AgentConfiguration
   * const agentConfiguration = await prisma.agentConfiguration.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends AgentConfigurationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AgentConfigurationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentConfigurationClient<runtime.Types.Result.GetResult<Prisma.$AgentConfigurationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more AgentConfigurations that matches the filter.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {AgentConfigurationFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all AgentConfigurations
   * const agentConfigurations = await prisma.agentConfiguration.findMany()
   * 
   * // Get first 10 AgentConfigurations
   * const agentConfigurations = await prisma.agentConfiguration.findMany({ take: 10 })
   * 
   * // Only select the `agentConfigId`
   * const agentConfigurationWithAgentConfigIdOnly = await prisma.agentConfiguration.findMany({ select: { agentConfigId: true } })
   * 
   */
  findMany<T extends AgentConfigurationFindManyArgs>(args?: Prisma.SelectSubset<T, AgentConfigurationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentConfigurationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

  /**
   * Create a AgentConfiguration.
   * @param {AgentConfigurationCreateArgs} args - Arguments to create a AgentConfiguration.
   * @example
   * // Create one AgentConfiguration
   * const AgentConfiguration = await prisma.agentConfiguration.create({
   *   data: {
   *     // ... data to create a AgentConfiguration
   *   }
   * })
   * 
   */
  create<T extends AgentConfigurationCreateArgs>(args: Prisma.SelectSubset<T, AgentConfigurationCreateArgs<ExtArgs>>): Prisma.Prisma__AgentConfigurationClient<runtime.Types.Result.GetResult<Prisma.$AgentConfigurationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Create many AgentConfigurations.
   * @param {AgentConfigurationCreateManyArgs} args - Arguments to create many AgentConfigurations.
   * @example
   * // Create many AgentConfigurations
   * const agentConfiguration = await prisma.agentConfiguration.createMany({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   *     
   */
  createMany<T extends AgentConfigurationCreateManyArgs>(args?: Prisma.SelectSubset<T, AgentConfigurationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Create many AgentConfigurations and returns the data saved in the database.
   * @param {AgentConfigurationCreateManyAndReturnArgs} args - Arguments to create many AgentConfigurations.
   * @example
   * // Create many AgentConfigurations
   * const agentConfiguration = await prisma.agentConfiguration.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many AgentConfigurations and only return the `agentConfigId`
   * const agentConfigurationWithAgentConfigIdOnly = await prisma.agentConfiguration.createManyAndReturn({
   *   select: { agentConfigId: true },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  createManyAndReturn<T extends AgentConfigurationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AgentConfigurationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentConfigurationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

  /**
   * Delete a AgentConfiguration.
   * @param {AgentConfigurationDeleteArgs} args - Arguments to delete one AgentConfiguration.
   * @example
   * // Delete one AgentConfiguration
   * const AgentConfiguration = await prisma.agentConfiguration.delete({
   *   where: {
   *     // ... filter to delete one AgentConfiguration
   *   }
   * })
   * 
   */
  delete<T extends AgentConfigurationDeleteArgs>(args: Prisma.SelectSubset<T, AgentConfigurationDeleteArgs<ExtArgs>>): Prisma.Prisma__AgentConfigurationClient<runtime.Types.Result.GetResult<Prisma.$AgentConfigurationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Update one AgentConfiguration.
   * @param {AgentConfigurationUpdateArgs} args - Arguments to update one AgentConfiguration.
   * @example
   * // Update one AgentConfiguration
   * const agentConfiguration = await prisma.agentConfiguration.update({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  update<T extends AgentConfigurationUpdateArgs>(args: Prisma.SelectSubset<T, AgentConfigurationUpdateArgs<ExtArgs>>): Prisma.Prisma__AgentConfigurationClient<runtime.Types.Result.GetResult<Prisma.$AgentConfigurationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Delete zero or more AgentConfigurations.
   * @param {AgentConfigurationDeleteManyArgs} args - Arguments to filter AgentConfigurations to delete.
   * @example
   * // Delete a few AgentConfigurations
   * const { count } = await prisma.agentConfiguration.deleteMany({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   * 
   */
  deleteMany<T extends AgentConfigurationDeleteManyArgs>(args?: Prisma.SelectSubset<T, AgentConfigurationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more AgentConfigurations.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {AgentConfigurationUpdateManyArgs} args - Arguments to update one or more rows.
   * @example
   * // Update many AgentConfigurations
   * const agentConfiguration = await prisma.agentConfiguration.updateMany({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  updateMany<T extends AgentConfigurationUpdateManyArgs>(args: Prisma.SelectSubset<T, AgentConfigurationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more AgentConfigurations and returns the data updated in the database.
   * @param {AgentConfigurationUpdateManyAndReturnArgs} args - Arguments to update many AgentConfigurations.
   * @example
   * // Update many AgentConfigurations
   * const agentConfiguration = await prisma.agentConfiguration.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more AgentConfigurations and only return the `agentConfigId`
   * const agentConfigurationWithAgentConfigIdOnly = await prisma.agentConfiguration.updateManyAndReturn({
   *   select: { agentConfigId: true },
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  updateManyAndReturn<T extends AgentConfigurationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AgentConfigurationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentConfigurationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

  /**
   * Create or update one AgentConfiguration.
   * @param {AgentConfigurationUpsertArgs} args - Arguments to update or create a AgentConfiguration.
   * @example
   * // Update or create a AgentConfiguration
   * const agentConfiguration = await prisma.agentConfiguration.upsert({
   *   create: {
   *     // ... data to create a AgentConfiguration
   *   },
   *   update: {
   *     // ... in case it already exists, update
   *   },
   *   where: {
   *     // ... the filter for the AgentConfiguration we want to update
   *   }
   * })
   */
  upsert<T extends AgentConfigurationUpsertArgs>(args: Prisma.SelectSubset<T, AgentConfigurationUpsertArgs<ExtArgs>>): Prisma.Prisma__AgentConfigurationClient<runtime.Types.Result.GetResult<Prisma.$AgentConfigurationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>


  /**
   * Count the number of AgentConfigurations.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {AgentConfigurationCountArgs} args - Arguments to filter AgentConfigurations to count.
   * @example
   * // Count the number of AgentConfigurations
   * const count = await prisma.agentConfiguration.count({
   *   where: {
   *     // ... the filter for the AgentConfigurations we want to count
   *   }
   * })
  **/
  count<T extends AgentConfigurationCountArgs>(
    args?: Prisma.Subset<T, AgentConfigurationCountArgs>,
  ): Prisma.PrismaPromise<
    T extends runtime.Types.Utils.Record<'select', any>
      ? T['select'] extends true
        ? number
        : Prisma.GetScalarType<T['select'], AgentConfigurationCountAggregateOutputType>
      : number
  >

  /**
   * Allows you to perform aggregations operations on a AgentConfiguration.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {AgentConfigurationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
   * @example
   * // Ordered by age ascending
   * // Where email contains prisma.io
   * // Limited to the 10 users
   * const aggregations = await prisma.user.aggregate({
   *   _avg: {
   *     age: true,
   *   },
   *   where: {
   *     email: {
   *       contains: "prisma.io",
   *     },
   *   },
   *   orderBy: {
   *     age: "asc",
   *   },
   *   take: 10,
   * })
  **/
  aggregate<T extends AgentConfigurationAggregateArgs>(args: Prisma.Subset<T, AgentConfigurationAggregateArgs>): Prisma.PrismaPromise<GetAgentConfigurationAggregateType<T>>

  /**
   * Group by AgentConfiguration.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {AgentConfigurationGroupByArgs} args - Group by arguments.
   * @example
   * // Group by city, order by createdAt, get count
   * const result = await prisma.user.groupBy({
   *   by: ['city', 'createdAt'],
   *   orderBy: {
   *     createdAt: true
   *   },
   *   _count: {
   *     _all: true
   *   },
   * })
   * 
  **/
  groupBy<
    T extends AgentConfigurationGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: AgentConfigurationGroupByArgs['orderBy'] }
      : { orderBy?: AgentConfigurationGroupByArgs['orderBy'] },
    OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
    ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
    ByValid extends Prisma.Has<ByFields, OrderFields>,
    HavingFields extends Prisma.GetHavingFields<T['having']>,
    HavingValid extends Prisma.Has<ByFields, HavingFields>,
    ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
    InputErrors extends ByEmpty extends Prisma.True
    ? `Error: "by" must not be empty.`
    : HavingValid extends Prisma.False
    ? {
        [P in HavingFields]: P extends ByFields
          ? never
          : P extends string
          ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
          : [
              Error,
              'Field ',
              P,
              ` in "having" needs to be provided in "by"`,
            ]
      }[HavingFields]
    : 'take' extends Prisma.Keys<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? ByValid extends Prisma.True
        ? {}
        : {
            [P in OrderFields]: P extends ByFields
              ? never
              : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
          }[OrderFields]
      : 'Error: If you provide "take", you also need to provide "orderBy"'
    : 'skip' extends Prisma.Keys<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? ByValid extends Prisma.True
        ? {}
        : {
            [P in OrderFields]: P extends ByFields
              ? never
              : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
          }[OrderFields]
      : 'Error: If you provide "skip", you also need to provide "orderBy"'
    : ByValid extends Prisma.True
    ? {}
    : {
        [P in OrderFields]: P extends ByFields
          ? never
          : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
      }[OrderFields]
  >(args: Prisma.SubsetIntersection<T, AgentConfigurationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAgentConfigurationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the AgentConfiguration model
 */
readonly fields: AgentConfigurationFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for AgentConfiguration.
 * Why is this prefixed with `Prisma__`?
 * Because we want to prevent naming conflicts as mentioned in
 * https://github.com/prisma/prisma-client-js/issues/707
 */
export interface Prisma__AgentConfigurationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  agent<T extends Prisma.AgentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentDefaultArgs<ExtArgs>>): Prisma.Prisma__AgentClient<runtime.Types.Result.GetResult<Prisma.$AgentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  /**
   * Attaches callbacks for the resolution and/or rejection of the Promise.
   * @param onfulfilled The callback to execute when the Promise is resolved.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of which ever callback is executed.
   */
  then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
  /**
   * Attaches a callback for only the rejection of the Promise.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of the callback.
   */
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
  /**
   * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
   * resolved value cannot be modified from the callback.
   * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
   * @returns A Promise for the completion of the callback.
   */
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}




/**
 * Fields of the AgentConfiguration model
 */
export interface AgentConfigurationFieldRefs {
  readonly agentConfigId: Prisma.FieldRef<"AgentConfiguration", 'String'>
  readonly agentId: Prisma.FieldRef<"AgentConfiguration", 'String'>
  readonly systemPrompt: Prisma.FieldRef<"AgentConfiguration", 'String'>
  readonly firstMessage: Prisma.FieldRef<"AgentConfiguration", 'String'>
  readonly temperature: Prisma.FieldRef<"AgentConfiguration", 'Float'>
  readonly data_needed: Prisma.FieldRef<"AgentConfiguration", 'Json'>
  readonly data_evaluation: Prisma.FieldRef<"AgentConfiguration", 'Json'>
  readonly voiceId: Prisma.FieldRef<"AgentConfiguration", 'String'>
  readonly concurrent_calls_limit: Prisma.FieldRef<"AgentConfiguration", 'Int'>
  readonly conversation_retention_days: Prisma.FieldRef<"AgentConfiguration", 'Int'>
  readonly daily_calls_limit: Prisma.FieldRef<"AgentConfiguration", 'Int'>
  readonly enable_auth_for_agent_api: Prisma.FieldRef<"AgentConfiguration", 'Boolean'>
  readonly max_conversation_duration_seconds: Prisma.FieldRef<"AgentConfiguration", 'Int'>
  readonly optimize_streaming_latency: Prisma.FieldRef<"AgentConfiguration", 'Boolean'>
  readonly silence_end_call_timeout_seconds: Prisma.FieldRef<"AgentConfiguration", 'Int'>
  readonly store_call_audio: Prisma.FieldRef<"AgentConfiguration", 'Boolean'>
  readonly tokenLimit: Prisma.FieldRef<"AgentConfiguration", 'Int'>
  readonly tts_output_format: Prisma.FieldRef<"AgentConfiguration", 'String'>
  readonly turn_timeout_seconds: Prisma.FieldRef<"AgentConfiguration", 'Int'>
  readonly update_at: Prisma.FieldRef<"AgentConfiguration", 'DateTime'>
  readonly use_flash_call: Prisma.FieldRef<"AgentConfiguration", 'Boolean'>
  readonly use_rag: Prisma.FieldRef<"AgentConfiguration", 'Boolean'>
  readonly user_input_audio_format: Prisma.FieldRef<"AgentConfiguration", 'String'>
  readonly voice_similarity_boost: Prisma.FieldRef<"AgentConfiguration", 'Float'>
  readonly voice_speed: Prisma.FieldRef<"AgentConfiguration", 'Float'>
  readonly voice_stability: Prisma.FieldRef<"AgentConfiguration", 'Float'>
  readonly zero_pii_retention: Prisma.FieldRef<"AgentConfiguration", 'Boolean'>
  readonly llmModel: Prisma.FieldRef<"AgentConfiguration", 'String'>
  readonly sttModel: Prisma.FieldRef<"AgentConfiguration", 'String'>
  readonly ttsModel: Prisma.FieldRef<"AgentConfiguration", 'String'>
  readonly agent_language: Prisma.FieldRef<"AgentConfiguration", 'String'>
  readonly initiation_webhook: Prisma.FieldRef<"AgentConfiguration", 'Json'>
  readonly post_call_webhook: Prisma.FieldRef<"AgentConfiguration", 'Json'>
  readonly variables: Prisma.FieldRef<"AgentConfiguration", 'Json'>
  readonly preemptive_generation: Prisma.FieldRef<"AgentConfiguration", 'Boolean'>
  readonly timezone: Prisma.FieldRef<"AgentConfiguration", 'String'>
}
    

// Custom InputTypes
/**
 * AgentConfiguration findUnique
 */
export type AgentConfigurationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AgentConfiguration
   */
  select?: Prisma.AgentConfigurationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AgentConfiguration
   */
  omit?: Prisma.AgentConfigurationOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.AgentConfigurationInclude<ExtArgs> | null
  /**
   * Filter, which AgentConfiguration to fetch.
   */
  where: Prisma.AgentConfigurationWhereUniqueInput
}

/**
 * AgentConfiguration findUniqueOrThrow
 */
export type AgentConfigurationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AgentConfiguration
   */
  select?: Prisma.AgentConfigurationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AgentConfiguration
   */
  omit?: Prisma.AgentConfigurationOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.AgentConfigurationInclude<ExtArgs> | null
  /**
   * Filter, which AgentConfiguration to fetch.
   */
  where: Prisma.AgentConfigurationWhereUniqueInput
}

/**
 * AgentConfiguration findFirst
 */
export type AgentConfigurationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AgentConfiguration
   */
  select?: Prisma.AgentConfigurationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AgentConfiguration
   */
  omit?: Prisma.AgentConfigurationOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.AgentConfigurationInclude<ExtArgs> | null
  /**
   * Filter, which AgentConfiguration to fetch.
   */
  where?: Prisma.AgentConfigurationWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of AgentConfigurations to fetch.
   */
  orderBy?: Prisma.AgentConfigurationOrderByWithRelationInput | Prisma.AgentConfigurationOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for AgentConfigurations.
   */
  cursor?: Prisma.AgentConfigurationWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` AgentConfigurations from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` AgentConfigurations.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of AgentConfigurations.
   */
  distinct?: Prisma.AgentConfigurationScalarFieldEnum | Prisma.AgentConfigurationScalarFieldEnum[]
}

/**
 * AgentConfiguration findFirstOrThrow
 */
export type AgentConfigurationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AgentConfiguration
   */
  select?: Prisma.AgentConfigurationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AgentConfiguration
   */
  omit?: Prisma.AgentConfigurationOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.AgentConfigurationInclude<ExtArgs> | null
  /**
   * Filter, which AgentConfiguration to fetch.
   */
  where?: Prisma.AgentConfigurationWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of AgentConfigurations to fetch.
   */
  orderBy?: Prisma.AgentConfigurationOrderByWithRelationInput | Prisma.AgentConfigurationOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for AgentConfigurations.
   */
  cursor?: Prisma.AgentConfigurationWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` AgentConfigurations from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` AgentConfigurations.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of AgentConfigurations.
   */
  distinct?: Prisma.AgentConfigurationScalarFieldEnum | Prisma.AgentConfigurationScalarFieldEnum[]
}

/**
 * AgentConfiguration findMany
 */
export type AgentConfigurationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AgentConfiguration
   */
  select?: Prisma.AgentConfigurationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AgentConfiguration
   */
  omit?: Prisma.AgentConfigurationOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.AgentConfigurationInclude<ExtArgs> | null
  /**
   * Filter, which AgentConfigurations to fetch.
   */
  where?: Prisma.AgentConfigurationWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of AgentConfigurations to fetch.
   */
  orderBy?: Prisma.AgentConfigurationOrderByWithRelationInput | Prisma.AgentConfigurationOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing AgentConfigurations.
   */
  cursor?: Prisma.AgentConfigurationWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` AgentConfigurations from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` AgentConfigurations.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of AgentConfigurations.
   */
  distinct?: Prisma.AgentConfigurationScalarFieldEnum | Prisma.AgentConfigurationScalarFieldEnum[]
}

/**
 * AgentConfiguration create
 */
export type AgentConfigurationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AgentConfiguration
   */
  select?: Prisma.AgentConfigurationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AgentConfiguration
   */
  omit?: Prisma.AgentConfigurationOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.AgentConfigurationInclude<ExtArgs> | null
  /**
   * The data needed to create a AgentConfiguration.
   */
  data: Prisma.XOR<Prisma.AgentConfigurationCreateInput, Prisma.AgentConfigurationUncheckedCreateInput>
}

/**
 * AgentConfiguration createMany
 */
export type AgentConfigurationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many AgentConfigurations.
   */
  data: Prisma.AgentConfigurationCreateManyInput | Prisma.AgentConfigurationCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * AgentConfiguration createManyAndReturn
 */
export type AgentConfigurationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AgentConfiguration
   */
  select?: Prisma.AgentConfigurationSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the AgentConfiguration
   */
  omit?: Prisma.AgentConfigurationOmit<ExtArgs> | null
  /**
   * The data used to create many AgentConfigurations.
   */
  data: Prisma.AgentConfigurationCreateManyInput | Prisma.AgentConfigurationCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.AgentConfigurationIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * AgentConfiguration update
 */
export type AgentConfigurationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AgentConfiguration
   */
  select?: Prisma.AgentConfigurationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AgentConfiguration
   */
  omit?: Prisma.AgentConfigurationOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.AgentConfigurationInclude<ExtArgs> | null
  /**
   * The data needed to update a AgentConfiguration.
   */
  data: Prisma.XOR<Prisma.AgentConfigurationUpdateInput, Prisma.AgentConfigurationUncheckedUpdateInput>
  /**
   * Choose, which AgentConfiguration to update.
   */
  where: Prisma.AgentConfigurationWhereUniqueInput
}

/**
 * AgentConfiguration updateMany
 */
export type AgentConfigurationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update AgentConfigurations.
   */
  data: Prisma.XOR<Prisma.AgentConfigurationUpdateManyMutationInput, Prisma.AgentConfigurationUncheckedUpdateManyInput>
  /**
   * Filter which AgentConfigurations to update
   */
  where?: Prisma.AgentConfigurationWhereInput
  /**
   * Limit how many AgentConfigurations to update.
   */
  limit?: number
}

/**
 * AgentConfiguration updateManyAndReturn
 */
export type AgentConfigurationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AgentConfiguration
   */
  select?: Prisma.AgentConfigurationSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the AgentConfiguration
   */
  omit?: Prisma.AgentConfigurationOmit<ExtArgs> | null
  /**
   * The data used to update AgentConfigurations.
   */
  data: Prisma.XOR<Prisma.AgentConfigurationUpdateManyMutationInput, Prisma.AgentConfigurationUncheckedUpdateManyInput>
  /**
   * Filter which AgentConfigurations to update
   */
  where?: Prisma.AgentConfigurationWhereInput
  /**
   * Limit how many AgentConfigurations to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.AgentConfigurationIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * AgentConfiguration upsert
 */
export type AgentConfigurationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AgentConfiguration
   */
  select?: Prisma.AgentConfigurationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AgentConfiguration
   */
  omit?: Prisma.AgentConfigurationOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.AgentConfigurationInclude<ExtArgs> | null
  /**
   * The filter to search for the AgentConfiguration to update in case it exists.
   */
  where: Prisma.AgentConfigurationWhereUniqueInput
  /**
   * In case the AgentConfiguration found by the `where` argument doesn't exist, create a new AgentConfiguration with this data.
   */
  create: Prisma.XOR<Prisma.AgentConfigurationCreateInput, Prisma.AgentConfigurationUncheckedCreateInput>
  /**
   * In case the AgentConfiguration was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.AgentConfigurationUpdateInput, Prisma.AgentConfigurationUncheckedUpdateInput>
}

/**
 * AgentConfiguration delete
 */
export type AgentConfigurationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AgentConfiguration
   */
  select?: Prisma.AgentConfigurationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AgentConfiguration
   */
  omit?: Prisma.AgentConfigurationOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.AgentConfigurationInclude<ExtArgs> | null
  /**
   * Filter which AgentConfiguration to delete.
   */
  where: Prisma.AgentConfigurationWhereUniqueInput
}

/**
 * AgentConfiguration deleteMany
 */
export type AgentConfigurationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which AgentConfigurations to delete
   */
  where?: Prisma.AgentConfigurationWhereInput
  /**
   * Limit how many AgentConfigurations to delete.
   */
  limit?: number
}

/**
 * AgentConfiguration without action
 */
export type AgentConfigurationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AgentConfiguration
   */
  select?: Prisma.AgentConfigurationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AgentConfiguration
   */
  omit?: Prisma.AgentConfigurationOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.AgentConfigurationInclude<ExtArgs> | null
}
