import { Module } from "@nestjs/common";
import { SubscriptionsController } from "./subscriptions.controller";
import { SubscriptionsService } from "./subscriptions.service";
import { SimManagementService } from "./sim-management.service";
import { SimUsageStoreService } from "./sim-usage-store.service";
import { SimOrdersController } from "./sim-orders.controller";
import { SimOrderActivationService } from "./sim-order-activation.service";
import { WhmcsModule } from "@bff/integrations/whmcs/whmcs.module";
import { MappingsModule } from "@bff/modules/id-mappings/mappings.module";
import { FreebitModule } from "@bff/integrations/freebit/freebit.module";
import { EmailModule } from "@bff/infra/email/email.module";
import { SimManagementModule } from "./sim-management/sim-management.module";

@Module({
  imports: [WhmcsModule, MappingsModule, FreebitModule, EmailModule, SimManagementModule],
  controllers: [SubscriptionsController, SimOrdersController],
  providers: [
    SubscriptionsService,
    SimManagementService,
    SimUsageStoreService,
    SimOrderActivationService,
  ],
})
export class SubscriptionsModule {}
