twilio-ruby 4.13.0 → 5.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1049) hide show
  1. checksums.yaml +5 -5
  2. data/.dockerignore +1 -0
  3. data/.gitignore +6 -0
  4. data/.rubocop.yml +59 -0
  5. data/.rubocop_todo.yml +198 -0
  6. data/.travis.yml +32 -19
  7. data/AUTHORS.md +46 -32
  8. data/CHANGES.md +1723 -62
  9. data/CODE_OF_CONDUCT.md +73 -0
  10. data/CONTRIBUTING.md +161 -0
  11. data/Dockerfile +9 -0
  12. data/Gemfile +0 -8
  13. data/ISSUE_TEMPLATE.md +30 -0
  14. data/LICENSE.md +12 -12
  15. data/Makefile +25 -7
  16. data/PULL_REQUEST_TEMPLATE.md +31 -0
  17. data/README.md +110 -151
  18. data/UPGRADE.md +30 -0
  19. data/VERSIONS.md +35 -0
  20. data/examples/examples.rb +46 -57
  21. data/examples/{print-call-log.rb → print_call_log.rb} +6 -6
  22. data/githooks/pre-commit +1 -0
  23. data/lib/rack/twilio_webhook_authentication.rb +7 -6
  24. data/lib/twilio-ruby/framework/domain.rb +36 -0
  25. data/lib/twilio-ruby/framework/error.rb +51 -0
  26. data/lib/twilio-ruby/framework/helper.rb +11 -0
  27. data/lib/twilio-ruby/framework/obsolete_client.rb +12 -0
  28. data/lib/twilio-ruby/framework/page.rb +103 -0
  29. data/lib/twilio-ruby/framework/request.rb +41 -0
  30. data/lib/twilio-ruby/framework/resource.rb +23 -0
  31. data/lib/twilio-ruby/framework/response.rb +18 -0
  32. data/lib/twilio-ruby/framework/serialize.rb +81 -0
  33. data/lib/twilio-ruby/framework/twilio_response.rb +19 -0
  34. data/lib/twilio-ruby/framework/values.rb +9 -0
  35. data/lib/twilio-ruby/framework/version.rb +157 -0
  36. data/lib/twilio-ruby/http/http_client.rb +63 -0
  37. data/lib/twilio-ruby/jwt/access_token.rb +267 -0
  38. data/lib/twilio-ruby/jwt/client_capability.rb +102 -0
  39. data/lib/twilio-ruby/jwt/jwt.rb +59 -0
  40. data/lib/twilio-ruby/jwt/task_router.rb +172 -0
  41. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +339 -0
  42. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +339 -0
  43. data/lib/twilio-ruby/rest/accounts/v1/credential.rb +122 -0
  44. data/lib/twilio-ruby/rest/accounts/v1.rb +35 -0
  45. data/lib/twilio-ruby/rest/accounts.rb +38 -10
  46. data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +372 -0
  47. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +521 -0
  48. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +593 -0
  49. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +327 -0
  50. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +491 -0
  51. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/machine_to_machine.rb +491 -0
  52. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +491 -0
  53. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/national.rb +491 -0
  54. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/shared_cost.rb +491 -0
  55. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +491 -0
  56. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/voip.rb +491 -0
  57. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +464 -0
  58. data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +125 -0
  59. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +301 -0
  60. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +314 -0
  61. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +428 -0
  62. data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +369 -0
  63. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +510 -0
  64. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +912 -0
  65. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +712 -0
  66. data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +469 -0
  67. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +500 -0
  68. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +414 -0
  69. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +367 -0
  70. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +431 -0
  71. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +554 -0
  72. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +553 -0
  73. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +553 -0
  74. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +903 -0
  75. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +309 -0
  76. data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +171 -0
  77. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +361 -0
  78. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +612 -0
  79. data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +145 -0
  80. data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +145 -0
  81. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +406 -0
  82. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +365 -0
  83. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +349 -0
  84. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +397 -0
  85. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +387 -0
  86. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +398 -0
  87. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +383 -0
  88. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +493 -0
  89. data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +415 -0
  90. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +313 -0
  91. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +387 -0
  92. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +386 -0
  93. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping.rb +348 -0
  94. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping.rb +348 -0
  95. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping.rb +163 -0
  96. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping.rb +348 -0
  97. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping.rb +137 -0
  98. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb +135 -0
  99. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +356 -0
  100. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +355 -0
  101. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +657 -0
  102. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +432 -0
  103. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +387 -0
  104. data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +157 -0
  105. data/lib/twilio-ruby/rest/api/v2010/account/token.rb +161 -0
  106. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +357 -0
  107. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +351 -0
  108. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +351 -0
  109. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +351 -0
  110. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +351 -0
  111. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +351 -0
  112. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +351 -0
  113. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +351 -0
  114. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +351 -0
  115. data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +423 -0
  116. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +494 -0
  117. data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +120 -0
  118. data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +168 -0
  119. data/lib/twilio-ruby/rest/api/v2010/account.rb +953 -0
  120. data/lib/twilio-ruby/rest/api/v2010.rb +153 -0
  121. data/lib/twilio-ruby/rest/api.rb +247 -0
  122. data/lib/twilio-ruby/rest/autopilot/v1/assistant/defaults.rb +220 -0
  123. data/lib/twilio-ruby/rest/autopilot/v1/assistant/dialogue.rb +214 -0
  124. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +395 -0
  125. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +418 -0
  126. data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +392 -0
  127. data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +462 -0
  128. data/lib/twilio-ruby/rest/autopilot/v1/assistant/style_sheet.rb +218 -0
  129. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +386 -0
  130. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +449 -0
  131. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_actions.rb +255 -0
  132. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_statistics.rb +237 -0
  133. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +507 -0
  134. data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +420 -0
  135. data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +650 -0
  136. data/lib/twilio-ruby/rest/autopilot/v1/restore_assistant.rb +194 -0
  137. data/lib/twilio-ruby/rest/autopilot/v1.rb +51 -0
  138. data/lib/twilio-ruby/rest/autopilot.rb +53 -0
  139. data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +308 -0
  140. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +291 -0
  141. data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +247 -0
  142. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +248 -0
  143. data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +232 -0
  144. data/lib/twilio-ruby/rest/bulkexports/v1.rb +58 -0
  145. data/lib/twilio-ruby/rest/bulkexports.rb +54 -0
  146. data/lib/twilio-ruby/rest/chat/v1/credential.rb +413 -0
  147. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +402 -0
  148. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +451 -0
  149. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +448 -0
  150. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +522 -0
  151. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +374 -0
  152. data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +246 -0
  153. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +447 -0
  154. data/lib/twilio-ruby/rest/chat/v1/service.rb +904 -0
  155. data/lib/twilio-ruby/rest/chat/v1.rb +60 -0
  156. data/lib/twilio-ruby/rest/chat/v2/credential.rb +411 -0
  157. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +377 -0
  158. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +397 -0
  159. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +538 -0
  160. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +544 -0
  161. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +475 -0
  162. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +612 -0
  163. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +376 -0
  164. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +392 -0
  165. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +424 -0
  166. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +498 -0
  167. data/lib/twilio-ruby/rest/chat/v2/service.rb +788 -0
  168. data/lib/twilio-ruby/rest/chat/v2.rb +58 -0
  169. data/lib/twilio-ruby/rest/chat.rb +63 -0
  170. data/lib/twilio-ruby/rest/client.rb +519 -152
  171. data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +348 -0
  172. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +500 -0
  173. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +474 -0
  174. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +415 -0
  175. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +544 -0
  176. data/lib/twilio-ruby/rest/conversations/v1/webhook.rb +262 -0
  177. data/lib/twilio-ruby/rest/conversations/v1.rb +51 -0
  178. data/lib/twilio-ruby/rest/conversations.rb +53 -0
  179. data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +115 -0
  180. data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +118 -0
  181. data/lib/twilio-ruby/rest/events/v1/sink.rb +379 -0
  182. data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +322 -0
  183. data/lib/twilio-ruby/rest/events/v1/subscription.rb +358 -0
  184. data/lib/twilio-ruby/rest/events/v1.rb +58 -0
  185. data/lib/twilio-ruby/rest/events.rb +54 -0
  186. data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +314 -0
  187. data/lib/twilio-ruby/rest/fax/v1/fax.rb +535 -0
  188. data/lib/twilio-ruby/rest/fax/v1.rb +44 -0
  189. data/lib/twilio-ruby/rest/fax.rb +47 -0
  190. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +340 -0
  191. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +448 -0
  192. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +547 -0
  193. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +341 -0
  194. data/lib/twilio-ruby/rest/flex_api/v1.rb +80 -0
  195. data/lib/twilio-ruby/rest/flex_api.rb +71 -0
  196. data/lib/twilio-ruby/rest/insights/v1/call/event.rb +262 -0
  197. data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +252 -0
  198. data/lib/twilio-ruby/rest/insights/v1/call/summary.rb +301 -0
  199. data/lib/twilio-ruby/rest/insights/v1/call.rb +236 -0
  200. data/lib/twilio-ruby/rest/insights/v1.rb +43 -0
  201. data/lib/twilio-ruby/rest/insights.rb +46 -0
  202. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +413 -0
  203. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +402 -0
  204. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +451 -0
  205. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +448 -0
  206. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +522 -0
  207. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +374 -0
  208. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +246 -0
  209. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +447 -0
  210. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +904 -0
  211. data/lib/twilio-ruby/rest/ip_messaging/v1.rb +60 -0
  212. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +411 -0
  213. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +377 -0
  214. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +397 -0
  215. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +538 -0
  216. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +544 -0
  217. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +475 -0
  218. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +612 -0
  219. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +376 -0
  220. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +392 -0
  221. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +424 -0
  222. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +498 -0
  223. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +788 -0
  224. data/lib/twilio-ruby/rest/ip_messaging/v2.rb +58 -0
  225. data/lib/twilio-ruby/rest/ip_messaging.rb +63 -0
  226. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +247 -0
  227. data/lib/twilio-ruby/rest/lookups/v1.rb +45 -0
  228. data/lib/twilio-ruby/rest/lookups.rb +48 -0
  229. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +342 -0
  230. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +348 -0
  231. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +343 -0
  232. data/lib/twilio-ruby/rest/messaging/v1/service.rb +652 -0
  233. data/lib/twilio-ruby/rest/messaging/v1.rb +43 -0
  234. data/lib/twilio-ruby/rest/messaging.rb +47 -0
  235. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +405 -0
  236. data/lib/twilio-ruby/rest/monitor/v1/event.rb +400 -0
  237. data/lib/twilio-ruby/rest/monitor/v1.rb +58 -0
  238. data/lib/twilio-ruby/rest/monitor.rb +56 -0
  239. data/lib/twilio-ruby/rest/notify/v1/credential.rb +412 -0
  240. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +458 -0
  241. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +361 -0
  242. data/lib/twilio-ruby/rest/notify/v1/service.rb +632 -0
  243. data/lib/twilio-ruby/rest/notify/v1.rb +60 -0
  244. data/lib/twilio-ruby/rest/notify.rb +56 -0
  245. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +309 -0
  246. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +320 -0
  247. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +512 -0
  248. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +344 -0
  249. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +273 -0
  250. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +314 -0
  251. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +357 -0
  252. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +273 -0
  253. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +189 -0
  254. data/lib/twilio-ruby/rest/numbers/v2.rb +35 -0
  255. data/lib/twilio-ruby/rest/numbers.rb +44 -0
  256. data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +308 -0
  257. data/lib/twilio-ruby/rest/preview/bulk_exports/export/export_custom_job.rb +291 -0
  258. data/lib/twilio-ruby/rest/preview/bulk_exports/export/job.rb +247 -0
  259. data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +248 -0
  260. data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +232 -0
  261. data/lib/twilio-ruby/rest/preview/bulk_exports.rb +58 -0
  262. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +382 -0
  263. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +365 -0
  264. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +425 -0
  265. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +376 -0
  266. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +469 -0
  267. data/lib/twilio-ruby/rest/preview/deployed_devices.rb +44 -0
  268. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +400 -0
  269. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +451 -0
  270. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +635 -0
  271. data/lib/twilio-ruby/rest/preview/hosted_numbers.rb +60 -0
  272. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +305 -0
  273. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +319 -0
  274. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +337 -0
  275. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +408 -0
  276. data/lib/twilio-ruby/rest/preview/marketplace.rb +58 -0
  277. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +385 -0
  278. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +410 -0
  279. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +418 -0
  280. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +385 -0
  281. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +405 -0
  282. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +415 -0
  283. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +385 -0
  284. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +405 -0
  285. data/lib/twilio-ruby/rest/preview/sync/service.rb +462 -0
  286. data/lib/twilio-ruby/rest/preview/sync.rb +43 -0
  287. data/lib/twilio-ruby/rest/preview/trusted_comms/branded_call.rb +243 -0
  288. data/lib/twilio-ruby/rest/preview/trusted_comms/brands_information.rb +195 -0
  289. data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel/channel.rb +189 -0
  290. data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel.rb +260 -0
  291. data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand.rb +233 -0
  292. data/lib/twilio-ruby/rest/preview/trusted_comms/business/insights/impressions_rate.rb +260 -0
  293. data/lib/twilio-ruby/rest/preview/trusted_comms/business/insights.rb +111 -0
  294. data/lib/twilio-ruby/rest/preview/trusted_comms/business.rb +239 -0
  295. data/lib/twilio-ruby/rest/preview/trusted_comms/cps.rb +186 -0
  296. data/lib/twilio-ruby/rest/preview/trusted_comms/current_call.rb +277 -0
  297. data/lib/twilio-ruby/rest/preview/trusted_comms/phone_call.rb +342 -0
  298. data/lib/twilio-ruby/rest/preview/trusted_comms.rb +79 -0
  299. data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_fallback_actions.rb +212 -0
  300. data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_initiation_actions.rb +212 -0
  301. data/lib/twilio-ruby/rest/preview/understand/assistant/dialogue.rb +206 -0
  302. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +386 -0
  303. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +407 -0
  304. data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +380 -0
  305. data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +437 -0
  306. data/lib/twilio-ruby/rest/preview/understand/assistant/style_sheet.rb +212 -0
  307. data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +373 -0
  308. data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +428 -0
  309. data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_actions.rb +241 -0
  310. data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_statistics.rb +225 -0
  311. data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +495 -0
  312. data/lib/twilio-ruby/rest/preview/understand/assistant.rb +629 -0
  313. data/lib/twilio-ruby/rest/preview/understand.rb +44 -0
  314. data/lib/twilio-ruby/rest/preview/wireless/command.rb +374 -0
  315. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +408 -0
  316. data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +233 -0
  317. data/lib/twilio-ruby/rest/preview/wireless/sim.rb +533 -0
  318. data/lib/twilio-ruby/rest/preview/wireless.rb +73 -0
  319. data/lib/twilio-ruby/rest/preview.rb +229 -0
  320. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +282 -0
  321. data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +127 -0
  322. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +275 -0
  323. data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +127 -0
  324. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +282 -0
  325. data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +204 -0
  326. data/lib/twilio-ruby/rest/pricing/v1/voice.rb +143 -0
  327. data/lib/twilio-ruby/rest/pricing/v1.rb +49 -0
  328. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +282 -0
  329. data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +227 -0
  330. data/lib/twilio-ruby/rest/pricing/v2/voice.rb +146 -0
  331. data/lib/twilio-ruby/rest/pricing/v2.rb +35 -0
  332. data/lib/twilio-ruby/rest/pricing.rb +59 -2
  333. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +408 -0
  334. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +429 -0
  335. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +458 -0
  336. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +467 -0
  337. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +551 -0
  338. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +377 -0
  339. data/lib/twilio-ruby/rest/proxy/v1/service.rb +606 -0
  340. data/lib/twilio-ruby/rest/proxy/v1.rb +44 -0
  341. data/lib/twilio-ruby/rest/proxy.rb +47 -0
  342. data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +334 -0
  343. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +387 -0
  344. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +356 -0
  345. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +349 -0
  346. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +394 -0
  347. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +407 -0
  348. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +456 -0
  349. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +241 -0
  350. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +364 -0
  351. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +387 -0
  352. data/lib/twilio-ruby/rest/serverless/v1/service.rb +496 -0
  353. data/lib/twilio-ruby/rest/serverless/v1.rb +43 -0
  354. data/lib/twilio-ruby/rest/serverless.rb +47 -0
  355. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +210 -0
  356. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +225 -0
  357. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +366 -0
  358. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +401 -0
  359. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +211 -0
  360. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +228 -0
  361. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +372 -0
  362. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +456 -0
  363. data/lib/twilio-ruby/rest/studio/v1/flow.rb +365 -0
  364. data/lib/twilio-ruby/rest/studio/v1.rb +43 -0
  365. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +219 -0
  366. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +236 -0
  367. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +380 -0
  368. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +457 -0
  369. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +335 -0
  370. data/lib/twilio-ruby/rest/studio/v2/flow/test_user.rb +205 -0
  371. data/lib/twilio-ruby/rest/studio/v2/flow.rb +490 -0
  372. data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +122 -0
  373. data/lib/twilio-ruby/rest/studio/v2.rb +50 -0
  374. data/lib/twilio-ruby/rest/studio.rb +60 -0
  375. data/lib/twilio-ruby/rest/supersim/v1/command.rb +368 -0
  376. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +421 -0
  377. data/lib/twilio-ruby/rest/supersim/v1/network.rb +307 -0
  378. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +339 -0
  379. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +361 -0
  380. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +388 -0
  381. data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +338 -0
  382. data/lib/twilio-ruby/rest/supersim/v1.rb +110 -0
  383. data/lib/twilio-ruby/rest/supersim.rb +88 -0
  384. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +390 -0
  385. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +447 -0
  386. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +508 -0
  387. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +389 -0
  388. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +464 -0
  389. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +515 -0
  390. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +387 -0
  391. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +463 -0
  392. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +145 -0
  393. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +421 -0
  394. data/lib/twilio-ruby/rest/sync/v1/service.rb +585 -0
  395. data/lib/twilio-ruby/rest/sync/v1.rb +43 -0
  396. data/lib/twilio-ruby/rest/sync.rb +47 -0
  397. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +394 -0
  398. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +471 -0
  399. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +739 -0
  400. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +641 -0
  401. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +389 -0
  402. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +377 -0
  403. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +287 -0
  404. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +265 -0
  405. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +285 -0
  406. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +573 -0
  407. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +735 -0
  408. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +399 -0
  409. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +250 -0
  410. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +277 -0
  411. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +204 -0
  412. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +245 -0
  413. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +629 -0
  414. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +385 -0
  415. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +252 -0
  416. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +273 -0
  417. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +517 -0
  418. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +361 -0
  419. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +234 -0
  420. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +241 -0
  421. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +725 -0
  422. data/lib/twilio-ruby/rest/taskrouter/v1.rb +43 -0
  423. data/lib/twilio-ruby/rest/taskrouter.rb +47 -0
  424. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +327 -0
  425. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +323 -0
  426. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +426 -0
  427. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +457 -0
  428. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +609 -0
  429. data/lib/twilio-ruby/rest/trunking/v1.rb +44 -0
  430. data/lib/twilio-ruby/rest/trunking.rb +47 -0
  431. data/lib/twilio-ruby/rest/verify/v2/form.rb +191 -0
  432. data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +124 -0
  433. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +485 -0
  434. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +466 -0
  435. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +413 -0
  436. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +370 -0
  437. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +399 -0
  438. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +391 -0
  439. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +354 -0
  440. data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +205 -0
  441. data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +408 -0
  442. data/lib/twilio-ruby/rest/verify/v2/service.rb +682 -0
  443. data/lib/twilio-ruby/rest/verify/v2.rb +60 -0
  444. data/lib/twilio-ruby/rest/verify.rb +56 -0
  445. data/lib/twilio-ruby/rest/video/v1/composition.rb +499 -0
  446. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +656 -0
  447. data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +269 -0
  448. data/lib/twilio-ruby/rest/video/v1/recording.rb +415 -0
  449. data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +269 -0
  450. data/lib/twilio-ruby/rest/video/v1/room/recording.rb +406 -0
  451. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_published_track.rb +335 -0
  452. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribe_rule.rb +175 -0
  453. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribed_track.rb +340 -0
  454. data/lib/twilio-ruby/rest/video/v1/room/room_participant.rb +483 -0
  455. data/lib/twilio-ruby/rest/video/v1/room.rb +527 -0
  456. data/lib/twilio-ruby/rest/video/v1.rb +102 -0
  457. data/lib/twilio-ruby/rest/video.rb +86 -0
  458. data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +496 -0
  459. data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +441 -0
  460. data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +362 -0
  461. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +128 -0
  462. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +190 -0
  463. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +404 -0
  464. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +197 -0
  465. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb +132 -0
  466. data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +349 -0
  467. data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +329 -0
  468. data/lib/twilio-ruby/rest/voice/v1.rb +99 -0
  469. data/lib/twilio-ruby/rest/voice.rb +80 -0
  470. data/lib/twilio-ruby/rest/wireless/v1/command.rb +416 -0
  471. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +445 -0
  472. data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +291 -0
  473. data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +250 -0
  474. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +667 -0
  475. data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +229 -0
  476. data/lib/twilio-ruby/rest/wireless/v1.rb +80 -0
  477. data/lib/twilio-ruby/rest/wireless.rb +71 -0
  478. data/lib/twilio-ruby/security/request_validator.rb +150 -0
  479. data/lib/twilio-ruby/twiml/fax_response.rb +45 -0
  480. data/lib/twilio-ruby/twiml/messaging_response.rb +107 -0
  481. data/lib/twilio-ruby/twiml/twiml.rb +126 -0
  482. data/lib/twilio-ruby/twiml/voice_response.rb +1174 -0
  483. data/lib/twilio-ruby/util/configuration.rb +23 -1
  484. data/lib/twilio-ruby/util.rb +5 -1
  485. data/lib/twilio-ruby/version.rb +1 -1
  486. data/lib/twilio-ruby.rb +28 -104
  487. data/spec/framework/request_spec.rb +36 -0
  488. data/spec/framework/serialize_spec.rb +80 -0
  489. data/spec/framework/version_spec.rb +166 -0
  490. data/spec/holodeck/holodeck.rb +66 -0
  491. data/spec/holodeck/hologram.rb +4 -0
  492. data/spec/http/http_client_spec.rb +122 -0
  493. data/spec/integration/accounts/v1/credential/aws_spec.rb +222 -0
  494. data/spec/integration/accounts/v1/credential/public_key_spec.rb +222 -0
  495. data/spec/integration/accounts/v1/credential_spec.rb +12 -0
  496. data/spec/integration/api/v2010/account/address/dependent_phone_number_spec.rb +106 -0
  497. data/spec/integration/api/v2010/account/address_spec.rb +269 -0
  498. data/spec/integration/api/v2010/account/application_spec.rb +274 -0
  499. data/spec/integration/api/v2010/account/authorized_connect_app_spec.rb +137 -0
  500. data/spec/integration/api/v2010/account/available_phone_number/local_spec.rb +102 -0
  501. data/spec/integration/api/v2010/account/available_phone_number/machine_to_machine_spec.rb +102 -0
  502. data/spec/integration/api/v2010/account/available_phone_number/mobile_spec.rb +101 -0
  503. data/spec/integration/api/v2010/account/available_phone_number/national_spec.rb +102 -0
  504. data/spec/integration/api/v2010/account/available_phone_number/shared_cost_spec.rb +102 -0
  505. data/spec/integration/api/v2010/account/available_phone_number/toll_free_spec.rb +101 -0
  506. data/spec/integration/api/v2010/account/available_phone_number/voip_spec.rb +102 -0
  507. data/spec/integration/api/v2010/account/available_phone_number_spec.rb +128 -0
  508. data/spec/integration/api/v2010/account/balance_spec.rb +44 -0
  509. data/spec/integration/api/v2010/account/call/feedback_spec.rb +138 -0
  510. data/spec/integration/api/v2010/account/call/feedback_summary_spec.rb +149 -0
  511. data/spec/integration/api/v2010/account/call/notification_spec.rb +143 -0
  512. data/spec/integration/api/v2010/account/call/payment_spec.rb +135 -0
  513. data/spec/integration/api/v2010/account/call/recording_spec.rb +283 -0
  514. data/spec/integration/api/v2010/account/call_spec.rb +650 -0
  515. data/spec/integration/api/v2010/account/conference/participant_spec.rb +708 -0
  516. data/spec/integration/api/v2010/account/conference/recording_spec.rb +234 -0
  517. data/spec/integration/api/v2010/account/conference_spec.rb +458 -0
  518. data/spec/integration/api/v2010/account/connect_app_spec.rb +197 -0
  519. data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension_spec.rb +135 -0
  520. data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +220 -0
  521. data/spec/integration/api/v2010/account/incoming_phone_number/local_spec.rb +189 -0
  522. data/spec/integration/api/v2010/account/incoming_phone_number/mobile_spec.rb +189 -0
  523. data/spec/integration/api/v2010/account/incoming_phone_number/toll_free_spec.rb +189 -0
  524. data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +370 -0
  525. data/spec/integration/api/v2010/account/key_spec.rb +176 -0
  526. data/spec/integration/api/v2010/account/message/feedback_spec.rb +49 -0
  527. data/spec/integration/api/v2010/account/message/media_spec.rb +161 -0
  528. data/spec/integration/api/v2010/account/message_spec.rb +507 -0
  529. data/spec/integration/api/v2010/account/new_key_spec.rb +46 -0
  530. data/spec/integration/api/v2010/account/new_signing_key_spec.rb +46 -0
  531. data/spec/integration/api/v2010/account/notification_spec.rb +138 -0
  532. data/spec/integration/api/v2010/account/outgoing_caller_id_spec.rb +185 -0
  533. data/spec/integration/api/v2010/account/queue/member_spec.rb +208 -0
  534. data/spec/integration/api/v2010/account/queue_spec.rb +244 -0
  535. data/spec/integration/api/v2010/account/recording/add_on_result/payload_spec.rb +174 -0
  536. data/spec/integration/api/v2010/account/recording/add_on_result_spec.rb +165 -0
  537. data/spec/integration/api/v2010/account/recording/transcription_spec.rb +173 -0
  538. data/spec/integration/api/v2010/account/recording_spec.rb +184 -0
  539. data/spec/integration/api/v2010/account/short_code_spec.rb +179 -0
  540. data/spec/integration/api/v2010/account/signing_key_spec.rb +176 -0
  541. data/spec/integration/api/v2010/account/sip/credential_list/credential_spec.rb +252 -0
  542. data/spec/integration/api/v2010/account/sip/credential_list_spec.rb +241 -0
  543. data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping_spec.rb +217 -0
  544. data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping_spec.rb +217 -0
  545. data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping_spec.rb +12 -0
  546. data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping_spec.rb +217 -0
  547. data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping_spec.rb +12 -0
  548. data/spec/integration/api/v2010/account/sip/domain/auth_types_spec.rb +12 -0
  549. data/spec/integration/api/v2010/account/sip/domain/credential_list_mapping_spec.rb +207 -0
  550. data/spec/integration/api/v2010/account/sip/domain/ip_access_control_list_mapping_spec.rb +217 -0
  551. data/spec/integration/api/v2010/account/sip/domain_spec.rb +303 -0
  552. data/spec/integration/api/v2010/account/sip/ip_access_control_list/ip_address_spec.rb +254 -0
  553. data/spec/integration/api/v2010/account/sip/ip_access_control_list_spec.rb +251 -0
  554. data/spec/integration/api/v2010/account/sip_spec.rb +12 -0
  555. data/spec/integration/api/v2010/account/token_spec.rb +71 -0
  556. data/spec/integration/api/v2010/account/transcription_spec.rb +166 -0
  557. data/spec/integration/api/v2010/account/usage/record/all_time_spec.rb +113 -0
  558. data/spec/integration/api/v2010/account/usage/record/daily_spec.rb +113 -0
  559. data/spec/integration/api/v2010/account/usage/record/last_month_spec.rb +113 -0
  560. data/spec/integration/api/v2010/account/usage/record/monthly_spec.rb +113 -0
  561. data/spec/integration/api/v2010/account/usage/record/this_month_spec.rb +113 -0
  562. data/spec/integration/api/v2010/account/usage/record/today_spec.rb +113 -0
  563. data/spec/integration/api/v2010/account/usage/record/yearly_spec.rb +113 -0
  564. data/spec/integration/api/v2010/account/usage/record/yesterday_spec.rb +113 -0
  565. data/spec/integration/api/v2010/account/usage/record_spec.rb +110 -0
  566. data/spec/integration/api/v2010/account/usage/trigger_spec.rb +281 -0
  567. data/spec/integration/api/v2010/account/usage_spec.rb +12 -0
  568. data/spec/integration/api/v2010/account/validation_request_spec.rb +48 -0
  569. data/spec/integration/api/v2010/account_spec.rb +327 -0
  570. data/spec/integration/autopilot/v1/assistant/defaults_spec.rb +79 -0
  571. data/spec/integration/autopilot/v1/assistant/dialogue_spec.rb +46 -0
  572. data/spec/integration/autopilot/v1/assistant/field_type/field_value_spec.rb +207 -0
  573. data/spec/integration/autopilot/v1/assistant/field_type_spec.rb +242 -0
  574. data/spec/integration/autopilot/v1/assistant/model_build_spec.rb +236 -0
  575. data/spec/integration/autopilot/v1/assistant/query_spec.rb +290 -0
  576. data/spec/integration/autopilot/v1/assistant/style_sheet_spec.rb +79 -0
  577. data/spec/integration/autopilot/v1/assistant/task/field_spec.rb +204 -0
  578. data/spec/integration/autopilot/v1/assistant/task/sample_spec.rb +249 -0
  579. data/spec/integration/autopilot/v1/assistant/task/task_actions_spec.rb +85 -0
  580. data/spec/integration/autopilot/v1/assistant/task/task_statistics_spec.rb +49 -0
  581. data/spec/integration/autopilot/v1/assistant/task_spec.rb +258 -0
  582. data/spec/integration/autopilot/v1/assistant/webhook_spec.rb +242 -0
  583. data/spec/integration/autopilot/v1/assistant_spec.rb +277 -0
  584. data/spec/integration/autopilot/v1/restore_assistant_spec.rb +53 -0
  585. data/spec/integration/bulkexports/v1/export/day_spec.rb +115 -0
  586. data/spec/integration/bulkexports/v1/export/export_custom_job_spec.rb +127 -0
  587. data/spec/integration/bulkexports/v1/export/job_spec.rb +78 -0
  588. data/spec/integration/bulkexports/v1/export_configuration_spec.rb +77 -0
  589. data/spec/integration/bulkexports/v1/export_spec.rb +44 -0
  590. data/spec/integration/chat/v1/credential_spec.rb +219 -0
  591. data/spec/integration/chat/v1/service/channel/invite_spec.rb +207 -0
  592. data/spec/integration/chat/v1/service/channel/member_spec.rb +280 -0
  593. data/spec/integration/chat/v1/service/channel/message_spec.rb +290 -0
  594. data/spec/integration/chat/v1/service/channel_spec.rb +272 -0
  595. data/spec/integration/chat/v1/service/role_spec.rb +260 -0
  596. data/spec/integration/chat/v1/service/user/user_channel_spec.rb +93 -0
  597. data/spec/integration/chat/v1/service/user_spec.rb +262 -0
  598. data/spec/integration/chat/v1/service_spec.rb +295 -0
  599. data/spec/integration/chat/v2/credential_spec.rb +219 -0
  600. data/spec/integration/chat/v2/service/binding_spec.rb +174 -0
  601. data/spec/integration/chat/v2/service/channel/invite_spec.rb +207 -0
  602. data/spec/integration/chat/v2/service/channel/member_spec.rb +263 -0
  603. data/spec/integration/chat/v2/service/channel/message_spec.rb +406 -0
  604. data/spec/integration/chat/v2/service/channel/webhook_spec.rb +303 -0
  605. data/spec/integration/chat/v2/service/channel_spec.rb +282 -0
  606. data/spec/integration/chat/v2/service/role_spec.rb +260 -0
  607. data/spec/integration/chat/v2/service/user/user_binding_spec.rb +177 -0
  608. data/spec/integration/chat/v2/service/user/user_channel_spec.rb +247 -0
  609. data/spec/integration/chat/v2/service/user_spec.rb +270 -0
  610. data/spec/integration/chat/v2/service_spec.rb +350 -0
  611. data/spec/integration/conversations/v1/conversation/message/delivery_receipt_spec.rb +132 -0
  612. data/spec/integration/conversations/v1/conversation/message_spec.rb +409 -0
  613. data/spec/integration/conversations/v1/conversation/participant_spec.rb +382 -0
  614. data/spec/integration/conversations/v1/conversation/webhook_spec.rb +282 -0
  615. data/spec/integration/conversations/v1/conversation_spec.rb +273 -0
  616. data/spec/integration/conversations/v1/webhook_spec.rb +86 -0
  617. data/spec/integration/events/v1/sink/sink_test_spec.rb +42 -0
  618. data/spec/integration/events/v1/sink/sink_validate_spec.rb +44 -0
  619. data/spec/integration/events/v1/sink_spec.rb +217 -0
  620. data/spec/integration/events/v1/subscription/subscribed_event_spec.rb +212 -0
  621. data/spec/integration/events/v1/subscription_spec.rb +205 -0
  622. data/spec/integration/fax/v1/fax/fax_media_spec.rb +125 -0
  623. data/spec/integration/fax/v1/fax_spec.rb +267 -0
  624. data/spec/integration/flex_api/v1/channel_spec.rb +188 -0
  625. data/spec/integration/flex_api/v1/configuration_spec.rb +554 -0
  626. data/spec/integration/flex_api/v1/flex_flow_spec.rb +259 -0
  627. data/spec/integration/flex_api/v1/web_channel_spec.rb +216 -0
  628. data/spec/integration/insights/v1/call/event_spec.rb +166 -0
  629. data/spec/integration/insights/v1/call/metric_spec.rb +154 -0
  630. data/spec/integration/insights/v1/call/summary_spec.rb +62 -0
  631. data/spec/integration/insights/v1/call_spec.rb +46 -0
  632. data/spec/integration/ip_messaging/v1/credential_spec.rb +219 -0
  633. data/spec/integration/ip_messaging/v1/service/channel/invite_spec.rb +207 -0
  634. data/spec/integration/ip_messaging/v1/service/channel/member_spec.rb +280 -0
  635. data/spec/integration/ip_messaging/v1/service/channel/message_spec.rb +290 -0
  636. data/spec/integration/ip_messaging/v1/service/channel_spec.rb +272 -0
  637. data/spec/integration/ip_messaging/v1/service/role_spec.rb +260 -0
  638. data/spec/integration/ip_messaging/v1/service/user/user_channel_spec.rb +93 -0
  639. data/spec/integration/ip_messaging/v1/service/user_spec.rb +262 -0
  640. data/spec/integration/ip_messaging/v1/service_spec.rb +295 -0
  641. data/spec/integration/ip_messaging/v2/credential_spec.rb +219 -0
  642. data/spec/integration/ip_messaging/v2/service/binding_spec.rb +174 -0
  643. data/spec/integration/ip_messaging/v2/service/channel/invite_spec.rb +207 -0
  644. data/spec/integration/ip_messaging/v2/service/channel/member_spec.rb +263 -0
  645. data/spec/integration/ip_messaging/v2/service/channel/message_spec.rb +406 -0
  646. data/spec/integration/ip_messaging/v2/service/channel/webhook_spec.rb +303 -0
  647. data/spec/integration/ip_messaging/v2/service/channel_spec.rb +282 -0
  648. data/spec/integration/ip_messaging/v2/service/role_spec.rb +260 -0
  649. data/spec/integration/ip_messaging/v2/service/user/user_binding_spec.rb +177 -0
  650. data/spec/integration/ip_messaging/v2/service/user/user_channel_spec.rb +247 -0
  651. data/spec/integration/ip_messaging/v2/service/user_spec.rb +270 -0
  652. data/spec/integration/ip_messaging/v2/service_spec.rb +350 -0
  653. data/spec/integration/lookups/v1/phone_number_spec.rb +336 -0
  654. data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +173 -0
  655. data/spec/integration/messaging/v1/service/phone_number_spec.rb +198 -0
  656. data/spec/integration/messaging/v1/service/short_code_spec.rb +176 -0
  657. data/spec/integration/messaging/v1/service_spec.rb +267 -0
  658. data/spec/integration/monitor/v1/alert_spec.rb +138 -0
  659. data/spec/integration/monitor/v1/event_spec.rb +148 -0
  660. data/spec/integration/notify/v1/credential_spec.rb +219 -0
  661. data/spec/integration/notify/v1/service/binding_spec.rb +222 -0
  662. data/spec/integration/notify/v1/service/notification_spec.rb +98 -0
  663. data/spec/integration/notify/v1/service_spec.rb +289 -0
  664. data/spec/integration/numbers/v2/regulatory_compliance/bundle/evaluation_spec.rb +620 -0
  665. data/spec/integration/numbers/v2/regulatory_compliance/bundle/item_assignment_spec.rb +195 -0
  666. data/spec/integration/numbers/v2/regulatory_compliance/bundle_spec.rb +258 -0
  667. data/spec/integration/numbers/v2/regulatory_compliance/end_user_spec.rb +211 -0
  668. data/spec/integration/numbers/v2/regulatory_compliance/end_user_type_spec.rb +141 -0
  669. data/spec/integration/numbers/v2/regulatory_compliance/regulation_spec.rb +181 -0
  670. data/spec/integration/numbers/v2/regulatory_compliance/supporting_document_spec.rb +223 -0
  671. data/spec/integration/numbers/v2/regulatory_compliance/supporting_document_type_spec.rb +131 -0
  672. data/spec/integration/numbers/v2/regulatory_compliance_spec.rb +12 -0
  673. data/spec/integration/preview/bulk_exports/export/day_spec.rb +115 -0
  674. data/spec/integration/preview/bulk_exports/export/export_custom_job_spec.rb +127 -0
  675. data/spec/integration/preview/bulk_exports/export/job_spec.rb +78 -0
  676. data/spec/integration/preview/bulk_exports/export_configuration_spec.rb +77 -0
  677. data/spec/integration/preview/bulk_exports/export_spec.rb +44 -0
  678. data/spec/integration/preview/deployed_devices/fleet/certificate_spec.rb +234 -0
  679. data/spec/integration/preview/deployed_devices/fleet/deployment_spec.rb +228 -0
  680. data/spec/integration/preview/deployed_devices/fleet/device_spec.rb +244 -0
  681. data/spec/integration/preview/deployed_devices/fleet/key_spec.rb +232 -0
  682. data/spec/integration/preview/deployed_devices/fleet_spec.rb +241 -0
  683. data/spec/integration/preview/hosted_numbers/authorization_document/dependent_hosted_number_order_spec.rb +110 -0
  684. data/spec/integration/preview/hosted_numbers/authorization_document_spec.rb +224 -0
  685. data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +389 -0
  686. data/spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb +121 -0
  687. data/spec/integration/preview/marketplace/available_add_on_spec.rb +142 -0
  688. data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +162 -0
  689. data/spec/integration/preview/marketplace/installed_add_on_spec.rb +250 -0
  690. data/spec/integration/preview/sync/service/document/document_permission_spec.rb +201 -0
  691. data/spec/integration/preview/sync/service/document_spec.rb +254 -0
  692. data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +255 -0
  693. data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +201 -0
  694. data/spec/integration/preview/sync/service/sync_list_spec.rb +205 -0
  695. data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +255 -0
  696. data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +201 -0
  697. data/spec/integration/preview/sync/service/sync_map_spec.rb +205 -0
  698. data/spec/integration/preview/sync/service_spec.rb +241 -0
  699. data/spec/integration/preview/trusted_comms/branded_call_spec.rb +59 -0
  700. data/spec/integration/preview/trusted_comms/brands_information_spec.rb +45 -0
  701. data/spec/integration/preview/trusted_comms/business/brand/branded_channel/channel_spec.rb +54 -0
  702. data/spec/integration/preview/trusted_comms/business/brand/branded_channel_spec.rb +51 -0
  703. data/spec/integration/preview/trusted_comms/business/brand_spec.rb +48 -0
  704. data/spec/integration/preview/trusted_comms/business/insights/impressions_rate_spec.rb +56 -0
  705. data/spec/integration/preview/trusted_comms/business/insights_spec.rb +12 -0
  706. data/spec/integration/preview/trusted_comms/business_spec.rb +46 -0
  707. data/spec/integration/preview/trusted_comms/cps_spec.rb +44 -0
  708. data/spec/integration/preview/trusted_comms/current_call_spec.rb +58 -0
  709. data/spec/integration/preview/trusted_comms/phone_call_spec.rb +59 -0
  710. data/spec/integration/preview/understand/assistant/assistant_fallback_actions_spec.rb +79 -0
  711. data/spec/integration/preview/understand/assistant/assistant_initiation_actions_spec.rb +79 -0
  712. data/spec/integration/preview/understand/assistant/dialogue_spec.rb +46 -0
  713. data/spec/integration/preview/understand/assistant/field_type/field_value_spec.rb +207 -0
  714. data/spec/integration/preview/understand/assistant/field_type_spec.rb +242 -0
  715. data/spec/integration/preview/understand/assistant/model_build_spec.rb +236 -0
  716. data/spec/integration/preview/understand/assistant/query_spec.rb +302 -0
  717. data/spec/integration/preview/understand/assistant/style_sheet_spec.rb +79 -0
  718. data/spec/integration/preview/understand/assistant/task/field_spec.rb +204 -0
  719. data/spec/integration/preview/understand/assistant/task/sample_spec.rb +249 -0
  720. data/spec/integration/preview/understand/assistant/task/task_actions_spec.rb +85 -0
  721. data/spec/integration/preview/understand/assistant/task/task_statistics_spec.rb +49 -0
  722. data/spec/integration/preview/understand/assistant/task_spec.rb +258 -0
  723. data/spec/integration/preview/understand/assistant_spec.rb +269 -0
  724. data/spec/integration/preview/wireless/command_spec.rb +167 -0
  725. data/spec/integration/preview/wireless/rate_plan_spec.rb +257 -0
  726. data/spec/integration/preview/wireless/sim/usage_spec.rb +50 -0
  727. data/spec/integration/preview/wireless/sim_spec.rb +207 -0
  728. data/spec/integration/pricing/v1/messaging/country_spec.rb +137 -0
  729. data/spec/integration/pricing/v1/messaging_spec.rb +12 -0
  730. data/spec/integration/pricing/v1/phone_number/country_spec.rb +128 -0
  731. data/spec/integration/pricing/v1/phone_number_spec.rb +12 -0
  732. data/spec/integration/pricing/v1/voice/country_spec.rb +138 -0
  733. data/spec/integration/pricing/v1/voice/number_spec.rb +55 -0
  734. data/spec/integration/pricing/v1/voice_spec.rb +12 -0
  735. data/spec/integration/pricing/v2/voice/country_spec.rb +179 -0
  736. data/spec/integration/pricing/v2/voice/number_spec.rb +61 -0
  737. data/spec/integration/pricing/v2/voice_spec.rb +12 -0
  738. data/spec/integration/proxy/v1/service/phone_number_spec.rb +231 -0
  739. data/spec/integration/proxy/v1/service/session/interaction_spec.rb +133 -0
  740. data/spec/integration/proxy/v1/service/session/participant/message_interaction_spec.rb +163 -0
  741. data/spec/integration/proxy/v1/service/session/participant_spec.rb +240 -0
  742. data/spec/integration/proxy/v1/service/session_spec.rb +225 -0
  743. data/spec/integration/proxy/v1/service/short_code_spec.rb +225 -0
  744. data/spec/integration/proxy/v1/service_spec.rb +214 -0
  745. data/spec/integration/serverless/v1/service/asset/asset_version_spec.rb +93 -0
  746. data/spec/integration/serverless/v1/service/asset_spec.rb +202 -0
  747. data/spec/integration/serverless/v1/service/build_spec.rb +208 -0
  748. data/spec/integration/serverless/v1/service/environment/deployment_spec.rb +133 -0
  749. data/spec/integration/serverless/v1/service/environment/log_spec.rb +97 -0
  750. data/spec/integration/serverless/v1/service/environment/variable_spec.rb +207 -0
  751. data/spec/integration/serverless/v1/service/environment_spec.rb +170 -0
  752. data/spec/integration/serverless/v1/service/function/function_version/function_version_content_spec.rb +51 -0
  753. data/spec/integration/serverless/v1/service/function/function_version_spec.rb +96 -0
  754. data/spec/integration/serverless/v1/service/function_spec.rb +202 -0
  755. data/spec/integration/serverless/v1/service_spec.rb +205 -0
  756. data/spec/integration/studio/v1/flow/engagement/engagement_context_spec.rb +50 -0
  757. data/spec/integration/studio/v1/flow/engagement/step/step_context_spec.rb +53 -0
  758. data/spec/integration/studio/v1/flow/engagement/step_spec.rb +99 -0
  759. data/spec/integration/studio/v1/flow/engagement_spec.rb +168 -0
  760. data/spec/integration/studio/v1/flow/execution/execution_context_spec.rb +50 -0
  761. data/spec/integration/studio/v1/flow/execution/execution_step/execution_step_context_spec.rb +53 -0
  762. data/spec/integration/studio/v1/flow/execution/execution_step_spec.rb +99 -0
  763. data/spec/integration/studio/v1/flow/execution_spec.rb +214 -0
  764. data/spec/integration/studio/v1/flow_spec.rb +114 -0
  765. data/spec/integration/studio/v2/flow/execution/execution_context_spec.rb +50 -0
  766. data/spec/integration/studio/v2/flow/execution/execution_step/execution_step_context_spec.rb +53 -0
  767. data/spec/integration/studio/v2/flow/execution/execution_step_spec.rb +99 -0
  768. data/spec/integration/studio/v2/flow/execution_spec.rb +211 -0
  769. data/spec/integration/studio/v2/flow/flow_revision_spec.rb +110 -0
  770. data/spec/integration/studio/v2/flow/test_user_spec.rb +85 -0
  771. data/spec/integration/studio/v2/flow_spec.rb +251 -0
  772. data/spec/integration/studio/v2/flow_validate_spec.rb +46 -0
  773. data/spec/integration/supersim/v1/command_spec.rb +184 -0
  774. data/spec/integration/supersim/v1/fleet_spec.rb +214 -0
  775. data/spec/integration/supersim/v1/network_access_profile/network_access_profile_network_spec.rb +176 -0
  776. data/spec/integration/supersim/v1/network_access_profile_spec.rb +219 -0
  777. data/spec/integration/supersim/v1/network_spec.rb +137 -0
  778. data/spec/integration/supersim/v1/sim_spec.rb +300 -0
  779. data/spec/integration/supersim/v1/usage_record_spec.rb +647 -0
  780. data/spec/integration/sync/v1/service/document/document_permission_spec.rb +201 -0
  781. data/spec/integration/sync/v1/service/document_spec.rb +256 -0
  782. data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +257 -0
  783. data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +201 -0
  784. data/spec/integration/sync/v1/service/sync_list_spec.rb +252 -0
  785. data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +257 -0
  786. data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +201 -0
  787. data/spec/integration/sync/v1/service/sync_map_spec.rb +252 -0
  788. data/spec/integration/sync/v1/service/sync_stream/stream_message_spec.rb +47 -0
  789. data/spec/integration/sync/v1/service/sync_stream_spec.rb +244 -0
  790. data/spec/integration/sync/v1/service_spec.rb +261 -0
  791. data/spec/integration/taskrouter/v1/workspace/activity_spec.rb +232 -0
  792. data/spec/integration/taskrouter/v1/workspace/event_spec.rb +163 -0
  793. data/spec/integration/taskrouter/v1/workspace/task/reservation_spec.rb +222 -0
  794. data/spec/integration/taskrouter/v1/workspace/task_channel_spec.rb +312 -0
  795. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics_spec.rb +101 -0
  796. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics_spec.rb +83 -0
  797. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_statistics_spec.rb +107 -0
  798. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queues_statistics_spec.rb +145 -0
  799. data/spec/integration/taskrouter/v1/workspace/task_queue_spec.rb +290 -0
  800. data/spec/integration/taskrouter/v1/workspace/task_spec.rb +325 -0
  801. data/spec/integration/taskrouter/v1/workspace/worker/reservation_spec.rb +191 -0
  802. data/spec/integration/taskrouter/v1/workspace/worker/worker_channel_spec.rb +185 -0
  803. data/spec/integration/taskrouter/v1/workspace/worker/worker_statistics_spec.rb +91 -0
  804. data/spec/integration/taskrouter/v1/workspace/worker/workers_cumulative_statistics_spec.rb +88 -0
  805. data/spec/integration/taskrouter/v1/workspace/worker/workers_real_time_statistics_spec.rb +69 -0
  806. data/spec/integration/taskrouter/v1/workspace/worker/workers_statistics_spec.rb +115 -0
  807. data/spec/integration/taskrouter/v1/workspace/worker_spec.rb +290 -0
  808. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics_spec.rb +96 -0
  809. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_real_time_statistics_spec.rb +57 -0
  810. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_statistics_spec.rb +70 -0
  811. data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +266 -0
  812. data/spec/integration/taskrouter/v1/workspace/workspace_cumulative_statistics_spec.rb +93 -0
  813. data/spec/integration/taskrouter/v1/workspace/workspace_real_time_statistics_spec.rb +72 -0
  814. data/spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb +104 -0
  815. data/spec/integration/taskrouter/v1/workspace_spec.rb +291 -0
  816. data/spec/integration/trunking/v1/trunk/credential_list_spec.rb +189 -0
  817. data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +189 -0
  818. data/spec/integration/trunking/v1/trunk/origination_url_spec.rb +248 -0
  819. data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +264 -0
  820. data/spec/integration/trunking/v1/trunk_spec.rb +277 -0
  821. data/spec/integration/verify/v2/form_spec.rb +47 -0
  822. data/spec/integration/verify/v2/service/access_token_spec.rb +44 -0
  823. data/spec/integration/verify/v2/service/entity/challenge_spec.rb +252 -0
  824. data/spec/integration/verify/v2/service/entity/factor_spec.rb +292 -0
  825. data/spec/integration/verify/v2/service/entity_spec.rb +209 -0
  826. data/spec/integration/verify/v2/service/messaging_configuration_spec.rb +228 -0
  827. data/spec/integration/verify/v2/service/rate_limit/bucket_spec.rb +245 -0
  828. data/spec/integration/verify/v2/service/rate_limit_spec.rb +217 -0
  829. data/spec/integration/verify/v2/service/verification_check_spec.rb +80 -0
  830. data/spec/integration/verify/v2/service/verification_spec.rb +318 -0
  831. data/spec/integration/verify/v2/service/webhook_spec.rb +258 -0
  832. data/spec/integration/verify/v2/service_spec.rb +275 -0
  833. data/spec/integration/video/v1/composition_hook_spec.rb +407 -0
  834. data/spec/integration/video/v1/composition_settings_spec.rb +85 -0
  835. data/spec/integration/video/v1/composition_spec.rb +347 -0
  836. data/spec/integration/video/v1/recording_settings_spec.rb +85 -0
  837. data/spec/integration/video/v1/recording_spec.rb +176 -0
  838. data/spec/integration/video/v1/room/recording_spec.rb +185 -0
  839. data/spec/integration/video/v1/room/room_participant/room_participant_published_track_spec.rb +94 -0
  840. data/spec/integration/video/v1/room/room_participant/room_participant_subscribe_rule_spec.rb +103 -0
  841. data/spec/integration/video/v1/room/room_participant/room_participant_subscribed_track_spec.rb +95 -0
  842. data/spec/integration/video/v1/room/room_participant_spec.rb +187 -0
  843. data/spec/integration/video/v1/room_spec.rb +254 -0
  844. data/spec/integration/voice/v1/byoc_trunk_spec.rb +245 -0
  845. data/spec/integration/voice/v1/connection_policy/connection_policy_target_spec.rb +242 -0
  846. data/spec/integration/voice/v1/connection_policy_spec.rb +221 -0
  847. data/spec/integration/voice/v1/dialing_permissions/bulk_country_update_spec.rb +45 -0
  848. data/spec/integration/voice/v1/dialing_permissions/country/highrisk_special_prefix_spec.rb +60 -0
  849. data/spec/integration/voice/v1/dialing_permissions/country_spec.rb +110 -0
  850. data/spec/integration/voice/v1/dialing_permissions/settings_spec.rb +75 -0
  851. data/spec/integration/voice/v1/dialing_permissions_spec.rb +12 -0
  852. data/spec/integration/voice/v1/ip_record_spec.rb +219 -0
  853. data/spec/integration/voice/v1/source_ip_mapping_spec.rb +216 -0
  854. data/spec/integration/wireless/v1/command_spec.rb +286 -0
  855. data/spec/integration/wireless/v1/rate_plan_spec.rb +277 -0
  856. data/spec/integration/wireless/v1/sim/data_session_spec.rb +88 -0
  857. data/spec/integration/wireless/v1/sim/usage_record_spec.rb +114 -0
  858. data/spec/integration/wireless/v1/sim_spec.rb +325 -0
  859. data/spec/integration/wireless/v1/usage_record_spec.rb +110 -0
  860. data/spec/jwt/access_token_spec.rb +151 -0
  861. data/spec/jwt/client_capability_spec.rb +104 -0
  862. data/spec/jwt/task_router_spec.rb +172 -0
  863. data/spec/rack/twilio_webhook_authentication_spec.rb +19 -23
  864. data/spec/rest/client_spec.rb +189 -233
  865. data/spec/security/request_validator_spec.rb +125 -0
  866. data/spec/spec_helper.rb +24 -1
  867. data/spec/support/fakeweb.rb +1 -1
  868. data/spec/twilio_spec.rb +3 -1
  869. data/spec/twiml/messaging_response_spec.rb +235 -0
  870. data/spec/twiml/voice_response_spec.rb +847 -0
  871. data/spec/util/configuration_spec.rb +18 -0
  872. data/twilio-ruby.gemspec +20 -13
  873. metadata +1386 -252
  874. data/docs/Makefile +0 -130
  875. data/docs/_themes/LICENSE +0 -45
  876. data/docs/_themes/README.rst +0 -25
  877. data/docs/_themes/flask_theme_support.py +0 -86
  878. data/docs/_themes/kr/layout.html +0 -32
  879. data/docs/_themes/kr/relations.html +0 -19
  880. data/docs/_themes/kr/static/flasky.css_t +0 -469
  881. data/docs/_themes/kr/static/small_flask.css +0 -70
  882. data/docs/_themes/kr/theme.conf +0 -7
  883. data/docs/_themes/kr_small/layout.html +0 -22
  884. data/docs/_themes/kr_small/static/flasky.css_t +0 -287
  885. data/docs/_themes/kr_small/theme.conf +0 -10
  886. data/docs/changelog.rst +0 -1
  887. data/docs/conf.py +0 -266
  888. data/docs/faq.rst +0 -42
  889. data/docs/getting-started.rst +0 -117
  890. data/docs/index.rst +0 -135
  891. data/docs/make.bat +0 -170
  892. data/docs/src/pip-delete-this-directory.txt +0 -5
  893. data/docs/usage/accounts.rst +0 -89
  894. data/docs/usage/addresses.rst +0 -101
  895. data/docs/usage/applications.rst +0 -108
  896. data/docs/usage/basics.rst +0 -115
  897. data/docs/usage/caller-ids.rst +0 -47
  898. data/docs/usage/conferences.rst +0 -108
  899. data/docs/usage/errors.rst +0 -29
  900. data/docs/usage/lookups.rst +0 -62
  901. data/docs/usage/messages.rst +0 -137
  902. data/docs/usage/notifications.rst +0 -72
  903. data/docs/usage/phone-calls.rst +0 -185
  904. data/docs/usage/phone-numbers.rst +0 -189
  905. data/docs/usage/pricing.rst +0 -169
  906. data/docs/usage/queues.rst +0 -112
  907. data/docs/usage/recordings.rst +0 -98
  908. data/docs/usage/sip.rst +0 -104
  909. data/docs/usage/taskrouter-tokens.rst +0 -98
  910. data/docs/usage/taskrouter.rst +0 -440
  911. data/docs/usage/token-generation.rst +0 -115
  912. data/docs/usage/transcriptions.rst +0 -32
  913. data/docs/usage/twiml.rst +0 -69
  914. data/docs/usage/validation.rst +0 -107
  915. data/examples/taskrouter.examples.rb +0 -86
  916. data/issue_template.md +0 -25
  917. data/lib/twilio-ruby/rest/addresses/dependent_phone_numbers.rb +0 -6
  918. data/lib/twilio-ruby/rest/addresses.rb +0 -12
  919. data/lib/twilio-ruby/rest/applications.rb +0 -6
  920. data/lib/twilio-ruby/rest/authorized_connect_apps.rb +0 -6
  921. data/lib/twilio-ruby/rest/available_phone_numbers/country.rb +0 -10
  922. data/lib/twilio-ruby/rest/available_phone_numbers/local.rb +0 -11
  923. data/lib/twilio-ruby/rest/available_phone_numbers/mobile.rb +0 -11
  924. data/lib/twilio-ruby/rest/available_phone_numbers/toll_free.rb +0 -11
  925. data/lib/twilio-ruby/rest/available_phone_numbers.rb +0 -13
  926. data/lib/twilio-ruby/rest/base_client.rb +0 -131
  927. data/lib/twilio-ruby/rest/call_feedback.rb +0 -28
  928. data/lib/twilio-ruby/rest/call_feedback_summary.rb +0 -13
  929. data/lib/twilio-ruby/rest/calls.rb +0 -33
  930. data/lib/twilio-ruby/rest/conferences/participants.rb +0 -23
  931. data/lib/twilio-ruby/rest/conferences.rb +0 -12
  932. data/lib/twilio-ruby/rest/connect_apps.rb +0 -6
  933. data/lib/twilio-ruby/rest/errors.rb +0 -14
  934. data/lib/twilio-ruby/rest/incoming_phone_numbers/local.rb +0 -13
  935. data/lib/twilio-ruby/rest/incoming_phone_numbers/mobile.rb +0 -13
  936. data/lib/twilio-ruby/rest/incoming_phone_numbers/toll_free.rb +0 -13
  937. data/lib/twilio-ruby/rest/incoming_phone_numbers.rb +0 -17
  938. data/lib/twilio-ruby/rest/instance_resource.rb +0 -87
  939. data/lib/twilio-ruby/rest/ip-messaging/channels.rb +0 -15
  940. data/lib/twilio-ruby/rest/ip-messaging/credentials.rb +0 -19
  941. data/lib/twilio-ruby/rest/ip-messaging/members.rb +0 -8
  942. data/lib/twilio-ruby/rest/ip-messaging/messages.rb +0 -8
  943. data/lib/twilio-ruby/rest/ip-messaging/roles.rb +0 -8
  944. data/lib/twilio-ruby/rest/ip-messaging/services.rb +0 -17
  945. data/lib/twilio-ruby/rest/ip-messaging/users.rb +0 -8
  946. data/lib/twilio-ruby/rest/ip_messaging_client.rb +0 -100
  947. data/lib/twilio-ruby/rest/keys.rb +0 -6
  948. data/lib/twilio-ruby/rest/list_resource.rb +0 -100
  949. data/lib/twilio-ruby/rest/lookups/phone_numbers.rb +0 -17
  950. data/lib/twilio-ruby/rest/lookups_client.rb +0 -99
  951. data/lib/twilio-ruby/rest/media.rb +0 -14
  952. data/lib/twilio-ruby/rest/messages.rb +0 -22
  953. data/lib/twilio-ruby/rest/monitor/alerts.rb +0 -8
  954. data/lib/twilio-ruby/rest/monitor/events.rb +0 -8
  955. data/lib/twilio-ruby/rest/monitor_client.rb +0 -101
  956. data/lib/twilio-ruby/rest/next_gen_list_resource.rb +0 -36
  957. data/lib/twilio-ruby/rest/notifications.rb +0 -6
  958. data/lib/twilio-ruby/rest/outgoing_caller_ids.rb +0 -25
  959. data/lib/twilio-ruby/rest/pricing/countries.rb +0 -21
  960. data/lib/twilio-ruby/rest/pricing/messaging.rb +0 -15
  961. data/lib/twilio-ruby/rest/pricing/phone_numbers.rb +0 -14
  962. data/lib/twilio-ruby/rest/pricing/voice/numbers.rb +0 -19
  963. data/lib/twilio-ruby/rest/pricing/voice.rb +0 -15
  964. data/lib/twilio-ruby/rest/pricing_client.rb +0 -108
  965. data/lib/twilio-ruby/rest/queues/members.rb +0 -29
  966. data/lib/twilio-ruby/rest/queues.rb +0 -12
  967. data/lib/twilio-ruby/rest/recordings.rb +0 -35
  968. data/lib/twilio-ruby/rest/sandbox.rb +0 -5
  969. data/lib/twilio-ruby/rest/sip/credential_lists/credentials.rb +0 -6
  970. data/lib/twilio-ruby/rest/sip/credential_lists.rb +0 -11
  971. data/lib/twilio-ruby/rest/sip/domains/credential_list_mappings.rb +0 -6
  972. data/lib/twilio-ruby/rest/sip/domains/ip_access_control_list_mappings.rb +0 -6
  973. data/lib/twilio-ruby/rest/sip/domains.rb +0 -12
  974. data/lib/twilio-ruby/rest/sip/ip_access_control_lists/ip_addresses.rb +0 -6
  975. data/lib/twilio-ruby/rest/sip/ip_access_control_lists.rb +0 -11
  976. data/lib/twilio-ruby/rest/sip.rb +0 -10
  977. data/lib/twilio-ruby/rest/sms/messages.rb +0 -38
  978. data/lib/twilio-ruby/rest/sms/short_codes.rb +0 -8
  979. data/lib/twilio-ruby/rest/sms.rb +0 -11
  980. data/lib/twilio-ruby/rest/task_router/activities.rb +0 -8
  981. data/lib/twilio-ruby/rest/task_router/events.rb +0 -8
  982. data/lib/twilio-ruby/rest/task_router/reservations.rb +0 -8
  983. data/lib/twilio-ruby/rest/task_router/statistics.rb +0 -26
  984. data/lib/twilio-ruby/rest/task_router/task_queues.rb +0 -17
  985. data/lib/twilio-ruby/rest/task_router/task_queues_statistics.rb +0 -15
  986. data/lib/twilio-ruby/rest/task_router/tasks.rb +0 -15
  987. data/lib/twilio-ruby/rest/task_router/workers.rb +0 -19
  988. data/lib/twilio-ruby/rest/task_router/workers_statistics.rb +0 -8
  989. data/lib/twilio-ruby/rest/task_router/workflow_statistics.rb +0 -7
  990. data/lib/twilio-ruby/rest/task_router/workflows.rb +0 -11
  991. data/lib/twilio-ruby/rest/task_router/workspace_statistics.rb +0 -7
  992. data/lib/twilio-ruby/rest/task_router/workspaces.rb +0 -17
  993. data/lib/twilio-ruby/rest/task_router_client.rb +0 -176
  994. data/lib/twilio-ruby/rest/tokens.rb +0 -7
  995. data/lib/twilio-ruby/rest/transcriptions.rb +0 -6
  996. data/lib/twilio-ruby/rest/trunking/credential_lists.rb +0 -8
  997. data/lib/twilio-ruby/rest/trunking/ip_access_control_lists.rb +0 -8
  998. data/lib/twilio-ruby/rest/trunking/origination_urls.rb +0 -8
  999. data/lib/twilio-ruby/rest/trunking/phone_numbers.rb +0 -8
  1000. data/lib/twilio-ruby/rest/trunking/trunks.rb +0 -19
  1001. data/lib/twilio-ruby/rest/trunking_client.rb +0 -106
  1002. data/lib/twilio-ruby/rest/usage/records.rb +0 -21
  1003. data/lib/twilio-ruby/rest/usage/triggers.rb +0 -12
  1004. data/lib/twilio-ruby/rest/usage.rb +0 -10
  1005. data/lib/twilio-ruby/rest/utils.rb +0 -49
  1006. data/lib/twilio-ruby/task_router/capability.rb +0 -230
  1007. data/lib/twilio-ruby/task_router/workflow_builder.rb +0 -135
  1008. data/lib/twilio-ruby/task_router.rb +0 -0
  1009. data/lib/twilio-ruby/twiml/response.rb +0 -16
  1010. data/lib/twilio-ruby/util/access_token.rb +0 -158
  1011. data/lib/twilio-ruby/util/capability.rb +0 -64
  1012. data/lib/twilio-ruby/util/client_config.rb +0 -29
  1013. data/lib/twilio-ruby/util/request_validator.rb +0 -37
  1014. data/spec/rest/account_spec.rb +0 -89
  1015. data/spec/rest/address_spec.rb +0 -11
  1016. data/spec/rest/call_feedback_spec.rb +0 -12
  1017. data/spec/rest/call_feedback_summary_spec.rb +0 -9
  1018. data/spec/rest/call_spec.rb +0 -22
  1019. data/spec/rest/conference_spec.rb +0 -11
  1020. data/spec/rest/instance_resource_spec.rb +0 -15
  1021. data/spec/rest/ip-messaging/channel_spec.rb +0 -21
  1022. data/spec/rest/ip-messaging/service_spec.rb +0 -30
  1023. data/spec/rest/ip_messaging_client_spec.rb +0 -21
  1024. data/spec/rest/key_spec.rb +0 -11
  1025. data/spec/rest/lookups/phone_number_spec.rb +0 -28
  1026. data/spec/rest/message_spec.rb +0 -12
  1027. data/spec/rest/monitor_client_spec.rb +0 -17
  1028. data/spec/rest/numbers_spec.rb +0 -58
  1029. data/spec/rest/pricing_client_spec.rb +0 -60
  1030. data/spec/rest/queue_spec.rb +0 -11
  1031. data/spec/rest/recording_spec.rb +0 -11
  1032. data/spec/rest/sms/message_spec.rb +0 -37
  1033. data/spec/rest/sms/messages_spec.rb +0 -31
  1034. data/spec/rest/task_router/reservation_spec.rb +0 -14
  1035. data/spec/rest/task_router/statistics_spec.rb +0 -37
  1036. data/spec/rest/task_router/task_queue_spec.rb +0 -9
  1037. data/spec/rest/token_spec.rb +0 -7
  1038. data/spec/rest/trunking/trunk_spec.rb +0 -36
  1039. data/spec/rest/utils_spec.rb +0 -45
  1040. data/spec/task_router/workflow_builder_spec.rb +0 -501
  1041. data/spec/task_router_deprecated_spec.rb +0 -139
  1042. data/spec/task_router_spec.rb +0 -110
  1043. data/spec/task_router_taskqueue_spec.rb +0 -111
  1044. data/spec/task_router_worker_spec.rb +0 -146
  1045. data/spec/task_router_workspace_spec.rb +0 -110
  1046. data/spec/util/access_token_spec.rb +0 -161
  1047. data/spec/util/capability_spec.rb +0 -186
  1048. data/spec/util/client_config_spec.rb +0 -21
  1049. data/spec/util/request_validator_spec.rb +0 -113
