@seamapi/types 1.463.0 → 1.464.3
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/LICENSE.txt +1 -1
- package/dist/connect.cjs +57 -55
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2884 -2548
- package/dist/devicedb.d.cts +0 -4
- package/dist/index.cjs +57 -55
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +8 -8
- package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -2
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +6 -6
- package/lib/seam/connect/models/access-grants/access-grant.js +1 -2
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-access-group.js +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -6
- package/lib/seam/connect/models/acs/acs-credential.js +1 -1
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-encoder.js +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +11 -10
- package/lib/seam/connect/models/acs/acs-system.js +2 -2
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +5 -4
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +2 -2
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +3 -2
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +1 -1
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +248 -248
- package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/common.d.ts +10 -10
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -84
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +28 -28
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +28 -28
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -12
- package/lib/seam/connect/models/batch.d.ts +2925 -3128
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +2 -2
- package/lib/seam/connect/models/bridges/bridge-client-session.js +1 -1
- package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +6 -6
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +16 -16
- package/lib/seam/connect/models/connected-accounts/connected-account.js +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/customer/customer-portal.d.ts +34 -0
- package/lib/seam/connect/models/customer/customer-portal.js +18 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +12 -12
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +12 -12
- package/lib/seam/connect/models/devices/device-metadata.d.ts +56 -56
- package/lib/seam/connect/models/devices/device.d.ts +136 -194
- package/lib/seam/connect/models/devices/device.js +2 -16
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +100 -121
- package/lib/seam/connect/models/events/devices.d.ts +16 -16
- package/lib/seam/connect/models/events/seam-event.d.ts +8 -8
- package/lib/seam/connect/models/locations/location.d.ts +2 -2
- package/lib/seam/connect/models/partner/magic-link.d.ts +2 -2
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +2 -2
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +2 -2
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +5 -4
- package/lib/seam/connect/models/user-identities/user-identity.js +2 -2
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
- package/lib/seam/connect/models/workspaces/workspace.d.ts +4 -4
- package/lib/seam/connect/openapi.d.ts +58 -0
- package/lib/seam/connect/openapi.js +62 -50
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2820 -2429
- package/lib/seam/devicedb/models/device-model.d.ts +116 -116
- package/lib/seam/devicedb/models/image-reference.d.ts +4 -4
- package/lib/seam/devicedb/models/manufacturer.d.ts +12 -12
- package/lib/seam/devicedb/route-specs.d.ts +210 -214
- package/package.json +12 -13
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +4 -4
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +1 -2
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +2 -2
- package/src/lib/seam/connect/models/acs/acs-credential.ts +4 -2
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +2 -2
- package/src/lib/seam/connect/models/acs/acs-system.ts +4 -4
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +4 -4
- package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +2 -2
- package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +2 -2
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +4 -4
- package/src/lib/seam/connect/models/customer/customer-portal.ts +23 -0
- package/src/lib/seam/connect/models/devices/device.ts +4 -19
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +4 -4
- package/src/lib/seam/connect/openapi.ts +60 -52
- package/src/lib/seam/connect/route-types.ts +3038 -2543
|
@@ -273,7 +273,7 @@ export declare const device_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodO
|
|
|
273
273
|
is_device_error: true;
|
|
274
274
|
}>]>;
|
|
275
275
|
export type DeviceError = z.infer<typeof device_error>;
|
|
276
|
-
declare const
|
|
276
|
+
declare const _device_error_map: z.ZodObject<{
|
|
277
277
|
device_offline: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
278
278
|
message: z.ZodString;
|
|
279
279
|
is_device_error: z.ZodLiteral<true>;
|
|
@@ -693,7 +693,7 @@ declare const device_error_map: z.ZodObject<{
|
|
|
693
693
|
is_device_error: true;
|
|
694
694
|
} | null | undefined;
|
|
695
695
|
}>;
|
|
696
|
-
export type DeviceErrorMap = z.infer<typeof
|
|
696
|
+
export type DeviceErrorMap = z.infer<typeof _device_error_map>;
|
|
697
697
|
export declare const unknown_issue_with_phone: z.ZodObject<{
|
|
698
698
|
message: z.ZodString;
|
|
699
699
|
created_at: z.ZodString;
|
|
@@ -776,19 +776,6 @@ declare const device_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObje
|
|
|
776
776
|
}>, z.ZodObject<{
|
|
777
777
|
message: z.ZodString;
|
|
778
778
|
created_at: z.ZodString;
|
|
779
|
-
} & {
|
|
780
|
-
warning_code: z.ZodLiteral<"nest_thermostat_in_manual_eco_mode">;
|
|
781
|
-
}, "strip", z.ZodTypeAny, {
|
|
782
|
-
message: string;
|
|
783
|
-
created_at: string;
|
|
784
|
-
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
785
|
-
}, {
|
|
786
|
-
message: string;
|
|
787
|
-
created_at: string;
|
|
788
|
-
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
789
|
-
}>, z.ZodObject<{
|
|
790
|
-
message: z.ZodString;
|
|
791
|
-
created_at: z.ZodString;
|
|
792
779
|
} & {
|
|
793
780
|
warning_code: z.ZodLiteral<"ttlock_lock_gateway_unlocking_not_enabled">;
|
|
794
781
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -944,7 +931,7 @@ declare const device_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObje
|
|
|
944
931
|
warning_code: "lockly_time_zone_not_configured";
|
|
945
932
|
}>]>;
|
|
946
933
|
export type DeviceWarning = z.infer<typeof device_warning>;
|
|
947
|
-
|
|
934
|
+
declare const _device_warning_map: z.ZodObject<{
|
|
948
935
|
partial_backup_access_code_pool: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
949
936
|
message: z.ZodString;
|
|
950
937
|
created_at: z.ZodString;
|
|
@@ -1036,20 +1023,6 @@ export declare const device_warning_map: z.ZodObject<{
|
|
|
1036
1023
|
created_at: string;
|
|
1037
1024
|
warning_code: "third_party_integration_detected";
|
|
1038
1025
|
}>>>;
|
|
1039
|
-
nest_thermostat_in_manual_eco_mode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1040
|
-
message: z.ZodString;
|
|
1041
|
-
created_at: z.ZodString;
|
|
1042
|
-
} & {
|
|
1043
|
-
warning_code: z.ZodLiteral<"nest_thermostat_in_manual_eco_mode">;
|
|
1044
|
-
}, "strip", z.ZodTypeAny, {
|
|
1045
|
-
message: string;
|
|
1046
|
-
created_at: string;
|
|
1047
|
-
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
1048
|
-
}, {
|
|
1049
|
-
message: string;
|
|
1050
|
-
created_at: string;
|
|
1051
|
-
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
1052
|
-
}>>>;
|
|
1053
1026
|
ttlock_lock_gateway_unlocking_not_enabled: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1054
1027
|
message: z.ZodString;
|
|
1055
1028
|
created_at: z.ZodString;
|
|
@@ -1250,11 +1223,6 @@ export declare const device_warning_map: z.ZodObject<{
|
|
|
1250
1223
|
created_at: string;
|
|
1251
1224
|
warning_code: "third_party_integration_detected";
|
|
1252
1225
|
} | null | undefined;
|
|
1253
|
-
nest_thermostat_in_manual_eco_mode?: {
|
|
1254
|
-
message: string;
|
|
1255
|
-
created_at: string;
|
|
1256
|
-
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
1257
|
-
} | null | undefined;
|
|
1258
1226
|
ttlock_lock_gateway_unlocking_not_enabled?: {
|
|
1259
1227
|
message: string;
|
|
1260
1228
|
created_at: string;
|
|
@@ -1343,11 +1311,6 @@ export declare const device_warning_map: z.ZodObject<{
|
|
|
1343
1311
|
created_at: string;
|
|
1344
1312
|
warning_code: "third_party_integration_detected";
|
|
1345
1313
|
} | null | undefined;
|
|
1346
|
-
nest_thermostat_in_manual_eco_mode?: {
|
|
1347
|
-
message: string;
|
|
1348
|
-
created_at: string;
|
|
1349
|
-
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
1350
|
-
} | null | undefined;
|
|
1351
1314
|
ttlock_lock_gateway_unlocking_not_enabled?: {
|
|
1352
1315
|
message: string;
|
|
1353
1316
|
created_at: string;
|
|
@@ -1391,7 +1354,7 @@ export declare const device_warning_map: z.ZodObject<{
|
|
|
1391
1354
|
warning_code: "unknown_issue_with_phone";
|
|
1392
1355
|
} | null | undefined;
|
|
1393
1356
|
}>;
|
|
1394
|
-
export type DeviceWarningMap = z.infer<typeof
|
|
1357
|
+
export type DeviceWarningMap = z.infer<typeof _device_warning_map>;
|
|
1395
1358
|
export declare const common_device_properties: z.ZodObject<{
|
|
1396
1359
|
online: z.ZodBoolean;
|
|
1397
1360
|
name: z.ZodString;
|
|
@@ -1453,10 +1416,10 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
1453
1416
|
level: z.ZodNumber;
|
|
1454
1417
|
status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
1455
1418
|
}, "strip", z.ZodTypeAny, {
|
|
1456
|
-
status: "
|
|
1419
|
+
status: "critical" | "low" | "good" | "full";
|
|
1457
1420
|
level: number;
|
|
1458
1421
|
}, {
|
|
1459
|
-
status: "
|
|
1422
|
+
status: "critical" | "low" | "good" | "full";
|
|
1460
1423
|
level: number;
|
|
1461
1424
|
}>>;
|
|
1462
1425
|
manufacturer: z.ZodOptional<z.ZodString>;
|
|
@@ -1471,10 +1434,6 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
1471
1434
|
currently_triggering_noise_threshold_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1472
1435
|
}, "strip", z.ZodTypeAny, {
|
|
1473
1436
|
name: string;
|
|
1474
|
-
appearance: {
|
|
1475
|
-
name: string;
|
|
1476
|
-
};
|
|
1477
|
-
online: boolean;
|
|
1478
1437
|
model: {
|
|
1479
1438
|
display_name: string;
|
|
1480
1439
|
manufacturer_display_name: string;
|
|
@@ -1484,8 +1443,12 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
1484
1443
|
online_access_codes_supported?: boolean | undefined;
|
|
1485
1444
|
accessory_keypad_supported?: boolean | undefined;
|
|
1486
1445
|
};
|
|
1446
|
+
online: boolean;
|
|
1447
|
+
appearance: {
|
|
1448
|
+
name: string;
|
|
1449
|
+
};
|
|
1487
1450
|
battery?: {
|
|
1488
|
-
status: "
|
|
1451
|
+
status: "critical" | "low" | "good" | "full";
|
|
1489
1452
|
level: number;
|
|
1490
1453
|
} | undefined;
|
|
1491
1454
|
battery_level?: number | undefined;
|
|
@@ -1508,10 +1471,6 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
1508
1471
|
currently_triggering_noise_threshold_ids?: string[] | undefined;
|
|
1509
1472
|
}, {
|
|
1510
1473
|
name: string;
|
|
1511
|
-
appearance: {
|
|
1512
|
-
name: string;
|
|
1513
|
-
};
|
|
1514
|
-
online: boolean;
|
|
1515
1474
|
model: {
|
|
1516
1475
|
display_name: string;
|
|
1517
1476
|
manufacturer_display_name: string;
|
|
@@ -1521,8 +1480,12 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
1521
1480
|
online_access_codes_supported?: boolean | undefined;
|
|
1522
1481
|
accessory_keypad_supported?: boolean | undefined;
|
|
1523
1482
|
};
|
|
1483
|
+
online: boolean;
|
|
1484
|
+
appearance: {
|
|
1485
|
+
name: string;
|
|
1486
|
+
};
|
|
1524
1487
|
battery?: {
|
|
1525
|
-
status: "
|
|
1488
|
+
status: "critical" | "low" | "good" | "full";
|
|
1526
1489
|
level: number;
|
|
1527
1490
|
} | undefined;
|
|
1528
1491
|
battery_level?: number | undefined;
|
|
@@ -1966,10 +1929,10 @@ export declare const device: z.ZodObject<{
|
|
|
1966
1929
|
level: z.ZodNumber;
|
|
1967
1930
|
status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
1968
1931
|
}, "strip", z.ZodTypeAny, {
|
|
1969
|
-
status: "
|
|
1932
|
+
status: "critical" | "low" | "good" | "full";
|
|
1970
1933
|
level: number;
|
|
1971
1934
|
}, {
|
|
1972
|
-
status: "
|
|
1935
|
+
status: "critical" | "low" | "good" | "full";
|
|
1973
1936
|
level: number;
|
|
1974
1937
|
}>>;
|
|
1975
1938
|
manufacturer: z.ZodOptional<z.ZodString>;
|
|
@@ -1984,10 +1947,6 @@ export declare const device: z.ZodObject<{
|
|
|
1984
1947
|
currently_triggering_noise_threshold_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1985
1948
|
}, "strip", z.ZodTypeAny, {
|
|
1986
1949
|
name: string;
|
|
1987
|
-
appearance: {
|
|
1988
|
-
name: string;
|
|
1989
|
-
};
|
|
1990
|
-
online: boolean;
|
|
1991
1950
|
model: {
|
|
1992
1951
|
display_name: string;
|
|
1993
1952
|
manufacturer_display_name: string;
|
|
@@ -1997,8 +1956,12 @@ export declare const device: z.ZodObject<{
|
|
|
1997
1956
|
online_access_codes_supported?: boolean | undefined;
|
|
1998
1957
|
accessory_keypad_supported?: boolean | undefined;
|
|
1999
1958
|
};
|
|
1959
|
+
online: boolean;
|
|
1960
|
+
appearance: {
|
|
1961
|
+
name: string;
|
|
1962
|
+
};
|
|
2000
1963
|
battery?: {
|
|
2001
|
-
status: "
|
|
1964
|
+
status: "critical" | "low" | "good" | "full";
|
|
2002
1965
|
level: number;
|
|
2003
1966
|
} | undefined;
|
|
2004
1967
|
battery_level?: number | undefined;
|
|
@@ -2021,10 +1984,6 @@ export declare const device: z.ZodObject<{
|
|
|
2021
1984
|
currently_triggering_noise_threshold_ids?: string[] | undefined;
|
|
2022
1985
|
}, {
|
|
2023
1986
|
name: string;
|
|
2024
|
-
appearance: {
|
|
2025
|
-
name: string;
|
|
2026
|
-
};
|
|
2027
|
-
online: boolean;
|
|
2028
1987
|
model: {
|
|
2029
1988
|
display_name: string;
|
|
2030
1989
|
manufacturer_display_name: string;
|
|
@@ -2034,8 +1993,12 @@ export declare const device: z.ZodObject<{
|
|
|
2034
1993
|
online_access_codes_supported?: boolean | undefined;
|
|
2035
1994
|
accessory_keypad_supported?: boolean | undefined;
|
|
2036
1995
|
};
|
|
1996
|
+
online: boolean;
|
|
1997
|
+
appearance: {
|
|
1998
|
+
name: string;
|
|
1999
|
+
};
|
|
2037
2000
|
battery?: {
|
|
2038
|
-
status: "
|
|
2001
|
+
status: "critical" | "low" | "good" | "full";
|
|
2039
2002
|
level: number;
|
|
2040
2003
|
} | undefined;
|
|
2041
2004
|
battery_level?: number | undefined;
|
|
@@ -2337,143 +2300,143 @@ export declare const device: z.ZodObject<{
|
|
|
2337
2300
|
time: z.ZodString;
|
|
2338
2301
|
value: z.ZodNumber;
|
|
2339
2302
|
}, "strip", z.ZodTypeAny, {
|
|
2340
|
-
time: string;
|
|
2341
2303
|
value: number;
|
|
2342
|
-
}, {
|
|
2343
2304
|
time: string;
|
|
2305
|
+
}, {
|
|
2344
2306
|
value: number;
|
|
2307
|
+
time: string;
|
|
2345
2308
|
}>;
|
|
2346
2309
|
sound: z.ZodObject<{
|
|
2347
2310
|
time: z.ZodString;
|
|
2348
2311
|
value: z.ZodNumber;
|
|
2349
2312
|
}, "strip", z.ZodTypeAny, {
|
|
2350
|
-
time: string;
|
|
2351
2313
|
value: number;
|
|
2352
|
-
}, {
|
|
2353
2314
|
time: string;
|
|
2315
|
+
}, {
|
|
2354
2316
|
value: number;
|
|
2317
|
+
time: string;
|
|
2355
2318
|
}>;
|
|
2356
2319
|
humidity: z.ZodObject<{
|
|
2357
2320
|
time: z.ZodString;
|
|
2358
2321
|
value: z.ZodNumber;
|
|
2359
2322
|
}, "strip", z.ZodTypeAny, {
|
|
2360
|
-
time: string;
|
|
2361
2323
|
value: number;
|
|
2362
|
-
}, {
|
|
2363
2324
|
time: string;
|
|
2325
|
+
}, {
|
|
2364
2326
|
value: number;
|
|
2327
|
+
time: string;
|
|
2365
2328
|
}>;
|
|
2366
2329
|
pressure: z.ZodObject<{
|
|
2367
2330
|
time: z.ZodString;
|
|
2368
2331
|
value: z.ZodNumber;
|
|
2369
2332
|
}, "strip", z.ZodTypeAny, {
|
|
2370
|
-
time: string;
|
|
2371
2333
|
value: number;
|
|
2372
|
-
}, {
|
|
2373
2334
|
time: string;
|
|
2335
|
+
}, {
|
|
2374
2336
|
value: number;
|
|
2337
|
+
time: string;
|
|
2375
2338
|
}>;
|
|
2376
2339
|
accelerometer_z: z.ZodObject<{
|
|
2377
2340
|
time: z.ZodString;
|
|
2378
2341
|
value: z.ZodNumber;
|
|
2379
2342
|
}, "strip", z.ZodTypeAny, {
|
|
2380
|
-
time: string;
|
|
2381
2343
|
value: number;
|
|
2382
|
-
}, {
|
|
2383
2344
|
time: string;
|
|
2345
|
+
}, {
|
|
2384
2346
|
value: number;
|
|
2347
|
+
time: string;
|
|
2385
2348
|
}>;
|
|
2386
2349
|
}, "strip", z.ZodTypeAny, {
|
|
2387
|
-
pressure: {
|
|
2388
|
-
time: string;
|
|
2389
|
-
value: number;
|
|
2390
|
-
};
|
|
2391
2350
|
temperature: {
|
|
2392
|
-
time: string;
|
|
2393
2351
|
value: number;
|
|
2352
|
+
time: string;
|
|
2394
2353
|
};
|
|
2395
2354
|
sound: {
|
|
2396
|
-
time: string;
|
|
2397
2355
|
value: number;
|
|
2356
|
+
time: string;
|
|
2398
2357
|
};
|
|
2399
2358
|
humidity: {
|
|
2400
|
-
time: string;
|
|
2401
2359
|
value: number;
|
|
2402
|
-
};
|
|
2403
|
-
accelerometer_z: {
|
|
2404
2360
|
time: string;
|
|
2405
|
-
value: number;
|
|
2406
2361
|
};
|
|
2407
|
-
}, {
|
|
2408
2362
|
pressure: {
|
|
2363
|
+
value: number;
|
|
2409
2364
|
time: string;
|
|
2365
|
+
};
|
|
2366
|
+
accelerometer_z: {
|
|
2410
2367
|
value: number;
|
|
2368
|
+
time: string;
|
|
2411
2369
|
};
|
|
2370
|
+
}, {
|
|
2412
2371
|
temperature: {
|
|
2413
|
-
time: string;
|
|
2414
2372
|
value: number;
|
|
2373
|
+
time: string;
|
|
2415
2374
|
};
|
|
2416
2375
|
sound: {
|
|
2417
|
-
time: string;
|
|
2418
2376
|
value: number;
|
|
2377
|
+
time: string;
|
|
2419
2378
|
};
|
|
2420
2379
|
humidity: {
|
|
2380
|
+
value: number;
|
|
2421
2381
|
time: string;
|
|
2382
|
+
};
|
|
2383
|
+
pressure: {
|
|
2422
2384
|
value: number;
|
|
2385
|
+
time: string;
|
|
2423
2386
|
};
|
|
2424
2387
|
accelerometer_z: {
|
|
2425
|
-
time: string;
|
|
2426
2388
|
value: number;
|
|
2389
|
+
time: string;
|
|
2427
2390
|
};
|
|
2428
2391
|
}>;
|
|
2429
2392
|
}, "strip", z.ZodTypeAny, {
|
|
2430
2393
|
device_id: string;
|
|
2431
2394
|
device_name: string;
|
|
2432
2395
|
latest_sensor_values: {
|
|
2433
|
-
pressure: {
|
|
2434
|
-
time: string;
|
|
2435
|
-
value: number;
|
|
2436
|
-
};
|
|
2437
2396
|
temperature: {
|
|
2438
|
-
time: string;
|
|
2439
2397
|
value: number;
|
|
2398
|
+
time: string;
|
|
2440
2399
|
};
|
|
2441
2400
|
sound: {
|
|
2442
|
-
time: string;
|
|
2443
2401
|
value: number;
|
|
2402
|
+
time: string;
|
|
2444
2403
|
};
|
|
2445
2404
|
humidity: {
|
|
2405
|
+
value: number;
|
|
2446
2406
|
time: string;
|
|
2407
|
+
};
|
|
2408
|
+
pressure: {
|
|
2447
2409
|
value: number;
|
|
2410
|
+
time: string;
|
|
2448
2411
|
};
|
|
2449
2412
|
accelerometer_z: {
|
|
2450
|
-
time: string;
|
|
2451
2413
|
value: number;
|
|
2414
|
+
time: string;
|
|
2452
2415
|
};
|
|
2453
2416
|
};
|
|
2454
2417
|
}, {
|
|
2455
2418
|
device_id: string;
|
|
2456
2419
|
device_name: string;
|
|
2457
2420
|
latest_sensor_values: {
|
|
2458
|
-
pressure: {
|
|
2459
|
-
time: string;
|
|
2460
|
-
value: number;
|
|
2461
|
-
};
|
|
2462
2421
|
temperature: {
|
|
2463
|
-
time: string;
|
|
2464
2422
|
value: number;
|
|
2423
|
+
time: string;
|
|
2465
2424
|
};
|
|
2466
2425
|
sound: {
|
|
2467
|
-
time: string;
|
|
2468
2426
|
value: number;
|
|
2427
|
+
time: string;
|
|
2469
2428
|
};
|
|
2470
2429
|
humidity: {
|
|
2430
|
+
value: number;
|
|
2471
2431
|
time: string;
|
|
2432
|
+
};
|
|
2433
|
+
pressure: {
|
|
2472
2434
|
value: number;
|
|
2435
|
+
time: string;
|
|
2473
2436
|
};
|
|
2474
2437
|
accelerometer_z: {
|
|
2475
|
-
time: string;
|
|
2476
2438
|
value: number;
|
|
2439
|
+
time: string;
|
|
2477
2440
|
};
|
|
2478
2441
|
};
|
|
2479
2442
|
}>>;
|
|
@@ -2880,7 +2843,6 @@ export declare const device: z.ZodObject<{
|
|
|
2880
2843
|
fob_id: z.ZodNumber;
|
|
2881
2844
|
has_photo: z.ZodBoolean;
|
|
2882
2845
|
}, "strip", z.ZodTypeAny, {
|
|
2883
|
-
address: string | null;
|
|
2884
2846
|
device_name: string;
|
|
2885
2847
|
key_id: string;
|
|
2886
2848
|
property_id: string | null;
|
|
@@ -2890,6 +2852,7 @@ export declare const device: z.ZodObject<{
|
|
|
2890
2852
|
status_type: string;
|
|
2891
2853
|
current_or_last_store_id: number;
|
|
2892
2854
|
last_movement: string;
|
|
2855
|
+
address: string | null;
|
|
2893
2856
|
current_status: string | null;
|
|
2894
2857
|
current_user_name: string | null;
|
|
2895
2858
|
current_user_email: string | null;
|
|
@@ -2901,7 +2864,6 @@ export declare const device: z.ZodObject<{
|
|
|
2901
2864
|
fob_id: number;
|
|
2902
2865
|
has_photo: boolean;
|
|
2903
2866
|
}, {
|
|
2904
|
-
address: string | null;
|
|
2905
2867
|
device_name: string;
|
|
2906
2868
|
key_id: string;
|
|
2907
2869
|
property_id: string | null;
|
|
@@ -2911,6 +2873,7 @@ export declare const device: z.ZodObject<{
|
|
|
2911
2873
|
status_type: string;
|
|
2912
2874
|
current_or_last_store_id: number;
|
|
2913
2875
|
last_movement: string;
|
|
2876
|
+
address: string | null;
|
|
2914
2877
|
current_status: string | null;
|
|
2915
2878
|
current_user_name: string | null;
|
|
2916
2879
|
current_user_email: string | null;
|
|
@@ -3012,25 +2975,25 @@ export declare const device: z.ZodObject<{
|
|
|
3012
2975
|
device_id: string;
|
|
3013
2976
|
device_name: string;
|
|
3014
2977
|
latest_sensor_values: {
|
|
3015
|
-
pressure: {
|
|
3016
|
-
time: string;
|
|
3017
|
-
value: number;
|
|
3018
|
-
};
|
|
3019
2978
|
temperature: {
|
|
3020
|
-
time: string;
|
|
3021
2979
|
value: number;
|
|
2980
|
+
time: string;
|
|
3022
2981
|
};
|
|
3023
2982
|
sound: {
|
|
3024
|
-
time: string;
|
|
3025
2983
|
value: number;
|
|
2984
|
+
time: string;
|
|
3026
2985
|
};
|
|
3027
2986
|
humidity: {
|
|
2987
|
+
value: number;
|
|
3028
2988
|
time: string;
|
|
2989
|
+
};
|
|
2990
|
+
pressure: {
|
|
3029
2991
|
value: number;
|
|
2992
|
+
time: string;
|
|
3030
2993
|
};
|
|
3031
2994
|
accelerometer_z: {
|
|
3032
|
-
time: string;
|
|
3033
2995
|
value: number;
|
|
2996
|
+
time: string;
|
|
3034
2997
|
};
|
|
3035
2998
|
};
|
|
3036
2999
|
} | undefined;
|
|
@@ -3156,7 +3119,6 @@ export declare const device: z.ZodObject<{
|
|
|
3156
3119
|
product_type: string;
|
|
3157
3120
|
} | undefined;
|
|
3158
3121
|
keynest_metadata?: {
|
|
3159
|
-
address: string | null;
|
|
3160
3122
|
device_name: string;
|
|
3161
3123
|
key_id: string;
|
|
3162
3124
|
property_id: string | null;
|
|
@@ -3166,6 +3128,7 @@ export declare const device: z.ZodObject<{
|
|
|
3166
3128
|
status_type: string;
|
|
3167
3129
|
current_or_last_store_id: number;
|
|
3168
3130
|
last_movement: string;
|
|
3131
|
+
address: string | null;
|
|
3169
3132
|
current_status: string | null;
|
|
3170
3133
|
current_user_name: string | null;
|
|
3171
3134
|
current_user_email: string | null;
|
|
@@ -3267,25 +3230,25 @@ export declare const device: z.ZodObject<{
|
|
|
3267
3230
|
device_id: string;
|
|
3268
3231
|
device_name: string;
|
|
3269
3232
|
latest_sensor_values: {
|
|
3270
|
-
pressure: {
|
|
3271
|
-
time: string;
|
|
3272
|
-
value: number;
|
|
3273
|
-
};
|
|
3274
3233
|
temperature: {
|
|
3275
|
-
time: string;
|
|
3276
3234
|
value: number;
|
|
3235
|
+
time: string;
|
|
3277
3236
|
};
|
|
3278
3237
|
sound: {
|
|
3279
|
-
time: string;
|
|
3280
3238
|
value: number;
|
|
3239
|
+
time: string;
|
|
3281
3240
|
};
|
|
3282
3241
|
humidity: {
|
|
3242
|
+
value: number;
|
|
3283
3243
|
time: string;
|
|
3244
|
+
};
|
|
3245
|
+
pressure: {
|
|
3284
3246
|
value: number;
|
|
3247
|
+
time: string;
|
|
3285
3248
|
};
|
|
3286
3249
|
accelerometer_z: {
|
|
3287
|
-
time: string;
|
|
3288
3250
|
value: number;
|
|
3251
|
+
time: string;
|
|
3289
3252
|
};
|
|
3290
3253
|
};
|
|
3291
3254
|
} | undefined;
|
|
@@ -3411,7 +3374,6 @@ export declare const device: z.ZodObject<{
|
|
|
3411
3374
|
product_type: string;
|
|
3412
3375
|
} | undefined;
|
|
3413
3376
|
keynest_metadata?: {
|
|
3414
|
-
address: string | null;
|
|
3415
3377
|
device_name: string;
|
|
3416
3378
|
key_id: string;
|
|
3417
3379
|
property_id: string | null;
|
|
@@ -3421,6 +3383,7 @@ export declare const device: z.ZodObject<{
|
|
|
3421
3383
|
status_type: string;
|
|
3422
3384
|
current_or_last_store_id: number;
|
|
3423
3385
|
last_movement: string;
|
|
3386
|
+
address: string | null;
|
|
3424
3387
|
current_status: string | null;
|
|
3425
3388
|
current_user_name: string | null;
|
|
3426
3389
|
current_user_email: string | null;
|
|
@@ -3544,11 +3507,11 @@ export declare const device: z.ZodObject<{
|
|
|
3544
3507
|
owner: "user" | "system";
|
|
3545
3508
|
}>>>;
|
|
3546
3509
|
}, "strip", z.ZodTypeAny, {
|
|
3547
|
-
name?: string | null | undefined;
|
|
3548
3510
|
climate_preset_key?: string | undefined;
|
|
3549
3511
|
can_edit?: boolean | undefined;
|
|
3550
3512
|
can_delete?: boolean | undefined;
|
|
3551
3513
|
can_program?: boolean | undefined;
|
|
3514
|
+
name?: string | null | undefined;
|
|
3552
3515
|
display_name?: string | undefined;
|
|
3553
3516
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
3554
3517
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -3564,11 +3527,11 @@ export declare const device: z.ZodObject<{
|
|
|
3564
3527
|
owner: "user" | "system";
|
|
3565
3528
|
} | undefined;
|
|
3566
3529
|
}, {
|
|
3567
|
-
name?: string | null | undefined;
|
|
3568
3530
|
climate_preset_key?: string | undefined;
|
|
3569
3531
|
can_edit?: boolean | undefined;
|
|
3570
3532
|
can_delete?: boolean | undefined;
|
|
3571
3533
|
can_program?: boolean | undefined;
|
|
3534
|
+
name?: string | null | undefined;
|
|
3572
3535
|
display_name?: string | undefined;
|
|
3573
3536
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
3574
3537
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -3613,11 +3576,11 @@ export declare const device: z.ZodObject<{
|
|
|
3613
3576
|
owner: "user" | "system";
|
|
3614
3577
|
}>>>;
|
|
3615
3578
|
}, "strip", z.ZodTypeAny, {
|
|
3616
|
-
name?: string | null | undefined;
|
|
3617
3579
|
climate_preset_key?: string | undefined;
|
|
3618
3580
|
can_edit?: boolean | undefined;
|
|
3619
3581
|
can_delete?: boolean | undefined;
|
|
3620
3582
|
can_program?: boolean | undefined;
|
|
3583
|
+
name?: string | null | undefined;
|
|
3621
3584
|
display_name?: string | undefined;
|
|
3622
3585
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
3623
3586
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -3633,11 +3596,11 @@ export declare const device: z.ZodObject<{
|
|
|
3633
3596
|
owner: "user" | "system";
|
|
3634
3597
|
} | undefined;
|
|
3635
3598
|
}, {
|
|
3636
|
-
name?: string | null | undefined;
|
|
3637
3599
|
climate_preset_key?: string | undefined;
|
|
3638
3600
|
can_edit?: boolean | undefined;
|
|
3639
3601
|
can_delete?: boolean | undefined;
|
|
3640
3602
|
can_program?: boolean | undefined;
|
|
3603
|
+
name?: string | null | undefined;
|
|
3641
3604
|
display_name?: string | undefined;
|
|
3642
3605
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
3643
3606
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -3745,8 +3708,8 @@ export declare const device: z.ZodObject<{
|
|
|
3745
3708
|
error_code: string;
|
|
3746
3709
|
}>, "many">;
|
|
3747
3710
|
}, "strip", z.ZodTypeAny, {
|
|
3748
|
-
name: string | null;
|
|
3749
3711
|
climate_preset_key: string;
|
|
3712
|
+
name: string | null;
|
|
3750
3713
|
device_id: string;
|
|
3751
3714
|
workspace_id: string;
|
|
3752
3715
|
created_at: string;
|
|
@@ -3760,8 +3723,8 @@ export declare const device: z.ZodObject<{
|
|
|
3760
3723
|
max_override_period_minutes?: number | null | undefined;
|
|
3761
3724
|
is_override_allowed?: boolean | undefined;
|
|
3762
3725
|
}, {
|
|
3763
|
-
name: string | null;
|
|
3764
3726
|
climate_preset_key: string;
|
|
3727
|
+
name: string | null;
|
|
3765
3728
|
device_id: string;
|
|
3766
3729
|
workspace_id: string;
|
|
3767
3730
|
created_at: string;
|
|
@@ -3880,11 +3843,11 @@ export declare const device: z.ZodObject<{
|
|
|
3880
3843
|
is_fan_running?: boolean | undefined;
|
|
3881
3844
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
3882
3845
|
current_climate_setting?: {
|
|
3883
|
-
name?: string | null | undefined;
|
|
3884
3846
|
climate_preset_key?: string | undefined;
|
|
3885
3847
|
can_edit?: boolean | undefined;
|
|
3886
3848
|
can_delete?: boolean | undefined;
|
|
3887
3849
|
can_program?: boolean | undefined;
|
|
3850
|
+
name?: string | null | undefined;
|
|
3888
3851
|
display_name?: string | undefined;
|
|
3889
3852
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
3890
3853
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -3901,11 +3864,11 @@ export declare const device: z.ZodObject<{
|
|
|
3901
3864
|
} | undefined;
|
|
3902
3865
|
} | undefined;
|
|
3903
3866
|
default_climate_setting?: {
|
|
3904
|
-
name?: string | null | undefined;
|
|
3905
3867
|
climate_preset_key?: string | undefined;
|
|
3906
3868
|
can_edit?: boolean | undefined;
|
|
3907
3869
|
can_delete?: boolean | undefined;
|
|
3908
3870
|
can_program?: boolean | undefined;
|
|
3871
|
+
name?: string | null | undefined;
|
|
3909
3872
|
display_name?: string | undefined;
|
|
3910
3873
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
3911
3874
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -3944,8 +3907,8 @@ export declare const device: z.ZodObject<{
|
|
|
3944
3907
|
}[] | undefined;
|
|
3945
3908
|
fallback_climate_preset_key?: string | null | undefined;
|
|
3946
3909
|
active_thermostat_schedule?: {
|
|
3947
|
-
name: string | null;
|
|
3948
3910
|
climate_preset_key: string;
|
|
3911
|
+
name: string | null;
|
|
3949
3912
|
device_id: string;
|
|
3950
3913
|
workspace_id: string;
|
|
3951
3914
|
created_at: string;
|
|
@@ -4010,11 +3973,11 @@ export declare const device: z.ZodObject<{
|
|
|
4010
3973
|
is_fan_running?: boolean | undefined;
|
|
4011
3974
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
4012
3975
|
current_climate_setting?: {
|
|
4013
|
-
name?: string | null | undefined;
|
|
4014
3976
|
climate_preset_key?: string | undefined;
|
|
4015
3977
|
can_edit?: boolean | undefined;
|
|
4016
3978
|
can_delete?: boolean | undefined;
|
|
4017
3979
|
can_program?: boolean | undefined;
|
|
3980
|
+
name?: string | null | undefined;
|
|
4018
3981
|
display_name?: string | undefined;
|
|
4019
3982
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
4020
3983
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -4031,11 +3994,11 @@ export declare const device: z.ZodObject<{
|
|
|
4031
3994
|
} | undefined;
|
|
4032
3995
|
} | undefined;
|
|
4033
3996
|
default_climate_setting?: {
|
|
4034
|
-
name?: string | null | undefined;
|
|
4035
3997
|
climate_preset_key?: string | undefined;
|
|
4036
3998
|
can_edit?: boolean | undefined;
|
|
4037
3999
|
can_delete?: boolean | undefined;
|
|
4038
4000
|
can_program?: boolean | undefined;
|
|
4001
|
+
name?: string | null | undefined;
|
|
4039
4002
|
display_name?: string | undefined;
|
|
4040
4003
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
4041
4004
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -4074,8 +4037,8 @@ export declare const device: z.ZodObject<{
|
|
|
4074
4037
|
}[] | undefined;
|
|
4075
4038
|
fallback_climate_preset_key?: string | null | undefined;
|
|
4076
4039
|
active_thermostat_schedule?: {
|
|
4077
|
-
name: string | null;
|
|
4078
4040
|
climate_preset_key: string;
|
|
4041
|
+
name: string | null;
|
|
4079
4042
|
device_id: string;
|
|
4080
4043
|
workspace_id: string;
|
|
4081
4044
|
created_at: string;
|
|
@@ -4563,19 +4526,6 @@ export declare const device: z.ZodObject<{
|
|
|
4563
4526
|
}>, z.ZodObject<{
|
|
4564
4527
|
message: z.ZodString;
|
|
4565
4528
|
created_at: z.ZodString;
|
|
4566
|
-
} & {
|
|
4567
|
-
warning_code: z.ZodLiteral<"nest_thermostat_in_manual_eco_mode">;
|
|
4568
|
-
}, "strip", z.ZodTypeAny, {
|
|
4569
|
-
message: string;
|
|
4570
|
-
created_at: string;
|
|
4571
|
-
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
4572
|
-
}, {
|
|
4573
|
-
message: string;
|
|
4574
|
-
created_at: string;
|
|
4575
|
-
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
4576
|
-
}>, z.ZodObject<{
|
|
4577
|
-
message: z.ZodString;
|
|
4578
|
-
created_at: z.ZodString;
|
|
4579
4529
|
} & {
|
|
4580
4530
|
warning_code: z.ZodLiteral<"ttlock_lock_gateway_unlocking_not_enabled">;
|
|
4581
4531
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4747,10 +4697,6 @@ export declare const device: z.ZodObject<{
|
|
|
4747
4697
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
4748
4698
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
4749
4699
|
}, "strip", z.ZodTypeAny, {
|
|
4750
|
-
location: {
|
|
4751
|
-
location_name?: string | undefined;
|
|
4752
|
-
timezone?: string | undefined;
|
|
4753
|
-
} | null;
|
|
4754
4700
|
display_name: string;
|
|
4755
4701
|
device_id: string;
|
|
4756
4702
|
workspace_id: string;
|
|
@@ -4893,10 +4839,6 @@ export declare const device: z.ZodObject<{
|
|
|
4893
4839
|
message: string;
|
|
4894
4840
|
created_at: string;
|
|
4895
4841
|
warning_code: "third_party_integration_detected";
|
|
4896
|
-
} | {
|
|
4897
|
-
message: string;
|
|
4898
|
-
created_at: string;
|
|
4899
|
-
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
4900
4842
|
} | {
|
|
4901
4843
|
message: string;
|
|
4902
4844
|
created_at: string;
|
|
@@ -4939,10 +4881,6 @@ export declare const device: z.ZodObject<{
|
|
|
4939
4881
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
4940
4882
|
properties: {
|
|
4941
4883
|
name: string;
|
|
4942
|
-
appearance: {
|
|
4943
|
-
name: string;
|
|
4944
|
-
};
|
|
4945
|
-
online: boolean;
|
|
4946
4884
|
model: {
|
|
4947
4885
|
display_name: string;
|
|
4948
4886
|
manufacturer_display_name: string;
|
|
@@ -4952,8 +4890,12 @@ export declare const device: z.ZodObject<{
|
|
|
4952
4890
|
online_access_codes_supported?: boolean | undefined;
|
|
4953
4891
|
accessory_keypad_supported?: boolean | undefined;
|
|
4954
4892
|
};
|
|
4893
|
+
online: boolean;
|
|
4894
|
+
appearance: {
|
|
4895
|
+
name: string;
|
|
4896
|
+
};
|
|
4955
4897
|
battery?: {
|
|
4956
|
-
status: "
|
|
4898
|
+
status: "critical" | "low" | "good" | "full";
|
|
4957
4899
|
level: number;
|
|
4958
4900
|
} | undefined;
|
|
4959
4901
|
battery_level?: number | undefined;
|
|
@@ -5075,25 +5017,25 @@ export declare const device: z.ZodObject<{
|
|
|
5075
5017
|
device_id: string;
|
|
5076
5018
|
device_name: string;
|
|
5077
5019
|
latest_sensor_values: {
|
|
5078
|
-
pressure: {
|
|
5079
|
-
time: string;
|
|
5080
|
-
value: number;
|
|
5081
|
-
};
|
|
5082
5020
|
temperature: {
|
|
5083
|
-
time: string;
|
|
5084
5021
|
value: number;
|
|
5022
|
+
time: string;
|
|
5085
5023
|
};
|
|
5086
5024
|
sound: {
|
|
5087
|
-
time: string;
|
|
5088
5025
|
value: number;
|
|
5026
|
+
time: string;
|
|
5089
5027
|
};
|
|
5090
5028
|
humidity: {
|
|
5029
|
+
value: number;
|
|
5091
5030
|
time: string;
|
|
5031
|
+
};
|
|
5032
|
+
pressure: {
|
|
5092
5033
|
value: number;
|
|
5034
|
+
time: string;
|
|
5093
5035
|
};
|
|
5094
5036
|
accelerometer_z: {
|
|
5095
|
-
time: string;
|
|
5096
5037
|
value: number;
|
|
5038
|
+
time: string;
|
|
5097
5039
|
};
|
|
5098
5040
|
};
|
|
5099
5041
|
} | undefined;
|
|
@@ -5219,7 +5161,6 @@ export declare const device: z.ZodObject<{
|
|
|
5219
5161
|
product_type: string;
|
|
5220
5162
|
} | undefined;
|
|
5221
5163
|
keynest_metadata?: {
|
|
5222
|
-
address: string | null;
|
|
5223
5164
|
device_name: string;
|
|
5224
5165
|
key_id: string;
|
|
5225
5166
|
property_id: string | null;
|
|
@@ -5229,6 +5170,7 @@ export declare const device: z.ZodObject<{
|
|
|
5229
5170
|
status_type: string;
|
|
5230
5171
|
current_or_last_store_id: number;
|
|
5231
5172
|
last_movement: string;
|
|
5173
|
+
address: string | null;
|
|
5232
5174
|
current_status: string | null;
|
|
5233
5175
|
current_user_name: string | null;
|
|
5234
5176
|
current_user_email: string | null;
|
|
@@ -5271,11 +5213,11 @@ export declare const device: z.ZodObject<{
|
|
|
5271
5213
|
is_fan_running?: boolean | undefined;
|
|
5272
5214
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
5273
5215
|
current_climate_setting?: {
|
|
5274
|
-
name?: string | null | undefined;
|
|
5275
5216
|
climate_preset_key?: string | undefined;
|
|
5276
5217
|
can_edit?: boolean | undefined;
|
|
5277
5218
|
can_delete?: boolean | undefined;
|
|
5278
5219
|
can_program?: boolean | undefined;
|
|
5220
|
+
name?: string | null | undefined;
|
|
5279
5221
|
display_name?: string | undefined;
|
|
5280
5222
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
5281
5223
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -5292,11 +5234,11 @@ export declare const device: z.ZodObject<{
|
|
|
5292
5234
|
} | undefined;
|
|
5293
5235
|
} | undefined;
|
|
5294
5236
|
default_climate_setting?: {
|
|
5295
|
-
name?: string | null | undefined;
|
|
5296
5237
|
climate_preset_key?: string | undefined;
|
|
5297
5238
|
can_edit?: boolean | undefined;
|
|
5298
5239
|
can_delete?: boolean | undefined;
|
|
5299
5240
|
can_program?: boolean | undefined;
|
|
5241
|
+
name?: string | null | undefined;
|
|
5300
5242
|
display_name?: string | undefined;
|
|
5301
5243
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
5302
5244
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -5335,8 +5277,8 @@ export declare const device: z.ZodObject<{
|
|
|
5335
5277
|
}[] | undefined;
|
|
5336
5278
|
fallback_climate_preset_key?: string | null | undefined;
|
|
5337
5279
|
active_thermostat_schedule?: {
|
|
5338
|
-
name: string | null;
|
|
5339
5280
|
climate_preset_key: string;
|
|
5281
|
+
name: string | null;
|
|
5340
5282
|
device_id: string;
|
|
5341
5283
|
workspace_id: string;
|
|
5342
5284
|
created_at: string;
|
|
@@ -5389,6 +5331,10 @@ export declare const device: z.ZodObject<{
|
|
|
5389
5331
|
upper_limit_fahrenheit: number | null;
|
|
5390
5332
|
} | undefined;
|
|
5391
5333
|
};
|
|
5334
|
+
location: {
|
|
5335
|
+
location_name?: string | undefined;
|
|
5336
|
+
timezone?: string | undefined;
|
|
5337
|
+
} | null;
|
|
5392
5338
|
is_managed: true;
|
|
5393
5339
|
can_remotely_unlock?: boolean | undefined;
|
|
5394
5340
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -5404,10 +5350,6 @@ export declare const device: z.ZodObject<{
|
|
|
5404
5350
|
can_unlock_with_code?: boolean | undefined;
|
|
5405
5351
|
nickname?: string | undefined;
|
|
5406
5352
|
}, {
|
|
5407
|
-
location: {
|
|
5408
|
-
location_name?: string | undefined;
|
|
5409
|
-
timezone?: string | undefined;
|
|
5410
|
-
} | null;
|
|
5411
5353
|
display_name: string;
|
|
5412
5354
|
device_id: string;
|
|
5413
5355
|
workspace_id: string;
|
|
@@ -5550,10 +5492,6 @@ export declare const device: z.ZodObject<{
|
|
|
5550
5492
|
message: string;
|
|
5551
5493
|
created_at: string;
|
|
5552
5494
|
warning_code: "third_party_integration_detected";
|
|
5553
|
-
} | {
|
|
5554
|
-
message: string;
|
|
5555
|
-
created_at: string;
|
|
5556
|
-
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
5557
5495
|
} | {
|
|
5558
5496
|
message: string;
|
|
5559
5497
|
created_at: string;
|
|
@@ -5596,10 +5534,6 @@ export declare const device: z.ZodObject<{
|
|
|
5596
5534
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
5597
5535
|
properties: {
|
|
5598
5536
|
name: string;
|
|
5599
|
-
appearance: {
|
|
5600
|
-
name: string;
|
|
5601
|
-
};
|
|
5602
|
-
online: boolean;
|
|
5603
5537
|
model: {
|
|
5604
5538
|
display_name: string;
|
|
5605
5539
|
manufacturer_display_name: string;
|
|
@@ -5609,8 +5543,12 @@ export declare const device: z.ZodObject<{
|
|
|
5609
5543
|
online_access_codes_supported?: boolean | undefined;
|
|
5610
5544
|
accessory_keypad_supported?: boolean | undefined;
|
|
5611
5545
|
};
|
|
5546
|
+
online: boolean;
|
|
5547
|
+
appearance: {
|
|
5548
|
+
name: string;
|
|
5549
|
+
};
|
|
5612
5550
|
battery?: {
|
|
5613
|
-
status: "
|
|
5551
|
+
status: "critical" | "low" | "good" | "full";
|
|
5614
5552
|
level: number;
|
|
5615
5553
|
} | undefined;
|
|
5616
5554
|
battery_level?: number | undefined;
|
|
@@ -5732,25 +5670,25 @@ export declare const device: z.ZodObject<{
|
|
|
5732
5670
|
device_id: string;
|
|
5733
5671
|
device_name: string;
|
|
5734
5672
|
latest_sensor_values: {
|
|
5735
|
-
pressure: {
|
|
5736
|
-
time: string;
|
|
5737
|
-
value: number;
|
|
5738
|
-
};
|
|
5739
5673
|
temperature: {
|
|
5740
|
-
time: string;
|
|
5741
5674
|
value: number;
|
|
5675
|
+
time: string;
|
|
5742
5676
|
};
|
|
5743
5677
|
sound: {
|
|
5744
|
-
time: string;
|
|
5745
5678
|
value: number;
|
|
5679
|
+
time: string;
|
|
5746
5680
|
};
|
|
5747
5681
|
humidity: {
|
|
5682
|
+
value: number;
|
|
5748
5683
|
time: string;
|
|
5684
|
+
};
|
|
5685
|
+
pressure: {
|
|
5749
5686
|
value: number;
|
|
5687
|
+
time: string;
|
|
5750
5688
|
};
|
|
5751
5689
|
accelerometer_z: {
|
|
5752
|
-
time: string;
|
|
5753
5690
|
value: number;
|
|
5691
|
+
time: string;
|
|
5754
5692
|
};
|
|
5755
5693
|
};
|
|
5756
5694
|
} | undefined;
|
|
@@ -5876,7 +5814,6 @@ export declare const device: z.ZodObject<{
|
|
|
5876
5814
|
product_type: string;
|
|
5877
5815
|
} | undefined;
|
|
5878
5816
|
keynest_metadata?: {
|
|
5879
|
-
address: string | null;
|
|
5880
5817
|
device_name: string;
|
|
5881
5818
|
key_id: string;
|
|
5882
5819
|
property_id: string | null;
|
|
@@ -5886,6 +5823,7 @@ export declare const device: z.ZodObject<{
|
|
|
5886
5823
|
status_type: string;
|
|
5887
5824
|
current_or_last_store_id: number;
|
|
5888
5825
|
last_movement: string;
|
|
5826
|
+
address: string | null;
|
|
5889
5827
|
current_status: string | null;
|
|
5890
5828
|
current_user_name: string | null;
|
|
5891
5829
|
current_user_email: string | null;
|
|
@@ -5928,11 +5866,11 @@ export declare const device: z.ZodObject<{
|
|
|
5928
5866
|
is_fan_running?: boolean | undefined;
|
|
5929
5867
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
5930
5868
|
current_climate_setting?: {
|
|
5931
|
-
name?: string | null | undefined;
|
|
5932
5869
|
climate_preset_key?: string | undefined;
|
|
5933
5870
|
can_edit?: boolean | undefined;
|
|
5934
5871
|
can_delete?: boolean | undefined;
|
|
5935
5872
|
can_program?: boolean | undefined;
|
|
5873
|
+
name?: string | null | undefined;
|
|
5936
5874
|
display_name?: string | undefined;
|
|
5937
5875
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
5938
5876
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -5949,11 +5887,11 @@ export declare const device: z.ZodObject<{
|
|
|
5949
5887
|
} | undefined;
|
|
5950
5888
|
} | undefined;
|
|
5951
5889
|
default_climate_setting?: {
|
|
5952
|
-
name?: string | null | undefined;
|
|
5953
5890
|
climate_preset_key?: string | undefined;
|
|
5954
5891
|
can_edit?: boolean | undefined;
|
|
5955
5892
|
can_delete?: boolean | undefined;
|
|
5956
5893
|
can_program?: boolean | undefined;
|
|
5894
|
+
name?: string | null | undefined;
|
|
5957
5895
|
display_name?: string | undefined;
|
|
5958
5896
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
5959
5897
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -5992,8 +5930,8 @@ export declare const device: z.ZodObject<{
|
|
|
5992
5930
|
}[] | undefined;
|
|
5993
5931
|
fallback_climate_preset_key?: string | null | undefined;
|
|
5994
5932
|
active_thermostat_schedule?: {
|
|
5995
|
-
name: string | null;
|
|
5996
5933
|
climate_preset_key: string;
|
|
5934
|
+
name: string | null;
|
|
5997
5935
|
device_id: string;
|
|
5998
5936
|
workspace_id: string;
|
|
5999
5937
|
created_at: string;
|
|
@@ -6046,6 +5984,10 @@ export declare const device: z.ZodObject<{
|
|
|
6046
5984
|
upper_limit_fahrenheit: number | null;
|
|
6047
5985
|
} | undefined;
|
|
6048
5986
|
};
|
|
5987
|
+
location: {
|
|
5988
|
+
location_name?: string | undefined;
|
|
5989
|
+
timezone?: string | undefined;
|
|
5990
|
+
} | null;
|
|
6049
5991
|
is_managed: true;
|
|
6050
5992
|
can_remotely_unlock?: boolean | undefined;
|
|
6051
5993
|
can_remotely_lock?: boolean | undefined;
|