twilio-ruby 5.45.0 → 5.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -0
  3. data/CHANGES.md +104 -0
  4. data/LICENSE +1 -1
  5. data/README.md +16 -2
  6. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +1 -1
  7. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +12 -12
  8. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +13 -13
  9. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +1 -1
  10. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +8 -8
  11. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +15 -15
  12. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +3 -3
  13. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +5 -5
  14. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +6 -3
  15. data/lib/twilio-ruby/rest/api/v2010/account/token.rb +1 -1
  16. data/lib/twilio-ruby/rest/bulkexports.rb +4 -2
  17. data/lib/twilio-ruby/rest/bulkexports/v1.rb +4 -2
  18. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +7 -4
  19. data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +7 -4
  20. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +5 -3
  21. data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +5 -3
  22. data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +5 -3
  23. data/lib/twilio-ruby/rest/chat/v1/service.rb +5 -5
  24. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +6 -6
  25. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +3 -3
  26. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +3 -3
  27. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +9 -9
  28. data/lib/twilio-ruby/rest/chat/v2/service.rb +5 -5
  29. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +7 -7
  30. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +6 -6
  31. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +3 -3
  32. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +3 -3
  33. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +27 -24
  34. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +9 -9
  35. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +10 -10
  36. data/lib/twilio-ruby/rest/client.rb +7 -0
  37. data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +9 -9
  38. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +1 -1
  39. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +32 -2
  40. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +9 -9
  41. data/lib/twilio-ruby/rest/conversations/v1/role.rb +9 -9
  42. data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +7 -7
  43. data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +17 -2
  44. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +1 -1
  45. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +32 -2
  46. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +9 -9
  47. data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +9 -9
  48. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +8 -1
  49. data/lib/twilio-ruby/rest/conversations/v1/user.rb +8 -1
  50. data/lib/twilio-ruby/rest/events/v1/sink.rb +4 -2
  51. data/lib/twilio-ruby/rest/events/v1/subscription.rb +3 -2
  52. data/lib/twilio-ruby/rest/flex_api.rb +1 -1
  53. data/lib/twilio-ruby/rest/flex_api/v1.rb +1 -1
  54. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +5 -5
  55. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +18 -4
  56. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +88 -76
  57. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +2 -2
  58. data/lib/twilio-ruby/rest/insights/v1/call/summary.rb +8 -9
  59. data/lib/twilio-ruby/rest/insights/v1/room.rb +7 -7
  60. data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +1 -1
  61. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +3 -3
  62. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +3 -3
  63. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +3 -3
  64. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +3 -3
  65. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +4 -4
  66. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +3 -3
  67. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +7 -7
  68. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +3 -3
  69. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +3 -3
  70. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +3 -3
  71. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +6 -6
  72. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +4 -4
  73. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +4 -4
  74. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +16 -16
  75. data/lib/twilio-ruby/rest/messaging.rb +8 -0
  76. data/lib/twilio-ruby/rest/messaging/v1.rb +15 -0
  77. data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +328 -0
  78. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +1 -1
  79. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +1 -1
  80. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +1 -1
  81. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +16 -15
  82. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +18 -18
  83. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +1 -1
  84. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +1 -1
  85. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +1 -1
  86. data/lib/twilio-ruby/rest/preview.rb +4 -2
  87. data/lib/twilio-ruby/rest/preview/bulk_exports.rb +4 -2
  88. data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +7 -4
  89. data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +7 -4
  90. data/lib/twilio-ruby/rest/preview/bulk_exports/export/export_custom_job.rb +5 -3
  91. data/lib/twilio-ruby/rest/preview/bulk_exports/export/job.rb +5 -3
  92. data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +5 -3
  93. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +13 -13
  94. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +2 -2
  95. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +8 -8
  96. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +4 -8
  97. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +2 -2
  98. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +2 -2
  99. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +1 -1
  100. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +2 -2
  101. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +2 -2
  102. data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +1 -1
  103. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +1 -1
  104. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +1 -1
  105. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +17 -7
  106. data/lib/twilio-ruby/rest/studio/v2/flow.rb +6 -14
  107. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +0 -8
  108. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +0 -8
  109. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +0 -8
  110. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +0 -8
  111. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +2 -10
  112. data/lib/twilio-ruby/rest/studio/v2/flow/test_user.rb +10 -16
  113. data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +6 -11
  114. data/lib/twilio-ruby/rest/supersim/v1/command.rb +4 -4
  115. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +33 -12
  116. data/lib/twilio-ruby/rest/supersim/v1/network.rb +5 -5
  117. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +6 -6
  118. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +5 -5
  119. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +4 -4
  120. data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +3 -3
  121. data/lib/twilio-ruby/rest/sync/v1/service.rb +0 -8
  122. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +16 -36
  123. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +0 -8
  124. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +9 -25
  125. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +24 -43
  126. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +0 -8
  127. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +9 -25
  128. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +25 -44
  129. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +1 -9
  130. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +5 -23
  131. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +1 -7
  132. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +17 -17
  133. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +10 -10
  134. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +1 -1
  135. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +10 -10
  136. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +1 -1
  137. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +1 -1
  138. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +1 -1
  139. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +1 -1
  140. data/lib/twilio-ruby/rest/trusthub.rb +100 -0
  141. data/lib/twilio-ruby/rest/trusthub/v1.rb +139 -0
  142. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +523 -0
  143. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +359 -0
  144. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +330 -0
  145. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +328 -0
  146. data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +356 -0
  147. data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +271 -0
  148. data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +262 -0
  149. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +369 -0
  150. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +271 -0
  151. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +523 -0
  152. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +359 -0
  153. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +330 -0
  154. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +328 -0
  155. data/lib/twilio-ruby/rest/verify.rb +9 -0
  156. data/lib/twilio-ruby/rest/verify/v2.rb +15 -0
  157. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +3 -3
  158. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +1 -1
  159. data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +10 -10
  160. data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +329 -0
  161. data/lib/twilio-ruby/rest/video/v1/composition.rb +16 -15
  162. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +26 -26
  163. data/lib/twilio-ruby/rest/video/v1/recording.rb +6 -6
  164. data/lib/twilio-ruby/rest/video/v1/room.rb +10 -3
  165. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribe_rule.rb +1 -1
  166. data/lib/twilio-ruby/rest/video/v1/room/room_recording_rule.rb +1 -1
  167. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +1 -1
  168. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +4 -4
  169. data/lib/twilio-ruby/twiml/voice_response.rb +17 -8
  170. data/lib/twilio-ruby/version.rb +1 -1
  171. data/spec/integration/api/v2010/account/conference_spec.rb +302 -44
  172. data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +4 -16
  173. data/spec/integration/conversations/v1/conversation/participant_spec.rb +30 -10
  174. data/spec/integration/conversations/v1/service/configuration_spec.rb +2 -0
  175. data/spec/integration/conversations/v1/service/conversation/participant_spec.rb +30 -10
  176. data/spec/integration/conversations/v1/service/user_spec.rb +9 -4
  177. data/spec/integration/conversations/v1/user_spec.rb +9 -4
  178. data/spec/integration/events/v1/sink_spec.rb +14 -0
  179. data/spec/integration/flex_api/v1/configuration_spec.rb +24 -0
  180. data/spec/integration/insights/v1/call/summary_spec.rb +1 -0
  181. data/spec/integration/messaging/v1/brand_registration_spec.rb +143 -0
  182. data/spec/integration/preview/sync/service/document_spec.rb +1 -3
  183. data/spec/integration/serverless/v1/service/build_spec.rb +12 -2
  184. data/spec/integration/supersim/v1/fleet_spec.rb +8 -0
  185. data/spec/integration/sync/v1/service/document_spec.rb +1 -3
  186. data/spec/integration/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment_spec.rb +192 -0
  187. data/spec/integration/trusthub/v1/customer_profiles/customer_profiles_entity_assignments_spec.rb +186 -0
  188. data/spec/integration/trusthub/v1/customer_profiles/customer_profiles_evaluations_spec.rb +615 -0
  189. data/spec/integration/trusthub/v1/customer_profiles_spec.rb +255 -0
  190. data/spec/integration/trusthub/v1/end_user_spec.rb +247 -0
  191. data/spec/integration/trusthub/v1/end_user_type_spec.rb +176 -0
  192. data/spec/integration/trusthub/v1/policies_spec.rb +252 -0
  193. data/spec/integration/trusthub/v1/supporting_document_spec.rb +235 -0
  194. data/spec/integration/trusthub/v1/supporting_document_type_spec.rb +159 -0
  195. data/spec/integration/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment_spec.rb +192 -0
  196. data/spec/integration/trusthub/v1/trust_products/trust_products_entity_assignments_spec.rb +186 -0
  197. data/spec/integration/trusthub/v1/trust_products/trust_products_evaluations_spec.rb +615 -0
  198. data/spec/integration/trusthub/v1/trust_products_spec.rb +255 -0
  199. data/spec/integration/verify/v2/verification_attempt_spec.rb +146 -0
  200. data/spec/integration/video/v1/room_spec.rb +5 -0
  201. data/spec/twiml/voice_response_spec.rb +1 -1
  202. metadata +49 -2
