@seamapi/types 1.317.0 → 1.318.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 +19 -25
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +69 -27
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +0 -10
- package/lib/seam/connect/models/acs/acs-encoder.js +0 -4
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +5 -0
- package/lib/seam/connect/models/acs/acs-system.d.ts +34 -0
- package/lib/seam/connect/models/acs/acs-system.js +4 -0
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.d.ts +6 -6
- package/lib/seam/connect/models/acs/acs-user.js +1 -0
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.d.ts +3 -0
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.js +1 -0
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +37 -7
- package/lib/seam/connect/openapi.js +8 -14
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +16 -9
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +0 -6
- package/src/lib/seam/connect/models/acs/acs-system.ts +4 -0
- package/src/lib/seam/connect/models/acs/acs-user.ts +1 -0
- package/src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +8 -15
- package/src/lib/seam/connect/route-types.ts +16 -9
package/dist/connect.cjs
CHANGED
|
@@ -1200,7 +1200,8 @@ var acs_entrance_assa_abloy_vostio_metadata = zod.z.object({
|
|
|
1200
1200
|
var acs_entrance_dormakaba_community_metadata = zod.z.object({
|
|
1201
1201
|
access_point_name: zod.z.string(),
|
|
1202
1202
|
common_area_number: zod.z.number().optional(),
|
|
1203
|
-
inner_access_points_names: zod.z.array(zod.z.string()).optional()
|
|
1203
|
+
inner_access_points_names: zod.z.array(zod.z.string()).optional(),
|
|
1204
|
+
lease_ids: zod.z.array(zod.z.string()).optional()
|
|
1204
1205
|
});
|
|
1205
1206
|
var acs_entrance_latch_metadata = zod.z.object({
|
|
1206
1207
|
accessibility_type: zod.z.string(),
|
|
@@ -1397,10 +1398,7 @@ var common_acs_encoder_error = zod.z.object({
|
|
|
1397
1398
|
});
|
|
1398
1399
|
var error_code_description = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
|
|
1399
1400
|
var acs_encoder_removed = common_acs_encoder_error.extend({
|
|
1400
|
-
error_code: zod.z.literal("acs_encoder_removed").describe(error_code_description)
|
|
1401
|
-
_event_id: zod.z.string().uuid().describe(
|
|
1402
|
-
"ID of the event that was created when the `acs_encoder` was removed."
|
|
1403
|
-
)
|
|
1401
|
+
error_code: zod.z.literal("acs_encoder_removed").describe(error_code_description)
|
|
1404
1402
|
});
|
|
1405
1403
|
var acs_encoder_error = (
|
|
1406
1404
|
// z.union([
|
|
@@ -1547,14 +1545,16 @@ var salto_ks_subscription_limit_almost_reached = common_acs_system_warning.exten
|
|
|
1547
1545
|
var time_zone_does_not_match_location = common_acs_system_warning.extend({
|
|
1548
1546
|
warning_code: zod.z.literal("time_zone_does_not_match_location").describe(
|
|
1549
1547
|
"Indicates the ACS system time zone could not be determined because the reported physical location does not match the time zone configured on the physical ACS entrances."
|
|
1550
|
-
)
|
|
1548
|
+
),
|
|
1549
|
+
misconfigured_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional()
|
|
1551
1550
|
});
|
|
1552
1551
|
var acs_system_warning = zod.z.union([
|
|
1553
1552
|
salto_ks_subscription_limit_almost_reached,
|
|
1554
1553
|
time_zone_does_not_match_location
|
|
1555
1554
|
]).describe("Warning associated with the `acs_system`.");
|
|
1556
1555
|
zod.z.object({
|
|
1557
|
-
salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.optional().nullable()
|
|
1556
|
+
salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.optional().nullable(),
|
|
1557
|
+
time_zone_does_not_match_location: time_zone_does_not_match_location.optional().nullable()
|
|
1558
1558
|
});
|
|
1559
1559
|
var acs_system = zod.z.object({
|
|
1560
1560
|
default_credential_manager_acs_system_id: zod.z.string().uuid().nullable().optional().describe(
|
|
@@ -1735,7 +1735,7 @@ var common_acs_user = zod.z.object({
|
|
|
1735
1735
|
external_type_display_name: zod.z.string().optional().describe(
|
|
1736
1736
|
"Display name that corresponds to the brand-specific terminology for the `acs_user` type."
|
|
1737
1737
|
),
|
|
1738
|
-
is_suspended: zod.z.boolean().describe(
|
|
1738
|
+
is_suspended: zod.z.boolean().optional().describe(
|
|
1739
1739
|
"Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users)."
|
|
1740
1740
|
),
|
|
1741
1741
|
access_schedule: schedule.optional().describe(
|
|
@@ -3427,7 +3427,8 @@ var openapi_default = {
|
|
|
3427
3427
|
inner_access_points_names: {
|
|
3428
3428
|
items: { type: "string" },
|
|
3429
3429
|
type: "array"
|
|
3430
|
-
}
|
|
3430
|
+
},
|
|
3431
|
+
lease_ids: { items: { type: "string" }, type: "array" }
|
|
3431
3432
|
},
|
|
3432
3433
|
required: ["access_point_name"],
|
|
3433
3434
|
type: "object"
|
|
@@ -3836,6 +3837,10 @@ var openapi_default = {
|
|
|
3836
3837
|
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
3837
3838
|
type: "string"
|
|
3838
3839
|
},
|
|
3840
|
+
misconfigured_acs_entrance_ids: {
|
|
3841
|
+
items: { format: "uuid", type: "string" },
|
|
3842
|
+
type: "array"
|
|
3843
|
+
},
|
|
3839
3844
|
warning_code: {
|
|
3840
3845
|
description: "Indicates the ACS system time zone could not be determined because the reported physical location does not match the time zone configured on the physical ACS entrances.",
|
|
3841
3846
|
enum: ["time_zone_does_not_match_location"],
|
|
@@ -4133,7 +4138,6 @@ var openapi_default = {
|
|
|
4133
4138
|
"workspace_id",
|
|
4134
4139
|
"created_at",
|
|
4135
4140
|
"display_name",
|
|
4136
|
-
"is_suspended",
|
|
4137
4141
|
"warnings",
|
|
4138
4142
|
"errors",
|
|
4139
4143
|
"is_managed"
|
|
@@ -16702,11 +16706,6 @@ var openapi_default = {
|
|
|
16702
16706
|
items: {
|
|
16703
16707
|
description: "Error associated with the `acs_encoder`.",
|
|
16704
16708
|
properties: {
|
|
16705
|
-
_event_id: {
|
|
16706
|
-
description: "ID of the event that was created when the `acs_encoder` was removed.",
|
|
16707
|
-
format: "uuid",
|
|
16708
|
-
type: "string"
|
|
16709
|
-
},
|
|
16710
16709
|
created_at: {
|
|
16711
16710
|
description: "Date and time at which Seam created the error.",
|
|
16712
16711
|
format: "date-time",
|
|
@@ -16722,12 +16721,7 @@ var openapi_default = {
|
|
|
16722
16721
|
type: "string"
|
|
16723
16722
|
}
|
|
16724
16723
|
},
|
|
16725
|
-
required: [
|
|
16726
|
-
"created_at",
|
|
16727
|
-
"message",
|
|
16728
|
-
"error_code",
|
|
16729
|
-
"_event_id"
|
|
16730
|
-
],
|
|
16724
|
+
required: ["created_at", "message", "error_code"],
|
|
16731
16725
|
type: "object"
|
|
16732
16726
|
},
|
|
16733
16727
|
type: "array"
|
|
@@ -18400,7 +18394,6 @@ var openapi_default = {
|
|
|
18400
18394
|
"workspace_id",
|
|
18401
18395
|
"created_at",
|
|
18402
18396
|
"display_name",
|
|
18403
|
-
"is_suspended",
|
|
18404
18397
|
"warnings",
|
|
18405
18398
|
"errors",
|
|
18406
18399
|
"is_managed"
|
|
@@ -18760,7 +18753,6 @@ var openapi_default = {
|
|
|
18760
18753
|
"workspace_id",
|
|
18761
18754
|
"created_at",
|
|
18762
18755
|
"display_name",
|
|
18763
|
-
"is_suspended",
|
|
18764
18756
|
"warnings",
|
|
18765
18757
|
"errors",
|
|
18766
18758
|
"is_managed"
|
|
@@ -25903,7 +25895,8 @@ var openapi_default = {
|
|
|
25903
25895
|
summary: "/user_identities/update",
|
|
25904
25896
|
tags: ["/user_identities"],
|
|
25905
25897
|
"x-fern-ignore": true,
|
|
25906
|
-
"x-response-key": null
|
|
25898
|
+
"x-response-key": null,
|
|
25899
|
+
"x-title": "Update a User Identity"
|
|
25907
25900
|
},
|
|
25908
25901
|
post: {
|
|
25909
25902
|
operationId: "userIdentitiesUpdatePost",
|
|
@@ -25967,7 +25960,8 @@ var openapi_default = {
|
|
|
25967
25960
|
tags: ["/user_identities"],
|
|
25968
25961
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
25969
25962
|
"x-fern-sdk-method-name": "update",
|
|
25970
|
-
"x-response-key": null
|
|
25963
|
+
"x-response-key": null,
|
|
25964
|
+
"x-title": "Update a User Identity"
|
|
25971
25965
|
}
|
|
25972
25966
|
},
|
|
25973
25967
|
"/webhooks/create": {
|