twilio-ruby 5.20.0 → 5.20.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (259) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +22 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +7 -0
  5. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +7 -0
  6. data/lib/twilio-ruby/rest/api/v2010/account.rb +7 -0
  7. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +7 -0
  8. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +7 -0
  9. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +7 -0
  10. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +7 -0
  11. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +7 -0
  12. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +7 -0
  13. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +7 -0
  14. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +7 -0
  15. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +7 -0
  16. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +7 -0
  17. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +7 -0
  18. data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +7 -0
  19. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +7 -0
  20. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +7 -0
  21. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +7 -0
  22. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +7 -0
  23. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +7 -0
  24. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +11 -1
  25. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +7 -0
  26. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +7 -0
  27. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +7 -0
  28. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +7 -0
  29. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +7 -0
  30. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +7 -0
  31. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +7 -0
  32. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +7 -0
  33. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +7 -0
  34. data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +7 -0
  35. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +7 -0
  36. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +7 -0
  37. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +7 -0
  38. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +7 -0
  39. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping.rb +7 -0
  40. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping.rb +7 -0
  41. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping.rb +7 -0
  42. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +7 -0
  43. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +7 -0
  44. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +7 -0
  45. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +7 -0
  46. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +7 -0
  47. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +7 -0
  48. data/lib/twilio-ruby/rest/authy/v1/form.rb +7 -0
  49. data/lib/twilio-ruby/rest/authy/v1/service.rb +7 -0
  50. data/lib/twilio-ruby/rest/authy/v1/service/entity.rb +7 -0
  51. data/lib/twilio-ruby/rest/authy/v1/service/entity/factor.rb +7 -0
  52. data/lib/twilio-ruby/rest/authy/v1/service/entity/factor/challenge.rb +7 -0
  53. data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +7 -0
  54. data/lib/twilio-ruby/rest/autopilot/v1/assistant/defaults.rb +7 -0
  55. data/lib/twilio-ruby/rest/autopilot/v1/assistant/dialogue.rb +7 -0
  56. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +7 -0
  57. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +7 -0
  58. data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +7 -0
  59. data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +7 -0
  60. data/lib/twilio-ruby/rest/autopilot/v1/assistant/style_sheet.rb +7 -0
  61. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +7 -0
  62. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +7 -0
  63. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +7 -0
  64. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_actions.rb +7 -0
  65. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_statistics.rb +7 -0
  66. data/lib/twilio-ruby/rest/chat/v1/credential.rb +7 -0
  67. data/lib/twilio-ruby/rest/chat/v1/service.rb +7 -0
  68. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +7 -0
  69. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +7 -0
  70. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +7 -0
  71. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +7 -0
  72. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +7 -0
  73. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +7 -0
  74. data/lib/twilio-ruby/rest/chat/v2/credential.rb +7 -0
  75. data/lib/twilio-ruby/rest/chat/v2/service.rb +7 -0
  76. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +7 -0
  77. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +7 -0
  78. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +7 -0
  79. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +7 -0
  80. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +7 -0
  81. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +7 -0
  82. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +7 -0
  83. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +7 -0
  84. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +7 -0
  85. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +7 -0
  86. data/lib/twilio-ruby/rest/client.rb +7 -0
  87. data/lib/twilio-ruby/rest/fax/v1/fax.rb +7 -0
  88. data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +7 -0
  89. data/lib/twilio-ruby/rest/flex_api.rb +44 -0
  90. data/lib/twilio-ruby/rest/flex_api/v1.rb +35 -0
  91. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +408 -0
  92. data/lib/twilio-ruby/rest/insights/v1/summary.rb +7 -0
  93. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +7 -0
  94. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +7 -0
  95. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +7 -0
  96. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +7 -0
  97. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +7 -0
  98. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +7 -0
  99. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +7 -0
  100. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +7 -0
  101. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +7 -0
  102. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +7 -0
  103. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +7 -0
  104. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +7 -0
  105. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +7 -0
  106. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +7 -0
  107. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +7 -0
  108. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +7 -0
  109. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +7 -0
  110. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +7 -0
  111. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +7 -0
  112. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +7 -0
  113. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +7 -0
  114. data/lib/twilio-ruby/rest/messaging/v1/service.rb +7 -0
  115. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +7 -0
  116. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +7 -0
  117. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +7 -0
  118. data/lib/twilio-ruby/rest/messaging/v1/session.rb +7 -0
  119. data/lib/twilio-ruby/rest/messaging/v1/session/message.rb +7 -0
  120. data/lib/twilio-ruby/rest/messaging/v1/session/participant.rb +7 -0
  121. data/lib/twilio-ruby/rest/messaging/v1/webhook.rb +7 -0
  122. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +7 -0
  123. data/lib/twilio-ruby/rest/monitor/v1/event.rb +7 -0
  124. data/lib/twilio-ruby/rest/notify/v1/credential.rb +7 -0
  125. data/lib/twilio-ruby/rest/notify/v1/service.rb +7 -0
  126. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +7 -0
  127. data/lib/twilio-ruby/rest/preview/acc_security/service.rb +7 -0
  128. data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +7 -0
  129. data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +7 -0
  130. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +7 -0
  131. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +7 -0
  132. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +7 -0
  133. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +7 -0
  134. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +7 -0
  135. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +7 -0
  136. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +7 -0
  137. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +7 -0
  138. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +7 -0
  139. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +7 -0
  140. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +7 -0
  141. data/lib/twilio-ruby/rest/preview/sync/service.rb +7 -0
  142. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +7 -0
  143. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +7 -0
  144. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +7 -0
  145. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +7 -0
  146. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +7 -0
  147. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +7 -0
  148. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +7 -0
  149. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +7 -0
  150. data/lib/twilio-ruby/rest/preview/understand/assistant.rb +7 -0
  151. data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_fallback_actions.rb +7 -0
  152. data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_initiation_actions.rb +7 -0
  153. data/lib/twilio-ruby/rest/preview/understand/assistant/dialogue.rb +7 -0
  154. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +7 -0
  155. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +7 -0
  156. data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +7 -0
  157. data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +7 -0
  158. data/lib/twilio-ruby/rest/preview/understand/assistant/style_sheet.rb +7 -0
  159. data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +7 -0
  160. data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +7 -0
  161. data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +7 -0
  162. data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_actions.rb +7 -0
  163. data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_statistics.rb +7 -0
  164. data/lib/twilio-ruby/rest/preview/wireless/command.rb +7 -0
  165. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +7 -0
  166. data/lib/twilio-ruby/rest/preview/wireless/sim.rb +7 -0
  167. data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +7 -0
  168. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +7 -0
  169. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +7 -0
  170. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +7 -0
  171. data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +7 -0
  172. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +7 -0
  173. data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +7 -0
  174. data/lib/twilio-ruby/rest/proxy/v1/service.rb +7 -0
  175. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +7 -0
  176. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +7 -0
  177. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +7 -0
  178. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +7 -0
  179. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +7 -0
  180. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +7 -0
  181. data/lib/twilio-ruby/rest/studio/v1/flow.rb +7 -0
  182. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +7 -0
  183. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +7 -0
  184. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +7 -0
  185. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +7 -0
  186. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +7 -0
  187. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +7 -0
  188. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +7 -0
  189. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +7 -0
  190. data/lib/twilio-ruby/rest/sync/v1/service.rb +7 -0
  191. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +7 -0
  192. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +7 -0
  193. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +7 -0
  194. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +7 -0
  195. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +7 -0
  196. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +7 -0
  197. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +7 -0
  198. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +7 -0
  199. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +7 -0
  200. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +7 -0
  201. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +7 -0
  202. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +48 -9
  203. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +7 -0
  204. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +7 -0
  205. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +7 -0
  206. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +7 -0
  207. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +7 -0
  208. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +14 -0
  209. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +7 -0
  210. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +18 -3
  211. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +7 -0
  212. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +7 -0
  213. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +7 -0
  214. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +7 -0
  215. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +7 -0
  216. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +7 -0
  217. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +7 -0
  218. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +7 -0
  219. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +14 -0
  220. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +7 -0
  221. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +7 -0
  222. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +14 -0
  223. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +7 -0
  224. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +7 -0
  225. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +7 -0
  226. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +7 -0
  227. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +7 -0
  228. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +7 -0
  229. data/lib/twilio-ruby/rest/verify/v1/service.rb +26 -3
  230. data/lib/twilio-ruby/rest/verify/v1/service/verification.rb +21 -1
  231. data/lib/twilio-ruby/rest/verify/v1/service/verification_check.rb +26 -2
  232. data/lib/twilio-ruby/rest/video/v1/composition.rb +7 -0
  233. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +7 -0
  234. data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +7 -0
  235. data/lib/twilio-ruby/rest/video/v1/recording.rb +7 -0
  236. data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +7 -0
  237. data/lib/twilio-ruby/rest/video/v1/room.rb +7 -0
  238. data/lib/twilio-ruby/rest/video/v1/room/recording.rb +7 -0
  239. data/lib/twilio-ruby/rest/video/v1/room/room_participant.rb +7 -0
  240. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_published_track.rb +7 -0
  241. data/lib/twilio-ruby/rest/voice/v1/voice_permission/country.rb +7 -0
  242. data/lib/twilio-ruby/rest/wireless/v1/command.rb +7 -0
  243. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +7 -0
  244. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +7 -0
  245. data/lib/twilio-ruby/version.rb +1 -1
  246. data/spec/integration/api/v2010/account/usage/trigger_spec.rb +3 -3
  247. data/spec/integration/flex_api/v1/configuration_spec.rb +350 -0
  248. data/spec/integration/taskrouter/v1/workspace/event_spec.rb +6 -0
  249. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics_spec.rb +1 -0
  250. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_statistics_spec.rb +1 -1
  251. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queues_statistics_spec.rb +1 -1
  252. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_real_time_statistics_spec.rb +1 -0
  253. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_statistics_spec.rb +1 -1
  254. data/spec/integration/taskrouter/v1/workspace/workspace_real_time_statistics_spec.rb +1 -0
  255. data/spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb +1 -1
  256. data/spec/integration/verify/v1/service/verification_check_spec.rb +2 -0
  257. data/spec/integration/verify/v1/service/verification_spec.rb +3 -1
  258. data/spec/integration/verify/v1/service_spec.rb +4 -0
  259. metadata +7 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d696fcc08e99ee209986f64339d7d82383d1a7c04d005d1790b4354bd1186f3f
