twilio-ruby 5.38.0 → 5.39.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (699) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +32 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/framework/version.rb +3 -3
  5. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +13 -30
  6. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +13 -30
  7. data/lib/twilio-ruby/rest/api/v2010/account.rb +10 -27
  8. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +13 -30
  9. data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +3 -5
  10. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +13 -30
  11. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +6 -14
  12. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +6 -14
  13. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +3 -5
  14. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/machine_to_machine.rb +3 -5
  15. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +3 -5
  16. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/national.rb +3 -5
  17. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/shared_cost.rb +3 -5
  18. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +3 -5
  19. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/voip.rb +3 -5
  20. data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +2 -8
  21. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +13 -30
  22. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +9 -25
  23. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +9 -20
  24. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +6 -14
  25. data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +4 -13
  26. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +13 -30
  27. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +7 -19
  28. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +13 -30
  29. data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +10 -22
  30. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +10 -22
  31. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +27 -30
  32. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +12 -25
  33. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +6 -14
  34. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +6 -13
  35. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +6 -13
  36. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +6 -13
  37. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +10 -22
  38. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +13 -30
  39. data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +3 -8
  40. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +9 -17
  41. data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +3 -8
  42. data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +3 -8
  43. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +6 -14
  44. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +10 -22
  45. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +13 -30
  46. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +7 -19
  47. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +9 -17
  48. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +9 -17
  49. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +9 -17
  50. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +9 -17
  51. data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +7 -19
  52. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +10 -22
  53. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +13 -30
  54. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +13 -30
  55. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +13 -30
  56. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping.rb +12 -25
  57. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping.rb +12 -25
  58. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping.rb +12 -25
  59. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +12 -25
  60. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +12 -25
  61. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +13 -30
  62. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +13 -30
  63. data/lib/twilio-ruby/rest/api/v2010/account/token.rb +3 -8
  64. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +9 -17
  65. data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +3 -5
  66. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +3 -5
  67. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +3 -5
  68. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +3 -5
  69. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +3 -5
  70. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +3 -5
  71. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +3 -5
  72. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +3 -5
  73. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +3 -5
  74. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +13 -30
  75. data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +3 -8
  76. data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +13 -30
  77. data/lib/twilio-ruby/rest/autopilot/v1/assistant/defaults.rb +4 -14
  78. data/lib/twilio-ruby/rest/autopilot/v1/assistant/dialogue.rb +3 -9
  79. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +13 -30
  80. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +12 -25
  81. data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +13 -30
  82. data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +13 -30
  83. data/lib/twilio-ruby/rest/autopilot/v1/assistant/style_sheet.rb +4 -14
  84. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +13 -30
  85. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +12 -25
  86. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +13 -30
  87. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_actions.rb +4 -14
  88. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_statistics.rb +3 -9
  89. data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +13 -30
  90. data/lib/twilio-ruby/rest/autopilot/v1/restore_assistant.rb +1 -5
  91. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +3 -9
  92. data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +6 -14
  93. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +6 -13
  94. data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +6 -12
  95. data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +4 -14
  96. data/lib/twilio-ruby/rest/chat/v1/credential.rb +13 -30
  97. data/lib/twilio-ruby/rest/chat/v1/service.rb +13 -30
  98. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +13 -30
  99. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +12 -25
  100. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +13 -30
  101. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +13 -30
  102. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +13 -30
  103. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +13 -30
  104. data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +3 -5
  105. data/lib/twilio-ruby/rest/chat/v2/credential.rb +13 -30
  106. data/lib/twilio-ruby/rest/chat/v2/service.rb +13 -30
  107. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +9 -17
  108. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +34 -36
  109. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +12 -25
  110. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +34 -36
  111. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +34 -36
  112. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +13 -30
  113. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +13 -30
  114. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +30 -34
  115. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +9 -17
  116. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +10 -22
  117. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +34 -36
  118. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +80 -36
  119. data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +348 -0
  120. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +46 -36
  121. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +13 -30
  122. data/lib/twilio-ruby/rest/conversations/v1/webhook.rb +4 -14
  123. data/lib/twilio-ruby/rest/fax/v1/fax.rb +13 -30
  124. data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +9 -17
  125. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +12 -25
  126. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +9 -34
  127. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +13 -30
  128. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +13 -30
  129. data/lib/twilio-ruby/rest/insights/v1/call.rb +3 -9
  130. data/lib/twilio-ruby/rest/insights/v1/call/event.rb +3 -5
  131. data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +3 -5
  132. data/lib/twilio-ruby/rest/insights/v1/call/summary.rb +3 -7
  133. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +13 -30
  134. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +13 -30
  135. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +13 -30
  136. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +12 -25
  137. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +13 -30
  138. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +13 -30
  139. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +13 -30
  140. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +13 -30
  141. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +3 -5
  142. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +13 -30
  143. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +13 -30
  144. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +9 -17
  145. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +34 -36
  146. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +12 -25
  147. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +34 -36
  148. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +34 -36
  149. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +13 -30
  150. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +13 -30
  151. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +30 -34
  152. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +9 -17
  153. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +10 -22
  154. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +4 -8
  155. data/lib/twilio-ruby/rest/messaging/v1/service.rb +13 -30
  156. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +12 -25
  157. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +12 -25
  158. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +12 -25
  159. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +6 -14
  160. data/lib/twilio-ruby/rest/monitor/v1/event.rb +6 -14
  161. data/lib/twilio-ruby/rest/notify/v1/credential.rb +13 -30
  162. data/lib/twilio-ruby/rest/notify/v1/service.rb +13 -30
  163. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +12 -25
  164. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +3 -8
  165. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +31 -27
  166. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +9 -24
  167. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +12 -25
  168. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +10 -27
  169. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +6 -14
  170. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +6 -14
  171. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +10 -27
  172. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +6 -14
  173. data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +3 -9
  174. data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +6 -14
  175. data/lib/twilio-ruby/rest/preview/bulk_exports/export/export_custom_job.rb +6 -13
  176. data/lib/twilio-ruby/rest/preview/bulk_exports/export/job.rb +6 -12
  177. data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +4 -14
  178. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +13 -30
  179. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +13 -30
  180. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +13 -30
  181. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +13 -30
  182. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +13 -30
  183. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +10 -27
  184. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +3 -5
  185. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +13 -30
  186. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +6 -14
  187. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +6 -14
  188. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +13 -30
  189. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +7 -19
  190. data/lib/twilio-ruby/rest/preview/sync/service.rb +13 -30
  191. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +26 -36
  192. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +10 -22
  193. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +12 -25
  194. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +26 -36
  195. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +10 -22
  196. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +12 -25
  197. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +26 -36
  198. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +10 -22
  199. data/lib/twilio-ruby/rest/preview/trusted_comms/branded_call.rb +3 -8
  200. data/lib/twilio-ruby/rest/preview/trusted_comms/brands_information.rb +13 -11
  201. data/lib/twilio-ruby/rest/preview/trusted_comms/business.rb +3 -9
  202. data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand.rb +3 -9
  203. data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel.rb +3 -9
  204. data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel/channel.rb +3 -8
  205. data/lib/twilio-ruby/rest/preview/trusted_comms/business/insights/impressions_rate.rb +3 -7
  206. data/lib/twilio-ruby/rest/preview/trusted_comms/cps.rb +11 -11
  207. data/lib/twilio-ruby/rest/preview/trusted_comms/current_call.rb +25 -11
  208. data/lib/twilio-ruby/rest/preview/trusted_comms/phone_call.rb +3 -8
  209. data/lib/twilio-ruby/rest/preview/understand/assistant.rb +13 -30
  210. data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_fallback_actions.rb +4 -14
  211. data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_initiation_actions.rb +4 -14
  212. data/lib/twilio-ruby/rest/preview/understand/assistant/dialogue.rb +3 -9
  213. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +13 -30
  214. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +12 -25
  215. data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +13 -30
  216. data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +13 -30
  217. data/lib/twilio-ruby/rest/preview/understand/assistant/style_sheet.rb +4 -14
  218. data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +13 -30
  219. data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +12 -25
  220. data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +13 -30
  221. data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_actions.rb +4 -14
  222. data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_statistics.rb +3 -9
  223. data/lib/twilio-ruby/rest/preview/wireless/command.rb +9 -22
  224. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +13 -30
  225. data/lib/twilio-ruby/rest/preview/wireless/sim.rb +7 -19
  226. data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +3 -7
  227. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +6 -14
  228. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +6 -14
  229. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +6 -14
  230. data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +3 -9
  231. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +6 -14
  232. data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +3 -7
  233. data/lib/twilio-ruby/rest/proxy/v1/service.rb +13 -30
  234. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +13 -30
  235. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +13 -30
  236. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +9 -17
  237. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +12 -25
  238. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +9 -22
  239. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +13 -30
  240. data/lib/twilio-ruby/rest/serverless/v1/service.rb +13 -30
  241. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +13 -30
  242. data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +6 -14
  243. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +12 -25
  244. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +12 -25
  245. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +9 -22
  246. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +6 -14
  247. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +13 -30
  248. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +13 -30
  249. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +6 -14
  250. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +3 -9
  251. data/lib/twilio-ruby/rest/studio/v1/flow.rb +9 -17
  252. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +12 -25
  253. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +3 -9
  254. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +6 -14
  255. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +3 -9
  256. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +13 -30
  257. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +3 -9
  258. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +6 -14
  259. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +3 -9
  260. data/lib/twilio-ruby/rest/studio/v2/flow.rb +13 -30
  261. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +13 -30
  262. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +3 -9
  263. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +6 -14
  264. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +3 -9
  265. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +6 -14
  266. data/lib/twilio-ruby/rest/studio/v2/flow/test_user.rb +4 -14
  267. data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +1 -5
  268. data/lib/twilio-ruby/rest/supersim/v1/command.rb +9 -22
  269. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +10 -27
  270. data/lib/twilio-ruby/rest/supersim/v1/network.rb +6 -14
  271. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +10 -27
  272. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +12 -25
  273. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +7 -19
  274. data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +3 -5
  275. data/lib/twilio-ruby/rest/sync/v1/service.rb +13 -30
  276. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +26 -36
  277. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +10 -22
  278. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +13 -30
  279. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +32 -36
  280. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +10 -22
  281. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +13 -30
  282. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +32 -36
  283. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +10 -22
  284. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +13 -30
  285. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +3 -8
  286. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +13 -30
  287. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +13 -30
  288. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +15 -17
  289. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +13 -30
  290. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +7 -19
  291. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +13 -30
  292. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +13 -30
  293. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +3 -7
  294. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +3 -7
  295. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +3 -7
  296. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +3 -5
  297. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +13 -30
  298. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +7 -19
  299. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +7 -19
  300. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +3 -7
  301. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +3 -7
  302. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +3 -7
  303. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +3 -7
  304. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +13 -30
  305. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +3 -7
  306. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +3 -7
  307. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +3 -7
  308. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +3 -7
  309. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +3 -7
  310. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +3 -7
  311. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +13 -30
  312. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +12 -25
  313. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +12 -25
  314. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +13 -30
  315. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +12 -25
  316. data/lib/twilio-ruby/rest/verify.rb +2 -2
  317. data/lib/twilio-ruby/rest/verify/v2.rb +2 -2
  318. data/lib/twilio-ruby/rest/verify/v2/form.rb +7 -13
  319. data/lib/twilio-ruby/rest/verify/v2/service.rb +58 -33
  320. data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +124 -0
  321. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +62 -52
  322. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +477 -0
  323. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +66 -100
  324. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +13 -30
  325. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +13 -30
  326. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +13 -30
  327. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +7 -22
  328. data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +3 -8
  329. data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +13 -30
  330. data/lib/twilio-ruby/rest/video/v1/composition.rb +12 -25
  331. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +13 -30
  332. data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +8 -20
  333. data/lib/twilio-ruby/rest/video/v1/recording.rb +9 -17
  334. data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +8 -20
  335. data/lib/twilio-ruby/rest/video/v1/room.rb +10 -27
  336. data/lib/twilio-ruby/rest/video/v1/room/recording.rb +9 -17
  337. data/lib/twilio-ruby/rest/video/v1/room/room_participant.rb +7 -19
  338. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_published_track.rb +6 -14
  339. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribe_rule.rb +3 -13
  340. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribed_track.rb +6 -14
  341. data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +13 -30
  342. data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +13 -30
  343. data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +13 -30
  344. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +3 -8
  345. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +6 -14
  346. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +3 -5
  347. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +4 -14
  348. data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +13 -30
  349. data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +13 -30
  350. data/lib/twilio-ruby/rest/wireless/v1/command.rb +12 -25
  351. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +13 -30
  352. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +10 -22
  353. data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +3 -5
  354. data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +3 -5
  355. data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +3 -5
  356. data/lib/twilio-ruby/version.rb +1 -1
  357. data/spec/holodeck/holodeck.rb +11 -6
  358. data/spec/integration/accounts/v1/credential/aws_spec.rb +0 -4
  359. data/spec/integration/accounts/v1/credential/public_key_spec.rb +0 -4
  360. data/spec/integration/api/v2010/account/address/dependent_phone_number_spec.rb +0 -1
  361. data/spec/integration/api/v2010/account/address_spec.rb +0 -4
  362. data/spec/integration/api/v2010/account/application_spec.rb +0 -5
  363. data/spec/integration/api/v2010/account/authorized_connect_app_spec.rb +0 -2
  364. data/spec/integration/api/v2010/account/available_phone_number/local_spec.rb +0 -1
  365. data/spec/integration/api/v2010/account/available_phone_number/machine_to_machine_spec.rb +0 -1
  366. data/spec/integration/api/v2010/account/available_phone_number/mobile_spec.rb +0 -1
  367. data/spec/integration/api/v2010/account/available_phone_number/national_spec.rb +0 -1
  368. data/spec/integration/api/v2010/account/available_phone_number/shared_cost_spec.rb +0 -1
  369. data/spec/integration/api/v2010/account/available_phone_number/toll_free_spec.rb +0 -1
  370. data/spec/integration/api/v2010/account/available_phone_number/voip_spec.rb +0 -1
  371. data/spec/integration/api/v2010/account/available_phone_number_spec.rb +0 -2
  372. data/spec/integration/api/v2010/account/balance_spec.rb +0 -1
  373. data/spec/integration/api/v2010/account/call/feedback_spec.rb +0 -1
  374. data/spec/integration/api/v2010/account/call/feedback_summary_spec.rb +0 -2
  375. data/spec/integration/api/v2010/account/call/notification_spec.rb +0 -2
  376. data/spec/integration/api/v2010/account/call/recording_spec.rb +0 -4
  377. data/spec/integration/api/v2010/account/call_spec.rb +0 -4
  378. data/spec/integration/api/v2010/account/conference/participant_spec.rb +0 -4
  379. data/spec/integration/api/v2010/account/conference/recording_spec.rb +0 -3
  380. data/spec/integration/api/v2010/account/conference_spec.rb +0 -3
  381. data/spec/integration/api/v2010/account/connect_app_spec.rb +0 -4
  382. data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension_spec.rb +0 -2
  383. data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +0 -3
  384. data/spec/integration/api/v2010/account/incoming_phone_number/local_spec.rb +0 -1
  385. data/spec/integration/api/v2010/account/incoming_phone_number/mobile_spec.rb +0 -1
  386. data/spec/integration/api/v2010/account/incoming_phone_number/toll_free_spec.rb +0 -1
  387. data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +43 -20
  388. data/spec/integration/api/v2010/account/key_spec.rb +0 -4
  389. data/spec/integration/api/v2010/account/message/feedback_spec.rb +0 -1
  390. data/spec/integration/api/v2010/account/message/media_spec.rb +0 -3
  391. data/spec/integration/api/v2010/account/message_spec.rb +0 -3
  392. data/spec/integration/api/v2010/account/new_key_spec.rb +0 -1
  393. data/spec/integration/api/v2010/account/new_signing_key_spec.rb +0 -1
  394. data/spec/integration/api/v2010/account/notification_spec.rb +0 -2
  395. data/spec/integration/api/v2010/account/outgoing_caller_id_spec.rb +0 -4
  396. data/spec/integration/api/v2010/account/queue/member_spec.rb +0 -2
  397. data/spec/integration/api/v2010/account/queue_spec.rb +0 -4
  398. data/spec/integration/api/v2010/account/recording/add_on_result/payload_spec.rb +0 -3
  399. data/spec/integration/api/v2010/account/recording/add_on_result_spec.rb +0 -3
  400. data/spec/integration/api/v2010/account/recording/transcription_spec.rb +0 -3
  401. data/spec/integration/api/v2010/account/recording_spec.rb +0 -3
  402. data/spec/integration/api/v2010/account/short_code_spec.rb +0 -3
  403. data/spec/integration/api/v2010/account/signing_key_spec.rb +0 -4
  404. data/spec/integration/api/v2010/account/sip/credential_list/credential_spec.rb +0 -4
  405. data/spec/integration/api/v2010/account/sip/credential_list_spec.rb +0 -3
  406. data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping_spec.rb +0 -3
  407. data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping_spec.rb +0 -3
  408. data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping_spec.rb +0 -3
  409. data/spec/integration/api/v2010/account/sip/domain/credential_list_mapping_spec.rb +0 -3
  410. data/spec/integration/api/v2010/account/sip/domain/ip_access_control_list_mapping_spec.rb +0 -3
  411. data/spec/integration/api/v2010/account/sip/domain_spec.rb +0 -4
  412. data/spec/integration/api/v2010/account/sip/ip_access_control_list/ip_address_spec.rb +0 -4
  413. data/spec/integration/api/v2010/account/sip/ip_access_control_list_spec.rb +0 -3
  414. data/spec/integration/api/v2010/account/token_spec.rb +0 -1
  415. data/spec/integration/api/v2010/account/transcription_spec.rb +0 -3
  416. data/spec/integration/api/v2010/account/usage/record/all_time_spec.rb +0 -1
  417. data/spec/integration/api/v2010/account/usage/record/daily_spec.rb +0 -1
  418. data/spec/integration/api/v2010/account/usage/record/last_month_spec.rb +0 -1
  419. data/spec/integration/api/v2010/account/usage/record/monthly_spec.rb +0 -1
  420. data/spec/integration/api/v2010/account/usage/record/this_month_spec.rb +0 -1
  421. data/spec/integration/api/v2010/account/usage/record/today_spec.rb +0 -1
  422. data/spec/integration/api/v2010/account/usage/record/yearly_spec.rb +0 -1
  423. data/spec/integration/api/v2010/account/usage/record/yesterday_spec.rb +0 -1
  424. data/spec/integration/api/v2010/account/usage/record_spec.rb +0 -1
  425. data/spec/integration/api/v2010/account/usage/trigger_spec.rb +0 -4
  426. data/spec/integration/api/v2010/account_spec.rb +0 -4
  427. data/spec/integration/autopilot/v1/assistant/defaults_spec.rb +0 -2
  428. data/spec/integration/autopilot/v1/assistant/dialogue_spec.rb +0 -1
  429. data/spec/integration/autopilot/v1/assistant/field_type/field_value_spec.rb +0 -3
  430. data/spec/integration/autopilot/v1/assistant/field_type_spec.rb +0 -4
  431. data/spec/integration/autopilot/v1/assistant/model_build_spec.rb +0 -5
  432. data/spec/integration/autopilot/v1/assistant/query_spec.rb +0 -4
  433. data/spec/integration/autopilot/v1/assistant/style_sheet_spec.rb +0 -2
  434. data/spec/integration/autopilot/v1/assistant/task/field_spec.rb +0 -3
  435. data/spec/integration/autopilot/v1/assistant/task/sample_spec.rb +0 -4
  436. data/spec/integration/autopilot/v1/assistant/task/task_actions_spec.rb +0 -2
  437. data/spec/integration/autopilot/v1/assistant/task/task_statistics_spec.rb +0 -1
  438. data/spec/integration/autopilot/v1/assistant/task_spec.rb +0 -4
  439. data/spec/integration/autopilot/v1/assistant/webhook_spec.rb +0 -4
  440. data/spec/integration/autopilot/v1/assistant_spec.rb +0 -5
  441. data/spec/integration/bulkexports/v1/export/day_spec.rb +0 -2
  442. data/spec/integration/bulkexports/v1/export/export_custom_job_spec.rb +0 -2
  443. data/spec/integration/bulkexports/v1/export/job_spec.rb +0 -2
  444. data/spec/integration/bulkexports/v1/export_configuration_spec.rb +0 -2
  445. data/spec/integration/bulkexports/v1/export_spec.rb +0 -1
  446. data/spec/integration/chat/v1/credential_spec.rb +0 -4
  447. data/spec/integration/chat/v1/service/channel/invite_spec.rb +0 -3
  448. data/spec/integration/chat/v1/service/channel/member_spec.rb +0 -4
  449. data/spec/integration/chat/v1/service/channel/message_spec.rb +0 -4
  450. data/spec/integration/chat/v1/service/channel_spec.rb +0 -5
  451. data/spec/integration/chat/v1/service/role_spec.rb +0 -3
  452. data/spec/integration/chat/v1/service/user/user_channel_spec.rb +0 -1
  453. data/spec/integration/chat/v1/service/user_spec.rb +0 -4
  454. data/spec/integration/chat/v1/service_spec.rb +0 -4
  455. data/spec/integration/chat/v2/credential_spec.rb +0 -4
  456. data/spec/integration/chat/v2/service/binding_spec.rb +0 -3
  457. data/spec/integration/chat/v2/service/channel/invite_spec.rb +0 -3
  458. data/spec/integration/chat/v2/service/channel/member_spec.rb +9 -7
  459. data/spec/integration/chat/v2/service/channel/message_spec.rb +9 -8
  460. data/spec/integration/chat/v2/service/channel/webhook_spec.rb +0 -4
  461. data/spec/integration/chat/v2/service/channel_spec.rb +9 -8
  462. data/spec/integration/chat/v2/service/role_spec.rb +0 -3
  463. data/spec/integration/chat/v2/service/user/user_binding_spec.rb +0 -3
  464. data/spec/integration/chat/v2/service/user/user_channel_spec.rb +0 -4
  465. data/spec/integration/chat/v2/service/user_spec.rb +6 -6
  466. data/spec/integration/chat/v2/service_spec.rb +0 -4
  467. data/spec/integration/conversations/v1/conversation/message/delivery_receipt_spec.rb +132 -0
  468. data/spec/integration/conversations/v1/conversation/message_spec.rb +93 -15
  469. data/spec/integration/conversations/v1/conversation/participant_spec.rb +37 -8
  470. data/spec/integration/conversations/v1/conversation/webhook_spec.rb +0 -4
  471. data/spec/integration/conversations/v1/conversation_spec.rb +9 -8
  472. data/spec/integration/conversations/v1/webhook_spec.rb +0 -2
  473. data/spec/integration/fax/v1/fax/fax_media_spec.rb +0 -3
  474. data/spec/integration/fax/v1/fax_spec.rb +0 -4
  475. data/spec/integration/flex_api/v1/channel_spec.rb +0 -3
  476. data/spec/integration/flex_api/v1/configuration_spec.rb +0 -51
  477. data/spec/integration/flex_api/v1/flex_flow_spec.rb +0 -4
  478. data/spec/integration/flex_api/v1/web_channel_spec.rb +0 -4
  479. data/spec/integration/insights/v1/call/event_spec.rb +0 -1
  480. data/spec/integration/insights/v1/call/metric_spec.rb +0 -1
  481. data/spec/integration/insights/v1/call/summary_spec.rb +0 -1
  482. data/spec/integration/insights/v1/call_spec.rb +0 -1
  483. data/spec/integration/ip_messaging/v1/credential_spec.rb +0 -4
  484. data/spec/integration/ip_messaging/v1/service/channel/invite_spec.rb +0 -3
  485. data/spec/integration/ip_messaging/v1/service/channel/member_spec.rb +0 -4
  486. data/spec/integration/ip_messaging/v1/service/channel/message_spec.rb +0 -4
  487. data/spec/integration/ip_messaging/v1/service/channel_spec.rb +0 -5
  488. data/spec/integration/ip_messaging/v1/service/role_spec.rb +0 -3
  489. data/spec/integration/ip_messaging/v1/service/user/user_channel_spec.rb +0 -1
  490. data/spec/integration/ip_messaging/v1/service/user_spec.rb +0 -4
  491. data/spec/integration/ip_messaging/v1/service_spec.rb +0 -4
  492. data/spec/integration/ip_messaging/v2/credential_spec.rb +0 -4
  493. data/spec/integration/ip_messaging/v2/service/binding_spec.rb +0 -3
  494. data/spec/integration/ip_messaging/v2/service/channel/invite_spec.rb +0 -3
  495. data/spec/integration/ip_messaging/v2/service/channel/member_spec.rb +9 -7
  496. data/spec/integration/ip_messaging/v2/service/channel/message_spec.rb +9 -8
  497. data/spec/integration/ip_messaging/v2/service/channel/webhook_spec.rb +0 -4
  498. data/spec/integration/ip_messaging/v2/service/channel_spec.rb +9 -8
  499. data/spec/integration/ip_messaging/v2/service/role_spec.rb +0 -3
  500. data/spec/integration/ip_messaging/v2/service/user/user_binding_spec.rb +0 -3
  501. data/spec/integration/ip_messaging/v2/service/user/user_channel_spec.rb +0 -4
  502. data/spec/integration/ip_messaging/v2/service/user_spec.rb +6 -6
  503. data/spec/integration/ip_messaging/v2/service_spec.rb +0 -4
  504. data/spec/integration/lookups/v1/phone_number_spec.rb +0 -1
  505. data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +0 -3
  506. data/spec/integration/messaging/v1/service/phone_number_spec.rb +0 -3
  507. data/spec/integration/messaging/v1/service/short_code_spec.rb +0 -3
  508. data/spec/integration/messaging/v1/service_spec.rb +0 -4
  509. data/spec/integration/monitor/v1/alert_spec.rb +0 -2
  510. data/spec/integration/monitor/v1/event_spec.rb +0 -2
  511. data/spec/integration/notify/v1/credential_spec.rb +0 -4
  512. data/spec/integration/notify/v1/service/binding_spec.rb +0 -3
  513. data/spec/integration/notify/v1/service/notification_spec.rb +0 -1
  514. data/spec/integration/notify/v1/service_spec.rb +0 -5
  515. data/spec/integration/numbers/v2/regulatory_compliance/bundle/evaluation_spec.rb +0 -3
  516. data/spec/integration/numbers/v2/regulatory_compliance/bundle/item_assignment_spec.rb +0 -3
  517. data/spec/integration/numbers/v2/regulatory_compliance/bundle_spec.rb +32 -4
  518. data/spec/integration/numbers/v2/regulatory_compliance/end_user_spec.rb +0 -3
  519. data/spec/integration/numbers/v2/regulatory_compliance/end_user_type_spec.rb +0 -2
  520. data/spec/integration/numbers/v2/regulatory_compliance/regulation_spec.rb +0 -2
  521. data/spec/integration/numbers/v2/regulatory_compliance/supporting_document_spec.rb +0 -3
  522. data/spec/integration/numbers/v2/regulatory_compliance/supporting_document_type_spec.rb +0 -2
  523. data/spec/integration/preview/bulk_exports/export/day_spec.rb +0 -2
  524. data/spec/integration/preview/bulk_exports/export/export_custom_job_spec.rb +0 -2
  525. data/spec/integration/preview/bulk_exports/export/job_spec.rb +0 -2
  526. data/spec/integration/preview/bulk_exports/export_configuration_spec.rb +0 -2
  527. data/spec/integration/preview/bulk_exports/export_spec.rb +0 -1
  528. data/spec/integration/preview/deployed_devices/fleet/certificate_spec.rb +0 -4
  529. data/spec/integration/preview/deployed_devices/fleet/deployment_spec.rb +0 -5
  530. data/spec/integration/preview/deployed_devices/fleet/device_spec.rb +0 -5
  531. data/spec/integration/preview/deployed_devices/fleet/key_spec.rb +0 -5
  532. data/spec/integration/preview/deployed_devices/fleet_spec.rb +0 -5
  533. data/spec/integration/preview/hosted_numbers/authorization_document/dependent_hosted_number_order_spec.rb +0 -1
  534. data/spec/integration/preview/hosted_numbers/authorization_document_spec.rb +0 -3
  535. data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +0 -4
  536. data/spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb +0 -2
  537. data/spec/integration/preview/marketplace/available_add_on_spec.rb +0 -2
  538. data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +0 -2
  539. data/spec/integration/preview/marketplace/installed_add_on_spec.rb +0 -4
  540. data/spec/integration/preview/sync/service/document/document_permission_spec.rb +0 -3
  541. data/spec/integration/preview/sync/service/document_spec.rb +6 -6
  542. data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +6 -5
  543. data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +0 -3
  544. data/spec/integration/preview/sync/service/sync_list_spec.rb +0 -4
  545. data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +6 -5
  546. data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +0 -3
  547. data/spec/integration/preview/sync/service/sync_map_spec.rb +0 -4
  548. data/spec/integration/preview/sync/service_spec.rb +0 -5
  549. data/spec/integration/preview/trusted_comms/brands_information_spec.rb +3 -2
  550. data/spec/integration/preview/trusted_comms/business/brand/branded_channel_spec.rb +0 -1
  551. data/spec/integration/preview/trusted_comms/business/brand_spec.rb +0 -1
  552. data/spec/integration/preview/trusted_comms/business/insights/impressions_rate_spec.rb +0 -1
  553. data/spec/integration/preview/trusted_comms/business_spec.rb +0 -1
  554. data/spec/integration/preview/trusted_comms/cps_spec.rb +3 -2
  555. data/spec/integration/preview/trusted_comms/current_call_spec.rb +6 -2
  556. data/spec/integration/preview/understand/assistant/assistant_fallback_actions_spec.rb +0 -2
  557. data/spec/integration/preview/understand/assistant/assistant_initiation_actions_spec.rb +0 -2
  558. data/spec/integration/preview/understand/assistant/dialogue_spec.rb +0 -1
  559. data/spec/integration/preview/understand/assistant/field_type/field_value_spec.rb +0 -3
  560. data/spec/integration/preview/understand/assistant/field_type_spec.rb +0 -4
  561. data/spec/integration/preview/understand/assistant/model_build_spec.rb +0 -5
  562. data/spec/integration/preview/understand/assistant/query_spec.rb +0 -4
  563. data/spec/integration/preview/understand/assistant/style_sheet_spec.rb +0 -2
  564. data/spec/integration/preview/understand/assistant/task/field_spec.rb +0 -3
  565. data/spec/integration/preview/understand/assistant/task/sample_spec.rb +0 -4
  566. data/spec/integration/preview/understand/assistant/task/task_actions_spec.rb +0 -2
  567. data/spec/integration/preview/understand/assistant/task/task_statistics_spec.rb +0 -1
  568. data/spec/integration/preview/understand/assistant/task_spec.rb +0 -4
  569. data/spec/integration/preview/understand/assistant_spec.rb +0 -5
  570. data/spec/integration/preview/wireless/command_spec.rb +0 -2
  571. data/spec/integration/preview/wireless/rate_plan_spec.rb +0 -5
  572. data/spec/integration/preview/wireless/sim/usage_spec.rb +0 -1
  573. data/spec/integration/preview/wireless/sim_spec.rb +0 -3
  574. data/spec/integration/pricing/v1/messaging/country_spec.rb +0 -2
  575. data/spec/integration/pricing/v1/phone_number/country_spec.rb +0 -2
  576. data/spec/integration/pricing/v1/voice/country_spec.rb +0 -2
  577. data/spec/integration/pricing/v1/voice/number_spec.rb +0 -1
  578. data/spec/integration/pricing/v2/voice/country_spec.rb +0 -2
  579. data/spec/integration/pricing/v2/voice/number_spec.rb +0 -1
  580. data/spec/integration/proxy/v1/service/phone_number_spec.rb +0 -5
  581. data/spec/integration/proxy/v1/service/session/interaction_spec.rb +0 -3
  582. data/spec/integration/proxy/v1/service/session/participant/message_interaction_spec.rb +0 -3
  583. data/spec/integration/proxy/v1/service/session/participant_spec.rb +0 -3
  584. data/spec/integration/proxy/v1/service/session_spec.rb +0 -5
  585. data/spec/integration/proxy/v1/service/short_code_spec.rb +0 -4
  586. data/spec/integration/proxy/v1/service_spec.rb +0 -4
  587. data/spec/integration/serverless/v1/service/asset/asset_version_spec.rb +0 -2
  588. data/spec/integration/serverless/v1/service/asset_spec.rb +0 -3
  589. data/spec/integration/serverless/v1/service/build_spec.rb +0 -4
  590. data/spec/integration/serverless/v1/service/environment/deployment_spec.rb +0 -3
  591. data/spec/integration/serverless/v1/service/environment/log_spec.rb +0 -2
  592. data/spec/integration/serverless/v1/service/environment/variable_spec.rb +0 -4
  593. data/spec/integration/serverless/v1/service/environment_spec.rb +0 -3
  594. data/spec/integration/serverless/v1/service/function/function_version/function_version_content_spec.rb +0 -1
  595. data/spec/integration/serverless/v1/service/function/function_version_spec.rb +0 -2
  596. data/spec/integration/serverless/v1/service/function_spec.rb +0 -3
  597. data/spec/integration/serverless/v1/service_spec.rb +0 -4
  598. data/spec/integration/studio/v1/flow/engagement/engagement_context_spec.rb +0 -1
  599. data/spec/integration/studio/v1/flow/engagement/step/step_context_spec.rb +0 -1
  600. data/spec/integration/studio/v1/flow/engagement/step_spec.rb +0 -2
  601. data/spec/integration/studio/v1/flow/engagement_spec.rb +0 -3
  602. data/spec/integration/studio/v1/flow/execution/execution_context_spec.rb +0 -1
  603. data/spec/integration/studio/v1/flow/execution/execution_step/execution_step_context_spec.rb +0 -1
  604. data/spec/integration/studio/v1/flow/execution/execution_step_spec.rb +0 -2
  605. data/spec/integration/studio/v1/flow/execution_spec.rb +0 -3
  606. data/spec/integration/studio/v1/flow_spec.rb +0 -3
  607. data/spec/integration/studio/v2/flow/execution/execution_context_spec.rb +0 -1
  608. data/spec/integration/studio/v2/flow/execution/execution_step/execution_step_context_spec.rb +0 -1
  609. data/spec/integration/studio/v2/flow/execution/execution_step_spec.rb +0 -2
  610. data/spec/integration/studio/v2/flow/execution_spec.rb +0 -3
  611. data/spec/integration/studio/v2/flow/flow_revision_spec.rb +0 -2
  612. data/spec/integration/studio/v2/flow/test_user_spec.rb +0 -1
  613. data/spec/integration/studio/v2/flow_spec.rb +0 -3
  614. data/spec/integration/supersim/v1/command_spec.rb +0 -2
  615. data/spec/integration/supersim/v1/fleet_spec.rb +0 -3
  616. data/spec/integration/supersim/v1/network_access_profile/network_access_profile_network_spec.rb +0 -3
  617. data/spec/integration/supersim/v1/network_access_profile_spec.rb +0 -4
  618. data/spec/integration/supersim/v1/network_spec.rb +0 -2
  619. data/spec/integration/supersim/v1/sim_spec.rb +0 -3
  620. data/spec/integration/supersim/v1/usage_record_spec.rb +0 -1
  621. data/spec/integration/sync/v1/service/document/document_permission_spec.rb +0 -3
  622. data/spec/integration/sync/v1/service/document_spec.rb +6 -7
  623. data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +6 -6
  624. data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +0 -3
  625. data/spec/integration/sync/v1/service/sync_list_spec.rb +0 -5
  626. data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +6 -6
  627. data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +0 -3
  628. data/spec/integration/sync/v1/service/sync_map_spec.rb +0 -5
  629. data/spec/integration/sync/v1/service/sync_stream_spec.rb +0 -5
  630. data/spec/integration/sync/v1/service_spec.rb +0 -5
  631. data/spec/integration/taskrouter/v1/workspace/activity_spec.rb +0 -4
  632. data/spec/integration/taskrouter/v1/workspace/event_spec.rb +0 -2
  633. data/spec/integration/taskrouter/v1/workspace/task/reservation_spec.rb +0 -3
  634. data/spec/integration/taskrouter/v1/workspace/task_channel_spec.rb +0 -4
  635. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics_spec.rb +0 -1
  636. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics_spec.rb +0 -1
  637. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_statistics_spec.rb +0 -1
  638. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queues_statistics_spec.rb +0 -1
  639. data/spec/integration/taskrouter/v1/workspace/task_queue_spec.rb +0 -4
  640. data/spec/integration/taskrouter/v1/workspace/task_spec.rb +0 -5
  641. data/spec/integration/taskrouter/v1/workspace/worker/reservation_spec.rb +0 -3
  642. data/spec/integration/taskrouter/v1/workspace/worker/worker_channel_spec.rb +0 -3
  643. data/spec/integration/taskrouter/v1/workspace/worker/worker_statistics_spec.rb +0 -1
  644. data/spec/integration/taskrouter/v1/workspace/worker/workers_cumulative_statistics_spec.rb +0 -1
  645. data/spec/integration/taskrouter/v1/workspace/worker/workers_real_time_statistics_spec.rb +0 -1
  646. data/spec/integration/taskrouter/v1/workspace/worker/workers_statistics_spec.rb +0 -1
  647. data/spec/integration/taskrouter/v1/workspace/worker_spec.rb +0 -4
  648. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics_spec.rb +0 -1
  649. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_real_time_statistics_spec.rb +0 -1
  650. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_statistics_spec.rb +0 -1
  651. data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +0 -4
  652. data/spec/integration/taskrouter/v1/workspace/workspace_cumulative_statistics_spec.rb +0 -1
  653. data/spec/integration/taskrouter/v1/workspace/workspace_real_time_statistics_spec.rb +0 -1
  654. data/spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb +0 -1
  655. data/spec/integration/taskrouter/v1/workspace_spec.rb +0 -4
  656. data/spec/integration/trunking/v1/trunk/credential_list_spec.rb +0 -3
  657. data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +0 -3
  658. data/spec/integration/trunking/v1/trunk/origination_url_spec.rb +0 -4
  659. data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +0 -3
  660. data/spec/integration/trunking/v1/trunk_spec.rb +0 -5
  661. data/spec/integration/verify/v2/form_spec.rb +5 -6
  662. data/spec/integration/verify/v2/service/{entity/access_token_spec.rb → access_token_spec.rb} +4 -6
  663. data/spec/integration/verify/v2/service/entity/{factor/challenge_spec.rb → challenge_spec.rb} +33 -134
  664. data/spec/integration/verify/v2/service/entity/factor_spec.rb +21 -27
  665. data/spec/integration/verify/v2/service/entity_spec.rb +15 -10
  666. data/spec/integration/verify/v2/service/messaging_configuration_spec.rb +0 -3
  667. data/spec/integration/verify/v2/service/rate_limit/bucket_spec.rb +0 -4
  668. data/spec/integration/verify/v2/service/rate_limit_spec.rb +0 -4
  669. data/spec/integration/verify/v2/service/verification_spec.rb +0 -1
  670. data/spec/integration/verify/v2/service/webhook_spec.rb +0 -4
  671. data/spec/integration/verify/v2/service_spec.rb +8 -8
  672. data/spec/integration/video/v1/composition_hook_spec.rb +0 -3
  673. data/spec/integration/video/v1/composition_settings_spec.rb +0 -1
  674. data/spec/integration/video/v1/composition_spec.rb +0 -3
  675. data/spec/integration/video/v1/recording_settings_spec.rb +0 -1
  676. data/spec/integration/video/v1/recording_spec.rb +0 -3
  677. data/spec/integration/video/v1/room/recording_spec.rb +0 -3
  678. data/spec/integration/video/v1/room/room_participant/room_participant_published_track_spec.rb +0 -2
  679. data/spec/integration/video/v1/room/room_participant/room_participant_subscribe_rule_spec.rb +0 -2
  680. data/spec/integration/video/v1/room/room_participant/room_participant_subscribed_track_spec.rb +0 -2
  681. data/spec/integration/video/v1/room/room_participant_spec.rb +0 -3
  682. data/spec/integration/video/v1/room_spec.rb +0 -3
  683. data/spec/integration/voice/v1/byoc_trunk_spec.rb +0 -5
  684. data/spec/integration/voice/v1/connection_policy/connection_policy_target_spec.rb +0 -4
  685. data/spec/integration/voice/v1/connection_policy_spec.rb +0 -5
  686. data/spec/integration/voice/v1/dialing_permissions/country/highrisk_special_prefix_spec.rb +0 -1
  687. data/spec/integration/voice/v1/dialing_permissions/country_spec.rb +0 -2
  688. data/spec/integration/voice/v1/dialing_permissions/settings_spec.rb +0 -2
  689. data/spec/integration/voice/v1/ip_record_spec.rb +0 -4
  690. data/spec/integration/voice/v1/source_ip_mapping_spec.rb +0 -3
  691. data/spec/integration/wireless/v1/command_spec.rb +0 -3
  692. data/spec/integration/wireless/v1/rate_plan_spec.rb +0 -5
  693. data/spec/integration/wireless/v1/sim/data_session_spec.rb +0 -1
  694. data/spec/integration/wireless/v1/sim/usage_record_spec.rb +0 -1
  695. data/spec/integration/wireless/v1/sim_spec.rb +0 -4
  696. data/spec/integration/wireless/v1/usage_record_spec.rb +0 -1
  697. metadata +11 -8
  698. data/lib/twilio-ruby/rest/verify/v2/service/entity/access_token.rb +0 -141
  699. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor/challenge.rb +0 -494
