// AUTO-GENERATED by mercato generate entity-ids
// Static registry for entity fields - eliminates dynamic imports for Turbopack compatibility
export const entityFieldsRegistry: Record<string, Record<string, string>> = {
    "ai_agent_mutation_policy_override": {
      "id": "id",
      "tenant_id": "tenant_id",
      "organization_id": "organization_id",
      "agent_id": "agent_id",
      "mutation_policy": "mutation_policy",
      "notes": "notes",
      "created_by_user_id": "created_by_user_id",
      "created_at": "created_at",
      "updated_at": "updated_at"
    },
    "ai_agent_prompt_override": {
      "id": "id",
      "tenant_id": "tenant_id",
      "organization_id": "organization_id",
      "agent_id": "agent_id",
      "version": "version",
      "sections": "sections",
      "notes": "notes",
      "created_by_user_id": "created_by_user_id",
      "created_at": "created_at",
      "updated_at": "updated_at"
    },
    "ai_agent_runtime_override": {
      "id": "id",
      "tenant_id": "tenant_id",
      "organization_id": "organization_id",
      "agent_id": "agent_id",
      "provider_id": "provider_id",
      "model_id": "model_id",
      "base_url": "base_url",
      "allowed_override_providers": "allowed_override_providers",
      "allowed_override_models_by_provider": "allowed_override_models_by_provider",
      "updated_by_user_id": "updated_by_user_id",
      "created_at": "created_at",
      "updated_at": "updated_at",
      "deleted_at": "deleted_at",
      "loop_disabled": "loop_disabled",
      "loop_max_steps": "loop_max_steps",
      "loop_max_tool_calls": "loop_max_tool_calls",
      "loop_max_wall_clock_ms": "loop_max_wall_clock_ms",
      "loop_max_tokens": "loop_max_tokens",
      "loop_stop_when_json": "loop_stop_when_json",
      "loop_active_tools_json": "loop_active_tools_json"
    },
    "ai_chat_conversation": {
      "id": "id",
      "tenant_id": "tenant_id",
      "organization_id": "organization_id",
      "conversation_id": "conversation_id",
      "agent_id": "agent_id",
      "owner_user_id": "owner_user_id",
      "title": "title",
      "status": "status",
      "visibility": "visibility",
      "page_context": "page_context",
      "last_message_at": "last_message_at",
      "imported_from_local_at": "imported_from_local_at",
      "created_at": "created_at",
      "updated_at": "updated_at",
      "deleted_at": "deleted_at"
    },
    "ai_chat_conversation_participant": {
      "id": "id",
      "tenant_id": "tenant_id",
      "organization_id": "organization_id",
      "conversation_id": "conversation_id",
      "user_id": "user_id",
      "role": "role",
      "last_read_at": "last_read_at",
      "deleted_at": "deleted_at",
      "created_at": "created_at",
      "updated_at": "updated_at"
    },
    "ai_chat_message": {
      "id": "id",
      "tenant_id": "tenant_id",
      "organization_id": "organization_id",
      "conversation_id": "conversation_id",
      "client_message_id": "client_message_id",
      "role": "role",
      "content": "content",
      "ui_parts": "ui_parts",
      "attachment_ids": "attachment_ids",
      "files_metadata": "files_metadata",
      "model": "model",
      "metadata": "metadata",
      "created_by_user_id": "created_by_user_id",
      "created_at": "created_at",
      "updated_at": "updated_at",
      "deleted_at": "deleted_at"
    },
    "ai_pending_action": {
      "id": "id",
      "tenant_id": "tenant_id",
      "organization_id": "organization_id",
      "agent_id": "agent_id",
      "tool_name": "tool_name",
      "conversation_id": "conversation_id",
      "target_entity_type": "target_entity_type",
      "target_record_id": "target_record_id",
      "normalized_input": "normalized_input",
      "field_diff": "field_diff",
      "records": "records",
      "failed_records": "failed_records",
      "side_effects_summary": "side_effects_summary",
      "record_version": "record_version",
      "attachment_ids": "attachment_ids",
      "idempotency_key": "idempotency_key",
      "created_by_user_id": "created_by_user_id",
      "status": "status",
      "queue_mode": "queue_mode",
      "execution_result": "execution_result",
      "created_at": "created_at",
      "expires_at": "expires_at",
      "resolved_at": "resolved_at",
      "resolved_by_user_id": "resolved_by_user_id"
    },
    "ai_tenant_model_allowlist": {
      "id": "id",
      "tenant_id": "tenant_id",
      "organization_id": "organization_id",
      "allowed_providers": "allowed_providers",
      "allowed_models_by_provider": "allowed_models_by_provider",
      "updated_by_user_id": "updated_by_user_id",
      "created_at": "created_at",
      "updated_at": "updated_at",
      "deleted_at": "deleted_at"
    },
    "ai_token_usage_daily": {
      "id": "id",
      "tenant_id": "tenant_id",
      "organization_id": "organization_id",
      "day": "day",
      "agent_id": "agent_id",
      "model_id": "model_id",
      "provider_id": "provider_id",
      "input_tokens": "input_tokens",
      "output_tokens": "output_tokens",
      "cached_input_tokens": "cached_input_tokens",
      "reasoning_tokens": "reasoning_tokens",
      "step_count": "step_count",
      "turn_count": "turn_count",
      "session_count": "session_count",
      "created_at": "created_at",
      "updated_at": "updated_at"
    },
    "ai_token_usage_event": {
      "id": "id",
      "tenant_id": "tenant_id",
      "organization_id": "organization_id",
      "user_id": "user_id",
      "agent_id": "agent_id",
      "module_id": "module_id",
      "session_id": "session_id",
      "turn_id": "turn_id",
      "step_index": "step_index",
      "provider_id": "provider_id",
      "model_id": "model_id",
      "input_tokens": "input_tokens",
      "output_tokens": "output_tokens",
      "cached_input_tokens": "cached_input_tokens",
      "reasoning_tokens": "reasoning_tokens",
      "finish_reason": "finish_reason",
      "loop_abort_reason": "loop_abort_reason",
      "created_at": "created_at",
      "updated_at": "updated_at"
    }
  };

export function getEntityFields(slug: string): Record<string, string> | undefined {
  return entityFieldsRegistry[slug];
}
