@seamapi/types 1.1185.0 → 1.1187.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +9 -9
  2. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +9 -9
  3. package/lib/seam/connect/models/devices/capability-properties/thermostat.js +3 -3
  4. package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
  5. package/lib/seam/connect/models/devices/device-metadata.d.ts +33 -0
  6. package/lib/seam/connect/models/devices/device-metadata.js +31 -0
  7. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  8. package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
  9. package/lib/seam/connect/models/devices/device-provider.js +2 -0
  10. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  11. package/lib/seam/connect/models/devices/device-type.d.ts +7 -1
  12. package/lib/seam/connect/models/devices/device-type.js +8 -0
  13. package/lib/seam/connect/models/devices/device-type.js.map +1 -1
  14. package/lib/seam/connect/models/devices/device.d.ts +223 -314
  15. package/lib/seam/connect/models/devices/device.js +60 -73
  16. package/lib/seam/connect/models/devices/device.js.map +1 -1
  17. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +107 -172
  18. package/lib/seam/connect/openapi.js +229 -167
  19. package/lib/seam/connect/openapi.js.map +1 -1
  20. package/lib/seam/connect/route-types.d.ts +1253 -896
  21. package/package.json +1 -1
  22. package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +3 -3
  23. package/src/lib/seam/connect/models/devices/device-metadata.ts +32 -0
  24. package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
  25. package/src/lib/seam/connect/models/devices/device-type.ts +16 -0
  26. package/src/lib/seam/connect/models/devices/device.ts +63 -76
  27. package/src/lib/seam/connect/openapi.ts +259 -191
  28. package/src/lib/seam/connect/route-types.ts +1376 -902
@@ -16121,6 +16121,7 @@ export type Routes = {
16121
16121
  | 'unifi_protect_camera'
16122
16122
  )
16123
16123
  | 'sonos_speaker'
16124
+ | 'alertify_sensor'
16124
16125
  /** IDs of the spaces the device is in. */
16125
16126
  space_ids: string[]
16126
16127
  /** Optional nickname to describe the device, settable through Seam. */
