@seamapi/http - v1.70.0
    Preparing search index...

    Class SeamHttpDevicesUnmanaged

    Index

    Constructors

    Properties

    client: AxiosInstance
    defaults: Required<SeamHttpRequestOptions>
    ltsVersion: "1.0.0" = seamApiLtsVersion
    ltsVersion: string = seamApiLtsVersion

    Methods

    • Parameters

      • Optionalparameters: {
            connect_webview_id?: string;
            connected_account_id?: string;
            connected_account_ids?: string[];
            created_before?: Date;
            custom_metadata_has?: { [x: string]: string | boolean };
            customer_key?: 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"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            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"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone"
            )[];
            exclude_if?: (
                | "can_remotely_unlock"
                | "can_remotely_lock"
                | "can_program_offline_access_codes"
                | "can_program_online_access_codes"
                | "can_hvac_heat"
                | "can_hvac_cool"
                | "can_hvac_heat_cool"
                | "can_turn_off_hvac"
                | "can_simulate_removal"
                | "can_simulate_connection"
                | "can_simulate_disconnection"
                | "can_unlock_with_code"
                | "can_run_thermostat_programs"
                | "can_simulate_hub_connection"
                | "can_simulate_hub_disconnection"
                | "can_simulate_paid_subscription"
            )[];
            include_if?: (
                | "can_remotely_unlock"
                | "can_remotely_lock"
                | "can_program_offline_access_codes"
                | "can_program_online_access_codes"
                | "can_hvac_heat"
                | "can_hvac_cool"
                | "can_hvac_heat_cool"
                | "can_turn_off_hvac"
                | "can_simulate_removal"
                | "can_simulate_connection"
                | "can_simulate_disconnection"
                | "can_unlock_with_code"
                | "can_run_thermostat_programs"
                | "can_simulate_hub_connection"
                | "can_simulate_hub_disconnection"
                | "can_simulate_paid_subscription"
            )[];
            limit?: number;
            manufacturer?: | "akuvox"
            | "august"
            | "avigilon_alta"
            | "brivo"
            | "butterflymx"
            | "schlage"
            | "smartthings"
            | "yale"
            | "genie"
            | "doorking"
            | "salto"
            | "lockly"
            | "ttlock"
            | "linear"
            | "noiseaware"
            | "nuki"
            | "igloo"
            | "kwikset"
            | "minut"
            | "controlbyweb"
            | "nest"
            | "igloohome"
            | "ecobee"
            | "hubitat"
            | "four_suites"
            | "dormakaba_oracode"
            | "wyze"
            | "tedee"
            | "honeywell_resideo"
            | "akiles"
            | "tado"
            | "sensi"
            | "kwikset2"
            | "keynest"
            | "keywe"
            | "philia"
            | "samsung"
            | "seam"
            | "unknown"
            | "two_n";
            page_cursor?: null
            | string;
            search?: string;
            space_id?: string;
            unstable_location_id?: null | string;
            user_identifier_key?: string;
        }
        • Optionalconnect_webview_id?: string

          ID of the Connect Webview for which you want to list devices.

        • Optionalconnected_account_id?: string

          ID of the connected account for which you want to list devices.

        • Optionalconnected_account_ids?: string[]

          Array of IDs of the connected accounts for which you want to list devices.

        • Optionalcreated_before?: Date

          Timestamp by which to limit returned devices. Returns devices created before this timestamp.

        • Optionalcustom_metadata_has?: { [x: string]: string | boolean }

          Set of key:value custom metadata pairs for which you want to list devices.

        • Optionalcustomer_key?: string

          Customer key for which you want to list devices.

        • Optionaldevice_ids?: string[]

          Array of device IDs for which you want to list devices.

        • 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"
              | "tedee_lock"
              | "akiles_lock"
              | "noiseaware_activity_zone"
              | "minut_sensor"
              | "ecobee_thermostat"
              | "nest_thermostat"
              | "honeywell_resideo_thermostat"
              | "tado_thermostat"
              | "sensi_thermostat"
              | "smartthings_thermostat"
              | "ios_phone"
              | "android_phone"

          Device type for which you want to list devices.

        • 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"
              | "tedee_lock"
              | "akiles_lock"
              | "noiseaware_activity_zone"
              | "minut_sensor"
              | "ecobee_thermostat"
              | "nest_thermostat"
              | "honeywell_resideo_thermostat"
              | "tado_thermostat"
              | "sensi_thermostat"
              | "smartthings_thermostat"
              | "ios_phone"
              | "android_phone"
          )[]

          Array of device types for which you want to list devices.

        • Optionalexclude_if?: (
              | "can_remotely_unlock"
              | "can_remotely_lock"
              | "can_program_offline_access_codes"
              | "can_program_online_access_codes"
              | "can_hvac_heat"
              | "can_hvac_cool"
              | "can_hvac_heat_cool"
              | "can_turn_off_hvac"
              | "can_simulate_removal"
              | "can_simulate_connection"
              | "can_simulate_disconnection"
              | "can_unlock_with_code"
              | "can_run_thermostat_programs"
              | "can_simulate_hub_connection"
              | "can_simulate_hub_disconnection"
              | "can_simulate_paid_subscription"
          )[]
        • Optionalinclude_if?: (
              | "can_remotely_unlock"
              | "can_remotely_lock"
              | "can_program_offline_access_codes"
              | "can_program_online_access_codes"
              | "can_hvac_heat"
              | "can_hvac_cool"
              | "can_hvac_heat_cool"
              | "can_turn_off_hvac"
              | "can_simulate_removal"
              | "can_simulate_connection"
              | "can_simulate_disconnection"
              | "can_unlock_with_code"
              | "can_run_thermostat_programs"
              | "can_simulate_hub_connection"
              | "can_simulate_hub_disconnection"
              | "can_simulate_paid_subscription"
          )[]
        • Optionallimit?: number

          Numerical limit on the number of devices to return.

        • Optionalmanufacturer?:
              | "akuvox"
              | "august"
              | "avigilon_alta"
              | "brivo"
              | "butterflymx"
              | "schlage"
              | "smartthings"
              | "yale"
              | "genie"
              | "doorking"
              | "salto"
              | "lockly"
              | "ttlock"
              | "linear"
              | "noiseaware"
              | "nuki"
              | "igloo"
              | "kwikset"
              | "minut"
              | "controlbyweb"
              | "nest"
              | "igloohome"
              | "ecobee"
              | "hubitat"
              | "four_suites"
              | "dormakaba_oracode"
              | "wyze"
              | "tedee"
              | "honeywell_resideo"
              | "akiles"
              | "tado"
              | "sensi"
              | "kwikset2"
              | "keynest"
              | "keywe"
              | "philia"
              | "samsung"
              | "seam"
              | "unknown"
              | "two_n"

          Manufacturer for which you want to list devices.

        • Optionalpage_cursor?: null | string

          Identifies the specific page of results to return, obtained from the previous page's next_page_cursor.

        • Optionalsearch?: string

          String for which to search. Filters returned devices to include all records that satisfy a partial match using device_id, display_name, custom_metadata or location.location_name.

        • Optionalspace_id?: string

          ID of the space for which you want to list devices.

        • Optionalunstable_location_id?: null | string

          Use space_id.

        • Optionaluser_identifier_key?: string

          Your own internal user ID for the user for which you want to list devices.

      • options: DevicesUnmanagedListOptions = {}

      Returns DevicesUnmanagedListRequest

    • Parameters

      • Optionalparameters: {
            custom_metadata?: { [x: string]: null | string | boolean };
            device_id: string;
            is_managed?: true;
        }
        • Optionalcustom_metadata?: { [x: string]: null | string | boolean }

          Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs.

        • device_id: string

          ID of the unmanaged device that you want to update.

        • Optionalis_managed?: true

          Indicates whether the device is managed. Set this parameter to true to convert an unmanaged device to managed.

      • options: DevicesUnmanagedUpdateOptions = {}

      Returns DevicesUnmanagedUpdateRequest

    • Parameters

      • clientSessionToken: string

      Returns Promise<void>