Class SeamHttpDevicesUnmanaged
Constructors
constructor
- new SeamHttpDevicesUnmanaged(apiKeyOrOptions?): SeamHttpDevicesUnmanaged
Properties
client
client: AxiosInstance
Readonly
defaults
Methods
get
- get(body?): Promise<{
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
connected_account_id: string;
created_at: string;
device_id: string;
device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
errors: {
error_code: string;
message: string;
}[];
is_managed: false;
properties: {
image_alt_text?: string;
image_url?: string;
manufacturer?: string;
model: {
display_name: string;
manufacturer_display_name: string;
};
name: string;
online: boolean;
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
}> Parameters
Optional
body: {
device_id?: string;
name?: string;
}
Optional
device_id?: string
Optional
name?: string
Returns Promise<{
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
connected_account_id: string;
created_at: string;
device_id: string;
device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
errors: {
error_code: string;
message: string;
}[];
is_managed: false;
properties: {
image_alt_text?: string;
image_url?: string;
manufacturer?: string;
model: {
display_name: string;
manufacturer_display_name: string;
};
name: string;
online: boolean;
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
}>
list
- list(body?): Promise<{
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
connected_account_id: string;
created_at: string;
device_id: string;
device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
errors: {
error_code: string;
message: string;
}[];
is_managed: false;
properties: {
image_alt_text?: string;
image_url?: string;
manufacturer?: string;
model: {
display_name: string;
manufacturer_display_name: string;
};
name: string;
online: boolean;
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
}[]> Parameters
Optional
body: {
connect_webview_id?: string;
connected_account_id?: string;
connected_account_ids?: string[];
created_before?: Date;
device_ids?: string[];
device_type?: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
device_types?: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat")[];
limit?: number;
manufacturer?: "linear" | "unknown" | "akuvox" | "august" | "avigilon_alta" | "brivo" | "butterflymx" | "schlage" | "smartthings" | "yale" | "genie" | "doorking" | "salto" | "lockly" | "ttlock" | "nuki" | "igloo" | "kwikset" | "minut" | "controlbyweb" | "nest" | "igloohome" | "ecobee" | "hubitat" | "four_suites" | "dormakaba_oracode" | "wyze" | "keywe" | "philia" | "samsung" | "seam" | "two_n";
user_identifier_key?: string;
}
Optional
connect_webview_id?: string
Optional
connected_account_id?: string
Optional
connected_account_ids?: string[]
Optional
created_before?: Date
Optional
device_ids?: string[]
Optional
device_type?: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat"
Optional
device_types?: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat")[]
Optional
limit?: number
Optional
manufacturer?: "linear" | "unknown" | "akuvox" | "august" | "avigilon_alta" | "brivo" | "butterflymx" | "schlage" | "smartthings" | "yale" | "genie" | "doorking" | "salto" | "lockly" | "ttlock" | "nuki" | "igloo" | "kwikset" | "minut" | "controlbyweb" | "nest" | "igloohome" | "ecobee" | "hubitat" | "four_suites" | "dormakaba_oracode" | "wyze" | "keywe" | "philia" | "samsung" | "seam" | "two_n"
Optional
user_identifier_key?: string
Returns Promise<{
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
connected_account_id: string;
created_at: string;
device_id: string;
device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
errors: {
error_code: string;
message: string;
}[];
is_managed: false;
properties: {
image_alt_text?: string;
image_url?: string;
manufacturer?: string;
model: {
display_name: string;
manufacturer_display_name: string;
};
name: string;
online: boolean;
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
}[]>
update
- update(body?): Promise<void>
Parameters
Optional
body: {
device_id: string;
is_managed: true;
}
device_id: string
is_managed: true
Returns Promise<void>
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpDevicesUnmanaged
Parameters
clientSessionToken: string
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpDevicesUnmanaged
Parameters
consoleSessionToken: string
workspaceId: string
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpDevicesUnmanaged
Parameters
personalAccessToken: string
workspaceId: string
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpDevicesUnmanaged>
Parameters
publishableKey: string
userIdentifierKey: string
List all devices owned by this connected account