@seamapi/types 1.1090.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/openapi.js +58 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +181 -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/openapi.ts +61 -6
- package/src/lib/seam/connect/route-types.ts +291 -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
|
|
|
@@ -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',
|
|
@@ -36620,7 +36647,12 @@ const openapi: OpenAPISpec = {
|
|
|
36620
36647
|
},
|
|
36621
36648
|
{
|
|
36622
36649
|
description: 'Device type for cameras.',
|
|
36623
|
-
enum: [
|
|
36650
|
+
enum: [
|
|
36651
|
+
'ring_camera',
|
|
36652
|
+
'tapo_camera',
|
|
36653
|
+
'arlo_camera',
|
|
36654
|
+
'reolink_camera',
|
|
36655
|
+
],
|
|
36624
36656
|
type: 'string',
|
|
36625
36657
|
},
|
|
36626
36658
|
],
|
|
@@ -47458,6 +47490,7 @@ const openapi: OpenAPISpec = {
|
|
|
47458
47490
|
'ring',
|
|
47459
47491
|
'tapo',
|
|
47460
47492
|
'arlo',
|
|
47493
|
+
'reolink',
|
|
47461
47494
|
'ical',
|
|
47462
47495
|
'lodgify',
|
|
47463
47496
|
'hostaway',
|
|
@@ -51129,7 +51162,12 @@ const openapi: OpenAPISpec = {
|
|
|
51129
51162
|
},
|
|
51130
51163
|
{
|
|
51131
51164
|
description: 'Device type for cameras.',
|
|
51132
|
-
enum: [
|
|
51165
|
+
enum: [
|
|
51166
|
+
'ring_camera',
|
|
51167
|
+
'tapo_camera',
|
|
51168
|
+
'arlo_camera',
|
|
51169
|
+
'reolink_camera',
|
|
51170
|
+
],
|
|
51133
51171
|
type: 'string',
|
|
51134
51172
|
},
|
|
51135
51173
|
],
|
|
@@ -51209,7 +51247,12 @@ const openapi: OpenAPISpec = {
|
|
|
51209
51247
|
},
|
|
51210
51248
|
{
|
|
51211
51249
|
description: 'Device type for cameras.',
|
|
51212
|
-
enum: [
|
|
51250
|
+
enum: [
|
|
51251
|
+
'ring_camera',
|
|
51252
|
+
'tapo_camera',
|
|
51253
|
+
'arlo_camera',
|
|
51254
|
+
'reolink_camera',
|
|
51255
|
+
],
|
|
51213
51256
|
type: 'string',
|
|
51214
51257
|
},
|
|
51215
51258
|
],
|
|
@@ -51270,6 +51313,7 @@ const openapi: OpenAPISpec = {
|
|
|
51270
51313
|
'ring',
|
|
51271
51314
|
'tapo',
|
|
51272
51315
|
'arlo',
|
|
51316
|
+
'reolink',
|
|
51273
51317
|
'ical',
|
|
51274
51318
|
'lodgify',
|
|
51275
51319
|
'hostaway',
|
|
@@ -53436,7 +53480,12 @@ const openapi: OpenAPISpec = {
|
|
|
53436
53480
|
},
|
|
53437
53481
|
{
|
|
53438
53482
|
description: 'Device type for cameras.',
|
|
53439
|
-
enum: [
|
|
53483
|
+
enum: [
|
|
53484
|
+
'ring_camera',
|
|
53485
|
+
'tapo_camera',
|
|
53486
|
+
'arlo_camera',
|
|
53487
|
+
'reolink_camera',
|
|
53488
|
+
],
|
|
53440
53489
|
type: 'string',
|
|
53441
53490
|
},
|
|
53442
53491
|
],
|
|
@@ -53516,7 +53565,12 @@ const openapi: OpenAPISpec = {
|
|
|
53516
53565
|
},
|
|
53517
53566
|
{
|
|
53518
53567
|
description: 'Device type for cameras.',
|
|
53519
|
-
enum: [
|
|
53568
|
+
enum: [
|
|
53569
|
+
'ring_camera',
|
|
53570
|
+
'tapo_camera',
|
|
53571
|
+
'arlo_camera',
|
|
53572
|
+
'reolink_camera',
|
|
53573
|
+
],
|
|
53520
53574
|
type: 'string',
|
|
53521
53575
|
},
|
|
53522
53576
|
],
|
|
@@ -53577,6 +53631,7 @@ const openapi: OpenAPISpec = {
|
|
|
53577
53631
|
'ring',
|
|
53578
53632
|
'tapo',
|
|
53579
53633
|
'arlo',
|
|
53634
|
+
'reolink',
|
|
53580
53635
|
'ical',
|
|
53581
53636
|
'lodgify',
|
|
53582
53637
|
'hostaway',
|