data/CHANGES.md CHANGED
@@ -1,117 +1,1778 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
- Version 4.13.0
5
- --------------
4
+ [2020-08-19] Version 5.40.0
5
+ ---------------------------
6
+ **Library - Chore**
7
+ - [PR #526](https://github.com/twilio/twilio-ruby/pull/526): update GitHub branch references to use HEAD. Thanks to [@thinkingserious](https://github.com/thinkingserious)!
6
8
 
7
- Released September 19, 2016:
9
+ **Conversations**
10
+ - Allow Identity addition to Participants
8
11
 
9
- - Add VideoGrant.
12
+ **Events**
13
+ - Sinks API Get all Sinks
10
14
 
11
- Version 4.12.1
12
- --------------
15
+ **Proxy**
16
+ - Clarified usage of FailOnParticipantConflict param as experimental
17
+ - Add FailOnParticipantConflict param to Proxy Session create and Proxy Participant create
13
18
 
14
- Released September 1, 2016:
19
+ **Supersim**
20
+ - Add fleet, network, and isoCountryCode to the UsageRecords resource
21
+ - Change sort order of UsageRecords from ascending to descending with respect to start time field, records are now returned newest to oldest
15
22
 
16
- - Add VoiceGrant.
23
+ **Wireless**
24
+ - Removed `Start` and `End` parameters from the Data Sessions list endpoint. **(breaking change)**
17
25
 
18
- Version 4.11.1
19
- -------------
20
26
 
21
- Released February 12, 2016:
27
+ [2020-08-05] Version 5.39.3
28
+ ---------------------------
29
+ **Messaging**
30
+ - Add rejection reason support to WhatsApp API
31
+ - Removed status parameter for create and update in WhatsApp Templates API
22
32
 
23
- - Add missing Keys mount to Account
33
+ **Proxy**
34
+ - Add FailOnParticipantConflict param to Proxy Session update
24
35
 
25
- Version 4.11.0
26
- -------------
36
+ **Verify**
37
+ - Add `CustomFriendlyName` optional parameter on Verification creation.
38
+ - Changes in `Challenge` resource to update documentation of both `details` and `hidden_details` properties.
27
39
 
28
- Released January 28, 2016:
29
40
 
30
- - Add support for alternative auth (eg. Keys)
41
+ [2020-07-22] Version 5.39.2
42
+ ---------------------------
43
+ **Api**
44
+ - Add optional Click Tracking and Scheduling parameters to Create action of Message resource
31
45
 
32
- Version 4.10.0
33
- -------------
46
+ **Supersim**
47
+ - Add callback_url and callback_method parameters to Sim resource update request
34
48
 
35
- Released January 28, 2016:
36
49
 
37
- - Add support for filter_friendly_name in WorkflowConfig
38
- - Load reservations by default in TaskRouter
50
+ [2020-07-10] Version 5.39.1
51
+ ---------------------------
52
+ **Library - Fix**
53
+ - [PR #520](https://github.com/twilio/twilio-ruby/pull/520): use ruby keyword arguments for all action methods. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
39
54
 
40
- Version 4.9.1
41
- -------------
42
55
 
43
- Release January 28, 2016
56
+ [2020-07-08] Version 5.39.0
57
+ ---------------------------
58
+ **Library - Feature**
59
+ - [PR #516](https://github.com/twilio/twilio-ruby/pull/516): add custom header support. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
44
60
 
45
- - Fix ip messaging first person grant
61
+ **Library - Chore**
62
+ - [PR #515](https://github.com/twilio/twilio-ruby/pull/515): regenerate library after generator refactor. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
46
63
 
47
- Version 4.9.0
48
- -------------
64
+ **Conversations**
65
+ - Allow Address updates for Participants
66
+ - Message delivery receipts
49
67
 
50
- Release December 17, 2015
68
+ **Events**
69
+ - Add account_sid to subscription and subscribed_events resources
51
70
 
52
- - Release ip messaging
71
+ **Flex**
72
+ - Changed `wfm_integrations` Flex Configuration key to private **(breaking change)**
53
73
 
54
- Version 4.8.0
55
- -------------
74
+ **Messaging**
75
+ - Add error states to WhatsApp Sender status with failed reason **(breaking change)**
76
+ - Delete WhatsApp Template API
77
+ - Update WhatsApp Template API
78
+ - Add WhatsApp Template Get Api (fetch and read)
56
79
 
57
- Release December 8, 2015
80
+ **Numbers**
81
+ - Add `valid_until` in the Bundles resource
82
+ - Add API for Bundle deletion
58
83
 
59
- - Make nbf optional
84
+ **Verify**
85
+ - Removed support for `sms`, `totp` and `app-push` factor types in Verify push **(breaking change)**
60
86
 
61
- Version 4.7.0
62
- -------------
63
87
 
64
- Release December 3, 2015
88
+ [2020-06-24] Version 5.38.0
89
+ ---------------------------
90
+ **Api**
91
+ - Added optional `JitterBufferSize` parameter for creating conference participant
92
+ - Added optional `label` property for conference participants
93
+ - Added optional parameter `caller_id` for creating conference participant endpoint.
65
94
 
66
- - Add access tokens
95
+ **Autopilot**
96
+ - Remove Export resource from Autopilot Assistant
97
+
98
+ **Conversations**
99
+ - Expose Conversation timers
100
+
101
+ **Monitor**
102
+ - Update start/end date filter params to support date-or-time format **(breaking change)**
103
+
104
+ **Numbers**
105
+ - Add `provisionally-approved` as a Supporting Document status
106
+
107
+ **Preview**
108
+ - Removed `Authy` resources. **(breaking change)**
109
+
110
+ **Supersim**
111
+ - Add ready state to the allowed transitions in the sim update call behind the feature flag supersim.ready-state.v1
112
+
113
+ **Verify**
114
+ - Webhook resources added to Verify services and put behind the `api.verify.push` beta feature
115
+
116
+ **Twiml**
117
+ - Add more supported locales for the `Gather` verb.
118
+
119
+
120
+ [2020-06-10] Version 5.37.0
121
+ ---------------------------
122
+ **Library - Docs**
123
+ - [PR #514](https://github.com/twilio/twilio-ruby/pull/514): link to handling exceptions. Thanks to [@thinkingserious](https://github.com/thinkingserious)!
124
+ - [PR #513](https://github.com/twilio/twilio-ruby/pull/513): link to custom HTTP client instructions. Thanks to [@thinkingserious](https://github.com/thinkingserious)!
125
+
126
+ **Api**
127
+ - Added `pstnconnectivity` to `usage_record` API
128
+
129
+ **Autopilot**
130
+ - Add dialogue_sid param to Query list resource
131
+
132
+ **Notify**
133
+ - delivery_callback_url and delivery_callback_enabled added
134
+
135
+ **Numbers**
136
+ - Add `provisionally-approved` as a Bundle status
137
+
138
+ **Preview**
139
+ - `BrandsInformation` endpoint now returns a single `BrandsInformation`
140
+ - Deleted phone number required field in the brand phone number endpoint from `kyc-api`
141
+ - Removed insights `preview API` from API Definitions **(breaking change)**
142
+ - Added `BrandsInformation` endpoint to query brands information stored in KYC
143
+
144
+ **Supersim**
145
+ - Require a Network Access Profile when creating a Fleet **(breaking change)**
146
+
147
+
148
+ [2020-05-27] Version 5.36.0
149
+ ---------------------------
150
+ **Api**
151
+ - Added `reason_conference_ended` and `call_sid_ending_conference` to Conference read/fetch/update
152
+ - Fixed some examples to use the correct "TK" SID prefix for Trunk resources.
153
+
154
+ **Authy**
155
+ - Renamed `twilio_authy_sandbox_mode` headers to `twilio_sandbox_mode` **(breaking change)**
156
+ - Renamed `Twilio-Authy-*` headers to `Twilio-Veriry-*` **(breaking change)**
157
+
158
+ **Flex**
159
+ - Adding `flex_service_instance_sid` to Flex Configuration
160
+
161
+ **Preview**
162
+ - Removed insights preview API from API Definitions **(breaking change)**
163
+ - Added `Channels` endpoint to brand a phone number for BrandedCalls
164
+
165
+ **Serverless**
166
+ - Add Build Sid to Log results
167
+
168
+ **Supersim**
169
+ - Add Network Access Profile resource Networks subresource
170
+ - Allow specifying a Data Limit on Fleets
171
+
172
+ **Trunking**
173
+ - Fixed some examples to use the correct "TK" SID prefix for Trunk resources.
174
+
175
+
176
+ [2020-05-20] Version 5.35.0
177
+ ---------------------------
178
+ **Library - Feature**
179
+ - [PR #512](https://github.com/twilio/twilio-ruby/pull/512): add regional and edge support. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
180
+
181
+
182
+ [2020-05-13] Version 5.34.1
183
+ ---------------------------
184
+ **Api**
185
+ - Add optional `emergency_caller_sid` parameter to SIP Domain
186
+ - Updated `call_reason` optional property to be treated as PII
187
+ - Added optional BYOC Trunk Sid property to Sip Domain API resource
188
+
189
+ **Autopilot**
190
+ - Add Restore resource to Autopilot Assistant
191
+
192
+ **Contacts**
193
+ - Added contacts Create API definition
194
+
195
+ **Events**
196
+ - Subscriptions API initial release
197
+
198
+ **Numbers**
199
+ - Add Evaluations API
200
+
201
+ **Supersim**
202
+ - Allow filtering the Fleets resource by Network Access Profile
203
+ - Allow assigning a Network Access Profile when creating and updating a Fleet
204
+ - Add Network Access Profiles resource
205
+
206
+ **Verify**
207
+ - Add `CustomCode` optional parameter on Verification creation.
208
+ - Add delete action on Service resource.
209
+
210
+ **Voice**
211
+ - Added endpoints for BYOC trunks, SIP connection policies and source IP mappings
212
+
213
+
214
+ [2020-04-29] Version 5.34.0
215
+ ---------------------------
216
+ **Library - Feature**
217
+ - [PR #511](https://github.com/twilio/twilio-ruby/pull/511): add details to error object. Thanks to [@ashish-s](https://github.com/ashish-s)!
218
+
219
+ **Preview**
220
+ - Added `Dispatch` version to `preview`
221
+
222
+ **Studio**
223
+ - Reroute Create Execution for V2 to the V2 downstream
224
+
225
+ **Supersim**
226
+ - Add Networks resource
227
+
228
+
229
+ [2020-04-15] Version 5.33.1
230
+ ---------------------------
231
+ **Library - Fix**
232
+ - [PR #506](https://github.com/twilio/twilio-ruby/pull/506): loosen the faraday version requirement. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
233
+
234
+ **Library - Chore**
235
+ - [PR #508](https://github.com/twilio/twilio-ruby/pull/508): Refer to https:// homepage in gemspec. Thanks to [@olleolleolle](https://github.com/olleolleolle)!
236
+ - [PR #507](https://github.com/twilio/twilio-ruby/pull/507): Travis: Drop unused "sudo: false" directive. Thanks to [@olleolleolle](https://github.com/olleolleolle)!
237
+ - [PR #498](https://github.com/twilio/twilio-ruby/pull/498): autoload TwiML to save memory on load. Thanks to [@philnash](https://github.com/philnash)!
238
+ - [PR #499](https://github.com/twilio/twilio-ruby/pull/499): autoload JWT classes. Thanks to [@philnash](https://github.com/philnash)!
239
+ - [PR #505](https://github.com/twilio/twilio-ruby/pull/505): remove S3 URLs from test data. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
240
+
241
+ **Api**
242
+ - Updated description for property `call_reason` in the call create request
243
+
244
+ **Contacts**
245
+ - Added Read, Delete All, and Delete by SID docs
246
+ - Initial Release
247
+
248
+ **Studio**
249
+ - Rename `flow_valid` to `flow_validate`
250
+ - Removed `errors` and `warnings` from flows error response and added new property named `details`
251
+ - Add Update Execution endpoints to v1 and v2 to end execution via API
252
+ - Add new `warnings` attribute v2 flow POST api
253
+
254
+ **Twiml**
255
+ - Add enhanced attribute to use with `speech_model` for the `Gather` verb
256
+
257
+
258
+ [2020-04-01] Version 5.33.0
259
+ ---------------------------
260
+ **Library - Chore**
261
+ - [PR #502](https://github.com/twilio/twilio-ruby/pull/502): Fix a typo in JWT::TaskRouterUtils. Thanks to [@rywall](https://github.com/rywall)!
262
+
263
+ **Api**
264
+ - Add optional 'secure' parameter to SIP Domain
265
+
266
+ **Authy**
267
+ - Added an endpoint to list the challenges of a factor
268
+ - Added optional parameter `Push` when updating a service to send the service level push factor configuration
269
+
270
+ **Bulkexports**
271
+ - exposing bulk exports (vault/slapchop) API as public beta API
272
+
273
+ **Flex**
274
+ - Adding `queue_stats_configuration` and `wfm_integrations` to Flex Configuration
275
+
276
+ **Serverless**
277
+ - Add Function Version Content endpoint
278
+ - Allow build_sid to be optional for deployment requests
279
+
280
+ **Supersim**
281
+ - Remove `deactivated` status for Super SIM which is replaced by `inactive` **(breaking change)**
282
+
283
+
284
+ [2020-03-18] Version 5.32.0
285
+ ---------------------------
286
+ **Api**
287
+ - Add optional `emergency_calling_enabled` parameter to SIP Domain
288
+ - Add optional property `call_reason` in the call create request
289
+
290
+ **Authy**
291
+ - Added `friendly_name` and `config` as optional params to Factor update
292
+ - Added `config` param to Factor creation **(breaking change)**
293
+
294
+ **Preview**
295
+ - Renamed `SuccessRate` endpoint to `ImpressionsRate` for Branded Calls (fka. Verified by Twilio) **(breaking change)**
296
+
297
+
298
+ [2020-03-04] Version 5.31.6
299
+ ---------------------------
300
+ **Library - Chore**
301
+ - [PR #497](https://github.com/twilio/twilio-ruby/pull/497): clean up and upgrade dev dependencies. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
302
+
303
+ **Authy**
304
+ - Added the `configuration` property to services to return the service level configurations
305
+ - Added optional parameter `Push` when creating a service to send the service level push factor configuration
306
+ - Remove FactorStrength support for Factors and Challenges **(breaking change)**
307
+
308
+ **Messaging**
309
+ - Correct the alpha sender capabilities property type **(breaking change)**
310
+
311
+ **Preview**
312
+ - Removed `/Devices` register Branded Calls endpoint, as per iOS sample app deprecation **(breaking change)**
313
+ - Removed `Twilio-Sandbox-Mode` request header from the Branded Calls endpoints, as not officially supported **(breaking change)**
314
+ - Removed `Verify` version from `preview` subdomain in favor to `verify` subdomain. **(breaking change)**
315
+
316
+ **Serverless**
317
+ - Add UI-Editable field to Services
318
+
319
+ **Supersim**
320
+ - Add `inactive` status for Super SIM which is an alias for `deactivated`
321
+
322
+ **Taskrouter**
323
+ - Adding value range to `priority` in task endpoint
324
+
325
+ **Verify**
326
+ - Fix `SendCodeAttempts` type. It's an array of objects instead of a unique object. **(breaking change)**
327
+
328
+
329
+ [2020-02-19] Version 5.31.5
330
+ ---------------------------
331
+ **Library - Chore**
332
+ - [PR #495](https://github.com/twilio/twilio-ruby/pull/495): bump the rubocop version. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
333
+
334
+ **Api**
335
+ - Make call create parameters `async_amd`, `async_amd_status_callback`, and `async_amd_status_callback_method` public
336
+ - Add `trunk_sid` as an optional field to Call resource fetch/read responses
337
+ - Add property `queue_time` to successful response of create, fetch, and update requests for Call
338
+ - Add optional parameter `byoc` to conference participant create.
339
+
340
+ **Authy**
341
+ - Added support for challenges associated to push factors
342
+
343
+ **Flex**
344
+ - Adding `ui_dependencies` to Flex Configuration
345
+
346
+ **Messaging**
347
+ - Deprecate Session API **(breaking change)**
348
+
349
+ **Numbers**
350
+ - Add Regulations API
351
+
352
+ **Studio**
353
+ - Add Execution and Step endpoints to v2 API
354
+ - Add webhook_url to Flow response and add new /TestUsers endpoint to v2 API
355
+
356
+ **Taskrouter**
357
+ - Adding `longest_relative_task_age_in_queue` and `longest_relative_task_sid_in_queue` to TaskQueue Real Time Statistics API.
358
+ - Add `wait_duration_in_queue_until_accepted` aggregations to TaskQueues Cumulative Statistics endpoint
359
+ - Add TaskQueueEnteredDate property to Tasks.
360
+
361
+ **Video**
362
+ - [Composer] Clarification for the composition hooks creation documentation: one source is mandatory, either the `audio_sources` or the `video_layout`, but one of them has to be provided
363
+ - [Composer] `audio_sources` type on the composer HTTP POST command, changed from `sid[]` to `string[]` **(breaking change)**
364
+ - [Composer] Clarification for the composition creation documentation: one source is mandatory, either the `audio_sources` or the `video_layout`, but one of them has to be provided
365
+
366
+
367
+ [2020-02-05] Version 5.31.4
368
+ ---------------------------
369
+ **Api**
370
+ - Making content retention and address retention public
371
+ - Update `status` enum for Messages to include 'partially_delivered'
372
+
373
+ **Authy**
374
+ - Added support for push factors
375
+
376
+ **Autopilot**
377
+ - Add one new property in Query i.e dialogue_sid
378
+
379
+ **Verify**
380
+ - Add `SendCodeAttempts` to create verification response.
381
+
382
+ **Video**
383
+ - Clarification in composition creation documentation: one source is mandatory, either `audio_sources` or `video_layout`, but on of them has to be provided
384
+
385
+ **Twiml**
386
+ - Add Polly Neural voices.
387
+
388
+
389
+ [2020-01-22] Version 5.31.3
390
+ ---------------------------
391
+ **Library - Docs**
392
+ - [PR #492](https://github.com/twilio/twilio-ruby/pull/492): baseline all the templated markdown docs. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
393
+
394
+ **Library - Chore**
395
+ - [PR #490](https://github.com/twilio/twilio-ruby/pull/490): add support for Ruby 2.7. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
396
+
397
+ **Api**
398
+ - Add payments public APIs
399
+ - Add optional parameter `byoc` to call create request.
400
+
401
+ **Flex**
402
+ - Updating a Flex Flow `creation_on_message` parameter documentation
403
+
404
+ **Preview**
405
+ -
406
+ - Removed Verify v2 from preview in favor of its own namespace as GA **(breaking change)**
407
+
408
+ **Studio**
409
+ - Flow definition type update from string to object
410
+
411
+ **Verify**
412
+ - Add `AppHash` parameter when creating a Verification.
413
+ - Add `DoNotShareWarningEnabled` parameter to the Service resource.
414
+
415
+ **Twiml**
416
+ - Add `track` attribute to siprec noun.
417
+ - Add attribute `byoc` to `<Number>`
418
+
419
+
420
+ [2020-01-08] Version 5.31.2
421
+ ---------------------------
422
+ **Library - Chore**
423
+ - [PR #491](https://github.com/twilio/twilio-ruby/pull/491): upgrade rubocop to 0.79.0. Thanks to [@juampi](https://github.com/juampi)!
424
+ - [PR #489](https://github.com/twilio/twilio-ruby/pull/489): upgrade faraday to 1.0.0. Thanks to [@juampi](https://github.com/juampi)!
425
+
426
+ **Numbers**
427
+ - Add Regulatory Compliance CRUD APIs
428
+
429
+ **Studio**
430
+ - Add parameter validation for Studio v2 Flows API
431
+
432
+ **Twiml**
433
+ - Add support for `speech_model` to `Gather` verb
434
+
435
+
436
+ [2019-12-18] Version 5.31.1
437
+ ---------------------------
438
+ **Library - Chore**
439
+ - [PR #488](https://github.com/twilio/twilio-ruby/pull/488): upgrade rubocop to 0.77.0. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
440
+
441
+ **Preview**
442
+ - Add `/Insights/SuccessRate` endpoint for Businesses Branded Calls (Verified by Twilio)
443
+
444
+ **Studio**
445
+ - StudioV2 API in beta
446
+
447
+ **Verify**
448
+ - Add `MailerSid` property to Verify Service resource.
449
+
450
+ **Wireless**
451
+ - Added `data_limit_strategy` to Rate Plan resource.
452
+
453
+
454
+ [2019-12-12] Version 5.31.0
455
+ ---------------------------
456
+ **Api**
457
+ - Make `twiml` conditional for create. One of `url`, `twiml`, or `application_sid` is now required.
458
+ - Add `bundle_sid` parameter to /IncomingPhoneNumbers API
459
+ - Removed discard / obfuscate parameters from ContentRetention, AddressRetention **(breaking change)**
460
+
461
+ **Chat**
462
+ - Added `last_consumed_message_index` and `last_consumption_timestamp` parameters in update method for UserChannel resource **(breaking change)**
463
+
464
+ **Conversations**
465
+ - Add Participant SID to Message properties
466
+
467
+ **Messaging**
468
+ - Fix incorrectly typed capabilities property for ShortCodes. **(breaking change)**
469
+
470
+
471
+ [2019-12-04] Version 5.30.0
472
+ ---------------------------
473
+ **Library**
474
+ - [PR #485](https://github.com/twilio/twilio-ruby/pull/485): docs: add supported language versions to README. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
475
+ - [PR #445](https://github.com/twilio/twilio-ruby/pull/445): fix: handle building the HTTP client proxy URI without authentication. Thanks to [@laka3000](https://github.com/laka3000)!
476
+
477
+ **Api**
478
+ - Add optional `twiml` parameter for call create
479
+
480
+ **Chat**
481
+ - Added `delete` method in UserChannel resource
482
+
483
+ **Conversations**
484
+ - Allow Messaging Service update
485
+
486
+ **Taskrouter**
487
+ - Support ReEvaluateTasks parameter on Workflow update
488
+
489
+ **Twiml**
490
+ - Remove unsupported `mixed_track` value from `<Stream>` **(breaking change)**
491
+ - Add missing fax `<Receive>` optional attributes
492
+
493
+
494
+ [2019-11-13] Version 5.29.1
495
+ ---------------------------
496
+ **Api**
497
+ - Make `persistent_action` parameter public
498
+ - Add `twiml` optional private parameter for call create
499
+
500
+ **Autopilot**
501
+ - Add Export resource to Autopilot Assistant.
502
+
503
+ **Flex**
504
+ - Added Integration.RetryCount attribute to Flex Flow
505
+ - Updating a Flex Flow `channel_type` options documentation
506
+
507
+ **Insights**
508
+ - Added edges to events and metrics
509
+ - Added new endpoint definitions for Events and Metrics
510
+
511
+ **Messaging**
512
+ - **create** support for sender registration
513
+ - **fetch** support for fetching a sender
514
+ - **update** support for sender verification
515
+
516
+ **Supersim**
517
+ - Add `Direction` filter parameter to list commands endpoint
518
+ - Allow filtering commands list by Sim Unique Name
519
+ - Add `Iccid` filter parameter to list sims endpoint
520
+
521
+ **Twiml**
522
+ - Add support for `<Refer>` verb
523
+
524
+
525
+ [2019-10-30] Version 5.29.0
526
+ ---------------------------
527
+ **Library**
528
+ - [PR #481](https://github.com/twilio/twilio-ruby/pull/481): added request validation for urls with and without ports. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
529
+ - [PR #480](https://github.com/twilio/twilio-ruby/pull/480): Update resources after sorting. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
530
+ - [PR #479](https://github.com/twilio/twilio-ruby/pull/479): Auto-deploy via Travis CI upon tagged commit to main. Thanks to [@thinkingserious](https://github.com/thinkingserious)!
531
+
532
+ **Api**
533
+ - Add new usage categories to the public api `sms-messages-carrierfees` and `mms-messages-carrierfees`
534
+
535
+ **Conversations**
536
+ - Add ProjectedAddress to Conversations Participant resource
537
+
538
+ **Preview**
539
+ - Implemented different `Sid` for Current Calls (Verified by Twilio), instead of relying in `Call.Sid` from Voice API team **(breaking change)**
540
+
541
+ **Supersim**
542
+ - Add List endpoint to Commands resource for Super Sim Pilot
543
+ - Add UsageRecords resource for the Super Sim Pilot
544
+ - Add List endpoint to UsageRecords resource for the Super Sim Pilot
545
+ - Allow assigning a Sim to a Fleet by Fleet SID or Unique Name for Super SIM Pilot
546
+ - Add Update endpoint to Fleets resource for Super Sim Pilot
547
+ - Add Fetch endpoint to Commands resource for Super Sim Pilot
548
+ - Allow filtering the Sims resource List endpoint by Fleet
549
+ - Add List endpoint to Fleets resource for Super Sim Pilot
550
+
551
+ **Wireless**
552
+ - Added `account_sid` to Sim update parameters.
553
+
554
+ **Twiml**
555
+ - Add new locales and voices for `Say` from Polly
556
+
557
+
558
+ [2019-10-16] Version 5.28.0
559
+ ---------------------------
560
+ **Library**
561
+ - [PR #476](https://github.com/twilio/twilio-ruby/pull/476): Update a few property types in the lookups and trunking responses. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
562
+ - [PR #477](https://github.com/twilio/twilio-ruby/pull/477): Update instance property ordering. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
563
+ - [PR #475](https://github.com/twilio/twilio-ruby/pull/475): Update the call price to be optional for deserializing. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
564
+ - [PR #474](https://github.com/twilio/twilio-ruby/pull/474): breaking: Correct video composition date types. Thanks to [@childish-sambino](https://github.com/childish-sambino)! **(breaking change)**
565
+
566
+ **Api**
567
+ - Add new property `attempt` to sms_messages
568
+ - Fixed a typo in the documentation for Feedback outcome enum **(breaking change)**
569
+ - Update the call price to be optional for deserializing **(breaking change)**
570
+
571
+ **Flex**
572
+ - Added `JanitorEnabled` attribute to Flex Flow
573
+ - Change `features_enabled` Flex Configuration key to private **(breaking change)**
574
+
575
+ **Supersim**
576
+ - Add Fetch endpoint to Fleets resource for Super Sim Pilot
577
+ - Allow assigning a Sim to a Fleet for Super Sim Pilot
578
+ - Add Create endpoint to Fleets resource for Super Sim Pilot
579
+
580
+ **Twiml**
581
+ - Update `<Conference>` rename "whisper" attribute to "coach" **(breaking change)**
582
+
583
+
584
+ [2019-10-02] Version 5.27.1
585
+ ---------------------------
586
+ **Library**
587
+ - [PR #473](https://github.com/twilio/twilio-ruby/pull/473): Wrap any Faraday error as a TwilioError. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
588
+ - [PR #472](https://github.com/twilio/twilio-ruby/pull/472): Fix the Dockerfile to use the latest Ruby 2.4 and ignore the Gem lock file. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
589
+
590
+ **Conversations**
591
+ - Add media to Conversations Message resource
592
+
593
+ **Supersim**
594
+ - Add List endpoint to Sims resource for Super Sim Pilot
595
+
596
+
597
+ [2019-09-18] Version 5.27.0
598
+ ----------------------------
599
+ **Library**
600
+ - [PR #470](https://github.com/twilio/twilio-ruby/pull/470): breaking: Catch and wrap Faraday client errors. Thanks to [@childish-sambino](https://github.com/childish-sambino)! **(breaking change)**
601
+ - [PR #471](https://github.com/twilio/twilio-ruby/pull/471): Drop support for Ruby < 2.4 and add 2.6. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
602
+ - [PR #468](https://github.com/twilio/twilio-ruby/pull/468): Add URI encoding for phone numbers. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
603
+ - [PR #469](https://github.com/twilio/twilio-ruby/pull/469): Add TwiML FaxResponse require to top-level file. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
604
+ - [PR #450](https://github.com/twilio/twilio-ruby/pull/450): Update encode64 to strict_encode64 in RequestValidator#build_signature_for. Thanks to [@kitallis](https://github.com/kitallis)!
605
+ - [PR #467](https://github.com/twilio/twilio-ruby/pull/467): Add a global configuration for the HTTP client. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
606
+ - [PR #466](https://github.com/twilio/twilio-ruby/pull/466): Use the 'base_url' instead of the 'host' for HTTP client URL. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
607
+
608
+ **Numbers**
609
+ - Add v2 of the Identites API
610
+
611
+ **Preview**
612
+ - Changed authentication method for SDK Trusted Comms endpoints: `/CPS`, `/CurrentCall`, and `/Devices`. Please use `Authorization: Bearer <xCNAM JWT>` **(breaking change)**
613
+
614
+ **Voice**
615
+ - Add Recordings endpoints
616
+
617
+
618
+ [2019-09-04] Version 5.26.0
619
+ ----------------------------
620
+ **Library**
621
+ - [PR #463](https://github.com/twilio/twilio-ruby/pull/463): Reduce line length to satisfy rubocop constraints. Thanks to [@igracia](https://github.com/igracia)!
622
+ - [PR #399](https://github.com/twilio/twilio-ruby/pull/399): breaking: Added proxy protocol to HTTP Client constructor. Thanks to [@po5i](https://github.com/po5i)! **(breaking change)**
623
+ - [PR #462](https://github.com/twilio/twilio-ruby/pull/462): Correct 'delete' method doc to indicate 'false' when resource not deleted. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
624
+ - [PR #441](https://github.com/twilio/twilio-ruby/pull/441): Link to actual documentation. Thanks to [@alexford](https://github.com/alexford)!
625
+
626
+ **Api**
627
+ - Pass Twiml in call update request
628
+
629
+ **Conversations**
630
+ - Add attributes to Conversations resources
631
+
632
+ **Flex**
633
+ - Adding `features_enabled` and `serverless_service_sids` to Flex Configuration
634
+
635
+ **Messaging**
636
+ - Message API required params updated **(breaking change)**
637
+
638
+ **Preview**
639
+ - Added support for the optional `CallSid` to `/BrandedCalls` endpoint
640
+
641
+
642
+ [2019-08-21] Version 5.25.4
643
+ ----------------------------
644
+ **Library**
645
+ - [PR #460](https://github.com/twilio/twilio-ruby/pull/460): Update the IP messaging domain name to be 'chat'. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
646
+ - [PR #458](https://github.com/twilio/twilio-ruby/pull/458): Update TwiML docs for naming overrides. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
647
+
648
+ **Conversations**
649
+ - Add Chat Conversation SID to conversation default output properties
650
+
651
+ **Flex**
652
+ - Adding `outbound_call_flows` object to Flex Configuration
653
+ - Adding read and fetch to channels API
654
+
655
+ **Supersim**
656
+ - Add Sims and Commands resources for the Super Sim Pilot
657
+
658
+ **Sync**
659
+ - Added configuration option for enabling webhooks from REST.
660
+
661
+ **Wireless**
662
+ - Added `usage_notification_method` and `usage_notification_url` properties to `rate_plan`.
663
+
664
+ **Twiml**
665
+ - Add support for `ach-debit` transactions in `Pay` verb
666
+
667
+
668
+ [2019-08-05] Version 5.25.3
669
+ ----------------------------
670
+ **Preview**
671
+ - Added support for the header `Twilio-Sandbox-Mode` to mock all Voice dependencies
672
+
673
+ **Twiml**
674
+ - Add support for `<Siprec>` noun
675
+ - Add support for `<Stream>` noun
676
+ - Create verbs `<Start>` and `<Stop>`
677
+
678
+
679
+ [2019-07-24] Version 5.25.2
680
+ ----------------------------
681
+ **Insights**
682
+ - Added `properties` to summary.
683
+
684
+ **Preview**
685
+ - Added endpoint to brand a call without initiating it, so it can be initiated manually by the Customer
686
+
687
+ **Twiml**
688
+ - Update `<Conference>` recording events **(breaking change)**
689
+
690
+
691
+ [2019-07-10] Version 5.25.1
692
+ ----------------------------
693
+ **Api**
694
+ - Make `friendly_name` optional for applications create
695
+ - Add new property `as_of` date to Usage Record API calls
696
+
697
+ **Wireless**
698
+ - Added Usage Records resource.
699
+
700
+
701
+ [2019-06-26] Version 5.25.0
702
+ ----------------------------
703
+ **Autopilot**
704
+ - Adds two new properties in Assistant i.e needs_model_build and development_stage
705
+
706
+ **Preview**
707
+ - Changed phone numbers from _URL|Path_ to `X-XCNAM-Sensitive` headers **(breaking change)**
708
+
709
+ **Verify**
710
+ - Add `MessagingConfiguration` resource to verify service
711
+
712
+
713
+ [2019-06-12] Version 5.24.0
714
+ ----------------------------
715
+ **Autopilot**
716
+ - Add Webhooks resource to Autopilot Assistant.
717
+
718
+ **Flex**
719
+ - Added missing 'custom' type to Flex Flow
720
+ - Adding `integrations` to Flex Configuration
721
+
722
+ **Insights**
723
+ - Added attributes to summary.
724
+
725
+ **Messaging**
726
+ - Message API Create updated with conditional params **(breaking change)**
727
+
728
+ **Proxy**
729
+ - Document that Proxy will return a maximum of 100 records for read/list endpoints **(breaking change)**
730
+ - Remove non-updatable property parameters for Session update (mode, participants) **(breaking change)**
731
+
732
+ **Sync**
733
+ - Added reachability debouncing configuration options.
734
+
735
+ **Verify**
736
+ - Add `RateLimits` and `Buckets` resources to Verify Services
737
+ - Add `RateLimits` optional parameter on `Verification` creation.
738
+
739
+ **Twiml**
740
+ - Fix `<Room>` participantIdentity casing
741
+
742
+
743
+ [2019-05-29] Version 5.23.1
744
+ ----------------------------
745
+ **Verify**
746
+ - Add `approved` to status enum
747
+
748
+
749
+ [2019-05-15] Version 5.23.0
750
+ ----------------------------
751
+ **Api**
752
+ - Make `method` optional for queue members update
753
+
754
+ **Chat**
755
+ - Removed `webhook.*.format` update parameters in Service resource from public library visibility in v1 **(breaking change)**
756
+
757
+ **Insights**
758
+ - Added client metrics as sdk_edge to summary.
759
+ - Added optional query param processing_state.
760
+
761
+ **Numbers**
762
+ - Add addtional metadata fields on a Document
763
+ - Add status callback fields and parameters
764
+
765
+ **Taskrouter**
766
+ - Added `channel_optimized_routing` attribute to task-channel endpoint
767
+
768
+ **Video**
769
+ - [Rooms] Add Video Subscription API
770
+
771
+ **Wireless**
772
+ - Added `imei` to Data Session resource.
773
+ - Remove `imeisv` from Data Session resource. **(breaking change)**
774
+
775
+
776
+ [2019-05-01] Version 5.22.3
777
+ ----------------------------
778
+ **Serverless**
779
+ - Documentation
780
+
781
+ **Wireless**
782
+ - Added `imeisv` to Data Session resource.
783
+
784
+
785
+ [2019-04-24] Version 5.22.2
786
+ ----------------------------
787
+ **Api**
788
+ - Add `verified` property to Addresses
789
+
790
+ **Numbers**
791
+ - Add API for Identites and documents
792
+
793
+ **Proxy**
794
+ - Add in use count on number instance
795
+
796
+
797
+ [2019-04-12] Version 5.22.1
798
+ ----------------------------
799
+ **Flex**
800
+ - Adding PluginService to Flex Configuration
801
+
802
+ **Numbers**
803
+ - Add API for Proof of Addresses
804
+
805
+ **Proxy**
806
+ - Clarify documentation for Service and Session fetch
807
+
808
+ **Serverless**
809
+ - Serverless scaffolding
810
+
811
+
812
+ [2019-03-28] Version 5.22.0
813
+ ----------------------------
814
+ **Api**
815
+ - Remove optional `if_machine` call create parameter from helper libraries **(breaking change)**
816
+ - Changed `call_sid` path parameter type on QueueMember fetch and update requests **(breaking change)**
817
+
818
+ **Voice**
819
+ - changed file names to dialing_permissions prefix **(breaking change)**
820
+
821
+ **Wireless**
822
+ - Added `ResetStatus` property to Sim resource to allow resetting connectivity via the API.
823
+
824
+
825
+ [2019-03-15] Version 5.21.2
826
+ ----------------------------
827
+ **Library**
828
+ - PR #444: Add Help Center and Support Ticket links to the README. Thanks to @childish-sambino!
829
+
830
+ **Api**
831
+ - Add `machine_detection_speech_threshold`, `machine_detection_speech_end_threshold`, `machine_detection_silence_timeout` optional params to Call create request
832
+
833
+ **Flex**
834
+ - Adding Flex Channel Orchestration
835
+ - Adding Flex Flow
836
+
837
+
838
+ [2019-03-06] Version 5.21.1
839
+ ----------------------------
840
+ **Twiml**
841
+ - Add `de1` to `<Conference>` regions
842
+
843
+
844
+ [2019-03-01] Version 5.21.0
845
+ ----------------------------
846
+ **Api**
847
+ - Make conference participant preview parameters public
848
+
849
+ **Authy**
850
+ - Added support for FactorType and FactorStrength for Factors and Challenges
851
+
852
+ **Iam**
853
+ - First public release
854
+
855
+ **Verify**
856
+ - Add endpoint to update/cancel a Verification **(breaking change)**
857
+
858
+ **Video**
859
+ - [Composer] Make RoomSid mandatory **(breaking change)**
860
+ - [Composer] Add `enqueued` state to Composition
861
+
862
+ **Twiml**
863
+ - Update message body to not be required for TwiML `Dial` noun.
864
+
865
+
866
+ [2019-02-15] Version 5.20.1
867
+ ----------------------------
868
+ **Library**
869
+ - PR #438: Add a Ruby inspect method to Context classes. Thanks to @childish-sambino!
870
+
871
+ **Api**
872
+ - Add `force_opt_in` optional param to Messages create request
873
+ - Add agent conference category to usage records
874
+
875
+ **Flex**
876
+ - First public release
877
+
878
+ **Taskrouter**
879
+ - Adding `reject_pending_reservations` to worker update endpoint
880
+ - Added `event_date_ms` and `worker_time_in_previous_activity_ms` to Events API response
881
+ - Add ability to filter events by TaskChannel
882
+
883
+ **Verify**
884
+ - Add `EnablePsd2` optional parameter for PSD2 on Service resource creation or update.
885
+ - Add `Amount`, `Payee` optional parameters for PSD2.
886
+
887
+
888
+ [2019-02-04] Version 5.20.0
889
+ ----------------------------
890
+ **Library**
891
+ - PR #437: Switch body validator to use hex instead of base64. Thanks to @cjcodes!
892
+
893
+ **Video**
894
+ - [Recordings] Add media type filter to list operation
895
+ - [Composer] Filter Composition Hook resources by FriendlyName
896
+
897
+ **Twiml**
898
+ - Update `language` enum for `Gather` to fix language code for Filipino (Philippines) and include additional supported languages **(breaking change)**
67
899
 
68
- Version 4.6.2
69
- -------------
70
900
 
71
- Release November 19, 2015
901
+ [2019-01-11] Version 5.19.0
902
+ ----------------------------
903
+ **Library**
904
+ - PR #436: Remove jruby-openssl requirement. Thanks to @philnash!
72
905
 
73
- - Fix Pricing Messages
906
+ **Chat**
907
+ - Mark Member attributes as PII
74
908
 
75
- Version 4.6.1
909
+ **Insights**
910
+ - Initial revision.
911
+
912
+ **Proxy**
913
+ - Remove unsupported query parameters **(breaking change)**
914
+ - Remove invalid session statuses in doc
915
+
916
+ **Verify**
917
+ - Add `lookup` information in the response when creating a new verification (depends on the LookupEnabled flag being enabled at the service level)
918
+ - Add `VerificationSid` optional parameter on Verification check.
919
+
920
+
921
+ [2018-12-17] Version 5.18.0
922
+ ----------------------------
923
+ **Authy**
924
+ - Reverted the change to `FactorType` and `FormType`, avoiding conflicts with Helper Libraries reserved words (`type`) **(breaking change)**
925
+
926
+ **Proxy**
927
+ - Remove incorrect parameter for Session List
928
+
929
+ **Studio**
930
+ - Support date created filtering on list of executions
931
+
932
+ **Taskrouter**
933
+ - Adding ability to Create, Modify and Delete Task Channels.
934
+
935
+ **Verify**
936
+ - Add `SkipSmsToLandlines`, `TtsName`, `DtmfInputRequired` optional parameters on Service resource creation or update.
937
+
938
+ **Wireless**
939
+ - Added delete action on Command resource.
940
+ - Added delete action on Sim resource.
941
+
942
+ **Twiml**
943
+ - Change `currency` from enum to string for `Pay` **(breaking change)**
944
+
945
+
946
+ [2018-11-30] Version 5.17.0
947
+ ----------------------------
948
+ **Api**
949
+ - Add `interactive_data` optional param to Messages create request
950
+
951
+ **Authy**
952
+ - Required authentication for `/v1/Forms/{type}` endpoint **(breaking change)**
953
+ - Removed `Challenge.reason` to `Challenge.responded_reason`
954
+ - Removed `verification_sid` from Challenge responses
955
+ - Removed `config` param from the Factor creation
956
+ - Replaced all occurrences of `FactorType` and `FormType` in favor of a unified `Type` **(breaking change)**
957
+
958
+ **Chat**
959
+ - Add Member attributes
960
+
961
+ **Preview**
962
+ - Removed `Authy` version from `preview` subdomain in favor to `authy` subdomain. **(breaking change)**
963
+
964
+ **Verify**
965
+ - Add `CustomCode` optional parameter on Verication creation.
966
+
967
+
968
+ [2018-11-16] Version 5.16.0
969
+ ----------------------------
970
+ **Messaging**
971
+ - Session API
972
+
973
+ **Twiml**
974
+ - Change `master-card` to `mastercard` as `cardType` for `Pay` and `Prompt`, remove attribute `credential_sid` from `Pay` **(breaking change)**
975
+
976
+
977
+ [2018-10-29] Version 5.15.2
978
+ ----------------------------
979
+ **Api**
980
+ - Add new Balance resource:
981
+ - url: '/v1/Accounts/{account sid}/Balance'
982
+ - supported methods: GET
983
+ - returns the balance of the account
984
+
985
+ **Proxy**
986
+ - Add chat_instance_sid to Service
987
+
988
+ **Verify**
989
+ - Add `Locale` optional parameter on Verification creation.
990
+
991
+
992
+ [2018-10-15] Version 5.15.1
993
+ ----------------------------
994
+ **Api**
995
+ - Add <Pay> Verb Transactions category to usage records
996
+
997
+ **Twiml**
998
+ - Add support for `Pay` verb
999
+
1000
+
1001
+ [2018-10-15] Version 5.15.0
1002
+ ----------------------------
1003
+ **Library**
1004
+ - PR #428: Fix custom param tests. Thanks to @ryan-rowland!
1005
+
1006
+ **Api**
1007
+ - Add `coaching` and `call_sid_to_coach` to participant properties, create and update requests.
1008
+
1009
+ **Authy**
1010
+ - Set public library visibility, and added PII stanza
1011
+ - Dropped support for `FactorType` param given new Factor prefixes **(breaking change)**
1012
+ - Supported `DELETE` actions for Authy resources
1013
+ - Move Authy Services resources to `authy` subdomain
1014
+
1015
+ **Autopilot**
1016
+ - Introduce `autopilot` subdomain with all resources from `preview.understand`
1017
+
1018
+ **Preview**
1019
+ - Renamed Understand intent to task **(breaking change)**
1020
+ - Deprecated Authy endpoints from `preview` to `authy` subdomain
1021
+
1022
+ **Taskrouter**
1023
+ - Allow TaskQueue ReservationActivitySid and AssignmentActivitySid to not be configured for MultiTask Workspaces
1024
+
1025
+ **Verify**
1026
+ - Add `LookupEnabled` optional parameter on Service resource creation or update.
1027
+ - Add `SendDigits` optional parameter on Verification creation.
1028
+ - Add delete action on Service resourse.
1029
+
1030
+ **Twiml**
1031
+ - Add custom parameters to TwiML `Client` noun and renamed the optional `name` field to `identity`. This is a breaking change in Ruby, and applications will need to transition from `dial.client ''` and `dial.client 'alice'` formats to `dial.client` and `dial.client(identity: alice)` formats. **(breaking change)**
1032
+
1033
+
1034
+ [2018-10-04] Version 5.14.1
1035
+ ----------------------------
1036
+ **Twiml**
1037
+ - Add `debug` to `Gather`
1038
+ - Add `participantIdentity` to `Room`
1039
+
1040
+
1041
+ [2018-09-28] Version 5.14.0
1042
+ ----------------------------
1043
+ **Api**
1044
+ - Set `call_sid_to_coach` parameter in participant to be `preview`
1045
+
1046
+ **Preview**
1047
+ - Renamed response headers for Challenge and Factors Signatures
1048
+ - Supported `totp` in Authy preview endpoints
1049
+ - Allowed `latest` in Authy Challenges endpoints
1050
+
1051
+ **Video**
1052
+ - [Composer] Add Composition Hook resources
1053
+
1054
+ **Voice**
1055
+ - changed path param name from parent_iso_code to iso_code for highrisk_special_prefixes api **(breaking change)**
1056
+ - added geo permissions public api
1057
+
1058
+
1059
+ [2018-09-20] Version 5.13.0
1060
+ ----------------------------
1061
+ **Preview**
1062
+ - Add `Form` resource to Authy preview given a `form_type`
1063
+ - Add Authy initial api-definitions in the 4 main resources: Services, Entities, Factors, Challenges
1064
+
1065
+ **Pricing**
1066
+ - add voice_numbers resource (v2)
1067
+
1068
+ **Verify**
1069
+ - Move from preview to beta **(breaking change)**
1070
+
1071
+
1072
+ [2018-08-31] Version 5.12.4
1073
+ ----------------------------
1074
+ **Library**
1075
+ - PR #427: VCORE-3651 Add support for *for* attribute in twiml element. Thanks to @nmahure!
1076
+
1077
+ **Api**
1078
+ - Add `call_sid_to_coach` parameter to participant create request
1079
+ - Add `voice_receive_mode` param to IncomingPhoneNumbers create
1080
+
1081
+ **Video**
1082
+ - [Recordings] Expose `offset` property in resource
1083
+
1084
+
1085
+ [2018-08-23] Version 5.12.3
1086
+ ----------------------------
1087
+ **Chat**
1088
+ - Add User Channel instance resource
1089
+
1090
+
1091
+ [2018-08-17] Version 5.12.2
1092
+ ----------------------------
1093
+ **Api**
1094
+ - Add Proxy Active Sessions category to usage records
1095
+
1096
+ **Preview**
1097
+ - Add `Actions` endpoints and remove `ResponseUrl` from assistants on the Understand api
1098
+
1099
+ **Pricing**
1100
+ - add voice_country resource (v2)
1101
+
1102
+
1103
+ [2018-08-09] Version 5.12.1
1104
+ ----------------------------
1105
+ **Library**
1106
+ - PR #426: Add a test showing how to emit "interpret-as". Thanks to @ekarson!
1107
+
1108
+ **Studio**
1109
+ - Studio is now GA
1110
+
1111
+
1112
+ [2018-08-03] Version 5.12.0
1113
+ ----------------------------
1114
+ **Library**
1115
+ - PR #420: Tag and push Docker latest image when deploying with TravisCI. Thanks to @jonatasbaldin!
1116
+
1117
+ **Chat**
1118
+ - Make message From field updatable
1119
+ - Add REST API webhooks
1120
+
1121
+ **Notify**
1122
+ - Removing deprecated `segments`, `users`, `segment_memberships`, `user_bindings` classes from helper libraries. **(breaking change)**
1123
+
1124
+ **Preview**
1125
+ - Add new Intent Statistics endpoint
1126
+ - Remove `ttl` from Assistants
1127
+
1128
+ **Twiml**
1129
+ - Add `Connect` and `Room` for Programmable Video Rooms
1130
+
1131
+
1132
+ [2018-07-26] Version 5.11.2
1133
+ ----------------------------
1134
+ **Library**
1135
+ - PR #424: Fix Say example in README.md. Thanks to @HuipengRen!
1136
+
1137
+ **Api**
1138
+ - Add support for sip domains to map credential lists for registrations
1139
+
1140
+ **Preview**
1141
+ - Remove `ttl` from Assistants
1142
+
1143
+ **Proxy**
1144
+ - Enable setting a proxy number as reserved
1145
+
1146
+ **Twiml**
1147
+ - Add support for SSML lang tag on Say verb
1148
+
1149
+
1150
+ [2018-07-17] Version 5.11.1
1151
+ ----------------------------
1152
+ **Library**
1153
+ - PR #422: Add attribute overrides from generated code. Thanks to @cjcodes!
1154
+
1155
+ **Video**
1156
+ - Add `group-small` room type
1157
+
1158
+
1159
+ [2018-07-16] Version 5.11.0
1160
+ ----------------------------
1161
+ **Library**
1162
+ - PR #421: Fix TwiML Say verb spec. Thanks to @HuipengRen!
1163
+ - PR #419: Add a request body validator. Thanks to @cjcodes!
1164
+ - PR #418: Remove support for ruby 2.0 and 2.1, adds 2.5. Thanks to @cjcodes!
1165
+
1166
+ **Twiml**
1167
+ - Add support for SSML on Say verb, the message body is changed to be optional **(breaking change)**
1168
+
1169
+
1170
+ [2018-07-11] Version 5.10.7
1171
+ ----------------------------
1172
+ **Api**
1173
+ - Add `cidr_prefix_length` param to SIP IpAddresses API
1174
+
1175
+ **Studio**
1176
+ - Add new /Execution endpoints to begin Engagement -> Execution migration
1177
+
1178
+ **Video**
1179
+ - [Rooms] Allow deletion of individual recordings from a room
1180
+
1181
+
1182
+ [2018-07-05] Version 5.10.6
1183
+ ----------------------------
1184
+ **Library**
1185
+ - PR #413: Add Dockerfile and related changes to build the Docker image. Thanks to @jonatasbaldin!
1186
+
1187
+ **Api**
1188
+ - Release `Call Recording Controls` feature support in helper libraries
1189
+ - Add Voice Insights sub-category keys to usage records
1190
+
1191
+
1192
+ [2018-06-21] Version 5.10.5
1193
+ ----------------------------
1194
+ **Library**
1195
+ - PR #414: Added test for mixed content. Thanks to @ekarson!
1196
+
1197
+ **Video**
1198
+ - Allow user to set `ContentDisposition` when obtaining media URLs for Room Recordings and Compositions
1199
+ - Add Composition Settings resource
1200
+
1201
+
1202
+ [2018-06-19] Version 5.10.4
1203
+ ----------------------------
1204
+ **Library**
1205
+ - PR #412: Allow adding TwiML children with generic tag names. Thanks to @ekarson!
1206
+ - PR #408: Add validate_ssl_certificate helper method to Client. Thanks to @ekarson!
1207
+ - PR #410: Allow adding text nodes to TwiML responses. Thanks to @ekarson!
1208
+
1209
+ **Api**
1210
+ - Add Fraud Lookups category to usage records
1211
+
1212
+ **Twiml**
1213
+ - Add methods to helper libraries to inject arbitrary text under a TwiML node
1214
+
1215
+
1216
+ [2018-06-04] Version 5.10.3
1217
+ ----------------------------
1218
+ **Library**
1219
+ - PR #409: Switch to single quotes for rubocop. Thanks to @cjcodes!
1220
+ - PR #407: Allows developers to add comments to TwiML. Thanks to @philnash!
1221
+ - PR #405: Update description. Thanks to @efossier!
1222
+
1223
+ **Chat**
1224
+ - Add Binding and UserBinding documentation
1225
+
1226
+ **Lookups**
1227
+ - Add back support for `fraud` lookup type
1228
+
1229
+
1230
+ [2018-05-25] Version 5.10.2
1231
+ ----------------------------
1232
+ **Studio**
1233
+ - Add endpoint to delete engagements
1234
+
1235
+
1236
+ [2018-05-18] Version 5.10.1
1237
+ ----------------------------
1238
+ **Api**
1239
+ - Add more programmable video categories to usage records
1240
+ - Add 'include_subaccounts' parameter to all variation of usage_record fetch
1241
+
1242
+ **Trunking**
1243
+ - Added cnam_lookup_enabled parameter to Trunk resource.
1244
+ - Added case-insensitivity for recording parameter to Trunk resource.
1245
+
1246
+
1247
+ [2018-05-11] Version 5.10.0
1248
+ ----------------------------
1249
+ **Chat**
1250
+ - Add Channel Webhooks resource
1251
+
1252
+ **Monitor**
1253
+ - Update event filtering to support date/time **(breaking change)**
1254
+
1255
+ **Wireless**
1256
+ - Updated `maturity` to `ga` for all wireless apis
1257
+
1258
+
1259
+ [2018-04-27] Version 5.9.0
1260
+ ---------------------------
1261
+ **Library**
1262
+ - PR #403: Adds frozen_string_literal magic comment. Thanks to @philnash!
1263
+
1264
+ **Video**
1265
+ - Redesign API by adding custom `VideoLayout` object. **(breaking change)**
1266
+
1267
+
1268
+ [2018-04-20] Version 5.8.1
1269
+ ---------------------------
1270
+ **Library**
1271
+ - PR #397: Uses Twilio::REST::RestError when a page fails to load. Thanks to @philnash!
1272
+
1273
+ **Twiml**
1274
+ - Gather input Enum: remove unnecessary "dtmf speech" value as you can now specify multiple enum values for this parameter and both "dtmf" and "speech" are already available.
1275
+
1276
+
1277
+ [2018-04-13] Version 5.8.0
1278
+ ---------------------------
1279
+ **Library**
1280
+ - PR #389: Add incoming.allow to AccessToken VoiceGrant. Thanks to @ryan-rowland!
1281
+ - PR #391: Improves error message for Twilio::REST::RestError. Thanks to @philnash!
1282
+
1283
+ **Lookups**
1284
+ - Disable support for `fraud` lookups **(breaking change)**
1285
+
1286
+ **Preview**
1287
+ - Support for Understand V2 APIs - renames various resources and adds new fields
1288
+
1289
+ **Studio**
1290
+ - Change parameters type from string to object in engagement resource
1291
+
1292
+ **Video**
1293
+ - [Recordings] Change `size` type to `long`. **(breaking change)**
1294
+
1295
+
1296
+ [2018-03-22] Version 5.7.2
1297
+ ---------------------------
1298
+ **Preview**
1299
+ - Add `BuildDuration` and `ErrorCode` to Understand ModelBuild
1300
+
1301
+ **Studio**
1302
+ - Add new /Context endpoint for step and engagement resources.
1303
+
1304
+
1305
+ [2018-03-09] Version 5.7.1
1306
+ ---------------------------
1307
+ **Api**
1308
+ - Add `caller_id` param to Outbound Calls API
1309
+ - Release `trim` recording Outbound Calls API functionality in helper libraries
1310
+
1311
+ **Video**
1312
+ - Add `room_sid` to Composition resource.
1313
+
1314
+ **Twiml**
1315
+ - Adds support for passing in multiple input type enums when setting `input` on `Gather`
1316
+
1317
+
1318
+ [2018-03-02] Version 5.7.0
1319
+ ---------------------------
1320
+ **TwiML**
1321
+ - Allow newlines in TwiML content. Better XML configuration in general.
1322
+
1323
+ **Studio**
1324
+ - Add new /Context endpoint for step and engagement resources. Removes the context property from existing step and engagement resources. *(breaking change)*
1325
+
1326
+
1327
+ [2018-02-23] Version 5.6.4
1328
+ ---------------------------
1329
+ **Library**
1330
+ - PR #385 - Fix ClientCapability appParams
1331
+
1332
+ **Api**
1333
+ - Add `trim` param to Outbound Calls API
1334
+
1335
+ **Lookups**
1336
+ - Add support for `fraud` lookup type
1337
+
1338
+ **Numbers**
1339
+ - Initial Release
1340
+
1341
+ **Video**
1342
+ - [composer] Add `SEQUENCE` value to available layouts, and `trim` and `reuse` params.
1343
+
1344
+
1345
+ [2018-02-09] Version 5.6.3
1346
+ ---------------------------
1347
+ **Api**
1348
+ - Add `AnnounceUrl` and `AnnounceMethod` params for conference announce
1349
+
1350
+ **Chat**
1351
+ - Add support to looking up user channels by identity in v1
1352
+
1353
+
1354
+ [2018-01-30] Version 5.6.2
1355
+ ---------------------------
1356
+ **Api**
1357
+ - Add `studio-engagements` usage key
1358
+
1359
+ **Preview**
1360
+ - Remove Studio Engagement Deletion
1361
+
1362
+ **Studio**
1363
+ - Initial Release
1364
+
1365
+ **Video**
1366
+ - [omit] Beta: Allow updates to `SubscribedTracks`.
1367
+ - Add `SubscribedTracks`.
1368
+ - Add track name to Video Recording resource
1369
+ - Add Composition and Composition Media resources
1370
+
1371
+
1372
+ [2018-01-22] Version 5.6.1
1373
+ ---------------------------
1374
+ **Api**
1375
+ - Add `conference_sid` property on Recordings
1376
+ - Add proxy and sms usage key
1377
+
1378
+ **Chat**
1379
+ - Make user channels accessible by identity
1380
+ - Add notifications logs flag parameter
1381
+
1382
+ **Fax**
1383
+ - Added `ttl` parameter
1384
+ `ttl` is the number of minutes a fax is considered valid.
1385
+
1386
+ **Preview**
1387
+ - Add `call_delay`, `extension`, `verification_code`, and `verification_call_sids`.
1388
+ - Add `failure_reason` to HostedNumberOrders.
1389
+ - Add DependentHostedNumberOrders endpoint for AuthorizationDocuments preview API.
1390
+
1391
+
1392
+ [2017-12-15] Version 5.6.0
1393
+ ---------------------------
1394
+ **Api**
1395
+ - Add `voip`, `national`, `shared_cost`, and `machine_to_machine` sub-resources to `/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{IsoCountryCode}/`
1396
+ - Add programmable video keys
1397
+
1398
+ **Preview**
1399
+ - Add `verification_type` and `verification_document_sid` to HostedNumberOrders.
1400
+
1401
+ **Proxy**
1402
+ - Fixed typo in session status enum value
1403
+
1404
+ **Twiml**
1405
+ - Fix Dial record property incorrectly typed as accepting TrimEnum values when it actually has its own enum of values. *(breaking change)*
1406
+ - Add `priority` and `timeout` properties to Task TwiML.
1407
+ - Add support for `recording_status_callback_event` for Dial verb and for Conference
1408
+
1409
+
1410
+ [2017-12-01] Version 5.5.1
1411
+ ---------------------------
1412
+ **Api**
1413
+ - Use the correct properties for Dependent Phone Numbers of an Address *(breaking change)*
1414
+ - Update Call Recordings with the correct properties
1415
+
1416
+ **Preview**
1417
+ - Add `status` and `email` query param filters for AuthorizationDocument list endpoint
1418
+
1419
+ **Proxy**
1420
+ - Added DELETE support to Interaction
1421
+ - Standardized enum values to dash-case
1422
+ - Rename Service#friendly_name to Service#unique_name
1423
+
1424
+ **Video**
1425
+ - Remove beta flag from `media_region` and `video_codecs`
1426
+
1427
+ **Wireless**
1428
+ - Bug fix: Changed `operator_mcc` and `operator_mnc` in `DataSessions` subresource from `integer` to `string`
1429
+
1430
+
1431
+ [2017-11-17] Version 5.5.0
1432
+ ---------------------------
1433
+ **Sync**
1434
+ - Add TTL support for Sync objects *(breaking change)*
1435
+ - The required `data` parameter on the following actions is now optional: "Update Document", "Update Map Item", "Update List Item"
1436
+ - New actions available for updating TTL of Sync objects: "Update List", "Update Map", "Update Stream"
1437
+
1438
+ **Video**
1439
+ - [bi] Rename `RoomParticipant` to `Participant`
1440
+ - Add Recording Settings resource
1441
+ - Expose EncryptionKey and MediaExternalLocation properties in Recording resource
1442
+
1443
+
1444
+ [2017-11-10] Version 5.4.5
1445
+ ---------------------------
1446
+ **Accounts**
1447
+ - Add AWS credential type
1448
+
1449
+ **Preview**
1450
+ - Removed `iso_country` as required field for creating a HostedNumberOrder.
1451
+
1452
+ **Proxy**
1453
+ - Added new fields to Service: geo_match_level, number_selection_behavior, intercept_callback_url, out_of_session_callback_url
1454
+
1455
+
1456
+ [2017-11-03] Version 5.4.4
1457
+ ---------------------------
1458
+ **Library**
1459
+ - PR #365: Fixed proxy interpolation. Thanks @ankane.
1460
+
1461
+ **Api**
1462
+ - Add programmable video keys
1463
+
1464
+ **Video**
1465
+ - Add `Participants`
1466
+
1467
+
1468
+ [2017-10-27] Version 5.4.3
1469
+ ---------------------------
1470
+ **Chat**
1471
+ - Add Binding resource
1472
+ - Add UserBinding resource
1473
+
1474
+
1475
+ [2017-10-20] Version 5.4.2
1476
+ ---------------------------
1477
+ **Library**
1478
+ - #360 Fix downcasing twiml parameters that are not snake_case
1479
+
1480
+ [2017-10-20] Version 5.4.1
1481
+ ---------------------------
1482
+ **Library**
1483
+ - #359 Correctly set headers on Twilio::Response
1484
+
1485
+ **Api**
1486
+ - Add `address_sid` param to IncomingPhoneNumbers create and update
1487
+ - Add 'fax_enabled' option for Phone Number Search
1488
+
1489
+
1490
+ [2017-10-13] Version 5.4.0
1491
+ ---------------------------
1492
+ **Api**
1493
+ - Add `smart_encoded` param for Messages
1494
+ - Add `identity_sid` param to IncomingPhoneNumbers create and update
1495
+
1496
+ **Preview**
1497
+ - Make 'address_sid' and 'email' optional fields when creating a HostedNumberOrder
1498
+ - Add AuthorizationDocuments preview API.
1499
+
1500
+ **Proxy**
1501
+ - Initial Release
1502
+
1503
+ **Wireless**
1504
+ - Added `ip_address` to sim resource
1505
+
1506
+
1507
+ [2017-10-06] Version 5.3.1
1508
+ ---------------------------
1509
+ **Preview**
1510
+ - Add `acc_security` (authy-phone-verification) initial api-definitions
1511
+
1512
+ **Taskrouter**
1513
+ - [bi] Less verbose naming of cumulative and real time statistics
1514
+
1515
+
1516
+ [2017-09-29] Version 5.3.0
1517
+ ---------------------------
1518
+ **Library**
1519
+ - Remove left over files from legacy 4.x library
1520
+
1521
+ **Chat**
1522
+ - Make member accessible through identity
1523
+ - Make channel subresources accessible by channel unique name
1524
+ - Set get list 'max_page_size' parameter to 100
1525
+ - Add service instance webhook retry configuration
1526
+ - Add media message capability
1527
+ - Make `body` an optional parameter on Message creation. *(breaking change)*
1528
+
1529
+ **Notify**
1530
+ - `data`, `apn`, `gcm`, `fcm`, `sms` parameters in `Notifications` create resource now accept objects (hashes) instead of strings. Passing manually stringified json will continue to work.
1531
+
1532
+ **Taskrouter**
1533
+ - Add new query ability by TaskChannelSid or TaskChannelUniqueName
1534
+ - Move Events, Worker, Workers endpoint over to CPR
1535
+ - Add new RealTime and Cumulative Statistics endpoints
1536
+
1537
+ **Video**
1538
+ - Create should allow an array of video_codecs.
1539
+ - Add video_codecs as a property of room to make it externally visible.
1540
+
1541
+
1542
+ [2017-09-15] Version 5.2.3
1543
+ ---------------------------
1544
+ **Api**
1545
+ - Add `sip_registration` property on SIP Domains
1546
+ - Add new video and market usage category keys
1547
+ - Add support for transferring IncomingPhoneNumbers between accounts.
1548
+
1549
+
1550
+ [2017-09-08] Version 5.2.2
1551
+ ---------------------------
1552
+ - Add configurable timeout to HttpClient
1553
+
1554
+ [2017-09-01] Version 5.2.1
1555
+ ---------------------------
1556
+ **Sync**
1557
+ - Add support for Streams
1558
+
1559
+ **Wireless**
1560
+ - Added DataSessions sub-resource to Sims.
1561
+
1562
+
1563
+ [2017-08-25] Version 5.2.0
1564
+ ---------------------------
1565
+ **Library**
1566
+ - Add `last_request`, `last_response` properties to http client for easier debugging.
1567
+ - Add `Request` class to abstract http client implementations.
1568
+ - Rename `TwilioResponse` to `Response` for consistency, deprecate `TwilioResponse` class.
1569
+ - Support libxml 2 and 3. Issue #315. Thanks @malmckay.
1570
+ - Add `inspect` methods to all classes. Thanks @malmckay.
1571
+
1572
+ **Api**
1573
+ - Update `status` enum for Recordings to include 'failed'
1574
+ - Add `error_code` property on Recordings
1575
+
1576
+ **Chat**
1577
+ - Add mutable parameters for channel, members and messages
1578
+
1579
+ **Video**
1580
+ - New `media_region` parameter when creating a room, which controls which region media will be served out of.
1581
+
1582
+
1583
+ [2017-08-18] Version 5.1.2
1584
+ ---------------------------
1585
+ **Api**
1586
+ - Add VoiceReceiveMode {'voice', 'fax'} option to IncomingPhoneNumber UPDATE requests
1587
+
1588
+ **Chat**
1589
+ - Add channel message media information
1590
+ - Add service instance message media information
1591
+
1592
+ **Preview**
1593
+ - Removed 'email' from bulk_exports configuration api [bi]. No migration plan needed because api has not been used yet.
1594
+ - Add DeployedDevices.
1595
+
1596
+ **Sync**
1597
+ - Add support for Service Instance unique names
1598
+
1599
+
1600
+ [2017-08-10] Version 5.1.1
1601
+ ---------------------------
1602
+ **Library**
1603
+ - Don't override Faraday default param encoder. Thanks to @isaacseymour. PR #309
1604
+ - Fix incorrectly aliased `to_xml` on TwiML classes. Thanks to @philnash. PR #318
1605
+ - Only define `to_s` on BaseJWT instead of subclasses. Thanks to @philnash. PR #321
1606
+ - Silence deprecation messages in testing. Thanks to @philnash. PR #323
1607
+
1608
+ **Api**
1609
+ - Add New wireless usage keys added
1610
+ - Add `auto_correct_address` param for Addresses create and update
1611
+
1612
+ **Video**
1613
+ - Add `video_codec` enum and `video_codecs` parameter, which can be set to either `VP8` or `H264` during room creation.
1614
+ - Restrict recordings page size to 100
1615
+
1616
+ **Chat**
1617
+ - Add ChatGrant to available access tokens.
1618
+ - Mark IpMessagingGrant as deprecated in favor of ChatGrant.
1619
+
1620
+
1621
+ [2017-07-27] Version 5.1.0
1622
+ ---------------------------
1623
+ This release adds Beta and Preview products to main artifact.
1624
+
1625
+ Previously, Beta and Preview products were only included in the alpha artifact.
1626
+ They are now being included in the main artifact to ease product
1627
+ discoverability and the collective operational overhead of maintaining multiple
1628
+ artifacts per library.
1629
+
1630
+ **Api**
1631
+ - Remove unused `encryption_type` property on Recordings *(breaking change)*
1632
+ - Update `status` enum for Messages to include 'accepted'
1633
+ - Update `AnnounceMethod` parameter naming for consistency
1634
+
1635
+ **Messaging**
1636
+ - Fix incorrectly typed capabilities property for PhoneNumbers.
1637
+
1638
+ **Notify**
1639
+ - Add `ToBinding` optional parameter on Notifications resource creation. Accepted values are json strings.
1640
+
1641
+ **Preview**
1642
+ - Add `sms_application_sid` to HostedNumberOrders.
1643
+ - Add `verification_attempts` to HostedNumberOrders.
1644
+
1645
+ **Taskrouter**
1646
+ - Fully support conference functionality in reservations.
1647
+
1648
+
1649
+ [2017-07-13] Version 5.0.0
1650
+ --------------------------------
1651
+ - Moving to General Availability
1652
+
1653
+ [2017-07-07] Version 5.0.0.rc26
1654
+ --------------------------------
1655
+ **Api**
1656
+ - [omit] Rachet /Keys and /SigningKeys
1657
+
1658
+ **Preview**
1659
+ - Add `status_callback_url` and `status_callback_method` to HostedNumberOrders.
1660
+
1661
+
1662
+ [2017-07-06] Version 5.0.0.rc25
1663
+ --------------------------------
1664
+ **Messaging**
1665
+ - Fix incorrectly typed capabilities property for PhoneNumbers.
1666
+
1667
+ **Notify**
1668
+ - Add `ToBinding` optional parameter on Notifications resource creation. Accepted values are json strings.
1669
+
1670
+ **Preview**
1671
+ - [omit] Enabled beta feature flag (api.vault.data-platform) for bulk_exports api
1672
+
1673
+ **Video**
1674
+ - Filter recordings by date using the parameters `DateCreatedAfter` and `DateCreatedBefore`.
1675
+ - Override the default time-to-live of a recording's media URL through the `Ttl` parameter (in seconds, default value is 3600).
1676
+ - Add query parameters `SourceSid`, `Status`, `DateCreatedAfter` and `DateCreatedBefore` to the convenience method for retrieving Room recordings.
1677
+
1678
+ **Wireless**
1679
+ - Added national and international data limits to the RatePlans resource.
1680
+
1681
+
1682
+ [2017-06-22] Version 5.0.0.rc24
1683
+ -------------------------------
1684
+ - Namespaced Policy, Grants, and Scope to their respective Token.
1685
+ - Added `announce_url` and `annouce_url_method` to Conference update.
1686
+ - Added `store_media` to Fax.
1687
+
1688
+ [2017-06-19] Version 5.0.0.rc23
1689
+ -------------------------------
1690
+ - Fixed ClientCapability parameter encoded bug.
1691
+ - Optional URL parameter for TwiML Play verb.
1692
+
1693
+ [2017-06-15] Version 5.0.0.rc22
1694
+ -------------------------------
1695
+ - Refactor JWT token constructors
1696
+
1697
+
1698
+ [2017-05-24] Version 5.0.0.rc21
1699
+ -------------------------------
1700
+ - Add HostedNumbers preview support.
1701
+ - Add Proxy preview support.
1702
+ - Add BulkExports preview support.
1703
+
1704
+ [2017-05-22] Version 5.0.0.rc20
1705
+ -------------------------------
1706
+ - Add Wireless Domain
1707
+ - Add Fax Domain
1708
+ - Add Video Domain
1709
+ - Updated Usage Trigger enums with missing categories.
1710
+ - Add `area_code_geomatch`, `validtiy_period`, `fallback_to_long_code` to Messaging Service
1711
+ - Converted `TwilioException` to `TwilioError`
1712
+
1713
+ [2017-04-27] Version 5.0.0.rc19
1714
+ -------------------------------
1715
+
1716
+ - Add chat v2.
1717
+ - Wireless rate plans updates.
1718
+ - Message `ValidityPeriod` parameter.
1719
+ - New Usage API categories.
1720
+
1721
+ Version 5.0.0.rc18
1722
+ -------------------------------
1723
+
1724
+ Release April 17, 2017
1725
+
1726
+ - Update VideoGrant access token to accept `room` instead of `configuration_profile_sid`
1727
+
1728
+ Version 5.0.0.rc16
1729
+ -------------------------------
1730
+
1731
+ Release September 1, 2016
1732
+
1733
+ - Add voice grant.
1734
+
1735
+ Version 5.0.0.rc8
76
1736
  -------------
77
1737
 
78
- Release November 10, 2015
1738
+ Release July 8, 2016
79
1739
 
80
- - Fix TrunkingClient references
1740
+ - Add SMS and Facebook Messenger for Notify
81
1741
 
82
- Version 4.6.0
1742
+ Version 5.0.0.rc7
83
1743
  -------------
84
1744
 
85
- Release October 28, 2015
1745
+ Release June 9, 2016
1746
+
1747
+ - Add messaging feedback support
86
1748
 
87
- - Add /Keys endpoint
88
1749
 
89
- Version 4.4.0
1750
+ Version 5.0.0.rc5
90
1751
  -------------
91
1752
 
92
- Release September 23, 2015
1753
+ Release May 31, 2016
93
1754
 
94
- - Add fetching a list of worker reservations
95
- - Add TaskRouter Workflow builder
1755
+ - Add preview.twilio.com/wireless support
96
1756
 
97
- Version 4.3.0
1757
+ Version 5.0.0.rc4
98
1758
  -------------
99
1759
 
100
- Release August 11, 2015
1760
+ Release March 28, 2016
101
1761
 
102
- - Add support for new Taskrouter JWT Functionality, JWTs now grant access to
103
- - Workspace
104
- - Worker
105
- - TaskQueue
1762
+ - Add notifications.twilio.com subdomain
106
1763
 
107
- Version 4.2.1
1764
+ Version 5.0.0
108
1765
  -------------
109
1766
 
110
- Release June 19, 2015
1767
+ Release January 29, 2016
111
1768
 
112
- - Allow passing URL parameters through when getting statistics for TaskRouter objects
113
- - URI encode phone number lookups
114
- - Adds documentation for lookups
1769
+ - First class paging support
1770
+ - Streaming auto-paging functionality
1771
+ - Separation between strict paging and streaming, with network-efficient defaults
1772
+ - Fully configurable and swappable HTTP Client interfaces
1773
+ - Normalization of mounts -> endpoints relations, with first-class unified support for subdomains and multi-version support
1774
+ - Fixed URL pathing of subresources, preventing edge case errors with path building via mounting
1775
+ - Proper serialization/deserialization of types (integers, dates, etc.)
115
1776
 
116
1777
  Version 4.2.0
117
1778
  -------------