twilio-ruby 5.8.1 → 5.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (572) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +9 -0
  3. data/PULL_REQUEST_TEMPLATE.md +4 -0
  4. data/README.md +2 -2
  5. data/lib/rack/twilio_webhook_authentication.rb +2 -0
  6. data/lib/twilio-ruby/framework/domain.rb +2 -0
  7. data/lib/twilio-ruby/framework/error.rb +2 -0
  8. data/lib/twilio-ruby/framework/helper.rb +2 -0
  9. data/lib/twilio-ruby/framework/obsolete_client.rb +2 -0
  10. data/lib/twilio-ruby/framework/page.rb +2 -0
  11. data/lib/twilio-ruby/framework/request.rb +2 -0
  12. data/lib/twilio-ruby/framework/resource.rb +2 -0
  13. data/lib/twilio-ruby/framework/response.rb +2 -0
  14. data/lib/twilio-ruby/framework/serialize.rb +2 -0
  15. data/lib/twilio-ruby/framework/twilio_response.rb +2 -0
  16. data/lib/twilio-ruby/framework/values.rb +2 -0
  17. data/lib/twilio-ruby/framework/version.rb +2 -0
  18. data/lib/twilio-ruby/http/http_client.rb +2 -0
  19. data/lib/twilio-ruby/jwt/access_token.rb +2 -0
  20. data/lib/twilio-ruby/jwt/client_capability.rb +2 -0
  21. data/lib/twilio-ruby/jwt/jwt.rb +2 -0
  22. data/lib/twilio-ruby/jwt/task_router.rb +2 -0
  23. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +2 -0
  24. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +2 -0
  25. data/lib/twilio-ruby/rest/accounts/v1/credential.rb +2 -0
  26. data/lib/twilio-ruby/rest/accounts/v1.rb +2 -0
  27. data/lib/twilio-ruby/rest/accounts.rb +2 -0
  28. data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +6 -2
  29. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +82 -45
  30. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +65 -51
  31. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +2 -0
  32. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +174 -73
  33. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/machine_to_machine.rb +2 -0
  34. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +174 -73
  35. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/national.rb +2 -0
  36. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/shared_cost.rb +2 -0
  37. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +174 -73
  38. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/voip.rb +2 -0
  39. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +2 -0
  40. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +12 -6
  41. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +19 -9
  42. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +2 -0
  43. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +2 -0
  44. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +150 -81
  45. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +66 -50
  46. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +13 -7
  47. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +19 -11
  48. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +2 -0
  49. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +2 -0
  50. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +110 -58
  51. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +110 -58
  52. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +110 -58
  53. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +106 -79
  54. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +2 -0
  55. data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +2 -0
  56. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +6 -2
  57. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +74 -26
  58. data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +2 -0
  59. data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +2 -0
  60. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +12 -5
  61. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +18 -10
  62. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +2 -0
  63. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +2 -0
  64. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +2 -0
  65. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +2 -0
  66. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +2 -0
  67. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +7 -3
  68. data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +21 -14
  69. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +2 -0
  70. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +2 -0
  71. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +2 -0
  72. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +2 -0
  73. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +2 -0
  74. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +2 -0
  75. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +2 -0
  76. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +2 -0
  77. data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +2 -0
  78. data/lib/twilio-ruby/rest/api/v2010/account/token.rb +7 -5
  79. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +6 -2
  80. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +2 -0
  81. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +2 -0
  82. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +2 -0
  83. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +2 -0
  84. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +2 -0
  85. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +2 -0
  86. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +2 -0
  87. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +2 -0
  88. data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +2 -0
  89. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +2 -0
  90. data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +2 -0
  91. data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +29 -13
  92. data/lib/twilio-ruby/rest/api/v2010/account.rb +11 -11
  93. data/lib/twilio-ruby/rest/api/v2010.rb +2 -0
  94. data/lib/twilio-ruby/rest/api.rb +3 -1
  95. data/lib/twilio-ruby/rest/chat/v1/credential.rb +2 -0
  96. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +2 -0
  97. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +2 -0
  98. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +2 -0
  99. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +2 -0
  100. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +2 -0
  101. data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +2 -0
  102. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +2 -0
  103. data/lib/twilio-ruby/rest/chat/v1/service.rb +2 -0
  104. data/lib/twilio-ruby/rest/chat/v1.rb +2 -0
  105. data/lib/twilio-ruby/rest/chat/v2/credential.rb +2 -0
  106. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +2 -0
  107. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +2 -0
  108. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +2 -0
  109. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +2 -0
  110. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +2 -0
  111. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +2 -0
  112. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +2 -0
  113. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +2 -0
  114. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -0
  115. data/lib/twilio-ruby/rest/chat/v2/service.rb +2 -0
  116. data/lib/twilio-ruby/rest/chat/v2.rb +2 -0
  117. data/lib/twilio-ruby/rest/chat.rb +2 -0
  118. data/lib/twilio-ruby/rest/client.rb +3 -1
  119. data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +2 -0
  120. data/lib/twilio-ruby/rest/fax/v1/fax.rb +11 -6
  121. data/lib/twilio-ruby/rest/fax/v1.rb +2 -0
  122. data/lib/twilio-ruby/rest/fax.rb +2 -0
  123. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +2 -0
  124. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +2 -0
  125. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +2 -0
  126. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +2 -0
  127. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +2 -0
  128. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +2 -0
  129. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +2 -0
  130. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +2 -0
  131. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +2 -0
  132. data/lib/twilio-ruby/rest/ip_messaging/v1.rb +2 -0
  133. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +2 -0
  134. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +2 -0
  135. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +2 -0
  136. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +2 -0
  137. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +2 -0
  138. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +2 -0
  139. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +2 -0
  140. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +2 -0
  141. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +2 -0
  142. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -0
  143. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +2 -0
  144. data/lib/twilio-ruby/rest/ip_messaging/v2.rb +2 -0
  145. data/lib/twilio-ruby/rest/ip_messaging.rb +2 -0
  146. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +2 -0
  147. data/lib/twilio-ruby/rest/lookups/v1.rb +2 -0
  148. data/lib/twilio-ruby/rest/lookups.rb +2 -0
  149. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +17 -11
  150. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +15 -12
  151. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +2 -0
  152. data/lib/twilio-ruby/rest/messaging/v1/service.rb +54 -28
  153. data/lib/twilio-ruby/rest/messaging/v1.rb +2 -0
  154. data/lib/twilio-ruby/rest/messaging.rb +3 -1
  155. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +52 -23
  156. data/lib/twilio-ruby/rest/monitor/v1/event.rb +2 -0
  157. data/lib/twilio-ruby/rest/monitor/v1.rb +2 -0
  158. data/lib/twilio-ruby/rest/monitor.rb +3 -1
  159. data/lib/twilio-ruby/rest/notify/v1/credential.rb +2 -0
  160. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +2 -0
  161. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +2 -0
  162. data/lib/twilio-ruby/rest/notify/v1/service/segment.rb +2 -0
  163. data/lib/twilio-ruby/rest/notify/v1/service/user/segment_memberships.rb +2 -0
  164. data/lib/twilio-ruby/rest/notify/v1/service/user/user_binding.rb +2 -0
  165. data/lib/twilio-ruby/rest/notify/v1/service/user.rb +2 -0
  166. data/lib/twilio-ruby/rest/notify/v1/service.rb +2 -0
  167. data/lib/twilio-ruby/rest/notify/v1.rb +2 -0
  168. data/lib/twilio-ruby/rest/notify.rb +2 -0
  169. data/lib/twilio-ruby/rest/preview/acc_security/service/verification.rb +2 -0
  170. data/lib/twilio-ruby/rest/preview/acc_security/service/verification_check.rb +2 -0
  171. data/lib/twilio-ruby/rest/preview/acc_security/service.rb +2 -0
  172. data/lib/twilio-ruby/rest/preview/acc_security.rb +2 -0
  173. data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +2 -0
  174. data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +2 -0
  175. data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +2 -0
  176. data/lib/twilio-ruby/rest/preview/bulk_exports.rb +2 -0
  177. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +2 -0
  178. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +2 -0
  179. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +2 -0
  180. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +2 -0
  181. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +2 -0
  182. data/lib/twilio-ruby/rest/preview/deployed_devices.rb +2 -0
  183. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +14 -12
  184. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +26 -21
  185. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +36 -25
  186. data/lib/twilio-ruby/rest/preview/hosted_numbers.rb +2 -0
  187. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +2 -0
  188. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +2 -0
  189. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +2 -0
  190. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +9 -5
  191. data/lib/twilio-ruby/rest/preview/marketplace.rb +2 -0
  192. data/lib/twilio-ruby/rest/preview/proxy/service/phone_number.rb +2 -0
  193. data/lib/twilio-ruby/rest/preview/proxy/service/session/interaction.rb +2 -0
  194. data/lib/twilio-ruby/rest/preview/proxy/service/session/participant/message_interaction.rb +2 -0
  195. data/lib/twilio-ruby/rest/preview/proxy/service/session/participant.rb +2 -0
  196. data/lib/twilio-ruby/rest/preview/proxy/service/session.rb +2 -0
  197. data/lib/twilio-ruby/rest/preview/proxy/service/short_code.rb +2 -0
  198. data/lib/twilio-ruby/rest/preview/proxy/service.rb +2 -0
  199. data/lib/twilio-ruby/rest/preview/proxy.rb +2 -0
  200. data/lib/twilio-ruby/rest/preview/studio/flow/engagement/step.rb +2 -0
  201. data/lib/twilio-ruby/rest/preview/studio/flow/engagement.rb +2 -0
  202. data/lib/twilio-ruby/rest/preview/studio/flow.rb +2 -0
  203. data/lib/twilio-ruby/rest/preview/studio.rb +2 -0
  204. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +2 -0
  205. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +2 -0
  206. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +2 -0
  207. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +2 -0
  208. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -0
  209. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +2 -0
  210. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +2 -0
  211. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -0
  212. data/lib/twilio-ruby/rest/preview/sync/service.rb +2 -0
  213. data/lib/twilio-ruby/rest/preview/sync.rb +2 -0
  214. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +2 -0
  215. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +2 -0
  216. data/lib/twilio-ruby/rest/preview/understand/assistant/intent/field.rb +2 -0
  217. data/lib/twilio-ruby/rest/preview/understand/assistant/intent/sample.rb +2 -0
  218. data/lib/twilio-ruby/rest/preview/understand/assistant/intent.rb +2 -0
  219. data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +2 -0
  220. data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +2 -0
  221. data/lib/twilio-ruby/rest/preview/understand/assistant.rb +2 -0
  222. data/lib/twilio-ruby/rest/preview/understand.rb +2 -0
  223. data/lib/twilio-ruby/rest/preview/wireless/command.rb +2 -0
  224. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +2 -0
  225. data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +2 -0
  226. data/lib/twilio-ruby/rest/preview/wireless/sim.rb +2 -0
  227. data/lib/twilio-ruby/rest/preview/wireless.rb +2 -0
  228. data/lib/twilio-ruby/rest/preview.rb +5 -2
  229. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +2 -0
  230. data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +2 -0
  231. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +2 -0
  232. data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +2 -0
  233. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +2 -0
  234. data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +2 -0
  235. data/lib/twilio-ruby/rest/pricing/v1/voice.rb +2 -0
  236. data/lib/twilio-ruby/rest/pricing/v1.rb +2 -0
  237. data/lib/twilio-ruby/rest/pricing.rb +2 -0
  238. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +3 -1
  239. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +16 -32
  240. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +15 -15
  241. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +15 -17
  242. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +37 -42
  243. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +4 -2
  244. data/lib/twilio-ruby/rest/proxy/v1/service.rb +34 -23
  245. data/lib/twilio-ruby/rest/proxy/v1.rb +2 -0
  246. data/lib/twilio-ruby/rest/proxy.rb +2 -0
  247. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +2 -0
  248. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +2 -0
  249. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +2 -0
  250. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +2 -0
  251. data/lib/twilio-ruby/rest/studio/v1/flow.rb +2 -0
  252. data/lib/twilio-ruby/rest/studio/v1.rb +2 -0
  253. data/lib/twilio-ruby/rest/studio.rb +2 -0
  254. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +4 -1
  255. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +31 -21
  256. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +40 -22
  257. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +4 -1
  258. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +20 -15
  259. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +31 -20
  260. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +4 -1
  261. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +24 -17
  262. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +10 -4
  263. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +14 -9
  264. data/lib/twilio-ruby/rest/sync/v1/service.rb +39 -16
  265. data/lib/twilio-ruby/rest/sync/v1.rb +2 -0
  266. data/lib/twilio-ruby/rest/sync.rb +2 -0
  267. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +42 -19
  268. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +56 -33
  269. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +69 -64
  270. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +128 -55
  271. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +2 -0
  272. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +51 -25
  273. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +15 -9
  274. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +36 -10
  275. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +61 -20
  276. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +83 -35
  277. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +27 -24
  278. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +36 -20
  279. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +24 -8
  280. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +31 -15
  281. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +8 -4
  282. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +36 -14
  283. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +71 -37
  284. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +52 -26
  285. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +11 -5
  286. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +36 -10
  287. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +68 -33
  288. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +52 -26
  289. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +13 -7
  290. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +36 -10
  291. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +95 -36
  292. data/lib/twilio-ruby/rest/taskrouter/v1.rb +2 -0
  293. data/lib/twilio-ruby/rest/taskrouter.rb +3 -1
  294. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +2 -0
  295. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +2 -0
  296. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +2 -0
  297. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +2 -0
  298. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +2 -0
  299. data/lib/twilio-ruby/rest/trunking/v1.rb +2 -0
  300. data/lib/twilio-ruby/rest/trunking.rb +2 -0
  301. data/lib/twilio-ruby/rest/video/v1/composition.rb +29 -24
  302. data/lib/twilio-ruby/rest/video/v1/recording.rb +2 -0
  303. data/lib/twilio-ruby/rest/video/v1/room/recording.rb +2 -0
  304. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_published_track.rb +2 -0
  305. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribed_track.rb +2 -0
  306. data/lib/twilio-ruby/rest/video/v1/room/room_participant.rb +34 -21
  307. data/lib/twilio-ruby/rest/video/v1/room.rb +59 -40
  308. data/lib/twilio-ruby/rest/video/v1.rb +2 -0
  309. data/lib/twilio-ruby/rest/video.rb +4 -1
  310. data/lib/twilio-ruby/rest/wireless/v1/command.rb +2 -0
  311. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +2 -0
  312. data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +2 -0
  313. data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +2 -0
  314. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +2 -0
  315. data/lib/twilio-ruby/rest/wireless/v1.rb +2 -0
  316. data/lib/twilio-ruby/rest/wireless.rb +2 -0
  317. data/lib/twilio-ruby/security/request_validator.rb +2 -0
  318. data/lib/twilio-ruby/twiml/fax_response.rb +2 -0
  319. data/lib/twilio-ruby/twiml/messaging_response.rb +2 -0
  320. data/lib/twilio-ruby/twiml/twiml.rb +2 -0
  321. data/lib/twilio-ruby/twiml/voice_response.rb +2 -0
  322. data/lib/twilio-ruby/util/configuration.rb +2 -0
  323. data/lib/twilio-ruby/util.rb +2 -0
  324. data/lib/twilio-ruby/version.rb +1 -1
  325. data/lib/twilio-ruby.rb +2 -0
  326. data/spec/integration/accounts/v1/credential/aws_spec.rb +2 -0
  327. data/spec/integration/accounts/v1/credential/public_key_spec.rb +2 -0
  328. data/spec/integration/accounts/v1/credential_spec.rb +2 -0
  329. data/spec/integration/api/v2010/account/address/dependent_phone_number_spec.rb +2 -0
  330. data/spec/integration/api/v2010/account/address_spec.rb +2 -0
  331. data/spec/integration/api/v2010/account/application_spec.rb +2 -0
  332. data/spec/integration/api/v2010/account/authorized_connect_app_spec.rb +2 -0
  333. data/spec/integration/api/v2010/account/available_phone_number/local_spec.rb +2 -0
  334. data/spec/integration/api/v2010/account/available_phone_number/machine_to_machine_spec.rb +2 -0
  335. data/spec/integration/api/v2010/account/available_phone_number/mobile_spec.rb +2 -0
  336. data/spec/integration/api/v2010/account/available_phone_number/national_spec.rb +2 -0
  337. data/spec/integration/api/v2010/account/available_phone_number/shared_cost_spec.rb +2 -0
  338. data/spec/integration/api/v2010/account/available_phone_number/toll_free_spec.rb +2 -0
  339. data/spec/integration/api/v2010/account/available_phone_number/voip_spec.rb +2 -0
  340. data/spec/integration/api/v2010/account/available_phone_number_spec.rb +2 -0
  341. data/spec/integration/api/v2010/account/call/feedback_spec.rb +2 -0
  342. data/spec/integration/api/v2010/account/call/feedback_summary_spec.rb +2 -0
  343. data/spec/integration/api/v2010/account/call/notification_spec.rb +2 -0
  344. data/spec/integration/api/v2010/account/call/recording_spec.rb +2 -0
  345. data/spec/integration/api/v2010/account/call_spec.rb +2 -0
  346. data/spec/integration/api/v2010/account/conference/participant_spec.rb +2 -0
  347. data/spec/integration/api/v2010/account/conference_spec.rb +2 -0
  348. data/spec/integration/api/v2010/account/connect_app_spec.rb +2 -0
  349. data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension_spec.rb +2 -0
  350. data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +2 -0
  351. data/spec/integration/api/v2010/account/incoming_phone_number/local_spec.rb +2 -0
  352. data/spec/integration/api/v2010/account/incoming_phone_number/mobile_spec.rb +2 -0
  353. data/spec/integration/api/v2010/account/incoming_phone_number/toll_free_spec.rb +2 -0
  354. data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +2 -0
  355. data/spec/integration/api/v2010/account/key_spec.rb +2 -0
  356. data/spec/integration/api/v2010/account/message/feedback_spec.rb +2 -0
  357. data/spec/integration/api/v2010/account/message/media_spec.rb +2 -0
  358. data/spec/integration/api/v2010/account/message_spec.rb +2 -0
  359. data/spec/integration/api/v2010/account/new_key_spec.rb +2 -0
  360. data/spec/integration/api/v2010/account/new_signing_key_spec.rb +2 -0
  361. data/spec/integration/api/v2010/account/notification_spec.rb +2 -0
  362. data/spec/integration/api/v2010/account/outgoing_caller_id_spec.rb +2 -0
  363. data/spec/integration/api/v2010/account/queue/member_spec.rb +2 -0
  364. data/spec/integration/api/v2010/account/queue_spec.rb +2 -0
  365. data/spec/integration/api/v2010/account/recording/add_on_result/payload_spec.rb +2 -0
  366. data/spec/integration/api/v2010/account/recording/add_on_result_spec.rb +2 -0
  367. data/spec/integration/api/v2010/account/recording/transcription_spec.rb +2 -0
  368. data/spec/integration/api/v2010/account/recording_spec.rb +2 -0
  369. data/spec/integration/api/v2010/account/short_code_spec.rb +2 -0
  370. data/spec/integration/api/v2010/account/signing_key_spec.rb +2 -0
  371. data/spec/integration/api/v2010/account/sip/credential_list/credential_spec.rb +2 -0
  372. data/spec/integration/api/v2010/account/sip/credential_list_spec.rb +2 -0
  373. data/spec/integration/api/v2010/account/sip/domain/credential_list_mapping_spec.rb +2 -0
  374. data/spec/integration/api/v2010/account/sip/domain/ip_access_control_list_mapping_spec.rb +2 -0
  375. data/spec/integration/api/v2010/account/sip/domain_spec.rb +2 -0
  376. data/spec/integration/api/v2010/account/sip/ip_access_control_list/ip_address_spec.rb +2 -0
  377. data/spec/integration/api/v2010/account/sip/ip_access_control_list_spec.rb +2 -0
  378. data/spec/integration/api/v2010/account/sip_spec.rb +2 -0
  379. data/spec/integration/api/v2010/account/token_spec.rb +2 -0
  380. data/spec/integration/api/v2010/account/transcription_spec.rb +2 -0
  381. data/spec/integration/api/v2010/account/usage/record/all_time_spec.rb +2 -0
  382. data/spec/integration/api/v2010/account/usage/record/daily_spec.rb +2 -0
  383. data/spec/integration/api/v2010/account/usage/record/last_month_spec.rb +2 -0
  384. data/spec/integration/api/v2010/account/usage/record/monthly_spec.rb +2 -0
  385. data/spec/integration/api/v2010/account/usage/record/this_month_spec.rb +2 -0
  386. data/spec/integration/api/v2010/account/usage/record/today_spec.rb +2 -0
  387. data/spec/integration/api/v2010/account/usage/record/yearly_spec.rb +2 -0
  388. data/spec/integration/api/v2010/account/usage/record/yesterday_spec.rb +2 -0
  389. data/spec/integration/api/v2010/account/usage/record_spec.rb +2 -0
  390. data/spec/integration/api/v2010/account/usage/trigger_spec.rb +2 -0
  391. data/spec/integration/api/v2010/account/usage_spec.rb +2 -0
  392. data/spec/integration/api/v2010/account/validation_request_spec.rb +2 -0
  393. data/spec/integration/api/v2010/account_spec.rb +2 -0
  394. data/spec/integration/chat/v1/credential_spec.rb +2 -0
  395. data/spec/integration/chat/v1/service/channel/invite_spec.rb +2 -0
  396. data/spec/integration/chat/v1/service/channel/member_spec.rb +2 -0
  397. data/spec/integration/chat/v1/service/channel/message_spec.rb +2 -0
  398. data/spec/integration/chat/v1/service/channel_spec.rb +2 -0
  399. data/spec/integration/chat/v1/service/role_spec.rb +2 -0
  400. data/spec/integration/chat/v1/service/user/user_channel_spec.rb +2 -0
  401. data/spec/integration/chat/v1/service/user_spec.rb +2 -0
  402. data/spec/integration/chat/v1/service_spec.rb +2 -0
  403. data/spec/integration/chat/v2/credential_spec.rb +2 -0
  404. data/spec/integration/chat/v2/service/binding_spec.rb +2 -0
  405. data/spec/integration/chat/v2/service/channel/invite_spec.rb +2 -0
  406. data/spec/integration/chat/v2/service/channel/member_spec.rb +2 -0
  407. data/spec/integration/chat/v2/service/channel/message_spec.rb +2 -0
  408. data/spec/integration/chat/v2/service/channel_spec.rb +2 -0
  409. data/spec/integration/chat/v2/service/role_spec.rb +2 -0
  410. data/spec/integration/chat/v2/service/user/user_binding_spec.rb +2 -0
  411. data/spec/integration/chat/v2/service/user/user_channel_spec.rb +2 -0
  412. data/spec/integration/chat/v2/service/user_spec.rb +2 -0
  413. data/spec/integration/chat/v2/service_spec.rb +2 -0
  414. data/spec/integration/fax/v1/fax/fax_media_spec.rb +2 -0
  415. data/spec/integration/fax/v1/fax_spec.rb +2 -0
  416. data/spec/integration/ip_messaging/v1/credential_spec.rb +2 -0
  417. data/spec/integration/ip_messaging/v1/service/channel/invite_spec.rb +2 -0
  418. data/spec/integration/ip_messaging/v1/service/channel/member_spec.rb +2 -0
  419. data/spec/integration/ip_messaging/v1/service/channel/message_spec.rb +2 -0
  420. data/spec/integration/ip_messaging/v1/service/channel_spec.rb +2 -0
  421. data/spec/integration/ip_messaging/v1/service/role_spec.rb +2 -0
  422. data/spec/integration/ip_messaging/v1/service/user/user_channel_spec.rb +2 -0
  423. data/spec/integration/ip_messaging/v1/service/user_spec.rb +2 -0
  424. data/spec/integration/ip_messaging/v1/service_spec.rb +2 -0
  425. data/spec/integration/ip_messaging/v2/credential_spec.rb +2 -0
  426. data/spec/integration/ip_messaging/v2/service/binding_spec.rb +2 -0
  427. data/spec/integration/ip_messaging/v2/service/channel/invite_spec.rb +2 -0
  428. data/spec/integration/ip_messaging/v2/service/channel/member_spec.rb +2 -0
  429. data/spec/integration/ip_messaging/v2/service/channel/message_spec.rb +2 -0
  430. data/spec/integration/ip_messaging/v2/service/channel_spec.rb +2 -0
  431. data/spec/integration/ip_messaging/v2/service/role_spec.rb +2 -0
  432. data/spec/integration/ip_messaging/v2/service/user/user_binding_spec.rb +2 -0
  433. data/spec/integration/ip_messaging/v2/service/user/user_channel_spec.rb +2 -0
  434. data/spec/integration/ip_messaging/v2/service/user_spec.rb +2 -0
  435. data/spec/integration/ip_messaging/v2/service_spec.rb +2 -0
  436. data/spec/integration/lookups/v1/phone_number_spec.rb +2 -0
  437. data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +2 -0
  438. data/spec/integration/messaging/v1/service/phone_number_spec.rb +2 -0
  439. data/spec/integration/messaging/v1/service/short_code_spec.rb +2 -0
  440. data/spec/integration/messaging/v1/service_spec.rb +2 -0
  441. data/spec/integration/monitor/v1/alert_spec.rb +2 -0
  442. data/spec/integration/monitor/v1/event_spec.rb +2 -0
  443. data/spec/integration/notify/v1/credential_spec.rb +2 -0
  444. data/spec/integration/notify/v1/service/binding_spec.rb +2 -0
  445. data/spec/integration/notify/v1/service/notification_spec.rb +2 -0
  446. data/spec/integration/notify/v1/service/segment_spec.rb +2 -0
  447. data/spec/integration/notify/v1/service/user/segment_memberships_spec.rb +2 -0
  448. data/spec/integration/notify/v1/service/user/user_binding_spec.rb +2 -0
  449. data/spec/integration/notify/v1/service/user_spec.rb +2 -0
  450. data/spec/integration/notify/v1/service_spec.rb +2 -0
  451. data/spec/integration/preview/acc_security/service/verification_check_spec.rb +2 -0
  452. data/spec/integration/preview/acc_security/service/verification_spec.rb +2 -0
  453. data/spec/integration/preview/acc_security/service_spec.rb +2 -0
  454. data/spec/integration/preview/bulk_exports/export/day_spec.rb +2 -0
  455. data/spec/integration/preview/bulk_exports/export_configuration_spec.rb +2 -0
  456. data/spec/integration/preview/bulk_exports/export_spec.rb +2 -0
  457. data/spec/integration/preview/deployed_devices/fleet/certificate_spec.rb +2 -0
  458. data/spec/integration/preview/deployed_devices/fleet/deployment_spec.rb +2 -0
  459. data/spec/integration/preview/deployed_devices/fleet/device_spec.rb +2 -0
  460. data/spec/integration/preview/deployed_devices/fleet/key_spec.rb +2 -0
  461. data/spec/integration/preview/deployed_devices/fleet_spec.rb +2 -0
  462. data/spec/integration/preview/hosted_numbers/authorization_document/dependent_hosted_number_order_spec.rb +2 -0
  463. data/spec/integration/preview/hosted_numbers/authorization_document_spec.rb +2 -0
  464. data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +2 -0
  465. data/spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb +2 -0
  466. data/spec/integration/preview/marketplace/available_add_on_spec.rb +2 -0
  467. data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +2 -0
  468. data/spec/integration/preview/marketplace/installed_add_on_spec.rb +2 -0
  469. data/spec/integration/preview/proxy/service/phone_number_spec.rb +2 -0
  470. data/spec/integration/preview/proxy/service/session/interaction_spec.rb +2 -0
  471. data/spec/integration/preview/proxy/service/session/participant/message_interaction_spec.rb +2 -0
  472. data/spec/integration/preview/proxy/service/session/participant_spec.rb +2 -0
  473. data/spec/integration/preview/proxy/service/session_spec.rb +2 -0
  474. data/spec/integration/preview/proxy/service/short_code_spec.rb +2 -0
  475. data/spec/integration/preview/proxy/service_spec.rb +2 -0
  476. data/spec/integration/preview/studio/flow/engagement/step_spec.rb +2 -0
  477. data/spec/integration/preview/studio/flow/engagement_spec.rb +2 -0
  478. data/spec/integration/preview/studio/flow_spec.rb +2 -0
  479. data/spec/integration/preview/sync/service/document/document_permission_spec.rb +2 -0
  480. data/spec/integration/preview/sync/service/document_spec.rb +2 -0
  481. data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +2 -0
  482. data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +2 -0
  483. data/spec/integration/preview/sync/service/sync_list_spec.rb +2 -0
  484. data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +2 -0
  485. data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +2 -0
  486. data/spec/integration/preview/sync/service/sync_map_spec.rb +2 -0
  487. data/spec/integration/preview/sync/service_spec.rb +2 -0
  488. data/spec/integration/preview/understand/assistant/field_type/field_value_spec.rb +2 -0
  489. data/spec/integration/preview/understand/assistant/field_type_spec.rb +2 -0
  490. data/spec/integration/preview/understand/assistant/intent/field_spec.rb +2 -0
  491. data/spec/integration/preview/understand/assistant/intent/sample_spec.rb +2 -0
  492. data/spec/integration/preview/understand/assistant/intent_spec.rb +2 -0
  493. data/spec/integration/preview/understand/assistant/model_build_spec.rb +2 -0
  494. data/spec/integration/preview/understand/assistant/query_spec.rb +2 -0
  495. data/spec/integration/preview/understand/assistant_spec.rb +2 -0
  496. data/spec/integration/preview/wireless/command_spec.rb +2 -0
  497. data/spec/integration/preview/wireless/rate_plan_spec.rb +2 -0
  498. data/spec/integration/preview/wireless/sim/usage_spec.rb +2 -0
  499. data/spec/integration/preview/wireless/sim_spec.rb +2 -0
  500. data/spec/integration/pricing/v1/messaging/country_spec.rb +2 -0
  501. data/spec/integration/pricing/v1/messaging_spec.rb +2 -0
  502. data/spec/integration/pricing/v1/phone_number/country_spec.rb +2 -0
  503. data/spec/integration/pricing/v1/phone_number_spec.rb +2 -0
  504. data/spec/integration/pricing/v1/voice/country_spec.rb +2 -0
  505. data/spec/integration/pricing/v1/voice/number_spec.rb +2 -0
  506. data/spec/integration/pricing/v1/voice_spec.rb +2 -0
  507. data/spec/integration/proxy/v1/service/phone_number_spec.rb +2 -0
  508. data/spec/integration/proxy/v1/service/session/interaction_spec.rb +2 -0
  509. data/spec/integration/proxy/v1/service/session/participant/message_interaction_spec.rb +2 -0
  510. data/spec/integration/proxy/v1/service/session/participant_spec.rb +2 -0
  511. data/spec/integration/proxy/v1/service/session_spec.rb +2 -0
  512. data/spec/integration/proxy/v1/service/short_code_spec.rb +2 -0
  513. data/spec/integration/proxy/v1/service_spec.rb +2 -0
  514. data/spec/integration/studio/v1/flow/engagement/engagement_context_spec.rb +2 -0
  515. data/spec/integration/studio/v1/flow/engagement/step/step_context_spec.rb +2 -0
  516. data/spec/integration/studio/v1/flow/engagement/step_spec.rb +2 -0
  517. data/spec/integration/studio/v1/flow/engagement_spec.rb +2 -0
  518. data/spec/integration/studio/v1/flow_spec.rb +2 -0
  519. data/spec/integration/sync/v1/service/document/document_permission_spec.rb +2 -0
  520. data/spec/integration/sync/v1/service/document_spec.rb +2 -0
  521. data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +2 -0
  522. data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +2 -0
  523. data/spec/integration/sync/v1/service/sync_list_spec.rb +2 -0
  524. data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +2 -0
  525. data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +2 -0
  526. data/spec/integration/sync/v1/service/sync_map_spec.rb +2 -0
  527. data/spec/integration/sync/v1/service/sync_stream/stream_message_spec.rb +2 -0
  528. data/spec/integration/sync/v1/service/sync_stream_spec.rb +2 -0
  529. data/spec/integration/sync/v1/service_spec.rb +2 -0
  530. data/spec/integration/taskrouter/v1/workspace/activity_spec.rb +2 -0
  531. data/spec/integration/taskrouter/v1/workspace/event_spec.rb +2 -0
  532. data/spec/integration/taskrouter/v1/workspace/task/reservation_spec.rb +2 -0
  533. data/spec/integration/taskrouter/v1/workspace/task_channel_spec.rb +2 -0
  534. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics_spec.rb +2 -0
  535. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics_spec.rb +2 -0
  536. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_statistics_spec.rb +2 -0
  537. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queues_statistics_spec.rb +2 -0
  538. data/spec/integration/taskrouter/v1/workspace/task_queue_spec.rb +2 -0
  539. data/spec/integration/taskrouter/v1/workspace/task_spec.rb +2 -0
  540. data/spec/integration/taskrouter/v1/workspace/worker/reservation_spec.rb +2 -0
  541. data/spec/integration/taskrouter/v1/workspace/worker/worker_channel_spec.rb +2 -0
  542. data/spec/integration/taskrouter/v1/workspace/worker/worker_statistics_spec.rb +2 -0
  543. data/spec/integration/taskrouter/v1/workspace/worker/workers_cumulative_statistics_spec.rb +2 -0
  544. data/spec/integration/taskrouter/v1/workspace/worker/workers_real_time_statistics_spec.rb +2 -0
  545. data/spec/integration/taskrouter/v1/workspace/worker/workers_statistics_spec.rb +2 -0
  546. data/spec/integration/taskrouter/v1/workspace/worker_spec.rb +2 -0
  547. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics_spec.rb +2 -0
  548. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_real_time_statistics_spec.rb +2 -0
  549. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_statistics_spec.rb +2 -0
  550. data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +2 -0
  551. data/spec/integration/taskrouter/v1/workspace/workspace_cumulative_statistics_spec.rb +2 -0
  552. data/spec/integration/taskrouter/v1/workspace/workspace_real_time_statistics_spec.rb +2 -0
  553. data/spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb +2 -0
  554. data/spec/integration/taskrouter/v1/workspace_spec.rb +2 -0
  555. data/spec/integration/trunking/v1/trunk/credential_list_spec.rb +2 -0
  556. data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +2 -0
  557. data/spec/integration/trunking/v1/trunk/origination_url_spec.rb +2 -0
  558. data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +2 -0
  559. data/spec/integration/trunking/v1/trunk_spec.rb +2 -0
  560. data/spec/integration/video/v1/composition_spec.rb +118 -19
  561. data/spec/integration/video/v1/recording_spec.rb +2 -0
  562. data/spec/integration/video/v1/room/recording_spec.rb +2 -0
  563. data/spec/integration/video/v1/room/room_participant/room_participant_published_track_spec.rb +2 -0
  564. data/spec/integration/video/v1/room/room_participant/room_participant_subscribed_track_spec.rb +2 -0
  565. data/spec/integration/video/v1/room/room_participant_spec.rb +2 -0
  566. data/spec/integration/video/v1/room_spec.rb +2 -0
  567. data/spec/integration/wireless/v1/command_spec.rb +2 -0
  568. data/spec/integration/wireless/v1/rate_plan_spec.rb +2 -0
  569. data/spec/integration/wireless/v1/sim/data_session_spec.rb +2 -0
  570. data/spec/integration/wireless/v1/sim/usage_record_spec.rb +2 -0
  571. data/spec/integration/wireless/v1/sim_spec.rb +2 -0
  572. metadata +3 -2
