@seamapi/types 1.434.0 → 1.435.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 +134 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +836 -24
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +99 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +99 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +8 -8
- package/lib/seam/connect/models/devices/device.d.ts +145 -16
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +107 -8
- package/lib/seam/connect/models/events/devices.d.ts +26 -0
- package/lib/seam/connect/models/events/seam-event.d.ts +13 -0
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +46 -0
- package/lib/seam/connect/models/thermostats/climate-preset.js +15 -0
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +120 -0
- package/lib/seam/connect/openapi.js +124 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +451 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +17 -0
- package/src/lib/seam/connect/openapi.ts +148 -0
- package/src/lib/seam/connect/route-types.ts +611 -0
package/dist/connect.cjs
CHANGED
|
@@ -204,7 +204,16 @@ var climate_preset = zod.z.object({
|
|
|
204
204
|
deprecated: Use 'thermostat_schedule.is_override_allowed'
|
|
205
205
|
---
|
|
206
206
|
Indicates whether a person at the thermostat can change the thermostat's settings. See [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).`
|
|
207
|
-
)
|
|
207
|
+
),
|
|
208
|
+
ecobee_metadata: zod.z.object({
|
|
209
|
+
climate_ref: zod.z.string().describe(`Reference to the Ecobee climate, if applicable.`),
|
|
210
|
+
is_optimized: zod.z.boolean().describe(`Indicates if the climate preset is optimized by Ecobee.`),
|
|
211
|
+
owner: zod.z.enum(["user", "system"]).describe(
|
|
212
|
+
`Indicates whether the climate preset is owned by the user or the system.`
|
|
213
|
+
)
|
|
214
|
+
}).optional().describe(`
|
|
215
|
+
Metadata specific to the Ecobee climate, if applicable.
|
|
216
|
+
`)
|
|
208
217
|
});
|
|
209
218
|
var climate_setting = climate_preset.partial();
|
|
210
219
|
var thermostat_daily_program_period = zod.z.object({
|
|
@@ -15723,6 +15732,30 @@ var openapi_default = {
|
|
|
15723
15732
|
description: "Display name for the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).",
|
|
15724
15733
|
type: "string"
|
|
15725
15734
|
},
|
|
15735
|
+
ecobee_metadata: {
|
|
15736
|
+
description: "\n Metadata specific to the Ecobee climate, if applicable.\n ",
|
|
15737
|
+
properties: {
|
|
15738
|
+
climate_ref: {
|
|
15739
|
+
description: "Reference to the Ecobee climate, if applicable.",
|
|
15740
|
+
type: "string"
|
|
15741
|
+
},
|
|
15742
|
+
is_optimized: {
|
|
15743
|
+
description: "Indicates if the climate preset is optimized by Ecobee.",
|
|
15744
|
+
type: "boolean"
|
|
15745
|
+
},
|
|
15746
|
+
owner: {
|
|
15747
|
+
description: "Indicates whether the climate preset is owned by the user or the system.",
|
|
15748
|
+
enum: ["user", "system"],
|
|
15749
|
+
type: "string"
|
|
15750
|
+
}
|
|
15751
|
+
},
|
|
15752
|
+
required: [
|
|
15753
|
+
"climate_ref",
|
|
15754
|
+
"is_optimized",
|
|
15755
|
+
"owner"
|
|
15756
|
+
],
|
|
15757
|
+
type: "object"
|
|
15758
|
+
},
|
|
15726
15759
|
fan_mode_setting: {
|
|
15727
15760
|
description: "Desired [fan mode setting](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`.",
|
|
15728
15761
|
enum: ["auto", "on", "circulate"],
|
|
@@ -15832,6 +15865,26 @@ var openapi_default = {
|
|
|
15832
15865
|
description: "Display name for the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).",
|
|
15833
15866
|
type: "string"
|
|
15834
15867
|
},
|
|
15868
|
+
ecobee_metadata: {
|
|
15869
|
+
description: "\n Metadata specific to the Ecobee climate, if applicable.\n ",
|
|
15870
|
+
properties: {
|
|
15871
|
+
climate_ref: {
|
|
15872
|
+
description: "Reference to the Ecobee climate, if applicable.",
|
|
15873
|
+
type: "string"
|
|
15874
|
+
},
|
|
15875
|
+
is_optimized: {
|
|
15876
|
+
description: "Indicates if the climate preset is optimized by Ecobee.",
|
|
15877
|
+
type: "boolean"
|
|
15878
|
+
},
|
|
15879
|
+
owner: {
|
|
15880
|
+
description: "Indicates whether the climate preset is owned by the user or the system.",
|
|
15881
|
+
enum: ["user", "system"],
|
|
15882
|
+
type: "string"
|
|
15883
|
+
}
|
|
15884
|
+
},
|
|
15885
|
+
required: ["climate_ref", "is_optimized", "owner"],
|
|
15886
|
+
type: "object"
|
|
15887
|
+
},
|
|
15835
15888
|
fan_mode_setting: {
|
|
15836
15889
|
description: "Desired [fan mode setting](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`.",
|
|
15837
15890
|
enum: ["auto", "on", "circulate"],
|
|
@@ -15913,6 +15966,26 @@ var openapi_default = {
|
|
|
15913
15966
|
description: "Display name for the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).",
|
|
15914
15967
|
type: "string"
|
|
15915
15968
|
},
|
|
15969
|
+
ecobee_metadata: {
|
|
15970
|
+
description: "\n Metadata specific to the Ecobee climate, if applicable.\n ",
|
|
15971
|
+
properties: {
|
|
15972
|
+
climate_ref: {
|
|
15973
|
+
description: "Reference to the Ecobee climate, if applicable.",
|
|
15974
|
+
type: "string"
|
|
15975
|
+
},
|
|
15976
|
+
is_optimized: {
|
|
15977
|
+
description: "Indicates if the climate preset is optimized by Ecobee.",
|
|
15978
|
+
type: "boolean"
|
|
15979
|
+
},
|
|
15980
|
+
owner: {
|
|
15981
|
+
description: "Indicates whether the climate preset is owned by the user or the system.",
|
|
15982
|
+
enum: ["user", "system"],
|
|
15983
|
+
type: "string"
|
|
15984
|
+
}
|
|
15985
|
+
},
|
|
15986
|
+
required: ["climate_ref", "is_optimized", "owner"],
|
|
15987
|
+
type: "object"
|
|
15988
|
+
},
|
|
15916
15989
|
fan_mode_setting: {
|
|
15917
15990
|
description: "Desired [fan mode setting](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`.",
|
|
15918
15991
|
enum: ["auto", "on", "circulate"],
|
|
@@ -48394,6 +48467,26 @@ var openapi_default = {
|
|
|
48394
48467
|
format: "uuid",
|
|
48395
48468
|
type: "string"
|
|
48396
48469
|
},
|
|
48470
|
+
ecobee_metadata: {
|
|
48471
|
+
description: "\n Metadata specific to the Ecobee climate, if applicable.\n ",
|
|
48472
|
+
properties: {
|
|
48473
|
+
climate_ref: {
|
|
48474
|
+
description: "Reference to the Ecobee climate, if applicable.",
|
|
48475
|
+
type: "string"
|
|
48476
|
+
},
|
|
48477
|
+
is_optimized: {
|
|
48478
|
+
description: "Indicates if the climate preset is optimized by Ecobee.",
|
|
48479
|
+
type: "boolean"
|
|
48480
|
+
},
|
|
48481
|
+
owner: {
|
|
48482
|
+
description: "Indicates whether the climate preset is owned by the user or the system.",
|
|
48483
|
+
enum: ["user", "system"],
|
|
48484
|
+
type: "string"
|
|
48485
|
+
}
|
|
48486
|
+
},
|
|
48487
|
+
required: ["climate_ref", "is_optimized", "owner"],
|
|
48488
|
+
type: "object"
|
|
48489
|
+
},
|
|
48397
48490
|
fan_mode_setting: {
|
|
48398
48491
|
description: "Desired [fan mode setting](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`.",
|
|
48399
48492
|
enum: ["auto", "on", "circulate"],
|
|
@@ -50962,6 +51055,26 @@ var openapi_default = {
|
|
|
50962
51055
|
format: "uuid",
|
|
50963
51056
|
type: "string"
|
|
50964
51057
|
},
|
|
51058
|
+
ecobee_metadata: {
|
|
51059
|
+
description: "\n Metadata specific to the Ecobee climate, if applicable.\n ",
|
|
51060
|
+
properties: {
|
|
51061
|
+
climate_ref: {
|
|
51062
|
+
description: "Reference to the Ecobee climate, if applicable.",
|
|
51063
|
+
type: "string"
|
|
51064
|
+
},
|
|
51065
|
+
is_optimized: {
|
|
51066
|
+
description: "Indicates if the climate preset is optimized by Ecobee.",
|
|
51067
|
+
type: "boolean"
|
|
51068
|
+
},
|
|
51069
|
+
owner: {
|
|
51070
|
+
description: "Indicates whether the climate preset is owned by the user or the system.",
|
|
51071
|
+
enum: ["user", "system"],
|
|
51072
|
+
type: "string"
|
|
51073
|
+
}
|
|
51074
|
+
},
|
|
51075
|
+
required: ["climate_ref", "is_optimized", "owner"],
|
|
51076
|
+
type: "object"
|
|
51077
|
+
},
|
|
50965
51078
|
fan_mode_setting: {
|
|
50966
51079
|
description: "Desired [fan mode setting](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`.",
|
|
50967
51080
|
enum: ["auto", "on", "circulate"],
|
|
@@ -51069,6 +51182,26 @@ var openapi_default = {
|
|
|
51069
51182
|
format: "uuid",
|
|
51070
51183
|
type: "string"
|
|
51071
51184
|
},
|
|
51185
|
+
ecobee_metadata: {
|
|
51186
|
+
description: "\n Metadata specific to the Ecobee climate, if applicable.\n ",
|
|
51187
|
+
properties: {
|
|
51188
|
+
climate_ref: {
|
|
51189
|
+
description: "Reference to the Ecobee climate, if applicable.",
|
|
51190
|
+
type: "string"
|
|
51191
|
+
},
|
|
51192
|
+
is_optimized: {
|
|
51193
|
+
description: "Indicates if the climate preset is optimized by Ecobee.",
|
|
51194
|
+
type: "boolean"
|
|
51195
|
+
},
|
|
51196
|
+
owner: {
|
|
51197
|
+
description: "Indicates whether the climate preset is owned by the user or the system.",
|
|
51198
|
+
enum: ["user", "system"],
|
|
51199
|
+
type: "string"
|
|
51200
|
+
}
|
|
51201
|
+
},
|
|
51202
|
+
required: ["climate_ref", "is_optimized", "owner"],
|
|
51203
|
+
type: "object"
|
|
51204
|
+
},
|
|
51072
51205
|
fan_mode_setting: {
|
|
51073
51206
|
description: "Desired [fan mode setting](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`.",
|
|
51074
51207
|
enum: ["auto", "on", "circulate"],
|