twilio-ruby 6.9.1 → 6.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (469) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +102 -0
  3. data/Gemfile +2 -0
  4. data/README.md +2 -2
  5. data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +2 -0
  6. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +5 -0
  7. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +5 -0
  8. data/lib/twilio-ruby/rest/accounts/v1/credential.rb +1 -0
  9. data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +4 -0
  10. data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +3 -0
  11. data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +1 -0
  12. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +5 -0
  13. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +5 -0
  14. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +2 -0
  15. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +1 -0
  16. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +1 -0
  17. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +1 -0
  18. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +1 -0
  19. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +1 -0
  20. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +1 -0
  21. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +1 -0
  22. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +2 -0
  23. data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +2 -0
  24. data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +1 -0
  25. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +2 -0
  26. data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +3 -0
  27. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +5 -0
  28. data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +3 -0
  29. data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +3 -0
  30. data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message.rb +2 -0
  31. data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb +3 -0
  32. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +6 -34
  33. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +5 -0
  34. data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +4 -0
  35. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +3 -0
  36. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +4 -0
  37. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +2 -0
  38. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +4 -0
  39. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +2 -0
  40. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +2 -0
  41. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +2 -0
  42. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +5 -0
  43. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +4 -0
  44. data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +2 -0
  45. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +3 -0
  46. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +5 -0
  47. data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +2 -0
  48. data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +2 -0
  49. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +2 -0
  50. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +4 -0
  51. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +3 -0
  52. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +5 -0
  53. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +3 -0
  54. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +3 -0
  55. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +3 -0
  56. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +3 -0
  57. data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +3 -0
  58. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +4 -0
  59. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +5 -0
  60. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +5 -0
  61. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +4 -0
  62. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +4 -0
  63. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls.rb +1 -0
  64. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +4 -0
  65. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations.rb +1 -0
  66. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb +1 -0
  67. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +4 -0
  68. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +4 -0
  69. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +5 -0
  70. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +5 -0
  71. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +5 -0
  72. data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +1 -0
  73. data/lib/twilio-ruby/rest/api/v2010/account/token.rb +2 -0
  74. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +3 -0
  75. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +1 -0
  76. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +1 -0
  77. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +1 -0
  78. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +1 -0
  79. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +1 -0
  80. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +1 -0
  81. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +1 -0
  82. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +1 -0
  83. data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +1 -0
  84. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +5 -0
  85. data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +1 -0
  86. data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +2 -0
  87. data/lib/twilio-ruby/rest/api/v2010/account.rb +4 -0
  88. data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +2 -0
  89. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +2 -0
  90. data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +3 -0
  91. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +2 -0
  92. data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +3 -0
  93. data/lib/twilio-ruby/rest/chat/v1/credential.rb +5 -0
  94. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +4 -0
  95. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +5 -0
  96. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +5 -0
  97. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +5 -0
  98. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +5 -0
  99. data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +1 -0
  100. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +5 -0
  101. data/lib/twilio-ruby/rest/chat/v1/service.rb +5 -0
  102. data/lib/twilio-ruby/rest/chat/v2/credential.rb +5 -0
  103. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +3 -0
  104. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +4 -0
  105. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +5 -0
  106. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +5 -0
  107. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +5 -0
  108. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +5 -0
  109. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +5 -0
  110. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +3 -0
  111. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +4 -0
  112. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +5 -0
  113. data/lib/twilio-ruby/rest/chat/v2/service.rb +5 -0
  114. data/lib/twilio-ruby/rest/chat/v3/channel.rb +2 -0
  115. data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +2 -0
  116. data/lib/twilio-ruby/rest/content/v1/content.rb +3 -0
  117. data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +1 -0
  118. data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +1 -0
  119. data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +5 -0
  120. data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +3 -0
  121. data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +3 -0
  122. data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +2 -0
  123. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +5 -0
  124. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +5 -0
  125. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +5 -0
  126. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +5 -0
  127. data/lib/twilio-ruby/rest/conversations/v1/credential.rb +5 -0
  128. data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +1 -0
  129. data/lib/twilio-ruby/rest/conversations/v1/role.rb +5 -0
  130. data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +3 -0
  131. data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +3 -0
  132. data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +3 -0
  133. data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +3 -0
  134. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +2 -0
  135. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +5 -0
  136. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +5 -0
  137. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +5 -0
  138. data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +5 -0
  139. data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +1 -0
  140. data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +5 -0
  141. data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +4 -0
  142. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +5 -0
  143. data/lib/twilio-ruby/rest/conversations/v1/service.rb +4 -0
  144. data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +4 -0
  145. data/lib/twilio-ruby/rest/conversations/v1/user.rb +5 -0
  146. data/lib/twilio-ruby/rest/events/v1/event_type.rb +2 -0
  147. data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +2 -0
  148. data/lib/twilio-ruby/rest/events/v1/schema.rb +2 -0
  149. data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +2 -0
  150. data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +2 -0
  151. data/lib/twilio-ruby/rest/events/v1/sink.rb +5 -0
  152. data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +5 -0
  153. data/lib/twilio-ruby/rest/events/v1/subscription.rb +5 -0
  154. data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +3 -0
  155. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +4 -0
  156. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +9 -0
  157. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +5 -0
  158. data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +2 -0
  159. data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +1 -0
  160. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +5 -0
  161. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +4 -0
  162. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +4 -0
  163. data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +1 -0
  164. data/lib/twilio-ruby/rest/flex_api/v1/insights_session.rb +2 -0
  165. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +2 -0
  166. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +2 -0
  167. data/lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb +2 -0
  168. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +2 -0
  169. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +14 -1
  170. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +3 -0
  171. data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +3 -0
  172. data/lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb +2 -0
  173. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +5 -0
  174. data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +2 -0
  175. data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +3 -0
  176. data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +3 -0
  177. data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +2 -0
  178. data/lib/twilio-ruby/rest/insights/v1/call/event.rb +1 -0
  179. data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +1 -0
  180. data/lib/twilio-ruby/rest/insights/v1/call.rb +2 -0
  181. data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +1 -0
  182. data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +2 -0
  183. data/lib/twilio-ruby/rest/insights/v1/conference.rb +2 -0
  184. data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +2 -0
  185. data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -0
  186. data/lib/twilio-ruby/rest/insights/v1/setting.rb +3 -0
  187. data/lib/twilio-ruby/rest/intelligence/v2/service.rb +5 -0
  188. data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +2 -0
  189. data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +2 -0
  190. data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +1 -0
  191. data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +4 -0
  192. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +5 -0
  193. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +4 -0
  194. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +5 -0
  195. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +5 -0
  196. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +5 -0
  197. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +5 -0
  198. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +1 -0
  199. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +5 -0
  200. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +5 -0
  201. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +5 -0
  202. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +3 -0
  203. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +4 -0
  204. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +5 -0
  205. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +5 -0
  206. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +5 -0
  207. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +5 -0
  208. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +5 -0
  209. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +3 -0
  210. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +4 -0
  211. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +5 -0
  212. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +5 -0
  213. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +2 -0
  214. data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +8 -6
  215. data/lib/twilio-ruby/rest/media/v1/media_processor.rb +4 -0
  216. data/lib/twilio-ruby/rest/media/v1/media_recording.rb +3 -0
  217. data/lib/twilio-ruby/rest/media/v1/player_streamer/playback_grant.rb +3 -0
  218. data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +4 -0
  219. data/lib/twilio-ruby/rest/media.rb +3 -32
  220. data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb +2 -0
  221. data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +3 -0
  222. data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +4 -0
  223. data/lib/twilio-ruby/rest/messaging/v1/deactivations.rb +2 -0
  224. data/lib/twilio-ruby/rest/messaging/v1/domain_certs.rb +4 -0
  225. data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +3 -0
  226. data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +2 -0
  227. data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -0
  228. data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb +3 -0
  229. data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +2 -0
  230. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +4 -0
  231. data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +2 -0
  232. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +4 -0
  233. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +4 -0
  234. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +108 -3
  235. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +2 -0
  236. data/lib/twilio-ruby/rest/messaging/v1/service.rb +5 -0
  237. data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +16 -4
  238. data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +2 -0
  239. data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +5 -0
  240. data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +5 -0
  241. data/lib/twilio-ruby/rest/microvisor/v1/app/app_manifest.rb +2 -0
  242. data/lib/twilio-ruby/rest/microvisor/v1/app.rb +3 -0
  243. data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +5 -0
  244. data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +5 -0
  245. data/lib/twilio-ruby/rest/microvisor/v1/device.rb +3 -0
  246. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +2 -0
  247. data/lib/twilio-ruby/rest/monitor/v1/event.rb +2 -0
  248. data/lib/twilio-ruby/rest/notify/v1/credential.rb +5 -0
  249. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +4 -0
  250. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +2 -0
  251. data/lib/twilio-ruby/rest/notify/v1/service.rb +5 -0
  252. data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +2 -0
  253. data/lib/twilio-ruby/rest/numbers/v1/porting_bulk_portability.rb +3 -0
  254. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_fetch.rb +2 -0
  255. data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +2 -0
  256. data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +1 -0
  257. data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +4 -0
  258. data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +2 -0
  259. data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +4 -0
  260. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +2 -0
  261. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +3 -0
  262. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +4 -0
  263. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +2 -0
  264. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +5 -0
  265. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +5 -0
  266. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +2 -0
  267. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +2 -0
  268. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +5 -0
  269. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +2 -0
  270. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +1 -0
  271. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +5 -0
  272. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +5 -0
  273. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +5 -0
  274. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +5 -0
  275. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +5 -0
  276. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +1 -0
  277. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +4 -0
  278. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +5 -0
  279. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +2 -0
  280. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +2 -0
  281. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +3 -0
  282. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +5 -0
  283. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +4 -0
  284. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +5 -0
  285. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +5 -0
  286. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +4 -0
  287. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +4 -0
  288. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +5 -0
  289. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +4 -0
  290. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +4 -0
  291. data/lib/twilio-ruby/rest/preview/sync/service.rb +5 -0
  292. data/lib/twilio-ruby/rest/preview/wireless/command.rb +3 -0
  293. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +5 -0
  294. data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +2 -0
  295. data/lib/twilio-ruby/rest/preview/wireless/sim.rb +3 -0
  296. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +2 -0
  297. data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +1 -0
  298. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +2 -0
  299. data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +1 -0
  300. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +2 -0
  301. data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +2 -0
  302. data/lib/twilio-ruby/rest/pricing/v1/voice.rb +1 -0
  303. data/lib/twilio-ruby/rest/pricing/v2/country.rb +2 -0
  304. data/lib/twilio-ruby/rest/pricing/v2/number.rb +2 -0
  305. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +2 -0
  306. data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +2 -0
  307. data/lib/twilio-ruby/rest/pricing/v2/voice.rb +1 -0
  308. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +5 -0
  309. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +3 -0
  310. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +3 -0
  311. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +4 -0
  312. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +5 -0
  313. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +5 -0
  314. data/lib/twilio-ruby/rest/proxy/v1/service.rb +5 -0
  315. data/lib/twilio-ruby/rest/routes/v2/phone_number.rb +3 -0
  316. data/lib/twilio-ruby/rest/routes/v2/sip_domain.rb +3 -0
  317. data/lib/twilio-ruby/rest/routes/v2/trunk.rb +3 -0
  318. data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +2 -0
  319. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +5 -0
  320. data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +2 -0
  321. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +4 -0
  322. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +3 -0
  323. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +2 -0
  324. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +5 -0
  325. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +4 -0
  326. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +2 -0
  327. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +2 -0
  328. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +5 -0
  329. data/lib/twilio-ruby/rest/serverless/v1/service.rb +5 -0
  330. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +2 -0
  331. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +2 -0
  332. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +2 -0
  333. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +4 -0
  334. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +2 -0
  335. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +2 -0
  336. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +2 -0
  337. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +5 -0
  338. data/lib/twilio-ruby/rest/studio/v1/flow.rb +3 -0
  339. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +2 -0
  340. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +2 -0
  341. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +2 -0
  342. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +5 -0
  343. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +2 -0
  344. data/lib/twilio-ruby/rest/studio/v2/flow/flow_test_user.rb +3 -0
  345. data/lib/twilio-ruby/rest/studio/v2/flow.rb +5 -0
  346. data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +2 -0
  347. data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +3 -0
  348. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +4 -0
  349. data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +3 -0
  350. data/lib/twilio-ruby/rest/supersim/v1/network.rb +2 -0
  351. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +4 -0
  352. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +4 -0
  353. data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +1 -0
  354. data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +1 -0
  355. data/lib/twilio-ruby/rest/supersim/v1/sim/sim_ip_address.rb +1 -0
  356. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +4 -0
  357. data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +3 -0
  358. data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +1 -0
  359. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +4 -0
  360. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +5 -0
  361. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +5 -0
  362. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +4 -0
  363. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +5 -0
  364. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +5 -0
  365. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +4 -0
  366. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +5 -0
  367. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +2 -0
  368. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +5 -0
  369. data/lib/twilio-ruby/rest/sync/v1/service.rb +5 -0
  370. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +5 -0
  371. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +2 -0
  372. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +3 -0
  373. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +5 -0
  374. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +5 -0
  375. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +2 -0
  376. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +2 -0
  377. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +2 -0
  378. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +1 -0
  379. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +5 -0
  380. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +3 -0
  381. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +3 -0
  382. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +2 -0
  383. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +2 -0
  384. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +2 -0
  385. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +2 -0
  386. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +5 -0
  387. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +2 -0
  388. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +2 -0
  389. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +2 -0
  390. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +5 -0
  391. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +2 -0
  392. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +2 -0
  393. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +2 -0
  394. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +5 -0
  395. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +4 -0
  396. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +4 -0
  397. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +5 -0
  398. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +4 -0
  399. data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +3 -0
  400. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +5 -0
  401. data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +7 -1
  402. data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +258 -0
  403. data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +2 -0
  404. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +4 -0
  405. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +4 -0
  406. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +3 -0
  407. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +5 -0
  408. data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +5 -0
  409. data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +2 -0
  410. data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +2 -0
  411. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +5 -0
  412. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +2 -0
  413. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +4 -0
  414. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +4 -0
  415. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +3 -0
  416. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +5 -0
  417. data/lib/twilio-ruby/rest/trusthub/v1.rb +6 -0
  418. data/lib/twilio-ruby/rest/verify/v2/form.rb +2 -0
  419. data/lib/twilio-ruby/rest/verify/v2/safelist.rb +4 -0
  420. data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +3 -0
  421. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +2 -0
  422. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +4 -0
  423. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +4 -0
  424. data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +2 -0
  425. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +4 -0
  426. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +5 -0
  427. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +5 -0
  428. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +5 -0
  429. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +4 -0
  430. data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +2 -0
  431. data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +5 -0
  432. data/lib/twilio-ruby/rest/verify/v2/service.rb +5 -0
  433. data/lib/twilio-ruby/rest/verify/v2/template.rb +1 -0
  434. data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +2 -0
  435. data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +2 -0
  436. data/lib/twilio-ruby/rest/video/v1/composition.rb +4 -0
  437. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +5 -0
  438. data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +6 -3
  439. data/lib/twilio-ruby/rest/video/v1/recording.rb +3 -0
  440. data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +6 -3
  441. data/lib/twilio-ruby/rest/video/v1/room/participant/anonymize.rb +2 -0
  442. data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +2 -0
  443. data/lib/twilio-ruby/rest/video/v1/room/participant/subscribe_rules.rb +3 -0
  444. data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +2 -0
  445. data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -0
  446. data/lib/twilio-ruby/rest/video/v1/room/recording_rules.rb +3 -0
  447. data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +3 -0
  448. data/lib/twilio-ruby/rest/video/v1/room.rb +4 -0
  449. data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +2 -0
  450. data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +5 -0
  451. data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +5 -0
  452. data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +5 -0
  453. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +2 -0
  454. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +1 -0
  455. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +2 -0
  456. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +3 -0
  457. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb +1 -0
  458. data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +5 -0
  459. data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +5 -0
  460. data/lib/twilio-ruby/rest/wireless/v1/command.rb +4 -0
  461. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +5 -0
  462. data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +1 -0
  463. data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +1 -0
  464. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +4 -0
  465. data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +1 -0
  466. data/lib/twilio-ruby/version.rb +1 -1
  467. metadata +3 -4
  468. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +0 -264
  469. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +0 -328
