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.
Files changed (84) 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 +50 -5
  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 +77 -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 +362 -311
  30. data/lib/seam/resources/device_provider.rb +12 -13
  31. data/lib/seam/resources/event.rb +527 -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/thermostat_schedule.rb +37 -0
  36. data/lib/seam/resources/unmanaged_access_code.rb +48 -6
  37. data/lib/seam/resources/unmanaged_access_grant.rb +38 -4
  38. data/lib/seam/resources/unmanaged_access_method.rb +18 -1
  39. data/lib/seam/resources/unmanaged_device.rb +110 -38
  40. data/lib/seam/resources/workspace.rb +0 -4
  41. data/lib/seam/routes/access_codes.rb +19 -23
  42. data/lib/seam/routes/access_codes_simulate.rb +1 -1
  43. data/lib/seam/routes/access_codes_unmanaged.rb +7 -5
  44. data/lib/seam/routes/access_grants.rb +24 -24
  45. data/lib/seam/routes/access_grants_unmanaged.rb +5 -4
  46. data/lib/seam/routes/access_methods.rb +20 -14
  47. data/lib/seam/routes/access_methods_unmanaged.rb +2 -2
  48. data/lib/seam/routes/acs_access_groups.rb +4 -4
  49. data/lib/seam/routes/acs_credentials.rb +4 -4
  50. data/lib/seam/routes/acs_encoders.rb +5 -5
  51. data/lib/seam/routes/acs_entrances.rb +6 -8
  52. data/lib/seam/routes/acs_systems.rb +3 -3
  53. data/lib/seam/routes/acs_users.rb +44 -34
  54. data/lib/seam/routes/action_attempts.rb +6 -5
  55. data/lib/seam/routes/cameras_live_views.rb +5 -5
  56. data/lib/seam/routes/client_sessions.rb +20 -21
  57. data/lib/seam/routes/connect_webviews.rb +3 -3
  58. data/lib/seam/routes/connected_accounts.rb +7 -5
  59. data/lib/seam/routes/customers.rb +4 -5
  60. data/lib/seam/routes/devices.rb +12 -10
  61. data/lib/seam/routes/devices_unmanaged.rb +7 -5
  62. data/lib/seam/routes/events.rb +16 -12
  63. data/lib/seam/routes/instant_keys.rb +7 -5
  64. data/lib/seam/routes/locks.rb +10 -8
  65. data/lib/seam/routes/locks_simulate.rb +2 -2
  66. data/lib/seam/routes/media.rb +1 -1
  67. data/lib/seam/routes/noise_sensors.rb +1 -1
  68. data/lib/seam/routes/noise_sensors_noise_thresholds.rb +9 -3
  69. data/lib/seam/routes/phones.rb +2 -2
  70. data/lib/seam/routes/phones_simulate.rb +1 -1
  71. data/lib/seam/routes/spaces.rb +18 -13
  72. data/lib/seam/routes/thermostats.rb +14 -18
  73. data/lib/seam/routes/thermostats_daily_programs.rb +2 -2
  74. data/lib/seam/routes/thermostats_schedules.rb +3 -3
  75. data/lib/seam/routes/user_identities.rb +24 -18
  76. data/lib/seam/routes/user_identities_unmanaged.rb +2 -2
  77. data/lib/seam/routes/webhooks.rb +3 -3
  78. data/lib/seam/routes/workspaces.rb +6 -16
  79. data/lib/seam/url_search_params_serializer.rb +2 -1
  80. data/lib/seam/version.rb +1 -1
  81. data/lib/seam/wait_for_action_attempt.rb +3 -1
  82. data/lib/seam/webhook.rb +25 -5
  83. data/lib/seam.rb +12 -6
  84. metadata +5 -2
@@ -54,6 +54,9 @@ module Seam
54
54
  # - `pending`
55
55
  # - `error`
56
56
  attr_accessor :status
57
+ # Date and time at which the action attempt was created.
58
+ # @return [Time]
59
+ date_accessor :created_at
57
60
  end
58
61
 
