Skip to content

Commit

Permalink
[Librarian] Regenerated @ 8a2e951f4fb6857d0989e8d2fded7c757e2ef2d4
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Jan 26, 2022
1 parent 83960a6 commit c4bee9e
Show file tree
Hide file tree
Showing 26 changed files with 5,619 additions and 17 deletions.
17 changes: 17 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
twilio-node changelog
=====================

[2022-01-26] Version 3.73.1
---------------------------
**Library - Chore**
- [PR #727](https://github.com/twilio/twilio-node/pull/727): run audit only on non dev dependencies. Thanks to [@shwetha-manvinkurke](https://github.com/shwetha-manvinkurke)!

**Insights**
- Added new endpoint to fetch Conference Participant Summary
- Added new endpoint to fetch Conference Summary

**Messaging**
- Add government_entity parameter to brand apis

**Verify**
- Add Access Token fetch endpoint to retrieve a previously created token.
- Add Access Token payload to the Access Token creation endpoint, including a unique Sid, so it's addressable while it's TTL is valid.


[2022-01-12] Version 3.73.0
---------------------------
**Library - Chore**
Expand Down
2 changes: 2 additions & 0 deletions lib/rest/Insights.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Twilio = require('./Twilio');
import V1 = require('./insights/V1');
import { CallListInstance } from './insights/v1/call';
import { CallSummariesListInstance } from './insights/v1/callSummaries';
import { ConferenceListInstance } from './insights/v1/conference';
import { RoomListInstance } from './insights/v1/room';
import { SettingListInstance } from './insights/v1/setting';

Expand All @@ -24,6 +25,7 @@ declare class Insights extends Domain {

readonly callSummaries: CallSummariesListInstance;
readonly calls: CallListInstance;
readonly conferences: ConferenceListInstance;
readonly rooms: RoomListInstance;
readonly settings: SettingListInstance;
readonly v1: V1;
Expand Down
8 changes: 8 additions & 0 deletions lib/rest/Insights.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ var V1 = require('./insights/V1'); /* jshint ignore:line */
* @property {Twilio.Insights.V1.CallList} calls - calls resource
* @property {Twilio.Insights.V1.CallSummariesList} callSummaries -
* callSummaries resource
* @property {Twilio.Insights.V1.ConferenceList} conferences - conferences resource
* @property {Twilio.Insights.V1.RoomList} rooms - rooms resource
*
* @param {Twilio} twilio - The twilio client
Expand Down Expand Up @@ -69,6 +70,13 @@ Object.defineProperty(Insights.prototype,
}
});

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

