twilio-ruby 7.3.7 → 7.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (532) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test-and-deploy.yml +8 -0
  3. data/.rubocop.yml +1 -0
  4. data/CHANGES.md +6 -0
  5. data/Makefile +1 -1
  6. data/README.md +7 -2
  7. data/cluster/cluster_oauth_spec.rb +19 -0
  8. data/cluster/cluster_orgs_spec.rb +40 -0
  9. data/{cluster_spec.rb → cluster/cluster_spec.rb} +0 -2
  10. data/examples/public_oauth.rb +13 -0
  11. data/lib/twilio-ruby/auth_strategy/auth_strategy.rb +19 -0
  12. data/lib/twilio-ruby/auth_strategy/no_auth_strategy.rb +17 -0
  13. data/lib/twilio-ruby/auth_strategy/token_auth_strategy.rb +39 -0
  14. data/lib/twilio-ruby/base/client_base.rb +8 -1
  15. data/lib/twilio-ruby/credential/auth_type.rb +17 -0
  16. data/lib/twilio-ruby/credential/client_credential_provider.rb +28 -0
  17. data/lib/twilio-ruby/credential/credential_provider.rb +11 -0
  18. data/lib/twilio-ruby/credential/orgs_credential_provider.rb +30 -0
  19. data/lib/twilio-ruby/framework/rest/domain.rb +0 -1
  20. data/lib/twilio-ruby/framework/rest/page.rb +1 -0
  21. data/lib/twilio-ruby/http/client_token_manager.rb +28 -0
  22. data/lib/twilio-ruby/http/http_client.rb +9 -0
  23. data/lib/twilio-ruby/http/org_token_manager.rb +28 -0
  24. data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +4 -0
  25. data/lib/twilio-ruby/rest/accounts/v1/bulk_consents.rb +4 -0
  26. data/lib/twilio-ruby/rest/accounts/v1/bulk_contacts.rb +4 -0
  27. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +18 -1
  28. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +18 -1
  29. data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +10 -0
  30. data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +6 -0
  31. data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +4 -1
  32. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +18 -1
  33. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +18 -1
  34. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +8 -1
  35. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +4 -1
  36. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +4 -1
  37. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +4 -1
  38. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +4 -1
  39. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +4 -1
  40. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +4 -1
  41. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +4 -1
  42. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +8 -1
  43. data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +4 -0
  44. data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +4 -1
  45. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +8 -1
  46. data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +8 -0
  47. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +18 -1
  48. data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +8 -0
  49. data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +8 -0
  50. data/lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb +8 -0
  51. data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message.rb +4 -0
  52. data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb +6 -0
  53. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +18 -1
  54. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +18 -1
  55. data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +14 -1
  56. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +12 -1
  57. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +14 -1
  58. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +8 -1
  59. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +14 -1
  60. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +8 -1
  61. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +8 -1
  62. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +8 -1
  63. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +18 -1
  64. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +14 -1
  65. data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +4 -0
  66. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +10 -1
  67. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +18 -1
  68. data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +4 -0
  69. data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +4 -0
  70. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +8 -1
  71. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +14 -1
  72. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +12 -1
  73. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +18 -1
  74. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload/data.rb +4 -0
  75. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +10 -1
  76. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +10 -1
  77. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +10 -1
  78. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +10 -1
  79. data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +12 -1
  80. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +14 -1
  81. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +18 -1
  82. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +18 -1
  83. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +14 -1
  84. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +14 -1
  85. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +14 -1
  86. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +14 -1
  87. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +14 -1
  88. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +18 -1
  89. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +18 -1
  90. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +18 -1
  91. data/lib/twilio-ruby/rest/api/v2010/account/token.rb +4 -0
  92. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +10 -1
  93. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +4 -1
  94. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +4 -1
  95. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +4 -1
  96. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +4 -1
  97. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +4 -1
  98. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +4 -1
  99. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +4 -1
  100. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +4 -1
  101. data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +4 -1
  102. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +18 -1
  103. data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +4 -0
  104. data/lib/twilio-ruby/rest/api/v2010/account.rb +16 -1
  105. data/lib/twilio-ruby/rest/assistants/v1/assistant/assistants_knowledge.rb +10 -1
  106. data/lib/twilio-ruby/rest/assistants/v1/assistant/assistants_tool.rb +10 -1
  107. data/lib/twilio-ruby/rest/assistants/v1/assistant/feedback.rb +13 -5
  108. data/lib/twilio-ruby/rest/assistants/v1/assistant/message.rb +10 -5
  109. data/lib/twilio-ruby/rest/assistants/v1/assistant.rb +50 -31
  110. data/lib/twilio-ruby/rest/assistants/v1/knowledge/chunk.rb +4 -1
  111. data/lib/twilio-ruby/rest/assistants/v1/knowledge/knowledge_status.rb +4 -0
  112. data/lib/twilio-ruby/rest/assistants/v1/knowledge.rb +52 -33
  113. data/lib/twilio-ruby/rest/assistants/v1/policy.rb +4 -1
  114. data/lib/twilio-ruby/rest/assistants/v1/session/message.rb +4 -1
  115. data/lib/twilio-ruby/rest/assistants/v1/session.rb +8 -1
  116. data/lib/twilio-ruby/rest/assistants/v1/tool.rb +58 -39
  117. data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +8 -1
  118. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +8 -1
  119. data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +6 -0
  120. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +4 -0
  121. data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +8 -0
  122. data/lib/twilio-ruby/rest/chat/v1/credential.rb +18 -1
  123. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +14 -1
  124. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +18 -1
  125. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +18 -1
  126. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +18 -1
  127. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +18 -1
  128. data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +4 -1
  129. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +18 -1
  130. data/lib/twilio-ruby/rest/chat/v1/service.rb +18 -1
  131. data/lib/twilio-ruby/rest/chat/v2/credential.rb +18 -1
  132. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +10 -1
  133. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +14 -1
  134. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +18 -1
  135. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +18 -1
  136. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +18 -1
  137. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +18 -1
  138. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +18 -1
  139. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +10 -1
  140. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +14 -1
  141. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +18 -1
  142. data/lib/twilio-ruby/rest/chat/v2/service.rb +18 -1
  143. data/lib/twilio-ruby/rest/chat/v3/channel.rb +4 -0
  144. data/lib/twilio-ruby/rest/client.rb +5 -0
  145. data/lib/twilio-ruby/rest/content/v1/content/approval_create.rb +7 -2
  146. data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +4 -0
  147. data/lib/twilio-ruby/rest/content/v1/content.rb +115 -101
  148. data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +4 -1
  149. data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +4 -1
  150. data/lib/twilio-ruby/rest/content/v2/content.rb +4 -1
  151. data/lib/twilio-ruby/rest/content/v2/content_and_approvals.rb +4 -1
  152. data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +18 -1
  153. data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +8 -0
  154. data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +8 -0
  155. data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +8 -1
  156. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +18 -1
  157. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +18 -1
  158. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +18 -1
  159. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +18 -1
  160. data/lib/twilio-ruby/rest/conversations/v1/conversation_with_participants.rb +4 -0
  161. data/lib/twilio-ruby/rest/conversations/v1/credential.rb +18 -1
  162. data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +4 -1
  163. data/lib/twilio-ruby/rest/conversations/v1/role.rb +18 -1
  164. data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +10 -1
  165. data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +8 -0
  166. data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +8 -0
  167. data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +8 -0
  168. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +8 -1
  169. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +18 -1
  170. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +18 -1
  171. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +18 -1
  172. data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +18 -1
  173. data/lib/twilio-ruby/rest/conversations/v1/service/conversation_with_participants.rb +4 -0
  174. data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +4 -1
  175. data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +18 -1
  176. data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +14 -1
  177. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +18 -1
  178. data/lib/twilio-ruby/rest/conversations/v1/service.rb +14 -1
  179. data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +14 -1
  180. data/lib/twilio-ruby/rest/conversations/v1/user.rb +18 -1
  181. data/lib/twilio-ruby/rest/events/v1/event_type.rb +8 -1
  182. data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +8 -1
  183. data/lib/twilio-ruby/rest/events/v1/schema.rb +4 -0
  184. data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +4 -0
  185. data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +4 -0
  186. data/lib/twilio-ruby/rest/events/v1/sink.rb +18 -1
  187. data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +18 -1
  188. data/lib/twilio-ruby/rest/events/v1/subscription.rb +18 -1
  189. data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +12 -1
  190. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +14 -1
  191. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +8 -0
  192. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +18 -1
  193. data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +8 -1
  194. data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +4 -1
  195. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +18 -1
  196. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +14 -1
  197. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +14 -1
  198. data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +4 -1
  199. data/lib/twilio-ruby/rest/flex_api/v1/insights_session.rb +4 -0
  200. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +4 -0
  201. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +4 -0
  202. data/lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb +4 -0
  203. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +8 -1
  204. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +12 -1
  205. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +12 -1
  206. data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +8 -0
  207. data/lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb +12 -1
  208. data/lib/twilio-ruby/rest/flex_api/v1/plugin.rb +16 -1
  209. data/lib/twilio-ruby/rest/flex_api/v1/plugin_archive.rb +4 -0
  210. data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration/configured_plugin.rb +8 -1
  211. data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration.rb +12 -1
  212. data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration_archive.rb +4 -0
  213. data/lib/twilio-ruby/rest/flex_api/v1/plugin_release.rb +12 -1
  214. data/lib/twilio-ruby/rest/flex_api/v1/plugin_version_archive.rb +4 -0
  215. data/lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb +4 -0
  216. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +18 -1
  217. data/lib/twilio-ruby/rest/flex_api/v2/flex_user.rb +8 -0
  218. data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +4 -0
  219. data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +8 -0
  220. data/lib/twilio-ruby/rest/iam/v1/api_key.rb +10 -0
  221. data/lib/twilio-ruby/rest/iam/v1/get_api_keys.rb +4 -1
  222. data/lib/twilio-ruby/rest/iam/v1/{key.rb → new_api_key.rb} +24 -20
  223. data/lib/twilio-ruby/rest/iam/v1.rb +4 -4
  224. data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +8 -0
  225. data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +4 -0
  226. data/lib/twilio-ruby/rest/insights/v1/call/event.rb +4 -1
  227. data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +4 -1
  228. data/lib/twilio-ruby/rest/insights/v1/call.rb +4 -0
  229. data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +4 -1
  230. data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +8 -1
  231. data/lib/twilio-ruby/rest/insights/v1/conference.rb +8 -1
  232. data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +8 -1
  233. data/lib/twilio-ruby/rest/insights/v1/room.rb +8 -1
  234. data/lib/twilio-ruby/rest/insights/v1/setting.rb +8 -0
  235. data/lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb +18 -1
  236. data/lib/twilio-ruby/rest/intelligence/v2/operator.rb +8 -1
  237. data/lib/twilio-ruby/rest/intelligence/v2/operator_attachment.rb +6 -0
  238. data/lib/twilio-ruby/rest/intelligence/v2/operator_attachments.rb +4 -0
  239. data/lib/twilio-ruby/rest/intelligence/v2/operator_type.rb +8 -1
  240. data/lib/twilio-ruby/rest/intelligence/v2/prebuilt_operator.rb +8 -1
  241. data/lib/twilio-ruby/rest/intelligence/v2/service.rb +18 -1
  242. data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +4 -0
  243. data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +8 -1
  244. data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +4 -1
  245. data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +14 -1
  246. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +18 -1
  247. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +14 -1
  248. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +18 -1
  249. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +18 -1
  250. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +18 -1
  251. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +18 -1
  252. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +4 -1
  253. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +18 -1
  254. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +18 -1
  255. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +18 -1
  256. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +10 -1
  257. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +14 -1
  258. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +18 -1
  259. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +18 -1
  260. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +18 -1
  261. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +18 -1
  262. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +18 -1
  263. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +10 -1
  264. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +14 -1
  265. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +18 -1
  266. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +18 -1
  267. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +4 -0
  268. data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +4 -0
  269. data/lib/twilio-ruby/rest/marketplace/v1/available_add_on/available_add_on_extension.rb +8 -1
  270. data/lib/twilio-ruby/rest/marketplace/v1/available_add_on.rb +8 -1
  271. data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_extension.rb +12 -1
  272. data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_usage.rb +7 -2
  273. data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on.rb +18 -1
  274. data/lib/twilio-ruby/rest/marketplace/v1/module_data_management.rb +8 -0
  275. data/lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb +6 -1
  276. data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb +4 -0
  277. data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +12 -1
  278. data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +16 -1
  279. data/lib/twilio-ruby/rest/messaging/v1/deactivations.rb +4 -0
  280. data/lib/twilio-ruby/rest/messaging/v1/domain_certs.rb +10 -0
  281. data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +8 -0
  282. data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +4 -0
  283. data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +4 -0
  284. data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb +6 -0
  285. data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +4 -0
  286. data/lib/twilio-ruby/rest/messaging/v1/request_managed_cert.rb +4 -0
  287. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +14 -1
  288. data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +14 -1
  289. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +14 -1
  290. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +14 -1
  291. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +18 -1
  292. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +4 -0
  293. data/lib/twilio-ruby/rest/messaging/v1/service.rb +18 -1
  294. data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +18 -1
  295. data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +4 -0
  296. data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +18 -1
  297. data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +18 -1
  298. data/lib/twilio-ruby/rest/microvisor/v1/app/app_manifest.rb +4 -0
  299. data/lib/twilio-ruby/rest/microvisor/v1/app.rb +10 -1
  300. data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +18 -1
  301. data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +18 -1
  302. data/lib/twilio-ruby/rest/microvisor/v1/device.rb +12 -1
  303. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +8 -1
  304. data/lib/twilio-ruby/rest/monitor/v1/event.rb +8 -1
  305. data/lib/twilio-ruby/rest/notify/v1/credential.rb +18 -1
  306. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +14 -1
  307. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +4 -0
  308. data/lib/twilio-ruby/rest/notify/v1/service.rb +18 -1
  309. data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +8 -0
  310. data/lib/twilio-ruby/rest/numbers/v1/eligibility.rb +4 -0
  311. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +10 -0
  312. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb +6 -0
  313. data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +4 -0
  314. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb +4 -0
  315. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb +2 -0
  316. data/lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb +8 -1
  317. data/lib/twilio-ruby/rest/numbers/v1/{porting_webhook_configuration_fetch.rb → webhook.rb} +24 -20
  318. data/lib/twilio-ruby/rest/numbers/v1.rb +6 -6
  319. data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +4 -1
  320. data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +14 -1
  321. data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +8 -0
  322. data/lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb +4 -0
  323. data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +18 -1
  324. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +8 -1
  325. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +12 -1
  326. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +14 -1
  327. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +4 -0
  328. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +18 -1
  329. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +18 -1
  330. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +8 -1
  331. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +8 -1
  332. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +18 -1
  333. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +8 -1
  334. data/lib/twilio-ruby/rest/oauth/v1/authorize.rb +4 -0
  335. data/lib/twilio-ruby/rest/oauth/v1/token.rb +4 -0
  336. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +4 -1
  337. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +16 -1
  338. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +18 -1
  339. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +8 -1
  340. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +8 -1
  341. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +12 -1
  342. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +18 -1
  343. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +14 -1
  344. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +18 -1
  345. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +18 -1
  346. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +14 -1
  347. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +14 -1
  348. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +18 -1
  349. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +14 -1
  350. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +14 -1
  351. data/lib/twilio-ruby/rest/preview/sync/service.rb +18 -1
  352. data/lib/twilio-ruby/rest/preview/wireless/command.rb +12 -1
  353. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +18 -1
  354. data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +4 -0
  355. data/lib/twilio-ruby/rest/preview/wireless/sim.rb +12 -1
  356. data/lib/twilio-ruby/rest/preview_iam/v1/authorize.rb +148 -0
  357. data/lib/twilio-ruby/rest/preview_iam/v1/token.rb +186 -0
  358. data/lib/twilio-ruby/rest/preview_iam/v1.rb +46 -0
  359. data/lib/twilio-ruby/rest/preview_iam/versionless/organization/account.rb +309 -0
  360. data/lib/twilio-ruby/rest/preview_iam/versionless/organization/role_assignment.rb +375 -0
  361. data/lib/twilio-ruby/rest/preview_iam/versionless/organization/user.rb +530 -0
  362. data/lib/twilio-ruby/rest/preview_iam/versionless/organization.rb +277 -0
  363. data/lib/twilio-ruby/rest/preview_iam/versionless.rb +49 -0
  364. data/lib/twilio-ruby/rest/preview_iam.rb +9 -0
  365. data/lib/twilio-ruby/rest/preview_iam_base.rb +38 -0
  366. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +8 -1
  367. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +8 -1
  368. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +8 -1
  369. data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +4 -0
  370. data/lib/twilio-ruby/rest/pricing/v2/country.rb +8 -1
  371. data/lib/twilio-ruby/rest/pricing/v2/number.rb +4 -0
  372. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +8 -1
  373. data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +4 -0
  374. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +18 -1
  375. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +10 -1
  376. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +12 -1
  377. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +14 -1
  378. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +18 -1
  379. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +18 -1
  380. data/lib/twilio-ruby/rest/proxy/v1/service.rb +18 -1
  381. data/lib/twilio-ruby/rest/routes/v2/phone_number.rb +8 -0
  382. data/lib/twilio-ruby/rest/routes/v2/sip_domain.rb +8 -0
  383. data/lib/twilio-ruby/rest/routes/v2/trunk.rb +8 -0
  384. data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +8 -1
  385. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +18 -1
  386. data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +4 -0
  387. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +14 -1
  388. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +12 -1
  389. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +8 -1
  390. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +18 -1
  391. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +14 -1
  392. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +4 -0
  393. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +8 -1
  394. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +18 -1
  395. data/lib/twilio-ruby/rest/serverless/v1/service.rb +18 -1
  396. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +4 -0
  397. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +4 -0
  398. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +8 -1
  399. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +14 -1
  400. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +4 -0
  401. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +4 -0
  402. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +8 -1
  403. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +18 -1
  404. data/lib/twilio-ruby/rest/studio/v1/flow.rb +10 -1
  405. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +4 -0
  406. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +4 -0
  407. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +8 -1
  408. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +18 -1
  409. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +8 -1
  410. data/lib/twilio-ruby/rest/studio/v2/flow/flow_test_user.rb +8 -0
  411. data/lib/twilio-ruby/rest/studio/v2/flow.rb +18 -1
  412. data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +4 -0
  413. data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +12 -1
  414. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +16 -1
  415. data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +12 -1
  416. data/lib/twilio-ruby/rest/supersim/v1/network.rb +8 -1
  417. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +14 -1
  418. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +16 -1
  419. data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +4 -1
  420. data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +4 -1
  421. data/lib/twilio-ruby/rest/supersim/v1/sim/sim_ip_address.rb +4 -1
  422. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +16 -1
  423. data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +12 -1
  424. data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +4 -1
  425. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +14 -1
  426. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +18 -1
  427. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +18 -1
  428. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +14 -1
  429. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +18 -1
  430. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +18 -1
  431. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +14 -1
  432. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +18 -1
  433. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +4 -0
  434. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +18 -1
  435. data/lib/twilio-ruby/rest/sync/v1/service.rb +18 -1
  436. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +18 -1
  437. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +8 -1
  438. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +12 -1
  439. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +18 -1
  440. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +18 -1
  441. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_bulk_real_time_statistics.rb +4 -0
  442. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +4 -0
  443. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +4 -0
  444. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +4 -0
  445. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +4 -1
  446. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +18 -1
  447. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +12 -1
  448. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +12 -1
  449. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +4 -0
  450. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +4 -0
  451. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +4 -0
  452. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +4 -0
  453. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +18 -1
  454. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +4 -0
  455. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +4 -0
  456. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +4 -0
  457. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +18 -1
  458. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +4 -0
  459. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +4 -0
  460. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +4 -0
  461. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +18 -1
  462. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +14 -1
  463. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +14 -1
  464. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +18 -1
  465. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +14 -1
  466. data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +8 -0
  467. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +18 -1
  468. data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +8 -0
  469. data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +8 -0
  470. data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +4 -0
  471. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +14 -1
  472. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +14 -1
  473. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +12 -1
  474. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +18 -1
  475. data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +18 -1
  476. data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +8 -1
  477. data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +8 -1
  478. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +18 -1
  479. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +8 -1
  480. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +14 -1
  481. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +14 -1
  482. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +12 -1
  483. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +18 -1
  484. data/lib/twilio-ruby/rest/verify/v2/form.rb +4 -0
  485. data/lib/twilio-ruby/rest/verify/v2/safelist.rb +10 -0
  486. data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +8 -0
  487. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +4 -0
  488. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +16 -1
  489. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +14 -1
  490. data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +4 -0
  491. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +14 -1
  492. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +18 -1
  493. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +18 -1
  494. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +18 -1
  495. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +12 -0
  496. data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +4 -0
  497. data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +18 -1
  498. data/lib/twilio-ruby/rest/verify/v2/service.rb +18 -1
  499. data/lib/twilio-ruby/rest/verify/v2/template.rb +4 -1
  500. data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +8 -1
  501. data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +4 -0
  502. data/lib/twilio-ruby/rest/video/v1/composition.rb +14 -1
  503. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +18 -1
  504. data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +8 -0
  505. data/lib/twilio-ruby/rest/video/v1/recording.rb +10 -1
  506. data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +8 -0
  507. data/lib/twilio-ruby/rest/video/v1/room/participant/anonymize.rb +4 -0
  508. data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +8 -1
  509. data/lib/twilio-ruby/rest/video/v1/room/participant/subscribe_rules.rb +8 -0
  510. data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +8 -1
  511. data/lib/twilio-ruby/rest/video/v1/room/participant.rb +12 -1
  512. data/lib/twilio-ruby/rest/video/v1/room/recording_rules.rb +8 -0
  513. data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +10 -1
  514. data/lib/twilio-ruby/rest/video/v1/room.rb +16 -1
  515. data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +2 -0
  516. data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +18 -1
  517. data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +18 -1
  518. data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +18 -1
  519. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +4 -0
  520. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +4 -1
  521. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +8 -1
  522. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +8 -0
  523. data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +18 -1
  524. data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +18 -1
  525. data/lib/twilio-ruby/rest/wireless/v1/command.rb +14 -1
  526. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +18 -1
  527. data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +4 -1
  528. data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +4 -1
  529. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +14 -1
  530. data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +4 -1
  531. data/lib/twilio-ruby/version.rb +1 -1
  532. metadata +27 -5