@@ -16229,58 +16230,9 @@ export type Routes = {
16229
16230
  * @deprecated use offline_access_codes_enabled*/
16230
16231
  supports_offline_access_codes?: boolean | undefined
16231
16232
  /** Indicates current noise level in decibels, if the device supports noise detection. */
16232
- noise_level_decibels?: (number | null) | undefined
16233
+ noise_level_decibels?: number | undefined
16233
16234
  /** Array of noise threshold IDs that are currently triggering. */
16234
16235
  currently_triggering_noise_threshold_ids?: string[] | undefined
16235
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
16236
- noise_level_nrs?: (number | null) | undefined
16237
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
16238
- co2_ppm?: (number | null) | undefined
16239
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
16240
- co_ppm?: (number | null) | undefined
16241
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
16242
- air_quality_index?: (number | null) | undefined
16243
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
16244
- mold_risk_level?: (string | null) | undefined
16245
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
16246
- is_occupied?: (boolean | null) | undefined
16247
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
16248
- occupant_count?: (number | null) | undefined
16249
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
16250
- is_smoking_detected?: (boolean | null) | undefined
16251
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
16252
- named_sensors?:
16253
- | {
16254
- /** Stable, hardware-defined name of the sensor, such as a port number. */
16255
- sensor_name: string
16256
- /** Display name of the sensor. Defaults to `sensor_name`. */
16257
- display_name: string
16258
- /** Reported temperature in °C. `null` until the first value arrives. */
16259
- temperature_celsius?: (number | null) | undefined
16260
- /** Reported temperature in °F. `null` until the first value arrives. */
16261
- temperature_fahrenheit?: (number | null) | undefined
16262
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
16263
- relative_humidity?: (number | null) | undefined
16264
- /** Noise level in decibels. `null` until the first value arrives. */
16265
- noise_level_decibels?: (number | null) | undefined
16266
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
16267
- noise_level_nrs?: (number | null) | undefined
16268
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
16269
- co2_ppm?: (number | null) | undefined
16270
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
16271
- co_ppm?: (number | null) | undefined
16272
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
16273
- air_quality_index?: (number | null) | undefined
16274
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
16275
- mold_risk_level?: (string | null) | undefined
16276
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
16277
- is_occupied?: (boolean | null) | undefined
16278
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
16279
- occupant_count?: (number | null) | undefined
16280
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
16281
- is_smoking_detected?: (boolean | null) | undefined
16282
- }[]
16283
- | undefined
16284
16236
  } & {
16285
16237
  /** ASSA ABLOY Credential Service metadata for the phone. */
16286
16238
  assa_abloy_credential_service_metadata?:
@@ -17047,6 +16999,25 @@ export type Routes = {
17047
16999
  | undefined
17048
17000
  )
17049
17001
  | undefined
17002
+ /** Metadata for an Alertify sensor. */
17003
+ alertify_metadata?:
17004
+ | (
17005
+ | {
17006
+ /** Device ID reported by Alertify. */
17007
+ device_id?: (string | undefined) | undefined
17008
+ /** Device name, as set in the Alertify dashboard. */
17009
+ device_name?: (string | undefined) | undefined
17010
+ /** ID of the Alertify unit where the device is installed. */
17011
+ unit_id?: (string | undefined) | undefined
17012
+ /** Name of the Alertify unit where the device is installed. */
17013
+ unit_name?: (string | undefined) | undefined
17014
+ /** ID of the Alertify building that contains the unit. */
17015
+ building_id?:
17016
+ ((string | null) | undefined) | undefined
17017
+ }
17018
+ | undefined
17019
+ )
17020
+ | undefined
17050
17021
  /** Metadata for a UniFi Protect camera. */
17051
17022
  unifi_protect_metadata?:
17052
17023
  | (
@@ -17354,11 +17325,11 @@ export type Routes = {
17354
17325
  | undefined
17355
17326
  } & {
17356
17327
  /** Reported temperature in °F. */
17357
- temperature_fahrenheit?: (number | null) | undefined
17328
+ temperature_fahrenheit?: number | undefined
17358
17329
  /** Reported temperature in °C. */
17359
- temperature_celsius?: (number | null) | undefined
17330
+ temperature_celsius?: number | undefined
17360
17331
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
17361
- relative_humidity?: (number | null) | undefined
17332
+ relative_humidity?: number | undefined
17362
17333
  /** HVAC mode settings that the thermostat supports. */
17363
17334
  available_hvac_mode_settings?:
17364
17335
  | ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[]
@@ -18193,6 +18164,63 @@ export type Routes = {
18193
18164
  image_url?: string | undefined
18194
18165
  }
18195
18166
  | undefined
18167
+ /** Temperature in °C, if the device measures temperature. */
18168
+ temperature_celsius?: number | undefined
18169
+ /** Temperature in °F, if the device measures temperature. */
18170
+ temperature_fahrenheit?: number | undefined
18171
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
18172
+ relative_humidity?: number | undefined
18173
+ /** Noise level in decibels, if the device measures noise. */
18174
+ noise_level_decibels?: number | undefined
18175
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
18176
+ noise_level_nrs?: number | undefined
18177
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
18178
+ co2_ppm?: number | undefined
18179
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
18180
+ co_ppm?: number | undefined
18181
+ /** Air quality index, if the device measures it. */
18182
+ air_quality_index?: number | undefined
18183
+ /** Mold risk level as reported by the device, if the device measures it. */
18184
+ mold_risk_level?: string | undefined
18185
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
18186
+ is_occupied?: boolean | undefined
18187
+ /** Number of occupants the device detects, if the device counts occupants. */
18188
+ occupant_count?: number | undefined
18189
+ /** Indicates whether the device detects smoking, if the device measures it. */
18190
+ is_smoking_detected?: boolean | undefined
18191
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
18192
+ named_sensors?:
18193
+ | {
18194
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
18195
+ sensor_name: string
18196
+ /** Display name of the sensor. Defaults to `sensor_name`. */
18197
+ display_name: string
18198
+ /** Temperature in °C, if the device measures temperature. */
18199
+ temperature_celsius?: number | undefined
18200
+ /** Temperature in °F, if the device measures temperature. */
18201
+ temperature_fahrenheit?: number | undefined
18202
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
18203
+ relative_humidity?: number | undefined
18204
+ /** Noise level in decibels, if the device measures noise. */
18205
+ noise_level_decibels?: number | undefined
18206
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
18207
+ noise_level_nrs?: number | undefined
18208
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
18209
+ co2_ppm?: number | undefined
18210
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
18211
+ co_ppm?: number | undefined
18212
+ /** Air quality index, if the device measures it. */
18213
+ air_quality_index?: number | undefined
18214
+ /** Mold risk level as reported by the device, if the device measures it. */
18215
+ mold_risk_level?: string | undefined
18216
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
18217
+ is_occupied?: boolean | undefined
18218
+ /** Number of occupants the device detects, if the device counts occupants. */
18219
+ occupant_count?: number | undefined
18220
+ /** Indicates whether the device detects smoking, if the device measures it. */
18221
+ is_smoking_detected?: boolean | undefined
18222
+ }[]
18223
+ | undefined
18196
18224
  /** Indicates whether the device supports remote unlocking. */
18197
18225
  can_remotely_unlock?: boolean | undefined
18198
18226
  /** Indicates whether the device supports remote locking. */
@@ -25938,6 +25966,7 @@ export type Routes = {
25938
25966
  | 'unifi_protect_camera'
25939
25967
  )
25940
25968
  | 'sonos_speaker'
25969
+ | 'alertify_sensor'
25941
25970
  /** IDs of the spaces the device is in. */
25942
25971
  space_ids: string[]
25943
25972
  /** Optional nickname to describe the device, settable through Seam. */
@@ -26046,58 +26075,9 @@ export type Routes = {
26046
26075
  * @deprecated use offline_access_codes_enabled*/
26047
26076
  supports_offline_access_codes?: boolean | undefined
26048
26077
  /** Indicates current noise level in decibels, if the device supports noise detection. */
26049
- noise_level_decibels?: (number | null) | undefined
26078
+ noise_level_decibels?: number | undefined
26050
26079
  /** Array of noise threshold IDs that are currently triggering. */
26051
26080
  currently_triggering_noise_threshold_ids?: string[] | undefined
26052
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
26053
- noise_level_nrs?: (number | null) | undefined
26054
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
26055
- co2_ppm?: (number | null) | undefined
26056
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
26057
- co_ppm?: (number | null) | undefined
26058
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
26059
- air_quality_index?: (number | null) | undefined
26060
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
26061
- mold_risk_level?: (string | null) | undefined
26062
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
26063
- is_occupied?: (boolean | null) | undefined
26064
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
26065
- occupant_count?: (number | null) | undefined
26066
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
26067
- is_smoking_detected?: (boolean | null) | undefined
26068
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
26069
- named_sensors?:
26070
- | {
26071
- /** Stable, hardware-defined name of the sensor, such as a port number. */
26072
- sensor_name: string
26073
- /** Display name of the sensor. Defaults to `sensor_name`. */
26074
- display_name: string
26075
- /** Reported temperature in °C. `null` until the first value arrives. */
26076
- temperature_celsius?: (number | null) | undefined
26077
- /** Reported temperature in °F. `null` until the first value arrives. */
26078
- temperature_fahrenheit?: (number | null) | undefined
26079
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
26080
- relative_humidity?: (number | null) | undefined
26081
- /** Noise level in decibels. `null` until the first value arrives. */
26082
- noise_level_decibels?: (number | null) | undefined
26083
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
26084
- noise_level_nrs?: (number | null) | undefined
26085
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
26086
- co2_ppm?: (number | null) | undefined
26087
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
26088
- co_ppm?: (number | null) | undefined
26089
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
26090
- air_quality_index?: (number | null) | undefined
26091
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
26092
- mold_risk_level?: (string | null) | undefined
26093
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
26094
- is_occupied?: (boolean | null) | undefined
26095
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
26096
- occupant_count?: (number | null) | undefined
26097
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
26098
- is_smoking_detected?: (boolean | null) | undefined
26099
- }[]
26100
- | undefined
26101
26081
  } & {
26102
26082
  /** ASSA ABLOY Credential Service metadata for the phone. */
26103
26083
  assa_abloy_credential_service_metadata?:
@@ -26864,6 +26844,25 @@ export type Routes = {
26864
26844
  | undefined
26865
26845
  )
26866
26846
  | undefined
26847
+ /** Metadata for an Alertify sensor. */
26848
+ alertify_metadata?:
26849
+ | (
26850
+ | {
26851
+ /** Device ID reported by Alertify. */
26852
+ device_id?: (string | undefined) | undefined
26853
+ /** Device name, as set in the Alertify dashboard. */
26854
+ device_name?: (string | undefined) | undefined
26855
+ /** ID of the Alertify unit where the device is installed. */
26856
+ unit_id?: (string | undefined) | undefined
26857
+ /** Name of the Alertify unit where the device is installed. */
26858
+ unit_name?: (string | undefined) | undefined
26859
+ /** ID of the Alertify building that contains the unit. */
26860
+ building_id?:
26861
+ ((string | null) | undefined) | undefined
26862
+ }
26863
+ | undefined
26864
+ )
26865
+ | undefined
26867
26866
  /** Metadata for a UniFi Protect camera. */
26868
26867
  unifi_protect_metadata?:
26869
26868
  | (
@@ -27171,11 +27170,11 @@ export type Routes = {
27171
27170
  | undefined
27172
27171
  } & {
27173
27172
  /** Reported temperature in °F. */
27174
- temperature_fahrenheit?: (number | null) | undefined
27173
+ temperature_fahrenheit?: number | undefined
27175
27174
  /** Reported temperature in °C. */
27176
- temperature_celsius?: (number | null) | undefined
27175
+ temperature_celsius?: number | undefined
27177
27176
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
27178
- relative_humidity?: (number | null) | undefined
27177
+ relative_humidity?: number | undefined
27179
27178
  /** HVAC mode settings that the thermostat supports. */
27180
27179
  available_hvac_mode_settings?:
27181
27180
  | ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[]
@@ -28010,6 +28009,63 @@ export type Routes = {
28010
28009
  image_url?: string | undefined
28011
28010
  }
28012
28011
  | undefined
28012
+ /** Temperature in °C, if the device measures temperature. */
28013
+ temperature_celsius?: number | undefined
28014
+ /** Temperature in °F, if the device measures temperature. */
28015
+ temperature_fahrenheit?: number | undefined
28016
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
28017
+ relative_humidity?: number | undefined
28018
+ /** Noise level in decibels, if the device measures noise. */
28019
+ noise_level_decibels?: number | undefined
28020
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
28021
+ noise_level_nrs?: number | undefined
28022
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
28023
+ co2_ppm?: number | undefined
28024
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
28025
+ co_ppm?: number | undefined
28026
+ /** Air quality index, if the device measures it. */
28027
+ air_quality_index?: number | undefined
28028
+ /** Mold risk level as reported by the device, if the device measures it. */
28029
+ mold_risk_level?: string | undefined
28030
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
28031
+ is_occupied?: boolean | undefined
28032
+ /** Number of occupants the device detects, if the device counts occupants. */
28033
+ occupant_count?: number | undefined
28034
+ /** Indicates whether the device detects smoking, if the device measures it. */
28035
+ is_smoking_detected?: boolean | undefined
28036
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
28037
+ named_sensors?:
28038
+ | {
28039
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
28040
+ sensor_name: string
28041
+ /** Display name of the sensor. Defaults to `sensor_name`. */
28042
+ display_name: string
28043
+ /** Temperature in °C, if the device measures temperature. */
28044
+ temperature_celsius?: number | undefined
28045
+ /** Temperature in °F, if the device measures temperature. */
28046
+ temperature_fahrenheit?: number | undefined
28047
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
28048
+ relative_humidity?: number | undefined
28049
+ /** Noise level in decibels, if the device measures noise. */
28050
+ noise_level_decibels?: number | undefined
28051
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
28052
+ noise_level_nrs?: number | undefined
28053
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
28054
+ co2_ppm?: number | undefined
28055
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
28056
+ co_ppm?: number | undefined
28057
+ /** Air quality index, if the device measures it. */
28058
+ air_quality_index?: number | undefined
28059
+ /** Mold risk level as reported by the device, if the device measures it. */
28060
+ mold_risk_level?: string | undefined
28061
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
28062
+ is_occupied?: boolean | undefined
28063
+ /** Number of occupants the device detects, if the device counts occupants. */
28064
+ occupant_count?: number | undefined
28065
+ /** Indicates whether the device detects smoking, if the device measures it. */
28066
+ is_smoking_detected?: boolean | undefined
28067
+ }[]
28068
+ | undefined
28013
28069
  /** Indicates whether the device supports remote unlocking. */
28014
28070
  can_remotely_unlock?: boolean | undefined
28015
28071
  /** Indicates whether the device supports remote locking. */
@@ -55881,6 +55937,7 @@ export type Routes = {
55881
55937
  | 'reolink'
55882
55938
  | 'unifi_protect'
55883
55939
  | 'yale_connect'
55940
+ | 'alertify'
55884
55941
  | 'ical'
55885
55942
  | 'lodgify'
55886
55943
  | 'hostaway'
@@ -58235,6 +58292,7 @@ export type Routes = {
58235
58292
  | 'unifi_protect_camera'
58236
58293
  )
58237
58294
  | 'sonos_speaker'
58295
+ | 'alertify_sensor'
58238
58296
  /** IDs of the spaces the device is in. */
58239
58297
  space_ids: string[]
58240
58298
  /** Optional nickname to describe the device, settable through Seam. */
@@ -58343,58 +58401,9 @@ export type Routes = {
58343
58401
  * @deprecated use offline_access_codes_enabled*/
58344
58402
  supports_offline_access_codes?: boolean | undefined
58345
58403
  /** Indicates current noise level in decibels, if the device supports noise detection. */
58346
- noise_level_decibels?: (number | null) | undefined
58404
+ noise_level_decibels?: number | undefined
58347
58405
  /** Array of noise threshold IDs that are currently triggering. */
58348
58406
  currently_triggering_noise_threshold_ids?: string[] | undefined
58349
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
58350
- noise_level_nrs?: (number | null) | undefined
58351
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
58352
- co2_ppm?: (number | null) | undefined
58353
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
58354
- co_ppm?: (number | null) | undefined
58355
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
58356
- air_quality_index?: (number | null) | undefined
58357
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
58358
- mold_risk_level?: (string | null) | undefined
58359
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
58360
- is_occupied?: (boolean | null) | undefined
58361
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
58362
- occupant_count?: (number | null) | undefined
58363
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
58364
- is_smoking_detected?: (boolean | null) | undefined
58365
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
58366
- named_sensors?:
58367
- | {
58368
- /** Stable, hardware-defined name of the sensor, such as a port number. */
58369
- sensor_name: string
58370
- /** Display name of the sensor. Defaults to `sensor_name`. */
58371
- display_name: string
58372
- /** Reported temperature in °C. `null` until the first value arrives. */
58373
- temperature_celsius?: (number | null) | undefined
58374
- /** Reported temperature in °F. `null` until the first value arrives. */
58375
- temperature_fahrenheit?: (number | null) | undefined
58376
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
58377
- relative_humidity?: (number | null) | undefined
58378
- /** Noise level in decibels. `null` until the first value arrives. */
58379
- noise_level_decibels?: (number | null) | undefined
58380
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
58381
- noise_level_nrs?: (number | null) | undefined
58382
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
58383
- co2_ppm?: (number | null) | undefined
58384
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
58385
- co_ppm?: (number | null) | undefined
58386
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
58387
- air_quality_index?: (number | null) | undefined
58388
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
58389
- mold_risk_level?: (string | null) | undefined
58390
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
58391
- is_occupied?: (boolean | null) | undefined
58392
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
58393
- occupant_count?: (number | null) | undefined
58394
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
58395
- is_smoking_detected?: (boolean | null) | undefined
58396
- }[]
58397
- | undefined
58398
58407
  } & {
58399
58408
  /** ASSA ABLOY Credential Service metadata for the phone. */
58400
58409
  assa_abloy_credential_service_metadata?:
@@ -59136,6 +59145,24 @@ export type Routes = {
59136
59145
  | undefined
59137
59146
  )
59138
59147
  | undefined
59148
+ /** Metadata for an Alertify sensor. */
59149
+ alertify_metadata?:
59150
+ | (
59151
+ | {
59152
+ /** Device ID reported by Alertify. */
59153
+ device_id?: (string | undefined) | undefined
59154
+ /** Device name, as set in the Alertify dashboard. */
59155
+ device_name?: (string | undefined) | undefined
59156
+ /** ID of the Alertify unit where the device is installed. */
59157
+ unit_id?: (string | undefined) | undefined
59158
+ /** Name of the Alertify unit where the device is installed. */
59159
+ unit_name?: (string | undefined) | undefined
59160
+ /** ID of the Alertify building that contains the unit. */
59161
+ building_id?: ((string | null) | undefined) | undefined
59162
+ }
59163
+ | undefined
59164
+ )
59165
+ | undefined
59139
59166
  /** Metadata for a UniFi Protect camera. */
59140
59167
  unifi_protect_metadata?:
59141
59168
  | (
@@ -59434,11 +59461,11 @@ export type Routes = {
59434
59461
  | undefined
59435
59462
  } & {
59436
59463
  /** Reported temperature in °F. */
59437
- temperature_fahrenheit?: (number | null) | undefined
59464
+ temperature_fahrenheit?: number | undefined
59438
59465
  /** Reported temperature in °C. */
59439
- temperature_celsius?: (number | null) | undefined
59466
+ temperature_celsius?: number | undefined
59440
59467
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
59441
- relative_humidity?: (number | null) | undefined
59468
+ relative_humidity?: number | undefined
59442
59469
  /** HVAC mode settings that the thermostat supports. */
59443
59470
  available_hvac_mode_settings?:
59444
59471
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -60251,6 +60278,63 @@ export type Routes = {
60251
60278
  image_url?: string | undefined
60252
60279
  }
60253
60280
  | undefined
60281
+ /** Temperature in °C, if the device measures temperature. */
60282
+ temperature_celsius?: number | undefined
60283
+ /** Temperature in °F, if the device measures temperature. */
60284
+ temperature_fahrenheit?: number | undefined
60285
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
60286
+ relative_humidity?: number | undefined
60287
+ /** Noise level in decibels, if the device measures noise. */
60288
+ noise_level_decibels?: number | undefined
60289
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
60290
+ noise_level_nrs?: number | undefined
60291
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
60292
+ co2_ppm?: number | undefined
60293
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
60294
+ co_ppm?: number | undefined
60295
+ /** Air quality index, if the device measures it. */
60296
+ air_quality_index?: number | undefined
60297
+ /** Mold risk level as reported by the device, if the device measures it. */
60298
+ mold_risk_level?: string | undefined
60299
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
60300
+ is_occupied?: boolean | undefined
60301
+ /** Number of occupants the device detects, if the device counts occupants. */
60302
+ occupant_count?: number | undefined
60303
+ /** Indicates whether the device detects smoking, if the device measures it. */
60304
+ is_smoking_detected?: boolean | undefined
60305
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
60306
+ named_sensors?:
60307
+ | {
60308
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
60309
+ sensor_name: string
60310
+ /** Display name of the sensor. Defaults to `sensor_name`. */
60311
+ display_name: string
60312
+ /** Temperature in °C, if the device measures temperature. */
60313
+ temperature_celsius?: number | undefined
60314
+ /** Temperature in °F, if the device measures temperature. */
60315
+ temperature_fahrenheit?: number | undefined
60316
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
60317
+ relative_humidity?: number | undefined
60318
+ /** Noise level in decibels, if the device measures noise. */
60319
+ noise_level_decibels?: number | undefined
60320
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
60321
+ noise_level_nrs?: number | undefined
60322
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
60323
+ co2_ppm?: number | undefined
60324
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
60325
+ co_ppm?: number | undefined
60326
+ /** Air quality index, if the device measures it. */
60327
+ air_quality_index?: number | undefined
60328
+ /** Mold risk level as reported by the device, if the device measures it. */
60329
+ mold_risk_level?: string | undefined
60330
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
60331
+ is_occupied?: boolean | undefined
60332
+ /** Number of occupants the device detects, if the device counts occupants. */
60333
+ occupant_count?: number | undefined
60334
+ /** Indicates whether the device detects smoking, if the device measures it. */
60335
+ is_smoking_detected?: boolean | undefined
60336
+ }[]
60337
+ | undefined
60254
60338
  /** Indicates whether the device supports remote unlocking. */
60255
60339
  can_remotely_unlock?: boolean | undefined
60256
60340
  /** Indicates whether the device supports remote locking. */
@@ -60389,6 +60473,7 @@ export type Routes = {
60389
60473
  | 'unifi_protect_camera'
60390
60474
  )
60391
60475
  | 'sonos_speaker'
60476
+ | 'alertify_sensor'
60392
60477
  )
60393
60478
  | undefined
60394
60479
  /** Array of device types for which you want to list devices. */
@@ -60450,6 +60535,7 @@ export type Routes = {
60450
60535
  | 'unifi_protect_camera'
60451
60536
  )
60452
60537
  | 'sonos_speaker'
60538
+ | 'alertify_sensor'
60453
60539
  )[]
60454
60540
  | undefined
60455
60541
  /** Manufacturer for which you want to list devices. */
@@ -60506,6 +60592,7 @@ export type Routes = {
60506
60592
  | 'reolink'
60507
60593
  | 'unifi_protect'
60508
60594
  | 'yale_connect'
60595
+ | 'alertify'
60509
60596
  | 'ical'
60510
60597
  | 'lodgify'
60511
60598
  | 'hostaway'
@@ -60675,6 +60762,7 @@ export type Routes = {
60675
60762
  | 'unifi_protect_camera'
60676
60763
  )
60677
60764
  | 'sonos_speaker'
60765
+ | 'alertify_sensor'
60678
60766
  /** IDs of the spaces the device is in. */
60679
60767
  space_ids: string[]
60680
60768
  /** Optional nickname to describe the device, settable through Seam. */
@@ -60783,58 +60871,9 @@ export type Routes = {
60783
60871
  * @deprecated use offline_access_codes_enabled*/
60784
60872
  supports_offline_access_codes?: boolean | undefined
60785
60873
  /** Indicates current noise level in decibels, if the device supports noise detection. */
60786
- noise_level_decibels?: (number | null) | undefined
60874
+ noise_level_decibels?: number | undefined
60787
60875
  /** Array of noise threshold IDs that are currently triggering. */
60788
60876
  currently_triggering_noise_threshold_ids?: string[] | undefined
60789
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
60790
- noise_level_nrs?: (number | null) | undefined
60791
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
60792
- co2_ppm?: (number | null) | undefined
60793
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
60794
- co_ppm?: (number | null) | undefined
60795
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
60796
- air_quality_index?: (number | null) | undefined
60797
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
60798
- mold_risk_level?: (string | null) | undefined
60799
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
60800
- is_occupied?: (boolean | null) | undefined
60801
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
60802
- occupant_count?: (number | null) | undefined
60803
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
60804
- is_smoking_detected?: (boolean | null) | undefined
60805
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
60806
- named_sensors?:
60807
- | {
60808
- /** Stable, hardware-defined name of the sensor, such as a port number. */
60809
- sensor_name: string
60810
- /** Display name of the sensor. Defaults to `sensor_name`. */
60811
- display_name: string
60812
- /** Reported temperature in °C. `null` until the first value arrives. */
60813
- temperature_celsius?: (number | null) | undefined
60814
- /** Reported temperature in °F. `null` until the first value arrives. */
60815
- temperature_fahrenheit?: (number | null) | undefined
60816
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
60817
- relative_humidity?: (number | null) | undefined
60818
- /** Noise level in decibels. `null` until the first value arrives. */
60819
- noise_level_decibels?: (number | null) | undefined
60820
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
60821
- noise_level_nrs?: (number | null) | undefined
60822
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
60823
- co2_ppm?: (number | null) | undefined
60824
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
60825
- co_ppm?: (number | null) | undefined
60826
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
60827
- air_quality_index?: (number | null) | undefined
60828
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
60829
- mold_risk_level?: (string | null) | undefined
60830
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
60831
- is_occupied?: (boolean | null) | undefined
60832
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
60833
- occupant_count?: (number | null) | undefined
60834
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
60835
- is_smoking_detected?: (boolean | null) | undefined
60836
- }[]
60837
- | undefined
60838
60877
  } & {
60839
60878
  /** ASSA ABLOY Credential Service metadata for the phone. */
60840
60879
  assa_abloy_credential_service_metadata?:
@@ -61576,6 +61615,24 @@ export type Routes = {
61576
61615
  | undefined
61577
61616
  )
61578
61617
  | undefined
61618
+ /** Metadata for an Alertify sensor. */
61619
+ alertify_metadata?:
61620
+ | (
61621
+ | {
61622
+ /** Device ID reported by Alertify. */
61623
+ device_id?: (string | undefined) | undefined
61624
+ /** Device name, as set in the Alertify dashboard. */
61625
+ device_name?: (string | undefined) | undefined
61626
+ /** ID of the Alertify unit where the device is installed. */
61627
+ unit_id?: (string | undefined) | undefined
61628
+ /** Name of the Alertify unit where the device is installed. */
61629
+ unit_name?: (string | undefined) | undefined
61630
+ /** ID of the Alertify building that contains the unit. */
61631
+ building_id?: ((string | null) | undefined) | undefined
61632
+ }
61633
+ | undefined
61634
+ )
61635
+ | undefined
61579
61636
  /** Metadata for a UniFi Protect camera. */
61580
61637
  unifi_protect_metadata?:
61581
61638
  | (
@@ -61874,11 +61931,11 @@ export type Routes = {
61874
61931
  | undefined
61875
61932
  } & {
61876
61933
  /** Reported temperature in °F. */
61877
- temperature_fahrenheit?: (number | null) | undefined
61934
+ temperature_fahrenheit?: number | undefined
61878
61935
  /** Reported temperature in °C. */
61879
- temperature_celsius?: (number | null) | undefined
61936
+ temperature_celsius?: number | undefined
61880
61937
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
61881
- relative_humidity?: (number | null) | undefined
61938
+ relative_humidity?: number | undefined
61882
61939
  /** HVAC mode settings that the thermostat supports. */
61883
61940
  available_hvac_mode_settings?:
61884
61941
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -62691,6 +62748,63 @@ export type Routes = {
62691
62748
  image_url?: string | undefined
62692
62749
  }
62693
62750
  | undefined
62751
+ /** Temperature in °C, if the device measures temperature. */
62752
+ temperature_celsius?: number | undefined
62753
+ /** Temperature in °F, if the device measures temperature. */
62754
+ temperature_fahrenheit?: number | undefined
62755
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
62756
+ relative_humidity?: number | undefined
62757
+ /** Noise level in decibels, if the device measures noise. */
62758
+ noise_level_decibels?: number | undefined
62759
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
62760
+ noise_level_nrs?: number | undefined
62761
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
62762
+ co2_ppm?: number | undefined
62763
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
62764
+ co_ppm?: number | undefined
62765
+ /** Air quality index, if the device measures it. */
62766
+ air_quality_index?: number | undefined
62767
+ /** Mold risk level as reported by the device, if the device measures it. */
62768
+ mold_risk_level?: string | undefined
62769
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
62770
+ is_occupied?: boolean | undefined
62771
+ /** Number of occupants the device detects, if the device counts occupants. */
62772
+ occupant_count?: number | undefined
62773
+ /** Indicates whether the device detects smoking, if the device measures it. */
62774
+ is_smoking_detected?: boolean | undefined
62775
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
62776
+ named_sensors?:
62777
+ | {
62778
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
62779
+ sensor_name: string
62780
+ /** Display name of the sensor. Defaults to `sensor_name`. */
62781
+ display_name: string
62782
+ /** Temperature in °C, if the device measures temperature. */
62783
+ temperature_celsius?: number | undefined
62784
+ /** Temperature in °F, if the device measures temperature. */
62785
+ temperature_fahrenheit?: number | undefined
62786
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
62787
+ relative_humidity?: number | undefined
62788
+ /** Noise level in decibels, if the device measures noise. */
62789
+ noise_level_decibels?: number | undefined
62790
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
62791
+ noise_level_nrs?: number | undefined
62792
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
62793
+ co2_ppm?: number | undefined
62794
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
62795
+ co_ppm?: number | undefined
62796
+ /** Air quality index, if the device measures it. */
62797
+ air_quality_index?: number | undefined
62798
+ /** Mold risk level as reported by the device, if the device measures it. */
62799
+ mold_risk_level?: string | undefined
62800
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
62801
+ is_occupied?: boolean | undefined
62802
+ /** Number of occupants the device detects, if the device counts occupants. */
62803
+ occupant_count?: number | undefined
62804
+ /** Indicates whether the device detects smoking, if the device measures it. */
62805
+ is_smoking_detected?: boolean | undefined
62806
+ }[]
62807
+ | undefined
62694
62808
  /** Indicates whether the device supports remote unlocking. */
62695
62809
  can_remotely_unlock?: boolean | undefined
62696
62810
  /** Indicates whether the device supports remote locking. */
@@ -62854,6 +62968,7 @@ export type Routes = {
62854
62968
  | 'reolink'
62855
62969
  | 'unifi_protect'
62856
62970
  | 'yale_connect'
62971
+ | 'alertify'
62857
62972
  | 'ical'
62858
62973
  | 'lodgify'
62859
62974
  | 'hostaway'
@@ -64421,6 +64536,7 @@ export type Routes = {
64421
64536
  | 'unifi_protect_camera'
64422
64537
  )
64423
64538
  | 'sonos_speaker'
64539
+ | 'alertify_sensor'
64424
64540
  /** Unique identifier for the account associated with the device. */
64425
64541
  connected_account_id: string
64426
64542
  /** Location information for the device. */
@@ -65069,6 +65185,7 @@ export type Routes = {
65069
65185
  | 'unifi_protect_camera'
65070
65186
  )
65071
65187
  | 'sonos_speaker'
65188
+ | 'alertify_sensor'
65072
65189
  )
65073
65190
  | undefined
65074
65191
  /** Array of device types for which you want to list devices. */
@@ -65130,6 +65247,7 @@ export type Routes = {
65130
65247
  | 'unifi_protect_camera'
65131
65248
  )
65132
65249
  | 'sonos_speaker'
65250
+ | 'alertify_sensor'
65133
65251
  )[]
65134
65252
  | undefined
65135
65253
  /** Manufacturer for which you want to list devices. */
@@ -65186,6 +65304,7 @@ export type Routes = {
65186
65304
  | 'reolink'
65187
65305
  | 'unifi_protect'
65188
65306
  | 'yale_connect'
65307
+ | 'alertify'
65189
65308
  | 'ical'
65190
65309
  | 'lodgify'
65191
65310
  | 'hostaway'
@@ -65342,6 +65461,7 @@ export type Routes = {
65342
65461
  | 'unifi_protect_camera'
65343
65462
  )
65344
65463
  | 'sonos_speaker'
65464
+ | 'alertify_sensor'
65345
65465
  /** Unique identifier for the account associated with the device. */
65346
65466
  connected_account_id: string
65347
65467
  /** Location information for the device. */
@@ -77473,6 +77593,7 @@ export type Routes = {
77473
77593
  | 'unifi_protect_camera'
77474
77594
  )
77475
77595
  | 'sonos_speaker'
77596
+ | 'alertify_sensor'
77476
77597
  /** IDs of the spaces the device is in. */
77477
77598
  space_ids: string[]
77478
77599
  /** Optional nickname to describe the device, settable through Seam. */
@@ -77581,58 +77702,9 @@ export type Routes = {
77581
77702
  * @deprecated use offline_access_codes_enabled*/
77582
77703
  supports_offline_access_codes?: boolean | undefined
77583
77704
  /** Indicates current noise level in decibels, if the device supports noise detection. */
77584
- noise_level_decibels?: (number | null) | undefined
77705
+ noise_level_decibels?: number | undefined
77585
77706
  /** Array of noise threshold IDs that are currently triggering. */
77586
77707
  currently_triggering_noise_threshold_ids?: string[] | undefined
77587
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
77588
- noise_level_nrs?: (number | null) | undefined
77589
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
77590
- co2_ppm?: (number | null) | undefined
77591
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
77592
- co_ppm?: (number | null) | undefined
77593
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
77594
- air_quality_index?: (number | null) | undefined
77595
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
77596
- mold_risk_level?: (string | null) | undefined
77597
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
77598
- is_occupied?: (boolean | null) | undefined
77599
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
77600
- occupant_count?: (number | null) | undefined
77601
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
77602
- is_smoking_detected?: (boolean | null) | undefined
77603
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
77604
- named_sensors?:
77605
- | {
77606
- /** Stable, hardware-defined name of the sensor, such as a port number. */
77607
- sensor_name: string
77608
- /** Display name of the sensor. Defaults to `sensor_name`. */
77609
- display_name: string
77610
- /** Reported temperature in °C. `null` until the first value arrives. */
77611
- temperature_celsius?: (number | null) | undefined
77612
- /** Reported temperature in °F. `null` until the first value arrives. */
77613
- temperature_fahrenheit?: (number | null) | undefined
77614
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
77615
- relative_humidity?: (number | null) | undefined
77616
- /** Noise level in decibels. `null` until the first value arrives. */
77617
- noise_level_decibels?: (number | null) | undefined
77618
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
77619
- noise_level_nrs?: (number | null) | undefined
77620
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
77621
- co2_ppm?: (number | null) | undefined
77622
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
77623
- co_ppm?: (number | null) | undefined
77624
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
77625
- air_quality_index?: (number | null) | undefined
77626
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
77627
- mold_risk_level?: (string | null) | undefined
77628
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
77629
- is_occupied?: (boolean | null) | undefined
77630
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
77631
- occupant_count?: (number | null) | undefined
77632
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
77633
- is_smoking_detected?: (boolean | null) | undefined
77634
- }[]
77635
- | undefined
77636
77708
  } & {
77637
77709
  /** ASSA ABLOY Credential Service metadata for the phone. */
77638
77710
  assa_abloy_credential_service_metadata?:
@@ -78374,6 +78446,24 @@ export type Routes = {
78374
78446
  | undefined
78375
78447
  )
78376
78448
  | undefined
78449
+ /** Metadata for an Alertify sensor. */
78450
+ alertify_metadata?:
78451
+ | (
78452
+ | {
78453
+ /** Device ID reported by Alertify. */
78454
+ device_id?: (string | undefined) | undefined
78455
+ /** Device name, as set in the Alertify dashboard. */
78456
+ device_name?: (string | undefined) | undefined
78457
+ /** ID of the Alertify unit where the device is installed. */
78458
+ unit_id?: (string | undefined) | undefined
78459
+ /** Name of the Alertify unit where the device is installed. */
78460
+ unit_name?: (string | undefined) | undefined
78461
+ /** ID of the Alertify building that contains the unit. */
78462
+ building_id?: ((string | null) | undefined) | undefined
78463
+ }
78464
+ | undefined
78465
+ )
78466
+ | undefined
78377
78467
  /** Metadata for a UniFi Protect camera. */
78378
78468
  unifi_protect_metadata?:
78379
78469
  | (
@@ -78672,11 +78762,11 @@ export type Routes = {
78672
78762
  | undefined
78673
78763
  } & {
78674
78764
  /** Reported temperature in °F. */
78675
- temperature_fahrenheit?: (number | null) | undefined
78765
+ temperature_fahrenheit?: number | undefined
78676
78766
  /** Reported temperature in °C. */
78677
- temperature_celsius?: (number | null) | undefined
78767
+ temperature_celsius?: number | undefined
78678
78768
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
78679
- relative_humidity?: (number | null) | undefined
78769
+ relative_humidity?: number | undefined
78680
78770
  /** HVAC mode settings that the thermostat supports. */
78681
78771
  available_hvac_mode_settings?:
78682
78772
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -79489,6 +79579,63 @@ export type Routes = {
79489
79579
  image_url?: string | undefined
79490
79580
  }
79491
79581
  | undefined
79582
+ /** Temperature in °C, if the device measures temperature. */
79583
+ temperature_celsius?: number | undefined
79584
+ /** Temperature in °F, if the device measures temperature. */
79585
+ temperature_fahrenheit?: number | undefined
79586
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
79587
+ relative_humidity?: number | undefined
79588
+ /** Noise level in decibels, if the device measures noise. */
79589
+ noise_level_decibels?: number | undefined
79590
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
79591
+ noise_level_nrs?: number | undefined
79592
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
79593
+ co2_ppm?: number | undefined
79594
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
79595
+ co_ppm?: number | undefined
79596
+ /** Air quality index, if the device measures it. */
79597
+ air_quality_index?: number | undefined
79598
+ /** Mold risk level as reported by the device, if the device measures it. */
79599
+ mold_risk_level?: string | undefined
79600
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
79601
+ is_occupied?: boolean | undefined
79602
+ /** Number of occupants the device detects, if the device counts occupants. */
79603
+ occupant_count?: number | undefined
79604
+ /** Indicates whether the device detects smoking, if the device measures it. */
79605
+ is_smoking_detected?: boolean | undefined
79606
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
79607
+ named_sensors?:
79608
+ | {
79609
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
79610
+ sensor_name: string
79611
+ /** Display name of the sensor. Defaults to `sensor_name`. */
79612
+ display_name: string
79613
+ /** Temperature in °C, if the device measures temperature. */
79614
+ temperature_celsius?: number | undefined
79615
+ /** Temperature in °F, if the device measures temperature. */
79616
+ temperature_fahrenheit?: number | undefined
79617
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
79618
+ relative_humidity?: number | undefined
79619
+ /** Noise level in decibels, if the device measures noise. */
79620
+ noise_level_decibels?: number | undefined
79621
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
79622
+ noise_level_nrs?: number | undefined
79623
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
79624
+ co2_ppm?: number | undefined
79625
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
79626
+ co_ppm?: number | undefined
79627
+ /** Air quality index, if the device measures it. */
79628
+ air_quality_index?: number | undefined
79629
+ /** Mold risk level as reported by the device, if the device measures it. */
79630
+ mold_risk_level?: string | undefined
79631
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
79632
+ is_occupied?: boolean | undefined
79633
+ /** Number of occupants the device detects, if the device counts occupants. */
79634
+ occupant_count?: number | undefined
79635
+ /** Indicates whether the device detects smoking, if the device measures it. */
79636
+ is_smoking_detected?: boolean | undefined
79637
+ }[]
79638
+ | undefined
79492
79639
  /** Indicates whether the device supports remote unlocking. */
79493
79640
  can_remotely_unlock?: boolean | undefined
79494
79641
  /** Indicates whether the device supports remote locking. */
@@ -79613,6 +79760,7 @@ export type Routes = {
79613
79760
  | 'unifi_protect_camera'
79614
79761
  )
79615
79762
  | 'sonos_speaker'
79763
+ | 'alertify_sensor'
79616
79764
  /** IDs of the spaces the device is in. */
79617
79765
  space_ids: string[]
79618
79766
  /** Optional nickname to describe the device, settable through Seam. */
@@ -79721,58 +79869,9 @@ export type Routes = {
79721
79869
  * @deprecated use offline_access_codes_enabled*/
79722
79870
  supports_offline_access_codes?: boolean | undefined
79723
79871
  /** Indicates current noise level in decibels, if the device supports noise detection. */
79724
- noise_level_decibels?: (number | null) | undefined
79872
+ noise_level_decibels?: number | undefined
79725
79873
  /** Array of noise threshold IDs that are currently triggering. */
79726
79874
  currently_triggering_noise_threshold_ids?: string[] | undefined
79727
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
79728
- noise_level_nrs?: (number | null) | undefined
79729
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
79730
- co2_ppm?: (number | null) | undefined
79731
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
79732
- co_ppm?: (number | null) | undefined
79733
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
79734
- air_quality_index?: (number | null) | undefined
79735
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
79736
- mold_risk_level?: (string | null) | undefined
79737
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
79738
- is_occupied?: (boolean | null) | undefined
79739
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
79740
- occupant_count?: (number | null) | undefined
79741
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
79742
- is_smoking_detected?: (boolean | null) | undefined
79743
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
79744
- named_sensors?:
79745
- | {
79746
- /** Stable, hardware-defined name of the sensor, such as a port number. */
79747
- sensor_name: string
79748
- /** Display name of the sensor. Defaults to `sensor_name`. */
79749
- display_name: string
79750
- /** Reported temperature in °C. `null` until the first value arrives. */
79751
- temperature_celsius?: (number | null) | undefined
79752
- /** Reported temperature in °F. `null` until the first value arrives. */
79753
- temperature_fahrenheit?: (number | null) | undefined
79754
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
79755
- relative_humidity?: (number | null) | undefined
79756
- /** Noise level in decibels. `null` until the first value arrives. */
79757
- noise_level_decibels?: (number | null) | undefined
79758
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
79759
- noise_level_nrs?: (number | null) | undefined
79760
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
79761
- co2_ppm?: (number | null) | undefined
79762
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
79763
- co_ppm?: (number | null) | undefined
79764
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
79765
- air_quality_index?: (number | null) | undefined
79766
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
79767
- mold_risk_level?: (string | null) | undefined
79768
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
79769
- is_occupied?: (boolean | null) | undefined
79770
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
79771
- occupant_count?: (number | null) | undefined
79772
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
79773
- is_smoking_detected?: (boolean | null) | undefined
79774
- }[]
79775
- | undefined
79776
79875
  } & {
79777
79876
  /** ASSA ABLOY Credential Service metadata for the phone. */
79778
79877
  assa_abloy_credential_service_metadata?:
@@ -80514,6 +80613,24 @@ export type Routes = {
80514
80613
  | undefined
80515
80614
  )
80516
80615
  | undefined
80616
+ /** Metadata for an Alertify sensor. */
80617
+ alertify_metadata?:
80618
+ | (
80619
+ | {
80620
+ /** Device ID reported by Alertify. */
80621
+ device_id?: (string | undefined) | undefined
80622
+ /** Device name, as set in the Alertify dashboard. */
80623
+ device_name?: (string | undefined) | undefined
80624
+ /** ID of the Alertify unit where the device is installed. */
80625
+ unit_id?: (string | undefined) | undefined
80626
+ /** Name of the Alertify unit where the device is installed. */
80627
+ unit_name?: (string | undefined) | undefined
80628
+ /** ID of the Alertify building that contains the unit. */
80629
+ building_id?: ((string | null) | undefined) | undefined
80630
+ }
80631
+ | undefined
80632
+ )
80633
+ | undefined
80517
80634
  /** Metadata for a UniFi Protect camera. */
80518
80635
  unifi_protect_metadata?:
80519
80636
  | (
@@ -80812,11 +80929,11 @@ export type Routes = {
80812
80929
  | undefined
80813
80930
  } & {
80814
80931
  /** Reported temperature in °F. */
80815
- temperature_fahrenheit?: (number | null) | undefined
80932
+ temperature_fahrenheit?: number | undefined
80816
80933
  /** Reported temperature in °C. */
80817
- temperature_celsius?: (number | null) | undefined
80934
+ temperature_celsius?: number | undefined
80818
80935
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
80819
- relative_humidity?: (number | null) | undefined
80936
+ relative_humidity?: number | undefined
80820
80937
  /** HVAC mode settings that the thermostat supports. */
80821
80938
  available_hvac_mode_settings?:
80822
80939
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -81629,6 +81746,63 @@ export type Routes = {
81629
81746
  image_url?: string | undefined
81630
81747
  }
81631
81748
  | undefined
81749
+ /** Temperature in °C, if the device measures temperature. */
81750
+ temperature_celsius?: number | undefined
81751
+ /** Temperature in °F, if the device measures temperature. */
81752
+ temperature_fahrenheit?: number | undefined
81753
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
81754
+ relative_humidity?: number | undefined
81755
+ /** Noise level in decibels, if the device measures noise. */
81756
+ noise_level_decibels?: number | undefined
81757
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
81758
+ noise_level_nrs?: number | undefined
81759
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
81760
+ co2_ppm?: number | undefined
81761
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
81762
+ co_ppm?: number | undefined
81763
+ /** Air quality index, if the device measures it. */
81764
+ air_quality_index?: number | undefined
81765
+ /** Mold risk level as reported by the device, if the device measures it. */
81766
+ mold_risk_level?: string | undefined
81767
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
81768
+ is_occupied?: boolean | undefined
81769
+ /** Number of occupants the device detects, if the device counts occupants. */
81770
+ occupant_count?: number | undefined
81771
+ /** Indicates whether the device detects smoking, if the device measures it. */
81772
+ is_smoking_detected?: boolean | undefined
81773
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
81774
+ named_sensors?:
81775
+ | {
81776
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
81777
+ sensor_name: string
81778
+ /** Display name of the sensor. Defaults to `sensor_name`. */
81779
+ display_name: string
81780
+ /** Temperature in °C, if the device measures temperature. */
81781
+ temperature_celsius?: number | undefined
81782
+ /** Temperature in °F, if the device measures temperature. */
81783
+ temperature_fahrenheit?: number | undefined
81784
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
81785
+ relative_humidity?: number | undefined
81786
+ /** Noise level in decibels, if the device measures noise. */
81787
+ noise_level_decibels?: number | undefined
81788
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
81789
+ noise_level_nrs?: number | undefined
81790
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
81791
+ co2_ppm?: number | undefined
81792
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
81793
+ co_ppm?: number | undefined
81794
+ /** Air quality index, if the device measures it. */
81795
+ air_quality_index?: number | undefined
81796
+ /** Mold risk level as reported by the device, if the device measures it. */
81797
+ mold_risk_level?: string | undefined
81798
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
81799
+ is_occupied?: boolean | undefined
81800
+ /** Number of occupants the device detects, if the device counts occupants. */
81801
+ occupant_count?: number | undefined
81802
+ /** Indicates whether the device detects smoking, if the device measures it. */
81803
+ is_smoking_detected?: boolean | undefined
81804
+ }[]
81805
+ | undefined
81632
81806
  /** Indicates whether the device supports remote unlocking. */
81633
81807
  can_remotely_unlock?: boolean | undefined
81634
81808
  /** Indicates whether the device supports remote locking. */
@@ -81891,6 +82065,7 @@ export type Routes = {
81891
82065
  | 'unifi_protect_camera'
81892
82066
  )
81893
82067
  | 'sonos_speaker'
82068
+ | 'alertify_sensor'
81894
82069
  /** IDs of the spaces the device is in. */
81895
82070
  space_ids: string[]
81896
82071
  /** Optional nickname to describe the device, settable through Seam. */
@@ -81999,58 +82174,9 @@ export type Routes = {
81999
82174
  * @deprecated use offline_access_codes_enabled*/
82000
82175
  supports_offline_access_codes?: boolean | undefined
82001
82176
  /** Indicates current noise level in decibels, if the device supports noise detection. */
82002
- noise_level_decibels?: (number | null) | undefined
82177
+ noise_level_decibels?: number | undefined
82003
82178
  /** Array of noise threshold IDs that are currently triggering. */
82004
82179
  currently_triggering_noise_threshold_ids?: string[] | undefined
82005
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
82006
- noise_level_nrs?: (number | null) | undefined
82007
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
82008
- co2_ppm?: (number | null) | undefined
82009
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
82010
- co_ppm?: (number | null) | undefined
82011
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
82012
- air_quality_index?: (number | null) | undefined
82013
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
82014
- mold_risk_level?: (string | null) | undefined
82015
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
82016
- is_occupied?: (boolean | null) | undefined
82017
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
82018
- occupant_count?: (number | null) | undefined
82019
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
82020
- is_smoking_detected?: (boolean | null) | undefined
82021
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
82022
- named_sensors?:
82023
- | {
82024
- /** Stable, hardware-defined name of the sensor, such as a port number. */
82025
- sensor_name: string
82026
- /** Display name of the sensor. Defaults to `sensor_name`. */
82027
- display_name: string
82028
- /** Reported temperature in °C. `null` until the first value arrives. */
82029
- temperature_celsius?: (number | null) | undefined
82030
- /** Reported temperature in °F. `null` until the first value arrives. */
82031
- temperature_fahrenheit?: (number | null) | undefined
82032
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
82033
- relative_humidity?: (number | null) | undefined
82034
- /** Noise level in decibels. `null` until the first value arrives. */
82035
- noise_level_decibels?: (number | null) | undefined
82036
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
82037
- noise_level_nrs?: (number | null) | undefined
82038
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
82039
- co2_ppm?: (number | null) | undefined
82040
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
82041
- co_ppm?: (number | null) | undefined
82042
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
82043
- air_quality_index?: (number | null) | undefined
82044
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
82045
- mold_risk_level?: (string | null) | undefined
82046
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
82047
- is_occupied?: (boolean | null) | undefined
82048
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
82049
- occupant_count?: (number | null) | undefined
82050
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
82051
- is_smoking_detected?: (boolean | null) | undefined
82052
- }[]
82053
- | undefined
82054
82180
  } & {
82055
82181
  /** ASSA ABLOY Credential Service metadata for the phone. */
82056
82182
  assa_abloy_credential_service_metadata?:
@@ -82792,6 +82918,24 @@ export type Routes = {
82792
82918
  | undefined
82793
82919
  )
82794
82920
  | undefined
82921
+ /** Metadata for an Alertify sensor. */
82922
+ alertify_metadata?:
82923
+ | (
82924
+ | {
82925
+ /** Device ID reported by Alertify. */
82926
+ device_id?: (string | undefined) | undefined
82927
+ /** Device name, as set in the Alertify dashboard. */
82928
+ device_name?: (string | undefined) | undefined
82929
+ /** ID of the Alertify unit where the device is installed. */
82930
+ unit_id?: (string | undefined) | undefined
82931
+ /** Name of the Alertify unit where the device is installed. */
82932
+ unit_name?: (string | undefined) | undefined
82933
+ /** ID of the Alertify building that contains the unit. */
82934
+ building_id?: ((string | null) | undefined) | undefined
82935
+ }
82936
+ | undefined
82937
+ )
82938
+ | undefined
82795
82939
  /** Metadata for a UniFi Protect camera. */
82796
82940
  unifi_protect_metadata?:
82797
82941
  | (
@@ -83090,11 +83234,11 @@ export type Routes = {
83090
83234
  | undefined
83091
83235
  } & {
83092
83236
  /** Reported temperature in °F. */
83093
- temperature_fahrenheit?: (number | null) | undefined
83237
+ temperature_fahrenheit?: number | undefined
83094
83238
  /** Reported temperature in °C. */
83095
- temperature_celsius?: (number | null) | undefined
83239
+ temperature_celsius?: number | undefined
83096
83240
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
83097
- relative_humidity?: (number | null) | undefined
83241
+ relative_humidity?: number | undefined
83098
83242
  /** HVAC mode settings that the thermostat supports. */
83099
83243
  available_hvac_mode_settings?:
83100
83244
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -83907,6 +84051,63 @@ export type Routes = {
83907
84051
  image_url?: string | undefined
83908
84052
  }
83909
84053
  | undefined
84054
+ /** Temperature in °C, if the device measures temperature. */
84055
+ temperature_celsius?: number | undefined
84056
+ /** Temperature in °F, if the device measures temperature. */
84057
+ temperature_fahrenheit?: number | undefined
84058
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
84059
+ relative_humidity?: number | undefined
84060
+ /** Noise level in decibels, if the device measures noise. */
84061
+ noise_level_decibels?: number | undefined
84062
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
84063
+ noise_level_nrs?: number | undefined
84064
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
84065
+ co2_ppm?: number | undefined
84066
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
84067
+ co_ppm?: number | undefined
84068
+ /** Air quality index, if the device measures it. */
84069
+ air_quality_index?: number | undefined
84070
+ /** Mold risk level as reported by the device, if the device measures it. */
84071
+ mold_risk_level?: string | undefined
84072
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
84073
+ is_occupied?: boolean | undefined
84074
+ /** Number of occupants the device detects, if the device counts occupants. */
84075
+ occupant_count?: number | undefined
84076
+ /** Indicates whether the device detects smoking, if the device measures it. */
84077
+ is_smoking_detected?: boolean | undefined
84078
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
84079
+ named_sensors?:
84080
+ | {
84081
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
84082
+ sensor_name: string
84083
+ /** Display name of the sensor. Defaults to `sensor_name`. */
84084
+ display_name: string
84085
+ /** Temperature in °C, if the device measures temperature. */
84086
+ temperature_celsius?: number | undefined
84087
+ /** Temperature in °F, if the device measures temperature. */
84088
+ temperature_fahrenheit?: number | undefined
84089
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
84090
+ relative_humidity?: number | undefined
84091
+ /** Noise level in decibels, if the device measures noise. */
84092
+ noise_level_decibels?: number | undefined
84093
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
84094
+ noise_level_nrs?: number | undefined
84095
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
84096
+ co2_ppm?: number | undefined
84097
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
84098
+ co_ppm?: number | undefined
84099
+ /** Air quality index, if the device measures it. */
84100
+ air_quality_index?: number | undefined
84101
+ /** Mold risk level as reported by the device, if the device measures it. */
84102
+ mold_risk_level?: string | undefined
84103
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
84104
+ is_occupied?: boolean | undefined
84105
+ /** Number of occupants the device detects, if the device counts occupants. */
84106
+ occupant_count?: number | undefined
84107
+ /** Indicates whether the device detects smoking, if the device measures it. */
84108
+ is_smoking_detected?: boolean | undefined
84109
+ }[]
84110
+ | undefined
83910
84111
  /** Indicates whether the device supports remote unlocking. */
83911
84112
  can_remotely_unlock?: boolean | undefined
83912
84113
  /** Indicates whether the device supports remote locking. */
@@ -84030,6 +84231,7 @@ export type Routes = {
84030
84231
  | 'unifi_protect_camera'
84031
84232
  )
84032
84233
  | 'sonos_speaker'
84234
+ | 'alertify_sensor'
84033
84235
  /** IDs of the spaces the device is in. */
84034
84236
  space_ids: string[]
84035
84237
  /** Optional nickname to describe the device, settable through Seam. */
@@ -84138,58 +84340,9 @@ export type Routes = {
84138
84340
  * @deprecated use offline_access_codes_enabled*/
84139
84341
  supports_offline_access_codes?: boolean | undefined
84140
84342
  /** Indicates current noise level in decibels, if the device supports noise detection. */
84141
- noise_level_decibels?: (number | null) | undefined
84343
+ noise_level_decibels?: number | undefined
84142
84344
  /** Array of noise threshold IDs that are currently triggering. */
84143
84345
  currently_triggering_noise_threshold_ids?: string[] | undefined
84144
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
84145
- noise_level_nrs?: (number | null) | undefined
84146
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
84147
- co2_ppm?: (number | null) | undefined
84148
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
84149
- co_ppm?: (number | null) | undefined
84150
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
84151
- air_quality_index?: (number | null) | undefined
84152
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
84153
- mold_risk_level?: (string | null) | undefined
84154
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
84155
- is_occupied?: (boolean | null) | undefined
84156
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
84157
- occupant_count?: (number | null) | undefined
84158
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
84159
- is_smoking_detected?: (boolean | null) | undefined
84160
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
84161
- named_sensors?:
84162
- | {
84163
- /** Stable, hardware-defined name of the sensor, such as a port number. */
84164
- sensor_name: string
84165
- /** Display name of the sensor. Defaults to `sensor_name`. */
84166
- display_name: string
84167
- /** Reported temperature in °C. `null` until the first value arrives. */
84168
- temperature_celsius?: (number | null) | undefined
84169
- /** Reported temperature in °F. `null` until the first value arrives. */
84170
- temperature_fahrenheit?: (number | null) | undefined
84171
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
84172
- relative_humidity?: (number | null) | undefined
84173
- /** Noise level in decibels. `null` until the first value arrives. */
84174
- noise_level_decibels?: (number | null) | undefined
84175
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
84176
- noise_level_nrs?: (number | null) | undefined
84177
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
84178
- co2_ppm?: (number | null) | undefined
84179
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
84180
- co_ppm?: (number | null) | undefined
84181
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
84182
- air_quality_index?: (number | null) | undefined
84183
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
84184
- mold_risk_level?: (string | null) | undefined
84185
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
84186
- is_occupied?: (boolean | null) | undefined
84187
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
84188
- occupant_count?: (number | null) | undefined
84189
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
84190
- is_smoking_detected?: (boolean | null) | undefined
84191
- }[]
84192
- | undefined
84193
84346
  } & {
84194
84347
  /** ASSA ABLOY Credential Service metadata for the phone. */
84195
84348
  assa_abloy_credential_service_metadata?:
@@ -84931,6 +85084,24 @@ export type Routes = {
84931
85084
  | undefined
84932
85085
  )
84933
85086
  | undefined
85087
+ /** Metadata for an Alertify sensor. */
85088
+ alertify_metadata?:
85089
+ | (
85090
+ | {
85091
+ /** Device ID reported by Alertify. */
85092
+ device_id?: (string | undefined) | undefined
85093
+ /** Device name, as set in the Alertify dashboard. */
85094
+ device_name?: (string | undefined) | undefined
85095
+ /** ID of the Alertify unit where the device is installed. */
85096
+ unit_id?: (string | undefined) | undefined
85097
+ /** Name of the Alertify unit where the device is installed. */
85098
+ unit_name?: (string | undefined) | undefined
85099
+ /** ID of the Alertify building that contains the unit. */
85100
+ building_id?: ((string | null) | undefined) | undefined
85101
+ }
85102
+ | undefined
85103
+ )
85104
+ | undefined
84934
85105
  /** Metadata for a UniFi Protect camera. */
84935
85106
  unifi_protect_metadata?:
84936
85107
  | (
@@ -85229,11 +85400,11 @@ export type Routes = {
85229
85400
  | undefined
85230
85401
  } & {
85231
85402
  /** Reported temperature in °F. */
85232
- temperature_fahrenheit?: (number | null) | undefined
85403
+ temperature_fahrenheit?: number | undefined
85233
85404
  /** Reported temperature in °C. */
85234
- temperature_celsius?: (number | null) | undefined
85405
+ temperature_celsius?: number | undefined
85235
85406
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
85236
- relative_humidity?: (number | null) | undefined
85407
+ relative_humidity?: number | undefined
85237
85408
  /** HVAC mode settings that the thermostat supports. */
85238
85409
  available_hvac_mode_settings?:
85239
85410
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -86046,6 +86217,63 @@ export type Routes = {
86046
86217
  image_url?: string | undefined
86047
86218
  }
86048
86219
  | undefined
86220
+ /** Temperature in °C, if the device measures temperature. */
86221
+ temperature_celsius?: number | undefined
86222
+ /** Temperature in °F, if the device measures temperature. */
86223
+ temperature_fahrenheit?: number | undefined
86224
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
86225
+ relative_humidity?: number | undefined
86226
+ /** Noise level in decibels, if the device measures noise. */
86227
+ noise_level_decibels?: number | undefined
86228
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
86229
+ noise_level_nrs?: number | undefined
86230
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
86231
+ co2_ppm?: number | undefined
86232
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
86233
+ co_ppm?: number | undefined
86234
+ /** Air quality index, if the device measures it. */
86235
+ air_quality_index?: number | undefined
86236
+ /** Mold risk level as reported by the device, if the device measures it. */
86237
+ mold_risk_level?: string | undefined
86238
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
86239
+ is_occupied?: boolean | undefined
86240
+ /** Number of occupants the device detects, if the device counts occupants. */
86241
+ occupant_count?: number | undefined
86242
+ /** Indicates whether the device detects smoking, if the device measures it. */
86243
+ is_smoking_detected?: boolean | undefined
86244
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
86245
+ named_sensors?:
86246
+ | {
86247
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
86248
+ sensor_name: string
86249
+ /** Display name of the sensor. Defaults to `sensor_name`. */
86250
+ display_name: string
86251
+ /** Temperature in °C, if the device measures temperature. */
86252
+ temperature_celsius?: number | undefined
86253
+ /** Temperature in °F, if the device measures temperature. */
86254
+ temperature_fahrenheit?: number | undefined
86255
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
86256
+ relative_humidity?: number | undefined
86257
+ /** Noise level in decibels, if the device measures noise. */
86258
+ noise_level_decibels?: number | undefined
86259
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
86260
+ noise_level_nrs?: number | undefined
86261
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
86262
+ co2_ppm?: number | undefined
86263
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
86264
+ co_ppm?: number | undefined
86265
+ /** Air quality index, if the device measures it. */
86266
+ air_quality_index?: number | undefined
86267
+ /** Mold risk level as reported by the device, if the device measures it. */
86268
+ mold_risk_level?: string | undefined
86269
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
86270
+ is_occupied?: boolean | undefined
86271
+ /** Number of occupants the device detects, if the device counts occupants. */
86272
+ occupant_count?: number | undefined
86273
+ /** Indicates whether the device detects smoking, if the device measures it. */
86274
+ is_smoking_detected?: boolean | undefined
86275
+ }[]
86276
+ | undefined
86049
86277
  /** Indicates whether the device supports remote unlocking. */
86050
86278
  can_remotely_unlock?: boolean | undefined
86051
86279
  /** Indicates whether the device supports remote locking. */
@@ -96355,7 +96583,7 @@ export type Routes = {
96355
96583
  /** Device types of the noise sensors that you want to list. */
96356
96584
  device_types?: ('noiseaware_activity_zone' | 'minut_sensor')[] | undefined
96357
96585
  /** Manufacturers of the noise sensors that you want to list. */
96358
- manufacturer?: ('minut' | 'noiseaware') | undefined
96586
+ manufacturer?: ('minut' | 'noiseaware' | 'alertify') | undefined
96359
96587
  }
96360
96588
  formData: {}
96361
96589
  jsonResponse: {
@@ -96420,6 +96648,7 @@ export type Routes = {
96420
96648
  | 'unifi_protect_camera'
96421
96649
  )
96422
96650
  | 'sonos_speaker'
96651
+ | 'alertify_sensor'
96423
96652
  /** IDs of the spaces the device is in. */
96424
96653
  space_ids: string[]
96425
96654
  /** Optional nickname to describe the device, settable through Seam. */
@@ -96528,58 +96757,9 @@ export type Routes = {
96528
96757
  * @deprecated use offline_access_codes_enabled*/
96529
96758
  supports_offline_access_codes?: boolean | undefined
96530
96759
  /** Indicates current noise level in decibels, if the device supports noise detection. */
96531
- noise_level_decibels?: (number | null) | undefined
96760
+ noise_level_decibels?: number | undefined
96532
96761
  /** Array of noise threshold IDs that are currently triggering. */
96533
96762
  currently_triggering_noise_threshold_ids?: string[] | undefined
96534
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
96535
- noise_level_nrs?: (number | null) | undefined
96536
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
96537
- co2_ppm?: (number | null) | undefined
96538
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
96539
- co_ppm?: (number | null) | undefined
96540
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
96541
- air_quality_index?: (number | null) | undefined
96542
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
96543
- mold_risk_level?: (string | null) | undefined
96544
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
96545
- is_occupied?: (boolean | null) | undefined
96546
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
96547
- occupant_count?: (number | null) | undefined
96548
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
96549
- is_smoking_detected?: (boolean | null) | undefined
96550
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
96551
- named_sensors?:
96552
- | {
96553
- /** Stable, hardware-defined name of the sensor, such as a port number. */
96554
- sensor_name: string
96555
- /** Display name of the sensor. Defaults to `sensor_name`. */
96556
- display_name: string
96557
- /** Reported temperature in °C. `null` until the first value arrives. */
96558
- temperature_celsius?: (number | null) | undefined
96559
- /** Reported temperature in °F. `null` until the first value arrives. */
96560
- temperature_fahrenheit?: (number | null) | undefined
96561
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
96562
- relative_humidity?: (number | null) | undefined
96563
- /** Noise level in decibels. `null` until the first value arrives. */
96564
- noise_level_decibels?: (number | null) | undefined
96565
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
96566
- noise_level_nrs?: (number | null) | undefined
96567
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
96568
- co2_ppm?: (number | null) | undefined
96569
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
96570
- co_ppm?: (number | null) | undefined
96571
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
96572
- air_quality_index?: (number | null) | undefined
96573
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
96574
- mold_risk_level?: (string | null) | undefined
96575
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
96576
- is_occupied?: (boolean | null) | undefined
96577
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
96578
- occupant_count?: (number | null) | undefined
96579
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
96580
- is_smoking_detected?: (boolean | null) | undefined
96581
- }[]
96582
- | undefined
96583
96763
  } & {
96584
96764
  /** ASSA ABLOY Credential Service metadata for the phone. */
96585
96765
  assa_abloy_credential_service_metadata?:
@@ -97321,6 +97501,24 @@ export type Routes = {
97321
97501
  | undefined
97322
97502
  )
97323
97503
  | undefined
97504
+ /** Metadata for an Alertify sensor. */
97505
+ alertify_metadata?:
97506
+ | (
97507
+ | {
97508
+ /** Device ID reported by Alertify. */
97509
+ device_id?: (string | undefined) | undefined
97510
+ /** Device name, as set in the Alertify dashboard. */
97511
+ device_name?: (string | undefined) | undefined
97512
+ /** ID of the Alertify unit where the device is installed. */
97513
+ unit_id?: (string | undefined) | undefined
97514
+ /** Name of the Alertify unit where the device is installed. */
97515
+ unit_name?: (string | undefined) | undefined
97516
+ /** ID of the Alertify building that contains the unit. */
97517
+ building_id?: ((string | null) | undefined) | undefined
97518
+ }
97519
+ | undefined
97520
+ )
97521
+ | undefined
97324
97522
  /** Metadata for a UniFi Protect camera. */
97325
97523
  unifi_protect_metadata?:
97326
97524
  | (
@@ -97619,11 +97817,11 @@ export type Routes = {
97619
97817
  | undefined
97620
97818
  } & {
97621
97819
  /** Reported temperature in °F. */
97622
- temperature_fahrenheit?: (number | null) | undefined
97820
+ temperature_fahrenheit?: number | undefined
97623
97821
  /** Reported temperature in °C. */
97624
- temperature_celsius?: (number | null) | undefined
97822
+ temperature_celsius?: number | undefined
97625
97823
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
97626
- relative_humidity?: (number | null) | undefined
97824
+ relative_humidity?: number | undefined
97627
97825
  /** HVAC mode settings that the thermostat supports. */
97628
97826
  available_hvac_mode_settings?:
97629
97827
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -98436,6 +98634,63 @@ export type Routes = {
98436
98634
  image_url?: string | undefined
98437
98635
  }
98438
98636
  | undefined
98637
+ /** Temperature in °C, if the device measures temperature. */
98638
+ temperature_celsius?: number | undefined
98639
+ /** Temperature in °F, if the device measures temperature. */
98640
+ temperature_fahrenheit?: number | undefined
98641
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
98642
+ relative_humidity?: number | undefined
98643
+ /** Noise level in decibels, if the device measures noise. */
98644
+ noise_level_decibels?: number | undefined
98645
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
98646
+ noise_level_nrs?: number | undefined
98647
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
98648
+ co2_ppm?: number | undefined
98649
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
98650
+ co_ppm?: number | undefined
98651
+ /** Air quality index, if the device measures it. */
98652
+ air_quality_index?: number | undefined
98653
+ /** Mold risk level as reported by the device, if the device measures it. */
98654
+ mold_risk_level?: string | undefined
98655
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
98656
+ is_occupied?: boolean | undefined
98657
+ /** Number of occupants the device detects, if the device counts occupants. */
98658
+ occupant_count?: number | undefined
98659
+ /** Indicates whether the device detects smoking, if the device measures it. */
98660
+ is_smoking_detected?: boolean | undefined
98661
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
98662
+ named_sensors?:
98663
+ | {
98664
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
98665
+ sensor_name: string
98666
+ /** Display name of the sensor. Defaults to `sensor_name`. */
98667
+ display_name: string
98668
+ /** Temperature in °C, if the device measures temperature. */
98669
+ temperature_celsius?: number | undefined
98670
+ /** Temperature in °F, if the device measures temperature. */
98671
+ temperature_fahrenheit?: number | undefined
98672
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
98673
+ relative_humidity?: number | undefined
98674
+ /** Noise level in decibels, if the device measures noise. */
98675
+ noise_level_decibels?: number | undefined
98676
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
98677
+ noise_level_nrs?: number | undefined
98678
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
98679
+ co2_ppm?: number | undefined
98680
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
98681
+ co_ppm?: number | undefined
98682
+ /** Air quality index, if the device measures it. */
98683
+ air_quality_index?: number | undefined
98684
+ /** Mold risk level as reported by the device, if the device measures it. */
98685
+ mold_risk_level?: string | undefined
98686
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
98687
+ is_occupied?: boolean | undefined
98688
+ /** Number of occupants the device detects, if the device counts occupants. */
98689
+ occupant_count?: number | undefined
98690
+ /** Indicates whether the device detects smoking, if the device measures it. */
98691
+ is_smoking_detected?: boolean | undefined
98692
+ }[]
98693
+ | undefined
98439
98694
  /** Indicates whether the device supports remote unlocking. */
98440
98695
  can_remotely_unlock?: boolean | undefined
98441
98696
  /** Indicates whether the device supports remote locking. */
@@ -98559,6 +98814,7 @@ export type Routes = {
98559
98814
  | 'unifi_protect_camera'
98560
98815
  )
98561
98816
  | 'sonos_speaker'
98817
+ | 'alertify_sensor'
98562
98818
  /** IDs of the spaces the device is in. */
98563
98819
  space_ids: string[]
98564
98820
  /** Optional nickname to describe the device, settable through Seam. */
@@ -98667,58 +98923,9 @@ export type Routes = {
98667
98923
  * @deprecated use offline_access_codes_enabled*/
98668
98924
  supports_offline_access_codes?: boolean | undefined
98669
98925
  /** Indicates current noise level in decibels, if the device supports noise detection. */
98670
- noise_level_decibels?: (number | null) | undefined
98926
+ noise_level_decibels?: number | undefined
98671
98927
  /** Array of noise threshold IDs that are currently triggering. */
98672
98928
  currently_triggering_noise_threshold_ids?: string[] | undefined
98673
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
98674
- noise_level_nrs?: (number | null) | undefined
98675
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
98676
- co2_ppm?: (number | null) | undefined
98677
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
98678
- co_ppm?: (number | null) | undefined
98679
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
98680
- air_quality_index?: (number | null) | undefined
98681
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
98682
- mold_risk_level?: (string | null) | undefined
98683
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
98684
- is_occupied?: (boolean | null) | undefined
98685
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
98686
- occupant_count?: (number | null) | undefined
98687
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
98688
- is_smoking_detected?: (boolean | null) | undefined
98689
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
98690
- named_sensors?:
98691
- | {
98692
- /** Stable, hardware-defined name of the sensor, such as a port number. */
98693
- sensor_name: string
98694
- /** Display name of the sensor. Defaults to `sensor_name`. */
98695
- display_name: string
98696
- /** Reported temperature in °C. `null` until the first value arrives. */
98697
- temperature_celsius?: (number | null) | undefined
98698
- /** Reported temperature in °F. `null` until the first value arrives. */
98699
- temperature_fahrenheit?: (number | null) | undefined
98700
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
98701
- relative_humidity?: (number | null) | undefined
98702
- /** Noise level in decibels. `null` until the first value arrives. */
98703
- noise_level_decibels?: (number | null) | undefined
98704
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
98705
- noise_level_nrs?: (number | null) | undefined
98706
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
98707
- co2_ppm?: (number | null) | undefined
98708
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
98709
- co_ppm?: (number | null) | undefined
98710
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
98711
- air_quality_index?: (number | null) | undefined
98712
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
98713
- mold_risk_level?: (string | null) | undefined
98714
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
98715
- is_occupied?: (boolean | null) | undefined
98716
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
98717
- occupant_count?: (number | null) | undefined
98718
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
98719
- is_smoking_detected?: (boolean | null) | undefined
98720
- }[]
98721
- | undefined
98722
98929
  } & {
98723
98930
  /** ASSA ABLOY Credential Service metadata for the phone. */
98724
98931
  assa_abloy_credential_service_metadata?:
@@ -99460,6 +99667,24 @@ export type Routes = {
99460
99667
  | undefined
99461
99668
  )
99462
99669
  | undefined
99670
+ /** Metadata for an Alertify sensor. */
99671
+ alertify_metadata?:
99672
+ | (
99673
+ | {
99674
+ /** Device ID reported by Alertify. */
99675
+ device_id?: (string | undefined) | undefined
99676
+ /** Device name, as set in the Alertify dashboard. */
99677
+ device_name?: (string | undefined) | undefined
99678
+ /** ID of the Alertify unit where the device is installed. */
99679
+ unit_id?: (string | undefined) | undefined
99680
+ /** Name of the Alertify unit where the device is installed. */
99681
+ unit_name?: (string | undefined) | undefined
99682
+ /** ID of the Alertify building that contains the unit. */
99683
+ building_id?: ((string | null) | undefined) | undefined
99684
+ }
99685
+ | undefined
99686
+ )
99687
+ | undefined
99463
99688
  /** Metadata for a UniFi Protect camera. */
99464
99689
  unifi_protect_metadata?:
99465
99690
  | (
@@ -99758,11 +99983,11 @@ export type Routes = {
99758
99983
  | undefined
99759
99984
  } & {
99760
99985
  /** Reported temperature in °F. */
99761
- temperature_fahrenheit?: (number | null) | undefined
99986
+ temperature_fahrenheit?: number | undefined
99762
99987
  /** Reported temperature in °C. */
99763
- temperature_celsius?: (number | null) | undefined
99988
+ temperature_celsius?: number | undefined
99764
99989
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
99765
- relative_humidity?: (number | null) | undefined
99990
+ relative_humidity?: number | undefined
99766
99991
  /** HVAC mode settings that the thermostat supports. */
99767
99992
  available_hvac_mode_settings?:
99768
99993
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -100575,6 +100800,63 @@ export type Routes = {
100575
100800
  image_url?: string | undefined
100576
100801
  }
100577
100802
  | undefined
100803
+ /** Temperature in °C, if the device measures temperature. */
100804
+ temperature_celsius?: number | undefined
100805
+ /** Temperature in °F, if the device measures temperature. */
100806
+ temperature_fahrenheit?: number | undefined
100807
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
100808
+ relative_humidity?: number | undefined
100809
+ /** Noise level in decibels, if the device measures noise. */
100810
+ noise_level_decibels?: number | undefined
100811
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
100812
+ noise_level_nrs?: number | undefined
100813
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
100814
+ co2_ppm?: number | undefined
100815
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
100816
+ co_ppm?: number | undefined
100817
+ /** Air quality index, if the device measures it. */
100818
+ air_quality_index?: number | undefined
100819
+ /** Mold risk level as reported by the device, if the device measures it. */
100820
+ mold_risk_level?: string | undefined
100821
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
100822
+ is_occupied?: boolean | undefined
100823
+ /** Number of occupants the device detects, if the device counts occupants. */
100824
+ occupant_count?: number | undefined
100825
+ /** Indicates whether the device detects smoking, if the device measures it. */
100826
+ is_smoking_detected?: boolean | undefined
100827
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
100828
+ named_sensors?:
100829
+ | {
100830
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
100831
+ sensor_name: string
100832
+ /** Display name of the sensor. Defaults to `sensor_name`. */
100833
+ display_name: string
100834
+ /** Temperature in °C, if the device measures temperature. */
100835
+ temperature_celsius?: number | undefined
100836
+ /** Temperature in °F, if the device measures temperature. */
100837
+ temperature_fahrenheit?: number | undefined
100838
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
100839
+ relative_humidity?: number | undefined
100840
+ /** Noise level in decibels, if the device measures noise. */
100841
+ noise_level_decibels?: number | undefined
100842
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
100843
+ noise_level_nrs?: number | undefined
100844
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
100845
+ co2_ppm?: number | undefined
100846
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
100847
+ co_ppm?: number | undefined
100848
+ /** Air quality index, if the device measures it. */
100849
+ air_quality_index?: number | undefined
100850
+ /** Mold risk level as reported by the device, if the device measures it. */
100851
+ mold_risk_level?: string | undefined
100852
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
100853
+ is_occupied?: boolean | undefined
100854
+ /** Number of occupants the device detects, if the device counts occupants. */
100855
+ occupant_count?: number | undefined
100856
+ /** Indicates whether the device detects smoking, if the device measures it. */
100857
+ is_smoking_detected?: boolean | undefined
100858
+ }[]
100859
+ | undefined
100578
100860
  /** Indicates whether the device supports remote unlocking. */
100579
100861
  can_remotely_unlock?: boolean | undefined
100580
100862
  /** Indicates whether the device supports remote locking. */
@@ -128303,6 +128585,7 @@ export type Routes = {
128303
128585
  | 'unifi_protect_camera'
128304
128586
  )
128305
128587
  | 'sonos_speaker'
128588
+ | 'alertify_sensor'
128306
128589
  /** IDs of the spaces the device is in. */
128307
128590
  space_ids: string[]
128308
128591
  /** Optional nickname to describe the device, settable through Seam. */
@@ -128411,58 +128694,9 @@ export type Routes = {
128411
128694
  * @deprecated use offline_access_codes_enabled*/
128412
128695
  supports_offline_access_codes?: boolean | undefined
128413
128696
  /** Indicates current noise level in decibels, if the device supports noise detection. */
128414
- noise_level_decibels?: (number | null) | undefined
128697
+ noise_level_decibels?: number | undefined
128415
128698
  /** Array of noise threshold IDs that are currently triggering. */
128416
128699
  currently_triggering_noise_threshold_ids?: string[] | undefined
128417
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
128418
- noise_level_nrs?: (number | null) | undefined
128419
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
128420
- co2_ppm?: (number | null) | undefined
128421
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
128422
- co_ppm?: (number | null) | undefined
128423
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
128424
- air_quality_index?: (number | null) | undefined
128425
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
128426
- mold_risk_level?: (string | null) | undefined
128427
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
128428
- is_occupied?: (boolean | null) | undefined
128429
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
128430
- occupant_count?: (number | null) | undefined
128431
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
128432
- is_smoking_detected?: (boolean | null) | undefined
128433
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
128434
- named_sensors?:
128435
- | {
128436
- /** Stable, hardware-defined name of the sensor, such as a port number. */
128437
- sensor_name: string
128438
- /** Display name of the sensor. Defaults to `sensor_name`. */
128439
- display_name: string
128440
- /** Reported temperature in °C. `null` until the first value arrives. */
128441
- temperature_celsius?: (number | null) | undefined
128442
- /** Reported temperature in °F. `null` until the first value arrives. */
128443
- temperature_fahrenheit?: (number | null) | undefined
128444
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
128445
- relative_humidity?: (number | null) | undefined
128446
- /** Noise level in decibels. `null` until the first value arrives. */
128447
- noise_level_decibels?: (number | null) | undefined
128448
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
128449
- noise_level_nrs?: (number | null) | undefined
128450
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
128451
- co2_ppm?: (number | null) | undefined
128452
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
128453
- co_ppm?: (number | null) | undefined
128454
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
128455
- air_quality_index?: (number | null) | undefined
128456
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
128457
- mold_risk_level?: (string | null) | undefined
128458
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
128459
- is_occupied?: (boolean | null) | undefined
128460
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
128461
- occupant_count?: (number | null) | undefined
128462
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
128463
- is_smoking_detected?: (boolean | null) | undefined
128464
- }[]
128465
- | undefined
128466
128700
  } & {
128467
128701
  /** ASSA ABLOY Credential Service metadata for the phone. */
128468
128702
  assa_abloy_credential_service_metadata?:
@@ -129229,6 +129463,25 @@ export type Routes = {
129229
129463
  | undefined
129230
129464
  )
129231
129465
  | undefined
129466
+ /** Metadata for an Alertify sensor. */
129467
+ alertify_metadata?:
129468
+ | (
129469
+ | {
129470
+ /** Device ID reported by Alertify. */
129471
+ device_id?: (string | undefined) | undefined
129472
+ /** Device name, as set in the Alertify dashboard. */
129473
+ device_name?: (string | undefined) | undefined
129474
+ /** ID of the Alertify unit where the device is installed. */
129475
+ unit_id?: (string | undefined) | undefined
129476
+ /** Name of the Alertify unit where the device is installed. */
129477
+ unit_name?: (string | undefined) | undefined
129478
+ /** ID of the Alertify building that contains the unit. */
129479
+ building_id?:
129480
+ ((string | null) | undefined) | undefined
129481
+ }
129482
+ | undefined
129483
+ )
129484
+ | undefined
129232
129485
  /** Metadata for a UniFi Protect camera. */
129233
129486
  unifi_protect_metadata?:
129234
129487
  | (
@@ -129536,11 +129789,11 @@ export type Routes = {
129536
129789
  | undefined
129537
129790
  } & {
129538
129791
  /** Reported temperature in °F. */
129539
- temperature_fahrenheit?: (number | null) | undefined
129792
+ temperature_fahrenheit?: number | undefined
129540
129793
  /** Reported temperature in °C. */
129541
- temperature_celsius?: (number | null) | undefined
129794
+ temperature_celsius?: number | undefined
129542
129795
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
129543
- relative_humidity?: (number | null) | undefined
129796
+ relative_humidity?: number | undefined
129544
129797
  /** HVAC mode settings that the thermostat supports. */
129545
129798
  available_hvac_mode_settings?:
129546
129799
  | ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[]
@@ -130375,6 +130628,63 @@ export type Routes = {
130375
130628
  image_url?: string | undefined
130376
130629
  }
130377
130630
  | undefined
130631
+ /** Temperature in °C, if the device measures temperature. */
130632
+ temperature_celsius?: number | undefined
130633
+ /** Temperature in °F, if the device measures temperature. */
130634
+ temperature_fahrenheit?: number | undefined
130635
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
130636
+ relative_humidity?: number | undefined
130637
+ /** Noise level in decibels, if the device measures noise. */
130638
+ noise_level_decibels?: number | undefined
130639
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
130640
+ noise_level_nrs?: number | undefined
130641
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
130642
+ co2_ppm?: number | undefined
130643
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
130644
+ co_ppm?: number | undefined
130645
+ /** Air quality index, if the device measures it. */
130646
+ air_quality_index?: number | undefined
130647
+ /** Mold risk level as reported by the device, if the device measures it. */
130648
+ mold_risk_level?: string | undefined
130649
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
130650
+ is_occupied?: boolean | undefined
130651
+ /** Number of occupants the device detects, if the device counts occupants. */
130652
+ occupant_count?: number | undefined
130653
+ /** Indicates whether the device detects smoking, if the device measures it. */
130654
+ is_smoking_detected?: boolean | undefined
130655
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
130656
+ named_sensors?:
130657
+ | {
130658
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
130659
+ sensor_name: string
130660
+ /** Display name of the sensor. Defaults to `sensor_name`. */
130661
+ display_name: string
130662
+ /** Temperature in °C, if the device measures temperature. */
130663
+ temperature_celsius?: number | undefined
130664
+ /** Temperature in °F, if the device measures temperature. */
130665
+ temperature_fahrenheit?: number | undefined
130666
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
130667
+ relative_humidity?: number | undefined
130668
+ /** Noise level in decibels, if the device measures noise. */
130669
+ noise_level_decibels?: number | undefined
130670
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
130671
+ noise_level_nrs?: number | undefined
130672
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
130673
+ co2_ppm?: number | undefined
130674
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
130675
+ co_ppm?: number | undefined
130676
+ /** Air quality index, if the device measures it. */
130677
+ air_quality_index?: number | undefined
130678
+ /** Mold risk level as reported by the device, if the device measures it. */
130679
+ mold_risk_level?: string | undefined
130680
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
130681
+ is_occupied?: boolean | undefined
130682
+ /** Number of occupants the device detects, if the device counts occupants. */
130683
+ occupant_count?: number | undefined
130684
+ /** Indicates whether the device detects smoking, if the device measures it. */
130685
+ is_smoking_detected?: boolean | undefined
130686
+ }[]
130687
+ | undefined
130378
130688
  /** Indicates whether the device supports remote unlocking. */
130379
130689
  can_remotely_unlock?: boolean | undefined
130380
130690
  /** Indicates whether the device supports remote locking. */
@@ -162399,6 +162709,7 @@ export type Routes = {
162399
162709
  | 'unifi_protect_camera'
162400
162710
  )
162401
162711
  | 'sonos_speaker'
162712
+ | 'alertify_sensor'
162402
162713
  /** IDs of the spaces the device is in. */
162403
162714
  space_ids: string[]
162404
162715
  /** Optional nickname to describe the device, settable through Seam. */
@@ -162507,58 +162818,9 @@ export type Routes = {
162507
162818
  * @deprecated use offline_access_codes_enabled*/
162508
162819
  supports_offline_access_codes?: boolean | undefined
162509
162820
  /** Indicates current noise level in decibels, if the device supports noise detection. */
162510
- noise_level_decibels?: (number | null) | undefined
162821
+ noise_level_decibels?: number | undefined
162511
162822
  /** Array of noise threshold IDs that are currently triggering. */
162512
162823
  currently_triggering_noise_threshold_ids?: string[] | undefined
162513
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
162514
- noise_level_nrs?: (number | null) | undefined
162515
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
162516
- co2_ppm?: (number | null) | undefined
162517
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
162518
- co_ppm?: (number | null) | undefined
162519
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
162520
- air_quality_index?: (number | null) | undefined
162521
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
162522
- mold_risk_level?: (string | null) | undefined
162523
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
162524
- is_occupied?: (boolean | null) | undefined
162525
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
162526
- occupant_count?: (number | null) | undefined
162527
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
162528
- is_smoking_detected?: (boolean | null) | undefined
162529
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
162530
- named_sensors?:
162531
- | {
162532
- /** Stable, hardware-defined name of the sensor, such as a port number. */
162533
- sensor_name: string
162534
- /** Display name of the sensor. Defaults to `sensor_name`. */
162535
- display_name: string
162536
- /** Reported temperature in °C. `null` until the first value arrives. */
162537
- temperature_celsius?: (number | null) | undefined
162538
- /** Reported temperature in °F. `null` until the first value arrives. */
162539
- temperature_fahrenheit?: (number | null) | undefined
162540
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
162541
- relative_humidity?: (number | null) | undefined
162542
- /** Noise level in decibels. `null` until the first value arrives. */
162543
- noise_level_decibels?: (number | null) | undefined
162544
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
162545
- noise_level_nrs?: (number | null) | undefined
162546
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
162547
- co2_ppm?: (number | null) | undefined
162548
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
162549
- co_ppm?: (number | null) | undefined
162550
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
162551
- air_quality_index?: (number | null) | undefined
162552
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
162553
- mold_risk_level?: (string | null) | undefined
162554
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
162555
- is_occupied?: (boolean | null) | undefined
162556
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
162557
- occupant_count?: (number | null) | undefined
162558
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
162559
- is_smoking_detected?: (boolean | null) | undefined
162560
- }[]
162561
- | undefined
162562
162824
  } & {
162563
162825
  /** ASSA ABLOY Credential Service metadata for the phone. */
162564
162826
  assa_abloy_credential_service_metadata?:
@@ -163300,6 +163562,24 @@ export type Routes = {
163300
163562
  | undefined
163301
163563
  )
163302
163564
  | undefined
163565
+ /** Metadata for an Alertify sensor. */
163566
+ alertify_metadata?:
163567
+ | (
163568
+ | {
163569
+ /** Device ID reported by Alertify. */
163570
+ device_id?: (string | undefined) | undefined
163571
+ /** Device name, as set in the Alertify dashboard. */
163572
+ device_name?: (string | undefined) | undefined
163573
+ /** ID of the Alertify unit where the device is installed. */
163574
+ unit_id?: (string | undefined) | undefined
163575
+ /** Name of the Alertify unit where the device is installed. */
163576
+ unit_name?: (string | undefined) | undefined
163577
+ /** ID of the Alertify building that contains the unit. */
163578
+ building_id?: ((string | null) | undefined) | undefined
163579
+ }
163580
+ | undefined
163581
+ )
163582
+ | undefined
163303
163583
  /** Metadata for a UniFi Protect camera. */
163304
163584
  unifi_protect_metadata?:
163305
163585
  | (
@@ -163598,11 +163878,11 @@ export type Routes = {
163598
163878
  | undefined
163599
163879
  } & {
163600
163880
  /** Reported temperature in °F. */
163601
- temperature_fahrenheit?: (number | null) | undefined
163881
+ temperature_fahrenheit?: number | undefined
163602
163882
  /** Reported temperature in °C. */
163603
- temperature_celsius?: (number | null) | undefined
163883
+ temperature_celsius?: number | undefined
163604
163884
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
163605
- relative_humidity?: (number | null) | undefined
163885
+ relative_humidity?: number | undefined
163606
163886
  /** HVAC mode settings that the thermostat supports. */
163607
163887
  available_hvac_mode_settings?:
163608
163888
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -164415,6 +164695,63 @@ export type Routes = {
164415
164695
  image_url?: string | undefined
164416
164696
  }
164417
164697
  | undefined
164698
+ /** Temperature in °C, if the device measures temperature. */
164699
+ temperature_celsius?: number | undefined
164700
+ /** Temperature in °F, if the device measures temperature. */
164701
+ temperature_fahrenheit?: number | undefined
164702
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
164703
+ relative_humidity?: number | undefined
164704
+ /** Noise level in decibels, if the device measures noise. */
164705
+ noise_level_decibels?: number | undefined
164706
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
164707
+ noise_level_nrs?: number | undefined
164708
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
164709
+ co2_ppm?: number | undefined
164710
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
164711
+ co_ppm?: number | undefined
164712
+ /** Air quality index, if the device measures it. */
164713
+ air_quality_index?: number | undefined
164714
+ /** Mold risk level as reported by the device, if the device measures it. */
164715
+ mold_risk_level?: string | undefined
164716
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
164717
+ is_occupied?: boolean | undefined
164718
+ /** Number of occupants the device detects, if the device counts occupants. */
164719
+ occupant_count?: number | undefined
164720
+ /** Indicates whether the device detects smoking, if the device measures it. */
164721
+ is_smoking_detected?: boolean | undefined
164722
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
164723
+ named_sensors?:
164724
+ | {
164725
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
164726
+ sensor_name: string
164727
+ /** Display name of the sensor. Defaults to `sensor_name`. */
164728
+ display_name: string
164729
+ /** Temperature in °C, if the device measures temperature. */
164730
+ temperature_celsius?: number | undefined
164731
+ /** Temperature in °F, if the device measures temperature. */
164732
+ temperature_fahrenheit?: number | undefined
164733
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
164734
+ relative_humidity?: number | undefined
164735
+ /** Noise level in decibels, if the device measures noise. */
164736
+ noise_level_decibels?: number | undefined
164737
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
164738
+ noise_level_nrs?: number | undefined
164739
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
164740
+ co2_ppm?: number | undefined
164741
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
164742
+ co_ppm?: number | undefined
164743
+ /** Air quality index, if the device measures it. */
164744
+ air_quality_index?: number | undefined
164745
+ /** Mold risk level as reported by the device, if the device measures it. */
164746
+ mold_risk_level?: string | undefined
164747
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
164748
+ is_occupied?: boolean | undefined
164749
+ /** Number of occupants the device detects, if the device counts occupants. */
164750
+ occupant_count?: number | undefined
164751
+ /** Indicates whether the device detects smoking, if the device measures it. */
164752
+ is_smoking_detected?: boolean | undefined
164753
+ }[]
164754
+ | undefined
164418
164755
  /** Indicates whether the device supports remote unlocking. */
164419
164756
  can_remotely_unlock?: boolean | undefined
164420
164757
  /** Indicates whether the device supports remote locking. */
@@ -169695,6 +170032,7 @@ export type Routes = {
169695
170032
  | 'unifi_protect_camera'
169696
170033
  )
169697
170034
  | 'sonos_speaker'
170035
+ | 'alertify_sensor'
169698
170036
  /** IDs of the spaces the device is in. */
169699
170037
  space_ids: string[]
169700
170038
  /** Optional nickname to describe the device, settable through Seam. */
@@ -169803,58 +170141,9 @@ export type Routes = {
169803
170141
  * @deprecated use offline_access_codes_enabled*/
169804
170142
  supports_offline_access_codes?: boolean | undefined
169805
170143
  /** Indicates current noise level in decibels, if the device supports noise detection. */
169806
- noise_level_decibels?: (number | null) | undefined
170144
+ noise_level_decibels?: number | undefined
169807
170145
  /** Array of noise threshold IDs that are currently triggering. */
169808
170146
  currently_triggering_noise_threshold_ids?: string[] | undefined
169809
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
169810
- noise_level_nrs?: (number | null) | undefined
169811
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
169812
- co2_ppm?: (number | null) | undefined
169813
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
169814
- co_ppm?: (number | null) | undefined
169815
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
169816
- air_quality_index?: (number | null) | undefined
169817
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
169818
- mold_risk_level?: (string | null) | undefined
169819
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
169820
- is_occupied?: (boolean | null) | undefined
169821
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
169822
- occupant_count?: (number | null) | undefined
169823
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
169824
- is_smoking_detected?: (boolean | null) | undefined
169825
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
169826
- named_sensors?:
169827
- | {
169828
- /** Stable, hardware-defined name of the sensor, such as a port number. */
169829
- sensor_name: string
169830
- /** Display name of the sensor. Defaults to `sensor_name`. */
169831
- display_name: string
169832
- /** Reported temperature in °C. `null` until the first value arrives. */
169833
- temperature_celsius?: (number | null) | undefined
169834
- /** Reported temperature in °F. `null` until the first value arrives. */
169835
- temperature_fahrenheit?: (number | null) | undefined
169836
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
169837
- relative_humidity?: (number | null) | undefined
169838
- /** Noise level in decibels. `null` until the first value arrives. */
169839
- noise_level_decibels?: (number | null) | undefined
169840
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
169841
- noise_level_nrs?: (number | null) | undefined
169842
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
169843
- co2_ppm?: (number | null) | undefined
169844
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
169845
- co_ppm?: (number | null) | undefined
169846
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
169847
- air_quality_index?: (number | null) | undefined
169848
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
169849
- mold_risk_level?: (string | null) | undefined
169850
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
169851
- is_occupied?: (boolean | null) | undefined
169852
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
169853
- occupant_count?: (number | null) | undefined
169854
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
169855
- is_smoking_detected?: (boolean | null) | undefined
169856
- }[]
169857
- | undefined
169858
170147
  } & {
169859
170148
  /** ASSA ABLOY Credential Service metadata for the phone. */
169860
170149
  assa_abloy_credential_service_metadata?:
@@ -170596,6 +170885,24 @@ export type Routes = {
170596
170885
  | undefined
170597
170886
  )
170598
170887
  | undefined
170888
+ /** Metadata for an Alertify sensor. */
170889
+ alertify_metadata?:
170890
+ | (
170891
+ | {
170892
+ /** Device ID reported by Alertify. */
170893
+ device_id?: (string | undefined) | undefined
170894
+ /** Device name, as set in the Alertify dashboard. */
170895
+ device_name?: (string | undefined) | undefined
170896
+ /** ID of the Alertify unit where the device is installed. */
170897
+ unit_id?: (string | undefined) | undefined
170898
+ /** Name of the Alertify unit where the device is installed. */
170899
+ unit_name?: (string | undefined) | undefined
170900
+ /** ID of the Alertify building that contains the unit. */
170901
+ building_id?: ((string | null) | undefined) | undefined
170902
+ }
170903
+ | undefined
170904
+ )
170905
+ | undefined
170599
170906
  /** Metadata for a UniFi Protect camera. */
170600
170907
  unifi_protect_metadata?:
170601
170908
  | (
@@ -170894,11 +171201,11 @@ export type Routes = {
170894
171201
  | undefined
170895
171202
  } & {
170896
171203
  /** Reported temperature in °F. */
170897
- temperature_fahrenheit?: (number | null) | undefined
171204
+ temperature_fahrenheit?: number | undefined
170898
171205
  /** Reported temperature in °C. */
170899
- temperature_celsius?: (number | null) | undefined
171206
+ temperature_celsius?: number | undefined
170900
171207
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
170901
- relative_humidity?: (number | null) | undefined
171208
+ relative_humidity?: number | undefined
170902
171209
  /** HVAC mode settings that the thermostat supports. */
170903
171210
  available_hvac_mode_settings?:
170904
171211
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -171711,6 +172018,63 @@ export type Routes = {
171711
172018
  image_url?: string | undefined
171712
172019
  }
171713
172020
  | undefined
172021
+ /** Temperature in °C, if the device measures temperature. */
172022
+ temperature_celsius?: number | undefined
172023
+ /** Temperature in °F, if the device measures temperature. */
172024
+ temperature_fahrenheit?: number | undefined
172025
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
172026
+ relative_humidity?: number | undefined
172027
+ /** Noise level in decibels, if the device measures noise. */
172028
+ noise_level_decibels?: number | undefined
172029
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
172030
+ noise_level_nrs?: number | undefined
172031
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
172032
+ co2_ppm?: number | undefined
172033
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
172034
+ co_ppm?: number | undefined
172035
+ /** Air quality index, if the device measures it. */
172036
+ air_quality_index?: number | undefined
172037
+ /** Mold risk level as reported by the device, if the device measures it. */
172038
+ mold_risk_level?: string | undefined
172039
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
172040
+ is_occupied?: boolean | undefined
172041
+ /** Number of occupants the device detects, if the device counts occupants. */
172042
+ occupant_count?: number | undefined
172043
+ /** Indicates whether the device detects smoking, if the device measures it. */
172044
+ is_smoking_detected?: boolean | undefined
172045
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
172046
+ named_sensors?:
172047
+ | {
172048
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
172049
+ sensor_name: string
172050
+ /** Display name of the sensor. Defaults to `sensor_name`. */
172051
+ display_name: string
172052
+ /** Temperature in °C, if the device measures temperature. */
172053
+ temperature_celsius?: number | undefined
172054
+ /** Temperature in °F, if the device measures temperature. */
172055
+ temperature_fahrenheit?: number | undefined
172056
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
172057
+ relative_humidity?: number | undefined
172058
+ /** Noise level in decibels, if the device measures noise. */
172059
+ noise_level_decibels?: number | undefined
172060
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
172061
+ noise_level_nrs?: number | undefined
172062
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
172063
+ co2_ppm?: number | undefined
172064
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
172065
+ co_ppm?: number | undefined
172066
+ /** Air quality index, if the device measures it. */
172067
+ air_quality_index?: number | undefined
172068
+ /** Mold risk level as reported by the device, if the device measures it. */
172069
+ mold_risk_level?: string | undefined
172070
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
172071
+ is_occupied?: boolean | undefined
172072
+ /** Number of occupants the device detects, if the device counts occupants. */
172073
+ occupant_count?: number | undefined
172074
+ /** Indicates whether the device detects smoking, if the device measures it. */
172075
+ is_smoking_detected?: boolean | undefined
172076
+ }[]
172077
+ | undefined
171714
172078
  /** Indicates whether the device supports remote unlocking. */
171715
172079
  can_remotely_unlock?: boolean | undefined
171716
172080
  /** Indicates whether the device supports remote locking. */
@@ -171834,6 +172198,7 @@ export type Routes = {
171834
172198
  | 'unifi_protect_camera'
171835
172199
  )
171836
172200
  | 'sonos_speaker'
172201
+ | 'alertify_sensor'
171837
172202
  /** IDs of the spaces the device is in. */
171838
172203
  space_ids: string[]
171839
172204
  /** Optional nickname to describe the device, settable through Seam. */
@@ -171942,58 +172307,9 @@ export type Routes = {
171942
172307
  * @deprecated use offline_access_codes_enabled*/
171943
172308
  supports_offline_access_codes?: boolean | undefined
171944
172309
  /** Indicates current noise level in decibels, if the device supports noise detection. */
171945
- noise_level_decibels?: (number | null) | undefined
172310
+ noise_level_decibels?: number | undefined
171946
172311
  /** Array of noise threshold IDs that are currently triggering. */
171947
172312
  currently_triggering_noise_threshold_ids?: string[] | undefined
171948
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
171949
- noise_level_nrs?: (number | null) | undefined
171950
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
171951
- co2_ppm?: (number | null) | undefined
171952
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
171953
- co_ppm?: (number | null) | undefined
171954
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
171955
- air_quality_index?: (number | null) | undefined
171956
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
171957
- mold_risk_level?: (string | null) | undefined
171958
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
171959
- is_occupied?: (boolean | null) | undefined
171960
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
171961
- occupant_count?: (number | null) | undefined
171962
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
171963
- is_smoking_detected?: (boolean | null) | undefined
171964
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
171965
- named_sensors?:
171966
- | {
171967
- /** Stable, hardware-defined name of the sensor, such as a port number. */
171968
- sensor_name: string
171969
- /** Display name of the sensor. Defaults to `sensor_name`. */
171970
- display_name: string
171971
- /** Reported temperature in °C. `null` until the first value arrives. */
171972
- temperature_celsius?: (number | null) | undefined
171973
- /** Reported temperature in °F. `null` until the first value arrives. */
171974
- temperature_fahrenheit?: (number | null) | undefined
171975
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
171976
- relative_humidity?: (number | null) | undefined
171977
- /** Noise level in decibels. `null` until the first value arrives. */
171978
- noise_level_decibels?: (number | null) | undefined
171979
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
171980
- noise_level_nrs?: (number | null) | undefined
171981
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
171982
- co2_ppm?: (number | null) | undefined
171983
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
171984
- co_ppm?: (number | null) | undefined
171985
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
171986
- air_quality_index?: (number | null) | undefined
171987
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
171988
- mold_risk_level?: (string | null) | undefined
171989
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
171990
- is_occupied?: (boolean | null) | undefined
171991
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
171992
- occupant_count?: (number | null) | undefined
171993
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
171994
- is_smoking_detected?: (boolean | null) | undefined
171995
- }[]
171996
- | undefined
171997
172313
  } & {
171998
172314
  /** ASSA ABLOY Credential Service metadata for the phone. */
171999
172315
  assa_abloy_credential_service_metadata?:
@@ -172735,6 +173051,24 @@ export type Routes = {
172735
173051
  | undefined
172736
173052
  )
172737
173053
  | undefined
173054
+ /** Metadata for an Alertify sensor. */
173055
+ alertify_metadata?:
173056
+ | (
173057
+ | {
173058
+ /** Device ID reported by Alertify. */
173059
+ device_id?: (string | undefined) | undefined
173060
+ /** Device name, as set in the Alertify dashboard. */
173061
+ device_name?: (string | undefined) | undefined
173062
+ /** ID of the Alertify unit where the device is installed. */
173063
+ unit_id?: (string | undefined) | undefined
173064
+ /** Name of the Alertify unit where the device is installed. */
173065
+ unit_name?: (string | undefined) | undefined
173066
+ /** ID of the Alertify building that contains the unit. */
173067
+ building_id?: ((string | null) | undefined) | undefined
173068
+ }
173069
+ | undefined
173070
+ )
173071
+ | undefined
172738
173072
  /** Metadata for a UniFi Protect camera. */
172739
173073
  unifi_protect_metadata?:
172740
173074
  | (
@@ -173033,11 +173367,11 @@ export type Routes = {
173033
173367
  | undefined
173034
173368
  } & {
173035
173369
  /** Reported temperature in °F. */
173036
- temperature_fahrenheit?: (number | null) | undefined
173370
+ temperature_fahrenheit?: number | undefined
173037
173371
  /** Reported temperature in °C. */
173038
- temperature_celsius?: (number | null) | undefined
173372
+ temperature_celsius?: number | undefined
173039
173373
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
173040
- relative_humidity?: (number | null) | undefined
173374
+ relative_humidity?: number | undefined
173041
173375
  /** HVAC mode settings that the thermostat supports. */
173042
173376
  available_hvac_mode_settings?:
173043
173377
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -173850,6 +174184,63 @@ export type Routes = {
173850
174184
  image_url?: string | undefined
173851
174185
  }
173852
174186
  | undefined
174187
+ /** Temperature in °C, if the device measures temperature. */
174188
+ temperature_celsius?: number | undefined
174189
+ /** Temperature in °F, if the device measures temperature. */
174190
+ temperature_fahrenheit?: number | undefined
174191
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
174192
+ relative_humidity?: number | undefined
174193
+ /** Noise level in decibels, if the device measures noise. */
174194
+ noise_level_decibels?: number | undefined
174195
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
174196
+ noise_level_nrs?: number | undefined
174197
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
174198
+ co2_ppm?: number | undefined
174199
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
174200
+ co_ppm?: number | undefined
174201
+ /** Air quality index, if the device measures it. */
174202
+ air_quality_index?: number | undefined
174203
+ /** Mold risk level as reported by the device, if the device measures it. */
174204
+ mold_risk_level?: string | undefined
174205
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
174206
+ is_occupied?: boolean | undefined
174207
+ /** Number of occupants the device detects, if the device counts occupants. */
174208
+ occupant_count?: number | undefined
174209
+ /** Indicates whether the device detects smoking, if the device measures it. */
174210
+ is_smoking_detected?: boolean | undefined
174211
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
174212
+ named_sensors?:
174213
+ | {
174214
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
174215
+ sensor_name: string
174216
+ /** Display name of the sensor. Defaults to `sensor_name`. */
174217
+ display_name: string
174218
+ /** Temperature in °C, if the device measures temperature. */
174219
+ temperature_celsius?: number | undefined
174220
+ /** Temperature in °F, if the device measures temperature. */
174221
+ temperature_fahrenheit?: number | undefined
174222
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
174223
+ relative_humidity?: number | undefined
174224
+ /** Noise level in decibels, if the device measures noise. */
174225
+ noise_level_decibels?: number | undefined
174226
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
174227
+ noise_level_nrs?: number | undefined
174228
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
174229
+ co2_ppm?: number | undefined
174230
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
174231
+ co_ppm?: number | undefined
174232
+ /** Air quality index, if the device measures it. */
174233
+ air_quality_index?: number | undefined
174234
+ /** Mold risk level as reported by the device, if the device measures it. */
174235
+ mold_risk_level?: string | undefined
174236
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
174237
+ is_occupied?: boolean | undefined
174238
+ /** Number of occupants the device detects, if the device counts occupants. */
174239
+ occupant_count?: number | undefined
174240
+ /** Indicates whether the device detects smoking, if the device measures it. */
174241
+ is_smoking_detected?: boolean | undefined
174242
+ }[]
174243
+ | undefined
173853
174244
  /** Indicates whether the device supports remote unlocking. */
173854
174245
  can_remotely_unlock?: boolean | undefined
173855
174246
  /** Indicates whether the device supports remote locking. */
@@ -185340,6 +185731,7 @@ export type Routes = {
185340
185731
  | 'unifi_protect_camera'
185341
185732
  )
185342
185733
  | 'sonos_speaker'
185734
+ | 'alertify_sensor'
185343
185735
  /** IDs of the spaces the device is in. */
185344
185736
  space_ids: string[]
185345
185737
  /** Optional nickname to describe the device, settable through Seam. */
@@ -185448,58 +185840,9 @@ export type Routes = {
185448
185840
  * @deprecated use offline_access_codes_enabled*/
185449
185841
  supports_offline_access_codes?: boolean | undefined
185450
185842
  /** Indicates current noise level in decibels, if the device supports noise detection. */
185451
- noise_level_decibels?: (number | null) | undefined
185843
+ noise_level_decibels?: number | undefined
185452
185844
  /** Array of noise threshold IDs that are currently triggering. */
185453
185845
  currently_triggering_noise_threshold_ids?: string[] | undefined
185454
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
185455
- noise_level_nrs?: (number | null) | undefined
185456
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
185457
- co2_ppm?: (number | null) | undefined
185458
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
185459
- co_ppm?: (number | null) | undefined
185460
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
185461
- air_quality_index?: (number | null) | undefined
185462
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
185463
- mold_risk_level?: (string | null) | undefined
185464
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
185465
- is_occupied?: (boolean | null) | undefined
185466
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
185467
- occupant_count?: (number | null) | undefined
185468
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
185469
- is_smoking_detected?: (boolean | null) | undefined
185470
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
185471
- named_sensors?:
185472
- | {
185473
- /** Stable, hardware-defined name of the sensor, such as a port number. */
185474
- sensor_name: string
185475
- /** Display name of the sensor. Defaults to `sensor_name`. */
185476
- display_name: string
185477
- /** Reported temperature in °C. `null` until the first value arrives. */
185478
- temperature_celsius?: (number | null) | undefined
185479
- /** Reported temperature in °F. `null` until the first value arrives. */
185480
- temperature_fahrenheit?: (number | null) | undefined
185481
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
185482
- relative_humidity?: (number | null) | undefined
185483
- /** Noise level in decibels. `null` until the first value arrives. */
185484
- noise_level_decibels?: (number | null) | undefined
185485
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
185486
- noise_level_nrs?: (number | null) | undefined
185487
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
185488
- co2_ppm?: (number | null) | undefined
185489
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
185490
- co_ppm?: (number | null) | undefined
185491
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
185492
- air_quality_index?: (number | null) | undefined
185493
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
185494
- mold_risk_level?: (string | null) | undefined
185495
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
185496
- is_occupied?: (boolean | null) | undefined
185497
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
185498
- occupant_count?: (number | null) | undefined
185499
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
185500
- is_smoking_detected?: (boolean | null) | undefined
185501
- }[]
185502
- | undefined
185503
185846
  } & {
185504
185847
  /** ASSA ABLOY Credential Service metadata for the phone. */
185505
185848
  assa_abloy_credential_service_metadata?:
@@ -186241,6 +186584,24 @@ export type Routes = {
186241
186584
  | undefined
186242
186585
  )
186243
186586
  | undefined
186587
+ /** Metadata for an Alertify sensor. */
186588
+ alertify_metadata?:
186589
+ | (
186590
+ | {
186591
+ /** Device ID reported by Alertify. */
186592
+ device_id?: (string | undefined) | undefined
186593
+ /** Device name, as set in the Alertify dashboard. */
186594
+ device_name?: (string | undefined) | undefined
186595
+ /** ID of the Alertify unit where the device is installed. */
186596
+ unit_id?: (string | undefined) | undefined
186597
+ /** Name of the Alertify unit where the device is installed. */
186598
+ unit_name?: (string | undefined) | undefined
186599
+ /** ID of the Alertify building that contains the unit. */
186600
+ building_id?: ((string | null) | undefined) | undefined
186601
+ }
186602
+ | undefined
186603
+ )
186604
+ | undefined
186244
186605
  /** Metadata for a UniFi Protect camera. */
186245
186606
  unifi_protect_metadata?:
186246
186607
  | (
@@ -186539,11 +186900,11 @@ export type Routes = {
186539
186900
  | undefined
186540
186901
  } & {
186541
186902
  /** Reported temperature in °F. */
186542
- temperature_fahrenheit?: (number | null) | undefined
186903
+ temperature_fahrenheit?: number | undefined
186543
186904
  /** Reported temperature in °C. */
186544
- temperature_celsius?: (number | null) | undefined
186905
+ temperature_celsius?: number | undefined
186545
186906
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
186546
- relative_humidity?: (number | null) | undefined
186907
+ relative_humidity?: number | undefined
186547
186908
  /** HVAC mode settings that the thermostat supports. */
186548
186909
  available_hvac_mode_settings?:
186549
186910
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -187356,6 +187717,63 @@ export type Routes = {
187356
187717
  image_url?: string | undefined
187357
187718
  }
187358
187719
  | undefined
187720
+ /** Temperature in °C, if the device measures temperature. */
187721
+ temperature_celsius?: number | undefined
187722
+ /** Temperature in °F, if the device measures temperature. */
187723
+ temperature_fahrenheit?: number | undefined
187724
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
187725
+ relative_humidity?: number | undefined
187726
+ /** Noise level in decibels, if the device measures noise. */
187727
+ noise_level_decibels?: number | undefined
187728
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
187729
+ noise_level_nrs?: number | undefined
187730
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
187731
+ co2_ppm?: number | undefined
187732
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
187733
+ co_ppm?: number | undefined
187734
+ /** Air quality index, if the device measures it. */
187735
+ air_quality_index?: number | undefined
187736
+ /** Mold risk level as reported by the device, if the device measures it. */
187737
+ mold_risk_level?: string | undefined
187738
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
187739
+ is_occupied?: boolean | undefined
187740
+ /** Number of occupants the device detects, if the device counts occupants. */
187741
+ occupant_count?: number | undefined
187742
+ /** Indicates whether the device detects smoking, if the device measures it. */
187743
+ is_smoking_detected?: boolean | undefined
187744
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
187745
+ named_sensors?:
187746
+ | {
187747
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
187748
+ sensor_name: string
187749
+ /** Display name of the sensor. Defaults to `sensor_name`. */
187750
+ display_name: string
187751
+ /** Temperature in °C, if the device measures temperature. */
187752
+ temperature_celsius?: number | undefined
187753
+ /** Temperature in °F, if the device measures temperature. */
187754
+ temperature_fahrenheit?: number | undefined
187755
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
187756
+ relative_humidity?: number | undefined
187757
+ /** Noise level in decibels, if the device measures noise. */
187758
+ noise_level_decibels?: number | undefined
187759
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
187760
+ noise_level_nrs?: number | undefined
187761
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
187762
+ co2_ppm?: number | undefined
187763
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
187764
+ co_ppm?: number | undefined
187765
+ /** Air quality index, if the device measures it. */
187766
+ air_quality_index?: number | undefined
187767
+ /** Mold risk level as reported by the device, if the device measures it. */
187768
+ mold_risk_level?: string | undefined
187769
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
187770
+ is_occupied?: boolean | undefined
187771
+ /** Number of occupants the device detects, if the device counts occupants. */
187772
+ occupant_count?: number | undefined
187773
+ /** Indicates whether the device detects smoking, if the device measures it. */
187774
+ is_smoking_detected?: boolean | undefined
187775
+ }[]
187776
+ | undefined
187359
187777
  /** Indicates whether the device supports remote unlocking. */
187360
187778
  can_remotely_unlock?: boolean | undefined
187361
187779
  /** Indicates whether the device supports remote locking. */
@@ -187481,6 +187899,7 @@ export type Routes = {
187481
187899
  | 'unifi_protect_camera'
187482
187900
  )
187483
187901
  | 'sonos_speaker'
187902
+ | 'alertify_sensor'
187484
187903
  /** IDs of the spaces the device is in. */
187485
187904
  space_ids: string[]
187486
187905
  /** Optional nickname to describe the device, settable through Seam. */
@@ -187589,58 +188008,9 @@ export type Routes = {
187589
188008
  * @deprecated use offline_access_codes_enabled*/
187590
188009
  supports_offline_access_codes?: boolean | undefined
187591
188010
  /** Indicates current noise level in decibels, if the device supports noise detection. */
187592
- noise_level_decibels?: (number | null) | undefined
188011
+ noise_level_decibels?: number | undefined
187593
188012
  /** Array of noise threshold IDs that are currently triggering. */
187594
188013
  currently_triggering_noise_threshold_ids?: string[] | undefined
187595
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
187596
- noise_level_nrs?: (number | null) | undefined
187597
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
187598
- co2_ppm?: (number | null) | undefined
187599
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
187600
- co_ppm?: (number | null) | undefined
187601
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
187602
- air_quality_index?: (number | null) | undefined
187603
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
187604
- mold_risk_level?: (string | null) | undefined
187605
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
187606
- is_occupied?: (boolean | null) | undefined
187607
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
187608
- occupant_count?: (number | null) | undefined
187609
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
187610
- is_smoking_detected?: (boolean | null) | undefined
187611
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
187612
- named_sensors?:
187613
- | {
187614
- /** Stable, hardware-defined name of the sensor, such as a port number. */
187615
- sensor_name: string
187616
- /** Display name of the sensor. Defaults to `sensor_name`. */
187617
- display_name: string
187618
- /** Reported temperature in °C. `null` until the first value arrives. */
187619
- temperature_celsius?: (number | null) | undefined
187620
- /** Reported temperature in °F. `null` until the first value arrives. */
187621
- temperature_fahrenheit?: (number | null) | undefined
187622
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
187623
- relative_humidity?: (number | null) | undefined
187624
- /** Noise level in decibels. `null` until the first value arrives. */
187625
- noise_level_decibels?: (number | null) | undefined
187626
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
187627
- noise_level_nrs?: (number | null) | undefined
187628
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
187629
- co2_ppm?: (number | null) | undefined
187630
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
187631
- co_ppm?: (number | null) | undefined
187632
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
187633
- air_quality_index?: (number | null) | undefined
187634
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
187635
- mold_risk_level?: (string | null) | undefined
187636
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
187637
- is_occupied?: (boolean | null) | undefined
187638
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
187639
- occupant_count?: (number | null) | undefined
187640
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
187641
- is_smoking_detected?: (boolean | null) | undefined
187642
- }[]
187643
- | undefined
187644
188014
  } & {
187645
188015
  /** ASSA ABLOY Credential Service metadata for the phone. */
187646
188016
  assa_abloy_credential_service_metadata?:
@@ -188382,6 +188752,24 @@ export type Routes = {
188382
188752
  | undefined
188383
188753
  )
188384
188754
  | undefined
188755
+ /** Metadata for an Alertify sensor. */
188756
+ alertify_metadata?:
188757
+ | (
188758
+ | {
188759
+ /** Device ID reported by Alertify. */
188760
+ device_id?: (string | undefined) | undefined
188761
+ /** Device name, as set in the Alertify dashboard. */
188762
+ device_name?: (string | undefined) | undefined
188763
+ /** ID of the Alertify unit where the device is installed. */
188764
+ unit_id?: (string | undefined) | undefined
188765
+ /** Name of the Alertify unit where the device is installed. */
188766
+ unit_name?: (string | undefined) | undefined
188767
+ /** ID of the Alertify building that contains the unit. */
188768
+ building_id?: ((string | null) | undefined) | undefined
188769
+ }
188770
+ | undefined
188771
+ )
188772
+ | undefined
188385
188773
  /** Metadata for a UniFi Protect camera. */
188386
188774
  unifi_protect_metadata?:
188387
188775
  | (
@@ -188680,11 +189068,11 @@ export type Routes = {
188680
189068
  | undefined
188681
189069
  } & {
188682
189070
  /** Reported temperature in °F. */
188683
- temperature_fahrenheit?: (number | null) | undefined
189071
+ temperature_fahrenheit?: number | undefined
188684
189072
  /** Reported temperature in °C. */
188685
- temperature_celsius?: (number | null) | undefined
189073
+ temperature_celsius?: number | undefined
188686
189074
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
188687
- relative_humidity?: (number | null) | undefined
189075
+ relative_humidity?: number | undefined
188688
189076
  /** HVAC mode settings that the thermostat supports. */
188689
189077
  available_hvac_mode_settings?:
188690
189078
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -189497,6 +189885,63 @@ export type Routes = {
189497
189885
  image_url?: string | undefined
189498
189886
  }
189499
189887
  | undefined
189888
+ /** Temperature in °C, if the device measures temperature. */
189889
+ temperature_celsius?: number | undefined
189890
+ /** Temperature in °F, if the device measures temperature. */
189891
+ temperature_fahrenheit?: number | undefined
189892
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
189893
+ relative_humidity?: number | undefined
189894
+ /** Noise level in decibels, if the device measures noise. */
189895
+ noise_level_decibels?: number | undefined
189896
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
189897
+ noise_level_nrs?: number | undefined
189898
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
189899
+ co2_ppm?: number | undefined
189900
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
189901
+ co_ppm?: number | undefined
189902
+ /** Air quality index, if the device measures it. */
189903
+ air_quality_index?: number | undefined
189904
+ /** Mold risk level as reported by the device, if the device measures it. */
189905
+ mold_risk_level?: string | undefined
189906
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
189907
+ is_occupied?: boolean | undefined
189908
+ /** Number of occupants the device detects, if the device counts occupants. */
189909
+ occupant_count?: number | undefined
189910
+ /** Indicates whether the device detects smoking, if the device measures it. */
189911
+ is_smoking_detected?: boolean | undefined
189912
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
189913
+ named_sensors?:
189914
+ | {
189915
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
189916
+ sensor_name: string
189917
+ /** Display name of the sensor. Defaults to `sensor_name`. */
189918
+ display_name: string
189919
+ /** Temperature in °C, if the device measures temperature. */
189920
+ temperature_celsius?: number | undefined
189921
+ /** Temperature in °F, if the device measures temperature. */
189922
+ temperature_fahrenheit?: number | undefined
189923
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
189924
+ relative_humidity?: number | undefined
189925
+ /** Noise level in decibels, if the device measures noise. */
189926
+ noise_level_decibels?: number | undefined
189927
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
189928
+ noise_level_nrs?: number | undefined
189929
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
189930
+ co2_ppm?: number | undefined
189931
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
189932
+ co_ppm?: number | undefined
189933
+ /** Air quality index, if the device measures it. */
189934
+ air_quality_index?: number | undefined
189935
+ /** Mold risk level as reported by the device, if the device measures it. */
189936
+ mold_risk_level?: string | undefined
189937
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
189938
+ is_occupied?: boolean | undefined
189939
+ /** Number of occupants the device detects, if the device counts occupants. */
189940
+ occupant_count?: number | undefined
189941
+ /** Indicates whether the device detects smoking, if the device measures it. */
189942
+ is_smoking_detected?: boolean | undefined
189943
+ }[]
189944
+ | undefined
189500
189945
  /** Indicates whether the device supports remote unlocking. */
189501
189946
  can_remotely_unlock?: boolean | undefined
189502
189947
  /** Indicates whether the device supports remote locking. */
@@ -192337,6 +192782,7 @@ export type Routes = {
192337
192782
  | 'unifi_protect_camera'
192338
192783
  )
192339
192784
  | 'sonos_speaker'
192785
+ | 'alertify_sensor'
192340
192786
  /** IDs of the spaces the device is in. */
192341
192787
  space_ids: string[]
192342
192788
  /** Optional nickname to describe the device, settable through Seam. */
@@ -192445,58 +192891,9 @@ export type Routes = {
192445
192891
  * @deprecated use offline_access_codes_enabled*/
192446
192892
  supports_offline_access_codes?: boolean | undefined
192447
192893
  /** Indicates current noise level in decibels, if the device supports noise detection. */
192448
- noise_level_decibels?: (number | null) | undefined
192894
+ noise_level_decibels?: number | undefined
192449
192895
  /** Array of noise threshold IDs that are currently triggering. */
192450
192896
  currently_triggering_noise_threshold_ids?: string[] | undefined
192451
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
192452
- noise_level_nrs?: (number | null) | undefined
192453
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
192454
- co2_ppm?: (number | null) | undefined
192455
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
192456
- co_ppm?: (number | null) | undefined
192457
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
192458
- air_quality_index?: (number | null) | undefined
192459
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
192460
- mold_risk_level?: (string | null) | undefined
192461
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
192462
- is_occupied?: (boolean | null) | undefined
192463
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
192464
- occupant_count?: (number | null) | undefined
192465
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
192466
- is_smoking_detected?: (boolean | null) | undefined
192467
- /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
192468
- named_sensors?:
192469
- | {
192470
- /** Stable, hardware-defined name of the sensor, such as a port number. */
192471
- sensor_name: string
192472
- /** Display name of the sensor. Defaults to `sensor_name`. */
192473
- display_name: string
192474
- /** Reported temperature in °C. `null` until the first value arrives. */
192475
- temperature_celsius?: (number | null) | undefined
192476
- /** Reported temperature in °F. `null` until the first value arrives. */
192477
- temperature_fahrenheit?: (number | null) | undefined
192478
- /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
192479
- relative_humidity?: (number | null) | undefined
192480
- /** Noise level in decibels. `null` until the first value arrives. */
192481
- noise_level_decibels?: (number | null) | undefined
192482
- /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
192483
- noise_level_nrs?: (number | null) | undefined
192484
- /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
192485
- co2_ppm?: (number | null) | undefined
192486
- /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
192487
- co_ppm?: (number | null) | undefined
192488
- /** Air quality index, if the device measures it. `null` until the first value arrives. */
192489
- air_quality_index?: (number | null) | undefined
192490
- /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
192491
- mold_risk_level?: (string | null) | undefined
192492
- /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
192493
- is_occupied?: (boolean | null) | undefined
192494
- /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
192495
- occupant_count?: (number | null) | undefined
192496
- /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
192497
- is_smoking_detected?: (boolean | null) | undefined
192498
- }[]
192499
- | undefined
192500
192897
  } & {
192501
192898
  /** ASSA ABLOY Credential Service metadata for the phone. */
192502
192899
  assa_abloy_credential_service_metadata?:
@@ -193263,6 +193660,25 @@ export type Routes = {
193263
193660
  | undefined
193264
193661
  )
193265
193662
  | undefined
193663
+ /** Metadata for an Alertify sensor. */
193664
+ alertify_metadata?:
193665
+ | (
193666
+ | {
193667
+ /** Device ID reported by Alertify. */
193668
+ device_id?: (string | undefined) | undefined
193669
+ /** Device name, as set in the Alertify dashboard. */
193670
+ device_name?: (string | undefined) | undefined
193671
+ /** ID of the Alertify unit where the device is installed. */
193672
+ unit_id?: (string | undefined) | undefined
193673
+ /** Name of the Alertify unit where the device is installed. */
193674
+ unit_name?: (string | undefined) | undefined
193675
+ /** ID of the Alertify building that contains the unit. */
193676
+ building_id?:
193677
+ ((string | null) | undefined) | undefined
193678
+ }
193679
+ | undefined
193680
+ )
193681
+ | undefined
193266
193682
  /** Metadata for a UniFi Protect camera. */
193267
193683
  unifi_protect_metadata?:
193268
193684
  | (
@@ -193570,11 +193986,11 @@ export type Routes = {
193570
193986
  | undefined
193571
193987
  } & {
193572
193988
  /** Reported temperature in °F. */
193573
- temperature_fahrenheit?: (number | null) | undefined
193989
+ temperature_fahrenheit?: number | undefined
193574
193990
  /** Reported temperature in °C. */
193575
- temperature_celsius?: (number | null) | undefined
193991
+ temperature_celsius?: number | undefined
193576
193992
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
193577
- relative_humidity?: (number | null) | undefined
193993
+ relative_humidity?: number | undefined
193578
193994
  /** HVAC mode settings that the thermostat supports. */
193579
193995
  available_hvac_mode_settings?:
193580
193996
  | ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[]
@@ -194409,6 +194825,63 @@ export type Routes = {
194409
194825
  image_url?: string | undefined
194410
194826
  }
194411
194827
  | undefined
194828
+ /** Temperature in °C, if the device measures temperature. */
194829
+ temperature_celsius?: number | undefined
194830
+ /** Temperature in °F, if the device measures temperature. */
194831
+ temperature_fahrenheit?: number | undefined
194832
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
194833
+ relative_humidity?: number | undefined
194834
+ /** Noise level in decibels, if the device measures noise. */
194835
+ noise_level_decibels?: number | undefined
194836
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
194837
+ noise_level_nrs?: number | undefined
194838
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
194839
+ co2_ppm?: number | undefined
194840
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
194841
+ co_ppm?: number | undefined
194842
+ /** Air quality index, if the device measures it. */
194843
+ air_quality_index?: number | undefined
194844
+ /** Mold risk level as reported by the device, if the device measures it. */
194845
+ mold_risk_level?: string | undefined
194846
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
194847
+ is_occupied?: boolean | undefined
194848
+ /** Number of occupants the device detects, if the device counts occupants. */
194849
+ occupant_count?: number | undefined
194850
+ /** Indicates whether the device detects smoking, if the device measures it. */
194851
+ is_smoking_detected?: boolean | undefined
194852
+ /** Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. */
194853
+ named_sensors?:
194854
+ | {
194855
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
194856
+ sensor_name: string
194857
+ /** Display name of the sensor. Defaults to `sensor_name`. */
194858
+ display_name: string
194859
+ /** Temperature in °C, if the device measures temperature. */
194860
+ temperature_celsius?: number | undefined
194861
+ /** Temperature in °F, if the device measures temperature. */
194862
+ temperature_fahrenheit?: number | undefined
194863
+ /** Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. */
194864
+ relative_humidity?: number | undefined
194865
+ /** Noise level in decibels, if the device measures noise. */
194866
+ noise_level_decibels?: number | undefined
194867
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. */
194868
+ noise_level_nrs?: number | undefined
194869
+ /** Carbon dioxide concentration in parts per million, if the device measures it. */
194870
+ co2_ppm?: number | undefined
194871
+ /** Carbon monoxide concentration in parts per million, if the device measures it. */
194872
+ co_ppm?: number | undefined
194873
+ /** Air quality index, if the device measures it. */
194874
+ air_quality_index?: number | undefined
194875
+ /** Mold risk level as reported by the device, if the device measures it. */
194876
+ mold_risk_level?: string | undefined
194877
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. */
194878
+ is_occupied?: boolean | undefined
194879
+ /** Number of occupants the device detects, if the device counts occupants. */
194880
+ occupant_count?: number | undefined
194881
+ /** Indicates whether the device detects smoking, if the device measures it. */
194882
+ is_smoking_detected?: boolean | undefined
194883
+ }[]
194884
+ | undefined
194412
194885
  /** Indicates whether the device supports remote unlocking. */
194413
194886
  can_remotely_unlock?: boolean | undefined
194414
194887
  /** Indicates whether the device supports remote locking. */
@@ -198656,6 +199129,7 @@ export type Routes = {
198656
199129
  | 'unifi_protect_camera'
198657
199130
  )
198658
199131
  | 'sonos_speaker'
199132
+ | 'alertify_sensor'
198659
199133
  /** Unique identifier for the account associated with the device. */
198660
199134
  connected_account_id: string
198661
199135
  /** Location information for the device. */