@seamapi/types 1.2.0 → 1.4.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.
@@ -454,12 +454,12 @@ export interface Routes {
454
454
  queryParams: {};
455
455
  jsonBody: {};
456
456
  commonParams: {
457
- acs_id: string;
457
+ acs_system_id: string;
458
458
  };
459
459
  formData: {};
460
460
  jsonResponse: {
461
461
  acs_system: {
462
- acs_id: string;
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,72 @@ export interface Routes {
475
475
  formData: {};
476
476
  jsonResponse: {
477
477
  acs_systems: Array<{
478
- acs_id: string;
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/add_to_access_group': {
486
+ route: '/acs/users/add_to_access_group';
487
+ method: 'POST' | 'PATCH';
488
+ queryParams: {};
489
+ jsonBody: {};
490
+ commonParams: {
491
+ acs_user_id: string;
492
+ acs_access_group_id: string;
493
+ };
494
+ formData: {};
495
+ jsonResponse: {};
496
+ };
497
+ '/acs/users/create': {
498
+ route: '/acs/users/create';
499
+ method: 'POST';
500
+ queryParams: {};
501
+ jsonBody: {};
502
+ commonParams: {
503
+ acs_system_id: string;
504
+ name?: string | undefined;
505
+ email?: string | undefined;
506
+ acs_access_group_ids?: string[];
507
+ };
508
+ formData: {};
509
+ jsonResponse: {
510
+ acs_user: {
511
+ acs_user_id: string;
512
+ acs_system_id: string;
513
+ workspace_id: string;
514
+ name: string;
515
+ created_at: string | Date;
516
+ };
517
+ };
518
+ };
519
+ '/acs/users/remove_from_access_group': {
520
+ route: '/acs/users/remove_from_access_group';
521
+ method: 'POST' | 'PATCH';
522
+ queryParams: {};
523
+ jsonBody: {};
524
+ commonParams: {
525
+ acs_user_id: string;
526
+ acs_access_group_id: string;
527
+ };
528
+ formData: {};
529
+ jsonResponse: {};
530
+ };
531
+ '/acs/users/update': {
532
+ route: '/acs/users/update';
533
+ method: 'POST' | 'PATCH';
534
+ queryParams: {};
535
+ jsonBody: {};
536
+ commonParams: {
537
+ acs_user_id: string;
538
+ name?: (string | null) | undefined;
539
+ email?: (string | null) | undefined;
540
+ };
541
+ formData: {};
542
+ jsonResponse: {};
543
+ };
485
544
  '/action_attempts/get': {
486
545
  route: '/action_attempts/get';
487
546
  method: 'GET' | 'POST';
@@ -1046,6 +1105,7 @@ export interface Routes {
1046
1105
  is_heating?: boolean | undefined;
1047
1106
  is_cooling?: boolean | undefined;
1048
1107
  is_fan_running?: boolean | undefined;
1108
+ fan_mode_setting?: ('auto' | 'on') | undefined;
1049
1109
  is_temporary_manual_override_active?: boolean | undefined;
1050
1110
  current_climate_setting?: {
1051
1111
  automatic_heating_enabled: boolean;
@@ -1107,6 +1167,7 @@ export interface Routes {
1107
1167
  is_heating?: boolean | undefined;
1108
1168
  is_cooling?: boolean | undefined;
1109
1169
  is_fan_running?: boolean | undefined;
1170
+ fan_mode_setting?: ('auto' | 'on') | undefined;
1110
1171
  is_temporary_manual_override_active?: boolean | undefined;
1111
1172
  current_climate_setting?: {
1112
1173
  automatic_heating_enabled: boolean;
@@ -1162,6 +1223,7 @@ export interface Routes {
1162
1223
  is_heating?: boolean | undefined;
1163
1224
  is_cooling?: boolean | undefined;
1164
1225
  is_fan_running?: boolean | undefined;
1226
+ fan_mode_setting?: ('auto' | 'on') | undefined;
1165
1227
  is_temporary_manual_override_active?: boolean | undefined;
1166
1228
  current_climate_setting?: {
1167
1229
  automatic_heating_enabled: boolean;
@@ -1441,6 +1503,7 @@ export interface Routes {
1441
1503
  is_heating?: boolean | undefined;
1442
1504
  is_cooling?: boolean | undefined;
1443
1505
  is_fan_running?: boolean | undefined;
1506
+ fan_mode_setting?: ('auto' | 'on') | undefined;
1444
1507
  is_temporary_manual_override_active?: boolean | undefined;
1445
1508
  current_climate_setting?: {
1446
1509
  automatic_heating_enabled: boolean;
@@ -1502,6 +1565,7 @@ export interface Routes {
1502
1565
  is_heating?: boolean | undefined;
1503
1566
  is_cooling?: boolean | undefined;
1504
1567
  is_fan_running?: boolean | undefined;
1568
+ fan_mode_setting?: ('auto' | 'on') | undefined;
1505
1569
  is_temporary_manual_override_active?: boolean | undefined;
1506
1570
  current_climate_setting?: {
1507
1571
  automatic_heating_enabled: boolean;
@@ -1557,6 +1621,7 @@ export interface Routes {
1557
1621
  is_heating?: boolean | undefined;
1558
1622
  is_cooling?: boolean | undefined;
1559
1623
  is_fan_running?: boolean | undefined;
1624
+ fan_mode_setting?: ('auto' | 'on') | undefined;
1560
1625
  is_temporary_manual_override_active?: boolean | undefined;
1561
1626
  current_climate_setting?: {
1562
1627
  automatic_heating_enabled: boolean;
@@ -2534,6 +2599,7 @@ export interface Routes {
2534
2599
  is_heating?: boolean | undefined;
2535
2600
  is_cooling?: boolean | undefined;
2536
2601
  is_fan_running?: boolean | undefined;
2602
+ fan_mode_setting?: ('auto' | 'on') | undefined;
2537
2603
  is_temporary_manual_override_active?: boolean | undefined;
2538
2604
  current_climate_setting?: {
2539
2605
  automatic_heating_enabled: boolean;
@@ -2595,6 +2661,7 @@ export interface Routes {
2595
2661
  is_heating?: boolean | undefined;
2596
2662
  is_cooling?: boolean | undefined;
2597
2663
  is_fan_running?: boolean | undefined;
2664
+ fan_mode_setting?: ('auto' | 'on') | undefined;
2598
2665
  is_temporary_manual_override_active?: boolean | undefined;
2599
2666
  current_climate_setting?: {
2600
2667
  automatic_heating_enabled: boolean;
@@ -2650,6 +2717,7 @@ export interface Routes {
2650
2717
  is_heating?: boolean | undefined;
2651
2718
  is_cooling?: boolean | undefined;
2652
2719
  is_fan_running?: boolean | undefined;
2720
+ fan_mode_setting?: ('auto' | 'on') | undefined;
2653
2721
  is_temporary_manual_override_active?: boolean | undefined;
2654
2722
  current_climate_setting?: {
2655
2723
  automatic_heating_enabled: boolean;
@@ -2959,6 +3027,7 @@ export interface Routes {
2959
3027
  is_heating?: boolean | undefined;
2960
3028
  is_cooling?: boolean | undefined;
2961
3029
  is_fan_running?: boolean | undefined;
3030
+ fan_mode_setting?: ('auto' | 'on') | undefined;
2962
3031
  is_temporary_manual_override_active?: boolean | undefined;
2963
3032
  current_climate_setting?: {
2964
3033
  automatic_heating_enabled: boolean;
@@ -3020,6 +3089,7 @@ export interface Routes {
3020
3089
  is_heating?: boolean | undefined;
3021
3090
  is_cooling?: boolean | undefined;
3022
3091
  is_fan_running?: boolean | undefined;
3092
+ fan_mode_setting?: ('auto' | 'on') | undefined;
3023
3093
  is_temporary_manual_override_active?: boolean | undefined;
3024
3094
  current_climate_setting?: {
3025
3095
  automatic_heating_enabled: boolean;
@@ -3075,6 +3145,7 @@ export interface Routes {
3075
3145
  is_heating?: boolean | undefined;
3076
3146
  is_cooling?: boolean | undefined;
3077
3147
  is_fan_running?: boolean | undefined;
3148
+ fan_mode_setting?: ('auto' | 'on') | undefined;
3078
3149
  is_temporary_manual_override_active?: boolean | undefined;
3079
3150
  current_climate_setting?: {
3080
3151
  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,K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CAAC,OAAO,CAAC,IAAI,CAAC;CACtC,CAAC,CACH,CAAA;AAEH,MAAM,CAAC,MAAM,wCAAwC,GACnD,qCAAqC,CAAC,KAAK,CACzC,CAAC,CAAC,MAAM,CAAC;IACP,6BAA6B,EAAE,CAAC,CAAC,MAAM,EAAE;IACzC,gCAAgC,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5C,6BAA6B,EAAE,CAAC,CAAC,MAAM,EAAE;IACzC,gCAAgC,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5C,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CACtC,CAAC,CACH,CAAA;AAEH,MAAM,CAAC,MAAM,gDAAgD,GAC3D,wCAAwC;KACrC,KAAK,CAAC,wCAAwC,CAAC;KAC/C,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;IACP,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACrC,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACrC,iCAAiC,EAAE,CAAC,CAAC,MAAM,EAAE;IAC7C,oCAAoC,EAAE,CAAC,CAAC,MAAM,EAAE;CACjD,CAAC,CACH,CAAA;AAEL,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC;IACtD,gDAAgD,CAAC,OAAO,EAAE;IAC1D,wCAAwC,CAAC,OAAO,EAAE;IAClD,wCAAwC,CAAC,OAAO,EAAE;CACnD,CAAC,CAAA"}
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,MAA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C,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5C,6BAA6B,EAAE,CAAC,CAAC,MAAM,EAAE;IACzC,gCAAgC,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5C,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CACtC,CAAC,CACH,CAAA;AAEH,MAAM,CAAC,MAAM,gDAAgD,GAC3D,wCAAwC;KACrC,KAAK,CAAC,wCAAwC,CAAC;KAC/C,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;IACP,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACrC,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACrC,iCAAiC,EAAE,CAAC,CAAC,MAAM,EAAE;IAC7C,oCAAoC,EAAE,CAAC,CAAC,MAAM,EAAE;CACjD,CAAC,CACH,CAAA;AAEL,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC;IACtD,gDAAgD,CAAC,OAAO,EAAE;IAC1D,wCAAwC,CAAC,OAAO,EAAE;IAClD,wCAAwC,CAAC,OAAO,EAAE;CACnD,CAAC,CAAA"}
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -468,12 +468,12 @@ export interface Routes {
468
468
  queryParams: {}
469
469
  jsonBody: {}
470
470
  commonParams: {
471
- acs_id: string
471
+ acs_system_id: string
472
472
  }
473
473
  formData: {}
474
474
  jsonResponse: {
475
475
  acs_system: {
476
- acs_id: string
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,72 @@ export interface Routes {
489
489
  formData: {}
490
490
  jsonResponse: {
491
491
  acs_systems: Array<{
492
- acs_id: string
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/add_to_access_group': {
500
+ route: '/acs/users/add_to_access_group'
501
+ method: 'POST' | 'PATCH'
502
+ queryParams: {}
503
+ jsonBody: {}
504
+ commonParams: {
505
+ acs_user_id: string
506
+ acs_access_group_id: string
507
+ }
508
+ formData: {}
509
+ jsonResponse: {}
510
+ }
511
+ '/acs/users/create': {
512
+ route: '/acs/users/create'
513
+ method: 'POST'
514
+ queryParams: {}
515
+ jsonBody: {}
516
+ commonParams: {
517
+ acs_system_id: string
518
+ name?: string | undefined
519
+ email?: string | undefined
520
+ acs_access_group_ids?: string[]
521
+ }
522
+ formData: {}
523
+ jsonResponse: {
524
+ acs_user: {
525
+ acs_user_id: string
526
+ acs_system_id: string
527
+ workspace_id: string
528
+ name: string
529
+ created_at: string | Date
530
+ }
531
+ }
532
+ }
533
+ '/acs/users/remove_from_access_group': {
534
+ route: '/acs/users/remove_from_access_group'
535
+ method: 'POST' | 'PATCH'
536
+ queryParams: {}
537
+ jsonBody: {}
538
+ commonParams: {
539
+ acs_user_id: string
540
+ acs_access_group_id: string
541
+ }
542
+ formData: {}
543
+ jsonResponse: {}
544
+ }
545
+ '/acs/users/update': {
546
+ route: '/acs/users/update'
547
+ method: 'POST' | 'PATCH'
548
+ queryParams: {}
549
+ jsonBody: {}
550
+ commonParams: {
551
+ acs_user_id: string
552
+ name?: (string | null) | undefined
553
+ email?: (string | null) | undefined
554
+ }
555
+ formData: {}
556
+ jsonResponse: {}
557
+ }
499
558
  '/action_attempts/get': {
500
559
  route: '/action_attempts/get'
501
560
  method: 'GET' | 'POST'
@@ -1214,6 +1273,7 @@ export interface Routes {
1214
1273
  is_heating?: boolean | undefined
1215
1274
  is_cooling?: boolean | undefined
1216
1275
  is_fan_running?: boolean | undefined
1276
+ fan_mode_setting?: ('auto' | 'on') | undefined
1217
1277
  is_temporary_manual_override_active?: boolean | undefined
1218
1278
  current_climate_setting?:
1219
1279
  | {
@@ -1304,6 +1364,7 @@ export interface Routes {
1304
1364
  is_heating?: boolean | undefined
1305
1365
  is_cooling?: boolean | undefined
1306
1366
  is_fan_running?: boolean | undefined
1367
+ fan_mode_setting?: ('auto' | 'on') | undefined
1307
1368
  is_temporary_manual_override_active?: boolean | undefined
1308
1369
  current_climate_setting?:
1309
1370
  | {
@@ -1388,6 +1449,7 @@ export interface Routes {
1388
1449
  is_heating?: boolean | undefined
1389
1450
  is_cooling?: boolean | undefined
1390
1451
  is_fan_running?: boolean | undefined
1452
+ fan_mode_setting?: ('auto' | 'on') | undefined
1391
1453
  is_temporary_manual_override_active?: boolean | undefined
1392
1454
  current_climate_setting?:
1393
1455
  | {
@@ -1891,6 +1953,7 @@ export interface Routes {
1891
1953
  is_heating?: boolean | undefined
1892
1954
  is_cooling?: boolean | undefined
1893
1955
  is_fan_running?: boolean | undefined
1956
+ fan_mode_setting?: ('auto' | 'on') | undefined
1894
1957
  is_temporary_manual_override_active?: boolean | undefined
1895
1958
  current_climate_setting?:
1896
1959
  | {
@@ -1981,6 +2044,7 @@ export interface Routes {
1981
2044
  is_heating?: boolean | undefined
1982
2045
  is_cooling?: boolean | undefined
1983
2046
  is_fan_running?: boolean | undefined
2047
+ fan_mode_setting?: ('auto' | 'on') | undefined
1984
2048
  is_temporary_manual_override_active?: boolean | undefined
1985
2049
  current_climate_setting?:
1986
2050
  | {
@@ -2065,6 +2129,7 @@ export interface Routes {
2065
2129
  is_heating?: boolean | undefined
2066
2130
  is_cooling?: boolean | undefined
2067
2131
  is_fan_running?: boolean | undefined
2132
+ fan_mode_setting?: ('auto' | 'on') | undefined
2068
2133
  is_temporary_manual_override_active?: boolean | undefined
2069
2134
  current_climate_setting?:
2070
2135
  | {
@@ -3517,6 +3582,7 @@ export interface Routes {
3517
3582
  is_heating?: boolean | undefined
3518
3583
  is_cooling?: boolean | undefined
3519
3584
  is_fan_running?: boolean | undefined
3585
+ fan_mode_setting?: ('auto' | 'on') | undefined
3520
3586
  is_temporary_manual_override_active?: boolean | undefined
3521
3587
  current_climate_setting?:
3522
3588
  | {
@@ -3607,6 +3673,7 @@ export interface Routes {
3607
3673
  is_heating?: boolean | undefined
3608
3674
  is_cooling?: boolean | undefined
3609
3675
  is_fan_running?: boolean | undefined
3676
+ fan_mode_setting?: ('auto' | 'on') | undefined
3610
3677
  is_temporary_manual_override_active?: boolean | undefined
3611
3678
  current_climate_setting?:
3612
3679
  | {
@@ -3691,6 +3758,7 @@ export interface Routes {
3691
3758
  is_heating?: boolean | undefined
3692
3759
  is_cooling?: boolean | undefined
3693
3760
  is_fan_running?: boolean | undefined
3761
+ fan_mode_setting?: ('auto' | 'on') | undefined
3694
3762
  is_temporary_manual_override_active?: boolean | undefined
3695
3763
  current_climate_setting?:
3696
3764
  | {
@@ -4224,6 +4292,7 @@ export interface Routes {
4224
4292
  is_heating?: boolean | undefined
4225
4293
  is_cooling?: boolean | undefined
4226
4294
  is_fan_running?: boolean | undefined
4295
+ fan_mode_setting?: ('auto' | 'on') | undefined
4227
4296
  is_temporary_manual_override_active?: boolean | undefined
4228
4297
  current_climate_setting?:
4229
4298
  | {
@@ -4314,6 +4383,7 @@ export interface Routes {
4314
4383
  is_heating?: boolean | undefined
4315
4384
  is_cooling?: boolean | undefined
4316
4385
  is_fan_running?: boolean | undefined
4386
+ fan_mode_setting?: ('auto' | 'on') | undefined
4317
4387
  is_temporary_manual_override_active?: boolean | undefined
4318
4388
  current_climate_setting?:
4319
4389
  | {
@@ -4398,6 +4468,7 @@ export interface Routes {
4398
4468
  is_heating?: boolean | undefined
4399
4469
  is_cooling?: boolean | undefined
4400
4470
  is_fan_running?: boolean | undefined
4471
+ fan_mode_setting?: ('auto' | 'on') | undefined
4401
4472
  is_temporary_manual_override_active?: boolean | undefined
4402
4473
  current_climate_setting?:
4403
4474
  | {
@@ -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`