4
- data.tar.gz: ea658e24b07d166708937e8736bb5f93d8e8dd06767a9d6811bca5de43d77aa9
3
+ metadata.gz: 38fbbb8fdafaa970b3a19edb564f5663fdce3ff3b5f2acdefd403e3a7beb148a
4
+ data.tar.gz: 6aabfd32a0b6c211c3fed5945a96d651cbbb9e7baacafd2d3b35a4d8a40203ba
5
5
  SHA512:
6
- metadata.gz: 8e42778969740cf63511ebf67aa90d80506efae04f57a72ea53664814eb8122c96c7ff59a342b746b4b3b5e389e2d8a697e7395b131dc8cf6a17eb53adfcc548
7
- data.tar.gz: ec0e3e0af4928521451f92f36341a3e2654cd7842bacb496dda8a1b6b5bfa1282003c3cad8e8b46a254d6d7dcfcb33bb8a46b91c1ad28d6559fe1e3ed6b7eb52
6
+ metadata.gz: dc346aa4a94b6582c69f6b786a88b1e6d4b89c28f42202b14a9b7b3cba9d82162c76ee780b11e1ff5e0ab8e3f99a015c057ca6d6dc128f6abb9e230e1aa29e26
7
+ data.tar.gz: '05770668bae2703122fe4848df3b1f304348528c3fff9b5977a1afef5122ba3e9203fafa337b7965baf131f6b239d1eb087aece89e2e7ad95483270b7d0c1858'
data/CHANGES.md CHANGED
@@ -1,6 +1,28 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
+ [2019-02-15] Version 5.20.1
5
+ ----------------------------
6
+ **Library**
7
+ - PR #438: Add a Ruby inspect method to Context classes. Thanks to @childish-sambino!
8
+
9
+ **Api**
10
+ - Add `force_opt_in` optional param to Messages create request
11
+ - Add agent conference category to usage records
12
+
13
+ **Flex**
14
+ - First public release
15
+
16
+ **Taskrouter**
17
+ - Adding `reject_pending_reservations` to worker update endpoint
18
+ - Added `event_date_ms` and `worker_time_in_previous_activity_ms` to Events API response
19
+ - Add ability to filter events by TaskChannel
20
+
21
+ **Verify**
22
+ - Add `EnablePsd2` optional parameter for PSD2 on Service resource creation or update.
23
+ - Add `Amount`, `Payee` optional parameters for PSD2.
24
+
25
+
4
26
  [2019-02-04] Version 5.20.0
