seam 2.114.0 → 2.115.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: 7a5dbb15a9000099825c3f4b812e0c7aa2b068b7df1cbc0f6ef7909340432d29
4
- data.tar.gz: 7ec5ddcc8818a1a6011b41ec3f26865cd3b6f52e854d6013b6b15d28e8961218
3
+ metadata.gz: 133ae1e2d9be46e795c652dc5ade64a0ee943a2867087dd5f073ae160b566a90
4
+ data.tar.gz: eebbfd1fa65d050589ab21df3f50a35929f536a56e9982fb06acd8bd2545a7d2
5
5
  SHA512:
6
- metadata.gz: c7d6c16376351883733751db15da0b7a926e27b3cdfc8d3617b18b285ea87a9d8d7967c1c1138d1c08b108709b33a09da80235e4214ded14d923fcdc16c257bd
7
- data.tar.gz: 443e1355d50a20b0baec7ab23978627a3a4a70855a5c8b16dd08bdefa36861c0c4af1fca3cde2cfe26879e506abdfa9fbe7ee2207b476ceedc806629a2cc6052
6
+ metadata.gz: b69592f80c3c6b3240fbb141eee33ae94dbfbf03a21ca2c55a3472293b13966613b8feee0bc0ffcf731bde9492cd4de3dd6b35b0f357951aea9776765f766403
7
+ data.tar.gz: 795cecac4ed53775ed8ca1c2d6bed29ded2e358b009d128b30726739d2296e44dedd2041b4a2ed3c3f8a7b4a3fe4ebfae86f82d5be8e403066e1cc04a3d9c693
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seam (2.114.0)
4
+ seam (2.115.0)
5
5
  faraday (~> 2.7)
6
6
  faraday-retry (~> 2.2)
7
7
  svix (~> 1.30)
@@ -24,8 +24,8 @@ module Seam
24
24
  Seam::Resources::ConnectedAccount.load_from_response(res.body["connected_account"])
25
25
  end
26
26
 
27
- def list(custom_metadata_has: nil, customer_key: nil, limit: nil, page_cursor: nil, search: nil, user_identifier_key: nil)
28
- res = @client.post("/connected_accounts/list", {custom_metadata_has: custom_metadata_has, customer_key: customer_key, limit: limit, page_cursor: page_cursor, search: search, user_identifier_key: user_identifier_key}.compact)
27
+ def list(custom_metadata_has: nil, customer_key: nil, limit: nil, page_cursor: nil, search: nil, space_id: nil, user_identifier_key: nil)
28
+ res = @client.post("/connected_accounts/list", {custom_metadata_has: custom_metadata_has, customer_key: customer_key, limit: limit, page_cursor: page_cursor, search: search, space_id: space_id, user_identifier_key: user_identifier_key}.compact)
29
29
 
30
30
  Seam::Resources::ConnectedAccount.load_from_response(res.body["connected_accounts"])
31
31
  end
@@ -14,6 +14,12 @@ module Seam
14
14
  nil
15
15
  end
16
16
 
17
+ def add_connected_account(connected_account_id:, space_id:)
18
+ @client.post("/spaces/add_connected_account", {connected_account_id: connected_account_id, space_id: space_id}.compact)
19
+
20
+ nil
21
+ end
22
+
17
23
  def add_devices(device_ids:, space_id:)
18
24
  @client.post("/spaces/add_devices", {device_ids: device_ids, space_id: space_id}.compact)
19
25
 
@@ -56,6 +62,12 @@ module Seam
56
62
  nil
57
63
  end
58
64
 
65
+ def remove_connected_account(connected_account_id:, space_id:)
66
+ @client.post("/spaces/remove_connected_account", {connected_account_id: connected_account_id, space_id: space_id}.compact)
67
+
68
+ nil
69
+ end
70
+
59
71
  def remove_devices(device_ids:, space_id:)
60
72
  @client.post("/spaces/remove_devices", {device_ids: device_ids, space_id: space_id}.compact)
61
73
 
@@ -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_custom_metadata, :connected_account_id, :device_custom_metadata, :device_id, :event_id, :event_type, :workspace_id, :code, :access_code_errors, :access_code_warnings, :connected_account_errors, :connected_account_warnings, :device_errors, :device_warnings, :backup_access_code_id, :access_grant_id, :acs_entrance_id, :access_grant_key, :ends_at, :starts_at, :error_message, :access_grant_ids, :access_grant_keys, :access_method_id, :is_backup_code, :acs_system_id, :acs_system_errors, :acs_system_warnings, :acs_credential_id, :acs_user_id, :acs_encoder_id, :acs_access_group_id, :client_session_id, :connect_webview_id, :customer_key, :connected_account_type, :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, :access_code_is_managed, :method, :user_identity_id, :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, :activation_reason, :image_url, :motion_sub_type, :video_url, :enrollment_automation_id, :acs_entrance_ids, :device_ids, :space_id, :space_key
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, :access_code_errors, :access_code_warnings, :connected_account_errors, :connected_account_warnings, :device_errors, :device_warnings, :backup_access_code_id, :access_grant_id, :acs_entrance_id, :access_grant_key, :ends_at, :starts_at, :error_message, :access_grant_ids, :access_grant_keys, :access_method_id, :is_backup_code, :acs_system_id, :acs_system_errors, :acs_system_warnings, :acs_credential_id, :acs_user_id, :acs_encoder_id, :acs_access_group_id, :client_session_id, :connect_webview_id, :customer_key, :connected_account_type, :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, :access_code_is_managed, :is_bluetooth_action, :method, :user_identity_id, :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, :activation_reason, :image_url, :motion_sub_type, :video_url, :enrollment_automation_id, :acs_entrance_ids, :device_ids, :space_id, :space_key
7
7
 
8
8
  date_accessor :created_at, :occurred_at
9
9
  end
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.114.0"
4
+ VERSION = "2.115.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.114.0
4
+ version: 2.115.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: 2026-04-28 00:00:00.000000000 Z
11
+ date: 2026-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday