@seamapi/types 1.348.0 → 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.
- package/dist/connect.cjs +237 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +316 -0
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/bridges/bridge_client_session.d.ts +36 -0
- package/lib/seam/connect/models/bridges/bridge_client_session.js +18 -0
- package/lib/seam/connect/models/bridges/bridge_client_session.js.map +1 -0
- package/lib/seam/connect/models/bridges/index.d.ts +1 -0
- package/lib/seam/connect/models/bridges/index.js +1 -0
- package/lib/seam/connect/models/bridges/index.js.map +1 -1
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +266 -0
- package/lib/seam/connect/openapi.js +237 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +50 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/bridges/bridge_client_session.ts +20 -0
- package/src/lib/seam/connect/models/bridges/index.ts +1 -0
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +239 -0
- package/src/lib/seam/connect/route-types.ts +50 -0
|
@@ -26051,6 +26051,56 @@ export interface Routes {
|
|
|
26051
26051
|
};
|
|
26052
26052
|
};
|
|
26053
26053
|
};
|
|
26054
|
+
'/seam/bridge/v1/bridge_client_sessions/create': {
|
|
26055
|
+
route: '/seam/bridge/v1/bridge_client_sessions/create';
|
|
26056
|
+
method: 'POST';
|
|
26057
|
+
queryParams: {};
|
|
26058
|
+
jsonBody: {
|
|
26059
|
+
name: string;
|
|
26060
|
+
time_zone: string;
|
|
26061
|
+
machine_identifier_key: string;
|
|
26062
|
+
};
|
|
26063
|
+
commonParams: {};
|
|
26064
|
+
formData: {};
|
|
26065
|
+
jsonResponse: {
|
|
26066
|
+
/** */
|
|
26067
|
+
bridge_client_session: {
|
|
26068
|
+
created_at: string;
|
|
26069
|
+
bridge_client_session_id: string;
|
|
26070
|
+
bridge_client_session_token: string;
|
|
26071
|
+
bridge_client_name: string;
|
|
26072
|
+
bridge_client_time_zone: string;
|
|
26073
|
+
bridge_client_machine_identifier_key: string;
|
|
26074
|
+
bridge_client_tailscale_hostname: string;
|
|
26075
|
+
pairing_code: string;
|
|
26076
|
+
pairing_code_expires_at: string;
|
|
26077
|
+
tailscale_auth_key: string | null;
|
|
26078
|
+
};
|
|
26079
|
+
};
|
|
26080
|
+
};
|
|
26081
|
+
'/seam/bridge/v1/bridge_client_sessions/get': {
|
|
26082
|
+
route: '/seam/bridge/v1/bridge_client_sessions/get';
|
|
26083
|
+
method: 'GET' | 'POST';
|
|
26084
|
+
queryParams: {};
|
|
26085
|
+
jsonBody: {};
|
|
26086
|
+
commonParams: {};
|
|
26087
|
+
formData: {};
|
|
26088
|
+
jsonResponse: {
|
|
26089
|
+
/** */
|
|
26090
|
+
bridge_client_session: {
|
|
26091
|
+
created_at: string;
|
|
26092
|
+
bridge_client_session_id: string;
|
|
26093
|
+
bridge_client_session_token: string;
|
|
26094
|
+
bridge_client_name: string;
|
|
26095
|
+
bridge_client_time_zone: string;
|
|
26096
|
+
bridge_client_machine_identifier_key: string;
|
|
26097
|
+
bridge_client_tailscale_hostname: string;
|
|
26098
|
+
pairing_code: string;
|
|
26099
|
+
pairing_code_expires_at: string;
|
|
26100
|
+
tailscale_auth_key: string | null;
|
|
26101
|
+
};
|
|
26102
|
+
};
|
|
26103
|
+
};
|
|
26054
26104
|
'/thermostats/activate_climate_preset': {
|
|
26055
26105
|
route: '/thermostats/activate_climate_preset';
|
|
26056
26106
|
method: 'POST';
|
package/package.json
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
export const bridge_client_session = z.object({
|
|
4
|
+
created_at: z.string().datetime(),
|
|
5
|
+
bridge_client_session_id: z.string().uuid(),
|
|
6
|
+
bridge_client_session_token: z.string(),
|
|
7
|
+
bridge_client_name: z.string(),
|
|
8
|
+
bridge_client_time_zone: z.string(),
|
|
9
|
+
bridge_client_machine_identifier_key: z.string(),
|
|
10
|
+
bridge_client_tailscale_hostname: z.string(),
|
|
11
|
+
pairing_code: z.string().length(6),
|
|
12
|
+
pairing_code_expires_at: z.string().datetime(),
|
|
13
|
+
tailscale_auth_key: z.string().nullable(),
|
|
14
|
+
}).describe(`
|
|
15
|
+
---
|
|
16
|
+
route_path: /seam/bridge/v1/bridge_client_sessions
|
|
17
|
+
---
|
|
18
|
+
`)
|
|
19
|
+
|
|
20
|
+
export type BridgeClientSession = z.infer<typeof bridge_client_session>
|
|
@@ -2,6 +2,7 @@ export * from './access-codes/index.js'
|
|
|
2
2
|
export * from './acs/index.js'
|
|
3
3
|
export * from './action-attempts/index.js'
|
|
4
4
|
export * from './bridges/index.js'
|
|
5
|
+
export * from './bridges/index.js'
|
|
5
6
|
export * from './client-sessions/index.js'
|
|
6
7
|
export * from './connect-webviews/index.js'
|
|
7
8
|
export * from './connected-accounts/index.js'
|
|
@@ -23430,6 +23430,245 @@ export default {
|
|
|
23430
23430
|
'x-title': 'Create a Sandbox Phone',
|
|
23431
23431
|
},
|
|
23432
23432
|
},
|
|
23433
|
+
'/seam/bridge/v1/bridge_client_sessions/create': {
|
|
23434
|
+
post: {
|
|
23435
|
+
description: 'Creates a new bridge client session.',
|
|
23436
|
+
operationId: 'seamBridgeV1BridgeClientSessionsCreatePost',
|
|
23437
|
+
requestBody: {
|
|
23438
|
+
content: {
|
|
23439
|
+
'application/json': {
|
|
23440
|
+
schema: {
|
|
23441
|
+
properties: {
|
|
23442
|
+
machine_identifier_key: { type: 'string' },
|
|
23443
|
+
name: { type: 'string' },
|
|
23444
|
+
time_zone: { type: 'string' },
|
|
23445
|
+
},
|
|
23446
|
+
required: ['name', 'time_zone', 'machine_identifier_key'],
|
|
23447
|
+
type: 'object',
|
|
23448
|
+
},
|
|
23449
|
+
},
|
|
23450
|
+
},
|
|
23451
|
+
},
|
|
23452
|
+
responses: {
|
|
23453
|
+
200: {
|
|
23454
|
+
content: {
|
|
23455
|
+
'application/json': {
|
|
23456
|
+
schema: {
|
|
23457
|
+
properties: {
|
|
23458
|
+
bridge_client_session: {
|
|
23459
|
+
properties: {
|
|
23460
|
+
bridge_client_machine_identifier_key: {
|
|
23461
|
+
type: 'string',
|
|
23462
|
+
},
|
|
23463
|
+
bridge_client_name: { type: 'string' },
|
|
23464
|
+
bridge_client_session_id: {
|
|
23465
|
+
format: 'uuid',
|
|
23466
|
+
type: 'string',
|
|
23467
|
+
},
|
|
23468
|
+
bridge_client_session_token: { type: 'string' },
|
|
23469
|
+
bridge_client_tailscale_hostname: { type: 'string' },
|
|
23470
|
+
bridge_client_time_zone: { type: 'string' },
|
|
23471
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
23472
|
+
pairing_code: {
|
|
23473
|
+
maxLength: 6,
|
|
23474
|
+
minLength: 6,
|
|
23475
|
+
type: 'string',
|
|
23476
|
+
},
|
|
23477
|
+
pairing_code_expires_at: {
|
|
23478
|
+
format: 'date-time',
|
|
23479
|
+
type: 'string',
|
|
23480
|
+
},
|
|
23481
|
+
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
23482
|
+
},
|
|
23483
|
+
required: [
|
|
23484
|
+
'created_at',
|
|
23485
|
+
'bridge_client_session_id',
|
|
23486
|
+
'bridge_client_session_token',
|
|
23487
|
+
'bridge_client_name',
|
|
23488
|
+
'bridge_client_time_zone',
|
|
23489
|
+
'bridge_client_machine_identifier_key',
|
|
23490
|
+
'bridge_client_tailscale_hostname',
|
|
23491
|
+
'pairing_code',
|
|
23492
|
+
'pairing_code_expires_at',
|
|
23493
|
+
'tailscale_auth_key',
|
|
23494
|
+
],
|
|
23495
|
+
type: 'object',
|
|
23496
|
+
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
23497
|
+
},
|
|
23498
|
+
ok: { type: 'boolean' },
|
|
23499
|
+
},
|
|
23500
|
+
required: ['bridge_client_session', 'ok'],
|
|
23501
|
+
type: 'object',
|
|
23502
|
+
},
|
|
23503
|
+
},
|
|
23504
|
+
},
|
|
23505
|
+
description: 'OK',
|
|
23506
|
+
},
|
|
23507
|
+
400: { description: 'Bad Request' },
|
|
23508
|
+
401: { description: 'Unauthorized' },
|
|
23509
|
+
},
|
|
23510
|
+
security: [{ certified_client: [] }],
|
|
23511
|
+
summary: '/seam/bridge/v1/bridge_client_sessions/create',
|
|
23512
|
+
tags: [],
|
|
23513
|
+
'x-fern-sdk-group-name': [
|
|
23514
|
+
'seam',
|
|
23515
|
+
'bridge',
|
|
23516
|
+
'v1',
|
|
23517
|
+
'bridge_client_sessions',
|
|
23518
|
+
],
|
|
23519
|
+
'x-fern-sdk-method-name': 'create',
|
|
23520
|
+
'x-fern-sdk-return-value': 'bridge_client_session',
|
|
23521
|
+
'x-response-key': 'bridge_client_session',
|
|
23522
|
+
'x-title': 'Create a Bridge Client Session',
|
|
23523
|
+
},
|
|
23524
|
+
},
|
|
23525
|
+
'/seam/bridge/v1/bridge_client_sessions/get': {
|
|
23526
|
+
get: {
|
|
23527
|
+
description:
|
|
23528
|
+
'Returns the bridge client session associated with the session token used.',
|
|
23529
|
+
operationId: 'seamBridgeV1BridgeClientSessionsGetGet',
|
|
23530
|
+
responses: {
|
|
23531
|
+
200: {
|
|
23532
|
+
content: {
|
|
23533
|
+
'application/json': {
|
|
23534
|
+
schema: {
|
|
23535
|
+
properties: {
|
|
23536
|
+
bridge_client_session: {
|
|
23537
|
+
properties: {
|
|
23538
|
+
bridge_client_machine_identifier_key: {
|
|
23539
|
+
type: 'string',
|
|
23540
|
+
},
|
|
23541
|
+
bridge_client_name: { type: 'string' },
|
|
23542
|
+
bridge_client_session_id: {
|
|
23543
|
+
format: 'uuid',
|
|
23544
|
+
type: 'string',
|
|
23545
|
+
},
|
|
23546
|
+
bridge_client_session_token: { type: 'string' },
|
|
23547
|
+
bridge_client_tailscale_hostname: { type: 'string' },
|
|
23548
|
+
bridge_client_time_zone: { type: 'string' },
|
|
23549
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
23550
|
+
pairing_code: {
|
|
23551
|
+
maxLength: 6,
|
|
23552
|
+
minLength: 6,
|
|
23553
|
+
type: 'string',
|
|
23554
|
+
},
|
|
23555
|
+
pairing_code_expires_at: {
|
|
23556
|
+
format: 'date-time',
|
|
23557
|
+
type: 'string',
|
|
23558
|
+
},
|
|
23559
|
+
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
23560
|
+
},
|
|
23561
|
+
required: [
|
|
23562
|
+
'created_at',
|
|
23563
|
+
'bridge_client_session_id',
|
|
23564
|
+
'bridge_client_session_token',
|
|
23565
|
+
'bridge_client_name',
|
|
23566
|
+
'bridge_client_time_zone',
|
|
23567
|
+
'bridge_client_machine_identifier_key',
|
|
23568
|
+
'bridge_client_tailscale_hostname',
|
|
23569
|
+
'pairing_code',
|
|
23570
|
+
'pairing_code_expires_at',
|
|
23571
|
+
'tailscale_auth_key',
|
|
23572
|
+
],
|
|
23573
|
+
type: 'object',
|
|
23574
|
+
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
23575
|
+
},
|
|
23576
|
+
ok: { type: 'boolean' },
|
|
23577
|
+
},
|
|
23578
|
+
required: ['bridge_client_session', 'ok'],
|
|
23579
|
+
type: 'object',
|
|
23580
|
+
},
|
|
23581
|
+
},
|
|
23582
|
+
},
|
|
23583
|
+
description: 'OK',
|
|
23584
|
+
},
|
|
23585
|
+
400: { description: 'Bad Request' },
|
|
23586
|
+
401: { description: 'Unauthorized' },
|
|
23587
|
+
},
|
|
23588
|
+
security: [{ bridge_client_session: [] }],
|
|
23589
|
+
summary: '/seam/bridge/v1/bridge_client_sessions/get',
|
|
23590
|
+
tags: [],
|
|
23591
|
+
'x-fern-ignore': true,
|
|
23592
|
+
'x-response-key': 'bridge_client_session',
|
|
23593
|
+
'x-title': 'Get a Bridge Client Session',
|
|
23594
|
+
},
|
|
23595
|
+
post: {
|
|
23596
|
+
description:
|
|
23597
|
+
'Returns the bridge client session associated with the session token used.',
|
|
23598
|
+
operationId: 'seamBridgeV1BridgeClientSessionsGetPost',
|
|
23599
|
+
responses: {
|
|
23600
|
+
200: {
|
|
23601
|
+
content: {
|
|
23602
|
+
'application/json': {
|
|
23603
|
+
schema: {
|
|
23604
|
+
properties: {
|
|
23605
|
+
bridge_client_session: {
|
|
23606
|
+
properties: {
|
|
23607
|
+
bridge_client_machine_identifier_key: {
|
|
23608
|
+
type: 'string',
|
|
23609
|
+
},
|
|
23610
|
+
bridge_client_name: { type: 'string' },
|
|
23611
|
+
bridge_client_session_id: {
|
|
23612
|
+
format: 'uuid',
|
|
23613
|
+
type: 'string',
|
|
23614
|
+
},
|
|
23615
|
+
bridge_client_session_token: { type: 'string' },
|
|
23616
|
+
bridge_client_tailscale_hostname: { type: 'string' },
|
|
23617
|
+
bridge_client_time_zone: { type: 'string' },
|
|
23618
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
23619
|
+
pairing_code: {
|
|
23620
|
+
maxLength: 6,
|
|
23621
|
+
minLength: 6,
|
|
23622
|
+
type: 'string',
|
|
23623
|
+
},
|
|
23624
|
+
pairing_code_expires_at: {
|
|
23625
|
+
format: 'date-time',
|
|
23626
|
+
type: 'string',
|
|
23627
|
+
},
|
|
23628
|
+
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
23629
|
+
},
|
|
23630
|
+
required: [
|
|
23631
|
+
'created_at',
|
|
23632
|
+
'bridge_client_session_id',
|
|
23633
|
+
'bridge_client_session_token',
|
|
23634
|
+
'bridge_client_name',
|
|
23635
|
+
'bridge_client_time_zone',
|
|
23636
|
+
'bridge_client_machine_identifier_key',
|
|
23637
|
+
'bridge_client_tailscale_hostname',
|
|
23638
|
+
'pairing_code',
|
|
23639
|
+
'pairing_code_expires_at',
|
|
23640
|
+
'tailscale_auth_key',
|
|
23641
|
+
],
|
|
23642
|
+
type: 'object',
|
|
23643
|
+
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
23644
|
+
},
|
|
23645
|
+
ok: { type: 'boolean' },
|
|
23646
|
+
},
|
|
23647
|
+
required: ['bridge_client_session', 'ok'],
|
|
23648
|
+
type: 'object',
|
|
23649
|
+
},
|
|
23650
|
+
},
|
|
23651
|
+
},
|
|
23652
|
+
description: 'OK',
|
|
23653
|
+
},
|
|
23654
|
+
400: { description: 'Bad Request' },
|
|
23655
|
+
401: { description: 'Unauthorized' },
|
|
23656
|
+
},
|
|
23657
|
+
security: [{ bridge_client_session: [] }],
|
|
23658
|
+
summary: '/seam/bridge/v1/bridge_client_sessions/get',
|
|
23659
|
+
tags: [],
|
|
23660
|
+
'x-fern-sdk-group-name': [
|
|
23661
|
+
'seam',
|
|
23662
|
+
'bridge',
|
|
23663
|
+
'v1',
|
|
23664
|
+
'bridge_client_sessions',
|
|
23665
|
+
],
|
|
23666
|
+
'x-fern-sdk-method-name': 'get',
|
|
23667
|
+
'x-fern-sdk-return-value': 'bridge_client_session',
|
|
23668
|
+
'x-response-key': 'bridge_client_session',
|
|
23669
|
+
'x-title': 'Get a Bridge Client Session',
|
|
23670
|
+
},
|
|
23671
|
+
},
|
|
23433
23672
|
'/thermostats/activate_climate_preset': {
|
|
23434
23673
|
post: {
|
|
23435
23674
|
description:
|
|
@@ -32383,6 +32383,56 @@ export interface Routes {
|
|
|
32383
32383
|
}
|
|
32384
32384
|
}
|
|
32385
32385
|
}
|
|
32386
|
+
'/seam/bridge/v1/bridge_client_sessions/create': {
|
|
32387
|
+
route: '/seam/bridge/v1/bridge_client_sessions/create'
|
|
32388
|
+
method: 'POST'
|
|
32389
|
+
queryParams: {}
|
|
32390
|
+
jsonBody: {
|
|
32391
|
+
name: string
|
|
32392
|
+
time_zone: string
|
|
32393
|
+
machine_identifier_key: string
|
|
32394
|
+
}
|
|
32395
|
+
commonParams: {}
|
|
32396
|
+
formData: {}
|
|
32397
|
+
jsonResponse: {
|
|
32398
|
+
/** */
|
|
32399
|
+
bridge_client_session: {
|
|
32400
|
+
created_at: string
|
|
32401
|
+
bridge_client_session_id: string
|
|
32402
|
+
bridge_client_session_token: string
|
|
32403
|
+
bridge_client_name: string
|
|
32404
|
+
bridge_client_time_zone: string
|
|
32405
|
+
bridge_client_machine_identifier_key: string
|
|
32406
|
+
bridge_client_tailscale_hostname: string
|
|
32407
|
+
pairing_code: string
|
|
32408
|
+
pairing_code_expires_at: string
|
|
32409
|
+
tailscale_auth_key: string | null
|
|
32410
|
+
}
|
|
32411
|
+
}
|
|
32412
|
+
}
|
|
32413
|
+
'/seam/bridge/v1/bridge_client_sessions/get': {
|
|
32414
|
+
route: '/seam/bridge/v1/bridge_client_sessions/get'
|
|
32415
|
+
method: 'GET' | 'POST'
|
|
32416
|
+
queryParams: {}
|
|
32417
|
+
jsonBody: {}
|
|
32418
|
+
commonParams: {}
|
|
32419
|
+
formData: {}
|
|
32420
|
+
jsonResponse: {
|
|
32421
|
+
/** */
|
|
32422
|
+
bridge_client_session: {
|
|
32423
|
+
created_at: string
|
|
32424
|
+
bridge_client_session_id: string
|
|
32425
|
+
bridge_client_session_token: string
|
|
32426
|
+
bridge_client_name: string
|
|
32427
|
+
bridge_client_time_zone: string
|
|
32428
|
+
bridge_client_machine_identifier_key: string
|
|
32429
|
+
bridge_client_tailscale_hostname: string
|
|
32430
|
+
pairing_code: string
|
|
32431
|
+
pairing_code_expires_at: string
|
|
32432
|
+
tailscale_auth_key: string | null
|
|
32433
|
+
}
|
|
32434
|
+
}
|
|
32435
|
+
}
|
|
32386
32436
|
'/thermostats/activate_climate_preset': {
|
|
32387
32437
|
route: '/thermostats/activate_climate_preset'
|
|
32388
32438
|
method: 'POST'
|