UNPKG

telesignenterprisesdk

Version:

This SDK enhances the functionality of the Telesign Self-service Node SDK, providing access to a broader range of Telesign APIs. See our source code on GitHub (https://github.com/TeleSign/node_telesign_enterprise) for installation instructions and other d

18 lines (16 loc) 768 B
const Verify = require('./verify.js'); const PhoneID = require('./phoneid.js'); const Telebureau = require('./telebureau.js'); const Messaging = require('./messaging.js'); module.exports = class Telesign { constructor(customerId, apiKey, restEndpoint = "https://rest-ww.telesign.com", timeout = 10000, useragent = null) { this.verify = new Verify(customerId, apiKey, restEndpoint, timeout, useragent); this.phoneid = new PhoneID(customerId, apiKey, restEndpoint, timeout, useragent); this.telebureau = new Telebureau(customerId, apiKey, restEndpoint, timeout, useragent); this.messaging = new Messaging(customerId, apiKey, restEndpoint, timeout, useragent); } };