@@ -30,8 +30,7 @@ module Twilio
30
30
  end
31
31
 
32
32
  ##
33
- # Retrieve a single page of BindingInstance records from the API.
34
- # Request is executed immediately.
33
+ # Create the BindingInstance
35
34
  # @param [String] identity The `identity` value that uniquely identifies the new
36
35
  # resource's [User](https://www.twilio.com/docs/chat/rest/user-resource) within
37
36
  # the [Service](https://www.twilio.com/docs/notify/api/service-resource). Up to 20
@@ -57,7 +56,7 @@ module Twilio
57
56
  # overrides the Credential specified in the Service resource. Applies to only
58
57
  # `apn`, `fcm`, and `gcm` type Bindings.
59
58
  # @param [String] endpoint Deprecated.
60
- # @return [BindingInstance] Newly created BindingInstance
59
+ # @return [BindingInstance] Created BindingInstance
61
60
  def create(identity: nil, binding_type: nil, address: nil, tag: :unset, notification_protocol_version: :unset, credential_sid: :unset, endpoint: :unset)
62
61
  data = Twilio::Values.of({
63
62
  'Identity' => identity,
@@ -69,11 +68,7 @@ module Twilio
69
68
  'Endpoint' => endpoint,
70
69
  })
71
70
 
72
- payload = @version.create(
73
- 'POST',
74
- @uri,
75
- data: data
76
- )
71
+ payload = @version.create('POST', @uri, data: data)
77
72
 
