@seamapi/types 1.329.0 → 1.329.1
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 +14 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +9 -9
- package/lib/seam/connect/models/events/devices.js +5 -4
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +1 -1
- package/lib/seam/connect/openapi.js +5 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +9 -4
- package/src/lib/seam/connect/openapi.ts +8 -4
- package/src/lib/seam/connect/route-types.ts +8 -8
|
@@ -14293,13 +14293,13 @@ export interface Routes {
|
|
|
14293
14293
|
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
14294
14294
|
connected_account_id: string;
|
|
14295
14295
|
event_type: 'thermostat.temperature_reached_set_point';
|
|
14296
|
-
/** Temperature, in °C, reported by the thermostat. */
|
|
14296
|
+
/** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
|
|
14297
14297
|
temperature_celsius: number;
|
|
14298
|
-
/** Temperature, in °F, reported by the thermostat. */
|
|
14298
|
+
/** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
|
|
14299
14299
|
temperature_fahrenheit: number;
|
|
14300
|
-
/** Desired temperature, in °C,
|
|
14300
|
+
/** Desired temperature, in °C, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
|
|
14301
14301
|
desired_temperature_celsius?: number | undefined;
|
|
14302
|
-
/** Desired temperature, in °F,
|
|
14302
|
+
/** Desired temperature, in °F, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
|
|
14303
14303
|
desired_temperature_fahrenheit?: number | undefined;
|
|
14304
14304
|
} | {
|
|
14305
14305
|
/** ID of the event. */
|
|
@@ -15486,13 +15486,13 @@ export interface Routes {
|
|
|
15486
15486
|
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
15487
15487
|
connected_account_id: string;
|
|
15488
15488
|
event_type: 'thermostat.temperature_reached_set_point';
|
|
15489
|
-
/** Temperature, in °C, reported by the thermostat. */
|
|
15489
|
+
/** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
|
|
15490
15490
|
temperature_celsius: number;
|
|
15491
|
-
/** Temperature, in °F, reported by the thermostat. */
|
|
15491
|
+
/** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
|
|
15492
15492
|
temperature_fahrenheit: number;
|
|
15493
|
-
/** Desired temperature, in °C,
|
|
15493
|
+
/** Desired temperature, in °C, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
|
|
15494
15494
|
desired_temperature_celsius?: number | undefined;
|
|
15495
|
-
/** Desired temperature, in °F,
|
|
15495
|
+
/** Desired temperature, in °F, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
|
|
15496
15496
|
desired_temperature_fahrenheit?: number | undefined;
|
|
15497
15497
|
} | {
|
|
15498
15498
|
/** ID of the event. */
|
package/package.json
CHANGED
|
@@ -599,26 +599,31 @@ export const temperature_reached_set_point_event = device_event.extend({
|
|
|
599
599
|
event_type: z.literal('thermostat.temperature_reached_set_point'),
|
|
600
600
|
temperature_celsius: z
|
|
601
601
|
.number()
|
|
602
|
-
.describe(
|
|
602
|
+
.describe(
|
|
603
|
+
'Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).',
|
|
604
|
+
),
|
|
603
605
|
temperature_fahrenheit: z
|
|
604
606
|
.number()
|
|
605
|
-
.describe(
|
|
607
|
+
.describe(
|
|
608
|
+
'Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).',
|
|
609
|
+
),
|
|
606
610
|
desired_temperature_celsius: z
|
|
607
611
|
.number()
|
|
608
612
|
.optional()
|
|
609
613
|
.describe(
|
|
610
|
-
"Desired temperature, in °C,
|
|
614
|
+
"Desired temperature, in °C, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points).",
|
|
611
615
|
),
|
|
612
616
|
desired_temperature_fahrenheit: z
|
|
613
617
|
.number()
|
|
614
618
|
.optional()
|
|
615
619
|
.describe(
|
|
616
|
-
"Desired temperature, in °F,
|
|
620
|
+
"Desired temperature, in °F, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points).",
|
|
617
621
|
),
|
|
618
622
|
}).describe(`
|
|
619
623
|
---
|
|
620
624
|
route_path: /thermostats
|
|
621
625
|
---
|
|
626
|
+
A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) temperature reading is within 1 °C of the configured cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
|
|
622
627
|
`)
|
|
623
628
|
|
|
624
629
|
export type TemperatureReachedSetPointEvent = z.infer<
|
|
@@ -10553,6 +10553,8 @@ export default {
|
|
|
10553
10553
|
'x-route-path': '/thermostats',
|
|
10554
10554
|
},
|
|
10555
10555
|
{
|
|
10556
|
+
description:
|
|
10557
|
+
"A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) temperature reading is within 1 °C of the configured cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points).",
|
|
10556
10558
|
properties: {
|
|
10557
10559
|
connected_account_id: {
|
|
10558
10560
|
description:
|
|
@@ -10567,13 +10569,13 @@ export default {
|
|
|
10567
10569
|
},
|
|
10568
10570
|
desired_temperature_celsius: {
|
|
10569
10571
|
description:
|
|
10570
|
-
"Desired temperature, in °C,
|
|
10572
|
+
"Desired temperature, in °C, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points).",
|
|
10571
10573
|
format: 'float',
|
|
10572
10574
|
type: 'number',
|
|
10573
10575
|
},
|
|
10574
10576
|
desired_temperature_fahrenheit: {
|
|
10575
10577
|
description:
|
|
10576
|
-
"Desired temperature, in °F,
|
|
10578
|
+
"Desired temperature, in °F, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points).",
|
|
10577
10579
|
format: 'float',
|
|
10578
10580
|
type: 'number',
|
|
10579
10581
|
},
|
|
@@ -10597,12 +10599,14 @@ export default {
|
|
|
10597
10599
|
type: 'string',
|
|
10598
10600
|
},
|
|
10599
10601
|
temperature_celsius: {
|
|
10600
|
-
description:
|
|
10602
|
+
description:
|
|
10603
|
+
'Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).',
|
|
10601
10604
|
format: 'float',
|
|
10602
10605
|
type: 'number',
|
|
10603
10606
|
},
|
|
10604
10607
|
temperature_fahrenheit: {
|
|
10605
|
-
description:
|
|
10608
|
+
description:
|
|
10609
|
+
'Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).',
|
|
10606
10610
|
format: 'float',
|
|
10607
10611
|
type: 'number',
|
|
10608
10612
|
},
|
|
@@ -17371,13 +17371,13 @@ export interface Routes {
|
|
|
17371
17371
|
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
17372
17372
|
connected_account_id: string
|
|
17373
17373
|
event_type: 'thermostat.temperature_reached_set_point'
|
|
17374
|
-
/** Temperature, in °C, reported by the thermostat. */
|
|
17374
|
+
/** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
|
|
17375
17375
|
temperature_celsius: number
|
|
17376
|
-
/** Temperature, in °F, reported by the thermostat. */
|
|
17376
|
+
/** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
|
|
17377
17377
|
temperature_fahrenheit: number
|
|
17378
|
-
/** Desired temperature, in °C,
|
|
17378
|
+
/** Desired temperature, in °C, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
|
|
17379
17379
|
desired_temperature_celsius?: number | undefined
|
|
17380
|
-
/** Desired temperature, in °F,
|
|
17380
|
+
/** Desired temperature, in °F, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
|
|
17381
17381
|
desired_temperature_fahrenheit?: number | undefined
|
|
17382
17382
|
}
|
|
17383
17383
|
| {
|
|
@@ -18804,13 +18804,13 @@ export interface Routes {
|
|
|
18804
18804
|
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
18805
18805
|
connected_account_id: string
|
|
18806
18806
|
event_type: 'thermostat.temperature_reached_set_point'
|
|
18807
|
-
/** Temperature, in °C, reported by the thermostat. */
|
|
18807
|
+
/** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
|
|
18808
18808
|
temperature_celsius: number
|
|
18809
|
-
/** Temperature, in °F, reported by the thermostat. */
|
|
18809
|
+
/** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
|
|
18810
18810
|
temperature_fahrenheit: number
|
|
18811
|
-
/** Desired temperature, in °C,
|
|
18811
|
+
/** Desired temperature, in °C, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
|
|
18812
18812
|
desired_temperature_celsius?: number | undefined
|
|
18813
|
-
/** Desired temperature, in °F,
|
|
18813
|
+
/** Desired temperature, in °F, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
|
|
18814
18814
|
desired_temperature_fahrenheit?: number | undefined
|
|
18815
18815
|
}
|
|
18816
18816
|
| {
|