twilio-ruby 7.1.1 → 7.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (438) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +24 -0
  3. data/Makefile +3 -0
  4. data/README.md +2 -2
  5. data/lib/twilio-ruby/base/client_base.rb +4 -1
  6. data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +2 -1
  7. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +8 -4
  8. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +8 -4
  9. data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +6 -3
  10. data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +4 -2
  11. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +8 -4
  12. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +8 -4
  13. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +2 -1
  14. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +2 -1
  15. data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +2 -1
  16. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +2 -1
  17. data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +4 -2
  18. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +8 -4
  19. data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +4 -2
  20. data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +4 -2
  21. data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message.rb +2 -1
  22. data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb +4 -2
  23. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +9 -5
  24. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +8 -4
  25. data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +6 -3
  26. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +4 -2
  27. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +6 -3
  28. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +2 -1
  29. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +6 -3
  30. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +2 -1
  31. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +2 -1
  32. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +2 -1
  33. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +8 -4
  34. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +6 -3
  35. data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +2 -1
  36. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +4 -2
  37. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +8 -4
  38. data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +2 -1
  39. data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +2 -1
  40. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +2 -1
  41. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +6 -3
  42. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +4 -2
  43. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +8 -4
  44. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +4 -2
  45. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +4 -2
  46. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +4 -2
  47. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +5 -3
  48. data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +4 -2
  49. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +6 -3
  50. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +8 -4
  51. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +8 -4
  52. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +6 -3
  53. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +6 -3
  54. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +6 -3
  55. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +6 -3
  56. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +6 -3
  57. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +8 -4
  58. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +8 -4
  59. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +8 -4
  60. data/lib/twilio-ruby/rest/api/v2010/account/token.rb +2 -1
  61. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +4 -2
  62. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +8 -4
  63. data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +2 -1
  64. data/lib/twilio-ruby/rest/api/v2010/account.rb +6 -3
  65. data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +2 -1
  66. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +2 -1
  67. data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +4 -2
  68. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +2 -1
  69. data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +4 -2
  70. data/lib/twilio-ruby/rest/chat/v1/credential.rb +8 -4
  71. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +6 -3
  72. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +8 -4
  73. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +8 -4
  74. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +8 -4
  75. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +8 -4
  76. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +8 -4
  77. data/lib/twilio-ruby/rest/chat/v1/service.rb +8 -4
  78. data/lib/twilio-ruby/rest/chat/v2/credential.rb +8 -4
  79. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +4 -2
  80. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +6 -3
  81. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +5 -4
  82. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +5 -4
  83. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +8 -4
  84. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +5 -4
  85. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +8 -4
  86. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +4 -2
  87. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +5 -3
  88. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +6 -4
  89. data/lib/twilio-ruby/rest/chat/v2/service.rb +8 -4
  90. data/lib/twilio-ruby/rest/chat/v3/channel.rb +1 -1
  91. data/lib/twilio-ruby/rest/content/v1/content/approval_create.rb +3 -2
  92. data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +2 -1
  93. data/lib/twilio-ruby/rest/content/v1/content.rb +7 -4
  94. data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +8 -4
  95. data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +4 -2
  96. data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +4 -2
  97. data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +2 -1
  98. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +5 -4
  99. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +5 -4
  100. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +8 -4
  101. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +5 -4
  102. data/lib/twilio-ruby/rest/conversations/v1/credential.rb +8 -4
  103. data/lib/twilio-ruby/rest/conversations/v1/role.rb +8 -4
  104. data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +4 -2
  105. data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +4 -2
  106. data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +4 -2
  107. data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +4 -2
  108. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +2 -1
  109. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +5 -4
  110. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +5 -4
  111. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +8 -4
  112. data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +5 -4
  113. data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +8 -4
  114. data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +6 -3
  115. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +5 -4
  116. data/lib/twilio-ruby/rest/conversations/v1/service.rb +6 -3
  117. data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +6 -3
  118. data/lib/twilio-ruby/rest/conversations/v1/user.rb +5 -4
  119. data/lib/twilio-ruby/rest/events/v1/event_type.rb +16 -1
  120. data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +2 -1
  121. data/lib/twilio-ruby/rest/events/v1/schema.rb +2 -1
  122. data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +2 -1
  123. data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +2 -1
  124. data/lib/twilio-ruby/rest/events/v1/sink.rb +8 -4
  125. data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +8 -4
  126. data/lib/twilio-ruby/rest/events/v1/subscription.rb +8 -4
  127. data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +2 -2
  128. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +6 -3
  129. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +5 -3
  130. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +8 -4
  131. data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +1 -1
  132. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +4 -4
  133. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +3 -3
  134. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +3 -3
  135. data/lib/twilio-ruby/rest/flex_api/v1/insights_session.rb +1 -1
  136. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +1 -1
  137. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +1 -1
  138. data/lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb +1 -1
  139. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +2 -1
  140. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +4 -2
  141. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +4 -2
  142. data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +4 -2
  143. data/lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb +2 -2
  144. data/lib/twilio-ruby/rest/flex_api/v1/plugin.rb +3 -3
  145. data/lib/twilio-ruby/rest/flex_api/v1/plugin_archive.rb +1 -1
  146. data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration/configured_plugin.rb +1 -1
  147. data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration.rb +2 -2
  148. data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration_archive.rb +1 -1
  149. data/lib/twilio-ruby/rest/flex_api/v1/plugin_release.rb +2 -2
  150. data/lib/twilio-ruby/rest/flex_api/v1/plugin_version_archive.rb +1 -1
  151. data/lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb +2 -1
  152. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +8 -4
  153. data/lib/twilio-ruby/rest/flex_api/v2/flex_user.rb +2 -1
  154. data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +1 -1
  155. data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +4 -2
  156. data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +4 -2
  157. data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +2 -1
  158. data/lib/twilio-ruby/rest/insights/v1/call.rb +2 -1
  159. data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +2 -1
  160. data/lib/twilio-ruby/rest/insights/v1/conference.rb +2 -1
  161. data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +2 -1
  162. data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -1
  163. data/lib/twilio-ruby/rest/insights/v1/setting.rb +4 -2
  164. data/lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb +7 -4
  165. data/lib/twilio-ruby/rest/intelligence/v2/operator.rb +2 -1
  166. data/lib/twilio-ruby/rest/intelligence/v2/operator_attachment.rb +4 -2
  167. data/lib/twilio-ruby/rest/intelligence/v2/operator_attachments.rb +2 -1
  168. data/lib/twilio-ruby/rest/intelligence/v2/operator_type.rb +2 -1
  169. data/lib/twilio-ruby/rest/intelligence/v2/prebuilt_operator.rb +2 -1
  170. data/lib/twilio-ruby/rest/intelligence/v2/service.rb +7 -4
  171. data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +2 -1
  172. data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +2 -1
  173. data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +6 -3
  174. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +8 -4
  175. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +6 -3
  176. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +8 -4
  177. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +8 -4
  178. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +8 -4
  179. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +8 -4
  180. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +8 -4
  181. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +8 -4
  182. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +8 -4
  183. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +4 -2
  184. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +6 -3
  185. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +5 -4
  186. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +5 -4
  187. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +8 -4
  188. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +5 -4
  189. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +8 -4
  190. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +4 -2
  191. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +6 -3
  192. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +6 -4
  193. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +8 -4
  194. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +2 -1
  195. data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +2 -1
  196. data/lib/twilio-ruby/rest/marketplace/v1/available_add_on/available_add_on_extension.rb +2 -1
  197. data/lib/twilio-ruby/rest/marketplace/v1/available_add_on.rb +2 -1
  198. data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_extension.rb +4 -2
  199. data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_usage.rb +3 -2
  200. data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on.rb +8 -4
  201. data/lib/twilio-ruby/rest/marketplace/v1/module_data_management.rb +4 -2
  202. data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb +2 -1
  203. data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +4 -2
  204. data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +6 -3
  205. data/lib/twilio-ruby/rest/messaging/v1/deactivations.rb +2 -1
  206. data/lib/twilio-ruby/rest/messaging/v1/domain_certs.rb +6 -3
  207. data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +4 -2
  208. data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +2 -1
  209. data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -1
  210. data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb +4 -2
  211. data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +2 -1
  212. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +6 -3
  213. data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +2 -1
  214. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +6 -3
  215. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +6 -3
  216. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +8 -4
  217. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +2 -1
  218. data/lib/twilio-ruby/rest/messaging/v1/service.rb +8 -4
  219. data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +8 -4
  220. data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +2 -1
  221. data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +8 -4
  222. data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +8 -4
  223. data/lib/twilio-ruby/rest/microvisor/v1/app/app_manifest.rb +2 -1
  224. data/lib/twilio-ruby/rest/microvisor/v1/app.rb +4 -2
  225. data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +8 -4
  226. data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +8 -4
  227. data/lib/twilio-ruby/rest/microvisor/v1/device.rb +4 -2
  228. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +2 -1
  229. data/lib/twilio-ruby/rest/monitor/v1/event.rb +2 -1
  230. data/lib/twilio-ruby/rest/notify/v1/credential.rb +8 -4
  231. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +6 -3
  232. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +2 -1
  233. data/lib/twilio-ruby/rest/notify/v1/service.rb +8 -4
  234. data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +5 -3
  235. data/lib/twilio-ruby/rest/numbers/v1/eligibility.rb +3 -2
  236. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +14 -4
  237. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb +29 -6
  238. data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +2 -15
  239. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb +3 -2
  240. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb +2 -1
  241. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_fetch.rb +2 -1
  242. data/lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb +3 -2
  243. data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +6 -3
  244. data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +5 -3
  245. data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +6 -3
  246. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +2 -1
  247. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +4 -2
  248. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +6 -3
  249. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +2 -1
  250. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +8 -4
  251. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +8 -4
  252. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +2 -1
  253. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +2 -1
  254. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +8 -4
  255. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +2 -1
  256. data/lib/twilio-ruby/rest/oauth/v1/authorize.rb +2 -1
  257. data/lib/twilio-ruby/rest/oauth/v1/token.rb +2 -1
  258. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +8 -4
  259. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +8 -4
  260. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +8 -4
  261. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +8 -4
  262. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +8 -4
  263. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +6 -3
  264. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +8 -4
  265. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +2 -1
  266. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +2 -1
  267. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +4 -2
  268. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +8 -4
  269. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +6 -3
  270. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +7 -4
  271. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +6 -4
  272. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +6 -3
  273. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +6 -3
  274. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +6 -4
  275. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +6 -3
  276. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +6 -3
  277. data/lib/twilio-ruby/rest/preview/sync/service.rb +8 -4
  278. data/lib/twilio-ruby/rest/preview/wireless/command.rb +4 -2
  279. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +8 -4
  280. data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +2 -1
  281. data/lib/twilio-ruby/rest/preview/wireless/sim.rb +4 -2
  282. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +2 -1
  283. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +2 -1
  284. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +2 -1
  285. data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +2 -1
  286. data/lib/twilio-ruby/rest/pricing/v2/country.rb +2 -1
  287. data/lib/twilio-ruby/rest/pricing/v2/number.rb +2 -1
  288. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +2 -1
  289. data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +2 -1
  290. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +8 -4
  291. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +4 -2
  292. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +4 -2
  293. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +6 -3
  294. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +8 -4
  295. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +8 -4
  296. data/lib/twilio-ruby/rest/proxy/v1/service.rb +8 -4
  297. data/lib/twilio-ruby/rest/routes/v2/phone_number.rb +4 -2
  298. data/lib/twilio-ruby/rest/routes/v2/sip_domain.rb +4 -2
  299. data/lib/twilio-ruby/rest/routes/v2/trunk.rb +4 -2
  300. data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +2 -1
  301. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +8 -4
  302. data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +2 -1
  303. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +6 -3
  304. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +4 -2
  305. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +2 -1
  306. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +8 -4
  307. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +6 -3
  308. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +2 -1
  309. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +2 -1
  310. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +8 -4
  311. data/lib/twilio-ruby/rest/serverless/v1/service.rb +8 -4
  312. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +2 -1
  313. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +2 -1
  314. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +2 -1
  315. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +6 -3
  316. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +2 -1
  317. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +2 -1
  318. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +2 -1
  319. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +8 -4
  320. data/lib/twilio-ruby/rest/studio/v1/flow.rb +4 -2
  321. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +2 -1
  322. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +2 -1
  323. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +2 -1
  324. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +8 -4
  325. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +2 -1
  326. data/lib/twilio-ruby/rest/studio/v2/flow/flow_test_user.rb +4 -2
  327. data/lib/twilio-ruby/rest/studio/v2/flow.rb +8 -4
  328. data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +2 -1
  329. data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +4 -2
  330. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +6 -3
  331. data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +4 -2
  332. data/lib/twilio-ruby/rest/supersim/v1/network.rb +2 -1
  333. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +6 -3
  334. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +6 -3
  335. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +6 -3
  336. data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +4 -2
  337. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +6 -3
  338. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +7 -4
  339. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +6 -4
  340. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +6 -3
  341. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +8 -4
  342. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +6 -4
  343. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +6 -3
  344. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +8 -4
  345. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +2 -1
  346. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +8 -4
  347. data/lib/twilio-ruby/rest/sync/v1/service.rb +8 -4
  348. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +8 -4
  349. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +2 -1
  350. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +3 -2
  351. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +6 -4
  352. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +8 -4
  353. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_bulk_real_time_statistics.rb +3 -2
  354. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +2 -1
  355. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +2 -1
  356. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +2 -1
  357. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +8 -4
  358. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +3 -2
  359. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +4 -2
  360. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +2 -1
  361. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +2 -1
  362. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +2 -1
  363. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +2 -1
  364. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +6 -4
  365. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +2 -1
  366. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +2 -1
  367. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +2 -1
  368. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +8 -4
  369. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +2 -1
  370. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +2 -1
  371. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +2 -1
  372. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +8 -4
  373. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +6 -3
  374. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +6 -3
  375. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +8 -4
  376. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +6 -3
  377. data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +4 -2
  378. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +8 -4
  379. data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +4 -2
  380. data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +4 -2
  381. data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +6 -2
  382. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +6 -3
  383. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +6 -3
  384. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +4 -2
  385. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +8 -4
  386. data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +8 -4
  387. data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +2 -1
  388. data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +2 -1
  389. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +8 -4
  390. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +2 -1
  391. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +6 -3
  392. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +6 -3
  393. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +4 -2
  394. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +8 -4
  395. data/lib/twilio-ruby/rest/verify/v2/form.rb +2 -1
  396. data/lib/twilio-ruby/rest/verify/v2/safelist.rb +6 -3
  397. data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +4 -2
  398. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +2 -1
  399. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +6 -3
  400. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +6 -3
  401. data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +2 -1
  402. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +6 -3
  403. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +8 -4
  404. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +8 -4
  405. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +8 -4
  406. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +6 -3
  407. data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +2 -1
  408. data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +8 -4
  409. data/lib/twilio-ruby/rest/verify/v2/service.rb +8 -4
  410. data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +2 -1
  411. data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +2 -1
  412. data/lib/twilio-ruby/rest/video/v1/composition.rb +6 -3
  413. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +8 -4
  414. data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +4 -2
  415. data/lib/twilio-ruby/rest/video/v1/recording.rb +4 -2
  416. data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +4 -2
  417. data/lib/twilio-ruby/rest/video/v1/room/participant/anonymize.rb +2 -1
  418. data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +2 -1
  419. data/lib/twilio-ruby/rest/video/v1/room/participant/subscribe_rules.rb +4 -2
  420. data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +2 -1
  421. data/lib/twilio-ruby/rest/video/v1/room/participant.rb +4 -2
  422. data/lib/twilio-ruby/rest/video/v1/room/recording_rules.rb +4 -2
  423. data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +4 -2
  424. data/lib/twilio-ruby/rest/video/v1/room.rb +6 -3
  425. data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +2 -1
  426. data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +8 -4
  427. data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +8 -4
  428. data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +8 -4
  429. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +2 -1
  430. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +2 -1
  431. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +4 -2
  432. data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +8 -4
  433. data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +8 -4
  434. data/lib/twilio-ruby/rest/wireless/v1/command.rb +6 -3
  435. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +8 -4
  436. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +6 -3
  437. data/lib/twilio-ruby/version.rb +1 -1
  438. metadata +2 -2
