@seamapi/types 1.656.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.656.0",
3
+ "version": "1.658.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -91,7 +91,7 @@
91
91
  "zod": "^3.24.0"
92
92
  },
93
93
  "devDependencies": {
94
- "@seamapi/blueprint": "^0.51.1",
94
+ "@seamapi/blueprint": "^0.52.2",
95
95
  "@swc/core": "^1.11.29",
96
96
  "@types/node": "^22.15.21",
97
97
  "concurrently": "^9.2.0",
@@ -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
- .object({
37
- user_identities: user_identity.array().optional(),
38
- workspaces: workspace.array().optional(),
39
- spaces: space.array().optional(),
40
- devices: device.array().optional(),
41
- connected_accounts: connected_account.array().optional(),
42
- acs_entrances: acs_entrance.array().optional(),
43
- acs_systems: acs_system.array().optional(),
44
- acs_users: acs_user.array().optional(),
45
- acs_access_groups: acs_access_group.array().optional(),
46
- acs_encoders: acs_encoder.array().optional(),
47
- acs_credentials: acs_credential.array().optional(),
48
- unmanaged_acs_credentials: unmanaged_acs_credential.array().optional(),
49
- action_attempts: action_attempt.array().optional(),
50
- client_sessions: client_session.array().optional(),
51
- unmanaged_acs_users: unmanaged_acs_user.array().optional(),
52
- unmanaged_acs_access_groups: unmanaged_acs_access_group.array().optional(),
53
- unmanaged_devices: unmanaged_device.array().optional(),
54
- connect_webviews: connect_webview.array().optional(),
55
- access_methods: access_method.array().optional(),
56
- access_grants: access_grant.array().optional(),
57
- events: seam_event.array().optional(),
58
- instant_keys: instant_key.array().optional(),
59
- access_codes: access_code.array().optional(),
60
- unmanaged_access_codes: unmanaged_access_code.array().optional(),
61
- thermostat_daily_programs: thermostat_daily_program.array().optional(),
62
- thermostat_schedules: thermostat_schedule.array().optional(),
63
- noise_thresholds: noise_threshold.array().optional(),
64
- customization_profiles: customization_profile.array().optional(),
65
- })
66
- .describe('A batch of workspace resources.')
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>
@@ -689,6 +689,7 @@ export const device_metadata = z
689
689
  .object({
690
690
  device_id: z.string().describe(`Device ID for an Ultraloq device.`),
691
691
  device_name: z.string().describe(`Device name for an Ultraloq device.`),
692
+ device_type: z.string().describe(`Device type for an Ultraloq device.`),
692
693
  })
693
694
  .describe(`Metadata for an Ultraloq device.`),
694
695
  })
@@ -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.',
@@ -11621,8 +11740,12 @@ export default {
11621
11740
  description: 'Device name for an Ultraloq device.',
11622
11741
  type: 'string',
11623
11742
  },
11743
+ device_type: {
11744
+ description: 'Device type for an Ultraloq device.',
11745
+ type: 'string',
11746
+ },
11624
11747
  },
11625
- required: ['device_id', 'device_name'],
11748
+ required: ['device_id', 'device_name', 'device_type'],
11626
11749
  type: 'object',
11627
11750
  },
11628
11751
  visionline_metadata: {
@@ -29147,6 +29270,7 @@ export default {
29147
29270
  },
29148
29271
  },
29149
29272
  type: 'object',
29273
+ 'x-route-path': '/workspaces',
29150
29274
  },
29151
29275
  ok: { type: 'boolean' },
29152
29276
  },
@@ -29278,6 +29402,7 @@ export default {
29278
29402
  },
29279
29403
  },
29280
29404
  type: 'object',
29405
+ 'x-route-path': '/workspaces',
29281
29406
  },
29282
29407
  ok: { type: 'boolean' },
29283
29408
  },
@@ -31227,6 +31352,7 @@ export default {
31227
31352
  },
31228
31353
  },
31229
31354
  type: 'object',
31355
+ 'x-route-path': '/workspaces',
31230
31356
  },
31231
31357
  ok: { type: 'boolean' },
31232
31358
  },
@@ -31366,6 +31492,7 @@ export default {
31366
31492
  },
31367
31493
  },
31368
31494
  type: 'object',
31495
+ 'x-route-path': '/workspaces',
31369
31496
  },
31370
31497
  ok: { type: 'boolean' },
31371
31498
  },
@@ -57224,6 +57351,7 @@ export default {
57224
57351
  },
57225
57352
  },
57226
57353
  type: 'object',
57354
+ 'x-route-path': '/workspaces',
57227
57355
  },
57228
57356
  ok: { type: 'boolean' },
57229
57357
  },
@@ -57344,6 +57472,7 @@ export default {
57344
57472
  },
57345
57473
  },
57346
57474
  type: 'object',
57475
+ 'x-route-path': '/workspaces',
57347
57476
  },
57348
57477
  ok: { type: 'boolean' },
57349
57478
  },
@@ -65874,6 +66003,7 @@ export default {
65874
66003
  },
65875
66004
  },
65876
66005
  type: 'object',
66006
+ 'x-route-path': '/workspaces',
65877
66007
  },
65878
66008
  ok: { type: 'boolean' },
65879
66009
  },
@@ -66098,6 +66228,7 @@ export default {
66098
66228
  },
66099
66229
  },
66100
66230
  type: 'object',
66231
+ 'x-route-path': '/workspaces',
66101
66232
  },
66102
66233
  ok: { type: 'boolean' },
66103
66234
  },