@seamapi/types 1.1089.0 → 1.1091.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.1089.0",
3
+ "version": "1.1091.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1168,6 +1168,25 @@ export const device_metadata = z
1168
1168
  .optional()
1169
1169
  .describe('Metadata for a Tapo camera.'),
1170
1170
 
1171
+ reolink_metadata: z
1172
+ .object({
1173
+ model: z
1174
+ .string()
1175
+ .optional()
1176
+ .describe('Model reported by the Reolink camera.'),
1177
+ firmware_version: z
1178
+ .string()
1179
+ .optional()
1180
+ .describe('Firmware version reported by the camera.'),
1181
+ hardware_version: z
1182
+ .string()
1183
+ .optional()
1184
+ .describe('Hardware version reported by the camera.'),
1185
+ })
1186
+ .partial()
1187
+ .optional()
1188
+ .describe('Metadata for a Reolink camera.'),
1189
+
1171
1190
  arlo_metadata: z
1172
1191
  .object({
1173
1192
  device_id: z
@@ -63,6 +63,7 @@ export const DEVICE_PROVIDERS = {
63
63
  RING: 'ring',
64
64
  TAPO: 'tapo',
65
65
  ARLO: 'arlo',
66
+ REOLINK: 'reolink',
66
67
  ICAL: 'ical',
67
68
  LODGIFY: 'lodgify',
68
69
  HOSTAWAY: 'hostaway',
@@ -170,7 +171,7 @@ export const PROVIDER_CATEGORY_MAP = {
170
171
  'hotek',
171
172
  ],
172
173
 
173
- cameras: ['ring', 'tapo', 'arlo'],
174
+ cameras: ['ring', 'tapo', 'arlo', 'reolink'],
174
175
 
175
176
  connectors: ['ical', 'lodgify', 'hostaway', 'guesty', 'acuity_scheduling'],
176
177
 
@@ -129,6 +129,7 @@ export const CAMERA_DEVICE_TYPE = {
129
129
  RING_CAMERA: 'ring_camera',
130
130
  TAPO_CAMERA: 'tapo_camera',
131
131
  ARLO_CAMERA: 'arlo_camera',
132
+ REOLINK_CAMERA: 'reolink_camera',
132
133
  } as const
133
134
 
134
135
  type CameraDeviceTypeFromMapping =
@@ -25,6 +25,12 @@ export const media = z.object({
25
25
  .string()
26
26
  .nullable()
27
27
  .describe('MIME type of the media, such as `video/mp4` or `image/jpeg`.'),
28
+ video_codec: z
29
+ .enum(['h264', 'hevc'])
30
+ .optional()
31
+ .describe(
32
+ 'Video codec used to encode the media. Only present for video media. `hevc` (H.265) playback support varies by browser and device, so check compatibility before assuming a clip plays inline.',
33
+ ),
28
34
  status: z
29
35
  .enum(['pending', 'available', 'unavailable', 'failed'])
30
36
  .describe(
@@ -13932,7 +13932,12 @@ const openapi: OpenAPISpec = {
13932
13932
  },
13933
13933
  {
13934
13934
  description: 'Device type for cameras.',
13935
- enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
13935
+ enum: [
13936
+ 'ring_camera',
13937
+ 'tapo_camera',
13938
+ 'arlo_camera',
13939
+ 'reolink_camera',
13940
+ ],
13936
13941
  type: 'string',
13937
13942
  },
13938
13943
  ],
@@ -15767,6 +15772,27 @@ const openapi: OpenAPISpec = {
15767
15772
  },
15768
15773
  type: 'object',
15769
15774
  },
15775
+ reolink_metadata: {
15776
+ description: 'Metadata for a Reolink camera.',
15777
+ properties: {
15778
+ firmware_version: {
15779
+ description:
15780
+ 'Firmware version reported by the camera.',
15781
+ type: 'string',
15782
+ },
15783
+ hardware_version: {
15784
+ description:
15785
+ 'Hardware version reported by the camera.',
15786
+ type: 'string',
15787
+ },
15788
+ model: {
15789
+ description:
15790
+ 'Model reported by the Reolink camera.',
15791
+ type: 'string',
15792
+ },
15793
+ },
15794
+ type: 'object',
15795
+ },
15770
15796
  ring_metadata: {
15771
15797
  description: 'Metadata for a Ring device.',
15772
15798
  properties: {
@@ -18410,6 +18436,7 @@ const openapi: OpenAPISpec = {
18410
18436
  'ring',
18411
18437
  'tapo',
18412
18438
  'arlo',
18439
+ 'reolink',
18413
18440
  'ical',
18414
18441
  'lodgify',
18415
18442
  'hostaway',
@@ -29795,6 +29822,12 @@ const openapi: OpenAPISpec = {
29795
29822
  nullable: true,
29796
29823
  type: 'string',
29797
29824
  },
29825
+ video_codec: {
29826
+ description:
29827
+ 'Video codec used to encode the media. Only present for video media. `hevc` (H.265) playback support varies by browser and device, so check compatibility before assuming a clip plays inline.',
29828
+ enum: ['h264', 'hevc'],
29829
+ type: 'string',
29830
+ },
29798
29831
  workspace_id: {
29799
29832
  description: 'ID of the workspace that contains the media.',
29800
29833
  format: 'uuid',
@@ -36614,7 +36647,12 @@ const openapi: OpenAPISpec = {
36614
36647
  },
36615
36648
  {
36616
36649
  description: 'Device type for cameras.',
36617
- enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
36650
+ enum: [
36651
+ 'ring_camera',
36652
+ 'tapo_camera',
36653
+ 'arlo_camera',
36654
+ 'reolink_camera',
36655
+ ],
36618
36656
  type: 'string',
36619
36657
  },
36620
36658
  ],
@@ -47452,6 +47490,7 @@ const openapi: OpenAPISpec = {
47452
47490
  'ring',
47453
47491
  'tapo',
47454
47492
  'arlo',
47493
+ 'reolink',
47455
47494
  'ical',
47456
47495
  'lodgify',
47457
47496
  'hostaway',
@@ -51123,7 +51162,12 @@ const openapi: OpenAPISpec = {
51123
51162
  },
51124
51163
  {
51125
51164
  description: 'Device type for cameras.',
51126
- enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
51165
+ enum: [
51166
+ 'ring_camera',
51167
+ 'tapo_camera',
51168
+ 'arlo_camera',
51169
+ 'reolink_camera',
51170
+ ],
51127
51171
  type: 'string',
51128
51172
  },
51129
51173
  ],
@@ -51203,7 +51247,12 @@ const openapi: OpenAPISpec = {
51203
51247
  },
51204
51248
  {
51205
51249
  description: 'Device type for cameras.',
51206
- enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
51250
+ enum: [
51251
+ 'ring_camera',
51252
+ 'tapo_camera',
51253
+ 'arlo_camera',
51254
+ 'reolink_camera',
51255
+ ],
51207
51256
  type: 'string',
51208
51257
  },
51209
51258
  ],
@@ -51264,6 +51313,7 @@ const openapi: OpenAPISpec = {
51264
51313
  'ring',
51265
51314
  'tapo',
51266
51315
  'arlo',
51316
+ 'reolink',
51267
51317
  'ical',
51268
51318
  'lodgify',
51269
51319
  'hostaway',
@@ -53430,7 +53480,12 @@ const openapi: OpenAPISpec = {
53430
53480
  },
53431
53481
  {
53432
53482
  description: 'Device type for cameras.',
53433
- enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
53483
+ enum: [
53484
+ 'ring_camera',
53485
+ 'tapo_camera',
53486
+ 'arlo_camera',
53487
+ 'reolink_camera',
53488
+ ],
53434
53489
  type: 'string',
53435
53490
  },
53436
53491
  ],
@@ -53510,7 +53565,12 @@ const openapi: OpenAPISpec = {
53510
53565
  },
53511
53566
  {
53512
53567
  description: 'Device type for cameras.',
53513
- enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
53568
+ enum: [
53569
+ 'ring_camera',
53570
+ 'tapo_camera',
53571
+ 'arlo_camera',
53572
+ 'reolink_camera',
53573
+ ],
53514
53574
  type: 'string',
53515
53575
  },
53516
53576
  ],
@@ -53571,6 +53631,7 @@ const openapi: OpenAPISpec = {
53571
53631
  'ring',
53572
53632
  'tapo',
53573
53633
  'arlo',
53634
+ 'reolink',
53574
53635
  'ical',
53575
53636
  'lodgify',
53576
53637
  'hostaway',