diff --git a/lib/seam/routes/clients/devices_unmanaged.rb b/lib/seam/routes/clients/devices_unmanaged.rb index 194ba5d..1b98116 100644 --- a/lib/seam/routes/clients/devices_unmanaged.rb +++ b/lib/seam/routes/clients/devices_unmanaged.rb @@ -20,8 +20,8 @@ def list(access_method_id: nil, connect_webview_id: nil, connected_account_id: n Seam::Resources::UnmanagedDevice.load_from_response(res.body["devices"]) end - def update(device_id:, is_managed:) - @client.post("/devices/unmanaged/update", {device_id: device_id, is_managed: is_managed}.compact) + def update(device_id:, custom_metadata: nil, is_managed: nil) + @client.post("/devices/unmanaged/update", {device_id: device_id, custom_metadata: custom_metadata, is_managed: is_managed}.compact) nil end diff --git a/lib/seam/routes/resources/acs_entrance.rb b/lib/seam/routes/resources/acs_entrance.rb index 2e0be04..c3cb233 100644 --- a/lib/seam/routes/resources/acs_entrance.rb +++ b/lib/seam/routes/resources/acs_entrance.rb @@ -3,7 +3,7 @@ module Seam module Resources class AcsEntrance < BaseResource - attr_accessor :acs_entrance_id, :acs_system_id, :assa_abloy_vostio_metadata, :can_unlock_with_card, :can_unlock_with_code, :can_unlock_with_mobile_key, :connected_account_id, :display_name, :dormakaba_ambiance_metadata, :dormakaba_community_metadata, :latch_metadata, :salto_ks_metadata, :salto_space_metadata, :visionline_metadata + attr_accessor :acs_entrance_id, :acs_system_id, :assa_abloy_vostio_metadata, :can_unlock_with_card, :can_unlock_with_code, :can_unlock_with_mobile_key, :connected_account_id, :display_name, :dormakaba_ambiance_metadata, :dormakaba_community_metadata, :hotek_metadata, :latch_metadata, :salto_ks_metadata, :salto_space_metadata, :visionline_metadata date_accessor :created_at diff --git a/lib/seam/routes/resources/unmanaged_device.rb b/lib/seam/routes/resources/unmanaged_device.rb index d89107a..a6a78af 100644 --- a/lib/seam/routes/resources/unmanaged_device.rb +++ b/lib/seam/routes/resources/unmanaged_device.rb @@ -3,7 +3,7 @@ module Seam module Resources class UnmanagedDevice < BaseResource - attr_accessor :can_hvac_cool, :can_hvac_heat, :can_hvac_heat_cool, :can_program_offline_access_codes, :can_program_online_access_codes, :can_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :can_simulate_hub_connection, :can_simulate_hub_disconnection, :can_simulate_paid_subscription, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :capabilities_supported, :connected_account_id, :device_id, :device_type, :is_managed, :location, :properties, :workspace_id + attr_accessor :can_hvac_cool, :can_hvac_heat, :can_hvac_heat_cool, :can_program_offline_access_codes, :can_program_online_access_codes, :can_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :can_simulate_hub_connection, :can_simulate_hub_disconnection, :can_simulate_paid_subscription, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :capabilities_supported, :connected_account_id, :custom_metadata, :device_id, :device_type, :is_managed, :location, :properties, :workspace_id date_accessor :created_at diff --git a/package-lock.json b/package-lock.json index 14c69b0..049adb5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.83.2", "@seamapi/nextlove-sdk-generator": "^1.19.0", - "@seamapi/types": "1.530.0", + "@seamapi/types": "1.533.0", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" @@ -476,9 +476,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.530.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.530.0.tgz", - "integrity": "sha512-1oFj4M/DPZ7thiVSKHZh91WhX/CO5CZKI6DSww1T7+BB9pASc/xmlUq+4evqHaEvbBvZg4ScybUDYIrTrK8SYQ==", + "version": "1.533.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.533.0.tgz", + "integrity": "sha512-6dVGpN0Hw9Eq09nk4m7P3geWBcs8eH2Foq7Hb6zTTURZn+Tp2+6mcImxmcjqOF7HQJpU7l2wV6ws8pBg4Kta2Q==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index ddb82c8..d3376fd 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.83.2", "@seamapi/nextlove-sdk-generator": "^1.19.0", - "@seamapi/types": "1.530.0", + "@seamapi/types": "1.533.0", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5"