@@ -3,6 +3,8 @@
3
3
  # \ / _ _ _| _ _
4
4
  # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
5
  # / /
6
+ #
7
+ # frozen_string_literal: true
6
8
 
7
9
  module Twilio
8
10
  module REST
@@ -15,7 +17,8 @@ module Twilio
15
17
  ##
16
18
  # Initialize the SyncStreamList
17
19
  # @param [Version] version Version that contains the resource
18
- # @param [String] service_sid The unique SID identifier of the Service Instance.
20
+ # @param [String] service_sid The unique SID identifier of the Service Instance
21
+ # that hosts this Message Stream.
19
22
  # @return [SyncStreamList] SyncStreamList
20
23
  def initialize(version, service_sid: nil)
21
24
  super(version)
@@ -30,8 +33,8 @@ module Twilio
30
33
  # Request is executed immediately.
31
34
  # @param [String] unique_name The unique and addressable name of this Stream.
32
35
  # Optional, up to 256 characters long.
33
- # @param [String] ttl Optional time-to-live of this Stream in seconds. In the
34
- # range [1, 31 536 000 (1 year)], or 0 for infinity.
36
+ # @param [String] ttl (optional) Time-to-live of this Stream in seconds, defaults
37
+ # to no expiration. In the range [1, 31 536 000 (1 year)], or 0 for infinity.
35
38
  # @return [SyncStreamInstance] Newly created SyncStreamInstance