5
27
  ----------------------------
6
28
  **Library**
data/README.md CHANGED
@@ -27,13 +27,13 @@ in-line code documentation here in the library.
27
27
  To install using [Bundler][bundler] grab the latest stable version:
28
28
 
29
29
  ```ruby
30
- gem 'twilio-ruby', '~> 5.20.0'
30
+ gem 'twilio-ruby', '~> 5.20.1'
31
31
  ```
32
32
 
33
33
  To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
34
34
 
35
35
  ```bash
36
- gem install twilio-ruby -v 5.20.0
36
+ gem install twilio-ruby -v 5.20.1
37
37
  ```
38
38
 
39
39
  To build and install the development branch yourself from the latest source:
@@ -229,6 +229,13 @@ module Twilio
229
229
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
230
230
  "#<Twilio.Accounts.V1.AwsContext #{context}>"
231
231
  end
232
+
233
+ ##
234
+ # Provide a detailed, user friendly representation
235
+ def inspect
236
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
237
+ "#<Twilio.Accounts.V1.AwsContext #{context}>"
238
+ end
232
239
  end
233
240
 
234
241
  class AwsInstance < InstanceResource
@@ -228,6 +228,13 @@ module Twilio
228
228
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
229
229
  "#<Twilio.Accounts.V1.PublicKeyContext #{context}>"
