twilio-ruby 5.5.1 → 5.58.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (811) hide show
  1. checksums.yaml +5 -5
  2. data/.dockerignore +1 -0
  3. data/.gitignore +5 -0
  4. data/.rubocop.yml +22 -3
  5. data/.rubocop_todo.yml +86 -75
  6. data/.travis.yml +51 -16
  7. data/CHANGES.md +2000 -0
  8. data/CODE_OF_CONDUCT.md +73 -0
  9. data/CONTRIBUTING.md +4 -2
  10. data/Dockerfile +9 -0
  11. data/Gemfile +1 -8
  12. data/ISSUE_TEMPLATE.md +17 -13
  13. data/{LICENSE.md → LICENSE} +2 -2
  14. data/Makefile +18 -14
  15. data/PULL_REQUEST_TEMPLATE.md +31 -0
  16. data/README.md +121 -53
  17. data/Rakefile +0 -54
  18. data/VERSIONS.md +9 -10
  19. data/examples/examples.rb +1 -1
  20. data/examples/print_call_log.rb +1 -1
  21. data/githooks/pre-commit +0 -0
  22. data/lib/rack/twilio_webhook_authentication.rb +2 -0
  23. data/lib/twilio-ruby/framework/request.rb +2 -0
  24. data/lib/twilio-ruby/framework/response.rb +2 -0
  25. data/lib/twilio-ruby/framework/{domain.rb → rest/domain.rb} +3 -1
  26. data/lib/twilio-ruby/framework/rest/error.rb +51 -0
  27. data/lib/twilio-ruby/framework/{helper.rb → rest/helper.rb} +2 -0
  28. data/lib/twilio-ruby/framework/{obsolete_client.rb → rest/obsolete_client.rb} +2 -0
  29. data/lib/twilio-ruby/framework/{page.rb → rest/page.rb} +3 -1
  30. data/lib/twilio-ruby/framework/{resource.rb → rest/resource.rb} +2 -0
  31. data/lib/twilio-ruby/framework/{version.rb → rest/version.rb} +10 -21
  32. data/lib/twilio-ruby/framework/serialize.rb +2 -0
  33. data/lib/twilio-ruby/framework/twilio_response.rb +2 -0
  34. data/lib/twilio-ruby/framework/values.rb +2 -0
  35. data/lib/twilio-ruby/http/http_client.rb +32 -15
  36. data/lib/twilio-ruby/http.rb +5 -0
  37. data/lib/twilio-ruby/jwt/access_token.rb +12 -3
  38. data/lib/twilio-ruby/jwt/client_capability.rb +3 -1
  39. data/lib/twilio-ruby/jwt/jwt.rb +8 -0
  40. data/lib/twilio-ruby/jwt/task_router.rb +4 -2
  41. data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +186 -0
  42. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +57 -56
  43. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +56 -62
  44. data/lib/twilio-ruby/rest/accounts/v1/credential.rb +11 -8
  45. data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +200 -0
  46. data/lib/twilio-ruby/rest/accounts/v1.rb +16 -0
  47. data/lib/twilio-ruby/rest/accounts.rb +14 -0
  48. data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +43 -37
  49. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +124 -93
  50. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +181 -176
  51. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +40 -35
  52. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +189 -85
  53. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/machine_to_machine.rb +500 -0
  54. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +189 -85
  55. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/national.rb +500 -0
  56. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/shared_cost.rb +500 -0
  57. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +189 -85
  58. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/voip.rb +500 -0
  59. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +129 -26
  60. data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +125 -0
  61. data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +201 -0
  62. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +80 -63
  63. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +65 -55
  64. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +76 -69
  65. data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +375 -0
  66. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +184 -63
  67. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +461 -261
  68. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +341 -117
  69. data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +469 -0
  70. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +154 -79
  71. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +97 -70
  72. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +51 -42
  73. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +58 -57
  74. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +176 -79
  75. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +175 -79
  76. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +175 -79
  77. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +318 -259
  78. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +46 -43
  79. data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +27 -20
  80. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +54 -46
  81. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +218 -156
  82. data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +15 -17
  83. data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +15 -17
  84. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +58 -54
  85. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +64 -61
  86. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +59 -42
  87. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +98 -91
  88. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +58 -49
  89. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +52 -44
  90. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +58 -43
  91. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +110 -70
  92. data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +88 -78
  93. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +40 -33
  94. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +63 -57
  95. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +49 -51
  96. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping.rb +348 -0
  97. 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
  98. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping.rb +163 -0
  99. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping.rb +348 -0
  100. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping.rb +137 -0
  101. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb +135 -0
  102. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +59 -55
  103. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +58 -55
  104. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +220 -103
  105. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +101 -63
  106. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +45 -51
  107. data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +15 -11
  108. data/lib/twilio-ruby/rest/api/v2010/account/token.rb +20 -21
  109. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +50 -43
  110. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +82 -33
  111. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +82 -33
  112. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +82 -33
  113. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +82 -33
  114. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +82 -33
  115. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +82 -33
  116. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +82 -33
  117. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +82 -33
  118. data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +85 -54
  119. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +117 -104
  120. data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +8 -5
  121. data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +43 -32
  122. data/lib/twilio-ruby/rest/api/v2010/account.rb +114 -92
  123. data/lib/twilio-ruby/rest/api/v2010.rb +11 -4
  124. data/lib/twilio-ruby/rest/api.rb +39 -26
  125. data/lib/twilio-ruby/rest/autopilot/v1/assistant/defaults.rb +220 -0
  126. data/lib/twilio-ruby/rest/autopilot/v1/assistant/dialogue.rb +214 -0
  127. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +399 -0
  128. data/lib/twilio-ruby/rest/{preview/understand/service/intent.rb → autopilot/v1/assistant/field_type.rb} +145 -148
  129. data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +392 -0
  130. data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +469 -0
  131. data/lib/twilio-ruby/rest/autopilot/v1/assistant/style_sheet.rb +218 -0
  132. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +386 -0
  133. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +456 -0
  134. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_actions.rb +255 -0
  135. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_statistics.rb +237 -0
  136. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +507 -0
  137. data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +420 -0
  138. data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +650 -0
  139. data/lib/twilio-ruby/rest/autopilot/v1/restore_assistant.rb +194 -0
  140. data/lib/twilio-ruby/rest/autopilot/v1.rb +52 -0
  141. data/lib/twilio-ruby/rest/autopilot.rb +53 -0
  142. data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +286 -0
  143. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +286 -0
  144. data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +255 -0
  145. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +243 -0
  146. data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +226 -0
  147. data/lib/twilio-ruby/rest/bulkexports/v1.rb +62 -0
  148. data/lib/twilio-ruby/rest/bulkexports.rb +56 -0
  149. data/lib/twilio-ruby/rest/chat/v1/credential.rb +101 -70
  150. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +82 -54
  151. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +100 -65
  152. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +89 -69
  153. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +96 -77
  154. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +74 -62
  155. data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +25 -19
  156. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +85 -71
  157. data/lib/twilio-ruby/rest/chat/v1/service.rb +355 -342
  158. data/lib/twilio-ruby/rest/chat/v1.rb +16 -10
  159. data/lib/twilio-ruby/rest/chat/v2/credential.rb +99 -70
  160. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +83 -50
  161. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +77 -54
  162. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +175 -79
  163. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +150 -85
  164. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +478 -0
  165. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +178 -91
  166. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +76 -62
  167. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +77 -46
  168. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +206 -22
  169. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +112 -77
  170. data/lib/twilio-ruby/rest/chat/v2/service.rb +251 -166
  171. data/lib/twilio-ruby/rest/chat/v2.rb +14 -10
  172. data/lib/twilio-ruby/rest/chat.rb +6 -2
  173. data/lib/twilio-ruby/rest/client.rb +216 -43
  174. data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +254 -0
  175. data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +260 -0
  176. data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +355 -0
  177. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +502 -0
  178. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +502 -0
  179. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +410 -0
  180. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +562 -0
  181. data/lib/twilio-ruby/rest/conversations/v1/credential.rb +419 -0
  182. data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +312 -0
  183. data/lib/twilio-ruby/rest/conversations/v1/role.rb +366 -0
  184. data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +380 -0
  185. data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +307 -0
  186. data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +278 -0
  187. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +386 -0
  188. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +548 -0
  189. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +541 -0
  190. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +449 -0
  191. data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +595 -0
  192. data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +324 -0
  193. data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +387 -0
  194. data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +466 -0
  195. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +481 -0
  196. data/lib/twilio-ruby/rest/{preview/proxy → conversations/v1}/service.rb +165 -170
  197. data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +442 -0
  198. data/lib/twilio-ruby/rest/conversations/v1/user.rb +451 -0
  199. data/lib/twilio-ruby/rest/conversations/v1.rb +126 -0
  200. data/lib/twilio-ruby/rest/conversations.rb +95 -0
  201. data/lib/twilio-ruby/rest/events/v1/event_type.rb +298 -0
  202. data/lib/twilio-ruby/rest/events/v1/schema/version.rb +290 -0
  203. data/lib/twilio-ruby/rest/events/v1/schema.rb +226 -0
  204. data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +115 -0
  205. data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +119 -0
  206. data/lib/twilio-ruby/rest/events/v1/sink.rb +418 -0
  207. data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +346 -0
  208. data/lib/twilio-ruby/rest/events/v1/subscription.rb +397 -0
  209. data/lib/twilio-ruby/rest/events/v1.rb +94 -0
  210. data/lib/twilio-ruby/rest/events.rb +72 -0
  211. data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +43 -42
  212. data/lib/twilio-ruby/rest/fax/v1/fax.rb +128 -114
  213. data/lib/twilio-ruby/rest/fax/v1.rb +9 -5
  214. data/lib/twilio-ruby/rest/fax.rb +4 -1
  215. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +340 -0
  216. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +462 -0
  217. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +565 -0
  218. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +341 -0
  219. data/lib/twilio-ruby/rest/flex_api/v1.rb +83 -0
  220. data/lib/twilio-ruby/rest/flex_api.rb +71 -0
  221. data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +233 -0
  222. data/lib/twilio-ruby/rest/frontline_api/v1.rb +45 -0
  223. data/lib/twilio-ruby/rest/frontline_api.rb +47 -0
  224. data/lib/twilio-ruby/rest/insights/v1/call/event.rb +262 -0
  225. data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +252 -0
  226. data/lib/twilio-ruby/rest/insights/v1/call/summary.rb +307 -0
  227. data/lib/twilio-ruby/rest/insights/v1/call.rb +236 -0
  228. data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +434 -0
  229. data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +378 -0
  230. data/lib/twilio-ruby/rest/insights/v1/room.rb +499 -0
  231. data/lib/twilio-ruby/rest/insights/v1.rb +67 -0
  232. data/lib/twilio-ruby/rest/insights.rb +60 -0
  233. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +33 -41
  234. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +30 -34
  235. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +32 -40
  236. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +30 -38
  237. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +40 -48
  238. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +39 -47
  239. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +7 -7
  240. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +34 -42
  241. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +45 -147
  242. data/lib/twilio-ruby/rest/ip_messaging/v1.rb +16 -12
  243. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +33 -41
  244. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +40 -34
  245. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +30 -34
  246. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +64 -44
  247. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +52 -41
  248. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +422 -0
  249. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +90 -53
  250. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +39 -47
  251. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +28 -27
  252. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +167 -12
  253. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +59 -48
  254. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +51 -55
  255. data/lib/twilio-ruby/rest/ip_messaging/v2.rb +16 -12
  256. data/lib/twilio-ruby/rest/ip_messaging.rb +6 -4
  257. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +70 -35
  258. data/lib/twilio-ruby/rest/lookups/v1.rb +10 -5
  259. data/lib/twilio-ruby/rest/lookups.rb +5 -1
  260. data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +388 -0
  261. data/lib/twilio-ruby/rest/messaging/v1/deactivation.rb +164 -0
  262. data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +150 -0
  263. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +58 -49
  264. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +58 -50
  265. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +54 -51
  266. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +433 -0
  267. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +129 -0
  268. data/lib/twilio-ruby/rest/messaging/v1/service.rb +261 -117
  269. data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +111 -0
  270. data/lib/twilio-ruby/rest/messaging/v1.rb +45 -5
  271. data/lib/twilio-ruby/rest/messaging.rb +30 -1
  272. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +82 -66
  273. data/lib/twilio-ruby/rest/monitor/v1/event.rb +84 -56
  274. data/lib/twilio-ruby/rest/monitor/v1.rb +14 -10
  275. data/lib/twilio-ruby/rest/monitor.rb +6 -2
  276. data/lib/twilio-ruby/rest/notify/v1/credential.rb +98 -70
  277. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +113 -72
  278. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +129 -50
  279. data/lib/twilio-ruby/rest/notify/v1/service.rb +191 -163
  280. data/lib/twilio-ruby/rest/notify/v1.rb +16 -10
  281. data/lib/twilio-ruby/rest/notify.rb +6 -2
  282. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +309 -0
  283. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +320 -0
  284. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +517 -0
  285. data/lib/twilio-ruby/rest/{preview/proxy/service/phone_number.rb → numbers/v2/regulatory_compliance/end_user.rb} +143 -125
  286. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +273 -0
  287. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +314 -0
  288. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +371 -0
  289. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +273 -0
  290. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +189 -0
  291. data/lib/twilio-ruby/rest/numbers/v2.rb +35 -0
  292. data/lib/twilio-ruby/rest/numbers.rb +44 -0
  293. data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +101 -16
  294. data/lib/twilio-ruby/rest/preview/bulk_exports/export/export_custom_job.rb +275 -0
  295. data/lib/twilio-ruby/rest/preview/bulk_exports/export/job.rb +249 -0
  296. data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +72 -22
  297. data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +43 -34
  298. data/lib/twilio-ruby/rest/preview/bulk_exports.rb +16 -10
  299. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +35 -43
  300. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +36 -44
  301. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +33 -41
  302. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +36 -44
  303. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +43 -51
  304. data/lib/twilio-ruby/rest/preview/deployed_devices.rb +7 -4
  305. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +403 -0
  306. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +122 -72
  307. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +154 -72
  308. data/lib/twilio-ruby/rest/preview/hosted_numbers.rb +12 -8
  309. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +33 -29
  310. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +33 -34
  311. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +39 -39
  312. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +65 -74
  313. data/lib/twilio-ruby/rest/preview/marketplace.rb +14 -12
  314. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +26 -29
  315. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +42 -47
  316. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +42 -43
  317. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +26 -29
  318. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +34 -38
  319. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +43 -44
  320. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +26 -29
  321. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +34 -38
  322. data/lib/twilio-ruby/rest/preview/sync/service.rb +39 -47
  323. data/lib/twilio-ruby/rest/preview/sync.rb +7 -4
  324. data/lib/twilio-ruby/rest/preview/trusted_comms/branded_channel/channel.rb +165 -0
  325. data/lib/twilio-ruby/rest/preview/trusted_comms/branded_channel.rb +225 -0
  326. data/lib/twilio-ruby/rest/preview/trusted_comms/brands_information.rb +195 -0
  327. data/lib/twilio-ruby/rest/preview/trusted_comms/cps.rb +186 -0
  328. data/lib/twilio-ruby/rest/preview/trusted_comms/current_call.rb +277 -0
  329. data/lib/twilio-ruby/rest/preview/trusted_comms.rb +65 -0
  330. data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_fallback_actions.rb +212 -0
  331. data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_initiation_actions.rb +212 -0
  332. data/lib/twilio-ruby/rest/preview/understand/assistant/dialogue.rb +206 -0
  333. data/lib/twilio-ruby/rest/preview/understand/{service → assistant}/field_type/field_value.rb +77 -66
  334. data/lib/twilio-ruby/rest/preview/understand/{service → assistant}/field_type.rb +79 -71
  335. data/lib/twilio-ruby/rest/preview/understand/{service → assistant}/model_build.rb +88 -66
  336. data/lib/twilio-ruby/rest/preview/understand/{service → assistant}/query.rb +105 -90
  337. data/lib/twilio-ruby/rest/preview/understand/assistant/style_sheet.rb +212 -0
  338. data/lib/twilio-ruby/rest/preview/understand/{service/intent → assistant/task}/field.rb +75 -73
  339. data/lib/twilio-ruby/rest/preview/understand/{service/intent → assistant/task}/sample.rb +114 -93
  340. data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_actions.rb +241 -0
  341. data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_statistics.rb +225 -0
  342. data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +495 -0
  343. data/lib/twilio-ruby/rest/preview/understand/assistant.rb +629 -0
  344. data/lib/twilio-ruby/rest/preview/understand.rb +13 -9
  345. data/lib/twilio-ruby/rest/preview/wireless/command.rb +25 -29
  346. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +37 -45
  347. data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +19 -14
  348. data/lib/twilio-ruby/rest/preview/wireless/sim.rb +24 -27
  349. data/lib/twilio-ruby/rest/preview/wireless.rb +17 -12
  350. data/lib/twilio-ruby/rest/preview.rb +53 -34
  351. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +35 -30
  352. data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +9 -5
  353. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +34 -29
  354. data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +9 -5
  355. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +35 -30
  356. data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +27 -24
  357. data/lib/twilio-ruby/rest/pricing/v1/voice.rb +12 -8
  358. data/lib/twilio-ruby/rest/pricing/v1.rb +2 -0
  359. data/lib/twilio-ruby/rest/pricing/v2/country.rb +280 -0
  360. data/lib/twilio-ruby/rest/pricing/v2/number.rb +225 -0
  361. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +282 -0
  362. data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +227 -0
  363. data/lib/twilio-ruby/rest/pricing/v2/voice.rb +146 -0
  364. data/lib/twilio-ruby/rest/pricing/v2.rb +72 -0
  365. data/lib/twilio-ruby/rest/pricing.rb +30 -2
  366. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +116 -57
  367. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +64 -96
  368. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +67 -60
  369. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +83 -118
  370. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +138 -127
  371. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +87 -53
  372. data/lib/twilio-ruby/rest/proxy/v1/service.rb +183 -101
  373. data/lib/twilio-ruby/rest/proxy/v1.rb +9 -5
  374. data/lib/twilio-ruby/rest/proxy.rb +4 -1
  375. data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +334 -0
  376. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +387 -0
  377. data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +219 -0
  378. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +391 -0
  379. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +349 -0
  380. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +394 -0
  381. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +407 -0
  382. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +454 -0
  383. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +241 -0
  384. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +364 -0
  385. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +387 -0
  386. data/lib/twilio-ruby/rest/{preview/understand → serverless/v1}/service.rb +172 -179
  387. data/lib/twilio-ruby/rest/serverless/v1.rb +44 -0
  388. data/lib/twilio-ruby/rest/serverless.rb +47 -0
  389. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +210 -0
  390. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +225 -0
  391. data/lib/twilio-ruby/rest/{preview/studio → studio/v1}/flow/engagement/step.rb +69 -51
  392. data/lib/twilio-ruby/rest/{preview/studio → studio/v1}/flow/engagement.rb +94 -77
  393. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +211 -0
  394. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +228 -0
  395. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +372 -0
  396. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +456 -0
  397. data/lib/twilio-ruby/rest/{preview/studio → studio/v1}/flow.rb +73 -61
  398. data/lib/twilio-ruby/rest/studio/v1.rb +44 -0
  399. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +211 -0
  400. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +228 -0
  401. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +372 -0
  402. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +449 -0
  403. data/lib/twilio-ruby/rest/{preview/proxy/service/short_code.rb → studio/v2/flow/flow_revision.rb} +116 -129
  404. data/lib/twilio-ruby/rest/studio/v2/flow/test_user.rb +199 -0
  405. data/lib/twilio-ruby/rest/studio/v2/flow.rb +482 -0
  406. data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +117 -0
  407. data/lib/twilio-ruby/rest/studio/v2.rb +51 -0
  408. data/lib/twilio-ruby/rest/studio.rb +60 -0
  409. data/lib/twilio-ruby/rest/supersim/v1/command.rb +368 -0
  410. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +494 -0
  411. data/lib/twilio-ruby/rest/supersim/v1/network.rb +307 -0
  412. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +339 -0
  413. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +361 -0
  414. data/lib/twilio-ruby/rest/{notify/v1/service/segment.rb → supersim/v1/sim/billing_period.rb} +66 -58
  415. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +443 -0
  416. data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +371 -0
  417. data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +338 -0
  418. data/lib/twilio-ruby/rest/supersim/v1.rb +131 -0
  419. data/lib/twilio-ruby/rest/supersim.rb +97 -0
  420. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +66 -72
  421. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +83 -78
  422. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +159 -87
  423. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +65 -72
  424. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +89 -78
  425. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +169 -89
  426. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +63 -72
  427. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +88 -78
  428. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +21 -24
  429. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +79 -74
  430. data/lib/twilio-ruby/rest/sync/v1/service.rb +159 -85
  431. data/lib/twilio-ruby/rest/sync/v1.rb +8 -5
  432. data/lib/twilio-ruby/rest/sync.rb +4 -1
  433. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +105 -66
  434. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +139 -70
  435. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +317 -156
  436. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +227 -113
  437. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +121 -31
  438. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +82 -46
  439. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +66 -30
  440. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +60 -31
  441. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +64 -32
  442. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +137 -92
  443. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +313 -156
  444. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +62 -56
  445. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +59 -29
  446. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +61 -36
  447. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +36 -24
  448. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +59 -34
  449. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +158 -100
  450. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +84 -47
  451. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +49 -27
  452. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +68 -31
  453. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +130 -84
  454. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +85 -46
  455. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +44 -28
  456. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +61 -30
  457. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +163 -98
  458. data/lib/twilio-ruby/rest/taskrouter/v1.rb +8 -5
  459. data/lib/twilio-ruby/rest/taskrouter.rb +4 -1
  460. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +57 -48
  461. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +49 -48
  462. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +97 -71
  463. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +75 -68
  464. data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +198 -0
  465. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +185 -89
  466. data/lib/twilio-ruby/rest/trunking/v1.rb +9 -5
  467. data/lib/twilio-ruby/rest/trunking.rb +4 -1
  468. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +359 -0
  469. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +330 -0
  470. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +328 -0
  471. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +523 -0
  472. data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +356 -0
  473. data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +271 -0
  474. data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +262 -0
  475. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +369 -0
  476. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +271 -0
  477. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +359 -0
  478. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +330 -0
  479. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +328 -0
  480. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +523 -0
  481. data/lib/twilio-ruby/rest/trusthub/v1.rb +146 -0
  482. data/lib/twilio-ruby/rest/trusthub.rb +100 -0
  483. data/lib/twilio-ruby/rest/verify/v2/form.rb +191 -0
  484. data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +124 -0
  485. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +205 -0
  486. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +533 -0
  487. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +455 -0
  488. data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +299 -0
  489. data/lib/twilio-ruby/rest/{notify/v1/service/user.rb → verify/v2/service/entity.rb} +153 -143
  490. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +370 -0
  491. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +399 -0
  492. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +391 -0
  493. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +356 -0
  494. data/lib/twilio-ruby/rest/{preview/acc_security → verify/v2}/service/verification_check.rb +62 -37
  495. data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +427 -0
  496. data/lib/twilio-ruby/rest/verify/v2/service.rb +761 -0
  497. data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +329 -0
  498. data/lib/twilio-ruby/rest/verify/v2/verification_template.rb +206 -0
  499. data/lib/twilio-ruby/rest/verify/v2.rb +85 -0
  500. data/lib/twilio-ruby/rest/verify.rb +71 -0
  501. data/lib/twilio-ruby/rest/video/v1/composition.rb +496 -0
  502. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +657 -0
  503. data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +269 -0
  504. data/lib/twilio-ruby/rest/video/v1/recording.rb +101 -59
  505. data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +269 -0
  506. data/lib/twilio-ruby/rest/video/v1/room/recording.rb +97 -56
  507. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_published_track.rb +43 -34
  508. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribe_rule.rb +175 -0
  509. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribed_track.rb +340 -0
  510. data/lib/twilio-ruby/rest/video/v1/room/room_participant.rb +136 -60
  511. data/lib/twilio-ruby/rest/video/v1/room/room_recording_rule.rb +144 -0
  512. data/lib/twilio-ruby/rest/video/v1/room.rb +139 -86
  513. data/lib/twilio-ruby/rest/video/v1.rb +60 -10
  514. data/lib/twilio-ruby/rest/video.rb +36 -2
  515. data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +496 -0
  516. data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +441 -0
  517. data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +362 -0
  518. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +128 -0
  519. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +190 -0
  520. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +404 -0
  521. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +197 -0
  522. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb +129 -0
  523. data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +349 -0
  524. data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +329 -0
  525. data/lib/twilio-ruby/rest/voice/v1.rb +103 -0
  526. data/lib/twilio-ruby/rest/voice.rb +80 -0
  527. data/lib/twilio-ruby/rest/wireless/v1/command.rb +133 -69
  528. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +98 -85
  529. data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +40 -43
  530. data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +46 -30
  531. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +210 -110
  532. data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +229 -0
  533. data/lib/twilio-ruby/rest/wireless/v1.rb +27 -15
  534. data/lib/twilio-ruby/rest/wireless.rb +14 -3
  535. data/lib/twilio-ruby/rest.rb +13 -0
  536. data/lib/twilio-ruby/security/request_validator.rb +104 -8
  537. data/lib/twilio-ruby/twiml/fax_response.rb +7 -2
  538. data/lib/twilio-ruby/twiml/messaging_response.rb +5 -2
  539. data/lib/twilio-ruby/twiml/twiml.rb +63 -12
  540. data/lib/twilio-ruby/twiml/voice_response.rb +720 -49
  541. data/lib/twilio-ruby/util/configuration.rb +24 -5
  542. data/lib/twilio-ruby/util.rb +2 -0
  543. data/lib/twilio-ruby/version.rb +1 -1
  544. data/lib/twilio-ruby.rb +10 -24
  545. data/sonar-project.properties +13 -0
  546. data/twilio-ruby.gemspec +15 -10
  547. metadata +368 -556
  548. data/lib/twilio-ruby/framework/error.rb +0 -33
  549. data/lib/twilio-ruby/rest/notify/v1/service/user/segment_memberships.rb +0 -260
  550. data/lib/twilio-ruby/rest/notify/v1/service/user/user_binding.rb +0 -431
  551. data/lib/twilio-ruby/rest/preview/acc_security/service/verification.rb +0 -183
  552. data/lib/twilio-ruby/rest/preview/acc_security/service.rb +0 -386
  553. data/lib/twilio-ruby/rest/preview/acc_security.rb +0 -41
  554. data/lib/twilio-ruby/rest/preview/proxy/service/session/interaction.rb +0 -435
  555. data/lib/twilio-ruby/rest/preview/proxy/service/session/participant/message_interaction.rb +0 -453
  556. data/lib/twilio-ruby/rest/preview/proxy/service/session/participant.rb +0 -512
  557. data/lib/twilio-ruby/rest/preview/proxy/service/session.rb +0 -495
  558. data/lib/twilio-ruby/rest/preview/proxy.rb +0 -41
  559. data/lib/twilio-ruby/rest/preview/studio.rb +0 -41
  560. data/spec/framework/request_spec.rb +0 -36
  561. data/spec/framework/serialize_spec.rb +0 -80
  562. data/spec/holodeck/holodeck.rb +0 -61
  563. data/spec/holodeck/hologram.rb +0 -4
  564. data/spec/http/http_client_spec.rb +0 -122
  565. data/spec/integration/accounts/v1/credential/aws_spec.rb +0 -224
  566. data/spec/integration/accounts/v1/credential/public_key_spec.rb +0 -224
  567. data/spec/integration/accounts/v1/credential_spec.rb +0 -10
  568. data/spec/integration/api/v2010/account/address/dependent_phone_number_spec.rb +0 -105
  569. data/spec/integration/api/v2010/account/address_spec.rb +0 -267
  570. data/spec/integration/api/v2010/account/application_spec.rb +0 -284
  571. data/spec/integration/api/v2010/account/authorized_connect_app_spec.rb +0 -137
  572. data/spec/integration/api/v2010/account/available_phone_number/local_spec.rb +0 -101
  573. data/spec/integration/api/v2010/account/available_phone_number/mobile_spec.rb +0 -100
  574. data/spec/integration/api/v2010/account/available_phone_number/toll_free_spec.rb +0 -100
  575. data/spec/integration/api/v2010/account/available_phone_number_spec.rb +0 -128
  576. data/spec/integration/api/v2010/account/call/feedback_spec.rb +0 -137
  577. data/spec/integration/api/v2010/account/call/feedback_summary_spec.rb +0 -149
  578. data/spec/integration/api/v2010/account/call/notification_spec.rb +0 -179
  579. data/spec/integration/api/v2010/account/call/recording_spec.rb +0 -186
  580. data/spec/integration/api/v2010/account/call_spec.rb +0 -312
  581. data/spec/integration/api/v2010/account/conference/participant_spec.rb +0 -280
  582. data/spec/integration/api/v2010/account/conference_spec.rb +0 -174
  583. data/spec/integration/api/v2010/account/connect_app_spec.rb +0 -177
  584. data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension_spec.rb +0 -135
  585. data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +0 -221
  586. data/spec/integration/api/v2010/account/incoming_phone_number/local_spec.rb +0 -183
  587. data/spec/integration/api/v2010/account/incoming_phone_number/mobile_spec.rb +0 -183
  588. data/spec/integration/api/v2010/account/incoming_phone_number/toll_free_spec.rb +0 -183
  589. data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +0 -339
  590. data/spec/integration/api/v2010/account/key_spec.rb +0 -178
  591. data/spec/integration/api/v2010/account/message/feedback_spec.rb +0 -48
  592. data/spec/integration/api/v2010/account/message/media_spec.rb +0 -162
  593. data/spec/integration/api/v2010/account/message_spec.rb +0 -293
  594. data/spec/integration/api/v2010/account/new_key_spec.rb +0 -45
  595. data/spec/integration/api/v2010/account/new_signing_key_spec.rb +0 -45
  596. data/spec/integration/api/v2010/account/notification_spec.rb +0 -172
  597. data/spec/integration/api/v2010/account/outgoing_caller_id_spec.rb +0 -193
  598. data/spec/integration/api/v2010/account/queue/member_spec.rb +0 -167
  599. data/spec/integration/api/v2010/account/queue_spec.rb +0 -240
  600. data/spec/integration/api/v2010/account/recording/add_on_result/payload_spec.rb +0 -175
  601. data/spec/integration/api/v2010/account/recording/add_on_result_spec.rb +0 -166
  602. data/spec/integration/api/v2010/account/recording/transcription_spec.rb +0 -174
  603. data/spec/integration/api/v2010/account/recording_spec.rb +0 -179
  604. data/spec/integration/api/v2010/account/short_code_spec.rb +0 -180
  605. data/spec/integration/api/v2010/account/signing_key_spec.rb +0 -178
  606. data/spec/integration/api/v2010/account/sip/credential_list/credential_spec.rb +0 -254
  607. data/spec/integration/api/v2010/account/sip/credential_list_spec.rb +0 -242
  608. data/spec/integration/api/v2010/account/sip/domain/credential_list_mapping_spec.rb +0 -208
  609. data/spec/integration/api/v2010/account/sip/domain/ip_access_control_list_mapping_spec.rb +0 -218
  610. data/spec/integration/api/v2010/account/sip/domain_spec.rb +0 -285
  611. data/spec/integration/api/v2010/account/sip/ip_access_control_list/ip_address_spec.rb +0 -258
  612. data/spec/integration/api/v2010/account/sip/ip_access_control_list_spec.rb +0 -252
  613. data/spec/integration/api/v2010/account/sip_spec.rb +0 -10
  614. data/spec/integration/api/v2010/account/token_spec.rb +0 -56
  615. data/spec/integration/api/v2010/account/transcription_spec.rb +0 -167
  616. data/spec/integration/api/v2010/account/usage/record/all_time_spec.rb +0 -111
  617. data/spec/integration/api/v2010/account/usage/record/daily_spec.rb +0 -111
  618. data/spec/integration/api/v2010/account/usage/record/last_month_spec.rb +0 -111
  619. data/spec/integration/api/v2010/account/usage/record/monthly_spec.rb +0 -111
  620. data/spec/integration/api/v2010/account/usage/record/this_month_spec.rb +0 -111
  621. data/spec/integration/api/v2010/account/usage/record/today_spec.rb +0 -111
  622. data/spec/integration/api/v2010/account/usage/record/yearly_spec.rb +0 -111
  623. data/spec/integration/api/v2010/account/usage/record/yesterday_spec.rb +0 -111
  624. data/spec/integration/api/v2010/account/usage/record_spec.rb +0 -108
  625. data/spec/integration/api/v2010/account/usage/trigger_spec.rb +0 -283
  626. data/spec/integration/api/v2010/account/usage_spec.rb +0 -10
  627. data/spec/integration/api/v2010/account/validation_request_spec.rb +0 -46
  628. data/spec/integration/api/v2010/account_spec.rb +0 -254
  629. data/spec/integration/chat/v1/credential_spec.rb +0 -221
  630. data/spec/integration/chat/v1/service/channel/invite_spec.rb +0 -208
  631. data/spec/integration/chat/v1/service/channel/member_spec.rb +0 -282
  632. data/spec/integration/chat/v1/service/channel/message_spec.rb +0 -292
  633. data/spec/integration/chat/v1/service/channel_spec.rb +0 -275
  634. data/spec/integration/chat/v1/service/role_spec.rb +0 -261
  635. data/spec/integration/chat/v1/service/user/user_channel_spec.rb +0 -92
  636. data/spec/integration/chat/v1/service/user_spec.rb +0 -264
  637. data/spec/integration/chat/v1/service_spec.rb +0 -297
  638. data/spec/integration/chat/v2/credential_spec.rb +0 -221
  639. data/spec/integration/chat/v2/service/binding_spec.rb +0 -175
  640. data/spec/integration/chat/v2/service/channel/invite_spec.rb +0 -208
  641. data/spec/integration/chat/v2/service/channel/member_spec.rb +0 -255
  642. data/spec/integration/chat/v2/service/channel/message_spec.rb +0 -403
  643. data/spec/integration/chat/v2/service/channel_spec.rb +0 -275
  644. data/spec/integration/chat/v2/service/role_spec.rb +0 -261
  645. data/spec/integration/chat/v2/service/user/user_binding_spec.rb +0 -178
  646. data/spec/integration/chat/v2/service/user/user_channel_spec.rb +0 -92
  647. data/spec/integration/chat/v2/service/user_spec.rb +0 -268
  648. data/spec/integration/chat/v2/service_spec.rb +0 -351
  649. data/spec/integration/fax/v1/fax/fax_media_spec.rb +0 -126
  650. data/spec/integration/fax/v1/fax_spec.rb +0 -269
  651. data/spec/integration/ip_messaging/v1/credential_spec.rb +0 -221
  652. data/spec/integration/ip_messaging/v1/service/channel/invite_spec.rb +0 -208
  653. data/spec/integration/ip_messaging/v1/service/channel/member_spec.rb +0 -282
  654. data/spec/integration/ip_messaging/v1/service/channel/message_spec.rb +0 -292
  655. data/spec/integration/ip_messaging/v1/service/channel_spec.rb +0 -275
  656. data/spec/integration/ip_messaging/v1/service/role_spec.rb +0 -261
  657. data/spec/integration/ip_messaging/v1/service/user/user_channel_spec.rb +0 -92
  658. data/spec/integration/ip_messaging/v1/service/user_spec.rb +0 -264
  659. data/spec/integration/ip_messaging/v1/service_spec.rb +0 -297
  660. data/spec/integration/ip_messaging/v2/credential_spec.rb +0 -221
  661. data/spec/integration/ip_messaging/v2/service/binding_spec.rb +0 -175
  662. data/spec/integration/ip_messaging/v2/service/channel/invite_spec.rb +0 -208
  663. data/spec/integration/ip_messaging/v2/service/channel/member_spec.rb +0 -255
  664. data/spec/integration/ip_messaging/v2/service/channel/message_spec.rb +0 -403
  665. data/spec/integration/ip_messaging/v2/service/channel_spec.rb +0 -275
  666. data/spec/integration/ip_messaging/v2/service/role_spec.rb +0 -261
  667. data/spec/integration/ip_messaging/v2/service/user/user_binding_spec.rb +0 -178
  668. data/spec/integration/ip_messaging/v2/service/user/user_channel_spec.rb +0 -92
  669. data/spec/integration/ip_messaging/v2/service/user_spec.rb +0 -268
  670. data/spec/integration/ip_messaging/v2/service_spec.rb +0 -351
  671. data/spec/integration/lookups/v1/phone_number_spec.rb +0 -60
  672. data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +0 -168
  673. data/spec/integration/messaging/v1/service/phone_number_spec.rb +0 -199
  674. data/spec/integration/messaging/v1/service/short_code_spec.rb +0 -171
  675. data/spec/integration/messaging/v1/service_spec.rb +0 -261
  676. data/spec/integration/monitor/v1/alert_spec.rb +0 -161
  677. data/spec/integration/monitor/v1/event_spec.rb +0 -148
  678. data/spec/integration/notify/v1/credential_spec.rb +0 -221
  679. data/spec/integration/notify/v1/service/binding_spec.rb +0 -223
  680. data/spec/integration/notify/v1/service/notification_spec.rb +0 -97
  681. data/spec/integration/notify/v1/service/segment_spec.rb +0 -84
  682. data/spec/integration/notify/v1/service/user/segment_memberships_spec.rb +0 -116
  683. data/spec/integration/notify/v1/service/user/user_binding_spec.rb +0 -266
  684. data/spec/integration/notify/v1/service/user_spec.rb +0 -211
  685. data/spec/integration/notify/v1/service_spec.rb +0 -280
  686. data/spec/integration/preview/acc_security/service/verification_check_spec.rb +0 -50
  687. data/spec/integration/preview/acc_security/service/verification_spec.rb +0 -50
  688. data/spec/integration/preview/acc_security/service_spec.rb +0 -183
  689. data/spec/integration/preview/bulk_exports/export/day_spec.rb +0 -56
  690. data/spec/integration/preview/bulk_exports/export_configuration_spec.rb +0 -77
  691. data/spec/integration/preview/bulk_exports/export_spec.rb +0 -43
  692. data/spec/integration/preview/deployed_devices/fleet/certificate_spec.rb +0 -236
  693. data/spec/integration/preview/deployed_devices/fleet/deployment_spec.rb +0 -231
  694. data/spec/integration/preview/deployed_devices/fleet/device_spec.rb +0 -247
  695. data/spec/integration/preview/deployed_devices/fleet/key_spec.rb +0 -235
  696. data/spec/integration/preview/deployed_devices/fleet_spec.rb +0 -244
  697. data/spec/integration/preview/hosted_numbers/authorization_document_spec.rb +0 -211
  698. data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +0 -307
  699. data/spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb +0 -121
  700. data/spec/integration/preview/marketplace/available_add_on_spec.rb +0 -142
  701. data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +0 -162
  702. data/spec/integration/preview/marketplace/installed_add_on_spec.rb +0 -252
  703. data/spec/integration/preview/proxy/service/phone_number_spec.rb +0 -171
  704. data/spec/integration/preview/proxy/service/session/interaction_spec.rb +0 -104
  705. data/spec/integration/preview/proxy/service/session/participant/message_interaction_spec.rb +0 -164
  706. data/spec/integration/preview/proxy/service/session/participant_spec.rb +0 -224
  707. data/spec/integration/preview/proxy/service/session_spec.rb +0 -216
  708. data/spec/integration/preview/proxy/service/short_code_spec.rb +0 -171
  709. data/spec/integration/preview/proxy/service_spec.rb +0 -200
  710. data/spec/integration/preview/studio/flow/engagement/step_spec.rb +0 -96
  711. data/spec/integration/preview/studio/flow/engagement_spec.rb +0 -171
  712. data/spec/integration/preview/studio/flow_spec.rb +0 -115
  713. data/spec/integration/preview/sync/service/document/document_permission_spec.rb +0 -202
  714. data/spec/integration/preview/sync/service/document_spec.rb +0 -252
  715. data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +0 -252
  716. data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +0 -202
  717. data/spec/integration/preview/sync/service/sync_list_spec.rb +0 -207
  718. data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +0 -252
  719. data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +0 -202
  720. data/spec/integration/preview/sync/service/sync_map_spec.rb +0 -207
  721. data/spec/integration/preview/sync/service_spec.rb +0 -244
  722. data/spec/integration/preview/understand/service/field_type/field_value_spec.rb +0 -205
  723. data/spec/integration/preview/understand/service/field_type_spec.rb +0 -244
  724. data/spec/integration/preview/understand/service/intent/field_spec.rb +0 -205
  725. data/spec/integration/preview/understand/service/intent/sample_spec.rb +0 -247
  726. data/spec/integration/preview/understand/service/intent_spec.rb +0 -252
  727. data/spec/integration/preview/understand/service/model_build_spec.rb +0 -231
  728. data/spec/integration/preview/understand/service/query_spec.rb +0 -300
  729. data/spec/integration/preview/understand/service_spec.rb +0 -256
  730. data/spec/integration/preview/wireless/command_spec.rb +0 -167
  731. data/spec/integration/preview/wireless/rate_plan_spec.rb +0 -260
  732. data/spec/integration/preview/wireless/sim/usage_spec.rb +0 -49
  733. data/spec/integration/preview/wireless/sim_spec.rb +0 -208
  734. data/spec/integration/pricing/v1/messaging/country_spec.rb +0 -137
  735. data/spec/integration/pricing/v1/messaging_spec.rb +0 -10
  736. data/spec/integration/pricing/v1/phone_number/country_spec.rb +0 -128
  737. data/spec/integration/pricing/v1/phone_number_spec.rb +0 -10
  738. data/spec/integration/pricing/v1/voice/country_spec.rb +0 -266
  739. data/spec/integration/pricing/v1/voice/number_spec.rb +0 -54
  740. data/spec/integration/pricing/v1/voice_spec.rb +0 -10
  741. data/spec/integration/proxy/v1/service/phone_number_spec.rb +0 -182
  742. data/spec/integration/proxy/v1/service/session/interaction_spec.rb +0 -134
  743. data/spec/integration/proxy/v1/service/session/participant/message_interaction_spec.rb +0 -164
  744. data/spec/integration/proxy/v1/service/session/participant_spec.rb +0 -227
  745. data/spec/integration/proxy/v1/service/session_spec.rb +0 -228
  746. data/spec/integration/proxy/v1/service/short_code_spec.rb +0 -180
  747. data/spec/integration/proxy/v1/service_spec.rb +0 -213
  748. data/spec/integration/sync/v1/service/document/document_permission_spec.rb +0 -202
  749. data/spec/integration/sync/v1/service/document_spec.rb +0 -255
  750. data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +0 -255
  751. data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +0 -202
  752. data/spec/integration/sync/v1/service/sync_list_spec.rb +0 -255
  753. data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +0 -255
  754. data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +0 -202
  755. data/spec/integration/sync/v1/service/sync_map_spec.rb +0 -255
  756. data/spec/integration/sync/v1/service/sync_stream/stream_message_spec.rb +0 -45
  757. data/spec/integration/sync/v1/service/sync_stream_spec.rb +0 -247
  758. data/spec/integration/sync/v1/service_spec.rb +0 -252
  759. data/spec/integration/taskrouter/v1/workspace/activity_spec.rb +0 -234
  760. data/spec/integration/taskrouter/v1/workspace/event_spec.rb +0 -157
  761. data/spec/integration/taskrouter/v1/workspace/task/reservation_spec.rb +0 -192
  762. data/spec/integration/taskrouter/v1/workspace/task_channel_spec.rb +0 -127
  763. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics_spec.rb +0 -94
  764. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics_spec.rb +0 -79
  765. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_statistics_spec.rb +0 -106
  766. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queues_statistics_spec.rb +0 -144
  767. data/spec/integration/taskrouter/v1/workspace/task_queue_spec.rb +0 -296
  768. data/spec/integration/taskrouter/v1/workspace/task_spec.rb +0 -324
  769. data/spec/integration/taskrouter/v1/workspace/worker/reservation_spec.rb +0 -192
  770. data/spec/integration/taskrouter/v1/workspace/worker/worker_channel_spec.rb +0 -201
  771. data/spec/integration/taskrouter/v1/workspace/worker/worker_statistics_spec.rb +0 -90
  772. data/spec/integration/taskrouter/v1/workspace/worker/workers_cumulative_statistics_spec.rb +0 -87
  773. data/spec/integration/taskrouter/v1/workspace/worker/workers_real_time_statistics_spec.rb +0 -68
  774. data/spec/integration/taskrouter/v1/workspace/worker/workers_statistics_spec.rb +0 -114
  775. data/spec/integration/taskrouter/v1/workspace/worker_spec.rb +0 -292
  776. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics_spec.rb +0 -95
  777. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_real_time_statistics_spec.rb +0 -55
  778. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_statistics_spec.rb +0 -69
  779. data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +0 -270
  780. data/spec/integration/taskrouter/v1/workspace/workspace_cumulative_statistics_spec.rb +0 -92
  781. data/spec/integration/taskrouter/v1/workspace/workspace_real_time_statistics_spec.rb +0 -70
  782. data/spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb +0 -103
  783. data/spec/integration/taskrouter/v1/workspace_spec.rb +0 -293
  784. data/spec/integration/trunking/v1/trunk/credential_list_spec.rb +0 -190
  785. data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +0 -190
  786. data/spec/integration/trunking/v1/trunk/origination_url_spec.rb +0 -250
  787. data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +0 -265
  788. data/spec/integration/trunking/v1/trunk_spec.rb +0 -276
  789. data/spec/integration/video/v1/recording_spec.rb +0 -169
  790. data/spec/integration/video/v1/room/recording_spec.rb +0 -146
  791. data/spec/integration/video/v1/room/room_participant/room_participant_published_track_spec.rb +0 -94
  792. data/spec/integration/video/v1/room/room_participant_spec.rb +0 -182
  793. data/spec/integration/video/v1/room_spec.rb +0 -255
  794. data/spec/integration/wireless/v1/command_spec.rb +0 -164
  795. data/spec/integration/wireless/v1/rate_plan_spec.rb +0 -268
  796. data/spec/integration/wireless/v1/sim/data_session_spec.rb +0 -85
  797. data/spec/integration/wireless/v1/sim/usage_record_spec.rb +0 -65
  798. data/spec/integration/wireless/v1/sim_spec.rb +0 -214
  799. data/spec/jwt/access_token_spec.rb +0 -149
  800. data/spec/jwt/client_capability_spec.rb +0 -104
  801. data/spec/jwt/task_router_spec.rb +0 -172
  802. data/spec/rack/twilio_webhook_authentication_spec.rb +0 -106
  803. data/spec/rest/client_spec.rb +0 -49
  804. data/spec/security/request_validator_spec.rb +0 -113
  805. data/spec/spec_helper.rb +0 -32
  806. data/spec/support/fakeweb.rb +0 -2
  807. data/spec/twilio_spec.rb +0 -15
  808. data/spec/twiml/messaging_response_spec.rb +0 -95
  809. data/spec/twiml/voice_response_spec.rb +0 -479
  810. data/spec/util/configuration_spec.rb +0 -15
  811. data/spec/util/url_encode_spec.rb +0 -12
