@seamapi/types 1.932.0 → 1.934.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/dist/connect.cjs +127 -60
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +731 -475
- package/dist/index.cjs +127 -60
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/access-code.d.ts +38 -38
- package/lib/seam/connect/models/devices/capability-properties/access-code.js +11 -13
- package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +28 -28
- package/lib/seam/connect/models/devices/device-metadata.d.ts +44 -16
- package/lib/seam/connect/models/devices/device-metadata.js +14 -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 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-type.js +1 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +95 -55
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +71 -43
- package/lib/seam/connect/models/events/access-codes.d.ts +12 -12
- package/lib/seam/connect/models/events/seam-event.d.ts +6 -6
- package/lib/seam/connect/openapi.js +87 -28
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +558 -371
- package/lib/seam/devicedb/models/device-model.d.ts +4 -4
- package/lib/seam/devicedb/route-specs.d.ts +8 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +11 -13
- package/src/lib/seam/connect/models/devices/device-metadata.ts +15 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +87 -28
- package/src/lib/seam/connect/route-types.ts +595 -340
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
3
3
|
device_id: z.ZodString;
|
|
4
|
-
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" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "keyincode_lock" | "omnitec_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"]>]>;
|
|
4
|
+
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" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_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"]>]>;
|
|
5
5
|
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
6
6
|
nickname: z.ZodOptional<z.ZodString>;
|
|
7
7
|
display_name: z.ZodString;
|
|
@@ -803,10 +803,10 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
803
803
|
dormakaba_oracode_user_level_prefix: z.ZodNumber;
|
|
804
804
|
dormakaba_oracode_user_level_id: z.ZodString;
|
|
805
805
|
}, "strip", z.ZodTypeAny, {
|
|
806
|
-
check_in_time: string;
|
|
807
|
-
check_out_time: string;
|
|
808
806
|
name: string;
|
|
809
807
|
prefix: number;
|
|
808
|
+
check_in_time: string;
|
|
809
|
+
check_out_time: string;
|
|
810
810
|
is_24_hour: boolean;
|
|
811
811
|
is_biweekly_mode: boolean;
|
|
812
812
|
is_one_shot: boolean;
|
|
@@ -814,10 +814,10 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
814
814
|
dormakaba_oracode_user_level_prefix: number;
|
|
815
815
|
dormakaba_oracode_user_level_id: string;
|
|
816
816
|
}, {
|
|
817
|
-
check_in_time: string;
|
|
818
|
-
check_out_time: string;
|
|
819
817
|
name: string;
|
|
820
818
|
prefix: number;
|
|
819
|
+
check_in_time: string;
|
|
820
|
+
check_out_time: string;
|
|
821
821
|
is_24_hour: boolean;
|
|
822
822
|
is_biweekly_mode: boolean;
|
|
823
823
|
is_one_shot: boolean;
|
|
@@ -834,10 +834,10 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
834
834
|
door_id?: number | undefined;
|
|
835
835
|
iana_timezone?: string | undefined;
|
|
836
836
|
predefined_time_slots?: {
|
|
837
|
-
check_in_time: string;
|
|
838
|
-
check_out_time: string;
|
|
839
837
|
name: string;
|
|
840
838
|
prefix: number;
|
|
839
|
+
check_in_time: string;
|
|
840
|
+
check_out_time: string;
|
|
841
841
|
is_24_hour: boolean;
|
|
842
842
|
is_biweekly_mode: boolean;
|
|
843
843
|
is_one_shot: boolean;
|
|
@@ -854,10 +854,10 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
854
854
|
door_id?: number | undefined;
|
|
855
855
|
iana_timezone?: string | undefined;
|
|
856
856
|
predefined_time_slots?: {
|
|
857
|
-
check_in_time: string;
|
|
858
|
-
check_out_time: string;
|
|
859
857
|
name: string;
|
|
860
858
|
prefix: number;
|
|
859
|
+
check_in_time: string;
|
|
860
|
+
check_out_time: string;
|
|
861
861
|
is_24_hour: boolean;
|
|
862
862
|
is_biweekly_mode: boolean;
|
|
863
863
|
is_one_shot: boolean;
|
|
@@ -1115,6 +1115,22 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1115
1115
|
firmware_version?: string | undefined;
|
|
1116
1116
|
wifi_signal_strength?: number | undefined;
|
|
1117
1117
|
}>>;
|
|
1118
|
+
kisi_metadata: z.ZodOptional<z.ZodObject<{
|
|
1119
|
+
lock_id: z.ZodNumber;
|
|
1120
|
+
lock_name: z.ZodString;
|
|
1121
|
+
place_name: z.ZodNullable<z.ZodString>;
|
|
1122
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1123
|
+
}, "strip", z.ZodTypeAny, {
|
|
1124
|
+
lock_id: number;
|
|
1125
|
+
lock_name: string;
|
|
1126
|
+
place_name: string | null;
|
|
1127
|
+
description: string | null;
|
|
1128
|
+
}, {
|
|
1129
|
+
lock_id: number;
|
|
1130
|
+
lock_name: string;
|
|
1131
|
+
place_name: string | null;
|
|
1132
|
+
description: string | null;
|
|
1133
|
+
}>>;
|
|
1118
1134
|
}, "strip", z.ZodTypeAny, {
|
|
1119
1135
|
ecobee_metadata?: {
|
|
1120
1136
|
device_name: string;
|
|
@@ -1299,10 +1315,10 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1299
1315
|
door_id?: number | undefined;
|
|
1300
1316
|
iana_timezone?: string | undefined;
|
|
1301
1317
|
predefined_time_slots?: {
|
|
1302
|
-
check_in_time: string;
|
|
1303
|
-
check_out_time: string;
|
|
1304
1318
|
name: string;
|
|
1305
1319
|
prefix: number;
|
|
1320
|
+
check_in_time: string;
|
|
1321
|
+
check_out_time: string;
|
|
1306
1322
|
is_24_hour: boolean;
|
|
1307
1323
|
is_biweekly_mode: boolean;
|
|
1308
1324
|
is_one_shot: boolean;
|
|
@@ -1402,6 +1418,12 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1402
1418
|
firmware_version?: string | undefined;
|
|
1403
1419
|
wifi_signal_strength?: number | undefined;
|
|
1404
1420
|
} | undefined;
|
|
1421
|
+
kisi_metadata?: {
|
|
1422
|
+
lock_id: number;
|
|
1423
|
+
lock_name: string;
|
|
1424
|
+
place_name: string | null;
|
|
1425
|
+
description: string | null;
|
|
1426
|
+
} | undefined;
|
|
1405
1427
|
}, {
|
|
1406
1428
|
ecobee_metadata?: {
|
|
1407
1429
|
device_name: string;
|
|
@@ -1586,10 +1608,10 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1586
1608
|
door_id?: number | undefined;
|
|
1587
1609
|
iana_timezone?: string | undefined;
|
|
1588
1610
|
predefined_time_slots?: {
|
|
1589
|
-
check_in_time: string;
|
|
1590
|
-
check_out_time: string;
|
|
1591
1611
|
name: string;
|
|
1592
1612
|
prefix: number;
|
|
1613
|
+
check_in_time: string;
|
|
1614
|
+
check_out_time: string;
|
|
1593
1615
|
is_24_hour: boolean;
|
|
1594
1616
|
is_biweekly_mode: boolean;
|
|
1595
1617
|
is_one_shot: boolean;
|
|
@@ -1689,6 +1711,12 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1689
1711
|
firmware_version?: string | undefined;
|
|
1690
1712
|
wifi_signal_strength?: number | undefined;
|
|
1691
1713
|
} | undefined;
|
|
1714
|
+
kisi_metadata?: {
|
|
1715
|
+
lock_id: number;
|
|
1716
|
+
lock_name: string;
|
|
1717
|
+
place_name: string | null;
|
|
1718
|
+
description: string | null;
|
|
1719
|
+
} | undefined;
|
|
1692
1720
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
1693
1721
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1694
1722
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -1718,16 +1746,16 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1718
1746
|
matching_start_end_time: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1719
1747
|
time_pairs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1720
1748
|
display_name: z.ZodString;
|
|
1721
|
-
|
|
1722
|
-
|
|
1749
|
+
start_time: z.ZodString;
|
|
1750
|
+
end_time: z.ZodString;
|
|
1723
1751
|
}, "strip", z.ZodTypeAny, {
|
|
1724
1752
|
display_name: string;
|
|
1725
|
-
|
|
1726
|
-
|
|
1753
|
+
start_time: string;
|
|
1754
|
+
end_time: string;
|
|
1727
1755
|
}, {
|
|
1728
1756
|
display_name: string;
|
|
1729
|
-
|
|
1730
|
-
|
|
1757
|
+
start_time: string;
|
|
1758
|
+
end_time: string;
|
|
1731
1759
|
}>, "many">>;
|
|
1732
1760
|
start_date_recurrence_rule: z.ZodOptional<z.ZodString>;
|
|
1733
1761
|
end_date_recurrence_rule: z.ZodOptional<z.ZodString>;
|
|
@@ -1739,8 +1767,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1739
1767
|
matching_start_end_time?: true | undefined;
|
|
1740
1768
|
time_pairs?: {
|
|
1741
1769
|
display_name: string;
|
|
1742
|
-
|
|
1743
|
-
|
|
1770
|
+
start_time: string;
|
|
1771
|
+
end_time: string;
|
|
1744
1772
|
}[] | undefined;
|
|
1745
1773
|
start_date_recurrence_rule?: string | undefined;
|
|
1746
1774
|
end_date_recurrence_rule?: string | undefined;
|
|
@@ -1752,8 +1780,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1752
1780
|
matching_start_end_time?: true | undefined;
|
|
1753
1781
|
time_pairs?: {
|
|
1754
1782
|
display_name: string;
|
|
1755
|
-
|
|
1756
|
-
|
|
1783
|
+
start_time: string;
|
|
1784
|
+
end_time: string;
|
|
1757
1785
|
}[] | undefined;
|
|
1758
1786
|
start_date_recurrence_rule?: string | undefined;
|
|
1759
1787
|
end_date_recurrence_rule?: string | undefined;
|
|
@@ -1766,16 +1794,16 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1766
1794
|
matching_start_end_time: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1767
1795
|
time_pairs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1768
1796
|
display_name: z.ZodString;
|
|
1769
|
-
|
|
1770
|
-
|
|
1797
|
+
start_time: z.ZodString;
|
|
1798
|
+
end_time: z.ZodString;
|
|
1771
1799
|
}, "strip", z.ZodTypeAny, {
|
|
1772
1800
|
display_name: string;
|
|
1773
|
-
|
|
1774
|
-
|
|
1801
|
+
start_time: string;
|
|
1802
|
+
end_time: string;
|
|
1775
1803
|
}, {
|
|
1776
1804
|
display_name: string;
|
|
1777
|
-
|
|
1778
|
-
|
|
1805
|
+
start_time: string;
|
|
1806
|
+
end_time: string;
|
|
1779
1807
|
}>, "many">>;
|
|
1780
1808
|
start_date_recurrence_rule: z.ZodOptional<z.ZodString>;
|
|
1781
1809
|
end_date_recurrence_rule: z.ZodOptional<z.ZodString>;
|
|
@@ -1787,8 +1815,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1787
1815
|
matching_start_end_time?: true | undefined;
|
|
1788
1816
|
time_pairs?: {
|
|
1789
1817
|
display_name: string;
|
|
1790
|
-
|
|
1791
|
-
|
|
1818
|
+
start_time: string;
|
|
1819
|
+
end_time: string;
|
|
1792
1820
|
}[] | undefined;
|
|
1793
1821
|
start_date_recurrence_rule?: string | undefined;
|
|
1794
1822
|
end_date_recurrence_rule?: string | undefined;
|
|
@@ -1800,8 +1828,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1800
1828
|
matching_start_end_time?: true | undefined;
|
|
1801
1829
|
time_pairs?: {
|
|
1802
1830
|
display_name: string;
|
|
1803
|
-
|
|
1804
|
-
|
|
1831
|
+
start_time: string;
|
|
1832
|
+
end_time: string;
|
|
1805
1833
|
}[] | undefined;
|
|
1806
1834
|
start_date_recurrence_rule?: string | undefined;
|
|
1807
1835
|
end_date_recurrence_rule?: string | undefined;
|
|
@@ -1839,8 +1867,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1839
1867
|
matching_start_end_time?: true | undefined;
|
|
1840
1868
|
time_pairs?: {
|
|
1841
1869
|
display_name: string;
|
|
1842
|
-
|
|
1843
|
-
|
|
1870
|
+
start_time: string;
|
|
1871
|
+
end_time: string;
|
|
1844
1872
|
}[] | undefined;
|
|
1845
1873
|
start_date_recurrence_rule?: string | undefined;
|
|
1846
1874
|
end_date_recurrence_rule?: string | undefined;
|
|
@@ -1853,8 +1881,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1853
1881
|
matching_start_end_time?: true | undefined;
|
|
1854
1882
|
time_pairs?: {
|
|
1855
1883
|
display_name: string;
|
|
1856
|
-
|
|
1857
|
-
|
|
1884
|
+
start_time: string;
|
|
1885
|
+
end_time: string;
|
|
1858
1886
|
}[] | undefined;
|
|
1859
1887
|
start_date_recurrence_rule?: string | undefined;
|
|
1860
1888
|
end_date_recurrence_rule?: string | undefined;
|
|
@@ -1887,8 +1915,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1887
1915
|
matching_start_end_time?: true | undefined;
|
|
1888
1916
|
time_pairs?: {
|
|
1889
1917
|
display_name: string;
|
|
1890
|
-
|
|
1891
|
-
|
|
1918
|
+
start_time: string;
|
|
1919
|
+
end_time: string;
|
|
1892
1920
|
}[] | undefined;
|
|
1893
1921
|
start_date_recurrence_rule?: string | undefined;
|
|
1894
1922
|
end_date_recurrence_rule?: string | undefined;
|
|
@@ -1901,8 +1929,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1901
1929
|
matching_start_end_time?: true | undefined;
|
|
1902
1930
|
time_pairs?: {
|
|
1903
1931
|
display_name: string;
|
|
1904
|
-
|
|
1905
|
-
|
|
1932
|
+
start_time: string;
|
|
1933
|
+
end_time: string;
|
|
1906
1934
|
}[] | undefined;
|
|
1907
1935
|
start_date_recurrence_rule?: string | undefined;
|
|
1908
1936
|
end_date_recurrence_rule?: string | undefined;
|
|
@@ -3720,7 +3748,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3720
3748
|
warning_code: "insufficient_permissions";
|
|
3721
3749
|
})[];
|
|
3722
3750
|
custom_metadata: Record<string, string | boolean>;
|
|
3723
|
-
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" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "keyincode_lock" | "omnitec_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";
|
|
3751
|
+
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" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_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";
|
|
3724
3752
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
3725
3753
|
properties: {
|
|
3726
3754
|
name: string;
|
|
@@ -4001,7 +4029,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4001
4029
|
warning_code: "insufficient_permissions";
|
|
4002
4030
|
})[];
|
|
4003
4031
|
custom_metadata: Record<string, string | boolean>;
|
|
4004
|
-
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" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "keyincode_lock" | "omnitec_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";
|
|
4032
|
+
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" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_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";
|
|
4005
4033
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
4006
4034
|
properties: {
|
|
4007
4035
|
name: string;
|
|
@@ -132,6 +132,7 @@ export declare const access_code_name_changed_event: z.ZodObject<{
|
|
|
132
132
|
workspace_id: string;
|
|
133
133
|
created_at: string;
|
|
134
134
|
connected_account_id: string;
|
|
135
|
+
description: string;
|
|
135
136
|
from: {
|
|
136
137
|
name: string | null;
|
|
137
138
|
};
|
|
@@ -142,7 +143,6 @@ export declare const access_code_name_changed_event: z.ZodObject<{
|
|
|
142
143
|
event_id: string;
|
|
143
144
|
occurred_at: string;
|
|
144
145
|
event_type: "access_code.name_changed";
|
|
145
|
-
description: string;
|
|
146
146
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
147
147
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
148
148
|
}, {
|
|
@@ -150,6 +150,7 @@ export declare const access_code_name_changed_event: z.ZodObject<{
|
|
|
150
150
|
workspace_id: string;
|
|
151
151
|
created_at: string;
|
|
152
152
|
connected_account_id: string;
|
|
153
|
+
description: string;
|
|
153
154
|
from: {
|
|
154
155
|
name: string | null;
|
|
155
156
|
};
|
|
@@ -160,7 +161,6 @@ export declare const access_code_name_changed_event: z.ZodObject<{
|
|
|
160
161
|
event_id: string;
|
|
161
162
|
occurred_at: string;
|
|
162
163
|
event_type: "access_code.name_changed";
|
|
163
|
-
description: string;
|
|
164
164
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
165
165
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
166
166
|
}>;
|
|
@@ -198,6 +198,7 @@ export declare const access_code_code_changed_event: z.ZodObject<{
|
|
|
198
198
|
workspace_id: string;
|
|
199
199
|
created_at: string;
|
|
200
200
|
connected_account_id: string;
|
|
201
|
+
description: string;
|
|
201
202
|
from: {
|
|
202
203
|
code: string | null;
|
|
203
204
|
};
|
|
@@ -208,7 +209,6 @@ export declare const access_code_code_changed_event: z.ZodObject<{
|
|
|
208
209
|
event_id: string;
|
|
209
210
|
occurred_at: string;
|
|
210
211
|
event_type: "access_code.code_changed";
|
|
211
|
-
description: string;
|
|
212
212
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
213
213
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
214
214
|
}, {
|
|
@@ -216,6 +216,7 @@ export declare const access_code_code_changed_event: z.ZodObject<{
|
|
|
216
216
|
workspace_id: string;
|
|
217
217
|
created_at: string;
|
|
218
218
|
connected_account_id: string;
|
|
219
|
+
description: string;
|
|
219
220
|
from: {
|
|
220
221
|
code: string | null;
|
|
221
222
|
};
|
|
@@ -226,7 +227,6 @@ export declare const access_code_code_changed_event: z.ZodObject<{
|
|
|
226
227
|
event_id: string;
|
|
227
228
|
occurred_at: string;
|
|
228
229
|
event_type: "access_code.code_changed";
|
|
229
|
-
description: string;
|
|
230
230
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
231
231
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
232
232
|
}>;
|
|
@@ -270,6 +270,7 @@ export declare const access_code_time_frame_changed_event: z.ZodObject<{
|
|
|
270
270
|
workspace_id: string;
|
|
271
271
|
created_at: string;
|
|
272
272
|
connected_account_id: string;
|
|
273
|
+
description: string;
|
|
273
274
|
from: {
|
|
274
275
|
starts_at: string | null;
|
|
275
276
|
ends_at: string | null;
|
|
@@ -282,7 +283,6 @@ export declare const access_code_time_frame_changed_event: z.ZodObject<{
|
|
|
282
283
|
event_id: string;
|
|
283
284
|
occurred_at: string;
|
|
284
285
|
event_type: "access_code.time_frame_changed";
|
|
285
|
-
description: string;
|
|
286
286
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
287
287
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
288
288
|
}, {
|
|
@@ -290,6 +290,7 @@ export declare const access_code_time_frame_changed_event: z.ZodObject<{
|
|
|
290
290
|
workspace_id: string;
|
|
291
291
|
created_at: string;
|
|
292
292
|
connected_account_id: string;
|
|
293
|
+
description: string;
|
|
293
294
|
from: {
|
|
294
295
|
starts_at: string | null;
|
|
295
296
|
ends_at: string | null;
|
|
@@ -302,7 +303,6 @@ export declare const access_code_time_frame_changed_event: z.ZodObject<{
|
|
|
302
303
|
event_id: string;
|
|
303
304
|
occurred_at: string;
|
|
304
305
|
event_type: "access_code.time_frame_changed";
|
|
305
|
-
description: string;
|
|
306
306
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
307
307
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
308
308
|
}>;
|
|
@@ -1758,6 +1758,7 @@ export declare const access_code_events: readonly [z.ZodObject<{
|
|
|
1758
1758
|
workspace_id: string;
|
|
1759
1759
|
created_at: string;
|
|
1760
1760
|
connected_account_id: string;
|
|
1761
|
+
description: string;
|
|
1761
1762
|
from: {
|
|
1762
1763
|
name: string | null;
|
|
1763
1764
|
};
|
|
@@ -1768,7 +1769,6 @@ export declare const access_code_events: readonly [z.ZodObject<{
|
|
|
1768
1769
|
event_id: string;
|
|
1769
1770
|
occurred_at: string;
|
|
1770
1771
|
event_type: "access_code.name_changed";
|
|
1771
|
-
description: string;
|
|
1772
1772
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1773
1773
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1774
1774
|
}, {
|
|
@@ -1776,6 +1776,7 @@ export declare const access_code_events: readonly [z.ZodObject<{
|
|
|
1776
1776
|
workspace_id: string;
|
|
1777
1777
|
created_at: string;
|
|
1778
1778
|
connected_account_id: string;
|
|
1779
|
+
description: string;
|
|
1779
1780
|
from: {
|
|
1780
1781
|
name: string | null;
|
|
1781
1782
|
};
|
|
@@ -1786,7 +1787,6 @@ export declare const access_code_events: readonly [z.ZodObject<{
|
|
|
1786
1787
|
event_id: string;
|
|
1787
1788
|
occurred_at: string;
|
|
1788
1789
|
event_type: "access_code.name_changed";
|
|
1789
|
-
description: string;
|
|
1790
1790
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1791
1791
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1792
1792
|
}>, z.ZodObject<{
|
|
@@ -1822,6 +1822,7 @@ export declare const access_code_events: readonly [z.ZodObject<{
|
|
|
1822
1822
|
workspace_id: string;
|
|
1823
1823
|
created_at: string;
|
|
1824
1824
|
connected_account_id: string;
|
|
1825
|
+
description: string;
|
|
1825
1826
|
from: {
|
|
1826
1827
|
code: string | null;
|
|
1827
1828
|
};
|
|
@@ -1832,7 +1833,6 @@ export declare const access_code_events: readonly [z.ZodObject<{
|
|
|
1832
1833
|
event_id: string;
|
|
1833
1834
|
occurred_at: string;
|
|
1834
1835
|
event_type: "access_code.code_changed";
|
|
1835
|
-
description: string;
|
|
1836
1836
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1837
1837
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1838
1838
|
}, {
|
|
@@ -1840,6 +1840,7 @@ export declare const access_code_events: readonly [z.ZodObject<{
|
|
|
1840
1840
|
workspace_id: string;
|
|
1841
1841
|
created_at: string;
|
|
1842
1842
|
connected_account_id: string;
|
|
1843
|
+
description: string;
|
|
1843
1844
|
from: {
|
|
1844
1845
|
code: string | null;
|
|
1845
1846
|
};
|
|
@@ -1850,7 +1851,6 @@ export declare const access_code_events: readonly [z.ZodObject<{
|
|
|
1850
1851
|
event_id: string;
|
|
1851
1852
|
occurred_at: string;
|
|
1852
1853
|
event_type: "access_code.code_changed";
|
|
1853
|
-
description: string;
|
|
1854
1854
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1855
1855
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1856
1856
|
}>, z.ZodObject<{
|
|
@@ -1892,6 +1892,7 @@ export declare const access_code_events: readonly [z.ZodObject<{
|
|
|
1892
1892
|
workspace_id: string;
|
|
1893
1893
|
created_at: string;
|
|
1894
1894
|
connected_account_id: string;
|
|
1895
|
+
description: string;
|
|
1895
1896
|
from: {
|
|
1896
1897
|
starts_at: string | null;
|
|
1897
1898
|
ends_at: string | null;
|
|
@@ -1904,7 +1905,6 @@ export declare const access_code_events: readonly [z.ZodObject<{
|
|
|
1904
1905
|
event_id: string;
|
|
1905
1906
|
occurred_at: string;
|
|
1906
1907
|
event_type: "access_code.time_frame_changed";
|
|
1907
|
-
description: string;
|
|
1908
1908
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1909
1909
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1910
1910
|
}, {
|
|
@@ -1912,6 +1912,7 @@ export declare const access_code_events: readonly [z.ZodObject<{
|
|
|
1912
1912
|
workspace_id: string;
|
|
1913
1913
|
created_at: string;
|
|
1914
1914
|
connected_account_id: string;
|
|
1915
|
+
description: string;
|
|
1915
1916
|
from: {
|
|
1916
1917
|
starts_at: string | null;
|
|
1917
1918
|
ends_at: string | null;
|
|
@@ -1924,7 +1925,6 @@ export declare const access_code_events: readonly [z.ZodObject<{
|
|
|
1924
1925
|
event_id: string;
|
|
1925
1926
|
occurred_at: string;
|
|
1926
1927
|
event_type: "access_code.time_frame_changed";
|
|
1927
|
-
description: string;
|
|
1928
1928
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1929
1929
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1930
1930
|
}>, z.ZodObject<{
|
|
@@ -128,6 +128,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
128
128
|
workspace_id: string;
|
|
129
129
|
created_at: string;
|
|
130
130
|
connected_account_id: string;
|
|
131
|
+
description: string;
|
|
131
132
|
from: {
|
|
132
133
|
name: string | null;
|
|
133
134
|
};
|
|
@@ -138,7 +139,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
138
139
|
event_id: string;
|
|
139
140
|
occurred_at: string;
|
|
140
141
|
event_type: "access_code.name_changed";
|
|
141
|
-
description: string;
|
|
142
142
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
143
143
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
144
144
|
}, {
|
|
@@ -146,6 +146,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
146
146
|
workspace_id: string;
|
|
147
147
|
created_at: string;
|
|
148
148
|
connected_account_id: string;
|
|
149
|
+
description: string;
|
|
149
150
|
from: {
|
|
150
151
|
name: string | null;
|
|
151
152
|
};
|
|
@@ -156,7 +157,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
156
157
|
event_id: string;
|
|
157
158
|
occurred_at: string;
|
|
158
159
|
event_type: "access_code.name_changed";
|
|
159
|
-
description: string;
|
|
160
160
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
161
161
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
162
162
|
}>, z.ZodObject<{
|
|
@@ -192,6 +192,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
192
192
|
workspace_id: string;
|
|
193
193
|
created_at: string;
|
|
194
194
|
connected_account_id: string;
|
|
195
|
+
description: string;
|
|
195
196
|
from: {
|
|
196
197
|
code: string | null;
|
|
197
198
|
};
|
|
@@ -202,7 +203,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
202
203
|
event_id: string;
|
|
203
204
|
occurred_at: string;
|
|
204
205
|
event_type: "access_code.code_changed";
|
|
205
|
-
description: string;
|
|
206
206
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
207
207
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
208
208
|
}, {
|
|
@@ -210,6 +210,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
210
210
|
workspace_id: string;
|
|
211
211
|
created_at: string;
|
|
212
212
|
connected_account_id: string;
|
|
213
|
+
description: string;
|
|
213
214
|
from: {
|
|
214
215
|
code: string | null;
|
|
215
216
|
};
|
|
@@ -220,7 +221,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
220
221
|
event_id: string;
|
|
221
222
|
occurred_at: string;
|
|
222
223
|
event_type: "access_code.code_changed";
|
|
223
|
-
description: string;
|
|
224
224
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
225
225
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
226
226
|
}>, z.ZodObject<{
|
|
@@ -262,6 +262,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
262
262
|
workspace_id: string;
|
|
263
263
|
created_at: string;
|
|
264
264
|
connected_account_id: string;
|
|
265
|
+
description: string;
|
|
265
266
|
from: {
|
|
266
267
|
starts_at: string | null;
|
|
267
268
|
ends_at: string | null;
|
|
@@ -274,7 +275,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
274
275
|
event_id: string;
|
|
275
276
|
occurred_at: string;
|
|
276
277
|
event_type: "access_code.time_frame_changed";
|
|
277
|
-
description: string;
|
|
278
278
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
279
279
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
280
280
|
}, {
|
|
@@ -282,6 +282,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
282
282
|
workspace_id: string;
|
|
283
283
|
created_at: string;
|
|
284
284
|
connected_account_id: string;
|
|
285
|
+
description: string;
|
|
285
286
|
from: {
|
|
286
287
|
starts_at: string | null;
|
|
287
288
|
ends_at: string | null;
|
|
@@ -294,7 +295,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
294
295
|
event_id: string;
|
|
295
296
|
occurred_at: string;
|
|
296
297
|
event_type: "access_code.time_frame_changed";
|
|
297
|
-
description: string;
|
|
298
298
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
299
299
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
300
300
|
}>, z.ZodObject<{
|