@seamapi/types 1.336.0 → 1.337.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 +33 -33
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +202 -124
- package/lib/seam/connect/models/acs/acs-credential.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-credential.js +2 -4
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +39 -24
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +25 -10
- package/lib/seam/connect/models/action-attempts/encode-credential.js +5 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -14
- package/lib/seam/connect/openapi.js +25 -28
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +157 -94
- package/package.json +2 -2
- package/src/lib/seam/connect/models/acs/acs-credential.ts +2 -4
- package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +25 -28
- package/src/lib/seam/connect/route-types.ts +272 -376
package/dist/connect.cjs
CHANGED
|
@@ -1564,10 +1564,8 @@ var acs_credential_external_type = zod.z.enum([
|
|
|
1564
1564
|
"hid_credential",
|
|
1565
1565
|
"visionline_card",
|
|
1566
1566
|
"salto_ks_credential",
|
|
1567
|
-
"
|
|
1568
|
-
"
|
|
1569
|
-
"salto_space_card",
|
|
1570
|
-
"salto_space_mobile_key"
|
|
1567
|
+
"assa_abloy_vostio_key",
|
|
1568
|
+
"salto_space_key"
|
|
1571
1569
|
]);
|
|
1572
1570
|
var acs_credential_access_method_type = zod.z.enum([
|
|
1573
1571
|
"code",
|
|
@@ -2313,10 +2311,15 @@ var incompatible_card_format_error = zod.z.object({
|
|
|
2313
2311
|
type: zod.z.literal("incompatible_card_format"),
|
|
2314
2312
|
message: zod.z.string()
|
|
2315
2313
|
});
|
|
2314
|
+
var credential_cannot_be_reissued = zod.z.object({
|
|
2315
|
+
type: zod.z.literal("credential_cannot_be_reissued"),
|
|
2316
|
+
message: zod.z.string()
|
|
2317
|
+
});
|
|
2316
2318
|
var error3 = zod.z.union([
|
|
2317
2319
|
...common_action_attempt_errors,
|
|
2318
2320
|
no_credential_on_encoder_error,
|
|
2319
|
-
incompatible_card_format_error
|
|
2321
|
+
incompatible_card_format_error,
|
|
2322
|
+
credential_cannot_be_reissued
|
|
2320
2323
|
]);
|
|
2321
2324
|
var result3 = acs_credential.or(unmanaged_acs_credential);
|
|
2322
2325
|
var encode_credential_action_attempt = zod.z.discriminatedUnion("status", [
|
|
@@ -4553,10 +4556,8 @@ var openapi_default = {
|
|
|
4553
4556
|
"hid_credential",
|
|
4554
4557
|
"visionline_card",
|
|
4555
4558
|
"salto_ks_credential",
|
|
4556
|
-
"
|
|
4557
|
-
"
|
|
4558
|
-
"salto_space_card",
|
|
4559
|
-
"salto_space_mobile_key"
|
|
4559
|
+
"assa_abloy_vostio_key",
|
|
4560
|
+
"salto_space_key"
|
|
4560
4561
|
],
|
|
4561
4562
|
type: "string"
|
|
4562
4563
|
},
|
|
@@ -5945,10 +5946,8 @@ var openapi_default = {
|
|
|
5945
5946
|
"hid_credential",
|
|
5946
5947
|
"visionline_card",
|
|
5947
5948
|
"salto_ks_credential",
|
|
5948
|
-
"
|
|
5949
|
-
"
|
|
5950
|
-
"salto_space_card",
|
|
5951
|
-
"salto_space_mobile_key"
|
|
5949
|
+
"assa_abloy_vostio_key",
|
|
5950
|
+
"salto_space_key"
|
|
5952
5951
|
],
|
|
5953
5952
|
type: "string"
|
|
5954
5953
|
},
|
|
@@ -6282,10 +6281,8 @@ var openapi_default = {
|
|
|
6282
6281
|
"hid_credential",
|
|
6283
6282
|
"visionline_card",
|
|
6284
6283
|
"salto_ks_credential",
|
|
6285
|
-
"
|
|
6286
|
-
"
|
|
6287
|
-
"salto_space_card",
|
|
6288
|
-
"salto_space_mobile_key"
|
|
6284
|
+
"assa_abloy_vostio_key",
|
|
6285
|
+
"salto_space_key"
|
|
6289
6286
|
],
|
|
6290
6287
|
type: "string"
|
|
6291
6288
|
},
|
|
@@ -6750,10 +6747,8 @@ var openapi_default = {
|
|
|
6750
6747
|
"hid_credential",
|
|
6751
6748
|
"visionline_card",
|
|
6752
6749
|
"salto_ks_credential",
|
|
6753
|
-
"
|
|
6754
|
-
"
|
|
6755
|
-
"salto_space_card",
|
|
6756
|
-
"salto_space_mobile_key"
|
|
6750
|
+
"assa_abloy_vostio_key",
|
|
6751
|
+
"salto_space_key"
|
|
6757
6752
|
],
|
|
6758
6753
|
type: "string"
|
|
6759
6754
|
},
|
|
@@ -7085,10 +7080,8 @@ var openapi_default = {
|
|
|
7085
7080
|
"hid_credential",
|
|
7086
7081
|
"visionline_card",
|
|
7087
7082
|
"salto_ks_credential",
|
|
7088
|
-
"
|
|
7089
|
-
"
|
|
7090
|
-
"salto_space_card",
|
|
7091
|
-
"salto_space_mobile_key"
|
|
7083
|
+
"assa_abloy_vostio_key",
|
|
7084
|
+
"salto_space_key"
|
|
7092
7085
|
],
|
|
7093
7086
|
type: "string"
|
|
7094
7087
|
},
|
|
@@ -7401,6 +7394,17 @@ var openapi_default = {
|
|
|
7401
7394
|
},
|
|
7402
7395
|
required: ["type", "message"],
|
|
7403
7396
|
type: "object"
|
|
7397
|
+
},
|
|
7398
|
+
{
|
|
7399
|
+
properties: {
|
|
7400
|
+
message: { type: "string" },
|
|
7401
|
+
type: {
|
|
7402
|
+
enum: ["credential_cannot_be_reissued"],
|
|
7403
|
+
type: "string"
|
|
7404
|
+
}
|
|
7405
|
+
},
|
|
7406
|
+
required: ["type", "message"],
|
|
7407
|
+
type: "object"
|
|
7404
7408
|
}
|
|
7405
7409
|
]
|
|
7406
7410
|
},
|
|
@@ -19615,10 +19619,8 @@ var openapi_default = {
|
|
|
19615
19619
|
"hid_credential",
|
|
19616
19620
|
"visionline_card",
|
|
19617
19621
|
"salto_ks_credential",
|
|
19618
|
-
"
|
|
19619
|
-
"
|
|
19620
|
-
"salto_space_card",
|
|
19621
|
-
"salto_space_mobile_key"
|
|
19622
|
+
"assa_abloy_vostio_key",
|
|
19623
|
+
"salto_space_key"
|
|
19622
19624
|
],
|
|
19623
19625
|
type: "string"
|
|
19624
19626
|
},
|
|
@@ -20047,10 +20049,8 @@ var openapi_default = {
|
|
|
20047
20049
|
"hid_credential",
|
|
20048
20050
|
"visionline_card",
|
|
20049
20051
|
"salto_ks_credential",
|
|
20050
|
-
"
|
|
20051
|
-
"
|
|
20052
|
-
"salto_space_card",
|
|
20053
|
-
"salto_space_mobile_key"
|
|
20052
|
+
"assa_abloy_vostio_key",
|
|
20053
|
+
"salto_space_key"
|
|
20054
20054
|
],
|
|
20055
20055
|
type: "string"
|
|
20056
20056
|
},
|