@seamapi/types 1.348.0 → 1.349.1

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.
@@ -19227,6 +19227,272 @@ declare const _default: {
19227
19227
  'x-title': string;
19228
19228
  };
19229
19229
  };
19230
+ '/seam/bridge/v1/bridge_client_sessions/create': {
19231
+ post: {
19232
+ description: string;
19233
+ operationId: string;
19234
+ requestBody: {
19235
+ content: {
19236
+ 'application/json': {
19237
+ schema: {
19238
+ properties: {
19239
+ bridge_client_machine_identifier_key: {
19240
+ type: string;
19241
+ };
19242
+ bridge_client_name: {
19243
+ type: string;
19244
+ };
19245
+ bridge_client_time_zone: {
19246
+ type: string;
19247
+ };
19248
+ };
19249
+ required: string[];
19250
+ type: string;
19251
+ };
19252
+ };
19253
+ };
19254
+ };
19255
+ responses: {
19256
+ 200: {
19257
+ content: {
19258
+ 'application/json': {
19259
+ schema: {
19260
+ properties: {
19261
+ bridge_client_session: {
19262
+ properties: {
19263
+ bridge_client_machine_identifier_key: {
19264
+ type: string;
19265
+ };
19266
+ bridge_client_name: {
19267
+ type: string;
19268
+ };
19269
+ bridge_client_session_id: {
19270
+ format: string;
19271
+ type: string;
19272
+ };
19273
+ bridge_client_session_token: {
19274
+ type: string;
19275
+ };
19276
+ bridge_client_time_zone: {
19277
+ type: string;
19278
+ };
19279
+ created_at: {
19280
+ format: string;
19281
+ type: string;
19282
+ };
19283
+ pairing_code: {
19284
+ maxLength: number;
19285
+ minLength: number;
19286
+ type: string;
19287
+ };
19288
+ pairing_code_expires_at: {
19289
+ format: string;
19290
+ type: string;
19291
+ };
19292
+ tailscale_auth_key: {
19293
+ nullable: boolean;
19294
+ type: string;
19295
+ };
19296
+ tailscale_hostname: {
19297
+ type: string;
19298
+ };
19299
+ };
19300
+ required: string[];
19301
+ type: string;
19302
+ 'x-route-path': string;
19303
+ };
19304
+ ok: {
19305
+ type: string;
19306
+ };
19307
+ };
19308
+ required: string[];
19309
+ type: string;
19310
+ };
19311
+ };
19312
+ };
19313
+ description: string;
19314
+ };
19315
+ 400: {
19316
+ description: string;
19317
+ };
19318
+ 401: {
19319
+ description: string;
19320
+ };
19321
+ };
19322
+ security: {
19323
+ certified_client: never[];
19324
+ }[];
19325
+ summary: string;
19326
+ tags: never[];
19327
+ 'x-fern-sdk-group-name': string[];
19328
+ 'x-fern-sdk-method-name': string;
19329
+ 'x-fern-sdk-return-value': string;
19330
+ 'x-response-key': string;
19331
+ 'x-title': string;
19332
+ };
19333
+ };
19334
+ '/seam/bridge/v1/bridge_client_sessions/get': {
19335
+ get: {
19336
+ description: string;
19337
+ operationId: string;
19338
+ responses: {
19339
+ 200: {
19340
+ content: {
19341
+ 'application/json': {
19342
+ schema: {
19343
+ properties: {
19344
+ bridge_client_session: {
19345
+ properties: {
19346
+ bridge_client_machine_identifier_key: {
19347
+ type: string;
19348
+ };
19349
+ bridge_client_name: {
19350
+ type: string;
19351
+ };
19352
+ bridge_client_session_id: {
19353
+ format: string;
19354
+ type: string;
19355
+ };
19356
+ bridge_client_session_token: {
19357
+ type: string;
19358
+ };
19359
+ bridge_client_time_zone: {
19360
+ type: string;
19361
+ };
19362
+ created_at: {
19363
+ format: string;
19364
+ type: string;
19365
+ };
19366
+ pairing_code: {
19367
+ maxLength: number;
19368
+ minLength: number;
19369
+ type: string;
19370
+ };
19371
+ pairing_code_expires_at: {
19372
+ format: string;
19373
+ type: string;
19374
+ };
19375
+ tailscale_auth_key: {
19376
+ nullable: boolean;
19377
+ type: string;
19378
+ };
19379
+ tailscale_hostname: {
19380
+ type: string;
19381
+ };
19382
+ };
19383
+ required: string[];
19384
+ type: string;
19385
+ 'x-route-path': string;
19386
+ };
19387
+ ok: {
19388
+ type: string;
19389
+ };
19390
+ };
19391
+ required: string[];
19392
+ type: string;
19393
+ };
19394
+ };
19395
+ };
19396
+ description: string;
19397
+ };
19398
+ 400: {
19399
+ description: string;
19400
+ };
19401
+ 401: {
19402
+ description: string;
19403
+ };
19404
+ };
19405
+ security: {
19406
+ bridge_client_session: never[];
19407
+ }[];
19408
+ summary: string;
19409
+ tags: never[];
19410
+ 'x-fern-ignore': boolean;
19411
+ 'x-response-key': string;
19412
+ 'x-title': string;
19413
+ };
19414
+ post: {
19415
+ description: string;
19416
+ operationId: string;
19417
+ responses: {
19418
+ 200: {
19419
+ content: {
19420
+ 'application/json': {
19421
+ schema: {
19422
+ properties: {
19423
+ bridge_client_session: {
19424
+ properties: {
19425
+ bridge_client_machine_identifier_key: {
19426
+ type: string;
19427
+ };
19428
+ bridge_client_name: {
19429
+ type: string;
19430
+ };
19431
+ bridge_client_session_id: {
19432
+ format: string;
19433
+ type: string;
19434
+ };
19435
+ bridge_client_session_token: {
19436
+ type: string;
19437
+ };
19438
+ bridge_client_time_zone: {
19439
+ type: string;
19440
+ };
19441
+ created_at: {
19442
+ format: string;
19443
+ type: string;
19444
+ };
19445
+ pairing_code: {
19446
+ maxLength: number;
19447
+ minLength: number;
19448
+ type: string;
19449
+ };
19450
+ pairing_code_expires_at: {
19451
+ format: string;
19452
+ type: string;
19453
+ };
19454
+ tailscale_auth_key: {
19455
+ nullable: boolean;
19456
+ type: string;
19457
+ };
19458
+ tailscale_hostname: {
19459
+ type: string;
19460
+ };
19461
+ };
19462
+ required: string[];
19463
+ type: string;
19464
+ 'x-route-path': string;
19465
+ };
19466
+ ok: {
19467
+ type: string;
19468
+ };
19469
+ };
19470
+ required: string[];
19471
+ type: string;
19472
+ };
19473
+ };
19474
+ };
19475
+ description: string;
19476
+ };
19477
+ 400: {
19478
+ description: string;
19479
+ };
19480
+ 401: {
19481
+ description: string;
19482
+ };
19483
+ };
19484
+ security: {
19485
+ bridge_client_session: never[];
19486
+ }[];
19487
+ summary: string;
19488
+ tags: never[];
19489
+ 'x-fern-sdk-group-name': string[];
19490
+ 'x-fern-sdk-method-name': string;
19491
+ 'x-fern-sdk-return-value': string;
19492
+ 'x-response-key': string;
19493
+ 'x-title': string;
19494
+ };
19495
+ };
19230
19496
  '/thermostats/activate_climate_preset': {
19231
19497
  post: {
19232
19498
  description: string;
@@ -22188,6 +22188,247 @@ export default {
22188
22188
  'x-title': 'Create a Sandbox Phone',
22189
22189
  },
22190
22190
  },
22191
+ '/seam/bridge/v1/bridge_client_sessions/create': {
22192
+ post: {
22193
+ description: 'Creates a new bridge client session.',
22194
+ operationId: 'seamBridgeV1BridgeClientSessionsCreatePost',
22195
+ requestBody: {
22196
+ content: {
22197
+ 'application/json': {
22198
+ schema: {
22199
+ properties: {
22200
+ bridge_client_machine_identifier_key: { type: 'string' },
22201
+ bridge_client_name: { type: 'string' },
22202
+ bridge_client_time_zone: { type: 'string' },
22203
+ },
22204
+ required: [
22205
+ 'bridge_client_name',
22206
+ 'bridge_client_time_zone',
22207
+ 'bridge_client_machine_identifier_key',
22208
+ ],
22209
+ type: 'object',
22210
+ },
22211
+ },
22212
+ },
22213
+ },
22214
+ responses: {
22215
+ 200: {
22216
+ content: {
22217
+ 'application/json': {
22218
+ schema: {
22219
+ properties: {
22220
+ bridge_client_session: {
22221
+ properties: {
22222
+ bridge_client_machine_identifier_key: {
22223
+ type: 'string',
22224
+ },
22225
+ bridge_client_name: { type: 'string' },
22226
+ bridge_client_session_id: {
22227
+ format: 'uuid',
22228
+ type: 'string',
22229
+ },
22230
+ bridge_client_session_token: { type: 'string' },
22231
+ bridge_client_time_zone: { type: 'string' },
22232
+ created_at: { format: 'date-time', type: 'string' },
22233
+ pairing_code: {
22234
+ maxLength: 6,
22235
+ minLength: 6,
22236
+ type: 'string',
22237
+ },
22238
+ pairing_code_expires_at: {
22239
+ format: 'date-time',
22240
+ type: 'string',
22241
+ },
22242
+ tailscale_auth_key: { nullable: true, type: 'string' },
22243
+ tailscale_hostname: { type: 'string' },
22244
+ },
22245
+ required: [
22246
+ 'created_at',
22247
+ 'bridge_client_session_id',
22248
+ 'bridge_client_session_token',
22249
+ 'pairing_code',
22250
+ 'pairing_code_expires_at',
22251
+ 'tailscale_hostname',
22252
+ 'tailscale_auth_key',
22253
+ 'bridge_client_name',
22254
+ 'bridge_client_time_zone',
22255
+ 'bridge_client_machine_identifier_key',
22256
+ ],
22257
+ type: 'object',
22258
+ 'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
22259
+ },
22260
+ ok: { type: 'boolean' },
22261
+ },
22262
+ required: ['bridge_client_session', 'ok'],
22263
+ type: 'object',
22264
+ },
22265
+ },
22266
+ },
22267
+ description: 'OK',
22268
+ },
22269
+ 400: { description: 'Bad Request' },
22270
+ 401: { description: 'Unauthorized' },
22271
+ },
22272
+ security: [{ certified_client: [] }],
22273
+ summary: '/seam/bridge/v1/bridge_client_sessions/create',
22274
+ tags: [],
22275
+ 'x-fern-sdk-group-name': [
22276
+ 'seam',
22277
+ 'bridge',
22278
+ 'v1',
22279
+ 'bridge_client_sessions',
22280
+ ],
22281
+ 'x-fern-sdk-method-name': 'create',
22282
+ 'x-fern-sdk-return-value': 'bridge_client_session',
22283
+ 'x-response-key': 'bridge_client_session',
22284
+ 'x-title': 'Create a Bridge Client Session',
22285
+ },
22286
+ },
22287
+ '/seam/bridge/v1/bridge_client_sessions/get': {
22288
+ get: {
22289
+ description: 'Returns the bridge client session associated with the session token used.',
22290
+ operationId: 'seamBridgeV1BridgeClientSessionsGetGet',
22291
+ responses: {
22292
+ 200: {
22293
+ content: {
22294
+ 'application/json': {
22295
+ schema: {
22296
+ properties: {
22297
+ bridge_client_session: {
22298
+ properties: {
22299
+ bridge_client_machine_identifier_key: {
22300
+ type: 'string',
22301
+ },
22302
+ bridge_client_name: { type: 'string' },
22303
+ bridge_client_session_id: {
22304
+ format: 'uuid',
22305
+ type: 'string',
22306
+ },
22307
+ bridge_client_session_token: { type: 'string' },
22308
+ bridge_client_time_zone: { type: 'string' },
22309
+ created_at: { format: 'date-time', type: 'string' },
22310
+ pairing_code: {
22311
+ maxLength: 6,
22312
+ minLength: 6,
22313
+ type: 'string',
22314
+ },
22315
+ pairing_code_expires_at: {
22316
+ format: 'date-time',
22317
+ type: 'string',
22318
+ },
22319
+ tailscale_auth_key: { nullable: true, type: 'string' },
22320
+ tailscale_hostname: { type: 'string' },
22321
+ },
22322
+ required: [
22323
+ 'created_at',
22324
+ 'bridge_client_session_id',
22325
+ 'bridge_client_session_token',
22326
+ 'pairing_code',
22327
+ 'pairing_code_expires_at',
22328
+ 'tailscale_hostname',
22329
+ 'tailscale_auth_key',
22330
+ 'bridge_client_name',
22331
+ 'bridge_client_time_zone',
22332
+ 'bridge_client_machine_identifier_key',
22333
+ ],
22334
+ type: 'object',
22335
+ 'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
22336
+ },
22337
+ ok: { type: 'boolean' },
22338
+ },
22339
+ required: ['bridge_client_session', 'ok'],
22340
+ type: 'object',
22341
+ },
22342
+ },
22343
+ },
22344
+ description: 'OK',
22345
+ },
22346
+ 400: { description: 'Bad Request' },
22347
+ 401: { description: 'Unauthorized' },
22348
+ },
22349
+ security: [{ bridge_client_session: [] }],
22350
+ summary: '/seam/bridge/v1/bridge_client_sessions/get',
22351
+ tags: [],
22352
+ 'x-fern-ignore': true,
22353
+ 'x-response-key': 'bridge_client_session',
22354
+ 'x-title': 'Get a Bridge Client Session',
22355
+ },
22356
+ post: {
22357
+ description: 'Returns the bridge client session associated with the session token used.',
22358
+ operationId: 'seamBridgeV1BridgeClientSessionsGetPost',
22359
+ responses: {
22360
+ 200: {
22361
+ content: {
22362
+ 'application/json': {
22363
+ schema: {
22364
+ properties: {
22365
+ bridge_client_session: {
22366
+ properties: {
22367
+ bridge_client_machine_identifier_key: {
22368
+ type: 'string',
22369
+ },
22370
+ bridge_client_name: { type: 'string' },
22371
+ bridge_client_session_id: {
22372
+ format: 'uuid',
22373
+ type: 'string',
22374
+ },
22375
+ bridge_client_session_token: { type: 'string' },
22376
+ bridge_client_time_zone: { type: 'string' },
22377
+ created_at: { format: 'date-time', type: 'string' },
22378
+ pairing_code: {
22379
+ maxLength: 6,
22380
+ minLength: 6,
22381
+ type: 'string',
22382
+ },
22383
+ pairing_code_expires_at: {
22384
+ format: 'date-time',
22385
+ type: 'string',
22386
+ },
22387
+ tailscale_auth_key: { nullable: true, type: 'string' },
22388
+ tailscale_hostname: { type: 'string' },
22389
+ },
22390
+ required: [
22391
+ 'created_at',
22392
+ 'bridge_client_session_id',
22393
+ 'bridge_client_session_token',
22394
+ 'pairing_code',
22395
+ 'pairing_code_expires_at',
22396
+ 'tailscale_hostname',
22397
+ 'tailscale_auth_key',
22398
+ 'bridge_client_name',
22399
+ 'bridge_client_time_zone',
22400
+ 'bridge_client_machine_identifier_key',
22401
+ ],
22402
+ type: 'object',
22403
+ 'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
22404
+ },
22405
+ ok: { type: 'boolean' },
22406
+ },
22407
+ required: ['bridge_client_session', 'ok'],
22408
+ type: 'object',
22409
+ },
22410
+ },
22411
+ },
22412
+ description: 'OK',
22413
+ },
22414
+ 400: { description: 'Bad Request' },
22415
+ 401: { description: 'Unauthorized' },
22416
+ },
22417
+ security: [{ bridge_client_session: [] }],
22418
+ summary: '/seam/bridge/v1/bridge_client_sessions/get',
22419
+ tags: [],
22420
+ 'x-fern-sdk-group-name': [
22421
+ 'seam',
22422
+ 'bridge',
22423
+ 'v1',
22424
+ 'bridge_client_sessions',
22425
+ ],
22426
+ 'x-fern-sdk-method-name': 'get',
22427
+ 'x-fern-sdk-return-value': 'bridge_client_session',
22428
+ 'x-response-key': 'bridge_client_session',
22429
+ 'x-title': 'Get a Bridge Client Session',
22430
+ },
22431
+ },
22191
22432
  '/thermostats/activate_climate_preset': {
22192
22433
  post: {
22193
22434
  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).',