@seamapi/types 1.274.0 → 1.275.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 +202 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +455 -2
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +28 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +28 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +8 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +40 -0
- package/lib/seam/connect/models/devices/phone.d.ts +28 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -0
- package/lib/seam/connect/models/events/devices.d.ts +180 -0
- package/lib/seam/connect/models/events/devices.js +24 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +88 -0
- package/lib/seam/connect/openapi.d.ts +198 -0
- package/lib/seam/connect/openapi.js +168 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +101 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +8 -0
- package/src/lib/seam/connect/models/events/devices.ts +38 -0
- package/src/lib/seam/connect/openapi.ts +168 -0
- package/src/lib/seam/connect/route-types.ts +173 -0
|
@@ -247,6 +247,22 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
247
247
|
max_heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
248
248
|
min_heating_cooling_delta_celsius: z.ZodOptional<z.ZodNumber>;
|
|
249
249
|
min_heating_cooling_delta_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
250
|
+
temperature_threshold: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
251
|
+
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
252
|
+
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
253
|
+
upper_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
254
|
+
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
255
|
+
}, "strip", z.ZodTypeAny, {
|
|
256
|
+
lower_limit_celsius: number | null;
|
|
257
|
+
lower_limit_fahrenheit: number | null;
|
|
258
|
+
upper_limit_celsius: number | null;
|
|
259
|
+
upper_limit_fahrenheit: number | null;
|
|
260
|
+
}, {
|
|
261
|
+
lower_limit_celsius: number | null;
|
|
262
|
+
lower_limit_fahrenheit: number | null;
|
|
263
|
+
upper_limit_celsius: number | null;
|
|
264
|
+
upper_limit_fahrenheit: number | null;
|
|
265
|
+
}>>>;
|
|
250
266
|
}, "strip", z.ZodTypeAny, {
|
|
251
267
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
252
268
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -322,6 +338,12 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
322
338
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
323
339
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
324
340
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
341
|
+
temperature_threshold?: {
|
|
342
|
+
lower_limit_celsius: number | null;
|
|
343
|
+
lower_limit_fahrenheit: number | null;
|
|
344
|
+
upper_limit_celsius: number | null;
|
|
345
|
+
upper_limit_fahrenheit: number | null;
|
|
346
|
+
} | undefined;
|
|
325
347
|
}, {
|
|
326
348
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
327
349
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -397,5 +419,11 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
397
419
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
398
420
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
399
421
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
422
|
+
temperature_threshold?: {
|
|
423
|
+
lower_limit_celsius: number | null;
|
|
424
|
+
lower_limit_fahrenheit: number | null;
|
|
425
|
+
upper_limit_celsius: number | null;
|
|
426
|
+
upper_limit_fahrenheit: number | null;
|
|
427
|
+
} | undefined;
|
|
400
428
|
}>>;
|
|
401
429
|
export type { AccessCodeConstraint } from './access-code.js';
|
|
@@ -172,6 +172,22 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
172
172
|
max_heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
173
173
|
min_heating_cooling_delta_celsius: z.ZodOptional<z.ZodNumber>;
|
|
174
174
|
min_heating_cooling_delta_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
175
|
+
temperature_threshold: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
176
|
+
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
177
|
+
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
178
|
+
upper_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
179
|
+
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
180
|
+
}, "strip", z.ZodTypeAny, {
|
|
181
|
+
lower_limit_celsius: number | null;
|
|
182
|
+
lower_limit_fahrenheit: number | null;
|
|
183
|
+
upper_limit_celsius: number | null;
|
|
184
|
+
upper_limit_fahrenheit: number | null;
|
|
185
|
+
}, {
|
|
186
|
+
lower_limit_celsius: number | null;
|
|
187
|
+
lower_limit_fahrenheit: number | null;
|
|
188
|
+
upper_limit_celsius: number | null;
|
|
189
|
+
upper_limit_fahrenheit: number | null;
|
|
190
|
+
}>>>;
|
|
175
191
|
}, "strip", z.ZodTypeAny, {
|
|
176
192
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
177
193
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -247,6 +263,12 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
247
263
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
248
264
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
249
265
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
266
|
+
temperature_threshold?: {
|
|
267
|
+
lower_limit_celsius: number | null;
|
|
268
|
+
lower_limit_fahrenheit: number | null;
|
|
269
|
+
upper_limit_celsius: number | null;
|
|
270
|
+
upper_limit_fahrenheit: number | null;
|
|
271
|
+
} | undefined;
|
|
250
272
|
}, {
|
|
251
273
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
252
274
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -322,4 +344,10 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
322
344
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
323
345
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
324
346
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
347
|
+
temperature_threshold?: {
|
|
348
|
+
lower_limit_celsius: number | null;
|
|
349
|
+
lower_limit_fahrenheit: number | null;
|
|
350
|
+
upper_limit_celsius: number | null;
|
|
351
|
+
upper_limit_fahrenheit: number | null;
|
|
352
|
+
} | undefined;
|
|
325
353
|
}>;
|
|
@@ -41,6 +41,14 @@ export const thermostat_capability_properties = z
|
|
|
41
41
|
max_heating_set_point_fahrenheit: z.number(),
|
|
42
42
|
min_heating_cooling_delta_celsius: z.number(),
|
|
43
43
|
min_heating_cooling_delta_fahrenheit: z.number(),
|
|
44
|
+
temperature_threshold: z
|
|
45
|
+
.object({
|
|
46
|
+
lower_limit_celsius: z.number().nullable(),
|
|
47
|
+
lower_limit_fahrenheit: z.number().nullable(),
|
|
48
|
+
upper_limit_celsius: z.number().nullable(),
|
|
49
|
+
upper_limit_fahrenheit: z.number().nullable(),
|
|
50
|
+
})
|
|
51
|
+
.optional(),
|
|
44
52
|
})
|
|
45
53
|
.partial();
|
|
46
54
|
//# sourceMappingURL=thermostat.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thermostat.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/devices/capability-properties/thermostat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,4BAA4B,CAAA;AAEnC,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC;KAC9C,MAAM,CAAC;IACN,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE;IAClC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC/B,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3C,4BAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC;IACxD,2BAA2B,EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC;IACtD,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE;IAC3B,gBAAgB,EAAE,gBAAgB,CAAC,QAAQ,CAAC;;;;KAI3C,CAAC;IAEF;;OAEG;IACH,mCAAmC,EAAE,CAAC,CAAC,OAAO,EAAE;IAEhD;;OAEG;IACH,uBAAuB,EAAE,eAAe;IACxC,uBAAuB,EAAE,eAAe,CAAC,QAAQ,CAAC;;;;KAIjD,CAAC;IACF,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC;IAClD,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACvE,0BAA0B,EAAE,mBAAmB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACxE,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,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,iCAAiC,EAAE,CAAC,CAAC,MAAM,EAAE;IAC7C,oCAAoC,EAAE,CAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"thermostat.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/devices/capability-properties/thermostat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,4BAA4B,CAAA;AAEnC,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC;KAC9C,MAAM,CAAC;IACN,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE;IAClC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC/B,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3C,4BAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC;IACxD,2BAA2B,EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC;IACtD,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,cAAc,EAAE,CAAC,CAAC,OAAO,EAA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EAAE;KAC9C,CAAC;SACD,QAAQ,EAAE;CACd,CAAC;KACD,OAAO,EAAE,CAAA"}
|
|
@@ -1808,6 +1808,22 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1808
1808
|
max_heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1809
1809
|
min_heating_cooling_delta_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1810
1810
|
min_heating_cooling_delta_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1811
|
+
temperature_threshold: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1812
|
+
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1813
|
+
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1814
|
+
upper_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1815
|
+
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1816
|
+
}, "strip", z.ZodTypeAny, {
|
|
1817
|
+
lower_limit_celsius: number | null;
|
|
1818
|
+
lower_limit_fahrenheit: number | null;
|
|
1819
|
+
upper_limit_celsius: number | null;
|
|
1820
|
+
upper_limit_fahrenheit: number | null;
|
|
1821
|
+
}, {
|
|
1822
|
+
lower_limit_celsius: number | null;
|
|
1823
|
+
lower_limit_fahrenheit: number | null;
|
|
1824
|
+
upper_limit_celsius: number | null;
|
|
1825
|
+
upper_limit_fahrenheit: number | null;
|
|
1826
|
+
}>>>;
|
|
1811
1827
|
}, "strip", z.ZodTypeAny, {
|
|
1812
1828
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1813
1829
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -1883,6 +1899,12 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1883
1899
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
1884
1900
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
1885
1901
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
1902
|
+
temperature_threshold?: {
|
|
1903
|
+
lower_limit_celsius: number | null;
|
|
1904
|
+
lower_limit_fahrenheit: number | null;
|
|
1905
|
+
upper_limit_celsius: number | null;
|
|
1906
|
+
upper_limit_fahrenheit: number | null;
|
|
1907
|
+
} | undefined;
|
|
1886
1908
|
}, {
|
|
1887
1909
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1888
1910
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -1958,6 +1980,12 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1958
1980
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
1959
1981
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
1960
1982
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
1983
|
+
temperature_threshold?: {
|
|
1984
|
+
lower_limit_celsius: number | null;
|
|
1985
|
+
lower_limit_fahrenheit: number | null;
|
|
1986
|
+
upper_limit_celsius: number | null;
|
|
1987
|
+
upper_limit_fahrenheit: number | null;
|
|
1988
|
+
} | undefined;
|
|
1961
1989
|
}>>>;
|
|
1962
1990
|
location: z.ZodNullable<z.ZodObject<{
|
|
1963
1991
|
location_name: z.ZodOptional<z.ZodString>;
|
|
@@ -2407,6 +2435,12 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2407
2435
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
2408
2436
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
2409
2437
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
2438
|
+
temperature_threshold?: {
|
|
2439
|
+
lower_limit_celsius: number | null;
|
|
2440
|
+
lower_limit_fahrenheit: number | null;
|
|
2441
|
+
upper_limit_celsius: number | null;
|
|
2442
|
+
upper_limit_fahrenheit: number | null;
|
|
2443
|
+
} | undefined;
|
|
2410
2444
|
};
|
|
2411
2445
|
workspace_id: string;
|
|
2412
2446
|
is_managed: true;
|
|
@@ -2804,6 +2838,12 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2804
2838
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
2805
2839
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
2806
2840
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
2841
|
+
temperature_threshold?: {
|
|
2842
|
+
lower_limit_celsius: number | null;
|
|
2843
|
+
lower_limit_fahrenheit: number | null;
|
|
2844
|
+
upper_limit_celsius: number | null;
|
|
2845
|
+
upper_limit_fahrenheit: number | null;
|
|
2846
|
+
} | undefined;
|
|
2807
2847
|
};
|
|
2808
2848
|
workspace_id: string;
|
|
2809
2849
|
is_managed: true;
|
|
@@ -1590,6 +1590,22 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1590
1590
|
max_heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1591
1591
|
min_heating_cooling_delta_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1592
1592
|
min_heating_cooling_delta_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1593
|
+
temperature_threshold: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1594
|
+
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1595
|
+
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1596
|
+
upper_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1597
|
+
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1598
|
+
}, "strip", z.ZodTypeAny, {
|
|
1599
|
+
lower_limit_celsius: number | null;
|
|
1600
|
+
lower_limit_fahrenheit: number | null;
|
|
1601
|
+
upper_limit_celsius: number | null;
|
|
1602
|
+
upper_limit_fahrenheit: number | null;
|
|
1603
|
+
}, {
|
|
1604
|
+
lower_limit_celsius: number | null;
|
|
1605
|
+
lower_limit_fahrenheit: number | null;
|
|
1606
|
+
upper_limit_celsius: number | null;
|
|
1607
|
+
upper_limit_fahrenheit: number | null;
|
|
1608
|
+
}>>>;
|
|
1593
1609
|
}, "strip", z.ZodTypeAny, {
|
|
1594
1610
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1595
1611
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -1665,6 +1681,12 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1665
1681
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
1666
1682
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
1667
1683
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
1684
|
+
temperature_threshold?: {
|
|
1685
|
+
lower_limit_celsius: number | null;
|
|
1686
|
+
lower_limit_fahrenheit: number | null;
|
|
1687
|
+
upper_limit_celsius: number | null;
|
|
1688
|
+
upper_limit_fahrenheit: number | null;
|
|
1689
|
+
} | undefined;
|
|
1668
1690
|
}, {
|
|
1669
1691
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1670
1692
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -1740,6 +1762,12 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1740
1762
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
1741
1763
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
1742
1764
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
1765
|
+
temperature_threshold?: {
|
|
1766
|
+
lower_limit_celsius: number | null;
|
|
1767
|
+
lower_limit_fahrenheit: number | null;
|
|
1768
|
+
upper_limit_celsius: number | null;
|
|
1769
|
+
upper_limit_fahrenheit: number | null;
|
|
1770
|
+
} | undefined;
|
|
1743
1771
|
}>>>;
|
|
1744
1772
|
location: z.ZodNullable<z.ZodObject<{
|
|
1745
1773
|
location_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1589,6 +1589,22 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1589
1589
|
max_heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1590
1590
|
min_heating_cooling_delta_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1591
1591
|
min_heating_cooling_delta_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1592
|
+
temperature_threshold: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1593
|
+
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1594
|
+
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1595
|
+
upper_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1596
|
+
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1597
|
+
}, "strip", z.ZodTypeAny, {
|
|
1598
|
+
lower_limit_celsius: number | null;
|
|
1599
|
+
lower_limit_fahrenheit: number | null;
|
|
1600
|
+
upper_limit_celsius: number | null;
|
|
1601
|
+
upper_limit_fahrenheit: number | null;
|
|
1602
|
+
}, {
|
|
1603
|
+
lower_limit_celsius: number | null;
|
|
1604
|
+
lower_limit_fahrenheit: number | null;
|
|
1605
|
+
upper_limit_celsius: number | null;
|
|
1606
|
+
upper_limit_fahrenheit: number | null;
|
|
1607
|
+
}>>>;
|
|
1592
1608
|
}, "strip", z.ZodTypeAny, {
|
|
1593
1609
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1594
1610
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -1664,6 +1680,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1664
1680
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
1665
1681
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
1666
1682
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
1683
|
+
temperature_threshold?: {
|
|
1684
|
+
lower_limit_celsius: number | null;
|
|
1685
|
+
lower_limit_fahrenheit: number | null;
|
|
1686
|
+
upper_limit_celsius: number | null;
|
|
1687
|
+
upper_limit_fahrenheit: number | null;
|
|
1688
|
+
} | undefined;
|
|
1667
1689
|
}, {
|
|
1668
1690
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1669
1691
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -1739,6 +1761,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1739
1761
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
1740
1762
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
1741
1763
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
1764
|
+
temperature_threshold?: {
|
|
1765
|
+
lower_limit_celsius: number | null;
|
|
1766
|
+
lower_limit_fahrenheit: number | null;
|
|
1767
|
+
upper_limit_celsius: number | null;
|
|
1768
|
+
upper_limit_fahrenheit: number | null;
|
|
1769
|
+
} | undefined;
|
|
1742
1770
|
}>>>;
|
|
1743
1771
|
location: z.ZodNullable<z.ZodObject<{
|
|
1744
1772
|
location_name: z.ZodOptional<z.ZodString>;
|
|
@@ -877,6 +877,98 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUti
|
|
|
877
877
|
heating_set_point_fahrenheit?: number | undefined;
|
|
878
878
|
}>;
|
|
879
879
|
export type ThermostatManuallyAdjustedEvent = z.infer<typeof thermostat_manually_adjusted_event>;
|
|
880
|
+
export declare const temperature_threshold_exceeded_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
881
|
+
event_id: z.ZodString;
|
|
882
|
+
workspace_id: z.ZodString;
|
|
883
|
+
created_at: z.ZodString;
|
|
884
|
+
occurred_at: z.ZodString;
|
|
885
|
+
}, {
|
|
886
|
+
device_id: z.ZodString;
|
|
887
|
+
connected_account_id: z.ZodString;
|
|
888
|
+
}>, {
|
|
889
|
+
event_type: z.ZodLiteral<"thermostat.temperature_threshold_exceeded">;
|
|
890
|
+
temperature_celsius: z.ZodNumber;
|
|
891
|
+
temperature_fahrenheit: z.ZodNumber;
|
|
892
|
+
upper_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
893
|
+
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
894
|
+
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
895
|
+
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
896
|
+
}>, "strip", z.ZodTypeAny, {
|
|
897
|
+
connected_account_id: string;
|
|
898
|
+
created_at: string;
|
|
899
|
+
device_id: string;
|
|
900
|
+
temperature_fahrenheit: number;
|
|
901
|
+
temperature_celsius: number;
|
|
902
|
+
lower_limit_celsius: number | null;
|
|
903
|
+
lower_limit_fahrenheit: number | null;
|
|
904
|
+
upper_limit_celsius: number | null;
|
|
905
|
+
upper_limit_fahrenheit: number | null;
|
|
906
|
+
workspace_id: string;
|
|
907
|
+
event_id: string;
|
|
908
|
+
occurred_at: string;
|
|
909
|
+
event_type: "thermostat.temperature_threshold_exceeded";
|
|
910
|
+
}, {
|
|
911
|
+
connected_account_id: string;
|
|
912
|
+
created_at: string;
|
|
913
|
+
device_id: string;
|
|
914
|
+
temperature_fahrenheit: number;
|
|
915
|
+
temperature_celsius: number;
|
|
916
|
+
lower_limit_celsius: number | null;
|
|
917
|
+
lower_limit_fahrenheit: number | null;
|
|
918
|
+
upper_limit_celsius: number | null;
|
|
919
|
+
upper_limit_fahrenheit: number | null;
|
|
920
|
+
workspace_id: string;
|
|
921
|
+
event_id: string;
|
|
922
|
+
occurred_at: string;
|
|
923
|
+
event_type: "thermostat.temperature_threshold_exceeded";
|
|
924
|
+
}>;
|
|
925
|
+
export type TemperatureThresholdExceededEvent = z.infer<typeof temperature_threshold_exceeded_event>;
|
|
926
|
+
export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
927
|
+
event_id: z.ZodString;
|
|
928
|
+
workspace_id: z.ZodString;
|
|
929
|
+
created_at: z.ZodString;
|
|
930
|
+
occurred_at: z.ZodString;
|
|
931
|
+
}, {
|
|
932
|
+
device_id: z.ZodString;
|
|
933
|
+
connected_account_id: z.ZodString;
|
|
934
|
+
}>, {
|
|
935
|
+
event_type: z.ZodLiteral<"thermostat.temperature_threshold_no_longer_exceeded">;
|
|
936
|
+
temperature_celsius: z.ZodNumber;
|
|
937
|
+
temperature_fahrenheit: z.ZodNumber;
|
|
938
|
+
upper_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
939
|
+
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
940
|
+
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
941
|
+
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
942
|
+
}>, "strip", z.ZodTypeAny, {
|
|
943
|
+
connected_account_id: string;
|
|
944
|
+
created_at: string;
|
|
945
|
+
device_id: string;
|
|
946
|
+
temperature_fahrenheit: number;
|
|
947
|
+
temperature_celsius: number;
|
|
948
|
+
lower_limit_celsius: number | null;
|
|
949
|
+
lower_limit_fahrenheit: number | null;
|
|
950
|
+
upper_limit_celsius: number | null;
|
|
951
|
+
upper_limit_fahrenheit: number | null;
|
|
952
|
+
workspace_id: string;
|
|
953
|
+
event_id: string;
|
|
954
|
+
occurred_at: string;
|
|
955
|
+
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
956
|
+
}, {
|
|
957
|
+
connected_account_id: string;
|
|
958
|
+
created_at: string;
|
|
959
|
+
device_id: string;
|
|
960
|
+
temperature_fahrenheit: number;
|
|
961
|
+
temperature_celsius: number;
|
|
962
|
+
lower_limit_celsius: number | null;
|
|
963
|
+
lower_limit_fahrenheit: number | null;
|
|
964
|
+
upper_limit_celsius: number | null;
|
|
965
|
+
upper_limit_fahrenheit: number | null;
|
|
966
|
+
workspace_id: string;
|
|
967
|
+
event_id: string;
|
|
968
|
+
occurred_at: string;
|
|
969
|
+
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
970
|
+
}>;
|
|
971
|
+
export type TemperatureThresholdNoLongerExceededEvent = z.infer<typeof temperature_threshold_no_longer_exceeded_event>;
|
|
880
972
|
export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
881
973
|
event_id: z.ZodString;
|
|
882
974
|
workspace_id: z.ZodString;
|
|
@@ -1696,4 +1788,92 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1696
1788
|
heating_set_point_celsius?: number | undefined;
|
|
1697
1789
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
1698
1790
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1791
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1792
|
+
event_id: z.ZodString;
|
|
1793
|
+
workspace_id: z.ZodString;
|
|
1794
|
+
created_at: z.ZodString;
|
|
1795
|
+
occurred_at: z.ZodString;
|
|
1796
|
+
}, {
|
|
1797
|
+
device_id: z.ZodString;
|
|
1798
|
+
connected_account_id: z.ZodString;
|
|
1799
|
+
}>, {
|
|
1800
|
+
event_type: z.ZodLiteral<"thermostat.temperature_threshold_exceeded">;
|
|
1801
|
+
temperature_celsius: z.ZodNumber;
|
|
1802
|
+
temperature_fahrenheit: z.ZodNumber;
|
|
1803
|
+
upper_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1804
|
+
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1805
|
+
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1806
|
+
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1807
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1808
|
+
connected_account_id: string;
|
|
1809
|
+
created_at: string;
|
|
1810
|
+
device_id: string;
|
|
1811
|
+
temperature_fahrenheit: number;
|
|
1812
|
+
temperature_celsius: number;
|
|
1813
|
+
lower_limit_celsius: number | null;
|
|
1814
|
+
lower_limit_fahrenheit: number | null;
|
|
1815
|
+
upper_limit_celsius: number | null;
|
|
1816
|
+
upper_limit_fahrenheit: number | null;
|
|
1817
|
+
workspace_id: string;
|
|
1818
|
+
event_id: string;
|
|
1819
|
+
occurred_at: string;
|
|
1820
|
+
event_type: "thermostat.temperature_threshold_exceeded";
|
|
1821
|
+
}, {
|
|
1822
|
+
connected_account_id: string;
|
|
1823
|
+
created_at: string;
|
|
1824
|
+
device_id: string;
|
|
1825
|
+
temperature_fahrenheit: number;
|
|
1826
|
+
temperature_celsius: number;
|
|
1827
|
+
lower_limit_celsius: number | null;
|
|
1828
|
+
lower_limit_fahrenheit: number | null;
|
|
1829
|
+
upper_limit_celsius: number | null;
|
|
1830
|
+
upper_limit_fahrenheit: number | null;
|
|
1831
|
+
workspace_id: string;
|
|
1832
|
+
event_id: string;
|
|
1833
|
+
occurred_at: string;
|
|
1834
|
+
event_type: "thermostat.temperature_threshold_exceeded";
|
|
1835
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1836
|
+
event_id: z.ZodString;
|
|
1837
|
+
workspace_id: z.ZodString;
|
|
1838
|
+
created_at: z.ZodString;
|
|
1839
|
+
occurred_at: z.ZodString;
|
|
1840
|
+
}, {
|
|
1841
|
+
device_id: z.ZodString;
|
|
1842
|
+
connected_account_id: z.ZodString;
|
|
1843
|
+
}>, {
|
|
1844
|
+
event_type: z.ZodLiteral<"thermostat.temperature_threshold_no_longer_exceeded">;
|
|
1845
|
+
temperature_celsius: z.ZodNumber;
|
|
1846
|
+
temperature_fahrenheit: z.ZodNumber;
|
|
1847
|
+
upper_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1848
|
+
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1849
|
+
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1850
|
+
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1851
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1852
|
+
connected_account_id: string;
|
|
1853
|
+
created_at: string;
|
|
1854
|
+
device_id: string;
|
|
1855
|
+
temperature_fahrenheit: number;
|
|
1856
|
+
temperature_celsius: number;
|
|
1857
|
+
lower_limit_celsius: number | null;
|
|
1858
|
+
lower_limit_fahrenheit: number | null;
|
|
1859
|
+
upper_limit_celsius: number | null;
|
|
1860
|
+
upper_limit_fahrenheit: number | null;
|
|
1861
|
+
workspace_id: string;
|
|
1862
|
+
event_id: string;
|
|
1863
|
+
occurred_at: string;
|
|
1864
|
+
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
1865
|
+
}, {
|
|
1866
|
+
connected_account_id: string;
|
|
1867
|
+
created_at: string;
|
|
1868
|
+
device_id: string;
|
|
1869
|
+
temperature_fahrenheit: number;
|
|
1870
|
+
temperature_celsius: number;
|
|
1871
|
+
lower_limit_celsius: number | null;
|
|
1872
|
+
lower_limit_fahrenheit: number | null;
|
|
1873
|
+
upper_limit_celsius: number | null;
|
|
1874
|
+
upper_limit_fahrenheit: number | null;
|
|
1875
|
+
workspace_id: string;
|
|
1876
|
+
event_id: string;
|
|
1877
|
+
occurred_at: string;
|
|
1878
|
+
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
1699
1879
|
}>];
|
|
@@ -232,6 +232,28 @@ export const thermostat_manually_adjusted_event = device_event
|
|
|
232
232
|
heating_set_point_fahrenheit: true,
|
|
233
233
|
}))
|
|
234
234
|
.describe('A thermostat was manually adjusted.');
|
|
235
|
+
export const temperature_threshold_exceeded_event = device_event
|
|
236
|
+
.extend({
|
|
237
|
+
event_type: z.literal('thermostat.temperature_threshold_exceeded'),
|
|
238
|
+
temperature_celsius: z.number(),
|
|
239
|
+
temperature_fahrenheit: z.number(),
|
|
240
|
+
upper_limit_celsius: z.number().nullable(),
|
|
241
|
+
upper_limit_fahrenheit: z.number().nullable(),
|
|
242
|
+
lower_limit_celsius: z.number().nullable(),
|
|
243
|
+
lower_limit_fahrenheit: z.number().nullable(),
|
|
244
|
+
})
|
|
245
|
+
.describe("A thermostat's temperature reading exceeded the set threshold.");
|
|
246
|
+
export const temperature_threshold_no_longer_exceeded_event = device_event
|
|
247
|
+
.extend({
|
|
248
|
+
event_type: z.literal('thermostat.temperature_threshold_no_longer_exceeded'),
|
|
249
|
+
temperature_celsius: z.number(),
|
|
250
|
+
temperature_fahrenheit: z.number(),
|
|
251
|
+
upper_limit_celsius: z.number().nullable(),
|
|
252
|
+
upper_limit_fahrenheit: z.number().nullable(),
|
|
253
|
+
lower_limit_celsius: z.number().nullable(),
|
|
254
|
+
lower_limit_fahrenheit: z.number().nullable(),
|
|
255
|
+
})
|
|
256
|
+
.describe("A thermostat's temperature reading is no longer exceeding the set threshold.");
|
|
235
257
|
export const device_events = [
|
|
236
258
|
device_connected_event,
|
|
237
259
|
device_added_event,
|
|
@@ -261,5 +283,7 @@ export const device_events = [
|
|
|
261
283
|
lock_access_denied_event,
|
|
262
284
|
thermostat_climate_preset_activated_event,
|
|
263
285
|
thermostat_manually_adjusted_event,
|
|
286
|
+
temperature_threshold_exceeded_event,
|
|
287
|
+
temperature_threshold_no_longer_exceeded_event,
|
|
264
288
|
];
|
|
265
289
|
//# 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,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAClE,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;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MH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,sBAAsB;IACtB,kBAAkB;IAClB,mCAAmC;IACnC,2CAA2C;IAC3C,gCAAgC;IAChC,yBAAyB;IACzB,mCAAmC;IACnC,qBAAqB;IACrB,wBAAwB;IACxB,mCAAmC;IACnC,oBAAoB;IACpB,oBAAoB;IACpB,6CAA6C;IAC7C,uDAAuD;IACvD,yCAAyC;IACzC,2CAA2C;IAC3C,oCAAoC;IACpC,kCAAkC;IAClC,wCAAwC;IACxC,iDAAiD;IACjD,uCAAuC;IACvC,0CAA0C;IAC1C,4CAA4C;IAC5C,iBAAiB;IACjB,mBAAmB;IACnB,wBAAwB;IACxB,yCAAyC;IACzC,kCAAkC;IAClC,oCAAoC;IACpC,8CAA8C;CACtC,CAAA"}
|
|
@@ -1682,6 +1682,94 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1682
1682
|
workspace_id: z.ZodString;
|
|
1683
1683
|
created_at: z.ZodString;
|
|
1684
1684
|
occurred_at: z.ZodString;
|
|
1685
|
+
}, {
|
|
1686
|
+
device_id: z.ZodString;
|
|
1687
|
+
connected_account_id: z.ZodString;
|
|
1688
|
+
}>, {
|
|
1689
|
+
event_type: z.ZodLiteral<"thermostat.temperature_threshold_exceeded">;
|
|
1690
|
+
temperature_celsius: z.ZodNumber;
|
|
1691
|
+
temperature_fahrenheit: z.ZodNumber;
|
|
1692
|
+
upper_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1693
|
+
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1694
|
+
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1695
|
+
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1696
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1697
|
+
connected_account_id: string;
|
|
1698
|
+
created_at: string;
|
|
1699
|
+
device_id: string;
|
|
1700
|
+
temperature_fahrenheit: number;
|
|
1701
|
+
temperature_celsius: number;
|
|
1702
|
+
lower_limit_celsius: number | null;
|
|
1703
|
+
lower_limit_fahrenheit: number | null;
|
|
1704
|
+
upper_limit_celsius: number | null;
|
|
1705
|
+
upper_limit_fahrenheit: number | null;
|
|
1706
|
+
workspace_id: string;
|
|
1707
|
+
event_id: string;
|
|
1708
|
+
occurred_at: string;
|
|
1709
|
+
event_type: "thermostat.temperature_threshold_exceeded";
|
|
1710
|
+
}, {
|
|
1711
|
+
connected_account_id: string;
|
|
1712
|
+
created_at: string;
|
|
1713
|
+
device_id: string;
|
|
1714
|
+
temperature_fahrenheit: number;
|
|
1715
|
+
temperature_celsius: number;
|
|
1716
|
+
lower_limit_celsius: number | null;
|
|
1717
|
+
lower_limit_fahrenheit: number | null;
|
|
1718
|
+
upper_limit_celsius: number | null;
|
|
1719
|
+
upper_limit_fahrenheit: number | null;
|
|
1720
|
+
workspace_id: string;
|
|
1721
|
+
event_id: string;
|
|
1722
|
+
occurred_at: string;
|
|
1723
|
+
event_type: "thermostat.temperature_threshold_exceeded";
|
|
1724
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1725
|
+
event_id: z.ZodString;
|
|
1726
|
+
workspace_id: z.ZodString;
|
|
1727
|
+
created_at: z.ZodString;
|
|
1728
|
+
occurred_at: z.ZodString;
|
|
1729
|
+
}, {
|
|
1730
|
+
device_id: z.ZodString;
|
|
1731
|
+
connected_account_id: z.ZodString;
|
|
1732
|
+
}>, {
|
|
1733
|
+
event_type: z.ZodLiteral<"thermostat.temperature_threshold_no_longer_exceeded">;
|
|
1734
|
+
temperature_celsius: z.ZodNumber;
|
|
1735
|
+
temperature_fahrenheit: z.ZodNumber;
|
|
1736
|
+
upper_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1737
|
+
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1738
|
+
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1739
|
+
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1740
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1741
|
+
connected_account_id: string;
|
|
1742
|
+
created_at: string;
|
|
1743
|
+
device_id: string;
|
|
1744
|
+
temperature_fahrenheit: number;
|
|
1745
|
+
temperature_celsius: number;
|
|
1746
|
+
lower_limit_celsius: number | null;
|
|
1747
|
+
lower_limit_fahrenheit: number | null;
|
|
1748
|
+
upper_limit_celsius: number | null;
|
|
1749
|
+
upper_limit_fahrenheit: number | null;
|
|
1750
|
+
workspace_id: string;
|
|
1751
|
+
event_id: string;
|
|
1752
|
+
occurred_at: string;
|
|
1753
|
+
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
1754
|
+
}, {
|
|
1755
|
+
connected_account_id: string;
|
|
1756
|
+
created_at: string;
|
|
1757
|
+
device_id: string;
|
|
1758
|
+
temperature_fahrenheit: number;
|
|
1759
|
+
temperature_celsius: number;
|
|
1760
|
+
lower_limit_celsius: number | null;
|
|
1761
|
+
lower_limit_fahrenheit: number | null;
|
|
1762
|
+
upper_limit_celsius: number | null;
|
|
1763
|
+
upper_limit_fahrenheit: number | null;
|
|
1764
|
+
workspace_id: string;
|
|
1765
|
+
event_id: string;
|
|
1766
|
+
occurred_at: string;
|
|
1767
|
+
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
1768
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1769
|
+
event_id: z.ZodString;
|
|
1770
|
+
workspace_id: z.ZodString;
|
|
1771
|
+
created_at: z.ZodString;
|
|
1772
|
+
occurred_at: z.ZodString;
|
|
1685
1773
|
}, {
|
|
1686
1774
|
enrollment_automation_id: z.ZodString;
|
|
1687
1775
|
}>, {
|