Object.defineProperty(Insights.prototype,
'rooms', {
get: function() {
Expand Down
2 changes: 2 additions & 0 deletions lib/rest/Supersim.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import Domain = require('../base/Domain');
import Twilio = require('./Twilio');
import V1 = require('./supersim/V1');
import { CommandListInstance } from './supersim/v1/command';
import { EsimProfileListInstance } from './supersim/v1/esimProfile';
import { FleetListInstance } from './supersim/v1/fleet';
import { IpCommandListInstance } from './supersim/v1/ipCommand';
import { NetworkAccessProfileListInstance } from './supersim/v1/networkAccessProfile';
Expand All @@ -27,6 +28,7 @@ declare class Supersim extends Domain {
constructor(twilio: Twilio);

readonly commands: CommandListInstance;
readonly esimProfiles: EsimProfileListInstance;
readonly fleets: FleetListInstance;
readonly ipCommands: IpCommandListInstance;
readonly networkAccessProfiles: NetworkAccessProfileListInstance;
Expand Down
9 changes: 9 additions & 0 deletions lib/rest/Supersim.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ var V1 = require('./supersim/V1'); /* jshint ignore:line */
*
* @property {Twilio.Supersim.V1} v1 - v1 version
* @property {Twilio.Supersim.V1.CommandList} commands - commands resource
* @property {Twilio.Supersim.V1.EsimProfileList} esimProfiles -
* esimProfiles resource
* @property {Twilio.Supersim.V1.FleetList} fleets - fleets resource
* @property {Twilio.Supersim.V1.IpCommandList} ipCommands - ipCommands resource
* @property {Twilio.Supersim.V1.NetworkList} networks - networks resource
Expand Down Expand Up @@ -60,6 +62,13 @@ Object.defineProperty(Supersim.prototype,
}
});

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

Object.defineProperty(Supersim.prototype,
'fleets', {
get: function() {
Expand Down
4 changes: 2 additions & 2 deletions lib/rest/flexApi/v1/flexFlow.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ declare function FlexFlowList(version: V1): FlexFlowListInstance;
* @property integration.creationOnMessage - Whether to create a Task when the first message arrives
* @property integration.flowSid - The SID of the Studio Flow
* @property integration.priority - The Task priority of a new Task
* @property integration.retryCount - The number of times to retry the webhook if the first attempt fails
* @property integration.retryCount - The number of times to retry the Studio Flow or webhook in case of failure
* @property integration.timeout - The Task timeout in seconds for a new Task
* @property integration.url - The External Webhook URL
* @property integration.workflowSid - The Workflow SID for a new Task
Expand Down Expand Up @@ -196,7 +196,7 @@ interface FlexFlowListInstance {
* @property integration.creationOnMessage - Whether to create a Task when the first message arrives
* @property integration.flowSid - The SID of the Studio Flow
* @property integration.priority - The Task priority of a new Task
* @property integration.retryCount - The number of times to retry the webhook if the first attempt fails
* @property integration.retryCount - The number of times to retry the Studio Flow or webhook in case of failure
* @property integration.timeout - The Task timeout in seconds for a new Task
* @property integration.url - The External Webhook URL
* @property integration.workflowSid - The Workflow SID for a new Task
Expand Down
6 changes: 3 additions & 3 deletions lib/rest/flexApi/v1/flexFlow.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ FlexFlowList = function FlexFlowList(version) {
* @param {boolean} [opts.janitorEnabled] -
* Remove active Proxy sessions if the corresponding Task is deleted
* @param {number} [opts.integration.retryCount] -
* The number of times to retry the webhook if the first attempt fails
* The number of times to retry the Studio Flow or webhook in case of failure
* @param {function} [callback] - Callback to handle processed record
*
* @returns {Promise} Resolves to processed FlexFlowInstance
Expand Down Expand Up @@ -608,7 +608,7 @@ FlexFlowInstance.prototype.fetch = function fetch(callback) {
* @param {boolean} [opts.janitorEnabled] -
* Remove active Proxy sessions if the corresponding Task is deleted
* @param {number} [opts.integration.retryCount] -
* The number of times to retry the webhook if the first attempt fails
* The number of times to retry the Studio Flow or webhook in case of failure
* @param {function} [callback] - Callback to handle processed record
*
* @returns {Promise} Resolves to processed FlexFlowInstance
Expand Down Expand Up @@ -740,7 +740,7 @@ FlexFlowContext.prototype.fetch = function fetch(callback) {
* @param {boolean} [opts.janitorEnabled] -
* Remove active Proxy sessions if the corresponding Task is deleted
* @param {number} [opts.integration.retryCount] -
* The number of times to retry the webhook if the first attempt fails
* The number of times to retry the Studio Flow or webhook in case of failure
* @param {function} [callback] - Callback to handle processed record
*
* @returns {Promise} Resolves to processed FlexFlowInstance
Expand Down
3 changes: 3 additions & 0 deletions lib/rest/insights/V1.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import { CallList } from './v1/call';
import { CallListInstance } from './v1/call';
import { CallSummariesList } from './v1/callSummaries';
import { CallSummariesListInstance } from './v1/callSummaries';
import { ConferenceList } from './v1/conference';
import { ConferenceListInstance } from './v1/conference';
import { RoomList } from './v1/room';
import { RoomListInstance } from './v1/room';
import { SettingList } from './v1/setting';
Expand All @@ -27,6 +29,7 @@ declare class V1 extends Version {

readonly callSummaries: CallSummariesListInstance;
readonly calls: CallListInstance;
readonly conferences: ConferenceListInstance;
readonly rooms: RoomListInstance;
readonly settings: SettingListInstance;
}
Expand Down
11 changes: 11 additions & 0 deletions lib/rest/insights/V1.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
var _ = require('lodash'); /* jshint ignore:line */
var CallList = require('./v1/call').CallList;
var CallSummariesList = require('./v1/callSummaries').CallSummariesList;
var ConferenceList = require('./v1/conference').ConferenceList;
var RoomList = require('./v1/room').RoomList;
var SettingList = require('./v1/setting').SettingList;
var Version = require('../../base/Version'); /* jshint ignore:line */
Expand All @@ -27,6 +28,7 @@ var Version = require('../../base/Version'); /* jshint ignore:line */
* @property {Twilio.Insights.V1.CallList} calls - calls resource
* @property {Twilio.Insights.V1.CallSummariesList} callSummaries -
* callSummaries resource
* @property {Twilio.Insights.V1.ConferenceList} conferences - conferences resource
* @property {Twilio.Insights.V1.RoomList} rooms - rooms resource
*
* @param {Twilio.Insights} domain - The twilio domain
Expand All @@ -39,6 +41,7 @@ function V1(domain) {
this._settings = undefined;
this._calls = undefined;
this._callSummaries = undefined;
this._conferences = undefined;
this._rooms = undefined;
}

Expand Down Expand Up @@ -69,6 +72,14 @@ Object.defineProperty(V1.prototype,
}
});

Object.defineProperty(V1.prototype,
'conferences', {
get: function() {
this._conferences = this._conferences || new ConferenceList(this);
return this._conferences;
}
});

Object.defineProperty(V1.prototype,
'rooms', {
get: function() {
Expand Down
Loading

0 comments on commit c4bee9e

Please sign in to comment.