"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.CaptiveModule = void 0;
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const business_entity_1 = require("../database/entities/business.entity");
const business_settings_entity_1 = require("../database/entities/business-settings.entity");
const system_settings_entity_1 = require("../database/entities/system-settings.entity");
const package_entity_1 = require("../database/entities/package.entity");
const package_router_assignment_entity_1 = require("../database/entities/package-router-assignment.entity");
const router_entity_1 = require("../database/entities/router.entity");
const customer_entity_1 = require("../database/entities/customer.entity");
const customer_device_entity_1 = require("../database/entities/customer-device.entity");
const wifi_session_entity_1 = require("../database/entities/wifi-session.entity");
const payment_entity_1 = require("../database/entities/payment.entity");
const mpesa_callback_entity_1 = require("../database/entities/mpesa-callback.entity");
const voucher_entity_1 = require("../database/entities/voucher.entity");
const captive_service_1 = require("./captive.service");
const captive_controller_1 = require("./captive.controller");
const mpesa_module_1 = require("../mpesa/mpesa.module");
const vouchers_module_1 = require("../vouchers/vouchers.module");
const sessions_module_1 = require("../sessions/sessions.module");
const notifications_module_1 = require("../notifications/notifications.module");
let CaptiveModule = class CaptiveModule {
};
exports.CaptiveModule = CaptiveModule;
exports.CaptiveModule = CaptiveModule = __decorate([
    (0, common_1.Module)({
        imports: [
            typeorm_1.TypeOrmModule.forFeature([
                business_entity_1.Business,
                business_settings_entity_1.BusinessSettings,
                system_settings_entity_1.SystemSettings,
                package_entity_1.Package,
                package_router_assignment_entity_1.PackageRouterAssignment,
                router_entity_1.Router,
                customer_entity_1.Customer,
                customer_device_entity_1.CustomerDevice,
                wifi_session_entity_1.WifiSession,
                payment_entity_1.Payment,
                mpesa_callback_entity_1.MpesaCallback,
                voucher_entity_1.Voucher,
            ]),
            mpesa_module_1.MpesaModule,
            vouchers_module_1.VouchersModule,
            sessions_module_1.SessionsModule,
            notifications_module_1.NotificationsModule,
        ],
        controllers: [captive_controller_1.CaptiveController],
        providers: [captive_service_1.CaptiveService],
    })
], CaptiveModule);