36
39
  def create(unique_name: :unset, ttl: :unset)
37
40
  data = Twilio::Values.of({'UniqueName' => unique_name, 'Ttl' => ttl, })
@@ -171,7 +174,8 @@ module Twilio
171
174
  ##
172
175
  # Initialize the SyncStreamContext
173
176
  # @param [Version] version Version that contains the resource
174
- # @param [String] service_sid The service_sid
177
+ # @param [String] service_sid Identifier of the Service Instance. Either a SID or
178
+ # 'default'.
175
179
  # @param [String] sid Identifier of the Stream. Either a SID or a unique name.
176
180
  # @return [SyncStreamContext] SyncStreamContext
177
181
  def initialize(version, service_sid, sid)
@@ -214,8 +218,8 @@ module Twilio
214
218
 
215
219
  ##
216
220
  # Update the SyncStreamInstance
217
- # @param [String] ttl Time-to-live of this Stream in seconds. In the range [1, 31
218
- # 536 000 (1 year)], or 0 for infinity.
221
+ # @param [String] ttl New time-to-live of this Stream in seconds. In the range [1,
222
+ # 31 536 000 (1 year)], or 0 for infinity.
219
223
  # @return [SyncStreamInstance] Updated SyncStreamInstance
220
224
  def update(ttl: :unset)
