Skip to content

Commit

Permalink
[Librarian] Regenerated @ c4079ef2e396aaadcdc4dfcbebb16b4a9a34a1dc
Browse files Browse the repository at this point in the history
  • Loading branch information
codejudas committed Apr 28, 2018
1 parent 3693092 commit 07d9617
Show file tree
Hide file tree
Showing 71 changed files with 2,466 additions and 1,521 deletions.
9 changes: 9 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
twilio-node changelog
=====================

[2018-04-28] Version 3.16.0
----------------------------
**Library**
- PR #337: Upgrade lodash. Thanks to @YasharF!

**Video**
- Redesign API by adding custom `VideoLayout` object. **(breaking change)**


[2018-04-20] Version 3.15.1
----------------------------
**Twiml**
Expand Down
14 changes: 7 additions & 7 deletions lib/rest/api/v2010/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ AccountList = function AccountList(version) {
*
* @param {object|function} opts - ...
* @param {string} [opts.friendlyName] - FriendlyName to filter on
* @param {account.status} [opts.status] - Status to filter on
* @param {string} [opts.status] - Status to filter on
* @param {number} [opts.limit] -
* Upper limit for the number of records to return.
* each() guarantees never to return more than limit.
Expand Down Expand Up @@ -229,7 +229,7 @@ AccountList = function AccountList(version) {
*
* @param {object|function} opts - ...
* @param {string} [opts.friendlyName] - FriendlyName to filter on
* @param {account.status} [opts.status] - Status to filter on
* @param {string} [opts.status] - Status to filter on
* @param {number} [opts.limit] -
* Upper limit for the number of records to return.
* list() guarantees never to return more than limit.
Expand Down Expand Up @@ -290,7 +290,7 @@ AccountList = function AccountList(version) {
*
* @param {object|function} opts - ...
* @param {string} [opts.friendlyName] - FriendlyName to filter on
* @param {account.status} [opts.status] - Status to filter on
* @param {string} [opts.status] - Status to filter on
* @param {string} [opts.pageToken] - PageToken provided by the API
* @param {number} [opts.pageNumber] -
* Page Number, this value is simply for client state
Expand Down Expand Up @@ -345,7 +345,7 @@ AccountList = function AccountList(version) {
* @instance
*
* @param {string} [opts.friendlyName] - FriendlyName to filter on
* @param {account.status} [opts.status] - Status to filter on
* @param {string} [opts.status] - Status to filter on
* @param {string} [targetUrl] - API-generated URL for the requested results page
* @param {function} [callback] - Callback to handle list of records
*
Expand Down Expand Up @@ -447,7 +447,7 @@ AccountPage.prototype.getInstance = function getInstance(payload) {
* The unique 34 character id representing the parent of this account
* @property {string} sid -
* A 34 character string that uniquely identifies this resource.
* @property {account.status} status - The status of this account
* @property {string} status - The status of this account
* @property {string} subresourceUris - Account Instance Subresources
* @property {account.type} type - The type of this account
* @property {string} uri -
Expand Down Expand Up @@ -516,7 +516,7 @@ AccountInstance.prototype.fetch = function fetch(callback) {
*
* @param {object|function} opts - ...
* @param {string} [opts.friendlyName] - FriendlyName to update
* @param {account.status} [opts.status] - Status to update the Account with
* @param {string} [opts.status] - Status to update the Account with
* @param {function} [callback] - Callback to handle processed record
*
* @returns {Promise} Resolves to processed AccountInstance
Expand Down Expand Up @@ -1024,7 +1024,7 @@ AccountContext.prototype.fetch = function fetch(callback) {
*
* @param {object|function} opts - ...
* @param {string} [opts.friendlyName] - FriendlyName to update
* @param {account.status} [opts.status] - Status to update the Account with
* @param {string} [opts.status] - Status to update the Account with
* @param {function} [callback] - Callback to handle processed record
*
* @returns {Promise} Resolves to processed AccountInstance
Expand Down
135 changes: 88 additions & 47 deletions lib/rest/api/v2010/account/address.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ var AddressContext;
* @description Initialize the AddressList
*
* @param {Twilio.Api.V2010} version - Version of the resource
* @param {string} accountSid - The account_sid
* @param {string} accountSid -
* The unique id of the Account responsible for this address.
*/
/* jshint ignore:end */
AddressList = function AddressList(version, accountSid) {
Expand Down Expand Up @@ -64,15 +65,22 @@ AddressList = function AddressList(version, accountSid) {
* @instance
*
* @param {object} opts - ...
* @param {string} opts.customerName - The customer_name
* @param {string} opts.street - The street
* @param {string} opts.city - The city
* @param {string} opts.region - The region
* @param {string} opts.postalCode - The postal_code
* @param {string} opts.isoCountry - The iso_country
* @param {string} [opts.friendlyName] - The friendly_name
* @param {string} opts.customerName -
* Your name or business name, or that of your customer.
* @param {string} opts.street -
* The number and street address where you or your customer is located.
* @param {string} opts.city - The city in which you or your customer is located.
* @param {string} opts.region -
* The state or region in which you or your customer is located.
* @param {string} opts.postalCode -
* The postal code in which you or your customer is located.
* @param {string} opts.isoCountry -
* The ISO country code of your or your customer's address.
* @param {string} [opts.friendlyName] -
* A human-readable description of the new address.
* @param {boolean} [opts.emergencyEnabled] - The emergency_enabled
* @param {boolean} [opts.autoCorrectAddress] - The auto_correct_address
* @param {boolean} [opts.autoCorrectAddress] -
* If you don't set a value for this parameter, or if you set it to true, then the system will, if necessary, auto-correct the address you provide.
* @param {function} [callback] - Callback to handle processed record
*
* @returns {Promise} Resolves to processed AddressInstance
Expand Down Expand Up @@ -152,9 +160,12 @@ AddressList = function AddressList(version, accountSid) {
* @instance
*
* @param {object|function} opts - ...
* @param {string} [opts.customerName] - The customer_name
* @param {string} [opts.friendlyName] - The friendly_name
* @param {string} [opts.isoCountry] - The iso_country
* @param {string} [opts.customerName] -
* Only return the Address resources with customer names that exactly match this name.
* @param {string} [opts.friendlyName] -
* Only return the Address resources with friendly names that exactly match this name.
* @param {string} [opts.isoCountry] -
* Only return the Address resources in this country.
* @param {number} [opts.limit] -
* Upper limit for the number of records to return.
* each() guarantees never to return more than limit.
Expand Down Expand Up @@ -243,9 +254,12 @@ AddressList = function AddressList(version, accountSid) {
* @instance
*
* @param {object|function} opts - ...
* @param {string} [opts.customerName] - The customer_name
* @param {string} [opts.friendlyName] - The friendly_name
* @param {string} [opts.isoCountry] - The iso_country
* @param {string} [opts.customerName] -
* Only return the Address resources with customer names that exactly match this name.
* @param {string} [opts.friendlyName] -
* Only return the Address resources with friendly names that exactly match this name.
* @param {string} [opts.isoCountry] -
* Only return the Address resources in this country.
* @param {number} [opts.limit] -
* Upper limit for the number of records to return.
* list() guarantees never to return more than limit.
Expand Down Expand Up @@ -305,9 +319,12 @@ AddressList = function AddressList(version, accountSid) {
* @instance
*
* @param {object|function} opts - ...
* @param {string} [opts.customerName] - The customer_name
* @param {string} [opts.friendlyName] - The friendly_name
* @param {string} [opts.isoCountry] - The iso_country
* @param {string} [opts.customerName] -
* Only return the Address resources with customer names that exactly match this name.
* @param {string} [opts.friendlyName] -
* Only return the Address resources with friendly names that exactly match this name.
* @param {string} [opts.isoCountry] -
* Only return the Address resources in this country.
* @param {string} [opts.pageToken] - PageToken provided by the API
* @param {number} [opts.pageNumber] -
* Page Number, this value is simply for client state
Expand Down Expand Up @@ -362,9 +379,12 @@ AddressList = function AddressList(version, accountSid) {
* @memberof Twilio.Api.V2010.AccountContext.AddressList
* @instance
*
* @param {string} [opts.customerName] - The customer_name
* @param {string} [opts.friendlyName] - The friendly_name
* @param {string} [opts.isoCountry] - The iso_country
* @param {string} [opts.customerName] -
* Only return the Address resources with customer names that exactly match this name.
* @param {string} [opts.friendlyName] -
* Only return the Address resources with friendly names that exactly match this name.
* @param {string} [opts.isoCountry] -
* Only return the Address resources in this country.
* @param {string} [targetUrl] - API-generated URL for the requested results page
* @param {function} [callback] - Callback to handle list of records
*
Expand Down Expand Up @@ -458,20 +478,29 @@ AddressPage.prototype.getInstance = function getInstance(payload) {
* @constructor Twilio.Api.V2010.AccountContext.AddressInstance
* @description Initialize the AddressContext
*
* @property {string} accountSid - The account_sid
* @property {string} city - The city
* @property {string} customerName - The customer_name
* @property {string} accountSid -
* The unique id of the Account responsible for this address.
* @property {string} city - The city in which you or your customer is located.
* @property {string} customerName -
* Your name or business name, or that of your customer.
* @property {Date} dateCreated - The date_created
* @property {Date} dateUpdated - The date_updated
* @property {string} friendlyName - The friendly_name
* @property {string} isoCountry - The iso_country
* @property {string} postalCode - The postal_code
* @property {string} region - The region
* @property {string} sid - The sid
* @property {string} street - The street
* @property {string} uri - The uri
* @property {boolean} emergencyEnabled - The emergency_enabled
* @property {boolean} validated - The validated
* @property {string} friendlyName - A human-readable description of the address.
* @property {string} isoCountry -
* The ISO country code of your or your customer's address.
* @property {string} postalCode -
* The postal code in which you or your customer is located.
* @property {string} region -
* The state or region in which you or your customer is located.
* @property {string} sid -
* A 34 character string that uniquely identifies this address.
* @property {string} street -
* The number and street address where you or your customer is located.
* @property {string} uri - The URI for this resource, relative to https://api.
* @property {boolean} emergencyEnabled -
* This is a value that indicates if emergency calling has been enabled on this number.
* @property {boolean} validated -
* In some countries, addresses are validated to comply with local regulation.
*
* @param {Twilio.Api.V2010} version - Version of the resource
* @param {object} payload - The instance payload
Expand Down Expand Up @@ -557,14 +586,20 @@ AddressInstance.prototype.fetch = function fetch(callback) {
* @instance
*
* @param {object|function} opts - ...
* @param {string} [opts.friendlyName] - The friendly_name
* @param {string} [opts.customerName] - The customer_name
* @param {string} [opts.street] - The street
* @param {string} [opts.city] - The city
* @param {string} [opts.region] - The region
* @param {string} [opts.postalCode] - The postal_code
* @param {string} [opts.friendlyName] -
* A human-readable description of the address.
* @param {string} [opts.customerName] -
* Your name or business name, or that of your customer.
* @param {string} [opts.street] -
* The number and street address where you or your customer is located.
* @param {string} [opts.city] - The city in which you or your customer is located.
* @param {string} [opts.region] -
* The state or region in which you or your customer is located.
* @param {string} [opts.postalCode] -
* The postal code in which you or your customer is located.
* @param {boolean} [opts.emergencyEnabled] - The emergency_enabled
* @param {boolean} [opts.autoCorrectAddress] - The auto_correct_address
* @param {boolean} [opts.autoCorrectAddress] -
* If you don't set a value for this parameter, or if you set it to true, then the system will, if necessary, auto-correct the address you provide.
* @param {function} [callback] - Callback to handle processed record
*
* @returns {Promise} Resolves to processed AddressInstance
Expand Down Expand Up @@ -717,14 +752,20 @@ AddressContext.prototype.fetch = function fetch(callback) {
* @instance
*
* @param {object|function} opts - ...
* @param {string} [opts.friendlyName] - The friendly_name
* @param {string} [opts.customerName] - The customer_name
* @param {string} [opts.street] - The street
* @param {string} [opts.city] - The city
* @param {string} [opts.region] - The region
* @param {string} [opts.postalCode] - The postal_code
* @param {string} [opts.friendlyName] -
* A human-readable description of the address.
* @param {string} [opts.customerName] -
* Your name or business name, or that of your customer.
* @param {string} [opts.street] -
* The number and street address where you or your customer is located.
* @param {string} [opts.city] - The city in which you or your customer is located.
* @param {string} [opts.region] -
* The state or region in which you or your customer is located.
* @param {string} [opts.postalCode] -
* The postal code in which you or your customer is located.
* @param {boolean} [opts.emergencyEnabled] - The emergency_enabled
* @param {boolean} [opts.autoCorrectAddress] - The auto_correct_address
* @param {boolean} [opts.autoCorrectAddress] -
* If you don't set a value for this parameter, or if you set it to true, then the system will, if necessary, auto-correct the address you provide.
* @param {function} [callback] - Callback to handle processed record
*
* @returns {Promise} Resolves to processed AddressInstance
Expand Down
3 changes: 2 additions & 1 deletion lib/rest/api/v2010/account/address/dependentPhoneNumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ var DependentPhoneNumberInstance;
*
* @param {Twilio.Api.V2010} version - Version of the resource
* @param {string} accountSid - The account_sid
* @param {string} addressSid - The sid
* @param {string} addressSid -
* A 34 character string that uniquely identifies this address.
*/
/* jshint ignore:end */
DependentPhoneNumberList = function DependentPhoneNumberList(version,
Expand Down
3 changes: 2 additions & 1 deletion lib/rest/api/v2010/account/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ ApplicationList = function ApplicationList(version, accountSid) {
* @instance
*
* @param {object} opts - ...
* @param {string} opts.friendlyName - The friendly_name
* @param {string} opts.friendlyName -
* A human readable description of the application
* @param {string} [opts.apiVersion] - The API version to use
* @param {string} [opts.voiceUrl] -
* URL Twilio will make requests to when relieving a call
Expand Down
Loading

0 comments on commit 07d9617

Please sign in to comment.