@seamapi/types 1.1209.2 → 1.1211.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/events/devices.d.ts +307 -12
- package/lib/seam/connect/models/events/devices.js +70 -1
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +151 -7
- package/lib/seam/connect/openapi.js +293 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +506 -16
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +106 -1
- package/src/lib/seam/connect/openapi.ts +321 -0
- package/src/lib/seam/connect/route-types.ts +593 -0
|
@@ -69909,6 +69909,7 @@ export type Routes = {
|
|
|
69909
69909
|
| 'account_disconnected'
|
|
69910
69910
|
| 'hub_disconnected'
|
|
69911
69911
|
| 'device_disconnected'
|
|
69912
|
+
| 'bridge_disconnected'
|
|
69912
69913
|
/** Errors associated with the connected account. */
|
|
69913
69914
|
connected_account_errors: {
|
|
69914
69915
|
/** Date and time at which Seam created the error. */
|
|
@@ -69981,6 +69982,7 @@ export type Routes = {
|
|
|
69981
69982
|
| 'account_disconnected'
|
|
69982
69983
|
| 'hub_disconnected'
|
|
69983
69984
|
| 'device_disconnected'
|
|
69985
|
+
| 'bridge_disconnected'
|
|
69984
69986
|
/** Errors associated with the connected account. */
|
|
69985
69987
|
connected_account_errors: {
|
|
69986
69988
|
/** Date and time at which Seam created the error. */
|
|
@@ -71185,6 +71187,119 @@ export type Routes = {
|
|
|
71185
71187
|
/** Temperature, in °F, reported by the affected thermostat. */
|
|
71186
71188
|
temperature_fahrenheit: number
|
|
71187
71189
|
}
|
|
71190
|
+
| {
|
|
71191
|
+
/** ID of the event. */
|
|
71192
|
+
event_id: string
|
|
71193
|
+
/** ID of the workspace associated with the event. */
|
|
71194
|
+
workspace_id: string
|
|
71195
|
+
/** Date and time at which the event was created. */
|
|
71196
|
+
created_at: string
|
|
71197
|
+
/** Date and time at which the event occurred. */
|
|
71198
|
+
occurred_at: string
|
|
71199
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
71200
|
+
event_description?: string | undefined
|
|
71201
|
+
/** ID of the affected device. */
|
|
71202
|
+
device_id: string
|
|
71203
|
+
/** ID of the connected account associated with the event. */
|
|
71204
|
+
connected_account_id: string
|
|
71205
|
+
/** The customer key associated with the device, if any. */
|
|
71206
|
+
customer_key?: string | undefined
|
|
71207
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
71208
|
+
device_custom_metadata?:
|
|
71209
|
+
| {
|
|
71210
|
+
[x: string]: string | boolean
|
|
71211
|
+
}
|
|
71212
|
+
| undefined
|
|
71213
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
71214
|
+
connected_account_custom_metadata?:
|
|
71215
|
+
| {
|
|
71216
|
+
[x: string]: string | boolean
|
|
71217
|
+
}
|
|
71218
|
+
| undefined
|
|
71219
|
+
event_type: 'pool.temperature_changed'
|
|
71220
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
71221
|
+
temperature_celsius: number
|
|
71222
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
71223
|
+
temperature_fahrenheit: number
|
|
71224
|
+
}
|
|
71225
|
+
| {
|
|
71226
|
+
/** ID of the event. */
|
|
71227
|
+
event_id: string
|
|
71228
|
+
/** ID of the workspace associated with the event. */
|
|
71229
|
+
workspace_id: string
|
|
71230
|
+
/** Date and time at which the event was created. */
|
|
71231
|
+
created_at: string
|
|
71232
|
+
/** Date and time at which the event occurred. */
|
|
71233
|
+
occurred_at: string
|
|
71234
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
71235
|
+
event_description?: string | undefined
|
|
71236
|
+
/** ID of the affected device. */
|
|
71237
|
+
device_id: string
|
|
71238
|
+
/** ID of the connected account associated with the event. */
|
|
71239
|
+
connected_account_id: string
|
|
71240
|
+
/** The customer key associated with the device, if any. */
|
|
71241
|
+
customer_key?: string | undefined
|
|
71242
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
71243
|
+
device_custom_metadata?:
|
|
71244
|
+
| {
|
|
71245
|
+
[x: string]: string | boolean
|
|
71246
|
+
}
|
|
71247
|
+
| undefined
|
|
71248
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
71249
|
+
connected_account_custom_metadata?:
|
|
71250
|
+
| {
|
|
71251
|
+
[x: string]: string | boolean
|
|
71252
|
+
}
|
|
71253
|
+
| undefined
|
|
71254
|
+
event_type: 'pool.temperature_reached_set_point'
|
|
71255
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
71256
|
+
temperature_celsius: number
|
|
71257
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
71258
|
+
temperature_fahrenheit: number
|
|
71259
|
+
/** Desired water temperature, in °C, defined by the heating set point of the affected pool or spa. */
|
|
71260
|
+
desired_temperature_celsius: number
|
|
71261
|
+
/** Desired water temperature, in °F, defined by the heating set point of the affected pool or spa. */
|
|
71262
|
+
desired_temperature_fahrenheit: number
|
|
71263
|
+
}
|
|
71264
|
+
| {
|
|
71265
|
+
/** ID of the event. */
|
|
71266
|
+
event_id: string
|
|
71267
|
+
/** ID of the workspace associated with the event. */
|
|
71268
|
+
workspace_id: string
|
|
71269
|
+
/** Date and time at which the event was created. */
|
|
71270
|
+
created_at: string
|
|
71271
|
+
/** Date and time at which the event occurred. */
|
|
71272
|
+
occurred_at: string
|
|
71273
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
71274
|
+
event_description?: string | undefined
|
|
71275
|
+
/** ID of the affected device. */
|
|
71276
|
+
device_id: string
|
|
71277
|
+
/** ID of the connected account associated with the event. */
|
|
71278
|
+
connected_account_id: string
|
|
71279
|
+
/** The customer key associated with the device, if any. */
|
|
71280
|
+
customer_key?: string | undefined
|
|
71281
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
71282
|
+
device_custom_metadata?:
|
|
71283
|
+
| {
|
|
71284
|
+
[x: string]: string | boolean
|
|
71285
|
+
}
|
|
71286
|
+
| undefined
|
|
71287
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
71288
|
+
connected_account_custom_metadata?:
|
|
71289
|
+
| {
|
|
71290
|
+
[x: string]: string | boolean
|
|
71291
|
+
}
|
|
71292
|
+
| undefined
|
|
71293
|
+
event_type: 'pool.manually_adjusted'
|
|
71294
|
+
/** Method used to adjust the affected pool or spa. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used. `external` indicates a change made outside Seam, such as in the manufacturer's app or on the controller panel. */
|
|
71295
|
+
method: 'seam' | 'external'
|
|
71296
|
+
/** New heating mode of the affected pool or spa. Present only if the mode changed. */
|
|
71297
|
+
controller_mode?: ('heat' | 'off') | undefined
|
|
71298
|
+
/** New heating set point, in °C, of the affected pool or spa. Present only if the set point changed. */
|
|
71299
|
+
heating_set_point_celsius?: number | undefined
|
|
71300
|
+
/** New heating set point, in °F, of the affected pool or spa. Present only if the set point changed. */
|
|
71301
|
+
heating_set_point_fahrenheit?: number | undefined
|
|
71302
|
+
}
|
|
71188
71303
|
| {
|
|
71189
71304
|
/** ID of the event. */
|
|
71190
71305
|
event_id: string
|
|
@@ -71543,6 +71658,9 @@ export type Routes = {
|
|
|
71543
71658
|
| 'thermostat.temperature_threshold_no_longer_exceeded'
|
|
71544
71659
|
| 'thermostat.temperature_reached_set_point'
|
|
71545
71660
|
| 'thermostat.temperature_changed'
|
|
71661
|
+
| 'pool.temperature_changed'
|
|
71662
|
+
| 'pool.temperature_reached_set_point'
|
|
71663
|
+
| 'pool.manually_adjusted'
|
|
71546
71664
|
| 'device.name_changed'
|
|
71547
71665
|
| 'camera.activated'
|
|
71548
71666
|
| 'device.doorbell_rang'
|
|
@@ -71665,6 +71783,9 @@ export type Routes = {
|
|
|
71665
71783
|
| 'thermostat.temperature_threshold_no_longer_exceeded'
|
|
71666
71784
|
| 'thermostat.temperature_reached_set_point'
|
|
71667
71785
|
| 'thermostat.temperature_changed'
|
|
71786
|
+
| 'pool.temperature_changed'
|
|
71787
|
+
| 'pool.temperature_reached_set_point'
|
|
71788
|
+
| 'pool.manually_adjusted'
|
|
71668
71789
|
| 'device.name_changed'
|
|
71669
71790
|
| 'camera.activated'
|
|
71670
71791
|
| 'device.doorbell_rang'
|
|
@@ -74309,6 +74430,7 @@ export type Routes = {
|
|
|
74309
74430
|
| 'account_disconnected'
|
|
74310
74431
|
| 'hub_disconnected'
|
|
74311
74432
|
| 'device_disconnected'
|
|
74433
|
+
| 'bridge_disconnected'
|
|
74312
74434
|
/** Errors associated with the connected account. */
|
|
74313
74435
|
connected_account_errors: {
|
|
74314
74436
|
/** Date and time at which Seam created the error. */
|
|
@@ -74381,6 +74503,7 @@ export type Routes = {
|
|
|
74381
74503
|
| 'account_disconnected'
|
|
74382
74504
|
| 'hub_disconnected'
|
|
74383
74505
|
| 'device_disconnected'
|
|
74506
|
+
| 'bridge_disconnected'
|
|
74384
74507
|
/** Errors associated with the connected account. */
|
|
74385
74508
|
connected_account_errors: {
|
|
74386
74509
|
/** Date and time at which Seam created the error. */
|
|
@@ -75582,6 +75705,119 @@ export type Routes = {
|
|
|
75582
75705
|
/** Temperature, in °F, reported by the affected thermostat. */
|
|
75583
75706
|
temperature_fahrenheit: number
|
|
75584
75707
|
}
|
|
75708
|
+
| {
|
|
75709
|
+
/** ID of the event. */
|
|
75710
|
+
event_id: string
|
|
75711
|
+
/** ID of the workspace associated with the event. */
|
|
75712
|
+
workspace_id: string
|
|
75713
|
+
/** Date and time at which the event was created. */
|
|
75714
|
+
created_at: string
|
|
75715
|
+
/** Date and time at which the event occurred. */
|
|
75716
|
+
occurred_at: string
|
|
75717
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
75718
|
+
event_description?: string | undefined
|
|
75719
|
+
/** ID of the affected device. */
|
|
75720
|
+
device_id: string
|
|
75721
|
+
/** ID of the connected account associated with the event. */
|
|
75722
|
+
connected_account_id: string
|
|
75723
|
+
/** The customer key associated with the device, if any. */
|
|
75724
|
+
customer_key?: string | undefined
|
|
75725
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
75726
|
+
device_custom_metadata?:
|
|
75727
|
+
| {
|
|
75728
|
+
[x: string]: string | boolean
|
|
75729
|
+
}
|
|
75730
|
+
| undefined
|
|
75731
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
75732
|
+
connected_account_custom_metadata?:
|
|
75733
|
+
| {
|
|
75734
|
+
[x: string]: string | boolean
|
|
75735
|
+
}
|
|
75736
|
+
| undefined
|
|
75737
|
+
event_type: 'pool.temperature_changed'
|
|
75738
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
75739
|
+
temperature_celsius: number
|
|
75740
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
75741
|
+
temperature_fahrenheit: number
|
|
75742
|
+
}
|
|
75743
|
+
| {
|
|
75744
|
+
/** ID of the event. */
|
|
75745
|
+
event_id: string
|
|
75746
|
+
/** ID of the workspace associated with the event. */
|
|
75747
|
+
workspace_id: string
|
|
75748
|
+
/** Date and time at which the event was created. */
|
|
75749
|
+
created_at: string
|
|
75750
|
+
/** Date and time at which the event occurred. */
|
|
75751
|
+
occurred_at: string
|
|
75752
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
75753
|
+
event_description?: string | undefined
|
|
75754
|
+
/** ID of the affected device. */
|
|
75755
|
+
device_id: string
|
|
75756
|
+
/** ID of the connected account associated with the event. */
|
|
75757
|
+
connected_account_id: string
|
|
75758
|
+
/** The customer key associated with the device, if any. */
|
|
75759
|
+
customer_key?: string | undefined
|
|
75760
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
75761
|
+
device_custom_metadata?:
|
|
75762
|
+
| {
|
|
75763
|
+
[x: string]: string | boolean
|
|
75764
|
+
}
|
|
75765
|
+
| undefined
|
|
75766
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
75767
|
+
connected_account_custom_metadata?:
|
|
75768
|
+
| {
|
|
75769
|
+
[x: string]: string | boolean
|
|
75770
|
+
}
|
|
75771
|
+
| undefined
|
|
75772
|
+
event_type: 'pool.temperature_reached_set_point'
|
|
75773
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
75774
|
+
temperature_celsius: number
|
|
75775
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
75776
|
+
temperature_fahrenheit: number
|
|
75777
|
+
/** Desired water temperature, in °C, defined by the heating set point of the affected pool or spa. */
|
|
75778
|
+
desired_temperature_celsius: number
|
|
75779
|
+
/** Desired water temperature, in °F, defined by the heating set point of the affected pool or spa. */
|
|
75780
|
+
desired_temperature_fahrenheit: number
|
|
75781
|
+
}
|
|
75782
|
+
| {
|
|
75783
|
+
/** ID of the event. */
|
|
75784
|
+
event_id: string
|
|
75785
|
+
/** ID of the workspace associated with the event. */
|
|
75786
|
+
workspace_id: string
|
|
75787
|
+
/** Date and time at which the event was created. */
|
|
75788
|
+
created_at: string
|
|
75789
|
+
/** Date and time at which the event occurred. */
|
|
75790
|
+
occurred_at: string
|
|
75791
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
75792
|
+
event_description?: string | undefined
|
|
75793
|
+
/** ID of the affected device. */
|
|
75794
|
+
device_id: string
|
|
75795
|
+
/** ID of the connected account associated with the event. */
|
|
75796
|
+
connected_account_id: string
|
|
75797
|
+
/** The customer key associated with the device, if any. */
|
|
75798
|
+
customer_key?: string | undefined
|
|
75799
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
75800
|
+
device_custom_metadata?:
|
|
75801
|
+
| {
|
|
75802
|
+
[x: string]: string | boolean
|
|
75803
|
+
}
|
|
75804
|
+
| undefined
|
|
75805
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
75806
|
+
connected_account_custom_metadata?:
|
|
75807
|
+
| {
|
|
75808
|
+
[x: string]: string | boolean
|
|
75809
|
+
}
|
|
75810
|
+
| undefined
|
|
75811
|
+
event_type: 'pool.manually_adjusted'
|
|
75812
|
+
/** Method used to adjust the affected pool or spa. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used. `external` indicates a change made outside Seam, such as in the manufacturer's app or on the controller panel. */
|
|
75813
|
+
method: 'seam' | 'external'
|
|
75814
|
+
/** New heating mode of the affected pool or spa. Present only if the mode changed. */
|
|
75815
|
+
controller_mode?: ('heat' | 'off') | undefined
|
|
75816
|
+
/** New heating set point, in °C, of the affected pool or spa. Present only if the set point changed. */
|
|
75817
|
+
heating_set_point_celsius?: number | undefined
|
|
75818
|
+
/** New heating set point, in °F, of the affected pool or spa. Present only if the set point changed. */
|
|
75819
|
+
heating_set_point_fahrenheit?: number | undefined
|
|
75820
|
+
}
|
|
75585
75821
|
| {
|
|
75586
75822
|
/** ID of the event. */
|
|
75587
75823
|
event_id: string
|
|
@@ -126911,6 +127147,9 @@ export type Routes = {
|
|
|
126911
127147
|
| 'thermostat.temperature_threshold_no_longer_exceeded'
|
|
126912
127148
|
| 'thermostat.temperature_reached_set_point'
|
|
126913
127149
|
| 'thermostat.temperature_changed'
|
|
127150
|
+
| 'pool.temperature_changed'
|
|
127151
|
+
| 'pool.temperature_reached_set_point'
|
|
127152
|
+
| 'pool.manually_adjusted'
|
|
126914
127153
|
| 'device.name_changed'
|
|
126915
127154
|
| 'camera.activated'
|
|
126916
127155
|
| 'device.doorbell_rang'
|
|
@@ -127033,6 +127272,9 @@ export type Routes = {
|
|
|
127033
127272
|
| 'thermostat.temperature_threshold_no_longer_exceeded'
|
|
127034
127273
|
| 'thermostat.temperature_reached_set_point'
|
|
127035
127274
|
| 'thermostat.temperature_changed'
|
|
127275
|
+
| 'pool.temperature_changed'
|
|
127276
|
+
| 'pool.temperature_reached_set_point'
|
|
127277
|
+
| 'pool.manually_adjusted'
|
|
127036
127278
|
| 'device.name_changed'
|
|
127037
127279
|
| 'camera.activated'
|
|
127038
127280
|
| 'device.doorbell_rang'
|
|
@@ -129647,6 +129889,7 @@ export type Routes = {
|
|
|
129647
129889
|
| 'account_disconnected'
|
|
129648
129890
|
| 'hub_disconnected'
|
|
129649
129891
|
| 'device_disconnected'
|
|
129892
|
+
| 'bridge_disconnected'
|
|
129650
129893
|
/** Errors associated with the connected account. */
|
|
129651
129894
|
connected_account_errors: {
|
|
129652
129895
|
/** Date and time at which Seam created the error. */
|
|
@@ -129719,6 +129962,7 @@ export type Routes = {
|
|
|
129719
129962
|
| 'account_disconnected'
|
|
129720
129963
|
| 'hub_disconnected'
|
|
129721
129964
|
| 'device_disconnected'
|
|
129965
|
+
| 'bridge_disconnected'
|
|
129722
129966
|
/** Errors associated with the connected account. */
|
|
129723
129967
|
connected_account_errors: {
|
|
129724
129968
|
/** Date and time at which Seam created the error. */
|
|
@@ -130920,6 +131164,119 @@ export type Routes = {
|
|
|
130920
131164
|
/** Temperature, in °F, reported by the affected thermostat. */
|
|
130921
131165
|
temperature_fahrenheit: number
|
|
130922
131166
|
}
|
|
131167
|
+
| {
|
|
131168
|
+
/** ID of the event. */
|
|
131169
|
+
event_id: string
|
|
131170
|
+
/** ID of the workspace associated with the event. */
|
|
131171
|
+
workspace_id: string
|
|
131172
|
+
/** Date and time at which the event was created. */
|
|
131173
|
+
created_at: string
|
|
131174
|
+
/** Date and time at which the event occurred. */
|
|
131175
|
+
occurred_at: string
|
|
131176
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
131177
|
+
event_description?: string | undefined
|
|
131178
|
+
/** ID of the affected device. */
|
|
131179
|
+
device_id: string
|
|
131180
|
+
/** ID of the connected account associated with the event. */
|
|
131181
|
+
connected_account_id: string
|
|
131182
|
+
/** The customer key associated with the device, if any. */
|
|
131183
|
+
customer_key?: string | undefined
|
|
131184
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
131185
|
+
device_custom_metadata?:
|
|
131186
|
+
| {
|
|
131187
|
+
[x: string]: string | boolean
|
|
131188
|
+
}
|
|
131189
|
+
| undefined
|
|
131190
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
131191
|
+
connected_account_custom_metadata?:
|
|
131192
|
+
| {
|
|
131193
|
+
[x: string]: string | boolean
|
|
131194
|
+
}
|
|
131195
|
+
| undefined
|
|
131196
|
+
event_type: 'pool.temperature_changed'
|
|
131197
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
131198
|
+
temperature_celsius: number
|
|
131199
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
131200
|
+
temperature_fahrenheit: number
|
|
131201
|
+
}
|
|
131202
|
+
| {
|
|
131203
|
+
/** ID of the event. */
|
|
131204
|
+
event_id: string
|
|
131205
|
+
/** ID of the workspace associated with the event. */
|
|
131206
|
+
workspace_id: string
|
|
131207
|
+
/** Date and time at which the event was created. */
|
|
131208
|
+
created_at: string
|
|
131209
|
+
/** Date and time at which the event occurred. */
|
|
131210
|
+
occurred_at: string
|
|
131211
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
131212
|
+
event_description?: string | undefined
|
|
131213
|
+
/** ID of the affected device. */
|
|
131214
|
+
device_id: string
|
|
131215
|
+
/** ID of the connected account associated with the event. */
|
|
131216
|
+
connected_account_id: string
|
|
131217
|
+
/** The customer key associated with the device, if any. */
|
|
131218
|
+
customer_key?: string | undefined
|
|
131219
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
131220
|
+
device_custom_metadata?:
|
|
131221
|
+
| {
|
|
131222
|
+
[x: string]: string | boolean
|
|
131223
|
+
}
|
|
131224
|
+
| undefined
|
|
131225
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
131226
|
+
connected_account_custom_metadata?:
|
|
131227
|
+
| {
|
|
131228
|
+
[x: string]: string | boolean
|
|
131229
|
+
}
|
|
131230
|
+
| undefined
|
|
131231
|
+
event_type: 'pool.temperature_reached_set_point'
|
|
131232
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
131233
|
+
temperature_celsius: number
|
|
131234
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
131235
|
+
temperature_fahrenheit: number
|
|
131236
|
+
/** Desired water temperature, in °C, defined by the heating set point of the affected pool or spa. */
|
|
131237
|
+
desired_temperature_celsius: number
|
|
131238
|
+
/** Desired water temperature, in °F, defined by the heating set point of the affected pool or spa. */
|
|
131239
|
+
desired_temperature_fahrenheit: number
|
|
131240
|
+
}
|
|
131241
|
+
| {
|
|
131242
|
+
/** ID of the event. */
|
|
131243
|
+
event_id: string
|
|
131244
|
+
/** ID of the workspace associated with the event. */
|
|
131245
|
+
workspace_id: string
|
|
131246
|
+
/** Date and time at which the event was created. */
|
|
131247
|
+
created_at: string
|
|
131248
|
+
/** Date and time at which the event occurred. */
|
|
131249
|
+
occurred_at: string
|
|
131250
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
131251
|
+
event_description?: string | undefined
|
|
131252
|
+
/** ID of the affected device. */
|
|
131253
|
+
device_id: string
|
|
131254
|
+
/** ID of the connected account associated with the event. */
|
|
131255
|
+
connected_account_id: string
|
|
131256
|
+
/** The customer key associated with the device, if any. */
|
|
131257
|
+
customer_key?: string | undefined
|
|
131258
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
131259
|
+
device_custom_metadata?:
|
|
131260
|
+
| {
|
|
131261
|
+
[x: string]: string | boolean
|
|
131262
|
+
}
|
|
131263
|
+
| undefined
|
|
131264
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
131265
|
+
connected_account_custom_metadata?:
|
|
131266
|
+
| {
|
|
131267
|
+
[x: string]: string | boolean
|
|
131268
|
+
}
|
|
131269
|
+
| undefined
|
|
131270
|
+
event_type: 'pool.manually_adjusted'
|
|
131271
|
+
/** Method used to adjust the affected pool or spa. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used. `external` indicates a change made outside Seam, such as in the manufacturer's app or on the controller panel. */
|
|
131272
|
+
method: 'seam' | 'external'
|
|
131273
|
+
/** New heating mode of the affected pool or spa. Present only if the mode changed. */
|
|
131274
|
+
controller_mode?: ('heat' | 'off') | undefined
|
|
131275
|
+
/** New heating set point, in °C, of the affected pool or spa. Present only if the set point changed. */
|
|
131276
|
+
heating_set_point_celsius?: number | undefined
|
|
131277
|
+
/** New heating set point, in °F, of the affected pool or spa. Present only if the set point changed. */
|
|
131278
|
+
heating_set_point_fahrenheit?: number | undefined
|
|
131279
|
+
}
|
|
130923
131280
|
| {
|
|
130924
131281
|
/** ID of the event. */
|
|
130925
131282
|
event_id: string
|
|
@@ -133827,6 +134184,9 @@ export type Routes = {
|
|
|
133827
134184
|
| 'thermostat.temperature_threshold_no_longer_exceeded'
|
|
133828
134185
|
| 'thermostat.temperature_reached_set_point'
|
|
133829
134186
|
| 'thermostat.temperature_changed'
|
|
134187
|
+
| 'pool.temperature_changed'
|
|
134188
|
+
| 'pool.temperature_reached_set_point'
|
|
134189
|
+
| 'pool.manually_adjusted'
|
|
133830
134190
|
| 'device.name_changed'
|
|
133831
134191
|
| 'camera.activated'
|
|
133832
134192
|
| 'device.doorbell_rang'
|
|
@@ -133972,6 +134332,9 @@ export type Routes = {
|
|
|
133972
134332
|
| 'thermostat.temperature_threshold_no_longer_exceeded'
|
|
133973
134333
|
| 'thermostat.temperature_reached_set_point'
|
|
133974
134334
|
| 'thermostat.temperature_changed'
|
|
134335
|
+
| 'pool.temperature_changed'
|
|
134336
|
+
| 'pool.temperature_reached_set_point'
|
|
134337
|
+
| 'pool.manually_adjusted'
|
|
133975
134338
|
| 'device.name_changed'
|
|
133976
134339
|
| 'camera.activated'
|
|
133977
134340
|
| 'device.doorbell_rang'
|
|
@@ -136590,6 +136953,7 @@ export type Routes = {
|
|
|
136590
136953
|
| 'account_disconnected'
|
|
136591
136954
|
| 'hub_disconnected'
|
|
136592
136955
|
| 'device_disconnected'
|
|
136956
|
+
| 'bridge_disconnected'
|
|
136593
136957
|
/** Errors associated with the connected account. */
|
|
136594
136958
|
connected_account_errors: {
|
|
136595
136959
|
/** Date and time at which Seam created the error. */
|
|
@@ -136662,6 +137026,7 @@ export type Routes = {
|
|
|
136662
137026
|
| 'account_disconnected'
|
|
136663
137027
|
| 'hub_disconnected'
|
|
136664
137028
|
| 'device_disconnected'
|
|
137029
|
+
| 'bridge_disconnected'
|
|
136665
137030
|
/** Errors associated with the connected account. */
|
|
136666
137031
|
connected_account_errors: {
|
|
136667
137032
|
/** Date and time at which Seam created the error. */
|
|
@@ -137863,6 +138228,119 @@ export type Routes = {
|
|
|
137863
138228
|
/** Temperature, in °F, reported by the affected thermostat. */
|
|
137864
138229
|
temperature_fahrenheit: number
|
|
137865
138230
|
}
|
|
138231
|
+
| {
|
|
138232
|
+
/** ID of the event. */
|
|
138233
|
+
event_id: string
|
|
138234
|
+
/** ID of the workspace associated with the event. */
|
|
138235
|
+
workspace_id: string
|
|
138236
|
+
/** Date and time at which the event was created. */
|
|
138237
|
+
created_at: string
|
|
138238
|
+
/** Date and time at which the event occurred. */
|
|
138239
|
+
occurred_at: string
|
|
138240
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
138241
|
+
event_description?: string | undefined
|
|
138242
|
+
/** ID of the affected device. */
|
|
138243
|
+
device_id: string
|
|
138244
|
+
/** ID of the connected account associated with the event. */
|
|
138245
|
+
connected_account_id: string
|
|
138246
|
+
/** The customer key associated with the device, if any. */
|
|
138247
|
+
customer_key?: string | undefined
|
|
138248
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
138249
|
+
device_custom_metadata?:
|
|
138250
|
+
| {
|
|
138251
|
+
[x: string]: string | boolean
|
|
138252
|
+
}
|
|
138253
|
+
| undefined
|
|
138254
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
138255
|
+
connected_account_custom_metadata?:
|
|
138256
|
+
| {
|
|
138257
|
+
[x: string]: string | boolean
|
|
138258
|
+
}
|
|
138259
|
+
| undefined
|
|
138260
|
+
event_type: 'pool.temperature_changed'
|
|
138261
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
138262
|
+
temperature_celsius: number
|
|
138263
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
138264
|
+
temperature_fahrenheit: number
|
|
138265
|
+
}
|
|
138266
|
+
| {
|
|
138267
|
+
/** ID of the event. */
|
|
138268
|
+
event_id: string
|
|
138269
|
+
/** ID of the workspace associated with the event. */
|
|
138270
|
+
workspace_id: string
|
|
138271
|
+
/** Date and time at which the event was created. */
|
|
138272
|
+
created_at: string
|
|
138273
|
+
/** Date and time at which the event occurred. */
|
|
138274
|
+
occurred_at: string
|
|
138275
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
138276
|
+
event_description?: string | undefined
|
|
138277
|
+
/** ID of the affected device. */
|
|
138278
|
+
device_id: string
|
|
138279
|
+
/** ID of the connected account associated with the event. */
|
|
138280
|
+
connected_account_id: string
|
|
138281
|
+
/** The customer key associated with the device, if any. */
|
|
138282
|
+
customer_key?: string | undefined
|
|
138283
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
138284
|
+
device_custom_metadata?:
|
|
138285
|
+
| {
|
|
138286
|
+
[x: string]: string | boolean
|
|
138287
|
+
}
|
|
138288
|
+
| undefined
|
|
138289
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
138290
|
+
connected_account_custom_metadata?:
|
|
138291
|
+
| {
|
|
138292
|
+
[x: string]: string | boolean
|
|
138293
|
+
}
|
|
138294
|
+
| undefined
|
|
138295
|
+
event_type: 'pool.temperature_reached_set_point'
|
|
138296
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
138297
|
+
temperature_celsius: number
|
|
138298
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
138299
|
+
temperature_fahrenheit: number
|
|
138300
|
+
/** Desired water temperature, in °C, defined by the heating set point of the affected pool or spa. */
|
|
138301
|
+
desired_temperature_celsius: number
|
|
138302
|
+
/** Desired water temperature, in °F, defined by the heating set point of the affected pool or spa. */
|
|
138303
|
+
desired_temperature_fahrenheit: number
|
|
138304
|
+
}
|
|
138305
|
+
| {
|
|
138306
|
+
/** ID of the event. */
|
|
138307
|
+
event_id: string
|
|
138308
|
+
/** ID of the workspace associated with the event. */
|
|
138309
|
+
workspace_id: string
|
|
138310
|
+
/** Date and time at which the event was created. */
|
|
138311
|
+
created_at: string
|
|
138312
|
+
/** Date and time at which the event occurred. */
|
|
138313
|
+
occurred_at: string
|
|
138314
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
138315
|
+
event_description?: string | undefined
|
|
138316
|
+
/** ID of the affected device. */
|
|
138317
|
+
device_id: string
|
|
138318
|
+
/** ID of the connected account associated with the event. */
|
|
138319
|
+
connected_account_id: string
|
|
138320
|
+
/** The customer key associated with the device, if any. */
|
|
138321
|
+
customer_key?: string | undefined
|
|
138322
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
138323
|
+
device_custom_metadata?:
|
|
138324
|
+
| {
|
|
138325
|
+
[x: string]: string | boolean
|
|
138326
|
+
}
|
|
138327
|
+
| undefined
|
|
138328
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
138329
|
+
connected_account_custom_metadata?:
|
|
138330
|
+
| {
|
|
138331
|
+
[x: string]: string | boolean
|
|
138332
|
+
}
|
|
138333
|
+
| undefined
|
|
138334
|
+
event_type: 'pool.manually_adjusted'
|
|
138335
|
+
/** Method used to adjust the affected pool or spa. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used. `external` indicates a change made outside Seam, such as in the manufacturer's app or on the controller panel. */
|
|
138336
|
+
method: 'seam' | 'external'
|
|
138337
|
+
/** New heating mode of the affected pool or spa. Present only if the mode changed. */
|
|
138338
|
+
controller_mode?: ('heat' | 'off') | undefined
|
|
138339
|
+
/** New heating set point, in °C, of the affected pool or spa. Present only if the set point changed. */
|
|
138340
|
+
heating_set_point_celsius?: number | undefined
|
|
138341
|
+
/** New heating set point, in °F, of the affected pool or spa. Present only if the set point changed. */
|
|
138342
|
+
heating_set_point_fahrenheit?: number | undefined
|
|
138343
|
+
}
|
|
137866
138344
|
| {
|
|
137867
138345
|
/** ID of the event. */
|
|
137868
138346
|
event_id: string
|
|
@@ -214780,6 +215258,7 @@ export type Routes = {
|
|
|
214780
215258
|
| 'account_disconnected'
|
|
214781
215259
|
| 'hub_disconnected'
|
|
214782
215260
|
| 'device_disconnected'
|
|
215261
|
+
| 'bridge_disconnected'
|
|
214783
215262
|
/** Errors associated with the connected account. */
|
|
214784
215263
|
connected_account_errors: {
|
|
214785
215264
|
/** Date and time at which Seam created the error. */
|
|
@@ -214852,6 +215331,7 @@ export type Routes = {
|
|
|
214852
215331
|
| 'account_disconnected'
|
|
214853
215332
|
| 'hub_disconnected'
|
|
214854
215333
|
| 'device_disconnected'
|
|
215334
|
+
| 'bridge_disconnected'
|
|
214855
215335
|
/** Errors associated with the connected account. */
|
|
214856
215336
|
connected_account_errors: {
|
|
214857
215337
|
/** Date and time at which Seam created the error. */
|
|
@@ -216058,6 +216538,119 @@ export type Routes = {
|
|
|
216058
216538
|
/** Temperature, in °F, reported by the affected thermostat. */
|
|
216059
216539
|
temperature_fahrenheit: number
|
|
216060
216540
|
}
|
|
216541
|
+
| {
|
|
216542
|
+
/** ID of the event. */
|
|
216543
|
+
event_id: string
|
|
216544
|
+
/** ID of the workspace associated with the event. */
|
|
216545
|
+
workspace_id: string
|
|
216546
|
+
/** Date and time at which the event was created. */
|
|
216547
|
+
created_at: string
|
|
216548
|
+
/** Date and time at which the event occurred. */
|
|
216549
|
+
occurred_at: string
|
|
216550
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
216551
|
+
event_description?: string | undefined
|
|
216552
|
+
/** ID of the affected device. */
|
|
216553
|
+
device_id: string
|
|
216554
|
+
/** ID of the connected account associated with the event. */
|
|
216555
|
+
connected_account_id: string
|
|
216556
|
+
/** The customer key associated with the device, if any. */
|
|
216557
|
+
customer_key?: string | undefined
|
|
216558
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
216559
|
+
device_custom_metadata?:
|
|
216560
|
+
| {
|
|
216561
|
+
[x: string]: string | boolean
|
|
216562
|
+
}
|
|
216563
|
+
| undefined
|
|
216564
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
216565
|
+
connected_account_custom_metadata?:
|
|
216566
|
+
| {
|
|
216567
|
+
[x: string]: string | boolean
|
|
216568
|
+
}
|
|
216569
|
+
| undefined
|
|
216570
|
+
event_type: 'pool.temperature_changed'
|
|
216571
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
216572
|
+
temperature_celsius: number
|
|
216573
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
216574
|
+
temperature_fahrenheit: number
|
|
216575
|
+
}
|
|
216576
|
+
| {
|
|
216577
|
+
/** ID of the event. */
|
|
216578
|
+
event_id: string
|
|
216579
|
+
/** ID of the workspace associated with the event. */
|
|
216580
|
+
workspace_id: string
|
|
216581
|
+
/** Date and time at which the event was created. */
|
|
216582
|
+
created_at: string
|
|
216583
|
+
/** Date and time at which the event occurred. */
|
|
216584
|
+
occurred_at: string
|
|
216585
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
216586
|
+
event_description?: string | undefined
|
|
216587
|
+
/** ID of the affected device. */
|
|
216588
|
+
device_id: string
|
|
216589
|
+
/** ID of the connected account associated with the event. */
|
|
216590
|
+
connected_account_id: string
|
|
216591
|
+
/** The customer key associated with the device, if any. */
|
|
216592
|
+
customer_key?: string | undefined
|
|
216593
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
216594
|
+
device_custom_metadata?:
|
|
216595
|
+
| {
|
|
216596
|
+
[x: string]: string | boolean
|
|
216597
|
+
}
|
|
216598
|
+
| undefined
|
|
216599
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
216600
|
+
connected_account_custom_metadata?:
|
|
216601
|
+
| {
|
|
216602
|
+
[x: string]: string | boolean
|
|
216603
|
+
}
|
|
216604
|
+
| undefined
|
|
216605
|
+
event_type: 'pool.temperature_reached_set_point'
|
|
216606
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
216607
|
+
temperature_celsius: number
|
|
216608
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
216609
|
+
temperature_fahrenheit: number
|
|
216610
|
+
/** Desired water temperature, in °C, defined by the heating set point of the affected pool or spa. */
|
|
216611
|
+
desired_temperature_celsius: number
|
|
216612
|
+
/** Desired water temperature, in °F, defined by the heating set point of the affected pool or spa. */
|
|
216613
|
+
desired_temperature_fahrenheit: number
|
|
216614
|
+
}
|
|
216615
|
+
| {
|
|
216616
|
+
/** ID of the event. */
|
|
216617
|
+
event_id: string
|
|
216618
|
+
/** ID of the workspace associated with the event. */
|
|
216619
|
+
workspace_id: string
|
|
216620
|
+
/** Date and time at which the event was created. */
|
|
216621
|
+
created_at: string
|
|
216622
|
+
/** Date and time at which the event occurred. */
|
|
216623
|
+
occurred_at: string
|
|
216624
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
216625
|
+
event_description?: string | undefined
|
|
216626
|
+
/** ID of the affected device. */
|
|
216627
|
+
device_id: string
|
|
216628
|
+
/** ID of the connected account associated with the event. */
|
|
216629
|
+
connected_account_id: string
|
|
216630
|
+
/** The customer key associated with the device, if any. */
|
|
216631
|
+
customer_key?: string | undefined
|
|
216632
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
216633
|
+
device_custom_metadata?:
|
|
216634
|
+
| {
|
|
216635
|
+
[x: string]: string | boolean
|
|
216636
|
+
}
|
|
216637
|
+
| undefined
|
|
216638
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
216639
|
+
connected_account_custom_metadata?:
|
|
216640
|
+
| {
|
|
216641
|
+
[x: string]: string | boolean
|
|
216642
|
+
}
|
|
216643
|
+
| undefined
|
|
216644
|
+
event_type: 'pool.manually_adjusted'
|
|
216645
|
+
/** Method used to adjust the affected pool or spa. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used. `external` indicates a change made outside Seam, such as in the manufacturer's app or on the controller panel. */
|
|
216646
|
+
method: 'seam' | 'external'
|
|
216647
|
+
/** New heating mode of the affected pool or spa. Present only if the mode changed. */
|
|
216648
|
+
controller_mode?: ('heat' | 'off') | undefined
|
|
216649
|
+
/** New heating set point, in °C, of the affected pool or spa. Present only if the set point changed. */
|
|
216650
|
+
heating_set_point_celsius?: number | undefined
|
|
216651
|
+
/** New heating set point, in °F, of the affected pool or spa. Present only if the set point changed. */
|
|
216652
|
+
heating_set_point_fahrenheit?: number | undefined
|
|
216653
|
+
}
|
|
216061
216654
|
| {
|
|
216062
216655
|
/** ID of the event. */
|
|
216063
216656
|
event_id: string
|