Skip to content

Commit

Permalink
[Librarian] Regenerated @ 9a8a940052b0cd64cc253c2a38cb6ae555a4d07b
Browse files Browse the repository at this point in the history
  • Loading branch information
jmctwilio committed Nov 13, 2017
1 parent 846a7e9 commit 876e08e
Show file tree
Hide file tree
Showing 331 changed files with 3,893 additions and 568 deletions.
12 changes: 12 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
twilio-node changelog
=====================

[2017-11-13] Version 3.9.3
---------------------------
**Accounts**
- Add AWS credential type

**Preview**
- Removed `iso_country` as required field for creating a HostedNumberOrder.

**Proxy**
- Added new fields to Service: geo_match_level, number_selection_behavior, intercept_callback_url, out_of_session_callback_url


[2017-11-03] Version 3.9.2
---------------------------
**Api**
Expand Down
19 changes: 19 additions & 0 deletions lib/rest/Preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ var HostedNumbers = require(
'./preview/HostedNumbers'); /* jshint ignore:line */
var Marketplace = require('./preview/Marketplace'); /* jshint ignore:line */
var Proxy = require('./preview/Proxy'); /* jshint ignore:line */
var Studio = require('./preview/Studio'); /* jshint ignore:line */
var Sync = require('./preview/Sync'); /* jshint ignore:line */
var Understand = require('./preview/Understand'); /* jshint ignore:line */
var Wireless = require('./preview/Wireless'); /* jshint ignore:line */
Expand All @@ -36,6 +37,7 @@ var Wireless = require('./preview/Wireless'); /* jshint ignore:line */
* @property {Twilio.Preview.HostedNumbers} hosted_numbers - hosted_numbers version
* @property {Twilio.Preview.Marketplace} marketplace - marketplace version
* @property {Twilio.Preview.Proxy} proxy - proxy version
* @property {Twilio.Preview.Studio} studio - studio version
* @property {Twilio.Preview.AccSecurity} acc_security - acc_security version
* @property {Twilio.Preview.Sync} sync - sync version
* @property {Twilio.Preview.Understand} understand - understand version
Expand All @@ -53,6 +55,7 @@ var Wireless = require('./preview/Wireless'); /* jshint ignore:line */
* @property {Twilio.Preview.Marketplace.InstalledAddOnList} installedAddOns -
* installedAddOns resource
* @property {Twilio.Preview.Understand.ServiceList} services - services resource
* @property {Twilio.Preview.Studio.FlowList} flows - flows resource
* @property {Twilio.Preview.Wireless.CommandList} commands - commands resource
* @property {Twilio.Preview.Wireless.RatePlanList} ratePlans - ratePlans resource
* @property {Twilio.Preview.Wireless.SimList} sims - sims resource
Expand All @@ -69,6 +72,7 @@ function Preview(twilio) {
this._hosted_numbers = undefined;
this._marketplace = undefined;
this._proxy = undefined;
this._studio = undefined;
this._acc_security = undefined;
this._sync = undefined;
this._understand = undefined;
Expand Down Expand Up @@ -118,6 +122,14 @@ Object.defineProperty(Preview.prototype,
}
});

Object.defineProperty(Preview.prototype,
'studio', {
get: function() {
this._studio = this._studio || new Studio(this);
return this._studio;
}
});

Object.defineProperty(Preview.prototype,
'acc_security', {
get: function() {
Expand Down Expand Up @@ -206,6 +218,13 @@ Object.defineProperty(Preview.prototype,
}
});

Object.defineProperty(Preview.prototype,
'flows', {
get: function() {
return this.studio.flows;
}
});

Object.defineProperty(Preview.prototype,
'commands', {
get: function() {
Expand Down
13 changes: 13 additions & 0 deletions lib/rest/accounts/v1/credential.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
/* jshint ignore:end */

var _ = require('lodash'); /* jshint ignore:line */
var AwsList = require('./credential/aws').AwsList;
var PublicKeyList = require('./credential/publicKey').PublicKeyList;

var CredentialList;
Expand Down Expand Up @@ -44,6 +45,7 @@ CredentialList = function CredentialList(version) {

// Components
CredentialListInstance._publicKey = undefined;
CredentialListInstance._aws = undefined;

Object.defineProperty(CredentialListInstance,
'publicKey', {
Expand All @@ -56,6 +58,17 @@ CredentialList = function CredentialList(version) {
}
});

Object.defineProperty(CredentialListInstance,
'aws', {
get: function aws() {
if (!this._aws) {
this._aws = new AwsList(this._version);
}

return this._aws;
}
});

return CredentialListInstance;
};

Expand Down
Loading

0 comments on commit 876e08e

Please sign in to comment.