@seamapi/types 1.248.0 → 1.251.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/dist/connect.cjs +64 -13
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +162 -108
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +21 -18
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +21 -18
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +1 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +31 -26
- package/lib/seam/connect/models/devices/phone.d.ts +21 -18
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -18
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
- package/lib/seam/connect/models/events/acs/common.js +2 -1
- package/lib/seam/connect/models/events/acs/common.js.map +1 -1
- package/lib/seam/connect/models/events/acs/credentials.d.ts +6 -6
- package/lib/seam/connect/models/events/acs/index.d.ts +35 -9
- package/lib/seam/connect/models/events/acs/systems.d.ts +60 -6
- package/lib/seam/connect/models/events/acs/systems.js +9 -1
- package/lib/seam/connect/models/events/acs/systems.js.map +1 -1
- package/lib/seam/connect/models/events/acs/users.d.ts +6 -6
- package/lib/seam/connect/models/events/devices.d.ts +86 -0
- package/lib/seam/connect/models/events/devices.js +21 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +35 -9
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +6 -6
- package/lib/seam/connect/models/thermostats/modes.d.ts +3 -1
- package/lib/seam/connect/models/thermostats/modes.js +2 -1
- package/lib/seam/connect/models/thermostats/modes.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +8 -0
- package/lib/seam/connect/openapi.js +34 -10
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +67 -55
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +1 -0
- package/src/lib/seam/connect/models/events/acs/common.ts +2 -1
- package/src/lib/seam/connect/models/events/acs/systems.ts +12 -1
- package/src/lib/seam/connect/models/events/devices.ts +33 -0
- package/src/lib/seam/connect/models/thermostats/modes.ts +7 -1
- package/src/lib/seam/connect/openapi.ts +34 -10
- package/src/lib/seam/connect/route-types.ts +139 -53
|
@@ -5,52 +5,106 @@ export declare const acs_system_connected_event: z.ZodObject<z.objectUtil.extend
|
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
7
|
}, {
|
|
8
|
-
connected_account_id: z.ZodString
|
|
8
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
9
9
|
acs_system_id: z.ZodString;
|
|
10
10
|
}>, {}>, {
|
|
11
11
|
event_type: z.ZodLiteral<"acs_system.connected">;
|
|
12
12
|
}>, "strip", z.ZodTypeAny, {
|
|
13
|
-
connected_account_id: string;
|
|
14
13
|
created_at: string;
|
|
15
14
|
workspace_id: string;
|
|
16
15
|
acs_system_id: string;
|
|
17
16
|
event_id: string;
|
|
18
17
|
occurred_at: string;
|
|
19
18
|
event_type: "acs_system.connected";
|
|
19
|
+
connected_account_id?: string | undefined;
|
|
20
20
|
}, {
|
|
21
|
-
connected_account_id: string;
|
|
22
21
|
created_at: string;
|
|
23
22
|
workspace_id: string;
|
|
24
23
|
acs_system_id: string;
|
|
25
24
|
event_id: string;
|
|
26
25
|
occurred_at: string;
|
|
27
26
|
event_type: "acs_system.connected";
|
|
27
|
+
connected_account_id?: string | undefined;
|
|
28
28
|
}>;
|
|
29
29
|
export type AcsSystemConnectedEvent = z.infer<typeof acs_system_connected_event>;
|
|
30
|
+
export declare const acs_system_added_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
31
|
+
event_id: z.ZodString;
|
|
32
|
+
workspace_id: z.ZodString;
|
|
33
|
+
created_at: z.ZodString;
|
|
34
|
+
occurred_at: z.ZodString;
|
|
35
|
+
}, {
|
|
36
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
37
|
+
acs_system_id: z.ZodString;
|
|
38
|
+
}>, {}>, {
|
|
39
|
+
event_type: z.ZodLiteral<"acs_system.added">;
|
|
40
|
+
}>, "strip", z.ZodTypeAny, {
|
|
41
|
+
created_at: string;
|
|
42
|
+
workspace_id: string;
|
|
43
|
+
acs_system_id: string;
|
|
44
|
+
event_id: string;
|
|
45
|
+
occurred_at: string;
|
|
46
|
+
event_type: "acs_system.added";
|
|
47
|
+
connected_account_id?: string | undefined;
|
|
48
|
+
}, {
|
|
49
|
+
created_at: string;
|
|
50
|
+
workspace_id: string;
|
|
51
|
+
acs_system_id: string;
|
|
52
|
+
event_id: string;
|
|
53
|
+
occurred_at: string;
|
|
54
|
+
event_type: "acs_system.added";
|
|
55
|
+
connected_account_id?: string | undefined;
|
|
56
|
+
}>;
|
|
57
|
+
export type AcsSystemAddedEvent = z.infer<typeof acs_system_added_event>;
|
|
30
58
|
export declare const acs_system_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
31
59
|
event_id: z.ZodString;
|
|
32
60
|
workspace_id: z.ZodString;
|
|
33
61
|
created_at: z.ZodString;
|
|
34
62
|
occurred_at: z.ZodString;
|
|
35
63
|
}, {
|
|
36
|
-
connected_account_id: z.ZodString
|
|
64
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
37
65
|
acs_system_id: z.ZodString;
|
|
38
66
|
}>, {}>, {
|
|
39
67
|
event_type: z.ZodLiteral<"acs_system.connected">;
|
|
40
68
|
}>, "strip", z.ZodTypeAny, {
|
|
41
|
-
connected_account_id: string;
|
|
42
69
|
created_at: string;
|
|
43
70
|
workspace_id: string;
|
|
44
71
|
acs_system_id: string;
|
|
45
72
|
event_id: string;
|
|
46
73
|
occurred_at: string;
|
|
47
74
|
event_type: "acs_system.connected";
|
|
75
|
+
connected_account_id?: string | undefined;
|
|
48
76
|
}, {
|
|
49
|
-
connected_account_id: string;
|
|
50
77
|
created_at: string;
|
|
51
78
|
workspace_id: string;
|
|
52
79
|
acs_system_id: string;
|
|
53
80
|
event_id: string;
|
|
54
81
|
occurred_at: string;
|
|
55
82
|
event_type: "acs_system.connected";
|
|
83
|
+
connected_account_id?: string | undefined;
|
|
84
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
85
|
+
event_id: z.ZodString;
|
|
86
|
+
workspace_id: z.ZodString;
|
|
87
|
+
created_at: z.ZodString;
|
|
88
|
+
occurred_at: z.ZodString;
|
|
89
|
+
}, {
|
|
90
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
91
|
+
acs_system_id: z.ZodString;
|
|
92
|
+
}>, {}>, {
|
|
93
|
+
event_type: z.ZodLiteral<"acs_system.added">;
|
|
94
|
+
}>, "strip", z.ZodTypeAny, {
|
|
95
|
+
created_at: string;
|
|
96
|
+
workspace_id: string;
|
|
97
|
+
acs_system_id: string;
|
|
98
|
+
event_id: string;
|
|
99
|
+
occurred_at: string;
|
|
100
|
+
event_type: "acs_system.added";
|
|
101
|
+
connected_account_id?: string | undefined;
|
|
102
|
+
}, {
|
|
103
|
+
created_at: string;
|
|
104
|
+
workspace_id: string;
|
|
105
|
+
acs_system_id: string;
|
|
106
|
+
event_id: string;
|
|
107
|
+
occurred_at: string;
|
|
108
|
+
event_type: "acs_system.added";
|
|
109
|
+
connected_account_id?: string | undefined;
|
|
56
110
|
}>];
|
|
@@ -6,5 +6,13 @@ export const acs_system_connected_event = acs_system_event
|
|
|
6
6
|
event_type: z.literal('acs_system.connected'),
|
|
7
7
|
})
|
|
8
8
|
.describe('An ACS system was connected.');
|
|
9
|
-
export const
|
|
9
|
+
export const acs_system_added_event = acs_system_event
|
|
10
|
+
.extend({
|
|
11
|
+
event_type: z.literal('acs_system.added'),
|
|
12
|
+
})
|
|
13
|
+
.describe('An ACS system was added.');
|
|
14
|
+
export const acs_system_events = [
|
|
15
|
+
acs_system_connected_event,
|
|
16
|
+
acs_system_added_event,
|
|
17
|
+
];
|
|
10
18
|
//# sourceMappingURL=systems.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"systems.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/systems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAEpD,MAAM,CAAC,MAAM,0BAA0B,GAAG,gBAAgB;KACvD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;CAC9C,CAAC;KACD,QAAQ,CAAC,8BAA8B,CAAC,CAAA;AAI3C,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"systems.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/systems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAEpD,MAAM,CAAC,MAAM,0BAA0B,GAAG,gBAAgB;KACvD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;CAC9C,CAAC;KACD,QAAQ,CAAC,8BAA8B,CAAC,CAAA;AAI3C,MAAM,CAAC,MAAM,sBAAsB,GAAG,gBAAgB;KACnD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;CAC1C,CAAC;KACD,QAAQ,CAAC,0BAA0B,CAAC,CAAA;AAIvC,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,0BAA0B;IAC1B,sBAAsB;CACd,CAAA"}
|
|
@@ -5,14 +5,13 @@ export declare const acs_user_deleted_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
7
|
}, {
|
|
8
|
-
connected_account_id: z.ZodString
|
|
8
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
9
9
|
acs_system_id: z.ZodString;
|
|
10
10
|
}>, {
|
|
11
11
|
acs_user_id: z.ZodString;
|
|
12
12
|
}>, {
|
|
13
13
|
event_type: z.ZodLiteral<"acs_user.deleted">;
|
|
14
14
|
}>, "strip", z.ZodTypeAny, {
|
|
15
|
-
connected_account_id: string;
|
|
16
15
|
created_at: string;
|
|
17
16
|
workspace_id: string;
|
|
18
17
|
acs_system_id: string;
|
|
@@ -20,8 +19,8 @@ export declare const acs_user_deleted_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
20
19
|
event_id: string;
|
|
21
20
|
occurred_at: string;
|
|
22
21
|
event_type: "acs_user.deleted";
|
|
22
|
+
connected_account_id?: string | undefined;
|
|
23
23
|
}, {
|
|
24
|
-
connected_account_id: string;
|
|
25
24
|
created_at: string;
|
|
26
25
|
workspace_id: string;
|
|
27
26
|
acs_system_id: string;
|
|
@@ -29,6 +28,7 @@ export declare const acs_user_deleted_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
29
28
|
event_id: string;
|
|
30
29
|
occurred_at: string;
|
|
31
30
|
event_type: "acs_user.deleted";
|
|
31
|
+
connected_account_id?: string | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
export type AcsUserDeletedEvent = z.infer<typeof acs_user_deleted_event>;
|
|
34
34
|
export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -37,14 +37,13 @@ export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendS
|
|
|
37
37
|
created_at: z.ZodString;
|
|
38
38
|
occurred_at: z.ZodString;
|
|
39
39
|
}, {
|
|
40
|
-
connected_account_id: z.ZodString
|
|
40
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
41
41
|
acs_system_id: z.ZodString;
|
|
42
42
|
}>, {
|
|
43
43
|
acs_user_id: z.ZodString;
|
|
44
44
|
}>, {
|
|
45
45
|
event_type: z.ZodLiteral<"acs_user.deleted">;
|
|
46
46
|
}>, "strip", z.ZodTypeAny, {
|
|
47
|
-
connected_account_id: string;
|
|
48
47
|
created_at: string;
|
|
49
48
|
workspace_id: string;
|
|
50
49
|
acs_system_id: string;
|
|
@@ -52,8 +51,8 @@ export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendS
|
|
|
52
51
|
event_id: string;
|
|
53
52
|
occurred_at: string;
|
|
54
53
|
event_type: "acs_user.deleted";
|
|
54
|
+
connected_account_id?: string | undefined;
|
|
55
55
|
}, {
|
|
56
|
-
connected_account_id: string;
|
|
57
56
|
created_at: string;
|
|
58
57
|
workspace_id: string;
|
|
59
58
|
acs_system_id: string;
|
|
@@ -61,4 +60,5 @@ export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendS
|
|
|
61
60
|
event_id: string;
|
|
62
61
|
occurred_at: string;
|
|
63
62
|
event_type: "acs_user.deleted";
|
|
63
|
+
connected_account_id?: string | undefined;
|
|
64
64
|
}>];
|
|
@@ -755,6 +755,92 @@ export declare const lock_access_denied_event: z.ZodObject<z.objectUtil.extendSh
|
|
|
755
755
|
access_code_id?: string | undefined;
|
|
756
756
|
}>;
|
|
757
757
|
export type LockAccessDeniedEvent = z.infer<typeof lock_access_denied_event>;
|
|
758
|
+
export declare const thermostat_climate_preset_activated_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
759
|
+
event_id: z.ZodString;
|
|
760
|
+
workspace_id: z.ZodString;
|
|
761
|
+
created_at: z.ZodString;
|
|
762
|
+
occurred_at: z.ZodString;
|
|
763
|
+
}, {
|
|
764
|
+
device_id: z.ZodString;
|
|
765
|
+
connected_account_id: z.ZodString;
|
|
766
|
+
}>, {
|
|
767
|
+
event_type: z.ZodLiteral<"thermostat.climate_preset_activated">;
|
|
768
|
+
thermostat_schedule_id: z.ZodNullable<z.ZodString>;
|
|
769
|
+
climate_preset_key: z.ZodString;
|
|
770
|
+
is_fallback_climate_preset: z.ZodBoolean;
|
|
771
|
+
}>, "strip", z.ZodTypeAny, {
|
|
772
|
+
connected_account_id: string;
|
|
773
|
+
created_at: string;
|
|
774
|
+
climate_preset_key: string;
|
|
775
|
+
thermostat_schedule_id: string | null;
|
|
776
|
+
device_id: string;
|
|
777
|
+
workspace_id: string;
|
|
778
|
+
event_id: string;
|
|
779
|
+
occurred_at: string;
|
|
780
|
+
event_type: "thermostat.climate_preset_activated";
|
|
781
|
+
is_fallback_climate_preset: boolean;
|
|
782
|
+
}, {
|
|
783
|
+
connected_account_id: string;
|
|
784
|
+
created_at: string;
|
|
785
|
+
climate_preset_key: string;
|
|
786
|
+
thermostat_schedule_id: string | null;
|
|
787
|
+
device_id: string;
|
|
788
|
+
workspace_id: string;
|
|
789
|
+
event_id: string;
|
|
790
|
+
occurred_at: string;
|
|
791
|
+
event_type: "thermostat.climate_preset_activated";
|
|
792
|
+
is_fallback_climate_preset: boolean;
|
|
793
|
+
}>;
|
|
794
|
+
export type ThermostatClimatePresetActivatedEvent = z.infer<typeof thermostat_climate_preset_activated_event>;
|
|
795
|
+
export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
796
|
+
event_id: z.ZodString;
|
|
797
|
+
workspace_id: z.ZodString;
|
|
798
|
+
created_at: z.ZodString;
|
|
799
|
+
occurred_at: z.ZodString;
|
|
800
|
+
}, {
|
|
801
|
+
device_id: z.ZodString;
|
|
802
|
+
connected_account_id: z.ZodString;
|
|
803
|
+
}>, Pick<{
|
|
804
|
+
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
805
|
+
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
806
|
+
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
807
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
808
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
809
|
+
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
|
|
810
|
+
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
811
|
+
cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
812
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
813
|
+
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
814
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
815
|
+
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
816
|
+
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">>, "strip", z.ZodTypeAny, {
|
|
817
|
+
connected_account_id: string;
|
|
818
|
+
created_at: string;
|
|
819
|
+
device_id: string;
|
|
820
|
+
workspace_id: string;
|
|
821
|
+
event_id: string;
|
|
822
|
+
occurred_at: string;
|
|
823
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
824
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
825
|
+
cooling_set_point_celsius?: number | undefined;
|
|
826
|
+
heating_set_point_celsius?: number | undefined;
|
|
827
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
828
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
829
|
+
}, {
|
|
830
|
+
connected_account_id: string;
|
|
831
|
+
created_at: string;
|
|
832
|
+
device_id: string;
|
|
833
|
+
workspace_id: string;
|
|
834
|
+
event_id: string;
|
|
835
|
+
occurred_at: string;
|
|
836
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
837
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
838
|
+
cooling_set_point_celsius?: number | undefined;
|
|
839
|
+
heating_set_point_celsius?: number | undefined;
|
|
840
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
841
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
842
|
+
}>;
|
|
843
|
+
export type ThermostatManuallyAdjustedEvent = z.infer<typeof thermostat_manually_adjusted_event>;
|
|
758
844
|
export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
759
845
|
event_id: z.ZodString;
|
|
760
846
|
workspace_id: z.ZodString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { climate_setting } from '../thermostats/climate-preset.js';
|
|
2
3
|
import { common_event } from './common.js';
|
|
3
4
|
const device_event = common_event.extend({
|
|
4
5
|
device_id: z.string().uuid().describe(`
|
|
@@ -203,6 +204,24 @@ export const lock_access_denied_event = device_event
|
|
|
203
204
|
access_code_id: z.string().uuid().optional(),
|
|
204
205
|
})
|
|
205
206
|
.describe('The lock denied access to a user after one or more consecutive invalid attempts to unlock the device.');
|
|
207
|
+
export const thermostat_climate_preset_activated_event = device_event
|
|
208
|
+
.extend({
|
|
209
|
+
event_type: z.literal('thermostat.climate_preset_activated'),
|
|
210
|
+
thermostat_schedule_id: z.string().uuid().nullable(),
|
|
211
|
+
climate_preset_key: z.string(),
|
|
212
|
+
is_fallback_climate_preset: z.boolean(),
|
|
213
|
+
})
|
|
214
|
+
.describe('A thermostat climate preset was activated.');
|
|
215
|
+
export const thermostat_manually_adjusted_event = device_event
|
|
216
|
+
.merge(climate_setting.pick({
|
|
217
|
+
fan_mode_setting: true,
|
|
218
|
+
hvac_mode_setting: true,
|
|
219
|
+
cooling_set_point_celsius: true,
|
|
220
|
+
heating_set_point_celsius: true,
|
|
221
|
+
cooling_set_point_fahrenheit: true,
|
|
222
|
+
heating_set_point_fahrenheit: true,
|
|
223
|
+
}))
|
|
224
|
+
.describe('A thermostat was manually adjusted.');
|
|
206
225
|
export const device_events = [
|
|
207
226
|
device_connected_event,
|
|
208
227
|
device_converted_to_unmanaged_event,
|
|
@@ -229,5 +248,7 @@ export const device_events = [
|
|
|
229
248
|
lock_locked_event,
|
|
230
249
|
lock_unlocked_event,
|
|
231
250
|
lock_access_denied_event,
|
|
251
|
+
// thermostat_climate_preset_activated_event,
|
|
252
|
+
// thermostat_manually_adjusted_event,
|
|
232
253
|
];
|
|
233
254
|
//# sourceMappingURL=devices.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devices.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/devices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,YAAY,GAAG,YAAY,CAAC,MAAM,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKrC,CAAC;IACF,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKhD,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;;;;;CAKvD,CAAC,CAAA;AAEF,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EA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wCAAwC;IACxC,iDAAiD;IACjD,uCAAuC;IACvC,0CAA0C;IAC1C,4CAA4C;IAC5C,iBAAiB;IACjB,mBAAmB;IACnB,wBAAwB;IACxB,6CAA6C;IAC7C,sCAAsC;CAC9B,CAAA"}
|
|
@@ -510,40 +510,65 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
510
510
|
created_at: z.ZodString;
|
|
511
511
|
occurred_at: z.ZodString;
|
|
512
512
|
}, {
|
|
513
|
-
connected_account_id: z.ZodString
|
|
513
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
514
514
|
acs_system_id: z.ZodString;
|
|
515
515
|
}>, {}>, {
|
|
516
516
|
event_type: z.ZodLiteral<"acs_system.connected">;
|
|
517
517
|
}>, "strip", z.ZodTypeAny, {
|
|
518
|
-
connected_account_id: string;
|
|
519
518
|
created_at: string;
|
|
520
519
|
workspace_id: string;
|
|
521
520
|
acs_system_id: string;
|
|
522
521
|
event_id: string;
|
|
523
522
|
occurred_at: string;
|
|
524
523
|
event_type: "acs_system.connected";
|
|
524
|
+
connected_account_id?: string | undefined;
|
|
525
525
|
}, {
|
|
526
|
-
connected_account_id: string;
|
|
527
526
|
created_at: string;
|
|
528
527
|
workspace_id: string;
|
|
529
528
|
acs_system_id: string;
|
|
530
529
|
event_id: string;
|
|
531
530
|
occurred_at: string;
|
|
532
531
|
event_type: "acs_system.connected";
|
|
532
|
+
connected_account_id?: string | undefined;
|
|
533
533
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
534
534
|
event_id: z.ZodString;
|
|
535
535
|
workspace_id: z.ZodString;
|
|
536
536
|
created_at: z.ZodString;
|
|
537
537
|
occurred_at: z.ZodString;
|
|
538
538
|
}, {
|
|
539
|
-
connected_account_id: z.ZodString
|
|
539
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
540
|
+
acs_system_id: z.ZodString;
|
|
541
|
+
}>, {}>, {
|
|
542
|
+
event_type: z.ZodLiteral<"acs_system.added">;
|
|
543
|
+
}>, "strip", z.ZodTypeAny, {
|
|
544
|
+
created_at: string;
|
|
545
|
+
workspace_id: string;
|
|
546
|
+
acs_system_id: string;
|
|
547
|
+
event_id: string;
|
|
548
|
+
occurred_at: string;
|
|
549
|
+
event_type: "acs_system.added";
|
|
550
|
+
connected_account_id?: string | undefined;
|
|
551
|
+
}, {
|
|
552
|
+
created_at: string;
|
|
553
|
+
workspace_id: string;
|
|
554
|
+
acs_system_id: string;
|
|
555
|
+
event_id: string;
|
|
556
|
+
occurred_at: string;
|
|
557
|
+
event_type: "acs_system.added";
|
|
558
|
+
connected_account_id?: string | undefined;
|
|
559
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
560
|
+
event_id: z.ZodString;
|
|
561
|
+
workspace_id: z.ZodString;
|
|
562
|
+
created_at: z.ZodString;
|
|
563
|
+
occurred_at: z.ZodString;
|
|
564
|
+
}, {
|
|
565
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
540
566
|
acs_system_id: z.ZodString;
|
|
541
567
|
}>, {
|
|
542
568
|
acs_credential_id: z.ZodString;
|
|
543
569
|
}>, {
|
|
544
570
|
event_type: z.ZodLiteral<"acs_credential.deleted">;
|
|
545
571
|
}>, "strip", z.ZodTypeAny, {
|
|
546
|
-
connected_account_id: string;
|
|
547
572
|
created_at: string;
|
|
548
573
|
workspace_id: string;
|
|
549
574
|
acs_system_id: string;
|
|
@@ -551,8 +576,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
551
576
|
event_id: string;
|
|
552
577
|
occurred_at: string;
|
|
553
578
|
event_type: "acs_credential.deleted";
|
|
579
|
+
connected_account_id?: string | undefined;
|
|
554
580
|
}, {
|
|
555
|
-
connected_account_id: string;
|
|
556
581
|
created_at: string;
|
|
557
582
|
workspace_id: string;
|
|
558
583
|
acs_system_id: string;
|
|
@@ -560,20 +585,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
560
585
|
event_id: string;
|
|
561
586
|
occurred_at: string;
|
|
562
587
|
event_type: "acs_credential.deleted";
|
|
588
|
+
connected_account_id?: string | undefined;
|
|
563
589
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
564
590
|
event_id: z.ZodString;
|
|
565
591
|
workspace_id: z.ZodString;
|
|
566
592
|
created_at: z.ZodString;
|
|
567
593
|
occurred_at: z.ZodString;
|
|
568
594
|
}, {
|
|
569
|
-
connected_account_id: z.ZodString
|
|
595
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
570
596
|
acs_system_id: z.ZodString;
|
|
571
597
|
}>, {
|
|
572
598
|
acs_user_id: z.ZodString;
|
|
573
599
|
}>, {
|
|
574
600
|
event_type: z.ZodLiteral<"acs_user.deleted">;
|
|
575
601
|
}>, "strip", z.ZodTypeAny, {
|
|
576
|
-
connected_account_id: string;
|
|
577
602
|
created_at: string;
|
|
578
603
|
workspace_id: string;
|
|
579
604
|
acs_system_id: string;
|
|
@@ -581,8 +606,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
581
606
|
event_id: string;
|
|
582
607
|
occurred_at: string;
|
|
583
608
|
event_type: "acs_user.deleted";
|
|
609
|
+
connected_account_id?: string | undefined;
|
|
584
610
|
}, {
|
|
585
|
-
connected_account_id: string;
|
|
586
611
|
created_at: string;
|
|
587
612
|
workspace_id: string;
|
|
588
613
|
acs_system_id: string;
|
|
@@ -590,6 +615,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
590
615
|
event_id: string;
|
|
591
616
|
occurred_at: string;
|
|
592
617
|
event_type: "acs_user.deleted";
|
|
618
|
+
connected_account_id?: string | undefined;
|
|
593
619
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
594
620
|
event_id: z.ZodString;
|
|
595
621
|
workspace_id: z.ZodString;
|
|
@@ -5,7 +5,7 @@ export declare const climate_preset: z.ZodObject<{
|
|
|
5
5
|
can_delete: z.ZodBoolean;
|
|
6
6
|
name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
display_name: z.ZodString;
|
|
8
|
-
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
8
|
+
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>;
|
|
9
9
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
10
10
|
cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
11
11
|
heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
@@ -19,7 +19,7 @@ export declare const climate_preset: z.ZodObject<{
|
|
|
19
19
|
can_delete: boolean;
|
|
20
20
|
display_name: string;
|
|
21
21
|
manual_override_allowed: boolean;
|
|
22
|
-
fan_mode_setting?: "auto" | "on" | undefined;
|
|
22
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
23
23
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
24
24
|
cooling_set_point_celsius?: number | undefined;
|
|
25
25
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const climate_preset: z.ZodObject<{
|
|
|
32
32
|
display_name: string;
|
|
33
33
|
manual_override_allowed: boolean;
|
|
34
34
|
name?: string | null | undefined;
|
|
35
|
-
fan_mode_setting?: "auto" | "on" | undefined;
|
|
35
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
36
36
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
37
37
|
cooling_set_point_celsius?: number | undefined;
|
|
38
38
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const climate_setting: z.ZodObject<{
|
|
|
46
46
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
47
47
|
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
48
48
|
display_name: z.ZodOptional<z.ZodString>;
|
|
49
|
-
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
49
|
+
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
|
|
50
50
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
51
51
|
cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
52
52
|
heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -59,7 +59,7 @@ export declare const climate_setting: z.ZodObject<{
|
|
|
59
59
|
can_edit?: boolean | undefined;
|
|
60
60
|
can_delete?: boolean | undefined;
|
|
61
61
|
display_name?: string | undefined;
|
|
62
|
-
fan_mode_setting?: "auto" | "on" | undefined;
|
|
62
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
63
63
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
64
64
|
cooling_set_point_celsius?: number | undefined;
|
|
65
65
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -72,7 +72,7 @@ export declare const climate_setting: z.ZodObject<{
|
|
|
72
72
|
can_edit?: boolean | undefined;
|
|
73
73
|
can_delete?: boolean | undefined;
|
|
74
74
|
display_name?: string | undefined;
|
|
75
|
-
fan_mode_setting?: "auto" | "on" | undefined;
|
|
75
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
76
76
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
77
77
|
cooling_set_point_celsius?: number | undefined;
|
|
78
78
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -1,5 +1,7 @@
|
|
|
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"]>;
|
|
4
|
+
export declare const fan_mode_setting: z.ZodEnum<["auto", "on", "circulate"]>;
|
|
5
5
|
export type FanModeSetting = z.infer<typeof fan_mode_setting>;
|
|
6
|
+
export declare const available_fan_mode_settings: z.ZodArray<z.ZodEnum<["auto", "on", "circulate"]>, "many">;
|
|
7
|
+
export type AvailableFanModeSettings = z.infer<typeof available_fan_mode_settings>;
|
|
@@ -1,4 +1,5 @@
|
|
|
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
|
+
export const fan_mode_setting = z.enum(['auto', 'on', 'circulate']);
|
|
4
|
+
export const available_fan_mode_settings = z.array(fan_mode_setting);
|
|
4
5
|
//# sourceMappingURL=modes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modes.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/modes.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"}
|
|
1
|
+
{"version":3,"file":"modes.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/modes.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,EAAE,WAAW,CAAC,CAAC,CAAA;AAInE,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAA"}
|
|
@@ -2419,6 +2419,7 @@ declare const _default: {
|
|
|
2419
2419
|
};
|
|
2420
2420
|
active_thermostat_schedule?: never;
|
|
2421
2421
|
available_climate_presets?: never;
|
|
2422
|
+
available_fan_mode_settings?: never;
|
|
2422
2423
|
available_hvac_mode_settings?: never;
|
|
2423
2424
|
current_climate_setting?: never;
|
|
2424
2425
|
default_climate_setting?: never;
|
|
@@ -2540,6 +2541,13 @@ declare const _default: {
|
|
|
2540
2541
|
};
|
|
2541
2542
|
type: string;
|
|
2542
2543
|
};
|
|
2544
|
+
available_fan_mode_settings: {
|
|
2545
|
+
items: {
|
|
2546
|
+
enum: string[];
|
|
2547
|
+
type: string;
|
|
2548
|
+
};
|
|
2549
|
+
type: string;
|
|
2550
|
+
};
|
|
2543
2551
|
available_hvac_mode_settings: {
|
|
2544
2552
|
items: {
|
|
2545
2553
|
enum: string[];
|