seam 2.165.0 → 2.166.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/Gemfile.lock +2 -2
- data/lib/seam/resources/access_grant.rb +6 -3
- data/lib/seam/resources/access_method.rb +24 -1
- data/lib/seam/resources/action_attempt.rb +7 -0
- data/lib/seam/resources/device.rb +1 -1
- data/lib/seam/resources/event.rb +1 -0
- data/lib/seam/resources/unmanaged_access_grant.rb +6 -3
- data/lib/seam/resources/unmanaged_access_method.rb +24 -1
- data/lib/seam/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a1766e6be523652f696d57db1da959002d72ffb446a531a0fc55a75e1a77d0d
|
|
4
|
+
data.tar.gz: 80591311035a9fde297bbd39e15f1c8d87685c9b3f2e117349d525476bc7c776
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a911571db84e8e849bd2e5e7d20234fffadebdba4e116759e6a44a741e1ac607bd4631f7071df457e2cce8f75259b82191c7bb8a1a60a7d7e5caa0fccc57c50
|
|
7
|
+
data.tar.gz: 1eb9b6a9e35557ea83a9547e8a1349df079dbe60d74de7ba29ac17fc9ce67f03216b6a22be8db575d52ac4eef44ceb60f02d9e22e5aada590b2e84dc5db29fe8
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
seam (2.
|
|
4
|
+
seam (2.166.0)
|
|
5
5
|
faraday (~> 2.7)
|
|
6
6
|
faraday-retry (~> 2.2)
|
|
7
7
|
svix (~> 1.30)
|
|
@@ -171,7 +171,7 @@ CHECKSUMS
|
|
|
171
171
|
rubocop-ast (1.50.0) sha256=b9ca88300da0803ee222ad20cdb30494c0a784eed06fdc35d254b06d662788db
|
|
172
172
|
rubocop-performance (1.26.1) sha256=cd19b936ff196df85829d264b522fd4f98b6c89ad271fa52744a8c11b8f71834
|
|
173
173
|
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
|
174
|
-
seam (2.
|
|
174
|
+
seam (2.166.0)
|
|
175
175
|
simplecov (1.1.1) sha256=25825ef13f0b2e74694d769817dad6ab8e90131dabdaa666e522fea105521e78
|
|
176
176
|
simplecov-console (0.9.5) sha256=b1108bcfff5f210143e2b8301698c367b01586f20d25a73e95475a5df6fc6ff6
|
|
177
177
|
standard (1.56.0) sha256=ae2af4d9669589162ac69ed5ef59dcf9f346d4afc81f7e62b84339310dfcb787
|
|
@@ -213,10 +213,13 @@ module Seam
|
|
|
213
213
|
date_accessor :created_at
|
|
214
214
|
end
|
|
215
215
|
|
|
216
|
-
# Indicates that the requested PIN code was already in use on a device,
|
|
216
|
+
# Indicates that the requested PIN code could not be used, so a different code was assigned. For example, the code was already in use on a device, or the access system rejected it because it did not meet its PIN rules.
|
|
217
217
|
class RequestedCodeUnavailable < Warnings
|
|
218
|
-
# ID of the
|
|
219
|
-
# @return [String]
|
|
218
|
+
# ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code.
|
|
219
|
+
# @return [String, nil]
|
|
220
|
+
attr_accessor :access_method_id
|
|
221
|
+
# ID of the device where the requested code was unavailable. Present when the code was set directly on a device.
|
|
222
|
+
# @return [String, nil]
|
|
220
223
|
attr_accessor :device_id
|
|
221
224
|
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
222
225
|
# @return [String]
|
|
@@ -189,6 +189,27 @@ module Seam
|
|
|
189
189
|
date_accessor :created_at
|
|
190
190
|
end
|
|
191
191
|
|
|
192
|
+
# Indicates that the access system could not use the PIN code requested for this [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant), for example because it did not meet the access system's PIN rules, so the access system assigned a different code. Give the recipient the assigned code.
|
|
193
|
+
class RequestedCodeUnavailable < Warnings
|
|
194
|
+
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
195
|
+
# @return [String]
|
|
196
|
+
attr_accessor :message
|
|
197
|
+
# The PIN code that was assigned instead.
|
|
198
|
+
# @return [String]
|
|
199
|
+
attr_accessor :new_code
|
|
200
|
+
# The originally requested PIN code that could not be used.
|
|
201
|
+
# @return [String]
|
|
202
|
+
attr_accessor :original_code
|
|
203
|
+
# Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
204
|
+
# @return [String]
|
|
205
|
+
# Known values:
|
|
206
|
+
# - `requested_code_unavailable`
|
|
207
|
+
attr_accessor :warning_code
|
|
208
|
+
# Date and time at which Seam created the warning.
|
|
209
|
+
# @return [Time]
|
|
210
|
+
date_accessor :created_at
|
|
211
|
+
end
|
|
212
|
+
|
|
192
213
|
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
193
214
|
# @return [String]
|
|
194
215
|
attr_accessor :message
|
|
@@ -201,6 +222,7 @@ module Seam
|
|
|
201
222
|
# - `delay_in_issuing`
|
|
202
223
|
# - `user_identity_missing_email_address`
|
|
203
224
|
# - `user_identity_missing_phone_number`
|
|
225
|
+
# - `requested_code_unavailable`
|
|
204
226
|
attr_accessor :warning_code
|
|
205
227
|
# Date and time at which Seam created the warning.
|
|
206
228
|
# @return [Time]
|
|
@@ -212,7 +234,8 @@ module Seam
|
|
|
212
234
|
"pulled_backup_access_code" => PulledBackupAccessCode,
|
|
213
235
|
"delay_in_issuing" => DelayInIssuing,
|
|
214
236
|
"user_identity_missing_email_address" => UserIdentityMissingEmailAddress,
|
|
215
|
-
"user_identity_missing_phone_number" => UserIdentityMissingPhoneNumber
|
|
237
|
+
"user_identity_missing_phone_number" => UserIdentityMissingPhoneNumber,
|
|
238
|
+
"requested_code_unavailable" => RequestedCodeUnavailable
|
|
216
239
|
}.freeze
|
|
217
240
|
end
|
|
218
241
|
|
|
@@ -1008,10 +1008,17 @@ module Seam
|
|
|
1008
1008
|
# - `delay_in_issuing`
|
|
1009
1009
|
# - `user_identity_missing_email_address`
|
|
1010
1010
|
# - `user_identity_missing_phone_number`
|
|
1011
|
+
# - `requested_code_unavailable`
|
|
1011
1012
|
attr_accessor :warning_code
|
|
1012
1013
|
# ID of the original access method from which this backup access method was split, if applicable.
|
|
1013
1014
|
# @return [String, nil]
|
|
1014
1015
|
attr_accessor :original_access_method_id
|
|
1016
|
+
# The PIN code that was assigned instead.
|
|
1017
|
+
# @return [String, nil]
|
|
1018
|
+
attr_accessor :new_code
|
|
1019
|
+
# The originally requested PIN code that could not be used.
|
|
1020
|
+
# @return [String, nil]
|
|
1021
|
+
attr_accessor :original_code
|
|
1015
1022
|
# Date and time at which Seam created the warning.
|
|
1016
1023
|
# @return [Time]
|
|
1017
1024
|
date_accessor :created_at
|
|
@@ -1135,7 +1135,7 @@ module Seam
|
|
|
1135
1135
|
# Device name for a Sensi device.
|
|
1136
1136
|
# @return [String, nil]
|
|
1137
1137
|
attr_accessor :device_name
|
|
1138
|
-
#
|
|
1138
|
+
# Deprecated. Seam no longer sets this field.
|
|
1139
1139
|
# @return [Boolean, nil]
|
|
1140
1140
|
attr_accessor :dual_setpoints_not_supported
|
|
1141
1141
|
# Product type for a Sensi device.
|
data/lib/seam/resources/event.rb
CHANGED
|
@@ -213,10 +213,13 @@ module Seam
|
|
|
213
213
|
date_accessor :created_at
|
|
214
214
|
end
|
|
215
215
|
|
|
216
|
-
# Indicates that the requested PIN code was already in use on a device,
|
|
216
|
+
# Indicates that the requested PIN code could not be used, so a different code was assigned. For example, the code was already in use on a device, or the access system rejected it because it did not meet its PIN rules.
|
|
217
217
|
class RequestedCodeUnavailable < Warnings
|
|
218
|
-
# ID of the
|
|
219
|
-
# @return [String]
|
|
218
|
+
# ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code.
|
|
219
|
+
# @return [String, nil]
|
|
220
|
+
attr_accessor :access_method_id
|
|
221
|
+
# ID of the device where the requested code was unavailable. Present when the code was set directly on a device.
|
|
222
|
+
# @return [String, nil]
|
|
220
223
|
attr_accessor :device_id
|
|
221
224
|
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
222
225
|
# @return [String]
|
|
@@ -189,6 +189,27 @@ module Seam
|
|
|
189
189
|
date_accessor :created_at
|
|
190
190
|
end
|
|
191
191
|
|
|
192
|
+
# Indicates that the access system could not use the PIN code requested for this [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant), for example because it did not meet the access system's PIN rules, so the access system assigned a different code. Give the recipient the assigned code.
|
|
193
|
+
class RequestedCodeUnavailable < Warnings
|
|
194
|
+
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
195
|
+
# @return [String]
|
|
196
|
+
attr_accessor :message
|
|
197
|
+
# The PIN code that was assigned instead.
|
|
198
|
+
# @return [String]
|
|
199
|
+
attr_accessor :new_code
|
|
200
|
+
# The originally requested PIN code that could not be used.
|
|
201
|
+
# @return [String]
|
|
202
|
+
attr_accessor :original_code
|
|
203
|
+
# Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
204
|
+
# @return [String]
|
|
205
|
+
# Known values:
|
|
206
|
+
# - `requested_code_unavailable`
|
|
207
|
+
attr_accessor :warning_code
|
|
208
|
+
# Date and time at which Seam created the warning.
|
|
209
|
+
# @return [Time]
|
|
210
|
+
date_accessor :created_at
|
|
211
|
+
end
|
|
212
|
+
|
|
192
213
|
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
193
214
|
# @return [String]
|
|
194
215
|
attr_accessor :message
|
|
@@ -201,6 +222,7 @@ module Seam
|
|
|
201
222
|
# - `delay_in_issuing`
|
|
202
223
|
# - `user_identity_missing_email_address`
|
|
203
224
|
# - `user_identity_missing_phone_number`
|
|
225
|
+
# - `requested_code_unavailable`
|
|
204
226
|
attr_accessor :warning_code
|
|
205
227
|
# Date and time at which Seam created the warning.
|
|
206
228
|
# @return [Time]
|
|
@@ -212,7 +234,8 @@ module Seam
|
|
|
212
234
|
"pulled_backup_access_code" => PulledBackupAccessCode,
|
|
213
235
|
"delay_in_issuing" => DelayInIssuing,
|
|
214
236
|
"user_identity_missing_email_address" => UserIdentityMissingEmailAddress,
|
|
215
|
-
"user_identity_missing_phone_number" => UserIdentityMissingPhoneNumber
|
|
237
|
+
"user_identity_missing_phone_number" => UserIdentityMissingPhoneNumber,
|
|
238
|
+
"requested_code_unavailable" => RequestedCodeUnavailable
|
|
216
239
|
}.freeze
|
|
217
240
|
end
|
|
218
241
|
|
data/lib/seam/version.rb
CHANGED