import { Module } from "@nestjs/common";
import { NotificationLogModule } from "../notifications/notification-log.module";
import { NotificationScheduleModule } from "../notifications/notification-schedule.module";
import { RenewalsController } from "./renewals.controller";
import { RenewalsService } from "./renewals.service";

@Module({
  // Renewal sends write to the same `email_notification_log` the four bulk
  // jobs write, so /notificaciones has one send history across both tabs, and
  // take their cadence from the same operator-editable schedule.
  imports: [NotificationLogModule, NotificationScheduleModule],
  controllers: [RenewalsController],
  providers: [RenewalsService],
})
export class RenewalsModule {}
