@seamapi/types 1.1185.0 → 1.1187.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +9 -9
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +9 -9
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +3 -3
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +33 -0
- package/lib/seam/connect/models/devices/device-metadata.js +31 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +7 -1
- package/lib/seam/connect/models/devices/device-type.js +8 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +223 -314
- package/lib/seam/connect/models/devices/device.js +60 -73
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +107 -172
- package/lib/seam/connect/openapi.js +229 -167
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1253 -896
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +3 -3
- package/src/lib/seam/connect/models/devices/device-metadata.ts +32 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +16 -0
- package/src/lib/seam/connect/models/devices/device.ts +63 -76
- package/src/lib/seam/connect/openapi.ts +259 -191
- package/src/lib/seam/connect/route-types.ts +1376 -902
|
@@ -1861,106 +1861,52 @@ export declare const device_manufacturer_info: z.ZodObject<{
|
|
|
1861
1861
|
}>;
|
|
1862
1862
|
export type DeviceManufacturerInfo = z.infer<typeof device_manufacturer_info>;
|
|
1863
1863
|
export declare const named_sensor: z.ZodObject<{
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1864
|
+
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1865
|
+
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1866
|
+
relative_humidity: z.ZodOptional<z.ZodNumber>;
|
|
1867
|
+
noise_level_decibels: z.ZodOptional<z.ZodNumber>;
|
|
1868
|
+
noise_level_nrs: z.ZodOptional<z.ZodNumber>;
|
|
1869
|
+
co2_ppm: z.ZodOptional<z.ZodNumber>;
|
|
1870
|
+
co_ppm: z.ZodOptional<z.ZodNumber>;
|
|
1871
|
+
air_quality_index: z.ZodOptional<z.ZodNumber>;
|
|
1872
|
+
mold_risk_level: z.ZodOptional<z.ZodString>;
|
|
1873
|
+
is_occupied: z.ZodOptional<z.ZodBoolean>;
|
|
1874
|
+
occupant_count: z.ZodOptional<z.ZodNumber>;
|
|
1875
|
+
is_smoking_detected: z.ZodOptional<z.ZodBoolean>;
|
|
1872
1876
|
sensor_name: z.ZodString;
|
|
1873
1877
|
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
1878
|
}, "strip", z.ZodTypeAny, {
|
|
1879
1879
|
display_name: string;
|
|
1880
1880
|
sensor_name: string;
|
|
1881
|
-
temperature_fahrenheit?: number |
|
|
1882
|
-
temperature_celsius?: number |
|
|
1883
|
-
relative_humidity?: number |
|
|
1884
|
-
noise_level_nrs?: number |
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1881
|
+
temperature_fahrenheit?: number | undefined;
|
|
1882
|
+
temperature_celsius?: number | undefined;
|
|
1883
|
+
relative_humidity?: number | undefined;
|
|
1884
|
+
noise_level_nrs?: number | undefined;
|
|
1885
|
+
noise_level_decibels?: number | undefined;
|
|
1886
|
+
co2_ppm?: number | undefined;
|
|
1887
|
+
co_ppm?: number | undefined;
|
|
1888
|
+
air_quality_index?: number | undefined;
|
|
1889
|
+
mold_risk_level?: string | undefined;
|
|
1890
|
+
is_occupied?: boolean | undefined;
|
|
1891
|
+
occupant_count?: number | undefined;
|
|
1892
|
+
is_smoking_detected?: boolean | undefined;
|
|
1893
1893
|
}, {
|
|
1894
1894
|
display_name: string;
|
|
1895
1895
|
sensor_name: string;
|
|
1896
|
-
temperature_fahrenheit?: number |
|
|
1897
|
-
temperature_celsius?: number |
|
|
1898
|
-
relative_humidity?: number |
|
|
1899
|
-
noise_level_nrs?: number |
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1896
|
+
temperature_fahrenheit?: number | undefined;
|
|
1897
|
+
temperature_celsius?: number | undefined;
|
|
1898
|
+
relative_humidity?: number | undefined;
|
|
1899
|
+
noise_level_nrs?: number | undefined;
|
|
1900
|
+
noise_level_decibels?: number | undefined;
|
|
1901
|
+
co2_ppm?: number | undefined;
|
|
1902
|
+
co_ppm?: number | undefined;
|
|
1903
|
+
air_quality_index?: number | undefined;
|
|
1904
|
+
mold_risk_level?: string | undefined;
|
|
1905
|
+
is_occupied?: boolean | undefined;
|
|
1906
|
+
occupant_count?: number | undefined;
|
|
1907
|
+
is_smoking_detected?: boolean | undefined;
|
|
1908
1908
|
}>;
|
|
1909
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>>;
|
|
1964
1910
|
online: z.ZodBoolean;
|
|
1965
1911
|
name: z.ZodString;
|
|
1966
1912
|
accessory_keypad: z.ZodOptional<z.ZodObject<{
|
|
@@ -2035,7 +1981,7 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
2035
1981
|
offline_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2036
1982
|
supports_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
|
|
2037
1983
|
supports_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
2038
|
-
noise_level_decibels: z.ZodOptional<z.
|
|
1984
|
+
noise_level_decibels: z.ZodOptional<z.ZodNumber>;
|
|
2039
1985
|
currently_triggering_noise_threshold_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2040
1986
|
}, "strip", z.ZodTypeAny, {
|
|
2041
1987
|
name: string;
|
|
@@ -2058,17 +2004,9 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
2058
2004
|
} | undefined;
|
|
2059
2005
|
image_url?: string | undefined;
|
|
2060
2006
|
battery_level?: number | undefined;
|
|
2061
|
-
noise_level_nrs?: number | null | undefined;
|
|
2062
2007
|
serial_number?: string | undefined;
|
|
2063
2008
|
manufacturer?: string | undefined;
|
|
2064
|
-
|
|
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;
|
|
2009
|
+
noise_level_decibels?: number | undefined;
|
|
2072
2010
|
accessory_keypad?: {
|
|
2073
2011
|
is_connected: boolean;
|
|
2074
2012
|
battery?: {
|
|
@@ -2082,22 +2020,6 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
2082
2020
|
supports_accessory_keypad?: boolean | undefined;
|
|
2083
2021
|
supports_offline_access_codes?: boolean | undefined;
|
|
2084
2022
|
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;
|
|
2101
2023
|
}, {
|
|
2102
2024
|
name: string;
|
|
2103
2025
|
model: {
|
|
@@ -2119,17 +2041,9 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
2119
2041
|
} | undefined;
|
|
2120
2042
|
image_url?: string | undefined;
|
|
2121
2043
|
battery_level?: number | undefined;
|
|
2122
|
-
noise_level_nrs?: number | null | undefined;
|
|
2123
2044
|
serial_number?: string | undefined;
|
|
2124
2045
|
manufacturer?: string | undefined;
|
|
2125
|
-
|
|
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;
|
|
2046
|
+
noise_level_decibels?: number | undefined;
|
|
2133
2047
|
accessory_keypad?: {
|
|
2134
2048
|
is_connected: boolean;
|
|
2135
2049
|
battery?: {
|
|
@@ -2143,22 +2057,6 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
2143
2057
|
supports_accessory_keypad?: boolean | undefined;
|
|
2144
2058
|
supports_offline_access_codes?: boolean | undefined;
|
|
2145
2059
|
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;
|
|
2162
2060
|
}>;
|
|
2163
2061
|
export declare const device_and_connected_account_error_options: (z.ZodObject<{
|
|
2164
2062
|
created_at: z.ZodString;
|
|
@@ -2506,67 +2404,71 @@ export declare const device_and_connected_account_error_options: (z.ZodObject<{
|
|
|
2506
2404
|
is_device_error: false;
|
|
2507
2405
|
}>)[];
|
|
2508
2406
|
export declare const device: z.ZodObject<{
|
|
2407
|
+
named_sensors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2408
|
+
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
2409
|
+
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
2410
|
+
relative_humidity: z.ZodOptional<z.ZodNumber>;
|
|
2411
|
+
noise_level_decibels: z.ZodOptional<z.ZodNumber>;
|
|
2412
|
+
noise_level_nrs: z.ZodOptional<z.ZodNumber>;
|
|
2413
|
+
co2_ppm: z.ZodOptional<z.ZodNumber>;
|
|
2414
|
+
co_ppm: z.ZodOptional<z.ZodNumber>;
|
|
2415
|
+
air_quality_index: z.ZodOptional<z.ZodNumber>;
|
|
2416
|
+
mold_risk_level: z.ZodOptional<z.ZodString>;
|
|
2417
|
+
is_occupied: z.ZodOptional<z.ZodBoolean>;
|
|
2418
|
+
occupant_count: z.ZodOptional<z.ZodNumber>;
|
|
2419
|
+
is_smoking_detected: z.ZodOptional<z.ZodBoolean>;
|
|
2420
|
+
sensor_name: z.ZodString;
|
|
2421
|
+
display_name: z.ZodString;
|
|
2422
|
+
}, "strip", z.ZodTypeAny, {
|
|
2423
|
+
display_name: string;
|
|
2424
|
+
sensor_name: string;
|
|
2425
|
+
temperature_fahrenheit?: number | undefined;
|
|
2426
|
+
temperature_celsius?: number | undefined;
|
|
2427
|
+
relative_humidity?: number | undefined;
|
|
2428
|
+
noise_level_nrs?: number | undefined;
|
|
2429
|
+
noise_level_decibels?: number | undefined;
|
|
2430
|
+
co2_ppm?: number | undefined;
|
|
2431
|
+
co_ppm?: number | undefined;
|
|
2432
|
+
air_quality_index?: number | undefined;
|
|
2433
|
+
mold_risk_level?: string | undefined;
|
|
2434
|
+
is_occupied?: boolean | undefined;
|
|
2435
|
+
occupant_count?: number | undefined;
|
|
2436
|
+
is_smoking_detected?: boolean | undefined;
|
|
2437
|
+
}, {
|
|
2438
|
+
display_name: string;
|
|
2439
|
+
sensor_name: string;
|
|
2440
|
+
temperature_fahrenheit?: number | undefined;
|
|
2441
|
+
temperature_celsius?: number | undefined;
|
|
2442
|
+
relative_humidity?: number | undefined;
|
|
2443
|
+
noise_level_nrs?: number | undefined;
|
|
2444
|
+
noise_level_decibels?: number | undefined;
|
|
2445
|
+
co2_ppm?: number | undefined;
|
|
2446
|
+
co_ppm?: number | undefined;
|
|
2447
|
+
air_quality_index?: number | undefined;
|
|
2448
|
+
mold_risk_level?: string | undefined;
|
|
2449
|
+
is_occupied?: boolean | undefined;
|
|
2450
|
+
occupant_count?: number | undefined;
|
|
2451
|
+
is_smoking_detected?: boolean | undefined;
|
|
2452
|
+
}>, "many">>;
|
|
2453
|
+
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
2454
|
+
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
2455
|
+
relative_humidity: z.ZodOptional<z.ZodNumber>;
|
|
2456
|
+
noise_level_decibels: z.ZodOptional<z.ZodNumber>;
|
|
2457
|
+
noise_level_nrs: z.ZodOptional<z.ZodNumber>;
|
|
2458
|
+
co2_ppm: z.ZodOptional<z.ZodNumber>;
|
|
2459
|
+
co_ppm: z.ZodOptional<z.ZodNumber>;
|
|
2460
|
+
air_quality_index: z.ZodOptional<z.ZodNumber>;
|
|
2461
|
+
mold_risk_level: z.ZodOptional<z.ZodString>;
|
|
2462
|
+
is_occupied: z.ZodOptional<z.ZodBoolean>;
|
|
2463
|
+
occupant_count: z.ZodOptional<z.ZodNumber>;
|
|
2464
|
+
is_smoking_detected: z.ZodOptional<z.ZodBoolean>;
|
|
2509
2465
|
device_id: z.ZodString;
|
|
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"]>]>;
|
|
2466
|
+
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"]>]>;
|
|
2511
2467
|
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
2512
2468
|
nickname: z.ZodOptional<z.ZodString>;
|
|
2513
2469
|
display_name: z.ZodString;
|
|
2514
2470
|
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
|
|
2515
2471
|
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>>;
|
|
2570
2472
|
online: z.ZodBoolean;
|
|
2571
2473
|
name: z.ZodString;
|
|
2572
2474
|
accessory_keypad: z.ZodOptional<z.ZodObject<{
|
|
@@ -2641,7 +2543,7 @@ export declare const device: z.ZodObject<{
|
|
|
2641
2543
|
offline_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2642
2544
|
supports_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
|
|
2643
2545
|
supports_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
2644
|
-
noise_level_decibels: z.ZodOptional<z.
|
|
2546
|
+
noise_level_decibels: z.ZodOptional<z.ZodNumber>;
|
|
2645
2547
|
currently_triggering_noise_threshold_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2646
2548
|
}, "strip", z.ZodTypeAny, {
|
|
2647
2549
|
name: string;
|
|
@@ -2664,17 +2566,9 @@ export declare const device: z.ZodObject<{
|
|
|
2664
2566
|
} | undefined;
|
|
2665
2567
|
image_url?: string | undefined;
|
|
2666
2568
|
battery_level?: number | undefined;
|
|
2667
|
-
noise_level_nrs?: number | null | undefined;
|
|
2668
2569
|
serial_number?: string | undefined;
|
|
2669
2570
|
manufacturer?: string | undefined;
|
|
2670
|
-
|
|
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;
|
|
2571
|
+
noise_level_decibels?: number | undefined;
|
|
2678
2572
|
accessory_keypad?: {
|
|
2679
2573
|
is_connected: boolean;
|
|
2680
2574
|
battery?: {
|
|
@@ -2688,22 +2582,6 @@ export declare const device: z.ZodObject<{
|
|
|
2688
2582
|
supports_accessory_keypad?: boolean | undefined;
|
|
2689
2583
|
supports_offline_access_codes?: boolean | undefined;
|
|
2690
2584
|
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;
|
|
2707
2585
|
}, {
|
|
2708
2586
|
name: string;
|
|
2709
2587
|
model: {
|
|
@@ -2725,17 +2603,9 @@ export declare const device: z.ZodObject<{
|
|
|
2725
2603
|
} | undefined;
|
|
2726
2604
|
image_url?: string | undefined;
|
|
2727
2605
|
battery_level?: number | undefined;
|
|
2728
|
-
noise_level_nrs?: number | null | undefined;
|
|
2729
2606
|
serial_number?: string | undefined;
|
|
2730
2607
|
manufacturer?: string | undefined;
|
|
2731
|
-
|
|
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;
|
|
2608
|
+
noise_level_decibels?: number | undefined;
|
|
2739
2609
|
accessory_keypad?: {
|
|
2740
2610
|
is_connected: boolean;
|
|
2741
2611
|
battery?: {
|
|
@@ -2749,22 +2619,6 @@ export declare const device: z.ZodObject<{
|
|
|
2749
2619
|
supports_accessory_keypad?: boolean | undefined;
|
|
2750
2620
|
supports_offline_access_codes?: boolean | undefined;
|
|
2751
2621
|
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;
|
|
2768
2622
|
}>, z.ZodObject<{
|
|
2769
2623
|
assa_abloy_credential_service_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2770
2624
|
has_active_endpoint: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -3825,6 +3679,25 @@ export declare const device: z.ZodObject<{
|
|
|
3825
3679
|
firmware_version?: string | undefined;
|
|
3826
3680
|
hardware_version?: string | undefined;
|
|
3827
3681
|
}>>>;
|
|
3682
|
+
alertify_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3683
|
+
device_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3684
|
+
device_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3685
|
+
unit_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3686
|
+
unit_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3687
|
+
building_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3688
|
+
}, "strip", z.ZodTypeAny, {
|
|
3689
|
+
device_id?: string | undefined;
|
|
3690
|
+
device_name?: string | undefined;
|
|
3691
|
+
unit_id?: string | undefined;
|
|
3692
|
+
unit_name?: string | undefined;
|
|
3693
|
+
building_id?: string | null | undefined;
|
|
3694
|
+
}, {
|
|
3695
|
+
device_id?: string | undefined;
|
|
3696
|
+
device_name?: string | undefined;
|
|
3697
|
+
unit_id?: string | undefined;
|
|
3698
|
+
unit_name?: string | undefined;
|
|
3699
|
+
building_id?: string | null | undefined;
|
|
3700
|
+
}>>>;
|
|
3828
3701
|
unifi_protect_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3829
3702
|
camera_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3830
3703
|
camera_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -4302,6 +4175,13 @@ export declare const device: z.ZodObject<{
|
|
|
4302
4175
|
firmware_version?: string | undefined;
|
|
4303
4176
|
hardware_version?: string | undefined;
|
|
4304
4177
|
} | undefined;
|
|
4178
|
+
alertify_metadata?: {
|
|
4179
|
+
device_id?: string | undefined;
|
|
4180
|
+
device_name?: string | undefined;
|
|
4181
|
+
unit_id?: string | undefined;
|
|
4182
|
+
unit_name?: string | undefined;
|
|
4183
|
+
building_id?: string | null | undefined;
|
|
4184
|
+
} | undefined;
|
|
4305
4185
|
unifi_protect_metadata?: {
|
|
4306
4186
|
model?: string | undefined;
|
|
4307
4187
|
camera_id?: string | undefined;
|
|
@@ -4679,6 +4559,13 @@ export declare const device: z.ZodObject<{
|
|
|
4679
4559
|
firmware_version?: string | undefined;
|
|
4680
4560
|
hardware_version?: string | undefined;
|
|
4681
4561
|
} | undefined;
|
|
4562
|
+
alertify_metadata?: {
|
|
4563
|
+
device_id?: string | undefined;
|
|
4564
|
+
device_name?: string | undefined;
|
|
4565
|
+
unit_id?: string | undefined;
|
|
4566
|
+
unit_name?: string | undefined;
|
|
4567
|
+
building_id?: string | null | undefined;
|
|
4568
|
+
} | undefined;
|
|
4682
4569
|
unifi_protect_metadata?: {
|
|
4683
4570
|
model?: string | undefined;
|
|
4684
4571
|
camera_id?: string | undefined;
|
|
@@ -5059,9 +4946,9 @@ export declare const device: z.ZodObject<{
|
|
|
5059
4946
|
volume_reported_at?: string | undefined;
|
|
5060
4947
|
} | undefined;
|
|
5061
4948
|
}>, z.ZodObject<{
|
|
5062
|
-
temperature_fahrenheit: z.ZodOptional<z.
|
|
5063
|
-
temperature_celsius: z.ZodOptional<z.
|
|
5064
|
-
relative_humidity: z.ZodOptional<z.
|
|
4949
|
+
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
4950
|
+
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
4951
|
+
relative_humidity: z.ZodOptional<z.ZodNumber>;
|
|
5065
4952
|
available_hvac_mode_settings: z.ZodOptional<z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heat_cool", "eco"]>, "many">>;
|
|
5066
4953
|
available_fan_mode_settings: z.ZodOptional<z.ZodArray<z.ZodEnum<["auto", "on", "circulate"]>, "many">>;
|
|
5067
4954
|
available_climate_preset_modes: z.ZodOptional<z.ZodArray<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>, "many">>;
|
|
@@ -5432,9 +5319,9 @@ export declare const device: z.ZodObject<{
|
|
|
5432
5319
|
max_thermostat_daily_program_periods_per_day: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
5433
5320
|
}, "strip", z.ZodTypeAny, {
|
|
5434
5321
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
5435
|
-
temperature_fahrenheit?: number |
|
|
5436
|
-
temperature_celsius?: number |
|
|
5437
|
-
relative_humidity?: number |
|
|
5322
|
+
temperature_fahrenheit?: number | undefined;
|
|
5323
|
+
temperature_celsius?: number | undefined;
|
|
5324
|
+
relative_humidity?: number | undefined;
|
|
5438
5325
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool" | "eco")[] | undefined;
|
|
5439
5326
|
available_fan_mode_settings?: ("auto" | "on" | "circulate")[] | undefined;
|
|
5440
5327
|
available_climate_preset_modes?: ("home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied")[] | undefined;
|
|
@@ -5566,9 +5453,9 @@ export declare const device: z.ZodObject<{
|
|
|
5566
5453
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
5567
5454
|
}, {
|
|
5568
5455
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
5569
|
-
temperature_fahrenheit?: number |
|
|
5570
|
-
temperature_celsius?: number |
|
|
5571
|
-
relative_humidity?: number |
|
|
5456
|
+
temperature_fahrenheit?: number | undefined;
|
|
5457
|
+
temperature_celsius?: number | undefined;
|
|
5458
|
+
relative_humidity?: number | undefined;
|
|
5572
5459
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool" | "eco")[] | undefined;
|
|
5573
5460
|
available_fan_mode_settings?: ("auto" | "on" | "circulate")[] | undefined;
|
|
5574
5461
|
available_climate_preset_modes?: ("home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied")[] | undefined;
|
|
@@ -6737,7 +6624,7 @@ export declare const device: z.ZodObject<{
|
|
|
6737
6624
|
warning_code: "cloud_recording_not_enabled";
|
|
6738
6625
|
})[];
|
|
6739
6626
|
custom_metadata: Record<string, string | boolean>;
|
|
6740
|
-
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";
|
|
6627
|
+
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";
|
|
6741
6628
|
space_ids: string[];
|
|
6742
6629
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
6743
6630
|
properties: {
|
|
@@ -6761,17 +6648,9 @@ export declare const device: z.ZodObject<{
|
|
|
6761
6648
|
} | undefined;
|
|
6762
6649
|
image_url?: string | undefined;
|
|
6763
6650
|
battery_level?: number | undefined;
|
|
6764
|
-
noise_level_nrs?: number | null | undefined;
|
|
6765
6651
|
serial_number?: string | undefined;
|
|
6766
6652
|
manufacturer?: string | undefined;
|
|
6767
|
-
|
|
6768
|
-
co_ppm?: number | null | undefined;
|
|
6769
|
-
air_quality_index?: number | null | undefined;
|
|
6770
|
-
mold_risk_level?: string | null | undefined;
|
|
6771
|
-
is_occupied?: boolean | null | undefined;
|
|
6772
|
-
occupant_count?: number | null | undefined;
|
|
6773
|
-
is_smoking_detected?: boolean | null | undefined;
|
|
6774
|
-
noise_level_decibels?: number | null | undefined;
|
|
6653
|
+
noise_level_decibels?: number | undefined;
|
|
6775
6654
|
accessory_keypad?: {
|
|
6776
6655
|
is_connected: boolean;
|
|
6777
6656
|
battery?: {
|
|
@@ -6785,22 +6664,6 @@ export declare const device: z.ZodObject<{
|
|
|
6785
6664
|
supports_accessory_keypad?: boolean | undefined;
|
|
6786
6665
|
supports_offline_access_codes?: boolean | undefined;
|
|
6787
6666
|
currently_triggering_noise_threshold_ids?: string[] | undefined;
|
|
6788
|
-
named_sensors?: {
|
|
6789
|
-
display_name: string;
|
|
6790
|
-
sensor_name: string;
|
|
6791
|
-
temperature_fahrenheit?: number | null | undefined;
|
|
6792
|
-
temperature_celsius?: number | null | undefined;
|
|
6793
|
-
relative_humidity?: number | null | undefined;
|
|
6794
|
-
noise_level_nrs?: number | null | undefined;
|
|
6795
|
-
co2_ppm?: number | null | undefined;
|
|
6796
|
-
co_ppm?: number | null | undefined;
|
|
6797
|
-
air_quality_index?: number | null | undefined;
|
|
6798
|
-
mold_risk_level?: string | null | undefined;
|
|
6799
|
-
is_occupied?: boolean | null | undefined;
|
|
6800
|
-
occupant_count?: number | null | undefined;
|
|
6801
|
-
is_smoking_detected?: boolean | null | undefined;
|
|
6802
|
-
noise_level_decibels?: number | null | undefined;
|
|
6803
|
-
}[] | undefined;
|
|
6804
6667
|
} & {
|
|
6805
6668
|
assa_abloy_credential_service_metadata?: {
|
|
6806
6669
|
has_active_endpoint?: boolean | undefined;
|
|
@@ -7131,6 +6994,13 @@ export declare const device: z.ZodObject<{
|
|
|
7131
6994
|
firmware_version?: string | undefined;
|
|
7132
6995
|
hardware_version?: string | undefined;
|
|
7133
6996
|
} | undefined;
|
|
6997
|
+
alertify_metadata?: {
|
|
6998
|
+
device_id?: string | undefined;
|
|
6999
|
+
device_name?: string | undefined;
|
|
7000
|
+
unit_id?: string | undefined;
|
|
7001
|
+
unit_name?: string | undefined;
|
|
7002
|
+
building_id?: string | null | undefined;
|
|
7003
|
+
} | undefined;
|
|
7134
7004
|
unifi_protect_metadata?: {
|
|
7135
7005
|
model?: string | undefined;
|
|
7136
7006
|
camera_id?: string | undefined;
|
|
@@ -7256,9 +7126,9 @@ export declare const device: z.ZodObject<{
|
|
|
7256
7126
|
} | undefined;
|
|
7257
7127
|
} & {
|
|
7258
7128
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
7259
|
-
temperature_fahrenheit?: number |
|
|
7260
|
-
temperature_celsius?: number |
|
|
7261
|
-
relative_humidity?: number |
|
|
7129
|
+
temperature_fahrenheit?: number | undefined;
|
|
7130
|
+
temperature_celsius?: number | undefined;
|
|
7131
|
+
relative_humidity?: number | undefined;
|
|
7262
7132
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool" | "eco")[] | undefined;
|
|
7263
7133
|
available_fan_mode_settings?: ("auto" | "on" | "circulate")[] | undefined;
|
|
7264
7134
|
available_climate_preset_modes?: ("home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied")[] | undefined;
|
|
@@ -7390,6 +7260,10 @@ export declare const device: z.ZodObject<{
|
|
|
7390
7260
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
7391
7261
|
};
|
|
7392
7262
|
is_managed: true;
|
|
7263
|
+
temperature_fahrenheit?: number | undefined;
|
|
7264
|
+
temperature_celsius?: number | undefined;
|
|
7265
|
+
relative_humidity?: number | undefined;
|
|
7266
|
+
noise_level_nrs?: number | undefined;
|
|
7393
7267
|
can_remotely_unlock?: boolean | undefined;
|
|
7394
7268
|
can_remotely_lock?: boolean | undefined;
|
|
7395
7269
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -7420,6 +7294,14 @@ export declare const device: z.ZodObject<{
|
|
|
7420
7294
|
can_play_speaker_chime?: boolean | undefined;
|
|
7421
7295
|
can_play_speaker_favorite?: boolean | undefined;
|
|
7422
7296
|
can_play_speaker_audio_clip?: boolean | undefined;
|
|
7297
|
+
noise_level_decibels?: number | undefined;
|
|
7298
|
+
co2_ppm?: number | undefined;
|
|
7299
|
+
co_ppm?: number | undefined;
|
|
7300
|
+
air_quality_index?: number | undefined;
|
|
7301
|
+
mold_risk_level?: string | undefined;
|
|
7302
|
+
is_occupied?: boolean | undefined;
|
|
7303
|
+
occupant_count?: number | undefined;
|
|
7304
|
+
is_smoking_detected?: boolean | undefined;
|
|
7423
7305
|
nickname?: string | undefined;
|
|
7424
7306
|
location?: {
|
|
7425
7307
|
time_zone?: string | undefined;
|
|
@@ -7438,6 +7320,22 @@ export declare const device: z.ZodObject<{
|
|
|
7438
7320
|
manufacturer: string;
|
|
7439
7321
|
image_url?: string | undefined;
|
|
7440
7322
|
} | undefined;
|
|
7323
|
+
named_sensors?: {
|
|
7324
|
+
display_name: string;
|
|
7325
|
+
sensor_name: string;
|
|
7326
|
+
temperature_fahrenheit?: number | undefined;
|
|
7327
|
+
temperature_celsius?: number | undefined;
|
|
7328
|
+
relative_humidity?: number | undefined;
|
|
7329
|
+
noise_level_nrs?: number | undefined;
|
|
7330
|
+
noise_level_decibels?: number | undefined;
|
|
7331
|
+
co2_ppm?: number | undefined;
|
|
7332
|
+
co_ppm?: number | undefined;
|
|
7333
|
+
air_quality_index?: number | undefined;
|
|
7334
|
+
mold_risk_level?: string | undefined;
|
|
7335
|
+
is_occupied?: boolean | undefined;
|
|
7336
|
+
occupant_count?: number | undefined;
|
|
7337
|
+
is_smoking_detected?: boolean | undefined;
|
|
7338
|
+
}[] | undefined;
|
|
7441
7339
|
}, {
|
|
7442
7340
|
display_name: string;
|
|
7443
7341
|
device_id: string;
|
|
@@ -7666,7 +7564,7 @@ export declare const device: z.ZodObject<{
|
|
|
7666
7564
|
warning_code: "cloud_recording_not_enabled";
|
|
7667
7565
|
})[];
|
|
7668
7566
|
custom_metadata: Record<string, string | boolean>;
|
|
7669
|
-
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";
|
|
7567
|
+
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";
|
|
7670
7568
|
space_ids: string[];
|
|
7671
7569
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
7672
7570
|
properties: {
|
|
@@ -7690,17 +7588,9 @@ export declare const device: z.ZodObject<{
|
|
|
7690
7588
|
} | undefined;
|
|
7691
7589
|
image_url?: string | undefined;
|
|
7692
7590
|
battery_level?: number | undefined;
|
|
7693
|
-
noise_level_nrs?: number | null | undefined;
|
|
7694
7591
|
serial_number?: string | undefined;
|
|
7695
7592
|
manufacturer?: string | undefined;
|
|
7696
|
-
|
|
7697
|
-
co_ppm?: number | null | undefined;
|
|
7698
|
-
air_quality_index?: number | null | undefined;
|
|
7699
|
-
mold_risk_level?: string | null | undefined;
|
|
7700
|
-
is_occupied?: boolean | null | undefined;
|
|
7701
|
-
occupant_count?: number | null | undefined;
|
|
7702
|
-
is_smoking_detected?: boolean | null | undefined;
|
|
7703
|
-
noise_level_decibels?: number | null | undefined;
|
|
7593
|
+
noise_level_decibels?: number | undefined;
|
|
7704
7594
|
accessory_keypad?: {
|
|
7705
7595
|
is_connected: boolean;
|
|
7706
7596
|
battery?: {
|
|
@@ -7714,22 +7604,6 @@ export declare const device: z.ZodObject<{
|
|
|
7714
7604
|
supports_accessory_keypad?: boolean | undefined;
|
|
7715
7605
|
supports_offline_access_codes?: boolean | undefined;
|
|
7716
7606
|
currently_triggering_noise_threshold_ids?: string[] | undefined;
|
|
7717
|
-
named_sensors?: {
|
|
7718
|
-
display_name: string;
|
|
7719
|
-
sensor_name: string;
|
|
7720
|
-
temperature_fahrenheit?: number | null | undefined;
|
|
7721
|
-
temperature_celsius?: number | null | undefined;
|
|
7722
|
-
relative_humidity?: number | null | undefined;
|
|
7723
|
-
noise_level_nrs?: number | null | undefined;
|
|
7724
|
-
co2_ppm?: number | null | undefined;
|
|
7725
|
-
co_ppm?: number | null | undefined;
|
|
7726
|
-
air_quality_index?: number | null | undefined;
|
|
7727
|
-
mold_risk_level?: string | null | undefined;
|
|
7728
|
-
is_occupied?: boolean | null | undefined;
|
|
7729
|
-
occupant_count?: number | null | undefined;
|
|
7730
|
-
is_smoking_detected?: boolean | null | undefined;
|
|
7731
|
-
noise_level_decibels?: number | null | undefined;
|
|
7732
|
-
}[] | undefined;
|
|
7733
7607
|
} & {
|
|
7734
7608
|
assa_abloy_credential_service_metadata?: {
|
|
7735
7609
|
has_active_endpoint?: boolean | undefined;
|
|
@@ -8060,6 +7934,13 @@ export declare const device: z.ZodObject<{
|
|
|
8060
7934
|
firmware_version?: string | undefined;
|
|
8061
7935
|
hardware_version?: string | undefined;
|
|
8062
7936
|
} | undefined;
|
|
7937
|
+
alertify_metadata?: {
|
|
7938
|
+
device_id?: string | undefined;
|
|
7939
|
+
device_name?: string | undefined;
|
|
7940
|
+
unit_id?: string | undefined;
|
|
7941
|
+
unit_name?: string | undefined;
|
|
7942
|
+
building_id?: string | null | undefined;
|
|
7943
|
+
} | undefined;
|
|
8063
7944
|
unifi_protect_metadata?: {
|
|
8064
7945
|
model?: string | undefined;
|
|
8065
7946
|
camera_id?: string | undefined;
|
|
@@ -8185,9 +8066,9 @@ export declare const device: z.ZodObject<{
|
|
|
8185
8066
|
} | undefined;
|
|
8186
8067
|
} & {
|
|
8187
8068
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
8188
|
-
temperature_fahrenheit?: number |
|
|
8189
|
-
temperature_celsius?: number |
|
|
8190
|
-
relative_humidity?: number |
|
|
8069
|
+
temperature_fahrenheit?: number | undefined;
|
|
8070
|
+
temperature_celsius?: number | undefined;
|
|
8071
|
+
relative_humidity?: number | undefined;
|
|
8191
8072
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool" | "eco")[] | undefined;
|
|
8192
8073
|
available_fan_mode_settings?: ("auto" | "on" | "circulate")[] | undefined;
|
|
8193
8074
|
available_climate_preset_modes?: ("home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied")[] | undefined;
|
|
@@ -8319,6 +8200,10 @@ export declare const device: z.ZodObject<{
|
|
|
8319
8200
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
8320
8201
|
};
|
|
8321
8202
|
is_managed: true;
|
|
8203
|
+
temperature_fahrenheit?: number | undefined;
|
|
8204
|
+
temperature_celsius?: number | undefined;
|
|
8205
|
+
relative_humidity?: number | undefined;
|
|
8206
|
+
noise_level_nrs?: number | undefined;
|
|
8322
8207
|
can_remotely_unlock?: boolean | undefined;
|
|
8323
8208
|
can_remotely_lock?: boolean | undefined;
|
|
8324
8209
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -8349,6 +8234,14 @@ export declare const device: z.ZodObject<{
|
|
|
8349
8234
|
can_play_speaker_chime?: boolean | undefined;
|
|
8350
8235
|
can_play_speaker_favorite?: boolean | undefined;
|
|
8351
8236
|
can_play_speaker_audio_clip?: boolean | undefined;
|
|
8237
|
+
noise_level_decibels?: number | undefined;
|
|
8238
|
+
co2_ppm?: number | undefined;
|
|
8239
|
+
co_ppm?: number | undefined;
|
|
8240
|
+
air_quality_index?: number | undefined;
|
|
8241
|
+
mold_risk_level?: string | undefined;
|
|
8242
|
+
is_occupied?: boolean | undefined;
|
|
8243
|
+
occupant_count?: number | undefined;
|
|
8244
|
+
is_smoking_detected?: boolean | undefined;
|
|
8352
8245
|
nickname?: string | undefined;
|
|
8353
8246
|
location?: {
|
|
8354
8247
|
time_zone?: string | undefined;
|
|
@@ -8367,6 +8260,22 @@ export declare const device: z.ZodObject<{
|
|
|
8367
8260
|
manufacturer: string;
|
|
8368
8261
|
image_url?: string | undefined;
|
|
8369
8262
|
} | undefined;
|
|
8263
|
+
named_sensors?: {
|
|
8264
|
+
display_name: string;
|
|
8265
|
+
sensor_name: string;
|
|
8266
|
+
temperature_fahrenheit?: number | undefined;
|
|
8267
|
+
temperature_celsius?: number | undefined;
|
|
8268
|
+
relative_humidity?: number | undefined;
|
|
8269
|
+
noise_level_nrs?: number | undefined;
|
|
8270
|
+
noise_level_decibels?: number | undefined;
|
|
8271
|
+
co2_ppm?: number | undefined;
|
|
8272
|
+
co_ppm?: number | undefined;
|
|
8273
|
+
air_quality_index?: number | undefined;
|
|
8274
|
+
mold_risk_level?: string | undefined;
|
|
8275
|
+
is_occupied?: boolean | undefined;
|
|
8276
|
+
occupant_count?: number | undefined;
|
|
8277
|
+
is_smoking_detected?: boolean | undefined;
|
|
8278
|
+
}[] | undefined;
|
|
8370
8279
|
}>;
|
|
8371
8280
|
export type Device = z.infer<typeof device>;
|
|
8372
8281
|
export {};
|