78
73
  BindingInstance.new(@version, payload, service_sid: @solution[:service_sid], )
79
74
  end
@@ -186,11 +181,9 @@ module Twilio
186
181
  'Page' => page_number,
187
182
  'PageSize' => page_size,
188
183
  })
189
- response = @version.page(
190
- 'GET',
191
- @uri,
192
- params
193
- )
184
+
185
+ response = @version.page('GET', @uri, params)
186
+
194
187
  BindingPage.new(@version, response, @solution)
195
188
  end
196
189
 
@@ -266,25 +259,19 @@ module Twilio
266
259
  end
267
260
 
268
261
  ##
269
- # Fetch a BindingInstance
262
+ # Fetch the BindingInstance
270
263
  # @return [BindingInstance] Fetched BindingInstance
271
264
  def fetch
272
- params = Twilio::Values.of({})
273
-
274
- payload = @version.fetch(
275
- 'GET',
276
- @uri,
277
- params,
278
- )
265
+ payload = @version.fetch('GET', @uri)
279
266
 
280
267
  BindingInstance.new(@version, payload, service_sid: @solution[:service_sid], sid: @solution[:sid], )
281
268
  end
282
269
 
283
270
  ##
284
- # Deletes the BindingInstance
271
+ # Delete the BindingInstance
285
272
  # @return [Boolean] true if delete succeeds, false otherwise