@@ -82,8 +82,9 @@ module Twilio
82
82
  'TaskChannel' => task_channel,
83
83
  'SplitByWaitTime' => split_by_wait_time,
84
84
  })
85
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
85
86
 
86
- payload = @version.fetch('GET', @uri, params: params)
87
+ payload = @version.fetch('GET', @uri, params: params, headers: headers)
87
88
  WorkflowStatisticsInstance.new(
88
89
  @version,
89
90
  payload,
@@ -56,8 +56,9 @@ module Twilio
56
56
  'TaskReservationTimeout' => task_reservation_timeout,
57
57
  })
58
58
 
59
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
59
60
 
60
- payload = @version.create('POST', @uri, data: data)
61
+ payload = @version.create('POST', @uri, data: data, headers: headers)
61
62
  WorkflowInstance.new(
62
63
  @version,
63
64
  payload,
@@ -189,8 +190,9 @@ module Twilio
189
190
  # @return [Boolean] True if delete succeeds, false otherwise
190
191
  def delete
191
192
 
193
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
192
194
 
193
- @version.delete('DELETE', @uri)
195
+ @version.delete('DELETE', @uri, headers: headers)
194
196
  end
195
197
 
196
198
  ##
@@ -198,8 +200,9 @@ module Twilio
198
200
  # @return [WorkflowInstance] Fetched WorkflowInstance
199
201
  def fetch
200
202
 
203
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
201
204
 
202
- payload = @version.fetch('GET', @uri)
205
+ payload = @version.fetch('GET', @uri, headers: headers)
203
206
  WorkflowInstance.new(
204
207
  @version,
205
208
  payload,
@@ -235,8 +238,9 @@ module Twilio
235
238
  'ReEvaluateTasks' => re_evaluate_tasks,
236
239
  })
237
240
 
241
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
238
242
 
239
- payload = @version.update('POST', @uri, data: data)
243
+ payload = @version.update('POST', @uri, data: data, headers: headers)
240
244
  WorkflowInstance.new(
241
245
  @version,
242
246
  payload,
@@ -80,8 +80,9 @@ module Twilio
80
80
  'TaskChannel' => task_channel,
81
81
  'SplitByWaitTime' => split_by_wait_time,
82
82
  })
83
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
83
84
 
84
- payload = @version.fetch('GET', @uri, params: params)
85
+ payload = @version.fetch('GET', @uri, params: params, headers: headers)
85
86
  WorkspaceCumulativeStatisticsInstance.new(
86
87
  @version,
87
88
  payload,
@@ -68,8 +68,9 @@ module Twilio
68
68
  params = Twilio::Values.of({
69
69
  'TaskChannel' => task_channel,
70
70
  })
71
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
71
72
 
72
- payload = @version.fetch('GET', @uri, params: params)
73
+ payload = @version.fetch('GET', @uri, params: params, headers: headers)
73
74
  WorkspaceRealTimeStatisticsInstance.new(
74
75
  @version,
75
76
  payload,
@@ -80,8 +80,9 @@ module Twilio
80
80
  'TaskChannel' => task_channel,
81
81
  'SplitByWaitTime' => split_by_wait_time,
82
82
  })
