@seamapi/types 1.283.0 → 1.284.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 +81 -13
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +335 -78
- 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/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 +15 -60
- package/lib/seam/connect/openapi.js +56 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +250 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +2 -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 +56 -6
- package/src/lib/seam/connect/route-types.ts +440 -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
|
],
|
|
@@ -1345,7 +1346,9 @@ var acs_system_external_type = zod.z.enum([
|
|
|
1345
1346
|
"assa_abloy_credential_service",
|
|
1346
1347
|
"latch_building",
|
|
1347
1348
|
"dormakaba_community",
|
|
1348
|
-
"
|
|
1349
|
+
"legic_connect",
|
|
1350
|
+
"assa_abloy_vostio",
|
|
1351
|
+
"vostio_credential_service"
|
|
1349
1352
|
]);
|
|
1350
1353
|
var common_acs_system_error = zod.z.object({
|
|
1351
1354
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
|
|
@@ -1639,6 +1642,16 @@ var common_failed_action_attempt = common_action_attempt.extend({
|
|
|
1639
1642
|
status: zod.z.literal("error"),
|
|
1640
1643
|
result: zod.z.null()
|
|
1641
1644
|
});
|
|
1645
|
+
var common_action_attempt_errors = [
|
|
1646
|
+
zod.z.object({
|
|
1647
|
+
type: zod.z.literal("uncategorized_error"),
|
|
1648
|
+
message: zod.z.string()
|
|
1649
|
+
}),
|
|
1650
|
+
zod.z.object({
|
|
1651
|
+
type: zod.z.literal("action_attempt_expired"),
|
|
1652
|
+
message: zod.z.string()
|
|
1653
|
+
})
|
|
1654
|
+
];
|
|
1642
1655
|
|
|
1643
1656
|
// src/lib/seam/connect/models/action-attempts/activate-climate-preset.ts
|
|
1644
1657
|
var action_type = zod.z.literal("ACTIVATE_CLIMATE_PRESET");
|
|
@@ -1783,6 +1796,7 @@ var incompatible_card_format_error = zod.z.object({
|
|
|
1783
1796
|
message: zod.z.string()
|
|
1784
1797
|
});
|
|
1785
1798
|
var error3 = zod.z.union([
|
|
1799
|
+
...common_action_attempt_errors,
|
|
1786
1800
|
no_card_on_encoder_error,
|
|
1787
1801
|
incompatible_card_format_error
|
|
1788
1802
|
]);
|
|
@@ -1836,10 +1850,14 @@ var reset_sandbox_workspace_action_attempt = zod.z.discriminatedUnion(
|
|
|
1836
1850
|
]
|
|
1837
1851
|
);
|
|
1838
1852
|
var action_type5 = zod.z.literal("SCAN_CARD");
|
|
1839
|
-
var
|
|
1853
|
+
var no_card_on_encoder_error2 = zod.z.object({
|
|
1840
1854
|
type: zod.z.literal("no_card_on_encoder"),
|
|
1841
1855
|
message: zod.z.string()
|
|
1842
1856
|
});
|
|
1857
|
+
var error6 = zod.z.union([
|
|
1858
|
+
...common_action_attempt_errors,
|
|
1859
|
+
no_card_on_encoder_error2
|
|
1860
|
+
]);
|
|
1843
1861
|
var warning = zod.z.object({
|
|
1844
1862
|
warning_code: zod.z.literal("acs_credential_on_encoder_out_of_sync"),
|
|
1845
1863
|
warning_message: zod.z.string()
|
|
@@ -3358,7 +3376,9 @@ var openapi_default = {
|
|
|
3358
3376
|
"assa_abloy_credential_service",
|
|
3359
3377
|
"latch_building",
|
|
3360
3378
|
"dormakaba_community",
|
|
3361
|
-
"
|
|
3379
|
+
"legic_connect",
|
|
3380
|
+
"assa_abloy_vostio",
|
|
3381
|
+
"vostio_credential_service"
|
|
3362
3382
|
],
|
|
3363
3383
|
type: "string"
|
|
3364
3384
|
},
|
|
@@ -3391,7 +3411,9 @@ var openapi_default = {
|
|
|
3391
3411
|
"assa_abloy_credential_service",
|
|
3392
3412
|
"latch_building",
|
|
3393
3413
|
"dormakaba_community",
|
|
3394
|
-
"
|
|
3414
|
+
"legic_connect",
|
|
3415
|
+
"assa_abloy_vostio",
|
|
3416
|
+
"vostio_credential_service"
|
|
3395
3417
|
],
|
|
3396
3418
|
type: "string",
|
|
3397
3419
|
"x-deprecated": "Use `external_type`."
|
|
@@ -4358,12 +4380,35 @@ var openapi_default = {
|
|
|
4358
4380
|
},
|
|
4359
4381
|
action_type: { enum: ["SCAN_CARD"], type: "string" },
|
|
4360
4382
|
error: {
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4383
|
+
oneOf: [
|
|
4384
|
+
{
|
|
4385
|
+
properties: {
|
|
4386
|
+
message: { type: "string" },
|
|
4387
|
+
type: { enum: ["uncategorized_error"], type: "string" }
|
|
4388
|
+
},
|
|
4389
|
+
required: ["type", "message"],
|
|
4390
|
+
type: "object"
|
|
4391
|
+
},
|
|
4392
|
+
{
|
|
4393
|
+
properties: {
|
|
4394
|
+
message: { type: "string" },
|
|
4395
|
+
type: {
|
|
4396
|
+
enum: ["action_attempt_expired"],
|
|
4397
|
+
type: "string"
|
|
4398
|
+
}
|
|
4399
|
+
},
|
|
4400
|
+
required: ["type", "message"],
|
|
4401
|
+
type: "object"
|
|
4402
|
+
},
|
|
4403
|
+
{
|
|
4404
|
+
properties: {
|
|
4405
|
+
message: { type: "string" },
|
|
4406
|
+
type: { enum: ["no_card_on_encoder"], type: "string" }
|
|
4407
|
+
},
|
|
4408
|
+
required: ["type", "message"],
|
|
4409
|
+
type: "object"
|
|
4410
|
+
}
|
|
4411
|
+
]
|
|
4367
4412
|
},
|
|
4368
4413
|
result: { nullable: true },
|
|
4369
4414
|
status: { enum: ["error"], type: "string" }
|
|
@@ -4757,6 +4802,25 @@ var openapi_default = {
|
|
|
4757
4802
|
action_type: { enum: ["ENCODE_CARD"], type: "string" },
|
|
4758
4803
|
error: {
|
|
4759
4804
|
oneOf: [
|
|
4805
|
+
{
|
|
4806
|
+
properties: {
|
|
4807
|
+
message: { type: "string" },
|
|
4808
|
+
type: { enum: ["uncategorized_error"], type: "string" }
|
|
4809
|
+
},
|
|
4810
|
+
required: ["type", "message"],
|
|
4811
|
+
type: "object"
|
|
4812
|
+
},
|
|
4813
|
+
{
|
|
4814
|
+
properties: {
|
|
4815
|
+
message: { type: "string" },
|
|
4816
|
+
type: {
|
|
4817
|
+
enum: ["action_attempt_expired"],
|
|
4818
|
+
type: "string"
|
|
4819
|
+
}
|
|
4820
|
+
},
|
|
4821
|
+
required: ["type", "message"],
|
|
4822
|
+
type: "object"
|
|
4823
|
+
},
|
|
4760
4824
|
{
|
|
4761
4825
|
properties: {
|
|
4762
4826
|
message: { type: "string" },
|
|
@@ -7300,6 +7364,7 @@ var openapi_default = {
|
|
|
7300
7364
|
device_provider_name: {
|
|
7301
7365
|
enum: [
|
|
7302
7366
|
"dormakaba_community",
|
|
7367
|
+
"legic_connect",
|
|
7303
7368
|
"akuvox",
|
|
7304
7369
|
"august",
|
|
7305
7370
|
"avigilon_alta",
|
|
@@ -7338,7 +7403,8 @@ var openapi_default = {
|
|
|
7338
7403
|
"honeywell_resideo",
|
|
7339
7404
|
"latch",
|
|
7340
7405
|
"akiles",
|
|
7341
|
-
"assa_abloy_vostio"
|
|
7406
|
+
"assa_abloy_vostio",
|
|
7407
|
+
"vostio_credential_service"
|
|
7342
7408
|
],
|
|
7343
7409
|
type: "string"
|
|
7344
7410
|
},
|
|
@@ -14140,6 +14206,7 @@ var openapi_default = {
|
|
|
14140
14206
|
items: {
|
|
14141
14207
|
enum: [
|
|
14142
14208
|
"dormakaba_community",
|
|
14209
|
+
"legic_connect",
|
|
14143
14210
|
"akuvox",
|
|
14144
14211
|
"august",
|
|
14145
14212
|
"avigilon_alta",
|
|
@@ -14179,6 +14246,7 @@ var openapi_default = {
|
|
|
14179
14246
|
"latch",
|
|
14180
14247
|
"akiles",
|
|
14181
14248
|
"assa_abloy_vostio",
|
|
14249
|
+
"vostio_credential_service",
|
|
14182
14250
|
"yale_access",
|
|
14183
14251
|
"hid_cm",
|
|
14184
14252
|
"google_nest"
|