@seamapi/types 1.50.0 → 1.52.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 +225 -32
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +526 -49
- package/dist/devicedb.cjs +7 -2
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +130 -0
- package/lib/seam/connect/openapi.d.ts +199 -12
- package/lib/seam/connect/openapi.js +224 -31
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +327 -37
- package/lib/seam/connect/unstable/models/devices/managed-device.js +83 -33
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/models/user-identity.d.ts +6 -0
- package/lib/seam/connect/unstable/models/user-identity.js +2 -0
- package/lib/seam/connect/unstable/models/user-identity.js.map +1 -1
- package/lib/seam/devicedb/public-models/device-model-v1.d.ts +50 -0
- package/lib/seam/devicedb/public-models/device-model-v1.js +5 -0
- package/lib/seam/devicedb/public-models/device-model-v1.js.map +1 -1
- package/lib/seam/devicedb/route-specs.d.ts +70 -0
- package/lib/seam/devicedb/route-types.d.ts +10 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +244 -31
- package/src/lib/seam/connect/route-types.ts +327 -36
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +111 -41
- package/src/lib/seam/connect/unstable/models/user-identity.ts +2 -0
- package/src/lib/seam/devicedb/public-models/device-model-v1.ts +5 -0
- package/src/lib/seam/devicedb/route-types.ts +10 -0
|
@@ -5,71 +5,121 @@ import { device_metadata } from './device-metadata.js';
|
|
|
5
5
|
import { any_device_type } from './device-type.js';
|
|
6
6
|
export const battery_status = z.enum(['critical', 'low', 'good', 'full']);
|
|
7
7
|
export const common_device_properties = z.object({
|
|
8
|
-
online: z.boolean(),
|
|
9
|
-
name: z
|
|
8
|
+
online: z.boolean().describe('Indicates whether the device is online.'),
|
|
9
|
+
name: z
|
|
10
|
+
.string()
|
|
11
|
+
.describe('Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.'),
|
|
10
12
|
model: z.object({
|
|
11
|
-
display_name: z.string(),
|
|
12
|
-
manufacturer_display_name: z
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
display_name: z.string().describe('Display name of the device model.'),
|
|
14
|
+
manufacturer_display_name: z
|
|
15
|
+
.string()
|
|
16
|
+
.describe('Display name that corresponds to the manufacturer-specific terminology for the device.'),
|
|
17
|
+
offline_access_codes_supported: z
|
|
18
|
+
.boolean()
|
|
19
|
+
.optional()
|
|
20
|
+
.describe('Indicates whether the device supports offline access codes.'),
|
|
21
|
+
online_access_codes_supported: z
|
|
22
|
+
.boolean()
|
|
23
|
+
.optional()
|
|
24
|
+
.describe('Indicates whether the device supports online access codes.'),
|
|
25
|
+
accessory_keypad_supported: z
|
|
26
|
+
.boolean()
|
|
27
|
+
.optional()
|
|
28
|
+
.describe('Indicates whether the device supports an accessory keypad.'),
|
|
16
29
|
}),
|
|
17
|
-
has_direct_power: z
|
|
18
|
-
|
|
30
|
+
has_direct_power: z
|
|
31
|
+
.boolean()
|
|
32
|
+
.optional()
|
|
33
|
+
.describe('Indicates whether the device has direct power.'),
|
|
34
|
+
battery_level: z
|
|
35
|
+
.number()
|
|
36
|
+
.min(0)
|
|
37
|
+
.max(1)
|
|
38
|
+
.optional()
|
|
39
|
+
.describe('Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.'),
|
|
19
40
|
battery: z
|
|
20
41
|
.object({
|
|
21
42
|
level: z.number().min(0).max(1),
|
|
22
43
|
status: battery_status,
|
|
23
44
|
})
|
|
24
|
-
.optional()
|
|
45
|
+
.optional()
|
|
46
|
+
.describe('Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.'),
|
|
25
47
|
// todo: use enum
|
|
26
|
-
manufacturer: z.string().optional(),
|
|
27
|
-
image_url: z.string().url().optional(),
|
|
28
|
-
image_alt_text: z
|
|
29
|
-
|
|
48
|
+
manufacturer: z.string().optional().describe('Manufacturer of the device.'),
|
|
49
|
+
image_url: z.string().url().optional().describe('Image URL for the device.'),
|
|
50
|
+
image_alt_text: z
|
|
51
|
+
.string()
|
|
52
|
+
.optional()
|
|
53
|
+
.describe('Alt text for the device image.'),
|
|
54
|
+
serial_number: z.string().optional().describe('Serial number of the device.'),
|
|
30
55
|
online_access_codes_enabled: z
|
|
31
56
|
.boolean()
|
|
32
|
-
.describe('
|
|
57
|
+
.describe('Indicates whether it is currently possible to use online access codes for the device.')
|
|
33
58
|
.optional(),
|
|
34
59
|
offline_access_codes_enabled: z
|
|
35
60
|
.boolean()
|
|
36
|
-
.describe('
|
|
61
|
+
.describe('Indicates whether it is currently possible to use offline access codes for the device.')
|
|
37
62
|
.optional(),
|
|
38
63
|
// Deprecated legacy capability support props
|
|
39
64
|
supports_accessory_keypad: z
|
|
40
65
|
.boolean()
|
|
41
|
-
.describe('Deprecated:
|
|
66
|
+
.describe('Deprecated: Use model.offline_access_codes_enabled.')
|
|
42
67
|
.optional(),
|
|
43
68
|
supports_offline_access_codes: z
|
|
44
69
|
.boolean()
|
|
45
|
-
.describe('Deprecated:
|
|
70
|
+
.describe('Deprecated: Use model.accessory_keypad_supported.')
|
|
46
71
|
.optional(),
|
|
47
72
|
});
|
|
48
73
|
export const managed_device = z.object({
|
|
49
|
-
device_id: z.string().uuid(),
|
|
50
|
-
device_type: any_device_type,
|
|
51
|
-
capabilities_supported: z
|
|
74
|
+
device_id: z.string().uuid().describe('Unique identifier for the device.'),
|
|
75
|
+
device_type: any_device_type.describe('Type of the device.'),
|
|
76
|
+
capabilities_supported: z
|
|
77
|
+
.array(capabilities)
|
|
78
|
+
.describe('Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.'),
|
|
52
79
|
properties: common_device_properties
|
|
53
80
|
.and(device_metadata)
|
|
54
|
-
.and(capability_properties)
|
|
81
|
+
.and(capability_properties)
|
|
82
|
+
.describe('Properties of the device.'),
|
|
55
83
|
location: z
|
|
56
84
|
// todo: optional instead of nullable
|
|
57
85
|
.object({
|
|
58
|
-
location_name: z
|
|
59
|
-
|
|
86
|
+
location_name: z
|
|
87
|
+
.string()
|
|
88
|
+
.optional()
|
|
89
|
+
.describe('Name of the device location.'),
|
|
90
|
+
timezone: z
|
|
91
|
+
.string()
|
|
92
|
+
.optional()
|
|
93
|
+
.describe('Time zone of the device location.'),
|
|
60
94
|
})
|
|
61
|
-
.nullable()
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
95
|
+
.nullable()
|
|
96
|
+
.describe('Location information for the device.'),
|
|
97
|
+
connected_account_id: z
|
|
98
|
+
.string()
|
|
99
|
+
.uuid()
|
|
100
|
+
.describe('Unique identifier for the account associated with the device.'),
|
|
101
|
+
workspace_id: z
|
|
102
|
+
.string()
|
|
103
|
+
.uuid()
|
|
104
|
+
.describe('Unique identifier for the Seam workspace associated with the device.'),
|
|
105
|
+
errors: z
|
|
106
|
+
.array(z.object({
|
|
65
107
|
error_code: z.string(),
|
|
66
108
|
message: z.string(),
|
|
67
|
-
}))
|
|
68
|
-
|
|
109
|
+
}))
|
|
110
|
+
.describe('Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.'),
|
|
111
|
+
warnings: z
|
|
112
|
+
.array(z.object({
|
|
69
113
|
warning_code: z.string(),
|
|
70
114
|
message: z.string(),
|
|
71
|
-
}))
|
|
72
|
-
|
|
73
|
-
|
|
115
|
+
}))
|
|
116
|
+
.describe('Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.'),
|
|
117
|
+
created_at: z
|
|
118
|
+
.string()
|
|
119
|
+
.datetime()
|
|
120
|
+
.describe('Date and time at which the device object was created.'),
|
|
121
|
+
is_managed: z
|
|
122
|
+
.literal(true)
|
|
123
|
+
.describe('Indicates whether Seam manages the device.'),
|
|
74
124
|
});
|
|
75
125
|
//# sourceMappingURL=managed-device.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/managed-device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAElD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAIzE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/managed-device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAA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ACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,4CAA4C,CAAC;CAC1D,CAAC,CAAA"}
|
|
@@ -3,6 +3,8 @@ export declare const user_identity: z.ZodObject<{
|
|
|
3
3
|
user_identity_id: z.ZodString;
|
|
4
4
|
user_identity_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
5
|
email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
8
|
created_at: z.ZodString;
|
|
7
9
|
workspace_id: z.ZodString;
|
|
8
10
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -11,11 +13,15 @@ export declare const user_identity: z.ZodObject<{
|
|
|
11
13
|
user_identity_id: string;
|
|
12
14
|
user_identity_key?: string | null | undefined;
|
|
13
15
|
email_address?: string | null | undefined;
|
|
16
|
+
first_name?: string | null | undefined;
|
|
17
|
+
last_name?: string | null | undefined;
|
|
14
18
|
}, {
|
|
15
19
|
workspace_id: string;
|
|
16
20
|
created_at: string;
|
|
17
21
|
user_identity_id: string;
|
|
18
22
|
user_identity_key?: string | null | undefined;
|
|
19
23
|
email_address?: string | null | undefined;
|
|
24
|
+
first_name?: string | null | undefined;
|
|
25
|
+
last_name?: string | null | undefined;
|
|
20
26
|
}>;
|
|
21
27
|
export type UserIdentity = z.output<typeof user_identity>;
|
|
@@ -3,6 +3,8 @@ export const user_identity = z.object({
|
|
|
3
3
|
user_identity_id: z.string().uuid(),
|
|
4
4
|
user_identity_key: z.string().nullish(),
|
|
5
5
|
email_address: z.string().email().nullish(),
|
|
6
|
+
first_name: z.string().nullish(),
|
|
7
|
+
last_name: z.string().nullish(),
|
|
6
8
|
created_at: z.string().datetime(),
|
|
7
9
|
workspace_id: z.string().uuid(),
|
|
8
10
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-identity.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/unstable/models/user-identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACvC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE;IAC3C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"user-identity.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/unstable/models/user-identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACvC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE;IAC3C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAChC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
|
|
@@ -230,38 +230,63 @@ export declare const device_model_category_specific_properties: z.ZodDiscriminat
|
|
|
230
230
|
main_category: z.ZodLiteral<"intercom">;
|
|
231
231
|
physical_properties: z.ZodObject<{
|
|
232
232
|
has_camera: z.ZodBoolean;
|
|
233
|
+
has_rfid_reader: z.ZodBoolean;
|
|
234
|
+
has_nfc_reader: z.ZodBoolean;
|
|
235
|
+
has_wiegand_interface: z.ZodBoolean;
|
|
233
236
|
}, "strip", z.ZodTypeAny, {
|
|
234
237
|
has_camera: boolean;
|
|
238
|
+
has_rfid_reader: boolean;
|
|
239
|
+
has_nfc_reader: boolean;
|
|
240
|
+
has_wiegand_interface: boolean;
|
|
235
241
|
}, {
|
|
236
242
|
has_camera: boolean;
|
|
243
|
+
has_rfid_reader: boolean;
|
|
244
|
+
has_nfc_reader: boolean;
|
|
245
|
+
has_wiegand_interface: boolean;
|
|
237
246
|
}>;
|
|
238
247
|
software_features: z.ZodObject<{
|
|
239
248
|
can_remotely_unlock: z.ZodBoolean;
|
|
240
249
|
can_program_access_codes: z.ZodBoolean;
|
|
250
|
+
can_unlock_with_face_recognition: z.ZodBoolean;
|
|
251
|
+
supports_onvif: z.ZodBoolean;
|
|
241
252
|
}, "strip", z.ZodTypeAny, {
|
|
242
253
|
can_remotely_unlock: boolean;
|
|
243
254
|
can_program_access_codes: boolean;
|
|
255
|
+
can_unlock_with_face_recognition: boolean;
|
|
256
|
+
supports_onvif: boolean;
|
|
244
257
|
}, {
|
|
245
258
|
can_remotely_unlock: boolean;
|
|
246
259
|
can_program_access_codes: boolean;
|
|
260
|
+
can_unlock_with_face_recognition: boolean;
|
|
261
|
+
supports_onvif: boolean;
|
|
247
262
|
}>;
|
|
248
263
|
}, "strip", z.ZodTypeAny, {
|
|
249
264
|
main_category: "intercom";
|
|
250
265
|
physical_properties: {
|
|
251
266
|
has_camera: boolean;
|
|
267
|
+
has_rfid_reader: boolean;
|
|
268
|
+
has_nfc_reader: boolean;
|
|
269
|
+
has_wiegand_interface: boolean;
|
|
252
270
|
};
|
|
253
271
|
software_features: {
|
|
254
272
|
can_remotely_unlock: boolean;
|
|
255
273
|
can_program_access_codes: boolean;
|
|
274
|
+
can_unlock_with_face_recognition: boolean;
|
|
275
|
+
supports_onvif: boolean;
|
|
256
276
|
};
|
|
257
277
|
}, {
|
|
258
278
|
main_category: "intercom";
|
|
259
279
|
physical_properties: {
|
|
260
280
|
has_camera: boolean;
|
|
281
|
+
has_rfid_reader: boolean;
|
|
282
|
+
has_nfc_reader: boolean;
|
|
283
|
+
has_wiegand_interface: boolean;
|
|
261
284
|
};
|
|
262
285
|
software_features: {
|
|
263
286
|
can_remotely_unlock: boolean;
|
|
264
287
|
can_program_access_codes: boolean;
|
|
288
|
+
can_unlock_with_face_recognition: boolean;
|
|
289
|
+
supports_onvif: boolean;
|
|
265
290
|
};
|
|
266
291
|
}>, z.ZodObject<{
|
|
267
292
|
main_category: z.ZodLiteral<"accessory">;
|
|
@@ -871,38 +896,63 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
|
|
|
871
896
|
main_category: z.ZodLiteral<"intercom">;
|
|
872
897
|
physical_properties: z.ZodObject<{
|
|
873
898
|
has_camera: z.ZodBoolean;
|
|
899
|
+
has_rfid_reader: z.ZodBoolean;
|
|
900
|
+
has_nfc_reader: z.ZodBoolean;
|
|
901
|
+
has_wiegand_interface: z.ZodBoolean;
|
|
874
902
|
}, "strip", z.ZodTypeAny, {
|
|
875
903
|
has_camera: boolean;
|
|
904
|
+
has_rfid_reader: boolean;
|
|
905
|
+
has_nfc_reader: boolean;
|
|
906
|
+
has_wiegand_interface: boolean;
|
|
876
907
|
}, {
|
|
877
908
|
has_camera: boolean;
|
|
909
|
+
has_rfid_reader: boolean;
|
|
910
|
+
has_nfc_reader: boolean;
|
|
911
|
+
has_wiegand_interface: boolean;
|
|
878
912
|
}>;
|
|
879
913
|
software_features: z.ZodObject<{
|
|
880
914
|
can_remotely_unlock: z.ZodBoolean;
|
|
881
915
|
can_program_access_codes: z.ZodBoolean;
|
|
916
|
+
can_unlock_with_face_recognition: z.ZodBoolean;
|
|
917
|
+
supports_onvif: z.ZodBoolean;
|
|
882
918
|
}, "strip", z.ZodTypeAny, {
|
|
883
919
|
can_remotely_unlock: boolean;
|
|
884
920
|
can_program_access_codes: boolean;
|
|
921
|
+
can_unlock_with_face_recognition: boolean;
|
|
922
|
+
supports_onvif: boolean;
|
|
885
923
|
}, {
|
|
886
924
|
can_remotely_unlock: boolean;
|
|
887
925
|
can_program_access_codes: boolean;
|
|
926
|
+
can_unlock_with_face_recognition: boolean;
|
|
927
|
+
supports_onvif: boolean;
|
|
888
928
|
}>;
|
|
889
929
|
}, "strip", z.ZodTypeAny, {
|
|
890
930
|
main_category: "intercom";
|
|
891
931
|
physical_properties: {
|
|
892
932
|
has_camera: boolean;
|
|
933
|
+
has_rfid_reader: boolean;
|
|
934
|
+
has_nfc_reader: boolean;
|
|
935
|
+
has_wiegand_interface: boolean;
|
|
893
936
|
};
|
|
894
937
|
software_features: {
|
|
895
938
|
can_remotely_unlock: boolean;
|
|
896
939
|
can_program_access_codes: boolean;
|
|
940
|
+
can_unlock_with_face_recognition: boolean;
|
|
941
|
+
supports_onvif: boolean;
|
|
897
942
|
};
|
|
898
943
|
}, {
|
|
899
944
|
main_category: "intercom";
|
|
900
945
|
physical_properties: {
|
|
901
946
|
has_camera: boolean;
|
|
947
|
+
has_rfid_reader: boolean;
|
|
948
|
+
has_nfc_reader: boolean;
|
|
949
|
+
has_wiegand_interface: boolean;
|
|
902
950
|
};
|
|
903
951
|
software_features: {
|
|
904
952
|
can_remotely_unlock: boolean;
|
|
905
953
|
can_program_access_codes: boolean;
|
|
954
|
+
can_unlock_with_face_recognition: boolean;
|
|
955
|
+
supports_onvif: boolean;
|
|
906
956
|
};
|
|
907
957
|
}>, z.ZodObject<{
|
|
908
958
|
main_category: z.ZodLiteral<"accessory">;
|
|
@@ -69,10 +69,15 @@ const intercom = z.object({
|
|
|
69
69
|
main_category: z.literal(device_category.enum.intercom),
|
|
70
70
|
physical_properties: z.object({
|
|
71
71
|
has_camera: z.boolean(),
|
|
72
|
+
has_rfid_reader: z.boolean(),
|
|
73
|
+
has_nfc_reader: z.boolean(),
|
|
74
|
+
has_wiegand_interface: z.boolean(),
|
|
72
75
|
}),
|
|
73
76
|
software_features: z.object({
|
|
74
77
|
can_remotely_unlock: z.boolean(),
|
|
75
78
|
can_program_access_codes: z.boolean(),
|
|
79
|
+
can_unlock_with_face_recognition: z.boolean(),
|
|
80
|
+
supports_onvif: z.boolean(),
|
|
76
81
|
}),
|
|
77
82
|
});
|
|
78
83
|
const accessory = z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-model-v1.js","sourceRoot":"","sources":["../../../../src/lib/seam/devicedb/public-models/device-model-v1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC;IACpC,WAAW;IACX,QAAQ;IACR,YAAY;IACZ,OAAO;IACP,UAAU;IACV,WAAW;CACZ,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,MAAM;IACN,OAAO;IACP,QAAQ;IACR,SAAS;CACV,CAAC,CAAA;AAIF,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;IACzB,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC;IACxD,mBAAmB,EAAE,CAAC,CAAC,MAAM,CAAC;QAC5B,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC;YAChB,UAAU;YACV,OAAO;YACP,S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C;SACD,KAAK,EAAE;CACX,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,eAAe,GAAG,oBAAoB,CAAC,GAAG,CACrD,yCAAyC,CAC1C,CAAA"}
|
|
@@ -392,38 +392,63 @@ export declare const routes: {
|
|
|
392
392
|
main_category: z.ZodLiteral<"intercom">;
|
|
393
393
|
physical_properties: z.ZodObject<{
|
|
394
394
|
has_camera: z.ZodBoolean;
|
|
395
|
+
has_rfid_reader: z.ZodBoolean;
|
|
396
|
+
has_nfc_reader: z.ZodBoolean;
|
|
397
|
+
has_wiegand_interface: z.ZodBoolean;
|
|
395
398
|
}, "strip", z.ZodTypeAny, {
|
|
396
399
|
has_camera: boolean;
|
|
400
|
+
has_rfid_reader: boolean;
|
|
401
|
+
has_nfc_reader: boolean;
|
|
402
|
+
has_wiegand_interface: boolean;
|
|
397
403
|
}, {
|
|
398
404
|
has_camera: boolean;
|
|
405
|
+
has_rfid_reader: boolean;
|
|
406
|
+
has_nfc_reader: boolean;
|
|
407
|
+
has_wiegand_interface: boolean;
|
|
399
408
|
}>;
|
|
400
409
|
software_features: z.ZodObject<{
|
|
401
410
|
can_remotely_unlock: z.ZodBoolean;
|
|
402
411
|
can_program_access_codes: z.ZodBoolean;
|
|
412
|
+
can_unlock_with_face_recognition: z.ZodBoolean;
|
|
413
|
+
supports_onvif: z.ZodBoolean;
|
|
403
414
|
}, "strip", z.ZodTypeAny, {
|
|
404
415
|
can_remotely_unlock: boolean;
|
|
405
416
|
can_program_access_codes: boolean;
|
|
417
|
+
can_unlock_with_face_recognition: boolean;
|
|
418
|
+
supports_onvif: boolean;
|
|
406
419
|
}, {
|
|
407
420
|
can_remotely_unlock: boolean;
|
|
408
421
|
can_program_access_codes: boolean;
|
|
422
|
+
can_unlock_with_face_recognition: boolean;
|
|
423
|
+
supports_onvif: boolean;
|
|
409
424
|
}>;
|
|
410
425
|
}, "strip", z.ZodTypeAny, {
|
|
411
426
|
main_category: "intercom";
|
|
412
427
|
physical_properties: {
|
|
413
428
|
has_camera: boolean;
|
|
429
|
+
has_rfid_reader: boolean;
|
|
430
|
+
has_nfc_reader: boolean;
|
|
431
|
+
has_wiegand_interface: boolean;
|
|
414
432
|
};
|
|
415
433
|
software_features: {
|
|
416
434
|
can_remotely_unlock: boolean;
|
|
417
435
|
can_program_access_codes: boolean;
|
|
436
|
+
can_unlock_with_face_recognition: boolean;
|
|
437
|
+
supports_onvif: boolean;
|
|
418
438
|
};
|
|
419
439
|
}, {
|
|
420
440
|
main_category: "intercom";
|
|
421
441
|
physical_properties: {
|
|
422
442
|
has_camera: boolean;
|
|
443
|
+
has_rfid_reader: boolean;
|
|
444
|
+
has_nfc_reader: boolean;
|
|
445
|
+
has_wiegand_interface: boolean;
|
|
423
446
|
};
|
|
424
447
|
software_features: {
|
|
425
448
|
can_remotely_unlock: boolean;
|
|
426
449
|
can_program_access_codes: boolean;
|
|
450
|
+
can_unlock_with_face_recognition: boolean;
|
|
451
|
+
supports_onvif: boolean;
|
|
427
452
|
};
|
|
428
453
|
}>, z.ZodObject<{
|
|
429
454
|
main_category: z.ZodLiteral<"accessory">;
|
|
@@ -679,10 +704,15 @@ export declare const routes: {
|
|
|
679
704
|
main_category: "intercom";
|
|
680
705
|
physical_properties: {
|
|
681
706
|
has_camera: boolean;
|
|
707
|
+
has_rfid_reader: boolean;
|
|
708
|
+
has_nfc_reader: boolean;
|
|
709
|
+
has_wiegand_interface: boolean;
|
|
682
710
|
};
|
|
683
711
|
software_features: {
|
|
684
712
|
can_remotely_unlock: boolean;
|
|
685
713
|
can_program_access_codes: boolean;
|
|
714
|
+
can_unlock_with_face_recognition: boolean;
|
|
715
|
+
supports_onvif: boolean;
|
|
686
716
|
};
|
|
687
717
|
}) | ({
|
|
688
718
|
description: string;
|
|
@@ -975,10 +1005,15 @@ export declare const routes: {
|
|
|
975
1005
|
main_category: "intercom";
|
|
976
1006
|
physical_properties: {
|
|
977
1007
|
has_camera: boolean;
|
|
1008
|
+
has_rfid_reader: boolean;
|
|
1009
|
+
has_nfc_reader: boolean;
|
|
1010
|
+
has_wiegand_interface: boolean;
|
|
978
1011
|
};
|
|
979
1012
|
software_features: {
|
|
980
1013
|
can_remotely_unlock: boolean;
|
|
981
1014
|
can_program_access_codes: boolean;
|
|
1015
|
+
can_unlock_with_face_recognition: boolean;
|
|
1016
|
+
supports_onvif: boolean;
|
|
982
1017
|
};
|
|
983
1018
|
}) | ({
|
|
984
1019
|
description: string;
|
|
@@ -1430,38 +1465,63 @@ export declare const routes: {
|
|
|
1430
1465
|
main_category: z.ZodLiteral<"intercom">;
|
|
1431
1466
|
physical_properties: z.ZodObject<{
|
|
1432
1467
|
has_camera: z.ZodBoolean;
|
|
1468
|
+
has_rfid_reader: z.ZodBoolean;
|
|
1469
|
+
has_nfc_reader: z.ZodBoolean;
|
|
1470
|
+
has_wiegand_interface: z.ZodBoolean;
|
|
1433
1471
|
}, "strip", z.ZodTypeAny, {
|
|
1434
1472
|
has_camera: boolean;
|
|
1473
|
+
has_rfid_reader: boolean;
|
|
1474
|
+
has_nfc_reader: boolean;
|
|
1475
|
+
has_wiegand_interface: boolean;
|
|
1435
1476
|
}, {
|
|
1436
1477
|
has_camera: boolean;
|
|
1478
|
+
has_rfid_reader: boolean;
|
|
1479
|
+
has_nfc_reader: boolean;
|
|
1480
|
+
has_wiegand_interface: boolean;
|
|
1437
1481
|
}>;
|
|
1438
1482
|
software_features: z.ZodObject<{
|
|
1439
1483
|
can_remotely_unlock: z.ZodBoolean;
|
|
1440
1484
|
can_program_access_codes: z.ZodBoolean;
|
|
1485
|
+
can_unlock_with_face_recognition: z.ZodBoolean;
|
|
1486
|
+
supports_onvif: z.ZodBoolean;
|
|
1441
1487
|
}, "strip", z.ZodTypeAny, {
|
|
1442
1488
|
can_remotely_unlock: boolean;
|
|
1443
1489
|
can_program_access_codes: boolean;
|
|
1490
|
+
can_unlock_with_face_recognition: boolean;
|
|
1491
|
+
supports_onvif: boolean;
|
|
1444
1492
|
}, {
|
|
1445
1493
|
can_remotely_unlock: boolean;
|
|
1446
1494
|
can_program_access_codes: boolean;
|
|
1495
|
+
can_unlock_with_face_recognition: boolean;
|
|
1496
|
+
supports_onvif: boolean;
|
|
1447
1497
|
}>;
|
|
1448
1498
|
}, "strip", z.ZodTypeAny, {
|
|
1449
1499
|
main_category: "intercom";
|
|
1450
1500
|
physical_properties: {
|
|
1451
1501
|
has_camera: boolean;
|
|
1502
|
+
has_rfid_reader: boolean;
|
|
1503
|
+
has_nfc_reader: boolean;
|
|
1504
|
+
has_wiegand_interface: boolean;
|
|
1452
1505
|
};
|
|
1453
1506
|
software_features: {
|
|
1454
1507
|
can_remotely_unlock: boolean;
|
|
1455
1508
|
can_program_access_codes: boolean;
|
|
1509
|
+
can_unlock_with_face_recognition: boolean;
|
|
1510
|
+
supports_onvif: boolean;
|
|
1456
1511
|
};
|
|
1457
1512
|
}, {
|
|
1458
1513
|
main_category: "intercom";
|
|
1459
1514
|
physical_properties: {
|
|
1460
1515
|
has_camera: boolean;
|
|
1516
|
+
has_rfid_reader: boolean;
|
|
1517
|
+
has_nfc_reader: boolean;
|
|
1518
|
+
has_wiegand_interface: boolean;
|
|
1461
1519
|
};
|
|
1462
1520
|
software_features: {
|
|
1463
1521
|
can_remotely_unlock: boolean;
|
|
1464
1522
|
can_program_access_codes: boolean;
|
|
1523
|
+
can_unlock_with_face_recognition: boolean;
|
|
1524
|
+
supports_onvif: boolean;
|
|
1465
1525
|
};
|
|
1466
1526
|
}>, z.ZodObject<{
|
|
1467
1527
|
main_category: z.ZodLiteral<"accessory">;
|
|
@@ -1553,10 +1613,15 @@ export declare const routes: {
|
|
|
1553
1613
|
main_category: "intercom";
|
|
1554
1614
|
physical_properties: {
|
|
1555
1615
|
has_camera: boolean;
|
|
1616
|
+
has_rfid_reader: boolean;
|
|
1617
|
+
has_nfc_reader: boolean;
|
|
1618
|
+
has_wiegand_interface: boolean;
|
|
1556
1619
|
};
|
|
1557
1620
|
software_features: {
|
|
1558
1621
|
can_remotely_unlock: boolean;
|
|
1559
1622
|
can_program_access_codes: boolean;
|
|
1623
|
+
can_unlock_with_face_recognition: boolean;
|
|
1624
|
+
supports_onvif: boolean;
|
|
1560
1625
|
};
|
|
1561
1626
|
} | {
|
|
1562
1627
|
main_category: "accessory";
|
|
@@ -1644,10 +1709,15 @@ export declare const routes: {
|
|
|
1644
1709
|
main_category: "intercom";
|
|
1645
1710
|
physical_properties: {
|
|
1646
1711
|
has_camera: boolean;
|
|
1712
|
+
has_rfid_reader: boolean;
|
|
1713
|
+
has_nfc_reader: boolean;
|
|
1714
|
+
has_wiegand_interface: boolean;
|
|
1647
1715
|
};
|
|
1648
1716
|
software_features: {
|
|
1649
1717
|
can_remotely_unlock: boolean;
|
|
1650
1718
|
can_program_access_codes: boolean;
|
|
1719
|
+
can_unlock_with_face_recognition: boolean;
|
|
1720
|
+
supports_onvif: boolean;
|
|
1651
1721
|
};
|
|
1652
1722
|
} | {
|
|
1653
1723
|
main_category: "accessory";
|
|
@@ -91,10 +91,15 @@ export interface Routes {
|
|
|
91
91
|
main_category: 'intercom';
|
|
92
92
|
physical_properties: {
|
|
93
93
|
has_camera: boolean;
|
|
94
|
+
has_rfid_reader: boolean;
|
|
95
|
+
has_nfc_reader: boolean;
|
|
96
|
+
has_wiegand_interface: boolean;
|
|
94
97
|
};
|
|
95
98
|
software_features: {
|
|
96
99
|
can_remotely_unlock: boolean;
|
|
97
100
|
can_program_access_codes: boolean;
|
|
101
|
+
can_unlock_with_face_recognition: boolean;
|
|
102
|
+
supports_onvif: boolean;
|
|
98
103
|
};
|
|
99
104
|
} | {
|
|
100
105
|
main_category: 'accessory';
|
|
@@ -197,10 +202,15 @@ export interface Routes {
|
|
|
197
202
|
main_category: 'intercom';
|
|
198
203
|
physical_properties: {
|
|
199
204
|
has_camera: boolean;
|
|
205
|
+
has_rfid_reader: boolean;
|
|
206
|
+
has_nfc_reader: boolean;
|
|
207
|
+
has_wiegand_interface: boolean;
|
|
200
208
|
};
|
|
201
209
|
software_features: {
|
|
202
210
|
can_remotely_unlock: boolean;
|
|
203
211
|
can_program_access_codes: boolean;
|
|
212
|
+
can_unlock_with_face_recognition: boolean;
|
|
213
|
+
supports_onvif: boolean;
|
|
204
214
|
};
|
|
205
215
|
} | {
|
|
206
216
|
main_category: 'accessory';
|