230
230
  end
231
+
232
+ ##
233
+ # Provide a detailed, user friendly representation
234
+ def inspect
235
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
236
+ "#<Twilio.Accounts.V1.PublicKeyContext #{context}>"
237
+ end
231
238
  end
232
239
 
233
240
  class PublicKeyInstance < InstanceResource
@@ -653,6 +653,13 @@ module Twilio
653
653
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
654
654
  "#<Twilio.Api.V2010.AccountContext #{context}>"
655
655
  end
656
+
657
+ ##
658
+ # Provide a detailed, user friendly representation
659
+ def inspect
660
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
661
+ "#<Twilio.Api.V2010.AccountContext #{context}>"
662
+ end
656
663
  end
657
664
 
658
665
  class AccountInstance < InstanceResource
@@ -319,6 +319,13 @@ module Twilio
319
319
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
320
320
  "#<Twilio.Api.V2010.AddressContext #{context}>"
321
321
  end
322
+
323
+ ##
324
+ # Provide a detailed, user friendly representation
325
+ def inspect
326
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
327
+ "#<Twilio.Api.V2010.AddressContext #{context}>"
328
+ end
322
329
  end
323
330
 
324
331
  class AddressInstance < InstanceResource
@@ -335,6 +335,13 @@ module Twilio
335
335
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
336
336
  "#<Twilio.Api.V2010.ApplicationContext #{context}>"
