seam 2.166.0 → 2.167.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.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/README.md +55 -2
  4. data/lib/seam/action_attempt_resolver.rb +77 -7
  5. data/lib/seam/auth.rb +2 -1
  6. data/lib/seam/base_resource.rb +50 -3
  7. data/lib/seam/deep_hash_accessor.rb +11 -15
  8. data/lib/seam/errors.rb +6 -0
  9. data/lib/seam/http.rb +11 -7
  10. data/lib/seam/http_single_workspace.rb +15 -3
  11. data/lib/seam/http_without_workspace.rb +17 -7
  12. data/lib/seam/invalid_response_error.rb +17 -0
  13. data/lib/seam/options.rb +2 -1
  14. data/lib/seam/paginator.rb +34 -29
  15. data/lib/seam/request_parameters.rb +11 -0
  16. data/lib/seam/resources/access_code.rb +46 -3
  17. data/lib/seam/resources/access_grant.rb +38 -4
  18. data/lib/seam/resources/access_method.rb +18 -1
  19. data/lib/seam/resources/acs_access_group.rb +0 -17
  20. data/lib/seam/resources/acs_credential.rb +18 -1
  21. data/lib/seam/resources/acs_entrance.rb +1 -1
  22. data/lib/seam/resources/acs_system.rb +17 -31
  23. data/lib/seam/resources/acs_user.rb +0 -3
  24. data/lib/seam/resources/action_attempt.rb +4 -216
  25. data/lib/seam/resources/batch.rb +1 -1
  26. data/lib/seam/resources/client_session.rb +0 -4
  27. data/lib/seam/resources/connect_webview.rb +1 -0
  28. data/lib/seam/resources/connected_account.rb +1 -21
  29. data/lib/seam/resources/device.rb +354 -311
  30. data/lib/seam/resources/device_provider.rb +11 -13
  31. data/lib/seam/resources/event.rb +372 -151
  32. data/lib/seam/resources/instant_key.rb +1 -1
  33. data/lib/seam/resources/phone.rb +90 -2
  34. data/lib/seam/resources/space.rb +21 -1
  35. data/lib/seam/resources/unmanaged_access_code.rb +44 -4
  36. data/lib/seam/resources/unmanaged_access_grant.rb +38 -4
  37. data/lib/seam/resources/unmanaged_access_method.rb +18 -1
  38. data/lib/seam/resources/unmanaged_device.rb +108 -38
  39. data/lib/seam/resources/workspace.rb +0 -4
  40. data/lib/seam/routes/access_codes.rb +19 -23
  41. data/lib/seam/routes/access_codes_simulate.rb +1 -1
  42. data/lib/seam/routes/access_codes_unmanaged.rb +7 -5
  43. data/lib/seam/routes/access_grants.rb +24 -24
  44. data/lib/seam/routes/access_grants_unmanaged.rb +5 -4
  45. data/lib/seam/routes/access_methods.rb +20 -14
  46. data/lib/seam/routes/access_methods_unmanaged.rb +2 -2
  47. data/lib/seam/routes/acs_access_groups.rb +4 -4
  48. data/lib/seam/routes/acs_credentials.rb +4 -4
  49. data/lib/seam/routes/acs_encoders.rb +5 -5
  50. data/lib/seam/routes/acs_entrances.rb +6 -8
  51. data/lib/seam/routes/acs_systems.rb +3 -3
  52. data/lib/seam/routes/acs_users.rb +44 -34
  53. data/lib/seam/routes/action_attempts.rb +2 -2
  54. data/lib/seam/routes/cameras_live_views.rb +5 -5
  55. data/lib/seam/routes/client_sessions.rb +20 -21
  56. data/lib/seam/routes/connect_webviews.rb +3 -3
  57. data/lib/seam/routes/connected_accounts.rb +7 -5
  58. data/lib/seam/routes/customers.rb +4 -5
  59. data/lib/seam/routes/devices.rb +10 -10
  60. data/lib/seam/routes/devices_unmanaged.rb +7 -5
  61. data/lib/seam/routes/events.rb +16 -12
  62. data/lib/seam/routes/instant_keys.rb +7 -5
  63. data/lib/seam/routes/locks.rb +10 -8
  64. data/lib/seam/routes/locks_simulate.rb +2 -2
  65. data/lib/seam/routes/media.rb +1 -1
  66. data/lib/seam/routes/noise_sensors.rb +1 -1
  67. data/lib/seam/routes/noise_sensors_noise_thresholds.rb +9 -3
  68. data/lib/seam/routes/phones.rb +2 -2
  69. data/lib/seam/routes/phones_simulate.rb +1 -1
  70. data/lib/seam/routes/spaces.rb +18 -13
  71. data/lib/seam/routes/thermostats.rb +14 -18
  72. data/lib/seam/routes/thermostats_daily_programs.rb +2 -2
  73. data/lib/seam/routes/thermostats_schedules.rb +3 -3
  74. data/lib/seam/routes/user_identities.rb +24 -18
  75. data/lib/seam/routes/user_identities_unmanaged.rb +2 -2
  76. data/lib/seam/routes/webhooks.rb +3 -3
  77. data/lib/seam/routes/workspaces.rb +6 -16
  78. data/lib/seam/url_search_params_serializer.rb +2 -1
  79. data/lib/seam/version.rb +1 -1
  80. data/lib/seam/wait_for_action_attempt.rb +3 -1
  81. data/lib/seam/webhook.rb +25 -5
  82. data/lib/seam.rb +12 -6
  83. metadata +5 -2
@@ -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, nil]
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, nil]
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, nil]
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, nil]
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, nil]
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, nil]
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, nil]
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, nil]
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, nil]
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, nil]
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, nil]
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.
@@ -738,7 +866,7 @@ module Seam
738
866
  # @return [String]
739
867
  attr_accessor :device_id
740
868
  # 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, nil]
869
+ # @return [String]
742
870
  attr_accessor :event_description
743
871
  # ID of the event.
744
872
  # @return [String]
@@ -866,7 +994,7 @@ module Seam
866
994
  # @return [String]
867
995
  attr_accessor :device_id
868
996
  # 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, nil]
