@seamapi/types 1.984.0 → 1.985.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/lib/seam/connect/models/acs/acs-credential.d.ts +33 -7
- package/lib/seam/connect/models/acs/acs-credential.js +5 -1
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/akiles.d.ts +8 -0
- package/lib/seam/connect/models/acs/metadata/akiles.js +9 -0
- package/lib/seam/connect/models/acs/metadata/akiles.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +136 -29
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +48 -10
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +64 -14
- package/lib/seam/connect/models/action-attempts/scan-to-assign-credential.d.ts +24 -5
- package/lib/seam/connect/models/phones/phone-session.d.ts +56 -12
- package/lib/seam/connect/openapi.js +88 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1080 -180
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +7 -0
- package/src/lib/seam/connect/models/acs/metadata/akiles.ts +14 -0
- package/src/lib/seam/connect/models/acs/metadata/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +96 -0
- package/src/lib/seam/connect/route-types.ts +1444 -0
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
|
+
acs_credential_akiles_metadata,
|
|
4
5
|
acs_credential_visionline_metadata,
|
|
5
6
|
acs_credential_vostio_metadata,
|
|
6
7
|
} from './metadata/index.js'
|
|
@@ -20,6 +21,7 @@ export const acs_credential_external_type = z.enum([
|
|
|
20
21
|
'salto_ks_tag',
|
|
21
22
|
'avigilon_alta_credential',
|
|
22
23
|
'kisi_credential',
|
|
24
|
+
'akiles_credential',
|
|
23
25
|
])
|
|
24
26
|
|
|
25
27
|
export const acs_credential_access_method_type = z.enum([
|
|
@@ -309,6 +311,11 @@ const common_acs_credential = z.object({
|
|
|
309
311
|
.describe(
|
|
310
312
|
'Vostio-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
311
313
|
),
|
|
314
|
+
akiles_metadata: acs_credential_akiles_metadata
|
|
315
|
+
.optional()
|
|
316
|
+
.describe(
|
|
317
|
+
'Akiles-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
318
|
+
),
|
|
312
319
|
})
|
|
313
320
|
|
|
314
321
|
export const acs_credential = common_acs_credential.merge(
|
|
@@ -29,3 +29,17 @@ export const acs_entrance_akiles_metadata = z
|
|
|
29
29
|
export type AcsEntranceAkilesMetadata = z.infer<
|
|
30
30
|
typeof acs_entrance_akiles_metadata
|
|
31
31
|
>
|
|
32
|
+
|
|
33
|
+
export const acs_credential_akiles_metadata = z
|
|
34
|
+
.object({
|
|
35
|
+
member_pin_id: z
|
|
36
|
+
.string()
|
|
37
|
+
.optional()
|
|
38
|
+
.describe('ID of the Akiles member PIN.'),
|
|
39
|
+
})
|
|
40
|
+
.partial()
|
|
41
|
+
.describe('Akiles-specific metadata for the credential.')
|
|
42
|
+
|
|
43
|
+
export type AcsCredentialAkilesMetadata = z.infer<
|
|
44
|
+
typeof acs_credential_akiles_metadata
|
|
45
|
+
>
|
|
@@ -3298,6 +3298,17 @@ const openapi: OpenAPISpec = {
|
|
|
3298
3298
|
format: 'uuid',
|
|
3299
3299
|
type: 'string',
|
|
3300
3300
|
},
|
|
3301
|
+
akiles_metadata: {
|
|
3302
|
+
description:
|
|
3303
|
+
'Akiles-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
3304
|
+
properties: {
|
|
3305
|
+
member_pin_id: {
|
|
3306
|
+
description: 'ID of the Akiles member PIN.',
|
|
3307
|
+
type: 'string',
|
|
3308
|
+
},
|
|
3309
|
+
},
|
|
3310
|
+
type: 'object',
|
|
3311
|
+
},
|
|
3301
3312
|
assa_abloy_vostio_metadata: {
|
|
3302
3313
|
description:
|
|
3303
3314
|
'Vostio-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
@@ -3405,6 +3416,7 @@ const openapi: OpenAPISpec = {
|
|
|
3405
3416
|
'salto_ks_tag',
|
|
3406
3417
|
'avigilon_alta_credential',
|
|
3407
3418
|
'kisi_credential',
|
|
3419
|
+
'akiles_credential',
|
|
3408
3420
|
],
|
|
3409
3421
|
type: 'string',
|
|
3410
3422
|
},
|
|
@@ -6266,6 +6278,17 @@ const openapi: OpenAPISpec = {
|
|
|
6266
6278
|
format: 'uuid',
|
|
6267
6279
|
type: 'string',
|
|
6268
6280
|
},
|
|
6281
|
+
akiles_metadata: {
|
|
6282
|
+
description:
|
|
6283
|
+
'Akiles-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
6284
|
+
properties: {
|
|
6285
|
+
member_pin_id: {
|
|
6286
|
+
description: 'ID of the Akiles member PIN.',
|
|
6287
|
+
type: 'string',
|
|
6288
|
+
},
|
|
6289
|
+
},
|
|
6290
|
+
type: 'object',
|
|
6291
|
+
},
|
|
6269
6292
|
assa_abloy_vostio_metadata: {
|
|
6270
6293
|
description:
|
|
6271
6294
|
'Vostio-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
@@ -6376,6 +6399,7 @@ const openapi: OpenAPISpec = {
|
|
|
6376
6399
|
'salto_ks_tag',
|
|
6377
6400
|
'avigilon_alta_credential',
|
|
6378
6401
|
'kisi_credential',
|
|
6402
|
+
'akiles_credential',
|
|
6379
6403
|
],
|
|
6380
6404
|
type: 'string',
|
|
6381
6405
|
},
|
|
@@ -6737,6 +6761,17 @@ const openapi: OpenAPISpec = {
|
|
|
6737
6761
|
format: 'uuid',
|
|
6738
6762
|
type: 'string',
|
|
6739
6763
|
},
|
|
6764
|
+
akiles_metadata: {
|
|
6765
|
+
description:
|
|
6766
|
+
'Akiles-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
6767
|
+
properties: {
|
|
6768
|
+
member_pin_id: {
|
|
6769
|
+
description: 'ID of the Akiles member PIN.',
|
|
6770
|
+
type: 'string',
|
|
6771
|
+
},
|
|
6772
|
+
},
|
|
6773
|
+
type: 'object',
|
|
6774
|
+
},
|
|
6740
6775
|
assa_abloy_vostio_metadata: {
|
|
6741
6776
|
description:
|
|
6742
6777
|
'Vostio-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
@@ -6847,6 +6882,7 @@ const openapi: OpenAPISpec = {
|
|
|
6847
6882
|
'salto_ks_tag',
|
|
6848
6883
|
'avigilon_alta_credential',
|
|
6849
6884
|
'kisi_credential',
|
|
6885
|
+
'akiles_credential',
|
|
6850
6886
|
],
|
|
6851
6887
|
type: 'string',
|
|
6852
6888
|
},
|
|
@@ -7460,6 +7496,17 @@ const openapi: OpenAPISpec = {
|
|
|
7460
7496
|
format: 'uuid',
|
|
7461
7497
|
type: 'string',
|
|
7462
7498
|
},
|
|
7499
|
+
akiles_metadata: {
|
|
7500
|
+
description:
|
|
7501
|
+
'Akiles-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
7502
|
+
properties: {
|
|
7503
|
+
member_pin_id: {
|
|
7504
|
+
description: 'ID of the Akiles member PIN.',
|
|
7505
|
+
type: 'string',
|
|
7506
|
+
},
|
|
7507
|
+
},
|
|
7508
|
+
type: 'object',
|
|
7509
|
+
},
|
|
7463
7510
|
assa_abloy_vostio_metadata: {
|
|
7464
7511
|
description:
|
|
7465
7512
|
'Vostio-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
@@ -7569,6 +7616,7 @@ const openapi: OpenAPISpec = {
|
|
|
7569
7616
|
'salto_ks_tag',
|
|
7570
7617
|
'avigilon_alta_credential',
|
|
7571
7618
|
'kisi_credential',
|
|
7619
|
+
'akiles_credential',
|
|
7572
7620
|
],
|
|
7573
7621
|
type: 'string',
|
|
7574
7622
|
},
|
|
@@ -7928,6 +7976,17 @@ const openapi: OpenAPISpec = {
|
|
|
7928
7976
|
format: 'uuid',
|
|
7929
7977
|
type: 'string',
|
|
7930
7978
|
},
|
|
7979
|
+
akiles_metadata: {
|
|
7980
|
+
description:
|
|
7981
|
+
'Akiles-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
7982
|
+
properties: {
|
|
7983
|
+
member_pin_id: {
|
|
7984
|
+
description: 'ID of the Akiles member PIN.',
|
|
7985
|
+
type: 'string',
|
|
7986
|
+
},
|
|
7987
|
+
},
|
|
7988
|
+
type: 'object',
|
|
7989
|
+
},
|
|
7931
7990
|
assa_abloy_vostio_metadata: {
|
|
7932
7991
|
description:
|
|
7933
7992
|
'Vostio-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
@@ -8037,6 +8096,7 @@ const openapi: OpenAPISpec = {
|
|
|
8037
8096
|
'salto_ks_tag',
|
|
8038
8097
|
'avigilon_alta_credential',
|
|
8039
8098
|
'kisi_credential',
|
|
8099
|
+
'akiles_credential',
|
|
8040
8100
|
],
|
|
8041
8101
|
type: 'string',
|
|
8042
8102
|
},
|
|
@@ -8685,6 +8745,17 @@ const openapi: OpenAPISpec = {
|
|
|
8685
8745
|
format: 'uuid',
|
|
8686
8746
|
type: 'string',
|
|
8687
8747
|
},
|
|
8748
|
+
akiles_metadata: {
|
|
8749
|
+
description:
|
|
8750
|
+
'Akiles-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
8751
|
+
properties: {
|
|
8752
|
+
member_pin_id: {
|
|
8753
|
+
description: 'ID of the Akiles member PIN.',
|
|
8754
|
+
type: 'string',
|
|
8755
|
+
},
|
|
8756
|
+
},
|
|
8757
|
+
type: 'object',
|
|
8758
|
+
},
|
|
8688
8759
|
assa_abloy_vostio_metadata: {
|
|
8689
8760
|
description:
|
|
8690
8761
|
'Vostio-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
@@ -8793,6 +8864,7 @@ const openapi: OpenAPISpec = {
|
|
|
8793
8864
|
'salto_ks_tag',
|
|
8794
8865
|
'avigilon_alta_credential',
|
|
8795
8866
|
'kisi_credential',
|
|
8867
|
+
'akiles_credential',
|
|
8796
8868
|
],
|
|
8797
8869
|
type: 'string',
|
|
8798
8870
|
},
|
|
@@ -28511,6 +28583,17 @@ const openapi: OpenAPISpec = {
|
|
|
28511
28583
|
format: 'uuid',
|
|
28512
28584
|
type: 'string',
|
|
28513
28585
|
},
|
|
28586
|
+
akiles_metadata: {
|
|
28587
|
+
description:
|
|
28588
|
+
'Akiles-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
28589
|
+
properties: {
|
|
28590
|
+
member_pin_id: {
|
|
28591
|
+
description: 'ID of the Akiles member PIN.',
|
|
28592
|
+
type: 'string',
|
|
28593
|
+
},
|
|
28594
|
+
},
|
|
28595
|
+
type: 'object',
|
|
28596
|
+
},
|
|
28514
28597
|
assa_abloy_vostio_metadata: {
|
|
28515
28598
|
description:
|
|
28516
28599
|
'Vostio-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
@@ -28620,6 +28703,7 @@ const openapi: OpenAPISpec = {
|
|
|
28620
28703
|
'salto_ks_tag',
|
|
28621
28704
|
'avigilon_alta_credential',
|
|
28622
28705
|
'kisi_credential',
|
|
28706
|
+
'akiles_credential',
|
|
28623
28707
|
],
|
|
28624
28708
|
type: 'string',
|
|
28625
28709
|
},
|
|
@@ -32499,6 +32583,17 @@ const openapi: OpenAPISpec = {
|
|
|
32499
32583
|
format: 'uuid',
|
|
32500
32584
|
type: 'string',
|
|
32501
32585
|
},
|
|
32586
|
+
akiles_metadata: {
|
|
32587
|
+
description:
|
|
32588
|
+
'Akiles-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
32589
|
+
properties: {
|
|
32590
|
+
member_pin_id: {
|
|
32591
|
+
description: 'ID of the Akiles member PIN.',
|
|
32592
|
+
type: 'string',
|
|
32593
|
+
},
|
|
32594
|
+
},
|
|
32595
|
+
type: 'object',
|
|
32596
|
+
},
|
|
32502
32597
|
assa_abloy_vostio_metadata: {
|
|
32503
32598
|
description:
|
|
32504
32599
|
'Vostio-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|
|
@@ -32606,6 +32701,7 @@ const openapi: OpenAPISpec = {
|
|
|
32606
32701
|
'salto_ks_tag',
|
|
32607
32702
|
'avigilon_alta_credential',
|
|
32608
32703
|
'kisi_credential',
|
|
32704
|
+
'akiles_credential',
|
|
32609
32705
|
],
|
|
32610
32706
|
type: 'string',
|
|
32611
32707
|
},
|