@@ -68,10 +68,7 @@ describe 'IncomingPhoneNumber' do
68
68
  "status": "in-use",
69
69
  "bundle_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
70
70
  "subresource_uris": {
71
- "assigned_add_ons": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AssignedAddOns.json",
72
- "local": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json",
73
- "mobile": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Mobile.json",
74
- "toll_free": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/TollFree.json"
71
+ "assigned_add_ons": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AssignedAddOns.json"
75
72
  }
76
73
  }
77
74
  ]
@@ -142,10 +139,7 @@ describe 'IncomingPhoneNumber' do
142
139
  "status": "in-use",
143
140
  "bundle_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
144
141
  "subresource_uris": {
145
- "assigned_add_ons": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AssignedAddOns.json",
146
- "local": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json",
147
- "mobile": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Mobile.json",
148
- "toll_free": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/TollFree.json"
142
+ "assigned_add_ons": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AssignedAddOns.json"
149
143
  }
150
144
  }
151
145
  ]
@@ -247,10 +241,7 @@ describe 'IncomingPhoneNumber' do
247
241
  "voice_receive_mode": "voice",
248
242
  "status": "in-use",
249
243
  "subresource_uris": {
250
- "assigned_add_ons": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AssignedAddOns.json",
251
- "local": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json",
252
- "mobile": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Mobile.json",
253
- "toll_free": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/TollFree.json"
244
+ "assigned_add_ons": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AssignedAddOns.json"
254
245
  }
255
246
  }
256
247
  ],
@@ -353,10 +344,7 @@ describe 'IncomingPhoneNumber' do
353
344
  "voice_receive_mode": "voice",
354
345
  "status": "in-use",
355
346
  "subresource_uris": {
356
- "assigned_add_ons": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AssignedAddOns.json",
357
- "local": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json",
358
- "mobile": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Mobile.json",
359
- "toll_free": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/TollFree.json"
347
+ "assigned_add_ons": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AssignedAddOns.json"
360
348
  }
361
349
  }
362
350
  ]
@@ -44,7 +44,9 @@ describe 'Participant' do
44
44
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
45
45
  "date_created": "2015-12-16T22:18:37Z",
46
46
  "date_updated": "2015-12-16T22:18:38Z",
47
- "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
47
+ "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
48
+ "last_read_message_index": null,
49
+ "last_read_timestamp": null
48
50
  }
49
51
  ]
50
52
  ))
@@ -69,7 +71,9 @@ describe 'Participant' do
69
71
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
70
72
  "date_created": "2015-12-16T22:18:37Z",
71
73
  "date_updated": "2015-12-16T22:18:38Z",
72
- "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
74
+ "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
75
+ "last_read_message_index": null,
76
+ "last_read_timestamp": null
73
77
  }
74
78
  ]
75
79
  ))
@@ -97,7 +101,9 @@ describe 'Participant' do
97
101
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
98
102
  "date_created": "2015-12-16T22:18:37Z",
99
103
  "date_updated": "2015-12-16T22:18:38Z",
100
- "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
104
+ "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
105
+ "last_read_message_index": null,
106
+ "last_read_timestamp": null
101
107
  }
102
108
  ]
103
109
  ))
@@ -125,7 +131,9 @@ describe 'Participant' do
125
131
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
126
132
  "date_created": "2020-07-01T22:18:37Z",
127
133
  "date_updated": "2020-07-01T22:18:37Z",
128
- "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
134
+ "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
135
+ "last_read_message_index": null,
136
+ "last_read_timestamp": null
129
137
  }
130
138
  ]
131
139
  ))
@@ -153,7 +161,9 @@ describe 'Participant' do
153
161
  "role_sid": null,
154
162
  "date_created": "2020-07-01T22:18:37Z",
155
163
  "date_updated": "2020-07-01T22:18:37Z",
156
- "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
164
+ "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
165
+ "last_read_message_index": null,
166
+ "last_read_timestamp": null
157
167
  }
158
168
  ]
159
169
  ))
@@ -199,7 +209,9 @@ describe 'Participant' do
199
209
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
200
210
  "date_created": "2015-12-16T22:18:37Z",
201
211
  "date_updated": "2015-12-16T22:18:38Z",
202
- "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
212
+ "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
213
+ "last_read_message_index": null,
214
+ "last_read_timestamp": null
203
215
  }
204
216
  ]
205
217
  ))
@@ -227,7 +239,9 @@ describe 'Participant' do
227
239
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
228
240
  "date_created": "2015-12-16T22:18:37Z",
229
241
  "date_updated": "2015-12-16T22:18:38Z",
230
- "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
242
+ "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
243
+ "last_read_message_index": null,
244
+ "last_read_timestamp": null
231
245
  }
232
246
  ]
233
247
  ))
@@ -300,7 +314,9 @@ describe 'Participant' do
300
314
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
301
315
  "date_created": "2016-03-24T21:05:50Z",
302
316
  "date_updated": "2016-03-24T21:05:50Z",
303
- "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
317
+ "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
318
+ "last_read_message_index": null,
319
+ "last_read_timestamp": null
304
320
  }
305
321
  ]
306
322
  ))
@@ -355,7 +371,9 @@ describe 'Participant' do
355
371
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
356
372
  "date_created": "2016-03-24T21:05:50Z",
357
373
  "date_updated": "2016-03-24T21:05:50Z",
358
- "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
374
+ "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
375
+ "last_read_message_index": null,
376
+ "last_read_timestamp": null
359
377
  },
360
378
  {
361
379
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
@@ -367,7 +385,9 @@ describe 'Participant' do
367
385
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
368
386
  "date_created": "2016-03-24T21:05:50Z",
369
387
  "date_updated": "2016-03-24T21:05:50Z",
370
- "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
388
+ "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
389
+ "last_read_message_index": null,
390
+ "last_read_timestamp": null
371
391
  }
372
392
  ]
373
393
  }
@@ -33,6 +33,7 @@ describe 'Configuration' do
33
33
  "default_conversation_creator_role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
34
34
  "default_conversation_role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
35
35
  "default_chat_service_role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
36
+ "reachability_enabled": false,
36
37
  "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration",
37
38
  "links": {
38
39
  "notifications": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration/Notifications"
@@ -71,6 +72,7 @@ describe 'Configuration' do
71
72
  "default_conversation_creator_role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
72
73
  "default_conversation_role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
73
74
  "default_chat_service_role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
75
+ "reachability_enabled": false,
74
76
  "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration",
75
77
  "links": {
76
78
  "notifications": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration/Notifications"
@@ -46,7 +46,9 @@ describe 'Participant' do
46
46
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
47
47
  "date_created": "2015-12-16T22:18:37Z",
48
48
  "date_updated": "2015-12-16T22:18:38Z",
49
- "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
49
+ "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
50
+ "last_read_message_index": null,
51
+ "last_read_timestamp": null
50
52
  }
51
53
  ]
52
54
  ))
@@ -73,7 +75,9 @@ describe 'Participant' do
73
75
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
74
76
  "date_created": "2015-12-16T22:18:37Z",
75
77
  "date_updated": "2015-12-16T22:18:38Z",
76
- "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
78
+ "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
79
+ "last_read_message_index": null,
80
+ "last_read_timestamp": null
77
81
  }
78
82
  ]
79
83
  ))
@@ -103,7 +107,9 @@ describe 'Participant' do
103
107
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
104
108
  "date_created": "2015-12-16T22:18:37Z",
105
109
  "date_updated": "2015-12-16T22:18:38Z",
106
- "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
110
+ "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
111
+ "last_read_message_index": null,
112
+ "last_read_timestamp": null
107
113
  }
