@seamapi/types 1.1158.0 → 1.1160.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/lib/seam/connect/models/devices/device-metadata.d.ts +38 -0
- package/lib/seam/connect/models/devices/device-metadata.js +30 -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 +2 -1
- 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 +57 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +41 -3
- package/lib/seam/connect/openapi.js +545 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +416 -28
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +33 -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 +554 -0
- package/src/lib/seam/connect/route-types.ts +617 -19
package/package.json
CHANGED
|
@@ -1211,6 +1211,39 @@ export const device_metadata = z
|
|
|
1211
1211
|
.optional()
|
|
1212
1212
|
.describe('Metadata for a Reolink camera.'),
|
|
1213
1213
|
|
|
1214
|
+
unifi_protect_metadata: z
|
|
1215
|
+
.object({
|
|
1216
|
+
camera_id: z
|
|
1217
|
+
.string()
|
|
1218
|
+
.optional()
|
|
1219
|
+
.describe('Camera ID reported by UniFi Protect.'),
|
|
1220
|
+
camera_name: z
|
|
1221
|
+
.string()
|
|
1222
|
+
.optional()
|
|
1223
|
+
.describe('Camera name reported by UniFi Protect.'),
|
|
1224
|
+
model: z
|
|
1225
|
+
.string()
|
|
1226
|
+
.optional()
|
|
1227
|
+
.describe('Model reported by the UniFi Protect camera.'),
|
|
1228
|
+
mac: z
|
|
1229
|
+
.string()
|
|
1230
|
+
.optional()
|
|
1231
|
+
.describe('MAC address reported by the UniFi Protect camera.'),
|
|
1232
|
+
nvr_name: z
|
|
1233
|
+
.string()
|
|
1234
|
+
.optional()
|
|
1235
|
+
.describe(
|
|
1236
|
+
'Name of the UniFi Protect console that manages the camera.',
|
|
1237
|
+
),
|
|
1238
|
+
has_mic: z
|
|
1239
|
+
.boolean()
|
|
1240
|
+
.optional()
|
|
1241
|
+
.describe('Whether the camera has a microphone.'),
|
|
1242
|
+
})
|
|
1243
|
+
.partial()
|
|
1244
|
+
.optional()
|
|
1245
|
+
.describe('Metadata for a UniFi Protect camera.'),
|
|
1246
|
+
|
|
1214
1247
|
arlo_metadata: z
|
|
1215
1248
|
.object({
|
|
1216
1249
|
device_id: z
|
|
@@ -64,6 +64,7 @@ export const DEVICE_PROVIDERS = {
|
|
|
64
64
|
TAPO: 'tapo',
|
|
65
65
|
ARLO: 'arlo',
|
|
66
66
|
REOLINK: 'reolink',
|
|
67
|
+
UNIFI_PROTECT: 'unifi_protect',
|
|
67
68
|
ICAL: 'ical',
|
|
68
69
|
LODGIFY: 'lodgify',
|
|
69
70
|
HOSTAWAY: 'hostaway',
|
|
@@ -171,7 +172,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
171
172
|
'hotek',
|
|
172
173
|
],
|
|
173
174
|
|
|
174
|
-
cameras: ['ring', 'tapo', 'arlo', 'reolink'],
|
|
175
|
+
cameras: ['ring', 'tapo', 'arlo', 'reolink', 'unifi_protect'],
|
|
175
176
|
|
|
176
177
|
connectors: ['ical', 'lodgify', 'hostaway', 'guesty', 'acuity_scheduling'],
|
|
177
178
|
|