83
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
83
84
 
84
- payload = @version.fetch('GET', @uri, params: params)
85
+ payload = @version.fetch('GET', @uri, params: params, headers: headers)
85
86
  WorkspaceStatisticsInstance.new(
86
87
  @version,
87
88
  payload,
@@ -57,8 +57,9 @@ module Twilio
57
57
  'PrioritizeQueueOrder' => prioritize_queue_order,
58
58
  })
59
59
 
60
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
60
61
 
61
- payload = @version.create('POST', @uri, data: data)
62
+ payload = @version.create('POST', @uri, data: data, headers: headers)
62
63
  WorkspaceInstance.new(
63
64
  @version,
64
65
  payload,
@@ -195,8 +196,9 @@ module Twilio
195
196
  # @return [Boolean] True if delete succeeds, false otherwise
196
197
  def delete
197
198
 
199
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
198
200
 
199
- @version.delete('DELETE', @uri)
201
+ @version.delete('DELETE', @uri, headers: headers)
200
202
  end
201
203
 
202
204
  ##
@@ -204,8 +206,9 @@ module Twilio
204
206
  # @return [WorkspaceInstance] Fetched WorkspaceInstance
205
207
  def fetch
206
208
 
209
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
207
210
 
208
- payload = @version.fetch('GET', @uri)
211
+ payload = @version.fetch('GET', @uri, headers: headers)
209
212
  WorkspaceInstance.new(
210
213
  @version,
211
214
  payload,
@@ -243,8 +246,9 @@ module Twilio
243
246
  'PrioritizeQueueOrder' => prioritize_queue_order,
244
247
  })