@@ -20,6 +20,7 @@ module Twilio
20
20
  class ServiceContext < InstanceContext
21
21
 
22
22
  class SyncMapList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the SyncMapList
25
26
  # @param [Version] version Version that contains the resource
@@ -49,6 +50,7 @@ module Twilio
49
50
  'CollectionTtl' => collection_ttl,
50
51
  })
51
52
 
53
+
52
54
  payload = @version.create('POST', @uri, data: data)
53
55
  SyncMapInstance.new(
54
56
  @version,
@@ -174,6 +176,7 @@ module Twilio
174
176
  # @return [Boolean] True if delete succeeds, false otherwise
175
177
  def delete
176
178
 
179
+
177
180
  @version.delete('DELETE', @uri)
178
181
  end
179
182
 
@@ -182,6 +185,7 @@ module Twilio
182
185
  # @return [SyncMapInstance] Fetched SyncMapInstance
183
186
  def fetch
184
187
 
188
+
185
189
  payload = @version.fetch('GET', @uri)
186
190
  SyncMapInstance.new(
187
191
  @version,
@@ -206,6 +210,7 @@ module Twilio
206
210
  'CollectionTtl' => collection_ttl,
207
211
  })
208
212
 
213
+
209
214
  payload = @version.update('POST', @uri, data: data)
