UNPKG

@davidbolaji/termii-node

Version:

Node.js SDK for Termii API – send SMS, voice, OTP, and manage messaging with ease.

20 lines (19 loc) 745 B
import { BalanceService } from "./BalanceService"; import { EventService } from "./EventService"; import { HistoryService } from "./HistoryService"; import { SearchService } from "./SearchService"; import { StatusService } from "./StatusResponseService"; /** * InsightService is the entrypoint for all insight-related API services. * It groups sub-services for better organization and reusability. */ export class InsightService { constructor(http) { this.http = http; this.event = new EventService(); this.balance = new BalanceService(this.http); this.search = new SearchService(this.http); this.history = new HistoryService(this.http); this.status = new StatusService(this.http); } }