twilio-ruby 5.42.0 → 5.46.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -0
  3. data/CHANGES.md +95 -0
  4. data/LICENSE +1 -1
  5. data/README.md +18 -2
  6. data/lib/twilio-ruby.rb +1 -1
  7. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +1 -1
  8. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +34 -9
  9. data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +201 -0
  10. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +13 -13
  11. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +1 -1
  12. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +17 -5
  13. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +17 -12
  14. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +3 -3
  15. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +5 -5
  16. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +6 -3
  17. data/lib/twilio-ruby/rest/api/v2010/account/token.rb +1 -1
  18. data/lib/twilio-ruby/rest/bulkexports.rb +4 -2
  19. data/lib/twilio-ruby/rest/bulkexports/v1.rb +4 -2
  20. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +7 -4
  21. data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +7 -4
  22. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +5 -3
  23. data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +5 -3
  24. data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +5 -3
  25. data/lib/twilio-ruby/rest/chat/v1/service.rb +5 -5
  26. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +6 -6
  27. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +3 -3
  28. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +3 -3
  29. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +9 -9
  30. data/lib/twilio-ruby/rest/chat/v2/service.rb +5 -5
  31. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +7 -7
  32. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +6 -6
  33. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +3 -3
  34. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +3 -3
  35. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +27 -24
  36. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +9 -9
  37. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +10 -10
  38. data/lib/twilio-ruby/rest/client.rb +29 -3
  39. data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +9 -9
  40. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +1 -1
  41. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +32 -2
  42. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +9 -9
  43. data/lib/twilio-ruby/rest/conversations/v1/role.rb +9 -9
  44. data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +7 -7
  45. data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +17 -2
  46. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +1 -1
  47. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +32 -2
  48. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +9 -9
  49. data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +9 -9
  50. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +8 -1
  51. data/lib/twilio-ruby/rest/conversations/v1/user.rb +8 -1
  52. data/lib/twilio-ruby/rest/events/v1/sink.rb +2 -1
  53. data/lib/twilio-ruby/rest/events/v1/subscription.rb +14 -7
  54. data/lib/twilio-ruby/rest/flex_api.rb +1 -1
  55. data/lib/twilio-ruby/rest/flex_api/v1.rb +1 -1
  56. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +5 -5
  57. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +4 -4
  58. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +88 -76
  59. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +2 -2
  60. data/lib/twilio-ruby/rest/insights/v1/call/summary.rb +8 -9
  61. data/lib/twilio-ruby/rest/insights/v1/room.rb +7 -7
  62. data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +2 -9
  63. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +3 -3
  64. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +3 -3
  65. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +3 -3
  66. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +3 -3
  67. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +4 -4
  68. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +3 -3
  69. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +7 -7
  70. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +3 -3
  71. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +3 -3
  72. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +3 -3
  73. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +6 -6
  74. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +4 -4
  75. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +4 -4
  76. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +16 -16
  77. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +1 -1
  78. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +1 -1
  79. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +1 -1
  80. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +16 -15
  81. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +18 -18
  82. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +1 -1
  83. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +1 -1
  84. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +1 -1
  85. data/lib/twilio-ruby/rest/preview.rb +4 -23
  86. data/lib/twilio-ruby/rest/preview/bulk_exports.rb +4 -2
  87. data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +7 -4
  88. data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +7 -4
  89. data/lib/twilio-ruby/rest/preview/bulk_exports/export/export_custom_job.rb +5 -3
  90. data/lib/twilio-ruby/rest/preview/bulk_exports/export/job.rb +5 -3
  91. data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +5 -3
  92. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +13 -13
  93. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +2 -2
  94. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +8 -8
  95. data/lib/twilio-ruby/rest/preview/trusted_comms.rb +0 -30
  96. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +2 -2
  97. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +2 -2
  98. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +1 -1
  99. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +2 -2
  100. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +2 -2
  101. data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +1 -1
  102. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +1 -1
  103. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +1 -1
  104. data/lib/twilio-ruby/rest/serverless/v1/service.rb +5 -5
  105. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +4 -4
  106. data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +4 -4
  107. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +10 -10
  108. data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +4 -4
  109. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +4 -4
  110. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +4 -4
  111. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +4 -4
  112. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +4 -4
  113. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +4 -4
  114. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +4 -4
  115. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +4 -4
  116. data/lib/twilio-ruby/rest/studio/v2/flow.rb +2 -2
  117. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +1 -1
  118. data/lib/twilio-ruby/rest/studio/v2/flow/test_user.rb +3 -3
  119. data/lib/twilio-ruby/rest/supersim/v1/network.rb +1 -1
  120. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +2 -2
  121. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +1 -1
  122. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +7 -5
  123. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +4 -2
  124. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +3 -3
  125. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +4 -2
  126. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +4 -4
  127. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +1 -1
  128. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +1 -1
  129. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +12 -9
  130. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +10 -10
  131. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +16 -16
  132. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +1 -1
  133. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +10 -10
  134. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +1 -1
  135. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +1 -1
  136. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +1 -1
  137. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +1 -1
  138. data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +21 -24
  139. data/lib/twilio-ruby/rest/verify/v2/service.rb +3 -3
  140. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -1
  141. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +8 -6
  142. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +1 -1
  143. data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +10 -10
  144. data/lib/twilio-ruby/rest/video/v1/composition.rb +16 -15
  145. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +26 -26
  146. data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +6 -6
  147. data/lib/twilio-ruby/rest/video/v1/recording.rb +6 -6
  148. data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +6 -6
  149. data/lib/twilio-ruby/rest/video/v1/room.rb +10 -3
  150. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribe_rule.rb +1 -1
  151. data/lib/twilio-ruby/rest/video/v1/room/room_recording_rule.rb +1 -1
  152. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +1 -1
  153. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +4 -4
  154. data/lib/twilio-ruby/twiml/voice_response.rb +8 -4
  155. data/lib/twilio-ruby/util/configuration.rb +5 -1
  156. data/lib/twilio-ruby/version.rb +1 -1
  157. data/spec/integration/api/v2010/account/call/event_spec.rb +102 -0
  158. data/spec/integration/api/v2010/account/call/recording_spec.rb +4 -0
  159. data/spec/integration/api/v2010/account/call_spec.rb +20 -10
  160. data/spec/integration/api/v2010/account/conference/participant_spec.rb +30 -0
  161. data/spec/integration/conversations/v1/conversation/participant_spec.rb +30 -10
  162. data/spec/integration/conversations/v1/service/configuration_spec.rb +2 -0
  163. data/spec/integration/conversations/v1/service/conversation/participant_spec.rb +30 -10
  164. data/spec/integration/conversations/v1/service/user_spec.rb +9 -4
  165. data/spec/integration/conversations/v1/user_spec.rb +9 -4
  166. data/spec/integration/events/v1/sink_spec.rb +14 -0
  167. data/spec/integration/events/v1/subscription_spec.rb +49 -0
  168. data/spec/integration/insights/v1/call/summary_spec.rb +1 -0
  169. data/spec/integration/insights/v1/room/participant_spec.rb +0 -2
  170. data/spec/integration/lookups/v1/phone_number_spec.rb +7 -7
  171. data/spec/integration/taskrouter/v1/workspace/worker/worker_channel_spec.rb +1 -1
  172. data/spec/integration/trunking/v1/trunk/recording_spec.rb +2 -6
  173. data/spec/integration/video/v1/room_spec.rb +5 -0
  174. data/spec/rest/client_spec.rb +24 -2
  175. data/spec/twiml/voice_response_spec.rb +1 -1
  176. data/twilio-ruby.gemspec +1 -0
  177. metadata +19 -17
  178. data/lib/twilio-ruby/rest/preview/trusted_comms/branded_call.rb +0 -243
  179. data/lib/twilio-ruby/rest/preview/trusted_comms/business.rb +0 -213
  180. data/lib/twilio-ruby/rest/preview/trusted_comms/business/insights.rb +0 -108
  181. data/lib/twilio-ruby/rest/preview/trusted_comms/business/insights/impressions_rate.rb +0 -260
  182. data/lib/twilio-ruby/rest/preview/trusted_comms/phone_call.rb +0 -342
  183. data/spec/integration/preview/trusted_comms/branded_call_spec.rb +0 -59
  184. data/spec/integration/preview/trusted_comms/business/insights/impressions_rate_spec.rb +0 -56
  185. data/spec/integration/preview/trusted_comms/business/insights_spec.rb +0 -12
  186. data/spec/integration/preview/trusted_comms/business_spec.rb +0 -45
  187. data/spec/integration/preview/trusted_comms/phone_call_spec.rb +0 -59
