twilio-ruby 6.9.1 → 7.0.0.pre.rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (486) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test-and-deploy.yml +9 -9
  3. data/CHANGES.md +82 -1
  4. data/Gemfile +2 -0
  5. data/README.md +2 -2
  6. data/UPGRADE.md +10 -0
  7. data/lib/twilio-ruby/framework/request.rb +8 -1
  8. data/lib/twilio-ruby/http/http_client.rb +10 -3
  9. data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +2 -0
  10. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +5 -0
  11. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +5 -0
  12. data/lib/twilio-ruby/rest/accounts/v1/credential.rb +1 -0
  13. data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +4 -0
  14. data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +3 -0
  15. data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +1 -0
  16. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +5 -0
  17. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +5 -0
  18. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +2 -0
  19. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +1 -0
  20. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +1 -0
  21. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +1 -0
  22. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +1 -0
  23. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +1 -0
  24. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +1 -0
  25. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +1 -0
  26. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +2 -0
  27. data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +2 -0
  28. data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +1 -0
  29. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +3 -0
  30. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +4 -0
  31. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +2 -0
  32. data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +3 -2
  33. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +5 -0
  34. data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +3 -0
  35. data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +3 -0
  36. data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message.rb +2 -0
  37. data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb +3 -0
  38. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -27
  39. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +5 -0
  40. data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +4 -0
  41. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +6 -27
  42. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +4 -0
  43. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +2 -2
  44. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +4 -2
  45. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +2 -0
  46. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +2 -0
  47. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +2 -0
  48. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +5 -0
  49. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +4 -0
  50. data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +2 -0
  51. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +3 -0
  52. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +8 -15
  53. data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +2 -0
  54. data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +2 -0
  55. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +2 -0
  56. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +4 -0
  57. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +3 -0
  58. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +5 -0
  59. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +3 -0
  60. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +3 -0
  61. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +3 -0
  62. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +3 -0
  63. data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +3 -0
  64. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +4 -0
  65. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +5 -0
  66. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +5 -0
  67. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +4 -0
  68. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +4 -0
  69. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls.rb +1 -0
  70. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +4 -0
  71. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations.rb +1 -0
  72. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb +1 -0
  73. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +4 -0
  74. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +4 -0
  75. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +5 -0
  76. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +5 -0
  77. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +5 -0
  78. data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +1 -0
  79. data/lib/twilio-ruby/rest/api/v2010/account/token.rb +2 -0
  80. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +3 -0
  81. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +1 -0
  82. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +1 -0
  83. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +1 -0
  84. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +1 -0
  85. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +1 -0
  86. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +1 -0
  87. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +1 -0
  88. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +1 -0
  89. data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +1 -0
  90. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +5 -0
  91. data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +1 -0
  92. data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +2 -0
  93. data/lib/twilio-ruby/rest/api/v2010/account.rb +4 -0
  94. data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +2 -0
  95. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +2 -0
  96. data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +3 -0
  97. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +2 -0
  98. data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +3 -0
  99. data/lib/twilio-ruby/rest/chat/v1/credential.rb +5 -0
  100. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +4 -0
  101. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +5 -0
  102. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +5 -0
  103. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +5 -0
  104. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +5 -0
  105. data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +1 -0
  106. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +5 -0
  107. data/lib/twilio-ruby/rest/chat/v1/service.rb +5 -0
  108. data/lib/twilio-ruby/rest/chat/v2/credential.rb +5 -0
  109. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +3 -0
  110. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +4 -0
  111. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +5 -0
  112. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +5 -0
  113. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +5 -0
  114. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +5 -0
  115. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +5 -0
  116. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +3 -0
  117. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +4 -0
  118. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +5 -0
  119. data/lib/twilio-ruby/rest/chat/v2/service.rb +5 -0
  120. data/lib/twilio-ruby/rest/chat/v3/channel.rb +2 -0
  121. data/lib/twilio-ruby/rest/client.rb +5 -0
  122. data/lib/twilio-ruby/rest/content/v1/content/approval_create.rb +184 -0
  123. data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +2 -2
  124. data/lib/twilio-ruby/rest/content/v1/content.rb +366 -3
  125. data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +2 -1
  126. data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +2 -1
  127. data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +5 -0
  128. data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +3 -0
  129. data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +3 -0
  130. data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +2 -0
  131. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +5 -0
  132. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +5 -0
  133. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +5 -0
  134. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +5 -0
  135. data/lib/twilio-ruby/rest/conversations/v1/credential.rb +5 -0
  136. data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +1 -0
  137. data/lib/twilio-ruby/rest/conversations/v1/role.rb +5 -0
  138. data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +3 -0
  139. data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +3 -0
  140. data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +3 -0
  141. data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +3 -0
  142. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +2 -0
  143. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +5 -0
  144. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +5 -0
  145. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +5 -0
  146. data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +5 -0
  147. data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +1 -0
  148. data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +5 -0
  149. data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +4 -0
  150. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +5 -0
  151. data/lib/twilio-ruby/rest/conversations/v1/service.rb +4 -0
  152. data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +4 -0
  153. data/lib/twilio-ruby/rest/conversations/v1/user.rb +5 -0
  154. data/lib/twilio-ruby/rest/events/v1/event_type.rb +2 -0
  155. data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +2 -0
  156. data/lib/twilio-ruby/rest/events/v1/schema.rb +2 -0
  157. data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +2 -0
  158. data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +2 -0
  159. data/lib/twilio-ruby/rest/events/v1/sink.rb +5 -0
  160. data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +5 -0
  161. data/lib/twilio-ruby/rest/events/v1/subscription.rb +5 -0
  162. data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +3 -2
  163. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +4 -0
  164. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +30 -0
  165. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +5 -0
  166. data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +2 -0
  167. data/lib/twilio-ruby/rest/flex_api/v1/insights_conversational_ai.rb +274 -0
  168. data/lib/twilio-ruby/rest/flex_api/v1/insights_conversational_ai_report_insights.rb +253 -0
  169. data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +1 -0
  170. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +5 -2
  171. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +4 -2
  172. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +4 -2
  173. data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +1 -0
  174. data/lib/twilio-ruby/rest/flex_api/v1/insights_session.rb +2 -2
  175. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +2 -0
  176. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +2 -0
  177. data/lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb +2 -2
  178. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +2 -0
  179. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +3 -0
  180. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +3 -0
  181. data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +3 -0
  182. data/lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb +2 -2
  183. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +5 -0
  184. data/lib/twilio-ruby/rest/flex_api/v1.rb +30 -0
  185. data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +2 -0
  186. data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +3 -2
  187. data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +3 -2
  188. data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +2 -0
  189. data/lib/twilio-ruby/rest/insights/v1/call/event.rb +1 -0
  190. data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +1 -0
  191. data/lib/twilio-ruby/rest/insights/v1/call.rb +2 -0
  192. data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +1 -0
  193. data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +2 -0
  194. data/lib/twilio-ruby/rest/insights/v1/conference.rb +2 -0
  195. data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +2 -2
  196. data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -2
  197. data/lib/twilio-ruby/rest/insights/v1/setting.rb +3 -0
  198. data/lib/twilio-ruby/rest/intelligence/v2/service.rb +5 -2
  199. data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +2 -2
  200. data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +2 -2
  201. data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +1 -0
  202. data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +4 -2
  203. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +5 -0
  204. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +4 -0
  205. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +5 -0
  206. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +5 -0
  207. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +5 -0
  208. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +5 -0
  209. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +1 -0
  210. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +5 -0
  211. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +5 -0
  212. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +5 -0
  213. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +3 -0
  214. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +4 -0
  215. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +5 -0
  216. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +5 -0
  217. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +5 -0
  218. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +5 -0
  219. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +5 -0
  220. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +3 -0
  221. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +4 -0
  222. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +5 -0
  223. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +5 -0
  224. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +2 -0
  225. data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +2 -2
  226. data/lib/twilio-ruby/rest/media/v1/media_processor.rb +4 -0
  227. data/lib/twilio-ruby/rest/media/v1/media_recording.rb +3 -2
  228. data/lib/twilio-ruby/rest/media/v1/player_streamer/playback_grant.rb +3 -0
  229. data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +4 -0
  230. data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb +2 -0
  231. data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +3 -2
  232. data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +4 -2
  233. data/lib/twilio-ruby/rest/messaging/v1/deactivations.rb +2 -0
  234. data/lib/twilio-ruby/rest/messaging/v1/domain_certs.rb +4 -2
  235. data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +3 -2
  236. data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +2 -2
  237. data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -0
  238. data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb +3 -2
  239. data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +2 -2
  240. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +4 -2
  241. data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +2 -2
  242. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +4 -2
  243. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +4 -2
  244. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +108 -5
  245. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +2 -0
  246. data/lib/twilio-ruby/rest/messaging/v1/service.rb +5 -2
  247. data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +5 -2
  248. data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +2 -0
  249. data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +5 -2
  250. data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +5 -2
  251. data/lib/twilio-ruby/rest/microvisor/v1/app/app_manifest.rb +2 -2
  252. data/lib/twilio-ruby/rest/microvisor/v1/app.rb +3 -2
  253. data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +5 -2
  254. data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +5 -2
  255. data/lib/twilio-ruby/rest/microvisor/v1/device.rb +3 -2
  256. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +2 -0
  257. data/lib/twilio-ruby/rest/monitor/v1/event.rb +2 -0
  258. data/lib/twilio-ruby/rest/notify/v1/credential.rb +5 -2
  259. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +4 -2
  260. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +2 -0
  261. data/lib/twilio-ruby/rest/notify/v1/service.rb +5 -2
  262. data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +15 -2
  263. data/lib/twilio-ruby/rest/numbers/v1/eligibility.rb +125 -0
  264. data/lib/twilio-ruby/rest/numbers/v1/porting_bulk_portability.rb +3 -2
  265. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +132 -0
  266. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_fetch.rb +2 -2
  267. data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +2 -2
  268. data/lib/twilio-ruby/rest/numbers/v1.rb +12 -0
  269. data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +1 -0
  270. data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +4 -2
  271. data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +15 -2
  272. data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +4 -2
  273. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +2 -0
  274. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +3 -0
  275. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +4 -0
  276. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +2 -0
  277. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +8 -15
  278. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +5 -0
  279. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +2 -0
  280. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +2 -0
  281. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +5 -0
  282. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +2 -0
  283. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +1 -0
  284. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +5 -2
  285. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +5 -2
  286. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +5 -2
  287. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +5 -2
  288. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +5 -2
  289. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +1 -0
  290. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +4 -2
  291. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +5 -2
  292. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +2 -2
  293. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +2 -2
  294. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +3 -2
  295. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +5 -2
  296. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +4 -2
  297. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +5 -2
  298. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +5 -2
  299. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +4 -2
  300. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +4 -2
  301. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +5 -2
  302. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +4 -2
  303. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +4 -2
  304. data/lib/twilio-ruby/rest/preview/sync/service.rb +5 -2
  305. data/lib/twilio-ruby/rest/preview/wireless/command.rb +3 -2
  306. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +5 -2
  307. data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +2 -2
  308. data/lib/twilio-ruby/rest/preview/wireless/sim.rb +3 -2
  309. data/lib/twilio-ruby/rest/preview_messaging/v1/broadcast.rb +164 -0
  310. data/lib/twilio-ruby/rest/preview_messaging/v1/message.rb +235 -0
  311. data/lib/twilio-ruby/rest/preview_messaging/v1.rb +46 -0
  312. data/lib/twilio-ruby/rest/preview_messaging.rb +12 -0
  313. data/lib/twilio-ruby/rest/preview_messaging_base.rb +38 -0
  314. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +2 -0
  315. data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +1 -0
  316. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +2 -0
  317. data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +1 -0
  318. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +2 -0
  319. data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +2 -0
  320. data/lib/twilio-ruby/rest/pricing/v1/voice.rb +1 -0
  321. data/lib/twilio-ruby/rest/pricing/v2/country.rb +2 -0
  322. data/lib/twilio-ruby/rest/pricing/v2/number.rb +2 -0
  323. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +2 -0
  324. data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +2 -0
  325. data/lib/twilio-ruby/rest/pricing/v2/voice.rb +1 -0
  326. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +5 -2
  327. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +3 -2
  328. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +3 -2
  329. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +4 -2
  330. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +5 -2
  331. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +5 -2
  332. data/lib/twilio-ruby/rest/proxy/v1/service.rb +5 -2
  333. data/lib/twilio-ruby/rest/routes/v2/phone_number.rb +3 -0
  334. data/lib/twilio-ruby/rest/routes/v2/sip_domain.rb +3 -0
  335. data/lib/twilio-ruby/rest/routes/v2/trunk.rb +3 -0
  336. data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +2 -2
  337. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +5 -2
  338. data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +2 -2
  339. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +4 -2
  340. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +3 -2
  341. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +2 -2
  342. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +5 -2
  343. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +4 -2
  344. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +2 -2
  345. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +2 -2
  346. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +5 -2
  347. data/lib/twilio-ruby/rest/serverless/v1/service.rb +5 -2
  348. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +2 -0
  349. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +2 -0
  350. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +2 -0
  351. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +4 -0
  352. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +2 -0
  353. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +2 -0
  354. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +2 -0
  355. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +5 -0
  356. data/lib/twilio-ruby/rest/studio/v1/flow.rb +3 -0
  357. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +2 -0
  358. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +2 -0
  359. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +2 -0
  360. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +5 -0
  361. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +2 -0
  362. data/lib/twilio-ruby/rest/studio/v2/flow/flow_test_user.rb +3 -0
  363. data/lib/twilio-ruby/rest/studio/v2/flow.rb +5 -0
  364. data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +2 -0
  365. data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +3 -2
  366. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +4 -2
  367. data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +3 -2
  368. data/lib/twilio-ruby/rest/supersim/v1/network.rb +2 -2
  369. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +4 -2
  370. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +4 -2
  371. data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +1 -0
  372. data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +1 -0
  373. data/lib/twilio-ruby/rest/supersim/v1/sim/sim_ip_address.rb +1 -0
  374. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +4 -2
  375. data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +3 -2
  376. data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +1 -0
  377. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +4 -0
  378. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +5 -0
  379. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +5 -0
  380. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +4 -0
  381. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +5 -0
  382. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +5 -0
  383. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +4 -0
  384. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +5 -0
  385. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +2 -0
  386. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +5 -0
  387. data/lib/twilio-ruby/rest/sync/v1/service.rb +5 -0
  388. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +5 -0
  389. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +2 -0
  390. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +3 -0
  391. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +5 -0
  392. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +5 -0
  393. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_bulk_real_time_statistics.rb +161 -0
  394. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +2 -0
  395. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +2 -0
  396. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +2 -0
  397. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +1 -0
  398. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +13 -8
  399. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +3 -0
  400. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +3 -0
  401. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +2 -0
  402. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +2 -0
  403. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +2 -0
  404. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +2 -0
  405. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +5 -0
  406. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +2 -0
  407. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +2 -0
  408. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +2 -0
  409. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +5 -0
  410. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +2 -0
  411. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +2 -0
  412. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +2 -0
  413. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +5 -0
  414. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +4 -0
  415. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +4 -0
  416. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +5 -0
  417. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +4 -0
  418. data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +3 -0
  419. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +5 -0
  420. data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +7 -1
  421. data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +240 -0
  422. data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +2 -0
  423. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +4 -0
  424. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +4 -0
  425. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +3 -0
  426. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +5 -0
  427. data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +5 -0
  428. data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +2 -0
  429. data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +2 -0
  430. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +5 -0
  431. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +2 -0
  432. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +4 -0
  433. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +4 -0
  434. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +3 -0
  435. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +5 -0
  436. data/lib/twilio-ruby/rest/trusthub/v1.rb +6 -0
  437. data/lib/twilio-ruby/rest/verify/v2/form.rb +2 -2
  438. data/lib/twilio-ruby/rest/verify/v2/safelist.rb +4 -2
  439. data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +3 -0
  440. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +2 -0
  441. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +4 -0
  442. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +4 -0
  443. data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +2 -0
  444. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +4 -0
  445. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +5 -0
  446. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +5 -0
  447. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +5 -0
  448. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +4 -0
  449. data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +2 -0
  450. data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +5 -0
  451. data/lib/twilio-ruby/rest/verify/v2/service.rb +5 -0
  452. data/lib/twilio-ruby/rest/verify/v2/template.rb +1 -0
  453. data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +2 -0
  454. data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +2 -0
  455. data/lib/twilio-ruby/rest/video/v1/composition.rb +4 -0
  456. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +5 -0
  457. data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +6 -3
  458. data/lib/twilio-ruby/rest/video/v1/recording.rb +3 -0
  459. data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +6 -3
  460. data/lib/twilio-ruby/rest/video/v1/room/participant/anonymize.rb +2 -0
  461. data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +2 -0
  462. data/lib/twilio-ruby/rest/video/v1/room/participant/subscribe_rules.rb +3 -0
  463. data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +2 -0
  464. data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -0
  465. data/lib/twilio-ruby/rest/video/v1/room/recording_rules.rb +3 -0
  466. data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +3 -0
  467. data/lib/twilio-ruby/rest/video/v1/room.rb +4 -0
  468. data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +2 -2
  469. data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +5 -0
  470. data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +5 -0
  471. data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +5 -0
  472. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +2 -0
  473. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +1 -0
  474. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +2 -2
  475. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +3 -2
  476. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb +1 -0
  477. data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +5 -0
  478. data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +5 -0
  479. data/lib/twilio-ruby/rest/wireless/v1/command.rb +4 -0
  480. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +5 -0
  481. data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +1 -0
  482. data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +1 -0
  483. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +4 -0
  484. data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +1 -0
  485. data/lib/twilio-ruby/version.rb +1 -1
  486. metadata +16 -4
