twilio-ruby 5.45.1 → 5.46.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -0
  3. data/CHANGES.md +24 -0
  4. data/LICENSE +1 -1
  5. data/README.md +2 -2
  6. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +1 -1
  7. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -8
  8. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +13 -13
  9. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +1 -1
  10. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +4 -4
  11. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +11 -11
  12. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +3 -3
  13. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +5 -5
  14. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +6 -3
  15. data/lib/twilio-ruby/rest/api/v2010/account/token.rb +1 -1
  16. data/lib/twilio-ruby/rest/bulkexports.rb +4 -2
  17. data/lib/twilio-ruby/rest/bulkexports/v1.rb +4 -2
  18. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +7 -4
  19. data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +7 -4
  20. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +5 -3
  21. data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +5 -3
  22. data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +5 -3
  23. data/lib/twilio-ruby/rest/chat/v1/service.rb +5 -5
  24. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +6 -6
  25. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +3 -3
  26. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +3 -3
  27. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +9 -9
  28. data/lib/twilio-ruby/rest/chat/v2/service.rb +5 -5
  29. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +7 -7
  30. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +6 -6
  31. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +3 -3
  32. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +3 -3
  33. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +27 -24
  34. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +9 -9
  35. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +10 -10
  36. data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +9 -9
  37. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +1 -1
  38. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +9 -9
  39. data/lib/twilio-ruby/rest/conversations/v1/role.rb +9 -9
  40. data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +7 -7
  41. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +1 -1
  42. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +9 -9
  43. data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +9 -9
  44. data/lib/twilio-ruby/rest/events/v1/sink.rb +2 -1
  45. data/lib/twilio-ruby/rest/events/v1/subscription.rb +2 -2
  46. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +4 -4
  47. data/lib/twilio-ruby/rest/insights/v1/call/summary.rb +8 -9
  48. data/lib/twilio-ruby/rest/insights/v1/room.rb +7 -7
  49. data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +1 -1
  50. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +3 -3
  51. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +3 -3
  52. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +3 -3
  53. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +3 -3
  54. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +4 -4
  55. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +3 -3
  56. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +7 -7
  57. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +3 -3
  58. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +3 -3
  59. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +3 -3
  60. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +6 -6
  61. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +4 -4
  62. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +4 -4
  63. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +16 -16
  64. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +1 -1
  65. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +1 -1
  66. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +1 -1
  67. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +16 -15
  68. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +18 -18
  69. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +1 -1
  70. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +1 -1
  71. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +1 -1
  72. data/lib/twilio-ruby/rest/preview.rb +4 -2
  73. data/lib/twilio-ruby/rest/preview/bulk_exports.rb +4 -2
  74. data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +7 -4
  75. data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +7 -4
  76. data/lib/twilio-ruby/rest/preview/bulk_exports/export/export_custom_job.rb +5 -3
  77. data/lib/twilio-ruby/rest/preview/bulk_exports/export/job.rb +5 -3
  78. data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +5 -3
  79. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +13 -13
  80. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +2 -2
  81. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +8 -8
  82. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +2 -2
  83. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +2 -2
  84. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +1 -1
  85. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +2 -2
  86. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +2 -2
  87. data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +1 -1
  88. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +1 -1
  89. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +1 -1
  90. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +6 -6
  91. data/lib/twilio-ruby/rest/studio/v2/flow.rb +2 -2
  92. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +1 -1
  93. data/lib/twilio-ruby/rest/studio/v2/flow/test_user.rb +3 -3
  94. data/lib/twilio-ruby/rest/supersim/v1/network.rb +1 -1
  95. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +2 -2
  96. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +1 -1
  97. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +12 -20
  98. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +9 -17
  99. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +8 -31
  100. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +9 -17
  101. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +9 -32
  102. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +1 -1
  103. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +5 -15
  104. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +1 -1
  105. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +12 -12
  106. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +10 -10
  107. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +1 -1
  108. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +10 -10
  109. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +1 -1
  110. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +1 -1
  111. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +1 -1
  112. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +1 -1
  113. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +3 -3
  114. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +1 -1
  115. data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +10 -10
  116. data/lib/twilio-ruby/rest/video/v1/composition.rb +16 -15
  117. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +26 -26
  118. data/lib/twilio-ruby/rest/video/v1/recording.rb +6 -6
  119. data/lib/twilio-ruby/rest/video/v1/room.rb +10 -3
  120. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribe_rule.rb +1 -1
  121. data/lib/twilio-ruby/rest/video/v1/room/room_recording_rule.rb +1 -1
  122. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +1 -1
  123. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +4 -4
  124. data/lib/twilio-ruby/version.rb +1 -1
  125. data/spec/integration/events/v1/sink_spec.rb +14 -0
  126. data/spec/integration/insights/v1/call/summary_spec.rb +1 -0
  127. data/spec/integration/video/v1/room_spec.rb +5 -0
  128. data/spec/twiml/voice_response_spec.rb +1 -1
  129. metadata +2 -2
