import type { Routes } from "@nestjs/core";
import { AuthModule } from "@bff/modules/auth/auth.module.js";
import { UsersModule } from "@bff/modules/users/users.module.js";
import { MeStatusModule } from "@bff/modules/me-status/me-status.module.js";
import { MappingsModule } from "@bff/modules/id-mappings/mappings.module.js";
import { ServicesModule } from "@bff/modules/services/services.module.js";
import { OrdersModule } from "@bff/modules/orders/orders.module.js";
import { BillingModule } from "@bff/modules/billing/billing.module.js";
import { SubscriptionsModule } from "@bff/modules/subscriptions/subscriptions.module.js";
import { SimManagementModule } from "@bff/modules/subscriptions/sim-management/sim-management.module.js";
import { InternetManagementModule } from "@bff/modules/subscriptions/internet-management/internet-management.module.js";
import { CallHistoryModule } from "@bff/modules/subscriptions/call-history/call-history.module.js";
import { CurrencyModule } from "@bff/modules/currency/currency.module.js";
import { SecurityModule } from "@bff/core/security/security.module.js";
import { SupportModule } from "@bff/modules/support/support.module.js";
import { RealtimeApiModule } from "@bff/modules/realtime/realtime.module.js";
import { VerificationModule } from "@bff/modules/verification/verification.module.js";
import { NotificationsModule } from "@bff/modules/notifications/notifications.module.js";
import { AddressModule } from "@bff/modules/address/address.module.js";

export const apiRoutes: Routes = [
  {
    path: "api",
    children: [
      { path: "", module: AuthModule },
      { path: "", module: UsersModule },
      { path: "", module: MeStatusModule },
      { path: "", module: MappingsModule },
      { path: "", module: ServicesModule },
      { path: "", module: OrdersModule },
      { path: "", module: BillingModule },
      { path: "", module: SubscriptionsModule },
      { path: "", module: SimManagementModule },
      { path: "", module: InternetManagementModule },
      { path: "", module: CallHistoryModule },
      { path: "", module: CurrencyModule },
      { path: "", module: SupportModule },
      { path: "", module: SecurityModule },
      { path: "", module: RealtimeApiModule },
      { path: "", module: VerificationModule },
      { path: "", module: NotificationsModule },
      { path: "", module: AddressModule },
    ],
  },
];
