Skip to content

Commit

Permalink
ci: Generate code
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Apr 3, 2024
1 parent ca80a5f commit 2311e96
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions seam/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,7 @@ def __init__(


class AbstractActionAttempts(abc.ABC):

@abc.abstractmethod
def get(self, *, action_attempt_id: str) -> ActionAttempt:
raise NotImplementedError()
Expand All @@ -665,6 +666,7 @@ def poll_until_ready(


class AbstractClientSessions(abc.ABC):

@abc.abstractmethod
def create(
self,
Expand Down Expand Up @@ -732,6 +734,7 @@ def revoke(self, *, client_session_id: str) -> None:


class AbstractConnectWebviews(abc.ABC):

@abc.abstractmethod
def create(
self,
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -794,6 +798,7 @@ def update(


class AbstractEvents(abc.ABC):

@abc.abstractmethod
def get(
self,
Expand Down Expand Up @@ -823,6 +828,7 @@ def list(


class AbstractLocks(abc.ABC):

@abc.abstractmethod
def get(
self, *, device_id: Optional[str] = None, name: Optional[str] = None
Expand Down Expand Up @@ -863,6 +869,7 @@ def unlock_door(


class AbstractNetworks(abc.ABC):

@abc.abstractmethod
def get(self, *, network_id: str) -> None:
raise NotImplementedError()
Expand All @@ -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()
Expand All @@ -899,6 +907,7 @@ def update(self, *, webhook_id: str, event_types: List[str]) -> None:


class AbstractWorkspaces(abc.ABC):

@abc.abstractmethod
def create(
self,
Expand Down Expand Up @@ -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
Expand All @@ -939,6 +949,7 @@ def create_unmanaged_access_code(


class AbstractAccessCodesUnmanaged(abc.ABC):

@abc.abstractmethod
def convert_to_managed(
self,
Expand Down Expand Up @@ -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()
Expand All @@ -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,
Expand All @@ -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()
Expand Down Expand Up @@ -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()
Expand All @@ -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()
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -1301,6 +1325,7 @@ def create_sandbox_phone(


class AbstractThermostatsClimateSettingSchedules(abc.ABC):

@abc.abstractmethod
def create(
self,
Expand Down Expand Up @@ -1362,6 +1387,7 @@ def update(


class AbstractUserIdentitiesEnrollmentAutomations(abc.ABC):

@abc.abstractmethod
def delete(self, *, enrollment_automation_id: str) -> None:
raise NotImplementedError()
Expand All @@ -1388,6 +1414,7 @@ def list(self, *, user_identity_id: str) -> None:


class AbstractHealth(abc.ABC):

@property
@abc.abstractmethod
def service(self) -> AbstractHealthService:
Expand All @@ -1405,6 +1432,7 @@ def get_service_health(self, *, service: str) -> None:


class AbstractPhones(abc.ABC):

@property
@abc.abstractmethod
def simulate(self) -> AbstractPhonesSimulate:
Expand All @@ -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:
Expand Down Expand Up @@ -1509,6 +1538,7 @@ def update(


class AbstractUserIdentities(abc.ABC):

@property
@abc.abstractmethod
def enrollment_automations(self) -> AbstractUserIdentitiesEnrollmentAutomations:
Expand Down Expand Up @@ -1584,6 +1614,7 @@ def update(


class AbstractAccessCodes(abc.ABC):

@property
@abc.abstractmethod
def simulate(self) -> AbstractAccessCodesSimulate:
Expand Down Expand Up @@ -1705,6 +1736,7 @@ def update(


class AbstractDevices(abc.ABC):

@property
@abc.abstractmethod
def simulate(self) -> AbstractDevicesSimulate:
Expand Down

0 comments on commit 2311e96

Please sign in to comment.