59
62
  # Unlocking a door is pending.
@@ -97,6 +100,9 @@ module Seam
97
100
  # - `pending`
98
101
  # - `error`
99
102
  attr_accessor :status
103
+ # Date and time at which the action attempt was created.
104
+ # @return [Time]
105
+ date_accessor :created_at
100
106
  end
101
107
 
102
108
  # Reading credential data from the physical encoder is pending.
@@ -263,6 +269,7 @@ module Seam
263
269
  # - `unknown_issue_with_acs_credential`
264
270
  # - `needs_to_be_reissued`
265
271
  # - `requested_code_unavailable`
272
+ # - `schedule_rounded_up`
266
273
  attr_accessor :warning_code
267
274
  # The PIN code that was assigned instead.
268
275
  # @return [String, nil]
@@ -429,6 +436,9 @@ module Seam
429
436
  # - `pending`
430
437
  # - `error`
431
438
  attr_accessor :status
439
+ # Date and time at which the action attempt was created.
440
+ # @return [Time]
441
+ date_accessor :created_at
432
442
  end
433
443
 
434
444
  # Encoding credential data from the physical encoder onto a card is pending.
@@ -535,6 +545,7 @@ module Seam
535
545
  # - `unknown_issue_with_acs_credential`
536
546
  # - `needs_to_be_reissued`
537
547
  # - `requested_code_unavailable`
548
+ # - `schedule_rounded_up`
538
549
  attr_accessor :warning_code
539
550
  # The PIN code that was assigned instead.
540
551
  # @return [String, nil]
@@ -678,6 +689,9 @@ module Seam
678
689
  # - `pending`
679
690
  # - `error`
680
691
  attr_accessor :status
692
+ # Date and time at which the action attempt was created.
693
+ # @return [Time]
694
+ date_accessor :created_at
681
695
  end
682
696
 
683
697
  # Scanning a physical card and assigning the credential is pending.
@@ -777,6 +791,7 @@ module Seam
777
791
  # - `unknown_issue_with_acs_credential`
778
792
  # - `needs_to_be_reissued`
779
793
  # - `requested_code_unavailable`
794
+ # - `schedule_rounded_up`
780
795
  attr_accessor :warning_code
781
796
  # The PIN code that was assigned instead.
782
797
  # @return [String, nil]
@@ -921,6 +936,9 @@ module Seam
921
936
  # - `pending`
922
937
  # - `error`
923
938
  attr_accessor :status
939
+ # Date and time at which the action attempt was created.
940
+ # @return [Time]
941
+ date_accessor :created_at
924
942
  end
925
943
 
926
944
  # Assigning a credential to an access method is pending.
@@ -1009,6 +1027,7 @@ module Seam
1009
1027
  # - `user_identity_missing_email_address`
1010
1028
  # - `user_identity_missing_phone_number`
1011
1029
  # - `requested_code_unavailable`
1030
+ # - `schedule_rounded_up`
1012
1031
  attr_accessor :warning_code
1013
1032
  # ID of the original access method from which this backup access method was split, if applicable.
1014
1033
  # @return [String, nil]
@@ -1111,6 +1130,9 @@ module Seam
1111
1130
  # - `pending`
1112
1131
  # - `error`
1113
1132
  attr_accessor :status
1133
+ # Date and time at which the action attempt was created.
1134
+ # @return [Time]
1135
+ date_accessor :created_at
1114
1136
  end
1115
1137
 
1116
1138
  # Resetting a sandbox workspace is pending.
@@ -1151,6 +1173,9 @@ module Seam
1151
1173
  # - `pending`
1152
1174
  # - `error`
1153
1175
  attr_accessor :status
1176
+ # Date and time at which the action attempt was created.
1177
+ # @return [Time]
1178
+ date_accessor :created_at
1154
1179
  end
1155
1180
 
1156
1181
  # Setting the fan mode is pending.
@@ -1191,6 +1216,9 @@ module Seam
1191
1216
  # - `pending`
1192
1217
  # - `error`
1193
1218
  attr_accessor :status
