@seamapi/types 1.53.0 → 1.54.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 +9 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +40 -18
- package/dist/devicedb.cjs +5 -5
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +80 -80
- package/lib/seam/connect/openapi.d.ts +15 -0
- package/lib/seam/connect/openapi.js +9 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +25 -18
- package/lib/seam/connect/unstable/models/acs/user.d.ts +3 -0
- package/lib/seam/connect/unstable/models/acs/user.js +1 -0
- package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.js +2 -2
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/devicedb/public-models/device-model-v1.d.ts +30 -30
- package/lib/seam/devicedb/public-models/device-model-v1.js +5 -5
- package/lib/seam/devicedb/public-models/device-model-v1.js.map +1 -1
- package/lib/seam/devicedb/route-specs.d.ts +40 -40
- package/lib/seam/devicedb/route-types.d.ts +10 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +9 -3
- package/src/lib/seam/connect/route-types.ts +25 -18
- package/src/lib/seam/connect/unstable/models/acs/user.ts +1 -0
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +2 -2
- package/src/lib/seam/devicedb/public-models/device-model-v1.ts +5 -5
- package/src/lib/seam/devicedb/route-types.ts +10 -10
|
@@ -247,6 +247,7 @@ export default {
|
|
|
247
247
|
},
|
|
248
248
|
external_type_display_name: { type: 'string' },
|
|
249
249
|
full_name: { type: 'string' },
|
|
250
|
+
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
250
251
|
is_suspended: { type: 'boolean' },
|
|
251
252
|
phone_number: { nullable: true, type: 'string' },
|
|
252
253
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
@@ -698,12 +699,12 @@ export default {
|
|
|
698
699
|
},
|
|
699
700
|
supports_accessory_keypad: {
|
|
700
701
|
description:
|
|
701
|
-
'Deprecated
|
|
702
|
+
'Deprecated. Use model.accessory_keypad_supported.',
|
|
702
703
|
type: 'boolean',
|
|
703
704
|
},
|
|
704
705
|
supports_offline_access_codes: {
|
|
705
706
|
description:
|
|
706
|
-
'Deprecated
|
|
707
|
+
'Deprecated. Use offline_access_codes_enabled.',
|
|
707
708
|
type: 'boolean',
|
|
708
709
|
},
|
|
709
710
|
},
|
|
@@ -4747,6 +4748,7 @@ export default {
|
|
|
4747
4748
|
},
|
|
4748
4749
|
email_address: { format: 'email', type: 'string' },
|
|
4749
4750
|
full_name: { type: 'string' },
|
|
4751
|
+
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
4750
4752
|
phone_number: { nullable: true, type: 'string' },
|
|
4751
4753
|
},
|
|
4752
4754
|
required: ['acs_user_id'],
|
|
@@ -4795,6 +4797,7 @@ export default {
|
|
|
4795
4797
|
},
|
|
4796
4798
|
email_address: { format: 'email', type: 'string' },
|
|
4797
4799
|
full_name: { type: 'string' },
|
|
4800
|
+
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
4798
4801
|
phone_number: { nullable: true, type: 'string' },
|
|
4799
4802
|
},
|
|
4800
4803
|
required: ['acs_user_id'],
|
|
@@ -7571,7 +7574,10 @@ export default {
|
|
|
7571
7574
|
content: {
|
|
7572
7575
|
'application/json': {
|
|
7573
7576
|
schema: {
|
|
7574
|
-
properties: {
|
|
7577
|
+
properties: {
|
|
7578
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
7579
|
+
is_programmed: { type: 'boolean' },
|
|
7580
|
+
},
|
|
7575
7581
|
required: ['device_id'],
|
|
7576
7582
|
type: 'object',
|
|
7577
7583
|
},
|
|
@@ -729,6 +729,7 @@ export interface Routes {
|
|
|
729
729
|
acs_users: Array<{
|
|
730
730
|
acs_user_id: string
|
|
731
731
|
acs_system_id: string
|
|
732
|
+
hid_acs_system_id?: string | undefined
|
|
732
733
|
workspace_id: string
|
|
733
734
|
created_at: string
|
|
734
735
|
display_name: string
|
|
@@ -1103,6 +1104,7 @@ export interface Routes {
|
|
|
1103
1104
|
acs_user: {
|
|
1104
1105
|
acs_user_id: string
|
|
1105
1106
|
acs_system_id: string
|
|
1107
|
+
hid_acs_system_id?: string | undefined
|
|
1106
1108
|
workspace_id: string
|
|
1107
1109
|
created_at: string
|
|
1108
1110
|
display_name: string
|
|
@@ -1141,6 +1143,7 @@ export interface Routes {
|
|
|
1141
1143
|
acs_user: {
|
|
1142
1144
|
acs_user_id: string
|
|
1143
1145
|
acs_system_id: string
|
|
1146
|
+
hid_acs_system_id?: string | undefined
|
|
1144
1147
|
workspace_id: string
|
|
1145
1148
|
created_at: string
|
|
1146
1149
|
display_name: string
|
|
@@ -1168,6 +1171,7 @@ export interface Routes {
|
|
|
1168
1171
|
acs_users: Array<{
|
|
1169
1172
|
acs_user_id: string
|
|
1170
1173
|
acs_system_id: string
|
|
1174
|
+
hid_acs_system_id?: string | undefined
|
|
1171
1175
|
workspace_id: string
|
|
1172
1176
|
created_at: string
|
|
1173
1177
|
display_name: string
|
|
@@ -1227,6 +1231,7 @@ export interface Routes {
|
|
|
1227
1231
|
email?: string | undefined
|
|
1228
1232
|
phone_number?: string | undefined
|
|
1229
1233
|
email_address?: string | undefined
|
|
1234
|
+
hid_acs_system_id?: string | undefined
|
|
1230
1235
|
}
|
|
1231
1236
|
commonParams: {}
|
|
1232
1237
|
formData: {}
|
|
@@ -1800,9 +1805,9 @@ export interface Routes {
|
|
|
1800
1805
|
online_access_codes_enabled?: boolean | undefined
|
|
1801
1806
|
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
1802
1807
|
offline_access_codes_enabled?: boolean | undefined
|
|
1803
|
-
/** Deprecated
|
|
1808
|
+
/** Deprecated. Use model.accessory_keypad_supported. */
|
|
1804
1809
|
supports_accessory_keypad?: boolean | undefined
|
|
1805
|
-
/** Deprecated
|
|
1810
|
+
/** Deprecated. Use offline_access_codes_enabled. */
|
|
1806
1811
|
supports_offline_access_codes?: boolean | undefined
|
|
1807
1812
|
} & {
|
|
1808
1813
|
august_metadata?:
|
|
@@ -2534,9 +2539,9 @@ export interface Routes {
|
|
|
2534
2539
|
online_access_codes_enabled?: boolean | undefined
|
|
2535
2540
|
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
2536
2541
|
offline_access_codes_enabled?: boolean | undefined
|
|
2537
|
-
/** Deprecated
|
|
2542
|
+
/** Deprecated. Use model.accessory_keypad_supported. */
|
|
2538
2543
|
supports_accessory_keypad?: boolean | undefined
|
|
2539
|
-
/** Deprecated
|
|
2544
|
+
/** Deprecated. Use offline_access_codes_enabled. */
|
|
2540
2545
|
supports_offline_access_codes?: boolean | undefined
|
|
2541
2546
|
} & {
|
|
2542
2547
|
august_metadata?:
|
|
@@ -3701,9 +3706,9 @@ export interface Routes {
|
|
|
3701
3706
|
online_access_codes_enabled?: boolean | undefined
|
|
3702
3707
|
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
3703
3708
|
offline_access_codes_enabled?: boolean | undefined
|
|
3704
|
-
/** Deprecated
|
|
3709
|
+
/** Deprecated. Use model.accessory_keypad_supported. */
|
|
3705
3710
|
supports_accessory_keypad?: boolean | undefined
|
|
3706
|
-
/** Deprecated
|
|
3711
|
+
/** Deprecated. Use offline_access_codes_enabled. */
|
|
3707
3712
|
supports_offline_access_codes?: boolean | undefined
|
|
3708
3713
|
} & {
|
|
3709
3714
|
august_metadata?:
|
|
@@ -4314,9 +4319,9 @@ export interface Routes {
|
|
|
4314
4319
|
online_access_codes_enabled?: boolean | undefined
|
|
4315
4320
|
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
4316
4321
|
offline_access_codes_enabled?: boolean | undefined
|
|
4317
|
-
/** Deprecated
|
|
4322
|
+
/** Deprecated. Use model.accessory_keypad_supported. */
|
|
4318
4323
|
supports_accessory_keypad?: boolean | undefined
|
|
4319
|
-
/** Deprecated
|
|
4324
|
+
/** Deprecated. Use offline_access_codes_enabled. */
|
|
4320
4325
|
supports_offline_access_codes?: boolean | undefined
|
|
4321
4326
|
} & {
|
|
4322
4327
|
august_metadata?:
|
|
@@ -5048,9 +5053,9 @@ export interface Routes {
|
|
|
5048
5053
|
online_access_codes_enabled?: boolean | undefined
|
|
5049
5054
|
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
5050
5055
|
offline_access_codes_enabled?: boolean | undefined
|
|
5051
|
-
/** Deprecated
|
|
5056
|
+
/** Deprecated. Use model.accessory_keypad_supported. */
|
|
5052
5057
|
supports_accessory_keypad?: boolean | undefined
|
|
5053
|
-
/** Deprecated
|
|
5058
|
+
/** Deprecated. Use offline_access_codes_enabled. */
|
|
5054
5059
|
supports_offline_access_codes?: boolean | undefined
|
|
5055
5060
|
} & {
|
|
5056
5061
|
august_metadata?:
|
|
@@ -5661,9 +5666,9 @@ export interface Routes {
|
|
|
5661
5666
|
online_access_codes_enabled?: boolean | undefined
|
|
5662
5667
|
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
5663
5668
|
offline_access_codes_enabled?: boolean | undefined
|
|
5664
|
-
/** Deprecated
|
|
5669
|
+
/** Deprecated. Use model.accessory_keypad_supported. */
|
|
5665
5670
|
supports_accessory_keypad?: boolean | undefined
|
|
5666
|
-
/** Deprecated
|
|
5671
|
+
/** Deprecated. Use offline_access_codes_enabled. */
|
|
5667
5672
|
supports_offline_access_codes?: boolean | undefined
|
|
5668
5673
|
} & {
|
|
5669
5674
|
august_metadata?:
|
|
@@ -6383,6 +6388,7 @@ export interface Routes {
|
|
|
6383
6388
|
jsonBody: {}
|
|
6384
6389
|
commonParams: {
|
|
6385
6390
|
device_id: string
|
|
6391
|
+
is_programmed?: boolean | undefined
|
|
6386
6392
|
}
|
|
6387
6393
|
formData: {}
|
|
6388
6394
|
jsonResponse: {
|
|
@@ -6709,9 +6715,9 @@ export interface Routes {
|
|
|
6709
6715
|
online_access_codes_enabled?: boolean | undefined
|
|
6710
6716
|
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
6711
6717
|
offline_access_codes_enabled?: boolean | undefined
|
|
6712
|
-
/** Deprecated
|
|
6718
|
+
/** Deprecated. Use model.accessory_keypad_supported. */
|
|
6713
6719
|
supports_accessory_keypad?: boolean | undefined
|
|
6714
|
-
/** Deprecated
|
|
6720
|
+
/** Deprecated. Use offline_access_codes_enabled. */
|
|
6715
6721
|
supports_offline_access_codes?: boolean | undefined
|
|
6716
6722
|
} & {
|
|
6717
6723
|
august_metadata?:
|
|
@@ -7473,9 +7479,9 @@ export interface Routes {
|
|
|
7473
7479
|
online_access_codes_enabled?: boolean | undefined
|
|
7474
7480
|
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
7475
7481
|
offline_access_codes_enabled?: boolean | undefined
|
|
7476
|
-
/** Deprecated
|
|
7482
|
+
/** Deprecated. Use model.accessory_keypad_supported. */
|
|
7477
7483
|
supports_accessory_keypad?: boolean | undefined
|
|
7478
|
-
/** Deprecated
|
|
7484
|
+
/** Deprecated. Use offline_access_codes_enabled. */
|
|
7479
7485
|
supports_offline_access_codes?: boolean | undefined
|
|
7480
7486
|
} & {
|
|
7481
7487
|
august_metadata?:
|
|
@@ -8237,9 +8243,9 @@ export interface Routes {
|
|
|
8237
8243
|
online_access_codes_enabled?: boolean | undefined
|
|
8238
8244
|
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
8239
8245
|
offline_access_codes_enabled?: boolean | undefined
|
|
8240
|
-
/** Deprecated
|
|
8246
|
+
/** Deprecated. Use model.accessory_keypad_supported. */
|
|
8241
8247
|
supports_accessory_keypad?: boolean | undefined
|
|
8242
|
-
/** Deprecated
|
|
8248
|
+
/** Deprecated. Use offline_access_codes_enabled. */
|
|
8243
8249
|
supports_offline_access_codes?: boolean | undefined
|
|
8244
8250
|
} & {
|
|
8245
8251
|
august_metadata?:
|
|
@@ -8786,6 +8792,7 @@ export interface Routes {
|
|
|
8786
8792
|
acs_users: Array<{
|
|
8787
8793
|
acs_user_id: string
|
|
8788
8794
|
acs_system_id: string
|
|
8795
|
+
hid_acs_system_id?: string | undefined
|
|
8789
8796
|
workspace_id: string
|
|
8790
8797
|
created_at: string
|
|
8791
8798
|
display_name: string
|
|
@@ -36,6 +36,7 @@ export const acs_user = z
|
|
|
36
36
|
.object({
|
|
37
37
|
acs_user_id: z.string().uuid(),
|
|
38
38
|
acs_system_id: z.string().uuid(),
|
|
39
|
+
hid_acs_system_id: z.string().uuid().optional(),
|
|
39
40
|
workspace_id: z.string().uuid(),
|
|
40
41
|
created_at: z.string().datetime(),
|
|
41
42
|
display_name: z.string(),
|
|
@@ -84,11 +84,11 @@ export const common_device_properties = z.object({
|
|
|
84
84
|
// Deprecated legacy capability support props
|
|
85
85
|
supports_accessory_keypad: z
|
|
86
86
|
.boolean()
|
|
87
|
-
.describe('Deprecated
|
|
87
|
+
.describe('Deprecated. Use model.accessory_keypad_supported.')
|
|
88
88
|
.optional(),
|
|
89
89
|
supports_offline_access_codes: z
|
|
90
90
|
.boolean()
|
|
91
|
-
.describe('Deprecated
|
|
91
|
+
.describe('Deprecated. Use offline_access_codes_enabled.')
|
|
92
92
|
.optional(),
|
|
93
93
|
})
|
|
94
94
|
|
|
@@ -83,15 +83,15 @@ const intercom = z.object({
|
|
|
83
83
|
main_category: z.literal(device_category.enum.intercom),
|
|
84
84
|
physical_properties: z.object({
|
|
85
85
|
has_camera: z.boolean(),
|
|
86
|
-
has_rfid_reader: z.boolean(),
|
|
87
|
-
has_nfc_reader: z.boolean(),
|
|
88
|
-
has_wiegand_interface: z.boolean(),
|
|
86
|
+
has_rfid_reader: z.boolean().default(false),
|
|
87
|
+
has_nfc_reader: z.boolean().default(false),
|
|
88
|
+
has_wiegand_interface: z.boolean().default(false),
|
|
89
89
|
}),
|
|
90
90
|
software_features: z.object({
|
|
91
91
|
can_remotely_unlock: z.boolean(),
|
|
92
92
|
can_program_access_codes: z.boolean(),
|
|
93
|
-
can_unlock_with_face_recognition: z.boolean(),
|
|
94
|
-
supports_onvif: z.boolean(),
|
|
93
|
+
can_unlock_with_face_recognition: z.boolean().default(false),
|
|
94
|
+
supports_onvif: z.boolean().default(false),
|
|
95
95
|
}),
|
|
96
96
|
})
|
|
97
97
|
|
|
@@ -116,15 +116,15 @@ export interface Routes {
|
|
|
116
116
|
main_category: 'intercom'
|
|
117
117
|
physical_properties: {
|
|
118
118
|
has_camera: boolean
|
|
119
|
-
has_rfid_reader
|
|
120
|
-
has_nfc_reader
|
|
121
|
-
has_wiegand_interface
|
|
119
|
+
has_rfid_reader?: boolean
|
|
120
|
+
has_nfc_reader?: boolean
|
|
121
|
+
has_wiegand_interface?: boolean
|
|
122
122
|
}
|
|
123
123
|
software_features: {
|
|
124
124
|
can_remotely_unlock: boolean
|
|
125
125
|
can_program_access_codes: boolean
|
|
126
|
-
can_unlock_with_face_recognition
|
|
127
|
-
supports_onvif
|
|
126
|
+
can_unlock_with_face_recognition?: boolean
|
|
127
|
+
supports_onvif?: boolean
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
| {
|
|
@@ -271,15 +271,15 @@ export interface Routes {
|
|
|
271
271
|
main_category: 'intercom'
|
|
272
272
|
physical_properties: {
|
|
273
273
|
has_camera: boolean
|
|
274
|
-
has_rfid_reader
|
|
275
|
-
has_nfc_reader
|
|
276
|
-
has_wiegand_interface
|
|
274
|
+
has_rfid_reader?: boolean
|
|
275
|
+
has_nfc_reader?: boolean
|
|
276
|
+
has_wiegand_interface?: boolean
|
|
277
277
|
}
|
|
278
278
|
software_features: {
|
|
279
279
|
can_remotely_unlock: boolean
|
|
280
280
|
can_program_access_codes: boolean
|
|
281
|
-
can_unlock_with_face_recognition
|
|
282
|
-
supports_onvif
|
|
281
|
+
can_unlock_with_face_recognition?: boolean
|
|
282
|
+
supports_onvif?: boolean
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
| {
|