twilio-ruby 5.31.5 → 5.31.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -0
- data/CHANGES.md +31 -0
- data/Gemfile +0 -9
- data/Makefile +5 -14
- data/README.md +2 -2
- data/Rakefile +0 -54
- data/githooks/pre-commit +0 -0
- data/lib/twilio-ruby/rest/authy/v1/service.rb +12 -2
- data/lib/twilio-ruby/rest/authy/v1/service/entity/factor.rb +0 -7
- data/lib/twilio-ruby/rest/authy/v1/service/entity/factor/challenge.rb +0 -7
- data/lib/twilio-ruby/rest/client.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +1 -1
- data/lib/twilio-ruby/rest/preview.rb +0 -6
- data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +8 -2
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +113 -8
- data/lib/twilio-ruby/rest/preview/trusted_comms.rb +0 -7
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +23 -4
- data/lib/twilio-ruby/rest/supersim.rb +70 -0
- data/lib/twilio-ruby/rest/supersim/v1.rb +80 -0
- data/lib/twilio-ruby/rest/supersim/v1/command.rb +381 -0
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +390 -0
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +380 -0
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +274 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +4 -3
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/api/v2010/account/call/payment_spec.rb +3 -3
- data/spec/integration/api/v2010/account/message_spec.rb +1 -1
- data/spec/integration/authy/v1/service/entity/factor/challenge_spec.rb +0 -5
- data/spec/integration/authy/v1/service/entity/factor_spec.rb +0 -4
- data/spec/integration/authy/v1/service_spec.rb +4 -0
- data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +9 -3
- data/spec/integration/preview/bulk_exports/export/day_spec.rb +67 -8
- data/spec/integration/serverless/v1/service_spec.rb +3 -0
- data/spec/integration/supersim/v1/command_spec.rb +186 -0
- data/spec/integration/supersim/v1/fleet_spec.rb +208 -0
- data/spec/integration/supersim/v1/sim_spec.rb +231 -0
- data/spec/integration/supersim/v1/usage_record_spec.rb +203 -0
- data/spec/integration/verify/v2/service/verification_spec.rb +42 -30
- data/spec/integration/video/v1/room/room_participant/room_participant_subscribe_rule_spec.rb +1 -1
- data/spec/integration/voice/v1/dialing_permissions/settings_spec.rb +1 -1
- data/twilio-ruby.gemspec +5 -0
- metadata +86 -5
- data/lib/twilio-ruby/rest/preview/trusted_comms/device.rb +0 -146
- data/spec/integration/preview/trusted_comms/device_spec.rb +0 -45
@@ -0,0 +1,274 @@
|
|
1
|
+
##
|
2
|
+
# This code was generated by
|
3
|
+
# \ / _ _ _| _ _
|
4
|
+
# | (_)\/(_)(_|\/| |(/_ v1.0.0
|
5
|
+
# / /
|
6
|
+
#
|
7
|
+
# frozen_string_literal: true
|
8
|
+
|
9
|
+
module Twilio
|
10
|
+
module REST
|
11
|
+
class Supersim < Domain
|
12
|
+
class V1 < Version
|
13
|
+
##
|
14
|
+
# PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
|
15
|
+
class UsageRecordList < ListResource
|
16
|
+
##
|
17
|
+
# Initialize the UsageRecordList
|
18
|
+
# @param [Version] version Version that contains the resource
|
19
|
+
# @return [UsageRecordList] UsageRecordList
|
20
|
+
def initialize(version)
|
21
|
+
super(version)
|
22
|
+
|
23
|
+
# Path Solution
|
24
|
+
@solution = {}
|
25
|
+
@uri = "/UsageRecords"
|
26
|
+
end
|
27
|
+
|
28
|
+
##
|
29
|
+
# Lists UsageRecordInstance records from the API as a list.
|
30
|
+
# Unlike stream(), this operation is eager and will load `limit` records into
|
31
|
+
# memory before returning.
|
32
|
+
# @param [String] sim SID of a Sim resource. Only show UsageRecords representing
|
33
|
+
# usage incurred by this Super SIM.
|
34
|
+
# @param [usage_record.Granularity] granularity Time-based grouping that
|
35
|
+
# UsageRecords should be aggregated by. Can be: `hour`, `day`, or `all`. Default
|
36
|
+
# is `all`. `all` returns one UsageRecord that describes the usage for the entire
|
37
|
+
# period.
|
38
|
+
# @param [Time] start_time Only include usage that occurred at or after this time,
|
39
|
+
# specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Default
|
40
|
+
# is one month before the `end_time`.
|
41
|
+
# @param [Time] end_time Only include usage that occurred before this time,
|
42
|
+
# specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Default
|
43
|
+
# is the current time.
|
44
|
+
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
45
|
+
# guarantees to never return more than limit. Default is no limit
|
46
|
+
# @param [Integer] page_size Number of records to fetch per request, when
|
47
|
+
# not set will use the default value of 50 records. If no page_size is defined
|
48
|
+
# but a limit is defined, stream() will attempt to read the limit with the most
|
49
|
+
# efficient page size, i.e. min(limit, 1000)
|
50
|
+
# @return [Array] Array of up to limit results
|
51
|
+
def list(sim: :unset, granularity: :unset, start_time: :unset, end_time: :unset, limit: nil, page_size: nil)
|
52
|
+
self.stream(
|
53
|
+
sim: sim,
|
54
|
+
granularity: granularity,
|
55
|
+
start_time: start_time,
|
56
|
+
end_time: end_time,
|
57
|
+
limit: limit,
|
58
|
+
page_size: page_size
|
59
|
+
).entries
|
60
|
+
end
|
61
|
+
|
62
|
+
##
|
63
|
+
# Streams UsageRecordInstance records from the API as an Enumerable.
|
64
|
+
# This operation lazily loads records as efficiently as possible until the limit
|
65
|
+
# is reached.
|
66
|
+
# @param [String] sim SID of a Sim resource. Only show UsageRecords representing
|
67
|
+
# usage incurred by this Super SIM.
|
68
|
+
# @param [usage_record.Granularity] granularity Time-based grouping that
|
69
|
+
# UsageRecords should be aggregated by. Can be: `hour`, `day`, or `all`. Default
|
70
|
+
# is `all`. `all` returns one UsageRecord that describes the usage for the entire
|
71
|
+
# period.
|
72
|
+
# @param [Time] start_time Only include usage that occurred at or after this time,
|
73
|
+
# specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Default
|
74
|
+
# is one month before the `end_time`.
|
75
|
+
# @param [Time] end_time Only include usage that occurred before this time,
|
76
|
+
# specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Default
|
77
|
+
# is the current time.
|
78
|
+
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
79
|
+
# guarantees to never return more than limit. Default is no limit.
|
80
|
+
# @param [Integer] page_size Number of records to fetch per request, when
|
81
|
+
# not set will use the default value of 50 records. If no page_size is defined
|
82
|
+
# but a limit is defined, stream() will attempt to read the limit with the most
|
83
|
+
# efficient page size, i.e. min(limit, 1000)
|
84
|
+
# @return [Enumerable] Enumerable that will yield up to limit results
|
85
|
+
def stream(sim: :unset, granularity: :unset, start_time: :unset, end_time: :unset, limit: nil, page_size: nil)
|
86
|
+
limits = @version.read_limits(limit, page_size)
|
87
|
+
|
88
|
+
page = self.page(
|
89
|
+
sim: sim,
|
90
|
+
granularity: granularity,
|
91
|
+
start_time: start_time,
|
92
|
+
end_time: end_time,
|
93
|
+
page_size: limits[:page_size],
|
94
|
+
)
|
95
|
+
|
96
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
97
|
+
end
|
98
|
+
|
99
|
+
##
|
100
|
+
# When passed a block, yields UsageRecordInstance records from the API.
|
101
|
+
# This operation lazily loads records as efficiently as possible until the limit
|
102
|
+
# is reached.
|
103
|
+
def each
|
104
|
+
limits = @version.read_limits
|
105
|
+
|
106
|
+
page = self.page(page_size: limits[:page_size], )
|
107
|
+
|
108
|
+
@version.stream(page,
|
109
|
+
limit: limits[:limit],
|
110
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
111
|
+
end
|
112
|
+
|
113
|
+
##
|
114
|
+
# Retrieve a single page of UsageRecordInstance records from the API.
|
115
|
+
# Request is executed immediately.
|
116
|
+
# @param [String] sim SID of a Sim resource. Only show UsageRecords representing
|
117
|
+
# usage incurred by this Super SIM.
|
118
|
+
# @param [usage_record.Granularity] granularity Time-based grouping that
|
119
|
+
# UsageRecords should be aggregated by. Can be: `hour`, `day`, or `all`. Default
|
120
|
+
# is `all`. `all` returns one UsageRecord that describes the usage for the entire
|
121
|
+
# period.
|
122
|
+
# @param [Time] start_time Only include usage that occurred at or after this time,
|
123
|
+
# specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Default
|
124
|
+
# is one month before the `end_time`.
|
125
|
+
# @param [Time] end_time Only include usage that occurred before this time,
|
126
|
+
# specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Default
|
127
|
+
# is the current time.
|
128
|
+
# @param [String] page_token PageToken provided by the API
|
129
|
+
# @param [Integer] page_number Page Number, this value is simply for client state
|
130
|
+
# @param [Integer] page_size Number of records to return, defaults to 50
|
131
|
+
# @return [Page] Page of UsageRecordInstance
|
132
|
+
def page(sim: :unset, granularity: :unset, start_time: :unset, end_time: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
133
|
+
params = Twilio::Values.of({
|
134
|
+
'Sim' => sim,
|
135
|
+
'Granularity' => granularity,
|
136
|
+
'StartTime' => Twilio.serialize_iso8601_datetime(start_time),
|
137
|
+
'EndTime' => Twilio.serialize_iso8601_datetime(end_time),
|
138
|
+
'PageToken' => page_token,
|
139
|
+
'Page' => page_number,
|
140
|
+
'PageSize' => page_size,
|
141
|
+
})
|
142
|
+
response = @version.page(
|
143
|
+
'GET',
|
144
|
+
@uri,
|
145
|
+
params
|
146
|
+
)
|
147
|
+
UsageRecordPage.new(@version, response, @solution)
|
148
|
+
end
|
149
|
+
|
150
|
+
##
|
151
|
+
# Retrieve a single page of UsageRecordInstance records from the API.
|
152
|
+
# Request is executed immediately.
|
153
|
+
# @param [String] target_url API-generated URL for the requested results page
|
154
|
+
# @return [Page] Page of UsageRecordInstance
|
155
|
+
def get_page(target_url)
|
156
|
+
response = @version.domain.request(
|
157
|
+
'GET',
|
158
|
+
target_url
|
159
|
+
)
|
160
|
+
UsageRecordPage.new(@version, response, @solution)
|
161
|
+
end
|
162
|
+
|
163
|
+
##
|
164
|
+
# Provide a user friendly representation
|
165
|
+
def to_s
|
166
|
+
'#<Twilio.Supersim.V1.UsageRecordList>'
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
##
|
171
|
+
# PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
|
172
|
+
class UsageRecordPage < Page
|
173
|
+
##
|
174
|
+
# Initialize the UsageRecordPage
|
175
|
+
# @param [Version] version Version that contains the resource
|
176
|
+
# @param [Response] response Response from the API
|
177
|
+
# @param [Hash] solution Path solution for the resource
|
178
|
+
# @return [UsageRecordPage] UsageRecordPage
|
179
|
+
def initialize(version, response, solution)
|
180
|
+
super(version, response)
|
181
|
+
|
182
|
+
# Path Solution
|
183
|
+
@solution = solution
|
184
|
+
end
|
185
|
+
|
186
|
+
##
|
187
|
+
# Build an instance of UsageRecordInstance
|
188
|
+
# @param [Hash] payload Payload response from the API
|
189
|
+
# @return [UsageRecordInstance] UsageRecordInstance
|
190
|
+
def get_instance(payload)
|
191
|
+
UsageRecordInstance.new(@version, payload, )
|
192
|
+
end
|
193
|
+
|
194
|
+
##
|
195
|
+
# Provide a user friendly representation
|
196
|
+
def to_s
|
197
|
+
'<Twilio.Supersim.V1.UsageRecordPage>'
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
##
|
202
|
+
# PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
|
203
|
+
class UsageRecordInstance < InstanceResource
|
204
|
+
##
|
205
|
+
# Initialize the UsageRecordInstance
|
206
|
+
# @param [Version] version Version that contains the resource
|
207
|
+
# @param [Hash] payload payload that contains response from Twilio
|
208
|
+
# @return [UsageRecordInstance] UsageRecordInstance
|
209
|
+
def initialize(version, payload)
|
210
|
+
super(version)
|
211
|
+
|
212
|
+
# Marshaled Properties
|
213
|
+
@properties = {
|
214
|
+
'account_sid' => payload['account_sid'],
|
215
|
+
'sim_sid' => payload['sim_sid'],
|
216
|
+
'period' => payload['period'],
|
217
|
+
'data_upload' => payload['data_upload'].to_i,
|
218
|
+
'data_download' => payload['data_download'].to_i,
|
219
|
+
'data_total' => payload['data_total'].to_i,
|
220
|
+
}
|
221
|
+
end
|
222
|
+
|
223
|
+
##
|
224
|
+
# @return [String] The SID of the Account that incurred the usage.
|
225
|
+
def account_sid
|
226
|
+
@properties['account_sid']
|
227
|
+
end
|
228
|
+
|
229
|
+
##
|
230
|
+
# @return [String] SID of a Sim resource to which the UsageRecord belongs.
|
231
|
+
def sim_sid
|
232
|
+
@properties['sim_sid']
|
233
|
+
end
|
234
|
+
|
235
|
+
##
|
236
|
+
# @return [Hash] The time period for which the usage is reported.
|
237
|
+
def period
|
238
|
+
@properties['period']
|
239
|
+
end
|
240
|
+
|
241
|
+
##
|
242
|
+
# @return [String] Total data uploaded in bytes, aggregated by the query parameters.
|
243
|
+
def data_upload
|
244
|
+
@properties['data_upload']
|
245
|
+
end
|
246
|
+
|
247
|
+
##
|
248
|
+
# @return [String] Total data downloaded in bytes, aggregated by the query parameters.
|
249
|
+
def data_download
|
250
|
+
@properties['data_download']
|
251
|
+
end
|
252
|
+
|
253
|
+
##
|
254
|
+
# @return [String] Total of data_upload and data_download.
|
255
|
+
def data_total
|
256
|
+
@properties['data_total']
|
257
|
+
end
|
258
|
+
|
259
|
+
##
|
260
|
+
# Provide a user friendly representation
|
261
|
+
def to_s
|
262
|
+
"<Twilio.Supersim.V1.UsageRecordInstance>"
|
263
|
+
end
|
264
|
+
|
265
|
+
##
|
266
|
+
# Provide a detailed, user friendly representation
|
267
|
+
def inspect
|
268
|
+
"<Twilio.Supersim.V1.UsageRecordInstance>"
|
269
|
+
end
|
270
|
+
end
|
271
|
+
end
|
272
|
+
end
|
273
|
+
end
|
274
|
+
end
|
@@ -230,7 +230,8 @@ module Twilio
|
|
230
230
|
# @param [String] priority The priority to assign the new task and override the
|
231
231
|
# default. When supplied, the new Task will have this priority unless it matches a
|
232
232
|
# Workflow Target with a Priority set. When not supplied, the new Task will have
|
233
|
-
# the priority of the matching Workflow Target.
|
233
|
+
# the priority of the matching Workflow Target. Value can be 0 to 2^31^
|
234
|
+
# (2,147,483,647).
|
234
235
|
# @param [String] task_channel When MultiTasking is enabled, specify the
|
235
236
|
# TaskChannel by passing either its `unique_name` or `sid`. Default value is
|
236
237
|
# `default`.
|
@@ -342,7 +343,7 @@ module Twilio
|
|
342
343
|
# value queues the task for deletion and logs the reason.
|
343
344
|
# @param [String] priority The Task's new priority value. When supplied, the Task
|
344
345
|
# takes on the specified priority unless it matches a Workflow Target with a
|
345
|
-
# Priority set.
|
346
|
+
# Priority set. Value can be 0 to 2^31^ (2,147,483,647).
|
346
347
|
# @param [String] task_channel When MultiTasking is enabled, specify the
|
347
348
|
# TaskChannel with the task to update. Can be the TaskChannel's SID or its
|
348
349
|
# `unique_name`, such as `voice`, `sms`, or `default`.
|
@@ -607,7 +608,7 @@ module Twilio
|
|
607
608
|
# value queues the task for deletion and logs the reason.
|
608
609
|
# @param [String] priority The Task's new priority value. When supplied, the Task
|
609
610
|
# takes on the specified priority unless it matches a Workflow Target with a
|
610
|
-
# Priority set.
|
611
|
+
# Priority set. Value can be 0 to 2^31^ (2,147,483,647).
|
611
612
|
# @param [String] task_channel When MultiTasking is enabled, specify the
|
612
613
|
# TaskChannel with the task to update. Can be the TaskChannel's SID or its
|
613
614
|
# `unique_name`, such as `voice`, `sms`, or `default`.
|
data/lib/twilio-ruby/version.rb
CHANGED
@@ -69,7 +69,7 @@ describe 'Payment' do
|
|
69
69
|
|
70
70
|
it "receives collect_credit_card_number responses" do
|
71
71
|
@holodeck.mock(Twilio::Response.new(
|
72
|
-
|
72
|
+
200,
|
73
73
|
%q[
|
74
74
|
{
|
75
75
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
@@ -91,7 +91,7 @@ describe 'Payment' do
|
|
91
91
|
|
92
92
|
it "receives collect_credit_card_expiry_date responses" do
|
93
93
|
@holodeck.mock(Twilio::Response.new(
|
94
|
-
|
94
|
+
200,
|
95
95
|
%q[
|
96
96
|
{
|
97
97
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
@@ -113,7 +113,7 @@ describe 'Payment' do
|
|
113
113
|
|
114
114
|
it "receives complete_payment responses" do
|
115
115
|
@holodeck.mock(Twilio::Response.new(
|
116
|
-
|
116
|
+
200,
|
117
117
|
%q[
|
118
118
|
{
|
119
119
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
@@ -46,7 +46,6 @@ describe 'Challenge' do
|
|
46
46
|
"responded_reason": "none",
|
47
47
|
"details": "Hi! Mr. John Doe, would you like to sign up?",
|
48
48
|
"hidden_details": "Hidden details about the sign up",
|
49
|
-
"factor_strength": "low",
|
50
49
|
"factor_type": "sms",
|
51
50
|
"url": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f/Factors/YFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Challenges/YCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
52
51
|
}
|
@@ -130,7 +129,6 @@ describe 'Challenge' do
|
|
130
129
|
"responded_reason": "none",
|
131
130
|
"details": "details",
|
132
131
|
"hidden_details": "hidden_details",
|
133
|
-
"factor_strength": "low",
|
134
132
|
"factor_type": "sms",
|
135
133
|
"url": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f/Factors/YFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Challenges/YCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
136
134
|
}
|
@@ -164,7 +162,6 @@ describe 'Challenge' do
|
|
164
162
|
"responded_reason": "none",
|
165
163
|
"details": "details",
|
166
164
|
"hidden_details": "hidden_details",
|
167
|
-
"factor_strength": "low",
|
168
165
|
"factor_type": "sms",
|
169
166
|
"url": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f/Factors/YFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Challenges/YCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
170
167
|
}
|
@@ -216,7 +213,6 @@ describe 'Challenge' do
|
|
216
213
|
"responded_reason": "none",
|
217
214
|
"details": "Hi! Mr. John Doe, would you like to sign up?",
|
218
215
|
"hidden_details": "Hidden details about the sign up",
|
219
|
-
"factor_strength": "low",
|
220
216
|
"factor_type": "sms",
|
221
217
|
"url": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f/Factors/YFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Challenges/YCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
222
218
|
}
|
@@ -250,7 +246,6 @@ describe 'Challenge' do
|
|
250
246
|
"responded_reason": "none",
|
251
247
|
"details": "Hi! Mr. John Doe, would you like to sign up?",
|
252
248
|
"hidden_details": "Hidden details about the sign up",
|
253
|
-
"factor_strength": "low",
|
254
249
|
"factor_type": "sms",
|
255
250
|
"url": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f/Factors/YFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Challenges/YCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
256
251
|
}
|
@@ -41,7 +41,6 @@ describe 'Factor' do
|
|
41
41
|
"date_updated": "2015-07-30T20:00:00Z",
|
42
42
|
"friendly_name": "friendly_name",
|
43
43
|
"status": "unverified",
|
44
|
-
"factor_strength": "low",
|
45
44
|
"factor_type": "sms",
|
46
45
|
"url": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f/Factors/YFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
47
46
|
"links": {
|
@@ -119,7 +118,6 @@ describe 'Factor' do
|
|
119
118
|
"date_updated": "2015-07-30T20:00:00Z",
|
120
119
|
"friendly_name": "friendly_name",
|
121
120
|
"status": "unverified",
|
122
|
-
"factor_strength": "low",
|
123
121
|
"factor_type": "sms",
|
124
122
|
"url": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f/Factors/YFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
125
123
|
"links": {
|
@@ -195,7 +193,6 @@ describe 'Factor' do
|
|
195
193
|
"date_updated": "2015-07-30T20:00:00Z",
|
196
194
|
"friendly_name": "friendly_name",
|
197
195
|
"status": "unverified",
|
198
|
-
"factor_strength": "low",
|
199
196
|
"factor_type": "sms",
|
200
197
|
"url": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f/Factors/YFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
201
198
|
"links": {
|
@@ -254,7 +251,6 @@ describe 'Factor' do
|
|
254
251
|
"date_updated": "2015-07-30T20:00:00Z",
|
255
252
|
"friendly_name": "friendly_name",
|
256
253
|
"status": "verified",
|
257
|
-
"factor_strength": "low",
|
258
254
|
"factor_type": "sms",
|
259
255
|
"url": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f/Factors/YFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
260
256
|
"links": {
|
@@ -35,6 +35,7 @@ describe 'Service' do
|
|
35
35
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
36
36
|
"date_created": "2015-07-30T20:00:00Z",
|
37
37
|
"date_updated": "2015-07-30T20:00:00Z",
|
38
|
+
"configuration": {},
|
38
39
|
"url": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
39
40
|
"links": {
|
40
41
|
"entities": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities"
|
@@ -99,6 +100,7 @@ describe 'Service' do
|
|
99
100
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
100
101
|
"date_created": "2015-07-30T20:00:00Z",
|
101
102
|
"date_updated": "2015-07-30T20:00:00Z",
|
103
|
+
"configuration": {},
|
102
104
|
"url": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
103
105
|
"links": {
|
104
106
|
"entities": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities"
|
@@ -163,6 +165,7 @@ describe 'Service' do
|
|
163
165
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
164
166
|
"date_created": "2015-07-30T20:00:00Z",
|
165
167
|
"date_updated": "2015-07-30T20:00:00Z",
|
168
|
+
"configuration": {},
|
166
169
|
"url": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
167
170
|
"links": {
|
168
171
|
"entities": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities"
|
@@ -212,6 +215,7 @@ describe 'Service' do
|
|
212
215
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
213
216
|
"date_created": "2015-07-30T20:00:00Z",
|
214
217
|
"date_updated": "2015-07-30T20:00:00Z",
|
218
|
+
"configuration": {},
|
215
219
|
"url": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
216
220
|
"links": {
|
217
221
|
"entities": "https://authy.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities"
|
@@ -37,7 +37,9 @@ describe 'AlphaSender' do
|
|
37
37
|
"date_created": "2015-07-30T20:12:31Z",
|
38
38
|
"date_updated": "2015-07-30T20:12:33Z",
|
39
39
|
"alpha_sender": "Twilio",
|
40
|
-
"capabilities": [
|
40
|
+
"capabilities": [
|
41
|
+
"SMS"
|
42
|
+
],
|
41
43
|
"url": "https://messaging.twilio.com/v1/Services/MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AlphaSenders/AIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
42
44
|
}
|
43
45
|
]
|
@@ -87,7 +89,9 @@ describe 'AlphaSender' do
|
|
87
89
|
"date_created": "2015-07-30T20:12:31Z",
|
88
90
|
"date_updated": "2015-07-30T20:12:33Z",
|
89
91
|
"alpha_sender": "Twilio",
|
90
|
-
"capabilities": [
|
92
|
+
"capabilities": [
|
93
|
+
"SMS"
|
94
|
+
],
|
91
95
|
"url": "https://messaging.twilio.com/v1/Services/MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AlphaSenders/AIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
92
96
|
}
|
93
97
|
]
|
@@ -128,7 +132,9 @@ describe 'AlphaSender' do
|
|
128
132
|
"date_created": "2015-07-30T20:12:31Z",
|
129
133
|
"date_updated": "2015-07-30T20:12:33Z",
|
130
134
|
"alpha_sender": "Twilio",
|
131
|
-
"capabilities": [
|
135
|
+
"capabilities": [
|
136
|
+
"SMS"
|
137
|
+
],
|
132
138
|
"url": "https://messaging.twilio.com/v1/Services/MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AlphaSenders/AIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
133
139
|
}
|
134
140
|
]
|