@seamapi/types 1.347.1 → 1.349.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.
@@ -8019,6 +8019,16 @@ declare const _default: {
8019
8019
  scheme: string;
8020
8020
  type: string;
8021
8021
  };
8022
+ bridge_client_session: {
8023
+ bearerFormat: string;
8024
+ scheme: string;
8025
+ type: string;
8026
+ };
8027
+ certified_client: {
8028
+ bearerFormat: string;
8029
+ scheme: string;
8030
+ type: string;
8031
+ };
8022
8032
  client_session: {
8023
8033
  bearerFormat: string;
8024
8034
  scheme: string;
@@ -19217,6 +19227,272 @@ declare const _default: {
19217
19227
  'x-title': string;
19218
19228
  };
19219
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
+ machine_identifier_key: {
19240
+ type: string;
19241
+ };
19242
+ name: {
19243
+ type: string;
19244
+ };
19245
+ 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_tailscale_hostname: {
19277
+ type: string;
19278
+ };
19279
+ bridge_client_time_zone: {
19280
+ type: string;
19281
+ };
19282
+ created_at: {
19283
+ format: string;
19284
+ type: string;
19285
+ };
19286
+ pairing_code: {
19287
+ maxLength: number;
19288
+ minLength: number;
19289
+ type: string;
19290
+ };
19291
+ pairing_code_expires_at: {
19292
+ format: string;
19293
+ type: string;
19294
+ };
19295
+ tailscale_auth_key: {
19296
+ nullable: boolean;
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_tailscale_hostname: {
19360
+ type: string;
19361
+ };
19362
+ bridge_client_time_zone: {
19363
+ type: string;
19364
+ };
19365
+ created_at: {
19366
+ format: string;
19367
+ type: string;
19368
+ };
19369
+ pairing_code: {
19370
+ maxLength: number;
19371
+ minLength: number;
19372
+ type: string;
19373
+ };
19374
+ pairing_code_expires_at: {
19375
+ format: string;
19376
+ type: string;
19377
+ };
19378
+ tailscale_auth_key: {
19379
+ nullable: boolean;
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_tailscale_hostname: {
19439
+ type: string;
19440
+ };
19441
+ bridge_client_time_zone: {
19442
+ type: string;
19443
+ };
19444
+ created_at: {
19445
+ format: string;
19446
+ type: string;
19447
+ };
19448
+ pairing_code: {
19449
+ maxLength: number;
19450
+ minLength: number;
19451
+ type: string;
19452
+ };
19453
+ pairing_code_expires_at: {
19454
+ format: string;
19455
+ type: string;
19456
+ };
19457
+ tailscale_auth_key: {
19458
+ nullable: boolean;
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
+ };
19220
19496
  '/thermostats/activate_climate_preset': {
19221
19497
  post: {
19222
19498
  description: string;
@@ -13329,6 +13329,16 @@ export default {
13329
13329
  type: 'http',
13330
13330
  },
13331
13331
  api_key: { bearerFormat: 'API Key', scheme: 'bearer', type: 'http' },
13332
+ bridge_client_session: {
13333
+ bearerFormat: 'Bridge Client Session Token',
13334
+ scheme: 'bearer',
13335
+ type: 'http',
13336
+ },
13337
+ certified_client: {
13338
+ bearerFormat: 'Certified Client',
13339
+ scheme: 'bearer',
13340
+ type: 'http',
13341
+ },
13332
13342
  client_session: {
13333
13343
  bearerFormat: 'Client Session Token',
13334
13344
  scheme: 'bearer',
@@ -22178,6 +22188,243 @@ export default {
22178
22188
  'x-title': 'Create a Sandbox Phone',
22179
22189
  },
22180
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
+ machine_identifier_key: { type: 'string' },
22201
+ name: { type: 'string' },
22202
+ time_zone: { type: 'string' },
22203
+ },
22204
+ required: ['name', 'time_zone', 'machine_identifier_key'],
22205
+ type: 'object',
22206
+ },
22207
+ },
22208
+ },
22209
+ },
22210
+ responses: {
22211
+ 200: {
22212
+ content: {
22213
+ 'application/json': {
22214
+ schema: {
22215
+ properties: {
22216
+ bridge_client_session: {
22217
+ properties: {
22218
+ bridge_client_machine_identifier_key: {
22219
+ type: 'string',
22220
+ },
22221
+ bridge_client_name: { type: 'string' },
22222
+ bridge_client_session_id: {
22223
+ format: 'uuid',
22224
+ type: 'string',
22225
+ },
22226
+ bridge_client_session_token: { type: 'string' },
22227
+ bridge_client_tailscale_hostname: { type: 'string' },
22228
+ bridge_client_time_zone: { type: 'string' },
22229
+ created_at: { format: 'date-time', type: 'string' },
22230
+ pairing_code: {
22231
+ maxLength: 6,
22232
+ minLength: 6,
22233
+ type: 'string',
22234
+ },
22235
+ pairing_code_expires_at: {
22236
+ format: 'date-time',
22237
+ type: 'string',
22238
+ },
22239
+ tailscale_auth_key: { nullable: true, type: 'string' },
22240
+ },
22241
+ required: [
22242
+ 'created_at',
22243
+ 'bridge_client_session_id',
22244
+ '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
+ 'pairing_code',
22250
+ 'pairing_code_expires_at',
22251
+ 'tailscale_auth_key',
22252
+ ],
22253
+ type: 'object',
22254
+ 'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
22255
+ },
22256
+ ok: { type: 'boolean' },
22257
+ },
22258
+ required: ['bridge_client_session', 'ok'],
22259
+ type: 'object',
22260
+ },
22261
+ },
22262
+ },
22263
+ description: 'OK',
22264
+ },
22265
+ 400: { description: 'Bad Request' },
22266
+ 401: { description: 'Unauthorized' },
22267
+ },
22268
+ security: [{ certified_client: [] }],
22269
+ summary: '/seam/bridge/v1/bridge_client_sessions/create',
22270
+ tags: [],
22271
+ 'x-fern-sdk-group-name': [
22272
+ 'seam',
22273
+ 'bridge',
22274
+ 'v1',
22275
+ 'bridge_client_sessions',
22276
+ ],
22277
+ 'x-fern-sdk-method-name': 'create',
22278
+ 'x-fern-sdk-return-value': 'bridge_client_session',
22279
+ 'x-response-key': 'bridge_client_session',
22280
+ 'x-title': 'Create a Bridge Client Session',
22281
+ },
22282
+ },
22283
+ '/seam/bridge/v1/bridge_client_sessions/get': {
22284
+ get: {
22285
+ description: 'Returns the bridge client session associated with the session token used.',
22286
+ operationId: 'seamBridgeV1BridgeClientSessionsGetGet',
22287
+ responses: {
22288
+ 200: {
22289
+ content: {
22290
+ 'application/json': {
22291
+ schema: {
22292
+ properties: {
22293
+ bridge_client_session: {
22294
+ properties: {
22295
+ bridge_client_machine_identifier_key: {
22296
+ type: 'string',
22297
+ },
22298
+ bridge_client_name: { type: 'string' },
22299
+ bridge_client_session_id: {
22300
+ format: 'uuid',
22301
+ type: 'string',
22302
+ },
22303
+ bridge_client_session_token: { type: 'string' },
22304
+ bridge_client_tailscale_hostname: { type: 'string' },
22305
+ bridge_client_time_zone: { type: 'string' },
22306
+ created_at: { format: 'date-time', type: 'string' },
22307
+ pairing_code: {
22308
+ maxLength: 6,
22309
+ minLength: 6,
22310
+ type: 'string',
22311
+ },
22312
+ pairing_code_expires_at: {
22313
+ format: 'date-time',
22314
+ type: 'string',
22315
+ },
22316
+ tailscale_auth_key: { nullable: true, type: 'string' },
22317
+ },
22318
+ required: [
22319
+ 'created_at',
22320
+ 'bridge_client_session_id',
22321
+ '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
+ 'pairing_code',
22327
+ 'pairing_code_expires_at',
22328
+ 'tailscale_auth_key',
22329
+ ],
22330
+ type: 'object',
22331
+ 'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
22332
+ },
22333
+ ok: { type: 'boolean' },
22334
+ },
22335
+ required: ['bridge_client_session', 'ok'],
22336
+ type: 'object',
22337
+ },
22338
+ },
22339
+ },
22340
+ description: 'OK',
22341
+ },
22342
+ 400: { description: 'Bad Request' },
22343
+ 401: { description: 'Unauthorized' },
22344
+ },
22345
+ security: [{ bridge_client_session: [] }],
22346
+ summary: '/seam/bridge/v1/bridge_client_sessions/get',
22347
+ tags: [],
22348
+ 'x-fern-ignore': true,
22349
+ 'x-response-key': 'bridge_client_session',
22350
+ 'x-title': 'Get a Bridge Client Session',
22351
+ },
22352
+ post: {
22353
+ description: 'Returns the bridge client session associated with the session token used.',
22354
+ operationId: 'seamBridgeV1BridgeClientSessionsGetPost',
22355
+ responses: {
22356
+ 200: {
22357
+ content: {
22358
+ 'application/json': {
22359
+ schema: {
22360
+ properties: {
22361
+ bridge_client_session: {
22362
+ properties: {
22363
+ bridge_client_machine_identifier_key: {
22364
+ type: 'string',
22365
+ },
22366
+ bridge_client_name: { type: 'string' },
22367
+ bridge_client_session_id: {
22368
+ format: 'uuid',
22369
+ type: 'string',
22370
+ },
22371
+ bridge_client_session_token: { type: 'string' },
22372
+ bridge_client_tailscale_hostname: { type: 'string' },
22373
+ bridge_client_time_zone: { type: 'string' },
22374
+ created_at: { format: 'date-time', type: 'string' },
22375
+ pairing_code: {
22376
+ maxLength: 6,
22377
+ minLength: 6,
22378
+ type: 'string',
22379
+ },
22380
+ pairing_code_expires_at: {
22381
+ format: 'date-time',
22382
+ type: 'string',
22383
+ },
22384
+ tailscale_auth_key: { nullable: true, type: 'string' },
22385
+ },
22386
+ required: [
22387
+ 'created_at',
22388
+ 'bridge_client_session_id',
22389
+ '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
+ 'pairing_code',
22395
+ 'pairing_code_expires_at',
22396
+ 'tailscale_auth_key',
22397
+ ],
22398
+ type: 'object',
22399
+ 'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
22400
+ },
22401
+ ok: { type: 'boolean' },
22402
+ },
22403
+ required: ['bridge_client_session', 'ok'],
22404
+ type: 'object',
22405
+ },
22406
+ },
22407
+ },
22408
+ description: 'OK',
22409
+ },
22410
+ 400: { description: 'Bad Request' },
22411
+ 401: { description: 'Unauthorized' },
22412
+ },
22413
+ security: [{ bridge_client_session: [] }],
22414
+ summary: '/seam/bridge/v1/bridge_client_sessions/get',
22415
+ tags: [],
22416
+ 'x-fern-sdk-group-name': [
22417
+ 'seam',
22418
+ 'bridge',
22419
+ 'v1',
22420
+ 'bridge_client_sessions',
22421
+ ],
22422
+ 'x-fern-sdk-method-name': 'get',
22423
+ 'x-fern-sdk-return-value': 'bridge_client_session',
22424
+ 'x-response-key': 'bridge_client_session',
22425
+ 'x-title': 'Get a Bridge Client Session',
22426
+ },
22427
+ },
22181
22428
  '/thermostats/activate_climate_preset': {
22182
22429
  post: {
22183
22430
  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).',