@seamapi/types 1.657.0 → 1.659.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 +152 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +476 -0
- package/dist/index.cjs +152 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +5 -0
- package/lib/seam/connect/models/acs/metadata/salto-space.d.ts +3 -0
- package/lib/seam/connect/models/acs/metadata/salto-space.js +3 -0
- package/lib/seam/connect/models/acs/metadata/salto-space.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +7 -0
- package/lib/seam/connect/models/batch.js +7 -4
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/phones/phone-session.d.ts +20 -0
- package/lib/seam/connect/openapi.d.ts +191 -0
- package/lib/seam/connect/openapi.js +135 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +273 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/metadata/salto-space.ts +5 -0
- package/src/lib/seam/connect/models/batch.ts +35 -32
- package/src/lib/seam/connect/openapi.ts +137 -0
- package/src/lib/seam/connect/route-types.ts +273 -0
package/package.json
CHANGED
|
@@ -14,6 +14,11 @@ export const acs_entrance_salto_space_metadata = z
|
|
|
14
14
|
door_description: z
|
|
15
15
|
.string()
|
|
16
16
|
.describe('Description of the door in the Salto Space access system.'),
|
|
17
|
+
audit_on_keys: z
|
|
18
|
+
.boolean()
|
|
19
|
+
.describe(
|
|
20
|
+
'Indicates whether AuditOnKeys is enabled for the door in the Salto Space access system.',
|
|
21
|
+
),
|
|
17
22
|
room_name: z
|
|
18
23
|
.string()
|
|
19
24
|
.describe('Name of the room in the Salto Space access system.'),
|
|
@@ -32,37 +32,40 @@ import {
|
|
|
32
32
|
import { user_identity } from './user-identities/index.js'
|
|
33
33
|
import { workspace } from './workspaces/index.js'
|
|
34
34
|
|
|
35
|
-
export const batch = z
|
|
36
|
-
.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
35
|
+
export const batch = z.object({
|
|
36
|
+
user_identities: user_identity.array().optional(),
|
|
37
|
+
workspaces: workspace.array().optional(),
|
|
38
|
+
spaces: space.array().optional(),
|
|
39
|
+
devices: device.array().optional(),
|
|
40
|
+
connected_accounts: connected_account.array().optional(),
|
|
41
|
+
acs_entrances: acs_entrance.array().optional(),
|
|
42
|
+
acs_systems: acs_system.array().optional(),
|
|
43
|
+
acs_users: acs_user.array().optional(),
|
|
44
|
+
acs_access_groups: acs_access_group.array().optional(),
|
|
45
|
+
acs_encoders: acs_encoder.array().optional(),
|
|
46
|
+
acs_credentials: acs_credential.array().optional(),
|
|
47
|
+
unmanaged_acs_credentials: unmanaged_acs_credential.array().optional(),
|
|
48
|
+
action_attempts: action_attempt.array().optional(),
|
|
49
|
+
client_sessions: client_session.array().optional(),
|
|
50
|
+
unmanaged_acs_users: unmanaged_acs_user.array().optional(),
|
|
51
|
+
unmanaged_acs_access_groups: unmanaged_acs_access_group.array().optional(),
|
|
52
|
+
unmanaged_devices: unmanaged_device.array().optional(),
|
|
53
|
+
connect_webviews: connect_webview.array().optional(),
|
|
54
|
+
access_methods: access_method.array().optional(),
|
|
55
|
+
access_grants: access_grant.array().optional(),
|
|
56
|
+
events: seam_event.array().optional(),
|
|
57
|
+
instant_keys: instant_key.array().optional(),
|
|
58
|
+
access_codes: access_code.array().optional(),
|
|
59
|
+
unmanaged_access_codes: unmanaged_access_code.array().optional(),
|
|
60
|
+
thermostat_daily_programs: thermostat_daily_program.array().optional(),
|
|
61
|
+
thermostat_schedules: thermostat_schedule.array().optional(),
|
|
62
|
+
noise_thresholds: noise_threshold.array().optional(),
|
|
63
|
+
customization_profiles: customization_profile.array().optional(),
|
|
64
|
+
}).describe(`
|
|
65
|
+
---
|
|
66
|
+
route_path: /workspaces
|
|
67
|
+
---
|
|
68
|
+
A batch of workspace resources.
|
|
69
|
+
`)
|
|
67
70
|
|
|
68
71
|
export type Batch = z.infer<typeof batch>
|
|
@@ -3035,6 +3035,11 @@ export default {
|
|
|
3035
3035
|
description:
|
|
3036
3036
|
'Salto Space-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
3037
3037
|
properties: {
|
|
3038
|
+
audit_on_keys: {
|
|
3039
|
+
description:
|
|
3040
|
+
'Indicates whether AuditOnKeys is enabled for the door in the Salto Space access system.',
|
|
3041
|
+
type: 'boolean',
|
|
3042
|
+
},
|
|
3038
3043
|
door_description: {
|
|
3039
3044
|
description:
|
|
3040
3045
|
'Description of the door in the Salto Space access system.',
|
|
@@ -8471,6 +8476,125 @@ export default {
|
|
|
8471
8476
|
],
|
|
8472
8477
|
'x-route-path': '/action_attempts',
|
|
8473
8478
|
},
|
|
8479
|
+
batch: {
|
|
8480
|
+
description: 'A batch of workspace resources.',
|
|
8481
|
+
properties: {
|
|
8482
|
+
access_codes: {
|
|
8483
|
+
items: { $ref: '#/components/schemas/access_code' },
|
|
8484
|
+
type: 'array',
|
|
8485
|
+
},
|
|
8486
|
+
access_grants: {
|
|
8487
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
8488
|
+
type: 'array',
|
|
8489
|
+
},
|
|
8490
|
+
access_methods: {
|
|
8491
|
+
items: { $ref: '#/components/schemas/access_method' },
|
|
8492
|
+
type: 'array',
|
|
8493
|
+
},
|
|
8494
|
+
acs_access_groups: {
|
|
8495
|
+
items: { $ref: '#/components/schemas/acs_access_group' },
|
|
8496
|
+
type: 'array',
|
|
8497
|
+
},
|
|
8498
|
+
acs_credentials: {
|
|
8499
|
+
items: { $ref: '#/components/schemas/acs_credential' },
|
|
8500
|
+
type: 'array',
|
|
8501
|
+
},
|
|
8502
|
+
acs_encoders: {
|
|
8503
|
+
items: { $ref: '#/components/schemas/acs_encoder' },
|
|
8504
|
+
type: 'array',
|
|
8505
|
+
},
|
|
8506
|
+
acs_entrances: {
|
|
8507
|
+
items: { $ref: '#/components/schemas/acs_entrance' },
|
|
8508
|
+
type: 'array',
|
|
8509
|
+
},
|
|
8510
|
+
acs_systems: {
|
|
8511
|
+
items: { $ref: '#/components/schemas/acs_system' },
|
|
8512
|
+
type: 'array',
|
|
8513
|
+
},
|
|
8514
|
+
acs_users: {
|
|
8515
|
+
items: { $ref: '#/components/schemas/acs_user' },
|
|
8516
|
+
type: 'array',
|
|
8517
|
+
},
|
|
8518
|
+
action_attempts: {
|
|
8519
|
+
items: { $ref: '#/components/schemas/action_attempt' },
|
|
8520
|
+
type: 'array',
|
|
8521
|
+
},
|
|
8522
|
+
client_sessions: {
|
|
8523
|
+
items: { $ref: '#/components/schemas/client_session' },
|
|
8524
|
+
type: 'array',
|
|
8525
|
+
},
|
|
8526
|
+
connect_webviews: {
|
|
8527
|
+
items: { $ref: '#/components/schemas/connect_webview' },
|
|
8528
|
+
type: 'array',
|
|
8529
|
+
},
|
|
8530
|
+
connected_accounts: {
|
|
8531
|
+
items: { $ref: '#/components/schemas/connected_account' },
|
|
8532
|
+
type: 'array',
|
|
8533
|
+
},
|
|
8534
|
+
customization_profiles: {
|
|
8535
|
+
items: { $ref: '#/components/schemas/customization_profile' },
|
|
8536
|
+
type: 'array',
|
|
8537
|
+
},
|
|
8538
|
+
devices: {
|
|
8539
|
+
items: { $ref: '#/components/schemas/device' },
|
|
8540
|
+
type: 'array',
|
|
8541
|
+
},
|
|
8542
|
+
events: {
|
|
8543
|
+
items: { $ref: '#/components/schemas/event' },
|
|
8544
|
+
type: 'array',
|
|
8545
|
+
},
|
|
8546
|
+
instant_keys: {
|
|
8547
|
+
items: { $ref: '#/components/schemas/instant_key' },
|
|
8548
|
+
type: 'array',
|
|
8549
|
+
},
|
|
8550
|
+
noise_thresholds: {
|
|
8551
|
+
items: { $ref: '#/components/schemas/noise_threshold' },
|
|
8552
|
+
type: 'array',
|
|
8553
|
+
},
|
|
8554
|
+
spaces: {
|
|
8555
|
+
items: { $ref: '#/components/schemas/space' },
|
|
8556
|
+
type: 'array',
|
|
8557
|
+
},
|
|
8558
|
+
thermostat_daily_programs: {
|
|
8559
|
+
items: { $ref: '#/components/schemas/thermostat_daily_program' },
|
|
8560
|
+
type: 'array',
|
|
8561
|
+
},
|
|
8562
|
+
thermostat_schedules: {
|
|
8563
|
+
items: { $ref: '#/components/schemas/thermostat_schedule' },
|
|
8564
|
+
type: 'array',
|
|
8565
|
+
},
|
|
8566
|
+
unmanaged_access_codes: {
|
|
8567
|
+
items: { $ref: '#/components/schemas/unmanaged_access_code' },
|
|
8568
|
+
type: 'array',
|
|
8569
|
+
},
|
|
8570
|
+
unmanaged_acs_access_groups: {
|
|
8571
|
+
items: { $ref: '#/components/schemas/unmanaged_acs_access_group' },
|
|
8572
|
+
type: 'array',
|
|
8573
|
+
},
|
|
8574
|
+
unmanaged_acs_credentials: {
|
|
8575
|
+
items: { $ref: '#/components/schemas/unmanaged_acs_credential' },
|
|
8576
|
+
type: 'array',
|
|
8577
|
+
},
|
|
8578
|
+
unmanaged_acs_users: {
|
|
8579
|
+
items: { $ref: '#/components/schemas/unmanaged_acs_user' },
|
|
8580
|
+
type: 'array',
|
|
8581
|
+
},
|
|
8582
|
+
unmanaged_devices: {
|
|
8583
|
+
items: { $ref: '#/components/schemas/unmanaged_device' },
|
|
8584
|
+
type: 'array',
|
|
8585
|
+
},
|
|
8586
|
+
user_identities: {
|
|
8587
|
+
items: { $ref: '#/components/schemas/user_identity' },
|
|
8588
|
+
type: 'array',
|
|
8589
|
+
},
|
|
8590
|
+
workspaces: {
|
|
8591
|
+
items: { $ref: '#/components/schemas/workspace' },
|
|
8592
|
+
type: 'array',
|
|
8593
|
+
},
|
|
8594
|
+
},
|
|
8595
|
+
type: 'object',
|
|
8596
|
+
'x-route-path': '/workspaces',
|
|
8597
|
+
},
|
|
8474
8598
|
bridge_client_session: {
|
|
8475
8599
|
description:
|
|
8476
8600
|
'Represents a [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) client session.',
|
|
@@ -20203,6 +20327,11 @@ export default {
|
|
|
20203
20327
|
description:
|
|
20204
20328
|
'Salto Space-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
20205
20329
|
properties: {
|
|
20330
|
+
audit_on_keys: {
|
|
20331
|
+
description:
|
|
20332
|
+
'Indicates whether AuditOnKeys is enabled for the door in the Salto Space access system.',
|
|
20333
|
+
type: 'boolean',
|
|
20334
|
+
},
|
|
20206
20335
|
door_description: {
|
|
20207
20336
|
description:
|
|
20208
20337
|
'Description of the door in the Salto Space access system.',
|
|
@@ -29151,6 +29280,7 @@ export default {
|
|
|
29151
29280
|
},
|
|
29152
29281
|
},
|
|
29153
29282
|
type: 'object',
|
|
29283
|
+
'x-route-path': '/workspaces',
|
|
29154
29284
|
},
|
|
29155
29285
|
ok: { type: 'boolean' },
|
|
29156
29286
|
},
|
|
@@ -29282,6 +29412,7 @@ export default {
|
|
|
29282
29412
|
},
|
|
29283
29413
|
},
|
|
29284
29414
|
type: 'object',
|
|
29415
|
+
'x-route-path': '/workspaces',
|
|
29285
29416
|
},
|
|
29286
29417
|
ok: { type: 'boolean' },
|
|
29287
29418
|
},
|
|
@@ -31231,6 +31362,7 @@ export default {
|
|
|
31231
31362
|
},
|
|
31232
31363
|
},
|
|
31233
31364
|
type: 'object',
|
|
31365
|
+
'x-route-path': '/workspaces',
|
|
31234
31366
|
},
|
|
31235
31367
|
ok: { type: 'boolean' },
|
|
31236
31368
|
},
|
|
@@ -31370,6 +31502,7 @@ export default {
|
|
|
31370
31502
|
},
|
|
31371
31503
|
},
|
|
31372
31504
|
type: 'object',
|
|
31505
|
+
'x-route-path': '/workspaces',
|
|
31373
31506
|
},
|
|
31374
31507
|
ok: { type: 'boolean' },
|
|
31375
31508
|
},
|
|
@@ -57228,6 +57361,7 @@ export default {
|
|
|
57228
57361
|
},
|
|
57229
57362
|
},
|
|
57230
57363
|
type: 'object',
|
|
57364
|
+
'x-route-path': '/workspaces',
|
|
57231
57365
|
},
|
|
57232
57366
|
ok: { type: 'boolean' },
|
|
57233
57367
|
},
|
|
@@ -57348,6 +57482,7 @@ export default {
|
|
|
57348
57482
|
},
|
|
57349
57483
|
},
|
|
57350
57484
|
type: 'object',
|
|
57485
|
+
'x-route-path': '/workspaces',
|
|
57351
57486
|
},
|
|
57352
57487
|
ok: { type: 'boolean' },
|
|
57353
57488
|
},
|
|
@@ -65878,6 +66013,7 @@ export default {
|
|
|
65878
66013
|
},
|
|
65879
66014
|
},
|
|
65880
66015
|
type: 'object',
|
|
66016
|
+
'x-route-path': '/workspaces',
|
|
65881
66017
|
},
|
|
65882
66018
|
ok: { type: 'boolean' },
|
|
65883
66019
|
},
|
|
@@ -66102,6 +66238,7 @@ export default {
|
|
|
66102
66238
|
},
|
|
66103
66239
|
},
|
|
66104
66240
|
type: 'object',
|
|
66241
|
+
'x-route-path': '/workspaces',
|
|
66105
66242
|
},
|
|
66106
66243
|
ok: { type: 'boolean' },
|
|
66107
66244
|
},
|