@@ -20,6 +20,7 @@ module Twilio
20
20
  class AccountContext < InstanceContext
21
21
 
22
22
  class IncomingPhoneNumberList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the IncomingPhoneNumberList
25
26
  # @param [Version] version Version that contains the resource
@@ -115,6 +116,7 @@ module Twilio
115
116
  'AreaCode' => area_code,
116
117
  })
117
118
 
119
+
118
120
  payload = @version.create('POST', @uri, data: data)
119
121
  IncomingPhoneNumberInstance.new(
120
122
  @version,
@@ -284,6 +286,7 @@ module Twilio
284
286
  # @return [Boolean] True if delete succeeds, false otherwise
285
287
  def delete
286
288
 
289
+
287
290
  @version.delete('DELETE', @uri)
288
291
  end
289
292
 
@@ -292,6 +295,7 @@ module Twilio
292
295
  # @return [IncomingPhoneNumberInstance] Fetched IncomingPhoneNumberInstance
293
296
  def fetch
294
297
 
298
+
295
299
  payload = @version.fetch('GET', @uri)
296
300
  IncomingPhoneNumberInstance.new(
297
301
  @version,
@@ -379,6 +383,7 @@ module Twilio
379
383
  'BundleSid' => bundle_sid,
380
384
  })
381
385
 