108
114
  ]
109
115
  ))
@@ -133,7 +139,9 @@ describe 'Participant' do
133
139
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
134
140
  "date_created": "2020-07-01T22:18:37Z",
135
141
  "date_updated": "2020-07-01T22:18:37Z",
136
- "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
142
+ "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
143
+ "last_read_message_index": null,
144
+ "last_read_timestamp": null
137
145
  }
138
146
  ]
139
147
  ))
@@ -163,7 +171,9 @@ describe 'Participant' do
163
171
  "role_sid": null,
164
172
  "date_created": "2020-07-01T22:18:37Z",
165
173
  "date_updated": "2020-07-01T22:18:37Z",
166
- "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
174
+ "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
175
+ "last_read_message_index": null,
176
+ "last_read_timestamp": null
167
177
  }
168
178
  ]
169
179
  ))
@@ -212,7 +222,9 @@ describe 'Participant' do
212
222
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
213
223
  "date_created": "2015-12-16T22:18:37Z",
214
224
  "date_updated": "2015-12-16T22:18:38Z",
215
- "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
225
+ "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
226
+ "last_read_message_index": null,
227
+ "last_read_timestamp": null
216
228
  }
217
229
  ]
218
230
  ))
@@ -242,7 +254,9 @@ describe 'Participant' do
242
254
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
243
255
  "date_created": "2015-12-16T22:18:37Z",
244
256
  "date_updated": "2015-12-16T22:18:38Z",
245
- "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
257
+ "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
258
+ "last_read_message_index": null,
259
+ "last_read_timestamp": null
246
260
  }
247
261
  ]
248
262
  ))
@@ -320,7 +334,9 @@ describe 'Participant' do
320
334
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
321
335
  "date_created": "2016-03-24T21:05:50Z",
322
336
  "date_updated": "2016-03-24T21:05:50Z",
323
- "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
337
+ "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
338
+ "last_read_message_index": null,
339
+ "last_read_timestamp": null
324
340
  }
325
341
  ]
326
342
  ))
@@ -378,7 +394,9 @@ describe 'Participant' do
378
394
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
379
395
  "date_created": "2016-03-24T21:05:50Z",
380
396
  "date_updated": "2016-03-24T21:05:50Z",
381
- "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
397
+ "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
398
+ "last_read_message_index": null,
399
+ "last_read_timestamp": null
382
400
  },
383
401
  {
384
402
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
@@ -391,7 +409,9 @@ describe 'Participant' do
391
409
  "role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
392
410
  "date_created": "2016-03-24T21:05:50Z",
393
411
  "date_updated": "2016-03-24T21:05:50Z",
394
- "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
412
+ "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
413
+ "last_read_message_index": null,
414
+ "last_read_timestamp": null
395
415
  }
396
416
  ]
397
417
  }
@@ -40,7 +40,8 @@ describe 'User' do
40
40
  "identity": "admin",
41
41
  "friendly_name": "name",
42
42
  "attributes": "{ \\"duty\\": \\"tech\\" }",
43
- "is_online": null,
43
+ "is_online": true,
44
+ "is_notifiable": null,
44
45
  "date_created": "2019-12-16T22:18:37Z",
45
46
  "date_updated": "2019-12-16T22:18:38Z",
46
47
  "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
@@ -83,7 +84,8 @@ describe 'User' do
83
84
  "identity": "admin",
84
85
  "friendly_name": "new name",
85
86
  "attributes": "{ \\"duty\\": \\"tech\\", \\"team\\": \\"internals\\" }",
86
- "is_online": null,
87
+ "is_online": true,
88
+ "is_notifiable": null,
87
89
  "date_created": "2019-12-16T22:18:37Z",
88
90
  "date_updated": "2019-12-16T22:18:38Z",
89
91
  "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
@@ -153,7 +155,8 @@ describe 'User' do
153
155
  "identity": "admin",
154
156
  "friendly_name": "name",
155
157
  "attributes": "{ \\"duty\\": \\"tech\\" }",
156
- "is_online": null,
158
+ "is_online": true,
159
+ "is_notifiable": null,
157
160
  "date_created": "2019-12-16T22:18:37Z",
158
161
  "date_updated": "2019-12-16T22:18:38Z",
