@seamapi/types 1.333.0 → 1.335.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 +149 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1293 -124
- package/lib/seam/connect/models/acs/acs-credential.d.ts +73 -7
- package/lib/seam/connect/models/acs/acs-credential.js +6 -1
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.d.ts +20 -0
- package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js +7 -0
- package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +240 -24
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +104 -10
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +136 -14
- package/lib/seam/connect/openapi.d.ts +135 -0
- package/lib/seam/connect/openapi.js +130 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +846 -94
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +9 -1
- package/src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +136 -0
- package/src/lib/seam/connect/route-types.ts +1212 -0
package/package.json
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
acs_credential_visionline_metadata,
|
|
5
|
+
acs_credential_vostio_metadata,
|
|
6
|
+
} from './metadata/index.js'
|
|
4
7
|
|
|
5
8
|
// If changed, update seam.acs_credential.external_type generated column
|
|
6
9
|
export const acs_credential_external_type = z.enum([
|
|
@@ -11,6 +14,8 @@ export const acs_credential_external_type = z.enum([
|
|
|
11
14
|
'salto_ks_credential',
|
|
12
15
|
'assa_abloy_vostio_card',
|
|
13
16
|
'assa_abloy_vostio_mobile_key',
|
|
17
|
+
'salto_space_card',
|
|
18
|
+
'salto_space_mobile_key',
|
|
14
19
|
])
|
|
15
20
|
|
|
16
21
|
export const acs_credential_access_method_type = z.enum([
|
|
@@ -225,6 +230,9 @@ const common_acs_credential = z.object({
|
|
|
225
230
|
visionline_metadata: acs_credential_visionline_metadata
|
|
226
231
|
.optional()
|
|
227
232
|
.describe('Visionline-specific metadata for the credential.'),
|
|
233
|
+
assa_abloy_vostio_metadata: acs_credential_vostio_metadata
|
|
234
|
+
.optional()
|
|
235
|
+
.describe('Vostio-specific metadata for the credential.'),
|
|
228
236
|
})
|
|
229
237
|
|
|
230
238
|
export const acs_credential = common_acs_credential
|
|
@@ -11,3 +11,15 @@ export const acs_entrance_assa_abloy_vostio_metadata = z.object({
|
|
|
11
11
|
export type AcsEntranceAssaAbloyVostioMetadata = z.infer<
|
|
12
12
|
typeof acs_entrance_assa_abloy_vostio_metadata
|
|
13
13
|
>
|
|
14
|
+
|
|
15
|
+
export const acs_credential_vostio_metadata = z.object({
|
|
16
|
+
override_guest_acs_entrance_ids: z.string().array().optional(),
|
|
17
|
+
key_id: z.string().optional(),
|
|
18
|
+
key_issuing_request_id: z.string().optional(),
|
|
19
|
+
door_names: z.string().array().optional(),
|
|
20
|
+
endpoint_id: z.string().optional(),
|
|
21
|
+
})
|
|
22
|
+
|
|
23
|
+
export type AcsCredentialVostioMetadata = z.infer<
|
|
24
|
+
typeof acs_credential_vostio_metadata
|
|
25
|
+
>
|
|
@@ -1057,6 +1057,20 @@ export default {
|
|
|
1057
1057
|
format: 'uuid',
|
|
1058
1058
|
type: 'string',
|
|
1059
1059
|
},
|
|
1060
|
+
assa_abloy_vostio_metadata: {
|
|
1061
|
+
description: 'Vostio-specific metadata for the credential.',
|
|
1062
|
+
properties: {
|
|
1063
|
+
door_names: { items: { type: 'string' }, type: 'array' },
|
|
1064
|
+
endpoint_id: { type: 'string' },
|
|
1065
|
+
key_id: { type: 'string' },
|
|
1066
|
+
key_issuing_request_id: { type: 'string' },
|
|
1067
|
+
override_guest_acs_entrance_ids: {
|
|
1068
|
+
items: { type: 'string' },
|
|
1069
|
+
type: 'array',
|
|
1070
|
+
},
|
|
1071
|
+
},
|
|
1072
|
+
type: 'object',
|
|
1073
|
+
},
|
|
1060
1074
|
card_number: { nullable: true, type: 'string' },
|
|
1061
1075
|
code: {
|
|
1062
1076
|
description: 'Access (PIN) code for the credential.',
|
|
@@ -1102,6 +1116,8 @@ export default {
|
|
|
1102
1116
|
'salto_ks_credential',
|
|
1103
1117
|
'assa_abloy_vostio_card',
|
|
1104
1118
|
'assa_abloy_vostio_mobile_key',
|
|
1119
|
+
'salto_space_card',
|
|
1120
|
+
'salto_space_mobile_key',
|
|
1105
1121
|
],
|
|
1106
1122
|
type: 'string',
|
|
1107
1123
|
},
|
|
@@ -2552,6 +2568,24 @@ export default {
|
|
|
2552
2568
|
format: 'uuid',
|
|
2553
2569
|
type: 'string',
|
|
2554
2570
|
},
|
|
2571
|
+
assa_abloy_vostio_metadata: {
|
|
2572
|
+
description:
|
|
2573
|
+
'Vostio-specific metadata for the credential.',
|
|
2574
|
+
properties: {
|
|
2575
|
+
door_names: {
|
|
2576
|
+
items: { type: 'string' },
|
|
2577
|
+
type: 'array',
|
|
2578
|
+
},
|
|
2579
|
+
endpoint_id: { type: 'string' },
|
|
2580
|
+
key_id: { type: 'string' },
|
|
2581
|
+
key_issuing_request_id: { type: 'string' },
|
|
2582
|
+
override_guest_acs_entrance_ids: {
|
|
2583
|
+
items: { type: 'string' },
|
|
2584
|
+
type: 'array',
|
|
2585
|
+
},
|
|
2586
|
+
},
|
|
2587
|
+
type: 'object',
|
|
2588
|
+
},
|
|
2555
2589
|
card_number: { nullable: true, type: 'string' },
|
|
2556
2590
|
code: {
|
|
2557
2591
|
description:
|
|
@@ -2600,6 +2634,8 @@ export default {
|
|
|
2600
2634
|
'salto_ks_credential',
|
|
2601
2635
|
'assa_abloy_vostio_card',
|
|
2602
2636
|
'assa_abloy_vostio_mobile_key',
|
|
2637
|
+
'salto_space_card',
|
|
2638
|
+
'salto_space_mobile_key',
|
|
2603
2639
|
],
|
|
2604
2640
|
type: 'string',
|
|
2605
2641
|
},
|
|
@@ -2914,6 +2950,24 @@ export default {
|
|
|
2914
2950
|
format: 'uuid',
|
|
2915
2951
|
type: 'string',
|
|
2916
2952
|
},
|
|
2953
|
+
assa_abloy_vostio_metadata: {
|
|
2954
|
+
description:
|
|
2955
|
+
'Vostio-specific metadata for the credential.',
|
|
2956
|
+
properties: {
|
|
2957
|
+
door_names: {
|
|
2958
|
+
items: { type: 'string' },
|
|
2959
|
+
type: 'array',
|
|
2960
|
+
},
|
|
2961
|
+
endpoint_id: { type: 'string' },
|
|
2962
|
+
key_id: { type: 'string' },
|
|
2963
|
+
key_issuing_request_id: { type: 'string' },
|
|
2964
|
+
override_guest_acs_entrance_ids: {
|
|
2965
|
+
items: { type: 'string' },
|
|
2966
|
+
type: 'array',
|
|
2967
|
+
},
|
|
2968
|
+
},
|
|
2969
|
+
type: 'object',
|
|
2970
|
+
},
|
|
2917
2971
|
card_number: { nullable: true, type: 'string' },
|
|
2918
2972
|
code: {
|
|
2919
2973
|
description:
|
|
@@ -2962,6 +3016,8 @@ export default {
|
|
|
2962
3016
|
'salto_ks_credential',
|
|
2963
3017
|
'assa_abloy_vostio_card',
|
|
2964
3018
|
'assa_abloy_vostio_mobile_key',
|
|
3019
|
+
'salto_space_card',
|
|
3020
|
+
'salto_space_mobile_key',
|
|
2965
3021
|
],
|
|
2966
3022
|
type: 'string',
|
|
2967
3023
|
},
|
|
@@ -3410,6 +3466,24 @@ export default {
|
|
|
3410
3466
|
format: 'uuid',
|
|
3411
3467
|
type: 'string',
|
|
3412
3468
|
},
|
|
3469
|
+
assa_abloy_vostio_metadata: {
|
|
3470
|
+
description:
|
|
3471
|
+
'Vostio-specific metadata for the credential.',
|
|
3472
|
+
properties: {
|
|
3473
|
+
door_names: {
|
|
3474
|
+
items: { type: 'string' },
|
|
3475
|
+
type: 'array',
|
|
3476
|
+
},
|
|
3477
|
+
endpoint_id: { type: 'string' },
|
|
3478
|
+
key_id: { type: 'string' },
|
|
3479
|
+
key_issuing_request_id: { type: 'string' },
|
|
3480
|
+
override_guest_acs_entrance_ids: {
|
|
3481
|
+
items: { type: 'string' },
|
|
3482
|
+
type: 'array',
|
|
3483
|
+
},
|
|
3484
|
+
},
|
|
3485
|
+
type: 'object',
|
|
3486
|
+
},
|
|
3413
3487
|
card_number: { nullable: true, type: 'string' },
|
|
3414
3488
|
code: {
|
|
3415
3489
|
description: 'Access (PIN) code for the credential.',
|
|
@@ -3457,6 +3531,8 @@ export default {
|
|
|
3457
3531
|
'salto_ks_credential',
|
|
3458
3532
|
'assa_abloy_vostio_card',
|
|
3459
3533
|
'assa_abloy_vostio_mobile_key',
|
|
3534
|
+
'salto_space_card',
|
|
3535
|
+
'salto_space_mobile_key',
|
|
3460
3536
|
],
|
|
3461
3537
|
type: 'string',
|
|
3462
3538
|
},
|
|
@@ -3769,6 +3845,24 @@ export default {
|
|
|
3769
3845
|
format: 'uuid',
|
|
3770
3846
|
type: 'string',
|
|
3771
3847
|
},
|
|
3848
|
+
assa_abloy_vostio_metadata: {
|
|
3849
|
+
description:
|
|
3850
|
+
'Vostio-specific metadata for the credential.',
|
|
3851
|
+
properties: {
|
|
3852
|
+
door_names: {
|
|
3853
|
+
items: { type: 'string' },
|
|
3854
|
+
type: 'array',
|
|
3855
|
+
},
|
|
3856
|
+
endpoint_id: { type: 'string' },
|
|
3857
|
+
key_id: { type: 'string' },
|
|
3858
|
+
key_issuing_request_id: { type: 'string' },
|
|
3859
|
+
override_guest_acs_entrance_ids: {
|
|
3860
|
+
items: { type: 'string' },
|
|
3861
|
+
type: 'array',
|
|
3862
|
+
},
|
|
3863
|
+
},
|
|
3864
|
+
type: 'object',
|
|
3865
|
+
},
|
|
3772
3866
|
card_number: { nullable: true, type: 'string' },
|
|
3773
3867
|
code: {
|
|
3774
3868
|
description: 'Access (PIN) code for the credential.',
|
|
@@ -3816,6 +3910,8 @@ export default {
|
|
|
3816
3910
|
'salto_ks_credential',
|
|
3817
3911
|
'assa_abloy_vostio_card',
|
|
3818
3912
|
'assa_abloy_vostio_mobile_key',
|
|
3913
|
+
'salto_space_card',
|
|
3914
|
+
'salto_space_mobile_key',
|
|
3819
3915
|
],
|
|
3820
3916
|
type: 'string',
|
|
3821
3917
|
},
|
|
@@ -17010,6 +17106,24 @@ export default {
|
|
|
17010
17106
|
format: 'uuid',
|
|
17011
17107
|
type: 'string',
|
|
17012
17108
|
},
|
|
17109
|
+
assa_abloy_vostio_metadata: {
|
|
17110
|
+
description:
|
|
17111
|
+
'Vostio-specific metadata for the credential.',
|
|
17112
|
+
properties: {
|
|
17113
|
+
door_names: {
|
|
17114
|
+
items: { type: 'string' },
|
|
17115
|
+
type: 'array',
|
|
17116
|
+
},
|
|
17117
|
+
endpoint_id: { type: 'string' },
|
|
17118
|
+
key_id: { type: 'string' },
|
|
17119
|
+
key_issuing_request_id: { type: 'string' },
|
|
17120
|
+
override_guest_acs_entrance_ids: {
|
|
17121
|
+
items: { type: 'string' },
|
|
17122
|
+
type: 'array',
|
|
17123
|
+
},
|
|
17124
|
+
},
|
|
17125
|
+
type: 'object',
|
|
17126
|
+
},
|
|
17013
17127
|
card_number: { nullable: true, type: 'string' },
|
|
17014
17128
|
code: {
|
|
17015
17129
|
description: 'Access (PIN) code for the credential.',
|
|
@@ -17057,6 +17171,8 @@ export default {
|
|
|
17057
17171
|
'salto_ks_credential',
|
|
17058
17172
|
'assa_abloy_vostio_card',
|
|
17059
17173
|
'assa_abloy_vostio_mobile_key',
|
|
17174
|
+
'salto_space_card',
|
|
17175
|
+
'salto_space_mobile_key',
|
|
17060
17176
|
],
|
|
17061
17177
|
type: 'string',
|
|
17062
17178
|
},
|
|
@@ -17472,6 +17588,24 @@ export default {
|
|
|
17472
17588
|
format: 'uuid',
|
|
17473
17589
|
type: 'string',
|
|
17474
17590
|
},
|
|
17591
|
+
assa_abloy_vostio_metadata: {
|
|
17592
|
+
description:
|
|
17593
|
+
'Vostio-specific metadata for the credential.',
|
|
17594
|
+
properties: {
|
|
17595
|
+
door_names: {
|
|
17596
|
+
items: { type: 'string' },
|
|
17597
|
+
type: 'array',
|
|
17598
|
+
},
|
|
17599
|
+
endpoint_id: { type: 'string' },
|
|
17600
|
+
key_id: { type: 'string' },
|
|
17601
|
+
key_issuing_request_id: { type: 'string' },
|
|
17602
|
+
override_guest_acs_entrance_ids: {
|
|
17603
|
+
items: { type: 'string' },
|
|
17604
|
+
type: 'array',
|
|
17605
|
+
},
|
|
17606
|
+
},
|
|
17607
|
+
type: 'object',
|
|
17608
|
+
},
|
|
17475
17609
|
card_number: { nullable: true, type: 'string' },
|
|
17476
17610
|
code: {
|
|
17477
17611
|
description:
|
|
@@ -17520,6 +17654,8 @@ export default {
|
|
|
17520
17654
|
'salto_ks_credential',
|
|
17521
17655
|
'assa_abloy_vostio_card',
|
|
17522
17656
|
'assa_abloy_vostio_mobile_key',
|
|
17657
|
+
'salto_space_card',
|
|
17658
|
+
'salto_space_mobile_key',
|
|
17523
17659
|
],
|
|
17524
17660
|
type: 'string',
|
|
17525
17661
|
},
|