386
+
382
387
  payload = @version.update('POST', @uri, data: data)
383
388
  IncomingPhoneNumberInstance.new(
384
389
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class AccountContext < InstanceContext
21
21
 
22
22
  class KeyList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the KeyList
25
26
  # @param [Version] version Version that contains the resource
@@ -146,6 +147,7 @@ module Twilio
146
147
  # @return [Boolean] True if delete succeeds, false otherwise
147
148
  def delete
148
149
 
150
+
149
151
  @version.delete('DELETE', @uri)
150
152
  end
151
153
 
@@ -154,6 +156,7 @@ module Twilio
154
156
  # @return [KeyInstance] Fetched KeyInstance
155
157
  def fetch
156
158
 
159
+
157
160
  payload = @version.fetch('GET', @uri)
158
161
  KeyInstance.new(
159
162
  @version,
@@ -175,6 +178,7 @@ module Twilio
175
178
  'FriendlyName' => friendly_name,
176
179
  })
177
180
 
181
+
178
182
  payload = @version.update('POST', @uri, data: data)
179
183
  KeyInstance.new(
180
184
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class MessageContext < InstanceContext
22
22
 
23
23
  class FeedbackList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the FeedbackList
26
27
  # @param [Version] version Version that contains the resource
@@ -44,6 +45,7 @@ module Twilio
44
45
  'Outcome' => outcome,
45
46
  })
