twilio-ruby 5.22.3 → 5.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +27 -0
- data/README.md +2 -4
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +14 -0
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v1.rb +4 -2
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +68 -47
- data/lib/twilio-ruby/rest/chat/v1/service.rb +311 -320
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +59 -41
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +52 -40
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +71 -64
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +58 -40
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +39 -29
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +51 -48
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +16 -12
- data/lib/twilio-ruby/rest/insights/v1/summary.rb +13 -4
- data/lib/twilio-ruby/rest/ip_messaging/v1.rb +4 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +68 -47
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +311 -320
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +59 -41
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +52 -40
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +71 -64
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +58 -40
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +39 -29
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +51 -48
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +16 -12
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +1 -1
- data/lib/twilio-ruby/rest/preview.rb +25 -0
- data/lib/twilio-ruby/rest/preview/trusted_comms.rb +49 -0
- data/lib/twilio-ruby/rest/preview/trusted_comms/current_call.rb +217 -0
- data/lib/twilio-ruby/rest/preview/trusted_comms/device.rb +146 -0
- data/lib/twilio-ruby/rest/preview/trusted_comms/phone_call.rb +169 -0
- data/lib/twilio-ruby/rest/serverless/v1.rb +2 -1
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +4 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +30 -9
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +1 -1
- data/lib/twilio-ruby/rest/video/v1/room/room_participant.rb +39 -6
- data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribe_rule.rb +191 -0
- data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribed_track.rb +133 -99
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +3 -3
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/api/v2010/account/conference_spec.rb +86 -2
- data/spec/integration/api/v2010/account/connect_app_spec.rb +28 -6
- data/spec/integration/api/v2010/account/queue/member_spec.rb +4 -4
- data/spec/integration/insights/v1/summary_spec.rb +1 -0
- data/spec/integration/preview/trusted_comms/current_call_spec.rb +46 -0
- data/spec/integration/preview/trusted_comms/device_spec.rb +45 -0
- data/spec/integration/preview/trusted_comms/phone_call_spec.rb +48 -0
- data/spec/integration/taskrouter/v1/workspace/task_channel_spec.rb +6 -0
- data/spec/integration/video/v1/room/room_participant/room_participant_subscribe_rule_spec.rb +92 -0
- data/spec/integration/video/v1/room/room_participant/room_participant_subscribed_track_spec.rb +31 -68
- data/spec/integration/video/v1/room/room_participant_spec.rb +6 -3
- data/spec/integration/wireless/v1/sim/data_session_spec.rb +2 -2
- metadata +15 -2
@@ -43,7 +43,8 @@ describe 'Participant' do
|
|
43
43
|
"duration": null,
|
44
44
|
"links": {
|
45
45
|
"published_tracks": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/PAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/PublishedTracks",
|
46
|
-
"subscribed_tracks": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/PAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SubscribedTracks"
|
46
|
+
"subscribed_tracks": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/PAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SubscribedTracks",
|
47
|
+
"subscribe_rules": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/PAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SubscribeRules"
|
47
48
|
}
|
48
49
|
}
|
49
50
|
]
|
@@ -116,7 +117,8 @@ describe 'Participant' do
|
|
116
117
|
"duration": 1,
|
117
118
|
"links": {
|
118
119
|
"published_tracks": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/PAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/PublishedTracks",
|
119
|
-
"subscribed_tracks": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/PAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SubscribedTracks"
|
120
|
+
"subscribed_tracks": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/PAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SubscribedTracks",
|
121
|
+
"subscribe_rules": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/PAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SubscribeRules"
|
120
122
|
}
|
121
123
|
}
|
122
124
|
],
|
@@ -173,7 +175,8 @@ describe 'Participant' do
|
|
173
175
|
"duration": 1,
|
174
176
|
"links": {
|
175
177
|
"published_tracks": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/PAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/PublishedTracks",
|
176
|
-
"subscribed_tracks": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/PAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SubscribedTracks"
|
178
|
+
"subscribed_tracks": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/PAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SubscribedTracks",
|
179
|
+
"subscribe_rules": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/PAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SubscribeRules"
|
177
180
|
}
|
178
181
|
}
|
179
182
|
]
|
@@ -47,7 +47,7 @@ describe 'DataSession' do
|
|
47
47
|
"last_updated": "2015-07-30T20:00:00Z",
|
48
48
|
"start": "2015-07-30T20:00:00Z",
|
49
49
|
"end": null,
|
50
|
-
"
|
50
|
+
"imei": null
|
51
51
|
},
|
52
52
|
{
|
53
53
|
"sid": "WNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
@@ -65,7 +65,7 @@ describe 'DataSession' do
|
|
65
65
|
"last_updated": "2015-07-30T20:00:00Z",
|
66
66
|
"start": "2015-07-30T20:00:00Z",
|
67
67
|
"end": "2015-07-30T20:00:00Z",
|
68
|
-
"
|
68
|
+
"imei": "014931000129700"
|
69
69
|
}
|
70
70
|
],
|
71
71
|
"meta": {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twilio-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Twilio API Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -381,6 +381,10 @@ files:
|
|
381
381
|
- lib/twilio-ruby/rest/preview/sync/service/sync_map.rb
|
382
382
|
- lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb
|
383
383
|
- lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb
|
384
|
+
- lib/twilio-ruby/rest/preview/trusted_comms.rb
|
385
|
+
- lib/twilio-ruby/rest/preview/trusted_comms/current_call.rb
|
386
|
+
- lib/twilio-ruby/rest/preview/trusted_comms/device.rb
|
387
|
+
- lib/twilio-ruby/rest/preview/trusted_comms/phone_call.rb
|
384
388
|
- lib/twilio-ruby/rest/preview/understand.rb
|
385
389
|
- lib/twilio-ruby/rest/preview/understand/assistant.rb
|
386
390
|
- lib/twilio-ruby/rest/preview/understand/assistant/assistant_fallback_actions.rb
|
@@ -509,6 +513,7 @@ files:
|
|
509
513
|
- lib/twilio-ruby/rest/video/v1/room/recording.rb
|
510
514
|
- lib/twilio-ruby/rest/video/v1/room/room_participant.rb
|
511
515
|
- lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_published_track.rb
|
516
|
+
- lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribe_rule.rb
|
512
517
|
- lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribed_track.rb
|
513
518
|
- lib/twilio-ruby/rest/voice.rb
|
514
519
|
- lib/twilio-ruby/rest/voice/v1.rb
|
@@ -721,6 +726,9 @@ files:
|
|
721
726
|
- spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb
|
722
727
|
- spec/integration/preview/sync/service/sync_map_spec.rb
|
723
728
|
- spec/integration/preview/sync/service_spec.rb
|
729
|
+
- spec/integration/preview/trusted_comms/current_call_spec.rb
|
730
|
+
- spec/integration/preview/trusted_comms/device_spec.rb
|
731
|
+
- spec/integration/preview/trusted_comms/phone_call_spec.rb
|
724
732
|
- spec/integration/preview/understand/assistant/assistant_fallback_actions_spec.rb
|
725
733
|
- spec/integration/preview/understand/assistant/assistant_initiation_actions_spec.rb
|
726
734
|
- spec/integration/preview/understand/assistant/dialogue_spec.rb
|
@@ -826,6 +834,7 @@ files:
|
|
826
834
|
- spec/integration/video/v1/recording_spec.rb
|
827
835
|
- spec/integration/video/v1/room/recording_spec.rb
|
828
836
|
- spec/integration/video/v1/room/room_participant/room_participant_published_track_spec.rb
|
837
|
+
- spec/integration/video/v1/room/room_participant/room_participant_subscribe_rule_spec.rb
|
829
838
|
- spec/integration/video/v1/room/room_participant/room_participant_subscribed_track_spec.rb
|
830
839
|
- spec/integration/video/v1/room/room_participant_spec.rb
|
831
840
|
- spec/integration/video/v1/room_spec.rb
|
@@ -1074,6 +1083,9 @@ test_files:
|
|
1074
1083
|
- spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb
|
1075
1084
|
- spec/integration/preview/sync/service/sync_map_spec.rb
|
1076
1085
|
- spec/integration/preview/sync/service_spec.rb
|
1086
|
+
- spec/integration/preview/trusted_comms/current_call_spec.rb
|
1087
|
+
- spec/integration/preview/trusted_comms/device_spec.rb
|
1088
|
+
- spec/integration/preview/trusted_comms/phone_call_spec.rb
|
1077
1089
|
- spec/integration/preview/understand/assistant/assistant_fallback_actions_spec.rb
|
1078
1090
|
- spec/integration/preview/understand/assistant/assistant_initiation_actions_spec.rb
|
1079
1091
|
- spec/integration/preview/understand/assistant/dialogue_spec.rb
|
@@ -1179,6 +1191,7 @@ test_files:
|
|
1179
1191
|
- spec/integration/video/v1/recording_spec.rb
|
1180
1192
|
- spec/integration/video/v1/room/recording_spec.rb
|
1181
1193
|
- spec/integration/video/v1/room/room_participant/room_participant_published_track_spec.rb
|
1194
|
+
- spec/integration/video/v1/room/room_participant/room_participant_subscribe_rule_spec.rb
|
1182
1195
|
- spec/integration/video/v1/room/room_participant/room_participant_subscribed_track_spec.rb
|
1183
1196
|
- spec/integration/video/v1/room/room_participant_spec.rb
|
1184
1197
|
- spec/integration/video/v1/room_spec.rb
|