997
+ # @return [String]
870
998
  attr_accessor :event_description
871
999
  # ID of the event.
872
1000
  # @return [String]
@@ -994,7 +1122,7 @@ module Seam
994
1122
  # @return [String]
995
1123
  attr_accessor :device_id
996
1124
  # 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, nil]
1125
+ # @return [String]
998
1126
  attr_accessor :event_description
999
1127
  # ID of the event.
1000
1128
  # @return [String]
@@ -1032,7 +1160,7 @@ module Seam
1032
1160
  # @return [String]
1033
1161
  attr_accessor :device_id
1034
1162
  # 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, nil]
1163
+ # @return [String]
1036
1164
  attr_accessor :event_description
1037
1165
  # ID of the event.
1038
1166
  # @return [String]
@@ -1070,7 +1198,7 @@ module Seam
1070
1198
  # @return [String]
1071
1199
  attr_accessor :device_id
1072
1200
  # 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, nil]
1201
+ # @return [String]
1074
1202
  attr_accessor :event_description
1075
1203
  # ID of the event.
1076
1204
  # @return [String]
@@ -1111,7 +1239,7 @@ module Seam
1111
1239
  # @return [String]
1112
1240
  attr_accessor :device_id
1113
1241
  # 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, nil]
1242
+ # @return [String]
1115
1243
  attr_accessor :event_description
1116
1244
  # ID of the event.
1117
1245
  # @return [String]
@@ -1149,7 +1277,7 @@ module Seam
1149
1277
  # @return [String]
1150
1278
  attr_accessor :device_id
1151
1279
  # 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, nil]
1280
+ # @return [String]
1153
1281
  attr_accessor :event_description
1154
1282
  # ID of the event.
1155
1283
  # @return [String]
@@ -1277,7 +1405,7 @@ module Seam
1277
1405
  # @return [String]
1278
1406
  attr_accessor :device_id
1279
1407
  # 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, nil]
1408
+ # @return [String]
1281
1409
  attr_accessor :event_description
1282
1410
  # ID of the event.
1283
1411
  # @return [String]
@@ -1315,7 +1443,7 @@ module Seam
1315
1443
  # @return [String]
1316
1444
  attr_accessor :device_id
1317
1445
  # 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, nil]
1446
+ # @return [String]
1319
1447
  attr_accessor :event_description
1320
1448
  # ID of the event.
1321
1449
  # @return [String]
@@ -1353,7 +1481,7 @@ module Seam
1353
1481
  # @return [String]
1354
1482
  attr_accessor :device_id
1355
1483
  # 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, nil]
1484
+ # @return [String]
1357
1485
  attr_accessor :event_description
1358
1486
  # ID of the event.
1359
1487
  # @return [String]
@@ -1379,7 +1507,7 @@ module Seam
1379
1507
  # @return [String]
1380
1508
  attr_accessor :access_grant_id
1381
1509
  # 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, nil]
1510
+ # @return [String]
1383
1511
  attr_accessor :event_description
1384
1512
  # ID of the event.
1385
1513
  # @return [String]
@@ -1405,7 +1533,7 @@ module Seam
1405
1533
  # @return [String]
1406
1534
  attr_accessor :access_grant_id
1407
1535
  # 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, nil]
1536
+ # @return [String]
1409
1537
  attr_accessor :event_description
1410
1538
  # ID of the event.
1411
1539
  # @return [String]
@@ -1431,7 +1559,7 @@ module Seam
1431
1559
  # @return [String]
1432
1560
  attr_accessor :access_grant_id
1433
1561
  # 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, nil]
1562
+ # @return [String]
1435
1563
  attr_accessor :event_description
1436
1564
  # ID of the event.
1437
1565
  # @return [String]
@@ -1460,7 +1588,7 @@ module Seam
1460
1588
  # @return [String]
1461
1589
  attr_accessor :acs_entrance_id
1462
1590
  # 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, nil]
1591
+ # @return [String]
1464
1592
  attr_accessor :event_description
1465
1593
  # ID of the event.
1466
1594
  # @return [String]
@@ -1489,7 +1617,7 @@ module Seam
1489
1617
  # @return [String]
1490
1618
  attr_accessor :acs_entrance_id
1491
1619
  # 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, nil]
1620
+ # @return [String]
1493
1621
  attr_accessor :event_description
1494
1622
  # ID of the event.
1495
1623
  # @return [String]
@@ -1521,7 +1649,7 @@ module Seam
1521
1649
  # @return [String, nil]
1522
1650
  attr_accessor :ends_at
1523
1651
  # 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, nil]
1652
+ # @return [String]
1525
1653
  attr_accessor :event_description
1526
1654
  # ID of the event.
1527
1655
  # @return [String]
@@ -1553,7 +1681,7 @@ module Seam
1553
1681
  # @return [String]
1554
1682
  attr_accessor :error_message
1555
1683
  # 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, nil]
1684
+ # @return [String]
1557
1685
  attr_accessor :event_description
1558
1686
  # ID of the event.
1559
1687
  # @return [String]
@@ -1591,7 +1719,7 @@ module Seam
1591
1719
  # @return [String, nil]
1592
1720
  attr_accessor :code
1593
1721
  # 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, nil]
1722
+ # @return [String]
1595
1723
  attr_accessor :event_description
1596
1724
  # ID of the event.
1597
1725
  # @return [String]
@@ -1626,7 +1754,7 @@ module Seam
1626
1754
  # @return [String]
1627
1755
  attr_accessor :access_method_id
1628
1756
  # 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, nil]
1757
+ # @return [String]
1630
1758
  attr_accessor :event_description
1631
1759
  # ID of the event.
1632
1760
  # @return [String]
@@ -1658,7 +1786,7 @@ module Seam
1658
1786
  # @return [String]
1659
1787
  attr_accessor :access_method_id
1660
1788
  # 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, nil]
1789
+ # @return [String]
1662
1790
  attr_accessor :event_description
1663
1791
  # ID of the event.
1664
1792
  # @return [String]
@@ -1690,7 +1818,7 @@ module Seam
1690
1818
  # @return [String]
1691
1819
  attr_accessor :access_method_id
1692
1820
  # 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, nil]