210
215
  SyncMapInstance.new(
211
216
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class SyncStreamContext < InstanceContext
22
22
 
23
23
  class StreamMessageList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the StreamMessageList
26
27
  # @param [Version] version Version that contains the resource
@@ -44,6 +45,7 @@ module Twilio
44
45
  'Data' => Twilio.serialize_object(data),
45
46
  })
46
47
 
48
+
47
49
  payload = @version.create('POST', @uri, data: data)
48
50
  StreamMessageInstance.new(
49
51
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class ServiceContext < InstanceContext
21
21
 
22
22
  class SyncStreamList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the SyncStreamList
25
26
  # @param [Version] version Version that contains the resource
@@ -46,6 +47,7 @@ module Twilio
46
47
  'Ttl' => ttl,
47
48
  })
48
49
 
50
+
49
51
  payload = @version.create('POST', @uri, data: data)
50
52
  SyncStreamInstance.new(
51
53
  @version,
@@ -170,6 +172,7 @@ module Twilio
170
172
  # @return [Boolean] True if delete succeeds, false otherwise
171
173
  def delete
172
174
 
175
+
173
176
  @version.delete('DELETE', @uri)
174
177
  end
175
178
 
@@ -178,6 +181,7 @@ module Twilio
178
181
  # @return [SyncStreamInstance] Fetched SyncStreamInstance
179
182
  def fetch
180
183
 
184
+
181
185
  payload = @version.fetch('GET', @uri)
182
186
  SyncStreamInstance.new(
183
187
  @version,
@@ -199,6 +203,7 @@ module Twilio
199
203
  'Ttl' => ttl,
200
204
  })
