Skip to content

Commit

Permalink
[Librarian] Regenerated @ 38ba2b0d95a2827fc370f2fe666eb7cce8f2c9e3
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-ci committed Sep 28, 2020
1 parent 55d8e5a commit 158bdd9
Show file tree
Hide file tree
Showing 59 changed files with 857 additions and 558 deletions.
16 changes: 16 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
twilio-node changelog
=====================

[2020-09-28] Version 3.49.4
---------------------------
**Api**
- Add optional property `call_reason` in the participant create request
- Make sip-domain-service endpoints available in stage-au1 and prod-au1

**Messaging**
- Removed beta feature gate from WhatsApp Templates API

**Serverless**
- Add Build Status endpoint

**Video**
- [Rooms] Add new room type "go" for WebRTC Go


[2020-09-21] Version 3.49.3
---------------------------
**Accounts**
Expand Down
2 changes: 2 additions & 0 deletions lib/rest/api/v2010/account/conference/participant.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ interface ParticipantListInstance {
*
* @property beep - Whether to play a notification beep to the conference when the participant joins
* @property byoc - BYOC trunk SID (Beta)
* @property callReason - Reason for the call (Branded Calls Beta)
* @property callSidToCoach - The SID of the participant who is being `coached`
* @property callerId - The phone number, Client identifier, or username portion of SIP address that made this call.
* @property coaching - Indicates if the participant changed to coach
Expand Down Expand Up @@ -215,6 +216,7 @@ interface ParticipantListInstance {
interface ParticipantListInstanceCreateOptions {
beep?: string;
byoc?: string;
callReason?: string;
callSidToCoach?: string;
callerId?: string;
coaching?: boolean;
Expand Down
4 changes: 3 additions & 1 deletion lib/rest/api/v2010/account/conference/participant.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ ParticipantList = function ParticipantList(version, accountSid, conferenceSid) {
* @param {string} [opts.byoc] - BYOC trunk SID (Beta)
* @param {string} [opts.callerId] -
* The phone number, Client identifier, or username portion of SIP address that made this call.
* @param {string} [opts.callReason] - Reason for the call (Branded Calls Beta)
* @param {function} [callback] - Callback to handle processed record
*
* @returns {Promise} Resolves to processed ParticipantInstance
Expand Down Expand Up @@ -181,7 +182,8 @@ ParticipantList = function ParticipantList(version, accountSid, conferenceSid) {
'CallSidToCoach': _.get(opts, 'callSidToCoach'),
'JitterBufferSize': _.get(opts, 'jitterBufferSize'),
'Byoc': _.get(opts, 'byoc'),
'CallerId': _.get(opts, 'callerId')
'CallerId': _.get(opts, 'callerId'),
'CallReason': _.get(opts, 'callReason')
});

var promise = this._version.create({uri: this._uri, method: 'POST', data: data});
Expand Down
12 changes: 0 additions & 12 deletions lib/rest/conversations/v1/configuration.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import { WebhookListInstance } from './configuration/webhook';
/**
* Initialize the ConfigurationList
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
*/
declare function ConfigurationList(version: V1): ConfigurationListInstance;
Expand Down Expand Up @@ -73,9 +70,6 @@ declare class ConfigurationContext {
/**
* Initialize the ConfigurationContext
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
*/
constructor(version: V1);
Expand Down Expand Up @@ -110,9 +104,6 @@ declare class ConfigurationInstance extends SerializableClass {
/**
* Initialize the ConfigurationContext
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
* @param payload - The instance payload
*/
Expand Down Expand Up @@ -156,9 +147,6 @@ declare class ConfigurationPage extends Page<V1, ConfigurationPayload, Configura
/**
* Initialize the ConfigurationPage
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
* @param response - Response from the API
* @param solution - Path solution
Expand Down
17 changes: 3 additions & 14 deletions lib/rest/conversations/v1/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ var ConfigurationContext;
/**
* Initialize the ConfigurationList
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @constructor Twilio.Conversations.V1.ConfigurationList
*
* @param {Twilio.Conversations.V1} version - Version of the resource
Expand Down Expand Up @@ -107,9 +104,6 @@ ConfigurationList = function ConfigurationList(version) {
/**
* Initialize the ConfigurationPage
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @constructor Twilio.Conversations.V1.ConfigurationPage
*
* @param {V1} version - Version of the resource
Expand Down Expand Up @@ -175,9 +169,6 @@ ConfigurationPage.prototype[util.inspect.custom] = function inspect(depth,
/**
* Initialize the ConfigurationContext
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @constructor Twilio.Conversations.V1.ConfigurationInstance
*
* @property {string} accountSid -
Expand All @@ -190,8 +181,9 @@ ConfigurationPage.prototype[util.inspect.custom] = function inspect(depth,
* Default ISO8601 duration when conversation will be switched to `inactive` state.
* @property {string} defaultClosedTimer -
* Default ISO8601 duration when conversation will be switched to `closed` state.
* @property {string} url - The url
* @property {string} links - The links
* @property {string} url - An absolute URL for this global configuration.
* @property {string} links -
* Absolute URLs to access the webhook and default service configurations.
*
* @param {V1} version - Version of the resource
* @param {ConfigurationPayload} payload - The instance payload
Expand Down Expand Up @@ -296,9 +288,6 @@ ConfigurationInstance.prototype[util.inspect.custom] = function inspect(depth,
/**
* Initialize the ConfigurationContext
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @constructor Twilio.Conversations.V1.ConfigurationContext
*
* @param {V1} version - Version of the resource
Expand Down
12 changes: 0 additions & 12 deletions lib/rest/conversations/v1/configuration/webhook.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ type WebhookTarget = 'webhook'|'flex';
/**
* Initialize the WebhookList
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
*/
declare function WebhookList(version: V1): WebhookListInstance;
Expand Down Expand Up @@ -77,9 +74,6 @@ declare class WebhookContext {
/**
* Initialize the WebhookContext
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
*/
constructor(version: V1);
Expand Down Expand Up @@ -114,9 +108,6 @@ declare class WebhookInstance extends SerializableClass {
/**
* Initialize the WebhookContext
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
* @param payload - The instance payload
*/
Expand Down Expand Up @@ -160,9 +151,6 @@ declare class WebhookPage extends Page<V1, WebhookPayload, WebhookResource, Webh
/**
* Initialize the WebhookPage
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
* @param response - Response from the API
* @param solution - Path solution
Expand Down
12 changes: 0 additions & 12 deletions lib/rest/conversations/v1/configuration/webhook.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ var WebhookContext;
/**
* Initialize the WebhookList
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @constructor Twilio.Conversations.V1.ConfigurationContext.WebhookList
*
* @param {Twilio.Conversations.V1} version - Version of the resource
Expand Down Expand Up @@ -91,9 +88,6 @@ WebhookList = function WebhookList(version) {
/**
* Initialize the WebhookPage
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @constructor Twilio.Conversations.V1.ConfigurationContext.WebhookPage
*
* @param {V1} version - Version of the resource
Expand Down Expand Up @@ -158,9 +152,6 @@ WebhookPage.prototype[util.inspect.custom] = function inspect(depth, options) {
/**
* Initialize the WebhookContext
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @constructor Twilio.Conversations.V1.ConfigurationContext.WebhookInstance
*
* @property {string} accountSid -
Expand Down Expand Up @@ -280,9 +271,6 @@ WebhookInstance.prototype[util.inspect.custom] = function inspect(depth,
/**
* Initialize the WebhookContext
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @constructor Twilio.Conversations.V1.ConfigurationContext.WebhookContext
*
* @param {V1} version - Version of the resource
Expand Down
12 changes: 0 additions & 12 deletions lib/rest/conversations/v1/conversation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ type ConversationWebhookEnabledType = 'true'|'false';
/**
* Initialize the ConversationList
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
*/
declare function ConversationList(version: V1): ConversationListInstance;
Expand Down Expand Up @@ -305,9 +302,6 @@ declare class ConversationContext {
/**
* Initialize the ConversationContext
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
* @param sid - A 34 character string that uniquely identifies this resource.
*/
Expand Down Expand Up @@ -359,9 +353,6 @@ declare class ConversationInstance extends SerializableClass {
/**
* Initialize the ConversationContext
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
* @param payload - The instance payload
* @param sid - A 34 character string that uniquely identifies this resource.
Expand Down Expand Up @@ -437,9 +428,6 @@ declare class ConversationPage extends Page<V1, ConversationPayload, Conversatio
/**
* Initialize the ConversationPage
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
* @param response - Response from the API
* @param solution - Path solution
Expand Down
14 changes: 1 addition & 13 deletions lib/rest/conversations/v1/conversation.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ var ConversationContext;
/**
* Initialize the ConversationList
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @constructor Twilio.Conversations.V1.ConversationList
*
* @param {Twilio.Conversations.V1} version - Version of the resource
Expand Down Expand Up @@ -413,9 +410,6 @@ ConversationList = function ConversationList(version) {
/**
* Initialize the ConversationPage
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @constructor Twilio.Conversations.V1.ConversationPage
*
* @param {V1} version - Version of the resource
Expand Down Expand Up @@ -481,9 +475,6 @@ ConversationPage.prototype[util.inspect.custom] = function inspect(depth,
/**
* Initialize the ConversationContext
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @constructor Twilio.Conversations.V1.ConversationInstance
*
* @property {string} accountSid -
Expand All @@ -505,7 +496,7 @@ ConversationPage.prototype[util.inspect.custom] = function inspect(depth,
* @property {object} timers - Timer date values for this conversation.
* @property {string} url - An absolute URL for this conversation.
* @property {string} links -
* Absolute URLs to access the Participants, Messages and Webhooks of this Conversation.
* Absolute URLs to access the participants, messages and webhooks of this conversation.
*
* @param {V1} version - Version of the resource
* @param {ConversationPayload} payload - The instance payload
Expand Down Expand Up @@ -686,9 +677,6 @@ ConversationInstance.prototype[util.inspect.custom] = function inspect(depth,
/**
* Initialize the ConversationContext
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @constructor Twilio.Conversations.V1.ConversationContext
*
* @property {Twilio.Conversations.V1.ConversationContext.ParticipantList} participants -
Expand Down
12 changes: 0 additions & 12 deletions lib/rest/conversations/v1/conversation/message.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ type MessageWebhookEnabledType = 'true'|'false';
/**
* Initialize the MessageList
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
* @param conversationSid - The unique ID of the Conversation for this message.
*/
Expand Down Expand Up @@ -286,9 +283,6 @@ declare class MessageContext {
/**
* Initialize the MessageContext
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
* @param conversationSid - The unique ID of the Conversation for this message.
* @param sid - A 34 character string that uniquely identifies this resource.
Expand Down Expand Up @@ -339,9 +333,6 @@ declare class MessageInstance extends SerializableClass {
/**
* Initialize the MessageContext
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
* @param payload - The instance payload
* @param conversationSid - The unique ID of the Conversation for this message.
Expand Down Expand Up @@ -411,9 +402,6 @@ declare class MessagePage extends Page<V1, MessagePayload, MessageResource, Mess
/**
* Initialize the MessagePage
*
* PLEASE NOTE that this class contains beta products that are subject to change.
* Use them with caution.
*
* @param version - Version of the resource
* @param response - Response from the API
* @param solution - Path solution
Expand Down
Loading

0 comments on commit 158bdd9

Please sign in to comment.