Skip to content

Commit

Permalink
[Librarian] Regenerated @ 5f994412d6c6003c98a1ff03c7d1bb10b7d39e32
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Jul 28, 2021
1 parent 3f015ce commit 8b3e9d5
Show file tree
Hide file tree
Showing 24 changed files with 2,398 additions and 68 deletions.
15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
twilio-node changelog
=====================

[2021-07-28] Version 3.66.1
---------------------------
**Library - Chore**
- [PR #680](https://github.com/twilio/twilio-node/pull/680): update user agent string for better debugging. Thanks to [@philnash](https://github.com/philnash)!

**Conversations**
- Expose ParticipantConversations resource

**Taskrouter**
- Adding `links` to the activity resource

**Verify**
- Added a `Version` to Verify Factors `Webhooks` to add new fields without breaking old Webhooks.


[2021-07-14] Version 3.66.0
---------------------------
**Conversations**
Expand Down
2 changes: 2 additions & 0 deletions lib/rest/Conversations.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import V1 = require('./conversations/V1');
import { ConfigurationListInstance } from './conversations/v1/configuration';
import { ConversationListInstance } from './conversations/v1/conversation';
import { CredentialListInstance } from './conversations/v1/credential';
import { ParticipantConversationListInstance } from './conversations/v1/participantConversation';
import { RoleListInstance } from './conversations/v1/role';
import { ServiceListInstance } from './conversations/v1/service';
import { UserListInstance } from './conversations/v1/user';
Expand All @@ -27,6 +28,7 @@ declare class Conversations extends Domain {
readonly configuration: ConfigurationListInstance;
readonly conversations: ConversationListInstance;
readonly credentials: CredentialListInstance;
readonly participantConversations: ParticipantConversationListInstance;
readonly roles: RoleListInstance;
readonly services: ServiceListInstance;
readonly users: UserListInstance;
Expand Down
9 changes: 9 additions & 0 deletions lib/rest/Conversations.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ var V1 = require('./conversations/V1'); /* jshint ignore:line */
* conversations resource
* @property {Twilio.Conversations.V1.CredentialList} credentials -
* credentials resource
* @property {Twilio.Conversations.V1.ParticipantConversationList} participantConversations -
* participantConversations resource
* @property {Twilio.Conversations.V1.RoleList} roles - roles resource
* @property {Twilio.Conversations.V1.ServiceList} services - services resource
* @property {Twilio.Conversations.V1.UserList} users - users resource
Expand Down Expand Up @@ -73,6 +75,13 @@ Object.defineProperty(Conversations.prototype,
}
});

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

Object.defineProperty(Conversations.prototype,
'roles', {
get: function() {
Expand Down
7 changes: 4 additions & 3 deletions lib/rest/Twilio.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
*/
/* jshint ignore:end */

var moduleInfo = require('../../package.json'); /* jshint ignore:line */
var os = require('os'); /* jshint ignore:line */
var url = require('url'); /* jshint ignore:line */
var moduleInfo = require('../../package.json'); /* jshint ignore:line */
var util = require('util'); /* jshint ignore:line */
var os = require('os');
var RestException = require('../base/RestException'); /* jshint ignore:line */


Expand Down Expand Up @@ -112,7 +112,8 @@ var RestException = require('../base/RestException'); /* jshint ignore:line */
* @param {boolean} [opts.lazyLoading] -
* Enable lazy loading, loading time will decrease if enabled
* @param {string} [opts.logLevel] - Debug logs will be shown. Defaults to none
* @param {string[]} [opts.userAgentExtensions] - Additions to the user agent string
* @param {string[]} [opts.userAgentExtensions] -
* Additions to the user agent string
*
* @returns {Twilio} A new instance of Twilio client
*/
Expand Down
3 changes: 3 additions & 0 deletions lib/rest/conversations/V1.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import { ConversationList } from './v1/conversation';
import { ConversationListInstance } from './v1/conversation';
import { CredentialList } from './v1/credential';
import { CredentialListInstance } from './v1/credential';
import { ParticipantConversationList } from './v1/participantConversation';
import { ParticipantConversationListInstance } from './v1/participantConversation';
import { RoleList } from './v1/role';
import { RoleListInstance } from './v1/role';
import { ServiceList } from './v1/service';
Expand All @@ -32,6 +34,7 @@ declare class V1 extends Version {
readonly configuration: ConfigurationListInstance;
readonly conversations: ConversationListInstance;
readonly credentials: CredentialListInstance;
readonly participantConversations: ParticipantConversationListInstance;
readonly roles: RoleListInstance;
readonly services: ServiceListInstance;
readonly users: UserListInstance;
Expand Down
13 changes: 13 additions & 0 deletions lib/rest/conversations/V1.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ var _ = require('lodash'); /* jshint ignore:line */
var ConfigurationList = require('./v1/configuration').ConfigurationList;
var ConversationList = require('./v1/conversation').ConversationList;
var CredentialList = require('./v1/credential').CredentialList;
var ParticipantConversationList = require(
'./v1/participantConversation').ParticipantConversationList;
var RoleList = require('./v1/role').RoleList;
var ServiceList = require('./v1/service').ServiceList;
var UserList = require('./v1/user').UserList;
Expand All @@ -31,6 +33,8 @@ var Version = require('../../base/Version'); /* jshint ignore:line */
* conversations resource
* @property {Twilio.Conversations.V1.CredentialList} credentials -
* credentials resource
* @property {Twilio.Conversations.V1.ParticipantConversationList} participantConversations -
* participantConversations resource
* @property {Twilio.Conversations.V1.RoleList} roles - roles resource
* @property {Twilio.Conversations.V1.ServiceList} services - services resource
* @property {Twilio.Conversations.V1.UserList} users - users resource
Expand All @@ -45,6 +49,7 @@ function V1(domain) {
this._configuration = undefined;
this._conversations = undefined;
this._credentials = undefined;
this._participantConversations = undefined;
this._roles = undefined;
this._services = undefined;
this._users = undefined;
Expand Down Expand Up @@ -77,6 +82,14 @@ Object.defineProperty(V1.prototype,
}
});

Object.defineProperty(V1.prototype,
'participantConversations', {
get: function() {
this._participantConversations = this._participantConversations || new ParticipantConversationList(this);
return this._participantConversations;
}
});

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

0 comments on commit 8b3e9d5

Please sign in to comment.