1821
+ # @return [String]
1694
1822
  attr_accessor :event_description
1695
1823
  # ID of the event.
1696
1824
  # @return [String]
@@ -1725,7 +1853,7 @@ module Seam
1725
1853
  # @return [String, nil]
1726
1854
  attr_accessor :code
1727
1855
  # 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, nil]
1856
+ # @return [String]
1729
1857
  attr_accessor :event_description
1730
1858
  # ID of the event.
1731
1859
  # @return [String]
@@ -1760,7 +1888,7 @@ module Seam
1760
1888
  # @return [String]
1761
1889
  attr_accessor :access_method_id
1762
1890
  # 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, nil]
1891
+ # @return [String]
1764
1892
  attr_accessor :event_description
1765
1893
  # ID of the event.
1766
1894
  # @return [String]
@@ -1792,7 +1920,7 @@ module Seam
1792
1920
  # @return [String]
1793
1921
  attr_accessor :access_method_id
1794
1922
  # 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, nil]
1923
+ # @return [String]
1796
1924
  attr_accessor :event_description
1797
1925
  # ID of the event.
1798
1926
  # @return [String]
@@ -1824,7 +1952,7 @@ module Seam
1824
1952
  # @return [String]
1825
1953
  attr_accessor :access_method_id
1826
1954
  # 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, nil]
1955
+ # @return [String]
1828
1956
  attr_accessor :event_description
1829
1957
  # ID of the event.
1830
1958
  # @return [String]
@@ -1853,7 +1981,7 @@ module Seam
1853
1981
  # @return [String, nil]
1854
1982
  attr_accessor :connected_account_id
1855
1983
  # 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, nil]
1984
+ # @return [String]
1857
1985
  attr_accessor :event_description
1858
1986
  # ID of the event.
1859
1987
  # @return [String]
@@ -1882,7 +2010,7 @@ module Seam
1882
2010
  # @return [String, nil]
1883
2011
  attr_accessor :connected_account_id
1884
2012
  # 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, nil]
2013
+ # @return [String]
1886
2014
  attr_accessor :event_description
1887
2015
  # ID of the event.
1888
2016
  # @return [String]
@@ -1971,7 +2099,7 @@ module Seam
1971
2099
  # @return [String, nil]
1972
2100
  attr_accessor :connected_account_id
1973
2101
  # 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, nil]
2102
+ # @return [String]
1975
2103
  attr_accessor :event_description
1976
2104
  # ID of the event.
1977
2105
  # @return [String]
@@ -2003,7 +2131,7 @@ module Seam
2003
2131
  # @return [String, nil]
2004
2132
  attr_accessor :connected_account_id
2005
2133
  # 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, nil]
2134
+ # @return [String]
2007
2135
  attr_accessor :event_description
2008
2136
  # ID of the event.
2009
2137
  # @return [String]
@@ -2035,7 +2163,7 @@ module Seam
2035
2163
  # @return [String, nil]
2036
2164
  attr_accessor :connected_account_id
2037
2165
  # 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, nil]
2166
+ # @return [String]
2039
2167
  attr_accessor :event_description
2040
2168
  # ID of the event.
2041
2169
  # @return [String]
@@ -2067,7 +2195,7 @@ module Seam
2067
2195
  # @return [String, nil]
2068
2196
  attr_accessor :connected_account_id
2069
2197
  # 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, nil]
2198
+ # @return [String]
2071
2199
  attr_accessor :event_description
2072
2200
  # ID of the event.
2073
2201
  # @return [String]
@@ -2099,7 +2227,7 @@ module Seam
2099
2227
  # @return [String, nil]
2100
2228
  attr_accessor :connected_account_id
2101
2229
  # 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, nil]
2230
+ # @return [String]
2103
2231
  attr_accessor :event_description
2104
2232
  # ID of the event.
2105
2233
  # @return [String]
@@ -2131,7 +2259,7 @@ module Seam
2131
2259
  # @return [String, nil]
2132
2260
  attr_accessor :connected_account_id
2133
2261
  # 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, nil]
2262
+ # @return [String]
2135
2263
  attr_accessor :event_description
2136
2264
  # ID of the event.
2137
2265
  # @return [String]
@@ -2163,7 +2291,7 @@ module Seam
2163
2291
  # @return [String, nil]
2164
2292
  attr_accessor :connected_account_id
2165
2293
  # 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, nil]
2294
+ # @return [String]
2167
2295
  attr_accessor :event_description
2168
2296
  # ID of the event.
2169
2297
  # @return [String]
@@ -2195,7 +2323,7 @@ module Seam
2195
2323
  # @return [String, nil]
2196
2324
  attr_accessor :connected_account_id
2197
2325
  # 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, nil]
2326
+ # @return [String]
2199
2327
  attr_accessor :event_description
2200
2328
  # ID of the event.
2201
2329
  # @return [String]
@@ -2227,7 +2355,7 @@ module Seam
2227
2355
  # @return [String, nil]
2228
2356
  attr_accessor :connected_account_id
2229
2357
  # 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, nil]
2358
+ # @return [String]
2231
2359
  attr_accessor :event_description
2232
2360
  # ID of the event.
2233
2361
  # @return [String]
@@ -2259,7 +2387,7 @@ module Seam
2259
2387
  # @return [String, nil]
2260
2388
  attr_accessor :connected_account_id
2261
2389
  # 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, nil]
2390
+ # @return [String]
2263
2391
  attr_accessor :event_description
2264
2392
  # ID of the event.
2265
2393
  # @return [String]
@@ -2291,7 +2419,7 @@ module Seam
2291
2419
  # @return [String, nil]
2292
2420
  attr_accessor :connected_account_id
2293
2421
  # 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, nil]
2422
+ # @return [String]
2295
2423
  attr_accessor :event_description
2296
2424
  # ID of the event.
2297
2425
  # @return [String]
@@ -2323,7 +2451,7 @@ module Seam
2323
2451
  # @return [String, nil]
2324
2452
  attr_accessor :connected_account_id
2325
2453
  # 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, nil]
2454
+ # @return [String]
2327
2455
  attr_accessor :event_description
2328
2456
  # ID of the event.
2329
2457
  # @return [String]
