// AUTO-GENERATED by mercato generate entity-ids // Static registry for entity fields - eliminates dynamic imports for Turbopack compatibility export const entityFieldsRegistry: Record> = { "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_run": { "id": "id", "tenant_id": "tenant_id", "organization_id": "organization_id", "user_id": "user_id", "api_key_id": "api_key_id", "agent_id": "agent_id", "module_id": "module_id", "agent_version": "agent_version", "agent_definition_hash": "agent_definition_hash", "prompt_override_id": "prompt_override_id", "prompt_override_version": "prompt_override_version", "execution_mode": "execution_mode", "channel": "channel", "conversation_id": "conversation_id", "turn_id": "turn_id", "correlation_id": "correlation_id", "provider_id": "provider_id", "model_id": "model_id", "base_url_host": "base_url_host", "model_params": "model_params", "effective_mutation_policy": "effective_mutation_policy", "tool_names": "tool_names", "status": "status", "stop_reason": "stop_reason", "finish_reason": "finish_reason", "input_tokens": "input_tokens", "output_tokens": "output_tokens", "cached_input_tokens": "cached_input_tokens", "reasoning_tokens": "reasoning_tokens", "step_count": "step_count", "tool_call_count": "tool_call_count", "duration_ms": "duration_ms", "started_at": "started_at", "completed_at": "completed_at", "input_text": "input_text", "output_text": "output_text", "content_truncated": "content_truncated", "system_prompt_hash": "system_prompt_hash", "system_prompt": "system_prompt", "citations": "citations", "error_code": "error_code", "error_message": "error_message", "capture_level": "capture_level", "created_at": "created_at", "updated_at": "updated_at", "deleted_at": "deleted_at" }, "ai_agent_run_step": { "id": "id", "tenant_id": "tenant_id", "organization_id": "organization_id", "run_id": "run_id", "step_index": "step_index", "model_id": "model_id", "finish_reason": "finish_reason", "input_tokens": "input_tokens", "output_tokens": "output_tokens", "text": "text", "text_truncated": "text_truncated", "ended_at": "ended_at", "duration_ms": "duration_ms", "created_at": "created_at", "updated_at": "updated_at" }, "ai_agent_run_tool_call": { "id": "id", "tenant_id": "tenant_id", "organization_id": "organization_id", "run_id": "run_id", "step_index": "step_index", "call_index": "call_index", "tool_call_id": "tool_call_id", "tool_name": "tool_name", "is_mutation": "is_mutation", "pending_action_id": "pending_action_id", "arg_keys": "arg_keys", "args": "args", "result": "result", "args_truncated": "args_truncated", "result_truncated": "result_truncated", "result_bytes": "result_bytes", "error_code": "error_code", "error_message": "error_message", "duration_ms": "duration_ms", "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", "input_moderation": "input_moderation" }, "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_moderation_flag": { "id": "id", "tenant_id": "tenant_id", "organization_id": "organization_id", "agent_id": "agent_id", "user_id": "user_id", "provider_id": "provider_id", "model_id": "model_id", "categories": "categories", "created_at": "created_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", "channel": "channel", "api_key_id": "api_key_id", "correlation_id": "correlation_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 | undefined { return entityFieldsRegistry[slug]; }