twilio-ruby 6.2.0 → 6.8.3

Sign up to get free protection for your applications and to get access to all the features.
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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c3b2576c210dd02fdc994c2570cd5cc396180b0
4
- data.tar.gz: e9ebd236423454df6e3149ef240763f5c91f07c3
3
+ metadata.gz: 93f72d289553ee06f2eeed03379838f0f7bf0aaf
4
+ data.tar.gz: b1e45d1f753beb689ca6c7ca49ad10679e29fac5
5
5
  SHA512:
6
- metadata.gz: 5ed4d0dd63460c5b46894191c548dd09de759e3e4f0970c43b6f7bb2cd547847e3ee2e8034d6eedcc1cddb1dfe62689821f99626604acbfe1c5e026560a30a09
7
- data.tar.gz: ae8e99cf0b83ee0f73c404f179edd80c91ade18bbf1694adf72f5ef1a91c1369cff7a0f76f69e5a269f52b519457cc65429996e4a4ae6087073ade8c3eb5fe09
6
+ metadata.gz: 590d26035fb79b388d13488a9c6afedbb0c6150e455a89b94e8ac66a096bcf39bdcdb9a72c07430f0471f61e80b2c6b0143b54c316d47935a115652a19caa264
7
+ data.tar.gz: e48cea4a7378ef1e6d491ebd0ade12778db8ee494ea5751f135f67b35134f015a2519fe53f8bb77c2fd4624e61c232dd52d96ac3636ac7d7095068eaddc678ce
data/CHANGES.md CHANGED
@@ -1,6 +1,211 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
+ [2023-12-01] Version 6.8.3
5
+ --------------------------
6
+ **Verify**
7
+ - Add `VerifyEventSubscriptionEnabled` parameter to service create and update endpoints.
8
+
9
+
10
+ [2023-11-17] Version 6.8.2
11
+ --------------------------
12
+ **Library - Chore**
13
+ - [PR #687](https://github.com/twilio/twilio-ruby/pull/687): remove more oauth refrences. Thanks to [@KobeBrooks](https://github.com/KobeBrooks)!
14
+
15
+ **Api**
16
+ - Update documentation to reflect RiskCheck GA
17
+
18
+ **Messaging**
19
+ - Add tollfree edit_allowed and edit_reason fields
20
+ - Update Phone Number, Short Code, Alpha Sender, US A2P and Channel Sender documentation
21
+
22
+ **Taskrouter**
23
+ - Add container attribute to task_queue_bulk_real_time_statistics endpoint
24
+
25
+ **Trusthub**
26
+ - Rename did to tollfree_phone_number in compliance_tollfree_inquiry.json
27
+ - Add new optional field notification_email to compliance_tollfree_inquiry.json
28
+
29
+ **Verify**
30
+ - Add `Tags` optional parameter on Verification creation.
31
+
32
+
33
+ [2023-11-06] Version 6.8.1
34
+ --------------------------
35
+ **Flex**
36
+ - Adding `provisioning_status` for Email Manager
37
+
38
+ **Intelligence**
39
+ - Add text-generation operator (for example conversation summary) results to existing OperatorResults collection.
40
+
41
+ **Messaging**
42
+ - Add DELETE support to Tollfree Verification resource
43
+
44
+ **Serverless**
45
+ - Add node18 as a valid Build runtime
46
+
47
+ **Verify**
48
+ - Update Verify TOTP maturity to GA.
49
+
50
+
51
+ [2023-10-19] Version 6.8.0
52
+ --------------------------
53
+ **Library - Chore**
54
+ - [PR #682](https://github.com/twilio/twilio-ruby/pull/682): Removing Test Related To Deprecated Endpoint - OAuth. Thanks to [@KobeBrooks](https://github.com/KobeBrooks)!
55
+
56
+ **Library - Fix**
57
+ - [PR #680](https://github.com/twilio/twilio-ruby/pull/680): update validate ssl method with new endpoint. Thanks to [@AsabuHere](https://github.com/AsabuHere)!
58
+
59
+ **Accounts**
60
+ - Updated Safelist metadata to correct the docs.
61
+ - Add Global SafeList API changes
62
+
63
+ **Api**
64
+ - Added optional parameter `CallToken` for create participant api
65
+
66
+ **Flex**
67
+ - Adding `offline_config` to Flex Configuration
68
+
69
+ **Intelligence**
70
+ - Deleted `redacted` parameter from fetching transcript in v2 **(breaking change)**
71
+
72
+ **Lookups**
73
+ - Add new `phone_number_quality_score` package to the lookup response
74
+ - Remove `disposable_phone_number_risk` package **(breaking change)**
75
+
76
+ **Messaging**
77
+ - Update US App To Person documentation with current `message_samples` requirements
78
+
79
+ **Taskrouter**
80
+ - Remove beta_feature check on task_queue_bulk_real_time_statistics endpoint
81
+ - Add `virtual_start_time` property to tasks
82
+ - Updating `task_queue_data` format from `map` to `array` in the response of bulk get endpoint of TaskQueue Real Time Statistics API **(breaking change)**
83
+
84
+
85
+ [2023-10-05] Version 6.7.1
86
+ --------------------------
87
+ **Library - Chore**
88
+ - [PR #678](https://github.com/twilio/twilio-ruby/pull/678): twilio help changes. Thanks to [@kridai](https://github.com/kridai)!
89
+
90
+ **Lookups**
91
+ - Add test api support for Lookup v2
92
+
93
+
94
+ [2023-09-21] Version 6.7.0
95
+ --------------------------
96
+ **Conversations**
97
+ - Enable conversation email bindings, email address configurations and email message subjects
98
+
99
+ **Flex**
100
+ - Adding `console_errors_included` to Flex Configuration field `debugger_integrations`
101
+ - Introducing new channel status as `inactive` in modify channel endpoint for leave functionality **(breaking change)**
102
+ - Adding `citrix_voice_vdi` to Flex Configuration
103
+
104
+ **Taskrouter**
105
+ - Add Update Queues, Workers, Workflow Real Time Statistics API to flex-rt-data-api-v2 endpoint
106
+ - Add Update Workspace Real Time Statistics API to flex-rt-data-api-v2 endpoint
107
+
108
+
109
+ [2023-09-07] Version 6.6.0
110
+ --------------------------
111
+ **Api**
112
+ - Make message tagging parameters public **(breaking change)**
113
+
114
+ **Flex**
115
+ - Adding `agent_conv_end_methods` to Flex Configuration
116
+
117
+ **Messaging**
118
+ - Mark Mesasging Services fallback_to_long_code feature obsolete
119
+
120
+ **Numbers**
121
+ - Add Create Port In request api
122
+ - Renaming sid for bulk_hosting_sid and remove account_sid response field in numbers/v2/BulkHostedNumberOrders **(breaking change)**
123
+
124
+ **Pricing**
125
+ - gate resources behind a beta_feature
126
+
127
+
128
+ [2023-08-24] Version 6.5.0
129
+ --------------------------
130
+ **Api**
131
+ - Add new property `RiskCheck` for SMS pumping protection feature only (public beta to be available soon): Include this parameter with a value of `disable` to skip any kind of risk check on the respective message request
132
+
133
+ **Flex**
134
+ - Changing `sid<UO>` path param to `sid<UT>` in interaction channel participant update endpoint **(breaking change)**
135
+
136
+ **Messaging**
137
+ - Add Channel Sender api
138
+ - Fixing country code docs and removing Zipwhip references
139
+
140
+ **Numbers**
141
+ - Request status changed in numbers/v2/BulkHostedNumberOrders **(breaking change)**
142
+ - Add bulk hosting orders API under version `/v2
143
+
144
+
145
+ [2023-08-10] Version 6.4.0
146
+ --------------------------
147
+ **Library - Fix**
148
+ - [PR #673](https://github.com/twilio/twilio-ruby/pull/673): remove ruby version. Thanks to [@kridai](https://github.com/kridai)!
149
+ - [PR #672](https://github.com/twilio/twilio-ruby/pull/672): revert setting ruby version. Thanks to [@kridai](https://github.com/kridai)!
150
+ - [PR #671](https://github.com/twilio/twilio-ruby/pull/671): fix the headers issue. Thanks to [@kridai](https://github.com/kridai)!
151
+
152
+ **Insights**
153
+ - Normalize annotations parameters in list summary api to be prefixed
154
+
155
+ **Numbers**
156
+ - Change Bulk_hosted_sid from BHR to BH prefix in HNO and dependent under version `/v2` API's. **(breaking change)**
157
+ - Added parameter target_account_sid to portability and account_sid to response body
158
+
159
+ **Verify**
160
+ - Remove beta feature flag to list attempts API.
161
+ - Remove beta feature flag to verifications summary attempts API.
162
+
163
+
164
+ [2023-07-27] Version 6.3.1
165
+ --------------------------
166
+ **Api**
167
+ - Added `voice-intelligence`, `voice-intelligence-transcription` and `voice-intelligence-operators` to `usage_record` API.
168
+ - Added `tts-google` to `usage_record` API.
169
+
170
+ **Lookups**
171
+ - Add new `disposable_phone_number_risk` package to the lookup response
172
+
173
+ **Verify**
174
+ - Documentation of list attempts API was improved by correcting `date_created_after` and `date_created_before` expected date format.
175
+ - Documentation was improved by correcting `date_created_after` and `date_created_before` expected date format parameter on attempts summary API.
176
+ - Documentation was improved by adding `WHATSAPP` as optional valid parameter on attempts summary API.
177
+
178
+ **Twiml**
179
+ - Added support for he-il inside of ssm_lang.json that was missing
180
+ - Added support for he-il language in say.json that was missing
181
+ - Add `statusCallback` and `statusCallbackMethod` attributes to `<Siprec>`.
182
+
183
+
184
+ [2023-07-13] Version 6.3.0
185
+ --------------------------
186
+ **Library - Chore**
187
+ - [PR #668](https://github.com/twilio/twilio-ruby/pull/668): remove cacert. Thanks to [@sbansla](https://github.com/sbansla)!
188
+
189
+ **Flex**
190
+ - Adding `interaction_context_sid` as optional parameter in Interactions API
191
+
192
+ **Messaging**
193
+ - Making visiblity public for tollfree_verification API
194
+
195
+ **Numbers**
196
+ - Remove Sms capability property from HNO creation under version `/v2` of HNO API. **(breaking change)**
197
+ - Update required properties in LOA creation under version `/v2` of Authorization document API. **(breaking change)**
198
+
199
+ **Taskrouter**
200
+ - Add api to fetch task queue statistics for multiple TaskQueues
201
+
202
+ **Verify**
203
+ - Add `RiskCheck` optional parameter on Verification creation.
204
+
205
+ **Twiml**
206
+ - Add Google Voices and languages
207
+
208
+
4
209
  [2023-06-28] Version 6.2.0
5
210
  --------------------------
6
211
  **Library - Fix**
data/CONTRIBUTING.md CHANGED
@@ -22,7 +22,7 @@ it can be.
22
22
 
23
23
  If you have questions about how to use `twilio-ruby`, please see our
24
24
  [docs](./README.md), and if you don't find the answer there, please contact
25
- [help@twilio.com](mailto:help@twilio.com) with any issues you have.
25
+ [Twilio Support](https://www.twilio.com/help/contact) with any issues you have.
26
26
 
27
27
  ## <a name="issue"></a> Found an Issue?
28
28
 
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (C) 2023, Twilio, Inc. <help@twilio.com>
3
+ Copyright (C) 2023, Twilio, Inc. <https://www.twilio.com/help/contact>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of
6
6
  this software and associated documentation files (the "Software"), to deal in
data/README.md CHANGED
@@ -39,13 +39,13 @@ This library supports the following Ruby implementations:
39
39
  To install using [Bundler][bundler] grab the latest stable version:
40
40
 
41
41
  ```ruby
42
- gem 'twilio-ruby', '~> 6.2.0'
42
+ gem 'twilio-ruby', '~> 6.8.3'
43
43
  ```
44
44
 
45
45
  To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
46
46
 
47
47
  ```bash
48
- gem install twilio-ruby -v 6.2.0
48
+ gem install twilio-ruby -v 6.8.3
49
49
  ```
50
50
 
51
51
  To build and install the development branch yourself from the latest source:
@@ -27,10 +27,9 @@ module Twilio
27
27
  ##
28
28
  # Makes a request to the Twilio API using the configured http client
29
29
  # Authentication information is automatically added if none is provided
30
- # rubocop:disable Lint/ShadowedArgument
31
30
  def request(host, port, method, uri, params = {}, data = {}, headers = {}, auth = nil, timeout = nil) # rubocop:disable Metrics/MethodLength
32
31
  auth ||= @auth
33
- headers = generate_headers(method)
32
+ headers = generate_headers(method, headers)
34
33
  uri = build_uri(uri)
35
34
 
36
35
  if @logger
@@ -68,7 +67,6 @@ module Twilio
68
67
 
69
68
  response
70
69
  end
71
- # rubocop:enable Lint/ShadowedArgument
72
70
 
73
71
  ##
74
72
  # Build the final request uri
@@ -97,17 +95,16 @@ module Twilio
97
95
  end
98
96
 
99
97
  ##
100
- # Validate the new SSL certificate for the Twilio API
98
+ # Validate the SSL certificates for the Twilio API
101
99
  def validate_ssl_certificate
102
- response = request('api.twilio.com', '8443', 'GET', 'https://api.twilio.com:8443/.json')
100
+ response = request('tls-test.twilio.com', '443', 'GET', 'https://tls-test.twilio.com')
103
101
  return unless response.status_code < 200 || response.status_code >= 300
104
102
 
105
103
  raise RestError.new 'Unexpected response from certificate endpoint', response
106
104
  end
107
105
 
108
- def generate_headers(method)
106
+ def generate_headers(method, headers)
109
107
  ruby_config = RbConfig::CONFIG
110
- headers = {}
111
108
  headers['User-Agent'] =
112
109
  "twilio-ruby/#{Twilio::VERSION} (#{ruby_config['host_os']} #{ruby_config['host_cpu']}) Ruby/#{RUBY_VERSION}"
113
110
  headers['Accept-Charset'] = 'utf-8'
@@ -118,7 +118,6 @@ module Twilio
118
118
  # @return [Page] Page of AwsInstance
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,
@@ -118,7 +118,6 @@ module Twilio
118
118
  # @return [Page] Page of PublicKeyInstance
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,
@@ -0,0 +1,169 @@
1
+ ##
2
+ # This code was generated by
3
+ # ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4
+ # | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5
+ # | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6
+ #
7
+ # Twilio - Accounts
8
+ # This is the public Twilio REST API.
9
+ #
10
+ # NOTE: This class is auto generated by OpenAPI Generator.
11
+ # https://openapi-generator.tech
12
+ # Do not edit the class manually.
13
+ #
14
+
15
+
16
+ module Twilio
17
+ module REST
18
+ class Accounts < AccountsBase
19
+ class V1 < Version
20
+ class SafelistList < ListResource
21
+ ##
22
+ # Initialize the SafelistList
23
+ # @param [Version] version Version that contains the resource
24
+ # @return [SafelistList] SafelistList
25
+ def initialize(version)
26
+ super(version)
27
+ # Path Solution
28
+ @solution = { }
29
+ @uri = "/SafeList/Numbers"
30
+
31
+ end
32
+ ##
33
+ # Create the SafelistInstance
34
+ # @param [String] phone_number The phone number to be added in SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
35
+ # @return [SafelistInstance] Created SafelistInstance
36
+ def create(
37
+ phone_number: nil
38
+ )
39
+
40
+ data = Twilio::Values.of({
41
+ 'PhoneNumber' => phone_number,
42
+ })
43
+
44
+ payload = @version.create('POST', @uri, data: data)
45
+ SafelistInstance.new(
46
+ @version,
47
+ payload,
48
+ )
49
+ end
50
+
51
+ ##
52
+ # Delete the SafelistInstance
53
+ # @param [String] phone_number The phone number to be removed from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
54
+ # @return [Boolean] True if delete succeeds, false otherwise
55
+ def delete(
56
+ phone_number: :unset
57
+ )
58
+
59
+ params = Twilio::Values.of({
60
+ 'PhoneNumber' => phone_number,
61
+ })
62
+ @version.delete('DELETE', @uri, params: params)
63
+ end
64
+
65
+ ##
66
+ # Fetch the SafelistInstance
67
+ # @param [String] phone_number The phone number to be fetched from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
68
+ # @return [SafelistInstance] Fetched SafelistInstance
69
+ def fetch(
70
+ phone_number: :unset
71
+ )
72
+
73
+ params = Twilio::Values.of({
74
+ 'PhoneNumber' => phone_number,
75
+ })
76
+ payload = @version.fetch('GET', @uri, params: params)
77
+ SafelistInstance.new(
78
+ @version,
79
+ payload,
80
+ )
81
+ end
82
+
83
+
84
+
85
+
86
+ # Provide a user friendly representation
87
+ def to_s
88
+ '#<Twilio.Accounts.V1.SafelistList>'
89
+ end
90
+ end
91
+
92
+ class SafelistPage < Page
93
+ ##
94
+ # Initialize the SafelistPage
95
+ # @param [Version] version Version that contains the resource
96
+ # @param [Response] response Response from the API
97
+ # @param [Hash] solution Path solution for the resource
98
+ # @return [SafelistPage] SafelistPage
99
+ def initialize(version, response, solution)
100
+ super(version, response)
101
+
102
+ # Path Solution
103
+ @solution = solution
104
+ end
105
+
106
+ ##
107
+ # Build an instance of SafelistInstance
108
+ # @param [Hash] payload Payload response from the API
109
+ # @return [SafelistInstance] SafelistInstance
110
+ def get_instance(payload)
111
+ SafelistInstance.new(@version, payload)
112
+ end
113
+
114
+ ##
115
+ # Provide a user friendly representation
116
+ def to_s
117
+ '<Twilio.Accounts.V1.SafelistPage>'
118
+ end
119
+ end
120
+ class SafelistInstance < InstanceResource
121
+ ##
122
+ # Initialize the SafelistInstance
123
+ # @param [Version] version Version that contains the resource
124
+ # @param [Hash] payload payload that contains response from Twilio
125
+ # @param [String] account_sid The SID of the
126
+ # {Account}[https://www.twilio.com/docs/iam/api/account] that created this Safelist
127
+ # resource.
128
+ # @param [String] sid The SID of the Call resource to fetch.
129
+ # @return [SafelistInstance] SafelistInstance
130
+ def initialize(version, payload )
131
+ super(version)
132
+
133
+ # Marshaled Properties
134
+ @properties = {
135
+ 'sid' => payload['sid'],
136
+ 'phone_number' => payload['phone_number'],
137
+ }
138
+ end
139
+
140
+
141
+ ##
142
+ # @return [String] The unique string that we created to identify the SafeList resource.
143
+ def sid
144
+ @properties['sid']
145
+ end
146
+
147
+ ##
148
+ # @return [String] The phone number in SafeList.
149
+ def phone_number
150
+ @properties['phone_number']
151
+ end
152
+
153
+ ##
154
+ # Provide a user friendly representation
155
+ def to_s
156
+ "<Twilio.Accounts.V1.SafelistInstance>"
157
+ end
158
+
159
+ ##
160
+ # Provide a detailed, user friendly representation
161
+ def inspect
162
+ "<Twilio.Accounts.V1.SafelistInstance>"
163
+ end
164
+ end
165
+
166
+ end
167
+ end
168
+ end
169
+ end
@@ -23,6 +23,7 @@ module Twilio
23
23
  @version = 'v1'
24
24
  @auth_token_promotion = nil
25
25
  @credentials = nil
26
+ @safelist = nil
26
27
  @secondary_auth_token = nil
27
28
  end
28
29
 
@@ -37,6 +38,11 @@ module Twilio
37
38
  @credentials ||= CredentialList.new self
38
39
  end
39
40
  ##
41
+ # @return [Twilio::REST::Accounts::V1::SafelistList]
42
+ def safelist
43
+ @safelist ||= SafelistList.new self
44
+ end
45
+ ##
40
46
  # @return [Twilio::REST::Accounts::V1::secondaryAuthTokenContext]
41
47
  def secondary_auth_token
42
48
  @secondary_auth_token ||= SecondaryAuthTokenContext.new self
@@ -94,7 +94,6 @@ module Twilio
94
94
  # @return [Page] Page of DependentPhoneNumberInstance
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,
@@ -155,13 +155,9 @@ module Twilio
155
155
  # @return [Page] Page of AddressInstance
156
156
  def page(customer_name: :unset, friendly_name: :unset, iso_country: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
157
157
  params = Twilio::Values.of({
158
-
159
158
  'CustomerName' => customer_name,
160
-
161
159
  'FriendlyName' => friendly_name,
162
-
163
160
  'IsoCountry' => iso_country,
164
-
165
161
  'PageToken' => page_token,
166
162
  'Page' => page_number,
167
163
  'PageSize' => page_size,
@@ -285,7 +281,7 @@ module Twilio
285
281
  def dependent_phone_numbers
286
282
  unless @dependent_phone_numbers
287
283
  @dependent_phone_numbers = DependentPhoneNumberList.new(
288
- @version, account_sid: @solution[:account_sid], address_sid: @solution[:sid], )
284
+ @version, account_sid: @solution[:account_sid], address_sid: @solution[:sid], )
289
285
  end
290
286
  @dependent_phone_numbers
291
287
  end
@@ -163,9 +163,7 @@ module Twilio
163
163
  # @return [Page] Page of ApplicationInstance
164
164
  def page(friendly_name: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
165
165
  params = Twilio::Values.of({
166
-
167
166
  'FriendlyName' => friendly_name,
168
-
169
167
  'PageToken' => page_token,
170
168
  'Page' => page_number,
171
169
  'PageSize' => page_size,
@@ -93,7 +93,6 @@ module Twilio
93
93
  # @return [Page] Page of AuthorizedConnectAppInstance
94
94
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
95
95
  params = Twilio::Values.of({
96
-
97
96
  'PageToken' => page_token,
98
97
  'Page' => page_number,
99
98
  'PageSize' => page_size,
@@ -184,43 +184,24 @@ module Twilio
184
184
  # @return [Page] Page of LocalInstance
185
185
  def page(area_code: :unset, contains: :unset, sms_enabled: :unset, mms_enabled: :unset, voice_enabled: :unset, exclude_all_address_required: :unset, exclude_local_address_required: :unset, exclude_foreign_address_required: :unset, beta: :unset, near_number: :unset, near_lat_long: :unset, distance: :unset, in_postal_code: :unset, in_region: :unset, in_rate_center: :unset, in_lata: :unset, in_locality: :unset, fax_enabled: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
186
186
  params = Twilio::Values.of({
187
-
188
187
  'AreaCode' => area_code,
189
-
190
188
  'Contains' => contains,
191
-
192
189
  'SmsEnabled' => sms_enabled,
193
-
194
190
  'MmsEnabled' => mms_enabled,
195
-
196
191
  'VoiceEnabled' => voice_enabled,
197
-
198
192
  'ExcludeAllAddressRequired' => exclude_all_address_required,
199
-
200
193
  'ExcludeLocalAddressRequired' => exclude_local_address_required,
201
-
202
194
  'ExcludeForeignAddressRequired' => exclude_foreign_address_required,
203
-
204
195
  'Beta' => beta,
205
-
206
196
  'NearNumber' => near_number,
207
-
208
197
  'NearLatLong' => near_lat_long,
209
-
210
198
  'Distance' => distance,
211
-
212
199
  'InPostalCode' => in_postal_code,
213
-
214
200
  'InRegion' => in_region,
215
-
216
201
  'InRateCenter' => in_rate_center,
217
-
218
202
  'InLata' => in_lata,
219
-
220
203
  'InLocality' => in_locality,
221
-
222
204
  'FaxEnabled' => fax_enabled,
223
-
224
205
  'PageToken' => page_token,
225
206
  'Page' => page_number,
226
207
  'PageSize' => page_size,
@@ -184,43 +184,24 @@ module Twilio
184
184
  # @return [Page] Page of MachineToMachineInstance
185
185
  def page(area_code: :unset, contains: :unset, sms_enabled: :unset, mms_enabled: :unset, voice_enabled: :unset, exclude_all_address_required: :unset, exclude_local_address_required: :unset, exclude_foreign_address_required: :unset, beta: :unset, near_number: :unset, near_lat_long: :unset, distance: :unset, in_postal_code: :unset, in_region: :unset, in_rate_center: :unset, in_lata: :unset, in_locality: :unset, fax_enabled: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
186
186
  params = Twilio::Values.of({
187
-
188
187
  'AreaCode' => area_code,
189
-
190
188
  'Contains' => contains,
191
-
192
189
  'SmsEnabled' => sms_enabled,
193
-
194
190
  'MmsEnabled' => mms_enabled,
195
-
196
191
  'VoiceEnabled' => voice_enabled,
197
-
198
192
  'ExcludeAllAddressRequired' => exclude_all_address_required,
199
-
200
193
  'ExcludeLocalAddressRequired' => exclude_local_address_required,
201
-
202
194
  'ExcludeForeignAddressRequired' => exclude_foreign_address_required,
203
-
204
195
  'Beta' => beta,
205
-
206
196
  'NearNumber' => near_number,
207
-
208
197
  'NearLatLong' => near_lat_long,
209
-
210
198
  'Distance' => distance,
211
-
212
199
  'InPostalCode' => in_postal_code,
213
-
214
200
  'InRegion' => in_region,
215
-
216
201
  'InRateCenter' => in_rate_center,
217
-
218
202
  'InLata' => in_lata,
219
-
220
203
  'InLocality' => in_locality,
221
-
222
204
  'FaxEnabled' => fax_enabled,
223
-
224
205
  'PageToken' => page_token,
225
206
  'Page' => page_number,
226
207
  'PageSize' => page_size,