@seamapi/types 1.329.1 → 1.331.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 +89 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +194 -124
- package/lib/seam/connect/models/acs/acs-credential.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-credential.js +2 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- 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/models/action-attempts/action-attempt.d.ts +24 -24
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +10 -10
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -14
- package/lib/seam/connect/openapi.js +67 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +122 -94
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +2 -0
- package/src/lib/seam/connect/models/acs/acs-user.ts +17 -1
- package/src/lib/seam/connect/openapi.ts +70 -0
- package/src/lib/seam/connect/route-types.ts +223 -0
package/dist/connect.cjs
CHANGED
|
@@ -1366,7 +1366,9 @@ var acs_credential_external_type = zod.z.enum([
|
|
|
1366
1366
|
"brivo_credential",
|
|
1367
1367
|
"hid_credential",
|
|
1368
1368
|
"visionline_card",
|
|
1369
|
-
"salto_ks_credential"
|
|
1369
|
+
"salto_ks_credential",
|
|
1370
|
+
"assa_abloy_vostio_card",
|
|
1371
|
+
"assa_abloy_vostio_mobile_key"
|
|
1370
1372
|
]);
|
|
1371
1373
|
var acs_credential_access_method_type = zod.z.enum([
|
|
1372
1374
|
"code",
|
|
@@ -1829,11 +1831,21 @@ var acs_users_salto_ks_user_not_subscribed = common_acs_user_warning.extend({
|
|
|
1829
1831
|
}).describe(
|
|
1830
1832
|
`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
1833
|
);
|
|
1834
|
+
var unknown_issue_with_acs_user = common_acs_user_warning.extend({
|
|
1835
|
+
warning_code: zod.z.literal("unknown_issue_with_acs_user")
|
|
1836
|
+
}).describe(
|
|
1837
|
+
"An unknown issue occurred while syncing the state of this user with the provider. This issue may affect the proper functioning of this user."
|
|
1838
|
+
);
|
|
1832
1839
|
zod.z.object({
|
|
1833
1840
|
being_deleted: acs_users_being_deleted.optional().nullable(),
|
|
1834
|
-
salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed.optional().nullable()
|
|
1841
|
+
salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed.optional().nullable(),
|
|
1842
|
+
unknown_issue_with_acs_user: unknown_issue_with_acs_user.optional().nullable()
|
|
1835
1843
|
});
|
|
1836
|
-
var acs_users_warnings = zod.z.union([
|
|
1844
|
+
var acs_users_warnings = zod.z.union([
|
|
1845
|
+
acs_users_being_deleted,
|
|
1846
|
+
acs_users_salto_ks_user_not_subscribed,
|
|
1847
|
+
unknown_issue_with_acs_user
|
|
1848
|
+
]).describe("Warning associated with the `acs_user`.");
|
|
1837
1849
|
var common_acs_user_modification = zod.z.object({
|
|
1838
1850
|
created_at: zod.z.string().datetime().describe("Date and time at which this modification was requested."),
|
|
1839
1851
|
message: zod.z.string().describe("Detailed description of the modification.")
|
|
@@ -3824,7 +3836,9 @@ var openapi_default = {
|
|
|
3824
3836
|
"brivo_credential",
|
|
3825
3837
|
"hid_credential",
|
|
3826
3838
|
"visionline_card",
|
|
3827
|
-
"salto_ks_credential"
|
|
3839
|
+
"salto_ks_credential",
|
|
3840
|
+
"assa_abloy_vostio_card",
|
|
3841
|
+
"assa_abloy_vostio_mobile_key"
|
|
3828
3842
|
],
|
|
3829
3843
|
type: "string"
|
|
3830
3844
|
},
|
|
@@ -4819,6 +4833,19 @@ var openapi_default = {
|
|
|
4819
4833
|
},
|
|
4820
4834
|
required: ["created_at", "message", "warning_code"],
|
|
4821
4835
|
type: "object"
|
|
4836
|
+
},
|
|
4837
|
+
{
|
|
4838
|
+
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.",
|
|
4839
|
+
properties: {
|
|
4840
|
+
created_at: { format: "date-time", type: "string" },
|
|
4841
|
+
message: { type: "string" },
|
|
4842
|
+
warning_code: {
|
|
4843
|
+
enum: ["unknown_issue_with_acs_user"],
|
|
4844
|
+
type: "string"
|
|
4845
|
+
}
|
|
4846
|
+
},
|
|
4847
|
+
required: ["created_at", "message", "warning_code"],
|
|
4848
|
+
type: "object"
|
|
4822
4849
|
}
|
|
4823
4850
|
]
|
|
4824
4851
|
},
|
|
@@ -5181,7 +5208,9 @@ var openapi_default = {
|
|
|
5181
5208
|
"brivo_credential",
|
|
5182
5209
|
"hid_credential",
|
|
5183
5210
|
"visionline_card",
|
|
5184
|
-
"salto_ks_credential"
|
|
5211
|
+
"salto_ks_credential",
|
|
5212
|
+
"assa_abloy_vostio_card",
|
|
5213
|
+
"assa_abloy_vostio_mobile_key"
|
|
5185
5214
|
],
|
|
5186
5215
|
type: "string"
|
|
5187
5216
|
},
|
|
@@ -5497,7 +5526,9 @@ var openapi_default = {
|
|
|
5497
5526
|
"brivo_credential",
|
|
5498
5527
|
"hid_credential",
|
|
5499
5528
|
"visionline_card",
|
|
5500
|
-
"salto_ks_credential"
|
|
5529
|
+
"salto_ks_credential",
|
|
5530
|
+
"assa_abloy_vostio_card",
|
|
5531
|
+
"assa_abloy_vostio_mobile_key"
|
|
5501
5532
|
],
|
|
5502
5533
|
type: "string"
|
|
5503
5534
|
},
|
|
@@ -5944,7 +5975,9 @@ var openapi_default = {
|
|
|
5944
5975
|
"brivo_credential",
|
|
5945
5976
|
"hid_credential",
|
|
5946
5977
|
"visionline_card",
|
|
5947
|
-
"salto_ks_credential"
|
|
5978
|
+
"salto_ks_credential",
|
|
5979
|
+
"assa_abloy_vostio_card",
|
|
5980
|
+
"assa_abloy_vostio_mobile_key"
|
|
5948
5981
|
],
|
|
5949
5982
|
type: "string"
|
|
5950
5983
|
},
|
|
@@ -6258,7 +6291,9 @@ var openapi_default = {
|
|
|
6258
6291
|
"brivo_credential",
|
|
6259
6292
|
"hid_credential",
|
|
6260
6293
|
"visionline_card",
|
|
6261
|
-
"salto_ks_credential"
|
|
6294
|
+
"salto_ks_credential",
|
|
6295
|
+
"assa_abloy_vostio_card",
|
|
6296
|
+
"assa_abloy_vostio_mobile_key"
|
|
6262
6297
|
],
|
|
6263
6298
|
type: "string"
|
|
6264
6299
|
},
|
|
@@ -17565,7 +17600,9 @@ var openapi_default = {
|
|
|
17565
17600
|
"brivo_credential",
|
|
17566
17601
|
"hid_credential",
|
|
17567
17602
|
"visionline_card",
|
|
17568
|
-
"salto_ks_credential"
|
|
17603
|
+
"salto_ks_credential",
|
|
17604
|
+
"assa_abloy_vostio_card",
|
|
17605
|
+
"assa_abloy_vostio_mobile_key"
|
|
17569
17606
|
],
|
|
17570
17607
|
type: "string"
|
|
17571
17608
|
},
|
|
@@ -17976,7 +18013,9 @@ var openapi_default = {
|
|
|
17976
18013
|
"brivo_credential",
|
|
17977
18014
|
"hid_credential",
|
|
17978
18015
|
"visionline_card",
|
|
17979
|
-
"salto_ks_credential"
|
|
18016
|
+
"salto_ks_credential",
|
|
18017
|
+
"assa_abloy_vostio_card",
|
|
18018
|
+
"assa_abloy_vostio_mobile_key"
|
|
17980
18019
|
],
|
|
17981
18020
|
type: "string"
|
|
17982
18021
|
},
|
|
@@ -20260,6 +20299,26 @@ var openapi_default = {
|
|
|
20260
20299
|
"warning_code"
|
|
20261
20300
|
],
|
|
20262
20301
|
type: "object"
|
|
20302
|
+
},
|
|
20303
|
+
{
|
|
20304
|
+
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.",
|
|
20305
|
+
properties: {
|
|
20306
|
+
created_at: {
|
|
20307
|
+
format: "date-time",
|
|
20308
|
+
type: "string"
|
|
20309
|
+
},
|
|
20310
|
+
message: { type: "string" },
|
|
20311
|
+
warning_code: {
|
|
20312
|
+
enum: ["unknown_issue_with_acs_user"],
|
|
20313
|
+
type: "string"
|
|
20314
|
+
}
|
|
20315
|
+
},
|
|
20316
|
+
required: [
|
|
20317
|
+
"created_at",
|
|
20318
|
+
"message",
|
|
20319
|
+
"warning_code"
|
|
20320
|
+
],
|
|
20321
|
+
type: "object"
|
|
20263
20322
|
}
|
|
20264
20323
|
]
|
|
20265
20324
|
},
|
|
@@ -20621,6 +20680,26 @@ var openapi_default = {
|
|
|
20621
20680
|
"warning_code"
|
|
20622
20681
|
],
|
|
20623
20682
|
type: "object"
|
|
20683
|
+
},
|
|
20684
|
+
{
|
|
20685
|
+
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.",
|
|
20686
|
+
properties: {
|
|
20687
|
+
created_at: {
|
|
20688
|
+
format: "date-time",
|
|
20689
|
+
type: "string"
|
|
20690
|
+
},
|
|
20691
|
+
message: { type: "string" },
|
|
20692
|
+
warning_code: {
|
|
20693
|
+
enum: ["unknown_issue_with_acs_user"],
|
|
20694
|
+
type: "string"
|
|
20695
|
+
}
|
|
20696
|
+
},
|
|
20697
|
+
required: [
|
|
20698
|
+
"created_at",
|
|
20699
|
+
"message",
|
|
20700
|
+
"warning_code"
|
|
20701
|
+
],
|
|
20702
|
+
type: "object"
|
|
20624
20703
|
}
|
|
20625
20704
|
]
|
|
20626
20705
|
},
|