@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
|
@@ -1,36 +1,41 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export const thermostat_schedule = z
|
|
2
|
+
export const thermostat_schedule = z
|
|
3
|
+
.object({
|
|
3
4
|
thermostat_schedule_id: z
|
|
4
5
|
.string()
|
|
5
6
|
.uuid()
|
|
6
|
-
.describe('ID of the
|
|
7
|
-
device_id: z
|
|
7
|
+
.describe('ID of the thermostat schedule.'),
|
|
8
|
+
device_id: z
|
|
9
|
+
.string()
|
|
10
|
+
.uuid()
|
|
11
|
+
.describe('ID of the desired thermostat device.'),
|
|
8
12
|
name: z
|
|
9
13
|
.string()
|
|
10
14
|
.optional()
|
|
11
|
-
.describe('User-friendly name to identify the
|
|
15
|
+
.describe('User-friendly name to identify the thermostat schedule.'),
|
|
12
16
|
climate_preset_key: z
|
|
13
17
|
.string()
|
|
14
|
-
.describe('Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
18
|
+
.describe('Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.'),
|
|
15
19
|
max_override_period_minutes: z
|
|
16
20
|
.number()
|
|
17
21
|
.int()
|
|
18
22
|
.nonnegative()
|
|
19
|
-
.describe("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-
|
|
23
|
+
.describe("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)."),
|
|
20
24
|
starts_at: z
|
|
21
25
|
.string()
|
|
22
26
|
.datetime()
|
|
23
|
-
.describe('Date and time at which the
|
|
27
|
+
.describe('Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.'),
|
|
24
28
|
ends_at: z
|
|
25
29
|
.string()
|
|
26
30
|
.datetime()
|
|
27
|
-
.describe('Date and time at which the
|
|
31
|
+
.describe('Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.'),
|
|
28
32
|
created_at: z
|
|
29
33
|
.string()
|
|
30
34
|
.datetime()
|
|
31
|
-
.describe('Date and time at which the
|
|
35
|
+
.describe('Date and time at which the thermostat schedule was created.'),
|
|
32
36
|
errors: z
|
|
33
37
|
.any()
|
|
34
|
-
.describe('Array of errors associated with the
|
|
35
|
-
})
|
|
38
|
+
.describe('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.'),
|
|
39
|
+
})
|
|
40
|
+
.describe('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.');
|
|
36
41
|
//# sourceMappingURL=thermostat-schedule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thermostat-schedule.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/thermostat-schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"thermostat-schedule.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/thermostat-schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC;KACjC,MAAM,CAAC;IACN,sBAAsB,EAAE,CAAC;SACtB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,gCAAgC,CAAC;IAC7C,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,sCAAsC,CAAC;IACnD,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACtE,kBAAkB,EAAE,CAAC;SAClB,MAAM,EAAE;SACR,QAAQ,CACP,kKAAkK,CACnK;IACH,2BAA2B,EAAE,CAAC;SAC3B,MAAM,EAAE;SACR,GAAG,EAAE;SACL,WAAW,EAAE;SACb,QAAQ,CACP,mVAAmV,CACpV;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,sIAAsI,CACvI;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,oIAAoI,CACrI;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,MAAM,EAAE,CAAC;SACN,GAAG,EAAE;SACL,QAAQ,CACP,gZAAgZ,CACjZ;CACJ,CAAC;KACD,QAAQ,CACP,icAAic,CAClc,CAAA"}
|
|
@@ -3259,6 +3259,7 @@ declare const _default: {
|
|
|
3259
3259
|
properties: {
|
|
3260
3260
|
active_thermostat_schedule: {
|
|
3261
3261
|
default: null;
|
|
3262
|
+
description: string;
|
|
3262
3263
|
nullable: boolean;
|
|
3263
3264
|
properties: {
|
|
3264
3265
|
climate_preset_key: {
|
|
@@ -4082,6 +4083,7 @@ declare const _default: {
|
|
|
4082
4083
|
type: string;
|
|
4083
4084
|
};
|
|
4084
4085
|
thermostat_schedule: {
|
|
4086
|
+
description: string;
|
|
4085
4087
|
properties: {
|
|
4086
4088
|
climate_preset_key: {
|
|
4087
4089
|
description: string;
|
|
@@ -4413,14 +4413,15 @@ export default {
|
|
|
4413
4413
|
properties: {
|
|
4414
4414
|
active_thermostat_schedule: {
|
|
4415
4415
|
default: null,
|
|
4416
|
+
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.',
|
|
4416
4417
|
nullable: true,
|
|
4417
4418
|
properties: {
|
|
4418
4419
|
climate_preset_key: {
|
|
4419
|
-
description: 'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
4420
|
+
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.',
|
|
4420
4421
|
type: 'string',
|
|
4421
4422
|
},
|
|
4422
4423
|
created_at: {
|
|
4423
|
-
description: 'Date and time at which the
|
|
4424
|
+
description: 'Date and time at which the thermostat schedule was created.',
|
|
4424
4425
|
format: 'date-time',
|
|
4425
4426
|
type: 'string',
|
|
4426
4427
|
},
|
|
@@ -4430,29 +4431,29 @@ export default {
|
|
|
4430
4431
|
type: 'string',
|
|
4431
4432
|
},
|
|
4432
4433
|
ends_at: {
|
|
4433
|
-
description: 'Date and time at which the
|
|
4434
|
+
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.',
|
|
4434
4435
|
format: 'date-time',
|
|
4435
4436
|
type: 'string',
|
|
4436
4437
|
},
|
|
4437
4438
|
errors: {
|
|
4438
|
-
description: 'Array of errors associated with the
|
|
4439
|
+
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.',
|
|
4439
4440
|
},
|
|
4440
4441
|
max_override_period_minutes: {
|
|
4441
|
-
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-
|
|
4442
|
+
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).",
|
|
4442
4443
|
minimum: 0,
|
|
4443
4444
|
type: 'integer',
|
|
4444
4445
|
},
|
|
4445
4446
|
name: {
|
|
4446
|
-
description: 'User-friendly name to identify the
|
|
4447
|
+
description: 'User-friendly name to identify the thermostat schedule.',
|
|
4447
4448
|
type: 'string',
|
|
4448
4449
|
},
|
|
4449
4450
|
starts_at: {
|
|
4450
|
-
description: 'Date and time at which the
|
|
4451
|
+
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.',
|
|
4451
4452
|
format: 'date-time',
|
|
4452
4453
|
type: 'string',
|
|
4453
4454
|
},
|
|
4454
4455
|
thermostat_schedule_id: {
|
|
4455
|
-
description: 'ID of the
|
|
4456
|
+
description: 'ID of the thermostat schedule.',
|
|
4456
4457
|
format: 'uuid',
|
|
4457
4458
|
type: 'string',
|
|
4458
4459
|
},
|
|
@@ -5162,13 +5163,14 @@ export default {
|
|
|
5162
5163
|
type: 'object',
|
|
5163
5164
|
},
|
|
5164
5165
|
thermostat_schedule: {
|
|
5166
|
+
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.',
|
|
5165
5167
|
properties: {
|
|
5166
5168
|
climate_preset_key: {
|
|
5167
|
-
description: 'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
5169
|
+
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.',
|
|
5168
5170
|
type: 'string',
|
|
5169
5171
|
},
|
|
5170
5172
|
created_at: {
|
|
5171
|
-
description: 'Date and time at which the
|
|
5173
|
+
description: 'Date and time at which the thermostat schedule was created.',
|
|
5172
5174
|
format: 'date-time',
|
|
5173
5175
|
type: 'string',
|
|
5174
5176
|
},
|
|
@@ -5178,29 +5180,29 @@ export default {
|
|
|
5178
5180
|
type: 'string',
|
|
5179
5181
|
},
|
|
5180
5182
|
ends_at: {
|
|
5181
|
-
description: 'Date and time at which the
|
|
5183
|
+
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.',
|
|
5182
5184
|
format: 'date-time',
|
|
5183
5185
|
type: 'string',
|
|
5184
5186
|
},
|
|
5185
5187
|
errors: {
|
|
5186
|
-
description: 'Array of errors associated with the
|
|
5188
|
+
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.',
|
|
5187
5189
|
},
|
|
5188
5190
|
max_override_period_minutes: {
|
|
5189
|
-
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-
|
|
5191
|
+
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).",
|
|
5190
5192
|
minimum: 0,
|
|
5191
5193
|
type: 'integer',
|
|
5192
5194
|
},
|
|
5193
5195
|
name: {
|
|
5194
|
-
description: 'User-friendly name to identify the
|
|
5196
|
+
description: 'User-friendly name to identify the thermostat schedule.',
|
|
5195
5197
|
type: 'string',
|
|
5196
5198
|
},
|
|
5197
5199
|
starts_at: {
|
|
5198
|
-
description: 'Date and time at which the
|
|
5200
|
+
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.',
|
|
5199
5201
|
format: 'date-time',
|
|
5200
5202
|
type: 'string',
|
|
5201
5203
|
},
|
|
5202
5204
|
thermostat_schedule_id: {
|
|
5203
|
-
description: 'ID of the
|
|
5205
|
+
description: 'ID of the thermostat schedule.',
|
|
5204
5206
|
format: 'uuid',
|
|
5205
5207
|
type: 'string',
|
|
5206
5208
|
},
|
|
@@ -15946,7 +15948,7 @@ export default {
|
|
|
15946
15948
|
},
|
|
15947
15949
|
'/thermostats/schedules/create': {
|
|
15948
15950
|
post: {
|
|
15949
|
-
description: 'Creates a [
|
|
15951
|
+
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).',
|
|
15950
15952
|
operationId: 'thermostatsSchedulesCreatePost',
|
|
15951
15953
|
requestBody: {
|
|
15952
15954
|
content: {
|
|
@@ -15954,7 +15956,7 @@ export default {
|
|
|
15954
15956
|
schema: {
|
|
15955
15957
|
properties: {
|
|
15956
15958
|
climate_preset_key: {
|
|
15957
|
-
description: 'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
15959
|
+
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.',
|
|
15958
15960
|
type: 'string',
|
|
15959
15961
|
},
|
|
15960
15962
|
device_id: {
|
|
@@ -15962,21 +15964,21 @@ export default {
|
|
|
15962
15964
|
type: 'string',
|
|
15963
15965
|
},
|
|
15964
15966
|
ends_at: {
|
|
15965
|
-
description: 'Date and time at which the
|
|
15967
|
+
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.',
|
|
15966
15968
|
type: 'string',
|
|
15967
15969
|
},
|
|
15968
15970
|
max_override_period_minutes: {
|
|
15969
15971
|
default: 0,
|
|
15970
|
-
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-
|
|
15972
|
+
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).",
|
|
15971
15973
|
minimum: 0,
|
|
15972
15974
|
type: 'integer',
|
|
15973
15975
|
},
|
|
15974
15976
|
name: {
|
|
15975
|
-
description: 'User-friendly name to identify the
|
|
15977
|
+
description: 'User-friendly name to identify the thermostat schedule.',
|
|
15976
15978
|
type: 'string',
|
|
15977
15979
|
},
|
|
15978
15980
|
starts_at: {
|
|
15979
|
-
description: 'Date and time at which the
|
|
15981
|
+
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.',
|
|
15980
15982
|
type: 'string',
|
|
15981
15983
|
},
|
|
15982
15984
|
},
|
|
@@ -16024,12 +16026,12 @@ export default {
|
|
|
16024
16026
|
'x-fern-sdk-method-name': 'create',
|
|
16025
16027
|
'x-fern-sdk-return-value': 'thermostat_schedule',
|
|
16026
16028
|
'x-response-key': 'thermostat_schedule',
|
|
16027
|
-
'x-title': 'Create a
|
|
16029
|
+
'x-title': 'Create a Thermostat Schedule',
|
|
16028
16030
|
},
|
|
16029
16031
|
},
|
|
16030
16032
|
'/thermostats/schedules/delete': {
|
|
16031
16033
|
post: {
|
|
16032
|
-
description: 'Deletes a [
|
|
16034
|
+
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).',
|
|
16033
16035
|
operationId: 'thermostatsSchedulesDeletePost',
|
|
16034
16036
|
requestBody: {
|
|
16035
16037
|
content: {
|
|
@@ -16037,7 +16039,7 @@ export default {
|
|
|
16037
16039
|
schema: {
|
|
16038
16040
|
properties: {
|
|
16039
16041
|
thermostat_schedule_id: {
|
|
16040
|
-
description: 'ID of the desired
|
|
16042
|
+
description: 'ID of the desired thermostat schedule.',
|
|
16041
16043
|
format: 'uuid',
|
|
16042
16044
|
type: 'string',
|
|
16043
16045
|
},
|
|
@@ -16075,12 +16077,12 @@ export default {
|
|
|
16075
16077
|
'x-fern-sdk-group-name': ['thermostats', 'schedules'],
|
|
16076
16078
|
'x-fern-sdk-method-name': 'delete',
|
|
16077
16079
|
'x-response-key': null,
|
|
16078
|
-
'x-title': 'Delete a
|
|
16080
|
+
'x-title': 'Delete a Thermostat Schedule',
|
|
16079
16081
|
},
|
|
16080
16082
|
},
|
|
16081
16083
|
'/thermostats/schedules/get': {
|
|
16082
16084
|
post: {
|
|
16083
|
-
description: 'Returns a specified [
|
|
16085
|
+
description: 'Returns a specified [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
|
|
16084
16086
|
operationId: 'thermostatsSchedulesGetPost',
|
|
16085
16087
|
requestBody: {
|
|
16086
16088
|
content: {
|
|
@@ -16088,7 +16090,7 @@ export default {
|
|
|
16088
16090
|
schema: {
|
|
16089
16091
|
properties: {
|
|
16090
16092
|
thermostat_schedule_id: {
|
|
16091
|
-
description: 'ID of the desired
|
|
16093
|
+
description: 'ID of the desired thermostat schedule.',
|
|
16092
16094
|
format: 'uuid',
|
|
16093
16095
|
type: 'string',
|
|
16094
16096
|
},
|
|
@@ -16132,12 +16134,12 @@ export default {
|
|
|
16132
16134
|
'x-fern-sdk-method-name': 'get',
|
|
16133
16135
|
'x-fern-sdk-return-value': 'thermostat_schedule',
|
|
16134
16136
|
'x-response-key': 'thermostat_schedule',
|
|
16135
|
-
'x-title': 'Get a
|
|
16137
|
+
'x-title': 'Get a Thermostat Schedule',
|
|
16136
16138
|
},
|
|
16137
16139
|
},
|
|
16138
16140
|
'/thermostats/schedules/list': {
|
|
16139
16141
|
post: {
|
|
16140
|
-
description: 'Returns a list of all [
|
|
16142
|
+
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).',
|
|
16141
16143
|
operationId: 'thermostatsSchedulesListPost',
|
|
16142
16144
|
requestBody: {
|
|
16143
16145
|
content: {
|
|
@@ -16150,7 +16152,7 @@ export default {
|
|
|
16150
16152
|
type: 'string',
|
|
16151
16153
|
},
|
|
16152
16154
|
user_identifier_key: {
|
|
16153
|
-
description: 'User identifier key by which to filter the list of returned
|
|
16155
|
+
description: 'User identifier key by which to filter the list of returned thermostat schedules.',
|
|
16154
16156
|
type: 'string',
|
|
16155
16157
|
},
|
|
16156
16158
|
},
|
|
@@ -16196,12 +16198,12 @@ export default {
|
|
|
16196
16198
|
'x-fern-sdk-method-name': 'list',
|
|
16197
16199
|
'x-fern-sdk-return-value': 'thermostat_schedules',
|
|
16198
16200
|
'x-response-key': 'thermostat_schedules',
|
|
16199
|
-
'x-title': 'List
|
|
16201
|
+
'x-title': 'List Thermostat Schedules',
|
|
16200
16202
|
},
|
|
16201
16203
|
},
|
|
16202
16204
|
'/thermostats/schedules/update': {
|
|
16203
16205
|
patch: {
|
|
16204
|
-
description: 'Updates a specified [
|
|
16206
|
+
description: 'Updates a specified [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
|
|
16205
16207
|
operationId: 'thermostatsSchedulesUpdatePatch',
|
|
16206
16208
|
requestBody: {
|
|
16207
16209
|
content: {
|
|
@@ -16209,28 +16211,28 @@ export default {
|
|
|
16209
16211
|
schema: {
|
|
16210
16212
|
properties: {
|
|
16211
16213
|
climate_preset_key: {
|
|
16212
|
-
description: 'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
16214
|
+
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.',
|
|
16213
16215
|
type: 'string',
|
|
16214
16216
|
},
|
|
16215
16217
|
ends_at: {
|
|
16216
|
-
description: 'Date and time at which the
|
|
16218
|
+
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.',
|
|
16217
16219
|
type: 'string',
|
|
16218
16220
|
},
|
|
16219
16221
|
max_override_period_minutes: {
|
|
16220
|
-
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-
|
|
16222
|
+
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).",
|
|
16221
16223
|
minimum: 0,
|
|
16222
16224
|
type: 'integer',
|
|
16223
16225
|
},
|
|
16224
16226
|
name: {
|
|
16225
|
-
description: 'User-friendly name to identify the
|
|
16227
|
+
description: 'User-friendly name to identify the thermostat schedule.',
|
|
16226
16228
|
type: 'string',
|
|
16227
16229
|
},
|
|
16228
16230
|
starts_at: {
|
|
16229
|
-
description: 'Date and time at which the
|
|
16231
|
+
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.',
|
|
16230
16232
|
type: 'string',
|
|
16231
16233
|
},
|
|
16232
16234
|
thermostat_schedule_id: {
|
|
16233
|
-
description: 'ID of the desired
|
|
16235
|
+
description: 'ID of the desired thermostat schedule.',
|
|
16234
16236
|
format: 'uuid',
|
|
16235
16237
|
type: 'string',
|
|
16236
16238
|
},
|
|
@@ -16267,10 +16269,10 @@ export default {
|
|
|
16267
16269
|
tags: ['/thermostats'],
|
|
16268
16270
|
'x-fern-ignore': true,
|
|
16269
16271
|
'x-response-key': null,
|
|
16270
|
-
'x-title': 'Update a
|
|
16272
|
+
'x-title': 'Update a Thermostat Schedule',
|
|
16271
16273
|
},
|
|
16272
16274
|
post: {
|
|
16273
|
-
description: 'Updates a specified [
|
|
16275
|
+
description: 'Updates a specified [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
|
|
16274
16276
|
operationId: 'thermostatsSchedulesUpdatePost',
|
|
16275
16277
|
requestBody: {
|
|
16276
16278
|
content: {
|
|
@@ -16278,28 +16280,28 @@ export default {
|
|
|
16278
16280
|
schema: {
|
|
16279
16281
|
properties: {
|
|
16280
16282
|
climate_preset_key: {
|
|
16281
|
-
description: 'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
16283
|
+
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.',
|
|
16282
16284
|
type: 'string',
|
|
16283
16285
|
},
|
|
16284
16286
|
ends_at: {
|
|
16285
|
-
description: 'Date and time at which the
|
|
16287
|
+
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.',
|
|
16286
16288
|
type: 'string',
|
|
16287
16289
|
},
|
|
16288
16290
|
max_override_period_minutes: {
|
|
16289
|
-
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-
|
|
16291
|
+
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).",
|
|
16290
16292
|
minimum: 0,
|
|
16291
16293
|
type: 'integer',
|
|
16292
16294
|
},
|
|
16293
16295
|
name: {
|
|
16294
|
-
description: 'User-friendly name to identify the
|
|
16296
|
+
description: 'User-friendly name to identify the thermostat schedule.',
|
|
16295
16297
|
type: 'string',
|
|
16296
16298
|
},
|
|
16297
16299
|
starts_at: {
|
|
16298
|
-
description: 'Date and time at which the
|
|
16300
|
+
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.',
|
|
16299
16301
|
type: 'string',
|
|
16300
16302
|
},
|
|
16301
16303
|
thermostat_schedule_id: {
|
|
16302
|
-
description: 'ID of the desired
|
|
16304
|
+
description: 'ID of the desired thermostat schedule.',
|
|
16303
16305
|
format: 'uuid',
|
|
16304
16306
|
type: 'string',
|
|
16305
16307
|
},
|
|
@@ -16337,7 +16339,7 @@ export default {
|
|
|
16337
16339
|
'x-fern-sdk-group-name': ['thermostats', 'schedules'],
|
|
16338
16340
|
'x-fern-sdk-method-name': 'update',
|
|
16339
16341
|
'x-response-key': null,
|
|
16340
|
-
'x-title': 'Update a
|
|
16342
|
+
'x-title': 'Update a Thermostat Schedule',
|
|
16341
16343
|
},
|
|
16342
16344
|
},
|
|
16343
16345
|
'/thermostats/set_fallback_climate_preset': {
|