@@ -56,6 +56,10 @@ module Twilio
56
56
 
57
57
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
58
58
 
59
+
60
+
61
+
62
+
59
63
  payload = @version.create('POST', @uri, data: data, headers: headers)
60
64
  ParticipantInstance.new(
61
65
  @version,
@@ -131,8 +135,11 @@ module Twilio
131
135
  'Page' => page_number,
132
136
  'PageSize' => page_size,
133
137
  })
138
+ headers = Twilio::Values.of({})
139
+
140
+
134
141
 
135
- response = @version.page('GET', @uri, params: params)
142
+ response = @version.page('GET', @uri, params: params, headers: headers)
136
143
 
137
144
  ParticipantPage.new(@version, response, @solution)
138
145
  end
@@ -184,6 +191,8 @@ module Twilio
184
191
 
185
192
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
186
193
 
194
+
195
+
187
196
  @version.delete('DELETE', @uri, headers: headers)
188
197
  end
189
198
 
@@ -194,6 +203,10 @@ module Twilio
194
203
 
195
204
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
196
205
 
206
+
207
+
208
+
209
+
197
210
  payload = @version.fetch('GET', @uri, headers: headers)
198
211
  ParticipantInstance.new(
199
212
  @version,
@@ -61,6 +61,10 @@ module Twilio
61
61
 
62
62
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
63
63
 
64
+
65
+
66
+
67
+
64
68
  payload = @version.create('POST', @uri, data: data, headers: headers)
65
69
  SessionInstance.new(
66
70
  @version,
@@ -135,8 +139,11 @@ module Twilio
135
139
  'Page' => page_number,
136
140
  'PageSize' => page_size,
137
141
  })