46
47
 
48
+
47
49
  payload = @version.create('POST', @uri, data: data)
48
50
  FeedbackInstance.new(
49
51
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class MessageContext < InstanceContext
22
22
 
23
23
  class MediaList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the MediaList
26
27
  # @param [Version] version Version that contains the resource
@@ -166,6 +167,7 @@ module Twilio
166
167
  # @return [Boolean] True if delete succeeds, false otherwise
167
168
  def delete
168
169
 
170
+
169
171
  @version.delete('DELETE', @uri)
170
172
  end
171
173
 
@@ -174,6 +176,7 @@ module Twilio
174
176
  # @return [MediaInstance] Fetched MediaInstance
175
177
  def fetch
176
178
 
179
+
177
180
  payload = @version.fetch('GET', @uri)
178
181
  MediaInstance.new(
179
182
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class AccountContext < InstanceContext
21
21
 
22
22
  class MessageList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the MessageList
25
26
  # @param [Version] version Version that contains the resource
@@ -109,6 +110,7 @@ module Twilio
109
110
  'ContentSid' => content_sid,
110
111
  })
111
112
 
113
+
112
114
  payload = @version.create('POST', @uri, data: data)
113
115
  MessageInstance.new(
114
116
  @version,
@@ -125,8 +127,6 @@ module Twilio
125
127
  # @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`
126
128
  # @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`
127
129
  # @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).
128
- # @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).
129
- # @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).
130
130
  # @param [Integer] limit Upper limit for the number of records to return. stream()
131
131
  # guarantees to never return more than limit. Default is no limit
132
132
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -134,13 +134,11 @@ module Twilio
134
134
  # but a limit is defined, stream() will attempt to read the limit with the most
135
135
  # efficient page size, i.e. min(limit, 1000)
136
136
  # @return [Array] Array of up to limit results
137
- def list(to: :unset, from: :unset, date_sent: :unset, date_sent_before: :unset, date_sent_after: :unset, limit: nil, page_size: nil)
137
+ def list(to: :unset, from: :unset, date_sent: :unset, limit: nil, page_size: nil)
138
138
  self.stream(
139
139
  to: to,
140
140
  from: from,
141
141
  date_sent: date_sent,
142
- date_sent_before: date_sent_before,
143
- date_sent_after: date_sent_after,
144
142
  limit: limit,
145
143
  page_size: page_size
146
144
  ).entries
@@ -153,8 +151,6 @@ module Twilio
153
151
  # @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`
154
152
  # @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`
155
153
  # @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).
156
- # @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).
157
- # @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).
158
154
  # @param [Integer] limit Upper limit for the number of records to return. stream()
159
155
  # guarantees to never return more than limit. Default is no limit
160
156
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -162,15 +158,13 @@ module Twilio
162
158
  # but a limit is defined, stream() will attempt to read the limit with the most
163
159
  # efficient page size, i.e. min(limit, 1000)
164
160
  # @return [Enumerable] Enumerable that will yield up to limit results
165
- def stream(to: :unset, from: :unset, date_sent: :unset, date_sent_before: :unset, date_sent_after: :unset, limit: nil, page_size: nil)
161
+ def stream(to: :unset, from: :unset, date_sent: :unset, limit: nil, page_size: nil)
166
162
  limits = @version.read_limits(limit, page_size)
167
163
 
168
164
  page = self.page(
169
165
  to: to,
170
166
  from: from,
171
167
  date_sent: date_sent,
172
- date_sent_before: date_sent_before,
173
- date_sent_after: date_sent_after,
174
168
  page_size: limits[:page_size], )
175
169
 
176
170
  @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
@@ -196,19 +190,15 @@ module Twilio
196
190
  # @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`
197
191
  # @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`
198
192
  # @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).
199
- # @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).
200
- # @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).
201
193
  # @param [String] page_token PageToken provided by the API
202
194
  # @param [Integer] page_number Page Number, this value is simply for client state
203
195
  # @param [Integer] page_size Number of records to return, defaults to 50
204
196
  # @return [Page] Page of MessageInstance
205
- 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)
197
+ def page(to: :unset, from: :unset, date_sent: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
206
198
  params = Twilio::Values.of({
207
199
  'To' => to,
208
200
  'From' => from,
209
201
  'DateSent' => Twilio.serialize_iso8601_datetime(date_sent),
210
- 'DateSent<' => Twilio.serialize_iso8601_datetime(date_sent_before),
211
- 'DateSent>' => Twilio.serialize_iso8601_datetime(date_sent_after),
212
202
  'PageToken' => page_token,
213
203
  'Page' => page_number,
214
204
  'PageSize' => page_size,
@@ -264,6 +254,7 @@ module Twilio
264
254
  # @return [Boolean] True if delete succeeds, false otherwise
265
255
  def delete
266
256
 
257
+
267
258
  @version.delete('DELETE', @uri)
268
259
  end
269
260
 
@@ -272,6 +263,7 @@ module Twilio
272
263
  # @return [MessageInstance] Fetched MessageInstance
273
264
  def fetch
274
265
 
266
+
275
267
  payload = @version.fetch('GET', @uri)
276
268
  MessageInstance.new(
277
269
  @version,
@@ -296,6 +288,7 @@ module Twilio
296
288
  'Status' => status,
297
289
  })
298
290
 
291
+
299
292
  payload = @version.update('POST', @uri, data: data)
300
293
  MessageInstance.new(
301
294
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class AccountContext < InstanceContext
21
21
 
22
22
  class NewKeyList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the NewKeyList
25
26
  # @param [Version] version Version that contains the resource
@@ -43,6 +44,7 @@ module Twilio
43
44
  'FriendlyName' => friendly_name,
44
45
  })
45
46
 
47
+
46
48
  payload = @version.create('POST', @uri, data: data)
47
49
  NewKeyInstance.new(
48
50
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class AccountContext < InstanceContext
21
21
 
22
22
  class NewSigningKeyList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the NewSigningKeyList
25
26
  # @param [Version] version Version that contains the resource
@@ -43,6 +44,7 @@ module Twilio
43
44
  'FriendlyName' => friendly_name,
44
45
  })
