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