twilio-ruby 5.48.0 → 5.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +21 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/api.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010.rb +5 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +4 -4
- data/lib/twilio-ruby/rest/autopilot/v1.rb +5 -4
- data/lib/twilio-ruby/rest/bulkexports/v1.rb +10 -8
- data/lib/twilio-ruby/rest/chat/v1.rb +10 -8
- data/lib/twilio-ruby/rest/chat/v2.rb +10 -8
- data/lib/twilio-ruby/rest/client.rb +1 -1
- data/lib/twilio-ruby/rest/conversations/v1.rb +25 -20
- data/lib/twilio-ruby/rest/events/v1.rb +20 -16
- data/lib/twilio-ruby/rest/events/v1/event_type.rb +4 -4
- data/lib/twilio-ruby/rest/events/v1/schema.rb +4 -4
- data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +4 -4
- data/lib/twilio-ruby/rest/events/v1/sink.rb +4 -4
- data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +3 -3
- data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +3 -3
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +4 -4
- data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +3 -3
- data/lib/twilio-ruby/rest/fax/v1.rb +5 -4
- data/lib/twilio-ruby/rest/flex_api/v1.rb +15 -12
- data/lib/twilio-ruby/rest/insights.rb +1 -1
- data/lib/twilio-ruby/rest/insights/v1.rb +11 -9
- data/lib/twilio-ruby/rest/insights/v1/room.rb +55 -43
- data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +22 -22
- data/lib/twilio-ruby/rest/ip_messaging/v1.rb +10 -8
- data/lib/twilio-ruby/rest/ip_messaging/v2.rb +10 -8
- data/lib/twilio-ruby/rest/lookups/v1.rb +5 -4
- data/lib/twilio-ruby/rest/messaging/v1.rb +10 -8
- data/lib/twilio-ruby/rest/monitor/v1.rb +10 -8
- data/lib/twilio-ruby/rest/notify/v1.rb +10 -8
- data/lib/twilio-ruby/rest/preview/bulk_exports.rb +10 -8
- data/lib/twilio-ruby/rest/preview/deployed_devices.rb +5 -4
- data/lib/twilio-ruby/rest/preview/hosted_numbers.rb +10 -8
- data/lib/twilio-ruby/rest/preview/marketplace.rb +10 -8
- data/lib/twilio-ruby/rest/preview/sync.rb +5 -4
- data/lib/twilio-ruby/rest/preview/trusted_comms.rb +5 -4
- data/lib/twilio-ruby/rest/preview/understand.rb +5 -4
- data/lib/twilio-ruby/rest/preview/wireless.rb +15 -12
- data/lib/twilio-ruby/rest/proxy/v1.rb +5 -4
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -1
- data/lib/twilio-ruby/rest/serverless/v1.rb +5 -4
- data/lib/twilio-ruby/rest/studio/v1.rb +5 -4
- data/lib/twilio-ruby/rest/studio/v2.rb +5 -4
- data/lib/twilio-ruby/rest/supersim/v1.rb +25 -20
- data/lib/twilio-ruby/rest/sync/v1.rb +5 -4
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +9 -16
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +9 -15
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +22 -33
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +9 -15
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +22 -35
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +9 -15
- data/lib/twilio-ruby/rest/taskrouter/v1.rb +5 -4
- data/lib/twilio-ruby/rest/trunking/v1.rb +5 -4
- data/lib/twilio-ruby/rest/trusthub/v1.rb +35 -28
- data/lib/twilio-ruby/rest/verify/v2.rb +15 -12
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +4 -3
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +64 -13
- data/lib/twilio-ruby/rest/video/v1.rb +20 -16
- data/lib/twilio-ruby/rest/voice/v1.rb +20 -16
- data/lib/twilio-ruby/rest/wireless/v1.rb +15 -12
- data/lib/twilio-ruby/twiml/voice_response.rb +22 -0
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/api/v2010/account/message_spec.rb +37 -0
- data/spec/integration/messaging/v1/brand_registration_spec.rb +2 -2
- data/spec/integration/verify/v2/service/entity/factor_spec.rb +3 -3
- metadata +2 -2
@@ -24,11 +24,12 @@ module Twilio
|
|
24
24
|
# @return [Twilio::REST::Preview::Sync::ServiceList]
|
25
25
|
def services(sid=:unset)
|
26
26
|
if sid.nil?
|
27
|
-
|
28
|
-
|
29
|
-
|
27
|
+
raise ArgumentError, 'sid cannot be nil'
|
28
|
+
end
|
29
|
+
if sid == :unset
|
30
|
+
@services ||= ServiceList.new self
|
30
31
|
else
|
31
|
-
|
32
|
+
ServiceContext.new(self, sid)
|
32
33
|
end
|
33
34
|
end
|
34
35
|
|
@@ -27,11 +27,12 @@ module Twilio
|
|
27
27
|
# @return [Twilio::REST::Preview::TrustedComms::BrandedChannelList]
|
28
28
|
def branded_channels(sid=:unset)
|
29
29
|
if sid.nil?
|
30
|
-
|
31
|
-
|
32
|
-
|
30
|
+
raise ArgumentError, 'sid cannot be nil'
|
31
|
+
end
|
32
|
+
if sid == :unset
|
33
|
+
@branded_channels ||= BrandedChannelList.new self
|
33
34
|
else
|
34
|
-
|
35
|
+
BrandedChannelContext.new(self, sid)
|
35
36
|
end
|
36
37
|
end
|
37
38
|
|
@@ -25,11 +25,12 @@ module Twilio
|
|
25
25
|
# @return [Twilio::REST::Preview::Understand::AssistantList]
|
26
26
|
def assistants(sid=:unset)
|
27
27
|
if sid.nil?
|
28
|
-
|
29
|
-
|
30
|
-
|
28
|
+
raise ArgumentError, 'sid cannot be nil'
|
29
|
+
end
|
30
|
+
if sid == :unset
|
31
|
+
@assistants ||= AssistantList.new self
|
31
32
|
else
|
32
|
-
|
33
|
+
AssistantContext.new(self, sid)
|
33
34
|
end
|
34
35
|
end
|
35
36
|
|
@@ -26,11 +26,12 @@ module Twilio
|
|
26
26
|
# @return [Twilio::REST::Preview::Wireless::CommandList]
|
27
27
|
def commands(sid=:unset)
|
28
28
|
if sid.nil?
|
29
|
-
|
30
|
-
|
31
|
-
|
29
|
+
raise ArgumentError, 'sid cannot be nil'
|
30
|
+
end
|
31
|
+
if sid == :unset
|
32
|
+
@commands ||= CommandList.new self
|
32
33
|
else
|
33
|
-
|
34
|
+
CommandContext.new(self, sid)
|
34
35
|
end
|
35
36
|
end
|
36
37
|
|
@@ -40,11 +41,12 @@ module Twilio
|
|
40
41
|
# @return [Twilio::REST::Preview::Wireless::RatePlanList]
|
41
42
|
def rate_plans(sid=:unset)
|
42
43
|
if sid.nil?
|
43
|
-
|
44
|
-
|
45
|
-
|
44
|
+
raise ArgumentError, 'sid cannot be nil'
|
45
|
+
end
|
46
|
+
if sid == :unset
|
47
|
+
@rate_plans ||= RatePlanList.new self
|
46
48
|
else
|
47
|
-
|
49
|
+
RatePlanContext.new(self, sid)
|
48
50
|
end
|
49
51
|
end
|
50
52
|
|
@@ -54,11 +56,12 @@ module Twilio
|
|
54
56
|
# @return [Twilio::REST::Preview::Wireless::SimList]
|
55
57
|
def sims(sid=:unset)
|
56
58
|
if sid.nil?
|
57
|
-
|
58
|
-
|
59
|
-
|
59
|
+
raise ArgumentError, 'sid cannot be nil'
|
60
|
+
end
|
61
|
+
if sid == :unset
|
62
|
+
@sims ||= SimList.new self
|
60
63
|
else
|
61
|
-
|
64
|
+
SimContext.new(self, sid)
|
62
65
|
end
|
63
66
|
end
|
64
67
|
|
@@ -25,11 +25,12 @@ module Twilio
|
|
25
25
|
# @return [Twilio::REST::Proxy::V1::ServiceList]
|
26
26
|
def services(sid=:unset)
|
27
27
|
if sid.nil?
|
28
|
-
|
29
|
-
|
30
|
-
|
28
|
+
raise ArgumentError, 'sid cannot be nil'
|
29
|
+
end
|
30
|
+
if sid == :unset
|
31
|
+
@services ||= ServiceList.new self
|
31
32
|
else
|
32
|
-
|
33
|
+
ServiceContext.new(self, sid)
|
33
34
|
end
|
34
35
|
end
|
35
36
|
|
@@ -24,11 +24,12 @@ module Twilio
|
|
24
24
|
# @return [Twilio::REST::Serverless::V1::ServiceList]
|
25
25
|
def services(sid=:unset)
|
26
26
|
if sid.nil?
|
27
|
-
|
28
|
-
|
29
|
-
|
27
|
+
raise ArgumentError, 'sid cannot be nil'
|
28
|
+
end
|
29
|
+
if sid == :unset
|
30
|
+
@services ||= ServiceList.new self
|
30
31
|
else
|
31
|
-
|
32
|
+
ServiceContext.new(self, sid)
|
32
33
|
end
|
33
34
|
end
|
34
35
|
|
@@ -24,11 +24,12 @@ module Twilio
|
|
24
24
|
# @return [Twilio::REST::Studio::V1::FlowList]
|
25
25
|
def flows(sid=:unset)
|
26
26
|
if sid.nil?
|
27
|
-
|
28
|
-
|
29
|
-
|
27
|
+
raise ArgumentError, 'sid cannot be nil'
|
28
|
+
end
|
29
|
+
if sid == :unset
|
30
|
+
@flows ||= FlowList.new self
|
30
31
|
else
|
31
|
-
|
32
|
+
FlowContext.new(self, sid)
|
32
33
|
end
|
33
34
|
end
|
34
35
|
|
@@ -25,11 +25,12 @@ module Twilio
|
|
25
25
|
# @return [Twilio::REST::Studio::V2::FlowList]
|
26
26
|
def flows(sid=:unset)
|
27
27
|
if sid.nil?
|
28
|
-
|
29
|
-
|
30
|
-
|
28
|
+
raise ArgumentError, 'sid cannot be nil'
|
29
|
+
end
|
30
|
+
if sid == :unset
|
31
|
+
@flows ||= FlowList.new self
|
31
32
|
else
|
32
|
-
|
33
|
+
FlowContext.new(self, sid)
|
33
34
|
end
|
34
35
|
end
|
35
36
|
|
@@ -29,11 +29,12 @@ module Twilio
|
|
29
29
|
# @return [Twilio::REST::Supersim::V1::CommandList]
|
30
30
|
def commands(sid=:unset)
|
31
31
|
if sid.nil?
|
32
|
-
|
33
|
-
|
34
|
-
|
32
|
+
raise ArgumentError, 'sid cannot be nil'
|
33
|
+
end
|
34
|
+
if sid == :unset
|
35
|
+
@commands ||= CommandList.new self
|
35
36
|
else
|
36
|
-
|
37
|
+
CommandContext.new(self, sid)
|
37
38
|
end
|
38
39
|
end
|
39
40
|
|
@@ -43,11 +44,12 @@ module Twilio
|
|
43
44
|
# @return [Twilio::REST::Supersim::V1::FleetList]
|
44
45
|
def fleets(sid=:unset)
|
45
46
|
if sid.nil?
|
46
|
-
|
47
|
-
|
48
|
-
|
47
|
+
raise ArgumentError, 'sid cannot be nil'
|
48
|
+
end
|
49
|
+
if sid == :unset
|
50
|
+
@fleets ||= FleetList.new self
|
49
51
|
else
|
50
|
-
|
52
|
+
FleetContext.new(self, sid)
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|
@@ -57,11 +59,12 @@ module Twilio
|
|
57
59
|
# @return [Twilio::REST::Supersim::V1::NetworkList]
|
58
60
|
def networks(sid=:unset)
|
59
61
|
if sid.nil?
|
60
|
-
|
61
|
-
|
62
|
-
|
62
|
+
raise ArgumentError, 'sid cannot be nil'
|
63
|
+
end
|
64
|
+
if sid == :unset
|
65
|
+
@networks ||= NetworkList.new self
|
63
66
|
else
|
64
|
-
|
67
|
+
NetworkContext.new(self, sid)
|
65
68
|
end
|
66
69
|
end
|
67
70
|
|
@@ -71,11 +74,12 @@ module Twilio
|
|
71
74
|
# @return [Twilio::REST::Supersim::V1::NetworkAccessProfileList]
|
72
75
|
def network_access_profiles(sid=:unset)
|
73
76
|
if sid.nil?
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
+
raise ArgumentError, 'sid cannot be nil'
|
78
|
+
end
|
79
|
+
if sid == :unset
|
80
|
+
@network_access_profiles ||= NetworkAccessProfileList.new self
|
77
81
|
else
|
78
|
-
|
82
|
+
NetworkAccessProfileContext.new(self, sid)
|
79
83
|
end
|
80
84
|
end
|
81
85
|
|
@@ -85,11 +89,12 @@ module Twilio
|
|
85
89
|
# @return [Twilio::REST::Supersim::V1::SimList]
|
86
90
|
def sims(sid=:unset)
|
87
91
|
if sid.nil?
|
88
|
-
|
89
|
-
|
90
|
-
|
92
|
+
raise ArgumentError, 'sid cannot be nil'
|
93
|
+
end
|
94
|
+
if sid == :unset
|
95
|
+
@sims ||= SimList.new self
|
91
96
|
else
|
92
|
-
|
97
|
+
SimContext.new(self, sid)
|
93
98
|
end
|
94
99
|
end
|
95
100
|
|
@@ -24,11 +24,12 @@ module Twilio
|
|
24
24
|
# @return [Twilio::REST::Sync::V1::ServiceList]
|
25
25
|
def services(sid=:unset)
|
26
26
|
if sid.nil?
|
27
|
-
|
28
|
-
|
29
|
-
|
27
|
+
raise ArgumentError, 'sid cannot be nil'
|
28
|
+
end
|
29
|
+
if sid == :unset
|
30
|
+
@services ||= ServiceList.new self
|
30
31
|
else
|
31
|
-
|
32
|
+
ServiceContext.new(self, sid)
|
32
33
|
end
|
33
34
|
end
|
34
35
|
|
@@ -33,12 +33,9 @@ module Twilio
|
|
33
33
|
# identifies the Sync Document
|
34
34
|
# @param [Hash] data A JSON string that represents an arbitrary, schema-less
|
35
35
|
# object that the Sync Document stores. Can be up to 16 KiB in length.
|
36
|
-
# @param [String] ttl How long, in
|
37
|
-
#
|
38
|
-
#
|
39
|
-
# does not expire. The Sync Document will be deleted automatically after it
|
40
|
-
# expires, but there can be a delay between the expiration time and the
|
41
|
-
# resources's deletion.
|
36
|
+
# @param [String] ttl How long, {in
|
37
|
+
# seconds}[https://www.twilio.com/docs/sync/limits#sync-payload-limits], before
|
38
|
+
# the Sync Document expires and is deleted (the Sync Document's time-to-live).
|
42
39
|
# @return [DocumentInstance] Created DocumentInstance
|
43
40
|
def create(unique_name: :unset, data: :unset, ttl: :unset)
|
44
41
|
data = Twilio::Values.of({
|
@@ -209,11 +206,9 @@ module Twilio
|
|
209
206
|
# Update the DocumentInstance
|
210
207
|
# @param [Hash] data A JSON string that represents an arbitrary, schema-less
|
211
208
|
# object that the Sync Document stores. Can be up to 16 KiB in length.
|
212
|
-
# @param [String] ttl How long, in
|
213
|
-
#
|
214
|
-
#
|
215
|
-
# Document resource will be deleted automatically after it expires, but there can
|
216
|
-
# be a delay between the expiration time and the resources's deletion.
|
209
|
+
# @param [String] ttl How long, {in
|
210
|
+
# seconds}[https://www.twilio.com/docs/sync/limits#sync-payload-limits], before
|
211
|
+
# the Sync Document expires and is deleted (time-to-live).
|
217
212
|
# @param [String] if_match The If-Match HTTP request header
|
218
213
|
# @return [DocumentInstance] Updated DocumentInstance
|
219
214
|
def update(data: :unset, ttl: :unset, if_match: :unset)
|
@@ -398,11 +393,9 @@ module Twilio
|
|
398
393
|
# Update the DocumentInstance
|
399
394
|
# @param [Hash] data A JSON string that represents an arbitrary, schema-less
|
400
395
|
# object that the Sync Document stores. Can be up to 16 KiB in length.
|
401
|
-
# @param [String] ttl How long, in
|
402
|
-
#
|
403
|
-
#
|
404
|
-
# Document resource will be deleted automatically after it expires, but there can
|
405
|
-
# be a delay between the expiration time and the resources's deletion.
|
396
|
+
# @param [String] ttl How long, {in
|
397
|
+
# seconds}[https://www.twilio.com/docs/sync/limits#sync-payload-limits], before
|
398
|
+
# the Sync Document expires and is deleted (time-to-live).
|
406
399
|
# @param [String] if_match The If-Match HTTP request header
|
407
400
|
# @return [DocumentInstance] Updated DocumentInstance
|
408
401
|
def update(data: :unset, ttl: :unset, if_match: :unset)
|
@@ -35,11 +35,9 @@ module Twilio
|
|
35
35
|
# alternative to the `sid` in the URL path to address the resource.
|
36
36
|
# @param [String] ttl Alias for collection_ttl. If both are provided, this value
|
37
37
|
# is ignored.
|
38
|
-
# @param [String] collection_ttl How long, in
|
39
|
-
#
|
40
|
-
#
|
41
|
-
# The Sync List will be deleted automatically after it expires, but there can be a
|
42
|
-
# delay between the expiration time and the resources's deletion.
|
38
|
+
# @param [String] collection_ttl How long, {in
|
39
|
+
# seconds}[https://www.twilio.com/docs/sync/limits#sync-payload-limits], before
|
40
|
+
# the Sync List expires (time-to-live) and is deleted.
|
43
41
|
# @return [SyncListInstance] Created SyncListInstance
|
44
42
|
def create(unique_name: :unset, ttl: :unset, collection_ttl: :unset)
|
45
43
|
data = Twilio::Values.of({
|
@@ -211,11 +209,9 @@ module Twilio
|
|
211
209
|
# Update the SyncListInstance
|
212
210
|
# @param [String] ttl An alias for `collection_ttl`. If both are provided, this
|
213
211
|
# value is ignored.
|
214
|
-
# @param [String] collection_ttl How long, in
|
215
|
-
#
|
216
|
-
#
|
217
|
-
# Sync List will be deleted automatically after it expires, but there can be a
|
218
|
-
# delay between the expiration time and the resources's deletion.
|
212
|
+
# @param [String] collection_ttl How long, {in
|
213
|
+
# seconds}[https://www.twilio.com/docs/sync/limits#sync-payload-limits], before
|
214
|
+
# the Sync List expires (time-to-live) and is deleted.
|
219
215
|
# @return [SyncListInstance] Updated SyncListInstance
|
220
216
|
def update(ttl: :unset, collection_ttl: :unset)
|
221
217
|
data = Twilio::Values.of({'Ttl' => ttl, 'CollectionTtl' => collection_ttl, })
|
@@ -413,11 +409,9 @@ module Twilio
|
|
413
409
|
# Update the SyncListInstance
|
414
410
|
# @param [String] ttl An alias for `collection_ttl`. If both are provided, this
|
415
411
|
# value is ignored.
|
416
|
-
# @param [String] collection_ttl How long, in
|
417
|
-
#
|
418
|
-
#
|
419
|
-
# Sync List will be deleted automatically after it expires, but there can be a
|
420
|
-
# delay between the expiration time and the resources's deletion.
|
412
|
+
# @param [String] collection_ttl How long, {in
|
413
|
+
# seconds}[https://www.twilio.com/docs/sync/limits#sync-payload-limits], before
|
414
|
+
# the Sync List expires (time-to-live) and is deleted.
|
421
415
|
# @return [SyncListInstance] Updated SyncListInstance
|
422
416
|
def update(ttl: :unset, collection_ttl: :unset)
|
423
417
|
context.update(ttl: ttl, collection_ttl: collection_ttl, )
|
@@ -35,17 +35,12 @@ module Twilio
|
|
35
35
|
# object that the List Item stores. Can be up to 16 KiB in length.
|
36
36
|
# @param [String] ttl An alias for `item_ttl`. If both parameters are provided,
|
37
37
|
# this value is ignored.
|
38
|
-
# @param [String] item_ttl How long, in
|
39
|
-
#
|
40
|
-
#
|
41
|
-
#
|
42
|
-
#
|
43
|
-
#
|
44
|
-
# parent Sync List expires (time-to-live) and is deleted. Can be an integer from
|
45
|
-
# 0 to 31,536,000 (1 year). The default value is `0`, which means the parent Sync
|
46
|
-
# List does not expire. The Sync List will be deleted automatically after it
|
47
|
-
# expires, but there can be a delay between the expiration time and the
|
48
|
-
# resources's deletion.
|
38
|
+
# @param [String] item_ttl How long, {in
|
39
|
+
# seconds}[https://www.twilio.com/docs/sync/limits#sync-payload-limits], before
|
40
|
+
# the List Item expires (time-to-live) and is deleted.
|
41
|
+
# @param [String] collection_ttl How long, {in
|
42
|
+
# seconds}[https://www.twilio.com/docs/sync/limits#sync-payload-limits], before
|
43
|
+
# the List Item's parent Sync List expires (time-to-live) and is deleted.
|
49
44
|
# @return [SyncListItemInstance] Created SyncListItemInstance
|
50
45
|
def create(data: nil, ttl: :unset, item_ttl: :unset, collection_ttl: :unset)
|
51
46
|
data = Twilio::Values.of({
|
@@ -269,17 +264,14 @@ module Twilio
|
|
269
264
|
# object that the List Item stores. Can be up to 16 KiB in length.
|
270
265
|
# @param [String] ttl An alias for `item_ttl`. If both parameters are provided,
|
271
266
|
# this value is ignored.
|
272
|
-
# @param [String] item_ttl How long, in
|
273
|
-
#
|
274
|
-
#
|
275
|
-
#
|
276
|
-
#
|
277
|
-
#
|
278
|
-
#
|
279
|
-
#
|
280
|
-
# List does not expire. The Sync List will be deleted automatically after it
|
281
|
-
# expires, but there can be a delay between the expiration time and the
|
282
|
-
# resources's deletion.
|
267
|
+
# @param [String] item_ttl How long, {in
|
268
|
+
# seconds}[https://www.twilio.com/docs/sync/limits#sync-payload-limits], before
|
269
|
+
# the List Item expires (time-to-live) and is deleted.
|
270
|
+
# @param [String] collection_ttl How long, {in
|
271
|
+
# seconds}[https://www.twilio.com/docs/sync/limits#sync-payload-limits], before
|
272
|
+
# the List Item's parent Sync List expires (time-to-live) and is deleted. This
|
273
|
+
# parameter can only be used when the List Item's `data` or `ttl` is updated in
|
274
|
+
# the same request.
|
283
275
|
# @param [String] if_match If provided, applies this mutation if (and only if) the
|
284
276
|
# “revision” field of this {map item] matches the provided value. This matches the
|
285
277
|
# semantics of (and is implemented with) the HTTP [If-Match
|
@@ -464,17 +456,14 @@ module Twilio
|
|
464
456
|
# object that the List Item stores. Can be up to 16 KiB in length.
|
465
457
|
# @param [String] ttl An alias for `item_ttl`. If both parameters are provided,
|
466
458
|
# this value is ignored.
|
467
|
-
# @param [String] item_ttl How long, in
|
468
|
-
#
|
469
|
-
#
|
470
|
-
#
|
471
|
-
#
|
472
|
-
#
|
473
|
-
#
|
474
|
-
#
|
475
|
-
# List does not expire. The Sync List will be deleted automatically after it
|
476
|
-
# expires, but there can be a delay between the expiration time and the
|
477
|
-
# resources's deletion.
|
459
|
+
# @param [String] item_ttl How long, {in
|
460
|
+
# seconds}[https://www.twilio.com/docs/sync/limits#sync-payload-limits], before
|
461
|
+
# the List Item expires (time-to-live) and is deleted.
|
462
|
+
# @param [String] collection_ttl How long, {in
|
463
|
+
# seconds}[https://www.twilio.com/docs/sync/limits#sync-payload-limits], before
|
464
|
+
# the List Item's parent Sync List expires (time-to-live) and is deleted. This
|
465
|
+
# parameter can only be used when the List Item's `data` or `ttl` is updated in
|
466
|
+
# the same request.
|
478
467
|
# @param [String] if_match If provided, applies this mutation if (and only if) the
|
479
468
|
# “revision” field of this {map item] matches the provided value. This matches the
|
480
469
|
# semantics of (and is implemented with) the HTTP [If-Match
|