@@ -105,7 +105,7 @@ module Twilio
105
105
 
106
106
  ##
107
107
  # Create the WebChannelInstance
108
- # @param [String] flex_flow_sid The SID of the FlexFlow.
108
+ # @param [String] flex_flow_sid The SID of the Flex Flow.
109
109
  # @param [String] identity The chat identity.
110
110
  # @param [String] customer_friendly_name The chat participant's friendly name.
111
111
  # @param [String] chat_friendly_name The chat channel's friendly name.
@@ -268,7 +268,7 @@ module Twilio
268
268
  end
269
269
 
270
270
  ##
271
- # @return [String] The SID of the FlexFlow
271
+ # @return [String] The SID of the Flex Flow
272
272
  def flex_flow_sid
273
273
  @properties['flex_flow_sid']
274
274
  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
@@ -29,8 +29,8 @@ module Twilio
29
29
  # Lists RoomInstance records from the API as a list.
30
30
  # Unlike stream(), this operation is eager and will load `limit` records into
31
31
  # memory before returning.
32
- # @param [room.RoomType] room_type The room_type
33
- # @param [room.Codec] codec The codec
32
+ # @param [Array[room.RoomType]] room_type The room_type
33
+ # @param [Array[room.Codec]] codec The codec
34
34
  # @param [String] room_name The room_name
