import { Module } from '@nestjs/common';
import { LicenseeModule } from '../licensee/licensee.module';
import { EmailService } from './email.service';
import { SendExceptionNotificationEmailWorkflow } from './workflows/send-exception-notification-email/send-exception-notification-email.workflow';
import { SendNewMessageNotificationEmailWorkflow } from './workflows/send-new-message-notification-email/send-new-message-notification-email.workflow';

@Module({
  providers: [
    EmailService,
    SendExceptionNotificationEmailWorkflow,
    SendNewMessageNotificationEmailWorkflow,
  ],
  exports: [
    SendExceptionNotificationEmailWorkflow,
    EmailService,
    SendNewMessageNotificationEmailWorkflow,
  ],
  imports: [LicenseeModule],
})
export class EmailModule {}
