import { Module } from '@nestjs/common';
import { EcoDmsConnector } from './ecodms.connector';
import { EcoDmsService } from './ecodms.service';
import { EcoDmsController } from './ecodms.controller';
import { CredentialsModule } from '../../credentials/credentials.module';

/**
 * ecoDMS Integration Module
 *
 * Provides integration with ecoDMS document management system.
 * Credentials are stored in the DB and loaded via CredentialsService.
 */
@Module({
  imports: [CredentialsModule],
  controllers: [EcoDmsController],
  providers: [EcoDmsConnector, EcoDmsService],
  exports: [EcoDmsService, EcoDmsConnector],
})
export class EcoDmsModule {}
