@seamapi/types 1.689.0 → 1.691.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 +105 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +506 -0
- package/dist/index.cjs +105 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +116 -0
- package/lib/seam/connect/models/devices/device.d.ts +116 -0
- package/lib/seam/connect/models/devices/device.js +23 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +42 -0
- package/lib/seam/connect/openapi.js +86 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +280 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +27 -0
- package/src/lib/seam/connect/openapi.ts +102 -0
- package/src/lib/seam/connect/route-types.ts +320 -0
package/dist/connect.cjs
CHANGED
|
@@ -1422,6 +1422,11 @@ var lockly_time_zone_not_configured = common_device_warning.extend({
|
|
|
1422
1422
|
}).describe(
|
|
1423
1423
|
"Indicates that Seam detected that the Lockly device does not have a time zone configured. Time-bound codes may not work as expected."
|
|
1424
1424
|
);
|
|
1425
|
+
var ultraloq_time_zone_unknown = common_device_warning.extend({
|
|
1426
|
+
warning_code: zod.z.literal("ultraloq_time_zone_unknown").describe(warning_code_description2)
|
|
1427
|
+
}).describe(
|
|
1428
|
+
"Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes."
|
|
1429
|
+
);
|
|
1425
1430
|
var unknown_issue_with_phone = common_device_warning.extend({
|
|
1426
1431
|
warning_code: zod.z.literal("unknown_issue_with_phone").describe(warning_code_description2)
|
|
1427
1432
|
}).describe(`
|
|
@@ -1446,6 +1451,14 @@ var keynest_unsupported_locker = common_device_warning.extend({
|
|
|
1446
1451
|
---
|
|
1447
1452
|
Indicates that the key is in a locker that does not support the access codes API.
|
|
1448
1453
|
`);
|
|
1454
|
+
var accessory_keypad_setup_required = common_device_warning.extend({
|
|
1455
|
+
warning_code: zod.z.literal("accessory_keypad_setup_required").describe(warning_code_description2)
|
|
1456
|
+
}).describe(`
|
|
1457
|
+
---
|
|
1458
|
+
variant_group_key: locks
|
|
1459
|
+
---
|
|
1460
|
+
Indicates that the accessory keypad exists, but is not linked to the Igloohome Bridge. Online access code programming will fail until the keypad is linked to the Igloohome Bridge in the Igloohome app.
|
|
1461
|
+
`);
|
|
1449
1462
|
var device_warning = zod.z.discriminatedUnion("warning_code", [
|
|
1450
1463
|
partial_backup_access_code_pool,
|
|
1451
1464
|
many_active_backup_codes,
|
|
@@ -1463,8 +1476,10 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
1463
1476
|
salto_ks_subscription_limit_almost_reached2,
|
|
1464
1477
|
unknown_issue_with_phone,
|
|
1465
1478
|
lockly_time_zone_not_configured,
|
|
1479
|
+
ultraloq_time_zone_unknown,
|
|
1466
1480
|
hub_required_for_addtional_capabilities,
|
|
1467
|
-
keynest_unsupported_locker
|
|
1481
|
+
keynest_unsupported_locker,
|
|
1482
|
+
accessory_keypad_setup_required
|
|
1468
1483
|
]);
|
|
1469
1484
|
zod.z.object({
|
|
1470
1485
|
partial_backup_access_code_pool: partial_backup_access_code_pool.optional().nullable(),
|
|
@@ -1486,8 +1501,10 @@ zod.z.object({
|
|
|
1486
1501
|
salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached2.optional().nullable(),
|
|
1487
1502
|
unknown_issue_with_phone: unknown_issue_with_phone.optional().nullable(),
|
|
1488
1503
|
lockly_time_zone_not_configured: lockly_time_zone_not_configured.optional().nullable(),
|
|
1504
|
+
ultraloq_time_zone_unknown: ultraloq_time_zone_unknown.optional().nullable(),
|
|
1489
1505
|
hub_required_for_addtional_capabilities: hub_required_for_addtional_capabilities.optional().nullable(),
|
|
1490
|
-
keynest_unsupported_locker: keynest_unsupported_locker.optional().nullable()
|
|
1506
|
+
keynest_unsupported_locker: keynest_unsupported_locker.optional().nullable(),
|
|
1507
|
+
accessory_keypad_setup_required: accessory_keypad_setup_required.optional().nullable()
|
|
1491
1508
|
});
|
|
1492
1509
|
var common_device_properties = zod.z.object({
|
|
1493
1510
|
online: zod.z.boolean().describe("Indicates whether the device is online."),
|
|
@@ -17763,6 +17780,27 @@ var openapi_default = {
|
|
|
17763
17780
|
required: ["message", "created_at", "warning_code"],
|
|
17764
17781
|
type: "object"
|
|
17765
17782
|
},
|
|
17783
|
+
{
|
|
17784
|
+
description: "Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.",
|
|
17785
|
+
properties: {
|
|
17786
|
+
created_at: {
|
|
17787
|
+
description: "Date and time at which Seam created the warning.",
|
|
17788
|
+
format: "date-time",
|
|
17789
|
+
type: "string"
|
|
17790
|
+
},
|
|
17791
|
+
message: {
|
|
17792
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
17793
|
+
type: "string"
|
|
17794
|
+
},
|
|
17795
|
+
warning_code: {
|
|
17796
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
17797
|
+
enum: ["ultraloq_time_zone_unknown"],
|
|
17798
|
+
type: "string"
|
|
17799
|
+
}
|
|
17800
|
+
},
|
|
17801
|
+
required: ["message", "created_at", "warning_code"],
|
|
17802
|
+
type: "object"
|
|
17803
|
+
},
|
|
17766
17804
|
{
|
|
17767
17805
|
description: "Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.",
|
|
17768
17806
|
properties: {
|
|
@@ -17806,6 +17844,28 @@ var openapi_default = {
|
|
|
17806
17844
|
required: ["message", "created_at", "warning_code"],
|
|
17807
17845
|
type: "object",
|
|
17808
17846
|
"x-variant-group-key": "locks"
|
|
17847
|
+
},
|
|
17848
|
+
{
|
|
17849
|
+
description: "Indicates that the accessory keypad exists, but is not linked to the Igloohome Bridge. Online access code programming will fail until the keypad is linked to the Igloohome Bridge in the Igloohome app.",
|
|
17850
|
+
properties: {
|
|
17851
|
+
created_at: {
|
|
17852
|
+
description: "Date and time at which Seam created the warning.",
|
|
17853
|
+
format: "date-time",
|
|
17854
|
+
type: "string"
|
|
17855
|
+
},
|
|
17856
|
+
message: {
|
|
17857
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
17858
|
+
type: "string"
|
|
17859
|
+
},
|
|
17860
|
+
warning_code: {
|
|
17861
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
17862
|
+
enum: ["accessory_keypad_setup_required"],
|
|
17863
|
+
type: "string"
|
|
17864
|
+
}
|
|
17865
|
+
},
|
|
17866
|
+
required: ["message", "created_at", "warning_code"],
|
|
17867
|
+
type: "object",
|
|
17868
|
+
"x-variant-group-key": "locks"
|
|
17809
17869
|
}
|
|
17810
17870
|
]
|
|
17811
17871
|
},
|
|
@@ -29172,6 +29232,27 @@ var openapi_default = {
|
|
|
29172
29232
|
required: ["message", "created_at", "warning_code"],
|
|
29173
29233
|
type: "object"
|
|
29174
29234
|
},
|
|
29235
|
+
{
|
|
29236
|
+
description: "Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.",
|
|
29237
|
+
properties: {
|
|
29238
|
+
created_at: {
|
|
29239
|
+
description: "Date and time at which Seam created the warning.",
|
|
29240
|
+
format: "date-time",
|
|
29241
|
+
type: "string"
|
|
29242
|
+
},
|
|
29243
|
+
message: {
|
|
29244
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
29245
|
+
type: "string"
|
|
29246
|
+
},
|
|
29247
|
+
warning_code: {
|
|
29248
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
29249
|
+
enum: ["ultraloq_time_zone_unknown"],
|
|
29250
|
+
type: "string"
|
|
29251
|
+
}
|
|
29252
|
+
},
|
|
29253
|
+
required: ["message", "created_at", "warning_code"],
|
|
29254
|
+
type: "object"
|
|
29255
|
+
},
|
|
29175
29256
|
{
|
|
29176
29257
|
description: "Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.",
|
|
29177
29258
|
properties: {
|
|
@@ -29215,6 +29296,28 @@ var openapi_default = {
|
|
|
29215
29296
|
required: ["message", "created_at", "warning_code"],
|
|
29216
29297
|
type: "object",
|
|
29217
29298
|
"x-variant-group-key": "locks"
|
|
29299
|
+
},
|
|
29300
|
+
{
|
|
29301
|
+
description: "Indicates that the accessory keypad exists, but is not linked to the Igloohome Bridge. Online access code programming will fail until the keypad is linked to the Igloohome Bridge in the Igloohome app.",
|
|
29302
|
+
properties: {
|
|
29303
|
+
created_at: {
|
|
29304
|
+
description: "Date and time at which Seam created the warning.",
|
|
29305
|
+
format: "date-time",
|
|
29306
|
+
type: "string"
|
|
29307
|
+
},
|
|
29308
|
+
message: {
|
|
29309
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
29310
|
+
type: "string"
|
|
29311
|
+
},
|
|
29312
|
+
warning_code: {
|
|
29313
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
29314
|
+
enum: ["accessory_keypad_setup_required"],
|
|
29315
|
+
type: "string"
|
|
29316
|
+
}
|
|
29317
|
+
},
|
|
29318
|
+
required: ["message", "created_at", "warning_code"],
|
|
29319
|
+
type: "object",
|
|
29320
|
+
"x-variant-group-key": "locks"
|
|
29218
29321
|
}
|
|
29219
29322
|
]
|
|
29220
29323
|
},
|