-
Notifications
You must be signed in to change notification settings - Fork 521
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Librarian] Regenerated @ 964f1611ab7481d828261f49551385a276499e30
- Loading branch information
Showing
39 changed files
with
1,238 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* This code was generated by | ||
* \ / _ _ _| _ _ | ||
* | (_)\/(_)(_|\/| |(/_ v1.0.0 | ||
* / / | ||
*/ | ||
|
||
import FlexApi = require('../FlexApi'); | ||
import Version = require('../../base/Version'); | ||
import { WebChannelsList } from './v2/webChannels'; | ||
import { WebChannelsListInstance } from './v2/webChannels'; | ||
|
||
|
||
declare class V2 extends Version { | ||
/** | ||
* Initialize the V2 version of FlexApi | ||
* | ||
* @param domain - The twilio domain | ||
*/ | ||
constructor(domain: FlexApi); | ||
|
||
readonly webChannels: WebChannelsListInstance; | ||
} | ||
|
||
export = V2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
'use strict'; | ||
|
||
/* jshint ignore:start */ | ||
/** | ||
* This code was generated by | ||
* \ / _ _ _| _ _ | ||
* | (_)\/(_)(_|\/| |(/_ v1.0.0 | ||
* / / | ||
*/ | ||
/* jshint ignore:end */ | ||
|
||
var _ = require('lodash'); /* jshint ignore:line */ | ||
var Version = require('../../base/Version'); /* jshint ignore:line */ | ||
var WebChannelsList = require('./v2/webChannels').WebChannelsList; | ||
|
||
|
||
/* jshint ignore:start */ | ||
/** | ||
* Initialize the V2 version of FlexApi | ||
* | ||
* @constructor Twilio.FlexApi.V2 | ||
* | ||
* @property {Twilio.FlexApi.V2.WebChannelsList} webChannels - webChannels resource | ||
* | ||
* @param {Twilio.FlexApi} domain - The twilio domain | ||
*/ | ||
/* jshint ignore:end */ | ||
function V2(domain) { | ||
Version.prototype.constructor.call(this, domain, 'v2'); | ||
|
||
// Resources | ||
this._webChannels = undefined; | ||
} | ||
|
||
_.extend(V2.prototype, Version.prototype); | ||
V2.prototype.constructor = V2; | ||
|
||
Object.defineProperty(V2.prototype, | ||
'webChannels', { | ||
get: function() { | ||
this._webChannels = this._webChannels || new WebChannelsList(this); | ||
return this._webChannels; | ||
} | ||
}); | ||
|
||
module.exports = V2; |
Oops, something went wrong.