201
205
 
206
+
202
207
  payload = @version.update('POST', @uri, data: data)
203
208
  SyncStreamInstance.new(
204
209
  @version,
@@ -18,6 +18,7 @@ module Twilio
18
18
  class Sync < SyncBase
19
19
  class V1 < Version
20
20
  class ServiceList < ListResource
21
+
21
22
  ##
22
23
  # Initialize the ServiceList
23
24
  # @param [Version] version Version that contains the resource
@@ -59,6 +60,7 @@ module Twilio
59
60
  'WebhooksFromRestEnabled' => webhooks_from_rest_enabled,
60
61
  })
61
62
 
63
+
62
64
  payload = @version.create('POST', @uri, data: data)
63
65
  ServiceInstance.new(
64
66
  @version,
@@ -184,6 +186,7 @@ module Twilio
184
186
  # @return [Boolean] True if delete succeeds, false otherwise
185
187
  def delete
186
188
 
189
+
187
190
  @version.delete('DELETE', @uri)
188
191
  end
189
192
 
@@ -192,6 +195,7 @@ module Twilio
192
195
  # @return [ServiceInstance] Fetched ServiceInstance
193
196
  def fetch
194
197
 
198
+
195
199
  payload = @version.fetch('GET', @uri)
196
200
  ServiceInstance.new(
197
201
  @version,
@@ -230,6 +234,7 @@ module Twilio
230
234
  'WebhooksFromRestEnabled' => webhooks_from_rest_enabled,
231
235
  })