@@ -2349,7 +2477,7 @@ module Seam
2349
2477
  # @return [String]
2350
2478
  attr_accessor :client_session_id
2351
2479
  # 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, nil]
2480
+ # @return [String]
2353
2481
  attr_accessor :event_description
2354
2482
  # ID of the event.
2355
2483
  # @return [String]
@@ -2384,7 +2512,7 @@ module Seam
2384
2512
  # @return [String, nil]
2385
2513
  attr_accessor :customer_key
2386
2514
  # 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, nil]
2515
+ # @return [String]
2388
2516
  attr_accessor :event_description
2389
2517
  # ID of the event.
2390
2518
  # @return [String]
@@ -2416,46 +2544,14 @@ module Seam
2416
2544
  # @return [String]
2417
2545
  attr_accessor :connected_account_id
2418
2546
  # 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, nil]
2420
- attr_accessor :event_description
2421
- # ID of the event.
2422
- # @return [String]
2423
- attr_accessor :event_id
2424
- # @return [String]
2425
- # Known values:
2426
- # - `connected_account.created`
2427
- attr_accessor :event_type
2428
- # ID of the workspace associated with the event.
2429
- # @return [String]
2430
- attr_accessor :workspace_id
2431
- # Date and time at which the event was created.
2432
- # @return [Time]
2433
- date_accessor :created_at
2434
- # Date and time at which the event occurred.
2435
- # @return [Time]
2436
- date_accessor :occurred_at
2437
- end
2438
-
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
2547
  # @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
2548
  attr_accessor :event_description
2453
2549
  # ID of the event.
2454
2550
  # @return [String]
2455
2551
  attr_accessor :event_id
2456
2552
  # @return [String]
2457
2553
  # Known values:
2458
- # - `connected_account.successful_login`
2554
+ # - `connected_account.created`
2459
2555
  attr_accessor :event_type
2460
2556
  # ID of the workspace associated with the event.
2461
2557
  # @return [String]
@@ -2507,7 +2603,7 @@ module Seam
2507
2603
  # @return [String]
2508
2604
  attr_accessor :connected_account_id
2509
2605
  # 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, nil]
2606
+ # @return [String]
2511
2607
  attr_accessor :event_description
2512
2608
  # ID of the event.
2513
2609
  # @return [String]
@@ -2536,7 +2632,7 @@ module Seam
2536
2632
  # @return [String]
2537
2633
  attr_accessor :connected_account_id
2538
2634
  # 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, nil]
2635
+ # @return [String]
2540
2636
  attr_accessor :event_description
2541
2637
  # ID of the event.
2542
2638
  # @return [String]
@@ -2568,7 +2664,7 @@ module Seam
2568
2664
  # @return [String, nil]
2569
2665
  attr_accessor :customer_key
2570
2666
  # 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, nil]
2667
+ # @return [String]
2572
2668
  attr_accessor :event_description
2573
2669
  # ID of the event.
2574
2670
  # @return [String]
@@ -2597,7 +2693,7 @@ module Seam
2597
2693
  # @return [String]
2598
2694
  attr_accessor :connected_account_id
2599
2695
  # 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, nil]
2696
+ # @return [String]
2601
2697
  attr_accessor :event_description
2602
2698
  # ID of the event.
2603
2699
  # @return [String]
@@ -2656,7 +2752,7 @@ module Seam
2656
2752
  # @return [String]
2657
2753
  attr_accessor :connected_account_id
2658
2754
  # 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, nil]
2755
+ # @return [String]
2660
2756
  attr_accessor :event_description
2661
2757
  # ID of the event.
2662
2758
  # @return [String]
@@ -2691,7 +2787,7 @@ module Seam
2691
2787
  # @return [String, nil]
2692
2788
  attr_accessor :device_id
2693
2789
  # 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, nil]
2790
+ # @return [String]
2695
2791
  attr_accessor :event_description
2696
2792
  # ID of the event.
2697
2793
  # @return [String]
@@ -2729,7 +2825,7 @@ module Seam
2729
2825
  # @return [String, nil]
2730
2826
  attr_accessor :device_id
2731
2827
  # 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, nil]
2828
+ # @return [String]
2733
2829
  attr_accessor :event_description
2734
2830
  # ID of the event.
2735
2831
  # @return [String]
@@ -2767,7 +2863,7 @@ module Seam
2767
2863
  # @return [String, nil]
2768
2864
  attr_accessor :device_id
2769
2865
  # 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, nil]
2866
+ # @return [String]
2771
2867
  attr_accessor :event_description
2772
2868
  # ID of the event.
2773
2869
  # @return [String]
@@ -2805,7 +2901,7 @@ module Seam
2805
2901
  # @return [String, nil]
2806
2902
  attr_accessor :device_id
2807
2903
  # 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, nil]
2904
+ # @return [String]
2809
2905
  attr_accessor :event_description
2810
2906
  # ID of the event.
2811
2907
  # @return [String]
@@ -2843,7 +2939,7 @@ module Seam
2843
2939
  # @return [String, nil]
2844
2940
  attr_accessor :device_id
2845
2941
  # 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, nil]
2942
+ # @return [String]
2847
2943
  attr_accessor :event_description
2848
2944
  # ID of the event.
2849
2945
  # @return [String]
@@ -2881,7 +2977,7 @@ module Seam
2881
2977
  # @return [String, nil]
2882
2978
  attr_accessor :device_id
2883
2979
  # 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, nil]
2980
+ # @return [String]
2885
2981
  attr_accessor :event_description
2886
2982
  # ID of the event.
2887
2983
  # @return [String]
@@ -2919,7 +3015,7 @@ module Seam
2919
3015
  # @return [String, nil]
2920
3016
  attr_accessor :device_id
2921
3017
  # 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, nil]
3018
+ # @return [String]
2923
3019
  attr_accessor :event_description
2924
3020
  # ID of the event.
2925
3021
  # @return [String]
@@ -2957,7 +3053,7 @@ module Seam
2957
3053
  # @return [String, nil]
2958
3054
  attr_accessor :device_id
2959
3055
  # 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, nil]
3056
+ # @return [String]
2961
3057
  attr_accessor :event_description
