twilio-ruby 5.38.0 → 5.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (719) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -1
  3. data/CHANGES.md +85 -1
  4. data/CONTRIBUTING.md +2 -2
  5. data/ISSUE_TEMPLATE.md +5 -1
  6. data/Makefile +1 -1
  7. data/PULL_REQUEST_TEMPLATE.md +1 -1
  8. data/README.md +4 -3
  9. data/lib/twilio-ruby/framework/version.rb +3 -3
  10. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +13 -30
  11. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +13 -30
  12. data/lib/twilio-ruby/rest/api/v2010/account.rb +10 -27
  13. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +13 -30
  14. data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +3 -5
  15. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +19 -34
  16. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +6 -14
  17. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +6 -14
  18. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +6 -8
  19. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/machine_to_machine.rb +3 -5
  20. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +3 -5
  21. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/national.rb +3 -5
  22. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/shared_cost.rb +3 -5
  23. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +3 -5
  24. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/voip.rb +3 -5
  25. data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +2 -8
  26. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +13 -30
  27. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +9 -25
  28. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +9 -20
  29. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +6 -14
  30. data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +83 -73
  31. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +13 -30
  32. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +7 -19
  33. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +13 -30
  34. data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +10 -22
  35. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +10 -22
  36. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +27 -30
  37. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +12 -25
  38. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +6 -14
  39. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +20 -13
  40. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +20 -13
  41. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +20 -13
  42. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +10 -22
  43. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +13 -30
  44. data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +3 -8
  45. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +9 -17
  46. data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +3 -8
  47. data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +3 -8
  48. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +6 -14
  49. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +10 -22
  50. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +13 -30
  51. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +7 -19
  52. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +9 -17
  53. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +9 -17
  54. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +9 -17
  55. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +9 -17
  56. data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +7 -19
  57. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +10 -22
  58. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +13 -30
  59. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +13 -30
  60. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +13 -30
  61. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping.rb +12 -25
  62. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping.rb +12 -25
  63. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping.rb +12 -25
  64. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +12 -25
  65. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +12 -25
  66. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +13 -30
  67. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +13 -30
  68. data/lib/twilio-ruby/rest/api/v2010/account/token.rb +3 -8
  69. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +9 -17
  70. data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +3 -5
  71. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +3 -5
  72. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +3 -5
  73. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +3 -5
  74. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +3 -5
  75. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +3 -5
  76. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +3 -5
  77. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +3 -5
  78. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +3 -5
  79. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +13 -30
  80. data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +3 -8
  81. data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +13 -30
  82. data/lib/twilio-ruby/rest/autopilot/v1/assistant/defaults.rb +4 -14
  83. data/lib/twilio-ruby/rest/autopilot/v1/assistant/dialogue.rb +3 -9
  84. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +13 -30
  85. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +12 -25
  86. data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +13 -30
  87. data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +13 -30
  88. data/lib/twilio-ruby/rest/autopilot/v1/assistant/style_sheet.rb +4 -14
  89. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +13 -30
  90. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +12 -25
  91. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +13 -30
  92. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_actions.rb +4 -14
  93. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_statistics.rb +3 -9
  94. data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +13 -30
  95. data/lib/twilio-ruby/rest/autopilot/v1/restore_assistant.rb +1 -5
  96. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +3 -9
  97. data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +6 -14
  98. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +6 -13
  99. data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +6 -12
  100. data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +4 -14
  101. data/lib/twilio-ruby/rest/chat/v1/credential.rb +13 -30
  102. data/lib/twilio-ruby/rest/chat/v1/service.rb +13 -30
  103. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +13 -30
  104. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +12 -25
  105. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +13 -30
  106. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +13 -30
  107. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +13 -30
  108. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +13 -30
  109. data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +3 -5
  110. data/lib/twilio-ruby/rest/chat/v2/credential.rb +13 -30
  111. data/lib/twilio-ruby/rest/chat/v2/service.rb +13 -30
  112. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +9 -17
  113. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +34 -36
  114. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +12 -25
  115. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +34 -36
  116. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +34 -36
  117. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +13 -30
  118. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +13 -30
  119. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +30 -34
  120. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +9 -17
  121. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +10 -22
  122. data/lib/twilio-ruby/rest/client.rb +7 -0
  123. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +34 -36
  124. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +80 -36
  125. data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +348 -0
  126. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +56 -36
  127. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +13 -30
  128. data/lib/twilio-ruby/rest/conversations/v1/webhook.rb +4 -14
  129. data/lib/twilio-ruby/rest/events.rb +54 -0
  130. data/lib/twilio-ruby/rest/events/v1.rb +58 -0
  131. data/lib/twilio-ruby/rest/events/v1/sink.rb +379 -0
  132. data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +115 -0
  133. data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +118 -0
  134. data/lib/twilio-ruby/rest/events/v1/subscription.rb +358 -0
  135. data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +322 -0
  136. data/lib/twilio-ruby/rest/fax/v1/fax.rb +13 -30
  137. data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +9 -17
  138. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +12 -25
  139. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +9 -34
  140. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +13 -30
  141. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +13 -30
  142. data/lib/twilio-ruby/rest/insights/v1/call.rb +3 -9
  143. data/lib/twilio-ruby/rest/insights/v1/call/event.rb +3 -5
  144. data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +3 -5
  145. data/lib/twilio-ruby/rest/insights/v1/call/summary.rb +3 -7
  146. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +13 -30
  147. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +13 -30
  148. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +13 -30
  149. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +12 -25
  150. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +13 -30
  151. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +13 -30
  152. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +13 -30
  153. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +13 -30
  154. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +3 -5
  155. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +13 -30
  156. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +13 -30
  157. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +9 -17
  158. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +34 -36
  159. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +12 -25
  160. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +34 -36
  161. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +34 -36
  162. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +13 -30
  163. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +13 -30
  164. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +30 -34
  165. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +9 -17
  166. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +10 -22
  167. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +4 -8
  168. data/lib/twilio-ruby/rest/messaging/v1/service.rb +13 -30
  169. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +12 -25
  170. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +12 -25
  171. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +12 -25
  172. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +6 -14
  173. data/lib/twilio-ruby/rest/monitor/v1/event.rb +6 -14
  174. data/lib/twilio-ruby/rest/notify/v1/credential.rb +13 -30
  175. data/lib/twilio-ruby/rest/notify/v1/service.rb +13 -30
  176. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +12 -25
  177. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +3 -8
  178. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +31 -27
  179. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +9 -24
  180. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +12 -25
  181. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +10 -27
  182. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +6 -14
  183. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +6 -14
  184. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +10 -27
  185. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +6 -14
  186. data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +3 -9
  187. data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +6 -14
  188. data/lib/twilio-ruby/rest/preview/bulk_exports/export/export_custom_job.rb +6 -13
  189. data/lib/twilio-ruby/rest/preview/bulk_exports/export/job.rb +6 -12
  190. data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +4 -14
  191. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +13 -30
  192. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +13 -30
  193. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +13 -30
  194. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +13 -30
  195. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +13 -30
  196. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +10 -27
  197. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +3 -5
  198. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +13 -30
  199. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +6 -14
  200. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +6 -14
  201. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +13 -30
  202. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +7 -19
  203. data/lib/twilio-ruby/rest/preview/sync/service.rb +13 -30
  204. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +26 -36
  205. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +10 -22
  206. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +12 -25
  207. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +26 -36
  208. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +10 -22
  209. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +12 -25
  210. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +26 -36
  211. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +10 -22
  212. data/lib/twilio-ruby/rest/preview/trusted_comms/branded_call.rb +3 -8
  213. data/lib/twilio-ruby/rest/preview/trusted_comms/brands_information.rb +13 -11
  214. data/lib/twilio-ruby/rest/preview/trusted_comms/business.rb +3 -9
  215. data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand.rb +3 -9
  216. data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel.rb +3 -9
  217. data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel/channel.rb +3 -8
  218. data/lib/twilio-ruby/rest/preview/trusted_comms/business/insights/impressions_rate.rb +3 -7
  219. data/lib/twilio-ruby/rest/preview/trusted_comms/cps.rb +11 -11
  220. data/lib/twilio-ruby/rest/preview/trusted_comms/current_call.rb +25 -11
  221. data/lib/twilio-ruby/rest/preview/trusted_comms/phone_call.rb +3 -8
  222. data/lib/twilio-ruby/rest/preview/understand/assistant.rb +13 -30
  223. data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_fallback_actions.rb +4 -14
  224. data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_initiation_actions.rb +4 -14
  225. data/lib/twilio-ruby/rest/preview/understand/assistant/dialogue.rb +3 -9
  226. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +13 -30
  227. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +12 -25
  228. data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +13 -30
  229. data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +13 -30
  230. data/lib/twilio-ruby/rest/preview/understand/assistant/style_sheet.rb +4 -14
  231. data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +13 -30
  232. data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +12 -25
  233. data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +13 -30
  234. data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_actions.rb +4 -14
  235. data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_statistics.rb +3 -9
  236. data/lib/twilio-ruby/rest/preview/wireless/command.rb +9 -22
  237. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +13 -30
  238. data/lib/twilio-ruby/rest/preview/wireless/sim.rb +7 -19
  239. data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +3 -7
  240. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +6 -14
  241. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +6 -14
  242. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +6 -14
  243. data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +3 -9
  244. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +6 -14
  245. data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +3 -7
  246. data/lib/twilio-ruby/rest/proxy/v1/service.rb +13 -30
  247. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +13 -30
  248. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +55 -34
  249. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +9 -17
  250. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +25 -26
  251. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +9 -22
  252. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +13 -30
  253. data/lib/twilio-ruby/rest/serverless/v1/service.rb +13 -30
  254. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +13 -30
  255. data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +6 -14
  256. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +12 -25
  257. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +12 -25
  258. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +9 -22
  259. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +6 -14
  260. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +13 -30
  261. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +13 -30
  262. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +6 -14
  263. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +3 -9
  264. data/lib/twilio-ruby/rest/studio/v1/flow.rb +9 -17
  265. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +12 -25
  266. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +3 -9
  267. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +6 -14
  268. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +3 -9
  269. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +13 -30
  270. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +3 -9
  271. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +6 -14
  272. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +3 -9
  273. data/lib/twilio-ruby/rest/studio/v2/flow.rb +13 -30
  274. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +13 -30
  275. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +3 -9
  276. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +6 -14
  277. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +3 -9
  278. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +6 -14
  279. data/lib/twilio-ruby/rest/studio/v2/flow/test_user.rb +4 -14
  280. data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +1 -5
  281. data/lib/twilio-ruby/rest/supersim/v1/command.rb +9 -22
  282. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +22 -38
  283. data/lib/twilio-ruby/rest/supersim/v1/network.rb +6 -14
  284. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +10 -27
  285. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +12 -25
  286. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +31 -23
  287. data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +78 -14
  288. data/lib/twilio-ruby/rest/sync/v1/service.rb +13 -30
  289. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +26 -36
  290. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +10 -22
  291. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +13 -30
  292. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +32 -36
  293. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +10 -22
  294. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +13 -30
  295. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +32 -36
  296. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +10 -22
  297. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +13 -30
  298. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +3 -8
  299. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +13 -30
  300. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +13 -30
  301. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +15 -17
  302. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +13 -30
  303. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +7 -19
  304. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +13 -30
  305. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +13 -30
  306. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +3 -7
  307. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +3 -7
  308. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +3 -7
  309. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +3 -5
  310. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +13 -30
  311. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +7 -19
  312. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +7 -19
  313. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +3 -7
  314. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +3 -7
  315. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +3 -7
  316. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +3 -7
  317. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +13 -30
  318. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +3 -7
  319. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +3 -7
  320. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +3 -7
  321. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +3 -7
  322. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +3 -7
  323. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +3 -7
  324. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +13 -30
  325. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +12 -25
  326. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +12 -25
  327. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +13 -30
  328. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +12 -25
  329. data/lib/twilio-ruby/rest/verify.rb +2 -2
  330. data/lib/twilio-ruby/rest/verify/v2.rb +2 -2
  331. data/lib/twilio-ruby/rest/verify/v2/form.rb +7 -13
  332. data/lib/twilio-ruby/rest/verify/v2/service.rb +70 -33
  333. data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +124 -0
  334. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +62 -52
  335. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +485 -0
  336. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +66 -100
  337. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +13 -30
  338. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +13 -30
  339. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +13 -30
  340. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +11 -23
  341. data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +3 -8
  342. data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +13 -30
  343. data/lib/twilio-ruby/rest/video/v1/composition.rb +12 -25
  344. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +13 -30
  345. data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +8 -20
  346. data/lib/twilio-ruby/rest/video/v1/recording.rb +9 -17
  347. data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +8 -20
  348. data/lib/twilio-ruby/rest/video/v1/room.rb +10 -27
  349. data/lib/twilio-ruby/rest/video/v1/room/recording.rb +9 -17
  350. data/lib/twilio-ruby/rest/video/v1/room/room_participant.rb +7 -19
  351. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_published_track.rb +6 -14
  352. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribe_rule.rb +3 -19
  353. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribed_track.rb +6 -14
  354. data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +13 -30
  355. data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +13 -30
  356. data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +13 -30
  357. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +3 -8
  358. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +6 -14
  359. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +3 -5
  360. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +4 -14
  361. data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +13 -30
  362. data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +13 -30
  363. data/lib/twilio-ruby/rest/wireless/v1/command.rb +12 -25
  364. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +13 -30
  365. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +10 -22
  366. data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +8 -24
  367. data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +3 -5
  368. data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +3 -5
  369. data/lib/twilio-ruby/version.rb +1 -1
  370. data/spec/framework/version_spec.rb +166 -0
  371. data/spec/holodeck/holodeck.rb +11 -6
  372. data/spec/integration/accounts/v1/credential/aws_spec.rb +0 -4
  373. data/spec/integration/accounts/v1/credential/public_key_spec.rb +0 -4
  374. data/spec/integration/api/v2010/account/address/dependent_phone_number_spec.rb +0 -1
  375. data/spec/integration/api/v2010/account/address_spec.rb +0 -4
  376. data/spec/integration/api/v2010/account/application_spec.rb +0 -5
  377. data/spec/integration/api/v2010/account/authorized_connect_app_spec.rb +0 -2
  378. data/spec/integration/api/v2010/account/available_phone_number/local_spec.rb +0 -1
  379. data/spec/integration/api/v2010/account/available_phone_number/machine_to_machine_spec.rb +0 -1
  380. data/spec/integration/api/v2010/account/available_phone_number/mobile_spec.rb +0 -1
  381. data/spec/integration/api/v2010/account/available_phone_number/national_spec.rb +0 -1
  382. data/spec/integration/api/v2010/account/available_phone_number/shared_cost_spec.rb +0 -1
  383. data/spec/integration/api/v2010/account/available_phone_number/toll_free_spec.rb +0 -1
  384. data/spec/integration/api/v2010/account/available_phone_number/voip_spec.rb +0 -1
  385. data/spec/integration/api/v2010/account/available_phone_number_spec.rb +0 -2
  386. data/spec/integration/api/v2010/account/balance_spec.rb +0 -1
  387. data/spec/integration/api/v2010/account/call/feedback_spec.rb +0 -1
  388. data/spec/integration/api/v2010/account/call/feedback_summary_spec.rb +0 -2
  389. data/spec/integration/api/v2010/account/call/notification_spec.rb +0 -2
  390. data/spec/integration/api/v2010/account/call/recording_spec.rb +0 -4
  391. data/spec/integration/api/v2010/account/call_spec.rb +0 -4
  392. data/spec/integration/api/v2010/account/conference/participant_spec.rb +0 -4
  393. data/spec/integration/api/v2010/account/conference/recording_spec.rb +0 -3
  394. data/spec/integration/api/v2010/account/conference_spec.rb +0 -3
  395. data/spec/integration/api/v2010/account/connect_app_spec.rb +0 -4
  396. data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension_spec.rb +0 -2
  397. data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +0 -3
  398. data/spec/integration/api/v2010/account/incoming_phone_number/local_spec.rb +35 -37
  399. data/spec/integration/api/v2010/account/incoming_phone_number/mobile_spec.rb +39 -41
  400. data/spec/integration/api/v2010/account/incoming_phone_number/toll_free_spec.rb +35 -37
  401. data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +68 -43
  402. data/spec/integration/api/v2010/account/key_spec.rb +0 -4
  403. data/spec/integration/api/v2010/account/message/feedback_spec.rb +0 -1
  404. data/spec/integration/api/v2010/account/message/media_spec.rb +0 -3
  405. data/spec/integration/api/v2010/account/message_spec.rb +37 -3
  406. data/spec/integration/api/v2010/account/new_key_spec.rb +0 -1
  407. data/spec/integration/api/v2010/account/new_signing_key_spec.rb +0 -1
  408. data/spec/integration/api/v2010/account/notification_spec.rb +0 -2
  409. data/spec/integration/api/v2010/account/outgoing_caller_id_spec.rb +0 -4
  410. data/spec/integration/api/v2010/account/queue/member_spec.rb +0 -2
  411. data/spec/integration/api/v2010/account/queue_spec.rb +0 -4
  412. data/spec/integration/api/v2010/account/recording/add_on_result/payload_spec.rb +0 -3
  413. data/spec/integration/api/v2010/account/recording/add_on_result_spec.rb +0 -3
  414. data/spec/integration/api/v2010/account/recording/transcription_spec.rb +0 -3
  415. data/spec/integration/api/v2010/account/recording_spec.rb +0 -3
  416. data/spec/integration/api/v2010/account/short_code_spec.rb +0 -3
  417. data/spec/integration/api/v2010/account/signing_key_spec.rb +0 -4
  418. data/spec/integration/api/v2010/account/sip/credential_list/credential_spec.rb +0 -4
  419. data/spec/integration/api/v2010/account/sip/credential_list_spec.rb +0 -3
  420. data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping_spec.rb +0 -3
  421. data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping_spec.rb +0 -3
  422. data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping_spec.rb +0 -3
  423. data/spec/integration/api/v2010/account/sip/domain/credential_list_mapping_spec.rb +0 -3
  424. data/spec/integration/api/v2010/account/sip/domain/ip_access_control_list_mapping_spec.rb +0 -3
  425. data/spec/integration/api/v2010/account/sip/domain_spec.rb +0 -4
  426. data/spec/integration/api/v2010/account/sip/ip_access_control_list/ip_address_spec.rb +0 -4
  427. data/spec/integration/api/v2010/account/sip/ip_access_control_list_spec.rb +0 -3
  428. data/spec/integration/api/v2010/account/token_spec.rb +0 -1
  429. data/spec/integration/api/v2010/account/transcription_spec.rb +0 -3
  430. data/spec/integration/api/v2010/account/usage/record/all_time_spec.rb +0 -1
  431. data/spec/integration/api/v2010/account/usage/record/daily_spec.rb +0 -1
  432. data/spec/integration/api/v2010/account/usage/record/last_month_spec.rb +0 -1
  433. data/spec/integration/api/v2010/account/usage/record/monthly_spec.rb +0 -1
  434. data/spec/integration/api/v2010/account/usage/record/this_month_spec.rb +0 -1
  435. data/spec/integration/api/v2010/account/usage/record/today_spec.rb +0 -1
  436. data/spec/integration/api/v2010/account/usage/record/yearly_spec.rb +0 -1
  437. data/spec/integration/api/v2010/account/usage/record/yesterday_spec.rb +0 -1
  438. data/spec/integration/api/v2010/account/usage/record_spec.rb +0 -1
  439. data/spec/integration/api/v2010/account/usage/trigger_spec.rb +0 -4
  440. data/spec/integration/api/v2010/account_spec.rb +0 -4
  441. data/spec/integration/autopilot/v1/assistant/defaults_spec.rb +0 -2
  442. data/spec/integration/autopilot/v1/assistant/dialogue_spec.rb +0 -1
  443. data/spec/integration/autopilot/v1/assistant/field_type/field_value_spec.rb +0 -3
  444. data/spec/integration/autopilot/v1/assistant/field_type_spec.rb +0 -4
  445. data/spec/integration/autopilot/v1/assistant/model_build_spec.rb +0 -5
  446. data/spec/integration/autopilot/v1/assistant/query_spec.rb +0 -4
  447. data/spec/integration/autopilot/v1/assistant/style_sheet_spec.rb +0 -2
  448. data/spec/integration/autopilot/v1/assistant/task/field_spec.rb +0 -3
  449. data/spec/integration/autopilot/v1/assistant/task/sample_spec.rb +0 -4
  450. data/spec/integration/autopilot/v1/assistant/task/task_actions_spec.rb +0 -2
  451. data/spec/integration/autopilot/v1/assistant/task/task_statistics_spec.rb +0 -1
  452. data/spec/integration/autopilot/v1/assistant/task_spec.rb +0 -4
  453. data/spec/integration/autopilot/v1/assistant/webhook_spec.rb +0 -4
  454. data/spec/integration/autopilot/v1/assistant_spec.rb +0 -5
  455. data/spec/integration/bulkexports/v1/export/day_spec.rb +0 -2
  456. data/spec/integration/bulkexports/v1/export/export_custom_job_spec.rb +0 -2
  457. data/spec/integration/bulkexports/v1/export/job_spec.rb +0 -2
  458. data/spec/integration/bulkexports/v1/export_configuration_spec.rb +0 -2
  459. data/spec/integration/bulkexports/v1/export_spec.rb +0 -1
  460. data/spec/integration/chat/v1/credential_spec.rb +0 -4
  461. data/spec/integration/chat/v1/service/channel/invite_spec.rb +0 -3
  462. data/spec/integration/chat/v1/service/channel/member_spec.rb +0 -4
  463. data/spec/integration/chat/v1/service/channel/message_spec.rb +0 -4
  464. data/spec/integration/chat/v1/service/channel_spec.rb +0 -5
  465. data/spec/integration/chat/v1/service/role_spec.rb +0 -3
  466. data/spec/integration/chat/v1/service/user/user_channel_spec.rb +0 -1
  467. data/spec/integration/chat/v1/service/user_spec.rb +0 -4
  468. data/spec/integration/chat/v1/service_spec.rb +0 -4
  469. data/spec/integration/chat/v2/credential_spec.rb +0 -4
  470. data/spec/integration/chat/v2/service/binding_spec.rb +0 -3
  471. data/spec/integration/chat/v2/service/channel/invite_spec.rb +0 -3
  472. data/spec/integration/chat/v2/service/channel/member_spec.rb +9 -7
  473. data/spec/integration/chat/v2/service/channel/message_spec.rb +9 -8
  474. data/spec/integration/chat/v2/service/channel/webhook_spec.rb +0 -4
  475. data/spec/integration/chat/v2/service/channel_spec.rb +9 -8
  476. data/spec/integration/chat/v2/service/role_spec.rb +0 -3
  477. data/spec/integration/chat/v2/service/user/user_binding_spec.rb +0 -3
  478. data/spec/integration/chat/v2/service/user/user_channel_spec.rb +0 -4
  479. data/spec/integration/chat/v2/service/user_spec.rb +6 -6
  480. data/spec/integration/chat/v2/service_spec.rb +0 -4
  481. data/spec/integration/conversations/v1/conversation/message/delivery_receipt_spec.rb +132 -0
  482. data/spec/integration/conversations/v1/conversation/message_spec.rb +131 -15
  483. data/spec/integration/conversations/v1/conversation/participant_spec.rb +93 -8
  484. data/spec/integration/conversations/v1/conversation/webhook_spec.rb +0 -4
  485. data/spec/integration/conversations/v1/conversation_spec.rb +39 -8
  486. data/spec/integration/conversations/v1/webhook_spec.rb +0 -2
  487. data/spec/integration/events/v1/sink/sink_test_spec.rb +42 -0
  488. data/spec/integration/events/v1/sink/sink_validate_spec.rb +44 -0
  489. data/spec/integration/events/v1/sink_spec.rb +217 -0
  490. data/spec/integration/events/v1/subscription/subscribed_event_spec.rb +212 -0
  491. data/spec/integration/events/v1/subscription_spec.rb +205 -0
  492. data/spec/integration/fax/v1/fax/fax_media_spec.rb +0 -3
  493. data/spec/integration/fax/v1/fax_spec.rb +0 -4
  494. data/spec/integration/flex_api/v1/channel_spec.rb +0 -3
  495. data/spec/integration/flex_api/v1/configuration_spec.rb +0 -51
  496. data/spec/integration/flex_api/v1/flex_flow_spec.rb +0 -4
  497. data/spec/integration/flex_api/v1/web_channel_spec.rb +0 -4
  498. data/spec/integration/insights/v1/call/event_spec.rb +0 -1
  499. data/spec/integration/insights/v1/call/metric_spec.rb +0 -1
  500. data/spec/integration/insights/v1/call/summary_spec.rb +0 -1
  501. data/spec/integration/insights/v1/call_spec.rb +0 -1
  502. data/spec/integration/ip_messaging/v1/credential_spec.rb +0 -4
  503. data/spec/integration/ip_messaging/v1/service/channel/invite_spec.rb +0 -3
  504. data/spec/integration/ip_messaging/v1/service/channel/member_spec.rb +0 -4
  505. data/spec/integration/ip_messaging/v1/service/channel/message_spec.rb +0 -4
  506. data/spec/integration/ip_messaging/v1/service/channel_spec.rb +0 -5
  507. data/spec/integration/ip_messaging/v1/service/role_spec.rb +0 -3
  508. data/spec/integration/ip_messaging/v1/service/user/user_channel_spec.rb +0 -1
  509. data/spec/integration/ip_messaging/v1/service/user_spec.rb +0 -4
  510. data/spec/integration/ip_messaging/v1/service_spec.rb +0 -4
  511. data/spec/integration/ip_messaging/v2/credential_spec.rb +0 -4
  512. data/spec/integration/ip_messaging/v2/service/binding_spec.rb +0 -3
  513. data/spec/integration/ip_messaging/v2/service/channel/invite_spec.rb +0 -3
  514. data/spec/integration/ip_messaging/v2/service/channel/member_spec.rb +9 -7
  515. data/spec/integration/ip_messaging/v2/service/channel/message_spec.rb +9 -8
  516. data/spec/integration/ip_messaging/v2/service/channel/webhook_spec.rb +0 -4
  517. data/spec/integration/ip_messaging/v2/service/channel_spec.rb +9 -8
  518. data/spec/integration/ip_messaging/v2/service/role_spec.rb +0 -3
  519. data/spec/integration/ip_messaging/v2/service/user/user_binding_spec.rb +0 -3
  520. data/spec/integration/ip_messaging/v2/service/user/user_channel_spec.rb +0 -4
  521. data/spec/integration/ip_messaging/v2/service/user_spec.rb +6 -6
  522. data/spec/integration/ip_messaging/v2/service_spec.rb +0 -4
  523. data/spec/integration/lookups/v1/phone_number_spec.rb +0 -1
  524. data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +0 -3
  525. data/spec/integration/messaging/v1/service/phone_number_spec.rb +0 -3
  526. data/spec/integration/messaging/v1/service/short_code_spec.rb +0 -3
  527. data/spec/integration/messaging/v1/service_spec.rb +0 -4
  528. data/spec/integration/monitor/v1/alert_spec.rb +0 -2
  529. data/spec/integration/monitor/v1/event_spec.rb +0 -2
  530. data/spec/integration/notify/v1/credential_spec.rb +0 -4
  531. data/spec/integration/notify/v1/service/binding_spec.rb +0 -3
  532. data/spec/integration/notify/v1/service/notification_spec.rb +0 -1
  533. data/spec/integration/notify/v1/service_spec.rb +0 -5
  534. data/spec/integration/numbers/v2/regulatory_compliance/bundle/evaluation_spec.rb +0 -3
  535. data/spec/integration/numbers/v2/regulatory_compliance/bundle/item_assignment_spec.rb +0 -3
  536. data/spec/integration/numbers/v2/regulatory_compliance/bundle_spec.rb +32 -4
  537. data/spec/integration/numbers/v2/regulatory_compliance/end_user_spec.rb +0 -3
  538. data/spec/integration/numbers/v2/regulatory_compliance/end_user_type_spec.rb +0 -2
  539. data/spec/integration/numbers/v2/regulatory_compliance/regulation_spec.rb +0 -2
  540. data/spec/integration/numbers/v2/regulatory_compliance/supporting_document_spec.rb +0 -3
  541. data/spec/integration/numbers/v2/regulatory_compliance/supporting_document_type_spec.rb +0 -2
  542. data/spec/integration/preview/bulk_exports/export/day_spec.rb +0 -2
  543. data/spec/integration/preview/bulk_exports/export/export_custom_job_spec.rb +0 -2
  544. data/spec/integration/preview/bulk_exports/export/job_spec.rb +0 -2
  545. data/spec/integration/preview/bulk_exports/export_configuration_spec.rb +0 -2
  546. data/spec/integration/preview/bulk_exports/export_spec.rb +0 -1
  547. data/spec/integration/preview/deployed_devices/fleet/certificate_spec.rb +0 -4
  548. data/spec/integration/preview/deployed_devices/fleet/deployment_spec.rb +0 -5
  549. data/spec/integration/preview/deployed_devices/fleet/device_spec.rb +0 -5
  550. data/spec/integration/preview/deployed_devices/fleet/key_spec.rb +0 -5
  551. data/spec/integration/preview/deployed_devices/fleet_spec.rb +0 -5
  552. data/spec/integration/preview/hosted_numbers/authorization_document/dependent_hosted_number_order_spec.rb +0 -1
  553. data/spec/integration/preview/hosted_numbers/authorization_document_spec.rb +0 -3
  554. data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +0 -4
  555. data/spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb +0 -2
  556. data/spec/integration/preview/marketplace/available_add_on_spec.rb +0 -2
  557. data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +0 -2
  558. data/spec/integration/preview/marketplace/installed_add_on_spec.rb +0 -4
  559. data/spec/integration/preview/sync/service/document/document_permission_spec.rb +0 -3
  560. data/spec/integration/preview/sync/service/document_spec.rb +6 -6
  561. data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +6 -5
  562. data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +0 -3
  563. data/spec/integration/preview/sync/service/sync_list_spec.rb +0 -4
  564. data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +6 -5
  565. data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +0 -3
  566. data/spec/integration/preview/sync/service/sync_map_spec.rb +0 -4
  567. data/spec/integration/preview/sync/service_spec.rb +0 -5
  568. data/spec/integration/preview/trusted_comms/brands_information_spec.rb +3 -2
  569. data/spec/integration/preview/trusted_comms/business/brand/branded_channel_spec.rb +0 -1
  570. data/spec/integration/preview/trusted_comms/business/brand_spec.rb +0 -1
  571. data/spec/integration/preview/trusted_comms/business/insights/impressions_rate_spec.rb +0 -1
  572. data/spec/integration/preview/trusted_comms/business_spec.rb +0 -1
  573. data/spec/integration/preview/trusted_comms/cps_spec.rb +3 -2
  574. data/spec/integration/preview/trusted_comms/current_call_spec.rb +6 -2
  575. data/spec/integration/preview/understand/assistant/assistant_fallback_actions_spec.rb +0 -2
  576. data/spec/integration/preview/understand/assistant/assistant_initiation_actions_spec.rb +0 -2
  577. data/spec/integration/preview/understand/assistant/dialogue_spec.rb +0 -1
  578. data/spec/integration/preview/understand/assistant/field_type/field_value_spec.rb +0 -3
  579. data/spec/integration/preview/understand/assistant/field_type_spec.rb +0 -4
  580. data/spec/integration/preview/understand/assistant/model_build_spec.rb +0 -5
  581. data/spec/integration/preview/understand/assistant/query_spec.rb +0 -4
  582. data/spec/integration/preview/understand/assistant/style_sheet_spec.rb +0 -2
  583. data/spec/integration/preview/understand/assistant/task/field_spec.rb +0 -3
  584. data/spec/integration/preview/understand/assistant/task/sample_spec.rb +0 -4
  585. data/spec/integration/preview/understand/assistant/task/task_actions_spec.rb +0 -2
  586. data/spec/integration/preview/understand/assistant/task/task_statistics_spec.rb +0 -1
  587. data/spec/integration/preview/understand/assistant/task_spec.rb +0 -4
  588. data/spec/integration/preview/understand/assistant_spec.rb +0 -5
  589. data/spec/integration/preview/wireless/command_spec.rb +0 -2
  590. data/spec/integration/preview/wireless/rate_plan_spec.rb +0 -5
  591. data/spec/integration/preview/wireless/sim/usage_spec.rb +0 -1
  592. data/spec/integration/preview/wireless/sim_spec.rb +0 -3
  593. data/spec/integration/pricing/v1/messaging/country_spec.rb +0 -2
  594. data/spec/integration/pricing/v1/phone_number/country_spec.rb +0 -2
  595. data/spec/integration/pricing/v1/voice/country_spec.rb +0 -2
  596. data/spec/integration/pricing/v1/voice/number_spec.rb +0 -1
  597. data/spec/integration/pricing/v2/voice/country_spec.rb +0 -2
  598. data/spec/integration/pricing/v2/voice/number_spec.rb +0 -1
  599. data/spec/integration/proxy/v1/service/phone_number_spec.rb +0 -5
  600. data/spec/integration/proxy/v1/service/session/interaction_spec.rb +0 -3
  601. data/spec/integration/proxy/v1/service/session/participant/message_interaction_spec.rb +0 -3
  602. data/spec/integration/proxy/v1/service/session/participant_spec.rb +0 -3
  603. data/spec/integration/proxy/v1/service/session_spec.rb +0 -5
  604. data/spec/integration/proxy/v1/service/short_code_spec.rb +0 -4
  605. data/spec/integration/proxy/v1/service_spec.rb +0 -4
  606. data/spec/integration/serverless/v1/service/asset/asset_version_spec.rb +0 -2
  607. data/spec/integration/serverless/v1/service/asset_spec.rb +0 -3
  608. data/spec/integration/serverless/v1/service/build_spec.rb +0 -4
  609. data/spec/integration/serverless/v1/service/environment/deployment_spec.rb +0 -3
  610. data/spec/integration/serverless/v1/service/environment/log_spec.rb +0 -2
  611. data/spec/integration/serverless/v1/service/environment/variable_spec.rb +0 -4
  612. data/spec/integration/serverless/v1/service/environment_spec.rb +0 -3
  613. data/spec/integration/serverless/v1/service/function/function_version/function_version_content_spec.rb +0 -1
  614. data/spec/integration/serverless/v1/service/function/function_version_spec.rb +0 -2
  615. data/spec/integration/serverless/v1/service/function_spec.rb +0 -3
  616. data/spec/integration/serverless/v1/service_spec.rb +0 -4
  617. data/spec/integration/studio/v1/flow/engagement/engagement_context_spec.rb +0 -1
  618. data/spec/integration/studio/v1/flow/engagement/step/step_context_spec.rb +0 -1
  619. data/spec/integration/studio/v1/flow/engagement/step_spec.rb +0 -2
  620. data/spec/integration/studio/v1/flow/engagement_spec.rb +0 -3
  621. data/spec/integration/studio/v1/flow/execution/execution_context_spec.rb +0 -1
  622. data/spec/integration/studio/v1/flow/execution/execution_step/execution_step_context_spec.rb +0 -1
  623. data/spec/integration/studio/v1/flow/execution/execution_step_spec.rb +0 -2
  624. data/spec/integration/studio/v1/flow/execution_spec.rb +0 -3
  625. data/spec/integration/studio/v1/flow_spec.rb +0 -3
  626. data/spec/integration/studio/v2/flow/execution/execution_context_spec.rb +0 -1
  627. data/spec/integration/studio/v2/flow/execution/execution_step/execution_step_context_spec.rb +0 -1
  628. data/spec/integration/studio/v2/flow/execution/execution_step_spec.rb +0 -2
  629. data/spec/integration/studio/v2/flow/execution_spec.rb +0 -3
  630. data/spec/integration/studio/v2/flow/flow_revision_spec.rb +0 -2
  631. data/spec/integration/studio/v2/flow/test_user_spec.rb +0 -1
  632. data/spec/integration/studio/v2/flow_spec.rb +0 -3
  633. data/spec/integration/supersim/v1/command_spec.rb +0 -2
  634. data/spec/integration/supersim/v1/fleet_spec.rb +0 -3
  635. data/spec/integration/supersim/v1/network_access_profile/network_access_profile_network_spec.rb +0 -3
  636. data/spec/integration/supersim/v1/network_access_profile_spec.rb +0 -4
  637. data/spec/integration/supersim/v1/network_spec.rb +0 -2
  638. data/spec/integration/supersim/v1/sim_spec.rb +0 -3
  639. data/spec/integration/supersim/v1/usage_record_spec.rb +463 -19
  640. data/spec/integration/sync/v1/service/document/document_permission_spec.rb +0 -3
  641. data/spec/integration/sync/v1/service/document_spec.rb +6 -7
  642. data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +6 -6
  643. data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +0 -3
  644. data/spec/integration/sync/v1/service/sync_list_spec.rb +0 -5
  645. data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +6 -6
  646. data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +0 -3
  647. data/spec/integration/sync/v1/service/sync_map_spec.rb +0 -5
  648. data/spec/integration/sync/v1/service/sync_stream_spec.rb +0 -5
  649. data/spec/integration/sync/v1/service_spec.rb +0 -5
  650. data/spec/integration/taskrouter/v1/workspace/activity_spec.rb +0 -4
  651. data/spec/integration/taskrouter/v1/workspace/event_spec.rb +0 -2
  652. data/spec/integration/taskrouter/v1/workspace/task/reservation_spec.rb +0 -3
  653. data/spec/integration/taskrouter/v1/workspace/task_channel_spec.rb +0 -4
  654. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics_spec.rb +0 -1
  655. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics_spec.rb +0 -1
  656. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_statistics_spec.rb +0 -1
  657. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queues_statistics_spec.rb +0 -1
  658. data/spec/integration/taskrouter/v1/workspace/task_queue_spec.rb +0 -4
  659. data/spec/integration/taskrouter/v1/workspace/task_spec.rb +0 -5
  660. data/spec/integration/taskrouter/v1/workspace/worker/reservation_spec.rb +0 -3
  661. data/spec/integration/taskrouter/v1/workspace/worker/worker_channel_spec.rb +0 -3
  662. data/spec/integration/taskrouter/v1/workspace/worker/worker_statistics_spec.rb +0 -1
  663. data/spec/integration/taskrouter/v1/workspace/worker/workers_cumulative_statistics_spec.rb +0 -1
  664. data/spec/integration/taskrouter/v1/workspace/worker/workers_real_time_statistics_spec.rb +0 -1
  665. data/spec/integration/taskrouter/v1/workspace/worker/workers_statistics_spec.rb +0 -1
  666. data/spec/integration/taskrouter/v1/workspace/worker_spec.rb +0 -4
  667. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics_spec.rb +0 -1
  668. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_real_time_statistics_spec.rb +0 -1
  669. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_statistics_spec.rb +0 -1
  670. data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +0 -4
  671. data/spec/integration/taskrouter/v1/workspace/workspace_cumulative_statistics_spec.rb +0 -1
  672. data/spec/integration/taskrouter/v1/workspace/workspace_real_time_statistics_spec.rb +0 -1
  673. data/spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb +0 -1
  674. data/spec/integration/taskrouter/v1/workspace_spec.rb +0 -4
  675. data/spec/integration/trunking/v1/trunk/credential_list_spec.rb +0 -3
  676. data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +0 -3
  677. data/spec/integration/trunking/v1/trunk/origination_url_spec.rb +0 -4
  678. data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +0 -3
  679. data/spec/integration/trunking/v1/trunk_spec.rb +0 -5
  680. data/spec/integration/verify/v2/form_spec.rb +5 -6
  681. data/spec/integration/verify/v2/service/access_token_spec.rb +44 -0
  682. data/spec/integration/verify/v2/service/entity/{factor/challenge_spec.rb → challenge_spec.rb} +41 -142
  683. data/spec/integration/verify/v2/service/entity/factor_spec.rb +21 -27
  684. data/spec/integration/verify/v2/service/entity_spec.rb +15 -10
  685. data/spec/integration/verify/v2/service/messaging_configuration_spec.rb +0 -3
  686. data/spec/integration/verify/v2/service/rate_limit/bucket_spec.rb +0 -4
  687. data/spec/integration/verify/v2/service/rate_limit_spec.rb +0 -4
  688. data/spec/integration/verify/v2/service/verification_spec.rb +0 -1
  689. data/spec/integration/verify/v2/service/webhook_spec.rb +0 -4
  690. data/spec/integration/verify/v2/service_spec.rb +8 -8
  691. data/spec/integration/video/v1/composition_hook_spec.rb +0 -3
  692. data/spec/integration/video/v1/composition_settings_spec.rb +0 -1
  693. data/spec/integration/video/v1/composition_spec.rb +0 -3
  694. data/spec/integration/video/v1/recording_settings_spec.rb +0 -1
  695. data/spec/integration/video/v1/recording_spec.rb +0 -3
  696. data/spec/integration/video/v1/room/recording_spec.rb +0 -3
  697. data/spec/integration/video/v1/room/room_participant/room_participant_published_track_spec.rb +0 -2
  698. data/spec/integration/video/v1/room/room_participant/room_participant_subscribe_rule_spec.rb +0 -2
  699. data/spec/integration/video/v1/room/room_participant/room_participant_subscribed_track_spec.rb +0 -2
  700. data/spec/integration/video/v1/room/room_participant_spec.rb +0 -3
  701. data/spec/integration/video/v1/room_spec.rb +0 -3
  702. data/spec/integration/voice/v1/byoc_trunk_spec.rb +0 -5
  703. data/spec/integration/voice/v1/connection_policy/connection_policy_target_spec.rb +0 -4
  704. data/spec/integration/voice/v1/connection_policy_spec.rb +0 -5
  705. data/spec/integration/voice/v1/dialing_permissions/country/highrisk_special_prefix_spec.rb +0 -1
  706. data/spec/integration/voice/v1/dialing_permissions/country_spec.rb +0 -2
  707. data/spec/integration/voice/v1/dialing_permissions/settings_spec.rb +0 -2
  708. data/spec/integration/voice/v1/ip_record_spec.rb +0 -4
  709. data/spec/integration/voice/v1/source_ip_mapping_spec.rb +0 -3
  710. data/spec/integration/wireless/v1/command_spec.rb +0 -3
  711. data/spec/integration/wireless/v1/rate_plan_spec.rb +0 -5
  712. data/spec/integration/wireless/v1/sim/data_session_spec.rb +2 -3
  713. data/spec/integration/wireless/v1/sim/usage_record_spec.rb +0 -1
  714. data/spec/integration/wireless/v1/sim_spec.rb +0 -4
  715. data/spec/integration/wireless/v1/usage_record_spec.rb +0 -1
  716. metadata +30 -8
  717. data/lib/twilio-ruby/rest/verify/v2/service/entity/access_token.rb +0 -141
  718. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor/challenge.rb +0 -494
  719. data/spec/integration/verify/v2/service/entity/access_token_spec.rb +0 -46
