From 724895b7e3c763c56375c78bbc04b9e0f863698c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 27 Nov 2026 09:53:07 +0000 Subject: [PATCH 1/2] feat(deps-dev): bump @seamapi/blueprint Bumps the seam group with 1 update: [@seamapi/blueprint](https://github.com/seamapi/blueprint). Updates `@seamapi/blueprint` from 1.13.4 to 1.13.5 - [Release notes](https://github.com/seamapi/blueprint/releases) - [Commits](https://github.com/seamapi/blueprint/compare/v1.13.4...v1.13.5) --- updated-dependencies: - dependency-name: "@seamapi/blueprint" dependency-version: 1.13.5 dependency-type: direct:development update-type: version-update:semver-patch 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 22b3ef1e..1329d12a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "@seamapi/python", "devDependencies": { - "@seamapi/blueprint": "^1.13.4", + "@seamapi/blueprint": "^1.13.5", "@seamapi/fake-seam-connect": "2.0.10", "@seamapi/smith": "^1.2.1", "@seamapi/types": "1.1246.0", @@ -794,9 +794,9 @@ "license": "MIT" }, "node_modules/@seamapi/blueprint": { - "version": "1.13.4", - "resolved": "https://registry.npmjs.org/@seamapi/blueprint/-/blueprint-1.13.4.tgz", - "integrity": "sha512-+m3oGHQbwWgXkmm6VGSES+1TBtD3vAQMtKe4jbt00/Wpr3oPGSeSq04WK0iOfvROaUVzvl0LOoouLc8vJYWx2w==", + "version": "1.13.5", + "resolved": "https://registry.npmjs.org/@seamapi/blueprint/-/blueprint-1.13.5.tgz", + "integrity": "sha512-+pZAILpOq0uhgvix4PmEI/LkOs5mQZfxr4MvoIUWetTg/qq4Crq10Ac7OWzxq7iEyAHABnxuefF6qxj6p5dWYw==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 7f8cee38..f9d0c90f 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ }, "packageManager": "npm@11.19.0", "devDependencies": { - "@seamapi/blueprint": "^1.13.4", + "@seamapi/blueprint": "^1.13.5", "@seamapi/fake-seam-connect": "2.0.10", "@seamapi/smith": "^1.2.1", "@seamapi/types": "1.1246.0", From eab8034d19a68cd16e31242b0a5eac52903cd59b Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Fri, 27 Nov 2026 09:54:06 +0000 Subject: [PATCH 2/2] ci: Generate code --- seam/resources/access_code.py | 83 ------------------------- seam/resources/action_attempt.py | 4 +- seam/resources/connected_account.py | 25 -------- seam/resources/device.py | 29 --------- seam/resources/phone.py | 25 -------- seam/resources/unmanaged_access_code.py | 83 ------------------------- seam/resources/unmanaged_device.py | 29 --------- seam/routes/customers.py | 16 ----- seam/routes/devices.py | 32 ---------- seam/routes/devices_unmanaged.py | 32 ---------- seam/routes/events.py | 72 --------------------- 11 files changed, 2 insertions(+), 428 deletions(-) diff --git a/seam/resources/access_code.py b/seam/resources/access_code.py index dd338921..9dedb721 100644 --- a/seam/resources/access_code.py +++ b/seam/resources/access_code.py @@ -374,60 +374,6 @@ def from_dict(cls, d: Any): message=d.get("message", None), ) - @dataclass - class FailedToIssueError(ResourceMapping): - """Seam was unable to issue this access code before its start time, so the recipient may be unable to unlock the device. This usually points to a problem that needs attention, such as an offline or disconnected device. This error clears automatically if the access code is eventually issued. - - :ivar created_at: Date and time at which Seam created the error. - - :ivar error_code: Unique identifier of the type of error. Enables quick recognition and categorization of the issue. - - :ivar is_access_code_error: Indicates that this is an access code error. - - :ivar message: Detailed description of the error. Provides insights into the issue and potentially how to rectify it. - """ - - created_at: Optional[str] - error_code: Literal["failed_to_issue"] - is_access_code_error: Literal[True] - message: str - - @classmethod - def from_dict(cls, d: Any): - return cls( - created_at=d.get("created_at", None), - error_code=d.get("error_code", None), - is_access_code_error=d.get("is_access_code_error", None), - message=d.get("message", None), - ) - - @dataclass - class FailedToUpdateError(ResourceMapping): - """Seam was unable to apply this access code's requested update to the device, so the code on the device does not match its requested state. Seam keeps retrying, and this error clears automatically once the update is applied. - - :ivar created_at: Date and time at which Seam created the error. - - :ivar error_code: Unique identifier of the type of error. Enables quick recognition and categorization of the issue. - - :ivar is_access_code_error: Indicates that this is an access code error. - - :ivar message: Detailed description of the error. Provides insights into the issue and potentially how to rectify it. - """ - - created_at: Optional[str] - error_code: Literal["failed_to_update"] - is_access_code_error: Literal[True] - message: str - - @classmethod - def from_dict(cls, d: Any): - return cls( - created_at=d.get("created_at", None), - error_code=d.get("error_code", None), - is_access_code_error=d.get("is_access_code_error", None), - message=d.get("message", None), - ) - @dataclass class FailedToDeleteError(ResourceMapping): """Seam was unable to remove this access code from the device in time after it was deleted or its ``ends_at`` passed, so the recipient may still be able to unlock the device. Seam keeps trying to delete it, and this error clears automatically once the access code is no longer usable on the device. @@ -1299,29 +1245,6 @@ def from_dict(cls, d: Any): warning_code=d.get("warning_code", None), ) - @dataclass - class DelayInIssuingWarning(ResourceMapping): - """Seam has not yet issued this access code, even though its start time is approaching, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and this warning clears automatically once issuance succeeds. - - :ivar created_at: Date and time at which Seam created the warning. - - :ivar message: Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. - - :ivar warning_code: Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. - """ - - created_at: Optional[str] - message: str - warning_code: Literal["delay_in_issuing"] - - @classmethod - def from_dict(cls, d: Any): - return cls( - created_at=d.get("created_at", None), - message=d.get("message", None), - warning_code=d.get("warning_code", None), - ) - @dataclass class ThirdPartyIntegrationDetectedWarning(ResourceMapping): """Third-party integration detected that may cause access codes to fail. @@ -1496,8 +1419,6 @@ def from_dict(cls, d: Any): ConflictingExternalModificationError, AccessCodeInactiveError, CodeConstraintsViolatedError, - FailedToIssueError, - FailedToUpdateError, FailedToDeleteError, AccountDisconnectedError, SaltoKsSubscriptionLimitExceededError, @@ -1524,8 +1445,6 @@ def from_dict(cls, d: Any): "conflicting_external_modification": ConflictingExternalModificationError, "access_code_inactive": AccessCodeInactiveError, "code_constraints_violated": CodeConstraintsViolatedError, - "failed_to_issue": FailedToIssueError, - "failed_to_update": FailedToUpdateError, "failed_to_delete": FailedToDeleteError, "account_disconnected": AccountDisconnectedError, "salto_ks_subscription_limit_exceeded": SaltoKsSubscriptionLimitExceededError, @@ -1567,7 +1486,6 @@ def from_dict(cls, d: Any): ExternalModificationInEffectWarning, DelayInSettingOnDeviceWarning, DelayInRemovingFromDeviceWarning, - DelayInIssuingWarning, ThirdPartyIntegrationDetectedWarning, IglooAlgopinMustBeUsedWithin24HoursWarning, ManagementTransferredWarning, @@ -1582,7 +1500,6 @@ def from_dict(cls, d: Any): "external_modification_in_effect": ExternalModificationInEffectWarning, "delay_in_setting_on_device": DelayInSettingOnDeviceWarning, "delay_in_removing_from_device": DelayInRemovingFromDeviceWarning, - "delay_in_issuing": DelayInIssuingWarning, "third_party_integration_detected": ThirdPartyIntegrationDetectedWarning, "igloo_algopin_must_be_used_within_24_hours": IglooAlgopinMustBeUsedWithin24HoursWarning, "management_transferred": ManagementTransferredWarning, diff --git a/seam/resources/action_attempt.py b/seam/resources/action_attempt.py index fc2742c4..d39f9825 100644 --- a/seam/resources/action_attempt.py +++ b/seam/resources/action_attempt.py @@ -661,7 +661,7 @@ def from_dict(cls, d: Any): external_type_display_name: Optional[str] is_issued: Optional[bool] is_latest_desired_state_synced_with_provider: Optional[bool] - is_managed: Literal[True, False] + is_managed: Literal[True] is_multi_phone_sync_credential: Optional[bool] is_one_time_use: Optional[bool] issued_at: Optional[str] @@ -1160,7 +1160,7 @@ def from_dict(cls, d: Any): external_type_display_name: Optional[str] is_issued: Optional[bool] is_latest_desired_state_synced_with_provider: Optional[bool] - is_managed: Literal[True, False] + is_managed: Literal[True] is_multi_phone_sync_credential: Optional[bool] is_one_time_use: Optional[bool] issued_at: Optional[str] diff --git a/seam/resources/connected_account.py b/seam/resources/connected_account.py index 4d88bc22..f4cedffb 100644 --- a/seam/resources/connected_account.py +++ b/seam/resources/connected_account.py @@ -442,29 +442,6 @@ def from_dict(cls, d: Any): warning_code=d.get("warning_code", None), ) - @dataclass - class DormakabaSitesUnapprovedWarning(ResourceMapping): - """Indicates that one or more dormakaba sites associated with the connected account are not approved. Contact support@getseam.com to finish setting up your account. - - :ivar created_at: Date and time at which Seam created the warning. - - :ivar message: Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. - - :ivar warning_code: Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. - """ - - created_at: str - message: str - warning_code: Literal["dormakaba_sites_unapproved"] - - @classmethod - def from_dict(cls, d: Any): - return cls( - created_at=d.get("created_at", None), - message=d.get("message", None), - warning_code=d.get("warning_code", None), - ) - Errors = Union[ AccountDisconnectedError, BridgeDisconnectedError, @@ -486,7 +463,6 @@ def from_dict(cls, d: Any): BeingDeletedWarning, ProviderServiceUnavailableWarning, SetupRequiredWarning, - DormakabaSitesUnapprovedWarning, ] _WarningsVariants = { "scheduled_maintenance_window": ScheduledMaintenanceWindowWarning, @@ -496,7 +472,6 @@ def from_dict(cls, d: Any): "being_deleted": BeingDeletedWarning, "provider_service_unavailable": ProviderServiceUnavailableWarning, "setup_required": SetupRequiredWarning, - "dormakaba_sites_unapproved": DormakabaSitesUnapprovedWarning, } accepted_capabilities: List[ diff --git a/seam/resources/device.py b/seam/resources/device.py index 2269a3f3..000565e2 100644 --- a/seam/resources/device.py +++ b/seam/resources/device.py @@ -4380,29 +4380,6 @@ def from_dict(cls, d: Any): warning_code=d.get("warning_code", None), ) - @dataclass - class ServiceModeWarning(ResourceMapping): - """Indicates that a technician has put the pool controller in service mode. Schedules and remote changes will not run until it is switched back. - - :ivar created_at: Date and time at which Seam created the warning. - - :ivar message: Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. - - :ivar warning_code: Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. - """ - - created_at: str - message: str - warning_code: Literal["service_mode"] - - @classmethod - def from_dict(cls, d: Any): - return cls( - created_at=d.get("created_at", None), - message=d.get("message", None), - warning_code=d.get("warning_code", None), - ) - @dataclass class ProviderIssueWarning(ResourceMapping): """Indicates a provider-specific issue that may affect device functionality. @@ -4678,7 +4655,6 @@ def from_dict(cls, d: Any): TimeZoneMismatchWarning, TwoNDeviceMissingTimezoneWarning, HubRequiredForAdditionalCapabilitiesWarning, - ServiceModeWarning, ProviderIssueWarning, KeynestUnsupportedLockerWarning, AccessoryKeypadSetupRequiredWarning, @@ -4712,7 +4688,6 @@ def from_dict(cls, d: Any): "time_zone_mismatch": TimeZoneMismatchWarning, "two_n_device_missing_timezone": TwoNDeviceMissingTimezoneWarning, "hub_required_for_additional_capabilities": HubRequiredForAdditionalCapabilitiesWarning, - "service_mode": ServiceModeWarning, "provider_issue": ProviderIssueWarning, "keynest_unsupported_locker": KeynestUnsupportedLockerWarning, "accessory_keypad_setup_required": AccessoryKeypadSetupRequiredWarning, @@ -4823,10 +4798,6 @@ def from_dict(cls, d: Any): "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] display_name: str errors: List[Errors] diff --git a/seam/resources/phone.py b/seam/resources/phone.py index badf7bfc..e26abdfd 100644 --- a/seam/resources/phone.py +++ b/seam/resources/phone.py @@ -1055,29 +1055,6 @@ def from_dict(cls, d: Any): warning_code=d.get("warning_code", None), ) - @dataclass - class ServiceModeWarning(ResourceMapping): - """Indicates that a technician has put the pool controller in service mode. Schedules and remote changes will not run until it is switched back. - - :ivar created_at: Date and time at which Seam created the warning. - - :ivar message: Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. - - :ivar warning_code: Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. - """ - - created_at: str - message: str - warning_code: Literal["service_mode"] - - @classmethod - def from_dict(cls, d: Any): - return cls( - created_at=d.get("created_at", None), - message=d.get("message", None), - warning_code=d.get("warning_code", None), - ) - @dataclass class ProviderIssueWarning(ResourceMapping): """Indicates a provider-specific issue that may affect device functionality. @@ -1353,7 +1330,6 @@ def from_dict(cls, d: Any): TimeZoneMismatchWarning, TwoNDeviceMissingTimezoneWarning, HubRequiredForAdditionalCapabilitiesWarning, - ServiceModeWarning, ProviderIssueWarning, KeynestUnsupportedLockerWarning, AccessoryKeypadSetupRequiredWarning, @@ -1387,7 +1363,6 @@ def from_dict(cls, d: Any): "time_zone_mismatch": TimeZoneMismatchWarning, "two_n_device_missing_timezone": TwoNDeviceMissingTimezoneWarning, "hub_required_for_additional_capabilities": HubRequiredForAdditionalCapabilitiesWarning, - "service_mode": ServiceModeWarning, "provider_issue": ProviderIssueWarning, "keynest_unsupported_locker": KeynestUnsupportedLockerWarning, "accessory_keypad_setup_required": AccessoryKeypadSetupRequiredWarning, diff --git a/seam/resources/unmanaged_access_code.py b/seam/resources/unmanaged_access_code.py index 8782e2f3..271be6a5 100644 --- a/seam/resources/unmanaged_access_code.py +++ b/seam/resources/unmanaged_access_code.py @@ -360,60 +360,6 @@ def from_dict(cls, d: Any): message=d.get("message", None), ) - @dataclass - class FailedToIssueError(ResourceMapping): - """Seam was unable to issue this access code before its start time, so the recipient may be unable to unlock the device. This usually points to a problem that needs attention, such as an offline or disconnected device. This error clears automatically if the access code is eventually issued. - - :ivar created_at: Date and time at which Seam created the error. - - :ivar error_code: Unique identifier of the type of error. Enables quick recognition and categorization of the issue. - - :ivar is_access_code_error: Indicates that this is an access code error. - - :ivar message: Detailed description of the error. Provides insights into the issue and potentially how to rectify it. - """ - - created_at: Optional[str] - error_code: Literal["failed_to_issue"] - is_access_code_error: Literal[True] - message: str - - @classmethod - def from_dict(cls, d: Any): - return cls( - created_at=d.get("created_at", None), - error_code=d.get("error_code", None), - is_access_code_error=d.get("is_access_code_error", None), - message=d.get("message", None), - ) - - @dataclass - class FailedToUpdateError(ResourceMapping): - """Seam was unable to apply this access code's requested update to the device, so the code on the device does not match its requested state. Seam keeps retrying, and this error clears automatically once the update is applied. - - :ivar created_at: Date and time at which Seam created the error. - - :ivar error_code: Unique identifier of the type of error. Enables quick recognition and categorization of the issue. - - :ivar is_access_code_error: Indicates that this is an access code error. - - :ivar message: Detailed description of the error. Provides insights into the issue and potentially how to rectify it. - """ - - created_at: Optional[str] - error_code: Literal["failed_to_update"] - is_access_code_error: Literal[True] - message: str - - @classmethod - def from_dict(cls, d: Any): - return cls( - created_at=d.get("created_at", None), - error_code=d.get("error_code", None), - is_access_code_error=d.get("is_access_code_error", None), - message=d.get("message", None), - ) - @dataclass class FailedToDeleteError(ResourceMapping): """Seam was unable to remove this access code from the device in time after it was deleted or its ``ends_at`` passed, so the recipient may still be able to unlock the device. Seam keeps trying to delete it, and this error clears automatically once the access code is no longer usable on the device. @@ -1014,29 +960,6 @@ def from_dict(cls, d: Any): warning_code=d.get("warning_code", None), ) - @dataclass - class DelayInIssuingWarning(ResourceMapping): - """Seam has not yet issued this access code, even though its start time is approaching, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and this warning clears automatically once issuance succeeds. - - :ivar created_at: Date and time at which Seam created the warning. - - :ivar message: Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. - - :ivar warning_code: Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. - """ - - created_at: Optional[str] - message: str - warning_code: Literal["delay_in_issuing"] - - @classmethod - def from_dict(cls, d: Any): - return cls( - created_at=d.get("created_at", None), - message=d.get("message", None), - warning_code=d.get("warning_code", None), - ) - @dataclass class ThirdPartyIntegrationDetectedWarning(ResourceMapping): """Third-party integration detected that may cause access codes to fail. @@ -1211,8 +1134,6 @@ def from_dict(cls, d: Any): ConflictingExternalModificationError, AccessCodeInactiveError, CodeConstraintsViolatedError, - FailedToIssueError, - FailedToUpdateError, FailedToDeleteError, AccountDisconnectedError, SaltoKsSubscriptionLimitExceededError, @@ -1239,8 +1160,6 @@ def from_dict(cls, d: Any): "conflicting_external_modification": ConflictingExternalModificationError, "access_code_inactive": AccessCodeInactiveError, "code_constraints_violated": CodeConstraintsViolatedError, - "failed_to_issue": FailedToIssueError, - "failed_to_update": FailedToUpdateError, "failed_to_delete": FailedToDeleteError, "account_disconnected": AccountDisconnectedError, "salto_ks_subscription_limit_exceeded": SaltoKsSubscriptionLimitExceededError, @@ -1265,7 +1184,6 @@ def from_dict(cls, d: Any): ExternalModificationInEffectWarning, DelayInSettingOnDeviceWarning, DelayInRemovingFromDeviceWarning, - DelayInIssuingWarning, ThirdPartyIntegrationDetectedWarning, IglooAlgopinMustBeUsedWithin24HoursWarning, ManagementTransferredWarning, @@ -1280,7 +1198,6 @@ def from_dict(cls, d: Any): "external_modification_in_effect": ExternalModificationInEffectWarning, "delay_in_setting_on_device": DelayInSettingOnDeviceWarning, "delay_in_removing_from_device": DelayInRemovingFromDeviceWarning, - "delay_in_issuing": DelayInIssuingWarning, "third_party_integration_detected": ThirdPartyIntegrationDetectedWarning, "igloo_algopin_must_be_used_within_24_hours": IglooAlgopinMustBeUsedWithin24HoursWarning, "management_transferred": ManagementTransferredWarning, diff --git a/seam/resources/unmanaged_device.py b/seam/resources/unmanaged_device.py index 2ab5b224..45bb2514 100644 --- a/seam/resources/unmanaged_device.py +++ b/seam/resources/unmanaged_device.py @@ -1184,29 +1184,6 @@ def from_dict(cls, d: Any): warning_code=d.get("warning_code", None), ) - @dataclass - class ServiceModeWarning(ResourceMapping): - """Indicates that a technician has put the pool controller in service mode. Schedules and remote changes will not run until it is switched back. - - :ivar created_at: Date and time at which Seam created the warning. - - :ivar message: Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. - - :ivar warning_code: Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. - """ - - created_at: str - message: str - warning_code: Literal["service_mode"] - - @classmethod - def from_dict(cls, d: Any): - return cls( - created_at=d.get("created_at", None), - message=d.get("message", None), - warning_code=d.get("warning_code", None), - ) - @dataclass class ProviderIssueWarning(ResourceMapping): """Indicates a provider-specific issue that may affect device functionality. @@ -1482,7 +1459,6 @@ def from_dict(cls, d: Any): TimeZoneMismatchWarning, TwoNDeviceMissingTimezoneWarning, HubRequiredForAdditionalCapabilitiesWarning, - ServiceModeWarning, ProviderIssueWarning, KeynestUnsupportedLockerWarning, AccessoryKeypadSetupRequiredWarning, @@ -1516,7 +1492,6 @@ def from_dict(cls, d: Any): "time_zone_mismatch": TimeZoneMismatchWarning, "two_n_device_missing_timezone": TwoNDeviceMissingTimezoneWarning, "hub_required_for_additional_capabilities": HubRequiredForAdditionalCapabilitiesWarning, - "service_mode": ServiceModeWarning, "provider_issue": ProviderIssueWarning, "keynest_unsupported_locker": KeynestUnsupportedLockerWarning, "accessory_keypad_setup_required": AccessoryKeypadSetupRequiredWarning, @@ -1622,10 +1597,6 @@ def from_dict(cls, d: Any): "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] display_name: str errors: List[Errors] diff --git a/seam/routes/customers.py b/seam/routes/customers.py index 3a961b12..a856e993 100644 --- a/seam/routes/customers.py +++ b/seam/routes/customers.py @@ -150,7 +150,6 @@ def push_data( rooms: Optional[List[Dict[str, Any]]] = None, sites: Optional[List[Dict[str, Any]]] = None, spaces: Optional[List[Dict[str, Any]]] = None, - staff_members: Optional[List[Dict[str, Any]]] = None, tenants: Optional[List[Dict[str, Any]]] = None, units: Optional[List[Dict[str, Any]]] = None, user_identities: Optional[List[Dict[str, Any]]] = None, @@ -192,8 +191,6 @@ def push_data( :param spaces: List of general spaces or areas. - :param staff_members: List of staff members. - :param tenants: List of tenants. :param units: List of multi-family residential units. @@ -347,7 +344,6 @@ async def push_data( rooms: Optional[List[Dict[str, Any]]] = None, sites: Optional[List[Dict[str, Any]]] = None, spaces: Optional[List[Dict[str, Any]]] = None, - staff_members: Optional[List[Dict[str, Any]]] = None, tenants: Optional[List[Dict[str, Any]]] = None, units: Optional[List[Dict[str, Any]]] = None, user_identities: Optional[List[Dict[str, Any]]] = None, @@ -389,8 +385,6 @@ async def push_data( :param spaces: List of general spaces or areas. - :param staff_members: List of staff members. - :param tenants: List of tenants. :param units: List of multi-family residential units. @@ -627,7 +621,6 @@ def push_data( rooms: Optional[List[Dict[str, Any]]] = None, sites: Optional[List[Dict[str, Any]]] = None, spaces: Optional[List[Dict[str, Any]]] = None, - staff_members: Optional[List[Dict[str, Any]]] = None, tenants: Optional[List[Dict[str, Any]]] = None, units: Optional[List[Dict[str, Any]]] = None, user_identities: Optional[List[Dict[str, Any]]] = None, @@ -669,8 +662,6 @@ def push_data( :param spaces: List of general spaces or areas. - :param staff_members: List of staff members. - :param tenants: List of tenants. :param units: List of multi-family residential units. @@ -714,8 +705,6 @@ def push_data( json_payload["sites"] = sites if spaces is not None: json_payload["spaces"] = spaces - if staff_members is not None: - json_payload["staff_members"] = staff_members if tenants is not None: json_payload["tenants"] = tenants if units is not None: @@ -955,7 +944,6 @@ async def push_data( rooms: Optional[List[Dict[str, Any]]] = None, sites: Optional[List[Dict[str, Any]]] = None, spaces: Optional[List[Dict[str, Any]]] = None, - staff_members: Optional[List[Dict[str, Any]]] = None, tenants: Optional[List[Dict[str, Any]]] = None, units: Optional[List[Dict[str, Any]]] = None, user_identities: Optional[List[Dict[str, Any]]] = None, @@ -997,8 +985,6 @@ async def push_data( :param spaces: List of general spaces or areas. - :param staff_members: List of staff members. - :param tenants: List of tenants. :param units: List of multi-family residential units. @@ -1042,8 +1028,6 @@ async def push_data( json_payload["sites"] = sites if spaces is not None: json_payload["spaces"] = spaces - if staff_members is not None: - json_payload["staff_members"] = staff_members if tenants is not None: json_payload["tenants"] = tenants if units is not None: diff --git a/seam/routes/devices.py b/seam/routes/devices.py index 919106de..5ab2dcd2 100644 --- a/seam/routes/devices.py +++ b/seam/routes/devices.py @@ -119,10 +119,6 @@ def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] = None, device_types: Optional[ @@ -184,10 +180,6 @@ def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] ] = None, @@ -522,10 +514,6 @@ async def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] = None, device_types: Optional[ @@ -587,10 +575,6 @@ async def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] ] = None, @@ -945,10 +929,6 @@ def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] = None, device_types: Optional[ @@ -1010,10 +990,6 @@ def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] ] = None, @@ -1457,10 +1433,6 @@ async def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] = None, device_types: Optional[ @@ -1522,10 +1494,6 @@ async def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] ] = None, diff --git a/seam/routes/devices_unmanaged.py b/seam/routes/devices_unmanaged.py index 26698e18..c728f020 100644 --- a/seam/routes/devices_unmanaged.py +++ b/seam/routes/devices_unmanaged.py @@ -98,10 +98,6 @@ def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] = None, device_types: Optional[ @@ -163,10 +159,6 @@ def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] ] = None, @@ -386,10 +378,6 @@ async def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] = None, device_types: Optional[ @@ -451,10 +439,6 @@ async def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] ] = None, @@ -698,10 +682,6 @@ def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] = None, device_types: Optional[ @@ -763,10 +743,6 @@ def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] ] = None, @@ -1058,10 +1034,6 @@ async def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] = None, device_types: Optional[ @@ -1123,10 +1095,6 @@ async def list( "unifi_protect_camera", "sonos_speaker", "alertify_sensor", - "hayward_pool_controller", - "jandy_pool_controller", - "hayward_pool", - "jandy_pool", ] ] ] = None, diff --git a/seam/routes/events.py b/seam/routes/events.py index 05d77db8..44b73fa1 100644 --- a/seam/routes/events.py +++ b/seam/routes/events.py @@ -67,10 +67,6 @@ def list( "access_code.removed_from_device", "access_code.delay_in_setting_on_device", "access_code.failed_to_set_on_device", - "access_code.issued", - "access_code.delay_in_issuing", - "access_code.failed_to_issue", - "access_code.failed_to_update", "access_code.failed_to_delete", "access_code.deleted", "access_code.delay_in_removing_from_device", @@ -114,7 +110,6 @@ def list( "client_session.deleted", "connected_account.connected", "connected_account.created", - "connected_account.successful_login", "connected_account.disconnected", "connected_account.completed_first_sync", "connected_account.deleted", @@ -167,13 +162,9 @@ def list( "thermostat.temperature_threshold_no_longer_exceeded", "thermostat.temperature_reached_set_point", "thermostat.temperature_changed", - "pool.temperature_changed", - "pool.temperature_reached_set_point", - "pool.manually_adjusted", "device.name_changed", "camera.activated", "device.doorbell_rang", - "enrollment_automation.deleted", "phone.deactivated", "space.device_membership_changed", "space.created", @@ -194,10 +185,6 @@ def list( "access_code.removed_from_device", "access_code.delay_in_setting_on_device", "access_code.failed_to_set_on_device", - "access_code.issued", - "access_code.delay_in_issuing", - "access_code.failed_to_issue", - "access_code.failed_to_update", "access_code.failed_to_delete", "access_code.deleted", "access_code.delay_in_removing_from_device", @@ -241,7 +228,6 @@ def list( "client_session.deleted", "connected_account.connected", "connected_account.created", - "connected_account.successful_login", "connected_account.disconnected", "connected_account.completed_first_sync", "connected_account.deleted", @@ -294,13 +280,9 @@ def list( "thermostat.temperature_threshold_no_longer_exceeded", "thermostat.temperature_reached_set_point", "thermostat.temperature_changed", - "pool.temperature_changed", - "pool.temperature_reached_set_point", - "pool.manually_adjusted", "device.name_changed", "camera.activated", "device.doorbell_rang", - "enrollment_automation.deleted", "phone.deactivated", "space.device_membership_changed", "space.created", @@ -439,10 +421,6 @@ async def list( "access_code.removed_from_device", "access_code.delay_in_setting_on_device", "access_code.failed_to_set_on_device", - "access_code.issued", - "access_code.delay_in_issuing", - "access_code.failed_to_issue", - "access_code.failed_to_update", "access_code.failed_to_delete", "access_code.deleted", "access_code.delay_in_removing_from_device", @@ -486,7 +464,6 @@ async def list( "client_session.deleted", "connected_account.connected", "connected_account.created", - "connected_account.successful_login", "connected_account.disconnected", "connected_account.completed_first_sync", "connected_account.deleted", @@ -539,13 +516,9 @@ async def list( "thermostat.temperature_threshold_no_longer_exceeded", "thermostat.temperature_reached_set_point", "thermostat.temperature_changed", - "pool.temperature_changed", - "pool.temperature_reached_set_point", - "pool.manually_adjusted", "device.name_changed", "camera.activated", "device.doorbell_rang", - "enrollment_automation.deleted", "phone.deactivated", "space.device_membership_changed", "space.created", @@ -566,10 +539,6 @@ async def list( "access_code.removed_from_device", "access_code.delay_in_setting_on_device", "access_code.failed_to_set_on_device", - "access_code.issued", - "access_code.delay_in_issuing", - "access_code.failed_to_issue", - "access_code.failed_to_update", "access_code.failed_to_delete", "access_code.deleted", "access_code.delay_in_removing_from_device", @@ -613,7 +582,6 @@ async def list( "client_session.deleted", "connected_account.connected", "connected_account.created", - "connected_account.successful_login", "connected_account.disconnected", "connected_account.completed_first_sync", "connected_account.deleted", @@ -666,13 +634,9 @@ async def list( "thermostat.temperature_threshold_no_longer_exceeded", "thermostat.temperature_reached_set_point", "thermostat.temperature_changed", - "pool.temperature_changed", - "pool.temperature_reached_set_point", - "pool.manually_adjusted", "device.name_changed", "camera.activated", "device.doorbell_rang", - "enrollment_automation.deleted", "phone.deactivated", "space.device_membership_changed", "space.created", @@ -864,10 +828,6 @@ def list( "access_code.removed_from_device", "access_code.delay_in_setting_on_device", "access_code.failed_to_set_on_device", - "access_code.issued", - "access_code.delay_in_issuing", - "access_code.failed_to_issue", - "access_code.failed_to_update", "access_code.failed_to_delete", "access_code.deleted", "access_code.delay_in_removing_from_device", @@ -911,7 +871,6 @@ def list( "client_session.deleted", "connected_account.connected", "connected_account.created", - "connected_account.successful_login", "connected_account.disconnected", "connected_account.completed_first_sync", "connected_account.deleted", @@ -964,13 +923,9 @@ def list( "thermostat.temperature_threshold_no_longer_exceeded", "thermostat.temperature_reached_set_point", "thermostat.temperature_changed", - "pool.temperature_changed", - "pool.temperature_reached_set_point", - "pool.manually_adjusted", "device.name_changed", "camera.activated", "device.doorbell_rang", - "enrollment_automation.deleted", "phone.deactivated", "space.device_membership_changed", "space.created", @@ -991,10 +946,6 @@ def list( "access_code.removed_from_device", "access_code.delay_in_setting_on_device", "access_code.failed_to_set_on_device", - "access_code.issued", - "access_code.delay_in_issuing", - "access_code.failed_to_issue", - "access_code.failed_to_update", "access_code.failed_to_delete", "access_code.deleted", "access_code.delay_in_removing_from_device", @@ -1038,7 +989,6 @@ def list( "client_session.deleted", "connected_account.connected", "connected_account.created", - "connected_account.successful_login", "connected_account.disconnected", "connected_account.completed_first_sync", "connected_account.deleted", @@ -1091,13 +1041,9 @@ def list( "thermostat.temperature_threshold_no_longer_exceeded", "thermostat.temperature_reached_set_point", "thermostat.temperature_changed", - "pool.temperature_changed", - "pool.temperature_reached_set_point", - "pool.manually_adjusted", "device.name_changed", "camera.activated", "device.doorbell_rang", - "enrollment_automation.deleted", "phone.deactivated", "space.device_membership_changed", "space.created", @@ -1352,10 +1298,6 @@ async def list( "access_code.removed_from_device", "access_code.delay_in_setting_on_device", "access_code.failed_to_set_on_device", - "access_code.issued", - "access_code.delay_in_issuing", - "access_code.failed_to_issue", - "access_code.failed_to_update", "access_code.failed_to_delete", "access_code.deleted", "access_code.delay_in_removing_from_device", @@ -1399,7 +1341,6 @@ async def list( "client_session.deleted", "connected_account.connected", "connected_account.created", - "connected_account.successful_login", "connected_account.disconnected", "connected_account.completed_first_sync", "connected_account.deleted", @@ -1452,13 +1393,9 @@ async def list( "thermostat.temperature_threshold_no_longer_exceeded", "thermostat.temperature_reached_set_point", "thermostat.temperature_changed", - "pool.temperature_changed", - "pool.temperature_reached_set_point", - "pool.manually_adjusted", "device.name_changed", "camera.activated", "device.doorbell_rang", - "enrollment_automation.deleted", "phone.deactivated", "space.device_membership_changed", "space.created", @@ -1479,10 +1416,6 @@ async def list( "access_code.removed_from_device", "access_code.delay_in_setting_on_device", "access_code.failed_to_set_on_device", - "access_code.issued", - "access_code.delay_in_issuing", - "access_code.failed_to_issue", - "access_code.failed_to_update", "access_code.failed_to_delete", "access_code.deleted", "access_code.delay_in_removing_from_device", @@ -1526,7 +1459,6 @@ async def list( "client_session.deleted", "connected_account.connected", "connected_account.created", - "connected_account.successful_login", "connected_account.disconnected", "connected_account.completed_first_sync", "connected_account.deleted", @@ -1579,13 +1511,9 @@ async def list( "thermostat.temperature_threshold_no_longer_exceeded", "thermostat.temperature_reached_set_point", "thermostat.temperature_changed", - "pool.temperature_changed", - "pool.temperature_reached_set_point", - "pool.manually_adjusted", "device.name_changed", "camera.activated", "device.doorbell_rang", - "enrollment_automation.deleted", "phone.deactivated", "space.device_membership_changed", "space.created",