1219
+ # Date and time at which the action attempt was created.
1220
+ # @return [Time]
1221
+ date_accessor :created_at
1194
1222
  end
1195
1223
 
1196
1224
  # Setting the HVAC mode is pending.
@@ -1231,6 +1259,9 @@ module Seam
1231
1259
  # - `pending`
1232
1260
  # - `error`
1233
1261
  attr_accessor :status
1262
+ # Date and time at which the action attempt was created.
1263
+ # @return [Time]
1264
+ date_accessor :created_at
1234
1265
  end
1235
1266
 
1236
1267
  # Activating a climate preset is pending.
@@ -1271,6 +1302,9 @@ module Seam
1271
1302
  # - `pending`
1272
1303
  # - `error`
1273
1304
  attr_accessor :status
1305
+ # Date and time at which the action attempt was created.
1306
+ # @return [Time]
1307
+ date_accessor :created_at
1274
1308
  end
1275
1309
 
1276
1310
  # Activating the weekly program is pending.
@@ -1311,6 +1345,9 @@ module Seam
1311
1345
  # - `pending`
1312
1346
  # - `error`
1313
1347
  attr_accessor :status
1348
+ # Date and time at which the action attempt was created.
1349
+ # @return [Time]
1350
+ date_accessor :created_at
1314
1351
  end
1315
1352
 
1316
1353
  # Simulating a keypad code entry is pending.
@@ -1351,6 +1388,9 @@ module Seam
1351
1388
  # - `pending`
1352
1389
  # - `error`
1353
1390
  attr_accessor :status
1391
+ # Date and time at which the action attempt was created.
1392
+ # @return [Time]
1393
+ date_accessor :created_at
1354
1394
  end
1355
1395
 
1356
1396
  # Simulating a manual lock action using a keypad is pending.
@@ -1391,6 +1431,9 @@ module Seam
1391
1431
  # - `pending`
1392
1432
  # - `error`
1393
1433
  attr_accessor :status
1434
+ # Date and time at which the action attempt was created.
1435
+ # @return [Time]
1436
+ date_accessor :created_at
1394
1437
  end
1395
1438
 
1396
1439
  # Pushing thermostat weekly programs is pending.
@@ -1431,6 +1474,9 @@ module Seam
1431
1474
  # - `pending`
1432
1475
  # - `error`
1433
1476
  attr_accessor :status
1477
+ # Date and time at which the action attempt was created.
1478
+ # @return [Time]
1479
+ date_accessor :created_at
1434
1480
  end
1435
1481
 
1436
1482
  # Configuring the auto-lock is pending.
@@ -1471,6 +1517,9 @@ module Seam
1471
1517
  # - `pending`
1472
1518
  # - `error`
1473
1519
  attr_accessor :status
1520
+ # Date and time at which the action attempt was created.
1521
+ # @return [Time]
1522
+ date_accessor :created_at
1474
1523
  end
1475
1524
 
1476
1525
  # Converting an unmanaged access code to managed is pending.
@@ -1511,212 +1560,9 @@ module Seam
1511
1560
  # - `pending`
1512
1561
  # - `error`
1513
1562
  attr_accessor :status
