import { Module } from '@nestjs/common';
import { FreeScoutConnector } from './freescout.connector';
import { FreeScoutService } from './freescout.service';
import { FreeScoutController } from './freescout.controller';
import { CredentialsModule } from '../../credentials/credentials.module';

/**
 * FreeScout Integration Module
 *
 * Provides integration with FreeScout helpdesk system.
 * Credentials are stored in the DB and loaded via CredentialsService.
 */
@Module({
  imports: [CredentialsModule],
  controllers: [FreeScoutController],
  providers: [FreeScoutConnector, FreeScoutService],
  exports: [FreeScoutService, FreeScoutConnector],
})
export class FreeScoutModule {}