337
337
  end
338
+
339
+ ##
340
+ # Provide a detailed, user friendly representation
341
+ def inspect
342
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
343
+ "#<Twilio.Api.V2010.ApplicationContext #{context}>"
344
+ end
338
345
  end
339
346
 
340
347
  class ApplicationInstance < InstanceResource
@@ -188,6 +188,13 @@ module Twilio
188
188
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
189
189
  "#<Twilio.Api.V2010.AuthorizedConnectAppContext #{context}>"
190
190
  end
191
+
192
+ ##
193
+ # Provide a detailed, user friendly representation
194
+ def inspect
195
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
196
+ "#<Twilio.Api.V2010.AuthorizedConnectAppContext #{context}>"
197
+ end
191
198
  end
192
199
 
193
200
  class AuthorizedConnectAppInstance < InstanceResource
@@ -310,6 +310,13 @@ module Twilio
310
310
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
311
311
  "#<Twilio.Api.V2010.AvailablePhoneNumberCountryContext #{context}>"
312
312
  end
313
+
314
+ ##
315
+ # Provide a detailed, user friendly representation
316
+ def inspect
317
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
318
+ "#<Twilio.Api.V2010.AvailablePhoneNumberCountryContext #{context}>"
319
+ end
313
320
  end
314
321
 
315
322
  class AvailablePhoneNumberCountryInstance < InstanceResource
@@ -532,6 +532,13 @@ module Twilio
532
532
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
533
533
  "#<Twilio.Api.V2010.CallContext #{context}>"
534
534
  end
535
+
536
+ ##
537
+ # Provide a detailed, user friendly representation
538
+ def inspect
539
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
540
+ "#<Twilio.Api.V2010.CallContext #{context}>"
541
+ end
535
542
  end
536
543
 
537
544
  class CallInstance < InstanceResource
@@ -173,6 +173,13 @@ module Twilio
173
173
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
174
174
  "#<Twilio.Api.V2010.FeedbackContext #{context}>"
175
175
  end
176
+
177
+ ##
178
+ # Provide a detailed, user friendly representation
179
+ def inspect
180
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
181
+ "#<Twilio.Api.V2010.FeedbackContext #{context}>"
182
+ end
176
183
  end
177
184
 
178
185
  class FeedbackInstance < InstanceResource
@@ -148,6 +148,13 @@ module Twilio
148
148
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
149
149
  "#<Twilio.Api.V2010.FeedbackSummaryContext #{context}>"
150
150
  end
151
+
152
+ ##
153
+ # Provide a detailed, user friendly representation
154
+ def inspect
155
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
156
+ "#<Twilio.Api.V2010.FeedbackSummaryContext #{context}>"
157
+ end
151
158
  end
152
159
 
153
160
  class FeedbackSummaryInstance < InstanceResource
@@ -229,6 +229,13 @@ module Twilio
229
229
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
230
230
  "#<Twilio.Api.V2010.NotificationContext #{context}>"
231
231
  end
232
+
233
+ ##
234
+ # Provide a detailed, user friendly representation
235
+ def inspect
236
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
237
+ "#<Twilio.Api.V2010.NotificationContext #{context}>"
238
+ end
232
239
  end
233
240
 
234
241
  class NotificationInstance < InstanceResource
@@ -306,6 +306,13 @@ module Twilio
306
306
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
307
307
  "#<Twilio.Api.V2010.RecordingContext #{context}>"
308
308
  end
309
+
310
+ ##
311
+ # Provide a detailed, user friendly representation
312
+ def inspect
313
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
314
+ "#<Twilio.Api.V2010.RecordingContext #{context}>"
315
+ end
309
316
  end
310
317
 