1514
- end
1515
-
1516
- # Setting the speaker volume is pending.
1517
- class SetSpeakerVolume < ActionAttempt
1518
- class Error < BaseResource
1519
- # Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1520
- # @return [String]
1521
- attr_accessor :message
1522
- # Type of the error.
1523
- # @return [String]
1524
- attr_accessor :type
1525
- end
1526
-
1527
- class Result < BaseResource
1528
- end
1529
-
1530
- # Error associated with the action.
1531
- # @return [Error, nil]
1532
- # Only present when `status` is `error`; `nil` otherwise.
1533
- resource_accessor :error, Error
1534
- available_only_for_statuses :error, ["error"]
1535
- # Result of the action.
1536
- # @return [Result, nil]
1537
- # Only present when `status` is `success`; `nil` otherwise.
1538
- resource_accessor :result, Result
1539
- available_only_for_statuses :result, ["success"]
1540
- # ID of the action attempt.
1541
- # @return [String]
1542
- attr_accessor :action_attempt_id
1543
- # Action attempt to track the status of setting the volume on a speaker.
1544
- # @return [String]
1545
- # Known values:
1546
- # - `SET_SPEAKER_VOLUME`
1547
- attr_accessor :action_type
1548
- # @return [String]
1549
- # Known values:
1550
- # - `success`
1551
- # - `pending`
1552
- # - `error`
1553
- attr_accessor :status
1554
- end
1555
-
1556
- # Muting or unmuting the speaker is pending.
1557
- class SetSpeakerMute < ActionAttempt
1558
- class Error < BaseResource
1559
- # Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1560
- # @return [String]
1561
- attr_accessor :message
1562
- # Type of the error.
1563
- # @return [String]
1564
- attr_accessor :type
1565
- end
1566
-
1567
- class Result < BaseResource
1568
- end
1569
-
1570
- # Error associated with the action.
1571
- # @return [Error, nil]
1572
- # Only present when `status` is `error`; `nil` otherwise.
1573
- resource_accessor :error, Error
1574
- available_only_for_statuses :error, ["error"]
1575
- # Result of the action.
1576
- # @return [Result, nil]
1577
- # Only present when `status` is `success`; `nil` otherwise.
1578
- resource_accessor :result, Result
1579
- available_only_for_statuses :result, ["success"]
1580
- # ID of the action attempt.
1581
- # @return [String]
1582
- attr_accessor :action_attempt_id
1583
- # Action attempt to track the status of muting or unmuting a speaker.
1584
- # @return [String]
1585
- # Known values:
1586
- # - `SET_SPEAKER_MUTE`
1587
- attr_accessor :action_type
1588
- # @return [String]
1589
- # Known values:
1590
- # - `success`
1591
- # - `pending`
1592
- # - `error`
1593
- attr_accessor :status
1594
- end
1595
-
1596
- # Pausing playback on the speaker is pending.
1597
- class PauseSpeakerPlayback < ActionAttempt
1598
- class Error < BaseResource
1599
- # Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1600
- # @return [String]
1601
- attr_accessor :message
1602
- # Type of the error.
1603
- # @return [String]
1604
- attr_accessor :type
1605
- end
1606
-
1607
- class Result < BaseResource
1608
- # IDs of the speakers whose playback was paused, including speakers grouped with the requested speaker.
1609
- # @return [Array<String>]
1610
- attr_accessor :affected_device_ids
1611
- end
1612
-
1613
- # Error associated with the action.
1614
- # @return [Error, nil]
1615
- # Only present when `status` is `error`; `nil` otherwise.
1616
- resource_accessor :error, Error
1617
- available_only_for_statuses :error, ["error"]
1618
- # Result of the action.
1619
- # @return [Result, nil]
1620
- # Only present when `status` is `success`; `nil` otherwise.
1621
- resource_accessor :result, Result
1622
- available_only_for_statuses :result, ["success"]
1623
- # ID of the action attempt.
1624
- # @return [String]
1625
- attr_accessor :action_attempt_id
1626
- # Action attempt to track the status of pausing playback on a speaker.
1627
- # @return [String]
1628
- # Known values:
1629
- # - `PAUSE_SPEAKER_PLAYBACK`
1630
- attr_accessor :action_type
1631
- # @return [String]
1632
- # Known values:
1633
- # - `success`
1634
- # - `pending`
1635
- # - `error`
1636
- attr_accessor :status
1637
- end
1638
-
1639
- # Resuming playback on the speaker is pending.
1640
- class ResumeSpeakerPlayback < ActionAttempt
1641
- class Error < BaseResource
1642
- # Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1643
- # @return [String]
1644
- attr_accessor :message
1645
- # Type of the error.
1646
- # @return [String]
1647
- attr_accessor :type
1648
- end
1649
-
1650
- class Result < BaseResource
1651
- # IDs of the speakers whose playback was resumed, including speakers grouped with the requested speaker.
1652
- # @return [Array<String>]
1653
- attr_accessor :affected_device_ids
1654
- end
1655
-
1656
- # Error associated with the action.
1657
- # @return [Error, nil]
1658
- # Only present when `status` is `error`; `nil` otherwise.
1659
- resource_accessor :error, Error
1660
- available_only_for_statuses :error, ["error"]
1661
- # Result of the action.
1662
- # @return [Result, nil]
1663
- # Only present when `status` is `success`; `nil` otherwise.
1664
- resource_accessor :result, Result
1665
- available_only_for_statuses :result, ["success"]
1666
- # ID of the action attempt.
1667
- # @return [String]
1668
- attr_accessor :action_attempt_id
1669
- # Action attempt to track the status of resuming playback on a speaker.
1670
- # @return [String]
1671
- # Known values:
1672
- # - `RESUME_SPEAKER_PLAYBACK`
1673
- attr_accessor :action_type
1674
- # @return [String]
1675
- # Known values:
1676
- # - `success`
1677
- # - `pending`
1678
- # - `error`
1679
- attr_accessor :status
1680
- end
1681
-
1682
- # Playing a chime on the speaker is pending.
1683
- class PlaySpeakerChime < ActionAttempt
1684
- class Error < BaseResource
1685
- # Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1686
- # @return [String]
1687
- attr_accessor :message
1688
- # Type of the error.
1689
- # @return [String]
1690
- attr_accessor :type
1691
- end
1692
-
1693
- class Result < BaseResource
1694
- end
1695
-
1696
- # Error associated with the action.
1697
- # @return [Error, nil]
1698
- # Only present when `status` is `error`; `nil` otherwise.
1699
- resource_accessor :error, Error
1700
- available_only_for_statuses :error, ["error"]
1701
- # Result of the action.
1702
- # @return [Result, nil]
1703
- # Only present when `status` is `success`; `nil` otherwise.
1704
- resource_accessor :result, Result
1705
- available_only_for_statuses :result, ["success"]
1706
- # ID of the action attempt.
1707
- # @return [String]
1708
- attr_accessor :action_attempt_id
1709
- # Action attempt to track the status of playing a chime on a speaker.
1710
- # @return [String]
1711
- # Known values:
1712
- # - `PLAY_SPEAKER_CHIME`
1713
- attr_accessor :action_type
1714
- # @return [String]
1715
- # Known values:
1716
- # - `success`
1717
- # - `pending`
1718
- # - `error`
1719
- attr_accessor :status
1563
+ # Date and time at which the action attempt was created.
1564
+ # @return [Time]
1565
+ date_accessor :created_at
1720
1566
  end
