Constructors
constructor
- new SeamHttpDevices(apiKeyOrOptions?): SeamHttpDevices
- 
Properties
client
client: AxiosInstance
Methods
delete
- delete(body): Promise<void>
- 
Parameters
- 
body: { 
 device_id: string;
 }
 
 Returns Promise<void>
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: true;
 location: null | {
 location_name?: string;
 timezone?: string;
 };
 properties: Object;
 warnings: {
 message: string;
 warning_code: string;
 }[];
 workspace_id: string;
 }>
- 
Parameters
- 
body: { 
 device_id?: string;
 name?: string;
 }
- 
Optionaldevice_id?: string
- 
Optionalname?: 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: true;
 location: null | {
 location_name?: string;
 timezone?: string;
 };
 properties: Object;
 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: true;
 location: null | {
 location_name?: string;
 timezone?: string;
 };
 properties: Object;
 warnings: {
 message: string;
 warning_code: string;
 }[];
 workspace_id: string;
 }[]>
- 
Parameters
- 
body: { 
 connect_webview_id?: string;
 connected_account_id?: string;
 connected_account_ids?: string[];
 created_before?: string;
 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;
 }
- 
Optionalconnect_webview_id?: string
- 
Optionalconnected_account_id?: string
- 
Optionalconnected_account_ids?: string[]
- 
Optionalcreated_before?: string
- 
Optionaldevice_ids?: string[]
- 
Optionaldevice_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"
- 
Optionaldevice_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")[]
- 
Optionallimit?: number
- 
Optionalmanufacturer?: "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"
- 
Optionaluser_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: true;
 location: null | {
 location_name?: string;
 timezone?: string;
 };
 properties: Object;
 warnings: {
 message: string;
 warning_code: string;
 }[];
 workspace_id: string;
 }[]>
listDeviceProviders
- listDeviceProviders(body): Promise<{ 
 device_provider_name: string;
 display_name: string;
 image_url: string;
 provider_categories: ("stable" | "consumer_smartlocks")[];
 }[]>
- 
Parameters
- 
body: { 
 provider_category?: "stable" | "consumer_smartlocks";
 }
- 
Optionalprovider_category?: "stable" | "consumer_smartlocks"
 
 
 Returns Promise<{ 
 device_provider_name: string;
 display_name: string;
 image_url: string;
 provider_categories: ("stable" | "consumer_smartlocks")[];
 }[]>
update
- update(body): Promise<void>
- 
Parameters
- 
body: { 
 device_id: string;
 is_managed?: boolean;
 location?: {};
 name?: null | string;
 properties?: {
 name?: null | string;
 };
 }
- 
device_id: string
- 
Optionalis_managed?: boolean
- 
Optionallocation?: {}
- 
Optionalname?: null | string
- 
Optionalproperties?: {
 name?: null | string;
 }
- 
Optionalname?: null | string
 
 
 
 Returns Promise<void>
Static fromApiKey
- fromApiKey(apiKey, options?): SeamHttpDevices
- 
Static fromClient
- fromClient(client, options?): SeamHttpDevices
- 
Static fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpDevices
- 
Parameters
- 
clientSessionToken: string
- 
 
 
Static fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpDevices>
- 
Parameters
- 
publishableKey: string
- 
userIdentifierKey: string
-