@seamapi/types 1.333.0 → 1.334.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 +125 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1169 -0
- package/lib/seam/connect/models/acs/acs-credential.d.ts +66 -0
- package/lib/seam/connect/models/acs/acs-credential.js +4 -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 +216 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +94 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +122 -0
- package/lib/seam/connect/openapi.d.ts +135 -0
- package/lib/seam/connect/openapi.js +116 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +752 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +7 -1
- package/src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +122 -0
- package/src/lib/seam/connect/route-types.ts +1024 -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([
|
|
@@ -225,6 +228,9 @@ const common_acs_credential = z.object({
|
|
|
225
228
|
visionline_metadata: acs_credential_visionline_metadata
|
|
226
229
|
.optional()
|
|
227
230
|
.describe('Visionline-specific metadata for the credential.'),
|
|
231
|
+
assa_abloy_vostio_metadata: acs_credential_vostio_metadata
|
|
232
|
+
.optional()
|
|
233
|
+
.describe('Vostio-specific metadata for the credential.'),
|
|
228
234
|
})
|
|
229
235
|
|
|
230
236
|
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.',
|
|
@@ -2552,6 +2566,24 @@ export default {
|
|
|
2552
2566
|
format: 'uuid',
|
|
2553
2567
|
type: 'string',
|
|
2554
2568
|
},
|
|
2569
|
+
assa_abloy_vostio_metadata: {
|
|
2570
|
+
description:
|
|
2571
|
+
'Vostio-specific metadata for the credential.',
|
|
2572
|
+
properties: {
|
|
2573
|
+
door_names: {
|
|
2574
|
+
items: { type: 'string' },
|
|
2575
|
+
type: 'array',
|
|
2576
|
+
},
|
|
2577
|
+
endpoint_id: { type: 'string' },
|
|
2578
|
+
key_id: { type: 'string' },
|
|
2579
|
+
key_issuing_request_id: { type: 'string' },
|
|
2580
|
+
override_guest_acs_entrance_ids: {
|
|
2581
|
+
items: { type: 'string' },
|
|
2582
|
+
type: 'array',
|
|
2583
|
+
},
|
|
2584
|
+
},
|
|
2585
|
+
type: 'object',
|
|
2586
|
+
},
|
|
2555
2587
|
card_number: { nullable: true, type: 'string' },
|
|
2556
2588
|
code: {
|
|
2557
2589
|
description:
|
|
@@ -2914,6 +2946,24 @@ export default {
|
|
|
2914
2946
|
format: 'uuid',
|
|
2915
2947
|
type: 'string',
|
|
2916
2948
|
},
|
|
2949
|
+
assa_abloy_vostio_metadata: {
|
|
2950
|
+
description:
|
|
2951
|
+
'Vostio-specific metadata for the credential.',
|
|
2952
|
+
properties: {
|
|
2953
|
+
door_names: {
|
|
2954
|
+
items: { type: 'string' },
|
|
2955
|
+
type: 'array',
|
|
2956
|
+
},
|
|
2957
|
+
endpoint_id: { type: 'string' },
|
|
2958
|
+
key_id: { type: 'string' },
|
|
2959
|
+
key_issuing_request_id: { type: 'string' },
|
|
2960
|
+
override_guest_acs_entrance_ids: {
|
|
2961
|
+
items: { type: 'string' },
|
|
2962
|
+
type: 'array',
|
|
2963
|
+
},
|
|
2964
|
+
},
|
|
2965
|
+
type: 'object',
|
|
2966
|
+
},
|
|
2917
2967
|
card_number: { nullable: true, type: 'string' },
|
|
2918
2968
|
code: {
|
|
2919
2969
|
description:
|
|
@@ -3410,6 +3460,24 @@ export default {
|
|
|
3410
3460
|
format: 'uuid',
|
|
3411
3461
|
type: 'string',
|
|
3412
3462
|
},
|
|
3463
|
+
assa_abloy_vostio_metadata: {
|
|
3464
|
+
description:
|
|
3465
|
+
'Vostio-specific metadata for the credential.',
|
|
3466
|
+
properties: {
|
|
3467
|
+
door_names: {
|
|
3468
|
+
items: { type: 'string' },
|
|
3469
|
+
type: 'array',
|
|
3470
|
+
},
|
|
3471
|
+
endpoint_id: { type: 'string' },
|
|
3472
|
+
key_id: { type: 'string' },
|
|
3473
|
+
key_issuing_request_id: { type: 'string' },
|
|
3474
|
+
override_guest_acs_entrance_ids: {
|
|
3475
|
+
items: { type: 'string' },
|
|
3476
|
+
type: 'array',
|
|
3477
|
+
},
|
|
3478
|
+
},
|
|
3479
|
+
type: 'object',
|
|
3480
|
+
},
|
|
3413
3481
|
card_number: { nullable: true, type: 'string' },
|
|
3414
3482
|
code: {
|
|
3415
3483
|
description: 'Access (PIN) code for the credential.',
|
|
@@ -3769,6 +3837,24 @@ export default {
|
|
|
3769
3837
|
format: 'uuid',
|
|
3770
3838
|
type: 'string',
|
|
3771
3839
|
},
|
|
3840
|
+
assa_abloy_vostio_metadata: {
|
|
3841
|
+
description:
|
|
3842
|
+
'Vostio-specific metadata for the credential.',
|
|
3843
|
+
properties: {
|
|
3844
|
+
door_names: {
|
|
3845
|
+
items: { type: 'string' },
|
|
3846
|
+
type: 'array',
|
|
3847
|
+
},
|
|
3848
|
+
endpoint_id: { type: 'string' },
|
|
3849
|
+
key_id: { type: 'string' },
|
|
3850
|
+
key_issuing_request_id: { type: 'string' },
|
|
3851
|
+
override_guest_acs_entrance_ids: {
|
|
3852
|
+
items: { type: 'string' },
|
|
3853
|
+
type: 'array',
|
|
3854
|
+
},
|
|
3855
|
+
},
|
|
3856
|
+
type: 'object',
|
|
3857
|
+
},
|
|
3772
3858
|
card_number: { nullable: true, type: 'string' },
|
|
3773
3859
|
code: {
|
|
3774
3860
|
description: 'Access (PIN) code for the credential.',
|
|
@@ -17010,6 +17096,24 @@ export default {
|
|
|
17010
17096
|
format: 'uuid',
|
|
17011
17097
|
type: 'string',
|
|
17012
17098
|
},
|
|
17099
|
+
assa_abloy_vostio_metadata: {
|
|
17100
|
+
description:
|
|
17101
|
+
'Vostio-specific metadata for the credential.',
|
|
17102
|
+
properties: {
|
|
17103
|
+
door_names: {
|
|
17104
|
+
items: { type: 'string' },
|
|
17105
|
+
type: 'array',
|
|
17106
|
+
},
|
|
17107
|
+
endpoint_id: { type: 'string' },
|
|
17108
|
+
key_id: { type: 'string' },
|
|
17109
|
+
key_issuing_request_id: { type: 'string' },
|
|
17110
|
+
override_guest_acs_entrance_ids: {
|
|
17111
|
+
items: { type: 'string' },
|
|
17112
|
+
type: 'array',
|
|
17113
|
+
},
|
|
17114
|
+
},
|
|
17115
|
+
type: 'object',
|
|
17116
|
+
},
|
|
17013
17117
|
card_number: { nullable: true, type: 'string' },
|
|
17014
17118
|
code: {
|
|
17015
17119
|
description: 'Access (PIN) code for the credential.',
|
|
@@ -17472,6 +17576,24 @@ export default {
|
|
|
17472
17576
|
format: 'uuid',
|
|
17473
17577
|
type: 'string',
|
|
17474
17578
|
},
|
|
17579
|
+
assa_abloy_vostio_metadata: {
|
|
17580
|
+
description:
|
|
17581
|
+
'Vostio-specific metadata for the credential.',
|
|
17582
|
+
properties: {
|
|
17583
|
+
door_names: {
|
|
17584
|
+
items: { type: 'string' },
|
|
17585
|
+
type: 'array',
|
|
17586
|
+
},
|
|
17587
|
+
endpoint_id: { type: 'string' },
|
|
17588
|
+
key_id: { type: 'string' },
|
|
17589
|
+
key_issuing_request_id: { type: 'string' },
|
|
17590
|
+
override_guest_acs_entrance_ids: {
|
|
17591
|
+
items: { type: 'string' },
|
|
17592
|
+
type: 'array',
|
|
17593
|
+
},
|
|
17594
|
+
},
|
|
17595
|
+
type: 'object',
|
|
17596
|
+
},
|
|
17475
17597
|
card_number: { nullable: true, type: 'string' },
|
|
17476
17598
|
code: {
|
|
17477
17599
|
description:
|