@seamapi/types 1.1158.0 → 1.1159.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1158.0",
3
+ "version": "1.1159.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -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
 
@@ -131,6 +131,7 @@ export const CAMERA_DEVICE_TYPE = {
131
131
  TAPO_CAMERA: 'tapo_camera',
132
132
  ARLO_CAMERA: 'arlo_camera',
133
133
  REOLINK_CAMERA: 'reolink_camera',
134
+ UNIFI_PROTECT_CAMERA: 'unifi_protect_camera',
134
135
  } as const
135
136
 
136
137
  type CameraDeviceTypeFromMapping =
@@ -16028,6 +16028,7 @@ const openapi: OpenAPISpec = {
16028
16028
  'tapo_camera',
16029
16029
  'arlo_camera',
16030
16030
  'reolink_camera',
16031
+ 'unifi_protect_camera',
16031
16032
  ],
16032
16033
  type: 'string',
16033
16034
  },
@@ -18367,6 +18368,40 @@ const openapi: OpenAPISpec = {
18367
18368
  },
18368
18369
  type: 'object',
18369
18370
  },
18371
+ unifi_protect_metadata: {
18372
+ description: 'Metadata for a UniFi Protect camera.',
18373
+ properties: {
18374
+ camera_id: {
18375
+ description: 'Camera ID reported by UniFi Protect.',
18376
+ type: 'string',
18377
+ },
18378
+ camera_name: {
18379
+ description:
18380
+ 'Camera name reported by UniFi Protect.',
18381
+ type: 'string',
18382
+ },
18383
+ has_mic: {
18384
+ description: 'Whether the camera has a microphone.',
18385
+ type: 'boolean',
18386
+ },
18387
+ mac: {
18388
+ description:
18389
+ 'MAC address reported by the UniFi Protect camera.',
18390
+ type: 'string',
18391
+ },
18392
+ model: {
18393
+ description:
18394
+ 'Model reported by the UniFi Protect camera.',
18395
+ type: 'string',
18396
+ },
18397
+ nvr_name: {
18398
+ description:
18399
+ 'Name of the UniFi Protect console that manages the camera.',
18400
+ type: 'string',
18401
+ },
18402
+ },
18403
+ type: 'object',
18404
+ },
18370
18405
  visionline_metadata: {
18371
18406
  description:
18372
18407
  'Metadata for an ASSA ABLOY Visionline system.',
@@ -20797,6 +20832,7 @@ const openapi: OpenAPISpec = {
20797
20832
  'tapo',
20798
20833
  'arlo',
20799
20834
  'reolink',
20835
+ 'unifi_protect',
20800
20836
  'ical',
20801
20837
  'lodgify',
20802
20838
  'hostaway',
@@ -41034,6 +41070,7 @@ const openapi: OpenAPISpec = {
41034
41070
  'tapo_camera',
41035
41071
  'arlo_camera',
41036
41072
  'reolink_camera',
41073
+ 'unifi_protect_camera',
41037
41074
  ],
41038
41075
  type: 'string',
41039
41076
  },
@@ -51922,6 +51959,7 @@ const openapi: OpenAPISpec = {
51922
51959
  'tapo',
51923
51960
  'arlo',
51924
51961
  'reolink',
51962
+ 'unifi_protect',
51925
51963
  'ical',
51926
51964
  'lodgify',
51927
51965
  'hostaway',
@@ -55897,6 +55935,7 @@ const openapi: OpenAPISpec = {
55897
55935
  'tapo_camera',
55898
55936
  'arlo_camera',
55899
55937
  'reolink_camera',
55938
+ 'unifi_protect_camera',
55900
55939
  ],
55901
55940
  type: 'string',
55902
55941
  },
@@ -55988,6 +56027,7 @@ const openapi: OpenAPISpec = {
55988
56027
  'tapo_camera',
55989
56028
  'arlo_camera',
55990
56029
  'reolink_camera',
56030
+ 'unifi_protect_camera',
55991
56031
  ],
55992
56032
  type: 'string',
55993
56033
  },
@@ -56034,6 +56074,7 @@ const openapi: OpenAPISpec = {
56034
56074
  'controlbyweb',
56035
56075
  'tedee',
56036
56076
  'keyincode',
56077
+ 'ubiquiti',
56037
56078
  'akiles',
56038
56079
  'aqara',
56039
56080
  'ecobee',
@@ -56055,6 +56096,7 @@ const openapi: OpenAPISpec = {
56055
56096
  'tapo',
56056
56097
  'arlo',
56057
56098
  'reolink',
56099
+ 'unifi_protect',
56058
56100
  'ical',
56059
56101
  'lodgify',
56060
56102
  'hostaway',
@@ -58244,6 +58286,7 @@ const openapi: OpenAPISpec = {
58244
58286
  'tapo_camera',
58245
58287
  'arlo_camera',
58246
58288
  'reolink_camera',
58289
+ 'unifi_protect_camera',
58247
58290
  ],
58248
58291
  type: 'string',
58249
58292
  },
@@ -58335,6 +58378,7 @@ const openapi: OpenAPISpec = {
58335
58378
  'tapo_camera',
58336
58379
  'arlo_camera',
58337
58380
  'reolink_camera',
58381
+ 'unifi_protect_camera',
58338
58382
  ],
58339
58383
  type: 'string',
58340
58384
  },
@@ -58381,6 +58425,7 @@ const openapi: OpenAPISpec = {
58381
58425
  'controlbyweb',
58382
58426
  'tedee',
58383
58427
  'keyincode',
58428
+ 'ubiquiti',
58384
58429
  'akiles',
58385
58430
  'aqara',
58386
58431
  'ecobee',
@@ -58402,6 +58447,7 @@ const openapi: OpenAPISpec = {
58402
58447
  'tapo',
58403
58448
  'arlo',
58404
58449
  'reolink',
58450
+ 'unifi_protect',
58405
58451
  'ical',
58406
58452
  'lodgify',
58407
58453
  'hostaway',