35
35
  # @param [Time] created_after The created_after
36
36
  # @param [Time] created_before The created_before
@@ -57,8 +57,8 @@ module Twilio
57
57
  # Streams RoomInstance 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 [room.RoomType] room_type The room_type
61
- # @param [room.Codec] codec The codec
60
+ # @param [Array[room.RoomType]] room_type The room_type
61
+ # @param [Array[room.Codec]] codec The codec
62
62
  # @param [String] room_name The room_name
63
63
  # @param [Time] created_after The created_after
64
64
  # @param [Time] created_before The created_before
@@ -101,8 +101,8 @@ module Twilio
101
101
  ##
102
102
  # Retrieve a single page of RoomInstance records from the API.
103
103
  # Request is executed immediately.
104
- # @param [room.RoomType] room_type The room_type
105
- # @param [room.Codec] codec The codec
104
+ # @param [Array[room.RoomType]] room_type The room_type
105
+ # @param [Array[room.Codec]] codec The codec
106
106
  # @param [String] room_name The room_name
107
107
  # @param [Time] created_after The created_after
108
108
  # @param [Time] created_before The created_before
@@ -394,7 +394,7 @@ module Twilio
394
394
  end
395
395
 
396
396
  ##
397
- # @return [room.Codec] The codecs
397
+ # @return [Array[room.Codec]] The codecs
398
398
  def codecs
399
399
  @properties['codecs']
400
400
  end
@@ -211,7 +211,6 @@ module Twilio
211
211
  'join_time' => Twilio.deserialize_iso8601_datetime(payload['join_time']),
212
212
  'leave_time' => Twilio.deserialize_iso8601_datetime(payload['leave_time']),
213
213
  'duration_sec' => payload['duration_sec'].to_i,
214
- 'call_sid' => payload['call_sid'],
215
214
  'account_sid' => payload['account_sid'],
216
215
  'room_sid' => payload['room_sid'],
217
216
  'status' => payload['status'],
