@seamapi/types 1.312.2 → 1.313.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +909 -1184
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +733 -780
- package/lib/seam/connect/models/events/common.js +10 -24
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/devices.js +145 -98
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +37 -134
- package/lib/seam/connect/openapi.js +431 -712
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +696 -646
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/common.ts +12 -24
- package/src/lib/seam/connect/models/events/devices.ts +212 -101
- package/src/lib/seam/connect/openapi.ts +556 -712
- package/src/lib/seam/connect/route-types.ts +696 -646
|
@@ -11610,13 +11610,13 @@ export interface Routes {
|
|
|
11610
11610
|
formData: {};
|
|
11611
11611
|
jsonResponse: {
|
|
11612
11612
|
event?: ({
|
|
11613
|
-
/**
|
|
11613
|
+
/** ID of the event. */
|
|
11614
11614
|
event_id: string;
|
|
11615
|
-
/**
|
|
11615
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11616
11616
|
workspace_id: string;
|
|
11617
|
-
/**
|
|
11617
|
+
/** Time at which the event was created. */
|
|
11618
11618
|
created_at: string;
|
|
11619
|
-
/**
|
|
11619
|
+
/** Time when the event occurred. */
|
|
11620
11620
|
occurred_at: string;
|
|
11621
11621
|
/** The ID of the access code. */
|
|
11622
11622
|
access_code_id: string;
|
|
@@ -11626,13 +11626,13 @@ export interface Routes {
|
|
|
11626
11626
|
connected_account_id: string;
|
|
11627
11627
|
event_type: 'access_code.created';
|
|
11628
11628
|
} | {
|
|
11629
|
-
/**
|
|
11629
|
+
/** ID of the event. */
|
|
11630
11630
|
event_id: string;
|
|
11631
|
-
/**
|
|
11631
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11632
11632
|
workspace_id: string;
|
|
11633
|
-
/**
|
|
11633
|
+
/** Time at which the event was created. */
|
|
11634
11634
|
created_at: string;
|
|
11635
|
-
/**
|
|
11635
|
+
/** Time when the event occurred. */
|
|
11636
11636
|
occurred_at: string;
|
|
11637
11637
|
/** The ID of the access code. */
|
|
11638
11638
|
access_code_id: string;
|
|
@@ -11642,13 +11642,13 @@ export interface Routes {
|
|
|
11642
11642
|
connected_account_id: string;
|
|
11643
11643
|
event_type: 'access_code.changed';
|
|
11644
11644
|
} | {
|
|
11645
|
-
/**
|
|
11645
|
+
/** ID of the event. */
|
|
11646
11646
|
event_id: string;
|
|
11647
|
-
/**
|
|
11647
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11648
11648
|
workspace_id: string;
|
|
11649
|
-
/**
|
|
11649
|
+
/** Time at which the event was created. */
|
|
11650
11650
|
created_at: string;
|
|
11651
|
-
/**
|
|
11651
|
+
/** Time when the event occurred. */
|
|
11652
11652
|
occurred_at: string;
|
|
11653
11653
|
/** The ID of the access code. */
|
|
11654
11654
|
access_code_id: string;
|
|
@@ -11660,13 +11660,13 @@ export interface Routes {
|
|
|
11660
11660
|
/** The code of the access code. */
|
|
11661
11661
|
code: string;
|
|
11662
11662
|
} | {
|
|
11663
|
-
/**
|
|
11663
|
+
/** ID of the event. */
|
|
11664
11664
|
event_id: string;
|
|
11665
|
-
/**
|
|
11665
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11666
11666
|
workspace_id: string;
|
|
11667
|
-
/**
|
|
11667
|
+
/** Time at which the event was created. */
|
|
11668
11668
|
created_at: string;
|
|
11669
|
-
/**
|
|
11669
|
+
/** Time when the event occurred. */
|
|
11670
11670
|
occurred_at: string;
|
|
11671
11671
|
/** The ID of the access code. */
|
|
11672
11672
|
access_code_id: string;
|
|
@@ -11678,13 +11678,13 @@ export interface Routes {
|
|
|
11678
11678
|
/** The code of the access code. */
|
|
11679
11679
|
code: string;
|
|
11680
11680
|
} | {
|
|
11681
|
-
/**
|
|
11681
|
+
/** ID of the event. */
|
|
11682
11682
|
event_id: string;
|
|
11683
|
-
/**
|
|
11683
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11684
11684
|
workspace_id: string;
|
|
11685
|
-
/**
|
|
11685
|
+
/** Time at which the event was created. */
|
|
11686
11686
|
created_at: string;
|
|
11687
|
-
/**
|
|
11687
|
+
/** Time when the event occurred. */
|
|
11688
11688
|
occurred_at: string;
|
|
11689
11689
|
/** The ID of the access code. */
|
|
11690
11690
|
access_code_id: string;
|
|
@@ -11694,13 +11694,13 @@ export interface Routes {
|
|
|
11694
11694
|
connected_account_id: string;
|
|
11695
11695
|
event_type: 'access_code.removed_from_device';
|
|
11696
11696
|
} | {
|
|
11697
|
-
/**
|
|
11697
|
+
/** ID of the event. */
|
|
11698
11698
|
event_id: string;
|
|
11699
|
-
/**
|
|
11699
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11700
11700
|
workspace_id: string;
|
|
11701
|
-
/**
|
|
11701
|
+
/** Time at which the event was created. */
|
|
11702
11702
|
created_at: string;
|
|
11703
|
-
/**
|
|
11703
|
+
/** Time when the event occurred. */
|
|
11704
11704
|
occurred_at: string;
|
|
11705
11705
|
/** The ID of the access code. */
|
|
11706
11706
|
access_code_id: string;
|
|
@@ -11710,13 +11710,13 @@ export interface Routes {
|
|
|
11710
11710
|
connected_account_id: string;
|
|
11711
11711
|
event_type: 'access_code.delay_in_setting_on_device';
|
|
11712
11712
|
} | {
|
|
11713
|
-
/**
|
|
11713
|
+
/** ID of the event. */
|
|
11714
11714
|
event_id: string;
|
|
11715
|
-
/**
|
|
11715
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11716
11716
|
workspace_id: string;
|
|
11717
|
-
/**
|
|
11717
|
+
/** Time at which the event was created. */
|
|
11718
11718
|
created_at: string;
|
|
11719
|
-
/**
|
|
11719
|
+
/** Time when the event occurred. */
|
|
11720
11720
|
occurred_at: string;
|
|
11721
11721
|
/** The ID of the access code. */
|
|
11722
11722
|
access_code_id: string;
|
|
@@ -11726,13 +11726,13 @@ export interface Routes {
|
|
|
11726
11726
|
connected_account_id: string;
|
|
11727
11727
|
event_type: 'access_code.failed_to_set_on_device';
|
|
11728
11728
|
} | {
|
|
11729
|
-
/**
|
|
11729
|
+
/** ID of the event. */
|
|
11730
11730
|
event_id: string;
|
|
11731
|
-
/**
|
|
11731
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11732
11732
|
workspace_id: string;
|
|
11733
|
-
/**
|
|
11733
|
+
/** Time at which the event was created. */
|
|
11734
11734
|
created_at: string;
|
|
11735
|
-
/**
|
|
11735
|
+
/** Time when the event occurred. */
|
|
11736
11736
|
occurred_at: string;
|
|
11737
11737
|
/** The ID of the access code. */
|
|
11738
11738
|
access_code_id: string;
|
|
@@ -11744,13 +11744,13 @@ export interface Routes {
|
|
|
11744
11744
|
/** The code of the access code. */
|
|
11745
11745
|
code: string | null;
|
|
11746
11746
|
} | {
|
|
11747
|
-
/**
|
|
11747
|
+
/** ID of the event. */
|
|
11748
11748
|
event_id: string;
|
|
11749
|
-
/**
|
|
11749
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11750
11750
|
workspace_id: string;
|
|
11751
|
-
/**
|
|
11751
|
+
/** Time at which the event was created. */
|
|
11752
11752
|
created_at: string;
|
|
11753
|
-
/**
|
|
11753
|
+
/** Time when the event occurred. */
|
|
11754
11754
|
occurred_at: string;
|
|
11755
11755
|
/** The ID of the access code. */
|
|
11756
11756
|
access_code_id: string;
|
|
@@ -11760,13 +11760,13 @@ export interface Routes {
|
|
|
11760
11760
|
connected_account_id: string;
|
|
11761
11761
|
event_type: 'access_code.delay_in_removing_from_device';
|
|
11762
11762
|
} | {
|
|
11763
|
-
/**
|
|
11763
|
+
/** ID of the event. */
|
|
11764
11764
|
event_id: string;
|
|
11765
|
-
/**
|
|
11765
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11766
11766
|
workspace_id: string;
|
|
11767
|
-
/**
|
|
11767
|
+
/** Time at which the event was created. */
|
|
11768
11768
|
created_at: string;
|
|
11769
|
-
/**
|
|
11769
|
+
/** Time when the event occurred. */
|
|
11770
11770
|
occurred_at: string;
|
|
11771
11771
|
/** The ID of the access code. */
|
|
11772
11772
|
access_code_id: string;
|
|
@@ -11776,13 +11776,13 @@ export interface Routes {
|
|
|
11776
11776
|
connected_account_id: string;
|
|
11777
11777
|
event_type: 'access_code.failed_to_remove_from_device';
|
|
11778
11778
|
} | {
|
|
11779
|
-
/**
|
|
11779
|
+
/** ID of the event. */
|
|
11780
11780
|
event_id: string;
|
|
11781
|
-
/**
|
|
11781
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11782
11782
|
workspace_id: string;
|
|
11783
|
-
/**
|
|
11783
|
+
/** Time at which the event was created. */
|
|
11784
11784
|
created_at: string;
|
|
11785
|
-
/**
|
|
11785
|
+
/** Time when the event occurred. */
|
|
11786
11786
|
occurred_at: string;
|
|
11787
11787
|
/** The ID of the access code. */
|
|
11788
11788
|
access_code_id: string;
|
|
@@ -11792,13 +11792,13 @@ export interface Routes {
|
|
|
11792
11792
|
connected_account_id: string;
|
|
11793
11793
|
event_type: 'access_code.modified_external_to_seam';
|
|
11794
11794
|
} | {
|
|
11795
|
-
/**
|
|
11795
|
+
/** ID of the event. */
|
|
11796
11796
|
event_id: string;
|
|
11797
|
-
/**
|
|
11797
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11798
11798
|
workspace_id: string;
|
|
11799
|
-
/**
|
|
11799
|
+
/** Time at which the event was created. */
|
|
11800
11800
|
created_at: string;
|
|
11801
|
-
/**
|
|
11801
|
+
/** Time when the event occurred. */
|
|
11802
11802
|
occurred_at: string;
|
|
11803
11803
|
/** The ID of the access code. */
|
|
11804
11804
|
access_code_id: string;
|
|
@@ -11808,13 +11808,13 @@ export interface Routes {
|
|
|
11808
11808
|
connected_account_id: string;
|
|
11809
11809
|
event_type: 'access_code.deleted_external_to_seam';
|
|
11810
11810
|
} | {
|
|
11811
|
-
/**
|
|
11811
|
+
/** ID of the event. */
|
|
11812
11812
|
event_id: string;
|
|
11813
|
-
/**
|
|
11813
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11814
11814
|
workspace_id: string;
|
|
11815
|
-
/**
|
|
11815
|
+
/** Time at which the event was created. */
|
|
11816
11816
|
created_at: string;
|
|
11817
|
-
/**
|
|
11817
|
+
/** Time when the event occurred. */
|
|
11818
11818
|
occurred_at: string;
|
|
11819
11819
|
/** The ID of the access code. */
|
|
11820
11820
|
access_code_id: string;
|
|
@@ -11825,13 +11825,13 @@ export interface Routes {
|
|
|
11825
11825
|
event_type: 'access_code.backup_access_code_pulled';
|
|
11826
11826
|
backup_access_code_id: string;
|
|
11827
11827
|
} | {
|
|
11828
|
-
/**
|
|
11828
|
+
/** ID of the event. */
|
|
11829
11829
|
event_id: string;
|
|
11830
|
-
/**
|
|
11830
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11831
11831
|
workspace_id: string;
|
|
11832
|
-
/**
|
|
11832
|
+
/** Time at which the event was created. */
|
|
11833
11833
|
created_at: string;
|
|
11834
|
-
/**
|
|
11834
|
+
/** Time when the event occurred. */
|
|
11835
11835
|
occurred_at: string;
|
|
11836
11836
|
/** The ID of the access code. */
|
|
11837
11837
|
access_code_id: string;
|
|
@@ -11841,13 +11841,13 @@ export interface Routes {
|
|
|
11841
11841
|
connected_account_id: string;
|
|
11842
11842
|
event_type: 'access_code.unmanaged.converted_to_managed';
|
|
11843
11843
|
} | {
|
|
11844
|
-
/**
|
|
11844
|
+
/** ID of the event. */
|
|
11845
11845
|
event_id: string;
|
|
11846
|
-
/**
|
|
11846
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11847
11847
|
workspace_id: string;
|
|
11848
|
-
/**
|
|
11848
|
+
/** Time at which the event was created. */
|
|
11849
11849
|
created_at: string;
|
|
11850
|
-
/**
|
|
11850
|
+
/** Time when the event occurred. */
|
|
11851
11851
|
occurred_at: string;
|
|
11852
11852
|
/** The ID of the access code. */
|
|
11853
11853
|
access_code_id: string;
|
|
@@ -11857,13 +11857,13 @@ export interface Routes {
|
|
|
11857
11857
|
connected_account_id: string;
|
|
11858
11858
|
event_type: 'access_code.unmanaged.failed_to_convert_to_managed';
|
|
11859
11859
|
} | {
|
|
11860
|
-
/**
|
|
11860
|
+
/** ID of the event. */
|
|
11861
11861
|
event_id: string;
|
|
11862
|
-
/**
|
|
11862
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11863
11863
|
workspace_id: string;
|
|
11864
|
-
/**
|
|
11864
|
+
/** Time at which the event was created. */
|
|
11865
11865
|
created_at: string;
|
|
11866
|
-
/**
|
|
11866
|
+
/** Time when the event occurred. */
|
|
11867
11867
|
occurred_at: string;
|
|
11868
11868
|
/** The ID of the access code. */
|
|
11869
11869
|
access_code_id: string;
|
|
@@ -11873,13 +11873,13 @@ export interface Routes {
|
|
|
11873
11873
|
connected_account_id: string;
|
|
11874
11874
|
event_type: 'access_code.unmanaged.created';
|
|
11875
11875
|
} | {
|
|
11876
|
-
/**
|
|
11876
|
+
/** ID of the event. */
|
|
11877
11877
|
event_id: string;
|
|
11878
|
-
/**
|
|
11878
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11879
11879
|
workspace_id: string;
|
|
11880
|
-
/**
|
|
11880
|
+
/** Time at which the event was created. */
|
|
11881
11881
|
created_at: string;
|
|
11882
|
-
/**
|
|
11882
|
+
/** Time when the event occurred. */
|
|
11883
11883
|
occurred_at: string;
|
|
11884
11884
|
/** The ID of the access code. */
|
|
11885
11885
|
access_code_id: string;
|
|
@@ -11889,13 +11889,13 @@ export interface Routes {
|
|
|
11889
11889
|
connected_account_id: string;
|
|
11890
11890
|
event_type: 'access_code.unmanaged.removed';
|
|
11891
11891
|
} | {
|
|
11892
|
-
/**
|
|
11892
|
+
/** ID of the event. */
|
|
11893
11893
|
event_id: string;
|
|
11894
|
-
/**
|
|
11894
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11895
11895
|
workspace_id: string;
|
|
11896
|
-
/**
|
|
11896
|
+
/** Time at which the event was created. */
|
|
11897
11897
|
created_at: string;
|
|
11898
|
-
/**
|
|
11898
|
+
/** Time when the event occurred. */
|
|
11899
11899
|
occurred_at: string;
|
|
11900
11900
|
/** ID of the connected account.
|
|
11901
11901
|
* @deprecated Will be removed. */
|
|
@@ -11904,13 +11904,13 @@ export interface Routes {
|
|
|
11904
11904
|
acs_system_id: string;
|
|
11905
11905
|
event_type: 'acs_system.connected';
|
|
11906
11906
|
} | {
|
|
11907
|
-
/**
|
|
11907
|
+
/** ID of the event. */
|
|
11908
11908
|
event_id: string;
|
|
11909
|
-
/**
|
|
11909
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11910
11910
|
workspace_id: string;
|
|
11911
|
-
/**
|
|
11911
|
+
/** Time at which the event was created. */
|
|
11912
11912
|
created_at: string;
|
|
11913
|
-
/**
|
|
11913
|
+
/** Time when the event occurred. */
|
|
11914
11914
|
occurred_at: string;
|
|
11915
11915
|
/** ID of the connected account.
|
|
11916
11916
|
* @deprecated Will be removed. */
|
|
@@ -11919,13 +11919,13 @@ export interface Routes {
|
|
|
11919
11919
|
acs_system_id: string;
|
|
11920
11920
|
event_type: 'acs_system.added';
|
|
11921
11921
|
} | {
|
|
11922
|
-
/**
|
|
11922
|
+
/** ID of the event. */
|
|
11923
11923
|
event_id: string;
|
|
11924
|
-
/**
|
|
11924
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11925
11925
|
workspace_id: string;
|
|
11926
|
-
/**
|
|
11926
|
+
/** Time at which the event was created. */
|
|
11927
11927
|
created_at: string;
|
|
11928
|
-
/**
|
|
11928
|
+
/** Time when the event occurred. */
|
|
11929
11929
|
occurred_at: string;
|
|
11930
11930
|
/** ID of the connected account.
|
|
11931
11931
|
* @deprecated Will be removed. */
|
|
@@ -11934,13 +11934,13 @@ export interface Routes {
|
|
|
11934
11934
|
acs_system_id: string;
|
|
11935
11935
|
event_type: 'acs_system.disconnected';
|
|
11936
11936
|
} | {
|
|
11937
|
-
/**
|
|
11937
|
+
/** ID of the event. */
|
|
11938
11938
|
event_id: string;
|
|
11939
|
-
/**
|
|
11939
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11940
11940
|
workspace_id: string;
|
|
11941
|
-
/**
|
|
11941
|
+
/** Time at which the event was created. */
|
|
11942
11942
|
created_at: string;
|
|
11943
|
-
/**
|
|
11943
|
+
/** Time when the event occurred. */
|
|
11944
11944
|
occurred_at: string;
|
|
11945
11945
|
/** ID of the connected account.
|
|
11946
11946
|
* @deprecated Will be removed. */
|
|
@@ -11950,13 +11950,13 @@ export interface Routes {
|
|
|
11950
11950
|
acs_credential_id: string;
|
|
11951
11951
|
event_type: 'acs_credential.deleted';
|
|
11952
11952
|
} | {
|
|
11953
|
-
/**
|
|
11953
|
+
/** ID of the event. */
|
|
11954
11954
|
event_id: string;
|
|
11955
|
-
/**
|
|
11955
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11956
11956
|
workspace_id: string;
|
|
11957
|
-
/**
|
|
11957
|
+
/** Time at which the event was created. */
|
|
11958
11958
|
created_at: string;
|
|
11959
|
-
/**
|
|
11959
|
+
/** Time when the event occurred. */
|
|
11960
11960
|
occurred_at: string;
|
|
11961
11961
|
/** ID of the connected account.
|
|
11962
11962
|
* @deprecated Will be removed. */
|
|
@@ -11966,13 +11966,13 @@ export interface Routes {
|
|
|
11966
11966
|
acs_credential_id: string;
|
|
11967
11967
|
event_type: 'acs_credential.issued';
|
|
11968
11968
|
} | {
|
|
11969
|
-
/**
|
|
11969
|
+
/** ID of the event. */
|
|
11970
11970
|
event_id: string;
|
|
11971
|
-
/**
|
|
11971
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11972
11972
|
workspace_id: string;
|
|
11973
|
-
/**
|
|
11973
|
+
/** Time at which the event was created. */
|
|
11974
11974
|
created_at: string;
|
|
11975
|
-
/**
|
|
11975
|
+
/** Time when the event occurred. */
|
|
11976
11976
|
occurred_at: string;
|
|
11977
11977
|
/** ID of the connected account.
|
|
11978
11978
|
* @deprecated Will be removed. */
|
|
@@ -11982,13 +11982,13 @@ export interface Routes {
|
|
|
11982
11982
|
acs_user_id: string;
|
|
11983
11983
|
event_type: 'acs_user.deleted';
|
|
11984
11984
|
} | {
|
|
11985
|
-
/**
|
|
11985
|
+
/** ID of the event. */
|
|
11986
11986
|
event_id: string;
|
|
11987
|
-
/**
|
|
11987
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
11988
11988
|
workspace_id: string;
|
|
11989
|
-
/**
|
|
11989
|
+
/** Time at which the event was created. */
|
|
11990
11990
|
created_at: string;
|
|
11991
|
-
/**
|
|
11991
|
+
/** Time when the event occurred. */
|
|
11992
11992
|
occurred_at: string;
|
|
11993
11993
|
/** ID of the connected account.
|
|
11994
11994
|
* @deprecated Will be removed. */
|
|
@@ -11999,13 +11999,13 @@ export interface Routes {
|
|
|
11999
11999
|
acs_encoder_id: string;
|
|
12000
12000
|
event_type: 'acs_encoder.added';
|
|
12001
12001
|
} | {
|
|
12002
|
-
/**
|
|
12002
|
+
/** ID of the event. */
|
|
12003
12003
|
event_id: string;
|
|
12004
|
-
/**
|
|
12004
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12005
12005
|
workspace_id: string;
|
|
12006
|
-
/**
|
|
12006
|
+
/** Time at which the event was created. */
|
|
12007
12007
|
created_at: string;
|
|
12008
|
-
/**
|
|
12008
|
+
/** Time when the event occurred. */
|
|
12009
12009
|
occurred_at: string;
|
|
12010
12010
|
/** ID of the connected account.
|
|
12011
12011
|
* @deprecated Will be removed. */
|
|
@@ -12016,25 +12016,25 @@ export interface Routes {
|
|
|
12016
12016
|
acs_encoder_id: string;
|
|
12017
12017
|
event_type: 'acs_encoder.removed';
|
|
12018
12018
|
} | {
|
|
12019
|
-
/**
|
|
12019
|
+
/** ID of the event. */
|
|
12020
12020
|
event_id: string;
|
|
12021
|
-
/**
|
|
12021
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12022
12022
|
workspace_id: string;
|
|
12023
|
-
/**
|
|
12023
|
+
/** Time at which the event was created. */
|
|
12024
12024
|
created_at: string;
|
|
12025
|
-
/**
|
|
12025
|
+
/** Time when the event occurred. */
|
|
12026
12026
|
occurred_at: string;
|
|
12027
12027
|
/** ID of the client session. */
|
|
12028
12028
|
client_session_id: string;
|
|
12029
12029
|
event_type: 'client_session.deleted';
|
|
12030
12030
|
} | {
|
|
12031
|
-
/**
|
|
12031
|
+
/** ID of the event. */
|
|
12032
12032
|
event_id: string;
|
|
12033
|
-
/**
|
|
12033
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12034
12034
|
workspace_id: string;
|
|
12035
|
-
/**
|
|
12035
|
+
/** Time at which the event was created. */
|
|
12036
12036
|
created_at: string;
|
|
12037
|
-
/**
|
|
12037
|
+
/** Time when the event occurred. */
|
|
12038
12038
|
occurred_at: string;
|
|
12039
12039
|
/** ID of the connected account. */
|
|
12040
12040
|
connected_account_id: string;
|
|
@@ -12042,13 +12042,13 @@ export interface Routes {
|
|
|
12042
12042
|
/** ID of the connect webview. */
|
|
12043
12043
|
connect_webview_id: string;
|
|
12044
12044
|
} | {
|
|
12045
|
-
/**
|
|
12045
|
+
/** ID of the event. */
|
|
12046
12046
|
event_id: string;
|
|
12047
|
-
/**
|
|
12047
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12048
12048
|
workspace_id: string;
|
|
12049
|
-
/**
|
|
12049
|
+
/** Time at which the event was created. */
|
|
12050
12050
|
created_at: string;
|
|
12051
|
-
/**
|
|
12051
|
+
/** Time when the event occurred. */
|
|
12052
12052
|
occurred_at: string;
|
|
12053
12053
|
/** ID of the connected account. */
|
|
12054
12054
|
connected_account_id: string;
|
|
@@ -12056,13 +12056,13 @@ export interface Routes {
|
|
|
12056
12056
|
/** ID of the connect webview. */
|
|
12057
12057
|
connect_webview_id: string;
|
|
12058
12058
|
} | {
|
|
12059
|
-
/**
|
|
12059
|
+
/** ID of the event. */
|
|
12060
12060
|
event_id: string;
|
|
12061
|
-
/**
|
|
12061
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12062
12062
|
workspace_id: string;
|
|
12063
|
-
/**
|
|
12063
|
+
/** Time at which the event was created. */
|
|
12064
12064
|
created_at: string;
|
|
12065
|
-
/**
|
|
12065
|
+
/** Time when the event occurred. */
|
|
12066
12066
|
occurred_at: string;
|
|
12067
12067
|
/** ID of the connected account. */
|
|
12068
12068
|
connected_account_id: string;
|
|
@@ -12070,61 +12070,61 @@ export interface Routes {
|
|
|
12070
12070
|
/** ID of the connect webview. */
|
|
12071
12071
|
connect_webview_id: string;
|
|
12072
12072
|
} | {
|
|
12073
|
-
/**
|
|
12073
|
+
/** ID of the event. */
|
|
12074
12074
|
event_id: string;
|
|
12075
|
-
/**
|
|
12075
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12076
12076
|
workspace_id: string;
|
|
12077
|
-
/**
|
|
12077
|
+
/** Time at which the event was created. */
|
|
12078
12078
|
created_at: string;
|
|
12079
|
-
/**
|
|
12079
|
+
/** Time when the event occurred. */
|
|
12080
12080
|
occurred_at: string;
|
|
12081
12081
|
/** ID of the connected account. */
|
|
12082
12082
|
connected_account_id: string;
|
|
12083
12083
|
event_type: 'connected_account.disconnected';
|
|
12084
12084
|
} | {
|
|
12085
|
-
/**
|
|
12085
|
+
/** ID of the event. */
|
|
12086
12086
|
event_id: string;
|
|
12087
|
-
/**
|
|
12087
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12088
12088
|
workspace_id: string;
|
|
12089
|
-
/**
|
|
12089
|
+
/** Time at which the event was created. */
|
|
12090
12090
|
created_at: string;
|
|
12091
|
-
/**
|
|
12091
|
+
/** Time when the event occurred. */
|
|
12092
12092
|
occurred_at: string;
|
|
12093
12093
|
/** ID of the connected account. */
|
|
12094
12094
|
connected_account_id: string;
|
|
12095
12095
|
event_type: 'connected_account.completed_first_sync';
|
|
12096
12096
|
} | {
|
|
12097
|
-
/**
|
|
12097
|
+
/** ID of the event. */
|
|
12098
12098
|
event_id: string;
|
|
12099
|
-
/**
|
|
12099
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12100
12100
|
workspace_id: string;
|
|
12101
|
-
/**
|
|
12101
|
+
/** Time at which the event was created. */
|
|
12102
12102
|
created_at: string;
|
|
12103
|
-
/**
|
|
12103
|
+
/** Time when the event occurred. */
|
|
12104
12104
|
occurred_at: string;
|
|
12105
12105
|
/** ID of the connected account. */
|
|
12106
12106
|
connected_account_id: string;
|
|
12107
12107
|
event_type: 'connected_account.deleted';
|
|
12108
12108
|
} | {
|
|
12109
|
-
/**
|
|
12109
|
+
/** ID of the event. */
|
|
12110
12110
|
event_id: string;
|
|
12111
|
-
/**
|
|
12111
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12112
12112
|
workspace_id: string;
|
|
12113
|
-
/**
|
|
12113
|
+
/** Time at which the event was created. */
|
|
12114
12114
|
created_at: string;
|
|
12115
|
-
/**
|
|
12115
|
+
/** Time when the event occurred. */
|
|
12116
12116
|
occurred_at: string;
|
|
12117
12117
|
/** ID of the connected account. */
|
|
12118
12118
|
connected_account_id: string;
|
|
12119
12119
|
event_type: 'connected_account.completed_first_sync_after_reconnection';
|
|
12120
12120
|
} | {
|
|
12121
|
-
/**
|
|
12121
|
+
/** ID of the event. */
|
|
12122
12122
|
event_id: string;
|
|
12123
|
-
/**
|
|
12123
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12124
12124
|
workspace_id: string;
|
|
12125
|
-
/**
|
|
12125
|
+
/** Time at which the event was created. */
|
|
12126
12126
|
created_at: string;
|
|
12127
|
-
/**
|
|
12127
|
+
/** Time when the event occurred. */
|
|
12128
12128
|
occurred_at: string;
|
|
12129
12129
|
/** The ID of the action attempt. */
|
|
12130
12130
|
action_attempt_id: string;
|
|
@@ -12134,13 +12134,13 @@ export interface Routes {
|
|
|
12134
12134
|
status: string;
|
|
12135
12135
|
event_type: 'action_attempt.lock_door.succeeded';
|
|
12136
12136
|
} | {
|
|
12137
|
-
/**
|
|
12137
|
+
/** ID of the event. */
|
|
12138
12138
|
event_id: string;
|
|
12139
|
-
/**
|
|
12139
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12140
12140
|
workspace_id: string;
|
|
12141
|
-
/**
|
|
12141
|
+
/** Time at which the event was created. */
|
|
12142
12142
|
created_at: string;
|
|
12143
|
-
/**
|
|
12143
|
+
/** Time when the event occurred. */
|
|
12144
12144
|
occurred_at: string;
|
|
12145
12145
|
/** The ID of the action attempt. */
|
|
12146
12146
|
action_attempt_id: string;
|
|
@@ -12150,13 +12150,13 @@ export interface Routes {
|
|
|
12150
12150
|
status: string;
|
|
12151
12151
|
event_type: 'action_attempt.lock_door.failed';
|
|
12152
12152
|
} | {
|
|
12153
|
-
/**
|
|
12153
|
+
/** ID of the event. */
|
|
12154
12154
|
event_id: string;
|
|
12155
|
-
/**
|
|
12155
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12156
12156
|
workspace_id: string;
|
|
12157
|
-
/**
|
|
12157
|
+
/** Time at which the event was created. */
|
|
12158
12158
|
created_at: string;
|
|
12159
|
-
/**
|
|
12159
|
+
/** Time when the event occurred. */
|
|
12160
12160
|
occurred_at: string;
|
|
12161
12161
|
/** The ID of the action attempt. */
|
|
12162
12162
|
action_attempt_id: string;
|
|
@@ -12166,13 +12166,13 @@ export interface Routes {
|
|
|
12166
12166
|
status: string;
|
|
12167
12167
|
event_type: 'action_attempt.unlock_door.succeeded';
|
|
12168
12168
|
} | {
|
|
12169
|
-
/**
|
|
12169
|
+
/** ID of the event. */
|
|
12170
12170
|
event_id: string;
|
|
12171
|
-
/**
|
|
12171
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12172
12172
|
workspace_id: string;
|
|
12173
|
-
/**
|
|
12173
|
+
/** Time at which the event was created. */
|
|
12174
12174
|
created_at: string;
|
|
12175
|
-
/**
|
|
12175
|
+
/** Time when the event occurred. */
|
|
12176
12176
|
occurred_at: string;
|
|
12177
12177
|
/** The ID of the action attempt. */
|
|
12178
12178
|
action_attempt_id: string;
|
|
@@ -12182,13 +12182,13 @@ export interface Routes {
|
|
|
12182
12182
|
status: string;
|
|
12183
12183
|
event_type: 'action_attempt.unlock_door.failed';
|
|
12184
12184
|
} | {
|
|
12185
|
-
/**
|
|
12185
|
+
/** ID of the event. */
|
|
12186
12186
|
event_id: string;
|
|
12187
|
-
/**
|
|
12187
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12188
12188
|
workspace_id: string;
|
|
12189
|
-
/**
|
|
12189
|
+
/** Time at which the event was created. */
|
|
12190
12190
|
created_at: string;
|
|
12191
|
-
/**
|
|
12191
|
+
/** Time when the event occurred. */
|
|
12192
12192
|
occurred_at: string;
|
|
12193
12193
|
/** ID of the connect webview. */
|
|
12194
12194
|
connect_webview_id: string;
|
|
@@ -12196,439 +12196,452 @@ export interface Routes {
|
|
|
12196
12196
|
/** ID of the connected account. */
|
|
12197
12197
|
connected_account_id: string;
|
|
12198
12198
|
} | {
|
|
12199
|
-
/**
|
|
12199
|
+
/** ID of the event. */
|
|
12200
12200
|
event_id: string;
|
|
12201
|
-
/**
|
|
12201
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12202
12202
|
workspace_id: string;
|
|
12203
|
-
/**
|
|
12203
|
+
/** Time at which the event was created. */
|
|
12204
12204
|
created_at: string;
|
|
12205
|
-
/**
|
|
12205
|
+
/** Time when the event occurred. */
|
|
12206
12206
|
occurred_at: string;
|
|
12207
12207
|
/** ID of the connect webview. */
|
|
12208
12208
|
connect_webview_id: string;
|
|
12209
12209
|
event_type: 'connect_webview.login_failed';
|
|
12210
12210
|
} | {
|
|
12211
|
-
/**
|
|
12211
|
+
/** ID of the event. */
|
|
12212
12212
|
event_id: string;
|
|
12213
|
-
/**
|
|
12213
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12214
12214
|
workspace_id: string;
|
|
12215
|
-
/**
|
|
12215
|
+
/** Time at which the event was created. */
|
|
12216
12216
|
created_at: string;
|
|
12217
|
-
/**
|
|
12217
|
+
/** Time when the event occurred. */
|
|
12218
12218
|
occurred_at: string;
|
|
12219
12219
|
/** ID of the device. */
|
|
12220
12220
|
device_id: string;
|
|
12221
|
-
/** ID of the connected account. */
|
|
12221
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12222
12222
|
connected_account_id: string;
|
|
12223
12223
|
event_type: 'device.connected';
|
|
12224
12224
|
} | {
|
|
12225
|
-
/**
|
|
12225
|
+
/** ID of the event. */
|
|
12226
12226
|
event_id: string;
|
|
12227
|
-
/**
|
|
12227
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12228
12228
|
workspace_id: string;
|
|
12229
|
-
/**
|
|
12229
|
+
/** Time at which the event was created. */
|
|
12230
12230
|
created_at: string;
|
|
12231
|
-
/**
|
|
12231
|
+
/** Time when the event occurred. */
|
|
12232
12232
|
occurred_at: string;
|
|
12233
12233
|
/** ID of the device. */
|
|
12234
12234
|
device_id: string;
|
|
12235
|
-
/** ID of the connected account. */
|
|
12235
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12236
12236
|
connected_account_id: string;
|
|
12237
12237
|
event_type: 'device.added';
|
|
12238
12238
|
} | {
|
|
12239
|
-
/**
|
|
12239
|
+
/** ID of the event. */
|
|
12240
12240
|
event_id: string;
|
|
12241
|
-
/**
|
|
12241
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12242
12242
|
workspace_id: string;
|
|
12243
|
-
/**
|
|
12243
|
+
/** Time at which the event was created. */
|
|
12244
12244
|
created_at: string;
|
|
12245
|
-
/**
|
|
12245
|
+
/** Time when the event occurred. */
|
|
12246
12246
|
occurred_at: string;
|
|
12247
12247
|
/** ID of the device. */
|
|
12248
12248
|
device_id: string;
|
|
12249
|
-
/** ID of the connected account. */
|
|
12249
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12250
12250
|
connected_account_id: string;
|
|
12251
12251
|
event_type: 'device.converted_to_unmanaged';
|
|
12252
12252
|
} | {
|
|
12253
|
-
/**
|
|
12253
|
+
/** ID of the event. */
|
|
12254
12254
|
event_id: string;
|
|
12255
|
-
/**
|
|
12255
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12256
12256
|
workspace_id: string;
|
|
12257
|
-
/**
|
|
12257
|
+
/** Time at which the event was created. */
|
|
12258
12258
|
created_at: string;
|
|
12259
|
-
/**
|
|
12259
|
+
/** Time when the event occurred. */
|
|
12260
12260
|
occurred_at: string;
|
|
12261
12261
|
/** ID of the device. */
|
|
12262
12262
|
device_id: string;
|
|
12263
|
-
/** ID of the connected account. */
|
|
12263
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12264
12264
|
connected_account_id: string;
|
|
12265
12265
|
event_type: 'device.unmanaged.converted_to_managed';
|
|
12266
12266
|
} | {
|
|
12267
|
-
/**
|
|
12267
|
+
/** ID of the event. */
|
|
12268
12268
|
event_id: string;
|
|
12269
|
-
/**
|
|
12269
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12270
12270
|
workspace_id: string;
|
|
12271
|
-
/**
|
|
12271
|
+
/** Time at which the event was created. */
|
|
12272
12272
|
created_at: string;
|
|
12273
|
-
/**
|
|
12273
|
+
/** Time when the event occurred. */
|
|
12274
12274
|
occurred_at: string;
|
|
12275
12275
|
/** ID of the device. */
|
|
12276
12276
|
device_id: string;
|
|
12277
|
-
/** ID of the connected account. */
|
|
12277
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12278
12278
|
connected_account_id: string;
|
|
12279
12279
|
event_type: 'device.unmanaged.connected';
|
|
12280
12280
|
} | {
|
|
12281
|
-
/**
|
|
12281
|
+
/** ID of the event. */
|
|
12282
12282
|
event_id: string;
|
|
12283
|
-
/**
|
|
12283
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12284
12284
|
workspace_id: string;
|
|
12285
|
-
/**
|
|
12285
|
+
/** Time at which the event was created. */
|
|
12286
12286
|
created_at: string;
|
|
12287
|
-
/**
|
|
12287
|
+
/** Time when the event occurred. */
|
|
12288
12288
|
occurred_at: string;
|
|
12289
12289
|
/** ID of the device. */
|
|
12290
12290
|
device_id: string;
|
|
12291
|
-
/** ID of the connected account. */
|
|
12291
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12292
12292
|
connected_account_id: string;
|
|
12293
12293
|
event_type: 'device.disconnected';
|
|
12294
|
-
/**
|
|
12294
|
+
/** Error code associated with the disconnection event, if any. */
|
|
12295
12295
|
error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
|
|
12296
12296
|
} | {
|
|
12297
|
-
/**
|
|
12297
|
+
/** ID of the event. */
|
|
12298
12298
|
event_id: string;
|
|
12299
|
-
/**
|
|
12299
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12300
12300
|
workspace_id: string;
|
|
12301
|
-
/**
|
|
12301
|
+
/** Time at which the event was created. */
|
|
12302
12302
|
created_at: string;
|
|
12303
|
-
/**
|
|
12303
|
+
/** Time when the event occurred. */
|
|
12304
12304
|
occurred_at: string;
|
|
12305
12305
|
/** ID of the device. */
|
|
12306
12306
|
device_id: string;
|
|
12307
|
-
/** ID of the connected account. */
|
|
12307
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12308
12308
|
connected_account_id: string;
|
|
12309
12309
|
event_type: 'device.unmanaged.disconnected';
|
|
12310
|
-
/**
|
|
12310
|
+
/** Error code associated with the disconnection event, if any. */
|
|
12311
12311
|
error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
|
|
12312
12312
|
} | {
|
|
12313
|
-
/**
|
|
12313
|
+
/** ID of the event. */
|
|
12314
12314
|
event_id: string;
|
|
12315
|
-
/**
|
|
12315
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12316
12316
|
workspace_id: string;
|
|
12317
|
-
/**
|
|
12317
|
+
/** Time at which the event was created. */
|
|
12318
12318
|
created_at: string;
|
|
12319
|
-
/**
|
|
12319
|
+
/** Time when the event occurred. */
|
|
12320
12320
|
occurred_at: string;
|
|
12321
12321
|
/** ID of the device. */
|
|
12322
12322
|
device_id: string;
|
|
12323
|
-
/** ID of the connected account. */
|
|
12323
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12324
12324
|
connected_account_id: string;
|
|
12325
12325
|
event_type: 'device.tampered';
|
|
12326
12326
|
} | {
|
|
12327
|
-
/**
|
|
12327
|
+
/** ID of the event. */
|
|
12328
12328
|
event_id: string;
|
|
12329
|
-
/**
|
|
12329
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12330
12330
|
workspace_id: string;
|
|
12331
|
-
/**
|
|
12331
|
+
/** Time at which the event was created. */
|
|
12332
12332
|
created_at: string;
|
|
12333
|
-
/**
|
|
12333
|
+
/** Time when the event occurred. */
|
|
12334
12334
|
occurred_at: string;
|
|
12335
12335
|
/** ID of the device. */
|
|
12336
12336
|
device_id: string;
|
|
12337
|
-
/** ID of the connected account. */
|
|
12337
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12338
12338
|
connected_account_id: string;
|
|
12339
12339
|
event_type: 'device.low_battery';
|
|
12340
|
-
/**
|
|
12340
|
+
/** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
|
|
12341
12341
|
battery_level: number;
|
|
12342
12342
|
} | {
|
|
12343
|
-
/**
|
|
12343
|
+
/** ID of the event. */
|
|
12344
12344
|
event_id: string;
|
|
12345
|
-
/**
|
|
12345
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12346
12346
|
workspace_id: string;
|
|
12347
|
-
/**
|
|
12347
|
+
/** Time at which the event was created. */
|
|
12348
12348
|
created_at: string;
|
|
12349
|
-
/**
|
|
12349
|
+
/** Time when the event occurred. */
|
|
12350
12350
|
occurred_at: string;
|
|
12351
12351
|
/** ID of the device. */
|
|
12352
12352
|
device_id: string;
|
|
12353
|
-
/** ID of the connected account. */
|
|
12353
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12354
12354
|
connected_account_id: string;
|
|
12355
12355
|
event_type: 'device.battery_status_changed';
|
|
12356
|
-
/**
|
|
12356
|
+
/** Battery status of the device, calculated from the numeric `battery_level` value. */
|
|
12357
12357
|
battery_status: 'critical' | 'low' | 'good' | 'full';
|
|
12358
|
-
/**
|
|
12358
|
+
/** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
|
|
12359
12359
|
battery_level: number;
|
|
12360
12360
|
} | {
|
|
12361
|
-
/**
|
|
12361
|
+
/** ID of the event. */
|
|
12362
12362
|
event_id: string;
|
|
12363
|
-
/**
|
|
12363
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12364
12364
|
workspace_id: string;
|
|
12365
|
-
/**
|
|
12365
|
+
/** Time at which the event was created. */
|
|
12366
12366
|
created_at: string;
|
|
12367
|
-
/**
|
|
12367
|
+
/** Time when the event occurred. */
|
|
12368
12368
|
occurred_at: string;
|
|
12369
12369
|
/** ID of the device. */
|
|
12370
12370
|
device_id: string;
|
|
12371
|
-
/** ID of the connected account. */
|
|
12371
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12372
12372
|
connected_account_id: string;
|
|
12373
12373
|
event_type: 'device.removed';
|
|
12374
12374
|
} | {
|
|
12375
|
-
/**
|
|
12375
|
+
/** ID of the event. */
|
|
12376
12376
|
event_id: string;
|
|
12377
|
-
/**
|
|
12377
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12378
12378
|
workspace_id: string;
|
|
12379
|
-
/**
|
|
12379
|
+
/** Time at which the event was created. */
|
|
12380
12380
|
created_at: string;
|
|
12381
|
-
/**
|
|
12381
|
+
/** Time when the event occurred. */
|
|
12382
12382
|
occurred_at: string;
|
|
12383
12383
|
/** ID of the device. */
|
|
12384
12384
|
device_id: string;
|
|
12385
|
-
/** ID of the connected account. */
|
|
12385
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12386
12386
|
connected_account_id: string;
|
|
12387
12387
|
event_type: 'device.deleted';
|
|
12388
12388
|
} | {
|
|
12389
|
-
/**
|
|
12389
|
+
/** ID of the event. */
|
|
12390
12390
|
event_id: string;
|
|
12391
|
-
/**
|
|
12391
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12392
12392
|
workspace_id: string;
|
|
12393
|
-
/**
|
|
12393
|
+
/** Time at which the event was created. */
|
|
12394
12394
|
created_at: string;
|
|
12395
|
-
/**
|
|
12395
|
+
/** Time when the event occurred. */
|
|
12396
12396
|
occurred_at: string;
|
|
12397
12397
|
/** ID of the device. */
|
|
12398
12398
|
device_id: string;
|
|
12399
|
-
/** ID of the connected account. */
|
|
12399
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12400
12400
|
connected_account_id: string;
|
|
12401
12401
|
event_type: 'device.third_party_integration_detected';
|
|
12402
12402
|
} | {
|
|
12403
|
-
/**
|
|
12403
|
+
/** ID of the event. */
|
|
12404
12404
|
event_id: string;
|
|
12405
|
-
/**
|
|
12405
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12406
12406
|
workspace_id: string;
|
|
12407
|
-
/**
|
|
12407
|
+
/** Time at which the event was created. */
|
|
12408
12408
|
created_at: string;
|
|
12409
|
-
/**
|
|
12409
|
+
/** Time when the event occurred. */
|
|
12410
12410
|
occurred_at: string;
|
|
12411
12411
|
/** ID of the device. */
|
|
12412
12412
|
device_id: string;
|
|
12413
|
-
/** ID of the connected account. */
|
|
12413
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12414
12414
|
connected_account_id: string;
|
|
12415
12415
|
event_type: 'device.third_party_integration_no_longer_detected';
|
|
12416
12416
|
} | {
|
|
12417
|
-
/**
|
|
12417
|
+
/** ID of the event. */
|
|
12418
12418
|
event_id: string;
|
|
12419
|
-
/**
|
|
12419
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12420
12420
|
workspace_id: string;
|
|
12421
|
-
/**
|
|
12421
|
+
/** Time at which the event was created. */
|
|
12422
12422
|
created_at: string;
|
|
12423
|
-
/**
|
|
12423
|
+
/** Time when the event occurred. */
|
|
12424
12424
|
occurred_at: string;
|
|
12425
12425
|
/** ID of the device. */
|
|
12426
12426
|
device_id: string;
|
|
12427
|
-
/** ID of the connected account. */
|
|
12427
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12428
12428
|
connected_account_id: string;
|
|
12429
12429
|
event_type: 'device.salto.privacy_mode_activated';
|
|
12430
12430
|
} | {
|
|
12431
|
-
/**
|
|
12431
|
+
/** ID of the event. */
|
|
12432
12432
|
event_id: string;
|
|
12433
|
-
/**
|
|
12433
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12434
12434
|
workspace_id: string;
|
|
12435
|
-
/**
|
|
12435
|
+
/** Time at which the event was created. */
|
|
12436
12436
|
created_at: string;
|
|
12437
|
-
/**
|
|
12437
|
+
/** Time when the event occurred. */
|
|
12438
12438
|
occurred_at: string;
|
|
12439
12439
|
/** ID of the device. */
|
|
12440
12440
|
device_id: string;
|
|
12441
|
-
/** ID of the connected account. */
|
|
12441
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12442
12442
|
connected_account_id: string;
|
|
12443
12443
|
event_type: 'device.salto.privacy_mode_deactivated';
|
|
12444
12444
|
} | {
|
|
12445
|
-
/**
|
|
12445
|
+
/** ID of the event. */
|
|
12446
12446
|
event_id: string;
|
|
12447
|
-
/**
|
|
12447
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12448
12448
|
workspace_id: string;
|
|
12449
|
-
/**
|
|
12449
|
+
/** Time at which the event was created. */
|
|
12450
12450
|
created_at: string;
|
|
12451
|
-
/**
|
|
12451
|
+
/** Time when the event occurred. */
|
|
12452
12452
|
occurred_at: string;
|
|
12453
12453
|
/** ID of the device. */
|
|
12454
12454
|
device_id: string;
|
|
12455
|
-
/** ID of the connected account. */
|
|
12455
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12456
12456
|
connected_account_id: string;
|
|
12457
12457
|
event_type: 'device.connection_became_flaky';
|
|
12458
12458
|
} | {
|
|
12459
|
-
/**
|
|
12459
|
+
/** ID of the event. */
|
|
12460
12460
|
event_id: string;
|
|
12461
|
-
/**
|
|
12461
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12462
12462
|
workspace_id: string;
|
|
12463
|
-
/**
|
|
12463
|
+
/** Time at which the event was created. */
|
|
12464
12464
|
created_at: string;
|
|
12465
|
-
/**
|
|
12465
|
+
/** Time when the event occurred. */
|
|
12466
12466
|
occurred_at: string;
|
|
12467
12467
|
/** ID of the device. */
|
|
12468
12468
|
device_id: string;
|
|
12469
|
-
/** ID of the connected account. */
|
|
12469
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12470
12470
|
connected_account_id: string;
|
|
12471
12471
|
event_type: 'device.connection_stabilized';
|
|
12472
12472
|
} | {
|
|
12473
|
-
/**
|
|
12473
|
+
/** ID of the event. */
|
|
12474
12474
|
event_id: string;
|
|
12475
|
-
/**
|
|
12475
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12476
12476
|
workspace_id: string;
|
|
12477
|
-
/**
|
|
12477
|
+
/** Time at which the event was created. */
|
|
12478
12478
|
created_at: string;
|
|
12479
|
-
/**
|
|
12479
|
+
/** Time when the event occurred. */
|
|
12480
12480
|
occurred_at: string;
|
|
12481
12481
|
/** ID of the device. */
|
|
12482
12482
|
device_id: string;
|
|
12483
|
-
/** ID of the connected account. */
|
|
12483
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12484
12484
|
connected_account_id: string;
|
|
12485
12485
|
event_type: 'device.error.subscription_required';
|
|
12486
12486
|
} | {
|
|
12487
|
-
/**
|
|
12487
|
+
/** ID of the event. */
|
|
12488
12488
|
event_id: string;
|
|
12489
|
-
/**
|
|
12489
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12490
12490
|
workspace_id: string;
|
|
12491
|
-
/**
|
|
12491
|
+
/** Time at which the event was created. */
|
|
12492
12492
|
created_at: string;
|
|
12493
|
-
/**
|
|
12493
|
+
/** Time when the event occurred. */
|
|
12494
12494
|
occurred_at: string;
|
|
12495
12495
|
/** ID of the device. */
|
|
12496
12496
|
device_id: string;
|
|
12497
|
-
/** ID of the connected account. */
|
|
12497
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12498
12498
|
connected_account_id: string;
|
|
12499
12499
|
event_type: 'device.error.subscription_required.resolved';
|
|
12500
12500
|
} | {
|
|
12501
|
-
/**
|
|
12501
|
+
/** ID of the event. */
|
|
12502
12502
|
event_id: string;
|
|
12503
|
-
/**
|
|
12503
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12504
12504
|
workspace_id: string;
|
|
12505
|
-
/**
|
|
12505
|
+
/** Time at which the event was created. */
|
|
12506
12506
|
created_at: string;
|
|
12507
|
-
/**
|
|
12507
|
+
/** Time when the event occurred. */
|
|
12508
12508
|
occurred_at: string;
|
|
12509
12509
|
/** ID of the device. */
|
|
12510
12510
|
device_id: string;
|
|
12511
|
-
/** ID of the connected account. */
|
|
12511
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12512
12512
|
connected_account_id: string;
|
|
12513
12513
|
event_type: 'device.accessory_keypad_connected';
|
|
12514
12514
|
} | {
|
|
12515
|
-
/**
|
|
12515
|
+
/** ID of the event. */
|
|
12516
12516
|
event_id: string;
|
|
12517
|
-
/**
|
|
12517
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12518
12518
|
workspace_id: string;
|
|
12519
|
-
/**
|
|
12519
|
+
/** Time at which the event was created. */
|
|
12520
12520
|
created_at: string;
|
|
12521
|
-
/**
|
|
12521
|
+
/** Time when the event occurred. */
|
|
12522
12522
|
occurred_at: string;
|
|
12523
12523
|
/** ID of the device. */
|
|
12524
12524
|
device_id: string;
|
|
12525
|
-
/** ID of the connected account. */
|
|
12525
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12526
12526
|
connected_account_id: string;
|
|
12527
12527
|
event_type: 'device.accessory_keypad_disconnected';
|
|
12528
12528
|
} | {
|
|
12529
|
-
/**
|
|
12529
|
+
/** ID of the event. */
|
|
12530
12530
|
event_id: string;
|
|
12531
|
-
/**
|
|
12531
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12532
12532
|
workspace_id: string;
|
|
12533
|
-
/**
|
|
12533
|
+
/** Time at which the event was created. */
|
|
12534
12534
|
created_at: string;
|
|
12535
|
-
/**
|
|
12535
|
+
/** Time when the event occurred. */
|
|
12536
12536
|
occurred_at: string;
|
|
12537
12537
|
/** ID of the device. */
|
|
12538
12538
|
device_id: string;
|
|
12539
|
-
/** ID of the connected account. */
|
|
12539
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12540
12540
|
connected_account_id: string;
|
|
12541
12541
|
event_type: 'noise_sensor.noise_threshold_triggered';
|
|
12542
|
+
/** Detected noise level in decibels. */
|
|
12542
12543
|
noise_level_decibels?: number | undefined;
|
|
12544
|
+
/** Detected noise level in Noiseaware Noise Risk Score (NRS). */
|
|
12543
12545
|
noise_level_nrs?: number | undefined;
|
|
12546
|
+
/** ID of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
|
|
12544
12547
|
noise_threshold_id?: string | undefined;
|
|
12548
|
+
/** Name of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
|
|
12545
12549
|
noise_threshold_name?: string | undefined;
|
|
12546
|
-
/** Metadata from
|
|
12550
|
+
/** Metadata from Noiseaware. */
|
|
12547
12551
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
12548
|
-
/** Metadata from
|
|
12552
|
+
/** Metadata from Minut. */
|
|
12549
12553
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
12550
12554
|
} | {
|
|
12551
|
-
/**
|
|
12555
|
+
/** ID of the event. */
|
|
12552
12556
|
event_id: string;
|
|
12553
|
-
/**
|
|
12557
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12554
12558
|
workspace_id: string;
|
|
12555
|
-
/**
|
|
12559
|
+
/** Time at which the event was created. */
|
|
12556
12560
|
created_at: string;
|
|
12557
|
-
/**
|
|
12561
|
+
/** Time when the event occurred. */
|
|
12558
12562
|
occurred_at: string;
|
|
12559
12563
|
/** ID of the device. */
|
|
12560
12564
|
device_id: string;
|
|
12561
|
-
/** ID of the connected account. */
|
|
12565
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12562
12566
|
connected_account_id: string;
|
|
12563
12567
|
event_type: 'lock.locked';
|
|
12568
|
+
/** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to lock the device. */
|
|
12564
12569
|
access_code_id?: string | undefined;
|
|
12570
|
+
/** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the lock action. */
|
|
12565
12571
|
action_attempt_id?: string | undefined;
|
|
12566
|
-
/** Method by which a lock device was locked
|
|
12572
|
+
/** Method by which a lock device was locked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
12567
12573
|
method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
|
|
12568
12574
|
} | {
|
|
12569
|
-
/**
|
|
12575
|
+
/** ID of the event. */
|
|
12570
12576
|
event_id: string;
|
|
12571
|
-
/**
|
|
12577
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12572
12578
|
workspace_id: string;
|
|
12573
|
-
/**
|
|
12579
|
+
/** Time at which the event was created. */
|
|
12574
12580
|
created_at: string;
|
|
12575
|
-
/**
|
|
12581
|
+
/** Time when the event occurred. */
|
|
12576
12582
|
occurred_at: string;
|
|
12577
12583
|
/** ID of the device. */
|
|
12578
12584
|
device_id: string;
|
|
12579
|
-
/** ID of the connected account. */
|
|
12585
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12580
12586
|
connected_account_id: string;
|
|
12581
12587
|
event_type: 'lock.unlocked';
|
|
12588
|
+
/** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to unlock the device. */
|
|
12582
12589
|
access_code_id?: string | undefined;
|
|
12590
|
+
/** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the unlock action. */
|
|
12583
12591
|
action_attempt_id?: string | undefined;
|
|
12584
|
-
/** Method by which a lock device was
|
|
12592
|
+
/** Method by which a lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
12585
12593
|
method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
|
|
12586
12594
|
} | {
|
|
12587
|
-
/**
|
|
12595
|
+
/** ID of the event. */
|
|
12588
12596
|
event_id: string;
|
|
12589
|
-
/**
|
|
12597
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12590
12598
|
workspace_id: string;
|
|
12591
|
-
/**
|
|
12599
|
+
/** Time at which the event was created. */
|
|
12592
12600
|
created_at: string;
|
|
12593
|
-
/**
|
|
12601
|
+
/** Time when the event occurred. */
|
|
12594
12602
|
occurred_at: string;
|
|
12595
12603
|
/** ID of the device. */
|
|
12596
12604
|
device_id: string;
|
|
12597
|
-
/** ID of the connected account. */
|
|
12605
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12598
12606
|
connected_account_id: string;
|
|
12599
12607
|
event_type: 'lock.access_denied';
|
|
12608
|
+
/** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used in the unlock attempts. */
|
|
12600
12609
|
access_code_id?: string | undefined;
|
|
12601
12610
|
} | {
|
|
12602
|
-
/**
|
|
12611
|
+
/** ID of the event. */
|
|
12603
12612
|
event_id: string;
|
|
12604
|
-
/**
|
|
12613
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12605
12614
|
workspace_id: string;
|
|
12606
|
-
/**
|
|
12615
|
+
/** Time at which the event was created. */
|
|
12607
12616
|
created_at: string;
|
|
12608
|
-
/**
|
|
12617
|
+
/** Time when the event occurred. */
|
|
12609
12618
|
occurred_at: string;
|
|
12610
12619
|
/** ID of the device. */
|
|
12611
12620
|
device_id: string;
|
|
12612
|
-
/** ID of the connected account. */
|
|
12621
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12613
12622
|
connected_account_id: string;
|
|
12614
12623
|
event_type: 'thermostat.climate_preset_activated';
|
|
12624
|
+
/** ID of the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that prompted the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to be activated. */
|
|
12615
12625
|
thermostat_schedule_id: string | null;
|
|
12626
|
+
/** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated. */
|
|
12616
12627
|
climate_preset_key: string;
|
|
12628
|
+
/** Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated is the [fallback climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the thermostat. */
|
|
12617
12629
|
is_fallback_climate_preset: boolean;
|
|
12618
12630
|
} | {
|
|
12619
|
-
/**
|
|
12631
|
+
/** ID of the event. */
|
|
12620
12632
|
event_id: string;
|
|
12621
|
-
/**
|
|
12633
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12622
12634
|
workspace_id: string;
|
|
12623
|
-
/**
|
|
12635
|
+
/** Time at which the event was created. */
|
|
12624
12636
|
created_at: string;
|
|
12625
|
-
/**
|
|
12637
|
+
/** Time when the event occurred. */
|
|
12626
12638
|
occurred_at: string;
|
|
12627
12639
|
/** ID of the device. */
|
|
12628
12640
|
device_id: string;
|
|
12629
|
-
/** ID of the connected account. */
|
|
12641
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12630
12642
|
connected_account_id: string;
|
|
12631
12643
|
event_type: 'thermostat.manually_adjusted';
|
|
12644
|
+
/** Method used to adjust the thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat. */
|
|
12632
12645
|
method: 'seam' | 'external';
|
|
12633
12646
|
/** Desired fan mode setting, such as `on`, `auto`, or `circulate`. */
|
|
12634
12647
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
@@ -12643,65 +12656,77 @@ export interface Routes {
|
|
|
12643
12656
|
/** Temperature to which the thermostat should heat (in °F). */
|
|
12644
12657
|
heating_set_point_fahrenheit?: (number | undefined) | undefined;
|
|
12645
12658
|
} | {
|
|
12646
|
-
/**
|
|
12659
|
+
/** ID of the event. */
|
|
12647
12660
|
event_id: string;
|
|
12648
|
-
/**
|
|
12661
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12649
12662
|
workspace_id: string;
|
|
12650
|
-
/**
|
|
12663
|
+
/** Time at which the event was created. */
|
|
12651
12664
|
created_at: string;
|
|
12652
|
-
/**
|
|
12665
|
+
/** Time when the event occurred. */
|
|
12653
12666
|
occurred_at: string;
|
|
12654
12667
|
/** ID of the device. */
|
|
12655
12668
|
device_id: string;
|
|
12656
|
-
/** ID of the connected account. */
|
|
12669
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12657
12670
|
connected_account_id: string;
|
|
12658
12671
|
event_type: 'thermostat.temperature_threshold_exceeded';
|
|
12672
|
+
/** Temperature, in °C, reported by the thermostat. */
|
|
12659
12673
|
temperature_celsius: number;
|
|
12674
|
+
/** Temperature, in °F, reported by the thermostat. */
|
|
12660
12675
|
temperature_fahrenheit: number;
|
|
12676
|
+
/** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
12661
12677
|
upper_limit_celsius: number | null;
|
|
12678
|
+
/** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
12662
12679
|
upper_limit_fahrenheit: number | null;
|
|
12680
|
+
/** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
12663
12681
|
lower_limit_celsius: number | null;
|
|
12682
|
+
/** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
12664
12683
|
lower_limit_fahrenheit: number | null;
|
|
12665
12684
|
} | {
|
|
12666
|
-
/**
|
|
12685
|
+
/** ID of the event. */
|
|
12667
12686
|
event_id: string;
|
|
12668
|
-
/**
|
|
12687
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12669
12688
|
workspace_id: string;
|
|
12670
|
-
/**
|
|
12689
|
+
/** Time at which the event was created. */
|
|
12671
12690
|
created_at: string;
|
|
12672
|
-
/**
|
|
12691
|
+
/** Time when the event occurred. */
|
|
12673
12692
|
occurred_at: string;
|
|
12674
12693
|
/** ID of the device. */
|
|
12675
12694
|
device_id: string;
|
|
12676
|
-
/** ID of the connected account. */
|
|
12695
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
12677
12696
|
connected_account_id: string;
|
|
12678
12697
|
event_type: 'thermostat.temperature_threshold_no_longer_exceeded';
|
|
12698
|
+
/** Temperature, in °C, reported by the thermostat. */
|
|
12679
12699
|
temperature_celsius: number;
|
|
12700
|
+
/** Temperature, in °F, reported by the thermostat. */
|
|
12680
12701
|
temperature_fahrenheit: number;
|
|
12702
|
+
/** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
12681
12703
|
upper_limit_celsius: number | null;
|
|
12704
|
+
/** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
12682
12705
|
upper_limit_fahrenheit: number | null;
|
|
12706
|
+
/** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
12683
12707
|
lower_limit_celsius: number | null;
|
|
12708
|
+
/** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
12684
12709
|
lower_limit_fahrenheit: number | null;
|
|
12685
12710
|
} | {
|
|
12686
|
-
/**
|
|
12711
|
+
/** ID of the event. */
|
|
12687
12712
|
event_id: string;
|
|
12688
|
-
/**
|
|
12713
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12689
12714
|
workspace_id: string;
|
|
12690
|
-
/**
|
|
12715
|
+
/** Time at which the event was created. */
|
|
12691
12716
|
created_at: string;
|
|
12692
|
-
/**
|
|
12717
|
+
/** Time when the event occurred. */
|
|
12693
12718
|
occurred_at: string;
|
|
12694
12719
|
/** ID of the enrollment automation. */
|
|
12695
12720
|
enrollment_automation_id: string;
|
|
12696
12721
|
event_type: 'enrollment_automation.deleted';
|
|
12697
12722
|
} | {
|
|
12698
|
-
/**
|
|
12723
|
+
/** ID of the event. */
|
|
12699
12724
|
event_id: string;
|
|
12700
|
-
/**
|
|
12725
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12701
12726
|
workspace_id: string;
|
|
12702
|
-
/**
|
|
12727
|
+
/** Time at which the event was created. */
|
|
12703
12728
|
created_at: string;
|
|
12704
|
-
/**
|
|
12729
|
+
/** Time when the event occurred. */
|
|
12705
12730
|
occurred_at: string;
|
|
12706
12731
|
/** ID of the device. */
|
|
12707
12732
|
device_id: string;
|
|
@@ -12734,13 +12759,13 @@ export interface Routes {
|
|
|
12734
12759
|
formData: {};
|
|
12735
12760
|
jsonResponse: {
|
|
12736
12761
|
events: Array<{
|
|
12737
|
-
/**
|
|
12762
|
+
/** ID of the event. */
|
|
12738
12763
|
event_id: string;
|
|
12739
|
-
/**
|
|
12764
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12740
12765
|
workspace_id: string;
|
|
12741
|
-
/**
|
|
12766
|
+
/** Time at which the event was created. */
|
|
12742
12767
|
created_at: string;
|
|
12743
|
-
/**
|
|
12768
|
+
/** Time when the event occurred. */
|
|
12744
12769
|
occurred_at: string;
|
|
12745
12770
|
/** The ID of the access code. */
|
|
12746
12771
|
access_code_id: string;
|
|
@@ -12750,13 +12775,13 @@ export interface Routes {
|
|
|
12750
12775
|
connected_account_id: string;
|
|
12751
12776
|
event_type: 'access_code.created';
|
|
12752
12777
|
} | {
|
|
12753
|
-
/**
|
|
12778
|
+
/** ID of the event. */
|
|
12754
12779
|
event_id: string;
|
|
12755
|
-
/**
|
|
12780
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12756
12781
|
workspace_id: string;
|
|
12757
|
-
/**
|
|
12782
|
+
/** Time at which the event was created. */
|
|
12758
12783
|
created_at: string;
|
|
12759
|
-
/**
|
|
12784
|
+
/** Time when the event occurred. */
|
|
12760
12785
|
occurred_at: string;
|
|
12761
12786
|
/** The ID of the access code. */
|
|
12762
12787
|
access_code_id: string;
|
|
@@ -12766,13 +12791,13 @@ export interface Routes {
|
|
|
12766
12791
|
connected_account_id: string;
|
|
12767
12792
|
event_type: 'access_code.changed';
|
|
12768
12793
|
} | {
|
|
12769
|
-
/**
|
|
12794
|
+
/** ID of the event. */
|
|
12770
12795
|
event_id: string;
|
|
12771
|
-
/**
|
|
12796
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12772
12797
|
workspace_id: string;
|
|
12773
|
-
/**
|
|
12798
|
+
/** Time at which the event was created. */
|
|
12774
12799
|
created_at: string;
|
|
12775
|
-
/**
|
|
12800
|
+
/** Time when the event occurred. */
|
|
12776
12801
|
occurred_at: string;
|
|
12777
12802
|
/** The ID of the access code. */
|
|
12778
12803
|
access_code_id: string;
|
|
@@ -12784,13 +12809,13 @@ export interface Routes {
|
|
|
12784
12809
|
/** The code of the access code. */
|
|
12785
12810
|
code: string;
|
|
12786
12811
|
} | {
|
|
12787
|
-
/**
|
|
12812
|
+
/** ID of the event. */
|
|
12788
12813
|
event_id: string;
|
|
12789
|
-
/**
|
|
12814
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12790
12815
|
workspace_id: string;
|
|
12791
|
-
/**
|
|
12816
|
+
/** Time at which the event was created. */
|
|
12792
12817
|
created_at: string;
|
|
12793
|
-
/**
|
|
12818
|
+
/** Time when the event occurred. */
|
|
12794
12819
|
occurred_at: string;
|
|
12795
12820
|
/** The ID of the access code. */
|
|
12796
12821
|
access_code_id: string;
|
|
@@ -12802,13 +12827,13 @@ export interface Routes {
|
|
|
12802
12827
|
/** The code of the access code. */
|
|
12803
12828
|
code: string;
|
|
12804
12829
|
} | {
|
|
12805
|
-
/**
|
|
12830
|
+
/** ID of the event. */
|
|
12806
12831
|
event_id: string;
|
|
12807
|
-
/**
|
|
12832
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12808
12833
|
workspace_id: string;
|
|
12809
|
-
/**
|
|
12834
|
+
/** Time at which the event was created. */
|
|
12810
12835
|
created_at: string;
|
|
12811
|
-
/**
|
|
12836
|
+
/** Time when the event occurred. */
|
|
12812
12837
|
occurred_at: string;
|
|
12813
12838
|
/** The ID of the access code. */
|
|
12814
12839
|
access_code_id: string;
|
|
@@ -12818,13 +12843,13 @@ export interface Routes {
|
|
|
12818
12843
|
connected_account_id: string;
|
|
12819
12844
|
event_type: 'access_code.removed_from_device';
|
|
12820
12845
|
} | {
|
|
12821
|
-
/**
|
|
12846
|
+
/** ID of the event. */
|
|
12822
12847
|
event_id: string;
|
|
12823
|
-
/**
|
|
12848
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12824
12849
|
workspace_id: string;
|
|
12825
|
-
/**
|
|
12850
|
+
/** Time at which the event was created. */
|
|
12826
12851
|
created_at: string;
|
|
12827
|
-
/**
|
|
12852
|
+
/** Time when the event occurred. */
|
|
12828
12853
|
occurred_at: string;
|
|
12829
12854
|
/** The ID of the access code. */
|
|
12830
12855
|
access_code_id: string;
|
|
@@ -12834,13 +12859,13 @@ export interface Routes {
|
|
|
12834
12859
|
connected_account_id: string;
|
|
12835
12860
|
event_type: 'access_code.delay_in_setting_on_device';
|
|
12836
12861
|
} | {
|
|
12837
|
-
/**
|
|
12862
|
+
/** ID of the event. */
|
|
12838
12863
|
event_id: string;
|
|
12839
|
-
/**
|
|
12864
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12840
12865
|
workspace_id: string;
|
|
12841
|
-
/**
|
|
12866
|
+
/** Time at which the event was created. */
|
|
12842
12867
|
created_at: string;
|
|
12843
|
-
/**
|
|
12868
|
+
/** Time when the event occurred. */
|
|
12844
12869
|
occurred_at: string;
|
|
12845
12870
|
/** The ID of the access code. */
|
|
12846
12871
|
access_code_id: string;
|
|
@@ -12850,13 +12875,13 @@ export interface Routes {
|
|
|
12850
12875
|
connected_account_id: string;
|
|
12851
12876
|
event_type: 'access_code.failed_to_set_on_device';
|
|
12852
12877
|
} | {
|
|
12853
|
-
/**
|
|
12878
|
+
/** ID of the event. */
|
|
12854
12879
|
event_id: string;
|
|
12855
|
-
/**
|
|
12880
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12856
12881
|
workspace_id: string;
|
|
12857
|
-
/**
|
|
12882
|
+
/** Time at which the event was created. */
|
|
12858
12883
|
created_at: string;
|
|
12859
|
-
/**
|
|
12884
|
+
/** Time when the event occurred. */
|
|
12860
12885
|
occurred_at: string;
|
|
12861
12886
|
/** The ID of the access code. */
|
|
12862
12887
|
access_code_id: string;
|
|
@@ -12868,13 +12893,13 @@ export interface Routes {
|
|
|
12868
12893
|
/** The code of the access code. */
|
|
12869
12894
|
code: string | null;
|
|
12870
12895
|
} | {
|
|
12871
|
-
/**
|
|
12896
|
+
/** ID of the event. */
|
|
12872
12897
|
event_id: string;
|
|
12873
|
-
/**
|
|
12898
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12874
12899
|
workspace_id: string;
|
|
12875
|
-
/**
|
|
12900
|
+
/** Time at which the event was created. */
|
|
12876
12901
|
created_at: string;
|
|
12877
|
-
/**
|
|
12902
|
+
/** Time when the event occurred. */
|
|
12878
12903
|
occurred_at: string;
|
|
12879
12904
|
/** The ID of the access code. */
|
|
12880
12905
|
access_code_id: string;
|
|
@@ -12884,13 +12909,13 @@ export interface Routes {
|
|
|
12884
12909
|
connected_account_id: string;
|
|
12885
12910
|
event_type: 'access_code.delay_in_removing_from_device';
|
|
12886
12911
|
} | {
|
|
12887
|
-
/**
|
|
12912
|
+
/** ID of the event. */
|
|
12888
12913
|
event_id: string;
|
|
12889
|
-
/**
|
|
12914
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12890
12915
|
workspace_id: string;
|
|
12891
|
-
/**
|
|
12916
|
+
/** Time at which the event was created. */
|
|
12892
12917
|
created_at: string;
|
|
12893
|
-
/**
|
|
12918
|
+
/** Time when the event occurred. */
|
|
12894
12919
|
occurred_at: string;
|
|
12895
12920
|
/** The ID of the access code. */
|
|
12896
12921
|
access_code_id: string;
|
|
@@ -12900,13 +12925,13 @@ export interface Routes {
|
|
|
12900
12925
|
connected_account_id: string;
|
|
12901
12926
|
event_type: 'access_code.failed_to_remove_from_device';
|
|
12902
12927
|
} | {
|
|
12903
|
-
/**
|
|
12928
|
+
/** ID of the event. */
|
|
12904
12929
|
event_id: string;
|
|
12905
|
-
/**
|
|
12930
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12906
12931
|
workspace_id: string;
|
|
12907
|
-
/**
|
|
12932
|
+
/** Time at which the event was created. */
|
|
12908
12933
|
created_at: string;
|
|
12909
|
-
/**
|
|
12934
|
+
/** Time when the event occurred. */
|
|
12910
12935
|
occurred_at: string;
|
|
12911
12936
|
/** The ID of the access code. */
|
|
12912
12937
|
access_code_id: string;
|
|
@@ -12916,13 +12941,13 @@ export interface Routes {
|
|
|
12916
12941
|
connected_account_id: string;
|
|
12917
12942
|
event_type: 'access_code.modified_external_to_seam';
|
|
12918
12943
|
} | {
|
|
12919
|
-
/**
|
|
12944
|
+
/** ID of the event. */
|
|
12920
12945
|
event_id: string;
|
|
12921
|
-
/**
|
|
12946
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12922
12947
|
workspace_id: string;
|
|
12923
|
-
/**
|
|
12948
|
+
/** Time at which the event was created. */
|
|
12924
12949
|
created_at: string;
|
|
12925
|
-
/**
|
|
12950
|
+
/** Time when the event occurred. */
|
|
12926
12951
|
occurred_at: string;
|
|
12927
12952
|
/** The ID of the access code. */
|
|
12928
12953
|
access_code_id: string;
|
|
@@ -12932,13 +12957,13 @@ export interface Routes {
|
|
|
12932
12957
|
connected_account_id: string;
|
|
12933
12958
|
event_type: 'access_code.deleted_external_to_seam';
|
|
12934
12959
|
} | {
|
|
12935
|
-
/**
|
|
12960
|
+
/** ID of the event. */
|
|
12936
12961
|
event_id: string;
|
|
12937
|
-
/**
|
|
12962
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12938
12963
|
workspace_id: string;
|
|
12939
|
-
/**
|
|
12964
|
+
/** Time at which the event was created. */
|
|
12940
12965
|
created_at: string;
|
|
12941
|
-
/**
|
|
12966
|
+
/** Time when the event occurred. */
|
|
12942
12967
|
occurred_at: string;
|
|
12943
12968
|
/** The ID of the access code. */
|
|
12944
12969
|
access_code_id: string;
|
|
@@ -12949,13 +12974,13 @@ export interface Routes {
|
|
|
12949
12974
|
event_type: 'access_code.backup_access_code_pulled';
|
|
12950
12975
|
backup_access_code_id: string;
|
|
12951
12976
|
} | {
|
|
12952
|
-
/**
|
|
12977
|
+
/** ID of the event. */
|
|
12953
12978
|
event_id: string;
|
|
12954
|
-
/**
|
|
12979
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12955
12980
|
workspace_id: string;
|
|
12956
|
-
/**
|
|
12981
|
+
/** Time at which the event was created. */
|
|
12957
12982
|
created_at: string;
|
|
12958
|
-
/**
|
|
12983
|
+
/** Time when the event occurred. */
|
|
12959
12984
|
occurred_at: string;
|
|
12960
12985
|
/** The ID of the access code. */
|
|
12961
12986
|
access_code_id: string;
|
|
@@ -12965,13 +12990,13 @@ export interface Routes {
|
|
|
12965
12990
|
connected_account_id: string;
|
|
12966
12991
|
event_type: 'access_code.unmanaged.converted_to_managed';
|
|
12967
12992
|
} | {
|
|
12968
|
-
/**
|
|
12993
|
+
/** ID of the event. */
|
|
12969
12994
|
event_id: string;
|
|
12970
|
-
/**
|
|
12995
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12971
12996
|
workspace_id: string;
|
|
12972
|
-
/**
|
|
12997
|
+
/** Time at which the event was created. */
|
|
12973
12998
|
created_at: string;
|
|
12974
|
-
/**
|
|
12999
|
+
/** Time when the event occurred. */
|
|
12975
13000
|
occurred_at: string;
|
|
12976
13001
|
/** The ID of the access code. */
|
|
12977
13002
|
access_code_id: string;
|
|
@@ -12981,13 +13006,13 @@ export interface Routes {
|
|
|
12981
13006
|
connected_account_id: string;
|
|
12982
13007
|
event_type: 'access_code.unmanaged.failed_to_convert_to_managed';
|
|
12983
13008
|
} | {
|
|
12984
|
-
/**
|
|
13009
|
+
/** ID of the event. */
|
|
12985
13010
|
event_id: string;
|
|
12986
|
-
/**
|
|
13011
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
12987
13012
|
workspace_id: string;
|
|
12988
|
-
/**
|
|
13013
|
+
/** Time at which the event was created. */
|
|
12989
13014
|
created_at: string;
|
|
12990
|
-
/**
|
|
13015
|
+
/** Time when the event occurred. */
|
|
12991
13016
|
occurred_at: string;
|
|
12992
13017
|
/** The ID of the access code. */
|
|
12993
13018
|
access_code_id: string;
|
|
@@ -12997,13 +13022,13 @@ export interface Routes {
|
|
|
12997
13022
|
connected_account_id: string;
|
|
12998
13023
|
event_type: 'access_code.unmanaged.created';
|
|
12999
13024
|
} | {
|
|
13000
|
-
/**
|
|
13025
|
+
/** ID of the event. */
|
|
13001
13026
|
event_id: string;
|
|
13002
|
-
/**
|
|
13027
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13003
13028
|
workspace_id: string;
|
|
13004
|
-
/**
|
|
13029
|
+
/** Time at which the event was created. */
|
|
13005
13030
|
created_at: string;
|
|
13006
|
-
/**
|
|
13031
|
+
/** Time when the event occurred. */
|
|
13007
13032
|
occurred_at: string;
|
|
13008
13033
|
/** The ID of the access code. */
|
|
13009
13034
|
access_code_id: string;
|
|
@@ -13013,13 +13038,13 @@ export interface Routes {
|
|
|
13013
13038
|
connected_account_id: string;
|
|
13014
13039
|
event_type: 'access_code.unmanaged.removed';
|
|
13015
13040
|
} | {
|
|
13016
|
-
/**
|
|
13041
|
+
/** ID of the event. */
|
|
13017
13042
|
event_id: string;
|
|
13018
|
-
/**
|
|
13043
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13019
13044
|
workspace_id: string;
|
|
13020
|
-
/**
|
|
13045
|
+
/** Time at which the event was created. */
|
|
13021
13046
|
created_at: string;
|
|
13022
|
-
/**
|
|
13047
|
+
/** Time when the event occurred. */
|
|
13023
13048
|
occurred_at: string;
|
|
13024
13049
|
/** ID of the connected account.
|
|
13025
13050
|
* @deprecated Will be removed. */
|
|
@@ -13028,13 +13053,13 @@ export interface Routes {
|
|
|
13028
13053
|
acs_system_id: string;
|
|
13029
13054
|
event_type: 'acs_system.connected';
|
|
13030
13055
|
} | {
|
|
13031
|
-
/**
|
|
13056
|
+
/** ID of the event. */
|
|
13032
13057
|
event_id: string;
|
|
13033
|
-
/**
|
|
13058
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13034
13059
|
workspace_id: string;
|
|
13035
|
-
/**
|
|
13060
|
+
/** Time at which the event was created. */
|
|
13036
13061
|
created_at: string;
|
|
13037
|
-
/**
|
|
13062
|
+
/** Time when the event occurred. */
|
|
13038
13063
|
occurred_at: string;
|
|
13039
13064
|
/** ID of the connected account.
|
|
13040
13065
|
* @deprecated Will be removed. */
|
|
@@ -13043,13 +13068,13 @@ export interface Routes {
|
|
|
13043
13068
|
acs_system_id: string;
|
|
13044
13069
|
event_type: 'acs_system.added';
|
|
13045
13070
|
} | {
|
|
13046
|
-
/**
|
|
13071
|
+
/** ID of the event. */
|
|
13047
13072
|
event_id: string;
|
|
13048
|
-
/**
|
|
13073
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13049
13074
|
workspace_id: string;
|
|
13050
|
-
/**
|
|
13075
|
+
/** Time at which the event was created. */
|
|
13051
13076
|
created_at: string;
|
|
13052
|
-
/**
|
|
13077
|
+
/** Time when the event occurred. */
|
|
13053
13078
|
occurred_at: string;
|
|
13054
13079
|
/** ID of the connected account.
|
|
13055
13080
|
* @deprecated Will be removed. */
|
|
@@ -13058,13 +13083,13 @@ export interface Routes {
|
|
|
13058
13083
|
acs_system_id: string;
|
|
13059
13084
|
event_type: 'acs_system.disconnected';
|
|
13060
13085
|
} | {
|
|
13061
|
-
/**
|
|
13086
|
+
/** ID of the event. */
|
|
13062
13087
|
event_id: string;
|
|
13063
|
-
/**
|
|
13088
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13064
13089
|
workspace_id: string;
|
|
13065
|
-
/**
|
|
13090
|
+
/** Time at which the event was created. */
|
|
13066
13091
|
created_at: string;
|
|
13067
|
-
/**
|
|
13092
|
+
/** Time when the event occurred. */
|
|
13068
13093
|
occurred_at: string;
|
|
13069
13094
|
/** ID of the connected account.
|
|
13070
13095
|
* @deprecated Will be removed. */
|
|
@@ -13074,13 +13099,13 @@ export interface Routes {
|
|
|
13074
13099
|
acs_credential_id: string;
|
|
13075
13100
|
event_type: 'acs_credential.deleted';
|
|
13076
13101
|
} | {
|
|
13077
|
-
/**
|
|
13102
|
+
/** ID of the event. */
|
|
13078
13103
|
event_id: string;
|
|
13079
|
-
/**
|
|
13104
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13080
13105
|
workspace_id: string;
|
|
13081
|
-
/**
|
|
13106
|
+
/** Time at which the event was created. */
|
|
13082
13107
|
created_at: string;
|
|
13083
|
-
/**
|
|
13108
|
+
/** Time when the event occurred. */
|
|
13084
13109
|
occurred_at: string;
|
|
13085
13110
|
/** ID of the connected account.
|
|
13086
13111
|
* @deprecated Will be removed. */
|
|
@@ -13090,13 +13115,13 @@ export interface Routes {
|
|
|
13090
13115
|
acs_credential_id: string;
|
|
13091
13116
|
event_type: 'acs_credential.issued';
|
|
13092
13117
|
} | {
|
|
13093
|
-
/**
|
|
13118
|
+
/** ID of the event. */
|
|
13094
13119
|
event_id: string;
|
|
13095
|
-
/**
|
|
13120
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13096
13121
|
workspace_id: string;
|
|
13097
|
-
/**
|
|
13122
|
+
/** Time at which the event was created. */
|
|
13098
13123
|
created_at: string;
|
|
13099
|
-
/**
|
|
13124
|
+
/** Time when the event occurred. */
|
|
13100
13125
|
occurred_at: string;
|
|
13101
13126
|
/** ID of the connected account.
|
|
13102
13127
|
* @deprecated Will be removed. */
|
|
@@ -13106,13 +13131,13 @@ export interface Routes {
|
|
|
13106
13131
|
acs_user_id: string;
|
|
13107
13132
|
event_type: 'acs_user.deleted';
|
|
13108
13133
|
} | {
|
|
13109
|
-
/**
|
|
13134
|
+
/** ID of the event. */
|
|
13110
13135
|
event_id: string;
|
|
13111
|
-
/**
|
|
13136
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13112
13137
|
workspace_id: string;
|
|
13113
|
-
/**
|
|
13138
|
+
/** Time at which the event was created. */
|
|
13114
13139
|
created_at: string;
|
|
13115
|
-
/**
|
|
13140
|
+
/** Time when the event occurred. */
|
|
13116
13141
|
occurred_at: string;
|
|
13117
13142
|
/** ID of the connected account.
|
|
13118
13143
|
* @deprecated Will be removed. */
|
|
@@ -13123,13 +13148,13 @@ export interface Routes {
|
|
|
13123
13148
|
acs_encoder_id: string;
|
|
13124
13149
|
event_type: 'acs_encoder.added';
|
|
13125
13150
|
} | {
|
|
13126
|
-
/**
|
|
13151
|
+
/** ID of the event. */
|
|
13127
13152
|
event_id: string;
|
|
13128
|
-
/**
|
|
13153
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13129
13154
|
workspace_id: string;
|
|
13130
|
-
/**
|
|
13155
|
+
/** Time at which the event was created. */
|
|
13131
13156
|
created_at: string;
|
|
13132
|
-
/**
|
|
13157
|
+
/** Time when the event occurred. */
|
|
13133
13158
|
occurred_at: string;
|
|
13134
13159
|
/** ID of the connected account.
|
|
13135
13160
|
* @deprecated Will be removed. */
|
|
@@ -13140,25 +13165,25 @@ export interface Routes {
|
|
|
13140
13165
|
acs_encoder_id: string;
|
|
13141
13166
|
event_type: 'acs_encoder.removed';
|
|
13142
13167
|
} | {
|
|
13143
|
-
/**
|
|
13168
|
+
/** ID of the event. */
|
|
13144
13169
|
event_id: string;
|
|
13145
|
-
/**
|
|
13170
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13146
13171
|
workspace_id: string;
|
|
13147
|
-
/**
|
|
13172
|
+
/** Time at which the event was created. */
|
|
13148
13173
|
created_at: string;
|
|
13149
|
-
/**
|
|
13174
|
+
/** Time when the event occurred. */
|
|
13150
13175
|
occurred_at: string;
|
|
13151
13176
|
/** ID of the client session. */
|
|
13152
13177
|
client_session_id: string;
|
|
13153
13178
|
event_type: 'client_session.deleted';
|
|
13154
13179
|
} | {
|
|
13155
|
-
/**
|
|
13180
|
+
/** ID of the event. */
|
|
13156
13181
|
event_id: string;
|
|
13157
|
-
/**
|
|
13182
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13158
13183
|
workspace_id: string;
|
|
13159
|
-
/**
|
|
13184
|
+
/** Time at which the event was created. */
|
|
13160
13185
|
created_at: string;
|
|
13161
|
-
/**
|
|
13186
|
+
/** Time when the event occurred. */
|
|
13162
13187
|
occurred_at: string;
|
|
13163
13188
|
/** ID of the connected account. */
|
|
13164
13189
|
connected_account_id: string;
|
|
@@ -13166,13 +13191,13 @@ export interface Routes {
|
|
|
13166
13191
|
/** ID of the connect webview. */
|
|
13167
13192
|
connect_webview_id: string;
|
|
13168
13193
|
} | {
|
|
13169
|
-
/**
|
|
13194
|
+
/** ID of the event. */
|
|
13170
13195
|
event_id: string;
|
|
13171
|
-
/**
|
|
13196
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13172
13197
|
workspace_id: string;
|
|
13173
|
-
/**
|
|
13198
|
+
/** Time at which the event was created. */
|
|
13174
13199
|
created_at: string;
|
|
13175
|
-
/**
|
|
13200
|
+
/** Time when the event occurred. */
|
|
13176
13201
|
occurred_at: string;
|
|
13177
13202
|
/** ID of the connected account. */
|
|
13178
13203
|
connected_account_id: string;
|
|
@@ -13180,13 +13205,13 @@ export interface Routes {
|
|
|
13180
13205
|
/** ID of the connect webview. */
|
|
13181
13206
|
connect_webview_id: string;
|
|
13182
13207
|
} | {
|
|
13183
|
-
/**
|
|
13208
|
+
/** ID of the event. */
|
|
13184
13209
|
event_id: string;
|
|
13185
|
-
/**
|
|
13210
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13186
13211
|
workspace_id: string;
|
|
13187
|
-
/**
|
|
13212
|
+
/** Time at which the event was created. */
|
|
13188
13213
|
created_at: string;
|
|
13189
|
-
/**
|
|
13214
|
+
/** Time when the event occurred. */
|
|
13190
13215
|
occurred_at: string;
|
|
13191
13216
|
/** ID of the connected account. */
|
|
13192
13217
|
connected_account_id: string;
|
|
@@ -13194,61 +13219,61 @@ export interface Routes {
|
|
|
13194
13219
|
/** ID of the connect webview. */
|
|
13195
13220
|
connect_webview_id: string;
|
|
13196
13221
|
} | {
|
|
13197
|
-
/**
|
|
13222
|
+
/** ID of the event. */
|
|
13198
13223
|
event_id: string;
|
|
13199
|
-
/**
|
|
13224
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13200
13225
|
workspace_id: string;
|
|
13201
|
-
/**
|
|
13226
|
+
/** Time at which the event was created. */
|
|
13202
13227
|
created_at: string;
|
|
13203
|
-
/**
|
|
13228
|
+
/** Time when the event occurred. */
|
|
13204
13229
|
occurred_at: string;
|
|
13205
13230
|
/** ID of the connected account. */
|
|
13206
13231
|
connected_account_id: string;
|
|
13207
13232
|
event_type: 'connected_account.disconnected';
|
|
13208
13233
|
} | {
|
|
13209
|
-
/**
|
|
13234
|
+
/** ID of the event. */
|
|
13210
13235
|
event_id: string;
|
|
13211
|
-
/**
|
|
13236
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13212
13237
|
workspace_id: string;
|
|
13213
|
-
/**
|
|
13238
|
+
/** Time at which the event was created. */
|
|
13214
13239
|
created_at: string;
|
|
13215
|
-
/**
|
|
13240
|
+
/** Time when the event occurred. */
|
|
13216
13241
|
occurred_at: string;
|
|
13217
13242
|
/** ID of the connected account. */
|
|
13218
13243
|
connected_account_id: string;
|
|
13219
13244
|
event_type: 'connected_account.completed_first_sync';
|
|
13220
13245
|
} | {
|
|
13221
|
-
/**
|
|
13246
|
+
/** ID of the event. */
|
|
13222
13247
|
event_id: string;
|
|
13223
|
-
/**
|
|
13248
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13224
13249
|
workspace_id: string;
|
|
13225
|
-
/**
|
|
13250
|
+
/** Time at which the event was created. */
|
|
13226
13251
|
created_at: string;
|
|
13227
|
-
/**
|
|
13252
|
+
/** Time when the event occurred. */
|
|
13228
13253
|
occurred_at: string;
|
|
13229
13254
|
/** ID of the connected account. */
|
|
13230
13255
|
connected_account_id: string;
|
|
13231
13256
|
event_type: 'connected_account.deleted';
|
|
13232
13257
|
} | {
|
|
13233
|
-
/**
|
|
13258
|
+
/** ID of the event. */
|
|
13234
13259
|
event_id: string;
|
|
13235
|
-
/**
|
|
13260
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13236
13261
|
workspace_id: string;
|
|
13237
|
-
/**
|
|
13262
|
+
/** Time at which the event was created. */
|
|
13238
13263
|
created_at: string;
|
|
13239
|
-
/**
|
|
13264
|
+
/** Time when the event occurred. */
|
|
13240
13265
|
occurred_at: string;
|
|
13241
13266
|
/** ID of the connected account. */
|
|
13242
13267
|
connected_account_id: string;
|
|
13243
13268
|
event_type: 'connected_account.completed_first_sync_after_reconnection';
|
|
13244
13269
|
} | {
|
|
13245
|
-
/**
|
|
13270
|
+
/** ID of the event. */
|
|
13246
13271
|
event_id: string;
|
|
13247
|
-
/**
|
|
13272
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13248
13273
|
workspace_id: string;
|
|
13249
|
-
/**
|
|
13274
|
+
/** Time at which the event was created. */
|
|
13250
13275
|
created_at: string;
|
|
13251
|
-
/**
|
|
13276
|
+
/** Time when the event occurred. */
|
|
13252
13277
|
occurred_at: string;
|
|
13253
13278
|
/** The ID of the action attempt. */
|
|
13254
13279
|
action_attempt_id: string;
|
|
@@ -13258,13 +13283,13 @@ export interface Routes {
|
|
|
13258
13283
|
status: string;
|
|
13259
13284
|
event_type: 'action_attempt.lock_door.succeeded';
|
|
13260
13285
|
} | {
|
|
13261
|
-
/**
|
|
13286
|
+
/** ID of the event. */
|
|
13262
13287
|
event_id: string;
|
|
13263
|
-
/**
|
|
13288
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13264
13289
|
workspace_id: string;
|
|
13265
|
-
/**
|
|
13290
|
+
/** Time at which the event was created. */
|
|
13266
13291
|
created_at: string;
|
|
13267
|
-
/**
|
|
13292
|
+
/** Time when the event occurred. */
|
|
13268
13293
|
occurred_at: string;
|
|
13269
13294
|
/** The ID of the action attempt. */
|
|
13270
13295
|
action_attempt_id: string;
|
|
@@ -13274,13 +13299,13 @@ export interface Routes {
|
|
|
13274
13299
|
status: string;
|
|
13275
13300
|
event_type: 'action_attempt.lock_door.failed';
|
|
13276
13301
|
} | {
|
|
13277
|
-
/**
|
|
13302
|
+
/** ID of the event. */
|
|
13278
13303
|
event_id: string;
|
|
13279
|
-
/**
|
|
13304
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13280
13305
|
workspace_id: string;
|
|
13281
|
-
/**
|
|
13306
|
+
/** Time at which the event was created. */
|
|
13282
13307
|
created_at: string;
|
|
13283
|
-
/**
|
|
13308
|
+
/** Time when the event occurred. */
|
|
13284
13309
|
occurred_at: string;
|
|
13285
13310
|
/** The ID of the action attempt. */
|
|
13286
13311
|
action_attempt_id: string;
|
|
@@ -13290,13 +13315,13 @@ export interface Routes {
|
|
|
13290
13315
|
status: string;
|
|
13291
13316
|
event_type: 'action_attempt.unlock_door.succeeded';
|
|
13292
13317
|
} | {
|
|
13293
|
-
/**
|
|
13318
|
+
/** ID of the event. */
|
|
13294
13319
|
event_id: string;
|
|
13295
|
-
/**
|
|
13320
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13296
13321
|
workspace_id: string;
|
|
13297
|
-
/**
|
|
13322
|
+
/** Time at which the event was created. */
|
|
13298
13323
|
created_at: string;
|
|
13299
|
-
/**
|
|
13324
|
+
/** Time when the event occurred. */
|
|
13300
13325
|
occurred_at: string;
|
|
13301
13326
|
/** The ID of the action attempt. */
|
|
13302
13327
|
action_attempt_id: string;
|
|
@@ -13306,13 +13331,13 @@ export interface Routes {
|
|
|
13306
13331
|
status: string;
|
|
13307
13332
|
event_type: 'action_attempt.unlock_door.failed';
|
|
13308
13333
|
} | {
|
|
13309
|
-
/**
|
|
13334
|
+
/** ID of the event. */
|
|
13310
13335
|
event_id: string;
|
|
13311
|
-
/**
|
|
13336
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13312
13337
|
workspace_id: string;
|
|
13313
|
-
/**
|
|
13338
|
+
/** Time at which the event was created. */
|
|
13314
13339
|
created_at: string;
|
|
13315
|
-
/**
|
|
13340
|
+
/** Time when the event occurred. */
|
|
13316
13341
|
occurred_at: string;
|
|
13317
13342
|
/** ID of the connect webview. */
|
|
13318
13343
|
connect_webview_id: string;
|
|
@@ -13320,439 +13345,452 @@ export interface Routes {
|
|
|
13320
13345
|
/** ID of the connected account. */
|
|
13321
13346
|
connected_account_id: string;
|
|
13322
13347
|
} | {
|
|
13323
|
-
/**
|
|
13348
|
+
/** ID of the event. */
|
|
13324
13349
|
event_id: string;
|
|
13325
|
-
/**
|
|
13350
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13326
13351
|
workspace_id: string;
|
|
13327
|
-
/**
|
|
13352
|
+
/** Time at which the event was created. */
|
|
13328
13353
|
created_at: string;
|
|
13329
|
-
/**
|
|
13354
|
+
/** Time when the event occurred. */
|
|
13330
13355
|
occurred_at: string;
|
|
13331
13356
|
/** ID of the connect webview. */
|
|
13332
13357
|
connect_webview_id: string;
|
|
13333
13358
|
event_type: 'connect_webview.login_failed';
|
|
13334
13359
|
} | {
|
|
13335
|
-
/**
|
|
13360
|
+
/** ID of the event. */
|
|
13336
13361
|
event_id: string;
|
|
13337
|
-
/**
|
|
13362
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13338
13363
|
workspace_id: string;
|
|
13339
|
-
/**
|
|
13364
|
+
/** Time at which the event was created. */
|
|
13340
13365
|
created_at: string;
|
|
13341
|
-
/**
|
|
13366
|
+
/** Time when the event occurred. */
|
|
13342
13367
|
occurred_at: string;
|
|
13343
13368
|
/** ID of the device. */
|
|
13344
13369
|
device_id: string;
|
|
13345
|
-
/** ID of the connected account. */
|
|
13370
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13346
13371
|
connected_account_id: string;
|
|
13347
13372
|
event_type: 'device.connected';
|
|
13348
13373
|
} | {
|
|
13349
|
-
/**
|
|
13374
|
+
/** ID of the event. */
|
|
13350
13375
|
event_id: string;
|
|
13351
|
-
/**
|
|
13376
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13352
13377
|
workspace_id: string;
|
|
13353
|
-
/**
|
|
13378
|
+
/** Time at which the event was created. */
|
|
13354
13379
|
created_at: string;
|
|
13355
|
-
/**
|
|
13380
|
+
/** Time when the event occurred. */
|
|
13356
13381
|
occurred_at: string;
|
|
13357
13382
|
/** ID of the device. */
|
|
13358
13383
|
device_id: string;
|
|
13359
|
-
/** ID of the connected account. */
|
|
13384
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13360
13385
|
connected_account_id: string;
|
|
13361
13386
|
event_type: 'device.added';
|
|
13362
13387
|
} | {
|
|
13363
|
-
/**
|
|
13388
|
+
/** ID of the event. */
|
|
13364
13389
|
event_id: string;
|
|
13365
|
-
/**
|
|
13390
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13366
13391
|
workspace_id: string;
|
|
13367
|
-
/**
|
|
13392
|
+
/** Time at which the event was created. */
|
|
13368
13393
|
created_at: string;
|
|
13369
|
-
/**
|
|
13394
|
+
/** Time when the event occurred. */
|
|
13370
13395
|
occurred_at: string;
|
|
13371
13396
|
/** ID of the device. */
|
|
13372
13397
|
device_id: string;
|
|
13373
|
-
/** ID of the connected account. */
|
|
13398
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13374
13399
|
connected_account_id: string;
|
|
13375
13400
|
event_type: 'device.converted_to_unmanaged';
|
|
13376
13401
|
} | {
|
|
13377
|
-
/**
|
|
13402
|
+
/** ID of the event. */
|
|
13378
13403
|
event_id: string;
|
|
13379
|
-
/**
|
|
13404
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13380
13405
|
workspace_id: string;
|
|
13381
|
-
/**
|
|
13406
|
+
/** Time at which the event was created. */
|
|
13382
13407
|
created_at: string;
|
|
13383
|
-
/**
|
|
13408
|
+
/** Time when the event occurred. */
|
|
13384
13409
|
occurred_at: string;
|
|
13385
13410
|
/** ID of the device. */
|
|
13386
13411
|
device_id: string;
|
|
13387
|
-
/** ID of the connected account. */
|
|
13412
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13388
13413
|
connected_account_id: string;
|
|
13389
13414
|
event_type: 'device.unmanaged.converted_to_managed';
|
|
13390
13415
|
} | {
|
|
13391
|
-
/**
|
|
13416
|
+
/** ID of the event. */
|
|
13392
13417
|
event_id: string;
|
|
13393
|
-
/**
|
|
13418
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13394
13419
|
workspace_id: string;
|
|
13395
|
-
/**
|
|
13420
|
+
/** Time at which the event was created. */
|
|
13396
13421
|
created_at: string;
|
|
13397
|
-
/**
|
|
13422
|
+
/** Time when the event occurred. */
|
|
13398
13423
|
occurred_at: string;
|
|
13399
13424
|
/** ID of the device. */
|
|
13400
13425
|
device_id: string;
|
|
13401
|
-
/** ID of the connected account. */
|
|
13426
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13402
13427
|
connected_account_id: string;
|
|
13403
13428
|
event_type: 'device.unmanaged.connected';
|
|
13404
13429
|
} | {
|
|
13405
|
-
/**
|
|
13430
|
+
/** ID of the event. */
|
|
13406
13431
|
event_id: string;
|
|
13407
|
-
/**
|
|
13432
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13408
13433
|
workspace_id: string;
|
|
13409
|
-
/**
|
|
13434
|
+
/** Time at which the event was created. */
|
|
13410
13435
|
created_at: string;
|
|
13411
|
-
/**
|
|
13436
|
+
/** Time when the event occurred. */
|
|
13412
13437
|
occurred_at: string;
|
|
13413
13438
|
/** ID of the device. */
|
|
13414
13439
|
device_id: string;
|
|
13415
|
-
/** ID of the connected account. */
|
|
13440
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13416
13441
|
connected_account_id: string;
|
|
13417
13442
|
event_type: 'device.disconnected';
|
|
13418
|
-
/**
|
|
13443
|
+
/** Error code associated with the disconnection event, if any. */
|
|
13419
13444
|
error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
|
|
13420
13445
|
} | {
|
|
13421
|
-
/**
|
|
13446
|
+
/** ID of the event. */
|
|
13422
13447
|
event_id: string;
|
|
13423
|
-
/**
|
|
13448
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13424
13449
|
workspace_id: string;
|
|
13425
|
-
/**
|
|
13450
|
+
/** Time at which the event was created. */
|
|
13426
13451
|
created_at: string;
|
|
13427
|
-
/**
|
|
13452
|
+
/** Time when the event occurred. */
|
|
13428
13453
|
occurred_at: string;
|
|
13429
13454
|
/** ID of the device. */
|
|
13430
13455
|
device_id: string;
|
|
13431
|
-
/** ID of the connected account. */
|
|
13456
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13432
13457
|
connected_account_id: string;
|
|
13433
13458
|
event_type: 'device.unmanaged.disconnected';
|
|
13434
|
-
/**
|
|
13459
|
+
/** Error code associated with the disconnection event, if any. */
|
|
13435
13460
|
error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
|
|
13436
13461
|
} | {
|
|
13437
|
-
/**
|
|
13462
|
+
/** ID of the event. */
|
|
13438
13463
|
event_id: string;
|
|
13439
|
-
/**
|
|
13464
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13440
13465
|
workspace_id: string;
|
|
13441
|
-
/**
|
|
13466
|
+
/** Time at which the event was created. */
|
|
13442
13467
|
created_at: string;
|
|
13443
|
-
/**
|
|
13468
|
+
/** Time when the event occurred. */
|
|
13444
13469
|
occurred_at: string;
|
|
13445
13470
|
/** ID of the device. */
|
|
13446
13471
|
device_id: string;
|
|
13447
|
-
/** ID of the connected account. */
|
|
13472
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13448
13473
|
connected_account_id: string;
|
|
13449
13474
|
event_type: 'device.tampered';
|
|
13450
13475
|
} | {
|
|
13451
|
-
/**
|
|
13476
|
+
/** ID of the event. */
|
|
13452
13477
|
event_id: string;
|
|
13453
|
-
/**
|
|
13478
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13454
13479
|
workspace_id: string;
|
|
13455
|
-
/**
|
|
13480
|
+
/** Time at which the event was created. */
|
|
13456
13481
|
created_at: string;
|
|
13457
|
-
/**
|
|
13482
|
+
/** Time when the event occurred. */
|
|
13458
13483
|
occurred_at: string;
|
|
13459
13484
|
/** ID of the device. */
|
|
13460
13485
|
device_id: string;
|
|
13461
|
-
/** ID of the connected account. */
|
|
13486
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13462
13487
|
connected_account_id: string;
|
|
13463
13488
|
event_type: 'device.low_battery';
|
|
13464
|
-
/**
|
|
13489
|
+
/** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
|
|
13465
13490
|
battery_level: number;
|
|
13466
13491
|
} | {
|
|
13467
|
-
/**
|
|
13492
|
+
/** ID of the event. */
|
|
13468
13493
|
event_id: string;
|
|
13469
|
-
/**
|
|
13494
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13470
13495
|
workspace_id: string;
|
|
13471
|
-
/**
|
|
13496
|
+
/** Time at which the event was created. */
|
|
13472
13497
|
created_at: string;
|
|
13473
|
-
/**
|
|
13498
|
+
/** Time when the event occurred. */
|
|
13474
13499
|
occurred_at: string;
|
|
13475
13500
|
/** ID of the device. */
|
|
13476
13501
|
device_id: string;
|
|
13477
|
-
/** ID of the connected account. */
|
|
13502
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13478
13503
|
connected_account_id: string;
|
|
13479
13504
|
event_type: 'device.battery_status_changed';
|
|
13480
|
-
/**
|
|
13505
|
+
/** Battery status of the device, calculated from the numeric `battery_level` value. */
|
|
13481
13506
|
battery_status: 'critical' | 'low' | 'good' | 'full';
|
|
13482
|
-
/**
|
|
13507
|
+
/** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
|
|
13483
13508
|
battery_level: number;
|
|
13484
13509
|
} | {
|
|
13485
|
-
/**
|
|
13510
|
+
/** ID of the event. */
|
|
13486
13511
|
event_id: string;
|
|
13487
|
-
/**
|
|
13512
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13488
13513
|
workspace_id: string;
|
|
13489
|
-
/**
|
|
13514
|
+
/** Time at which the event was created. */
|
|
13490
13515
|
created_at: string;
|
|
13491
|
-
/**
|
|
13516
|
+
/** Time when the event occurred. */
|
|
13492
13517
|
occurred_at: string;
|
|
13493
13518
|
/** ID of the device. */
|
|
13494
13519
|
device_id: string;
|
|
13495
|
-
/** ID of the connected account. */
|
|
13520
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13496
13521
|
connected_account_id: string;
|
|
13497
13522
|
event_type: 'device.removed';
|
|
13498
13523
|
} | {
|
|
13499
|
-
/**
|
|
13524
|
+
/** ID of the event. */
|
|
13500
13525
|
event_id: string;
|
|
13501
|
-
/**
|
|
13526
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13502
13527
|
workspace_id: string;
|
|
13503
|
-
/**
|
|
13528
|
+
/** Time at which the event was created. */
|
|
13504
13529
|
created_at: string;
|
|
13505
|
-
/**
|
|
13530
|
+
/** Time when the event occurred. */
|
|
13506
13531
|
occurred_at: string;
|
|
13507
13532
|
/** ID of the device. */
|
|
13508
13533
|
device_id: string;
|
|
13509
|
-
/** ID of the connected account. */
|
|
13534
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13510
13535
|
connected_account_id: string;
|
|
13511
13536
|
event_type: 'device.deleted';
|
|
13512
13537
|
} | {
|
|
13513
|
-
/**
|
|
13538
|
+
/** ID of the event. */
|
|
13514
13539
|
event_id: string;
|
|
13515
|
-
/**
|
|
13540
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13516
13541
|
workspace_id: string;
|
|
13517
|
-
/**
|
|
13542
|
+
/** Time at which the event was created. */
|
|
13518
13543
|
created_at: string;
|
|
13519
|
-
/**
|
|
13544
|
+
/** Time when the event occurred. */
|
|
13520
13545
|
occurred_at: string;
|
|
13521
13546
|
/** ID of the device. */
|
|
13522
13547
|
device_id: string;
|
|
13523
|
-
/** ID of the connected account. */
|
|
13548
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13524
13549
|
connected_account_id: string;
|
|
13525
13550
|
event_type: 'device.third_party_integration_detected';
|
|
13526
13551
|
} | {
|
|
13527
|
-
/**
|
|
13552
|
+
/** ID of the event. */
|
|
13528
13553
|
event_id: string;
|
|
13529
|
-
/**
|
|
13554
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13530
13555
|
workspace_id: string;
|
|
13531
|
-
/**
|
|
13556
|
+
/** Time at which the event was created. */
|
|
13532
13557
|
created_at: string;
|
|
13533
|
-
/**
|
|
13558
|
+
/** Time when the event occurred. */
|
|
13534
13559
|
occurred_at: string;
|
|
13535
13560
|
/** ID of the device. */
|
|
13536
13561
|
device_id: string;
|
|
13537
|
-
/** ID of the connected account. */
|
|
13562
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13538
13563
|
connected_account_id: string;
|
|
13539
13564
|
event_type: 'device.third_party_integration_no_longer_detected';
|
|
13540
13565
|
} | {
|
|
13541
|
-
/**
|
|
13566
|
+
/** ID of the event. */
|
|
13542
13567
|
event_id: string;
|
|
13543
|
-
/**
|
|
13568
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13544
13569
|
workspace_id: string;
|
|
13545
|
-
/**
|
|
13570
|
+
/** Time at which the event was created. */
|
|
13546
13571
|
created_at: string;
|
|
13547
|
-
/**
|
|
13572
|
+
/** Time when the event occurred. */
|
|
13548
13573
|
occurred_at: string;
|
|
13549
13574
|
/** ID of the device. */
|
|
13550
13575
|
device_id: string;
|
|
13551
|
-
/** ID of the connected account. */
|
|
13576
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13552
13577
|
connected_account_id: string;
|
|
13553
13578
|
event_type: 'device.salto.privacy_mode_activated';
|
|
13554
13579
|
} | {
|
|
13555
|
-
/**
|
|
13580
|
+
/** ID of the event. */
|
|
13556
13581
|
event_id: string;
|
|
13557
|
-
/**
|
|
13582
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13558
13583
|
workspace_id: string;
|
|
13559
|
-
/**
|
|
13584
|
+
/** Time at which the event was created. */
|
|
13560
13585
|
created_at: string;
|
|
13561
|
-
/**
|
|
13586
|
+
/** Time when the event occurred. */
|
|
13562
13587
|
occurred_at: string;
|
|
13563
13588
|
/** ID of the device. */
|
|
13564
13589
|
device_id: string;
|
|
13565
|
-
/** ID of the connected account. */
|
|
13590
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13566
13591
|
connected_account_id: string;
|
|
13567
13592
|
event_type: 'device.salto.privacy_mode_deactivated';
|
|
13568
13593
|
} | {
|
|
13569
|
-
/**
|
|
13594
|
+
/** ID of the event. */
|
|
13570
13595
|
event_id: string;
|
|
13571
|
-
/**
|
|
13596
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13572
13597
|
workspace_id: string;
|
|
13573
|
-
/**
|
|
13598
|
+
/** Time at which the event was created. */
|
|
13574
13599
|
created_at: string;
|
|
13575
|
-
/**
|
|
13600
|
+
/** Time when the event occurred. */
|
|
13576
13601
|
occurred_at: string;
|
|
13577
13602
|
/** ID of the device. */
|
|
13578
13603
|
device_id: string;
|
|
13579
|
-
/** ID of the connected account. */
|
|
13604
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13580
13605
|
connected_account_id: string;
|
|
13581
13606
|
event_type: 'device.connection_became_flaky';
|
|
13582
13607
|
} | {
|
|
13583
|
-
/**
|
|
13608
|
+
/** ID of the event. */
|
|
13584
13609
|
event_id: string;
|
|
13585
|
-
/**
|
|
13610
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13586
13611
|
workspace_id: string;
|
|
13587
|
-
/**
|
|
13612
|
+
/** Time at which the event was created. */
|
|
13588
13613
|
created_at: string;
|
|
13589
|
-
/**
|
|
13614
|
+
/** Time when the event occurred. */
|
|
13590
13615
|
occurred_at: string;
|
|
13591
13616
|
/** ID of the device. */
|
|
13592
13617
|
device_id: string;
|
|
13593
|
-
/** ID of the connected account. */
|
|
13618
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13594
13619
|
connected_account_id: string;
|
|
13595
13620
|
event_type: 'device.connection_stabilized';
|
|
13596
13621
|
} | {
|
|
13597
|
-
/**
|
|
13622
|
+
/** ID of the event. */
|
|
13598
13623
|
event_id: string;
|
|
13599
|
-
/**
|
|
13624
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13600
13625
|
workspace_id: string;
|
|
13601
|
-
/**
|
|
13626
|
+
/** Time at which the event was created. */
|
|
13602
13627
|
created_at: string;
|
|
13603
|
-
/**
|
|
13628
|
+
/** Time when the event occurred. */
|
|
13604
13629
|
occurred_at: string;
|
|
13605
13630
|
/** ID of the device. */
|
|
13606
13631
|
device_id: string;
|
|
13607
|
-
/** ID of the connected account. */
|
|
13632
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13608
13633
|
connected_account_id: string;
|
|
13609
13634
|
event_type: 'device.error.subscription_required';
|
|
13610
13635
|
} | {
|
|
13611
|
-
/**
|
|
13636
|
+
/** ID of the event. */
|
|
13612
13637
|
event_id: string;
|
|
13613
|
-
/**
|
|
13638
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13614
13639
|
workspace_id: string;
|
|
13615
|
-
/**
|
|
13640
|
+
/** Time at which the event was created. */
|
|
13616
13641
|
created_at: string;
|
|
13617
|
-
/**
|
|
13642
|
+
/** Time when the event occurred. */
|
|
13618
13643
|
occurred_at: string;
|
|
13619
13644
|
/** ID of the device. */
|
|
13620
13645
|
device_id: string;
|
|
13621
|
-
/** ID of the connected account. */
|
|
13646
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13622
13647
|
connected_account_id: string;
|
|
13623
13648
|
event_type: 'device.error.subscription_required.resolved';
|
|
13624
13649
|
} | {
|
|
13625
|
-
/**
|
|
13650
|
+
/** ID of the event. */
|
|
13626
13651
|
event_id: string;
|
|
13627
|
-
/**
|
|
13652
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13628
13653
|
workspace_id: string;
|
|
13629
|
-
/**
|
|
13654
|
+
/** Time at which the event was created. */
|
|
13630
13655
|
created_at: string;
|
|
13631
|
-
/**
|
|
13656
|
+
/** Time when the event occurred. */
|
|
13632
13657
|
occurred_at: string;
|
|
13633
13658
|
/** ID of the device. */
|
|
13634
13659
|
device_id: string;
|
|
13635
|
-
/** ID of the connected account. */
|
|
13660
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13636
13661
|
connected_account_id: string;
|
|
13637
13662
|
event_type: 'device.accessory_keypad_connected';
|
|
13638
13663
|
} | {
|
|
13639
|
-
/**
|
|
13664
|
+
/** ID of the event. */
|
|
13640
13665
|
event_id: string;
|
|
13641
|
-
/**
|
|
13666
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13642
13667
|
workspace_id: string;
|
|
13643
|
-
/**
|
|
13668
|
+
/** Time at which the event was created. */
|
|
13644
13669
|
created_at: string;
|
|
13645
|
-
/**
|
|
13670
|
+
/** Time when the event occurred. */
|
|
13646
13671
|
occurred_at: string;
|
|
13647
13672
|
/** ID of the device. */
|
|
13648
13673
|
device_id: string;
|
|
13649
|
-
/** ID of the connected account. */
|
|
13674
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13650
13675
|
connected_account_id: string;
|
|
13651
13676
|
event_type: 'device.accessory_keypad_disconnected';
|
|
13652
13677
|
} | {
|
|
13653
|
-
/**
|
|
13678
|
+
/** ID of the event. */
|
|
13654
13679
|
event_id: string;
|
|
13655
|
-
/**
|
|
13680
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13656
13681
|
workspace_id: string;
|
|
13657
|
-
/**
|
|
13682
|
+
/** Time at which the event was created. */
|
|
13658
13683
|
created_at: string;
|
|
13659
|
-
/**
|
|
13684
|
+
/** Time when the event occurred. */
|
|
13660
13685
|
occurred_at: string;
|
|
13661
13686
|
/** ID of the device. */
|
|
13662
13687
|
device_id: string;
|
|
13663
|
-
/** ID of the connected account. */
|
|
13688
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13664
13689
|
connected_account_id: string;
|
|
13665
13690
|
event_type: 'noise_sensor.noise_threshold_triggered';
|
|
13691
|
+
/** Detected noise level in decibels. */
|
|
13666
13692
|
noise_level_decibels?: number | undefined;
|
|
13693
|
+
/** Detected noise level in Noiseaware Noise Risk Score (NRS). */
|
|
13667
13694
|
noise_level_nrs?: number | undefined;
|
|
13695
|
+
/** ID of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
|
|
13668
13696
|
noise_threshold_id?: string | undefined;
|
|
13697
|
+
/** Name of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
|
|
13669
13698
|
noise_threshold_name?: string | undefined;
|
|
13670
|
-
/** Metadata from
|
|
13699
|
+
/** Metadata from Noiseaware. */
|
|
13671
13700
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
13672
|
-
/** Metadata from
|
|
13701
|
+
/** Metadata from Minut. */
|
|
13673
13702
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
13674
13703
|
} | {
|
|
13675
|
-
/**
|
|
13704
|
+
/** ID of the event. */
|
|
13676
13705
|
event_id: string;
|
|
13677
|
-
/**
|
|
13706
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13678
13707
|
workspace_id: string;
|
|
13679
|
-
/**
|
|
13708
|
+
/** Time at which the event was created. */
|
|
13680
13709
|
created_at: string;
|
|
13681
|
-
/**
|
|
13710
|
+
/** Time when the event occurred. */
|
|
13682
13711
|
occurred_at: string;
|
|
13683
13712
|
/** ID of the device. */
|
|
13684
13713
|
device_id: string;
|
|
13685
|
-
/** ID of the connected account. */
|
|
13714
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13686
13715
|
connected_account_id: string;
|
|
13687
13716
|
event_type: 'lock.locked';
|
|
13717
|
+
/** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to lock the device. */
|
|
13688
13718
|
access_code_id?: string | undefined;
|
|
13719
|
+
/** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the lock action. */
|
|
13689
13720
|
action_attempt_id?: string | undefined;
|
|
13690
|
-
/** Method by which a lock device was locked
|
|
13721
|
+
/** Method by which a lock device was locked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
13691
13722
|
method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
|
|
13692
13723
|
} | {
|
|
13693
|
-
/**
|
|
13724
|
+
/** ID of the event. */
|
|
13694
13725
|
event_id: string;
|
|
13695
|
-
/**
|
|
13726
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13696
13727
|
workspace_id: string;
|
|
13697
|
-
/**
|
|
13728
|
+
/** Time at which the event was created. */
|
|
13698
13729
|
created_at: string;
|
|
13699
|
-
/**
|
|
13730
|
+
/** Time when the event occurred. */
|
|
13700
13731
|
occurred_at: string;
|
|
13701
13732
|
/** ID of the device. */
|
|
13702
13733
|
device_id: string;
|
|
13703
|
-
/** ID of the connected account. */
|
|
13734
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13704
13735
|
connected_account_id: string;
|
|
13705
13736
|
event_type: 'lock.unlocked';
|
|
13737
|
+
/** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to unlock the device. */
|
|
13706
13738
|
access_code_id?: string | undefined;
|
|
13739
|
+
/** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the unlock action. */
|
|
13707
13740
|
action_attempt_id?: string | undefined;
|
|
13708
|
-
/** Method by which a lock device was
|
|
13741
|
+
/** Method by which a lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
13709
13742
|
method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
|
|
13710
13743
|
} | {
|
|
13711
|
-
/**
|
|
13744
|
+
/** ID of the event. */
|
|
13712
13745
|
event_id: string;
|
|
13713
|
-
/**
|
|
13746
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13714
13747
|
workspace_id: string;
|
|
13715
|
-
/**
|
|
13748
|
+
/** Time at which the event was created. */
|
|
13716
13749
|
created_at: string;
|
|
13717
|
-
/**
|
|
13750
|
+
/** Time when the event occurred. */
|
|
13718
13751
|
occurred_at: string;
|
|
13719
13752
|
/** ID of the device. */
|
|
13720
13753
|
device_id: string;
|
|
13721
|
-
/** ID of the connected account. */
|
|
13754
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13722
13755
|
connected_account_id: string;
|
|
13723
13756
|
event_type: 'lock.access_denied';
|
|
13757
|
+
/** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used in the unlock attempts. */
|
|
13724
13758
|
access_code_id?: string | undefined;
|
|
13725
13759
|
} | {
|
|
13726
|
-
/**
|
|
13760
|
+
/** ID of the event. */
|
|
13727
13761
|
event_id: string;
|
|
13728
|
-
/**
|
|
13762
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13729
13763
|
workspace_id: string;
|
|
13730
|
-
/**
|
|
13764
|
+
/** Time at which the event was created. */
|
|
13731
13765
|
created_at: string;
|
|
13732
|
-
/**
|
|
13766
|
+
/** Time when the event occurred. */
|
|
13733
13767
|
occurred_at: string;
|
|
13734
13768
|
/** ID of the device. */
|
|
13735
13769
|
device_id: string;
|
|
13736
|
-
/** ID of the connected account. */
|
|
13770
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13737
13771
|
connected_account_id: string;
|
|
13738
13772
|
event_type: 'thermostat.climate_preset_activated';
|
|
13773
|
+
/** ID of the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that prompted the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to be activated. */
|
|
13739
13774
|
thermostat_schedule_id: string | null;
|
|
13775
|
+
/** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated. */
|
|
13740
13776
|
climate_preset_key: string;
|
|
13777
|
+
/** Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated is the [fallback climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the thermostat. */
|
|
13741
13778
|
is_fallback_climate_preset: boolean;
|
|
13742
13779
|
} | {
|
|
13743
|
-
/**
|
|
13780
|
+
/** ID of the event. */
|
|
13744
13781
|
event_id: string;
|
|
13745
|
-
/**
|
|
13782
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13746
13783
|
workspace_id: string;
|
|
13747
|
-
/**
|
|
13784
|
+
/** Time at which the event was created. */
|
|
13748
13785
|
created_at: string;
|
|
13749
|
-
/**
|
|
13786
|
+
/** Time when the event occurred. */
|
|
13750
13787
|
occurred_at: string;
|
|
13751
13788
|
/** ID of the device. */
|
|
13752
13789
|
device_id: string;
|
|
13753
|
-
/** ID of the connected account. */
|
|
13790
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13754
13791
|
connected_account_id: string;
|
|
13755
13792
|
event_type: 'thermostat.manually_adjusted';
|
|
13793
|
+
/** Method used to adjust the thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat. */
|
|
13756
13794
|
method: 'seam' | 'external';
|
|
13757
13795
|
/** Desired fan mode setting, such as `on`, `auto`, or `circulate`. */
|
|
13758
13796
|
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
@@ -13767,65 +13805,77 @@ export interface Routes {
|
|
|
13767
13805
|
/** Temperature to which the thermostat should heat (in °F). */
|
|
13768
13806
|
heating_set_point_fahrenheit?: (number | undefined) | undefined;
|
|
13769
13807
|
} | {
|
|
13770
|
-
/**
|
|
13808
|
+
/** ID of the event. */
|
|
13771
13809
|
event_id: string;
|
|
13772
|
-
/**
|
|
13810
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13773
13811
|
workspace_id: string;
|
|
13774
|
-
/**
|
|
13812
|
+
/** Time at which the event was created. */
|
|
13775
13813
|
created_at: string;
|
|
13776
|
-
/**
|
|
13814
|
+
/** Time when the event occurred. */
|
|
13777
13815
|
occurred_at: string;
|
|
13778
13816
|
/** ID of the device. */
|
|
13779
13817
|
device_id: string;
|
|
13780
|
-
/** ID of the connected account. */
|
|
13818
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13781
13819
|
connected_account_id: string;
|
|
13782
13820
|
event_type: 'thermostat.temperature_threshold_exceeded';
|
|
13821
|
+
/** Temperature, in °C, reported by the thermostat. */
|
|
13783
13822
|
temperature_celsius: number;
|
|
13823
|
+
/** Temperature, in °F, reported by the thermostat. */
|
|
13784
13824
|
temperature_fahrenheit: number;
|
|
13825
|
+
/** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
13785
13826
|
upper_limit_celsius: number | null;
|
|
13827
|
+
/** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
13786
13828
|
upper_limit_fahrenheit: number | null;
|
|
13829
|
+
/** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
13787
13830
|
lower_limit_celsius: number | null;
|
|
13831
|
+
/** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
13788
13832
|
lower_limit_fahrenheit: number | null;
|
|
13789
13833
|
} | {
|
|
13790
|
-
/**
|
|
13834
|
+
/** ID of the event. */
|
|
13791
13835
|
event_id: string;
|
|
13792
|
-
/**
|
|
13836
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13793
13837
|
workspace_id: string;
|
|
13794
|
-
/**
|
|
13838
|
+
/** Time at which the event was created. */
|
|
13795
13839
|
created_at: string;
|
|
13796
|
-
/**
|
|
13840
|
+
/** Time when the event occurred. */
|
|
13797
13841
|
occurred_at: string;
|
|
13798
13842
|
/** ID of the device. */
|
|
13799
13843
|
device_id: string;
|
|
13800
|
-
/** ID of the connected account. */
|
|
13844
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13801
13845
|
connected_account_id: string;
|
|
13802
13846
|
event_type: 'thermostat.temperature_threshold_no_longer_exceeded';
|
|
13847
|
+
/** Temperature, in °C, reported by the thermostat. */
|
|
13803
13848
|
temperature_celsius: number;
|
|
13849
|
+
/** Temperature, in °F, reported by the thermostat. */
|
|
13804
13850
|
temperature_fahrenheit: number;
|
|
13851
|
+
/** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
13805
13852
|
upper_limit_celsius: number | null;
|
|
13853
|
+
/** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
13806
13854
|
upper_limit_fahrenheit: number | null;
|
|
13855
|
+
/** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
13807
13856
|
lower_limit_celsius: number | null;
|
|
13857
|
+
/** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
13808
13858
|
lower_limit_fahrenheit: number | null;
|
|
13809
13859
|
} | {
|
|
13810
|
-
/**
|
|
13860
|
+
/** ID of the event. */
|
|
13811
13861
|
event_id: string;
|
|
13812
|
-
/**
|
|
13862
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13813
13863
|
workspace_id: string;
|
|
13814
|
-
/**
|
|
13864
|
+
/** Time at which the event was created. */
|
|
13815
13865
|
created_at: string;
|
|
13816
|
-
/**
|
|
13866
|
+
/** Time when the event occurred. */
|
|
13817
13867
|
occurred_at: string;
|
|
13818
13868
|
/** ID of the enrollment automation. */
|
|
13819
13869
|
enrollment_automation_id: string;
|
|
13820
13870
|
event_type: 'enrollment_automation.deleted';
|
|
13821
13871
|
} | {
|
|
13822
|
-
/**
|
|
13872
|
+
/** ID of the event. */
|
|
13823
13873
|
event_id: string;
|
|
13824
|
-
/**
|
|
13874
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13825
13875
|
workspace_id: string;
|
|
13826
|
-
/**
|
|
13876
|
+
/** Time at which the event was created. */
|
|
13827
13877
|
created_at: string;
|
|
13828
|
-
/**
|
|
13878
|
+
/** Time when the event occurred. */
|
|
13829
13879
|
occurred_at: string;
|
|
13830
13880
|
/** ID of the device. */
|
|
13831
13881
|
device_id: string;
|