@seamapi/types 1.659.0 → 1.661.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 +53 -20
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +139 -0
- package/dist/index.cjs +53 -20
- 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/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 +8 -0
- package/lib/seam/connect/models/acs/metadata/salto-space.js +8 -0
- package/lib/seam/connect/models/acs/metadata/salto-space.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +38 -0
- package/lib/seam/connect/openapi.d.ts +29 -0
- package/lib/seam/connect/openapi.js +26 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +46 -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 +17 -0
- package/src/lib/seam/connect/openapi.ts +31 -1
- package/src/lib/seam/connect/route-types.ts +64 -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,23 +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
|
-
audit_on_keys: zod.z.boolean().describe(
|
|
2955
|
-
"Indicates whether AuditOnKeys is enabled for the door in the Salto Space access system."
|
|
2956
|
-
),
|
|
2957
|
-
room_name: zod.z.string().describe("Name of the room in the Salto Space access system."),
|
|
2958
|
-
room_description: zod.z.string().describe("Description of the room in the Salto Space access system.")
|
|
2959
|
-
}).partial().describe("Salto Space-specific metadata associated with the entrance.");
|
|
2960
|
-
|
|
2961
|
-
// src/lib/seam/connect/models/acs/acs-entrance.ts
|
|
2962
2967
|
var acs_entrance_capability_flags = zod.z.object({
|
|
2963
2968
|
can_unlock_with_mobile_key: zod.z.boolean().optional().describe(
|
|
2964
2969
|
"Indicates whether the ACS entrance can be unlocked with mobile key credentials."
|
|
@@ -3554,7 +3559,10 @@ var common_acs_user = zod.z.object({
|
|
|
3554
3559
|
`),
|
|
3555
3560
|
connected_account_id: zod.z.string().uuid().describe(`
|
|
3556
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).
|
|
3557
|
-
`)
|
|
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
|
+
)
|
|
3558
3566
|
}).merge(user_fields);
|
|
3559
3567
|
var acs_user = common_acs_user.merge(
|
|
3560
3568
|
zod.z.object({
|
|
@@ -9479,6 +9487,16 @@ var openapi_default = {
|
|
|
9479
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`).",
|
|
9480
9488
|
type: "string"
|
|
9481
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
|
+
},
|
|
9482
9500
|
user_identity_email_address: {
|
|
9483
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).",
|
|
9484
9502
|
nullable: true,
|
|
@@ -27632,6 +27650,16 @@ var openapi_default = {
|
|
|
27632
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`).",
|
|
27633
27651
|
type: "string"
|
|
27634
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
|
+
},
|
|
27635
27663
|
user_identity_email_address: {
|
|
27636
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).",
|
|
27637
27665
|
nullable: true,
|
|
@@ -43134,7 +43162,11 @@ var openapi_default = {
|
|
|
43134
43162
|
"application/json": {
|
|
43135
43163
|
schema: {
|
|
43136
43164
|
properties: {
|
|
43137
|
-
connected_account_id: {
|
|
43165
|
+
connected_account_id: {
|
|
43166
|
+
description: "ID of the connected account you want to simulate as disconnected.",
|
|
43167
|
+
format: "uuid",
|
|
43168
|
+
type: "string"
|
|
43169
|
+
}
|
|
43138
43170
|
},
|
|
43139
43171
|
required: ["connected_account_id"],
|
|
43140
43172
|
type: "object"
|
|
@@ -43161,7 +43193,8 @@ var openapi_default = {
|
|
|
43161
43193
|
security: [
|
|
43162
43194
|
{ api_key: [] },
|
|
43163
43195
|
{ pat_with_workspace: [] },
|
|
43164
|
-
{ console_session_with_workspace: [] }
|
|
43196
|
+
{ console_session_with_workspace: [] },
|
|
43197
|
+
{ client_session_with_customer: [] }
|
|
43165
43198
|
],
|
|
43166
43199
|
summary: "/connected_accounts/simulate/disconnect",
|
|
43167
43200
|
tags: ["/connected_accounts"],
|