@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/package.json
CHANGED
|
@@ -84,6 +84,23 @@ export const climate_preset = z.object({
|
|
|
84
84
|
---
|
|
85
85
|
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).`,
|
|
86
86
|
),
|
|
87
|
+
ecobee_metadata: z
|
|
88
|
+
.object({
|
|
89
|
+
climate_ref: z
|
|
90
|
+
.string()
|
|
91
|
+
.describe(`Reference to the Ecobee climate, if applicable.`),
|
|
92
|
+
is_optimized: z
|
|
93
|
+
.boolean()
|
|
94
|
+
.describe(`Indicates if the climate preset is optimized by Ecobee.`),
|
|
95
|
+
owner: z
|
|
96
|
+
.enum(['user', 'system'])
|
|
97
|
+
.describe(
|
|
98
|
+
`Indicates whether the climate preset is owned by the user or the system.`,
|
|
99
|
+
),
|
|
100
|
+
})
|
|
101
|
+
.optional().describe(`
|
|
102
|
+
Metadata specific to the Ecobee climate, if applicable.
|
|
103
|
+
`),
|
|
87
104
|
})
|
|
88
105
|
|
|
89
106
|
export type ClimatePreset = z.infer<typeof climate_preset>
|
|
@@ -11569,6 +11569,34 @@ export default {
|
|
|
11569
11569
|
'Display name for the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).',
|
|
11570
11570
|
type: 'string',
|
|
11571
11571
|
},
|
|
11572
|
+
ecobee_metadata: {
|
|
11573
|
+
description:
|
|
11574
|
+
'\n Metadata specific to the Ecobee climate, if applicable.\n ',
|
|
11575
|
+
properties: {
|
|
11576
|
+
climate_ref: {
|
|
11577
|
+
description:
|
|
11578
|
+
'Reference to the Ecobee climate, if applicable.',
|
|
11579
|
+
type: 'string',
|
|
11580
|
+
},
|
|
11581
|
+
is_optimized: {
|
|
11582
|
+
description:
|
|
11583
|
+
'Indicates if the climate preset is optimized by Ecobee.',
|
|
11584
|
+
type: 'boolean',
|
|
11585
|
+
},
|
|
11586
|
+
owner: {
|
|
11587
|
+
description:
|
|
11588
|
+
'Indicates whether the climate preset is owned by the user or the system.',
|
|
11589
|
+
enum: ['user', 'system'],
|
|
11590
|
+
type: 'string',
|
|
11591
|
+
},
|
|
11592
|
+
},
|
|
11593
|
+
required: [
|
|
11594
|
+
'climate_ref',
|
|
11595
|
+
'is_optimized',
|
|
11596
|
+
'owner',
|
|
11597
|
+
],
|
|
11598
|
+
type: 'object',
|
|
11599
|
+
},
|
|
11572
11600
|
fan_mode_setting: {
|
|
11573
11601
|
description:
|
|
11574
11602
|
'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`.',
|
|
@@ -11695,6 +11723,30 @@ export default {
|
|
|
11695
11723
|
'Display name for the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).',
|
|
11696
11724
|
type: 'string',
|
|
11697
11725
|
},
|
|
11726
|
+
ecobee_metadata: {
|
|
11727
|
+
description:
|
|
11728
|
+
'\n Metadata specific to the Ecobee climate, if applicable.\n ',
|
|
11729
|
+
properties: {
|
|
11730
|
+
climate_ref: {
|
|
11731
|
+
description:
|
|
11732
|
+
'Reference to the Ecobee climate, if applicable.',
|
|
11733
|
+
type: 'string',
|
|
11734
|
+
},
|
|
11735
|
+
is_optimized: {
|
|
11736
|
+
description:
|
|
11737
|
+
'Indicates if the climate preset is optimized by Ecobee.',
|
|
11738
|
+
type: 'boolean',
|
|
11739
|
+
},
|
|
11740
|
+
owner: {
|
|
11741
|
+
description:
|
|
11742
|
+
'Indicates whether the climate preset is owned by the user or the system.',
|
|
11743
|
+
enum: ['user', 'system'],
|
|
11744
|
+
type: 'string',
|
|
11745
|
+
},
|
|
11746
|
+
},
|
|
11747
|
+
required: ['climate_ref', 'is_optimized', 'owner'],
|
|
11748
|
+
type: 'object',
|
|
11749
|
+
},
|
|
11698
11750
|
fan_mode_setting: {
|
|
11699
11751
|
description:
|
|
11700
11752
|
'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`.',
|
|
@@ -11791,6 +11843,30 @@ export default {
|
|
|
11791
11843
|
'Display name for the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).',
|
|
11792
11844
|
type: 'string',
|
|
11793
11845
|
},
|
|
11846
|
+
ecobee_metadata: {
|
|
11847
|
+
description:
|
|
11848
|
+
'\n Metadata specific to the Ecobee climate, if applicable.\n ',
|
|
11849
|
+
properties: {
|
|
11850
|
+
climate_ref: {
|
|
11851
|
+
description:
|
|
11852
|
+
'Reference to the Ecobee climate, if applicable.',
|
|
11853
|
+
type: 'string',
|
|
11854
|
+
},
|
|
11855
|
+
is_optimized: {
|
|
11856
|
+
description:
|
|
11857
|
+
'Indicates if the climate preset is optimized by Ecobee.',
|
|
11858
|
+
type: 'boolean',
|
|
11859
|
+
},
|
|
11860
|
+
owner: {
|
|
11861
|
+
description:
|
|
11862
|
+
'Indicates whether the climate preset is owned by the user or the system.',
|
|
11863
|
+
enum: ['user', 'system'],
|
|
11864
|
+
type: 'string',
|
|
11865
|
+
},
|
|
11866
|
+
},
|
|
11867
|
+
required: ['climate_ref', 'is_optimized', 'owner'],
|
|
11868
|
+
type: 'object',
|
|
11869
|
+
},
|
|
11794
11870
|
fan_mode_setting: {
|
|
11795
11871
|
description:
|
|
11796
11872
|
'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`.',
|
|
@@ -46641,6 +46717,30 @@ export default {
|
|
|
46641
46717
|
format: 'uuid',
|
|
46642
46718
|
type: 'string',
|
|
46643
46719
|
},
|
|
46720
|
+
ecobee_metadata: {
|
|
46721
|
+
description:
|
|
46722
|
+
'\n Metadata specific to the Ecobee climate, if applicable.\n ',
|
|
46723
|
+
properties: {
|
|
46724
|
+
climate_ref: {
|
|
46725
|
+
description:
|
|
46726
|
+
'Reference to the Ecobee climate, if applicable.',
|
|
46727
|
+
type: 'string',
|
|
46728
|
+
},
|
|
46729
|
+
is_optimized: {
|
|
46730
|
+
description:
|
|
46731
|
+
'Indicates if the climate preset is optimized by Ecobee.',
|
|
46732
|
+
type: 'boolean',
|
|
46733
|
+
},
|
|
46734
|
+
owner: {
|
|
46735
|
+
description:
|
|
46736
|
+
'Indicates whether the climate preset is owned by the user or the system.',
|
|
46737
|
+
enum: ['user', 'system'],
|
|
46738
|
+
type: 'string',
|
|
46739
|
+
},
|
|
46740
|
+
},
|
|
46741
|
+
required: ['climate_ref', 'is_optimized', 'owner'],
|
|
46742
|
+
type: 'object',
|
|
46743
|
+
},
|
|
46644
46744
|
fan_mode_setting: {
|
|
46645
46745
|
description:
|
|
46646
46746
|
'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`.',
|
|
@@ -49379,6 +49479,30 @@ export default {
|
|
|
49379
49479
|
format: 'uuid',
|
|
49380
49480
|
type: 'string',
|
|
49381
49481
|
},
|
|
49482
|
+
ecobee_metadata: {
|
|
49483
|
+
description:
|
|
49484
|
+
'\n Metadata specific to the Ecobee climate, if applicable.\n ',
|
|
49485
|
+
properties: {
|
|
49486
|
+
climate_ref: {
|
|
49487
|
+
description:
|
|
49488
|
+
'Reference to the Ecobee climate, if applicable.',
|
|
49489
|
+
type: 'string',
|
|
49490
|
+
},
|
|
49491
|
+
is_optimized: {
|
|
49492
|
+
description:
|
|
49493
|
+
'Indicates if the climate preset is optimized by Ecobee.',
|
|
49494
|
+
type: 'boolean',
|
|
49495
|
+
},
|
|
49496
|
+
owner: {
|
|
49497
|
+
description:
|
|
49498
|
+
'Indicates whether the climate preset is owned by the user or the system.',
|
|
49499
|
+
enum: ['user', 'system'],
|
|
49500
|
+
type: 'string',
|
|
49501
|
+
},
|
|
49502
|
+
},
|
|
49503
|
+
required: ['climate_ref', 'is_optimized', 'owner'],
|
|
49504
|
+
type: 'object',
|
|
49505
|
+
},
|
|
49382
49506
|
fan_mode_setting: {
|
|
49383
49507
|
description:
|
|
49384
49508
|
'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`.',
|
|
@@ -49499,6 +49623,30 @@ export default {
|
|
|
49499
49623
|
format: 'uuid',
|
|
49500
49624
|
type: 'string',
|
|
49501
49625
|
},
|
|
49626
|
+
ecobee_metadata: {
|
|
49627
|
+
description:
|
|
49628
|
+
'\n Metadata specific to the Ecobee climate, if applicable.\n ',
|
|
49629
|
+
properties: {
|
|
49630
|
+
climate_ref: {
|
|
49631
|
+
description:
|
|
49632
|
+
'Reference to the Ecobee climate, if applicable.',
|
|
49633
|
+
type: 'string',
|
|
49634
|
+
},
|
|
49635
|
+
is_optimized: {
|
|
49636
|
+
description:
|
|
49637
|
+
'Indicates if the climate preset is optimized by Ecobee.',
|
|
49638
|
+
type: 'boolean',
|
|
49639
|
+
},
|
|
49640
|
+
owner: {
|
|
49641
|
+
description:
|
|
49642
|
+
'Indicates whether the climate preset is owned by the user or the system.',
|
|
49643
|
+
enum: ['user', 'system'],
|
|
49644
|
+
type: 'string',
|
|
49645
|
+
},
|
|
49646
|
+
},
|
|
49647
|
+
required: ['climate_ref', 'is_optimized', 'owner'],
|
|
49648
|
+
type: 'object',
|
|
49649
|
+
},
|
|
49502
49650
|
fan_mode_setting: {
|
|
49503
49651
|
description:
|
|
49504
49652
|
'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`.',
|