From 27bc369663bae5ce1aa351b39b0d9ef5196fe78c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2026 03:43:23 +0000 Subject: [PATCH 1/3] feat(deps-dev): bump the seam group with 2 updates Bumps the seam group with 2 updates: [@seamapi/nextlove-sdk-generator](https://github.com/seamapi/nextlove-sdk-generator) and [@seamapi/types](https://github.com/seamapi/types). Updates `@seamapi/nextlove-sdk-generator` from 1.19.8 to 1.19.9 - [Commits](https://github.com/seamapi/nextlove-sdk-generator/commits) Updates `@seamapi/types` from 1.768.1 to 1.772.0 - [Release notes](https://github.com/seamapi/types/releases) - [Commits](https://github.com/seamapi/types/compare/v1.768.1...v1.772.0) --- updated-dependencies: - dependency-name: "@seamapi/nextlove-sdk-generator" dependency-version: 1.19.9 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: seam - dependency-name: "@seamapi/types" dependency-version: 1.772.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 16 ++++++++-------- package.json | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7757f9e1..4a69d34d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,8 @@ "license": "MIT", "devDependencies": { "@prettier/plugin-php": "^0.24.0", - "@seamapi/nextlove-sdk-generator": "^1.19.8", - "@seamapi/types": "1.768.1", + "@seamapi/nextlove-sdk-generator": "^1.19.9", + "@seamapi/types": "1.772.0", "del": "^7.1.0", "prettier": "^3.0.0" } @@ -511,9 +511,9 @@ } }, "node_modules/@seamapi/nextlove-sdk-generator": { - "version": "1.19.8", - "resolved": "https://registry.npmjs.org/@seamapi/nextlove-sdk-generator/-/nextlove-sdk-generator-1.19.8.tgz", - "integrity": "sha512-kccnwBM2Gy4EydHBNi2Qic0GKcIc22Fa1vAIS4sxQT+Fn/hlXPad8fvvwWC2rIaLSvw+FG0MSRM7Xi1pfDUukg==", + "version": "1.19.9", + "resolved": "https://registry.npmjs.org/@seamapi/nextlove-sdk-generator/-/nextlove-sdk-generator-1.19.9.tgz", + "integrity": "sha512-w94fUudxHPnqOPkLDCWXVywI8iBSZNLNe41/JOJHOoi8QBABJdijt/hl9ICCpjLPRa/ANslmSo8w9lR5ZTJ5kQ==", "dev": true, "license": "MIT", "dependencies": { @@ -533,9 +533,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.768.1", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.768.1.tgz", - "integrity": "sha512-BBYgxv+gaE0rz2iekFB5tYm3VzQ8o/xEGbsZy0AXg/FpVtsTxT2f0481XEh6a7UXEJYYEtHZvA7/bXJyXymcnA==", + "version": "1.772.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.772.0.tgz", + "integrity": "sha512-/MFq/zRLLo4/QDgOR1jIPWfqGeAAlH4plSRLJ0njdfV0AHFqODlCUp8uE2oOO6LYsNOXXPltG1hLR6TDIMBXPg==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 93a6c4be..bedb59cc 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ }, "devDependencies": { "@prettier/plugin-php": "^0.24.0", - "@seamapi/nextlove-sdk-generator": "^1.19.8", - "@seamapi/types": "1.768.1", + "@seamapi/nextlove-sdk-generator": "^1.19.9", + "@seamapi/types": "1.772.0", "del": "^7.1.0", "prettier": "^3.0.0" } From f333963b4a12a401966e1b03005018e089e4d362 Mon Sep 17 00:00:00 2001 From: Evan Sosenko Date: Tue, 31 Mar 2026 19:09:35 -0700 Subject: [PATCH 2/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bedb59cc..fe66aed0 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ }, "devDependencies": { "@prettier/plugin-php": "^0.24.0", - "@seamapi/nextlove-sdk-generator": "^1.19.9", + "@seamapi/nextlove-sdk-generator": "^1.19.10", "@seamapi/types": "1.772.0", "del": "^7.1.0", "prettier": "^3.0.0" From 30d6ef99a49291a17cba05529da56c084ba34410 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Wed, 1 Apr 2026 02:09:50 +0000 Subject: [PATCH 3/3] ci: Generate code --- package-lock.json | 8 +-- src/SeamClient.php | 141 ++------------------------------------------- 2 files changed, 10 insertions(+), 139 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4a69d34d..861683db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "devDependencies": { "@prettier/plugin-php": "^0.24.0", - "@seamapi/nextlove-sdk-generator": "^1.19.9", + "@seamapi/nextlove-sdk-generator": "^1.19.10", "@seamapi/types": "1.772.0", "del": "^7.1.0", "prettier": "^3.0.0" @@ -511,9 +511,9 @@ } }, "node_modules/@seamapi/nextlove-sdk-generator": { - "version": "1.19.9", - "resolved": "https://registry.npmjs.org/@seamapi/nextlove-sdk-generator/-/nextlove-sdk-generator-1.19.9.tgz", - "integrity": "sha512-w94fUudxHPnqOPkLDCWXVywI8iBSZNLNe41/JOJHOoi8QBABJdijt/hl9ICCpjLPRa/ANslmSo8w9lR5ZTJ5kQ==", + "version": "1.19.10", + "resolved": "https://registry.npmjs.org/@seamapi/nextlove-sdk-generator/-/nextlove-sdk-generator-1.19.10.tgz", + "integrity": "sha512-1CyU2vXAyOLnv8z2pVHIQ2mqEvFZJUEP9f8vIeEznUVjeUV2g04MDzgzRX5kUyhjstrletsZGNyxk8lGgu/1Yg==", "dev": true, "license": "MIT", "dependencies": { diff --git a/src/SeamClient.php b/src/SeamClient.php index a1352526..81d43d61 100644 --- a/src/SeamClient.php +++ b/src/SeamClient.php @@ -207,7 +207,6 @@ public function create( ?bool $prefer_native_scheduling = null, ?float $preferred_code_length = null, ?string $starts_at = null, - ?bool $sync = null, ?bool $use_backup_access_code_pool = null, ?bool $use_offline_access_code = null, ): AccessCode { @@ -265,9 +264,6 @@ public function create( if ($starts_at !== null) { $request_payload["starts_at"] = $starts_at; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } if ($use_backup_access_code_pool !== null) { $request_payload[ "use_backup_access_code_pool" @@ -362,7 +358,6 @@ public function create_multiple( public function delete( string $access_code_id, ?string $device_id = null, - ?bool $sync = null, ): void { $request_payload = []; @@ -372,9 +367,6 @@ public function delete( if ($device_id !== null) { $request_payload["device_id"] = $device_id; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } $this->seam->request( "POST", @@ -543,7 +535,6 @@ public function update( ?bool $prefer_native_scheduling = null, ?float $preferred_code_length = null, ?string $starts_at = null, - ?bool $sync = null, ?string $type = null, ?bool $use_backup_access_code_pool = null, ?bool $use_offline_access_code = null, @@ -605,9 +596,6 @@ public function update( if ($starts_at !== null) { $request_payload["starts_at"] = $starts_at; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } if ($type !== null) { $request_payload["type"] = $type; } @@ -708,7 +696,6 @@ public function convert_to_managed( ?bool $allow_external_modification = null, ?bool $force = null, ?bool $is_external_modification_allowed = null, - ?bool $sync = null, ): void { $request_payload = []; @@ -728,9 +715,6 @@ public function convert_to_managed( "is_external_modification_allowed" ] = $is_external_modification_allowed; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } $this->seam->request( "POST", @@ -739,16 +723,13 @@ public function convert_to_managed( ); } - public function delete(string $access_code_id, ?bool $sync = null): void + public function delete(string $access_code_id): void { $request_payload = []; if ($access_code_id !== null) { $request_payload["access_code_id"] = $access_code_id; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } $this->seam->request( "POST", @@ -1649,7 +1630,6 @@ public function create( ?string $code = null, ?string $credential_manager_acs_system_id = null, ?string $ends_at = null, - mixed $hotek_metadata = null, ?bool $is_multi_phone_sync_credential = null, mixed $salto_space_metadata = null, ?string $starts_at = null, @@ -1688,9 +1668,6 @@ public function create( if ($ends_at !== null) { $request_payload["ends_at"] = $ends_at; } - if ($hotek_metadata !== null) { - $request_payload["hotek_metadata"] = $hotek_metadata; - } if ($is_multi_phone_sync_credential !== null) { $request_payload[ "is_multi_phone_sync_credential" @@ -3059,7 +3036,6 @@ public function create( ?string $custom_redirect_failure_url = null, ?string $custom_redirect_url = null, ?string $customer_key = null, - ?string $device_selection_mode = null, ?array $excluded_providers = null, ?string $provider_category = null, ?bool $wait_for_device_creation = null, @@ -3091,9 +3067,6 @@ public function create( if ($customer_key !== null) { $request_payload["customer_key"] = $customer_key; } - if ($device_selection_mode !== null) { - $request_payload["device_selection_mode"] = $device_selection_mode; - } if ($excluded_providers !== null) { $request_payload["excluded_providers"] = $excluded_providers; } @@ -3204,18 +3177,13 @@ public function __construct(SeamClient $seam) $this->simulate = new ConnectedAccountsSimulateClient($seam); } - public function delete( - string $connected_account_id, - ?bool $sync = null, - ): void { + public function delete(string $connected_account_id): void + { $request_payload = []; if ($connected_account_id !== null) { $request_payload["connected_account_id"] = $connected_account_id; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } $this->seam->request( "POST", @@ -3377,10 +3345,8 @@ public function __construct(SeamClient $seam) } public function create_portal( - ?bool $_dev = null, ?array $customer_resources_filters = null, ?string $customization_profile_id = null, - mixed $deep_link = null, ?bool $exclude_locale_picker = null, mixed $features = null, ?bool $is_embedded = null, @@ -3391,9 +3357,6 @@ public function create_portal( ): MagicLink { $request_payload = []; - if ($_dev !== null) { - $request_payload["_dev"] = $_dev; - } if ($customer_resources_filters !== null) { $request_payload[ "customer_resources_filters" @@ -3404,9 +3367,6 @@ public function create_portal( "customization_profile_id" ] = $customization_profile_id; } - if ($deep_link !== null) { - $request_payload["deep_link"] = $deep_link; - } if ($exclude_locale_picker !== null) { $request_payload["exclude_locale_picker"] = $exclude_locale_picker; } @@ -3661,8 +3621,6 @@ public function list( ?array $device_ids = null, ?string $device_type = null, ?array $device_types = null, - ?array $exclude_if = null, - ?array $include_if = null, ?float $limit = null, ?string $manufacturer = null, ?string $page_cursor = null, @@ -3701,12 +3659,6 @@ public function list( if ($device_types !== null) { $request_payload["device_types"] = $device_types; } - if ($exclude_if !== null) { - $request_payload["exclude_if"] = $exclude_if; - } - if ($include_if !== null) { - $request_payload["include_if"] = $include_if; - } if ($limit !== null) { $request_payload["limit"] = $limit; } @@ -3955,8 +3907,6 @@ public function list( ?array $device_ids = null, ?string $device_type = null, ?array $device_types = null, - ?array $exclude_if = null, - ?array $include_if = null, ?float $limit = null, ?string $manufacturer = null, ?string $page_cursor = null, @@ -3995,12 +3945,6 @@ public function list( if ($device_types !== null) { $request_payload["device_types"] = $device_types; } - if ($exclude_if !== null) { - $request_payload["exclude_if"] = $exclude_if; - } - if ($include_if !== null) { - $request_payload["include_if"] = $include_if; - } if ($limit !== null) { $request_payload["limit"] = $limit; } @@ -4370,8 +4314,6 @@ public function list( ?array $device_ids = null, ?string $device_type = null, ?array $device_types = null, - ?array $exclude_if = null, - ?array $include_if = null, ?float $limit = null, ?string $manufacturer = null, ?string $page_cursor = null, @@ -4410,12 +4352,6 @@ public function list( if ($device_types !== null) { $request_payload["device_types"] = $device_types; } - if ($exclude_if !== null) { - $request_payload["exclude_if"] = $exclude_if; - } - if ($include_if !== null) { - $request_payload["include_if"] = $include_if; - } if ($limit !== null) { $request_payload["limit"] = $limit; } @@ -4453,7 +4389,6 @@ public function list( public function lock_door( string $device_id, - ?bool $sync = null, bool $wait_for_action_attempt = true, ): ActionAttempt { $request_payload = []; @@ -4461,9 +4396,6 @@ public function lock_door( if ($device_id !== null) { $request_payload["device_id"] = $device_id; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } $res = $this->seam->request( "POST", @@ -4484,7 +4416,6 @@ public function lock_door( public function unlock_door( string $device_id, - ?bool $sync = null, bool $wait_for_action_attempt = true, ): ActionAttempt { $request_payload = []; @@ -4492,9 +4423,6 @@ public function unlock_door( if ($device_id !== null) { $request_payload["device_id"] = $device_id; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } $res = $this->seam->request( "POST", @@ -4604,8 +4532,6 @@ public function list( ?array $device_ids = null, ?string $device_type = null, ?array $device_types = null, - ?array $exclude_if = null, - ?array $include_if = null, ?float $limit = null, ?string $manufacturer = null, ?string $page_cursor = null, @@ -4644,12 +4570,6 @@ public function list( if ($device_types !== null) { $request_payload["device_types"] = $device_types; } - if ($exclude_if !== null) { - $request_payload["exclude_if"] = $exclude_if; - } - if ($include_if !== null) { - $request_payload["include_if"] = $include_if; - } if ($limit !== null) { $request_payload["limit"] = $limit; } @@ -4702,7 +4622,6 @@ public function create( ?string $name = null, ?float $noise_threshold_decibels = null, ?float $noise_threshold_nrs = null, - ?bool $sync = null, ): NoiseThreshold { $request_payload = []; @@ -4726,9 +4645,6 @@ public function create( if ($noise_threshold_nrs !== null) { $request_payload["noise_threshold_nrs"] = $noise_threshold_nrs; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } $res = $this->seam->request( "POST", @@ -4739,11 +4655,8 @@ public function create( return NoiseThreshold::from_json($res->noise_threshold); } - public function delete( - string $device_id, - string $noise_threshold_id, - ?bool $sync = null, - ): void { + public function delete(string $device_id, string $noise_threshold_id): void + { $request_payload = []; if ($device_id !== null) { @@ -4752,9 +4665,6 @@ public function delete( if ($noise_threshold_id !== null) { $request_payload["noise_threshold_id"] = $noise_threshold_id; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } $this->seam->request( "POST", @@ -4780,16 +4690,13 @@ public function get(string $noise_threshold_id): NoiseThreshold return NoiseThreshold::from_json($res->noise_threshold); } - public function list(string $device_id, ?bool $is_programmed = null): array + public function list(string $device_id): array { $request_payload = []; if ($device_id !== null) { $request_payload["device_id"] = $device_id; } - if ($is_programmed !== null) { - $request_payload["is_programmed"] = $is_programmed; - } $res = $this->seam->request( "POST", @@ -4811,7 +4718,6 @@ public function update( ?float $noise_threshold_decibels = null, ?float $noise_threshold_nrs = null, ?string $starts_daily_at = null, - ?bool $sync = null, ): void { $request_payload = []; @@ -4838,9 +4744,6 @@ public function update( if ($starts_daily_at !== null) { $request_payload["starts_daily_at"] = $starts_daily_at; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } $this->seam->request( "POST", @@ -5133,16 +5036,12 @@ public function get_related( } public function list( - ?string $connected_account_id = null, ?string $customer_key = null, ?string $search = null, ?string $space_key = null, ): array { $request_payload = []; - if ($connected_account_id !== null) { - $request_payload["connected_account_id"] = $connected_account_id; - } if ($customer_key !== null) { $request_payload["customer_key"] = $customer_key; } @@ -5288,7 +5187,6 @@ public function cool( string $device_id, ?float $cooling_set_point_celsius = null, ?float $cooling_set_point_fahrenheit = null, - ?bool $sync = null, bool $wait_for_action_attempt = true, ): ActionAttempt { $request_payload = []; @@ -5306,9 +5204,6 @@ public function cool( "cooling_set_point_fahrenheit" ] = $cooling_set_point_fahrenheit; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } $res = $this->seam->request( "POST", @@ -5421,7 +5316,6 @@ public function heat( string $device_id, ?float $heating_set_point_celsius = null, ?float $heating_set_point_fahrenheit = null, - ?bool $sync = null, bool $wait_for_action_attempt = true, ): ActionAttempt { $request_payload = []; @@ -5439,9 +5333,6 @@ public function heat( "heating_set_point_fahrenheit" ] = $heating_set_point_fahrenheit; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } $res = $this->seam->request( "POST", @@ -5466,7 +5357,6 @@ public function heat_cool( ?float $cooling_set_point_fahrenheit = null, ?float $heating_set_point_celsius = null, ?float $heating_set_point_fahrenheit = null, - ?bool $sync = null, bool $wait_for_action_attempt = true, ): ActionAttempt { $request_payload = []; @@ -5494,9 +5384,6 @@ public function heat_cool( "heating_set_point_fahrenheit" ] = $heating_set_point_fahrenheit; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } $res = $this->seam->request( "POST", @@ -5525,8 +5412,6 @@ public function list( ?array $device_ids = null, ?string $device_type = null, ?array $device_types = null, - ?array $exclude_if = null, - ?array $include_if = null, ?float $limit = null, ?string $manufacturer = null, ?string $page_cursor = null, @@ -5565,12 +5450,6 @@ public function list( if ($device_types !== null) { $request_payload["device_types"] = $device_types; } - if ($exclude_if !== null) { - $request_payload["exclude_if"] = $exclude_if; - } - if ($include_if !== null) { - $request_payload["include_if"] = $include_if; - } if ($limit !== null) { $request_payload["limit"] = $limit; } @@ -5608,7 +5487,6 @@ public function list( public function off( string $device_id, - ?bool $sync = null, bool $wait_for_action_attempt = true, ): ActionAttempt { $request_payload = []; @@ -5616,9 +5494,6 @@ public function off( if ($device_id !== null) { $request_payload["device_id"] = $device_id; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } $res = $this->seam->request( "POST", @@ -5661,7 +5536,6 @@ public function set_fan_mode( string $device_id, ?string $fan_mode = null, ?string $fan_mode_setting = null, - ?bool $sync = null, bool $wait_for_action_attempt = true, ): ActionAttempt { $request_payload = []; @@ -5675,9 +5549,6 @@ public function set_fan_mode( if ($fan_mode_setting !== null) { $request_payload["fan_mode_setting"] = $fan_mode_setting; } - if ($sync !== null) { - $request_payload["sync"] = $sync; - } $res = $this->seam->request( "POST",