@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/lib/seam/connect/models/devices/device-metadata.d.ts +23 -0
- package/lib/seam/connect/models/devices/device-metadata.js +18 -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 +36 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +26 -3
- package/lib/seam/connect/models/media/media.d.ts +3 -0
- package/lib/seam/connect/models/media/media.js +4 -0
- package/lib/seam/connect/models/media/media.js.map +1 -1
- package/lib/seam/connect/openapi.js +63 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +183 -28
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +19 -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/models/media/media.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +67 -6
- package/src/lib/seam/connect/route-types.ts +293 -24
package/package.json
CHANGED
|
@@ -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
|
|
|
@@ -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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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',
|