@seamapi/types 1.968.0 → 1.969.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 +47 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +96 -0
- package/dist/index.cjs +47 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +93 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +7 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/openapi.js +40 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +54 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +10 -0
- package/src/lib/seam/connect/openapi.ts +46 -0
- package/src/lib/seam/connect/route-types.ts +63 -0
package/dist/connect.cjs
CHANGED
|
@@ -4645,6 +4645,11 @@ var acs_users_salto_ks_user_not_subscribed = common_acs_user_warning.extend({
|
|
|
4645
4645
|
}).describe(
|
|
4646
4646
|
"Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) is not subscribed on Salto KS, so they cannot unlock doors or perform any actions. This occurs when the their access schedule hasn\u2019t started yet, if their access schedule has ended, if the site has reached its limit for active users (subscription slots), or if they have been manually unsubscribed."
|
|
4647
4647
|
);
|
|
4648
|
+
var acs_user_inactive = common_acs_user_warning.extend({
|
|
4649
|
+
warning_code: zod.z.literal("acs_user_inactive")
|
|
4650
|
+
}).describe(
|
|
4651
|
+
"Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) exists but is not currently able to gain access\u2014for example, because their access schedule has not started yet or has ended, the access system has reached its limit for active users, or they have been unsubscribed or deactivated. Refer to the warning message for the provider-specific reason. This is distinct from `is_suspended`, which indicates the user has been explicitly blocked."
|
|
4652
|
+
);
|
|
4648
4653
|
var unknown_issue_with_acs_user = common_acs_user_warning.extend({
|
|
4649
4654
|
warning_code: zod.z.literal("unknown_issue_with_acs_user")
|
|
4650
4655
|
}).describe(
|
|
@@ -4658,12 +4663,14 @@ var latch_resident_user = common_acs_user_warning.extend({
|
|
|
4658
4663
|
zod.z.object({
|
|
4659
4664
|
being_deleted: acs_users_being_deleted.optional().nullable(),
|
|
4660
4665
|
salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed.optional().nullable(),
|
|
4666
|
+
acs_user_inactive: acs_user_inactive.optional().nullable(),
|
|
4661
4667
|
unknown_issue_with_acs_user: unknown_issue_with_acs_user.optional().nullable(),
|
|
4662
4668
|
latch_resident_user: latch_resident_user.optional().nullable()
|
|
4663
4669
|
});
|
|
4664
4670
|
var acs_users_warnings = zod.z.discriminatedUnion("warning_code", [
|
|
4665
4671
|
acs_users_being_deleted,
|
|
4666
4672
|
acs_users_salto_ks_user_not_subscribed,
|
|
4673
|
+
acs_user_inactive,
|
|
4667
4674
|
unknown_issue_with_acs_user,
|
|
4668
4675
|
latch_resident_user
|
|
4669
4676
|
]).describe(
|
|
@@ -12611,6 +12618,26 @@ var openapi = {
|
|
|
12611
12618
|
required: ["created_at", "message", "warning_code"],
|
|
12612
12619
|
type: "object"
|
|
12613
12620
|
},
|
|
12621
|
+
{
|
|
12622
|
+
description: "Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) exists but is not currently able to gain access\u2014for example, because their access schedule has not started yet or has ended, the access system has reached its limit for active users, or they have been unsubscribed or deactivated. Refer to the warning message for the provider-specific reason. This is distinct from `is_suspended`, which indicates the user has been explicitly blocked.",
|
|
12623
|
+
properties: {
|
|
12624
|
+
created_at: {
|
|
12625
|
+
description: "Date and time at which Seam created the warning.",
|
|
12626
|
+
format: "date-time",
|
|
12627
|
+
type: "string"
|
|
12628
|
+
},
|
|
12629
|
+
message: {
|
|
12630
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
12631
|
+
type: "string"
|
|
12632
|
+
},
|
|
12633
|
+
warning_code: {
|
|
12634
|
+
enum: ["acs_user_inactive"],
|
|
12635
|
+
type: "string"
|
|
12636
|
+
}
|
|
12637
|
+
},
|
|
12638
|
+
required: ["created_at", "message", "warning_code"],
|
|
12639
|
+
type: "object"
|
|
12640
|
+
},
|
|
12614
12641
|
{
|
|
12615
12642
|
description: "An unknown issue occurred while syncing the state of this [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) with the provider. This issue may affect the proper functioning of this user.",
|
|
12616
12643
|
properties: {
|
|
@@ -36641,6 +36668,26 @@ var openapi = {
|
|
|
36641
36668
|
required: ["created_at", "message", "warning_code"],
|
|
36642
36669
|
type: "object"
|
|
36643
36670
|
},
|
|
36671
|
+
{
|
|
36672
|
+
description: "Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) exists but is not currently able to gain access\u2014for example, because their access schedule has not started yet or has ended, the access system has reached its limit for active users, or they have been unsubscribed or deactivated. Refer to the warning message for the provider-specific reason. This is distinct from `is_suspended`, which indicates the user has been explicitly blocked.",
|
|
36673
|
+
properties: {
|
|
36674
|
+
created_at: {
|
|
36675
|
+
description: "Date and time at which Seam created the warning.",
|
|
36676
|
+
format: "date-time",
|
|
36677
|
+
type: "string"
|
|
36678
|
+
},
|
|
36679
|
+
message: {
|
|
36680
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
36681
|
+
type: "string"
|
|
36682
|
+
},
|
|
36683
|
+
warning_code: {
|
|
36684
|
+
enum: ["acs_user_inactive"],
|
|
36685
|
+
type: "string"
|
|
36686
|
+
}
|
|
36687
|
+
},
|
|
36688
|
+
required: ["created_at", "message", "warning_code"],
|
|
36689
|
+
type: "object"
|
|
36690
|
+
},
|
|
36644
36691
|
{
|
|
36645
36692
|
description: "An unknown issue occurred while syncing the state of this [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) with the provider. This issue may affect the proper functioning of this user.",
|
|
36646
36693
|
properties: {
|