@seamapi/types 1.286.0 → 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 +197 -56
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +454 -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 +20 -2
- package/lib/seam/connect/openapi.js +129 -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 +136 -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: {
|
|
@@ -7600,6 +7615,8 @@ export default {
|
|
|
7600
7615
|
'x-fern-sdk-method-name': 'get',
|
|
7601
7616
|
'x-fern-sdk-return-value': 'acs_access_group',
|
|
7602
7617
|
'x-response-key': 'acs_access_group',
|
|
7618
|
+
'x-undocumented':
|
|
7619
|
+
'No unmanaged access groups are currently implemented.',
|
|
7603
7620
|
},
|
|
7604
7621
|
},
|
|
7605
7622
|
'/acs/access_groups/unmanaged/list': {
|
|
@@ -7741,6 +7758,8 @@ export default {
|
|
|
7741
7758
|
'x-fern-sdk-method-name': 'list',
|
|
7742
7759
|
'x-fern-sdk-return-value': 'acs_access_groups',
|
|
7743
7760
|
'x-response-key': 'acs_access_groups',
|
|
7761
|
+
'x-undocumented':
|
|
7762
|
+
'No unmanaged access groups are currently implemented.',
|
|
7744
7763
|
},
|
|
7745
7764
|
},
|
|
7746
7765
|
'/acs/credential_pools/list': {
|
|
@@ -8048,6 +8067,7 @@ export default {
|
|
|
8048
8067
|
'Visionline-specific metadata for the new credential.',
|
|
8049
8068
|
properties: {
|
|
8050
8069
|
assa_abloy_credential_service_mobile_endpoint_id: {
|
|
8070
|
+
description: 'DEPRECATED: DO NOT USE',
|
|
8051
8071
|
format: 'uuid',
|
|
8052
8072
|
type: 'string',
|
|
8053
8073
|
},
|
|
@@ -8760,6 +8780,7 @@ export default {
|
|
|
8760
8780
|
'x-fern-sdk-return-value': 'acs_credential',
|
|
8761
8781
|
'x-response-key': 'acs_credential',
|
|
8762
8782
|
'x-title': 'Get an Unmanaged Credential',
|
|
8783
|
+
'x-undocumented': 'No unmanaged credentials are currently implemented.',
|
|
8763
8784
|
},
|
|
8764
8785
|
},
|
|
8765
8786
|
'/acs/credentials/unmanaged/list': {
|
|
@@ -9039,6 +9060,7 @@ export default {
|
|
|
9039
9060
|
'x-fern-sdk-return-value': 'acs_credentials',
|
|
9040
9061
|
'x-response-key': 'acs_credentials',
|
|
9041
9062
|
'x-title': 'List Unmanaged Credentials',
|
|
9063
|
+
'x-undocumented': 'No unmanaged credentials are currently implemented.',
|
|
9042
9064
|
},
|
|
9043
9065
|
},
|
|
9044
9066
|
'/acs/credentials/update': {
|
|
@@ -9172,16 +9194,25 @@ export default {
|
|
|
9172
9194
|
'x-title': 'Update a Credential',
|
|
9173
9195
|
},
|
|
9174
9196
|
},
|
|
9175
|
-
'/acs/encoders/
|
|
9197
|
+
'/acs/encoders/encode_credential': {
|
|
9176
9198
|
post: {
|
|
9177
|
-
operationId: '
|
|
9199
|
+
operationId: 'acsEncodersEncodeCredentialPost',
|
|
9178
9200
|
requestBody: {
|
|
9179
9201
|
content: {
|
|
9180
9202
|
'application/json': {
|
|
9181
9203
|
schema: {
|
|
9182
9204
|
properties: {
|
|
9183
|
-
acs_credential_id: {
|
|
9184
|
-
|
|
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
|
+
},
|
|
9185
9216
|
},
|
|
9186
9217
|
required: ['device_id', 'acs_credential_id'],
|
|
9187
9218
|
type: 'object',
|
|
@@ -9215,10 +9246,10 @@ export default {
|
|
|
9215
9246
|
{ console_session: [] },
|
|
9216
9247
|
{ api_key: [] },
|
|
9217
9248
|
],
|
|
9218
|
-
summary: '/acs/encoders/
|
|
9249
|
+
summary: '/acs/encoders/encode_credential',
|
|
9219
9250
|
tags: ['/acs'],
|
|
9220
9251
|
'x-fern-sdk-group-name': ['acs', 'encoders'],
|
|
9221
|
-
'x-fern-sdk-method-name': '
|
|
9252
|
+
'x-fern-sdk-method-name': 'encode_credential',
|
|
9222
9253
|
'x-fern-sdk-return-value': 'action_attempt',
|
|
9223
9254
|
'x-response-key': 'action_attempt',
|
|
9224
9255
|
'x-undocumented': 'Encoding a card is currently unimplemented.',
|
|
@@ -9310,16 +9341,24 @@ export default {
|
|
|
9310
9341
|
'x-undocumented': 'Encoders are in alpha.',
|
|
9311
9342
|
},
|
|
9312
9343
|
},
|
|
9313
|
-
'/acs/encoders/
|
|
9344
|
+
'/acs/encoders/scan_credential': {
|
|
9314
9345
|
post: {
|
|
9315
|
-
operationId: '
|
|
9346
|
+
operationId: 'acsEncodersScanCredentialPost',
|
|
9316
9347
|
requestBody: {
|
|
9317
9348
|
content: {
|
|
9318
9349
|
'application/json': {
|
|
9319
9350
|
schema: {
|
|
9320
9351
|
properties: {
|
|
9321
|
-
acs_system_id: {
|
|
9322
|
-
|
|
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
|
+
},
|
|
9323
9362
|
},
|
|
9324
9363
|
required: ['acs_system_id', 'device_id'],
|
|
9325
9364
|
type: 'object',
|
|
@@ -9353,10 +9392,10 @@ export default {
|
|
|
9353
9392
|
{ console_session: [] },
|
|
9354
9393
|
{ api_key: [] },
|
|
9355
9394
|
],
|
|
9356
|
-
summary: '/acs/encoders/
|
|
9395
|
+
summary: '/acs/encoders/scan_credential',
|
|
9357
9396
|
tags: ['/acs'],
|
|
9358
9397
|
'x-fern-sdk-group-name': ['acs', 'encoders'],
|
|
9359
|
-
'x-fern-sdk-method-name': '
|
|
9398
|
+
'x-fern-sdk-method-name': 'scan_credential',
|
|
9360
9399
|
'x-fern-sdk-return-value': 'action_attempt',
|
|
9361
9400
|
'x-response-key': 'action_attempt',
|
|
9362
9401
|
'x-undocumented': 'Reading a card is currently unimplemented.',
|
|
@@ -12661,7 +12700,13 @@ export default {
|
|
|
12661
12700
|
type: 'string',
|
|
12662
12701
|
},
|
|
12663
12702
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
12664
|
-
{
|
|
12703
|
+
{
|
|
12704
|
+
enum: [
|
|
12705
|
+
'visionline_encoder',
|
|
12706
|
+
'assa_abloy_vostio_encoder',
|
|
12707
|
+
],
|
|
12708
|
+
type: 'string',
|
|
12709
|
+
},
|
|
12665
12710
|
],
|
|
12666
12711
|
},
|
|
12667
12712
|
device_types: {
|
|
@@ -12715,7 +12760,13 @@ export default {
|
|
|
12715
12760
|
enum: ['ios_phone', 'android_phone'],
|
|
12716
12761
|
type: 'string',
|
|
12717
12762
|
},
|
|
12718
|
-
{
|
|
12763
|
+
{
|
|
12764
|
+
enum: [
|
|
12765
|
+
'visionline_encoder',
|
|
12766
|
+
'assa_abloy_vostio_encoder',
|
|
12767
|
+
],
|
|
12768
|
+
type: 'string',
|
|
12769
|
+
},
|
|
12719
12770
|
],
|
|
12720
12771
|
},
|
|
12721
12772
|
type: 'array',
|
|
@@ -13154,7 +13205,13 @@ export default {
|
|
|
13154
13205
|
type: 'string',
|
|
13155
13206
|
},
|
|
13156
13207
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
13157
|
-
{
|
|
13208
|
+
{
|
|
13209
|
+
enum: [
|
|
13210
|
+
'visionline_encoder',
|
|
13211
|
+
'assa_abloy_vostio_encoder',
|
|
13212
|
+
],
|
|
13213
|
+
type: 'string',
|
|
13214
|
+
},
|
|
13158
13215
|
],
|
|
13159
13216
|
},
|
|
13160
13217
|
device_types: {
|
|
@@ -13208,7 +13265,13 @@ export default {
|
|
|
13208
13265
|
enum: ['ios_phone', 'android_phone'],
|
|
13209
13266
|
type: 'string',
|
|
13210
13267
|
},
|
|
13211
|
-
{
|
|
13268
|
+
{
|
|
13269
|
+
enum: [
|
|
13270
|
+
'visionline_encoder',
|
|
13271
|
+
'assa_abloy_vostio_encoder',
|
|
13272
|
+
],
|
|
13273
|
+
type: 'string',
|
|
13274
|
+
},
|
|
13212
13275
|
],
|
|
13213
13276
|
},
|
|
13214
13277
|
type: 'array',
|
|
@@ -13947,7 +14010,13 @@ export default {
|
|
|
13947
14010
|
type: 'string',
|
|
13948
14011
|
},
|
|
13949
14012
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
13950
|
-
{
|
|
14013
|
+
{
|
|
14014
|
+
enum: [
|
|
14015
|
+
'visionline_encoder',
|
|
14016
|
+
'assa_abloy_vostio_encoder',
|
|
14017
|
+
],
|
|
14018
|
+
type: 'string',
|
|
14019
|
+
},
|
|
13951
14020
|
],
|
|
13952
14021
|
},
|
|
13953
14022
|
device_types: {
|
|
@@ -14001,7 +14070,13 @@ export default {
|
|
|
14001
14070
|
enum: ['ios_phone', 'android_phone'],
|
|
14002
14071
|
type: 'string',
|
|
14003
14072
|
},
|
|
14004
|
-
{
|
|
14073
|
+
{
|
|
14074
|
+
enum: [
|
|
14075
|
+
'visionline_encoder',
|
|
14076
|
+
'assa_abloy_vostio_encoder',
|
|
14077
|
+
],
|
|
14078
|
+
type: 'string',
|
|
14079
|
+
},
|
|
14005
14080
|
],
|
|
14006
14081
|
},
|
|
14007
14082
|
type: 'array',
|
|
@@ -14402,7 +14477,13 @@ export default {
|
|
|
14402
14477
|
type: 'string',
|
|
14403
14478
|
},
|
|
14404
14479
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
14405
|
-
{
|
|
14480
|
+
{
|
|
14481
|
+
enum: [
|
|
14482
|
+
'visionline_encoder',
|
|
14483
|
+
'assa_abloy_vostio_encoder',
|
|
14484
|
+
],
|
|
14485
|
+
type: 'string',
|
|
14486
|
+
},
|
|
14406
14487
|
],
|
|
14407
14488
|
},
|
|
14408
14489
|
device_types: {
|
|
@@ -14456,7 +14537,13 @@ export default {
|
|
|
14456
14537
|
enum: ['ios_phone', 'android_phone'],
|
|
14457
14538
|
type: 'string',
|
|
14458
14539
|
},
|
|
14459
|
-
{
|
|
14540
|
+
{
|
|
14541
|
+
enum: [
|
|
14542
|
+
'visionline_encoder',
|
|
14543
|
+
'assa_abloy_vostio_encoder',
|
|
14544
|
+
],
|
|
14545
|
+
type: 'string',
|
|
14546
|
+
},
|
|
14460
14547
|
],
|
|
14461
14548
|
},
|
|
14462
14549
|
type: 'array',
|
|
@@ -15669,7 +15756,13 @@ export default {
|
|
|
15669
15756
|
type: 'string',
|
|
15670
15757
|
},
|
|
15671
15758
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
15672
|
-
{
|
|
15759
|
+
{
|
|
15760
|
+
enum: [
|
|
15761
|
+
'visionline_encoder',
|
|
15762
|
+
'assa_abloy_vostio_encoder',
|
|
15763
|
+
],
|
|
15764
|
+
type: 'string',
|
|
15765
|
+
},
|
|
15673
15766
|
],
|
|
15674
15767
|
},
|
|
15675
15768
|
device_types: {
|
|
@@ -15723,7 +15816,13 @@ export default {
|
|
|
15723
15816
|
enum: ['ios_phone', 'android_phone'],
|
|
15724
15817
|
type: 'string',
|
|
15725
15818
|
},
|
|
15726
|
-
{
|
|
15819
|
+
{
|
|
15820
|
+
enum: [
|
|
15821
|
+
'visionline_encoder',
|
|
15822
|
+
'assa_abloy_vostio_encoder',
|
|
15823
|
+
],
|
|
15824
|
+
type: 'string',
|
|
15825
|
+
},
|
|
15727
15826
|
],
|
|
15728
15827
|
},
|
|
15729
15828
|
type: 'array',
|