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