Comparing version 2.5.2-edge to 2.5.2
//Dependencies | ||
var jwt = require('jwt-simple'); | ||
var Q = require('q'); | ||
@@ -4,0 +3,0 @@ var querystring = require('querystring'); |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
0
93847
50
1963
+ Addedjwt-simple@0.1.0(transitive)
- Removedjwt-simple@0.3.1(transitive)
Updatedjwt-simple@0.1.x