2962
3058
  # ID of the event.
2963
3059
  # @return [String]
@@ -2995,7 +3091,7 @@ module Seam
2995
3091
  # @return [String, nil]
2996
3092
  attr_accessor :customer_key
2997
3093
  # 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, nil]
3094
+ # @return [String]
2999
3095
  attr_accessor :event_description
3000
3096
  # ID of the event.
3001
3097
  # @return [String]
@@ -3021,7 +3117,7 @@ module Seam
3021
3117
  # @return [String]
3022
3118
  attr_accessor :connect_webview_id
3023
3119
  # 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, nil]
3120
+ # @return [String]
3025
3121
  attr_accessor :event_description
3026
3122
  # ID of the event.
3027
3123
  # @return [String]
@@ -3059,7 +3155,7 @@ module Seam
3059
3155
  # @return [String]
3060
3156
  attr_accessor :device_id
3061
3157
  # 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, nil]
3158
+ # @return [String]
3063
3159
  attr_accessor :event_description
3064
3160
  # ID of the event.
3065
3161
  # @return [String]
@@ -3097,7 +3193,7 @@ module Seam
3097
3193
  # @return [String]
3098
3194
  attr_accessor :device_id
3099
3195
  # 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, nil]
3196
+ # @return [String]
3101
3197
  attr_accessor :event_description
3102
3198
  # ID of the event.
3103
3199
  # @return [String]
@@ -3135,7 +3231,7 @@ module Seam
3135
3231
  # @return [String]
3136
3232
  attr_accessor :device_id
3137
3233
  # 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, nil]
3234
+ # @return [String]
3139
3235
  attr_accessor :event_description
3140
3236
  # ID of the event.
3141
3237
  # @return [String]
@@ -3173,7 +3269,7 @@ module Seam
3173
3269
  # @return [String]
3174
3270
  attr_accessor :device_id
3175
3271
  # 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, nil]
3272
+ # @return [String]
3177
3273
  attr_accessor :event_description
3178
3274
  # ID of the event.
3179
3275
  # @return [String]
@@ -3211,7 +3307,7 @@ module Seam
3211
3307
  # @return [String]
3212
3308
  attr_accessor :device_id
3213
3309
  # 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, nil]
3310
+ # @return [String]
3215
3311
  attr_accessor :event_description
3216
3312
  # ID of the event.
3217
3313
  # @return [String]
@@ -3314,9 +3410,10 @@ module Seam
3314
3410
  # - `account_disconnected`
3315
3411
  # - `hub_disconnected`
3316
3412
  # - `device_disconnected`
3413
+ # - `bridge_disconnected`
3317
3414
  attr_accessor :error_code
3318
3415
  # 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, nil]
3416
+ # @return [String]
3320
3417
  attr_accessor :event_description
3321
3418
  # ID of the event.
3322
3419
  # @return [String]
@@ -3419,9 +3516,10 @@ module Seam
3419
3516
  # - `account_disconnected`
3420
3517
  # - `hub_disconnected`
3421
3518
  # - `device_disconnected`
3519
+ # - `bridge_disconnected`
3422
3520
  attr_accessor :error_code
3423
3521
  # 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, nil]
3522
+ # @return [String]
3425
3523
  attr_accessor :event_description
3426
3524
  # ID of the event.
3427
3525
  # @return [String]
@@ -3459,7 +3557,7 @@ module Seam
3459
3557
  # @return [String]
3460
3558
  attr_accessor :device_id
3461
3559
  # 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, nil]
3560
+ # @return [String]
3463
3561
  attr_accessor :event_description
3464
3562
  # ID of the event.
3465
3563
  # @return [String]
@@ -3468,6 +3566,12 @@ module Seam
3468
3566
  # Known values:
3469
3567
  # - `device.tampered`
3470
3568
  attr_accessor :event_type
3569
+ # Whether the device casing was tampered with at the time of the event. Omitted when the provider did not report this state.
3570
+ # @return [Boolean, nil]
3571
+ attr_accessor :is_casing_tampered_with
3572
+ # Whether the device was detached from its mounting plate at the time of the event. Omitted when the provider did not report this state.
3573
+ # @return [Boolean, nil]
3574
+ attr_accessor :is_detached_from_mounting_plate
3471
3575
  # ID of the workspace associated with the event.
3472
3576
  # @return [String]
3473
3577
  attr_accessor :workspace_id
@@ -3484,10 +3588,6 @@ module Seam
3484
3588
  # 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
3589
  # @return [Float, nil]
3486
3590
  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
3591
  # Custom metadata of the connected account, present when connected_account_id is provided.
3492
3592
  # @return [Hash{String => String, Boolean}, nil]
3493
3593
  attr_accessor :connected_account_custom_metadata
@@ -3507,7 +3607,7 @@ module Seam
3507
3607
  # @return [String]
3508
3608
  attr_accessor :device_id
3509
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.
3510
- # @return [String, nil]
3610
+ # @return [String]
3511
3611
  attr_accessor :event_description
3512
3612
  # ID of the event.
3513
3613
  # @return [String]
@@ -3556,7 +3656,7 @@ module Seam
3556
3656
  # @return [String]
3557
3657
  attr_accessor :device_id
3558
3658
  # 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, nil]
3659
+ # @return [String]
3560
3660
  attr_accessor :event_description
3561
3661
  # ID of the event.
3562
3662
  # @return [String]
@@ -3594,7 +3694,7 @@ module Seam
3594
3694
  # @return [String]
3595
3695
  attr_accessor :device_id
3596
3696
  # 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, nil]
3697
+ # @return [String]
3598
3698
  attr_accessor :event_description
3599
3699
  # ID of the event.
3600
3700
  # @return [String]
@@ -3635,7 +3735,7 @@ module Seam
3635
3735
  # @return [String, nil]
3636
3736
  attr_accessor :device_name
3637
3737
  # 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, nil]
3738
+ # @return [String]
3639
3739
  attr_accessor :event_description
3640
3740
  # ID of the event.
3641
3741
  # @return [String]
@@ -3673,7 +3773,7 @@ module Seam
3673
3773
  # @return [String]
3674
3774
  attr_accessor :device_id
