twilio-ruby 6.2.0 → 6.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (394) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +205 -0
  3. data/CONTRIBUTING.md +1 -1
  4. data/LICENSE +1 -1
  5. data/README.md +2 -2
  6. data/lib/twilio-ruby/base/client_base.rb +4 -7
  7. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +0 -1
  8. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +0 -1
  9. data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +169 -0
  10. data/lib/twilio-ruby/rest/accounts/v1.rb +6 -0
  11. data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +0 -1
  12. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +1 -5
  13. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +0 -2
  14. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +0 -1
  15. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +0 -19
  16. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +0 -19
  17. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +0 -19
  18. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +0 -19
  19. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +0 -19
  20. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +0 -19
  21. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +0 -19
  22. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +7 -8
  23. data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +0 -1
  24. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +0 -5
  25. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +0 -4
  26. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -19
  27. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +5 -6
  28. data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +0 -4
  29. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +2 -11
  30. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +0 -1
  31. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +0 -1
  32. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +1 -2
  33. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +0 -5
  34. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +0 -5
  35. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +0 -5
  36. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +1 -6
  37. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +0 -1
  38. data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +4 -4
  39. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +19 -23
  40. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +55 -58
  41. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +0 -5
  42. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +0 -3
  43. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +0 -1
  44. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -2
  45. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +0 -1
  46. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -2
  47. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +0 -1
  48. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -9
  49. data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +0 -3
  50. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +0 -1
  51. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +0 -1
  52. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +1 -2
  53. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +0 -1
  54. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +0 -1
  55. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +0 -1
  56. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +0 -1
  57. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +0 -1
  58. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +3 -4
  59. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +0 -1
  60. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -2
  61. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +0 -1
  62. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +0 -5
  63. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +0 -5
  64. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +0 -5
  65. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +0 -5
  66. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +0 -5
  67. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +0 -5
  68. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +0 -5
  69. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +0 -5
  70. data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +0 -5
  71. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +0 -4
  72. data/lib/twilio-ruby/rest/api/v2010/account.rb +0 -3
  73. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +0 -2
  74. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +1 -2
  75. data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +0 -1
  76. data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +0 -5
  77. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +0 -1
  78. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +0 -2
  79. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -3
  80. data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +0 -1
  81. data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +0 -1
  82. data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +0 -1
  83. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +0 -1
  84. data/lib/twilio-ruby/rest/chat/v1/credential.rb +0 -1
  85. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +1 -2
  86. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +1 -2
  87. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +0 -2
  88. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +4 -5
  89. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +0 -1
  90. data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +0 -1
  91. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +1 -2
  92. data/lib/twilio-ruby/rest/chat/v1/service.rb +0 -1
  93. data/lib/twilio-ruby/rest/chat/v2/credential.rb +0 -1
  94. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +2 -3
  95. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +1 -2
  96. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +1 -2
  97. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +0 -2
  98. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +0 -1
  99. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +5 -6
  100. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +0 -1
  101. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +1 -2
  102. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +0 -1
  103. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -3
  104. data/lib/twilio-ruby/rest/chat/v2/service.rb +0 -1
  105. data/lib/twilio-ruby/rest/chat/v3/channel.rb +3 -3
  106. data/lib/twilio-ruby/rest/client.rb +1 -6
  107. data/lib/twilio-ruby/rest/content/v1/content.rb +1 -2
  108. data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +1 -2
  109. data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +1 -2
  110. data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +0 -2
  111. data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +3 -3
  112. data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +0 -1
  113. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +12 -5
  114. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +0 -1
  115. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +0 -1
  116. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +22 -8
  117. data/lib/twilio-ruby/rest/conversations/v1/credential.rb +0 -1
  118. data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +0 -3
  119. data/lib/twilio-ruby/rest/conversations/v1/role.rb +0 -1
  120. data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +2 -3
  121. data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +12 -12
  122. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +0 -1
  123. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +12 -5
  124. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +19 -20
  125. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +0 -1
  126. data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +25 -11
  127. data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +0 -3
  128. data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +0 -1
  129. data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +0 -1
  130. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +1 -2
  131. data/lib/twilio-ruby/rest/conversations/v1/service.rb +0 -1
  132. data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +0 -1
  133. data/lib/twilio-ruby/rest/conversations/v1/user.rb +0 -1
  134. data/lib/twilio-ruby/rest/events/v1/event_type.rb +0 -2
  135. data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +0 -1
  136. data/lib/twilio-ruby/rest/events/v1/sink.rb +0 -3
  137. data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +0 -1
  138. data/lib/twilio-ruby/rest/events/v1/subscription.rb +0 -2
  139. data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +0 -3
  140. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +0 -1
  141. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +21 -0
  142. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +0 -2
  143. data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +0 -4
  144. data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +0 -3
  145. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +0 -3
  146. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +0 -2
  147. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +1 -3
  148. data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +1 -4
  149. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +0 -1
  150. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +0 -1
  151. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +6 -7
  152. data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +11 -1
  153. data/lib/twilio-ruby/rest/{oauth/v1/oauth.rb → flex_api/v1/provisioning_status.rb} +39 -37
  154. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +0 -1
  155. data/lib/twilio-ruby/rest/flex_api/v1.rb +6 -0
  156. data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +1 -1
  157. data/lib/twilio-ruby/rest/insights/v1/call/event.rb +0 -2
  158. data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +0 -3
  159. data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +33 -51
  160. data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +0 -4
  161. data/lib/twilio-ruby/rest/insights/v1/conference.rb +0 -11
  162. data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +3 -4
  163. data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -6
  164. data/lib/twilio-ruby/rest/intelligence/v2/service.rb +4 -5
  165. data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +2 -2
  166. data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +12 -7
  167. data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +3 -5
  168. data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +5 -25
  169. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +0 -1
  170. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +1 -2
  171. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +1 -2
  172. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +0 -2
  173. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +4 -5
  174. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +0 -1
  175. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +0 -1
  176. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +1 -2
  177. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +0 -1
  178. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +0 -1
  179. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +2 -3
  180. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +1 -2
  181. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +1 -2
  182. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +0 -2
  183. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +0 -1
  184. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +5 -6
  185. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +0 -1
  186. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +1 -2
  187. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +0 -1
  188. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -3
  189. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +0 -1
  190. data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +7 -0
  191. data/lib/twilio-ruby/rest/media/v1/media_processor.rb +7 -10
  192. data/lib/twilio-ruby/rest/media/v1/media_recording.rb +1 -6
  193. data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +2 -5
  194. data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +0 -2
  195. data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +0 -1
  196. data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -2
  197. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +0 -1
  198. data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +329 -0
  199. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +0 -1
  200. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +0 -1
  201. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +4 -5
  202. data/lib/twilio-ruby/rest/messaging/v1/service.rb +78 -52
  203. data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +777 -0
  204. data/lib/twilio-ruby/rest/messaging/v1.rb +15 -0
  205. data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +0 -1
  206. data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +0 -1
  207. data/lib/twilio-ruby/rest/microvisor/v1/app.rb +0 -1
  208. data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +0 -1
  209. data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +0 -1
  210. data/lib/twilio-ruby/rest/microvisor/v1/device.rb +8 -3
  211. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +0 -4
  212. data/lib/twilio-ruby/rest/monitor/v1/event.rb +0 -7
  213. data/lib/twilio-ruby/rest/notify/v1/credential.rb +0 -1
  214. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +2 -5
  215. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +1 -1
  216. data/lib/twilio-ruby/rest/notify/v1/service.rb +4 -6
  217. data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +22 -4
  218. data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +7 -12
  219. data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +6 -6
  220. data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +249 -0
  221. data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +7 -20
  222. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +0 -1
  223. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +0 -1
  224. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +0 -1
  225. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +19 -31
  226. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +0 -1
  227. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +0 -1
  228. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +0 -4
  229. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +0 -1
  230. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +0 -1
  231. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +14 -14
  232. data/lib/twilio-ruby/rest/numbers/v2.rb +15 -0
  233. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +0 -2
  234. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +0 -1
  235. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +0 -2
  236. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +0 -2
  237. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +0 -1
  238. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +3 -9
  239. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +4 -7
  240. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +3 -9
  241. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +0 -1
  242. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +0 -1
  243. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +0 -1
  244. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +0 -1
  245. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +0 -1
  246. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -2
  247. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +0 -4
  248. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +0 -1
  249. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -3
  250. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +0 -4
  251. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +0 -1
  252. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -3
  253. data/lib/twilio-ruby/rest/preview/sync/service.rb +0 -1
  254. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +0 -2
  255. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +1 -2
  256. data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +0 -1
  257. data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +0 -4
  258. data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +0 -1
  259. data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +0 -2
  260. data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -3
  261. data/lib/twilio-ruby/rest/preview/understand/assistant.rb +0 -1
  262. data/lib/twilio-ruby/rest/preview/wireless/command.rb +0 -5
  263. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +0 -1
  264. data/lib/twilio-ruby/rest/preview/wireless/sim.rb +0 -6
  265. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +0 -1
  266. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +0 -1
  267. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +0 -1
  268. data/lib/twilio-ruby/rest/pricing/v2/country.rb +0 -1
  269. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +0 -1
  270. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +0 -1
  271. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +1 -2
  272. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +0 -1
  273. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -2
  274. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -3
  275. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +1 -2
  276. data/lib/twilio-ruby/rest/proxy/v1/service.rb +4 -5
  277. data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +0 -1
  278. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +1 -2
  279. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +0 -1
  280. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +0 -1
  281. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +0 -4
  282. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +0 -1
  283. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +3 -4
  284. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +0 -1
  285. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +1 -2
  286. data/lib/twilio-ruby/rest/serverless/v1/service.rb +0 -1
  287. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +0 -1
  288. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +1 -2
  289. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +0 -1
  290. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -4
  291. data/lib/twilio-ruby/rest/studio/v1/flow.rb +0 -1
  292. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +0 -1
  293. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -4
  294. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +0 -1
  295. data/lib/twilio-ruby/rest/studio/v2/flow.rb +0 -1
  296. data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +4 -8
  297. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +0 -2
  298. data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +3 -8
  299. data/lib/twilio-ruby/rest/supersim/v1/network.rb +0 -4
  300. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +0 -1
  301. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +0 -1
  302. data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +0 -3
  303. data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +0 -1
  304. data/lib/twilio-ruby/rest/supersim/v1/sim/sim_ip_address.rb +0 -1
  305. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +0 -4
  306. data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +0 -4
  307. data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +0 -9
  308. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +0 -1
  309. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -2
  310. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +0 -4
  311. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +0 -1
  312. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -3
  313. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +0 -4
  314. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +0 -1
  315. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -3
  316. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -2
  317. data/lib/twilio-ruby/rest/sync/v1/service.rb +0 -1
  318. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +0 -3
  319. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +0 -12
  320. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +0 -3
  321. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +26 -19
  322. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +0 -1
  323. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +0 -7
  324. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +8 -5
  325. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +0 -2
  326. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +0 -1
  327. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -11
  328. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +0 -2
  329. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +0 -2
  330. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +0 -1
  331. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +0 -1
  332. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +0 -1
  333. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +0 -1
  334. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +0 -1
  335. data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +232 -0
  336. data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +154 -0
  337. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +0 -3
  338. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +0 -1
  339. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +0 -1
  340. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +0 -4
  341. data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +0 -1
  342. data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +0 -1
  343. data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +0 -1
  344. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +0 -1
  345. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +0 -1
  346. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +0 -3
  347. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +0 -1
  348. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +0 -1
  349. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +0 -4
  350. data/lib/twilio-ruby/rest/trusthub/v1.rb +21 -0
  351. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +1 -5
  352. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +0 -1
  353. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -4
  354. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +4 -5
  355. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +0 -1
  356. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +1 -2
  357. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +7 -1
  358. data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +0 -1
  359. data/lib/twilio-ruby/rest/verify/v2/service.rb +19 -4
  360. data/lib/twilio-ruby/rest/verify/v2/template.rb +0 -2
  361. data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +7 -16
  362. data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +6 -6
  363. data/lib/twilio-ruby/rest/video/v1/composition.rb +0 -5
  364. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +0 -5
  365. data/lib/twilio-ruby/rest/video/v1/recording.rb +1 -7
  366. data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +0 -1
  367. data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +0 -1
  368. data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -8
  369. data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +0 -5
  370. data/lib/twilio-ruby/rest/video/v1/room.rb +2 -7
  371. data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +0 -1
  372. data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +0 -1
  373. data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +0 -1
  374. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +0 -1
  375. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +4 -11
  376. data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +0 -1
  377. data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +0 -1
  378. data/lib/twilio-ruby/rest/wireless/v1/command.rb +5 -10
  379. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +7 -8
  380. data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +3 -4
  381. data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +3 -7
  382. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +13 -19
  383. data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +2 -6
  384. data/lib/twilio-ruby/twiml/voice_response.rb +8 -4
  385. data/lib/twilio-ruby/version.rb +1 -1
  386. metadata +9 -11
  387. data/conf/cacert.pem +0 -3376
  388. data/lib/twilio-ruby/rest/oauth/v1/device_code.rb +0 -171
  389. data/lib/twilio-ruby/rest/oauth/v1/openid_discovery.rb +0 -262
  390. data/lib/twilio-ruby/rest/oauth/v1/token.rb +0 -179
  391. data/lib/twilio-ruby/rest/oauth/v1/user_info.rb +0 -213
  392. data/lib/twilio-ruby/rest/oauth/v1.rb +0 -64
  393. data/lib/twilio-ruby/rest/oauth.rb +0 -33
  394. data/lib/twilio-ruby/rest/oauth_base.rb +0 -38
