@seamapi/types 1.1180.0 → 1.1182.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +8 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +234 -0
- package/lib/seam/connect/models/events/devices.js +27 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +115 -1
- package/lib/seam/connect/openapi.js +225 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +396 -6
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +8 -1
- package/src/lib/seam/connect/models/events/devices.ts +36 -0
- package/src/lib/seam/connect/openapi.ts +243 -0
- package/src/lib/seam/connect/route-types.ts +483 -0
|
@@ -69335,6 +69335,99 @@ export type Routes = {
|
|
|
69335
69335
|
}
|
|
69336
69336
|
| undefined
|
|
69337
69337
|
}
|
|
69338
|
+
| {
|
|
69339
|
+
/** ID of the event. */
|
|
69340
|
+
event_id: string
|
|
69341
|
+
/** ID of the workspace associated with the event. */
|
|
69342
|
+
workspace_id: string
|
|
69343
|
+
/** Date and time at which the event was created. */
|
|
69344
|
+
created_at: string
|
|
69345
|
+
/** Date and time at which the event occurred. */
|
|
69346
|
+
occurred_at: string
|
|
69347
|
+
/** 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. */
|
|
69348
|
+
event_description?: string | undefined
|
|
69349
|
+
/** ID of the affected device. */
|
|
69350
|
+
device_id: string
|
|
69351
|
+
/** ID of the connected account associated with the event. */
|
|
69352
|
+
connected_account_id: string
|
|
69353
|
+
/** The customer key associated with the device, if any. */
|
|
69354
|
+
customer_key?: string | undefined
|
|
69355
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
69356
|
+
device_custom_metadata?:
|
|
69357
|
+
| {
|
|
69358
|
+
[x: string]: string | boolean
|
|
69359
|
+
}
|
|
69360
|
+
| undefined
|
|
69361
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
69362
|
+
connected_account_custom_metadata?:
|
|
69363
|
+
| {
|
|
69364
|
+
[x: string]: string | boolean
|
|
69365
|
+
}
|
|
69366
|
+
| undefined
|
|
69367
|
+
event_type: 'lock.jammed'
|
|
69368
|
+
}
|
|
69369
|
+
| {
|
|
69370
|
+
/** ID of the event. */
|
|
69371
|
+
event_id: string
|
|
69372
|
+
/** ID of the workspace associated with the event. */
|
|
69373
|
+
workspace_id: string
|
|
69374
|
+
/** Date and time at which the event was created. */
|
|
69375
|
+
created_at: string
|
|
69376
|
+
/** Date and time at which the event occurred. */
|
|
69377
|
+
occurred_at: string
|
|
69378
|
+
/** 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. */
|
|
69379
|
+
event_description?: string | undefined
|
|
69380
|
+
/** ID of the affected device. */
|
|
69381
|
+
device_id: string
|
|
69382
|
+
/** ID of the connected account associated with the event. */
|
|
69383
|
+
connected_account_id: string
|
|
69384
|
+
/** The customer key associated with the device, if any. */
|
|
69385
|
+
customer_key?: string | undefined
|
|
69386
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
69387
|
+
device_custom_metadata?:
|
|
69388
|
+
| {
|
|
69389
|
+
[x: string]: string | boolean
|
|
69390
|
+
}
|
|
69391
|
+
| undefined
|
|
69392
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
69393
|
+
connected_account_custom_metadata?:
|
|
69394
|
+
| {
|
|
69395
|
+
[x: string]: string | boolean
|
|
69396
|
+
}
|
|
69397
|
+
| undefined
|
|
69398
|
+
event_type: 'lock.door_opened'
|
|
69399
|
+
}
|
|
69400
|
+
| {
|
|
69401
|
+
/** ID of the event. */
|
|
69402
|
+
event_id: string
|
|
69403
|
+
/** ID of the workspace associated with the event. */
|
|
69404
|
+
workspace_id: string
|
|
69405
|
+
/** Date and time at which the event was created. */
|
|
69406
|
+
created_at: string
|
|
69407
|
+
/** Date and time at which the event occurred. */
|
|
69408
|
+
occurred_at: string
|
|
69409
|
+
/** 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. */
|
|
69410
|
+
event_description?: string | undefined
|
|
69411
|
+
/** ID of the affected device. */
|
|
69412
|
+
device_id: string
|
|
69413
|
+
/** ID of the connected account associated with the event. */
|
|
69414
|
+
connected_account_id: string
|
|
69415
|
+
/** The customer key associated with the device, if any. */
|
|
69416
|
+
customer_key?: string | undefined
|
|
69417
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
69418
|
+
device_custom_metadata?:
|
|
69419
|
+
| {
|
|
69420
|
+
[x: string]: string | boolean
|
|
69421
|
+
}
|
|
69422
|
+
| undefined
|
|
69423
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
69424
|
+
connected_account_custom_metadata?:
|
|
69425
|
+
| {
|
|
69426
|
+
[x: string]: string | boolean
|
|
69427
|
+
}
|
|
69428
|
+
| undefined
|
|
69429
|
+
event_type: 'lock.door_closed'
|
|
69430
|
+
}
|
|
69338
69431
|
| {
|
|
69339
69432
|
/** ID of the event. */
|
|
69340
69433
|
event_id: string
|
|
@@ -69932,6 +70025,9 @@ export type Routes = {
|
|
|
69932
70025
|
| 'lock.locked'
|
|
69933
70026
|
| 'lock.unlocked'
|
|
69934
70027
|
| 'lock.access_denied'
|
|
70028
|
+
| 'lock.jammed'
|
|
70029
|
+
| 'lock.door_opened'
|
|
70030
|
+
| 'lock.door_closed'
|
|
69935
70031
|
| 'thermostat.climate_preset_activated'
|
|
69936
70032
|
| 'thermostat.manually_adjusted'
|
|
69937
70033
|
| 'thermostat.temperature_threshold_exceeded'
|
|
@@ -70051,6 +70147,9 @@ export type Routes = {
|
|
|
70051
70147
|
| 'lock.locked'
|
|
70052
70148
|
| 'lock.unlocked'
|
|
70053
70149
|
| 'lock.access_denied'
|
|
70150
|
+
| 'lock.jammed'
|
|
70151
|
+
| 'lock.door_opened'
|
|
70152
|
+
| 'lock.door_closed'
|
|
70054
70153
|
| 'thermostat.climate_preset_activated'
|
|
70055
70154
|
| 'thermostat.manually_adjusted'
|
|
70056
70155
|
| 'thermostat.temperature_threshold_exceeded'
|
|
@@ -73636,6 +73735,99 @@ export type Routes = {
|
|
|
73636
73735
|
}
|
|
73637
73736
|
| undefined
|
|
73638
73737
|
}
|
|
73738
|
+
| {
|
|
73739
|
+
/** ID of the event. */
|
|
73740
|
+
event_id: string
|
|
73741
|
+
/** ID of the workspace associated with the event. */
|
|
73742
|
+
workspace_id: string
|
|
73743
|
+
/** Date and time at which the event was created. */
|
|
73744
|
+
created_at: string
|
|
73745
|
+
/** Date and time at which the event occurred. */
|
|
73746
|
+
occurred_at: string
|
|
73747
|
+
/** 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. */
|
|
73748
|
+
event_description?: string | undefined
|
|
73749
|
+
/** ID of the affected device. */
|
|
73750
|
+
device_id: string
|
|
73751
|
+
/** ID of the connected account associated with the event. */
|
|
73752
|
+
connected_account_id: string
|
|
73753
|
+
/** The customer key associated with the device, if any. */
|
|
73754
|
+
customer_key?: string | undefined
|
|
73755
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
73756
|
+
device_custom_metadata?:
|
|
73757
|
+
| {
|
|
73758
|
+
[x: string]: string | boolean
|
|
73759
|
+
}
|
|
73760
|
+
| undefined
|
|
73761
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
73762
|
+
connected_account_custom_metadata?:
|
|
73763
|
+
| {
|
|
73764
|
+
[x: string]: string | boolean
|
|
73765
|
+
}
|
|
73766
|
+
| undefined
|
|
73767
|
+
event_type: 'lock.jammed'
|
|
73768
|
+
}
|
|
73769
|
+
| {
|
|
73770
|
+
/** ID of the event. */
|
|
73771
|
+
event_id: string
|
|
73772
|
+
/** ID of the workspace associated with the event. */
|
|
73773
|
+
workspace_id: string
|
|
73774
|
+
/** Date and time at which the event was created. */
|
|
73775
|
+
created_at: string
|
|
73776
|
+
/** Date and time at which the event occurred. */
|
|
73777
|
+
occurred_at: string
|
|
73778
|
+
/** 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. */
|
|
73779
|
+
event_description?: string | undefined
|
|
73780
|
+
/** ID of the affected device. */
|
|
73781
|
+
device_id: string
|
|
73782
|
+
/** ID of the connected account associated with the event. */
|
|
73783
|
+
connected_account_id: string
|
|
73784
|
+
/** The customer key associated with the device, if any. */
|
|
73785
|
+
customer_key?: string | undefined
|
|
73786
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
73787
|
+
device_custom_metadata?:
|
|
73788
|
+
| {
|
|
73789
|
+
[x: string]: string | boolean
|
|
73790
|
+
}
|
|
73791
|
+
| undefined
|
|
73792
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
73793
|
+
connected_account_custom_metadata?:
|
|
73794
|
+
| {
|
|
73795
|
+
[x: string]: string | boolean
|
|
73796
|
+
}
|
|
73797
|
+
| undefined
|
|
73798
|
+
event_type: 'lock.door_opened'
|
|
73799
|
+
}
|
|
73800
|
+
| {
|
|
73801
|
+
/** ID of the event. */
|
|
73802
|
+
event_id: string
|
|
73803
|
+
/** ID of the workspace associated with the event. */
|
|
73804
|
+
workspace_id: string
|
|
73805
|
+
/** Date and time at which the event was created. */
|
|
73806
|
+
created_at: string
|
|
73807
|
+
/** Date and time at which the event occurred. */
|
|
73808
|
+
occurred_at: string
|
|
73809
|
+
/** 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. */
|
|
73810
|
+
event_description?: string | undefined
|
|
73811
|
+
/** ID of the affected device. */
|
|
73812
|
+
device_id: string
|
|
73813
|
+
/** ID of the connected account associated with the event. */
|
|
73814
|
+
connected_account_id: string
|
|
73815
|
+
/** The customer key associated with the device, if any. */
|
|
73816
|
+
customer_key?: string | undefined
|
|
73817
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
73818
|
+
device_custom_metadata?:
|
|
73819
|
+
| {
|
|
73820
|
+
[x: string]: string | boolean
|
|
73821
|
+
}
|
|
73822
|
+
| undefined
|
|
73823
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
73824
|
+
connected_account_custom_metadata?:
|
|
73825
|
+
| {
|
|
73826
|
+
[x: string]: string | boolean
|
|
73827
|
+
}
|
|
73828
|
+
| undefined
|
|
73829
|
+
event_type: 'lock.door_closed'
|
|
73830
|
+
}
|
|
73639
73831
|
| {
|
|
73640
73832
|
/** ID of the event. */
|
|
73641
73833
|
event_id: string
|
|
@@ -115969,6 +116161,9 @@ export type Routes = {
|
|
|
115969
116161
|
| 'lock.locked'
|
|
115970
116162
|
| 'lock.unlocked'
|
|
115971
116163
|
| 'lock.access_denied'
|
|
116164
|
+
| 'lock.jammed'
|
|
116165
|
+
| 'lock.door_opened'
|
|
116166
|
+
| 'lock.door_closed'
|
|
115972
116167
|
| 'thermostat.climate_preset_activated'
|
|
115973
116168
|
| 'thermostat.manually_adjusted'
|
|
115974
116169
|
| 'thermostat.temperature_threshold_exceeded'
|
|
@@ -116088,6 +116283,9 @@ export type Routes = {
|
|
|
116088
116283
|
| 'lock.locked'
|
|
116089
116284
|
| 'lock.unlocked'
|
|
116090
116285
|
| 'lock.access_denied'
|
|
116286
|
+
| 'lock.jammed'
|
|
116287
|
+
| 'lock.door_opened'
|
|
116288
|
+
| 'lock.door_closed'
|
|
116091
116289
|
| 'thermostat.climate_preset_activated'
|
|
116092
116290
|
| 'thermostat.manually_adjusted'
|
|
116093
116291
|
| 'thermostat.temperature_threshold_exceeded'
|
|
@@ -119643,6 +119841,99 @@ export type Routes = {
|
|
|
119643
119841
|
}
|
|
119644
119842
|
| undefined
|
|
119645
119843
|
}
|
|
119844
|
+
| {
|
|
119845
|
+
/** ID of the event. */
|
|
119846
|
+
event_id: string
|
|
119847
|
+
/** ID of the workspace associated with the event. */
|
|
119848
|
+
workspace_id: string
|
|
119849
|
+
/** Date and time at which the event was created. */
|
|
119850
|
+
created_at: string
|
|
119851
|
+
/** Date and time at which the event occurred. */
|
|
119852
|
+
occurred_at: string
|
|
119853
|
+
/** 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. */
|
|
119854
|
+
event_description?: string | undefined
|
|
119855
|
+
/** ID of the affected device. */
|
|
119856
|
+
device_id: string
|
|
119857
|
+
/** ID of the connected account associated with the event. */
|
|
119858
|
+
connected_account_id: string
|
|
119859
|
+
/** The customer key associated with the device, if any. */
|
|
119860
|
+
customer_key?: string | undefined
|
|
119861
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
119862
|
+
device_custom_metadata?:
|
|
119863
|
+
| {
|
|
119864
|
+
[x: string]: string | boolean
|
|
119865
|
+
}
|
|
119866
|
+
| undefined
|
|
119867
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
119868
|
+
connected_account_custom_metadata?:
|
|
119869
|
+
| {
|
|
119870
|
+
[x: string]: string | boolean
|
|
119871
|
+
}
|
|
119872
|
+
| undefined
|
|
119873
|
+
event_type: 'lock.jammed'
|
|
119874
|
+
}
|
|
119875
|
+
| {
|
|
119876
|
+
/** ID of the event. */
|
|
119877
|
+
event_id: string
|
|
119878
|
+
/** ID of the workspace associated with the event. */
|
|
119879
|
+
workspace_id: string
|
|
119880
|
+
/** Date and time at which the event was created. */
|
|
119881
|
+
created_at: string
|
|
119882
|
+
/** Date and time at which the event occurred. */
|
|
119883
|
+
occurred_at: string
|
|
119884
|
+
/** 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. */
|
|
119885
|
+
event_description?: string | undefined
|
|
119886
|
+
/** ID of the affected device. */
|
|
119887
|
+
device_id: string
|
|
119888
|
+
/** ID of the connected account associated with the event. */
|
|
119889
|
+
connected_account_id: string
|
|
119890
|
+
/** The customer key associated with the device, if any. */
|
|
119891
|
+
customer_key?: string | undefined
|
|
119892
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
119893
|
+
device_custom_metadata?:
|
|
119894
|
+
| {
|
|
119895
|
+
[x: string]: string | boolean
|
|
119896
|
+
}
|
|
119897
|
+
| undefined
|
|
119898
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
119899
|
+
connected_account_custom_metadata?:
|
|
119900
|
+
| {
|
|
119901
|
+
[x: string]: string | boolean
|
|
119902
|
+
}
|
|
119903
|
+
| undefined
|
|
119904
|
+
event_type: 'lock.door_opened'
|
|
119905
|
+
}
|
|
119906
|
+
| {
|
|
119907
|
+
/** ID of the event. */
|
|
119908
|
+
event_id: string
|
|
119909
|
+
/** ID of the workspace associated with the event. */
|
|
119910
|
+
workspace_id: string
|
|
119911
|
+
/** Date and time at which the event was created. */
|
|
119912
|
+
created_at: string
|
|
119913
|
+
/** Date and time at which the event occurred. */
|
|
119914
|
+
occurred_at: string
|
|
119915
|
+
/** 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. */
|
|
119916
|
+
event_description?: string | undefined
|
|
119917
|
+
/** ID of the affected device. */
|
|
119918
|
+
device_id: string
|
|
119919
|
+
/** ID of the connected account associated with the event. */
|
|
119920
|
+
connected_account_id: string
|
|
119921
|
+
/** The customer key associated with the device, if any. */
|
|
119922
|
+
customer_key?: string | undefined
|
|
119923
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
119924
|
+
device_custom_metadata?:
|
|
119925
|
+
| {
|
|
119926
|
+
[x: string]: string | boolean
|
|
119927
|
+
}
|
|
119928
|
+
| undefined
|
|
119929
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
119930
|
+
connected_account_custom_metadata?:
|
|
119931
|
+
| {
|
|
119932
|
+
[x: string]: string | boolean
|
|
119933
|
+
}
|
|
119934
|
+
| undefined
|
|
119935
|
+
event_type: 'lock.door_closed'
|
|
119936
|
+
}
|
|
119646
119937
|
| {
|
|
119647
119938
|
/** ID of the event. */
|
|
119648
119939
|
event_id: string
|
|
@@ -122786,6 +123077,9 @@ export type Routes = {
|
|
|
122786
123077
|
| 'lock.locked'
|
|
122787
123078
|
| 'lock.unlocked'
|
|
122788
123079
|
| 'lock.access_denied'
|
|
123080
|
+
| 'lock.jammed'
|
|
123081
|
+
| 'lock.door_opened'
|
|
123082
|
+
| 'lock.door_closed'
|
|
122789
123083
|
| 'thermostat.climate_preset_activated'
|
|
122790
123084
|
| 'thermostat.manually_adjusted'
|
|
122791
123085
|
| 'thermostat.temperature_threshold_exceeded'
|
|
@@ -122928,6 +123222,9 @@ export type Routes = {
|
|
|
122928
123222
|
| 'lock.locked'
|
|
122929
123223
|
| 'lock.unlocked'
|
|
122930
123224
|
| 'lock.access_denied'
|
|
123225
|
+
| 'lock.jammed'
|
|
123226
|
+
| 'lock.door_opened'
|
|
123227
|
+
| 'lock.door_closed'
|
|
122931
123228
|
| 'thermostat.climate_preset_activated'
|
|
122932
123229
|
| 'thermostat.manually_adjusted'
|
|
122933
123230
|
| 'thermostat.temperature_threshold_exceeded'
|
|
@@ -126487,6 +126784,99 @@ export type Routes = {
|
|
|
126487
126784
|
}
|
|
126488
126785
|
| undefined
|
|
126489
126786
|
}
|
|
126787
|
+
| {
|
|
126788
|
+
/** ID of the event. */
|
|
126789
|
+
event_id: string
|
|
126790
|
+
/** ID of the workspace associated with the event. */
|
|
126791
|
+
workspace_id: string
|
|
126792
|
+
/** Date and time at which the event was created. */
|
|
126793
|
+
created_at: string
|
|
126794
|
+
/** Date and time at which the event occurred. */
|
|
126795
|
+
occurred_at: string
|
|
126796
|
+
/** 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. */
|
|
126797
|
+
event_description?: string | undefined
|
|
126798
|
+
/** ID of the affected device. */
|
|
126799
|
+
device_id: string
|
|
126800
|
+
/** ID of the connected account associated with the event. */
|
|
126801
|
+
connected_account_id: string
|
|
126802
|
+
/** The customer key associated with the device, if any. */
|
|
126803
|
+
customer_key?: string | undefined
|
|
126804
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
126805
|
+
device_custom_metadata?:
|
|
126806
|
+
| {
|
|
126807
|
+
[x: string]: string | boolean
|
|
126808
|
+
}
|
|
126809
|
+
| undefined
|
|
126810
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
126811
|
+
connected_account_custom_metadata?:
|
|
126812
|
+
| {
|
|
126813
|
+
[x: string]: string | boolean
|
|
126814
|
+
}
|
|
126815
|
+
| undefined
|
|
126816
|
+
event_type: 'lock.jammed'
|
|
126817
|
+
}
|
|
126818
|
+
| {
|
|
126819
|
+
/** ID of the event. */
|
|
126820
|
+
event_id: string
|
|
126821
|
+
/** ID of the workspace associated with the event. */
|
|
126822
|
+
workspace_id: string
|
|
126823
|
+
/** Date and time at which the event was created. */
|
|
126824
|
+
created_at: string
|
|
126825
|
+
/** Date and time at which the event occurred. */
|
|
126826
|
+
occurred_at: string
|
|
126827
|
+
/** 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. */
|
|
126828
|
+
event_description?: string | undefined
|
|
126829
|
+
/** ID of the affected device. */
|
|
126830
|
+
device_id: string
|
|
126831
|
+
/** ID of the connected account associated with the event. */
|
|
126832
|
+
connected_account_id: string
|
|
126833
|
+
/** The customer key associated with the device, if any. */
|
|
126834
|
+
customer_key?: string | undefined
|
|
126835
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
126836
|
+
device_custom_metadata?:
|
|
126837
|
+
| {
|
|
126838
|
+
[x: string]: string | boolean
|
|
126839
|
+
}
|
|
126840
|
+
| undefined
|
|
126841
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
126842
|
+
connected_account_custom_metadata?:
|
|
126843
|
+
| {
|
|
126844
|
+
[x: string]: string | boolean
|
|
126845
|
+
}
|
|
126846
|
+
| undefined
|
|
126847
|
+
event_type: 'lock.door_opened'
|
|
126848
|
+
}
|
|
126849
|
+
| {
|
|
126850
|
+
/** ID of the event. */
|
|
126851
|
+
event_id: string
|
|
126852
|
+
/** ID of the workspace associated with the event. */
|
|
126853
|
+
workspace_id: string
|
|
126854
|
+
/** Date and time at which the event was created. */
|
|
126855
|
+
created_at: string
|
|
126856
|
+
/** Date and time at which the event occurred. */
|
|
126857
|
+
occurred_at: string
|
|
126858
|
+
/** 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. */
|
|
126859
|
+
event_description?: string | undefined
|
|
126860
|
+
/** ID of the affected device. */
|
|
126861
|
+
device_id: string
|
|
126862
|
+
/** ID of the connected account associated with the event. */
|
|
126863
|
+
connected_account_id: string
|
|
126864
|
+
/** The customer key associated with the device, if any. */
|
|
126865
|
+
customer_key?: string | undefined
|
|
126866
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
126867
|
+
device_custom_metadata?:
|
|
126868
|
+
| {
|
|
126869
|
+
[x: string]: string | boolean
|
|
126870
|
+
}
|
|
126871
|
+
| undefined
|
|
126872
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
126873
|
+
connected_account_custom_metadata?:
|
|
126874
|
+
| {
|
|
126875
|
+
[x: string]: string | boolean
|
|
126876
|
+
}
|
|
126877
|
+
| undefined
|
|
126878
|
+
event_type: 'lock.door_closed'
|
|
126879
|
+
}
|
|
126490
126880
|
| {
|
|
126491
126881
|
/** ID of the event. */
|
|
126492
126882
|
event_id: string
|
|
@@ -202279,6 +202669,99 @@ export type Routes = {
|
|
|
202279
202669
|
}
|
|
202280
202670
|
| undefined
|
|
202281
202671
|
}
|
|
202672
|
+
| {
|
|
202673
|
+
/** ID of the event. */
|
|
202674
|
+
event_id: string
|
|
202675
|
+
/** ID of the workspace associated with the event. */
|
|
202676
|
+
workspace_id: string
|
|
202677
|
+
/** Date and time at which the event was created. */
|
|
202678
|
+
created_at: string
|
|
202679
|
+
/** Date and time at which the event occurred. */
|
|
202680
|
+
occurred_at: string
|
|
202681
|
+
/** 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. */
|
|
202682
|
+
event_description?: string | undefined
|
|
202683
|
+
/** ID of the affected device. */
|
|
202684
|
+
device_id: string
|
|
202685
|
+
/** ID of the connected account associated with the event. */
|
|
202686
|
+
connected_account_id: string
|
|
202687
|
+
/** The customer key associated with the device, if any. */
|
|
202688
|
+
customer_key?: string | undefined
|
|
202689
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
202690
|
+
device_custom_metadata?:
|
|
202691
|
+
| {
|
|
202692
|
+
[x: string]: string | boolean
|
|
202693
|
+
}
|
|
202694
|
+
| undefined
|
|
202695
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
202696
|
+
connected_account_custom_metadata?:
|
|
202697
|
+
| {
|
|
202698
|
+
[x: string]: string | boolean
|
|
202699
|
+
}
|
|
202700
|
+
| undefined
|
|
202701
|
+
event_type: 'lock.jammed'
|
|
202702
|
+
}
|
|
202703
|
+
| {
|
|
202704
|
+
/** ID of the event. */
|
|
202705
|
+
event_id: string
|
|
202706
|
+
/** ID of the workspace associated with the event. */
|
|
202707
|
+
workspace_id: string
|
|
202708
|
+
/** Date and time at which the event was created. */
|
|
202709
|
+
created_at: string
|
|
202710
|
+
/** Date and time at which the event occurred. */
|
|
202711
|
+
occurred_at: string
|
|
202712
|
+
/** 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. */
|
|
202713
|
+
event_description?: string | undefined
|
|
202714
|
+
/** ID of the affected device. */
|
|
202715
|
+
device_id: string
|
|
202716
|
+
/** ID of the connected account associated with the event. */
|
|
202717
|
+
connected_account_id: string
|
|
202718
|
+
/** The customer key associated with the device, if any. */
|
|
202719
|
+
customer_key?: string | undefined
|
|
202720
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
202721
|
+
device_custom_metadata?:
|
|
202722
|
+
| {
|
|
202723
|
+
[x: string]: string | boolean
|
|
202724
|
+
}
|
|
202725
|
+
| undefined
|
|
202726
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
202727
|
+
connected_account_custom_metadata?:
|
|
202728
|
+
| {
|
|
202729
|
+
[x: string]: string | boolean
|
|
202730
|
+
}
|
|
202731
|
+
| undefined
|
|
202732
|
+
event_type: 'lock.door_opened'
|
|
202733
|
+
}
|
|
202734
|
+
| {
|
|
202735
|
+
/** ID of the event. */
|
|
202736
|
+
event_id: string
|
|
202737
|
+
/** ID of the workspace associated with the event. */
|
|
202738
|
+
workspace_id: string
|
|
202739
|
+
/** Date and time at which the event was created. */
|
|
202740
|
+
created_at: string
|
|
202741
|
+
/** Date and time at which the event occurred. */
|
|
202742
|
+
occurred_at: string
|
|
202743
|
+
/** 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. */
|
|
202744
|
+
event_description?: string | undefined
|
|
202745
|
+
/** ID of the affected device. */
|
|
202746
|
+
device_id: string
|
|
202747
|
+
/** ID of the connected account associated with the event. */
|
|
202748
|
+
connected_account_id: string
|
|
202749
|
+
/** The customer key associated with the device, if any. */
|
|
202750
|
+
customer_key?: string | undefined
|
|
202751
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
202752
|
+
device_custom_metadata?:
|
|
202753
|
+
| {
|
|
202754
|
+
[x: string]: string | boolean
|
|
202755
|
+
}
|
|
202756
|
+
| undefined
|
|
202757
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
202758
|
+
connected_account_custom_metadata?:
|
|
202759
|
+
| {
|
|
202760
|
+
[x: string]: string | boolean
|
|
202761
|
+
}
|
|
202762
|
+
| undefined
|
|
202763
|
+
event_type: 'lock.door_closed'
|
|
202764
|
+
}
|
|
202282
202765
|
| {
|
|
202283
202766
|
/** ID of the event. */
|
|
202284
202767
|
event_id: string
|