@@ -279,12 +278,6 @@ module Twilio
279
278
  @properties['duration_sec']
280
279
  end
281
280
 
282
- ##
283
- # @return [String] The call_sid
284
- def call_sid
285
- @properties['call_sid']
286
- end
287
-
288
281
  ##
289
282
  # @return [String] The account_sid
290
283
  def account_sid
@@ -304,13 +297,13 @@ module Twilio
304
297
  end
305
298
 
306
299
  ##
307
- # @return [participant.Codec] The codecs
300
+ # @return [Array[participant.Codec]] The codecs
308
301
  def codecs
309
302
  @properties['codecs']
310
303
  end
311
304
 
312
305
  ##
313
- # @return [participant.EndReason] The end_reason
306
+ # @return [String] The end_reason
314
307
  def end_reason
315
308
  @properties['end_reason']
316
309
  end
@@ -216,7 +216,7 @@ module Twilio
216
216
  # @param [String] pre_webhook_url The pre_webhook_url
217
217
  # @param [String] post_webhook_url The post_webhook_url
218
218
  # @param [String] webhook_method The webhook_method
219
- # @param [String] webhook_filters The webhook_filters
219
+ # @param [Array[String]] webhook_filters The webhook_filters
220
220
  # @param [String] webhooks_on_message_send_url The webhooks.on_message_send.url
221
221
  # @param [String] webhooks_on_message_send_method The
222
222
  # webhooks.on_message_send.method
@@ -562,7 +562,7 @@ module Twilio
562
562
  end
563
563
 
564
564
  ##
565
- # @return [String] The webhook_filters
565
+ # @return [Array[String]] The webhook_filters
566
566
  def webhook_filters
567
567
  @properties['webhook_filters']
568
568
  end
@@ -629,7 +629,7 @@ module Twilio
629
629
  # @param [String] pre_webhook_url The pre_webhook_url
630
630
  # @param [String] post_webhook_url The post_webhook_url
631
631
  # @param [String] webhook_method The webhook_method
632
- # @param [String] webhook_filters The webhook_filters
632
+ # @param [Array[String]] webhook_filters The webhook_filters
633
633
  # @param [String] webhooks_on_message_send_url The webhooks.on_message_send.url
634
634
  # @param [String] webhooks_on_message_send_method The
635
635
  # webhooks.on_message_send.method
@@ -49,7 +49,7 @@ module Twilio
49
49
  # Lists ChannelInstance records from the API as a list.
50
50
  # Unlike stream(), this operation is eager and will load `limit` records into
51
51
  # memory before returning.
52
- # @param [channel.ChannelType] type The type
52
+ # @param [Array[channel.ChannelType]] type The type
53
53
  # @param [Integer] limit Upper limit for the number of records to return. stream()
54
54
  # guarantees to never return more than limit. Default is no limit
55
55
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -65,7 +65,7 @@ module Twilio
65
65
  # Streams ChannelInstance records from the API as an Enumerable.
66
66
  # This operation lazily loads records as efficiently as possible until the limit
67
67
  # is reached.
68
- # @param [channel.ChannelType] type The type
68
+ # @param [Array[channel.ChannelType]] type The type
69
69
  # @param [Integer] limit Upper limit for the number of records to return. stream()
70
70
  # guarantees to never return more than limit. Default is no limit.
71
71
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -98,7 +98,7 @@ module Twilio
98
98
  ##
99
99
  # Retrieve a single page of ChannelInstance records from the API.
100
100
  # Request is executed immediately.
101
- # @param [channel.ChannelType] type The type
101
+ # @param [Array[channel.ChannelType]] type The type
102
102
  # @param [String] page_token PageToken provided by the API
103
103
  # @param [Integer] page_number Page Number, this value is simply for client state
104
104
  # @param [Integer] page_size Number of records to return, defaults to 50
@@ -49,7 +49,7 @@ module Twilio
49
49
  # Lists InviteInstance records from the API as a list.
50
50
  # Unlike stream(), this operation is eager and will load `limit` records into
