@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
@@ -1860,7 +1860,107 @@ export declare const device_manufacturer_info: z.ZodObject<{
1860
1860
  image_url?: string | undefined;
1861
1861
  }>;
1862
1862
  export type DeviceManufacturerInfo = z.infer<typeof device_manufacturer_info>;
1863
+ export declare const named_sensor: z.ZodObject<{
1864
+ noise_level_nrs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1865
+ co2_ppm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1866
+ co_ppm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1867
+ air_quality_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1868
+ mold_risk_level: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1869
+ is_occupied: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1870
+ occupant_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1871
+ is_smoking_detected: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1872
+ sensor_name: z.ZodString;
1873
+ display_name: z.ZodString;
1874
+ temperature_celsius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1875
+ temperature_fahrenheit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1876
+ relative_humidity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1877
+ noise_level_decibels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1878
+ }, "strip", z.ZodTypeAny, {
1879
+ display_name: string;
1880
+ sensor_name: string;
1881
+ temperature_fahrenheit?: number | null | undefined;
1882
+ temperature_celsius?: number | null | undefined;
1883
+ relative_humidity?: number | null | undefined;
1884
+ noise_level_nrs?: number | null | undefined;
1885
+ co2_ppm?: number | null | undefined;
1886
+ co_ppm?: number | null | undefined;
1887
+ air_quality_index?: number | null | undefined;
1888
+ mold_risk_level?: string | null | undefined;
1889
+ is_occupied?: boolean | null | undefined;
1890
+ occupant_count?: number | null | undefined;
1891
+ is_smoking_detected?: boolean | null | undefined;
1892
+ noise_level_decibels?: number | null | undefined;
1893
+ }, {
1894
+ display_name: string;
1895
+ sensor_name: string;
1896
+ temperature_fahrenheit?: number | null | undefined;
1897
+ temperature_celsius?: number | null | undefined;
1898
+ relative_humidity?: number | null | undefined;
1899
+ noise_level_nrs?: number | null | undefined;
1900
+ co2_ppm?: number | null | undefined;
1901
+ co_ppm?: number | null | undefined;
1902
+ air_quality_index?: number | null | undefined;
1903
+ mold_risk_level?: string | null | undefined;
1904
+ is_occupied?: boolean | null | undefined;
1905
+ occupant_count?: number | null | undefined;
1906
+ is_smoking_detected?: boolean | null | undefined;
1907
+ noise_level_decibels?: number | null | undefined;
1908
+ }>;
1863
1909
  export declare const common_device_properties: z.ZodObject<{
1910
+ named_sensors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1911
+ noise_level_nrs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1912
+ co2_ppm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1913
+ co_ppm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1914
+ air_quality_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1915
+ mold_risk_level: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1916
+ is_occupied: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1917
+ occupant_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1918
+ is_smoking_detected: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1919
+ sensor_name: z.ZodString;
1920
+ display_name: z.ZodString;
1921
+ temperature_celsius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1922
+ temperature_fahrenheit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1923
+ relative_humidity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1924
+ noise_level_decibels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1925
+ }, "strip", z.ZodTypeAny, {
1926
+ display_name: string;
1927
+ sensor_name: string;
1928
+ temperature_fahrenheit?: number | null | undefined;
1929
+ temperature_celsius?: number | null | undefined;
1930
+ relative_humidity?: number | null | undefined;
1931
+ noise_level_nrs?: number | null | undefined;
1932
+ co2_ppm?: number | null | undefined;
1933
+ co_ppm?: number | null | undefined;
1934
+ air_quality_index?: number | null | undefined;
1935
+ mold_risk_level?: string | null | undefined;
1936
+ is_occupied?: boolean | null | undefined;
1937
+ occupant_count?: number | null | undefined;
1938
+ is_smoking_detected?: boolean | null | undefined;
1939
+ noise_level_decibels?: number | null | undefined;
1940
+ }, {
1941
+ display_name: string;
1942
+ sensor_name: string;
1943
+ temperature_fahrenheit?: number | null | undefined;
1944
+ temperature_celsius?: number | null | undefined;
1945
+ relative_humidity?: number | null | undefined;
1946
+ noise_level_nrs?: number | null | undefined;
1947
+ co2_ppm?: number | null | undefined;
1948
+ co_ppm?: number | null | undefined;
1949
+ air_quality_index?: number | null | undefined;
1950
+ mold_risk_level?: string | null | undefined;
1951
+ is_occupied?: boolean | null | undefined;
1952
+ occupant_count?: number | null | undefined;
1953
+ is_smoking_detected?: boolean | null | undefined;
1954
+ noise_level_decibels?: number | null | undefined;
1955
+ }>, "many">>;
1956
+ noise_level_nrs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1957
+ co2_ppm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1958
+ co_ppm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1959
+ air_quality_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1960
+ mold_risk_level: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1961
+ is_occupied: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1962
+ occupant_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1963
+ is_smoking_detected: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1864
1964
  online: z.ZodBoolean;
