Comparing version 2.5.1 to 2.5.2-edge
//Dependencies | ||
var jwt = require('jwt-simple'); | ||
var Q = require('q'); | ||
@@ -3,0 +4,0 @@ var querystring = require('querystring'); |
@@ -10,7 +10,9 @@ /** | ||
var webhooks = require('./webhooks'), | ||
ConversationsClient = require('./ConversationsClient'), | ||
IpMessagingClient = require('./IpMessagingClient'), | ||
LookupsClient = require('./LookupsClient'), | ||
MonitorClient = require('./MonitorClient'), | ||
PricingClient = require('./PricingClient'), | ||
RestClient = require('./RestClient'), | ||
PricingClient = require('./PricingClient'), | ||
MonitorClient = require('./MonitorClient'), | ||
TaskRouterClient = require('./TaskRouterClient'), | ||
LookupsClient = require('./LookupsClient'), | ||
TrunkingClient = require('./TrunkingClient'); | ||
@@ -24,13 +26,16 @@ | ||
//Main functional components of the Twilio module | ||
initializer.ConversationsClient = ConversationsClient; | ||
initializer.IpMessagingClient = IpMessagingClient; | ||
initializer.LookupsClient = LookupsClient; | ||
initializer.MonitorClient = MonitorClient; | ||
initializer.PricingClient = PricingClient; | ||
initializer.RestClient = RestClient; | ||
initializer.PricingClient = PricingClient; | ||
initializer.MonitorClient = MonitorClient; | ||
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'); | ||
@@ -37,0 +42,0 @@ |
@@ -17,3 +17,28 @@ /** | ||
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', | ||
@@ -23,4 +48,13 @@ ['GET', 'POST', 'PUT', 'DELETE', { update:'PUT' }], | ||
), | ||
incomingPhoneNumbers:require('./IncomingPhoneNumbers')(client, sid), | ||
messages: require('./Messages')(client, sid), | ||
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) | ||
}, | ||
sms:{ | ||
@@ -36,18 +70,2 @@ 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', | ||
@@ -61,6 +79,2 @@ [], | ||
), | ||
notifications:ListInstanceResource(client, sid, 'Notifications', | ||
['GET', 'DELETE'], | ||
['GET'] | ||
), | ||
usage:{ | ||
@@ -72,10 +86,3 @@ 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) | ||
} | ||
}; | ||
@@ -82,0 +89,0 @@ |
{ | ||
"name": "twilio", | ||
"description": "A Twilio helper library", | ||
"version": "2.5.1", | ||
"version": "2.5.2-edge", | ||
"author": "Kevin Whinnery <kevin.whinnery@gmail.com>", | ||
@@ -19,3 +19,3 @@ "contributors": [ | ||
"underscore": "1.x", | ||
"jwt-simple": "0.1.x", | ||
"jwt-simple": "0.3.x", | ||
"q": "0.9.7", | ||
@@ -28,6 +28,6 @@ "scmp": "0.0.3", | ||
"express": "3.x", | ||
"jasmine-node": "^1.14.5" | ||
"jasmine-node": "2.0.x" | ||
}, | ||
"scripts": { | ||
"test": "jasmine-node spec" | ||
"test": "jasmine-node --captureExceptions spec" | ||
}, | ||
@@ -34,0 +34,0 @@ "main": "./lib", |
Sorry, the diff of this file is not supported yet
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
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
106101
57
2300
2
+ Addedjwt-simple@0.3.1(transitive)
- Removedjwt-simple@0.1.0(transitive)
Updatedjwt-simple@0.3.x