@seamapi/types 1.349.1 → 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.
@@ -31389,6 +31389,87 @@ declare const _default: {
31389
31389
  'x-response-key': string;
31390
31390
  };
31391
31391
  };
31392
+ '/bridges/list': {
31393
+ post: {
31394
+ operationId: string;
31395
+ requestBody: {
31396
+ content: {
31397
+ 'application/json': {
31398
+ schema: {
31399
+ properties: {};
31400
+ type: string;
31401
+ };
31402
+ };
31403
+ };
31404
+ };
31405
+ responses: {
31406
+ 200: {
31407
+ content: {
31408
+ 'application/json': {
31409
+ schema: {
31410
+ properties: {
31411
+ bridges: {
31412
+ items: {
31413
+ properties: {
31414
+ bridge_id: {
31415
+ format: string;
31416
+ type: string;
31417
+ };
31418
+ created_at: {
31419
+ format: string;
31420
+ type: string;
31421
+ };
31422
+ workspace_id: {
31423
+ format: string;
31424
+ type: string;
31425
+ };
31426
+ };
31427
+ required: string[];
31428
+ type: string;
31429
+ 'x-route-path': string;
31430
+ 'x-undocumented': string;
31431
+ };
31432
+ type: string;
31433
+ };
31434
+ ok: {
31435
+ type: string;
31436
+ };
31437
+ };
31438
+ required: string[];
31439
+ type: string;
31440
+ };
31441
+ };
31442
+ };
31443
+ description: string;
31444
+ };
31445
+ 400: {
31446
+ description: string;
31447
+ };
31448
+ 401: {
31449
+ description: string;
31450
+ };
31451
+ };
31452
+ security: ({
31453
+ pat_with_workspace: never[];
31454
+ console_session_with_workspace?: never;
31455
+ api_key?: never;
31456
+ } | {
31457
+ console_session_with_workspace: never[];
31458
+ pat_with_workspace?: never;
31459
+ api_key?: never;
31460
+ } | {
31461
+ api_key: never[];
31462
+ pat_with_workspace?: never;
31463
+ console_session_with_workspace?: never;
31464
+ })[];
31465
+ summary: string;
31466
+ tags: never[];
31467
+ 'x-fern-sdk-group-name': string[];
31468
+ 'x-fern-sdk-method-name': string;
31469
+ 'x-fern-sdk-return-value': string;
31470
+ 'x-response-key': string;
31471
+ };
31472
+ };
31392
31473
  '/client_sessions/create': {
31393
31474
  post: {
31394
31475
  operationId: string;
@@ -36094,6 +36175,89 @@ declare const _default: {
36094
36175
  'x-title': string;
36095
36176
  };
36096
36177
  };
36178
+ '/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code': {
36179
+ post: {
36180
+ description: string;
36181
+ operationId: string;
36182
+ responses: {
36183
+ 200: {
36184
+ content: {
36185
+ 'application/json': {
36186
+ schema: {
36187
+ properties: {
36188
+ bridge_client_session: {
36189
+ properties: {
36190
+ bridge_client_machine_identifier_key: {
36191
+ type: string;
36192
+ };
36193
+ bridge_client_name: {
36194
+ type: string;
36195
+ };
36196
+ bridge_client_session_id: {
36197
+ format: string;
36198
+ type: string;
36199
+ };
36200
+ bridge_client_session_token: {
36201
+ type: string;
36202
+ };
36203
+ bridge_client_time_zone: {
36204
+ type: string;
36205
+ };
36206
+ created_at: {
36207
+ format: string;
36208
+ type: string;
36209
+ };
36210
+ pairing_code: {
36211
+ maxLength: number;
36212
+ minLength: number;
36213
+ type: string;
36214
+ };
36215
+ pairing_code_expires_at: {
36216
+ format: string;
36217
+ type: string;
36218
+ };
36219
+ tailscale_auth_key: {
36220
+ nullable: boolean;
36221
+ type: string;
36222
+ };
36223
+ tailscale_hostname: {
36224
+ type: string;
36225
+ };
36226
+ };
36227
+ required: string[];
36228
+ type: string;
36229
+ 'x-route-path': string;
36230
+ };
36231
+ ok: {
36232
+ type: string;
36233
+ };
36234
+ };
36235
+ required: string[];
36236
+ type: string;
36237
+ };
36238
+ };
36239
+ };
36240
+ description: string;
36241
+ };
36242
+ 400: {
36243
+ description: string;
36244
+ };
36245
+ 401: {
36246
+ description: string;
36247
+ };
36248
+ };
36249
+ security: {
36250
+ bridge_client_session: never[];
36251
+ }[];
36252
+ summary: string;
36253
+ tags: never[];
36254
+ 'x-fern-sdk-group-name': string[];
36255
+ 'x-fern-sdk-method-name': string;
36256
+ 'x-fern-sdk-return-value': string;
36257
+ 'x-response-key': string;
36258
+ 'x-title': string;
36259
+ };
36260
+ };
36097
36261
  '/thermostats/activate_climate_preset': {
36098
36262
  post: {
36099
36263
  description: string;
@@ -53478,6 +53642,21 @@ interface Routes {
53478
53642
  };
53479
53643
  };
53480
53644
  };
53645
+ '/bridges/list': {
53646
+ route: '/bridges/list';
53647
+ method: 'GET' | 'POST';
53648
+ queryParams: {};
53649
+ jsonBody: {};
53650
+ commonParams: {};
53651
+ formData: {};
53652
+ jsonResponse: {
53653
+ bridges: Array<{
53654
+ bridge_id: string;
53655
+ workspace_id: string;
53656
+ created_at: string;
53657
+ }>;
53658
+ };
53659
+ };
53481
53660
  '/client_sessions/create': {
53482
53661
  route: '/client_sessions/create';
53483
53662
  method: 'POST' | 'PUT';
@@ -66971,6 +67150,29 @@ interface Routes {
66971
67150
  };
66972
67151
  };
66973
67152
  };