232
236
 
237
+
233
238
  payload = @version.update('POST', @uri, data: data)
234
239
  ServiceInstance.new(
235
240
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class WorkspaceContext < InstanceContext
21
21
 
22
22
  class ActivityList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the ActivityList
25
26
  # @param [Version] version Version that contains the resource
@@ -46,6 +47,7 @@ module Twilio
46
47
  'Available' => available,
47
48
  })
48
49
 
50
+
49
51
  payload = @version.create('POST', @uri, data: data)
50
52
  ActivityInstance.new(
51
53
  @version,
@@ -181,6 +183,7 @@ module Twilio
181
183
  # @return [Boolean] True if delete succeeds, false otherwise
182
184
  def delete
183
185
 
186
+
184
187
  @version.delete('DELETE', @uri)
185
188
  end
186
189
 
@@ -189,6 +192,7 @@ module Twilio
189
192
  # @return [ActivityInstance] Fetched ActivityInstance
190
193
  def fetch
191
194
 
195
+
192
196
  payload = @version.fetch('GET', @uri)
193
197
  ActivityInstance.new(
194
198
  @version,
@@ -210,6 +214,7 @@ module Twilio
210
214
  'FriendlyName' => friendly_name,
211
215
  })
212
216
 
217
+
213
218
  payload = @version.update('POST', @uri, data: data)
214
219
  ActivityInstance.new(
215
220
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class WorkspaceContext < InstanceContext
21
21
 
22
22
  class EventList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the EventList
25
26
  # @param [Version] version Version that contains the resource
@@ -212,6 +213,7 @@ module Twilio
212
213
  # @return [EventInstance] Fetched EventInstance
213
214
  def fetch
214
215
 
216
+
215
217
  payload = @version.fetch('GET', @uri)
216
218
  EventInstance.new(
217
219
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class TaskContext < InstanceContext
22
22
 
23
23
  class ReservationList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the ReservationList
26
27
  # @param [Version] version Version that contains the resource
@@ -160,6 +161,7 @@ module Twilio
160
161
  # @return [ReservationInstance] Fetched ReservationInstance
161
162
  def fetch
162
163
 
164
+
163
165
  payload = @version.fetch('GET', @uri)
164
166
  ReservationInstance.new(
165
167
  @version,
@@ -343,6 +345,7 @@ module Twilio
343
345
  'JitterBufferSize' => jitter_buffer_size,
344
346
  })
345
347
 
348
+
346
349
  headers = Twilio::Values.of({ 'If-Match' => if_match, })
347
350
  payload = @version.update('POST', @uri, data: data, headers: headers)
348
351
  ReservationInstance.new(
@@ -20,6 +20,7 @@ module Twilio
20
20
  class WorkspaceContext < InstanceContext
21
21
 
22
22
  class TaskList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the TaskList
25
26
  # @param [Version] version Version that contains the resource
@@ -58,6 +59,7 @@ module Twilio
58
59
  'VirtualStartTime' => Twilio.serialize_iso8601_datetime(virtual_start_time),
59
60
  })
60
61
 
62
+
61
63
  payload = @version.create('POST', @uri, data: data)
62
64
  TaskInstance.new(
63
65
  @version,
@@ -240,6 +242,7 @@ module Twilio
240
242
  if_match: :unset
241
243
  )
