@seamapi/types 1.367.2 → 1.368.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 +96 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +190 -0
- package/lib/seam/connect/openapi.d.ts +166 -0
- package/lib/seam/connect/openapi.js +94 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +24 -0
- package/package.json +3 -3
- package/src/lib/seam/connect/openapi.ts +94 -0
- package/src/lib/seam/connect/route-types.ts +24 -0
|
@@ -16012,6 +16012,30 @@ export interface Routes {
|
|
|
16012
16012
|
}>;
|
|
16013
16013
|
};
|
|
16014
16014
|
};
|
|
16015
|
+
'/devices/simulate/access_code_lock': {
|
|
16016
|
+
route: '/devices/simulate/access_code_lock';
|
|
16017
|
+
method: 'POST';
|
|
16018
|
+
queryParams: {};
|
|
16019
|
+
jsonBody: {
|
|
16020
|
+
device_id: string;
|
|
16021
|
+
access_code_id: string;
|
|
16022
|
+
};
|
|
16023
|
+
commonParams: {};
|
|
16024
|
+
formData: {};
|
|
16025
|
+
jsonResponse: {};
|
|
16026
|
+
};
|
|
16027
|
+
'/devices/simulate/access_code_unlock': {
|
|
16028
|
+
route: '/devices/simulate/access_code_unlock';
|
|
16029
|
+
method: 'POST';
|
|
16030
|
+
queryParams: {};
|
|
16031
|
+
jsonBody: {
|
|
16032
|
+
device_id: string;
|
|
16033
|
+
access_code_id: string;
|
|
16034
|
+
};
|
|
16035
|
+
commonParams: {};
|
|
16036
|
+
formData: {};
|
|
16037
|
+
jsonResponse: {};
|
|
16038
|
+
};
|
|
16015
16039
|
'/devices/simulate/connect': {
|
|
16016
16040
|
route: '/devices/simulate/connect';
|
|
16017
16041
|
method: 'POST';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seamapi/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.368.0",
|
|
4
4
|
"description": "TypeScript types for the Seam API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"npm": ">= 9.0.0"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
|
-
"zod": "^3.
|
|
92
|
+
"zod": "^3.24.0"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
95
|
"@seamapi/blueprint": "^0.37.1",
|
|
@@ -111,6 +111,6 @@
|
|
|
111
111
|
"tsx": "^4.6.2",
|
|
112
112
|
"typedoc": "^0.25.2",
|
|
113
113
|
"typescript": "~5.3.3",
|
|
114
|
-
"zod": "^3.
|
|
114
|
+
"zod": "^3.24.0"
|
|
115
115
|
}
|
|
116
116
|
}
|
|
@@ -22606,6 +22606,96 @@ export default {
|
|
|
22606
22606
|
'x-response-key': 'device_providers',
|
|
22607
22607
|
},
|
|
22608
22608
|
},
|
|
22609
|
+
'/devices/simulate/access_code_lock': {
|
|
22610
|
+
post: {
|
|
22611
|
+
operationId: 'devicesSimulateAccessCodeLockPost',
|
|
22612
|
+
requestBody: {
|
|
22613
|
+
content: {
|
|
22614
|
+
'application/json': {
|
|
22615
|
+
schema: {
|
|
22616
|
+
properties: {
|
|
22617
|
+
access_code_id: { format: 'uuid', type: 'string' },
|
|
22618
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
22619
|
+
},
|
|
22620
|
+
required: ['device_id', 'access_code_id'],
|
|
22621
|
+
type: 'object',
|
|
22622
|
+
},
|
|
22623
|
+
},
|
|
22624
|
+
},
|
|
22625
|
+
},
|
|
22626
|
+
responses: {
|
|
22627
|
+
200: {
|
|
22628
|
+
content: {
|
|
22629
|
+
'application/json': {
|
|
22630
|
+
schema: {
|
|
22631
|
+
properties: { ok: { type: 'boolean' } },
|
|
22632
|
+
required: ['ok'],
|
|
22633
|
+
type: 'object',
|
|
22634
|
+
},
|
|
22635
|
+
},
|
|
22636
|
+
},
|
|
22637
|
+
description: 'OK',
|
|
22638
|
+
},
|
|
22639
|
+
400: { description: 'Bad Request' },
|
|
22640
|
+
401: { description: 'Unauthorized' },
|
|
22641
|
+
},
|
|
22642
|
+
security: [
|
|
22643
|
+
{ api_key: [] },
|
|
22644
|
+
{ pat_with_workspace: [] },
|
|
22645
|
+
{ console_session_with_workspace: [] },
|
|
22646
|
+
],
|
|
22647
|
+
summary: '/devices/simulate/access_code_lock',
|
|
22648
|
+
tags: ['/devices'],
|
|
22649
|
+
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
22650
|
+
'x-fern-sdk-method-name': 'access_code_lock',
|
|
22651
|
+
'x-response-key': null,
|
|
22652
|
+
},
|
|
22653
|
+
},
|
|
22654
|
+
'/devices/simulate/access_code_unlock': {
|
|
22655
|
+
post: {
|
|
22656
|
+
operationId: 'devicesSimulateAccessCodeUnlockPost',
|
|
22657
|
+
requestBody: {
|
|
22658
|
+
content: {
|
|
22659
|
+
'application/json': {
|
|
22660
|
+
schema: {
|
|
22661
|
+
properties: {
|
|
22662
|
+
access_code_id: { format: 'uuid', type: 'string' },
|
|
22663
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
22664
|
+
},
|
|
22665
|
+
required: ['device_id', 'access_code_id'],
|
|
22666
|
+
type: 'object',
|
|
22667
|
+
},
|
|
22668
|
+
},
|
|
22669
|
+
},
|
|
22670
|
+
},
|
|
22671
|
+
responses: {
|
|
22672
|
+
200: {
|
|
22673
|
+
content: {
|
|
22674
|
+
'application/json': {
|
|
22675
|
+
schema: {
|
|
22676
|
+
properties: { ok: { type: 'boolean' } },
|
|
22677
|
+
required: ['ok'],
|
|
22678
|
+
type: 'object',
|
|
22679
|
+
},
|
|
22680
|
+
},
|
|
22681
|
+
},
|
|
22682
|
+
description: 'OK',
|
|
22683
|
+
},
|
|
22684
|
+
400: { description: 'Bad Request' },
|
|
22685
|
+
401: { description: 'Unauthorized' },
|
|
22686
|
+
},
|
|
22687
|
+
security: [
|
|
22688
|
+
{ api_key: [] },
|
|
22689
|
+
{ pat_with_workspace: [] },
|
|
22690
|
+
{ console_session_with_workspace: [] },
|
|
22691
|
+
],
|
|
22692
|
+
summary: '/devices/simulate/access_code_unlock',
|
|
22693
|
+
tags: ['/devices'],
|
|
22694
|
+
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
22695
|
+
'x-fern-sdk-method-name': 'access_code_unlock',
|
|
22696
|
+
'x-response-key': null,
|
|
22697
|
+
},
|
|
22698
|
+
},
|
|
22609
22699
|
'/devices/simulate/connect': {
|
|
22610
22700
|
post: {
|
|
22611
22701
|
operationId: 'devicesSimulateConnectPost',
|
|
@@ -26096,6 +26186,7 @@ export default {
|
|
|
26096
26186
|
401: { description: 'Unauthorized' },
|
|
26097
26187
|
},
|
|
26098
26188
|
security: [
|
|
26189
|
+
{ client_session: [] },
|
|
26099
26190
|
{ pat_with_workspace: [] },
|
|
26100
26191
|
{ console_session_with_workspace: [] },
|
|
26101
26192
|
{ api_key: [] },
|
|
@@ -26152,6 +26243,7 @@ export default {
|
|
|
26152
26243
|
401: { description: 'Unauthorized' },
|
|
26153
26244
|
},
|
|
26154
26245
|
security: [
|
|
26246
|
+
{ client_session: [] },
|
|
26155
26247
|
{ pat_with_workspace: [] },
|
|
26156
26248
|
{ console_session_with_workspace: [] },
|
|
26157
26249
|
{ api_key: [] },
|
|
@@ -27966,6 +28058,7 @@ export default {
|
|
|
27966
28058
|
{ pat_with_workspace: [] },
|
|
27967
28059
|
{ console_session_with_workspace: [] },
|
|
27968
28060
|
{ api_key: [] },
|
|
28061
|
+
{ client_session: [] },
|
|
27969
28062
|
],
|
|
27970
28063
|
summary: '/thermostats/update_climate_preset',
|
|
27971
28064
|
tags: ['/thermostats'],
|
|
@@ -28074,6 +28167,7 @@ export default {
|
|
|
28074
28167
|
{ pat_with_workspace: [] },
|
|
28075
28168
|
{ console_session_with_workspace: [] },
|
|
28076
28169
|
{ api_key: [] },
|
|
28170
|
+
{ client_session: [] },
|
|
28077
28171
|
],
|
|
28078
28172
|
summary: '/thermostats/update_climate_preset',
|
|
28079
28173
|
tags: ['/thermostats'],
|
|
@@ -19337,6 +19337,30 @@ export interface Routes {
|
|
|
19337
19337
|
}>
|
|
19338
19338
|
}
|
|
19339
19339
|
}
|
|
19340
|
+
'/devices/simulate/access_code_lock': {
|
|
19341
|
+
route: '/devices/simulate/access_code_lock'
|
|
19342
|
+
method: 'POST'
|
|
19343
|
+
queryParams: {}
|
|
19344
|
+
jsonBody: {
|
|
19345
|
+
device_id: string
|
|
19346
|
+
access_code_id: string
|
|
19347
|
+
}
|
|
19348
|
+
commonParams: {}
|
|
19349
|
+
formData: {}
|
|
19350
|
+
jsonResponse: {}
|
|
19351
|
+
}
|
|
19352
|
+
'/devices/simulate/access_code_unlock': {
|
|
19353
|
+
route: '/devices/simulate/access_code_unlock'
|
|
19354
|
+
method: 'POST'
|
|
19355
|
+
queryParams: {}
|
|
19356
|
+
jsonBody: {
|
|
19357
|
+
device_id: string
|
|
19358
|
+
access_code_id: string
|
|
19359
|
+
}
|
|
19360
|
+
commonParams: {}
|
|
19361
|
+
formData: {}
|
|
19362
|
+
jsonResponse: {}
|
|
19363
|
+
}
|
|
19340
19364
|
'/devices/simulate/connect': {
|
|
19341
19365
|
route: '/devices/simulate/connect'
|
|
19342
19366
|
method: 'POST'
|