@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/package.json
CHANGED
|
@@ -430,6 +430,12 @@ export const device_metadata = z
|
|
|
430
430
|
.string()
|
|
431
431
|
.optional()
|
|
432
432
|
.describe(`Keypad ID for an igloohome device.`),
|
|
433
|
+
is_keypad_linked_to_bridge: z
|
|
434
|
+
.boolean()
|
|
435
|
+
.optional()
|
|
436
|
+
.describe(
|
|
437
|
+
`Indicates whether a keypad is linked to a bridge for an igloohome device.`,
|
|
438
|
+
),
|
|
433
439
|
})
|
|
434
440
|
.describe(`Metadata for an igloohome device.`),
|
|
435
441
|
|
|
@@ -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>
|
|
@@ -10584,6 +10584,11 @@ export default {
|
|
|
10584
10584
|
description: 'Device name for an igloohome device.',
|
|
10585
10585
|
type: 'string',
|
|
10586
10586
|
},
|
|
10587
|
+
is_keypad_linked_to_bridge: {
|
|
10588
|
+
description:
|
|
10589
|
+
'Indicates whether a keypad is linked to a bridge for an igloohome device.',
|
|
10590
|
+
type: 'boolean',
|
|
10591
|
+
},
|
|
10587
10592
|
keypad_id: {
|
|
10588
10593
|
description: 'Keypad ID for an igloohome device.',
|
|
10589
10594
|
type: 'string',
|
|
@@ -11569,6 +11574,34 @@ export default {
|
|
|
11569
11574
|
'Display name for the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).',
|
|
11570
11575
|
type: 'string',
|
|
11571
11576
|
},
|
|
11577
|
+
ecobee_metadata: {
|
|
11578
|
+
description:
|
|
11579
|
+
'\n Metadata specific to the Ecobee climate, if applicable.\n ',
|
|
11580
|
+
properties: {
|
|
11581
|
+
climate_ref: {
|
|
11582
|
+
description:
|
|
11583
|
+
'Reference to the Ecobee climate, if applicable.',
|
|
11584
|
+
type: 'string',
|
|
11585
|
+
},
|
|
11586
|
+
is_optimized: {
|
|
11587
|
+
description:
|
|
11588
|
+
'Indicates if the climate preset is optimized by Ecobee.',
|
|
11589
|
+
type: 'boolean',
|
|
11590
|
+
},
|
|
11591
|
+
owner: {
|
|
11592
|
+
description:
|
|
11593
|
+
'Indicates whether the climate preset is owned by the user or the system.',
|
|
11594
|
+
enum: ['user', 'system'],
|
|
11595
|
+
type: 'string',
|
|
11596
|
+
},
|
|
11597
|
+
},
|
|
11598
|
+
required: [
|
|
11599
|
+
'climate_ref',
|
|
11600
|
+
'is_optimized',
|
|
11601
|
+
'owner',
|
|
11602
|
+
],
|
|
11603
|
+
type: 'object',
|
|
11604
|
+
},
|
|
11572
11605
|
fan_mode_setting: {
|
|
11573
11606
|
description:
|
|
11574
11607
|
'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 +11728,30 @@ export default {
|
|
|
11695
11728
|
'Display name for the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).',
|
|
11696
11729
|
type: 'string',
|
|
11697
11730
|
},
|
|
11731
|
+
ecobee_metadata: {
|
|
11732
|
+
description:
|
|
11733
|
+
'\n Metadata specific to the Ecobee climate, if applicable.\n ',
|
|
11734
|
+
properties: {
|
|
11735
|
+
climate_ref: {
|
|
11736
|
+
description:
|
|
11737
|
+
'Reference to the Ecobee climate, if applicable.',
|
|
11738
|
+
type: 'string',
|
|
11739
|
+
},
|
|
11740
|
+
is_optimized: {
|
|
11741
|
+
description:
|
|
11742
|
+
'Indicates if the climate preset is optimized by Ecobee.',
|
|
11743
|
+
type: 'boolean',
|
|
11744
|
+
},
|
|
11745
|
+
owner: {
|
|
11746
|
+
description:
|
|
11747
|
+
'Indicates whether the climate preset is owned by the user or the system.',
|
|
11748
|
+
enum: ['user', 'system'],
|
|
11749
|
+
type: 'string',
|
|
11750
|
+
},
|
|
11751
|
+
},
|
|
11752
|
+
required: ['climate_ref', 'is_optimized', 'owner'],
|
|
11753
|
+
type: 'object',
|
|
11754
|
+
},
|
|
11698
11755
|
fan_mode_setting: {
|
|
11699
11756
|
description:
|
|
11700
11757
|
'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 +11848,30 @@ export default {
|
|
|
11791
11848
|
'Display name for the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).',
|
|
11792
11849
|
type: 'string',
|
|
11793
11850
|
},
|
|
11851
|
+
ecobee_metadata: {
|
|
11852
|
+
description:
|
|
11853
|
+
'\n Metadata specific to the Ecobee climate, if applicable.\n ',
|
|
11854
|
+
properties: {
|
|
11855
|
+
climate_ref: {
|
|
11856
|
+
description:
|
|
11857
|
+
'Reference to the Ecobee climate, if applicable.',
|
|
11858
|
+
type: 'string',
|
|
11859
|
+
},
|
|
11860
|
+
is_optimized: {
|
|
11861
|
+
description:
|
|
11862
|
+
'Indicates if the climate preset is optimized by Ecobee.',
|
|
11863
|
+
type: 'boolean',
|
|
11864
|
+
},
|
|
11865
|
+
owner: {
|
|
11866
|
+
description:
|
|
11867
|
+
'Indicates whether the climate preset is owned by the user or the system.',
|
|
11868
|
+
enum: ['user', 'system'],
|
|
11869
|
+
type: 'string',
|
|
11870
|
+
},
|
|
11871
|
+
},
|
|
11872
|
+
required: ['climate_ref', 'is_optimized', 'owner'],
|
|
11873
|
+
type: 'object',
|
|
11874
|
+
},
|
|
11794
11875
|
fan_mode_setting: {
|
|
11795
11876
|
description:
|
|
11796
11877
|
'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 +46722,30 @@ export default {
|
|
|
46641
46722
|
format: 'uuid',
|
|
46642
46723
|
type: 'string',
|
|
46643
46724
|
},
|
|
46725
|
+
ecobee_metadata: {
|
|
46726
|
+
description:
|
|
46727
|
+
'\n Metadata specific to the Ecobee climate, if applicable.\n ',
|
|
46728
|
+
properties: {
|
|
46729
|
+
climate_ref: {
|
|
46730
|
+
description:
|
|
46731
|
+
'Reference to the Ecobee climate, if applicable.',
|
|
46732
|
+
type: 'string',
|
|
46733
|
+
},
|
|
46734
|
+
is_optimized: {
|
|
46735
|
+
description:
|
|
46736
|
+
'Indicates if the climate preset is optimized by Ecobee.',
|
|
46737
|
+
type: 'boolean',
|
|
46738
|
+
},
|
|
46739
|
+
owner: {
|
|
46740
|
+
description:
|
|
46741
|
+
'Indicates whether the climate preset is owned by the user or the system.',
|
|
46742
|
+
enum: ['user', 'system'],
|
|
46743
|
+
type: 'string',
|
|
46744
|
+
},
|
|
46745
|
+
},
|
|
46746
|
+
required: ['climate_ref', 'is_optimized', 'owner'],
|
|
46747
|
+
type: 'object',
|
|
46748
|
+
},
|
|
46644
46749
|
fan_mode_setting: {
|
|
46645
46750
|
description:
|
|
46646
46751
|
'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 +49484,30 @@ export default {
|
|
|
49379
49484
|
format: 'uuid',
|
|
49380
49485
|
type: 'string',
|
|
49381
49486
|
},
|
|
49487
|
+
ecobee_metadata: {
|
|
49488
|
+
description:
|
|
49489
|
+
'\n Metadata specific to the Ecobee climate, if applicable.\n ',
|
|
49490
|
+
properties: {
|
|
49491
|
+
climate_ref: {
|
|
49492
|
+
description:
|
|
49493
|
+
'Reference to the Ecobee climate, if applicable.',
|
|
49494
|
+
type: 'string',
|
|
49495
|
+
},
|
|
49496
|
+
is_optimized: {
|
|
49497
|
+
description:
|
|
49498
|
+
'Indicates if the climate preset is optimized by Ecobee.',
|
|
49499
|
+
type: 'boolean',
|
|
49500
|
+
},
|
|
49501
|
+
owner: {
|
|
49502
|
+
description:
|
|
49503
|
+
'Indicates whether the climate preset is owned by the user or the system.',
|
|
49504
|
+
enum: ['user', 'system'],
|
|
49505
|
+
type: 'string',
|
|
49506
|
+
},
|
|
49507
|
+
},
|
|
49508
|
+
required: ['climate_ref', 'is_optimized', 'owner'],
|
|
49509
|
+
type: 'object',
|
|
49510
|
+
},
|
|
49382
49511
|
fan_mode_setting: {
|
|
49383
49512
|
description:
|
|
49384
49513
|
'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 +49628,30 @@ export default {
|
|
|
49499
49628
|
format: 'uuid',
|
|
49500
49629
|
type: 'string',
|
|
49501
49630
|
},
|
|
49631
|
+
ecobee_metadata: {
|
|
49632
|
+
description:
|
|
49633
|
+
'\n Metadata specific to the Ecobee climate, if applicable.\n ',
|
|
49634
|
+
properties: {
|
|
49635
|
+
climate_ref: {
|
|
49636
|
+
description:
|
|
49637
|
+
'Reference to the Ecobee climate, if applicable.',
|
|
49638
|
+
type: 'string',
|
|
49639
|
+
},
|
|
49640
|
+
is_optimized: {
|
|
49641
|
+
description:
|
|
49642
|
+
'Indicates if the climate preset is optimized by Ecobee.',
|
|
49643
|
+
type: 'boolean',
|
|
49644
|
+
},
|
|
49645
|
+
owner: {
|
|
49646
|
+
description:
|
|
49647
|
+
'Indicates whether the climate preset is owned by the user or the system.',
|
|
49648
|
+
enum: ['user', 'system'],
|
|
49649
|
+
type: 'string',
|
|
49650
|
+
},
|
|
49651
|
+
},
|
|
49652
|
+
required: ['climate_ref', 'is_optimized', 'owner'],
|
|
49653
|
+
type: 'object',
|
|
49654
|
+
},
|
|
49502
49655
|
fan_mode_setting: {
|
|
49503
49656
|
description:
|
|
49504
49657
|
'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`.',
|