UNPKG

@davidbolaji/termii-node

Version:

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

24 lines (23 loc) 1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InsightService = void 0; const BalanceService_1 = require("./BalanceService"); const EventService_1 = require("./EventService"); const HistoryService_1 = require("./HistoryService"); const SearchService_1 = require("./SearchService"); const StatusResponseService_1 = require("./StatusResponseService"); /** * InsightService is the entrypoint for all insight-related API services. * It groups sub-services for better organization and reusability. */ class InsightService { constructor(http) { this.http = http; this.event = new EventService_1.EventService(); this.balance = new BalanceService_1.BalanceService(this.http); this.search = new SearchService_1.SearchService(this.http); this.history = new HistoryService_1.HistoryService(this.http); this.status = new StatusResponseService_1.StatusService(this.http); } } exports.InsightService = InsightService;