@@ -103,11 +103,8 @@ module Twilio
103
103
  # @return [Page] Page of MetricInstance
104
104
  def page(edge: :unset, direction: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
105
105
  params = Twilio::Values.of({
106
-
107
106
  'Edge' => edge,
108
-
109
107
  'Direction' => direction,
110
-
111
108
  'PageToken' => page_token,
112
109
  'Page' => page_number,
113
110
  'PageSize' => page_size,
@@ -53,10 +53,11 @@ module Twilio
53
53
  # @param [String] subaccount A unique SID identifier of a Subaccount.
54
54
  # @param [Boolean] abnormal_session A boolean flag indicating an abnormal session where the last SIP response was not 200 OK.
55
55
  # @param [AnsweredBy] answered_by An Answered By value for the calls based on `Answering Machine Detection (AMD)`. One of `unknown`, `machine_start`, `machine_end_beep`, `machine_end_silence`, `machine_end_other`, `human` or `fax`.
56
- # @param [String] connectivity_issue A Connectivity Issue with the calls. One of `no_connectivity_issue`, `invalid_number`, `caller_id`, `dropped_call`, or `number_reachability`.
57
- # @param [String] quality_issue A subjective Quality Issue with the calls. One of `no_quality_issue`, `low_volume`, `choppy_robotic`, `echo`, `dtmf`, `latency`, `owa`, `static_noise`.
58
- # @param [Boolean] spam A boolean flag indicating spam calls.
59
- # @param [String] call_score A Call Score of the calls. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for the rated call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad].
56
+ # @param [String] answered_by_annotation Either machine or human.
57
+ # @param [String] connectivity_issue_annotation A Connectivity Issue with the calls. One of `no_connectivity_issue`, `invalid_number`, `caller_id`, `dropped_call`, or `number_reachability`.
58
+ # @param [String] quality_issue_annotation A subjective Quality Issue with the calls. One of `no_quality_issue`, `low_volume`, `choppy_robotic`, `echo`, `dtmf`, `latency`, `owa`, `static_noise`.
59
+ # @param [Boolean] spam_annotation A boolean flag indicating spam calls.
60
+ # @param [String] call_score_annotation A Call Score of the calls. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for the rated call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad].
60
61
  # @param [Integer] limit Upper limit for the number of records to return. stream()
61
62
  # guarantees to never return more than limit. Default is no limit
62
63
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -64,7 +65,7 @@ module Twilio
64
65
  # but a limit is defined, stream() will attempt to read the limit with the most
65
66
  # efficient page size, i.e. min(limit, 1000)
66
67
  # @return [Array] Array of up to limit results
67
- def list(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, branded: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset, connectivity_issue: :unset, quality_issue: :unset, spam: :unset, call_score: :unset, limit: nil, page_size: nil)
68
+ def list(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, branded: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset, answered_by_annotation: :unset, connectivity_issue_annotation: :unset, quality_issue_annotation: :unset, spam_annotation: :unset, call_score_annotation: :unset, limit: nil, page_size: nil)
68
69
  self.stream(
69
70
  from: from,
70
71
  to: to,
@@ -85,10 +86,11 @@ module Twilio
85
86
  subaccount: subaccount,
86
87
  abnormal_session: abnormal_session,
87
88
  answered_by: answered_by,
88
- connectivity_issue: connectivity_issue,
89
- quality_issue: quality_issue,
90
- spam: spam,
91
- call_score: call_score,
89
+ answered_by_annotation: answered_by_annotation,
90
+ connectivity_issue_annotation: connectivity_issue_annotation,
91
+ quality_issue_annotation: quality_issue_annotation,
92
+ spam_annotation: spam_annotation,
93
+ call_score_annotation: call_score_annotation,
92
94
  limit: limit,
93
95
  page_size: page_size
94
96
  ).entries
@@ -117,10 +119,11 @@ module Twilio
117
119
  # @param [String] subaccount A unique SID identifier of a Subaccount.
118
120
  # @param [Boolean] abnormal_session A boolean flag indicating an abnormal session where the last SIP response was not 200 OK.
119
121
  # @param [AnsweredBy] answered_by An Answered By value for the calls based on `Answering Machine Detection (AMD)`. One of `unknown`, `machine_start`, `machine_end_beep`, `machine_end_silence`, `machine_end_other`, `human` or `fax`.
120
- # @param [String] connectivity_issue A Connectivity Issue with the calls. One of `no_connectivity_issue`, `invalid_number`, `caller_id`, `dropped_call`, or `number_reachability`.
121
- # @param [String] quality_issue A subjective Quality Issue with the calls. One of `no_quality_issue`, `low_volume`, `choppy_robotic`, `echo`, `dtmf`, `latency`, `owa`, `static_noise`.
122
- # @param [Boolean] spam A boolean flag indicating spam calls.
123
- # @param [String] call_score A Call Score of the calls. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for the rated call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad].
122
+ # @param [String] answered_by_annotation Either machine or human.
123
+ # @param [String] connectivity_issue_annotation A Connectivity Issue with the calls. One of `no_connectivity_issue`, `invalid_number`, `caller_id`, `dropped_call`, or `number_reachability`.
124
+ # @param [String] quality_issue_annotation A subjective Quality Issue with the calls. One of `no_quality_issue`, `low_volume`, `choppy_robotic`, `echo`, `dtmf`, `latency`, `owa`, `static_noise`.
125
+ # @param [Boolean] spam_annotation A boolean flag indicating spam calls.
126
+ # @param [String] call_score_annotation A Call Score of the calls. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for the rated call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad].
124
127
  # @param [Integer] limit Upper limit for the number of records to return. stream()
125
128
  # guarantees to never return more than limit. Default is no limit
126
129
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -128,7 +131,7 @@ module Twilio
128
131
  # but a limit is defined, stream() will attempt to read the limit with the most
129
132
  # efficient page size, i.e. min(limit, 1000)
130
133
  # @return [Enumerable] Enumerable that will yield up to limit results
131
- def stream(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, branded: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset, connectivity_issue: :unset, quality_issue: :unset, spam: :unset, call_score: :unset, limit: nil, page_size: nil)
134
+ def stream(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, branded: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset, answered_by_annotation: :unset, connectivity_issue_annotation: :unset, quality_issue_annotation: :unset, spam_annotation: :unset, call_score_annotation: :unset, limit: nil, page_size: nil)
132
135
  limits = @version.read_limits(limit, page_size)
133
136
 
134
137
  page = self.page(
@@ -151,10 +154,11 @@ module Twilio
151
154
  subaccount: subaccount,
152
155
  abnormal_session: abnormal_session,
153
156
  answered_by: answered_by,
154
- connectivity_issue: connectivity_issue,
155
- quality_issue: quality_issue,
156
- spam: spam,
157
- call_score: call_score,
157
+ answered_by_annotation: answered_by_annotation,
158
+ connectivity_issue_annotation: connectivity_issue_annotation,
159
+ quality_issue_annotation: quality_issue_annotation,
160
+ spam_annotation: spam_annotation,
161
+ call_score_annotation: call_score_annotation,
158
162
  page_size: limits[:page_size], )
159
163
 
160
164
  @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
@@ -196,63 +200,41 @@ module Twilio
196
200
  # @param [String] subaccount A unique SID identifier of a Subaccount.
197
201
  # @param [Boolean] abnormal_session A boolean flag indicating an abnormal session where the last SIP response was not 200 OK.
198
202
  # @param [AnsweredBy] answered_by An Answered By value for the calls based on `Answering Machine Detection (AMD)`. One of `unknown`, `machine_start`, `machine_end_beep`, `machine_end_silence`, `machine_end_other`, `human` or `fax`.
199
- # @param [String] connectivity_issue A Connectivity Issue with the calls. One of `no_connectivity_issue`, `invalid_number`, `caller_id`, `dropped_call`, or `number_reachability`.
200
- # @param [String] quality_issue A subjective Quality Issue with the calls. One of `no_quality_issue`, `low_volume`, `choppy_robotic`, `echo`, `dtmf`, `latency`, `owa`, `static_noise`.
201
- # @param [Boolean] spam A boolean flag indicating spam calls.
202
- # @param [String] call_score A Call Score of the calls. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for the rated call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad].
203
+ # @param [String] answered_by_annotation Either machine or human.
204
+ # @param [String] connectivity_issue_annotation A Connectivity Issue with the calls. One of `no_connectivity_issue`, `invalid_number`, `caller_id`, `dropped_call`, or `number_reachability`.
205
+ # @param [String] quality_issue_annotation A subjective Quality Issue with the calls. One of `no_quality_issue`, `low_volume`, `choppy_robotic`, `echo`, `dtmf`, `latency`, `owa`, `static_noise`.
206
+ # @param [Boolean] spam_annotation A boolean flag indicating spam calls.
207
+ # @param [String] call_score_annotation A Call Score of the calls. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for the rated call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad].
203
208
  # @param [String] page_token PageToken provided by the API
204
209
  # @param [Integer] page_number Page Number, this value is simply for client state
205
210
  # @param [Integer] page_size Number of records to return, defaults to 50
206
211
  # @return [Page] Page of CallSummariesInstance
207
- def page(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, branded: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset, connectivity_issue: :unset, quality_issue: :unset, spam: :unset, call_score: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
212
+ def page(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, branded: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset, answered_by_annotation: :unset, connectivity_issue_annotation: :unset, quality_issue_annotation: :unset, spam_annotation: :unset, call_score_annotation: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
208
213
  params = Twilio::Values.of({
209
-
210
214
  'From' => from,
211
-
212
215
  'To' => to,
213
-
214
216
  'FromCarrier' => from_carrier,
215
-
216
217
  'ToCarrier' => to_carrier,
217
-
218
218
  'FromCountryCode' => from_country_code,
219
-
220
219
  'ToCountryCode' => to_country_code,
221
-
222
220
  'Branded' => branded,
223
-
224
221
  'VerifiedCaller' => verified_caller,
225
-
226
222
  'HasTag' => has_tag,
227
-
228
223
  'StartTime' => start_time,
229
-
230
224
  'EndTime' => end_time,
231
-
232
225
  'CallType' => call_type,
233
-
234
226
  'CallState' => call_state,
235
-
236
227
  'Direction' => direction,
237
-
238
228
  'ProcessingState' => processing_state,
239
-
240
229
  'SortBy' => sort_by,
241
-
242
230
  'Subaccount' => subaccount,
243
-
244
231
  'AbnormalSession' => abnormal_session,
245
-
246
232
  'AnsweredBy' => answered_by,
247
-
248
- 'ConnectivityIssue' => connectivity_issue,
249
-
250
- 'QualityIssue' => quality_issue,
251
-
252
- 'Spam' => spam,
253
-
254
- 'CallScore' => call_score,
255
-
233
+ 'AnsweredByAnnotation' => answered_by_annotation,
234
+ 'ConnectivityIssueAnnotation' => connectivity_issue_annotation,
235
+ 'QualityIssueAnnotation' => quality_issue_annotation,
236
+ 'SpamAnnotation' => spam_annotation,
237
+ 'CallScoreAnnotation' => call_score_annotation,
256
238
  'PageToken' => page_token,
257
239
  'Page' => page_number,
258
240
  'PageSize' => page_size,
@@ -108,13 +108,9 @@ module Twilio
108
108
  # @return [Page] Page of ConferenceParticipantInstance
109
109
  def page(participant_sid: :unset, label: :unset, events: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
110
110
  params = Twilio::Values.of({
111
-
112
111
  'ParticipantSid' => participant_sid,
113
-
114
112
  'Label' => label,
115
-
116
113
  'Events' => events,
117
-
118
114
  'PageToken' => page_token,
119
115
  'Page' => page_number,
120
116
  'PageSize' => page_size,
@@ -141,27 +141,16 @@ module Twilio
141
141
  # @return [Page] Page of ConferenceInstance
142
142
  def page(conference_sid: :unset, friendly_name: :unset, status: :unset, created_after: :unset, created_before: :unset, mixer_region: :unset, tags: :unset, subaccount: :unset, detected_issues: :unset, end_reason: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
143
143
  params = Twilio::Values.of({
144
-
145
144
  'ConferenceSid' => conference_sid,
146
-
147
145
  'FriendlyName' => friendly_name,
148
-
149
146
  'Status' => status,
150
-
151
147
  'CreatedAfter' => created_after,
152
-
153
148
  'CreatedBefore' => created_before,
154
-
155
149
  'MixerRegion' => mixer_region,
156
-
157
150
  'Tags' => tags,
158
-
159
151
  'Subaccount' => subaccount,
160
-
161
152
  'DetectedIssues' => detected_issues,
162
-
163
153
  'EndReason' => end_reason,
164
-
165
154
  'PageToken' => page_token,
166
155
  'Page' => page_number,
167
156
  'PageSize' => page_size,
@@ -93,7 +93,6 @@ module Twilio
93
93
  # @return [Page] Page of ParticipantInstance
94
94
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
95
95
  params = Twilio::Values.of({
96
-
97
96
  'PageToken' => page_token,
98
97
  'Page' => page_number,
99
98
  'PageSize' => page_size,
@@ -307,7 +306,7 @@ module Twilio
307
306
  end
308
307
 
309
308
  ##
310
- # @return [String] Reason the participant left the room. See [the list of possible values here](https://www.twilio.com/docs/video/video-log-analyzer/video-log-analyzer-api#end_reason).
309
+ # @return [String] Reason the participant left the room. See [the list of possible values here](https://www.twilio.com/docs/video/troubleshooting/video-log-analyzer-api#end_reason).
311
310
  def end_reason
312
311
  @properties['end_reason']
313
312
  end
@@ -331,7 +330,7 @@ module Twilio
331
330
  end
332
331
 
333
332
  ##
334
- # @return [Hash] Object containing information about the participant's data from the room. See [below](https://www.twilio.com/docs/video/video-log-analyzer/video-log-analyzer-api#properties) for more information.
333
+ # @return [Hash] Object containing information about the participant's data from the room. See [below](https://www.twilio.com/docs/video/troubleshooting/video-log-analyzer-api#properties) for more information.
335
334
  def properties
336
335
  @properties['properties']
337
336
  end
@@ -343,7 +342,7 @@ module Twilio
343
342
  end
344
343
 
345
344
  ##
346
- # @return [Hash] Object containing information about the SDK name and version. See [below](https://www.twilio.com/docs/video/video-log-analyzer/video-log-analyzer-api#publisher_info) for more information.
345
+ # @return [Hash] Object containing information about the SDK name and version. See [below](https://www.twilio.com/docs/video/troubleshooting/video-log-analyzer-api#publisher_info) for more information.
347
346
  def publisher_info
348
347
  @properties['publisher_info']
349
348
  end
@@ -117,16 +117,12 @@ module Twilio
117
117
  def page(room_type: :unset, codec: :unset, room_name: :unset, created_after: :unset, created_before: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
118
118
  params = Twilio::Values.of({
119
119
 
120
- 'RoomType' => Twilio.serialize_list(room_type),
121
-
122
- 'Codec' => Twilio.serialize_list(codec),
120
+ 'RoomType' => Twilio.serialize_list(room_type) { |e| e },
123
121
 
122
+ 'Codec' => Twilio.serialize_list(codec) { |e| e },
124
123
  'RoomName' => room_name,
125
-
126
124
  'CreatedAfter' => Twilio.serialize_iso8601_datetime(created_after),
127
-
128
125
  'CreatedBefore' => Twilio.serialize_iso8601_datetime(created_before),
129
-
130
126
  'PageToken' => page_token,
131
127
  'Page' => page_number,
132
128
  'PageSize' => page_size,
@@ -33,7 +33,7 @@ module Twilio
33
33
  # Create the ServiceInstance
34
34
  # @param [String] unique_name Provides a unique and addressable name to be assigned to this Service, assigned by the developer, to be optionally used in addition to SID.
35
35
  # @param [Boolean] auto_transcribe Instructs the Speech Recognition service to automatically transcribe all recordings made on the account.
36
- # @param [Boolean] data_logging Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine its speech recognition models.
36
+ # @param [Boolean] data_logging Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
37
37
  # @param [String] friendly_name A human readable description of this resource, up to 64 characters.
38
38
  # @param [String] language_code The default language code of the audio.
39
39
  # @param [Boolean] auto_redaction Instructs the Speech Recognition service to automatically redact PII from all transcripts made on this service.
@@ -134,7 +134,6 @@ module Twilio
134
134
  # @return [Page] Page of ServiceInstance
135
135
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
136
136
  params = Twilio::Values.of({
137
-
138
137
  'PageToken' => page_token,
139
138
  'Page' => page_number,
140
139
  'PageSize' => page_size,
@@ -208,7 +207,7 @@ module Twilio
208
207
  ##
209
208
  # Update the ServiceInstance
210
209
  # @param [Boolean] auto_transcribe Instructs the Speech Recognition service to automatically transcribe all recordings made on the account.
211
- # @param [Boolean] data_logging Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine its speech recognition models.
210
+ # @param [Boolean] data_logging Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
212
211
  # @param [String] friendly_name A human readable description of this resource, up to 64 characters.
213
212
  # @param [String] language_code The default language code of the audio.
214
213
  # @param [String] unique_name Provides a unique and addressable name to be assigned to this Service, assigned by the developer, to be optionally used in addition to SID.
@@ -369,7 +368,7 @@ module Twilio
369
368
  end
370
369
 
371
370
  ##
372
- # @return [Boolean] Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine its speech recognition models.
371
+ # @return [Boolean] Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
373
372
  def data_logging
374
373
  @properties['data_logging']
375
374
  end
@@ -453,7 +452,7 @@ module Twilio
453
452
  ##
454
453
  # Update the ServiceInstance
455
454
  # @param [Boolean] auto_transcribe Instructs the Speech Recognition service to automatically transcribe all recordings made on the account.
456
- # @param [Boolean] data_logging Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine its speech recognition models.
455
+ # @param [Boolean] data_logging Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
457
456
  # @param [String] friendly_name A human readable description of this resource, up to 64 characters.
458
457
  # @param [String] language_code The default language code of the audio.
459
458
  # @param [String] unique_name Provides a unique and addressable name to be assigned to this Service, assigned by the developer, to be optionally used in addition to SID.
@@ -60,7 +60,7 @@ module Twilio
60
60
  end
61
61
  ##
62
62
  # Fetch the MediaInstance
63
- # @param [Boolean] redacted Grant access to PII Redacted/Unredacted Media. The default is `true` to access redacted media.
63
+ # @param [Boolean] redacted Grant access to PII Redacted/Unredacted Media. If redaction is enabled, the default is `true` to access redacted media.
64
64
  # @return [MediaInstance] Fetched MediaInstance
65
65
  def fetch(
66
66
  redacted: :unset
@@ -191,7 +191,7 @@ module Twilio
191
191
 
192
192
  ##
193
193
  # Fetch the MediaInstance
194
- # @param [Boolean] redacted Grant access to PII Redacted/Unredacted Media. The default is `true` to access redacted media.
194
+ # @param [Boolean] redacted Grant access to PII Redacted/Unredacted Media. If redaction is enabled, the default is `true` to access redacted media.
195
195
  # @return [MediaInstance] Fetched MediaInstance
196
196
  def fetch(
197
197
  redacted: :unset
@@ -36,7 +36,7 @@ module Twilio
36
36
  # Lists OperatorResultInstance records from the API as a list.
37
37
  # Unlike stream(), this operation is eager and will load `limit` records into
38
38
  # memory before returning.
39
- # @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator. The default is True.
39
+ # @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True.
40
40
  # @param [Integer] limit Upper limit for the number of records to return. stream()
41
41
  # guarantees to never return more than limit. Default is no limit
42
42
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -56,7 +56,7 @@ module Twilio
56
56
  # Streams Instance records from the API as an Enumerable.
57
57
  # This operation lazily loads records as efficiently as possible until the limit
58
58
  # is reached.
59
- # @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator. The default is True.
59
+ # @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True.
60
60
  # @param [Integer] limit Upper limit for the number of records to return. stream()
61
61
  # guarantees to never return more than limit. Default is no limit
62
62
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -91,16 +91,14 @@ module Twilio
91
91
  ##
92
92
  # Retrieve a single page of OperatorResultInstance records from the API.
93
93
  # Request is executed immediately.
94
- # @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator. The default is True.
94
+ # @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True.
95
95
  # @param [String] page_token PageToken provided by the API
96
96
  # @param [Integer] page_number Page Number, this value is simply for client state
97
97
  # @param [Integer] page_size Number of records to return, defaults to 50
98
98
  # @return [Page] Page of OperatorResultInstance
99
99
  def page(redacted: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
100
100
  params = Twilio::Values.of({
101
-
102
101
  'Redacted' => redacted,
103
-
104
102
  'PageToken' => page_token,
105
103
  'Page' => page_number,
106
104
  'PageSize' => page_size,
@@ -153,7 +151,7 @@ module Twilio
153
151
  end
154
152
  ##
155
153
  # Fetch the OperatorResultInstance
156
- # @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator. The default is True.
154
+ # @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True.
157
155
  # @return [OperatorResultInstance] Fetched OperatorResultInstance
158
156
  def fetch(
159
157
  redacted: :unset
@@ -242,6 +240,7 @@ module Twilio
242
240
  'predicted_probability' => payload['predicted_probability'],
243
241
  'label_probabilities' => payload['label_probabilities'],
244
242
  'extract_results' => payload['extract_results'],
243
+ 'text_generation_results' => payload['text_generation_results'],
245
244
  'transcript_sid' => payload['transcript_sid'],
246
245
  'url' => payload['url'],
247
246
  }
@@ -334,6 +333,12 @@ module Twilio
334
333
  @properties['extract_results']
335
334
  end
336
335
 
336
+ ##
337
+ # @return [Hash] Output of a text generation operator for example Conversation Sumamary.
338
+ def text_generation_results
339
+ @properties['text_generation_results']
340
+ end
341
+
337
342
  ##
338
343
  # @return [String] A 34 character string that uniquely identifies this Transcript.
339
344
  def transcript_sid
@@ -348,7 +353,7 @@ module Twilio
348
353
 
349
354
  ##
350
355
  # Fetch the OperatorResultInstance
351
- # @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator. The default is True.
356
+ # @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True.
352
357
  # @return [OperatorResultInstance] Fetched OperatorResultInstance
353
358
  def fetch(
354
359
  redacted: :unset
@@ -36,7 +36,7 @@ module Twilio
36
36
  # Lists SentenceInstance records from the API as a list.
37
37
  # Unlike stream(), this operation is eager and will load `limit` records into
38
38
  # memory before returning.
39
- # @param [Boolean] redacted Grant access to PII Redacted/Unredacted Sentences. The default is `true` to access redacted sentences.
39
+ # @param [Boolean] redacted Grant access to PII Redacted/Unredacted Sentences. If redaction is enabled, the default is `true` to access redacted sentences.
40
40
  # @param [Integer] limit Upper limit for the number of records to return. stream()
41
41
  # guarantees to never return more than limit. Default is no limit
42
42
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -56,7 +56,7 @@ module Twilio
56
56
  # Streams Instance records from the API as an Enumerable.
57
57
  # This operation lazily loads records as efficiently as possible until the limit
58
58
  # is reached.
59
- # @param [Boolean] redacted Grant access to PII Redacted/Unredacted Sentences. The default is `true` to access redacted sentences.
59
+ # @param [Boolean] redacted Grant access to PII Redacted/Unredacted Sentences. If redaction is enabled, the default is `true` to access redacted sentences.
60
60
  # @param [Integer] limit Upper limit for the number of records to return. stream()
61
61
  # guarantees to never return more than limit. Default is no limit
62
62
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -91,16 +91,14 @@ module Twilio
91
91
  ##
92
92
  # Retrieve a single page of SentenceInstance records from the API.
93
93
  # Request is executed immediately.
94
- # @param [Boolean] redacted Grant access to PII Redacted/Unredacted Sentences. The default is `true` to access redacted sentences.
94
+ # @param [Boolean] redacted Grant access to PII Redacted/Unredacted Sentences. If redaction is enabled, the default is `true` to access redacted sentences.
95
95
  # @param [String] page_token PageToken provided by the API
96
96
  # @param [Integer] page_number Page Number, this value is simply for client state
97
97
  # @param [Integer] page_size Number of records to return, defaults to 50
98
98
  # @return [Page] Page of SentenceInstance
99
99
  def page(redacted: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
100
100
  params = Twilio::Values.of({
101
-
102
101
  'Redacted' => redacted,
103
-
104
102
  'PageToken' => page_token,
105
103
  'Page' => page_number,
106
104
  'PageSize' => page_size,
@@ -159,23 +159,14 @@ module Twilio
159
159
  # @return [Page] Page of TranscriptInstance
160
160
  def page(service_sid: :unset, before_start_time: :unset, after_start_time: :unset, before_date_created: :unset, after_date_created: :unset, status: :unset, language_code: :unset, source_sid: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
161
161
  params = Twilio::Values.of({
162
-
163
162
  'ServiceSid' => service_sid,
164
-
165
163
  'BeforeStartTime' => before_start_time,
166
-
167
164
  'AfterStartTime' => after_start_time,
168
-
169
165
  'BeforeDateCreated' => before_date_created,
170
-
171
166
  'AfterDateCreated' => after_date_created,
172
-
173
167
  'Status' => status,
174
-
175
168
  'LanguageCode' => language_code,
176
-
177
169
  'SourceSid' => source_sid,
178
-
179
170
  'PageToken' => page_token,
180
171
  'Page' => page_number,
181
172
  'PageSize' => page_size,
@@ -238,16 +229,10 @@ module Twilio
238
229
 
239
230
  ##
240
231
  # Fetch the TranscriptInstance
241
- # @param [Boolean] redacted Grant access to PII Redacted/Unredacted Transcript. The default is `true` to access redacted Transcript.
242
232
  # @return [TranscriptInstance] Fetched TranscriptInstance
243
- def fetch(
244
- redacted: :unset
245
- )
233
+ def fetch
246
234
 
247
- params = Twilio::Values.of({
248
- 'Redacted' => redacted,
249
- })
250
- payload = @version.fetch('GET', @uri, params: params)
235
+ payload = @version.fetch('GET', @uri)
251
236
  TranscriptInstance.new(
252
237
  @version,
253
238
  payload,
@@ -430,7 +415,7 @@ module Twilio
430
415
  end
431
416
 
432
417
  ##
433
- # @return [Boolean] Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine its speech recognition models.
418
+ # @return [Boolean] Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
434
419
  def data_logging
435
420
  @properties['data_logging']
436
421
  end
@@ -487,15 +472,10 @@ module Twilio
487
472
 
488
473
  ##
489
474
  # Fetch the TranscriptInstance
490
- # @param [Boolean] redacted Grant access to PII Redacted/Unredacted Transcript. The default is `true` to access redacted Transcript.
491
475
  # @return [TranscriptInstance] Fetched TranscriptInstance
492
- def fetch(
493
- redacted: :unset
494
- )
476
+ def fetch
495
477
 
496
- context.fetch(
497
- redacted: redacted,
498
- )
478
+ context.fetch
499
479
  end
500
480
 
501
481
  ##
@@ -128,7 +128,6 @@ module Twilio
128
128
  # @return [Page] Page of CredentialInstance
129
129
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
130
130
  params = Twilio::Values.of({
131
-
132
131
  'PageToken' => page_token,
133
132
  'Page' => page_number,
134
133
  'PageSize' => page_size,
@@ -124,8 +124,7 @@ module Twilio
124
124
  def page(identity: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
125
125
  params = Twilio::Values.of({
126
126
 
127
- 'Identity' => Twilio.serialize_list(identity),
128
-
127
+ 'Identity' => Twilio.serialize_list(identity) { |e| e },
129
128
  'PageToken' => page_token,
130
129
  'Page' => page_number,
131
130
  'PageSize' => page_size,
@@ -124,8 +124,7 @@ module Twilio
124
124
  def page(identity: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
125
125
  params = Twilio::Values.of({
126
126
 
127
- 'Identity' => Twilio.serialize_list(identity),
128
-
127
+ 'Identity' => Twilio.serialize_list(identity) { |e| e },
129
128
  'PageToken' => page_token,
130
129
  'Page' => page_number,
131
130
  'PageSize' => page_size,
@@ -126,9 +126,7 @@ module Twilio
126
126
  # @return [Page] Page of MessageInstance
127
127
  def page(order: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
128
128
  params = Twilio::Values.of({
129
-
130
129
  'Order' => order,
131
-
132
130
  'PageToken' => page_token,
133
131
  'Page' => page_number,
134
132
  'PageSize' => page_size,
@@ -128,8 +128,7 @@ module Twilio
128
128
  def page(type: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
129
129
  params = Twilio::Values.of({
130
130
 
131
- 'Type' => Twilio.serialize_list(type),
132
-
131
+ 'Type' => Twilio.serialize_list(type) { |e| e },
133
132
  'PageToken' => page_token,
134
133
  'Page' => page_number,
135
134
  'PageSize' => page_size,
@@ -244,7 +243,7 @@ module Twilio
244
243
 
245
244
  unless @members
246
245
  @members = MemberList.new(
247
- @version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
246
+ @version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
248
247
  end
249
248
 
250
249
  @members
@@ -263,7 +262,7 @@ module Twilio
263
262
 
264
263
  unless @messages
265
264
  @messages = MessageList.new(
266
- @version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
265
+ @version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
267
266
  end
268
267
 
269
268
  @messages
@@ -282,7 +281,7 @@ module Twilio
282
281
 
283
282
  unless @invites
284
283
  @invites = InviteList.new(
285
- @version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
284
+ @version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
286
285
  end
287
286
 
288
287
  @invites
@@ -119,7 +119,6 @@ module Twilio
119
119
  # @return [Page] Page of RoleInstance
120
120
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
121
121
  params = Twilio::Values.of({
122
-
123
122
  'PageToken' => page_token,
124
123
  'Page' => page_number,
125
124
  'PageSize' => page_size,