@seamapi/types 1.1.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.
@@ -196,7 +196,7 @@ export interface Routes {
196
196
  queryParams: {};
197
197
  jsonBody: {};
198
198
  commonParams: {
199
- device_id: string;
199
+ device_id?: string | undefined;
200
200
  access_code_ids?: string[] | undefined;
201
201
  };
202
202
  formData: {};
@@ -448,6 +448,75 @@ export interface Routes {
448
448
  };
449
449
  };
450
450
  };
451
+ '/acs/systems/get': {
452
+ route: '/acs/systems/get';
453
+ method: 'GET' | 'POST';
454
+ queryParams: {};
455
+ jsonBody: {};
456
+ commonParams: {
457
+ acs_system_id: string;
458
+ };
459
+ formData: {};
460
+ jsonResponse: {
461
+ acs_system: {
462
+ acs_system_id: string;
463
+ system_type: 'pti_site' | 'alta_org';
464
+ name: string;
465
+ created_at: string | Date;
466
+ };
467
+ };
468
+ };
469
+ '/acs/systems/list': {
470
+ route: '/acs/systems/list';
471
+ method: 'GET' | 'POST';
472
+ queryParams: {};
473
+ jsonBody: {};
474
+ commonParams: {};
475
+ formData: {};
476
+ jsonResponse: {
477
+ acs_systems: Array<{
478
+ acs_system_id: string;
479
+ system_type: 'pti_site' | 'alta_org';
480
+ name: string;
481
+ created_at: string | Date;
482
+ }>;
483
+ };
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
+ };
451
520
  '/action_attempts/get': {
452
521
  route: '/action_attempts/get';
453
522
  method: 'GET' | 'POST';
@@ -1012,6 +1081,7 @@ export interface Routes {
1012
1081
  is_heating?: boolean | undefined;
1013
1082
  is_cooling?: boolean | undefined;
1014
1083
  is_fan_running?: boolean | undefined;
1084
+ fan_mode_setting?: ('auto' | 'on') | undefined;
1015
1085
  is_temporary_manual_override_active?: boolean | undefined;
1016
1086
  current_climate_setting?: {
1017
1087
  automatic_heating_enabled: boolean;
@@ -1073,6 +1143,7 @@ export interface Routes {
1073
1143
  is_heating?: boolean | undefined;
1074
1144
  is_cooling?: boolean | undefined;
1075
1145
  is_fan_running?: boolean | undefined;
1146
+ fan_mode_setting?: ('auto' | 'on') | undefined;
1076
1147
  is_temporary_manual_override_active?: boolean | undefined;
1077
1148
  current_climate_setting?: {
1078
1149
  automatic_heating_enabled: boolean;
@@ -1128,6 +1199,7 @@ export interface Routes {
1128
1199
  is_heating?: boolean | undefined;
1129
1200
  is_cooling?: boolean | undefined;
1130
1201
  is_fan_running?: boolean | undefined;
1202
+ fan_mode_setting?: ('auto' | 'on') | undefined;
1131
1203
  is_temporary_manual_override_active?: boolean | undefined;
1132
1204
  current_climate_setting?: {
1133
1205
  automatic_heating_enabled: boolean;
@@ -1407,6 +1479,7 @@ export interface Routes {
1407
1479
  is_heating?: boolean | undefined;
1408
1480
  is_cooling?: boolean | undefined;
1409
1481
  is_fan_running?: boolean | undefined;
1482
+ fan_mode_setting?: ('auto' | 'on') | undefined;
1410
1483
  is_temporary_manual_override_active?: boolean | undefined;
1411
1484
  current_climate_setting?: {
1412
1485
  automatic_heating_enabled: boolean;
@@ -1468,6 +1541,7 @@ export interface Routes {
1468
1541
  is_heating?: boolean | undefined;
1469
1542
  is_cooling?: boolean | undefined;
1470
1543
  is_fan_running?: boolean | undefined;
1544
+ fan_mode_setting?: ('auto' | 'on') | undefined;
1471
1545
  is_temporary_manual_override_active?: boolean | undefined;
1472
1546
  current_climate_setting?: {
1473
1547
  automatic_heating_enabled: boolean;
@@ -1523,6 +1597,7 @@ export interface Routes {
1523
1597
  is_heating?: boolean | undefined;
1524
1598
  is_cooling?: boolean | undefined;
1525
1599
  is_fan_running?: boolean | undefined;
1600
+ fan_mode_setting?: ('auto' | 'on') | undefined;
1526
1601
  is_temporary_manual_override_active?: boolean | undefined;
1527
1602
  current_climate_setting?: {
1528
1603
  automatic_heating_enabled: boolean;
@@ -2500,6 +2575,7 @@ export interface Routes {
2500
2575
  is_heating?: boolean | undefined;
2501
2576
  is_cooling?: boolean | undefined;
2502
2577
  is_fan_running?: boolean | undefined;
2578
+ fan_mode_setting?: ('auto' | 'on') | undefined;
2503
2579
  is_temporary_manual_override_active?: boolean | undefined;
2504
2580
  current_climate_setting?: {
2505
2581
  automatic_heating_enabled: boolean;
@@ -2561,6 +2637,7 @@ export interface Routes {
2561
2637
  is_heating?: boolean | undefined;
2562
2638
  is_cooling?: boolean | undefined;
2563
2639
  is_fan_running?: boolean | undefined;
2640
+ fan_mode_setting?: ('auto' | 'on') | undefined;
2564
2641
  is_temporary_manual_override_active?: boolean | undefined;
2565
2642
  current_climate_setting?: {
2566
2643
  automatic_heating_enabled: boolean;
@@ -2616,6 +2693,7 @@ export interface Routes {
2616
2693
  is_heating?: boolean | undefined;
2617
2694
  is_cooling?: boolean | undefined;
2618
2695
  is_fan_running?: boolean | undefined;
2696
+ fan_mode_setting?: ('auto' | 'on') | undefined;
2619
2697
  is_temporary_manual_override_active?: boolean | undefined;
2620
2698
  current_climate_setting?: {
2621
2699
  automatic_heating_enabled: boolean;
@@ -2925,6 +3003,7 @@ export interface Routes {
2925
3003
  is_heating?: boolean | undefined;
2926
3004
  is_cooling?: boolean | undefined;
2927
3005
  is_fan_running?: boolean | undefined;
3006
+ fan_mode_setting?: ('auto' | 'on') | undefined;
2928
3007
  is_temporary_manual_override_active?: boolean | undefined;
2929
3008
  current_climate_setting?: {
2930
3009
  automatic_heating_enabled: boolean;
@@ -2986,6 +3065,7 @@ export interface Routes {
2986
3065
  is_heating?: boolean | undefined;
2987
3066
  is_cooling?: boolean | undefined;
2988
3067
  is_fan_running?: boolean | undefined;
3068
+ fan_mode_setting?: ('auto' | 'on') | undefined;
2989
3069
  is_temporary_manual_override_active?: boolean | undefined;
2990
3070
  current_climate_setting?: {
2991
3071
  automatic_heating_enabled: boolean;
@@ -3041,6 +3121,7 @@ export interface Routes {
3041
3121
  is_heating?: boolean | undefined;
3042
3122
  is_cooling?: boolean | undefined;
3043
3123
  is_fan_running?: boolean | undefined;
3124
+ fan_mode_setting?: ('auto' | 'on') | undefined;
3044
3125
  is_temporary_manual_override_active?: boolean | undefined;
3045
3126
  current_climate_setting?: {
3046
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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C,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,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAA;AAItD,MAAM,CAAC,MAAM,eAAe,GAAG,CA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;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.1.0",
3
+ "version": "1.3.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -202,7 +202,7 @@ export interface Routes {
202
202
  queryParams: {}
203
203
  jsonBody: {}
204
204
  commonParams: {
205
- device_id: string
205
+ device_id?: string | undefined
206
206
  access_code_ids?: string[] | undefined
207
207
  }
208
208
  formData: {}
@@ -462,6 +462,75 @@ export interface Routes {
462
462
  }
463
463
  }
464
464
  }
465
+ '/acs/systems/get': {
466
+ route: '/acs/systems/get'
467
+ method: 'GET' | 'POST'
468
+ queryParams: {}
469
+ jsonBody: {}
470
+ commonParams: {
471
+ acs_system_id: string
472
+ }
473
+ formData: {}
474
+ jsonResponse: {
475
+ acs_system: {
476
+ acs_system_id: string
477
+ system_type: 'pti_site' | 'alta_org'
478
+ name: string
479
+ created_at: string | Date
480
+ }
481
+ }
482
+ }
483
+ '/acs/systems/list': {
484
+ route: '/acs/systems/list'
485
+ method: 'GET' | 'POST'
486
+ queryParams: {}
487
+ jsonBody: {}
488
+ commonParams: {}
489
+ formData: {}
490
+ jsonResponse: {
491
+ acs_systems: Array<{
492
+ acs_system_id: string
493
+ system_type: 'pti_site' | 'alta_org'
494
+ name: string
495
+ created_at: string | Date
496
+ }>
497
+ }
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
+ }
465
534
  '/action_attempts/get': {
466
535
  route: '/action_attempts/get'
467
536
  method: 'GET' | 'POST'
@@ -1180,6 +1249,7 @@ export interface Routes {
1180
1249
  is_heating?: boolean | undefined
1181
1250
  is_cooling?: boolean | undefined
1182
1251
  is_fan_running?: boolean | undefined
1252
+ fan_mode_setting?: ('auto' | 'on') | undefined
1183
1253
  is_temporary_manual_override_active?: boolean | undefined
1184
1254
  current_climate_setting?:
1185
1255
  | {
@@ -1270,6 +1340,7 @@ export interface Routes {
1270
1340
  is_heating?: boolean | undefined
1271
1341
  is_cooling?: boolean | undefined
1272
1342
  is_fan_running?: boolean | undefined
1343
+ fan_mode_setting?: ('auto' | 'on') | undefined
1273
1344
  is_temporary_manual_override_active?: boolean | undefined
1274
1345
  current_climate_setting?:
1275
1346
  | {
@@ -1354,6 +1425,7 @@ export interface Routes {
1354
1425
  is_heating?: boolean | undefined
1355
1426
  is_cooling?: boolean | undefined
1356
1427
  is_fan_running?: boolean | undefined
1428
+ fan_mode_setting?: ('auto' | 'on') | undefined
1357
1429
  is_temporary_manual_override_active?: boolean | undefined
1358
1430
  current_climate_setting?:
1359
1431
  | {
@@ -1857,6 +1929,7 @@ export interface Routes {
1857
1929
  is_heating?: boolean | undefined
1858
1930
  is_cooling?: boolean | undefined
1859
1931
  is_fan_running?: boolean | undefined
1932
+ fan_mode_setting?: ('auto' | 'on') | undefined
1860
1933
  is_temporary_manual_override_active?: boolean | undefined
1861
1934
  current_climate_setting?:
1862
1935
  | {
@@ -1947,6 +2020,7 @@ export interface Routes {
1947
2020
  is_heating?: boolean | undefined
1948
2021
  is_cooling?: boolean | undefined
1949
2022
  is_fan_running?: boolean | undefined
2023
+ fan_mode_setting?: ('auto' | 'on') | undefined
1950
2024
  is_temporary_manual_override_active?: boolean | undefined
1951
2025
  current_climate_setting?:
1952
2026
  | {
@@ -2031,6 +2105,7 @@ export interface Routes {
2031
2105
  is_heating?: boolean | undefined
2032
2106
  is_cooling?: boolean | undefined
2033
2107
  is_fan_running?: boolean | undefined
2108
+ fan_mode_setting?: ('auto' | 'on') | undefined
2034
2109
  is_temporary_manual_override_active?: boolean | undefined
2035
2110
  current_climate_setting?:
2036
2111
  | {
@@ -3483,6 +3558,7 @@ export interface Routes {
3483
3558
  is_heating?: boolean | undefined
3484
3559
  is_cooling?: boolean | undefined
3485
3560
  is_fan_running?: boolean | undefined
3561
+ fan_mode_setting?: ('auto' | 'on') | undefined
3486
3562
  is_temporary_manual_override_active?: boolean | undefined
3487
3563
  current_climate_setting?:
3488
3564
  | {
@@ -3573,6 +3649,7 @@ export interface Routes {
3573
3649
  is_heating?: boolean | undefined
3574
3650
  is_cooling?: boolean | undefined
3575
3651
  is_fan_running?: boolean | undefined
3652
+ fan_mode_setting?: ('auto' | 'on') | undefined
3576
3653
  is_temporary_manual_override_active?: boolean | undefined
3577
3654
  current_climate_setting?:
3578
3655
  | {
@@ -3657,6 +3734,7 @@ export interface Routes {
3657
3734
  is_heating?: boolean | undefined
3658
3735
  is_cooling?: boolean | undefined
3659
3736
  is_fan_running?: boolean | undefined
3737
+ fan_mode_setting?: ('auto' | 'on') | undefined
3660
3738
  is_temporary_manual_override_active?: boolean | undefined
3661
3739
  current_climate_setting?:
3662
3740
  | {
@@ -4190,6 +4268,7 @@ export interface Routes {
4190
4268
  is_heating?: boolean | undefined
4191
4269
  is_cooling?: boolean | undefined
4192
4270
  is_fan_running?: boolean | undefined
4271
+ fan_mode_setting?: ('auto' | 'on') | undefined
4193
4272
  is_temporary_manual_override_active?: boolean | undefined
4194
4273
  current_climate_setting?:
4195
4274
  | {
@@ -4280,6 +4359,7 @@ export interface Routes {
4280
4359
  is_heating?: boolean | undefined
4281
4360
  is_cooling?: boolean | undefined
4282
4361
  is_fan_running?: boolean | undefined
4362
+ fan_mode_setting?: ('auto' | 'on') | undefined
4283
4363
  is_temporary_manual_override_active?: boolean | undefined
4284
4364
  current_climate_setting?:
4285
4365
  | {
@@ -4364,6 +4444,7 @@ export interface Routes {
4364
4444
  is_heating?: boolean | undefined
4365
4445
  is_cooling?: boolean | undefined
4366
4446
  is_fan_running?: boolean | undefined
4447
+ fan_mode_setting?: ('auto' | 'on') | undefined
4367
4448
  is_temporary_manual_override_active?: boolean | undefined
4368
4449
  current_climate_setting?:
4369
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`