import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { AuthModule } from './auth/auth.module';
import { InventoryModule } from './inventory/inventory.module';
import { PrismaModule } from './prisma/prisma.module';
import { UsersModule } from './users/users.module';
import { WebhooksModule } from './webhooks/webhooks.module';
import { SettingsModule } from './settings/settings.module';
import { KycModule } from './kyc/kyc.module';
import { DashboardModule } from './dashboard/dashboard.module';
import { AuditModule } from './audit/audit.module';
import { DisputesModule } from './disputes/disputes.module';
import { ReportsModule } from './reports/reports.module';
import { PerformanceModule } from './performance/performance.module';
import { FraudModule } from './fraud/fraud.module';

import { AppController } from './app.controller';

@Module({
  imports: [
    ConfigModule.forRoot({ isGlobal: true }),
    PrismaModule,
    AuthModule,
    UsersModule,
    InventoryModule,
    WebhooksModule,
    SettingsModule,
    KycModule,
    DashboardModule,
    AuditModule,
    DisputesModule,
    ReportsModule,
    PerformanceModule,
    FraudModule,
  ],
  controllers: [AppController],
})
export class AppModule { }
