@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/package.json
CHANGED
|
@@ -1,48 +1,55 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
-
export const thermostat_schedule = z
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
'
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
'
|
|
45
|
-
|
|
46
|
-
|
|
3
|
+
export const thermostat_schedule = z
|
|
4
|
+
.object({
|
|
5
|
+
thermostat_schedule_id: z
|
|
6
|
+
.string()
|
|
7
|
+
.uuid()
|
|
8
|
+
.describe('ID of the thermostat schedule.'),
|
|
9
|
+
device_id: z
|
|
10
|
+
.string()
|
|
11
|
+
.uuid()
|
|
12
|
+
.describe('ID of the desired thermostat device.'),
|
|
13
|
+
name: z
|
|
14
|
+
.string()
|
|
15
|
+
.optional()
|
|
16
|
+
.describe('User-friendly name to identify the thermostat schedule.'),
|
|
17
|
+
climate_preset_key: z
|
|
18
|
+
.string()
|
|
19
|
+
.describe(
|
|
20
|
+
'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.',
|
|
21
|
+
),
|
|
22
|
+
max_override_period_minutes: z
|
|
23
|
+
.number()
|
|
24
|
+
.int()
|
|
25
|
+
.nonnegative()
|
|
26
|
+
.describe(
|
|
27
|
+
"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).",
|
|
28
|
+
),
|
|
29
|
+
starts_at: z
|
|
30
|
+
.string()
|
|
31
|
+
.datetime()
|
|
32
|
+
.describe(
|
|
33
|
+
'Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
34
|
+
),
|
|
35
|
+
ends_at: z
|
|
36
|
+
.string()
|
|
37
|
+
.datetime()
|
|
38
|
+
.describe(
|
|
39
|
+
'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
40
|
+
),
|
|
41
|
+
created_at: z
|
|
42
|
+
.string()
|
|
43
|
+
.datetime()
|
|
44
|
+
.describe('Date and time at which the thermostat schedule was created.'),
|
|
45
|
+
errors: z
|
|
46
|
+
.any()
|
|
47
|
+
.describe(
|
|
48
|
+
'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.',
|
|
49
|
+
),
|
|
50
|
+
})
|
|
51
|
+
.describe(
|
|
52
|
+
'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.',
|
|
53
|
+
)
|
|
47
54
|
|
|
48
55
|
export type ThermostatSchedule = z.infer<typeof thermostat_schedule>
|
|
@@ -4616,16 +4616,18 @@ export default {
|
|
|
4616
4616
|
properties: {
|
|
4617
4617
|
active_thermostat_schedule: {
|
|
4618
4618
|
default: null,
|
|
4619
|
+
description:
|
|
4620
|
+
'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.',
|
|
4619
4621
|
nullable: true,
|
|
4620
4622
|
properties: {
|
|
4621
4623
|
climate_preset_key: {
|
|
4622
4624
|
description:
|
|
4623
|
-
'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
4625
|
+
'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.',
|
|
4624
4626
|
type: 'string',
|
|
4625
4627
|
},
|
|
4626
4628
|
created_at: {
|
|
4627
4629
|
description:
|
|
4628
|
-
'Date and time at which the
|
|
4630
|
+
'Date and time at which the thermostat schedule was created.',
|
|
4629
4631
|
format: 'date-time',
|
|
4630
4632
|
type: 'string',
|
|
4631
4633
|
},
|
|
@@ -4636,33 +4638,33 @@ export default {
|
|
|
4636
4638
|
},
|
|
4637
4639
|
ends_at: {
|
|
4638
4640
|
description:
|
|
4639
|
-
'Date and time at which the
|
|
4641
|
+
'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
4640
4642
|
format: 'date-time',
|
|
4641
4643
|
type: 'string',
|
|
4642
4644
|
},
|
|
4643
4645
|
errors: {
|
|
4644
4646
|
description:
|
|
4645
|
-
'Array of errors associated with the
|
|
4647
|
+
'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.',
|
|
4646
4648
|
},
|
|
4647
4649
|
max_override_period_minutes: {
|
|
4648
4650
|
description:
|
|
4649
|
-
"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-
|
|
4651
|
+
"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).",
|
|
4650
4652
|
minimum: 0,
|
|
4651
4653
|
type: 'integer',
|
|
4652
4654
|
},
|
|
4653
4655
|
name: {
|
|
4654
4656
|
description:
|
|
4655
|
-
'User-friendly name to identify the
|
|
4657
|
+
'User-friendly name to identify the thermostat schedule.',
|
|
4656
4658
|
type: 'string',
|
|
4657
4659
|
},
|
|
4658
4660
|
starts_at: {
|
|
4659
4661
|
description:
|
|
4660
|
-
'Date and time at which the
|
|
4662
|
+
'Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
4661
4663
|
format: 'date-time',
|
|
4662
4664
|
type: 'string',
|
|
4663
4665
|
},
|
|
4664
4666
|
thermostat_schedule_id: {
|
|
4665
|
-
description: 'ID of the
|
|
4667
|
+
description: 'ID of the thermostat schedule.',
|
|
4666
4668
|
format: 'uuid',
|
|
4667
4669
|
type: 'string',
|
|
4668
4670
|
},
|
|
@@ -5417,15 +5419,17 @@ export default {
|
|
|
5417
5419
|
type: 'object',
|
|
5418
5420
|
},
|
|
5419
5421
|
thermostat_schedule: {
|
|
5422
|
+
description:
|
|
5423
|
+
'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.',
|
|
5420
5424
|
properties: {
|
|
5421
5425
|
climate_preset_key: {
|
|
5422
5426
|
description:
|
|
5423
|
-
'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
5427
|
+
'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.',
|
|
5424
5428
|
type: 'string',
|
|
5425
5429
|
},
|
|
5426
5430
|
created_at: {
|
|
5427
5431
|
description:
|
|
5428
|
-
'Date and time at which the
|
|
5432
|
+
'Date and time at which the thermostat schedule was created.',
|
|
5429
5433
|
format: 'date-time',
|
|
5430
5434
|
type: 'string',
|
|
5431
5435
|
},
|
|
@@ -5436,32 +5440,33 @@ export default {
|
|
|
5436
5440
|
},
|
|
5437
5441
|
ends_at: {
|
|
5438
5442
|
description:
|
|
5439
|
-
'Date and time at which the
|
|
5443
|
+
'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
5440
5444
|
format: 'date-time',
|
|
5441
5445
|
type: 'string',
|
|
5442
5446
|
},
|
|
5443
5447
|
errors: {
|
|
5444
5448
|
description:
|
|
5445
|
-
'Array of errors associated with the
|
|
5449
|
+
'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.',
|
|
5446
5450
|
},
|
|
5447
5451
|
max_override_period_minutes: {
|
|
5448
5452
|
description:
|
|
5449
|
-
"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-
|
|
5453
|
+
"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).",
|
|
5450
5454
|
minimum: 0,
|
|
5451
5455
|
type: 'integer',
|
|
5452
5456
|
},
|
|
5453
5457
|
name: {
|
|
5454
|
-
description:
|
|
5458
|
+
description:
|
|
5459
|
+
'User-friendly name to identify the thermostat schedule.',
|
|
5455
5460
|
type: 'string',
|
|
5456
5461
|
},
|
|
5457
5462
|
starts_at: {
|
|
5458
5463
|
description:
|
|
5459
|
-
'Date and time at which the
|
|
5464
|
+
'Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
5460
5465
|
format: 'date-time',
|
|
5461
5466
|
type: 'string',
|
|
5462
5467
|
},
|
|
5463
5468
|
thermostat_schedule_id: {
|
|
5464
|
-
description: 'ID of the
|
|
5469
|
+
description: 'ID of the thermostat schedule.',
|
|
5465
5470
|
format: 'uuid',
|
|
5466
5471
|
type: 'string',
|
|
5467
5472
|
},
|
|
@@ -16516,7 +16521,7 @@ export default {
|
|
|
16516
16521
|
'/thermostats/schedules/create': {
|
|
16517
16522
|
post: {
|
|
16518
16523
|
description:
|
|
16519
|
-
'Creates a [
|
|
16524
|
+
'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).',
|
|
16520
16525
|
operationId: 'thermostatsSchedulesCreatePost',
|
|
16521
16526
|
requestBody: {
|
|
16522
16527
|
content: {
|
|
@@ -16525,7 +16530,7 @@ export default {
|
|
|
16525
16530
|
properties: {
|
|
16526
16531
|
climate_preset_key: {
|
|
16527
16532
|
description:
|
|
16528
|
-
'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
16533
|
+
'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.',
|
|
16529
16534
|
type: 'string',
|
|
16530
16535
|
},
|
|
16531
16536
|
device_id: {
|
|
@@ -16534,24 +16539,24 @@ export default {
|
|
|
16534
16539
|
},
|
|
16535
16540
|
ends_at: {
|
|
16536
16541
|
description:
|
|
16537
|
-
'Date and time at which the
|
|
16542
|
+
'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
16538
16543
|
type: 'string',
|
|
16539
16544
|
},
|
|
16540
16545
|
max_override_period_minutes: {
|
|
16541
16546
|
default: 0,
|
|
16542
16547
|
description:
|
|
16543
|
-
"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-
|
|
16548
|
+
"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).",
|
|
16544
16549
|
minimum: 0,
|
|
16545
16550
|
type: 'integer',
|
|
16546
16551
|
},
|
|
16547
16552
|
name: {
|
|
16548
16553
|
description:
|
|
16549
|
-
'User-friendly name to identify the
|
|
16554
|
+
'User-friendly name to identify the thermostat schedule.',
|
|
16550
16555
|
type: 'string',
|
|
16551
16556
|
},
|
|
16552
16557
|
starts_at: {
|
|
16553
16558
|
description:
|
|
16554
|
-
'Date and time at which the
|
|
16559
|
+
'Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
16555
16560
|
type: 'string',
|
|
16556
16561
|
},
|
|
16557
16562
|
},
|
|
@@ -16599,13 +16604,13 @@ export default {
|
|
|
16599
16604
|
'x-fern-sdk-method-name': 'create',
|
|
16600
16605
|
'x-fern-sdk-return-value': 'thermostat_schedule',
|
|
16601
16606
|
'x-response-key': 'thermostat_schedule',
|
|
16602
|
-
'x-title': 'Create a
|
|
16607
|
+
'x-title': 'Create a Thermostat Schedule',
|
|
16603
16608
|
},
|
|
16604
16609
|
},
|
|
16605
16610
|
'/thermostats/schedules/delete': {
|
|
16606
16611
|
post: {
|
|
16607
16612
|
description:
|
|
16608
|
-
'Deletes a [
|
|
16613
|
+
'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).',
|
|
16609
16614
|
operationId: 'thermostatsSchedulesDeletePost',
|
|
16610
16615
|
requestBody: {
|
|
16611
16616
|
content: {
|
|
@@ -16613,7 +16618,7 @@ export default {
|
|
|
16613
16618
|
schema: {
|
|
16614
16619
|
properties: {
|
|
16615
16620
|
thermostat_schedule_id: {
|
|
16616
|
-
description: 'ID of the desired
|
|
16621
|
+
description: 'ID of the desired thermostat schedule.',
|
|
16617
16622
|
format: 'uuid',
|
|
16618
16623
|
type: 'string',
|
|
16619
16624
|
},
|
|
@@ -16651,13 +16656,13 @@ export default {
|
|
|
16651
16656
|
'x-fern-sdk-group-name': ['thermostats', 'schedules'],
|
|
16652
16657
|
'x-fern-sdk-method-name': 'delete',
|
|
16653
16658
|
'x-response-key': null,
|
|
16654
|
-
'x-title': 'Delete a
|
|
16659
|
+
'x-title': 'Delete a Thermostat Schedule',
|
|
16655
16660
|
},
|
|
16656
16661
|
},
|
|
16657
16662
|
'/thermostats/schedules/get': {
|
|
16658
16663
|
post: {
|
|
16659
16664
|
description:
|
|
16660
|
-
'Returns a specified [
|
|
16665
|
+
'Returns a specified [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
|
|
16661
16666
|
operationId: 'thermostatsSchedulesGetPost',
|
|
16662
16667
|
requestBody: {
|
|
16663
16668
|
content: {
|
|
@@ -16665,7 +16670,7 @@ export default {
|
|
|
16665
16670
|
schema: {
|
|
16666
16671
|
properties: {
|
|
16667
16672
|
thermostat_schedule_id: {
|
|
16668
|
-
description: 'ID of the desired
|
|
16673
|
+
description: 'ID of the desired thermostat schedule.',
|
|
16669
16674
|
format: 'uuid',
|
|
16670
16675
|
type: 'string',
|
|
16671
16676
|
},
|
|
@@ -16709,13 +16714,13 @@ export default {
|
|
|
16709
16714
|
'x-fern-sdk-method-name': 'get',
|
|
16710
16715
|
'x-fern-sdk-return-value': 'thermostat_schedule',
|
|
16711
16716
|
'x-response-key': 'thermostat_schedule',
|
|
16712
|
-
'x-title': 'Get a
|
|
16717
|
+
'x-title': 'Get a Thermostat Schedule',
|
|
16713
16718
|
},
|
|
16714
16719
|
},
|
|
16715
16720
|
'/thermostats/schedules/list': {
|
|
16716
16721
|
post: {
|
|
16717
16722
|
description:
|
|
16718
|
-
'Returns a list of all [
|
|
16723
|
+
'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).',
|
|
16719
16724
|
operationId: 'thermostatsSchedulesListPost',
|
|
16720
16725
|
requestBody: {
|
|
16721
16726
|
content: {
|
|
@@ -16729,7 +16734,7 @@ export default {
|
|
|
16729
16734
|
},
|
|
16730
16735
|
user_identifier_key: {
|
|
16731
16736
|
description:
|
|
16732
|
-
'User identifier key by which to filter the list of returned
|
|
16737
|
+
'User identifier key by which to filter the list of returned thermostat schedules.',
|
|
16733
16738
|
type: 'string',
|
|
16734
16739
|
},
|
|
16735
16740
|
},
|
|
@@ -16775,13 +16780,13 @@ export default {
|
|
|
16775
16780
|
'x-fern-sdk-method-name': 'list',
|
|
16776
16781
|
'x-fern-sdk-return-value': 'thermostat_schedules',
|
|
16777
16782
|
'x-response-key': 'thermostat_schedules',
|
|
16778
|
-
'x-title': 'List
|
|
16783
|
+
'x-title': 'List Thermostat Schedules',
|
|
16779
16784
|
},
|
|
16780
16785
|
},
|
|
16781
16786
|
'/thermostats/schedules/update': {
|
|
16782
16787
|
patch: {
|
|
16783
16788
|
description:
|
|
16784
|
-
'Updates a specified [
|
|
16789
|
+
'Updates a specified [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
|
|
16785
16790
|
operationId: 'thermostatsSchedulesUpdatePatch',
|
|
16786
16791
|
requestBody: {
|
|
16787
16792
|
content: {
|
|
@@ -16790,32 +16795,32 @@ export default {
|
|
|
16790
16795
|
properties: {
|
|
16791
16796
|
climate_preset_key: {
|
|
16792
16797
|
description:
|
|
16793
|
-
'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
16798
|
+
'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.',
|
|
16794
16799
|
type: 'string',
|
|
16795
16800
|
},
|
|
16796
16801
|
ends_at: {
|
|
16797
16802
|
description:
|
|
16798
|
-
'Date and time at which the
|
|
16803
|
+
'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
16799
16804
|
type: 'string',
|
|
16800
16805
|
},
|
|
16801
16806
|
max_override_period_minutes: {
|
|
16802
16807
|
description:
|
|
16803
|
-
"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-
|
|
16808
|
+
"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).",
|
|
16804
16809
|
minimum: 0,
|
|
16805
16810
|
type: 'integer',
|
|
16806
16811
|
},
|
|
16807
16812
|
name: {
|
|
16808
16813
|
description:
|
|
16809
|
-
'User-friendly name to identify the
|
|
16814
|
+
'User-friendly name to identify the thermostat schedule.',
|
|
16810
16815
|
type: 'string',
|
|
16811
16816
|
},
|
|
16812
16817
|
starts_at: {
|
|
16813
16818
|
description:
|
|
16814
|
-
'Date and time at which the
|
|
16819
|
+
'Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
16815
16820
|
type: 'string',
|
|
16816
16821
|
},
|
|
16817
16822
|
thermostat_schedule_id: {
|
|
16818
|
-
description: 'ID of the desired
|
|
16823
|
+
description: 'ID of the desired thermostat schedule.',
|
|
16819
16824
|
format: 'uuid',
|
|
16820
16825
|
type: 'string',
|
|
16821
16826
|
},
|
|
@@ -16852,11 +16857,11 @@ export default {
|
|
|
16852
16857
|
tags: ['/thermostats'],
|
|
16853
16858
|
'x-fern-ignore': true,
|
|
16854
16859
|
'x-response-key': null,
|
|
16855
|
-
'x-title': 'Update a
|
|
16860
|
+
'x-title': 'Update a Thermostat Schedule',
|
|
16856
16861
|
},
|
|
16857
16862
|
post: {
|
|
16858
16863
|
description:
|
|
16859
|
-
'Updates a specified [
|
|
16864
|
+
'Updates a specified [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
|
|
16860
16865
|
operationId: 'thermostatsSchedulesUpdatePost',
|
|
16861
16866
|
requestBody: {
|
|
16862
16867
|
content: {
|
|
@@ -16865,32 +16870,32 @@ export default {
|
|
|
16865
16870
|
properties: {
|
|
16866
16871
|
climate_preset_key: {
|
|
16867
16872
|
description:
|
|
16868
|
-
'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the
|
|
16873
|
+
'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.',
|
|
16869
16874
|
type: 'string',
|
|
16870
16875
|
},
|
|
16871
16876
|
ends_at: {
|
|
16872
16877
|
description:
|
|
16873
|
-
'Date and time at which the
|
|
16878
|
+
'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
16874
16879
|
type: 'string',
|
|
16875
16880
|
},
|
|
16876
16881
|
max_override_period_minutes: {
|
|
16877
16882
|
description:
|
|
16878
|
-
"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-
|
|
16883
|
+
"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).",
|
|
16879
16884
|
minimum: 0,
|
|
16880
16885
|
type: 'integer',
|
|
16881
16886
|
},
|
|
16882
16887
|
name: {
|
|
16883
16888
|
description:
|
|
16884
|
-
'User-friendly name to identify the
|
|
16889
|
+
'User-friendly name to identify the thermostat schedule.',
|
|
16885
16890
|
type: 'string',
|
|
16886
16891
|
},
|
|
16887
16892
|
starts_at: {
|
|
16888
16893
|
description:
|
|
16889
|
-
'Date and time at which the
|
|
16894
|
+
'Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
16890
16895
|
type: 'string',
|
|
16891
16896
|
},
|
|
16892
16897
|
thermostat_schedule_id: {
|
|
16893
|
-
description: 'ID of the desired
|
|
16898
|
+
description: 'ID of the desired thermostat schedule.',
|
|
16894
16899
|
format: 'uuid',
|
|
16895
16900
|
type: 'string',
|
|
16896
16901
|
},
|
|
@@ -16928,7 +16933,7 @@ export default {
|
|
|
16928
16933
|
'x-fern-sdk-group-name': ['thermostats', 'schedules'],
|
|
16929
16934
|
'x-fern-sdk-method-name': 'update',
|
|
16930
16935
|
'x-response-key': null,
|
|
16931
|
-
'x-title': 'Update a
|
|
16936
|
+
'x-title': 'Update a Thermostat Schedule',
|
|
16932
16937
|
},
|
|
16933
16938
|
},
|
|
16934
16939
|
'/thermostats/set_fallback_climate_preset': {
|