@seamapi/types 1.253.0 → 1.253.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 +1 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +50 -50
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -5
- package/lib/seam/connect/models/devices/device.d.ts +6 -6
- package/lib/seam/connect/models/devices/phone.d.ts +5 -5
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
- package/lib/seam/connect/models/events/devices.d.ts +1 -1
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +3 -3
- package/lib/seam/connect/models/thermostats/climate-preset.js +1 -1
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +39 -39
- package/package.json +1 -1
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +1 -1
- package/src/lib/seam/connect/route-types.ts +39 -39
|
@@ -1366,7 +1366,7 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1366
1366
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
1367
1367
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
1368
1368
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
1369
|
-
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString
|
|
1369
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
|
|
1370
1370
|
display_name: z.ZodOptional<z.ZodString>;
|
|
1371
1371
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
|
|
1372
1372
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -1406,7 +1406,7 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1406
1406
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
1407
1407
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
1408
1408
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
1409
|
-
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString
|
|
1409
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
|
|
1410
1410
|
display_name: z.ZodOptional<z.ZodString>;
|
|
1411
1411
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
|
|
1412
1412
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -1446,7 +1446,7 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1446
1446
|
climate_preset_key: z.ZodString;
|
|
1447
1447
|
can_edit: z.ZodBoolean;
|
|
1448
1448
|
can_delete: z.ZodBoolean;
|
|
1449
|
-
name: z.ZodDefault<z.ZodNullable<z.ZodString
|
|
1449
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
1450
1450
|
display_name: z.ZodString;
|
|
1451
1451
|
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>;
|
|
1452
1452
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -1456,12 +1456,12 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1456
1456
|
heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1457
1457
|
manual_override_allowed: z.ZodBoolean;
|
|
1458
1458
|
}, "strip", z.ZodTypeAny, {
|
|
1459
|
-
name: string | null;
|
|
1460
1459
|
climate_preset_key: string;
|
|
1461
1460
|
can_edit: boolean;
|
|
1462
1461
|
can_delete: boolean;
|
|
1463
1462
|
display_name: string;
|
|
1464
1463
|
manual_override_allowed: boolean;
|
|
1464
|
+
name?: string | null | undefined;
|
|
1465
1465
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1466
1466
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1467
1467
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -1564,12 +1564,12 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1564
1564
|
manual_override_allowed?: boolean | undefined;
|
|
1565
1565
|
} | undefined;
|
|
1566
1566
|
available_climate_presets?: {
|
|
1567
|
-
name: string | null;
|
|
1568
1567
|
climate_preset_key: string;
|
|
1569
1568
|
can_edit: boolean;
|
|
1570
1569
|
can_delete: boolean;
|
|
1571
1570
|
display_name: string;
|
|
1572
1571
|
manual_override_allowed: boolean;
|
|
1572
|
+
name?: string | null | undefined;
|
|
1573
1573
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1574
1574
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1575
1575
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -1365,7 +1365,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1365
1365
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
1366
1366
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
1367
1367
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
1368
|
-
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString
|
|
1368
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
|
|
1369
1369
|
display_name: z.ZodOptional<z.ZodString>;
|
|
1370
1370
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
|
|
1371
1371
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -1405,7 +1405,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1405
1405
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
1406
1406
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
1407
1407
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
1408
|
-
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString
|
|
1408
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
|
|
1409
1409
|
display_name: z.ZodOptional<z.ZodString>;
|
|
1410
1410
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
|
|
1411
1411
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -1445,7 +1445,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1445
1445
|
climate_preset_key: z.ZodString;
|
|
1446
1446
|
can_edit: z.ZodBoolean;
|
|
1447
1447
|
can_delete: z.ZodBoolean;
|
|
1448
|
-
name: z.ZodDefault<z.ZodNullable<z.ZodString
|
|
1448
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
1449
1449
|
display_name: z.ZodString;
|
|
1450
1450
|
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>;
|
|
1451
1451
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -1455,12 +1455,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1455
1455
|
heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1456
1456
|
manual_override_allowed: z.ZodBoolean;
|
|
1457
1457
|
}, "strip", z.ZodTypeAny, {
|
|
1458
|
-
name: string | null;
|
|
1459
1458
|
climate_preset_key: string;
|
|
1460
1459
|
can_edit: boolean;
|
|
1461
1460
|
can_delete: boolean;
|
|
1462
1461
|
display_name: string;
|
|
1463
1462
|
manual_override_allowed: boolean;
|
|
1463
|
+
name?: string | null | undefined;
|
|
1464
1464
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1465
1465
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1466
1466
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -1563,12 +1563,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1563
1563
|
manual_override_allowed?: boolean | undefined;
|
|
1564
1564
|
} | undefined;
|
|
1565
1565
|
available_climate_presets?: {
|
|
1566
|
-
name: string | null;
|
|
1567
1566
|
climate_preset_key: string;
|
|
1568
1567
|
can_edit: boolean;
|
|
1569
1568
|
can_delete: boolean;
|
|
1570
1569
|
display_name: string;
|
|
1571
1570
|
manual_override_allowed: boolean;
|
|
1571
|
+
name?: string | null | undefined;
|
|
1572
1572
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1573
1573
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1574
1574
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -804,7 +804,7 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUti
|
|
|
804
804
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
805
805
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
806
806
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
807
|
-
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString
|
|
807
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
|
|
808
808
|
display_name: z.ZodOptional<z.ZodString>;
|
|
809
809
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
|
|
810
810
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -3,7 +3,7 @@ export declare const climate_preset: z.ZodObject<{
|
|
|
3
3
|
climate_preset_key: z.ZodString;
|
|
4
4
|
can_edit: z.ZodBoolean;
|
|
5
5
|
can_delete: z.ZodBoolean;
|
|
6
|
-
name: z.ZodDefault<z.ZodNullable<z.ZodString
|
|
6
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
7
7
|
display_name: z.ZodString;
|
|
8
8
|
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>;
|
|
9
9
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -13,12 +13,12 @@ export declare const climate_preset: z.ZodObject<{
|
|
|
13
13
|
heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
14
14
|
manual_override_allowed: z.ZodBoolean;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
name: string | null;
|
|
17
16
|
climate_preset_key: string;
|
|
18
17
|
can_edit: boolean;
|
|
19
18
|
can_delete: boolean;
|
|
20
19
|
display_name: string;
|
|
21
20
|
manual_override_allowed: boolean;
|
|
21
|
+
name?: string | null | undefined;
|
|
22
22
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
23
23
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
24
24
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -44,7 +44,7 @@ export declare const climate_setting: z.ZodObject<{
|
|
|
44
44
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
45
45
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
46
46
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
-
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString
|
|
47
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
|
|
48
48
|
display_name: z.ZodOptional<z.ZodString>;
|
|
49
49
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
|
|
50
50
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -4,7 +4,7 @@ export const climate_preset = z.object({
|
|
|
4
4
|
climate_preset_key: z.string(),
|
|
5
5
|
can_edit: z.boolean(),
|
|
6
6
|
can_delete: z.boolean(),
|
|
7
|
-
name: z.string().nullable().default(null),
|
|
7
|
+
name: z.string().nullable().default(null).optional(),
|
|
8
8
|
display_name: z.string(),
|
|
9
9
|
fan_mode_setting: fan_mode_setting.optional(),
|
|
10
10
|
hvac_mode_setting: hvac_mode_setting.optional(),
|
|
@@ -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,CAAC,MAAM,EAAE;IAC9B,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,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,CAAC,MAAM,EAAE;IAC9B,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IACpD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,gBAAgB,EAAE,gBAAgB,CAAC,QAAQ,EAAE;IAC7C,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,EAAE;IAC/C,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChD,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChD,4BAA4B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnD,4BAA4B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE;CACrC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,EAAE,CAAA"}
|
|
@@ -6300,7 +6300,7 @@ export interface Routes {
|
|
|
6300
6300
|
climate_preset_key?: string | undefined;
|
|
6301
6301
|
can_edit?: boolean | undefined;
|
|
6302
6302
|
can_delete?: boolean | undefined;
|
|
6303
|
-
name?: (string | null) | undefined;
|
|
6303
|
+
name?: ((string | null) | undefined) | undefined;
|
|
6304
6304
|
display_name?: string | undefined;
|
|
6305
6305
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
6306
6306
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -6316,7 +6316,7 @@ export interface Routes {
|
|
|
6316
6316
|
climate_preset_key?: string | undefined;
|
|
6317
6317
|
can_edit?: boolean | undefined;
|
|
6318
6318
|
can_delete?: boolean | undefined;
|
|
6319
|
-
name?: (string | null) | undefined;
|
|
6319
|
+
name?: ((string | null) | undefined) | undefined;
|
|
6320
6320
|
display_name?: string | undefined;
|
|
6321
6321
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
6322
6322
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -6330,7 +6330,7 @@ export interface Routes {
|
|
|
6330
6330
|
climate_preset_key: string;
|
|
6331
6331
|
can_edit: boolean;
|
|
6332
6332
|
can_delete: boolean;
|
|
6333
|
-
name?: string | null;
|
|
6333
|
+
name?: (string | null) | undefined;
|
|
6334
6334
|
display_name: string;
|
|
6335
6335
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
6336
6336
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
@@ -6760,7 +6760,7 @@ export interface Routes {
|
|
|
6760
6760
|
climate_preset_key?: string | undefined;
|
|
6761
6761
|
can_edit?: boolean | undefined;
|
|
6762
6762
|
can_delete?: boolean | undefined;
|
|
6763
|
-
name?: (string | null) | undefined;
|
|
6763
|
+
name?: ((string | null) | undefined) | undefined;
|
|
6764
6764
|
display_name?: string | undefined;
|
|
6765
6765
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
6766
6766
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -6776,7 +6776,7 @@ export interface Routes {
|
|
|
6776
6776
|
climate_preset_key?: string | undefined;
|
|
6777
6777
|
can_edit?: boolean | undefined;
|
|
6778
6778
|
can_delete?: boolean | undefined;
|
|
6779
|
-
name?: (string | null) | undefined;
|
|
6779
|
+
name?: ((string | null) | undefined) | undefined;
|
|
6780
6780
|
display_name?: string | undefined;
|
|
6781
6781
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
6782
6782
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -6790,7 +6790,7 @@ export interface Routes {
|
|
|
6790
6790
|
climate_preset_key: string;
|
|
6791
6791
|
can_edit: boolean;
|
|
6792
6792
|
can_delete: boolean;
|
|
6793
|
-
name?: string | null;
|
|
6793
|
+
name?: (string | null) | undefined;
|
|
6794
6794
|
display_name: string;
|
|
6795
6795
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
6796
6796
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
@@ -7600,7 +7600,7 @@ export interface Routes {
|
|
|
7600
7600
|
climate_preset_key?: string | undefined;
|
|
7601
7601
|
can_edit?: boolean | undefined;
|
|
7602
7602
|
can_delete?: boolean | undefined;
|
|
7603
|
-
name?: (string | null) | undefined;
|
|
7603
|
+
name?: ((string | null) | undefined) | undefined;
|
|
7604
7604
|
display_name?: string | undefined;
|
|
7605
7605
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
7606
7606
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -7616,7 +7616,7 @@ export interface Routes {
|
|
|
7616
7616
|
climate_preset_key?: string | undefined;
|
|
7617
7617
|
can_edit?: boolean | undefined;
|
|
7618
7618
|
can_delete?: boolean | undefined;
|
|
7619
|
-
name?: (string | null) | undefined;
|
|
7619
|
+
name?: ((string | null) | undefined) | undefined;
|
|
7620
7620
|
display_name?: string | undefined;
|
|
7621
7621
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
7622
7622
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -7630,7 +7630,7 @@ export interface Routes {
|
|
|
7630
7630
|
climate_preset_key: string;
|
|
7631
7631
|
can_edit: boolean;
|
|
7632
7632
|
can_delete: boolean;
|
|
7633
|
-
name?: string | null;
|
|
7633
|
+
name?: (string | null) | undefined;
|
|
7634
7634
|
display_name: string;
|
|
7635
7635
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
7636
7636
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
@@ -8035,7 +8035,7 @@ export interface Routes {
|
|
|
8035
8035
|
climate_preset_key?: string | undefined;
|
|
8036
8036
|
can_edit?: boolean | undefined;
|
|
8037
8037
|
can_delete?: boolean | undefined;
|
|
8038
|
-
name?: (string | null) | undefined;
|
|
8038
|
+
name?: ((string | null) | undefined) | undefined;
|
|
8039
8039
|
display_name?: string | undefined;
|
|
8040
8040
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
8041
8041
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -8051,7 +8051,7 @@ export interface Routes {
|
|
|
8051
8051
|
climate_preset_key?: string | undefined;
|
|
8052
8052
|
can_edit?: boolean | undefined;
|
|
8053
8053
|
can_delete?: boolean | undefined;
|
|
8054
|
-
name?: (string | null) | undefined;
|
|
8054
|
+
name?: ((string | null) | undefined) | undefined;
|
|
8055
8055
|
display_name?: string | undefined;
|
|
8056
8056
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
8057
8057
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -8065,7 +8065,7 @@ export interface Routes {
|
|
|
8065
8065
|
climate_preset_key: string;
|
|
8066
8066
|
can_edit: boolean;
|
|
8067
8067
|
can_delete: boolean;
|
|
8068
|
-
name?: string | null;
|
|
8068
|
+
name?: (string | null) | undefined;
|
|
8069
8069
|
display_name: string;
|
|
8070
8070
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
8071
8071
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
@@ -8495,7 +8495,7 @@ export interface Routes {
|
|
|
8495
8495
|
climate_preset_key?: string | undefined;
|
|
8496
8496
|
can_edit?: boolean | undefined;
|
|
8497
8497
|
can_delete?: boolean | undefined;
|
|
8498
|
-
name?: (string | null) | undefined;
|
|
8498
|
+
name?: ((string | null) | undefined) | undefined;
|
|
8499
8499
|
display_name?: string | undefined;
|
|
8500
8500
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
8501
8501
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -8511,7 +8511,7 @@ export interface Routes {
|
|
|
8511
8511
|
climate_preset_key?: string | undefined;
|
|
8512
8512
|
can_edit?: boolean | undefined;
|
|
8513
8513
|
can_delete?: boolean | undefined;
|
|
8514
|
-
name?: (string | null) | undefined;
|
|
8514
|
+
name?: ((string | null) | undefined) | undefined;
|
|
8515
8515
|
display_name?: string | undefined;
|
|
8516
8516
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
8517
8517
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -8525,7 +8525,7 @@ export interface Routes {
|
|
|
8525
8525
|
climate_preset_key: string;
|
|
8526
8526
|
can_edit: boolean;
|
|
8527
8527
|
can_delete: boolean;
|
|
8528
|
-
name?: string | null;
|
|
8528
|
+
name?: (string | null) | undefined;
|
|
8529
8529
|
display_name: string;
|
|
8530
8530
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
8531
8531
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
@@ -8930,7 +8930,7 @@ export interface Routes {
|
|
|
8930
8930
|
climate_preset_key?: string | undefined;
|
|
8931
8931
|
can_edit?: boolean | undefined;
|
|
8932
8932
|
can_delete?: boolean | undefined;
|
|
8933
|
-
name?: (string | null) | undefined;
|
|
8933
|
+
name?: ((string | null) | undefined) | undefined;
|
|
8934
8934
|
display_name?: string | undefined;
|
|
8935
8935
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
8936
8936
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -8946,7 +8946,7 @@ export interface Routes {
|
|
|
8946
8946
|
climate_preset_key?: string | undefined;
|
|
8947
8947
|
can_edit?: boolean | undefined;
|
|
8948
8948
|
can_delete?: boolean | undefined;
|
|
8949
|
-
name?: (string | null) | undefined;
|
|
8949
|
+
name?: ((string | null) | undefined) | undefined;
|
|
8950
8950
|
display_name?: string | undefined;
|
|
8951
8951
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
8952
8952
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -8960,7 +8960,7 @@ export interface Routes {
|
|
|
8960
8960
|
climate_preset_key: string;
|
|
8961
8961
|
can_edit: boolean;
|
|
8962
8962
|
can_delete: boolean;
|
|
8963
|
-
name?: string | null;
|
|
8963
|
+
name?: (string | null) | undefined;
|
|
8964
8964
|
display_name: string;
|
|
8965
8965
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
8966
8966
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
@@ -10278,7 +10278,7 @@ export interface Routes {
|
|
|
10278
10278
|
climate_preset_key?: string | undefined;
|
|
10279
10279
|
can_edit?: boolean | undefined;
|
|
10280
10280
|
can_delete?: boolean | undefined;
|
|
10281
|
-
name?: (string | null) | undefined;
|
|
10281
|
+
name?: ((string | null) | undefined) | undefined;
|
|
10282
10282
|
display_name?: string | undefined;
|
|
10283
10283
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
10284
10284
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -10294,7 +10294,7 @@ export interface Routes {
|
|
|
10294
10294
|
climate_preset_key?: string | undefined;
|
|
10295
10295
|
can_edit?: boolean | undefined;
|
|
10296
10296
|
can_delete?: boolean | undefined;
|
|
10297
|
-
name?: (string | null) | undefined;
|
|
10297
|
+
name?: ((string | null) | undefined) | undefined;
|
|
10298
10298
|
display_name?: string | undefined;
|
|
10299
10299
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
10300
10300
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -10308,7 +10308,7 @@ export interface Routes {
|
|
|
10308
10308
|
climate_preset_key: string;
|
|
10309
10309
|
can_edit: boolean;
|
|
10310
10310
|
can_delete: boolean;
|
|
10311
|
-
name?: string | null;
|
|
10311
|
+
name?: (string | null) | undefined;
|
|
10312
10312
|
display_name: string;
|
|
10313
10313
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
10314
10314
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
@@ -10713,7 +10713,7 @@ export interface Routes {
|
|
|
10713
10713
|
climate_preset_key?: string | undefined;
|
|
10714
10714
|
can_edit?: boolean | undefined;
|
|
10715
10715
|
can_delete?: boolean | undefined;
|
|
10716
|
-
name?: (string | null) | undefined;
|
|
10716
|
+
name?: ((string | null) | undefined) | undefined;
|
|
10717
10717
|
display_name?: string | undefined;
|
|
10718
10718
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
10719
10719
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -10729,7 +10729,7 @@ export interface Routes {
|
|
|
10729
10729
|
climate_preset_key?: string | undefined;
|
|
10730
10730
|
can_edit?: boolean | undefined;
|
|
10731
10731
|
can_delete?: boolean | undefined;
|
|
10732
|
-
name?: (string | null) | undefined;
|
|
10732
|
+
name?: ((string | null) | undefined) | undefined;
|
|
10733
10733
|
display_name?: string | undefined;
|
|
10734
10734
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
10735
10735
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -10743,7 +10743,7 @@ export interface Routes {
|
|
|
10743
10743
|
climate_preset_key: string;
|
|
10744
10744
|
can_edit: boolean;
|
|
10745
10745
|
can_delete: boolean;
|
|
10746
|
-
name?: string | null;
|
|
10746
|
+
name?: (string | null) | undefined;
|
|
10747
10747
|
display_name: string;
|
|
10748
10748
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
10749
10749
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
@@ -13212,7 +13212,7 @@ export interface Routes {
|
|
|
13212
13212
|
jsonBody: {
|
|
13213
13213
|
device_id: string;
|
|
13214
13214
|
climate_preset_key: string;
|
|
13215
|
-
name?: string | null;
|
|
13215
|
+
name?: (string | null) | undefined;
|
|
13216
13216
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
13217
13217
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
13218
13218
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -13228,7 +13228,7 @@ export interface Routes {
|
|
|
13228
13228
|
climate_preset_key: string;
|
|
13229
13229
|
can_edit: boolean;
|
|
13230
13230
|
can_delete: boolean;
|
|
13231
|
-
name?: string | null;
|
|
13231
|
+
name?: (string | null) | undefined;
|
|
13232
13232
|
display_name: string;
|
|
13233
13233
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
13234
13234
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
@@ -13591,7 +13591,7 @@ export interface Routes {
|
|
|
13591
13591
|
climate_preset_key?: string | undefined;
|
|
13592
13592
|
can_edit?: boolean | undefined;
|
|
13593
13593
|
can_delete?: boolean | undefined;
|
|
13594
|
-
name?: (string | null) | undefined;
|
|
13594
|
+
name?: ((string | null) | undefined) | undefined;
|
|
13595
13595
|
display_name?: string | undefined;
|
|
13596
13596
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
13597
13597
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -13607,7 +13607,7 @@ export interface Routes {
|
|
|
13607
13607
|
climate_preset_key?: string | undefined;
|
|
13608
13608
|
can_edit?: boolean | undefined;
|
|
13609
13609
|
can_delete?: boolean | undefined;
|
|
13610
|
-
name?: (string | null) | undefined;
|
|
13610
|
+
name?: ((string | null) | undefined) | undefined;
|
|
13611
13611
|
display_name?: string | undefined;
|
|
13612
13612
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
13613
13613
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -13621,7 +13621,7 @@ export interface Routes {
|
|
|
13621
13621
|
climate_preset_key: string;
|
|
13622
13622
|
can_edit: boolean;
|
|
13623
13623
|
can_delete: boolean;
|
|
13624
|
-
name?: string | null;
|
|
13624
|
+
name?: (string | null) | undefined;
|
|
13625
13625
|
display_name: string;
|
|
13626
13626
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
13627
13627
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
@@ -14911,7 +14911,7 @@ export interface Routes {
|
|
|
14911
14911
|
climate_preset_key?: string | undefined;
|
|
14912
14912
|
can_edit?: boolean | undefined;
|
|
14913
14913
|
can_delete?: boolean | undefined;
|
|
14914
|
-
name?: (string | null) | undefined;
|
|
14914
|
+
name?: ((string | null) | undefined) | undefined;
|
|
14915
14915
|
display_name?: string | undefined;
|
|
14916
14916
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
14917
14917
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -14927,7 +14927,7 @@ export interface Routes {
|
|
|
14927
14927
|
climate_preset_key?: string | undefined;
|
|
14928
14928
|
can_edit?: boolean | undefined;
|
|
14929
14929
|
can_delete?: boolean | undefined;
|
|
14930
|
-
name?: (string | null) | undefined;
|
|
14930
|
+
name?: ((string | null) | undefined) | undefined;
|
|
14931
14931
|
display_name?: string | undefined;
|
|
14932
14932
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
14933
14933
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -14941,7 +14941,7 @@ export interface Routes {
|
|
|
14941
14941
|
climate_preset_key: string;
|
|
14942
14942
|
can_edit: boolean;
|
|
14943
14943
|
can_delete: boolean;
|
|
14944
|
-
name?: string | null;
|
|
14944
|
+
name?: (string | null) | undefined;
|
|
14945
14945
|
display_name: string;
|
|
14946
14946
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
14947
14947
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
@@ -16002,7 +16002,7 @@ export interface Routes {
|
|
|
16002
16002
|
jsonBody: {
|
|
16003
16003
|
device_id: string;
|
|
16004
16004
|
climate_preset_key: string;
|
|
16005
|
-
name?: string | null;
|
|
16005
|
+
name?: (string | null) | undefined;
|
|
16006
16006
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
16007
16007
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
16008
16008
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -16532,7 +16532,7 @@ export interface Routes {
|
|
|
16532
16532
|
climate_preset_key?: string | undefined;
|
|
16533
16533
|
can_edit?: boolean | undefined;
|
|
16534
16534
|
can_delete?: boolean | undefined;
|
|
16535
|
-
name?: (string | null) | undefined;
|
|
16535
|
+
name?: ((string | null) | undefined) | undefined;
|
|
16536
16536
|
display_name?: string | undefined;
|
|
16537
16537
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
16538
16538
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -16548,7 +16548,7 @@ export interface Routes {
|
|
|
16548
16548
|
climate_preset_key?: string | undefined;
|
|
16549
16549
|
can_edit?: boolean | undefined;
|
|
16550
16550
|
can_delete?: boolean | undefined;
|
|
16551
|
-
name?: (string | null) | undefined;
|
|
16551
|
+
name?: ((string | null) | undefined) | undefined;
|
|
16552
16552
|
display_name?: string | undefined;
|
|
16553
16553
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
16554
16554
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -16562,7 +16562,7 @@ export interface Routes {
|
|
|
16562
16562
|
climate_preset_key: string;
|
|
16563
16563
|
can_edit: boolean;
|
|
16564
16564
|
can_delete: boolean;
|
|
16565
|
-
name?: string | null;
|
|
16565
|
+
name?: (string | null) | undefined;
|
|
16566
16566
|
display_name: string;
|
|
16567
16567
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
16568
16568
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
@@ -16969,7 +16969,7 @@ export interface Routes {
|
|
|
16969
16969
|
climate_preset_key?: string | undefined;
|
|
16970
16970
|
can_edit?: boolean | undefined;
|
|
16971
16971
|
can_delete?: boolean | undefined;
|
|
16972
|
-
name?: (string | null) | undefined;
|
|
16972
|
+
name?: ((string | null) | undefined) | undefined;
|
|
16973
16973
|
display_name?: string | undefined;
|
|
16974
16974
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
16975
16975
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -16985,7 +16985,7 @@ export interface Routes {
|
|
|
16985
16985
|
climate_preset_key?: string | undefined;
|
|
16986
16986
|
can_edit?: boolean | undefined;
|
|
16987
16987
|
can_delete?: boolean | undefined;
|
|
16988
|
-
name?: (string | null) | undefined;
|
|
16988
|
+
name?: ((string | null) | undefined) | undefined;
|
|
16989
16989
|
display_name?: string | undefined;
|
|
16990
16990
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
16991
16991
|
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
@@ -16999,7 +16999,7 @@ export interface Routes {
|
|
|
16999
16999
|
climate_preset_key: string;
|
|
17000
17000
|
can_edit: boolean;
|
|
17001
17001
|
can_delete: boolean;
|
|
17002
|
-
name?: string | null;
|
|
17002
|
+
name?: (string | null) | undefined;
|
|
17003
17003
|
display_name: string;
|
|
17004
17004
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
17005
17005
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ export const climate_preset = z.object({
|
|
|
6
6
|
climate_preset_key: z.string(),
|
|
7
7
|
can_edit: z.boolean(),
|
|
8
8
|
can_delete: z.boolean(),
|
|
9
|
-
name: z.string().nullable().default(null),
|
|
9
|
+
name: z.string().nullable().default(null).optional(),
|
|
10
10
|
display_name: z.string(),
|
|
11
11
|
fan_mode_setting: fan_mode_setting.optional(),
|
|
12
12
|
hvac_mode_setting: hvac_mode_setting.optional(),
|