twilio-ruby 6.3.0 → 6.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (359) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +20 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +0 -1
  5. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +0 -1
  6. data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +0 -1
  7. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +0 -4
  8. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +0 -2
  9. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +0 -1
  10. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +0 -19
  11. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +0 -19
  12. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +0 -19
  13. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +0 -19
  14. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +0 -19
  15. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +0 -19
  16. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +0 -19
  17. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +0 -1
  18. data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +0 -1
  19. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +0 -5
  20. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +0 -4
  21. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +0 -11
  22. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +0 -4
  23. data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +0 -4
  24. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +0 -9
  25. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +0 -1
  26. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +0 -1
  27. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +0 -1
  28. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +0 -5
  29. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +0 -5
  30. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +0 -5
  31. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +0 -5
  32. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +0 -1
  33. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +19 -23
  34. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +50 -56
  35. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +0 -5
  36. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +0 -3
  37. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +0 -1
  38. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +0 -1
  39. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +0 -1
  40. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +0 -1
  41. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +0 -1
  42. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +0 -7
  43. data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +0 -3
  44. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +0 -1
  45. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +0 -1
  46. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +0 -1
  47. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +0 -1
  48. 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
  49. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +0 -1
  50. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +0 -1
  51. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +0 -1
  52. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +0 -1
  53. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +0 -1
  54. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +0 -1
  55. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +0 -1
  56. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +0 -5
  57. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +0 -5
  58. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +0 -5
  59. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +0 -5
  60. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +0 -5
  61. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +0 -5
  62. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +0 -5
  63. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +0 -5
  64. data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +0 -5
  65. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +0 -4
  66. data/lib/twilio-ruby/rest/api/v2010/account.rb +0 -3
  67. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +0 -2
  68. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +0 -1
  69. data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +0 -1
  70. data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +0 -5
  71. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +0 -1
  72. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +0 -2
  73. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +0 -1
  74. data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +0 -1
  75. data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +0 -1
  76. data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +0 -1
  77. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +0 -1
  78. data/lib/twilio-ruby/rest/chat/v1/credential.rb +0 -1
  79. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +1 -2
  80. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +1 -2
  81. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +0 -2
  82. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +1 -2
  83. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +0 -1
  84. data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +0 -1
  85. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +0 -1
  86. data/lib/twilio-ruby/rest/chat/v1/service.rb +0 -1
  87. data/lib/twilio-ruby/rest/chat/v2/credential.rb +0 -1
  88. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +2 -3
  89. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +1 -2
  90. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +1 -2
  91. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +0 -2
  92. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +0 -1
  93. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +1 -2
  94. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +0 -1
  95. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +1 -2
  96. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +0 -1
  97. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +0 -1
  98. data/lib/twilio-ruby/rest/chat/v2/service.rb +0 -1
  99. data/lib/twilio-ruby/rest/client.rb +1 -1
  100. data/lib/twilio-ruby/rest/content/v1/content.rb +0 -1
  101. data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +0 -1
  102. data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +0 -1
  103. data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +0 -2
  104. data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +0 -1
  105. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +0 -2
  106. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +0 -1
  107. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +0 -1
  108. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +0 -4
  109. data/lib/twilio-ruby/rest/conversations/v1/credential.rb +0 -1
  110. data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +0 -3
  111. data/lib/twilio-ruby/rest/conversations/v1/role.rb +0 -1
  112. data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +2 -3
  113. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +0 -1
  114. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +0 -2
  115. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +0 -1
  116. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +0 -1
  117. data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +0 -4
  118. data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +0 -3
  119. data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +0 -1
  120. data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +0 -1
  121. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +0 -1
  122. data/lib/twilio-ruby/rest/conversations/v1/service.rb +0 -1
  123. data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +0 -1
  124. data/lib/twilio-ruby/rest/conversations/v1/user.rb +0 -1
  125. data/lib/twilio-ruby/rest/events/v1/event_type.rb +0 -2
  126. data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +0 -1
  127. data/lib/twilio-ruby/rest/events/v1/sink.rb +0 -3
  128. data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +0 -1
  129. data/lib/twilio-ruby/rest/events/v1/subscription.rb +0 -2
  130. data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +0 -3
  131. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +0 -1
  132. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +0 -2
  133. data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +0 -4
  134. data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +0 -3
  135. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +0 -3
  136. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +0 -2
  137. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +1 -3
  138. data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +1 -4
  139. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +0 -1
  140. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +0 -1
  141. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +0 -1
  142. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +0 -1
  143. data/lib/twilio-ruby/rest/insights/v1/call/event.rb +0 -2
  144. data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +0 -3
  145. data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +0 -24
  146. data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +0 -4
  147. data/lib/twilio-ruby/rest/insights/v1/conference.rb +0 -11
  148. data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +0 -1
  149. data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -6
  150. data/lib/twilio-ruby/rest/intelligence/v2/service.rb +0 -1
  151. data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +0 -2
  152. data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +0 -2
  153. data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +0 -9
  154. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +0 -1
  155. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +1 -2
  156. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +1 -2
  157. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +0 -2
  158. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +1 -2
  159. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +0 -1
  160. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +0 -1
  161. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +0 -1
  162. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +0 -1
  163. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +0 -1
  164. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +2 -3
  165. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +1 -2
  166. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +1 -2
  167. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +0 -2
  168. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +0 -1
  169. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +1 -2
  170. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +0 -1
  171. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +1 -2
  172. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +0 -1
  173. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +0 -1
  174. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +0 -1
  175. data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +7 -0
  176. data/lib/twilio-ruby/rest/media/v1/media_processor.rb +0 -3
  177. data/lib/twilio-ruby/rest/media/v1/media_recording.rb +0 -5
  178. data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +0 -3
  179. data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +0 -2
  180. data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +0 -1
  181. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +0 -1
  182. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +0 -1
  183. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +0 -1
  184. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +0 -1
  185. data/lib/twilio-ruby/rest/messaging/v1/service.rb +0 -1
  186. data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +0 -3
  187. data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +0 -1
  188. data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +0 -1
  189. data/lib/twilio-ruby/rest/microvisor/v1/app.rb +0 -1
  190. data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +0 -1
  191. data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +0 -1
  192. data/lib/twilio-ruby/rest/microvisor/v1/device.rb +0 -1
  193. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +0 -4
  194. data/lib/twilio-ruby/rest/monitor/v1/event.rb +0 -7
  195. data/lib/twilio-ruby/rest/notify/v1/credential.rb +0 -1
  196. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +2 -5
  197. data/lib/twilio-ruby/rest/notify/v1/service.rb +0 -2
  198. data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +4 -9
  199. data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +0 -3
  200. data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +5 -11
  201. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +0 -1
  202. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +0 -1
  203. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +0 -1
  204. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +0 -12
  205. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +0 -1
  206. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +0 -1
  207. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +0 -4
  208. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +0 -1
  209. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +0 -1
  210. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +0 -2
  211. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +0 -1
  212. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +0 -2
  213. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +0 -2
  214. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +0 -1
  215. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +0 -6
  216. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +0 -3
  217. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +0 -6
  218. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +0 -1
  219. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +0 -1
  220. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +0 -1
  221. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +0 -1
  222. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +0 -1
  223. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +0 -1
  224. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +0 -4
  225. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +0 -1
  226. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +0 -1
  227. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +0 -4
  228. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +0 -1
  229. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +0 -1
  230. data/lib/twilio-ruby/rest/preview/sync/service.rb +0 -1
  231. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +0 -2
  232. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +0 -1
  233. data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +0 -1
  234. data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +0 -4
  235. data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +0 -1
  236. data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +0 -2
  237. data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +0 -1
  238. data/lib/twilio-ruby/rest/preview/understand/assistant.rb +0 -1
  239. data/lib/twilio-ruby/rest/preview/wireless/command.rb +0 -5
  240. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +0 -1
  241. data/lib/twilio-ruby/rest/preview/wireless/sim.rb +0 -6
  242. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +0 -1
  243. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +0 -1
  244. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +0 -1
  245. data/lib/twilio-ruby/rest/pricing/v2/country.rb +0 -1
  246. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +0 -1
  247. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +0 -1
  248. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +0 -1
  249. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +0 -1
  250. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +0 -1
  251. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +0 -1
  252. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +0 -1
  253. data/lib/twilio-ruby/rest/proxy/v1/service.rb +0 -1
  254. data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +0 -1
  255. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +0 -1
  256. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +0 -1
  257. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +0 -1
  258. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +0 -4
  259. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +0 -1
  260. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +0 -1
  261. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +0 -1
  262. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +0 -1
  263. data/lib/twilio-ruby/rest/serverless/v1/service.rb +0 -1
  264. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +0 -1
  265. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +0 -1
  266. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +0 -1
  267. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +0 -3
  268. data/lib/twilio-ruby/rest/studio/v1/flow.rb +0 -1
  269. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +0 -1
  270. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +0 -3
  271. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +0 -1
  272. data/lib/twilio-ruby/rest/studio/v2/flow.rb +0 -1
  273. data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +0 -4
  274. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +0 -2
  275. data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +0 -5
  276. data/lib/twilio-ruby/rest/supersim/v1/network.rb +0 -4
  277. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +0 -1
  278. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +0 -1
  279. data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +0 -3
  280. data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +0 -1
  281. data/lib/twilio-ruby/rest/supersim/v1/sim/sim_ip_address.rb +0 -1
  282. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +0 -4
  283. data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +0 -4
  284. data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +0 -9
  285. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +0 -1
  286. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +0 -1
  287. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +0 -4
  288. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +0 -1
  289. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +0 -1
  290. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +0 -4
  291. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +0 -1
  292. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +0 -1
  293. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +0 -1
  294. data/lib/twilio-ruby/rest/sync/v1/service.rb +0 -1
  295. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +0 -3
  296. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +0 -12
  297. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +0 -3
  298. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +1 -10
  299. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +0 -1
  300. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +0 -7
  301. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +0 -5
  302. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +0 -2
  303. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +0 -1
  304. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +0 -9
  305. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +0 -2
  306. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +0 -2
  307. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +0 -1
  308. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +0 -1
  309. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +0 -1
  310. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +0 -1
  311. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +0 -1
  312. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +0 -3
  313. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +0 -1
  314. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +0 -1
  315. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +0 -4
  316. data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +0 -1
  317. data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +0 -1
  318. data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +0 -1
  319. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +0 -1
  320. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +0 -1
  321. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +0 -3
  322. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +0 -1
  323. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +0 -1
  324. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +0 -4
  325. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +0 -4
  326. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +0 -1
  327. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +0 -1
  328. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +0 -1
  329. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +0 -1
  330. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +0 -1
  331. data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +0 -1
  332. data/lib/twilio-ruby/rest/verify/v2/service.rb +0 -1
  333. data/lib/twilio-ruby/rest/verify/v2/template.rb +0 -2
  334. data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +6 -15
  335. data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +6 -6
  336. data/lib/twilio-ruby/rest/video/v1/composition.rb +0 -5
  337. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +0 -5
  338. data/lib/twilio-ruby/rest/video/v1/recording.rb +1 -7
  339. data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +0 -1
  340. data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +0 -1
  341. data/lib/twilio-ruby/rest/video/v1/room/participant.rb +0 -5
  342. data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +0 -5
  343. data/lib/twilio-ruby/rest/video/v1/room.rb +0 -5
  344. data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +0 -1
  345. data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +0 -1
  346. data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +0 -1
  347. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +0 -1
  348. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +0 -7
  349. data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +0 -1
  350. data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +0 -1
  351. data/lib/twilio-ruby/rest/wireless/v1/command.rb +0 -5
  352. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +0 -1
  353. data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +0 -1
  354. data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +0 -4
  355. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +0 -6
  356. data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +0 -4
  357. data/lib/twilio-ruby/twiml/voice_response.rb +8 -4
  358. data/lib/twilio-ruby/version.rb +1 -1
  359. metadata +2 -2