245
248
 
249
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
246
250
 
247
- payload = @version.update('POST', @uri, data: data)
251
+ payload = @version.update('POST', @uri, data: data, headers: headers)
248
252
  WorkspaceInstance.new(
249
253
  @version,
250
254
  payload,
@@ -44,8 +44,9 @@ module Twilio
44
44
  'CredentialListSid' => credential_list_sid,
45
45
  })
46
46
 
47
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
47
48
 
48
- payload = @version.create('POST', @uri, data: data)
49
+ payload = @version.create('POST', @uri, data: data, headers: headers)
49
50
  CredentialListInstance.new(
50
51
  @version,
51
52
  payload,
@@ -168,8 +169,9 @@ module Twilio
168
169
  # @return [Boolean] True if delete succeeds, false otherwise
169
170
  def delete
170
171
 
172
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
171
173
 
172
- @version.delete('DELETE', @uri)
174
+ @version.delete('DELETE', @uri, headers: headers)
173
175
  end
174
176
 
175
177
  ##
@@ -177,8 +179,9 @@ module Twilio
177
179
  # @return [CredentialListInstance] Fetched CredentialListInstance
178
180
  def fetch
179
181
 
182
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
180
183
 
181
- payload = @version.fetch('GET', @uri)
184
+ payload = @version.fetch('GET', @uri, headers: headers)
182
185
  CredentialListInstance.new(
183
186
  @version,
184
187
  payload,
@@ -44,8 +44,9 @@ module Twilio
44
44
  'IpAccessControlListSid' => ip_access_control_list_sid,
45
45
  })
46
46
 
47
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
47
48
 
48
- payload = @version.create('POST', @uri, data: data)
49
+ payload = @version.create('POST', @uri, data: data, headers: headers)
49
50
  IpAccessControlListInstance.new(
50
51
  @version,
51
52
  payload,
@@ -168,8 +169,9 @@ module Twilio
168
169
  # @return [Boolean] True if delete succeeds, false otherwise
169
170
  def delete
170
171
 
172
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
171
173
 
172
- @version.delete('DELETE', @uri)
174
+ @version.delete('DELETE', @uri, headers: headers)
173
175
  end
174
176
 
175
177
  ##
@@ -177,8 +179,9 @@ module Twilio
177
179
  # @return [IpAccessControlListInstance] Fetched IpAccessControlListInstance
178
180
  def fetch
179
181
 
182
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
180
183
 
181
- payload = @version.fetch('GET', @uri)
184
+ payload = @version.fetch('GET', @uri, headers: headers)
182
185
  IpAccessControlListInstance.new(
183
186
  @version,
184
187
  payload,
@@ -56,8 +56,9 @@ module Twilio
56
56
  'SipUrl' => sip_url,
57
57
  })
58
58
 
59
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
59
60
 
60
- payload = @version.create('POST', @uri, data: data)
61
+ payload = @version.create('POST', @uri, data: data, headers: headers)
61
62
  OriginationUrlInstance.new(
62
63
  @version,
63
64
  payload,
@@ -180,8 +181,9 @@ module Twilio
180
181
  # @return [Boolean] True if delete succeeds, false otherwise
181
182
  def delete
182
183
 
184
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
183
185
 
184
- @version.delete('DELETE', @uri)
186
+ @version.delete('DELETE', @uri, headers: headers)
185
187
  end
186
188
 
187
189
  ##
@@ -189,8 +191,9 @@ module Twilio
189
191
  # @return [OriginationUrlInstance] Fetched OriginationUrlInstance
190
192
  def fetch
191
193
 
194
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
192
195
 
193
- payload = @version.fetch('GET', @uri)
196
+ payload = @version.fetch('GET', @uri, headers: headers)
194
197
  OriginationUrlInstance.new(
195
198
  @version,
196
199
  payload,
@@ -223,8 +226,9 @@ module Twilio
223
226
  'SipUrl' => sip_url,
224
227
  })
