@seamapi/types 1.274.0 → 1.275.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/dist/connect.cjs +202 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +455 -2
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +28 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +28 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +8 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +40 -0
- package/lib/seam/connect/models/devices/phone.d.ts +28 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -0
- package/lib/seam/connect/models/events/devices.d.ts +180 -0
- package/lib/seam/connect/models/events/devices.js +24 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +88 -0
- package/lib/seam/connect/openapi.d.ts +198 -0
- package/lib/seam/connect/openapi.js +168 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +101 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +8 -0
- package/src/lib/seam/connect/models/events/devices.ts +38 -0
- package/src/lib/seam/connect/openapi.ts +168 -0
- package/src/lib/seam/connect/route-types.ts +173 -0
|
@@ -6147,6 +6147,17 @@ export interface Routes {
|
|
|
6147
6147
|
max_heating_set_point_fahrenheit?: number | undefined
|
|
6148
6148
|
min_heating_cooling_delta_celsius?: number | undefined
|
|
6149
6149
|
min_heating_cooling_delta_fahrenheit?: number | undefined
|
|
6150
|
+
temperature_threshold?:
|
|
6151
|
+
| (
|
|
6152
|
+
| {
|
|
6153
|
+
lower_limit_celsius: number | null
|
|
6154
|
+
lower_limit_fahrenheit: number | null
|
|
6155
|
+
upper_limit_celsius: number | null
|
|
6156
|
+
upper_limit_fahrenheit: number | null
|
|
6157
|
+
}
|
|
6158
|
+
| undefined
|
|
6159
|
+
)
|
|
6160
|
+
| undefined
|
|
6150
6161
|
})
|
|
6151
6162
|
/** Location information for the device. */
|
|
6152
6163
|
location: {
|
|
@@ -10969,6 +10980,17 @@ export interface Routes {
|
|
|
10969
10980
|
max_heating_set_point_fahrenheit?: number | undefined
|
|
10970
10981
|
min_heating_cooling_delta_celsius?: number | undefined
|
|
10971
10982
|
min_heating_cooling_delta_fahrenheit?: number | undefined
|
|
10983
|
+
temperature_threshold?:
|
|
10984
|
+
| (
|
|
10985
|
+
| {
|
|
10986
|
+
lower_limit_celsius: number | null
|
|
10987
|
+
lower_limit_fahrenheit: number | null
|
|
10988
|
+
upper_limit_celsius: number | null
|
|
10989
|
+
upper_limit_fahrenheit: number | null
|
|
10990
|
+
}
|
|
10991
|
+
| undefined
|
|
10992
|
+
)
|
|
10993
|
+
| undefined
|
|
10972
10994
|
})
|
|
10973
10995
|
/** Location information for the device. */
|
|
10974
10996
|
location: {
|
|
@@ -11769,6 +11791,17 @@ export interface Routes {
|
|
|
11769
11791
|
max_heating_set_point_fahrenheit?: number | undefined
|
|
11770
11792
|
min_heating_cooling_delta_celsius?: number | undefined
|
|
11771
11793
|
min_heating_cooling_delta_fahrenheit?: number | undefined
|
|
11794
|
+
temperature_threshold?:
|
|
11795
|
+
| (
|
|
11796
|
+
| {
|
|
11797
|
+
lower_limit_celsius: number | null
|
|
11798
|
+
lower_limit_fahrenheit: number | null
|
|
11799
|
+
upper_limit_celsius: number | null
|
|
11800
|
+
upper_limit_fahrenheit: number | null
|
|
11801
|
+
}
|
|
11802
|
+
| undefined
|
|
11803
|
+
)
|
|
11804
|
+
| undefined
|
|
11772
11805
|
})
|
|
11773
11806
|
/** Location information for the device. */
|
|
11774
11807
|
location: {
|
|
@@ -12572,6 +12605,8 @@ export interface Routes {
|
|
|
12572
12605
|
| 'action_attempt.unlock_door.failed'
|
|
12573
12606
|
| 'thermostat.climate_preset_activated'
|
|
12574
12607
|
| 'thermostat.manually_adjusted'
|
|
12608
|
+
| 'thermostat.temperature_threshold_exceeded'
|
|
12609
|
+
| 'thermostat.temperature_threshold_no_longer_exceeded'
|
|
12575
12610
|
)
|
|
12576
12611
|
| undefined
|
|
12577
12612
|
event_types?:
|
|
@@ -12642,6 +12677,8 @@ export interface Routes {
|
|
|
12642
12677
|
| 'action_attempt.unlock_door.failed'
|
|
12643
12678
|
| 'thermostat.climate_preset_activated'
|
|
12644
12679
|
| 'thermostat.manually_adjusted'
|
|
12680
|
+
| 'thermostat.temperature_threshold_exceeded'
|
|
12681
|
+
| 'thermostat.temperature_threshold_no_longer_exceeded'
|
|
12645
12682
|
>
|
|
12646
12683
|
| undefined
|
|
12647
12684
|
connected_account_id?: string | undefined
|
|
@@ -13270,6 +13307,17 @@ export interface Routes {
|
|
|
13270
13307
|
max_heating_set_point_fahrenheit?: number | undefined
|
|
13271
13308
|
min_heating_cooling_delta_celsius?: number | undefined
|
|
13272
13309
|
min_heating_cooling_delta_fahrenheit?: number | undefined
|
|
13310
|
+
temperature_threshold?:
|
|
13311
|
+
| (
|
|
13312
|
+
| {
|
|
13313
|
+
lower_limit_celsius: number | null
|
|
13314
|
+
lower_limit_fahrenheit: number | null
|
|
13315
|
+
upper_limit_celsius: number | null
|
|
13316
|
+
upper_limit_fahrenheit: number | null
|
|
13317
|
+
}
|
|
13318
|
+
| undefined
|
|
13319
|
+
)
|
|
13320
|
+
| undefined
|
|
13273
13321
|
})
|
|
13274
13322
|
/** Location information for the device. */
|
|
13275
13323
|
location: {
|
|
@@ -13899,6 +13947,17 @@ export interface Routes {
|
|
|
13899
13947
|
max_heating_set_point_fahrenheit?: number | undefined
|
|
13900
13948
|
min_heating_cooling_delta_celsius?: number | undefined
|
|
13901
13949
|
min_heating_cooling_delta_fahrenheit?: number | undefined
|
|
13950
|
+
temperature_threshold?:
|
|
13951
|
+
| (
|
|
13952
|
+
| {
|
|
13953
|
+
lower_limit_celsius: number | null
|
|
13954
|
+
lower_limit_fahrenheit: number | null
|
|
13955
|
+
upper_limit_celsius: number | null
|
|
13956
|
+
upper_limit_fahrenheit: number | null
|
|
13957
|
+
}
|
|
13958
|
+
| undefined
|
|
13959
|
+
)
|
|
13960
|
+
| undefined
|
|
13902
13961
|
})
|
|
13903
13962
|
/** Location information for the device. */
|
|
13904
13963
|
location: {
|
|
@@ -14699,6 +14758,17 @@ export interface Routes {
|
|
|
14699
14758
|
max_heating_set_point_fahrenheit?: number | undefined
|
|
14700
14759
|
min_heating_cooling_delta_celsius?: number | undefined
|
|
14701
14760
|
min_heating_cooling_delta_fahrenheit?: number | undefined
|
|
14761
|
+
temperature_threshold?:
|
|
14762
|
+
| (
|
|
14763
|
+
| {
|
|
14764
|
+
lower_limit_celsius: number | null
|
|
14765
|
+
lower_limit_fahrenheit: number | null
|
|
14766
|
+
upper_limit_celsius: number | null
|
|
14767
|
+
upper_limit_fahrenheit: number | null
|
|
14768
|
+
}
|
|
14769
|
+
| undefined
|
|
14770
|
+
)
|
|
14771
|
+
| undefined
|
|
14702
14772
|
})
|
|
14703
14773
|
/** Location information for the device. */
|
|
14704
14774
|
location: {
|
|
@@ -15328,6 +15398,17 @@ export interface Routes {
|
|
|
15328
15398
|
max_heating_set_point_fahrenheit?: number | undefined
|
|
15329
15399
|
min_heating_cooling_delta_celsius?: number | undefined
|
|
15330
15400
|
min_heating_cooling_delta_fahrenheit?: number | undefined
|
|
15401
|
+
temperature_threshold?:
|
|
15402
|
+
| (
|
|
15403
|
+
| {
|
|
15404
|
+
lower_limit_celsius: number | null
|
|
15405
|
+
lower_limit_fahrenheit: number | null
|
|
15406
|
+
upper_limit_celsius: number | null
|
|
15407
|
+
upper_limit_fahrenheit: number | null
|
|
15408
|
+
}
|
|
15409
|
+
| undefined
|
|
15410
|
+
)
|
|
15411
|
+
| undefined
|
|
15331
15412
|
})
|
|
15332
15413
|
/** Location information for the device. */
|
|
15333
15414
|
location: {
|
|
@@ -17686,6 +17767,17 @@ export interface Routes {
|
|
|
17686
17767
|
max_heating_set_point_fahrenheit?: number | undefined
|
|
17687
17768
|
min_heating_cooling_delta_celsius?: number | undefined
|
|
17688
17769
|
min_heating_cooling_delta_fahrenheit?: number | undefined
|
|
17770
|
+
temperature_threshold?:
|
|
17771
|
+
| (
|
|
17772
|
+
| {
|
|
17773
|
+
lower_limit_celsius: number | null
|
|
17774
|
+
lower_limit_fahrenheit: number | null
|
|
17775
|
+
upper_limit_celsius: number | null
|
|
17776
|
+
upper_limit_fahrenheit: number | null
|
|
17777
|
+
}
|
|
17778
|
+
| undefined
|
|
17779
|
+
)
|
|
17780
|
+
| undefined
|
|
17689
17781
|
})
|
|
17690
17782
|
/** Location information for the device. */
|
|
17691
17783
|
location: {
|
|
@@ -18315,6 +18407,17 @@ export interface Routes {
|
|
|
18315
18407
|
max_heating_set_point_fahrenheit?: number | undefined
|
|
18316
18408
|
min_heating_cooling_delta_celsius?: number | undefined
|
|
18317
18409
|
min_heating_cooling_delta_fahrenheit?: number | undefined
|
|
18410
|
+
temperature_threshold?:
|
|
18411
|
+
| (
|
|
18412
|
+
| {
|
|
18413
|
+
lower_limit_celsius: number | null
|
|
18414
|
+
lower_limit_fahrenheit: number | null
|
|
18415
|
+
upper_limit_celsius: number | null
|
|
18416
|
+
upper_limit_fahrenheit: number | null
|
|
18417
|
+
}
|
|
18418
|
+
| undefined
|
|
18419
|
+
)
|
|
18420
|
+
| undefined
|
|
18318
18421
|
})
|
|
18319
18422
|
/** Location information for the device. */
|
|
18320
18423
|
location: {
|
|
@@ -23071,6 +23174,17 @@ export interface Routes {
|
|
|
23071
23174
|
max_heating_set_point_fahrenheit?: number | undefined
|
|
23072
23175
|
min_heating_cooling_delta_celsius?: number | undefined
|
|
23073
23176
|
min_heating_cooling_delta_fahrenheit?: number | undefined
|
|
23177
|
+
temperature_threshold?:
|
|
23178
|
+
| (
|
|
23179
|
+
| {
|
|
23180
|
+
lower_limit_celsius: number | null
|
|
23181
|
+
lower_limit_fahrenheit: number | null
|
|
23182
|
+
upper_limit_celsius: number | null
|
|
23183
|
+
upper_limit_fahrenheit: number | null
|
|
23184
|
+
}
|
|
23185
|
+
| undefined
|
|
23186
|
+
)
|
|
23187
|
+
| undefined
|
|
23074
23188
|
})
|
|
23075
23189
|
/** Location information for the device. */
|
|
23076
23190
|
location: {
|
|
@@ -25401,6 +25515,17 @@ export interface Routes {
|
|
|
25401
25515
|
max_heating_set_point_fahrenheit?: number | undefined
|
|
25402
25516
|
min_heating_cooling_delta_celsius?: number | undefined
|
|
25403
25517
|
min_heating_cooling_delta_fahrenheit?: number | undefined
|
|
25518
|
+
temperature_threshold?:
|
|
25519
|
+
| (
|
|
25520
|
+
| {
|
|
25521
|
+
lower_limit_celsius: number | null
|
|
25522
|
+
lower_limit_fahrenheit: number | null
|
|
25523
|
+
upper_limit_celsius: number | null
|
|
25524
|
+
upper_limit_fahrenheit: number | null
|
|
25525
|
+
}
|
|
25526
|
+
| undefined
|
|
25527
|
+
)
|
|
25528
|
+
| undefined
|
|
25404
25529
|
})
|
|
25405
25530
|
/** Location information for the device. */
|
|
25406
25531
|
location: {
|
|
@@ -26030,6 +26155,17 @@ export interface Routes {
|
|
|
26030
26155
|
max_heating_set_point_fahrenheit?: number | undefined
|
|
26031
26156
|
min_heating_cooling_delta_celsius?: number | undefined
|
|
26032
26157
|
min_heating_cooling_delta_fahrenheit?: number | undefined
|
|
26158
|
+
temperature_threshold?:
|
|
26159
|
+
| (
|
|
26160
|
+
| {
|
|
26161
|
+
lower_limit_celsius: number | null
|
|
26162
|
+
lower_limit_fahrenheit: number | null
|
|
26163
|
+
upper_limit_celsius: number | null
|
|
26164
|
+
upper_limit_fahrenheit: number | null
|
|
26165
|
+
}
|
|
26166
|
+
| undefined
|
|
26167
|
+
)
|
|
26168
|
+
| undefined
|
|
26033
26169
|
})
|
|
26034
26170
|
/** Location information for the device. */
|
|
26035
26171
|
location: {
|
|
@@ -27724,6 +27860,21 @@ export interface Routes {
|
|
|
27724
27860
|
}
|
|
27725
27861
|
}
|
|
27726
27862
|
}
|
|
27863
|
+
'/thermostats/set_temperature_threshold': {
|
|
27864
|
+
route: '/thermostats/set_temperature_threshold'
|
|
27865
|
+
method: 'POST' | 'PATCH'
|
|
27866
|
+
queryParams: {}
|
|
27867
|
+
jsonBody: {
|
|
27868
|
+
device_id: string
|
|
27869
|
+
lower_limit_celsius?: (number | undefined) | null
|
|
27870
|
+
lower_limit_fahrenheit?: (number | undefined) | null
|
|
27871
|
+
upper_limit_celsius?: (number | undefined) | null
|
|
27872
|
+
upper_limit_fahrenheit?: (number | undefined) | null
|
|
27873
|
+
}
|
|
27874
|
+
commonParams: {}
|
|
27875
|
+
formData: {}
|
|
27876
|
+
jsonResponse: {}
|
|
27877
|
+
}
|
|
27727
27878
|
'/thermostats/update_climate_preset': {
|
|
27728
27879
|
route: '/thermostats/update_climate_preset'
|
|
27729
27880
|
method: 'POST' | 'PATCH'
|
|
@@ -28517,6 +28668,17 @@ export interface Routes {
|
|
|
28517
28668
|
max_heating_set_point_fahrenheit?: number | undefined
|
|
28518
28669
|
min_heating_cooling_delta_celsius?: number | undefined
|
|
28519
28670
|
min_heating_cooling_delta_fahrenheit?: number | undefined
|
|
28671
|
+
temperature_threshold?:
|
|
28672
|
+
| (
|
|
28673
|
+
| {
|
|
28674
|
+
lower_limit_celsius: number | null
|
|
28675
|
+
lower_limit_fahrenheit: number | null
|
|
28676
|
+
upper_limit_celsius: number | null
|
|
28677
|
+
upper_limit_fahrenheit: number | null
|
|
28678
|
+
}
|
|
28679
|
+
| undefined
|
|
28680
|
+
)
|
|
28681
|
+
| undefined
|
|
28520
28682
|
})
|
|
28521
28683
|
/** Location information for the device. */
|
|
28522
28684
|
location: {
|
|
@@ -29148,6 +29310,17 @@ export interface Routes {
|
|
|
29148
29310
|
max_heating_set_point_fahrenheit?: number | undefined
|
|
29149
29311
|
min_heating_cooling_delta_celsius?: number | undefined
|
|
29150
29312
|
min_heating_cooling_delta_fahrenheit?: number | undefined
|
|
29313
|
+
temperature_threshold?:
|
|
29314
|
+
| (
|
|
29315
|
+
| {
|
|
29316
|
+
lower_limit_celsius: number | null
|
|
29317
|
+
lower_limit_fahrenheit: number | null
|
|
29318
|
+
upper_limit_celsius: number | null
|
|
29319
|
+
upper_limit_fahrenheit: number | null
|
|
29320
|
+
}
|
|
29321
|
+
| undefined
|
|
29322
|
+
)
|
|
29323
|
+
| undefined
|
|
29151
29324
|
})
|
|
29152
29325
|
/** Location information for the device. */
|
|
29153
29326
|
location: {
|