51
51
  # memory before returning.
52
- # @param [String] identity The identity
52
+ # @param [Array[String]] identity The identity
53
53
  # @param [Integer] limit Upper limit for the number of records to return. stream()
54
54
  # guarantees to never return more than limit. Default is no limit
55
55
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -65,7 +65,7 @@ module Twilio
65
65
  # Streams InviteInstance records from the API as an Enumerable.
66
66
  # This operation lazily loads records as efficiently as possible until the limit
67
67
  # is reached.
68
- # @param [String] identity The identity
68
+ # @param [Array[String]] identity The identity
69
69
  # @param [Integer] limit Upper limit for the number of records to return. stream()
70
70
  # guarantees to never return more than limit. Default is no limit.
71
71
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -98,7 +98,7 @@ module Twilio
98
98
  ##
99
99
  # Retrieve a single page of InviteInstance records from the API.
100
100
  # Request is executed immediately.
101
- # @param [String] identity The identity
101
+ # @param [Array[String]] identity The identity
102
102
  # @param [String] page_token PageToken provided by the API
103
103
  # @param [Integer] page_number Page Number, this value is simply for client state
104
104
  # @param [Integer] page_size Number of records to return, defaults to 50
@@ -49,7 +49,7 @@ module Twilio
49
49
  # Lists MemberInstance records from the API as a list.
50
50
  # Unlike stream(), this operation is eager and will load `limit` records into
51
51
  # memory before returning.
52
- # @param [String] identity The identity
52
+ # @param [Array[String]] identity The identity
53
53
  # @param [Integer] limit Upper limit for the number of records to return. stream()
54
54
  # guarantees to never return more than limit. Default is no limit
55
55
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -65,7 +65,7 @@ module Twilio
65
65
  # Streams MemberInstance records from the API as an Enumerable.
66
66
  # This operation lazily loads records as efficiently as possible until the limit
67
67
  # is reached.
68
- # @param [String] identity The identity
68
+ # @param [Array[String]] identity The identity
69
69
  # @param [Integer] limit Upper limit for the number of records to return. stream()
70
70
  # guarantees to never return more than limit. Default is no limit.
71
71
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -98,7 +98,7 @@ module Twilio
98
98
  ##
99
99
  # Retrieve a single page of MemberInstance records from the API.
100
100
  # Request is executed immediately.
101
- # @param [String] identity The identity
101
+ # @param [Array[String]] identity The identity
102
102
  # @param [String] page_token PageToken provided by the API
103
103
  # @param [Integer] page_number Page Number, this value is simply for client state
104
104
  # @param [Integer] page_size Number of records to return, defaults to 50
@@ -29,7 +29,7 @@ module Twilio
29
29
  # Create the RoleInstance
30
30
  # @param [String] friendly_name The friendly_name
31
31
  # @param [role.RoleType] type The type
32
- # @param [String] permission The permission
32
+ # @param [Array[String]] permission The permission
33
33
  # @return [RoleInstance] Created RoleInstance
34
34
  def create(friendly_name: nil, type: nil, permission: nil)
