@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.
- package/dist/connect.cjs +130 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +202 -0
- package/lib/seam/connect/openapi.d.ts +164 -0
- package/lib/seam/connect/openapi.js +130 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +38 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +133 -0
- package/src/lib/seam/connect/route-types.ts +38 -0
|
@@ -12608,6 +12608,21 @@ export interface Routes {
|
|
|
12608
12608
|
};
|
|
12609
12609
|
};
|
|
12610
12610
|
};
|
|
12611
|
+
'/bridges/list': {
|
|
12612
|
+
route: '/bridges/list';
|
|
12613
|
+
method: 'GET' | 'POST';
|
|
12614
|
+
queryParams: {};
|
|
12615
|
+
jsonBody: {};
|
|
12616
|
+
commonParams: {};
|
|
12617
|
+
formData: {};
|
|
12618
|
+
jsonResponse: {
|
|
12619
|
+
bridges: Array<{
|
|
12620
|
+
bridge_id: string;
|
|
12621
|
+
workspace_id: string;
|
|
12622
|
+
created_at: string;
|
|
12623
|
+
}>;
|
|
12624
|
+
};
|
|
12625
|
+
};
|
|
12611
12626
|
'/client_sessions/create': {
|
|
12612
12627
|
route: '/client_sessions/create';
|
|
12613
12628
|
method: 'POST' | 'PUT';
|
|
@@ -26101,6 +26116,29 @@ export interface Routes {
|
|
|
26101
26116
|
};
|
|
26102
26117
|
};
|
|
26103
26118
|
};
|
|
26119
|
+
'/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code': {
|
|
26120
|
+
route: '/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code';
|
|
26121
|
+
method: 'POST';
|
|
26122
|
+
queryParams: {};
|
|
26123
|
+
jsonBody: {};
|
|
26124
|
+
commonParams: {};
|
|
26125
|
+
formData: {};
|
|
26126
|
+
jsonResponse: {
|
|
26127
|
+
/** */
|
|
26128
|
+
bridge_client_session: {
|
|
26129
|
+
created_at: string;
|
|
26130
|
+
bridge_client_session_id: string;
|
|
26131
|
+
bridge_client_session_token: string;
|
|
26132
|
+
pairing_code: string;
|
|
26133
|
+
pairing_code_expires_at: string;
|
|
26134
|
+
tailscale_hostname: string;
|
|
26135
|
+
tailscale_auth_key: string | null;
|
|
26136
|
+
bridge_client_name: string;
|
|
26137
|
+
bridge_client_time_zone: string;
|
|
26138
|
+
bridge_client_machine_identifier_key: string;
|
|
26139
|
+
};
|
|
26140
|
+
};
|
|
26141
|
+
};
|
|
26104
26142
|
'/thermostats/activate_climate_preset': {
|
|
26105
26143
|
route: '/thermostats/activate_climate_preset';
|
|
26106
26144
|
method: 'POST';
|
package/package.json
CHANGED
|
@@ -19463,6 +19463,59 @@ export default {
|
|
|
19463
19463
|
'x-response-key': 'bridge',
|
|
19464
19464
|
},
|
|
19465
19465
|
},
|
|
19466
|
+
'/bridges/list': {
|
|
19467
|
+
post: {
|
|
19468
|
+
operationId: 'bridgesListPost',
|
|
19469
|
+
requestBody: {
|
|
19470
|
+
content: {
|
|
19471
|
+
'application/json': { schema: { properties: {}, type: 'object' } },
|
|
19472
|
+
},
|
|
19473
|
+
},
|
|
19474
|
+
responses: {
|
|
19475
|
+
200: {
|
|
19476
|
+
content: {
|
|
19477
|
+
'application/json': {
|
|
19478
|
+
schema: {
|
|
19479
|
+
properties: {
|
|
19480
|
+
bridges: {
|
|
19481
|
+
items: {
|
|
19482
|
+
properties: {
|
|
19483
|
+
bridge_id: { format: 'uuid', type: 'string' },
|
|
19484
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
19485
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
19486
|
+
},
|
|
19487
|
+
required: ['bridge_id', 'workspace_id', 'created_at'],
|
|
19488
|
+
type: 'object',
|
|
19489
|
+
'x-route-path': '/bridges',
|
|
19490
|
+
'x-undocumented': 'Unreleased.',
|
|
19491
|
+
},
|
|
19492
|
+
type: 'array',
|
|
19493
|
+
},
|
|
19494
|
+
ok: { type: 'boolean' },
|
|
19495
|
+
},
|
|
19496
|
+
required: ['bridges', 'ok'],
|
|
19497
|
+
type: 'object',
|
|
19498
|
+
},
|
|
19499
|
+
},
|
|
19500
|
+
},
|
|
19501
|
+
description: 'OK',
|
|
19502
|
+
},
|
|
19503
|
+
400: { description: 'Bad Request' },
|
|
19504
|
+
401: { description: 'Unauthorized' },
|
|
19505
|
+
},
|
|
19506
|
+
security: [
|
|
19507
|
+
{ pat_with_workspace: [] },
|
|
19508
|
+
{ console_session_with_workspace: [] },
|
|
19509
|
+
{ api_key: [] },
|
|
19510
|
+
],
|
|
19511
|
+
summary: '/bridges/list',
|
|
19512
|
+
tags: [],
|
|
19513
|
+
'x-fern-sdk-group-name': ['bridges'],
|
|
19514
|
+
'x-fern-sdk-method-name': 'list',
|
|
19515
|
+
'x-fern-sdk-return-value': 'bridges',
|
|
19516
|
+
'x-response-key': 'bridges',
|
|
19517
|
+
},
|
|
19518
|
+
},
|
|
19466
19519
|
'/client_sessions/create': {
|
|
19467
19520
|
post: {
|
|
19468
19521
|
operationId: 'clientSessionsCreatePost',
|
|
@@ -23673,6 +23726,86 @@ export default {
|
|
|
23673
23726
|
'x-title': 'Get a Bridge Client Session',
|
|
23674
23727
|
},
|
|
23675
23728
|
},
|
|
23729
|
+
'/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code': {
|
|
23730
|
+
post: {
|
|
23731
|
+
description:
|
|
23732
|
+
'Generate a new pairing code and return the updated bridge client session.',
|
|
23733
|
+
operationId:
|
|
23734
|
+
'seamBridgeV1BridgeClientSessionsRegeneratePairingCodePost',
|
|
23735
|
+
responses: {
|
|
23736
|
+
200: {
|
|
23737
|
+
content: {
|
|
23738
|
+
'application/json': {
|
|
23739
|
+
schema: {
|
|
23740
|
+
properties: {
|
|
23741
|
+
bridge_client_session: {
|
|
23742
|
+
properties: {
|
|
23743
|
+
bridge_client_machine_identifier_key: {
|
|
23744
|
+
type: 'string',
|
|
23745
|
+
},
|
|
23746
|
+
bridge_client_name: { type: 'string' },
|
|
23747
|
+
bridge_client_session_id: {
|
|
23748
|
+
format: 'uuid',
|
|
23749
|
+
type: 'string',
|
|
23750
|
+
},
|
|
23751
|
+
bridge_client_session_token: { type: 'string' },
|
|
23752
|
+
bridge_client_time_zone: { type: 'string' },
|
|
23753
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
23754
|
+
pairing_code: {
|
|
23755
|
+
maxLength: 6,
|
|
23756
|
+
minLength: 6,
|
|
23757
|
+
type: 'string',
|
|
23758
|
+
},
|
|
23759
|
+
pairing_code_expires_at: {
|
|
23760
|
+
format: 'date-time',
|
|
23761
|
+
type: 'string',
|
|
23762
|
+
},
|
|
23763
|
+
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
23764
|
+
tailscale_hostname: { type: 'string' },
|
|
23765
|
+
},
|
|
23766
|
+
required: [
|
|
23767
|
+
'created_at',
|
|
23768
|
+
'bridge_client_session_id',
|
|
23769
|
+
'bridge_client_session_token',
|
|
23770
|
+
'pairing_code',
|
|
23771
|
+
'pairing_code_expires_at',
|
|
23772
|
+
'tailscale_hostname',
|
|
23773
|
+
'tailscale_auth_key',
|
|
23774
|
+
'bridge_client_name',
|
|
23775
|
+
'bridge_client_time_zone',
|
|
23776
|
+
'bridge_client_machine_identifier_key',
|
|
23777
|
+
],
|
|
23778
|
+
type: 'object',
|
|
23779
|
+
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
23780
|
+
},
|
|
23781
|
+
ok: { type: 'boolean' },
|
|
23782
|
+
},
|
|
23783
|
+
required: ['bridge_client_session', 'ok'],
|
|
23784
|
+
type: 'object',
|
|
23785
|
+
},
|
|
23786
|
+
},
|
|
23787
|
+
},
|
|
23788
|
+
description: 'OK',
|
|
23789
|
+
},
|
|
23790
|
+
400: { description: 'Bad Request' },
|
|
23791
|
+
401: { description: 'Unauthorized' },
|
|
23792
|
+
},
|
|
23793
|
+
security: [{ bridge_client_session: [] }],
|
|
23794
|
+
summary:
|
|
23795
|
+
'/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code',
|
|
23796
|
+
tags: [],
|
|
23797
|
+
'x-fern-sdk-group-name': [
|
|
23798
|
+
'seam',
|
|
23799
|
+
'bridge',
|
|
23800
|
+
'v1',
|
|
23801
|
+
'bridge_client_sessions',
|
|
23802
|
+
],
|
|
23803
|
+
'x-fern-sdk-method-name': 'regenerate_pairing_code',
|
|
23804
|
+
'x-fern-sdk-return-value': 'bridge_client_session',
|
|
23805
|
+
'x-response-key': 'bridge_client_session',
|
|
23806
|
+
'x-title': 'Regenerate a Bridge Client Session Pairing Code',
|
|
23807
|
+
},
|
|
23808
|
+
},
|
|
23676
23809
|
'/thermostats/activate_climate_preset': {
|
|
23677
23810
|
post: {
|
|
23678
23811
|
description:
|
|
@@ -15101,6 +15101,21 @@ export interface Routes {
|
|
|
15101
15101
|
}
|
|
15102
15102
|
}
|
|
15103
15103
|
}
|
|
15104
|
+
'/bridges/list': {
|
|
15105
|
+
route: '/bridges/list'
|
|
15106
|
+
method: 'GET' | 'POST'
|
|
15107
|
+
queryParams: {}
|
|
15108
|
+
jsonBody: {}
|
|
15109
|
+
commonParams: {}
|
|
15110
|
+
formData: {}
|
|
15111
|
+
jsonResponse: {
|
|
15112
|
+
bridges: Array<{
|
|
15113
|
+
bridge_id: string
|
|
15114
|
+
workspace_id: string
|
|
15115
|
+
created_at: string
|
|
15116
|
+
}>
|
|
15117
|
+
}
|
|
15118
|
+
}
|
|
15104
15119
|
'/client_sessions/create': {
|
|
15105
15120
|
route: '/client_sessions/create'
|
|
15106
15121
|
method: 'POST' | 'PUT'
|
|
@@ -32433,6 +32448,29 @@ export interface Routes {
|
|
|
32433
32448
|
}
|
|
32434
32449
|
}
|
|
32435
32450
|
}
|
|
32451
|
+
'/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code': {
|
|
32452
|
+
route: '/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code'
|
|
32453
|
+
method: 'POST'
|
|
32454
|
+
queryParams: {}
|
|
32455
|
+
jsonBody: {}
|
|
32456
|
+
commonParams: {}
|
|
32457
|
+
formData: {}
|
|
32458
|
+
jsonResponse: {
|
|
32459
|
+
/** */
|
|
32460
|
+
bridge_client_session: {
|
|
32461
|
+
created_at: string
|
|
32462
|
+
bridge_client_session_id: string
|
|
32463
|
+
bridge_client_session_token: string
|
|
32464
|
+
pairing_code: string
|
|
32465
|
+
pairing_code_expires_at: string
|
|
32466
|
+
tailscale_hostname: string
|
|
32467
|
+
tailscale_auth_key: string | null
|
|
32468
|
+
bridge_client_name: string
|
|
32469
|
+
bridge_client_time_zone: string
|
|
32470
|
+
bridge_client_machine_identifier_key: string
|
|
32471
|
+
}
|
|
32472
|
+
}
|
|
32473
|
+
}
|
|
32436
32474
|
'/thermostats/activate_climate_preset': {
|
|
32437
32475
|
route: '/thermostats/activate_climate_preset'
|
|
32438
32476
|
method: 'POST'
|