Angular Modules Documentation
Module Structure
1. Account Message Module
Module File: account-message.module.ts
Routing File: account-message-routing.module.ts
Components: AccountMessageComponent
Services: Uses UsermanagementService (imported from usermanagement module)
2. Agents Module
Module File: agents.module.ts
Routing File: agents-routing.module.ts
Components: AgentComponent, GroupComponent, AddagentComponent, AddgroupComponent, AccountSettingComponent, ChannelRequestsComponent
Services: AgentserviceService, AgentsMaintainService
Pipes: OrderPipe
3. API Module
Module File: api.module.ts
Routing File: api-routing.module.ts
Components: TokensComponent, AddtokenComponent
Services: ApiService
Classes: ApiClass
4. Authentication Module
Module File: authentication.module.ts
Routing File: authentication.routing.ts
Components: ErrorComponent, LockscreenComponent, LoginComponent, NotfoundComponent, SignupComponent, VerifyemailComponent, ForgotComponent, DeleteUserComponent, DeleteProcessComponent, RestoreAccountComponent, ResetPasswordComponent, UserloginComponent, SetpasswordComponent, AuthorizationComponent
Services: AuthenticationService, ZohoSalesiqService
Guards: AuthGuard, CandeactivateGuard
Helpers: JwtInterceptor, HttpErrorInterceptor, FakeBackend
5. Billing Module
Module File: billing.module.ts
Routing File: billing-routing.module.ts
Components: InvoicesComponent, BillingprofileComponent, CurrentusageComponent, CdrftpComponent, AccountledgerComponent, PaymentsettingsComponent, RatedecksComponent, OutboundcdrftpComponent, OrderhistoryComponent, BillingAddressComponent, ViewbillingComponent, StripeCardComponent, DetailcustomercardComponent, ClosingInvoiceComponent
Services: BillingService, BillingconfigService, CurrentusageService, InvoiceService, OrderhistoryService
Classes: BillingClass
6. Campaign Module (A2P)
Module File: campaign.module.ts
Routing File: campaign-routing.module.ts
Components: CampaignComponent, AddcampaignComponent, BrandComponent, AddbrandComponent, RegistercampaignComponent, CnpCampaignComponent, CnpSettingComponent
Services: CapmaignserviceService, CampaignService
Classes: CampaignClass
7. Campaigns Module
Module File: campaigns.module.ts
Routing File: campaigns-routing.module.ts
Components: MycampaignsComponent, CampaignComponent, AddcampaignComponent, BrandsComponent, BrandComponent, AddbrandComponent
Services: CampaignsService
8. Connections Module
Module File: connections.module.ts
Routing File: connections-routing.module.ts
Components: ConnectionComponent, EditConnectionComponent
Services: ConnectionsService
9. Dashboards Module
Module File: dashboard.module.ts
Routing File: dashboard.routing.ts
Components: DashboardComponent, Dashboard1Component, InformationComponent, IncomeComponent, UserstatisticComponent, DailysaleComponent, LocationComponent
Services: HomeService, DashboardService
Pipes: OrderPipe
10. Download Report Module
Module File: downloadreport.module.ts
Routing File: downloadreport-routing.module.ts
Components: DownloadreportComponent
Services: DownloadreportService
11. Federal Module
Module File: federal.module.ts
Routing File: federal-routing.module.ts
Components: FederalComponent, FederalPdfComponent
Services: FederalService
12. Group Module
Module File: group.module.ts
Routing File: group-routing.module.ts
Components: GroupComponent, CreateGroupComponent
Services: GroupService
13. Inbound Module
Module File: inbound.module.ts
Routing File: inbound-routing.module.ts
Components: GetnumbersComponent, DidComponent, UncompletecallComponent, CompletecallComponent, ManagesitesComponent, IpaddressComponent, TollfreenumbersComponent, AddcartComponent, CalldetailsrecordComponent, LoadnumberComponent, OrdersHistoryComponent, ViewOrderComponent, DisDidRestoreComponent, DidHistoryComponent, DidHistoryDetailsComponent, ShortcodeComponent, BulkactionLogComponent
Services: InboundService, InboundmaintainService, CalldetailsrecordService, DidService, GetnumbersService, IpaddressService, LoadnumberService, ManagesitesService, TollfreenumbersService
14. KYC Module
Module File: kyc.module.ts
Routing File: kyc-routing.module.ts
Components: KycComponent, KycPdfComponent
Services: KycService, KycmaintainService
15. Layouts Module
Components: BlankComponent, FullComponent
16. New Campaign Module
Module File: new-campaign.module.ts
Routing File: new-campaign-routing.module.ts
Components: AddBrandComponent, AddCampaignComponent, BrandInformationComponent, BrandListComponent, CampaignInformationComponent, CampaignListComponent, CampaignRegistrationComponent, CnpCampaignComponent, CnpCampaignInformationComponent, CnpRegistrationComponent, CnpSettingComponent, CnpSettingInformationComponent, EditBrandComponent, EditCampaignComponent, NewCampaignComponent
Services: NewCampaignService
17. Notification Module
Module File: notification.module.ts
Routing File: notification-routing.module.ts
Components: SystemNotificationComponent, ComposemailComponent, EmailNotificationComponent, NotificationEmailComponent, EmailSubscriptionSettingComponent
Services: NotificationService
18. ObSIP Trunking Module
Module File: obsiptrunking.module.ts
Routing File: obsiptrunking-routing.module.ts
Components: CpsconfigurationComponent, SiptrunkingprofileComponent, SiptrunkingsettingComponent, BcidEidSettingComponent, BcidDidAddComponent
Services: ObsiptrunkingService
19. Outbound Module
Module File: outbound.module.ts
Routing File: outbound-routing.module.ts
Components: RoutingprofileComponent, CalldetailsrecordComponent, TestcallComponent, MediaUploadFilesComponent, TestCallByMediaComponent
Services: OutboundService
20. Profile Module
Module File: profile.module.ts
Routing File: profile-routing.module.ts
Components: AddressComponent, BalanceComponent, ProfileComponent
Services: ProfileService
21. Programmable Module
Module File: programmable.module.ts
Routing File: programmable-routing.module.ts
Components: ProgrammableComponent
Services: ProgrammableService
22. Reports Module
Module File: reports.module.ts
Routing File: reports-routing.module.ts
Components: ReportComponent, TmobileComponent
Services: ReportService
Pipes: DateFormatPipe
23. Reseller Module
Module File: reseller.module.ts
Routing File: reseller-routing.module.ts
Components: ResellerComponent, CommissionDetailsComponent, CommissionPlanComponent, CommissionTermComponent, CommissionTierComponent, CustomerDetailsComponent, ResellerlinkComponent
Services: ResellerService
Pipes: OrderPipe
24. Shared Module
Module File: shared.module.ts
Components: BreadcrumbComponent, SidebarComponent, HeaderNavigationComponent, UploadviewComponent, DynamicformComponent, DynamictableComponent, AlertComponent, LoaderComponent, DialogComponent, ReportComponent, CenterAlertComponent, ImportantNoticeComponent
Services: MenuService, Theme, AppService, LoaderService, DialogService, ProfileService, ReportService
Submodules: NotificationModule
25. Shortcode SMS Module
Module File: shortcodesms.module.ts
Routing File: shortcodesms-routing.module.ts
Components: ShortcodesmsComponent, CreateProfileComponent, ViewprofileComponent, ShortcodeRequestComponent, ShortcodeNumberComponent
Services: ShortcodesmsService
26. Signup Template Module
Module File: signuptemplate.module.ts
Routing File: signuptemplate-routing.module.ts
Components: SmstemplateComponent, EmailtemplateComponent, EmailtemplatedetailsComponent, SmstemplatedetailsComponent, FactorauthenticationComponent, FactorauthenticationdetailsComponent, MmsComponent, MmstemplateComponent
Services: SignuptemplateService
Pipes: OrderPipe
27. SMS Module
Module File: sms.module.ts
Routing File: sms-routing.module.ts
Components: MdrsComponent, TestmessageComponent, IpWhitelistsComponent, SmsConfigurationComponent, OutboundsmsComponent, InboundsmsComponent, SmssettingComponent, FactorauthenticationdetailsComponent, FactorauthenticationComponent, AddfavoiceComponent, FavoicedetailsComponent, MmsMDRComponent, UploadmediaviammsComponent
Services: SmsService, SmsconfigService, SmsmaintainService, IpwhitelistService, MdrsService, OutboundsmsService, InboundsmsService, SmssettingService, TestmessageService
28. Subscription Module
Module File: subscription.module.ts
Routing File: subscription-routing.module.ts
Components: SubscriptionManagementComponent, SubscriptionControlComponent
Services: SubscriptionService
29. Supplier Management Module
Module File: suppliermanagement.module.ts
Routing File: suppliermanagement-routing.module.ts
Components: SupplierComponent, ItegratedsolutionsComponent
Services: SupplierService
30. Tariff Module
Module File: tariff.module.ts
Routing File: tariff-routing.module.ts
Components: TariffComponent, ListComponent, EditTariffComponent, AddtariffComponent, EdittariffComponent, UnregisteredComponent, ClonetariffComponent, SurchargeComponent, AddsurchargeComponent, ServiceComponent, AddServiceComponent, LerginfoComponent, OperatorMappingComponent, ZoneComponent
Services: TariffService
31. Tier Management Module
Module File: tiermanagement.module.ts
Routing File: tiermanagement-routing.module.ts
Components: TierComponent, RatemanagementComponent
Services: TiermanagementService
32. Toll Free SMS Module
Module File: tollfreesms.module.ts
Routing File: tollfreesms-routing.module.ts
Components: TollfreesmsComponent, AddverifysenderComponent, VerifysenderdetailComponent, ViewComponent, AssignTollFreeNumberComponent
Services: TollfreesmsService
33. User Management Module
Module File: usermanagement.module.ts
Routing File: usermanagement-routing.module.ts
Components: UsermanagementComponent, TierComponent, SupplieruserComponent, AddParamsComponent, ItegratedsolutionsComponent, UserprofileComponent, UsersettingComponent, PreferenceComponent, AdddialogComponent, RatesComponent, MyratesComponent, CustomerrateComponent, EdituserComponent, SubusersComponent, ListpaymentComponent, OtpverifyComponent, VerifyprofileComponent, PasswordComponent, PaymentComponent, AddressComponent, BalanceComponent, PaymentMethodComponent, DeleteuserComponent, PendingToReleaseComponent, DomainBlockerComponent, CreditCardAuthComponent, AccountActionComponent, NewAccountComponent, SuspendedUserComponent, SuspendedServicesComponent, AddCardComponent, FinalInvoiceComponent, InvoiceCardAuthComponent, CustomerCountComponent, AddnoteComponent, AccountVerificationComponent, MultiuserListComponent, MysubscriptionComponent, FailedBillingComponent
Services: UsermanagementService, ProfileService, RatesService, SmsapiService, TierService, CustomerService, EdituserService, ListpaymentService
34. Volt Login Module
Module File: volt-login.module.ts
Routing File: volt-login-routing.module.ts
Components: VoltLoginComponent
Services: VoltLoginService
35. Webhook Module
Module File: webhook.module.ts
Routing File: webhook-routing.module.ts
Components: WebhookComponent
Services: WebhookService
36. Whitelabel Module
Module File: whitelabel.module.ts
Routing File: whitelabel-routing.module.ts
Components: WhitelabelComponent, WhitelabeldetailsComponent
Services: WhitelabelService
Application Structure Summary
Key Architectural Patterns:
- Lazy Loading: Most modules are lazy-loaded through the main app routing
- Feature Modules: Each business domain has its own module
- Shared Module: Common components and services are centralized
- Service Layer: Each module typically has its own service for API calls
- Routing: Each module has its own routing configuration
- Guards: Authentication and authorization guards protect routes
Dependencies
- Angular Material
- NgBootstrap
- Reactive Forms
- Angular Charts
- Multi-select Dropdown
- Pagination
- Search Filters
- Editor Components
- Social Login
File Naming Conventions
- Components:
*.component.ts - Services:
*.service.ts - Modules:
*.module.ts - Routing:
*-routing.module.ts - Classes:
*.class.ts - Pipes:
*.pipe.ts - Guards:
*.guard.ts