311
318
  class RecordingInstance < InstanceResource
@@ -328,6 +328,13 @@ module Twilio
328
328
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
329
329
  "#<Twilio.Api.V2010.ConferenceContext #{context}>"
330
330
  end
331
+
332
+ ##
333
+ # Provide a detailed, user friendly representation
334
+ def inspect
335
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
336
+ "#<Twilio.Api.V2010.ConferenceContext #{context}>"
337
+ end
331
338
  end
332
339
 
333
340
  class ConferenceInstance < InstanceResource
@@ -406,6 +406,13 @@ module Twilio
406
406
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
407
407
  "#<Twilio.Api.V2010.ParticipantContext #{context}>"
408
408
  end
409
+
410
+ ##
411
+ # Provide a detailed, user friendly representation
412
+ def inspect
413
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
414
+ "#<Twilio.Api.V2010.ParticipantContext #{context}>"
415
+ end
409
416
  end
410
417
 
411
418
  class ParticipantInstance < InstanceResource
@@ -258,6 +258,13 @@ module Twilio
258
258
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
259
259
  "#<Twilio.Api.V2010.RecordingContext #{context}>"
260
260
  end
261
+
262
+ ##
263
+ # Provide a detailed, user friendly representation
264
+ def inspect
265
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
266
+ "#<Twilio.Api.V2010.RecordingContext #{context}>"
267
+ end
261
268
  end
262
269
 
263
270
  class RecordingInstance < InstanceResource
@@ -233,6 +233,13 @@ module Twilio
233
233
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
234
234
  "#<Twilio.Api.V2010.ConnectAppContext #{context}>"
235
235
  end
236
+
237
+ ##
238
+ # Provide a detailed, user friendly representation
239
+ def inspect
240
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
241
+ "#<Twilio.Api.V2010.ConnectAppContext #{context}>"
242
+ end
236
243
  end
237
244
 
238
245
  class ConnectAppInstance < InstanceResource
@@ -505,6 +505,13 @@ module Twilio
505
505
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
506
506
  "#<Twilio.Api.V2010.IncomingPhoneNumberContext #{context}>"
507
507
  end
508
+
509
+ ##
510
+ # Provide a detailed, user friendly representation
511
+ def inspect
512
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
513
+ "#<Twilio.Api.V2010.IncomingPhoneNumberContext #{context}>"
514
+ end
508
515
  end
509
516
 
510
517
  class IncomingPhoneNumberInstance < InstanceResource
@@ -268,6 +268,13 @@ module Twilio
268
268
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
269
269
  "#<Twilio.Api.V2010.AssignedAddOnContext #{context}>"
270
270
  end
271
+
272
+ ##
273
+ # Provide a detailed, user friendly representation
274
+ def inspect
275
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
276
+ "#<Twilio.Api.V2010.AssignedAddOnContext #{context}>"
277
+ end
271
278
  end
272
279
 
273
280
  ##
@@ -222,6 +222,13 @@ module Twilio
222
222
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
223
223
  "#<Twilio.Api.V2010.AssignedAddOnExtensionContext #{context}>"
224
224
  end
225
+
226
+ ##
227
+ # Provide a detailed, user friendly representation
228
+ def inspect
229
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
230
+ "#<Twilio.Api.V2010.AssignedAddOnExtensionContext #{context}>"
231
+ end
225
232
  end
226
233
 
227
234
  ##
@@ -204,6 +204,13 @@ module Twilio
204
204
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
205
205
  "#<Twilio.Api.V2010.KeyContext #{context}>"
206
206
  end
207
+
208
+ ##
209
+ # Provide a detailed, user friendly representation
210
+ def inspect
211
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
212
+ "#<Twilio.Api.V2010.KeyContext #{context}>"
213
+ end
207
214
  end
208
215
 
209
216
  class KeyInstance < InstanceResource
@@ -77,6 +77,8 @@ module Twilio
77
77
  # @param [String] interactive_data A JSON string that represents interactive
