@seamapi/types 1.872.0 → 1.873.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 +66 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +157 -0
- package/dist/index.cjs +66 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +48 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +13 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +34 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +98 -0
- package/lib/seam/connect/openapi.js +54 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +99 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +18 -0
- package/src/lib/seam/connect/openapi.ts +64 -0
- package/src/lib/seam/connect/route-types.ts +110 -0
package/dist/connect.cjs
CHANGED
|
@@ -3922,17 +3922,24 @@ var entrance_setup_required = common_acs_entrance_warning.extend({
|
|
|
3922
3922
|
}).describe(
|
|
3923
3923
|
"Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it."
|
|
3924
3924
|
);
|
|
3925
|
+
var salto_ks_privacy_mode2 = common_acs_entrance_warning.extend({
|
|
3926
|
+
warning_code: zod.z.literal("salto_ks_privacy_mode").describe(warning_code_description8)
|
|
3927
|
+
}).describe(
|
|
3928
|
+
"Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access."
|
|
3929
|
+
);
|
|
3925
3930
|
var acs_entrance_warning = zod.z.discriminatedUnion("warning_code", [
|
|
3926
3931
|
salto_ks_entrance_access_code_support_removed,
|
|
3927
3932
|
entrance_shares_zone,
|
|
3928
|
-
entrance_setup_required
|
|
3933
|
+
entrance_setup_required,
|
|
3934
|
+
salto_ks_privacy_mode2
|
|
3929
3935
|
]).describe(
|
|
3930
3936
|
"Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
3931
3937
|
);
|
|
3932
3938
|
zod.z.object({
|
|
3933
3939
|
salto_ks_entrance_access_code_support_removed: salto_ks_entrance_access_code_support_removed.optional().nullable(),
|
|
3934
3940
|
entrance_shares_zone: entrance_shares_zone.optional().nullable(),
|
|
3935
|
-
entrance_setup_required: entrance_setup_required.optional().nullable()
|
|
3941
|
+
entrance_setup_required: entrance_setup_required.optional().nullable(),
|
|
3942
|
+
salto_ks_privacy_mode: salto_ks_privacy_mode2.optional().nullable()
|
|
3936
3943
|
});
|
|
3937
3944
|
var acs_entrance_capability_flags = zod.z.object({
|
|
3938
3945
|
can_unlock_with_mobile_key: zod.z.boolean().optional().describe(
|
|
@@ -4012,6 +4019,9 @@ var acs_entrance = zod.z.object({
|
|
|
4012
4019
|
),
|
|
4013
4020
|
avigilon_alta_metadata: acs_entrance_avigilon_alta_metadata.optional().describe(
|
|
4014
4021
|
"Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
4022
|
+
),
|
|
4023
|
+
is_locked: zod.z.boolean().optional().describe(
|
|
4024
|
+
"Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked."
|
|
4015
4025
|
)
|
|
4016
4026
|
}).merge(acs_entrance_capability_flags).describe(`
|
|
4017
4027
|
---
|
|
@@ -11330,6 +11340,10 @@ var openapi = {
|
|
|
11330
11340
|
},
|
|
11331
11341
|
type: "object"
|
|
11332
11342
|
},
|
|
11343
|
+
is_locked: {
|
|
11344
|
+
description: "Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked.",
|
|
11345
|
+
type: "boolean"
|
|
11346
|
+
},
|
|
11333
11347
|
latch_metadata: {
|
|
11334
11348
|
description: "Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
11335
11349
|
properties: {
|
|
@@ -11549,6 +11563,27 @@ var openapi = {
|
|
|
11549
11563
|
},
|
|
11550
11564
|
required: ["created_at", "message", "warning_code"],
|
|
11551
11565
|
type: "object"
|
|
11566
|
+
},
|
|
11567
|
+
{
|
|
11568
|
+
description: "Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.",
|
|
11569
|
+
properties: {
|
|
11570
|
+
created_at: {
|
|
11571
|
+
description: "Date and time at which Seam created the warning.",
|
|
11572
|
+
format: "date-time",
|
|
11573
|
+
type: "string"
|
|
11574
|
+
},
|
|
11575
|
+
message: {
|
|
11576
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
11577
|
+
type: "string"
|
|
11578
|
+
},
|
|
11579
|
+
warning_code: {
|
|
11580
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
11581
|
+
enum: ["salto_ks_privacy_mode"],
|
|
11582
|
+
type: "string"
|
|
11583
|
+
}
|
|
11584
|
+
},
|
|
11585
|
+
required: ["created_at", "message", "warning_code"],
|
|
11586
|
+
type: "object"
|
|
11552
11587
|
}
|
|
11553
11588
|
]
|
|
11554
11589
|
},
|
|
@@ -30745,6 +30780,10 @@ var openapi = {
|
|
|
30745
30780
|
},
|
|
30746
30781
|
type: "object"
|
|
30747
30782
|
},
|
|
30783
|
+
is_locked: {
|
|
30784
|
+
description: "Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked.",
|
|
30785
|
+
type: "boolean"
|
|
30786
|
+
},
|
|
30748
30787
|
latch_metadata: {
|
|
30749
30788
|
description: "Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
30750
30789
|
properties: {
|
|
@@ -30978,6 +31017,31 @@ var openapi = {
|
|
|
30978
31017
|
"warning_code"
|
|
30979
31018
|
],
|
|
30980
31019
|
type: "object"
|
|
31020
|
+
},
|
|
31021
|
+
{
|
|
31022
|
+
description: "Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.",
|
|
31023
|
+
properties: {
|
|
31024
|
+
created_at: {
|
|
31025
|
+
description: "Date and time at which Seam created the warning.",
|
|
31026
|
+
format: "date-time",
|
|
31027
|
+
type: "string"
|
|
31028
|
+
},
|
|
31029
|
+
message: {
|
|
31030
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
31031
|
+
type: "string"
|
|
31032
|
+
},
|
|
31033
|
+
warning_code: {
|
|
31034
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
31035
|
+
enum: ["salto_ks_privacy_mode"],
|
|
31036
|
+
type: "string"
|
|
31037
|
+
}
|
|
31038
|
+
},
|
|
31039
|
+
required: [
|
|
31040
|
+
"created_at",
|
|
31041
|
+
"message",
|
|
31042
|
+
"warning_code"
|
|
31043
|
+
],
|
|
31044
|
+
type: "object"
|
|
30981
31045
|
}
|
|
30982
31046
|
]
|
|
30983
31047
|
},
|