45
46
 
47
+
46
48
  payload = @version.create('POST', @uri, data: data)
47
49
  NewSigningKeyInstance.new(
48
50
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class AccountContext < InstanceContext
21
21
 
22
22
  class NotificationList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the NotificationList
25
26
  # @param [Version] version Version that contains the resource
@@ -170,6 +171,7 @@ module Twilio
170
171
  # @return [NotificationInstance] Fetched NotificationInstance
171
172
  def fetch
172
173
 
174
+
173
175
  payload = @version.fetch('GET', @uri)
174
176
  NotificationInstance.new(
175
177
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class AccountContext < InstanceContext
21
21
 
22
22
  class OutgoingCallerIdList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the OutgoingCallerIdList
25
26
  # @param [Version] version Version that contains the resource
@@ -158,6 +159,7 @@ module Twilio
158
159
  # @return [Boolean] True if delete succeeds, false otherwise
159
160
  def delete
160
161
 
162
+
161
163
  @version.delete('DELETE', @uri)
162
164
  end
163
165
 
@@ -166,6 +168,7 @@ module Twilio
166
168
  # @return [OutgoingCallerIdInstance] Fetched OutgoingCallerIdInstance
167
169
  def fetch
168
170
 
171
+
169
172
  payload = @version.fetch('GET', @uri)
170
173
  OutgoingCallerIdInstance.new(
171
174
  @version,
@@ -187,6 +190,7 @@ module Twilio
187
190
  'FriendlyName' => friendly_name,
188
191
  })
189
192
 
193
+
190
194
  payload = @version.update('POST', @uri, data: data)
191
195
  OutgoingCallerIdInstance.new(
192
196
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class QueueContext < InstanceContext
22
22
 
23
23
  class MemberList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the MemberList
26
27
  # @param [Version] version Version that contains the resource
@@ -148,6 +149,7 @@ module Twilio
148
149
  # @return [MemberInstance] Fetched MemberInstance
149
150
  def fetch
150
151
 
152
+
151
153
  payload = @version.fetch('GET', @uri)
152
154
  MemberInstance.new(
153
155
  @version,
@@ -173,6 +175,7 @@ module Twilio
173
175
  'Method' => method,
174
176
  })
175
177
 
178
+
176
179
  payload = @version.update('POST', @uri, data: data)
177
180
  MemberInstance.new(
178
181
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class AccountContext < InstanceContext
21
21
 
22
22
  class QueueList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the QueueList
25
26
  # @param [Version] version Version that contains the resource
@@ -46,6 +47,7 @@ module Twilio
46
47
  'MaxSize' => max_size,
47
48
  })