286
273
  def delete
287
- @version.delete('delete', @uri)
274
+ @version.delete('DELETE', @uri)
288
275
  end
289
276
 
290
277
  ##
@@ -437,14 +424,14 @@ module Twilio
437
424
  end
438
425
 
439
426
  ##
440
- # Fetch a BindingInstance
427
+ # Fetch the BindingInstance
441
428
  # @return [BindingInstance] Fetched BindingInstance
442
429
  def fetch
443
430
  context.fetch
444
431
  end
445
432
 
446
433
  ##
447
- # Deletes the BindingInstance
434
+ # Delete the BindingInstance
448
435
  # @return [Boolean] true if delete succeeds, false otherwise
449
436
  def delete
450
437
  context.delete
@@ -30,8 +30,7 @@ module Twilio
30
30
  end
31
31
 
32
32
  ##
33
- # Retrieve a single page of NotificationInstance records from the API.
34
- # Request is executed immediately.
33
+ # Create the NotificationInstance
35
34
  # @param [String] body The notification text. For FCM and GCM, translates to
36
35
  # `data.twi_body`. For APNS, translates to `aps.alert.body`. For SMS, translates
37
36
  # to `body`. SMS requires either this `body` value, or `media_urls` attribute
@@ -118,7 +117,7 @@ module Twilio
118
117
  # tag `all` is available to notify all Bindings in a Service instance. Similarly,
