@seamapi/types 1.1186.0 → 1.1188.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/customer/customer-portal.d.ts +19 -0
- package/lib/seam/connect/models/customer/customer-portal.js +5 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/customization-profiles/customization-profile.d.ts +7 -0
- 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 +173 -311
- 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 +71 -169
- package/lib/seam/connect/openapi.js +310 -166
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1053 -867
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-portal.ts +7 -0
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +3 -3
- package/src/lib/seam/connect/models/devices/device.ts +63 -76
- package/src/lib/seam/connect/openapi.ts +348 -190
- package/src/lib/seam/connect/route-types.ts +1087 -901
|
@@ -13437,6 +13437,11 @@ const openapi = {
|
|
|
13437
13437
|
description: 'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
13438
13438
|
type: 'boolean',
|
|
13439
13439
|
},
|
|
13440
|
+
allow_bridge_replacement: {
|
|
13441
|
+
default: false,
|
|
13442
|
+
description: 'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
13443
|
+
type: 'boolean',
|
|
13444
|
+
},
|
|
13440
13445
|
allow_climate_automation_rule_customization: {
|
|
13441
13446
|
default: false,
|
|
13442
13447
|
description: 'Indicates whether the customer can customize the climate automation rules for their properties.',
|
|
@@ -13935,6 +13940,12 @@ const openapi = {
|
|
|
13935
13940
|
device: {
|
|
13936
13941
|
description: 'Represents a [device](https://www.seam.co/docs/core-concepts/devices) that has been connected to Seam.',
|
|
13937
13942
|
properties: {
|
|
13943
|
+
air_quality_index: {
|
|
13944
|
+
description: 'Air quality index, if the device measures it.',
|
|
13945
|
+
format: 'float',
|
|
13946
|
+
type: 'number',
|
|
13947
|
+
'x-property-group-key': 'sensors',
|
|
13948
|
+
},
|
|
13938
13949
|
can_activate_weekly_program: {
|
|
13939
13950
|
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
13951
|
type: 'boolean',
|
|
@@ -14079,6 +14090,18 @@ const openapi = {
|
|
|
14079
14090
|
},
|
|
14080
14091
|
type: 'array',
|
|
14081
14092
|
},
|
|
14093
|
+
co2_ppm: {
|
|
14094
|
+
description: 'Carbon dioxide concentration in parts per million, if the device measures it.',
|
|
14095
|
+
format: 'float',
|
|
14096
|
+
type: 'number',
|
|
14097
|
+
'x-property-group-key': 'sensors',
|
|
14098
|
+
},
|
|
14099
|
+
co_ppm: {
|
|
14100
|
+
description: 'Carbon monoxide concentration in parts per million, if the device measures it.',
|
|
14101
|
+
format: 'float',
|
|
14102
|
+
type: 'number',
|
|
14103
|
+
'x-property-group-key': 'sensors',
|
|
14104
|
+
},
|
|
14082
14105
|
connected_account_id: {
|
|
14083
14106
|
description: 'Unique identifier for the account associated with the device.',
|
|
14084
14107
|
format: 'uuid',
|
|
@@ -14749,6 +14772,16 @@ const openapi = {
|
|
|
14749
14772
|
enum: [true],
|
|
14750
14773
|
type: 'boolean',
|
|
14751
14774
|
},
|
|
14775
|
+
is_occupied: {
|
|
14776
|
+
description: 'Indicates whether the device detects that the space is occupied, if the device measures occupancy.',
|
|
14777
|
+
type: 'boolean',
|
|
14778
|
+
'x-property-group-key': 'sensors',
|
|
14779
|
+
},
|
|
14780
|
+
is_smoking_detected: {
|
|
14781
|
+
description: 'Indicates whether the device detects smoking, if the device measures it.',
|
|
14782
|
+
type: 'boolean',
|
|
14783
|
+
'x-property-group-key': 'sensors',
|
|
14784
|
+
},
|
|
14752
14785
|
location: {
|
|
14753
14786
|
description: 'Location information for the device.',
|
|
14754
14787
|
properties: {
|
|
@@ -14774,10 +14807,127 @@ const openapi = {
|
|
|
14774
14807
|
type: 'object',
|
|
14775
14808
|
'x-property-group-key': 'hardware',
|
|
14776
14809
|
},
|
|
14810
|
+
mold_risk_level: {
|
|
14811
|
+
description: 'Mold risk level as reported by the device, if the device measures it.',
|
|
14812
|
+
type: 'string',
|
|
14813
|
+
'x-property-group-key': 'sensors',
|
|
14814
|
+
},
|
|
14815
|
+
named_sensors: {
|
|
14816
|
+
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.',
|
|
14817
|
+
items: {
|
|
14818
|
+
description: 'A sensor on the device, with the same measurement fields as the device.',
|
|
14819
|
+
properties: {
|
|
14820
|
+
air_quality_index: {
|
|
14821
|
+
description: 'Air quality index, if the device measures it.',
|
|
14822
|
+
format: 'float',
|
|
14823
|
+
type: 'number',
|
|
14824
|
+
'x-property-group-key': 'sensors',
|
|
14825
|
+
},
|
|
14826
|
+
co2_ppm: {
|
|
14827
|
+
description: 'Carbon dioxide concentration in parts per million, if the device measures it.',
|
|
14828
|
+
format: 'float',
|
|
14829
|
+
type: 'number',
|
|
14830
|
+
'x-property-group-key': 'sensors',
|
|
14831
|
+
},
|
|
14832
|
+
co_ppm: {
|
|
14833
|
+
description: 'Carbon monoxide concentration in parts per million, if the device measures it.',
|
|
14834
|
+
format: 'float',
|
|
14835
|
+
type: 'number',
|
|
14836
|
+
'x-property-group-key': 'sensors',
|
|
14837
|
+
},
|
|
14838
|
+
display_name: {
|
|
14839
|
+
description: 'Display name of the sensor. Defaults to `sensor_name`.',
|
|
14840
|
+
type: 'string',
|
|
14841
|
+
'x-property-group-key': 'sensors',
|
|
14842
|
+
},
|
|
14843
|
+
is_occupied: {
|
|
14844
|
+
description: 'Indicates whether the device detects that the space is occupied, if the device measures occupancy.',
|
|
14845
|
+
type: 'boolean',
|
|
14846
|
+
'x-property-group-key': 'sensors',
|
|
14847
|
+
},
|
|
14848
|
+
is_smoking_detected: {
|
|
14849
|
+
description: 'Indicates whether the device detects smoking, if the device measures it.',
|
|
14850
|
+
type: 'boolean',
|
|
14851
|
+
'x-property-group-key': 'sensors',
|
|
14852
|
+
},
|
|
14853
|
+
mold_risk_level: {
|
|
14854
|
+
description: 'Mold risk level as reported by the device, if the device measures it.',
|
|
14855
|
+
type: 'string',
|
|
14856
|
+
'x-property-group-key': 'sensors',
|
|
14857
|
+
},
|
|
14858
|
+
noise_level_decibels: {
|
|
14859
|
+
description: 'Noise level in decibels, if the device measures noise.',
|
|
14860
|
+
format: 'float',
|
|
14861
|
+
type: 'number',
|
|
14862
|
+
'x-property-group-key': 'sensors',
|
|
14863
|
+
},
|
|
14864
|
+
noise_level_nrs: {
|
|
14865
|
+
description: 'Noise level as a Noise Risk Score (NRS), if the device reports one.',
|
|
14866
|
+
format: 'float',
|
|
14867
|
+
type: 'number',
|
|
14868
|
+
'x-property-group-key': 'sensors',
|
|
14869
|
+
},
|
|
14870
|
+
occupant_count: {
|
|
14871
|
+
description: 'Number of occupants the device detects, if the device counts occupants.',
|
|
14872
|
+
format: 'float',
|
|
14873
|
+
type: 'number',
|
|
14874
|
+
'x-property-group-key': 'sensors',
|
|
14875
|
+
},
|
|
14876
|
+
relative_humidity: {
|
|
14877
|
+
description: 'Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity.',
|
|
14878
|
+
format: 'float',
|
|
14879
|
+
maximum: 1,
|
|
14880
|
+
minimum: 0,
|
|
14881
|
+
type: 'number',
|
|
14882
|
+
'x-property-group-key': 'sensors',
|
|
14883
|
+
},
|
|
14884
|
+
sensor_name: {
|
|
14885
|
+
description: 'Stable, hardware-defined name of the sensor, such as a port number.',
|
|
14886
|
+
type: 'string',
|
|
14887
|
+
'x-property-group-key': 'sensors',
|
|
14888
|
+
},
|
|
14889
|
+
temperature_celsius: {
|
|
14890
|
+
description: 'Temperature in °C, if the device measures temperature.',
|
|
14891
|
+
format: 'float',
|
|
14892
|
+
type: 'number',
|
|
14893
|
+
'x-property-group-key': 'sensors',
|
|
14894
|
+
},
|
|
14895
|
+
temperature_fahrenheit: {
|
|
14896
|
+
description: 'Temperature in °F, if the device measures temperature.',
|
|
14897
|
+
format: 'float',
|
|
14898
|
+
type: 'number',
|
|
14899
|
+
'x-property-group-key': 'sensors',
|
|
14900
|
+
},
|
|
14901
|
+
},
|
|
14902
|
+
required: ['sensor_name', 'display_name'],
|
|
14903
|
+
type: 'object',
|
|
14904
|
+
'x-property-groups': { sensors: { name: 'Sensors' } },
|
|
14905
|
+
},
|
|
14906
|
+
type: 'array',
|
|
14907
|
+
'x-property-group-key': 'sensors',
|
|
14908
|
+
},
|
|
14777
14909
|
nickname: {
|
|
14778
14910
|
description: 'Optional nickname to describe the device, settable through Seam.',
|
|
14779
14911
|
type: 'string',
|
|
14780
14912
|
},
|
|
14913
|
+
noise_level_decibels: {
|
|
14914
|
+
description: 'Noise level in decibels, if the device measures noise.',
|
|
14915
|
+
format: 'float',
|
|
14916
|
+
type: 'number',
|
|
14917
|
+
'x-property-group-key': 'sensors',
|
|
14918
|
+
},
|
|
14919
|
+
noise_level_nrs: {
|
|
14920
|
+
description: 'Noise level as a Noise Risk Score (NRS), if the device reports one.',
|
|
14921
|
+
format: 'float',
|
|
14922
|
+
type: 'number',
|
|
14923
|
+
'x-property-group-key': 'sensors',
|
|
14924
|
+
},
|
|
14925
|
+
occupant_count: {
|
|
14926
|
+
description: 'Number of occupants the device detects, if the device counts occupants.',
|
|
14927
|
+
format: 'float',
|
|
14928
|
+
type: 'number',
|
|
14929
|
+
'x-property-group-key': 'sensors',
|
|
14930
|
+
},
|
|
14781
14931
|
properties: {
|
|
14782
14932
|
allOf: [
|
|
14783
14933
|
{
|
|
@@ -14811,13 +14961,6 @@ const openapi = {
|
|
|
14811
14961
|
type: 'object',
|
|
14812
14962
|
'x-property-group-key': 'hardware',
|
|
14813
14963
|
},
|
|
14814
|
-
air_quality_index: {
|
|
14815
|
-
description: 'Air quality index, if the device measures it. `null` until the first value arrives.',
|
|
14816
|
-
format: 'float',
|
|
14817
|
-
nullable: true,
|
|
14818
|
-
type: 'number',
|
|
14819
|
-
'x-property-group-key': 'sensors',
|
|
14820
|
-
},
|
|
14821
14964
|
appearance: {
|
|
14822
14965
|
description: 'Appearance-related properties, as reported by the device.',
|
|
14823
14966
|
properties: {
|
|
@@ -14858,20 +15001,6 @@ const openapi = {
|
|
|
14858
15001
|
type: 'number',
|
|
14859
15002
|
'x-property-group-key': 'hardware',
|
|
14860
15003
|
},
|
|
14861
|
-
co2_ppm: {
|
|
14862
|
-
description: 'Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
14863
|
-
format: 'float',
|
|
14864
|
-
nullable: true,
|
|
14865
|
-
type: 'number',
|
|
14866
|
-
'x-property-group-key': 'sensors',
|
|
14867
|
-
},
|
|
14868
|
-
co_ppm: {
|
|
14869
|
-
description: 'Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
14870
|
-
format: 'float',
|
|
14871
|
-
nullable: true,
|
|
14872
|
-
type: 'number',
|
|
14873
|
-
'x-property-group-key': 'sensors',
|
|
14874
|
-
},
|
|
14875
15004
|
currently_triggering_noise_threshold_ids: {
|
|
14876
15005
|
description: 'Array of noise threshold IDs that are currently triggering.',
|
|
14877
15006
|
items: { type: 'string' },
|
|
@@ -14894,18 +15023,6 @@ const openapi = {
|
|
|
14894
15023
|
type: 'string',
|
|
14895
15024
|
'x-property-group-key': 'hardware',
|
|
14896
15025
|
},
|
|
14897
|
-
is_occupied: {
|
|
14898
|
-
description: 'Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives.',
|
|
14899
|
-
nullable: true,
|
|
14900
|
-
type: 'boolean',
|
|
14901
|
-
'x-property-group-key': 'sensors',
|
|
14902
|
-
},
|
|
14903
|
-
is_smoking_detected: {
|
|
14904
|
-
description: 'Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives.',
|
|
14905
|
-
nullable: true,
|
|
14906
|
-
type: 'boolean',
|
|
14907
|
-
'x-property-group-key': 'sensors',
|
|
14908
|
-
},
|
|
14909
15026
|
manufacturer: {
|
|
14910
15027
|
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.',
|
|
14911
15028
|
type: 'string',
|
|
@@ -14952,147 +15069,18 @@ const openapi = {
|
|
|
14952
15069
|
],
|
|
14953
15070
|
type: 'object',
|
|
14954
15071
|
},
|
|
14955
|
-
mold_risk_level: {
|
|
14956
|
-
description: 'Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives.',
|
|
14957
|
-
nullable: true,
|
|
14958
|
-
type: 'string',
|
|
14959
|
-
'x-property-group-key': 'sensors',
|
|
14960
|
-
},
|
|
14961
15072
|
name: {
|
|
14962
15073
|
deprecated: true,
|
|
14963
15074
|
description: 'Name of the device.',
|
|
14964
15075
|
type: 'string',
|
|
14965
15076
|
'x-deprecated': 'use device.display_name instead',
|
|
14966
15077
|
},
|
|
14967
|
-
named_sensors: {
|
|
14968
|
-
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.',
|
|
14969
|
-
items: {
|
|
14970
|
-
description: 'A sensor on the device, with the same measurement fields as the device.',
|
|
14971
|
-
properties: {
|
|
14972
|
-
air_quality_index: {
|
|
14973
|
-
description: 'Air quality index, if the device measures it. `null` until the first value arrives.',
|
|
14974
|
-
format: 'float',
|
|
14975
|
-
nullable: true,
|
|
14976
|
-
type: 'number',
|
|
14977
|
-
'x-property-group-key': 'sensors',
|
|
14978
|
-
},
|
|
14979
|
-
co2_ppm: {
|
|
14980
|
-
description: 'Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
14981
|
-
format: 'float',
|
|
14982
|
-
nullable: true,
|
|
14983
|
-
type: 'number',
|
|
14984
|
-
'x-property-group-key': 'sensors',
|
|
14985
|
-
},
|
|
14986
|
-
co_ppm: {
|
|
14987
|
-
description: 'Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
14988
|
-
format: 'float',
|
|
14989
|
-
nullable: true,
|
|
14990
|
-
type: 'number',
|
|
14991
|
-
'x-property-group-key': 'sensors',
|
|
14992
|
-
},
|
|
14993
|
-
display_name: {
|
|
14994
|
-
description: 'Display name of the sensor. Defaults to `sensor_name`.',
|
|
14995
|
-
type: 'string',
|
|
14996
|
-
'x-property-group-key': 'sensors',
|
|
14997
|
-
},
|
|
14998
|
-
is_occupied: {
|
|
14999
|
-
description: 'Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives.',
|
|
15000
|
-
nullable: true,
|
|
15001
|
-
type: 'boolean',
|
|
15002
|
-
'x-property-group-key': 'sensors',
|
|
15003
|
-
},
|
|
15004
|
-
is_smoking_detected: {
|
|
15005
|
-
description: 'Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives.',
|
|
15006
|
-
nullable: true,
|
|
15007
|
-
type: 'boolean',
|
|
15008
|
-
'x-property-group-key': 'sensors',
|
|
15009
|
-
},
|
|
15010
|
-
mold_risk_level: {
|
|
15011
|
-
description: 'Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives.',
|
|
15012
|
-
nullable: true,
|
|
15013
|
-
type: 'string',
|
|
15014
|
-
'x-property-group-key': 'sensors',
|
|
15015
|
-
},
|
|
15016
|
-
noise_level_decibels: {
|
|
15017
|
-
description: 'Noise level in decibels. `null` until the first value arrives.',
|
|
15018
|
-
format: 'float',
|
|
15019
|
-
nullable: true,
|
|
15020
|
-
type: 'number',
|
|
15021
|
-
'x-property-group-key': 'sensors',
|
|
15022
|
-
},
|
|
15023
|
-
noise_level_nrs: {
|
|
15024
|
-
description: 'Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives.',
|
|
15025
|
-
format: 'float',
|
|
15026
|
-
nullable: true,
|
|
15027
|
-
type: 'number',
|
|
15028
|
-
'x-property-group-key': 'sensors',
|
|
15029
|
-
},
|
|
15030
|
-
occupant_count: {
|
|
15031
|
-
description: 'Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives.',
|
|
15032
|
-
format: 'float',
|
|
15033
|
-
nullable: true,
|
|
15034
|
-
type: 'number',
|
|
15035
|
-
'x-property-group-key': 'sensors',
|
|
15036
|
-
},
|
|
15037
|
-
relative_humidity: {
|
|
15038
|
-
description: 'Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives.',
|
|
15039
|
-
format: 'float',
|
|
15040
|
-
maximum: 1,
|
|
15041
|
-
minimum: 0,
|
|
15042
|
-
nullable: true,
|
|
15043
|
-
type: 'number',
|
|
15044
|
-
'x-property-group-key': 'sensors',
|
|
15045
|
-
},
|
|
15046
|
-
sensor_name: {
|
|
15047
|
-
description: 'Stable, hardware-defined name of the sensor, such as a port number.',
|
|
15048
|
-
type: 'string',
|
|
15049
|
-
'x-property-group-key': 'sensors',
|
|
15050
|
-
},
|
|
15051
|
-
temperature_celsius: {
|
|
15052
|
-
description: 'Reported temperature in °C. `null` until the first value arrives.',
|
|
15053
|
-
format: 'float',
|
|
15054
|
-
nullable: true,
|
|
15055
|
-
type: 'number',
|
|
15056
|
-
'x-property-group-key': 'sensors',
|
|
15057
|
-
},
|
|
15058
|
-
temperature_fahrenheit: {
|
|
15059
|
-
description: 'Reported temperature in °F. `null` until the first value arrives.',
|
|
15060
|
-
format: 'float',
|
|
15061
|
-
nullable: true,
|
|
15062
|
-
type: 'number',
|
|
15063
|
-
'x-property-group-key': 'sensors',
|
|
15064
|
-
},
|
|
15065
|
-
},
|
|
15066
|
-
required: ['sensor_name', 'display_name'],
|
|
15067
|
-
type: 'object',
|
|
15068
|
-
'x-property-groups': {
|
|
15069
|
-
sensors: { name: 'Sensors' },
|
|
15070
|
-
},
|
|
15071
|
-
},
|
|
15072
|
-
type: 'array',
|
|
15073
|
-
'x-property-group-key': 'sensors',
|
|
15074
|
-
},
|
|
15075
15078
|
noise_level_decibels: {
|
|
15076
15079
|
description: 'Indicates current noise level in decibels, if the device supports noise detection.',
|
|
15077
15080
|
format: 'float',
|
|
15078
|
-
nullable: true,
|
|
15079
15081
|
type: 'number',
|
|
15080
15082
|
'x-property-group-key': 'noise_sensors',
|
|
15081
15083
|
},
|
|
15082
|
-
noise_level_nrs: {
|
|
15083
|
-
description: 'Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives.',
|
|
15084
|
-
format: 'float',
|
|
15085
|
-
nullable: true,
|
|
15086
|
-
type: 'number',
|
|
15087
|
-
'x-property-group-key': 'sensors',
|
|
15088
|
-
},
|
|
15089
|
-
occupant_count: {
|
|
15090
|
-
description: 'Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives.',
|
|
15091
|
-
format: 'float',
|
|
15092
|
-
nullable: true,
|
|
15093
|
-
type: 'number',
|
|
15094
|
-
'x-property-group-key': 'sensors',
|
|
15095
|
-
},
|
|
15096
15084
|
offline_access_codes_enabled: {
|
|
15097
15085
|
deprecated: true,
|
|
15098
15086
|
description: 'Indicates whether it is currently possible to use offline access codes for the device.',
|
|
@@ -17574,21 +17562,18 @@ const openapi = {
|
|
|
17574
17562
|
format: 'float',
|
|
17575
17563
|
maximum: 1,
|
|
17576
17564
|
minimum: 0,
|
|
17577
|
-
nullable: true,
|
|
17578
17565
|
type: 'number',
|
|
17579
17566
|
'x-property-group-key': 'thermostats',
|
|
17580
17567
|
},
|
|
17581
17568
|
temperature_celsius: {
|
|
17582
17569
|
description: 'Reported temperature in °C.',
|
|
17583
17570
|
format: 'float',
|
|
17584
|
-
nullable: true,
|
|
17585
17571
|
type: 'number',
|
|
17586
17572
|
'x-property-group-key': 'thermostats',
|
|
17587
17573
|
},
|
|
17588
17574
|
temperature_fahrenheit: {
|
|
17589
17575
|
description: 'Reported temperature in °F.',
|
|
17590
17576
|
format: 'float',
|
|
17591
|
-
nullable: true,
|
|
17592
17577
|
type: 'number',
|
|
17593
17578
|
'x-property-group-key': 'thermostats',
|
|
17594
17579
|
},
|
|
@@ -17782,16 +17767,35 @@ const openapi = {
|
|
|
17782
17767
|
noise_sensors: { name: 'Noise Sensors' },
|
|
17783
17768
|
phones: { name: 'Phones' },
|
|
17784
17769
|
provider_metadata: { name: 'Provider Metadata' },
|
|
17785
|
-
sensors: { name: 'Sensors' },
|
|
17786
17770
|
speakers: { name: 'Speakers' },
|
|
17787
17771
|
thermostats: { name: 'Thermostats' },
|
|
17788
17772
|
},
|
|
17789
17773
|
},
|
|
17774
|
+
relative_humidity: {
|
|
17775
|
+
description: 'Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity.',
|
|
17776
|
+
format: 'float',
|
|
17777
|
+
maximum: 1,
|
|
17778
|
+
minimum: 0,
|
|
17779
|
+
type: 'number',
|
|
17780
|
+
'x-property-group-key': 'sensors',
|
|
17781
|
+
},
|
|
17790
17782
|
space_ids: {
|
|
17791
17783
|
description: 'IDs of the spaces the device is in.',
|
|
17792
17784
|
items: { format: 'uuid', type: 'string' },
|
|
17793
17785
|
type: 'array',
|
|
17794
17786
|
},
|
|
17787
|
+
temperature_celsius: {
|
|
17788
|
+
description: 'Temperature in °C, if the device measures temperature.',
|
|
17789
|
+
format: 'float',
|
|
17790
|
+
type: 'number',
|
|
17791
|
+
'x-property-group-key': 'sensors',
|
|
17792
|
+
},
|
|
17793
|
+
temperature_fahrenheit: {
|
|
17794
|
+
description: 'Temperature in °F, if the device measures temperature.',
|
|
17795
|
+
format: 'float',
|
|
17796
|
+
type: 'number',
|
|
17797
|
+
'x-property-group-key': 'sensors',
|
|
17798
|
+
},
|
|
17795
17799
|
warnings: {
|
|
17796
17800
|
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.',
|
|
17797
17801
|
items: {
|
|
@@ -18488,6 +18492,7 @@ const openapi = {
|
|
|
18488
18492
|
noise_sensors: { name: 'Noise Sensors' },
|
|
18489
18493
|
phones: { name: 'Phones' },
|
|
18490
18494
|
provider_metadata: { name: 'Provider Metadata' },
|
|
18495
|
+
sensors: { name: 'Sensors' },
|
|
18491
18496
|
speakers: { name: 'Speakers' },
|
|
18492
18497
|
thermostats: { name: 'Thermostats' },
|
|
18493
18498
|
},
|
|
@@ -48209,6 +48214,11 @@ const openapi = {
|
|
|
48209
48214
|
description: 'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
48210
48215
|
type: 'boolean',
|
|
48211
48216
|
},
|
|
48217
|
+
allow_bridge_replacement: {
|
|
48218
|
+
default: false,
|
|
48219
|
+
description: 'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
48220
|
+
type: 'boolean',
|
|
48221
|
+
},
|
|
48212
48222
|
allow_climate_automation_rule_customization: {
|
|
48213
48223
|
default: false,
|
|
48214
48224
|
description: 'Indicates whether the customer can customize the climate automation rules for their properties.',
|
|
@@ -56561,6 +56571,63 @@ const openapi = {
|
|
|
56561
56571
|
'x-undocumented': 'Internal endpoint for Console',
|
|
56562
56572
|
},
|
|
56563
56573
|
},
|
|
56574
|
+
'/seam/console/v1/connected_accounts/replace_bridge': {
|
|
56575
|
+
post: {
|
|
56576
|
+
description: "Moves a [connected account](https://www.seam.co/docs/core-concepts/connected-accounts) whose [Seam Bridge](https://www.seam.co/docs/capability-guides/seam-bridge) is disconnected onto a newly installed Seam Bridge, identified by the pairing code it shows. The connected account, its devices and its ID stay the same, and no provider sign-in is needed. Seam first checks that it can reach the provider through the new bridge. Only available for providers whose account doesn't depend on the bridge, such as Salto Space.",
|
|
56577
|
+
operationId: 'seamConsoleV1ConnectedAccountsReplaceBridgePost',
|
|
56578
|
+
requestBody: {
|
|
56579
|
+
content: {
|
|
56580
|
+
'application/json': {
|
|
56581
|
+
schema: {
|
|
56582
|
+
properties: {
|
|
56583
|
+
connected_account_id: {
|
|
56584
|
+
description: 'ID of the connected account whose Seam Bridge you want to replace.',
|
|
56585
|
+
format: 'uuid',
|
|
56586
|
+
type: 'string',
|
|
56587
|
+
},
|
|
56588
|
+
pairing_code: {
|
|
56589
|
+
description: 'Pairing code shown in the new Seam Bridge app.',
|
|
56590
|
+
minLength: 1,
|
|
56591
|
+
type: 'string',
|
|
56592
|
+
},
|
|
56593
|
+
},
|
|
56594
|
+
required: ['connected_account_id', 'pairing_code'],
|
|
56595
|
+
type: 'object',
|
|
56596
|
+
},
|
|
56597
|
+
},
|
|
56598
|
+
},
|
|
56599
|
+
},
|
|
56600
|
+
responses: {
|
|
56601
|
+
'200': {
|
|
56602
|
+
content: {
|
|
56603
|
+
'application/json': {
|
|
56604
|
+
schema: {
|
|
56605
|
+
properties: { ok: { type: 'boolean' } },
|
|
56606
|
+
required: ['ok'],
|
|
56607
|
+
type: 'object',
|
|
56608
|
+
},
|
|
56609
|
+
},
|
|
56610
|
+
},
|
|
56611
|
+
description: 'OK',
|
|
56612
|
+
},
|
|
56613
|
+
'400': { description: 'Bad Request' },
|
|
56614
|
+
'401': { description: 'Unauthorized' },
|
|
56615
|
+
},
|
|
56616
|
+
security: [{ console_session_with_workspace: [] }],
|
|
56617
|
+
summary: '/seam/console/v1/connected_accounts/replace_bridge',
|
|
56618
|
+
tags: ['/connected_accounts'],
|
|
56619
|
+
'x-fern-sdk-group-name': [
|
|
56620
|
+
'seam',
|
|
56621
|
+
'console',
|
|
56622
|
+
'v1',
|
|
56623
|
+
'connected_accounts',
|
|
56624
|
+
],
|
|
56625
|
+
'x-fern-sdk-method-name': 'replace_bridge',
|
|
56626
|
+
'x-response-key': null,
|
|
56627
|
+
'x-title': 'Replace the Seam Bridge of a Connected Account',
|
|
56628
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
56629
|
+
},
|
|
56630
|
+
},
|
|
56564
56631
|
'/seam/console/v1/credits/checkout/start': {
|
|
56565
56632
|
post: {
|
|
56566
56633
|
description: "Starts the Stripe Checkout for the first purchase of a monthly credit package, or replaces the organization's unfinished one.",
|
|
@@ -63169,6 +63236,63 @@ const openapi = {
|
|
|
63169
63236
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
63170
63237
|
},
|
|
63171
63238
|
},
|
|
63239
|
+
'/seam/customer/v1/connected_accounts/replace_bridge': {
|
|
63240
|
+
post: {
|
|
63241
|
+
description: "Moves one of the authenticated customer's connected accounts whose Seam Bridge is disconnected onto a newly installed Seam Bridge, identified by the pairing code it shows. No provider sign-in is needed. Requires a customer portal with `features.configure.allow_bridge_replacement` enabled.",
|
|
63242
|
+
operationId: 'seamCustomerV1ConnectedAccountsReplaceBridgePost',
|
|
63243
|
+
requestBody: {
|
|
63244
|
+
content: {
|
|
63245
|
+
'application/json': {
|
|
63246
|
+
schema: {
|
|
63247
|
+
properties: {
|
|
63248
|
+
connected_account_id: {
|
|
63249
|
+
description: 'ID of the connected account whose Seam Bridge you want to replace.',
|
|
63250
|
+
format: 'uuid',
|
|
63251
|
+
type: 'string',
|
|
63252
|
+
},
|
|
63253
|
+
pairing_code: {
|
|
63254
|
+
description: 'Pairing code shown in the new Seam Bridge app.',
|
|
63255
|
+
minLength: 1,
|
|
63256
|
+
type: 'string',
|
|
63257
|
+
},
|
|
63258
|
+
},
|
|
63259
|
+
required: ['connected_account_id', 'pairing_code'],
|
|
63260
|
+
type: 'object',
|
|
63261
|
+
},
|
|
63262
|
+
},
|
|
63263
|
+
},
|
|
63264
|
+
},
|
|
63265
|
+
responses: {
|
|
63266
|
+
'200': {
|
|
63267
|
+
content: {
|
|
63268
|
+
'application/json': {
|
|
63269
|
+
schema: {
|
|
63270
|
+
properties: { ok: { type: 'boolean' } },
|
|
63271
|
+
required: ['ok'],
|
|
63272
|
+
type: 'object',
|
|
63273
|
+
},
|
|
63274
|
+
},
|
|
63275
|
+
},
|
|
63276
|
+
description: 'OK',
|
|
63277
|
+
},
|
|
63278
|
+
'400': { description: 'Bad Request' },
|
|
63279
|
+
'401': { description: 'Unauthorized' },
|
|
63280
|
+
},
|
|
63281
|
+
security: [{ client_session_with_customer: [] }],
|
|
63282
|
+
summary: '/seam/customer/v1/connected_accounts/replace_bridge',
|
|
63283
|
+
tags: ['/connected_accounts'],
|
|
63284
|
+
'x-fern-sdk-group-name': [
|
|
63285
|
+
'seam',
|
|
63286
|
+
'customer',
|
|
63287
|
+
'v1',
|
|
63288
|
+
'connected_accounts',
|
|
63289
|
+
],
|
|
63290
|
+
'x-fern-sdk-method-name': 'replace_bridge',
|
|
63291
|
+
'x-response-key': null,
|
|
63292
|
+
'x-title': "Replace the Seam Bridge of a Customer's Connected Account",
|
|
63293
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
63294
|
+
},
|
|
63295
|
+
},
|
|
63172
63296
|
'/seam/customer/v1/connector_customers/list': {
|
|
63173
63297
|
get: {
|
|
63174
63298
|
description: 'Lists connector customers for a given connector.',
|
|
@@ -66015,6 +66139,11 @@ const openapi = {
|
|
|
66015
66139
|
description: 'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
66016
66140
|
type: 'boolean',
|
|
66017
66141
|
},
|
|
66142
|
+
allow_bridge_replacement: {
|
|
66143
|
+
default: false,
|
|
66144
|
+
description: 'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
66145
|
+
type: 'boolean',
|
|
66146
|
+
},
|
|
66018
66147
|
allow_climate_automation_rule_customization: {
|
|
66019
66148
|
default: false,
|
|
66020
66149
|
description: 'Indicates whether the customer can customize the climate automation rules for their properties.',
|
|
@@ -66460,6 +66589,11 @@ const openapi = {
|
|
|
66460
66589
|
description: 'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
66461
66590
|
type: 'boolean',
|
|
66462
66591
|
},
|
|
66592
|
+
allow_bridge_replacement: {
|
|
66593
|
+
default: false,
|
|
66594
|
+
description: 'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
66595
|
+
type: 'boolean',
|
|
66596
|
+
},
|
|
66463
66597
|
allow_climate_automation_rule_customization: {
|
|
66464
66598
|
default: false,
|
|
66465
66599
|
description: 'Indicates whether the customer can customize the climate automation rules for their properties.',
|
|
@@ -75485,6 +75619,11 @@ const openapi = {
|
|
|
75485
75619
|
description: 'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
75486
75620
|
type: 'boolean',
|
|
75487
75621
|
},
|
|
75622
|
+
allow_bridge_replacement: {
|
|
75623
|
+
default: false,
|
|
75624
|
+
description: 'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
75625
|
+
type: 'boolean',
|
|
75626
|
+
},
|
|
75488
75627
|
allow_climate_automation_rule_customization: {
|
|
75489
75628
|
default: false,
|
|
75490
75629
|
description: 'Indicates whether the customer can customize the climate automation rules for their properties.',
|
|
@@ -76128,6 +76267,11 @@ const openapi = {
|
|
|
76128
76267
|
description: 'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
76129
76268
|
type: 'boolean',
|
|
76130
76269
|
},
|
|
76270
|
+
allow_bridge_replacement: {
|
|
76271
|
+
default: false,
|
|
76272
|
+
description: 'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
76273
|
+
type: 'boolean',
|
|
76274
|
+
},
|
|
76131
76275
|
allow_climate_automation_rule_customization: {
|
|
76132
76276
|
default: false,
|
|
76133
76277
|
description: 'Indicates whether the customer can customize the climate automation rules for their properties.',
|