seam 2.42.0 → 2.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fcb8f1f118669e0a1166e38f3f318113c1f1ae9f8ac2166c4d352a971221af2c
4
- data.tar.gz: 138ffb2a606e60ac1e703fd878c4da6a3b55b5e21a19abce73b4813a3378fe09
3
+ metadata.gz: 4018f95d139a51caf5790d12ae463a2c162ec649a4d289333f1b8664e9ea1b03
4
+ data.tar.gz: 78aa3c71ca7a9f4e1a16536666b441d337599d472021c685db7cecba177aa86f
5
5
  SHA512:
6
- metadata.gz: c4ce6ede6df8292a03526ad27007a7fdd3bad02173b8247d610aff8793a99562413437df84f5fa37d4588b2d3e1004f7e8e657ddb55508b99e60f9a1d5fe7b14
7
- data.tar.gz: 7b694add84d296345d5f6d15e49586a10d43564ce90b2503d208e00ec12cc7cc2627df39144ec41a640a11a4d4afd08a59c4f401ee9351f1f3cf998dc358c6b5
6
+ metadata.gz: 2da33ac21ad9cf7df6b8a18c0a67a7f9ecdeea6751216ea4ecc3caa72877483f86b2b5978135d4ca56d38a82fdfbc93573fa310d7e042c903a10aa7c23b2e9e0
7
+ data.tar.gz: c63680fb2ec5c810dc844325dc0af68eec7621640990786a70315c69c91f4b06ffb57cb983c96e718a0a42307711261f2c28a8a1fc61d59f683ddaf060c71189
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seam (2.42.0)
4
+ seam (2.44.0)
5
5
  faraday (~> 2.7)
6
6
  faraday-retry (~> 2.2)
7
7
  svix (~> 1.30)
@@ -20,8 +20,8 @@ module Seam
20
20
  nil
21
21
  end
22
22
 
23
- def list(access_grant_id: nil, access_method_id: nil, acs_credential_id: nil, acs_system_id: nil, connected_account_id: nil, location_id: nil, space_id: nil)
24
- res = @client.post("/acs/entrances/list", {access_grant_id: access_grant_id, access_method_id: access_method_id, acs_credential_id: acs_credential_id, acs_system_id: acs_system_id, connected_account_id: connected_account_id, location_id: location_id, space_id: space_id}.compact)
23
+ def list(access_grant_id: nil, access_method_id: nil, acs_credential_id: nil, acs_entrance_ids: nil, acs_system_id: nil, connected_account_id: nil, location_id: nil, search: nil, space_id: nil)
24
+ res = @client.post("/acs/entrances/list", {access_grant_id: access_grant_id, access_method_id: access_method_id, acs_credential_id: acs_credential_id, acs_entrance_ids: acs_entrance_ids, acs_system_id: acs_system_id, connected_account_id: connected_account_id, location_id: location_id, search: search, space_id: space_id}.compact)
25
25
 
26
26
  Seam::Resources::AcsEntrance.load_from_response(res.body["acs_entrances"])
27
27
  end
@@ -14,12 +14,24 @@ module Seam
14
14
  nil
15
15
  end
16
16
 
17
+ def connect_to_hub(device_id:)
18
+ @client.post("/devices/simulate/connect_to_hub", {device_id: device_id}.compact)
19
+
20
+ nil
21
+ end
22
+
17
23
  def disconnect(device_id:)
18
24
  @client.post("/devices/simulate/disconnect", {device_id: device_id}.compact)
19
25
 
20
26
  nil
21
27
  end
22
28
 
29
+ def disconnect_from_hub(device_id:)
30
+ @client.post("/devices/simulate/disconnect_from_hub", {device_id: device_id}.compact)
31
+
32
+ nil
33
+ end
34
+
23
35
  def remove(device_id:)
24
36
  @client.post("/devices/simulate/remove", {device_id: device_id}.compact)
25
37
 
@@ -38,8 +38,14 @@ module Seam
38
38
  Seam::Resources::Space.load_from_response(res.body["space"])
39
39
  end
40
40
 