119
118
  # the implicit tags `apn`, `fcm`, `gcm`, `sms` and `facebook-messenger` are
120
119
  # available to notify all Bindings in a specific channel.
121
- # @return [NotificationInstance] Newly created NotificationInstance
120
+ # @return [NotificationInstance] Created NotificationInstance
122
121
  def create(body: :unset, priority: :unset, ttl: :unset, title: :unset, sound: :unset, action: :unset, data: :unset, apn: :unset, gcm: :unset, sms: :unset, facebook_messenger: :unset, fcm: :unset, segment: :unset, alexa: :unset, to_binding: :unset, delivery_callback_url: :unset, identity: :unset, tag: :unset)
123
122
  data = Twilio::Values.of({
124
123
  'Identity' => Twilio.serialize_list(identity) { |e| e },
@@ -141,11 +140,7 @@ module Twilio
141
140
  'DeliveryCallbackUrl' => delivery_callback_url,
142
141
  })
143
142
 
144
- payload = @version.create(
145
- 'POST',
146
- @uri,
147
- data: data
148
- )
143
+ payload = @version.create('POST', @uri, data: data)
149
144
 
150
145
  NotificationInstance.new(@version, payload, service_sid: @solution[:service_sid], )
151
146
  end
@@ -25,8 +25,7 @@ module Twilio
25
25
  end
