diff --git a/seam/types.py b/seam/types.py index f4db1dd..65a14f0 100644 --- a/seam/types.py +++ b/seam/types.py @@ -645,6 +645,7 @@ def __init__( class AbstractActionAttempts(abc.ABC): + @abc.abstractmethod def get(self, *, action_attempt_id: str) -> ActionAttempt: raise NotImplementedError() @@ -665,6 +666,7 @@ def poll_until_ready( class AbstractClientSessions(abc.ABC): + @abc.abstractmethod def create( self, @@ -732,6 +734,7 @@ def revoke(self, *, client_session_id: str) -> None: class AbstractConnectWebviews(abc.ABC): + @abc.abstractmethod def create( self, @@ -766,6 +769,7 @@ def list( class AbstractConnectedAccounts(abc.ABC): + @abc.abstractmethod def delete(self, *, connected_account_id: str, sync: Optional[bool] = None) -> None: raise NotImplementedError() @@ -794,6 +798,7 @@ def update( class AbstractEvents(abc.ABC): + @abc.abstractmethod def get( self, @@ -823,6 +828,7 @@ def list( class AbstractLocks(abc.ABC): + @abc.abstractmethod def get( self, *, device_id: Optional[str] = None, name: Optional[str] = None @@ -863,6 +869,7 @@ def unlock_door( class AbstractNetworks(abc.ABC): + @abc.abstractmethod def get(self, *, network_id: str) -> None: raise NotImplementedError() @@ -875,6 +882,7 @@ def list( class AbstractWebhooks(abc.ABC): + @abc.abstractmethod def create(self, *, url: str, event_types: Optional[List[str]] = None) -> Webhook: raise NotImplementedError() @@ -899,6 +907,7 @@ def update(self, *, webhook_id: str, event_types: List[str]) -> None: class AbstractWorkspaces(abc.ABC): + @abc.abstractmethod def create( self, @@ -931,6 +940,7 @@ def reset_sandbox( class AbstractAccessCodesSimulate(abc.ABC): + @abc.abstractmethod def create_unmanaged_access_code( self, *, device_id: str, name: str, code: str @@ -939,6 +949,7 @@ def create_unmanaged_access_code( class AbstractAccessCodesUnmanaged(abc.ABC): + @abc.abstractmethod def convert_to_managed( self, @@ -985,6 +996,7 @@ def update( class AbstractAcsAccessGroups(abc.ABC): + @abc.abstractmethod def add_user(self, *, acs_access_group_id: str, acs_user_id: str) -> None: raise NotImplementedError() @@ -1009,12 +1021,14 @@ def remove_user(self, *, acs_access_group_id: str, acs_user_id: str) -> None: class AbstractAcsCredentialPools(abc.ABC): + @abc.abstractmethod def list(self, *, acs_system_id: str) -> None: raise NotImplementedError() class AbstractAcsCredentialProvisioningAutomations(abc.ABC): + @abc.abstractmethod def launch( self, @@ -1029,6 +1043,7 @@ def launch( class AbstractAcsCredentials(abc.ABC): + @abc.abstractmethod def assign(self, *, acs_user_id: str, acs_credential_id: str) -> None: raise NotImplementedError() @@ -1078,6 +1093,7 @@ def update(self, *, acs_credential_id: str, code: str) -> None: class AbstractAcsEntrances(abc.ABC): + @abc.abstractmethod def get(self, *, acs_entrance_id: str) -> None: raise NotImplementedError() @@ -1103,6 +1119,7 @@ def list_credentials_with_access( class AbstractAcsSystems(abc.ABC): + @abc.abstractmethod def get(self, *, acs_system_id: str) -> None: raise NotImplementedError() @@ -1113,6 +1130,7 @@ def list(self, *, connected_account_id: Optional[str] = None) -> None: class AbstractAcsUsers(abc.ABC): + @abc.abstractmethod def add_to_access_group( self, *, acs_user_id: str, acs_access_group_id: str @@ -1191,12 +1209,14 @@ def update( class AbstractDevicesSimulate(abc.ABC): + @abc.abstractmethod def remove(self, *, device_id: str) -> None: raise NotImplementedError() class AbstractDevicesUnmanaged(abc.ABC): + @abc.abstractmethod def get( self, *, device_id: Optional[str] = None, name: Optional[str] = None @@ -1229,12 +1249,14 @@ def update(self, *, device_id: str, is_managed: bool) -> None: class AbstractHealthService(abc.ABC): + @abc.abstractmethod def by_service_name(self, *, service_name: str) -> None: raise NotImplementedError() class AbstractNoiseSensorsNoiseThresholds(abc.ABC): + @abc.abstractmethod def create( self, @@ -1282,12 +1304,14 @@ def update( class AbstractNoiseSensorsSimulate(abc.ABC): + @abc.abstractmethod def trigger_noise_threshold(self, *, device_id: str) -> None: raise NotImplementedError() class AbstractPhonesSimulate(abc.ABC): + @abc.abstractmethod def create_sandbox_phone( self, @@ -1301,6 +1325,7 @@ def create_sandbox_phone( class AbstractThermostatsClimateSettingSchedules(abc.ABC): + @abc.abstractmethod def create( self, @@ -1362,6 +1387,7 @@ def update( class AbstractUserIdentitiesEnrollmentAutomations(abc.ABC): + @abc.abstractmethod def delete(self, *, enrollment_automation_id: str) -> None: raise NotImplementedError() @@ -1388,6 +1414,7 @@ def list(self, *, user_identity_id: str) -> None: class AbstractHealth(abc.ABC): + @property @abc.abstractmethod def service(self) -> AbstractHealthService: @@ -1405,6 +1432,7 @@ def get_service_health(self, *, service: str) -> None: class AbstractPhones(abc.ABC): + @property @abc.abstractmethod def simulate(self) -> AbstractPhonesSimulate: @@ -1420,6 +1448,7 @@ def list(self, *, owner_user_identity_id: Optional[str] = None) -> List[Phone]: class AbstractThermostats(abc.ABC): + @property @abc.abstractmethod def climate_setting_schedules(self) -> AbstractThermostatsClimateSettingSchedules: @@ -1509,6 +1538,7 @@ def update( class AbstractUserIdentities(abc.ABC): + @property @abc.abstractmethod def enrollment_automations(self) -> AbstractUserIdentitiesEnrollmentAutomations: @@ -1584,6 +1614,7 @@ def update( class AbstractAccessCodes(abc.ABC): + @property @abc.abstractmethod def simulate(self) -> AbstractAccessCodesSimulate: @@ -1705,6 +1736,7 @@ def update( class AbstractDevices(abc.ABC): + @property @abc.abstractmethod def simulate(self) -> AbstractDevicesSimulate: