@seamapi/types 1.967.0 → 1.968.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 +30 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +71 -0
- package/dist/index.cjs +30 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +26 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +4 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/salto.d.ts +8 -0
- package/lib/seam/connect/models/acs/metadata/salto.js +9 -0
- package/lib/seam/connect/models/acs/metadata/salto.js.map +1 -1
- package/lib/seam/connect/openapi.js +20 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +45 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +6 -0
- package/src/lib/seam/connect/models/acs/metadata/salto.ts +16 -0
- package/src/lib/seam/connect/openapi.ts +24 -0
- package/src/lib/seam/connect/route-types.ts +63 -0
package/dist/connect.cjs
CHANGED
|
@@ -3619,6 +3619,13 @@ var acs_entrance_salto_ks_metadata = zod.z.object({
|
|
|
3619
3619
|
intrusion_alarm: zod.z.boolean().optional().describe("Indicates whether an intrusion alarm is active on the door."),
|
|
3620
3620
|
privacy_mode: zod.z.boolean().optional().describe("Indicates whether privacy mode is enabled for the lock.")
|
|
3621
3621
|
}).partial().describe("Salto KS-specific metadata associated with the entrance.");
|
|
3622
|
+
var acs_user_salto_ks_metadata = zod.z.object({
|
|
3623
|
+
is_subscribed: zod.z.boolean().optional().describe(
|
|
3624
|
+
"Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked."
|
|
3625
|
+
)
|
|
3626
|
+
}).partial().describe(
|
|
3627
|
+
"Salto KS-specific metadata associated with the access system user."
|
|
3628
|
+
);
|
|
3622
3629
|
var acs_entrance_salto_space_metadata = zod.z.object({
|
|
3623
3630
|
door_id: zod.z.string().optional().describe("Door ID in the Salto Space access system."),
|
|
3624
3631
|
door_name: zod.z.string().optional().describe("Name of the door in the Salto Space access system."),
|
|
@@ -4741,6 +4748,9 @@ var common_acs_user = zod.z.object({
|
|
|
4741
4748
|
`),
|
|
4742
4749
|
salto_space_metadata: acs_user_salto_space_metadata.optional().describe(
|
|
4743
4750
|
"Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management)."
|
|
4751
|
+
),
|
|
4752
|
+
salto_ks_metadata: acs_user_salto_ks_metadata.optional().describe(
|
|
4753
|
+
"Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management)."
|
|
4744
4754
|
)
|
|
4745
4755
|
}).merge(user_fields);
|
|
4746
4756
|
var acs_user = common_acs_user.merge(
|
|
@@ -12515,6 +12525,16 @@ var openapi = {
|
|
|
12515
12525
|
description: "Phone number of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) in E.164 format (for example, `+15555550100`).",
|
|
12516
12526
|
type: "string"
|
|
12517
12527
|
},
|
|
12528
|
+
salto_ks_metadata: {
|
|
12529
|
+
description: "Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).",
|
|
12530
|
+
properties: {
|
|
12531
|
+
is_subscribed: {
|
|
12532
|
+
description: "Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked.",
|
|
12533
|
+
type: "boolean"
|
|
12534
|
+
}
|
|
12535
|
+
},
|
|
12536
|
+
type: "object"
|
|
12537
|
+
},
|
|
12518
12538
|
salto_space_metadata: {
|
|
12519
12539
|
description: "Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).",
|
|
12520
12540
|
properties: {
|
|
@@ -36535,6 +36555,16 @@ var openapi = {
|
|
|
36535
36555
|
description: "Phone number of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) in E.164 format (for example, `+15555550100`).",
|
|
36536
36556
|
type: "string"
|
|
36537
36557
|
},
|
|
36558
|
+
salto_ks_metadata: {
|
|
36559
|
+
description: "Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).",
|
|
36560
|
+
properties: {
|
|
36561
|
+
is_subscribed: {
|
|
36562
|
+
description: "Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked.",
|
|
36563
|
+
type: "boolean"
|
|
36564
|
+
}
|
|
36565
|
+
},
|
|
36566
|
+
type: "object"
|
|
36567
|
+
},
|
|
36538
36568
|
salto_space_metadata: {
|
|
36539
36569
|
description: "Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).",
|
|
36540
36570
|
properties: {
|