1721
1567
 
1722
1568
  class SyncAccessCodes < ActionAttempt
@@ -1756,6 +1602,9 @@ module Seam
1756
1602
  # - `pending`
1757
1603
  # - `error`
1758
1604
  attr_accessor :status
1605
+ # Date and time at which the action attempt was created.
1606
+ # @return [Time]
1607
+ date_accessor :created_at
1759
1608
  end
1760
1609
 
1761
1610
  class CreateAccessCode < ActionAttempt
@@ -1798,6 +1647,9 @@ module Seam
1798
1647
  # - `pending`
1799
1648
  # - `error`
1800
1649
  attr_accessor :status
1650
+ # Date and time at which the action attempt was created.
1651
+ # @return [Time]
1652
+ date_accessor :created_at
1801
1653
  end
1802
1654
 
1803
1655
  class DeleteAccessCode < ActionAttempt
@@ -1837,6 +1689,9 @@ module Seam
1837
1689
  # - `pending`
1838
1690
  # - `error`
1839
1691
  attr_accessor :status
1692
+ # Date and time at which the action attempt was created.
1693
+ # @return [Time]
1694
+ date_accessor :created_at
1840
1695
  end
1841
1696
 
1842
1697
  class UpdateAccessCode < ActionAttempt
@@ -1879,6 +1734,9 @@ module Seam
1879
1734
  # - `pending`
