From 242796814a4460f6619f9344da44489dcc0d1d36 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Nov 2026 06:33:02 +0000 Subject: [PATCH 1/2] feat(deps-dev): Bump @seamapi/types Bumps the seam group with 1 update: [@seamapi/types](https://github.com/seamapi/types). Updates `@seamapi/types` from 1.1183.0 to 1.1187.0 - [Release notes](https://github.com/seamapi/types/releases) - [Commits](https://github.com/seamapi/types/compare/v1.1183.0...v1.1187.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.1187.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 41281198..43a90288 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@seamapi/blueprint": "^1.13.2", "@seamapi/fake-seam-connect": "^2.0.4", "@seamapi/smith": "^1.2.0", - "@seamapi/types": "1.1183.0", + "@seamapi/types": "1.1187.0", "@types/jsonwebtoken": "^9.0.6", "@types/node": "^24.10.9", "ava": "^8.0.1", @@ -1133,9 +1133,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.1183.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1183.0.tgz", - "integrity": "sha512-VLfF7zzCp56OnLgHBnfd23WFTN2BPydKyFxQ3pd7UFGh6Ecb13gIUSFK30ZV2r1VRj8auqghbMfW+j6Q5rhj7w==", + "version": "1.1187.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1187.0.tgz", + "integrity": "sha512-QTLGjfOyXxRMw5Mz9HcIadTQLyFCUNBsvDjeUgDgB9hfbw/cB3x07RyZnxc90QzIz0yz0o0auORXmqPM7vF+4w==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 55387172..2ebbd672 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "@seamapi/blueprint": "^1.13.2", "@seamapi/fake-seam-connect": "^2.0.4", "@seamapi/smith": "^1.2.0", - "@seamapi/types": "1.1183.0", + "@seamapi/types": "1.1187.0", "@types/jsonwebtoken": "^9.0.6", "@types/node": "^24.10.9", "ava": "^8.0.1", From 9ddf569d6c403064ccc7ccec36ddad847c3d6720 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Thu, 12 Nov 2026 06:34:17 +0000 Subject: [PATCH 2/2] ci: Generate code --- src/lib/resources/device-provider.ts | 1 + src/lib/resources/device.ts | 114 ++++++++++++++++++ src/lib/resources/unmanaged-device.ts | 1 + .../connect-webviews/connect-webviews.ts | 1 + src/lib/routes/devices/devices.ts | 3 + src/lib/routes/devices/unmanaged/unmanaged.ts | 3 + src/lib/routes/noise-sensors/noise-sensors.ts | 2 +- 7 files changed, 124 insertions(+), 1 deletion(-) diff --git a/src/lib/resources/device-provider.ts b/src/lib/resources/device-provider.ts index 126fd1d8..a9dcf037 100644 --- a/src/lib/resources/device-provider.ts +++ b/src/lib/resources/device-provider.ts @@ -160,6 +160,7 @@ export type DeviceProvider = { | 'reolink' | 'unifi_protect' | 'yale_connect' + | 'alertify' | 'ical' | 'lodgify' | 'hostaway' diff --git a/src/lib/resources/device.ts b/src/lib/resources/device.ts index ee4ca259..c19be6af 100644 --- a/src/lib/resources/device.ts +++ b/src/lib/resources/device.ts @@ -7,6 +7,10 @@ * Represents a [device](https://www.seam.co/docs/core-concepts/devices) that has been connected to Seam. */ export type Device = { + /** + * Air quality index, if the device measures it. + */ + air_quality_index?: number | undefined /** * Indicates whether the thermostat can be returned to its weekly program, the schedule that is configured on the device itself, releasing any hold that Seam has set. */ @@ -107,6 +111,14 @@ export type Device = { | 'phone' > + /** + * Carbon dioxide concentration in parts per million, if the device measures it. + */ + co2_ppm?: number | undefined + /** + * Carbon monoxide concentration in parts per million, if the device measures it. + */ + co_ppm?: number | undefined /** * Unique identifier for the account associated with the device. */ @@ -228,6 +240,7 @@ export type Device = { | 'reolink_camera' | 'unifi_protect_camera' | 'sonos_speaker' + | 'alertify_sensor' /** * Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. @@ -591,6 +604,14 @@ export type Device = { */ is_managed: true + /** + * Indicates whether the device detects that the space is occupied, if the device measures occupancy. + */ + is_occupied?: boolean | undefined + /** + * Indicates whether the device detects smoking, if the device measures it. + */ + is_smoking_detected?: boolean | undefined /** * Location information for the device. */ @@ -615,10 +636,91 @@ export type Device = { timezone?: string | undefined } | undefined + /** + * Mold risk level as reported by the device, if the device measures it. + */ + mold_risk_level?: string | undefined + /** + * Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. + */ + named_sensors?: + | Array<{ + /** + * Air quality index, if the device measures it. + */ + air_quality_index?: number | undefined + /** + * Carbon dioxide concentration in parts per million, if the device measures it. + */ + co2_ppm?: number | undefined + /** + * Carbon monoxide concentration in parts per million, if the device measures it. + */ + co_ppm?: number | undefined + /** + * Display name of the sensor. Defaults to `sensor_name`. + */ + display_name: string + + /** + * Indicates whether the device detects that the space is occupied, if the device measures occupancy. + */ + is_occupied?: boolean | undefined + /** + * Indicates whether the device detects smoking, if the device measures it. + */ + is_smoking_detected?: boolean | undefined + /** + * Mold risk level as reported by the device, if the device measures it. + */ + mold_risk_level?: string | undefined + /** + * Noise level in decibels, if the device measures noise. + */ + noise_level_decibels?: number | undefined + /** + * Noise level as a Noise Risk Score (NRS), if the device reports one. + */ + noise_level_nrs?: number | undefined + /** + * Number of occupants the device detects, if the device counts occupants. + */ + occupant_count?: number | undefined + /** + * Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. + */ + relative_humidity?: number | undefined + /** + * Stable, hardware-defined name of the sensor, such as a port number. + */ + sensor_name: string + + /** + * Temperature in °C, if the device measures temperature. + */ + temperature_celsius?: number | undefined + /** + * Temperature in °F, if the device measures temperature. + */ + temperature_fahrenheit?: number | undefined + }> + | undefined /** * Optional nickname to describe the device, settable through Seam. */ nickname?: string | undefined + /** + * Noise level in decibels, if the device measures noise. + */ + noise_level_decibels?: number | undefined + /** + * Noise level as a Noise Risk Score (NRS), if the device reports one. + */ + noise_level_nrs?: number | undefined + /** + * Number of occupants the device detects, if the device counts occupants. + */ + occupant_count?: number | undefined /** * Properties of the device. */ @@ -2963,11 +3065,23 @@ export type Device = { | undefined } + /** + * Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. + */ + relative_humidity?: number | undefined /** * IDs of the spaces the device is in. */ space_ids: Array + /** + * Temperature in °C, if the device measures temperature. + */ + temperature_celsius?: number | undefined + /** + * Temperature in °F, if the device measures temperature. + */ + temperature_fahrenheit?: number | undefined /** * Array of warnings associated with the device. Each warning object within the array contains two fields: `warning_code` and `message`. `warning_code` is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ diff --git a/src/lib/resources/unmanaged-device.ts b/src/lib/resources/unmanaged-device.ts index c9eb1fcb..f295dd44 100644 --- a/src/lib/resources/unmanaged-device.ts +++ b/src/lib/resources/unmanaged-device.ts @@ -183,6 +183,7 @@ export type UnmanagedDevice = { | 'reolink_camera' | 'unifi_protect_camera' | 'sonos_speaker' + | 'alertify_sensor' /** * Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. diff --git a/src/lib/routes/connect-webviews/connect-webviews.ts b/src/lib/routes/connect-webviews/connect-webviews.ts index 2dfc7524..42e7e939 100644 --- a/src/lib/routes/connect-webviews/connect-webviews.ts +++ b/src/lib/routes/connect-webviews/connect-webviews.ts @@ -336,6 +336,7 @@ export type ConnectWebviewsCreateParameters = { | 'reolink' | 'unifi_protect' | 'yale_connect' + | 'alertify' | 'ical' | 'lodgify' | 'hostaway' diff --git a/src/lib/routes/devices/devices.ts b/src/lib/routes/devices/devices.ts index 7bc3f963..9317e009 100644 --- a/src/lib/routes/devices/devices.ts +++ b/src/lib/routes/devices/devices.ts @@ -392,6 +392,7 @@ export type DevicesListParameters = { | 'reolink_camera' | 'unifi_protect_camera' | 'sonos_speaker' + | 'alertify_sensor' | undefined /** * Array of device types for which you want to list devices. @@ -450,6 +451,7 @@ export type DevicesListParameters = { | 'reolink_camera' | 'unifi_protect_camera' | 'sonos_speaker' + | 'alertify_sensor' > | undefined /** @@ -511,6 +513,7 @@ export type DevicesListParameters = { | 'reolink' | 'unifi_protect' | 'yale_connect' + | 'alertify' | 'ical' | 'lodgify' | 'hostaway' diff --git a/src/lib/routes/devices/unmanaged/unmanaged.ts b/src/lib/routes/devices/unmanaged/unmanaged.ts index bee17832..e2b905ec 100644 --- a/src/lib/routes/devices/unmanaged/unmanaged.ts +++ b/src/lib/routes/devices/unmanaged/unmanaged.ts @@ -339,6 +339,7 @@ export type DevicesUnmanagedListParameters = { | 'reolink_camera' | 'unifi_protect_camera' | 'sonos_speaker' + | 'alertify_sensor' | undefined /** * Array of device types for which you want to list devices. @@ -397,6 +398,7 @@ export type DevicesUnmanagedListParameters = { | 'reolink_camera' | 'unifi_protect_camera' | 'sonos_speaker' + | 'alertify_sensor' > | undefined /** @@ -458,6 +460,7 @@ export type DevicesUnmanagedListParameters = { | 'reolink' | 'unifi_protect' | 'yale_connect' + | 'alertify' | 'ical' | 'lodgify' | 'hostaway' diff --git a/src/lib/routes/noise-sensors/noise-sensors.ts b/src/lib/routes/noise-sensors/noise-sensors.ts index adc28fa6..9ac20554 100644 --- a/src/lib/routes/noise-sensors/noise-sensors.ts +++ b/src/lib/routes/noise-sensors/noise-sensors.ts @@ -220,7 +220,7 @@ export type NoiseSensorsListParameters = { /** * Manufacturers of the noise sensors that you want to list. */ - manufacturer?: 'minut' | 'noiseaware' | undefined + manufacturer?: 'minut' | 'noiseaware' | 'alertify' | undefined } /**