import { WhmcsSetupOptions } from "./interface/whmcs.setup.options"; import { WhmcsAddonsService } from "./module/addons"; import { WhmcsAffiliatesService } from "./module/affiliates"; import { WhmcsAuthenticationService } from "./module/authentication"; import { WhmcsBillingService } from "./module/billing"; import { WhmcsClientService } from "./module/client"; import { WhmcsDomainsService } from "./module/domains"; import { WhmcsModuleService } from "./module/module"; import { WhmcsOrdersService } from "./module/orders"; import { WhmcsProductsService } from "./module/products"; import { WhmcsProjectManagementService } from "./module/project-management"; import { WhmcsServersService } from "./module/servers"; import { WhmcsServiceService } from "./module/service"; import { WhmcsSupportService } from "./module/support"; import { WhmcsSystemService } from "./module/system"; import { WhmcsTicketsService } from "./module/tickets"; import { WhmcsUsersService } from "./module/users"; import { WhmcsClientCustom } from "./module/custom"; export class WhmcsApi { public static options: WhmcsSetupOptions; constructor(options: WhmcsSetupOptions) { WhmcsApi.options = options } public addons: WhmcsAddonsService = new WhmcsAddonsService; public affiliates: WhmcsAffiliatesService = new WhmcsAffiliatesService; public authentication: WhmcsAuthenticationService = new WhmcsAuthenticationService; public billing: WhmcsBillingService = new WhmcsBillingService; public client: WhmcsClientService = new WhmcsClientService; public domains: WhmcsDomainsService = new WhmcsDomainsService; public module: WhmcsModuleService = new WhmcsModuleService; public orders: WhmcsOrdersService = new WhmcsOrdersService; public products: WhmcsProductsService = new WhmcsProductsService; public projectmanagement: WhmcsProjectManagementService = new WhmcsProjectManagementService; public servers: WhmcsServersService = new WhmcsServersService; public service: WhmcsServiceService = new WhmcsServiceService; public support: WhmcsSupportService = new WhmcsSupportService; public system: WhmcsSystemService = new WhmcsSystemService; public tickets: WhmcsTicketsService = new WhmcsTicketsService; public users: WhmcsUsersService = new WhmcsUsersService; public custom: WhmcsClientCustom = new WhmcsClientCustom; } export * from "./interface/client/get-clients-products"; export * from "./interface/client/get-clients-details";