1880
1735
  # - `error`
1881
1736
  attr_accessor :status
1737
+ # Date and time at which the action attempt was created.
1738
+ # @return [Time]
1739
+ date_accessor :created_at
1882
1740
  end
1883
1741
 
1884
1742
  class CreateNoiseThreshold < ActionAttempt
@@ -1921,6 +1779,9 @@ module Seam
1921
1779
  # - `pending`
1922
1780
  # - `error`
1923
1781
  attr_accessor :status
1782
+ # Date and time at which the action attempt was created.
1783
+ # @return [Time]
1784
+ date_accessor :created_at
1924
1785
  end
1925
1786
 
1926
1787
  class DeleteNoiseThreshold < ActionAttempt
@@ -1960,6 +1821,9 @@ module Seam
1960
1821
  # - `pending`
1961
1822
  # - `error`
1962
1823
  attr_accessor :status
1824
+ # Date and time at which the action attempt was created.
1825
+ # @return [Time]
1826
+ date_accessor :created_at
1963
1827
  end
1964
1828
 
1965
1829
  class UpdateNoiseThreshold < ActionAttempt
@@ -2002,6 +1866,9 @@ module Seam
2002
1866
  # - `pending`
2003
1867
  # - `error`
2004
1868
  attr_accessor :status
1869
+ # Date and time at which the action attempt was created.
1870
+ # @return [Time]
1871
+ date_accessor :created_at
2005
1872
  end
2006
1873
 
2007
1874
  # @return [Error, nil]
@@ -2033,11 +1900,6 @@ module Seam
2033
1900
  # - `PUSH_THERMOSTAT_PROGRAMS`
2034
1901
  # - `CONFIGURE_AUTO_LOCK`
2035
1902
  # - `CONVERT_ACCESS_CODE_TO_MANAGED`
2036
- # - `SET_SPEAKER_VOLUME`
2037
- # - `SET_SPEAKER_MUTE`
2038
- # - `PAUSE_SPEAKER_PLAYBACK`
2039
- # - `RESUME_SPEAKER_PLAYBACK`
2040
- # - `PLAY_SPEAKER_CHIME`
2041
1903
  # - `SYNC_ACCESS_CODES`
2042
1904
  # - `CREATE_ACCESS_CODE`
2043
1905
  # - `DELETE_ACCESS_CODE`
@@ -2053,6 +1915,10 @@ module Seam
2053
1915
  # - `error`
2054
1916
  attr_accessor :status
2055
1917
 
