@seamapi/types 1.138.1 → 1.140.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 +100 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +287 -42
- package/lib/seam/connect/openapi.d.ts +180 -42
- package/lib/seam/connect/openapi.js +94 -9
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +107 -0
- package/lib/seam/connect/unstable/models/acs/entrance.d.ts +45 -0
- package/lib/seam/connect/unstable/models/acs/entrance.js +7 -0
- package/lib/seam/connect/unstable/models/acs/entrance.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +66 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.js +16 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +21 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +100 -9
- package/src/lib/seam/connect/route-types.ts +125 -0
- package/src/lib/seam/connect/unstable/models/acs/entrance.ts +11 -0
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +20 -1
|
@@ -21,6 +21,16 @@ export const common_device_properties = z.object({
|
|
|
21
21
|
.describe(
|
|
22
22
|
'Name of the device. Deprecated - use device.display_name instead',
|
|
23
23
|
),
|
|
24
|
+
accessory_keypad: z
|
|
25
|
+
.object({
|
|
26
|
+
is_connected: z
|
|
27
|
+
.boolean()
|
|
28
|
+
.describe(
|
|
29
|
+
'Indicates if the accessory_keypad is connected to the device.',
|
|
30
|
+
),
|
|
31
|
+
})
|
|
32
|
+
.optional()
|
|
33
|
+
.describe('Represents the accessory keypad state.'),
|
|
24
34
|
appearance: z.object({
|
|
25
35
|
name: z
|
|
26
36
|
.string()
|
|
@@ -29,13 +39,22 @@ export const common_device_properties = z.object({
|
|
|
29
39
|
),
|
|
30
40
|
}),
|
|
31
41
|
model: z.object({
|
|
42
|
+
can_connect_accessory_keypad: z
|
|
43
|
+
.boolean()
|
|
44
|
+
.optional()
|
|
45
|
+
.describe('Indicates whether the device can connect a accessory keypad.'),
|
|
32
46
|
display_name: z.string().describe('Display name of the device model.'),
|
|
33
47
|
manufacturer_display_name: z
|
|
34
48
|
.string()
|
|
35
49
|
.describe(
|
|
36
50
|
'Display name that corresponds to the manufacturer-specific terminology for the device.',
|
|
37
51
|
),
|
|
38
|
-
|
|
52
|
+
has_built_in_keypad: z
|
|
53
|
+
.boolean()
|
|
54
|
+
.optional()
|
|
55
|
+
.describe(
|
|
56
|
+
'Indicates whether the device has a built in accessory keypad.',
|
|
57
|
+
),
|
|
39
58
|
offline_access_codes_supported: z
|
|
40
59
|
.boolean()
|
|
41
60
|
.optional()
|