@seamapi/types 1.611.0 → 1.612.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 +59 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +257 -0
- package/dist/index.cjs +59 -2
- package/dist/index.cjs.map +1 -1
- 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/batch.d.ts +144 -0
- 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 +117 -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/openapi.ts +60 -0
- package/src/lib/seam/connect/route-types.ts +130 -0
package/dist/connect.cjs
CHANGED
|
@@ -2037,6 +2037,9 @@ var wyze_potential_duplicate_code = common_access_code_error.extend({
|
|
|
2037
2037
|
var dormakaba_oracode_no_valid_user_level = common_access_code_error.extend({
|
|
2038
2038
|
error_code: zod.z.literal("dormakaba_oracode_no_valid_user_level").describe(error_code_description3)
|
|
2039
2039
|
}).describe("No valid user level for Oracode.");
|
|
2040
|
+
var keynest_unsupported_third_party_locker = common_access_code_error.extend({
|
|
2041
|
+
error_code: zod.z.literal("keynest_unsupported_third_party_locker").describe(error_code_description3)
|
|
2042
|
+
}).describe("KeyNest locker is not supported.");
|
|
2040
2043
|
var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
2041
2044
|
smartthings_failed_to_set_access_code_error,
|
|
2042
2045
|
smartthings_failed_to_set_after_multiple_retries,
|
|
@@ -2062,7 +2065,8 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2062
2065
|
wyze_duplicate_code_name,
|
|
2063
2066
|
wyze_potential_duplicate_code,
|
|
2064
2067
|
dormakaba_oracode_no_valid_user_level,
|
|
2065
|
-
kwikset_insufficient_permissions
|
|
2068
|
+
kwikset_insufficient_permissions,
|
|
2069
|
+
keynest_unsupported_third_party_locker
|
|
2066
2070
|
]).describe(
|
|
2067
2071
|
"Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes)."
|
|
2068
2072
|
);
|
|
@@ -2091,7 +2095,8 @@ zod.z.object({
|
|
|
2091
2095
|
hubitat_no_free_positions_available: hubitat_no_free_positions_available.optional().nullable(),
|
|
2092
2096
|
wyze_duplicate_code_name: wyze_duplicate_code_name.optional().nullable(),
|
|
2093
2097
|
wyze_potential_duplicate_code: wyze_potential_duplicate_code.optional().nullable(),
|
|
2094
|
-
dormakaba_oracode_no_valid_user_level: dormakaba_oracode_no_valid_user_level.optional().nullable()
|
|
2098
|
+
dormakaba_oracode_no_valid_user_level: dormakaba_oracode_no_valid_user_level.optional().nullable(),
|
|
2099
|
+
keynest_unsupported_third_party_locker: keynest_unsupported_third_party_locker.optional().nullable()
|
|
2095
2100
|
});
|
|
2096
2101
|
var common_access_code_warning = zod.z.object({
|
|
2097
2102
|
message: zod.z.string().describe(
|
|
@@ -6502,6 +6507,32 @@ var openapi_default = {
|
|
|
6502
6507
|
required: ["message", "is_access_code_error", "error_code"],
|
|
6503
6508
|
type: "object"
|
|
6504
6509
|
},
|
|
6510
|
+
{
|
|
6511
|
+
description: "KeyNest locker is not supported.",
|
|
6512
|
+
properties: {
|
|
6513
|
+
created_at: {
|
|
6514
|
+
description: "Date and time at which Seam created the error.",
|
|
6515
|
+
format: "date-time",
|
|
6516
|
+
type: "string"
|
|
6517
|
+
},
|
|
6518
|
+
error_code: {
|
|
6519
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
6520
|
+
enum: ["keynest_unsupported_third_party_locker"],
|
|
6521
|
+
type: "string"
|
|
6522
|
+
},
|
|
6523
|
+
is_access_code_error: {
|
|
6524
|
+
description: "Indicates that this is an access code error.",
|
|
6525
|
+
enum: [true],
|
|
6526
|
+
type: "boolean"
|
|
6527
|
+
},
|
|
6528
|
+
message: {
|
|
6529
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
6530
|
+
type: "string"
|
|
6531
|
+
}
|
|
6532
|
+
},
|
|
6533
|
+
required: ["message", "is_access_code_error", "error_code"],
|
|
6534
|
+
type: "object"
|
|
6535
|
+
},
|
|
6505
6536
|
{
|
|
6506
6537
|
description: "Indicates that the account is disconnected.",
|
|
6507
6538
|
properties: {
|
|
@@ -25449,6 +25480,32 @@ var openapi_default = {
|
|
|
25449
25480
|
required: ["message", "is_access_code_error", "error_code"],
|
|
25450
25481
|
type: "object"
|
|
25451
25482
|
},
|
|
25483
|
+
{
|
|
25484
|
+
description: "KeyNest locker is not supported.",
|
|
25485
|
+
properties: {
|
|
25486
|
+
created_at: {
|
|
25487
|
+
description: "Date and time at which Seam created the error.",
|
|
25488
|
+
format: "date-time",
|
|
25489
|
+
type: "string"
|
|
25490
|
+
},
|
|
25491
|
+
error_code: {
|
|
25492
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
25493
|
+
enum: ["keynest_unsupported_third_party_locker"],
|
|
25494
|
+
type: "string"
|
|
25495
|
+
},
|
|
25496
|
+
is_access_code_error: {
|
|
25497
|
+
description: "Indicates that this is an access code error.",
|
|
25498
|
+
enum: [true],
|
|
25499
|
+
type: "boolean"
|
|
25500
|
+
},
|
|
25501
|
+
message: {
|
|
25502
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
25503
|
+
type: "string"
|
|
25504
|
+
}
|
|
25505
|
+
},
|
|
25506
|
+
required: ["message", "is_access_code_error", "error_code"],
|
|
25507
|
+
type: "object"
|
|
25508
|
+
},
|
|
25452
25509
|
{
|
|
25453
25510
|
description: "Indicates that the account is disconnected.",
|
|
25454
25511
|
properties: {
|