michangarrito/apps/backend/dist/modules/integrations/integrations.module.js
rckrdmrd 97f407c661 [MIGRATION-V2] feat: Migrar michangarrito a estructura v2
- Prefijo v2: MCH
- TRACEABILITY-MASTER.yml creado
- Listo para integracion como submodulo

Workspace: v2.0.0 | SIMCO: v4.0.0
2026-01-10 11:28:54 -06:00

37 lines
2.2 KiB
JavaScript

"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.IntegrationsModule = void 0;
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const config_1 = require("@nestjs/config");
const tenant_integration_credential_entity_1 = require("./entities/tenant-integration-credential.entity");
const tenant_whatsapp_number_entity_1 = require("./entities/tenant-whatsapp-number.entity");
const tenant_entity_1 = require("../auth/entities/tenant.entity");
const tenant_integrations_service_1 = require("./services/tenant-integrations.service");
const integrations_controller_1 = require("./controllers/integrations.controller");
const internal_integrations_controller_1 = require("./controllers/internal-integrations.controller");
let IntegrationsModule = class IntegrationsModule {
};
exports.IntegrationsModule = IntegrationsModule;
exports.IntegrationsModule = IntegrationsModule = __decorate([
(0, common_1.Module)({
imports: [
typeorm_1.TypeOrmModule.forFeature([
tenant_integration_credential_entity_1.TenantIntegrationCredential,
tenant_whatsapp_number_entity_1.TenantWhatsAppNumber,
tenant_entity_1.Tenant,
]),
config_1.ConfigModule,
],
controllers: [integrations_controller_1.IntegrationsController, internal_integrations_controller_1.InternalIntegrationsController],
providers: [tenant_integrations_service_1.TenantIntegrationsService],
exports: [tenant_integrations_service_1.TenantIntegrationsService],
})
], IntegrationsModule);
//# sourceMappingURL=integrations.module.js.map