221
225
  data = Twilio::Values.of({'Ttl' => ttl, })
@@ -265,7 +269,8 @@ module Twilio
265
269
  # Initialize the SyncStreamInstance
266
270
  # @param [Version] version Version that contains the resource
267
271
  # @param [Hash] payload payload that contains response from Twilio
268
- # @param [String] service_sid The unique SID identifier of the Service Instance.
272
+ # @param [String] service_sid The unique SID identifier of the Service Instance
273
+ # that hosts this Message Stream.
269
274
  # @param [String] sid Identifier of the Stream. Either a SID or a unique name.
270
275
  # @return [SyncStreamInstance] SyncStreamInstance
271
276
  def initialize(version, payload, service_sid: nil, sid: nil)
@@ -377,8 +382,8 @@ module Twilio
377
382
 
378
383
  ##
379
384
  # Update the SyncStreamInstance
380
- # @param [String] ttl Time-to-live of this Stream in seconds. In the range [1, 31
381
- # 536 000 (1 year)], or 0 for infinity.
385
+ # @param [String] ttl New time-to-live of this Stream in seconds. In the range [1,
386
+ # 31 536 000 (1 year)], or 0 for infinity.
382
387
  # @return [SyncStreamInstance] Updated SyncStreamInstance
383
388
  def update(ttl: :unset)
