lib/twilio-ruby/rest/conversations/v1/address_configuration.rb in twilio-ruby-5.64.0 vs lib/twilio-ruby/rest/conversations/v1/address_configuration.rb in twilio-ruby-5.65.0
- old
+ new
@@ -112,22 +112,26 @@
# @param [String] friendly_name The human-readable name of this configuration,
# limited to 256 characters. Optional.
# @param [Boolean] auto_creation_enabled Enable/Disable auto-creating
# conversations for messages to this address
# @param [address_configuration.AutoCreationType] auto_creation_type Type of Auto
- # Creation. Value can be one of `webhook`, `studio`, `default`.
+ # Creation. Value can be one of `webhook`, `studio` or `default`.
# @param [String] auto_creation_conversation_service_sid Conversation Service for
# the auto-created conversation. If not set, the conversation is created in the
# default service.
# @param [String] auto_creation_webhook_url For type `webhook`, the url for the
# webhook request.
# @param [address_configuration.Method] auto_creation_webhook_method For type
# `webhook`, the HTTP method to be used when sending a webhook request.
# @param [Array[String]] auto_creation_webhook_filters The list of events, firing
- # webhook event for this Conversation.
+ # webhook event for this Conversation. Values can be any of the following:
+ # `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`,
+ # `onConversationUpdated`, `onConversationStateUpdated`, `onConversationRemoved`,
+ # `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`,
+ # `onDeliveryUpdated`
# @param [String] auto_creation_studio_flow_sid For type `studio`, the studio flow
- # SID, where the webhook should be sent to.
+ # SID where the webhook should be sent to.
# @param [String] auto_creation_studio_retry_count For type `studio`, number of
# times to retry the webhook request
# @return [AddressConfigurationInstance] Created AddressConfigurationInstance
def create(type: nil, address: nil, friendly_name: :unset, auto_creation_enabled: :unset, auto_creation_type: :unset, auto_creation_conversation_service_sid: :unset, auto_creation_webhook_url: :unset, auto_creation_webhook_method: :unset, auto_creation_webhook_filters: :unset, auto_creation_studio_flow_sid: :unset, auto_creation_studio_retry_count: :unset)
data = Twilio::Values.of({
@@ -214,22 +218,26 @@
# @param [String] friendly_name The human-readable name of this configuration,
# limited to 256 characters. Optional.
# @param [Boolean] auto_creation_enabled Enable/Disable auto-creating
# conversations for messages to this address
# @param [address_configuration.AutoCreationType] auto_creation_type Type of Auto
- # Creation. Value can be one of `webhook`, `studio`, `default`.
+ # Creation. Value can be one of `webhook`, `studio` or `default`.
# @param [String] auto_creation_conversation_service_sid Conversation Service for
# the auto-created conversation. If not set, the conversation is created in the
# default service.
# @param [String] auto_creation_webhook_url For type `webhook`, the url for the
# webhook request.
# @param [address_configuration.Method] auto_creation_webhook_method For type
# `webhook`, the HTTP method to be used when sending a webhook request.
# @param [Array[String]] auto_creation_webhook_filters The list of events, firing
- # webhook event for this Conversation.
+ # webhook event for this Conversation. Values can be any of the following:
+ # `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`,
+ # `onConversationUpdated`, `onConversationStateUpdated`, `onConversationRemoved`,
+ # `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`,
+ # `onDeliveryUpdated`
# @param [String] auto_creation_studio_flow_sid For type `studio`, the studio flow
- # SID, where the webhook should be sent to.
+ # SID where the webhook should be sent to.
# @param [String] auto_creation_studio_retry_count For type `studio`, number of
# times to retry the webhook request
# @return [AddressConfigurationInstance] Updated AddressConfigurationInstance
def update(friendly_name: :unset, auto_creation_enabled: :unset, auto_creation_type: :unset, auto_creation_conversation_service_sid: :unset, auto_creation_webhook_url: :unset, auto_creation_webhook_method: :unset, auto_creation_webhook_filters: :unset, auto_creation_studio_flow_sid: :unset, auto_creation_studio_retry_count: :unset)
data = Twilio::Values.of({
@@ -322,11 +330,11 @@
def account_sid
@properties['account_sid']
end
##
- # @return [String] Type of Address, value can be `whatsapp` or `sms`.
+ # @return [String] Type of Address.
def type
@properties['type']
end
##
@@ -377,21 +385,25 @@
# @param [String] friendly_name The human-readable name of this configuration,
# limited to 256 characters. Optional.
# @param [Boolean] auto_creation_enabled Enable/Disable auto-creating
# conversations for messages to this address
# @param [address_configuration.AutoCreationType] auto_creation_type Type of Auto
- # Creation. Value can be one of `webhook`, `studio`, `default`.
+ # Creation. Value can be one of `webhook`, `studio` or `default`.
# @param [String] auto_creation_conversation_service_sid Conversation Service for
# the auto-created conversation. If not set, the conversation is created in the
# default service.
# @param [String] auto_creation_webhook_url For type `webhook`, the url for the
# webhook request.
# @param [address_configuration.Method] auto_creation_webhook_method For type
# `webhook`, the HTTP method to be used when sending a webhook request.
# @param [Array[String]] auto_creation_webhook_filters The list of events, firing
- # webhook event for this Conversation.
+ # webhook event for this Conversation. Values can be any of the following:
+ # `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`,
+ # `onConversationUpdated`, `onConversationStateUpdated`, `onConversationRemoved`,
+ # `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`,
+ # `onDeliveryUpdated`
# @param [String] auto_creation_studio_flow_sid For type `studio`, the studio flow
- # SID, where the webhook should be sent to.
+ # SID where the webhook should be sent to.
# @param [String] auto_creation_studio_retry_count For type `studio`, number of
# times to retry the webhook request
# @return [AddressConfigurationInstance] Updated AddressConfigurationInstance
def update(friendly_name: :unset, auto_creation_enabled: :unset, auto_creation_type: :unset, auto_creation_conversation_service_sid: :unset, auto_creation_webhook_url: :unset, auto_creation_webhook_method: :unset, auto_creation_webhook_filters: :unset, auto_creation_studio_flow_sid: :unset, auto_creation_studio_retry_count: :unset)
context.update(
\ No newline at end of file