@seamapi/types 1.329.1 → 1.330.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 +65 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +70 -0
- package/lib/seam/connect/models/acs/acs-user.d.ts +93 -0
- package/lib/seam/connect/models/acs/acs-user.js +14 -1
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/openapi.js +53 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +28 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-user.ts +17 -1
- package/src/lib/seam/connect/openapi.ts +56 -0
- package/src/lib/seam/connect/route-types.ts +35 -0
package/dist/connect.cjs
CHANGED
|
@@ -1829,11 +1829,21 @@ var acs_users_salto_ks_user_not_subscribed = common_acs_user_warning.extend({
|
|
|
1829
1829
|
}).describe(
|
|
1830
1830
|
`Indicates that the user is not subscribed on the Salto KS, so they cannot unlock doors or perform any actions. This occur when the their access schedule hasn\u2019t started yet, or if their access schedule has ended, or if the site has reached its limit for active users (subscription slots), or if they have been manually unsubscribed.`
|
|
1831
1831
|
);
|
|
1832
|
+
var unknown_issue_with_acs_user = common_acs_user_warning.extend({
|
|
1833
|
+
warning_code: zod.z.literal("unknown_issue_with_acs_user")
|
|
1834
|
+
}).describe(
|
|
1835
|
+
"An unknown issue occurred while syncing the state of this user with the provider. This issue may affect the proper functioning of this user."
|
|
1836
|
+
);
|
|
1832
1837
|
zod.z.object({
|
|
1833
1838
|
being_deleted: acs_users_being_deleted.optional().nullable(),
|
|
1834
|
-
salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed.optional().nullable()
|
|
1839
|
+
salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed.optional().nullable(),
|
|
1840
|
+
unknown_issue_with_acs_user: unknown_issue_with_acs_user.optional().nullable()
|
|
1835
1841
|
});
|
|
1836
|
-
var acs_users_warnings = zod.z.union([
|
|
1842
|
+
var acs_users_warnings = zod.z.union([
|
|
1843
|
+
acs_users_being_deleted,
|
|
1844
|
+
acs_users_salto_ks_user_not_subscribed,
|
|
1845
|
+
unknown_issue_with_acs_user
|
|
1846
|
+
]).describe("Warning associated with the `acs_user`.");
|
|
1837
1847
|
var common_acs_user_modification = zod.z.object({
|
|
1838
1848
|
created_at: zod.z.string().datetime().describe("Date and time at which this modification was requested."),
|
|
1839
1849
|
message: zod.z.string().describe("Detailed description of the modification.")
|
|
@@ -4819,6 +4829,19 @@ var openapi_default = {
|
|
|
4819
4829
|
},
|
|
4820
4830
|
required: ["created_at", "message", "warning_code"],
|
|
4821
4831
|
type: "object"
|
|
4832
|
+
},
|
|
4833
|
+
{
|
|
4834
|
+
description: "An unknown issue occurred while syncing the state of this user with the provider. This issue may affect the proper functioning of this user.",
|
|
4835
|
+
properties: {
|
|
4836
|
+
created_at: { format: "date-time", type: "string" },
|
|
4837
|
+
message: { type: "string" },
|
|
4838
|
+
warning_code: {
|
|
4839
|
+
enum: ["unknown_issue_with_acs_user"],
|
|
4840
|
+
type: "string"
|
|
4841
|
+
}
|
|
4842
|
+
},
|
|
4843
|
+
required: ["created_at", "message", "warning_code"],
|
|
4844
|
+
type: "object"
|
|
4822
4845
|
}
|
|
4823
4846
|
]
|
|
4824
4847
|
},
|
|
@@ -20260,6 +20283,26 @@ var openapi_default = {
|
|
|
20260
20283
|
"warning_code"
|
|
20261
20284
|
],
|
|
20262
20285
|
type: "object"
|
|
20286
|
+
},
|
|
20287
|
+
{
|
|
20288
|
+
description: "An unknown issue occurred while syncing the state of this user with the provider. This issue may affect the proper functioning of this user.",
|
|
20289
|
+
properties: {
|
|
20290
|
+
created_at: {
|
|
20291
|
+
format: "date-time",
|
|
20292
|
+
type: "string"
|
|
20293
|
+
},
|
|
20294
|
+
message: { type: "string" },
|
|
20295
|
+
warning_code: {
|
|
20296
|
+
enum: ["unknown_issue_with_acs_user"],
|
|
20297
|
+
type: "string"
|
|
20298
|
+
}
|
|
20299
|
+
},
|
|
20300
|
+
required: [
|
|
20301
|
+
"created_at",
|
|
20302
|
+
"message",
|
|
20303
|
+
"warning_code"
|
|
20304
|
+
],
|
|
20305
|
+
type: "object"
|
|
20263
20306
|
}
|
|
20264
20307
|
]
|
|
20265
20308
|
},
|
|
@@ -20621,6 +20664,26 @@ var openapi_default = {
|
|
|
20621
20664
|
"warning_code"
|
|
20622
20665
|
],
|
|
20623
20666
|
type: "object"
|
|
20667
|
+
},
|
|
20668
|
+
{
|
|
20669
|
+
description: "An unknown issue occurred while syncing the state of this user with the provider. This issue may affect the proper functioning of this user.",
|
|
20670
|
+
properties: {
|
|
20671
|
+
created_at: {
|
|
20672
|
+
format: "date-time",
|
|
20673
|
+
type: "string"
|
|
20674
|
+
},
|
|
20675
|
+
message: { type: "string" },
|
|
20676
|
+
warning_code: {
|
|
20677
|
+
enum: ["unknown_issue_with_acs_user"],
|
|
20678
|
+
type: "string"
|
|
20679
|
+
}
|
|
20680
|
+
},
|
|
20681
|
+
required: [
|
|
20682
|
+
"created_at",
|
|
20683
|
+
"message",
|
|
20684
|
+
"warning_code"
|
|
20685
|
+
],
|
|
20686
|
+
type: "object"
|
|
20624
20687
|
}
|
|
20625
20688
|
]
|
|
20626
20689
|
},
|