@@ -18,7 +18,6 @@ describe 'DependentPhoneNumber' do
18
18
  .dependent_phone_numbers.list()
19
19
  }.to raise_exception(Twilio::REST::TwilioError)
20
20
 
21
- values = {}
22
21
  expect(
23
22
  @holodeck.has_request?(Holodeck::Request.new(
24
23
  method: 'get',
@@ -71,7 +71,6 @@ describe 'Address' do
71
71
  .addresses('ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
72
72
  }.to raise_exception(Twilio::REST::TwilioError)
73
73
 
74
- values = {}
75
74
  expect(
76
75
  @holodeck.has_request?(Holodeck::Request.new(
77
76
  method: 'delete',
@@ -99,7 +98,6 @@ describe 'Address' do
99
98
  .addresses('ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
100
99
  }.to raise_exception(Twilio::REST::TwilioError)
101
100
 
102
- values = {}
103
101
  expect(
104
102
  @holodeck.has_request?(Holodeck::Request.new(
105
103
  method: 'get',
@@ -145,7 +143,6 @@ describe 'Address' do
145
143
  .addresses('ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
146
144
  }.to raise_exception(Twilio::REST::TwilioError)
147
145
 
148
- values = {}
149
146
  expect(
150
147
  @holodeck.has_request?(Holodeck::Request.new(
151
148
  method: 'post',
@@ -191,7 +188,6 @@ describe 'Address' do
191
188
  .addresses.list()
192
189
  }.to raise_exception(Twilio::REST::TwilioError)
193
190
 
194
- values = {}
195
191
  expect(
196
192
  @holodeck.has_request?(Holodeck::Request.new(
197
193
  method: 'get',
@@ -17,7 +17,6 @@ describe 'Application' do
17
17
  .applications.create()
18
18
  }.to raise_exception(Twilio::REST::TwilioError)
19
19
 
20
- values = {}
21
20
  expect(
22
21
  @holodeck.has_request?(Holodeck::Request.new(
23
22
  method: 'post',
@@ -68,7 +67,6 @@ describe 'Application' do
68
67
  .applications('APXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
69
68
  }.to raise_exception(Twilio::REST::TwilioError)
70
69
 
71
- values = {}
72
70
  expect(
73
71
  @holodeck.has_request?(Holodeck::Request.new(
74
72
  method: 'delete',
@@ -96,7 +94,6 @@ describe 'Application' do
96
94
  .applications('APXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
97
95
  }.to raise_exception(Twilio::REST::TwilioError)
98
96
 
99
- values = {}
100
97
  expect(
101
98
  @holodeck.has_request?(Holodeck::Request.new(
102
99
  method: 'get',
@@ -147,7 +144,6 @@ describe 'Application' do
147
144
  .applications.list()
148
145
  }.to raise_exception(Twilio::REST::TwilioError)
149
146
 
150
- values = {}
151
147
  expect(
152
148
  @holodeck.has_request?(Holodeck::Request.new(
153
149
  method: 'get',
@@ -234,7 +230,6 @@ describe 'Application' do
234
230
  .applications('APXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
235
231
  }.to raise_exception(Twilio::REST::TwilioError)
236
232
 
237
- values = {}
238
233
  expect(
239
234
  @holodeck.has_request?(Holodeck::Request.new(
240
235
  method: 'post',
@@ -17,7 +17,6 @@ describe 'AuthorizedConnectApp' do
17
17
  .authorized_connect_apps('CNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
18
18
  }.to raise_exception(Twilio::REST::TwilioError)
19
19
 
20
- values = {}
21
20
  expect(
22
21
  @holodeck.has_request?(Holodeck::Request.new(
23
22
  method: 'get',
@@ -60,7 +59,6 @@ describe 'AuthorizedConnectApp' do
60
59
  .authorized_connect_apps.list()
61
60
  }.to raise_exception(Twilio::REST::TwilioError)
62
61
 
63
- values = {}
64
62
  expect(
65
63
  @holodeck.has_request?(Holodeck::Request.new(
66
64
  method: 'get',
@@ -18,7 +18,6 @@ describe 'Local' do
18
18
  .local.list()
19
19
  }.to raise_exception(Twilio::REST::TwilioError)
20
20
 
21
- values = {}
22
21
  expect(
23
22
  @holodeck.has_request?(Holodeck::Request.new(
24
23
  method: 'get',
@@ -18,7 +18,6 @@ describe 'MachineToMachine' do
18
18
  .machine_to_machine.list()
19
19
  }.to raise_exception(Twilio::REST::TwilioError)
20
20
 
21
- values = {}
22
21
  expect(
23
22
  @holodeck.has_request?(Holodeck::Request.new(
24
23
  method: 'get',
@@ -18,7 +18,6 @@ describe 'Mobile' do
18
18
  .mobile.list()
19
19
  }.to raise_exception(Twilio::REST::TwilioError)
20
20
 
21
- values = {}
22
21
  expect(
23
22
  @holodeck.has_request?(Holodeck::Request.new(
24
23
  method: 'get',
@@ -18,7 +18,6 @@ describe 'National' do
18
18
  .national.list()
19
19
  }.to raise_exception(Twilio::REST::TwilioError)
20
20
 
21
- values = {}
22
21
  expect(
23
22
  @holodeck.has_request?(Holodeck::Request.new(
24
23
  method: 'get',
@@ -18,7 +18,6 @@ describe 'SharedCost' do
18
18
  .shared_cost.list()
19
19
  }.to raise_exception(Twilio::REST::TwilioError)
20
20
 
21
- values = {}
22
21
  expect(
23
22
  @holodeck.has_request?(Holodeck::Request.new(
24
23
  method: 'get',
@@ -18,7 +18,6 @@ describe 'TollFree' do
18
18
  .toll_free.list()
19
19
  }.to raise_exception(Twilio::REST::TwilioError)
20
20
 
21
- values = {}
22
21
  expect(
23
22
  @holodeck.has_request?(Holodeck::Request.new(
24
23
  method: 'get',
@@ -18,7 +18,6 @@ describe 'Voip' do
18
18
  .voip.list()
19
19
  }.to raise_exception(Twilio::REST::TwilioError)
20
20
 
21
- values = {}
22
21
  expect(
23
22
  @holodeck.has_request?(Holodeck::Request.new(
24
23
  method: 'get',
@@ -17,7 +17,6 @@ describe 'AvailablePhoneNumberCountry' do
17
17
  .available_phone_numbers.list()
18
18
  }.to raise_exception(Twilio::REST::TwilioError)
19
19
 
20
- values = {}
21
20
  expect(
22
21
  @holodeck.has_request?(Holodeck::Request.new(
23
22
  method: 'get',
@@ -97,7 +96,6 @@ describe 'AvailablePhoneNumberCountry' do
97
96
  .available_phone_numbers('US').fetch()
98
97
  }.to raise_exception(Twilio::REST::TwilioError)
99
98
 
100
- values = {}
101
99
  expect(
102
100
  @holodeck.has_request?(Holodeck::Request.new(
103
101
  method: 'get',
@@ -17,7 +17,6 @@ describe 'Balance' do
17
17
  .balance.fetch()
18
18
  }.to raise_exception(Twilio::REST::TwilioError)
19
19
 
20
- values = {}
21
20
  expect(
22
21
  @holodeck.has_request?(Holodeck::Request.new(
23
22
  method: 'get',
@@ -61,7 +61,6 @@ describe 'Feedback' do
61
61
  .feedback().fetch()
62
62
  }.to raise_exception(Twilio::REST::TwilioError)
63
63
 
64
- values = {}
65
64
  expect(
66
65
  @holodeck.has_request?(Holodeck::Request.new(
67
66
  method: 'get',
@@ -75,7 +75,6 @@ describe 'FeedbackSummary' do
75
75
  .feedback_summaries('FSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
76
76
  }.to raise_exception(Twilio::REST::TwilioError)
77
77
 
78
- values = {}
79
78
  expect(
80
79
  @holodeck.has_request?(Holodeck::Request.new(
81
80
  method: 'get',
@@ -128,7 +127,6 @@ describe 'FeedbackSummary' do
128
127
  .feedback_summaries('FSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
129
128
  }.to raise_exception(Twilio::REST::TwilioError)
130
129
 
131
- values = {}
132
130
  expect(
133
131
  @holodeck.has_request?(Holodeck::Request.new(
134
132
  method: 'delete',
@@ -18,7 +18,6 @@ describe 'Notification' do
18
18
  .notifications('NOXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
19
19
  }.to raise_exception(Twilio::REST::TwilioError)
20
20
 
21
- values = {}
22
21
  expect(
23
22
  @holodeck.has_request?(Holodeck::Request.new(
24
23
  method: 'get',
@@ -68,7 +67,6 @@ describe 'Notification' do
68
67
  .notifications.list()
69
68
  }.to raise_exception(Twilio::REST::TwilioError)
70
69
 
71
- values = {}
72
70
  expect(
73
71
  @holodeck.has_request?(Holodeck::Request.new(
74
72
  method: 'get',
@@ -18,7 +18,6 @@ describe 'Recording' do
18
18
  .recordings.create()
19
19
  }.to raise_exception(Twilio::REST::TwilioError)
20
20
 
21
- values = {}
22
21
  expect(
23
22
  @holodeck.has_request?(Holodeck::Request.new(
24
23
  method: 'post',
@@ -119,7 +118,6 @@ describe 'Recording' do
119
118
  .recordings('REXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
120
119
  }.to raise_exception(Twilio::REST::TwilioError)
121
120
 
122
- values = {}
123
121
  expect(
124
122
  @holodeck.has_request?(Holodeck::Request.new(
125
123
  method: 'get',
@@ -173,7 +171,6 @@ describe 'Recording' do
173
171
  .recordings('REXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
174
172
  }.to raise_exception(Twilio::REST::TwilioError)
175
173
 
176
- values = {}
177
174
  expect(
178
175
  @holodeck.has_request?(Holodeck::Request.new(
179
176
  method: 'delete',
@@ -203,7 +200,6 @@ describe 'Recording' do
203
200
  .recordings.list()
204
201
  }.to raise_exception(Twilio::REST::TwilioError)
205
202
 
206
- values = {}
207
203
  expect(
208
204
  @holodeck.has_request?(Holodeck::Request.new(
209
205
  method: 'get',
@@ -130,7 +130,6 @@ describe 'Call' do
130
130
  .calls('CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
131
131
  }.to raise_exception(Twilio::REST::TwilioError)
132
132
 
133
- values = {}
134
133
  expect(
135
134
  @holodeck.has_request?(Holodeck::Request.new(
136
135
  method: 'delete',
@@ -158,7 +157,6 @@ describe 'Call' do
158
157
  .calls('CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
159
158
  }.to raise_exception(Twilio::REST::TwilioError)
160
159
 
161
- values = {}
162
160
  expect(
163
161
  @holodeck.has_request?(Holodeck::Request.new(
164
162
  method: 'get',
@@ -222,7 +220,6 @@ describe 'Call' do
222
220
  .calls.list()
223
221
  }.to raise_exception(Twilio::REST::TwilioError)
224
222
 
225
- values = {}
226
223
  expect(
227
224
  @holodeck.has_request?(Holodeck::Request.new(
228
225
  method: 'get',
@@ -500,7 +497,6 @@ describe 'Call' do
500
497
  .calls('CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
501
498
  }.to raise_exception(Twilio::REST::TwilioError)
502
499
 
503
- values = {}
504
500
  expect(
505
501
  @holodeck.has_request?(Holodeck::Request.new(
506
502
  method: 'post',
@@ -18,7 +18,6 @@ describe 'Participant' do
18
18
  .participants('CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
19
19
  }.to raise_exception(Twilio::REST::TwilioError)
20
20
 
21
- values = {}
22
21
  expect(
23
22
  @holodeck.has_request?(Holodeck::Request.new(
24
23
  method: 'get',
@@ -95,7 +94,6 @@ describe 'Participant' do
95
94
  .participants('CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
96
95
  }.to raise_exception(Twilio::REST::TwilioError)
97
96
 
98
- values = {}
99
97
  expect(
100
98
  @holodeck.has_request?(Holodeck::Request.new(
101
99
  method: 'post',
@@ -460,7 +458,6 @@ describe 'Participant' do
460
458
  .participants('CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
461
459
  }.to raise_exception(Twilio::REST::TwilioError)
462
460
 
463
- values = {}
464
461
  expect(
465
462
  @holodeck.has_request?(Holodeck::Request.new(
466
463
  method: 'delete',
@@ -503,7 +500,6 @@ describe 'Participant' do
503
500
  .participants.list()
504
501
  }.to raise_exception(Twilio::REST::TwilioError)
505
502
 
506
- values = {}
507
503
  expect(
508
504
  @holodeck.has_request?(Holodeck::Request.new(
509
505
  method: 'get',
@@ -69,7 +69,6 @@ describe 'Recording' do
69
69
  .recordings('REXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
70
70
  }.to raise_exception(Twilio::REST::TwilioError)
71
71
 
72
- values = {}
73
72
  expect(
74
73
  @holodeck.has_request?(Holodeck::Request.new(
75
74
  method: 'get',
@@ -123,7 +122,6 @@ describe 'Recording' do
123
122
  .recordings('REXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
124
123
  }.to raise_exception(Twilio::REST::TwilioError)
125
124
 
126
- values = {}
127
125
  expect(
128
126
  @holodeck.has_request?(Holodeck::Request.new(
129
127
  method: 'delete',
@@ -153,7 +151,6 @@ describe 'Recording' do
153
151
  .recordings.list()
154
152
  }.to raise_exception(Twilio::REST::TwilioError)
155
153
 
156
- values = {}
157
154
  expect(
158
155
  @holodeck.has_request?(Holodeck::Request.new(
159
156
  method: 'get',
@@ -17,7 +17,6 @@ describe 'Conference' do
17
17
  .conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
18
18
  }.to raise_exception(Twilio::REST::TwilioError)
19
19
 
20
- values = {}
21
20
  expect(
22
21
  @holodeck.has_request?(Holodeck::Request.new(
23
22
  method: 'get',
@@ -153,7 +152,6 @@ describe 'Conference' do
153
152
  .conferences.list()
154
153
  }.to raise_exception(Twilio::REST::TwilioError)
155
154
 
156
- values = {}
157
155
  expect(
158
156
  @holodeck.has_request?(Holodeck::Request.new(
159
157
  method: 'get',
@@ -421,7 +419,6 @@ describe 'Conference' do
421
419
  .conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
422
420
  }.to raise_exception(Twilio::REST::TwilioError)
423
421
 
424
- values = {}
425
422
  expect(
426
423
  @holodeck.has_request?(Holodeck::Request.new(
427
424
  method: 'post',
@@ -17,7 +17,6 @@ describe 'ConnectApp' do
17
17
  .connect_apps('CNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
18
18
  }.to raise_exception(Twilio::REST::TwilioError)
19
19
 
20
- values = {}
21
20
  expect(
22
21
  @holodeck.has_request?(Holodeck::Request.new(
23
22
  method: 'get',
@@ -59,7 +58,6 @@ describe 'ConnectApp' do
59
58
  .connect_apps('CNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
60
59
  }.to raise_exception(Twilio::REST::TwilioError)
61
60
 
62
- values = {}
63
61
  expect(
64
62
  @holodeck.has_request?(Holodeck::Request.new(
65
63
  method: 'post',
@@ -101,7 +99,6 @@ describe 'ConnectApp' do
101
99
  .connect_apps.list()
102
100
  }.to raise_exception(Twilio::REST::TwilioError)
103
101
 
104
- values = {}
105
102
  expect(
106
103
  @holodeck.has_request?(Holodeck::Request.new(
107
104
  method: 'get',
@@ -179,7 +176,6 @@ describe 'ConnectApp' do
179
176
  .connect_apps('CNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
180
177
  }.to raise_exception(Twilio::REST::TwilioError)
181
178
 
182
- values = {}
183
179
  expect(
184
180
  @holodeck.has_request?(Holodeck::Request.new(
185
181
  method: 'delete',
@@ -19,7 +19,6 @@ describe 'AssignedAddOnExtension' do
19
19
  .extensions('XFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
20
20
  }.to raise_exception(Twilio::REST::TwilioError)
21
21
 
22
- values = {}
23
22
  expect(
24
23
  @holodeck.has_request?(Holodeck::Request.new(
25
24
  method: 'get',
@@ -63,7 +62,6 @@ describe 'AssignedAddOnExtension' do
63
62
  .extensions.list()
64
63
  }.to raise_exception(Twilio::REST::TwilioError)
65
64
 
66
- values = {}
67
65
  expect(
68
66
  @holodeck.has_request?(Holodeck::Request.new(
69
67
  method: 'get',
@@ -18,7 +18,6 @@ describe 'AssignedAddOn' do
18
18
  .assigned_add_ons('XEXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
19
19
  }.to raise_exception(Twilio::REST::TwilioError)
20
20
 
21
- values = {}
22
21
  expect(
23
22
  @holodeck.has_request?(Holodeck::Request.new(
24
23
  method: 'get',
@@ -66,7 +65,6 @@ describe 'AssignedAddOn' do
66
65
  .assigned_add_ons.list()
67
66
  }.to raise_exception(Twilio::REST::TwilioError)
68
67
 
69
- values = {}
70
68
  expect(
71
69
  @holodeck.has_request?(Holodeck::Request.new(
72
70
  method: 'get',
@@ -200,7 +198,6 @@ describe 'AssignedAddOn' do
200
198
  .assigned_add_ons('XEXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
201
199
  }.to raise_exception(Twilio::REST::TwilioError)
202
200
 
203
- values = {}
204
201
  expect(
205
202
  @holodeck.has_request?(Holodeck::Request.new(
206
203
  method: 'delete',
@@ -18,7 +18,6 @@ describe 'Local' do
18
18
  .local.list()
19
19
  }.to raise_exception(Twilio::REST::TwilioError)
20
20
 
21
- values = {}
22
21
  expect(
23
22
  @holodeck.has_request?(Holodeck::Request.new(
24
23
  method: 'get',
@@ -32,7 +31,7 @@ describe 'Local' do
32
31
  %q[
33
32
  {
34
33
  "end": 0,
35
- "first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?PageSize=1&Page=0",
34
+ "first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0",
36
35
  "incoming_phone_numbers": [
37
36
  {
38
37
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
@@ -47,10 +46,12 @@ describe 'Local' do
47
46
  },
48
47
  "date_created": "Thu, 30 Jul 2015 23:19:04 +0000",
49
48
  "date_updated": "Thu, 30 Jul 2015 23:19:04 +0000",
49
+ "emergency_status": "Active",
50
+ "emergency_address_sid": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
50
51
  "friendly_name": "(808) 925-5327",
51
52
  "identity_sid": "RIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
52
- "phone_number": "+18089255327",
53
53
  "origin": "origin",
54
+ "phone_number": "+18089255327",
54
55
  "sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
55
56
  "sms_application_sid": "",
56
57
  "sms_fallback_method": "POST",
@@ -67,20 +68,17 @@ describe 'Local' do
67
68
  "voice_fallback_url": null,
68
69
  "voice_method": "POST",
69
70
  "voice_url": null,
70
- "emergency_status": "Active",
71
- "emergency_address_sid": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
72
- "bundle_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
71
+ "bundle_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
72
+ "voice_receive_mode": "voice",
73
+ "status": "in-use"
73
74
  }
74
75
  ],
75
- "last_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?PageSize=1&Page=2",
76
76
  "next_page_uri": null,
77
- "num_pages": 3,
78
77
  "page": 0,
79
- "page_size": 1,
78
+ "page_size": 50,
80
79
  "previous_page_uri": null,
81
80
  "start": 0,
82
- "total": 3,
83
- "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?PageSize=1"
81
+ "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0"
84
82
  }
85
83
  ]
86
84
  ))
@@ -98,17 +96,14 @@ describe 'Local' do
98
96
  %q[
99
97
  {
100
98
  "end": 0,
101
- "first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?PageSize=1&Page=0",
99
+ "first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0",
102
100
  "incoming_phone_numbers": [],
103
- "last_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?PageSize=1&Page=2",
104
101
  "next_page_uri": null,
105
- "num_pages": 3,
106
102
  "page": 0,
107
- "page_size": 1,
103
+ "page_size": 50,
108
104
  "previous_page_uri": null,
109
105
  "start": 0,
110
- "total": 3,
111
- "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?PageSize=1"
106
+ "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0"
112
107
  }
113
108
  ]
114
109
  ))
@@ -149,35 +144,38 @@ describe 'Local' do
149
144
  "api_version": "2010-04-01",
150
145
  "beta": false,
151
146
  "capabilities": {
152
- "mms": true,
147
+ "voice": true,
153
148
  "sms": false,
154
- "voice": true
149
+ "mms": true,
150
+ "fax": false
155
151
  },
156
152
  "date_created": "Thu, 30 Jul 2015 23:19:04 +0000",
157
153
  "date_updated": "Thu, 30 Jul 2015 23:19:04 +0000",
158
- "friendly_name": "(808) 925-5327",
154
+ "emergency_status": "Active",
155
+ "emergency_address_sid": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
156
+ "friendly_name": "friendly_name",
159
157
  "identity_sid": "RIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
160
- "phone_number": "+18089255327",
161
158
  "origin": "origin",
159
+ "phone_number": "+18089255327",
162
160
  "sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
163
- "sms_application_sid": "",
164
- "sms_fallback_method": "POST",
165
- "sms_fallback_url": "",
166
- "sms_method": "POST",
167
- "sms_url": "",
168
- "status_callback": "",
169
- "status_callback_method": "POST",
161
+ "sms_application_sid": "APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
162
+ "sms_fallback_method": "GET",
163
+ "sms_fallback_url": "https://example.com",
164
+ "sms_method": "GET",
165
+ "sms_url": "https://example.com",
166
+ "status_callback": "https://example.com",
167
+ "status_callback_method": "GET",
170
168
  "trunk_sid": null,
171
169
  "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
172
- "voice_application_sid": "",
173
- "voice_caller_id_lookup": false,
174
- "voice_fallback_method": "POST",
175
- "voice_fallback_url": null,
176
- "voice_method": "POST",
177
- "voice_url": null,
178
- "emergency_status": "Active",
179
- "emergency_address_sid": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
180
- "bundle_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
170
+ "voice_application_sid": "APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
171
+ "voice_caller_id_lookup": true,
172
+ "voice_fallback_method": "GET",
173
+ "voice_fallback_url": "https://example.com",
174
+ "voice_method": "GET",
175
+ "voice_url": "https://example.com",
176
+ "bundle_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
177
+ "voice_receive_mode": "voice",
178
+ "status": "in-use"
181
179
  }
182
180
  ]
183
181
  ))