Constructors

Properties

Accessors

/access_codes/create /access_codes/create_multiple /access_codes/delete /access_codes/generate_code /access_codes/get /access_codes/list /access_codes/pull_backup_access_code /access_codes/report_device_constraints /access_codes/simulate/create_unmanaged_access_code /access_codes/unmanaged/convert_to_managed /access_codes/unmanaged/delete /access_codes/unmanaged/get /access_codes/unmanaged/list /access_codes/unmanaged/update /access_codes/update /access_codes/update_multiple /access_grants/create /access_grants/delete /access_grants/get /access_grants/list /access_grants/update /access_methods/delete /access_methods/get /access_methods/list /acs/access_groups/add_user /acs/access_groups/get /acs/access_groups/list /acs/access_groups/list_accessible_entrances /acs/access_groups/list_users /acs/access_groups/remove_user /acs/access_groups/unmanaged/get /acs/access_groups/unmanaged/list /acs/credential_pools/list /acs/credential_provisioning_automations/launch /acs/credentials/assign /acs/credentials/create /acs/credentials/create_offline_code /acs/credentials/delete /acs/credentials/get /acs/credentials/list /acs/credentials/list_accessible_entrances /acs/credentials/unassign /acs/credentials/unmanaged/get /acs/credentials/unmanaged/list /acs/credentials/update /acs/encoders/encode_access_method /acs/encoders/encode_credential /acs/encoders/get /acs/encoders/list /acs/encoders/scan_credential /acs/encoders/simulate/next_credential_encode_will_fail /acs/encoders/simulate/next_credential_encode_will_succeed /acs/encoders/simulate/next_credential_scan_will_fail /acs/encoders/simulate/next_credential_scan_will_succeed /acs/entrances/get /acs/entrances/grant_access /acs/entrances/list /acs/entrances/list_credentials_with_access /acs/systems/get /acs/systems/list /acs/systems/list_compatible_credential_manager_acs_systems /acs/users/add_to_access_group /acs/users/create /acs/users/delete /acs/users/get /acs/users/list /acs/users/list_accessible_entrances /acs/users/remove_from_access_group /acs/users/revoke_access_to_all_entrances /acs/users/suspend /acs/users/unmanaged/get /acs/users/unmanaged/list /acs/users/unsuspend /acs/users/update /action_attempts/get /action_attempts/list /bridges/get /bridges/list /client_sessions/create /client_sessions/delete /client_sessions/get /client_sessions/get_or_create /client_sessions/grant_access /client_sessions/list /client_sessions/revoke /connect_webviews/create /connect_webviews/delete /connect_webviews/get /connect_webviews/list /connected_accounts/delete /connected_accounts/get /connected_accounts/list /connected_accounts/sync /connected_accounts/update /devices/delete /devices/get /devices/list /devices/list_device_providers /devices/simulate/connect /devices/simulate/disconnect /devices/simulate/remove /devices/unmanaged/get /devices/unmanaged/list /devices/unmanaged/update /devices/update /events/get /events/list /locks/get /locks/list /locks/lock_door /locks/simulate/keypad_code_entry /locks/simulate/manual_lock_via_keypad /locks/unlock_door /networks/get /networks/list /noise_sensors/list /noise_sensors/noise_thresholds/create /noise_sensors/noise_thresholds/delete /noise_sensors/noise_thresholds/get /noise_sensors/noise_thresholds/list /noise_sensors/noise_thresholds/update /noise_sensors/simulate/trigger_noise_threshold /phones/deactivate /phones/get /phones/list /phones/simulate/create_sandbox_phone /seam/bridge/v1/bridge_client_sessions/create /seam/bridge/v1/bridge_client_sessions/get /seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token /seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code /seam/bridge/v1/bridge_client_sessions/report_status /seam/bridge/v1/bridge_connected_systems/list /seam/instant_key/v1/client_sessions/exchange_short_code /seam/mobile_sdk/v1/acs/credentials/list /seam/mobile_sdk/v1/phone_sessions/get_or_create /seam/partner/v1/building_blocks/spaces/auto_map /seam/partner/v1/resources/list /spaces/add_acs_entrances /spaces/add_devices /spaces/create /spaces/delete /spaces/get /spaces/list /spaces/remove_acs_entrances /spaces/remove_devices /spaces/update /thermostats/activate_climate_preset /thermostats/cool /thermostats/create_climate_preset /thermostats/daily_programs/create /thermostats/daily_programs/delete /thermostats/daily_programs/update /thermostats/delete_climate_preset /thermostats/get /thermostats/heat /thermostats/heat_cool /thermostats/list /thermostats/off /thermostats/schedules/create /thermostats/schedules/delete /thermostats/schedules/get /thermostats/schedules/list /thermostats/schedules/update /thermostats/set_fallback_climate_preset /thermostats/set_fan_mode /thermostats/set_hvac_mode /thermostats/set_temperature_threshold /thermostats/simulate/hvac_mode_adjusted /thermostats/simulate/temperature_reached /thermostats/update_climate_preset /thermostats/update_weekly_program /unstable_access_grants/create /unstable_access_grants/delete /unstable_access_grants/get /unstable_access_grants/list /unstable_access_methods/delete /unstable_access_methods/get /unstable_access_methods/list /unstable_locations/add_acs_entrances /unstable_locations/add_devices /unstable_locations/create /unstable_locations/delete /unstable_locations/get /unstable_locations/list /unstable_locations/remove_acs_entrances /unstable_locations/remove_devices /unstable_locations/update /unstable_partner/building_blocks/connect_accounts /unstable_partner/building_blocks/generate_magic_link /unstable_partner/building_blocks/manage_devices /unstable_partner/building_blocks/organize_spaces /unstable_partner/resources/push /user_identities/add_acs_user /user_identities/create /user_identities/delete /user_identities/enrollment_automations/delete /user_identities/enrollment_automations/get /user_identities/enrollment_automations/launch /user_identities/enrollment_automations/list /user_identities/generate_instant_key /user_identities/get /user_identities/grant_access_to_device /user_identities/list /user_identities/list_accessible_devices /user_identities/list_acs_systems /user_identities/list_acs_users /user_identities/remove_acs_user /user_identities/revoke_access_to_device /user_identities/update /webhooks/create /webhooks/delete /webhooks/get /webhooks/list /webhooks/update /workspaces/create /workspaces/get /workspaces/list /workspaces/reset_sandbox /workspaces/update

Methods

Constructors

Properties

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