35
35
  data = Twilio::Values.of({
@@ -192,7 +192,7 @@ module Twilio
192
192
 
193
193
  ##
194
194
  # Update the RoleInstance
195
- # @param [String] permission The permission
195
+ # @param [Array[String]] permission The permission
196
196
  # @return [RoleInstance] Updated RoleInstance
197
197
  def update(permission: nil)
198
198
  data = Twilio::Values.of({'Permission' => Twilio.serialize_list(permission) { |e| e }, })
@@ -288,7 +288,7 @@ module Twilio
288
288
  end
289
289
 
290
290
  ##
291
- # @return [String] The permissions
291
+ # @return [Array[String]] The permissions
292
292
  def permissions
293
293
  @properties['permissions']
294
294
  end
@@ -327,7 +327,7 @@ module Twilio
327
327
 
328
328
  ##
329
329
  # Update the RoleInstance
330
- # @param [String] permission The permission
330
+ # @param [Array[String]] permission The permission
331
331
  # @return [RoleInstance] Updated RoleInstance
332
332
  def update(permission: nil)
333
333
  context.update(permission: permission, )
@@ -227,7 +227,7 @@ module Twilio
227
227
  # @param [String] pre_webhook_url The pre_webhook_url
228
228
  # @param [String] post_webhook_url The post_webhook_url
229
229
  # @param [String] webhook_method The webhook_method
230
- # @param [String] webhook_filters The webhook_filters
230
+ # @param [Array[String]] webhook_filters The webhook_filters
231
231
  # @param [String] limits_channel_members The limits.channel_members
232
232
  # @param [String] limits_user_channels The limits.user_channels
233
233
  # @param [String] media_compatibility_message The media.compatibility_message
@@ -512,7 +512,7 @@ module Twilio
512
512
  end
513
513
 
514
514
  ##
515
- # @return [String] The webhook_filters
515
+ # @return [Array[String]] The webhook_filters
516
516
  def webhook_filters
517
517
  @properties['webhook_filters']
518
518
  end
@@ -607,7 +607,7 @@ module Twilio
607
607
  # @param [String] pre_webhook_url The pre_webhook_url
608
608
  # @param [String] post_webhook_url The post_webhook_url
609
609
  # @param [String] webhook_method The webhook_method
610
- # @param [String] webhook_filters The webhook_filters
610
+ # @param [Array[String]] webhook_filters The webhook_filters
611
611
  # @param [String] limits_channel_members The limits.channel_members
612
612
  # @param [String] limits_user_channels The limits.user_channels
613
613
  # @param [String] media_compatibility_message The media.compatibility_message
@@ -29,8 +29,8 @@ module Twilio
29
29
  # Lists BindingInstance records from the API as a list.
30
30
  # Unlike stream(), this operation is eager and will load `limit` records into
31
31
  # memory before returning.
32
- # @param [binding.BindingType] binding_type The binding_type
33
- # @param [String] identity The identity
32
+ # @param [Array[binding.BindingType]] binding_type The binding_type
33
+ # @param [Array[String]] identity The identity
34
34
  # @param [Integer] limit Upper limit for the number of records to return. stream()
35
35
  # guarantees to never return more than limit. Default is no limit
36
36
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -51,8 +51,8 @@ module Twilio
51
51
  # Streams BindingInstance records from the API as an Enumerable.
52
52
  # This operation lazily loads records as efficiently as possible until the limit
53
53
  # is reached.
54
- # @param [binding.BindingType] binding_type The binding_type
55
- # @param [String] identity The identity
54
+ # @param [Array[binding.BindingType]] binding_type The binding_type
55
+ # @param [Array[String]] identity The identity
56
56
  # @param [Integer] limit Upper limit for the number of records to return. stream()
57
57
  # guarantees to never return more than limit. Default is no limit.
58
58
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -85,8 +85,8 @@ module Twilio
85
85
  ##
86
86
  # Retrieve a single page of BindingInstance records from the API.
87
87
  # Request is executed immediately.
88
- # @param [binding.BindingType] binding_type The binding_type
89
- # @param [String] identity The identity
88
+ # @param [Array[binding.BindingType]] binding_type The binding_type
89
+ # @param [Array[String]] identity The identity
90
90
  # @param [String] page_token PageToken provided by the API
91
91
  # @param [Integer] page_number Page Number, this value is simply for client state
92
92
  # @param [Integer] page_size Number of records to return, defaults to 50
@@ -298,7 +298,7 @@ module Twilio
298
298
  end
299
299
 
300
300
  ##
301
- # @return [String] The message_types
301
+ # @return [Array[String]] The message_types
302
302
  def message_types
303
303
  @properties['message_types']
304
304
  end
@@ -58,7 +58,7 @@ module Twilio
58
58
  # Lists ChannelInstance records from the API as a list.
59
59
  # Unlike stream(), this operation is eager and will load `limit` records into
60
60
  # memory before returning.
61
- # @param [channel.ChannelType] type The type
61
+ # @param [Array[channel.ChannelType]] type The type
62
62
  # @param [Integer] limit Upper limit for the number of records to return. stream()
63
63
  # guarantees to never return more than limit. Default is no limit
64
64
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -74,7 +74,7 @@ module Twilio
74
74
  # Streams ChannelInstance records from the API as an Enumerable.
75
75
  # This operation lazily loads records as efficiently as possible until the limit
76
76
  # is reached.
77
- # @param [channel.ChannelType] type The type
77
+ # @param [Array[channel.ChannelType]] type The type
78
78
  # @param [Integer] limit Upper limit for the number of records to return. stream()
79
79
  # guarantees to never return more than limit. Default is no limit.
80
80
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -107,7 +107,7 @@ module Twilio
107
107
  ##
108
108
  # Retrieve a single page of ChannelInstance records from the API.
109
109
  # Request is executed immediately.
110
- # @param [channel.ChannelType] type The type
110
+ # @param [Array[channel.ChannelType]] type The type
111
111
  # @param [String] page_token PageToken provided by the API
112
112
  # @param [Integer] page_number Page Number, this value is simply for client state
113
113
  # @param [Integer] page_size Number of records to return, defaults to 50
@@ -49,7 +49,7 @@ module Twilio
49
49
  # Lists InviteInstance records from the API as a list.
50
50
  # Unlike stream(), this operation is eager and will load `limit` records into
51
51
  # memory before returning.
52
- # @param [String] identity The identity
52
+ # @param [Array[String]] identity The identity
53
53
  # @param [Integer] limit Upper limit for the number of records to return. stream()
54
54
  # guarantees to never return more than limit. Default is no limit
55
55
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -65,7 +65,7 @@ module Twilio
65
65
  # Streams InviteInstance records from the API as an Enumerable.
66
66
  # This operation lazily loads records as efficiently as possible until the limit
67
67
  # is reached.
68
- # @param [String] identity The identity
68
+ # @param [Array[String]] identity The identity
69
69
  # @param [Integer] limit Upper limit for the number of records to return. stream()
70
70
  # guarantees to never return more than limit. Default is no limit.
71
71
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -98,7 +98,7 @@ module Twilio
98
98
  ##
99
99
  # Retrieve a single page of InviteInstance records from the API.
100
100
  # Request is executed immediately.
101
- # @param [String] identity The identity
101
+ # @param [Array[String]] identity The identity
102
102
  # @param [String] page_token PageToken provided by the API
103
103
  # @param [Integer] page_number Page Number, this value is simply for client state
104
104
  # @param [Integer] page_size Number of records to return, defaults to 50
@@ -65,7 +65,7 @@ module Twilio
65
65
  # Lists MemberInstance records from the API as a list.
66
66
  # Unlike stream(), this operation is eager and will load `limit` records into
67
67
  # memory before returning.
68
- # @param [String] identity The identity
68
+ # @param [Array[String]] identity The identity
69
69
  # @param [Integer] limit Upper limit for the number of records to return. stream()
70
70
  # guarantees to never return more than limit. Default is no limit
71
71
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -81,7 +81,7 @@ module Twilio
81
81
  # Streams MemberInstance records from the API as an Enumerable.
82
82
  # This operation lazily loads records as efficiently as possible until the limit
83
83
  # is reached.
84
- # @param [String] identity The identity
84
+ # @param [Array[String]] identity The identity
85
85
  # @param [Integer] limit Upper limit for the number of records to return. stream()
86
86
  # guarantees to never return more than limit. Default is no limit.
87
87
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -114,7 +114,7 @@ module Twilio
114
114
  ##
115
115
  # Retrieve a single page of MemberInstance records from the API.
116
116
  # Request is executed immediately.
117
- # @param [String] identity The identity
117
+ # @param [Array[String]] identity The identity
118
118
  # @param [String] page_token PageToken provided by the API
119
119
  # @param [Integer] page_number Page Number, this value is simply for client state
120
120
  # @param [Integer] page_size Number of records to return, defaults to 50