@seamapi/types 1.1184.0 → 1.1186.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 +371 -26
  15. package/lib/seam/connect/models/devices/device.js +159 -0
  16. package/lib/seam/connect/models/devices/device.js.map +1 -1
  17. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +205 -16
  18. package/lib/seam/connect/openapi.js +229 -1
  19. package/lib/seam/connect/openapi.js.map +1 -1
  20. package/lib/seam/connect/route-types.d.ts +1117 -97
  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 +187 -0
  27. package/src/lib/seam/connect/openapi.ts +257 -1
  28. package/src/lib/seam/connect/route-types.ts +1240 -69
@@ -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,9 +16230,58 @@ 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 | undefined
16233
+ noise_level_decibels?: (number | null) | undefined
16233
16234
  /** Array of noise threshold IDs that are currently triggering. */
16234
16235
  currently_triggering_noise_threshold_ids?: string[] | undefined
16236
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
16237
+ noise_level_nrs?: (number | null) | undefined
16238
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
16239
+ co2_ppm?: (number | null) | undefined
16240
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
16241
+ co_ppm?: (number | null) | undefined
16242
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
16243
+ air_quality_index?: (number | null) | undefined
16244
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
16245
+ mold_risk_level?: (string | null) | undefined
16246
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
16247
+ is_occupied?: (boolean | null) | undefined
16248
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
16249
+ occupant_count?: (number | null) | undefined
16250
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
16251
+ is_smoking_detected?: (boolean | null) | undefined
16252
+ /** 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. */
16253
+ named_sensors?:
16254
+ | {
16255
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
16256
+ sensor_name: string
16257
+ /** Display name of the sensor. Defaults to `sensor_name`. */
16258
+ display_name: string
16259
+ /** Reported temperature in °C. `null` until the first value arrives. */
16260
+ temperature_celsius?: (number | null) | undefined
16261
+ /** Reported temperature in °F. `null` until the first value arrives. */
16262
+ temperature_fahrenheit?: (number | null) | undefined
16263
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
16264
+ relative_humidity?: (number | null) | undefined
16265
+ /** Noise level in decibels. `null` until the first value arrives. */
16266
+ noise_level_decibels?: (number | null) | undefined
16267
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
16268
+ noise_level_nrs?: (number | null) | undefined
16269
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
16270
+ co2_ppm?: (number | null) | undefined
16271
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
16272
+ co_ppm?: (number | null) | undefined
16273
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
16274
+ air_quality_index?: (number | null) | undefined
16275
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
16276
+ mold_risk_level?: (string | null) | undefined
16277
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
16278
+ is_occupied?: (boolean | null) | undefined
16279
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
16280
+ occupant_count?: (number | null) | undefined
16281
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
16282
+ is_smoking_detected?: (boolean | null) | undefined
16283
+ }[]
16284
+ | undefined
16235
16285
  } & {
16236
16286
  /** ASSA ABLOY Credential Service metadata for the phone. */
16237
16287
  assa_abloy_credential_service_metadata?:
@@ -16998,6 +17048,25 @@ export type Routes = {
16998
17048
  | undefined
16999
17049
  )
17000
17050
  | undefined
17051
+ /** Metadata for an Alertify sensor. */
17052
+ alertify_metadata?:
17053
+ | (
17054
+ | {
17055
+ /** Device ID reported by Alertify. */
17056
+ device_id?: (string | undefined) | undefined
17057
+ /** Device name, as set in the Alertify dashboard. */
17058
+ device_name?: (string | undefined) | undefined
17059
+ /** ID of the Alertify unit where the device is installed. */
17060
+ unit_id?: (string | undefined) | undefined
17061
+ /** Name of the Alertify unit where the device is installed. */
17062
+ unit_name?: (string | undefined) | undefined
17063
+ /** ID of the Alertify building that contains the unit. */
17064
+ building_id?:
17065
+ ((string | null) | undefined) | undefined
17066
+ }
17067
+ | undefined
17068
+ )
17069
+ | undefined
17001
17070
  /** Metadata for a UniFi Protect camera. */
17002
17071
  unifi_protect_metadata?:
17003
17072
  | (
@@ -17305,11 +17374,11 @@ export type Routes = {
17305
17374
  | undefined
17306
17375
  } & {
17307
17376
  /** Reported temperature in °F. */
17308
- temperature_fahrenheit?: number | undefined
17377
+ temperature_fahrenheit?: (number | null) | undefined
17309
17378
  /** Reported temperature in °C. */
17310
- temperature_celsius?: number | undefined
17379
+ temperature_celsius?: (number | null) | undefined
17311
17380
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
17312
- relative_humidity?: number | undefined
17381
+ relative_humidity?: (number | null) | undefined
17313
17382
  /** HVAC mode settings that the thermostat supports. */
17314
17383
  available_hvac_mode_settings?:
17315
17384
  | ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[]
@@ -25889,6 +25958,7 @@ export type Routes = {
25889
25958
  | 'unifi_protect_camera'
25890
25959
  )
25891
25960
  | 'sonos_speaker'
25961
+ | 'alertify_sensor'
25892
25962
  /** IDs of the spaces the device is in. */
25893
25963
  space_ids: string[]
25894
25964
  /** Optional nickname to describe the device, settable through Seam. */
@@ -25997,9 +26067,58 @@ export type Routes = {
25997
26067
  * @deprecated use offline_access_codes_enabled*/
25998
26068
  supports_offline_access_codes?: boolean | undefined
25999
26069
  /** Indicates current noise level in decibels, if the device supports noise detection. */
26000
- noise_level_decibels?: number | undefined
26070
+ noise_level_decibels?: (number | null) | undefined
26001
26071
  /** Array of noise threshold IDs that are currently triggering. */
26002
26072
  currently_triggering_noise_threshold_ids?: string[] | undefined
26073
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
26074
+ noise_level_nrs?: (number | null) | undefined
26075
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
26076
+ co2_ppm?: (number | null) | undefined
26077
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
26078
+ co_ppm?: (number | null) | undefined
26079
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
26080
+ air_quality_index?: (number | null) | undefined
26081
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
26082
+ mold_risk_level?: (string | null) | undefined
26083
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
26084
+ is_occupied?: (boolean | null) | undefined
26085
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
26086
+ occupant_count?: (number | null) | undefined
26087
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
26088
+ is_smoking_detected?: (boolean | null) | undefined
26089
+ /** 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. */
26090
+ named_sensors?:
26091
+ | {
26092
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
26093
+ sensor_name: string
26094
+ /** Display name of the sensor. Defaults to `sensor_name`. */
26095
+ display_name: string
26096
+ /** Reported temperature in °C. `null` until the first value arrives. */
26097
+ temperature_celsius?: (number | null) | undefined
26098
+ /** Reported temperature in °F. `null` until the first value arrives. */
26099
+ temperature_fahrenheit?: (number | null) | undefined
26100
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
26101
+ relative_humidity?: (number | null) | undefined
26102
+ /** Noise level in decibels. `null` until the first value arrives. */
26103
+ noise_level_decibels?: (number | null) | undefined
26104
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
26105
+ noise_level_nrs?: (number | null) | undefined
26106
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
26107
+ co2_ppm?: (number | null) | undefined
26108
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
26109
+ co_ppm?: (number | null) | undefined
26110
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
26111
+ air_quality_index?: (number | null) | undefined
26112
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
26113
+ mold_risk_level?: (string | null) | undefined
26114
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
26115
+ is_occupied?: (boolean | null) | undefined
26116
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
26117
+ occupant_count?: (number | null) | undefined
26118
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
26119
+ is_smoking_detected?: (boolean | null) | undefined
26120
+ }[]
26121
+ | undefined
26003
26122
  } & {
26004
26123
  /** ASSA ABLOY Credential Service metadata for the phone. */
26005
26124
  assa_abloy_credential_service_metadata?:
@@ -26766,6 +26885,25 @@ export type Routes = {
26766
26885
  | undefined
26767
26886
  )
26768
26887
  | undefined
26888
+ /** Metadata for an Alertify sensor. */
26889
+ alertify_metadata?:
26890
+ | (
26891
+ | {
26892
+ /** Device ID reported by Alertify. */
26893
+ device_id?: (string | undefined) | undefined
26894
+ /** Device name, as set in the Alertify dashboard. */
26895
+ device_name?: (string | undefined) | undefined
26896
+ /** ID of the Alertify unit where the device is installed. */
26897
+ unit_id?: (string | undefined) | undefined
26898
+ /** Name of the Alertify unit where the device is installed. */
26899
+ unit_name?: (string | undefined) | undefined
26900
+ /** ID of the Alertify building that contains the unit. */
26901
+ building_id?:
26902
+ ((string | null) | undefined) | undefined
26903
+ }
26904
+ | undefined
26905
+ )
26906
+ | undefined
26769
26907
  /** Metadata for a UniFi Protect camera. */
26770
26908
  unifi_protect_metadata?:
26771
26909
  | (
@@ -27073,11 +27211,11 @@ export type Routes = {
27073
27211
  | undefined
27074
27212
  } & {
27075
27213
  /** Reported temperature in °F. */
27076
- temperature_fahrenheit?: number | undefined
27214
+ temperature_fahrenheit?: (number | null) | undefined
27077
27215
  /** Reported temperature in °C. */
27078
- temperature_celsius?: number | undefined
27216
+ temperature_celsius?: (number | null) | undefined
27079
27217
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
27080
- relative_humidity?: number | undefined
27218
+ relative_humidity?: (number | null) | undefined
27081
27219
  /** HVAC mode settings that the thermostat supports. */
27082
27220
  available_hvac_mode_settings?:
27083
27221
  | ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[]
@@ -55783,6 +55921,7 @@ export type Routes = {
55783
55921
  | 'reolink'
55784
55922
  | 'unifi_protect'
55785
55923
  | 'yale_connect'
55924
+ | 'alertify'
55786
55925
  | 'ical'
55787
55926
  | 'lodgify'
55788
55927
  | 'hostaway'
@@ -58137,6 +58276,7 @@ export type Routes = {
58137
58276
  | 'unifi_protect_camera'
58138
58277
  )
58139
58278
  | 'sonos_speaker'
58279
+ | 'alertify_sensor'
58140
58280
  /** IDs of the spaces the device is in. */
58141
58281
  space_ids: string[]
58142
58282
  /** Optional nickname to describe the device, settable through Seam. */
@@ -58245,9 +58385,58 @@ export type Routes = {
58245
58385
  * @deprecated use offline_access_codes_enabled*/
58246
58386
  supports_offline_access_codes?: boolean | undefined
58247
58387
  /** Indicates current noise level in decibels, if the device supports noise detection. */
58248
- noise_level_decibels?: number | undefined
58388
+ noise_level_decibels?: (number | null) | undefined
58249
58389
  /** Array of noise threshold IDs that are currently triggering. */
58250
58390
  currently_triggering_noise_threshold_ids?: string[] | undefined
58391
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
58392
+ noise_level_nrs?: (number | null) | undefined
58393
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
58394
+ co2_ppm?: (number | null) | undefined
58395
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
58396
+ co_ppm?: (number | null) | undefined
58397
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
58398
+ air_quality_index?: (number | null) | undefined
58399
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
58400
+ mold_risk_level?: (string | null) | undefined
58401
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
58402
+ is_occupied?: (boolean | null) | undefined
58403
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
58404
+ occupant_count?: (number | null) | undefined
58405
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
58406
+ is_smoking_detected?: (boolean | null) | undefined
58407
+ /** 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. */
58408
+ named_sensors?:
58409
+ | {
58410
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
58411
+ sensor_name: string
58412
+ /** Display name of the sensor. Defaults to `sensor_name`. */
58413
+ display_name: string
58414
+ /** Reported temperature in °C. `null` until the first value arrives. */
58415
+ temperature_celsius?: (number | null) | undefined
58416
+ /** Reported temperature in °F. `null` until the first value arrives. */
58417
+ temperature_fahrenheit?: (number | null) | undefined
58418
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
58419
+ relative_humidity?: (number | null) | undefined
58420
+ /** Noise level in decibels. `null` until the first value arrives. */
58421
+ noise_level_decibels?: (number | null) | undefined
58422
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
58423
+ noise_level_nrs?: (number | null) | undefined
58424
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
58425
+ co2_ppm?: (number | null) | undefined
58426
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
58427
+ co_ppm?: (number | null) | undefined
58428
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
58429
+ air_quality_index?: (number | null) | undefined
58430
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
58431
+ mold_risk_level?: (string | null) | undefined
58432
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
58433
+ is_occupied?: (boolean | null) | undefined
58434
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
58435
+ occupant_count?: (number | null) | undefined
58436
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
58437
+ is_smoking_detected?: (boolean | null) | undefined
58438
+ }[]
58439
+ | undefined
58251
58440
  } & {
58252
58441
  /** ASSA ABLOY Credential Service metadata for the phone. */
58253
58442
  assa_abloy_credential_service_metadata?:
@@ -58989,6 +59178,24 @@ export type Routes = {
58989
59178
  | undefined
58990
59179
  )
58991
59180
  | undefined
59181
+ /** Metadata for an Alertify sensor. */
59182
+ alertify_metadata?:
59183
+ | (
59184
+ | {
59185
+ /** Device ID reported by Alertify. */
59186
+ device_id?: (string | undefined) | undefined
59187
+ /** Device name, as set in the Alertify dashboard. */
59188
+ device_name?: (string | undefined) | undefined
59189
+ /** ID of the Alertify unit where the device is installed. */
59190
+ unit_id?: (string | undefined) | undefined
59191
+ /** Name of the Alertify unit where the device is installed. */
59192
+ unit_name?: (string | undefined) | undefined
59193
+ /** ID of the Alertify building that contains the unit. */
59194
+ building_id?: ((string | null) | undefined) | undefined
59195
+ }
59196
+ | undefined
59197
+ )
59198
+ | undefined
58992
59199
  /** Metadata for a UniFi Protect camera. */
58993
59200
  unifi_protect_metadata?:
58994
59201
  | (
@@ -59287,11 +59494,11 @@ export type Routes = {
59287
59494
  | undefined
59288
59495
  } & {
59289
59496
  /** Reported temperature in °F. */
59290
- temperature_fahrenheit?: number | undefined
59497
+ temperature_fahrenheit?: (number | null) | undefined
59291
59498
  /** Reported temperature in °C. */
59292
- temperature_celsius?: number | undefined
59499
+ temperature_celsius?: (number | null) | undefined
59293
59500
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
59294
- relative_humidity?: number | undefined
59501
+ relative_humidity?: (number | null) | undefined
59295
59502
  /** HVAC mode settings that the thermostat supports. */
59296
59503
  available_hvac_mode_settings?:
59297
59504
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -60242,6 +60449,7 @@ export type Routes = {
60242
60449
  | 'unifi_protect_camera'
60243
60450
  )
60244
60451
  | 'sonos_speaker'
60452
+ | 'alertify_sensor'
60245
60453
  )
60246
60454
  | undefined
60247
60455
  /** Array of device types for which you want to list devices. */
@@ -60303,6 +60511,7 @@ export type Routes = {
60303
60511
  | 'unifi_protect_camera'
60304
60512
  )
60305
60513
  | 'sonos_speaker'
60514
+ | 'alertify_sensor'
60306
60515
  )[]
60307
60516
  | undefined
60308
60517
  /** Manufacturer for which you want to list devices. */
@@ -60359,6 +60568,7 @@ export type Routes = {
60359
60568
  | 'reolink'
60360
60569
  | 'unifi_protect'
60361
60570
  | 'yale_connect'
60571
+ | 'alertify'
60362
60572
  | 'ical'
60363
60573
  | 'lodgify'
60364
60574
  | 'hostaway'
@@ -60528,6 +60738,7 @@ export type Routes = {
60528
60738
  | 'unifi_protect_camera'
60529
60739
  )
60530
60740
  | 'sonos_speaker'
60741
+ | 'alertify_sensor'
60531
60742
  /** IDs of the spaces the device is in. */
60532
60743
  space_ids: string[]
60533
60744
  /** Optional nickname to describe the device, settable through Seam. */
@@ -60636,9 +60847,58 @@ export type Routes = {
60636
60847
  * @deprecated use offline_access_codes_enabled*/
60637
60848
  supports_offline_access_codes?: boolean | undefined
60638
60849
  /** Indicates current noise level in decibels, if the device supports noise detection. */
60639
- noise_level_decibels?: number | undefined
60850
+ noise_level_decibels?: (number | null) | undefined
60640
60851
  /** Array of noise threshold IDs that are currently triggering. */
60641
60852
  currently_triggering_noise_threshold_ids?: string[] | undefined
60853
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
60854
+ noise_level_nrs?: (number | null) | undefined
60855
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
60856
+ co2_ppm?: (number | null) | undefined
60857
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
60858
+ co_ppm?: (number | null) | undefined
60859
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
60860
+ air_quality_index?: (number | null) | undefined
60861
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
60862
+ mold_risk_level?: (string | null) | undefined
60863
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
60864
+ is_occupied?: (boolean | null) | undefined
60865
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
60866
+ occupant_count?: (number | null) | undefined
60867
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
60868
+ is_smoking_detected?: (boolean | null) | undefined
60869
+ /** 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. */
60870
+ named_sensors?:
60871
+ | {
60872
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
60873
+ sensor_name: string
60874
+ /** Display name of the sensor. Defaults to `sensor_name`. */
60875
+ display_name: string
60876
+ /** Reported temperature in °C. `null` until the first value arrives. */
60877
+ temperature_celsius?: (number | null) | undefined
60878
+ /** Reported temperature in °F. `null` until the first value arrives. */
60879
+ temperature_fahrenheit?: (number | null) | undefined
60880
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
60881
+ relative_humidity?: (number | null) | undefined
60882
+ /** Noise level in decibels. `null` until the first value arrives. */
60883
+ noise_level_decibels?: (number | null) | undefined
60884
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
60885
+ noise_level_nrs?: (number | null) | undefined
60886
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
60887
+ co2_ppm?: (number | null) | undefined
60888
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
60889
+ co_ppm?: (number | null) | undefined
60890
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
60891
+ air_quality_index?: (number | null) | undefined
60892
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
60893
+ mold_risk_level?: (string | null) | undefined
60894
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
60895
+ is_occupied?: (boolean | null) | undefined
60896
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
60897
+ occupant_count?: (number | null) | undefined
60898
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
60899
+ is_smoking_detected?: (boolean | null) | undefined
60900
+ }[]
60901
+ | undefined
60642
60902
  } & {
60643
60903
  /** ASSA ABLOY Credential Service metadata for the phone. */
60644
60904
  assa_abloy_credential_service_metadata?:
@@ -61380,6 +61640,24 @@ export type Routes = {
61380
61640
  | undefined
61381
61641
  )
61382
61642
  | undefined
61643
+ /** Metadata for an Alertify sensor. */
61644
+ alertify_metadata?:
61645
+ | (
61646
+ | {
61647
+ /** Device ID reported by Alertify. */
61648
+ device_id?: (string | undefined) | undefined
61649
+ /** Device name, as set in the Alertify dashboard. */
61650
+ device_name?: (string | undefined) | undefined
61651
+ /** ID of the Alertify unit where the device is installed. */
61652
+ unit_id?: (string | undefined) | undefined
61653
+ /** Name of the Alertify unit where the device is installed. */
61654
+ unit_name?: (string | undefined) | undefined
61655
+ /** ID of the Alertify building that contains the unit. */
61656
+ building_id?: ((string | null) | undefined) | undefined
61657
+ }
61658
+ | undefined
61659
+ )
61660
+ | undefined
61383
61661
  /** Metadata for a UniFi Protect camera. */
61384
61662
  unifi_protect_metadata?:
61385
61663
  | (
@@ -61678,11 +61956,11 @@ export type Routes = {
61678
61956
  | undefined
61679
61957
  } & {
61680
61958
  /** Reported temperature in °F. */
61681
- temperature_fahrenheit?: number | undefined
61959
+ temperature_fahrenheit?: (number | null) | undefined
61682
61960
  /** Reported temperature in °C. */
61683
- temperature_celsius?: number | undefined
61961
+ temperature_celsius?: (number | null) | undefined
61684
61962
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
61685
- relative_humidity?: number | undefined
61963
+ relative_humidity?: (number | null) | undefined
61686
61964
  /** HVAC mode settings that the thermostat supports. */
61687
61965
  available_hvac_mode_settings?:
61688
61966
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -62658,6 +62936,7 @@ export type Routes = {
62658
62936
  | 'reolink'
62659
62937
  | 'unifi_protect'
62660
62938
  | 'yale_connect'
62939
+ | 'alertify'
62661
62940
  | 'ical'
62662
62941
  | 'lodgify'
62663
62942
  | 'hostaway'
@@ -64225,6 +64504,7 @@ export type Routes = {
64225
64504
  | 'unifi_protect_camera'
64226
64505
  )
64227
64506
  | 'sonos_speaker'
64507
+ | 'alertify_sensor'
64228
64508
  /** Unique identifier for the account associated with the device. */
64229
64509
  connected_account_id: string
64230
64510
  /** Location information for the device. */
@@ -64873,6 +65153,7 @@ export type Routes = {
64873
65153
  | 'unifi_protect_camera'
64874
65154
  )
64875
65155
  | 'sonos_speaker'
65156
+ | 'alertify_sensor'
64876
65157
  )
64877
65158
  | undefined
64878
65159
  /** Array of device types for which you want to list devices. */
@@ -64934,6 +65215,7 @@ export type Routes = {
64934
65215
  | 'unifi_protect_camera'
64935
65216
  )
64936
65217
  | 'sonos_speaker'
65218
+ | 'alertify_sensor'
64937
65219
  )[]
64938
65220
  | undefined
64939
65221
  /** Manufacturer for which you want to list devices. */
@@ -64990,6 +65272,7 @@ export type Routes = {
64990
65272
  | 'reolink'
64991
65273
  | 'unifi_protect'
64992
65274
  | 'yale_connect'
65275
+ | 'alertify'
64993
65276
  | 'ical'
64994
65277
  | 'lodgify'
64995
65278
  | 'hostaway'
@@ -65146,6 +65429,7 @@ export type Routes = {
65146
65429
  | 'unifi_protect_camera'
65147
65430
  )
65148
65431
  | 'sonos_speaker'
65432
+ | 'alertify_sensor'
65149
65433
  /** Unique identifier for the account associated with the device. */
65150
65434
  connected_account_id: string
65151
65435
  /** Location information for the device. */
@@ -77277,6 +77561,7 @@ export type Routes = {
77277
77561
  | 'unifi_protect_camera'
77278
77562
  )
77279
77563
  | 'sonos_speaker'
77564
+ | 'alertify_sensor'
77280
77565
  /** IDs of the spaces the device is in. */
77281
77566
  space_ids: string[]
77282
77567
  /** Optional nickname to describe the device, settable through Seam. */
@@ -77385,9 +77670,58 @@ export type Routes = {
77385
77670
  * @deprecated use offline_access_codes_enabled*/
77386
77671
  supports_offline_access_codes?: boolean | undefined
77387
77672
  /** Indicates current noise level in decibels, if the device supports noise detection. */
77388
- noise_level_decibels?: number | undefined
77673
+ noise_level_decibels?: (number | null) | undefined
77389
77674
  /** Array of noise threshold IDs that are currently triggering. */
77390
77675
  currently_triggering_noise_threshold_ids?: string[] | undefined
77676
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
77677
+ noise_level_nrs?: (number | null) | undefined
77678
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
77679
+ co2_ppm?: (number | null) | undefined
77680
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
77681
+ co_ppm?: (number | null) | undefined
77682
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
77683
+ air_quality_index?: (number | null) | undefined
77684
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
77685
+ mold_risk_level?: (string | null) | undefined
77686
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
77687
+ is_occupied?: (boolean | null) | undefined
77688
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
77689
+ occupant_count?: (number | null) | undefined
77690
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
77691
+ is_smoking_detected?: (boolean | null) | undefined
77692
+ /** 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. */
77693
+ named_sensors?:
77694
+ | {
77695
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
77696
+ sensor_name: string
77697
+ /** Display name of the sensor. Defaults to `sensor_name`. */
77698
+ display_name: string
77699
+ /** Reported temperature in °C. `null` until the first value arrives. */
77700
+ temperature_celsius?: (number | null) | undefined
77701
+ /** Reported temperature in °F. `null` until the first value arrives. */
77702
+ temperature_fahrenheit?: (number | null) | undefined
77703
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
77704
+ relative_humidity?: (number | null) | undefined
77705
+ /** Noise level in decibels. `null` until the first value arrives. */
77706
+ noise_level_decibels?: (number | null) | undefined
77707
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
77708
+ noise_level_nrs?: (number | null) | undefined
77709
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
77710
+ co2_ppm?: (number | null) | undefined
77711
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
77712
+ co_ppm?: (number | null) | undefined
77713
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
77714
+ air_quality_index?: (number | null) | undefined
77715
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
77716
+ mold_risk_level?: (string | null) | undefined
77717
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
77718
+ is_occupied?: (boolean | null) | undefined
77719
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
77720
+ occupant_count?: (number | null) | undefined
77721
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
77722
+ is_smoking_detected?: (boolean | null) | undefined
77723
+ }[]
77724
+ | undefined
77391
77725
  } & {
77392
77726
  /** ASSA ABLOY Credential Service metadata for the phone. */
77393
77727
  assa_abloy_credential_service_metadata?:
@@ -78129,6 +78463,24 @@ export type Routes = {
78129
78463
  | undefined
78130
78464
  )
78131
78465
  | undefined
78466
+ /** Metadata for an Alertify sensor. */
78467
+ alertify_metadata?:
78468
+ | (
78469
+ | {
78470
+ /** Device ID reported by Alertify. */
78471
+ device_id?: (string | undefined) | undefined
78472
+ /** Device name, as set in the Alertify dashboard. */
78473
+ device_name?: (string | undefined) | undefined
78474
+ /** ID of the Alertify unit where the device is installed. */
78475
+ unit_id?: (string | undefined) | undefined
78476
+ /** Name of the Alertify unit where the device is installed. */
78477
+ unit_name?: (string | undefined) | undefined
78478
+ /** ID of the Alertify building that contains the unit. */
78479
+ building_id?: ((string | null) | undefined) | undefined
78480
+ }
78481
+ | undefined
78482
+ )
78483
+ | undefined
78132
78484
  /** Metadata for a UniFi Protect camera. */
78133
78485
  unifi_protect_metadata?:
78134
78486
  | (
@@ -78427,11 +78779,11 @@ export type Routes = {
78427
78779
  | undefined
78428
78780
  } & {
78429
78781
  /** Reported temperature in °F. */
78430
- temperature_fahrenheit?: number | undefined
78782
+ temperature_fahrenheit?: (number | null) | undefined
78431
78783
  /** Reported temperature in °C. */
78432
- temperature_celsius?: number | undefined
78784
+ temperature_celsius?: (number | null) | undefined
78433
78785
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
78434
- relative_humidity?: number | undefined
78786
+ relative_humidity?: (number | null) | undefined
78435
78787
  /** HVAC mode settings that the thermostat supports. */
78436
78788
  available_hvac_mode_settings?:
78437
78789
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -79368,6 +79720,7 @@ export type Routes = {
79368
79720
  | 'unifi_protect_camera'
79369
79721
  )
79370
79722
  | 'sonos_speaker'
79723
+ | 'alertify_sensor'
79371
79724
  /** IDs of the spaces the device is in. */
79372
79725
  space_ids: string[]
79373
79726
  /** Optional nickname to describe the device, settable through Seam. */
@@ -79476,9 +79829,58 @@ export type Routes = {
79476
79829
  * @deprecated use offline_access_codes_enabled*/
79477
79830
  supports_offline_access_codes?: boolean | undefined
79478
79831
  /** Indicates current noise level in decibels, if the device supports noise detection. */
79479
- noise_level_decibels?: number | undefined
79832
+ noise_level_decibels?: (number | null) | undefined
79480
79833
  /** Array of noise threshold IDs that are currently triggering. */
79481
79834
  currently_triggering_noise_threshold_ids?: string[] | undefined
79835
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
79836
+ noise_level_nrs?: (number | null) | undefined
79837
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
79838
+ co2_ppm?: (number | null) | undefined
79839
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
79840
+ co_ppm?: (number | null) | undefined
79841
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
79842
+ air_quality_index?: (number | null) | undefined
79843
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
79844
+ mold_risk_level?: (string | null) | undefined
79845
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
79846
+ is_occupied?: (boolean | null) | undefined
79847
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
79848
+ occupant_count?: (number | null) | undefined
79849
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
79850
+ is_smoking_detected?: (boolean | null) | undefined
79851
+ /** 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. */
79852
+ named_sensors?:
79853
+ | {
79854
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
79855
+ sensor_name: string
79856
+ /** Display name of the sensor. Defaults to `sensor_name`. */
79857
+ display_name: string
79858
+ /** Reported temperature in °C. `null` until the first value arrives. */
79859
+ temperature_celsius?: (number | null) | undefined
79860
+ /** Reported temperature in °F. `null` until the first value arrives. */
79861
+ temperature_fahrenheit?: (number | null) | undefined
79862
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
79863
+ relative_humidity?: (number | null) | undefined
79864
+ /** Noise level in decibels. `null` until the first value arrives. */
79865
+ noise_level_decibels?: (number | null) | undefined
79866
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
79867
+ noise_level_nrs?: (number | null) | undefined
79868
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
79869
+ co2_ppm?: (number | null) | undefined
79870
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
79871
+ co_ppm?: (number | null) | undefined
79872
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
79873
+ air_quality_index?: (number | null) | undefined
79874
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
79875
+ mold_risk_level?: (string | null) | undefined
79876
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
79877
+ is_occupied?: (boolean | null) | undefined
79878
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
79879
+ occupant_count?: (number | null) | undefined
79880
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
79881
+ is_smoking_detected?: (boolean | null) | undefined
79882
+ }[]
79883
+ | undefined
79482
79884
  } & {
79483
79885
  /** ASSA ABLOY Credential Service metadata for the phone. */
79484
79886
  assa_abloy_credential_service_metadata?:
@@ -80220,6 +80622,24 @@ export type Routes = {
80220
80622
  | undefined
80221
80623
  )
80222
80624
  | undefined
80625
+ /** Metadata for an Alertify sensor. */
80626
+ alertify_metadata?:
80627
+ | (
80628
+ | {
80629
+ /** Device ID reported by Alertify. */
80630
+ device_id?: (string | undefined) | undefined
80631
+ /** Device name, as set in the Alertify dashboard. */
80632
+ device_name?: (string | undefined) | undefined
80633
+ /** ID of the Alertify unit where the device is installed. */
80634
+ unit_id?: (string | undefined) | undefined
80635
+ /** Name of the Alertify unit where the device is installed. */
80636
+ unit_name?: (string | undefined) | undefined
80637
+ /** ID of the Alertify building that contains the unit. */
80638
+ building_id?: ((string | null) | undefined) | undefined
80639
+ }
80640
+ | undefined
80641
+ )
80642
+ | undefined
80223
80643
  /** Metadata for a UniFi Protect camera. */
80224
80644
  unifi_protect_metadata?:
80225
80645
  | (
@@ -80518,11 +80938,11 @@ export type Routes = {
80518
80938
  | undefined
80519
80939
  } & {
80520
80940
  /** Reported temperature in °F. */
80521
- temperature_fahrenheit?: number | undefined
80941
+ temperature_fahrenheit?: (number | null) | undefined
80522
80942
  /** Reported temperature in °C. */
80523
- temperature_celsius?: number | undefined
80943
+ temperature_celsius?: (number | null) | undefined
80524
80944
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
80525
- relative_humidity?: number | undefined
80945
+ relative_humidity?: (number | null) | undefined
80526
80946
  /** HVAC mode settings that the thermostat supports. */
80527
80947
  available_hvac_mode_settings?:
80528
80948
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -81597,6 +82017,7 @@ export type Routes = {
81597
82017
  | 'unifi_protect_camera'
81598
82018
  )
81599
82019
  | 'sonos_speaker'
82020
+ | 'alertify_sensor'
81600
82021
  /** IDs of the spaces the device is in. */
81601
82022
  space_ids: string[]
81602
82023
  /** Optional nickname to describe the device, settable through Seam. */
@@ -81705,9 +82126,58 @@ export type Routes = {
81705
82126
  * @deprecated use offline_access_codes_enabled*/
81706
82127
  supports_offline_access_codes?: boolean | undefined
81707
82128
  /** Indicates current noise level in decibels, if the device supports noise detection. */
81708
- noise_level_decibels?: number | undefined
82129
+ noise_level_decibels?: (number | null) | undefined
81709
82130
  /** Array of noise threshold IDs that are currently triggering. */
81710
82131
  currently_triggering_noise_threshold_ids?: string[] | undefined
82132
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
82133
+ noise_level_nrs?: (number | null) | undefined
82134
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
82135
+ co2_ppm?: (number | null) | undefined
82136
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
82137
+ co_ppm?: (number | null) | undefined
82138
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
82139
+ air_quality_index?: (number | null) | undefined
82140
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
82141
+ mold_risk_level?: (string | null) | undefined
82142
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
82143
+ is_occupied?: (boolean | null) | undefined
82144
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
82145
+ occupant_count?: (number | null) | undefined
82146
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
82147
+ is_smoking_detected?: (boolean | null) | undefined
82148
+ /** 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. */
82149
+ named_sensors?:
82150
+ | {
82151
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
82152
+ sensor_name: string
82153
+ /** Display name of the sensor. Defaults to `sensor_name`. */
82154
+ display_name: string
82155
+ /** Reported temperature in °C. `null` until the first value arrives. */
82156
+ temperature_celsius?: (number | null) | undefined
82157
+ /** Reported temperature in °F. `null` until the first value arrives. */
82158
+ temperature_fahrenheit?: (number | null) | undefined
82159
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
82160
+ relative_humidity?: (number | null) | undefined
82161
+ /** Noise level in decibels. `null` until the first value arrives. */
82162
+ noise_level_decibels?: (number | null) | undefined
82163
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
82164
+ noise_level_nrs?: (number | null) | undefined
82165
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
82166
+ co2_ppm?: (number | null) | undefined
82167
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
82168
+ co_ppm?: (number | null) | undefined
82169
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
82170
+ air_quality_index?: (number | null) | undefined
82171
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
82172
+ mold_risk_level?: (string | null) | undefined
82173
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
82174
+ is_occupied?: (boolean | null) | undefined
82175
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
82176
+ occupant_count?: (number | null) | undefined
82177
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
82178
+ is_smoking_detected?: (boolean | null) | undefined
82179
+ }[]
82180
+ | undefined
81711
82181
  } & {
81712
82182
  /** ASSA ABLOY Credential Service metadata for the phone. */
81713
82183
  assa_abloy_credential_service_metadata?:
@@ -82449,6 +82919,24 @@ export type Routes = {
82449
82919
  | undefined
82450
82920
  )
82451
82921
  | undefined
82922
+ /** Metadata for an Alertify sensor. */
82923
+ alertify_metadata?:
82924
+ | (
82925
+ | {
82926
+ /** Device ID reported by Alertify. */
82927
+ device_id?: (string | undefined) | undefined
82928
+ /** Device name, as set in the Alertify dashboard. */
82929
+ device_name?: (string | undefined) | undefined
82930
+ /** ID of the Alertify unit where the device is installed. */
82931
+ unit_id?: (string | undefined) | undefined
82932
+ /** Name of the Alertify unit where the device is installed. */
82933
+ unit_name?: (string | undefined) | undefined
82934
+ /** ID of the Alertify building that contains the unit. */
82935
+ building_id?: ((string | null) | undefined) | undefined
82936
+ }
82937
+ | undefined
82938
+ )
82939
+ | undefined
82452
82940
  /** Metadata for a UniFi Protect camera. */
82453
82941
  unifi_protect_metadata?:
82454
82942
  | (
@@ -82747,11 +83235,11 @@ export type Routes = {
82747
83235
  | undefined
82748
83236
  } & {
82749
83237
  /** Reported temperature in °F. */
82750
- temperature_fahrenheit?: number | undefined
83238
+ temperature_fahrenheit?: (number | null) | undefined
82751
83239
  /** Reported temperature in °C. */
82752
- temperature_celsius?: number | undefined
83240
+ temperature_celsius?: (number | null) | undefined
82753
83241
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
82754
- relative_humidity?: number | undefined
83242
+ relative_humidity?: (number | null) | undefined
82755
83243
  /** HVAC mode settings that the thermostat supports. */
82756
83244
  available_hvac_mode_settings?:
82757
83245
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -83687,6 +84175,7 @@ export type Routes = {
83687
84175
  | 'unifi_protect_camera'
83688
84176
  )
83689
84177
  | 'sonos_speaker'
84178
+ | 'alertify_sensor'
83690
84179
  /** IDs of the spaces the device is in. */
83691
84180
  space_ids: string[]
83692
84181
  /** Optional nickname to describe the device, settable through Seam. */
@@ -83795,9 +84284,58 @@ export type Routes = {
83795
84284
  * @deprecated use offline_access_codes_enabled*/
83796
84285
  supports_offline_access_codes?: boolean | undefined
83797
84286
  /** Indicates current noise level in decibels, if the device supports noise detection. */
83798
- noise_level_decibels?: number | undefined
84287
+ noise_level_decibels?: (number | null) | undefined
83799
84288
  /** Array of noise threshold IDs that are currently triggering. */
83800
84289
  currently_triggering_noise_threshold_ids?: string[] | undefined
84290
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
84291
+ noise_level_nrs?: (number | null) | undefined
84292
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
84293
+ co2_ppm?: (number | null) | undefined
84294
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
84295
+ co_ppm?: (number | null) | undefined
84296
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
84297
+ air_quality_index?: (number | null) | undefined
84298
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
84299
+ mold_risk_level?: (string | null) | undefined
84300
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
84301
+ is_occupied?: (boolean | null) | undefined
84302
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
84303
+ occupant_count?: (number | null) | undefined
84304
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
84305
+ is_smoking_detected?: (boolean | null) | undefined
84306
+ /** 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. */
84307
+ named_sensors?:
84308
+ | {
84309
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
84310
+ sensor_name: string
84311
+ /** Display name of the sensor. Defaults to `sensor_name`. */
84312
+ display_name: string
84313
+ /** Reported temperature in °C. `null` until the first value arrives. */
84314
+ temperature_celsius?: (number | null) | undefined
84315
+ /** Reported temperature in °F. `null` until the first value arrives. */
84316
+ temperature_fahrenheit?: (number | null) | undefined
84317
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
84318
+ relative_humidity?: (number | null) | undefined
84319
+ /** Noise level in decibels. `null` until the first value arrives. */
84320
+ noise_level_decibels?: (number | null) | undefined
84321
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
84322
+ noise_level_nrs?: (number | null) | undefined
84323
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
84324
+ co2_ppm?: (number | null) | undefined
84325
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
84326
+ co_ppm?: (number | null) | undefined
84327
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
84328
+ air_quality_index?: (number | null) | undefined
84329
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
84330
+ mold_risk_level?: (string | null) | undefined
84331
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
84332
+ is_occupied?: (boolean | null) | undefined
84333
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
84334
+ occupant_count?: (number | null) | undefined
84335
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
84336
+ is_smoking_detected?: (boolean | null) | undefined
84337
+ }[]
84338
+ | undefined
83801
84339
  } & {
83802
84340
  /** ASSA ABLOY Credential Service metadata for the phone. */
83803
84341
  assa_abloy_credential_service_metadata?:
@@ -84539,6 +85077,24 @@ export type Routes = {
84539
85077
  | undefined
84540
85078
  )
84541
85079
  | undefined
85080
+ /** Metadata for an Alertify sensor. */
85081
+ alertify_metadata?:
85082
+ | (
85083
+ | {
85084
+ /** Device ID reported by Alertify. */
85085
+ device_id?: (string | undefined) | undefined
85086
+ /** Device name, as set in the Alertify dashboard. */
85087
+ device_name?: (string | undefined) | undefined
85088
+ /** ID of the Alertify unit where the device is installed. */
85089
+ unit_id?: (string | undefined) | undefined
85090
+ /** Name of the Alertify unit where the device is installed. */
85091
+ unit_name?: (string | undefined) | undefined
85092
+ /** ID of the Alertify building that contains the unit. */
85093
+ building_id?: ((string | null) | undefined) | undefined
85094
+ }
85095
+ | undefined
85096
+ )
85097
+ | undefined
84542
85098
  /** Metadata for a UniFi Protect camera. */
84543
85099
  unifi_protect_metadata?:
84544
85100
  | (
@@ -84837,11 +85393,11 @@ export type Routes = {
84837
85393
  | undefined
84838
85394
  } & {
84839
85395
  /** Reported temperature in °F. */
84840
- temperature_fahrenheit?: number | undefined
85396
+ temperature_fahrenheit?: (number | null) | undefined
84841
85397
  /** Reported temperature in °C. */
84842
- temperature_celsius?: number | undefined
85398
+ temperature_celsius?: (number | null) | undefined
84843
85399
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
84844
- relative_humidity?: number | undefined
85400
+ relative_humidity?: (number | null) | undefined
84845
85401
  /** HVAC mode settings that the thermostat supports. */
84846
85402
  available_hvac_mode_settings?:
84847
85403
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -95963,7 +96519,7 @@ export type Routes = {
95963
96519
  /** Device types of the noise sensors that you want to list. */
95964
96520
  device_types?: ('noiseaware_activity_zone' | 'minut_sensor')[] | undefined
95965
96521
  /** Manufacturers of the noise sensors that you want to list. */
95966
- manufacturer?: ('minut' | 'noiseaware') | undefined
96522
+ manufacturer?: ('minut' | 'noiseaware' | 'alertify') | undefined
95967
96523
  }
95968
96524
  formData: {}
95969
96525
  jsonResponse: {
@@ -96028,6 +96584,7 @@ export type Routes = {
96028
96584
  | 'unifi_protect_camera'
96029
96585
  )
96030
96586
  | 'sonos_speaker'
96587
+ | 'alertify_sensor'
96031
96588
  /** IDs of the spaces the device is in. */
96032
96589
  space_ids: string[]
96033
96590
  /** Optional nickname to describe the device, settable through Seam. */
@@ -96136,9 +96693,58 @@ export type Routes = {
96136
96693
  * @deprecated use offline_access_codes_enabled*/
96137
96694
  supports_offline_access_codes?: boolean | undefined
96138
96695
  /** Indicates current noise level in decibels, if the device supports noise detection. */
96139
- noise_level_decibels?: number | undefined
96696
+ noise_level_decibels?: (number | null) | undefined
96140
96697
  /** Array of noise threshold IDs that are currently triggering. */
96141
96698
  currently_triggering_noise_threshold_ids?: string[] | undefined
96699
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
96700
+ noise_level_nrs?: (number | null) | undefined
96701
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
96702
+ co2_ppm?: (number | null) | undefined
96703
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
96704
+ co_ppm?: (number | null) | undefined
96705
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
96706
+ air_quality_index?: (number | null) | undefined
96707
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
96708
+ mold_risk_level?: (string | null) | undefined
96709
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
96710
+ is_occupied?: (boolean | null) | undefined
96711
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
96712
+ occupant_count?: (number | null) | undefined
96713
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
96714
+ is_smoking_detected?: (boolean | null) | undefined
96715
+ /** 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. */
96716
+ named_sensors?:
96717
+ | {
96718
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
96719
+ sensor_name: string
96720
+ /** Display name of the sensor. Defaults to `sensor_name`. */
96721
+ display_name: string
96722
+ /** Reported temperature in °C. `null` until the first value arrives. */
96723
+ temperature_celsius?: (number | null) | undefined
96724
+ /** Reported temperature in °F. `null` until the first value arrives. */
96725
+ temperature_fahrenheit?: (number | null) | undefined
96726
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
96727
+ relative_humidity?: (number | null) | undefined
96728
+ /** Noise level in decibels. `null` until the first value arrives. */
96729
+ noise_level_decibels?: (number | null) | undefined
96730
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
96731
+ noise_level_nrs?: (number | null) | undefined
96732
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
96733
+ co2_ppm?: (number | null) | undefined
96734
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
96735
+ co_ppm?: (number | null) | undefined
96736
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
96737
+ air_quality_index?: (number | null) | undefined
96738
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
96739
+ mold_risk_level?: (string | null) | undefined
96740
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
96741
+ is_occupied?: (boolean | null) | undefined
96742
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
96743
+ occupant_count?: (number | null) | undefined
96744
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
96745
+ is_smoking_detected?: (boolean | null) | undefined
96746
+ }[]
96747
+ | undefined
96142
96748
  } & {
96143
96749
  /** ASSA ABLOY Credential Service metadata for the phone. */
96144
96750
  assa_abloy_credential_service_metadata?:
@@ -96880,6 +97486,24 @@ export type Routes = {
96880
97486
  | undefined
96881
97487
  )
96882
97488
  | undefined
97489
+ /** Metadata for an Alertify sensor. */
97490
+ alertify_metadata?:
97491
+ | (
97492
+ | {
97493
+ /** Device ID reported by Alertify. */
97494
+ device_id?: (string | undefined) | undefined
97495
+ /** Device name, as set in the Alertify dashboard. */
97496
+ device_name?: (string | undefined) | undefined
97497
+ /** ID of the Alertify unit where the device is installed. */
97498
+ unit_id?: (string | undefined) | undefined
97499
+ /** Name of the Alertify unit where the device is installed. */
97500
+ unit_name?: (string | undefined) | undefined
97501
+ /** ID of the Alertify building that contains the unit. */
97502
+ building_id?: ((string | null) | undefined) | undefined
97503
+ }
97504
+ | undefined
97505
+ )
97506
+ | undefined
96883
97507
  /** Metadata for a UniFi Protect camera. */
96884
97508
  unifi_protect_metadata?:
96885
97509
  | (
@@ -97178,11 +97802,11 @@ export type Routes = {
97178
97802
  | undefined
97179
97803
  } & {
97180
97804
  /** Reported temperature in °F. */
97181
- temperature_fahrenheit?: number | undefined
97805
+ temperature_fahrenheit?: (number | null) | undefined
97182
97806
  /** Reported temperature in °C. */
97183
- temperature_celsius?: number | undefined
97807
+ temperature_celsius?: (number | null) | undefined
97184
97808
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
97185
- relative_humidity?: number | undefined
97809
+ relative_humidity?: (number | null) | undefined
97186
97810
  /** HVAC mode settings that the thermostat supports. */
97187
97811
  available_hvac_mode_settings?:
97188
97812
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -98118,6 +98742,7 @@ export type Routes = {
98118
98742
  | 'unifi_protect_camera'
98119
98743
  )
98120
98744
  | 'sonos_speaker'
98745
+ | 'alertify_sensor'
98121
98746
  /** IDs of the spaces the device is in. */
98122
98747
  space_ids: string[]
98123
98748
  /** Optional nickname to describe the device, settable through Seam. */
@@ -98226,9 +98851,58 @@ export type Routes = {
98226
98851
  * @deprecated use offline_access_codes_enabled*/
98227
98852
  supports_offline_access_codes?: boolean | undefined
98228
98853
  /** Indicates current noise level in decibels, if the device supports noise detection. */
98229
- noise_level_decibels?: number | undefined
98854
+ noise_level_decibels?: (number | null) | undefined
98230
98855
  /** Array of noise threshold IDs that are currently triggering. */
98231
98856
  currently_triggering_noise_threshold_ids?: string[] | undefined
98857
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
98858
+ noise_level_nrs?: (number | null) | undefined
98859
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
98860
+ co2_ppm?: (number | null) | undefined
98861
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
98862
+ co_ppm?: (number | null) | undefined
98863
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
98864
+ air_quality_index?: (number | null) | undefined
98865
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
98866
+ mold_risk_level?: (string | null) | undefined
98867
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
98868
+ is_occupied?: (boolean | null) | undefined
98869
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
98870
+ occupant_count?: (number | null) | undefined
98871
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
98872
+ is_smoking_detected?: (boolean | null) | undefined
98873
+ /** 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. */
98874
+ named_sensors?:
98875
+ | {
98876
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
98877
+ sensor_name: string
98878
+ /** Display name of the sensor. Defaults to `sensor_name`. */
98879
+ display_name: string
98880
+ /** Reported temperature in °C. `null` until the first value arrives. */
98881
+ temperature_celsius?: (number | null) | undefined
98882
+ /** Reported temperature in °F. `null` until the first value arrives. */
98883
+ temperature_fahrenheit?: (number | null) | undefined
98884
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
98885
+ relative_humidity?: (number | null) | undefined
98886
+ /** Noise level in decibels. `null` until the first value arrives. */
98887
+ noise_level_decibels?: (number | null) | undefined
98888
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
98889
+ noise_level_nrs?: (number | null) | undefined
98890
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
98891
+ co2_ppm?: (number | null) | undefined
98892
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
98893
+ co_ppm?: (number | null) | undefined
98894
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
98895
+ air_quality_index?: (number | null) | undefined
98896
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
98897
+ mold_risk_level?: (string | null) | undefined
98898
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
98899
+ is_occupied?: (boolean | null) | undefined
98900
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
98901
+ occupant_count?: (number | null) | undefined
98902
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
98903
+ is_smoking_detected?: (boolean | null) | undefined
98904
+ }[]
98905
+ | undefined
98232
98906
  } & {
98233
98907
  /** ASSA ABLOY Credential Service metadata for the phone. */
98234
98908
  assa_abloy_credential_service_metadata?:
@@ -98970,6 +99644,24 @@ export type Routes = {
98970
99644
  | undefined
98971
99645
  )
98972
99646
  | undefined
99647
+ /** Metadata for an Alertify sensor. */
99648
+ alertify_metadata?:
99649
+ | (
99650
+ | {
99651
+ /** Device ID reported by Alertify. */
99652
+ device_id?: (string | undefined) | undefined
99653
+ /** Device name, as set in the Alertify dashboard. */
99654
+ device_name?: (string | undefined) | undefined
99655
+ /** ID of the Alertify unit where the device is installed. */
99656
+ unit_id?: (string | undefined) | undefined
99657
+ /** Name of the Alertify unit where the device is installed. */
99658
+ unit_name?: (string | undefined) | undefined
99659
+ /** ID of the Alertify building that contains the unit. */
99660
+ building_id?: ((string | null) | undefined) | undefined
99661
+ }
99662
+ | undefined
99663
+ )
99664
+ | undefined
98973
99665
  /** Metadata for a UniFi Protect camera. */
98974
99666
  unifi_protect_metadata?:
98975
99667
  | (
@@ -99268,11 +99960,11 @@ export type Routes = {
99268
99960
  | undefined
99269
99961
  } & {
99270
99962
  /** Reported temperature in °F. */
99271
- temperature_fahrenheit?: number | undefined
99963
+ temperature_fahrenheit?: (number | null) | undefined
99272
99964
  /** Reported temperature in °C. */
99273
- temperature_celsius?: number | undefined
99965
+ temperature_celsius?: (number | null) | undefined
99274
99966
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
99275
- relative_humidity?: number | undefined
99967
+ relative_humidity?: (number | null) | undefined
99276
99968
  /** HVAC mode settings that the thermostat supports. */
99277
99969
  available_hvac_mode_settings?:
99278
99970
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -127813,6 +128505,7 @@ export type Routes = {
127813
128505
  | 'unifi_protect_camera'
127814
128506
  )
127815
128507
  | 'sonos_speaker'
128508
+ | 'alertify_sensor'
127816
128509
  /** IDs of the spaces the device is in. */
127817
128510
  space_ids: string[]
127818
128511
  /** Optional nickname to describe the device, settable through Seam. */
@@ -127921,9 +128614,58 @@ export type Routes = {
127921
128614
  * @deprecated use offline_access_codes_enabled*/
127922
128615
  supports_offline_access_codes?: boolean | undefined
127923
128616
  /** Indicates current noise level in decibels, if the device supports noise detection. */
127924
- noise_level_decibels?: number | undefined
128617
+ noise_level_decibels?: (number | null) | undefined
127925
128618
  /** Array of noise threshold IDs that are currently triggering. */
127926
128619
  currently_triggering_noise_threshold_ids?: string[] | undefined
128620
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
128621
+ noise_level_nrs?: (number | null) | undefined
128622
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
128623
+ co2_ppm?: (number | null) | undefined
128624
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
128625
+ co_ppm?: (number | null) | undefined
128626
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
128627
+ air_quality_index?: (number | null) | undefined
128628
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
128629
+ mold_risk_level?: (string | null) | undefined
128630
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
128631
+ is_occupied?: (boolean | null) | undefined
128632
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
128633
+ occupant_count?: (number | null) | undefined
128634
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
128635
+ is_smoking_detected?: (boolean | null) | undefined
128636
+ /** 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. */
128637
+ named_sensors?:
128638
+ | {
128639
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
128640
+ sensor_name: string
128641
+ /** Display name of the sensor. Defaults to `sensor_name`. */
128642
+ display_name: string
128643
+ /** Reported temperature in °C. `null` until the first value arrives. */
128644
+ temperature_celsius?: (number | null) | undefined
128645
+ /** Reported temperature in °F. `null` until the first value arrives. */
128646
+ temperature_fahrenheit?: (number | null) | undefined
128647
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
128648
+ relative_humidity?: (number | null) | undefined
128649
+ /** Noise level in decibels. `null` until the first value arrives. */
128650
+ noise_level_decibels?: (number | null) | undefined
128651
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
128652
+ noise_level_nrs?: (number | null) | undefined
128653
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
128654
+ co2_ppm?: (number | null) | undefined
128655
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
128656
+ co_ppm?: (number | null) | undefined
128657
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
128658
+ air_quality_index?: (number | null) | undefined
128659
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
128660
+ mold_risk_level?: (string | null) | undefined
128661
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
128662
+ is_occupied?: (boolean | null) | undefined
128663
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
128664
+ occupant_count?: (number | null) | undefined
128665
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
128666
+ is_smoking_detected?: (boolean | null) | undefined
128667
+ }[]
128668
+ | undefined
127927
128669
  } & {
127928
128670
  /** ASSA ABLOY Credential Service metadata for the phone. */
127929
128671
  assa_abloy_credential_service_metadata?:
@@ -128690,6 +129432,25 @@ export type Routes = {
128690
129432
  | undefined
128691
129433
  )
128692
129434
  | undefined
129435
+ /** Metadata for an Alertify sensor. */
129436
+ alertify_metadata?:
129437
+ | (
129438
+ | {
129439
+ /** Device ID reported by Alertify. */
129440
+ device_id?: (string | undefined) | undefined
129441
+ /** Device name, as set in the Alertify dashboard. */
129442
+ device_name?: (string | undefined) | undefined
129443
+ /** ID of the Alertify unit where the device is installed. */
129444
+ unit_id?: (string | undefined) | undefined
129445
+ /** Name of the Alertify unit where the device is installed. */
129446
+ unit_name?: (string | undefined) | undefined
129447
+ /** ID of the Alertify building that contains the unit. */
129448
+ building_id?:
129449
+ ((string | null) | undefined) | undefined
129450
+ }
129451
+ | undefined
129452
+ )
129453
+ | undefined
128693
129454
  /** Metadata for a UniFi Protect camera. */
128694
129455
  unifi_protect_metadata?:
128695
129456
  | (
@@ -128997,11 +129758,11 @@ export type Routes = {
128997
129758
  | undefined
128998
129759
  } & {
128999
129760
  /** Reported temperature in °F. */
129000
- temperature_fahrenheit?: number | undefined
129761
+ temperature_fahrenheit?: (number | null) | undefined
129001
129762
  /** Reported temperature in °C. */
129002
- temperature_celsius?: number | undefined
129763
+ temperature_celsius?: (number | null) | undefined
129003
129764
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
129004
- relative_humidity?: number | undefined
129765
+ relative_humidity?: (number | null) | undefined
129005
129766
  /** HVAC mode settings that the thermostat supports. */
129006
129767
  available_hvac_mode_settings?:
129007
129768
  | ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[]
@@ -161860,6 +162621,7 @@ export type Routes = {
161860
162621
  | 'unifi_protect_camera'
161861
162622
  )
161862
162623
  | 'sonos_speaker'
162624
+ | 'alertify_sensor'
161863
162625
  /** IDs of the spaces the device is in. */
161864
162626
  space_ids: string[]
161865
162627
  /** Optional nickname to describe the device, settable through Seam. */
@@ -161968,9 +162730,58 @@ export type Routes = {
161968
162730
  * @deprecated use offline_access_codes_enabled*/
161969
162731
  supports_offline_access_codes?: boolean | undefined
161970
162732
  /** Indicates current noise level in decibels, if the device supports noise detection. */
161971
- noise_level_decibels?: number | undefined
162733
+ noise_level_decibels?: (number | null) | undefined
161972
162734
  /** Array of noise threshold IDs that are currently triggering. */
161973
162735
  currently_triggering_noise_threshold_ids?: string[] | undefined
162736
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
162737
+ noise_level_nrs?: (number | null) | undefined
162738
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
162739
+ co2_ppm?: (number | null) | undefined
162740
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
162741
+ co_ppm?: (number | null) | undefined
162742
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
162743
+ air_quality_index?: (number | null) | undefined
162744
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
162745
+ mold_risk_level?: (string | null) | undefined
162746
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
162747
+ is_occupied?: (boolean | null) | undefined
162748
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
162749
+ occupant_count?: (number | null) | undefined
162750
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
162751
+ is_smoking_detected?: (boolean | null) | undefined
162752
+ /** 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. */
162753
+ named_sensors?:
162754
+ | {
162755
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
162756
+ sensor_name: string
162757
+ /** Display name of the sensor. Defaults to `sensor_name`. */
162758
+ display_name: string
162759
+ /** Reported temperature in °C. `null` until the first value arrives. */
162760
+ temperature_celsius?: (number | null) | undefined
162761
+ /** Reported temperature in °F. `null` until the first value arrives. */
162762
+ temperature_fahrenheit?: (number | null) | undefined
162763
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
162764
+ relative_humidity?: (number | null) | undefined
162765
+ /** Noise level in decibels. `null` until the first value arrives. */
162766
+ noise_level_decibels?: (number | null) | undefined
162767
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
162768
+ noise_level_nrs?: (number | null) | undefined
162769
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
162770
+ co2_ppm?: (number | null) | undefined
162771
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
162772
+ co_ppm?: (number | null) | undefined
162773
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
162774
+ air_quality_index?: (number | null) | undefined
162775
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
162776
+ mold_risk_level?: (string | null) | undefined
162777
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
162778
+ is_occupied?: (boolean | null) | undefined
162779
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
162780
+ occupant_count?: (number | null) | undefined
162781
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
162782
+ is_smoking_detected?: (boolean | null) | undefined
162783
+ }[]
162784
+ | undefined
161974
162785
  } & {
161975
162786
  /** ASSA ABLOY Credential Service metadata for the phone. */
161976
162787
  assa_abloy_credential_service_metadata?:
@@ -162712,6 +163523,24 @@ export type Routes = {
162712
163523
  | undefined
162713
163524
  )
162714
163525
  | undefined
163526
+ /** Metadata for an Alertify sensor. */
163527
+ alertify_metadata?:
163528
+ | (
163529
+ | {
163530
+ /** Device ID reported by Alertify. */
163531
+ device_id?: (string | undefined) | undefined
163532
+ /** Device name, as set in the Alertify dashboard. */
163533
+ device_name?: (string | undefined) | undefined
163534
+ /** ID of the Alertify unit where the device is installed. */
163535
+ unit_id?: (string | undefined) | undefined
163536
+ /** Name of the Alertify unit where the device is installed. */
163537
+ unit_name?: (string | undefined) | undefined
163538
+ /** ID of the Alertify building that contains the unit. */
163539
+ building_id?: ((string | null) | undefined) | undefined
163540
+ }
163541
+ | undefined
163542
+ )
163543
+ | undefined
162715
163544
  /** Metadata for a UniFi Protect camera. */
162716
163545
  unifi_protect_metadata?:
162717
163546
  | (
@@ -163010,11 +163839,11 @@ export type Routes = {
163010
163839
  | undefined
163011
163840
  } & {
163012
163841
  /** Reported temperature in °F. */
163013
- temperature_fahrenheit?: number | undefined
163842
+ temperature_fahrenheit?: (number | null) | undefined
163014
163843
  /** Reported temperature in °C. */
163015
- temperature_celsius?: number | undefined
163844
+ temperature_celsius?: (number | null) | undefined
163016
163845
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
163017
- relative_humidity?: number | undefined
163846
+ relative_humidity?: (number | null) | undefined
163018
163847
  /** HVAC mode settings that the thermostat supports. */
163019
163848
  available_hvac_mode_settings?:
163020
163849
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -169107,6 +169936,7 @@ export type Routes = {
169107
169936
  | 'unifi_protect_camera'
169108
169937
  )
169109
169938
  | 'sonos_speaker'
169939
+ | 'alertify_sensor'
169110
169940
  /** IDs of the spaces the device is in. */
169111
169941
  space_ids: string[]
169112
169942
  /** Optional nickname to describe the device, settable through Seam. */
@@ -169215,9 +170045,58 @@ export type Routes = {
169215
170045
  * @deprecated use offline_access_codes_enabled*/
169216
170046
  supports_offline_access_codes?: boolean | undefined
169217
170047
  /** Indicates current noise level in decibels, if the device supports noise detection. */
169218
- noise_level_decibels?: number | undefined
170048
+ noise_level_decibels?: (number | null) | undefined
169219
170049
  /** Array of noise threshold IDs that are currently triggering. */
169220
170050
  currently_triggering_noise_threshold_ids?: string[] | undefined
170051
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
170052
+ noise_level_nrs?: (number | null) | undefined
170053
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
170054
+ co2_ppm?: (number | null) | undefined
170055
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
170056
+ co_ppm?: (number | null) | undefined
170057
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
170058
+ air_quality_index?: (number | null) | undefined
170059
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
170060
+ mold_risk_level?: (string | null) | undefined
170061
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
170062
+ is_occupied?: (boolean | null) | undefined
170063
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
170064
+ occupant_count?: (number | null) | undefined
170065
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
170066
+ is_smoking_detected?: (boolean | null) | undefined
170067
+ /** 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. */
170068
+ named_sensors?:
170069
+ | {
170070
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
170071
+ sensor_name: string
170072
+ /** Display name of the sensor. Defaults to `sensor_name`. */
170073
+ display_name: string
170074
+ /** Reported temperature in °C. `null` until the first value arrives. */
170075
+ temperature_celsius?: (number | null) | undefined
170076
+ /** Reported temperature in °F. `null` until the first value arrives. */
170077
+ temperature_fahrenheit?: (number | null) | undefined
170078
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
170079
+ relative_humidity?: (number | null) | undefined
170080
+ /** Noise level in decibels. `null` until the first value arrives. */
170081
+ noise_level_decibels?: (number | null) | undefined
170082
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
170083
+ noise_level_nrs?: (number | null) | undefined
170084
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
170085
+ co2_ppm?: (number | null) | undefined
170086
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
170087
+ co_ppm?: (number | null) | undefined
170088
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
170089
+ air_quality_index?: (number | null) | undefined
170090
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
170091
+ mold_risk_level?: (string | null) | undefined
170092
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
170093
+ is_occupied?: (boolean | null) | undefined
170094
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
170095
+ occupant_count?: (number | null) | undefined
170096
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
170097
+ is_smoking_detected?: (boolean | null) | undefined
170098
+ }[]
170099
+ | undefined
169221
170100
  } & {
169222
170101
  /** ASSA ABLOY Credential Service metadata for the phone. */
169223
170102
  assa_abloy_credential_service_metadata?:
@@ -169959,6 +170838,24 @@ export type Routes = {
169959
170838
  | undefined
169960
170839
  )
169961
170840
  | undefined
170841
+ /** Metadata for an Alertify sensor. */
170842
+ alertify_metadata?:
170843
+ | (
170844
+ | {
170845
+ /** Device ID reported by Alertify. */
170846
+ device_id?: (string | undefined) | undefined
170847
+ /** Device name, as set in the Alertify dashboard. */
170848
+ device_name?: (string | undefined) | undefined
170849
+ /** ID of the Alertify unit where the device is installed. */
170850
+ unit_id?: (string | undefined) | undefined
170851
+ /** Name of the Alertify unit where the device is installed. */
170852
+ unit_name?: (string | undefined) | undefined
170853
+ /** ID of the Alertify building that contains the unit. */
170854
+ building_id?: ((string | null) | undefined) | undefined
170855
+ }
170856
+ | undefined
170857
+ )
170858
+ | undefined
169962
170859
  /** Metadata for a UniFi Protect camera. */
169963
170860
  unifi_protect_metadata?:
169964
170861
  | (
@@ -170257,11 +171154,11 @@ export type Routes = {
170257
171154
  | undefined
170258
171155
  } & {
170259
171156
  /** Reported temperature in °F. */
170260
- temperature_fahrenheit?: number | undefined
171157
+ temperature_fahrenheit?: (number | null) | undefined
170261
171158
  /** Reported temperature in °C. */
170262
- temperature_celsius?: number | undefined
171159
+ temperature_celsius?: (number | null) | undefined
170263
171160
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
170264
- relative_humidity?: number | undefined
171161
+ relative_humidity?: (number | null) | undefined
170265
171162
  /** HVAC mode settings that the thermostat supports. */
170266
171163
  available_hvac_mode_settings?:
170267
171164
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -171197,6 +172094,7 @@ export type Routes = {
171197
172094
  | 'unifi_protect_camera'
171198
172095
  )
171199
172096
  | 'sonos_speaker'
172097
+ | 'alertify_sensor'
171200
172098
  /** IDs of the spaces the device is in. */
171201
172099
  space_ids: string[]
171202
172100
  /** Optional nickname to describe the device, settable through Seam. */
@@ -171305,9 +172203,58 @@ export type Routes = {
171305
172203
  * @deprecated use offline_access_codes_enabled*/
171306
172204
  supports_offline_access_codes?: boolean | undefined
171307
172205
  /** Indicates current noise level in decibels, if the device supports noise detection. */
171308
- noise_level_decibels?: number | undefined
172206
+ noise_level_decibels?: (number | null) | undefined
171309
172207
  /** Array of noise threshold IDs that are currently triggering. */
171310
172208
  currently_triggering_noise_threshold_ids?: string[] | undefined
172209
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
172210
+ noise_level_nrs?: (number | null) | undefined
172211
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
172212
+ co2_ppm?: (number | null) | undefined
172213
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
172214
+ co_ppm?: (number | null) | undefined
172215
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
172216
+ air_quality_index?: (number | null) | undefined
172217
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
172218
+ mold_risk_level?: (string | null) | undefined
172219
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
172220
+ is_occupied?: (boolean | null) | undefined
172221
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
172222
+ occupant_count?: (number | null) | undefined
172223
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
172224
+ is_smoking_detected?: (boolean | null) | undefined
172225
+ /** 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. */
172226
+ named_sensors?:
172227
+ | {
172228
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
172229
+ sensor_name: string
172230
+ /** Display name of the sensor. Defaults to `sensor_name`. */
172231
+ display_name: string
172232
+ /** Reported temperature in °C. `null` until the first value arrives. */
172233
+ temperature_celsius?: (number | null) | undefined
172234
+ /** Reported temperature in °F. `null` until the first value arrives. */
172235
+ temperature_fahrenheit?: (number | null) | undefined
172236
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
172237
+ relative_humidity?: (number | null) | undefined
172238
+ /** Noise level in decibels. `null` until the first value arrives. */
172239
+ noise_level_decibels?: (number | null) | undefined
172240
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
172241
+ noise_level_nrs?: (number | null) | undefined
172242
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
172243
+ co2_ppm?: (number | null) | undefined
172244
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
172245
+ co_ppm?: (number | null) | undefined
172246
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
172247
+ air_quality_index?: (number | null) | undefined
172248
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
172249
+ mold_risk_level?: (string | null) | undefined
172250
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
172251
+ is_occupied?: (boolean | null) | undefined
172252
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
172253
+ occupant_count?: (number | null) | undefined
172254
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
172255
+ is_smoking_detected?: (boolean | null) | undefined
172256
+ }[]
172257
+ | undefined
171311
172258
  } & {
171312
172259
  /** ASSA ABLOY Credential Service metadata for the phone. */
171313
172260
  assa_abloy_credential_service_metadata?:
@@ -172049,6 +172996,24 @@ export type Routes = {
172049
172996
  | undefined
172050
172997
  )
172051
172998
  | undefined
172999
+ /** Metadata for an Alertify sensor. */
173000
+ alertify_metadata?:
173001
+ | (
173002
+ | {
173003
+ /** Device ID reported by Alertify. */
173004
+ device_id?: (string | undefined) | undefined
173005
+ /** Device name, as set in the Alertify dashboard. */
173006
+ device_name?: (string | undefined) | undefined
173007
+ /** ID of the Alertify unit where the device is installed. */
173008
+ unit_id?: (string | undefined) | undefined
173009
+ /** Name of the Alertify unit where the device is installed. */
173010
+ unit_name?: (string | undefined) | undefined
173011
+ /** ID of the Alertify building that contains the unit. */
173012
+ building_id?: ((string | null) | undefined) | undefined
173013
+ }
173014
+ | undefined
173015
+ )
173016
+ | undefined
172052
173017
  /** Metadata for a UniFi Protect camera. */
172053
173018
  unifi_protect_metadata?:
172054
173019
  | (
@@ -172347,11 +173312,11 @@ export type Routes = {
172347
173312
  | undefined
172348
173313
  } & {
172349
173314
  /** Reported temperature in °F. */
172350
- temperature_fahrenheit?: number | undefined
173315
+ temperature_fahrenheit?: (number | null) | undefined
172351
173316
  /** Reported temperature in °C. */
172352
- temperature_celsius?: number | undefined
173317
+ temperature_celsius?: (number | null) | undefined
172353
173318
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
172354
- relative_humidity?: number | undefined
173319
+ relative_humidity?: (number | null) | undefined
172355
173320
  /** HVAC mode settings that the thermostat supports. */
172356
173321
  available_hvac_mode_settings?:
172357
173322
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -184654,6 +185619,7 @@ export type Routes = {
184654
185619
  | 'unifi_protect_camera'
184655
185620
  )
184656
185621
  | 'sonos_speaker'
185622
+ | 'alertify_sensor'
184657
185623
  /** IDs of the spaces the device is in. */
184658
185624
  space_ids: string[]
184659
185625
  /** Optional nickname to describe the device, settable through Seam. */
@@ -184762,9 +185728,58 @@ export type Routes = {
184762
185728
  * @deprecated use offline_access_codes_enabled*/
184763
185729
  supports_offline_access_codes?: boolean | undefined
184764
185730
  /** Indicates current noise level in decibels, if the device supports noise detection. */
184765
- noise_level_decibels?: number | undefined
185731
+ noise_level_decibels?: (number | null) | undefined
184766
185732
  /** Array of noise threshold IDs that are currently triggering. */
184767
185733
  currently_triggering_noise_threshold_ids?: string[] | undefined
185734
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
185735
+ noise_level_nrs?: (number | null) | undefined
185736
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
185737
+ co2_ppm?: (number | null) | undefined
185738
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
185739
+ co_ppm?: (number | null) | undefined
185740
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
185741
+ air_quality_index?: (number | null) | undefined
185742
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
185743
+ mold_risk_level?: (string | null) | undefined
185744
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
185745
+ is_occupied?: (boolean | null) | undefined
185746
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
185747
+ occupant_count?: (number | null) | undefined
185748
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
185749
+ is_smoking_detected?: (boolean | null) | undefined
185750
+ /** 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. */
185751
+ named_sensors?:
185752
+ | {
185753
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
185754
+ sensor_name: string
185755
+ /** Display name of the sensor. Defaults to `sensor_name`. */
185756
+ display_name: string
185757
+ /** Reported temperature in °C. `null` until the first value arrives. */
185758
+ temperature_celsius?: (number | null) | undefined
185759
+ /** Reported temperature in °F. `null` until the first value arrives. */
185760
+ temperature_fahrenheit?: (number | null) | undefined
185761
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
185762
+ relative_humidity?: (number | null) | undefined
185763
+ /** Noise level in decibels. `null` until the first value arrives. */
185764
+ noise_level_decibels?: (number | null) | undefined
185765
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
185766
+ noise_level_nrs?: (number | null) | undefined
185767
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
185768
+ co2_ppm?: (number | null) | undefined
185769
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
185770
+ co_ppm?: (number | null) | undefined
185771
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
185772
+ air_quality_index?: (number | null) | undefined
185773
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
185774
+ mold_risk_level?: (string | null) | undefined
185775
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
185776
+ is_occupied?: (boolean | null) | undefined
185777
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
185778
+ occupant_count?: (number | null) | undefined
185779
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
185780
+ is_smoking_detected?: (boolean | null) | undefined
185781
+ }[]
185782
+ | undefined
184768
185783
  } & {
184769
185784
  /** ASSA ABLOY Credential Service metadata for the phone. */
184770
185785
  assa_abloy_credential_service_metadata?:
@@ -185506,6 +186521,24 @@ export type Routes = {
185506
186521
  | undefined
185507
186522
  )
185508
186523
  | undefined
186524
+ /** Metadata for an Alertify sensor. */
186525
+ alertify_metadata?:
186526
+ | (
186527
+ | {
186528
+ /** Device ID reported by Alertify. */
186529
+ device_id?: (string | undefined) | undefined
186530
+ /** Device name, as set in the Alertify dashboard. */
186531
+ device_name?: (string | undefined) | undefined
186532
+ /** ID of the Alertify unit where the device is installed. */
186533
+ unit_id?: (string | undefined) | undefined
186534
+ /** Name of the Alertify unit where the device is installed. */
186535
+ unit_name?: (string | undefined) | undefined
186536
+ /** ID of the Alertify building that contains the unit. */
186537
+ building_id?: ((string | null) | undefined) | undefined
186538
+ }
186539
+ | undefined
186540
+ )
186541
+ | undefined
185509
186542
  /** Metadata for a UniFi Protect camera. */
185510
186543
  unifi_protect_metadata?:
185511
186544
  | (
@@ -185804,11 +186837,11 @@ export type Routes = {
185804
186837
  | undefined
185805
186838
  } & {
185806
186839
  /** Reported temperature in °F. */
185807
- temperature_fahrenheit?: number | undefined
186840
+ temperature_fahrenheit?: (number | null) | undefined
185808
186841
  /** Reported temperature in °C. */
185809
- temperature_celsius?: number | undefined
186842
+ temperature_celsius?: (number | null) | undefined
185810
186843
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
185811
- relative_humidity?: number | undefined
186844
+ relative_humidity?: (number | null) | undefined
185812
186845
  /** HVAC mode settings that the thermostat supports. */
185813
186846
  available_hvac_mode_settings?:
185814
186847
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -186746,6 +187779,7 @@ export type Routes = {
186746
187779
  | 'unifi_protect_camera'
186747
187780
  )
186748
187781
  | 'sonos_speaker'
187782
+ | 'alertify_sensor'
186749
187783
  /** IDs of the spaces the device is in. */
186750
187784
  space_ids: string[]
186751
187785
  /** Optional nickname to describe the device, settable through Seam. */
@@ -186854,9 +187888,58 @@ export type Routes = {
186854
187888
  * @deprecated use offline_access_codes_enabled*/
186855
187889
  supports_offline_access_codes?: boolean | undefined
186856
187890
  /** Indicates current noise level in decibels, if the device supports noise detection. */
186857
- noise_level_decibels?: number | undefined
187891
+ noise_level_decibels?: (number | null) | undefined
186858
187892
  /** Array of noise threshold IDs that are currently triggering. */
186859
187893
  currently_triggering_noise_threshold_ids?: string[] | undefined
187894
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
187895
+ noise_level_nrs?: (number | null) | undefined
187896
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
187897
+ co2_ppm?: (number | null) | undefined
187898
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
187899
+ co_ppm?: (number | null) | undefined
187900
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
187901
+ air_quality_index?: (number | null) | undefined
187902
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
187903
+ mold_risk_level?: (string | null) | undefined
187904
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
187905
+ is_occupied?: (boolean | null) | undefined
187906
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
187907
+ occupant_count?: (number | null) | undefined
187908
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
187909
+ is_smoking_detected?: (boolean | null) | undefined
187910
+ /** 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. */
187911
+ named_sensors?:
187912
+ | {
187913
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
187914
+ sensor_name: string
187915
+ /** Display name of the sensor. Defaults to `sensor_name`. */
187916
+ display_name: string
187917
+ /** Reported temperature in °C. `null` until the first value arrives. */
187918
+ temperature_celsius?: (number | null) | undefined
187919
+ /** Reported temperature in °F. `null` until the first value arrives. */
187920
+ temperature_fahrenheit?: (number | null) | undefined
187921
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
187922
+ relative_humidity?: (number | null) | undefined
187923
+ /** Noise level in decibels. `null` until the first value arrives. */
187924
+ noise_level_decibels?: (number | null) | undefined
187925
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
187926
+ noise_level_nrs?: (number | null) | undefined
187927
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
187928
+ co2_ppm?: (number | null) | undefined
187929
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
187930
+ co_ppm?: (number | null) | undefined
187931
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
187932
+ air_quality_index?: (number | null) | undefined
187933
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
187934
+ mold_risk_level?: (string | null) | undefined
187935
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
187936
+ is_occupied?: (boolean | null) | undefined
187937
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
187938
+ occupant_count?: (number | null) | undefined
187939
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
187940
+ is_smoking_detected?: (boolean | null) | undefined
187941
+ }[]
187942
+ | undefined
186860
187943
  } & {
186861
187944
  /** ASSA ABLOY Credential Service metadata for the phone. */
186862
187945
  assa_abloy_credential_service_metadata?:
@@ -187598,6 +188681,24 @@ export type Routes = {
187598
188681
  | undefined
187599
188682
  )
187600
188683
  | undefined
188684
+ /** Metadata for an Alertify sensor. */
188685
+ alertify_metadata?:
188686
+ | (
188687
+ | {
188688
+ /** Device ID reported by Alertify. */
188689
+ device_id?: (string | undefined) | undefined
188690
+ /** Device name, as set in the Alertify dashboard. */
188691
+ device_name?: (string | undefined) | undefined
188692
+ /** ID of the Alertify unit where the device is installed. */
188693
+ unit_id?: (string | undefined) | undefined
188694
+ /** Name of the Alertify unit where the device is installed. */
188695
+ unit_name?: (string | undefined) | undefined
188696
+ /** ID of the Alertify building that contains the unit. */
188697
+ building_id?: ((string | null) | undefined) | undefined
188698
+ }
188699
+ | undefined
188700
+ )
188701
+ | undefined
187601
188702
  /** Metadata for a UniFi Protect camera. */
187602
188703
  unifi_protect_metadata?:
187603
188704
  | (
@@ -187896,11 +188997,11 @@ export type Routes = {
187896
188997
  | undefined
187897
188998
  } & {
187898
188999
  /** Reported temperature in °F. */
187899
- temperature_fahrenheit?: number | undefined
189000
+ temperature_fahrenheit?: (number | null) | undefined
187900
189001
  /** Reported temperature in °C. */
187901
- temperature_celsius?: number | undefined
189002
+ temperature_celsius?: (number | null) | undefined
187902
189003
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
187903
- relative_humidity?: number | undefined
189004
+ relative_humidity?: (number | null) | undefined
187904
189005
  /** HVAC mode settings that the thermostat supports. */
187905
189006
  available_hvac_mode_settings?:
187906
189007
  ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[] | undefined
@@ -191553,6 +192654,7 @@ export type Routes = {
191553
192654
  | 'unifi_protect_camera'
191554
192655
  )
191555
192656
  | 'sonos_speaker'
192657
+ | 'alertify_sensor'
191556
192658
  /** IDs of the spaces the device is in. */
191557
192659
  space_ids: string[]
191558
192660
  /** Optional nickname to describe the device, settable through Seam. */
@@ -191661,9 +192763,58 @@ export type Routes = {
191661
192763
  * @deprecated use offline_access_codes_enabled*/
191662
192764
  supports_offline_access_codes?: boolean | undefined
191663
192765
  /** Indicates current noise level in decibels, if the device supports noise detection. */
191664
- noise_level_decibels?: number | undefined
192766
+ noise_level_decibels?: (number | null) | undefined
191665
192767
  /** Array of noise threshold IDs that are currently triggering. */
191666
192768
  currently_triggering_noise_threshold_ids?: string[] | undefined
192769
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
192770
+ noise_level_nrs?: (number | null) | undefined
192771
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
192772
+ co2_ppm?: (number | null) | undefined
192773
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
192774
+ co_ppm?: (number | null) | undefined
192775
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
192776
+ air_quality_index?: (number | null) | undefined
192777
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
192778
+ mold_risk_level?: (string | null) | undefined
192779
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
192780
+ is_occupied?: (boolean | null) | undefined
192781
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
192782
+ occupant_count?: (number | null) | undefined
192783
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
192784
+ is_smoking_detected?: (boolean | null) | undefined
192785
+ /** 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. */
192786
+ named_sensors?:
192787
+ | {
192788
+ /** Stable, hardware-defined name of the sensor, such as a port number. */
192789
+ sensor_name: string
192790
+ /** Display name of the sensor. Defaults to `sensor_name`. */
192791
+ display_name: string
192792
+ /** Reported temperature in °C. `null` until the first value arrives. */
192793
+ temperature_celsius?: (number | null) | undefined
192794
+ /** Reported temperature in °F. `null` until the first value arrives. */
192795
+ temperature_fahrenheit?: (number | null) | undefined
192796
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives. */
192797
+ relative_humidity?: (number | null) | undefined
192798
+ /** Noise level in decibels. `null` until the first value arrives. */
192799
+ noise_level_decibels?: (number | null) | undefined
192800
+ /** Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives. */
192801
+ noise_level_nrs?: (number | null) | undefined
192802
+ /** Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
192803
+ co2_ppm?: (number | null) | undefined
192804
+ /** Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives. */
192805
+ co_ppm?: (number | null) | undefined
192806
+ /** Air quality index, if the device measures it. `null` until the first value arrives. */
192807
+ air_quality_index?: (number | null) | undefined
192808
+ /** Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives. */
192809
+ mold_risk_level?: (string | null) | undefined
192810
+ /** Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives. */
192811
+ is_occupied?: (boolean | null) | undefined
192812
+ /** Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives. */
192813
+ occupant_count?: (number | null) | undefined
192814
+ /** Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives. */
192815
+ is_smoking_detected?: (boolean | null) | undefined
192816
+ }[]
192817
+ | undefined
191667
192818
  } & {
191668
192819
  /** ASSA ABLOY Credential Service metadata for the phone. */
191669
192820
  assa_abloy_credential_service_metadata?:
@@ -192430,6 +193581,25 @@ export type Routes = {
192430
193581
  | undefined
192431
193582
  )
192432
193583
  | undefined
193584
+ /** Metadata for an Alertify sensor. */
193585
+ alertify_metadata?:
193586
+ | (
193587
+ | {
193588
+ /** Device ID reported by Alertify. */
193589
+ device_id?: (string | undefined) | undefined
193590
+ /** Device name, as set in the Alertify dashboard. */
193591
+ device_name?: (string | undefined) | undefined
193592
+ /** ID of the Alertify unit where the device is installed. */
193593
+ unit_id?: (string | undefined) | undefined
193594
+ /** Name of the Alertify unit where the device is installed. */
193595
+ unit_name?: (string | undefined) | undefined
193596
+ /** ID of the Alertify building that contains the unit. */
193597
+ building_id?:
193598
+ ((string | null) | undefined) | undefined
193599
+ }
193600
+ | undefined
193601
+ )
193602
+ | undefined
192433
193603
  /** Metadata for a UniFi Protect camera. */
192434
193604
  unifi_protect_metadata?:
192435
193605
  | (
@@ -192737,11 +193907,11 @@ export type Routes = {
192737
193907
  | undefined
192738
193908
  } & {
192739
193909
  /** Reported temperature in °F. */
192740
- temperature_fahrenheit?: number | undefined
193910
+ temperature_fahrenheit?: (number | null) | undefined
192741
193911
  /** Reported temperature in °C. */
192742
- temperature_celsius?: number | undefined
193912
+ temperature_celsius?: (number | null) | undefined
192743
193913
  /** Reported relative humidity, as a value between 0 and 1, inclusive. */
192744
- relative_humidity?: number | undefined
193914
+ relative_humidity?: (number | null) | undefined
192745
193915
  /** HVAC mode settings that the thermostat supports. */
192746
193916
  available_hvac_mode_settings?:
192747
193917
  | ('off' | 'heat' | 'cool' | 'heat_cool' | 'eco')[]
@@ -197823,6 +198993,7 @@ export type Routes = {
197823
198993
  | 'unifi_protect_camera'
197824
198994
  )
197825
198995
  | 'sonos_speaker'
198996
+ | 'alertify_sensor'
197826
198997
  /** Unique identifier for the account associated with the device. */
197827
198998
  connected_account_id: string
197828
198999
  /** Location information for the device. */