48
49
 
50
+
49
51
  payload = @version.create('POST', @uri, data: data)
50
52
  QueueInstance.new(
51
53
  @version,
@@ -170,6 +172,7 @@ module Twilio
170
172
  # @return [Boolean] True if delete succeeds, false otherwise
171
173
  def delete
172
174
 
175
+
173
176
  @version.delete('DELETE', @uri)
174
177
  end
175
178
 
@@ -178,6 +181,7 @@ module Twilio
178
181
  # @return [QueueInstance] Fetched QueueInstance
179
182
  def fetch
180
183
 
184
+
181
185
  payload = @version.fetch('GET', @uri)
182
186
  QueueInstance.new(
183
187
  @version,
@@ -202,6 +206,7 @@ module Twilio
202
206
  'MaxSize' => max_size,
203
207
  })
204
208
 
209
+
205
210
  payload = @version.update('POST', @uri, data: data)
206
211
  QueueInstance.new(
207
212
  @version,
@@ -22,6 +22,7 @@ module Twilio
22
22
  class AddOnResultContext < InstanceContext
23
23
 
24
24
  class PayloadList < ListResource
25
+
25
26
  ##
26
27
  # Initialize the PayloadList
27
28
  # @param [Version] version Version that contains the resource
@@ -150,6 +151,7 @@ module Twilio
150
151
  # @return [Boolean] True if delete succeeds, false otherwise
151
152
  def delete
152
153
 
154
+
153
155
  @version.delete('DELETE', @uri)
154
156
  end
155
157
 
@@ -158,6 +160,7 @@ module Twilio
158
160
  # @return [PayloadInstance] Fetched PayloadInstance
159
161
  def fetch
160
162
 
163
+
161
164
  payload = @version.fetch('GET', @uri)
162
165
  PayloadInstance.new(
163
166
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class RecordingContext < InstanceContext
22
22
 
23
23
  class AddOnResultList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the AddOnResultList
26
27
  # @param [Version] version Version that contains the resource
@@ -149,6 +150,7 @@ module Twilio
149
150
  # @return [Boolean] True if delete succeeds, false otherwise
150
151
  def delete
151
152
 
153
+
152
154
  @version.delete('DELETE', @uri)
153
155
  end
154
156
 
@@ -157,6 +159,7 @@ module Twilio
157
159
  # @return [AddOnResultInstance] Fetched AddOnResultInstance
158
160
  def fetch
159
161
 
162
+
160
163
  payload = @version.fetch('GET', @uri)
161
164
  AddOnResultInstance.new(
162
165
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class RecordingContext < InstanceContext
22
22
 
23
23
  class TranscriptionList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the TranscriptionList
26
27
  # @param [Version] version Version that contains the resource
@@ -148,6 +149,7 @@ module Twilio
148
149
  # @return [Boolean] True if delete succeeds, false otherwise
149
150
  def delete
150
151
 
152
+
151
153
  @version.delete('DELETE', @uri)
152
154
  end
153
155
 
@@ -156,6 +158,7 @@ module Twilio
156
158
  # @return [TranscriptionInstance] Fetched TranscriptionInstance
157
159
  def fetch
158
160
 
161
+
159
162
  payload = @version.fetch('GET', @uri)
160
163
  TranscriptionInstance.new(
161
164
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class AccountContext < InstanceContext
21
21
 
22
22
  class RecordingList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the RecordingList
25
26
  # @param [Version] version Version that contains the resource
@@ -184,6 +185,7 @@ module Twilio
184
185
  # @return [Boolean] True if delete succeeds, false otherwise
185
186
  def delete
186
187
 
188
+
187
189
  @version.delete('DELETE', @uri)
188
190
  end
189
191
 
@@ -198,6 +200,7 @@ module Twilio
198
200
  params = Twilio::Values.of({
199
201
  'IncludeSoftDeleted' => include_soft_deleted,
200
202
  })
203
+
201
204
  payload = @version.fetch('GET', @uri, params: params)
202
205
  RecordingInstance.new(
203
206
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class AccountContext < InstanceContext
21
21
 
22
22
  class ShortCodeList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the ShortCodeList
25
26
  # @param [Version] version Version that contains the resource
@@ -158,6 +159,7 @@ module Twilio
158
159
  # @return [ShortCodeInstance] Fetched ShortCodeInstance
159
160
  def fetch
160
161
 
162
+
161
163
  payload = @version.fetch('GET', @uri)
162
164
  ShortCodeInstance.new(
163
165
  @version,
@@ -194,6 +196,7 @@ module Twilio
194
196
  'SmsFallbackMethod' => sms_fallback_method,
195
197
  })
196
198
 
199
+
197
200
  payload = @version.update('POST', @uri, data: data)
198
201
  ShortCodeInstance.new(
199
202
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class AccountContext < InstanceContext
21
21
 
22
22
  class SigningKeyList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the SigningKeyList
25
26
  # @param [Version] version Version that contains the resource
@@ -146,6 +147,7 @@ module Twilio
146
147
  # @return [Boolean] True if delete succeeds, false otherwise
147
148
  def delete
148
149
 
150
+
149
151
  @version.delete('DELETE', @uri)
150
152
  end
151
153
 
@@ -154,6 +156,7 @@ module Twilio
154
156
  # @return [SigningKeyInstance] Fetched SigningKeyInstance
155
157
  def fetch
156
158
 
159
+
157
160
  payload = @version.fetch('GET', @uri)
158
161
  SigningKeyInstance.new(
159
162
  @version,
@@ -175,6 +178,7 @@ module Twilio
175
178
  'FriendlyName' => friendly_name,
176
179
  })
177
180
 
181
+
178
182
  payload = @version.update('POST', @uri, data: data)
179
183
  SigningKeyInstance.new(
180
184
  @version,
@@ -22,6 +22,7 @@ module Twilio
22
22
  class CredentialListContext < InstanceContext
23
23
 
24
24
  class CredentialList < ListResource
25
+
25
26
  ##
26
27
  # Initialize the CredentialList
27
28
  # @param [Version] version Version that contains the resource
@@ -48,6 +49,7 @@ module Twilio
48
49
  'Password' => password,
49
50
  })
50
51
 
52
+
51
53
  payload = @version.create('POST', @uri, data: data)
52
54
  CredentialInstance.new(
53
55
  @version,
@@ -173,6 +175,7 @@ module Twilio
173
175
  # @return [Boolean] True if delete succeeds, false otherwise
174
176
  def delete
175
177
 
178
+
176
179
  @version.delete('DELETE', @uri)
177
180
  end
178
181
 
@@ -181,6 +184,7 @@ module Twilio
181
184
  # @return [CredentialInstance] Fetched CredentialInstance
182
185
  def fetch
183
186
 
187
+
184
188
  payload = @version.fetch('GET', @uri)
185
189
  CredentialInstance.new(
186
190
  @version,
@@ -203,6 +207,7 @@ module Twilio
203
207
  'Password' => password,
204
208
  })
205
209
 
210
+
206
211
  payload = @version.update('POST', @uri, data: data)
207
212
  CredentialInstance.new(
208
213
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class SipList < ListResource
22
22
 
23
23
  class CredentialListList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the CredentialListList
26
27
  # @param [Version] version Version that contains the resource
@@ -44,6 +45,7 @@ module Twilio
44
45
  'FriendlyName' => friendly_name,
45
46
  })
46
47
 
48
+
47
49
  payload = @version.create('POST', @uri, data: data)
48
50
  CredentialListInstance.new(
49
51
  @version,
@@ -168,6 +170,7 @@ module Twilio
168
170
  # @return [Boolean] True if delete succeeds, false otherwise
169
171
  def delete
170
172
 
173
+
171
174
  @version.delete('DELETE', @uri)
172
175
  end
173
176
 
@@ -176,6 +179,7 @@ module Twilio
176
179
  # @return [CredentialListInstance] Fetched CredentialListInstance
177
180
  def fetch
178
181
 
182
+
179
183
  payload = @version.fetch('GET', @uri)
180
184
  CredentialListInstance.new(
181
185
  @version,
@@ -197,6 +201,7 @@ module Twilio
197
201
  'FriendlyName' => friendly_name,
198
202
  })
199
203
 
204
+
200
205
  payload = @version.update('POST', @uri, data: data)
201
206
  CredentialListInstance.new(
202
207
  @version,
@@ -24,6 +24,7 @@ module Twilio
24
24
  class AuthTypeCallsList < ListResource
25
25
 
26
26
  class AuthCallsCredentialListMappingList < ListResource
27
+
27
28
  ##
28
29
  # Initialize the AuthCallsCredentialListMappingList
29
30
  # @param [Version] version Version that contains the resource
@@ -47,6 +48,7 @@ module Twilio
47
48
  'CredentialListSid' => credential_list_sid,
48
49
  })
49
50
 
51
+
50
52
  payload = @version.create('POST', @uri, data: data)
51
53
  AuthCallsCredentialListMappingInstance.new(
52
54
  @version,
@@ -172,6 +174,7 @@ module Twilio
172
174
  # @return [Boolean] True if delete succeeds, false otherwise
173
175
  def delete
174
176
 
177
+
175
178
  @version.delete('DELETE', @uri)
176
179
  end
177
180
 
@@ -180,6 +183,7 @@ module Twilio
180
183
  # @return [AuthCallsCredentialListMappingInstance] Fetched AuthCallsCredentialListMappingInstance
181
184
  def fetch
182
185
 
186
+
183
187
  payload = @version.fetch('GET', @uri)
184
188
  AuthCallsCredentialListMappingInstance.new(
185
189
  @version,
@@ -24,6 +24,7 @@ module Twilio
24
24
  class AuthTypeCallsList < ListResource
25
25
 
26
26
  class AuthCallsIpAccessControlListMappingList < ListResource
27
+
27
28
  ##
28
29
  # Initialize the AuthCallsIpAccessControlListMappingList
29
30
  # @param [Version] version Version that contains the resource
@@ -47,6 +48,7 @@ module Twilio
47
48
  'IpAccessControlListSid' => ip_access_control_list_sid,
48
49
  })
49
50
 
51
+
50
52
  payload = @version.create('POST', @uri, data: data)
51
53
  AuthCallsIpAccessControlListMappingInstance.new(
52
54
  @version,
@@ -172,6 +174,7 @@ module Twilio
172
174
  # @return [Boolean] True if delete succeeds, false otherwise
173
175
  def delete
174
176
 
177
+
175
178
  @version.delete('DELETE', @uri)
176
179
  end
177
180
 
@@ -180,6 +183,7 @@ module Twilio
180
183
  # @return [AuthCallsIpAccessControlListMappingInstance] Fetched AuthCallsIpAccessControlListMappingInstance
181
184
  def fetch
182
185
 
186
+
183
187
  payload = @version.fetch('GET', @uri)
184
188
  AuthCallsIpAccessControlListMappingInstance.new(
185
189
  @version,