@seamapi/types 1.657.0 → 1.658.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 +141 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +436 -0
- package/dist/index.cjs +141 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.js +7 -4
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +183 -0
- package/lib/seam/connect/openapi.js +127 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +253 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/batch.ts +35 -32
- package/src/lib/seam/connect/openapi.ts +127 -0
- package/src/lib/seam/connect/route-types.ts +253 -0
package/package.json
CHANGED
|
@@ -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>
|
|
@@ -8471,6 +8471,125 @@ export default {
|
|
|
8471
8471
|
],
|
|
8472
8472
|
'x-route-path': '/action_attempts',
|
|
8473
8473
|
},
|
|
8474
|
+
batch: {
|
|
8475
|
+
description: 'A batch of workspace resources.',
|
|
8476
|
+
properties: {
|
|
8477
|
+
access_codes: {
|
|
8478
|
+
items: { $ref: '#/components/schemas/access_code' },
|
|
8479
|
+
type: 'array',
|
|
8480
|
+
},
|
|
8481
|
+
access_grants: {
|
|
8482
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
8483
|
+
type: 'array',
|
|
8484
|
+
},
|
|
8485
|
+
access_methods: {
|
|
8486
|
+
items: { $ref: '#/components/schemas/access_method' },
|
|
8487
|
+
type: 'array',
|
|
8488
|
+
},
|
|
8489
|
+
acs_access_groups: {
|
|
8490
|
+
items: { $ref: '#/components/schemas/acs_access_group' },
|
|
8491
|
+
type: 'array',
|
|
8492
|
+
},
|
|
8493
|
+
acs_credentials: {
|
|
8494
|
+
items: { $ref: '#/components/schemas/acs_credential' },
|
|
8495
|
+
type: 'array',
|
|
8496
|
+
},
|
|
8497
|
+
acs_encoders: {
|
|
8498
|
+
items: { $ref: '#/components/schemas/acs_encoder' },
|
|
8499
|
+
type: 'array',
|
|
8500
|
+
},
|
|
8501
|
+
acs_entrances: {
|
|
8502
|
+
items: { $ref: '#/components/schemas/acs_entrance' },
|
|
8503
|
+
type: 'array',
|
|
8504
|
+
},
|
|
8505
|
+
acs_systems: {
|
|
8506
|
+
items: { $ref: '#/components/schemas/acs_system' },
|
|
8507
|
+
type: 'array',
|
|
8508
|
+
},
|
|
8509
|
+
acs_users: {
|
|
8510
|
+
items: { $ref: '#/components/schemas/acs_user' },
|
|
8511
|
+
type: 'array',
|
|
8512
|
+
},
|
|
8513
|
+
action_attempts: {
|
|
8514
|
+
items: { $ref: '#/components/schemas/action_attempt' },
|
|
8515
|
+
type: 'array',
|
|
8516
|
+
},
|
|
8517
|
+
client_sessions: {
|
|
8518
|
+
items: { $ref: '#/components/schemas/client_session' },
|
|
8519
|
+
type: 'array',
|
|
8520
|
+
},
|
|
8521
|
+
connect_webviews: {
|
|
8522
|
+
items: { $ref: '#/components/schemas/connect_webview' },
|
|
8523
|
+
type: 'array',
|
|
8524
|
+
},
|
|
8525
|
+
connected_accounts: {
|
|
8526
|
+
items: { $ref: '#/components/schemas/connected_account' },
|
|
8527
|
+
type: 'array',
|
|
8528
|
+
},
|
|
8529
|
+
customization_profiles: {
|
|
8530
|
+
items: { $ref: '#/components/schemas/customization_profile' },
|
|
8531
|
+
type: 'array',
|
|
8532
|
+
},
|
|
8533
|
+
devices: {
|
|
8534
|
+
items: { $ref: '#/components/schemas/device' },
|
|
8535
|
+
type: 'array',
|
|
8536
|
+
},
|
|
8537
|
+
events: {
|
|
8538
|
+
items: { $ref: '#/components/schemas/event' },
|
|
8539
|
+
type: 'array',
|
|
8540
|
+
},
|
|
8541
|
+
instant_keys: {
|
|
8542
|
+
items: { $ref: '#/components/schemas/instant_key' },
|
|
8543
|
+
type: 'array',
|
|
8544
|
+
},
|
|
8545
|
+
noise_thresholds: {
|
|
8546
|
+
items: { $ref: '#/components/schemas/noise_threshold' },
|
|
8547
|
+
type: 'array',
|
|
8548
|
+
},
|
|
8549
|
+
spaces: {
|
|
8550
|
+
items: { $ref: '#/components/schemas/space' },
|
|
8551
|
+
type: 'array',
|
|
8552
|
+
},
|
|
8553
|
+
thermostat_daily_programs: {
|
|
8554
|
+
items: { $ref: '#/components/schemas/thermostat_daily_program' },
|
|
8555
|
+
type: 'array',
|
|
8556
|
+
},
|
|
8557
|
+
thermostat_schedules: {
|
|
8558
|
+
items: { $ref: '#/components/schemas/thermostat_schedule' },
|
|
8559
|
+
type: 'array',
|
|
8560
|
+
},
|
|
8561
|
+
unmanaged_access_codes: {
|
|
8562
|
+
items: { $ref: '#/components/schemas/unmanaged_access_code' },
|
|
8563
|
+
type: 'array',
|
|
8564
|
+
},
|
|
8565
|
+
unmanaged_acs_access_groups: {
|
|
8566
|
+
items: { $ref: '#/components/schemas/unmanaged_acs_access_group' },
|
|
8567
|
+
type: 'array',
|
|
8568
|
+
},
|
|
8569
|
+
unmanaged_acs_credentials: {
|
|
8570
|
+
items: { $ref: '#/components/schemas/unmanaged_acs_credential' },
|
|
8571
|
+
type: 'array',
|
|
8572
|
+
},
|
|
8573
|
+
unmanaged_acs_users: {
|
|
8574
|
+
items: { $ref: '#/components/schemas/unmanaged_acs_user' },
|
|
8575
|
+
type: 'array',
|
|
8576
|
+
},
|
|
8577
|
+
unmanaged_devices: {
|
|
8578
|
+
items: { $ref: '#/components/schemas/unmanaged_device' },
|
|
8579
|
+
type: 'array',
|
|
8580
|
+
},
|
|
8581
|
+
user_identities: {
|
|
8582
|
+
items: { $ref: '#/components/schemas/user_identity' },
|
|
8583
|
+
type: 'array',
|
|
8584
|
+
},
|
|
8585
|
+
workspaces: {
|
|
8586
|
+
items: { $ref: '#/components/schemas/workspace' },
|
|
8587
|
+
type: 'array',
|
|
8588
|
+
},
|
|
8589
|
+
},
|
|
8590
|
+
type: 'object',
|
|
8591
|
+
'x-route-path': '/workspaces',
|
|
8592
|
+
},
|
|
8474
8593
|
bridge_client_session: {
|
|
8475
8594
|
description:
|
|
8476
8595
|
'Represents a [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) client session.',
|
|
@@ -29151,6 +29270,7 @@ export default {
|
|
|
29151
29270
|
},
|
|
29152
29271
|
},
|
|
29153
29272
|
type: 'object',
|
|
29273
|
+
'x-route-path': '/workspaces',
|
|
29154
29274
|
},
|
|
29155
29275
|
ok: { type: 'boolean' },
|
|
29156
29276
|
},
|
|
@@ -29282,6 +29402,7 @@ export default {
|
|
|
29282
29402
|
},
|
|
29283
29403
|
},
|
|
29284
29404
|
type: 'object',
|
|
29405
|
+
'x-route-path': '/workspaces',
|
|
29285
29406
|
},
|
|
29286
29407
|
ok: { type: 'boolean' },
|
|
29287
29408
|
},
|
|
@@ -31231,6 +31352,7 @@ export default {
|
|
|
31231
31352
|
},
|
|
31232
31353
|
},
|
|
31233
31354
|
type: 'object',
|
|
31355
|
+
'x-route-path': '/workspaces',
|
|
31234
31356
|
},
|
|
31235
31357
|
ok: { type: 'boolean' },
|
|
31236
31358
|
},
|
|
@@ -31370,6 +31492,7 @@ export default {
|
|
|
31370
31492
|
},
|
|
31371
31493
|
},
|
|
31372
31494
|
type: 'object',
|
|
31495
|
+
'x-route-path': '/workspaces',
|
|
31373
31496
|
},
|
|
31374
31497
|
ok: { type: 'boolean' },
|
|
31375
31498
|
},
|
|
@@ -57228,6 +57351,7 @@ export default {
|
|
|
57228
57351
|
},
|
|
57229
57352
|
},
|
|
57230
57353
|
type: 'object',
|
|
57354
|
+
'x-route-path': '/workspaces',
|
|
57231
57355
|
},
|
|
57232
57356
|
ok: { type: 'boolean' },
|
|
57233
57357
|
},
|
|
@@ -57348,6 +57472,7 @@ export default {
|
|
|
57348
57472
|
},
|
|
57349
57473
|
},
|
|
57350
57474
|
type: 'object',
|
|
57475
|
+
'x-route-path': '/workspaces',
|
|
57351
57476
|
},
|
|
57352
57477
|
ok: { type: 'boolean' },
|
|
57353
57478
|
},
|
|
@@ -65878,6 +66003,7 @@ export default {
|
|
|
65878
66003
|
},
|
|
65879
66004
|
},
|
|
65880
66005
|
type: 'object',
|
|
66006
|
+
'x-route-path': '/workspaces',
|
|
65881
66007
|
},
|
|
65882
66008
|
ok: { type: 'boolean' },
|
|
65883
66009
|
},
|
|
@@ -66102,6 +66228,7 @@ export default {
|
|
|
66102
66228
|
},
|
|
66103
66229
|
},
|
|
66104
66230
|
type: 'object',
|
|
66231
|
+
'x-route-path': '/workspaces',
|
|
66105
66232
|
},
|
|
66106
66233
|
ok: { type: 'boolean' },
|
|
66107
66234
|
},
|