67153
+ '/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code': {
67154
+ route: '/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code';
67155
+ method: 'POST';
67156
+ queryParams: {};
67157
+ jsonBody: {};
67158
+ commonParams: {};
67159
+ formData: {};
67160
+ jsonResponse: {
67161
+ /** */
67162
+ bridge_client_session: {
67163
+ created_at: string;
67164
+ bridge_client_session_id: string;
67165
+ bridge_client_session_token: string;
67166
+ pairing_code: string;
67167
+ pairing_code_expires_at: string;
67168
+ tailscale_hostname: string;
67169
+ tailscale_auth_key: string | null;
67170
+ bridge_client_name: string;
67171
+ bridge_client_time_zone: string;
67172
+ bridge_client_machine_identifier_key: string;
67173
+ };
67174
+ };
67175
+ };
66974
67176
  '/thermostats/activate_climate_preset': {
66975
67177
  route: '/thermostats/activate_climate_preset';
66976
67178
  method: 'POST';
@@ -14788,6 +14788,87 @@ declare const _default: {
14788
14788
  'x-response-key': string;
14789
14789
  };
14790
14790
  };
14791
+ '/bridges/list': {
14792
+ post: {
14793
+ operationId: string;
14794
+ requestBody: {
14795
+ content: {
14796
+ 'application/json': {
14797
+ schema: {
14798
+ properties: {};
14799
+ type: string;
14800
+ };
14801
+ };
14802
+ };
14803
+ };
14804
+ responses: {
14805
+ 200: {
14806
+ content: {
14807
+ 'application/json': {
14808
+ schema: {
14809
+ properties: {
14810
+ bridges: {
14811
+ items: {
14812
+ properties: {
14813
+ bridge_id: {
14814
+ format: string;
14815
+ type: string;
14816
+ };
14817
+ created_at: {
14818
+ format: string;
14819
+ type: string;
14820
+ };
14821
+ workspace_id: {
14822
+ format: string;
14823
+ type: string;
14824
+ };
14825
+ };
14826
+ required: string[];
14827
+ type: string;
14828
+ 'x-route-path': string;
14829
+ 'x-undocumented': string;
14830
+ };
14831
+ type: string;
14832
+ };
14833
+ ok: {
14834
+ type: string;
14835
+ };
14836
+ };
14837
+ required: string[];
14838
+ type: string;
14839
+ };
14840
+ };
14841
+ };
14842
+ description: string;
14843
+ };
14844
+ 400: {
14845
+ description: string;
14846
+ };
14847
+ 401: {
14848
+ description: string;
14849
+ };
14850
+ };
14851
+ security: ({
14852
+ pat_with_workspace: never[];
14853
+ console_session_with_workspace?: never;
14854
+ api_key?: never;
14855
+ } | {
14856
+ console_session_with_workspace: never[];
14857
+ pat_with_workspace?: never;
14858
+ api_key?: never;
14859
+ } | {
14860
+ api_key: never[];
14861
+ pat_with_workspace?: never;
14862
+ console_session_with_workspace?: never;
14863
+ })[];
14864
+ summary: string;
14865
+ tags: never[];
14866
+ 'x-fern-sdk-group-name': string[];
14867
+ 'x-fern-sdk-method-name': string;
14868
+ 'x-fern-sdk-return-value': string;
14869
+ 'x-response-key': string;
14870
+ };
14871
+ };
14791
14872
  '/client_sessions/create': {
14792
14873
  post: {
14793
14874
  operationId: string;
@@ -19493,6 +19574,89 @@ declare const _default: {
19493
19574
  'x-title': string;
19494
19575
  };
19495
19576
  };
19577
+ '/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code': {
19578
+ post: {
19579
+ description: string;
19580
+ operationId: string;
19581
+ responses: {
19582
+ 200: {
19583
+ content: {
19584
+ 'application/json': {
19585
+ schema: {
19586
+ properties: {
19587
+ bridge_client_session: {
19588
+ properties: {
19589
+ bridge_client_machine_identifier_key: {
19590
+ type: string;
19591
+ };
19592
+ bridge_client_name: {
19593
+ type: string;
19594
+ };
19595
+ bridge_client_session_id: {
19596
+ format: string;
19597
+ type: string;
19598
+ };
19599
+ bridge_client_session_token: {
19600
+ type: string;
19601
+ };
19602
+ bridge_client_time_zone: {
19603
+ type: string;
19604
+ };
19605
+ created_at: {
19606
+ format: string;
19607
+ type: string;
19608
+ };
19609
+ pairing_code: {
19610
+ maxLength: number;
19611
+ minLength: number;
19612
+ type: string;
19613
+ };
19614
+ pairing_code_expires_at: {
19615
+ format: string;
19616
+ type: string;
19617
+ };
19618
+ tailscale_auth_key: {
19619
+ nullable: boolean;
19620
+ type: string;
19621
+ };
19622
+ tailscale_hostname: {
19623
+ type: string;
19624
+ };
19625
+ };
19626
+ required: string[];
19627
+ type: string;
19628
+ 'x-route-path': string;
19629
+ };
19630
+ ok: {
19631
+ type: string;
19632
+ };
19633
+ };
19634
+ required: string[];
19635
+ type: string;
19636
+ };
19637
+ };
19638
+ };
19639
+ description: string;
19640
+ };
19641
+ 400: {
19642
+ description: string;
19643
+ };
19644
+ 401: {
19645
+ description: string;
19646
+ };
19647
+ };
19648
+ security: {
19649
+ bridge_client_session: never[];
19650
+ }[];
19651
+ summary: string;
19652
+ tags: never[];
19653
+ 'x-fern-sdk-group-name': string[];
19654
+ 'x-fern-sdk-method-name': string;
19655
+ 'x-fern-sdk-return-value': string;
19656
+ 'x-response-key': string;
19657
+ 'x-title': string;
19658
+ };
19659
+ };
19496
19660
  '/thermostats/activate_climate_preset': {
19497
19661
  post: {
19498
19662
  description: string;
@@ -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',
@@ -22429,6 +22482,83 @@ export default {
22429
22482
  'x-title': 'Get a Bridge Client Session',
22430
22483
  },
22431
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
+ },
22432
22562
  '/thermostats/activate_climate_preset': {
22433
22563
  post: {
22434
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).',