225
228
 
229
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
226
230
 
227
- payload = @version.update('POST', @uri, data: data)
231
+ payload = @version.update('POST', @uri, data: data, headers: headers)
228
232
  OriginationUrlInstance.new(
229
233
  @version,
230
234
  payload,
@@ -44,8 +44,9 @@ module Twilio
44
44
  'PhoneNumberSid' => phone_number_sid,
45
45
  })
46
46
 
47
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
47
48
 
48
- payload = @version.create('POST', @uri, data: data)
49
+ payload = @version.create('POST', @uri, data: data, headers: headers)
49
50
  PhoneNumberInstance.new(
50
51
  @version,
51
52
  payload,
@@ -168,8 +169,9 @@ module Twilio
168
169
  # @return [Boolean] True if delete succeeds, false otherwise
169
170
  def delete
170
171
 
172
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
171
173
 
172
- @version.delete('DELETE', @uri)
174
+ @version.delete('DELETE', @uri, headers: headers)
173
175
  end
174
176
 
175
177
  ##
@@ -177,8 +179,9 @@ module Twilio
177
179
  # @return [PhoneNumberInstance] Fetched PhoneNumberInstance
178
180
  def fetch
179
181
 
182
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
180
183
 
181
- payload = @version.fetch('GET', @uri)
184
+ payload = @version.fetch('GET', @uri, headers: headers)
182
185
  PhoneNumberInstance.new(
183
186
  @version,
184
187
  payload,
@@ -62,8 +62,9 @@ module Twilio
62
62
  # @return [RecordingInstance] Fetched RecordingInstance
63
63
  def fetch
64
64
 
65
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
65
66
 
66
- payload = @version.fetch('GET', @uri)
67
+ payload = @version.fetch('GET', @uri, headers: headers)
67
68
  RecordingInstance.new(
68
69
  @version,
69
70
  payload,
@@ -86,8 +87,9 @@ module Twilio
86
87
  'Trim' => trim,
87
88
  })
88
89
 
90
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
89
91
 
90
- payload = @version.update('POST', @uri, data: data)
92
+ payload = @version.update('POST', @uri, data: data, headers: headers)
91
93
  RecordingInstance.new(
92
94
  @version,
93
95
  payload,
@@ -63,8 +63,9 @@ module Twilio
63
63
  'TransferCallerId' => transfer_caller_id,
64
64
  })
65
65
 
66
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
66
67
 
67
- payload = @version.create('POST', @uri, data: data)
68
+ payload = @version.create('POST', @uri, data: data, headers: headers)
68
69
  TrunkInstance.new(
69
70
  @version,
70
71
  payload,
@@ -190,8 +191,9 @@ module Twilio
190
191
  # @return [Boolean] True if delete succeeds, false otherwise
191
192
  def delete
192
193
 
194
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
193
195
 
194
- @version.delete('DELETE', @uri)
196
+ @version.delete('DELETE', @uri, headers: headers)
195
197
  end
196
198
 
197
199
  ##
@@ -199,8 +201,9 @@ module Twilio
199
201
  # @return [TrunkInstance] Fetched TrunkInstance
200
202
  def fetch
201
203
 
204
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
202
205
 
203
- payload = @version.fetch('GET', @uri)
206
+ payload = @version.fetch('GET', @uri, headers: headers)
204
207
  TrunkInstance.new(
205
208
  @version,
206
209
  payload,
@@ -241,8 +244,9 @@ module Twilio
241
244
  'TransferCallerId' => transfer_caller_id,
242
245
  })
243
246
 
247
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
244
248
 
245
- payload = @version.update('POST', @uri, data: data)
249
+ payload = @version.update('POST', @uri, data: data, headers: headers)
246
250
  TrunkInstance.new(
247
251
  @version,
248
252
  payload,
@@ -45,8 +45,9 @@ module Twilio
45
45
  'NotificationEmail' => notification_email,
46
46
  })
47
47
 
48
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
48
49
 
49
- payload = @version.create('POST', @uri, data: data)
50
+ payload = @version.create('POST', @uri, data: data, headers: headers)
50
51
  ComplianceInquiriesInstance.new(
51
52
  @version,
52
53
  payload,
@@ -90,8 +91,9 @@ module Twilio
90
91
  'PrimaryProfileSid' => primary_profile_sid,
91
92
  })
92
93
 
94
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
93
95
 