3675
3775
  # 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, nil]
3776
+ # @return [String]
3677
3777
  attr_accessor :event_description
3678
3778
  # ID of the event.
3679
3779
  # @return [String]
@@ -3711,7 +3811,7 @@ module Seam
3711
3811
  # @return [String]
3712
3812
  attr_accessor :device_id
3713
3813
  # 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, nil]
3814
+ # @return [String]
3715
3815
  attr_accessor :event_description
3716
3816
  # ID of the event.
3717
3817
  # @return [String]
@@ -3749,7 +3849,7 @@ module Seam
3749
3849
  # @return [String]
3750
3850
  attr_accessor :device_id
3751
3851
  # 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, nil]
3852
+ # @return [String]
3753
3853
  attr_accessor :event_description
3754
3854
  # ID of the event.
3755
3855
  # @return [String]
@@ -3787,7 +3887,7 @@ module Seam
3787
3887
  # @return [String]
3788
3888
  attr_accessor :device_id
3789
3889
  # 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, nil]
3890
+ # @return [String]
3791
3891
  attr_accessor :event_description
3792
3892
  # ID of the event.
3793
3893
  # @return [String]
@@ -3885,7 +3985,7 @@ module Seam
3885
3985
  # @return [String]
3886
3986
  attr_accessor :device_id
3887
3987
  # 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, nil]
3988
+ # @return [String]
3889
3989
  attr_accessor :event_description
3890
3990
  # ID of the event.
3891
3991
  # @return [String]
@@ -3923,7 +4023,7 @@ module Seam
3923
4023
  # @return [String]
3924
4024
  attr_accessor :device_id
3925
4025
  # 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, nil]
4026
+ # @return [String]
3927
4027
  attr_accessor :event_description
3928
4028
  # ID of the event.
3929
4029
  # @return [String]
@@ -4021,7 +4121,7 @@ module Seam
4021
4121
  # @return [String]
4022
4122
  attr_accessor :device_id
4023
4123
  # 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, nil]
4124
+ # @return [String]
4025
4125
  attr_accessor :event_description
4026
4126
  # ID of the event.
4027
4127
  # @return [String]
@@ -4059,7 +4159,7 @@ module Seam
4059
4159
  # @return [String]
4060
4160
  attr_accessor :device_id
4061
4161
  # 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, nil]
4162
+ # @return [String]
4063
4163
  attr_accessor :event_description
4064
4164
  # ID of the event.
4065
4165
  # @return [String]
@@ -4097,7 +4197,7 @@ module Seam
4097
4197
  # @return [String]
4098
4198
  attr_accessor :device_id
4099
4199
  # 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, nil]
4200
+ # @return [String]
4101
4201
  attr_accessor :event_description
4102
4202
  # ID of the event.
4103
4203
  # @return [String]
@@ -4195,7 +4295,7 @@ module Seam
4195
4295
  # @return [String]
4196
4296
  attr_accessor :device_id
4197
4297
  # 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, nil]
4298
+ # @return [String]
4199
4299
  attr_accessor :event_description
4200
4300
  # ID of the event.
4201
4301
  # @return [String]
@@ -4233,7 +4333,7 @@ module Seam
4233
4333
  # @return [String]
4234
4334
  attr_accessor :device_id
4235
4335
  # 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, nil]
4336
+ # @return [String]
4237
4337
  attr_accessor :event_description
4238
4338
  # ID of the event.
4239
4339
  # @return [String]
@@ -4301,7 +4401,7 @@ module Seam
4301
4401
  # @return [String]
4302
4402
  attr_accessor :device_id
4303
4403
  # 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, nil]
4404
+ # @return [String]
4305
4405
  attr_accessor :event_description
4306
4406
  # ID of the event.
4307
4407
  # @return [String]
@@ -4368,7 +4468,7 @@ module Seam
4368
4468
  # @return [String, nil]
4369
4469
  attr_accessor :device_id
4370
4470
  # 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, nil]
4471
+ # @return [String]
4372
4472
  attr_accessor :event_description
4373
4473
  # ID of the event.
4374
4474
  # @return [String]
@@ -4446,7 +4546,7 @@ module Seam
4446
4546
  # @return [String, nil]
4447
4547
  attr_accessor :device_id
4448
4548
  # 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, nil]
4549
+ # @return [String]
4450
4550
  attr_accessor :event_description
4451
4551
  # ID of the event.
4452
4552
  # @return [String]
@@ -4466,6 +4566,120 @@ module Seam
4466
4566
  date_accessor :occurred_at
4467
4567
  end
4468
4568
 