data/CHANGES.md CHANGED
@@ -1,6 +1,2006 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
+ [2021-09-22] Version 5.58.3
5
+ ---------------------------
6
+ **Events**
7
+ - Add segment sink
8
+
9
+ **Messaging**
10
+ - Add post_approval_required attribute in GET us_app_to_person_usecase api response
11
+ - Add Identity Status, Russell 3000, Tax Exempt Status and Should Skip SecVet fields for Brand Registrations
12
+ - Add Should Skip Secondary Vetting optional flag parameter to create Brand API
13
+
14
+
15
+ [2021-09-08] Version 5.58.2
16
+ ---------------------------
17
+ **Library - Fix**
18
+ - [PR #568](https://github.com/twilio/twilio-ruby/pull/568): deprecation warning on Faraday. Thanks to [@ngouy](https://github.com/ngouy)!
19
+
20
+ **Api**
21
+ - Revert adding `siprec` resource
22
+ - Add `siprec` resource
23
+
24
+ **Messaging**
25
+ - Add 'mock' as an optional field to brand_registration api
26
+ - Add 'mock' as an optional field to us_app_to_person api
27
+ - Adds more Use Cases in us_app_to_person_usecase api transaction and updates us_app_to_person_usecase docs
28
+
29
+ **Verify**
30
+ - Verify List Templates API endpoint added.
31
+
32
+
33
+ [2021-08-25] Version 5.58.1
34
+ ---------------------------
35
+ **Api**
36
+ - Add Programmabled Voice SIP Refer call transfers (`calls-transfers`) to usage records
37
+ - Add Flex Voice Usage category (`flex-usage`) to usage records
38
+
39
+ **Conversations**
40
+ - Add `Order` query parameter to Message resource read operation
41
+
42
+ **Insights**
43
+ - Added `partial` to enum processing_state_request
44
+ - Added abnormal session filter in Call Summaries
45
+
46
+ **Messaging**
47
+ - Add brand_registration_sid as an optional query param for us_app_to_person_usecase api
48
+
49
+ **Pricing**
50
+ - add trunking_numbers resource (v2)
51
+ - add trunking_country resource (v2)
52
+
53
+ **Verify**
54
+ - Changed to private beta the `TemplateSid` optional parameter on Verification creation.
55
+ - Added the optional parameter `Order` to the list Challenges endpoint to define the list order.
56
+
57
+
58
+ [2021-08-11] Version 5.58.0
59
+ ---------------------------
60
+ **Library - Chore**
61
+ - [PR #566](https://github.com/twilio/twilio-ruby/pull/566): integrate sonarcloud. Thanks to [@shwetha-manvinkurke](https://github.com/shwetha-manvinkurke)!
62
+
63
+ **Library - Docs**
64
+ - [PR #565](https://github.com/twilio/twilio-ruby/pull/565): update mms example to use media_url. Thanks to [@cnorm35](https://github.com/cnorm35)!
65
+
66
+ **Api**
67
+ - Corrected the `price`, `call_sid_to_coach`, and `uri` data types for Conference, Participant, and Recording **(breaking change)**
68
+ - Made documentation for property `time_limit` in the call api public. **(breaking change)**
69
+ - Added `domain_sid` in sip_credential_list_mapping and sip_ip_access_control_list_mapping APIs **(breaking change)**
70
+
71
+ **Insights**
72
+ - Added new endpoint to fetch Call Summaries
73
+
74
+ **Messaging**
75
+ - Add brand_type field to a2p brand_registration api
76
+ - Revert brand registration api update to add brand_type field
77
+ - Add brand_type field to a2p brand_registration api
78
+
79
+ **Taskrouter**
80
+ - Add `X-Rate-Limit-Limit`, `X-Rate-Limit-Remaining`, and `X-Rate-Limit-Config` as Response Headers to all TaskRouter endpoints
81
+
82
+ **Verify**
83
+ - Add `TemplateSid` optional parameter on Verification creation.
84
+ - Include `whatsapp` as a channel type in the verifications API.
85
+
86
+
87
+ [2021-07-28] Version 5.57.1
88
+ ---------------------------
89
+ **Conversations**
90
+ - Expose ParticipantConversations resource
91
+
92
+ **Taskrouter**
93
+ - Adding `links` to the activity resource
94
+
95
+ **Verify**
96
+ - Added a `Version` to Verify Factors `Webhooks` to add new fields without breaking old Webhooks.
97
+
98
+
99
+ [2021-07-14] Version 5.57.0
100
+ ---------------------------
101
+ **Conversations**
102
+ - Changed `last_read_message_index` and `unread_messages_count` type in User Conversation's resource **(breaking change)**
103
+ - Expose UserConversations resource
104
+
105
+ **Messaging**
106
+ - Add brand_score field to brand registration responses
107
+
108
+
109
+ [2021-06-30] Version 5.56.0
110
+ ---------------------------
111
+ **Library - Feature**
112
+ - [PR #559](https://github.com/twilio/twilio-ruby/pull/559): Add `Twilio::HTTP::Client#configure_connection`. Thanks to [@darwinShopify](https://github.com/darwinShopify)!
113
+ - [PR #558](https://github.com/twilio/twilio-ruby/pull/558): Autoload Twilio::REST and Twilio::HTTP. Thanks to [@gmcgibbon](https://github.com/gmcgibbon)!
114
+
115
+ **Conversations**
116
+ - Read-only Conversation Email Binding property `binding`
117
+
118
+ **Supersim**
119
+ - Add Billing Period resource for the Super Sim Pilot
120
+ - Add List endpoint to Billing Period resource for Super Sim Pilot
121
+ - Add Fetch endpoint to Billing Period resource for Super Sim Pilot
122
+
123
+ **Taskrouter**
124
+ - Update `transcribe` & `transcription_configuration` form params in Reservation update endpoint to have private visibility **(breaking change)**
125
+ - Add `transcribe` & `transcription_configuration` form params to Reservation update endpoint
126
+
127
+ **Twiml**
128
+ - Add `modify` event to `statusCallbackEvent` for `<Conference>`.
129
+
130
+
131
+ [2021-06-16] Version 5.55.0
132
+ ---------------------------
133
+ **Api**
134
+ - Update `status` enum for Messages to include 'canceled'
135
+ - Update `update_status` enum for Messages to include 'canceled'
136
+
137
+ **Trusthub**
138
+ - Corrected the sid for policy sid in customer_profile_evaluation.json and trust_product_evaluation.json **(breaking change)**
139
+
140
+
141
+ [2021-06-02] Version 5.54.1
142
+ ---------------------------
143
+ **Events**
144
+ - join Sinks and Subscriptions service
145
+
146
+ **Verify**
147
+ - Improved the documentation of `challenge` adding the maximum and minimum expected lengths of some fields.
148
+ - Improve documentation regarding `notification` by updating the documentation of the field `ttl`.
149
+
150
+
151
+ [2021-05-19] Version 5.54.0
152
+ ---------------------------
153
+ **Events**
154
+ - add query param to return types filtered by Schema Id
155
+ - Add query param to return sinks filtered by status
156
+ - Add query param to return sinks used/not used by a subscription
157
+
158
+ **Messaging**
159
+ - Add fetch and delete instance endpoints to us_app_to_person api **(breaking change)**
160
+ - Remove delete list endpoint from us_app_to_person api **(breaking change)**
161
+ - Update read list endpoint to return a list of us_app_to_person compliance objects **(breaking change)**
162
+ - Add `sid` field to Preregistered US App To Person response
163
+
164
+ **Supersim**
165
+ - Mark `unique_name` in Sim, Fleet, NAP resources as not PII
166
+
167
+ **Video**
168
+ - [Composer] GA maturity level
169
+
170
+
171
+ [2021-05-05] Version 5.53.0
172
+ ---------------------------
173
+ **Library - Fix**
174
+ - [PR #554](https://github.com/twilio/twilio-ruby/pull/554): JSON parser error on timeout response. Thanks to [@Maychell](https://github.com/Maychell)!
175
+
176
+ **Api**
177
+ - Corrected the data types for feedback summary fields **(breaking change)**
178
+ - Update the conference participant create `from` and `to` param to be endpoint type for supporting client identifier and sip address
179
+
180
+ **Bulkexports**
181
+ - promoting API maturity to GA
182
+
183
+ **Events**
184
+ - Add endpoint to update description in sink
185
+ - Remove beta-feature account flag
186
+
187
+ **Messaging**
188
+ - Update `status` field in us_app_to_person api to `campaign_status` **(breaking change)**
189
+
190
+ **Verify**
191
+ - Improve documentation regarding `push` factor and include extra information about `totp` factor.
192
+
193
+
194
+ [2021-04-21] Version 5.52.0
195
+ ---------------------------
196
+ **Api**
197
+ - Revert Update the conference participant create `from` and `to` param to be endpoint type for supporting client identifier and sip address
198
+ - Update the conference participant create `from` and `to` param to be endpoint type for supporting client identifier and sip address
199
+
200
+ **Bulkexports**
201
+ - moving enum to doc root for auto generating documentation
202
+ - adding status enum and default output properties
203
+
204
+ **Events**
205
+ - Change schema_versions prop and key to versions **(breaking change)**
206
+
207
+ **Messaging**
208
+ - Add `use_inbound_webhook_on_number` field in Service API for fetch, create, update, read
209
+
210
+ **Taskrouter**
211
+ - Add `If-Match` Header based on ETag for Task Delete
212
+
213
+ **Verify**
214
+ - Add `AuthPayload` parameter to support verifying a `Challenge` upon creation. This is only supported for `totp` factors.
215
+ - Add support to resend the notifications of a `Challenge`. This is only supported for `push` factors.
216
+
217
+ **Twiml**
218
+ - Add Polly Neural voices.
219
+
220
+
221
+ [2021-04-07] Version 5.51.0
222
+ ---------------------------
223
+ **Library - Chore**
224
+ - [PR #551](https://github.com/twilio/twilio-ruby/pull/551): omit spec/ from .gem file. Thanks to [@mroach](https://github.com/mroach)!
225
+
226
+ **Api**
227
+ - Added `announcement` event to conference status callback events
228
+ - Removed optional property `time_limit` in the call create request. **(breaking change)**
229
+
230
+ **Messaging**
231
+ - Add rate_limits field to Messaging Services US App To Person API
232
+ - Add usecase field in Service API for fetch, create, update, read
233
+ - Add us app to person api and us app to person usecase api as dependents in service
234
+ - Add us_app_to_person_registered field in service api for fetch, read, create, update
235
+ - Add us app to person api
236
+ - Add us app to person usecase api
237
+ - Add A2P external campaign api
238
+ - Add Usecases API
239
+
240
+ **Supersim**
241
+ - Add Create endpoint to Sims resource
242
+
243
+ **Verify**
244
+ - The `Binding` field is now returned when creating a `Factor`. This value won't be returned for other endpoints.
245
+
246
+ **Video**
247
+ - [Rooms] max_concurrent_published_tracks has got GA maturity
248
+
249
+ **Twiml**
250
+ - Add `announcement` event to `statusCallbackEvent` for `<Conference>`.
251
+
252
+
253
+ [2021-03-24] Version 5.50.0
254
+ ---------------------------
255
+ **Api**
256
+ - Added optional parameter `CallToken` for create calls api
257
+ - Add optional property `time_limit` in the call create request.
258
+
259
+ **Bulkexports**
260
+ - adding two new fields with job api queue_position and estimated_completion_time
261
+
262
+ **Events**
263
+ - Add new endpoints to manage subscribed_events in subscriptions
264
+
265
+ **Numbers**
266
+ - Remove feature flags for RegulatoryCompliance endpoints
267
+
268
+ **Supersim**
269
+ - Add SmsCommands resource
270
+ - Add fields `SmsCommandsUrl`, `SmsCommandsMethod` and `SmsCommandsEnabled` to a Fleet resource
271
+
272
+ **Taskrouter**
273
+ - Add `If-Match` Header based on ETag for Task Update
274
+ - Add `ETag` as Response Headers to Tasks and Reservations
275
+
276
+ **Video**
277
+ - Recording rule beta flag **(breaking change)**
278
+ - [Rooms] Add RecordingRules param to Rooms
279
+
280
+
281
+ [2021-03-15] Version 5.49.0
282
+ ---------------------------
283
+ **Library - Fix**
284
+ - [PR #550](https://github.com/twilio/twilio-ruby/pull/550): regenerating with the path parameter fix. Thanks to [@shwetha-manvinkurke](https://github.com/shwetha-manvinkurke)!
285
+
286
+ **Events**
287
+ - Set maturity to beta
288
+
289
+ **Messaging**
290
+ - Adjust A2P brand registration status enum **(breaking change)**
291
+
292
+ **Studio**
293
+ - Remove internal safeguards for Studio V2 API usage now that it's GA
294
+
295
+ **Verify**
296
+ - Add support for creating and verifying totp factors. Support for totp factors is behind the `api.verify.totp` beta feature.
297
+
298
+ **Twiml**
299
+ - Add support for `<VirtualAgent>` noun
300
+
301
+
302
+ [2021-02-24] Version 5.48.0
303
+ ---------------------------
304
+ **Events**
305
+ - Update description of types in the create sink resource
306
+
307
+ **Messaging**
308
+ - Add WA template header and footer
309
+ - Remove A2P campaign and use cases API **(breaking change)**
310
+ - Add number_registration_status field to read and fetch campaign responses
311
+
312
+ **Trusthub**
313
+ - Make all resources public
314
+
315
+ **Verify**
316
+ - Verify List Attempts API endpoints added.
317
+
318
+
319
+ [2021-02-10] Version 5.47.0
320
+ ---------------------------
321
+ **Library - Fix**
322
+ - [PR #548](https://github.com/twilio/twilio-ruby/pull/548): shortcut syntax for new non-GA versions. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
323
+
324
+ **Api**
325
+ - Revert change that conference participant create `from` and `to` param to be endpoint type for supporting client identifier and sip address
326
+ - Update the conference participant create `from` and `to` param to be endpoint type for supporting client identifier and sip address
327
+
328
+ **Events**
329
+ - Documentation should state that no fields are PII
330
+
331
+ **Flex**
332
+ - Adding `notifications` and `markdown` to Flex Configuration
333
+
334
+ **Messaging**
335
+ - Add A2P use cases API
336
+ - Add Brand Registrations API
337
+ - Add Campaigns API
338
+
339
+ **Serverless**
340
+ - Add runtime field to Build response and as an optional parameter to the Build create endpoint.
341
+ - Add @twilio/runtime-handler dependency to Build response example.
342
+
343
+ **Sync**
344
+ - Remove If-Match header for Document **(breaking change)**
345
+
346
+ **Twiml**
347
+ - Add `refer_url` and `refer_method` to `Dial`.
348
+
349
+
350
+ [2021-01-27] Version 5.46.1
351
+ ---------------------------
352
+ **Library - Docs**
353
+ - [PR #547](https://github.com/twilio/twilio-ruby/pull/547): Document how to use an API Key. Thanks to [@davetron5000](https://github.com/davetron5000)!
354
+
355
+ **Studio**
356
+ - Studio V2 API is now GA
357
+
358
+ **Supersim**
359
+ - Allow updating `CommandsUrl` and `CommandsMethod` on a Fleet
360
+
361
+ **Twiml**
362
+ - Add `status_callback` and `status_callback_method` to `Stream`.
363
+
364
+
365
+ [2021-01-13] Version 5.46.0
366
+ ---------------------------
367
+ **Library - Docs**
368
+ - [PR #546](https://github.com/twilio/twilio-ruby/pull/546): Fixing docs for list parameter types. Thanks to [@shwetha-manvinkurke](https://github.com/shwetha-manvinkurke)!
369
+
370
+ **Library - Fix**
371
+ - [PR #545](https://github.com/twilio/twilio-ruby/pull/545): Adds Ruby 3.0 to Travis. Fixes test. Thanks to [@philnash](https://github.com/philnash)!
372
+
373
+ **Api**
374
+ - Add 'Electric Imp v1 Usage' to usage categories
375
+
376
+ **Conversations**
377
+ - Changed `last_read_message_index` type in Participant's resource **(breaking change)**
378
+
379
+ **Insights**
380
+ - Added `created_time` to call summary.
381
+
382
+ **Sync**
383
+ - Remove HideExpired query parameter for filtering Sync Documents with expired **(breaking change)**
384
+
385
+ **Video**
386
+ - [Rooms] Expose maxConcurrentPublishedTracks property in Room resource
387
+
388
+
389
+ [2020-12-16] Version 5.45.1
390
+ ---------------------------
391
+ **Api**
392
+ - Updated `call_event` default_output_properties to request and response.
393
+
394
+ **Conversations**
395
+ - Added `last_read_message_index` and `last_read_timestamp` to Participant's resource update operation
396
+ - Added `is_notifiable` and `is_online` to User's resource
397
+ - Added `reachability_enabled` parameters to update method for Conversation Service Configuration resource
398
+
399
+ **Messaging**
400
+ - Added WA template quick reply, URL, and phone number buttons
401
+
402
+ **Twiml**
403
+ - Add `sequential` to `Dial`.
404
+
405
+
406
+ [2020-12-08] Version 5.45.0
407
+ ---------------------------
408
+ **Api**
409
+ - Added optional `RecordingTrack` parameter for create calls, create participants, and create call recordings
410
+ - Removed deprecated Programmable Chat usage record categories **(breaking change)**
411
+
412
+ **Twiml**
413
+ - Add `recordingTrack` to `Dial`.
414
+
415
+
416
+ [2020-12-02] Version 5.44.0
417
+ ---------------------------
418
+ **Api**
419
+ - Remove `RecordingTrack` parameter for create calls, create participants, and create call recordings **(breaking change)**
420
+ - Added `RecordingTrack` parameter for create calls and create call recordings
421
+ - Add optional property `recording_track` in the participant create request
422
+
423
+ **Lookups**
424
+ - Changed `caller_name` and `carrier` properties type to object **(breaking change)**
425
+
426
+ **Trunking**
427
+ - Added dual channel recording options for Trunks.
428
+
429
+ **Twiml**
430
+ - Add `jitterBufferSize` and `participantLabel` to `Conference`.
431
+
432
+
433
+ [2020-11-18] Version 5.43.0
434
+ ---------------------------
435
+ **Library - Feature**
436
+ - [PR #538](https://github.com/twilio/twilio-ruby/pull/538): adding http logging for ruby. Thanks to [@shwetha-manvinkurke](https://github.com/shwetha-manvinkurke)!
437
+
438
+ **Api**
439
+ - Add new call events resource - GET /2010-04-01/Accounts/{account_sid}/Calls/{call_sid}/Events.json
440
+
441
+ **Conversations**
442
+ - Fixed default response property issue for Service Notifications Configuration
443
+
444
+ **Insights**
445
+ - Removing call_sid from participant summary. **(breaking change)**
446
+
447
+ **Serverless**
448
+ - Allow Service unique name to be used in path (in place of SID) in Service update request
449
+
450
+ **Sync**
451
+ - Added HideExpired query parameter for filtering Sync Documents with expired
452
+
453
+ **Verify**
454
+ - Challenge `Details` and `HiddenDetails` properties are now marked as `PII`
455
+ - Challenge `expiration_date` attribute updated to set a default value of five (5) minutes and to allow max dates of one (1) hour after creation.
456
+ - Entity `identity` attribute updated to allow values between 8 and 64 characters.
457
+ - Verify Service frinedly_name attribute updated from 64 max lenght to 30 characters.
458
+
459
+
460
+ [2020-11-05] Version 5.42.0
461
+ ---------------------------
462
+ **Library - Feature**
463
+ - [PR #537](https://github.com/twilio/twilio-ruby/pull/537): Add region to AccessToken. Thanks to [@ryan-rowland](https://github.com/ryan-rowland)!
464
+
465
+ **Api**
466
+ - Added `verify-push` to `usage_record` API
467
+
468
+ **Bulkexports**
469
+ - When creating a custom export the StartDay, EndDay, and FriendlyName fields were required but this was not reflected in the API documentation. The API itself failed the request without these fields. **(breaking change)**
470
+ - Added property descriptions for Custom Export create method
471
+ - Clarified WebhookUrl and WebhookMethod must be provided together for Custom Export
472
+
473
+ **Insights**
474
+ - Added video room and participant summary apis.
475
+
476
+ **Ip_messaging**
477
+ - Create separate definition for ip-messaging
478
+ - Restore v2 endpoints for ip-messaging
479
+
480
+ **Verify**
481
+ - Verify Push madurity were updated from `preview` to `beta`
482
+ - `twilio_sandbox_mode` header was removed from Verify Push resources **(breaking change)**
483
+
484
+ **Video**
485
+ - [Rooms] Add Recording Rules API
486
+
487
+
488
+ [2020-10-14] Version 5.41.0
489
+ ---------------------------
490
+ **Ai**
491
+ - Add `Annotation Project` and `Annotation Task` endpoints
492
+ - Add `Primitives` endpoints
493
+ - Add `meta.total` to the search endpoint
494
+
495
+ **Conversations**
496
+ - Mutable Conversation Unique Names
497
+
498
+ **Insights**
499
+ - Added `trust` to summary.
500
+
501
+ **Preview**
502
+ - Simplified `Channels` resource. The path is now `/BrandedChannels/branded_channel_sid/Channels` **(breaking change)**
503
+
504
+ **Verify**
505
+ - Changed parameters (`config` and `binding`) to use dot notation instead of JSON string (e.i. Before: `binding={"alg":"ES256", "public_key": "xxx..."}`, Now: `Binding.Alg="ES256"`, `Binding.PublicKey="xxx..."`). **(breaking change)**
506
+ - Changed parameters (`details` and `hidden_details`) to use dot notation instead of JSON string (e.i. Before: `details={"message":"Test message", "fields": "[{\"label\": \"Action 1\", \"value\":\"value 1\"}]"}`, Now: `details.Message="Test message"`, `Details.Fields=["{\"label\": \"Action 1\", \"value\":\"value 1\"}"]`). **(breaking change)**
507
+ - Removed `notify_service_sid` from `push` service configuration object. Add `Push.IncludeDate`, `Push.ApnCredentialSid` and `Push.FcmCredentialSid` service configuration parameters. **(breaking change)**
508
+
509
+
510
+ [2020-09-28] Version 5.40.4
511
+ ---------------------------
512
+ **Library - Docs**
513
+ - [PR #535](https://github.com/twilio/twilio-ruby/pull/535): convert markdown links to RDoc formatted links. Thanks to [@JenniferMah](https://github.com/JenniferMah)!
514
+
515
+ **Api**
516
+ - Add optional property `call_reason` in the participant create request
517
+ - Make sip-domain-service endpoints available in stage-au1 and prod-au1
518
+
519
+ **Messaging**
520
+ - Removed beta feature gate from WhatsApp Templates API
521
+
522
+ **Serverless**
523
+ - Add Build Status endpoint
524
+
525
+ **Video**
526
+ - [Rooms] Add new room type "go" for WebRTC Go
527
+
528
+
529
+ [2020-09-21] Version 5.40.3
530
+ ---------------------------
531
+ **Library - Fix**
532
+ - [PR #534](https://github.com/twilio/twilio-ruby/pull/534): allow API redirect responses. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
533
+
534
+ **Accounts**
535
+ - Add Auth Token rotation API
536
+
537
+ **Conversations**
538
+ - Change resource path for Webhook Configuration
539
+
540
+ **Events**
541
+ - Schemas API get all Schemas names and versions
542
+
543
+
544
+ [2020-09-16] Version 5.40.2
545
+ ---------------------------
546
+ **Library - Fix**
547
+ - [PR #530](https://github.com/twilio/twilio-ruby/pull/530): drop the page limit calculation. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
548
+
549
+ **Conversations**
550
+ - Expose Configuration and Service Configuration resources
551
+ - Add Unique Name support for Conversations
552
+ - Add Services Push Notification resource
553
+ - Add Service scoped Conversation resources
554
+ - Support Identity in Users resource endpoint
555
+
556
+ **Messaging**
557
+ - GA Deactivation List API
558
+ - Add domain cert API's(fetch, update, create) for link tracker
559
+
560
+ **Numbers**
561
+ - Add API endpoint for Supporting Document deletion
562
+
563
+ **Proxy**
564
+ - Updated usage of FailOnParticipantConflict param to apply only to accounts with ProxyAllowParticipantConflict account flag
565
+
566
+ **Supersim**
567
+ - Add `AccountSid` parameter to Sim resource update request
568
+ - Add `ready` status as an available status for a Sim resource
569
+
570
+
571
+ [2020-09-02] Version 5.40.1
572
+ ---------------------------
573
+ **Library - Chore**
574
+ - [PR #529](https://github.com/twilio/twilio-ruby/pull/529): sort files for deterministic require order. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
575
+
576
+ **Ai**
577
+ - Initial release
578
+
579
+ **Bulkexports**
580
+ - removing public beta feature flag from BulkExports Jobs API
581
+
582
+ **Messaging**
583
+ - Add Deactivation List API
584
+ - Added page token parameter for fetch in WhatsApp Templates API
585
+
586
+ **Numbers**
587
+ - Add API endpoint for End User deletion
588
+
589
+ **Routes**
590
+ - Add Resource Route Configurations API
591
+ - Add Route Configurations API
592
+ - Initial Release
593
+
594
+ **Trunking**
595
+ - Added `transfer_mode` property on Trunks.
596
+
597
+
598
+ [2020-08-19] Version 5.40.0
599
+ ---------------------------
600
+ **Library - Chore**
601
+ - [PR #526](https://github.com/twilio/twilio-ruby/pull/526): update GitHub branch references to use HEAD. Thanks to [@thinkingserious](https://github.com/thinkingserious)!
602
+
603
+ **Conversations**
604
+ - Allow Identity addition to Participants
605
+
606
+ **Events**
607
+ - Sinks API Get all Sinks
608
+
609
+ **Proxy**
610
+ - Clarified usage of FailOnParticipantConflict param as experimental
611
+ - Add FailOnParticipantConflict param to Proxy Session create and Proxy Participant create
612
+
613
+ **Supersim**
614
+ - Add fleet, network, and isoCountryCode to the UsageRecords resource
615
+ - Change sort order of UsageRecords from ascending to descending with respect to start time field, records are now returned newest to oldest
616
+
617
+ **Wireless**
618
+ - Removed `Start` and `End` parameters from the Data Sessions list endpoint. **(breaking change)**
619
+
620
+
621
+ [2020-08-05] Version 5.39.3
622
+ ---------------------------
623
+ **Messaging**
624
+ - Add rejection reason support to WhatsApp API
625
+ - Removed status parameter for create and update in WhatsApp Templates API
626
+
627
+ **Proxy**
628
+ - Add FailOnParticipantConflict param to Proxy Session update
629
+
630
+ **Verify**
631
+ - Add `CustomFriendlyName` optional parameter on Verification creation.
632
+ - Changes in `Challenge` resource to update documentation of both `details` and `hidden_details` properties.
633
+
634
+
635
+ [2020-07-22] Version 5.39.2
636
+ ---------------------------
637
+ **Api**
638
+ - Add optional Click Tracking and Scheduling parameters to Create action of Message resource
639
+
640
+ **Supersim**
641
+ - Add callback_url and callback_method parameters to Sim resource update request
642
+
643
+
644
+ [2020-07-10] Version 5.39.1
645
+ ---------------------------
646
+ **Library - Fix**
647
+ - [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)!
648
+
649
+
650
+ [2020-07-08] Version 5.39.0
651
+ ---------------------------
652
+ **Library - Feature**
653
+ - [PR #516](https://github.com/twilio/twilio-ruby/pull/516): add custom header support. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
654
+
655
+ **Library - Chore**
656
+ - [PR #515](https://github.com/twilio/twilio-ruby/pull/515): regenerate library after generator refactor. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
657
+
658
+ **Conversations**
659
+ - Allow Address updates for Participants
660
+ - Message delivery receipts
661
+
662
+ **Events**
663
+ - Add account_sid to subscription and subscribed_events resources
664
+
665
+ **Flex**
666
+ - Changed `wfm_integrations` Flex Configuration key to private **(breaking change)**
667
+
668
+ **Messaging**
669
+ - Add error states to WhatsApp Sender status with failed reason **(breaking change)**
670
+ - Delete WhatsApp Template API
671
+ - Update WhatsApp Template API
672
+ - Add WhatsApp Template Get Api (fetch and read)
673
+
674
+ **Numbers**
675
+ - Add `valid_until` in the Bundles resource
676
+ - Add API for Bundle deletion
677
+
678
+ **Verify**
679
+ - Removed support for `sms`, `totp` and `app-push` factor types in Verify push **(breaking change)**
680
+
681
+
682
+ [2020-06-24] Version 5.38.0
683
+ ---------------------------
684
+ **Api**
685
+ - Added optional `JitterBufferSize` parameter for creating conference participant
686
+ - Added optional `label` property for conference participants
687
+ - Added optional parameter `caller_id` for creating conference participant endpoint.
688
+
689
+ **Autopilot**
690
+ - Remove Export resource from Autopilot Assistant
691
+
692
+ **Conversations**
693
+ - Expose Conversation timers
694
+
695
+ **Monitor**
696
+ - Update start/end date filter params to support date-or-time format **(breaking change)**
697
+
698
+ **Numbers**
699
+ - Add `provisionally-approved` as a Supporting Document status
700
+
701
+ **Preview**
702
+ - Removed `Authy` resources. **(breaking change)**
703
+
704
+ **Supersim**
705
+ - Add ready state to the allowed transitions in the sim update call behind the feature flag supersim.ready-state.v1
706
+
707
+ **Verify**
708
+ - Webhook resources added to Verify services and put behind the `api.verify.push` beta feature
709
+
710
+ **Twiml**
711
+ - Add more supported locales for the `Gather` verb.
712
+
713
+
714
+ [2020-06-10] Version 5.37.0
715
+ ---------------------------
716
+ **Library - Docs**
717
+ - [PR #514](https://github.com/twilio/twilio-ruby/pull/514): link to handling exceptions. Thanks to [@thinkingserious](https://github.com/thinkingserious)!
718
+ - [PR #513](https://github.com/twilio/twilio-ruby/pull/513): link to custom HTTP client instructions. Thanks to [@thinkingserious](https://github.com/thinkingserious)!
719
+
720
+ **Api**
721
+ - Added `pstnconnectivity` to `usage_record` API
722
+
723
+ **Autopilot**
724
+ - Add dialogue_sid param to Query list resource
725
+
726
+ **Notify**
727
+ - delivery_callback_url and delivery_callback_enabled added
728
+
729
+ **Numbers**
730
+ - Add `provisionally-approved` as a Bundle status
731
+
732
+ **Preview**
733
+ - `BrandsInformation` endpoint now returns a single `BrandsInformation`
734
+ - Deleted phone number required field in the brand phone number endpoint from `kyc-api`
735
+ - Removed insights `preview API` from API Definitions **(breaking change)**
736
+ - Added `BrandsInformation` endpoint to query brands information stored in KYC
737
+
738
+ **Supersim**
739
+ - Require a Network Access Profile when creating a Fleet **(breaking change)**
740
+
741
+
742
+ [2020-05-27] Version 5.36.0
743
+ ---------------------------
744
+ **Api**
745
+ - Added `reason_conference_ended` and `call_sid_ending_conference` to Conference read/fetch/update
746
+ - Fixed some examples to use the correct "TK" SID prefix for Trunk resources.
747
+
748
+ **Authy**
749
+ - Renamed `twilio_authy_sandbox_mode` headers to `twilio_sandbox_mode` **(breaking change)**
750
+ - Renamed `Twilio-Authy-*` headers to `Twilio-Veriry-*` **(breaking change)**
751
+
752
+ **Flex**
753
+ - Adding `flex_service_instance_sid` to Flex Configuration
754
+
755
+ **Preview**
756
+ - Removed insights preview API from API Definitions **(breaking change)**
757
+ - Added `Channels` endpoint to brand a phone number for BrandedCalls
758
+
759
+ **Serverless**
760
+ - Add Build Sid to Log results
761
+
762
+ **Supersim**
763
+ - Add Network Access Profile resource Networks subresource
764
+ - Allow specifying a Data Limit on Fleets
765
+
766
+ **Trunking**
767
+ - Fixed some examples to use the correct "TK" SID prefix for Trunk resources.
768
+
769
+
770
+ [2020-05-20] Version 5.35.0
771
+ ---------------------------
772
+ **Library - Feature**
773
+ - [PR #512](https://github.com/twilio/twilio-ruby/pull/512): add regional and edge support. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
774
+
775
+
776
+ [2020-05-13] Version 5.34.1
777
+ ---------------------------
778
+ **Api**
779
+ - Add optional `emergency_caller_sid` parameter to SIP Domain
780
+ - Updated `call_reason` optional property to be treated as PII
781
+ - Added optional BYOC Trunk Sid property to Sip Domain API resource
782
+
783
+ **Autopilot**
784
+ - Add Restore resource to Autopilot Assistant
785
+
786
+ **Contacts**
787
+ - Added contacts Create API definition
788
+
789
+ **Events**
790
+ - Subscriptions API initial release
791
+
792
+ **Numbers**
793
+ - Add Evaluations API
794
+
795
+ **Supersim**
796
+ - Allow filtering the Fleets resource by Network Access Profile
797
+ - Allow assigning a Network Access Profile when creating and updating a Fleet
798
+ - Add Network Access Profiles resource
799
+
800
+ **Verify**
801
+ - Add `CustomCode` optional parameter on Verification creation.
802
+ - Add delete action on Service resource.
803
+
804
+ **Voice**
805
+ - Added endpoints for BYOC trunks, SIP connection policies and source IP mappings
806
+
807
+
808
+ [2020-04-29] Version 5.34.0
809
+ ---------------------------
810
+ **Library - Feature**
811
+ - [PR #511](https://github.com/twilio/twilio-ruby/pull/511): add details to error object. Thanks to [@ashish-s](https://github.com/ashish-s)!
812
+
813
+ **Preview**
814
+ - Added `Dispatch` version to `preview`
815
+
816
+ **Studio**
817
+ - Reroute Create Execution for V2 to the V2 downstream
818
+
819
+ **Supersim**
820
+ - Add Networks resource
821
+
822
+
823
+ [2020-04-15] Version 5.33.1
824
+ ---------------------------
825
+ **Library - Fix**
826
+ - [PR #506](https://github.com/twilio/twilio-ruby/pull/506): loosen the faraday version requirement. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
827
+
828
+ **Library - Chore**
829
+ - [PR #508](https://github.com/twilio/twilio-ruby/pull/508): Refer to https:// homepage in gemspec. Thanks to [@olleolleolle](https://github.com/olleolleolle)!
830
+ - [PR #507](https://github.com/twilio/twilio-ruby/pull/507): Travis: Drop unused "sudo: false" directive. Thanks to [@olleolleolle](https://github.com/olleolleolle)!
831
+ - [PR #498](https://github.com/twilio/twilio-ruby/pull/498): autoload TwiML to save memory on load. Thanks to [@philnash](https://github.com/philnash)!
832
+ - [PR #499](https://github.com/twilio/twilio-ruby/pull/499): autoload JWT classes. Thanks to [@philnash](https://github.com/philnash)!
833
+ - [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)!
834
+
835
+ **Api**
836
+ - Updated description for property `call_reason` in the call create request
837
+
838
+ **Contacts**
839
+ - Added Read, Delete All, and Delete by SID docs
840
+ - Initial Release
841
+
842
+ **Studio**
843
+ - Rename `flow_valid` to `flow_validate`
844
+ - Removed `errors` and `warnings` from flows error response and added new property named `details`
845
+ - Add Update Execution endpoints to v1 and v2 to end execution via API
846
+ - Add new `warnings` attribute v2 flow POST api
847
+
848
+ **Twiml**
849
+ - Add enhanced attribute to use with `speech_model` for the `Gather` verb
850
+
851
+
852
+ [2020-04-01] Version 5.33.0
853
+ ---------------------------
854
+ **Library - Chore**
855
+ - [PR #502](https://github.com/twilio/twilio-ruby/pull/502): Fix a typo in JWT::TaskRouterUtils. Thanks to [@rywall](https://github.com/rywall)!
856
+
857
+ **Api**
858
+ - Add optional 'secure' parameter to SIP Domain
859
+
860
+ **Authy**
861
+ - Added an endpoint to list the challenges of a factor
862
+ - Added optional parameter `Push` when updating a service to send the service level push factor configuration
863
+
864
+ **Bulkexports**
865
+ - exposing bulk exports (vault/slapchop) API as public beta API
866
+
867
+ **Flex**
868
+ - Adding `queue_stats_configuration` and `wfm_integrations` to Flex Configuration
869
+
870
+ **Serverless**
871
+ - Add Function Version Content endpoint
872
+ - Allow build_sid to be optional for deployment requests
873
+
874
+ **Supersim**
875
+ - Remove `deactivated` status for Super SIM which is replaced by `inactive` **(breaking change)**
876
+
877
+
878
+ [2020-03-18] Version 5.32.0
879
+ ---------------------------
880
+ **Api**
881
+ - Add optional `emergency_calling_enabled` parameter to SIP Domain
882
+ - Add optional property `call_reason` in the call create request
883
+
884
+ **Authy**
885
+ - Added `friendly_name` and `config` as optional params to Factor update
886
+ - Added `config` param to Factor creation **(breaking change)**
887
+
888
+ **Preview**
889
+ - Renamed `SuccessRate` endpoint to `ImpressionsRate` for Branded Calls (fka. Verified by Twilio) **(breaking change)**
890
+
891
+
892
+ [2020-03-04] Version 5.31.6
893
+ ---------------------------
894
+ **Library - Chore**
895
+ - [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)!
896
+
897
+ **Authy**
898
+ - Added the `configuration` property to services to return the service level configurations
899
+ - Added optional parameter `Push` when creating a service to send the service level push factor configuration
900
+ - Remove FactorStrength support for Factors and Challenges **(breaking change)**
901
+
902
+ **Messaging**
903
+ - Correct the alpha sender capabilities property type **(breaking change)**
904
+
905
+ **Preview**
906
+ - Removed `/Devices` register Branded Calls endpoint, as per iOS sample app deprecation **(breaking change)**
907
+ - Removed `Twilio-Sandbox-Mode` request header from the Branded Calls endpoints, as not officially supported **(breaking change)**
908
+ - Removed `Verify` version from `preview` subdomain in favor to `verify` subdomain. **(breaking change)**
909
+
910
+ **Serverless**
911
+ - Add UI-Editable field to Services
912
+
913
+ **Supersim**
914
+ - Add `inactive` status for Super SIM which is an alias for `deactivated`
915
+
916
+ **Taskrouter**
917
+ - Adding value range to `priority` in task endpoint
918
+
919
+ **Verify**
920
+ - Fix `SendCodeAttempts` type. It's an array of objects instead of a unique object. **(breaking change)**
921
+
922
+
923
+ [2020-02-19] Version 5.31.5
924
+ ---------------------------
925
+ **Library - Chore**
926
+ - [PR #495](https://github.com/twilio/twilio-ruby/pull/495): bump the rubocop version. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
927
+
928
+ **Api**
929
+ - Make call create parameters `async_amd`, `async_amd_status_callback`, and `async_amd_status_callback_method` public
930
+ - Add `trunk_sid` as an optional field to Call resource fetch/read responses
931
+ - Add property `queue_time` to successful response of create, fetch, and update requests for Call
932
+ - Add optional parameter `byoc` to conference participant create.
933
+
934
+ **Authy**
935
+ - Added support for challenges associated to push factors
936
+
937
+ **Flex**
938
+ - Adding `ui_dependencies` to Flex Configuration
939
+
940
+ **Messaging**
941
+ - Deprecate Session API **(breaking change)**
942
+
943
+ **Numbers**
944
+ - Add Regulations API
945
+
946
+ **Studio**
947
+ - Add Execution and Step endpoints to v2 API
948
+ - Add webhook_url to Flow response and add new /TestUsers endpoint to v2 API
949
+
950
+ **Taskrouter**
951
+ - Adding `longest_relative_task_age_in_queue` and `longest_relative_task_sid_in_queue` to TaskQueue Real Time Statistics API.
952
+ - Add `wait_duration_in_queue_until_accepted` aggregations to TaskQueues Cumulative Statistics endpoint
953
+ - Add TaskQueueEnteredDate property to Tasks.
954
+
955
+ **Video**
956
+ - [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
957
+ - [Composer] `audio_sources` type on the composer HTTP POST command, changed from `sid[]` to `string[]` **(breaking change)**
958
+ - [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
959
+
960
+
961
+ [2020-02-05] Version 5.31.4
962
+ ---------------------------
963
+ **Api**
964
+ - Making content retention and address retention public
965
+ - Update `status` enum for Messages to include 'partially_delivered'
966
+
967
+ **Authy**
968
+ - Added support for push factors
969
+
970
+ **Autopilot**
971
+ - Add one new property in Query i.e dialogue_sid
972
+
973
+ **Verify**
974
+ - Add `SendCodeAttempts` to create verification response.
975
+
976
+ **Video**
977
+ - Clarification in composition creation documentation: one source is mandatory, either `audio_sources` or `video_layout`, but on of them has to be provided
978
+
979
+ **Twiml**
980
+ - Add Polly Neural voices.
981
+
982
+
983
+ [2020-01-22] Version 5.31.3
984
+ ---------------------------
985
+ **Library - Docs**
986
+ - [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)!
987
+
988
+ **Library - Chore**
989
+ - [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)!
990
+
991
+ **Api**
992
+ - Add payments public APIs
993
+ - Add optional parameter `byoc` to call create request.
994
+
995
+ **Flex**
996
+ - Updating a Flex Flow `creation_on_message` parameter documentation
997
+
998
+ **Preview**
999
+ -
1000
+ - Removed Verify v2 from preview in favor of its own namespace as GA **(breaking change)**
1001
+
1002
+ **Studio**
1003
+ - Flow definition type update from string to object
1004
+
1005
+ **Verify**
1006
+ - Add `AppHash` parameter when creating a Verification.
1007
+ - Add `DoNotShareWarningEnabled` parameter to the Service resource.
1008
+
1009
+ **Twiml**
1010
+ - Add `track` attribute to siprec noun.
1011
+ - Add attribute `byoc` to `<Number>`
1012
+
1013
+
1014
+ [2020-01-08] Version 5.31.2
1015
+ ---------------------------
1016
+ **Library - Chore**
1017
+ - [PR #491](https://github.com/twilio/twilio-ruby/pull/491): upgrade rubocop to 0.79.0. Thanks to [@juampi](https://github.com/juampi)!
1018
+ - [PR #489](https://github.com/twilio/twilio-ruby/pull/489): upgrade faraday to 1.0.0. Thanks to [@juampi](https://github.com/juampi)!
1019
+
1020
+ **Numbers**
1021
+ - Add Regulatory Compliance CRUD APIs
1022
+
1023
+ **Studio**
1024
+ - Add parameter validation for Studio v2 Flows API
1025
+
1026
+ **Twiml**
1027
+ - Add support for `speech_model` to `Gather` verb
1028
+
1029
+
1030
+ [2019-12-18] Version 5.31.1
1031
+ ---------------------------
1032
+ **Library - Chore**
1033
+ - [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)!
1034
+
1035
+ **Preview**
1036
+ - Add `/Insights/SuccessRate` endpoint for Businesses Branded Calls (Verified by Twilio)
1037
+
1038
+ **Studio**
1039
+ - StudioV2 API in beta
1040
+
1041
+ **Verify**
1042
+ - Add `MailerSid` property to Verify Service resource.
1043
+
1044
+ **Wireless**
1045
+ - Added `data_limit_strategy` to Rate Plan resource.
1046
+
1047
+
1048
+ [2019-12-12] Version 5.31.0
1049
+ ---------------------------
1050
+ **Api**
1051
+ - Make `twiml` conditional for create. One of `url`, `twiml`, or `application_sid` is now required.
1052
+ - Add `bundle_sid` parameter to /IncomingPhoneNumbers API
1053
+ - Removed discard / obfuscate parameters from ContentRetention, AddressRetention **(breaking change)**
1054
+
1055
+ **Chat**
1056
+ - Added `last_consumed_message_index` and `last_consumption_timestamp` parameters in update method for UserChannel resource **(breaking change)**
1057
+
1058
+ **Conversations**
1059
+ - Add Participant SID to Message properties
1060
+
1061
+ **Messaging**
1062
+ - Fix incorrectly typed capabilities property for ShortCodes. **(breaking change)**
1063
+
1064
+
1065
+ [2019-12-04] Version 5.30.0
1066
+ ---------------------------
1067
+ **Library**
1068
+ - [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)!
1069
+ - [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)!
1070
+
1071
+ **Api**
1072
+ - Add optional `twiml` parameter for call create
1073
+
1074
+ **Chat**
1075
+ - Added `delete` method in UserChannel resource
1076
+
1077
+ **Conversations**
1078
+ - Allow Messaging Service update
1079
+
1080
+ **Taskrouter**
1081
+ - Support ReEvaluateTasks parameter on Workflow update
1082
+
1083
+ **Twiml**
1084
+ - Remove unsupported `mixed_track` value from `<Stream>` **(breaking change)**
1085
+ - Add missing fax `<Receive>` optional attributes
1086
+
1087
+
1088
+ [2019-11-13] Version 5.29.1
1089
+ ---------------------------
1090
+ **Api**
1091
+ - Make `persistent_action` parameter public
1092
+ - Add `twiml` optional private parameter for call create
1093
+
1094
+ **Autopilot**
1095
+ - Add Export resource to Autopilot Assistant.
1096
+
1097
+ **Flex**
1098
+ - Added Integration.RetryCount attribute to Flex Flow
1099
+ - Updating a Flex Flow `channel_type` options documentation
1100
+
1101
+ **Insights**
1102
+ - Added edges to events and metrics
1103
+ - Added new endpoint definitions for Events and Metrics
1104
+
1105
+ **Messaging**
1106
+ - **create** support for sender registration
1107
+ - **fetch** support for fetching a sender
1108
+ - **update** support for sender verification
1109
+
1110
+ **Supersim**
1111
+ - Add `Direction` filter parameter to list commands endpoint
1112
+ - Allow filtering commands list by Sim Unique Name
1113
+ - Add `Iccid` filter parameter to list sims endpoint
1114
+
1115
+ **Twiml**
1116
+ - Add support for `<Refer>` verb
1117
+
1118
+
1119
+ [2019-10-30] Version 5.29.0
1120
+ ---------------------------
1121
+ **Library**
1122
+ - [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)!
1123
+ - [PR #480](https://github.com/twilio/twilio-ruby/pull/480): Update resources after sorting. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
1124
+ - [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)!
1125
+
1126
+ **Api**
1127
+ - Add new usage categories to the public api `sms-messages-carrierfees` and `mms-messages-carrierfees`
1128
+
1129
+ **Conversations**
1130
+ - Add ProjectedAddress to Conversations Participant resource
1131
+
1132
+ **Preview**
1133
+ - Implemented different `Sid` for Current Calls (Verified by Twilio), instead of relying in `Call.Sid` from Voice API team **(breaking change)**
1134
+
1135
+ **Supersim**
1136
+ - Add List endpoint to Commands resource for Super Sim Pilot
1137
+ - Add UsageRecords resource for the Super Sim Pilot
1138
+ - Add List endpoint to UsageRecords resource for the Super Sim Pilot
1139
+ - Allow assigning a Sim to a Fleet by Fleet SID or Unique Name for Super SIM Pilot
1140
+ - Add Update endpoint to Fleets resource for Super Sim Pilot
1141
+ - Add Fetch endpoint to Commands resource for Super Sim Pilot
1142
+ - Allow filtering the Sims resource List endpoint by Fleet
1143
+ - Add List endpoint to Fleets resource for Super Sim Pilot
1144
+
1145
+ **Wireless**
1146
+ - Added `account_sid` to Sim update parameters.
1147
+
1148
+ **Twiml**
1149
+ - Add new locales and voices for `Say` from Polly
1150
+
1151
+
1152
+ [2019-10-16] Version 5.28.0
1153
+ ---------------------------
1154
+ **Library**
1155
+ - [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)!
1156
+ - [PR #477](https://github.com/twilio/twilio-ruby/pull/477): Update instance property ordering. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
1157
+ - [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)!
1158
+ - [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)**
1159
+
1160
+ **Api**
1161
+ - Add new property `attempt` to sms_messages
1162
+ - Fixed a typo in the documentation for Feedback outcome enum **(breaking change)**
1163
+ - Update the call price to be optional for deserializing **(breaking change)**
1164
+
1165
+ **Flex**
1166
+ - Added `JanitorEnabled` attribute to Flex Flow
1167
+ - Change `features_enabled` Flex Configuration key to private **(breaking change)**
1168
+
1169
+ **Supersim**
1170
+ - Add Fetch endpoint to Fleets resource for Super Sim Pilot
1171
+ - Allow assigning a Sim to a Fleet for Super Sim Pilot
1172
+ - Add Create endpoint to Fleets resource for Super Sim Pilot
1173
+
1174
+ **Twiml**
1175
+ - Update `<Conference>` rename "whisper" attribute to "coach" **(breaking change)**
1176
+
1177
+
1178
+ [2019-10-02] Version 5.27.1
1179
+ ---------------------------
1180
+ **Library**
1181
+ - [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)!
1182
+ - [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)!
1183
+
1184
+ **Conversations**
1185
+ - Add media to Conversations Message resource
1186
+
1187
+ **Supersim**
1188
+ - Add List endpoint to Sims resource for Super Sim Pilot
1189
+
1190
+
1191
+ [2019-09-18] Version 5.27.0
1192
+ ----------------------------
1193
+ **Library**
1194
+ - [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)**
1195
+ - [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)!
1196
+ - [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)!
1197
+ - [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)!
1198
+ - [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)!
1199
+ - [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)!
1200
+ - [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)!
1201
+
1202
+ **Numbers**
1203
+ - Add v2 of the Identites API
1204
+
1205
+ **Preview**
1206
+ - Changed authentication method for SDK Trusted Comms endpoints: `/CPS`, `/CurrentCall`, and `/Devices`. Please use `Authorization: Bearer <xCNAM JWT>` **(breaking change)**
1207
+
1208
+ **Voice**
1209
+ - Add Recordings endpoints
1210
+
1211
+
1212
+ [2019-09-04] Version 5.26.0
1213
+ ----------------------------
1214
+ **Library**
1215
+ - [PR #463](https://github.com/twilio/twilio-ruby/pull/463): Reduce line length to satisfy rubocop constraints. Thanks to [@igracia](https://github.com/igracia)!
1216
+ - [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)**
1217
+ - [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)!
1218
+ - [PR #441](https://github.com/twilio/twilio-ruby/pull/441): Link to actual documentation. Thanks to [@alexford](https://github.com/alexford)!
1219
+
1220
+ **Api**
1221
+ - Pass Twiml in call update request
1222
+
1223
+ **Conversations**
1224
+ - Add attributes to Conversations resources
1225
+
1226
+ **Flex**
1227
+ - Adding `features_enabled` and `serverless_service_sids` to Flex Configuration
1228
+
1229
+ **Messaging**
1230
+ - Message API required params updated **(breaking change)**
1231
+
1232
+ **Preview**
1233
+ - Added support for the optional `CallSid` to `/BrandedCalls` endpoint
1234
+
1235
+
1236
+ [2019-08-21] Version 5.25.4
1237
+ ----------------------------
1238
+ **Library**
1239
+ - [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)!
1240
+ - [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)!
1241
+
1242
+ **Conversations**
1243
+ - Add Chat Conversation SID to conversation default output properties
1244
+
1245
+ **Flex**
1246
+ - Adding `outbound_call_flows` object to Flex Configuration
1247
+ - Adding read and fetch to channels API
1248
+
1249
+ **Supersim**
1250
+ - Add Sims and Commands resources for the Super Sim Pilot
1251
+
1252
+ **Sync**
1253
+ - Added configuration option for enabling webhooks from REST.
1254
+
1255
+ **Wireless**
1256
+ - Added `usage_notification_method` and `usage_notification_url` properties to `rate_plan`.
1257
+
1258
+ **Twiml**
1259
+ - Add support for `ach-debit` transactions in `Pay` verb
1260
+
1261
+
1262
+ [2019-08-05] Version 5.25.3
1263
+ ----------------------------
1264
+ **Preview**
1265
+ - Added support for the header `Twilio-Sandbox-Mode` to mock all Voice dependencies
1266
+
1267
+ **Twiml**
1268
+ - Add support for `<Siprec>` noun
1269
+ - Add support for `<Stream>` noun
1270
+ - Create verbs `<Start>` and `<Stop>`
1271
+
1272
+
1273
+ [2019-07-24] Version 5.25.2
1274
+ ----------------------------
1275
+ **Insights**
1276
+ - Added `properties` to summary.
1277
+
1278
+ **Preview**
1279
+ - Added endpoint to brand a call without initiating it, so it can be initiated manually by the Customer
1280
+
1281
+ **Twiml**
1282
+ - Update `<Conference>` recording events **(breaking change)**
1283
+
1284
+
1285
+ [2019-07-10] Version 5.25.1
1286
+ ----------------------------
1287
+ **Api**
1288
+ - Make `friendly_name` optional for applications create
1289
+ - Add new property `as_of` date to Usage Record API calls
1290
+
1291
+ **Wireless**
1292
+ - Added Usage Records resource.
1293
+
1294
+
1295
+ [2019-06-26] Version 5.25.0
1296
+ ----------------------------
1297
+ **Autopilot**
1298
+ - Adds two new properties in Assistant i.e needs_model_build and development_stage
1299
+
1300
+ **Preview**
1301
+ - Changed phone numbers from _URL|Path_ to `X-XCNAM-Sensitive` headers **(breaking change)**
1302
+
1303
+ **Verify**
1304
+ - Add `MessagingConfiguration` resource to verify service
1305
+
1306
+
1307
+ [2019-06-12] Version 5.24.0
1308
+ ----------------------------
1309
+ **Autopilot**
1310
+ - Add Webhooks resource to Autopilot Assistant.
1311
+
1312
+ **Flex**
1313
+ - Added missing 'custom' type to Flex Flow
1314
+ - Adding `integrations` to Flex Configuration
1315
+
1316
+ **Insights**
1317
+ - Added attributes to summary.
1318
+
1319
+ **Messaging**
1320
+ - Message API Create updated with conditional params **(breaking change)**
1321
+
1322
+ **Proxy**
1323
+ - Document that Proxy will return a maximum of 100 records for read/list endpoints **(breaking change)**
1324
+ - Remove non-updatable property parameters for Session update (mode, participants) **(breaking change)**
1325
+
1326
+ **Sync**
1327
+ - Added reachability debouncing configuration options.
1328
+
1329
+ **Verify**
1330
+ - Add `RateLimits` and `Buckets` resources to Verify Services
1331
+ - Add `RateLimits` optional parameter on `Verification` creation.
1332
+
1333
+ **Twiml**
1334
+ - Fix `<Room>` participantIdentity casing
1335
+
1336
+
1337
+ [2019-05-29] Version 5.23.1
1338
+ ----------------------------
1339
+ **Verify**
1340
+ - Add `approved` to status enum
1341
+
1342
+
1343
+ [2019-05-15] Version 5.23.0
1344
+ ----------------------------
1345
+ **Api**
1346
+ - Make `method` optional for queue members update
1347
+
1348
+ **Chat**
1349
+ - Removed `webhook.*.format` update parameters in Service resource from public library visibility in v1 **(breaking change)**
1350
+
1351
+ **Insights**
1352
+ - Added client metrics as sdk_edge to summary.
1353
+ - Added optional query param processing_state.
1354
+
1355
+ **Numbers**
1356
+ - Add addtional metadata fields on a Document
1357
+ - Add status callback fields and parameters
1358
+
1359
+ **Taskrouter**
1360
+ - Added `channel_optimized_routing` attribute to task-channel endpoint
1361
+
1362
+ **Video**
1363
+ - [Rooms] Add Video Subscription API
1364
+
1365
+ **Wireless**
1366
+ - Added `imei` to Data Session resource.
1367
+ - Remove `imeisv` from Data Session resource. **(breaking change)**
1368
+
1369
+
1370
+ [2019-05-01] Version 5.22.3
1371
+ ----------------------------
1372
+ **Serverless**
1373
+ - Documentation
1374
+
1375
+ **Wireless**
1376
+ - Added `imeisv` to Data Session resource.
1377
+
1378
+
1379
+ [2019-04-24] Version 5.22.2
1380
+ ----------------------------
1381
+ **Api**
1382
+ - Add `verified` property to Addresses
1383
+
1384
+ **Numbers**
1385
+ - Add API for Identites and documents
1386
+
1387
+ **Proxy**
1388
+ - Add in use count on number instance
1389
+
1390
+
1391
+ [2019-04-12] Version 5.22.1
1392
+ ----------------------------
1393
+ **Flex**
1394
+ - Adding PluginService to Flex Configuration
1395
+
1396
+ **Numbers**
1397
+ - Add API for Proof of Addresses
1398
+
1399
+ **Proxy**
1400
+ - Clarify documentation for Service and Session fetch
1401
+
1402
+ **Serverless**
1403
+ - Serverless scaffolding
1404
+
1405
+
1406
+ [2019-03-28] Version 5.22.0
1407
+ ----------------------------
1408
+ **Api**
1409
+ - Remove optional `if_machine` call create parameter from helper libraries **(breaking change)**
1410
+ - Changed `call_sid` path parameter type on QueueMember fetch and update requests **(breaking change)**
1411
+
1412
+ **Voice**
1413
+ - changed file names to dialing_permissions prefix **(breaking change)**
1414
+
1415
+ **Wireless**
1416
+ - Added `ResetStatus` property to Sim resource to allow resetting connectivity via the API.
1417
+
1418
+
1419
+ [2019-03-15] Version 5.21.2
1420
+ ----------------------------
1421
+ **Library**
1422
+ - PR #444: Add Help Center and Support Ticket links to the README. Thanks to @childish-sambino!
1423
+
1424
+ **Api**
1425
+ - Add `machine_detection_speech_threshold`, `machine_detection_speech_end_threshold`, `machine_detection_silence_timeout` optional params to Call create request
1426
+
1427
+ **Flex**
1428
+ - Adding Flex Channel Orchestration
1429
+ - Adding Flex Flow
1430
+
1431
+
1432
+ [2019-03-06] Version 5.21.1
1433
+ ----------------------------
1434
+ **Twiml**
1435
+ - Add `de1` to `<Conference>` regions
1436
+
1437
+
1438
+ [2019-03-01] Version 5.21.0
1439
+ ----------------------------
1440
+ **Api**
1441
+ - Make conference participant preview parameters public
1442
+
1443
+ **Authy**
1444
+ - Added support for FactorType and FactorStrength for Factors and Challenges
1445
+
1446
+ **Iam**
1447
+ - First public release
1448
+
1449
+ **Verify**
1450
+ - Add endpoint to update/cancel a Verification **(breaking change)**
1451
+
1452
+ **Video**
1453
+ - [Composer] Make RoomSid mandatory **(breaking change)**
1454
+ - [Composer] Add `enqueued` state to Composition
1455
+
1456
+ **Twiml**
1457
+ - Update message body to not be required for TwiML `Dial` noun.
1458
+
1459
+
1460
+ [2019-02-15] Version 5.20.1
1461
+ ----------------------------
1462
+ **Library**
1463
+ - PR #438: Add a Ruby inspect method to Context classes. Thanks to @childish-sambino!
1464
+
1465
+ **Api**
1466
+ - Add `force_opt_in` optional param to Messages create request
1467
+ - Add agent conference category to usage records
1468
+
1469
+ **Flex**
1470
+ - First public release
1471
+
1472
+ **Taskrouter**
1473
+ - Adding `reject_pending_reservations` to worker update endpoint
1474
+ - Added `event_date_ms` and `worker_time_in_previous_activity_ms` to Events API response
1475
+ - Add ability to filter events by TaskChannel
1476
+
1477
+ **Verify**
1478
+ - Add `EnablePsd2` optional parameter for PSD2 on Service resource creation or update.
1479
+ - Add `Amount`, `Payee` optional parameters for PSD2.
1480
+
1481
+
1482
+ [2019-02-04] Version 5.20.0
1483
+ ----------------------------
1484
+ **Library**
1485
+ - PR #437: Switch body validator to use hex instead of base64. Thanks to @cjcodes!
1486
+
1487
+ **Video**
1488
+ - [Recordings] Add media type filter to list operation
1489
+ - [Composer] Filter Composition Hook resources by FriendlyName
1490
+
1491
+ **Twiml**
1492
+ - Update `language` enum for `Gather` to fix language code for Filipino (Philippines) and include additional supported languages **(breaking change)**
1493
+
1494
+
1495
+ [2019-01-11] Version 5.19.0
1496
+ ----------------------------
1497
+ **Library**
1498
+ - PR #436: Remove jruby-openssl requirement. Thanks to @philnash!
1499
+
1500
+ **Chat**
1501
+ - Mark Member attributes as PII
1502
+
1503
+ **Insights**
1504
+ - Initial revision.
1505
+
1506
+ **Proxy**
1507
+ - Remove unsupported query parameters **(breaking change)**
1508
+ - Remove invalid session statuses in doc
1509
+
1510
+ **Verify**
1511
+ - Add `lookup` information in the response when creating a new verification (depends on the LookupEnabled flag being enabled at the service level)
1512
+ - Add `VerificationSid` optional parameter on Verification check.
1513
+
1514
+
1515
+ [2018-12-17] Version 5.18.0
1516
+ ----------------------------
1517
+ **Authy**
1518
+ - Reverted the change to `FactorType` and `FormType`, avoiding conflicts with Helper Libraries reserved words (`type`) **(breaking change)**
1519
+
1520
+ **Proxy**
1521
+ - Remove incorrect parameter for Session List
1522
+
1523
+ **Studio**
1524
+ - Support date created filtering on list of executions
1525
+
1526
+ **Taskrouter**
1527
+ - Adding ability to Create, Modify and Delete Task Channels.
1528
+
1529
+ **Verify**
1530
+ - Add `SkipSmsToLandlines`, `TtsName`, `DtmfInputRequired` optional parameters on Service resource creation or update.
1531
+
1532
+ **Wireless**
1533
+ - Added delete action on Command resource.
1534
+ - Added delete action on Sim resource.
1535
+
1536
+ **Twiml**
1537
+ - Change `currency` from enum to string for `Pay` **(breaking change)**
1538
+
1539
+
1540
+ [2018-11-30] Version 5.17.0
1541
+ ----------------------------
1542
+ **Api**
1543
+ - Add `interactive_data` optional param to Messages create request
1544
+
1545
+ **Authy**
1546
+ - Required authentication for `/v1/Forms/{type}` endpoint **(breaking change)**
1547
+ - Removed `Challenge.reason` to `Challenge.responded_reason`
1548
+ - Removed `verification_sid` from Challenge responses
1549
+ - Removed `config` param from the Factor creation
1550
+ - Replaced all occurrences of `FactorType` and `FormType` in favor of a unified `Type` **(breaking change)**
1551
+
1552
+ **Chat**
1553
+ - Add Member attributes
1554
+
1555
+ **Preview**
1556
+ - Removed `Authy` version from `preview` subdomain in favor to `authy` subdomain. **(breaking change)**
1557
+
1558
+ **Verify**
1559
+ - Add `CustomCode` optional parameter on Verication creation.
1560
+
1561
+
1562
+ [2018-11-16] Version 5.16.0
1563
+ ----------------------------
1564
+ **Messaging**
1565
+ - Session API
1566
+
1567
+ **Twiml**
1568
+ - Change `master-card` to `mastercard` as `cardType` for `Pay` and `Prompt`, remove attribute `credential_sid` from `Pay` **(breaking change)**
1569
+
1570
+
1571
+ [2018-10-29] Version 5.15.2
1572
+ ----------------------------
1573
+ **Api**
1574
+ - Add new Balance resource:
1575
+ - url: '/v1/Accounts/{account sid}/Balance'
1576
+ - supported methods: GET
1577
+ - returns the balance of the account
1578
+
1579
+ **Proxy**
1580
+ - Add chat_instance_sid to Service
1581
+
1582
+ **Verify**
1583
+ - Add `Locale` optional parameter on Verification creation.
1584
+
1585
+
1586
+ [2018-10-15] Version 5.15.1
1587
+ ----------------------------
1588
+ **Api**
1589
+ - Add <Pay> Verb Transactions category to usage records
1590
+
1591
+ **Twiml**
1592
+ - Add support for `Pay` verb
1593
+
1594
+
1595
+ [2018-10-15] Version 5.15.0
1596
+ ----------------------------
1597
+ **Library**
1598
+ - PR #428: Fix custom param tests. Thanks to @ryan-rowland!
1599
+
1600
+ **Api**
1601
+ - Add `coaching` and `call_sid_to_coach` to participant properties, create and update requests.
1602
+
1603
+ **Authy**
1604
+ - Set public library visibility, and added PII stanza
1605
+ - Dropped support for `FactorType` param given new Factor prefixes **(breaking change)**
1606
+ - Supported `DELETE` actions for Authy resources
1607
+ - Move Authy Services resources to `authy` subdomain
1608
+
1609
+ **Autopilot**
1610
+ - Introduce `autopilot` subdomain with all resources from `preview.understand`
1611
+
1612
+ **Preview**
1613
+ - Renamed Understand intent to task **(breaking change)**
1614
+ - Deprecated Authy endpoints from `preview` to `authy` subdomain
1615
+
1616
+ **Taskrouter**
1617
+ - Allow TaskQueue ReservationActivitySid and AssignmentActivitySid to not be configured for MultiTask Workspaces
1618
+
1619
+ **Verify**
1620
+ - Add `LookupEnabled` optional parameter on Service resource creation or update.
1621
+ - Add `SendDigits` optional parameter on Verification creation.
1622
+ - Add delete action on Service resourse.
1623
+
1624
+ **Twiml**
1625
+ - 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)**
1626
+
1627
+
1628
+ [2018-10-04] Version 5.14.1
1629
+ ----------------------------
1630
+ **Twiml**
1631
+ - Add `debug` to `Gather`
1632
+ - Add `participantIdentity` to `Room`
1633
+
1634
+
1635
+ [2018-09-28] Version 5.14.0
1636
+ ----------------------------
1637
+ **Api**
1638
+ - Set `call_sid_to_coach` parameter in participant to be `preview`
1639
+
1640
+ **Preview**
1641
+ - Renamed response headers for Challenge and Factors Signatures
1642
+ - Supported `totp` in Authy preview endpoints
1643
+ - Allowed `latest` in Authy Challenges endpoints
1644
+
1645
+ **Video**
1646
+ - [Composer] Add Composition Hook resources
1647
+
1648
+ **Voice**
1649
+ - changed path param name from parent_iso_code to iso_code for highrisk_special_prefixes api **(breaking change)**
1650
+ - added geo permissions public api
1651
+
1652
+
1653
+ [2018-09-20] Version 5.13.0
1654
+ ----------------------------
1655
+ **Preview**
1656
+ - Add `Form` resource to Authy preview given a `form_type`
1657
+ - Add Authy initial api-definitions in the 4 main resources: Services, Entities, Factors, Challenges
1658
+
1659
+ **Pricing**
1660
+ - add voice_numbers resource (v2)
1661
+
1662
+ **Verify**
1663
+ - Move from preview to beta **(breaking change)**
1664
+
1665
+
1666
+ [2018-08-31] Version 5.12.4
1667
+ ----------------------------
1668
+ **Library**
1669
+ - PR #427: VCORE-3651 Add support for *for* attribute in twiml element. Thanks to @nmahure!
1670
+
1671
+ **Api**
1672
+ - Add `call_sid_to_coach` parameter to participant create request
1673
+ - Add `voice_receive_mode` param to IncomingPhoneNumbers create
1674
+
1675
+ **Video**
1676
+ - [Recordings] Expose `offset` property in resource
1677
+
1678
+
1679
+ [2018-08-23] Version 5.12.3
1680
+ ----------------------------
1681
+ **Chat**
1682
+ - Add User Channel instance resource
1683
+
1684
+
1685
+ [2018-08-17] Version 5.12.2
1686
+ ----------------------------
1687
+ **Api**
1688
+ - Add Proxy Active Sessions category to usage records
1689
+
1690
+ **Preview**
1691
+ - Add `Actions` endpoints and remove `ResponseUrl` from assistants on the Understand api
1692
+
1693
+ **Pricing**
1694
+ - add voice_country resource (v2)
1695
+
1696
+
1697
+ [2018-08-09] Version 5.12.1
1698
+ ----------------------------
1699
+ **Library**
1700
+ - PR #426: Add a test showing how to emit "interpret-as". Thanks to @ekarson!
1701
+
1702
+ **Studio**
1703
+ - Studio is now GA
1704
+
1705
+
1706
+ [2018-08-03] Version 5.12.0
1707
+ ----------------------------
1708
+ **Library**
1709
+ - PR #420: Tag and push Docker latest image when deploying with TravisCI. Thanks to @jonatasbaldin!
1710
+
1711
+ **Chat**
1712
+ - Make message From field updatable
1713
+ - Add REST API webhooks
1714
+
1715
+ **Notify**
1716
+ - Removing deprecated `segments`, `users`, `segment_memberships`, `user_bindings` classes from helper libraries. **(breaking change)**
1717
+
1718
+ **Preview**
1719
+ - Add new Intent Statistics endpoint
1720
+ - Remove `ttl` from Assistants
1721
+
1722
+ **Twiml**
1723
+ - Add `Connect` and `Room` for Programmable Video Rooms
1724
+
1725
+
1726
+ [2018-07-26] Version 5.11.2
1727
+ ----------------------------
1728
+ **Library**
1729
+ - PR #424: Fix Say example in README.md. Thanks to @HuipengRen!
1730
+
1731
+ **Api**
1732
+ - Add support for sip domains to map credential lists for registrations
1733
+
1734
+ **Preview**
1735
+ - Remove `ttl` from Assistants
1736
+
1737
+ **Proxy**
1738
+ - Enable setting a proxy number as reserved
1739
+
1740
+ **Twiml**
1741
+ - Add support for SSML lang tag on Say verb
1742
+
1743
+
1744
+ [2018-07-17] Version 5.11.1
1745
+ ----------------------------
1746
+ **Library**
1747
+ - PR #422: Add attribute overrides from generated code. Thanks to @cjcodes!
1748
+
1749
+ **Video**
1750
+ - Add `group-small` room type
1751
+
1752
+
1753
+ [2018-07-16] Version 5.11.0
1754
+ ----------------------------
1755
+ **Library**
1756
+ - PR #421: Fix TwiML Say verb spec. Thanks to @HuipengRen!
1757
+ - PR #419: Add a request body validator. Thanks to @cjcodes!
1758
+ - PR #418: Remove support for ruby 2.0 and 2.1, adds 2.5. Thanks to @cjcodes!
1759
+
1760
+ **Twiml**
1761
+ - Add support for SSML on Say verb, the message body is changed to be optional **(breaking change)**
1762
+
1763
+
1764
+ [2018-07-11] Version 5.10.7
1765
+ ----------------------------
1766
+ **Api**
1767
+ - Add `cidr_prefix_length` param to SIP IpAddresses API
1768
+
1769
+ **Studio**
1770
+ - Add new /Execution endpoints to begin Engagement -> Execution migration
1771
+
1772
+ **Video**
1773
+ - [Rooms] Allow deletion of individual recordings from a room
1774
+
1775
+
1776
+ [2018-07-05] Version 5.10.6
1777
+ ----------------------------
1778
+ **Library**
1779
+ - PR #413: Add Dockerfile and related changes to build the Docker image. Thanks to @jonatasbaldin!
1780
+
1781
+ **Api**
1782
+ - Release `Call Recording Controls` feature support in helper libraries
1783
+ - Add Voice Insights sub-category keys to usage records
1784
+
1785
+
1786
+ [2018-06-21] Version 5.10.5
1787
+ ----------------------------
1788
+ **Library**
1789
+ - PR #414: Added test for mixed content. Thanks to @ekarson!
1790
+
1791
+ **Video**
1792
+ - Allow user to set `ContentDisposition` when obtaining media URLs for Room Recordings and Compositions
1793
+ - Add Composition Settings resource
1794
+
1795
+
1796
+ [2018-06-19] Version 5.10.4
1797
+ ----------------------------
1798
+ **Library**
1799
+ - PR #412: Allow adding TwiML children with generic tag names. Thanks to @ekarson!
1800
+ - PR #408: Add validate_ssl_certificate helper method to Client. Thanks to @ekarson!
1801
+ - PR #410: Allow adding text nodes to TwiML responses. Thanks to @ekarson!
1802
+
1803
+ **Api**
1804
+ - Add Fraud Lookups category to usage records
1805
+
1806
+ **Twiml**
1807
+ - Add methods to helper libraries to inject arbitrary text under a TwiML node
1808
+
1809
+
1810
+ [2018-06-04] Version 5.10.3
1811
+ ----------------------------
1812
+ **Library**
1813
+ - PR #409: Switch to single quotes for rubocop. Thanks to @cjcodes!
1814
+ - PR #407: Allows developers to add comments to TwiML. Thanks to @philnash!
1815
+ - PR #405: Update description. Thanks to @efossier!
1816
+
1817
+ **Chat**
1818
+ - Add Binding and UserBinding documentation
1819
+
1820
+ **Lookups**
1821
+ - Add back support for `fraud` lookup type
1822
+
1823
+
1824
+ [2018-05-25] Version 5.10.2
1825
+ ----------------------------
1826
+ **Studio**
1827
+ - Add endpoint to delete engagements
1828
+
1829
+
1830
+ [2018-05-18] Version 5.10.1
1831
+ ----------------------------
1832
+ **Api**
1833
+ - Add more programmable video categories to usage records
1834
+ - Add 'include_subaccounts' parameter to all variation of usage_record fetch
1835
+
1836
+ **Trunking**
1837
+ - Added cnam_lookup_enabled parameter to Trunk resource.
1838
+ - Added case-insensitivity for recording parameter to Trunk resource.
1839
+
1840
+
1841
+ [2018-05-11] Version 5.10.0
1842
+ ----------------------------
1843
+ **Chat**
1844
+ - Add Channel Webhooks resource
1845
+
1846
+ **Monitor**
1847
+ - Update event filtering to support date/time **(breaking change)**
1848
+
1849
+ **Wireless**
1850
+ - Updated `maturity` to `ga` for all wireless apis
1851
+
1852
+
1853
+ [2018-04-27] Version 5.9.0
1854
+ ---------------------------
1855
+ **Library**
1856
+ - PR #403: Adds frozen_string_literal magic comment. Thanks to @philnash!
1857
+
1858
+ **Video**
1859
+ - Redesign API by adding custom `VideoLayout` object. **(breaking change)**
1860
+
1861
+
1862
+ [2018-04-20] Version 5.8.1
1863
+ ---------------------------
1864
+ **Library**
1865
+ - PR #397: Uses Twilio::REST::RestError when a page fails to load. Thanks to @philnash!
1866
+
1867
+ **Twiml**
1868
+ - 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.
1869
+
1870
+
1871
+ [2018-04-13] Version 5.8.0
1872
+ ---------------------------
1873
+ **Library**
1874
+ - PR #389: Add incoming.allow to AccessToken VoiceGrant. Thanks to @ryan-rowland!
1875
+ - PR #391: Improves error message for Twilio::REST::RestError. Thanks to @philnash!
1876
+
1877
+ **Lookups**
1878
+ - Disable support for `fraud` lookups **(breaking change)**
1879
+
1880
+ **Preview**
1881
+ - Support for Understand V2 APIs - renames various resources and adds new fields
1882
+
1883
+ **Studio**
1884
+ - Change parameters type from string to object in engagement resource
1885
+
1886
+ **Video**
1887
+ - [Recordings] Change `size` type to `long`. **(breaking change)**
1888
+
1889
+
1890
+ [2018-03-22] Version 5.7.2
1891
+ ---------------------------
1892
+ **Preview**
1893
+ - Add `BuildDuration` and `ErrorCode` to Understand ModelBuild
1894
+
1895
+ **Studio**
1896
+ - Add new /Context endpoint for step and engagement resources.
1897
+
1898
+
1899
+ [2018-03-09] Version 5.7.1
1900
+ ---------------------------
1901
+ **Api**
1902
+ - Add `caller_id` param to Outbound Calls API
1903
+ - Release `trim` recording Outbound Calls API functionality in helper libraries
1904
+
1905
+ **Video**
1906
+ - Add `room_sid` to Composition resource.
1907
+
1908
+ **Twiml**
1909
+ - Adds support for passing in multiple input type enums when setting `input` on `Gather`
1910
+
1911
+
1912
+ [2018-03-02] Version 5.7.0
1913
+ ---------------------------
1914
+ **TwiML**
1915
+ - Allow newlines in TwiML content. Better XML configuration in general.
1916
+
1917
+ **Studio**
1918
+ - Add new /Context endpoint for step and engagement resources. Removes the context property from existing step and engagement resources. *(breaking change)*
1919
+
1920
+
1921
+ [2018-02-23] Version 5.6.4
1922
+ ---------------------------
1923
+ **Library**
1924
+ - PR #385 - Fix ClientCapability appParams
1925
+
1926
+ **Api**
1927
+ - Add `trim` param to Outbound Calls API
1928
+
1929
+ **Lookups**
1930
+ - Add support for `fraud` lookup type
1931
+
1932
+ **Numbers**
1933
+ - Initial Release
1934
+
1935
+ **Video**
1936
+ - [composer] Add `SEQUENCE` value to available layouts, and `trim` and `reuse` params.
1937
+
1938
+
1939
+ [2018-02-09] Version 5.6.3
1940
+ ---------------------------
1941
+ **Api**
1942
+ - Add `AnnounceUrl` and `AnnounceMethod` params for conference announce
1943
+
1944
+ **Chat**
1945
+ - Add support to looking up user channels by identity in v1
1946
+
1947
+
1948
+ [2018-01-30] Version 5.6.2
1949
+ ---------------------------
1950
+ **Api**
1951
+ - Add `studio-engagements` usage key
1952
+
1953
+ **Preview**
1954
+ - Remove Studio Engagement Deletion
1955
+
1956
+ **Studio**
1957
+ - Initial Release
1958
+
1959
+ **Video**
1960
+ - [omit] Beta: Allow updates to `SubscribedTracks`.
1961
+ - Add `SubscribedTracks`.
1962
+ - Add track name to Video Recording resource
1963
+ - Add Composition and Composition Media resources
1964
+
1965
+
1966
+ [2018-01-22] Version 5.6.1
1967
+ ---------------------------
1968
+ **Api**
1969
+ - Add `conference_sid` property on Recordings
1970
+ - Add proxy and sms usage key
1971
+
1972
+ **Chat**
1973
+ - Make user channels accessible by identity
1974
+ - Add notifications logs flag parameter
1975
+
1976
+ **Fax**
1977
+ - Added `ttl` parameter
1978
+ `ttl` is the number of minutes a fax is considered valid.
1979
+
1980
+ **Preview**
1981
+ - Add `call_delay`, `extension`, `verification_code`, and `verification_call_sids`.
1982
+ - Add `failure_reason` to HostedNumberOrders.
1983
+ - Add DependentHostedNumberOrders endpoint for AuthorizationDocuments preview API.
1984
+
1985
+
1986
+ [2017-12-15] Version 5.6.0
1987
+ ---------------------------
1988
+ **Api**
1989
+ - Add `voip`, `national`, `shared_cost`, and `machine_to_machine` sub-resources to `/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{IsoCountryCode}/`
1990
+ - Add programmable video keys
1991
+
1992
+ **Preview**
1993
+ - Add `verification_type` and `verification_document_sid` to HostedNumberOrders.
1994
+
1995
+ **Proxy**
1996
+ - Fixed typo in session status enum value
1997
+
1998
+ **Twiml**
1999
+ - Fix Dial record property incorrectly typed as accepting TrimEnum values when it actually has its own enum of values. *(breaking change)*
2000
+ - Add `priority` and `timeout` properties to Task TwiML.
2001
+ - Add support for `recording_status_callback_event` for Dial verb and for Conference
2002
+
2003
+
4
2004
  [2017-12-01] Version 5.5.1
5
2005
  ---------------------------
6
2006
  **Api**