242
244
 
245
+
243
246
  headers = Twilio::Values.of({ 'If-Match' => if_match, })
244
247
  @version.delete('DELETE', @uri, headers: headers)
245
248
  end
@@ -249,6 +252,7 @@ module Twilio
249
252
  # @return [TaskInstance] Fetched TaskInstance
250
253
  def fetch
251
254
 
255
+
252
256
  payload = @version.fetch('GET', @uri)
253
257
  TaskInstance.new(
254
258
  @version,
@@ -287,6 +291,7 @@ module Twilio
287
291
  'VirtualStartTime' => Twilio.serialize_iso8601_datetime(virtual_start_time),
288
292
  })
289
293
 
294
+
290
295
  headers = Twilio::Values.of({ 'If-Match' => if_match, })
291
296
  payload = @version.update('POST', @uri, data: data, headers: headers)
292
297
  TaskInstance.new(
@@ -20,6 +20,7 @@ module Twilio
20
20
  class WorkspaceContext < InstanceContext
21
21
 
22
22
  class TaskChannelList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the TaskChannelList
25
26
  # @param [Version] version Version that contains the resource
@@ -49,6 +50,7 @@ module Twilio
49
50
  'ChannelOptimizedRouting' => channel_optimized_routing,
50
51
  })
51
52
 
53
+
52
54
  payload = @version.create('POST', @uri, data: data)
53
55
  TaskChannelInstance.new(
54
56
  @version,
@@ -172,6 +174,7 @@ module Twilio
172
174
  # @return [Boolean] True if delete succeeds, false otherwise
173
175
  def delete
174
176
 
177
+
175
178
  @version.delete('DELETE', @uri)
176
179
  end
177
180
 
@@ -180,6 +183,7 @@ module Twilio
180
183
  # @return [TaskChannelInstance] Fetched TaskChannelInstance
181
184
  def fetch
182
185
 
186
+
183
187
  payload = @version.fetch('GET', @uri)
184
188
  TaskChannelInstance.new(
185
189
  @version,
@@ -204,6 +208,7 @@ module Twilio
204
208
  'ChannelOptimizedRouting' => channel_optimized_routing,
205
209
  })
206
210
 
211
+
207
212
  payload = @version.update('POST', @uri, data: data)
208
213
  TaskChannelInstance.new(
209
214
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class TaskQueueContext < InstanceContext
22
22
 
23
23
  class TaskQueueCumulativeStatisticsList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the TaskQueueCumulativeStatisticsList
26
27
  # @param [Version] version Version that contains the resource
@@ -81,6 +82,7 @@ module Twilio
81
82
  'TaskChannel' => task_channel,
82
83
  'SplitByWaitTime' => split_by_wait_time,
83
84
  })
85
+
84
86
  payload = @version.fetch('GET', @uri, params: params)
85
87
  TaskQueueCumulativeStatisticsInstance.new(
86
88
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class TaskQueueContext < InstanceContext
22
22
 
23
23
  class TaskQueueRealTimeStatisticsList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the TaskQueueRealTimeStatisticsList
26
27
  # @param [Version] version Version that contains the resource
@@ -69,6 +70,7 @@ module Twilio
69
70
  params = Twilio::Values.of({
70
71
  'TaskChannel' => task_channel,
71
72
  })
73
+
72
74
  payload = @version.fetch('GET', @uri, params: params)
73
75
  TaskQueueRealTimeStatisticsInstance.new(
74
76
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class TaskQueueContext < InstanceContext
22
22
 
23
23
  class TaskQueueStatisticsList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the TaskQueueStatisticsList
26
27
  # @param [Version] version Version that contains the resource
@@ -81,6 +82,7 @@ module Twilio
81
82
  'TaskChannel' => task_channel,
82
83
  'SplitByWaitTime' => split_by_wait_time,
83
84
  })
85
+
84
86
  payload = @version.fetch('GET', @uri, params: params)
85
87
  TaskQueueStatisticsInstance.new(
86
88
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class TaskQueueList < ListResource
22
22
 
23
23
  class TaskQueuesStatisticsList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the TaskQueuesStatisticsList
26
27
  # @param [Version] version Version that contains the resource
@@ -20,6 +20,7 @@ module Twilio
20
20
  class WorkspaceContext < InstanceContext
21
21
 
22
22
  class TaskQueueList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the TaskQueueList
25
26
  # @param [Version] version Version that contains the resource
@@ -60,6 +61,7 @@ module Twilio
60
61
  'AssignmentActivitySid' => assignment_activity_sid,
61
62
  })
62
63
 
64
+
63
65
  payload = @version.create('POST', @uri, data: data)
