diff --git a/lib/seam/resources/access_code.rb b/lib/seam/resources/access_code.rb index 3caffc36..e5b8f6cd 100644 --- a/lib/seam/resources/access_code.rb +++ b/lib/seam/resources/access_code.rb @@ -248,12 +248,12 @@ class FailedToUpdate < Errors date_accessor :created_at end - # 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 remove it, and this error clears automatically once the access code is no longer active. - class FailedToRemove < Errors + # 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. + class FailedToDelete < Errors # Unique identifier of the type of error. Enables quick recognition and categorization of the issue. # @return [String] # Known values: - # - `failed_to_remove` + # - `failed_to_delete` attr_accessor :error_code # Indicates that this is an access code error. # @return [TrueClass] @@ -546,7 +546,7 @@ class BridgeDisconnected < Errors # - `code_constraints_violated` # - `failed_to_issue` # - `failed_to_update` - # - `failed_to_remove` + # - `failed_to_delete` # - `account_disconnected` # - `salto_ks_subscription_limit_exceeded` # - `insufficient_permissions` @@ -580,7 +580,7 @@ class BridgeDisconnected < Errors "code_constraints_violated" => CodeConstraintsViolated, "failed_to_issue" => FailedToIssue, "failed_to_update" => FailedToUpdate, - "failed_to_remove" => FailedToRemove, + "failed_to_delete" => FailedToDelete, "account_disconnected" => AccountDisconnected, "salto_ks_subscription_limit_exceeded" => SaltoKsSubscriptionLimitExceeded, "insufficient_permissions" => InsufficientPermissions, diff --git a/lib/seam/resources/device.rb b/lib/seam/resources/device.rb index b7596bf1..23f92a08 100644 --- a/lib/seam/resources/device.rb +++ b/lib/seam/resources/device.rb @@ -481,6 +481,24 @@ class AqaraMetadata < BaseResource attr_accessor :time_zone end + class ArloMetadata < BaseResource + # Device ID reported by Arlo. + # @return [String, nil] + attr_accessor :device_id + # Device name reported by Arlo. + # @return [String, nil] + attr_accessor :device_name + # Firmware version reported by Arlo. + # @return [String, nil] + attr_accessor :firmware_version + # Hardware version reported by Arlo. + # @return [String, nil] + attr_accessor :hardware_version + # Model ID reported by Arlo. + # @return [String, nil] + attr_accessor :model_id + end + class AssaAbloyVostioMetadata < BaseResource # Encoder name for an ASSA ABLOY Vostio system. # @return [String, nil] @@ -1799,6 +1817,9 @@ class ThermostatWeeklyProgram < BaseResource # Metadata for an Aqara device. # @return [AqaraMetadata, nil] resource_accessor :aqara_metadata, AqaraMetadata + # Metadata for an Arlo camera. + # @return [ArloMetadata, nil] + resource_accessor :arlo_metadata, ArloMetadata # Metadata for an ASSA ABLOY Vostio system. # @return [AssaAbloyVostioMetadata, nil] resource_accessor :assa_abloy_vostio_metadata, AssaAbloyVostioMetadata @@ -2764,6 +2785,7 @@ class MaxAccessCodesReached < Warnings # - `android_phone` # - `ring_camera` # - `tapo_camera` + # - `arlo_camera` attr_accessor :device_type # 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. # @return [String] diff --git a/lib/seam/resources/device_provider.rb b/lib/seam/resources/device_provider.rb index b4c098a0..1c5fd486 100644 --- a/lib/seam/resources/device_provider.rb +++ b/lib/seam/resources/device_provider.rb @@ -124,6 +124,7 @@ class DeviceProvider < BaseResource # - `thirty_three_lock` # - `ring` # - `tapo` + # - `arlo` # - `ical` # - `lodgify` # - `hostaway` diff --git a/lib/seam/resources/event.rb b/lib/seam/resources/event.rb index 398fded2..e04ab9d7 100644 --- a/lib/seam/resources/event.rb +++ b/lib/seam/resources/event.rb @@ -5092,7 +5092,7 @@ class SpaceDeleted < SeamEvent # - `access_code.delay_in_issuing` # - `access_code.failed_to_issue` # - `access_code.failed_to_update` - # - `access_code.failed_to_remove` + # - `access_code.failed_to_delete` # - `access_code.deleted` # - `access_code.delay_in_removing_from_device` # - `access_code.failed_to_remove_from_device` diff --git a/lib/seam/resources/unmanaged_access_code.rb b/lib/seam/resources/unmanaged_access_code.rb index 438f4adf..029a7a8c 100644 --- a/lib/seam/resources/unmanaged_access_code.rb +++ b/lib/seam/resources/unmanaged_access_code.rb @@ -250,12 +250,12 @@ class FailedToUpdate < Errors date_accessor :created_at end - # 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 remove it, and this error clears automatically once the access code is no longer active. - class FailedToRemove < Errors + # 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. + class FailedToDelete < Errors # Unique identifier of the type of error. Enables quick recognition and categorization of the issue. # @return [String] # Known values: - # - `failed_to_remove` + # - `failed_to_delete` attr_accessor :error_code # Indicates that this is an access code error. # @return [TrueClass] @@ -548,7 +548,7 @@ class BridgeDisconnected < Errors # - `code_constraints_violated` # - `failed_to_issue` # - `failed_to_update` - # - `failed_to_remove` + # - `failed_to_delete` # - `account_disconnected` # - `salto_ks_subscription_limit_exceeded` # - `insufficient_permissions` @@ -582,7 +582,7 @@ class BridgeDisconnected < Errors "code_constraints_violated" => CodeConstraintsViolated, "failed_to_issue" => FailedToIssue, "failed_to_update" => FailedToUpdate, - "failed_to_remove" => FailedToRemove, + "failed_to_delete" => FailedToDelete, "account_disconnected" => AccountDisconnected, "salto_ks_subscription_limit_exceeded" => SaltoKsSubscriptionLimitExceeded, "insufficient_permissions" => InsufficientPermissions, diff --git a/lib/seam/resources/unmanaged_device.rb b/lib/seam/resources/unmanaged_device.rb index 292fbbbc..53d3c237 100644 --- a/lib/seam/resources/unmanaged_device.rb +++ b/lib/seam/resources/unmanaged_device.rb @@ -1060,6 +1060,7 @@ class MaxAccessCodesReached < Warnings # - `android_phone` # - `ring_camera` # - `tapo_camera` + # - `arlo_camera` attr_accessor :device_type # 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. # @return [String] diff --git a/package-lock.json b/package-lock.json index 3113584d..f6ca24e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "@seamapi/blueprint": "^1.12.0", "@seamapi/fake-seam-connect": "2.0.6", "@seamapi/smith": "^1.1.0", - "@seamapi/types": "1.1079.0", + "@seamapi/types": "1.1081.0", "change-case": "^5.4.4", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" @@ -864,9 +864,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.1079.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1079.0.tgz", - "integrity": "sha512-wa/byoJgYbFaHezpkeMxOEKp7h55owe/mmV9foLrM/hev6KnmdOezgh7HszEmH+chavfhDe9onYPoIyhQsOybA==", + "version": "1.1081.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1081.0.tgz", + "integrity": "sha512-bFh94NyhpR1nukmihSxLR68TAgYGvbk+JeBnOWHtmNkP9FABSeuplw6cXBjB7S+xiVoazUCnclgrJ9lVnijCvw==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 0e1a16ba..191cdf3f 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@seamapi/blueprint": "^1.12.0", "@seamapi/fake-seam-connect": "2.0.6", "@seamapi/smith": "^1.1.0", - "@seamapi/types": "1.1079.0", + "@seamapi/types": "1.1081.0", "change-case": "^5.4.4", "markdown-toc": "^1.2.0", "prettier": "^3.2.5"