From 47c57e8cc3d1fe5cd86422cb5b6d06971b40454f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Apr 2026 03:43:46 +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 9f64e34..8067eaa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "devDependencies": { "@prettier/plugin-php": "^0.24.0", "@seamapi/nextlove-sdk-generator": "^1.19.10", - "@seamapi/types": "1.811.0", + "@seamapi/types": "1.818.0", "del": "^7.1.0", "prettier": "^3.0.0" } @@ -533,9 +533,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 e87b05c..8562ade 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "devDependencies": { "@prettier/plugin-php": "^0.24.0", "@seamapi/nextlove-sdk-generator": "^1.19.10", - "@seamapi/types": "1.811.0", + "@seamapi/types": "1.818.0", "del": "^7.1.0", "prettier": "^3.0.0" } From 5ddbd42bb41bc6be6782823be51512ee306d66ce Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Wed, 29 Apr 2026 03:44:04 +0000 Subject: [PATCH 2/2] ci: Generate code --- src/Objects/AccessGrantWarnings.php | 2 ++ src/Objects/Event.php | 2 ++ src/SeamClient.php | 44 +++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/src/Objects/AccessGrantWarnings.php b/src/Objects/AccessGrantWarnings.php index dc18e36..19ee3a5 100644 --- a/src/Objects/AccessGrantWarnings.php +++ b/src/Objects/AccessGrantWarnings.php @@ -21,6 +21,7 @@ public static function from_json(mixed $json): AccessGrantWarnings|null ), new_code: $json->new_code ?? null, original_code: $json->original_code ?? null, + reason: $json->reason ?? null, ); } @@ -33,5 +34,6 @@ public function __construct( public array|null $failed_devices, public string|null $new_code, public string|null $original_code, + public string|null $reason, ) {} } diff --git a/src/Objects/Event.php b/src/Objects/Event.php index a097cf7..01a1441 100644 --- a/src/Objects/Event.php +++ b/src/Objects/Event.php @@ -96,6 +96,7 @@ public static function from_json(mixed $json): Event|null hvac_mode_setting: $json->hvac_mode_setting ?? null, image_url: $json->image_url ?? null, is_backup_code: $json->is_backup_code ?? null, + is_bluetooth_action: $json->is_bluetooth_action ?? null, is_fallback_climate_preset: $json->is_fallback_climate_preset ?? null, method: $json->method ?? null, @@ -182,6 +183,7 @@ public function __construct( public string|null $hvac_mode_setting, public string|null $image_url, public bool|null $is_backup_code, + public bool|null $is_bluetooth_action, public bool|null $is_fallback_climate_preset, public string|null $method, public mixed $minut_metadata, diff --git a/src/SeamClient.php b/src/SeamClient.php index 2d54094..ba53795 100644 --- a/src/SeamClient.php +++ b/src/SeamClient.php @@ -3239,6 +3239,7 @@ public function list( mixed $limit = null, ?string $page_cursor = null, ?string $search = null, + ?string $space_id = null, ?string $user_identifier_key = null, ?callable $on_response = null, ): array { @@ -3259,6 +3260,9 @@ public function list( if ($search !== null) { $request_payload["search"] = $search; } + if ($space_id !== null) { + $request_payload["space_id"] = $space_id; + } if ($user_identifier_key !== null) { $request_payload["user_identifier_key"] = $user_identifier_key; } @@ -4935,6 +4939,26 @@ public function add_acs_entrances( ); } + public function add_connected_account( + string $connected_account_id, + string $space_id, + ): void { + $request_payload = []; + + if ($connected_account_id !== null) { + $request_payload["connected_account_id"] = $connected_account_id; + } + if ($space_id !== null) { + $request_payload["space_id"] = $space_id; + } + + $this->seam->request( + "POST", + "/spaces/add_connected_account", + json: (object) $request_payload, + ); + } + public function add_devices(array $device_ids, string $space_id): void { $request_payload = []; @@ -5117,6 +5141,26 @@ public function remove_acs_entrances( ); } + public function remove_connected_account( + string $connected_account_id, + string $space_id, + ): void { + $request_payload = []; + + if ($connected_account_id !== null) { + $request_payload["connected_account_id"] = $connected_account_id; + } + if ($space_id !== null) { + $request_payload["space_id"] = $space_id; + } + + $this->seam->request( + "POST", + "/spaces/remove_connected_account", + json: (object) $request_payload, + ); + } + public function remove_devices(array $device_ids, string $space_id): void { $request_payload = [];