@seamapi/types 1.658.0 → 1.660.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 +54 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +169 -0
- package/dist/index.cjs +54 -15
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +5 -0
- 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/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/salto-space.d.ts +11 -0
- package/lib/seam/connect/models/acs/metadata/salto-space.js +11 -0
- package/lib/seam/connect/models/acs/metadata/salto-space.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +45 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +20 -0
- package/lib/seam/connect/openapi.d.ts +28 -0
- package/lib/seam/connect/openapi.js +28 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +65 -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/index.ts +1 -0
- package/src/lib/seam/connect/models/acs/metadata/salto-space.ts +22 -0
- package/src/lib/seam/connect/openapi.ts +34 -0
- package/src/lib/seam/connect/route-types.ts +83 -0
package/dist/connect.cjs
CHANGED
|
@@ -2619,6 +2619,28 @@ var acs_entrance_salto_ks_metadata = zod.z.object({
|
|
|
2619
2619
|
intrusion_alarm: zod.z.boolean().optional().describe("Indicates whether an intrusion alarm is active on the door."),
|
|
2620
2620
|
privacy_mode: zod.z.boolean().optional().describe("Indicates whether privacy mode is enabled for the lock.")
|
|
2621
2621
|
}).describe("Salto KS-specific metadata associated with the entrance.");
|
|
2622
|
+
var acs_entrance_salto_space_metadata = zod.z.object({
|
|
2623
|
+
ext_door_id: zod.z.string().describe(`
|
|
2624
|
+
---
|
|
2625
|
+
deprecated: use door_id.
|
|
2626
|
+
---
|
|
2627
|
+
`),
|
|
2628
|
+
door_id: zod.z.string().describe("Door ID in the Salto Space access system."),
|
|
2629
|
+
door_name: zod.z.string().describe("Name of the door in the Salto Space access system."),
|
|
2630
|
+
door_description: zod.z.string().describe("Description of the door in the Salto Space access system."),
|
|
2631
|
+
audit_on_keys: zod.z.boolean().describe(
|
|
2632
|
+
"Indicates whether AuditOnKeys is enabled for the door in the Salto Space access system."
|
|
2633
|
+
),
|
|
2634
|
+
room_name: zod.z.string().describe("Name of the room in the Salto Space access system."),
|
|
2635
|
+
room_description: zod.z.string().describe("Description of the room in the Salto Space access system.")
|
|
2636
|
+
}).partial().describe("Salto Space-specific metadata associated with the entrance.");
|
|
2637
|
+
var acs_user_salto_space_metadata = zod.z.object({
|
|
2638
|
+
audit_openings: zod.z.boolean().optional().describe(
|
|
2639
|
+
"Indicates whether AuditOpenings is enabled for the user in the Salto Space access system."
|
|
2640
|
+
)
|
|
2641
|
+
}).describe(
|
|
2642
|
+
"Salto Space-specific metadata associated with the access system user."
|
|
2643
|
+
);
|
|
2622
2644
|
var acs_entrance_visionline_metadata = zod.z.object({
|
|
2623
2645
|
door_name: zod.z.string().describe("Name of the door in the Visionline access system."),
|
|
2624
2646
|
door_category: zod.z.enum(["entrance", "guest", "elevator reader", "common", "common (PMS)"]).describe("Category of the door in the Visionline access system."),
|
|
@@ -2942,20 +2964,6 @@ var acs_encoder = zod.z.object({
|
|
|
2942
2964
|
|
|
2943
2965
|
To verify if your access control system requires a card encoder, see the corresponding [system integration guide](https://docs.seam.co/latest/device-and-system-integration-guides/overview#access-control-systems).
|
|
2944
2966
|
`);
|
|
2945
|
-
var acs_entrance_salto_space_metadata = zod.z.object({
|
|
2946
|
-
ext_door_id: zod.z.string().describe(`
|
|
2947
|
-
---
|
|
2948
|
-
deprecated: use door_id.
|
|
2949
|
-
---
|
|
2950
|
-
`),
|
|
2951
|
-
door_id: zod.z.string().describe("Door ID in the Salto Space access system."),
|
|
2952
|
-
door_name: zod.z.string().describe("Name of the door in the Salto Space access system."),
|
|
2953
|
-
door_description: zod.z.string().describe("Description of the door in the Salto Space access system."),
|
|
2954
|
-
room_name: zod.z.string().describe("Name of the room in the Salto Space access system."),
|
|
2955
|
-
room_description: zod.z.string().describe("Description of the room in the Salto Space access system.")
|
|
2956
|
-
}).partial().describe("Salto Space-specific metadata associated with the entrance.");
|
|
2957
|
-
|
|
2958
|
-
// src/lib/seam/connect/models/acs/acs-entrance.ts
|
|
2959
2967
|
var acs_entrance_capability_flags = zod.z.object({
|
|
2960
2968
|
can_unlock_with_mobile_key: zod.z.boolean().optional().describe(
|
|
2961
2969
|
"Indicates whether the ACS entrance can be unlocked with mobile key credentials."
|
|
@@ -3551,7 +3559,10 @@ var common_acs_user = zod.z.object({
|
|
|
3551
3559
|
`),
|
|
3552
3560
|
connected_account_id: zod.z.string().uuid().describe(`
|
|
3553
3561
|
The ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that is associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).
|
|
3554
|
-
`)
|
|
3562
|
+
`),
|
|
3563
|
+
salto_space_metadata: acs_user_salto_space_metadata.optional().describe(
|
|
3564
|
+
"Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management)."
|
|
3565
|
+
)
|
|
3555
3566
|
}).merge(user_fields);
|
|
3556
3567
|
var acs_user = common_acs_user.merge(
|
|
3557
3568
|
zod.z.object({
|
|
@@ -8483,6 +8494,10 @@ var openapi_default = {
|
|
|
8483
8494
|
salto_space_metadata: {
|
|
8484
8495
|
description: "Salto Space-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
8485
8496
|
properties: {
|
|
8497
|
+
audit_on_keys: {
|
|
8498
|
+
description: "Indicates whether AuditOnKeys is enabled for the door in the Salto Space access system.",
|
|
8499
|
+
type: "boolean"
|
|
8500
|
+
},
|
|
8486
8501
|
door_description: {
|
|
8487
8502
|
description: "Description of the door in the Salto Space access system.",
|
|
8488
8503
|
type: "string"
|
|
@@ -9472,6 +9487,16 @@ var openapi_default = {
|
|
|
9472
9487
|
description: "Phone number of the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).",
|
|
9473
9488
|
type: "string"
|
|
9474
9489
|
},
|
|
9490
|
+
salto_space_metadata: {
|
|
9491
|
+
description: "Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).",
|
|
9492
|
+
properties: {
|
|
9493
|
+
audit_openings: {
|
|
9494
|
+
description: "Indicates whether AuditOpenings is enabled for the user in the Salto Space access system.",
|
|
9495
|
+
type: "boolean"
|
|
9496
|
+
}
|
|
9497
|
+
},
|
|
9498
|
+
type: "object"
|
|
9499
|
+
},
|
|
9475
9500
|
user_identity_email_address: {
|
|
9476
9501
|
description: "Email address of the user identity associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).",
|
|
9477
9502
|
nullable: true,
|
|
@@ -24145,6 +24170,10 @@ var openapi_default = {
|
|
|
24145
24170
|
salto_space_metadata: {
|
|
24146
24171
|
description: "Salto Space-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
24147
24172
|
properties: {
|
|
24173
|
+
audit_on_keys: {
|
|
24174
|
+
description: "Indicates whether AuditOnKeys is enabled for the door in the Salto Space access system.",
|
|
24175
|
+
type: "boolean"
|
|
24176
|
+
},
|
|
24148
24177
|
door_description: {
|
|
24149
24178
|
description: "Description of the door in the Salto Space access system.",
|
|
24150
24179
|
type: "string"
|
|
@@ -27621,6 +27650,16 @@ var openapi_default = {
|
|
|
27621
27650
|
description: "Phone number of the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).",
|
|
27622
27651
|
type: "string"
|
|
27623
27652
|
},
|
|
27653
|
+
salto_space_metadata: {
|
|
27654
|
+
description: "Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).",
|
|
27655
|
+
properties: {
|
|
27656
|
+
audit_openings: {
|
|
27657
|
+
description: "Indicates whether AuditOpenings is enabled for the user in the Salto Space access system.",
|
|
27658
|
+
type: "boolean"
|
|
27659
|
+
}
|
|
27660
|
+
},
|
|
27661
|
+
type: "object"
|
|
27662
|
+
},
|
|
27624
27663
|
user_identity_email_address: {
|
|
27625
27664
|
description: "Email address of the user identity associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).",
|
|
27626
27665
|
nullable: true,
|