@seamapi/types 1.952.0 → 1.954.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 +50 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +72 -26
- package/dist/index.cjs +50 -6
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +13 -13
- package/lib/seam/connect/models/acs/acs-access-group.js +1 -0
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/events/common.d.ts +2 -0
- package/lib/seam/connect/models/events/common.js +10 -0
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +36 -0
- package/lib/seam/connect/models/events/devices.js +10 -1
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +18 -0
- package/lib/seam/connect/openapi.js +27 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +42 -14
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +1 -0
- package/src/lib/seam/connect/models/events/common.ts +15 -0
- package/src/lib/seam/connect/models/events/devices.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +30 -0
- package/src/lib/seam/connect/route-types.ts +74 -0
package/dist/connect.cjs
CHANGED
|
@@ -3459,7 +3459,8 @@ var acs_access_group_external_type = zod.z.enum([
|
|
|
3459
3459
|
"salto_space_group",
|
|
3460
3460
|
"dormakaba_community_access_group",
|
|
3461
3461
|
"dormakaba_ambiance_access_group",
|
|
3462
|
-
"avigilon_alta_group"
|
|
3462
|
+
"avigilon_alta_group",
|
|
3463
|
+
"kisi_access_group"
|
|
3463
3464
|
]);
|
|
3464
3465
|
var common_acs_access_group_error = zod.z.object({
|
|
3465
3466
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
|
|
@@ -5616,6 +5617,16 @@ var common_event_warning = zod.z.object({
|
|
|
5616
5617
|
}).describe(
|
|
5617
5618
|
"Warning associated with the resource, including the warning code, message, and creation timestamp."
|
|
5618
5619
|
);
|
|
5620
|
+
var lock_access_denied_reason = zod.z.enum([
|
|
5621
|
+
"unknown_code",
|
|
5622
|
+
"expired_code",
|
|
5623
|
+
"blocklisted_code",
|
|
5624
|
+
"too_many_attempts",
|
|
5625
|
+
"blocked_by_privacy_mode",
|
|
5626
|
+
"credential_error"
|
|
5627
|
+
]).describe(
|
|
5628
|
+
"Normalized reason a lock denied access. Provider-agnostic; not all providers report every value."
|
|
5629
|
+
);
|
|
5619
5630
|
|
|
5620
5631
|
// src/lib/seam/connect/models/events/access-codes.ts
|
|
5621
5632
|
var access_code_event = common_event.extend({
|
|
@@ -6782,7 +6793,13 @@ var lock_access_denied_event = device_event.extend({
|
|
|
6782
6793
|
---
|
|
6783
6794
|
ID of the ACS entrance associated with the access-denied event.
|
|
6784
6795
|
`),
|
|
6785
|
-
device_id: zod.z.string().uuid().optional().describe("ID of the affected device.")
|
|
6796
|
+
device_id: zod.z.string().uuid().optional().describe("ID of the affected device."),
|
|
6797
|
+
reason: zod.z.object({
|
|
6798
|
+
reason_code: lock_access_denied_reason,
|
|
6799
|
+
message: zod.z.string().describe("Human-readable explanation of why access was denied.")
|
|
6800
|
+
}).optional().describe(
|
|
6801
|
+
"Why access was denied, when the provider reports a determinable cause. Omitted when unknown."
|
|
6802
|
+
)
|
|
6786
6803
|
}).describe(`
|
|
6787
6804
|
---
|
|
6788
6805
|
route_path: /locks
|
|
@@ -9976,7 +9993,8 @@ var openapi = {
|
|
|
9976
9993
|
"salto_space_group",
|
|
9977
9994
|
"dormakaba_community_access_group",
|
|
9978
9995
|
"dormakaba_ambiance_access_group",
|
|
9979
|
-
"avigilon_alta_group"
|
|
9996
|
+
"avigilon_alta_group",
|
|
9997
|
+
"kisi_access_group"
|
|
9980
9998
|
],
|
|
9981
9999
|
type: "string",
|
|
9982
10000
|
"x-deprecated": "Use `external_type`."
|
|
@@ -10070,7 +10088,8 @@ var openapi = {
|
|
|
10070
10088
|
"salto_space_group",
|
|
10071
10089
|
"dormakaba_community_access_group",
|
|
10072
10090
|
"dormakaba_ambiance_access_group",
|
|
10073
|
-
"avigilon_alta_group"
|
|
10091
|
+
"avigilon_alta_group",
|
|
10092
|
+
"kisi_access_group"
|
|
10074
10093
|
],
|
|
10075
10094
|
type: "string"
|
|
10076
10095
|
},
|
|
@@ -31035,6 +31054,29 @@ var openapi = {
|
|
|
31035
31054
|
format: "date-time",
|
|
31036
31055
|
type: "string"
|
|
31037
31056
|
},
|
|
31057
|
+
reason: {
|
|
31058
|
+
description: "Why access was denied, when the provider reports a determinable cause. Omitted when unknown.",
|
|
31059
|
+
properties: {
|
|
31060
|
+
message: {
|
|
31061
|
+
description: "Human-readable explanation of why access was denied.",
|
|
31062
|
+
type: "string"
|
|
31063
|
+
},
|
|
31064
|
+
reason_code: {
|
|
31065
|
+
description: "Normalized reason a lock denied access. Provider-agnostic; not all providers report every value.",
|
|
31066
|
+
enum: [
|
|
31067
|
+
"unknown_code",
|
|
31068
|
+
"expired_code",
|
|
31069
|
+
"blocklisted_code",
|
|
31070
|
+
"too_many_attempts",
|
|
31071
|
+
"blocked_by_privacy_mode",
|
|
31072
|
+
"credential_error"
|
|
31073
|
+
],
|
|
31074
|
+
type: "string"
|
|
31075
|
+
}
|
|
31076
|
+
},
|
|
31077
|
+
required: ["reason_code", "message"],
|
|
31078
|
+
type: "object"
|
|
31079
|
+
},
|
|
31038
31080
|
user_identity_id: {
|
|
31039
31081
|
description: "\n undocumented: Unreleased.\n ---\n ID of the user identity associated with the access-denied event.\n ",
|
|
31040
31082
|
format: "uuid",
|
|
@@ -35231,7 +35273,8 @@ var openapi = {
|
|
|
35231
35273
|
"salto_space_group",
|
|
35232
35274
|
"dormakaba_community_access_group",
|
|
35233
35275
|
"dormakaba_ambiance_access_group",
|
|
35234
|
-
"avigilon_alta_group"
|
|
35276
|
+
"avigilon_alta_group",
|
|
35277
|
+
"kisi_access_group"
|
|
35235
35278
|
],
|
|
35236
35279
|
type: "string",
|
|
35237
35280
|
"x-deprecated": "Use `external_type`."
|
|
@@ -35325,7 +35368,8 @@ var openapi = {
|
|
|
35325
35368
|
"salto_space_group",
|
|
35326
35369
|
"dormakaba_community_access_group",
|
|
35327
35370
|
"dormakaba_ambiance_access_group",
|
|
35328
|
-
"avigilon_alta_group"
|
|
35371
|
+
"avigilon_alta_group",
|
|
35372
|
+
"kisi_access_group"
|
|
35329
35373
|
],
|
|
35330
35374
|
type: "string"
|
|
35331
35375
|
},
|