Comparing version 2.5.2 to 3.0.0-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,13 +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), | ||
keys:ListInstanceResource(client, sid, 'Keys', | ||
['GET', 'POST', 'DELETE', {update: 'POST'}], | ||
['GET', 'POST', {create: 'POST'}] | ||
) | ||
} | ||
}; | ||
@@ -85,0 +89,0 @@ |
{ | ||
"name": "twilio", | ||
"description": "A Twilio helper library", | ||
"version": "2.5.2", | ||
"version": "3.0.0-edge", | ||
"author": "Kevin Whinnery <kevin.whinnery@gmail.com>", | ||
@@ -19,3 +19,4 @@ "contributors": [ | ||
"underscore": "1.x", | ||
"jwt-simple": "0.1.x", | ||
"jwt-simple": "0.3.x", | ||
"jsonwebtoken": "5.4.x", | ||
"q": "0.9.7", | ||
@@ -22,0 +23,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
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
105405
57
2271
8
2
+ Addedjsonwebtoken@5.4.x
+ Addedbuffer-equal-constant-time@1.0.1(transitive)
+ Addedecdsa-sig-formatter@1.0.11(transitive)
+ Addedjsonwebtoken@5.4.1(transitive)
+ Addedjwa@1.4.1(transitive)
+ Addedjws@3.2.2(transitive)
+ Addedjwt-simple@0.3.1(transitive)
+ Addedms@0.7.3(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
- Removedjwt-simple@0.1.0(transitive)
Updatedjwt-simple@0.3.x