UNPKG

@davidbolaji/termii-node

Version:

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

16 lines (15 loc) 570 B
import { CampaignsService } from "./CampaignsService"; import { ContactService } from "./ContactService"; import { PhonebookService } from "./PhonebookService"; /** * CampaignService is the entrypoint for all campaign-related API services. * It groups sub-services for better organization and reusability. */ export class CampaignService { constructor(http) { this.http = http; this.phonebook = new PhonebookService(this.http); this.contact = new ContactService(this.http); this.campaign = new CampaignsService(this.http); } }