twilio-ruby 5.17.0 → 5.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGES.md +25 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +34 -22
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +32 -28
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +5 -3
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +11 -6
- data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +3 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +14 -10
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +45 -31
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +15 -9
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +14 -9
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +8 -6
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +41 -19
- data/lib/twilio-ruby/rest/authy.rb +9 -9
- data/lib/twilio-ruby/rest/authy/v1.rb +16 -16
- data/lib/twilio-ruby/rest/authy/v1/form.rb +12 -12
- data/lib/twilio-ruby/rest/authy/v1/service/entity/factor.rb +11 -7
- data/lib/twilio-ruby/rest/authy/v1/service/entity/factor/challenge.rb +4 -4
- data/lib/twilio-ruby/rest/preview.rb +8 -8
- data/lib/twilio-ruby/rest/preview/marketplace.rb +13 -13
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +3 -6
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +28 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +12 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +80 -9
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +12 -2
- data/lib/twilio-ruby/rest/verify/v1/service.rb +51 -3
- data/lib/twilio-ruby/rest/video.rb +9 -9
- data/lib/twilio-ruby/rest/video/v1.rb +16 -16
- data/lib/twilio-ruby/rest/wireless/v1.rb +4 -2
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +28 -6
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +27 -8
- data/lib/twilio-ruby/twiml/voice_response.rb +3 -2
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/api/v2010/account/sip/domain_spec.rb +15 -11
- data/spec/integration/authy/v1/form_spec.rb +1 -1
- data/spec/integration/authy/v1/service/entity/factor/challenge_spec.rb +5 -5
- data/spec/integration/authy/v1/service/entity/factor_spec.rb +7 -7
- data/spec/integration/messaging/v1/service_spec.rb +12 -4
- data/spec/integration/taskrouter/v1/workspace/task_channel_spec.rb +191 -10
- data/spec/integration/verify/v1/service_spec.rb +12 -0
- data/spec/integration/wireless/v1/command_spec.rb +26 -0
- data/spec/integration/wireless/v1/sim_spec.rb +26 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e418d7d21510dea6981e3c385aed3061d51f4ad1
|
4
|
+
data.tar.gz: 97936c90f34ad95d5d72783c4f08e990cd1569bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23243a677dab11740bb16fc2dc4f5a4d8369b2b9444be7338a0447b64e77ae6a5594068703f4d837b1224f3c1916fadfff2660f28b76c3d55eba82ccad62c663
|
7
|
+
data.tar.gz: e8bb8fa788bfaada41bd560037cc1e2be6552174a96aca5416c0f84883665454b45e079fa4b9084dca2030bbd3ab2642ea87cdc38a69f0b04ba287b96ee2b76c
|
data/CHANGES.md
CHANGED
@@ -1,6 +1,31 @@
|
|
1
1
|
twilio-ruby changelog
|
2
2
|
=====================
|
3
3
|
|
4
|
+
[2018-12-17] Version 5.18.0
|
5
|
+
----------------------------
|
6
|
+
**Authy**
|
7
|
+
- Reverted the change to `FactorType` and `FormType`, avoiding conflicts with Helper Libraries reserved words (`type`) **(breaking change)**
|
8
|
+
|
9
|
+
**Proxy**
|
10
|
+
- Remove incorrect parameter for Session List
|
11
|
+
|
12
|
+
**Studio**
|
13
|
+
- Support date created filtering on list of executions
|
14
|
+
|
15
|
+
**Taskrouter**
|
16
|
+
- Adding ability to Create, Modify and Delete Task Channels.
|
17
|
+
|
18
|
+
**Verify**
|
19
|
+
- Add `SkipSmsToLandlines`, `TtsName`, `DtmfInputRequired` optional parameters on Service resource creation or update.
|
20
|
+
|
21
|
+
**Wireless**
|
22
|
+
- Added delete action on Command resource.
|
23
|
+
- Added delete action on Sim resource.
|
24
|
+
|
25
|
+
**Twiml**
|
26
|
+
- Change `currency` from enum to string for `Pay` **(breaking change)**
|
27
|
+
|
28
|
+
|
4
29
|
[2018-11-30] Version 5.17.0
|
5
30
|
----------------------------
|
6
31
|
**Api**
|
data/README.md
CHANGED
@@ -27,13 +27,13 @@ in-line code documentation here in the library.
|
|
27
27
|
To install using [Bundler][bundler] grab the latest stable version:
|
28
28
|
|
29
29
|
```ruby
|
30
|
-
gem 'twilio-ruby', '~> 5.
|
30
|
+
gem 'twilio-ruby', '~> 5.18.0'
|
31
31
|
```
|
32
32
|
|
33
33
|
To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
|
34
34
|
|
35
35
|
```bash
|
36
|
-
gem install twilio-ruby -v 5.
|
36
|
+
gem install twilio-ruby -v 5.18.0
|
37
37
|
```
|
38
38
|
|
39
39
|
To build and install the development branch yourself from the latest source:
|
@@ -107,10 +107,9 @@ module Twilio
|
|
107
107
|
# firing a voice request with `AnsweredBy` of `unknown`. Defaults to 30 seconds.
|
108
108
|
# @param [String] recording_status_callback_event The recording status events that
|
109
109
|
# will trigger Twilio to send webhooks on to the URL specified in
|
110
|
-
# `RecordingStatusCallback`. The available values are `in-progress`, `completed
|
111
|
-
# and `
|
112
|
-
#
|
113
|
-
# longer applicable.
|
110
|
+
# `RecordingStatusCallback`. The available values are `in-progress`, `completed`
|
111
|
+
# and `absent`. Defaults to `completed`. To specify multiple values, separate them
|
112
|
+
# with a space.
|
114
113
|
# @param [String] trim `trim-silence` or `do-not-trim`. Set this parameter to
|
115
114
|
# define whether leading and trailing silence is trimmed from the recording.
|
116
115
|
# Defaults to `trim-silence`.
|
@@ -328,7 +327,8 @@ module Twilio
|
|
328
327
|
|
329
328
|
##
|
330
329
|
# Access the feedback_summaries
|
331
|
-
# @param [String] sid
|
330
|
+
# @param [String] sid A 34 character string that uniquely identifies this
|
331
|
+
# resource.
|
332
332
|
# @return [FeedbackSummaryList]
|
333
333
|
# @return [FeedbackSummaryContext] if sid was passed.
|
334
334
|
def feedback_summaries(sid=:unset)
|
@@ -16,7 +16,9 @@ module Twilio
|
|
16
16
|
##
|
17
17
|
# Initialize the FeedbackList
|
18
18
|
# @param [Version] version Version that contains the resource
|
19
|
-
# @param [String] account_sid The
|
19
|
+
# @param [String] account_sid The unique id of the
|
20
|
+
# [Account](https://www.twilio.com/docs/api/rest/account) responsible for this
|
21
|
+
# resource.
|
20
22
|
# @param [String] call_sid A 34-character string that uniquely identifies the Call
|
21
23
|
# resource.
|
22
24
|
# @return [FeedbackList] FeedbackList
|
@@ -72,7 +74,9 @@ module Twilio
|
|
72
74
|
##
|
73
75
|
# Initialize the FeedbackContext
|
74
76
|
# @param [Version] version Version that contains the resource
|
75
|
-
# @param [String] account_sid The
|
77
|
+
# @param [String] account_sid The unique id of the
|
78
|
+
# [Account](https://www.twilio.com/docs/api/rest/account) responsible for this
|
79
|
+
# resource.
|
76
80
|
# @param [String] call_sid The call sid that uniquely identifies the call
|
77
81
|
# @return [FeedbackContext] FeedbackContext
|
78
82
|
def initialize(version, account_sid, call_sid)
|
@@ -86,11 +90,13 @@ module Twilio
|
|
86
90
|
##
|
87
91
|
# Retrieve a single page of FeedbackInstance records from the API.
|
88
92
|
# Request is executed immediately.
|
89
|
-
# @param [String] quality_score
|
90
|
-
# represents very poor call quality and `5` represents a perfect
|
91
|
-
#
|
92
|
-
#
|
93
|
-
#
|
93
|
+
# @param [String] quality_score The call quality expressed as an integer from `1`
|
94
|
+
# to `5` where `1` represents very poor call quality and `5` represents a perfect
|
95
|
+
# call.
|
96
|
+
# @param [feedback.Issues] issue A list of one or more issues experienced during
|
97
|
+
# the call. Issues can be: `imperfect-audio`, `dropped-call`,
|
98
|
+
# `incorrect-caller-id`, `post-dial-delay`, `digits-not-captured`,
|
99
|
+
# `audio-latency`, or `one-way-audio`.
|
94
100
|
# @return [FeedbackInstance] Newly created FeedbackInstance
|
95
101
|
def create(quality_score: nil, issue: :unset)
|
96
102
|
data = Twilio::Values.of({
|
@@ -134,8 +140,9 @@ module Twilio
|
|
134
140
|
|
135
141
|
##
|
136
142
|
# Update the FeedbackInstance
|
137
|
-
# @param [String] quality_score
|
138
|
-
# represents very poor call quality and `5` represents a perfect
|
143
|
+
# @param [String] quality_score The call quality expressed as an integer from `1`
|
144
|
+
# to `5` where `1` represents very poor call quality and `5` represents a perfect
|
145
|
+
# call.
|
139
146
|
# @param [feedback.Issues] issue One or more issues experienced during the call.
|
140
147
|
# The issues can be: `imperfect-audio`, `dropped-call`, `incorrect-caller-id`,
|
141
148
|
# `post-dial-delay`, `digits-not-captured`, `audio-latency`, or `one-way-audio`.
|
@@ -173,7 +180,9 @@ module Twilio
|
|
173
180
|
# Initialize the FeedbackInstance
|
174
181
|
# @param [Version] version Version that contains the resource
|
175
182
|
# @param [Hash] payload payload that contains response from Twilio
|
176
|
-
# @param [String] account_sid The
|
183
|
+
# @param [String] account_sid The unique id of the
|
184
|
+
# [Account](https://www.twilio.com/docs/api/rest/account) responsible for this
|
185
|
+
# resource.
|
177
186
|
# @param [String] call_sid A 34-character string that uniquely identifies the Call
|
178
187
|
# resource.
|
179
188
|
# @return [FeedbackInstance] FeedbackInstance
|
@@ -207,25 +216,25 @@ module Twilio
|
|
207
216
|
end
|
208
217
|
|
209
218
|
##
|
210
|
-
# @return [String] The
|
219
|
+
# @return [String] The unique sid that identifies this account
|
211
220
|
def account_sid
|
212
221
|
@properties['account_sid']
|
213
222
|
end
|
214
223
|
|
215
224
|
##
|
216
|
-
# @return [Time] The
|
225
|
+
# @return [Time] The date this resource was created
|
217
226
|
def date_created
|
218
227
|
@properties['date_created']
|
219
228
|
end
|
220
229
|
|
221
230
|
##
|
222
|
-
# @return [Time] The
|
231
|
+
# @return [Time] The date this resource was last updated
|
223
232
|
def date_updated
|
224
233
|
@properties['date_updated']
|
225
234
|
end
|
226
235
|
|
227
236
|
##
|
228
|
-
# @return [feedback.Issues]
|
237
|
+
# @return [feedback.Issues] Issues experienced during the call
|
229
238
|
def issues
|
230
239
|
@properties['issues']
|
231
240
|
end
|
@@ -237,7 +246,7 @@ module Twilio
|
|
237
246
|
end
|
238
247
|
|
239
248
|
##
|
240
|
-
# @return [String]
|
249
|
+
# @return [String] A string that uniquely identifies this feedback resource
|
241
250
|
def sid
|
242
251
|
@properties['sid']
|
243
252
|
end
|
@@ -245,11 +254,13 @@ module Twilio
|
|
245
254
|
##
|
246
255
|
# Retrieve a single page of FeedbackInstance records from the API.
|
247
256
|
# Request is executed immediately.
|
248
|
-
# @param [String] quality_score
|
249
|
-
# represents very poor call quality and `5` represents a perfect
|
250
|
-
#
|
251
|
-
#
|
252
|
-
#
|
257
|
+
# @param [String] quality_score The call quality expressed as an integer from `1`
|
258
|
+
# to `5` where `1` represents very poor call quality and `5` represents a perfect
|
259
|
+
# call.
|
260
|
+
# @param [feedback.Issues] issue A list of one or more issues experienced during
|
261
|
+
# the call. Issues can be: `imperfect-audio`, `dropped-call`,
|
262
|
+
# `incorrect-caller-id`, `post-dial-delay`, `digits-not-captured`,
|
263
|
+
# `audio-latency`, or `one-way-audio`.
|
253
264
|
# @return [FeedbackInstance] Newly created FeedbackInstance
|
254
265
|
def create(quality_score: nil, issue: :unset)
|
255
266
|
context.create(quality_score: quality_score, issue: issue, )
|
@@ -264,8 +275,9 @@ module Twilio
|
|
264
275
|
|
265
276
|
##
|
266
277
|
# Update the FeedbackInstance
|
267
|
-
# @param [String] quality_score
|
268
|
-
# represents very poor call quality and `5` represents a perfect
|
278
|
+
# @param [String] quality_score The call quality expressed as an integer from `1`
|
279
|
+
# to `5` where `1` represents very poor call quality and `5` represents a perfect
|
280
|
+
# call.
|
269
281
|
# @param [feedback.Issues] issue One or more issues experienced during the call.
|
270
282
|
# The issues can be: `imperfect-audio`, `dropped-call`, `incorrect-caller-id`,
|
271
283
|
# `post-dial-delay`, `digits-not-captured`, `audio-latency`, or `one-way-audio`.
|
@@ -31,17 +31,17 @@ module Twilio
|
|
31
31
|
##
|
32
32
|
# Retrieve a single page of FeedbackSummaryInstance records from the API.
|
33
33
|
# Request is executed immediately.
|
34
|
-
# @param [Date] start_date Only include
|
35
|
-
#
|
36
|
-
# @param [Date] end_date Only include
|
37
|
-
#
|
38
|
-
# @param [Boolean] include_subaccounts
|
39
|
-
#
|
40
|
-
#
|
41
|
-
# @param [String] status_callback The URL that
|
42
|
-
#
|
43
|
-
# @param [String] status_callback_method The HTTP method
|
44
|
-
#
|
34
|
+
# @param [Date] start_date Only include feedback given on or after this date.
|
35
|
+
# Format is `YYYY-MM-DD` and specified in UTC.
|
36
|
+
# @param [Date] end_date Only include feedback given on or before this date.
|
37
|
+
# Format is `YYYY-MM-DD` and specified in UTC.
|
38
|
+
# @param [Boolean] include_subaccounts Whether to also include Feedback resources
|
39
|
+
# from all subaccounts. `true` includes feedback from all subaccounts and `false`,
|
40
|
+
# the default, includes feedback from only the specified account.
|
41
|
+
# @param [String] status_callback The URL that we will request when the feedback
|
42
|
+
# summary is complete.
|
43
|
+
# @param [String] status_callback_method The HTTP method (`GET` or `POST`) we use
|
44
|
+
# to make the request to the `StatusCallback` URL.
|
45
45
|
# @return [FeedbackSummaryInstance] Newly created FeedbackSummaryInstance
|
46
46
|
def create(start_date: nil, end_date: nil, include_subaccounts: :unset, status_callback: :unset, status_callback_method: :unset)
|
47
47
|
data = Twilio::Values.of({
|
@@ -101,8 +101,11 @@ module Twilio
|
|
101
101
|
##
|
102
102
|
# Initialize the FeedbackSummaryContext
|
103
103
|
# @param [Version] version Version that contains the resource
|
104
|
-
# @param [String] account_sid The
|
105
|
-
#
|
104
|
+
# @param [String] account_sid The unique id of the
|
105
|
+
# [Account](https://www.twilio.com/docs/api/rest/account) responsible for this
|
106
|
+
# resource.
|
107
|
+
# @param [String] sid A 34 character string that uniquely identifies this
|
108
|
+
# resource.
|
106
109
|
# @return [FeedbackSummaryContext] FeedbackSummaryContext
|
107
110
|
def initialize(version, account_sid, sid)
|
108
111
|
super(version)
|
@@ -155,7 +158,8 @@ module Twilio
|
|
155
158
|
# @param [String] account_sid The unique id of the
|
156
159
|
# [Account](https://www.twilio.com/docs/api/rest/account) responsible for creating
|
157
160
|
# this Call.
|
158
|
-
# @param [String] sid
|
161
|
+
# @param [String] sid A 34 character string that uniquely identifies this
|
162
|
+
# resource.
|
159
163
|
# @return [FeedbackSummaryInstance] FeedbackSummaryInstance
|
160
164
|
def initialize(version, payload, account_sid: nil, sid: nil)
|
161
165
|
super(version)
|
@@ -195,85 +199,85 @@ module Twilio
|
|
195
199
|
end
|
196
200
|
|
197
201
|
##
|
198
|
-
# @return [String] The
|
202
|
+
# @return [String] The unique sid that identifies this account
|
199
203
|
def account_sid
|
200
204
|
@properties['account_sid']
|
201
205
|
end
|
202
206
|
|
203
207
|
##
|
204
|
-
# @return [String] The
|
208
|
+
# @return [String] The total number of calls
|
205
209
|
def call_count
|
206
210
|
@properties['call_count']
|
207
211
|
end
|
208
212
|
|
209
213
|
##
|
210
|
-
# @return [String] The
|
214
|
+
# @return [String] The total number of calls with a feedback entry
|
211
215
|
def call_feedback_count
|
212
216
|
@properties['call_feedback_count']
|
213
217
|
end
|
214
218
|
|
215
219
|
##
|
216
|
-
# @return [Time] The
|
220
|
+
# @return [Time] The date this resource was created
|
217
221
|
def date_created
|
218
222
|
@properties['date_created']
|
219
223
|
end
|
220
224
|
|
221
225
|
##
|
222
|
-
# @return [Time] The
|
226
|
+
# @return [Time] The date this resource was last updated
|
223
227
|
def date_updated
|
224
228
|
@properties['date_updated']
|
225
229
|
end
|
226
230
|
|
227
231
|
##
|
228
|
-
# @return [Time] The
|
232
|
+
# @return [Time] The latest feedback entry date in the summary
|
229
233
|
def end_date
|
230
234
|
@properties['end_date']
|
231
235
|
end
|
232
236
|
|
233
237
|
##
|
234
|
-
# @return [Boolean]
|
238
|
+
# @return [Boolean] Whether the feedback summary includes subaccounts
|
235
239
|
def include_subaccounts
|
236
240
|
@properties['include_subaccounts']
|
237
241
|
end
|
238
242
|
|
239
243
|
##
|
240
|
-
# @return [String]
|
244
|
+
# @return [String] Issues experienced during the call
|
241
245
|
def issues
|
242
246
|
@properties['issues']
|
243
247
|
end
|
244
248
|
|
245
249
|
##
|
246
|
-
# @return [String] The
|
250
|
+
# @return [String] The average QualityScore of the feedback entries
|
247
251
|
def quality_score_average
|
248
252
|
@properties['quality_score_average']
|
249
253
|
end
|
250
254
|
|
251
255
|
##
|
252
|
-
# @return [String] The
|
256
|
+
# @return [String] The median QualityScore of the feedback entries
|
253
257
|
def quality_score_median
|
254
258
|
@properties['quality_score_median']
|
255
259
|
end
|
256
260
|
|
257
261
|
##
|
258
|
-
# @return [String] The
|
262
|
+
# @return [String] The standard deviation of the quality scores
|
259
263
|
def quality_score_standard_deviation
|
260
264
|
@properties['quality_score_standard_deviation']
|
261
265
|
end
|
262
266
|
|
263
267
|
##
|
264
|
-
# @return [String]
|
268
|
+
# @return [String] A string that uniquely identifies this feedback entry
|
265
269
|
def sid
|
266
270
|
@properties['sid']
|
267
271
|
end
|
268
272
|
|
269
273
|
##
|
270
|
-
# @return [Time] The
|
274
|
+
# @return [Time] The earliest feedback entry date in the summary
|
271
275
|
def start_date
|
272
276
|
@properties['start_date']
|
273
277
|
end
|
274
278
|
|
275
279
|
##
|
276
|
-
# @return [feedback_summary.Status] The status
|
280
|
+
# @return [feedback_summary.Status] The status of the feedback summary
|
277
281
|
def status
|
278
282
|
@properties['status']
|
279
283
|
end
|
@@ -35,7 +35,7 @@ module Twilio
|
|
35
35
|
# Request is executed immediately.
|
36
36
|
# @param [String] recording_status_callback_event The recording status changes
|
37
37
|
# that should generate a request to the URL specified in RecordingStatusCallback.
|
38
|
-
# Possible values: `in-progress`, `completed
|
38
|
+
# Possible values: `in-progress`, `completed` and `absent`. To specify multiple
|
39
39
|
# values separate them with a space. Defaults to `completed`.
|
40
40
|
# @param [String] recording_status_callback The URL which Twilio will make its GET
|
41
41
|
# or POST request to for the recording events specified in parameter
|
@@ -224,7 +224,9 @@ module Twilio
|
|
224
224
|
##
|
225
225
|
# Initialize the RecordingContext
|
226
226
|
# @param [Version] version Version that contains the resource
|
227
|
-
# @param [String] account_sid The
|
227
|
+
# @param [String] account_sid The unique ID of the
|
228
|
+
# [Account](https://www.twilio.com/docs/api/rest/account) responsible for this
|
229
|
+
# recording.
|
228
230
|
# @param [String] call_sid The call Sid that uniquely identifies this resource
|
229
231
|
# @param [String] sid The recording Sid that uniquely identifies this resource
|
230
232
|
# @return [RecordingContext] RecordingContext
|
@@ -453,7 +455,7 @@ module Twilio
|
|
453
455
|
end
|
454
456
|
|
455
457
|
##
|
456
|
-
# @return [String] More information about the recording
|
458
|
+
# @return [String] More information about why the recording is missing, if Status is `absent`.
|
457
459
|
def error_code
|
458
460
|
@properties['error_code']
|
459
461
|
end
|
@@ -402,7 +402,7 @@ module Twilio
|
|
402
402
|
end
|
403
403
|
|
404
404
|
##
|
405
|
-
# @return [String] More information about the recording
|
405
|
+
# @return [String] More information about why the recording is missing, if Status is `absent`.
|
406
406
|
def error_code
|
407
407
|
@properties['error_code']
|
408
408
|
end
|
@@ -112,7 +112,7 @@ module Twilio
|
|
112
112
|
# Request is executed immediately.
|
113
113
|
# @param [String] friendly_name A user-provided string that identifies this queue.
|
114
114
|
# @param [String] max_size The upper limit of calls allowed to be in the queue.
|
115
|
-
# The default is 100. The maximum is
|
115
|
+
# The default is 100. The maximum is 5000.
|
116
116
|
# @return [QueueInstance] Newly created QueueInstance
|
117
117
|
def create(friendly_name: nil, max_size: :unset)
|
118
118
|
data = Twilio::Values.of({'FriendlyName' => friendly_name, 'MaxSize' => max_size, })
|
@@ -36,7 +36,8 @@ module Twilio
|
|
36
36
|
# @param [Time] date_created_after Filter by date created
|
37
37
|
# @param [String] call_sid Only show recordings made during the call indicated by
|
38
38
|
# this call SID
|
39
|
-
# @param [String] conference_sid The
|
39
|
+
# @param [String] conference_sid The unique ID for the conference associated with
|
40
|
+
# the recording, if the recording is of a conference.
|
40
41
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
41
42
|
# guarantees to never return more than limit. Default is no limit
|
42
43
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -65,7 +66,8 @@ module Twilio
|
|
65
66
|
# @param [Time] date_created_after Filter by date created
|
66
67
|
# @param [String] call_sid Only show recordings made during the call indicated by
|
67
68
|
# this call SID
|
68
|
-
# @param [String] conference_sid The
|
69
|
+
# @param [String] conference_sid The unique ID for the conference associated with
|
70
|
+
# the recording, if the recording is of a conference.
|
69
71
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
70
72
|
# guarantees to never return more than limit. Default is no limit.
|
71
73
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -110,7 +112,8 @@ module Twilio
|
|
110
112
|
# @param [Time] date_created_after Filter by date created
|
111
113
|
# @param [String] call_sid Only show recordings made during the call indicated by
|
112
114
|
# this call SID
|
113
|
-
# @param [String] conference_sid The
|
115
|
+
# @param [String] conference_sid The unique ID for the conference associated with
|
116
|
+
# the recording, if the recording is of a conference.
|
114
117
|
# @param [String] page_token PageToken provided by the API
|
115
118
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
116
119
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
@@ -187,7 +190,9 @@ module Twilio
|
|
187
190
|
##
|
188
191
|
# Initialize the RecordingContext
|
189
192
|
# @param [Version] version Version that contains the resource
|
190
|
-
# @param [String] account_sid The
|
193
|
+
# @param [String] account_sid The unique ID of the
|
194
|
+
# [Account](https://www.twilio.com/docs/api/rest/account) responsible for this
|
195
|
+
# recording.
|
191
196
|
# @param [String] sid The unique recording SID that identifies this resource
|
192
197
|
# @return [RecordingContext] RecordingContext
|
193
198
|
def initialize(version, account_sid, sid)
|
@@ -412,7 +417,7 @@ module Twilio
|
|
412
417
|
end
|
413
418
|
|
414
419
|
##
|
415
|
-
# @return [String] More information about the recording
|
420
|
+
# @return [String] More information about why the recording is missing, if Status is `absent`.
|
416
421
|
def error_code
|
417
422
|
@properties['error_code']
|
418
423
|
end
|
@@ -430,7 +435,7 @@ module Twilio
|
|
430
435
|
end
|
431
436
|
|
432
437
|
##
|
433
|
-
# @return [String]
|
438
|
+
# @return [String] A dictionary of URIs for related resources
|
434
439
|
def subresource_uris
|
435
440
|
@properties['subresource_uris']
|
436
441
|
end
|