@seamapi/types 1.286.1 → 1.286.3
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 +205 -60
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +458 -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 +24 -2
- package/lib/seam/connect/openapi.js +133 -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 +138 -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: {
|
|
@@ -7126,6 +7141,7 @@ export default {
|
|
|
7126
7141
|
'x-fern-sdk-group-name': ['acs', 'access_groups'],
|
|
7127
7142
|
'x-fern-sdk-method-name': 'add_user',
|
|
7128
7143
|
'x-response-key': null,
|
|
7144
|
+
'x-title': 'Add an ACS User to an Access Group',
|
|
7129
7145
|
},
|
|
7130
7146
|
put: {
|
|
7131
7147
|
description:
|
|
@@ -7178,6 +7194,7 @@ export default {
|
|
|
7178
7194
|
tags: ['/acs'],
|
|
7179
7195
|
'x-fern-ignore': true,
|
|
7180
7196
|
'x-response-key': null,
|
|
7197
|
+
'x-title': 'Add an ACS User to an Access Group',
|
|
7181
7198
|
},
|
|
7182
7199
|
},
|
|
7183
7200
|
'/acs/access_groups/get': {
|
|
@@ -7234,6 +7251,7 @@ export default {
|
|
|
7234
7251
|
'x-fern-sdk-method-name': 'get',
|
|
7235
7252
|
'x-fern-sdk-return-value': 'acs_access_group',
|
|
7236
7253
|
'x-response-key': 'acs_access_group',
|
|
7254
|
+
'x-title': 'Get an Access Group',
|
|
7237
7255
|
},
|
|
7238
7256
|
},
|
|
7239
7257
|
'/acs/access_groups/list': {
|
|
@@ -7297,6 +7315,7 @@ export default {
|
|
|
7297
7315
|
'x-fern-sdk-method-name': 'list',
|
|
7298
7316
|
'x-fern-sdk-return-value': 'acs_access_groups',
|
|
7299
7317
|
'x-response-key': 'acs_access_groups',
|
|
7318
|
+
'x-title': 'List Access Groups',
|
|
7300
7319
|
},
|
|
7301
7320
|
},
|
|
7302
7321
|
'/acs/access_groups/list_accessible_entrances': {
|
|
@@ -7355,6 +7374,7 @@ export default {
|
|
|
7355
7374
|
'x-fern-sdk-method-name': 'list_accessible_entrances',
|
|
7356
7375
|
'x-fern-sdk-return-value': 'acs_entrances',
|
|
7357
7376
|
'x-response-key': 'acs_entrances',
|
|
7377
|
+
'x-title': 'List Entrances Accessible to an Access Group',
|
|
7358
7378
|
},
|
|
7359
7379
|
},
|
|
7360
7380
|
'/acs/access_groups/list_users': {
|
|
@@ -7413,6 +7433,7 @@ export default {
|
|
|
7413
7433
|
'x-fern-sdk-method-name': 'list_users',
|
|
7414
7434
|
'x-fern-sdk-return-value': 'acs_users',
|
|
7415
7435
|
'x-response-key': 'acs_users',
|
|
7436
|
+
'x-title': 'List ACS Users in an Access Group',
|
|
7416
7437
|
},
|
|
7417
7438
|
},
|
|
7418
7439
|
'/acs/access_groups/remove_user': {
|
|
@@ -7468,6 +7489,7 @@ export default {
|
|
|
7468
7489
|
'x-fern-sdk-group-name': ['acs', 'access_groups'],
|
|
7469
7490
|
'x-fern-sdk-method-name': 'remove_user',
|
|
7470
7491
|
'x-response-key': null,
|
|
7492
|
+
'x-title': 'Remove an ACS User from an Access Group',
|
|
7471
7493
|
},
|
|
7472
7494
|
},
|
|
7473
7495
|
'/acs/access_groups/unmanaged/get': {
|
|
@@ -8052,6 +8074,7 @@ export default {
|
|
|
8052
8074
|
'Visionline-specific metadata for the new credential.',
|
|
8053
8075
|
properties: {
|
|
8054
8076
|
assa_abloy_credential_service_mobile_endpoint_id: {
|
|
8077
|
+
description: 'DEPRECATED: DO NOT USE',
|
|
8055
8078
|
format: 'uuid',
|
|
8056
8079
|
type: 'string',
|
|
8057
8080
|
},
|
|
@@ -9178,16 +9201,25 @@ export default {
|
|
|
9178
9201
|
'x-title': 'Update a Credential',
|
|
9179
9202
|
},
|
|
9180
9203
|
},
|
|
9181
|
-
'/acs/encoders/
|
|
9204
|
+
'/acs/encoders/encode_credential': {
|
|
9182
9205
|
post: {
|
|
9183
|
-
operationId: '
|
|
9206
|
+
operationId: 'acsEncodersEncodeCredentialPost',
|
|
9184
9207
|
requestBody: {
|
|
9185
9208
|
content: {
|
|
9186
9209
|
'application/json': {
|
|
9187
9210
|
schema: {
|
|
9188
9211
|
properties: {
|
|
9189
|
-
acs_credential_id: {
|
|
9190
|
-
|
|
9212
|
+
acs_credential_id: {
|
|
9213
|
+
description:
|
|
9214
|
+
'ID of the acs_credential to encode on a physical card.',
|
|
9215
|
+
format: 'uuid',
|
|
9216
|
+
type: 'string',
|
|
9217
|
+
},
|
|
9218
|
+
device_id: {
|
|
9219
|
+
description: 'ID of the encoder to use for the encoding.',
|
|
9220
|
+
format: 'uuid',
|
|
9221
|
+
type: 'string',
|
|
9222
|
+
},
|
|
9191
9223
|
},
|
|
9192
9224
|
required: ['device_id', 'acs_credential_id'],
|
|
9193
9225
|
type: 'object',
|
|
@@ -9221,10 +9253,10 @@ export default {
|
|
|
9221
9253
|
{ console_session: [] },
|
|
9222
9254
|
{ api_key: [] },
|
|
9223
9255
|
],
|
|
9224
|
-
summary: '/acs/encoders/
|
|
9256
|
+
summary: '/acs/encoders/encode_credential',
|
|
9225
9257
|
tags: ['/acs'],
|
|
9226
9258
|
'x-fern-sdk-group-name': ['acs', 'encoders'],
|
|
9227
|
-
'x-fern-sdk-method-name': '
|
|
9259
|
+
'x-fern-sdk-method-name': 'encode_credential',
|
|
9228
9260
|
'x-fern-sdk-return-value': 'action_attempt',
|
|
9229
9261
|
'x-response-key': 'action_attempt',
|
|
9230
9262
|
'x-undocumented': 'Encoding a card is currently unimplemented.',
|
|
@@ -9316,16 +9348,24 @@ export default {
|
|
|
9316
9348
|
'x-undocumented': 'Encoders are in alpha.',
|
|
9317
9349
|
},
|
|
9318
9350
|
},
|
|
9319
|
-
'/acs/encoders/
|
|
9351
|
+
'/acs/encoders/scan_credential': {
|
|
9320
9352
|
post: {
|
|
9321
|
-
operationId: '
|
|
9353
|
+
operationId: 'acsEncodersScanCredentialPost',
|
|
9322
9354
|
requestBody: {
|
|
9323
9355
|
content: {
|
|
9324
9356
|
'application/json': {
|
|
9325
9357
|
schema: {
|
|
9326
9358
|
properties: {
|
|
9327
|
-
acs_system_id: {
|
|
9328
|
-
|
|
9359
|
+
acs_system_id: {
|
|
9360
|
+
description: 'ID of the acs_system the encoder belongs to.',
|
|
9361
|
+
format: 'uuid',
|
|
9362
|
+
type: 'string',
|
|
9363
|
+
},
|
|
9364
|
+
device_id: {
|
|
9365
|
+
description: 'ID of the encoder to use for the scan.',
|
|
9366
|
+
format: 'uuid',
|
|
9367
|
+
type: 'string',
|
|
9368
|
+
},
|
|
9329
9369
|
},
|
|
9330
9370
|
required: ['acs_system_id', 'device_id'],
|
|
9331
9371
|
type: 'object',
|
|
@@ -9359,10 +9399,10 @@ export default {
|
|
|
9359
9399
|
{ console_session: [] },
|
|
9360
9400
|
{ api_key: [] },
|
|
9361
9401
|
],
|
|
9362
|
-
summary: '/acs/encoders/
|
|
9402
|
+
summary: '/acs/encoders/scan_credential',
|
|
9363
9403
|
tags: ['/acs'],
|
|
9364
9404
|
'x-fern-sdk-group-name': ['acs', 'encoders'],
|
|
9365
|
-
'x-fern-sdk-method-name': '
|
|
9405
|
+
'x-fern-sdk-method-name': 'scan_credential',
|
|
9366
9406
|
'x-fern-sdk-return-value': 'action_attempt',
|
|
9367
9407
|
'x-response-key': 'action_attempt',
|
|
9368
9408
|
'x-undocumented': 'Reading a card is currently unimplemented.',
|
|
@@ -9463,6 +9503,7 @@ export default {
|
|
|
9463
9503
|
'x-fern-sdk-group-name': ['acs', 'entrances'],
|
|
9464
9504
|
'x-fern-sdk-method-name': 'grant_access',
|
|
9465
9505
|
'x-response-key': null,
|
|
9506
|
+
'x-title': 'Grant an ACS User Access to an Entrance',
|
|
9466
9507
|
},
|
|
9467
9508
|
},
|
|
9468
9509
|
'/acs/entrances/list': {
|
|
@@ -12667,7 +12708,13 @@ export default {
|
|
|
12667
12708
|
type: 'string',
|
|
12668
12709
|
},
|
|
12669
12710
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
12670
|
-
{
|
|
12711
|
+
{
|
|
12712
|
+
enum: [
|
|
12713
|
+
'visionline_encoder',
|
|
12714
|
+
'assa_abloy_vostio_encoder',
|
|
12715
|
+
],
|
|
12716
|
+
type: 'string',
|
|
12717
|
+
},
|
|
12671
12718
|
],
|
|
12672
12719
|
},
|
|
12673
12720
|
device_types: {
|
|
@@ -12721,7 +12768,13 @@ export default {
|
|
|
12721
12768
|
enum: ['ios_phone', 'android_phone'],
|
|
12722
12769
|
type: 'string',
|
|
12723
12770
|
},
|
|
12724
|
-
{
|
|
12771
|
+
{
|
|
12772
|
+
enum: [
|
|
12773
|
+
'visionline_encoder',
|
|
12774
|
+
'assa_abloy_vostio_encoder',
|
|
12775
|
+
],
|
|
12776
|
+
type: 'string',
|
|
12777
|
+
},
|
|
12725
12778
|
],
|
|
12726
12779
|
},
|
|
12727
12780
|
type: 'array',
|
|
@@ -13160,7 +13213,13 @@ export default {
|
|
|
13160
13213
|
type: 'string',
|
|
13161
13214
|
},
|
|
13162
13215
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
13163
|
-
{
|
|
13216
|
+
{
|
|
13217
|
+
enum: [
|
|
13218
|
+
'visionline_encoder',
|
|
13219
|
+
'assa_abloy_vostio_encoder',
|
|
13220
|
+
],
|
|
13221
|
+
type: 'string',
|
|
13222
|
+
},
|
|
13164
13223
|
],
|
|
13165
13224
|
},
|
|
13166
13225
|
device_types: {
|
|
@@ -13214,7 +13273,13 @@ export default {
|
|
|
13214
13273
|
enum: ['ios_phone', 'android_phone'],
|
|
13215
13274
|
type: 'string',
|
|
13216
13275
|
},
|
|
13217
|
-
{
|
|
13276
|
+
{
|
|
13277
|
+
enum: [
|
|
13278
|
+
'visionline_encoder',
|
|
13279
|
+
'assa_abloy_vostio_encoder',
|
|
13280
|
+
],
|
|
13281
|
+
type: 'string',
|
|
13282
|
+
},
|
|
13218
13283
|
],
|
|
13219
13284
|
},
|
|
13220
13285
|
type: 'array',
|
|
@@ -13953,7 +14018,13 @@ export default {
|
|
|
13953
14018
|
type: 'string',
|
|
13954
14019
|
},
|
|
13955
14020
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
13956
|
-
{
|
|
14021
|
+
{
|
|
14022
|
+
enum: [
|
|
14023
|
+
'visionline_encoder',
|
|
14024
|
+
'assa_abloy_vostio_encoder',
|
|
14025
|
+
],
|
|
14026
|
+
type: 'string',
|
|
14027
|
+
},
|
|
13957
14028
|
],
|
|
13958
14029
|
},
|
|
13959
14030
|
device_types: {
|
|
@@ -14007,7 +14078,13 @@ export default {
|
|
|
14007
14078
|
enum: ['ios_phone', 'android_phone'],
|
|
14008
14079
|
type: 'string',
|
|
14009
14080
|
},
|
|
14010
|
-
{
|
|
14081
|
+
{
|
|
14082
|
+
enum: [
|
|
14083
|
+
'visionline_encoder',
|
|
14084
|
+
'assa_abloy_vostio_encoder',
|
|
14085
|
+
],
|
|
14086
|
+
type: 'string',
|
|
14087
|
+
},
|
|
14011
14088
|
],
|
|
14012
14089
|
},
|
|
14013
14090
|
type: 'array',
|
|
@@ -14408,7 +14485,13 @@ export default {
|
|
|
14408
14485
|
type: 'string',
|
|
14409
14486
|
},
|
|
14410
14487
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
14411
|
-
{
|
|
14488
|
+
{
|
|
14489
|
+
enum: [
|
|
14490
|
+
'visionline_encoder',
|
|
14491
|
+
'assa_abloy_vostio_encoder',
|
|
14492
|
+
],
|
|
14493
|
+
type: 'string',
|
|
14494
|
+
},
|
|
14412
14495
|
],
|
|
14413
14496
|
},
|
|
14414
14497
|
device_types: {
|
|
@@ -14462,7 +14545,13 @@ export default {
|
|
|
14462
14545
|
enum: ['ios_phone', 'android_phone'],
|
|
14463
14546
|
type: 'string',
|
|
14464
14547
|
},
|
|
14465
|
-
{
|
|
14548
|
+
{
|
|
14549
|
+
enum: [
|
|
14550
|
+
'visionline_encoder',
|
|
14551
|
+
'assa_abloy_vostio_encoder',
|
|
14552
|
+
],
|
|
14553
|
+
type: 'string',
|
|
14554
|
+
},
|
|
14466
14555
|
],
|
|
14467
14556
|
},
|
|
14468
14557
|
type: 'array',
|
|
@@ -15675,7 +15764,13 @@ export default {
|
|
|
15675
15764
|
type: 'string',
|
|
15676
15765
|
},
|
|
15677
15766
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
15678
|
-
{
|
|
15767
|
+
{
|
|
15768
|
+
enum: [
|
|
15769
|
+
'visionline_encoder',
|
|
15770
|
+
'assa_abloy_vostio_encoder',
|
|
15771
|
+
],
|
|
15772
|
+
type: 'string',
|
|
15773
|
+
},
|
|
15679
15774
|
],
|
|
15680
15775
|
},
|
|
15681
15776
|
device_types: {
|
|
@@ -15729,7 +15824,13 @@ export default {
|
|
|
15729
15824
|
enum: ['ios_phone', 'android_phone'],
|
|
15730
15825
|
type: 'string',
|
|
15731
15826
|
},
|
|
15732
|
-
{
|
|
15827
|
+
{
|
|
15828
|
+
enum: [
|
|
15829
|
+
'visionline_encoder',
|
|
15830
|
+
'assa_abloy_vostio_encoder',
|
|
15831
|
+
],
|
|
15832
|
+
type: 'string',
|
|
15833
|
+
},
|
|
15733
15834
|
],
|
|
15734
15835
|
},
|
|
15735
15836
|
type: 'array',
|