@seamapi/types 1.434.0 → 1.436.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 +142 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +878 -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 +13 -8
- package/lib/seam/connect/models/devices/device-metadata.js +4 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +152 -16
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +112 -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 +124 -0
- package/lib/seam/connect/openapi.js +128 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +477 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +6 -0
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +17 -0
- package/src/lib/seam/connect/openapi.ts +153 -0
- package/src/lib/seam/connect/route-types.ts +637 -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({
|
|
@@ -1120,7 +1129,10 @@ var device_metadata = zod.z.object({
|
|
|
1120
1129
|
device_name: zod.z.string().describe(`Device name for an igloohome device.`),
|
|
1121
1130
|
bridge_id: zod.z.string().optional().describe(`Bridge ID for an igloohome device.`),
|
|
1122
1131
|
bridge_name: zod.z.string().optional().describe(`Bridge name for an igloohome device.`),
|
|
1123
|
-
keypad_id: zod.z.string().optional().describe(`Keypad ID for an igloohome device.`)
|
|
1132
|
+
keypad_id: zod.z.string().optional().describe(`Keypad ID for an igloohome device.`),
|
|
1133
|
+
is_keypad_linked_to_bridge: zod.z.boolean().optional().describe(
|
|
1134
|
+
`Indicates whether a keypad is linked to a bridge for an igloohome device.`
|
|
1135
|
+
)
|
|
1124
1136
|
}).describe(`Metadata for an igloohome device.`),
|
|
1125
1137
|
nest_metadata: zod.z.object({
|
|
1126
1138
|
nest_device_id: zod.z.string().describe(`Device ID for a Google Nest device.`),
|
|
@@ -14815,6 +14827,10 @@ var openapi_default = {
|
|
|
14815
14827
|
description: "Device name for an igloohome device.",
|
|
14816
14828
|
type: "string"
|
|
14817
14829
|
},
|
|
14830
|
+
is_keypad_linked_to_bridge: {
|
|
14831
|
+
description: "Indicates whether a keypad is linked to a bridge for an igloohome device.",
|
|
14832
|
+
type: "boolean"
|
|
14833
|
+
},
|
|
14818
14834
|
keypad_id: {
|
|
14819
14835
|
description: "Keypad ID for an igloohome device.",
|
|
14820
14836
|
type: "string"
|
|
@@ -15723,6 +15739,30 @@ var openapi_default = {
|
|
|
15723
15739
|
description: "Display name for the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).",
|
|
15724
15740
|
type: "string"
|
|
15725
15741
|
},
|
|
15742
|
+
ecobee_metadata: {
|
|
15743
|
+
description: "\n Metadata specific to the Ecobee climate, if applicable.\n ",
|
|
15744
|
+
properties: {
|
|
15745
|
+
climate_ref: {
|
|
15746
|
+
description: "Reference to the Ecobee climate, if applicable.",
|
|
15747
|
+
type: "string"
|
|
15748
|
+
},
|
|
15749
|
+
is_optimized: {
|
|
15750
|
+
description: "Indicates if the climate preset is optimized by Ecobee.",
|
|
15751
|
+
type: "boolean"
|
|
15752
|
+
},
|
|
15753
|
+
owner: {
|
|
15754
|
+
description: "Indicates whether the climate preset is owned by the user or the system.",
|
|
15755
|
+
enum: ["user", "system"],
|
|
15756
|
+
type: "string"
|
|
15757
|
+
}
|
|
15758
|
+
},
|
|
15759
|
+
required: [
|
|
15760
|
+
"climate_ref",
|
|
15761
|
+
"is_optimized",
|
|
15762
|
+
"owner"
|
|
15763
|
+
],
|
|
15764
|
+
type: "object"
|
|
15765
|
+
},
|
|
15726
15766
|
fan_mode_setting: {
|
|
15727
15767
|
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
15768
|
enum: ["auto", "on", "circulate"],
|
|
@@ -15832,6 +15872,26 @@ var openapi_default = {
|
|
|
15832
15872
|
description: "Display name for the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).",
|
|
15833
15873
|
type: "string"
|
|
15834
15874
|
},
|
|
15875
|
+
ecobee_metadata: {
|
|
15876
|
+
description: "\n Metadata specific to the Ecobee climate, if applicable.\n ",
|
|
15877
|
+
properties: {
|
|
15878
|
+
climate_ref: {
|
|
15879
|
+
description: "Reference to the Ecobee climate, if applicable.",
|
|
15880
|
+
type: "string"
|
|
15881
|
+
},
|
|
15882
|
+
is_optimized: {
|
|
15883
|
+
description: "Indicates if the climate preset is optimized by Ecobee.",
|
|
15884
|
+
type: "boolean"
|
|
15885
|
+
},
|
|
15886
|
+
owner: {
|
|
15887
|
+
description: "Indicates whether the climate preset is owned by the user or the system.",
|
|
15888
|
+
enum: ["user", "system"],
|
|
15889
|
+
type: "string"
|
|
15890
|
+
}
|
|
15891
|
+
},
|
|
15892
|
+
required: ["climate_ref", "is_optimized", "owner"],
|
|
15893
|
+
type: "object"
|
|
15894
|
+
},
|
|
15835
15895
|
fan_mode_setting: {
|
|
15836
15896
|
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
15897
|
enum: ["auto", "on", "circulate"],
|
|
@@ -15913,6 +15973,26 @@ var openapi_default = {
|
|
|
15913
15973
|
description: "Display name for the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).",
|
|
15914
15974
|
type: "string"
|
|
15915
15975
|
},
|
|
15976
|
+
ecobee_metadata: {
|
|
15977
|
+
description: "\n Metadata specific to the Ecobee climate, if applicable.\n ",
|
|
15978
|
+
properties: {
|
|
15979
|
+
climate_ref: {
|
|
15980
|
+
description: "Reference to the Ecobee climate, if applicable.",
|
|
15981
|
+
type: "string"
|
|
15982
|
+
},
|
|
15983
|
+
is_optimized: {
|
|
15984
|
+
description: "Indicates if the climate preset is optimized by Ecobee.",
|
|
15985
|
+
type: "boolean"
|
|
15986
|
+
},
|
|
15987
|
+
owner: {
|
|
15988
|
+
description: "Indicates whether the climate preset is owned by the user or the system.",
|
|
15989
|
+
enum: ["user", "system"],
|
|
15990
|
+
type: "string"
|
|
15991
|
+
}
|
|
15992
|
+
},
|
|
15993
|
+
required: ["climate_ref", "is_optimized", "owner"],
|
|
15994
|
+
type: "object"
|
|
15995
|
+
},
|
|
15916
15996
|
fan_mode_setting: {
|
|
15917
15997
|
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
15998
|
enum: ["auto", "on", "circulate"],
|
|
@@ -48394,6 +48474,26 @@ var openapi_default = {
|
|
|
48394
48474
|
format: "uuid",
|
|
48395
48475
|
type: "string"
|
|
48396
48476
|
},
|
|
48477
|
+
ecobee_metadata: {
|
|
48478
|
+
description: "\n Metadata specific to the Ecobee climate, if applicable.\n ",
|
|
48479
|
+
properties: {
|
|
48480
|
+
climate_ref: {
|
|
48481
|
+
description: "Reference to the Ecobee climate, if applicable.",
|
|
48482
|
+
type: "string"
|
|
48483
|
+
},
|
|
48484
|
+
is_optimized: {
|
|
48485
|
+
description: "Indicates if the climate preset is optimized by Ecobee.",
|
|
48486
|
+
type: "boolean"
|
|
48487
|
+
},
|
|
48488
|
+
owner: {
|
|
48489
|
+
description: "Indicates whether the climate preset is owned by the user or the system.",
|
|
48490
|
+
enum: ["user", "system"],
|
|
48491
|
+
type: "string"
|
|
48492
|
+
}
|
|
48493
|
+
},
|
|
48494
|
+
required: ["climate_ref", "is_optimized", "owner"],
|
|
48495
|
+
type: "object"
|
|
48496
|
+
},
|
|
48397
48497
|
fan_mode_setting: {
|
|
48398
48498
|
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
48499
|
enum: ["auto", "on", "circulate"],
|
|
@@ -50962,6 +51062,26 @@ var openapi_default = {
|
|
|
50962
51062
|
format: "uuid",
|
|
50963
51063
|
type: "string"
|
|
50964
51064
|
},
|
|
51065
|
+
ecobee_metadata: {
|
|
51066
|
+
description: "\n Metadata specific to the Ecobee climate, if applicable.\n ",
|
|
51067
|
+
properties: {
|
|
51068
|
+
climate_ref: {
|
|
51069
|
+
description: "Reference to the Ecobee climate, if applicable.",
|
|
51070
|
+
type: "string"
|
|
51071
|
+
},
|
|
51072
|
+
is_optimized: {
|
|
51073
|
+
description: "Indicates if the climate preset is optimized by Ecobee.",
|
|
51074
|
+
type: "boolean"
|
|
51075
|
+
},
|
|
51076
|
+
owner: {
|
|
51077
|
+
description: "Indicates whether the climate preset is owned by the user or the system.",
|
|
51078
|
+
enum: ["user", "system"],
|
|
51079
|
+
type: "string"
|
|
51080
|
+
}
|
|
51081
|
+
},
|
|
51082
|
+
required: ["climate_ref", "is_optimized", "owner"],
|
|
51083
|
+
type: "object"
|
|
51084
|
+
},
|
|
50965
51085
|
fan_mode_setting: {
|
|
50966
51086
|
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
51087
|
enum: ["auto", "on", "circulate"],
|
|
@@ -51069,6 +51189,26 @@ var openapi_default = {
|
|
|
51069
51189
|
format: "uuid",
|
|
51070
51190
|
type: "string"
|
|
51071
51191
|
},
|
|
51192
|
+
ecobee_metadata: {
|
|
51193
|
+
description: "\n Metadata specific to the Ecobee climate, if applicable.\n ",
|
|
51194
|
+
properties: {
|
|
51195
|
+
climate_ref: {
|
|
51196
|
+
description: "Reference to the Ecobee climate, if applicable.",
|
|
51197
|
+
type: "string"
|
|
51198
|
+
},
|
|
51199
|
+
is_optimized: {
|
|
51200
|
+
description: "Indicates if the climate preset is optimized by Ecobee.",
|
|
51201
|
+
type: "boolean"
|
|
51202
|
+
},
|
|
51203
|
+
owner: {
|
|
51204
|
+
description: "Indicates whether the climate preset is owned by the user or the system.",
|
|
51205
|
+
enum: ["user", "system"],
|
|
51206
|
+
type: "string"
|
|
51207
|
+
}
|
|
51208
|
+
},
|
|
51209
|
+
required: ["climate_ref", "is_optimized", "owner"],
|
|
51210
|
+
type: "object"
|
|
51211
|
+
},
|
|
51072
51212
|
fan_mode_setting: {
|
|
51073
51213
|
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
51214
|
enum: ["auto", "on", "circulate"],
|