@seamapi/types 1.394.0 → 1.395.1
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 +58 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +149 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +71 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +11 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +26 -0
- package/lib/seam/connect/models/devices/capability-properties/access-code.js +1 -1
- package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/openapi.js +52 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +81 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +12 -0
- package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +60 -0
- package/src/lib/seam/connect/route-types.ts +90 -0
package/dist/connect.cjs
CHANGED
|
@@ -63,7 +63,7 @@ var access_code_code_constraint = zod.z.object({
|
|
|
63
63
|
"no_triple_consecutive_ints",
|
|
64
64
|
// Brivo
|
|
65
65
|
"cannot_specify_pin_code",
|
|
66
|
-
//
|
|
66
|
+
// Dormakaba?
|
|
67
67
|
"pin_code_matches_existing_set",
|
|
68
68
|
// Salto
|
|
69
69
|
"start_date_in_future",
|
|
@@ -1450,6 +1450,9 @@ var duplicate_code_on_device = common_access_code_error.extend({
|
|
|
1450
1450
|
var duplicate_code_attempt_prevented = common_access_code_error.extend({
|
|
1451
1451
|
error_code: zod.z.literal("duplicate_code_attempt_prevented").describe(error_code_description3)
|
|
1452
1452
|
}).describe("An attempt to modify this access code was prevented.");
|
|
1453
|
+
var no_space_for_access_code_on_device = common_access_code_error.extend({
|
|
1454
|
+
error_code: zod.z.literal("no_space_for_access_code_on_device").describe(error_code_description3)
|
|
1455
|
+
}).describe("No space for access code on device.");
|
|
1453
1456
|
var igloohome_bridge_too_many_pending_jobs = common_access_code_error.extend({
|
|
1454
1457
|
error_code: zod.z.literal("igloohome_bridge_too_many_pending_jobs").describe(error_code_description3)
|
|
1455
1458
|
}).describe("Igloohome bridge has too many pending jobs in the queue.");
|
|
@@ -1511,6 +1514,7 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
1511
1514
|
failed_to_remove_from_device,
|
|
1512
1515
|
duplicate_code_on_device,
|
|
1513
1516
|
duplicate_code_attempt_prevented,
|
|
1517
|
+
no_space_for_access_code_on_device,
|
|
1514
1518
|
igloohome_bridge_too_many_pending_jobs,
|
|
1515
1519
|
igloohome_bridge_offline,
|
|
1516
1520
|
igloohome_offline_access_code_no_variance_available,
|
|
@@ -1537,6 +1541,7 @@ zod.z.object({
|
|
|
1537
1541
|
smartthings_no_free_slots_available: smartthings_no_free_slots_available.optional().nullable(),
|
|
1538
1542
|
failed_to_set_on_device: failed_to_set_on_device.optional().nullable(),
|
|
1539
1543
|
failed_to_remove_from_device: failed_to_remove_from_device.optional().nullable(),
|
|
1544
|
+
no_space_for_access_code_on_device: no_space_for_access_code_on_device.optional().nullable(),
|
|
1540
1545
|
duplicate_code_on_device: duplicate_code_on_device.optional().nullable(),
|
|
1541
1546
|
duplicate_code_attempt_prevented: duplicate_code_attempt_prevented.optional().nullable(),
|
|
1542
1547
|
igloohome_bridge_too_many_pending_jobs: igloohome_bridge_too_many_pending_jobs.optional().nullable(),
|
|
@@ -4782,6 +4787,32 @@ var openapi_default = {
|
|
|
4782
4787
|
required: ["message", "is_access_code_error", "error_code"],
|
|
4783
4788
|
type: "object"
|
|
4784
4789
|
},
|
|
4790
|
+
{
|
|
4791
|
+
description: "No space for access code on device.",
|
|
4792
|
+
properties: {
|
|
4793
|
+
created_at: {
|
|
4794
|
+
description: "Date and time at which Seam created the error.",
|
|
4795
|
+
format: "date-time",
|
|
4796
|
+
type: "string"
|
|
4797
|
+
},
|
|
4798
|
+
error_code: {
|
|
4799
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
4800
|
+
enum: ["no_space_for_access_code_on_device"],
|
|
4801
|
+
type: "string"
|
|
4802
|
+
},
|
|
4803
|
+
is_access_code_error: {
|
|
4804
|
+
description: "Indicates that this is an access code error.",
|
|
4805
|
+
enum: [true],
|
|
4806
|
+
type: "boolean"
|
|
4807
|
+
},
|
|
4808
|
+
message: {
|
|
4809
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
4810
|
+
type: "string"
|
|
4811
|
+
}
|
|
4812
|
+
},
|
|
4813
|
+
required: ["message", "is_access_code_error", "error_code"],
|
|
4814
|
+
type: "object"
|
|
4815
|
+
},
|
|
4785
4816
|
{
|
|
4786
4817
|
description: "Igloohome bridge has too many pending jobs in the queue.",
|
|
4787
4818
|
properties: {
|
|
@@ -18655,6 +18686,32 @@ var openapi_default = {
|
|
|
18655
18686
|
required: ["message", "is_access_code_error", "error_code"],
|
|
18656
18687
|
type: "object"
|
|
18657
18688
|
},
|
|
18689
|
+
{
|
|
18690
|
+
description: "No space for access code on device.",
|
|
18691
|
+
properties: {
|
|
18692
|
+
created_at: {
|
|
18693
|
+
description: "Date and time at which Seam created the error.",
|
|
18694
|
+
format: "date-time",
|
|
18695
|
+
type: "string"
|
|
18696
|
+
},
|
|
18697
|
+
error_code: {
|
|
18698
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
18699
|
+
enum: ["no_space_for_access_code_on_device"],
|
|
18700
|
+
type: "string"
|
|
18701
|
+
},
|
|
18702
|
+
is_access_code_error: {
|
|
18703
|
+
description: "Indicates that this is an access code error.",
|
|
18704
|
+
enum: [true],
|
|
18705
|
+
type: "boolean"
|
|
18706
|
+
},
|
|
18707
|
+
message: {
|
|
18708
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
18709
|
+
type: "string"
|
|
18710
|
+
}
|
|
18711
|
+
},
|
|
18712
|
+
required: ["message", "is_access_code_error", "error_code"],
|
|
18713
|
+
type: "object"
|
|
18714
|
+
},
|
|
18658
18715
|
{
|
|
18659
18716
|
description: "Igloohome bridge has too many pending jobs in the queue.",
|
|
18660
18717
|
properties: {
|