@seamapi/types 1.349.0 → 1.350.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 +159 -25
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +220 -18
- package/lib/seam/connect/models/bridges/bridge_client_session.d.ts +12 -12
- package/lib/seam/connect/models/bridges/bridge_client_session.js +4 -4
- package/lib/seam/connect/models/bridges/bridge_client_session.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +174 -10
- package/lib/seam/connect/openapi.js +153 -19
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +46 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/bridges/bridge_client_session.ts +4 -4
- package/src/lib/seam/connect/openapi.ts +156 -19
- package/src/lib/seam/connect/route-types.ts +46 -8
|
@@ -18283,6 +18283,59 @@ export default {
|
|
|
18283
18283
|
'x-response-key': 'bridge',
|
|
18284
18284
|
},
|
|
18285
18285
|
},
|
|
18286
|
+
'/bridges/list': {
|
|
18287
|
+
post: {
|
|
18288
|
+
operationId: 'bridgesListPost',
|
|
18289
|
+
requestBody: {
|
|
18290
|
+
content: {
|
|
18291
|
+
'application/json': { schema: { properties: {}, type: 'object' } },
|
|
18292
|
+
},
|
|
18293
|
+
},
|
|
18294
|
+
responses: {
|
|
18295
|
+
200: {
|
|
18296
|
+
content: {
|
|
18297
|
+
'application/json': {
|
|
18298
|
+
schema: {
|
|
18299
|
+
properties: {
|
|
18300
|
+
bridges: {
|
|
18301
|
+
items: {
|
|
18302
|
+
properties: {
|
|
18303
|
+
bridge_id: { format: 'uuid', type: 'string' },
|
|
18304
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
18305
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
18306
|
+
},
|
|
18307
|
+
required: ['bridge_id', 'workspace_id', 'created_at'],
|
|
18308
|
+
type: 'object',
|
|
18309
|
+
'x-route-path': '/bridges',
|
|
18310
|
+
'x-undocumented': 'Unreleased.',
|
|
18311
|
+
},
|
|
18312
|
+
type: 'array',
|
|
18313
|
+
},
|
|
18314
|
+
ok: { type: 'boolean' },
|
|
18315
|
+
},
|
|
18316
|
+
required: ['bridges', 'ok'],
|
|
18317
|
+
type: 'object',
|
|
18318
|
+
},
|
|
18319
|
+
},
|
|
18320
|
+
},
|
|
18321
|
+
description: 'OK',
|
|
18322
|
+
},
|
|
18323
|
+
400: { description: 'Bad Request' },
|
|
18324
|
+
401: { description: 'Unauthorized' },
|
|
18325
|
+
},
|
|
18326
|
+
security: [
|
|
18327
|
+
{ pat_with_workspace: [] },
|
|
18328
|
+
{ console_session_with_workspace: [] },
|
|
18329
|
+
{ api_key: [] },
|
|
18330
|
+
],
|
|
18331
|
+
summary: '/bridges/list',
|
|
18332
|
+
tags: [],
|
|
18333
|
+
'x-fern-sdk-group-name': ['bridges'],
|
|
18334
|
+
'x-fern-sdk-method-name': 'list',
|
|
18335
|
+
'x-fern-sdk-return-value': 'bridges',
|
|
18336
|
+
'x-response-key': 'bridges',
|
|
18337
|
+
},
|
|
18338
|
+
},
|
|
18286
18339
|
'/client_sessions/create': {
|
|
18287
18340
|
post: {
|
|
18288
18341
|
operationId: 'clientSessionsCreatePost',
|
|
@@ -22197,11 +22250,15 @@ export default {
|
|
|
22197
22250
|
'application/json': {
|
|
22198
22251
|
schema: {
|
|
22199
22252
|
properties: {
|
|
22200
|
-
|
|
22201
|
-
|
|
22202
|
-
|
|
22253
|
+
bridge_client_machine_identifier_key: { type: 'string' },
|
|
22254
|
+
bridge_client_name: { type: 'string' },
|
|
22255
|
+
bridge_client_time_zone: { type: 'string' },
|
|
22203
22256
|
},
|
|
22204
|
-
required: [
|
|
22257
|
+
required: [
|
|
22258
|
+
'bridge_client_name',
|
|
22259
|
+
'bridge_client_time_zone',
|
|
22260
|
+
'bridge_client_machine_identifier_key',
|
|
22261
|
+
],
|
|
22205
22262
|
type: 'object',
|
|
22206
22263
|
},
|
|
22207
22264
|
},
|
|
@@ -22224,7 +22281,6 @@ export default {
|
|
|
22224
22281
|
type: 'string',
|
|
22225
22282
|
},
|
|
22226
22283
|
bridge_client_session_token: { type: 'string' },
|
|
22227
|
-
bridge_client_tailscale_hostname: { type: 'string' },
|
|
22228
22284
|
bridge_client_time_zone: { type: 'string' },
|
|
22229
22285
|
created_at: { format: 'date-time', type: 'string' },
|
|
22230
22286
|
pairing_code: {
|
|
@@ -22237,18 +22293,19 @@ export default {
|
|
|
22237
22293
|
type: 'string',
|
|
22238
22294
|
},
|
|
22239
22295
|
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
22296
|
+
tailscale_hostname: { type: 'string' },
|
|
22240
22297
|
},
|
|
22241
22298
|
required: [
|
|
22242
22299
|
'created_at',
|
|
22243
22300
|
'bridge_client_session_id',
|
|
22244
22301
|
'bridge_client_session_token',
|
|
22245
|
-
'bridge_client_name',
|
|
22246
|
-
'bridge_client_time_zone',
|
|
22247
|
-
'bridge_client_machine_identifier_key',
|
|
22248
|
-
'bridge_client_tailscale_hostname',
|
|
22249
22302
|
'pairing_code',
|
|
22250
22303
|
'pairing_code_expires_at',
|
|
22304
|
+
'tailscale_hostname',
|
|
22251
22305
|
'tailscale_auth_key',
|
|
22306
|
+
'bridge_client_name',
|
|
22307
|
+
'bridge_client_time_zone',
|
|
22308
|
+
'bridge_client_machine_identifier_key',
|
|
22252
22309
|
],
|
|
22253
22310
|
type: 'object',
|
|
22254
22311
|
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
@@ -22301,7 +22358,6 @@ export default {
|
|
|
22301
22358
|
type: 'string',
|
|
22302
22359
|
},
|
|
22303
22360
|
bridge_client_session_token: { type: 'string' },
|
|
22304
|
-
bridge_client_tailscale_hostname: { type: 'string' },
|
|
22305
22361
|
bridge_client_time_zone: { type: 'string' },
|
|
22306
22362
|
created_at: { format: 'date-time', type: 'string' },
|
|
22307
22363
|
pairing_code: {
|
|
@@ -22314,18 +22370,19 @@ export default {
|
|
|
22314
22370
|
type: 'string',
|
|
22315
22371
|
},
|
|
22316
22372
|
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
22373
|
+
tailscale_hostname: { type: 'string' },
|
|
22317
22374
|
},
|
|
22318
22375
|
required: [
|
|
22319
22376
|
'created_at',
|
|
22320
22377
|
'bridge_client_session_id',
|
|
22321
22378
|
'bridge_client_session_token',
|
|
22322
|
-
'bridge_client_name',
|
|
22323
|
-
'bridge_client_time_zone',
|
|
22324
|
-
'bridge_client_machine_identifier_key',
|
|
22325
|
-
'bridge_client_tailscale_hostname',
|
|
22326
22379
|
'pairing_code',
|
|
22327
22380
|
'pairing_code_expires_at',
|
|
22381
|
+
'tailscale_hostname',
|
|
22328
22382
|
'tailscale_auth_key',
|
|
22383
|
+
'bridge_client_name',
|
|
22384
|
+
'bridge_client_time_zone',
|
|
22385
|
+
'bridge_client_machine_identifier_key',
|
|
22329
22386
|
],
|
|
22330
22387
|
type: 'object',
|
|
22331
22388
|
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
@@ -22369,7 +22426,6 @@ export default {
|
|
|
22369
22426
|
type: 'string',
|
|
22370
22427
|
},
|
|
22371
22428
|
bridge_client_session_token: { type: 'string' },
|
|
22372
|
-
bridge_client_tailscale_hostname: { type: 'string' },
|
|
22373
22429
|
bridge_client_time_zone: { type: 'string' },
|
|
22374
22430
|
created_at: { format: 'date-time', type: 'string' },
|
|
22375
22431
|
pairing_code: {
|
|
@@ -22382,18 +22438,19 @@ export default {
|
|
|
22382
22438
|
type: 'string',
|
|
22383
22439
|
},
|
|
22384
22440
|
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
22441
|
+
tailscale_hostname: { type: 'string' },
|
|
22385
22442
|
},
|
|
22386
22443
|
required: [
|
|
22387
22444
|
'created_at',
|
|
22388
22445
|
'bridge_client_session_id',
|
|
22389
22446
|
'bridge_client_session_token',
|
|
22390
|
-
'bridge_client_name',
|
|
22391
|
-
'bridge_client_time_zone',
|
|
22392
|
-
'bridge_client_machine_identifier_key',
|
|
22393
|
-
'bridge_client_tailscale_hostname',
|
|
22394
22447
|
'pairing_code',
|
|
22395
22448
|
'pairing_code_expires_at',
|
|
22449
|
+
'tailscale_hostname',
|
|
22396
22450
|
'tailscale_auth_key',
|
|
22451
|
+
'bridge_client_name',
|
|
22452
|
+
'bridge_client_time_zone',
|
|
22453
|
+
'bridge_client_machine_identifier_key',
|
|
22397
22454
|
],
|
|
22398
22455
|
type: 'object',
|
|
22399
22456
|
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
@@ -22425,6 +22482,83 @@ export default {
|
|
|
22425
22482
|
'x-title': 'Get a Bridge Client Session',
|
|
22426
22483
|
},
|
|
22427
22484
|
},
|
|
22485
|
+
'/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code': {
|
|
22486
|
+
post: {
|
|
22487
|
+
description: 'Generate a new pairing code and return the updated bridge client session.',
|
|
22488
|
+
operationId: 'seamBridgeV1BridgeClientSessionsRegeneratePairingCodePost',
|
|
22489
|
+
responses: {
|
|
22490
|
+
200: {
|
|
22491
|
+
content: {
|
|
22492
|
+
'application/json': {
|
|
22493
|
+
schema: {
|
|
22494
|
+
properties: {
|
|
22495
|
+
bridge_client_session: {
|
|
22496
|
+
properties: {
|
|
22497
|
+
bridge_client_machine_identifier_key: {
|
|
22498
|
+
type: 'string',
|
|
22499
|
+
},
|
|
22500
|
+
bridge_client_name: { type: 'string' },
|
|
22501
|
+
bridge_client_session_id: {
|
|
22502
|
+
format: 'uuid',
|
|
22503
|
+
type: 'string',
|
|
22504
|
+
},
|
|
22505
|
+
bridge_client_session_token: { type: 'string' },
|
|
22506
|
+
bridge_client_time_zone: { type: 'string' },
|
|
22507
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
22508
|
+
pairing_code: {
|
|
22509
|
+
maxLength: 6,
|
|
22510
|
+
minLength: 6,
|
|
22511
|
+
type: 'string',
|
|
22512
|
+
},
|
|
22513
|
+
pairing_code_expires_at: {
|
|
22514
|
+
format: 'date-time',
|
|
22515
|
+
type: 'string',
|
|
22516
|
+
},
|
|
22517
|
+
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
22518
|
+
tailscale_hostname: { type: 'string' },
|
|
22519
|
+
},
|
|
22520
|
+
required: [
|
|
22521
|
+
'created_at',
|
|
22522
|
+
'bridge_client_session_id',
|
|
22523
|
+
'bridge_client_session_token',
|
|
22524
|
+
'pairing_code',
|
|
22525
|
+
'pairing_code_expires_at',
|
|
22526
|
+
'tailscale_hostname',
|
|
22527
|
+
'tailscale_auth_key',
|
|
22528
|
+
'bridge_client_name',
|
|
22529
|
+
'bridge_client_time_zone',
|
|
22530
|
+
'bridge_client_machine_identifier_key',
|
|
22531
|
+
],
|
|
22532
|
+
type: 'object',
|
|
22533
|
+
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
22534
|
+
},
|
|
22535
|
+
ok: { type: 'boolean' },
|
|
22536
|
+
},
|
|
22537
|
+
required: ['bridge_client_session', 'ok'],
|
|
22538
|
+
type: 'object',
|
|
22539
|
+
},
|
|
22540
|
+
},
|
|
22541
|
+
},
|
|
22542
|
+
description: 'OK',
|
|
22543
|
+
},
|
|
22544
|
+
400: { description: 'Bad Request' },
|
|
22545
|
+
401: { description: 'Unauthorized' },
|
|
22546
|
+
},
|
|
22547
|
+
security: [{ bridge_client_session: [] }],
|
|
22548
|
+
summary: '/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code',
|
|
22549
|
+
tags: [],
|
|
22550
|
+
'x-fern-sdk-group-name': [
|
|
22551
|
+
'seam',
|
|
22552
|
+
'bridge',
|
|
22553
|
+
'v1',
|
|
22554
|
+
'bridge_client_sessions',
|
|
22555
|
+
],
|
|
22556
|
+
'x-fern-sdk-method-name': 'regenerate_pairing_code',
|
|
22557
|
+
'x-fern-sdk-return-value': 'bridge_client_session',
|
|
22558
|
+
'x-response-key': 'bridge_client_session',
|
|
22559
|
+
'x-title': 'Regenerate a Bridge Client Session Pairing Code',
|
|
22560
|
+
},
|
|
22561
|
+
},
|
|
22428
22562
|
'/thermostats/activate_climate_preset': {
|
|
22429
22563
|
post: {
|
|
22430
22564
|
description: 'Activates a specified [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).',
|