@seamapi/types 1.240.0 → 1.241.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.
Files changed (62) hide show
  1. package/dist/connect.cjs +1347 -768
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +3569 -1426
  4. package/dist/devicedb.d.cts +30 -30
  5. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  6. package/lib/seam/connect/internal/schemas.js +1 -1
  7. package/lib/seam/connect/internal/schemas.js.map +1 -1
  8. package/lib/seam/connect/model-types.d.ts +1 -1
  9. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +4 -4
  10. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +1 -1
  11. package/lib/seam/connect/models/acs/acs-user.d.ts +231 -28
  12. package/lib/seam/connect/models/acs/acs-user.js +61 -13
  13. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  14. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +78 -0
  15. package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
  16. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  17. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +80 -0
  18. package/lib/seam/connect/models/action-attempts/activate-climate-preset.js +25 -0
  19. package/lib/seam/connect/models/action-attempts/activate-climate-preset.js.map +1 -0
  20. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +185 -83
  21. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +185 -83
  22. package/lib/seam/connect/models/devices/capability-properties/thermostat.js +15 -6
  23. package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
  24. package/lib/seam/connect/models/devices/device.d.ts +263 -119
  25. package/lib/seam/connect/models/devices/phone.d.ts +187 -85
  26. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +185 -83
  27. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +83 -0
  28. package/lib/seam/connect/models/thermostats/climate-preset.js +18 -0
  29. package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -0
  30. package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +18 -34
  31. package/lib/seam/connect/models/thermostats/climate-setting-schedule.js +8 -10
  32. package/lib/seam/connect/models/thermostats/climate-setting-schedule.js.map +1 -1
  33. package/lib/seam/connect/models/thermostats/index.d.ts +1 -1
  34. package/lib/seam/connect/models/thermostats/index.js +1 -1
  35. package/lib/seam/connect/models/thermostats/index.js.map +1 -1
  36. package/lib/seam/connect/openapi.d.ts +1000 -569
  37. package/lib/seam/connect/openapi.js +1188 -681
  38. package/lib/seam/connect/openapi.js.map +1 -1
  39. package/lib/seam/connect/route-types.d.ts +1738 -460
  40. package/lib/seam/connect/schemas.d.ts +1 -1
  41. package/lib/seam/connect/schemas.js +1 -1
  42. package/lib/seam/connect/schemas.js.map +1 -1
  43. package/lib/seam/devicedb/models/device-model.d.ts +8 -8
  44. package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
  45. package/lib/seam/devicedb/route-specs.d.ts +20 -20
  46. package/package.json +2 -2
  47. package/src/lib/seam/connect/internal/schemas.ts +2 -2
  48. package/src/lib/seam/connect/model-types.ts +1 -1
  49. package/src/lib/seam/connect/models/acs/acs-user.ts +86 -19
  50. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
  51. package/src/lib/seam/connect/models/action-attempts/activate-climate-preset.ts +36 -0
  52. package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +16 -6
  53. package/src/lib/seam/connect/models/thermostats/climate-preset.ts +24 -0
  54. package/src/lib/seam/connect/models/thermostats/climate-setting-schedule.ts +16 -19
  55. package/src/lib/seam/connect/models/thermostats/index.ts +1 -1
  56. package/src/lib/seam/connect/openapi.ts +1216 -670
  57. package/src/lib/seam/connect/route-types.ts +2030 -505
  58. package/src/lib/seam/connect/schemas.ts +1 -1
  59. package/lib/seam/connect/models/thermostats/climate-setting.d.ts +0 -24
  60. package/lib/seam/connect/models/thermostats/climate-setting.js +0 -11
  61. package/lib/seam/connect/models/thermostats/climate-setting.js.map +0 -1
  62. package/src/lib/seam/connect/models/thermostats/climate-setting.ts +0 -14
@@ -0,0 +1,80 @@
1
+ import { z } from 'zod';
2
+ export declare const activate_climate_preset_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ action_attempt_id: z.ZodString;
4
+ status: z.ZodEnum<["pending", "success", "error"]>;
5
+ }, {
6
+ status: z.ZodLiteral<"pending">;
7
+ result: z.ZodNull;
8
+ error: z.ZodNull;
9
+ }>, {
10
+ action_type: z.ZodLiteral<"ACTIVATE_CLIMATE_PRESET">;
11
+ }>, "strip", z.ZodTypeAny, {
12
+ error: null;
13
+ status: "pending";
14
+ action_attempt_id: string;
15
+ result: null;
16
+ action_type: "ACTIVATE_CLIMATE_PRESET";
17
+ }, {
18
+ error: null;
19
+ status: "pending";
20
+ action_attempt_id: string;
21
+ result: null;
22
+ action_type: "ACTIVATE_CLIMATE_PRESET";
23
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
24
+ action_attempt_id: z.ZodString;
25
+ status: z.ZodEnum<["pending", "success", "error"]>;
26
+ }, {
27
+ status: z.ZodLiteral<"success">;
28
+ error: z.ZodNull;
29
+ }>, {
30
+ action_type: z.ZodLiteral<"ACTIVATE_CLIMATE_PRESET">;
31
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
32
+ }>, "strip", z.ZodTypeAny, {
33
+ error: null;
34
+ status: "success";
35
+ action_attempt_id: string;
36
+ result: {};
37
+ action_type: "ACTIVATE_CLIMATE_PRESET";
38
+ }, {
39
+ error: null;
40
+ status: "success";
41
+ action_attempt_id: string;
42
+ result: {};
43
+ action_type: "ACTIVATE_CLIMATE_PRESET";
44
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
45
+ action_attempt_id: z.ZodString;
46
+ status: z.ZodEnum<["pending", "success", "error"]>;
47
+ }, {
48
+ status: z.ZodLiteral<"error">;
49
+ result: z.ZodNull;
50
+ }>, {
51
+ action_type: z.ZodLiteral<"ACTIVATE_CLIMATE_PRESET">;
52
+ error: z.ZodObject<{
53
+ type: z.ZodString;
54
+ message: z.ZodString;
55
+ }, "strip", z.ZodTypeAny, {
56
+ type: string;
57
+ message: string;
58
+ }, {
59
+ type: string;
60
+ message: string;
61
+ }>;
62
+ }>, "strip", z.ZodTypeAny, {
63
+ error: {
64
+ type: string;
65
+ message: string;
66
+ };
67
+ status: "error";
68
+ action_attempt_id: string;
69
+ result: null;
70
+ action_type: "ACTIVATE_CLIMATE_PRESET";
71
+ }, {
72
+ error: {
73
+ type: string;
74
+ message: string;
75
+ };
76
+ status: "error";
77
+ action_attempt_id: string;
78
+ result: null;
79
+ action_type: "ACTIVATE_CLIMATE_PRESET";
80
+ }>]>;
@@ -0,0 +1,25 @@
1
+ import { z } from 'zod';
2
+ import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
3
+ const action_type = z.literal('ACTIVATE_CLIMATE_PRESET');
4
+ const error = z.object({
5
+ type: z.string(),
6
+ message: z.string(),
7
+ });
8
+ const result = z.object({});
9
+ export const activate_climate_preset_action_attempt = z.discriminatedUnion('status', [
10
+ common_pending_action_attempt
11
+ .extend({
12
+ action_type,
13
+ })
14
+ .describe('Activating climate preset.'),
15
+ common_succeeded_action_attempt
16
+ .extend({
17
+ action_type,
18
+ result,
19
+ })
20
+ .describe('Activating climate preset succeeded.'),
21
+ common_failed_action_attempt
22
+ .extend({ action_type, error })
23
+ .describe('Activating climate preset failed.'),
24
+ ]);
25
+ //# sourceMappingURL=activate-climate-preset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activate-climate-preset.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/activate-climate-preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAA;AAExD,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAE3B,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,kBAAkB,CACxE,QAAQ,EACR;IACE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,4BAA4B,CAAC;IACzC,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,sCAAsC,CAAC;IACnD,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,mCAAmC,CAAC;CACjD,CACF,CAAA"}
@@ -85,97 +85,157 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
85
85
  fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
86
86
  is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>;
87
87
  current_climate_setting: z.ZodOptional<z.ZodObject<{
88
- hvac_mode_setting: z.ZodEnum<["off", "heat", "cool", "heat_cool"]>;
89
- cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
90
- heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
91
- cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
92
- heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
93
- manual_override_allowed: z.ZodBoolean;
88
+ climate_preset_key: z.ZodOptional<z.ZodString>;
89
+ can_edit: z.ZodOptional<z.ZodBoolean>;
90
+ can_delete: z.ZodOptional<z.ZodBoolean>;
91
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
+ display_name: z.ZodOptional<z.ZodString>;
93
+ fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
94
+ hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
95
+ cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
96
+ heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
97
+ cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
98
+ heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
99
+ manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
94
100
  }, "strip", z.ZodTypeAny, {
95
- hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
96
- manual_override_allowed: boolean;
101
+ name?: string | null | undefined;
102
+ climate_preset_key?: string | undefined;
103
+ can_edit?: boolean | undefined;
104
+ can_delete?: boolean | undefined;
105
+ display_name?: string | undefined;
106
+ fan_mode_setting?: "auto" | "on" | undefined;
107
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
97
108
  cooling_set_point_celsius?: number | undefined;
98
109
  heating_set_point_celsius?: number | undefined;
99
110
  cooling_set_point_fahrenheit?: number | undefined;
100
111
  heating_set_point_fahrenheit?: number | undefined;
112
+ manual_override_allowed?: boolean | undefined;
101
113
  }, {
102
- hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
103
- manual_override_allowed: boolean;
114
+ name?: string | null | undefined;
115
+ climate_preset_key?: string | undefined;
116
+ can_edit?: boolean | undefined;
117
+ can_delete?: boolean | undefined;
118
+ display_name?: string | undefined;
119
+ fan_mode_setting?: "auto" | "on" | undefined;
120
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
104
121
  cooling_set_point_celsius?: number | undefined;
105
122
  heating_set_point_celsius?: number | undefined;
106
123
  cooling_set_point_fahrenheit?: number | undefined;
107
124
  heating_set_point_fahrenheit?: number | undefined;
125
+ manual_override_allowed?: boolean | undefined;
108
126
  }>>;
109
127
  default_climate_setting: z.ZodOptional<z.ZodObject<{
110
- hvac_mode_setting: z.ZodEnum<["off", "heat", "cool", "heat_cool"]>;
128
+ climate_preset_key: z.ZodOptional<z.ZodString>;
129
+ can_edit: z.ZodOptional<z.ZodBoolean>;
130
+ can_delete: z.ZodOptional<z.ZodBoolean>;
131
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
+ display_name: z.ZodOptional<z.ZodString>;
133
+ fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
134
+ hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
135
+ cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
136
+ heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
137
+ cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
138
+ heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
139
+ manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
140
+ }, "strip", z.ZodTypeAny, {
141
+ name?: string | null | undefined;
142
+ climate_preset_key?: string | undefined;
143
+ can_edit?: boolean | undefined;
144
+ can_delete?: boolean | undefined;
145
+ display_name?: string | undefined;
146
+ fan_mode_setting?: "auto" | "on" | undefined;
147
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
148
+ cooling_set_point_celsius?: number | undefined;
149
+ heating_set_point_celsius?: number | undefined;
150
+ cooling_set_point_fahrenheit?: number | undefined;
151
+ heating_set_point_fahrenheit?: number | undefined;
152
+ manual_override_allowed?: boolean | undefined;
153
+ }, {
154
+ name?: string | null | undefined;
155
+ climate_preset_key?: string | undefined;
156
+ can_edit?: boolean | undefined;
157
+ can_delete?: boolean | undefined;
158
+ display_name?: string | undefined;
159
+ fan_mode_setting?: "auto" | "on" | undefined;
160
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
161
+ cooling_set_point_celsius?: number | undefined;
162
+ heating_set_point_celsius?: number | undefined;
163
+ cooling_set_point_fahrenheit?: number | undefined;
164
+ heating_set_point_fahrenheit?: number | undefined;
165
+ manual_override_allowed?: boolean | undefined;
166
+ }>>;
167
+ available_climate_presets: z.ZodOptional<z.ZodArray<z.ZodObject<{
168
+ climate_preset_key: z.ZodString;
169
+ can_edit: z.ZodBoolean;
170
+ can_delete: z.ZodBoolean;
171
+ name: z.ZodNullable<z.ZodString>;
172
+ display_name: z.ZodString;
173
+ fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
174
+ hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
111
175
  cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
112
176
  heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
113
177
  cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
114
178
  heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
115
179
  manual_override_allowed: z.ZodBoolean;
116
180
  }, "strip", z.ZodTypeAny, {
117
- hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
181
+ name: string | null;
182
+ climate_preset_key: string;
183
+ can_edit: boolean;
184
+ can_delete: boolean;
185
+ display_name: string;
118
186
  manual_override_allowed: boolean;
187
+ fan_mode_setting?: "auto" | "on" | undefined;
188
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
119
189
  cooling_set_point_celsius?: number | undefined;
120
190
  heating_set_point_celsius?: number | undefined;
121
191
  cooling_set_point_fahrenheit?: number | undefined;
122
192
  heating_set_point_fahrenheit?: number | undefined;
123
193
  }, {
124
- hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
194
+ name: string | null;
195
+ climate_preset_key: string;
196
+ can_edit: boolean;
197
+ can_delete: boolean;
198
+ display_name: string;
125
199
  manual_override_allowed: boolean;
200
+ fan_mode_setting?: "auto" | "on" | undefined;
201
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
126
202
  cooling_set_point_celsius?: number | undefined;
127
203
  heating_set_point_celsius?: number | undefined;
128
204
  cooling_set_point_fahrenheit?: number | undefined;
129
205
  heating_set_point_fahrenheit?: number | undefined;
130
- }>>;
131
- is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>;
132
- active_climate_setting_schedule: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
133
- climate_setting_schedule_id: z.ZodString;
134
- schedule_type: z.ZodLiteral<"time_bound">;
206
+ }>, "many">>;
207
+ fallback_climate_preset_key: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
208
+ active_thermostat_schedule: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
209
+ thermostat_schedule_id: z.ZodString;
135
210
  device_id: z.ZodString;
136
211
  name: z.ZodOptional<z.ZodString>;
137
- schedule_starts_at: z.ZodString;
138
- schedule_ends_at: z.ZodString;
212
+ climate_preset_key: z.ZodString;
213
+ max_override_period_minutes: z.ZodDefault<z.ZodNumber>;
214
+ starts_at: z.ZodString;
215
+ ends_at: z.ZodString;
139
216
  created_at: z.ZodString;
140
217
  errors: z.ZodAny;
141
- }, {
142
- hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
143
- cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
144
- heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
145
- cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
146
- heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
147
- manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
148
- }>, "strip", z.ZodTypeAny, {
218
+ }, "strip", z.ZodTypeAny, {
149
219
  created_at: string;
150
- climate_setting_schedule_id: string;
151
- schedule_type: "time_bound";
220
+ climate_preset_key: string;
221
+ thermostat_schedule_id: string;
152
222
  device_id: string;
153
- schedule_starts_at: string;
154
- schedule_ends_at: string;
223
+ max_override_period_minutes: number;
224
+ starts_at: string;
225
+ ends_at: string;
155
226
  name?: string | undefined;
156
227
  errors?: any;
157
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
158
- cooling_set_point_celsius?: number | undefined;
159
- heating_set_point_celsius?: number | undefined;
160
- cooling_set_point_fahrenheit?: number | undefined;
161
- heating_set_point_fahrenheit?: number | undefined;
162
- manual_override_allowed?: boolean | undefined;
163
228
  }, {
164
229
  created_at: string;
165
- climate_setting_schedule_id: string;
166
- schedule_type: "time_bound";
230
+ climate_preset_key: string;
231
+ thermostat_schedule_id: string;
167
232
  device_id: string;
168
- schedule_starts_at: string;
169
- schedule_ends_at: string;
233
+ starts_at: string;
234
+ ends_at: string;
170
235
  name?: string | undefined;
171
236
  errors?: any;
172
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
173
- cooling_set_point_celsius?: number | undefined;
174
- heating_set_point_celsius?: number | undefined;
175
- cooling_set_point_fahrenheit?: number | undefined;
176
- heating_set_point_fahrenheit?: number | undefined;
177
- manual_override_allowed?: boolean | undefined;
178
- }>>;
237
+ max_override_period_minutes?: number | undefined;
238
+ }>>>>;
179
239
  min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
180
240
  min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
181
241
  max_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
@@ -187,6 +247,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
187
247
  min_heating_cooling_delta_celsius: z.ZodOptional<z.ZodNumber>;
188
248
  min_heating_cooling_delta_fahrenheit: z.ZodOptional<z.ZodNumber>;
189
249
  }, "strip", z.ZodTypeAny, {
250
+ fan_mode_setting?: "auto" | "on" | undefined;
190
251
  temperature_fahrenheit?: number | undefined;
191
252
  temperature_celsius?: number | undefined;
192
253
  relative_humidity?: number | undefined;
@@ -194,41 +255,61 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
194
255
  is_heating?: boolean | undefined;
195
256
  is_cooling?: boolean | undefined;
196
257
  is_fan_running?: boolean | undefined;
197
- fan_mode_setting?: "auto" | "on" | undefined;
198
258
  is_temporary_manual_override_active?: boolean | undefined;
199
259
  current_climate_setting?: {
200
- hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
201
- manual_override_allowed: boolean;
260
+ name?: string | null | undefined;
261
+ climate_preset_key?: string | undefined;
262
+ can_edit?: boolean | undefined;
263
+ can_delete?: boolean | undefined;
264
+ display_name?: string | undefined;
265
+ fan_mode_setting?: "auto" | "on" | undefined;
266
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
202
267
  cooling_set_point_celsius?: number | undefined;
203
268
  heating_set_point_celsius?: number | undefined;
204
269
  cooling_set_point_fahrenheit?: number | undefined;
205
270
  heating_set_point_fahrenheit?: number | undefined;
271
+ manual_override_allowed?: boolean | undefined;
206
272
  } | undefined;
207
273
  default_climate_setting?: {
208
- hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
209
- manual_override_allowed: boolean;
274
+ name?: string | null | undefined;
275
+ climate_preset_key?: string | undefined;
276
+ can_edit?: boolean | undefined;
277
+ can_delete?: boolean | undefined;
278
+ display_name?: string | undefined;
279
+ fan_mode_setting?: "auto" | "on" | undefined;
280
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
210
281
  cooling_set_point_celsius?: number | undefined;
211
282
  heating_set_point_celsius?: number | undefined;
212
283
  cooling_set_point_fahrenheit?: number | undefined;
213
284
  heating_set_point_fahrenheit?: number | undefined;
285
+ manual_override_allowed?: boolean | undefined;
214
286
  } | undefined;
215
- is_climate_setting_schedule_active?: boolean | undefined;
216
- active_climate_setting_schedule?: {
217
- created_at: string;
218
- climate_setting_schedule_id: string;
219
- schedule_type: "time_bound";
220
- device_id: string;
221
- schedule_starts_at: string;
222
- schedule_ends_at: string;
223
- name?: string | undefined;
224
- errors?: any;
287
+ available_climate_presets?: {
288
+ name: string | null;
289
+ climate_preset_key: string;
290
+ can_edit: boolean;
291
+ can_delete: boolean;
292
+ display_name: string;
293
+ manual_override_allowed: boolean;
294
+ fan_mode_setting?: "auto" | "on" | undefined;
225
295
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
226
296
  cooling_set_point_celsius?: number | undefined;
227
297
  heating_set_point_celsius?: number | undefined;
228
298
  cooling_set_point_fahrenheit?: number | undefined;
229
299
  heating_set_point_fahrenheit?: number | undefined;
230
- manual_override_allowed?: boolean | undefined;
231
- } | undefined;
300
+ }[] | undefined;
301
+ fallback_climate_preset_key?: string | null | undefined;
302
+ active_thermostat_schedule?: {
303
+ created_at: string;
304
+ climate_preset_key: string;
305
+ thermostat_schedule_id: string;
306
+ device_id: string;
307
+ max_override_period_minutes: number;
308
+ starts_at: string;
309
+ ends_at: string;
310
+ name?: string | undefined;
311
+ errors?: any;
312
+ } | null | undefined;
232
313
  min_cooling_set_point_celsius?: number | undefined;
233
314
  min_cooling_set_point_fahrenheit?: number | undefined;
234
315
  max_cooling_set_point_celsius?: number | undefined;
@@ -240,6 +321,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
240
321
  min_heating_cooling_delta_celsius?: number | undefined;
241
322
  min_heating_cooling_delta_fahrenheit?: number | undefined;
242
323
  }, {
324
+ fan_mode_setting?: "auto" | "on" | undefined;
243
325
  temperature_fahrenheit?: number | undefined;
244
326
  temperature_celsius?: number | undefined;
245
327
  relative_humidity?: number | undefined;
@@ -247,41 +329,61 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
247
329
  is_heating?: boolean | undefined;
248
330
  is_cooling?: boolean | undefined;
249
331
  is_fan_running?: boolean | undefined;
250
- fan_mode_setting?: "auto" | "on" | undefined;
251
332
  is_temporary_manual_override_active?: boolean | undefined;
252
333
  current_climate_setting?: {
253
- hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
254
- manual_override_allowed: boolean;
334
+ name?: string | null | undefined;
335
+ climate_preset_key?: string | undefined;
336
+ can_edit?: boolean | undefined;
337
+ can_delete?: boolean | undefined;
338
+ display_name?: string | undefined;
339
+ fan_mode_setting?: "auto" | "on" | undefined;
340
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
255
341
  cooling_set_point_celsius?: number | undefined;
256
342
  heating_set_point_celsius?: number | undefined;
257
343
  cooling_set_point_fahrenheit?: number | undefined;
258
344
  heating_set_point_fahrenheit?: number | undefined;
345
+ manual_override_allowed?: boolean | undefined;
259
346
  } | undefined;
260
347
  default_climate_setting?: {
261
- hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
262
- manual_override_allowed: boolean;
348
+ name?: string | null | undefined;
349
+ climate_preset_key?: string | undefined;
350
+ can_edit?: boolean | undefined;
351
+ can_delete?: boolean | undefined;
352
+ display_name?: string | undefined;
353
+ fan_mode_setting?: "auto" | "on" | undefined;
354
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
263
355
  cooling_set_point_celsius?: number | undefined;
264
356
  heating_set_point_celsius?: number | undefined;
265
357
  cooling_set_point_fahrenheit?: number | undefined;
266
358
  heating_set_point_fahrenheit?: number | undefined;
359
+ manual_override_allowed?: boolean | undefined;
267
360
  } | undefined;
268
- is_climate_setting_schedule_active?: boolean | undefined;
269
- active_climate_setting_schedule?: {
270
- created_at: string;
271
- climate_setting_schedule_id: string;
272
- schedule_type: "time_bound";
273
- device_id: string;
274
- schedule_starts_at: string;
275
- schedule_ends_at: string;
276
- name?: string | undefined;
277
- errors?: any;
361
+ available_climate_presets?: {
362
+ name: string | null;
363
+ climate_preset_key: string;
364
+ can_edit: boolean;
365
+ can_delete: boolean;
366
+ display_name: string;
367
+ manual_override_allowed: boolean;
368
+ fan_mode_setting?: "auto" | "on" | undefined;
278
369
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
279
370
  cooling_set_point_celsius?: number | undefined;
280
371
  heating_set_point_celsius?: number | undefined;
281
372
  cooling_set_point_fahrenheit?: number | undefined;
282
373
  heating_set_point_fahrenheit?: number | undefined;
283
- manual_override_allowed?: boolean | undefined;
284
- } | undefined;
374
+ }[] | undefined;
375
+ fallback_climate_preset_key?: string | null | undefined;
376
+ active_thermostat_schedule?: {
377
+ created_at: string;
378
+ climate_preset_key: string;
379
+ thermostat_schedule_id: string;
380
+ device_id: string;
381
+ starts_at: string;
382
+ ends_at: string;
383
+ name?: string | undefined;
384
+ errors?: any;
385
+ max_override_period_minutes?: number | undefined;
386
+ } | null | undefined;
285
387
  min_cooling_set_point_celsius?: number | undefined;
286
388
  min_cooling_set_point_fahrenheit?: number | undefined;
287
389
  max_cooling_set_point_celsius?: number | undefined;