Skip to content

Commit

Permalink
[Librarian] Regenerated @ 9f4fd6d7dec4be5db09365d51285d78d42fd2f36
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Feb 9, 2022
1 parent b626084 commit 66582e5
Show file tree
Hide file tree
Showing 33 changed files with 4,208 additions and 644 deletions.
35 changes: 35 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,41 @@
twilio-node changelog
=====================

[2022-02-09] Version 3.74.0
---------------------------
**Library - Chore**
- [PR #736](https://github.com/twilio/twilio-node/pull/736): upgrade supported language versions. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
- [PR #734](https://github.com/twilio/twilio-node/pull/734): bump axios to latest. Thanks to [@shwetha-manvinkurke](https://github.com/shwetha-manvinkurke)!

**Library - Feature**
- [PR #733](https://github.com/twilio/twilio-node/pull/733): support required resource properties with names containing periods. Thanks to [@Hunga1](https://github.com/Hunga1)!

**Api**
- Add `stream` resource

**Conversations**
- Fixed DELETE request to accept "sid_like" params in Address Configuration resources **(breaking change)**
- Expose Address Configuration resource for `sms` and `whatsapp`

**Fax**
- Removed deprecated Programmable Fax Create and Update methods **(breaking change)**

**Insights**
- Rename `call_state` to `call_status` and remove `whisper` in conference participant summary **(breaking change)**

**Numbers**
- Expose valid_until filters as part of provisionally-approved compliance feature on the List Bundles resource

**Supersim**
- Fix typo in Fleet resource docs
- Updated documentation for the Fleet resource indicating that fields related to commands have been deprecated and to use sms_command fields instead.
- Add support for setting and reading `ip_commands_url` and `ip_commands_method` on Fleets resource for helper libraries
- Changed `sim` property in requests to create an SMS Command made to the /SmsCommands to accept SIM UniqueNames in addition to SIDs

**Verify**
- Update list attempts API to include new filters and response fields.


[2022-01-26] Version 3.73.1
---------------------------
**Library - Chore**
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 @@ -8,6 +8,7 @@
import Domain = require('../base/Domain');
import Twilio = require('./Twilio');
import V1 = require('./conversations/V1');
import { AddressConfigurationListInstance } from './conversations/v1/addressConfiguration';
import { ConfigurationListInstance } from './conversations/v1/configuration';
import { ConversationListInstance } from './conversations/v1/conversation';
import { CredentialListInstance } from './conversations/v1/credential';
Expand All @@ -25,6 +26,7 @@ declare class Conversations extends Domain {
*/
constructor(twilio: Twilio);

readonly addressConfigurations: AddressConfigurationListInstance;
readonly configuration: ConfigurationListInstance;
readonly conversations: ConversationListInstance;
readonly credentials: CredentialListInstance;
Expand Down
9 changes: 9 additions & 0 deletions lib/rest/Conversations.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ var V1 = require('./conversations/V1'); /* jshint ignore:line */
* @property {Twilio.Conversations.V1} v1 - v1 version
* @property {Twilio.Conversations.V1.ConfigurationList} configuration -
* configuration resource
* @property {Twilio.Conversations.V1.AddressConfigurationList} addressConfigurations -
* addressConfigurations resource
* @property {Twilio.Conversations.V1.ConversationList} conversations -
* conversations resource
* @property {Twilio.Conversations.V1.CredentialList} credentials -
Expand Down Expand Up @@ -61,6 +63,13 @@ Object.defineProperty(Conversations.prototype,
}
});

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

Object.defineProperty(Conversations.prototype,
'conversations', {
get: function() {
Expand Down
7 changes: 7 additions & 0 deletions lib/rest/api/v2010/account/call.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import { RecordingListInstance } from './call/recording';
import { SerializableClass } from '../../../../interfaces';
import { SiprecList } from './call/siprec';
import { SiprecListInstance } from './call/siprec';
import { StreamList } from './call/stream';
import { StreamListInstance } from './call/stream';

type CallEvent = 'initiated'|'ringing'|'answered'|'completed';

Expand Down Expand Up @@ -443,6 +445,7 @@ declare class CallContext {
*/
remove(callback?: (error: Error | null, items: CallInstance) => any): Promise<boolean>;
siprec: SiprecListInstance;
streams: StreamListInstance;
/**
* Provide a user-friendly representation
*/
Expand Down Expand Up @@ -533,6 +536,10 @@ declare class CallInstance extends SerializableClass {
siprec(): SiprecListInstance;
startTime: Date;
status: CallStatus;
/**
* Access the streams
*/
streams(): StreamListInstance;
subresourceUris: string;
to: string;
toFormatted: string;
Expand Down
28 changes: 28 additions & 0 deletions lib/rest/api/v2010/account/call.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ var Page = require('../../../../base/Page'); /* jshint ignore:line */
var PaymentList = require('./call/payment').PaymentList;
var RecordingList = require('./call/recording').RecordingList;
var SiprecList = require('./call/siprec').SiprecList;
var StreamList = require('./call/stream').StreamList;
var deserialize = require(
'../../../../base/deserialize'); /* jshint ignore:line */
var serialize = require('../../../../base/serialize'); /* jshint ignore:line */
Expand Down Expand Up @@ -868,6 +869,20 @@ CallInstance.prototype.siprec = function siprec() {
return this._proxy.siprec;
};

/* jshint ignore:start */
/**
* Access the streams
*
* @function streams
* @memberof Twilio.Api.V2010.AccountContext.CallInstance#
*
* @returns {Twilio.Api.V2010.AccountContext.CallContext.StreamList}
*/
/* jshint ignore:end */
CallInstance.prototype.streams = function streams() {
return this._proxy.streams;
};

/* jshint ignore:start */
/**
* Provide a user-friendly representation
Expand Down Expand Up @@ -911,6 +926,8 @@ CallInstance.prototype[util.inspect.custom] = function inspect(depth, options) {
* payments resource
* @property {Twilio.Api.V2010.AccountContext.CallContext.SiprecList} siprec -
* siprec resource
* @property {Twilio.Api.V2010.AccountContext.CallContext.StreamList} streams -
* streams resource
*
* @param {V2010} version - Version of the resource
* @param {sid} accountSid -
Expand All @@ -932,6 +949,7 @@ CallContext = function CallContext(version, accountSid, sid) {
this._events = undefined;
this._payments = undefined;
this._siprec = undefined;
this._streams = undefined;
};

/* jshint ignore:start */
Expand Down Expand Up @@ -1132,6 +1150,16 @@ Object.defineProperty(CallContext.prototype,
}
});

Object.defineProperty(CallContext.prototype,
'streams', {
get: function() {
if (!this._streams) {
this._streams = new StreamList(this._version, this._solution.accountSid, this._solution.sid);
}
return this._streams;
}
});

/* jshint ignore:start */
/**
* Provide a user-friendly representation
Expand Down

0 comments on commit 66582e5

Please sign in to comment.