Skip to content

Commit

Permalink
[Librarian] Regenerated @ 0d6397ea462cf38ccee74f7de204ee1261bb0d8f
Browse files Browse the repository at this point in the history
  • Loading branch information
codejudas committed Mar 23, 2018
1 parent 91a31e7 commit 1df7b5e
Show file tree
Hide file tree
Showing 17 changed files with 1,314 additions and 478 deletions.
12 changes: 12 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
twilio-node changelog
=====================

[2018-03-22] Version 3.14.0
----------------------------
**Lookups**
- Disable support for `fraud` lookups *(breaking change)*

**Preview**
- Add `BuildDuration` and `ErrorCode` to Understand ModelBuild

**Studio**
- Add new /Context endpoint for step and engagement resources.


[2018-03-12] Version 3.13.1
----------------------------
**Api**
Expand Down
350 changes: 176 additions & 174 deletions lib/rest/chat/v1/service.js

Large diffs are not rendered by default.

104 changes: 53 additions & 51 deletions lib/rest/chat/v2/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -529,43 +529,44 @@ ServiceInstance.prototype.remove = function remove(callback) {
* @param {number} [opts.typingIndicatorTimeout] - The typing_indicator_timeout
* @param {number} [opts.consumptionReportInterval] -
* The consumption_report_interval
* @param {boolean} [opts.notifications.newMessage.enabled] -
* @param {boolean} [opts."notifications.newMessage.enabled"] -
* The notifications.new_message.enabled
* @param {string} [opts.notifications.newMessage.template] -
* @param {string} [opts."notifications.newMessage.template"] -
* The notifications.new_message.template
* @param {string} [opts.notifications.newMessage.sound] -
* @param {string} [opts."notifications.newMessage.sound"] -
* The notifications.new_message.sound
* @param {boolean} [opts.notifications.newMessage.badgeCountEnabled] -
* @param {boolean} [opts."notifications.newMessage.badgeCountEnabled"] -
* The notifications.new_message.badge_count_enabled
* @param {boolean} [opts.notifications.addedToChannel.enabled] -
* @param {boolean} [opts."notifications.addedToChannel.enabled"] -
* The notifications.added_to_channel.enabled
* @param {string} [opts.notifications.addedToChannel.template] -
* @param {string} [opts."notifications.addedToChannel.template"] -
* The notifications.added_to_channel.template
* @param {string} [opts.notifications.addedToChannel.sound] -
* @param {string} [opts."notifications.addedToChannel.sound"] -
* The notifications.added_to_channel.sound
* @param {boolean} [opts.notifications.removedFromChannel.enabled] -
* @param {boolean} [opts."notifications.removedFromChannel.enabled"] -
* The notifications.removed_from_channel.enabled
* @param {string} [opts.notifications.removedFromChannel.template] -
* @param {string} [opts."notifications.removedFromChannel.template"] -
* The notifications.removed_from_channel.template
* @param {string} [opts.notifications.removedFromChannel.sound] -
* @param {string} [opts."notifications.removedFromChannel.sound"] -
* The notifications.removed_from_channel.sound
* @param {boolean} [opts.notifications.invitedToChannel.enabled] -
* @param {boolean} [opts."notifications.invitedToChannel.enabled"] -
* The notifications.invited_to_channel.enabled
* @param {string} [opts.notifications.invitedToChannel.template] -
* @param {string} [opts."notifications.invitedToChannel.template"] -
* The notifications.invited_to_channel.template
* @param {string} [opts.notifications.invitedToChannel.sound] -
* @param {string} [opts."notifications.invitedToChannel.sound"] -
* The notifications.invited_to_channel.sound
* @param {string} [opts.preWebhookUrl] - The pre_webhook_url
* @param {string} [opts.postWebhookUrl] - The post_webhook_url
* @param {string} [opts.webhookMethod] - The webhook_method
* @param {string|list} [opts.webhookFilters] - The webhook_filters
* @param {number} [opts.limits.channelMembers] - The limits.channel_members
* @param {number} [opts.limits.userChannels] - The limits.user_channels
* @param {string} [opts.media.compatibilityMessage] -
* @param {number} [opts."limits.channelMembers"] - The limits.channel_members
* @param {number} [opts."limits.userChannels"] - The limits.user_channels
* @param {string} [opts."media.compatibilityMessage"] -
* The media.compatibility_message
* @param {number} [opts.preWebhookRetryCount] - The pre_webhook_retry_count
* @param {number} [opts.postWebhookRetryCount] - The post_webhook_retry_count
* @param {boolean} [opts.notifications.logEnabled] - The notifications.log_enabled
* @param {boolean} [opts."notifications.logEnabled"] -
* The notifications.log_enabled
* @param {function} [callback] - Callback to handle processed record
*
* @returns {Promise} Resolves to processed ServiceInstance
Expand Down Expand Up @@ -773,43 +774,44 @@ ServiceContext.prototype.remove = function remove(callback) {
* @param {number} [opts.typingIndicatorTimeout] - The typing_indicator_timeout
* @param {number} [opts.consumptionReportInterval] -
* The consumption_report_interval
* @param {boolean} [opts.notifications.newMessage.enabled] -
* @param {boolean} [opts."notifications.newMessage.enabled"] -
* The notifications.new_message.enabled
* @param {string} [opts.notifications.newMessage.template] -
* @param {string} [opts."notifications.newMessage.template"] -
* The notifications.new_message.template
* @param {string} [opts.notifications.newMessage.sound] -
* @param {string} [opts."notifications.newMessage.sound"] -
* The notifications.new_message.sound
* @param {boolean} [opts.notifications.newMessage.badgeCountEnabled] -
* @param {boolean} [opts."notifications.newMessage.badgeCountEnabled"] -
* The notifications.new_message.badge_count_enabled
* @param {boolean} [opts.notifications.addedToChannel.enabled] -
* @param {boolean} [opts."notifications.addedToChannel.enabled"] -
* The notifications.added_to_channel.enabled
* @param {string} [opts.notifications.addedToChannel.template] -
* @param {string} [opts."notifications.addedToChannel.template"] -
* The notifications.added_to_channel.template
* @param {string} [opts.notifications.addedToChannel.sound] -
* @param {string} [opts."notifications.addedToChannel.sound"] -
* The notifications.added_to_channel.sound
* @param {boolean} [opts.notifications.removedFromChannel.enabled] -
* @param {boolean} [opts."notifications.removedFromChannel.enabled"] -
* The notifications.removed_from_channel.enabled
* @param {string} [opts.notifications.removedFromChannel.template] -
* @param {string} [opts."notifications.removedFromChannel.template"] -
* The notifications.removed_from_channel.template
* @param {string} [opts.notifications.removedFromChannel.sound] -
* @param {string} [opts."notifications.removedFromChannel.sound"] -
* The notifications.removed_from_channel.sound
* @param {boolean} [opts.notifications.invitedToChannel.enabled] -
* @param {boolean} [opts."notifications.invitedToChannel.enabled"] -
* The notifications.invited_to_channel.enabled
* @param {string} [opts.notifications.invitedToChannel.template] -
* @param {string} [opts."notifications.invitedToChannel.template"] -
* The notifications.invited_to_channel.template
* @param {string} [opts.notifications.invitedToChannel.sound] -
* @param {string} [opts."notifications.invitedToChannel.sound"] -
* The notifications.invited_to_channel.sound
* @param {string} [opts.preWebhookUrl] - The pre_webhook_url
* @param {string} [opts.postWebhookUrl] - The post_webhook_url
* @param {string} [opts.webhookMethod] - The webhook_method
* @param {string|list} [opts.webhookFilters] - The webhook_filters
* @param {number} [opts.limits.channelMembers] - The limits.channel_members
* @param {number} [opts.limits.userChannels] - The limits.user_channels
* @param {string} [opts.media.compatibilityMessage] -
* @param {number} [opts."limits.channelMembers"] - The limits.channel_members
* @param {number} [opts."limits.userChannels"] - The limits.user_channels
* @param {string} [opts."media.compatibilityMessage"] -
* The media.compatibility_message
* @param {number} [opts.preWebhookRetryCount] - The pre_webhook_retry_count
* @param {number} [opts.postWebhookRetryCount] - The post_webhook_retry_count
* @param {boolean} [opts.notifications.logEnabled] - The notifications.log_enabled
* @param {boolean} [opts."notifications.logEnabled"] -
* The notifications.log_enabled
* @param {function} [callback] - Callback to handle processed record
*
* @returns {Promise} Resolves to processed ServiceInstance
Expand All @@ -832,29 +834,29 @@ ServiceContext.prototype.update = function update(opts, callback) {
'ReachabilityEnabled': serialize.bool(_.get(opts, 'reachabilityEnabled')),
'TypingIndicatorTimeout': _.get(opts, 'typingIndicatorTimeout'),
'ConsumptionReportInterval': _.get(opts, 'consumptionReportInterval'),
'Notifications.NewMessage.Enabled': serialize.bool(_.get(opts, 'notifications.newMessage.enabled')),
'Notifications.NewMessage.Template': _.get(opts, 'notifications.newMessage.template'),
'Notifications.NewMessage.Sound': _.get(opts, 'notifications.newMessage.sound'),
'Notifications.NewMessage.BadgeCountEnabled': serialize.bool(_.get(opts, 'notifications.newMessage.badgeCountEnabled')),
'Notifications.AddedToChannel.Enabled': serialize.bool(_.get(opts, 'notifications.addedToChannel.enabled')),
'Notifications.AddedToChannel.Template': _.get(opts, 'notifications.addedToChannel.template'),
'Notifications.AddedToChannel.Sound': _.get(opts, 'notifications.addedToChannel.sound'),
'Notifications.RemovedFromChannel.Enabled': serialize.bool(_.get(opts, 'notifications.removedFromChannel.enabled')),
'Notifications.RemovedFromChannel.Template': _.get(opts, 'notifications.removedFromChannel.template'),
'Notifications.RemovedFromChannel.Sound': _.get(opts, 'notifications.removedFromChannel.sound'),
'Notifications.InvitedToChannel.Enabled': serialize.bool(_.get(opts, 'notifications.invitedToChannel.enabled')),
'Notifications.InvitedToChannel.Template': _.get(opts, 'notifications.invitedToChannel.template'),
'Notifications.InvitedToChannel.Sound': _.get(opts, 'notifications.invitedToChannel.sound'),
'Notifications.NewMessage.Enabled': serialize.bool(_.get(opts, '"notifications.newMessage.enabled"')),
'Notifications.NewMessage.Template': _.get(opts, '"notifications.newMessage.template"'),
'Notifications.NewMessage.Sound': _.get(opts, '"notifications.newMessage.sound"'),
'Notifications.NewMessage.BadgeCountEnabled': serialize.bool(_.get(opts, '"notifications.newMessage.badgeCountEnabled"')),
'Notifications.AddedToChannel.Enabled': serialize.bool(_.get(opts, '"notifications.addedToChannel.enabled"')),
'Notifications.AddedToChannel.Template': _.get(opts, '"notifications.addedToChannel.template"'),
'Notifications.AddedToChannel.Sound': _.get(opts, '"notifications.addedToChannel.sound"'),
'Notifications.RemovedFromChannel.Enabled': serialize.bool(_.get(opts, '"notifications.removedFromChannel.enabled"')),
'Notifications.RemovedFromChannel.Template': _.get(opts, '"notifications.removedFromChannel.template"'),
'Notifications.RemovedFromChannel.Sound': _.get(opts, '"notifications.removedFromChannel.sound"'),
'Notifications.InvitedToChannel.Enabled': serialize.bool(_.get(opts, '"notifications.invitedToChannel.enabled"')),
'Notifications.InvitedToChannel.Template': _.get(opts, '"notifications.invitedToChannel.template"'),
'Notifications.InvitedToChannel.Sound': _.get(opts, '"notifications.invitedToChannel.sound"'),
'PreWebhookUrl': _.get(opts, 'preWebhookUrl'),
'PostWebhookUrl': _.get(opts, 'postWebhookUrl'),
'WebhookMethod': _.get(opts, 'webhookMethod'),
'WebhookFilters': serialize.map(_.get(opts, 'webhookFilters'), function(e) { return e; }),
'Limits.ChannelMembers': _.get(opts, 'limits.channelMembers'),
'Limits.UserChannels': _.get(opts, 'limits.userChannels'),
'Media.CompatibilityMessage': _.get(opts, 'media.compatibilityMessage'),
'Limits.ChannelMembers': _.get(opts, '"limits.channelMembers"'),
'Limits.UserChannels': _.get(opts, '"limits.userChannels"'),
'Media.CompatibilityMessage': _.get(opts, '"media.compatibilityMessage"'),
'PreWebhookRetryCount': _.get(opts, 'preWebhookRetryCount'),
'PostWebhookRetryCount': _.get(opts, 'postWebhookRetryCount'),
'Notifications.LogEnabled': serialize.bool(_.get(opts, 'notifications.logEnabled'))
'Notifications.LogEnabled': serialize.bool(_.get(opts, '"notifications.logEnabled"'))
});

var promise = this._version.update({uri: this._uri, method: 'POST', data: data});
Expand Down
Loading

0 comments on commit 1df7b5e

Please sign in to comment.