159
162
  "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
@@ -205,7 +208,8 @@ describe 'User' do
205
208
  "identity": "admin",
206
209
  "friendly_name": "name",
207
210
  "attributes": "{ \\"duty\\": \\"tech\\" }",
208
- "is_online": null,
211
+ "is_online": true,
212
+ "is_notifiable": null,
209
213
  "date_created": "2019-12-16T22:18:37Z",
210
214
  "date_updated": "2019-12-16T22:18:38Z",
211
215
  "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
@@ -219,6 +223,7 @@ describe 'User' do
219
223
  "friendly_name": "John from customs",
220
224
  "attributes": "{ \\"duty\\": \\"agent\\" }",
221
225
  "is_online": false,
226
+ "is_notifiable": null,
222
227
  "date_created": "2020-03-24T20:38:21Z",
223
228
  "date_updated": "2020-03-24T20:38:21Z",
224
229
  "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
@@ -39,7 +39,8 @@ describe 'User' do
39
39
  "identity": "admin",
40
40
  "friendly_name": "name",
41
41
  "attributes": "{ \\"duty\\": \\"tech\\" }",
42
- "is_online": null,
42
+ "is_online": true,
43
+ "is_notifiable": null,
43
44
  "date_created": "2019-12-16T22:18:37Z",
44
45
  "date_updated": "2019-12-16T22:18:38Z",
45
46
  "url": "https://conversations.twilio.com/v1/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
@@ -80,7 +81,8 @@ describe 'User' do
80
81
  "identity": "admin",
81
82
  "friendly_name": "new name",
82
83
  "attributes": "{ \\"duty\\": \\"tech\\", \\"team\\": \\"internals\\" }",
83
- "is_online": null,
84
+ "is_online": true,
85
+ "is_notifiable": null,
84
86
  "date_created": "2019-12-16T22:18:37Z",
85
87
  "date_updated": "2019-12-16T22:18:38Z",
86
88
  "url": "https://conversations.twilio.com/v1/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
@@ -146,7 +148,8 @@ describe 'User' do
146
148
  "identity": "admin",
147
149
  "friendly_name": "name",
148
150
  "attributes": "{ \\"duty\\": \\"tech\\" }",
149
- "is_online": null,
151
+ "is_online": true,
152
+ "is_notifiable": null,
150
153
  "date_created": "2019-12-16T22:18:37Z",
151
154
  "date_updated": "2019-12-16T22:18:38Z",
152
155
  "url": "https://conversations.twilio.com/v1/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
@@ -196,7 +199,8 @@ describe 'User' do
196
199
  "identity": "admin",
197
200
  "friendly_name": "name",
198
201
  "attributes": "{ \\"duty\\": \\"tech\\" }",
199
- "is_online": null,
202
+ "is_online": true,
203
+ "is_notifiable": null,
200
204
  "date_created": "2019-12-16T22:18:37Z",
201
205
  "date_updated": "2019-12-16T22:18:38Z",
202
206
  "url": "https://conversations.twilio.com/v1/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
@@ -210,6 +214,7 @@ describe 'User' do
210
214
  "friendly_name": "John from customs",
211
215
  "attributes": "{ \\"duty\\": \\"agent\\" }",
212
216
  "is_online": false,
217
+ "is_notifiable": null,
213
218
  "date_created": "2020-03-24T20:38:21Z",
214
219
  "date_updated": "2020-03-24T20:38:21Z",
215
220
  "url": "https://conversations.twilio.com/v1/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
@@ -195,6 +195,20 @@ describe 'Sink' do
195
195
  "sink_test": "https://events.twilio.com/v1/Sinks/DGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab/Test",
196
196
  "sink_validate": "https://events.twilio.com/v1/Sinks/DGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab/Validate"
197
197
  }
198
+ },
199
+ {
200
+ "status": "active",
201
+ "sink_configuration": {},
202
+ "description": "A webhook Sink",
203
+ "sid": "DGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac",
204
+ "date_created": "2015-07-30T20:00:00Z",
205
+ "sink_type": "webhook",
206
+ "date_updated": "2015-07-30T20:00:00Z",
207
+ "url": "https://events.twilio.com/v1/Sinks/DGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac",
208
+ "links": {
209
+ "sink_test": "https://events.twilio.com/v1/Sinks/DGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac/Test",
210
+ "sink_validate": "https://events.twilio.com/v1/Sinks/DGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac/Validate"
211
+ }
198
212
  }
