Skip to content

Commit

Permalink
[Librarian] Regenerated @ 3a7aa99691a624a056788ce0f9f678c6ae38efba
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Jun 1, 2022
1 parent 2537482 commit 0387a36
Show file tree
Hide file tree
Showing 23 changed files with 67 additions and 2,840 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
twilio-node changelog
=====================

[2022-06-01] Version 3.77.2
---------------------------
**Library - Chore**
- [PR #755](https://github.com/twilio/twilio-node/pull/755): use Docker 'rc' tag for release candidate images. Thanks to [@childish-sambino](https://github.com/childish-sambino)!


[2022-05-18] Version 3.77.1
---------------------------
**Api**
Expand Down
26 changes: 0 additions & 26 deletions lib/rest/Fax.d.ts

This file was deleted.

54 changes: 0 additions & 54 deletions lib/rest/Fax.js

This file was deleted.

4 changes: 1 addition & 3 deletions lib/rest/Twilio.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import Bulkexports = require('./Bulkexports');
import Chat = require('./Chat');
import Conversations = require('./Conversations');
import Events = require('./Events');
import Fax = require('./Fax');
import FlexApi = require('./FlexApi');
import FrontlineApi = require('./FrontlineApi');
import Insights = require('./Insights');
Expand Down Expand Up @@ -64,7 +63,6 @@ declare class Twilio {
connectApps: (typeof Api.prototype.account.connectApps);
conversations: Conversations;
events: Events;
fax: Fax;
flexApi: FlexApi;
frontlineApi: FrontlineApi;
httpClient?: RequestClient;
Expand Down Expand Up @@ -157,7 +155,7 @@ declare namespace Twilio {
* @property edge - Twilio edge to use. Defaults to none
* @property env - The environment object. Defaults to process.env
* @property httpClient - The client used for http requests. Defaults to RequestClient
* @property lazyLoading - Enable lazy loading, loading time will decrease if enabled
* @property lazyLoading - Enable lazy loading, loading time will decrease if enabled. Defaults to true
* @property logLevel - Debug logs will be shown. Defaults to none
* @property region - Twilio region to use. Defaults to us1 if edge defined
* @property userAgentExtensions - Additions to the user agent string
Expand Down
20 changes: 3 additions & 17 deletions lib/rest/Twilio.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ var RestException = require('../base/RestException'); /* jshint ignore:line */
* @property {Twilio.Chat} chat - chat domain
* @property {Twilio.Conversations} conversations - conversations domain
* @property {Twilio.Events} events - events domain
* @property {Twilio.Fax} fax - fax domain
* @property {Twilio.FlexApi} flexApi - flex_api domain
* @property {Twilio.FrontlineApi} frontlineApi - frontline_api domain
* @property {Twilio.Insights} insights - insights domain
Expand Down Expand Up @@ -111,7 +110,7 @@ var RestException = require('../base/RestException'); /* jshint ignore:line */
* @param {string} [opts.region] -
* Twilio region to use. Defaults to us1 if edge defined
* @param {boolean} [opts.lazyLoading] -
* Enable lazy loading, loading time will decrease if enabled
* Enable lazy loading, loading time will decrease if enabled. Defaults to true
* @param {string} [opts.logLevel] - Debug logs will be shown. Defaults to none
* @param {string[]} [opts.userAgentExtensions] -
* Additions to the user agent string
Expand All @@ -127,7 +126,7 @@ function Twilio(username, password, opts) {
this.password = password || env.TWILIO_AUTH_TOKEN;
this.accountSid = opts.accountSid || this.username;
this._httpClient = opts.httpClient;
if (!opts.lazyLoading) {
if (opts.lazyLoading == false) {
this._httpClient = this.httpClient;
}
this.edge = opts.edge || env.TWILIO_EDGE;
Expand All @@ -154,7 +153,6 @@ function Twilio(username, password, opts) {
this._chat = undefined;
this._conversations = undefined;
this._events = undefined;
this._fax = undefined;
this._flexApi = undefined;
this._frontlineApi = undefined;
this._insights = undefined;
Expand All @@ -181,14 +179,13 @@ function Twilio(username, password, opts) {
this._supersim = undefined;
this._bulkexports = undefined;

if (!opts.lazyLoading) {
if (opts.lazyLoading == false) {
this.accounts;
this.api;
this.autopilot;
this.chat;
this.conversations;
this.events;
this.fax;
this.flexApi;
this.frontlineApi;
this.insights;
Expand Down Expand Up @@ -428,17 +425,6 @@ Object.defineProperty(Twilio.prototype,
}
});

Object.defineProperty(Twilio.prototype,
'fax', {
get: function() {
if (!this._fax) {
var Fax = require('./Fax'); /* jshint ignore:line */
this._fax = new Fax(this);
}
return this._fax;
}
});

Object.defineProperty(Twilio.prototype,
'flexApi', {
get: function() {
Expand Down
25 changes: 0 additions & 25 deletions lib/rest/fax/V1.d.ts

This file was deleted.

46 changes: 0 additions & 46 deletions lib/rest/fax/V1.js

This file was deleted.

Loading

0 comments on commit 0387a36

Please sign in to comment.