Comparing version 2.4.0 to 2.5.1
@@ -144,2 +144,19 @@ /** | ||
// Reservations | ||
workerResourceApi.reservations = function(reservationSid) { | ||
var reservationResourceApi = { | ||
get: generate(client, 'GET', baseResourceUrl + '/' + sid + '/Workers/' + workerSid + '/Reservations/' + reservationSid), | ||
post: generate(client, 'POST', baseResourceUrl + '/' + sid + '/Workers/' + workerSid + '/Reservations/' + reservationSid) | ||
}; | ||
//Aliases | ||
reservationResourceApi.update = reservationResourceApi.post; | ||
return reservationResourceApi; | ||
}; | ||
workerResourceApi.reservations.get = generate(client, 'GET', baseResourceUrl + '/' + sid + '/Workers/' + workerSid + '/Reservations'); | ||
//Aliases | ||
workerResourceApi.reservations.list = workerResourceApi.reservations.get; | ||
return workerResourceApi; | ||
@@ -146,0 +163,0 @@ }; |
@@ -35,2 +35,3 @@ var _ = require('underscore'); | ||
case 'Message': legalNodes = ['Media', 'Body']; break; | ||
case 'Enqueue': legalNodes = ['Task']; break; | ||
default: break; | ||
@@ -123,4 +124,4 @@ } | ||
name:'Response', | ||
legalNodes:['Say', 'Play', 'Gather', 'Record', 'Sms', 'Dial', 'Enqueue', 'Leave', 'Hangup', 'Redirect', 'Reject', 'Pause', 'Message'] | ||
legalNodes:['Say', 'Play', 'Gather', 'Record', 'Sms', 'Dial', 'Enqueue', 'Task', 'Leave', 'Hangup', 'Redirect', 'Reject', 'Pause', 'Message'] | ||
}); | ||
}; |
{ | ||
"name": "twilio", | ||
"description": "A Twilio helper library", | ||
"version": "2.4.0", | ||
"version": "2.5.1", | ||
"author": "Kevin Whinnery <kevin.whinnery@gmail.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
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 README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
93622
50
1959
0
52
1