@seamapi/types 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/seam/connect/route-types.d.ts +50 -3
- package/lib/seam/connect/unstable/models/capability-properties/index.d.ts +9 -0
- package/lib/seam/connect/unstable/models/capability-properties/thermostat.d.ts +20 -0
- package/lib/seam/connect/unstable/models/capability-properties/thermostat.js +2 -0
- package/lib/seam/connect/unstable/models/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/unstable/models/managed-device.d.ts +21 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/route-types.ts +50 -3
- package/src/lib/seam/connect/unstable/models/capability-properties/thermostat.ts +5 -0
|
@@ -454,12 +454,12 @@ export interface Routes {
|
|
|
454
454
|
queryParams: {};
|
|
455
455
|
jsonBody: {};
|
|
456
456
|
commonParams: {
|
|
457
|
-
|
|
457
|
+
acs_system_id: string;
|
|
458
458
|
};
|
|
459
459
|
formData: {};
|
|
460
460
|
jsonResponse: {
|
|
461
461
|
acs_system: {
|
|
462
|
-
|
|
462
|
+
acs_system_id: string;
|
|
463
463
|
system_type: 'pti_site' | 'alta_org';
|
|
464
464
|
name: string;
|
|
465
465
|
created_at: string | Date;
|
|
@@ -475,13 +475,48 @@ export interface Routes {
|
|
|
475
475
|
formData: {};
|
|
476
476
|
jsonResponse: {
|
|
477
477
|
acs_systems: Array<{
|
|
478
|
-
|
|
478
|
+
acs_system_id: string;
|
|
479
479
|
system_type: 'pti_site' | 'alta_org';
|
|
480
480
|
name: string;
|
|
481
481
|
created_at: string | Date;
|
|
482
482
|
}>;
|
|
483
483
|
};
|
|
484
484
|
};
|
|
485
|
+
'/acs/users/create': {
|
|
486
|
+
route: '/acs/users/create';
|
|
487
|
+
method: 'POST';
|
|
488
|
+
queryParams: {};
|
|
489
|
+
jsonBody: {};
|
|
490
|
+
commonParams: {
|
|
491
|
+
acs_system_id: string;
|
|
492
|
+
name?: string | undefined;
|
|
493
|
+
email?: string | undefined;
|
|
494
|
+
acs_access_group_ids?: string[];
|
|
495
|
+
};
|
|
496
|
+
formData: {};
|
|
497
|
+
jsonResponse: {
|
|
498
|
+
acs_user: {
|
|
499
|
+
acs_user_id: string;
|
|
500
|
+
acs_system_id: string;
|
|
501
|
+
workspace_id: string;
|
|
502
|
+
name: string;
|
|
503
|
+
created_at: string | Date;
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
'/acs/users/update': {
|
|
508
|
+
route: '/acs/users/update';
|
|
509
|
+
method: 'POST' | 'PATCH';
|
|
510
|
+
queryParams: {};
|
|
511
|
+
jsonBody: {};
|
|
512
|
+
commonParams: {
|
|
513
|
+
acs_user_id: string;
|
|
514
|
+
name?: (string | null) | undefined;
|
|
515
|
+
email?: (string | null) | undefined;
|
|
516
|
+
};
|
|
517
|
+
formData: {};
|
|
518
|
+
jsonResponse: {};
|
|
519
|
+
};
|
|
485
520
|
'/action_attempts/get': {
|
|
486
521
|
route: '/action_attempts/get';
|
|
487
522
|
method: 'GET' | 'POST';
|
|
@@ -1046,6 +1081,7 @@ export interface Routes {
|
|
|
1046
1081
|
is_heating?: boolean | undefined;
|
|
1047
1082
|
is_cooling?: boolean | undefined;
|
|
1048
1083
|
is_fan_running?: boolean | undefined;
|
|
1084
|
+
fan_mode_setting?: ('auto' | 'on') | undefined;
|
|
1049
1085
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1050
1086
|
current_climate_setting?: {
|
|
1051
1087
|
automatic_heating_enabled: boolean;
|
|
@@ -1107,6 +1143,7 @@ export interface Routes {
|
|
|
1107
1143
|
is_heating?: boolean | undefined;
|
|
1108
1144
|
is_cooling?: boolean | undefined;
|
|
1109
1145
|
is_fan_running?: boolean | undefined;
|
|
1146
|
+
fan_mode_setting?: ('auto' | 'on') | undefined;
|
|
1110
1147
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1111
1148
|
current_climate_setting?: {
|
|
1112
1149
|
automatic_heating_enabled: boolean;
|
|
@@ -1162,6 +1199,7 @@ export interface Routes {
|
|
|
1162
1199
|
is_heating?: boolean | undefined;
|
|
1163
1200
|
is_cooling?: boolean | undefined;
|
|
1164
1201
|
is_fan_running?: boolean | undefined;
|
|
1202
|
+
fan_mode_setting?: ('auto' | 'on') | undefined;
|
|
1165
1203
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1166
1204
|
current_climate_setting?: {
|
|
1167
1205
|
automatic_heating_enabled: boolean;
|
|
@@ -1441,6 +1479,7 @@ export interface Routes {
|
|
|
1441
1479
|
is_heating?: boolean | undefined;
|
|
1442
1480
|
is_cooling?: boolean | undefined;
|
|
1443
1481
|
is_fan_running?: boolean | undefined;
|
|
1482
|
+
fan_mode_setting?: ('auto' | 'on') | undefined;
|
|
1444
1483
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1445
1484
|
current_climate_setting?: {
|
|
1446
1485
|
automatic_heating_enabled: boolean;
|
|
@@ -1502,6 +1541,7 @@ export interface Routes {
|
|
|
1502
1541
|
is_heating?: boolean | undefined;
|
|
1503
1542
|
is_cooling?: boolean | undefined;
|
|
1504
1543
|
is_fan_running?: boolean | undefined;
|
|
1544
|
+
fan_mode_setting?: ('auto' | 'on') | undefined;
|
|
1505
1545
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1506
1546
|
current_climate_setting?: {
|
|
1507
1547
|
automatic_heating_enabled: boolean;
|
|
@@ -1557,6 +1597,7 @@ export interface Routes {
|
|
|
1557
1597
|
is_heating?: boolean | undefined;
|
|
1558
1598
|
is_cooling?: boolean | undefined;
|
|
1559
1599
|
is_fan_running?: boolean | undefined;
|
|
1600
|
+
fan_mode_setting?: ('auto' | 'on') | undefined;
|
|
1560
1601
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1561
1602
|
current_climate_setting?: {
|
|
1562
1603
|
automatic_heating_enabled: boolean;
|
|
@@ -2534,6 +2575,7 @@ export interface Routes {
|
|
|
2534
2575
|
is_heating?: boolean | undefined;
|
|
2535
2576
|
is_cooling?: boolean | undefined;
|
|
2536
2577
|
is_fan_running?: boolean | undefined;
|
|
2578
|
+
fan_mode_setting?: ('auto' | 'on') | undefined;
|
|
2537
2579
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
2538
2580
|
current_climate_setting?: {
|
|
2539
2581
|
automatic_heating_enabled: boolean;
|
|
@@ -2595,6 +2637,7 @@ export interface Routes {
|
|
|
2595
2637
|
is_heating?: boolean | undefined;
|
|
2596
2638
|
is_cooling?: boolean | undefined;
|
|
2597
2639
|
is_fan_running?: boolean | undefined;
|
|
2640
|
+
fan_mode_setting?: ('auto' | 'on') | undefined;
|
|
2598
2641
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
2599
2642
|
current_climate_setting?: {
|
|
2600
2643
|
automatic_heating_enabled: boolean;
|
|
@@ -2650,6 +2693,7 @@ export interface Routes {
|
|
|
2650
2693
|
is_heating?: boolean | undefined;
|
|
2651
2694
|
is_cooling?: boolean | undefined;
|
|
2652
2695
|
is_fan_running?: boolean | undefined;
|
|
2696
|
+
fan_mode_setting?: ('auto' | 'on') | undefined;
|
|
2653
2697
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
2654
2698
|
current_climate_setting?: {
|
|
2655
2699
|
automatic_heating_enabled: boolean;
|
|
@@ -2959,6 +3003,7 @@ export interface Routes {
|
|
|
2959
3003
|
is_heating?: boolean | undefined;
|
|
2960
3004
|
is_cooling?: boolean | undefined;
|
|
2961
3005
|
is_fan_running?: boolean | undefined;
|
|
3006
|
+
fan_mode_setting?: ('auto' | 'on') | undefined;
|
|
2962
3007
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
2963
3008
|
current_climate_setting?: {
|
|
2964
3009
|
automatic_heating_enabled: boolean;
|
|
@@ -3020,6 +3065,7 @@ export interface Routes {
|
|
|
3020
3065
|
is_heating?: boolean | undefined;
|
|
3021
3066
|
is_cooling?: boolean | undefined;
|
|
3022
3067
|
is_fan_running?: boolean | undefined;
|
|
3068
|
+
fan_mode_setting?: ('auto' | 'on') | undefined;
|
|
3023
3069
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
3024
3070
|
current_climate_setting?: {
|
|
3025
3071
|
automatic_heating_enabled: boolean;
|
|
@@ -3075,6 +3121,7 @@ export interface Routes {
|
|
|
3075
3121
|
is_heating?: boolean | undefined;
|
|
3076
3122
|
is_cooling?: boolean | undefined;
|
|
3077
3123
|
is_fan_running?: boolean | undefined;
|
|
3124
|
+
fan_mode_setting?: ('auto' | 'on') | undefined;
|
|
3078
3125
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
3079
3126
|
current_climate_setting?: {
|
|
3080
3127
|
automatic_heating_enabled: boolean;
|
|
@@ -108,6 +108,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
108
108
|
is_heating: z.ZodOptional<z.ZodBoolean>;
|
|
109
109
|
is_cooling: z.ZodOptional<z.ZodBoolean>;
|
|
110
110
|
is_fan_running: z.ZodOptional<z.ZodBoolean>;
|
|
111
|
+
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
111
112
|
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>;
|
|
112
113
|
current_climate_setting: z.ZodOptional<z.ZodObject<{
|
|
113
114
|
automatic_heating_enabled: z.ZodBoolean;
|
|
@@ -219,6 +220,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
219
220
|
is_heating?: boolean | undefined;
|
|
220
221
|
is_cooling?: boolean | undefined;
|
|
221
222
|
is_fan_running?: boolean | undefined;
|
|
223
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
222
224
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
223
225
|
current_climate_setting?: {
|
|
224
226
|
automatic_heating_enabled: boolean;
|
|
@@ -280,6 +282,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
280
282
|
is_heating?: boolean | undefined;
|
|
281
283
|
is_cooling?: boolean | undefined;
|
|
282
284
|
is_fan_running?: boolean | undefined;
|
|
285
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
283
286
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
284
287
|
current_climate_setting?: {
|
|
285
288
|
automatic_heating_enabled: boolean;
|
|
@@ -360,6 +363,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
360
363
|
is_heating: z.ZodOptional<z.ZodBoolean>;
|
|
361
364
|
is_cooling: z.ZodOptional<z.ZodBoolean>;
|
|
362
365
|
is_fan_running: z.ZodOptional<z.ZodBoolean>;
|
|
366
|
+
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
363
367
|
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>;
|
|
364
368
|
current_climate_setting: z.ZodOptional<z.ZodObject<{
|
|
365
369
|
automatic_heating_enabled: z.ZodBoolean;
|
|
@@ -465,6 +469,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
465
469
|
is_heating?: boolean | undefined;
|
|
466
470
|
is_cooling?: boolean | undefined;
|
|
467
471
|
is_fan_running?: boolean | undefined;
|
|
472
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
468
473
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
469
474
|
current_climate_setting?: {
|
|
470
475
|
automatic_heating_enabled: boolean;
|
|
@@ -520,6 +525,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
520
525
|
is_heating?: boolean | undefined;
|
|
521
526
|
is_cooling?: boolean | undefined;
|
|
522
527
|
is_fan_running?: boolean | undefined;
|
|
528
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
523
529
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
524
530
|
current_climate_setting?: {
|
|
525
531
|
automatic_heating_enabled: boolean;
|
|
@@ -593,6 +599,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
593
599
|
is_heating: z.ZodOptional<z.ZodBoolean>;
|
|
594
600
|
is_cooling: z.ZodOptional<z.ZodBoolean>;
|
|
595
601
|
is_fan_running: z.ZodOptional<z.ZodBoolean>;
|
|
602
|
+
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
596
603
|
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>;
|
|
597
604
|
current_climate_setting: z.ZodOptional<z.ZodObject<{
|
|
598
605
|
automatic_heating_enabled: z.ZodBoolean;
|
|
@@ -698,6 +705,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
698
705
|
is_heating?: boolean | undefined;
|
|
699
706
|
is_cooling?: boolean | undefined;
|
|
700
707
|
is_fan_running?: boolean | undefined;
|
|
708
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
701
709
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
702
710
|
current_climate_setting?: {
|
|
703
711
|
automatic_heating_enabled: boolean;
|
|
@@ -753,6 +761,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
753
761
|
is_heating?: boolean | undefined;
|
|
754
762
|
is_cooling?: boolean | undefined;
|
|
755
763
|
is_fan_running?: boolean | undefined;
|
|
764
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
756
765
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
757
766
|
current_climate_setting?: {
|
|
758
767
|
automatic_heating_enabled: boolean;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const hvac_mode_setting: z.ZodEnum<["off", "heat", "cool", "heat_cool"]>;
|
|
3
3
|
export type HvacModeSetting = z.infer<typeof hvac_mode_setting>;
|
|
4
|
+
export declare const fan_mode_setting: z.ZodEnum<["auto", "on"]>;
|
|
5
|
+
export type FanModeSetting = z.infer<typeof fan_mode_setting>;
|
|
4
6
|
export declare const climate_setting: z.ZodObject<{
|
|
5
7
|
automatic_heating_enabled: z.ZodBoolean;
|
|
6
8
|
automatic_cooling_enabled: z.ZodBoolean;
|
|
@@ -118,6 +120,7 @@ export declare const cooling_thermostat_capability_properties: z.ZodObject<{
|
|
|
118
120
|
is_heating: z.ZodBoolean;
|
|
119
121
|
is_cooling: z.ZodBoolean;
|
|
120
122
|
is_fan_running: z.ZodBoolean;
|
|
123
|
+
fan_mode_setting: z.ZodEnum<["auto", "on"]>;
|
|
121
124
|
is_temporary_manual_override_active: z.ZodBoolean;
|
|
122
125
|
current_climate_setting: z.ZodObject<{
|
|
123
126
|
automatic_heating_enabled: z.ZodBoolean;
|
|
@@ -214,6 +217,7 @@ export declare const cooling_thermostat_capability_properties: z.ZodObject<{
|
|
|
214
217
|
is_heating: boolean;
|
|
215
218
|
is_cooling: boolean;
|
|
216
219
|
is_fan_running: boolean;
|
|
220
|
+
fan_mode_setting: "auto" | "on";
|
|
217
221
|
is_temporary_manual_override_active: boolean;
|
|
218
222
|
current_climate_setting: {
|
|
219
223
|
automatic_heating_enabled: boolean;
|
|
@@ -269,6 +273,7 @@ export declare const cooling_thermostat_capability_properties: z.ZodObject<{
|
|
|
269
273
|
is_heating: boolean;
|
|
270
274
|
is_cooling: boolean;
|
|
271
275
|
is_fan_running: boolean;
|
|
276
|
+
fan_mode_setting: "auto" | "on";
|
|
272
277
|
is_temporary_manual_override_active: boolean;
|
|
273
278
|
current_climate_setting: {
|
|
274
279
|
automatic_heating_enabled: boolean;
|
|
@@ -352,6 +357,7 @@ export declare const heating_thermostat_capability_properties: z.ZodObject<{
|
|
|
352
357
|
is_heating: z.ZodBoolean;
|
|
353
358
|
is_cooling: z.ZodBoolean;
|
|
354
359
|
is_fan_running: z.ZodBoolean;
|
|
360
|
+
fan_mode_setting: z.ZodEnum<["auto", "on"]>;
|
|
355
361
|
is_temporary_manual_override_active: z.ZodBoolean;
|
|
356
362
|
current_climate_setting: z.ZodObject<{
|
|
357
363
|
automatic_heating_enabled: z.ZodBoolean;
|
|
@@ -448,6 +454,7 @@ export declare const heating_thermostat_capability_properties: z.ZodObject<{
|
|
|
448
454
|
is_heating: boolean;
|
|
449
455
|
is_cooling: boolean;
|
|
450
456
|
is_fan_running: boolean;
|
|
457
|
+
fan_mode_setting: "auto" | "on";
|
|
451
458
|
is_temporary_manual_override_active: boolean;
|
|
452
459
|
current_climate_setting: {
|
|
453
460
|
automatic_heating_enabled: boolean;
|
|
@@ -503,6 +510,7 @@ export declare const heating_thermostat_capability_properties: z.ZodObject<{
|
|
|
503
510
|
is_heating: boolean;
|
|
504
511
|
is_cooling: boolean;
|
|
505
512
|
is_fan_running: boolean;
|
|
513
|
+
fan_mode_setting: "auto" | "on";
|
|
506
514
|
is_temporary_manual_override_active: boolean;
|
|
507
515
|
current_climate_setting: {
|
|
508
516
|
automatic_heating_enabled: boolean;
|
|
@@ -585,6 +593,7 @@ export declare const heating_cooling_thermostat_capability_properties: z.ZodObje
|
|
|
585
593
|
is_heating: z.ZodBoolean;
|
|
586
594
|
is_cooling: z.ZodBoolean;
|
|
587
595
|
is_fan_running: z.ZodBoolean;
|
|
596
|
+
fan_mode_setting: z.ZodEnum<["auto", "on"]>;
|
|
588
597
|
is_temporary_manual_override_active: z.ZodBoolean;
|
|
589
598
|
current_climate_setting: z.ZodObject<{
|
|
590
599
|
automatic_heating_enabled: z.ZodBoolean;
|
|
@@ -688,6 +697,7 @@ export declare const heating_cooling_thermostat_capability_properties: z.ZodObje
|
|
|
688
697
|
is_heating: boolean;
|
|
689
698
|
is_cooling: boolean;
|
|
690
699
|
is_fan_running: boolean;
|
|
700
|
+
fan_mode_setting: "auto" | "on";
|
|
691
701
|
is_temporary_manual_override_active: boolean;
|
|
692
702
|
current_climate_setting: {
|
|
693
703
|
automatic_heating_enabled: boolean;
|
|
@@ -749,6 +759,7 @@ export declare const heating_cooling_thermostat_capability_properties: z.ZodObje
|
|
|
749
759
|
is_heating: boolean;
|
|
750
760
|
is_cooling: boolean;
|
|
751
761
|
is_fan_running: boolean;
|
|
762
|
+
fan_mode_setting: "auto" | "on";
|
|
752
763
|
is_temporary_manual_override_active: boolean;
|
|
753
764
|
current_climate_setting: {
|
|
754
765
|
automatic_heating_enabled: boolean;
|
|
@@ -837,6 +848,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
|
|
|
837
848
|
is_heating: z.ZodOptional<z.ZodBoolean>;
|
|
838
849
|
is_cooling: z.ZodOptional<z.ZodBoolean>;
|
|
839
850
|
is_fan_running: z.ZodOptional<z.ZodBoolean>;
|
|
851
|
+
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
840
852
|
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>;
|
|
841
853
|
current_climate_setting: z.ZodOptional<z.ZodObject<{
|
|
842
854
|
automatic_heating_enabled: z.ZodBoolean;
|
|
@@ -948,6 +960,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
|
|
|
948
960
|
is_heating?: boolean | undefined;
|
|
949
961
|
is_cooling?: boolean | undefined;
|
|
950
962
|
is_fan_running?: boolean | undefined;
|
|
963
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
951
964
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
952
965
|
current_climate_setting?: {
|
|
953
966
|
automatic_heating_enabled: boolean;
|
|
@@ -1009,6 +1022,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
|
|
|
1009
1022
|
is_heating?: boolean | undefined;
|
|
1010
1023
|
is_cooling?: boolean | undefined;
|
|
1011
1024
|
is_fan_running?: boolean | undefined;
|
|
1025
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1012
1026
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1013
1027
|
current_climate_setting?: {
|
|
1014
1028
|
automatic_heating_enabled: boolean;
|
|
@@ -1089,6 +1103,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
|
|
|
1089
1103
|
is_heating: z.ZodOptional<z.ZodBoolean>;
|
|
1090
1104
|
is_cooling: z.ZodOptional<z.ZodBoolean>;
|
|
1091
1105
|
is_fan_running: z.ZodOptional<z.ZodBoolean>;
|
|
1106
|
+
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
1092
1107
|
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>;
|
|
1093
1108
|
current_climate_setting: z.ZodOptional<z.ZodObject<{
|
|
1094
1109
|
automatic_heating_enabled: z.ZodBoolean;
|
|
@@ -1194,6 +1209,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
|
|
|
1194
1209
|
is_heating?: boolean | undefined;
|
|
1195
1210
|
is_cooling?: boolean | undefined;
|
|
1196
1211
|
is_fan_running?: boolean | undefined;
|
|
1212
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1197
1213
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1198
1214
|
current_climate_setting?: {
|
|
1199
1215
|
automatic_heating_enabled: boolean;
|
|
@@ -1249,6 +1265,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
|
|
|
1249
1265
|
is_heating?: boolean | undefined;
|
|
1250
1266
|
is_cooling?: boolean | undefined;
|
|
1251
1267
|
is_fan_running?: boolean | undefined;
|
|
1268
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1252
1269
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1253
1270
|
current_climate_setting?: {
|
|
1254
1271
|
automatic_heating_enabled: boolean;
|
|
@@ -1322,6 +1339,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
|
|
|
1322
1339
|
is_heating: z.ZodOptional<z.ZodBoolean>;
|
|
1323
1340
|
is_cooling: z.ZodOptional<z.ZodBoolean>;
|
|
1324
1341
|
is_fan_running: z.ZodOptional<z.ZodBoolean>;
|
|
1342
|
+
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
1325
1343
|
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>;
|
|
1326
1344
|
current_climate_setting: z.ZodOptional<z.ZodObject<{
|
|
1327
1345
|
automatic_heating_enabled: z.ZodBoolean;
|
|
@@ -1427,6 +1445,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
|
|
|
1427
1445
|
is_heating?: boolean | undefined;
|
|
1428
1446
|
is_cooling?: boolean | undefined;
|
|
1429
1447
|
is_fan_running?: boolean | undefined;
|
|
1448
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1430
1449
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1431
1450
|
current_climate_setting?: {
|
|
1432
1451
|
automatic_heating_enabled: boolean;
|
|
@@ -1482,6 +1501,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
|
|
|
1482
1501
|
is_heating?: boolean | undefined;
|
|
1483
1502
|
is_cooling?: boolean | undefined;
|
|
1484
1503
|
is_fan_running?: boolean | undefined;
|
|
1504
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1485
1505
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1486
1506
|
current_climate_setting?: {
|
|
1487
1507
|
automatic_heating_enabled: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export const hvac_mode_setting = z.enum(['off', 'heat', 'cool', 'heat_cool']);
|
|
3
|
+
export const fan_mode_setting = z.enum(['auto', 'on']);
|
|
3
4
|
export const climate_setting = z.object({
|
|
4
5
|
automatic_heating_enabled: z.boolean(),
|
|
5
6
|
automatic_cooling_enabled: z.boolean(),
|
|
@@ -33,6 +34,7 @@ const base_thermostat_capability_properties = z.object({
|
|
|
33
34
|
is_heating: z.boolean(),
|
|
34
35
|
is_cooling: z.boolean(),
|
|
35
36
|
is_fan_running: z.boolean(),
|
|
37
|
+
fan_mode_setting,
|
|
36
38
|
/**
|
|
37
39
|
* this is true if the current thermostat settings differ that what is on seam, and `current_climate_setting.manual_override_allowed: true`
|
|
38
40
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thermostat.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/capability-properties/thermostat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC,CAAA;AAI7E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,yBAAyB,EAAE,CAAC,CAAC,OAAO,EAAE;IACtC,yBAAyB,EAAE,CAAC,CAAC,OAAO,EAAE;IACtC,iBAAiB;IACjB,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,wBAAwB,GAAG,CAAC;KACtC,MAAM,CAAC;IACN,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9C,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC;IACtC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC;KACD,KAAK,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC,CAAA;AAEnC,MAAM,qCAAqC,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE;IAClC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC/B,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3C,4BAA4B,EAAE,CAAC,CAAC,OAAO,EAAE;IACzC,4BAA4B,EAAE,CAAC,CAAC,OAAO,EAAE;IACzC,4BAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC;IACxD,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IACtC,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IACtC,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"thermostat.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/capability-properties/thermostat.ts"],"names":[],"mappings":"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"}
|
|
@@ -1003,6 +1003,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1003
1003
|
is_heating: z.ZodOptional<z.ZodBoolean>;
|
|
1004
1004
|
is_cooling: z.ZodOptional<z.ZodBoolean>;
|
|
1005
1005
|
is_fan_running: z.ZodOptional<z.ZodBoolean>;
|
|
1006
|
+
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
1006
1007
|
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>;
|
|
1007
1008
|
current_climate_setting: z.ZodOptional<z.ZodObject<{
|
|
1008
1009
|
automatic_heating_enabled: z.ZodBoolean;
|
|
@@ -1114,6 +1115,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1114
1115
|
is_heating?: boolean | undefined;
|
|
1115
1116
|
is_cooling?: boolean | undefined;
|
|
1116
1117
|
is_fan_running?: boolean | undefined;
|
|
1118
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1117
1119
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1118
1120
|
current_climate_setting?: {
|
|
1119
1121
|
automatic_heating_enabled: boolean;
|
|
@@ -1175,6 +1177,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1175
1177
|
is_heating?: boolean | undefined;
|
|
1176
1178
|
is_cooling?: boolean | undefined;
|
|
1177
1179
|
is_fan_running?: boolean | undefined;
|
|
1180
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1178
1181
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1179
1182
|
current_climate_setting?: {
|
|
1180
1183
|
automatic_heating_enabled: boolean;
|
|
@@ -1255,6 +1258,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1255
1258
|
is_heating: z.ZodOptional<z.ZodBoolean>;
|
|
1256
1259
|
is_cooling: z.ZodOptional<z.ZodBoolean>;
|
|
1257
1260
|
is_fan_running: z.ZodOptional<z.ZodBoolean>;
|
|
1261
|
+
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
1258
1262
|
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>;
|
|
1259
1263
|
current_climate_setting: z.ZodOptional<z.ZodObject<{
|
|
1260
1264
|
automatic_heating_enabled: z.ZodBoolean;
|
|
@@ -1360,6 +1364,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1360
1364
|
is_heating?: boolean | undefined;
|
|
1361
1365
|
is_cooling?: boolean | undefined;
|
|
1362
1366
|
is_fan_running?: boolean | undefined;
|
|
1367
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1363
1368
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1364
1369
|
current_climate_setting?: {
|
|
1365
1370
|
automatic_heating_enabled: boolean;
|
|
@@ -1415,6 +1420,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1415
1420
|
is_heating?: boolean | undefined;
|
|
1416
1421
|
is_cooling?: boolean | undefined;
|
|
1417
1422
|
is_fan_running?: boolean | undefined;
|
|
1423
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1418
1424
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1419
1425
|
current_climate_setting?: {
|
|
1420
1426
|
automatic_heating_enabled: boolean;
|
|
@@ -1488,6 +1494,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1488
1494
|
is_heating: z.ZodOptional<z.ZodBoolean>;
|
|
1489
1495
|
is_cooling: z.ZodOptional<z.ZodBoolean>;
|
|
1490
1496
|
is_fan_running: z.ZodOptional<z.ZodBoolean>;
|
|
1497
|
+
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
1491
1498
|
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>;
|
|
1492
1499
|
current_climate_setting: z.ZodOptional<z.ZodObject<{
|
|
1493
1500
|
automatic_heating_enabled: z.ZodBoolean;
|
|
@@ -1593,6 +1600,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1593
1600
|
is_heating?: boolean | undefined;
|
|
1594
1601
|
is_cooling?: boolean | undefined;
|
|
1595
1602
|
is_fan_running?: boolean | undefined;
|
|
1603
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1596
1604
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1597
1605
|
current_climate_setting?: {
|
|
1598
1606
|
automatic_heating_enabled: boolean;
|
|
@@ -1648,6 +1656,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1648
1656
|
is_heating?: boolean | undefined;
|
|
1649
1657
|
is_cooling?: boolean | undefined;
|
|
1650
1658
|
is_fan_running?: boolean | undefined;
|
|
1659
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1651
1660
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1652
1661
|
current_climate_setting?: {
|
|
1653
1662
|
automatic_heating_enabled: boolean;
|
|
@@ -1929,6 +1938,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1929
1938
|
is_heating?: boolean | undefined;
|
|
1930
1939
|
is_cooling?: boolean | undefined;
|
|
1931
1940
|
is_fan_running?: boolean | undefined;
|
|
1941
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1932
1942
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1933
1943
|
current_climate_setting?: {
|
|
1934
1944
|
automatic_heating_enabled: boolean;
|
|
@@ -1991,6 +2001,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1991
2001
|
is_heating?: boolean | undefined;
|
|
1992
2002
|
is_cooling?: boolean | undefined;
|
|
1993
2003
|
is_fan_running?: boolean | undefined;
|
|
2004
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1994
2005
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
1995
2006
|
current_climate_setting?: {
|
|
1996
2007
|
automatic_heating_enabled: boolean;
|
|
@@ -2046,6 +2057,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2046
2057
|
is_heating?: boolean | undefined;
|
|
2047
2058
|
is_cooling?: boolean | undefined;
|
|
2048
2059
|
is_fan_running?: boolean | undefined;
|
|
2060
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
2049
2061
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
2050
2062
|
current_climate_setting?: {
|
|
2051
2063
|
automatic_heating_enabled: boolean;
|
|
@@ -2282,6 +2294,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2282
2294
|
is_heating?: boolean | undefined;
|
|
2283
2295
|
is_cooling?: boolean | undefined;
|
|
2284
2296
|
is_fan_running?: boolean | undefined;
|
|
2297
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
2285
2298
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
2286
2299
|
current_climate_setting?: {
|
|
2287
2300
|
automatic_heating_enabled: boolean;
|
|
@@ -2344,6 +2357,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2344
2357
|
is_heating?: boolean | undefined;
|
|
2345
2358
|
is_cooling?: boolean | undefined;
|
|
2346
2359
|
is_fan_running?: boolean | undefined;
|
|
2360
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
2347
2361
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
2348
2362
|
current_climate_setting?: {
|
|
2349
2363
|
automatic_heating_enabled: boolean;
|
|
@@ -2399,6 +2413,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2399
2413
|
is_heating?: boolean | undefined;
|
|
2400
2414
|
is_cooling?: boolean | undefined;
|
|
2401
2415
|
is_fan_running?: boolean | undefined;
|
|
2416
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
2402
2417
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
2403
2418
|
current_climate_setting?: {
|
|
2404
2419
|
automatic_heating_enabled: boolean;
|
|
@@ -2656,6 +2671,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2656
2671
|
is_heating?: boolean | undefined;
|
|
2657
2672
|
is_cooling?: boolean | undefined;
|
|
2658
2673
|
is_fan_running?: boolean | undefined;
|
|
2674
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
2659
2675
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
2660
2676
|
current_climate_setting?: {
|
|
2661
2677
|
automatic_heating_enabled: boolean;
|
|
@@ -2718,6 +2734,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2718
2734
|
is_heating?: boolean | undefined;
|
|
2719
2735
|
is_cooling?: boolean | undefined;
|
|
2720
2736
|
is_fan_running?: boolean | undefined;
|
|
2737
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
2721
2738
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
2722
2739
|
current_climate_setting?: {
|
|
2723
2740
|
automatic_heating_enabled: boolean;
|
|
@@ -2773,6 +2790,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2773
2790
|
is_heating?: boolean | undefined;
|
|
2774
2791
|
is_cooling?: boolean | undefined;
|
|
2775
2792
|
is_fan_running?: boolean | undefined;
|
|
2793
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
2776
2794
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
2777
2795
|
current_climate_setting?: {
|
|
2778
2796
|
automatic_heating_enabled: boolean;
|
|
@@ -3009,6 +3027,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3009
3027
|
is_heating?: boolean | undefined;
|
|
3010
3028
|
is_cooling?: boolean | undefined;
|
|
3011
3029
|
is_fan_running?: boolean | undefined;
|
|
3030
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
3012
3031
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
3013
3032
|
current_climate_setting?: {
|
|
3014
3033
|
automatic_heating_enabled: boolean;
|
|
@@ -3071,6 +3090,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3071
3090
|
is_heating?: boolean | undefined;
|
|
3072
3091
|
is_cooling?: boolean | undefined;
|
|
3073
3092
|
is_fan_running?: boolean | undefined;
|
|
3093
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
3074
3094
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
3075
3095
|
current_climate_setting?: {
|
|
3076
3096
|
automatic_heating_enabled: boolean;
|
|
@@ -3126,6 +3146,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3126
3146
|
is_heating?: boolean | undefined;
|
|
3127
3147
|
is_cooling?: boolean | undefined;
|
|
3128
3148
|
is_fan_running?: boolean | undefined;
|
|
3149
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
3129
3150
|
is_temporary_manual_override_active?: boolean | undefined;
|
|
3130
3151
|
current_climate_setting?: {
|
|
3131
3152
|
automatic_heating_enabled: boolean;
|
package/package.json
CHANGED
|
@@ -468,12 +468,12 @@ export interface Routes {
|
|
|
468
468
|
queryParams: {}
|
|
469
469
|
jsonBody: {}
|
|
470
470
|
commonParams: {
|
|
471
|
-
|
|
471
|
+
acs_system_id: string
|
|
472
472
|
}
|
|
473
473
|
formData: {}
|
|
474
474
|
jsonResponse: {
|
|
475
475
|
acs_system: {
|
|
476
|
-
|
|
476
|
+
acs_system_id: string
|
|
477
477
|
system_type: 'pti_site' | 'alta_org'
|
|
478
478
|
name: string
|
|
479
479
|
created_at: string | Date
|
|
@@ -489,13 +489,48 @@ export interface Routes {
|
|
|
489
489
|
formData: {}
|
|
490
490
|
jsonResponse: {
|
|
491
491
|
acs_systems: Array<{
|
|
492
|
-
|
|
492
|
+
acs_system_id: string
|
|
493
493
|
system_type: 'pti_site' | 'alta_org'
|
|
494
494
|
name: string
|
|
495
495
|
created_at: string | Date
|
|
496
496
|
}>
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
+
'/acs/users/create': {
|
|
500
|
+
route: '/acs/users/create'
|
|
501
|
+
method: 'POST'
|
|
502
|
+
queryParams: {}
|
|
503
|
+
jsonBody: {}
|
|
504
|
+
commonParams: {
|
|
505
|
+
acs_system_id: string
|
|
506
|
+
name?: string | undefined
|
|
507
|
+
email?: string | undefined
|
|
508
|
+
acs_access_group_ids?: string[]
|
|
509
|
+
}
|
|
510
|
+
formData: {}
|
|
511
|
+
jsonResponse: {
|
|
512
|
+
acs_user: {
|
|
513
|
+
acs_user_id: string
|
|
514
|
+
acs_system_id: string
|
|
515
|
+
workspace_id: string
|
|
516
|
+
name: string
|
|
517
|
+
created_at: string | Date
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
'/acs/users/update': {
|
|
522
|
+
route: '/acs/users/update'
|
|
523
|
+
method: 'POST' | 'PATCH'
|
|
524
|
+
queryParams: {}
|
|
525
|
+
jsonBody: {}
|
|
526
|
+
commonParams: {
|
|
527
|
+
acs_user_id: string
|
|
528
|
+
name?: (string | null) | undefined
|
|
529
|
+
email?: (string | null) | undefined
|
|
530
|
+
}
|
|
531
|
+
formData: {}
|
|
532
|
+
jsonResponse: {}
|
|
533
|
+
}
|
|
499
534
|
'/action_attempts/get': {
|
|
500
535
|
route: '/action_attempts/get'
|
|
501
536
|
method: 'GET' | 'POST'
|
|
@@ -1214,6 +1249,7 @@ export interface Routes {
|
|
|
1214
1249
|
is_heating?: boolean | undefined
|
|
1215
1250
|
is_cooling?: boolean | undefined
|
|
1216
1251
|
is_fan_running?: boolean | undefined
|
|
1252
|
+
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
1217
1253
|
is_temporary_manual_override_active?: boolean | undefined
|
|
1218
1254
|
current_climate_setting?:
|
|
1219
1255
|
| {
|
|
@@ -1304,6 +1340,7 @@ export interface Routes {
|
|
|
1304
1340
|
is_heating?: boolean | undefined
|
|
1305
1341
|
is_cooling?: boolean | undefined
|
|
1306
1342
|
is_fan_running?: boolean | undefined
|
|
1343
|
+
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
1307
1344
|
is_temporary_manual_override_active?: boolean | undefined
|
|
1308
1345
|
current_climate_setting?:
|
|
1309
1346
|
| {
|
|
@@ -1388,6 +1425,7 @@ export interface Routes {
|
|
|
1388
1425
|
is_heating?: boolean | undefined
|
|
1389
1426
|
is_cooling?: boolean | undefined
|
|
1390
1427
|
is_fan_running?: boolean | undefined
|
|
1428
|
+
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
1391
1429
|
is_temporary_manual_override_active?: boolean | undefined
|
|
1392
1430
|
current_climate_setting?:
|
|
1393
1431
|
| {
|
|
@@ -1891,6 +1929,7 @@ export interface Routes {
|
|
|
1891
1929
|
is_heating?: boolean | undefined
|
|
1892
1930
|
is_cooling?: boolean | undefined
|
|
1893
1931
|
is_fan_running?: boolean | undefined
|
|
1932
|
+
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
1894
1933
|
is_temporary_manual_override_active?: boolean | undefined
|
|
1895
1934
|
current_climate_setting?:
|
|
1896
1935
|
| {
|
|
@@ -1981,6 +2020,7 @@ export interface Routes {
|
|
|
1981
2020
|
is_heating?: boolean | undefined
|
|
1982
2021
|
is_cooling?: boolean | undefined
|
|
1983
2022
|
is_fan_running?: boolean | undefined
|
|
2023
|
+
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
1984
2024
|
is_temporary_manual_override_active?: boolean | undefined
|
|
1985
2025
|
current_climate_setting?:
|
|
1986
2026
|
| {
|
|
@@ -2065,6 +2105,7 @@ export interface Routes {
|
|
|
2065
2105
|
is_heating?: boolean | undefined
|
|
2066
2106
|
is_cooling?: boolean | undefined
|
|
2067
2107
|
is_fan_running?: boolean | undefined
|
|
2108
|
+
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
2068
2109
|
is_temporary_manual_override_active?: boolean | undefined
|
|
2069
2110
|
current_climate_setting?:
|
|
2070
2111
|
| {
|
|
@@ -3517,6 +3558,7 @@ export interface Routes {
|
|
|
3517
3558
|
is_heating?: boolean | undefined
|
|
3518
3559
|
is_cooling?: boolean | undefined
|
|
3519
3560
|
is_fan_running?: boolean | undefined
|
|
3561
|
+
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
3520
3562
|
is_temporary_manual_override_active?: boolean | undefined
|
|
3521
3563
|
current_climate_setting?:
|
|
3522
3564
|
| {
|
|
@@ -3607,6 +3649,7 @@ export interface Routes {
|
|
|
3607
3649
|
is_heating?: boolean | undefined
|
|
3608
3650
|
is_cooling?: boolean | undefined
|
|
3609
3651
|
is_fan_running?: boolean | undefined
|
|
3652
|
+
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
3610
3653
|
is_temporary_manual_override_active?: boolean | undefined
|
|
3611
3654
|
current_climate_setting?:
|
|
3612
3655
|
| {
|
|
@@ -3691,6 +3734,7 @@ export interface Routes {
|
|
|
3691
3734
|
is_heating?: boolean | undefined
|
|
3692
3735
|
is_cooling?: boolean | undefined
|
|
3693
3736
|
is_fan_running?: boolean | undefined
|
|
3737
|
+
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
3694
3738
|
is_temporary_manual_override_active?: boolean | undefined
|
|
3695
3739
|
current_climate_setting?:
|
|
3696
3740
|
| {
|
|
@@ -4224,6 +4268,7 @@ export interface Routes {
|
|
|
4224
4268
|
is_heating?: boolean | undefined
|
|
4225
4269
|
is_cooling?: boolean | undefined
|
|
4226
4270
|
is_fan_running?: boolean | undefined
|
|
4271
|
+
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
4227
4272
|
is_temporary_manual_override_active?: boolean | undefined
|
|
4228
4273
|
current_climate_setting?:
|
|
4229
4274
|
| {
|
|
@@ -4314,6 +4359,7 @@ export interface Routes {
|
|
|
4314
4359
|
is_heating?: boolean | undefined
|
|
4315
4360
|
is_cooling?: boolean | undefined
|
|
4316
4361
|
is_fan_running?: boolean | undefined
|
|
4362
|
+
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
4317
4363
|
is_temporary_manual_override_active?: boolean | undefined
|
|
4318
4364
|
current_climate_setting?:
|
|
4319
4365
|
| {
|
|
@@ -4398,6 +4444,7 @@ export interface Routes {
|
|
|
4398
4444
|
is_heating?: boolean | undefined
|
|
4399
4445
|
is_cooling?: boolean | undefined
|
|
4400
4446
|
is_fan_running?: boolean | undefined
|
|
4447
|
+
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
4401
4448
|
is_temporary_manual_override_active?: boolean | undefined
|
|
4402
4449
|
current_climate_setting?:
|
|
4403
4450
|
| {
|
|
@@ -4,6 +4,10 @@ export const hvac_mode_setting = z.enum(['off', 'heat', 'cool', 'heat_cool'])
|
|
|
4
4
|
|
|
5
5
|
export type HvacModeSetting = z.infer<typeof hvac_mode_setting>
|
|
6
6
|
|
|
7
|
+
export const fan_mode_setting = z.enum(['auto', 'on'])
|
|
8
|
+
|
|
9
|
+
export type FanModeSetting = z.infer<typeof fan_mode_setting>
|
|
10
|
+
|
|
7
11
|
export const climate_setting = z.object({
|
|
8
12
|
automatic_heating_enabled: z.boolean(),
|
|
9
13
|
automatic_cooling_enabled: z.boolean(),
|
|
@@ -41,6 +45,7 @@ const base_thermostat_capability_properties = z.object({
|
|
|
41
45
|
is_heating: z.boolean(),
|
|
42
46
|
is_cooling: z.boolean(),
|
|
43
47
|
is_fan_running: z.boolean(),
|
|
48
|
+
fan_mode_setting,
|
|
44
49
|
|
|
45
50
|
/**
|
|
46
51
|
* this is true if the current thermostat settings differ that what is on seam, and `current_climate_setting.manual_override_allowed: true`
|