twilio-ruby 6.2.0 → 6.8.3

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 (394) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +205 -0
  3. data/CONTRIBUTING.md +1 -1
  4. data/LICENSE +1 -1
  5. data/README.md +2 -2
  6. data/lib/twilio-ruby/base/client_base.rb +4 -7
  7. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +0 -1
  8. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +0 -1
  9. data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +169 -0
  10. data/lib/twilio-ruby/rest/accounts/v1.rb +6 -0
  11. data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +0 -1
  12. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +1 -5
  13. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +0 -2
  14. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +0 -1
  15. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +0 -19
  16. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +0 -19
  17. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +0 -19
  18. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +0 -19
  19. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +0 -19
  20. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +0 -19
  21. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +0 -19
  22. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +7 -8
  23. data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +0 -1
  24. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +0 -5
  25. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +0 -4
  26. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -19
  27. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +5 -6
  28. data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +0 -4
  29. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +2 -11
  30. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +0 -1
  31. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +0 -1
  32. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +1 -2
  33. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +0 -5
  34. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +0 -5
  35. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +0 -5
  36. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +1 -6
  37. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +0 -1
  38. data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +4 -4
  39. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +19 -23
  40. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +55 -58
  41. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +0 -5
  42. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +0 -3
  43. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +0 -1
  44. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -2
  45. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +0 -1
  46. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -2
  47. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +0 -1
  48. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -9
  49. data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +0 -3
  50. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +0 -1
  51. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +0 -1
  52. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +1 -2
  53. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +0 -1
  54. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +0 -1
  55. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +0 -1
  56. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +0 -1
  57. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +0 -1
  58. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +3 -4
  59. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +0 -1
  60. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -2
  61. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +0 -1
  62. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +0 -5
  63. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +0 -5
  64. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +0 -5
  65. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +0 -5
  66. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +0 -5
  67. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +0 -5
  68. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +0 -5
  69. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +0 -5
  70. data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +0 -5
  71. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +0 -4
  72. data/lib/twilio-ruby/rest/api/v2010/account.rb +0 -3
  73. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +0 -2
  74. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +1 -2
  75. data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +0 -1
  76. data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +0 -5
  77. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +0 -1
  78. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +0 -2
  79. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -3
  80. data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +0 -1
  81. data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +0 -1
  82. data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +0 -1
  83. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +0 -1
  84. data/lib/twilio-ruby/rest/chat/v1/credential.rb +0 -1
  85. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +1 -2
  86. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +1 -2
  87. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +0 -2
  88. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +4 -5
  89. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +0 -1
  90. data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +0 -1
  91. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +1 -2
  92. data/lib/twilio-ruby/rest/chat/v1/service.rb +0 -1
  93. data/lib/twilio-ruby/rest/chat/v2/credential.rb +0 -1
  94. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +2 -3
  95. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +1 -2
  96. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +1 -2
  97. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +0 -2
  98. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +0 -1
  99. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +5 -6
  100. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +0 -1
  101. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +1 -2
  102. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +0 -1
  103. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -3
  104. data/lib/twilio-ruby/rest/chat/v2/service.rb +0 -1
  105. data/lib/twilio-ruby/rest/chat/v3/channel.rb +3 -3
  106. data/lib/twilio-ruby/rest/client.rb +1 -6
  107. data/lib/twilio-ruby/rest/content/v1/content.rb +1 -2
  108. data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +1 -2
  109. data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +1 -2
  110. data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +0 -2
  111. data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +3 -3
  112. data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +0 -1
  113. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +12 -5
  114. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +0 -1
  115. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +0 -1
  116. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +22 -8
  117. data/lib/twilio-ruby/rest/conversations/v1/credential.rb +0 -1
  118. data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +0 -3
  119. data/lib/twilio-ruby/rest/conversations/v1/role.rb +0 -1
  120. data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +2 -3
  121. data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +12 -12
  122. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +0 -1
  123. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +12 -5
  124. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +19 -20
  125. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +0 -1
  126. data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +25 -11
  127. data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +0 -3
  128. data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +0 -1
  129. data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +0 -1
  130. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +1 -2
  131. data/lib/twilio-ruby/rest/conversations/v1/service.rb +0 -1
  132. data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +0 -1
  133. data/lib/twilio-ruby/rest/conversations/v1/user.rb +0 -1
  134. data/lib/twilio-ruby/rest/events/v1/event_type.rb +0 -2
  135. data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +0 -1
  136. data/lib/twilio-ruby/rest/events/v1/sink.rb +0 -3
  137. data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +0 -1
  138. data/lib/twilio-ruby/rest/events/v1/subscription.rb +0 -2
  139. data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +0 -3
  140. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +0 -1
  141. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +21 -0
  142. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +0 -2
  143. data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +0 -4
  144. data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +0 -3
  145. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +0 -3
  146. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +0 -2
  147. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +1 -3
  148. data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +1 -4
  149. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +0 -1
  150. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +0 -1
  151. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +6 -7
  152. data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +11 -1
  153. data/lib/twilio-ruby/rest/{oauth/v1/oauth.rb → flex_api/v1/provisioning_status.rb} +39 -37
  154. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +0 -1
  155. data/lib/twilio-ruby/rest/flex_api/v1.rb +6 -0
  156. data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +1 -1
  157. data/lib/twilio-ruby/rest/insights/v1/call/event.rb +0 -2
  158. data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +0 -3
  159. data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +33 -51
  160. data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +0 -4
  161. data/lib/twilio-ruby/rest/insights/v1/conference.rb +0 -11
  162. data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +3 -4
  163. data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -6
  164. data/lib/twilio-ruby/rest/intelligence/v2/service.rb +4 -5
  165. data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +2 -2
  166. data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +12 -7
  167. data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +3 -5
  168. data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +5 -25
  169. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +0 -1
  170. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +1 -2
  171. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +1 -2
  172. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +0 -2
  173. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +4 -5
  174. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +0 -1
  175. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +0 -1
  176. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +1 -2
  177. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +0 -1
  178. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +0 -1
  179. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +2 -3
  180. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +1 -2
  181. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +1 -2
  182. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +0 -2
  183. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +0 -1
  184. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +5 -6
  185. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +0 -1
  186. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +1 -2
  187. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +0 -1
  188. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -3
  189. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +0 -1
  190. data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +7 -0
  191. data/lib/twilio-ruby/rest/media/v1/media_processor.rb +7 -10
  192. data/lib/twilio-ruby/rest/media/v1/media_recording.rb +1 -6
  193. data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +2 -5
  194. data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +0 -2
  195. data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +0 -1
  196. data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -2
  197. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +0 -1
  198. data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +329 -0
  199. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +0 -1
  200. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +0 -1
  201. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +4 -5
  202. data/lib/twilio-ruby/rest/messaging/v1/service.rb +78 -52
  203. data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +777 -0
  204. data/lib/twilio-ruby/rest/messaging/v1.rb +15 -0
  205. data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +0 -1
  206. data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +0 -1
  207. data/lib/twilio-ruby/rest/microvisor/v1/app.rb +0 -1
  208. data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +0 -1
  209. data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +0 -1
  210. data/lib/twilio-ruby/rest/microvisor/v1/device.rb +8 -3
  211. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +0 -4
  212. data/lib/twilio-ruby/rest/monitor/v1/event.rb +0 -7
  213. data/lib/twilio-ruby/rest/notify/v1/credential.rb +0 -1
  214. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +2 -5
  215. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +1 -1
  216. data/lib/twilio-ruby/rest/notify/v1/service.rb +4 -6
  217. data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +22 -4
  218. data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +7 -12
  219. data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +6 -6
  220. data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +249 -0
  221. data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +7 -20
  222. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +0 -1
  223. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +0 -1
  224. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +0 -1
  225. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +19 -31
  226. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +0 -1
  227. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +0 -1
  228. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +0 -4
  229. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +0 -1
  230. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +0 -1
  231. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +14 -14
  232. data/lib/twilio-ruby/rest/numbers/v2.rb +15 -0
  233. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +0 -2
  234. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +0 -1
  235. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +0 -2
  236. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +0 -2
  237. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +0 -1
  238. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +3 -9
  239. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +4 -7
  240. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +3 -9
  241. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +0 -1
  242. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +0 -1
  243. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +0 -1
  244. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +0 -1
  245. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +0 -1
  246. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -2
  247. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +0 -4
  248. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +0 -1
  249. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -3
  250. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +0 -4
  251. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +0 -1
  252. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -3
  253. data/lib/twilio-ruby/rest/preview/sync/service.rb +0 -1
  254. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +0 -2
  255. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +1 -2
  256. data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +0 -1
  257. data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +0 -4
  258. data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +0 -1
  259. data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +0 -2
  260. data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -3
  261. data/lib/twilio-ruby/rest/preview/understand/assistant.rb +0 -1
  262. data/lib/twilio-ruby/rest/preview/wireless/command.rb +0 -5
  263. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +0 -1
  264. data/lib/twilio-ruby/rest/preview/wireless/sim.rb +0 -6
  265. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +0 -1
  266. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +0 -1
  267. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +0 -1
  268. data/lib/twilio-ruby/rest/pricing/v2/country.rb +0 -1
  269. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +0 -1
  270. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +0 -1
  271. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +1 -2
  272. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +0 -1
  273. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -2
  274. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -3
  275. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +1 -2
  276. data/lib/twilio-ruby/rest/proxy/v1/service.rb +4 -5
  277. data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +0 -1
  278. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +1 -2
  279. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +0 -1
  280. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +0 -1
  281. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +0 -4
  282. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +0 -1
  283. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +3 -4
  284. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +0 -1
  285. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +1 -2
  286. data/lib/twilio-ruby/rest/serverless/v1/service.rb +0 -1
  287. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +0 -1
  288. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +1 -2
  289. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +0 -1
  290. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -4
  291. data/lib/twilio-ruby/rest/studio/v1/flow.rb +0 -1
  292. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +0 -1
  293. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -4
  294. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +0 -1
  295. data/lib/twilio-ruby/rest/studio/v2/flow.rb +0 -1
  296. data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +4 -8
  297. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +0 -2
  298. data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +3 -8
  299. data/lib/twilio-ruby/rest/supersim/v1/network.rb +0 -4
  300. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +0 -1
  301. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +0 -1
  302. data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +0 -3
  303. data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +0 -1
  304. data/lib/twilio-ruby/rest/supersim/v1/sim/sim_ip_address.rb +0 -1
  305. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +0 -4
  306. data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +0 -4
  307. data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +0 -9
  308. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +0 -1
  309. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -2
  310. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +0 -4
  311. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +0 -1
  312. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -3
  313. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +0 -4
  314. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +0 -1
  315. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -3
  316. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -2
  317. data/lib/twilio-ruby/rest/sync/v1/service.rb +0 -1
  318. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +0 -3
  319. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +0 -12
  320. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +0 -3
  321. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +26 -19
  322. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +0 -1
  323. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +0 -7
  324. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +8 -5
  325. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +0 -2
  326. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +0 -1
  327. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -11
  328. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +0 -2
  329. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +0 -2
  330. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +0 -1
  331. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +0 -1
  332. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +0 -1
  333. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +0 -1
  334. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +0 -1
  335. data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +232 -0
  336. data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +154 -0
  337. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +0 -3
  338. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +0 -1
  339. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +0 -1
  340. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +0 -4
  341. data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +0 -1
  342. data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +0 -1
  343. data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +0 -1
  344. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +0 -1
  345. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +0 -1
  346. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +0 -3
  347. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +0 -1
  348. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +0 -1
  349. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +0 -4
  350. data/lib/twilio-ruby/rest/trusthub/v1.rb +21 -0
  351. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +1 -5
  352. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +0 -1
  353. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -4
  354. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +4 -5
  355. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +0 -1
  356. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +1 -2
  357. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +7 -1
  358. data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +0 -1
  359. data/lib/twilio-ruby/rest/verify/v2/service.rb +19 -4
  360. data/lib/twilio-ruby/rest/verify/v2/template.rb +0 -2
  361. data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +7 -16
  362. data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +6 -6
  363. data/lib/twilio-ruby/rest/video/v1/composition.rb +0 -5
  364. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +0 -5
  365. data/lib/twilio-ruby/rest/video/v1/recording.rb +1 -7
  366. data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +0 -1
  367. data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +0 -1
  368. data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -8
  369. data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +0 -5
  370. data/lib/twilio-ruby/rest/video/v1/room.rb +2 -7
  371. data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +0 -1
  372. data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +0 -1
  373. data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +0 -1
  374. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +0 -1
  375. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +4 -11
  376. data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +0 -1
  377. data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +0 -1
  378. data/lib/twilio-ruby/rest/wireless/v1/command.rb +5 -10
  379. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +7 -8
  380. data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +3 -4
  381. data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +3 -7
  382. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +13 -19
  383. data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +2 -6
  384. data/lib/twilio-ruby/twiml/voice_response.rb +8 -4
  385. data/lib/twilio-ruby/version.rb +1 -1
  386. metadata +9 -11
  387. data/conf/cacert.pem +0 -3376
  388. data/lib/twilio-ruby/rest/oauth/v1/device_code.rb +0 -171
  389. data/lib/twilio-ruby/rest/oauth/v1/openid_discovery.rb +0 -262
  390. data/lib/twilio-ruby/rest/oauth/v1/token.rb +0 -179
  391. data/lib/twilio-ruby/rest/oauth/v1/user_info.rb +0 -213
  392. data/lib/twilio-ruby/rest/oauth/v1.rb +0 -64
  393. data/lib/twilio-ruby/rest/oauth.rb +0 -33
  394. data/lib/twilio-ruby/rest/oauth_base.rb +0 -38
@@ -34,7 +34,7 @@ module Twilio
34
34
  ##
35
35
  # Create the MessagingConfigurationInstance
36
36
  # @param [String] country The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country this configuration will be applied to. If this is a global configuration, Country will take the value `all`.
37
- # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) to be used to send SMS to the country of this configuration.
37
+ # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
38
38
  # @return [MessagingConfigurationInstance] Created MessagingConfigurationInstance
39
39
  def create(
40
40
  country: nil,
@@ -116,7 +116,6 @@ module Twilio
116
116
  # @return [Page] Page of MessagingConfigurationInstance
117
117
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
118
118
  params = Twilio::Values.of({
119
-
120
119
  'PageToken' => page_token,
121
120
  'Page' => page_number,
122
121
  'PageSize' => page_size,
@@ -189,7 +188,7 @@ module Twilio
189
188
 
190
189
  ##
191
190
  # Update the MessagingConfigurationInstance
192
- # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) to be used to send SMS to the country of this configuration.
191
+ # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
193
192
  # @return [MessagingConfigurationInstance] Updated MessagingConfigurationInstance
194
193
  def update(
195
194
  messaging_service_sid: nil
@@ -311,7 +310,7 @@ module Twilio
311
310
  end
312
311
 
313
312
  ##
314
- # @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) to be used to send SMS to the country of this configuration.
313
+ # @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
315
314
  def messaging_service_sid
316
315
  @properties['messaging_service_sid']
317
316
  end
@@ -352,7 +351,7 @@ module Twilio
352
351
 
353
352
  ##
354
353
  # Update the MessagingConfigurationInstance
355
- # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) to be used to send SMS to the country of this configuration.
354
+ # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
356
355
  # @return [MessagingConfigurationInstance] Updated MessagingConfigurationInstance
357
356
  def update(
358
357
  messaging_service_sid: nil
@@ -118,7 +118,6 @@ module Twilio
118
118
  # @return [Page] Page of BucketInstance
119
119
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
120
120
  params = Twilio::Values.of({
121
-
122
121
  'PageToken' => page_token,
123
122
  'Page' => page_number,
124
123
  'PageSize' => page_size,
@@ -116,7 +116,6 @@ module Twilio
116
116
  # @return [Page] Page of RateLimitInstance
117
117
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
118
118
  params = Twilio::Values.of({
119
-
120
119
  'PageToken' => page_token,
121
120
  'Page' => page_number,
122
121
  'PageSize' => page_size,
@@ -223,7 +222,7 @@ module Twilio
223
222
 
224
223
  unless @buckets
225
224
  @buckets = BucketList.new(
226
- @version, service_sid: @solution[:service_sid], rate_limit_sid: @solution[:sid], )
225
+ @version, service_sid: @solution[:service_sid], rate_limit_sid: @solution[:sid], )
227
226
  end
228
227
 
229
228
  @buckets
@@ -48,6 +48,8 @@ module Twilio
48
48
  # @param [String] template_sid The message [template](https://www.twilio.com/docs/verify/api/templates). If provided, will override the default template for the Service. SMS and Voice channels only.
49
49
  # @param [String] template_custom_substitutions A stringified JSON object in which the keys are the template's special variables and the values are the variables substitutions.
50
50
  # @param [String] device_ip Strongly encouraged if using the auto channel. The IP address of the client's device. If provided, it has to be a valid IPv4 or IPv6 address.
51
+ # @param [RiskCheck] risk_check
52
+ # @param [String] tags A string containing a JSON map of key value pairs of tags to be recorded as metadata for the message. The object may contain up to 10 tags. Keys and values can each be up to 128 characters in length.
51
53
  # @return [VerificationInstance] Created VerificationInstance
52
54
  def create(
53
55
  to: nil,
@@ -64,7 +66,9 @@ module Twilio
64
66
  app_hash: :unset,
65
67
  template_sid: :unset,
66
68
  template_custom_substitutions: :unset,
67
- device_ip: :unset
69
+ device_ip: :unset,
70
+ risk_check: :unset,
71
+ tags: :unset
68
72
  )
69
73
 
70
74
  data = Twilio::Values.of({
@@ -83,6 +87,8 @@ module Twilio
83
87
  'TemplateSid' => template_sid,
84
88
  'TemplateCustomSubstitutions' => template_custom_substitutions,
85
89
  'DeviceIp' => device_ip,
90
+ 'RiskCheck' => risk_check,
91
+ 'Tags' => tags,
86
92
  })
87
93
 
88
94
  payload = @version.create('POST', @uri, data: data)
@@ -125,7 +125,6 @@ module Twilio
125
125
  # @return [Page] Page of WebhookInstance
126
126
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
127
127
  params = Twilio::Values.of({
128
-
129
128
  'PageToken' => page_token,
130
129
  'Page' => page_number,
131
130
  'PageSize' => page_size,
@@ -48,6 +48,7 @@ module Twilio
48
48
  # @param [String] totp_code_length Optional configuration for the TOTP factors. Number of digits for generated TOTP codes. Must be between 3 and 8, inclusive. Defaults to 6
49
49
  # @param [String] totp_skew Optional configuration for the TOTP factors. The number of time-steps, past and future, that are valid for validation of TOTP codes. Must be between 0 and 2, inclusive. Defaults to 1
50
50
  # @param [String] default_template_sid The default message [template](https://www.twilio.com/docs/verify/api/templates). Will be used for all SMS verifications unless explicitly overriden. SMS channel only.
51
+ # @param [Boolean] verify_event_subscription_enabled Whether to allow verifications from the service to reach the stream-events sinks if configured
51
52
  # @return [ServiceInstance] Created ServiceInstance
52
53
  def create(
53
54
  friendly_name: nil,
@@ -66,7 +67,8 @@ module Twilio
66
67
  totp_time_step: :unset,
67
68
  totp_code_length: :unset,
68
69
  totp_skew: :unset,
69
- default_template_sid: :unset
70
+ default_template_sid: :unset,
71
+ verify_event_subscription_enabled: :unset
70
72
  )
71
73
 
72
74
  data = Twilio::Values.of({
@@ -87,6 +89,7 @@ module Twilio
87
89
  'Totp.CodeLength' => totp_code_length,
88
90
  'Totp.Skew' => totp_skew,
89
91
  'DefaultTemplateSid' => default_template_sid,
92
+ 'VerifyEventSubscriptionEnabled' => verify_event_subscription_enabled,
90
93
  })
91
94
 
92
95
  payload = @version.create('POST', @uri, data: data)
@@ -158,7 +161,6 @@ module Twilio
158
161
  # @return [Page] Page of ServiceInstance
159
162
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
160
163
  params = Twilio::Values.of({
161
-
162
164
  'PageToken' => page_token,
163
165
  'Page' => page_number,
164
166
  'PageSize' => page_size,
@@ -253,6 +255,7 @@ module Twilio
253
255
  # @param [String] totp_code_length Optional configuration for the TOTP factors. Number of digits for generated TOTP codes. Must be between 3 and 8, inclusive. Defaults to 6
254
256
  # @param [String] totp_skew Optional configuration for the TOTP factors. The number of time-steps, past and future, that are valid for validation of TOTP codes. Must be between 0 and 2, inclusive. Defaults to 1
255
257
  # @param [String] default_template_sid The default message [template](https://www.twilio.com/docs/verify/api/templates). Will be used for all SMS verifications unless explicitly overriden. SMS channel only.
258
+ # @param [Boolean] verify_event_subscription_enabled Whether to allow verifications from the service to reach the stream-events sinks if configured
256
259
  # @return [ServiceInstance] Updated ServiceInstance
257
260
  def update(
258
261
  friendly_name: :unset,
@@ -271,7 +274,8 @@ module Twilio
271
274
  totp_time_step: :unset,
272
275
  totp_code_length: :unset,
273
276
  totp_skew: :unset,
274
- default_template_sid: :unset
277
+ default_template_sid: :unset,
278
+ verify_event_subscription_enabled: :unset
275
279
  )
276
280
 
277
281
  data = Twilio::Values.of({
@@ -292,6 +296,7 @@ module Twilio
292
296
  'Totp.CodeLength' => totp_code_length,
293
297
  'Totp.Skew' => totp_skew,
294
298
  'DefaultTemplateSid' => default_template_sid,
299
+ 'VerifyEventSubscriptionEnabled' => verify_event_subscription_enabled,
295
300
  })
296
301
 
297
302
  payload = @version.update('POST', @uri, data: data)
@@ -500,6 +505,7 @@ module Twilio
500
505
  'push' => payload['push'],
501
506
  'totp' => payload['totp'],
502
507
  'default_template_sid' => payload['default_template_sid'],
508
+ 'verify_event_subscription_enabled' => payload['verify_event_subscription_enabled'],
503
509
  'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
504
510
  'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
505
511
  'url' => payload['url'],
@@ -606,6 +612,12 @@ module Twilio
606
612
  @properties['default_template_sid']
607
613
  end
608
614
 
615
+ ##
616
+ # @return [Boolean] Whether to allow verifications from the service to reach the stream-events sinks if configured
617
+ def verify_event_subscription_enabled
618
+ @properties['verify_event_subscription_enabled']
619
+ end
620
+
609
621
  ##
610
622
  # @return [Time] The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
611
623
  def date_created
@@ -665,6 +677,7 @@ module Twilio
665
677
  # @param [String] totp_code_length Optional configuration for the TOTP factors. Number of digits for generated TOTP codes. Must be between 3 and 8, inclusive. Defaults to 6
666
678
  # @param [String] totp_skew Optional configuration for the TOTP factors. The number of time-steps, past and future, that are valid for validation of TOTP codes. Must be between 0 and 2, inclusive. Defaults to 1
667
679
  # @param [String] default_template_sid The default message [template](https://www.twilio.com/docs/verify/api/templates). Will be used for all SMS verifications unless explicitly overriden. SMS channel only.
680
+ # @param [Boolean] verify_event_subscription_enabled Whether to allow verifications from the service to reach the stream-events sinks if configured
668
681
  # @return [ServiceInstance] Updated ServiceInstance
669
682
  def update(
670
683
  friendly_name: :unset,
@@ -683,7 +696,8 @@ module Twilio
683
696
  totp_time_step: :unset,
684
697
  totp_code_length: :unset,
685
698
  totp_skew: :unset,
686
- default_template_sid: :unset
699
+ default_template_sid: :unset,
700
+ verify_event_subscription_enabled: :unset
687
701
  )
688
702
 
689
703
  context.update(
@@ -704,6 +718,7 @@ module Twilio
704
718
  totp_code_length: totp_code_length,
705
719
  totp_skew: totp_skew,
706
720
  default_template_sid: default_template_sid,
721
+ verify_event_subscription_enabled: verify_event_subscription_enabled,
707
722
  )
708
723
  end
709
724
 
@@ -96,9 +96,7 @@ module Twilio
96
96
  # @return [Page] Page of TemplateInstance
97
97
  def page(friendly_name: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
98
98
  params = Twilio::Values.of({
99
-
100
99
  'FriendlyName' => friendly_name,
101
-
102
100
  'PageToken' => page_token,
103
101
  'Page' => page_number,
104
102
  'PageSize' => page_size,
@@ -34,8 +34,8 @@ module Twilio
34
34
  # Lists VerificationAttemptInstance records from the API as a list.
35
35
  # Unlike stream(), this operation is eager and will load `limit` records into
36
36
  # memory before returning.
37
- # @param [Time] date_created_after Datetime filter used to query Verification Attempts created after this datetime. Given as GMT in RFC 2822 format.
38
- # @param [Time] date_created_before Datetime filter used to query Verification Attempts created before this datetime. Given as GMT in RFC 2822 format.
37
+ # @param [Time] date_created_after Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
38
+ # @param [Time] date_created_before Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
39
39
  # @param [String] channel_data_to Destination of a verification. It is phone number in E.164 format.
40
40
  # @param [String] country Filter used to query Verification Attempts sent to the specified destination country.
41
41
  # @param [Channels] channel Filter used to query Verification Attempts by communication channel. Valid values are `SMS` and `CALL`
@@ -68,8 +68,8 @@ module Twilio
68
68
  # Streams Instance records from the API as an Enumerable.
69
69
  # This operation lazily loads records as efficiently as possible until the limit
70
70
  # is reached.
71
- # @param [Time] date_created_after Datetime filter used to query Verification Attempts created after this datetime. Given as GMT in RFC 2822 format.
72
- # @param [Time] date_created_before Datetime filter used to query Verification Attempts created before this datetime. Given as GMT in RFC 2822 format.
71
+ # @param [Time] date_created_after Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
72
+ # @param [Time] date_created_before Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
73
73
  # @param [String] channel_data_to Destination of a verification. It is phone number in E.164 format.
74
74
  # @param [String] country Filter used to query Verification Attempts sent to the specified destination country.
75
75
  # @param [Channels] channel Filter used to query Verification Attempts by communication channel. Valid values are `SMS` and `CALL`
@@ -117,8 +117,8 @@ module Twilio
117
117
  ##
118
118
  # Retrieve a single page of VerificationAttemptInstance records from the API.
119
119
  # Request is executed immediately.
120
- # @param [Time] date_created_after Datetime filter used to query Verification Attempts created after this datetime. Given as GMT in RFC 2822 format.
121
- # @param [Time] date_created_before Datetime filter used to query Verification Attempts created before this datetime. Given as GMT in RFC 2822 format.
120
+ # @param [Time] date_created_after Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
121
+ # @param [Time] date_created_before Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
122
122
  # @param [String] channel_data_to Destination of a verification. It is phone number in E.164 format.
123
123
  # @param [String] country Filter used to query Verification Attempts sent to the specified destination country.
124
124
  # @param [Channels] channel Filter used to query Verification Attempts by communication channel. Valid values are `SMS` and `CALL`
@@ -131,23 +131,14 @@ module Twilio
131
131
  # @return [Page] Page of VerificationAttemptInstance
132
132
  def page(date_created_after: :unset, date_created_before: :unset, channel_data_to: :unset, country: :unset, channel: :unset, verify_service_sid: :unset, verification_sid: :unset, status: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
133
133
  params = Twilio::Values.of({
134
-
135
134
  'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after),
136
-
137
135
  'DateCreatedBefore' => Twilio.serialize_iso8601_datetime(date_created_before),
138
-
139
136
  'ChannelData.To' => channel_data_to,
140
-
141
137
  'Country' => country,
142
-
143
138
  'Channel' => channel,
144
-
145
139
  'VerifyServiceSid' => verify_service_sid,
146
-
147
140
  'VerificationSid' => verification_sid,
148
-
149
141
  'Status' => status,
150
-
151
142
  'PageToken' => page_token,
152
143
  'Page' => page_number,
153
144
  'PageSize' => page_size,
@@ -345,7 +336,7 @@ module Twilio
345
336
  end
346
337
 
347
338
  ##
348
- # @return [Hash] An object containing the charge for this verification attempt related to the channel costs and the currency used. The costs related to the succeeded verifications are not included. May not be immediately available. More information on pricing is available [here](https://www.twilio.com/verify/pricing).
339
+ # @return [Hash] An object containing the charge for this verification attempt related to the channel costs and the currency used. The costs related to the succeeded verifications are not included. May not be immediately available. More information on pricing is available [here](https://www.twilio.com/en-us/verify/pricing).
349
340
  def price
350
341
  @properties['price']
351
342
  end
@@ -56,10 +56,10 @@ module Twilio
56
56
  ##
57
57
  # Fetch the VerificationAttemptsSummaryInstance
58
58
  # @param [String] verify_service_sid Filter used to consider only Verification Attempts of the given verify service on the summary aggregation.
59
- # @param [Time] date_created_after Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in RFC 2822 format.
60
- # @param [Time] date_created_before Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in RFC 2822 format.
59
+ # @param [Time] date_created_after Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
60
+ # @param [Time] date_created_before Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
61
61
  # @param [String] country Filter used to consider only Verification Attempts sent to the specified destination country on the summary aggregation.
62
- # @param [Channels] channel Filter Verification Attempts considered on the summary aggregation by communication channel. Valid values are `SMS` and `CALL`
62
+ # @param [Channels] channel Filter Verification Attempts considered on the summary aggregation by communication channel. Valid values are `SMS`, `CALL` and `WHATSAPP`
63
63
  # @param [String] destination_prefix Filter the Verification Attempts considered on the summary aggregation by Destination prefix. It is the prefix of a phone number in E.164 format.
64
64
  # @return [VerificationAttemptsSummaryInstance] Fetched VerificationAttemptsSummaryInstance
65
65
  def fetch(
@@ -201,10 +201,10 @@ module Twilio
201
201
  ##
202
202
  # Fetch the VerificationAttemptsSummaryInstance
203
203
  # @param [String] verify_service_sid Filter used to consider only Verification Attempts of the given verify service on the summary aggregation.
204
- # @param [Time] date_created_after Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in RFC 2822 format.
205
- # @param [Time] date_created_before Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in RFC 2822 format.
204
+ # @param [Time] date_created_after Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
205
+ # @param [Time] date_created_before Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
206
206
  # @param [String] country Filter used to consider only Verification Attempts sent to the specified destination country on the summary aggregation.
207
- # @param [Channels] channel Filter Verification Attempts considered on the summary aggregation by communication channel. Valid values are `SMS` and `CALL`
207
+ # @param [Channels] channel Filter Verification Attempts considered on the summary aggregation by communication channel. Valid values are `SMS`, `CALL` and `WHATSAPP`
208
208
  # @param [String] destination_prefix Filter the Verification Attempts considered on the summary aggregation by Destination prefix. It is the prefix of a phone number in E.164 format.
209
209
  # @return [VerificationAttemptsSummaryInstance] Fetched VerificationAttemptsSummaryInstance
210
210
  def fetch(
@@ -154,15 +154,10 @@ module Twilio
154
154
  # @return [Page] Page of CompositionInstance
155
155
  def page(status: :unset, date_created_after: :unset, date_created_before: :unset, room_sid: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
156
156
  params = Twilio::Values.of({
157
-
158
157
  'Status' => status,
159
-
160
158
  'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after),
161
-
162
159
  'DateCreatedBefore' => Twilio.serialize_iso8601_datetime(date_created_before),
163
-
164
160
  'RoomSid' => room_sid,
165
-
166
161
  'PageToken' => page_token,
167
162
  'Page' => page_number,
168
163
  'PageSize' => page_size,
@@ -157,15 +157,10 @@ module Twilio
157
157
  # @return [Page] Page of CompositionHookInstance
158
158
  def page(enabled: :unset, date_created_after: :unset, date_created_before: :unset, friendly_name: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
159
159
  params = Twilio::Values.of({
160
-
161
160
  'Enabled' => enabled,
162
-
163
161
  'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after),
164
-
165
162
  'DateCreatedBefore' => Twilio.serialize_iso8601_datetime(date_created_before),
166
-
167
163
  'FriendlyName' => friendly_name,
168
-
169
164
  'PageToken' => page_token,
170
165
  'Page' => page_number,
171
166
  'PageSize' => page_size,
@@ -121,19 +121,13 @@ module Twilio
121
121
  # @return [Page] Page of RecordingInstance
122
122
  def page(status: :unset, source_sid: :unset, grouping_sid: :unset, date_created_after: :unset, date_created_before: :unset, media_type: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
123
123
  params = Twilio::Values.of({
124
-
125
124
  'Status' => status,
126
-
127
125
  'SourceSid' => source_sid,
128
126
 
129
- 'GroupingSid' => Twilio.serialize_list(grouping_sid),
130
-
127
+ 'GroupingSid' => Twilio.serialize_list(grouping_sid) { |e| e },
131
128
  'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after),
132
-
133
129
  'DateCreatedBefore' => Twilio.serialize_iso8601_datetime(date_created_before),
134
-
135
130
  'MediaType' => media_type,
136
-
137
131
  'PageToken' => page_token,
138
132
  'Page' => page_number,
139
133
  'PageSize' => page_size,
@@ -94,7 +94,6 @@ module Twilio
94
94
  # @return [Page] Page of PublishedTrackInstance
95
95
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
96
96
  params = Twilio::Values.of({
97
-
98
97
  'PageToken' => page_token,
99
98
  'Page' => page_number,
100
99
  'PageSize' => page_size,
@@ -94,7 +94,6 @@ module Twilio
94
94
  # @return [Page] Page of SubscribedTrackInstance
95
95
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
96
96
  params = Twilio::Values.of({
97
-
98
97
  'PageToken' => page_token,
99
98
  'Page' => page_number,
100
99
  'PageSize' => page_size,
@@ -113,15 +113,10 @@ module Twilio
113
113
  # @return [Page] Page of ParticipantInstance
114
114
  def page(status: :unset, identity: :unset, date_created_after: :unset, date_created_before: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
115
115
  params = Twilio::Values.of({
116
-
117
116
  'Status' => status,
118
-
119
117
  'Identity' => identity,
120
-
121
118
  'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after),
122
-
123
119
  'DateCreatedBefore' => Twilio.serialize_iso8601_datetime(date_created_before),
124
-
125
120
  'PageToken' => page_token,
126
121
  'Page' => page_number,
127
122
  'PageSize' => page_size,
@@ -216,7 +211,7 @@ module Twilio
216
211
  def subscribe_rules
217
212
  unless @subscribe_rules
218
213
  @subscribe_rules = SubscribeRulesList.new(
219
- @version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
214
+ @version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
220
215
  end
221
216
  @subscribe_rules
222
217
  end
@@ -234,7 +229,7 @@ module Twilio
234
229
 
235
230
  unless @subscribed_tracks
236
231
  @subscribed_tracks = SubscribedTrackList.new(
237
- @version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
232
+ @version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
238
233
  end
239
234
 
240
235
  @subscribed_tracks
@@ -264,7 +259,7 @@ module Twilio
264
259
 
265
260
  unless @published_tracks
266
261
  @published_tracks = PublishedTrackList.new(
267
- @version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
262
+ @version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
268
263
  end
269
264
 
270
265
  @published_tracks
@@ -113,15 +113,10 @@ module Twilio
113
113
  # @return [Page] Page of RoomRecordingInstance
114
114
  def page(status: :unset, source_sid: :unset, date_created_after: :unset, date_created_before: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
115
115
  params = Twilio::Values.of({
116
-
117
116
  'Status' => status,
118
-
119
117
  'SourceSid' => source_sid,
120
-
121
118
  'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after),
122
-
123
119
  'DateCreatedBefore' => Twilio.serialize_iso8601_datetime(date_created_before),
124
-
125
120
  'PageToken' => page_token,
126
121
  'Page' => page_number,
127
122
  'PageSize' => page_size,
@@ -39,7 +39,7 @@ module Twilio
39
39
  # @param [String] max_participants The maximum number of concurrent Participants allowed in the room. Peer-to-peer rooms can have up to 10 Participants. Small Group rooms can have up to 4 Participants. Group rooms can have up to 50 Participants.
40
40
  # @param [Boolean] record_participants_on_connect Whether to start recording when Participants connect. ***This feature is not available in `peer-to-peer` rooms.***
41
41
  # @param [Array[VideoCodec]] video_codecs An array of the video codecs that are supported when publishing a track in the room. Can be: `VP8` and `H264`. ***This feature is not available in `peer-to-peer` rooms***
42
- # @param [String] media_region The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-address-whitelisting#group-rooms-media-servers). ***This feature is not available in `peer-to-peer` rooms.***
42
+ # @param [String] media_region The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-addresses#group-rooms-media-servers). ***This feature is not available in `peer-to-peer` rooms.***
43
43
  # @param [Object] recording_rules A collection of Recording Rules that describe how to include or exclude matching tracks for recording
44
44
  # @param [Boolean] audio_only When set to true, indicates that the participants in the room will only publish audio. No video tracks will be allowed. Group rooms only.
45
45
  # @param [String] max_participant_duration The maximum number of seconds a Participant can be connected to the room. The maximum possible value is 86400 seconds (24 hours). The default is 14400 seconds (4 hours).
@@ -172,15 +172,10 @@ module Twilio
172
172
  # @return [Page] Page of RoomInstance
173
173
  def page(status: :unset, unique_name: :unset, date_created_after: :unset, date_created_before: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
174
174
  params = Twilio::Values.of({
175
-
176
175
  'Status' => status,
177
-
178
176
  'UniqueName' => unique_name,
179
-
180
177
  'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after),
181
-
182
178
  'DateCreatedBefore' => Twilio.serialize_iso8601_datetime(date_created_before),
183
-
184
179
  'PageToken' => page_token,
185
180
  'Page' => page_number,
186
181
  'PageSize' => page_size,
@@ -517,7 +512,7 @@ module Twilio
517
512
  end
518
513
 
519
514
  ##
520
- # @return [String] The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-address-whitelisting#media-servers). ***This feature is not available in `peer-to-peer` rooms.***
515
+ # @return [String] The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-addresses#media-servers). ***This feature is not available in `peer-to-peer` rooms.***
521
516
  def media_region
522
517
  @properties['media_region']
523
518
  end
@@ -137,7 +137,6 @@ module Twilio
137
137
  # @return [Page] Page of ByocTrunkInstance
138
138
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
139
139
  params = Twilio::Values.of({
140
-
141
140
  'PageToken' => page_token,
142
141
  'Page' => page_number,
143
142
  'PageSize' => page_size,
@@ -125,7 +125,6 @@ module Twilio
125
125
  # @return [Page] Page of ConnectionPolicyTargetInstance
126
126
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
127
127
  params = Twilio::Values.of({
128
-
129
128
  'PageToken' => page_token,
130
129
  'Page' => page_number,
131
130
  'PageSize' => page_size,
@@ -110,7 +110,6 @@ module Twilio
110
110
  # @return [Page] Page of ConnectionPolicyInstance
111
111
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
112
112
  params = Twilio::Values.of({
113
-
114
113
  'PageToken' => page_token,
115
114
  'Page' => page_number,
116
115
  'PageSize' => page_size,
@@ -94,7 +94,6 @@ module Twilio
94
94
  # @return [Page] Page of HighriskSpecialPrefixInstance
95
95
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
96
96
  params = Twilio::Values.of({
97
-
98
97
  'PageToken' => page_token,
99
98
  'Page' => page_number,
100
99
  'PageSize' => page_size,
@@ -41,7 +41,7 @@ module Twilio
41
41
  # @param [String] country_code Filter the results by specified [country codes](https://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html)
42
42
  # @param [Boolean] low_risk_numbers_enabled Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be: `true` or `false`.
43
43
  # @param [Boolean] high_risk_special_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: `true` or `false`
44
- # @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/learn/voice-and-video/toll-fraud) numbers enabled. Can be: `true` or `false`.
44
+ # @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`.
45
45
  # @param [Integer] limit Upper limit for the number of records to return. stream()
46
46
  # guarantees to never return more than limit. Default is no limit
47
47
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -71,7 +71,7 @@ module Twilio
71
71
  # @param [String] country_code Filter the results by specified [country codes](https://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html)
72
72
  # @param [Boolean] low_risk_numbers_enabled Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be: `true` or `false`.
73
73
  # @param [Boolean] high_risk_special_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: `true` or `false`
74
- # @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/learn/voice-and-video/toll-fraud) numbers enabled. Can be: `true` or `false`.
74
+ # @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`.
75
75
  # @param [Integer] limit Upper limit for the number of records to return. stream()
76
76
  # guarantees to never return more than limit. Default is no limit
77
77
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -116,26 +116,19 @@ module Twilio
116
116
  # @param [String] country_code Filter the results by specified [country codes](https://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html)
117
117
  # @param [Boolean] low_risk_numbers_enabled Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be: `true` or `false`.
118
118
  # @param [Boolean] high_risk_special_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: `true` or `false`
119
- # @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/learn/voice-and-video/toll-fraud) numbers enabled. Can be: `true` or `false`.
119
+ # @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`.
120
120
  # @param [String] page_token PageToken provided by the API
121
121
  # @param [Integer] page_number Page Number, this value is simply for client state
122
122
  # @param [Integer] page_size Number of records to return, defaults to 50
123
123
  # @return [Page] Page of CountryInstance
124
124
  def page(iso_code: :unset, continent: :unset, country_code: :unset, low_risk_numbers_enabled: :unset, high_risk_special_numbers_enabled: :unset, high_risk_tollfraud_numbers_enabled: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
125
125
  params = Twilio::Values.of({
126
-
127
126
  'IsoCode' => iso_code,
128
-
129
127
  'Continent' => continent,
130
-
131
128
  'CountryCode' => country_code,
132
-
133
129
  'LowRiskNumbersEnabled' => low_risk_numbers_enabled,
134
-
135
130
  'HighRiskSpecialNumbersEnabled' => high_risk_special_numbers_enabled,
136
-
137
131
  'HighRiskTollfraudNumbersEnabled' => high_risk_tollfraud_numbers_enabled,
138
-
139
132
  'PageToken' => page_token,
140
133
  'Page' => page_number,
141
134
  'PageSize' => page_size,
@@ -333,7 +326,7 @@ module Twilio
333
326
  end
334
327
 
335
328
  ##
336
- # @return [Boolean] Whether dialing to high-risk [toll fraud](https://www.twilio.com/learn/voice-and-video/toll-fraud) numbers is enabled. These prefixes include narrow number ranges that have a high-risk of international revenue sharing fraud (IRSF) attacks, also known as [toll fraud](https://www.twilio.com/learn/voice-and-video/toll-fraud). These prefixes are collected from anti-fraud databases and verified by analyzing calls on our network. These prefixes are not available for download and are updated frequently
329
+ # @return [Boolean] Whether dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers is enabled. These prefixes include narrow number ranges that have a high-risk of international revenue sharing fraud (IRSF) attacks, also known as [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html). These prefixes are collected from anti-fraud databases and verified by analyzing calls on our network. These prefixes are not available for download and are updated frequently
337
330
  def high_risk_tollfraud_numbers_enabled
338
331
  @properties['high_risk_tollfraud_numbers_enabled']
339
332
  end
@@ -116,7 +116,6 @@ module Twilio
116
116
  # @return [Page] Page of IpRecordInstance
117
117
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
118
118
  params = Twilio::Values.of({
119
-
120
119
  'PageToken' => page_token,
121
120
  'Page' => page_number,
122
121
  'PageSize' => page_size,
@@ -113,7 +113,6 @@ module Twilio
113
113
  # @return [Page] Page of SourceIpMappingInstance
114
114
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
115
115
  params = Twilio::Values.of({
116
-
117
116
  'PageToken' => page_token,
118
117
  'Page' => page_number,
119
118
  'PageSize' => page_size,