twilio-ruby 5.35.0 → 5.39.1

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