@seamapi/types 1.600.0 → 1.602.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 +88 -22
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +493 -77
- package/dist/index.cjs +88 -22
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +30 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +15 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.js +11 -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 +15 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.js +11 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +174 -35
- package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js +3 -2
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-type.js +1 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +10 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +8 -3
- package/lib/seam/connect/openapi.d.ts +4 -0
- package/lib/seam/connect/openapi.js +53 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +375 -61
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +14 -0
- package/src/lib/seam/connect/models/action-attempts/scan-credential.ts +14 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +4 -2
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +59 -3
- package/src/lib/seam/connect/route-types.ts +431 -34
package/package.json
CHANGED
|
@@ -62,11 +62,25 @@ const credential_cannot_be_reissued = z
|
|
|
62
62
|
'Error to indicate that the affected credential cannot be reissued.',
|
|
63
63
|
)
|
|
64
64
|
|
|
65
|
+
const no_card_on_encoder_error = z
|
|
66
|
+
.object({
|
|
67
|
+
type: z
|
|
68
|
+
.literal('no_card_on_encoder')
|
|
69
|
+
.describe('Error type to indicate that there is no card on the encoder.'),
|
|
70
|
+
message: z
|
|
71
|
+
.string()
|
|
72
|
+
.describe(
|
|
73
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
74
|
+
),
|
|
75
|
+
})
|
|
76
|
+
.describe('Error to indicate that there is no card on the encoder.')
|
|
77
|
+
|
|
65
78
|
const error = z.union([
|
|
66
79
|
...common_action_attempt_errors,
|
|
67
80
|
no_credential_on_encoder_error,
|
|
68
81
|
incompatible_card_format_error,
|
|
69
82
|
credential_cannot_be_reissued,
|
|
83
|
+
no_card_on_encoder_error,
|
|
70
84
|
])
|
|
71
85
|
|
|
72
86
|
const result = acs_credential
|
|
@@ -31,9 +31,23 @@ const no_credential_on_encoder_error = z
|
|
|
31
31
|
})
|
|
32
32
|
.describe('Error to indicate that there is no credential on the encoder.')
|
|
33
33
|
|
|
34
|
+
const no_card_on_encoder_error = z
|
|
35
|
+
.object({
|
|
36
|
+
type: z
|
|
37
|
+
.literal('no_card_on_encoder')
|
|
38
|
+
.describe('Error type to indicate that there is no card on the encoder.'),
|
|
39
|
+
message: z
|
|
40
|
+
.string()
|
|
41
|
+
.describe(
|
|
42
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
43
|
+
),
|
|
44
|
+
})
|
|
45
|
+
.describe('Error to indicate that there is no card on the encoder.')
|
|
46
|
+
|
|
34
47
|
const error = z.union([
|
|
35
48
|
...common_action_attempt_errors,
|
|
36
49
|
no_credential_on_encoder_error,
|
|
50
|
+
no_card_on_encoder_error,
|
|
37
51
|
])
|
|
38
52
|
|
|
39
53
|
const warning = z
|
|
@@ -684,11 +684,13 @@ export const device_metadata = z
|
|
|
684
684
|
})
|
|
685
685
|
.partial()
|
|
686
686
|
.describe(`Metadata for a KeyNest device.`),
|
|
687
|
+
|
|
687
688
|
ultraloq_metadata: z
|
|
688
689
|
.object({
|
|
689
|
-
device_id: z.string().describe(`Device ID for
|
|
690
|
+
device_id: z.string().describe(`Device ID for an Ultraloq device.`),
|
|
691
|
+
device_name: z.string().describe(`Device name for an Ultraloq device.`),
|
|
690
692
|
})
|
|
691
|
-
.describe(`Metadata for
|
|
693
|
+
.describe(`Metadata for an Ultraloq device.`),
|
|
692
694
|
})
|
|
693
695
|
.partial().describe(`
|
|
694
696
|
---
|
|
@@ -5684,6 +5684,25 @@ export default {
|
|
|
5684
5684
|
required: ['type', 'message'],
|
|
5685
5685
|
type: 'object',
|
|
5686
5686
|
},
|
|
5687
|
+
{
|
|
5688
|
+
description:
|
|
5689
|
+
'Error to indicate that there is no card on the encoder.',
|
|
5690
|
+
properties: {
|
|
5691
|
+
message: {
|
|
5692
|
+
description:
|
|
5693
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
5694
|
+
type: 'string',
|
|
5695
|
+
},
|
|
5696
|
+
type: {
|
|
5697
|
+
description:
|
|
5698
|
+
'Error type to indicate that there is no card on the encoder.',
|
|
5699
|
+
enum: ['no_card_on_encoder'],
|
|
5700
|
+
type: 'string',
|
|
5701
|
+
},
|
|
5702
|
+
},
|
|
5703
|
+
required: ['type', 'message'],
|
|
5704
|
+
type: 'object',
|
|
5705
|
+
},
|
|
5687
5706
|
],
|
|
5688
5707
|
},
|
|
5689
5708
|
result: {
|
|
@@ -6793,6 +6812,25 @@ export default {
|
|
|
6793
6812
|
required: ['type', 'message'],
|
|
6794
6813
|
type: 'object',
|
|
6795
6814
|
},
|
|
6815
|
+
{
|
|
6816
|
+
description:
|
|
6817
|
+
'Error to indicate that there is no card on the encoder.',
|
|
6818
|
+
properties: {
|
|
6819
|
+
message: {
|
|
6820
|
+
description:
|
|
6821
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
6822
|
+
type: 'string',
|
|
6823
|
+
},
|
|
6824
|
+
type: {
|
|
6825
|
+
description:
|
|
6826
|
+
'Error type to indicate that there is no card on the encoder.',
|
|
6827
|
+
enum: ['no_card_on_encoder'],
|
|
6828
|
+
type: 'string',
|
|
6829
|
+
},
|
|
6830
|
+
},
|
|
6831
|
+
required: ['type', 'message'],
|
|
6832
|
+
type: 'object',
|
|
6833
|
+
},
|
|
6796
6834
|
],
|
|
6797
6835
|
},
|
|
6798
6836
|
result: {
|
|
@@ -9423,6 +9461,7 @@ export default {
|
|
|
9423
9461
|
'dormakaba_oracode_door',
|
|
9424
9462
|
'tedee_lock',
|
|
9425
9463
|
'akiles_lock',
|
|
9464
|
+
'ultraloq_lock',
|
|
9426
9465
|
],
|
|
9427
9466
|
type: 'string',
|
|
9428
9467
|
},
|
|
@@ -11495,14 +11534,18 @@ export default {
|
|
|
11495
11534
|
type: 'object',
|
|
11496
11535
|
},
|
|
11497
11536
|
ultraloq_metadata: {
|
|
11498
|
-
description: 'Metadata for
|
|
11537
|
+
description: 'Metadata for an Ultraloq device.',
|
|
11499
11538
|
properties: {
|
|
11500
11539
|
device_id: {
|
|
11501
|
-
description: 'Device ID for
|
|
11540
|
+
description: 'Device ID for an Ultraloq device.',
|
|
11541
|
+
type: 'string',
|
|
11542
|
+
},
|
|
11543
|
+
device_name: {
|
|
11544
|
+
description: 'Device name for an Ultraloq device.',
|
|
11502
11545
|
type: 'string',
|
|
11503
11546
|
},
|
|
11504
11547
|
},
|
|
11505
|
-
required: ['device_id'],
|
|
11548
|
+
required: ['device_id', 'device_name'],
|
|
11506
11549
|
type: 'object',
|
|
11507
11550
|
},
|
|
11508
11551
|
visionline_metadata: {
|
|
@@ -24080,6 +24123,7 @@ export default {
|
|
|
24080
24123
|
'dormakaba_oracode_door',
|
|
24081
24124
|
'tedee_lock',
|
|
24082
24125
|
'akiles_lock',
|
|
24126
|
+
'ultraloq_lock',
|
|
24083
24127
|
],
|
|
24084
24128
|
type: 'string',
|
|
24085
24129
|
},
|
|
@@ -43004,6 +43048,7 @@ export default {
|
|
|
43004
43048
|
'dormakaba_oracode_door',
|
|
43005
43049
|
'tedee_lock',
|
|
43006
43050
|
'akiles_lock',
|
|
43051
|
+
'ultraloq_lock',
|
|
43007
43052
|
],
|
|
43008
43053
|
type: 'string',
|
|
43009
43054
|
},
|
|
@@ -43075,6 +43120,7 @@ export default {
|
|
|
43075
43120
|
'dormakaba_oracode_door',
|
|
43076
43121
|
'tedee_lock',
|
|
43077
43122
|
'akiles_lock',
|
|
43123
|
+
'ultraloq_lock',
|
|
43078
43124
|
],
|
|
43079
43125
|
type: 'string',
|
|
43080
43126
|
},
|
|
@@ -43443,6 +43489,7 @@ export default {
|
|
|
43443
43489
|
'dormakaba_oracode_door',
|
|
43444
43490
|
'tedee_lock',
|
|
43445
43491
|
'akiles_lock',
|
|
43492
|
+
'ultraloq_lock',
|
|
43446
43493
|
],
|
|
43447
43494
|
type: 'string',
|
|
43448
43495
|
},
|
|
@@ -43512,6 +43559,7 @@ export default {
|
|
|
43512
43559
|
'dormakaba_oracode_door',
|
|
43513
43560
|
'tedee_lock',
|
|
43514
43561
|
'akiles_lock',
|
|
43562
|
+
'ultraloq_lock',
|
|
43515
43563
|
],
|
|
43516
43564
|
type: 'string',
|
|
43517
43565
|
},
|
|
@@ -44367,6 +44415,7 @@ export default {
|
|
|
44367
44415
|
'dormakaba_oracode_door',
|
|
44368
44416
|
'tedee_lock',
|
|
44369
44417
|
'akiles_lock',
|
|
44418
|
+
'ultraloq_lock',
|
|
44370
44419
|
],
|
|
44371
44420
|
type: 'string',
|
|
44372
44421
|
},
|
|
@@ -44438,6 +44487,7 @@ export default {
|
|
|
44438
44487
|
'dormakaba_oracode_door',
|
|
44439
44488
|
'tedee_lock',
|
|
44440
44489
|
'akiles_lock',
|
|
44490
|
+
'ultraloq_lock',
|
|
44441
44491
|
],
|
|
44442
44492
|
type: 'string',
|
|
44443
44493
|
},
|
|
@@ -44804,6 +44854,7 @@ export default {
|
|
|
44804
44854
|
'dormakaba_oracode_door',
|
|
44805
44855
|
'tedee_lock',
|
|
44806
44856
|
'akiles_lock',
|
|
44857
|
+
'ultraloq_lock',
|
|
44807
44858
|
],
|
|
44808
44859
|
type: 'string',
|
|
44809
44860
|
},
|
|
@@ -44873,6 +44924,7 @@ export default {
|
|
|
44873
44924
|
'dormakaba_oracode_door',
|
|
44874
44925
|
'tedee_lock',
|
|
44875
44926
|
'akiles_lock',
|
|
44927
|
+
'ultraloq_lock',
|
|
44876
44928
|
],
|
|
44877
44929
|
type: 'string',
|
|
44878
44930
|
},
|
|
@@ -46787,6 +46839,7 @@ export default {
|
|
|
46787
46839
|
'dormakaba_oracode_door',
|
|
46788
46840
|
'tedee_lock',
|
|
46789
46841
|
'akiles_lock',
|
|
46842
|
+
'ultraloq_lock',
|
|
46790
46843
|
],
|
|
46791
46844
|
type: 'string',
|
|
46792
46845
|
},
|
|
@@ -46826,6 +46879,7 @@ export default {
|
|
|
46826
46879
|
'dormakaba_oracode_door',
|
|
46827
46880
|
'tedee_lock',
|
|
46828
46881
|
'akiles_lock',
|
|
46882
|
+
'ultraloq_lock',
|
|
46829
46883
|
],
|
|
46830
46884
|
type: 'string',
|
|
46831
46885
|
},
|
|
@@ -47152,6 +47206,7 @@ export default {
|
|
|
47152
47206
|
'dormakaba_oracode_door',
|
|
47153
47207
|
'tedee_lock',
|
|
47154
47208
|
'akiles_lock',
|
|
47209
|
+
'ultraloq_lock',
|
|
47155
47210
|
],
|
|
47156
47211
|
type: 'string',
|
|
47157
47212
|
},
|
|
@@ -47188,6 +47243,7 @@ export default {
|
|
|
47188
47243
|
'dormakaba_oracode_door',
|
|
47189
47244
|
'tedee_lock',
|
|
47190
47245
|
'akiles_lock',
|
|
47246
|
+
'ultraloq_lock',
|
|
47191
47247
|
],
|
|
47192
47248
|
type: 'string',
|
|
47193
47249
|
},
|