seam 2.166.0 → 2.168.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +55 -2
- data/lib/seam/action_attempt_resolver.rb +77 -7
- data/lib/seam/auth.rb +2 -1
- data/lib/seam/base_resource.rb +50 -3
- data/lib/seam/deep_hash_accessor.rb +11 -15
- data/lib/seam/errors.rb +6 -0
- data/lib/seam/http.rb +11 -7
- data/lib/seam/http_single_workspace.rb +15 -3
- data/lib/seam/http_without_workspace.rb +17 -7
- data/lib/seam/invalid_response_error.rb +17 -0
- data/lib/seam/options.rb +2 -1
- data/lib/seam/paginator.rb +34 -29
- data/lib/seam/request_parameters.rb +11 -0
- data/lib/seam/resources/access_code.rb +50 -5
- data/lib/seam/resources/access_grant.rb +38 -4
- data/lib/seam/resources/access_method.rb +18 -1
- data/lib/seam/resources/acs_access_group.rb +0 -17
- data/lib/seam/resources/acs_credential.rb +18 -1
- data/lib/seam/resources/acs_entrance.rb +1 -1
- data/lib/seam/resources/acs_system.rb +17 -31
- data/lib/seam/resources/acs_user.rb +0 -3
- data/lib/seam/resources/action_attempt.rb +77 -216
- data/lib/seam/resources/batch.rb +1 -1
- data/lib/seam/resources/client_session.rb +0 -4
- data/lib/seam/resources/connect_webview.rb +1 -0
- data/lib/seam/resources/connected_account.rb +1 -21
- data/lib/seam/resources/device.rb +362 -311
- data/lib/seam/resources/device_provider.rb +12 -13
- data/lib/seam/resources/event.rb +527 -151
- data/lib/seam/resources/instant_key.rb +1 -1
- data/lib/seam/resources/phone.rb +90 -2
- data/lib/seam/resources/space.rb +21 -1
- data/lib/seam/resources/thermostat_schedule.rb +37 -0
- data/lib/seam/resources/unmanaged_access_code.rb +48 -6
- data/lib/seam/resources/unmanaged_access_grant.rb +38 -4
- data/lib/seam/resources/unmanaged_access_method.rb +18 -1
- data/lib/seam/resources/unmanaged_device.rb +110 -38
- data/lib/seam/resources/workspace.rb +0 -4
- data/lib/seam/routes/access_codes.rb +19 -23
- data/lib/seam/routes/access_codes_simulate.rb +1 -1
- data/lib/seam/routes/access_codes_unmanaged.rb +7 -5
- data/lib/seam/routes/access_grants.rb +24 -24
- data/lib/seam/routes/access_grants_unmanaged.rb +5 -4
- data/lib/seam/routes/access_methods.rb +20 -14
- data/lib/seam/routes/access_methods_unmanaged.rb +2 -2
- data/lib/seam/routes/acs_access_groups.rb +4 -4
- data/lib/seam/routes/acs_credentials.rb +4 -4
- data/lib/seam/routes/acs_encoders.rb +5 -5
- data/lib/seam/routes/acs_entrances.rb +6 -8
- data/lib/seam/routes/acs_systems.rb +3 -3
- data/lib/seam/routes/acs_users.rb +44 -34
- data/lib/seam/routes/action_attempts.rb +6 -5
- data/lib/seam/routes/cameras_live_views.rb +5 -5
- data/lib/seam/routes/client_sessions.rb +20 -21
- data/lib/seam/routes/connect_webviews.rb +3 -3
- data/lib/seam/routes/connected_accounts.rb +7 -5
- data/lib/seam/routes/customers.rb +4 -5
- data/lib/seam/routes/devices.rb +12 -10
- data/lib/seam/routes/devices_unmanaged.rb +7 -5
- data/lib/seam/routes/events.rb +16 -12
- data/lib/seam/routes/instant_keys.rb +7 -5
- data/lib/seam/routes/locks.rb +10 -8
- data/lib/seam/routes/locks_simulate.rb +2 -2
- data/lib/seam/routes/media.rb +1 -1
- data/lib/seam/routes/noise_sensors.rb +1 -1
- data/lib/seam/routes/noise_sensors_noise_thresholds.rb +9 -3
- data/lib/seam/routes/phones.rb +2 -2
- data/lib/seam/routes/phones_simulate.rb +1 -1
- data/lib/seam/routes/spaces.rb +18 -13
- data/lib/seam/routes/thermostats.rb +14 -18
- data/lib/seam/routes/thermostats_daily_programs.rb +2 -2
- data/lib/seam/routes/thermostats_schedules.rb +3 -3
- data/lib/seam/routes/user_identities.rb +24 -18
- data/lib/seam/routes/user_identities_unmanaged.rb +2 -2
- data/lib/seam/routes/webhooks.rb +3 -3
- data/lib/seam/routes/workspaces.rb +6 -16
- data/lib/seam/url_search_params_serializer.rb +2 -1
- data/lib/seam/version.rb +1 -1
- data/lib/seam/wait_for_action_attempt.rb +3 -1
- data/lib/seam/webhook.rb +25 -5
- data/lib/seam.rb +12 -6
- metadata +5 -2
data/lib/seam/resources/event.rb
CHANGED
|
@@ -22,7 +22,7 @@ module Seam
|
|
|
22
22
|
# @return [String]
|
|
23
23
|
attr_accessor :device_id
|
|
24
24
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
25
|
-
# @return [String
|
|
25
|
+
# @return [String]
|
|
26
26
|
attr_accessor :event_description
|
|
27
27
|
# ID of the event.
|
|
28
28
|
# @return [String]
|
|
@@ -78,7 +78,7 @@ module Seam
|
|
|
78
78
|
# @return [String]
|
|
79
79
|
attr_accessor :device_id
|
|
80
80
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
81
|
-
# @return [String
|
|
81
|
+
# @return [String]
|
|
82
82
|
attr_accessor :event_description
|
|
83
83
|
# ID of the event.
|
|
84
84
|
# @return [String]
|
|
@@ -137,7 +137,7 @@ module Seam
|
|
|
137
137
|
# @return [String]
|
|
138
138
|
attr_accessor :device_id
|
|
139
139
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
140
|
-
# @return [String
|
|
140
|
+
# @return [String]
|
|
141
141
|
attr_accessor :event_description
|
|
142
142
|
# ID of the event.
|
|
143
143
|
# @return [String]
|
|
@@ -196,7 +196,7 @@ module Seam
|
|
|
196
196
|
# @return [String]
|
|
197
197
|
attr_accessor :device_id
|
|
198
198
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
199
|
-
# @return [String
|
|
199
|
+
# @return [String]
|
|
200
200
|
attr_accessor :event_description
|
|
201
201
|
# ID of the event.
|
|
202
202
|
# @return [String]
|
|
@@ -261,7 +261,7 @@ module Seam
|
|
|
261
261
|
# @return [String]
|
|
262
262
|
attr_accessor :device_id
|
|
263
263
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
264
|
-
# @return [String
|
|
264
|
+
# @return [String]
|
|
265
265
|
attr_accessor :event_description
|
|
266
266
|
# ID of the event.
|
|
267
267
|
# @return [String]
|
|
@@ -321,7 +321,7 @@ module Seam
|
|
|
321
321
|
# @return [String]
|
|
322
322
|
attr_accessor :device_id
|
|
323
323
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
324
|
-
# @return [String
|
|
324
|
+
# @return [String]
|
|
325
325
|
attr_accessor :event_description
|
|
326
326
|
# ID of the event.
|
|
327
327
|
# @return [String]
|
|
@@ -362,7 +362,7 @@ module Seam
|
|
|
362
362
|
# @return [String]
|
|
363
363
|
attr_accessor :device_id
|
|
364
364
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
365
|
-
# @return [String
|
|
365
|
+
# @return [String]
|
|
366
366
|
attr_accessor :event_description
|
|
367
367
|
# ID of the event.
|
|
368
368
|
# @return [String]
|
|
@@ -403,7 +403,7 @@ module Seam
|
|
|
403
403
|
# @return [String]
|
|
404
404
|
attr_accessor :device_id
|
|
405
405
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
406
|
-
# @return [String
|
|
406
|
+
# @return [String]
|
|
407
407
|
attr_accessor :event_description
|
|
408
408
|
# ID of the event.
|
|
409
409
|
# @return [String]
|
|
@@ -441,7 +441,7 @@ module Seam
|
|
|
441
441
|
# @return [String]
|
|
442
442
|
attr_accessor :device_id
|
|
443
443
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
444
|
-
# @return [String
|
|
444
|
+
# @return [String]
|
|
445
445
|
attr_accessor :event_description
|
|
446
446
|
# ID of the event.
|
|
447
447
|
# @return [String]
|
|
@@ -569,7 +569,7 @@ module Seam
|
|
|
569
569
|
# @return [String]
|
|
570
570
|
attr_accessor :device_id
|
|
571
571
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
572
|
-
# @return [String
|
|
572
|
+
# @return [String]
|
|
573
573
|
attr_accessor :event_description
|
|
574
574
|
# ID of the event.
|
|
575
575
|
# @return [String]
|
|
@@ -697,7 +697,7 @@ module Seam
|
|
|
697
697
|
# @return [String]
|
|
698
698
|
attr_accessor :device_id
|
|
699
699
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
700
|
-
# @return [String
|
|
700
|
+
# @return [String]
|
|
701
701
|
attr_accessor :event_description
|
|
702
702
|
# ID of the event.
|
|
703
703
|
# @return [String]
|
|
@@ -717,6 +717,134 @@ module Seam
|
|
|
717
717
|
date_accessor :occurred_at
|
|
718
718
|
end
|
|
719
719
|
|
|
720
|
+
# Seam was unable to remove an [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes) from the device in time after it was deleted or its `ends_at` passed, so the recipient may still be able to unlock the device. Seam keeps trying to delete it, and the accompanying `failed_to_delete` error clears automatically once the access code is no longer usable on the device.
|
|
721
|
+
class AccessCodeFailedToDelete < SeamEvent
|
|
722
|
+
class AccessCodeErrors < BaseResource
|
|
723
|
+
# Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
724
|
+
# @return [String]
|
|
725
|
+
attr_accessor :error_code
|
|
726
|
+
# Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
727
|
+
# @return [String]
|
|
728
|
+
attr_accessor :message
|
|
729
|
+
# Date and time at which Seam created the error.
|
|
730
|
+
# @return [Time]
|
|
731
|
+
date_accessor :created_at
|
|
732
|
+
end
|
|
733
|
+
|
|
734
|
+
class AccessCodeWarnings < BaseResource
|
|
735
|
+
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
736
|
+
# @return [String]
|
|
737
|
+
attr_accessor :message
|
|
738
|
+
# Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
739
|
+
# @return [String]
|
|
740
|
+
attr_accessor :warning_code
|
|
741
|
+
# Date and time at which Seam created the warning.
|
|
742
|
+
# @return [Time]
|
|
743
|
+
date_accessor :created_at
|
|
744
|
+
end
|
|
745
|
+
|
|
746
|
+
class ConnectedAccountErrors < BaseResource
|
|
747
|
+
# Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
748
|
+
# @return [String]
|
|
749
|
+
attr_accessor :error_code
|
|
750
|
+
# Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
751
|
+
# @return [String]
|
|
752
|
+
attr_accessor :message
|
|
753
|
+
# Date and time at which Seam created the error.
|
|
754
|
+
# @return [Time]
|
|
755
|
+
date_accessor :created_at
|
|
756
|
+
end
|
|
757
|
+
|
|
758
|
+
class ConnectedAccountWarnings < BaseResource
|
|
759
|
+
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
760
|
+
# @return [String]
|
|
761
|
+
attr_accessor :message
|
|
762
|
+
# Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
763
|
+
# @return [String]
|
|
764
|
+
attr_accessor :warning_code
|
|
765
|
+
# Date and time at which Seam created the warning.
|
|
766
|
+
# @return [Time]
|
|
767
|
+
date_accessor :created_at
|
|
768
|
+
end
|
|
769
|
+
|
|
770
|
+
class DeviceErrors < BaseResource
|
|
771
|
+
# Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
772
|
+
# @return [String]
|
|
773
|
+
attr_accessor :error_code
|
|
774
|
+
# Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
775
|
+
# @return [String]
|
|
776
|
+
attr_accessor :message
|
|
777
|
+
# Date and time at which Seam created the error.
|
|
778
|
+
# @return [Time]
|
|
779
|
+
date_accessor :created_at
|
|
780
|
+
end
|
|
781
|
+
|
|
782
|
+
class DeviceWarnings < BaseResource
|
|
783
|
+
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
784
|
+
# @return [String]
|
|
785
|
+
attr_accessor :message
|
|
786
|
+
# Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
787
|
+
# @return [String]
|
|
788
|
+
attr_accessor :warning_code
|
|
789
|
+
# Date and time at which Seam created the warning.
|
|
790
|
+
# @return [Time]
|
|
791
|
+
date_accessor :created_at
|
|
792
|
+
end
|
|
793
|
+
|
|
794
|
+
# Errors associated with the access code.
|
|
795
|
+
# @return [Array<AccessCodeErrors>]
|
|
796
|
+
resource_list_accessor :access_code_errors, AccessCodeErrors
|
|
797
|
+
# Warnings associated with the access code.
|
|
798
|
+
# @return [Array<AccessCodeWarnings>]
|
|
799
|
+
resource_list_accessor :access_code_warnings, AccessCodeWarnings
|
|
800
|
+
# Errors associated with the connected account.
|
|
801
|
+
# @return [Array<ConnectedAccountErrors>]
|
|
802
|
+
resource_list_accessor :connected_account_errors, ConnectedAccountErrors
|
|
803
|
+
# Warnings associated with the connected account.
|
|
804
|
+
# @return [Array<ConnectedAccountWarnings>]
|
|
805
|
+
resource_list_accessor :connected_account_warnings, ConnectedAccountWarnings
|
|
806
|
+
# Errors associated with the device.
|
|
807
|
+
# @return [Array<DeviceErrors>]
|
|
808
|
+
resource_list_accessor :device_errors, DeviceErrors
|
|
809
|
+
# Warnings associated with the device.
|
|
810
|
+
# @return [Array<DeviceWarnings>]
|
|
811
|
+
resource_list_accessor :device_warnings, DeviceWarnings
|
|
812
|
+
# ID of the affected access code.
|
|
813
|
+
# @return [String]
|
|
814
|
+
attr_accessor :access_code_id
|
|
815
|
+
# Custom metadata of the connected account, present when connected_account_id is provided.
|
|
816
|
+
# @return [Hash{String => String, Boolean}, nil]
|
|
817
|
+
attr_accessor :connected_account_custom_metadata
|
|
818
|
+
# ID of the connected account associated with the affected access code.
|
|
819
|
+
# @return [String]
|
|
820
|
+
attr_accessor :connected_account_id
|
|
821
|
+
# Custom metadata of the device, present when device_id is provided.
|
|
822
|
+
# @return [Hash{String => String, Boolean}, nil]
|
|
823
|
+
attr_accessor :device_custom_metadata
|
|
824
|
+
# ID of the device associated with the affected access code.
|
|
825
|
+
# @return [String]
|
|
826
|
+
attr_accessor :device_id
|
|
827
|
+
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
828
|
+
# @return [String]
|
|
829
|
+
attr_accessor :event_description
|
|
830
|
+
# ID of the event.
|
|
831
|
+
# @return [String]
|
|
832
|
+
attr_accessor :event_id
|
|
833
|
+
# @return [String]
|
|
834
|
+
# Known values:
|
|
835
|
+
# - `access_code.failed_to_delete`
|
|
836
|
+
attr_accessor :event_type
|
|
837
|
+
# ID of the workspace associated with the event.
|
|
838
|
+
# @return [String]
|
|
839
|
+
attr_accessor :workspace_id
|
|
840
|
+
# Date and time at which the event was created.
|
|
841
|
+
# @return [Time]
|
|
842
|
+
date_accessor :created_at
|
|
843
|
+
# Date and time at which the event occurred.
|
|
844
|
+
# @return [Time]
|
|
845
|
+
date_accessor :occurred_at
|
|
846
|
+
end
|
|
847
|
+
|
|
720
848
|
# An [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes) was deleted.
|
|
721
849
|
class AccessCodeDeleted < SeamEvent
|
|
722
850
|
# ID of the affected access code.
|
|
@@ -731,6 +859,9 @@ module Seam
|
|
|
731
859
|
# ID of the connected account associated with the affected access code.
|
|
732
860
|
# @return [String]
|
|
733
861
|
attr_accessor :connected_account_id
|
|
862
|
+
# Human-readable description of the deletion and its source.
|
|
863
|
+
# @return [String, nil]
|
|
864
|
+
attr_accessor :description
|
|
734
865
|
# Custom metadata of the device, present when device_id is provided.
|
|
735
866
|
# @return [Hash{String => String, Boolean}, nil]
|
|
736
867
|
attr_accessor :device_custom_metadata
|
|
@@ -738,7 +869,7 @@ module Seam
|
|
|
738
869
|
# @return [String]
|
|
739
870
|
attr_accessor :device_id
|
|
740
871
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
741
|
-
# @return [String
|
|
872
|
+
# @return [String]
|
|
742
873
|
attr_accessor :event_description
|
|
743
874
|
# ID of the event.
|
|
744
875
|
# @return [String]
|
|
@@ -866,7 +997,7 @@ module Seam
|
|
|
866
997
|
# @return [String]
|
|
867
998
|
attr_accessor :device_id
|
|
868
999
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
869
|
-
# @return [String
|
|
1000
|
+
# @return [String]
|
|
870
1001
|
attr_accessor :event_description
|
|
871
1002
|
# ID of the event.
|
|
872
1003
|
# @return [String]
|
|
@@ -994,7 +1125,7 @@ module Seam
|
|
|
994
1125
|
# @return [String]
|
|
995
1126
|
attr_accessor :device_id
|
|
996
1127
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
997
|
-
# @return [String
|
|
1128
|
+
# @return [String]
|
|
998
1129
|
attr_accessor :event_description
|
|
999
1130
|
# ID of the event.
|
|
1000
1131
|
# @return [String]
|
|
@@ -1032,7 +1163,7 @@ module Seam
|
|
|
1032
1163
|
# @return [String]
|
|
1033
1164
|
attr_accessor :device_id
|
|
1034
1165
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1035
|
-
# @return [String
|
|
1166
|
+
# @return [String]
|
|
1036
1167
|
attr_accessor :event_description
|
|
1037
1168
|
# ID of the event.
|
|
1038
1169
|
# @return [String]
|
|
@@ -1070,7 +1201,7 @@ module Seam
|
|
|
1070
1201
|
# @return [String]
|
|
1071
1202
|
attr_accessor :device_id
|
|
1072
1203
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1073
|
-
# @return [String
|
|
1204
|
+
# @return [String]
|
|
1074
1205
|
attr_accessor :event_description
|
|
1075
1206
|
# ID of the event.
|
|
1076
1207
|
# @return [String]
|
|
@@ -1111,7 +1242,7 @@ module Seam
|
|
|
1111
1242
|
# @return [String]
|
|
1112
1243
|
attr_accessor :device_id
|
|
1113
1244
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1114
|
-
# @return [String
|
|
1245
|
+
# @return [String]
|
|
1115
1246
|
attr_accessor :event_description
|
|
1116
1247
|
# ID of the event.
|
|
1117
1248
|
# @return [String]
|
|
@@ -1149,7 +1280,7 @@ module Seam
|
|
|
1149
1280
|
# @return [String]
|
|
1150
1281
|
attr_accessor :device_id
|
|
1151
1282
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1152
|
-
# @return [String
|
|
1283
|
+
# @return [String]
|
|
1153
1284
|
attr_accessor :event_description
|
|
1154
1285
|
# ID of the event.
|
|
1155
1286
|
# @return [String]
|
|
@@ -1277,7 +1408,7 @@ module Seam
|
|
|
1277
1408
|
# @return [String]
|
|
1278
1409
|
attr_accessor :device_id
|
|
1279
1410
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1280
|
-
# @return [String
|
|
1411
|
+
# @return [String]
|
|
1281
1412
|
attr_accessor :event_description
|
|
1282
1413
|
# ID of the event.
|
|
1283
1414
|
# @return [String]
|
|
@@ -1315,7 +1446,7 @@ module Seam
|
|
|
1315
1446
|
# @return [String]
|
|
1316
1447
|
attr_accessor :device_id
|
|
1317
1448
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1318
|
-
# @return [String
|
|
1449
|
+
# @return [String]
|
|
1319
1450
|
attr_accessor :event_description
|
|
1320
1451
|
# ID of the event.
|
|
1321
1452
|
# @return [String]
|
|
@@ -1353,7 +1484,7 @@ module Seam
|
|
|
1353
1484
|
# @return [String]
|
|
1354
1485
|
attr_accessor :device_id
|
|
1355
1486
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1356
|
-
# @return [String
|
|
1487
|
+
# @return [String]
|
|
1357
1488
|
attr_accessor :event_description
|
|
1358
1489
|
# ID of the event.
|
|
1359
1490
|
# @return [String]
|
|
@@ -1379,7 +1510,7 @@ module Seam
|
|
|
1379
1510
|
# @return [String]
|
|
1380
1511
|
attr_accessor :access_grant_id
|
|
1381
1512
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1382
|
-
# @return [String
|
|
1513
|
+
# @return [String]
|
|
1383
1514
|
attr_accessor :event_description
|
|
1384
1515
|
# ID of the event.
|
|
1385
1516
|
# @return [String]
|
|
@@ -1405,7 +1536,7 @@ module Seam
|
|
|
1405
1536
|
# @return [String]
|
|
1406
1537
|
attr_accessor :access_grant_id
|
|
1407
1538
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1408
|
-
# @return [String
|
|
1539
|
+
# @return [String]
|
|
1409
1540
|
attr_accessor :event_description
|
|
1410
1541
|
# ID of the event.
|
|
1411
1542
|
# @return [String]
|
|
@@ -1431,7 +1562,7 @@ module Seam
|
|
|
1431
1562
|
# @return [String]
|
|
1432
1563
|
attr_accessor :access_grant_id
|
|
1433
1564
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1434
|
-
# @return [String
|
|
1565
|
+
# @return [String]
|
|
1435
1566
|
attr_accessor :event_description
|
|
1436
1567
|
# ID of the event.
|
|
1437
1568
|
# @return [String]
|
|
@@ -1460,7 +1591,7 @@ module Seam
|
|
|
1460
1591
|
# @return [String]
|
|
1461
1592
|
attr_accessor :acs_entrance_id
|
|
1462
1593
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1463
|
-
# @return [String
|
|
1594
|
+
# @return [String]
|
|
1464
1595
|
attr_accessor :event_description
|
|
1465
1596
|
# ID of the event.
|
|
1466
1597
|
# @return [String]
|
|
@@ -1489,7 +1620,7 @@ module Seam
|
|
|
1489
1620
|
# @return [String]
|
|
1490
1621
|
attr_accessor :acs_entrance_id
|
|
1491
1622
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1492
|
-
# @return [String
|
|
1623
|
+
# @return [String]
|
|
1493
1624
|
attr_accessor :event_description
|
|
1494
1625
|
# ID of the event.
|
|
1495
1626
|
# @return [String]
|
|
@@ -1521,7 +1652,7 @@ module Seam
|
|
|
1521
1652
|
# @return [String, nil]
|
|
1522
1653
|
attr_accessor :ends_at
|
|
1523
1654
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1524
|
-
# @return [String
|
|
1655
|
+
# @return [String]
|
|
1525
1656
|
attr_accessor :event_description
|
|
1526
1657
|
# ID of the event.
|
|
1527
1658
|
# @return [String]
|
|
@@ -1553,7 +1684,7 @@ module Seam
|
|
|
1553
1684
|
# @return [String]
|
|
1554
1685
|
attr_accessor :error_message
|
|
1555
1686
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1556
|
-
# @return [String
|
|
1687
|
+
# @return [String]
|
|
1557
1688
|
attr_accessor :event_description
|
|
1558
1689
|
# ID of the event.
|
|
1559
1690
|
# @return [String]
|
|
@@ -1591,7 +1722,7 @@ module Seam
|
|
|
1591
1722
|
# @return [String, nil]
|
|
1592
1723
|
attr_accessor :code
|
|
1593
1724
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1594
|
-
# @return [String
|
|
1725
|
+
# @return [String]
|
|
1595
1726
|
attr_accessor :event_description
|
|
1596
1727
|
# ID of the event.
|
|
1597
1728
|
# @return [String]
|
|
@@ -1626,7 +1757,7 @@ module Seam
|
|
|
1626
1757
|
# @return [String]
|
|
1627
1758
|
attr_accessor :access_method_id
|
|
1628
1759
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1629
|
-
# @return [String
|
|
1760
|
+
# @return [String]
|
|
1630
1761
|
attr_accessor :event_description
|
|
1631
1762
|
# ID of the event.
|
|
1632
1763
|
# @return [String]
|
|
@@ -1658,7 +1789,7 @@ module Seam
|
|
|
1658
1789
|
# @return [String]
|
|
1659
1790
|
attr_accessor :access_method_id
|
|
1660
1791
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1661
|
-
# @return [String
|
|
1792
|
+
# @return [String]
|
|
1662
1793
|
attr_accessor :event_description
|
|
1663
1794
|
# ID of the event.
|
|
1664
1795
|
# @return [String]
|
|
@@ -1690,7 +1821,7 @@ module Seam
|
|
|
1690
1821
|
# @return [String]
|
|
1691
1822
|
attr_accessor :access_method_id
|
|
1692
1823
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1693
|
-
# @return [String
|
|
1824
|
+
# @return [String]
|
|
1694
1825
|
attr_accessor :event_description
|
|
1695
1826
|
# ID of the event.
|
|
1696
1827
|
# @return [String]
|
|
@@ -1699,6 +1830,9 @@ module Seam
|
|
|
1699
1830
|
# Known values:
|
|
1700
1831
|
# - `access_method.deleted`
|
|
1701
1832
|
attr_accessor :event_type
|
|
1833
|
+
# IDs of the access codes that were still set on a device when the access method was deleted. Access may still be possible with these codes until Seam removes them from the device. Each access code keeps its own deletion lifecycle, so watch it for `access_code.deleted` or `access_code.failed_to_delete`. Only present when at least one access code was still set on a device.
|
|
1834
|
+
# @return [Array<String>]
|
|
1835
|
+
attr_accessor :failed_to_delete_access_code_ids
|
|
1702
1836
|
# ID of the workspace associated with the event.
|
|
1703
1837
|
# @return [String]
|
|
1704
1838
|
attr_accessor :workspace_id
|
|
@@ -1725,7 +1859,7 @@ module Seam
|
|
|
1725
1859
|
# @return [String, nil]
|
|
1726
1860
|
attr_accessor :code
|
|
1727
1861
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1728
|
-
# @return [String
|
|
1862
|
+
# @return [String]
|
|
1729
1863
|
attr_accessor :event_description
|
|
1730
1864
|
# ID of the event.
|
|
1731
1865
|
# @return [String]
|
|
@@ -1760,7 +1894,7 @@ module Seam
|
|
|
1760
1894
|
# @return [String]
|
|
1761
1895
|
attr_accessor :access_method_id
|
|
1762
1896
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1763
|
-
# @return [String
|
|
1897
|
+
# @return [String]
|
|
1764
1898
|
attr_accessor :event_description
|
|
1765
1899
|
# ID of the event.
|
|
1766
1900
|
# @return [String]
|
|
@@ -1792,7 +1926,7 @@ module Seam
|
|
|
1792
1926
|
# @return [String]
|
|
1793
1927
|
attr_accessor :access_method_id
|
|
1794
1928
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1795
|
-
# @return [String
|
|
1929
|
+
# @return [String]
|
|
1796
1930
|
attr_accessor :event_description
|
|
1797
1931
|
# ID of the event.
|
|
1798
1932
|
# @return [String]
|
|
@@ -1824,7 +1958,7 @@ module Seam
|
|
|
1824
1958
|
# @return [String]
|
|
1825
1959
|
attr_accessor :access_method_id
|
|
1826
1960
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1827
|
-
# @return [String
|
|
1961
|
+
# @return [String]
|
|
1828
1962
|
attr_accessor :event_description
|
|
1829
1963
|
# ID of the event.
|
|
1830
1964
|
# @return [String]
|
|
@@ -1853,7 +1987,7 @@ module Seam
|
|
|
1853
1987
|
# @return [String, nil]
|
|
1854
1988
|
attr_accessor :connected_account_id
|
|
1855
1989
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1856
|
-
# @return [String
|
|
1990
|
+
# @return [String]
|
|
1857
1991
|
attr_accessor :event_description
|
|
1858
1992
|
# ID of the event.
|
|
1859
1993
|
# @return [String]
|
|
@@ -1882,7 +2016,7 @@ module Seam
|
|
|
1882
2016
|
# @return [String, nil]
|
|
1883
2017
|
attr_accessor :connected_account_id
|
|
1884
2018
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1885
|
-
# @return [String
|
|
2019
|
+
# @return [String]
|
|
1886
2020
|
attr_accessor :event_description
|
|
1887
2021
|
# ID of the event.
|
|
1888
2022
|
# @return [String]
|
|
@@ -1971,7 +2105,7 @@ module Seam
|
|
|
1971
2105
|
# @return [String, nil]
|
|
1972
2106
|
attr_accessor :connected_account_id
|
|
1973
2107
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
1974
|
-
# @return [String
|
|
2108
|
+
# @return [String]
|
|
1975
2109
|
attr_accessor :event_description
|
|
1976
2110
|
# ID of the event.
|
|
1977
2111
|
# @return [String]
|
|
@@ -2003,7 +2137,7 @@ module Seam
|
|
|
2003
2137
|
# @return [String, nil]
|
|
2004
2138
|
attr_accessor :connected_account_id
|
|
2005
2139
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2006
|
-
# @return [String
|
|
2140
|
+
# @return [String]
|
|
2007
2141
|
attr_accessor :event_description
|
|
2008
2142
|
# ID of the event.
|
|
2009
2143
|
# @return [String]
|
|
@@ -2035,7 +2169,7 @@ module Seam
|
|
|
2035
2169
|
# @return [String, nil]
|
|
2036
2170
|
attr_accessor :connected_account_id
|
|
2037
2171
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2038
|
-
# @return [String
|
|
2172
|
+
# @return [String]
|
|
2039
2173
|
attr_accessor :event_description
|
|
2040
2174
|
# ID of the event.
|
|
2041
2175
|
# @return [String]
|
|
@@ -2067,7 +2201,7 @@ module Seam
|
|
|
2067
2201
|
# @return [String, nil]
|
|
2068
2202
|
attr_accessor :connected_account_id
|
|
2069
2203
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2070
|
-
# @return [String
|
|
2204
|
+
# @return [String]
|
|
2071
2205
|
attr_accessor :event_description
|
|
2072
2206
|
# ID of the event.
|
|
2073
2207
|
# @return [String]
|
|
@@ -2099,7 +2233,7 @@ module Seam
|
|
|
2099
2233
|
# @return [String, nil]
|
|
2100
2234
|
attr_accessor :connected_account_id
|
|
2101
2235
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2102
|
-
# @return [String
|
|
2236
|
+
# @return [String]
|
|
2103
2237
|
attr_accessor :event_description
|
|
2104
2238
|
# ID of the event.
|
|
2105
2239
|
# @return [String]
|
|
@@ -2131,7 +2265,7 @@ module Seam
|
|
|
2131
2265
|
# @return [String, nil]
|
|
2132
2266
|
attr_accessor :connected_account_id
|
|
2133
2267
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2134
|
-
# @return [String
|
|
2268
|
+
# @return [String]
|
|
2135
2269
|
attr_accessor :event_description
|
|
2136
2270
|
# ID of the event.
|
|
2137
2271
|
# @return [String]
|
|
@@ -2163,7 +2297,7 @@ module Seam
|
|
|
2163
2297
|
# @return [String, nil]
|
|
2164
2298
|
attr_accessor :connected_account_id
|
|
2165
2299
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2166
|
-
# @return [String
|
|
2300
|
+
# @return [String]
|
|
2167
2301
|
attr_accessor :event_description
|
|
2168
2302
|
# ID of the event.
|
|
2169
2303
|
# @return [String]
|
|
@@ -2195,7 +2329,7 @@ module Seam
|
|
|
2195
2329
|
# @return [String, nil]
|
|
2196
2330
|
attr_accessor :connected_account_id
|
|
2197
2331
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2198
|
-
# @return [String
|
|
2332
|
+
# @return [String]
|
|
2199
2333
|
attr_accessor :event_description
|
|
2200
2334
|
# ID of the event.
|
|
2201
2335
|
# @return [String]
|
|
@@ -2227,7 +2361,7 @@ module Seam
|
|
|
2227
2361
|
# @return [String, nil]
|
|
2228
2362
|
attr_accessor :connected_account_id
|
|
2229
2363
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2230
|
-
# @return [String
|
|
2364
|
+
# @return [String]
|
|
2231
2365
|
attr_accessor :event_description
|
|
2232
2366
|
# ID of the event.
|
|
2233
2367
|
# @return [String]
|
|
@@ -2259,7 +2393,7 @@ module Seam
|
|
|
2259
2393
|
# @return [String, nil]
|
|
2260
2394
|
attr_accessor :connected_account_id
|
|
2261
2395
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2262
|
-
# @return [String
|
|
2396
|
+
# @return [String]
|
|
2263
2397
|
attr_accessor :event_description
|
|
2264
2398
|
# ID of the event.
|
|
2265
2399
|
# @return [String]
|
|
@@ -2291,7 +2425,7 @@ module Seam
|
|
|
2291
2425
|
# @return [String, nil]
|
|
2292
2426
|
attr_accessor :connected_account_id
|
|
2293
2427
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2294
|
-
# @return [String
|
|
2428
|
+
# @return [String]
|
|
2295
2429
|
attr_accessor :event_description
|
|
2296
2430
|
# ID of the event.
|
|
2297
2431
|
# @return [String]
|
|
@@ -2323,7 +2457,7 @@ module Seam
|
|
|
2323
2457
|
# @return [String, nil]
|
|
2324
2458
|
attr_accessor :connected_account_id
|
|
2325
2459
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2326
|
-
# @return [String
|
|
2460
|
+
# @return [String]
|
|
2327
2461
|
attr_accessor :event_description
|
|
2328
2462
|
# ID of the event.
|
|
2329
2463
|
# @return [String]
|
|
@@ -2349,7 +2483,7 @@ module Seam
|
|
|
2349
2483
|
# @return [String]
|
|
2350
2484
|
attr_accessor :client_session_id
|
|
2351
2485
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2352
|
-
# @return [String
|
|
2486
|
+
# @return [String]
|
|
2353
2487
|
attr_accessor :event_description
|
|
2354
2488
|
# ID of the event.
|
|
2355
2489
|
# @return [String]
|
|
@@ -2384,7 +2518,7 @@ module Seam
|
|
|
2384
2518
|
# @return [String, nil]
|
|
2385
2519
|
attr_accessor :customer_key
|
|
2386
2520
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2387
|
-
# @return [String
|
|
2521
|
+
# @return [String]
|
|
2388
2522
|
attr_accessor :event_description
|
|
2389
2523
|
# ID of the event.
|
|
2390
2524
|
# @return [String]
|
|
@@ -2416,7 +2550,7 @@ module Seam
|
|
|
2416
2550
|
# @return [String]
|
|
2417
2551
|
attr_accessor :connected_account_id
|
|
2418
2552
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2419
|
-
# @return [String
|
|
2553
|
+
# @return [String]
|
|
2420
2554
|
attr_accessor :event_description
|
|
2421
2555
|
# ID of the event.
|
|
2422
2556
|
# @return [String]
|
|
@@ -2436,38 +2570,6 @@ module Seam
|
|
|
2436
2570
|
date_accessor :occurred_at
|
|
2437
2571
|
end
|
|
2438
2572
|
|
|
2439
|
-
# A connected account had a successful login using a Connect Webview.
|
|
2440
|
-
class ConnectedAccountSuccessfulLogin < SeamEvent
|
|
2441
|
-
# ID of the Connect Webview associated with the event.
|
|
2442
|
-
# @return [String]
|
|
2443
|
-
attr_accessor :connect_webview_id
|
|
2444
|
-
# Custom metadata of the connected account, present when connected_account_id is provided.
|
|
2445
|
-
# @return [Hash{String => String, Boolean}, nil]
|
|
2446
|
-
attr_accessor :connected_account_custom_metadata
|
|
2447
|
-
# ID of the affected connected account.
|
|
2448
|
-
# @return [String]
|
|
2449
|
-
attr_accessor :connected_account_id
|
|
2450
|
-
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2451
|
-
# @return [String, nil]
|
|
2452
|
-
attr_accessor :event_description
|
|
2453
|
-
# ID of the event.
|
|
2454
|
-
# @return [String]
|
|
2455
|
-
attr_accessor :event_id
|
|
2456
|
-
# @return [String]
|
|
2457
|
-
# Known values:
|
|
2458
|
-
# - `connected_account.successful_login`
|
|
2459
|
-
attr_accessor :event_type
|
|
2460
|
-
# ID of the workspace associated with the event.
|
|
2461
|
-
# @return [String]
|
|
2462
|
-
attr_accessor :workspace_id
|
|
2463
|
-
# Date and time at which the event was created.
|
|
2464
|
-
# @return [Time]
|
|
2465
|
-
date_accessor :created_at
|
|
2466
|
-
# Date and time at which the event occurred.
|
|
2467
|
-
# @return [Time]
|
|
2468
|
-
date_accessor :occurred_at
|
|
2469
|
-
end
|
|
2470
|
-
|
|
2471
2573
|
# A connected account was disconnected.
|
|
2472
2574
|
class ConnectedAccountDisconnected < SeamEvent
|
|
2473
2575
|
class ConnectedAccountErrors < BaseResource
|
|
@@ -2507,7 +2609,7 @@ module Seam
|
|
|
2507
2609
|
# @return [String]
|
|
2508
2610
|
attr_accessor :connected_account_id
|
|
2509
2611
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2510
|
-
# @return [String
|
|
2612
|
+
# @return [String]
|
|
2511
2613
|
attr_accessor :event_description
|
|
2512
2614
|
# ID of the event.
|
|
2513
2615
|
# @return [String]
|
|
@@ -2536,7 +2638,7 @@ module Seam
|
|
|
2536
2638
|
# @return [String]
|
|
2537
2639
|
attr_accessor :connected_account_id
|
|
2538
2640
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2539
|
-
# @return [String
|
|
2641
|
+
# @return [String]
|
|
2540
2642
|
attr_accessor :event_description
|
|
2541
2643
|
# ID of the event.
|
|
2542
2644
|
# @return [String]
|
|
@@ -2568,7 +2670,7 @@ module Seam
|
|
|
2568
2670
|
# @return [String, nil]
|
|
2569
2671
|
attr_accessor :customer_key
|
|
2570
2672
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2571
|
-
# @return [String
|
|
2673
|
+
# @return [String]
|
|
2572
2674
|
attr_accessor :event_description
|
|
2573
2675
|
# ID of the event.
|
|
2574
2676
|
# @return [String]
|
|
@@ -2597,7 +2699,7 @@ module Seam
|
|
|
2597
2699
|
# @return [String]
|
|
2598
2700
|
attr_accessor :connected_account_id
|
|
2599
2701
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2600
|
-
# @return [String
|
|
2702
|
+
# @return [String]
|
|
2601
2703
|
attr_accessor :event_description
|
|
2602
2704
|
# ID of the event.
|
|
2603
2705
|
# @return [String]
|
|
@@ -2656,7 +2758,7 @@ module Seam
|
|
|
2656
2758
|
# @return [String]
|
|
2657
2759
|
attr_accessor :connected_account_id
|
|
2658
2760
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2659
|
-
# @return [String
|
|
2761
|
+
# @return [String]
|
|
2660
2762
|
attr_accessor :event_description
|
|
2661
2763
|
# ID of the event.
|
|
2662
2764
|
# @return [String]
|
|
@@ -2691,7 +2793,7 @@ module Seam
|
|
|
2691
2793
|
# @return [String, nil]
|
|
2692
2794
|
attr_accessor :device_id
|
|
2693
2795
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2694
|
-
# @return [String
|
|
2796
|
+
# @return [String]
|
|
2695
2797
|
attr_accessor :event_description
|
|
2696
2798
|
# ID of the event.
|
|
2697
2799
|
# @return [String]
|
|
@@ -2729,7 +2831,7 @@ module Seam
|
|
|
2729
2831
|
# @return [String, nil]
|
|
2730
2832
|
attr_accessor :device_id
|
|
2731
2833
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2732
|
-
# @return [String
|
|
2834
|
+
# @return [String]
|
|
2733
2835
|
attr_accessor :event_description
|
|
2734
2836
|
# ID of the event.
|
|
2735
2837
|
# @return [String]
|
|
@@ -2767,7 +2869,7 @@ module Seam
|
|
|
2767
2869
|
# @return [String, nil]
|
|
2768
2870
|
attr_accessor :device_id
|
|
2769
2871
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2770
|
-
# @return [String
|
|
2872
|
+
# @return [String]
|
|
2771
2873
|
attr_accessor :event_description
|
|
2772
2874
|
# ID of the event.
|
|
2773
2875
|
# @return [String]
|
|
@@ -2805,7 +2907,7 @@ module Seam
|
|
|
2805
2907
|
# @return [String, nil]
|
|
2806
2908
|
attr_accessor :device_id
|
|
2807
2909
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2808
|
-
# @return [String
|
|
2910
|
+
# @return [String]
|
|
2809
2911
|
attr_accessor :event_description
|
|
2810
2912
|
# ID of the event.
|
|
2811
2913
|
# @return [String]
|
|
@@ -2843,7 +2945,7 @@ module Seam
|
|
|
2843
2945
|
# @return [String, nil]
|
|
2844
2946
|
attr_accessor :device_id
|
|
2845
2947
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2846
|
-
# @return [String
|
|
2948
|
+
# @return [String]
|
|
2847
2949
|
attr_accessor :event_description
|
|
2848
2950
|
# ID of the event.
|
|
2849
2951
|
# @return [String]
|
|
@@ -2881,7 +2983,7 @@ module Seam
|
|
|
2881
2983
|
# @return [String, nil]
|
|
2882
2984
|
attr_accessor :device_id
|
|
2883
2985
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2884
|
-
# @return [String
|
|
2986
|
+
# @return [String]
|
|
2885
2987
|
attr_accessor :event_description
|
|
2886
2988
|
# ID of the event.
|
|
2887
2989
|
# @return [String]
|
|
@@ -2919,7 +3021,7 @@ module Seam
|
|
|
2919
3021
|
# @return [String, nil]
|
|
2920
3022
|
attr_accessor :device_id
|
|
2921
3023
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2922
|
-
# @return [String
|
|
3024
|
+
# @return [String]
|
|
2923
3025
|
attr_accessor :event_description
|
|
2924
3026
|
# ID of the event.
|
|
2925
3027
|
# @return [String]
|
|
@@ -2957,7 +3059,7 @@ module Seam
|
|
|
2957
3059
|
# @return [String, nil]
|
|
2958
3060
|
attr_accessor :device_id
|
|
2959
3061
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2960
|
-
# @return [String
|
|
3062
|
+
# @return [String]
|
|
2961
3063
|
attr_accessor :event_description
|
|
2962
3064
|
# ID of the event.
|
|
2963
3065
|
# @return [String]
|
|
@@ -2995,7 +3097,7 @@ module Seam
|
|
|
2995
3097
|
# @return [String, nil]
|
|
2996
3098
|
attr_accessor :customer_key
|
|
2997
3099
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
2998
|
-
# @return [String
|
|
3100
|
+
# @return [String]
|
|
2999
3101
|
attr_accessor :event_description
|
|
3000
3102
|
# ID of the event.
|
|
3001
3103
|
# @return [String]
|
|
@@ -3021,7 +3123,7 @@ module Seam
|
|
|
3021
3123
|
# @return [String]
|
|
3022
3124
|
attr_accessor :connect_webview_id
|
|
3023
3125
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3024
|
-
# @return [String
|
|
3126
|
+
# @return [String]
|
|
3025
3127
|
attr_accessor :event_description
|
|
3026
3128
|
# ID of the event.
|
|
3027
3129
|
# @return [String]
|
|
@@ -3059,7 +3161,7 @@ module Seam
|
|
|
3059
3161
|
# @return [String]
|
|
3060
3162
|
attr_accessor :device_id
|
|
3061
3163
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3062
|
-
# @return [String
|
|
3164
|
+
# @return [String]
|
|
3063
3165
|
attr_accessor :event_description
|
|
3064
3166
|
# ID of the event.
|
|
3065
3167
|
# @return [String]
|
|
@@ -3097,7 +3199,7 @@ module Seam
|
|
|
3097
3199
|
# @return [String]
|
|
3098
3200
|
attr_accessor :device_id
|
|
3099
3201
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3100
|
-
# @return [String
|
|
3202
|
+
# @return [String]
|
|
3101
3203
|
attr_accessor :event_description
|
|
3102
3204
|
# ID of the event.
|
|
3103
3205
|
# @return [String]
|
|
@@ -3135,7 +3237,7 @@ module Seam
|
|
|
3135
3237
|
# @return [String]
|
|
3136
3238
|
attr_accessor :device_id
|
|
3137
3239
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3138
|
-
# @return [String
|
|
3240
|
+
# @return [String]
|
|
3139
3241
|
attr_accessor :event_description
|
|
3140
3242
|
# ID of the event.
|
|
3141
3243
|
# @return [String]
|
|
@@ -3173,7 +3275,7 @@ module Seam
|
|
|
3173
3275
|
# @return [String]
|
|
3174
3276
|
attr_accessor :device_id
|
|
3175
3277
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3176
|
-
# @return [String
|
|
3278
|
+
# @return [String]
|
|
3177
3279
|
attr_accessor :event_description
|
|
3178
3280
|
# ID of the event.
|
|
3179
3281
|
# @return [String]
|
|
@@ -3211,7 +3313,7 @@ module Seam
|
|
|
3211
3313
|
# @return [String]
|
|
3212
3314
|
attr_accessor :device_id
|
|
3213
3315
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3214
|
-
# @return [String
|
|
3316
|
+
# @return [String]
|
|
3215
3317
|
attr_accessor :event_description
|
|
3216
3318
|
# ID of the event.
|
|
3217
3319
|
# @return [String]
|
|
@@ -3314,9 +3416,10 @@ module Seam
|
|
|
3314
3416
|
# - `account_disconnected`
|
|
3315
3417
|
# - `hub_disconnected`
|
|
3316
3418
|
# - `device_disconnected`
|
|
3419
|
+
# - `bridge_disconnected`
|
|
3317
3420
|
attr_accessor :error_code
|
|
3318
3421
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3319
|
-
# @return [String
|
|
3422
|
+
# @return [String]
|
|
3320
3423
|
attr_accessor :event_description
|
|
3321
3424
|
# ID of the event.
|
|
3322
3425
|
# @return [String]
|
|
@@ -3419,9 +3522,10 @@ module Seam
|
|
|
3419
3522
|
# - `account_disconnected`
|
|
3420
3523
|
# - `hub_disconnected`
|
|
3421
3524
|
# - `device_disconnected`
|
|
3525
|
+
# - `bridge_disconnected`
|
|
3422
3526
|
attr_accessor :error_code
|
|
3423
3527
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3424
|
-
# @return [String
|
|
3528
|
+
# @return [String]
|
|
3425
3529
|
attr_accessor :event_description
|
|
3426
3530
|
# ID of the event.
|
|
3427
3531
|
# @return [String]
|
|
@@ -3459,7 +3563,7 @@ module Seam
|
|
|
3459
3563
|
# @return [String]
|
|
3460
3564
|
attr_accessor :device_id
|
|
3461
3565
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3462
|
-
# @return [String
|
|
3566
|
+
# @return [String]
|
|
3463
3567
|
attr_accessor :event_description
|
|
3464
3568
|
# ID of the event.
|
|
3465
3569
|
# @return [String]
|
|
@@ -3468,6 +3572,50 @@ module Seam
|
|
|
3468
3572
|
# Known values:
|
|
3469
3573
|
# - `device.tampered`
|
|
3470
3574
|
attr_accessor :event_type
|
|
3575
|
+
# Whether the device casing was tampered with at the time of the event. Omitted when the provider did not report this state.
|
|
3576
|
+
# @return [Boolean, nil]
|
|
3577
|
+
attr_accessor :is_casing_tampered_with
|
|
3578
|
+
# Whether the device was detached from its mounting plate at the time of the event. Omitted when the provider did not report this state.
|
|
3579
|
+
# @return [Boolean, nil]
|
|
3580
|
+
attr_accessor :is_detached_from_mounting_plate
|
|
3581
|
+
# ID of the workspace associated with the event.
|
|
3582
|
+
# @return [String]
|
|
3583
|
+
attr_accessor :workspace_id
|
|
3584
|
+
# Date and time at which the event was created.
|
|
3585
|
+
# @return [Time]
|
|
3586
|
+
date_accessor :created_at
|
|
3587
|
+
# Date and time at which the event occurred.
|
|
3588
|
+
# @return [Time]
|
|
3589
|
+
date_accessor :occurred_at
|
|
3590
|
+
end
|
|
3591
|
+
|
|
3592
|
+
# A sensor reported smoking. Emitted once when `is_smoking_detected` becomes true. No event is emitted when it returns to false; re-read the device for the current value.
|
|
3593
|
+
class SensorSmokingDetected < SeamEvent
|
|
3594
|
+
# Custom metadata of the connected account, present when connected_account_id is provided.
|
|
3595
|
+
# @return [Hash{String => String, Boolean}, nil]
|
|
3596
|
+
attr_accessor :connected_account_custom_metadata
|
|
3597
|
+
# ID of the connected account associated with the event.
|
|
3598
|
+
# @return [String]
|
|
3599
|
+
attr_accessor :connected_account_id
|
|
3600
|
+
# The customer key associated with the device, if any.
|
|
3601
|
+
# @return [String, nil]
|
|
3602
|
+
attr_accessor :customer_key
|
|
3603
|
+
# Custom metadata of the device, present when device_id is provided.
|
|
3604
|
+
# @return [Hash{String => String, Boolean}, nil]
|
|
3605
|
+
attr_accessor :device_custom_metadata
|
|
3606
|
+
# ID of the affected device.
|
|
3607
|
+
# @return [String]
|
|
3608
|
+
attr_accessor :device_id
|
|
3609
|
+
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3610
|
+
# @return [String]
|
|
3611
|
+
attr_accessor :event_description
|
|
3612
|
+
# ID of the event.
|
|
3613
|
+
# @return [String]
|
|
3614
|
+
attr_accessor :event_id
|
|
3615
|
+
# @return [String]
|
|
3616
|
+
# Known values:
|
|
3617
|
+
# - `sensor.smoking_detected`
|
|
3618
|
+
attr_accessor :event_type
|
|
3471
3619
|
# ID of the workspace associated with the event.
|
|
3472
3620
|
# @return [String]
|
|
3473
3621
|
attr_accessor :workspace_id
|
|
@@ -3484,10 +3632,6 @@ module Seam
|
|
|
3484
3632
|
# Number in the range 0 to 1.0 indicating the battery level of the affected device's paired accessory keypad, when the device has one and its level is known.
|
|
3485
3633
|
# @return [Float, nil]
|
|
3486
3634
|
attr_accessor :accessory_keypad_battery_level
|
|
3487
|
-
# Number in the range 0 to 1.0 indicating the level of the battery whose drop triggered this event.
|
|
3488
|
-
# @return [Float]
|
|
3489
|
-
# @deprecated Use device_battery_level and accessory_keypad_battery_level, which distinguish the device's own battery from a paired accessory keypad's battery.
|
|
3490
|
-
attr_accessor :battery_level
|
|
3491
3635
|
# Custom metadata of the connected account, present when connected_account_id is provided.
|
|
3492
3636
|
# @return [Hash{String => String, Boolean}, nil]
|
|
3493
3637
|
attr_accessor :connected_account_custom_metadata
|
|
@@ -3507,7 +3651,7 @@ module Seam
|
|
|
3507
3651
|
# @return [String]
|
|
3508
3652
|
attr_accessor :device_id
|
|
3509
3653
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3510
|
-
# @return [String
|
|
3654
|
+
# @return [String]
|
|
3511
3655
|
attr_accessor :event_description
|
|
3512
3656
|
# ID of the event.
|
|
3513
3657
|
# @return [String]
|
|
@@ -3556,7 +3700,7 @@ module Seam
|
|
|
3556
3700
|
# @return [String]
|
|
3557
3701
|
attr_accessor :device_id
|
|
3558
3702
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3559
|
-
# @return [String
|
|
3703
|
+
# @return [String]
|
|
3560
3704
|
attr_accessor :event_description
|
|
3561
3705
|
# ID of the event.
|
|
3562
3706
|
# @return [String]
|
|
@@ -3594,7 +3738,7 @@ module Seam
|
|
|
3594
3738
|
# @return [String]
|
|
3595
3739
|
attr_accessor :device_id
|
|
3596
3740
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3597
|
-
# @return [String
|
|
3741
|
+
# @return [String]
|
|
3598
3742
|
attr_accessor :event_description
|
|
3599
3743
|
# ID of the event.
|
|
3600
3744
|
# @return [String]
|
|
@@ -3635,7 +3779,7 @@ module Seam
|
|
|
3635
3779
|
# @return [String, nil]
|
|
3636
3780
|
attr_accessor :device_name
|
|
3637
3781
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3638
|
-
# @return [String
|
|
3782
|
+
# @return [String]
|
|
3639
3783
|
attr_accessor :event_description
|
|
3640
3784
|
# ID of the event.
|
|
3641
3785
|
# @return [String]
|
|
@@ -3673,7 +3817,7 @@ module Seam
|
|
|
3673
3817
|
# @return [String]
|
|
3674
3818
|
attr_accessor :device_id
|
|
3675
3819
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3676
|
-
# @return [String
|
|
3820
|
+
# @return [String]
|
|
3677
3821
|
attr_accessor :event_description
|
|
3678
3822
|
# ID of the event.
|
|
3679
3823
|
# @return [String]
|
|
@@ -3711,7 +3855,7 @@ module Seam
|
|
|
3711
3855
|
# @return [String]
|
|
3712
3856
|
attr_accessor :device_id
|
|
3713
3857
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3714
|
-
# @return [String
|
|
3858
|
+
# @return [String]
|
|
3715
3859
|
attr_accessor :event_description
|
|
3716
3860
|
# ID of the event.
|
|
3717
3861
|
# @return [String]
|
|
@@ -3749,7 +3893,7 @@ module Seam
|
|
|
3749
3893
|
# @return [String]
|
|
3750
3894
|
attr_accessor :device_id
|
|
3751
3895
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3752
|
-
# @return [String
|
|
3896
|
+
# @return [String]
|
|
3753
3897
|
attr_accessor :event_description
|
|
3754
3898
|
# ID of the event.
|
|
3755
3899
|
# @return [String]
|
|
@@ -3787,7 +3931,7 @@ module Seam
|
|
|
3787
3931
|
# @return [String]
|
|
3788
3932
|
attr_accessor :device_id
|
|
3789
3933
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3790
|
-
# @return [String
|
|
3934
|
+
# @return [String]
|
|
3791
3935
|
attr_accessor :event_description
|
|
3792
3936
|
# ID of the event.
|
|
3793
3937
|
# @return [String]
|
|
@@ -3885,7 +4029,7 @@ module Seam
|
|
|
3885
4029
|
# @return [String]
|
|
3886
4030
|
attr_accessor :device_id
|
|
3887
4031
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3888
|
-
# @return [String
|
|
4032
|
+
# @return [String]
|
|
3889
4033
|
attr_accessor :event_description
|
|
3890
4034
|
# ID of the event.
|
|
3891
4035
|
# @return [String]
|
|
@@ -3923,7 +4067,7 @@ module Seam
|
|
|
3923
4067
|
# @return [String]
|
|
3924
4068
|
attr_accessor :device_id
|
|
3925
4069
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
3926
|
-
# @return [String
|
|
4070
|
+
# @return [String]
|
|
3927
4071
|
attr_accessor :event_description
|
|
3928
4072
|
# ID of the event.
|
|
3929
4073
|
# @return [String]
|
|
@@ -4021,7 +4165,7 @@ module Seam
|
|
|
4021
4165
|
# @return [String]
|
|
4022
4166
|
attr_accessor :device_id
|
|
4023
4167
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4024
|
-
# @return [String
|
|
4168
|
+
# @return [String]
|
|
4025
4169
|
attr_accessor :event_description
|
|
4026
4170
|
# ID of the event.
|
|
4027
4171
|
# @return [String]
|
|
@@ -4059,7 +4203,7 @@ module Seam
|
|
|
4059
4203
|
# @return [String]
|
|
4060
4204
|
attr_accessor :device_id
|
|
4061
4205
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4062
|
-
# @return [String
|
|
4206
|
+
# @return [String]
|
|
4063
4207
|
attr_accessor :event_description
|
|
4064
4208
|
# ID of the event.
|
|
4065
4209
|
# @return [String]
|
|
@@ -4097,7 +4241,7 @@ module Seam
|
|
|
4097
4241
|
# @return [String]
|
|
4098
4242
|
attr_accessor :device_id
|
|
4099
4243
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4100
|
-
# @return [String
|
|
4244
|
+
# @return [String]
|
|
4101
4245
|
attr_accessor :event_description
|
|
4102
4246
|
# ID of the event.
|
|
4103
4247
|
# @return [String]
|
|
@@ -4195,7 +4339,7 @@ module Seam
|
|
|
4195
4339
|
# @return [String]
|
|
4196
4340
|
attr_accessor :device_id
|
|
4197
4341
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4198
|
-
# @return [String
|
|
4342
|
+
# @return [String]
|
|
4199
4343
|
attr_accessor :event_description
|
|
4200
4344
|
# ID of the event.
|
|
4201
4345
|
# @return [String]
|
|
@@ -4233,7 +4377,7 @@ module Seam
|
|
|
4233
4377
|
# @return [String]
|
|
4234
4378
|
attr_accessor :device_id
|
|
4235
4379
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4236
|
-
# @return [String
|
|
4380
|
+
# @return [String]
|
|
4237
4381
|
attr_accessor :event_description
|
|
4238
4382
|
# ID of the event.
|
|
4239
4383
|
# @return [String]
|
|
@@ -4301,7 +4445,7 @@ module Seam
|
|
|
4301
4445
|
# @return [String]
|
|
4302
4446
|
attr_accessor :device_id
|
|
4303
4447
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4304
|
-
# @return [String
|
|
4448
|
+
# @return [String]
|
|
4305
4449
|
attr_accessor :event_description
|
|
4306
4450
|
# ID of the event.
|
|
4307
4451
|
# @return [String]
|
|
@@ -4368,7 +4512,7 @@ module Seam
|
|
|
4368
4512
|
# @return [String, nil]
|
|
4369
4513
|
attr_accessor :device_id
|
|
4370
4514
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4371
|
-
# @return [String
|
|
4515
|
+
# @return [String]
|
|
4372
4516
|
attr_accessor :event_description
|
|
4373
4517
|
# ID of the event.
|
|
4374
4518
|
# @return [String]
|
|
@@ -4446,7 +4590,7 @@ module Seam
|
|
|
4446
4590
|
# @return [String, nil]
|
|
4447
4591
|
attr_accessor :device_id
|
|
4448
4592
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4449
|
-
# @return [String
|
|
4593
|
+
# @return [String]
|
|
4450
4594
|
attr_accessor :event_description
|
|
4451
4595
|
# ID of the event.
|
|
4452
4596
|
# @return [String]
|
|
@@ -4466,6 +4610,120 @@ module Seam
|
|
|
4466
4610
|
date_accessor :occurred_at
|
|
4467
4611
|
end
|
|
4468
4612
|
|
|
4613
|
+
# The [lock](https://www.seam.co/docs/low-level-apis/smart-locks) reported that its bolt is jammed.
|
|
4614
|
+
class LockJammed < SeamEvent
|
|
4615
|
+
# Custom metadata of the connected account, present when connected_account_id is provided.
|
|
4616
|
+
# @return [Hash{String => String, Boolean}, nil]
|
|
4617
|
+
attr_accessor :connected_account_custom_metadata
|
|
4618
|
+
# ID of the connected account associated with the event.
|
|
4619
|
+
# @return [String]
|
|
4620
|
+
attr_accessor :connected_account_id
|
|
4621
|
+
# The customer key associated with the device, if any.
|
|
4622
|
+
# @return [String, nil]
|
|
4623
|
+
attr_accessor :customer_key
|
|
4624
|
+
# Custom metadata of the device, present when device_id is provided.
|
|
4625
|
+
# @return [Hash{String => String, Boolean}, nil]
|
|
4626
|
+
attr_accessor :device_custom_metadata
|
|
4627
|
+
# ID of the affected device.
|
|
4628
|
+
# @return [String]
|
|
4629
|
+
attr_accessor :device_id
|
|
4630
|
+
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4631
|
+
# @return [String]
|
|
4632
|
+
attr_accessor :event_description
|
|
4633
|
+
# ID of the event.
|
|
4634
|
+
# @return [String]
|
|
4635
|
+
attr_accessor :event_id
|
|
4636
|
+
# @return [String]
|
|
4637
|
+
# Known values:
|
|
4638
|
+
# - `lock.jammed`
|
|
4639
|
+
attr_accessor :event_type
|
|
4640
|
+
# ID of the workspace associated with the event.
|
|
4641
|
+
# @return [String]
|
|
4642
|
+
attr_accessor :workspace_id
|
|
4643
|
+
# Date and time at which the event was created.
|
|
4644
|
+
# @return [Time]
|
|
4645
|
+
date_accessor :created_at
|
|
4646
|
+
# Date and time at which the event occurred.
|
|
4647
|
+
# @return [Time]
|
|
4648
|
+
date_accessor :occurred_at
|
|
4649
|
+
end
|
|
4650
|
+
|
|
4651
|
+
# The door sensor of the [lock](https://www.seam.co/docs/low-level-apis/smart-locks) reported that the door was opened.
|
|
4652
|
+
class LockDoorOpened < SeamEvent
|
|
4653
|
+
# Custom metadata of the connected account, present when connected_account_id is provided.
|
|
4654
|
+
# @return [Hash{String => String, Boolean}, nil]
|
|
4655
|
+
attr_accessor :connected_account_custom_metadata
|
|
4656
|
+
# ID of the connected account associated with the event.
|
|
4657
|
+
# @return [String]
|
|
4658
|
+
attr_accessor :connected_account_id
|
|
4659
|
+
# The customer key associated with the device, if any.
|
|
4660
|
+
# @return [String, nil]
|
|
4661
|
+
attr_accessor :customer_key
|
|
4662
|
+
# Custom metadata of the device, present when device_id is provided.
|
|
4663
|
+
# @return [Hash{String => String, Boolean}, nil]
|
|
4664
|
+
attr_accessor :device_custom_metadata
|
|
4665
|
+
# ID of the affected device.
|
|
4666
|
+
# @return [String]
|
|
4667
|
+
attr_accessor :device_id
|
|
4668
|
+
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4669
|
+
# @return [String]
|
|
4670
|
+
attr_accessor :event_description
|
|
4671
|
+
# ID of the event.
|
|
4672
|
+
# @return [String]
|
|
4673
|
+
attr_accessor :event_id
|
|
4674
|
+
# @return [String]
|
|
4675
|
+
# Known values:
|
|
4676
|
+
# - `lock.door_opened`
|
|
4677
|
+
attr_accessor :event_type
|
|
4678
|
+
# ID of the workspace associated with the event.
|
|
4679
|
+
# @return [String]
|
|
4680
|
+
attr_accessor :workspace_id
|
|
4681
|
+
# Date and time at which the event was created.
|
|
4682
|
+
# @return [Time]
|
|
4683
|
+
date_accessor :created_at
|
|
4684
|
+
# Date and time at which the event occurred.
|
|
4685
|
+
# @return [Time]
|
|
4686
|
+
date_accessor :occurred_at
|
|
4687
|
+
end
|
|
4688
|
+
|
|
4689
|
+
# The door sensor of the [lock](https://www.seam.co/docs/low-level-apis/smart-locks) reported that the door was closed.
|
|
4690
|
+
class LockDoorClosed < SeamEvent
|
|
4691
|
+
# Custom metadata of the connected account, present when connected_account_id is provided.
|
|
4692
|
+
# @return [Hash{String => String, Boolean}, nil]
|
|
4693
|
+
attr_accessor :connected_account_custom_metadata
|
|
4694
|
+
# ID of the connected account associated with the event.
|
|
4695
|
+
# @return [String]
|
|
4696
|
+
attr_accessor :connected_account_id
|
|
4697
|
+
# The customer key associated with the device, if any.
|
|
4698
|
+
# @return [String, nil]
|
|
4699
|
+
attr_accessor :customer_key
|
|
4700
|
+
# Custom metadata of the device, present when device_id is provided.
|
|
4701
|
+
# @return [Hash{String => String, Boolean}, nil]
|
|
4702
|
+
attr_accessor :device_custom_metadata
|
|
4703
|
+
# ID of the affected device.
|
|
4704
|
+
# @return [String]
|
|
4705
|
+
attr_accessor :device_id
|
|
4706
|
+
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4707
|
+
# @return [String]
|
|
4708
|
+
attr_accessor :event_description
|
|
4709
|
+
# ID of the event.
|
|
4710
|
+
# @return [String]
|
|
4711
|
+
attr_accessor :event_id
|
|
4712
|
+
# @return [String]
|
|
4713
|
+
# Known values:
|
|
4714
|
+
# - `lock.door_closed`
|
|
4715
|
+
attr_accessor :event_type
|
|
4716
|
+
# ID of the workspace associated with the event.
|
|
4717
|
+
# @return [String]
|
|
4718
|
+
attr_accessor :workspace_id
|
|
4719
|
+
# Date and time at which the event was created.
|
|
4720
|
+
# @return [Time]
|
|
4721
|
+
date_accessor :created_at
|
|
4722
|
+
# Date and time at which the event occurred.
|
|
4723
|
+
# @return [Time]
|
|
4724
|
+
date_accessor :occurred_at
|
|
4725
|
+
end
|
|
4726
|
+
|
|
4469
4727
|
# A thermostat [climate preset](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-climate-presets) was activated.
|
|
4470
4728
|
class ThermostatClimatePresetActivated < SeamEvent
|
|
4471
4729
|
# Key of the climate preset that was activated.
|
|
@@ -4487,7 +4745,7 @@ module Seam
|
|
|
4487
4745
|
# @return [String]
|
|
4488
4746
|
attr_accessor :device_id
|
|
4489
4747
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4490
|
-
# @return [String
|
|
4748
|
+
# @return [String]
|
|
4491
4749
|
attr_accessor :event_description
|
|
4492
4750
|
# ID of the event.
|
|
4493
4751
|
# @return [String]
|
|
@@ -4537,7 +4795,7 @@ module Seam
|
|
|
4537
4795
|
# @return [String]
|
|
4538
4796
|
attr_accessor :device_id
|
|
4539
4797
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4540
|
-
# @return [String
|
|
4798
|
+
# @return [String]
|
|
4541
4799
|
attr_accessor :event_description
|
|
4542
4800
|
# ID of the event.
|
|
4543
4801
|
# @return [String]
|
|
@@ -4585,6 +4843,113 @@ module Seam
|
|
|
4585
4843
|
date_accessor :occurred_at
|
|
4586
4844
|
end
|
|
4587
4845
|
|
|
4846
|
+
# A [thermostat](https://www.seam.co/docs/capability-guides/thermostats) may fail to activate a [climate preset](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-climate-presets) when a [thermostat schedule](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts or ends, because the thermostat was offline shortly before the scheduled time. While the thermostat stays offline, the thermostat schedule carries a `climate_preset_activation_may_fail` warning until the scheduled time.
|
|
4847
|
+
class ThermostatScheduleClimatePresetActivationMayFail < SeamEvent
|
|
4848
|
+
class ConnectedAccountErrors < BaseResource
|
|
4849
|
+
# Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
4850
|
+
# @return [String]
|
|
4851
|
+
attr_accessor :error_code
|
|
4852
|
+
# Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
4853
|
+
# @return [String]
|
|
4854
|
+
attr_accessor :message
|
|
4855
|
+
# Date and time at which Seam created the error.
|
|
4856
|
+
# @return [Time]
|
|
4857
|
+
date_accessor :created_at
|
|
4858
|
+
end
|
|
4859
|
+
|
|
4860
|
+
class ConnectedAccountWarnings < BaseResource
|
|
4861
|
+
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
4862
|
+
# @return [String]
|
|
4863
|
+
attr_accessor :message
|
|
4864
|
+
# Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
4865
|
+
# @return [String]
|
|
4866
|
+
attr_accessor :warning_code
|
|
4867
|
+
# Date and time at which Seam created the warning.
|
|
4868
|
+
# @return [Time]
|
|
4869
|
+
date_accessor :created_at
|
|
4870
|
+
end
|
|
4871
|
+
|
|
4872
|
+
class DeviceErrors < BaseResource
|
|
4873
|
+
# Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
4874
|
+
# @return [String]
|
|
4875
|
+
attr_accessor :error_code
|
|
4876
|
+
# Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
4877
|
+
# @return [String]
|
|
4878
|
+
attr_accessor :message
|
|
4879
|
+
# Date and time at which Seam created the error.
|
|
4880
|
+
# @return [Time]
|
|
4881
|
+
date_accessor :created_at
|
|
4882
|
+
end
|
|
4883
|
+
|
|
4884
|
+
class DeviceWarnings < BaseResource
|
|
4885
|
+
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
4886
|
+
# @return [String]
|
|
4887
|
+
attr_accessor :message
|
|
4888
|
+
# Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
4889
|
+
# @return [String]
|
|
4890
|
+
attr_accessor :warning_code
|
|
4891
|
+
# Date and time at which Seam created the warning.
|
|
4892
|
+
# @return [Time]
|
|
4893
|
+
date_accessor :created_at
|
|
4894
|
+
end
|
|
4895
|
+
|
|
4896
|
+
# Errors associated with the connected account.
|
|
4897
|
+
# @return [Array<ConnectedAccountErrors>]
|
|
4898
|
+
resource_list_accessor :connected_account_errors, ConnectedAccountErrors
|
|
4899
|
+
# Warnings associated with the connected account.
|
|
4900
|
+
# @return [Array<ConnectedAccountWarnings>]
|
|
4901
|
+
resource_list_accessor :connected_account_warnings, ConnectedAccountWarnings
|
|
4902
|
+
# Errors associated with the device.
|
|
4903
|
+
# @return [Array<DeviceErrors>]
|
|
4904
|
+
resource_list_accessor :device_errors, DeviceErrors
|
|
4905
|
+
# Warnings associated with the device.
|
|
4906
|
+
# @return [Array<DeviceWarnings>]
|
|
4907
|
+
resource_list_accessor :device_warnings, DeviceWarnings
|
|
4908
|
+
# Custom metadata of the connected account, present when connected_account_id is provided.
|
|
4909
|
+
# @return [Hash{String => String, Boolean}, nil]
|
|
4910
|
+
attr_accessor :connected_account_custom_metadata
|
|
4911
|
+
# ID of the connected account associated with the event.
|
|
4912
|
+
# @return [String]
|
|
4913
|
+
attr_accessor :connected_account_id
|
|
4914
|
+
# The customer key associated with the device, if any.
|
|
4915
|
+
# @return [String, nil]
|
|
4916
|
+
attr_accessor :customer_key
|
|
4917
|
+
# Custom metadata of the device, present when device_id is provided.
|
|
4918
|
+
# @return [Hash{String => String, Boolean}, nil]
|
|
4919
|
+
attr_accessor :device_custom_metadata
|
|
4920
|
+
# ID of the affected device.
|
|
4921
|
+
# @return [String]
|
|
4922
|
+
attr_accessor :device_id
|
|
4923
|
+
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4924
|
+
# @return [String]
|
|
4925
|
+
attr_accessor :event_description
|
|
4926
|
+
# ID of the event.
|
|
4927
|
+
# @return [String]
|
|
4928
|
+
attr_accessor :event_id
|
|
4929
|
+
# @return [String]
|
|
4930
|
+
# Known values:
|
|
4931
|
+
# - `thermostat_schedule.climate_preset_activation_may_fail`
|
|
4932
|
+
attr_accessor :event_type
|
|
4933
|
+
# ID of the thermostat schedule whose climate preset activation may fail.
|
|
4934
|
+
# @return [String]
|
|
4935
|
+
attr_accessor :thermostat_schedule_id
|
|
4936
|
+
# ID of the workspace associated with the event.
|
|
4937
|
+
# @return [String]
|
|
4938
|
+
attr_accessor :workspace_id
|
|
4939
|
+
# Date and time at which the event was created.
|
|
4940
|
+
# @return [Time]
|
|
4941
|
+
date_accessor :created_at
|
|
4942
|
+
# Date and time at which the event occurred.
|
|
4943
|
+
# @return [Time]
|
|
4944
|
+
date_accessor :occurred_at
|
|
4945
|
+
# Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
4946
|
+
# @return [Time]
|
|
4947
|
+
date_accessor :thermostat_schedule_ends_at
|
|
4948
|
+
# Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
4949
|
+
# @return [Time]
|
|
4950
|
+
date_accessor :thermostat_schedule_starts_at
|
|
4951
|
+
end
|
|
4952
|
+
|
|
4588
4953
|
# A [thermostat's](https://www.seam.co/docs/capability-guides/thermostats) temperature reading exceeded the set [threshold](https://www.seam.co/docs/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds).
|
|
4589
4954
|
class ThermostatTemperatureThresholdExceeded < SeamEvent
|
|
4590
4955
|
# Custom metadata of the connected account, present when connected_account_id is provided.
|
|
@@ -4603,7 +4968,7 @@ module Seam
|
|
|
4603
4968
|
# @return [String]
|
|
4604
4969
|
attr_accessor :device_id
|
|
4605
4970
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4606
|
-
# @return [String
|
|
4971
|
+
# @return [String]
|
|
4607
4972
|
attr_accessor :event_description
|
|
4608
4973
|
# ID of the event.
|
|
4609
4974
|
# @return [String]
|
|
@@ -4659,7 +5024,7 @@ module Seam
|
|
|
4659
5024
|
# @return [String]
|
|
4660
5025
|
attr_accessor :device_id
|
|
4661
5026
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4662
|
-
# @return [String
|
|
5027
|
+
# @return [String]
|
|
4663
5028
|
attr_accessor :event_description
|
|
4664
5029
|
# ID of the event.
|
|
4665
5030
|
# @return [String]
|
|
@@ -4721,7 +5086,7 @@ module Seam
|
|
|
4721
5086
|
# @return [String]
|
|
4722
5087
|
attr_accessor :device_id
|
|
4723
5088
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4724
|
-
# @return [String
|
|
5089
|
+
# @return [String]
|
|
4725
5090
|
attr_accessor :event_description
|
|
4726
5091
|
# ID of the event.
|
|
4727
5092
|
# @return [String]
|
|
@@ -4765,7 +5130,7 @@ module Seam
|
|
|
4765
5130
|
# @return [String]
|
|
4766
5131
|
attr_accessor :device_id
|
|
4767
5132
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4768
|
-
# @return [String
|
|
5133
|
+
# @return [String]
|
|
4769
5134
|
attr_accessor :event_description
|
|
4770
5135
|
# ID of the event.
|
|
4771
5136
|
# @return [String]
|
|
@@ -4812,7 +5177,7 @@ module Seam
|
|
|
4812
5177
|
# @return [String]
|
|
4813
5178
|
attr_accessor :device_name
|
|
4814
5179
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4815
|
-
# @return [String
|
|
5180
|
+
# @return [String]
|
|
4816
5181
|
attr_accessor :event_description
|
|
4817
5182
|
# ID of the event.
|
|
4818
5183
|
# @return [String]
|
|
@@ -4832,13 +5197,8 @@ module Seam
|
|
|
4832
5197
|
date_accessor :occurred_at
|
|
4833
5198
|
end
|
|
4834
5199
|
|
|
4835
|
-
# A camera was activated, for example, by motion detection.
|
|
5200
|
+
# A camera was activated, for example, by motion detection. For Ring cameras, this event is available only in the Seam Console, not through the API or webhooks.
|
|
4836
5201
|
class CameraActivated < SeamEvent
|
|
4837
|
-
# The reason the camera was activated.
|
|
4838
|
-
# @return [String]
|
|
4839
|
-
# Known values:
|
|
4840
|
-
# - `motion_detected`
|
|
4841
|
-
attr_accessor :activation_reason
|
|
4842
5202
|
# Custom metadata of the connected account, present when connected_account_id is provided.
|
|
4843
5203
|
# @return [Hash{String => String, Boolean}, nil]
|
|
4844
5204
|
attr_accessor :connected_account_custom_metadata
|
|
@@ -4855,7 +5215,7 @@ module Seam
|
|
|
4855
5215
|
# @return [String]
|
|
4856
5216
|
attr_accessor :device_id
|
|
4857
5217
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4858
|
-
# @return [String
|
|
5218
|
+
# @return [String]
|
|
4859
5219
|
attr_accessor :event_description
|
|
4860
5220
|
# ID of the event.
|
|
4861
5221
|
# @return [String]
|
|
@@ -4867,6 +5227,9 @@ module Seam
|
|
|
4867
5227
|
# URL to a thumbnail image captured at the time of activation.
|
|
4868
5228
|
# @return [String, nil]
|
|
4869
5229
|
attr_accessor :image_url
|
|
5230
|
+
# Whether motion detection activated the camera, if known.
|
|
5231
|
+
# @return [Boolean, nil]
|
|
5232
|
+
attr_accessor :is_motion_detected
|
|
4870
5233
|
# IDs of the media, such as a video clip and a thumbnail image, captured for this activation. Use `/media/get` to retrieve each one.
|
|
4871
5234
|
# @return [Array<String>]
|
|
4872
5235
|
attr_accessor :media_ids
|
|
@@ -4892,7 +5255,7 @@ module Seam
|
|
|
4892
5255
|
date_accessor :occurred_at
|
|
4893
5256
|
end
|
|
4894
5257
|
|
|
4895
|
-
# A doorbell button was pressed on a device.
|
|
5258
|
+
# A doorbell button was pressed on a device. For Ring cameras, this event is available only in the Seam Console, not through the API or webhooks.
|
|
4896
5259
|
class DeviceDoorbellRang < SeamEvent
|
|
4897
5260
|
# Custom metadata of the connected account, present when connected_account_id is provided.
|
|
4898
5261
|
# @return [Hash{String => String, Boolean}, nil]
|
|
@@ -4910,7 +5273,7 @@ module Seam
|
|
|
4910
5273
|
# @return [String]
|
|
4911
5274
|
attr_accessor :device_id
|
|
4912
5275
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4913
|
-
# @return [String
|
|
5276
|
+
# @return [String]
|
|
4914
5277
|
attr_accessor :event_description
|
|
4915
5278
|
# ID of the event.
|
|
4916
5279
|
# @return [String]
|
|
@@ -4948,7 +5311,7 @@ module Seam
|
|
|
4948
5311
|
# @return [String]
|
|
4949
5312
|
attr_accessor :device_id
|
|
4950
5313
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4951
|
-
# @return [String
|
|
5314
|
+
# @return [String]
|
|
4952
5315
|
attr_accessor :event_description
|
|
4953
5316
|
# ID of the event.
|
|
4954
5317
|
# @return [String]
|
|
@@ -4977,7 +5340,7 @@ module Seam
|
|
|
4977
5340
|
# @return [Array<String>]
|
|
4978
5341
|
attr_accessor :device_ids
|
|
4979
5342
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
4980
|
-
# @return [String
|
|
5343
|
+
# @return [String]
|
|
4981
5344
|
attr_accessor :event_description
|
|
4982
5345
|
# ID of the event.
|
|
4983
5346
|
# @return [String]
|
|
@@ -5013,7 +5376,7 @@ module Seam
|
|
|
5013
5376
|
# @return [Array<String>]
|
|
5014
5377
|
attr_accessor :device_ids
|
|
5015
5378
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
5016
|
-
# @return [String
|
|
5379
|
+
# @return [String]
|
|
5017
5380
|
attr_accessor :event_description
|
|
5018
5381
|
# ID of the event.
|
|
5019
5382
|
# @return [String]
|
|
@@ -5049,7 +5412,7 @@ module Seam
|
|
|
5049
5412
|
# @return [Array<String>]
|
|
5050
5413
|
attr_accessor :device_ids
|
|
5051
5414
|
# Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
|
|
5052
|
-
# @return [String
|
|
5415
|
+
# @return [String]
|
|
5053
5416
|
attr_accessor :event_description
|
|
5054
5417
|
# ID of the event.
|
|
5055
5418
|
# @return [String]
|
|
@@ -5166,6 +5529,7 @@ module Seam
|
|
|
5166
5529
|
# - `device.disconnected`
|
|
5167
5530
|
# - `device.unmanaged.disconnected`
|
|
5168
5531
|
# - `device.tampered`
|
|
5532
|
+
# - `sensor.smoking_detected`
|
|
5169
5533
|
# - `device.low_battery`
|
|
5170
5534
|
# - `device.battery_status_changed`
|
|
5171
5535
|
# - `device.removed`
|
|
@@ -5184,12 +5548,19 @@ module Seam
|
|
|
5184
5548
|
# - `lock.locked`
|
|
5185
5549
|
# - `lock.unlocked`
|
|
5186
5550
|
# - `lock.access_denied`
|
|
5551
|
+
# - `lock.jammed`
|
|
5552
|
+
# - `lock.door_opened`
|
|
5553
|
+
# - `lock.door_closed`
|
|
5187
5554
|
# - `thermostat.climate_preset_activated`
|
|
5188
5555
|
# - `thermostat.manually_adjusted`
|
|
5556
|
+
# - `thermostat_schedule.climate_preset_activation_may_fail`
|
|
5189
5557
|
# - `thermostat.temperature_threshold_exceeded`
|
|
5190
5558
|
# - `thermostat.temperature_threshold_no_longer_exceeded`
|
|
5191
5559
|
# - `thermostat.temperature_reached_set_point`
|
|
5192
5560
|
# - `thermostat.temperature_changed`
|
|
5561
|
+
# - `pool.temperature_changed`
|
|
5562
|
+
# - `pool.temperature_reached_set_point`
|
|
5563
|
+
# - `pool.manually_adjusted`
|
|
5193
5564
|
# - `device.name_changed`
|
|
5194
5565
|
# - `camera.activated`
|
|
5195
5566
|
# - `device.doorbell_rang`
|
|
@@ -5223,6 +5594,7 @@ module Seam
|
|
|
5223
5594
|
"access_code.removed_from_device" => AccessCodeRemovedFromDevice,
|
|
5224
5595
|
"access_code.delay_in_setting_on_device" => AccessCodeDelayInSettingOnDevice,
|
|
5225
5596
|
"access_code.failed_to_set_on_device" => AccessCodeFailedToSetOnDevice,
|
|
5597
|
+
"access_code.failed_to_delete" => AccessCodeFailedToDelete,
|
|
5226
5598
|
"access_code.deleted" => AccessCodeDeleted,
|
|
5227
5599
|
"access_code.delay_in_removing_from_device" => AccessCodeDelayInRemovingFromDevice,
|
|
5228
5600
|
"access_code.failed_to_remove_from_device" => AccessCodeFailedToRemoveFromDevice,
|
|
@@ -5265,7 +5637,6 @@ module Seam
|
|
|
5265
5637
|
"client_session.deleted" => ClientSessionDeleted,
|
|
5266
5638
|
"connected_account.connected" => ConnectedAccountConnected,
|
|
5267
5639
|
"connected_account.created" => ConnectedAccountCreated,
|
|
5268
|
-
"connected_account.successful_login" => ConnectedAccountSuccessfulLogin,
|
|
5269
5640
|
"connected_account.disconnected" => ConnectedAccountDisconnected,
|
|
5270
5641
|
"connected_account.completed_first_sync" => ConnectedAccountCompletedFirstSync,
|
|
5271
5642
|
"connected_account.deleted" => ConnectedAccountDeleted,
|
|
@@ -5289,6 +5660,7 @@ module Seam
|
|
|
5289
5660
|
"device.disconnected" => DeviceDisconnected,
|
|
5290
5661
|
"device.unmanaged.disconnected" => DeviceUnmanagedDisconnected,
|
|
5291
5662
|
"device.tampered" => DeviceTampered,
|
|
5663
|
+
"sensor.smoking_detected" => SensorSmokingDetected,
|
|
5292
5664
|
"device.low_battery" => DeviceLowBattery,
|
|
5293
5665
|
"device.battery_status_changed" => DeviceBatteryStatusChanged,
|
|
5294
5666
|
"device.removed" => DeviceRemoved,
|
|
@@ -5307,8 +5679,12 @@ module Seam
|
|
|
5307
5679
|
"lock.locked" => LockLocked,
|
|
5308
5680
|
"lock.unlocked" => LockUnlocked,
|
|
5309
5681
|
"lock.access_denied" => LockAccessDenied,
|
|
5682
|
+
"lock.jammed" => LockJammed,
|
|
5683
|
+
"lock.door_opened" => LockDoorOpened,
|
|
5684
|
+
"lock.door_closed" => LockDoorClosed,
|
|
5310
5685
|
"thermostat.climate_preset_activated" => ThermostatClimatePresetActivated,
|
|
5311
5686
|
"thermostat.manually_adjusted" => ThermostatManuallyAdjusted,
|
|
5687
|
+
"thermostat_schedule.climate_preset_activation_may_fail" => ThermostatScheduleClimatePresetActivationMayFail,
|
|
5312
5688
|
"thermostat.temperature_threshold_exceeded" => ThermostatTemperatureThresholdExceeded,
|
|
5313
5689
|
"thermostat.temperature_threshold_no_longer_exceeded" => ThermostatTemperatureThresholdNoLongerExceeded,
|
|
5314
5690
|
"thermostat.temperature_reached_set_point" => ThermostatTemperatureReachedSetPoint,
|