twilio-ruby 5.45.0 → 5.45.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +17 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +4 -4
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +32 -2
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +17 -2
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +32 -2
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +8 -1
- data/lib/twilio-ruby/rest/conversations/v1/user.rb +8 -1
- data/lib/twilio-ruby/rest/flex_api.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +5 -5
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +88 -76
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +2 -2
- data/lib/twilio-ruby/twiml/voice_response.rb +3 -2
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/conversations/v1/conversation/participant_spec.rb +30 -10
- data/spec/integration/conversations/v1/service/configuration_spec.rb +2 -0
- data/spec/integration/conversations/v1/service/conversation/participant_spec.rb +30 -10
- data/spec/integration/conversations/v1/service/user_spec.rb +9 -4
- data/spec/integration/conversations/v1/user_spec.rb +9 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9f0db0d1556e9972e56f14ebc213999bf7a63d00814e26f02469d8a8dcf634b
|
4
|
+
data.tar.gz: 31c7e92dc8c8701761038ed62ed0db2f827cd70fd34c50d2670c6962271ee611
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 839bbe234edfce0944ca90e80e6ce37add9ffb15e6f2b3920d64613a5ba37f3aa96d7f57f23d3217331e96caf5559588d3faf431b0d6fcf2530c533c23e70669
|
7
|
+
data.tar.gz: 29154b15e1f4de47a17c820049d4fecf13224695fda25f6d06d23d4c8036ef7e46d507330ab1b0a58b385a5fcb3141cff9380bf14063a6b06af0b1a990cc5cc0
|
data/CHANGES.md
CHANGED
@@ -1,6 +1,23 @@
|
|
1
1
|
twilio-ruby changelog
|
2
2
|
=====================
|
3
3
|
|
4
|
+
[2020-12-16] Version 5.45.1
|
5
|
+
---------------------------
|
6
|
+
**Api**
|
7
|
+
- Updated `call_event` default_output_properties to request and response.
|
8
|
+
|
9
|
+
**Conversations**
|
10
|
+
- Added `last_read_message_index` and `last_read_timestamp` to Participant's resource update operation
|
11
|
+
- Added `is_notifiable` and `is_online` to User's resource
|
12
|
+
- Added `reachability_enabled` parameters to update method for Conversation Service Configuration resource
|
13
|
+
|
14
|
+
**Messaging**
|
15
|
+
- Added WA template quick reply, URL, and phone number buttons
|
16
|
+
|
17
|
+
**Twiml**
|
18
|
+
- Add `sequential` to `Dial`.
|
19
|
+
|
20
|
+
|
4
21
|
[2020-12-08] Version 5.45.0
|
5
22
|
---------------------------
|
6
23
|
**Api**
|
data/README.md
CHANGED
@@ -34,13 +34,13 @@ This library supports the following Ruby implementations:
|
|
34
34
|
To install using [Bundler][bundler] grab the latest stable version:
|
35
35
|
|
36
36
|
```ruby
|
37
|
-
gem 'twilio-ruby', '~> 5.45.
|
37
|
+
gem 'twilio-ruby', '~> 5.45.1'
|
38
38
|
```
|
39
39
|
|
40
40
|
To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
|
41
41
|
|
42
42
|
```bash
|
43
|
-
gem install twilio-ruby -v 5.45.
|
43
|
+
gem install twilio-ruby -v 5.45.1
|
44
44
|
```
|
45
45
|
|
46
46
|
To build and install the development branch yourself from the latest source:
|
@@ -142,10 +142,10 @@ module Twilio
|
|
142
142
|
# @param [String] call_reason The Reason for the outgoing call. Use it to specify
|
143
143
|
# the purpose of the call that is presented on the called party's phone. (Branded
|
144
144
|
# Calls Beta)
|
145
|
-
# @param [String] recording_track The
|
146
|
-
# `
|
147
|
-
# received by Twilio
|
148
|
-
# `both`
|
145
|
+
# @param [String] recording_track The audio track to record for the call. Can be:
|
146
|
+
# `inbound`, `outbound` or `both`. The default is `both`. `inbound` records the
|
147
|
+
# audio that is received by Twilio. `outbound` records the audio that is generated
|
148
|
+
# from Twilio. `both` records the audio that is received and generated by Twilio.
|
149
149
|
# @param [String] url The absolute URL that returns the TwiML instructions for the
|
150
150
|
# call. We will call this URL using the `method` when the call connects. For more
|
151
151
|
# information, see the {Url
|
@@ -53,10 +53,10 @@ module Twilio
|
|
53
53
|
# Can be: `mono` or `dual` and the default is `mono`. `mono` records all parties
|
54
54
|
# of the call into one channel. `dual` records each party of a 2-party call into
|
55
55
|
# separate channels.
|
56
|
-
# @param [String] recording_track The
|
57
|
-
# `
|
58
|
-
# received by Twilio
|
59
|
-
# `both`
|
56
|
+
# @param [String] recording_track The audio track to record for the call. Can be:
|
57
|
+
# `inbound`, `outbound` or `both`. The default is `both`. `inbound` records the
|
58
|
+
# audio that is received by Twilio. `outbound` records the audio that is generated
|
59
|
+
# from Twilio. `both` records the audio that is received and generated by Twilio.
|
60
60
|
# @return [RecordingInstance] Created RecordingInstance
|
61
61
|
def create(recording_status_callback_event: :unset, recording_status_callback: :unset, recording_status_callback_method: :unset, trim: :unset, recording_channels: :unset, recording_track: :unset)
|
62
62
|
data = Twilio::Values.of({
|
@@ -162,10 +162,10 @@ module Twilio
|
|
162
162
|
# @param [String] call_reason The Reason for the outgoing call. Use it to specify
|
163
163
|
# the purpose of the call that is presented on the called party's phone. (Branded
|
164
164
|
# Calls Beta)
|
165
|
-
# @param [String] recording_track The track to record. Can be:
|
166
|
-
# `
|
167
|
-
# received by Twilio
|
168
|
-
#
|
165
|
+
# @param [String] recording_track The audio track to record for the call. Can be:
|
166
|
+
# `inbound`, `outbound` or `both`. The default is `both`. `inbound` records the
|
167
|
+
# audio that is received by Twilio. `outbound` records the audio that is sent from
|
168
|
+
# Twilio. `both` records the audio that is received and sent by Twilio.
|
169
169
|
# @return [ParticipantInstance] Created ParticipantInstance
|
170
170
|
def create(from: nil, to: nil, status_callback: :unset, status_callback_method: :unset, status_callback_event: :unset, label: :unset, timeout: :unset, record: :unset, muted: :unset, beep: :unset, start_conference_on_enter: :unset, end_conference_on_exit: :unset, wait_url: :unset, wait_method: :unset, early_media: :unset, max_participants: :unset, conference_record: :unset, conference_trim: :unset, conference_status_callback: :unset, conference_status_callback_method: :unset, conference_status_callback_event: :unset, recording_channels: :unset, recording_status_callback: :unset, recording_status_callback_method: :unset, sip_auth_username: :unset, sip_auth_password: :unset, region: :unset, conference_recording_status_callback: :unset, conference_recording_status_callback_method: :unset, recording_status_callback_event: :unset, conference_recording_status_callback_event: :unset, coaching: :unset, call_sid_to_coach: :unset, jitter_buffer_size: :unset, byoc: :unset, caller_id: :unset, call_reason: :unset, recording_track: :unset)
|
171
171
|
data = Twilio::Values.of({
|
@@ -230,10 +230,16 @@ module Twilio
|
|
230
230
|
# User}[https://www.twilio.com/docs/conversations/api/user-resource]. This
|
231
231
|
# parameter is non-null if (and only if) the participant is using the
|
232
232
|
# Conversations SDK to communicate. Limited to 256 characters.
|
233
|
+
# @param [String] last_read_message_index Index of last “read” message in the
|
234
|
+
# {Conversation}[https://www.twilio.com/docs/conversations/api/conversation-resource]
|
235
|
+
# for the Participant.
|
236
|
+
# @param [String] last_read_timestamp Timestamp of last “read” message in the
|
237
|
+
# {Conversation}[https://www.twilio.com/docs/conversations/api/conversation-resource]
|
238
|
+
# for the Participant.
|
233
239
|
# @param [participant.WebhookEnabledType] x_twilio_webhook_enabled The
|
234
240
|
# X-Twilio-Webhook-Enabled HTTP request header
|
235
241
|
# @return [ParticipantInstance] Updated ParticipantInstance
|
236
|
-
def update(date_created: :unset, date_updated: :unset, attributes: :unset, role_sid: :unset, messaging_binding_proxy_address: :unset, messaging_binding_projected_address: :unset, identity: :unset, x_twilio_webhook_enabled: :unset)
|
242
|
+
def update(date_created: :unset, date_updated: :unset, attributes: :unset, role_sid: :unset, messaging_binding_proxy_address: :unset, messaging_binding_projected_address: :unset, identity: :unset, last_read_message_index: :unset, last_read_timestamp: :unset, x_twilio_webhook_enabled: :unset)
|
237
243
|
data = Twilio::Values.of({
|
238
244
|
'DateCreated' => Twilio.serialize_iso8601_datetime(date_created),
|
239
245
|
'DateUpdated' => Twilio.serialize_iso8601_datetime(date_updated),
|
@@ -242,6 +248,8 @@ module Twilio
|
|
242
248
|
'MessagingBinding.ProxyAddress' => messaging_binding_proxy_address,
|
243
249
|
'MessagingBinding.ProjectedAddress' => messaging_binding_projected_address,
|
244
250
|
'Identity' => identity,
|
251
|
+
'LastReadMessageIndex' => last_read_message_index,
|
252
|
+
'LastReadTimestamp' => last_read_timestamp,
|
245
253
|
})
|
246
254
|
headers = Twilio::Values.of({'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
247
255
|
|
@@ -321,6 +329,8 @@ module Twilio
|
|
321
329
|
'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
|
322
330
|
'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
|
323
331
|
'url' => payload['url'],
|
332
|
+
'last_read_message_index' => payload['last_read_message_index'] == nil ? payload['last_read_message_index'] : payload['last_read_message_index'].to_i,
|
333
|
+
'last_read_timestamp' => payload['last_read_timestamp'],
|
324
334
|
}
|
325
335
|
|
326
336
|
# Context
|
@@ -399,6 +409,18 @@ module Twilio
|
|
399
409
|
@properties['url']
|
400
410
|
end
|
401
411
|
|
412
|
+
##
|
413
|
+
# @return [String] Index of last “read” message in the Conversation for the Participant.
|
414
|
+
def last_read_message_index
|
415
|
+
@properties['last_read_message_index']
|
416
|
+
end
|
417
|
+
|
418
|
+
##
|
419
|
+
# @return [String] Timestamp of last “read” message in the Conversation for the Participant.
|
420
|
+
def last_read_timestamp
|
421
|
+
@properties['last_read_timestamp']
|
422
|
+
end
|
423
|
+
|
402
424
|
##
|
403
425
|
# Update the ParticipantInstance
|
404
426
|
# @param [Time] date_created The date that this resource was created.
|
@@ -419,10 +441,16 @@ module Twilio
|
|
419
441
|
# User}[https://www.twilio.com/docs/conversations/api/user-resource]. This
|
420
442
|
# parameter is non-null if (and only if) the participant is using the
|
421
443
|
# Conversations SDK to communicate. Limited to 256 characters.
|
444
|
+
# @param [String] last_read_message_index Index of last “read” message in the
|
445
|
+
# {Conversation}[https://www.twilio.com/docs/conversations/api/conversation-resource]
|
446
|
+
# for the Participant.
|
447
|
+
# @param [String] last_read_timestamp Timestamp of last “read” message in the
|
448
|
+
# {Conversation}[https://www.twilio.com/docs/conversations/api/conversation-resource]
|
449
|
+
# for the Participant.
|
422
450
|
# @param [participant.WebhookEnabledType] x_twilio_webhook_enabled The
|
423
451
|
# X-Twilio-Webhook-Enabled HTTP request header
|
424
452
|
# @return [ParticipantInstance] Updated ParticipantInstance
|
425
|
-
def update(date_created: :unset, date_updated: :unset, attributes: :unset, role_sid: :unset, messaging_binding_proxy_address: :unset, messaging_binding_projected_address: :unset, identity: :unset, x_twilio_webhook_enabled: :unset)
|
453
|
+
def update(date_created: :unset, date_updated: :unset, attributes: :unset, role_sid: :unset, messaging_binding_proxy_address: :unset, messaging_binding_projected_address: :unset, identity: :unset, last_read_message_index: :unset, last_read_timestamp: :unset, x_twilio_webhook_enabled: :unset)
|
426
454
|
context.update(
|
427
455
|
date_created: date_created,
|
428
456
|
date_updated: date_updated,
|
@@ -431,6 +459,8 @@ module Twilio
|
|
431
459
|
messaging_binding_proxy_address: messaging_binding_proxy_address,
|
432
460
|
messaging_binding_projected_address: messaging_binding_projected_address,
|
433
461
|
identity: identity,
|
462
|
+
last_read_message_index: last_read_message_index,
|
463
|
+
last_read_timestamp: last_read_timestamp,
|
434
464
|
x_twilio_webhook_enabled: x_twilio_webhook_enabled,
|
435
465
|
)
|
436
466
|
end
|
@@ -103,12 +103,16 @@ module Twilio
|
|
103
103
|
# users when they are added to the service. See the {Conversation
|
104
104
|
# Role}[https://www.twilio.com/docs/conversations/api/role-resource] for more info
|
105
105
|
# about roles.
|
106
|
+
# @param [Boolean] reachability_enabled Whether the {Reachability
|
107
|
+
# Indicator}[https://www.twilio.com/docs/chat/reachability-indicator] is enabled
|
108
|
+
# for this Conversations Service. The default is `false`.
|
106
109
|
# @return [ConfigurationInstance] Updated ConfigurationInstance
|
107
|
-
def update(default_conversation_creator_role_sid: :unset, default_conversation_role_sid: :unset, default_chat_service_role_sid: :unset)
|
110
|
+
def update(default_conversation_creator_role_sid: :unset, default_conversation_role_sid: :unset, default_chat_service_role_sid: :unset, reachability_enabled: :unset)
|
108
111
|
data = Twilio::Values.of({
|
109
112
|
'DefaultConversationCreatorRoleSid' => default_conversation_creator_role_sid,
|
110
113
|
'DefaultConversationRoleSid' => default_conversation_role_sid,
|
111
114
|
'DefaultChatServiceRoleSid' => default_chat_service_role_sid,
|
115
|
+
'ReachabilityEnabled' => reachability_enabled,
|
112
116
|
})
|
113
117
|
|
114
118
|
payload = @version.update('POST', @uri, data: data)
|
@@ -157,6 +161,7 @@ module Twilio
|
|
157
161
|
'default_chat_service_role_sid' => payload['default_chat_service_role_sid'],
|
158
162
|
'url' => payload['url'],
|
159
163
|
'links' => payload['links'],
|
164
|
+
'reachability_enabled' => payload['reachability_enabled'],
|
160
165
|
}
|
161
166
|
|
162
167
|
# Context
|
@@ -211,6 +216,12 @@ module Twilio
|
|
211
216
|
@properties['links']
|
212
217
|
end
|
213
218
|
|
219
|
+
##
|
220
|
+
# @return [Boolean] Whether the Reachability Indicator feature is enabled for this Conversations Service
|
221
|
+
def reachability_enabled
|
222
|
+
@properties['reachability_enabled']
|
223
|
+
end
|
224
|
+
|
214
225
|
##
|
215
226
|
# Fetch the ConfigurationInstance
|
216
227
|
# @return [ConfigurationInstance] Fetched ConfigurationInstance
|
@@ -233,12 +244,16 @@ module Twilio
|
|
233
244
|
# users when they are added to the service. See the {Conversation
|
234
245
|
# Role}[https://www.twilio.com/docs/conversations/api/role-resource] for more info
|
235
246
|
# about roles.
|
247
|
+
# @param [Boolean] reachability_enabled Whether the {Reachability
|
248
|
+
# Indicator}[https://www.twilio.com/docs/chat/reachability-indicator] is enabled
|
249
|
+
# for this Conversations Service. The default is `false`.
|
236
250
|
# @return [ConfigurationInstance] Updated ConfigurationInstance
|
237
|
-
def update(default_conversation_creator_role_sid: :unset, default_conversation_role_sid: :unset, default_chat_service_role_sid: :unset)
|
251
|
+
def update(default_conversation_creator_role_sid: :unset, default_conversation_role_sid: :unset, default_chat_service_role_sid: :unset, reachability_enabled: :unset)
|
238
252
|
context.update(
|
239
253
|
default_conversation_creator_role_sid: default_conversation_creator_role_sid,
|
240
254
|
default_conversation_role_sid: default_conversation_role_sid,
|
241
255
|
default_chat_service_role_sid: default_chat_service_role_sid,
|
256
|
+
reachability_enabled: reachability_enabled,
|
242
257
|
)
|
243
258
|
end
|
244
259
|
|
@@ -247,10 +247,16 @@ module Twilio
|
|
247
247
|
# number that the participant is in contact with. 'null' value will remove it.
|
248
248
|
# @param [String] messaging_binding_projected_address The address of the Twilio
|
249
249
|
# phone number that is used in Group MMS. 'null' value will remove it.
|
250
|
+
# @param [String] last_read_message_index Index of last “read” message in the
|
251
|
+
# {Conversation}[https://www.twilio.com/docs/conversations/api/conversation-resource]
|
252
|
+
# for the Participant.
|
253
|
+
# @param [String] last_read_timestamp Timestamp of last “read” message in the
|
254
|
+
# {Conversation}[https://www.twilio.com/docs/conversations/api/conversation-resource]
|
255
|
+
# for the Participant.
|
250
256
|
# @param [participant.WebhookEnabledType] x_twilio_webhook_enabled The
|
251
257
|
# X-Twilio-Webhook-Enabled HTTP request header
|
252
258
|
# @return [ParticipantInstance] Updated ParticipantInstance
|
253
|
-
def update(date_created: :unset, date_updated: :unset, identity: :unset, attributes: :unset, role_sid: :unset, messaging_binding_proxy_address: :unset, messaging_binding_projected_address: :unset, x_twilio_webhook_enabled: :unset)
|
259
|
+
def update(date_created: :unset, date_updated: :unset, identity: :unset, attributes: :unset, role_sid: :unset, messaging_binding_proxy_address: :unset, messaging_binding_projected_address: :unset, last_read_message_index: :unset, last_read_timestamp: :unset, x_twilio_webhook_enabled: :unset)
|
254
260
|
data = Twilio::Values.of({
|
255
261
|
'DateCreated' => Twilio.serialize_iso8601_datetime(date_created),
|
256
262
|
'DateUpdated' => Twilio.serialize_iso8601_datetime(date_updated),
|
@@ -259,6 +265,8 @@ module Twilio
|
|
259
265
|
'RoleSid' => role_sid,
|
260
266
|
'MessagingBinding.ProxyAddress' => messaging_binding_proxy_address,
|
261
267
|
'MessagingBinding.ProjectedAddress' => messaging_binding_projected_address,
|
268
|
+
'LastReadMessageIndex' => last_read_message_index,
|
269
|
+
'LastReadTimestamp' => last_read_timestamp,
|
262
270
|
})
|
263
271
|
headers = Twilio::Values.of({'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
264
272
|
|
@@ -344,6 +352,8 @@ module Twilio
|
|
344
352
|
'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
|
345
353
|
'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
|
346
354
|
'url' => payload['url'],
|
355
|
+
'last_read_message_index' => payload['last_read_message_index'] == nil ? payload['last_read_message_index'] : payload['last_read_message_index'].to_i,
|
356
|
+
'last_read_timestamp' => payload['last_read_timestamp'],
|
347
357
|
}
|
348
358
|
|
349
359
|
# Context
|
@@ -437,6 +447,18 @@ module Twilio
|
|
437
447
|
@properties['url']
|
438
448
|
end
|
439
449
|
|
450
|
+
##
|
451
|
+
# @return [String] Index of last “read” message in the Conversation for the Participant.
|
452
|
+
def last_read_message_index
|
453
|
+
@properties['last_read_message_index']
|
454
|
+
end
|
455
|
+
|
456
|
+
##
|
457
|
+
# @return [String] Timestamp of last “read” message in the Conversation for the Participant.
|
458
|
+
def last_read_timestamp
|
459
|
+
@properties['last_read_timestamp']
|
460
|
+
end
|
461
|
+
|
440
462
|
##
|
441
463
|
# Update the ParticipantInstance
|
442
464
|
# @param [Time] date_created The date that this resource was created.
|
@@ -457,10 +479,16 @@ module Twilio
|
|
457
479
|
# number that the participant is in contact with. 'null' value will remove it.
|
458
480
|
# @param [String] messaging_binding_projected_address The address of the Twilio
|
459
481
|
# phone number that is used in Group MMS. 'null' value will remove it.
|
482
|
+
# @param [String] last_read_message_index Index of last “read” message in the
|
483
|
+
# {Conversation}[https://www.twilio.com/docs/conversations/api/conversation-resource]
|
484
|
+
# for the Participant.
|
485
|
+
# @param [String] last_read_timestamp Timestamp of last “read” message in the
|
486
|
+
# {Conversation}[https://www.twilio.com/docs/conversations/api/conversation-resource]
|
487
|
+
# for the Participant.
|
460
488
|
# @param [participant.WebhookEnabledType] x_twilio_webhook_enabled The
|
461
489
|
# X-Twilio-Webhook-Enabled HTTP request header
|
462
490
|
# @return [ParticipantInstance] Updated ParticipantInstance
|
463
|
-
def update(date_created: :unset, date_updated: :unset, identity: :unset, attributes: :unset, role_sid: :unset, messaging_binding_proxy_address: :unset, messaging_binding_projected_address: :unset, x_twilio_webhook_enabled: :unset)
|
491
|
+
def update(date_created: :unset, date_updated: :unset, identity: :unset, attributes: :unset, role_sid: :unset, messaging_binding_proxy_address: :unset, messaging_binding_projected_address: :unset, last_read_message_index: :unset, last_read_timestamp: :unset, x_twilio_webhook_enabled: :unset)
|
464
492
|
context.update(
|
465
493
|
date_created: date_created,
|
466
494
|
date_updated: date_updated,
|
@@ -469,6 +497,8 @@ module Twilio
|
|
469
497
|
role_sid: role_sid,
|
470
498
|
messaging_binding_proxy_address: messaging_binding_proxy_address,
|
471
499
|
messaging_binding_projected_address: messaging_binding_projected_address,
|
500
|
+
last_read_message_index: last_read_message_index,
|
501
|
+
last_read_timestamp: last_read_timestamp,
|
472
502
|
x_twilio_webhook_enabled: x_twilio_webhook_enabled,
|
473
503
|
)
|
474
504
|
end
|
@@ -285,6 +285,7 @@ module Twilio
|
|
285
285
|
'friendly_name' => payload['friendly_name'],
|
286
286
|
'attributes' => payload['attributes'],
|
287
287
|
'is_online' => payload['is_online'],
|
288
|
+
'is_notifiable' => payload['is_notifiable'],
|
288
289
|
'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
|
289
290
|
'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
|
290
291
|
'url' => payload['url'],
|
@@ -349,11 +350,17 @@ module Twilio
|
|
349
350
|
end
|
350
351
|
|
351
352
|
##
|
352
|
-
# @return [Boolean] Whether the User is actively connected to
|
353
|
+
# @return [Boolean] Whether the User is actively connected to this Conversations Service and online
|
353
354
|
def is_online
|
354
355
|
@properties['is_online']
|
355
356
|
end
|
356
357
|
|
358
|
+
##
|
359
|
+
# @return [Boolean] Whether the User has a potentially valid Push Notification registration for this Conversations Service
|
360
|
+
def is_notifiable
|
361
|
+
@properties['is_notifiable']
|
362
|
+
end
|
363
|
+
|
357
364
|
##
|
358
365
|
# @return [Time] The ISO 8601 date and time in GMT when the resource was created
|
359
366
|
def date_created
|
@@ -265,6 +265,7 @@ module Twilio
|
|
265
265
|
'friendly_name' => payload['friendly_name'],
|
266
266
|
'attributes' => payload['attributes'],
|
267
267
|
'is_online' => payload['is_online'],
|
268
|
+
'is_notifiable' => payload['is_notifiable'],
|
268
269
|
'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
|
269
270
|
'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
|
270
271
|
'url' => payload['url'],
|
@@ -329,11 +330,17 @@ module Twilio
|
|
329
330
|
end
|
330
331
|
|
331
332
|
##
|
332
|
-
# @return [Boolean] Whether the User is actively connected to
|
333
|
+
# @return [Boolean] Whether the User is actively connected to this Conversations Service and online
|
333
334
|
def is_online
|
334
335
|
@properties['is_online']
|
335
336
|
end
|
336
337
|
|
338
|
+
##
|
339
|
+
# @return [Boolean] Whether the User has a potentially valid Push Notification registration for this Conversations Service
|
340
|
+
def is_notifiable
|
341
|
+
@properties['is_notifiable']
|
342
|
+
end
|
343
|
+
|
337
344
|
##
|
338
345
|
# @return [Time] The ISO 8601 date and time in GMT when the resource was created
|
339
346
|
def date_created
|
@@ -44,7 +44,7 @@ module Twilio
|
|
44
44
|
end
|
45
45
|
|
46
46
|
##
|
47
|
-
# @param [String] sid The unique string that we created to identify the
|
47
|
+
# @param [String] sid The unique string that we created to identify the Flex Flow
|
48
48
|
# resource.
|
49
49
|
# @return [Twilio::REST::Flex_api::V1::FlexFlowInstance] if sid was passed.
|
50
50
|
# @return [Twilio::REST::Flex_api::V1::FlexFlowList]
|
@@ -42,7 +42,7 @@ module Twilio
|
|
42
42
|
end
|
43
43
|
|
44
44
|
##
|
45
|
-
# @param [String] sid The SID of the
|
45
|
+
# @param [String] sid The SID of the Flex Flow resource to fetch.
|
46
46
|
# @return [Twilio::REST::Flex_api::V1::FlexFlowContext] if sid was passed.
|
47
47
|
# @return [Twilio::REST::Flex_api::V1::FlexFlowList]
|
48
48
|
def flex_flow(sid=:unset)
|
@@ -105,7 +105,7 @@ module Twilio
|
|
105
105
|
|
106
106
|
##
|
107
107
|
# Create the ChannelInstance
|
108
|
-
# @param [String] flex_flow_sid The SID of the
|
108
|
+
# @param [String] flex_flow_sid The SID of the Flex Flow.
|
109
109
|
# @param [String] identity The `identity` value that uniquely identifies the new
|
110
110
|
# resource's chat User.
|
111
111
|
# @param [String] chat_user_friendly_name The chat participant's friendly name.
|
@@ -114,9 +114,9 @@ module Twilio
|
|
114
114
|
# of an SMS.
|
115
115
|
# @param [String] chat_unique_name The chat channel's unique name.
|
116
116
|
# @param [String] pre_engagement_data The pre-engagement data.
|
117
|
-
# @param [String] task_sid The SID of the TaskRouter
|
117
|
+
# @param [String] task_sid The SID of the TaskRouter Task. Only valid when
|
118
118
|
# integration type is `task`. `null` for integration types `studio` & `external`
|
119
|
-
# @param [String] task_attributes The
|
119
|
+
# @param [String] task_attributes The Task attributes to be added for the
|
120
120
|
# TaskRouter Task.
|
121
121
|
# @param [Boolean] long_lived Whether to create the channel as long-lived.
|
122
122
|
# @return [ChannelInstance] Created ChannelInstance
|
@@ -265,7 +265,7 @@ module Twilio
|
|
265
265
|
end
|
266
266
|
|
267
267
|
##
|
268
|
-
# @return [String] The SID of the
|
268
|
+
# @return [String] The SID of the Flex Flow
|
269
269
|
def flex_flow_sid
|
270
270
|
@properties['flex_flow_sid']
|
271
271
|
end
|
@@ -283,7 +283,7 @@ module Twilio
|
|
283
283
|
end
|
284
284
|
|
285
285
|
##
|
286
|
-
# @return [String] The SID of the TaskRouter
|
286
|
+
# @return [String] The SID of the TaskRouter Task
|
287
287
|
def task_sid
|
288
288
|
@properties['task_sid']
|
289
289
|
end
|
@@ -27,7 +27,7 @@ module Twilio
|
|
27
27
|
# Lists FlexFlowInstance records from the API as a list.
|
28
28
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
29
29
|
# memory before returning.
|
30
|
-
# @param [String] friendly_name The `friendly_name` of the
|
30
|
+
# @param [String] friendly_name The `friendly_name` of the Flex Flow resources to
|
31
31
|
# read.
|
32
32
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
33
33
|
# guarantees to never return more than limit. Default is no limit
|
@@ -44,7 +44,7 @@ module Twilio
|
|
44
44
|
# Streams FlexFlowInstance records from the API as an Enumerable.
|
45
45
|
# This operation lazily loads records as efficiently as possible until the limit
|
46
46
|
# is reached.
|
47
|
-
# @param [String] friendly_name The `friendly_name` of the
|
47
|
+
# @param [String] friendly_name The `friendly_name` of the Flex Flow resources to
|
48
48
|
# read.
|
49
49
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
50
50
|
# guarantees to never return more than limit. Default is no limit.
|
@@ -78,7 +78,7 @@ module Twilio
|
|
78
78
|
##
|
79
79
|
# Retrieve a single page of FlexFlowInstance records from the API.
|
80
80
|
# Request is executed immediately.
|
81
|
-
# @param [String] friendly_name The `friendly_name` of the
|
81
|
+
# @param [String] friendly_name The `friendly_name` of the Flex Flow resources to
|
82
82
|
# read.
|
83
83
|
# @param [String] page_token PageToken provided by the API
|
84
84
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
@@ -113,33 +113,36 @@ module Twilio
|
|
113
113
|
##
|
114
114
|
# Create the FlexFlowInstance
|
115
115
|
# @param [String] friendly_name A descriptive string that you create to describe
|
116
|
-
# the
|
116
|
+
# the Flex Flow resource.
|
117
117
|
# @param [String] chat_service_sid The SID of the chat service.
|
118
118
|
# @param [flex_flow.ChannelType] channel_type The channel type. Can be: `web`,
|
119
119
|
# `facebook`, `sms`, `whatsapp`, `line` or `custom`.
|
120
120
|
# @param [String] contact_identity The channel contact's Identity.
|
121
|
-
# @param [Boolean] enabled Whether the new
|
121
|
+
# @param [Boolean] enabled Whether the new Flex Flow is enabled.
|
122
122
|
# @param [flex_flow.IntegrationType] integration_type The integration type. Can
|
123
123
|
# be: `studio`, `external`, or `task`.
|
124
|
-
# @param [String] integration_flow_sid The SID of the Flow when
|
125
|
-
# is `studio`.
|
126
|
-
# @param [String] integration_url The
|
127
|
-
# is `external`.
|
128
|
-
# @param [String] integration_workspace_sid The Workspace SID for a new
|
129
|
-
#
|
130
|
-
# @param [String] integration_workflow_sid The Workflow SID for a new
|
131
|
-
# `
|
132
|
-
# @param [String] integration_channel The
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# @param [
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
#
|
124
|
+
# @param [String] integration_flow_sid The SID of the Studio Flow. Required when
|
125
|
+
# `integrationType` is `studio`.
|
126
|
+
# @param [String] integration_url The URL of the external webhook. Required when
|
127
|
+
# `integrationType` is `external`.
|
128
|
+
# @param [String] integration_workspace_sid The Workspace SID for a new Task.
|
129
|
+
# Required when `integrationType` is `task`.
|
130
|
+
# @param [String] integration_workflow_sid The Workflow SID for a new Task.
|
131
|
+
# Required when `integrationType` is `task`.
|
132
|
+
# @param [String] integration_channel The Task Channel for the TaskRouter Task
|
133
|
+
# that will be created. Applicable and required when integrationType is `task`.
|
134
|
+
# Set to `sms` for SMS, and to `chat` otherwise. The default value is `default`
|
135
|
+
# @param [String] integration_timeout The Task timeout in seconds for a new Task.
|
136
|
+
# Default is 86,400 seconds (24 hours). Optional when `integrationType` is `task`,
|
137
|
+
# not applicable otherwise.
|
138
|
+
# @param [String] integration_priority The Task priority of a new Task. The
|
139
|
+
# default priority is 0. Optional when `integrationType` is `task`, not applicable
|
140
|
+
# otherwise.
|
141
|
+
# @param [Boolean] integration_creation_on_message In the context of outbound
|
142
|
+
# messaging, defines whether to create a Task immediately (and therefore reserve
|
143
|
+
# the conversation to current agent), or delay Task creation until the customer
|
144
|
+
# sends the first response. Set to false to create immediately, true to delay Task
|
145
|
+
# creation. This setting is only applicable for outbound messaging.
|
143
146
|
# @param [Boolean] long_lived When enabled, Flex will keep the chat channel active
|
144
147
|
# so that it may be used for subsequent interactions with a contact identity.
|
145
148
|
# Defaults to `false`.
|
@@ -147,8 +150,9 @@ module Twilio
|
|
147
150
|
# will remove active Proxy sessions if the associated Task is deleted outside of
|
148
151
|
# the Flex UI. Defaults to `false`.
|
149
152
|
# @param [String] integration_retry_count The number of times to retry the webhook
|
150
|
-
# if the first attempt fails. Can be an integer between 0 and 3
|
151
|
-
#
|
153
|
+
# if the first attempt fails. Can be an integer between 0 and 3 (included),
|
154
|
+
# default is 0. Optional when integrationType is `external`, not applicable
|
155
|
+
# otherwise.
|
152
156
|
# @return [FlexFlowInstance] Created FlexFlowInstance
|
153
157
|
def create(friendly_name: nil, chat_service_sid: nil, channel_type: nil, contact_identity: :unset, enabled: :unset, integration_type: :unset, integration_flow_sid: :unset, integration_url: :unset, integration_workspace_sid: :unset, integration_workflow_sid: :unset, integration_channel: :unset, integration_timeout: :unset, integration_priority: :unset, integration_creation_on_message: :unset, long_lived: :unset, janitor_enabled: :unset, integration_retry_count: :unset)
|
154
158
|
data = Twilio::Values.of({
|
@@ -216,7 +220,7 @@ module Twilio
|
|
216
220
|
##
|
217
221
|
# Initialize the FlexFlowContext
|
218
222
|
# @param [Version] version Version that contains the resource
|
219
|
-
# @param [String] sid The SID of the
|
223
|
+
# @param [String] sid The SID of the Flex Flow resource to fetch.
|
220
224
|
# @return [FlexFlowContext] FlexFlowContext
|
221
225
|
def initialize(version, sid)
|
222
226
|
super(version)
|
@@ -238,33 +242,36 @@ module Twilio
|
|
238
242
|
##
|
239
243
|
# Update the FlexFlowInstance
|
240
244
|
# @param [String] friendly_name A descriptive string that you create to describe
|
241
|
-
# the
|
245
|
+
# the Flex Flow resource.
|
242
246
|
# @param [String] chat_service_sid The SID of the chat service.
|
243
247
|
# @param [flex_flow.ChannelType] channel_type The channel type. Can be: `web`,
|
244
248
|
# `facebook`, `sms`, `whatsapp`, `line` or `custom`.
|
245
249
|
# @param [String] contact_identity The channel contact's Identity.
|
246
|
-
# @param [Boolean] enabled Whether the
|
250
|
+
# @param [Boolean] enabled Whether the new Flex Flow is enabled.
|
247
251
|
# @param [flex_flow.IntegrationType] integration_type The integration type. Can
|
248
252
|
# be: `studio`, `external`, or `task`.
|
249
|
-
# @param [String] integration_flow_sid The SID of the Flow when
|
250
|
-
# is `studio`.
|
251
|
-
# @param [String] integration_url The
|
252
|
-
# is `external`.
|
253
|
-
# @param [String] integration_workspace_sid The Workspace SID for a new
|
254
|
-
# `
|
255
|
-
# @param [String] integration_workflow_sid The Workflow SID for a new
|
256
|
-
# `
|
257
|
-
# @param [String] integration_channel The
|
258
|
-
#
|
259
|
-
#
|
260
|
-
#
|
261
|
-
#
|
262
|
-
#
|
263
|
-
# @param [
|
264
|
-
#
|
265
|
-
#
|
266
|
-
#
|
267
|
-
#
|
253
|
+
# @param [String] integration_flow_sid The SID of the Studio Flow. Required when
|
254
|
+
# `integrationType` is `studio`.
|
255
|
+
# @param [String] integration_url The URL of the external webhook. Required when
|
256
|
+
# `integrationType` is `external`.
|
257
|
+
# @param [String] integration_workspace_sid The Workspace SID for a new Task.
|
258
|
+
# Required when `integrationType` is `task`.
|
259
|
+
# @param [String] integration_workflow_sid The Workflow SID for a new Task.
|
260
|
+
# Required when `integrationType` is `task`.
|
261
|
+
# @param [String] integration_channel The Task Channel for the TaskRouter Task
|
262
|
+
# that will be created. Applicable and required when integrationType is `task`.
|
263
|
+
# Set to `sms` for SMS, and to `chat` otherwise. The default value is `default`
|
264
|
+
# @param [String] integration_timeout The Task timeout in seconds for a new Task.
|
265
|
+
# Default is 86,400 seconds (24 hours). Optional when `integrationType` is `task`,
|
266
|
+
# not applicable otherwise.
|
267
|
+
# @param [String] integration_priority The Task priority of a new Task. The
|
268
|
+
# default priority is 0. Optional when `integrationType` is `task`, not applicable
|
269
|
+
# otherwise.
|
270
|
+
# @param [Boolean] integration_creation_on_message In the context of outbound
|
271
|
+
# messaging, defines whether to create a Task immediately (and therefore reserve
|
272
|
+
# the conversation to current agent), or delay Task creation until the customer
|
273
|
+
# sends the first response. Set to false to create immediately, true to delay Task
|
274
|
+
# creation. This setting is only applicable for outbound messaging.
|
268
275
|
# @param [Boolean] long_lived When enabled, Flex will keep the chat channel active
|
269
276
|
# so that it may be used for subsequent interactions with a contact identity.
|
270
277
|
# Defaults to `false`.
|
@@ -272,8 +279,9 @@ module Twilio
|
|
272
279
|
# will remove active Proxy sessions if the associated Task is deleted outside of
|
273
280
|
# the Flex UI. Defaults to `false`.
|
274
281
|
# @param [String] integration_retry_count The number of times to retry the webhook
|
275
|
-
# if the first attempt fails. Can be an integer between 0 and 3
|
276
|
-
#
|
282
|
+
# if the first attempt fails. Can be an integer between 0 and 3 (included),
|
283
|
+
# default is 0. Optional when integrationType is `external`, not applicable
|
284
|
+
# otherwise.
|
277
285
|
# @return [FlexFlowInstance] Updated FlexFlowInstance
|
278
286
|
def update(friendly_name: :unset, chat_service_sid: :unset, channel_type: :unset, contact_identity: :unset, enabled: :unset, integration_type: :unset, integration_flow_sid: :unset, integration_url: :unset, integration_workspace_sid: :unset, integration_workflow_sid: :unset, integration_channel: :unset, integration_timeout: :unset, integration_priority: :unset, integration_creation_on_message: :unset, long_lived: :unset, janitor_enabled: :unset, integration_retry_count: :unset)
|
279
287
|
data = Twilio::Values.of({
|
@@ -328,7 +336,7 @@ module Twilio
|
|
328
336
|
# Initialize the FlexFlowInstance
|
329
337
|
# @param [Version] version Version that contains the resource
|
330
338
|
# @param [Hash] payload payload that contains response from Twilio
|
331
|
-
# @param [String] sid The SID of the
|
339
|
+
# @param [String] sid The SID of the Flex Flow resource to fetch.
|
332
340
|
# @return [FlexFlowInstance] FlexFlowInstance
|
333
341
|
def initialize(version, payload, sid: nil)
|
334
342
|
super(version)
|
@@ -416,7 +424,7 @@ module Twilio
|
|
416
424
|
end
|
417
425
|
|
418
426
|
##
|
419
|
-
# @return [Boolean] Whether the
|
427
|
+
# @return [Boolean] Whether the Flex Flow is enabled
|
420
428
|
def enabled
|
421
429
|
@properties['enabled']
|
422
430
|
end
|
@@ -446,7 +454,7 @@ module Twilio
|
|
446
454
|
end
|
447
455
|
|
448
456
|
##
|
449
|
-
# @return [String] The absolute URL of the
|
457
|
+
# @return [String] The absolute URL of the Flex Flow resource
|
450
458
|
def url
|
451
459
|
@properties['url']
|
452
460
|
end
|
@@ -461,33 +469,36 @@ module Twilio
|
|
461
469
|
##
|
462
470
|
# Update the FlexFlowInstance
|
463
471
|
# @param [String] friendly_name A descriptive string that you create to describe
|
464
|
-
# the
|
472
|
+
# the Flex Flow resource.
|
465
473
|
# @param [String] chat_service_sid The SID of the chat service.
|
466
474
|
# @param [flex_flow.ChannelType] channel_type The channel type. Can be: `web`,
|
467
475
|
# `facebook`, `sms`, `whatsapp`, `line` or `custom`.
|
468
476
|
# @param [String] contact_identity The channel contact's Identity.
|
469
|
-
# @param [Boolean] enabled Whether the
|
477
|
+
# @param [Boolean] enabled Whether the new Flex Flow is enabled.
|
470
478
|
# @param [flex_flow.IntegrationType] integration_type The integration type. Can
|
471
479
|
# be: `studio`, `external`, or `task`.
|
472
|
-
# @param [String] integration_flow_sid The SID of the Flow when
|
473
|
-
# is `studio`.
|
474
|
-
# @param [String] integration_url The
|
475
|
-
# is `external`.
|
476
|
-
# @param [String] integration_workspace_sid The Workspace SID for a new
|
477
|
-
# `
|
478
|
-
# @param [String] integration_workflow_sid The Workflow SID for a new
|
479
|
-
# `
|
480
|
-
# @param [String] integration_channel The
|
481
|
-
#
|
482
|
-
#
|
483
|
-
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
# @param [
|
487
|
-
#
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
480
|
+
# @param [String] integration_flow_sid The SID of the Studio Flow. Required when
|
481
|
+
# `integrationType` is `studio`.
|
482
|
+
# @param [String] integration_url The URL of the external webhook. Required when
|
483
|
+
# `integrationType` is `external`.
|
484
|
+
# @param [String] integration_workspace_sid The Workspace SID for a new Task.
|
485
|
+
# Required when `integrationType` is `task`.
|
486
|
+
# @param [String] integration_workflow_sid The Workflow SID for a new Task.
|
487
|
+
# Required when `integrationType` is `task`.
|
488
|
+
# @param [String] integration_channel The Task Channel for the TaskRouter Task
|
489
|
+
# that will be created. Applicable and required when integrationType is `task`.
|
490
|
+
# Set to `sms` for SMS, and to `chat` otherwise. The default value is `default`
|
491
|
+
# @param [String] integration_timeout The Task timeout in seconds for a new Task.
|
492
|
+
# Default is 86,400 seconds (24 hours). Optional when `integrationType` is `task`,
|
493
|
+
# not applicable otherwise.
|
494
|
+
# @param [String] integration_priority The Task priority of a new Task. The
|
495
|
+
# default priority is 0. Optional when `integrationType` is `task`, not applicable
|
496
|
+
# otherwise.
|
497
|
+
# @param [Boolean] integration_creation_on_message In the context of outbound
|
498
|
+
# messaging, defines whether to create a Task immediately (and therefore reserve
|
499
|
+
# the conversation to current agent), or delay Task creation until the customer
|
500
|
+
# sends the first response. Set to false to create immediately, true to delay Task
|
501
|
+
# creation. This setting is only applicable for outbound messaging.
|
491
502
|
# @param [Boolean] long_lived When enabled, Flex will keep the chat channel active
|
492
503
|
# so that it may be used for subsequent interactions with a contact identity.
|
493
504
|
# Defaults to `false`.
|
@@ -495,8 +506,9 @@ module Twilio
|
|
495
506
|
# will remove active Proxy sessions if the associated Task is deleted outside of
|
496
507
|
# the Flex UI. Defaults to `false`.
|
497
508
|
# @param [String] integration_retry_count The number of times to retry the webhook
|
498
|
-
# if the first attempt fails. Can be an integer between 0 and 3
|
499
|
-
#
|
509
|
+
# if the first attempt fails. Can be an integer between 0 and 3 (included),
|
510
|
+
# default is 0. Optional when integrationType is `external`, not applicable
|
511
|
+
# otherwise.
|
500
512
|
# @return [FlexFlowInstance] Updated FlexFlowInstance
|
501
513
|
def update(friendly_name: :unset, chat_service_sid: :unset, channel_type: :unset, contact_identity: :unset, enabled: :unset, integration_type: :unset, integration_flow_sid: :unset, integration_url: :unset, integration_workspace_sid: :unset, integration_workflow_sid: :unset, integration_channel: :unset, integration_timeout: :unset, integration_priority: :unset, integration_creation_on_message: :unset, long_lived: :unset, janitor_enabled: :unset, integration_retry_count: :unset)
|
502
514
|
context.update(
|
@@ -105,7 +105,7 @@ module Twilio
|
|
105
105
|
|
106
106
|
##
|
107
107
|
# Create the WebChannelInstance
|
108
|
-
# @param [String] flex_flow_sid The SID of the
|
108
|
+
# @param [String] flex_flow_sid The SID of the Flex Flow.
|
109
109
|
# @param [String] identity The chat identity.
|
110
110
|
# @param [String] customer_friendly_name The chat participant's friendly name.
|
111
111
|
# @param [String] chat_friendly_name The chat channel's friendly name.
|
@@ -268,7 +268,7 @@ module Twilio
|
|
268
268
|
end
|
269
269
|
|
270
270
|
##
|
271
|
-
# @return [String] The SID of the
|
271
|
+
# @return [String] The SID of the Flex Flow
|
272
272
|
def flex_flow_sid
|
273
273
|
@properties['flex_flow_sid']
|
274
274
|
end
|
@@ -47,9 +47,10 @@ module Twilio
|
|
47
47
|
# answer_on_bridge:: Preserve the ringing behavior of the inbound call until the Dialed call picks up
|
48
48
|
# ring_tone:: Ringtone allows you to override the ringback tone that Twilio will play back to the caller while executing the Dial
|
49
49
|
# recording_track:: To indicate which audio track should be recorded
|
50
|
+
# sequential:: Used to determine if child TwiML nouns should be dialed in order, one after the other (sequential) or dial all at once (parallel). Default is false, parallel
|
50
51
|
# keyword_args:: additional attributes
|
51
|
-
def dial(number: nil, action: nil, method: nil, timeout: nil, hangup_on_star: nil, time_limit: nil, caller_id: nil, record: nil, trim: nil, recording_status_callback: nil, recording_status_callback_method: nil, recording_status_callback_event: nil, answer_on_bridge: nil, ring_tone: nil, recording_track: nil, **keyword_args)
|
52
|
-
dial = Dial.new(number: number, action: action, method: method, timeout: timeout, hangup_on_star: hangup_on_star, time_limit: time_limit, caller_id: caller_id, record: record, trim: trim, recording_status_callback: recording_status_callback, recording_status_callback_method: recording_status_callback_method, recording_status_callback_event: recording_status_callback_event, answer_on_bridge: answer_on_bridge, ring_tone: ring_tone, recording_track: recording_track, **keyword_args)
|
52
|
+
def dial(number: nil, action: nil, method: nil, timeout: nil, hangup_on_star: nil, time_limit: nil, caller_id: nil, record: nil, trim: nil, recording_status_callback: nil, recording_status_callback_method: nil, recording_status_callback_event: nil, answer_on_bridge: nil, ring_tone: nil, recording_track: nil, sequential: nil, **keyword_args)
|
53
|
+
dial = Dial.new(number: number, action: action, method: method, timeout: timeout, hangup_on_star: hangup_on_star, time_limit: time_limit, caller_id: caller_id, record: record, trim: trim, recording_status_callback: recording_status_callback, recording_status_callback_method: recording_status_callback_method, recording_status_callback_event: recording_status_callback_event, answer_on_bridge: answer_on_bridge, ring_tone: ring_tone, recording_track: recording_track, sequential: sequential, **keyword_args)
|
53
54
|
|
54
55
|
yield(dial) if block_given?
|
55
56
|
append(dial)
|
data/lib/twilio-ruby/version.rb
CHANGED
@@ -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":
|
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":
|
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":
|
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":
|
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":
|
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":
|
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":
|
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":
|
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"
|
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.45.
|
4
|
+
version: 5.45.1
|
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: 2020-12-
|
11
|
+
date: 2020-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|