1865
1965
  name: z.ZodString;
1866
1966
  accessory_keypad: z.ZodOptional<z.ZodObject<{
@@ -1935,7 +2035,7 @@ export declare const common_device_properties: z.ZodObject<{
1935
2035
  offline_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
1936
2036
  supports_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
1937
2037
  supports_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
1938
- noise_level_decibels: z.ZodOptional<z.ZodNumber>;
2038
+ noise_level_decibels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1939
2039
  currently_triggering_noise_threshold_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1940
2040
  }, "strip", z.ZodTypeAny, {
1941
2041
  name: string;
@@ -1958,8 +2058,17 @@ export declare const common_device_properties: z.ZodObject<{
1958
2058
  } | undefined;
1959
2059
  image_url?: string | undefined;
1960
2060
  battery_level?: number | undefined;
2061
+ noise_level_nrs?: number | null | undefined;
1961
2062
  serial_number?: string | undefined;
1962
2063
  manufacturer?: string | undefined;
2064
+ co2_ppm?: number | null | undefined;
2065
+ co_ppm?: number | null | undefined;
2066
+ air_quality_index?: number | null | undefined;
2067
+ mold_risk_level?: string | null | undefined;
2068
+ is_occupied?: boolean | null | undefined;
2069
+ occupant_count?: number | null | undefined;
2070
+ is_smoking_detected?: boolean | null | undefined;
2071
+ noise_level_decibels?: number | null | undefined;
1963
2072
  accessory_keypad?: {
1964
2073
  is_connected: boolean;
1965
2074
  battery?: {
@@ -1972,8 +2081,23 @@ export declare const common_device_properties: z.ZodObject<{
1972
2081
  offline_access_codes_enabled?: boolean | undefined;
1973
2082
  supports_accessory_keypad?: boolean | undefined;
1974
2083
  supports_offline_access_codes?: boolean | undefined;
1975
- noise_level_decibels?: number | undefined;
1976
2084
  currently_triggering_noise_threshold_ids?: string[] | undefined;
2085
+ named_sensors?: {
2086
+ display_name: string;
2087
+ sensor_name: string;
2088
+ temperature_fahrenheit?: number | null | undefined;
2089
+ temperature_celsius?: number | null | undefined;
2090
+ relative_humidity?: number | null | undefined;
2091
+ noise_level_nrs?: number | null | undefined;
2092
+ co2_ppm?: number | null | undefined;
2093
+ co_ppm?: number | null | undefined;
2094
+ air_quality_index?: number | null | undefined;
2095
+ mold_risk_level?: string | null | undefined;
2096
+ is_occupied?: boolean | null | undefined;
2097
+ occupant_count?: number | null | undefined;
2098
+ is_smoking_detected?: boolean | null | undefined;
2099
+ noise_level_decibels?: number | null | undefined;
2100
+ }[] | undefined;
1977
2101
  }, {
1978
2102
  name: string;
1979
2103
  model: {
@@ -1995,8 +2119,17 @@ export declare const common_device_properties: z.ZodObject<{
1995
2119
  } | undefined;
1996
2120
  image_url?: string | undefined;
1997
2121
  battery_level?: number | undefined;
2122
+ noise_level_nrs?: number | null | undefined;
1998
2123
  serial_number?: string | undefined;
1999
2124
  manufacturer?: string | undefined;
2125
+ co2_ppm?: number | null | undefined;
2126
+ co_ppm?: number | null | undefined;
2127
+ air_quality_index?: number | null | undefined;
2128
+ mold_risk_level?: string | null | undefined;
2129
+ is_occupied?: boolean | null | undefined;
2130
+ occupant_count?: number | null | undefined;
2131
+ is_smoking_detected?: boolean | null | undefined;
2132
+ noise_level_decibels?: number | null | undefined;
2000
2133
  accessory_keypad?: {
2001
2134
  is_connected: boolean;
2002
2135
  battery?: {
@@ -2009,8 +2142,23 @@ export declare const common_device_properties: z.ZodObject<{
2009
2142
  offline_access_codes_enabled?: boolean | undefined;
2010
2143
  supports_accessory_keypad?: boolean | undefined;
2011
2144
  supports_offline_access_codes?: boolean | undefined;
2012
- noise_level_decibels?: number | undefined;
2013
2145
  currently_triggering_noise_threshold_ids?: string[] | undefined;
2146
+ named_sensors?: {
2147
+ display_name: string;
2148
+ sensor_name: string;
2149
+ temperature_fahrenheit?: number | null | undefined;
2150
+ temperature_celsius?: number | null | undefined;
2151
+ relative_humidity?: number | null | undefined;
2152
+ noise_level_nrs?: number | null | undefined;
2153
+ co2_ppm?: number | null | undefined;
2154
+ co_ppm?: number | null | undefined;
2155
+ air_quality_index?: number | null | undefined;
2156
+ mold_risk_level?: string | null | undefined;
2157
+ is_occupied?: boolean | null | undefined;
2158
+ occupant_count?: number | null | undefined;
2159
+ is_smoking_detected?: boolean | null | undefined;
2160
+ noise_level_decibels?: number | null | undefined;
2161
+ }[] | undefined;
2014
2162
  }>;
2015
2163
  export declare const device_and_connected_account_error_options: (z.ZodObject<{
2016
2164
  created_at: z.ZodString;
@@ -2359,12 +2507,66 @@ export declare const device_and_connected_account_error_options: (z.ZodObject<{
2359
2507
  }>)[];
2360
2508
  export declare const device: z.ZodObject<{
2361
2509
  device_id: z.ZodString;
2362
- device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "eufy_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera"]>, z.ZodEnum<["sonos_speaker"]>]>;
2510
+ device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "eufy_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera"]>, z.ZodEnum<["sonos_speaker"]>, z.ZodEnum<["alertify_sensor"]>]>;
2363
2511
  space_ids: z.ZodArray<z.ZodString, "many">;
2364
2512
  nickname: z.ZodOptional<z.ZodString>;
2365
2513
  display_name: z.ZodString;
2366
2514
  capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
2367
2515
  properties: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
2516
+ named_sensors: z.ZodOptional<z.ZodArray<z.ZodObject<{
2517
+ noise_level_nrs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2518
+ co2_ppm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2519
+ co_ppm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2520
+ air_quality_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2521
+ mold_risk_level: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2522
+ is_occupied: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2523
+ occupant_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2524
+ is_smoking_detected: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2525
+ sensor_name: z.ZodString;
2526
+ display_name: z.ZodString;
2527
+ temperature_celsius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2528
+ temperature_fahrenheit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2529
+ relative_humidity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2530
+ noise_level_decibels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2531
+ }, "strip", z.ZodTypeAny, {
2532
+ display_name: string;
2533
+ sensor_name: string;
2534
+ temperature_fahrenheit?: number | null | undefined;
2535
+ temperature_celsius?: number | null | undefined;
2536
+ relative_humidity?: number | null | undefined;
2537
+ noise_level_nrs?: number | null | undefined;
2538
+ co2_ppm?: number | null | undefined;
2539
+ co_ppm?: number | null | undefined;
2540
+ air_quality_index?: number | null | undefined;
2541
+ mold_risk_level?: string | null | undefined;
2542
+ is_occupied?: boolean | null | undefined;
2543
+ occupant_count?: number | null | undefined;
2544
+ is_smoking_detected?: boolean | null | undefined;
2545
+ noise_level_decibels?: number | null | undefined;
2546
+ }, {
2547
+ display_name: string;
2548
+ sensor_name: string;
2549
+ temperature_fahrenheit?: number | null | undefined;
2550
+ temperature_celsius?: number | null | undefined;
2551
+ relative_humidity?: number | null | undefined;
2552
+ noise_level_nrs?: number | null | undefined;
2553
+ co2_ppm?: number | null | undefined;
2554
+ co_ppm?: number | null | undefined;
2555
+ air_quality_index?: number | null | undefined;
2556
+ mold_risk_level?: string | null | undefined;
2557
+ is_occupied?: boolean | null | undefined;
2558
+ occupant_count?: number | null | undefined;
2559
+ is_smoking_detected?: boolean | null | undefined;
2560
+ noise_level_decibels?: number | null | undefined;
2561
+ }>, "many">>;
2562
+ noise_level_nrs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2563
+ co2_ppm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2564
+ co_ppm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2565
+ air_quality_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2566
+ mold_risk_level: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2567
+ is_occupied: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2568
+ occupant_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2569
+ is_smoking_detected: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2368
2570
  online: z.ZodBoolean;
2369
2571
  name: z.ZodString;
2370
2572
  accessory_keypad: z.ZodOptional<z.ZodObject<{
@@ -2439,7 +2641,7 @@ export declare const device: z.ZodObject<{
2439
2641
  offline_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
2440
2642
  supports_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
2441
2643
  supports_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
2442
- noise_level_decibels: z.ZodOptional<z.ZodNumber>;
2644
+ noise_level_decibels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2443
2645
  currently_triggering_noise_threshold_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2444
2646
  }, "strip", z.ZodTypeAny, {
2445
2647
  name: string;
@@ -2462,8 +2664,17 @@ export declare const device: z.ZodObject<{
2462
2664
  } | undefined;
2463
2665
  image_url?: string | undefined;
2464
2666
  battery_level?: number | undefined;
2667
+ noise_level_nrs?: number | null | undefined;
2465
2668
  serial_number?: string | undefined;
2466
2669
  manufacturer?: string | undefined;
2670
+ co2_ppm?: number | null | undefined;
2671
+ co_ppm?: number | null | undefined;
2672
+ air_quality_index?: number | null | undefined;
2673
+ mold_risk_level?: string | null | undefined;
2674
+ is_occupied?: boolean | null | undefined;
2675
+ occupant_count?: number | null | undefined;
2676
+ is_smoking_detected?: boolean | null | undefined;
2677
+ noise_level_decibels?: number | null | undefined;
2467
2678
  accessory_keypad?: {
2468
2679
  is_connected: boolean;
2469
2680
  battery?: {
@@ -2476,8 +2687,23 @@ export declare const device: z.ZodObject<{
2476
2687
  offline_access_codes_enabled?: boolean | undefined;
2477
2688
  supports_accessory_keypad?: boolean | undefined;
2478
2689
  supports_offline_access_codes?: boolean | undefined;
2479
- noise_level_decibels?: number | undefined;
2480
2690
  currently_triggering_noise_threshold_ids?: string[] | undefined;
2691
+ named_sensors?: {
2692
+ display_name: string;
2693
+ sensor_name: string;
2694
+ temperature_fahrenheit?: number | null | undefined;
2695
+ temperature_celsius?: number | null | undefined;
2696
+ relative_humidity?: number | null | undefined;
2697
+ noise_level_nrs?: number | null | undefined;
2698
+ co2_ppm?: number | null | undefined;
2699
+ co_ppm?: number | null | undefined;
2700
+ air_quality_index?: number | null | undefined;
2701
+ mold_risk_level?: string | null | undefined;
2702
+ is_occupied?: boolean | null | undefined;
2703
+ occupant_count?: number | null | undefined;
2704
+ is_smoking_detected?: boolean | null | undefined;
2705
+ noise_level_decibels?: number | null | undefined;
2706
+ }[] | undefined;
2481
2707
  }, {
2482
2708
  name: string;
2483
2709
  model: {
@@ -2499,8 +2725,17 @@ export declare const device: z.ZodObject<{
2499
2725
  } | undefined;
2500
2726
  image_url?: string | undefined;
2501
2727
  battery_level?: number | undefined;
2728
+ noise_level_nrs?: number | null | undefined;
2502
2729
  serial_number?: string | undefined;
2503
2730
  manufacturer?: string | undefined;
2731
+ co2_ppm?: number | null | undefined;
2732
+ co_ppm?: number | null | undefined;
2733
+ air_quality_index?: number | null | undefined;
2734
+ mold_risk_level?: string | null | undefined;
2735
+ is_occupied?: boolean | null | undefined;
2736
+ occupant_count?: number | null | undefined;
2737
+ is_smoking_detected?: boolean | null | undefined;
2738
+ noise_level_decibels?: number | null | undefined;
2504
2739
  accessory_keypad?: {
2505
2740
  is_connected: boolean;
2506
2741
  battery?: {
@@ -2513,8 +2748,23 @@ export declare const device: z.ZodObject<{
2513
2748
  offline_access_codes_enabled?: boolean | undefined;
2514
2749
  supports_accessory_keypad?: boolean | undefined;
2515
2750
  supports_offline_access_codes?: boolean | undefined;
2516
- noise_level_decibels?: number | undefined;
2517
2751
  currently_triggering_noise_threshold_ids?: string[] | undefined;
2752
+ named_sensors?: {
2753
+ display_name: string;
2754
+ sensor_name: string;
2755
+ temperature_fahrenheit?: number | null | undefined;
2756
+ temperature_celsius?: number | null | undefined;
2757
+ relative_humidity?: number | null | undefined;
2758
+ noise_level_nrs?: number | null | undefined;
2759
+ co2_ppm?: number | null | undefined;
2760
+ co_ppm?: number | null | undefined;
2761
+ air_quality_index?: number | null | undefined;
2762
+ mold_risk_level?: string | null | undefined;
2763
+ is_occupied?: boolean | null | undefined;
2764
+ occupant_count?: number | null | undefined;
2765
+ is_smoking_detected?: boolean | null | undefined;
2766
+ noise_level_decibels?: number | null | undefined;
2767
+ }[] | undefined;
2518
2768
  }>, z.ZodObject<{
2519
2769
  assa_abloy_credential_service_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2520
2770
  has_active_endpoint: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
@@ -3575,6 +3825,25 @@ export declare const device: z.ZodObject<{
3575
3825
  firmware_version?: string | undefined;
3576
3826
  hardware_version?: string | undefined;
3577
3827
  }>>>;
3828
+ alertify_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3829
+ device_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3830
+ device_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3831
+ unit_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3832
+ unit_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3833
+ building_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3834
+ }, "strip", z.ZodTypeAny, {
3835
+ device_id?: string | undefined;
3836
+ device_name?: string | undefined;
3837
+ unit_id?: string | undefined;
3838
+ unit_name?: string | undefined;
3839
+ building_id?: string | null | undefined;
3840
+ }, {
3841
+ device_id?: string | undefined;
3842
+ device_name?: string | undefined;
3843
+ unit_id?: string | undefined;
3844
+ unit_name?: string | undefined;
3845
+ building_id?: string | null | undefined;
3846
+ }>>>;
3578
3847
  unifi_protect_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3579
3848
  camera_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3580
3849
  camera_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4052,6 +4321,13 @@ export declare const device: z.ZodObject<{
4052
4321
  firmware_version?: string | undefined;
4053
4322
  hardware_version?: string | undefined;
4054
4323
  } | undefined;
4324
+ alertify_metadata?: {
4325
+ device_id?: string | undefined;
4326
+ device_name?: string | undefined;
4327
+ unit_id?: string | undefined;
4328
+ unit_name?: string | undefined;
4329
+ building_id?: string | null | undefined;
4330
+ } | undefined;
4055
4331
  unifi_protect_metadata?: {
4056
4332
  model?: string | undefined;
4057
4333
  camera_id?: string | undefined;
@@ -4429,6 +4705,13 @@ export declare const device: z.ZodObject<{
4429
4705
  firmware_version?: string | undefined;
4430
4706
  hardware_version?: string | undefined;
4431
4707
  } | undefined;
4708
+ alertify_metadata?: {
4709
+ device_id?: string | undefined;
4710
+ device_name?: string | undefined;
4711
+ unit_id?: string | undefined;
4712
+ unit_name?: string | undefined;
4713
+ building_id?: string | null | undefined;
4714
+ } | undefined;
4432
4715
  unifi_protect_metadata?: {
4433
4716
  model?: string | undefined;
4434
4717
  camera_id?: string | undefined;
@@ -4809,9 +5092,9 @@ export declare const device: z.ZodObject<{
4809
5092
  volume_reported_at?: string | undefined;
4810
5093
  } | undefined;
4811
5094
  }>, z.ZodObject<{
4812
- temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
4813
- temperature_celsius: z.ZodOptional<z.ZodNumber>;
4814
- relative_humidity: z.ZodOptional<z.ZodNumber>;
5095
+ temperature_fahrenheit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5096
+ temperature_celsius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5097
+ relative_humidity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4815
5098
  available_hvac_mode_settings: z.ZodOptional<z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heat_cool", "eco"]>, "many">>;
4816
5099
  available_fan_mode_settings: z.ZodOptional<z.ZodArray<z.ZodEnum<["auto", "on", "circulate"]>, "many">>;
4817
5100
  available_climate_preset_modes: z.ZodOptional<z.ZodArray<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>, "many">>;
@@ -5182,9 +5465,9 @@ export declare const device: z.ZodObject<{
5182
5465
  max_thermostat_daily_program_periods_per_day: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5183
5466
  }, "strip", z.ZodTypeAny, {
5184
5467
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
5185
- temperature_fahrenheit?: number | undefined;
5186
- temperature_celsius?: number | undefined;
5187
- relative_humidity?: number | undefined;
5468
+ temperature_fahrenheit?: number | null | undefined;
5469
+ temperature_celsius?: number | null | undefined;
5470
+ relative_humidity?: number | null | undefined;
5188
5471
  available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool" | "eco")[] | undefined;
5189
5472
  available_fan_mode_settings?: ("auto" | "on" | "circulate")[] | undefined;
5190
5473
  available_climate_preset_modes?: ("home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied")[] | undefined;
@@ -5316,9 +5599,9 @@ export declare const device: z.ZodObject<{
5316
5599
  max_thermostat_daily_program_periods_per_day?: number | undefined;
5317
5600
  }, {
5318
5601
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
5319
- temperature_fahrenheit?: number | undefined;
5320
- temperature_celsius?: number | undefined;
5321
- relative_humidity?: number | undefined;
5602
+ temperature_fahrenheit?: number | null | undefined;
5603
+ temperature_celsius?: number | null | undefined;
5604
+ relative_humidity?: number | null | undefined;
5322
5605
  available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool" | "eco")[] | undefined;
5323
5606
  available_fan_mode_settings?: ("auto" | "on" | "circulate")[] | undefined;
5324
5607
  available_climate_preset_modes?: ("home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied")[] | undefined;
@@ -6487,7 +6770,7 @@ export declare const device: z.ZodObject<{
6487
6770
  warning_code: "cloud_recording_not_enabled";
6488
6771
  })[];
6489
6772
  custom_metadata: Record<string, string | boolean>;
6490
- device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker";
6773
+ device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor";
6491
6774
  space_ids: string[];
6492
6775
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
6493
6776
  properties: {
@@ -6511,8 +6794,17 @@ export declare const device: z.ZodObject<{
6511
6794
  } | undefined;
6512
6795
  image_url?: string | undefined;
6513
6796
  battery_level?: number | undefined;
6797
+ noise_level_nrs?: number | null | undefined;
6514
6798
  serial_number?: string | undefined;
6515
6799
  manufacturer?: string | undefined;
6800
+ co2_ppm?: number | null | undefined;
6801
+ co_ppm?: number | null | undefined;
6802
+ air_quality_index?: number | null | undefined;
6803
+ mold_risk_level?: string | null | undefined;
6804
+ is_occupied?: boolean | null | undefined;
6805
+ occupant_count?: number | null | undefined;
6806
+ is_smoking_detected?: boolean | null | undefined;
6807
+ noise_level_decibels?: number | null | undefined;
6516
6808
  accessory_keypad?: {
6517
6809
  is_connected: boolean;
6518
6810
  battery?: {
@@ -6525,8 +6817,23 @@ export declare const device: z.ZodObject<{
6525
6817
  offline_access_codes_enabled?: boolean | undefined;
6526
6818
  supports_accessory_keypad?: boolean | undefined;
6527
6819
  supports_offline_access_codes?: boolean | undefined;
6528
- noise_level_decibels?: number | undefined;
6529
6820
  currently_triggering_noise_threshold_ids?: string[] | undefined;
6821
+ named_sensors?: {
6822
+ display_name: string;
6823
+ sensor_name: string;
6824
+ temperature_fahrenheit?: number | null | undefined;
6825
+ temperature_celsius?: number | null | undefined;
6826
+ relative_humidity?: number | null | undefined;
6827
+ noise_level_nrs?: number | null | undefined;
6828
+ co2_ppm?: number | null | undefined;
6829
+ co_ppm?: number | null | undefined;
6830
+ air_quality_index?: number | null | undefined;
6831
+ mold_risk_level?: string | null | undefined;
6832
+ is_occupied?: boolean | null | undefined;
6833
+ occupant_count?: number | null | undefined;
6834
+ is_smoking_detected?: boolean | null | undefined;
6835
+ noise_level_decibels?: number | null | undefined;
6836
+ }[] | undefined;
6530
6837
  } & {
6531
6838
  assa_abloy_credential_service_metadata?: {
6532
6839
  has_active_endpoint?: boolean | undefined;
@@ -6857,6 +7164,13 @@ export declare const device: z.ZodObject<{
6857
7164
  firmware_version?: string | undefined;
6858
7165
  hardware_version?: string | undefined;
6859
7166
  } | undefined;
7167
+ alertify_metadata?: {
7168
+ device_id?: string | undefined;
7169
+ device_name?: string | undefined;
7170
+ unit_id?: string | undefined;
7171
+ unit_name?: string | undefined;
7172
+ building_id?: string | null | undefined;
7173
+ } | undefined;
6860
7174
  unifi_protect_metadata?: {
6861
7175
  model?: string | undefined;
6862
7176
  camera_id?: string | undefined;
@@ -6982,9 +7296,9 @@ export declare const device: z.ZodObject<{
6982
7296
  } | undefined;
6983
7297
  } & {
6984
7298
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
6985
- temperature_fahrenheit?: number | undefined;
6986
- temperature_celsius?: number | undefined;
6987
- relative_humidity?: number | undefined;
7299
+ temperature_fahrenheit?: number | null | undefined;
7300
+ temperature_celsius?: number | null | undefined;
7301
+ relative_humidity?: number | null | undefined;
6988
7302
  available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool" | "eco")[] | undefined;
6989
7303
  available_fan_mode_settings?: ("auto" | "on" | "circulate")[] | undefined;
6990
7304
  available_climate_preset_modes?: ("home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied")[] | undefined;
@@ -7392,7 +7706,7 @@ export declare const device: z.ZodObject<{
7392
7706
  warning_code: "cloud_recording_not_enabled";
7393
7707
  })[];
7394
7708
  custom_metadata: Record<string, string | boolean>;
7395
- device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker";
7709
+ device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor";
7396
7710
  space_ids: string[];
7397
7711
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
7398
7712
  properties: {
@@ -7416,8 +7730,17 @@ export declare const device: z.ZodObject<{
7416
7730
  } | undefined;
7417
7731
  image_url?: string | undefined;
7418
7732
  battery_level?: number | undefined;
7733
+ noise_level_nrs?: number | null | undefined;
7419
7734
  serial_number?: string | undefined;
7420
7735
  manufacturer?: string | undefined;
7736
+ co2_ppm?: number | null | undefined;
7737
+ co_ppm?: number | null | undefined;
7738
+ air_quality_index?: number | null | undefined;
7739
+ mold_risk_level?: string | null | undefined;
7740
+ is_occupied?: boolean | null | undefined;
7741
+ occupant_count?: number | null | undefined;
7742
+ is_smoking_detected?: boolean | null | undefined;
7743
+ noise_level_decibels?: number | null | undefined;
7421
7744
  accessory_keypad?: {
7422
7745
  is_connected: boolean;
7423
7746
  battery?: {
@@ -7430,8 +7753,23 @@ export declare const device: z.ZodObject<{
7430
7753
  offline_access_codes_enabled?: boolean | undefined;
7431
7754
  supports_accessory_keypad?: boolean | undefined;
7432
7755
  supports_offline_access_codes?: boolean | undefined;
7433
- noise_level_decibels?: number | undefined;
7434
7756
  currently_triggering_noise_threshold_ids?: string[] | undefined;
7757
+ named_sensors?: {
7758
+ display_name: string;
7759
+ sensor_name: string;
7760
+ temperature_fahrenheit?: number | null | undefined;
7761
+ temperature_celsius?: number | null | undefined;
7762
+ relative_humidity?: number | null | undefined;
7763
+ noise_level_nrs?: number | null | undefined;
7764
+ co2_ppm?: number | null | undefined;
7765
+ co_ppm?: number | null | undefined;
7766
+ air_quality_index?: number | null | undefined;
7767
+ mold_risk_level?: string | null | undefined;
7768
+ is_occupied?: boolean | null | undefined;
7769
+ occupant_count?: number | null | undefined;
7770
+ is_smoking_detected?: boolean | null | undefined;
7771
+ noise_level_decibels?: number | null | undefined;
7772
+ }[] | undefined;
7435
7773
  } & {
7436
7774
  assa_abloy_credential_service_metadata?: {
7437
7775
  has_active_endpoint?: boolean | undefined;
@@ -7762,6 +8100,13 @@ export declare const device: z.ZodObject<{
7762
8100
  firmware_version?: string | undefined;
7763
8101
  hardware_version?: string | undefined;
7764
8102
  } | undefined;
8103
+ alertify_metadata?: {
8104
+ device_id?: string | undefined;
8105
+ device_name?: string | undefined;
8106
+ unit_id?: string | undefined;
8107
+ unit_name?: string | undefined;
8108
+ building_id?: string | null | undefined;
8109
+ } | undefined;
7765
8110
  unifi_protect_metadata?: {
7766
8111
  model?: string | undefined;
7767
8112
  camera_id?: string | undefined;
@@ -7887,9 +8232,9 @@ export declare const device: z.ZodObject<{
7887
8232
  } | undefined;
7888
8233
  } & {
7889
8234
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
7890
- temperature_fahrenheit?: number | undefined;
7891
- temperature_celsius?: number | undefined;
7892
- relative_humidity?: number | undefined;
8235
+ temperature_fahrenheit?: number | null | undefined;
8236
+ temperature_celsius?: number | null | undefined;
8237
+ relative_humidity?: number | null | undefined;
7893
8238
  available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool" | "eco")[] | undefined;
7894
8239
  available_fan_mode_settings?: ("auto" | "on" | "circulate")[] | undefined;
7895
8240
  available_climate_preset_modes?: ("home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied")[] | undefined;