384
389
  context.update(ttl: ttl, )
@@ -3,6 +3,8 @@
3
3
  # \ / _ _ _| _ _
4
4
  # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
5
  # / /
6
+ #
7
+ # frozen_string_literal: true
6
8
 
7
9
  module Twilio
8
10
  module REST
@@ -26,10 +28,17 @@ module Twilio
26
28
  ##
27
29
  # Retrieve a single page of ServiceInstance records from the API.
28
30
  # Request is executed immediately.
29
- # @param [String] friendly_name The friendly_name
30
- # @param [String] webhook_url The webhook_url
31
- # @param [Boolean] reachability_webhooks_enabled The reachability_webhooks_enabled
32
- # @param [Boolean] acl_enabled The acl_enabled
31
+ # @param [String] friendly_name (optional) Human-readable name for this service
32
+ # instance
33
+ # @param [String] webhook_url (optional) A URL that will receive event updates
34
+ # when objects are manipulated.
35
+ # @param [Boolean] reachability_webhooks_enabled (optional) `true` or `false` -
36
+ # controls whether this instance fires webhooks when client endpoints connect to
37
+ # Sync Defaults to false.
38
+ # @param [Boolean] acl_enabled (optional) `true` or `false` - determines whether
39
+ # token identities must be granted access to Sync objects via the [Permissions
40
+ # API](https://www.twilio.com/docs/api/sync/rest/sync-rest-api-permissions) in
41
+ # this Service.
33
42
  # @return [ServiceInstance] Newly created ServiceInstance
