From b662b26cb33f0929119a1c5d170926e8362d1f31 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Apr 2026 06:16:53 +0000 Subject: [PATCH 1/2] feat(deps-dev): bump @seamapi/types in the seam group Bumps the seam group with 1 update: [@seamapi/types](https://github.com/seamapi/types). Updates `@seamapi/types` from 1.811.0 to 1.818.0 - [Release notes](https://github.com/seamapi/types/releases) - [Commits](https://github.com/seamapi/types/compare/v1.811.0...v1.818.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.818.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 657d275..752c3ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.86.0", "@seamapi/nextlove-sdk-generator": "^1.19.10", - "@seamapi/types": "1.811.0", + "@seamapi/types": "1.818.0", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" @@ -536,9 +536,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.811.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.811.0.tgz", - "integrity": "sha512-pKnGG3+OBDp1JXU8zvwbrYvXLvdJNCFAuey78igPRCrNgsd1v9w7XvA4Fefb4Yx4FHjPmArNQaAHy/TbgEtx0A==", + "version": "1.818.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.818.0.tgz", + "integrity": "sha512-IML1OBYMJnlK3xLGR/YgLC5HoGDzXbS9Fgj2VZbO7S0GlG6AUoKqAqiIAfDx6SaflzqaaYSDRooadIoJfQM52A==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 7413f71..d8f36ff 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.86.0", "@seamapi/nextlove-sdk-generator": "^1.19.10", - "@seamapi/types": "1.811.0", + "@seamapi/types": "1.818.0", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" From b5365ccd32d323d9c5ccdd0f4d1b746ca1402075 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Wed, 29 Apr 2026 06:17:34 +0000 Subject: [PATCH 2/2] ci: Generate code --- lib/seam/routes/clients/connected_accounts.rb | 4 ++-- lib/seam/routes/clients/spaces.rb | 12 ++++++++++++ lib/seam/routes/resources/event.rb | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/lib/seam/routes/clients/connected_accounts.rb b/lib/seam/routes/clients/connected_accounts.rb index c64f622..75d6a28 100644 --- a/lib/seam/routes/clients/connected_accounts.rb +++ b/lib/seam/routes/clients/connected_accounts.rb @@ -24,8 +24,8 @@ def get(connected_account_id: nil, email: nil) Seam::Resources::ConnectedAccount.load_from_response(res.body["connected_account"]) end - def list(custom_metadata_has: nil, customer_key: nil, limit: nil, page_cursor: nil, search: nil, user_identifier_key: nil) - res = @client.post("/connected_accounts/list", {custom_metadata_has: custom_metadata_has, customer_key: customer_key, limit: limit, page_cursor: page_cursor, search: search, user_identifier_key: user_identifier_key}.compact) + def list(custom_metadata_has: nil, customer_key: nil, limit: nil, page_cursor: nil, search: nil, space_id: nil, user_identifier_key: nil) + res = @client.post("/connected_accounts/list", {custom_metadata_has: custom_metadata_has, customer_key: customer_key, limit: limit, page_cursor: page_cursor, search: search, space_id: space_id, user_identifier_key: user_identifier_key}.compact) Seam::Resources::ConnectedAccount.load_from_response(res.body["connected_accounts"]) end diff --git a/lib/seam/routes/clients/spaces.rb b/lib/seam/routes/clients/spaces.rb index 5f0a029..248f7eb 100644 --- a/lib/seam/routes/clients/spaces.rb +++ b/lib/seam/routes/clients/spaces.rb @@ -14,6 +14,12 @@ def add_acs_entrances(acs_entrance_ids:, space_id:) nil end + def add_connected_account(connected_account_id:, space_id:) + @client.post("/spaces/add_connected_account", {connected_account_id: connected_account_id, space_id: space_id}.compact) + + nil + end + def add_devices(device_ids:, space_id:) @client.post("/spaces/add_devices", {device_ids: device_ids, space_id: space_id}.compact) @@ -56,6 +62,12 @@ def remove_acs_entrances(acs_entrance_ids:, space_id:) nil end + def remove_connected_account(connected_account_id:, space_id:) + @client.post("/spaces/remove_connected_account", {connected_account_id: connected_account_id, space_id: space_id}.compact) + + nil + end + def remove_devices(device_ids:, space_id:) @client.post("/spaces/remove_devices", {device_ids: device_ids, space_id: space_id}.compact) diff --git a/lib/seam/routes/resources/event.rb b/lib/seam/routes/resources/event.rb index fd831fb..3095baf 100644 --- a/lib/seam/routes/resources/event.rb +++ b/lib/seam/routes/resources/event.rb @@ -3,7 +3,7 @@ module Seam module Resources class SeamEvent < BaseResource - attr_accessor :access_code_id, :connected_account_custom_metadata, :connected_account_id, :device_custom_metadata, :device_id, :event_id, :event_type, :workspace_id, :code, :access_code_errors, :access_code_warnings, :connected_account_errors, :connected_account_warnings, :device_errors, :device_warnings, :backup_access_code_id, :access_grant_id, :acs_entrance_id, :access_grant_key, :ends_at, :starts_at, :error_message, :access_grant_ids, :access_grant_keys, :access_method_id, :is_backup_code, :acs_system_id, :acs_system_errors, :acs_system_warnings, :acs_credential_id, :acs_user_id, :acs_encoder_id, :acs_access_group_id, :client_session_id, :connect_webview_id, :customer_key, :connected_account_type, :action_attempt_id, :action_type, :status, :error_code, :battery_level, :battery_status, :minut_metadata, :noise_level_decibels, :noise_level_nrs, :noise_threshold_id, :noise_threshold_name, :noiseaware_metadata, :access_code_is_managed, :method, :user_identity_id, :climate_preset_key, :is_fallback_climate_preset, :thermostat_schedule_id, :cooling_set_point_celsius, :cooling_set_point_fahrenheit, :fan_mode_setting, :heating_set_point_celsius, :heating_set_point_fahrenheit, :hvac_mode_setting, :lower_limit_celsius, :lower_limit_fahrenheit, :temperature_celsius, :temperature_fahrenheit, :upper_limit_celsius, :upper_limit_fahrenheit, :desired_temperature_celsius, :desired_temperature_fahrenheit, :device_name, :activation_reason, :image_url, :motion_sub_type, :video_url, :enrollment_automation_id, :acs_entrance_ids, :device_ids, :space_id, :space_key + attr_accessor :access_code_id, :connected_account_custom_metadata, :connected_account_id, :device_custom_metadata, :device_id, :event_id, :event_type, :workspace_id, :code, :access_code_errors, :access_code_warnings, :connected_account_errors, :connected_account_warnings, :device_errors, :device_warnings, :backup_access_code_id, :access_grant_id, :acs_entrance_id, :access_grant_key, :ends_at, :starts_at, :error_message, :access_grant_ids, :access_grant_keys, :access_method_id, :is_backup_code, :acs_system_id, :acs_system_errors, :acs_system_warnings, :acs_credential_id, :acs_user_id, :acs_encoder_id, :acs_access_group_id, :client_session_id, :connect_webview_id, :customer_key, :connected_account_type, :action_attempt_id, :action_type, :status, :error_code, :battery_level, :battery_status, :minut_metadata, :noise_level_decibels, :noise_level_nrs, :noise_threshold_id, :noise_threshold_name, :noiseaware_metadata, :access_code_is_managed, :is_bluetooth_action, :method, :user_identity_id, :climate_preset_key, :is_fallback_climate_preset, :thermostat_schedule_id, :cooling_set_point_celsius, :cooling_set_point_fahrenheit, :fan_mode_setting, :heating_set_point_celsius, :heating_set_point_fahrenheit, :hvac_mode_setting, :lower_limit_celsius, :lower_limit_fahrenheit, :temperature_celsius, :temperature_fahrenheit, :upper_limit_celsius, :upper_limit_fahrenheit, :desired_temperature_celsius, :desired_temperature_fahrenheit, :device_name, :activation_reason, :image_url, :motion_sub_type, :video_url, :enrollment_automation_id, :acs_entrance_ids, :device_ids, :space_id, :space_key date_accessor :created_at, :occurred_at end