@seamapi/types 1.343.0 → 1.344.1
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 +73 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +58 -0
- package/lib/seam/connect/openapi.d.ts +39 -0
- package/lib/seam/connect/openapi.js +69 -11
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +19 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +85 -11
- package/src/lib/seam/connect/route-types.ts +19 -0
package/dist/connect.d.cts
CHANGED
|
@@ -33771,14 +33771,22 @@ declare const _default: {
|
|
|
33771
33771
|
api_key: never[];
|
|
33772
33772
|
pat_with_workspace?: never;
|
|
33773
33773
|
console_session_with_workspace?: never;
|
|
33774
|
+
client_session?: never;
|
|
33774
33775
|
} | {
|
|
33775
33776
|
pat_with_workspace: never[];
|
|
33776
33777
|
api_key?: never;
|
|
33777
33778
|
console_session_with_workspace?: never;
|
|
33779
|
+
client_session?: never;
|
|
33778
33780
|
} | {
|
|
33779
33781
|
console_session_with_workspace: never[];
|
|
33780
33782
|
api_key?: never;
|
|
33781
33783
|
pat_with_workspace?: never;
|
|
33784
|
+
client_session?: never;
|
|
33785
|
+
} | {
|
|
33786
|
+
client_session: never[];
|
|
33787
|
+
api_key?: never;
|
|
33788
|
+
pat_with_workspace?: never;
|
|
33789
|
+
console_session_with_workspace?: never;
|
|
33782
33790
|
})[];
|
|
33783
33791
|
summary: string;
|
|
33784
33792
|
tags: string[];
|
|
@@ -33861,14 +33869,22 @@ declare const _default: {
|
|
|
33861
33869
|
api_key: never[];
|
|
33862
33870
|
pat_with_workspace?: never;
|
|
33863
33871
|
console_session_with_workspace?: never;
|
|
33872
|
+
client_session?: never;
|
|
33864
33873
|
} | {
|
|
33865
33874
|
pat_with_workspace: never[];
|
|
33866
33875
|
api_key?: never;
|
|
33867
33876
|
console_session_with_workspace?: never;
|
|
33877
|
+
client_session?: never;
|
|
33868
33878
|
} | {
|
|
33869
33879
|
console_session_with_workspace: never[];
|
|
33870
33880
|
api_key?: never;
|
|
33871
33881
|
pat_with_workspace?: never;
|
|
33882
|
+
client_session?: never;
|
|
33883
|
+
} | {
|
|
33884
|
+
client_session: never[];
|
|
33885
|
+
api_key?: never;
|
|
33886
|
+
pat_with_workspace?: never;
|
|
33887
|
+
console_session_with_workspace?: never;
|
|
33872
33888
|
})[];
|
|
33873
33889
|
summary: string;
|
|
33874
33890
|
tags: string[];
|
|
@@ -37684,6 +37700,7 @@ declare const _default: {
|
|
|
37684
37700
|
};
|
|
37685
37701
|
'/thermostats/simulate/hvac_mode_adjusted': {
|
|
37686
37702
|
post: {
|
|
37703
|
+
description: string;
|
|
37687
37704
|
operationId: string;
|
|
37688
37705
|
requestBody: {
|
|
37689
37706
|
content: {
|
|
@@ -37695,10 +37712,12 @@ declare const _default: {
|
|
|
37695
37712
|
oneOf: ({
|
|
37696
37713
|
properties: {
|
|
37697
37714
|
device_id: {
|
|
37715
|
+
description: string;
|
|
37698
37716
|
format: string;
|
|
37699
37717
|
type: string;
|
|
37700
37718
|
};
|
|
37701
37719
|
hvac_mode: {
|
|
37720
|
+
description: string;
|
|
37702
37721
|
enum: string[];
|
|
37703
37722
|
type: string;
|
|
37704
37723
|
};
|
|
@@ -37712,18 +37731,22 @@ declare const _default: {
|
|
|
37712
37731
|
} | {
|
|
37713
37732
|
properties: {
|
|
37714
37733
|
cooling_set_point_celsius: {
|
|
37734
|
+
description: string;
|
|
37715
37735
|
format: string;
|
|
37716
37736
|
type: string;
|
|
37717
37737
|
};
|
|
37718
37738
|
cooling_set_point_fahrenheit: {
|
|
37739
|
+
description: string;
|
|
37719
37740
|
format: string;
|
|
37720
37741
|
type: string;
|
|
37721
37742
|
};
|
|
37722
37743
|
device_id: {
|
|
37744
|
+
description: string;
|
|
37723
37745
|
format: string;
|
|
37724
37746
|
type: string;
|
|
37725
37747
|
};
|
|
37726
37748
|
hvac_mode: {
|
|
37749
|
+
description: string;
|
|
37727
37750
|
enum: string[];
|
|
37728
37751
|
type: string;
|
|
37729
37752
|
};
|
|
@@ -37735,18 +37758,22 @@ declare const _default: {
|
|
|
37735
37758
|
} | {
|
|
37736
37759
|
properties: {
|
|
37737
37760
|
device_id: {
|
|
37761
|
+
description: string;
|
|
37738
37762
|
format: string;
|
|
37739
37763
|
type: string;
|
|
37740
37764
|
};
|
|
37741
37765
|
heating_set_point_celsius: {
|
|
37766
|
+
description: string;
|
|
37742
37767
|
format: string;
|
|
37743
37768
|
type: string;
|
|
37744
37769
|
};
|
|
37745
37770
|
heating_set_point_fahrenheit: {
|
|
37771
|
+
description: string;
|
|
37746
37772
|
format: string;
|
|
37747
37773
|
type: string;
|
|
37748
37774
|
};
|
|
37749
37775
|
hvac_mode: {
|
|
37776
|
+
description: string;
|
|
37750
37777
|
enum: string[];
|
|
37751
37778
|
type: string;
|
|
37752
37779
|
};
|
|
@@ -37758,26 +37785,32 @@ declare const _default: {
|
|
|
37758
37785
|
} | {
|
|
37759
37786
|
properties: {
|
|
37760
37787
|
cooling_set_point_celsius: {
|
|
37788
|
+
description: string;
|
|
37761
37789
|
format: string;
|
|
37762
37790
|
type: string;
|
|
37763
37791
|
};
|
|
37764
37792
|
cooling_set_point_fahrenheit: {
|
|
37793
|
+
description: string;
|
|
37765
37794
|
format: string;
|
|
37766
37795
|
type: string;
|
|
37767
37796
|
};
|
|
37768
37797
|
device_id: {
|
|
37798
|
+
description: string;
|
|
37769
37799
|
format: string;
|
|
37770
37800
|
type: string;
|
|
37771
37801
|
};
|
|
37772
37802
|
heating_set_point_celsius: {
|
|
37803
|
+
description: string;
|
|
37773
37804
|
format: string;
|
|
37774
37805
|
type: string;
|
|
37775
37806
|
};
|
|
37776
37807
|
heating_set_point_fahrenheit: {
|
|
37808
|
+
description: string;
|
|
37777
37809
|
format: string;
|
|
37778
37810
|
type: string;
|
|
37779
37811
|
};
|
|
37780
37812
|
hvac_mode: {
|
|
37813
|
+
description: string;
|
|
37781
37814
|
enum: string[];
|
|
37782
37815
|
type: string;
|
|
37783
37816
|
};
|
|
@@ -37831,10 +37864,12 @@ declare const _default: {
|
|
|
37831
37864
|
'x-fern-sdk-group-name': string[];
|
|
37832
37865
|
'x-fern-sdk-method-name': string;
|
|
37833
37866
|
'x-response-key': null;
|
|
37867
|
+
'x-title': string;
|
|
37834
37868
|
};
|
|
37835
37869
|
};
|
|
37836
37870
|
'/thermostats/simulate/temperature_reached': {
|
|
37837
37871
|
post: {
|
|
37872
|
+
description: string;
|
|
37838
37873
|
operationId: string;
|
|
37839
37874
|
requestBody: {
|
|
37840
37875
|
content: {
|
|
@@ -37842,14 +37877,17 @@ declare const _default: {
|
|
|
37842
37877
|
schema: {
|
|
37843
37878
|
properties: {
|
|
37844
37879
|
device_id: {
|
|
37880
|
+
description: string;
|
|
37845
37881
|
format: string;
|
|
37846
37882
|
type: string;
|
|
37847
37883
|
};
|
|
37848
37884
|
temperature_celsius: {
|
|
37885
|
+
description: string;
|
|
37849
37886
|
format: string;
|
|
37850
37887
|
type: string;
|
|
37851
37888
|
};
|
|
37852
37889
|
temperature_fahrenheit: {
|
|
37890
|
+
description: string;
|
|
37853
37891
|
format: string;
|
|
37854
37892
|
type: string;
|
|
37855
37893
|
};
|
|
@@ -37902,6 +37940,7 @@ declare const _default: {
|
|
|
37902
37940
|
'x-fern-sdk-group-name': string[];
|
|
37903
37941
|
'x-fern-sdk-method-name': string;
|
|
37904
37942
|
'x-response-key': null;
|
|
37943
|
+
'x-title': string;
|
|
37905
37944
|
};
|
|
37906
37945
|
};
|
|
37907
37946
|
'/thermostats/update_climate_preset': {
|
|
@@ -75178,24 +75217,40 @@ interface Routes {
|
|
|
75178
75217
|
method: 'POST';
|
|
75179
75218
|
queryParams: {};
|
|
75180
75219
|
jsonBody: {
|
|
75220
|
+
/** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
|
|
75181
75221
|
hvac_mode: 'off';
|
|
75222
|
+
/** ID of the desired thermostat device. */
|
|
75182
75223
|
device_id: string;
|
|
75183
75224
|
} | {
|
|
75225
|
+
/** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
|
|
75184
75226
|
hvac_mode: 'cool';
|
|
75227
|
+
/** ID of the desired thermostat device. */
|
|
75185
75228
|
device_id: string;
|
|
75229
|
+
/** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `cooling_set_point_celsius` or `cooling_set_point_fahrenheit`. */
|
|
75186
75230
|
cooling_set_point_celsius?: number | undefined;
|
|
75231
|
+
/** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `cooling_set_point_fahrenheit` or `cooling_set_point_celsius`. */
|
|
75187
75232
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
75188
75233
|
} | {
|
|
75234
|
+
/** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
|
|
75189
75235
|
hvac_mode: 'heat';
|
|
75236
|
+
/** ID of the desired thermostat device. */
|
|
75190
75237
|
device_id: string;
|
|
75238
|
+
/** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `heating_set_point_celsius` or `heating_set_point_fahrenheit`. */
|
|
75191
75239
|
heating_set_point_celsius?: number | undefined;
|
|
75240
|
+
/** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `heating_set_point_fahrenheit` or `heating_set_point_celsius`. */
|
|
75192
75241
|
heating_set_point_fahrenheit?: number | undefined;
|
|
75193
75242
|
} | {
|
|
75243
|
+
/** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
|
|
75194
75244
|
hvac_mode: 'heat_cool';
|
|
75245
|
+
/** ID of the desired thermostat device. */
|
|
75195
75246
|
device_id: string;
|
|
75247
|
+
/** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `cooling_set_point_celsius` or `cooling_set_point_fahrenheit`. */
|
|
75196
75248
|
cooling_set_point_celsius?: number | undefined;
|
|
75249
|
+
/** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `cooling_set_point_fahrenheit` or `cooling_set_point_celsius`. */
|
|
75197
75250
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
75251
|
+
/** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `heating_set_point_celsius` or `heating_set_point_fahrenheit`. */
|
|
75198
75252
|
heating_set_point_celsius?: number | undefined;
|
|
75253
|
+
/** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `heating_set_point_fahrenheit` or `heating_set_point_celsius`. */
|
|
75199
75254
|
heating_set_point_fahrenheit?: number | undefined;
|
|
75200
75255
|
};
|
|
75201
75256
|
commonParams: {};
|
|
@@ -75207,8 +75262,11 @@ interface Routes {
|
|
|
75207
75262
|
method: 'POST';
|
|
75208
75263
|
queryParams: {};
|
|
75209
75264
|
jsonBody: {
|
|
75265
|
+
/** ID of the desired thermostat device. */
|
|
75210
75266
|
device_id: string;
|
|
75267
|
+
/** Desired simulated temperature in °C. You must set `temperature_celsius` or `temperature_fahrenheit`. */
|
|
75211
75268
|
temperature_celsius?: number | undefined;
|
|
75269
|
+
/** Desired simulated temperature in °F. You must set `temperature_fahrenheit` or `temperature_celsius`. */
|
|
75212
75270
|
temperature_fahrenheit?: number | undefined;
|
|
75213
75271
|
};
|
|
75214
75272
|
commonParams: {};
|
|
@@ -17131,14 +17131,22 @@ declare const _default: {
|
|
|
17131
17131
|
api_key: never[];
|
|
17132
17132
|
pat_with_workspace?: never;
|
|
17133
17133
|
console_session_with_workspace?: never;
|
|
17134
|
+
client_session?: never;
|
|
17134
17135
|
} | {
|
|
17135
17136
|
pat_with_workspace: never[];
|
|
17136
17137
|
api_key?: never;
|
|
17137
17138
|
console_session_with_workspace?: never;
|
|
17139
|
+
client_session?: never;
|
|
17138
17140
|
} | {
|
|
17139
17141
|
console_session_with_workspace: never[];
|
|
17140
17142
|
api_key?: never;
|
|
17141
17143
|
pat_with_workspace?: never;
|
|
17144
|
+
client_session?: never;
|
|
17145
|
+
} | {
|
|
17146
|
+
client_session: never[];
|
|
17147
|
+
api_key?: never;
|
|
17148
|
+
pat_with_workspace?: never;
|
|
17149
|
+
console_session_with_workspace?: never;
|
|
17142
17150
|
})[];
|
|
17143
17151
|
summary: string;
|
|
17144
17152
|
tags: string[];
|
|
@@ -17221,14 +17229,22 @@ declare const _default: {
|
|
|
17221
17229
|
api_key: never[];
|
|
17222
17230
|
pat_with_workspace?: never;
|
|
17223
17231
|
console_session_with_workspace?: never;
|
|
17232
|
+
client_session?: never;
|
|
17224
17233
|
} | {
|
|
17225
17234
|
pat_with_workspace: never[];
|
|
17226
17235
|
api_key?: never;
|
|
17227
17236
|
console_session_with_workspace?: never;
|
|
17237
|
+
client_session?: never;
|
|
17228
17238
|
} | {
|
|
17229
17239
|
console_session_with_workspace: never[];
|
|
17230
17240
|
api_key?: never;
|
|
17231
17241
|
pat_with_workspace?: never;
|
|
17242
|
+
client_session?: never;
|
|
17243
|
+
} | {
|
|
17244
|
+
client_session: never[];
|
|
17245
|
+
api_key?: never;
|
|
17246
|
+
pat_with_workspace?: never;
|
|
17247
|
+
console_session_with_workspace?: never;
|
|
17232
17248
|
})[];
|
|
17233
17249
|
summary: string;
|
|
17234
17250
|
tags: string[];
|
|
@@ -21044,6 +21060,7 @@ declare const _default: {
|
|
|
21044
21060
|
};
|
|
21045
21061
|
'/thermostats/simulate/hvac_mode_adjusted': {
|
|
21046
21062
|
post: {
|
|
21063
|
+
description: string;
|
|
21047
21064
|
operationId: string;
|
|
21048
21065
|
requestBody: {
|
|
21049
21066
|
content: {
|
|
@@ -21055,10 +21072,12 @@ declare const _default: {
|
|
|
21055
21072
|
oneOf: ({
|
|
21056
21073
|
properties: {
|
|
21057
21074
|
device_id: {
|
|
21075
|
+
description: string;
|
|
21058
21076
|
format: string;
|
|
21059
21077
|
type: string;
|
|
21060
21078
|
};
|
|
21061
21079
|
hvac_mode: {
|
|
21080
|
+
description: string;
|
|
21062
21081
|
enum: string[];
|
|
21063
21082
|
type: string;
|
|
21064
21083
|
};
|
|
@@ -21072,18 +21091,22 @@ declare const _default: {
|
|
|
21072
21091
|
} | {
|
|
21073
21092
|
properties: {
|
|
21074
21093
|
cooling_set_point_celsius: {
|
|
21094
|
+
description: string;
|
|
21075
21095
|
format: string;
|
|
21076
21096
|
type: string;
|
|
21077
21097
|
};
|
|
21078
21098
|
cooling_set_point_fahrenheit: {
|
|
21099
|
+
description: string;
|
|
21079
21100
|
format: string;
|
|
21080
21101
|
type: string;
|
|
21081
21102
|
};
|
|
21082
21103
|
device_id: {
|
|
21104
|
+
description: string;
|
|
21083
21105
|
format: string;
|
|
21084
21106
|
type: string;
|
|
21085
21107
|
};
|
|
21086
21108
|
hvac_mode: {
|
|
21109
|
+
description: string;
|
|
21087
21110
|
enum: string[];
|
|
21088
21111
|
type: string;
|
|
21089
21112
|
};
|
|
@@ -21095,18 +21118,22 @@ declare const _default: {
|
|
|
21095
21118
|
} | {
|
|
21096
21119
|
properties: {
|
|
21097
21120
|
device_id: {
|
|
21121
|
+
description: string;
|
|
21098
21122
|
format: string;
|
|
21099
21123
|
type: string;
|
|
21100
21124
|
};
|
|
21101
21125
|
heating_set_point_celsius: {
|
|
21126
|
+
description: string;
|
|
21102
21127
|
format: string;
|
|
21103
21128
|
type: string;
|
|
21104
21129
|
};
|
|
21105
21130
|
heating_set_point_fahrenheit: {
|
|
21131
|
+
description: string;
|
|
21106
21132
|
format: string;
|
|
21107
21133
|
type: string;
|
|
21108
21134
|
};
|
|
21109
21135
|
hvac_mode: {
|
|
21136
|
+
description: string;
|
|
21110
21137
|
enum: string[];
|
|
21111
21138
|
type: string;
|
|
21112
21139
|
};
|
|
@@ -21118,26 +21145,32 @@ declare const _default: {
|
|
|
21118
21145
|
} | {
|
|
21119
21146
|
properties: {
|
|
21120
21147
|
cooling_set_point_celsius: {
|
|
21148
|
+
description: string;
|
|
21121
21149
|
format: string;
|
|
21122
21150
|
type: string;
|
|
21123
21151
|
};
|
|
21124
21152
|
cooling_set_point_fahrenheit: {
|
|
21153
|
+
description: string;
|
|
21125
21154
|
format: string;
|
|
21126
21155
|
type: string;
|
|
21127
21156
|
};
|
|
21128
21157
|
device_id: {
|
|
21158
|
+
description: string;
|
|
21129
21159
|
format: string;
|
|
21130
21160
|
type: string;
|
|
21131
21161
|
};
|
|
21132
21162
|
heating_set_point_celsius: {
|
|
21163
|
+
description: string;
|
|
21133
21164
|
format: string;
|
|
21134
21165
|
type: string;
|
|
21135
21166
|
};
|
|
21136
21167
|
heating_set_point_fahrenheit: {
|
|
21168
|
+
description: string;
|
|
21137
21169
|
format: string;
|
|
21138
21170
|
type: string;
|
|
21139
21171
|
};
|
|
21140
21172
|
hvac_mode: {
|
|
21173
|
+
description: string;
|
|
21141
21174
|
enum: string[];
|
|
21142
21175
|
type: string;
|
|
21143
21176
|
};
|
|
@@ -21191,10 +21224,12 @@ declare const _default: {
|
|
|
21191
21224
|
'x-fern-sdk-group-name': string[];
|
|
21192
21225
|
'x-fern-sdk-method-name': string;
|
|
21193
21226
|
'x-response-key': null;
|
|
21227
|
+
'x-title': string;
|
|
21194
21228
|
};
|
|
21195
21229
|
};
|
|
21196
21230
|
'/thermostats/simulate/temperature_reached': {
|
|
21197
21231
|
post: {
|
|
21232
|
+
description: string;
|
|
21198
21233
|
operationId: string;
|
|
21199
21234
|
requestBody: {
|
|
21200
21235
|
content: {
|
|
@@ -21202,14 +21237,17 @@ declare const _default: {
|
|
|
21202
21237
|
schema: {
|
|
21203
21238
|
properties: {
|
|
21204
21239
|
device_id: {
|
|
21240
|
+
description: string;
|
|
21205
21241
|
format: string;
|
|
21206
21242
|
type: string;
|
|
21207
21243
|
};
|
|
21208
21244
|
temperature_celsius: {
|
|
21245
|
+
description: string;
|
|
21209
21246
|
format: string;
|
|
21210
21247
|
type: string;
|
|
21211
21248
|
};
|
|
21212
21249
|
temperature_fahrenheit: {
|
|
21250
|
+
description: string;
|
|
21213
21251
|
format: string;
|
|
21214
21252
|
type: string;
|
|
21215
21253
|
};
|
|
@@ -21262,6 +21300,7 @@ declare const _default: {
|
|
|
21262
21300
|
'x-fern-sdk-group-name': string[];
|
|
21263
21301
|
'x-fern-sdk-method-name': string;
|
|
21264
21302
|
'x-response-key': null;
|
|
21303
|
+
'x-title': string;
|
|
21265
21304
|
};
|
|
21266
21305
|
};
|
|
21267
21306
|
'/thermostats/update_climate_preset': {
|
|
@@ -20912,6 +20912,7 @@ export default {
|
|
|
20912
20912
|
{ api_key: [] },
|
|
20913
20913
|
{ pat_with_workspace: [] },
|
|
20914
20914
|
{ console_session_with_workspace: [] },
|
|
20915
|
+
{ client_session: [] },
|
|
20915
20916
|
],
|
|
20916
20917
|
summary: '/devices/update',
|
|
20917
20918
|
tags: ['/devices'],
|
|
@@ -20969,6 +20970,7 @@ export default {
|
|
|
20969
20970
|
{ api_key: [] },
|
|
20970
20971
|
{ pat_with_workspace: [] },
|
|
20971
20972
|
{ console_session_with_workspace: [] },
|
|
20973
|
+
{ client_session: [] },
|
|
20972
20974
|
],
|
|
20973
20975
|
summary: '/devices/update',
|
|
20974
20976
|
tags: ['/devices'],
|
|
@@ -24374,6 +24376,7 @@ export default {
|
|
|
24374
24376
|
},
|
|
24375
24377
|
'/thermostats/simulate/hvac_mode_adjusted': {
|
|
24376
24378
|
post: {
|
|
24379
|
+
description: 'Simulates having adjusted the [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) for a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). Only applicable for [sandbox devices](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your Thermostat App with Simulate Endpoints](https://docs.seam.co/latest/capability-guides/thermostats/testing-your-thermostat-app-with-simulate-endpoints).',
|
|
24377
24380
|
operationId: 'thermostatsSimulateHvacModeAdjustedPost',
|
|
24378
24381
|
requestBody: {
|
|
24379
24382
|
content: {
|
|
@@ -24383,8 +24386,16 @@ export default {
|
|
|
24383
24386
|
oneOf: [
|
|
24384
24387
|
{
|
|
24385
24388
|
properties: {
|
|
24386
|
-
device_id: {
|
|
24387
|
-
|
|
24389
|
+
device_id: {
|
|
24390
|
+
description: 'ID of the desired thermostat device.',
|
|
24391
|
+
format: 'uuid',
|
|
24392
|
+
type: 'string',
|
|
24393
|
+
},
|
|
24394
|
+
hvac_mode: {
|
|
24395
|
+
description: 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate.',
|
|
24396
|
+
enum: ['off'],
|
|
24397
|
+
type: 'string',
|
|
24398
|
+
},
|
|
24388
24399
|
},
|
|
24389
24400
|
required: ['hvac_mode', 'device_id'],
|
|
24390
24401
|
type: 'object',
|
|
@@ -24392,31 +24403,51 @@ export default {
|
|
|
24392
24403
|
{
|
|
24393
24404
|
properties: {
|
|
24394
24405
|
cooling_set_point_celsius: {
|
|
24406
|
+
description: 'Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `cooling_set_point_celsius` or `cooling_set_point_fahrenheit`.',
|
|
24395
24407
|
format: 'float',
|
|
24396
24408
|
type: 'number',
|
|
24397
24409
|
},
|
|
24398
24410
|
cooling_set_point_fahrenheit: {
|
|
24411
|
+
description: 'Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `cooling_set_point_fahrenheit` or `cooling_set_point_celsius`.',
|
|
24399
24412
|
format: 'float',
|
|
24400
24413
|
type: 'number',
|
|
24401
24414
|
},
|
|
24402
|
-
device_id: {
|
|
24403
|
-
|
|
24415
|
+
device_id: {
|
|
24416
|
+
description: 'ID of the desired thermostat device.',
|
|
24417
|
+
format: 'uuid',
|
|
24418
|
+
type: 'string',
|
|
24419
|
+
},
|
|
24420
|
+
hvac_mode: {
|
|
24421
|
+
description: 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate.',
|
|
24422
|
+
enum: ['cool'],
|
|
24423
|
+
type: 'string',
|
|
24424
|
+
},
|
|
24404
24425
|
},
|
|
24405
24426
|
required: ['hvac_mode', 'device_id'],
|
|
24406
24427
|
type: 'object',
|
|
24407
24428
|
},
|
|
24408
24429
|
{
|
|
24409
24430
|
properties: {
|
|
24410
|
-
device_id: {
|
|
24431
|
+
device_id: {
|
|
24432
|
+
description: 'ID of the desired thermostat device.',
|
|
24433
|
+
format: 'uuid',
|
|
24434
|
+
type: 'string',
|
|
24435
|
+
},
|
|
24411
24436
|
heating_set_point_celsius: {
|
|
24437
|
+
description: 'Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `heating_set_point_celsius` or `heating_set_point_fahrenheit`.',
|
|
24412
24438
|
format: 'float',
|
|
24413
24439
|
type: 'number',
|
|
24414
24440
|
},
|
|
24415
24441
|
heating_set_point_fahrenheit: {
|
|
24442
|
+
description: 'Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `heating_set_point_fahrenheit` or `heating_set_point_celsius`.',
|
|
24416
24443
|
format: 'float',
|
|
24417
24444
|
type: 'number',
|
|
24418
24445
|
},
|
|
24419
|
-
hvac_mode: {
|
|
24446
|
+
hvac_mode: {
|
|
24447
|
+
description: 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate.',
|
|
24448
|
+
enum: ['heat'],
|
|
24449
|
+
type: 'string',
|
|
24450
|
+
},
|
|
24420
24451
|
},
|
|
24421
24452
|
required: ['hvac_mode', 'device_id'],
|
|
24422
24453
|
type: 'object',
|
|
@@ -24424,23 +24455,35 @@ export default {
|
|
|
24424
24455
|
{
|
|
24425
24456
|
properties: {
|
|
24426
24457
|
cooling_set_point_celsius: {
|
|
24458
|
+
description: 'Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `cooling_set_point_celsius` or `cooling_set_point_fahrenheit`.',
|
|
24427
24459
|
format: 'float',
|
|
24428
24460
|
type: 'number',
|
|
24429
24461
|
},
|
|
24430
24462
|
cooling_set_point_fahrenheit: {
|
|
24463
|
+
description: 'Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `cooling_set_point_fahrenheit` or `cooling_set_point_celsius`.',
|
|
24431
24464
|
format: 'float',
|
|
24432
24465
|
type: 'number',
|
|
24433
24466
|
},
|
|
24434
|
-
device_id: {
|
|
24467
|
+
device_id: {
|
|
24468
|
+
description: 'ID of the desired thermostat device.',
|
|
24469
|
+
format: 'uuid',
|
|
24470
|
+
type: 'string',
|
|
24471
|
+
},
|
|
24435
24472
|
heating_set_point_celsius: {
|
|
24473
|
+
description: 'Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `heating_set_point_celsius` or `heating_set_point_fahrenheit`.',
|
|
24436
24474
|
format: 'float',
|
|
24437
24475
|
type: 'number',
|
|
24438
24476
|
},
|
|
24439
24477
|
heating_set_point_fahrenheit: {
|
|
24478
|
+
description: 'Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `heating_set_point_fahrenheit` or `heating_set_point_celsius`.',
|
|
24440
24479
|
format: 'float',
|
|
24441
24480
|
type: 'number',
|
|
24442
24481
|
},
|
|
24443
|
-
hvac_mode: {
|
|
24482
|
+
hvac_mode: {
|
|
24483
|
+
description: 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate.',
|
|
24484
|
+
enum: ['heat_cool'],
|
|
24485
|
+
type: 'string',
|
|
24486
|
+
},
|
|
24444
24487
|
},
|
|
24445
24488
|
required: ['hvac_mode', 'device_id'],
|
|
24446
24489
|
type: 'object',
|
|
@@ -24476,19 +24519,33 @@ export default {
|
|
|
24476
24519
|
'x-fern-sdk-group-name': ['thermostats', 'simulate'],
|
|
24477
24520
|
'x-fern-sdk-method-name': 'hvac_mode_adjusted',
|
|
24478
24521
|
'x-response-key': null,
|
|
24522
|
+
'x-title': 'HVAC Mode Adjusted',
|
|
24479
24523
|
},
|
|
24480
24524
|
},
|
|
24481
24525
|
'/thermostats/simulate/temperature_reached': {
|
|
24482
24526
|
post: {
|
|
24527
|
+
description: 'Simulates a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) reaching a specified temperature. Only applicable for [sandbox devices](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your Thermostat App with Simulate Endpoints](https://docs.seam.co/latest/capability-guides/thermostats/testing-your-thermostat-app-with-simulate-endpoints).',
|
|
24483
24528
|
operationId: 'thermostatsSimulateTemperatureReachedPost',
|
|
24484
24529
|
requestBody: {
|
|
24485
24530
|
content: {
|
|
24486
24531
|
'application/json': {
|
|
24487
24532
|
schema: {
|
|
24488
24533
|
properties: {
|
|
24489
|
-
device_id: {
|
|
24490
|
-
|
|
24491
|
-
|
|
24534
|
+
device_id: {
|
|
24535
|
+
description: 'ID of the desired thermostat device.',
|
|
24536
|
+
format: 'uuid',
|
|
24537
|
+
type: 'string',
|
|
24538
|
+
},
|
|
24539
|
+
temperature_celsius: {
|
|
24540
|
+
description: 'Desired simulated temperature in °C. You must set `temperature_celsius` or `temperature_fahrenheit`.',
|
|
24541
|
+
format: 'float',
|
|
24542
|
+
type: 'number',
|
|
24543
|
+
},
|
|
24544
|
+
temperature_fahrenheit: {
|
|
24545
|
+
description: 'Desired simulated temperature in °F. You must set `temperature_fahrenheit` or `temperature_celsius`.',
|
|
24546
|
+
format: 'float',
|
|
24547
|
+
type: 'number',
|
|
24548
|
+
},
|
|
24492
24549
|
},
|
|
24493
24550
|
required: ['device_id'],
|
|
24494
24551
|
type: 'object',
|
|
@@ -24522,6 +24579,7 @@ export default {
|
|
|
24522
24579
|
'x-fern-sdk-group-name': ['thermostats', 'simulate'],
|
|
24523
24580
|
'x-fern-sdk-method-name': 'temperature_reached',
|
|
24524
24581
|
'x-response-key': null,
|
|
24582
|
+
'x-title': 'Temperature Reached',
|
|
24525
24583
|
},
|
|
24526
24584
|
},
|
|
24527
24585
|
'/thermostats/update_climate_preset': {
|