@seamapi/types 1.288.2 → 1.289.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 +65 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +47 -1
- package/lib/seam/connect/openapi.d.ts +30 -0
- package/lib/seam/connect/openapi.js +58 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +17 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +73 -8
- package/src/lib/seam/connect/route-types.ts +17 -1
package/dist/connect.cjs
CHANGED
|
@@ -17611,6 +17611,7 @@ var openapi_default = {
|
|
|
17611
17611
|
},
|
|
17612
17612
|
"/thermostats/cool": {
|
|
17613
17613
|
post: {
|
|
17614
|
+
description: "Sets a thermostat to cooling mode. You must include a cooling set point in Celsius or Fahrenheit. See also [Setting the Current HVAC and Fan Mode Settings](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings).",
|
|
17614
17615
|
operationId: "thermostatsCoolPost",
|
|
17615
17616
|
requestBody: {
|
|
17616
17617
|
content: {
|
|
@@ -17618,14 +17619,20 @@ var openapi_default = {
|
|
|
17618
17619
|
schema: {
|
|
17619
17620
|
properties: {
|
|
17620
17621
|
cooling_set_point_celsius: {
|
|
17622
|
+
description: "Temperature to which the HVAC system connected to the thermostat should cool (in \xB0C). You must set one of the `cooling_set_point` parameters.",
|
|
17621
17623
|
format: "float",
|
|
17622
17624
|
type: "number"
|
|
17623
17625
|
},
|
|
17624
17626
|
cooling_set_point_fahrenheit: {
|
|
17627
|
+
description: "Temperature to which the HVAC system connected to the thermostat should cool (in \xB0F). You must set one of the `cooling_set_point` parameters.",
|
|
17625
17628
|
format: "float",
|
|
17626
17629
|
type: "number"
|
|
17627
17630
|
},
|
|
17628
|
-
device_id: {
|
|
17631
|
+
device_id: {
|
|
17632
|
+
description: "ID of the thermostat device.",
|
|
17633
|
+
format: "uuid",
|
|
17634
|
+
type: "string"
|
|
17635
|
+
},
|
|
17629
17636
|
sync: { default: false, type: "boolean" }
|
|
17630
17637
|
},
|
|
17631
17638
|
required: ["device_id"],
|
|
@@ -17666,7 +17673,8 @@ var openapi_default = {
|
|
|
17666
17673
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
17667
17674
|
"x-fern-sdk-method-name": "cool",
|
|
17668
17675
|
"x-fern-sdk-return-value": "action_attempt",
|
|
17669
|
-
"x-response-key": "action_attempt"
|
|
17676
|
+
"x-response-key": "action_attempt",
|
|
17677
|
+
"x-title": "Set to Cool Mode"
|
|
17670
17678
|
}
|
|
17671
17679
|
},
|
|
17672
17680
|
"/thermostats/create_climate_preset": {
|
|
@@ -17791,14 +17799,22 @@ var openapi_default = {
|
|
|
17791
17799
|
},
|
|
17792
17800
|
"/thermostats/get": {
|
|
17793
17801
|
post: {
|
|
17802
|
+
description: "Returns a specific thermostat.",
|
|
17794
17803
|
operationId: "thermostatsGetPost",
|
|
17795
17804
|
requestBody: {
|
|
17796
17805
|
content: {
|
|
17797
17806
|
"application/json": {
|
|
17798
17807
|
schema: {
|
|
17799
17808
|
properties: {
|
|
17800
|
-
device_id: {
|
|
17801
|
-
|
|
17809
|
+
device_id: {
|
|
17810
|
+
description: "ID of the thermostat device.",
|
|
17811
|
+
format: "uuid",
|
|
17812
|
+
type: "string"
|
|
17813
|
+
},
|
|
17814
|
+
name: {
|
|
17815
|
+
description: "Name of the thermostat.",
|
|
17816
|
+
type: "string"
|
|
17817
|
+
}
|
|
17802
17818
|
},
|
|
17803
17819
|
type: "object"
|
|
17804
17820
|
}
|
|
@@ -17836,23 +17852,31 @@ var openapi_default = {
|
|
|
17836
17852
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
17837
17853
|
"x-fern-sdk-method-name": "get",
|
|
17838
17854
|
"x-fern-sdk-return-value": "thermostat",
|
|
17839
|
-
"x-response-key": "thermostat"
|
|
17855
|
+
"x-response-key": "thermostat",
|
|
17856
|
+
"x-title": "Get a Thermostat"
|
|
17840
17857
|
}
|
|
17841
17858
|
},
|
|
17842
17859
|
"/thermostats/heat": {
|
|
17843
17860
|
post: {
|
|
17861
|
+
description: "Sets a thermostat to heating mode. You must include a heating set point in Celsius or Fahrenheit. See also [Setting the Current HVAC and Fan Mode Settings](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings).",
|
|
17844
17862
|
operationId: "thermostatsHeatPost",
|
|
17845
17863
|
requestBody: {
|
|
17846
17864
|
content: {
|
|
17847
17865
|
"application/json": {
|
|
17848
17866
|
schema: {
|
|
17849
17867
|
properties: {
|
|
17850
|
-
device_id: {
|
|
17868
|
+
device_id: {
|
|
17869
|
+
description: "ID of the thermostat device.",
|
|
17870
|
+
format: "uuid",
|
|
17871
|
+
type: "string"
|
|
17872
|
+
},
|
|
17851
17873
|
heating_set_point_celsius: {
|
|
17874
|
+
description: "Temperature to which the HVAC system connected to the thermostat should heat (in \xB0C). You must set one of the `heating_set_point` parameters.",
|
|
17852
17875
|
format: "float",
|
|
17853
17876
|
type: "number"
|
|
17854
17877
|
},
|
|
17855
17878
|
heating_set_point_fahrenheit: {
|
|
17879
|
+
description: "Temperature to which the HVAC system connected to the thermostat should heat (in \xB0F). You must set one of the `heating_set_point` parameters.",
|
|
17856
17880
|
format: "float",
|
|
17857
17881
|
type: "number"
|
|
17858
17882
|
},
|
|
@@ -17896,11 +17920,13 @@ var openapi_default = {
|
|
|
17896
17920
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
17897
17921
|
"x-fern-sdk-method-name": "heat",
|
|
17898
17922
|
"x-fern-sdk-return-value": "action_attempt",
|
|
17899
|
-
"x-response-key": "action_attempt"
|
|
17923
|
+
"x-response-key": "action_attempt",
|
|
17924
|
+
"x-title": "Set to Heat Mode"
|
|
17900
17925
|
}
|
|
17901
17926
|
},
|
|
17902
17927
|
"/thermostats/heat_cool": {
|
|
17903
17928
|
post: {
|
|
17929
|
+
description: 'Set a thermostat to heat-cool mode, also known as "auto" mode. To do so, you must include both cooling and heating set points in the payload, either in Celsius or Fahrenheit. For information about verifying the heating and cooling availability of the thermostat and validating the correct set points, see [HVAC Mode Constraints](https://docs.seam.co/latest/capability-guides/thermostats/hvac-mode#hvac-mode-constraints) and [Set Point Constraints](https://docs.seam.co/latest/capability-guides/thermostats/set-points#set-point-constraints).',
|
|
17904
17930
|
operationId: "thermostatsHeatCoolPost",
|
|
17905
17931
|
requestBody: {
|
|
17906
17932
|
content: {
|
|
@@ -17908,19 +17934,27 @@ var openapi_default = {
|
|
|
17908
17934
|
schema: {
|
|
17909
17935
|
properties: {
|
|
17910
17936
|
cooling_set_point_celsius: {
|
|
17937
|
+
description: "Temperature to which the HVAC system connected to the thermostat should cool (in \xB0C). You must set one of the `cooling_set_point` parameters.",
|
|
17911
17938
|
format: "float",
|
|
17912
17939
|
type: "number"
|
|
17913
17940
|
},
|
|
17914
17941
|
cooling_set_point_fahrenheit: {
|
|
17942
|
+
description: "Temperature the thermostat should cool to (in \xB0F). You must set one of the cooling_set_point parameters.",
|
|
17915
17943
|
format: "float",
|
|
17916
17944
|
type: "number"
|
|
17917
17945
|
},
|
|
17918
|
-
device_id: {
|
|
17946
|
+
device_id: {
|
|
17947
|
+
description: "ID of the thermostat device.",
|
|
17948
|
+
format: "uuid",
|
|
17949
|
+
type: "string"
|
|
17950
|
+
},
|
|
17919
17951
|
heating_set_point_celsius: {
|
|
17952
|
+
description: "Temperature to which the HVAC system connected to the thermostat should heat (in \xB0C). You must set one of the `heating_set_point` parameters.",
|
|
17920
17953
|
format: "float",
|
|
17921
17954
|
type: "number"
|
|
17922
17955
|
},
|
|
17923
17956
|
heating_set_point_fahrenheit: {
|
|
17957
|
+
description: "Temperature the thermostat should heat to (in \xB0F). You must set one of the heating_set_point parameters.",
|
|
17924
17958
|
format: "float",
|
|
17925
17959
|
type: "number"
|
|
17926
17960
|
},
|
|
@@ -17964,11 +17998,13 @@ var openapi_default = {
|
|
|
17964
17998
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
17965
17999
|
"x-fern-sdk-method-name": "heat_cool",
|
|
17966
18000
|
"x-fern-sdk-return-value": "action_attempt",
|
|
17967
|
-
"x-response-key": "action_attempt"
|
|
18001
|
+
"x-response-key": "action_attempt",
|
|
18002
|
+
"x-title": "Set to Heat-Cool (Auto) Mode"
|
|
17968
18003
|
}
|
|
17969
18004
|
},
|
|
17970
18005
|
"/thermostats/list": {
|
|
17971
18006
|
post: {
|
|
18007
|
+
description: "Returns a list of thermostats connected to your workspace. If no thermostats are connected, the list will be empty.",
|
|
17972
18008
|
operationId: "thermostatsListPost",
|
|
17973
18009
|
requestBody: {
|
|
17974
18010
|
content: {
|
|
@@ -18237,18 +18273,24 @@ var openapi_default = {
|
|
|
18237
18273
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
18238
18274
|
"x-fern-sdk-method-name": "list",
|
|
18239
18275
|
"x-fern-sdk-return-value": "devices",
|
|
18240
|
-
"x-response-key": "devices"
|
|
18276
|
+
"x-response-key": "devices",
|
|
18277
|
+
"x-title": "List Thermostats"
|
|
18241
18278
|
}
|
|
18242
18279
|
},
|
|
18243
18280
|
"/thermostats/off": {
|
|
18244
18281
|
post: {
|
|
18282
|
+
description: 'Sets a thermostat to "off" mode. See also [Setting the Current HVAC and Fan Mode Settings](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings).',
|
|
18245
18283
|
operationId: "thermostatsOffPost",
|
|
18246
18284
|
requestBody: {
|
|
18247
18285
|
content: {
|
|
18248
18286
|
"application/json": {
|
|
18249
18287
|
schema: {
|
|
18250
18288
|
properties: {
|
|
18251
|
-
device_id: {
|
|
18289
|
+
device_id: {
|
|
18290
|
+
description: "ID of the thermostat device.",
|
|
18291
|
+
format: "uuid",
|
|
18292
|
+
type: "string"
|
|
18293
|
+
},
|
|
18252
18294
|
sync: { default: false, type: "boolean" }
|
|
18253
18295
|
},
|
|
18254
18296
|
required: ["device_id"],
|
|
@@ -18289,7 +18331,8 @@ var openapi_default = {
|
|
|
18289
18331
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
18290
18332
|
"x-fern-sdk-method-name": "off",
|
|
18291
18333
|
"x-fern-sdk-return-value": "action_attempt",
|
|
18292
|
-
"x-response-key": "action_attempt"
|
|
18334
|
+
"x-response-key": "action_attempt",
|
|
18335
|
+
"x-title": "Set to Off Mode"
|
|
18293
18336
|
}
|
|
18294
18337
|
},
|
|
18295
18338
|
"/thermostats/schedules/create": {
|
|
@@ -18652,20 +18695,26 @@ var openapi_default = {
|
|
|
18652
18695
|
},
|
|
18653
18696
|
"/thermostats/set_fan_mode": {
|
|
18654
18697
|
post: {
|
|
18698
|
+
description: "Sets the fan mode setting for a thermostat. See also [Setting the Current HVAC and Fan Mode Settings](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings) and [Fan Mode Settings](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings).",
|
|
18655
18699
|
operationId: "thermostatsSetFanModePost",
|
|
18656
18700
|
requestBody: {
|
|
18657
18701
|
content: {
|
|
18658
18702
|
"application/json": {
|
|
18659
18703
|
schema: {
|
|
18660
18704
|
properties: {
|
|
18661
|
-
device_id: {
|
|
18705
|
+
device_id: {
|
|
18706
|
+
description: "ID of the thermostat device.",
|
|
18707
|
+
format: "uuid",
|
|
18708
|
+
type: "string"
|
|
18709
|
+
},
|
|
18662
18710
|
fan_mode: {
|
|
18663
18711
|
deprecated: true,
|
|
18664
18712
|
enum: ["auto", "on", "circulate"],
|
|
18665
18713
|
type: "string",
|
|
18666
|
-
"x-deprecated": "
|
|
18714
|
+
"x-deprecated": "Use `fan_mode_setting` instead."
|
|
18667
18715
|
},
|
|
18668
18716
|
fan_mode_setting: {
|
|
18717
|
+
description: "Fan mode setting of the thermostat. See also [Fan Mode Settings](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings).",
|
|
18669
18718
|
enum: ["auto", "on", "circulate"],
|
|
18670
18719
|
type: "string"
|
|
18671
18720
|
},
|
|
@@ -18709,7 +18758,8 @@ var openapi_default = {
|
|
|
18709
18758
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
18710
18759
|
"x-fern-sdk-method-name": "set_fan_mode",
|
|
18711
18760
|
"x-fern-sdk-return-value": "action_attempt",
|
|
18712
|
-
"x-response-key": "action_attempt"
|
|
18761
|
+
"x-response-key": "action_attempt",
|
|
18762
|
+
"x-title": "Set Fan Mode Setting"
|
|
18713
18763
|
}
|
|
18714
18764
|
},
|
|
18715
18765
|
"/thermostats/set_temperature_threshold": {
|