142
+ headers = Twilio::Values.of({})
143
+
144
+
138
145
 
139
- response = @version.page('GET', @uri, params: params)
146
+ response = @version.page('GET', @uri, params: params, headers: headers)
140
147
 
141
148
  SessionPage.new(@version, response, @solution)
142
149
  end
@@ -188,6 +195,8 @@ module Twilio
188
195
 
189
196
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
190
197
 
198
+
199
+
191
200
  @version.delete('DELETE', @uri, headers: headers)
192
201
  end
193
202
 
@@ -198,6 +207,10 @@ module Twilio
198
207
 
199
208
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
200
209
 
210
+
211
+
212
+
213
+
201
214
  payload = @version.fetch('GET', @uri, headers: headers)
202
215
  SessionInstance.new(
203
216
  @version,
@@ -227,6 +240,10 @@ module Twilio
227
240
 
228
241
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
229
242
 
243
+
244
+
245
+
246
+
230
247
  payload = @version.update('POST', @uri, data: data, headers: headers)
231
248
  SessionInstance.new(
232
249
  @version,
@@ -46,6 +46,10 @@ module Twilio
46
46
 
47
47
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
48
48
 
49
+
50
+
51
+
52
+
49
53
  payload = @version.create('POST', @uri, data: data, headers: headers)
50
54
  ShortCodeInstance.new(
51
55
  @version,
@@ -120,8 +124,11 @@ module Twilio
120
124
  'Page' => page_number,
121
125
  'PageSize' => page_size,
122
126
  })
127
+ headers = Twilio::Values.of({})
128
+
129
+
123
130
 
124
- response = @version.page('GET', @uri, params: params)
131
+ response = @version.page('GET', @uri, params: params, headers: headers)
125
132
 
126
133
  ShortCodePage.new(@version, response, @solution)
127
134
  end
@@ -171,6 +178,8 @@ module Twilio
171
178
 
172
179
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
173
180
 
181
+
182
+
174
183
  @version.delete('DELETE', @uri, headers: headers)
175
184
  end
176
185
 
@@ -181,6 +190,10 @@ module Twilio
181
190
 
182
191
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
183
192
 
193
+
194
+
195
+
196
+
184
197
  payload = @version.fetch('GET', @uri, headers: headers)
185
198
  ShortCodeInstance.new(
186
199
  @version,
@@ -204,6 +217,10 @@ module Twilio
204
217
 
205
218
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
206
219
 
220
+
221
+
222
+
223
+
207
224
  payload = @version.update('POST', @uri, data: data, headers: headers)
208
225
  ShortCodeInstance.new(
209
226
  @version,
@@ -65,6 +65,10 @@ module Twilio
65
65
 
66
66
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
67
67
 
68
+
69
+
70
+
71
+
68
72
  payload = @version.create('POST', @uri, data: data, headers: headers)
69
73
  ServiceInstance.new(
70
74
  @version,
@@ -138,8 +142,11 @@ module Twilio
138
142
  'Page' => page_number,
139
143
  'PageSize' => page_size,
140
144
  })
145
+ headers = Twilio::Values.of({})
146
+
147
+
141
148
 
142
- response = @version.page('GET', @uri, params: params)
149
+ response = @version.page('GET', @uri, params: params, headers: headers)
143
150
 
144
151
  ServicePage.new(@version, response, @solution)
145
152
  end
@@ -191,6 +198,8 @@ module Twilio
191
198
 
192
199
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
193
200
 
201
+
202
+
194
203
  @version.delete('DELETE', @uri, headers: headers)
195
204
  end
196
205
 
@@ -201,6 +210,10 @@ module Twilio
201
210
 
202
211
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
203
212
 
213
+
214
+
215
+
216
+
204
217
  payload = @version.fetch('GET', @uri, headers: headers)
205
218
  ServiceInstance.new(
206
219
  @version,
@@ -244,6 +257,10 @@ module Twilio
244
257
 
245
258
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
246
259
 
260
+
261
+
262
+
263
+
247
264
  payload = @version.update('POST', @uri, data: data, headers: headers)
248
265
  ServiceInstance.new(
249
266
  @version,
@@ -62,6 +62,10 @@ module Twilio
62
62
 
63
63
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
64
64
 
65
+
66
+
67
+
68
+
65
69
  payload = @version.fetch('GET', @uri, headers: headers)
66
70
  PhoneNumberInstance.new(
67
71
  @version,
@@ -87,6 +91,10 @@ module Twilio
87
91
 
88
92
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
89
93
 
94
+
95
+
96
+
97
+
90
98
  payload = @version.update('POST', @uri, data: data, headers: headers)
91
99
  PhoneNumberInstance.new(
92
100
  @version,
@@ -62,6 +62,10 @@ module Twilio
62
62
 
63
63
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
64
64
 
65
+
66
+
67
+
68
+
65
69
  payload = @version.fetch('GET', @uri, headers: headers)
66
70
  SipDomainInstance.new(
67
71
  @version,
@@ -87,6 +91,10 @@ module Twilio
87
91
 
88
92
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
89
93
 
94
+
95
+
96
+
97
+
90
98
  payload = @version.update('POST', @uri, data: data, headers: headers)
91
99
  SipDomainInstance.new(
92
100
  @version,
@@ -62,6 +62,10 @@ module Twilio
62
62
 
63
63
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
64
64
 
65
+
66
+
67
+
68
+
65
69
  payload = @version.fetch('GET', @uri, headers: headers)
66
70
  TrunkInstance.new(
67
71
  @version,
@@ -87,6 +91,10 @@ module Twilio
87
91
 
88
92
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
89
93
 
94
+
95
+
96
+
97
+
90
98
  payload = @version.update('POST', @uri, data: data, headers: headers)
91
99
  TrunkInstance.new(
92
100
  @version,
@@ -99,8 +99,11 @@ module Twilio
99
99
  'Page' => page_number,
100
100
  'PageSize' => page_size,
101
101
  })
102
+ headers = Twilio::Values.of({})
103
+
104
+
102
105
 
103
- response = @version.page('GET', @uri, params: params)
106
+ response = @version.page('GET', @uri, params: params, headers: headers)
104
107
 
105
108
  AssetVersionPage.new(@version, response, @solution)
106
109
  end
@@ -151,6 +154,10 @@ module Twilio
151
154
 
152
155
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
153
156
 
157
+
158
+
159
+
160
+
154
161
  payload = @version.fetch('GET', @uri, headers: headers)
155
162
  AssetVersionInstance.new(
156
163
  @version,
@@ -46,6 +46,10 @@ module Twilio
46
46
 
47
47
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
48
48
 
49
+
50
+
51
+
52
+
49
53
  payload = @version.create('POST', @uri, data: data, headers: headers)
50
54
  AssetInstance.new(
51
55
  @version,
@@ -120,8 +124,11 @@ module Twilio
120
124
  'Page' => page_number,
121
125
  'PageSize' => page_size,
122
126
  })
127
+ headers = Twilio::Values.of({})
128
+
129
+
123
130
 
124
- response = @version.page('GET', @uri, params: params)
131
+ response = @version.page('GET', @uri, params: params, headers: headers)
125
132
 
126
133
  AssetPage.new(@version, response, @solution)
127
134
  end
@@ -172,6 +179,8 @@ module Twilio
172
179
 
173
180
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
174
181
 
182
+
183
+
175
184
  @version.delete('DELETE', @uri, headers: headers)
176
185
  end
177
186
 
@@ -182,6 +191,10 @@ module Twilio
182
191
 
183
192
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
184
193
 
194
+
195
+
196
+
197
+
185
198
  payload = @version.fetch('GET', @uri, headers: headers)
186
199
  AssetInstance.new(
187
200
  @version,
@@ -205,6 +218,10 @@ module Twilio
205
218
 
206
219
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
207
220
 
221
+
222
+
223
+
224
+
208
225
  payload = @version.update('POST', @uri, data: data, headers: headers)
209
226
  AssetInstance.new(
210
227
  @version,
@@ -66,6 +66,10 @@ module Twilio
66
66
 
67
67
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
68
68
 
69
+
70
+
71
+
72
+
69
73
  payload = @version.fetch('GET', @uri, headers: headers)
70
74
  BuildStatusInstance.new(
71
75
  @version,
@@ -55,6 +55,10 @@ module Twilio
55
55
 
56
56
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
57
57
 
58
+
59
+
60
+
61
+
58
62
  payload = @version.create('POST', @uri, data: data, headers: headers)
59
63
  BuildInstance.new(
60
64
  @version,
@@ -129,8 +133,11 @@ module Twilio
129
133
  'Page' => page_number,
130
134
  'PageSize' => page_size,
131
135
  })
136
+ headers = Twilio::Values.of({})
137
+
138
+
132
139
 
133
- response = @version.page('GET', @uri, params: params)
140
+ response = @version.page('GET', @uri, params: params, headers: headers)
134
141
 
135
142
  BuildPage.new(@version, response, @solution)
136
143
  end
@@ -181,6 +188,8 @@ module Twilio
181
188
 
182
189
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
183
190
 
191
+
192
+
184
193
  @version.delete('DELETE', @uri, headers: headers)
185
194
  end
186
195
 
@@ -191,6 +200,10 @@ module Twilio
191
200
 
192
201
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
193
202
 
203
+
204
+
205
+
206
+
194
207
  payload = @version.fetch('GET', @uri, headers: headers)
195
208
  BuildInstance.new(
196
209
  @version,
@@ -50,6 +50,10 @@ module Twilio
50
50
 
51
51
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
52
52
 
53
+
54
+
55
+
56
+
53
57
  payload = @version.create('POST', @uri, data: data, headers: headers)
54
58
  DeploymentInstance.new(
55
59
  @version,
@@ -125,8 +129,11 @@ module Twilio
125
129
  'Page' => page_number,
126
130
  'PageSize' => page_size,
127
131
  })
132
+ headers = Twilio::Values.of({})
133
+
134
+
128
135
 
129
- response = @version.page('GET', @uri, params: params)
136
+ response = @version.page('GET', @uri, params: params, headers: headers)
130
137
 
131
138
  DeploymentPage.new(@version, response, @solution)
132
139
  end
@@ -177,6 +184,10 @@ module Twilio
177
184
 
178
185
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
179
186
 
187
+
188
+
189
+
190
+
180
191
  payload = @version.fetch('GET', @uri, headers: headers)
181
192
  DeploymentInstance.new(
182
193
  @version,
@@ -117,8 +117,11 @@ module Twilio
117
117
  'Page' => page_number,
118
118
  'PageSize' => page_size,
119
119
  })
120
+ headers = Twilio::Values.of({})
121
+
122
+
120
123
 
121
- response = @version.page('GET', @uri, params: params)
124
+ response = @version.page('GET', @uri, params: params, headers: headers)
122
125
 
123
126
  LogPage.new(@version, response, @solution)
124
127
  end
@@ -169,6 +172,10 @@ module Twilio
169
172
 
170
173
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
171
174
 
175
+
176
+
177
+
178
+
172
179
  payload = @version.fetch('GET', @uri, headers: headers)
173
180
  LogInstance.new(
174
181
  @version,
@@ -50,6 +50,10 @@ module Twilio
50
50
 
51
51
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
52
52
 
53
+
54
+
55
+
56
+
53
57
  payload = @version.create('POST', @uri, data: data, headers: headers)
54
58
  VariableInstance.new(
55
59
  @version,
@@ -125,8 +129,11 @@ module Twilio
125
129
  'Page' => page_number,
126
130
  'PageSize' => page_size,
127
131
  })
132
+ headers = Twilio::Values.of({})
133
+
134
+
128
135
 
129
- response = @version.page('GET', @uri, params: params)
136
+ response = @version.page('GET', @uri, params: params, headers: headers)
130
137
 
131
138
  VariablePage.new(@version, response, @solution)
132
139
  end
@@ -177,6 +184,8 @@ module Twilio
177
184
 
178
185
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
179
186
 
187
+
188
+
180
189
  @version.delete('DELETE', @uri, headers: headers)
181
190
  end
182
191
 
@@ -187,6 +196,10 @@ module Twilio
187
196
 
188
197
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
189
198
 
199
+
200
+
201
+
202
+
190
203
  payload = @version.fetch('GET', @uri, headers: headers)
191
204
  VariableInstance.new(
192
205
  @version,
@@ -214,6 +227,10 @@ module Twilio
214
227
 
215
228
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
216
229
 
230
+
231
+
232
+
233
+
217
234
  payload = @version.update('POST', @uri, data: data, headers: headers)
218
235
  VariableInstance.new(
219
236
  @version,
@@ -49,6 +49,10 @@ module Twilio
49
49
 
50
50
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
51
51
 
52
+
53
+
54
+
55
+
52
56
  payload = @version.create('POST', @uri, data: data, headers: headers)
53
57
  EnvironmentInstance.new(
54
58
  @version,
@@ -123,8 +127,11 @@ module Twilio
123
127
  'Page' => page_number,
124
128
  'PageSize' => page_size,
125
129
  })
130
+ headers = Twilio::Values.of({})
131
+
132
+
126
133
 
127
- response = @version.page('GET', @uri, params: params)
134
+ response = @version.page('GET', @uri, params: params, headers: headers)
128
135
 
129
136
  EnvironmentPage.new(@version, response, @solution)
130
137
  end
@@ -177,6 +184,8 @@ module Twilio
177
184
 
178
185
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
179
186
 
187
+
188
+
180
189
  @version.delete('DELETE', @uri, headers: headers)
181
190
  end
182
191
 
@@ -187,6 +196,10 @@ module Twilio
187
196
 
188
197
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
189
198
 
199
+
200
+
201
+
202
+
190
203
  payload = @version.fetch('GET', @uri, headers: headers)
191
204
  EnvironmentInstance.new(
192
205
  @version,
@@ -68,6 +68,10 @@ module Twilio
68
68
 
69
69
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
70
70
 
71
+
72
+
73
+
74
+
71
75
  payload = @version.fetch('GET', @uri, headers: headers)
72
76
  FunctionVersionContentInstance.new(
73
77
  @version,
@@ -99,8 +99,11 @@ module Twilio
99
99
  'Page' => page_number,
100
100
  'PageSize' => page_size,
101
101
  })
102
+ headers = Twilio::Values.of({})
103
+
104
+
102
105
 
103
- response = @version.page('GET', @uri, params: params)
106
+ response = @version.page('GET', @uri, params: params, headers: headers)
104
107
 
105
108
  FunctionVersionPage.new(@version, response, @solution)
106
109
  end
@@ -152,6 +155,10 @@ module Twilio
152
155
 
153
156
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
154
157
 
158
+
159
+
160
+
161
+
155
162
  payload = @version.fetch('GET', @uri, headers: headers)
156
163
  FunctionVersionInstance.new(
157
164
  @version,
@@ -46,6 +46,10 @@ module Twilio
46
46
 
47
47
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
48
48
 
49
+
50
+
51
+
52
+
49
53
  payload = @version.create('POST', @uri, data: data, headers: headers)
50
54
  FunctionInstance.new(
51
55
  @version,
@@ -120,8 +124,11 @@ module Twilio
120
124
  'Page' => page_number,
121
125
  'PageSize' => page_size,
122
126
  })
127
+ headers = Twilio::Values.of({})
128
+
129
+
123
130
 
124
- response = @version.page('GET', @uri, params: params)
131
+ response = @version.page('GET', @uri, params: params, headers: headers)
125
132
 
126
133
  FunctionPage.new(@version, response, @solution)
127
134
  end
@@ -172,6 +179,8 @@ module Twilio
172
179
 
173
180
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
174
181
 
182
+
183
+
175
184
  @version.delete('DELETE', @uri, headers: headers)
176
185
  end
177
186
 
@@ -182,6 +191,10 @@ module Twilio
182
191
 
183
192
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
184
193
 
194
+
195
+
196
+
197
+
185
198
  payload = @version.fetch('GET', @uri, headers: headers)
186
199
  FunctionInstance.new(
187
200
  @version,
@@ -205,6 +218,10 @@ module Twilio
205
218
 
206
219
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
207
220
 
221
+
222
+
223
+
224
+
208
225
  payload = @version.update('POST', @uri, data: data, headers: headers)
209
226
  FunctionInstance.new(
210
227
  @version,