"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.McpModule = void 0;
const api_pagination_1 = require("@hed-hog/api-pagination");
const api_prisma_1 = require("@hed-hog/api-prisma");
const common_1 = require("@nestjs/common");
const core_1 = require("@nestjs/core");
const ai_module_1 = require("../ai/ai.module");
const system_module_1 = require("../core/system.module");
const dashboard_module_1 = require("../dashboard/dashboard.module");
const file_module_1 = require("../file/file.module");
const mail_module_1 = require("../mail/mail.module");
const mail_profile_module_1 = require("../mail-profile/mail-profile.module");
const mail_sent_module_1 = require("../mail-sent/mail-sent.module");
const mcp_chat_service_1 = require("../mcp-chat/mcp-chat.service");
const menu_module_1 = require("../menu/menu.module");
const notification_module_1 = require("../notification/notification.module");
const profile_module_1 = require("../profile/profile.module");
const role_module_1 = require("../role/role.module");
const route_module_1 = require("../route/route.module");
const screen_module_1 = require("../screen/screen.module");
const security_module_1 = require("../security/security.module");
const session_module_1 = require("../session/session.module");
const setting_module_1 = require("../setting/setting.module");
const token_module_1 = require("../token/token.module");
const user_module_1 = require("../user/user.module");
const webhook_integration_module_1 = require("../webhook-integration/webhook-integration.module");
const mcp_auth_guard_1 = require("./guards/mcp-auth.guard");
const mcp_permission_guard_1 = require("./guards/mcp-permission.guard");
const mcp_api_key_controller_1 = require("./mcp-api-key.controller");
const mcp_api_key_service_1 = require("./mcp-api-key.service");
const mcp_audit_service_1 = require("./mcp-audit.service");
const mcp_registry_service_1 = require("./mcp-registry.service");
const mcp_server_service_1 = require("./mcp-server.service");
const mcp_controller_1 = require("./mcp.controller");
const core_ai_mcp_tools_1 = require("./tools/core-ai.mcp-tools");
const core_dashboard_items_mcp_tools_1 = require("./tools/core-dashboard-items.mcp-tools");
const core_dashboard_mcp_tools_1 = require("./tools/core-dashboard.mcp-tools");
const core_event_webhooks_mcp_tools_1 = require("./tools/core-event-webhooks.mcp-tools");
const core_files_mcp_tools_1 = require("./tools/core-files.mcp-tools");
const core_integration_events_mcp_tools_1 = require("./tools/core-integration-events.mcp-tools");
const core_mail_mcp_tools_1 = require("./tools/core-mail.mcp-tools");
const core_mail_profile_mcp_tools_1 = require("./tools/core-mail-profile.mcp-tools");
const core_mail_sent_mcp_tools_1 = require("./tools/core-mail-sent.mcp-tools");
const core_mcp_chat_mcp_tools_1 = require("./tools/core-mcp-chat.mcp-tools");
const core_menus_mcp_tools_1 = require("./tools/core-menus.mcp-tools");
const core_notifications_mcp_tools_1 = require("./tools/core-notifications.mcp-tools");
const core_profile_mcp_tools_1 = require("./tools/core-profile.mcp-tools");
const core_roles_mcp_tools_1 = require("./tools/core-roles.mcp-tools");
const core_routes_mcp_tools_1 = require("./tools/core-routes.mcp-tools");
const core_screens_mcp_tools_1 = require("./tools/core-screens.mcp-tools");
const core_sessions_mcp_tools_1 = require("./tools/core-sessions.mcp-tools");
const core_settings_mcp_tools_1 = require("./tools/core-settings.mcp-tools");
const core_system_mcp_tools_1 = require("./tools/core-system.mcp-tools");
const core_users_mcp_tools_1 = require("./tools/core-users.mcp-tools");
const core_webhooks_mcp_tools_1 = require("./tools/core-webhooks.mcp-tools");
const access_log_module_1 = require("../access-log/access-log.module");
let McpModule = class McpModule {
};
exports.McpModule = McpModule;
exports.McpModule = McpModule = __decorate([
    (0, common_1.Module)({
        imports: [
            core_1.DiscoveryModule,
            (0, common_1.forwardRef)(() => api_prisma_1.PrismaModule),
            (0, common_1.forwardRef)(() => access_log_module_1.AccessLogModule),
            (0, common_1.forwardRef)(() => api_pagination_1.PaginationModule),
            (0, common_1.forwardRef)(() => token_module_1.TokenModule),
            (0, common_1.forwardRef)(() => setting_module_1.SettingModule),
            (0, common_1.forwardRef)(() => user_module_1.UserModule),
            (0, common_1.forwardRef)(() => security_module_1.SecurityModule),
            (0, common_1.forwardRef)(() => role_module_1.RoleModule),
            (0, common_1.forwardRef)(() => route_module_1.RouteModule),
            (0, common_1.forwardRef)(() => menu_module_1.MenuModule),
            (0, common_1.forwardRef)(() => screen_module_1.ScreenModule),
            (0, common_1.forwardRef)(() => file_module_1.FileModule),
            (0, common_1.forwardRef)(() => mail_module_1.MailModule),
            (0, common_1.forwardRef)(() => mail_profile_module_1.MailProfileModule),
            (0, common_1.forwardRef)(() => mail_sent_module_1.MailSentModule),
            (0, common_1.forwardRef)(() => session_module_1.SessionModule),
            (0, common_1.forwardRef)(() => notification_module_1.NotificationModule),
            (0, common_1.forwardRef)(() => dashboard_module_1.DashboardModule),
            (0, common_1.forwardRef)(() => webhook_integration_module_1.WebhookIntegrationModule),
            (0, common_1.forwardRef)(() => ai_module_1.AiModule),
            (0, common_1.forwardRef)(() => profile_module_1.ProfileModule),
            (0, common_1.forwardRef)(() => system_module_1.SystemModule),
        ],
        controllers: [mcp_controller_1.McpController, mcp_api_key_controller_1.McpApiKeyController],
        providers: [
            mcp_registry_service_1.McpRegistryService,
            mcp_server_service_1.McpServerService,
            mcp_audit_service_1.McpAuditService,
            mcp_auth_guard_1.McpAuthGuard,
            mcp_permission_guard_1.McpPermissionGuard,
            mcp_api_key_service_1.McpApiKeyService,
            mcp_chat_service_1.McpChatService,
            core_settings_mcp_tools_1.CoreSettingsMcpTools,
            core_users_mcp_tools_1.CoreUsersMcpTools,
            core_roles_mcp_tools_1.CoreRolesMcpTools,
            core_routes_mcp_tools_1.CoreRoutesMcpTools,
            core_menus_mcp_tools_1.CoreMenusMcpTools,
            core_screens_mcp_tools_1.CoreScreensMcpTools,
            core_profile_mcp_tools_1.CoreProfileMcpTools,
            core_sessions_mcp_tools_1.CoreSessionsMcpTools,
            core_files_mcp_tools_1.CoreFilesMcpTools,
            core_mail_mcp_tools_1.CoreMailMcpTools,
            core_mail_profile_mcp_tools_1.CoreMailProfileMcpTools,
            core_mail_sent_mcp_tools_1.CoreMailSentMcpTools,
            core_notifications_mcp_tools_1.CoreNotificationsMcpTools,
            core_dashboard_mcp_tools_1.CoreDashboardMcpTools,
            core_dashboard_items_mcp_tools_1.CoreDashboardItemsMcpTools,
            core_webhooks_mcp_tools_1.CoreWebhooksMcpTools,
            core_event_webhooks_mcp_tools_1.CoreEventWebhooksMcpTools,
            core_integration_events_mcp_tools_1.CoreIntegrationEventsMcpTools,
            core_ai_mcp_tools_1.CoreAiMcpTools,
            core_mcp_chat_mcp_tools_1.CoreMcpChatMcpTools,
            core_system_mcp_tools_1.CoreSystemMcpTools,
        ],
        exports: [mcp_registry_service_1.McpRegistryService, mcp_server_service_1.McpServerService],
    })
], McpModule);
//# sourceMappingURL=mcp.module.js.map