78
78
  # message which is a category of messages including list picker, time picker, and
79
79
  # an Apple Pay request.
80
+ # @param [Boolean] force_opt_in A boolean that forcefully whitelists a from:to
81
+ # pair when set to true.
80
82
  # @param [String] from A Twilio phone number (in
81
83
  # [E.164](https://www.twilio.com/docs/glossary/what-e164) format), [alphanumeric
82
84
  # sender
@@ -107,7 +109,7 @@ module Twilio
107
109
  # You may include up to 10 MediaUrls per message. *Sending images via SMS is
108
110
  # currently only possible in the US and Canada*
109
111
  # @return [MessageInstance] Newly created MessageInstance
110
- def create(to: nil, status_callback: :unset, application_sid: :unset, max_price: :unset, provide_feedback: :unset, validity_period: :unset, max_rate: :unset, force_delivery: :unset, provider_sid: :unset, content_retention: :unset, address_retention: :unset, smart_encoded: :unset, interactive_data: :unset, from: :unset, messaging_service_sid: :unset, body: :unset, media_url: :unset)
112
+ def create(to: nil, status_callback: :unset, application_sid: :unset, max_price: :unset, provide_feedback: :unset, validity_period: :unset, max_rate: :unset, force_delivery: :unset, provider_sid: :unset, content_retention: :unset, address_retention: :unset, smart_encoded: :unset, interactive_data: :unset, force_opt_in: :unset, from: :unset, messaging_service_sid: :unset, body: :unset, media_url: :unset)
111
113
  data = Twilio::Values.of({
112
114
  'To' => to,
113
115
  'From' => from,
@@ -126,6 +128,7 @@ module Twilio
126
128
  'AddressRetention' => address_retention,
127
129
  'SmartEncoded' => smart_encoded,
128
130
  'InteractiveData' => interactive_data,
131
+ 'ForceOptIn' => force_opt_in,
129
132
  })
130
133
 
131
134
  payload = @version.create(
@@ -391,6 +394,13 @@ module Twilio
391
394
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
392
395
  "#<Twilio.Api.V2010.MessageContext #{context}>"
393
396
  end
397
+
398
+ ##
399
+ # Provide a detailed, user friendly representation
400
+ def inspect
401
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
402
+ "#<Twilio.Api.V2010.MessageContext #{context}>"
403
+ end
394
404
  end
395
405
 
396
406
  class MessageInstance < InstanceResource
@@ -230,6 +230,13 @@ module Twilio
230
230
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
231
231
  "#<Twilio.Api.V2010.MediaContext #{context}>"
232
232
  end
233
+
234
+ ##
235
+ # Provide a detailed, user friendly representation
236
+ def inspect
237
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
238
+ "#<Twilio.Api.V2010.MediaContext #{context}>"
239
+ end
233
240
  end
234
241
 
235
242
  class MediaInstance < InstanceResource
@@ -231,6 +231,13 @@ module Twilio
231
231
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
232
232
  "#<Twilio.Api.V2010.NotificationContext #{context}>"
233
233
  end
234
+
235
+ ##
236
+ # Provide a detailed, user friendly representation
237
+ def inspect
238
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
239
+ "#<Twilio.Api.V2010.NotificationContext #{context}>"
240
+ end
234
241
  end
235
242
 
236
243
  class NotificationInstance < InstanceResource
@@ -241,6 +241,13 @@ module Twilio
241
241
  context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
242
242
  "#<Twilio.Api.V2010.OutgoingCallerIdContext #{context}>"
243
243
  end
244
+
245
+ ##
246
+ # Provide a detailed, user friendly representation
247
+ def inspect
248
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
249
+ "#<Twilio.Api.V2010.OutgoingCallerIdContext #{context}>"
250
+ end
244
251
  end
245
252
 
246
253
  class OutgoingCallerIdInstance < InstanceResource