@seamapi/types 1.632.0 → 1.633.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 +56 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +260 -0
- package/dist/index.cjs +56 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +203 -0
- package/lib/seam/connect/models/devices/device.d.ts +58 -0
- package/lib/seam/connect/models/devices/device.js +12 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -0
- package/lib/seam/connect/openapi.js +44 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +147 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +14 -0
- package/src/lib/seam/connect/openapi.ts +52 -0
- package/src/lib/seam/connect/route-types.ts +168 -0
package/dist/connect.cjs
CHANGED
|
@@ -1422,6 +1422,14 @@ var unknown_issue_with_phone = common_device_warning.extend({
|
|
|
1422
1422
|
---
|
|
1423
1423
|
Indicates that an unknown issue occurred while syncing the state of the phone with the provider. This issue may affect the proper functioning of the phone.
|
|
1424
1424
|
`);
|
|
1425
|
+
var hub_required_for_addtional_capabilities = common_device_warning.extend({
|
|
1426
|
+
warning_code: zod.z.literal("hub_required_for_addtional_capabilities").describe(warning_code_description2)
|
|
1427
|
+
}).describe(`
|
|
1428
|
+
---
|
|
1429
|
+
variant_group_key: locks
|
|
1430
|
+
---
|
|
1431
|
+
Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.
|
|
1432
|
+
`);
|
|
1425
1433
|
var device_warning = zod.z.discriminatedUnion("warning_code", [
|
|
1426
1434
|
partial_backup_access_code_pool,
|
|
1427
1435
|
many_active_backup_codes,
|
|
@@ -1439,7 +1447,8 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
1439
1447
|
salto_ks_privacy_mode,
|
|
1440
1448
|
salto_ks_subscription_limit_almost_reached2,
|
|
1441
1449
|
unknown_issue_with_phone,
|
|
1442
|
-
lockly_time_zone_not_configured
|
|
1450
|
+
lockly_time_zone_not_configured,
|
|
1451
|
+
hub_required_for_addtional_capabilities
|
|
1443
1452
|
]);
|
|
1444
1453
|
zod.z.object({
|
|
1445
1454
|
partial_backup_access_code_pool: partial_backup_access_code_pool.optional().nullable(),
|
|
@@ -1461,7 +1470,8 @@ zod.z.object({
|
|
|
1461
1470
|
salto_ks_privacy_mode: salto_ks_privacy_mode.optional().nullable(),
|
|
1462
1471
|
salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached2.optional().nullable(),
|
|
1463
1472
|
unknown_issue_with_phone: unknown_issue_with_phone.optional().nullable(),
|
|
1464
|
-
lockly_time_zone_not_configured: lockly_time_zone_not_configured.optional().nullable()
|
|
1473
|
+
lockly_time_zone_not_configured: lockly_time_zone_not_configured.optional().nullable(),
|
|
1474
|
+
hub_required_for_addtional_capabilities: hub_required_for_addtional_capabilities.optional().nullable()
|
|
1465
1475
|
});
|
|
1466
1476
|
var common_device_properties = zod.z.object({
|
|
1467
1477
|
online: zod.z.boolean().describe("Indicates whether the device is online."),
|
|
@@ -17511,6 +17521,28 @@ var openapi_default = {
|
|
|
17511
17521
|
},
|
|
17512
17522
|
required: ["message", "created_at", "warning_code"],
|
|
17513
17523
|
type: "object"
|
|
17524
|
+
},
|
|
17525
|
+
{
|
|
17526
|
+
description: "Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.",
|
|
17527
|
+
properties: {
|
|
17528
|
+
created_at: {
|
|
17529
|
+
description: "Date and time at which Seam created the warning.",
|
|
17530
|
+
format: "date-time",
|
|
17531
|
+
type: "string"
|
|
17532
|
+
},
|
|
17533
|
+
message: {
|
|
17534
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
17535
|
+
type: "string"
|
|
17536
|
+
},
|
|
17537
|
+
warning_code: {
|
|
17538
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
17539
|
+
enum: ["hub_required_for_addtional_capabilities"],
|
|
17540
|
+
type: "string"
|
|
17541
|
+
}
|
|
17542
|
+
},
|
|
17543
|
+
required: ["message", "created_at", "warning_code"],
|
|
17544
|
+
type: "object",
|
|
17545
|
+
"x-variant-group-key": "locks"
|
|
17514
17546
|
}
|
|
17515
17547
|
]
|
|
17516
17548
|
},
|
|
@@ -28807,6 +28839,28 @@ var openapi_default = {
|
|
|
28807
28839
|
},
|
|
28808
28840
|
required: ["message", "created_at", "warning_code"],
|
|
28809
28841
|
type: "object"
|
|
28842
|
+
},
|
|
28843
|
+
{
|
|
28844
|
+
description: "Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.",
|
|
28845
|
+
properties: {
|
|
28846
|
+
created_at: {
|
|
28847
|
+
description: "Date and time at which Seam created the warning.",
|
|
28848
|
+
format: "date-time",
|
|
28849
|
+
type: "string"
|
|
28850
|
+
},
|
|
28851
|
+
message: {
|
|
28852
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
28853
|
+
type: "string"
|
|
28854
|
+
},
|
|
28855
|
+
warning_code: {
|
|
28856
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
28857
|
+
enum: ["hub_required_for_addtional_capabilities"],
|
|
28858
|
+
type: "string"
|
|
28859
|
+
}
|
|
28860
|
+
},
|
|
28861
|
+
required: ["message", "created_at", "warning_code"],
|
|
28862
|
+
type: "object",
|
|
28863
|
+
"x-variant-group-key": "locks"
|
|
28810
28864
|
}
|
|
28811
28865
|
]
|
|
28812
28866
|
},
|