import { Module } from '@nestjs/common';
import { AuthModule } from '../auth/auth.module';
import { ConversationsModule } from '../conversations/conversations.module';
import { JobsModule } from '../jobs/jobs.module';
import { PrismaModule } from '../prisma/prisma.module';
import { WebhooksController } from './webhooks.controller';
import { WebhookWorkerService } from './webhook-worker.service';
import { WebhooksService } from './webhooks.service';

@Module({
  imports: [PrismaModule, AuthModule, JobsModule, ConversationsModule],
  controllers: [WebhooksController],
  providers: [WebhooksService, WebhookWorkerService],
  exports: [WebhooksService],
})
export class WebhooksModule {}