@@ -34,10 +34,10 @@ module Twilio
34
34
  # @param [role.RoleType] type The type of role. Can be: `channel` for
35
35
  # {Channel}[https://www.twilio.com/docs/chat/channels] roles or `deployment` for
36
36
  # {Service}[https://www.twilio.com/docs/chat/rest/service-resource] roles.
37
- # @param [String] permission A permission that you grant to the new role. Only one
38
- # permission can be granted per parameter. To assign more than one permission,
39
- # repeat this parameter for each permission value. The values for this parameter
40
- # depend on the role's `type`.
37
+ # @param [Array[String]] permission A permission that you grant to the new role.
38
+ # Only one permission can be granted per parameter. To assign more than one
39
+ # permission, repeat this parameter for each permission value. The values for this
40
+ # parameter depend on the role's `type`.
41
41
  # @return [RoleInstance] Created RoleInstance
42
42
  def create(friendly_name: nil, type: nil, permission: nil)
43
43
  data = Twilio::Values.of({
@@ -202,8 +202,8 @@ module Twilio
202
202
 
203
203
  ##
204
204
  # Update the RoleInstance
205
- # @param [String] permission A permission that you grant to the role. Only one
206
- # permission can be granted per parameter. To assign more than one permission,
205
+ # @param [Array[String]] permission A permission that you grant to the role. Only
206
+ # one permission can be granted per parameter. To assign more than one permission,
207
207
  # repeat this parameter for each permission value. Note that the update action
208
208
  # replaces all previously assigned permissions with those defined in the update
209
209
  # action. To remove a permission, do not include it in the subsequent update
@@ -305,7 +305,7 @@ module Twilio
305
305
  end
306
306
 
307
307
  ##
308
- # @return [String] An array of the permissions the role has been granted
308
+ # @return [Array[String]] An array of the permissions the role has been granted
309
309
  def permissions
310
310
  @properties['permissions']
311
311
  end
@@ -344,8 +344,8 @@ module Twilio
344
344
 
345
345
  ##
346
346
  # Update the RoleInstance
347
- # @param [String] permission A permission that you grant to the role. Only one
348
- # permission can be granted per parameter. To assign more than one permission,
347
+ # @param [Array[String]] permission A permission that you grant to the role. Only
348
+ # one permission can be granted per parameter. To assign more than one permission,
349
349
  # repeat this parameter for each permission value. Note that the update action
350
350
  # replaces all previously assigned permissions with those defined in the update
351
351
  # action. To remove a permission, do not include it in the subsequent update
@@ -37,9 +37,9 @@ module Twilio
37
37
  # Lists UserBindingInstance records from the API as a list.
38
38
  # Unlike stream(), this operation is eager and will load `limit` records into
39
39
  # memory before returning.
40
- # @param [user_binding.BindingType] binding_type The push technology used by the
41
- # User Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See {push
42
- # notification
40
+ # @param [Array[user_binding.BindingType]] binding_type The push technology used
41
+ # by the User Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See
42
+ # {push notification
43
43
  # configuration}[https://www.twilio.com/docs/chat/push-notification-configuration]
44
44
  # for more info.
45
45
  # @param [Integer] limit Upper limit for the number of records to return. stream()
@@ -57,9 +57,9 @@ module Twilio
57
57
  # Streams UserBindingInstance records from the API as an Enumerable.
58
58
  # This operation lazily loads records as efficiently as possible until the limit
59
59
  # is reached.
60
- # @param [user_binding.BindingType] binding_type The push technology used by the
61
- # User Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See {push
62
- # notification
60
+ # @param [Array[user_binding.BindingType]] binding_type The push technology used
61
+ # by the User Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See
62
+ # {push notification
63
63
  # configuration}[https://www.twilio.com/docs/chat/push-notification-configuration]
64
64
  # for more info.
65
65
  # @param [Integer] limit Upper limit for the number of records to return. stream()
@@ -94,9 +94,9 @@ module Twilio
94
94
  ##
95
95
  # Retrieve a single page of UserBindingInstance records from the API.
96
96
  # Request is executed immediately.
97
- # @param [user_binding.BindingType] binding_type The push technology used by the
98
- # User Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See {push
99
- # notification
97
+ # @param [Array[user_binding.BindingType]] binding_type The push technology used
98
+ # by the User Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See
99
+ # {push notification
100
100
  # configuration}[https://www.twilio.com/docs/chat/push-notification-configuration]
101
101
  # for more info.
102
102
  # @param [String] page_token PageToken provided by the API
@@ -345,7 +345,7 @@ module Twilio
345
345
  end
346
346
 
347
347
  ##
348
- # @return [String] The Programmable Chat message types the binding is subscribed to
348
+ # @return [Array[String]] The Programmable Chat message types the binding is subscribed to
349
349
  def message_types
350
350
  @properties['message_types']
351
351
  end
@@ -85,10 +85,10 @@ module Twilio
85
85
  # Update the WebhookInstance
86
86
  # @param [String] method The HTTP method to be used when sending a webhook
87
87
  # request.
88
- # @param [String] filters The list of webhook event triggers that are enabled for
89
- # this Service: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`,
90
- # `onConversationUpdated`, `onConversationRemoved`, `onParticipantAdded`,
91
- # `onParticipantUpdated`, `onParticipantRemoved`
88
+ # @param [Array[String]] filters The list of webhook event triggers that are
89
+ # enabled for this Service: `onMessageAdded`, `onMessageUpdated`,
90
+ # `onMessageRemoved`, `onConversationUpdated`, `onConversationRemoved`,
91
+ # `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`
92
92
  # @param [String] pre_webhook_url The absolute url the pre-event webhook request
93
93
  # should be sent to.
94
94
  # @param [String] post_webhook_url The absolute url the post-event webhook request
@@ -173,7 +173,7 @@ module Twilio
173
173
  end
174
174
 
175
175
  ##
176
- # @return [String] The list of webhook event triggers that are enabled for this Service.
176
+ # @return [Array[String]] The list of webhook event triggers that are enabled for this Service.
177
177
  def filters
178
178
  @properties['filters']
179
179
  end
@@ -213,10 +213,10 @@ module Twilio
213
213
  # Update the WebhookInstance
214
214
  # @param [String] method The HTTP method to be used when sending a webhook
215
215
  # request.
216
- # @param [String] filters The list of webhook event triggers that are enabled for
217
- # this Service: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`,
218
- # `onConversationUpdated`, `onConversationRemoved`, `onParticipantAdded`,
219
- # `onParticipantUpdated`, `onParticipantRemoved`
216
+ # @param [Array[String]] filters The list of webhook event triggers that are
217
+ # enabled for this Service: `onMessageAdded`, `onMessageUpdated`,
218
+ # `onMessageRemoved`, `onConversationUpdated`, `onConversationRemoved`,
219
+ # `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`
220
220
  # @param [String] pre_webhook_url The absolute url the pre-event webhook request
221
221
  # should be sent to.
222
222
  # @param [String] post_webhook_url The absolute url the post-event webhook request
@@ -378,7 +378,7 @@ module Twilio
378
378
  end
379
379
 
380
380
  ##
381
- # @return [Hash] An array of objects that describe the Message's media if attached, otherwise, null.
381
+ # @return [Array[Hash]] An array of objects that describe the Message's media if attached, otherwise, null.
382
382
  def media
383
383
  @properties['media']
384
384
  end
@@ -115,10 +115,10 @@ module Twilio
115
115
  # sent to.
116
116
  # @param [webhook.Method] configuration_method The HTTP method to be used when
117
117
  # sending a webhook request.
118
- # @param [String] configuration_filters The list of events, firing webhook event
119
- # for this Conversation.
120
- # @param [String] configuration_triggers The list of keywords, firing webhook
118
+ # @param [Array[String]] configuration_filters The list of events, firing webhook
121
119
  # event for this Conversation.
120
+ # @param [Array[String]] configuration_triggers The list of keywords, firing
121
+ # webhook event for this Conversation.
122
122
  # @param [String] configuration_flow_sid The studio flow SID, where the webhook
123
123
  # should be sent to.
124
124
  # @param [String] configuration_replay_after The message index for which and it's
@@ -214,10 +214,10 @@ module Twilio
214
214
  # sent to.
215
215
  # @param [webhook.Method] configuration_method The HTTP method to be used when
216
216
  # sending a webhook request.
217
- # @param [String] configuration_filters The list of events, firing webhook event
218
- # for this Conversation.
219
- # @param [String] configuration_triggers The list of keywords, firing webhook
217
+ # @param [Array[String]] configuration_filters The list of events, firing webhook
220
218
  # event for this Conversation.
219
+ # @param [Array[String]] configuration_triggers The list of keywords, firing
220
+ # webhook event for this Conversation.
221
221
  # @param [String] configuration_flow_sid The studio flow SID, where the webhook
222
222
  # should be sent to.
223
223
  # @return [WebhookInstance] Updated WebhookInstance
@@ -365,10 +365,10 @@ module Twilio
365
365
  # sent to.
366
366
  # @param [webhook.Method] configuration_method The HTTP method to be used when
367
367
  # sending a webhook request.
368
- # @param [String] configuration_filters The list of events, firing webhook event
369
- # for this Conversation.
370
- # @param [String] configuration_triggers The list of keywords, firing webhook
368
+ # @param [Array[String]] configuration_filters The list of events, firing webhook
371
369
  # event for this Conversation.
370
+ # @param [Array[String]] configuration_triggers The list of keywords, firing
371
+ # webhook event for this Conversation.
372
372
  # @param [String] configuration_flow_sid The studio flow SID, where the webhook
373
373
  # should be sent to.
374
374
  # @return [WebhookInstance] Updated WebhookInstance
@@ -31,10 +31,10 @@ module Twilio
31
31
  # {Conversation}[https://www.twilio.com/docs/conversations/api/conversation-resource]
32
32
  # roles or `service` for {Conversation
33
33
  # Service}[https://www.twilio.com/docs/conversations/api/service-resource] roles.
34
- # @param [String] permission A permission that you grant to the new role. Only one
35
- # permission can be granted per parameter. To assign more than one permission,
36
- # repeat this parameter for each permission value. The values for this parameter
37
- # depend on the role's `type`.
34
+ # @param [Array[String]] permission A permission that you grant to the new role.
35
+ # Only one permission can be granted per parameter. To assign more than one
36
+ # permission, repeat this parameter for each permission value. The values for this
37
+ # parameter depend on the role's `type`.
38
38
  # @return [RoleInstance] Created RoleInstance
39
39
  def create(friendly_name: nil, type: nil, permission: nil)
40
40
  data = Twilio::Values.of({
@@ -180,8 +180,8 @@ module Twilio
180
180
 
181
181
  ##
182
182
  # Update the RoleInstance
183
- # @param [String] permission A permission that you grant to the role. Only one
184
- # permission can be granted per parameter. To assign more than one permission,
183
+ # @param [Array[String]] permission A permission that you grant to the role. Only
184
+ # one permission can be granted per parameter. To assign more than one permission,
185
185
  # repeat this parameter for each permission value. Note that the update action
186
186
  # replaces all previously assigned permissions with those defined in the update
187
187
  # action. To remove a permission, do not include it in the subsequent update
@@ -296,7 +296,7 @@ module Twilio
296
296
  end
297
297
 
298
298
  ##
299
- # @return [String] An array of the permissions the role has been granted
299
+ # @return [Array[String]] An array of the permissions the role has been granted
300
300
  def permissions
301
301
  @properties['permissions']
302
302
  end
@@ -321,8 +321,8 @@ module Twilio
321
321
 
322
322
  ##
323
323
  # Update the RoleInstance
324
- # @param [String] permission A permission that you grant to the role. Only one
325
- # permission can be granted per parameter. To assign more than one permission,
324
+ # @param [Array[String]] permission A permission that you grant to the role. Only
325
+ # one permission can be granted per parameter. To assign more than one permission,
326
326
  # repeat this parameter for each permission value. Note that the update action
327
327
  # replaces all previously assigned permissions with those defined in the update
328
328
  # action. To remove a permission, do not include it in the subsequent update
@@ -31,12 +31,12 @@ module Twilio
31
31
  # Lists BindingInstance records from the API as a list.
32
32
  # Unlike stream(), this operation is eager and will load `limit` records into
33
33
  # memory before returning.
34
- # @param [binding.BindingType] binding_type The push technology used by the
34
+ # @param [Array[binding.BindingType]] binding_type The push technology used by the
35
35
  # Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See {push
36
36
  # notification
37
37
  # configuration}[https://www.twilio.com/docs/chat/push-notification-configuration]
38
38
  # for more info.
39
- # @param [String] identity The identity of a {Conversation
39
+ # @param [Array[String]] identity The identity of a {Conversation
40
40
  # User}[https://www.twilio.com/docs/conversations/api/user-resource] this binding
41
41
  # belongs to. See {access
42
42
  # tokens}[https://www.twilio.com/docs/conversations/create-tokens] for more
@@ -61,12 +61,12 @@ module Twilio
61
61
  # Streams BindingInstance records from the API as an Enumerable.
62
62
  # This operation lazily loads records as efficiently as possible until the limit
63
63
  # is reached.
64
- # @param [binding.BindingType] binding_type The push technology used by the
64
+ # @param [Array[binding.BindingType]] binding_type The push technology used by the
65
65
  # Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See {push
66
66
  # notification
67
67
  # configuration}[https://www.twilio.com/docs/chat/push-notification-configuration]
68
68
  # for more info.
69
- # @param [String] identity The identity of a {Conversation
69
+ # @param [Array[String]] identity The identity of a {Conversation
70
70
  # User}[https://www.twilio.com/docs/conversations/api/user-resource] this binding
71
71
  # belongs to. See {access
72
72
  # tokens}[https://www.twilio.com/docs/conversations/create-tokens] for more
@@ -103,12 +103,12 @@ module Twilio
103
103
  ##
104
104
  # Retrieve a single page of BindingInstance records from the API.
105
105
  # Request is executed immediately.
106
- # @param [binding.BindingType] binding_type The push technology used by the
106
+ # @param [Array[binding.BindingType]] binding_type The push technology used by the
107
107
  # Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See {push
108
108
  # notification
109
109
  # configuration}[https://www.twilio.com/docs/chat/push-notification-configuration]
110
110
  # for more info.
111
- # @param [String] identity The identity of a {Conversation
111
+ # @param [Array[String]] identity The identity of a {Conversation
112
112
  # User}[https://www.twilio.com/docs/conversations/api/user-resource] this binding
113
113
  # belongs to. See {access
114
114
  # tokens}[https://www.twilio.com/docs/conversations/create-tokens] for more
@@ -334,7 +334,7 @@ module Twilio
334
334
  end
335
335
 
336
336
  ##
337
- # @return [String] The Conversation message types the binding is subscribed to.
337
+ # @return [Array[String]] The Conversation message types the binding is subscribed to.
338
338
  def message_types
339
339
  @properties['message_types']
340
340
  end
@@ -423,7 +423,7 @@ module Twilio
423
423
  end
424
424
 
425
425
  ##
426
- # @return [Hash] An array of objects that describe the Message's media if attached, otherwise, null.
426
+ # @return [Array[Hash]] An array of objects that describe the Message's media if attached, otherwise, null.
427
427
  def media
428
428
  @properties['media']
429
429
  end
@@ -39,10 +39,10 @@ module Twilio
39
39
  # sent to.
40
40
  # @param [webhook.Method] configuration_method The HTTP method to be used when
41
41
  # sending a webhook request.
42
- # @param [String] configuration_filters The list of events, firing webhook event
43
- # for this Conversation.
44
- # @param [String] configuration_triggers The list of keywords, firing webhook
42
+ # @param [Array[String]] configuration_filters The list of events, firing webhook
45
43
  # event for this Conversation.
44
+ # @param [Array[String]] configuration_triggers The list of keywords, firing
45
+ # webhook event for this Conversation.
46
46
  # @param [String] configuration_flow_sid The studio flow SID, where the webhook
47
47
  # should be sent to.
48
48
  # @param [String] configuration_replay_after The message index for which and it's
@@ -217,10 +217,10 @@ module Twilio
217
217
  # sent to.
218
218
  # @param [webhook.Method] configuration_method The HTTP method to be used when
219
219
  # sending a webhook request.
220
- # @param [String] configuration_filters The list of events, firing webhook event
221
- # for this Conversation.
222
- # @param [String] configuration_triggers The list of keywords, firing webhook
220
+ # @param [Array[String]] configuration_filters The list of events, firing webhook
223
221
  # event for this Conversation.
222
+ # @param [Array[String]] configuration_triggers The list of keywords, firing
223
+ # webhook event for this Conversation.
224
224
  # @param [String] configuration_flow_sid The studio flow SID, where the webhook
225
225
  # should be sent to.
226
226
  # @return [WebhookInstance] Updated WebhookInstance
@@ -396,10 +396,10 @@ module Twilio
396
396
  # sent to.
397
397
  # @param [webhook.Method] configuration_method The HTTP method to be used when
398
398
  # sending a webhook request.
399
- # @param [String] configuration_filters The list of events, firing webhook event
400
- # for this Conversation.
401
- # @param [String] configuration_triggers The list of keywords, firing webhook
399
+ # @param [Array[String]] configuration_filters The list of events, firing webhook
402
400
  # event for this Conversation.
401
+ # @param [Array[String]] configuration_triggers The list of keywords, firing
402
+ # webhook event for this Conversation.
403
403
  # @param [String] configuration_flow_sid The studio flow SID, where the webhook
404
404
  # should be sent to.
405
405
  # @return [WebhookInstance] Updated WebhookInstance
@@ -35,10 +35,10 @@ module Twilio
35
35
  # {Conversation}[https://www.twilio.com/docs/conversations/api/conversation-resource]
36
36
  # roles or `service` for {Conversation
37
37
  # Service}[https://www.twilio.com/docs/conversations/api/service-resource] roles.
38
- # @param [String] permission A permission that you grant to the new role. Only one
39
- # permission can be granted per parameter. To assign more than one permission,
40
- # repeat this parameter for each permission value. The values for this parameter
41
- # depend on the role's `type`.
38
+ # @param [Array[String]] permission A permission that you grant to the new role.
39
+ # Only one permission can be granted per parameter. To assign more than one
40
+ # permission, repeat this parameter for each permission value. The values for this
41
+ # parameter depend on the role's `type`.
42
42
  # @return [RoleInstance] Created RoleInstance
43
43
  def create(friendly_name: nil, type: nil, permission: nil)
44
44
  data = Twilio::Values.of({
@@ -187,8 +187,8 @@ module Twilio
187
187
 
188
188
  ##
189
189
  # Update the RoleInstance
190
- # @param [String] permission A permission that you grant to the role. Only one
191
- # permission can be granted per parameter. To assign more than one permission,
190
+ # @param [Array[String]] permission A permission that you grant to the role. Only
191
+ # one permission can be granted per parameter. To assign more than one permission,
192
192
  # repeat this parameter for each permission value. Note that the update action
193
193
  # replaces all previously assigned permissions with those defined in the update
194
194
  # action. To remove a permission, do not include it in the subsequent update
@@ -316,7 +316,7 @@ module Twilio
316
316
  end
317
317
 
318
318
  ##
319
- # @return [String] An array of the permissions the role has been granted
319
+ # @return [Array[String]] An array of the permissions the role has been granted
320
320
  def permissions
321
321
  @properties['permissions']
322
322
  end
@@ -341,8 +341,8 @@ module Twilio
341
341
 
342
342
  ##
343
343
  # Update the RoleInstance
344
- # @param [String] permission A permission that you grant to the role. Only one
345
- # permission can be granted per parameter. To assign more than one permission,
344
+ # @param [Array[String]] permission A permission that you grant to the role. Only
345
+ # one permission can be granted per parameter. To assign more than one permission,
346
346
  # repeat this parameter for each permission value. Note that the update action
347
347
  # replaces all previously assigned permissions with those defined in the update
348
348
  # action. To remove a permission, do not include it in the subsequent update
@@ -30,7 +30,8 @@ module Twilio
30
30
  # @param [String] description A human readable description for the Sink
31
31
  # @param [Hash] sink_configuration The information required for Twilio to connect
32
32
  # to the provided Sink encoded as JSON.
33
- # @param [sink.SinkType] sink_type The Sink type. Can only be "kinesis" currently.
33
+ # @param [sink.SinkType] sink_type The Sink type. Can only be "kinesis" or
34
+ # "webhook" currently.
34
35
  # @return [SinkInstance] Created SinkInstance
35
36
  def create(description: nil, sink_configuration: nil, sink_type: nil)
36
37
  data = Twilio::Values.of({
@@ -118,8 +118,8 @@ module Twilio
118
118
  # @param [String] sink_sid The SID of the sink that events selected by this
119
119
  # subscription should be sent to. Sink must be active for the subscription to be
120
120
  # created.
121
- # @param [Hash] types Contains a dictionary of URL links to nested resources of
122
- # this Subscription.
121
+ # @param [Array[Hash]] types Contains a dictionary of URL links to nested
122
+ # resources of this Subscription.
123
123
  # @return [SubscriptionInstance] Created SubscriptionInstance
124
124
  def create(description: nil, sink_sid: nil, types: nil)
125
125
  data = Twilio::Values.of({
@@ -232,13 +232,13 @@ module Twilio
232
232
  end
233
233
 
234
234
  ##
235
- # @return [Hash] The list of TaskRouter TaskQueues
235
+ # @return [Array[Hash]] The list of TaskRouter TaskQueues
236
236
  def taskrouter_taskqueues
237
237
  @properties['taskrouter_taskqueues']
238
238
  end
239
239
 
240
240
  ##
241
- # @return [Hash] The Skill description for TaskRouter workers
241
+ # @return [Array[Hash]] The Skill description for TaskRouter workers
242
242
  def taskrouter_skills
243
243
  @properties['taskrouter_skills']
244
244
  end
@@ -376,7 +376,7 @@ module Twilio
376
376
  end
377
377
 
378
378
  ##
379
- # @return [Hash] A list of objects that contain the configurations for the Integrations supported in this configuration
379
+ # @return [Array[Hash]] A list of objects that contain the configurations for the Integrations supported in this configuration
380
380
  def integrations
381
381
  @properties['integrations']
382
382
  end
@@ -388,7 +388,7 @@ module Twilio
388
388
  end
389
389
 
390
390
  ##
391
- # @return [String] The list of serverless service SIDs
391
+ # @return [Array[String]] The list of serverless service SIDs
392
392
  def serverless_service_sids
393
393
  @properties['serverless_service_sids']
394
394
  end
@@ -11,8 +11,6 @@ module Twilio
11
11
  class Insights < Domain
12
12
  class V1 < Version
13
13
  class CallContext < InstanceContext
14
- ##
15
- # PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
16
14
  class CallSummaryList < ListResource
17
15
  ##
18
16
  # Initialize the CallSummaryList
@@ -33,8 +31,6 @@ module Twilio
33
31
  end
34
32
  end
35
33
 
36
- ##
37
- # PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
38
34
  class CallSummaryPage < Page
39
35
  ##
40
36
  # Initialize the CallSummaryPage
@@ -64,8 +60,6 @@ module Twilio
64
60
  end
65
61
  end
66
62
 
67
- ##
68
- # PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
69
63
  class CallSummaryContext < InstanceContext
70
64
  ##
71
65
  # Initialize the CallSummaryContext
@@ -107,8 +101,6 @@ module Twilio
107
101
  end
108
102
  end
109
103
 
110
- ##
111
- # PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
112
104
  class CallSummaryInstance < InstanceResource
113
105
  ##
114
106
  # Initialize the CallSummaryInstance
@@ -126,6 +118,7 @@ module Twilio
126
118
  'call_type' => payload['call_type'],
127
119
  'call_state' => payload['call_state'],
128
120
  'processing_state' => payload['processing_state'],
121
+ 'created_time' => Twilio.deserialize_iso8601_datetime(payload['created_time']),
129
122
  'start_time' => Twilio.deserialize_iso8601_datetime(payload['start_time']),
130
123
  'end_time' => Twilio.deserialize_iso8601_datetime(payload['end_time']),
131
124
  'duration' => payload['duration'] == nil ? payload['duration'] : payload['duration'].to_i,
@@ -189,6 +182,12 @@ module Twilio
189
182
  @properties['processing_state']
190
183
  end
191
184
 
185
+ ##
186
+ # @return [Time] The created_time
187
+ def created_time
188
+ @properties['created_time']
189
+ end
190
+
192
191
  ##
193
192
  # @return [Time] The start_time
194
193
  def start_time
@@ -250,7 +249,7 @@ module Twilio
250
249
  end
251
250
 
252
251
  ##
253
- # @return [String] The tags
252
+ # @return [Array[String]] The tags
254
253
  def tags
255
254
  @properties['tags']
256
255
  end