94
- payload = @version.update('POST', @uri, data: data)
96
+ payload = @version.update('POST', @uri, data: data, headers: headers)
95
97
  ComplianceInquiriesInstance.new(
96
98
  @version,
97
99
  payload,
@@ -156,8 +156,9 @@ module Twilio
156
156
  'ThemeSetId' => theme_set_id,
157
157
  })
158
158
 
159
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
159
160
 
160
- payload = @version.create('POST', @uri, data: data)
161
+ payload = @version.create('POST', @uri, data: data, headers: headers)
161
162
  ComplianceRegistrationInquiriesInstance.new(
162
163
  @version,
163
164
  payload,
@@ -204,8 +205,9 @@ module Twilio
204
205
  'ThemeSetId' => theme_set_id,
205
206
  })
206
207
 
208
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
207
209
 
208
- payload = @version.update('POST', @uri, data: data)
210
+ payload = @version.update('POST', @uri, data: data, headers: headers)
209
211
  ComplianceRegistrationInquiriesInstance.new(
210
212
  @version,
211
213
  payload,
@@ -54,6 +54,7 @@ module Twilio
54
54
  # @param [String] business_contact_email The email address of the contact for the business or organization using the Tollfree number.
55
55
  # @param [String] business_contact_phone The phone number of the contact for the business or organization using the Tollfree number.
56
56
  # @param [String] theme_set_id Theme id for styling the inquiry form.
57
+ # @param [Boolean] skip_messaging_use_case Skip the messaging use case screen of the inquiry form.
57
58
  # @return [ComplianceTollfreeInquiriesInstance] Created ComplianceTollfreeInquiriesInstance
58
59
  def create(
59
60
  tollfree_phone_number: nil,
@@ -77,7 +78,8 @@ module Twilio
77
78
  business_contact_last_name: :unset,
78
79
  business_contact_email: :unset,
79
80
  business_contact_phone: :unset,
80
- theme_set_id: :unset
81
+ theme_set_id: :unset,
82
+ skip_messaging_use_case: :unset
81
83
  )
82
84
 
83
85
  data = Twilio::Values.of({
@@ -103,10 +105,12 @@ module Twilio
103
105
  'BusinessContactEmail' => business_contact_email,
104
106
  'BusinessContactPhone' => business_contact_phone,
105
107
  'ThemeSetId' => theme_set_id,
108
+ 'SkipMessagingUseCase' => skip_messaging_use_case,
106
109
  })
107
110
 
111
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
108
112
 
109
- payload = @version.create('POST', @uri, data: data)
113
+ payload = @version.create('POST', @uri, data: data, headers: headers)
110
114
  ComplianceTollfreeInquiriesInstance.new(
111
115
  @version,
112
116
  payload,
@@ -47,8 +47,9 @@ module Twilio
47
47
  'ChannelEndpointSid' => channel_endpoint_sid,
48
48
  })
49
49
 
50
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
50
51
 
51
- payload = @version.create('POST', @uri, data: data)
52
+ payload = @version.create('POST', @uri, data: data, headers: headers)
52
53
  CustomerProfilesChannelEndpointAssignmentInstance.new(
53
54
  @version,
54
55
  payload,
@@ -183,8 +184,9 @@ module Twilio
183
184
  # @return [Boolean] True if delete succeeds, false otherwise
184
185
  def delete
185
186
 
187
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
186
188
 
187
- @version.delete('DELETE', @uri)
189
+ @version.delete('DELETE', @uri, headers: headers)
188
190
  end
189
191
 
190
192
  ##
@@ -192,8 +194,9 @@ module Twilio
192
194
  # @return [CustomerProfilesChannelEndpointAssignmentInstance] Fetched CustomerProfilesChannelEndpointAssignmentInstance
193
195
  def fetch
194
196
 
197
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
195
198
 
196
- payload = @version.fetch('GET', @uri)
199
+ payload = @version.fetch('GET', @uri, headers: headers)
197
200
  CustomerProfilesChannelEndpointAssignmentInstance.new(
198
201
  @version,
199
202
  payload,
@@ -44,8 +44,9 @@ module Twilio
44
44
  'ObjectSid' => object_sid,
45
45
  })
46
46
 
47
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
47
48
 
48
- payload = @version.create('POST', @uri, data: data)
49
+ payload = @version.create('POST', @uri, data: data, headers: headers)
49
50
  CustomerProfilesEntityAssignmentsInstance.new(
50
51
  @version,
51
52
  payload,
@@ -174,8 +175,9 @@ module Twilio
174
175
  # @return [Boolean] True if delete succeeds, false otherwise
175
176
  def delete
176
177
 
178
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
177
179
 
178
- @version.delete('DELETE', @uri)
180
+ @version.delete('DELETE', @uri, headers: headers)
179
181
  end
180
182
 
181
183
  ##
@@ -183,8 +185,9 @@ module Twilio
183
185
  # @return [CustomerProfilesEntityAssignmentsInstance] Fetched CustomerProfilesEntityAssignmentsInstance
184
186
  def fetch
185
187
 
188
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
186
189
 
187
- payload = @version.fetch('GET', @uri)
190
+ payload = @version.fetch('GET', @uri, headers: headers)
188
191
  CustomerProfilesEntityAssignmentsInstance.new(
189
192
  @version,
190
193
  payload,
@@ -44,8 +44,9 @@ module Twilio
44
44
  'PolicySid' => policy_sid,
45
45
  })
