@seamapi/types 1.286.1 → 1.286.2
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 +189 -52
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +450 -211
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +14 -14
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +18 -18
- package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/{encode-card.d.ts → encode-credential.d.ts} +11 -11
- package/lib/seam/connect/models/action-attempts/{encode-card.js → encode-credential.js} +6 -6
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/{scan-card.d.ts → scan-credential.d.ts} +11 -11
- package/lib/seam/connect/models/action-attempts/{scan-card.js → scan-credential.js} +7 -7
- package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +13 -0
- package/lib/seam/connect/models/devices/device-metadata.js +3 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +5 -3
- 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 +22 -3
- package/lib/seam/connect/models/devices/phone.d.ts +14 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +16 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +61 -0
- package/lib/seam/connect/models/events/acs/credentials.js +9 -1
- package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
- package/lib/seam/connect/models/events/acs/index.d.ts +30 -0
- package/lib/seam/connect/models/events/action-attempts.d.ts +177 -0
- package/lib/seam/connect/models/events/action-attempts.js +16 -0
- package/lib/seam/connect/models/events/action-attempts.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +147 -1
- package/lib/seam/connect/models/events/seam-event.js +2 -0
- package/lib/seam/connect/models/events/seam-event.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +16 -2
- package/lib/seam/connect/openapi.js +125 -37
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +217 -170
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -4
- package/src/lib/seam/connect/models/action-attempts/{encode-card.ts → encode-credential.ts} +8 -6
- package/src/lib/seam/connect/models/action-attempts/{scan-card.ts → scan-credential.ts} +9 -7
- package/src/lib/seam/connect/models/devices/device-metadata.ts +3 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/models/events/acs/credentials.ts +10 -1
- package/src/lib/seam/connect/models/events/action-attempts.ts +19 -0
- package/src/lib/seam/connect/models/events/seam-event.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +130 -37
- package/src/lib/seam/connect/route-types.ts +245 -170
- package/lib/seam/connect/models/action-attempts/encode-card.js.map +0 -1
- package/lib/seam/connect/models/action-attempts/scan-card.js.map +0 -1
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@ import { z } from 'zod'
|
|
|
2
2
|
|
|
3
3
|
import { activate_climate_preset_action_attempt } from './activate-climate-preset.js'
|
|
4
4
|
import { deprecated_action_attempts } from './deprecated.js'
|
|
5
|
-
import {
|
|
5
|
+
import { encode_credential_action_attempt } from './encode-credential.js'
|
|
6
6
|
import { lock_door_action_attempt } from './lock-door.js'
|
|
7
7
|
import { reset_sandbox_workspace_action_attempt } from './reset-sandbox-workspace.js'
|
|
8
|
-
import {
|
|
8
|
+
import { scan_credential_action_attempt } from './scan-credential.js'
|
|
9
9
|
import { set_cool_action_attempt } from './set-cool.js'
|
|
10
10
|
import { set_fan_mode_action_attempt } from './set-fan-mode.js'
|
|
11
11
|
import { set_heat_action_attempt } from './set-heat.js'
|
|
@@ -16,8 +16,8 @@ import { unlock_door_action_attempt } from './unlock-door.js'
|
|
|
16
16
|
export const action_attempt = z.union([
|
|
17
17
|
...lock_door_action_attempt.options,
|
|
18
18
|
...unlock_door_action_attempt.options,
|
|
19
|
-
...
|
|
20
|
-
...
|
|
19
|
+
...scan_credential_action_attempt.options,
|
|
20
|
+
...encode_credential_action_attempt.options,
|
|
21
21
|
...reset_sandbox_workspace_action_attempt.options,
|
|
22
22
|
...set_cool_action_attempt.options,
|
|
23
23
|
...set_heat_action_attempt.options,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
common_succeeded_action_attempt,
|
|
12
12
|
} from './common.js'
|
|
13
13
|
|
|
14
|
-
const action_type = z.literal('
|
|
14
|
+
const action_type = z.literal('ENCODE_CREDENTIAL')
|
|
15
15
|
|
|
16
16
|
const no_card_on_encoder_error = z.object({
|
|
17
17
|
type: z.literal('no_card_on_encoder'),
|
|
@@ -31,21 +31,23 @@ const error = z.union([
|
|
|
31
31
|
|
|
32
32
|
const result = acs_credential.or(unmanaged_acs_credential)
|
|
33
33
|
|
|
34
|
-
export const
|
|
34
|
+
export const encode_credential_action_attempt = z.discriminatedUnion('status', [
|
|
35
35
|
common_pending_action_attempt
|
|
36
36
|
.extend({
|
|
37
37
|
action_type,
|
|
38
38
|
})
|
|
39
|
-
.describe('Encoding
|
|
39
|
+
.describe('Encoding credential data from physical encoder.'),
|
|
40
40
|
common_succeeded_action_attempt
|
|
41
41
|
.extend({
|
|
42
42
|
action_type,
|
|
43
43
|
result,
|
|
44
44
|
})
|
|
45
|
-
.describe('Encoding
|
|
45
|
+
.describe('Encoding credential data from physical encoder succeeded.'),
|
|
46
46
|
common_failed_action_attempt
|
|
47
47
|
.extend({ action_type, error })
|
|
48
|
-
.describe('Encoding
|
|
48
|
+
.describe('Encoding credential data from physical encoder failed.'),
|
|
49
49
|
])
|
|
50
50
|
|
|
51
|
-
export type
|
|
51
|
+
export type EncodeCredentialActionAttempt = z.infer<
|
|
52
|
+
typeof encode_credential_action_attempt
|
|
53
|
+
>
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
common_succeeded_action_attempt,
|
|
13
13
|
} from './common.js'
|
|
14
14
|
|
|
15
|
-
const action_type = z.literal('
|
|
15
|
+
const action_type = z.literal('SCAN_CREDENTIAL')
|
|
16
16
|
|
|
17
17
|
const no_card_on_encoder_error = z.object({
|
|
18
18
|
type: z.literal('no_card_on_encoder'),
|
|
@@ -33,7 +33,7 @@ const acs_credential_on_seam = acs_credential.or(unmanaged_acs_credential)
|
|
|
33
33
|
|
|
34
34
|
const result = z.object({
|
|
35
35
|
acs_credential_on_encoder: acs_credential_on_encoder.describe(
|
|
36
|
-
'Snapshot of
|
|
36
|
+
'Snapshot of credential data read from physical encoder.',
|
|
37
37
|
),
|
|
38
38
|
acs_credential_on_seam: acs_credential_on_seam
|
|
39
39
|
.nullable()
|
|
@@ -41,21 +41,23 @@ const result = z.object({
|
|
|
41
41
|
warnings: z.array(warning),
|
|
42
42
|
})
|
|
43
43
|
|
|
44
|
-
export const
|
|
44
|
+
export const scan_credential_action_attempt = z.discriminatedUnion('status', [
|
|
45
45
|
common_pending_action_attempt
|
|
46
46
|
.extend({
|
|
47
47
|
action_type,
|
|
48
48
|
})
|
|
49
|
-
.describe('Reading
|
|
49
|
+
.describe('Reading credential data from physical encoder.'),
|
|
50
50
|
common_succeeded_action_attempt
|
|
51
51
|
.extend({
|
|
52
52
|
action_type,
|
|
53
53
|
result,
|
|
54
54
|
})
|
|
55
|
-
.describe('Reading
|
|
55
|
+
.describe('Reading credential data from physical encoder succeeded.'),
|
|
56
56
|
common_failed_action_attempt
|
|
57
57
|
.extend({ action_type, error })
|
|
58
|
-
.describe('Reading
|
|
58
|
+
.describe('Reading credential data from physical encoder failed.'),
|
|
59
59
|
])
|
|
60
60
|
|
|
61
|
-
export type
|
|
61
|
+
export type ScanCredentialActionAttempt = z.infer<
|
|
62
|
+
typeof scan_credential_action_attempt
|
|
63
|
+
>
|
|
@@ -105,6 +105,7 @@ export type PhoneDeviceType = z.infer<typeof phone_device_type>
|
|
|
105
105
|
/** Encoders */
|
|
106
106
|
export const ENCODER_DEVICE_TYPE = {
|
|
107
107
|
VISIONLINE_ENCODER: 'visionline_encoder',
|
|
108
|
+
ASSA_ABLOY_VOSTIO_ENCODER: 'assa_abloy_vostio_encoder',
|
|
108
109
|
} as const
|
|
109
110
|
|
|
110
111
|
type EncoderDeviceTypeFromMapping =
|
|
@@ -16,4 +16,13 @@ export type AcsCredentialDeletedEvent = z.infer<
|
|
|
16
16
|
typeof acs_credential_deleted_event
|
|
17
17
|
>
|
|
18
18
|
|
|
19
|
-
export const
|
|
19
|
+
export const acs_credential_issued = acs_credential_event
|
|
20
|
+
.extend({
|
|
21
|
+
event_type: z.literal('acs_credential.issued'),
|
|
22
|
+
})
|
|
23
|
+
.describe('An ACS credential was issued.')
|
|
24
|
+
|
|
25
|
+
export const acs_credential_events = [
|
|
26
|
+
acs_credential_deleted_event,
|
|
27
|
+
acs_credential_issued,
|
|
28
|
+
] as const
|
|
@@ -34,3 +34,22 @@ export const action_attempt_lock_door_failed_event = action_attempt_event
|
|
|
34
34
|
event_type: z.literal('action_attempt.lock_door.failed'),
|
|
35
35
|
})
|
|
36
36
|
.describe('A lock door action attempt failed.')
|
|
37
|
+
|
|
38
|
+
export const action_attempt_unlock_door_succeeded_event = action_attempt_event
|
|
39
|
+
.extend({
|
|
40
|
+
event_type: z.literal('action_attempt.unlock_door.succeeded'),
|
|
41
|
+
})
|
|
42
|
+
.describe('An unlock door action attempt succeeded.')
|
|
43
|
+
|
|
44
|
+
export const action_attempt_unlock_door_failed_event = action_attempt_event
|
|
45
|
+
.extend({
|
|
46
|
+
event_type: z.literal('action_attempt.unlock_door.failed'),
|
|
47
|
+
})
|
|
48
|
+
.describe('An unlock door action attempt failed.')
|
|
49
|
+
|
|
50
|
+
export const action_attempt_events = [
|
|
51
|
+
action_attempt_lock_door_succeeded_event,
|
|
52
|
+
action_attempt_lock_door_failed_event,
|
|
53
|
+
action_attempt_unlock_door_succeeded_event,
|
|
54
|
+
action_attempt_unlock_door_failed_event,
|
|
55
|
+
]
|
|
@@ -2,6 +2,7 @@ import { z } from 'zod'
|
|
|
2
2
|
|
|
3
3
|
import { access_code_events } from './access-codes.js'
|
|
4
4
|
import { acs_events } from './acs/index.js'
|
|
5
|
+
import { action_attempt_events } from './action-attempts.js'
|
|
5
6
|
import { client_session_events } from './client-sessions.js'
|
|
6
7
|
import { connect_webview_events } from './connect-webviews.js'
|
|
7
8
|
import { connected_account_events } from './connected-accounts.js'
|
|
@@ -14,6 +15,7 @@ export const seam_event = z.discriminatedUnion('event_type', [
|
|
|
14
15
|
...acs_events,
|
|
15
16
|
...client_session_events,
|
|
16
17
|
...connected_account_events,
|
|
18
|
+
...action_attempt_events,
|
|
17
19
|
...connect_webview_events,
|
|
18
20
|
...device_events,
|
|
19
21
|
...enrollment_automation_events,
|
|
@@ -1347,7 +1347,7 @@ export default {
|
|
|
1347
1347
|
type: 'object',
|
|
1348
1348
|
},
|
|
1349
1349
|
{
|
|
1350
|
-
description: 'Reading
|
|
1350
|
+
description: 'Reading credential data from physical encoder.',
|
|
1351
1351
|
properties: {
|
|
1352
1352
|
action_attempt_id: {
|
|
1353
1353
|
description: 'The ID of the action attempt.',
|
|
@@ -1355,7 +1355,7 @@ export default {
|
|
|
1355
1355
|
type: 'string',
|
|
1356
1356
|
'x-title': 'Action Attempt ID',
|
|
1357
1357
|
},
|
|
1358
|
-
action_type: { enum: ['
|
|
1358
|
+
action_type: { enum: ['SCAN_CREDENTIAL'], type: 'string' },
|
|
1359
1359
|
error: { nullable: true },
|
|
1360
1360
|
result: { nullable: true },
|
|
1361
1361
|
status: { enum: ['pending'], type: 'string' },
|
|
@@ -1370,7 +1370,8 @@ export default {
|
|
|
1370
1370
|
type: 'object',
|
|
1371
1371
|
},
|
|
1372
1372
|
{
|
|
1373
|
-
description:
|
|
1373
|
+
description:
|
|
1374
|
+
'Reading credential data from physical encoder succeeded.',
|
|
1374
1375
|
properties: {
|
|
1375
1376
|
action_attempt_id: {
|
|
1376
1377
|
description: 'The ID of the action attempt.',
|
|
@@ -1378,13 +1379,13 @@ export default {
|
|
|
1378
1379
|
type: 'string',
|
|
1379
1380
|
'x-title': 'Action Attempt ID',
|
|
1380
1381
|
},
|
|
1381
|
-
action_type: { enum: ['
|
|
1382
|
+
action_type: { enum: ['SCAN_CREDENTIAL'], type: 'string' },
|
|
1382
1383
|
error: { nullable: true },
|
|
1383
1384
|
result: {
|
|
1384
1385
|
properties: {
|
|
1385
1386
|
acs_credential_on_encoder: {
|
|
1386
1387
|
description:
|
|
1387
|
-
'Snapshot of
|
|
1388
|
+
'Snapshot of credential data read from physical encoder.',
|
|
1388
1389
|
properties: {
|
|
1389
1390
|
card_number: {
|
|
1390
1391
|
description:
|
|
@@ -1856,7 +1857,8 @@ export default {
|
|
|
1856
1857
|
type: 'object',
|
|
1857
1858
|
},
|
|
1858
1859
|
{
|
|
1859
|
-
description:
|
|
1860
|
+
description:
|
|
1861
|
+
'Reading credential data from physical encoder failed.',
|
|
1860
1862
|
properties: {
|
|
1861
1863
|
action_attempt_id: {
|
|
1862
1864
|
description: 'The ID of the action attempt.',
|
|
@@ -1864,7 +1866,7 @@ export default {
|
|
|
1864
1866
|
type: 'string',
|
|
1865
1867
|
'x-title': 'Action Attempt ID',
|
|
1866
1868
|
},
|
|
1867
|
-
action_type: { enum: ['
|
|
1869
|
+
action_type: { enum: ['SCAN_CREDENTIAL'], type: 'string' },
|
|
1868
1870
|
error: {
|
|
1869
1871
|
oneOf: [
|
|
1870
1872
|
{
|
|
@@ -1909,7 +1911,7 @@ export default {
|
|
|
1909
1911
|
type: 'object',
|
|
1910
1912
|
},
|
|
1911
1913
|
{
|
|
1912
|
-
description: 'Encoding
|
|
1914
|
+
description: 'Encoding credential data from physical encoder.',
|
|
1913
1915
|
properties: {
|
|
1914
1916
|
action_attempt_id: {
|
|
1915
1917
|
description: 'The ID of the action attempt.',
|
|
@@ -1917,7 +1919,7 @@ export default {
|
|
|
1917
1919
|
type: 'string',
|
|
1918
1920
|
'x-title': 'Action Attempt ID',
|
|
1919
1921
|
},
|
|
1920
|
-
action_type: { enum: ['
|
|
1922
|
+
action_type: { enum: ['ENCODE_CREDENTIAL'], type: 'string' },
|
|
1921
1923
|
error: { nullable: true },
|
|
1922
1924
|
result: { nullable: true },
|
|
1923
1925
|
status: { enum: ['pending'], type: 'string' },
|
|
@@ -1932,7 +1934,8 @@ export default {
|
|
|
1932
1934
|
type: 'object',
|
|
1933
1935
|
},
|
|
1934
1936
|
{
|
|
1935
|
-
description:
|
|
1937
|
+
description:
|
|
1938
|
+
'Encoding credential data from physical encoder succeeded.',
|
|
1936
1939
|
properties: {
|
|
1937
1940
|
action_attempt_id: {
|
|
1938
1941
|
description: 'The ID of the action attempt.',
|
|
@@ -1940,7 +1943,7 @@ export default {
|
|
|
1940
1943
|
type: 'string',
|
|
1941
1944
|
'x-title': 'Action Attempt ID',
|
|
1942
1945
|
},
|
|
1943
|
-
action_type: { enum: ['
|
|
1946
|
+
action_type: { enum: ['ENCODE_CREDENTIAL'], type: 'string' },
|
|
1944
1947
|
error: { nullable: true },
|
|
1945
1948
|
result: {
|
|
1946
1949
|
description:
|
|
@@ -2308,7 +2311,8 @@ export default {
|
|
|
2308
2311
|
type: 'object',
|
|
2309
2312
|
},
|
|
2310
2313
|
{
|
|
2311
|
-
description:
|
|
2314
|
+
description:
|
|
2315
|
+
'Encoding credential data from physical encoder failed.',
|
|
2312
2316
|
properties: {
|
|
2313
2317
|
action_attempt_id: {
|
|
2314
2318
|
description: 'The ID of the action attempt.',
|
|
@@ -2316,7 +2320,7 @@ export default {
|
|
|
2316
2320
|
type: 'string',
|
|
2317
2321
|
'x-title': 'Action Attempt ID',
|
|
2318
2322
|
},
|
|
2319
|
-
action_type: { enum: ['
|
|
2323
|
+
action_type: { enum: ['ENCODE_CREDENTIAL'], type: 'string' },
|
|
2320
2324
|
error: {
|
|
2321
2325
|
oneOf: [
|
|
2322
2326
|
{
|
|
@@ -3702,7 +3706,10 @@ export default {
|
|
|
3702
3706
|
type: 'string',
|
|
3703
3707
|
},
|
|
3704
3708
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
3705
|
-
{
|
|
3709
|
+
{
|
|
3710
|
+
enum: ['visionline_encoder', 'assa_abloy_vostio_encoder'],
|
|
3711
|
+
type: 'string',
|
|
3712
|
+
},
|
|
3706
3713
|
],
|
|
3707
3714
|
},
|
|
3708
3715
|
display_name: {
|
|
@@ -3992,6 +3999,11 @@ export default {
|
|
|
3992
3999
|
required: ['gadget_name', 'gadget_id'],
|
|
3993
4000
|
type: 'object',
|
|
3994
4001
|
},
|
|
4002
|
+
assa_abloy_vostio_metadata: {
|
|
4003
|
+
properties: { encoder_id: { type: 'string' } },
|
|
4004
|
+
required: ['encoder_id'],
|
|
4005
|
+
type: 'object',
|
|
4006
|
+
},
|
|
3995
4007
|
august_metadata: {
|
|
3996
4008
|
properties: {
|
|
3997
4009
|
has_keypad: { type: 'boolean' },
|
|
@@ -5490,7 +5502,10 @@ export default {
|
|
|
5490
5502
|
type: 'string',
|
|
5491
5503
|
},
|
|
5492
5504
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
5493
|
-
{
|
|
5505
|
+
{
|
|
5506
|
+
enum: ['visionline_encoder', 'assa_abloy_vostio_encoder'],
|
|
5507
|
+
type: 'string',
|
|
5508
|
+
},
|
|
5494
5509
|
],
|
|
5495
5510
|
},
|
|
5496
5511
|
errors: {
|
|
@@ -8052,6 +8067,7 @@ export default {
|
|
|
8052
8067
|
'Visionline-specific metadata for the new credential.',
|
|
8053
8068
|
properties: {
|
|
8054
8069
|
assa_abloy_credential_service_mobile_endpoint_id: {
|
|
8070
|
+
description: 'DEPRECATED: DO NOT USE',
|
|
8055
8071
|
format: 'uuid',
|
|
8056
8072
|
type: 'string',
|
|
8057
8073
|
},
|
|
@@ -9178,16 +9194,25 @@ export default {
|
|
|
9178
9194
|
'x-title': 'Update a Credential',
|
|
9179
9195
|
},
|
|
9180
9196
|
},
|
|
9181
|
-
'/acs/encoders/
|
|
9197
|
+
'/acs/encoders/encode_credential': {
|
|
9182
9198
|
post: {
|
|
9183
|
-
operationId: '
|
|
9199
|
+
operationId: 'acsEncodersEncodeCredentialPost',
|
|
9184
9200
|
requestBody: {
|
|
9185
9201
|
content: {
|
|
9186
9202
|
'application/json': {
|
|
9187
9203
|
schema: {
|
|
9188
9204
|
properties: {
|
|
9189
|
-
acs_credential_id: {
|
|
9190
|
-
|
|
9205
|
+
acs_credential_id: {
|
|
9206
|
+
description:
|
|
9207
|
+
'ID of the acs_credential to encode on a physical card.',
|
|
9208
|
+
format: 'uuid',
|
|
9209
|
+
type: 'string',
|
|
9210
|
+
},
|
|
9211
|
+
device_id: {
|
|
9212
|
+
description: 'ID of the encoder to use for the encoding.',
|
|
9213
|
+
format: 'uuid',
|
|
9214
|
+
type: 'string',
|
|
9215
|
+
},
|
|
9191
9216
|
},
|
|
9192
9217
|
required: ['device_id', 'acs_credential_id'],
|
|
9193
9218
|
type: 'object',
|
|
@@ -9221,10 +9246,10 @@ export default {
|
|
|
9221
9246
|
{ console_session: [] },
|
|
9222
9247
|
{ api_key: [] },
|
|
9223
9248
|
],
|
|
9224
|
-
summary: '/acs/encoders/
|
|
9249
|
+
summary: '/acs/encoders/encode_credential',
|
|
9225
9250
|
tags: ['/acs'],
|
|
9226
9251
|
'x-fern-sdk-group-name': ['acs', 'encoders'],
|
|
9227
|
-
'x-fern-sdk-method-name': '
|
|
9252
|
+
'x-fern-sdk-method-name': 'encode_credential',
|
|
9228
9253
|
'x-fern-sdk-return-value': 'action_attempt',
|
|
9229
9254
|
'x-response-key': 'action_attempt',
|
|
9230
9255
|
'x-undocumented': 'Encoding a card is currently unimplemented.',
|
|
@@ -9316,16 +9341,24 @@ export default {
|
|
|
9316
9341
|
'x-undocumented': 'Encoders are in alpha.',
|
|
9317
9342
|
},
|
|
9318
9343
|
},
|
|
9319
|
-
'/acs/encoders/
|
|
9344
|
+
'/acs/encoders/scan_credential': {
|
|
9320
9345
|
post: {
|
|
9321
|
-
operationId: '
|
|
9346
|
+
operationId: 'acsEncodersScanCredentialPost',
|
|
9322
9347
|
requestBody: {
|
|
9323
9348
|
content: {
|
|
9324
9349
|
'application/json': {
|
|
9325
9350
|
schema: {
|
|
9326
9351
|
properties: {
|
|
9327
|
-
acs_system_id: {
|
|
9328
|
-
|
|
9352
|
+
acs_system_id: {
|
|
9353
|
+
description: 'ID of the acs_system the encoder belongs to.',
|
|
9354
|
+
format: 'uuid',
|
|
9355
|
+
type: 'string',
|
|
9356
|
+
},
|
|
9357
|
+
device_id: {
|
|
9358
|
+
description: 'ID of the encoder to use for the scan.',
|
|
9359
|
+
format: 'uuid',
|
|
9360
|
+
type: 'string',
|
|
9361
|
+
},
|
|
9329
9362
|
},
|
|
9330
9363
|
required: ['acs_system_id', 'device_id'],
|
|
9331
9364
|
type: 'object',
|
|
@@ -9359,10 +9392,10 @@ export default {
|
|
|
9359
9392
|
{ console_session: [] },
|
|
9360
9393
|
{ api_key: [] },
|
|
9361
9394
|
],
|
|
9362
|
-
summary: '/acs/encoders/
|
|
9395
|
+
summary: '/acs/encoders/scan_credential',
|
|
9363
9396
|
tags: ['/acs'],
|
|
9364
9397
|
'x-fern-sdk-group-name': ['acs', 'encoders'],
|
|
9365
|
-
'x-fern-sdk-method-name': '
|
|
9398
|
+
'x-fern-sdk-method-name': 'scan_credential',
|
|
9366
9399
|
'x-fern-sdk-return-value': 'action_attempt',
|
|
9367
9400
|
'x-response-key': 'action_attempt',
|
|
9368
9401
|
'x-undocumented': 'Reading a card is currently unimplemented.',
|
|
@@ -12667,7 +12700,13 @@ export default {
|
|
|
12667
12700
|
type: 'string',
|
|
12668
12701
|
},
|
|
12669
12702
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
12670
|
-
{
|
|
12703
|
+
{
|
|
12704
|
+
enum: [
|
|
12705
|
+
'visionline_encoder',
|
|
12706
|
+
'assa_abloy_vostio_encoder',
|
|
12707
|
+
],
|
|
12708
|
+
type: 'string',
|
|
12709
|
+
},
|
|
12671
12710
|
],
|
|
12672
12711
|
},
|
|
12673
12712
|
device_types: {
|
|
@@ -12721,7 +12760,13 @@ export default {
|
|
|
12721
12760
|
enum: ['ios_phone', 'android_phone'],
|
|
12722
12761
|
type: 'string',
|
|
12723
12762
|
},
|
|
12724
|
-
{
|
|
12763
|
+
{
|
|
12764
|
+
enum: [
|
|
12765
|
+
'visionline_encoder',
|
|
12766
|
+
'assa_abloy_vostio_encoder',
|
|
12767
|
+
],
|
|
12768
|
+
type: 'string',
|
|
12769
|
+
},
|
|
12725
12770
|
],
|
|
12726
12771
|
},
|
|
12727
12772
|
type: 'array',
|
|
@@ -13160,7 +13205,13 @@ export default {
|
|
|
13160
13205
|
type: 'string',
|
|
13161
13206
|
},
|
|
13162
13207
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
13163
|
-
{
|
|
13208
|
+
{
|
|
13209
|
+
enum: [
|
|
13210
|
+
'visionline_encoder',
|
|
13211
|
+
'assa_abloy_vostio_encoder',
|
|
13212
|
+
],
|
|
13213
|
+
type: 'string',
|
|
13214
|
+
},
|
|
13164
13215
|
],
|
|
13165
13216
|
},
|
|
13166
13217
|
device_types: {
|
|
@@ -13214,7 +13265,13 @@ export default {
|
|
|
13214
13265
|
enum: ['ios_phone', 'android_phone'],
|
|
13215
13266
|
type: 'string',
|
|
13216
13267
|
},
|
|
13217
|
-
{
|
|
13268
|
+
{
|
|
13269
|
+
enum: [
|
|
13270
|
+
'visionline_encoder',
|
|
13271
|
+
'assa_abloy_vostio_encoder',
|
|
13272
|
+
],
|
|
13273
|
+
type: 'string',
|
|
13274
|
+
},
|
|
13218
13275
|
],
|
|
13219
13276
|
},
|
|
13220
13277
|
type: 'array',
|
|
@@ -13953,7 +14010,13 @@ export default {
|
|
|
13953
14010
|
type: 'string',
|
|
13954
14011
|
},
|
|
13955
14012
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
13956
|
-
{
|
|
14013
|
+
{
|
|
14014
|
+
enum: [
|
|
14015
|
+
'visionline_encoder',
|
|
14016
|
+
'assa_abloy_vostio_encoder',
|
|
14017
|
+
],
|
|
14018
|
+
type: 'string',
|
|
14019
|
+
},
|
|
13957
14020
|
],
|
|
13958
14021
|
},
|
|
13959
14022
|
device_types: {
|
|
@@ -14007,7 +14070,13 @@ export default {
|
|
|
14007
14070
|
enum: ['ios_phone', 'android_phone'],
|
|
14008
14071
|
type: 'string',
|
|
14009
14072
|
},
|
|
14010
|
-
{
|
|
14073
|
+
{
|
|
14074
|
+
enum: [
|
|
14075
|
+
'visionline_encoder',
|
|
14076
|
+
'assa_abloy_vostio_encoder',
|
|
14077
|
+
],
|
|
14078
|
+
type: 'string',
|
|
14079
|
+
},
|
|
14011
14080
|
],
|
|
14012
14081
|
},
|
|
14013
14082
|
type: 'array',
|
|
@@ -14408,7 +14477,13 @@ export default {
|
|
|
14408
14477
|
type: 'string',
|
|
14409
14478
|
},
|
|
14410
14479
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
14411
|
-
{
|
|
14480
|
+
{
|
|
14481
|
+
enum: [
|
|
14482
|
+
'visionline_encoder',
|
|
14483
|
+
'assa_abloy_vostio_encoder',
|
|
14484
|
+
],
|
|
14485
|
+
type: 'string',
|
|
14486
|
+
},
|
|
14412
14487
|
],
|
|
14413
14488
|
},
|
|
14414
14489
|
device_types: {
|
|
@@ -14462,7 +14537,13 @@ export default {
|
|
|
14462
14537
|
enum: ['ios_phone', 'android_phone'],
|
|
14463
14538
|
type: 'string',
|
|
14464
14539
|
},
|
|
14465
|
-
{
|
|
14540
|
+
{
|
|
14541
|
+
enum: [
|
|
14542
|
+
'visionline_encoder',
|
|
14543
|
+
'assa_abloy_vostio_encoder',
|
|
14544
|
+
],
|
|
14545
|
+
type: 'string',
|
|
14546
|
+
},
|
|
14466
14547
|
],
|
|
14467
14548
|
},
|
|
14468
14549
|
type: 'array',
|
|
@@ -15675,7 +15756,13 @@ export default {
|
|
|
15675
15756
|
type: 'string',
|
|
15676
15757
|
},
|
|
15677
15758
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
15678
|
-
{
|
|
15759
|
+
{
|
|
15760
|
+
enum: [
|
|
15761
|
+
'visionline_encoder',
|
|
15762
|
+
'assa_abloy_vostio_encoder',
|
|
15763
|
+
],
|
|
15764
|
+
type: 'string',
|
|
15765
|
+
},
|
|
15679
15766
|
],
|
|
15680
15767
|
},
|
|
15681
15768
|
device_types: {
|
|
@@ -15729,7 +15816,13 @@ export default {
|
|
|
15729
15816
|
enum: ['ios_phone', 'android_phone'],
|
|
15730
15817
|
type: 'string',
|
|
15731
15818
|
},
|
|
15732
|
-
{
|
|
15819
|
+
{
|
|
15820
|
+
enum: [
|
|
15821
|
+
'visionline_encoder',
|
|
15822
|
+
'assa_abloy_vostio_encoder',
|
|
15823
|
+
],
|
|
15824
|
+
type: 'string',
|
|
15825
|
+
},
|
|
15733
15826
|
],
|
|
15734
15827
|
},
|
|
15735
15828
|
type: 'array',
|