@seamapi/types 1.732.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 +81 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +279 -40
- package/dist/index.cjs +81 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +62 -10
- package/lib/seam/connect/models/customer/customer-portal.d.ts +4 -0
- package/lib/seam/connect/models/customer/customer-portal.js +8 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- 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 +22 -0
- package/lib/seam/connect/openapi.js +71 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +145 -24
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-portal.ts +8 -0
- 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 +72 -0
- package/src/lib/seam/connect/route-types.ts +179 -0
package/dist/connect.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
|
},
|
|
@@ -49973,6 +50007,12 @@ var openapi_default = {
|
|
|
49973
50007
|
},
|
|
49974
50008
|
description: "Configuration for a customer portal",
|
|
49975
50009
|
properties: {
|
|
50010
|
+
_dev: {
|
|
50011
|
+
default: false,
|
|
50012
|
+
description: "Whether the portal is in developer mode. Only available for Seam employees.",
|
|
50013
|
+
type: "boolean",
|
|
50014
|
+
"x-undocumented": "Internal developer mode flag."
|
|
50015
|
+
},
|
|
49976
50016
|
customer_resources_filters: {
|
|
49977
50017
|
description: "Filter configuration for resources based on their custom_metadata. Each filter specifies a field, operation, and value to match against resource custom_metadata.",
|
|
49978
50018
|
items: {
|
|
@@ -52543,6 +52583,11 @@ var openapi_default = {
|
|
|
52543
52583
|
description: "Device type for phones.\n ",
|
|
52544
52584
|
enum: ["ios_phone", "android_phone"],
|
|
52545
52585
|
type: "string"
|
|
52586
|
+
},
|
|
52587
|
+
{
|
|
52588
|
+
description: "Device type for cameras.",
|
|
52589
|
+
enum: ["ring_camera"],
|
|
52590
|
+
type: "string"
|
|
52546
52591
|
}
|
|
52547
52592
|
]
|
|
52548
52593
|
}
|
|
@@ -52613,6 +52658,11 @@ var openapi_default = {
|
|
|
52613
52658
|
description: "Device type for phones.\n ",
|
|
52614
52659
|
enum: ["ios_phone", "android_phone"],
|
|
52615
52660
|
type: "string"
|
|
52661
|
+
},
|
|
52662
|
+
{
|
|
52663
|
+
description: "Device type for cameras.",
|
|
52664
|
+
enum: ["ring_camera"],
|
|
52665
|
+
type: "string"
|
|
52616
52666
|
}
|
|
52617
52667
|
]
|
|
52618
52668
|
},
|
|
@@ -52964,6 +53014,11 @@ var openapi_default = {
|
|
|
52964
53014
|
description: "Device type for phones.\n ",
|
|
52965
53015
|
enum: ["ios_phone", "android_phone"],
|
|
52966
53016
|
type: "string"
|
|
53017
|
+
},
|
|
53018
|
+
{
|
|
53019
|
+
description: "Device type for cameras.",
|
|
53020
|
+
enum: ["ring_camera"],
|
|
53021
|
+
type: "string"
|
|
52967
53022
|
}
|
|
52968
53023
|
]
|
|
52969
53024
|
},
|
|
@@ -53030,6 +53085,11 @@ var openapi_default = {
|
|
|
53030
53085
|
description: "Device type for phones.\n ",
|
|
53031
53086
|
enum: ["ios_phone", "android_phone"],
|
|
53032
53087
|
type: "string"
|
|
53088
|
+
},
|
|
53089
|
+
{
|
|
53090
|
+
description: "Device type for cameras.",
|
|
53091
|
+
enum: ["ring_camera"],
|
|
53092
|
+
type: "string"
|
|
53033
53093
|
}
|
|
53034
53094
|
]
|
|
53035
53095
|
},
|
|
@@ -54360,6 +54420,11 @@ var openapi_default = {
|
|
|
54360
54420
|
description: "Device type for phones.\n ",
|
|
54361
54421
|
enum: ["ios_phone", "android_phone"],
|
|
54362
54422
|
type: "string"
|
|
54423
|
+
},
|
|
54424
|
+
{
|
|
54425
|
+
description: "Device type for cameras.",
|
|
54426
|
+
enum: ["ring_camera"],
|
|
54427
|
+
type: "string"
|
|
54363
54428
|
}
|
|
54364
54429
|
]
|
|
54365
54430
|
}
|
|
@@ -54430,6 +54495,11 @@ var openapi_default = {
|
|
|
54430
54495
|
description: "Device type for phones.\n ",
|
|
54431
54496
|
enum: ["ios_phone", "android_phone"],
|
|
54432
54497
|
type: "string"
|
|
54498
|
+
},
|
|
54499
|
+
{
|
|
54500
|
+
description: "Device type for cameras.",
|
|
54501
|
+
enum: ["ring_camera"],
|
|
54502
|
+
type: "string"
|
|
54433
54503
|
}
|
|
54434
54504
|
]
|
|
54435
54505
|
},
|
|
@@ -54780,6 +54850,11 @@ var openapi_default = {
|
|
|
54780
54850
|
description: "Device type for phones.\n ",
|
|
54781
54851
|
enum: ["ios_phone", "android_phone"],
|
|
54782
54852
|
type: "string"
|
|
54853
|
+
},
|
|
54854
|
+
{
|
|
54855
|
+
description: "Device type for cameras.",
|
|
54856
|
+
enum: ["ring_camera"],
|
|
54857
|
+
type: "string"
|
|
54783
54858
|
}
|
|
54784
54859
|
]
|
|
54785
54860
|
},
|
|
@@ -54846,6 +54921,11 @@ var openapi_default = {
|
|
|
54846
54921
|
description: "Device type for phones.\n ",
|
|
54847
54922
|
enum: ["ios_phone", "android_phone"],
|
|
54848
54923
|
type: "string"
|
|
54924
|
+
},
|
|
54925
|
+
{
|
|
54926
|
+
description: "Device type for cameras.",
|
|
54927
|
+
enum: ["ring_camera"],
|
|
54928
|
+
type: "string"
|
|
54849
54929
|
}
|
|
54850
54930
|
]
|
|
54851
54931
|
},
|