@seamapi/types 1.298.0 → 1.299.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 CHANGED
@@ -20151,6 +20151,148 @@ var openapi_default = {
20151
20151
  "x-title": "Set the Fan Mode Setting"
20152
20152
  }
20153
20153
  },
20154
+ "/thermostats/set_hvac_mode": {
20155
+ post: {
20156
+ description: "Sets the [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings) for a specified [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).",
20157
+ operationId: "thermostatsSetHvacModePost",
20158
+ requestBody: {
20159
+ content: {
20160
+ "application/json": {
20161
+ schema: {
20162
+ discriminator: { propertyName: "hvac_mode_setting" },
20163
+ oneOf: [
20164
+ {
20165
+ properties: {
20166
+ device_id: {
20167
+ description: "ID of the desired thermostat device.",
20168
+ format: "uuid",
20169
+ type: "string"
20170
+ },
20171
+ hvac_mode_setting: { enum: ["off"], type: "string" }
20172
+ },
20173
+ required: ["hvac_mode_setting", "device_id"],
20174
+ type: "object"
20175
+ },
20176
+ {
20177
+ properties: {
20178
+ cooling_set_point_celsius: {
20179
+ description: "Desired [cooling set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0C. You must set one of the `cooling_set_point` parameters.",
20180
+ format: "float",
20181
+ type: "number"
20182
+ },
20183
+ cooling_set_point_fahrenheit: {
20184
+ description: "Desired [cooling set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0F. You must set one of the `cooling_set_point` parameters.",
20185
+ format: "float",
20186
+ type: "number"
20187
+ },
20188
+ device_id: {
20189
+ description: "ID of the desired thermostat device.",
20190
+ format: "uuid",
20191
+ type: "string"
20192
+ },
20193
+ hvac_mode_setting: { enum: ["cool"], type: "string" }
20194
+ },
20195
+ required: ["hvac_mode_setting", "device_id"],
20196
+ type: "object"
20197
+ },
20198
+ {
20199
+ properties: {
20200
+ device_id: {
20201
+ description: "ID of the desired thermostat device.",
20202
+ format: "uuid",
20203
+ type: "string"
20204
+ },
20205
+ heating_set_point_celsius: {
20206
+ description: "Desired [heating set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0C. You must set one of the `heating_set_point` parameters.",
20207
+ format: "float",
20208
+ type: "number"
20209
+ },
20210
+ heating_set_point_fahrenheit: {
20211
+ description: "Desired [heating set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0F. You must set one of the `heating_set_point` parameters.",
20212
+ format: "float",
20213
+ type: "number"
20214
+ },
20215
+ hvac_mode_setting: { enum: ["heat"], type: "string" }
20216
+ },
20217
+ required: ["hvac_mode_setting", "device_id"],
20218
+ type: "object"
20219
+ },
20220
+ {
20221
+ properties: {
20222
+ cooling_set_point_celsius: {
20223
+ description: "Desired [cooling set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0C. You must set one of the `cooling_set_point` parameters.",
20224
+ format: "float",
20225
+ type: "number"
20226
+ },
20227
+ cooling_set_point_fahrenheit: {
20228
+ description: "Desired [cooling set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0F. You must set one of the `cooling_set_point` parameters.",
20229
+ format: "float",
20230
+ type: "number"
20231
+ },
20232
+ device_id: {
20233
+ description: "ID of the desired thermostat device.",
20234
+ format: "uuid",
20235
+ type: "string"
20236
+ },
20237
+ heating_set_point_celsius: {
20238
+ description: "Desired [heating set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0C. You must set one of the `heating_set_point` parameters.",
20239
+ format: "float",
20240
+ type: "number"
20241
+ },
20242
+ heating_set_point_fahrenheit: {
20243
+ description: "Desired [heating set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in \xB0F. You must set one of the `heating_set_point` parameters.",
20244
+ format: "float",
20245
+ type: "number"
20246
+ },
20247
+ hvac_mode_setting: {
20248
+ enum: ["heat_cool"],
20249
+ type: "string"
20250
+ }
20251
+ },
20252
+ required: ["hvac_mode_setting", "device_id"],
20253
+ type: "object"
20254
+ }
20255
+ ]
20256
+ }
20257
+ }
20258
+ }
20259
+ },
20260
+ responses: {
20261
+ 200: {
20262
+ content: {
20263
+ "application/json": {
20264
+ schema: {
20265
+ properties: {
20266
+ action_attempt: {
20267
+ $ref: "#/components/schemas/action_attempt"
20268
+ },
20269
+ ok: { type: "boolean" }
20270
+ },
20271
+ required: ["action_attempt", "ok"],
20272
+ type: "object"
20273
+ }
20274
+ }
20275
+ },
20276
+ description: "OK"
20277
+ },
20278
+ 400: { description: "Bad Request" },
20279
+ 401: { description: "Unauthorized" }
20280
+ },
20281
+ security: [
20282
+ { client_session: [] },
20283
+ { pat_with_workspace: [] },
20284
+ { console_session: [] },
20285
+ { api_key: [] }
20286
+ ],
20287
+ summary: "/thermostats/set_hvac_mode",
20288
+ tags: ["/thermostats"],
20289
+ "x-fern-sdk-group-name": ["thermostats"],
20290
+ "x-fern-sdk-method-name": "set_hvac_mode",
20291
+ "x-fern-sdk-return-value": "action_attempt",
20292
+ "x-response-key": "action_attempt",
20293
+ "x-title": "Set the HVAC Mode"
20294
+ }
20295
+ },
20154
20296
  "/thermostats/set_temperature_threshold": {
20155
20297
  patch: {
20156
20298
  description: "Sets a [temperature threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) for a specified thermostat. Seam emits a `thermostat.temperature_threshold_exceeded` event and adds a warning on a thermostat if it reports a temperature outside the threshold range.",