26
26
 
27
27
  ##
28
- # Retrieve a single page of BundleInstance records from the API.
29
- # Request is executed immediately.
28
+ # Create the BundleInstance
30
29
  # @param [String] friendly_name The string that you assigned to describe the
31
30
  # resource.
32
31
  # @param [String] email The email address that will receive updates when the
@@ -41,7 +40,7 @@ module Twilio
41
40
  # resource.
42
41
  # @param [String] number_type The type of phone number of the Bundle's ownership
43
42
  # request.
44
- # @return [BundleInstance] Newly created BundleInstance
43
+ # @return [BundleInstance] Created BundleInstance
45
44
  def create(friendly_name: nil, email: nil, status_callback: :unset, regulation_sid: :unset, iso_country: :unset, end_user_type: :unset, number_type: :unset)
46
45
  data = Twilio::Values.of({
47
46
  'FriendlyName' => friendly_name,
@@ -53,11 +52,7 @@ module Twilio
53
52
  'NumberType' => number_type,
54
53
  })
55
54
 
56
- payload = @version.create(
57
- 'POST',
58
- @uri,
59
- data: data
60
- )
55
+ payload = @version.create('POST', @uri, data: data)
61
56
 
62
57
  BundleInstance.new(@version, payload, )
63
58
  end
