@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.cjs
CHANGED
|
@@ -24484,7 +24484,8 @@ var openapi_default = {
|
|
|
24484
24484
|
security: [
|
|
24485
24485
|
{ api_key: [] },
|
|
24486
24486
|
{ pat_with_workspace: [] },
|
|
24487
|
-
{ console_session_with_workspace: [] }
|
|
24487
|
+
{ console_session_with_workspace: [] },
|
|
24488
|
+
{ client_session: [] }
|
|
24488
24489
|
],
|
|
24489
24490
|
summary: "/devices/update",
|
|
24490
24491
|
tags: ["/devices"],
|
|
@@ -24541,7 +24542,8 @@ var openapi_default = {
|
|
|
24541
24542
|
security: [
|
|
24542
24543
|
{ api_key: [] },
|
|
24543
24544
|
{ pat_with_workspace: [] },
|
|
24544
|
-
{ console_session_with_workspace: [] }
|
|
24545
|
+
{ console_session_with_workspace: [] },
|
|
24546
|
+
{ client_session: [] }
|
|
24545
24547
|
],
|
|
24546
24548
|
summary: "/devices/update",
|
|
24547
24549
|
tags: ["/devices"],
|
|
@@ -27947,6 +27949,7 @@ var openapi_default = {
|
|
|
27947
27949
|
},
|
|
27948
27950
|
"/thermostats/simulate/hvac_mode_adjusted": {
|
|
27949
27951
|
post: {
|
|
27952
|
+
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).",
|
|
27950
27953
|
operationId: "thermostatsSimulateHvacModeAdjustedPost",
|
|
27951
27954
|
requestBody: {
|
|
27952
27955
|
content: {
|
|
@@ -27956,8 +27959,16 @@ var openapi_default = {
|
|
|
27956
27959
|
oneOf: [
|
|
27957
27960
|
{
|
|
27958
27961
|
properties: {
|
|
27959
|
-
device_id: {
|
|
27960
|
-
|
|
27962
|
+
device_id: {
|
|
27963
|
+
description: "ID of the desired thermostat device.",
|
|
27964
|
+
format: "uuid",
|
|
27965
|
+
type: "string"
|
|
27966
|
+
},
|
|
27967
|
+
hvac_mode: {
|
|
27968
|
+
description: "Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate.",
|
|
27969
|
+
enum: ["off"],
|
|
27970
|
+
type: "string"
|
|
27971
|
+
}
|
|
27961
27972
|
},
|
|
27962
27973
|
required: ["hvac_mode", "device_id"],
|
|
27963
27974
|
type: "object"
|
|
@@ -27965,31 +27976,51 @@ var openapi_default = {
|
|
|
27965
27976
|
{
|
|
27966
27977
|
properties: {
|
|
27967
27978
|
cooling_set_point_celsius: {
|
|
27979
|
+
description: "Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0C. You must set `cooling_set_point_celsius` or `cooling_set_point_fahrenheit`.",
|
|
27968
27980
|
format: "float",
|
|
27969
27981
|
type: "number"
|
|
27970
27982
|
},
|
|
27971
27983
|
cooling_set_point_fahrenheit: {
|
|
27984
|
+
description: "Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0F. You must set `cooling_set_point_fahrenheit` or `cooling_set_point_celsius`.",
|
|
27972
27985
|
format: "float",
|
|
27973
27986
|
type: "number"
|
|
27974
27987
|
},
|
|
27975
|
-
device_id: {
|
|
27976
|
-
|
|
27988
|
+
device_id: {
|
|
27989
|
+
description: "ID of the desired thermostat device.",
|
|
27990
|
+
format: "uuid",
|
|
27991
|
+
type: "string"
|
|
27992
|
+
},
|
|
27993
|
+
hvac_mode: {
|
|
27994
|
+
description: "Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate.",
|
|
27995
|
+
enum: ["cool"],
|
|
27996
|
+
type: "string"
|
|
27997
|
+
}
|
|
27977
27998
|
},
|
|
27978
27999
|
required: ["hvac_mode", "device_id"],
|
|
27979
28000
|
type: "object"
|
|
27980
28001
|
},
|
|
27981
28002
|
{
|
|
27982
28003
|
properties: {
|
|
27983
|
-
device_id: {
|
|
28004
|
+
device_id: {
|
|
28005
|
+
description: "ID of the desired thermostat device.",
|
|
28006
|
+
format: "uuid",
|
|
28007
|
+
type: "string"
|
|
28008
|
+
},
|
|
27984
28009
|
heating_set_point_celsius: {
|
|
28010
|
+
description: "Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0C. You must set `heating_set_point_celsius` or `heating_set_point_fahrenheit`.",
|
|
27985
28011
|
format: "float",
|
|
27986
28012
|
type: "number"
|
|
27987
28013
|
},
|
|
27988
28014
|
heating_set_point_fahrenheit: {
|
|
28015
|
+
description: "Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0F. You must set `heating_set_point_fahrenheit` or `heating_set_point_celsius`.",
|
|
27989
28016
|
format: "float",
|
|
27990
28017
|
type: "number"
|
|
27991
28018
|
},
|
|
27992
|
-
hvac_mode: {
|
|
28019
|
+
hvac_mode: {
|
|
28020
|
+
description: "Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate.",
|
|
28021
|
+
enum: ["heat"],
|
|
28022
|
+
type: "string"
|
|
28023
|
+
}
|
|
27993
28024
|
},
|
|
27994
28025
|
required: ["hvac_mode", "device_id"],
|
|
27995
28026
|
type: "object"
|
|
@@ -27997,23 +28028,35 @@ var openapi_default = {
|
|
|
27997
28028
|
{
|
|
27998
28029
|
properties: {
|
|
27999
28030
|
cooling_set_point_celsius: {
|
|
28031
|
+
description: "Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0C. You must set `cooling_set_point_celsius` or `cooling_set_point_fahrenheit`.",
|
|
28000
28032
|
format: "float",
|
|
28001
28033
|
type: "number"
|
|
28002
28034
|
},
|
|
28003
28035
|
cooling_set_point_fahrenheit: {
|
|
28036
|
+
description: "Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0F. You must set `cooling_set_point_fahrenheit` or `cooling_set_point_celsius`.",
|
|
28004
28037
|
format: "float",
|
|
28005
28038
|
type: "number"
|
|
28006
28039
|
},
|
|
28007
|
-
device_id: {
|
|
28040
|
+
device_id: {
|
|
28041
|
+
description: "ID of the desired thermostat device.",
|
|
28042
|
+
format: "uuid",
|
|
28043
|
+
type: "string"
|
|
28044
|
+
},
|
|
28008
28045
|
heating_set_point_celsius: {
|
|
28046
|
+
description: "Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0C. You must set `heating_set_point_celsius` or `heating_set_point_fahrenheit`.",
|
|
28009
28047
|
format: "float",
|
|
28010
28048
|
type: "number"
|
|
28011
28049
|
},
|
|
28012
28050
|
heating_set_point_fahrenheit: {
|
|
28051
|
+
description: "Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0F. You must set `heating_set_point_fahrenheit` or `heating_set_point_celsius`.",
|
|
28013
28052
|
format: "float",
|
|
28014
28053
|
type: "number"
|
|
28015
28054
|
},
|
|
28016
|
-
hvac_mode: {
|
|
28055
|
+
hvac_mode: {
|
|
28056
|
+
description: "Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate.",
|
|
28057
|
+
enum: ["heat_cool"],
|
|
28058
|
+
type: "string"
|
|
28059
|
+
}
|
|
28017
28060
|
},
|
|
28018
28061
|
required: ["hvac_mode", "device_id"],
|
|
28019
28062
|
type: "object"
|
|
@@ -28048,20 +28091,34 @@ var openapi_default = {
|
|
|
28048
28091
|
tags: ["/thermostats"],
|
|
28049
28092
|
"x-fern-sdk-group-name": ["thermostats", "simulate"],
|
|
28050
28093
|
"x-fern-sdk-method-name": "hvac_mode_adjusted",
|
|
28051
|
-
"x-response-key": null
|
|
28094
|
+
"x-response-key": null,
|
|
28095
|
+
"x-title": "HVAC Mode Adjusted"
|
|
28052
28096
|
}
|
|
28053
28097
|
},
|
|
28054
28098
|
"/thermostats/simulate/temperature_reached": {
|
|
28055
28099
|
post: {
|
|
28100
|
+
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).",
|
|
28056
28101
|
operationId: "thermostatsSimulateTemperatureReachedPost",
|
|
28057
28102
|
requestBody: {
|
|
28058
28103
|
content: {
|
|
28059
28104
|
"application/json": {
|
|
28060
28105
|
schema: {
|
|
28061
28106
|
properties: {
|
|
28062
|
-
device_id: {
|
|
28063
|
-
|
|
28064
|
-
|
|
28107
|
+
device_id: {
|
|
28108
|
+
description: "ID of the desired thermostat device.",
|
|
28109
|
+
format: "uuid",
|
|
28110
|
+
type: "string"
|
|
28111
|
+
},
|
|
28112
|
+
temperature_celsius: {
|
|
28113
|
+
description: "Desired simulated temperature in \xB0C. You must set `temperature_celsius` or `temperature_fahrenheit`.",
|
|
28114
|
+
format: "float",
|
|
28115
|
+
type: "number"
|
|
28116
|
+
},
|
|
28117
|
+
temperature_fahrenheit: {
|
|
28118
|
+
description: "Desired simulated temperature in \xB0F. You must set `temperature_fahrenheit` or `temperature_celsius`.",
|
|
28119
|
+
format: "float",
|
|
28120
|
+
type: "number"
|
|
28121
|
+
}
|
|
28065
28122
|
},
|
|
28066
28123
|
required: ["device_id"],
|
|
28067
28124
|
type: "object"
|
|
@@ -28094,7 +28151,8 @@ var openapi_default = {
|
|
|
28094
28151
|
tags: ["/thermostats"],
|
|
28095
28152
|
"x-fern-sdk-group-name": ["thermostats", "simulate"],
|
|
28096
28153
|
"x-fern-sdk-method-name": "temperature_reached",
|
|
28097
|
-
"x-response-key": null
|
|
28154
|
+
"x-response-key": null,
|
|
28155
|
+
"x-title": "Temperature Reached"
|
|
28098
28156
|
}
|
|
28099
28157
|
},
|
|
28100
28158
|
"/thermostats/update_climate_preset": {
|