@seamapi/types 1.733.0 → 1.734.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/dist/connect.cjs +75 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +270 -40
- package/dist/index.cjs +75 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +62 -10
- package/lib/seam/connect/models/devices/device-metadata.d.ts +18 -0
- package/lib/seam/connect/models/devices/device-metadata.js +6 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +8 -1
- package/lib/seam/connect/models/devices/device-type.js +9 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +29 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -3
- package/lib/seam/connect/openapi.d.ts +15 -0
- package/lib/seam/connect/openapi.js +65 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +143 -24
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +7 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +17 -0
- package/src/lib/seam/connect/openapi.ts +65 -0
- package/src/lib/seam/connect/route-types.ts +177 -0
package/dist/index.cjs
CHANGED
|
@@ -1096,6 +1096,10 @@ var device_metadata = zod.z.object({
|
|
|
1096
1096
|
device_type: zod.z.string().describe(`Device type for an Ultraloq device.`),
|
|
1097
1097
|
time_zone: zod.z.string().nullable().describe(`IANA timezone for the Ultraloq device.`)
|
|
1098
1098
|
}).describe(`Metadata for an Ultraloq device.`),
|
|
1099
|
+
ring_metadata: zod.z.object({
|
|
1100
|
+
device_id: zod.z.string().describe(`Device ID for a Ring device.`),
|
|
1101
|
+
device_name: zod.z.string().describe(`Device name for a Ring device.`)
|
|
1102
|
+
}).describe(`Metadata for a Ring device.`),
|
|
1099
1103
|
korelock_metadata: zod.z.object({
|
|
1100
1104
|
device_id: zod.z.string().describe(`Device ID for a Korelock device.`),
|
|
1101
1105
|
device_name: zod.z.string().describe(`Device name for a Korelock device.`),
|
|
@@ -1184,12 +1188,17 @@ var phone_device_type = zod.z.enum(
|
|
|
1184
1188
|
Object.values(PHONE_DEVICE_TYPE_LIST)
|
|
1185
1189
|
).describe(`Device type for phones.
|
|
1186
1190
|
`);
|
|
1191
|
+
var CAMERA_DEVICE_TYPE = {
|
|
1192
|
+
RING_CAMERA: "ring_camera"
|
|
1193
|
+
};
|
|
1194
|
+
var camera_device_type = zod.z.enum(Object.values(CAMERA_DEVICE_TYPE)).describe("Device type for cameras.");
|
|
1187
1195
|
var any_device_type = zod.z.union([
|
|
1188
1196
|
lock_device_type,
|
|
1189
1197
|
key_device_type,
|
|
1190
1198
|
noise_sensor_device_type,
|
|
1191
1199
|
thermostat_device_type,
|
|
1192
|
-
phone_device_type
|
|
1200
|
+
phone_device_type,
|
|
1201
|
+
camera_device_type
|
|
1193
1202
|
]);
|
|
1194
1203
|
var phone_specific_properties = zod.z.object({
|
|
1195
1204
|
assa_abloy_credential_service_metadata: zod.z.object({
|
|
@@ -15640,6 +15649,11 @@ var openapi_default = {
|
|
|
15640
15649
|
description: "Device type for phones.\n ",
|
|
15641
15650
|
enum: ["ios_phone", "android_phone"],
|
|
15642
15651
|
type: "string"
|
|
15652
|
+
},
|
|
15653
|
+
{
|
|
15654
|
+
description: "Device type for cameras.",
|
|
15655
|
+
enum: ["ring_camera"],
|
|
15656
|
+
type: "string"
|
|
15643
15657
|
}
|
|
15644
15658
|
]
|
|
15645
15659
|
},
|
|
@@ -17183,6 +17197,21 @@ var openapi_default = {
|
|
|
17183
17197
|
required: ["device_id", "device_name"],
|
|
17184
17198
|
type: "object"
|
|
17185
17199
|
},
|
|
17200
|
+
ring_metadata: {
|
|
17201
|
+
description: "Metadata for a Ring device.",
|
|
17202
|
+
properties: {
|
|
17203
|
+
device_id: {
|
|
17204
|
+
description: "Device ID for a Ring device.",
|
|
17205
|
+
type: "string"
|
|
17206
|
+
},
|
|
17207
|
+
device_name: {
|
|
17208
|
+
description: "Device name for a Ring device.",
|
|
17209
|
+
type: "string"
|
|
17210
|
+
}
|
|
17211
|
+
},
|
|
17212
|
+
required: ["device_id", "device_name"],
|
|
17213
|
+
type: "object"
|
|
17214
|
+
},
|
|
17186
17215
|
salto_ks_metadata: {
|
|
17187
17216
|
description: "Metadata for a Salto KS device.",
|
|
17188
17217
|
properties: {
|
|
@@ -31393,6 +31422,11 @@ var openapi_default = {
|
|
|
31393
31422
|
description: "Device type for phones.\n ",
|
|
31394
31423
|
enum: ["ios_phone", "android_phone"],
|
|
31395
31424
|
type: "string"
|
|
31425
|
+
},
|
|
31426
|
+
{
|
|
31427
|
+
description: "Device type for cameras.",
|
|
31428
|
+
enum: ["ring_camera"],
|
|
31429
|
+
type: "string"
|
|
31396
31430
|
}
|
|
31397
31431
|
]
|
|
31398
31432
|
},
|
|
@@ -52549,6 +52583,11 @@ var openapi_default = {
|
|
|
52549
52583
|
description: "Device type for phones.\n ",
|
|
52550
52584
|
enum: ["ios_phone", "android_phone"],
|
|
52551
52585
|
type: "string"
|
|
52586
|
+
},
|
|
52587
|
+
{
|
|
52588
|
+
description: "Device type for cameras.",
|
|
52589
|
+
enum: ["ring_camera"],
|
|
52590
|
+
type: "string"
|
|
52552
52591
|
}
|
|
52553
52592
|
]
|
|
52554
52593
|
}
|
|
@@ -52619,6 +52658,11 @@ var openapi_default = {
|
|
|
52619
52658
|
description: "Device type for phones.\n ",
|
|
52620
52659
|
enum: ["ios_phone", "android_phone"],
|
|
52621
52660
|
type: "string"
|
|
52661
|
+
},
|
|
52662
|
+
{
|
|
52663
|
+
description: "Device type for cameras.",
|
|
52664
|
+
enum: ["ring_camera"],
|
|
52665
|
+
type: "string"
|
|
52622
52666
|
}
|
|
52623
52667
|
]
|
|
52624
52668
|
},
|
|
@@ -52970,6 +53014,11 @@ var openapi_default = {
|
|
|
52970
53014
|
description: "Device type for phones.\n ",
|
|
52971
53015
|
enum: ["ios_phone", "android_phone"],
|
|
52972
53016
|
type: "string"
|
|
53017
|
+
},
|
|
53018
|
+
{
|
|
53019
|
+
description: "Device type for cameras.",
|
|
53020
|
+
enum: ["ring_camera"],
|
|
53021
|
+
type: "string"
|
|
52973
53022
|
}
|
|
52974
53023
|
]
|
|
52975
53024
|
},
|
|
@@ -53036,6 +53085,11 @@ var openapi_default = {
|
|
|
53036
53085
|
description: "Device type for phones.\n ",
|
|
53037
53086
|
enum: ["ios_phone", "android_phone"],
|
|
53038
53087
|
type: "string"
|
|
53088
|
+
},
|
|
53089
|
+
{
|
|
53090
|
+
description: "Device type for cameras.",
|
|
53091
|
+
enum: ["ring_camera"],
|
|
53092
|
+
type: "string"
|
|
53039
53093
|
}
|
|
53040
53094
|
]
|
|
53041
53095
|
},
|
|
@@ -54366,6 +54420,11 @@ var openapi_default = {
|
|
|
54366
54420
|
description: "Device type for phones.\n ",
|
|
54367
54421
|
enum: ["ios_phone", "android_phone"],
|
|
54368
54422
|
type: "string"
|
|
54423
|
+
},
|
|
54424
|
+
{
|
|
54425
|
+
description: "Device type for cameras.",
|
|
54426
|
+
enum: ["ring_camera"],
|
|
54427
|
+
type: "string"
|
|
54369
54428
|
}
|
|
54370
54429
|
]
|
|
54371
54430
|
}
|
|
@@ -54436,6 +54495,11 @@ var openapi_default = {
|
|
|
54436
54495
|
description: "Device type for phones.\n ",
|
|
54437
54496
|
enum: ["ios_phone", "android_phone"],
|
|
54438
54497
|
type: "string"
|
|
54498
|
+
},
|
|
54499
|
+
{
|
|
54500
|
+
description: "Device type for cameras.",
|
|
54501
|
+
enum: ["ring_camera"],
|
|
54502
|
+
type: "string"
|
|
54439
54503
|
}
|
|
54440
54504
|
]
|
|
54441
54505
|
},
|
|
@@ -54786,6 +54850,11 @@ var openapi_default = {
|
|
|
54786
54850
|
description: "Device type for phones.\n ",
|
|
54787
54851
|
enum: ["ios_phone", "android_phone"],
|
|
54788
54852
|
type: "string"
|
|
54853
|
+
},
|
|
54854
|
+
{
|
|
54855
|
+
description: "Device type for cameras.",
|
|
54856
|
+
enum: ["ring_camera"],
|
|
54857
|
+
type: "string"
|
|
54789
54858
|
}
|
|
54790
54859
|
]
|
|
54791
54860
|
},
|
|
@@ -54852,6 +54921,11 @@ var openapi_default = {
|
|
|
54852
54921
|
description: "Device type for phones.\n ",
|
|
54853
54922
|
enum: ["ios_phone", "android_phone"],
|
|
54854
54923
|
type: "string"
|
|
54924
|
+
},
|
|
54925
|
+
{
|
|
54926
|
+
description: "Device type for cameras.",
|
|
54927
|
+
enum: ["ring_camera"],
|
|
54928
|
+
type: "string"
|
|
54855
54929
|
}
|
|
54856
54930
|
]
|
|
54857
54931
|
},
|