46
46
 
47
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
47
48
 
48
- payload = @version.create('POST', @uri, data: data)
49
+ payload = @version.create('POST', @uri, data: data, headers: headers)
49
50
  CustomerProfilesEvaluationsInstance.new(
50
51
  @version,
51
52
  payload,
@@ -168,8 +169,9 @@ module Twilio
168
169
  # @return [CustomerProfilesEvaluationsInstance] Fetched CustomerProfilesEvaluationsInstance
169
170
  def fetch
170
171
 
172
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
171
173
 
172
- payload = @version.fetch('GET', @uri)
174
+ payload = @version.fetch('GET', @uri, headers: headers)
173
175
  CustomerProfilesEvaluationsInstance.new(
174
176
  @version,
175
177
  payload,
@@ -51,8 +51,9 @@ module Twilio
51
51
  'StatusCallback' => status_callback,
52
52
  })
53
53
 
54
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
54
55
 
55
- payload = @version.create('POST', @uri, data: data)
56
+ payload = @version.create('POST', @uri, data: data, headers: headers)
56
57
  CustomerProfilesInstance.new(
57
58
  @version,
58
59
  payload,
@@ -194,8 +195,9 @@ module Twilio
194
195
  # @return [Boolean] True if delete succeeds, false otherwise
195
196
  def delete
196
197
 
198
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
197
199
 
198
- @version.delete('DELETE', @uri)
200
+ @version.delete('DELETE', @uri, headers: headers)
199
201
  end
200
202
 
201
203
  ##
@@ -203,8 +205,9 @@ module Twilio
203
205
  # @return [CustomerProfilesInstance] Fetched CustomerProfilesInstance
204
206
  def fetch
205
207
 
208
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
206
209
 
207
- payload = @version.fetch('GET', @uri)
210
+ payload = @version.fetch('GET', @uri, headers: headers)
208
211
  CustomerProfilesInstance.new(
209
212
  @version,
210
213
  payload,
@@ -233,8 +236,9 @@ module Twilio
233
236
  'Email' => email,
234
237
  })
235
238
 
239
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
236
240
 
237
- payload = @version.update('POST', @uri, data: data)
241
+ payload = @version.update('POST', @uri, data: data, headers: headers)
238
242
  CustomerProfilesInstance.new(
239
243
  @version,
240
244
  payload,
@@ -48,8 +48,9 @@ module Twilio
48
48
  'Attributes' => Twilio.serialize_object(attributes),
49
49
  })
50
50
 
51
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
51
52
 
52
- payload = @version.create('POST', @uri, data: data)
53
+ payload = @version.create('POST', @uri, data: data, headers: headers)
53
54
  EndUserInstance.new(
54
55
  @version,
55
56
  payload,
@@ -170,8 +171,9 @@ module Twilio
170
171
  # @return [Boolean] True if delete succeeds, false otherwise
171
172
  def delete
172
173
 
174
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
173
175
 
174
- @version.delete('DELETE', @uri)
176
+ @version.delete('DELETE', @uri, headers: headers)
175
177
  end
176
178
 
177
179
  ##
@@ -179,8 +181,9 @@ module Twilio
179
181
  # @return [EndUserInstance] Fetched EndUserInstance
180
182
  def fetch
181
183
 
184
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
182
185
 
183
- payload = @version.fetch('GET', @uri)
186
+ payload = @version.fetch('GET', @uri, headers: headers)
184
187
  EndUserInstance.new(
185
188
  @version,
186
189
  payload,
@@ -203,8 +206,9 @@ module Twilio
203
206
  'Attributes' => Twilio.serialize_object(attributes),
204
207
  })
205
208
 
209
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
206
210
 
207
- payload = @version.update('POST', @uri, data: data)
211
+ payload = @version.update('POST', @uri, data: data, headers: headers)
208
212
  EndUserInstance.new(
209
213
  @version,
210
214
  payload,
@@ -144,8 +144,9 @@ module Twilio
144
144
  # @return [EndUserTypeInstance] Fetched EndUserTypeInstance
145
145
  def fetch
146
146
 
147
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
147
148
 
148
- payload = @version.fetch('GET', @uri)
149
+ payload = @version.fetch('GET', @uri, headers: headers)
149
150
  EndUserTypeInstance.new(
150
151
  @version,
151
152
  payload,
@@ -144,8 +144,9 @@ module Twilio
144
144
  # @return [PoliciesInstance] Fetched PoliciesInstance
145
145
  def fetch
146
146
 
147
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
147
148
 
148
- payload = @version.fetch('GET', @uri)
149
+ payload = @version.fetch('GET', @uri, headers: headers)
149
150
  PoliciesInstance.new(
150
151
  @version,
151
152
  payload,