4569
+ # The [lock](https://www.seam.co/docs/low-level-apis/smart-locks) reported that its bolt is jammed.
4570
+ class LockJammed < SeamEvent
4571
+ # Custom metadata of the connected account, present when connected_account_id is provided.
4572
+ # @return [Hash{String => String, Boolean}, nil]
4573
+ attr_accessor :connected_account_custom_metadata
4574
+ # ID of the connected account associated with the event.
4575
+ # @return [String]
4576
+ attr_accessor :connected_account_id
4577
+ # The customer key associated with the device, if any.
4578
+ # @return [String, nil]
4579
+ attr_accessor :customer_key
4580
+ # Custom metadata of the device, present when device_id is provided.
4581
+ # @return [Hash{String => String, Boolean}, nil]
4582
+ attr_accessor :device_custom_metadata
4583
+ # ID of the affected device.
4584
+ # @return [String]
4585
+ attr_accessor :device_id
4586
+ # 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.
4587
+ # @return [String]
4588
+ attr_accessor :event_description
4589
+ # ID of the event.
4590
+ # @return [String]
4591
+ attr_accessor :event_id
4592
+ # @return [String]
4593
+ # Known values:
4594
+ # - `lock.jammed`
4595
+ attr_accessor :event_type
4596
+ # ID of the workspace associated with the event.
4597
+ # @return [String]
4598
+ attr_accessor :workspace_id
4599
+ # Date and time at which the event was created.
4600
+ # @return [Time]
4601
+ date_accessor :created_at
4602
+ # Date and time at which the event occurred.
4603
+ # @return [Time]
4604
+ date_accessor :occurred_at
4605
+ end
4606
+
4607
+ # The door sensor of the [lock](https://www.seam.co/docs/low-level-apis/smart-locks) reported that the door was opened.
4608
+ class LockDoorOpened < SeamEvent
4609
+ # Custom metadata of the connected account, present when connected_account_id is provided.
4610
+ # @return [Hash{String => String, Boolean}, nil]
4611
+ attr_accessor :connected_account_custom_metadata
4612
+ # ID of the connected account associated with the event.
4613
+ # @return [String]
4614
+ attr_accessor :connected_account_id
4615
+ # The customer key associated with the device, if any.
4616
+ # @return [String, nil]
4617
+ attr_accessor :customer_key
4618
+ # Custom metadata of the device, present when device_id is provided.
4619
+ # @return [Hash{String => String, Boolean}, nil]
4620
+ attr_accessor :device_custom_metadata
4621
+ # ID of the affected device.
4622
+ # @return [String]
4623
+ attr_accessor :device_id
4624
+ # 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.
4625
+ # @return [String]
4626
+ attr_accessor :event_description
4627
+ # ID of the event.
4628
+ # @return [String]
4629
+ attr_accessor :event_id
4630
+ # @return [String]
4631
+ # Known values:
4632
+ # - `lock.door_opened`
4633
+ attr_accessor :event_type
4634
+ # ID of the workspace associated with the event.
4635
+ # @return [String]
4636
+ attr_accessor :workspace_id
4637
+ # Date and time at which the event was created.
4638
+ # @return [Time]
4639
+ date_accessor :created_at
4640
+ # Date and time at which the event occurred.
4641
+ # @return [Time]
4642
+ date_accessor :occurred_at
4643
+ end
4644
+
4645
+ # The door sensor of the [lock](https://www.seam.co/docs/low-level-apis/smart-locks) reported that the door was closed.
4646
+ class LockDoorClosed < SeamEvent
4647
+ # Custom metadata of the connected account, present when connected_account_id is provided.
4648
+ # @return [Hash{String => String, Boolean}, nil]
4649
+ attr_accessor :connected_account_custom_metadata
4650
+ # ID of the connected account associated with the event.
4651
+ # @return [String]
4652
+ attr_accessor :connected_account_id
4653
+ # The customer key associated with the device, if any.
4654
+ # @return [String, nil]
4655
+ attr_accessor :customer_key
4656
+ # Custom metadata of the device, present when device_id is provided.
4657
+ # @return [Hash{String => String, Boolean}, nil]
4658
+ attr_accessor :device_custom_metadata
4659
+ # ID of the affected device.
4660
+ # @return [String]
4661
+ attr_accessor :device_id
4662
+ # 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.
4663
+ # @return [String]
4664
+ attr_accessor :event_description
4665
+ # ID of the event.
4666
+ # @return [String]
4667
+ attr_accessor :event_id
4668
+ # @return [String]
4669
+ # Known values:
4670
+ # - `lock.door_closed`
4671
+ attr_accessor :event_type
4672
+ # ID of the workspace associated with the event.
4673
+ # @return [String]
4674
+ attr_accessor :workspace_id
4675
+ # Date and time at which the event was created.
4676
+ # @return [Time]
4677
+ date_accessor :created_at
4678
+ # Date and time at which the event occurred.
4679
+ # @return [Time]
4680
+ date_accessor :occurred_at
4681
+ end
4682
+
4469
4683
  # A thermostat [climate preset](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-climate-presets) was activated.
4470
4684
  class ThermostatClimatePresetActivated < SeamEvent
4471
4685
  # Key of the climate preset that was activated.
@@ -4487,7 +4701,7 @@ module Seam
4487
4701
  # @return [String]
4488
4702
  attr_accessor :device_id
4489
4703
  # 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, nil]
4704
+ # @return [String]
4491
4705
  attr_accessor :event_description
4492
4706
  # ID of the event.
4493
4707
  # @return [String]
@@ -4537,7 +4751,7 @@ module Seam
4537
4751
  # @return [String]
4538
4752
  attr_accessor :device_id
4539
4753
  # 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, nil]
4754
+ # @return [String]
4541
4755
  attr_accessor :event_description
4542
4756
  # ID of the event.
4543
4757
  # @return [String]
@@ -4603,7 +4817,7 @@ module Seam
4603
4817
  # @return [String]
4604
4818
  attr_accessor :device_id
4605
4819
  # 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, nil]
4820
+ # @return [String]
4607
4821
  attr_accessor :event_description
4608
4822
  # ID of the event.
4609
4823
  # @return [String]
@@ -4659,7 +4873,7 @@ module Seam
4659
4873
  # @return [String]
4660
4874
  attr_accessor :device_id
4661
4875
  # 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, nil]
4876
+ # @return [String]
4663
4877
  attr_accessor :event_description
4664
4878
  # ID of the event.
4665
4879
  # @return [String]
@@ -4721,7 +4935,7 @@ module Seam
4721
4935
  # @return [String]
4722
4936
  attr_accessor :device_id
4723
4937
  # 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, nil]
4938
+ # @return [String]
4725
4939
  attr_accessor :event_description
4726
4940
  # ID of the event.
4727
4941
  # @return [String]
@@ -4765,7 +4979,7 @@ module Seam
4765
4979
  # @return [String]
4766
4980
  attr_accessor :device_id
4767
4981
  # 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, nil]
4982
+ # @return [String]
4769
4983
  attr_accessor :event_description
4770
4984
  # ID of the event.
4771
4985
  # @return [String]
@@ -4812,7 +5026,7 @@ module Seam
4812
5026
  # @return [String]
4813
5027
  attr_accessor :device_name
4814
5028
  # 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, nil]
5029
+ # @return [String]
4816
5030
  attr_accessor :event_description
4817
5031
  # ID of the event.
4818
5032
  # @return [String]
@@ -4832,13 +5046,8 @@ module Seam
4832
5046
  date_accessor :occurred_at
4833
5047
  end
4834
5048
 
4835
- # A camera was activated, for example, by motion detection.
5049
+ # 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
5050
  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
5051
  # Custom metadata of the connected account, present when connected_account_id is provided.
