Skip to content

Commit

Permalink
fix: proper indentation (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
eshanholtz committed Feb 25, 2020
1 parent 3b07aca commit 6d96611
Show file tree
Hide file tree
Showing 364 changed files with 5,002 additions and 4,999 deletions.
14 changes: 7 additions & 7 deletions lib/rest/Accounts.js
Expand Up @@ -38,17 +38,17 @@ Accounts.prototype.constructor = Accounts;

Object.defineProperty(Accounts.prototype,
'v1', {
get: function() {
this._v1 = this._v1 || new V1(this);
return this._v1;
}
get: function() {
this._v1 = this._v1 || new V1(this);
return this._v1;
}
});

Object.defineProperty(Accounts.prototype,
'credentials', {
get: function() {
return this.v1.credentials;
}
get: function() {
return this.v1.credentials;
}
});

module.exports = Accounts;
164 changes: 82 additions & 82 deletions lib/rest/Api.js
Expand Up @@ -81,192 +81,192 @@ Api.prototype.constructor = Api;

Object.defineProperty(Api.prototype,
'v2010', {
get: function() {
this._v2010 = this._v2010 || new V2010(this);
return this._v2010;
}
get: function() {
this._v2010 = this._v2010 || new V2010(this);
return this._v2010;
}
});

Object.defineProperty(Api.prototype,
'account', {
get: function() {
return this.v2010.account;
}
get: function() {
return this.v2010.account;
}
});

Object.defineProperty(Api.prototype,
'accounts', {
get: function() {
return this.v2010.accounts;
}
get: function() {
return this.v2010.accounts;
}
});

Object.defineProperty(Api.prototype,
'addresses', {
get: function() {
return this.account.addresses;
}
get: function() {
return this.account.addresses;
}
});

Object.defineProperty(Api.prototype,
'applications', {
get: function() {
return this.account.applications;
}
get: function() {
return this.account.applications;
}
});

Object.defineProperty(Api.prototype,
'authorizedConnectApps', {
get: function() {
return this.account.authorizedConnectApps;
}
get: function() {
return this.account.authorizedConnectApps;
}
});

Object.defineProperty(Api.prototype,
'availablePhoneNumbers', {
get: function() {
return this.account.availablePhoneNumbers;
}
get: function() {
return this.account.availablePhoneNumbers;
}
});

Object.defineProperty(Api.prototype,
'balance', {
get: function() {
return this.account.balance;
}
get: function() {
return this.account.balance;
}
});

Object.defineProperty(Api.prototype,
'calls', {
get: function() {
return this.account.calls;
}
get: function() {
return this.account.calls;
}
});

Object.defineProperty(Api.prototype,
'conferences', {
get: function() {
return this.account.conferences;
}
get: function() {
return this.account.conferences;
}
});

Object.defineProperty(Api.prototype,
'connectApps', {
get: function() {
return this.account.connectApps;
}
get: function() {
return this.account.connectApps;
}
});

Object.defineProperty(Api.prototype,
'incomingPhoneNumbers', {
get: function() {
return this.account.incomingPhoneNumbers;
}
get: function() {
return this.account.incomingPhoneNumbers;
}
});

Object.defineProperty(Api.prototype,
'keys', {
get: function() {
return this.account.keys;
}
get: function() {
return this.account.keys;
}
});

Object.defineProperty(Api.prototype,
'messages', {
get: function() {
return this.account.messages;
}
get: function() {
return this.account.messages;
}
});

Object.defineProperty(Api.prototype,
'newKeys', {
get: function() {
return this.account.newKeys;
}
get: function() {
return this.account.newKeys;
}
});

Object.defineProperty(Api.prototype,
'newSigningKeys', {
get: function() {
return this.account.newSigningKeys;
}
get: function() {
return this.account.newSigningKeys;
}
});

Object.defineProperty(Api.prototype,
'notifications', {
get: function() {
return this.account.notifications;
}
get: function() {
return this.account.notifications;
}
});

Object.defineProperty(Api.prototype,
'outgoingCallerIds', {
get: function() {
return this.account.outgoingCallerIds;
}
get: function() {
return this.account.outgoingCallerIds;
}
});

Object.defineProperty(Api.prototype,
'queues', {
get: function() {
return this.account.queues;
}
get: function() {
return this.account.queues;
}
});

Object.defineProperty(Api.prototype,
'recordings', {
get: function() {
return this.account.recordings;
}
get: function() {
return this.account.recordings;
}
});

Object.defineProperty(Api.prototype,
'signingKeys', {
get: function() {
return this.account.signingKeys;
}
get: function() {
return this.account.signingKeys;
}
});

Object.defineProperty(Api.prototype,
'sip', {
get: function() {
return this.account.sip;
}
get: function() {
return this.account.sip;
}
});

Object.defineProperty(Api.prototype,
'shortCodes', {
get: function() {
return this.account.shortCodes;
}
get: function() {
return this.account.shortCodes;
}
});

Object.defineProperty(Api.prototype,
'tokens', {
get: function() {
return this.account.tokens;
}
get: function() {
return this.account.tokens;
}
});

Object.defineProperty(Api.prototype,
'transcriptions', {
get: function() {
return this.account.transcriptions;
}
get: function() {
return this.account.transcriptions;
}
});

Object.defineProperty(Api.prototype,
'usage', {
get: function() {
return this.account.usage;
}
get: function() {
return this.account.usage;
}
});

Object.defineProperty(Api.prototype,
'validationRequests', {
get: function() {
return this.account.validationRequests;
}
get: function() {
return this.account.validationRequests;
}
});

module.exports = Api;
20 changes: 10 additions & 10 deletions lib/rest/Authy.js
Expand Up @@ -39,24 +39,24 @@ Authy.prototype.constructor = Authy;

Object.defineProperty(Authy.prototype,
'v1', {
get: function() {
this._v1 = this._v1 || new V1(this);
return this._v1;
}
get: function() {
this._v1 = this._v1 || new V1(this);
return this._v1;
}
});

Object.defineProperty(Authy.prototype,
'forms', {
get: function() {
return this.v1.forms;
}
get: function() {
return this.v1.forms;
}
});

Object.defineProperty(Authy.prototype,
'services', {
get: function() {
return this.v1.services;
}
get: function() {
return this.v1.services;
}
});

module.exports = Authy;
14 changes: 7 additions & 7 deletions lib/rest/Autopilot.js
Expand Up @@ -38,17 +38,17 @@ Autopilot.prototype.constructor = Autopilot;

Object.defineProperty(Autopilot.prototype,
'v1', {
get: function() {
this._v1 = this._v1 || new V1(this);
return this._v1;
}
get: function() {
this._v1 = this._v1 || new V1(this);
return this._v1;
}
});

Object.defineProperty(Autopilot.prototype,
'assistants', {
get: function() {
return this.v1.assistants;
}
get: function() {
return this.v1.assistants;
}
});

module.exports = Autopilot;

0 comments on commit 6d96611

Please sign in to comment.