@seamapi/types 1.561.0 → 1.562.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 +60 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +257 -0
- package/dist/index.cjs +60 -1
- 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 +14 -0
- package/src/lib/seam/connect/openapi.ts +62 -0
- package/src/lib/seam/connect/route-types.ts +130 -0
package/dist/connect.cjs
CHANGED
|
@@ -1972,6 +1972,11 @@ var kwikset_unable_to_confirm_deletion = common_access_code_error.extend({
|
|
|
1972
1972
|
}).describe(
|
|
1973
1973
|
"Unable to confirm the deletion of the access code on Kwikset device."
|
|
1974
1974
|
);
|
|
1975
|
+
var kwikset_insufficient_permissions = common_access_code_error.extend({
|
|
1976
|
+
error_code: zod.z.literal("kwikset_insufficient_permissions").describe(error_code_description3)
|
|
1977
|
+
}).describe(
|
|
1978
|
+
"Admin role required\u2014insufficient permissions to manage PINs on this Kwikset device. Please have a Home Admin update your role in the Kwikset app, or ask them to set the PIN."
|
|
1979
|
+
);
|
|
1975
1980
|
var igloohome_offline_access_code_no_variance_available = common_access_code_error.extend({
|
|
1976
1981
|
error_code: zod.z.literal("igloohome_offline_access_code_no_variance_available").describe(error_code_description3)
|
|
1977
1982
|
}).describe("Lock has reached maximum amount of codes.");
|
|
@@ -2036,7 +2041,8 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2036
2041
|
hubitat_no_free_positions_available,
|
|
2037
2042
|
wyze_duplicate_code_name,
|
|
2038
2043
|
wyze_potential_duplicate_code,
|
|
2039
|
-
dormakaba_oracode_no_valid_user_level
|
|
2044
|
+
dormakaba_oracode_no_valid_user_level,
|
|
2045
|
+
kwikset_insufficient_permissions
|
|
2040
2046
|
]).describe(
|
|
2041
2047
|
"Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes)."
|
|
2042
2048
|
);
|
|
@@ -2054,6 +2060,7 @@ zod.z.object({
|
|
|
2054
2060
|
igloohome_offline_access_code_no_variance_available: igloohome_offline_access_code_no_variance_available.optional().nullable(),
|
|
2055
2061
|
kwikset_unable_to_confirm_code: kwikset_unable_to_confirm_code.optional().nullable(),
|
|
2056
2062
|
kwikset_unable_to_confirm_deletion: kwikset_unable_to_confirm_deletion.optional().nullable(),
|
|
2063
|
+
kwikset_insufficient_permissions: kwikset_insufficient_permissions.optional().nullable(),
|
|
2057
2064
|
code_modified_external_to_seam_error: code_modified_external_to_seam_error.optional().nullable(),
|
|
2058
2065
|
august_lock_invalid_code_length: august_lock_invalid_code_length.optional().nullable(),
|
|
2059
2066
|
august_device_programming_delay: august_device_programming_delay_error.optional().nullable(),
|
|
@@ -6359,6 +6366,32 @@ var openapi_default = {
|
|
|
6359
6366
|
required: ["message", "is_access_code_error", "error_code"],
|
|
6360
6367
|
type: "object"
|
|
6361
6368
|
},
|
|
6369
|
+
{
|
|
6370
|
+
description: "Admin role required\u2014insufficient permissions to manage PINs on this Kwikset device. Please have a Home Admin update your role in the Kwikset app, or ask them to set the PIN.",
|
|
6371
|
+
properties: {
|
|
6372
|
+
created_at: {
|
|
6373
|
+
description: "Date and time at which Seam created the error.",
|
|
6374
|
+
format: "date-time",
|
|
6375
|
+
type: "string"
|
|
6376
|
+
},
|
|
6377
|
+
error_code: {
|
|
6378
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
6379
|
+
enum: ["kwikset_insufficient_permissions"],
|
|
6380
|
+
type: "string"
|
|
6381
|
+
},
|
|
6382
|
+
is_access_code_error: {
|
|
6383
|
+
description: "Indicates that this is an access code error.",
|
|
6384
|
+
enum: [true],
|
|
6385
|
+
type: "boolean"
|
|
6386
|
+
},
|
|
6387
|
+
message: {
|
|
6388
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
6389
|
+
type: "string"
|
|
6390
|
+
}
|
|
6391
|
+
},
|
|
6392
|
+
required: ["message", "is_access_code_error", "error_code"],
|
|
6393
|
+
type: "object"
|
|
6394
|
+
},
|
|
6362
6395
|
{
|
|
6363
6396
|
description: "Indicates that the account is disconnected.",
|
|
6364
6397
|
properties: {
|
|
@@ -25116,6 +25149,32 @@ var openapi_default = {
|
|
|
25116
25149
|
required: ["message", "is_access_code_error", "error_code"],
|
|
25117
25150
|
type: "object"
|
|
25118
25151
|
},
|
|
25152
|
+
{
|
|
25153
|
+
description: "Admin role required\u2014insufficient permissions to manage PINs on this Kwikset device. Please have a Home Admin update your role in the Kwikset app, or ask them to set the PIN.",
|
|
25154
|
+
properties: {
|
|
25155
|
+
created_at: {
|
|
25156
|
+
description: "Date and time at which Seam created the error.",
|
|
25157
|
+
format: "date-time",
|
|
25158
|
+
type: "string"
|
|
25159
|
+
},
|
|
25160
|
+
error_code: {
|
|
25161
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
25162
|
+
enum: ["kwikset_insufficient_permissions"],
|
|
25163
|
+
type: "string"
|
|
25164
|
+
},
|
|
25165
|
+
is_access_code_error: {
|
|
25166
|
+
description: "Indicates that this is an access code error.",
|
|
25167
|
+
enum: [true],
|
|
25168
|
+
type: "boolean"
|
|
25169
|
+
},
|
|
25170
|
+
message: {
|
|
25171
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
25172
|
+
type: "string"
|
|
25173
|
+
}
|
|
25174
|
+
},
|
|
25175
|
+
required: ["message", "is_access_code_error", "error_code"],
|
|
25176
|
+
type: "object"
|
|
25177
|
+
},
|
|
25119
25178
|
{
|
|
25120
25179
|
description: "Indicates that the account is disconnected.",
|
|
25121
25180
|
properties: {
|