seam 2.158.0 → 2.159.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_code.rb +5 -5
- data/lib/seam/resources/device.rb +22 -0
- data/lib/seam/resources/device_provider.rb +1 -0
- data/lib/seam/resources/event.rb +1 -1
- data/lib/seam/resources/unmanaged_access_code.rb +5 -5
- data/lib/seam/resources/unmanaged_device.rb +1 -0
- 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: a9738e059d61a1d27652beb8e6e7307ce7a1b3fb9b1aca822fe39b7c8c9e1339
|
|
4
|
+
data.tar.gz: bd0b5915f52913e661522bf7bb3d184c958b65d7073a63088363dc26dbb37c6a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2ac80c17ff2b1c0825e118c35d0d0921df478060db11c0629f707c3c22124d69628eb52aa9fddef390ca310568940db7009c3b10e334c7711b2b25679c1da194
|
|
7
|
+
data.tar.gz: a9c7462968b1148781ce3d48f5fec5f444f3f1b1469121a28321bbd67a6ec4f90a3a1aa6891aa699a6f9c05db81125e312a7105ffd52e1e0b5866ffab52f732b
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
seam (2.
|
|
4
|
+
seam (2.159.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.159.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
|
|
@@ -248,12 +248,12 @@ module Seam
|
|
|
248
248
|
date_accessor :created_at
|
|
249
249
|
end
|
|
250
250
|
|
|
251
|
-
# This access code is still active on the device even though its `ends_at` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to
|
|
252
|
-
class
|
|
251
|
+
# This access code is still active on the device even though its `ends_at` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to delete it, and this error clears automatically once the access code is no longer active.
|
|
252
|
+
class FailedToDelete < Errors
|
|
253
253
|
# Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
254
254
|
# @return [String]
|
|
255
255
|
# Known values:
|
|
256
|
-
# - `
|
|
256
|
+
# - `failed_to_delete`
|
|
257
257
|
attr_accessor :error_code
|
|
258
258
|
# Indicates that this is an access code error.
|
|
259
259
|
# @return [TrueClass]
|
|
@@ -546,7 +546,7 @@ module Seam
|
|
|
546
546
|
# - `code_constraints_violated`
|
|
547
547
|
# - `failed_to_issue`
|
|
548
548
|
# - `failed_to_update`
|
|
549
|
-
# - `
|
|
549
|
+
# - `failed_to_delete`
|
|
550
550
|
# - `account_disconnected`
|
|
551
551
|
# - `salto_ks_subscription_limit_exceeded`
|
|
552
552
|
# - `insufficient_permissions`
|
|
@@ -580,7 +580,7 @@ module Seam
|
|
|
580
580
|
"code_constraints_violated" => CodeConstraintsViolated,
|
|
581
581
|
"failed_to_issue" => FailedToIssue,
|
|
582
582
|
"failed_to_update" => FailedToUpdate,
|
|
583
|
-
"
|
|
583
|
+
"failed_to_delete" => FailedToDelete,
|
|
584
584
|
"account_disconnected" => AccountDisconnected,
|
|
585
585
|
"salto_ks_subscription_limit_exceeded" => SaltoKsSubscriptionLimitExceeded,
|
|
586
586
|
"insufficient_permissions" => InsufficientPermissions,
|
|
@@ -481,6 +481,24 @@ module Seam
|
|
|
481
481
|
attr_accessor :time_zone
|
|
482
482
|
end
|
|
483
483
|
|
|
484
|
+
class ArloMetadata < BaseResource
|
|
485
|
+
# Device ID reported by Arlo.
|
|
486
|
+
# @return [String, nil]
|
|
487
|
+
attr_accessor :device_id
|
|
488
|
+
# Device name reported by Arlo.
|
|
489
|
+
# @return [String, nil]
|
|
490
|
+
attr_accessor :device_name
|
|
491
|
+
# Firmware version reported by Arlo.
|
|
492
|
+
# @return [String, nil]
|
|
493
|
+
attr_accessor :firmware_version
|
|
494
|
+
# Hardware version reported by Arlo.
|
|
495
|
+
# @return [String, nil]
|
|
496
|
+
attr_accessor :hardware_version
|
|
497
|
+
# Model ID reported by Arlo.
|
|
498
|
+
# @return [String, nil]
|
|
499
|
+
attr_accessor :model_id
|
|
500
|
+
end
|
|
501
|
+
|
|
484
502
|
class AssaAbloyVostioMetadata < BaseResource
|
|
485
503
|
# Encoder name for an ASSA ABLOY Vostio system.
|
|
486
504
|
# @return [String, nil]
|
|
@@ -1799,6 +1817,9 @@ module Seam
|
|
|
1799
1817
|
# Metadata for an Aqara device.
|
|
1800
1818
|
# @return [AqaraMetadata, nil]
|
|
1801
1819
|
resource_accessor :aqara_metadata, AqaraMetadata
|
|
1820
|
+
# Metadata for an Arlo camera.
|
|
1821
|
+
# @return [ArloMetadata, nil]
|
|
1822
|
+
resource_accessor :arlo_metadata, ArloMetadata
|
|
1802
1823
|
# Metadata for an ASSA ABLOY Vostio system.
|
|
1803
1824
|
# @return [AssaAbloyVostioMetadata, nil]
|
|
1804
1825
|
resource_accessor :assa_abloy_vostio_metadata, AssaAbloyVostioMetadata
|
|
@@ -2764,6 +2785,7 @@ module Seam
|
|
|
2764
2785
|
# - `android_phone`
|
|
2765
2786
|
# - `ring_camera`
|
|
2766
2787
|
# - `tapo_camera`
|
|
2788
|
+
# - `arlo_camera`
|
|
2767
2789
|
attr_accessor :device_type
|
|
2768
2790
|
# Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices.
|
|
2769
2791
|
# @return [String]
|
data/lib/seam/resources/event.rb
CHANGED
|
@@ -5092,7 +5092,7 @@ module Seam
|
|
|
5092
5092
|
# - `access_code.delay_in_issuing`
|
|
5093
5093
|
# - `access_code.failed_to_issue`
|
|
5094
5094
|
# - `access_code.failed_to_update`
|
|
5095
|
-
# - `access_code.
|
|
5095
|
+
# - `access_code.failed_to_delete`
|
|
5096
5096
|
# - `access_code.deleted`
|
|
5097
5097
|
# - `access_code.delay_in_removing_from_device`
|
|
5098
5098
|
# - `access_code.failed_to_remove_from_device`
|
|
@@ -250,12 +250,12 @@ module Seam
|
|
|
250
250
|
date_accessor :created_at
|
|
251
251
|
end
|
|
252
252
|
|
|
253
|
-
# This access code is still active on the device even though its `ends_at` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to
|
|
254
|
-
class
|
|
253
|
+
# This access code is still active on the device even though its `ends_at` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to delete it, and this error clears automatically once the access code is no longer active.
|
|
254
|
+
class FailedToDelete < Errors
|
|
255
255
|
# Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
256
256
|
# @return [String]
|
|
257
257
|
# Known values:
|
|
258
|
-
# - `
|
|
258
|
+
# - `failed_to_delete`
|
|
259
259
|
attr_accessor :error_code
|
|
260
260
|
# Indicates that this is an access code error.
|
|
261
261
|
# @return [TrueClass]
|
|
@@ -548,7 +548,7 @@ module Seam
|
|
|
548
548
|
# - `code_constraints_violated`
|
|
549
549
|
# - `failed_to_issue`
|
|
550
550
|
# - `failed_to_update`
|
|
551
|
-
# - `
|
|
551
|
+
# - `failed_to_delete`
|
|
552
552
|
# - `account_disconnected`
|
|
553
553
|
# - `salto_ks_subscription_limit_exceeded`
|
|
554
554
|
# - `insufficient_permissions`
|
|
@@ -582,7 +582,7 @@ module Seam
|
|
|
582
582
|
"code_constraints_violated" => CodeConstraintsViolated,
|
|
583
583
|
"failed_to_issue" => FailedToIssue,
|
|
584
584
|
"failed_to_update" => FailedToUpdate,
|
|
585
|
-
"
|
|
585
|
+
"failed_to_delete" => FailedToDelete,
|
|
586
586
|
"account_disconnected" => AccountDisconnected,
|
|
587
587
|
"salto_ks_subscription_limit_exceeded" => SaltoKsSubscriptionLimitExceeded,
|
|
588
588
|
"insufficient_permissions" => InsufficientPermissions,
|
|
@@ -1060,6 +1060,7 @@ module Seam
|
|
|
1060
1060
|
# - `android_phone`
|
|
1061
1061
|
# - `ring_camera`
|
|
1062
1062
|
# - `tapo_camera`
|
|
1063
|
+
# - `arlo_camera`
|
|
1063
1064
|
attr_accessor :device_type
|
|
1064
1065
|
# Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices.
|
|
1065
1066
|
# @return [String]
|
data/lib/seam/version.rb
CHANGED