@@ -170,11 +165,9 @@ module Twilio
170
165
  'Page' => page_number,
171
166
  'PageSize' => page_size,
172
167
  })
173
- response = @version.page(
174
- 'GET',
175
- @uri,
176
- params
177
- )
168
+
169
+ response = @version.page('GET', @uri, params)
170
+
178
171
  BundlePage.new(@version, response, @solution)
179
172
  end
180
173
 
@@ -247,16 +240,10 @@ module Twilio
247
240
  end
248
241
 
249
242
  ##
250
- # Fetch a BundleInstance
243
+ # Fetch the BundleInstance
251
244
  # @return [BundleInstance] Fetched BundleInstance
252
245
  def fetch
253
- params = Twilio::Values.of({})
254
-
255
- payload = @version.fetch(
256
- 'GET',
257
- @uri,
258
- params,
259
- )
246
+ payload = @version.fetch('GET', @uri)
260
247
 
261
248
  BundleInstance.new(@version, payload, sid: @solution[:sid], )
262
249
  end
@@ -279,15 +266,18 @@ module Twilio
279
266
  'Email' => email,
280
267
  })
281
268
 
282
- payload = @version.update(
283
- 'POST',
284
- @uri,
285
- data: data,
286
- )
269
+ payload = @version.update('POST', @uri, data: data)
287
270
 
288
271
  BundleInstance.new(@version, payload, sid: @solution[:sid], )
289
272
  end
290
273
 
274
+ ##
275
+ # Delete the BundleInstance
276
+ # @return [Boolean] true if delete succeeds, false otherwise
277
+ def delete
278
+ @version.delete('DELETE', @uri)
279
+ end
280
+
291
281
  ##
292
282
  # Access the evaluations
293
283
  # @return [EvaluationList]
@@ -357,6 +347,7 @@ module Twilio
357
347
  'regulation_sid' => payload['regulation_sid'],
358
348
  'friendly_name' => payload['friendly_name'],
359
349
  'status' => payload['status'],
350
+ 'valid_until' => Twilio.deserialize_iso8601_datetime(payload['valid_until']),
360
351
  'email' => payload['email'],
361
352
  'status_callback' => payload['status_callback'],
362
353
  'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
@@ -411,6 +402,12 @@ module Twilio
411
402
  @properties['status']
412
403
  end
413
404
 
405
+ ##
406
+ # @return [Time] The ISO 8601 date and time in GMT when the resource will be valid until.
407
+ def valid_until
408
+ @properties['valid_until']
409
+ end
410
+
414
411
  ##
415
412
  # @return [String] The email address
416
413
  def email
@@ -448,7 +445,7 @@ module Twilio
448
445
  end
449
446
 
450
447
  ##
451
- # Fetch a BundleInstance
448
+ # Fetch the BundleInstance
452
449
  # @return [BundleInstance] Fetched BundleInstance
453
450
  def fetch
454
451
  context.fetch
@@ -473,6 +470,13 @@ module Twilio
473
470
  )
474
471
  end
475
472
 
473
+ ##
474
+ # Delete the BundleInstance
475
+ # @return [Boolean] true if delete succeeds, false otherwise
476
+ def delete
477
+ context.delete
478
+ end
479
+
476
480
  ##
477
481
  # Access the evaluations
478
482
  # @return [evaluations] evaluations
@@ -28,17 +28,10 @@ module Twilio
28
28
  end
29
29
 
30
30
  ##
31
- # Retrieve a single page of EvaluationInstance records from the API.
32
- # Request is executed immediately.
33
- # @return [EvaluationInstance] Newly created EvaluationInstance
31
+ # Create the EvaluationInstance
32
+ # @return [EvaluationInstance] Created EvaluationInstance
34
33
  def create
35
- data = Twilio::Values.of({})
36
-
37
- payload = @version.create(
38
- 'POST',
39
- @uri,
40
- data: data
41
- )
34
+ payload = @version.create('POST', @uri)
42
35
 
43
36
  EvaluationInstance.new(@version, payload, bundle_sid: @solution[:bundle_sid], )