199
213
  ],
200
214
  "meta": {
@@ -180,6 +180,14 @@ describe 'Configuration' do
180
180
  "ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
181
181
  "ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab"
182
182
  ],
183
+ "notifications": {
184
+ "enabled": true,
185
+ "mode": "whenNotInFocus"
186
+ },
187
+ "markdown": {
188
+ "enabled": false,
189
+ "mode": "readOnly"
190
+ },
183
191
  "url": "https://flex-api.twilio.com/v1/Configuration"
184
192
  }
185
193
  ]
@@ -361,6 +369,14 @@ describe 'Configuration' do
361
369
  "ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
362
370
  "ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab"
363
371
  ],
372
+ "notifications": {
373
+ "enabled": true,
374
+ "mode": "whenNotInFocus"
375
+ },
376
+ "markdown": {
377
+ "enabled": false,
378
+ "mode": "readOnly"
379
+ },
364
380
  "url": "https://flex-api.twilio.com/v1/Configuration"
365
381
  }
366
382
  ]
@@ -542,6 +558,14 @@ describe 'Configuration' do
542
558
  "ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
543
559
  "ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab"
544
560
  ],
561
+ "notifications": {
562
+ "enabled": true,
563
+ "mode": "whenNotInFocus"
564
+ },
565
+ "markdown": {
566
+ "enabled": false,
567
+ "mode": "readOnly"
568
+ },
545
569
  "url": "https://flex-api.twilio.com/v1/Configuration"
546
570
  }
547
571
  ]
@@ -34,6 +34,7 @@ describe 'CallSummary' do
34
34
  "call_type": "carrier",
35
35
  "call_state": "ringing",
36
36
  "processing_state": "complete",
37
+ "created_time": "2015-07-30T20:00:00Z",
37
38
  "start_time": "2015-07-30T20:00:00Z",
38
39
  "end_time": "2015-07-30T20:00:00Z",
39
40
  "duration": 100,