1918
+ # Date and time at which the action attempt was created.
1919
+ # @return [Time]
1920
+ date_accessor :created_at
1921
+
2056
1922
  discriminated_by :action_type, {
2057
1923
  "LOCK_DOOR" => LockDoor,
2058
1924
  "UNLOCK_DOOR" => UnlockDoor,
@@ -2070,11 +1936,6 @@ module Seam
2070
1936
  "PUSH_THERMOSTAT_PROGRAMS" => PushThermostatPrograms,
2071
1937
  "CONFIGURE_AUTO_LOCK" => ConfigureAutoLock,
2072
1938
  "CONVERT_ACCESS_CODE_TO_MANAGED" => ConvertAccessCodeToManaged,
2073
- "SET_SPEAKER_VOLUME" => SetSpeakerVolume,
2074
- "SET_SPEAKER_MUTE" => SetSpeakerMute,
2075
- "PAUSE_SPEAKER_PLAYBACK" => PauseSpeakerPlayback,
2076
- "RESUME_SPEAKER_PLAYBACK" => ResumeSpeakerPlayback,
2077
- "PLAY_SPEAKER_CHIME" => PlaySpeakerChime,
2078
1939
  "SYNC_ACCESS_CODES" => SyncAccessCodes,
2079
1940
  "CREATE_ACCESS_CODE" => CreateAccessCode,
2080
1941
  "DELETE_ACCESS_CODE" => DeleteAccessCode,
@@ -116,7 +116,7 @@ module Seam
116
116
  attr_accessor :events
117
117
  # Represents a Seam Instant Key. For issuing Bluetooth mobile keys, Instant Keys are the fastest way to share access. With a single API call, you can create a mobile key and send it through text or email or embed it in your own app.
118
118
  #
119
- # There’s no app to install, nor account to create. Your user just taps a link and gets a lightweight, native-feeling experience using iOS App Clip or Instant Apps on Android. Further, Instant Keys work offline, so even in areas with poor cellular or Wi-Fi, like elevator banks or concrete-walled hallways, the Instant Keys still work.
119
+ # There’s no account to create. Your user just taps a link and gets a lightweight, native-feeling experience. On iOS, the key opens in an App Clip, so there’s no app to install. On Android, Google has discontinued Google Play Instant, so the first time your user opens an Instant Key they must install the Seam Instant Key app from the Google Play Store. Further, Instant Keys work offline, so even in areas with poor cellular or Wi-Fi, like elevator banks or concrete-walled hallways, the Instant Keys still work.
120
120
  # @return [Hash, nil]
121
121
  attr_accessor :instant_keys
122
122
  # Represents a [noise threshold](https://www.seam.co/docs/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://www.seam.co/docs/capability-guides/noise-sensors). Thresholds represent the limits of noise tolerated at a property, which can be customized for each hour of the day. Each device has its own default thresholds, but you can use the Seam API to modify them.
@@ -36,10 +36,6 @@ module Seam
36
36
  # ID of the [user identity](https://www.seam.co/docs/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with the client session.
37
37
  # @return [String, nil]
38
38
  attr_accessor :user_identity_id
39
- # IDs of the [user identities](https://www.seam.co/docs/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with the client session.
40
- # @return [Array<String>]
41
- # @deprecated Use `user_identity_id` instead.
42
- attr_accessor :user_identity_ids
43
39
  # ID of the workspace associated with the client session.
44
40
  # @return [String]
45
41
  attr_accessor :workspace_id
@@ -23,6 +23,7 @@ module Seam
23
23
  # - `access_control`
24
24
  # - `camera`
25
25
  # - `speaker`
26
+ # - `pool`
26
27
  attr_accessor :accepted_capabilities
27
28
  # List of accepted [provider keys](https://www.seam.co/docs/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews).
28
29
  # @return [Array<String>]
@@ -143,24 +143,6 @@ module Seam
143
143
  }.freeze
144
144
  end
145
145
 
146
- class UserIdentifier < BaseResource
147
- # API URL for the user identifier associated with the connected account.
148
- # @return [String, nil]
149
- attr_accessor :api_url
150
- # Email address of the user identifier associated with the connected account.
151
- # @return [String, nil]
152
- attr_accessor :email
153
- # Indicates whether the user identifier associated with the connected account is exclusive.
154
- # @return [Boolean, nil]
155
- attr_accessor :exclusive
156
- # Phone number of the user identifier associated with the connected account.
157
- # @return [String, nil]
158
- attr_accessor :phone
159
- # Username of the user identifier associated with the connected account.
160
- # @return [String, nil]
161
- attr_accessor :username
162
- end
163
-
164
146
  # Known `warning_code` values load as subclasses; unknown values remain Warnings instances for forward compatibility.
165
147
  class Warnings < BaseResource
166
148
  # Indicates that scheduled downtime is planned for the connected account.
@@ -338,9 +320,6 @@ module Seam
338
320
  }.freeze
339
321
  end
340
322
 
341
- # User identifier associated with the connected account.
342
- # @return [UserIdentifier, nil]
343
- resource_accessor :user_identifier, UserIdentifier
344
323
  # Errors associated with the connected account.
345
324
  # @return [Array<Errors>]
346
325
  resource_list_accessor :errors, Errors
@@ -356,6 +335,7 @@ module Seam
356
335
  # - `access_control`
357
336
  # - `camera`
358
337
  # - `speaker`
338
+ # - `pool`
359
339
  attr_accessor :accepted_capabilities
360
340
  # Type of connected account.
361
341
  # @return [String, nil]