@seamapi/types 1.248.0 → 1.249.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 +35 -11
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +125 -97
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +21 -18
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +21 -18
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +1 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +31 -26
- package/lib/seam/connect/models/devices/phone.d.ts +21 -18
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -18
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +6 -6
- package/lib/seam/connect/models/thermostats/modes.d.ts +3 -1
- package/lib/seam/connect/models/thermostats/modes.js +2 -1
- package/lib/seam/connect/models/thermostats/modes.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +8 -0
- package/lib/seam/connect/openapi.js +32 -10
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +65 -53
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +1 -0
- package/src/lib/seam/connect/models/thermostats/modes.ts +7 -1
- package/src/lib/seam/connect/openapi.ts +32 -10
- package/src/lib/seam/connect/route-types.ts +137 -53
package/dist/connect.cjs
CHANGED
|
@@ -136,7 +136,8 @@ var lock_capability_properties = zod.z.object({
|
|
|
136
136
|
door_open: zod.z.boolean().optional()
|
|
137
137
|
});
|
|
138
138
|
var hvac_mode_setting = zod.z.enum(["off", "heat", "cool", "heat_cool"]);
|
|
139
|
-
var fan_mode_setting = zod.z.enum(["auto", "on"]);
|
|
139
|
+
var fan_mode_setting = zod.z.enum(["auto", "on", "circulate"]);
|
|
140
|
+
zod.z.array(fan_mode_setting);
|
|
140
141
|
|
|
141
142
|
// src/lib/seam/connect/models/thermostats/climate-preset.ts
|
|
142
143
|
var climate_preset = zod.z.object({
|
|
@@ -174,6 +175,7 @@ var thermostat_capability_properties = zod.z.object({
|
|
|
174
175
|
temperature_celsius: zod.z.number(),
|
|
175
176
|
relative_humidity: zod.z.number().min(0).max(1),
|
|
176
177
|
available_hvac_mode_settings: zod.z.array(hvac_mode_setting),
|
|
178
|
+
available_fan_mode_settings: zod.z.array(fan_mode_setting),
|
|
177
179
|
is_heating: zod.z.boolean(),
|
|
178
180
|
is_cooling: zod.z.boolean(),
|
|
179
181
|
is_fan_running: zod.z.boolean(),
|
|
@@ -4554,7 +4556,10 @@ var openapi_default = {
|
|
|
4554
4556
|
cooling_set_point_celsius: { format: "float", type: "number" },
|
|
4555
4557
|
cooling_set_point_fahrenheit: { format: "float", type: "number" },
|
|
4556
4558
|
display_name: { type: "string" },
|
|
4557
|
-
fan_mode_setting: {
|
|
4559
|
+
fan_mode_setting: {
|
|
4560
|
+
enum: ["auto", "on", "circulate"],
|
|
4561
|
+
type: "string"
|
|
4562
|
+
},
|
|
4558
4563
|
heating_set_point_celsius: { format: "float", type: "number" },
|
|
4559
4564
|
heating_set_point_fahrenheit: { format: "float", type: "number" },
|
|
4560
4565
|
hvac_mode_setting: {
|
|
@@ -5666,7 +5671,7 @@ var openapi_default = {
|
|
|
5666
5671
|
},
|
|
5667
5672
|
display_name: { type: "string" },
|
|
5668
5673
|
fan_mode_setting: {
|
|
5669
|
-
enum: ["auto", "on"],
|
|
5674
|
+
enum: ["auto", "on", "circulate"],
|
|
5670
5675
|
type: "string"
|
|
5671
5676
|
},
|
|
5672
5677
|
heating_set_point_celsius: {
|
|
@@ -5699,6 +5704,13 @@ var openapi_default = {
|
|
|
5699
5704
|
},
|
|
5700
5705
|
type: "array"
|
|
5701
5706
|
},
|
|
5707
|
+
available_fan_mode_settings: {
|
|
5708
|
+
items: {
|
|
5709
|
+
enum: ["auto", "on", "circulate"],
|
|
5710
|
+
type: "string"
|
|
5711
|
+
},
|
|
5712
|
+
type: "array"
|
|
5713
|
+
},
|
|
5702
5714
|
available_hvac_mode_settings: {
|
|
5703
5715
|
items: {
|
|
5704
5716
|
enum: ["off", "heat", "cool", "heat_cool"],
|
|
@@ -5721,7 +5733,7 @@ var openapi_default = {
|
|
|
5721
5733
|
},
|
|
5722
5734
|
display_name: { type: "string" },
|
|
5723
5735
|
fan_mode_setting: {
|
|
5724
|
-
enum: ["auto", "on"],
|
|
5736
|
+
enum: ["auto", "on", "circulate"],
|
|
5725
5737
|
type: "string"
|
|
5726
5738
|
},
|
|
5727
5739
|
heating_set_point_celsius: {
|
|
@@ -5761,7 +5773,7 @@ var openapi_default = {
|
|
|
5761
5773
|
},
|
|
5762
5774
|
display_name: { type: "string" },
|
|
5763
5775
|
fan_mode_setting: {
|
|
5764
|
-
enum: ["auto", "on"],
|
|
5776
|
+
enum: ["auto", "on", "circulate"],
|
|
5765
5777
|
type: "string"
|
|
5766
5778
|
},
|
|
5767
5779
|
heating_set_point_celsius: {
|
|
@@ -5794,7 +5806,7 @@ var openapi_default = {
|
|
|
5794
5806
|
},
|
|
5795
5807
|
fan_mode_setting: {
|
|
5796
5808
|
deprecated: true,
|
|
5797
|
-
enum: ["auto", "on"],
|
|
5809
|
+
enum: ["auto", "on", "circulate"],
|
|
5798
5810
|
type: "string",
|
|
5799
5811
|
"x-deprecated": "use current_climate_setting.fan_mode_setting instead."
|
|
5800
5812
|
},
|
|
@@ -15215,7 +15227,10 @@ var openapi_default = {
|
|
|
15215
15227
|
type: "number"
|
|
15216
15228
|
},
|
|
15217
15229
|
device_id: { format: "uuid", type: "string" },
|
|
15218
|
-
fan_mode_setting: {
|
|
15230
|
+
fan_mode_setting: {
|
|
15231
|
+
enum: ["auto", "on", "circulate"],
|
|
15232
|
+
type: "string"
|
|
15233
|
+
},
|
|
15219
15234
|
heating_set_point_celsius: {
|
|
15220
15235
|
format: "float",
|
|
15221
15236
|
type: "number"
|
|
@@ -16156,11 +16171,14 @@ var openapi_default = {
|
|
|
16156
16171
|
device_id: { format: "uuid", type: "string" },
|
|
16157
16172
|
fan_mode: {
|
|
16158
16173
|
deprecated: true,
|
|
16159
|
-
enum: ["auto", "on"],
|
|
16174
|
+
enum: ["auto", "on", "circulate"],
|
|
16160
16175
|
type: "string",
|
|
16161
16176
|
"x-deprecated": "use fan_mode_setting instead."
|
|
16162
16177
|
},
|
|
16163
|
-
fan_mode_setting: {
|
|
16178
|
+
fan_mode_setting: {
|
|
16179
|
+
enum: ["auto", "on", "circulate"],
|
|
16180
|
+
type: "string"
|
|
16181
|
+
},
|
|
16164
16182
|
sync: { default: false, type: "boolean" }
|
|
16165
16183
|
},
|
|
16166
16184
|
required: ["device_id"],
|
|
@@ -16221,7 +16239,10 @@ var openapi_default = {
|
|
|
16221
16239
|
type: "number"
|
|
16222
16240
|
},
|
|
16223
16241
|
device_id: { format: "uuid", type: "string" },
|
|
16224
|
-
fan_mode_setting: {
|
|
16242
|
+
fan_mode_setting: {
|
|
16243
|
+
enum: ["auto", "on", "circulate"],
|
|
16244
|
+
type: "string"
|
|
16245
|
+
},
|
|
16225
16246
|
heating_set_point_celsius: {
|
|
16226
16247
|
format: "float",
|
|
16227
16248
|
type: "number"
|
|
@@ -16289,7 +16310,10 @@ var openapi_default = {
|
|
|
16289
16310
|
type: "number"
|
|
16290
16311
|
},
|
|
16291
16312
|
device_id: { format: "uuid", type: "string" },
|
|
16292
|
-
fan_mode_setting: {
|
|
16313
|
+
fan_mode_setting: {
|
|
16314
|
+
enum: ["auto", "on", "circulate"],
|
|
16315
|
+
type: "string"
|
|
16316
|
+
},
|
|
16293
16317
|
heating_set_point_celsius: {
|
|
16294
16318
|
format: "float",
|
|
16295
16319
|
type: "number"
|