4843
5052
  # @return [Hash{String => String, Boolean}, nil]
4844
5053
  attr_accessor :connected_account_custom_metadata
@@ -4855,7 +5064,7 @@ module Seam
4855
5064
  # @return [String]
4856
5065
  attr_accessor :device_id
4857
5066
  # 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, nil]
5067
+ # @return [String]
4859
5068
  attr_accessor :event_description
4860
5069
  # ID of the event.
4861
5070
  # @return [String]
@@ -4867,6 +5076,9 @@ module Seam
4867
5076
  # URL to a thumbnail image captured at the time of activation.
4868
5077
  # @return [String, nil]
4869
5078
  attr_accessor :image_url
5079
+ # Whether motion detection activated the camera, if known.
5080
+ # @return [Boolean, nil]
5081
+ attr_accessor :is_motion_detected
4870
5082
  # 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
5083
  # @return [Array<String>]
4872
5084
  attr_accessor :media_ids
@@ -4892,7 +5104,7 @@ module Seam
4892
5104
  date_accessor :occurred_at
4893
5105
  end
4894
5106
 
4895
- # A doorbell button was pressed on a device.
5107
+ # 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
5108
  class DeviceDoorbellRang < SeamEvent
4897
5109
  # Custom metadata of the connected account, present when connected_account_id is provided.
4898
5110
  # @return [Hash{String => String, Boolean}, nil]
@@ -4910,7 +5122,7 @@ module Seam
4910
5122
  # @return [String]
4911
5123
  attr_accessor :device_id
4912
5124
  # 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, nil]
5125
+ # @return [String]
4914
5126
  attr_accessor :event_description
4915
5127
  # ID of the event.
4916
5128
  # @return [String]
@@ -4948,7 +5160,7 @@ module Seam
4948
5160
  # @return [String]
4949
5161
  attr_accessor :device_id
4950
5162
  # 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, nil]
5163
+ # @return [String]
4952
5164
  attr_accessor :event_description
4953
5165
  # ID of the event.
4954
5166
  # @return [String]
@@ -4977,7 +5189,7 @@ module Seam
4977
5189
  # @return [Array<String>]
4978
5190
  attr_accessor :device_ids
4979
5191
  # 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, nil]
5192
+ # @return [String]
4981
5193
  attr_accessor :event_description
4982
5194
  # ID of the event.
4983
5195
  # @return [String]
@@ -5013,7 +5225,7 @@ module Seam
5013
5225
  # @return [Array<String>]
5014
5226
  attr_accessor :device_ids
5015
5227
  # 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, nil]
5228
+ # @return [String]
5017
5229
  attr_accessor :event_description
5018
5230
  # ID of the event.
5019
5231
  # @return [String]
@@ -5049,7 +5261,7 @@ module Seam
5049
5261
  # @return [Array<String>]
5050
5262
  attr_accessor :device_ids
5051
5263
  # 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, nil]
5264
+ # @return [String]
5053
5265
  attr_accessor :event_description
5054
5266
  # ID of the event.
5055
5267
  # @return [String]
@@ -5184,12 +5396,18 @@ module Seam
5184
5396
  # - `lock.locked`
5185
5397
  # - `lock.unlocked`
5186
5398
  # - `lock.access_denied`
5399
+ # - `lock.jammed`
5400
+ # - `lock.door_opened`
5401
+ # - `lock.door_closed`
5187
5402
  # - `thermostat.climate_preset_activated`
5188
5403
  # - `thermostat.manually_adjusted`
5189
5404
  # - `thermostat.temperature_threshold_exceeded`
5190
5405
  # - `thermostat.temperature_threshold_no_longer_exceeded`
5191
5406
  # - `thermostat.temperature_reached_set_point`
5192
5407
  # - `thermostat.temperature_changed`
5408
+ # - `pool.temperature_changed`
5409
+ # - `pool.temperature_reached_set_point`
5410
+ # - `pool.manually_adjusted`
5193
5411
  # - `device.name_changed`
5194
5412
  # - `camera.activated`
5195
5413
  # - `device.doorbell_rang`
@@ -5223,6 +5441,7 @@ module Seam
5223
5441
  "access_code.removed_from_device" => AccessCodeRemovedFromDevice,
5224
5442
  "access_code.delay_in_setting_on_device" => AccessCodeDelayInSettingOnDevice,
5225
5443
  "access_code.failed_to_set_on_device" => AccessCodeFailedToSetOnDevice,
5444
+ "access_code.failed_to_delete" => AccessCodeFailedToDelete,
5226
5445
  "access_code.deleted" => AccessCodeDeleted,
5227
5446
  "access_code.delay_in_removing_from_device" => AccessCodeDelayInRemovingFromDevice,
5228
5447
  "access_code.failed_to_remove_from_device" => AccessCodeFailedToRemoveFromDevice,
@@ -5265,7 +5484,6 @@ module Seam
5265
5484
  "client_session.deleted" => ClientSessionDeleted,
5266
5485
  "connected_account.connected" => ConnectedAccountConnected,
5267
5486
  "connected_account.created" => ConnectedAccountCreated,
5268
- "connected_account.successful_login" => ConnectedAccountSuccessfulLogin,
5269
5487
  "connected_account.disconnected" => ConnectedAccountDisconnected,
5270
5488
  "connected_account.completed_first_sync" => ConnectedAccountCompletedFirstSync,
5271
5489
  "connected_account.deleted" => ConnectedAccountDeleted,
@@ -5307,6 +5525,9 @@ module Seam
5307
5525
  "lock.locked" => LockLocked,
5308
5526
  "lock.unlocked" => LockUnlocked,
5309
5527
  "lock.access_denied" => LockAccessDenied,
5528
+ "lock.jammed" => LockJammed,
5529
+ "lock.door_opened" => LockDoorOpened,
5530
+ "lock.door_closed" => LockDoorClosed,
5310
5531
  "thermostat.climate_preset_activated" => ThermostatClimatePresetActivated,
5311
5532
  "thermostat.manually_adjusted" => ThermostatManuallyAdjusted,
5312
5533
  "thermostat.temperature_threshold_exceeded" => ThermostatTemperatureThresholdExceeded,