@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
|
@@ -15172,6 +15172,12 @@ const openapi: OpenAPISpec = {
|
|
|
15172
15172
|
'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
15173
15173
|
type: 'boolean',
|
|
15174
15174
|
},
|
|
15175
|
+
allow_bridge_replacement: {
|
|
15176
|
+
default: false,
|
|
15177
|
+
description:
|
|
15178
|
+
'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
15179
|
+
type: 'boolean',
|
|
15180
|
+
},
|
|
15175
15181
|
allow_climate_automation_rule_customization: {
|
|
15176
15182
|
default: false,
|
|
15177
15183
|
description:
|
|
@@ -15701,6 +15707,12 @@ const openapi: OpenAPISpec = {
|
|
|
15701
15707
|
description:
|
|
15702
15708
|
'Represents a [device](https://www.seam.co/docs/core-concepts/devices) that has been connected to Seam.',
|
|
15703
15709
|
properties: {
|
|
15710
|
+
air_quality_index: {
|
|
15711
|
+
description: 'Air quality index, if the device measures it.',
|
|
15712
|
+
format: 'float',
|
|
15713
|
+
type: 'number',
|
|
15714
|
+
'x-property-group-key': 'sensors',
|
|
15715
|
+
},
|
|
15704
15716
|
can_activate_weekly_program: {
|
|
15705
15717
|
description:
|
|
15706
15718
|
'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.',
|
|
@@ -15872,6 +15884,20 @@ const openapi: OpenAPISpec = {
|
|
|
15872
15884
|
},
|
|
15873
15885
|
type: 'array',
|
|
15874
15886
|
},
|
|
15887
|
+
co2_ppm: {
|
|
15888
|
+
description:
|
|
15889
|
+
'Carbon dioxide concentration in parts per million, if the device measures it.',
|
|
15890
|
+
format: 'float',
|
|
15891
|
+
type: 'number',
|
|
15892
|
+
'x-property-group-key': 'sensors',
|
|
15893
|
+
},
|
|
15894
|
+
co_ppm: {
|
|
15895
|
+
description:
|
|
15896
|
+
'Carbon monoxide concentration in parts per million, if the device measures it.',
|
|
15897
|
+
format: 'float',
|
|
15898
|
+
type: 'number',
|
|
15899
|
+
'x-property-group-key': 'sensors',
|
|
15900
|
+
},
|
|
15875
15901
|
connected_account_id: {
|
|
15876
15902
|
description:
|
|
15877
15903
|
'Unique identifier for the account associated with the device.',
|
|
@@ -16623,6 +16649,18 @@ const openapi: OpenAPISpec = {
|
|
|
16623
16649
|
enum: [true],
|
|
16624
16650
|
type: 'boolean',
|
|
16625
16651
|
},
|
|
16652
|
+
is_occupied: {
|
|
16653
|
+
description:
|
|
16654
|
+
'Indicates whether the device detects that the space is occupied, if the device measures occupancy.',
|
|
16655
|
+
type: 'boolean',
|
|
16656
|
+
'x-property-group-key': 'sensors',
|
|
16657
|
+
},
|
|
16658
|
+
is_smoking_detected: {
|
|
16659
|
+
description:
|
|
16660
|
+
'Indicates whether the device detects smoking, if the device measures it.',
|
|
16661
|
+
type: 'boolean',
|
|
16662
|
+
'x-property-group-key': 'sensors',
|
|
16663
|
+
},
|
|
16626
16664
|
location: {
|
|
16627
16665
|
description: 'Location information for the device.',
|
|
16628
16666
|
properties: {
|
|
@@ -16649,11 +16687,147 @@ const openapi: OpenAPISpec = {
|
|
|
16649
16687
|
type: 'object',
|
|
16650
16688
|
'x-property-group-key': 'hardware',
|
|
16651
16689
|
},
|
|
16690
|
+
mold_risk_level: {
|
|
16691
|
+
description:
|
|
16692
|
+
'Mold risk level as reported by the device, if the device measures it.',
|
|
16693
|
+
type: 'string',
|
|
16694
|
+
'x-property-group-key': 'sensors',
|
|
16695
|
+
},
|
|
16696
|
+
named_sensors: {
|
|
16697
|
+
description:
|
|
16698
|
+
'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.',
|
|
16699
|
+
items: {
|
|
16700
|
+
description:
|
|
16701
|
+
'A sensor on the device, with the same measurement fields as the device.',
|
|
16702
|
+
properties: {
|
|
16703
|
+
air_quality_index: {
|
|
16704
|
+
description: 'Air quality index, if the device measures it.',
|
|
16705
|
+
format: 'float',
|
|
16706
|
+
type: 'number',
|
|
16707
|
+
'x-property-group-key': 'sensors',
|
|
16708
|
+
},
|
|
16709
|
+
co2_ppm: {
|
|
16710
|
+
description:
|
|
16711
|
+
'Carbon dioxide concentration in parts per million, if the device measures it.',
|
|
16712
|
+
format: 'float',
|
|
16713
|
+
type: 'number',
|
|
16714
|
+
'x-property-group-key': 'sensors',
|
|
16715
|
+
},
|
|
16716
|
+
co_ppm: {
|
|
16717
|
+
description:
|
|
16718
|
+
'Carbon monoxide concentration in parts per million, if the device measures it.',
|
|
16719
|
+
format: 'float',
|
|
16720
|
+
type: 'number',
|
|
16721
|
+
'x-property-group-key': 'sensors',
|
|
16722
|
+
},
|
|
16723
|
+
display_name: {
|
|
16724
|
+
description:
|
|
16725
|
+
'Display name of the sensor. Defaults to `sensor_name`.',
|
|
16726
|
+
type: 'string',
|
|
16727
|
+
'x-property-group-key': 'sensors',
|
|
16728
|
+
},
|
|
16729
|
+
is_occupied: {
|
|
16730
|
+
description:
|
|
16731
|
+
'Indicates whether the device detects that the space is occupied, if the device measures occupancy.',
|
|
16732
|
+
type: 'boolean',
|
|
16733
|
+
'x-property-group-key': 'sensors',
|
|
16734
|
+
},
|
|
16735
|
+
is_smoking_detected: {
|
|
16736
|
+
description:
|
|
16737
|
+
'Indicates whether the device detects smoking, if the device measures it.',
|
|
16738
|
+
type: 'boolean',
|
|
16739
|
+
'x-property-group-key': 'sensors',
|
|
16740
|
+
},
|
|
16741
|
+
mold_risk_level: {
|
|
16742
|
+
description:
|
|
16743
|
+
'Mold risk level as reported by the device, if the device measures it.',
|
|
16744
|
+
type: 'string',
|
|
16745
|
+
'x-property-group-key': 'sensors',
|
|
16746
|
+
},
|
|
16747
|
+
noise_level_decibels: {
|
|
16748
|
+
description:
|
|
16749
|
+
'Noise level in decibels, if the device measures noise.',
|
|
16750
|
+
format: 'float',
|
|
16751
|
+
type: 'number',
|
|
16752
|
+
'x-property-group-key': 'sensors',
|
|
16753
|
+
},
|
|
16754
|
+
noise_level_nrs: {
|
|
16755
|
+
description:
|
|
16756
|
+
'Noise level as a Noise Risk Score (NRS), if the device reports one.',
|
|
16757
|
+
format: 'float',
|
|
16758
|
+
type: 'number',
|
|
16759
|
+
'x-property-group-key': 'sensors',
|
|
16760
|
+
},
|
|
16761
|
+
occupant_count: {
|
|
16762
|
+
description:
|
|
16763
|
+
'Number of occupants the device detects, if the device counts occupants.',
|
|
16764
|
+
format: 'float',
|
|
16765
|
+
type: 'number',
|
|
16766
|
+
'x-property-group-key': 'sensors',
|
|
16767
|
+
},
|
|
16768
|
+
relative_humidity: {
|
|
16769
|
+
description:
|
|
16770
|
+
'Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity.',
|
|
16771
|
+
format: 'float',
|
|
16772
|
+
maximum: 1,
|
|
16773
|
+
minimum: 0,
|
|
16774
|
+
type: 'number',
|
|
16775
|
+
'x-property-group-key': 'sensors',
|
|
16776
|
+
},
|
|
16777
|
+
sensor_name: {
|
|
16778
|
+
description:
|
|
16779
|
+
'Stable, hardware-defined name of the sensor, such as a port number.',
|
|
16780
|
+
type: 'string',
|
|
16781
|
+
'x-property-group-key': 'sensors',
|
|
16782
|
+
},
|
|
16783
|
+
temperature_celsius: {
|
|
16784
|
+
description:
|
|
16785
|
+
'Temperature in °C, if the device measures temperature.',
|
|
16786
|
+
format: 'float',
|
|
16787
|
+
type: 'number',
|
|
16788
|
+
'x-property-group-key': 'sensors',
|
|
16789
|
+
},
|
|
16790
|
+
temperature_fahrenheit: {
|
|
16791
|
+
description:
|
|
16792
|
+
'Temperature in °F, if the device measures temperature.',
|
|
16793
|
+
format: 'float',
|
|
16794
|
+
type: 'number',
|
|
16795
|
+
'x-property-group-key': 'sensors',
|
|
16796
|
+
},
|
|
16797
|
+
},
|
|
16798
|
+
required: ['sensor_name', 'display_name'],
|
|
16799
|
+
type: 'object',
|
|
16800
|
+
'x-property-groups': { sensors: { name: 'Sensors' } },
|
|
16801
|
+
},
|
|
16802
|
+
type: 'array',
|
|
16803
|
+
'x-property-group-key': 'sensors',
|
|
16804
|
+
},
|
|
16652
16805
|
nickname: {
|
|
16653
16806
|
description:
|
|
16654
16807
|
'Optional nickname to describe the device, settable through Seam.',
|
|
16655
16808
|
type: 'string',
|
|
16656
16809
|
},
|
|
16810
|
+
noise_level_decibels: {
|
|
16811
|
+
description:
|
|
16812
|
+
'Noise level in decibels, if the device measures noise.',
|
|
16813
|
+
format: 'float',
|
|
16814
|
+
type: 'number',
|
|
16815
|
+
'x-property-group-key': 'sensors',
|
|
16816
|
+
},
|
|
16817
|
+
noise_level_nrs: {
|
|
16818
|
+
description:
|
|
16819
|
+
'Noise level as a Noise Risk Score (NRS), if the device reports one.',
|
|
16820
|
+
format: 'float',
|
|
16821
|
+
type: 'number',
|
|
16822
|
+
'x-property-group-key': 'sensors',
|
|
16823
|
+
},
|
|
16824
|
+
occupant_count: {
|
|
16825
|
+
description:
|
|
16826
|
+
'Number of occupants the device detects, if the device counts occupants.',
|
|
16827
|
+
format: 'float',
|
|
16828
|
+
type: 'number',
|
|
16829
|
+
'x-property-group-key': 'sensors',
|
|
16830
|
+
},
|
|
16657
16831
|
properties: {
|
|
16658
16832
|
allOf: [
|
|
16659
16833
|
{
|
|
@@ -16690,14 +16864,6 @@ const openapi: OpenAPISpec = {
|
|
|
16690
16864
|
type: 'object',
|
|
16691
16865
|
'x-property-group-key': 'hardware',
|
|
16692
16866
|
},
|
|
16693
|
-
air_quality_index: {
|
|
16694
|
-
description:
|
|
16695
|
-
'Air quality index, if the device measures it. `null` until the first value arrives.',
|
|
16696
|
-
format: 'float',
|
|
16697
|
-
nullable: true,
|
|
16698
|
-
type: 'number',
|
|
16699
|
-
'x-property-group-key': 'sensors',
|
|
16700
|
-
},
|
|
16701
16867
|
appearance: {
|
|
16702
16868
|
description:
|
|
16703
16869
|
'Appearance-related properties, as reported by the device.',
|
|
@@ -16744,22 +16910,6 @@ const openapi: OpenAPISpec = {
|
|
|
16744
16910
|
type: 'number',
|
|
16745
16911
|
'x-property-group-key': 'hardware',
|
|
16746
16912
|
},
|
|
16747
|
-
co2_ppm: {
|
|
16748
|
-
description:
|
|
16749
|
-
'Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
16750
|
-
format: 'float',
|
|
16751
|
-
nullable: true,
|
|
16752
|
-
type: 'number',
|
|
16753
|
-
'x-property-group-key': 'sensors',
|
|
16754
|
-
},
|
|
16755
|
-
co_ppm: {
|
|
16756
|
-
description:
|
|
16757
|
-
'Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
16758
|
-
format: 'float',
|
|
16759
|
-
nullable: true,
|
|
16760
|
-
type: 'number',
|
|
16761
|
-
'x-property-group-key': 'sensors',
|
|
16762
|
-
},
|
|
16763
16913
|
currently_triggering_noise_threshold_ids: {
|
|
16764
16914
|
description:
|
|
16765
16915
|
'Array of noise threshold IDs that are currently triggering.',
|
|
@@ -16784,20 +16934,6 @@ const openapi: OpenAPISpec = {
|
|
|
16784
16934
|
type: 'string',
|
|
16785
16935
|
'x-property-group-key': 'hardware',
|
|
16786
16936
|
},
|
|
16787
|
-
is_occupied: {
|
|
16788
|
-
description:
|
|
16789
|
-
'Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives.',
|
|
16790
|
-
nullable: true,
|
|
16791
|
-
type: 'boolean',
|
|
16792
|
-
'x-property-group-key': 'sensors',
|
|
16793
|
-
},
|
|
16794
|
-
is_smoking_detected: {
|
|
16795
|
-
description:
|
|
16796
|
-
'Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives.',
|
|
16797
|
-
nullable: true,
|
|
16798
|
-
type: 'boolean',
|
|
16799
|
-
'x-property-group-key': 'sensors',
|
|
16800
|
-
},
|
|
16801
16937
|
manufacturer: {
|
|
16802
16938
|
description:
|
|
16803
16939
|
'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.',
|
|
@@ -16852,167 +16988,19 @@ const openapi: OpenAPISpec = {
|
|
|
16852
16988
|
],
|
|
16853
16989
|
type: 'object',
|
|
16854
16990
|
},
|
|
16855
|
-
mold_risk_level: {
|
|
16856
|
-
description:
|
|
16857
|
-
'Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives.',
|
|
16858
|
-
nullable: true,
|
|
16859
|
-
type: 'string',
|
|
16860
|
-
'x-property-group-key': 'sensors',
|
|
16861
|
-
},
|
|
16862
16991
|
name: {
|
|
16863
16992
|
deprecated: true,
|
|
16864
16993
|
description: 'Name of the device.',
|
|
16865
16994
|
type: 'string',
|
|
16866
16995
|
'x-deprecated': 'use device.display_name instead',
|
|
16867
16996
|
},
|
|
16868
|
-
named_sensors: {
|
|
16869
|
-
description:
|
|
16870
|
-
'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.',
|
|
16871
|
-
items: {
|
|
16872
|
-
description:
|
|
16873
|
-
'A sensor on the device, with the same measurement fields as the device.',
|
|
16874
|
-
properties: {
|
|
16875
|
-
air_quality_index: {
|
|
16876
|
-
description:
|
|
16877
|
-
'Air quality index, if the device measures it. `null` until the first value arrives.',
|
|
16878
|
-
format: 'float',
|
|
16879
|
-
nullable: true,
|
|
16880
|
-
type: 'number',
|
|
16881
|
-
'x-property-group-key': 'sensors',
|
|
16882
|
-
},
|
|
16883
|
-
co2_ppm: {
|
|
16884
|
-
description:
|
|
16885
|
-
'Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
16886
|
-
format: 'float',
|
|
16887
|
-
nullable: true,
|
|
16888
|
-
type: 'number',
|
|
16889
|
-
'x-property-group-key': 'sensors',
|
|
16890
|
-
},
|
|
16891
|
-
co_ppm: {
|
|
16892
|
-
description:
|
|
16893
|
-
'Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
16894
|
-
format: 'float',
|
|
16895
|
-
nullable: true,
|
|
16896
|
-
type: 'number',
|
|
16897
|
-
'x-property-group-key': 'sensors',
|
|
16898
|
-
},
|
|
16899
|
-
display_name: {
|
|
16900
|
-
description:
|
|
16901
|
-
'Display name of the sensor. Defaults to `sensor_name`.',
|
|
16902
|
-
type: 'string',
|
|
16903
|
-
'x-property-group-key': 'sensors',
|
|
16904
|
-
},
|
|
16905
|
-
is_occupied: {
|
|
16906
|
-
description:
|
|
16907
|
-
'Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives.',
|
|
16908
|
-
nullable: true,
|
|
16909
|
-
type: 'boolean',
|
|
16910
|
-
'x-property-group-key': 'sensors',
|
|
16911
|
-
},
|
|
16912
|
-
is_smoking_detected: {
|
|
16913
|
-
description:
|
|
16914
|
-
'Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives.',
|
|
16915
|
-
nullable: true,
|
|
16916
|
-
type: 'boolean',
|
|
16917
|
-
'x-property-group-key': 'sensors',
|
|
16918
|
-
},
|
|
16919
|
-
mold_risk_level: {
|
|
16920
|
-
description:
|
|
16921
|
-
'Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives.',
|
|
16922
|
-
nullable: true,
|
|
16923
|
-
type: 'string',
|
|
16924
|
-
'x-property-group-key': 'sensors',
|
|
16925
|
-
},
|
|
16926
|
-
noise_level_decibels: {
|
|
16927
|
-
description:
|
|
16928
|
-
'Noise level in decibels. `null` until the first value arrives.',
|
|
16929
|
-
format: 'float',
|
|
16930
|
-
nullable: true,
|
|
16931
|
-
type: 'number',
|
|
16932
|
-
'x-property-group-key': 'sensors',
|
|
16933
|
-
},
|
|
16934
|
-
noise_level_nrs: {
|
|
16935
|
-
description:
|
|
16936
|
-
'Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives.',
|
|
16937
|
-
format: 'float',
|
|
16938
|
-
nullable: true,
|
|
16939
|
-
type: 'number',
|
|
16940
|
-
'x-property-group-key': 'sensors',
|
|
16941
|
-
},
|
|
16942
|
-
occupant_count: {
|
|
16943
|
-
description:
|
|
16944
|
-
'Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives.',
|
|
16945
|
-
format: 'float',
|
|
16946
|
-
nullable: true,
|
|
16947
|
-
type: 'number',
|
|
16948
|
-
'x-property-group-key': 'sensors',
|
|
16949
|
-
},
|
|
16950
|
-
relative_humidity: {
|
|
16951
|
-
description:
|
|
16952
|
-
'Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives.',
|
|
16953
|
-
format: 'float',
|
|
16954
|
-
maximum: 1,
|
|
16955
|
-
minimum: 0,
|
|
16956
|
-
nullable: true,
|
|
16957
|
-
type: 'number',
|
|
16958
|
-
'x-property-group-key': 'sensors',
|
|
16959
|
-
},
|
|
16960
|
-
sensor_name: {
|
|
16961
|
-
description:
|
|
16962
|
-
'Stable, hardware-defined name of the sensor, such as a port number.',
|
|
16963
|
-
type: 'string',
|
|
16964
|
-
'x-property-group-key': 'sensors',
|
|
16965
|
-
},
|
|
16966
|
-
temperature_celsius: {
|
|
16967
|
-
description:
|
|
16968
|
-
'Reported temperature in °C. `null` until the first value arrives.',
|
|
16969
|
-
format: 'float',
|
|
16970
|
-
nullable: true,
|
|
16971
|
-
type: 'number',
|
|
16972
|
-
'x-property-group-key': 'sensors',
|
|
16973
|
-
},
|
|
16974
|
-
temperature_fahrenheit: {
|
|
16975
|
-
description:
|
|
16976
|
-
'Reported temperature in °F. `null` until the first value arrives.',
|
|
16977
|
-
format: 'float',
|
|
16978
|
-
nullable: true,
|
|
16979
|
-
type: 'number',
|
|
16980
|
-
'x-property-group-key': 'sensors',
|
|
16981
|
-
},
|
|
16982
|
-
},
|
|
16983
|
-
required: ['sensor_name', 'display_name'],
|
|
16984
|
-
type: 'object',
|
|
16985
|
-
'x-property-groups': {
|
|
16986
|
-
sensors: { name: 'Sensors' },
|
|
16987
|
-
},
|
|
16988
|
-
},
|
|
16989
|
-
type: 'array',
|
|
16990
|
-
'x-property-group-key': 'sensors',
|
|
16991
|
-
},
|
|
16992
16997
|
noise_level_decibels: {
|
|
16993
16998
|
description:
|
|
16994
16999
|
'Indicates current noise level in decibels, if the device supports noise detection.',
|
|
16995
17000
|
format: 'float',
|
|
16996
|
-
nullable: true,
|
|
16997
17001
|
type: 'number',
|
|
16998
17002
|
'x-property-group-key': 'noise_sensors',
|
|
16999
17003
|
},
|
|
17000
|
-
noise_level_nrs: {
|
|
17001
|
-
description:
|
|
17002
|
-
'Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives.',
|
|
17003
|
-
format: 'float',
|
|
17004
|
-
nullable: true,
|
|
17005
|
-
type: 'number',
|
|
17006
|
-
'x-property-group-key': 'sensors',
|
|
17007
|
-
},
|
|
17008
|
-
occupant_count: {
|
|
17009
|
-
description:
|
|
17010
|
-
'Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives.',
|
|
17011
|
-
format: 'float',
|
|
17012
|
-
nullable: true,
|
|
17013
|
-
type: 'number',
|
|
17014
|
-
'x-property-group-key': 'sensors',
|
|
17015
|
-
},
|
|
17016
17004
|
offline_access_codes_enabled: {
|
|
17017
17005
|
deprecated: true,
|
|
17018
17006
|
description:
|
|
@@ -19814,21 +19802,18 @@ const openapi: OpenAPISpec = {
|
|
|
19814
19802
|
format: 'float',
|
|
19815
19803
|
maximum: 1,
|
|
19816
19804
|
minimum: 0,
|
|
19817
|
-
nullable: true,
|
|
19818
19805
|
type: 'number',
|
|
19819
19806
|
'x-property-group-key': 'thermostats',
|
|
19820
19807
|
},
|
|
19821
19808
|
temperature_celsius: {
|
|
19822
19809
|
description: 'Reported temperature in °C.',
|
|
19823
19810
|
format: 'float',
|
|
19824
|
-
nullable: true,
|
|
19825
19811
|
type: 'number',
|
|
19826
19812
|
'x-property-group-key': 'thermostats',
|
|
19827
19813
|
},
|
|
19828
19814
|
temperature_fahrenheit: {
|
|
19829
19815
|
description: 'Reported temperature in °F.',
|
|
19830
19816
|
format: 'float',
|
|
19831
|
-
nullable: true,
|
|
19832
19817
|
type: 'number',
|
|
19833
19818
|
'x-property-group-key': 'thermostats',
|
|
19834
19819
|
},
|
|
@@ -20049,16 +20034,38 @@ const openapi: OpenAPISpec = {
|
|
|
20049
20034
|
noise_sensors: { name: 'Noise Sensors' },
|
|
20050
20035
|
phones: { name: 'Phones' },
|
|
20051
20036
|
provider_metadata: { name: 'Provider Metadata' },
|
|
20052
|
-
sensors: { name: 'Sensors' },
|
|
20053
20037
|
speakers: { name: 'Speakers' },
|
|
20054
20038
|
thermostats: { name: 'Thermostats' },
|
|
20055
20039
|
},
|
|
20056
20040
|
},
|
|
20041
|
+
relative_humidity: {
|
|
20042
|
+
description:
|
|
20043
|
+
'Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity.',
|
|
20044
|
+
format: 'float',
|
|
20045
|
+
maximum: 1,
|
|
20046
|
+
minimum: 0,
|
|
20047
|
+
type: 'number',
|
|
20048
|
+
'x-property-group-key': 'sensors',
|
|
20049
|
+
},
|
|
20057
20050
|
space_ids: {
|
|
20058
20051
|
description: 'IDs of the spaces the device is in.',
|
|
20059
20052
|
items: { format: 'uuid', type: 'string' },
|
|
20060
20053
|
type: 'array',
|
|
20061
20054
|
},
|
|
20055
|
+
temperature_celsius: {
|
|
20056
|
+
description:
|
|
20057
|
+
'Temperature in °C, if the device measures temperature.',
|
|
20058
|
+
format: 'float',
|
|
20059
|
+
type: 'number',
|
|
20060
|
+
'x-property-group-key': 'sensors',
|
|
20061
|
+
},
|
|
20062
|
+
temperature_fahrenheit: {
|
|
20063
|
+
description:
|
|
20064
|
+
'Temperature in °F, if the device measures temperature.',
|
|
20065
|
+
format: 'float',
|
|
20066
|
+
type: 'number',
|
|
20067
|
+
'x-property-group-key': 'sensors',
|
|
20068
|
+
},
|
|
20062
20069
|
warnings: {
|
|
20063
20070
|
description:
|
|
20064
20071
|
'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.',
|
|
@@ -20874,6 +20881,7 @@ const openapi: OpenAPISpec = {
|
|
|
20874
20881
|
noise_sensors: { name: 'Noise Sensors' },
|
|
20875
20882
|
phones: { name: 'Phones' },
|
|
20876
20883
|
provider_metadata: { name: 'Provider Metadata' },
|
|
20884
|
+
sensors: { name: 'Sensors' },
|
|
20877
20885
|
speakers: { name: 'Speakers' },
|
|
20878
20886
|
thermostats: { name: 'Thermostats' },
|
|
20879
20887
|
},
|
|
@@ -53424,6 +53432,12 @@ const openapi: OpenAPISpec = {
|
|
|
53424
53432
|
'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
53425
53433
|
type: 'boolean',
|
|
53426
53434
|
},
|
|
53435
|
+
allow_bridge_replacement: {
|
|
53436
|
+
default: false,
|
|
53437
|
+
description:
|
|
53438
|
+
'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
53439
|
+
type: 'boolean',
|
|
53440
|
+
},
|
|
53427
53441
|
allow_climate_automation_rule_customization: {
|
|
53428
53442
|
default: false,
|
|
53429
53443
|
description:
|
|
@@ -62278,6 +62292,66 @@ const openapi: OpenAPISpec = {
|
|
|
62278
62292
|
'x-undocumented': 'Internal endpoint for Console',
|
|
62279
62293
|
},
|
|
62280
62294
|
},
|
|
62295
|
+
'/seam/console/v1/connected_accounts/replace_bridge': {
|
|
62296
|
+
post: {
|
|
62297
|
+
description:
|
|
62298
|
+
"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.",
|
|
62299
|
+
operationId: 'seamConsoleV1ConnectedAccountsReplaceBridgePost',
|
|
62300
|
+
requestBody: {
|
|
62301
|
+
content: {
|
|
62302
|
+
'application/json': {
|
|
62303
|
+
schema: {
|
|
62304
|
+
properties: {
|
|
62305
|
+
connected_account_id: {
|
|
62306
|
+
description:
|
|
62307
|
+
'ID of the connected account whose Seam Bridge you want to replace.',
|
|
62308
|
+
format: 'uuid',
|
|
62309
|
+
type: 'string',
|
|
62310
|
+
},
|
|
62311
|
+
pairing_code: {
|
|
62312
|
+
description:
|
|
62313
|
+
'Pairing code shown in the new Seam Bridge app.',
|
|
62314
|
+
minLength: 1,
|
|
62315
|
+
type: 'string',
|
|
62316
|
+
},
|
|
62317
|
+
},
|
|
62318
|
+
required: ['connected_account_id', 'pairing_code'],
|
|
62319
|
+
type: 'object',
|
|
62320
|
+
},
|
|
62321
|
+
},
|
|
62322
|
+
},
|
|
62323
|
+
},
|
|
62324
|
+
responses: {
|
|
62325
|
+
'200': {
|
|
62326
|
+
content: {
|
|
62327
|
+
'application/json': {
|
|
62328
|
+
schema: {
|
|
62329
|
+
properties: { ok: { type: 'boolean' } },
|
|
62330
|
+
required: ['ok'],
|
|
62331
|
+
type: 'object',
|
|
62332
|
+
},
|
|
62333
|
+
},
|
|
62334
|
+
},
|
|
62335
|
+
description: 'OK',
|
|
62336
|
+
},
|
|
62337
|
+
'400': { description: 'Bad Request' },
|
|
62338
|
+
'401': { description: 'Unauthorized' },
|
|
62339
|
+
},
|
|
62340
|
+
security: [{ console_session_with_workspace: [] }],
|
|
62341
|
+
summary: '/seam/console/v1/connected_accounts/replace_bridge',
|
|
62342
|
+
tags: ['/connected_accounts'],
|
|
62343
|
+
'x-fern-sdk-group-name': [
|
|
62344
|
+
'seam',
|
|
62345
|
+
'console',
|
|
62346
|
+
'v1',
|
|
62347
|
+
'connected_accounts',
|
|
62348
|
+
],
|
|
62349
|
+
'x-fern-sdk-method-name': 'replace_bridge',
|
|
62350
|
+
'x-response-key': null,
|
|
62351
|
+
'x-title': 'Replace the Seam Bridge of a Connected Account',
|
|
62352
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
62353
|
+
},
|
|
62354
|
+
},
|
|
62281
62355
|
'/seam/console/v1/credits/checkout/start': {
|
|
62282
62356
|
post: {
|
|
62283
62357
|
description:
|
|
@@ -69002,6 +69076,66 @@ const openapi: OpenAPISpec = {
|
|
|
69002
69076
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
69003
69077
|
},
|
|
69004
69078
|
},
|
|
69079
|
+
'/seam/customer/v1/connected_accounts/replace_bridge': {
|
|
69080
|
+
post: {
|
|
69081
|
+
description:
|
|
69082
|
+
"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.",
|
|
69083
|
+
operationId: 'seamCustomerV1ConnectedAccountsReplaceBridgePost',
|
|
69084
|
+
requestBody: {
|
|
69085
|
+
content: {
|
|
69086
|
+
'application/json': {
|
|
69087
|
+
schema: {
|
|
69088
|
+
properties: {
|
|
69089
|
+
connected_account_id: {
|
|
69090
|
+
description:
|
|
69091
|
+
'ID of the connected account whose Seam Bridge you want to replace.',
|
|
69092
|
+
format: 'uuid',
|
|
69093
|
+
type: 'string',
|
|
69094
|
+
},
|
|
69095
|
+
pairing_code: {
|
|
69096
|
+
description:
|
|
69097
|
+
'Pairing code shown in the new Seam Bridge app.',
|
|
69098
|
+
minLength: 1,
|
|
69099
|
+
type: 'string',
|
|
69100
|
+
},
|
|
69101
|
+
},
|
|
69102
|
+
required: ['connected_account_id', 'pairing_code'],
|
|
69103
|
+
type: 'object',
|
|
69104
|
+
},
|
|
69105
|
+
},
|
|
69106
|
+
},
|
|
69107
|
+
},
|
|
69108
|
+
responses: {
|
|
69109
|
+
'200': {
|
|
69110
|
+
content: {
|
|
69111
|
+
'application/json': {
|
|
69112
|
+
schema: {
|
|
69113
|
+
properties: { ok: { type: 'boolean' } },
|
|
69114
|
+
required: ['ok'],
|
|
69115
|
+
type: 'object',
|
|
69116
|
+
},
|
|
69117
|
+
},
|
|
69118
|
+
},
|
|
69119
|
+
description: 'OK',
|
|
69120
|
+
},
|
|
69121
|
+
'400': { description: 'Bad Request' },
|
|
69122
|
+
'401': { description: 'Unauthorized' },
|
|
69123
|
+
},
|
|
69124
|
+
security: [{ client_session_with_customer: [] }],
|
|
69125
|
+
summary: '/seam/customer/v1/connected_accounts/replace_bridge',
|
|
69126
|
+
tags: ['/connected_accounts'],
|
|
69127
|
+
'x-fern-sdk-group-name': [
|
|
69128
|
+
'seam',
|
|
69129
|
+
'customer',
|
|
69130
|
+
'v1',
|
|
69131
|
+
'connected_accounts',
|
|
69132
|
+
],
|
|
69133
|
+
'x-fern-sdk-method-name': 'replace_bridge',
|
|
69134
|
+
'x-response-key': null,
|
|
69135
|
+
'x-title': "Replace the Seam Bridge of a Customer's Connected Account",
|
|
69136
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
69137
|
+
},
|
|
69138
|
+
},
|
|
69005
69139
|
'/seam/customer/v1/connector_customers/list': {
|
|
69006
69140
|
get: {
|
|
69007
69141
|
description: 'Lists connector customers for a given connector.',
|
|
@@ -71927,6 +72061,12 @@ const openapi: OpenAPISpec = {
|
|
|
71927
72061
|
'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
71928
72062
|
type: 'boolean',
|
|
71929
72063
|
},
|
|
72064
|
+
allow_bridge_replacement: {
|
|
72065
|
+
default: false,
|
|
72066
|
+
description:
|
|
72067
|
+
'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
72068
|
+
type: 'boolean',
|
|
72069
|
+
},
|
|
71930
72070
|
allow_climate_automation_rule_customization: {
|
|
71931
72071
|
default: false,
|
|
71932
72072
|
description:
|
|
@@ -72415,6 +72555,12 @@ const openapi: OpenAPISpec = {
|
|
|
72415
72555
|
'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
72416
72556
|
type: 'boolean',
|
|
72417
72557
|
},
|
|
72558
|
+
allow_bridge_replacement: {
|
|
72559
|
+
default: false,
|
|
72560
|
+
description:
|
|
72561
|
+
'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
72562
|
+
type: 'boolean',
|
|
72563
|
+
},
|
|
72418
72564
|
allow_climate_automation_rule_customization: {
|
|
72419
72565
|
default: false,
|
|
72420
72566
|
description:
|
|
@@ -81923,6 +82069,12 @@ const openapi: OpenAPISpec = {
|
|
|
81923
82069
|
'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
81924
82070
|
type: 'boolean',
|
|
81925
82071
|
},
|
|
82072
|
+
allow_bridge_replacement: {
|
|
82073
|
+
default: false,
|
|
82074
|
+
description:
|
|
82075
|
+
'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
82076
|
+
type: 'boolean',
|
|
82077
|
+
},
|
|
81926
82078
|
allow_climate_automation_rule_customization: {
|
|
81927
82079
|
default: false,
|
|
81928
82080
|
description:
|
|
@@ -82604,6 +82756,12 @@ const openapi: OpenAPISpec = {
|
|
|
82604
82756
|
'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
82605
82757
|
type: 'boolean',
|
|
82606
82758
|
},
|
|
82759
|
+
allow_bridge_replacement: {
|
|
82760
|
+
default: false,
|
|
82761
|
+
description:
|
|
82762
|
+
'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
82763
|
+
type: 'boolean',
|
|
82764
|
+
},
|
|
82607
82765
|
allow_climate_automation_rule_customization: {
|
|
82608
82766
|
default: false,
|
|
82609
82767
|
description:
|