41
- def list
42
- res = @client.post("/spaces/list")
41
+ def get_related(space_ids:, exclude: nil, include: nil)
42
+ @client.post("/spaces/get_related", {space_ids: space_ids, exclude: exclude, include: include}.compact)
43
+
44
+ nil
45
+ end
46
+
47
+ def list(search: nil)
48
+ res = @client.post("/spaces/list", {search: search}.compact)
43
49
 
44
50
  Seam::Resources::Space.load_from_response(res.body["spaces"])
45
51
  end
@@ -3,7 +3,7 @@
3
3
  module Seam
4
4
  module Resources
5
5
  class AccessMethod < BaseResource
6
- attr_accessor :access_method_id, :display_name, :instant_key_url, :is_encoding_required, :mode, :workspace_id
6
+ attr_accessor :access_method_id, :code, :display_name, :instant_key_url, :is_encoding_required, :mode, :workspace_id
7
7
 
8
8
  date_accessor :created_at, :issued_at
9
9
  end
@@ -3,7 +3,7 @@
3
3
  module Seam
4
4
  module Resources
5
5
  class SeamEvent < BaseResource
6
- attr_accessor :access_code_id, :connected_account_id, :device_id, :event_id, :event_type, :workspace_id, :code, :backup_access_code_id, :access_grant_id, :acs_entrance_id, :access_method_id, :acs_system_id, :acs_credential_id, :acs_user_id, :acs_encoder_id, :acs_access_group_id, :client_session_id, :connect_webview_id, :action_attempt_id, :action_type, :status, :error_code, :battery_level, :battery_status, :minut_metadata, :noise_level_decibels, :noise_level_nrs, :noise_threshold_id, :noise_threshold_name, :noiseaware_metadata, :method, :climate_preset_key, :is_fallback_climate_preset, :thermostat_schedule_id, :cooling_set_point_celsius, :cooling_set_point_fahrenheit, :fan_mode_setting, :heating_set_point_celsius, :heating_set_point_fahrenheit, :hvac_mode_setting, :lower_limit_celsius, :lower_limit_fahrenheit, :temperature_celsius, :temperature_fahrenheit, :upper_limit_celsius, :upper_limit_fahrenheit, :desired_temperature_celsius, :desired_temperature_fahrenheit, :device_name, :enrollment_automation_id
6
+ attr_accessor :access_code_id, :connected_account_custom_metadata, :connected_account_id, :device_custom_metadata, :device_id, :event_id, :event_type, :workspace_id, :code, :backup_access_code_id, :access_grant_id, :acs_entrance_id, :access_method_id, :acs_system_id, :acs_credential_id, :acs_user_id, :acs_encoder_id, :acs_access_group_id, :client_session_id, :connect_webview_id, :action_attempt_id, :action_type, :status, :error_code, :battery_level, :battery_status, :minut_metadata, :noise_level_decibels, :noise_level_nrs, :noise_threshold_id, :noise_threshold_name, :noiseaware_metadata, :method, :climate_preset_key, :is_fallback_climate_preset, :thermostat_schedule_id, :cooling_set_point_celsius, :cooling_set_point_fahrenheit, :fan_mode_setting, :heating_set_point_celsius, :heating_set_point_fahrenheit, :hvac_mode_setting, :lower_limit_celsius, :lower_limit_fahrenheit, :temperature_celsius, :temperature_fahrenheit, :upper_limit_celsius, :upper_limit_fahrenheit, :desired_temperature_celsius, :desired_temperature_fahrenheit, :device_name, :enrollment_automation_id
7
7
 
8
8
  date_accessor :created_at, :occurred_at
9
9
  end
@@ -3,7 +3,7 @@
3
3
  module Seam
4
4
  module Resources
5
5
  class UserIdentity < BaseResource
6
- attr_accessor :display_name, :email_address, :full_name, :phone_number, :user_identity_id, :user_identity_key, :workspace_id
6
+ attr_accessor :acs_user_ids, :display_name, :email_address, :full_name, :phone_number, :user_identity_id, :user_identity_key, :workspace_id
7
7
 
8
8
  date_accessor :created_at
9
9
 
data/lib/seam/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Seam
4
- VERSION = "2.42.0"
4
+ VERSION = "2.44.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seam
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.42.0
4
+ version: 2.44.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seam Labs, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-03 00:00:00.000000000 Z
11
+ date: 2025-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday