@seamapi/types 1.283.0 → 1.285.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 +104 -14
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +430 -82
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +37 -4
- package/lib/seam/connect/models/acs/acs-entrance.js +2 -1
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-system.js +2 -0
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/assa_abloy_vostio.d.ts +21 -0
- package/lib/seam/connect/models/acs/metadata/assa_abloy_vostio.js +9 -0
- package/lib/seam/connect/models/acs/metadata/assa_abloy_vostio.js.map +1 -0
- 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/latch.d.ts +2 -2
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +62 -2
- package/lib/seam/connect/models/action-attempts/common.d.ts +19 -0
- package/lib/seam/connect/models/action-attempts/common.js +10 -0
- package/lib/seam/connect/models/action-attempts/common.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/encode-card.d.ts +30 -0
- package/lib/seam/connect/models/action-attempts/encode-card.js +2 -1
- package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/scan-card.d.ts +32 -2
- package/lib/seam/connect/models/action-attempts/scan-card.js +6 -2
- package/lib/seam/connect/models/action-attempts/scan-card.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +3 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +38 -60
- package/lib/seam/connect/openapi.js +70 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +285 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +3 -0
- package/src/lib/seam/connect/models/acs/acs-system.ts +2 -0
- package/src/lib/seam/connect/models/acs/metadata/assa_abloy_vostio.ts +13 -0
- package/src/lib/seam/connect/models/acs/metadata/index.ts +1 -0
- package/src/lib/seam/connect/models/action-attempts/common.ts +11 -0
- package/src/lib/seam/connect/models/action-attempts/encode-card.ts +2 -0
- package/src/lib/seam/connect/models/action-attempts/scan-card.ts +7 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/openapi.ts +70 -6
- package/src/lib/seam/connect/route-types.ts +505 -80
package/dist/connect.cjs
CHANGED
|
@@ -892,6 +892,7 @@ var device = zod.z.object({
|
|
|
892
892
|
}).merge(device_capability_flags2);
|
|
893
893
|
var DEVICE_PROVIDERS = {
|
|
894
894
|
DORMAKABA_COMMUNITY: "dormakaba_community",
|
|
895
|
+
LEGIC_CONNECT: "legic_connect",
|
|
895
896
|
AKUVOX: "akuvox",
|
|
896
897
|
AUGUST: "august",
|
|
897
898
|
AVIGILON_ALTA: "avigilon_alta",
|
|
@@ -930,7 +931,8 @@ var DEVICE_PROVIDERS = {
|
|
|
930
931
|
HONEYWELL_RESIDEO: "honeywell_resideo",
|
|
931
932
|
LATCH: "latch",
|
|
932
933
|
AKILES: "akiles",
|
|
933
|
-
VOSTIO: "assa_abloy_vostio"
|
|
934
|
+
VOSTIO: "assa_abloy_vostio",
|
|
935
|
+
VOSTIO_CREDENTIAL_SERVICE: "vostio_credential_service"
|
|
934
936
|
};
|
|
935
937
|
var ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
|
|
936
938
|
var PROVIDER_CATEGORY_MAP = {
|
|
@@ -981,7 +983,6 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
981
983
|
"pti",
|
|
982
984
|
"visionline",
|
|
983
985
|
"assa_abloy_credential_service",
|
|
984
|
-
"dormakaba_community",
|
|
985
986
|
"latch",
|
|
986
987
|
"salto"
|
|
987
988
|
],
|
|
@@ -1153,6 +1154,13 @@ var acs_access_group = common_acs_access_group.extend({
|
|
|
1153
1154
|
var unmanaged_acs_access_group = common_acs_access_group.extend({
|
|
1154
1155
|
is_managed: zod.z.literal(false)
|
|
1155
1156
|
});
|
|
1157
|
+
var acs_entrance_assa_abloy_vostio_metadata = zod.z.object({
|
|
1158
|
+
door_type: zod.z.enum(["CommonDoor", "EntranceDoor", "GuestDoor", "Elevator"]),
|
|
1159
|
+
door_name: zod.z.string(),
|
|
1160
|
+
door_number: zod.z.number().optional(),
|
|
1161
|
+
stand_open: zod.z.boolean().optional(),
|
|
1162
|
+
pms_id: zod.z.string().optional()
|
|
1163
|
+
});
|
|
1156
1164
|
var acs_entrance_dormakaba_community_metadata = zod.z.object({
|
|
1157
1165
|
access_point_name: zod.z.string()
|
|
1158
1166
|
});
|
|
@@ -1319,7 +1327,8 @@ var acs_entrance = zod.z.object({
|
|
|
1319
1327
|
latch_metadata: acs_entrance_latch_metadata.optional(),
|
|
1320
1328
|
visionline_metadata: acs_entrance_visionline_metadata.optional(),
|
|
1321
1329
|
salto_ks_metadata: acs_entrance_salto_ks_metadata.optional(),
|
|
1322
|
-
dormakaba_community_metadata: acs_entrance_dormakaba_community_metadata.optional()
|
|
1330
|
+
dormakaba_community_metadata: acs_entrance_dormakaba_community_metadata.optional(),
|
|
1331
|
+
assa_abloy_vostio_metadata: acs_entrance_assa_abloy_vostio_metadata.optional()
|
|
1323
1332
|
});
|
|
1324
1333
|
var acs_system_capability_flags = zod.z.object({
|
|
1325
1334
|
can_automate_enrollment: zod.z.boolean().optional().describe(
|
|
@@ -1345,7 +1354,9 @@ var acs_system_external_type = zod.z.enum([
|
|
|
1345
1354
|
"assa_abloy_credential_service",
|
|
1346
1355
|
"latch_building",
|
|
1347
1356
|
"dormakaba_community",
|
|
1348
|
-
"
|
|
1357
|
+
"legic_connect",
|
|
1358
|
+
"assa_abloy_vostio",
|
|
1359
|
+
"vostio_credential_service"
|
|
1349
1360
|
]);
|
|
1350
1361
|
var common_acs_system_error = zod.z.object({
|
|
1351
1362
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
|
|
@@ -1639,6 +1650,16 @@ var common_failed_action_attempt = common_action_attempt.extend({
|
|
|
1639
1650
|
status: zod.z.literal("error"),
|
|
1640
1651
|
result: zod.z.null()
|
|
1641
1652
|
});
|
|
1653
|
+
var common_action_attempt_errors = [
|
|
1654
|
+
zod.z.object({
|
|
1655
|
+
type: zod.z.literal("uncategorized_error"),
|
|
1656
|
+
message: zod.z.string()
|
|
1657
|
+
}),
|
|
1658
|
+
zod.z.object({
|
|
1659
|
+
type: zod.z.literal("action_attempt_expired"),
|
|
1660
|
+
message: zod.z.string()
|
|
1661
|
+
})
|
|
1662
|
+
];
|
|
1642
1663
|
|
|
1643
1664
|
// src/lib/seam/connect/models/action-attempts/activate-climate-preset.ts
|
|
1644
1665
|
var action_type = zod.z.literal("ACTIVATE_CLIMATE_PRESET");
|
|
@@ -1783,6 +1804,7 @@ var incompatible_card_format_error = zod.z.object({
|
|
|
1783
1804
|
message: zod.z.string()
|
|
1784
1805
|
});
|
|
1785
1806
|
var error3 = zod.z.union([
|
|
1807
|
+
...common_action_attempt_errors,
|
|
1786
1808
|
no_card_on_encoder_error,
|
|
1787
1809
|
incompatible_card_format_error
|
|
1788
1810
|
]);
|
|
@@ -1836,10 +1858,14 @@ var reset_sandbox_workspace_action_attempt = zod.z.discriminatedUnion(
|
|
|
1836
1858
|
]
|
|
1837
1859
|
);
|
|
1838
1860
|
var action_type5 = zod.z.literal("SCAN_CARD");
|
|
1839
|
-
var
|
|
1861
|
+
var no_card_on_encoder_error2 = zod.z.object({
|
|
1840
1862
|
type: zod.z.literal("no_card_on_encoder"),
|
|
1841
1863
|
message: zod.z.string()
|
|
1842
1864
|
});
|
|
1865
|
+
var error6 = zod.z.union([
|
|
1866
|
+
...common_action_attempt_errors,
|
|
1867
|
+
no_card_on_encoder_error2
|
|
1868
|
+
]);
|
|
1843
1869
|
var warning = zod.z.object({
|
|
1844
1870
|
warning_code: zod.z.literal("acs_credential_on_encoder_out_of_sync"),
|
|
1845
1871
|
warning_message: zod.z.string()
|
|
@@ -3087,6 +3113,20 @@ var openapi_default = {
|
|
|
3087
3113
|
format: "uuid",
|
|
3088
3114
|
type: "string"
|
|
3089
3115
|
},
|
|
3116
|
+
assa_abloy_vostio_metadata: {
|
|
3117
|
+
properties: {
|
|
3118
|
+
door_name: { type: "string" },
|
|
3119
|
+
door_number: { format: "float", type: "number" },
|
|
3120
|
+
door_type: {
|
|
3121
|
+
enum: ["CommonDoor", "EntranceDoor", "GuestDoor", "Elevator"],
|
|
3122
|
+
type: "string"
|
|
3123
|
+
},
|
|
3124
|
+
pms_id: { type: "string" },
|
|
3125
|
+
stand_open: { type: "boolean" }
|
|
3126
|
+
},
|
|
3127
|
+
required: ["door_type", "door_name"],
|
|
3128
|
+
type: "object"
|
|
3129
|
+
},
|
|
3090
3130
|
created_at: {
|
|
3091
3131
|
description: "Date and time at which the entrance was created.",
|
|
3092
3132
|
format: "date-time",
|
|
@@ -3358,7 +3398,9 @@ var openapi_default = {
|
|
|
3358
3398
|
"assa_abloy_credential_service",
|
|
3359
3399
|
"latch_building",
|
|
3360
3400
|
"dormakaba_community",
|
|
3361
|
-
"
|
|
3401
|
+
"legic_connect",
|
|
3402
|
+
"assa_abloy_vostio",
|
|
3403
|
+
"vostio_credential_service"
|
|
3362
3404
|
],
|
|
3363
3405
|
type: "string"
|
|
3364
3406
|
},
|
|
@@ -3391,7 +3433,9 @@ var openapi_default = {
|
|
|
3391
3433
|
"assa_abloy_credential_service",
|
|
3392
3434
|
"latch_building",
|
|
3393
3435
|
"dormakaba_community",
|
|
3394
|
-
"
|
|
3436
|
+
"legic_connect",
|
|
3437
|
+
"assa_abloy_vostio",
|
|
3438
|
+
"vostio_credential_service"
|
|
3395
3439
|
],
|
|
3396
3440
|
type: "string",
|
|
3397
3441
|
"x-deprecated": "Use `external_type`."
|
|
@@ -4358,12 +4402,35 @@ var openapi_default = {
|
|
|
4358
4402
|
},
|
|
4359
4403
|
action_type: { enum: ["SCAN_CARD"], type: "string" },
|
|
4360
4404
|
error: {
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4405
|
+
oneOf: [
|
|
4406
|
+
{
|
|
4407
|
+
properties: {
|
|
4408
|
+
message: { type: "string" },
|
|
4409
|
+
type: { enum: ["uncategorized_error"], type: "string" }
|
|
4410
|
+
},
|
|
4411
|
+
required: ["type", "message"],
|
|
4412
|
+
type: "object"
|
|
4413
|
+
},
|
|
4414
|
+
{
|
|
4415
|
+
properties: {
|
|
4416
|
+
message: { type: "string" },
|
|
4417
|
+
type: {
|
|
4418
|
+
enum: ["action_attempt_expired"],
|
|
4419
|
+
type: "string"
|
|
4420
|
+
}
|
|
4421
|
+
},
|
|
4422
|
+
required: ["type", "message"],
|
|
4423
|
+
type: "object"
|
|
4424
|
+
},
|
|
4425
|
+
{
|
|
4426
|
+
properties: {
|
|
4427
|
+
message: { type: "string" },
|
|
4428
|
+
type: { enum: ["no_card_on_encoder"], type: "string" }
|
|
4429
|
+
},
|
|
4430
|
+
required: ["type", "message"],
|
|
4431
|
+
type: "object"
|
|
4432
|
+
}
|
|
4433
|
+
]
|
|
4367
4434
|
},
|
|
4368
4435
|
result: { nullable: true },
|
|
4369
4436
|
status: { enum: ["error"], type: "string" }
|
|
@@ -4757,6 +4824,25 @@ var openapi_default = {
|
|
|
4757
4824
|
action_type: { enum: ["ENCODE_CARD"], type: "string" },
|
|
4758
4825
|
error: {
|
|
4759
4826
|
oneOf: [
|
|
4827
|
+
{
|
|
4828
|
+
properties: {
|
|
4829
|
+
message: { type: "string" },
|
|
4830
|
+
type: { enum: ["uncategorized_error"], type: "string" }
|
|
4831
|
+
},
|
|
4832
|
+
required: ["type", "message"],
|
|
4833
|
+
type: "object"
|
|
4834
|
+
},
|
|
4835
|
+
{
|
|
4836
|
+
properties: {
|
|
4837
|
+
message: { type: "string" },
|
|
4838
|
+
type: {
|
|
4839
|
+
enum: ["action_attempt_expired"],
|
|
4840
|
+
type: "string"
|
|
4841
|
+
}
|
|
4842
|
+
},
|
|
4843
|
+
required: ["type", "message"],
|
|
4844
|
+
type: "object"
|
|
4845
|
+
},
|
|
4760
4846
|
{
|
|
4761
4847
|
properties: {
|
|
4762
4848
|
message: { type: "string" },
|
|
@@ -7300,6 +7386,7 @@ var openapi_default = {
|
|
|
7300
7386
|
device_provider_name: {
|
|
7301
7387
|
enum: [
|
|
7302
7388
|
"dormakaba_community",
|
|
7389
|
+
"legic_connect",
|
|
7303
7390
|
"akuvox",
|
|
7304
7391
|
"august",
|
|
7305
7392
|
"avigilon_alta",
|
|
@@ -7338,7 +7425,8 @@ var openapi_default = {
|
|
|
7338
7425
|
"honeywell_resideo",
|
|
7339
7426
|
"latch",
|
|
7340
7427
|
"akiles",
|
|
7341
|
-
"assa_abloy_vostio"
|
|
7428
|
+
"assa_abloy_vostio",
|
|
7429
|
+
"vostio_credential_service"
|
|
7342
7430
|
],
|
|
7343
7431
|
type: "string"
|
|
7344
7432
|
},
|
|
@@ -14140,6 +14228,7 @@ var openapi_default = {
|
|
|
14140
14228
|
items: {
|
|
14141
14229
|
enum: [
|
|
14142
14230
|
"dormakaba_community",
|
|
14231
|
+
"legic_connect",
|
|
14143
14232
|
"akuvox",
|
|
14144
14233
|
"august",
|
|
14145
14234
|
"avigilon_alta",
|
|
@@ -14179,6 +14268,7 @@ var openapi_default = {
|
|
|
14179
14268
|
"latch",
|
|
14180
14269
|
"akiles",
|
|
14181
14270
|
"assa_abloy_vostio",
|
|
14271
|
+
"vostio_credential_service",
|
|
14182
14272
|
"yale_access",
|
|
14183
14273
|
"hid_cm",
|
|
14184
14274
|
"google_nest"
|