@@ -0,0 +1,143 @@
1
+ ##
2
+ # This code was generated by
3
+ # \ / _ _ _| _ _
4
+ # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
+ # / /
6
+ #
7
+ # frozen_string_literal: true
8
+
9
+ require 'spec_helper.rb'
10
+
11
+ describe 'BrandRegistration' do
12
+ it "can fetch" do
13
+ @holodeck.mock(Twilio::Response.new(500, ''))
14
+
15
+ expect {
16
+ @client.messaging.v1.brand_registrations('BNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
17
+ }.to raise_exception(Twilio::REST::TwilioError)
18
+
19
+ expect(
20
+ @holodeck.has_request?(Holodeck::Request.new(
21
+ method: 'get',
22
+ url: 'https://messaging.twilio.com/v1/a2p/BrandRegistrations/BNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
23
+ ))).to eq(true)
24
+ end
25
+
26
+ it "receives fetch responses" do
27
+ @holodeck.mock(Twilio::Response.new(
28
+ 200,
29
+ %q[
30
+ {
31
+ "sid": "BN0044409f7e067e279523808d267e2d85",
32
+ "account_sid": "AC78e8e67fc0246521490fb9907fd0c165",
33
+ "customer_profile_bundle_sid": "BU3344409f7e067e279523808d267e2d85",
34
+ "a2p_profile_bundle_sid": "BU3344409f7e067e279523808d267e2d85",
35
+ "date_created": "2021-01-27T14:18:35Z",
36
+ "date_updated": "2021-01-27T14:18:36Z",
37
+ "status": "IN_PROGRESS",
38
+ "tcr_id": "BXXXXXX",
39
+ "failure_reason": "Registration error",
40
+ "url": "https://messaging.twilio.com/v1/a2p/BrandRegistrations/BN0044409f7e067e279523808d267e2d85"
41
+ }
42
+ ]
43
+ ))
44
+
45
+ actual = @client.messaging.v1.brand_registrations('BNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
46
+
47
+ expect(actual).to_not eq(nil)
48
+ end
49
+
50
+ it "can read" do
51
+ @holodeck.mock(Twilio::Response.new(500, ''))
52
+
53
+ expect {
54
+ @client.messaging.v1.brand_registrations.list()
55
+ }.to raise_exception(Twilio::REST::TwilioError)
56
+
57
+ expect(
58
+ @holodeck.has_request?(Holodeck::Request.new(
59
+ method: 'get',
60
+ url: 'https://messaging.twilio.com/v1/a2p/BrandRegistrations',
61
+ ))).to eq(true)
62
+ end
63
+
64
+ it "receives read responses" do
65
+ @holodeck.mock(Twilio::Response.new(
66
+ 200,
67
+ %q[
68
+ {
69
+ "meta": {
70
+ "page": 0,
71
+ "page_size": 50,
72
+ "first_page_url": "https://messaging.twilio.com/v1/a2p/BrandRegistrations?PageSize=50&Page=0",
73
+ "previous_page_url": null,
74
+ "next_page_url": null,
75
+ "key": "data",
76
+ "url": "https://messaging.twilio.com/v1/a2p/BrandRegistrations?PageSize=50&Page=0"
77
+ },
78
+ "data": [
79
+ {
80
+ "sid": "BN0044409f7e067e279523808d267e2d85",
81
+ "account_sid": "AC78e8e67fc0246521490fb9907fd0c165",
82
+ "customer_profile_bundle_sid": "BU3344409f7e067e279523808d267e2d85",
83
+ "a2p_profile_bundle_sid": "BU3344409f7e067e279523808d267e2d85",
84
+ "date_created": "2021-01-27T14:18:35Z",
85
+ "date_updated": "2021-01-27T14:18:36Z",
86
+ "status": "IN_PROGRESS",
87
+ "tcr_id": "BXXXXXX",
88
+ "failure_reason": "Registration error",
89
+ "url": "https://messaging.twilio.com/v1/a2p/BrandRegistrations/BN0044409f7e067e279523808d267e2d85"
90
+ }
91
+ ]
92
+ }
93
+ ]
94
+ ))
95
+
96
+ actual = @client.messaging.v1.brand_registrations.list()
97
+
98
+ expect(actual).to_not eq(nil)
99
+ end
100
+
101
+ it "can create" do
102
+ @holodeck.mock(Twilio::Response.new(500, ''))
103
+
104
+ expect {
105
+ @client.messaging.v1.brand_registrations.create(customer_profile_bundle_sid: 'BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', a2p_profile_bundle_sid: 'BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
106
+ }.to raise_exception(Twilio::REST::TwilioError)
107
+
108
+ values = {
109
+ 'CustomerProfileBundleSid' => 'BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
110
+ 'A2PProfileBundleSid' => 'BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
111
+ }
112
+ expect(
113
+ @holodeck.has_request?(Holodeck::Request.new(
114
+ method: 'post',
115
+ url: 'https://messaging.twilio.com/v1/a2p/BrandRegistrations',
116
+ data: values,
117
+ ))).to eq(true)
118
+ end
119
+
120
+ it "receives create responses" do
121
+ @holodeck.mock(Twilio::Response.new(
122
+ 201,
123
+ %q[
124
+ {
125
+ "sid": "BN0044409f7e067e279523808d267e2d85",
126
+ "account_sid": "AC78e8e67fc0246521490fb9907fd0c165",
127
+ "customer_profile_bundle_sid": "BU0000009f7e067e279523808d267e2d90",
128
+ "a2p_profile_bundle_sid": "BU1111109f7e067e279523808d267e2d85",
129
+ "date_created": "2021-01-28T10:45:51Z",
130
+ "date_updated": "2021-01-28T10:45:51Z",
131
+ "status": "PENDING",
132
+ "tcr_id": "BXXXXXX",
133
+ "failure_reason": "Registration error",
134
+ "url": "https://messaging.twilio.com/v1/a2p/BrandRegistrations/BN0044409f7e067e279523808d267e2d85"
135
+ }
136
+ ]
137
+ ))
138
+
139
+ actual = @client.messaging.v1.brand_registrations.create(customer_profile_bundle_sid: 'BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', a2p_profile_bundle_sid: 'BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
140
+
141
+ expect(actual).to_not eq(nil)
142
+ end
143
+ end