import { Module } from '@nestjs/common';
import { HttpModule } from '@nestjs/axios';
import { ConfigModule } from '@nestjs/config';
import { WhatsappController } from './services/whatsapp.controller';
import { WhatsappService } from './services/whatsapp.service';
import { WhatsappWebhookService } from './services/whatsapp-webhook.service';
import { WhatsappMessagingService } from './whatsapp-messaging.service';

@Module({
  imports: [HttpModule, ConfigModule],
  controllers: [WhatsappController],
  providers: [
    WhatsappService,
    WhatsappWebhookService,
    WhatsappMessagingService,
  ],
  exports: [WhatsappService, WhatsappMessagingService],
})
export class WhatsappModule {}
