UNPKG

@davidbolaji/termii-node

Version:

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

20 lines (19 loc) 781 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CampaignService = void 0; const CampaignsService_1 = require("./CampaignsService"); const ContactService_1 = require("./ContactService"); const PhonebookService_1 = require("./PhonebookService"); /** * CampaignService is the entrypoint for all campaign-related API services. * It groups sub-services for better organization and reusability. */ class CampaignService { constructor(http) { this.http = http; this.phonebook = new PhonebookService_1.PhonebookService(this.http); this.contact = new ContactService_1.ContactService(this.http); this.campaign = new CampaignsService_1.CampaignsService(this.http); } } exports.CampaignService = CampaignService;