@seamapi/types 1.292.0 → 1.292.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 +61 -57
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +168 -150
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +16 -11
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +2 -0
- package/lib/seam/connect/openapi.js +50 -48
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +166 -150
- package/package.json +1 -1
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +51 -44
- package/src/lib/seam/connect/openapi.ts +53 -48
- package/src/lib/seam/connect/route-types.ts +166 -150
package/dist/connect.cjs
CHANGED
|
@@ -167,26 +167,28 @@ var climate_preset = zod.z.object({
|
|
|
167
167
|
});
|
|
168
168
|
var climate_setting = climate_preset.partial();
|
|
169
169
|
var thermostat_schedule = zod.z.object({
|
|
170
|
-
thermostat_schedule_id: zod.z.string().uuid().describe("ID of the
|
|
170
|
+
thermostat_schedule_id: zod.z.string().uuid().describe("ID of the thermostat schedule."),
|
|
171
171
|
device_id: zod.z.string().uuid().describe("ID of the desired thermostat device."),
|
|
172
|
-
name: zod.z.string().optional().describe("User-friendly name to identify the
|
|
172
|
+
name: zod.z.string().optional().describe("User-friendly name to identify the thermostat schedule."),
|
|
173
173
|
climate_preset_key: zod.z.string().describe(
|
|
174
|
-
"Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
174
|
+
"Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule."
|
|
175
175
|
),
|
|
176
176
|
max_override_period_minutes: zod.z.number().int().nonnegative().describe(
|
|
177
|
-
"Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-
|
|
177
|
+
"Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions)."
|
|
178
178
|
),
|
|
179
179
|
starts_at: zod.z.string().datetime().describe(
|
|
180
|
-
"Date and time at which the
|
|
180
|
+
"Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
|
|
181
181
|
),
|
|
182
182
|
ends_at: zod.z.string().datetime().describe(
|
|
183
|
-
"Date and time at which the
|
|
183
|
+
"Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
|
|
184
184
|
),
|
|
185
|
-
created_at: zod.z.string().datetime().describe("Date and time at which the
|
|
185
|
+
created_at: zod.z.string().datetime().describe("Date and time at which the thermostat schedule was created."),
|
|
186
186
|
errors: zod.z.any().describe(
|
|
187
|
-
"Array of errors associated with the
|
|
187
|
+
"Array of errors associated with the thermostat schedule. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it."
|
|
188
188
|
)
|
|
189
|
-
})
|
|
189
|
+
}).describe(
|
|
190
|
+
"Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time."
|
|
191
|
+
);
|
|
190
192
|
|
|
191
193
|
// src/lib/seam/connect/models/devices/capability-properties/thermostat.ts
|
|
192
194
|
var thermostat_capability_properties = zod.z.object({
|
|
@@ -7173,14 +7175,15 @@ var openapi_default = {
|
|
|
7173
7175
|
properties: {
|
|
7174
7176
|
active_thermostat_schedule: {
|
|
7175
7177
|
default: null,
|
|
7178
|
+
description: "Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.",
|
|
7176
7179
|
nullable: true,
|
|
7177
7180
|
properties: {
|
|
7178
7181
|
climate_preset_key: {
|
|
7179
|
-
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
7182
|
+
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.",
|
|
7180
7183
|
type: "string"
|
|
7181
7184
|
},
|
|
7182
7185
|
created_at: {
|
|
7183
|
-
description: "Date and time at which the
|
|
7186
|
+
description: "Date and time at which the thermostat schedule was created.",
|
|
7184
7187
|
format: "date-time",
|
|
7185
7188
|
type: "string"
|
|
7186
7189
|
},
|
|
@@ -7190,29 +7193,29 @@ var openapi_default = {
|
|
|
7190
7193
|
type: "string"
|
|
7191
7194
|
},
|
|
7192
7195
|
ends_at: {
|
|
7193
|
-
description: "Date and time at which the
|
|
7196
|
+
description: "Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
7194
7197
|
format: "date-time",
|
|
7195
7198
|
type: "string"
|
|
7196
7199
|
},
|
|
7197
7200
|
errors: {
|
|
7198
|
-
description: "Array of errors associated with the
|
|
7201
|
+
description: "Array of errors associated with the thermostat schedule. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it."
|
|
7199
7202
|
},
|
|
7200
7203
|
max_override_period_minutes: {
|
|
7201
|
-
description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-
|
|
7204
|
+
description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
7202
7205
|
minimum: 0,
|
|
7203
7206
|
type: "integer"
|
|
7204
7207
|
},
|
|
7205
7208
|
name: {
|
|
7206
|
-
description: "User-friendly name to identify the
|
|
7209
|
+
description: "User-friendly name to identify the thermostat schedule.",
|
|
7207
7210
|
type: "string"
|
|
7208
7211
|
},
|
|
7209
7212
|
starts_at: {
|
|
7210
|
-
description: "Date and time at which the
|
|
7213
|
+
description: "Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
7211
7214
|
format: "date-time",
|
|
7212
7215
|
type: "string"
|
|
7213
7216
|
},
|
|
7214
7217
|
thermostat_schedule_id: {
|
|
7215
|
-
description: "ID of the
|
|
7218
|
+
description: "ID of the thermostat schedule.",
|
|
7216
7219
|
format: "uuid",
|
|
7217
7220
|
type: "string"
|
|
7218
7221
|
}
|
|
@@ -7922,13 +7925,14 @@ var openapi_default = {
|
|
|
7922
7925
|
type: "object"
|
|
7923
7926
|
},
|
|
7924
7927
|
thermostat_schedule: {
|
|
7928
|
+
description: "Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.",
|
|
7925
7929
|
properties: {
|
|
7926
7930
|
climate_preset_key: {
|
|
7927
|
-
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
7931
|
+
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.",
|
|
7928
7932
|
type: "string"
|
|
7929
7933
|
},
|
|
7930
7934
|
created_at: {
|
|
7931
|
-
description: "Date and time at which the
|
|
7935
|
+
description: "Date and time at which the thermostat schedule was created.",
|
|
7932
7936
|
format: "date-time",
|
|
7933
7937
|
type: "string"
|
|
7934
7938
|
},
|
|
@@ -7938,29 +7942,29 @@ var openapi_default = {
|
|
|
7938
7942
|
type: "string"
|
|
7939
7943
|
},
|
|
7940
7944
|
ends_at: {
|
|
7941
|
-
description: "Date and time at which the
|
|
7945
|
+
description: "Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
7942
7946
|
format: "date-time",
|
|
7943
7947
|
type: "string"
|
|
7944
7948
|
},
|
|
7945
7949
|
errors: {
|
|
7946
|
-
description: "Array of errors associated with the
|
|
7950
|
+
description: "Array of errors associated with the thermostat schedule. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it."
|
|
7947
7951
|
},
|
|
7948
7952
|
max_override_period_minutes: {
|
|
7949
|
-
description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-
|
|
7953
|
+
description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
7950
7954
|
minimum: 0,
|
|
7951
7955
|
type: "integer"
|
|
7952
7956
|
},
|
|
7953
7957
|
name: {
|
|
7954
|
-
description: "User-friendly name to identify the
|
|
7958
|
+
description: "User-friendly name to identify the thermostat schedule.",
|
|
7955
7959
|
type: "string"
|
|
7956
7960
|
},
|
|
7957
7961
|
starts_at: {
|
|
7958
|
-
description: "Date and time at which the
|
|
7962
|
+
description: "Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
7959
7963
|
format: "date-time",
|
|
7960
7964
|
type: "string"
|
|
7961
7965
|
},
|
|
7962
7966
|
thermostat_schedule_id: {
|
|
7963
|
-
description: "ID of the
|
|
7967
|
+
description: "ID of the thermostat schedule.",
|
|
7964
7968
|
format: "uuid",
|
|
7965
7969
|
type: "string"
|
|
7966
7970
|
}
|
|
@@ -18706,7 +18710,7 @@ var openapi_default = {
|
|
|
18706
18710
|
},
|
|
18707
18711
|
"/thermostats/schedules/create": {
|
|
18708
18712
|
post: {
|
|
18709
|
-
description: "Creates a [
|
|
18713
|
+
description: "Creates a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) for a specified [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).",
|
|
18710
18714
|
operationId: "thermostatsSchedulesCreatePost",
|
|
18711
18715
|
requestBody: {
|
|
18712
18716
|
content: {
|
|
@@ -18714,7 +18718,7 @@ var openapi_default = {
|
|
|
18714
18718
|
schema: {
|
|
18715
18719
|
properties: {
|
|
18716
18720
|
climate_preset_key: {
|
|
18717
|
-
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
18721
|
+
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.",
|
|
18718
18722
|
type: "string"
|
|
18719
18723
|
},
|
|
18720
18724
|
device_id: {
|
|
@@ -18722,21 +18726,21 @@ var openapi_default = {
|
|
|
18722
18726
|
type: "string"
|
|
18723
18727
|
},
|
|
18724
18728
|
ends_at: {
|
|
18725
|
-
description: "Date and time at which the
|
|
18729
|
+
description: "Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
18726
18730
|
type: "string"
|
|
18727
18731
|
},
|
|
18728
18732
|
max_override_period_minutes: {
|
|
18729
18733
|
default: 0,
|
|
18730
|
-
description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-
|
|
18734
|
+
description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
18731
18735
|
minimum: 0,
|
|
18732
18736
|
type: "integer"
|
|
18733
18737
|
},
|
|
18734
18738
|
name: {
|
|
18735
|
-
description: "User-friendly name to identify the
|
|
18739
|
+
description: "User-friendly name to identify the thermostat schedule.",
|
|
18736
18740
|
type: "string"
|
|
18737
18741
|
},
|
|
18738
18742
|
starts_at: {
|
|
18739
|
-
description: "Date and time at which the
|
|
18743
|
+
description: "Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
18740
18744
|
type: "string"
|
|
18741
18745
|
}
|
|
18742
18746
|
},
|
|
@@ -18784,12 +18788,12 @@ var openapi_default = {
|
|
|
18784
18788
|
"x-fern-sdk-method-name": "create",
|
|
18785
18789
|
"x-fern-sdk-return-value": "thermostat_schedule",
|
|
18786
18790
|
"x-response-key": "thermostat_schedule",
|
|
18787
|
-
"x-title": "Create a
|
|
18791
|
+
"x-title": "Create a Thermostat Schedule"
|
|
18788
18792
|
}
|
|
18789
18793
|
},
|
|
18790
18794
|
"/thermostats/schedules/delete": {
|
|
18791
18795
|
post: {
|
|
18792
|
-
description: "Deletes a [
|
|
18796
|
+
description: "Deletes a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) for a specified [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).",
|
|
18793
18797
|
operationId: "thermostatsSchedulesDeletePost",
|
|
18794
18798
|
requestBody: {
|
|
18795
18799
|
content: {
|
|
@@ -18797,7 +18801,7 @@ var openapi_default = {
|
|
|
18797
18801
|
schema: {
|
|
18798
18802
|
properties: {
|
|
18799
18803
|
thermostat_schedule_id: {
|
|
18800
|
-
description: "ID of the desired
|
|
18804
|
+
description: "ID of the desired thermostat schedule.",
|
|
18801
18805
|
format: "uuid",
|
|
18802
18806
|
type: "string"
|
|
18803
18807
|
}
|
|
@@ -18835,12 +18839,12 @@ var openapi_default = {
|
|
|
18835
18839
|
"x-fern-sdk-group-name": ["thermostats", "schedules"],
|
|
18836
18840
|
"x-fern-sdk-method-name": "delete",
|
|
18837
18841
|
"x-response-key": null,
|
|
18838
|
-
"x-title": "Delete a
|
|
18842
|
+
"x-title": "Delete a Thermostat Schedule"
|
|
18839
18843
|
}
|
|
18840
18844
|
},
|
|
18841
18845
|
"/thermostats/schedules/get": {
|
|
18842
18846
|
post: {
|
|
18843
|
-
description: "Returns a specified [
|
|
18847
|
+
description: "Returns a specified [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).",
|
|
18844
18848
|
operationId: "thermostatsSchedulesGetPost",
|
|
18845
18849
|
requestBody: {
|
|
18846
18850
|
content: {
|
|
@@ -18848,7 +18852,7 @@ var openapi_default = {
|
|
|
18848
18852
|
schema: {
|
|
18849
18853
|
properties: {
|
|
18850
18854
|
thermostat_schedule_id: {
|
|
18851
|
-
description: "ID of the desired
|
|
18855
|
+
description: "ID of the desired thermostat schedule.",
|
|
18852
18856
|
format: "uuid",
|
|
18853
18857
|
type: "string"
|
|
18854
18858
|
}
|
|
@@ -18892,12 +18896,12 @@ var openapi_default = {
|
|
|
18892
18896
|
"x-fern-sdk-method-name": "get",
|
|
18893
18897
|
"x-fern-sdk-return-value": "thermostat_schedule",
|
|
18894
18898
|
"x-response-key": "thermostat_schedule",
|
|
18895
|
-
"x-title": "Get a
|
|
18899
|
+
"x-title": "Get a Thermostat Schedule"
|
|
18896
18900
|
}
|
|
18897
18901
|
},
|
|
18898
18902
|
"/thermostats/schedules/list": {
|
|
18899
18903
|
post: {
|
|
18900
|
-
description: "Returns a list of all [
|
|
18904
|
+
description: "Returns a list of all [thermostat schedules](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) for a specified [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).",
|
|
18901
18905
|
operationId: "thermostatsSchedulesListPost",
|
|
18902
18906
|
requestBody: {
|
|
18903
18907
|
content: {
|
|
@@ -18910,7 +18914,7 @@ var openapi_default = {
|
|
|
18910
18914
|
type: "string"
|
|
18911
18915
|
},
|
|
18912
18916
|
user_identifier_key: {
|
|
18913
|
-
description: "User identifier key by which to filter the list of returned
|
|
18917
|
+
description: "User identifier key by which to filter the list of returned thermostat schedules.",
|
|
18914
18918
|
type: "string"
|
|
18915
18919
|
}
|
|
18916
18920
|
},
|
|
@@ -18956,12 +18960,12 @@ var openapi_default = {
|
|
|
18956
18960
|
"x-fern-sdk-method-name": "list",
|
|
18957
18961
|
"x-fern-sdk-return-value": "thermostat_schedules",
|
|
18958
18962
|
"x-response-key": "thermostat_schedules",
|
|
18959
|
-
"x-title": "List
|
|
18963
|
+
"x-title": "List Thermostat Schedules"
|
|
18960
18964
|
}
|
|
18961
18965
|
},
|
|
18962
18966
|
"/thermostats/schedules/update": {
|
|
18963
18967
|
patch: {
|
|
18964
|
-
description: "Updates a specified [
|
|
18968
|
+
description: "Updates a specified [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).",
|
|
18965
18969
|
operationId: "thermostatsSchedulesUpdatePatch",
|
|
18966
18970
|
requestBody: {
|
|
18967
18971
|
content: {
|
|
@@ -18969,28 +18973,28 @@ var openapi_default = {
|
|
|
18969
18973
|
schema: {
|
|
18970
18974
|
properties: {
|
|
18971
18975
|
climate_preset_key: {
|
|
18972
|
-
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
18976
|
+
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.",
|
|
18973
18977
|
type: "string"
|
|
18974
18978
|
},
|
|
18975
18979
|
ends_at: {
|
|
18976
|
-
description: "Date and time at which the
|
|
18980
|
+
description: "Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
18977
18981
|
type: "string"
|
|
18978
18982
|
},
|
|
18979
18983
|
max_override_period_minutes: {
|
|
18980
|
-
description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-
|
|
18984
|
+
description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
18981
18985
|
minimum: 0,
|
|
18982
18986
|
type: "integer"
|
|
18983
18987
|
},
|
|
18984
18988
|
name: {
|
|
18985
|
-
description: "User-friendly name to identify the
|
|
18989
|
+
description: "User-friendly name to identify the thermostat schedule.",
|
|
18986
18990
|
type: "string"
|
|
18987
18991
|
},
|
|
18988
18992
|
starts_at: {
|
|
18989
|
-
description: "Date and time at which the
|
|
18993
|
+
description: "Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
18990
18994
|
type: "string"
|
|
18991
18995
|
},
|
|
18992
18996
|
thermostat_schedule_id: {
|
|
18993
|
-
description: "ID of the desired
|
|
18997
|
+
description: "ID of the desired thermostat schedule.",
|
|
18994
18998
|
format: "uuid",
|
|
18995
18999
|
type: "string"
|
|
18996
19000
|
}
|
|
@@ -19027,10 +19031,10 @@ var openapi_default = {
|
|
|
19027
19031
|
tags: ["/thermostats"],
|
|
19028
19032
|
"x-fern-ignore": true,
|
|
19029
19033
|
"x-response-key": null,
|
|
19030
|
-
"x-title": "Update a
|
|
19034
|
+
"x-title": "Update a Thermostat Schedule"
|
|
19031
19035
|
},
|
|
19032
19036
|
post: {
|
|
19033
|
-
description: "Updates a specified [
|
|
19037
|
+
description: "Updates a specified [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).",
|
|
19034
19038
|
operationId: "thermostatsSchedulesUpdatePost",
|
|
19035
19039
|
requestBody: {
|
|
19036
19040
|
content: {
|
|
@@ -19038,28 +19042,28 @@ var openapi_default = {
|
|
|
19038
19042
|
schema: {
|
|
19039
19043
|
properties: {
|
|
19040
19044
|
climate_preset_key: {
|
|
19041
|
-
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
19045
|
+
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.",
|
|
19042
19046
|
type: "string"
|
|
19043
19047
|
},
|
|
19044
19048
|
ends_at: {
|
|
19045
|
-
description: "Date and time at which the
|
|
19049
|
+
description: "Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
19046
19050
|
type: "string"
|
|
19047
19051
|
},
|
|
19048
19052
|
max_override_period_minutes: {
|
|
19049
|
-
description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-
|
|
19053
|
+
description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
19050
19054
|
minimum: 0,
|
|
19051
19055
|
type: "integer"
|
|
19052
19056
|
},
|
|
19053
19057
|
name: {
|
|
19054
|
-
description: "User-friendly name to identify the
|
|
19058
|
+
description: "User-friendly name to identify the thermostat schedule.",
|
|
19055
19059
|
type: "string"
|
|
19056
19060
|
},
|
|
19057
19061
|
starts_at: {
|
|
19058
|
-
description: "Date and time at which the
|
|
19062
|
+
description: "Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
19059
19063
|
type: "string"
|
|
19060
19064
|
},
|
|
19061
19065
|
thermostat_schedule_id: {
|
|
19062
|
-
description: "ID of the desired
|
|
19066
|
+
description: "ID of the desired thermostat schedule.",
|
|
19063
19067
|
format: "uuid",
|
|
19064
19068
|
type: "string"
|
|
19065
19069
|
}
|
|
@@ -19097,7 +19101,7 @@ var openapi_default = {
|
|
|
19097
19101
|
"x-fern-sdk-group-name": ["thermostats", "schedules"],
|
|
19098
19102
|
"x-fern-sdk-method-name": "update",
|
|
19099
19103
|
"x-response-key": null,
|
|
19100
|
-
"x-title": "Update a
|
|
19104
|
+
"x-title": "Update a Thermostat Schedule"
|
|
19101
19105
|
}
|
|
19102
19106
|
},
|
|
19103
19107
|
"/thermostats/set_fallback_climate_preset": {
|