From 113f75b271b3d7f580313a7c02dbf890a32d5263 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 14 Nov 2025 09:11:22 +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.654.0 to 1.660.0 - [Release notes](https://github.com/seamapi/types/releases) - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json) - [Commits](https://github.com/seamapi/types/compare/v1.654.0...v1.660.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.660.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 44d90a41..3df0bd38 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.85.1", "@seamapi/nextlove-sdk-generator": "^1.19.4", - "@seamapi/types": "1.654.0", + "@seamapi/types": "1.660.0", "del": "^7.1.0", "prettier": "^3.2.5" } @@ -475,9 +475,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.654.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.654.0.tgz", - "integrity": "sha512-nYjlg1bpw/RG52xCmNEpAuQObSONoNcAk1hWt3aGzECiFkwxJagaYwile4xwmvOM9LRnn+cCDmvnys9DkvqA/Q==", + "version": "1.660.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.660.0.tgz", + "integrity": "sha512-6EwsXXI9gK5Nh5v9KAUTlZivMJd6/VwTjFf/MPjMAlbVlE8BEYakjuPpb1Q63IYKKxqwdlbYkYwEDZ+LRPUlrQ==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index f0115142..4208386b 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.85.1", "@seamapi/nextlove-sdk-generator": "^1.19.4", - "@seamapi/types": "1.654.0", + "@seamapi/types": "1.660.0", "del": "^7.1.0", "prettier": "^3.2.5" } From f3740e4de6d474363cd2f503243cb597d3f2c0f3 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Fri, 14 Nov 2025 09:12:05 +0000 Subject: [PATCH 2/2] ci: Generate code --- seam/routes/models.py | 69 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/seam/routes/models.py b/seam/routes/models.py index d2c5a6ec..3680eff5 100644 --- a/seam/routes/models.py +++ b/seam/routes/models.py @@ -447,6 +447,7 @@ class AcsUser: last_successful_sync_at: str pending_mutations: List[Dict[str, Any]] phone_number: str + salto_space_metadata: Dict[str, Any] user_identity_email_address: str user_identity_full_name: str user_identity_id: str @@ -475,6 +476,7 @@ def from_dict(d: Dict[str, Any]): last_successful_sync_at=d.get("last_successful_sync_at", None), pending_mutations=d.get("pending_mutations", None), phone_number=d.get("phone_number", None), + salto_space_metadata=DeepAttrDict(d.get("salto_space_metadata", None)), user_identity_email_address=d.get("user_identity_email_address", None), user_identity_full_name=d.get("user_identity_full_name", None), user_identity_id=d.get("user_identity_id", None), @@ -503,6 +505,71 @@ def from_dict(d: Dict[str, Any]): ) +@dataclass +class Batch: + access_codes: List[Any] + access_grants: List[Any] + access_methods: List[Any] + acs_access_groups: List[Any] + acs_credentials: List[Any] + acs_encoders: List[Any] + acs_entrances: List[Any] + acs_systems: List[Any] + acs_users: List[Any] + action_attempts: List[Any] + client_sessions: List[Any] + connect_webviews: List[Any] + connected_accounts: List[Any] + customization_profiles: List[Any] + devices: List[Any] + events: List[Any] + instant_keys: List[Any] + noise_thresholds: List[Any] + spaces: List[Any] + thermostat_daily_programs: List[Any] + thermostat_schedules: List[Any] + unmanaged_access_codes: List[Any] + unmanaged_acs_access_groups: List[Any] + unmanaged_acs_credentials: List[Any] + unmanaged_acs_users: List[Any] + unmanaged_devices: List[Any] + user_identities: List[Any] + workspaces: List[Any] + + @staticmethod + def from_dict(d: Dict[str, Any]): + return Batch( + access_codes=d.get("access_codes", None), + access_grants=d.get("access_grants", None), + access_methods=d.get("access_methods", None), + acs_access_groups=d.get("acs_access_groups", None), + acs_credentials=d.get("acs_credentials", None), + acs_encoders=d.get("acs_encoders", None), + acs_entrances=d.get("acs_entrances", None), + acs_systems=d.get("acs_systems", None), + acs_users=d.get("acs_users", None), + action_attempts=d.get("action_attempts", None), + client_sessions=d.get("client_sessions", None), + connect_webviews=d.get("connect_webviews", None), + connected_accounts=d.get("connected_accounts", None), + customization_profiles=d.get("customization_profiles", None), + devices=d.get("devices", None), + events=d.get("events", None), + instant_keys=d.get("instant_keys", None), + noise_thresholds=d.get("noise_thresholds", None), + spaces=d.get("spaces", None), + thermostat_daily_programs=d.get("thermostat_daily_programs", None), + thermostat_schedules=d.get("thermostat_schedules", None), + unmanaged_access_codes=d.get("unmanaged_access_codes", None), + unmanaged_acs_access_groups=d.get("unmanaged_acs_access_groups", None), + unmanaged_acs_credentials=d.get("unmanaged_acs_credentials", None), + unmanaged_acs_users=d.get("unmanaged_acs_users", None), + unmanaged_devices=d.get("unmanaged_devices", None), + user_identities=d.get("user_identities", None), + workspaces=d.get("workspaces", None), + ) + + @dataclass class BridgeClientSession: bridge_client_machine_identifier_key: str @@ -1463,6 +1530,7 @@ class UnmanagedAcsUser: last_successful_sync_at: str pending_mutations: List[Dict[str, Any]] phone_number: str + salto_space_metadata: Dict[str, Any] user_identity_email_address: str user_identity_full_name: str user_identity_id: str @@ -1491,6 +1559,7 @@ def from_dict(d: Dict[str, Any]): last_successful_sync_at=d.get("last_successful_sync_at", None), pending_mutations=d.get("pending_mutations", None), phone_number=d.get("phone_number", None), + salto_space_metadata=DeepAttrDict(d.get("salto_space_metadata", None)), user_identity_email_address=d.get("user_identity_email_address", None), user_identity_full_name=d.get("user_identity_full_name", None), user_identity_id=d.get("user_identity_id", None),