@@ -200,15 +200,10 @@ module Twilio
200
200
  # @return [Page] Page of TollFreeInstance
201
201
  def page(beta: :unset, friendly_name: :unset, phone_number: :unset, origin: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
202
202
  params = Twilio::Values.of({
203
-
204
203
  'Beta' => beta,
205
-
206
204
  'FriendlyName' => friendly_name,
207
-
208
205
  'PhoneNumber' => phone_number,
209
-
210
206
  'Origin' => origin,
211
-
212
207
  'PageToken' => page_token,
213
208
  'Page' => page_number,
214
209
  'PageSize' => page_size,
@@ -205,15 +205,10 @@ module Twilio
205
205
  # @return [Page] Page of IncomingPhoneNumberInstance
206
206
  def page(beta: :unset, friendly_name: :unset, phone_number: :unset, origin: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
207
207
  params = Twilio::Values.of({
208
-
209
208
  'Beta' => beta,
210
-
211
209
  'FriendlyName' => friendly_name,
212
-
213
210
  'PhoneNumber' => phone_number,
214
-
215
211
  'Origin' => origin,
216
-
217
212
  'PageToken' => page_token,
218
213
  'Page' => page_number,
219
214
  'PageSize' => page_size,
@@ -93,7 +93,6 @@ module Twilio
93
93
  # @return [Page] Page of KeyInstance
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,
@@ -37,9 +37,9 @@ module Twilio
37
37
  # Lists MediaInstance records from the API as a list.
38
38
  # Unlike stream(), this operation is eager and will load `limit` records into
39
39
  # memory before returning.
40
- # @param [Time] date_created Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
41
- # @param [Time] date_created_before Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
42
- # @param [Time] date_created_after Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
40
+ # @param [Time] date_created Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
41
+ # @param [Time] date_created_before Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
42
+ # @param [Time] date_created_after Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
43
43
  # @param [Integer] limit Upper limit for the number of records to return. stream()
44
44
  # guarantees to never return more than limit. Default is no limit
45
45
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -61,9 +61,9 @@ module Twilio
61
61
  # Streams Instance records from the API as an Enumerable.
62
62
  # This operation lazily loads records as efficiently as possible until the limit
63
63
  # is reached.
64
- # @param [Time] date_created Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
65
- # @param [Time] date_created_before Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
66
- # @param [Time] date_created_after Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
64
+ # @param [Time] date_created Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
65
+ # @param [Time] date_created_before Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
66
+ # @param [Time] date_created_after Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
67
67
  # @param [Integer] limit Upper limit for the number of records to return. stream()
68
68
  # guarantees to never return more than limit. Default is no limit
69
69
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -100,22 +100,18 @@ module Twilio
100
100
  ##
101
101
  # Retrieve a single page of MediaInstance records from the API.
102
102
  # Request is executed immediately.
103
- # @param [Time] date_created Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
104
- # @param [Time] date_created_before Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
105
- # @param [Time] date_created_after Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
103
+ # @param [Time] date_created Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
104
+ # @param [Time] date_created_before Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
105
+ # @param [Time] date_created_after Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
106
106
  # @param [String] page_token PageToken provided by the API
107
107
  # @param [Integer] page_number Page Number, this value is simply for client state
108
108
  # @param [Integer] page_size Number of records to return, defaults to 50
109
109
  # @return [Page] Page of MediaInstance
110
110
  def page(date_created: :unset, date_created_before: :unset, date_created_after: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
111
111
  params = Twilio::Values.of({
112
-
113
112
  'DateCreated' => Twilio.serialize_iso8601_datetime(date_created),
114
-
115
113
  'DateCreated<' => Twilio.serialize_iso8601_datetime(date_created_before),
116
-
117
114
  'DateCreated>' => Twilio.serialize_iso8601_datetime(date_created_after),
118
-
119
115
  'PageToken' => page_token,
120
116
  'Page' => page_number,
121
117
  'PageSize' => page_size,
@@ -152,9 +148,9 @@ module Twilio
152
148
  ##
153
149
  # Initialize the MediaContext
154
150
  # @param [Version] version Version that contains the resource
155
- # @param [String] account_sid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Media resource(s) to fetch.
156
- # @param [String] message_sid The SID of the Message resource that this Media resource belongs to.
157
- # @param [String] sid The Twilio-provided string that uniquely identifies the Media resource to fetch
151
+ # @param [String] account_sid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with the Media resource.
152
+ # @param [String] message_sid The SID of the Message resource that is associated with the Media resource.
153
+ # @param [String] sid The Twilio-provided string that uniquely identifies the Media resource to fetch.
158
154
  # @return [MediaContext] MediaContext
159
155
  def initialize(version, account_sid, message_sid, sid)
160
156
  super(version)
@@ -273,43 +269,43 @@ module Twilio
273
269
  end
274
270
 
275
271
  ##
276
- # @return [String] The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Media resource.
272
+ # @return [String] The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with this Media resource.
277
273
  def account_sid
278
274
  @properties['account_sid']
279
275
  end
280
276
 
281
277
  ##
282
- # @return [String] The default [mime-type](https://en.wikipedia.org/wiki/Internet_media_type) of the media, for example `image/jpeg`, `image/png`, or `image/gif`
278
+ # @return [String] The default [MIME type](https://en.wikipedia.org/wiki/Internet_media_type) of the media, for example `image/jpeg`, `image/png`, or `image/gif`.
283
279
  def content_type
284
280
  @properties['content_type']
285
281
  end
286
282
 
287
283
  ##
288
- # @return [Time] The date and time in GMT that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
284
+ # @return [Time] The date and time in GMT when this Media resource was created, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
289
285
  def date_created
290
286
  @properties['date_created']
291
287
  end
292
288
 
293
289
  ##
294
- # @return [Time] The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
290
+ # @return [Time] The date and time in GMT when this Media resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
295
291
  def date_updated
296
292
  @properties['date_updated']
297
293
  end
298
294
 
299
295
  ##
300
- # @return [String] The SID of the resource that created the media.
296
+ # @return [String] The SID of the Message resource that is associated with this Media resource.
301
297
  def parent_sid
302
298
  @properties['parent_sid']
303
299
  end
304
300
 
305
301
  ##
306
- # @return [String] The unique string that that we created to identify this Media resource.
302
+ # @return [String] The unique string that identifies this Media resource.
307
303
  def sid
308
304
  @properties['sid']
309
305
  end
310
306
 
311
307
  ##
312
- # @return [String] The URI of this resource, relative to `https://api.twilio.com`.
308
+ # @return [String] The URI of this Media resource, relative to `https://api.twilio.com`.
313
309
  def uri
314
310
  @properties['uri']
315
311
  end
@@ -33,28 +33,28 @@ module Twilio
33
33
  end
34
34
  ##
35
35
  # Create the MessageInstance
36
- # @param [String] to The destination phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format for SMS/MMS or [Channel user address](https://www.twilio.com/docs/sms/channels#channel-addresses) for other 3rd-party channels.
37
- # @param [String] status_callback The URL we should call using the `status_callback_method` to send status information to your application. If specified, we POST these message status changes to the URL: `queued`, `failed`, `sent`, `delivered`, or `undelivered`. Twilio will POST its [standard request parameters](https://www.twilio.com/docs/sms/twiml#request-parameters) as well as some additional parameters including `MessageSid`, `MessageStatus`, and `ErrorCode`. If you include this parameter with the `messaging_service_sid`, we use this URL instead of the Status Callback URL of the [Messaging Service](https://www.twilio.com/docs/sms/services/api). URLs must contain a valid hostname and underscores are not allowed.
38
- # @param [String] application_sid The SID of the application that should receive message status. We POST a `message_sid` parameter and a `message_status` parameter with a value of `sent` or `failed` to the [application](https://www.twilio.com/docs/usage/api/applications)'s `message_status_callback`. If a `status_callback` parameter is also passed, it will be ignored and the application's `message_status_callback` parameter will be used.
39
- # @param [Float] max_price The maximum total price in US dollars that you will pay for the message to be delivered. Can be a decimal value that has up to 4 decimal places. All messages are queued for delivery and the message cost is checked before the message is sent. If the cost exceeds `max_price`, the message will fail and a status of `Failed` is sent to the status callback. If `MaxPrice` is not set, the message cost is not checked.
40
- # @param [Boolean] provide_feedback Whether to confirm delivery of the message. Set this value to `true` if you are sending messages that have a trackable user action and you intend to confirm delivery of the message using the [Message Feedback API](https://www.twilio.com/docs/sms/api/message-feedback-resource). This parameter is `false` by default.
41
- # @param [String] attempt Total number of attempts made ( including this ) to send out the message regardless of the provider used
42
- # @param [String] validity_period How long in seconds the message can remain in our outgoing message queue. After this period elapses, the message fails and we call your status callback. Can be between 1 and the default value of 14,400 seconds. After a message has been accepted by a carrier, however, we cannot guarantee that the message will not be queued after this period. We recommend that this value be at least 5 seconds.
36
+ # @param [String] to The recipient's phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (for SMS/MMS) or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses), e.g. `whatsapp:+15552229999`.
37
+ # @param [String] status_callback The URL of the endpoint to which Twilio sends [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url). URL must contain a valid hostname and underscores are not allowed. If you include this parameter with the `messaging_service_sid`, Twilio uses this URL instead of the Status Callback URL of the [Messaging Service](https://www.twilio.com/docs/sms/services/api).
38
+ # @param [String] application_sid The SID of the associated [TwiML Application](https://www.twilio.com/docs/usage/api/applications). If this parameter is provided, the `status_callback` parameter of this request is ignored; [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url) are sent to the TwiML App's `message_status_callback` URL.
39
+ # @param [Float] max_price The maximum price in US dollars that you are willing to pay for this Message's delivery. The value can have up to four decimal places. When the `max_price` parameter is provided, the cost of a message is checked before it is sent. If the cost exceeds `max_price`, the message is not sent and the Message `status` is `failed`.
40
+ # @param [Boolean] provide_feedback Boolean indicating whether or not you intend to provide delivery confirmation feedback to Twilio (used in conjunction with the [Message Feedback subresource](https://www.twilio.com/docs/sms/api/message-feedback-resource)). Default value is `false`.
41
+ # @param [String] attempt Total number of attempts made (including this request) to send the message regardless of the provider used
42
+ # @param [String] validity_period The maximum length in seconds that the Message can remain in Twilio's outgoing message queue. If a queued Message exceeds the `validity_period`, the Message is not sent. Accepted values are integers from `1` to `14400`. Default value is `14400`. A `validity_period` greater than `5` is recommended. [Learn more about the validity period](https://www.twilio.com/blog/take-more-control-of-outbound-messages-using-validity-period-html)
43
43
  # @param [Boolean] force_delivery Reserved
44
44
  # @param [ContentRetention] content_retention
45
45
  # @param [AddressRetention] address_retention
46
46
  # @param [Boolean] smart_encoded Whether to detect Unicode characters that have a similar GSM-7 character and replace them. Can be: `true` or `false`.
47
- # @param [Array[String]] persistent_action Rich actions for Channels Messages.
48
- # @param [Boolean] shorten_urls Determines the usage of Click Tracking. Setting it to `true` will instruct Twilio to replace all links in the Message with a shortened version based on the associated Domain Sid and track clicks on them. If this parameter is not set on an API call, we will use the value set on the Messaging Service. If this parameter is not set and the value is not configured on the Messaging Service used this will default to `false`.
47
+ # @param [Array[String]] persistent_action Rich actions for non-SMS/MMS channels. Used for [sending location in WhatsApp messages](https://www.twilio.com/docs/whatsapp/message-features#location-messages-with-whatsapp).
48
+ # @param [Boolean] shorten_urls For Messaging Services with [Link Shortening configured](https://www.twilio.com/docs/messaging/features/how-to-configure-link-shortening) only: A Boolean indicating whether or not Twilio should shorten links in the `body` of the Message. Default value is `false`. If `true`, the `messaging_service_sid` parameter must also be provided.
49
49
  # @param [ScheduleType] schedule_type
50
50
  # @param [Time] send_at The time that Twilio will send the message. Must be in ISO 8601 format.
51
- # @param [Boolean] send_as_mms If set to True, Twilio will deliver the message as a single MMS message, regardless of the presence of media.
52
- # @param [String] content_variables Key-value pairs of variable names to substitution values, used alongside a content_sid. If not specified, Content API will default to the default variables defined at create time.
53
- # @param [String] from A Twilio phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, an [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), or a [Channel Endpoint address](https://www.twilio.com/docs/sms/channels#channel-addresses) that is enabled for the type of message you want to send. Phone numbers or [short codes](https://www.twilio.com/docs/sms/api/short-code) purchased from Twilio also work here. You cannot, for example, spoof messages from a private cell phone number. If you are using `messaging_service_sid`, this parameter must be empty.
54
- # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/sms/services#send-a-message-with-copilot) you want to associate with the Message. Set this parameter to use the [Messaging Service Settings and Copilot Features](https://www.twilio.com/console/sms/services) you have configured and leave the `from` parameter empty. When only this parameter is set, Twilio will use your enabled Copilot Features to select the `from` phone number for delivery.
55
- # @param [String] body The text of the message you want to send. Can be up to 1,600 characters in length.
56
- # @param [Array[String]] media_url The URL of the media to send with the message. The media can be of type `gif`, `png`, and `jpeg` and will be formatted correctly on the recipient's device. The media size limit is 5MB for supported file types (JPEG, PNG, GIF) and 500KB for [other types](https://www.twilio.com/docs/sms/accepted-mime-types) of accepted media. To send more than one image in the message body, provide multiple `media_url` parameters in the POST request. You can include up to 10 `media_url` parameters per message. You can send images in an SMS message in only the US and Canada.
57
- # @param [String] content_sid The SID of the Content object returned at Content API content create time (https://www.twilio.com/docs/content-api/create-and-send-your-first-content-api-template#create-a-template). If this parameter is not specified, then the Content API will not be utilized.
51
+ # @param [Boolean] send_as_mms If set to `true`, Twilio delivers the message as a single MMS message, regardless of the presence of media.
52
+ # @param [String] content_variables For [Content Editor/API](https://www.twilio.com/docs/content) only: Key-value pairs of [Template variables](https://www.twilio.com/docs/content/using-variables-with-content-api) and their substitution values. `content_sid` parameter must also be provided. If values are not defined in the `content_variables` parameter, the [Template's default placeholder values](https://www.twilio.com/docs/content/content-api-resources#create-templates) are used.
53
+ # @param [String] from The sender's Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/wireless/tutorials/communications-guides/how-to-send-and-receive-text-messages), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belong to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service's Sender Pool) or you can provide a specific sender from your Sender Pool.
54
+ # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services) you want to associate with the Message. When this parameter is provided and the `from` parameter is omitted, Twilio selects the optimal sender from the Messaging Service's Sender Pool. You may also provide a `from` parameter if you want to use a specific Sender from the Sender Pool.
55
+ # @param [String] body The text content of the outgoing message. Can be up to 1,600 characters in length. SMS only: If the `body` contains more than 160 [GSM-7](https://www.twilio.com/docs/glossary/what-is-gsm-7-character-encoding) characters (or 70 [UCS-2](https://www.twilio.com/docs/glossary/what-is-ucs-2-character-encoding) characters), the message is segmented and charged accordingly. For long `body` text, consider using the [send_as_mms parameter](https://www.twilio.com/blog/mms-for-long-text-messages).
56
+ # @param [Array[String]] media_url The URL of media to include in the Message content. `jpeg`, `jpg`, `gif`, and `png` file types are fully supported by Twilio and content is formatted for delivery on destination devices. The media size limit is 5 MB for supported file types (`jpeg`, `jpg`, `png`, `gif`) and 500 KB for [other types](https://www.twilio.com/docs/sms/accepted-mime-types) of accepted media. To send more than one image in the message, provide multiple `media_url` parameters in the POST request. You can include up to ten `media_url` parameters per message. [International](https://support.twilio.com/hc/en-us/articles/223179808-Sending-and-receiving-MMS-messages) and [carrier](https://support.twilio.com/hc/en-us/articles/223133707-Is-MMS-supported-for-all-carriers-in-US-and-Canada-) limits apply.
57
+ # @param [String] content_sid For [Content Editor/API](https://www.twilio.com/docs/content) only: The SID of the Content Template to be used with the Message, e.g., `HXXXXXXXXXXXXXXXXXXXXXXXXXXXXX`. If this parameter is not provided, a Content Template is not used. Find the SID in the Console on the Content Editor page. For Content API users, the SID is found in Twilio's response when [creating the Template](https://www.twilio.com/docs/content/content-api-resources#create-templates) or by [fetching your Templates](https://www.twilio.com/docs/content/content-api-resources#fetch-all-content-resources).
58
58
  # @return [MessageInstance] Created MessageInstance
59
59
  def create(
60
60
  to: nil,
@@ -119,11 +119,11 @@ module Twilio
119
119
  # Lists MessageInstance records from the API as a list.
120
120
  # Unlike stream(), this operation is eager and will load `limit` records into
121
121
  # memory before returning.
122
- # @param [String] to Read messages sent to only this phone number.
123
- # @param [String] from Read messages sent from only this phone number or alphanumeric sender ID.
124
- # @param [Time] date_sent The date of the messages to show. Specify a date as `YYYY-MM-DD` in GMT to read only messages sent on this date. For example: `2009-07-06`. You can also specify an inequality, such as `DateSent<=YYYY-MM-DD`, to read messages sent on or before midnight on a date, and `DateSent>=YYYY-MM-DD` to read messages sent on or after midnight on a date.
125
- # @param [Time] date_sent_before The date of the messages to show. Specify a date as `YYYY-MM-DD` in GMT to read only messages sent on this date. For example: `2009-07-06`. You can also specify an inequality, such as `DateSent<=YYYY-MM-DD`, to read messages sent on or before midnight on a date, and `DateSent>=YYYY-MM-DD` to read messages sent on or after midnight on a date.
126
- # @param [Time] date_sent_after The date of the messages to show. Specify a date as `YYYY-MM-DD` in GMT to read only messages sent on this date. For example: `2009-07-06`. You can also specify an inequality, such as `DateSent<=YYYY-MM-DD`, to read messages sent on or before midnight on a date, and `DateSent>=YYYY-MM-DD` to read messages sent on or after midnight on a date.
122
+ # @param [String] to Filter by recipient. For example: Set this `to` parameter to `+15558881111` to retrieve a list of Message resources with `to` properties of `+15558881111`
123
+ # @param [String] from Filter by sender. For example: Set this `from` parameter to `+15552229999` to retrieve a list of Message resources with `from` properties of `+15552229999`
124
+ # @param [Time] date_sent Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
125
+ # @param [Time] date_sent_before Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
126
+ # @param [Time] date_sent_after Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
127
127
  # @param [Integer] limit Upper limit for the number of records to return. stream()
128
128
  # guarantees to never return more than limit. Default is no limit
129
129
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -147,11 +147,11 @@ module Twilio
147
147
  # Streams Instance records from the API as an Enumerable.
148
148
  # This operation lazily loads records as efficiently as possible until the limit
149
149
  # is reached.
150
- # @param [String] to Read messages sent to only this phone number.
151
- # @param [String] from Read messages sent from only this phone number or alphanumeric sender ID.
152
- # @param [Time] date_sent The date of the messages to show. Specify a date as `YYYY-MM-DD` in GMT to read only messages sent on this date. For example: `2009-07-06`. You can also specify an inequality, such as `DateSent<=YYYY-MM-DD`, to read messages sent on or before midnight on a date, and `DateSent>=YYYY-MM-DD` to read messages sent on or after midnight on a date.
153
- # @param [Time] date_sent_before The date of the messages to show. Specify a date as `YYYY-MM-DD` in GMT to read only messages sent on this date. For example: `2009-07-06`. You can also specify an inequality, such as `DateSent<=YYYY-MM-DD`, to read messages sent on or before midnight on a date, and `DateSent>=YYYY-MM-DD` to read messages sent on or after midnight on a date.
154
- # @param [Time] date_sent_after The date of the messages to show. Specify a date as `YYYY-MM-DD` in GMT to read only messages sent on this date. For example: `2009-07-06`. You can also specify an inequality, such as `DateSent<=YYYY-MM-DD`, to read messages sent on or before midnight on a date, and `DateSent>=YYYY-MM-DD` to read messages sent on or after midnight on a date.
150
+ # @param [String] to Filter by recipient. For example: Set this `to` parameter to `+15558881111` to retrieve a list of Message resources with `to` properties of `+15558881111`
151
+ # @param [String] from Filter by sender. For example: Set this `from` parameter to `+15552229999` to retrieve a list of Message resources with `from` properties of `+15552229999`
152
+ # @param [Time] date_sent Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
153
+ # @param [Time] date_sent_before Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
154
+ # @param [Time] date_sent_after Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
155
155
  # @param [Integer] limit Upper limit for the number of records to return. stream()
156
156
  # guarantees to never return more than limit. Default is no limit
157
157
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -190,28 +190,22 @@ module Twilio
190
190
  ##
191
191
  # Retrieve a single page of MessageInstance records from the API.
192
192
  # Request is executed immediately.
193
- # @param [String] to Read messages sent to only this phone number.
194
- # @param [String] from Read messages sent from only this phone number or alphanumeric sender ID.
195
- # @param [Time] date_sent The date of the messages to show. Specify a date as `YYYY-MM-DD` in GMT to read only messages sent on this date. For example: `2009-07-06`. You can also specify an inequality, such as `DateSent<=YYYY-MM-DD`, to read messages sent on or before midnight on a date, and `DateSent>=YYYY-MM-DD` to read messages sent on or after midnight on a date.
196
- # @param [Time] date_sent_before The date of the messages to show. Specify a date as `YYYY-MM-DD` in GMT to read only messages sent on this date. For example: `2009-07-06`. You can also specify an inequality, such as `DateSent<=YYYY-MM-DD`, to read messages sent on or before midnight on a date, and `DateSent>=YYYY-MM-DD` to read messages sent on or after midnight on a date.
197
- # @param [Time] date_sent_after The date of the messages to show. Specify a date as `YYYY-MM-DD` in GMT to read only messages sent on this date. For example: `2009-07-06`. You can also specify an inequality, such as `DateSent<=YYYY-MM-DD`, to read messages sent on or before midnight on a date, and `DateSent>=YYYY-MM-DD` to read messages sent on or after midnight on a date.
193
+ # @param [String] to Filter by recipient. For example: Set this `to` parameter to `+15558881111` to retrieve a list of Message resources with `to` properties of `+15558881111`
194
+ # @param [String] from Filter by sender. For example: Set this `from` parameter to `+15552229999` to retrieve a list of Message resources with `from` properties of `+15552229999`
195
+ # @param [Time] date_sent Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
196
+ # @param [Time] date_sent_before Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
197
+ # @param [Time] date_sent_after Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
198
198
  # @param [String] page_token PageToken provided by the API
199
199
  # @param [Integer] page_number Page Number, this value is simply for client state
200
200
  # @param [Integer] page_size Number of records to return, defaults to 50
201
201
  # @return [Page] Page of MessageInstance
202
202
  def page(to: :unset, from: :unset, date_sent: :unset, date_sent_before: :unset, date_sent_after: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
203
203
  params = Twilio::Values.of({
204
-
205
204
  'To' => to,
206
-
207
205
  'From' => from,
208
-
209
206
  'DateSent' => Twilio.serialize_iso8601_datetime(date_sent),
210
-
211
207
  'DateSent<' => Twilio.serialize_iso8601_datetime(date_sent_before),
212
-
213
208
  'DateSent>' => Twilio.serialize_iso8601_datetime(date_sent_after),
214
-
215
209
  'PageToken' => page_token,
216
210
  'Page' => page_number,
217
211
  'PageSize' => page_size,
@@ -249,7 +243,7 @@ module Twilio
249
243
  # Initialize the MessageContext
250
244
  # @param [Version] version Version that contains the resource
251
245
  # @param [String] account_sid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Message resources to update.
252
- # @param [String] sid The Twilio-provided string that uniquely identifies the Message resource to update.
246
+ # @param [String] sid The SID of the Message resource to be updated
253
247
  # @return [MessageContext] MessageContext
254
248
  def initialize(version, account_sid, sid)
255
249
  super(version)
@@ -286,7 +280,7 @@ module Twilio
286
280
 
287
281
  ##
288
282
  # Update the MessageInstance
289
- # @param [String] body The text of the message you want to send. Can be up to 1,600 characters long.
283
+ # @param [String] body The new `body` of the Message resource. To redact the text content of a Message, this parameter's value must be an empty string
290
284
  # @param [UpdateStatus] status
291
285
  # @return [MessageInstance] Updated MessageInstance
292
286
  def update(
@@ -436,13 +430,13 @@ module Twilio
436
430
  end
437
431
 
438
432
  ##
439
- # @return [String] The message text. Can be up to 1,600 characters long.
433
+ # @return [String] The text content of the message
440
434
  def body
441
435
  @properties['body']
442
436
  end
443
437
 
444
438
  ##
445
- # @return [String] The number of segments that make up the complete message. A message body that is too large to be sent in a single SMS message is segmented and charged as multiple messages. Inbound messages over 160 characters are reassembled when the message is received. Note: When using a Messaging Service to send messages, `num_segments` will always be 0 in Twilio's response to your API request.
439
+ # @return [String] The number of segments that make up the complete message. SMS message bodies that exceed the [character limit](https://www.twilio.com/docs/glossary/what-sms-character-limit) are segmented and charged as multiple messages. Note: For messages sent via a Messaging Service, `num_segments` is initially `0`, since a sender hasn't yet been assigned.
446
440
  def num_segments
447
441
  @properties['num_segments']
448
442
  end
@@ -454,49 +448,49 @@ module Twilio
454
448
  end
455
449
 
456
450
  ##
457
- # @return [String] The phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), or [Wireless SIM](https://www.twilio.com/docs/wireless/tutorials/communications-guides/how-to-send-and-receive-text-messages) that initiated the message. For incoming messages, this will be the number of the sending phone. For outgoing messages, this value will be one of your Twilio phone numbers or the alphanumeric sender ID used.
451
+ # @return [String] The sender's phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/wireless/tutorials/communications-guides/how-to-send-and-receive-text-messages), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses) (e.g., `whatsapp:+15554449999`). For incoming messages, this is the number or channel address of the sender. For outgoing messages, this value is a Twilio phone number, alphanumeric sender ID, short code, or channel address from which the message is sent.
458
452
  def from
459
453
  @properties['from']
460
454
  end
461
455
 
462
456
  ##
463
- # @return [String] The phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format that received the message. For incoming messages, this will be one of your Twilio phone numbers. For outgoing messages, this will be the sending phone.
457
+ # @return [String] The recipient's phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format) or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses) (e.g. `whatsapp:+15552229999`)
464
458
  def to
465
459
  @properties['to']
466
460
  end
467
461
 
468
462
  ##
469
- # @return [Time] The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
463
+ # @return [Time] The [RFC 2822](https://datatracker.ietf.org/doc/html/rfc2822#section-3.3) timestamp (in GMT) of when the Message resource was last updated
470
464
  def date_updated
471
465
  @properties['date_updated']
472
466
  end
473
467
 
474
468
  ##
475
- # @return [String] The amount billed for the message, in the currency specified by `price_unit`. Note that your account is charged for each segment we send to the handset. Populated after the message has been sent. May not be immediately available.
469
+ # @return [String] The amount billed for the message in the currency specified by `price_unit`. The `price` is populated after the message has been sent/received, and may not be immediately availalble. View the [Pricing page](https://www.twilio.com/en-us/pricing) for more details.
476
470
  def price
477
471
  @properties['price']
478
472
  end
479
473
 
480
474
  ##
481
- # @return [String] The description of the `error_code` if your message `status` is `failed` or `undelivered`. If the message was successful, this value is null.
475
+ # @return [String] The description of the `error_code` if the Message `status` is `failed` or `undelivered`. If no error was encountered, the value is `null`.
482
476
  def error_message
483
477
  @properties['error_message']
484
478
  end
485
479
 
486
480
  ##
487
- # @return [String] The URI of the resource, relative to `https://api.twilio.com`.
481
+ # @return [String] The URI of the Message resource, relative to `https://api.twilio.com`.
488
482
  def uri
489
483
  @properties['uri']
490
484
  end
491
485
 
492
486
  ##
493
- # @return [String] The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that sent the message that created the resource.
487
+ # @return [String] The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with the Message resource
494
488
  def account_sid
495
489
  @properties['account_sid']
496
490
  end
497
491
 
498
492
  ##
499
- # @return [String] The number of media files associated with the message. A message can send up to 10 media files.
493
+ # @return [String] The number of media files associated with the Message resource.
500
494
  def num_media
501
495
  @properties['num_media']
502
496
  end
@@ -508,31 +502,31 @@ module Twilio
508
502
  end
509
503
 
510
504
  ##
511
- # @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) used with the message. The value is null if a Messaging Service was not used.
505
+ # @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) associated with the Message resource. The value is `null` if a Messaging Service was not used.
512
506
  def messaging_service_sid
513
507
  @properties['messaging_service_sid']
514
508
  end
515
509
 
516
510
  ##
517
- # @return [String] The unique string that that we created to identify the Message resource.
511
+ # @return [String] The unique, Twilio-provided string that identifies the Message resource.
518
512
  def sid
519
513
  @properties['sid']
520
514
  end
521
515
 
522
516
  ##
523
- # @return [Time] The date and time in GMT that the resource was sent specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. For outgoing messages, this is when we sent the message. For incoming messages, this is when we made the HTTP request to your application.
517
+ # @return [Time] The [RFC 2822](https://datatracker.ietf.org/doc/html/rfc2822#section-3.3) timestamp (in GMT) of when the Message was sent. For an outgoing message, this is when Twilio sent the message. For an incoming message, this is when Twilio sent the HTTP request to your incoming message webhook URL.
524
518
  def date_sent
525
519
  @properties['date_sent']
526
520
  end
527
521
 
528
522
  ##
529
- # @return [Time] The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
523
+ # @return [Time] The [RFC 2822](https://datatracker.ietf.org/doc/html/rfc2822#section-3.3) timestamp (in GMT) of when the Message resource was created
530
524
  def date_created
531
525
  @properties['date_created']
532
526
  end
533
527
 
534
528
  ##
535
- # @return [String] The error code returned if your message `status` is `failed` or `undelivered`. The error_code provides more information about the failure. If the message was successful, this value is null.
529
+ # @return [String] The [error code](https://www.twilio.com/docs/api/errors) returned if the Message `status` is `failed` or `undelivered`. If no error was encountered, the value is `null`.
536
530
  def error_code
537
531
  @properties['error_code']
538
532
  end
@@ -544,7 +538,7 @@ module Twilio
544
538
  end
545
539
 
546
540
  ##
547
- # @return [String] The API version used to process the message.
541
+ # @return [String] The API version used to process the Message
548
542
  def api_version
549
543
  @properties['api_version']
550
544
  end
@@ -573,7 +567,7 @@ module Twilio
573
567
 
574
568
  ##
575
569
  # Update the MessageInstance
576
- # @param [String] body The text of the message you want to send. Can be up to 1,600 characters long.
570
+ # @param [String] body The new `body` of the Message resource. To redact the text content of a Message, this parameter's value must be an empty string
577
571
  # @param [UpdateStatus] status
578
572
  # @return [MessageInstance] Updated MessageInstance
579
573
  def update(
@@ -113,15 +113,10 @@ module Twilio
113
113
  # @return [Page] Page of NotificationInstance
114
114
  def page(log: :unset, message_date: :unset, message_date_before: :unset, message_date_after: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
115
115
  params = Twilio::Values.of({
116
-
117
116
  'Log' => log,
118
-
119
117
  'MessageDate' => Twilio.serialize_iso8601_date(message_date),
120
-
121
118
  'MessageDate<' => Twilio.serialize_iso8601_date(message_date_before),
122
-
123
119
  'MessageDate>' => Twilio.serialize_iso8601_date(message_date_after),
124
-
125
120
  'PageToken' => page_token,
126
121
  'Page' => page_number,
127
122
  'PageSize' => page_size,
@@ -103,11 +103,8 @@ module Twilio
103
103
  # @return [Page] Page of OutgoingCallerIdInstance
104
104
  def page(phone_number: :unset, friendly_name: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
105
105
  params = Twilio::Values.of({
106
-
107
106
  'PhoneNumber' => phone_number,
108
-
109
107
  'FriendlyName' => friendly_name,
110
-
111
108
  'PageToken' => page_token,
112
109
  'Page' => page_number,
113
110
  'PageSize' => page_size,
@@ -94,7 +94,6 @@ module Twilio
94
94
  # @return [Page] Page of MemberInstance
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,
@@ -116,7 +116,6 @@ module Twilio
116
116
  # @return [Page] Page of QueueInstance
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,
@@ -95,7 +95,6 @@ module Twilio
95
95
  # @return [Page] Page of PayloadInstance
96
96
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
97
97
  params = Twilio::Values.of({
98
-
99
98
  'PageToken' => page_token,
100
99
  'Page' => page_number,
101
100
  'PageSize' => page_size,
@@ -94,7 +94,6 @@ module Twilio
94
94
  # @return [Page] Page of AddOnResultInstance
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 TranscriptionInstance
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,