44
37
  end
@@ -104,11 +97,9 @@ module Twilio
104
97
  'Page' => page_number,
105
98
  'PageSize' => page_size,
106
99
  })
107
- response = @version.page(
108
- 'GET',
109
- @uri,
110
- params
111
- )
100
+
101
+ response = @version.page('GET', @uri, params)
102
+
112
103
  EvaluationPage.new(@version, response, @solution)
113
104
  end
114
105
 
@@ -178,16 +169,10 @@ module Twilio
178
169
  end
179
170
 
180
171
  ##
181
- # Fetch a EvaluationInstance
172
+ # Fetch the EvaluationInstance
182
173
  # @return [EvaluationInstance] Fetched EvaluationInstance
183
174
  def fetch
184
- params = Twilio::Values.of({})
185
-
186
- payload = @version.fetch(
187
- 'GET',
188
- @uri,
189
- params,
190
- )
175
+ payload = @version.fetch('GET', @uri)
191
176
 
192
177
  EvaluationInstance.new(@version, payload, bundle_sid: @solution[:bundle_sid], sid: @solution[:sid], )
193
178
  end
@@ -296,7 +281,7 @@ module Twilio
296
281
  end
297
282
 
298
283
  ##
299
- # Fetch a EvaluationInstance
284
+ # Fetch the EvaluationInstance
300
285
  # @return [EvaluationInstance] Fetched EvaluationInstance
301
286
  def fetch
302
287
  context.fetch
@@ -28,19 +28,14 @@ module Twilio
28
28
  end
29
29
 
30
30
  ##
31
- # Retrieve a single page of ItemAssignmentInstance records from the API.
32
- # Request is executed immediately.
31
+ # Create the ItemAssignmentInstance
33
32
  # @param [String] object_sid The SID of an object bag that holds information of
34
33
  # the different items.
35
- # @return [ItemAssignmentInstance] Newly created ItemAssignmentInstance
34
+ # @return [ItemAssignmentInstance] Created ItemAssignmentInstance
36
35
  def create(object_sid: nil)
37
36
  data = Twilio::Values.of({'ObjectSid' => object_sid, })
38
37
 
39
- payload = @version.create(
40
- 'POST',
41
- @uri,
42
- data: data
43
- )
38
+ payload = @version.create('POST', @uri, data: data)
44
39
 
45
40
  ItemAssignmentInstance.new(@version, payload, bundle_sid: @solution[:bundle_sid], )
46
41
  end
@@ -106,11 +101,9 @@ module Twilio
106
101
  'Page' => page_number,
107
102
  'PageSize' => page_size,
108
103
  })
109
- response = @version.page(
110
- 'GET',
111
- @uri,
112
- params
113
- )
104
+
105
+ response = @version.page('GET', @uri, params)
106
+
114
107
  ItemAssignmentPage.new(@version, response, @solution)
115
108
  end
116
109
 
@@ -181,16 +174,10 @@ module Twilio
181
174
  end
182
175
 
183
176
  ##
184
- # Fetch a ItemAssignmentInstance
177
+ # Fetch the ItemAssignmentInstance
185
178
  # @return [ItemAssignmentInstance] Fetched ItemAssignmentInstance
186
179
  def fetch
187
- params = Twilio::Values.of({})
188
-
189
- payload = @version.fetch(
190
- 'GET',
191
- @uri,
192
- params,
193
- )
180
+ payload = @version.fetch('GET', @uri)
194
181
 
195
182
  ItemAssignmentInstance.new(
196
183
  @version,
@@ -201,10 +188,10 @@ module Twilio
201
188
  end
202
189
 
203
190
  ##
204
- # Deletes the ItemAssignmentInstance
191
+ # Delete the ItemAssignmentInstance
205
192
  # @return [Boolean] true if delete succeeds, false otherwise
206
193
  def delete
207
- @version.delete('delete', @uri)
194
+ @version.delete('DELETE', @uri)
208
195
  end
209
196
 
210
197
  ##
@@ -298,14 +285,14 @@ module Twilio
298
285
  end
299
286
 
300
287
  ##
301
- # Fetch a ItemAssignmentInstance
288
+ # Fetch the ItemAssignmentInstance
302
289
  # @return [ItemAssignmentInstance] Fetched ItemAssignmentInstance
303
290
  def fetch
304
291
  context.fetch
305
292
  end
306
293
 
307
294
  ##
308
- # Deletes the ItemAssignmentInstance
295
+ # Delete the ItemAssignmentInstance
309
296
  # @return [Boolean] true if delete succeeds, false otherwise
310
297
  def delete
311
298
  context.delete
@@ -25,15 +25,14 @@ module Twilio
25
25
  end
26
26
 
27
27
  ##
28
- # Retrieve a single page of EndUserInstance records from the API.
29
- # Request is executed immediately.
28
+ # Create the EndUserInstance
30
29
  # @param [String] friendly_name The string that you assigned to describe the
31
30
  # resource.
32
31
  # @param [end_user.Type] type The type of end user of the Bundle resource - can be
33
32
  # `individual` or `business`.
34
33
  # @param [Hash] attributes The set of parameters that are the attributes of the
35
34
  # End User resource which are derived End User Types.
36
- # @return [EndUserInstance] Newly created EndUserInstance
35
+ # @return [EndUserInstance] Created EndUserInstance
37
36
  def create(friendly_name: nil, type: nil, attributes: :unset)
38
37
  data = Twilio::Values.of({
39
38
  'FriendlyName' => friendly_name,
@@ -41,11 +40,7 @@ module Twilio
41
40
  'Attributes' => Twilio.serialize_object(attributes),
42
41
  })
43
42
 
44
- payload = @version.create(
45
- 'POST',
46
- @uri,
47
- data: data
48
- )
43
+ payload = @version.create('POST', @uri, data: data)
49
44
 
50
45
  EndUserInstance.new(@version, payload, )
51
46
  end
@@ -111,11 +106,9 @@ module Twilio
111
106
  'Page' => page_number,
112
107
  'PageSize' => page_size,
113
108
  })
114
- response = @version.page(
115
- 'GET',
116
- @uri,
117
- params
118
- )
109
+
110
+ response = @version.page('GET', @uri, params)
111
+
119
112
  EndUserPage.new(@version, response, @solution)
120
113
  end
121
114
 
@@ -184,16 +177,10 @@ module Twilio
184
177
  end
185
178
 
186
179
  ##
187
- # Fetch a EndUserInstance
180
+ # Fetch the EndUserInstance
188
181
  # @return [EndUserInstance] Fetched EndUserInstance
189
182
  def fetch
190
- params = Twilio::Values.of({})
191
-
192
- payload = @version.fetch(
193
- 'GET',
194
- @uri,
195
- params,
196
- )
183
+ payload = @version.fetch('GET', @uri)
197
184
 
198
185
  EndUserInstance.new(@version, payload, sid: @solution[:sid], )
199
186
  end
@@ -211,11 +198,7 @@ module Twilio
211
198
  'Attributes' => Twilio.serialize_object(attributes),
212
199
  })
213
200
 
214
- payload = @version.update(
215
- 'POST',
216
- @uri,
217
- data: data,
218
- )
201
+ payload = @version.update('POST', @uri, data: data)
219
202
 
220
203
  EndUserInstance.new(@version, payload, sid: @solution[:sid], )
221
204
  end
@@ -323,7 +306,7 @@ module Twilio
323
306
  end
324
307
 
325
308
  ##
326
- # Fetch a EndUserInstance
309
+ # Fetch the EndUserInstance
327
310
  # @return [EndUserInstance] Fetched EndUserInstance
328
311
  def fetch
329
312
  context.fetch