Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

twilio

Package Overview
Dependencies
Maintainers
7
Versions
305
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twilio - npm Package Compare versions

Comparing version 2.5.2-edge to 2.5.2

1

lib/Client.js
//Dependencies
var jwt = require('jwt-simple');
var Q = require('q');

@@ -4,0 +3,0 @@ var querystring = require('querystring');

19

lib/index.js

@@ -10,9 +10,7 @@ /**

var webhooks = require('./webhooks'),
ConversationsClient = require('./ConversationsClient'),
IpMessagingClient = require('./IpMessagingClient'),
LookupsClient = require('./LookupsClient'),
RestClient = require('./RestClient'),
PricingClient = require('./PricingClient'),
MonitorClient = require('./MonitorClient'),
PricingClient = require('./PricingClient'),
RestClient = require('./RestClient'),
TaskRouterClient = require('./TaskRouterClient'),
LookupsClient = require('./LookupsClient'),
TrunkingClient = require('./TrunkingClient');

@@ -26,16 +24,13 @@

//Main functional components of the Twilio module
initializer.ConversationsClient = ConversationsClient;
initializer.IpMessagingClient = IpMessagingClient;
initializer.LookupsClient = LookupsClient;
initializer.RestClient = RestClient;
initializer.PricingClient = PricingClient;
initializer.MonitorClient = MonitorClient;
initializer.PricingClient = PricingClient;
initializer.RestClient = RestClient;
initializer.TaskRouterClient = TaskRouterClient;
initializer.LookupsClient = LookupsClient;
initializer.TrunkingClient = TrunkingClient;
initializer.AccessToken = require('./AccessToken');
initializer.Capability = require('./Capability');
initializer.TaskRouterCapability = require('./TaskRouterCapability');
initializer.TaskRouterTaskQueueCapability = require('./TaskRouterTaskQueueCapability');
initializer.TaskRouterWorkerCapability = require('./TaskRouterWorkerCapability');
initializer.TaskRouterWorkspaceCapability = require('./TaskRouterWorkspaceCapability');
initializer.TaskRouterTaskQueueCapability = require('./TaskRouterTaskQueueCapability');
initializer.TwimlResponse = require('./TwimlResponse');

@@ -42,0 +37,0 @@

@@ -17,28 +17,3 @@ /**

var subresources = {
addresses:require('./Addresses')(client, sid),
applications:ListInstanceResource(client, sid, 'Applications',
['GET', 'POST', 'DELETE', {update:'POST'}],
['GET', 'POST', {create:'POST'}]
),
authorizedConnectApps:ListInstanceResource(client, sid, 'AuthorizedConnectApps',
['GET'],
['GET']
),
availablePhoneNumbers:require('./AvailablePhoneNumbers')(client, sid),
calls:require('./Calls')(client, sid),
conferences:require('./Conferences')(client, sid),
connectApps:ListInstanceResource(client, sid, 'ConnectApps',
['GET', 'POST', {update:'POST'}],
['GET']
),
incomingPhoneNumbers:require('./IncomingPhoneNumbers')(client, sid),
keys:ListInstanceResource(client, sid, 'Keys',
['GET', 'POST', 'DELETE', {update: 'POST'}],
['GET', 'POST', {create: 'POST'}]
),
messages: require('./Messages')(client, sid),
notifications:ListInstanceResource(client, sid, 'Notifications',
['GET', 'DELETE'],
['GET']
),
outgoingCallerIds:ListInstanceResource(client, sid, 'OutgoingCallerIds',

@@ -48,13 +23,4 @@ ['GET', 'POST', 'PUT', 'DELETE', { update:'PUT' }],

),
queues:require('./Queues')(client, sid),
recordings:require('./Recordings')(client, sid),
signingKeys:ListInstanceResource(client, sid, 'SigningKeys',
['GET', 'POST', 'DELETE', {update:'POST'}],
['POST', {create:'POST'}]
),
sip:{
domains:require('./sip/Domains')(client, sid),
ipAccessControlLists:require('./sip/IpAccessControlLists')(client,sid),
credentialLists:require('./sip/CredentialLists')(client,sid)
},
incomingPhoneNumbers:require('./IncomingPhoneNumbers')(client, sid),
messages: require('./Messages')(client, sid),
sms:{

@@ -70,2 +36,18 @@ messages:ListInstanceResource(client, sid, 'SMS/Messages',

},
applications:ListInstanceResource(client, sid, 'Applications',
['GET', 'POST', 'DELETE', {update:'POST'}],
['GET', 'POST', {create:'POST'}]
),
connectApps:ListInstanceResource(client, sid, 'ConnectApps',
['GET', 'POST', {update:'POST'}],
['GET']
),
authorizedConnectApps:ListInstanceResource(client, sid, 'AuthorizedConnectApps',
['GET'],
['GET']
),
calls:require('./Calls')(client, sid),
conferences:require('./Conferences')(client, sid),
queues:require('./Queues')(client, sid),
recordings:require('./Recordings')(client, sid),
tokens: ListInstanceResource(client, sid, 'Tokens',

@@ -79,2 +61,6 @@ [],

),
notifications:ListInstanceResource(client, sid, 'Notifications',
['GET', 'DELETE'],
['GET']
),
usage:{

@@ -86,3 +72,13 @@ records:require('./UsageRecords')(client, sid),

)
}
},
sip:{
domains:require('./sip/Domains')(client, sid),
ipAccessControlLists:require('./sip/IpAccessControlLists')(client,sid),
credentialLists:require('./sip/CredentialLists')(client,sid)
},
addresses:require('./Addresses')(client, sid),
keys:ListInstanceResource(client, sid, 'Keys',
['GET', 'POST', 'DELETE', {update: 'POST'}],
['GET', 'POST', {create: 'POST'}]
)
};

@@ -89,0 +85,0 @@

{
"name": "twilio",
"description": "A Twilio helper library",
"version": "2.5.2-edge",
"version": "2.5.2",
"author": "Kevin Whinnery <kevin.whinnery@gmail.com>",

@@ -19,3 +19,3 @@ "contributors": [

"underscore": "1.x",
"jwt-simple": "0.3.x",
"jwt-simple": "0.1.x",
"q": "0.9.7",

@@ -22,0 +22,0 @@ "scmp": "0.0.3",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc