@seamapi/types 1.292.2 → 1.293.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 +42 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +161 -43
- package/lib/seam/connect/models/acs/metadata/{assa_abloy_vostio.js → assa-abloy-vostio.js} +1 -1
- package/lib/seam/connect/models/acs/metadata/{assa_abloy_vostio.js.map → assa-abloy-vostio.js.map} +1 -1
- package/lib/seam/connect/models/acs/metadata/{dormakaba_community.js → dormakaba-community.js} +1 -1
- package/lib/seam/connect/models/acs/metadata/{dormakaba_community.js.map → dormakaba-community.js.map} +1 -1
- package/lib/seam/connect/models/acs/metadata/index.d.ts +2 -2
- package/lib/seam/connect/models/acs/metadata/index.js +2 -2
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -0
- package/lib/seam/connect/models/devices/device.d.ts +7 -0
- package/lib/seam/connect/models/devices/phone.d.ts +5 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -0
- package/lib/seam/connect/models/thermostats/climate-preset.js +5 -3
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +3 -0
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +8 -0
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +31 -1
- package/lib/seam/connect/openapi.js +25 -9
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +115 -42
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/metadata/index.ts +2 -2
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +7 -5
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +10 -0
- package/src/lib/seam/connect/openapi.ts +32 -10
- package/src/lib/seam/connect/route-types.ts +115 -42
- /package/lib/seam/connect/models/acs/metadata/{assa_abloy_vostio.d.ts → assa-abloy-vostio.d.ts} +0 -0
- /package/lib/seam/connect/models/acs/metadata/{dormakaba_community.d.ts → dormakaba-community.d.ts} +0 -0
- /package/src/lib/seam/connect/models/acs/metadata/{assa_abloy_vostio.ts → assa-abloy-vostio.ts} +0 -0
- /package/src/lib/seam/connect/models/acs/metadata/{dormakaba_community.ts → dormakaba-community.ts} +0 -0
package/lib/seam/connect/models/acs/metadata/{assa_abloy_vostio.js.map → assa-abloy-vostio.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"assa-abloy-vostio.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9D,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;IAC1E,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAClC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"dormakaba-community.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,MAAM,CAAC;IAChE,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE;CAC9B,CAAC,CAAA"}
|
|
@@ -213,6 +213,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
213
213
|
climate_preset_key: z.ZodString;
|
|
214
214
|
max_override_period_minutes: z.ZodNumber;
|
|
215
215
|
starts_at: z.ZodString;
|
|
216
|
+
unstable_is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
216
217
|
ends_at: z.ZodString;
|
|
217
218
|
created_at: z.ZodString;
|
|
218
219
|
errors: z.ZodAny;
|
|
@@ -226,6 +227,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
226
227
|
ends_at: string;
|
|
227
228
|
name?: string | undefined;
|
|
228
229
|
errors?: any;
|
|
230
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
229
231
|
}, {
|
|
230
232
|
created_at: string;
|
|
231
233
|
climate_preset_key: string;
|
|
@@ -236,6 +238,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
236
238
|
ends_at: string;
|
|
237
239
|
name?: string | undefined;
|
|
238
240
|
errors?: any;
|
|
241
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
239
242
|
}>>>>;
|
|
240
243
|
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
241
244
|
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -327,6 +330,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
327
330
|
ends_at: string;
|
|
328
331
|
name?: string | undefined;
|
|
329
332
|
errors?: any;
|
|
333
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
330
334
|
} | null | undefined;
|
|
331
335
|
min_cooling_set_point_celsius?: number | undefined;
|
|
332
336
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -408,6 +412,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
408
412
|
ends_at: string;
|
|
409
413
|
name?: string | undefined;
|
|
410
414
|
errors?: any;
|
|
415
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
411
416
|
} | null | undefined;
|
|
412
417
|
min_cooling_set_point_celsius?: number | undefined;
|
|
413
418
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -138,6 +138,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
138
138
|
climate_preset_key: z.ZodString;
|
|
139
139
|
max_override_period_minutes: z.ZodNumber;
|
|
140
140
|
starts_at: z.ZodString;
|
|
141
|
+
unstable_is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
141
142
|
ends_at: z.ZodString;
|
|
142
143
|
created_at: z.ZodString;
|
|
143
144
|
errors: z.ZodAny;
|
|
@@ -151,6 +152,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
151
152
|
ends_at: string;
|
|
152
153
|
name?: string | undefined;
|
|
153
154
|
errors?: any;
|
|
155
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
154
156
|
}, {
|
|
155
157
|
created_at: string;
|
|
156
158
|
climate_preset_key: string;
|
|
@@ -161,6 +163,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
161
163
|
ends_at: string;
|
|
162
164
|
name?: string | undefined;
|
|
163
165
|
errors?: any;
|
|
166
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
164
167
|
}>>>>;
|
|
165
168
|
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
166
169
|
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -252,6 +255,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
252
255
|
ends_at: string;
|
|
253
256
|
name?: string | undefined;
|
|
254
257
|
errors?: any;
|
|
258
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
255
259
|
} | null | undefined;
|
|
256
260
|
min_cooling_set_point_celsius?: number | undefined;
|
|
257
261
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -333,6 +337,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
333
337
|
ends_at: string;
|
|
334
338
|
name?: string | undefined;
|
|
335
339
|
errors?: any;
|
|
340
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
336
341
|
} | null | undefined;
|
|
337
342
|
min_cooling_set_point_celsius?: number | undefined;
|
|
338
343
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -1792,6 +1792,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1792
1792
|
climate_preset_key: z.ZodString;
|
|
1793
1793
|
max_override_period_minutes: z.ZodNumber;
|
|
1794
1794
|
starts_at: z.ZodString;
|
|
1795
|
+
unstable_is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
1795
1796
|
ends_at: z.ZodString;
|
|
1796
1797
|
created_at: z.ZodString;
|
|
1797
1798
|
errors: z.ZodAny;
|
|
@@ -1805,6 +1806,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1805
1806
|
ends_at: string;
|
|
1806
1807
|
name?: string | undefined;
|
|
1807
1808
|
errors?: any;
|
|
1809
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
1808
1810
|
}, {
|
|
1809
1811
|
created_at: string;
|
|
1810
1812
|
climate_preset_key: string;
|
|
@@ -1815,6 +1817,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1815
1817
|
ends_at: string;
|
|
1816
1818
|
name?: string | undefined;
|
|
1817
1819
|
errors?: any;
|
|
1820
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
1818
1821
|
}>>>>;
|
|
1819
1822
|
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1820
1823
|
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1906,6 +1909,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1906
1909
|
ends_at: string;
|
|
1907
1910
|
name?: string | undefined;
|
|
1908
1911
|
errors?: any;
|
|
1912
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
1909
1913
|
} | null | undefined;
|
|
1910
1914
|
min_cooling_set_point_celsius?: number | undefined;
|
|
1911
1915
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -1987,6 +1991,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1987
1991
|
ends_at: string;
|
|
1988
1992
|
name?: string | undefined;
|
|
1989
1993
|
errors?: any;
|
|
1994
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
1990
1995
|
} | null | undefined;
|
|
1991
1996
|
min_cooling_set_point_celsius?: number | undefined;
|
|
1992
1997
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -2446,6 +2451,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2446
2451
|
ends_at: string;
|
|
2447
2452
|
name?: string | undefined;
|
|
2448
2453
|
errors?: any;
|
|
2454
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
2449
2455
|
} | null | undefined;
|
|
2450
2456
|
min_cooling_set_point_celsius?: number | undefined;
|
|
2451
2457
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -2853,6 +2859,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2853
2859
|
ends_at: string;
|
|
2854
2860
|
name?: string | undefined;
|
|
2855
2861
|
errors?: any;
|
|
2862
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
2856
2863
|
} | null | undefined;
|
|
2857
2864
|
min_cooling_set_point_celsius?: number | undefined;
|
|
2858
2865
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -1574,6 +1574,7 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1574
1574
|
climate_preset_key: z.ZodString;
|
|
1575
1575
|
max_override_period_minutes: z.ZodNumber;
|
|
1576
1576
|
starts_at: z.ZodString;
|
|
1577
|
+
unstable_is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
1577
1578
|
ends_at: z.ZodString;
|
|
1578
1579
|
created_at: z.ZodString;
|
|
1579
1580
|
errors: z.ZodAny;
|
|
@@ -1587,6 +1588,7 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1587
1588
|
ends_at: string;
|
|
1588
1589
|
name?: string | undefined;
|
|
1589
1590
|
errors?: any;
|
|
1591
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
1590
1592
|
}, {
|
|
1591
1593
|
created_at: string;
|
|
1592
1594
|
climate_preset_key: string;
|
|
@@ -1597,6 +1599,7 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1597
1599
|
ends_at: string;
|
|
1598
1600
|
name?: string | undefined;
|
|
1599
1601
|
errors?: any;
|
|
1602
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
1600
1603
|
}>>>>;
|
|
1601
1604
|
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1602
1605
|
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1688,6 +1691,7 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1688
1691
|
ends_at: string;
|
|
1689
1692
|
name?: string | undefined;
|
|
1690
1693
|
errors?: any;
|
|
1694
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
1691
1695
|
} | null | undefined;
|
|
1692
1696
|
min_cooling_set_point_celsius?: number | undefined;
|
|
1693
1697
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -1769,6 +1773,7 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1769
1773
|
ends_at: string;
|
|
1770
1774
|
name?: string | undefined;
|
|
1771
1775
|
errors?: any;
|
|
1776
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
1772
1777
|
} | null | undefined;
|
|
1773
1778
|
min_cooling_set_point_celsius?: number | undefined;
|
|
1774
1779
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -1573,6 +1573,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1573
1573
|
climate_preset_key: z.ZodString;
|
|
1574
1574
|
max_override_period_minutes: z.ZodNumber;
|
|
1575
1575
|
starts_at: z.ZodString;
|
|
1576
|
+
unstable_is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
1576
1577
|
ends_at: z.ZodString;
|
|
1577
1578
|
created_at: z.ZodString;
|
|
1578
1579
|
errors: z.ZodAny;
|
|
@@ -1586,6 +1587,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1586
1587
|
ends_at: string;
|
|
1587
1588
|
name?: string | undefined;
|
|
1588
1589
|
errors?: any;
|
|
1590
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
1589
1591
|
}, {
|
|
1590
1592
|
created_at: string;
|
|
1591
1593
|
climate_preset_key: string;
|
|
@@ -1596,6 +1598,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1596
1598
|
ends_at: string;
|
|
1597
1599
|
name?: string | undefined;
|
|
1598
1600
|
errors?: any;
|
|
1601
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
1599
1602
|
}>>>>;
|
|
1600
1603
|
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1601
1604
|
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1687,6 +1690,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1687
1690
|
ends_at: string;
|
|
1688
1691
|
name?: string | undefined;
|
|
1689
1692
|
errors?: any;
|
|
1693
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
1690
1694
|
} | null | undefined;
|
|
1691
1695
|
min_cooling_set_point_celsius?: number | undefined;
|
|
1692
1696
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -1768,6 +1772,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1768
1772
|
ends_at: string;
|
|
1769
1773
|
name?: string | undefined;
|
|
1770
1774
|
errors?: any;
|
|
1775
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
1771
1776
|
} | null | undefined;
|
|
1772
1777
|
min_cooling_set_point_celsius?: number | undefined;
|
|
1773
1778
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -39,9 +39,11 @@ export const climate_preset = z.object({
|
|
|
39
39
|
.number()
|
|
40
40
|
.optional()
|
|
41
41
|
.describe('Temperature to which the thermostat should heat (in °F).'),
|
|
42
|
-
manual_override_allowed: z
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
manual_override_allowed: z.boolean().describe(`
|
|
43
|
+
---
|
|
44
|
+
deprecated: Use 'thermostat_schedule.is_override_allowed'
|
|
45
|
+
---
|
|
46
|
+
Indicates whether a person at the thermostat can change the thermostat's settings.`),
|
|
45
47
|
});
|
|
46
48
|
export const climate_setting = climate_preset.partial();
|
|
47
49
|
//# sourceMappingURL=climate-preset.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"climate-preset.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/climate-preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEhE,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,kBAAkB,EAAE,CAAC;SAClB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,QAAQ,EAAE,CAAC;SACR,OAAO,EAAE;SACT,QAAQ,CAAC,0DAA0D,CAAC;IACvE,UAAU,EAAE,CAAC;SACV,OAAO,EAAE;SACT,QAAQ,CAAC,2DAA2D,CAAC;IACxE,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,EAAE;SACV,QAAQ,CAAC,oDAAoD,CAAC;IACjE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;IACzE,gBAAgB,EAAE,gBAAgB;SAC/B,QAAQ,EAAE;SACV,QAAQ,CACP,iEAAiE,CAClE;IACH,iBAAiB,EAAE,iBAAiB;SACjC,QAAQ,EAAE;SACV,QAAQ,CACP,oLAAoL,CACrL;IACH,yBAAyB,EAAE,CAAC;SACzB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,yLAAyL,CAC1L;IACH,yBAAyB,EAAE,CAAC;SACzB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,4BAA4B,EAAE,CAAC;SAC5B,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,4BAA4B,EAAE,CAAC;SAC5B,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,uBAAuB,EAAE,CAAC
|
|
1
|
+
{"version":3,"file":"climate-preset.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/climate-preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEhE,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,kBAAkB,EAAE,CAAC;SAClB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,QAAQ,EAAE,CAAC;SACR,OAAO,EAAE;SACT,QAAQ,CAAC,0DAA0D,CAAC;IACvE,UAAU,EAAE,CAAC;SACV,OAAO,EAAE;SACT,QAAQ,CAAC,2DAA2D,CAAC;IACxE,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,EAAE;SACV,QAAQ,CAAC,oDAAoD,CAAC;IACjE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;IACzE,gBAAgB,EAAE,gBAAgB;SAC/B,QAAQ,EAAE;SACV,QAAQ,CACP,iEAAiE,CAClE;IACH,iBAAiB,EAAE,iBAAiB;SACjC,QAAQ,EAAE;SACV,QAAQ,CACP,oLAAoL,CACrL;IACH,yBAAyB,EAAE,CAAC;SACzB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,yLAAyL,CAC1L;IACH,yBAAyB,EAAE,CAAC;SACzB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,4BAA4B,EAAE,CAAC;SAC5B,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,4BAA4B,EAAE,CAAC;SAC5B,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAC3C;;;;yFAIqF,CACtF;CACF,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,EAAE,CAAA"}
|
|
@@ -6,6 +6,7 @@ export declare const thermostat_schedule: z.ZodObject<{
|
|
|
6
6
|
climate_preset_key: z.ZodString;
|
|
7
7
|
max_override_period_minutes: z.ZodNumber;
|
|
8
8
|
starts_at: z.ZodString;
|
|
9
|
+
unstable_is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
9
10
|
ends_at: z.ZodString;
|
|
10
11
|
created_at: z.ZodString;
|
|
11
12
|
errors: z.ZodAny;
|
|
@@ -19,6 +20,7 @@ export declare const thermostat_schedule: z.ZodObject<{
|
|
|
19
20
|
ends_at: string;
|
|
20
21
|
name?: string | undefined;
|
|
21
22
|
errors?: any;
|
|
23
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
22
24
|
}, {
|
|
23
25
|
created_at: string;
|
|
24
26
|
climate_preset_key: string;
|
|
@@ -29,5 +31,6 @@ export declare const thermostat_schedule: z.ZodObject<{
|
|
|
29
31
|
ends_at: string;
|
|
30
32
|
name?: string | undefined;
|
|
31
33
|
errors?: any;
|
|
34
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
32
35
|
}>;
|
|
33
36
|
export type ThermostatSchedule = z.infer<typeof thermostat_schedule>;
|
|
@@ -25,6 +25,14 @@ export const thermostat_schedule = z
|
|
|
25
25
|
.string()
|
|
26
26
|
.datetime()
|
|
27
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.'),
|
|
28
|
+
unstable_is_override_allowed: z
|
|
29
|
+
.boolean()
|
|
30
|
+
.optional()
|
|
31
|
+
.describe(`
|
|
32
|
+
---
|
|
33
|
+
undocumented: Unstable
|
|
34
|
+
---
|
|
35
|
+
Indicates whether a person at the thermostat can change the thermostat's settings.`),
|
|
28
36
|
ends_at: z
|
|
29
37
|
.string()
|
|
30
38
|
.datetime()
|
|
@@ -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;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"}
|
|
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,4BAA4B,EAAE,CAAC;SAC5B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP;;;;2FAImF,CACpF;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"}
|
|
@@ -3303,6 +3303,11 @@ declare const _default: {
|
|
|
3303
3303
|
format: string;
|
|
3304
3304
|
type: string;
|
|
3305
3305
|
};
|
|
3306
|
+
unstable_is_override_allowed: {
|
|
3307
|
+
description: string;
|
|
3308
|
+
type: string;
|
|
3309
|
+
'x-undocumented': string;
|
|
3310
|
+
};
|
|
3306
3311
|
};
|
|
3307
3312
|
required: string[];
|
|
3308
3313
|
type: string;
|
|
@@ -3357,8 +3362,10 @@ declare const _default: {
|
|
|
3357
3362
|
type: string;
|
|
3358
3363
|
};
|
|
3359
3364
|
manual_override_allowed: {
|
|
3365
|
+
deprecated: boolean;
|
|
3360
3366
|
description: string;
|
|
3361
3367
|
type: string;
|
|
3368
|
+
'x-deprecated': string;
|
|
3362
3369
|
};
|
|
3363
3370
|
name: {
|
|
3364
3371
|
default: null;
|
|
@@ -3435,8 +3442,10 @@ declare const _default: {
|
|
|
3435
3442
|
type: string;
|
|
3436
3443
|
};
|
|
3437
3444
|
manual_override_allowed: {
|
|
3445
|
+
deprecated: boolean;
|
|
3438
3446
|
description: string;
|
|
3439
3447
|
type: string;
|
|
3448
|
+
'x-deprecated': string;
|
|
3440
3449
|
};
|
|
3441
3450
|
name: {
|
|
3442
3451
|
default: null;
|
|
@@ -3497,8 +3506,10 @@ declare const _default: {
|
|
|
3497
3506
|
type: string;
|
|
3498
3507
|
};
|
|
3499
3508
|
manual_override_allowed: {
|
|
3509
|
+
deprecated: boolean;
|
|
3500
3510
|
description: string;
|
|
3501
3511
|
type: string;
|
|
3512
|
+
'x-deprecated': string;
|
|
3502
3513
|
};
|
|
3503
3514
|
name: {
|
|
3504
3515
|
default: null;
|
|
@@ -4126,6 +4137,11 @@ declare const _default: {
|
|
|
4126
4137
|
format: string;
|
|
4127
4138
|
type: string;
|
|
4128
4139
|
};
|
|
4140
|
+
unstable_is_override_allowed: {
|
|
4141
|
+
description: string;
|
|
4142
|
+
type: string;
|
|
4143
|
+
'x-undocumented': string;
|
|
4144
|
+
};
|
|
4129
4145
|
};
|
|
4130
4146
|
required: string[];
|
|
4131
4147
|
type: string;
|
|
@@ -16232,7 +16248,7 @@ declare const _default: {
|
|
|
16232
16248
|
type: string;
|
|
16233
16249
|
};
|
|
16234
16250
|
manual_override_allowed: {
|
|
16235
|
-
|
|
16251
|
+
default: boolean;
|
|
16236
16252
|
type: string;
|
|
16237
16253
|
};
|
|
16238
16254
|
name: {
|
|
@@ -16915,6 +16931,10 @@ declare const _default: {
|
|
|
16915
16931
|
description: string;
|
|
16916
16932
|
type: string;
|
|
16917
16933
|
};
|
|
16934
|
+
is_override_allowed: {
|
|
16935
|
+
default: boolean;
|
|
16936
|
+
type: string;
|
|
16937
|
+
};
|
|
16918
16938
|
max_override_period_minutes: {
|
|
16919
16939
|
default: number;
|
|
16920
16940
|
description: string;
|
|
@@ -17247,6 +17267,9 @@ declare const _default: {
|
|
|
17247
17267
|
description: string;
|
|
17248
17268
|
type: string;
|
|
17249
17269
|
};
|
|
17270
|
+
is_override_allowed: {
|
|
17271
|
+
type: string;
|
|
17272
|
+
};
|
|
17250
17273
|
max_override_period_minutes: {
|
|
17251
17274
|
description: string;
|
|
17252
17275
|
minimum: number;
|
|
@@ -17339,6 +17362,9 @@ declare const _default: {
|
|
|
17339
17362
|
description: string;
|
|
17340
17363
|
type: string;
|
|
17341
17364
|
};
|
|
17365
|
+
is_override_allowed: {
|
|
17366
|
+
type: string;
|
|
17367
|
+
};
|
|
17342
17368
|
max_override_period_minutes: {
|
|
17343
17369
|
description: string;
|
|
17344
17370
|
minimum: number;
|
|
@@ -17814,8 +17840,10 @@ declare const _default: {
|
|
|
17814
17840
|
type: string;
|
|
17815
17841
|
};
|
|
17816
17842
|
manual_override_allowed: {
|
|
17843
|
+
deprecated: boolean;
|
|
17817
17844
|
description: string;
|
|
17818
17845
|
type: string;
|
|
17846
|
+
'x-deprecated': string;
|
|
17819
17847
|
};
|
|
17820
17848
|
name: {
|
|
17821
17849
|
default: null;
|
|
@@ -17921,8 +17949,10 @@ declare const _default: {
|
|
|
17921
17949
|
type: string;
|
|
17922
17950
|
};
|
|
17923
17951
|
manual_override_allowed: {
|
|
17952
|
+
deprecated: boolean;
|
|
17924
17953
|
description: string;
|
|
17925
17954
|
type: string;
|
|
17955
|
+
'x-deprecated': string;
|
|
17926
17956
|
};
|
|
17927
17957
|
name: {
|
|
17928
17958
|
default: null;
|
|
@@ -4457,6 +4457,11 @@ export default {
|
|
|
4457
4457
|
format: 'uuid',
|
|
4458
4458
|
type: 'string',
|
|
4459
4459
|
},
|
|
4460
|
+
unstable_is_override_allowed: {
|
|
4461
|
+
description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
|
|
4462
|
+
type: 'boolean',
|
|
4463
|
+
'x-undocumented': 'Unstable',
|
|
4464
|
+
},
|
|
4460
4465
|
},
|
|
4461
4466
|
required: [
|
|
4462
4467
|
'thermostat_schedule_id',
|
|
@@ -4519,8 +4524,10 @@ export default {
|
|
|
4519
4524
|
type: 'string',
|
|
4520
4525
|
},
|
|
4521
4526
|
manual_override_allowed: {
|
|
4527
|
+
deprecated: true,
|
|
4522
4528
|
description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
|
|
4523
4529
|
type: 'boolean',
|
|
4530
|
+
'x-deprecated': "Use 'thermostat_schedule.is_override_allowed'",
|
|
4524
4531
|
},
|
|
4525
4532
|
name: {
|
|
4526
4533
|
default: null,
|
|
@@ -4603,8 +4610,10 @@ export default {
|
|
|
4603
4610
|
type: 'string',
|
|
4604
4611
|
},
|
|
4605
4612
|
manual_override_allowed: {
|
|
4613
|
+
deprecated: true,
|
|
4606
4614
|
description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
|
|
4607
4615
|
type: 'boolean',
|
|
4616
|
+
'x-deprecated': "Use 'thermostat_schedule.is_override_allowed'",
|
|
4608
4617
|
},
|
|
4609
4618
|
name: {
|
|
4610
4619
|
default: null,
|
|
@@ -4665,8 +4674,10 @@ export default {
|
|
|
4665
4674
|
type: 'string',
|
|
4666
4675
|
},
|
|
4667
4676
|
manual_override_allowed: {
|
|
4677
|
+
deprecated: true,
|
|
4668
4678
|
description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
|
|
4669
4679
|
type: 'boolean',
|
|
4680
|
+
'x-deprecated': "Use 'thermostat_schedule.is_override_allowed'",
|
|
4670
4681
|
},
|
|
4671
4682
|
name: {
|
|
4672
4683
|
default: null,
|
|
@@ -5206,6 +5217,11 @@ export default {
|
|
|
5206
5217
|
format: 'uuid',
|
|
5207
5218
|
type: 'string',
|
|
5208
5219
|
},
|
|
5220
|
+
unstable_is_override_allowed: {
|
|
5221
|
+
description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
|
|
5222
|
+
type: 'boolean',
|
|
5223
|
+
'x-undocumented': 'Unstable',
|
|
5224
|
+
},
|
|
5209
5225
|
},
|
|
5210
5226
|
required: [
|
|
5211
5227
|
'thermostat_schedule_id',
|
|
@@ -15338,10 +15354,7 @@ export default {
|
|
|
15338
15354
|
enum: ['off', 'heat', 'cool', 'heat_cool'],
|
|
15339
15355
|
type: 'string',
|
|
15340
15356
|
},
|
|
15341
|
-
manual_override_allowed: {
|
|
15342
|
-
description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
|
|
15343
|
-
type: 'boolean',
|
|
15344
|
-
},
|
|
15357
|
+
manual_override_allowed: { default: true, type: 'boolean' },
|
|
15345
15358
|
name: {
|
|
15346
15359
|
default: null,
|
|
15347
15360
|
description: 'User-friendly name to identify the climate preset.',
|
|
@@ -15349,11 +15362,7 @@ export default {
|
|
|
15349
15362
|
type: 'string',
|
|
15350
15363
|
},
|
|
15351
15364
|
},
|
|
15352
|
-
required: [
|
|
15353
|
-
'device_id',
|
|
15354
|
-
'climate_preset_key',
|
|
15355
|
-
'manual_override_allowed',
|
|
15356
|
-
],
|
|
15365
|
+
required: ['device_id', 'climate_preset_key'],
|
|
15357
15366
|
type: 'object',
|
|
15358
15367
|
},
|
|
15359
15368
|
},
|
|
@@ -16038,6 +16047,7 @@ export default {
|
|
|
16038
16047
|
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.',
|
|
16039
16048
|
type: 'string',
|
|
16040
16049
|
},
|
|
16050
|
+
is_override_allowed: { default: false, type: 'boolean' },
|
|
16041
16051
|
max_override_period_minutes: {
|
|
16042
16052
|
default: 0,
|
|
16043
16053
|
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).",
|
|
@@ -16289,6 +16299,7 @@ export default {
|
|
|
16289
16299
|
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.',
|
|
16290
16300
|
type: 'string',
|
|
16291
16301
|
},
|
|
16302
|
+
is_override_allowed: { type: 'boolean' },
|
|
16292
16303
|
max_override_period_minutes: {
|
|
16293
16304
|
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).",
|
|
16294
16305
|
minimum: 0,
|
|
@@ -16358,6 +16369,7 @@ export default {
|
|
|
16358
16369
|
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.',
|
|
16359
16370
|
type: 'string',
|
|
16360
16371
|
},
|
|
16372
|
+
is_override_allowed: { type: 'boolean' },
|
|
16361
16373
|
max_override_period_minutes: {
|
|
16362
16374
|
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).",
|
|
16363
16375
|
minimum: 0,
|
|
@@ -16738,8 +16750,10 @@ export default {
|
|
|
16738
16750
|
type: 'string',
|
|
16739
16751
|
},
|
|
16740
16752
|
manual_override_allowed: {
|
|
16753
|
+
deprecated: true,
|
|
16741
16754
|
description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
|
|
16742
16755
|
type: 'boolean',
|
|
16756
|
+
'x-deprecated': "Use 'thermostat_schedule.is_override_allowed'",
|
|
16743
16757
|
},
|
|
16744
16758
|
name: {
|
|
16745
16759
|
default: null,
|
|
@@ -16833,8 +16847,10 @@ export default {
|
|
|
16833
16847
|
type: 'string',
|
|
16834
16848
|
},
|
|
16835
16849
|
manual_override_allowed: {
|
|
16850
|
+
deprecated: true,
|
|
16836
16851
|
description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
|
|
16837
16852
|
type: 'boolean',
|
|
16853
|
+
'x-deprecated': "Use 'thermostat_schedule.is_override_allowed'",
|
|
16838
16854
|
},
|
|
16839
16855
|
name: {
|
|
16840
16856
|
default: null,
|