@seamapi/types 1.1185.0 → 1.1187.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/lib/seam/connect/models/devices/capability-properties/index.d.ts +9 -9
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +9 -9
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +3 -3
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +33 -0
- package/lib/seam/connect/models/devices/device-metadata.js +31 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +7 -1
- package/lib/seam/connect/models/devices/device-type.js +8 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +223 -314
- package/lib/seam/connect/models/devices/device.js +60 -73
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +107 -172
- package/lib/seam/connect/openapi.js +229 -167
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1253 -896
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +3 -3
- package/src/lib/seam/connect/models/devices/device-metadata.ts +32 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +16 -0
- package/src/lib/seam/connect/models/devices/device.ts +63 -76
- package/src/lib/seam/connect/openapi.ts +259 -191
- package/src/lib/seam/connect/route-types.ts +1376 -902
|
@@ -13935,6 +13935,12 @@ const openapi = {
|
|
|
13935
13935
|
device: {
|
|
13936
13936
|
description: 'Represents a [device](https://www.seam.co/docs/core-concepts/devices) that has been connected to Seam.',
|
|
13937
13937
|
properties: {
|
|
13938
|
+
air_quality_index: {
|
|
13939
|
+
description: 'Air quality index, if the device measures it.',
|
|
13940
|
+
format: 'float',
|
|
13941
|
+
type: 'number',
|
|
13942
|
+
'x-property-group-key': 'sensors',
|
|
13943
|
+
},
|
|
13938
13944
|
can_activate_weekly_program: {
|
|
13939
13945
|
description: '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.',
|
|
13940
13946
|
type: 'boolean',
|
|
@@ -14079,6 +14085,18 @@ const openapi = {
|
|
|
14079
14085
|
},
|
|
14080
14086
|
type: 'array',
|
|
14081
14087
|
},
|
|
14088
|
+
co2_ppm: {
|
|
14089
|
+
description: 'Carbon dioxide concentration in parts per million, if the device measures it.',
|
|
14090
|
+
format: 'float',
|
|
14091
|
+
type: 'number',
|
|
14092
|
+
'x-property-group-key': 'sensors',
|
|
14093
|
+
},
|
|
14094
|
+
co_ppm: {
|
|
14095
|
+
description: 'Carbon monoxide concentration in parts per million, if the device measures it.',
|
|
14096
|
+
format: 'float',
|
|
14097
|
+
type: 'number',
|
|
14098
|
+
'x-property-group-key': 'sensors',
|
|
14099
|
+
},
|
|
14082
14100
|
connected_account_id: {
|
|
14083
14101
|
description: 'Unique identifier for the account associated with the device.',
|
|
14084
14102
|
format: 'uuid',
|
|
@@ -14238,6 +14256,11 @@ const openapi = {
|
|
|
14238
14256
|
enum: ['sonos_speaker'],
|
|
14239
14257
|
type: 'string',
|
|
14240
14258
|
},
|
|
14259
|
+
{
|
|
14260
|
+
description: 'Device type for environmental sensors.',
|
|
14261
|
+
enum: ['alertify_sensor'],
|
|
14262
|
+
type: 'string',
|
|
14263
|
+
},
|
|
14241
14264
|
],
|
|
14242
14265
|
},
|
|
14243
14266
|
display_name: {
|
|
@@ -14744,6 +14767,16 @@ const openapi = {
|
|
|
14744
14767
|
enum: [true],
|
|
14745
14768
|
type: 'boolean',
|
|
14746
14769
|
},
|
|
14770
|
+
is_occupied: {
|
|
14771
|
+
description: 'Indicates whether the device detects that the space is occupied, if the device measures occupancy.',
|
|
14772
|
+
type: 'boolean',
|
|
14773
|
+
'x-property-group-key': 'sensors',
|
|
14774
|
+
},
|
|
14775
|
+
is_smoking_detected: {
|
|
14776
|
+
description: 'Indicates whether the device detects smoking, if the device measures it.',
|
|
14777
|
+
type: 'boolean',
|
|
14778
|
+
'x-property-group-key': 'sensors',
|
|
14779
|
+
},
|
|
14747
14780
|
location: {
|
|
14748
14781
|
description: 'Location information for the device.',
|
|
14749
14782
|
properties: {
|
|
@@ -14769,10 +14802,127 @@ const openapi = {
|
|
|
14769
14802
|
type: 'object',
|
|
14770
14803
|
'x-property-group-key': 'hardware',
|
|
14771
14804
|
},
|
|
14805
|
+
mold_risk_level: {
|
|
14806
|
+
description: 'Mold risk level as reported by the device, if the device measures it.',
|
|
14807
|
+
type: 'string',
|
|
14808
|
+
'x-property-group-key': 'sensors',
|
|
14809
|
+
},
|
|
14810
|
+
named_sensors: {
|
|
14811
|
+
description: '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.',
|
|
14812
|
+
items: {
|
|
14813
|
+
description: 'A sensor on the device, with the same measurement fields as the device.',
|
|
14814
|
+
properties: {
|
|
14815
|
+
air_quality_index: {
|
|
14816
|
+
description: 'Air quality index, if the device measures it.',
|
|
14817
|
+
format: 'float',
|
|
14818
|
+
type: 'number',
|
|
14819
|
+
'x-property-group-key': 'sensors',
|
|
14820
|
+
},
|
|
14821
|
+
co2_ppm: {
|
|
14822
|
+
description: 'Carbon dioxide concentration in parts per million, if the device measures it.',
|
|
14823
|
+
format: 'float',
|
|
14824
|
+
type: 'number',
|
|
14825
|
+
'x-property-group-key': 'sensors',
|
|
14826
|
+
},
|
|
14827
|
+
co_ppm: {
|
|
14828
|
+
description: 'Carbon monoxide concentration in parts per million, if the device measures it.',
|
|
14829
|
+
format: 'float',
|
|
14830
|
+
type: 'number',
|
|
14831
|
+
'x-property-group-key': 'sensors',
|
|
14832
|
+
},
|
|
14833
|
+
display_name: {
|
|
14834
|
+
description: 'Display name of the sensor. Defaults to `sensor_name`.',
|
|
14835
|
+
type: 'string',
|
|
14836
|
+
'x-property-group-key': 'sensors',
|
|
14837
|
+
},
|
|
14838
|
+
is_occupied: {
|
|
14839
|
+
description: 'Indicates whether the device detects that the space is occupied, if the device measures occupancy.',
|
|
14840
|
+
type: 'boolean',
|
|
14841
|
+
'x-property-group-key': 'sensors',
|
|
14842
|
+
},
|
|
14843
|
+
is_smoking_detected: {
|
|
14844
|
+
description: 'Indicates whether the device detects smoking, if the device measures it.',
|
|
14845
|
+
type: 'boolean',
|
|
14846
|
+
'x-property-group-key': 'sensors',
|
|
14847
|
+
},
|
|
14848
|
+
mold_risk_level: {
|
|
14849
|
+
description: 'Mold risk level as reported by the device, if the device measures it.',
|
|
14850
|
+
type: 'string',
|
|
14851
|
+
'x-property-group-key': 'sensors',
|
|
14852
|
+
},
|
|
14853
|
+
noise_level_decibels: {
|
|
14854
|
+
description: 'Noise level in decibels, if the device measures noise.',
|
|
14855
|
+
format: 'float',
|
|
14856
|
+
type: 'number',
|
|
14857
|
+
'x-property-group-key': 'sensors',
|
|
14858
|
+
},
|
|
14859
|
+
noise_level_nrs: {
|
|
14860
|
+
description: 'Noise level as a Noise Risk Score (NRS), if the device reports one.',
|
|
14861
|
+
format: 'float',
|
|
14862
|
+
type: 'number',
|
|
14863
|
+
'x-property-group-key': 'sensors',
|
|
14864
|
+
},
|
|
14865
|
+
occupant_count: {
|
|
14866
|
+
description: 'Number of occupants the device detects, if the device counts occupants.',
|
|
14867
|
+
format: 'float',
|
|
14868
|
+
type: 'number',
|
|
14869
|
+
'x-property-group-key': 'sensors',
|
|
14870
|
+
},
|
|
14871
|
+
relative_humidity: {
|
|
14872
|
+
description: 'Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity.',
|
|
14873
|
+
format: 'float',
|
|
14874
|
+
maximum: 1,
|
|
14875
|
+
minimum: 0,
|
|
14876
|
+
type: 'number',
|
|
14877
|
+
'x-property-group-key': 'sensors',
|
|
14878
|
+
},
|
|
14879
|
+
sensor_name: {
|
|
14880
|
+
description: 'Stable, hardware-defined name of the sensor, such as a port number.',
|
|
14881
|
+
type: 'string',
|
|
14882
|
+
'x-property-group-key': 'sensors',
|
|
14883
|
+
},
|
|
14884
|
+
temperature_celsius: {
|
|
14885
|
+
description: 'Temperature in °C, if the device measures temperature.',
|
|
14886
|
+
format: 'float',
|
|
14887
|
+
type: 'number',
|
|
14888
|
+
'x-property-group-key': 'sensors',
|
|
14889
|
+
},
|
|
14890
|
+
temperature_fahrenheit: {
|
|
14891
|
+
description: 'Temperature in °F, if the device measures temperature.',
|
|
14892
|
+
format: 'float',
|
|
14893
|
+
type: 'number',
|
|
14894
|
+
'x-property-group-key': 'sensors',
|
|
14895
|
+
},
|
|
14896
|
+
},
|
|
14897
|
+
required: ['sensor_name', 'display_name'],
|
|
14898
|
+
type: 'object',
|
|
14899
|
+
'x-property-groups': { sensors: { name: 'Sensors' } },
|
|
14900
|
+
},
|
|
14901
|
+
type: 'array',
|
|
14902
|
+
'x-property-group-key': 'sensors',
|
|
14903
|
+
},
|
|
14772
14904
|
nickname: {
|
|
14773
14905
|
description: 'Optional nickname to describe the device, settable through Seam.',
|
|
14774
14906
|
type: 'string',
|
|
14775
14907
|
},
|
|
14908
|
+
noise_level_decibels: {
|
|
14909
|
+
description: 'Noise level in decibels, if the device measures noise.',
|
|
14910
|
+
format: 'float',
|
|
14911
|
+
type: 'number',
|
|
14912
|
+
'x-property-group-key': 'sensors',
|
|
14913
|
+
},
|
|
14914
|
+
noise_level_nrs: {
|
|
14915
|
+
description: 'Noise level as a Noise Risk Score (NRS), if the device reports one.',
|
|
14916
|
+
format: 'float',
|
|
14917
|
+
type: 'number',
|
|
14918
|
+
'x-property-group-key': 'sensors',
|
|
14919
|
+
},
|
|
14920
|
+
occupant_count: {
|
|
14921
|
+
description: 'Number of occupants the device detects, if the device counts occupants.',
|
|
14922
|
+
format: 'float',
|
|
14923
|
+
type: 'number',
|
|
14924
|
+
'x-property-group-key': 'sensors',
|
|
14925
|
+
},
|
|
14776
14926
|
properties: {
|
|
14777
14927
|
allOf: [
|
|
14778
14928
|
{
|
|
@@ -14806,13 +14956,6 @@ const openapi = {
|
|
|
14806
14956
|
type: 'object',
|
|
14807
14957
|
'x-property-group-key': 'hardware',
|
|
14808
14958
|
},
|
|
14809
|
-
air_quality_index: {
|
|
14810
|
-
description: 'Air quality index, if the device measures it. `null` until the first value arrives.',
|
|
14811
|
-
format: 'float',
|
|
14812
|
-
nullable: true,
|
|
14813
|
-
type: 'number',
|
|
14814
|
-
'x-property-group-key': 'sensors',
|
|
14815
|
-
},
|
|
14816
14959
|
appearance: {
|
|
14817
14960
|
description: 'Appearance-related properties, as reported by the device.',
|
|
14818
14961
|
properties: {
|
|
@@ -14853,20 +14996,6 @@ const openapi = {
|
|
|
14853
14996
|
type: 'number',
|
|
14854
14997
|
'x-property-group-key': 'hardware',
|
|
14855
14998
|
},
|
|
14856
|
-
co2_ppm: {
|
|
14857
|
-
description: 'Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
14858
|
-
format: 'float',
|
|
14859
|
-
nullable: true,
|
|
14860
|
-
type: 'number',
|
|
14861
|
-
'x-property-group-key': 'sensors',
|
|
14862
|
-
},
|
|
14863
|
-
co_ppm: {
|
|
14864
|
-
description: 'Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
14865
|
-
format: 'float',
|
|
14866
|
-
nullable: true,
|
|
14867
|
-
type: 'number',
|
|
14868
|
-
'x-property-group-key': 'sensors',
|
|
14869
|
-
},
|
|
14870
14999
|
currently_triggering_noise_threshold_ids: {
|
|
14871
15000
|
description: 'Array of noise threshold IDs that are currently triggering.',
|
|
14872
15001
|
items: { type: 'string' },
|
|
@@ -14889,18 +15018,6 @@ const openapi = {
|
|
|
14889
15018
|
type: 'string',
|
|
14890
15019
|
'x-property-group-key': 'hardware',
|
|
14891
15020
|
},
|
|
14892
|
-
is_occupied: {
|
|
14893
|
-
description: 'Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives.',
|
|
14894
|
-
nullable: true,
|
|
14895
|
-
type: 'boolean',
|
|
14896
|
-
'x-property-group-key': 'sensors',
|
|
14897
|
-
},
|
|
14898
|
-
is_smoking_detected: {
|
|
14899
|
-
description: 'Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives.',
|
|
14900
|
-
nullable: true,
|
|
14901
|
-
type: 'boolean',
|
|
14902
|
-
'x-property-group-key': 'sensors',
|
|
14903
|
-
},
|
|
14904
15021
|
manufacturer: {
|
|
14905
15022
|
description: 'Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub.',
|
|
14906
15023
|
type: 'string',
|
|
@@ -14947,147 +15064,18 @@ const openapi = {
|
|
|
14947
15064
|
],
|
|
14948
15065
|
type: 'object',
|
|
14949
15066
|
},
|
|
14950
|
-
mold_risk_level: {
|
|
14951
|
-
description: 'Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives.',
|
|
14952
|
-
nullable: true,
|
|
14953
|
-
type: 'string',
|
|
14954
|
-
'x-property-group-key': 'sensors',
|
|
14955
|
-
},
|
|
14956
15067
|
name: {
|
|
14957
15068
|
deprecated: true,
|
|
14958
15069
|
description: 'Name of the device.',
|
|
14959
15070
|
type: 'string',
|
|
14960
15071
|
'x-deprecated': 'use device.display_name instead',
|
|
14961
15072
|
},
|
|
14962
|
-
named_sensors: {
|
|
14963
|
-
description: '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.',
|
|
14964
|
-
items: {
|
|
14965
|
-
description: 'A sensor on the device, with the same measurement fields as the device.',
|
|
14966
|
-
properties: {
|
|
14967
|
-
air_quality_index: {
|
|
14968
|
-
description: 'Air quality index, if the device measures it. `null` until the first value arrives.',
|
|
14969
|
-
format: 'float',
|
|
14970
|
-
nullable: true,
|
|
14971
|
-
type: 'number',
|
|
14972
|
-
'x-property-group-key': 'sensors',
|
|
14973
|
-
},
|
|
14974
|
-
co2_ppm: {
|
|
14975
|
-
description: 'Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
14976
|
-
format: 'float',
|
|
14977
|
-
nullable: true,
|
|
14978
|
-
type: 'number',
|
|
14979
|
-
'x-property-group-key': 'sensors',
|
|
14980
|
-
},
|
|
14981
|
-
co_ppm: {
|
|
14982
|
-
description: 'Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
14983
|
-
format: 'float',
|
|
14984
|
-
nullable: true,
|
|
14985
|
-
type: 'number',
|
|
14986
|
-
'x-property-group-key': 'sensors',
|
|
14987
|
-
},
|
|
14988
|
-
display_name: {
|
|
14989
|
-
description: 'Display name of the sensor. Defaults to `sensor_name`.',
|
|
14990
|
-
type: 'string',
|
|
14991
|
-
'x-property-group-key': 'sensors',
|
|
14992
|
-
},
|
|
14993
|
-
is_occupied: {
|
|
14994
|
-
description: 'Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives.',
|
|
14995
|
-
nullable: true,
|
|
14996
|
-
type: 'boolean',
|
|
14997
|
-
'x-property-group-key': 'sensors',
|
|
14998
|
-
},
|
|
14999
|
-
is_smoking_detected: {
|
|
15000
|
-
description: 'Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives.',
|
|
15001
|
-
nullable: true,
|
|
15002
|
-
type: 'boolean',
|
|
15003
|
-
'x-property-group-key': 'sensors',
|
|
15004
|
-
},
|
|
15005
|
-
mold_risk_level: {
|
|
15006
|
-
description: 'Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives.',
|
|
15007
|
-
nullable: true,
|
|
15008
|
-
type: 'string',
|
|
15009
|
-
'x-property-group-key': 'sensors',
|
|
15010
|
-
},
|
|
15011
|
-
noise_level_decibels: {
|
|
15012
|
-
description: 'Noise level in decibels. `null` until the first value arrives.',
|
|
15013
|
-
format: 'float',
|
|
15014
|
-
nullable: true,
|
|
15015
|
-
type: 'number',
|
|
15016
|
-
'x-property-group-key': 'sensors',
|
|
15017
|
-
},
|
|
15018
|
-
noise_level_nrs: {
|
|
15019
|
-
description: 'Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives.',
|
|
15020
|
-
format: 'float',
|
|
15021
|
-
nullable: true,
|
|
15022
|
-
type: 'number',
|
|
15023
|
-
'x-property-group-key': 'sensors',
|
|
15024
|
-
},
|
|
15025
|
-
occupant_count: {
|
|
15026
|
-
description: 'Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives.',
|
|
15027
|
-
format: 'float',
|
|
15028
|
-
nullable: true,
|
|
15029
|
-
type: 'number',
|
|
15030
|
-
'x-property-group-key': 'sensors',
|
|
15031
|
-
},
|
|
15032
|
-
relative_humidity: {
|
|
15033
|
-
description: 'Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives.',
|
|
15034
|
-
format: 'float',
|
|
15035
|
-
maximum: 1,
|
|
15036
|
-
minimum: 0,
|
|
15037
|
-
nullable: true,
|
|
15038
|
-
type: 'number',
|
|
15039
|
-
'x-property-group-key': 'sensors',
|
|
15040
|
-
},
|
|
15041
|
-
sensor_name: {
|
|
15042
|
-
description: 'Stable, hardware-defined name of the sensor, such as a port number.',
|
|
15043
|
-
type: 'string',
|
|
15044
|
-
'x-property-group-key': 'sensors',
|
|
15045
|
-
},
|
|
15046
|
-
temperature_celsius: {
|
|
15047
|
-
description: 'Reported temperature in °C. `null` until the first value arrives.',
|
|
15048
|
-
format: 'float',
|
|
15049
|
-
nullable: true,
|
|
15050
|
-
type: 'number',
|
|
15051
|
-
'x-property-group-key': 'sensors',
|
|
15052
|
-
},
|
|
15053
|
-
temperature_fahrenheit: {
|
|
15054
|
-
description: 'Reported temperature in °F. `null` until the first value arrives.',
|
|
15055
|
-
format: 'float',
|
|
15056
|
-
nullable: true,
|
|
15057
|
-
type: 'number',
|
|
15058
|
-
'x-property-group-key': 'sensors',
|
|
15059
|
-
},
|
|
15060
|
-
},
|
|
15061
|
-
required: ['sensor_name', 'display_name'],
|
|
15062
|
-
type: 'object',
|
|
15063
|
-
'x-property-groups': {
|
|
15064
|
-
sensors: { name: 'Sensors' },
|
|
15065
|
-
},
|
|
15066
|
-
},
|
|
15067
|
-
type: 'array',
|
|
15068
|
-
'x-property-group-key': 'sensors',
|
|
15069
|
-
},
|
|
15070
15073
|
noise_level_decibels: {
|
|
15071
15074
|
description: 'Indicates current noise level in decibels, if the device supports noise detection.',
|
|
15072
15075
|
format: 'float',
|
|
15073
|
-
nullable: true,
|
|
15074
15076
|
type: 'number',
|
|
15075
15077
|
'x-property-group-key': 'noise_sensors',
|
|
15076
15078
|
},
|
|
15077
|
-
noise_level_nrs: {
|
|
15078
|
-
description: 'Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives.',
|
|
15079
|
-
format: 'float',
|
|
15080
|
-
nullable: true,
|
|
15081
|
-
type: 'number',
|
|
15082
|
-
'x-property-group-key': 'sensors',
|
|
15083
|
-
},
|
|
15084
|
-
occupant_count: {
|
|
15085
|
-
description: 'Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives.',
|
|
15086
|
-
format: 'float',
|
|
15087
|
-
nullable: true,
|
|
15088
|
-
type: 'number',
|
|
15089
|
-
'x-property-group-key': 'sensors',
|
|
15090
|
-
},
|
|
15091
15079
|
offline_access_codes_enabled: {
|
|
15092
15080
|
deprecated: true,
|
|
15093
15081
|
description: 'Indicates whether it is currently possible to use offline access codes for the device.',
|
|
@@ -15193,6 +15181,34 @@ const openapi = {
|
|
|
15193
15181
|
},
|
|
15194
15182
|
type: 'object',
|
|
15195
15183
|
},
|
|
15184
|
+
alertify_metadata: {
|
|
15185
|
+
description: 'Metadata for an Alertify sensor.',
|
|
15186
|
+
properties: {
|
|
15187
|
+
building_id: {
|
|
15188
|
+
description: 'ID of the Alertify building that contains the unit.',
|
|
15189
|
+
nullable: true,
|
|
15190
|
+
type: 'string',
|
|
15191
|
+
},
|
|
15192
|
+
device_id: {
|
|
15193
|
+
description: 'Device ID reported by Alertify.',
|
|
15194
|
+
type: 'string',
|
|
15195
|
+
},
|
|
15196
|
+
device_name: {
|
|
15197
|
+
description: 'Device name, as set in the Alertify dashboard.',
|
|
15198
|
+
type: 'string',
|
|
15199
|
+
},
|
|
15200
|
+
unit_id: {
|
|
15201
|
+
description: 'ID of the Alertify unit where the device is installed.',
|
|
15202
|
+
type: 'string',
|
|
15203
|
+
},
|
|
15204
|
+
unit_name: {
|
|
15205
|
+
description: 'Name of the Alertify unit where the device is installed.',
|
|
15206
|
+
type: 'string',
|
|
15207
|
+
},
|
|
15208
|
+
},
|
|
15209
|
+
type: 'object',
|
|
15210
|
+
'x-undocumented': 'Unreleased.',
|
|
15211
|
+
},
|
|
15196
15212
|
aqara_metadata: {
|
|
15197
15213
|
description: 'Metadata for an Aqara device.',
|
|
15198
15214
|
properties: {
|
|
@@ -17541,21 +17557,18 @@ const openapi = {
|
|
|
17541
17557
|
format: 'float',
|
|
17542
17558
|
maximum: 1,
|
|
17543
17559
|
minimum: 0,
|
|
17544
|
-
nullable: true,
|
|
17545
17560
|
type: 'number',
|
|
17546
17561
|
'x-property-group-key': 'thermostats',
|
|
17547
17562
|
},
|
|
17548
17563
|
temperature_celsius: {
|
|
17549
17564
|
description: 'Reported temperature in °C.',
|
|
17550
17565
|
format: 'float',
|
|
17551
|
-
nullable: true,
|
|
17552
17566
|
type: 'number',
|
|
17553
17567
|
'x-property-group-key': 'thermostats',
|
|
17554
17568
|
},
|
|
17555
17569
|
temperature_fahrenheit: {
|
|
17556
17570
|
description: 'Reported temperature in °F.',
|
|
17557
17571
|
format: 'float',
|
|
17558
|
-
nullable: true,
|
|
17559
17572
|
type: 'number',
|
|
17560
17573
|
'x-property-group-key': 'thermostats',
|
|
17561
17574
|
},
|
|
@@ -17749,16 +17762,35 @@ const openapi = {
|
|
|
17749
17762
|
noise_sensors: { name: 'Noise Sensors' },
|
|
17750
17763
|
phones: { name: 'Phones' },
|
|
17751
17764
|
provider_metadata: { name: 'Provider Metadata' },
|
|
17752
|
-
sensors: { name: 'Sensors' },
|
|
17753
17765
|
speakers: { name: 'Speakers' },
|
|
17754
17766
|
thermostats: { name: 'Thermostats' },
|
|
17755
17767
|
},
|
|
17756
17768
|
},
|
|
17769
|
+
relative_humidity: {
|
|
17770
|
+
description: 'Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity.',
|
|
17771
|
+
format: 'float',
|
|
17772
|
+
maximum: 1,
|
|
17773
|
+
minimum: 0,
|
|
17774
|
+
type: 'number',
|
|
17775
|
+
'x-property-group-key': 'sensors',
|
|
17776
|
+
},
|
|
17757
17777
|
space_ids: {
|
|
17758
17778
|
description: 'IDs of the spaces the device is in.',
|
|
17759
17779
|
items: { format: 'uuid', type: 'string' },
|
|
17760
17780
|
type: 'array',
|
|
17761
17781
|
},
|
|
17782
|
+
temperature_celsius: {
|
|
17783
|
+
description: 'Temperature in °C, if the device measures temperature.',
|
|
17784
|
+
format: 'float',
|
|
17785
|
+
type: 'number',
|
|
17786
|
+
'x-property-group-key': 'sensors',
|
|
17787
|
+
},
|
|
17788
|
+
temperature_fahrenheit: {
|
|
17789
|
+
description: 'Temperature in °F, if the device measures temperature.',
|
|
17790
|
+
format: 'float',
|
|
17791
|
+
type: 'number',
|
|
17792
|
+
'x-property-group-key': 'sensors',
|
|
17793
|
+
},
|
|
17762
17794
|
warnings: {
|
|
17763
17795
|
description: '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.',
|
|
17764
17796
|
items: {
|
|
@@ -18455,6 +18487,7 @@ const openapi = {
|
|
|
18455
18487
|
noise_sensors: { name: 'Noise Sensors' },
|
|
18456
18488
|
phones: { name: 'Phones' },
|
|
18457
18489
|
provider_metadata: { name: 'Provider Metadata' },
|
|
18490
|
+
sensors: { name: 'Sensors' },
|
|
18458
18491
|
speakers: { name: 'Speakers' },
|
|
18459
18492
|
thermostats: { name: 'Thermostats' },
|
|
18460
18493
|
},
|
|
@@ -18657,6 +18690,7 @@ const openapi = {
|
|
|
18657
18690
|
'reolink',
|
|
18658
18691
|
'unifi_protect',
|
|
18659
18692
|
'yale_connect',
|
|
18693
|
+
'alertify',
|
|
18660
18694
|
'ical',
|
|
18661
18695
|
'lodgify',
|
|
18662
18696
|
'hostaway',
|
|
@@ -37113,6 +37147,11 @@ const openapi = {
|
|
|
37113
37147
|
enum: ['sonos_speaker'],
|
|
37114
37148
|
type: 'string',
|
|
37115
37149
|
},
|
|
37150
|
+
{
|
|
37151
|
+
description: 'Device type for environmental sensors.',
|
|
37152
|
+
enum: ['alertify_sensor'],
|
|
37153
|
+
type: 'string',
|
|
37154
|
+
},
|
|
37116
37155
|
],
|
|
37117
37156
|
},
|
|
37118
37157
|
display_name: {
|
|
@@ -47300,6 +47339,7 @@ const openapi = {
|
|
|
47300
47339
|
'reolink',
|
|
47301
47340
|
'unifi_protect',
|
|
47302
47341
|
'yale_connect',
|
|
47342
|
+
'alertify',
|
|
47303
47343
|
'ical',
|
|
47304
47344
|
'lodgify',
|
|
47305
47345
|
'hostaway',
|
|
@@ -50899,6 +50939,11 @@ const openapi = {
|
|
|
50899
50939
|
enum: ['sonos_speaker'],
|
|
50900
50940
|
type: 'string',
|
|
50901
50941
|
},
|
|
50942
|
+
{
|
|
50943
|
+
description: 'Device type for environmental sensors.',
|
|
50944
|
+
enum: ['alertify_sensor'],
|
|
50945
|
+
type: 'string',
|
|
50946
|
+
},
|
|
50902
50947
|
],
|
|
50903
50948
|
},
|
|
50904
50949
|
},
|
|
@@ -50993,6 +51038,11 @@ const openapi = {
|
|
|
50993
51038
|
enum: ['sonos_speaker'],
|
|
50994
51039
|
type: 'string',
|
|
50995
51040
|
},
|
|
51041
|
+
{
|
|
51042
|
+
description: 'Device type for environmental sensors.',
|
|
51043
|
+
enum: ['alertify_sensor'],
|
|
51044
|
+
type: 'string',
|
|
51045
|
+
},
|
|
50996
51046
|
],
|
|
50997
51047
|
},
|
|
50998
51048
|
type: 'array',
|
|
@@ -51055,6 +51105,7 @@ const openapi = {
|
|
|
51055
51105
|
'reolink',
|
|
51056
51106
|
'unifi_protect',
|
|
51057
51107
|
'yale_connect',
|
|
51108
|
+
'alertify',
|
|
51058
51109
|
'ical',
|
|
51059
51110
|
'lodgify',
|
|
51060
51111
|
'hostaway',
|
|
@@ -53227,6 +53278,11 @@ const openapi = {
|
|
|
53227
53278
|
enum: ['sonos_speaker'],
|
|
53228
53279
|
type: 'string',
|
|
53229
53280
|
},
|
|
53281
|
+
{
|
|
53282
|
+
description: 'Device type for environmental sensors.',
|
|
53283
|
+
enum: ['alertify_sensor'],
|
|
53284
|
+
type: 'string',
|
|
53285
|
+
},
|
|
53230
53286
|
],
|
|
53231
53287
|
},
|
|
53232
53288
|
},
|
|
@@ -53321,6 +53377,11 @@ const openapi = {
|
|
|
53321
53377
|
enum: ['sonos_speaker'],
|
|
53322
53378
|
type: 'string',
|
|
53323
53379
|
},
|
|
53380
|
+
{
|
|
53381
|
+
description: 'Device type for environmental sensors.',
|
|
53382
|
+
enum: ['alertify_sensor'],
|
|
53383
|
+
type: 'string',
|
|
53384
|
+
},
|
|
53324
53385
|
],
|
|
53325
53386
|
},
|
|
53326
53387
|
type: 'array',
|
|
@@ -53383,6 +53444,7 @@ const openapi = {
|
|
|
53383
53444
|
'reolink',
|
|
53384
53445
|
'unifi_protect',
|
|
53385
53446
|
'yale_connect',
|
|
53447
|
+
'alertify',
|
|
53386
53448
|
'ical',
|
|
53387
53449
|
'lodgify',
|
|
53388
53450
|
'hostaway',
|
|
@@ -55211,7 +55273,7 @@ const openapi = {
|
|
|
55211
55273
|
name: 'manufacturer',
|
|
55212
55274
|
schema: {
|
|
55213
55275
|
description: 'Manufacturers of the noise sensors that you want to list.',
|
|
55214
|
-
enum: ['minut', 'noiseaware'],
|
|
55276
|
+
enum: ['minut', 'noiseaware', 'alertify'],
|
|
55215
55277
|
type: 'string',
|
|
55216
55278
|
},
|
|
55217
55279
|
},
|