@seamapi/types 1.1181.0 → 1.1183.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 +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 +321 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +423 -6
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +36 -0
- package/src/lib/seam/connect/openapi.ts +340 -0
- package/src/lib/seam/connect/route-types.ts +510 -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
|
|
@@ -109674,6 +109866,8 @@ export type Routes = {
|
|
|
109674
109866
|
used_credits: number | null
|
|
109675
109867
|
remaining_credits: number | null
|
|
109676
109868
|
is_credits_used_up: boolean
|
|
109869
|
+
can_extend_trial: boolean
|
|
109870
|
+
extended_trial_ends_at: string | null
|
|
109677
109871
|
} | null
|
|
109678
109872
|
usage: {
|
|
109679
109873
|
as_of: string
|
|
@@ -109980,6 +110174,31 @@ export type Routes = {
|
|
|
109980
110174
|
}
|
|
109981
110175
|
maxDuration: undefined
|
|
109982
110176
|
}
|
|
110177
|
+
'/seam/console/v1/credits/trial/extend': {
|
|
110178
|
+
route: '/seam/console/v1/credits/trial/extend'
|
|
110179
|
+
method: 'POST'
|
|
110180
|
+
queryParams: {}
|
|
110181
|
+
jsonBody: {
|
|
110182
|
+
organization_id: string
|
|
110183
|
+
}
|
|
110184
|
+
commonParams: {}
|
|
110185
|
+
formData: {}
|
|
110186
|
+
jsonResponse: {
|
|
110187
|
+
trial: {
|
|
110188
|
+
trial_started_at: string
|
|
110189
|
+
trial_ends_at: string
|
|
110190
|
+
is_active: boolean
|
|
110191
|
+
is_suspended: boolean
|
|
110192
|
+
trial_credits: number
|
|
110193
|
+
used_credits: number | null
|
|
110194
|
+
remaining_credits: number | null
|
|
110195
|
+
is_credits_used_up: boolean
|
|
110196
|
+
can_extend_trial: boolean
|
|
110197
|
+
extended_trial_ends_at: string | null
|
|
110198
|
+
}
|
|
110199
|
+
}
|
|
110200
|
+
maxDuration: undefined
|
|
110201
|
+
}
|
|
109983
110202
|
'/seam/console/v1/credits/usage/get': {
|
|
109984
110203
|
route: '/seam/console/v1/credits/usage/get'
|
|
109985
110204
|
method: 'POST'
|
|
@@ -115969,6 +116188,9 @@ export type Routes = {
|
|
|
115969
116188
|
| 'lock.locked'
|
|
115970
116189
|
| 'lock.unlocked'
|
|
115971
116190
|
| 'lock.access_denied'
|
|
116191
|
+
| 'lock.jammed'
|
|
116192
|
+
| 'lock.door_opened'
|
|
116193
|
+
| 'lock.door_closed'
|
|
115972
116194
|
| 'thermostat.climate_preset_activated'
|
|
115973
116195
|
| 'thermostat.manually_adjusted'
|
|
115974
116196
|
| 'thermostat.temperature_threshold_exceeded'
|
|
@@ -116088,6 +116310,9 @@ export type Routes = {
|
|
|
116088
116310
|
| 'lock.locked'
|
|
116089
116311
|
| 'lock.unlocked'
|
|
116090
116312
|
| 'lock.access_denied'
|
|
116313
|
+
| 'lock.jammed'
|
|
116314
|
+
| 'lock.door_opened'
|
|
116315
|
+
| 'lock.door_closed'
|
|
116091
116316
|
| 'thermostat.climate_preset_activated'
|
|
116092
116317
|
| 'thermostat.manually_adjusted'
|
|
116093
116318
|
| 'thermostat.temperature_threshold_exceeded'
|
|
@@ -119643,6 +119868,99 @@ export type Routes = {
|
|
|
119643
119868
|
}
|
|
119644
119869
|
| undefined
|
|
119645
119870
|
}
|
|
119871
|
+
| {
|
|
119872
|
+
/** ID of the event. */
|
|
119873
|
+
event_id: string
|
|
119874
|
+
/** ID of the workspace associated with the event. */
|
|
119875
|
+
workspace_id: string
|
|
119876
|
+
/** Date and time at which the event was created. */
|
|
119877
|
+
created_at: string
|
|
119878
|
+
/** Date and time at which the event occurred. */
|
|
119879
|
+
occurred_at: string
|
|
119880
|
+
/** 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. */
|
|
119881
|
+
event_description?: string | undefined
|
|
119882
|
+
/** ID of the affected device. */
|
|
119883
|
+
device_id: string
|
|
119884
|
+
/** ID of the connected account associated with the event. */
|
|
119885
|
+
connected_account_id: string
|
|
119886
|
+
/** The customer key associated with the device, if any. */
|
|
119887
|
+
customer_key?: string | undefined
|
|
119888
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
119889
|
+
device_custom_metadata?:
|
|
119890
|
+
| {
|
|
119891
|
+
[x: string]: string | boolean
|
|
119892
|
+
}
|
|
119893
|
+
| undefined
|
|
119894
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
119895
|
+
connected_account_custom_metadata?:
|
|
119896
|
+
| {
|
|
119897
|
+
[x: string]: string | boolean
|
|
119898
|
+
}
|
|
119899
|
+
| undefined
|
|
119900
|
+
event_type: 'lock.jammed'
|
|
119901
|
+
}
|
|
119902
|
+
| {
|
|
119903
|
+
/** ID of the event. */
|
|
119904
|
+
event_id: string
|
|
119905
|
+
/** ID of the workspace associated with the event. */
|
|
119906
|
+
workspace_id: string
|
|
119907
|
+
/** Date and time at which the event was created. */
|
|
119908
|
+
created_at: string
|
|
119909
|
+
/** Date and time at which the event occurred. */
|
|
119910
|
+
occurred_at: string
|
|
119911
|
+
/** 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. */
|
|
119912
|
+
event_description?: string | undefined
|
|
119913
|
+
/** ID of the affected device. */
|
|
119914
|
+
device_id: string
|
|
119915
|
+
/** ID of the connected account associated with the event. */
|
|
119916
|
+
connected_account_id: string
|
|
119917
|
+
/** The customer key associated with the device, if any. */
|
|
119918
|
+
customer_key?: string | undefined
|
|
119919
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
119920
|
+
device_custom_metadata?:
|
|
119921
|
+
| {
|
|
119922
|
+
[x: string]: string | boolean
|
|
119923
|
+
}
|
|
119924
|
+
| undefined
|
|
119925
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
119926
|
+
connected_account_custom_metadata?:
|
|
119927
|
+
| {
|
|
119928
|
+
[x: string]: string | boolean
|
|
119929
|
+
}
|
|
119930
|
+
| undefined
|
|
119931
|
+
event_type: 'lock.door_opened'
|
|
119932
|
+
}
|
|
119933
|
+
| {
|
|
119934
|
+
/** ID of the event. */
|
|
119935
|
+
event_id: string
|
|
119936
|
+
/** ID of the workspace associated with the event. */
|
|
119937
|
+
workspace_id: string
|
|
119938
|
+
/** Date and time at which the event was created. */
|
|
119939
|
+
created_at: string
|
|
119940
|
+
/** Date and time at which the event occurred. */
|
|
119941
|
+
occurred_at: string
|
|
119942
|
+
/** 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. */
|
|
119943
|
+
event_description?: string | undefined
|
|
119944
|
+
/** ID of the affected device. */
|
|
119945
|
+
device_id: string
|
|
119946
|
+
/** ID of the connected account associated with the event. */
|
|
119947
|
+
connected_account_id: string
|
|
119948
|
+
/** The customer key associated with the device, if any. */
|
|
119949
|
+
customer_key?: string | undefined
|
|
119950
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
119951
|
+
device_custom_metadata?:
|
|
119952
|
+
| {
|
|
119953
|
+
[x: string]: string | boolean
|
|
119954
|
+
}
|
|
119955
|
+
| undefined
|
|
119956
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
119957
|
+
connected_account_custom_metadata?:
|
|
119958
|
+
| {
|
|
119959
|
+
[x: string]: string | boolean
|
|
119960
|
+
}
|
|
119961
|
+
| undefined
|
|
119962
|
+
event_type: 'lock.door_closed'
|
|
119963
|
+
}
|
|
119646
119964
|
| {
|
|
119647
119965
|
/** ID of the event. */
|
|
119648
119966
|
event_id: string
|
|
@@ -122786,6 +123104,9 @@ export type Routes = {
|
|
|
122786
123104
|
| 'lock.locked'
|
|
122787
123105
|
| 'lock.unlocked'
|
|
122788
123106
|
| 'lock.access_denied'
|
|
123107
|
+
| 'lock.jammed'
|
|
123108
|
+
| 'lock.door_opened'
|
|
123109
|
+
| 'lock.door_closed'
|
|
122789
123110
|
| 'thermostat.climate_preset_activated'
|
|
122790
123111
|
| 'thermostat.manually_adjusted'
|
|
122791
123112
|
| 'thermostat.temperature_threshold_exceeded'
|
|
@@ -122928,6 +123249,9 @@ export type Routes = {
|
|
|
122928
123249
|
| 'lock.locked'
|
|
122929
123250
|
| 'lock.unlocked'
|
|
122930
123251
|
| 'lock.access_denied'
|
|
123252
|
+
| 'lock.jammed'
|
|
123253
|
+
| 'lock.door_opened'
|
|
123254
|
+
| 'lock.door_closed'
|
|
122931
123255
|
| 'thermostat.climate_preset_activated'
|
|
122932
123256
|
| 'thermostat.manually_adjusted'
|
|
122933
123257
|
| 'thermostat.temperature_threshold_exceeded'
|
|
@@ -126487,6 +126811,99 @@ export type Routes = {
|
|
|
126487
126811
|
}
|
|
126488
126812
|
| undefined
|
|
126489
126813
|
}
|
|
126814
|
+
| {
|
|
126815
|
+
/** ID of the event. */
|
|
126816
|
+
event_id: string
|
|
126817
|
+
/** ID of the workspace associated with the event. */
|
|
126818
|
+
workspace_id: string
|
|
126819
|
+
/** Date and time at which the event was created. */
|
|
126820
|
+
created_at: string
|
|
126821
|
+
/** Date and time at which the event occurred. */
|
|
126822
|
+
occurred_at: string
|
|
126823
|
+
/** 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. */
|
|
126824
|
+
event_description?: string | undefined
|
|
126825
|
+
/** ID of the affected device. */
|
|
126826
|
+
device_id: string
|
|
126827
|
+
/** ID of the connected account associated with the event. */
|
|
126828
|
+
connected_account_id: string
|
|
126829
|
+
/** The customer key associated with the device, if any. */
|
|
126830
|
+
customer_key?: string | undefined
|
|
126831
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
126832
|
+
device_custom_metadata?:
|
|
126833
|
+
| {
|
|
126834
|
+
[x: string]: string | boolean
|
|
126835
|
+
}
|
|
126836
|
+
| undefined
|
|
126837
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
126838
|
+
connected_account_custom_metadata?:
|
|
126839
|
+
| {
|
|
126840
|
+
[x: string]: string | boolean
|
|
126841
|
+
}
|
|
126842
|
+
| undefined
|
|
126843
|
+
event_type: 'lock.jammed'
|
|
126844
|
+
}
|
|
126845
|
+
| {
|
|
126846
|
+
/** ID of the event. */
|
|
126847
|
+
event_id: string
|
|
126848
|
+
/** ID of the workspace associated with the event. */
|
|
126849
|
+
workspace_id: string
|
|
126850
|
+
/** Date and time at which the event was created. */
|
|
126851
|
+
created_at: string
|
|
126852
|
+
/** Date and time at which the event occurred. */
|
|
126853
|
+
occurred_at: string
|
|
126854
|
+
/** 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. */
|
|
126855
|
+
event_description?: string | undefined
|
|
126856
|
+
/** ID of the affected device. */
|
|
126857
|
+
device_id: string
|
|
126858
|
+
/** ID of the connected account associated with the event. */
|
|
126859
|
+
connected_account_id: string
|
|
126860
|
+
/** The customer key associated with the device, if any. */
|
|
126861
|
+
customer_key?: string | undefined
|
|
126862
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
126863
|
+
device_custom_metadata?:
|
|
126864
|
+
| {
|
|
126865
|
+
[x: string]: string | boolean
|
|
126866
|
+
}
|
|
126867
|
+
| undefined
|
|
126868
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
126869
|
+
connected_account_custom_metadata?:
|
|
126870
|
+
| {
|
|
126871
|
+
[x: string]: string | boolean
|
|
126872
|
+
}
|
|
126873
|
+
| undefined
|
|
126874
|
+
event_type: 'lock.door_opened'
|
|
126875
|
+
}
|
|
126876
|
+
| {
|
|
126877
|
+
/** ID of the event. */
|
|
126878
|
+
event_id: string
|
|
126879
|
+
/** ID of the workspace associated with the event. */
|
|
126880
|
+
workspace_id: string
|
|
126881
|
+
/** Date and time at which the event was created. */
|
|
126882
|
+
created_at: string
|
|
126883
|
+
/** Date and time at which the event occurred. */
|
|
126884
|
+
occurred_at: string
|
|
126885
|
+
/** 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. */
|
|
126886
|
+
event_description?: string | undefined
|
|
126887
|
+
/** ID of the affected device. */
|
|
126888
|
+
device_id: string
|
|
126889
|
+
/** ID of the connected account associated with the event. */
|
|
126890
|
+
connected_account_id: string
|
|
126891
|
+
/** The customer key associated with the device, if any. */
|
|
126892
|
+
customer_key?: string | undefined
|
|
126893
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
126894
|
+
device_custom_metadata?:
|
|
126895
|
+
| {
|
|
126896
|
+
[x: string]: string | boolean
|
|
126897
|
+
}
|
|
126898
|
+
| undefined
|
|
126899
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
126900
|
+
connected_account_custom_metadata?:
|
|
126901
|
+
| {
|
|
126902
|
+
[x: string]: string | boolean
|
|
126903
|
+
}
|
|
126904
|
+
| undefined
|
|
126905
|
+
event_type: 'lock.door_closed'
|
|
126906
|
+
}
|
|
126490
126907
|
| {
|
|
126491
126908
|
/** ID of the event. */
|
|
126492
126909
|
event_id: string
|
|
@@ -202279,6 +202696,99 @@ export type Routes = {
|
|
|
202279
202696
|
}
|
|
202280
202697
|
| undefined
|
|
202281
202698
|
}
|
|
202699
|
+
| {
|
|
202700
|
+
/** ID of the event. */
|
|
202701
|
+
event_id: string
|
|
202702
|
+
/** ID of the workspace associated with the event. */
|
|
202703
|
+
workspace_id: string
|
|
202704
|
+
/** Date and time at which the event was created. */
|
|
202705
|
+
created_at: string
|
|
202706
|
+
/** Date and time at which the event occurred. */
|
|
202707
|
+
occurred_at: string
|
|
202708
|
+
/** 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. */
|
|
202709
|
+
event_description?: string | undefined
|
|
202710
|
+
/** ID of the affected device. */
|
|
202711
|
+
device_id: string
|
|
202712
|
+
/** ID of the connected account associated with the event. */
|
|
202713
|
+
connected_account_id: string
|
|
202714
|
+
/** The customer key associated with the device, if any. */
|
|
202715
|
+
customer_key?: string | undefined
|
|
202716
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
202717
|
+
device_custom_metadata?:
|
|
202718
|
+
| {
|
|
202719
|
+
[x: string]: string | boolean
|
|
202720
|
+
}
|
|
202721
|
+
| undefined
|
|
202722
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
202723
|
+
connected_account_custom_metadata?:
|
|
202724
|
+
| {
|
|
202725
|
+
[x: string]: string | boolean
|
|
202726
|
+
}
|
|
202727
|
+
| undefined
|
|
202728
|
+
event_type: 'lock.jammed'
|
|
202729
|
+
}
|
|
202730
|
+
| {
|
|
202731
|
+
/** ID of the event. */
|
|
202732
|
+
event_id: string
|
|
202733
|
+
/** ID of the workspace associated with the event. */
|
|
202734
|
+
workspace_id: string
|
|
202735
|
+
/** Date and time at which the event was created. */
|
|
202736
|
+
created_at: string
|
|
202737
|
+
/** Date and time at which the event occurred. */
|
|
202738
|
+
occurred_at: string
|
|
202739
|
+
/** 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. */
|
|
202740
|
+
event_description?: string | undefined
|
|
202741
|
+
/** ID of the affected device. */
|
|
202742
|
+
device_id: string
|
|
202743
|
+
/** ID of the connected account associated with the event. */
|
|
202744
|
+
connected_account_id: string
|
|
202745
|
+
/** The customer key associated with the device, if any. */
|
|
202746
|
+
customer_key?: string | undefined
|
|
202747
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
202748
|
+
device_custom_metadata?:
|
|
202749
|
+
| {
|
|
202750
|
+
[x: string]: string | boolean
|
|
202751
|
+
}
|
|
202752
|
+
| undefined
|
|
202753
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
202754
|
+
connected_account_custom_metadata?:
|
|
202755
|
+
| {
|
|
202756
|
+
[x: string]: string | boolean
|
|
202757
|
+
}
|
|
202758
|
+
| undefined
|
|
202759
|
+
event_type: 'lock.door_opened'
|
|
202760
|
+
}
|
|
202761
|
+
| {
|
|
202762
|
+
/** ID of the event. */
|
|
202763
|
+
event_id: string
|
|
202764
|
+
/** ID of the workspace associated with the event. */
|
|
202765
|
+
workspace_id: string
|
|
202766
|
+
/** Date and time at which the event was created. */
|
|
202767
|
+
created_at: string
|
|
202768
|
+
/** Date and time at which the event occurred. */
|
|
202769
|
+
occurred_at: string
|
|
202770
|
+
/** 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. */
|
|
202771
|
+
event_description?: string | undefined
|
|
202772
|
+
/** ID of the affected device. */
|
|
202773
|
+
device_id: string
|
|
202774
|
+
/** ID of the connected account associated with the event. */
|
|
202775
|
+
connected_account_id: string
|
|
202776
|
+
/** The customer key associated with the device, if any. */
|
|
202777
|
+
customer_key?: string | undefined
|
|
202778
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
202779
|
+
device_custom_metadata?:
|
|
202780
|
+
| {
|
|
202781
|
+
[x: string]: string | boolean
|
|
202782
|
+
}
|
|
202783
|
+
| undefined
|
|
202784
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
202785
|
+
connected_account_custom_metadata?:
|
|
202786
|
+
| {
|
|
202787
|
+
[x: string]: string | boolean
|
|
202788
|
+
}
|
|
202789
|
+
| undefined
|
|
202790
|
+
event_type: 'lock.door_closed'
|
|
202791
|
+
}
|
|
202282
202792
|
| {
|
|
202283
202793
|
/** ID of the event. */
|
|
202284
202794
|
event_id: string
|