@seamapi/types 1.349.1 → 1.351.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 +184 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +332 -0
- package/lib/seam/connect/openapi.d.ts +234 -0
- package/lib/seam/connect/openapi.js +184 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +98 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +188 -0
- package/src/lib/seam/connect/route-types.ts +102 -0
|
@@ -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',
|
|
@@ -22003,6 +22056,60 @@ export default {
|
|
|
22003
22056
|
'x-title': 'Deactivate a Phone',
|
|
22004
22057
|
},
|
|
22005
22058
|
},
|
|
22059
|
+
'/phones/get': {
|
|
22060
|
+
post: {
|
|
22061
|
+
description: 'Returns a single phone entry matching the provided `device_id`.',
|
|
22062
|
+
operationId: 'phonesGetPost',
|
|
22063
|
+
requestBody: {
|
|
22064
|
+
content: {
|
|
22065
|
+
'application/json': {
|
|
22066
|
+
schema: {
|
|
22067
|
+
properties: {
|
|
22068
|
+
device_id: {
|
|
22069
|
+
description: 'Device ID of the desired phone.',
|
|
22070
|
+
format: 'uuid',
|
|
22071
|
+
type: 'string',
|
|
22072
|
+
},
|
|
22073
|
+
},
|
|
22074
|
+
required: ['device_id'],
|
|
22075
|
+
type: 'object',
|
|
22076
|
+
},
|
|
22077
|
+
},
|
|
22078
|
+
},
|
|
22079
|
+
},
|
|
22080
|
+
responses: {
|
|
22081
|
+
200: {
|
|
22082
|
+
content: {
|
|
22083
|
+
'application/json': {
|
|
22084
|
+
schema: {
|
|
22085
|
+
properties: {
|
|
22086
|
+
ok: { type: 'boolean' },
|
|
22087
|
+
phone: { $ref: '#/components/schemas/phone' },
|
|
22088
|
+
},
|
|
22089
|
+
required: ['phone', 'ok'],
|
|
22090
|
+
type: 'object',
|
|
22091
|
+
},
|
|
22092
|
+
},
|
|
22093
|
+
},
|
|
22094
|
+
description: 'OK',
|
|
22095
|
+
},
|
|
22096
|
+
400: { description: 'Bad Request' },
|
|
22097
|
+
401: { description: 'Unauthorized' },
|
|
22098
|
+
},
|
|
22099
|
+
security: [
|
|
22100
|
+
{ api_key: [] },
|
|
22101
|
+
{ pat_with_workspace: [] },
|
|
22102
|
+
{ console_session_with_workspace: [] },
|
|
22103
|
+
],
|
|
22104
|
+
summary: '/phones/get',
|
|
22105
|
+
tags: ['/phones'],
|
|
22106
|
+
'x-fern-sdk-group-name': ['phones'],
|
|
22107
|
+
'x-fern-sdk-method-name': 'get',
|
|
22108
|
+
'x-fern-sdk-return-value': 'phone',
|
|
22109
|
+
'x-response-key': 'phone',
|
|
22110
|
+
'x-title': 'Get Phone',
|
|
22111
|
+
},
|
|
22112
|
+
},
|
|
22006
22113
|
'/phones/list': {
|
|
22007
22114
|
post: {
|
|
22008
22115
|
description: 'Returns a list of all phones. To filter the list of returned phones by a specific owner user identity or credential, include the `owner_user_identity_id` or `acs_credential_id`, respectively, in the request body.',
|
|
@@ -22429,6 +22536,83 @@ export default {
|
|
|
22429
22536
|
'x-title': 'Get a Bridge Client Session',
|
|
22430
22537
|
},
|
|
22431
22538
|
},
|
|
22539
|
+
'/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code': {
|
|
22540
|
+
post: {
|
|
22541
|
+
description: 'Generate a new pairing code and return the updated bridge client session.',
|
|
22542
|
+
operationId: 'seamBridgeV1BridgeClientSessionsRegeneratePairingCodePost',
|
|
22543
|
+
responses: {
|
|
22544
|
+
200: {
|
|
22545
|
+
content: {
|
|
22546
|
+
'application/json': {
|
|
22547
|
+
schema: {
|
|
22548
|
+
properties: {
|
|
22549
|
+
bridge_client_session: {
|
|
22550
|
+
properties: {
|
|
22551
|
+
bridge_client_machine_identifier_key: {
|
|
22552
|
+
type: 'string',
|
|
22553
|
+
},
|
|
22554
|
+
bridge_client_name: { type: 'string' },
|
|
22555
|
+
bridge_client_session_id: {
|
|
22556
|
+
format: 'uuid',
|
|
22557
|
+
type: 'string',
|
|
22558
|
+
},
|
|
22559
|
+
bridge_client_session_token: { type: 'string' },
|
|
22560
|
+
bridge_client_time_zone: { type: 'string' },
|
|
22561
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
22562
|
+
pairing_code: {
|
|
22563
|
+
maxLength: 6,
|
|
22564
|
+
minLength: 6,
|
|
22565
|
+
type: 'string',
|
|
22566
|
+
},
|
|
22567
|
+
pairing_code_expires_at: {
|
|
22568
|
+
format: 'date-time',
|
|
22569
|
+
type: 'string',
|
|
22570
|
+
},
|
|
22571
|
+
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
22572
|
+
tailscale_hostname: { type: 'string' },
|
|
22573
|
+
},
|
|
22574
|
+
required: [
|
|
22575
|
+
'created_at',
|
|
22576
|
+
'bridge_client_session_id',
|
|
22577
|
+
'bridge_client_session_token',
|
|
22578
|
+
'pairing_code',
|
|
22579
|
+
'pairing_code_expires_at',
|
|
22580
|
+
'tailscale_hostname',
|
|
22581
|
+
'tailscale_auth_key',
|
|
22582
|
+
'bridge_client_name',
|
|
22583
|
+
'bridge_client_time_zone',
|
|
22584
|
+
'bridge_client_machine_identifier_key',
|
|
22585
|
+
],
|
|
22586
|
+
type: 'object',
|
|
22587
|
+
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
22588
|
+
},
|
|
22589
|
+
ok: { type: 'boolean' },
|
|
22590
|
+
},
|
|
22591
|
+
required: ['bridge_client_session', 'ok'],
|
|
22592
|
+
type: 'object',
|
|
22593
|
+
},
|
|
22594
|
+
},
|
|
22595
|
+
},
|
|
22596
|
+
description: 'OK',
|
|
22597
|
+
},
|
|
22598
|
+
400: { description: 'Bad Request' },
|
|
22599
|
+
401: { description: 'Unauthorized' },
|
|
22600
|
+
},
|
|
22601
|
+
security: [{ bridge_client_session: [] }],
|
|
22602
|
+
summary: '/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code',
|
|
22603
|
+
tags: [],
|
|
22604
|
+
'x-fern-sdk-group-name': [
|
|
22605
|
+
'seam',
|
|
22606
|
+
'bridge',
|
|
22607
|
+
'v1',
|
|
22608
|
+
'bridge_client_sessions',
|
|
22609
|
+
],
|
|
22610
|
+
'x-fern-sdk-method-name': 'regenerate_pairing_code',
|
|
22611
|
+
'x-fern-sdk-return-value': 'bridge_client_session',
|
|
22612
|
+
'x-response-key': 'bridge_client_session',
|
|
22613
|
+
'x-title': 'Regenerate a Bridge Client Session Pairing Code',
|
|
22614
|
+
},
|
|
22615
|
+
},
|
|
22432
22616
|
'/thermostats/activate_climate_preset': {
|
|
22433
22617
|
post: {
|
|
22434
22618
|
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).',
|