@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
|
@@ -129,7 +129,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
129
129
|
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
130
130
|
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
131
131
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
132
|
-
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "
|
|
132
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key"]>>;
|
|
133
133
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
134
134
|
created_at: z.ZodString;
|
|
135
135
|
workspace_id: z.ZodString;
|
|
@@ -334,7 +334,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
334
334
|
door_names?: string[] | undefined;
|
|
335
335
|
} | undefined;
|
|
336
336
|
is_one_time_use?: boolean | undefined;
|
|
337
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
337
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
338
338
|
external_type_display_name?: string | undefined;
|
|
339
339
|
acs_user_id?: string | undefined;
|
|
340
340
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -403,7 +403,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
403
403
|
door_names?: string[] | undefined;
|
|
404
404
|
} | undefined;
|
|
405
405
|
is_one_time_use?: boolean | undefined;
|
|
406
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
406
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
407
407
|
external_type_display_name?: string | undefined;
|
|
408
408
|
acs_user_id?: string | undefined;
|
|
409
409
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -427,7 +427,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
427
427
|
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
428
428
|
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
429
429
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
430
|
-
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "
|
|
430
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key"]>>;
|
|
431
431
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
432
432
|
created_at: z.ZodString;
|
|
433
433
|
workspace_id: z.ZodString;
|
|
@@ -632,7 +632,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
632
632
|
door_names?: string[] | undefined;
|
|
633
633
|
} | undefined;
|
|
634
634
|
is_one_time_use?: boolean | undefined;
|
|
635
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
635
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
636
636
|
external_type_display_name?: string | undefined;
|
|
637
637
|
acs_user_id?: string | undefined;
|
|
638
638
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -701,7 +701,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
701
701
|
door_names?: string[] | undefined;
|
|
702
702
|
} | undefined;
|
|
703
703
|
is_one_time_use?: boolean | undefined;
|
|
704
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
704
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
705
705
|
external_type_display_name?: string | undefined;
|
|
706
706
|
acs_user_id?: string | undefined;
|
|
707
707
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -807,7 +807,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
807
807
|
door_names?: string[] | undefined;
|
|
808
808
|
} | undefined;
|
|
809
809
|
is_one_time_use?: boolean | undefined;
|
|
810
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
810
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
811
811
|
external_type_display_name?: string | undefined;
|
|
812
812
|
acs_user_id?: string | undefined;
|
|
813
813
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -876,7 +876,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
876
876
|
door_names?: string[] | undefined;
|
|
877
877
|
} | undefined;
|
|
878
878
|
is_one_time_use?: boolean | undefined;
|
|
879
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
879
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
880
880
|
external_type_display_name?: string | undefined;
|
|
881
881
|
acs_user_id?: string | undefined;
|
|
882
882
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -972,7 +972,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
972
972
|
door_names?: string[] | undefined;
|
|
973
973
|
} | undefined;
|
|
974
974
|
is_one_time_use?: boolean | undefined;
|
|
975
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
975
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
976
976
|
external_type_display_name?: string | undefined;
|
|
977
977
|
acs_user_id?: string | undefined;
|
|
978
978
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1041,7 +1041,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1041
1041
|
door_names?: string[] | undefined;
|
|
1042
1042
|
} | undefined;
|
|
1043
1043
|
is_one_time_use?: boolean | undefined;
|
|
1044
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
1044
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1045
1045
|
external_type_display_name?: string | undefined;
|
|
1046
1046
|
acs_user_id?: string | undefined;
|
|
1047
1047
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1142,7 +1142,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1142
1142
|
door_names?: string[] | undefined;
|
|
1143
1143
|
} | undefined;
|
|
1144
1144
|
is_one_time_use?: boolean | undefined;
|
|
1145
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
1145
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1146
1146
|
external_type_display_name?: string | undefined;
|
|
1147
1147
|
acs_user_id?: string | undefined;
|
|
1148
1148
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1211,7 +1211,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1211
1211
|
door_names?: string[] | undefined;
|
|
1212
1212
|
} | undefined;
|
|
1213
1213
|
is_one_time_use?: boolean | undefined;
|
|
1214
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
1214
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1215
1215
|
external_type_display_name?: string | undefined;
|
|
1216
1216
|
acs_user_id?: string | undefined;
|
|
1217
1217
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1313,7 +1313,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1313
1313
|
door_names?: string[] | undefined;
|
|
1314
1314
|
} | undefined;
|
|
1315
1315
|
is_one_time_use?: boolean | undefined;
|
|
1316
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
1316
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1317
1317
|
external_type_display_name?: string | undefined;
|
|
1318
1318
|
acs_user_id?: string | undefined;
|
|
1319
1319
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1382,7 +1382,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1382
1382
|
door_names?: string[] | undefined;
|
|
1383
1383
|
} | undefined;
|
|
1384
1384
|
is_one_time_use?: boolean | undefined;
|
|
1385
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
1385
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1386
1386
|
external_type_display_name?: string | undefined;
|
|
1387
1387
|
acs_user_id?: string | undefined;
|
|
1388
1388
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1025,10 +1025,8 @@ export default {
|
|
|
1025
1025
|
'hid_credential',
|
|
1026
1026
|
'visionline_card',
|
|
1027
1027
|
'salto_ks_credential',
|
|
1028
|
-
'
|
|
1029
|
-
'
|
|
1030
|
-
'salto_space_card',
|
|
1031
|
-
'salto_space_mobile_key',
|
|
1028
|
+
'assa_abloy_vostio_key',
|
|
1029
|
+
'salto_space_key',
|
|
1032
1030
|
],
|
|
1033
1031
|
type: 'string',
|
|
1034
1032
|
},
|
|
@@ -2417,10 +2415,8 @@ export default {
|
|
|
2417
2415
|
'hid_credential',
|
|
2418
2416
|
'visionline_card',
|
|
2419
2417
|
'salto_ks_credential',
|
|
2420
|
-
'
|
|
2421
|
-
'
|
|
2422
|
-
'salto_space_card',
|
|
2423
|
-
'salto_space_mobile_key',
|
|
2418
|
+
'assa_abloy_vostio_key',
|
|
2419
|
+
'salto_space_key',
|
|
2424
2420
|
],
|
|
2425
2421
|
type: 'string',
|
|
2426
2422
|
},
|
|
@@ -2754,10 +2750,8 @@ export default {
|
|
|
2754
2750
|
'hid_credential',
|
|
2755
2751
|
'visionline_card',
|
|
2756
2752
|
'salto_ks_credential',
|
|
2757
|
-
'
|
|
2758
|
-
'
|
|
2759
|
-
'salto_space_card',
|
|
2760
|
-
'salto_space_mobile_key',
|
|
2753
|
+
'assa_abloy_vostio_key',
|
|
2754
|
+
'salto_space_key',
|
|
2761
2755
|
],
|
|
2762
2756
|
type: 'string',
|
|
2763
2757
|
},
|
|
@@ -3222,10 +3216,8 @@ export default {
|
|
|
3222
3216
|
'hid_credential',
|
|
3223
3217
|
'visionline_card',
|
|
3224
3218
|
'salto_ks_credential',
|
|
3225
|
-
'
|
|
3226
|
-
'
|
|
3227
|
-
'salto_space_card',
|
|
3228
|
-
'salto_space_mobile_key',
|
|
3219
|
+
'assa_abloy_vostio_key',
|
|
3220
|
+
'salto_space_key',
|
|
3229
3221
|
],
|
|
3230
3222
|
type: 'string',
|
|
3231
3223
|
},
|
|
@@ -3557,10 +3549,8 @@ export default {
|
|
|
3557
3549
|
'hid_credential',
|
|
3558
3550
|
'visionline_card',
|
|
3559
3551
|
'salto_ks_credential',
|
|
3560
|
-
'
|
|
3561
|
-
'
|
|
3562
|
-
'salto_space_card',
|
|
3563
|
-
'salto_space_mobile_key',
|
|
3552
|
+
'assa_abloy_vostio_key',
|
|
3553
|
+
'salto_space_key',
|
|
3564
3554
|
],
|
|
3565
3555
|
type: 'string',
|
|
3566
3556
|
},
|
|
@@ -3874,6 +3864,17 @@ export default {
|
|
|
3874
3864
|
required: ['type', 'message'],
|
|
3875
3865
|
type: 'object',
|
|
3876
3866
|
},
|
|
3867
|
+
{
|
|
3868
|
+
properties: {
|
|
3869
|
+
message: { type: 'string' },
|
|
3870
|
+
type: {
|
|
3871
|
+
enum: ['credential_cannot_be_reissued'],
|
|
3872
|
+
type: 'string',
|
|
3873
|
+
},
|
|
3874
|
+
},
|
|
3875
|
+
required: ['type', 'message'],
|
|
3876
|
+
type: 'object',
|
|
3877
|
+
},
|
|
3877
3878
|
],
|
|
3878
3879
|
},
|
|
3879
3880
|
result: { nullable: true },
|
|
@@ -16087,10 +16088,8 @@ export default {
|
|
|
16087
16088
|
'hid_credential',
|
|
16088
16089
|
'visionline_card',
|
|
16089
16090
|
'salto_ks_credential',
|
|
16090
|
-
'
|
|
16091
|
-
'
|
|
16092
|
-
'salto_space_card',
|
|
16093
|
-
'salto_space_mobile_key',
|
|
16091
|
+
'assa_abloy_vostio_key',
|
|
16092
|
+
'salto_space_key',
|
|
16094
16093
|
],
|
|
16095
16094
|
type: 'string',
|
|
16096
16095
|
},
|
|
@@ -16519,10 +16518,8 @@ export default {
|
|
|
16519
16518
|
'hid_credential',
|
|
16520
16519
|
'visionline_card',
|
|
16521
16520
|
'salto_ks_credential',
|
|
16522
|
-
'
|
|
16523
|
-
'
|
|
16524
|
-
'salto_space_card',
|
|
16525
|
-
'salto_space_mobile_key',
|
|
16521
|
+
'assa_abloy_vostio_key',
|
|
16522
|
+
'salto_space_key',
|
|
16526
16523
|
],
|
|
16527
16524
|
type: 'string',
|
|
16528
16525
|
},
|