34
43
  def create(friendly_name: :unset, webhook_url: :unset, reachability_webhooks_enabled: :unset, acl_enabled: :unset)
35
44
  data = Twilio::Values.of({
@@ -214,10 +223,17 @@ module Twilio
214
223
 
215
224
  ##
216
225
  # Update the ServiceInstance
217
- # @param [String] webhook_url The webhook_url
218
- # @param [String] friendly_name The friendly_name
219
- # @param [Boolean] reachability_webhooks_enabled The reachability_webhooks_enabled
220
- # @param [Boolean] acl_enabled The acl_enabled
226
+ # @param [String] webhook_url (optional) A URL that will receive event updates
227
+ # when objects are manipulated.
228
+ # @param [String] friendly_name (optional) Human-readable name for this service
229
+ # instance
230
+ # @param [Boolean] reachability_webhooks_enabled (optional) True or false -
231
+ # controls whether this instance fires webhooks when client endpoints connect to
232
+ # Sync Defaults to false.
233
+ # @param [Boolean] acl_enabled (optional) `true` or `false` - determines whether
234
+ # token identities must be granted access to Sync objects via the [Permissions
235
+ # API](https://www.twilio.com/docs/api/sync/rest/sync-rest-api-permissions) in
236
+ # this Service.
221
237
  # @return [ServiceInstance] Updated ServiceInstance
222
238
  def update(webhook_url: :unset, friendly_name: :unset, reachability_webhooks_enabled: :unset, acl_enabled: :unset)
223
239
  data = Twilio::Values.of({
@@ -378,7 +394,7 @@ module Twilio
378
394
  end
379
395
 
380
396
  ##
381
- # @return [String] The friendly_name
397
+ # @return [String] Human-readable name for this service instance
382
398
  def friendly_name
383
399
  @properties['friendly_name']
384
400
  end
@@ -402,19 +418,19 @@ module Twilio
402
418
  end
403
419
 
404
420
  ##
405
- # @return [String] The webhook_url
421
+ # @return [String] A URL that will receive event updates when objects are manipulated.
406
422
  def webhook_url
407
423
  @properties['webhook_url']
408
424
  end
409
425
 
410
426
  ##
411
- # @return [Boolean] The reachability_webhooks_enabled
427
+ # @return [Boolean] true or false - controls whether this instance fires webhooks when client endpoints connect to Sync
412
428
  def reachability_webhooks_enabled
413
429
  @properties['reachability_webhooks_enabled']
414
430
  end
415
431
 
416
432
  ##
417
- # @return [Boolean] The acl_enabled
433
+ # @return [Boolean] true or false - determines whether token identities must be granted access to Sync objects via the Permissions API in this Service.
418
434
  def acl_enabled
419
435
  @properties['acl_enabled']
420
436
  end
@@ -441,10 +457,17 @@ module Twilio
441
457
 
442
458
  ##
443
459
  # Update the ServiceInstance
444
- # @param [String] webhook_url The webhook_url
445
- # @param [String] friendly_name The friendly_name
446
- # @param [Boolean] reachability_webhooks_enabled The reachability_webhooks_enabled
447
- # @param [Boolean] acl_enabled The acl_enabled
460
+ # @param [String] webhook_url (optional) A URL that will receive event updates
461
+ # when objects are manipulated.
462
+ # @param [String] friendly_name (optional) Human-readable name for this service
463
+ # instance
464
+ # @param [Boolean] reachability_webhooks_enabled (optional) True or false -
465
+ # controls whether this instance fires webhooks when client endpoints connect to
466
+ # Sync Defaults to false.
467
+ # @param [Boolean] acl_enabled (optional) `true` or `false` - determines whether
468
+ # token identities must be granted access to Sync objects via the [Permissions
469
+ # API](https://www.twilio.com/docs/api/sync/rest/sync-rest-api-permissions) in
470
+ # this Service.
448
471
  # @return [ServiceInstance] Updated ServiceInstance
449
472
  def update(webhook_url: :unset, friendly_name: :unset, reachability_webhooks_enabled: :unset, acl_enabled: :unset)
450
473
  context.update(
@@ -3,6 +3,8 @@
3
3
  # \ / _ _ _| _ _
4
4
  # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
5
  # / /
6
+ #
7
+ # frozen_string_literal: true
6
8
 
7
9
  module Twilio
8
10
  module REST
@@ -3,6 +3,8 @@
3
3
  # \ / _ _ _| _ _
4
4
  # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
5
  # / /
6
+ #
7
+ # frozen_string_literal: true
6
8
 
7
9
  module Twilio
8
10
  module REST
@@ -3,6 +3,8 @@
3
3
  # \ / _ _ _| _ _
4
4
  # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
5
  # / /
6
+ #
7
+ # frozen_string_literal: true
6
8
 
7
9
  module Twilio
8
10
  module REST
@@ -13,7 +15,8 @@ module Twilio
13
15
  ##
14
16
  # Initialize the ActivityList
15
17
  # @param [Version] version Version that contains the resource
16
- # @param [String] workspace_sid The workspace_sid
18
+ # @param [String] workspace_sid The unique ID of the Workspace that this Activity
19
+ # belongs to.
17
20
  # @return [ActivityList] ActivityList
18
21
  def initialize(version, workspace_sid: nil)
19
22
  super(version)
@@ -27,8 +30,10 @@ module Twilio
27
30
  # Lists ActivityInstance records from the API as a list.
28
31
  # Unlike stream(), this operation is eager and will load `limit` records into
29
32
  # memory before returning.
30
- # @param [String] friendly_name The friendly_name
31
- # @param [String] available The available
33
+ # @param [String] friendly_name Filter by an Activity's friendly name
34
+ # @param [String] available Filter by activities that are available or
35
+ # unavailable. (Note: This can be 'true', '1'' or 'yes' to indicate a true value.
36
+ # All other values will represent false)
32
37
  # @param [Integer] limit Upper limit for the number of records to return. stream()
33
38
  # guarantees to never return more than limit. Default is no limit
34
39
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -49,8 +54,10 @@ module Twilio
49
54
  # Streams ActivityInstance records from the API as an Enumerable.
50
55
  # This operation lazily loads records as efficiently as possible until the limit
51
56
  # is reached.
52
- # @param [String] friendly_name The friendly_name
53
- # @param [String] available The available
57
+ # @param [String] friendly_name Filter by an Activity's friendly name
58
+ # @param [String] available Filter by activities that are available or
59
+ # unavailable. (Note: This can be 'true', '1'' or 'yes' to indicate a true value.
60
+ # All other values will represent false)
54
61
  # @param [Integer] limit Upper limit for the number of records to return. stream()
55
62
  # guarantees to never return more than limit. Default is no limit.
56
63
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -83,8 +90,10 @@ module Twilio
83
90
  ##
84
91
  # Retrieve a single page of ActivityInstance records from the API.
85
92
  # Request is executed immediately.
86
- # @param [String] friendly_name The friendly_name
87
- # @param [String] available The available
93
+ # @param [String] friendly_name Filter by an Activity's friendly name
94
+ # @param [String] available Filter by activities that are available or
95
+ # unavailable. (Note: This can be 'true', '1'' or 'yes' to indicate a true value.
96
+ # All other values will represent false)
88
97
  # @param [String] page_token PageToken provided by the API
89
98
  # @param [Integer] page_number Page Number, this value is simply for client state
90
99
  # @param [Integer] page_size Number of records to return, defaults to 50
@@ -121,8 +130,15 @@ module Twilio
121
130
  ##
122
131
  # Retrieve a single page of ActivityInstance records from the API.
123
132
  # Request is executed immediately.
124
- # @param [String] friendly_name The friendly_name
125
- # @param [Boolean] available The available
133
+ # @param [String] friendly_name A human-readable name for the Activity, such as
134
+ # 'On Call', 'Break', 'Email', etc. Must be unique in this Workspace. These names
135
+ # will be used to calculate and expose statistics about workers, and give you
136
+ # visibility into the state of each of your workers.
137
+ # @param [Boolean] available Boolean value indicating whether the worker should be
138
+ # eligible to receive a Task when they occupy this Activity. For example, a call
139
+ # center might have an activity named 'On Call' with an availability set to
140
+ # 'false'. Note: This can be 'true', '1' or 'yes' to indicate a true value. All
141
+ # other values will represent false. Defaults to false.
126
142
  # @return [ActivityInstance] Newly created ActivityInstance
127
143
  def create(friendly_name: nil, available: :unset)
128
144
  data = Twilio::Values.of({'FriendlyName' => friendly_name, 'Available' => available, })
@@ -209,7 +225,10 @@ module Twilio
209
225
 
210
226
  ##
211
227
  # Update the ActivityInstance
212
- # @param [String] friendly_name The friendly_name
228
+ # @param [String] friendly_name A human-readable name for the Activity, such as
229
+ # 'on-call', 'break', 'email', etc. These names will be used to calculate and
230
+ # expose statistics about workers, and give you visibility into the state of each
231
+ # of your workers.
213
232
  # @return [ActivityInstance] Updated ActivityInstance
214
233
  def update(friendly_name: :unset)
215
234
  data = Twilio::Values.of({'FriendlyName' => friendly_name, })
@@ -248,7 +267,8 @@ module Twilio
248
267
  # Initialize the ActivityInstance
249
268
  # @param [Version] version Version that contains the resource
250
269
  # @param [Hash] payload payload that contains response from Twilio
251
- # @param [String] workspace_sid The workspace_sid
270
+ # @param [String] workspace_sid The unique ID of the Workspace that this Activity
271
+ # belongs to.
252
272
  # @param [String] sid The sid
253
273
  # @return [ActivityInstance] ActivityInstance
254
274
  def initialize(version, payload, workspace_sid: nil, sid: nil)
@@ -283,43 +303,43 @@ module Twilio
283
303
  end
284
304
 
285
305
  ##
286
- # @return [String] The account_sid
306
+ # @return [String] The unique ID of the Account that owns this Activity.
287
307
  def account_sid
288
308
  @properties['account_sid']
289
309
  end
290
310
 
291
311
  ##
292
- # @return [Boolean] The available
312
+ # @return [Boolean] Filter by activities that are available or unavailable.
293
313
  def available
294
314
  @properties['available']
295
315
  end
296
316
 
297
317
  ##
298
- # @return [Time] The date_created
318
+ # @return [Time] The date this Activity was created.
299
319
  def date_created
300
320
  @properties['date_created']
301
321
  end
302
322
 
303
323
  ##
304
- # @return [Time] The date_updated
324
+ # @return [Time] The date this Activity was updated.
305
325
  def date_updated
306
326
  @properties['date_updated']
307
327
  end
308
328
 
309
329
  ##
310
- # @return [String] The friendly_name
330
+ # @return [String] Filter by an Activity's friendly name
311
331
  def friendly_name
312
332
  @properties['friendly_name']
313
333
  end
314
334
 
315
335
  ##
316
- # @return [String] The sid
336
+ # @return [String] The unique ID for this Activity.
317
337
  def sid
318
338
  @properties['sid']
319
339
  end
320
340
 
321
341
  ##
322
- # @return [String] The workspace_sid
342
+ # @return [String] The unique ID of the Workspace that this Activity belongs to.
323
343
  def workspace_sid
324
344
  @properties['workspace_sid']
325
345
  end
@@ -339,7 +359,10 @@ module Twilio
339
359
 
340
360
  ##
341
361
  # Update the ActivityInstance
342
- # @param [String] friendly_name The friendly_name
362
+ # @param [String] friendly_name A human-readable name for the Activity, such as
363
+ # 'on-call', 'break', 'email', etc. These names will be used to calculate and
364
+ # expose statistics about workers, and give you visibility into the state of each
365
+ # of your workers.
343
366
  # @return [ActivityInstance] Updated ActivityInstance
344
367
  def update(friendly_name: :unset)
345
368
  context.update(friendly_name: friendly_name, )
@@ -3,6 +3,8 @@
3
3
  # \ / _ _ _| _ _
4
4
  # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
5
  # / /
6
+ #
7
+ # frozen_string_literal: true
6
8
 
7
9
  module Twilio
8
10
  module REST
@@ -13,7 +15,7 @@ module Twilio
13
15
  ##
14
16
  # Initialize the EventList
15
17
  # @param [Version] version Version that contains the resource
16
- # @param [String] workspace_sid The sid
18
+ # @param [String] workspace_sid The unique ID of the Workspace
17
19
  # @return [EventList] EventList
18
20
  def initialize(version, workspace_sid: nil)
19
21
  super(version)
@@ -27,14 +29,21 @@ module Twilio
27
29
  # Lists EventInstance records from the API as a list.
28
30
  # Unlike stream(), this operation is eager and will load `limit` records into
29
31
  # memory before returning.
30
- # @param [Time] end_date The end_date
31
- # @param [String] event_type The event_type
32
- # @param [String] minutes The minutes
33
- # @param [String] reservation_sid The reservation_sid
34
- # @param [Time] start_date The start_date
35
- # @param [String] task_queue_sid The task_queue_sid
36
- # @param [String] task_sid The task_sid
37
- # @param [String] worker_sid The worker_sid
32
+ # @param [Time] end_date Filter events by an end date. This is helpful for
33
+ # defining a range of events to capture. Input is a GMT ISO 8601 Timestamp.
34
+ # @param [String] event_type Filter events by those of a certain event type
35
+ # @param [String] minutes Filter events by up to ‘x’ minutes in the past. This is
36
+ # helpful for events for the last 15 minutes, 240 minutes (4 hours), and 480
37
+ # minutes (8 hours) to see trends. Defaults to 15 minutes.
38
+ # @param [String] reservation_sid Filter events by those pertaining to a
39
+ # particular reservation
40
+ # @param [Time] start_date Filter events by a start date. This is helpful for
41
+ # defining a range of events to capture. Input is a GMT ISO 8601 Timestamp.
42
+ # @param [String] task_queue_sid Filter events by those pertaining to a particular
43
+ # queue
44
+ # @param [String] task_sid Filter events by those pertaining to a particular task
45
+ # @param [String] worker_sid Filter events by those pertaining to a particular
46
+ # worker
38
47
  # @param [String] workflow_sid The workflow_sid
39
48
  # @param [Integer] limit Upper limit for the number of records to return. stream()
40
49
  # guarantees to never return more than limit. Default is no limit
@@ -63,14 +72,21 @@ module Twilio
63
72
  # Streams EventInstance records from the API as an Enumerable.
64
73
  # This operation lazily loads records as efficiently as possible until the limit
65
74
  # is reached.
66
- # @param [Time] end_date The end_date
67
- # @param [String] event_type The event_type
68
- # @param [String] minutes The minutes
69
- # @param [String] reservation_sid The reservation_sid
70
- # @param [Time] start_date The start_date
71
- # @param [String] task_queue_sid The task_queue_sid
72
- # @param [String] task_sid The task_sid
73
- # @param [String] worker_sid The worker_sid
75
+ # @param [Time] end_date Filter events by an end date. This is helpful for
76
+ # defining a range of events to capture. Input is a GMT ISO 8601 Timestamp.
77
+ # @param [String] event_type Filter events by those of a certain event type
78
+ # @param [String] minutes Filter events by up to ‘x’ minutes in the past. This is
79
+ # helpful for events for the last 15 minutes, 240 minutes (4 hours), and 480
80
+ # minutes (8 hours) to see trends. Defaults to 15 minutes.
81
+ # @param [String] reservation_sid Filter events by those pertaining to a
82
+ # particular reservation
83
+ # @param [Time] start_date Filter events by a start date. This is helpful for
84
+ # defining a range of events to capture. Input is a GMT ISO 8601 Timestamp.
85
+ # @param [String] task_queue_sid Filter events by those pertaining to a particular
86
+ # queue
87
+ # @param [String] task_sid Filter events by those pertaining to a particular task
88
+ # @param [String] worker_sid Filter events by those pertaining to a particular
89
+ # worker
74
90
  # @param [String] workflow_sid The workflow_sid
75
91
  # @param [Integer] limit Upper limit for the number of records to return. stream()
76
92
  # guarantees to never return more than limit. Default is no limit.
@@ -115,14 +131,21 @@ module Twilio
115
131
  ##
116
132
  # Retrieve a single page of EventInstance records from the API.
117
133
  # Request is executed immediately.
118
- # @param [Time] end_date The end_date
119
- # @param [String] event_type The event_type
120
- # @param [String] minutes The minutes
121
- # @param [String] reservation_sid The reservation_sid
122
- # @param [Time] start_date The start_date
123
- # @param [String] task_queue_sid The task_queue_sid
124
- # @param [String] task_sid The task_sid
125
- # @param [String] worker_sid The worker_sid
134
+ # @param [Time] end_date Filter events by an end date. This is helpful for
135
+ # defining a range of events to capture. Input is a GMT ISO 8601 Timestamp.
136
+ # @param [String] event_type Filter events by those of a certain event type
137
+ # @param [String] minutes Filter events by up to ‘x’ minutes in the past. This is
138
+ # helpful for events for the last 15 minutes, 240 minutes (4 hours), and 480
139
+ # minutes (8 hours) to see trends. Defaults to 15 minutes.
140
+ # @param [String] reservation_sid Filter events by those pertaining to a
141
+ # particular reservation
142
+ # @param [Time] start_date Filter events by a start date. This is helpful for
143
+ # defining a range of events to capture. Input is a GMT ISO 8601 Timestamp.
144
+ # @param [String] task_queue_sid Filter events by those pertaining to a particular
145
+ # queue
146
+ # @param [String] task_sid Filter events by those pertaining to a particular task
147
+ # @param [String] worker_sid Filter events by those pertaining to a particular
148
+ # worker
126
149
  # @param [String] workflow_sid The workflow_sid
127
150
  # @param [String] page_token PageToken provided by the API
128
151
  # @param [Integer] page_number Page Number, this value is simply for client state
@@ -243,7 +266,7 @@ module Twilio
243
266
  # Initialize the EventInstance
244
267
  # @param [Version] version Version that contains the resource
245
268
  # @param [Hash] payload payload that contains response from Twilio
246
- # @param [String] workspace_sid The sid
269
+ # @param [String] workspace_sid The unique ID of the Workspace
247
270
  # @param [String] sid The sid
248
271
  # @return [EventInstance] EventInstance
249
272
  def initialize(version, payload, workspace_sid: nil, sid: nil)
@@ -285,7 +308,7 @@ module Twilio
285
308
  end
286
309
 
287
310
  ##
288
- # @return [String] The account_sid
311
+ # @return [String] The account owning this event
289
312
  def account_sid
290
313
  @properties['account_sid']
291
314
  end
@@ -309,37 +332,37 @@ module Twilio
309
332
  end
310
333
 
311
334
  ##
312
- # @return [String] The description
335
+ # @return [String] A description of the event
313
336
  def description
314
337
  @properties['description']
315
338
  end
316
339
 
317
340
  ##
318
- # @return [String] The event_data
341
+ # @return [String] Data about this specific event.
319
342
  def event_data
320
343
  @properties['event_data']
321
344
  end
322
345
 
323
346
  ##
324
- # @return [Time] The event_date
347
+ # @return [Time] The time this event was sent
325
348
  def event_date
326
349
  @properties['event_date']
327
350
  end
328
351
 
329
352
  ##
330
- # @return [String] The event_type
353
+ # @return [String] An identifier for this event
331
354
  def event_type
332
355
  @properties['event_type']
333
356
  end
334
357
 
335
358
  ##
336
- # @return [String] The resource_sid
359
+ # @return [String] The sid of the object this event is most relevant to
337
360
  def resource_sid
338
361
  @properties['resource_sid']
339
362
  end
340
363
 
341
364
  ##
342
- # @return [String] The resource_type
365
+ # @return [String] The type of object this event is most relevant to
343
366
  def resource_type
344
367
  @properties['resource_type']
345
368
  end