@seamapi/types 1.186.0 → 1.188.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 +1181 -16
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +5524 -672
- package/dist/devicedb.d.cts +20 -20
- package/lib/seam/connect/internal/model-types.d.ts +1 -1
- package/lib/seam/connect/internal/model-types.js.map +1 -1
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +2 -2
- package/lib/seam/connect/models/access-codes/managed-access-code.js +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +2 -2
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +0 -17
- package/lib/seam/connect/models/acs/acs-credential.js +1 -6
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +36 -53
- package/lib/seam/connect/models/acs/acs-entrance.js +5 -31
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +1 -2
- package/lib/seam/connect/models/acs/acs-system.js +9 -10
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/index.js +1 -0
- package/lib/seam/connect/models/acs/index.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/index.d.ts +2 -0
- package/lib/seam/connect/models/acs/metadata/index.js +3 -0
- package/lib/seam/connect/models/acs/metadata/index.js.map +1 -0
- package/lib/seam/connect/models/acs/metadata/latch.d.ts +18 -0
- package/lib/seam/connect/models/acs/metadata/latch.js +8 -0
- package/lib/seam/connect/models/acs/metadata/latch.js.map +1 -0
- package/lib/seam/connect/models/acs/metadata/visionline.d.ts +47 -0
- package/lib/seam/connect/models/acs/metadata/visionline.js +24 -0
- package/lib/seam/connect/models/acs/metadata/visionline.js.map +1 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +12 -12
- package/lib/seam/connect/models/devices/{managed-device.d.ts → device.d.ts} +38 -26
- package/lib/seam/connect/models/devices/{managed-device.js → device.js} +4 -2
- package/lib/seam/connect/models/devices/device.js.map +1 -0
- package/lib/seam/connect/models/devices/index.d.ts +1 -1
- package/lib/seam/connect/models/devices/index.js +1 -1
- package/lib/seam/connect/models/devices/index.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +6 -0
- package/lib/seam/connect/models/devices/phone.js +2 -2
- package/lib/seam/connect/models/devices/phone.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +11 -5
- package/lib/seam/connect/models/devices/unmanaged-device.js +2 -2
- package/lib/seam/connect/models/devices/unmanaged-device.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +143 -2
- package/lib/seam/connect/openapi.js +110 -7
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +98 -48
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/lib/seam/devicedb/models/device-model.d.ts +8 -8
- package/lib/seam/devicedb/route-specs.d.ts +12 -12
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/model-types.ts +4 -1
- package/src/lib/seam/connect/internal/schemas.ts +2 -2
- package/src/lib/seam/connect/model-types.ts +9 -0
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +2 -2
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +2 -2
- package/src/lib/seam/connect/models/acs/acs-credential.ts +2 -11
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +8 -37
- package/src/lib/seam/connect/models/acs/acs-system.ts +11 -11
- package/src/lib/seam/connect/models/acs/index.ts +1 -0
- package/src/lib/seam/connect/models/acs/metadata/index.ts +2 -0
- package/src/lib/seam/connect/models/acs/metadata/latch.ts +12 -0
- package/src/lib/seam/connect/models/acs/metadata/visionline.ts +35 -0
- package/src/lib/seam/connect/models/devices/{managed-device.ts → device.ts} +4 -2
- package/src/lib/seam/connect/models/devices/index.ts +1 -1
- package/src/lib/seam/connect/models/devices/phone.ts +2 -2
- package/src/lib/seam/connect/models/devices/unmanaged-device.ts +3 -3
- package/src/lib/seam/connect/openapi.ts +110 -7
- package/src/lib/seam/connect/route-types.ts +174 -92
- package/src/lib/seam/connect/schemas.ts +9 -0
- package/lib/seam/connect/models/devices/managed-device.js.map +0 -1
|
@@ -1,52 +1,23 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
is_connected: z.boolean(),
|
|
8
|
-
})
|
|
3
|
+
import {
|
|
4
|
+
acs_entrance_latch_metadata,
|
|
5
|
+
acs_entrance_visionline_metadata,
|
|
6
|
+
} from './metadata/index.js'
|
|
9
7
|
|
|
10
8
|
export const acs_entrance = z.object({
|
|
11
|
-
acs_entrance_id: z.string().uuid(),
|
|
12
|
-
display_name: z.string(),
|
|
13
9
|
acs_system_id: z.string().uuid(),
|
|
10
|
+
acs_entrance_id: z.string().uuid(),
|
|
14
11
|
created_at: z.string().datetime(),
|
|
15
|
-
|
|
12
|
+
display_name: z.string(),
|
|
16
13
|
errors: z.array(
|
|
17
14
|
z.object({
|
|
18
15
|
error_code: z.string(),
|
|
19
16
|
message: z.string(),
|
|
20
17
|
}),
|
|
21
18
|
),
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
door_name: z.string(),
|
|
25
|
-
door_category: z.enum([
|
|
26
|
-
'entrance',
|
|
27
|
-
'guest',
|
|
28
|
-
'elevator reader',
|
|
29
|
-
'common',
|
|
30
|
-
'common (PMS)',
|
|
31
|
-
]),
|
|
32
|
-
profiles: z
|
|
33
|
-
.array(
|
|
34
|
-
z.object({
|
|
35
|
-
visionline_door_profile_id: z.string(),
|
|
36
|
-
visionline_door_profile_type: z.enum([
|
|
37
|
-
'BLE',
|
|
38
|
-
'commonDoor',
|
|
39
|
-
'touch',
|
|
40
|
-
]),
|
|
41
|
-
}),
|
|
42
|
-
)
|
|
43
|
-
.optional(),
|
|
44
|
-
})
|
|
45
|
-
.nullable(),
|
|
19
|
+
latch_metadata: acs_entrance_latch_metadata.optional(),
|
|
20
|
+
visionline_metadata: acs_entrance_visionline_metadata.optional(),
|
|
46
21
|
})
|
|
47
22
|
|
|
48
|
-
export type AcsEntranceLatchMetadata = z.infer<
|
|
49
|
-
typeof acs_entrance_latch_metadata
|
|
50
|
-
>
|
|
51
|
-
|
|
52
23
|
export type AcsEntrance = z.infer<typeof acs_entrance>
|
|
@@ -7,7 +7,8 @@ export const acs_system_capability_flags = z.object({
|
|
|
7
7
|
can_add_acs_users_to_acs_access_groups: z.boolean().optional(),
|
|
8
8
|
})
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
// If changed, update seam.acs_system.external_type generated column
|
|
11
|
+
export const acs_system_external_type = z.enum([
|
|
11
12
|
'pti_site',
|
|
12
13
|
'alta_org',
|
|
13
14
|
'salto_site',
|
|
@@ -16,12 +17,7 @@ export const acs_system_external_type_values = [
|
|
|
16
17
|
'visionline_system',
|
|
17
18
|
'assa_abloy_credential_service',
|
|
18
19
|
'latch_building',
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
// If changed, update seam.acs_system.external_type generated column
|
|
22
|
-
export const acs_system_external_type = z
|
|
23
|
-
.enum(acs_system_external_type_values)
|
|
24
|
-
.optional()
|
|
20
|
+
])
|
|
25
21
|
|
|
26
22
|
export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>
|
|
27
23
|
|
|
@@ -60,13 +56,17 @@ export type AcsSystemWarningMap = z.infer<typeof acs_system_warning_map>
|
|
|
60
56
|
export const acs_system = z
|
|
61
57
|
.object({
|
|
62
58
|
acs_system_id: z.string().uuid(),
|
|
63
|
-
external_type: acs_system_external_type,
|
|
59
|
+
external_type: acs_system_external_type.optional(),
|
|
64
60
|
external_type_display_name: z.string().optional(),
|
|
65
|
-
system_type: acs_system_external_type
|
|
61
|
+
system_type: acs_system_external_type
|
|
62
|
+
.describe(
|
|
63
|
+
`
|
|
66
64
|
---
|
|
67
65
|
deprecated: use external_type
|
|
68
66
|
---
|
|
69
|
-
|
|
67
|
+
`,
|
|
68
|
+
)
|
|
69
|
+
.optional(),
|
|
70
70
|
system_type_display_name: z.string().optional().describe(`
|
|
71
71
|
---
|
|
72
72
|
deprecated: use external_type_display_name
|
|
@@ -75,7 +75,7 @@ export const acs_system = z
|
|
|
75
75
|
name: z.string(),
|
|
76
76
|
created_at: z.string().datetime(),
|
|
77
77
|
workspace_id: z.string().uuid(),
|
|
78
|
-
connected_account_ids: z.array(z.string()),
|
|
78
|
+
connected_account_ids: z.array(z.string().uuid()),
|
|
79
79
|
image_url: z.string(),
|
|
80
80
|
image_alt_text: z.string(),
|
|
81
81
|
errors: z.array(acs_system_error),
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
export const acs_entrance_latch_metadata = z.object({
|
|
4
|
+
accessibility_type: z.string(),
|
|
5
|
+
door_name: z.string(),
|
|
6
|
+
door_type: z.string(),
|
|
7
|
+
is_connected: z.boolean(),
|
|
8
|
+
})
|
|
9
|
+
|
|
10
|
+
export type AcsEntranceLatchMetadata = z.infer<
|
|
11
|
+
typeof acs_entrance_latch_metadata
|
|
12
|
+
>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
export const acs_entrance_visionline_metadata = z.object({
|
|
4
|
+
door_name: z.string(),
|
|
5
|
+
door_category: z.enum([
|
|
6
|
+
'entrance',
|
|
7
|
+
'guest',
|
|
8
|
+
'elevator reader',
|
|
9
|
+
'common',
|
|
10
|
+
'common (PMS)',
|
|
11
|
+
]),
|
|
12
|
+
profiles: z
|
|
13
|
+
.array(
|
|
14
|
+
z.object({
|
|
15
|
+
visionline_door_profile_id: z.string(),
|
|
16
|
+
visionline_door_profile_type: z.enum(['BLE', 'commonDoor', 'touch']),
|
|
17
|
+
}),
|
|
18
|
+
)
|
|
19
|
+
.optional(),
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
export const acs_credential_visionline_metadata = z.object({
|
|
23
|
+
card_function_type: z.enum(['guest', 'staff']),
|
|
24
|
+
joiner_acs_credential_ids: z.array(z.string().uuid()).optional(),
|
|
25
|
+
guest_acs_entrance_ids: z.array(z.string().uuid()).optional(),
|
|
26
|
+
common_acs_entrance_ids: z.array(z.string().uuid()).optional(),
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
export type AcsCredentialVisionlineMetadata = z.infer<
|
|
30
|
+
typeof acs_credential_visionline_metadata
|
|
31
|
+
>
|
|
32
|
+
|
|
33
|
+
export type AcsEntranceVisionlineMetadata = z.infer<
|
|
34
|
+
typeof acs_entrance_visionline_metadata
|
|
35
|
+
>
|
|
@@ -12,6 +12,8 @@ import { phone_specific_properties } from './phone-properties.js'
|
|
|
12
12
|
export const device_capability_flags =
|
|
13
13
|
devicedb_schemas.device_capability_flags.extend({
|
|
14
14
|
can_simulate_removal: z.boolean().optional(),
|
|
15
|
+
can_simulate_connection: z.boolean().optional(),
|
|
16
|
+
can_simulate_disconnection: z.boolean().optional(),
|
|
15
17
|
})
|
|
16
18
|
|
|
17
19
|
export const battery_status = z.enum(['critical', 'low', 'good', 'full'])
|
|
@@ -161,7 +163,7 @@ export const common_device_properties = z.object({
|
|
|
161
163
|
.optional(),
|
|
162
164
|
})
|
|
163
165
|
|
|
164
|
-
export const
|
|
166
|
+
export const device = z
|
|
165
167
|
.object({
|
|
166
168
|
device_id: z.string().uuid().describe('Unique identifier for the device.'),
|
|
167
169
|
device_type: any_device_type.describe('Type of the device.'),
|
|
@@ -243,4 +245,4 @@ export const managed_device = z
|
|
|
243
245
|
})
|
|
244
246
|
.merge(device_capability_flags)
|
|
245
247
|
|
|
246
|
-
export type
|
|
248
|
+
export type Device = z.infer<typeof device>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export * from './capabilities-supported.js'
|
|
2
2
|
export * from './capability-properties/index.js'
|
|
3
|
+
export * from './device.js'
|
|
3
4
|
export * from './device-metadata.js'
|
|
4
5
|
export * from './device-provider.js'
|
|
5
6
|
export * from './device-type.js'
|
|
6
|
-
export * from './managed-device.js'
|
|
7
7
|
export * from './noise-threshold.js'
|
|
8
8
|
export * from './phone.js'
|
|
9
9
|
export * from './unmanaged-device.js'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { device } from './device.js'
|
|
4
4
|
import { phone_specific_properties } from './phone-properties.js'
|
|
5
5
|
|
|
6
6
|
export { phone_specific_properties } from './phone-properties.js'
|
|
7
7
|
|
|
8
|
-
export const phone =
|
|
8
|
+
export const phone = device
|
|
9
9
|
.omit({
|
|
10
10
|
connected_account_id: true,
|
|
11
11
|
})
|
|
@@ -2,11 +2,11 @@ import { z } from 'zod'
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
common_device_properties,
|
|
5
|
+
device,
|
|
5
6
|
device_capability_flags,
|
|
6
|
-
|
|
7
|
-
} from './managed-device.js'
|
|
7
|
+
} from './device.js'
|
|
8
8
|
|
|
9
|
-
export const unmanaged_device =
|
|
9
|
+
export const unmanaged_device = device
|
|
10
10
|
.pick({
|
|
11
11
|
device_id: true,
|
|
12
12
|
device_type: true,
|
|
@@ -332,7 +332,6 @@ export default {
|
|
|
332
332
|
type: 'array',
|
|
333
333
|
},
|
|
334
334
|
latch_metadata: {
|
|
335
|
-
nullable: true,
|
|
336
335
|
properties: {
|
|
337
336
|
accessibility_type: { type: 'string' },
|
|
338
337
|
door_name: { type: 'string' },
|
|
@@ -348,7 +347,6 @@ export default {
|
|
|
348
347
|
type: 'object',
|
|
349
348
|
},
|
|
350
349
|
visionline_metadata: {
|
|
351
|
-
nullable: true,
|
|
352
350
|
properties: {
|
|
353
351
|
door_category: {
|
|
354
352
|
enum: [
|
|
@@ -384,13 +382,11 @@ export default {
|
|
|
384
382
|
},
|
|
385
383
|
},
|
|
386
384
|
required: [
|
|
387
|
-
'acs_entrance_id',
|
|
388
|
-
'display_name',
|
|
389
385
|
'acs_system_id',
|
|
386
|
+
'acs_entrance_id',
|
|
390
387
|
'created_at',
|
|
391
|
-
'
|
|
388
|
+
'display_name',
|
|
392
389
|
'errors',
|
|
393
|
-
'visionline_metadata',
|
|
394
390
|
],
|
|
395
391
|
type: 'object',
|
|
396
392
|
},
|
|
@@ -401,7 +397,10 @@ export default {
|
|
|
401
397
|
can_automate_enrollment: { type: 'boolean' },
|
|
402
398
|
can_create_acs_access_groups: { type: 'boolean' },
|
|
403
399
|
can_remove_acs_users_from_acs_access_groups: { type: 'boolean' },
|
|
404
|
-
connected_account_ids: {
|
|
400
|
+
connected_account_ids: {
|
|
401
|
+
items: { format: 'uuid', type: 'string' },
|
|
402
|
+
type: 'array',
|
|
403
|
+
},
|
|
405
404
|
created_at: { format: 'date-time', type: 'string' },
|
|
406
405
|
errors: {
|
|
407
406
|
items: {
|
|
@@ -1819,6 +1818,8 @@ export default {
|
|
|
1819
1818
|
can_program_online_access_codes: { type: 'boolean' },
|
|
1820
1819
|
can_remotely_lock: { type: 'boolean' },
|
|
1821
1820
|
can_remotely_unlock: { type: 'boolean' },
|
|
1821
|
+
can_simulate_connection: { type: 'boolean' },
|
|
1822
|
+
can_simulate_disconnection: { type: 'boolean' },
|
|
1822
1823
|
can_simulate_removal: { type: 'boolean' },
|
|
1823
1824
|
capabilities_supported: {
|
|
1824
1825
|
description:
|
|
@@ -3244,6 +3245,8 @@ export default {
|
|
|
3244
3245
|
can_program_online_access_codes: { type: 'boolean' },
|
|
3245
3246
|
can_remotely_lock: { type: 'boolean' },
|
|
3246
3247
|
can_remotely_unlock: { type: 'boolean' },
|
|
3248
|
+
can_simulate_connection: { type: 'boolean' },
|
|
3249
|
+
can_simulate_disconnection: { type: 'boolean' },
|
|
3247
3250
|
can_simulate_removal: { type: 'boolean' },
|
|
3248
3251
|
capabilities_supported: {
|
|
3249
3252
|
description:
|
|
@@ -3471,6 +3474,8 @@ export default {
|
|
|
3471
3474
|
can_program_online_access_codes: { type: 'boolean' },
|
|
3472
3475
|
can_remotely_lock: { type: 'boolean' },
|
|
3473
3476
|
can_remotely_unlock: { type: 'boolean' },
|
|
3477
|
+
can_simulate_connection: { type: 'boolean' },
|
|
3478
|
+
can_simulate_disconnection: { type: 'boolean' },
|
|
3474
3479
|
can_simulate_removal: { type: 'boolean' },
|
|
3475
3480
|
capabilities_supported: {
|
|
3476
3481
|
description:
|
|
@@ -8313,6 +8318,8 @@ export default {
|
|
|
8313
8318
|
'can_program_offline_access_codes',
|
|
8314
8319
|
'can_program_online_access_codes',
|
|
8315
8320
|
'can_simulate_removal',
|
|
8321
|
+
'can_simulate_connection',
|
|
8322
|
+
'can_simulate_disconnection',
|
|
8316
8323
|
],
|
|
8317
8324
|
type: 'string',
|
|
8318
8325
|
},
|
|
@@ -8326,6 +8333,8 @@ export default {
|
|
|
8326
8333
|
'can_program_offline_access_codes',
|
|
8327
8334
|
'can_program_online_access_codes',
|
|
8328
8335
|
'can_simulate_removal',
|
|
8336
|
+
'can_simulate_connection',
|
|
8337
|
+
'can_simulate_disconnection',
|
|
8329
8338
|
],
|
|
8330
8339
|
type: 'string',
|
|
8331
8340
|
},
|
|
@@ -8472,6 +8481,88 @@ export default {
|
|
|
8472
8481
|
'x-fern-sdk-return-value': 'device_providers',
|
|
8473
8482
|
},
|
|
8474
8483
|
},
|
|
8484
|
+
'/devices/simulate/connect': {
|
|
8485
|
+
post: {
|
|
8486
|
+
operationId: 'devicesSimulateConnectPost',
|
|
8487
|
+
requestBody: {
|
|
8488
|
+
content: {
|
|
8489
|
+
'application/json': {
|
|
8490
|
+
schema: {
|
|
8491
|
+
properties: { device_id: { format: 'uuid', type: 'string' } },
|
|
8492
|
+
required: ['device_id'],
|
|
8493
|
+
type: 'object',
|
|
8494
|
+
},
|
|
8495
|
+
},
|
|
8496
|
+
},
|
|
8497
|
+
},
|
|
8498
|
+
responses: {
|
|
8499
|
+
200: {
|
|
8500
|
+
content: {
|
|
8501
|
+
'application/json': {
|
|
8502
|
+
schema: {
|
|
8503
|
+
properties: { ok: { type: 'boolean' } },
|
|
8504
|
+
required: ['ok'],
|
|
8505
|
+
type: 'object',
|
|
8506
|
+
},
|
|
8507
|
+
},
|
|
8508
|
+
},
|
|
8509
|
+
description: 'OK',
|
|
8510
|
+
},
|
|
8511
|
+
400: { description: 'Bad Request' },
|
|
8512
|
+
401: { description: 'Unauthorized' },
|
|
8513
|
+
},
|
|
8514
|
+
security: [
|
|
8515
|
+
{ api_key: [] },
|
|
8516
|
+
{ pat_with_workspace: [] },
|
|
8517
|
+
{ console_session: [] },
|
|
8518
|
+
],
|
|
8519
|
+
summary: '/devices/simulate/connect',
|
|
8520
|
+
tags: ['/devices'],
|
|
8521
|
+
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
8522
|
+
'x-fern-sdk-method-name': 'connect',
|
|
8523
|
+
},
|
|
8524
|
+
},
|
|
8525
|
+
'/devices/simulate/disconnect': {
|
|
8526
|
+
post: {
|
|
8527
|
+
operationId: 'devicesSimulateDisconnectPost',
|
|
8528
|
+
requestBody: {
|
|
8529
|
+
content: {
|
|
8530
|
+
'application/json': {
|
|
8531
|
+
schema: {
|
|
8532
|
+
properties: { device_id: { format: 'uuid', type: 'string' } },
|
|
8533
|
+
required: ['device_id'],
|
|
8534
|
+
type: 'object',
|
|
8535
|
+
},
|
|
8536
|
+
},
|
|
8537
|
+
},
|
|
8538
|
+
},
|
|
8539
|
+
responses: {
|
|
8540
|
+
200: {
|
|
8541
|
+
content: {
|
|
8542
|
+
'application/json': {
|
|
8543
|
+
schema: {
|
|
8544
|
+
properties: { ok: { type: 'boolean' } },
|
|
8545
|
+
required: ['ok'],
|
|
8546
|
+
type: 'object',
|
|
8547
|
+
},
|
|
8548
|
+
},
|
|
8549
|
+
},
|
|
8550
|
+
description: 'OK',
|
|
8551
|
+
},
|
|
8552
|
+
400: { description: 'Bad Request' },
|
|
8553
|
+
401: { description: 'Unauthorized' },
|
|
8554
|
+
},
|
|
8555
|
+
security: [
|
|
8556
|
+
{ api_key: [] },
|
|
8557
|
+
{ pat_with_workspace: [] },
|
|
8558
|
+
{ console_session: [] },
|
|
8559
|
+
],
|
|
8560
|
+
summary: '/devices/simulate/disconnect',
|
|
8561
|
+
tags: ['/devices'],
|
|
8562
|
+
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
8563
|
+
'x-fern-sdk-method-name': 'disconnect',
|
|
8564
|
+
},
|
|
8565
|
+
},
|
|
8475
8566
|
'/devices/simulate/remove': {
|
|
8476
8567
|
post: {
|
|
8477
8568
|
operationId: 'devicesSimulateRemovePost',
|
|
@@ -8705,6 +8796,8 @@ export default {
|
|
|
8705
8796
|
'can_program_offline_access_codes',
|
|
8706
8797
|
'can_program_online_access_codes',
|
|
8707
8798
|
'can_simulate_removal',
|
|
8799
|
+
'can_simulate_connection',
|
|
8800
|
+
'can_simulate_disconnection',
|
|
8708
8801
|
],
|
|
8709
8802
|
type: 'string',
|
|
8710
8803
|
},
|
|
@@ -8718,6 +8811,8 @@ export default {
|
|
|
8718
8811
|
'can_program_offline_access_codes',
|
|
8719
8812
|
'can_program_online_access_codes',
|
|
8720
8813
|
'can_simulate_removal',
|
|
8814
|
+
'can_simulate_connection',
|
|
8815
|
+
'can_simulate_disconnection',
|
|
8721
8816
|
],
|
|
8722
8817
|
type: 'string',
|
|
8723
8818
|
},
|
|
@@ -9451,6 +9546,8 @@ export default {
|
|
|
9451
9546
|
'can_program_offline_access_codes',
|
|
9452
9547
|
'can_program_online_access_codes',
|
|
9453
9548
|
'can_simulate_removal',
|
|
9549
|
+
'can_simulate_connection',
|
|
9550
|
+
'can_simulate_disconnection',
|
|
9454
9551
|
],
|
|
9455
9552
|
type: 'string',
|
|
9456
9553
|
},
|
|
@@ -9464,6 +9561,8 @@ export default {
|
|
|
9464
9561
|
'can_program_offline_access_codes',
|
|
9465
9562
|
'can_program_online_access_codes',
|
|
9466
9563
|
'can_simulate_removal',
|
|
9564
|
+
'can_simulate_connection',
|
|
9565
|
+
'can_simulate_disconnection',
|
|
9467
9566
|
],
|
|
9468
9567
|
type: 'string',
|
|
9469
9568
|
},
|
|
@@ -11155,6 +11254,8 @@ export default {
|
|
|
11155
11254
|
'can_program_offline_access_codes',
|
|
11156
11255
|
'can_program_online_access_codes',
|
|
11157
11256
|
'can_simulate_removal',
|
|
11257
|
+
'can_simulate_connection',
|
|
11258
|
+
'can_simulate_disconnection',
|
|
11158
11259
|
],
|
|
11159
11260
|
type: 'string',
|
|
11160
11261
|
},
|
|
@@ -11168,6 +11269,8 @@ export default {
|
|
|
11168
11269
|
'can_program_offline_access_codes',
|
|
11169
11270
|
'can_program_online_access_codes',
|
|
11170
11271
|
'can_simulate_removal',
|
|
11272
|
+
'can_simulate_connection',
|
|
11273
|
+
'can_simulate_disconnection',
|
|
11171
11274
|
],
|
|
11172
11275
|
type: 'string',
|
|
11173
11276
|
},
|