twilio-ruby 5.36.0 → 5.39.2

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