Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Librarian] Regenerated @ ee964c66599ebcd125eb411ba410bde1e62b3503
- Loading branch information
Showing
60 changed files
with
5,805 additions
and
662 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** | ||
* This code was generated by | ||
* \ / _ _ _| _ _ | ||
* | (_)\/(_)(_|\/| |(/_ v1.0.0 | ||
* / / | ||
*/ | ||
|
||
import Domain = require('../base/Domain'); | ||
import Twilio = require('./Twilio'); | ||
import V1 = require('./supersim/V1'); | ||
import { CommandListInstance } from './supersim/v1/command'; | ||
import { FleetListInstance } from './supersim/v1/fleet'; | ||
import { SimListInstance } from './supersim/v1/sim'; | ||
import { UsageRecordListInstance } from './supersim/v1/usageRecord'; | ||
|
||
|
||
declare class Supersim extends Domain { | ||
/** | ||
* Initialize supersim domain | ||
* | ||
* @param twilio - The twilio client | ||
*/ | ||
constructor(twilio: Twilio); | ||
|
||
readonly commands: CommandListInstance; | ||
readonly fleets: FleetListInstance; | ||
readonly sims: SimListInstance; | ||
readonly usageRecords: UsageRecordListInstance; | ||
readonly v1: V1; | ||
} | ||
|
||
export = Supersim; |
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,79 @@ | ||
'use strict'; | ||
|
||
/* jshint ignore:start */ | ||
/** | ||
* This code was generated by | ||
* \ / _ _ _| _ _ | ||
* | (_)\/(_)(_|\/| |(/_ v1.0.0 | ||
* / / | ||
*/ | ||
/* jshint ignore:end */ | ||
|
||
var _ = require('lodash'); /* jshint ignore:line */ | ||
var Domain = require('../base/Domain'); /* jshint ignore:line */ | ||
var V1 = require('./supersim/V1'); /* jshint ignore:line */ | ||
|
||
|
||
/* jshint ignore:start */ | ||
/** | ||
* Initialize supersim domain | ||
* | ||
* @constructor Twilio.Supersim | ||
* | ||
* @property {Twilio.Supersim.V1} v1 - v1 version | ||
* @property {Twilio.Supersim.V1.CommandList} commands - commands resource | ||
* @property {Twilio.Supersim.V1.FleetList} fleets - fleets resource | ||
* @property {Twilio.Supersim.V1.SimList} sims - sims resource | ||
* @property {Twilio.Supersim.V1.UsageRecordList} usageRecords - | ||
* usageRecords resource | ||
* | ||
* @param {Twilio} twilio - The twilio client | ||
*/ | ||
/* jshint ignore:end */ | ||
function Supersim(twilio) { | ||
Domain.prototype.constructor.call(this, twilio, 'https://supersim.twilio.com'); | ||
|
||
// Versions | ||
this._v1 = undefined; | ||
} | ||
|
||
_.extend(Supersim.prototype, Domain.prototype); | ||
Supersim.prototype.constructor = Supersim; | ||
|
||
Object.defineProperty(Supersim.prototype, | ||
'v1', { | ||
get: function() { | ||
this._v1 = this._v1 || new V1(this); | ||
return this._v1; | ||
} | ||
}); | ||
|
||
Object.defineProperty(Supersim.prototype, | ||
'commands', { | ||
get: function() { | ||
return this.v1.commands; | ||
} | ||
}); | ||
|
||
Object.defineProperty(Supersim.prototype, | ||
'fleets', { | ||
get: function() { | ||
return this.v1.fleets; | ||
} | ||
}); | ||
|
||
Object.defineProperty(Supersim.prototype, | ||
'sims', { | ||
get: function() { | ||
return this.v1.sims; | ||
} | ||
}); | ||
|
||
Object.defineProperty(Supersim.prototype, | ||
'usageRecords', { | ||
get: function() { | ||
return this.v1.usageRecords; | ||
} | ||
}); | ||
|
||
module.exports = Supersim; |
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
Oops, something went wrong.