Accessors

  • get /access_codes/create(): ((parameters?: {
        allow_external_modification?: boolean;
        attempt_for_offline_device?: boolean;
        code?: string;
        common_code_key?: string;
        device_id: string;
        ends_at?: string;
        is_external_modification_allowed?: boolean;
        is_offline_access_code?: boolean;
        is_one_time_use?: boolean;
        max_time_rounding?:
            | "1hour"
            | "1day"
            | "1h"
            | "1d";
        name?: string;
        prefer_native_scheduling?: boolean;
        preferred_code_length?: number;
        starts_at?: string;
        sync?: boolean;
        use_backup_access_code_pool?: boolean;
        use_offline_access_code?: boolean;
    }, options?: AccessCodesCreateOptions) => AccessCodesCreateRequest)
  • Returns ((parameters?: {
        allow_external_modification?: boolean;
        attempt_for_offline_device?: boolean;
        code?: string;
        common_code_key?: string;
        device_id: string;
        ends_at?: string;
        is_external_modification_allowed?: boolean;
        is_offline_access_code?: boolean;
        is_one_time_use?: boolean;
        max_time_rounding?:
            | "1hour"
            | "1day"
            | "1h"
            | "1d";
        name?: string;
        prefer_native_scheduling?: boolean;
        preferred_code_length?: number;
        starts_at?: string;
        sync?: boolean;
        use_backup_access_code_pool?: boolean;
        use_offline_access_code?: boolean;
    }, options?: AccessCodesCreateOptions) => AccessCodesCreateRequest)

      • (parameters?, options?): AccessCodesCreateRequest
      • Parameters

        • Optionalparameters: {
              allow_external_modification?: boolean;
              attempt_for_offline_device?: boolean;
              code?: string;
              common_code_key?: string;
              device_id: string;
              ends_at?: string;
              is_external_modification_allowed?: boolean;
              is_offline_access_code?: boolean;
              is_one_time_use?: boolean;
              max_time_rounding?:
                  | "1hour"
                  | "1day"
                  | "1h"
                  | "1d";
              name?: string;
              prefer_native_scheduling?: boolean;
              preferred_code_length?: number;
              starts_at?: string;
              sync?: boolean;
              use_backup_access_code_pool?: boolean;
              use_offline_access_code?: boolean;
          }
          • Optionalallow_external_modification?: boolean

            Indicates whether external modification of the code is allowed. Default: false.

          • Optionalattempt_for_offline_device?: boolean
          • Optionalcode?: string

            Code to be used for access.

          • Optionalcommon_code_key?: string

            Key to identify access codes that should have the same code. Any two access codes with the same common_code_key are guaranteed to have the same code. See also Creating and Updating Multiple Linked Access Codes.

          • device_id: string

            ID of the device for which you want to create the new access code.

          • Optionalends_at?: string

            Date and time at which the validity of the new access code ends, in ISO 8601 format. Must be a time in the future and after starts_at.

          • Optionalis_external_modification_allowed?: boolean

            Indicates whether external modification of the code is allowed. Default: false.

          • Optionalis_offline_access_code?: boolean

            Indicates whether the access code is an offline access code.

          • Optionalis_one_time_use?: boolean

            Indicates whether the offline access code is a single-use access code.

          • Optionalmax_time_rounding?:
                | "1hour"
                | "1day"
                | "1h"
                | "1d"

            Maximum rounding adjustment. To create a daily-bound offline access code for devices that support this feature, set this parameter to 1d.

          • Optionalname?: string

            Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as first_name and last_name. To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints. To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called appearance. This is an object with a name property and, optionally, first_name and last_name properties (for providers that break down a name into components).

          • Optionalprefer_native_scheduling?: boolean

            Indicates whether native scheduling should be used for time-bound codes when supported by the provider. Default: true.

          • Optionalpreferred_code_length?: number

            Preferred code length. Only applicable if you do not specify a code. If the affected device does not support the preferred code length, Seam reverts to using the shortest supported code length.

          • Optionalstarts_at?: string

            Date and time at which the validity of the new access code starts, in ISO 8601 format.

          • Optionalsync?: boolean
          • Optionaluse_backup_access_code_pool?: boolean

            Indicates whether to use a backup access code pool provided by Seam. If true, you can use /access_codes/pull_backup_access_code.

          • Optionaluse_offline_access_code?: boolean
        • Optionaloptions: AccessCodesCreateOptions

        Returns AccessCodesCreateRequest

  • get /access_codes/create_multiple(): ((parameters?: {
        allow_external_modification?: boolean;
        attempt_for_offline_device?: boolean;
        behavior_when_code_cannot_be_shared?: "throw" | "create_random_code";
        code?: string;
        device_ids: string[];
        ends_at?: string;
        is_external_modification_allowed?: boolean;
        is_offline_access_code?: boolean;
        is_one_time_use?: boolean;
        max_time_rounding?:
            | "1hour"
            | "1day"
            | "1h"
            | "1d";
        name?: string;
        prefer_native_scheduling?: boolean;
        preferred_code_length?: number;
        starts_at?: string;
        use_backup_access_code_pool?: boolean;
        use_offline_access_code?: boolean;
    }, options?: AccessCodesCreateMultipleOptions) => AccessCodesCreateMultipleRequest)
  • Returns ((parameters?: {
        allow_external_modification?: boolean;
        attempt_for_offline_device?: boolean;
        behavior_when_code_cannot_be_shared?: "throw" | "create_random_code";
        code?: string;
        device_ids: string[];
        ends_at?: string;
        is_external_modification_allowed?: boolean;
        is_offline_access_code?: boolean;
        is_one_time_use?: boolean;
        max_time_rounding?:
            | "1hour"
            | "1day"
            | "1h"
            | "1d";
        name?: string;
        prefer_native_scheduling?: boolean;
        preferred_code_length?: number;
        starts_at?: string;
        use_backup_access_code_pool?: boolean;
        use_offline_access_code?: boolean;
    }, options?: AccessCodesCreateMultipleOptions) => AccessCodesCreateMultipleRequest)

      • (parameters?, options?): AccessCodesCreateMultipleRequest
      • Parameters

        • Optionalparameters: {
              allow_external_modification?: boolean;
              attempt_for_offline_device?: boolean;
              behavior_when_code_cannot_be_shared?: "throw" | "create_random_code";
              code?: string;
              device_ids: string[];
              ends_at?: string;
              is_external_modification_allowed?: boolean;
              is_offline_access_code?: boolean;
              is_one_time_use?: boolean;
              max_time_rounding?:
                  | "1hour"
                  | "1day"
                  | "1h"
                  | "1d";
              name?: string;
              prefer_native_scheduling?: boolean;
              preferred_code_length?: number;
              starts_at?: string;
              use_backup_access_code_pool?: boolean;
              use_offline_access_code?: boolean;
          }
          • Optionalallow_external_modification?: boolean

            Indicates whether external modification of the code is allowed. Default: false.

          • Optionalattempt_for_offline_device?: boolean
          • Optionalbehavior_when_code_cannot_be_shared?: "throw" | "create_random_code"

            Desired behavior if any device cannot share a code. If throw (default), no access codes will be created if any device cannot share a code. If create_random_code, a random code will be created on devices that cannot share a code.

          • Optionalcode?: string

            Code to be used for access.

          • device_ids: string[]

            IDs of the devices for which you want to create the new access codes.

          • Optionalends_at?: string

            Date and time at which the validity of the new access code ends, in ISO 8601 format. Must be a time in the future and after starts_at.

          • Optionalis_external_modification_allowed?: boolean

            Indicates whether external modification of the code is allowed. Default: false.

          • Optionalis_offline_access_code?: boolean

            Indicates whether the access code is an offline access code.

          • Optionalis_one_time_use?: boolean

            Indicates whether the offline access code is a single-use access code.

          • Optionalmax_time_rounding?:
                | "1hour"
                | "1day"
                | "1h"
                | "1d"

            Maximum rounding adjustment. To create a daily-bound offline access code for devices that support this feature, set this parameter to 1d.

          • Optionalname?: string

            Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as first_name and last_name. To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints. To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called appearance. This is an object with a name property and, optionally, first_name and last_name properties (for providers that break down a name into components).

          • Optionalprefer_native_scheduling?: boolean

            Indicates whether native scheduling should be used for time-bound codes when supported by the provider. Default: true.

          • Optionalpreferred_code_length?: number

            Preferred code length. Only applicable if you do not specify a code. If the affected device does not support the preferred code length, Seam reverts to using the shortest supported code length.

          • Optionalstarts_at?: string

            Date and time at which the validity of the new access code starts, in ISO 8601 format.

          • Optionaluse_backup_access_code_pool?: boolean

            Indicates whether to use a backup access code pool provided by Seam. If true, you can use /access_codes/pull_backup_access_code.

          • Optionaluse_offline_access_code?: boolean
        • Optionaloptions: AccessCodesCreateMultipleOptions

        Returns AccessCodesCreateMultipleRequest

  • get /access_codes/delete(): ((parameters?: {
        access_code_id: string;
        device_id?: string;
        sync?: boolean;
    }, options?: AccessCodesDeleteOptions) => AccessCodesDeleteRequest)
  • Returns ((parameters?: {
        access_code_id: string;
        device_id?: string;
        sync?: boolean;
    }, options?: AccessCodesDeleteOptions) => AccessCodesDeleteRequest)

      • (parameters?, options?): AccessCodesDeleteRequest
      • Parameters

        • Optionalparameters: {
              access_code_id: string;
              device_id?: string;
              sync?: boolean;
          }
          • access_code_id: string

            ID of the access code that you want to delete.

          • Optionaldevice_id?: string

            ID of the device for which you want to delete the access code.

          • Optionalsync?: boolean
        • Optionaloptions: AccessCodesDeleteOptions

        Returns AccessCodesDeleteRequest

  • get /access_codes/get(): ((parameters?: {
        access_code_id?: string;
        code?: string;
        device_id?: string;
    }, options?: AccessCodesGetOptions) => AccessCodesGetRequest)
  • Returns ((parameters?: {
        access_code_id?: string;
        code?: string;
        device_id?: string;
    }, options?: AccessCodesGetOptions) => AccessCodesGetRequest)

      • (parameters?, options?): AccessCodesGetRequest
      • Parameters

        • Optionalparameters: {
              access_code_id?: string;
              code?: string;
              device_id?: string;
          }
          • Optionalaccess_code_id?: string

            ID of the access code that you want to get. You must specify either access_code_id or both device_id and code.

          • Optionalcode?: string

            Code of the access code that you want to get. You must specify either access_code_id or both device_id and code.

          • Optionaldevice_id?: string

            ID of the device containing the access code that you want to get. You must specify either access_code_id or both device_id and code.

        • Optionaloptions: AccessCodesGetOptions

        Returns AccessCodesGetRequest

  • get /access_codes/list(): ((parameters?: {
        access_code_ids?: string[];
        customer_ids?: string[];
        device_id?: string;
        limit?: number;
        page_cursor?: null | string;
        user_identifier_key?: string;
    }, options?: AccessCodesListOptions) => AccessCodesListRequest)
  • Returns ((parameters?: {
        access_code_ids?: string[];
        customer_ids?: string[];
        device_id?: string;
        limit?: number;
        page_cursor?: null | string;
        user_identifier_key?: string;
    }, options?: AccessCodesListOptions) => AccessCodesListRequest)

      • (parameters?, options?): AccessCodesListRequest
      • Parameters

        • Optionalparameters: {
              access_code_ids?: string[];
              customer_ids?: string[];
              device_id?: string;
              limit?: number;
              page_cursor?: null | string;
              user_identifier_key?: string;
          }
          • Optionalaccess_code_ids?: string[]

            IDs of the access codes that you want to retrieve. Specify either device_id or access_code_ids.

          • Optionalcustomer_ids?: string[]
          • Optionaldevice_id?: string

            ID of the device for which you want to list access codes. Specify either device_id or access_code_ids.

          • Optionallimit?: number

            Numerical limit on the number of access codes to return.

          • Optionalpage_cursor?: null | string

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

          • Optionaluser_identifier_key?: string

            Your user ID for the user by which to filter access codes.

        • Optionaloptions: AccessCodesListOptions

        Returns AccessCodesListRequest

  • get /access_codes/report_device_constraints(): ((parameters?: {
        device_id: string;
        max_code_length?: number;
        min_code_length?: number;
        supported_code_lengths?: number[];
    }, options?: AccessCodesReportDeviceConstraintsOptions) => AccessCodesReportDeviceConstraintsRequest)
  • Returns ((parameters?: {
        device_id: string;
        max_code_length?: number;
        min_code_length?: number;
        supported_code_lengths?: number[];
    }, options?: AccessCodesReportDeviceConstraintsOptions) => AccessCodesReportDeviceConstraintsRequest)

      • (parameters?, options?): AccessCodesReportDeviceConstraintsRequest
      • Parameters

        • Optionalparameters: {
              device_id: string;
              max_code_length?: number;
              min_code_length?: number;
              supported_code_lengths?: number[];
          }
          • device_id: string

            ID of the device for which you want to report constraints.

          • Optionalmax_code_length?: number

            Maximum supported code length as an integer between 4 and 20, inclusive. You can specify either min_code_length/max_code_length or supported_code_lengths.

          • Optionalmin_code_length?: number

            Minimum supported code length as an integer between 4 and 20, inclusive. You can specify either min_code_length/max_code_length or supported_code_lengths.

          • Optionalsupported_code_lengths?: number[]

            Array of supported code lengths as integers between 4 and 20, inclusive. You can specify either supported_code_lengths or min_code_length/max_code_length.

        • Optionaloptions: AccessCodesReportDeviceConstraintsOptions

        Returns AccessCodesReportDeviceConstraintsRequest

  • get /access_codes/unmanaged/convert_to_managed(): ((parameters?: {
        access_code_id: string;
        allow_external_modification?: boolean;
        force?: boolean;
        is_external_modification_allowed?: boolean;
        sync?: boolean;
    }, options?: AccessCodesUnmanagedConvertToManagedOptions) => AccessCodesUnmanagedConvertToManagedRequest)
  • Returns ((parameters?: {
        access_code_id: string;
        allow_external_modification?: boolean;
        force?: boolean;
        is_external_modification_allowed?: boolean;
        sync?: boolean;
    }, options?: AccessCodesUnmanagedConvertToManagedOptions) => AccessCodesUnmanagedConvertToManagedRequest)

      • (parameters?, options?): AccessCodesUnmanagedConvertToManagedRequest
      • Parameters

        • Optionalparameters: {
              access_code_id: string;
              allow_external_modification?: boolean;
              force?: boolean;
              is_external_modification_allowed?: boolean;
              sync?: boolean;
          }
          • access_code_id: string

            ID of the unmanaged access code that you want to convert to a managed access code.

          • Optionalallow_external_modification?: boolean

            Indicates whether external modification of the access code is allowed.

          • Optionalforce?: boolean

            Indicates whether to force the access code conversion. To switch management of an access code from one Seam workspace to another, set force to true.

          • Optionalis_external_modification_allowed?: boolean

            Indicates whether external modification of the access code is allowed.

          • Optionalsync?: boolean
        • Optionaloptions: AccessCodesUnmanagedConvertToManagedOptions

        Returns AccessCodesUnmanagedConvertToManagedRequest

  • get /access_codes/unmanaged/get(): ((parameters?: {
        access_code_id?: string;
        code?: string;
        device_id?: string;
    }, options?: AccessCodesUnmanagedGetOptions) => AccessCodesUnmanagedGetRequest)
  • Returns ((parameters?: {
        access_code_id?: string;
        code?: string;
        device_id?: string;
    }, options?: AccessCodesUnmanagedGetOptions) => AccessCodesUnmanagedGetRequest)

      • (parameters?, options?): AccessCodesUnmanagedGetRequest
      • Parameters

        • Optionalparameters: {
              access_code_id?: string;
              code?: string;
              device_id?: string;
          }
          • Optionalaccess_code_id?: string

            ID of the unmanaged access code that you want to get. You must specify either access_code_id or both device_id and code.

          • Optionalcode?: string

            Code of the unmanaged access code that you want to get. You must specify either access_code_id or both device_id and code.

          • Optionaldevice_id?: string

            ID of the device containing the unmanaged access code that you want to get. You must specify either access_code_id or both device_id and code.

        • Optionaloptions: AccessCodesUnmanagedGetOptions

        Returns AccessCodesUnmanagedGetRequest

  • get /access_codes/unmanaged/update(): ((parameters?: {
        access_code_id: string;
        allow_external_modification?: boolean;
        force?: boolean;
        is_external_modification_allowed?: boolean;
        is_managed: boolean;
    }, options?: AccessCodesUnmanagedUpdateOptions) => AccessCodesUnmanagedUpdateRequest)
  • Returns ((parameters?: {
        access_code_id: string;
        allow_external_modification?: boolean;
        force?: boolean;
        is_external_modification_allowed?: boolean;
        is_managed: boolean;
    }, options?: AccessCodesUnmanagedUpdateOptions) => AccessCodesUnmanagedUpdateRequest)

      • (parameters?, options?): AccessCodesUnmanagedUpdateRequest
      • Parameters

        • Optionalparameters: {
              access_code_id: string;
              allow_external_modification?: boolean;
              force?: boolean;
              is_external_modification_allowed?: boolean;
              is_managed: boolean;
          }
          • access_code_id: string

            ID of the unmanaged access code that you want to update.

          • Optionalallow_external_modification?: boolean

            Indicates whether external modification of the code is allowed.

          • Optionalforce?: boolean

            Indicates whether to force the unmanaged access code update.

          • Optionalis_external_modification_allowed?: boolean

            Indicates whether external modification of the code is allowed.

          • is_managed: boolean
        • Optionaloptions: AccessCodesUnmanagedUpdateOptions

        Returns AccessCodesUnmanagedUpdateRequest

  • get /access_codes/update(): ((parameters?: {
        access_code_id: string;
        allow_external_modification?: boolean;
        attempt_for_offline_device?: boolean;
        code?: string;
        device_id?: string;
        ends_at?: string;
        is_external_modification_allowed?: boolean;
        is_managed?: boolean;
        is_offline_access_code?: boolean;
        is_one_time_use?: boolean;
        max_time_rounding?:
            | "1hour"
            | "1day"
            | "1h"
            | "1d";
        name?: string;
        prefer_native_scheduling?: boolean;
        preferred_code_length?: number;
        starts_at?: string;
        sync?: boolean;
        type?: "ongoing" | "time_bound";
        use_backup_access_code_pool?: boolean;
        use_offline_access_code?: boolean;
    }, options?: AccessCodesUpdateOptions) => AccessCodesUpdateRequest)
  • Returns ((parameters?: {
        access_code_id: string;
        allow_external_modification?: boolean;
        attempt_for_offline_device?: boolean;
        code?: string;
        device_id?: string;
        ends_at?: string;
        is_external_modification_allowed?: boolean;
        is_managed?: boolean;
        is_offline_access_code?: boolean;
        is_one_time_use?: boolean;
        max_time_rounding?:
            | "1hour"
            | "1day"
            | "1h"
            | "1d";
        name?: string;
        prefer_native_scheduling?: boolean;
        preferred_code_length?: number;
        starts_at?: string;
        sync?: boolean;
        type?: "ongoing" | "time_bound";
        use_backup_access_code_pool?: boolean;
        use_offline_access_code?: boolean;
    }, options?: AccessCodesUpdateOptions) => AccessCodesUpdateRequest)

      • (parameters?, options?): AccessCodesUpdateRequest
      • Parameters

        • Optionalparameters: {
              access_code_id: string;
              allow_external_modification?: boolean;
              attempt_for_offline_device?: boolean;
              code?: string;
              device_id?: string;
              ends_at?: string;
              is_external_modification_allowed?: boolean;
              is_managed?: boolean;
              is_offline_access_code?: boolean;
              is_one_time_use?: boolean;
              max_time_rounding?:
                  | "1hour"
                  | "1day"
                  | "1h"
                  | "1d";
              name?: string;
              prefer_native_scheduling?: boolean;
              preferred_code_length?: number;
              starts_at?: string;
              sync?: boolean;
              type?: "ongoing" | "time_bound";
              use_backup_access_code_pool?: boolean;
              use_offline_access_code?: boolean;
          }
          • access_code_id: string

            ID of the access code that you want to update.

          • Optionalallow_external_modification?: boolean

            Indicates whether external modification of the code is allowed. Default: false.

          • Optionalattempt_for_offline_device?: boolean
          • Optionalcode?: string

            Code to be used for access.

          • Optionaldevice_id?: string

            ID of the device containing the access code that you want to update.

          • Optionalends_at?: string

            Date and time at which the validity of the new access code ends, in ISO 8601 format. Must be a time in the future and after starts_at.

          • Optionalis_external_modification_allowed?: boolean

            Indicates whether external modification of the code is allowed. Default: false.

          • Optionalis_managed?: boolean

            Indicates whether the access code is managed through Seam. Note that to convert an unmanaged access code into a managed access code, use /access_codes/unmanaged/convert_to_managed.

          • Optionalis_offline_access_code?: boolean

            Indicates whether the access code is an offline access code.

          • Optionalis_one_time_use?: boolean

            Indicates whether the offline access code is a single-use access code.

          • Optionalmax_time_rounding?:
                | "1hour"
                | "1day"
                | "1h"
                | "1d"

            Maximum rounding adjustment. To create a daily-bound offline access code for devices that support this feature, set this parameter to 1d.

          • Optionalname?: string

            Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as first_name and last_name. To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints. To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called appearance. This is an object with a name property and, optionally, first_name and last_name properties (for providers that break down a name into components).

          • Optionalprefer_native_scheduling?: boolean

            Indicates whether native scheduling should be used for time-bound codes when supported by the provider. Default: true.

          • Optionalpreferred_code_length?: number

            Preferred code length. Only applicable if you do not specify a code. If the affected device does not support the preferred code length, Seam reverts to using the shortest supported code length.

          • Optionalstarts_at?: string

            Date and time at which the validity of the new access code starts, in ISO 8601 format.

          • Optionalsync?: boolean
          • Optionaltype?: "ongoing" | "time_bound"

            Type to which you want to convert the access code. To convert a time-bound access code to an ongoing access code, set type to ongoing. See also Changing a time-bound access code to permanent access.

          • Optionaluse_backup_access_code_pool?: boolean

            Indicates whether to use a backup access code pool provided by Seam. If true, you can use /access_codes/pull_backup_access_code.

          • Optionaluse_offline_access_code?: boolean
        • Optionaloptions: AccessCodesUpdateOptions

        Returns AccessCodesUpdateRequest

  • get /access_codes/update_multiple(): ((parameters?: {
        common_code_key: string;
        ends_at?: string;
        name?: string;
        starts_at?: string;
    }, options?: AccessCodesUpdateMultipleOptions) => AccessCodesUpdateMultipleRequest)
  • Returns ((parameters?: {
        common_code_key: string;
        ends_at?: string;
        name?: string;
        starts_at?: string;
    }, options?: AccessCodesUpdateMultipleOptions) => AccessCodesUpdateMultipleRequest)

      • (parameters?, options?): AccessCodesUpdateMultipleRequest
      • Parameters

        • Optionalparameters: {
              common_code_key: string;
              ends_at?: string;
              name?: string;
              starts_at?: string;
          }
          • common_code_key: string

            Key that links the group of access codes, assigned on creation by /access_codes/create_multiple.

          • Optionalends_at?: string

            Date and time at which the validity of the new access code ends, in ISO 8601 format. Must be a time in the future and after starts_at.

          • Optionalname?: string

            Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as first_name and last_name. To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints. To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called appearance. This is an object with a name property and, optionally, first_name and last_name properties (for providers that break down a name into components).

          • Optionalstarts_at?: string

            Date and time at which the validity of the new access code starts, in ISO 8601 format.

        • Optionaloptions: AccessCodesUpdateMultipleOptions

        Returns AccessCodesUpdateMultipleRequest

  • get /access_grants/list(): ((parameters?: {
        acs_entrance_id?: string;
        acs_system_id?: string;
        location_id?: string;
        space_id?: string;
        user_identity_id?: string;
    }, options?: AccessGrantsListOptions) => AccessGrantsListRequest)
  • Returns ((parameters?: {
        acs_entrance_id?: string;
        acs_system_id?: string;
        location_id?: string;
        space_id?: string;
        user_identity_id?: string;
    }, options?: AccessGrantsListOptions) => AccessGrantsListRequest)

      • (parameters?, options?): AccessGrantsListRequest
      • Parameters

        • Optionalparameters: {
              acs_entrance_id?: string;
              acs_system_id?: string;
              location_id?: string;
              space_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_entrance_id?: string

            ID of entrance to filter list of access grants by.

          • Optionalacs_system_id?: string

            ID of system to filter list of access grants by.

          • Optionallocation_id?: string

            Use space_id.

          • Optionalspace_id?: string

            ID of space to filter list of access grants by.

          • Optionaluser_identity_id?: string

            ID of user identity to filter list of access grants by.

        • Optionaloptions: AccessGrantsListOptions

        Returns AccessGrantsListRequest

  • get /access_grants/update(): ((parameters?: {
        access_grant_id: string;
        ends_at?: null | string;
        starts_at?: null | string;
    }, options?: AccessGrantsUpdateOptions) => AccessGrantsUpdateRequest)
  • Returns ((parameters?: {
        access_grant_id: string;
        ends_at?: null | string;
        starts_at?: null | string;
    }, options?: AccessGrantsUpdateOptions) => AccessGrantsUpdateRequest)

      • (parameters?, options?): AccessGrantsUpdateRequest
      • Parameters

        • Optionalparameters: {
              access_grant_id: string;
              ends_at?: null | string;
              starts_at?: null | string;
          }
          • access_grant_id: string

            ID of the access grant to update.

          • Optionalends_at?: null | string

            Date and time at which the validity of the grant ends, in ISO 8601 format. Must be a time in the future and after starts_at.

          • Optionalstarts_at?: null | string

            Date and time at which the validity of the grant starts, in ISO 8601 format.

        • Optionaloptions: AccessGrantsUpdateOptions

        Returns AccessGrantsUpdateRequest

  • get /acs/access_groups/add_user(): ((parameters?: {
        acs_access_group_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsAccessGroupsAddUserOptions) => AcsAccessGroupsAddUserRequest)
  • Returns ((parameters?: {
        acs_access_group_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsAccessGroupsAddUserOptions) => AcsAccessGroupsAddUserRequest)

      • (parameters?, options?): AcsAccessGroupsAddUserRequest
      • Parameters

        • Optionalparameters: {
              acs_access_group_id: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • acs_access_group_id: string

            ID of the access group to which you want to add an access system user.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to add to an access group. You can only provide one of acs_user_id or user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the desired user identity that you want to add to an access group. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same email_address or phone_number as the user identity that you specify, they are linked, and the access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.

        • Optionaloptions: AcsAccessGroupsAddUserOptions

        Returns AcsAccessGroupsAddUserRequest

  • get /acs/access_groups/list(): ((parameters?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsAccessGroupsListOptions) => AcsAccessGroupsListRequest)
  • Returns ((parameters?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsAccessGroupsListOptions) => AcsAccessGroupsListRequest)

      • (parameters?, options?): AcsAccessGroupsListRequest
      • Parameters

        • Optionalparameters: {
              acs_system_id?: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_system_id?: string

            ID of the access system for which you want to retrieve all access groups.

          • Optionalacs_user_id?: string

            ID of the access system user for which you want to retrieve all access groups.

          • Optionaluser_identity_id?: string

            ID of the user identity for which you want to retrieve all access groups.

        • Optionaloptions: AcsAccessGroupsListOptions

        Returns AcsAccessGroupsListRequest

  • get /acs/access_groups/remove_user(): ((parameters?: {
        acs_access_group_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsAccessGroupsRemoveUserOptions) => AcsAccessGroupsRemoveUserRequest)
  • Returns ((parameters?: {
        acs_access_group_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsAccessGroupsRemoveUserOptions) => AcsAccessGroupsRemoveUserRequest)

      • (parameters?, options?): AcsAccessGroupsRemoveUserRequest
      • Parameters

        • Optionalparameters: {
              acs_access_group_id: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • acs_access_group_id: string

            ID of the access group from which you want to remove an access system user.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to remove from an access group.

          • Optionaluser_identity_id?: string

            ID of the user identity associated with the user that you want to remove from an access group.

        • Optionaloptions: AcsAccessGroupsRemoveUserOptions

        Returns AcsAccessGroupsRemoveUserRequest

  • get /acs/credential_provisioning_automations/launch(): ((parameters?: {
        acs_credential_pool_id?: string;
        create_credential_manager_user?: boolean;
        credential_manager_acs_system_id: string;
        credential_manager_acs_user_id?: string;
        user_identity_id: string;
    }, options?: AcsCredentialProvisioningAutomationsLaunchOptions) => AcsCredentialProvisioningAutomationsLaunchRequest)
  • Returns ((parameters?: {
        acs_credential_pool_id?: string;
        create_credential_manager_user?: boolean;
        credential_manager_acs_system_id: string;
        credential_manager_acs_user_id?: string;
        user_identity_id: string;
    }, options?: AcsCredentialProvisioningAutomationsLaunchOptions) => AcsCredentialProvisioningAutomationsLaunchRequest)

      • (parameters?, options?): AcsCredentialProvisioningAutomationsLaunchRequest
      • Parameters

        • Optionalparameters: {
              acs_credential_pool_id?: string;
              create_credential_manager_user?: boolean;
              credential_manager_acs_system_id: string;
              credential_manager_acs_user_id?: string;
              user_identity_id: string;
          }
          • Optionalacs_credential_pool_id?: string

            ID of the credential pool for which you want to launch a credential provisioning automation.

          • Optionalcreate_credential_manager_user?: boolean

            Indicates whether to create an associated credential manager user. If you set create_credential_manager_user to true, you cannot specify a credential_manager_acs_user_id.

          • credential_manager_acs_system_id: string

            Access system ID of the credential manager for which you want to launch a credential provisioning automation.

          • Optionalcredential_manager_acs_user_id?: string

            ID of the associated access system user within the credential manager. If you specify a credential_manager_acs_user_id, you cannot set create_credential_manager_user to true.

          • user_identity_id: string

            ID of the user identity for which you want to launch a credential provisioning automation.

        • Optionaloptions: AcsCredentialProvisioningAutomationsLaunchOptions

        Returns AcsCredentialProvisioningAutomationsLaunchRequest

  • get /acs/credentials/assign(): ((parameters?: {
        acs_credential_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsCredentialsAssignOptions) => AcsCredentialsAssignRequest)
  • Returns ((parameters?: {
        acs_credential_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsCredentialsAssignOptions) => AcsCredentialsAssignRequest)

      • (parameters?, options?): AcsCredentialsAssignRequest
      • Parameters

        • Optionalparameters: {
              acs_credential_id: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • acs_credential_id: string

            ID of the credential that you want to assign to an access system user.

          • Optionalacs_user_id?: string

            ID of the access system user to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same email_address or phone_number as the user identity that you specify, they are linked, and the credential belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.

        • Optionaloptions: AcsCredentialsAssignOptions

        Returns AcsCredentialsAssignRequest

  • get /acs/credentials/create(): ((parameters?: {
        access_method: "code" | "card" | "mobile_key";
        acs_system_id?: string;
        acs_user_id?: string;
        allowed_acs_entrance_ids?: string[];
        assa_abloy_vostio_metadata?: {
            auto_join?: boolean;
            join_all_guest_acs_entrances?: boolean;
            override_all_guest_acs_entrances?: boolean;
            override_guest_acs_entrance_ids?: string[];
        };
        code?: string;
        credential_manager_acs_system_id?: string;
        ends_at?: string;
        is_multi_phone_sync_credential?: boolean;
        salto_space_metadata?: {
            assign_new_key?: boolean;
            update_current_key?: boolean;
        };
        starts_at?: string;
        user_identity_id?: string;
        visionline_metadata?: {
            assa_abloy_credential_service_mobile_endpoint_id?: string;
            auto_join?: boolean;
            card_format?: "TLCode" | "rfid48";
            card_function_type?: "guest" | "staff";
            is_override_key?: boolean;
            joiner_acs_credential_ids?: string[];
            override?: boolean;
        };
    }, options?: AcsCredentialsCreateOptions) => AcsCredentialsCreateRequest)
  • Returns ((parameters?: {
        access_method: "code" | "card" | "mobile_key";
        acs_system_id?: string;
        acs_user_id?: string;
        allowed_acs_entrance_ids?: string[];
        assa_abloy_vostio_metadata?: {
            auto_join?: boolean;
            join_all_guest_acs_entrances?: boolean;
            override_all_guest_acs_entrances?: boolean;
            override_guest_acs_entrance_ids?: string[];
        };
        code?: string;
        credential_manager_acs_system_id?: string;
        ends_at?: string;
        is_multi_phone_sync_credential?: boolean;
        salto_space_metadata?: {
            assign_new_key?: boolean;
            update_current_key?: boolean;
        };
        starts_at?: string;
        user_identity_id?: string;
        visionline_metadata?: {
            assa_abloy_credential_service_mobile_endpoint_id?: string;
            auto_join?: boolean;
            card_format?: "TLCode" | "rfid48";
            card_function_type?: "guest" | "staff";
            is_override_key?: boolean;
            joiner_acs_credential_ids?: string[];
            override?: boolean;
        };
    }, options?: AcsCredentialsCreateOptions) => AcsCredentialsCreateRequest)

      • (parameters?, options?): AcsCredentialsCreateRequest
      • Parameters

        • Optionalparameters: {
              access_method: "code" | "card" | "mobile_key";
              acs_system_id?: string;
              acs_user_id?: string;
              allowed_acs_entrance_ids?: string[];
              assa_abloy_vostio_metadata?: {
                  auto_join?: boolean;
                  join_all_guest_acs_entrances?: boolean;
                  override_all_guest_acs_entrances?: boolean;
                  override_guest_acs_entrance_ids?: string[];
              };
              code?: string;
              credential_manager_acs_system_id?: string;
              ends_at?: string;
              is_multi_phone_sync_credential?: boolean;
              salto_space_metadata?: {
                  assign_new_key?: boolean;
                  update_current_key?: boolean;
              };
              starts_at?: string;
              user_identity_id?: string;
              visionline_metadata?: {
                  assa_abloy_credential_service_mobile_endpoint_id?: string;
                  auto_join?: boolean;
                  card_format?: "TLCode" | "rfid48";
                  card_function_type?: "guest" | "staff";
                  is_override_key?: boolean;
                  joiner_acs_credential_ids?: string[];
                  override?: boolean;
              };
          }
          • access_method: "code" | "card" | "mobile_key"

            Access method for the new credential. Supported values: code, card, mobile_key.

          • Optionalacs_system_id?: string

            ID of the access system to which the new credential belongs. You must provide either acs_user_id or the combination of user_identity_id and acs_system_id.

          • Optionalacs_user_id?: string

            ID of the access system user to whom the new credential belongs. You must provide either acs_user_id or the combination of user_identity_id and acs_system_id.

          • Optionalallowed_acs_entrance_ids?: string[]

            Set of IDs of the entrances for which the new credential grants access.

          • Optionalassa_abloy_vostio_metadata?: {
                auto_join?: boolean;
                join_all_guest_acs_entrances?: boolean;
                override_all_guest_acs_entrances?: boolean;
                override_guest_acs_entrance_ids?: string[];
            }

            Vostio-specific metadata for the new credential.

            • Optionalauto_join?: boolean
            • Optionaljoin_all_guest_acs_entrances?: boolean
            • Optionaloverride_all_guest_acs_entrances?: boolean
            • Optionaloverride_guest_acs_entrance_ids?: string[]
          • Optionalcode?: string

            Access (PIN) code for the new credential. There may be manufacturer-specific code restrictions. For details, see the applicable device or system integration guide.

          • Optionalcredential_manager_acs_system_id?: string

            ACS system ID of the credential manager for the new credential.

          • Optionalends_at?: string

            Date and time at which the validity of the new credential ends, in ISO 8601 format. Must be a time in the future and after starts_at.

          • Optionalis_multi_phone_sync_credential?: boolean

            Indicates whether the new credential is a multi-phone sync credential.

          • Optionalsalto_space_metadata?: {
                assign_new_key?: boolean;
                update_current_key?: boolean;
            }

            Salto Space-specific metadata for the new credential.

          • Optionalstarts_at?: string

            Date and time at which the validity of the new credential starts, in ISO 8601 format.

          • Optionaluser_identity_id?: string

            ID of the user identity to whom the new credential belongs. You must provide either acs_user_id or the combination of user_identity_id and acs_system_id. If the access system contains a user with the same email_address or phone_number as the user identity that you specify, they are linked, and the credential belongs to the access system user. If the access system does not have a corresponding user, one is created.

          • Optionalvisionline_metadata?: {
                assa_abloy_credential_service_mobile_endpoint_id?: string;
                auto_join?: boolean;
                card_format?: "TLCode" | "rfid48";
                card_function_type?: "guest" | "staff";
                is_override_key?: boolean;
                joiner_acs_credential_ids?: string[];
                override?: boolean;
            }

            Visionline-specific metadata for the new credential.

            • Optionalassa_abloy_credential_service_mobile_endpoint_id?: string

              Read-only endpoint references moved to endpoint.

            • Optionalauto_join?: boolean
            • Optionalcard_format?: "TLCode" | "rfid48"
            • Optionalcard_function_type?: "guest" | "staff"
            • Optionalis_override_key?: boolean

              Use override instead.

            • Optionaljoiner_acs_credential_ids?: string[]
            • Optionaloverride?: boolean
        • Optionaloptions: AcsCredentialsCreateOptions

        Returns AcsCredentialsCreateRequest

  • get /acs/credentials/create_offline_code(): ((parameters?: {
        acs_user_id: string;
        allowed_acs_entrance_id: string;
        ends_at?: string;
        is_one_time_use?: boolean;
        starts_at?: string;
    }, options?: AcsCredentialsCreateOfflineCodeOptions) => AcsCredentialsCreateOfflineCodeRequest)
  • Returns ((parameters?: {
        acs_user_id: string;
        allowed_acs_entrance_id: string;
        ends_at?: string;
        is_one_time_use?: boolean;
        starts_at?: string;
    }, options?: AcsCredentialsCreateOfflineCodeOptions) => AcsCredentialsCreateOfflineCodeRequest)

      • (parameters?, options?): AcsCredentialsCreateOfflineCodeRequest
      • Parameters

        • Optionalparameters: {
              acs_user_id: string;
              allowed_acs_entrance_id: string;
              ends_at?: string;
              is_one_time_use?: boolean;
              starts_at?: string;
          }
          • acs_user_id: string

            ID of the access system user to whom the new credential belongs.

          • allowed_acs_entrance_id: string

            IDs of the acs_entrances for which the new credential grants access.

          • Optionalends_at?: string

            Date and time at which the validity of the new credential ends, in ISO 8601 format. Must be a time in the future and after starts_at.

          • Optionalis_one_time_use?: boolean

            Indicates whether the code is one-time-use or reusable.

          • Optionalstarts_at?: string

            Date and time at which the validity of the new credential starts, in ISO 8601 format.

        • Optionaloptions: AcsCredentialsCreateOfflineCodeOptions

        Returns AcsCredentialsCreateOfflineCodeRequest

  • get /acs/credentials/unassign(): ((parameters?: {
        acs_credential_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsCredentialsUnassignOptions) => AcsCredentialsUnassignRequest)
  • Returns ((parameters?: {
        acs_credential_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsCredentialsUnassignOptions) => AcsCredentialsUnassignRequest)

      • (parameters?, options?): AcsCredentialsUnassignRequest
      • Parameters

        • Optionalparameters: {
              acs_credential_id: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • acs_credential_id: string

            ID of the credential that you want to unassign from an access system user.

          • Optionalacs_user_id?: string

            ID of the access system user from which you want to unassign a credential. You can only provide one of acs_user_id or user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity from which you want to unassign a credential. You can only provide one of acs_user_id or user_identity_id.

        • Optionaloptions: AcsCredentialsUnassignOptions

        Returns AcsCredentialsUnassignRequest

  • get /acs/credentials/update(): ((parameters?: {
        acs_credential_id: string;
        code?: string;
        ends_at?: string;
    }, options?: AcsCredentialsUpdateOptions) => AcsCredentialsUpdateRequest)
  • Returns ((parameters?: {
        acs_credential_id: string;
        code?: string;
        ends_at?: string;
    }, options?: AcsCredentialsUpdateOptions) => AcsCredentialsUpdateRequest)

      • (parameters?, options?): AcsCredentialsUpdateRequest
      • Parameters

        • Optionalparameters: {
              acs_credential_id: string;
              code?: string;
              ends_at?: string;
          }
          • acs_credential_id: string

            ID of the credential that you want to update.

          • Optionalcode?: string

            Replacement access (PIN) code for the credential that you want to update.

          • Optionalends_at?: string

            Replacement date and time at which the validity of the credential ends, in ISO 8601 format. Must be a time in the future and after the starts_at value that you set when creating the credential.

        • Optionaloptions: AcsCredentialsUpdateOptions

        Returns AcsCredentialsUpdateRequest

  • get /acs/entrances/grant_access(): ((parameters?: {
        acs_entrance_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsEntrancesGrantAccessOptions) => AcsEntrancesGrantAccessRequest)
  • Returns ((parameters?: {
        acs_entrance_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsEntrancesGrantAccessOptions) => AcsEntrancesGrantAccessRequest)

      • (parameters?, options?): AcsEntrancesGrantAccessRequest
      • Parameters

        • Optionalparameters: {
              acs_entrance_id: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • acs_entrance_id: string

            ID of the entrance to which you want to grant an access system user access.

          • Optionalacs_user_id?: string

            ID of the access system user to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same email_address or phone_number as the user identity that you specify, they are linked, and the access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.

        • Optionaloptions: AcsEntrancesGrantAccessOptions

        Returns AcsEntrancesGrantAccessRequest

  • get /acs/entrances/list(): ((parameters?: {
        access_grant_id?: string;
        access_method_id?: string;
        acs_credential_id?: string;
        acs_system_id?: string;
        location_id?: null | string;
        space_id?: string;
    }, options?: AcsEntrancesListOptions) => AcsEntrancesListRequest)
  • Returns ((parameters?: {
        access_grant_id?: string;
        access_method_id?: string;
        acs_credential_id?: string;
        acs_system_id?: string;
        location_id?: null | string;
        space_id?: string;
    }, options?: AcsEntrancesListOptions) => AcsEntrancesListRequest)

      • (parameters?, options?): AcsEntrancesListRequest
      • Parameters

        • Optionalparameters: {
              access_grant_id?: string;
              access_method_id?: string;
              acs_credential_id?: string;
              acs_system_id?: string;
              location_id?: null | string;
              space_id?: string;
          }
          • Optionalaccess_grant_id?: string

            ID of the access grant for which you want to retrieve all entrances.

          • Optionalaccess_method_id?: string

            ID of the access method for which you want to retrieve all entrances.

          • Optionalacs_credential_id?: string

            ID of the credential for which you want to retrieve all entrances.

          • Optionalacs_system_id?: string

            ID of the access system for which you want to retrieve all entrances.

          • Optionallocation_id?: null | string

            Use space_id.

          • Optionalspace_id?: string

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

        • Optionaloptions: AcsEntrancesListOptions

        Returns AcsEntrancesListRequest

  • get /acs/users/create(): ((parameters?: {
        access_schedule?: {
            ends_at?: null | string;
            starts_at?: string;
        };
        acs_access_group_ids?: string[];
        acs_system_id: string;
        email?: string;
        email_address?: string;
        full_name: string;
        phone_number?: string;
        user_identity_id?: string;
    }, options?: AcsUsersCreateOptions) => AcsUsersCreateRequest)
  • Returns ((parameters?: {
        access_schedule?: {
            ends_at?: null | string;
            starts_at?: string;
        };
        acs_access_group_ids?: string[];
        acs_system_id: string;
        email?: string;
        email_address?: string;
        full_name: string;
        phone_number?: string;
        user_identity_id?: string;
    }, options?: AcsUsersCreateOptions) => AcsUsersCreateRequest)

      • (parameters?, options?): AcsUsersCreateRequest
      • Parameters

        • Optionalparameters: {
              access_schedule?: {
                  ends_at?: null | string;
                  starts_at?: string;
              };
              acs_access_group_ids?: string[];
              acs_system_id: string;
              email?: string;
              email_address?: string;
              full_name: string;
              phone_number?: string;
              user_identity_id?: string;
          }
          • Optionalaccess_schedule?: {
                ends_at?: null | string;
                starts_at?: string;
            }

            starts_at and ends_at timestamps for the new access system user's access. If you specify an access_schedule, you may include both starts_at and ends_at. If you omit starts_at, it defaults to the current time. ends_at is optional and must be a time in the future and after starts_at.

            • Optionalends_at?: null | string

              Ending timestamp for the new access system user's access.

            • Optionalstarts_at?: string

              Starting timestamp for the new access system user's access.

          • Optionalacs_access_group_ids?: string[]

            Array of access group IDs to indicate the access groups to which you want to add the new access system user.

          • acs_system_id: string

            ID of the access system to which you want to add the new access system user.

          • Optionalemail?: string

            use email_address.

          • Optionalemail_address?: string

            Email address of the access system user.

          • full_name: string

            Full name of the new access system user.

          • Optionalphone_number?: string

            Phone number of the access system user in E.164 format (for example, +15555550100).

          • Optionaluser_identity_id?: string

            ID of the user identity with which you want to associate the new access system user.

        • Optionaloptions: AcsUsersCreateOptions

        Returns AcsUsersCreateRequest

  • get /acs/users/delete(): ((parameters?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsUsersDeleteOptions) => AcsUsersDeleteRequest)
  • Returns ((parameters?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsUsersDeleteOptions) => AcsUsersDeleteRequest)

      • (parameters?, options?): AcsUsersDeleteRequest
      • Parameters

        • Optionalparameters: {
              acs_system_id?: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_system_id?: string

            ID of the access system that you want to delete. You must provide acs_system_id with user_identity_id.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to delete. You must provide either acs_user_id or user_identity_id

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to delete. You must provide either acs_user_id or user_identity_id. If you provide user_identity_id, you must also provide acs_system_id.

        • Optionaloptions: AcsUsersDeleteOptions

        Returns AcsUsersDeleteRequest

  • get /acs/users/get(): ((parameters?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsUsersGetOptions) => AcsUsersGetRequest)
  • Returns ((parameters?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsUsersGetOptions) => AcsUsersGetRequest)

      • (parameters?, options?): AcsUsersGetRequest
      • Parameters

        • Optionalparameters: {
              acs_system_id?: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_system_id?: string

            ID of the access system that you want to get. You can only provide acs_user_id or user_identity_id.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to get. You can only provide acs_user_id or user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to get. You can only provide acs_user_id or user_identity_id.

        • Optionaloptions: AcsUsersGetOptions

        Returns AcsUsersGetRequest

  • get /acs/users/list(): ((parameters?: {
        acs_system_id?: string;
        created_before?: Date;
        limit?: number;
        page_cursor?: null | string;
        search?: string;
        user_identity_email_address?: string;
        user_identity_id?: string;
        user_identity_phone_number?: string;
    }, options?: AcsUsersListOptions) => AcsUsersListRequest)
  • Returns ((parameters?: {
        acs_system_id?: string;
        created_before?: Date;
        limit?: number;
        page_cursor?: null | string;
        search?: string;
        user_identity_email_address?: string;
        user_identity_id?: string;
        user_identity_phone_number?: string;
    }, options?: AcsUsersListOptions) => AcsUsersListRequest)

      • (parameters?, options?): AcsUsersListRequest
      • Parameters

        • Optionalparameters: {
              acs_system_id?: string;
              created_before?: Date;
              limit?: number;
              page_cursor?: null | string;
              search?: string;
              user_identity_email_address?: string;
              user_identity_id?: string;
              user_identity_phone_number?: string;
          }
          • Optionalacs_system_id?: string

            ID of the acs_system for which you want to retrieve all access system users.

          • Optionalcreated_before?: Date

            Timestamp by which to limit returned access system users. Returns users created before this timestamp.

          • Optionallimit?: number

            Maximum number of records to return per page.

          • 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 access system users to include all records that satisfy a partial match using full_name, phone_number, email_address, acs_user_id, user_identity_id, user_identity_full_name or user_identity_phone_number.

          • Optionaluser_identity_email_address?: string

            Email address of the user identity for which you want to retrieve all access system users.

          • Optionaluser_identity_id?: string

            ID of the user identity for which you want to retrieve all access system users.

          • Optionaluser_identity_phone_number?: string

            Phone number of the user identity for which you want to retrieve all access system users, in E.164 format (for example, +15555550100).

        • Optionaloptions: AcsUsersListOptions

        Returns AcsUsersListRequest

  • get /acs/users/list_accessible_entrances(): ((parameters?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsUsersListAccessibleEntrancesOptions) => AcsUsersListAccessibleEntrancesRequest)
  • Returns ((parameters?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsUsersListAccessibleEntrancesOptions) => AcsUsersListAccessibleEntrancesRequest)

      • (parameters?, options?): AcsUsersListAccessibleEntrancesRequest
      • Parameters

        • Optionalparameters: {
              acs_system_id?: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_system_id?: string

            ID of the access system for which you want to list accessible entrances. You can only provide acs_system_id with user_identity_id.

          • Optionalacs_user_id?: string

            ID of the access system user for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id.

        • Optionaloptions: AcsUsersListAccessibleEntrancesOptions

        Returns AcsUsersListAccessibleEntrancesRequest

  • get /acs/users/remove_from_access_group(): ((parameters?: {
        acs_access_group_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsUsersRemoveFromAccessGroupOptions) => AcsUsersRemoveFromAccessGroupRequest)
  • Returns ((parameters?: {
        acs_access_group_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsUsersRemoveFromAccessGroupOptions) => AcsUsersRemoveFromAccessGroupRequest)

      • (parameters?, options?): AcsUsersRemoveFromAccessGroupRequest
      • Parameters

        • Optionalparameters: {
              acs_access_group_id: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • acs_access_group_id: string

            ID of the access group from which you want to remove an access system user.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to remove from an access group. You can only provide acs_user_id or user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to remove from an access group. You can only provide acs_user_id or user_identity_id.

        • Optionaloptions: AcsUsersRemoveFromAccessGroupOptions

        Returns AcsUsersRemoveFromAccessGroupRequest

  • get /acs/users/suspend(): ((parameters?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsUsersSuspendOptions) => AcsUsersSuspendRequest)
  • Returns ((parameters?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsUsersSuspendOptions) => AcsUsersSuspendRequest)

      • (parameters?, options?): AcsUsersSuspendRequest
      • Parameters

        • Optionalparameters: {
              acs_system_id?: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_system_id?: string

            ID of the access system that you want to suspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to suspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to suspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.

        • Optionaloptions: AcsUsersSuspendOptions

        Returns AcsUsersSuspendRequest

  • get /acs/users/unmanaged/list(): ((parameters?: {
        acs_system_id?: string;
        limit?: number;
        user_identity_email_address?: string;
        user_identity_id?: string;
        user_identity_phone_number?: string;
    }, options?: AcsUsersUnmanagedListOptions) => AcsUsersUnmanagedListRequest)
  • Returns ((parameters?: {
        acs_system_id?: string;
        limit?: number;
        user_identity_email_address?: string;
        user_identity_id?: string;
        user_identity_phone_number?: string;
    }, options?: AcsUsersUnmanagedListOptions) => AcsUsersUnmanagedListRequest)

      • (parameters?, options?): AcsUsersUnmanagedListRequest
      • Parameters

        • Optionalparameters: {
              acs_system_id?: string;
              limit?: number;
              user_identity_email_address?: string;
              user_identity_id?: string;
              user_identity_phone_number?: string;
          }
          • Optionalacs_system_id?: string

            ID of the access system for which you want to retrieve all unmanaged access system users.

          • Optionallimit?: number

            Number of unmanaged access system users to return.

          • Optionaluser_identity_email_address?: string

            Email address of the user identity for which you want to retrieve all unmanaged access system users.

          • Optionaluser_identity_id?: string

            ID of the user identity for which you want to retrieve all unmanaged access system users.

          • Optionaluser_identity_phone_number?: string

            Phone number of the user identity for which you want to retrieve all unmanaged access system users.

        • Optionaloptions: AcsUsersUnmanagedListOptions

        Returns AcsUsersUnmanagedListRequest

  • get /acs/users/unsuspend(): ((parameters?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsUsersUnsuspendOptions) => AcsUsersUnsuspendRequest)
  • Returns ((parameters?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }, options?: AcsUsersUnsuspendOptions) => AcsUsersUnsuspendRequest)

      • (parameters?, options?): AcsUsersUnsuspendRequest
      • Parameters

        • Optionalparameters: {
              acs_system_id?: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_system_id?: string

            ID of the access system of the user that you want to unsuspend. You can only provide acs_system_id with user_identity_id.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to unsuspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to unsuspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.

        • Optionaloptions: AcsUsersUnsuspendOptions

        Returns AcsUsersUnsuspendRequest

  • get /acs/users/update(): ((parameters?: {
        access_schedule?: null | {
            ends_at: string;
            starts_at: string;
        };
        acs_system_id?: string;
        acs_user_id?: string;
        email?: string;
        email_address?: string;
        full_name?: string;
        hid_acs_system_id?: string;
        phone_number?: string;
        user_identity_id?: string;
    }, options?: AcsUsersUpdateOptions) => AcsUsersUpdateRequest)
  • Returns ((parameters?: {
        access_schedule?: null | {
            ends_at: string;
            starts_at: string;
        };
        acs_system_id?: string;
        acs_user_id?: string;
        email?: string;
        email_address?: string;
        full_name?: string;
        hid_acs_system_id?: string;
        phone_number?: string;
        user_identity_id?: string;
    }, options?: AcsUsersUpdateOptions) => AcsUsersUpdateRequest)

      • (parameters?, options?): AcsUsersUpdateRequest
      • Parameters

        • Optionalparameters: {
              access_schedule?: null | {
                  ends_at: string;
                  starts_at: string;
              };
              acs_system_id?: string;
              acs_user_id?: string;
              email?: string;
              email_address?: string;
              full_name?: string;
              hid_acs_system_id?: string;
              phone_number?: string;
              user_identity_id?: string;
          }
          • Optionalaccess_schedule?: null | {
                ends_at: string;
                starts_at: string;
            }

            starts_at and ends_at timestamps for the access system user's access. If you specify an access_schedule, you may include both starts_at and ends_at. If you omit starts_at, it defaults to the current time. ends_at is optional and must be a time in the future and after starts_at.

          • Optionalacs_system_id?: string

            ID of the access system that you want to update. You can only provide acs_system_id with user_identity_id.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to update. You can only provide acs_user_id or user_identity_id.

          • Optionalemail?: string

            use email_address.

          • Optionalemail_address?: string

            Email address of the access system user.

          • Optionalfull_name?: string

            Full name of the access system user.

          • Optionalhid_acs_system_id?: string
          • Optionalphone_number?: string

            Phone number of the access system user in E.164 format (for example, +15555550100).

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to update. You can only provide acs_user_id or user_identity_id. If you provide user_identity_id, you must also provide acs_system_id.

        • Optionaloptions: AcsUsersUpdateOptions

        Returns AcsUsersUpdateRequest

  • get /client_sessions/create(): ((parameters?: {
        connect_webview_ids?: string[];
        connected_account_ids?: string[];
        customer_id?: string;
        customer_key?: string;
        expires_at?: Date;
        user_identifier_key?: string;
        user_identity_id?: string;
        user_identity_ids?: string[];
    }, options?: ClientSessionsCreateOptions) => ClientSessionsCreateRequest)
  • Returns ((parameters?: {
        connect_webview_ids?: string[];
        connected_account_ids?: string[];
        customer_id?: string;
        customer_key?: string;
        expires_at?: Date;
        user_identifier_key?: string;
        user_identity_id?: string;
        user_identity_ids?: string[];
    }, options?: ClientSessionsCreateOptions) => ClientSessionsCreateRequest)

      • (parameters?, options?): ClientSessionsCreateRequest
      • Parameters

        • Optionalparameters: {
              connect_webview_ids?: string[];
              connected_account_ids?: string[];
              customer_id?: string;
              customer_key?: string;
              expires_at?: Date;
              user_identifier_key?: string;
              user_identity_id?: string;
              user_identity_ids?: string[];
          }
          • Optionalconnect_webview_ids?: string[]

            IDs of the Connect Webviews for which you want to create a client session.

          • Optionalconnected_account_ids?: string[]

            IDs of the connected accounts for which you want to create a client session.

          • Optionalcustomer_id?: string

            Customer ID that you want to associate with the new client session.

          • Optionalcustomer_key?: string

            Customer key that you want to associate with the new client session.

          • Optionalexpires_at?: Date

            Date and time at which the client session should expire, in ISO 8601 format.

          • Optionaluser_identifier_key?: string

            Your user ID for the user for whom you want to create a client session.

          • Optionaluser_identity_id?: string

            ID of the user identity for which you want to create a client session.

          • Optionaluser_identity_ids?: string[]

            IDs of the user identities that you want to associate with the client session.

            Use user_identity_id instead.

        • Optionaloptions: ClientSessionsCreateOptions

        Returns ClientSessionsCreateRequest

  • get /client_sessions/get(): ((parameters?: {
        client_session_id?: string;
        user_identifier_key?: string;
    }, options?: ClientSessionsGetOptions) => ClientSessionsGetRequest)
  • Returns ((parameters?: {
        client_session_id?: string;
        user_identifier_key?: string;
    }, options?: ClientSessionsGetOptions) => ClientSessionsGetRequest)

      • (parameters?, options?): ClientSessionsGetRequest
      • Parameters

        • Optionalparameters: {
              client_session_id?: string;
              user_identifier_key?: string;
          }
          • Optionalclient_session_id?: string

            ID of the client session that you want to get.

          • Optionaluser_identifier_key?: string

            User identifier key associated with the client session that you want to get.

        • Optionaloptions: ClientSessionsGetOptions

        Returns ClientSessionsGetRequest

  • get /client_sessions/get_or_create(): ((parameters?: {
        connect_webview_ids?: string[];
        connected_account_ids?: string[];
        expires_at?: Date;
        user_identifier_key?: string;
        user_identity_id?: string;
        user_identity_ids?: string[];
    }, options?: ClientSessionsGetOrCreateOptions) => ClientSessionsGetOrCreateRequest)
  • Returns ((parameters?: {
        connect_webview_ids?: string[];
        connected_account_ids?: string[];
        expires_at?: Date;
        user_identifier_key?: string;
        user_identity_id?: string;
        user_identity_ids?: string[];
    }, options?: ClientSessionsGetOrCreateOptions) => ClientSessionsGetOrCreateRequest)

      • (parameters?, options?): ClientSessionsGetOrCreateRequest
      • Parameters

        • Optionalparameters: {
              connect_webview_ids?: string[];
              connected_account_ids?: string[];
              expires_at?: Date;
              user_identifier_key?: string;
              user_identity_id?: string;
              user_identity_ids?: string[];
          }
          • Optionalconnect_webview_ids?: string[]

            IDs of the Connect Webviews that you want to associate with the client session (or that are already associated with the existing client session).

          • Optionalconnected_account_ids?: string[]

            IDs of the connected accounts that you want to associate with the client session (or that are already associated with the existing client session).

          • Optionalexpires_at?: Date

            Date and time at which the client session should expire (or at which the existing client session expires), in ISO 8601 format.

          • Optionaluser_identifier_key?: string

            Your user ID for the user that you want to associate with the client session (or that is already associated with the existing client session).

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to associate with the client session (or that are already associated with the existing client session).

          • Optionaluser_identity_ids?: string[]

            IDs of the user identities that you want to associate with the client session.

            Use user_identity_id.

        • Optionaloptions: ClientSessionsGetOrCreateOptions

        Returns ClientSessionsGetOrCreateRequest

  • get /client_sessions/grant_access(): ((parameters?: {
        client_session_id?: string;
        connect_webview_ids?: string[];
        connected_account_ids?: string[];
        user_identifier_key?: string;
        user_identity_id?: string;
        user_identity_ids?: string[];
    }, options?: ClientSessionsGrantAccessOptions) => ClientSessionsGrantAccessRequest)
  • Returns ((parameters?: {
        client_session_id?: string;
        connect_webview_ids?: string[];
        connected_account_ids?: string[];
        user_identifier_key?: string;
        user_identity_id?: string;
        user_identity_ids?: string[];
    }, options?: ClientSessionsGrantAccessOptions) => ClientSessionsGrantAccessRequest)

      • (parameters?, options?): ClientSessionsGrantAccessRequest
      • Parameters

        • Optionalparameters: {
              client_session_id?: string;
              connect_webview_ids?: string[];
              connected_account_ids?: string[];
              user_identifier_key?: string;
              user_identity_id?: string;
              user_identity_ids?: string[];
          }
          • Optionalclient_session_id?: string

            ID of the client session to which you want to grant access to resources.

          • Optionalconnect_webview_ids?: string[]

            IDs of the Connect Webviews that you want to associate with the client session.

          • Optionalconnected_account_ids?: string[]

            IDs of the connected accounts that you want to associate with the client session.

          • Optionaluser_identifier_key?: string

            Your user ID for the user that you want to associate with the client session.

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to associate with the client session.

          • Optionaluser_identity_ids?: string[]

            IDs of the user identities that you want to associate with the client session.

            Use user_identity_id.

        • Optionaloptions: ClientSessionsGrantAccessOptions

        Returns ClientSessionsGrantAccessRequest

  • get /client_sessions/list(): ((parameters?: {
        client_session_id?: string;
        connect_webview_id?: string;
        user_identifier_key?: string;
        user_identity_id?: string;
        without_user_identifier_key?: boolean;
    }, options?: ClientSessionsListOptions) => ClientSessionsListRequest)
  • Returns ((parameters?: {
        client_session_id?: string;
        connect_webview_id?: string;
        user_identifier_key?: string;
        user_identity_id?: string;
        without_user_identifier_key?: boolean;
    }, options?: ClientSessionsListOptions) => ClientSessionsListRequest)

      • (parameters?, options?): ClientSessionsListRequest
      • Parameters

        • Optionalparameters: {
              client_session_id?: string;
              connect_webview_id?: string;
              user_identifier_key?: string;
              user_identity_id?: string;
              without_user_identifier_key?: boolean;
          }
          • Optionalclient_session_id?: string

            ID of the client session that you want to retrieve.

          • Optionalconnect_webview_id?: string

            ID of the Connect Webview for which you want to retrieve client sessions.

          • Optionaluser_identifier_key?: string

            Your user ID for the user by which you want to filter client sessions.

          • Optionaluser_identity_id?: string

            ID of the user identity for which you want to retrieve client sessions.

          • Optionalwithout_user_identifier_key?: boolean

            Indicates whether to retrieve only client sessions without associated user identifier keys.

        • Optionaloptions: ClientSessionsListOptions

        Returns ClientSessionsListRequest

  • get /connect_webviews/create(): ((parameters?: {
        accepted_capabilities?: (
            | "lock"
            | "thermostat"
            | "noise_sensor"
            | "access_control")[];
        accepted_providers?: (
            | "dormakaba_community"
            | "legic_connect"
            | "akuvox"
            | "august"
            | "avigilon_alta"
            | "brivo"
            | "butterflymx"
            | "schlage"
            | "smartthings"
            | "yale"
            | "genie"
            | "doorking"
            | "salto"
            | "salto_ks"
            | "lockly"
            | "ttlock"
            | "linear"
            | "noiseaware"
            | "nuki"
            | "seam_relay_admin"
            | "igloo"
            | "kwikset"
            | "minut"
            | "my_2n"
            | "controlbyweb"
            | "nest"
            | "igloohome"
            | "ecobee"
            | "hubitat"
            | "four_suites"
            | "dormakaba_oracode"
            | "pti"
            | "wyze"
            | "seam_passport"
            | "visionline"
            | "assa_abloy_credential_service"
            | "seam_bridge"
            | "tedee"
            | "honeywell_resideo"
            | "latch"
            | "akiles"
            | "assa_abloy_vostio"
            | "assa_abloy_vostio_credential_service"
            | "tado"
            | "salto_space"
            | "sensi"
            | "kwikset2"
            | "yale_access"
            | "hid_cm"
            | "google_nest")[];
        automatically_manage_new_devices?: boolean;
        custom_metadata?: Record<string, null | string | boolean>;
        custom_redirect_failure_url?: string;
        custom_redirect_url?: string;
        customer_id?: string;
        device_selection_mode?: "none" | "single" | "multiple";
        provider_category?:
            | "noise_sensors"
            | "thermostats"
            | "stable"
            | "consumer_smartlocks"
            | "access_control_systems"
            | "internal_beta";
        wait_for_device_creation?: boolean;
    }, options?: ConnectWebviewsCreateOptions) => ConnectWebviewsCreateRequest)
  • Returns ((parameters?: {
        accepted_capabilities?: (
            | "lock"
            | "thermostat"
            | "noise_sensor"
            | "access_control")[];
        accepted_providers?: (
            | "dormakaba_community"
            | "legic_connect"
            | "akuvox"
            | "august"
            | "avigilon_alta"
            | "brivo"
            | "butterflymx"
            | "schlage"
            | "smartthings"
            | "yale"
            | "genie"
            | "doorking"
            | "salto"
            | "salto_ks"
            | "lockly"
            | "ttlock"
            | "linear"
            | "noiseaware"
            | "nuki"
            | "seam_relay_admin"
            | "igloo"
            | "kwikset"
            | "minut"
            | "my_2n"
            | "controlbyweb"
            | "nest"
            | "igloohome"
            | "ecobee"
            | "hubitat"
            | "four_suites"
            | "dormakaba_oracode"
            | "pti"
            | "wyze"
            | "seam_passport"
            | "visionline"
            | "assa_abloy_credential_service"
            | "seam_bridge"
            | "tedee"
            | "honeywell_resideo"
            | "latch"
            | "akiles"
            | "assa_abloy_vostio"
            | "assa_abloy_vostio_credential_service"
            | "tado"
            | "salto_space"
            | "sensi"
            | "kwikset2"
            | "yale_access"
            | "hid_cm"
            | "google_nest")[];
        automatically_manage_new_devices?: boolean;
        custom_metadata?: Record<string, null | string | boolean>;
        custom_redirect_failure_url?: string;
        custom_redirect_url?: string;
        customer_id?: string;
        device_selection_mode?: "none" | "single" | "multiple";
        provider_category?:
            | "noise_sensors"
            | "thermostats"
            | "stable"
            | "consumer_smartlocks"
            | "access_control_systems"
            | "internal_beta";
        wait_for_device_creation?: boolean;
    }, options?: ConnectWebviewsCreateOptions) => ConnectWebviewsCreateRequest)

      • (parameters?, options?): ConnectWebviewsCreateRequest
      • Parameters

        • Optionalparameters: {
              accepted_capabilities?: (
                  | "lock"
                  | "thermostat"
                  | "noise_sensor"
                  | "access_control")[];
              accepted_providers?: (
                  | "dormakaba_community"
                  | "legic_connect"
                  | "akuvox"
                  | "august"
                  | "avigilon_alta"
                  | "brivo"
                  | "butterflymx"
                  | "schlage"
                  | "smartthings"
                  | "yale"
                  | "genie"
                  | "doorking"
                  | "salto"
                  | "salto_ks"
                  | "lockly"
                  | "ttlock"
                  | "linear"
                  | "noiseaware"
                  | "nuki"
                  | "seam_relay_admin"
                  | "igloo"
                  | "kwikset"
                  | "minut"
                  | "my_2n"
                  | "controlbyweb"
                  | "nest"
                  | "igloohome"
                  | "ecobee"
                  | "hubitat"
                  | "four_suites"
                  | "dormakaba_oracode"
                  | "pti"
                  | "wyze"
                  | "seam_passport"
                  | "visionline"
                  | "assa_abloy_credential_service"
                  | "seam_bridge"
                  | "tedee"
                  | "honeywell_resideo"
                  | "latch"
                  | "akiles"
                  | "assa_abloy_vostio"
                  | "assa_abloy_vostio_credential_service"
                  | "tado"
                  | "salto_space"
                  | "sensi"
                  | "kwikset2"
                  | "yale_access"
                  | "hid_cm"
                  | "google_nest")[];
              automatically_manage_new_devices?: boolean;
              custom_metadata?: Record<string, null | string | boolean>;
              custom_redirect_failure_url?: string;
              custom_redirect_url?: string;
              customer_id?: string;
              device_selection_mode?: "none" | "single" | "multiple";
              provider_category?:
                  | "noise_sensors"
                  | "thermostats"
                  | "stable"
                  | "consumer_smartlocks"
                  | "access_control_systems"
                  | "internal_beta";
              wait_for_device_creation?: boolean;
          }
          • Optionalaccepted_capabilities?: (
                | "lock"
                | "thermostat"
                | "noise_sensor"
                | "access_control")[]

            List of accepted device capabilities that restrict the types of devices that can be connected through the Connect Webview. If not provided, defaults will be determined based on the accepted providers.

          • Optionalaccepted_providers?: (
                | "dormakaba_community"
                | "legic_connect"
                | "akuvox"
                | "august"
                | "avigilon_alta"
                | "brivo"
                | "butterflymx"
                | "schlage"
                | "smartthings"
                | "yale"
                | "genie"
                | "doorking"
                | "salto"
                | "salto_ks"
                | "lockly"
                | "ttlock"
                | "linear"
                | "noiseaware"
                | "nuki"
                | "seam_relay_admin"
                | "igloo"
                | "kwikset"
                | "minut"
                | "my_2n"
                | "controlbyweb"
                | "nest"
                | "igloohome"
                | "ecobee"
                | "hubitat"
                | "four_suites"
                | "dormakaba_oracode"
                | "pti"
                | "wyze"
                | "seam_passport"
                | "visionline"
                | "assa_abloy_credential_service"
                | "seam_bridge"
                | "tedee"
                | "honeywell_resideo"
                | "latch"
                | "akiles"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service"
                | "tado"
                | "salto_space"
                | "sensi"
                | "kwikset2"
                | "yale_access"
                | "hid_cm"
                | "google_nest")[]

            Accepted device provider keys as an alternative to provider_category. Use this parameter to specify accepted providers explicitly. See Customize the Brands to Display in Your Connect Webviews. To list all provider keys, use /devices/list_device_providers with no filters.

          • Optionalautomatically_manage_new_devices?: boolean

            Indicates whether newly-added devices should appear as managed devices. See also: Customize the Behavior Settings of Your Connect Webviews.

          • Optionalcustom_metadata?: Record<string, null | string | boolean>

            Custom metadata that you want to associate with the Connect Webview. Supports up to 50 JSON key:value pairs. Adding custom metadata to a Connect Webview enables you to store custom information, like customer details or internal IDs from your application. The custom metadata is then transferred to any connected accounts that were connected using the Connect Webview, making it easy to find and filter these resources in your workspace. You can also filter Connect Webviews by custom metadata.

          • Optionalcustom_redirect_failure_url?: string

            Alternative URL that you want to redirect the user to on an error. If you do not set this parameter, the Connect Webview falls back to the custom_redirect_url.

          • Optionalcustom_redirect_url?: string

            URL that you want to redirect the user to after the provider login is complete.

          • Optionalcustomer_id?: string
          • Optionaldevice_selection_mode?: "none" | "single" | "multiple"
          • Optionalprovider_category?:
                | "noise_sensors"
                | "thermostats"
                | "stable"
                | "consumer_smartlocks"
                | "access_control_systems"
                | "internal_beta"

            Specifies the category of providers that you want to include. To list all providers within a category, use /devices/list_device_providers with the desired provider_category filter.

          • Optionalwait_for_device_creation?: boolean

            Indicates whether Seam should finish syncing all devices in a newly-connected account before completing the associated Connect Webview. See also: Customize the Behavior Settings of Your Connect Webviews.

        • Optionaloptions: ConnectWebviewsCreateOptions

        Returns ConnectWebviewsCreateRequest

  • get /connect_webviews/list(): ((parameters?: {
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        limit?: number;
        page_cursor?: null | string;
        user_identifier_key?: string;
    }, options?: ConnectWebviewsListOptions) => ConnectWebviewsListRequest)
  • Returns ((parameters?: {
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        limit?: number;
        page_cursor?: null | string;
        user_identifier_key?: string;
    }, options?: ConnectWebviewsListOptions) => ConnectWebviewsListRequest)

      • (parameters?, options?): ConnectWebviewsListRequest
      • Parameters

        • Optionalparameters: {
              custom_metadata_has?: Record<string, string | boolean>;
              customer_ids?: string[];
              limit?: number;
              page_cursor?: null | string;
              user_identifier_key?: string;
          }
          • Optionalcustom_metadata_has?: Record<string, string | boolean>

            Custom metadata pairs by which you want to filter Connect Webviews. Returns Connect Webviews with custom_metadata that contains all of the provided key:value pairs.

          • Optionalcustomer_ids?: string[]
          • Optionallimit?: number

            Maximum number of records to return per page.

          • Optionalpage_cursor?: null | string

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

          • Optionaluser_identifier_key?: string

            Your user ID for the user by which you want to filter Connect Webviews.

        • Optionaloptions: ConnectWebviewsListOptions

        Returns ConnectWebviewsListRequest

  • get /connected_accounts/list(): ((parameters?: {
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        limit?: number;
        page_cursor?: null | string;
        user_identifier_key?: string;
    }, options?: ConnectedAccountsListOptions) => ConnectedAccountsListRequest)
  • Returns ((parameters?: {
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        limit?: number;
        page_cursor?: null | string;
        user_identifier_key?: string;
    }, options?: ConnectedAccountsListOptions) => ConnectedAccountsListRequest)

      • (parameters?, options?): ConnectedAccountsListRequest
      • Parameters

        • Optionalparameters: {
              custom_metadata_has?: Record<string, string | boolean>;
              customer_ids?: string[];
              limit?: number;
              page_cursor?: null | string;
              user_identifier_key?: string;
          }
          • Optionalcustom_metadata_has?: Record<string, string | boolean>

            Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with custom_metadata that contains all of the provided key:value pairs.

          • Optionalcustomer_ids?: string[]
          • Optionallimit?: number

            Maximum number of records to return per page.

          • Optionalpage_cursor?: null | string

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

          • Optionaluser_identifier_key?: string

            Your user ID for the user by which you want to filter connected accounts.

        • Optionaloptions: ConnectedAccountsListOptions

        Returns ConnectedAccountsListRequest

  • get /connected_accounts/update(): ((parameters?: {
        automatically_manage_new_devices?: boolean;
        connected_account_id: string;
        custom_metadata?: Record<string, null | string | boolean>;
    }, options?: ConnectedAccountsUpdateOptions) => ConnectedAccountsUpdateRequest)
  • Returns ((parameters?: {
        automatically_manage_new_devices?: boolean;
        connected_account_id: string;
        custom_metadata?: Record<string, null | string | boolean>;
    }, options?: ConnectedAccountsUpdateOptions) => ConnectedAccountsUpdateRequest)

  • get /devices/get(): ((parameters?: {
        device_id?: string;
        name?: string;
    }, options?: DevicesGetOptions) => DevicesGetRequest)
  • Returns ((parameters?: {
        device_id?: string;
        name?: string;
    }, options?: DevicesGetOptions) => DevicesGetRequest)

      • (parameters?, options?): DevicesGetRequest
      • Parameters

        • Optionalparameters: {
              device_id?: string;
              name?: string;
          }
          • Optionaldevice_id?: string

            ID of the device that you want to get.

          • Optionalname?: string

            Name of the device that you want to get.

        • Optionaloptions: DevicesGetOptions

        Returns DevicesGetRequest

  • get /devices/list(): ((parameters?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: 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")[];
        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")[];
        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"
            | "keywe"
            | "philia"
            | "samsung"
            | "seam"
            | "unknown"
            | "two_n";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }, options?: DevicesListOptions) => DevicesListRequest)
  • Returns ((parameters?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: 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")[];
        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")[];
        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"
            | "keywe"
            | "philia"
            | "samsung"
            | "seam"
            | "unknown"
            | "two_n";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }, options?: DevicesListOptions) => DevicesListRequest)

      • (parameters?, options?): DevicesListRequest
      • Parameters

        • Optionalparameters: {
              connect_webview_id?: string;
              connected_account_id?: string;
              connected_account_ids?: string[];
              created_before?: Date;
              custom_metadata_has?: Record<string, string | boolean>;
              customer_ids?: 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")[];
              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")[];
              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"
                  | "keywe"
                  | "philia"
                  | "samsung"
                  | "seam"
                  | "unknown"
                  | "two_n";
              page_cursor?: null | 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?: Record<string, string | boolean>

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

          • Optionalcustomer_ids?: string[]
          • 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")[]
          • 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")[]
          • 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"
                | "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.

          • 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.

        • Optionaloptions: DevicesListOptions

        Returns DevicesListRequest

  • get /devices/list_device_providers(): ((parameters?: {
        provider_category?:
            | "noise_sensors"
            | "thermostats"
            | "stable"
            | "consumer_smartlocks"
            | "access_control_systems";
    }, options?: DevicesListDeviceProvidersOptions) => DevicesListDeviceProvidersRequest)
  • Returns ((parameters?: {
        provider_category?:
            | "noise_sensors"
            | "thermostats"
            | "stable"
            | "consumer_smartlocks"
            | "access_control_systems";
    }, options?: DevicesListDeviceProvidersOptions) => DevicesListDeviceProvidersRequest)

      • (parameters?, options?): DevicesListDeviceProvidersRequest
      • Parameters

        • Optionalparameters: {
              provider_category?:
                  | "noise_sensors"
                  | "thermostats"
                  | "stable"
                  | "consumer_smartlocks"
                  | "access_control_systems";
          }
          • Optionalprovider_category?:
                | "noise_sensors"
                | "thermostats"
                | "stable"
                | "consumer_smartlocks"
                | "access_control_systems"

            Category for which you want to list providers.

        • Optionaloptions: DevicesListDeviceProvidersOptions

        Returns DevicesListDeviceProvidersRequest

  • get /devices/unmanaged/list(): ((parameters?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: 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")[];
        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")[];
        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"
            | "keywe"
            | "philia"
            | "samsung"
            | "seam"
            | "unknown"
            | "two_n";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }, options?: DevicesUnmanagedListOptions) => DevicesUnmanagedListRequest)
  • Returns ((parameters?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: 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")[];
        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")[];
        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"
            | "keywe"
            | "philia"
            | "samsung"
            | "seam"
            | "unknown"
            | "two_n";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }, options?: DevicesUnmanagedListOptions) => DevicesUnmanagedListRequest)

      • (parameters?, options?): DevicesUnmanagedListRequest
      • Parameters

        • Optionalparameters: {
              connect_webview_id?: string;
              connected_account_id?: string;
              connected_account_ids?: string[];
              created_before?: Date;
              custom_metadata_has?: Record<string, string | boolean>;
              customer_ids?: 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")[];
              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")[];
              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"
                  | "keywe"
                  | "philia"
                  | "samsung"
                  | "seam"
                  | "unknown"
                  | "two_n";
              page_cursor?: null | 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?: Record<string, string | boolean>

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

          • Optionalcustomer_ids?: string[]
          • 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")[]
          • 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")[]
          • 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"
                | "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.

          • 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.

        • Optionaloptions: DevicesUnmanagedListOptions

        Returns DevicesUnmanagedListRequest

  • get /devices/update(): ((parameters?: {
        custom_metadata?: Record<string, null | string | boolean>;
        device_id: string;
        is_managed?: boolean;
        name?: null | string;
        properties?: {
            name?: null | string;
        };
    }, options?: DevicesUpdateOptions) => DevicesUpdateRequest)
  • Returns ((parameters?: {
        custom_metadata?: Record<string, null | string | boolean>;
        device_id: string;
        is_managed?: boolean;
        name?: null | string;
        properties?: {
            name?: null | string;
        };
    }, options?: DevicesUpdateOptions) => DevicesUpdateRequest)

      • (parameters?, options?): DevicesUpdateRequest
      • Parameters

        • Optionalparameters: {
              custom_metadata?: Record<string, null | string | boolean>;
              device_id: string;
              is_managed?: boolean;
              name?: null | string;
              properties?: {
                  name?: null | string;
              };
          }
          • Optionalcustom_metadata?: Record<string, null | string | boolean>

            Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs. Adding custom metadata to a device enables you to store custom information, like customer details or internal IDs from your application. Then, you can filter devices by the desired metadata.

          • device_id: string

            ID of the device that you want to update.

          • Optionalis_managed?: boolean

            Indicates whether the device is managed. To unmanage a device, set is_managed to false.

          • Optionalname?: null | string

            Name for the device.

          • Optionalproperties?: {
                name?: null | string;
            }
            • Optionalname?: null | string

              Name for the device.

        • Optionaloptions: DevicesUpdateOptions

        Returns DevicesUpdateRequest

  • get /events/get(): ((parameters?: {
        device_id?: string;
        event_id?: string;
        event_type?: string;
    }, options?: EventsGetOptions) => EventsGetRequest)
  • Returns ((parameters?: {
        device_id?: string;
        event_id?: string;
        event_type?: string;
    }, options?: EventsGetOptions) => EventsGetRequest)

      • (parameters?, options?): EventsGetRequest
      • Parameters

        • Optionalparameters: {
              device_id?: string;
              event_id?: string;
              event_type?: string;
          }
          • Optionaldevice_id?: string

            Unique identifier for the device that triggered the event that you want to get.

          • Optionalevent_id?: string

            Unique identifier for the event that you want to get.

          • Optionalevent_type?: string

            Type of the event that you want to get.

        • Optionaloptions: EventsGetOptions

        Returns EventsGetRequest

  • get /events/list(): ((parameters?: {
        access_code_id?: string;
        access_code_ids?: string[];
        acs_system_id?: string;
        acs_system_ids?: string[];
        between?: (string | Date)[];
        connect_webview_id?: string;
        connected_account_id?: string;
        customer_ids?: string[];
        device_id?: string;
        device_ids?: string[];
        event_ids?: string[];
        event_type?:
            | "access_code.created"
            | "access_code.changed"
            | "access_code.scheduled_on_device"
            | "access_code.set_on_device"
            | "access_code.removed_from_device"
            | "access_code.delay_in_setting_on_device"
            | "access_code.failed_to_set_on_device"
            | "access_code.deleted"
            | "access_code.delay_in_removing_from_device"
            | "access_code.failed_to_remove_from_device"
            | "access_code.modified_external_to_seam"
            | "access_code.deleted_external_to_seam"
            | "access_code.backup_access_code_pulled"
            | "access_code.unmanaged.converted_to_managed"
            | "access_code.unmanaged.failed_to_convert_to_managed"
            | "access_code.unmanaged.created"
            | "access_code.unmanaged.removed"
            | "access_grant.created"
            | "access_grant.deleted"
            | "access_grant.access_granted_to_all_doors"
            | "access_grant.access_granted_to_door"
            | "access_grant.access_to_door_lost"
            | "access_method.issued"
            | "access_method.revoked"
            | "access_method.card_encoding_required"
            | "access_method.deleted"
            | "access_method.reissued"
            | "acs_system.connected"
            | "acs_system.added"
            | "acs_system.disconnected"
            | "acs_credential.deleted"
            | "acs_credential.issued"
            | "acs_credential.reissued"
            | "acs_credential.invalidated"
            | "acs_user.created"
            | "acs_user.deleted"
            | "acs_encoder.added"
            | "acs_encoder.removed"
            | "acs_access_group.deleted"
            | "acs_entrance.added"
            | "acs_entrance.removed"
            | "client_session.deleted"
            | "connected_account.connected"
            | "connected_account.created"
            | "connected_account.successful_login"
            | "connected_account.disconnected"
            | "connected_account.completed_first_sync"
            | "connected_account.deleted"
            | "connected_account.completed_first_sync_after_reconnection"
            | "action_attempt.lock_door.succeeded"
            | "action_attempt.lock_door.failed"
            | "action_attempt.unlock_door.succeeded"
            | "action_attempt.unlock_door.failed"
            | "connect_webview.login_succeeded"
            | "connect_webview.login_failed"
            | "device.connected"
            | "device.added"
            | "device.converted_to_unmanaged"
            | "device.unmanaged.converted_to_managed"
            | "device.unmanaged.connected"
            | "device.disconnected"
            | "device.unmanaged.disconnected"
            | "device.tampered"
            | "device.low_battery"
            | "device.battery_status_changed"
            | "device.removed"
            | "device.deleted"
            | "device.third_party_integration_detected"
            | "device.third_party_integration_no_longer_detected"
            | "device.salto.privacy_mode_activated"
            | "device.salto.privacy_mode_deactivated"
            | "device.connection_became_flaky"
            | "device.connection_stabilized"
            | "device.error.subscription_required"
            | "device.error.subscription_required.resolved"
            | "device.accessory_keypad_connected"
            | "device.accessory_keypad_disconnected"
            | "noise_sensor.noise_threshold_triggered"
            | "lock.locked"
            | "lock.unlocked"
            | "lock.access_denied"
            | "thermostat.climate_preset_activated"
            | "thermostat.manually_adjusted"
            | "thermostat.temperature_threshold_exceeded"
            | "thermostat.temperature_threshold_no_longer_exceeded"
            | "thermostat.temperature_reached_set_point"
            | "thermostat.temperature_changed"
            | "device.name_changed"
            | "enrollment_automation.deleted"
            | "phone.deactivated";
        event_types?: (
            | "access_code.created"
            | "access_code.changed"
            | "access_code.scheduled_on_device"
            | "access_code.set_on_device"
            | "access_code.removed_from_device"
            | "access_code.delay_in_setting_on_device"
            | "access_code.failed_to_set_on_device"
            | "access_code.deleted"
            | "access_code.delay_in_removing_from_device"
            | "access_code.failed_to_remove_from_device"
            | "access_code.modified_external_to_seam"
            | "access_code.deleted_external_to_seam"
            | "access_code.backup_access_code_pulled"
            | "access_code.unmanaged.converted_to_managed"
            | "access_code.unmanaged.failed_to_convert_to_managed"
            | "access_code.unmanaged.created"
            | "access_code.unmanaged.removed"
            | "access_grant.created"
            | "access_grant.deleted"
            | "access_grant.access_granted_to_all_doors"
            | "access_grant.access_granted_to_door"
            | "access_grant.access_to_door_lost"
            | "access_method.issued"
            | "access_method.revoked"
            | "access_method.card_encoding_required"
            | "access_method.deleted"
            | "access_method.reissued"
            | "acs_system.connected"
            | "acs_system.added"
            | "acs_system.disconnected"
            | "acs_credential.deleted"
            | "acs_credential.issued"
            | "acs_credential.reissued"
            | "acs_credential.invalidated"
            | "acs_user.created"
            | "acs_user.deleted"
            | "acs_encoder.added"
            | "acs_encoder.removed"
            | "acs_access_group.deleted"
            | "acs_entrance.added"
            | "acs_entrance.removed"
            | "client_session.deleted"
            | "connected_account.connected"
            | "connected_account.created"
            | "connected_account.successful_login"
            | "connected_account.disconnected"
            | "connected_account.completed_first_sync"
            | "connected_account.deleted"
            | "connected_account.completed_first_sync_after_reconnection"
            | "action_attempt.lock_door.succeeded"
            | "action_attempt.lock_door.failed"
            | "action_attempt.unlock_door.succeeded"
            | "action_attempt.unlock_door.failed"
            | "connect_webview.login_succeeded"
            | "connect_webview.login_failed"
            | "device.connected"
            | "device.added"
            | "device.converted_to_unmanaged"
            | "device.unmanaged.converted_to_managed"
            | "device.unmanaged.connected"
            | "device.disconnected"
            | "device.unmanaged.disconnected"
            | "device.tampered"
            | "device.low_battery"
            | "device.battery_status_changed"
            | "device.removed"
            | "device.deleted"
            | "device.third_party_integration_detected"
            | "device.third_party_integration_no_longer_detected"
            | "device.salto.privacy_mode_activated"
            | "device.salto.privacy_mode_deactivated"
            | "device.connection_became_flaky"
            | "device.connection_stabilized"
            | "device.error.subscription_required"
            | "device.error.subscription_required.resolved"
            | "device.accessory_keypad_connected"
            | "device.accessory_keypad_disconnected"
            | "noise_sensor.noise_threshold_triggered"
            | "lock.locked"
            | "lock.unlocked"
            | "lock.access_denied"
            | "thermostat.climate_preset_activated"
            | "thermostat.manually_adjusted"
            | "thermostat.temperature_threshold_exceeded"
            | "thermostat.temperature_threshold_no_longer_exceeded"
            | "thermostat.temperature_reached_set_point"
            | "thermostat.temperature_changed"
            | "device.name_changed"
            | "enrollment_automation.deleted"
            | "phone.deactivated")[];
        limit?: number;
        since?: string;
        unstable_offset?: number;
    }, options?: EventsListOptions) => EventsListRequest)
  • Returns ((parameters?: {
        access_code_id?: string;
        access_code_ids?: string[];
        acs_system_id?: string;
        acs_system_ids?: string[];
        between?: (string | Date)[];
        connect_webview_id?: string;
        connected_account_id?: string;
        customer_ids?: string[];
        device_id?: string;
        device_ids?: string[];
        event_ids?: string[];
        event_type?:
            | "access_code.created"
            | "access_code.changed"
            | "access_code.scheduled_on_device"
            | "access_code.set_on_device"
            | "access_code.removed_from_device"
            | "access_code.delay_in_setting_on_device"
            | "access_code.failed_to_set_on_device"
            | "access_code.deleted"
            | "access_code.delay_in_removing_from_device"
            | "access_code.failed_to_remove_from_device"
            | "access_code.modified_external_to_seam"
            | "access_code.deleted_external_to_seam"
            | "access_code.backup_access_code_pulled"
            | "access_code.unmanaged.converted_to_managed"
            | "access_code.unmanaged.failed_to_convert_to_managed"
            | "access_code.unmanaged.created"
            | "access_code.unmanaged.removed"
            | "access_grant.created"
            | "access_grant.deleted"
            | "access_grant.access_granted_to_all_doors"
            | "access_grant.access_granted_to_door"
            | "access_grant.access_to_door_lost"
            | "access_method.issued"
            | "access_method.revoked"
            | "access_method.card_encoding_required"
            | "access_method.deleted"
            | "access_method.reissued"
            | "acs_system.connected"
            | "acs_system.added"
            | "acs_system.disconnected"
            | "acs_credential.deleted"
            | "acs_credential.issued"
            | "acs_credential.reissued"
            | "acs_credential.invalidated"
            | "acs_user.created"
            | "acs_user.deleted"
            | "acs_encoder.added"
            | "acs_encoder.removed"
            | "acs_access_group.deleted"
            | "acs_entrance.added"
            | "acs_entrance.removed"
            | "client_session.deleted"
            | "connected_account.connected"
            | "connected_account.created"
            | "connected_account.successful_login"
            | "connected_account.disconnected"
            | "connected_account.completed_first_sync"
            | "connected_account.deleted"
            | "connected_account.completed_first_sync_after_reconnection"
            | "action_attempt.lock_door.succeeded"
            | "action_attempt.lock_door.failed"
            | "action_attempt.unlock_door.succeeded"
            | "action_attempt.unlock_door.failed"
            | "connect_webview.login_succeeded"
            | "connect_webview.login_failed"
            | "device.connected"
            | "device.added"
            | "device.converted_to_unmanaged"
            | "device.unmanaged.converted_to_managed"
            | "device.unmanaged.connected"
            | "device.disconnected"
            | "device.unmanaged.disconnected"
            | "device.tampered"
            | "device.low_battery"
            | "device.battery_status_changed"
            | "device.removed"
            | "device.deleted"
            | "device.third_party_integration_detected"
            | "device.third_party_integration_no_longer_detected"
            | "device.salto.privacy_mode_activated"
            | "device.salto.privacy_mode_deactivated"
            | "device.connection_became_flaky"
            | "device.connection_stabilized"
            | "device.error.subscription_required"
            | "device.error.subscription_required.resolved"
            | "device.accessory_keypad_connected"
            | "device.accessory_keypad_disconnected"
            | "noise_sensor.noise_threshold_triggered"
            | "lock.locked"
            | "lock.unlocked"
            | "lock.access_denied"
            | "thermostat.climate_preset_activated"
            | "thermostat.manually_adjusted"
            | "thermostat.temperature_threshold_exceeded"
            | "thermostat.temperature_threshold_no_longer_exceeded"
            | "thermostat.temperature_reached_set_point"
            | "thermostat.temperature_changed"
            | "device.name_changed"
            | "enrollment_automation.deleted"
            | "phone.deactivated";
        event_types?: (
            | "access_code.created"
            | "access_code.changed"
            | "access_code.scheduled_on_device"
            | "access_code.set_on_device"
            | "access_code.removed_from_device"
            | "access_code.delay_in_setting_on_device"
            | "access_code.failed_to_set_on_device"
            | "access_code.deleted"
            | "access_code.delay_in_removing_from_device"
            | "access_code.failed_to_remove_from_device"
            | "access_code.modified_external_to_seam"
            | "access_code.deleted_external_to_seam"
            | "access_code.backup_access_code_pulled"
            | "access_code.unmanaged.converted_to_managed"
            | "access_code.unmanaged.failed_to_convert_to_managed"
            | "access_code.unmanaged.created"
            | "access_code.unmanaged.removed"
            | "access_grant.created"
            | "access_grant.deleted"
            | "access_grant.access_granted_to_all_doors"
            | "access_grant.access_granted_to_door"
            | "access_grant.access_to_door_lost"
            | "access_method.issued"
            | "access_method.revoked"
            | "access_method.card_encoding_required"
            | "access_method.deleted"
            | "access_method.reissued"
            | "acs_system.connected"
            | "acs_system.added"
            | "acs_system.disconnected"
            | "acs_credential.deleted"
            | "acs_credential.issued"
            | "acs_credential.reissued"
            | "acs_credential.invalidated"
            | "acs_user.created"
            | "acs_user.deleted"
            | "acs_encoder.added"
            | "acs_encoder.removed"
            | "acs_access_group.deleted"
            | "acs_entrance.added"
            | "acs_entrance.removed"
            | "client_session.deleted"
            | "connected_account.connected"
            | "connected_account.created"
            | "connected_account.successful_login"
            | "connected_account.disconnected"
            | "connected_account.completed_first_sync"
            | "connected_account.deleted"
            | "connected_account.completed_first_sync_after_reconnection"
            | "action_attempt.lock_door.succeeded"
            | "action_attempt.lock_door.failed"
            | "action_attempt.unlock_door.succeeded"
            | "action_attempt.unlock_door.failed"
            | "connect_webview.login_succeeded"
            | "connect_webview.login_failed"
            | "device.connected"
            | "device.added"
            | "device.converted_to_unmanaged"
            | "device.unmanaged.converted_to_managed"
            | "device.unmanaged.connected"
            | "device.disconnected"
            | "device.unmanaged.disconnected"
            | "device.tampered"
            | "device.low_battery"
            | "device.battery_status_changed"
            | "device.removed"
            | "device.deleted"
            | "device.third_party_integration_detected"
            | "device.third_party_integration_no_longer_detected"
            | "device.salto.privacy_mode_activated"
            | "device.salto.privacy_mode_deactivated"
            | "device.connection_became_flaky"
            | "device.connection_stabilized"
            | "device.error.subscription_required"
            | "device.error.subscription_required.resolved"
            | "device.accessory_keypad_connected"
            | "device.accessory_keypad_disconnected"
            | "noise_sensor.noise_threshold_triggered"
            | "lock.locked"
            | "lock.unlocked"
            | "lock.access_denied"
            | "thermostat.climate_preset_activated"
            | "thermostat.manually_adjusted"
            | "thermostat.temperature_threshold_exceeded"
            | "thermostat.temperature_threshold_no_longer_exceeded"
            | "thermostat.temperature_reached_set_point"
            | "thermostat.temperature_changed"
            | "device.name_changed"
            | "enrollment_automation.deleted"
            | "phone.deactivated")[];
        limit?: number;
        since?: string;
        unstable_offset?: number;
    }, options?: EventsListOptions) => EventsListRequest)

      • (parameters?, options?): EventsListRequest
      • Parameters

        • Optionalparameters: {
              access_code_id?: string;
              access_code_ids?: string[];
              acs_system_id?: string;
              acs_system_ids?: string[];
              between?: (string | Date)[];
              connect_webview_id?: string;
              connected_account_id?: string;
              customer_ids?: string[];
              device_id?: string;
              device_ids?: string[];
              event_ids?: string[];
              event_type?:
                  | "access_code.created"
                  | "access_code.changed"
                  | "access_code.scheduled_on_device"
                  | "access_code.set_on_device"
                  | "access_code.removed_from_device"
                  | "access_code.delay_in_setting_on_device"
                  | "access_code.failed_to_set_on_device"
                  | "access_code.deleted"
                  | "access_code.delay_in_removing_from_device"
                  | "access_code.failed_to_remove_from_device"
                  | "access_code.modified_external_to_seam"
                  | "access_code.deleted_external_to_seam"
                  | "access_code.backup_access_code_pulled"
                  | "access_code.unmanaged.converted_to_managed"
                  | "access_code.unmanaged.failed_to_convert_to_managed"
                  | "access_code.unmanaged.created"
                  | "access_code.unmanaged.removed"
                  | "access_grant.created"
                  | "access_grant.deleted"
                  | "access_grant.access_granted_to_all_doors"
                  | "access_grant.access_granted_to_door"
                  | "access_grant.access_to_door_lost"
                  | "access_method.issued"
                  | "access_method.revoked"
                  | "access_method.card_encoding_required"
                  | "access_method.deleted"
                  | "access_method.reissued"
                  | "acs_system.connected"
                  | "acs_system.added"
                  | "acs_system.disconnected"
                  | "acs_credential.deleted"
                  | "acs_credential.issued"
                  | "acs_credential.reissued"
                  | "acs_credential.invalidated"
                  | "acs_user.created"
                  | "acs_user.deleted"
                  | "acs_encoder.added"
                  | "acs_encoder.removed"
                  | "acs_access_group.deleted"
                  | "acs_entrance.added"
                  | "acs_entrance.removed"
                  | "client_session.deleted"
                  | "connected_account.connected"
                  | "connected_account.created"
                  | "connected_account.successful_login"
                  | "connected_account.disconnected"
                  | "connected_account.completed_first_sync"
                  | "connected_account.deleted"
                  | "connected_account.completed_first_sync_after_reconnection"
                  | "action_attempt.lock_door.succeeded"
                  | "action_attempt.lock_door.failed"
                  | "action_attempt.unlock_door.succeeded"
                  | "action_attempt.unlock_door.failed"
                  | "connect_webview.login_succeeded"
                  | "connect_webview.login_failed"
                  | "device.connected"
                  | "device.added"
                  | "device.converted_to_unmanaged"
                  | "device.unmanaged.converted_to_managed"
                  | "device.unmanaged.connected"
                  | "device.disconnected"
                  | "device.unmanaged.disconnected"
                  | "device.tampered"
                  | "device.low_battery"
                  | "device.battery_status_changed"
                  | "device.removed"
                  | "device.deleted"
                  | "device.third_party_integration_detected"
                  | "device.third_party_integration_no_longer_detected"
                  | "device.salto.privacy_mode_activated"
                  | "device.salto.privacy_mode_deactivated"
                  | "device.connection_became_flaky"
                  | "device.connection_stabilized"
                  | "device.error.subscription_required"
                  | "device.error.subscription_required.resolved"
                  | "device.accessory_keypad_connected"
                  | "device.accessory_keypad_disconnected"
                  | "noise_sensor.noise_threshold_triggered"
                  | "lock.locked"
                  | "lock.unlocked"
                  | "lock.access_denied"
                  | "thermostat.climate_preset_activated"
                  | "thermostat.manually_adjusted"
                  | "thermostat.temperature_threshold_exceeded"
                  | "thermostat.temperature_threshold_no_longer_exceeded"
                  | "thermostat.temperature_reached_set_point"
                  | "thermostat.temperature_changed"
                  | "device.name_changed"
                  | "enrollment_automation.deleted"
                  | "phone.deactivated";
              event_types?: (
                  | "access_code.created"
                  | "access_code.changed"
                  | "access_code.scheduled_on_device"
                  | "access_code.set_on_device"
                  | "access_code.removed_from_device"
                  | "access_code.delay_in_setting_on_device"
                  | "access_code.failed_to_set_on_device"
                  | "access_code.deleted"
                  | "access_code.delay_in_removing_from_device"
                  | "access_code.failed_to_remove_from_device"
                  | "access_code.modified_external_to_seam"
                  | "access_code.deleted_external_to_seam"
                  | "access_code.backup_access_code_pulled"
                  | "access_code.unmanaged.converted_to_managed"
                  | "access_code.unmanaged.failed_to_convert_to_managed"
                  | "access_code.unmanaged.created"
                  | "access_code.unmanaged.removed"
                  | "access_grant.created"
                  | "access_grant.deleted"
                  | "access_grant.access_granted_to_all_doors"
                  | "access_grant.access_granted_to_door"
                  | "access_grant.access_to_door_lost"
                  | "access_method.issued"
                  | "access_method.revoked"
                  | "access_method.card_encoding_required"
                  | "access_method.deleted"
                  | "access_method.reissued"
                  | "acs_system.connected"
                  | "acs_system.added"
                  | "acs_system.disconnected"
                  | "acs_credential.deleted"
                  | "acs_credential.issued"
                  | "acs_credential.reissued"
                  | "acs_credential.invalidated"
                  | "acs_user.created"
                  | "acs_user.deleted"
                  | "acs_encoder.added"
                  | "acs_encoder.removed"
                  | "acs_access_group.deleted"
                  | "acs_entrance.added"
                  | "acs_entrance.removed"
                  | "client_session.deleted"
                  | "connected_account.connected"
                  | "connected_account.created"
                  | "connected_account.successful_login"
                  | "connected_account.disconnected"
                  | "connected_account.completed_first_sync"
                  | "connected_account.deleted"
                  | "connected_account.completed_first_sync_after_reconnection"
                  | "action_attempt.lock_door.succeeded"
                  | "action_attempt.lock_door.failed"
                  | "action_attempt.unlock_door.succeeded"
                  | "action_attempt.unlock_door.failed"
                  | "connect_webview.login_succeeded"
                  | "connect_webview.login_failed"
                  | "device.connected"
                  | "device.added"
                  | "device.converted_to_unmanaged"
                  | "device.unmanaged.converted_to_managed"
                  | "device.unmanaged.connected"
                  | "device.disconnected"
                  | "device.unmanaged.disconnected"
                  | "device.tampered"
                  | "device.low_battery"
                  | "device.battery_status_changed"
                  | "device.removed"
                  | "device.deleted"
                  | "device.third_party_integration_detected"
                  | "device.third_party_integration_no_longer_detected"
                  | "device.salto.privacy_mode_activated"
                  | "device.salto.privacy_mode_deactivated"
                  | "device.connection_became_flaky"
                  | "device.connection_stabilized"
                  | "device.error.subscription_required"
                  | "device.error.subscription_required.resolved"
                  | "device.accessory_keypad_connected"
                  | "device.accessory_keypad_disconnected"
                  | "noise_sensor.noise_threshold_triggered"
                  | "lock.locked"
                  | "lock.unlocked"
                  | "lock.access_denied"
                  | "thermostat.climate_preset_activated"
                  | "thermostat.manually_adjusted"
                  | "thermostat.temperature_threshold_exceeded"
                  | "thermostat.temperature_threshold_no_longer_exceeded"
                  | "thermostat.temperature_reached_set_point"
                  | "thermostat.temperature_changed"
                  | "device.name_changed"
                  | "enrollment_automation.deleted"
                  | "phone.deactivated")[];
              limit?: number;
              since?: string;
              unstable_offset?: number;
          }
          • Optionalaccess_code_id?: string

            ID of the access code for which you want to list events.

          • Optionalaccess_code_ids?: string[]

            IDs of the access codes for which you want to list events.

          • Optionalacs_system_id?: string

            ID of the access system for which you want to list events.

          • Optionalacs_system_ids?: string[]

            IDs of the access systems for which you want to list events.

          • Optionalbetween?: (string | Date)[]

            Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include since or between.

          • Optionalconnect_webview_id?: string

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

          • Optionalconnected_account_id?: string

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

          • Optionalcustomer_ids?: string[]

            IDs of the customers for which you want to list events.

          • Optionaldevice_id?: string

            ID of the device for which you want to list events.

          • Optionaldevice_ids?: string[]

            IDs of the devices for which you want to list events.

          • Optionalevent_ids?: string[]

            IDs of the events that you want to list.

          • Optionalevent_type?:
                | "access_code.created"
                | "access_code.changed"
                | "access_code.scheduled_on_device"
                | "access_code.set_on_device"
                | "access_code.removed_from_device"
                | "access_code.delay_in_setting_on_device"
                | "access_code.failed_to_set_on_device"
                | "access_code.deleted"
                | "access_code.delay_in_removing_from_device"
                | "access_code.failed_to_remove_from_device"
                | "access_code.modified_external_to_seam"
                | "access_code.deleted_external_to_seam"
                | "access_code.backup_access_code_pulled"
                | "access_code.unmanaged.converted_to_managed"
                | "access_code.unmanaged.failed_to_convert_to_managed"
                | "access_code.unmanaged.created"
                | "access_code.unmanaged.removed"
                | "access_grant.created"
                | "access_grant.deleted"
                | "access_grant.access_granted_to_all_doors"
                | "access_grant.access_granted_to_door"
                | "access_grant.access_to_door_lost"
                | "access_method.issued"
                | "access_method.revoked"
                | "access_method.card_encoding_required"
                | "access_method.deleted"
                | "access_method.reissued"
                | "acs_system.connected"
                | "acs_system.added"
                | "acs_system.disconnected"
                | "acs_credential.deleted"
                | "acs_credential.issued"
                | "acs_credential.reissued"
                | "acs_credential.invalidated"
                | "acs_user.created"
                | "acs_user.deleted"
                | "acs_encoder.added"
                | "acs_encoder.removed"
                | "acs_access_group.deleted"
                | "acs_entrance.added"
                | "acs_entrance.removed"
                | "client_session.deleted"
                | "connected_account.connected"
                | "connected_account.created"
                | "connected_account.successful_login"
                | "connected_account.disconnected"
                | "connected_account.completed_first_sync"
                | "connected_account.deleted"
                | "connected_account.completed_first_sync_after_reconnection"
                | "action_attempt.lock_door.succeeded"
                | "action_attempt.lock_door.failed"
                | "action_attempt.unlock_door.succeeded"
                | "action_attempt.unlock_door.failed"
                | "connect_webview.login_succeeded"
                | "connect_webview.login_failed"
                | "device.connected"
                | "device.added"
                | "device.converted_to_unmanaged"
                | "device.unmanaged.converted_to_managed"
                | "device.unmanaged.connected"
                | "device.disconnected"
                | "device.unmanaged.disconnected"
                | "device.tampered"
                | "device.low_battery"
                | "device.battery_status_changed"
                | "device.removed"
                | "device.deleted"
                | "device.third_party_integration_detected"
                | "device.third_party_integration_no_longer_detected"
                | "device.salto.privacy_mode_activated"
                | "device.salto.privacy_mode_deactivated"
                | "device.connection_became_flaky"
                | "device.connection_stabilized"
                | "device.error.subscription_required"
                | "device.error.subscription_required.resolved"
                | "device.accessory_keypad_connected"
                | "device.accessory_keypad_disconnected"
                | "noise_sensor.noise_threshold_triggered"
                | "lock.locked"
                | "lock.unlocked"
                | "lock.access_denied"
                | "thermostat.climate_preset_activated"
                | "thermostat.manually_adjusted"
                | "thermostat.temperature_threshold_exceeded"
                | "thermostat.temperature_threshold_no_longer_exceeded"
                | "thermostat.temperature_reached_set_point"
                | "thermostat.temperature_changed"
                | "device.name_changed"
                | "enrollment_automation.deleted"
                | "phone.deactivated"

            Type of the events that you want to list.

          • Optionalevent_types?: (
                | "access_code.created"
                | "access_code.changed"
                | "access_code.scheduled_on_device"
                | "access_code.set_on_device"
                | "access_code.removed_from_device"
                | "access_code.delay_in_setting_on_device"
                | "access_code.failed_to_set_on_device"
                | "access_code.deleted"
                | "access_code.delay_in_removing_from_device"
                | "access_code.failed_to_remove_from_device"
                | "access_code.modified_external_to_seam"
                | "access_code.deleted_external_to_seam"
                | "access_code.backup_access_code_pulled"
                | "access_code.unmanaged.converted_to_managed"
                | "access_code.unmanaged.failed_to_convert_to_managed"
                | "access_code.unmanaged.created"
                | "access_code.unmanaged.removed"
                | "access_grant.created"
                | "access_grant.deleted"
                | "access_grant.access_granted_to_all_doors"
                | "access_grant.access_granted_to_door"
                | "access_grant.access_to_door_lost"
                | "access_method.issued"
                | "access_method.revoked"
                | "access_method.card_encoding_required"
                | "access_method.deleted"
                | "access_method.reissued"
                | "acs_system.connected"
                | "acs_system.added"
                | "acs_system.disconnected"
                | "acs_credential.deleted"
                | "acs_credential.issued"
                | "acs_credential.reissued"
                | "acs_credential.invalidated"
                | "acs_user.created"
                | "acs_user.deleted"
                | "acs_encoder.added"
                | "acs_encoder.removed"
                | "acs_access_group.deleted"
                | "acs_entrance.added"
                | "acs_entrance.removed"
                | "client_session.deleted"
                | "connected_account.connected"
                | "connected_account.created"
                | "connected_account.successful_login"
                | "connected_account.disconnected"
                | "connected_account.completed_first_sync"
                | "connected_account.deleted"
                | "connected_account.completed_first_sync_after_reconnection"
                | "action_attempt.lock_door.succeeded"
                | "action_attempt.lock_door.failed"
                | "action_attempt.unlock_door.succeeded"
                | "action_attempt.unlock_door.failed"
                | "connect_webview.login_succeeded"
                | "connect_webview.login_failed"
                | "device.connected"
                | "device.added"
                | "device.converted_to_unmanaged"
                | "device.unmanaged.converted_to_managed"
                | "device.unmanaged.connected"
                | "device.disconnected"
                | "device.unmanaged.disconnected"
                | "device.tampered"
                | "device.low_battery"
                | "device.battery_status_changed"
                | "device.removed"
                | "device.deleted"
                | "device.third_party_integration_detected"
                | "device.third_party_integration_no_longer_detected"
                | "device.salto.privacy_mode_activated"
                | "device.salto.privacy_mode_deactivated"
                | "device.connection_became_flaky"
                | "device.connection_stabilized"
                | "device.error.subscription_required"
                | "device.error.subscription_required.resolved"
                | "device.accessory_keypad_connected"
                | "device.accessory_keypad_disconnected"
                | "noise_sensor.noise_threshold_triggered"
                | "lock.locked"
                | "lock.unlocked"
                | "lock.access_denied"
                | "thermostat.climate_preset_activated"
                | "thermostat.manually_adjusted"
                | "thermostat.temperature_threshold_exceeded"
                | "thermostat.temperature_threshold_no_longer_exceeded"
                | "thermostat.temperature_reached_set_point"
                | "thermostat.temperature_changed"
                | "device.name_changed"
                | "enrollment_automation.deleted"
                | "phone.deactivated")[]

            Types of the events that you want to list.

          • Optionallimit?: number

            Numerical limit on the number of events to return.

          • Optionalsince?: string

            Timestamp to indicate the beginning generation time for the events that you want to list. You must include since or between.

          • Optionalunstable_offset?: number

            Offset for the events that you want to list.

        • Optionaloptions: EventsListOptions

        Returns EventsListRequest

  • get /locks/get(): ((parameters?: {
        device_id?: string;
        name?: string;
    }, options?: LocksGetOptions) => LocksGetRequest)
  • Returns ((parameters?: {
        device_id?: string;
        name?: string;
    }, options?: LocksGetOptions) => LocksGetRequest)

      • (parameters?, options?): LocksGetRequest
      • Parameters

        • Optionalparameters: {
              device_id?: string;
              name?: string;
          }
          • Optionaldevice_id?: string

            ID of the lock that you want to get.

          • Optionalname?: string

            Name of the lock that you want to get.

        • Optionaloptions: LocksGetOptions

        Returns LocksGetRequest

  • get /locks/list(): ((parameters?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: 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";
        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")[];
        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")[];
        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")[];
        limit?: number;
        manufacturer?:
            | "akuvox"
            | "august"
            | "avigilon_alta"
            | "brivo"
            | "butterflymx"
            | "schlage"
            | "smartthings"
            | "yale"
            | "genie"
            | "doorking"
            | "salto"
            | "lockly"
            | "ttlock"
            | "linear"
            | "nuki"
            | "igloo"
            | "kwikset"
            | "controlbyweb"
            | "igloohome"
            | "hubitat"
            | "four_suites"
            | "dormakaba_oracode"
            | "wyze"
            | "tedee"
            | "akiles"
            | "kwikset2"
            | "seam"
            | "two_n";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }, options?: LocksListOptions) => LocksListRequest)
  • Returns ((parameters?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: 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";
        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")[];
        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")[];
        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")[];
        limit?: number;
        manufacturer?:
            | "akuvox"
            | "august"
            | "avigilon_alta"
            | "brivo"
            | "butterflymx"
            | "schlage"
            | "smartthings"
            | "yale"
            | "genie"
            | "doorking"
            | "salto"
            | "lockly"
            | "ttlock"
            | "linear"
            | "nuki"
            | "igloo"
            | "kwikset"
            | "controlbyweb"
            | "igloohome"
            | "hubitat"
            | "four_suites"
            | "dormakaba_oracode"
            | "wyze"
            | "tedee"
            | "akiles"
            | "kwikset2"
            | "seam"
            | "two_n";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }, options?: LocksListOptions) => LocksListRequest)

      • (parameters?, options?): LocksListRequest
      • Parameters

        • Optionalparameters: {
              connect_webview_id?: string;
              connected_account_id?: string;
              connected_account_ids?: string[];
              created_before?: Date;
              custom_metadata_has?: Record<string, string | boolean>;
              customer_ids?: 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";
              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")[];
              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")[];
              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")[];
              limit?: number;
              manufacturer?:
                  | "akuvox"
                  | "august"
                  | "avigilon_alta"
                  | "brivo"
                  | "butterflymx"
                  | "schlage"
                  | "smartthings"
                  | "yale"
                  | "genie"
                  | "doorking"
                  | "salto"
                  | "lockly"
                  | "ttlock"
                  | "linear"
                  | "nuki"
                  | "igloo"
                  | "kwikset"
                  | "controlbyweb"
                  | "igloohome"
                  | "hubitat"
                  | "four_suites"
                  | "dormakaba_oracode"
                  | "wyze"
                  | "tedee"
                  | "akiles"
                  | "kwikset2"
                  | "seam"
                  | "two_n";
              page_cursor?: null | 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?: Record<string, string | boolean>

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

          • Optionalcustomer_ids?: string[]
          • 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"

            Device type of the locks that you want to list.

          • 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")[]

            Device types of the locks that you want to list.

          • 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")[]
          • 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")[]
          • 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"
                | "nuki"
                | "igloo"
                | "kwikset"
                | "controlbyweb"
                | "igloohome"
                | "hubitat"
                | "four_suites"
                | "dormakaba_oracode"
                | "wyze"
                | "tedee"
                | "akiles"
                | "kwikset2"
                | "seam"
                | "two_n"

            Manufacturer of the locks that you want to list.

          • Optionalpage_cursor?: null | string

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

          • 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.

        • Optionaloptions: LocksListOptions

        Returns LocksListRequest

  • get /noise_sensors/list(): ((parameters?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        device_ids?: string[];
        device_type?: "noiseaware_activity_zone" | "minut_sensor";
        device_types?: ("noiseaware_activity_zone" | "minut_sensor")[];
        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")[];
        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")[];
        limit?: number;
        manufacturer?: "noiseaware" | "minut";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }, options?: NoiseSensorsListOptions) => NoiseSensorsListRequest)
  • Returns ((parameters?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        device_ids?: string[];
        device_type?: "noiseaware_activity_zone" | "minut_sensor";
        device_types?: ("noiseaware_activity_zone" | "minut_sensor")[];
        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")[];
        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")[];
        limit?: number;
        manufacturer?: "noiseaware" | "minut";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }, options?: NoiseSensorsListOptions) => NoiseSensorsListRequest)

      • (parameters?, options?): NoiseSensorsListRequest
      • Parameters

        • Optionalparameters: {
              connect_webview_id?: string;
              connected_account_id?: string;
              connected_account_ids?: string[];
              created_before?: Date;
              custom_metadata_has?: Record<string, string | boolean>;
              customer_ids?: string[];
              device_ids?: string[];
              device_type?: "noiseaware_activity_zone" | "minut_sensor";
              device_types?: ("noiseaware_activity_zone" | "minut_sensor")[];
              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")[];
              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")[];
              limit?: number;
              manufacturer?: "noiseaware" | "minut";
              page_cursor?: null | 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?: Record<string, string | boolean>

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

          • Optionalcustomer_ids?: string[]
          • Optionaldevice_ids?: string[]

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

          • Optionaldevice_type?: "noiseaware_activity_zone" | "minut_sensor"

            Device type of the noise sensors that you want to list.

          • Optionaldevice_types?: ("noiseaware_activity_zone" | "minut_sensor")[]

            Device types of the noise sensors that you want to list.

          • 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")[]
          • 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")[]
          • Optionallimit?: number

            Numerical limit on the number of devices to return.

          • Optionalmanufacturer?: "noiseaware" | "minut"

            Manufacturers of the noise sensors that you want to list.

          • Optionalpage_cursor?: null | string

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

          • 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.

        • Optionaloptions: NoiseSensorsListOptions

        Returns NoiseSensorsListRequest

  • get /noise_sensors/noise_thresholds/create(): ((parameters?: {
        device_id: string;
        ends_daily_at: string;
        name?: string;
        noise_threshold_decibels?: number;
        noise_threshold_nrs?: number;
        starts_daily_at: string;
        sync?: boolean;
    }, options?: NoiseSensorsNoiseThresholdsCreateOptions) => NoiseSensorsNoiseThresholdsCreateRequest)
  • Returns ((parameters?: {
        device_id: string;
        ends_daily_at: string;
        name?: string;
        noise_threshold_decibels?: number;
        noise_threshold_nrs?: number;
        starts_daily_at: string;
        sync?: boolean;
    }, options?: NoiseSensorsNoiseThresholdsCreateOptions) => NoiseSensorsNoiseThresholdsCreateRequest)

      • (parameters?, options?): NoiseSensorsNoiseThresholdsCreateRequest
      • Parameters

        • Optionalparameters: {
              device_id: string;
              ends_daily_at: string;
              name?: string;
              noise_threshold_decibels?: number;
              noise_threshold_nrs?: number;
              starts_daily_at: string;
              sync?: boolean;
          }
          • device_id: string

            ID of the device for which you want to create a noise threshold.

          • ends_daily_at: string

            Time at which the new noise threshold should become inactive daily.

          • Optionalname?: string

            Name of the new noise threshold.

          • Optionalnoise_threshold_decibels?: number

            Noise level in decibels for the new noise threshold.

          • Optionalnoise_threshold_nrs?: number

            Noise level in Noiseaware Noise Risk Score (NRS) for the new noise threshold. This parameter is only relevant for Noiseaware sensors.

          • starts_daily_at: string

            Time at which the new noise threshold should become active daily.

          • Optionalsync?: boolean
        • Optionaloptions: NoiseSensorsNoiseThresholdsCreateOptions

        Returns NoiseSensorsNoiseThresholdsCreateRequest

  • get /noise_sensors/noise_thresholds/update(): ((parameters?: {
        device_id: string;
        ends_daily_at?: string;
        name?: string;
        noise_threshold_decibels?: number;
        noise_threshold_id: string;
        noise_threshold_nrs?: number;
        starts_daily_at?: string;
        sync?: boolean;
    }, options?: NoiseSensorsNoiseThresholdsUpdateOptions) => NoiseSensorsNoiseThresholdsUpdateRequest)
  • Returns ((parameters?: {
        device_id: string;
        ends_daily_at?: string;
        name?: string;
        noise_threshold_decibels?: number;
        noise_threshold_id: string;
        noise_threshold_nrs?: number;
        starts_daily_at?: string;
        sync?: boolean;
    }, options?: NoiseSensorsNoiseThresholdsUpdateOptions) => NoiseSensorsNoiseThresholdsUpdateRequest)

      • (parameters?, options?): NoiseSensorsNoiseThresholdsUpdateRequest
      • Parameters

        • Optionalparameters: {
              device_id: string;
              ends_daily_at?: string;
              name?: string;
              noise_threshold_decibels?: number;
              noise_threshold_id: string;
              noise_threshold_nrs?: number;
              starts_daily_at?: string;
              sync?: boolean;
          }
          • device_id: string

            ID of the device that contains the noise threshold that you want to update.

          • Optionalends_daily_at?: string

            Time at which the noise threshold should become inactive daily.

          • Optionalname?: string

            Name of the noise threshold that you want to update.

          • Optionalnoise_threshold_decibels?: number

            Noise level in decibels for the noise threshold.

          • noise_threshold_id: string

            ID of the noise threshold that you want to update.

          • Optionalnoise_threshold_nrs?: number

            Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for Noiseaware sensors.

          • Optionalstarts_daily_at?: string

            Time at which the noise threshold should become active daily.

          • Optionalsync?: boolean
        • Optionaloptions: NoiseSensorsNoiseThresholdsUpdateOptions

        Returns NoiseSensorsNoiseThresholdsUpdateRequest

  • get /phones/list(): ((parameters?: {
        acs_credential_id?: string;
        owner_user_identity_id?: string;
    }, options?: PhonesListOptions) => PhonesListRequest)
  • Returns ((parameters?: {
        acs_credential_id?: string;
        owner_user_identity_id?: string;
    }, options?: PhonesListOptions) => PhonesListRequest)

      • (parameters?, options?): PhonesListRequest
      • Parameters

        • Optionalparameters: {
              acs_credential_id?: string;
              owner_user_identity_id?: string;
          }
          • Optionalacs_credential_id?: string

            ID of the credential by which you want to filter the list of returned phones.

          • Optionalowner_user_identity_id?: string

            ID of the user identity that represents the owner by which you want to filter the list of returned phones.

        • Optionaloptions: PhonesListOptions

        Returns PhonesListRequest

  • get /phones/simulate/create_sandbox_phone(): ((parameters?: {
        assa_abloy_metadata?: {
            application_version?: string;
            ble_capability?: boolean;
            hce_capability?: boolean;
            nfc_capability?: boolean;
            seos_applet_version?: string;
            seos_tsm_endpoint_id?: number;
        };
        custom_sdk_installation_id?: string;
        phone_metadata?: {
            device_manufacturer?: string;
            device_model?: string;
            operating_system?: "android" | "ios";
            os_version?: string;
        };
        user_identity_id: string;
    }, options?: PhonesSimulateCreateSandboxPhoneOptions) => PhonesSimulateCreateSandboxPhoneRequest)
  • Returns ((parameters?: {
        assa_abloy_metadata?: {
            application_version?: string;
            ble_capability?: boolean;
            hce_capability?: boolean;
            nfc_capability?: boolean;
            seos_applet_version?: string;
            seos_tsm_endpoint_id?: number;
        };
        custom_sdk_installation_id?: string;
        phone_metadata?: {
            device_manufacturer?: string;
            device_model?: string;
            operating_system?: "android" | "ios";
            os_version?: string;
        };
        user_identity_id: string;
    }, options?: PhonesSimulateCreateSandboxPhoneOptions) => PhonesSimulateCreateSandboxPhoneRequest)

      • (parameters?, options?): PhonesSimulateCreateSandboxPhoneRequest
      • Parameters

        • Optionalparameters: {
              assa_abloy_metadata?: {
                  application_version?: string;
                  ble_capability?: boolean;
                  hce_capability?: boolean;
                  nfc_capability?: boolean;
                  seos_applet_version?: string;
                  seos_tsm_endpoint_id?: number;
              };
              custom_sdk_installation_id?: string;
              phone_metadata?: {
                  device_manufacturer?: string;
                  device_model?: string;
                  operating_system?: "android" | "ios";
                  os_version?: string;
              };
              user_identity_id: string;
          }
          • Optionalassa_abloy_metadata?: {
                application_version?: string;
                ble_capability?: boolean;
                hce_capability?: boolean;
                nfc_capability?: boolean;
                seos_applet_version?: string;
                seos_tsm_endpoint_id?: number;
            }

            ASSA ABLOY metadata that you want to associate with the simulated phone.

            • Optionalapplication_version?: string

              Application version that you want to use for the simulated phone.

            • Optionalble_capability?: boolean

              Indicates whether the simulated phone should have Bluetooth low energy (BLE) capability.

            • Optionalhce_capability?: boolean

              Indicates whether the simulated phone should have host card emulation (HCE) capability.

            • Optionalnfc_capability?: boolean

              Indicates whether the simulated phone should have near-field communication (NFC) capability.

            • Optionalseos_applet_version?: string

              SEOS applet version that you want to use for the simulated phone.

            • Optionalseos_tsm_endpoint_id?: number

              ID of the SEOS trusted service manager (TSM) endpoint that you want to use for the simulated phone.

          • Optionalcustom_sdk_installation_id?: string

            ID of the custom SDK installation that you want to use for the simulated phone.

          • Optionalphone_metadata?: {
                device_manufacturer?: string;
                device_model?: string;
                operating_system?: "android" | "ios";
                os_version?: string;
            }

            Metadata that you want to associate with the simulated phone.

            • Optionaldevice_manufacturer?: string

              Manufacturer that you want to use for the simulated phone.

            • Optionaldevice_model?: string

              Device model that you want to use for the simulated phone.

            • Optionaloperating_system?: "android" | "ios"

              Mobile operating system that you want to use for the simulated phone.

            • Optionalos_version?: string

              Mobile operating system version that you want to use for the simulated phone.

          • user_identity_id: string

            ID of the user identity that you want to associate with the simulated phone.

        • Optionaloptions: PhonesSimulateCreateSandboxPhoneOptions

        Returns PhonesSimulateCreateSandboxPhoneRequest

  • get /seam/mobile_sdk/v1/phone_sessions/get_or_create(): ((parameters?: {
        custom_sdk_installation_id: string;
        phone_device_metadata?: {
            manufacturer?: string;
            model?: string;
            os_version?: string;
        };
        phone_os: "android" | "ios";
    }, options?: SeamMobileSdkV1PhoneSessionsGetOrCreateOptions) => SeamMobileSdkV1PhoneSessionsGetOrCreateRequest)
  • Returns ((parameters?: {
        custom_sdk_installation_id: string;
        phone_device_metadata?: {
            manufacturer?: string;
            model?: string;
            os_version?: string;
        };
        phone_os: "android" | "ios";
    }, options?: SeamMobileSdkV1PhoneSessionsGetOrCreateOptions) => SeamMobileSdkV1PhoneSessionsGetOrCreateRequest)

      • (parameters?, options?): SeamMobileSdkV1PhoneSessionsGetOrCreateRequest
      • Parameters

        • Optionalparameters: {
              custom_sdk_installation_id: string;
              phone_device_metadata?: {
                  manufacturer?: string;
                  model?: string;
                  os_version?: string;
              };
              phone_os: "android" | "ios";
          }
          • custom_sdk_installation_id: string

            ID of the custom SDK installation that you want to use for the new session.

          • Optionalphone_device_metadata?: {
                manufacturer?: string;
                model?: string;
                os_version?: string;
            }

            Phone device metadata that you want to use for the new session.

            • Optionalmanufacturer?: string
            • Optionalmodel?: string
            • Optionalos_version?: string
          • phone_os: "android" | "ios"

            Phone operating system that you want to use for the new session.

        • Optionaloptions: SeamMobileSdkV1PhoneSessionsGetOrCreateOptions

        Returns SeamMobileSdkV1PhoneSessionsGetOrCreateRequest

  • get /spaces/create(): ((parameters?: {
        acs_entrance_ids?: string[];
        device_ids?: string[];
        name: string;
    }, options?: SpacesCreateOptions) => SpacesCreateRequest)
  • Returns ((parameters?: {
        acs_entrance_ids?: string[];
        device_ids?: string[];
        name: string;
    }, options?: SpacesCreateOptions) => SpacesCreateRequest)

      • (parameters?, options?): SpacesCreateRequest
      • Parameters

        • Optionalparameters: {
              acs_entrance_ids?: string[];
              device_ids?: string[];
              name: string;
          }
          • Optionalacs_entrance_ids?: string[]

            IDs of the entrances that you want to add to the new space.

          • Optionaldevice_ids?: string[]

            IDs of the devices that you want to add to the new space.

          • name: string

            Name of the space that you want to create.

        • Optionaloptions: SpacesCreateOptions

        Returns SpacesCreateRequest

  • get /spaces/update(): ((parameters?: {
        name?: string;
        space_id: string;
    }, options?: SpacesUpdateOptions) => SpacesUpdateRequest)
  • Returns ((parameters?: {
        name?: string;
        space_id: string;
    }, options?: SpacesUpdateOptions) => SpacesUpdateRequest)

      • (parameters?, options?): SpacesUpdateRequest
      • Parameters

        • Optionalparameters: {
              name?: string;
              space_id: string;
          }
          • Optionalname?: string

            Name of the space.

          • space_id: string

            ID of the space that you want to update.

        • Optionaloptions: SpacesUpdateOptions

        Returns SpacesUpdateRequest

  • get /thermostats/cool(): ((parameters?: {
        cooling_set_point_celsius?: number;
        cooling_set_point_fahrenheit?: number;
        device_id: string;
        sync?: boolean;
    }, options?: ThermostatsCoolOptions) => ThermostatsCoolRequest)
  • Returns ((parameters?: {
        cooling_set_point_celsius?: number;
        cooling_set_point_fahrenheit?: number;
        device_id: string;
        sync?: boolean;
    }, options?: ThermostatsCoolOptions) => ThermostatsCoolRequest)

      • (parameters?, options?): ThermostatsCoolRequest
      • Parameters

        • Optionalparameters: {
              cooling_set_point_celsius?: number;
              cooling_set_point_fahrenheit?: number;
              device_id: string;
              sync?: boolean;
          }
          • Optionalcooling_set_point_celsius?: number

            Cooling set point in °C that you want to set for the thermostat. You must set one of the cooling_set_point parameters.

          • Optionalcooling_set_point_fahrenheit?: number

            Cooling set point in °F that you want to set for the thermostat. You must set one of the cooling_set_point parameters.

          • device_id: string

            ID of the thermostat device that you want to set to cool mode.

          • Optionalsync?: boolean
        • Optionaloptions: ThermostatsCoolOptions

        Returns ThermostatsCoolRequest

  • get /thermostats/create_climate_preset(): ((parameters?: {
        climate_preset_key: string;
        cooling_set_point_celsius?: number;
        cooling_set_point_fahrenheit?: number;
        device_id: string;
        fan_mode_setting?: "auto" | "on" | "circulate";
        heating_set_point_celsius?: number;
        heating_set_point_fahrenheit?: number;
        hvac_mode_setting?:
            | "cool"
            | "heat"
            | "off"
            | "heat_cool";
        manual_override_allowed?: boolean;
        name?: null | string;
    }, options?: ThermostatsCreateClimatePresetOptions) => ThermostatsCreateClimatePresetRequest)
  • Returns ((parameters?: {
        climate_preset_key: string;
        cooling_set_point_celsius?: number;
        cooling_set_point_fahrenheit?: number;
        device_id: string;
        fan_mode_setting?: "auto" | "on" | "circulate";
        heating_set_point_celsius?: number;
        heating_set_point_fahrenheit?: number;
        hvac_mode_setting?:
            | "cool"
            | "heat"
            | "off"
            | "heat_cool";
        manual_override_allowed?: boolean;
        name?: null | string;
    }, options?: ThermostatsCreateClimatePresetOptions) => ThermostatsCreateClimatePresetRequest)

      • (parameters?, options?): ThermostatsCreateClimatePresetRequest
      • Parameters

        • Optionalparameters: {
              climate_preset_key: string;
              cooling_set_point_celsius?: number;
              cooling_set_point_fahrenheit?: number;
              device_id: string;
              fan_mode_setting?: "auto" | "on" | "circulate";
              heating_set_point_celsius?: number;
              heating_set_point_fahrenheit?: number;
              hvac_mode_setting?:
                  | "cool"
                  | "heat"
                  | "off"
                  | "heat_cool";
              manual_override_allowed?: boolean;
              name?: null | string;
          }
          • climate_preset_key: string

            Unique key to identify the climate preset.

          • Optionalcooling_set_point_celsius?: number

            Temperature to which the thermostat should cool (in °C). See also Set Points.

          • Optionalcooling_set_point_fahrenheit?: number

            Temperature to which the thermostat should cool (in °F). See also Set Points.

          • device_id: string

            ID of the thermostat device for which you want create a climate preset.

          • Optionalfan_mode_setting?: "auto" | "on" | "circulate"

            Desired fan mode setting, such as on, auto, or circulate.

          • Optionalheating_set_point_celsius?: number

            Temperature to which the thermostat should heat (in °C). See also Set Points.

          • Optionalheating_set_point_fahrenheit?: number

            Temperature to which the thermostat should heat (in °F). See also Set Points.

          • Optionalhvac_mode_setting?:
                | "cool"
                | "heat"
                | "off"
                | "heat_cool"

            Desired HVAC mode setting, such as heat, cool, heat_cool, or off.

          • Optionalmanual_override_allowed?: boolean

            Indicates whether a person at the thermostat or using the API can change the thermostat's settings.

            Use 'thermostat_schedule.is_override_allowed'

          • Optionalname?: null | string

            User-friendly name to identify the climate preset.

        • Optionaloptions: ThermostatsCreateClimatePresetOptions

        Returns ThermostatsCreateClimatePresetRequest

  • get /thermostats/daily_programs/create(): ((parameters?: {
        device_id: string;
        name: string;
        periods: {
            climate_preset_key: string;
            starts_at_time: string;
        }[];
    }, options?: ThermostatsDailyProgramsCreateOptions) => ThermostatsDailyProgramsCreateRequest)
  • Returns ((parameters?: {
        device_id: string;
        name: string;
        periods: {
            climate_preset_key: string;
            starts_at_time: string;
        }[];
    }, options?: ThermostatsDailyProgramsCreateOptions) => ThermostatsDailyProgramsCreateRequest)

      • (parameters?, options?): ThermostatsDailyProgramsCreateRequest
      • Parameters

        • Optionalparameters: {
              device_id: string;
              name: string;
              periods: {
                  climate_preset_key: string;
                  starts_at_time: string;
              }[];
          }
          • device_id: string

            ID of the thermostat device for which you want to create a daily program.

          • name: string

            Name of the thermostat daily program.

          • periods: {
                climate_preset_key: string;
                starts_at_time: string;
            }[]

            Array of thermostat daily program periods.

        • Optionaloptions: ThermostatsDailyProgramsCreateOptions

        Returns ThermostatsDailyProgramsCreateRequest

  • get /thermostats/daily_programs/update(): ((parameters?: {
        name: string;
        periods: {
            climate_preset_key: string;
            starts_at_time: string;
        }[];
        thermostat_daily_program_id: string;
    }, options?: ThermostatsDailyProgramsUpdateOptions) => ThermostatsDailyProgramsUpdateRequest)
  • Returns ((parameters?: {
        name: string;
        periods: {
            climate_preset_key: string;
            starts_at_time: string;
        }[];
        thermostat_daily_program_id: string;
    }, options?: ThermostatsDailyProgramsUpdateOptions) => ThermostatsDailyProgramsUpdateRequest)

      • (parameters?, options?): ThermostatsDailyProgramsUpdateRequest
      • Parameters

        • Optionalparameters: {
              name: string;
              periods: {
                  climate_preset_key: string;
                  starts_at_time: string;
              }[];
              thermostat_daily_program_id: string;
          }
          • name: string

            Name of the thermostat daily program that you want to update.

          • periods: {
                climate_preset_key: string;
                starts_at_time: string;
            }[]

            Array of thermostat daily program periods. The periods that you specify overwrite any existing periods for the daily program.

          • thermostat_daily_program_id: string

            ID of the thermostat daily program that you want to update.

        • Optionaloptions: ThermostatsDailyProgramsUpdateOptions

        Returns ThermostatsDailyProgramsUpdateRequest

  • get /thermostats/get(): ((parameters?: {
        device_id?: string;
        name?: string;
    }, options?: ThermostatsGetOptions) => ThermostatsGetRequest)
  • Returns ((parameters?: {
        device_id?: string;
        name?: string;
    }, options?: ThermostatsGetOptions) => ThermostatsGetRequest)

      • (parameters?, options?): ThermostatsGetRequest
      • Parameters

        • Optionalparameters: {
              device_id?: string;
              name?: string;
          }
          • Optionaldevice_id?: string

            ID of the thermostat device that you want to get.

          • Optionalname?: string

            Name of the thermostat device that you want to retrieve.

        • Optionaloptions: ThermostatsGetOptions

        Returns ThermostatsGetRequest

  • get /thermostats/heat(): ((parameters?: {
        device_id: string;
        heating_set_point_celsius?: number;
        heating_set_point_fahrenheit?: number;
        sync?: boolean;
    }, options?: ThermostatsHeatOptions) => ThermostatsHeatRequest)
  • Returns ((parameters?: {
        device_id: string;
        heating_set_point_celsius?: number;
        heating_set_point_fahrenheit?: number;
        sync?: boolean;
    }, options?: ThermostatsHeatOptions) => ThermostatsHeatRequest)

      • (parameters?, options?): ThermostatsHeatRequest
      • Parameters

        • Optionalparameters: {
              device_id: string;
              heating_set_point_celsius?: number;
              heating_set_point_fahrenheit?: number;
              sync?: boolean;
          }
          • device_id: string

            ID of the thermostat device that you want to set to heat mode.

          • Optionalheating_set_point_celsius?: number

            Heating set point in °C that you want to set for the thermostat. You must set one of the heating_set_point parameters.

          • Optionalheating_set_point_fahrenheit?: number

            Heating set point in °F that you want to set for the thermostat. You must set one of the heating_set_point parameters.

          • Optionalsync?: boolean
        • Optionaloptions: ThermostatsHeatOptions

        Returns ThermostatsHeatRequest

  • get /thermostats/heat_cool(): ((parameters?: {
        cooling_set_point_celsius?: number;
        cooling_set_point_fahrenheit?: number;
        device_id: string;
        heating_set_point_celsius?: number;
        heating_set_point_fahrenheit?: number;
        sync?: boolean;
    }, options?: ThermostatsHeatCoolOptions) => ThermostatsHeatCoolRequest)
  • Returns ((parameters?: {
        cooling_set_point_celsius?: number;
        cooling_set_point_fahrenheit?: number;
        device_id: string;
        heating_set_point_celsius?: number;
        heating_set_point_fahrenheit?: number;
        sync?: boolean;
    }, options?: ThermostatsHeatCoolOptions) => ThermostatsHeatCoolRequest)

      • (parameters?, options?): ThermostatsHeatCoolRequest
      • Parameters

        • Optionalparameters: {
              cooling_set_point_celsius?: number;
              cooling_set_point_fahrenheit?: number;
              device_id: string;
              heating_set_point_celsius?: number;
              heating_set_point_fahrenheit?: number;
              sync?: boolean;
          }
          • Optionalcooling_set_point_celsius?: number

            Cooling set point in °C that you want to set for the thermostat. You must set one of the cooling_set_point parameters.

          • Optionalcooling_set_point_fahrenheit?: number

            Cooling set point in °F that you want to set for the thermostat. You must set one of the cooling_set_point parameters.

          • device_id: string

            ID of the thermostat device that you want to set to heat-cool mode.

          • Optionalheating_set_point_celsius?: number

            Heating set point in °C that you want to set for the thermostat. You must set one of the heating_set_point parameters.

          • Optionalheating_set_point_fahrenheit?: number

            Heating set point in °F that you want to set for the thermostat. You must set one of the heating_set_point parameters.

          • Optionalsync?: boolean
        • Optionaloptions: ThermostatsHeatCoolOptions

        Returns ThermostatsHeatCoolRequest

  • get /thermostats/list(): ((parameters?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        device_ids?: string[];
        device_type?:
            | "ecobee_thermostat"
            | "nest_thermostat"
            | "honeywell_resideo_thermostat"
            | "tado_thermostat"
            | "sensi_thermostat"
            | "smartthings_thermostat";
        device_types?: (
            | "ecobee_thermostat"
            | "nest_thermostat"
            | "honeywell_resideo_thermostat"
            | "tado_thermostat"
            | "sensi_thermostat"
            | "smartthings_thermostat")[];
        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")[];
        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")[];
        limit?: number;
        manufacturer?:
            | "smartthings"
            | "nest"
            | "ecobee"
            | "honeywell_resideo"
            | "tado"
            | "sensi";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }, options?: ThermostatsListOptions) => ThermostatsListRequest)
  • Returns ((parameters?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        device_ids?: string[];
        device_type?:
            | "ecobee_thermostat"
            | "nest_thermostat"
            | "honeywell_resideo_thermostat"
            | "tado_thermostat"
            | "sensi_thermostat"
            | "smartthings_thermostat";
        device_types?: (
            | "ecobee_thermostat"
            | "nest_thermostat"
            | "honeywell_resideo_thermostat"
            | "tado_thermostat"
            | "sensi_thermostat"
            | "smartthings_thermostat")[];
        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")[];
        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")[];
        limit?: number;
        manufacturer?:
            | "smartthings"
            | "nest"
            | "ecobee"
            | "honeywell_resideo"
            | "tado"
            | "sensi";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }, options?: ThermostatsListOptions) => ThermostatsListRequest)

      • (parameters?, options?): ThermostatsListRequest
      • Parameters

        • Optionalparameters: {
              connect_webview_id?: string;
              connected_account_id?: string;
              connected_account_ids?: string[];
              created_before?: Date;
              custom_metadata_has?: Record<string, string | boolean>;
              customer_ids?: string[];
              device_ids?: string[];
              device_type?:
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat";
              device_types?: (
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat")[];
              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")[];
              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")[];
              limit?: number;
              manufacturer?:
                  | "smartthings"
                  | "nest"
                  | "ecobee"
                  | "honeywell_resideo"
                  | "tado"
                  | "sensi";
              page_cursor?: null | 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?: Record<string, string | boolean>

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

          • Optionalcustomer_ids?: string[]
          • Optionaldevice_ids?: string[]

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

          • Optionaldevice_type?:
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"

            Device type by which you want to filter thermostat devices.

          • Optionaldevice_types?: (
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat")[]

            Array of device types by which you want to filter thermostat 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")[]
          • 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")[]
          • Optionallimit?: number

            Numerical limit on the number of devices to return.

          • Optionalmanufacturer?:
                | "smartthings"
                | "nest"
                | "ecobee"
                | "honeywell_resideo"
                | "tado"
                | "sensi"

            Manufacturer by which you want to filter thermostat devices.

          • Optionalpage_cursor?: null | string

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

          • 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.

        • Optionaloptions: ThermostatsListOptions

        Returns ThermostatsListRequest

  • get /thermostats/schedules/create(): ((parameters?: {
        climate_preset_key: string;
        device_id: string;
        ends_at: string;
        is_override_allowed?: boolean;
        max_override_period_minutes?: null | number;
        name?: string;
        starts_at: string;
    }, options?: ThermostatsSchedulesCreateOptions) => ThermostatsSchedulesCreateRequest)
  • Returns ((parameters?: {
        climate_preset_key: string;
        device_id: string;
        ends_at: string;
        is_override_allowed?: boolean;
        max_override_period_minutes?: null | number;
        name?: string;
        starts_at: string;
    }, options?: ThermostatsSchedulesCreateOptions) => ThermostatsSchedulesCreateRequest)

      • (parameters?, options?): ThermostatsSchedulesCreateRequest
      • Parameters

        • Optionalparameters: {
              climate_preset_key: string;
              device_id: string;
              ends_at: string;
              is_override_allowed?: boolean;
              max_override_period_minutes?: null | number;
              name?: string;
              starts_at: string;
          }
          • climate_preset_key: string

            Key of the climate preset to use for the new thermostat schedule.

          • device_id: string

            ID of the thermostat device for which you want to create a schedule.

          • ends_at: string

            Date and time at which the new thermostat schedule ends, in ISO 8601 format.

          • Optionalis_override_allowed?: boolean

            Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the new schedule is active. See also Specifying Manual Override Permissions.

          • Optionalmax_override_period_minutes?: null | number

            Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also Specifying Manual Override Permissions.

          • Optionalname?: string

            Name of the thermostat schedule.

          • starts_at: string

            Date and time at which the new thermostat schedule starts, in ISO 8601 format.

        • Optionaloptions: ThermostatsSchedulesCreateOptions

        Returns ThermostatsSchedulesCreateRequest

  • get /thermostats/schedules/update(): ((parameters?: {
        climate_preset_key?: string;
        ends_at?: string;
        is_override_allowed?: boolean;
        max_override_period_minutes?: null | number;
        name?: string;
        starts_at?: string;
        thermostat_schedule_id: string;
    }, options?: ThermostatsSchedulesUpdateOptions) => ThermostatsSchedulesUpdateRequest)
  • Returns ((parameters?: {
        climate_preset_key?: string;
        ends_at?: string;
        is_override_allowed?: boolean;
        max_override_period_minutes?: null | number;
        name?: string;
        starts_at?: string;
        thermostat_schedule_id: string;
    }, options?: ThermostatsSchedulesUpdateOptions) => ThermostatsSchedulesUpdateRequest)

      • (parameters?, options?): ThermostatsSchedulesUpdateRequest
      • Parameters

        • Optionalparameters: {
              climate_preset_key?: string;
              ends_at?: string;
              is_override_allowed?: boolean;
              max_override_period_minutes?: null | number;
              name?: string;
              starts_at?: string;
              thermostat_schedule_id: string;
          }
          • Optionalclimate_preset_key?: string

            Key of the climate preset to use for the thermostat schedule.

          • Optionalends_at?: string

            Date and time at which the thermostat schedule ends, in ISO 8601 format.

          • Optionalis_override_allowed?: boolean

            Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the schedule is active. See also Specifying Manual Override Permissions.

          • Optionalmax_override_period_minutes?: null | number

            Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also Specifying Manual Override Permissions.

          • Optionalname?: string

            Name of the thermostat schedule.

          • Optionalstarts_at?: string

            Date and time at which the thermostat schedule starts, in ISO 8601 format.

          • thermostat_schedule_id: string

            ID of the thermostat schedule that you want to update.

        • Optionaloptions: ThermostatsSchedulesUpdateOptions

        Returns ThermostatsSchedulesUpdateRequest

  • get /thermostats/set_fan_mode(): ((parameters?: {
        device_id: string;
        fan_mode?: "auto" | "on" | "circulate";
        fan_mode_setting?: "auto" | "on" | "circulate";
        sync?: boolean;
    }, options?: ThermostatsSetFanModeOptions) => ThermostatsSetFanModeRequest)
  • Returns ((parameters?: {
        device_id: string;
        fan_mode?: "auto" | "on" | "circulate";
        fan_mode_setting?: "auto" | "on" | "circulate";
        sync?: boolean;
    }, options?: ThermostatsSetFanModeOptions) => ThermostatsSetFanModeRequest)

      • (parameters?, options?): ThermostatsSetFanModeRequest
      • Parameters

        • Optionalparameters: {
              device_id: string;
              fan_mode?: "auto" | "on" | "circulate";
              fan_mode_setting?: "auto" | "on" | "circulate";
              sync?: boolean;
          }
          • device_id: string

            ID of the thermostat device for which you want to set the fan mode.

          • Optionalfan_mode?: "auto" | "on" | "circulate"

            Use fan_mode_setting instead.

          • Optionalfan_mode_setting?: "auto" | "on" | "circulate"

            Fan mode setting that you want to set for the thermostat.

          • Optionalsync?: boolean
        • Optionaloptions: ThermostatsSetFanModeOptions

        Returns ThermostatsSetFanModeRequest

  • get /thermostats/set_temperature_threshold(): ((parameters?: {
        device_id: string;
        lower_limit_celsius?: null | number;
        lower_limit_fahrenheit?: null | number;
        upper_limit_celsius?: null | number;
        upper_limit_fahrenheit?: null | number;
    }, options?: ThermostatsSetTemperatureThresholdOptions) => ThermostatsSetTemperatureThresholdRequest)
  • Returns ((parameters?: {
        device_id: string;
        lower_limit_celsius?: null | number;
        lower_limit_fahrenheit?: null | number;
        upper_limit_celsius?: null | number;
        upper_limit_fahrenheit?: null | number;
    }, options?: ThermostatsSetTemperatureThresholdOptions) => ThermostatsSetTemperatureThresholdRequest)

      • (parameters?, options?): ThermostatsSetTemperatureThresholdRequest
      • Parameters

        • Optionalparameters: {
              device_id: string;
              lower_limit_celsius?: null | number;
              lower_limit_fahrenheit?: null | number;
              upper_limit_celsius?: null | number;
              upper_limit_fahrenheit?: null | number;
          }
          • device_id: string

            ID of the thermostat device for which you want to set a temperature threshold.

          • Optionallower_limit_celsius?: null | number

            Lower temperature limit in in °C. Seam alerts you if the reported temperature is lower than this value. You can specify either lower_limit but not both.

          • Optionallower_limit_fahrenheit?: null | number

            Lower temperature limit in in °F. Seam alerts you if the reported temperature is lower than this value. You can specify either lower_limit but not both.

          • Optionalupper_limit_celsius?: null | number

            Upper temperature limit in in °C. Seam alerts you if the reported temperature is higher than this value. You can specify either upper_limit but not both.

          • Optionalupper_limit_fahrenheit?: null | number

            Upper temperature limit in in °C. Seam alerts you if the reported temperature is higher than this value. You can specify either upper_limit but not both.

        • Optionaloptions: ThermostatsSetTemperatureThresholdOptions

        Returns ThermostatsSetTemperatureThresholdRequest

  • get /thermostats/update_climate_preset(): ((parameters?: {
        climate_preset_key: string;
        cooling_set_point_celsius?: number;
        cooling_set_point_fahrenheit?: number;
        device_id: string;
        fan_mode_setting?: "auto" | "on" | "circulate";
        heating_set_point_celsius?: number;
        heating_set_point_fahrenheit?: number;
        hvac_mode_setting?:
            | "cool"
            | "heat"
            | "off"
            | "heat_cool";
        manual_override_allowed?: boolean;
        name?: null | string;
    }, options?: ThermostatsUpdateClimatePresetOptions) => ThermostatsUpdateClimatePresetRequest)
  • Returns ((parameters?: {
        climate_preset_key: string;
        cooling_set_point_celsius?: number;
        cooling_set_point_fahrenheit?: number;
        device_id: string;
        fan_mode_setting?: "auto" | "on" | "circulate";
        heating_set_point_celsius?: number;
        heating_set_point_fahrenheit?: number;
        hvac_mode_setting?:
            | "cool"
            | "heat"
            | "off"
            | "heat_cool";
        manual_override_allowed?: boolean;
        name?: null | string;
    }, options?: ThermostatsUpdateClimatePresetOptions) => ThermostatsUpdateClimatePresetRequest)

      • (parameters?, options?): ThermostatsUpdateClimatePresetRequest
      • Parameters

        • Optionalparameters: {
              climate_preset_key: string;
              cooling_set_point_celsius?: number;
              cooling_set_point_fahrenheit?: number;
              device_id: string;
              fan_mode_setting?: "auto" | "on" | "circulate";
              heating_set_point_celsius?: number;
              heating_set_point_fahrenheit?: number;
              hvac_mode_setting?:
                  | "cool"
                  | "heat"
                  | "off"
                  | "heat_cool";
              manual_override_allowed?: boolean;
              name?: null | string;
          }
          • climate_preset_key: string

            Unique key to identify the climate preset.

          • Optionalcooling_set_point_celsius?: number

            Temperature to which the thermostat should cool (in °C). See also Set Points.

          • Optionalcooling_set_point_fahrenheit?: number

            Temperature to which the thermostat should cool (in °F). See also Set Points.

          • device_id: string

            ID of the thermostat device for which you want to update a climate preset.

          • Optionalfan_mode_setting?: "auto" | "on" | "circulate"

            Desired fan mode setting, such as on, auto, or circulate.

          • Optionalheating_set_point_celsius?: number

            Temperature to which the thermostat should heat (in °C). See also Set Points.

          • Optionalheating_set_point_fahrenheit?: number

            Temperature to which the thermostat should heat (in °F). See also Set Points.

          • Optionalhvac_mode_setting?:
                | "cool"
                | "heat"
                | "off"
                | "heat_cool"

            Desired HVAC mode setting, such as heat, cool, heat_cool, or off.

          • Optionalmanual_override_allowed?: boolean

            Indicates whether a person at the thermostat can change the thermostat's settings. See Specifying Manual Override Permissions.

            Use 'thermostat_schedule.is_override_allowed'

          • Optionalname?: null | string

            User-friendly name to identify the climate preset.

        • Optionaloptions: ThermostatsUpdateClimatePresetOptions

        Returns ThermostatsUpdateClimatePresetRequest

  • get /thermostats/update_weekly_program(): ((parameters?: {
        device_id: string;
        friday_program_id?: null | string;
        monday_program_id?: null | string;
        saturday_program_id?: null | string;
        sunday_program_id?: null | string;
        thursday_program_id?: null | string;
        tuesday_program_id?: null | string;
        wednesday_program_id?: null | string;
    }, options?: ThermostatsUpdateWeeklyProgramOptions) => ThermostatsUpdateWeeklyProgramRequest)
  • Returns ((parameters?: {
        device_id: string;
        friday_program_id?: null | string;
        monday_program_id?: null | string;
        saturday_program_id?: null | string;
        sunday_program_id?: null | string;
        thursday_program_id?: null | string;
        tuesday_program_id?: null | string;
        wednesday_program_id?: null | string;
    }, options?: ThermostatsUpdateWeeklyProgramOptions) => ThermostatsUpdateWeeklyProgramRequest)

      • (parameters?, options?): ThermostatsUpdateWeeklyProgramRequest
      • Parameters

        • Optionalparameters: {
              device_id: string;
              friday_program_id?: null | string;
              monday_program_id?: null | string;
              saturday_program_id?: null | string;
              sunday_program_id?: null | string;
              thursday_program_id?: null | string;
              tuesday_program_id?: null | string;
              wednesday_program_id?: null | string;
          }
          • device_id: string

            ID of the thermostat device for which you want to update the weekly program.

          • Optionalfriday_program_id?: null | string

            ID of the thermostat daily program to run on Fridays.

          • Optionalmonday_program_id?: null | string

            ID of the thermostat daily program to run on Mondays.

          • Optionalsaturday_program_id?: null | string

            ID of the thermostat daily program to run on Saturdays.

          • Optionalsunday_program_id?: null | string

            ID of the thermostat daily program to run on Sundays.

          • Optionalthursday_program_id?: null | string

            ID of the thermostat daily program to run on Thursdays.

          • Optionaltuesday_program_id?: null | string

            ID of the thermostat daily program to run on Tuesdays.

          • Optionalwednesday_program_id?: null | string

            ID of the thermostat daily program to run on Wednesdays.

        • Optionaloptions: ThermostatsUpdateWeeklyProgramOptions

        Returns ThermostatsUpdateWeeklyProgramRequest

  • get /unstable_access_grants/list(): ((parameters?: {
        acs_entrance_id?: string;
        acs_system_id?: string;
        location_id?: string;
        space_id?: string;
        user_identity_id?: string;
    }, options?: UnstableAccessGrantsListOptions) => UnstableAccessGrantsListRequest)
  • Returns ((parameters?: {
        acs_entrance_id?: string;
        acs_system_id?: string;
        location_id?: string;
        space_id?: string;
        user_identity_id?: string;
    }, options?: UnstableAccessGrantsListOptions) => UnstableAccessGrantsListRequest)

      • (parameters?, options?): UnstableAccessGrantsListRequest
      • Parameters

        • Optionalparameters: {
              acs_entrance_id?: string;
              acs_system_id?: string;
              location_id?: string;
              space_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_entrance_id?: string

            ID of the entrance by which you want to filter the list of access grants.

          • Optionalacs_system_id?: string

            ID of the access system by which you want to filter the list of access grants.

          • Optionallocation_id?: string

            Use space_id.

          • Optionalspace_id?: string

            ID of the space by which you want to filter the list of access grants.

          • Optionaluser_identity_id?: string

            ID of the user identity by which you want to filter the list of access grants.

        • Optionaloptions: UnstableAccessGrantsListOptions

        Returns UnstableAccessGrantsListRequest

  • get /unstable_locations/create(): ((parameters?: {
        acs_entrance_ids?: string[];
        device_ids?: string[];
        geolocation?: {
            latitude: number;
            longitude: number;
        };
        name: string;
        time_zone?: string;
    }, options?: UnstableLocationsCreateOptions) => UnstableLocationsCreateRequest)
  • Returns ((parameters?: {
        acs_entrance_ids?: string[];
        device_ids?: string[];
        geolocation?: {
            latitude: number;
            longitude: number;
        };
        name: string;
        time_zone?: string;
    }, options?: UnstableLocationsCreateOptions) => UnstableLocationsCreateRequest)

      • (parameters?, options?): UnstableLocationsCreateRequest
      • Parameters

        • Optionalparameters: {
              acs_entrance_ids?: string[];
              device_ids?: string[];
              geolocation?: {
                  latitude: number;
                  longitude: number;
              };
              name: string;
              time_zone?: string;
          }
          • Optionalacs_entrance_ids?: string[]

            IDs of the entrances that you want to add to the new location.

          • Optionaldevice_ids?: string[]

            IDs of the devices that you want to add to the new location.

          • Optionalgeolocation?: {
                latitude: number;
                longitude: number;
            }

            Geolocation of the new location.

            • latitude: number
            • longitude: number
          • name: string

            Name of the new location.

          • Optionaltime_zone?: string

            Time zone of the new location.

        • Optionaloptions: UnstableLocationsCreateOptions

        Returns UnstableLocationsCreateRequest

  • get /unstable_locations/update(): ((parameters?: {
        geolocation?: {
            latitude: number;
            longitude: number;
        };
        location_id: string;
        name?: string;
        time_zone?: string;
    }, options?: UnstableLocationsUpdateOptions) => UnstableLocationsUpdateRequest)
  • Returns ((parameters?: {
        geolocation?: {
            latitude: number;
            longitude: number;
        };
        location_id: string;
        name?: string;
        time_zone?: string;
    }, options?: UnstableLocationsUpdateOptions) => UnstableLocationsUpdateRequest)

      • (parameters?, options?): UnstableLocationsUpdateRequest
      • Parameters

        • Optionalparameters: {
              geolocation?: {
                  latitude: number;
                  longitude: number;
              };
              location_id: string;
              name?: string;
              time_zone?: string;
          }
          • Optionalgeolocation?: {
                latitude: number;
                longitude: number;
            }

            Geolocation of the location.

            • latitude: number
            • longitude: number
          • location_id: string

            ID of the location that you want to update.

          • Optionalname?: string

            Name of the location.

          • Optionaltime_zone?: string

            Time zone of the the location.

        • Optionaloptions: UnstableLocationsUpdateOptions

        Returns UnstableLocationsUpdateRequest

  • Returns ((parameters?: {
        building_block_type:
            | "connect_accounts"
            | "organize_spaces"
            | "console"
            | "manage_devices";
        customer_key: string;
        spaces?: {
            custom_metadata?: Record<string, string>;
            description?: string;
            name: string;
            space_key: string;
        }[];
    }, options?: UnstablePartnerBuildingBlocksGenerateMagicLinkOptions) => UnstablePartnerBuildingBlocksGenerateMagicLinkRequest)

      • Parameters

        • Optionalparameters: {
              building_block_type:
                  | "connect_accounts"
                  | "organize_spaces"
                  | "console"
                  | "manage_devices";
              customer_key: string;
              spaces?: {
                  custom_metadata?: Record<string, string>;
                  description?: string;
                  name: string;
                  space_key: string;
              }[];
          }
          • building_block_type:
                | "connect_accounts"
                | "organize_spaces"
                | "console"
                | "manage_devices"

            Type of building block for which you want to create a magic link.

          • customer_key: string

            Customer key for which you want to create a new building block magic link.

          • Optionalspaces?: {
                custom_metadata?: Record<string, string>;
                description?: string;
                name: string;
                space_key: string;
            }[]

            Optional list of spaces that you want to include in the new building block magic link.

        • Optionaloptions: UnstablePartnerBuildingBlocksGenerateMagicLinkOptions

        Returns UnstablePartnerBuildingBlocksGenerateMagicLinkRequest

  • get /unstable_partner/building_blocks/organize_spaces(): ((parameters?: {
        customer_key: string;
        spaces?: {
            custom_metadata?: Record<string, string>;
            description?: string;
            name: string;
            space_key: string;
        }[];
    }, options?: UnstablePartnerBuildingBlocksOrganizeSpacesOptions) => UnstablePartnerBuildingBlocksOrganizeSpacesRequest)
  • Returns ((parameters?: {
        customer_key: string;
        spaces?: {
            custom_metadata?: Record<string, string>;
            description?: string;
            name: string;
            space_key: string;
        }[];
    }, options?: UnstablePartnerBuildingBlocksOrganizeSpacesOptions) => UnstablePartnerBuildingBlocksOrganizeSpacesRequest)

      • (parameters?, options?): UnstablePartnerBuildingBlocksOrganizeSpacesRequest
      • Parameters

        • Optionalparameters: {
              customer_key: string;
              spaces?: {
                  custom_metadata?: Record<string, string>;
                  description?: string;
                  name: string;
                  space_key: string;
              }[];
          }
          • customer_key: string

            Customer key for which you want to organize spaces.

          • Optionalspaces?: {
                custom_metadata?: Record<string, string>;
                description?: string;
                name: string;
                space_key: string;
            }[]

            Optional list of spaces that you want to include in the new building block magic link.

        • Optionaloptions: UnstablePartnerBuildingBlocksOrganizeSpacesOptions

        Returns UnstablePartnerBuildingBlocksOrganizeSpacesRequest

  • get /user_identities/create(): ((parameters?: {
        acs_system_ids?: string[];
        email_address?: null | string;
        full_name?: null | string;
        phone_number?: null | string;
        user_identity_key?: null | string;
    }, options?: UserIdentitiesCreateOptions) => UserIdentitiesCreateRequest)
  • Returns ((parameters?: {
        acs_system_ids?: string[];
        email_address?: null | string;
        full_name?: null | string;
        phone_number?: null | string;
        user_identity_key?: null | string;
    }, options?: UserIdentitiesCreateOptions) => UserIdentitiesCreateRequest)

      • (parameters?, options?): UserIdentitiesCreateRequest
      • Parameters

        • Optionalparameters: {
              acs_system_ids?: string[];
              email_address?: null | string;
              full_name?: null | string;
              phone_number?: null | string;
              user_identity_key?: null | string;
          }
          • Optionalacs_system_ids?: string[]

            List of access system IDs to associate with the new user identity through access system users. If there's no user with the same email address or phone number in the specified access systems, a new access system user is created. If there is an existing user with the same email or phone number in the specified access systems, the user is linked to the user identity.

          • Optionalemail_address?: null | string

            Unique email address for the new user identity.

          • Optionalfull_name?: null | string

            Full name of the user associated with the new user identity.

          • Optionalphone_number?: null | string

            Unique phone number for the new user identity in E.164 format (for example, +15555550100).

          • Optionaluser_identity_key?: null | string

            Unique key for the new user identity.

        • Optionaloptions: UserIdentitiesCreateOptions

        Returns UserIdentitiesCreateRequest

  • get /user_identities/enrollment_automations/launch(): ((parameters?: {
        acs_credential_pool_id?: string;
        create_credential_manager_user?: boolean;
        credential_manager_acs_system_id: string;
        credential_manager_acs_user_id?: string;
        user_identity_id: string;
    }, options?: UserIdentitiesEnrollmentAutomationsLaunchOptions) => UserIdentitiesEnrollmentAutomationsLaunchRequest)
  • Returns ((parameters?: {
        acs_credential_pool_id?: string;
        create_credential_manager_user?: boolean;
        credential_manager_acs_system_id: string;
        credential_manager_acs_user_id?: string;
        user_identity_id: string;
    }, options?: UserIdentitiesEnrollmentAutomationsLaunchOptions) => UserIdentitiesEnrollmentAutomationsLaunchRequest)

      • (parameters?, options?): UserIdentitiesEnrollmentAutomationsLaunchRequest
      • Parameters

        • Optionalparameters: {
              acs_credential_pool_id?: string;
              create_credential_manager_user?: boolean;
              credential_manager_acs_system_id: string;
              credential_manager_acs_user_id?: string;
              user_identity_id: string;
          }
          • Optionalacs_credential_pool_id?: string

            ID of the credential pool from which to obtain credentials for the user identity.

          • Optionalcreate_credential_manager_user?: boolean

            Indicates whether to create an associated credential manager user. If you set create_credential_manager_user to true, you cannot specify a credential_manager_acs_user_id.

          • credential_manager_acs_system_id: string

            ID of the desired access system that serves as the credential manager for the enrollment automation.

          • Optionalcredential_manager_acs_user_id?: string

            ID of the associated access system user within the credential manager. If you specify a credential_manager_acs_user_id, you cannot set create_credential_manager_user to true.

          • user_identity_id: string

            ID of the user identity for which you want to launch an enrollment automation.

        • Optionaloptions: UserIdentitiesEnrollmentAutomationsLaunchOptions

        Returns UserIdentitiesEnrollmentAutomationsLaunchRequest

  • get /user_identities/update(): ((parameters?: {
        email_address?: null | string;
        full_name?: null | string;
        phone_number?: null | string;
        user_identity_id: string;
        user_identity_key?: null | string;
    }, options?: UserIdentitiesUpdateOptions) => UserIdentitiesUpdateRequest)
  • Returns ((parameters?: {
        email_address?: null | string;
        full_name?: null | string;
        phone_number?: null | string;
        user_identity_id: string;
        user_identity_key?: null | string;
    }, options?: UserIdentitiesUpdateOptions) => UserIdentitiesUpdateRequest)

      • (parameters?, options?): UserIdentitiesUpdateRequest
      • Parameters

        • Optionalparameters: {
              email_address?: null | string;
              full_name?: null | string;
              phone_number?: null | string;
              user_identity_id: string;
              user_identity_key?: null | string;
          }
          • Optionalemail_address?: null | string

            Unique email address for the user identity.

          • Optionalfull_name?: null | string

            Full name of the user associated with the user identity.

          • Optionalphone_number?: null | string

            Unique phone number for the user identity.

          • user_identity_id: string

            ID of the user identity that you want to update.

          • Optionaluser_identity_key?: null | string

            Unique key for the user identity.

        • Optionaloptions: UserIdentitiesUpdateOptions

        Returns UserIdentitiesUpdateRequest

  • get /webhooks/update(): ((parameters?: {
        event_types: string[];
        webhook_id: string;
    }, options?: WebhooksUpdateOptions) => WebhooksUpdateRequest)
  • Returns ((parameters?: {
        event_types: string[];
        webhook_id: string;
    }, options?: WebhooksUpdateOptions) => WebhooksUpdateRequest)

      • (parameters?, options?): WebhooksUpdateRequest
      • Parameters

        • Optionalparameters: {
              event_types: string[];
              webhook_id: string;
          }
          • event_types: string[]

            Types of events that you want the webhook to receive.

          • webhook_id: string

            ID of the webhook that you want to update.

        • Optionaloptions: WebhooksUpdateOptions

        Returns WebhooksUpdateRequest

  • get /workspaces/create(): ((parameters?: {
        company_name?: string;
        connect_partner_name?: null | string;
        connect_webview_customization?: {
            logo_shape?: null | "circle" | "square";
            primary_button_color?: null | string;
            primary_button_text_color?: null | string;
            success_message?: null | string;
        };
        is_sandbox?: boolean;
        name: string;
        webview_logo_shape?: "circle" | "square";
        webview_primary_button_color?: string;
        webview_primary_button_text_color?: string;
        webview_success_message?: string;
    }, options?: WorkspacesCreateOptions) => WorkspacesCreateRequest)
  • Returns ((parameters?: {
        company_name?: string;
        connect_partner_name?: null | string;
        connect_webview_customization?: {
            logo_shape?: null | "circle" | "square";
            primary_button_color?: null | string;
            primary_button_text_color?: null | string;
            success_message?: null | string;
        };
        is_sandbox?: boolean;
        name: string;
        webview_logo_shape?: "circle" | "square";
        webview_primary_button_color?: string;
        webview_primary_button_text_color?: string;
        webview_success_message?: string;
    }, options?: WorkspacesCreateOptions) => WorkspacesCreateRequest)

      • (parameters?, options?): WorkspacesCreateRequest
      • Parameters

        • Optionalparameters: {
              company_name?: string;
              connect_partner_name?: null | string;
              connect_webview_customization?: {
                  logo_shape?: null | "circle" | "square";
                  primary_button_color?: null | string;
                  primary_button_text_color?: null | string;
                  success_message?: null | string;
              };
              is_sandbox?: boolean;
              name: string;
              webview_logo_shape?: "circle" | "square";
              webview_primary_button_color?: string;
              webview_primary_button_text_color?: string;
              webview_success_message?: string;
          }
          • Optionalcompany_name?: string

            Company name for the new workspace.

          • Optionalconnect_partner_name?: null | string

            Connect partner name for the new workspace.

          • Optionalconnect_webview_customization?: {
                logo_shape?: null | "circle" | "square";
                primary_button_color?: null | string;
                primary_button_text_color?: null | string;
                success_message?: null | string;
            }

            Connect Webview customizations for the new workspace. See also Customize the Look and Feel of Your Connect Webviews.

          • Optionalis_sandbox?: boolean

            Indicates whether the new workspace is a sandbox workspace.

          • name: string

            Name of the new workspace.

          • Optionalwebview_logo_shape?: "circle" | "square"

            Use connect_webview_customization.webview_logo_shape instead.

          • Optionalwebview_primary_button_color?: string

            Use connect_webview_customization.webview_primary_button_color instead.

          • Optionalwebview_primary_button_text_color?: string

            Use connect_webview_customization.webview_primary_button_text_color instead.

          • Optionalwebview_success_message?: string

            Use connect_webview_customization.webview_success_message instead.

        • Optionaloptions: WorkspacesCreateOptions

        Returns WorkspacesCreateRequest

  • get /workspaces/update(): ((parameters?: {
        connect_partner_name?: string;
        connect_webview_customization?: {
            logo_shape?: null | "circle" | "square";
            primary_button_color?: null | string;
            primary_button_text_color?: null | string;
            success_message?: null | string;
        };
        is_suspended?: boolean;
        name?: string;
    }, options?: WorkspacesUpdateOptions) => WorkspacesUpdateRequest)
  • Returns ((parameters?: {
        connect_partner_name?: string;
        connect_webview_customization?: {
            logo_shape?: null | "circle" | "square";
            primary_button_color?: null | string;
            primary_button_text_color?: null | string;
            success_message?: null | string;
        };
        is_suspended?: boolean;
        name?: string;
    }, options?: WorkspacesUpdateOptions) => WorkspacesUpdateRequest)

Methods

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>