64
66
  TaskQueueInstance.new(
65
67
  @version,
@@ -224,6 +226,7 @@ module Twilio
224
226
  # @return [Boolean] True if delete succeeds, false otherwise
225
227
  def delete
226
228
 
229
+
227
230
  @version.delete('DELETE', @uri)
228
231
  end
229
232
 
@@ -232,6 +235,7 @@ module Twilio
232
235
  # @return [TaskQueueInstance] Fetched TaskQueueInstance
233
236
  def fetch
234
237
 
238
+
235
239
  payload = @version.fetch('GET', @uri)
236
240
  TaskQueueInstance.new(
237
241
  @version,
@@ -268,6 +272,7 @@ module Twilio
268
272
  'TaskOrder' => task_order,
269
273
  })
270
274
 
275
+
271
276
  payload = @version.update('POST', @uri, data: data)
272
277
  TaskQueueInstance.new(
273
278
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class WorkerContext < InstanceContext
22
22
 
23
23
  class ReservationList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the ReservationList
26
27
  # @param [Version] version Version that contains the resource
@@ -154,6 +155,7 @@ module Twilio
154
155
  # @return [ReservationInstance] Fetched ReservationInstance
155
156
  def fetch
156
157
 
158
+
157
159
  payload = @version.fetch('GET', @uri)
158
160
  ReservationInstance.new(
159
161
  @version,
@@ -331,6 +333,7 @@ module Twilio
331
333
  'JitterBufferSize' => jitter_buffer_size,
332
334
  })
333
335
 
336
+
334
337
  headers = Twilio::Values.of({ 'If-Match' => if_match, })
335
338
  payload = @version.update('POST', @uri, data: data, headers: headers)
336
339
  ReservationInstance.new(
@@ -21,6 +21,7 @@ module Twilio
21
21
  class WorkerContext < InstanceContext
22
22
 
23
23
  class WorkerChannelList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the WorkerChannelList
26
27
  # @param [Version] version Version that contains the resource
@@ -148,6 +149,7 @@ module Twilio
148
149
  # @return [WorkerChannelInstance] Fetched WorkerChannelInstance
149
150
  def fetch
150
151
 
152
+
151
153
  payload = @version.fetch('GET', @uri)
152
154
  WorkerChannelInstance.new(
153
155
  @version,
@@ -173,6 +175,7 @@ module Twilio
173
175
  'Available' => available,
174
176
  })
175
177
 
178
+
176
179
  payload = @version.update('POST', @uri, data: data)
177
180
  WorkerChannelInstance.new(
178
181
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class WorkerContext < InstanceContext
22
22
 
23
23
  class WorkerStatisticsList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the WorkerStatisticsList
26
27
  # @param [Version] version Version that contains the resource
@@ -78,6 +79,7 @@ module Twilio
78
79
  'EndDate' => Twilio.serialize_iso8601_datetime(end_date),
79
80
  'TaskChannel' => task_channel,
80
81
  })
82
+
81
83
  payload = @version.fetch('GET', @uri, params: params)
82
84
  WorkerStatisticsInstance.new(
83
85
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class WorkerContext < InstanceContext
22
22
 
23
23
  class WorkersCumulativeStatisticsList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the WorkersCumulativeStatisticsList
26
27
  # @param [Version] version Version that contains the resource
@@ -77,6 +78,7 @@ module Twilio
77
78
  'StartDate' => Twilio.serialize_iso8601_datetime(start_date),
78
79
  'TaskChannel' => task_channel,
79
80
  })
81
+
80
82
  payload = @version.fetch('GET', @uri, params: params)
81
83
  WorkersCumulativeStatisticsInstance.new(
82
84
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class WorkerContext < InstanceContext
22
22
 
23
23
  class WorkersRealTimeStatisticsList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the WorkersRealTimeStatisticsList
26
27
  # @param [Version] version Version that contains the resource
@@ -68,6 +69,7 @@ module Twilio
68
69
  params = Twilio::Values.of({
69
70
  'TaskChannel' => task_channel,
70
71
  })
72
+
71
73
  payload = @version.fetch('GET', @uri, params: params)
72
74
  WorkersRealTimeStatisticsInstance.new(
73
75
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class WorkerList < ListResource
22
22
 
23
23
  class WorkersStatisticsList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the WorkersStatisticsList
26
27
  # @param [Version] version Version that contains the resource
@@ -86,6 +87,7 @@ module Twilio
86
87
  'FriendlyName' => friendly_name,
87
88
  'TaskChannel' => task_channel,
88
89
  })
90
+
89
91
  payload = @version.fetch('GET', @uri, params: params)
90
92
  WorkersStatisticsInstance.new(
91
93
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class WorkspaceContext < InstanceContext
21
21
 
22
22
  class WorkerList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the WorkerList
25
26
  # @param [Version] version Version that contains the resource
@@ -50,6 +51,7 @@ module Twilio
50
51
  'Attributes' => attributes,
51
52
  })
52
53
 
54
+
53
55
  payload = @version.create('POST', @uri, data: data)
54
56
  WorkerInstance.new(
55
57
  @version,
@@ -235,6 +237,7 @@ module Twilio
235
237
  if_match: :unset
236
238
  )
237
239
 
240
+
238
241
  headers = Twilio::Values.of({ 'If-Match' => if_match, })
239
242
  @version.delete('DELETE', @uri, headers: headers)
240
243
  end
@@ -244,6 +247,7 @@ module Twilio
244
247
  # @return [WorkerInstance] Fetched WorkerInstance
245
248
  def fetch
246
249
 
250
+
247
251
  payload = @version.fetch('GET', @uri)
248
252
  WorkerInstance.new(
249
253
  @version,
@@ -276,6 +280,7 @@ module Twilio
276
280
  'RejectPendingReservations' => reject_pending_reservations,
277
281
  })
278
282
 
283
+
279
284
  headers = Twilio::Values.of({ 'If-Match' => if_match, })
280
285
  payload = @version.update('POST', @uri, data: data, headers: headers)
281
286
  WorkerInstance.new(
@@ -21,6 +21,7 @@ module Twilio
21
21
  class WorkflowContext < InstanceContext
22
22
 
23
23
  class WorkflowCumulativeStatisticsList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the WorkflowCumulativeStatisticsList
26
27
  # @param [Version] version Version that contains the resource
@@ -81,6 +82,7 @@ module Twilio
81
82
  'TaskChannel' => task_channel,
82
83
  'SplitByWaitTime' => split_by_wait_time,
83
84
  })
85
+
84
86
  payload = @version.fetch('GET', @uri, params: params)
85
87
  WorkflowCumulativeStatisticsInstance.new(
86
88
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class WorkflowContext < InstanceContext
22
22
 
23
23
  class WorkflowRealTimeStatisticsList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the WorkflowRealTimeStatisticsList
26
27
  # @param [Version] version Version that contains the resource
@@ -69,6 +70,7 @@ module Twilio
69
70
  params = Twilio::Values.of({
70
71
  'TaskChannel' => task_channel,
71
72
  })
73
+
72
74
  payload = @version.fetch('GET', @uri, params: params)
73
75
  WorkflowRealTimeStatisticsInstance.new(
74
76
  @version,
@@ -21,6 +21,7 @@ module Twilio
21
21
  class WorkflowContext < InstanceContext
22
22
 
23
23
  class WorkflowStatisticsList < ListResource
24
+
24
25
  ##
25
26
  # Initialize the WorkflowStatisticsList
26
27
  # @param [Version] version Version that contains the resource
@@ -81,6 +82,7 @@ module Twilio
81
82
  'TaskChannel' => task_channel,
82
83
  'SplitByWaitTime' => split_by_wait_time,
83
84
  })
85
+
84
86
  payload = @version.fetch('GET', @uri, params: params)
85
87
  WorkflowStatisticsInstance.new(
86
88
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class WorkspaceContext < InstanceContext
21
21
 
22
22
  class WorkflowList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the WorkflowList
25
26
  # @param [Version] version Version that contains the resource
@@ -55,6 +56,7 @@ module Twilio
55
56
  'TaskReservationTimeout' => task_reservation_timeout,
56
57
  })
57
58
 
59
+
58
60
  payload = @version.create('POST', @uri, data: data)
59
61
  WorkflowInstance.new(
60
62
  @version,
@@ -187,6 +189,7 @@ module Twilio
187
189
  # @return [Boolean] True if delete succeeds, false otherwise
188
190
  def delete
189
191
 
192
+
190
193
  @version.delete('DELETE', @uri)
191
194
  end
192
195
 
@@ -195,6 +198,7 @@ module Twilio
195
198
  # @return [WorkflowInstance] Fetched WorkflowInstance
196
199
  def fetch
197
200
 
201
+
198
202
  payload = @version.fetch('GET', @uri)
199
203
  WorkflowInstance.new(
200
204
  @version,
@@ -231,6 +235,7 @@ module Twilio
231
235
  'ReEvaluateTasks' => re_evaluate_tasks,
232
236
  })
233
237
 
238
+
234
239
  payload = @version.update('POST', @uri, data: data)
235
240
  WorkflowInstance.new(
236
241
  @version,
@@ -20,6 +20,7 @@ module Twilio
20
20
  class WorkspaceContext < InstanceContext
21
21
 
22
22
  class WorkspaceCumulativeStatisticsList < ListResource
23
+
23
24
  ##
24
25
  # Initialize the WorkspaceCumulativeStatisticsList
25
26
  # @param [Version] version Version that contains the resource
@@ -79,6 +80,7 @@ module Twilio
79
80
  'TaskChannel' => task_channel,
80
81
  'SplitByWaitTime' => split_by_wait_time,
81
82
  })
83
+
82
84
  payload = @version.fetch('GET', @uri, params: params)
83
85
  WorkspaceCumulativeStatisticsInstance.new(
84
86
  @version,