T. Narantuya a95ec60859 Refactor address management and update related services for improved clarity and functionality
- Updated address retrieval in user service to replace billing info with a dedicated address method.
- Adjusted API endpoints to use `PATCH /api/me/address` for address updates instead of billing updates.
- Enhanced documentation to reflect changes in address management processes and API usage.
- Removed deprecated types and services related to billing address handling, streamlining the codebase.
2025-09-17 18:43:43 +09:00

38 lines
1.2 KiB
TypeScript

import { Module } from "@nestjs/common";
import { ConfigModule } from "@nestjs/config";
import { WhmcsDataTransformer } from "./transformers/whmcs-data.transformer";
import { WhmcsCacheService } from "./cache/whmcs-cache.service";
import { WhmcsService } from "./whmcs.service";
import { WhmcsConnectionService } from "./services/whmcs-connection.service";
import { WhmcsInvoiceService } from "./services/whmcs-invoice.service";
import { WhmcsSubscriptionService } from "./services/whmcs-subscription.service";
import { WhmcsClientService } from "./services/whmcs-client.service";
import { WhmcsPaymentService } from "./services/whmcs-payment.service";
import { WhmcsSsoService } from "./services/whmcs-sso.service";
import { WhmcsOrderService } from "./services/whmcs-order.service";
@Module({
imports: [ConfigModule],
providers: [
WhmcsDataTransformer,
WhmcsCacheService,
WhmcsConnectionService,
WhmcsInvoiceService,
WhmcsSubscriptionService,
WhmcsClientService,
WhmcsPaymentService,
WhmcsSsoService,
WhmcsOrderService,
WhmcsService,
],
exports: [
WhmcsService,
WhmcsConnectionService,
WhmcsDataTransformer,
WhmcsCacheService,
WhmcsOrderService,
WhmcsPaymentService,
],
})
export class WhmcsModule {}