@seamapi/types 1.1183.0 → 1.1185.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.d.ts +321 -23
- package/lib/seam/connect/models/devices/device.js +159 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +169 -13
- package/lib/seam/connect/openapi.js +167 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +867 -68
- 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.ts +187 -0
- package/src/lib/seam/connect/openapi.ts +191 -1
- package/src/lib/seam/connect/route-types.ts +901 -68
|
@@ -14806,6 +14806,13 @@ const openapi = {
|
|
|
14806
14806
|
type: 'object',
|
|
14807
14807
|
'x-property-group-key': 'hardware',
|
|
14808
14808
|
},
|
|
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
|
+
},
|
|
14809
14816
|
appearance: {
|
|
14810
14817
|
description: 'Appearance-related properties, as reported by the device.',
|
|
14811
14818
|
properties: {
|
|
@@ -14846,6 +14853,20 @@ const openapi = {
|
|
|
14846
14853
|
type: 'number',
|
|
14847
14854
|
'x-property-group-key': 'hardware',
|
|
14848
14855
|
},
|
|
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
|
+
},
|
|
14849
14870
|
currently_triggering_noise_threshold_ids: {
|
|
14850
14871
|
description: 'Array of noise threshold IDs that are currently triggering.',
|
|
14851
14872
|
items: { type: 'string' },
|
|
@@ -14868,6 +14889,18 @@ const openapi = {
|
|
|
14868
14889
|
type: 'string',
|
|
14869
14890
|
'x-property-group-key': 'hardware',
|
|
14870
14891
|
},
|
|
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
|
+
},
|
|
14871
14904
|
manufacturer: {
|
|
14872
14905
|
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.',
|
|
14873
14906
|
type: 'string',
|
|
@@ -14914,18 +14947,147 @@ const openapi = {
|
|
|
14914
14947
|
],
|
|
14915
14948
|
type: 'object',
|
|
14916
14949
|
},
|
|
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
|
+
},
|
|
14917
14956
|
name: {
|
|
14918
14957
|
deprecated: true,
|
|
14919
14958
|
description: 'Name of the device.',
|
|
14920
14959
|
type: 'string',
|
|
14921
14960
|
'x-deprecated': 'use device.display_name instead',
|
|
14922
14961
|
},
|
|
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
|
+
},
|
|
14923
15070
|
noise_level_decibels: {
|
|
14924
15071
|
description: 'Indicates current noise level in decibels, if the device supports noise detection.',
|
|
14925
15072
|
format: 'float',
|
|
15073
|
+
nullable: true,
|
|
14926
15074
|
type: 'number',
|
|
14927
15075
|
'x-property-group-key': 'noise_sensors',
|
|
14928
15076
|
},
|
|
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
|
+
},
|
|
14929
15091
|
offline_access_codes_enabled: {
|
|
14930
15092
|
deprecated: true,
|
|
14931
15093
|
description: 'Indicates whether it is currently possible to use offline access codes for the device.',
|
|
@@ -17379,18 +17541,21 @@ const openapi = {
|
|
|
17379
17541
|
format: 'float',
|
|
17380
17542
|
maximum: 1,
|
|
17381
17543
|
minimum: 0,
|
|
17544
|
+
nullable: true,
|
|
17382
17545
|
type: 'number',
|
|
17383
17546
|
'x-property-group-key': 'thermostats',
|
|
17384
17547
|
},
|
|
17385
17548
|
temperature_celsius: {
|
|
17386
17549
|
description: 'Reported temperature in °C.',
|
|
17387
17550
|
format: 'float',
|
|
17551
|
+
nullable: true,
|
|
17388
17552
|
type: 'number',
|
|
17389
17553
|
'x-property-group-key': 'thermostats',
|
|
17390
17554
|
},
|
|
17391
17555
|
temperature_fahrenheit: {
|
|
17392
17556
|
description: 'Reported temperature in °F.',
|
|
17393
17557
|
format: 'float',
|
|
17558
|
+
nullable: true,
|
|
17394
17559
|
type: 'number',
|
|
17395
17560
|
'x-property-group-key': 'thermostats',
|
|
17396
17561
|
},
|
|
@@ -17584,6 +17749,7 @@ const openapi = {
|
|
|
17584
17749
|
noise_sensors: { name: 'Noise Sensors' },
|
|
17585
17750
|
phones: { name: 'Phones' },
|
|
17586
17751
|
provider_metadata: { name: 'Provider Metadata' },
|
|
17752
|
+
sensors: { name: 'Sensors' },
|
|
17587
17753
|
speakers: { name: 'Speakers' },
|
|
17588
17754
|
thermostats: { name: 'Thermostats' },
|
|
17589
17755
|
},
|
|
@@ -57824,7 +57990,7 @@ const openapi = {
|
|
|
57824
57990
|
},
|
|
57825
57991
|
'/seam/console/v1/credits/trial/extend': {
|
|
57826
57992
|
post: {
|
|
57827
|
-
description: "Moves the end of the organization's credits trial 14 days later. The trial keeps
|
|
57993
|
+
description: "Moves the end of the organization's credits trial 14 days later. The trial keeps the credits it already has. An organization can extend its trial once; Seam support can extend it further.",
|
|
57828
57994
|
operationId: 'seamConsoleV1CreditsTrialExtendPost',
|
|
57829
57995
|
requestBody: {
|
|
57830
57996
|
content: {
|