seam 2.128.0 → 2.129.1

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: cd5a8a674f5ae6059332f03809511e9063d3149a422e8fa4949ec54557c29552
4
- data.tar.gz: d672c0b053fba7b6aba55af4b23e5b8bd905ab33a6c93d0a0ea9568119efdb78
3
+ metadata.gz: de49311dd96b1403d94c6d5d411e01b87504b0526b28c1d1174f6cb7faf4a616
4
+ data.tar.gz: e6a6a472bcbd88960388112fc38713b3a2625c1415faac178b5601d9b19bf056
5
5
  SHA512:
6
- metadata.gz: c2d569abd0bc62236c7f29e60bfb26297a815e68992ada3b3d2945f9ff63a5e3c1feb1851e6d25d5cce7bf5351e4b61f782c0b94324f8ca927f0eb2f1a42ae2e
7
- data.tar.gz: 04444ba5c4a0a482ab88166fd2133eeea953cac0845be31d5c03e8e59664c9092d3ba2a1faeef365a368fb283193aeb91b85eb2d6ee3ed4ff6ee8001b25ab306
6
+ metadata.gz: cb665a5f596a64b7d443aefafcd2fdff11a957e90e561c8eb3b8cfe4bb665d3a91864952e2769db65ec5adb87f256827010e666cf50c139d5b3021c611ab8b84
7
+ data.tar.gz: 69b26dec55c87956cf6efbff257b55abbbd2dec2e1810d8f604427a3f82e9b4c985c08d7d37fe912f2e7f1e115ac424cd25ee8e564fcca706443e4c73611d0ec
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seam (2.128.0)
4
+ seam (2.129.1)
5
5
  faraday (~> 2.7)
6
6
  faraday-retry (~> 2.2)
7
7
  svix (~> 1.30)
@@ -46,8 +46,8 @@ module Seam
46
46
  Seam::Resources::AccessCode.load_from_response(res.body["access_code"])
47
47
  end
48
48
 
49
- def list(access_code_ids: nil, access_grant_id: nil, access_method_id: nil, customer_key: nil, device_id: nil, limit: nil, page_cursor: nil, search: nil, user_identifier_key: nil)
50
- res = @client.post("/access_codes/list", {access_code_ids: access_code_ids, access_grant_id: access_grant_id, access_method_id: access_method_id, customer_key: customer_key, device_id: device_id, limit: limit, page_cursor: page_cursor, search: search, user_identifier_key: user_identifier_key}.compact)
49
+ def list(access_code_ids: nil, access_grant_id: nil, access_grant_key: nil, access_method_id: nil, customer_key: nil, device_id: nil, limit: nil, page_cursor: nil, search: nil, user_identifier_key: nil)
50
+ res = @client.post("/access_codes/list", {access_code_ids: access_code_ids, access_grant_id: access_grant_id, access_grant_key: access_grant_key, access_method_id: access_method_id, customer_key: customer_key, device_id: device_id, limit: limit, page_cursor: page_cursor, search: search, user_identifier_key: user_identifier_key}.compact)
51
51
 
52
52
  Seam::Resources::AccessCode.load_from_response(res.body["access_codes"])
53
53
  end
@@ -48,8 +48,8 @@ module Seam
48
48
  Seam::Resources::AccessGrant.load_from_response(res.body["access_grant"])
49
49
  end
50
50
 
51
- def update(access_grant_id:, ends_at: nil, name: nil, starts_at: nil)
52
- @client.post("/access_grants/update", {access_grant_id: access_grant_id, ends_at: ends_at, name: name, starts_at: starts_at}.compact)
51
+ def update(access_grant_id: nil, access_grant_key: nil, ends_at: nil, name: nil, starts_at: nil)
52
+ @client.post("/access_grants/update", {access_grant_id: access_grant_id, access_grant_key: access_grant_key, ends_at: ends_at, name: name, starts_at: starts_at}.compact)
53
53
 
54
54
  nil
55
55
  end
@@ -10,6 +10,10 @@ module Seam
10
10
  @defaults = defaults
11
11
  end
12
12
 
13
+ def simulate
14
+ @simulate ||= Seam::Clients::AcsEncodersSimulate.new(client: @client, defaults: @defaults)
15
+ end
16
+
13
17
  def encode_credential(acs_encoder_id:, access_method_id: nil, acs_credential_id: nil, wait_for_action_attempt: nil)
14
18
  res = @client.post("/acs/encoders/encode_credential", {acs_encoder_id: acs_encoder_id, access_method_id: access_method_id, acs_credential_id: acs_credential_id}.compact)
15
19
 
@@ -26,8 +26,8 @@ module Seam
26
26
  nil
27
27
  end
28
28
 
29
- def get(acs_system_id: nil, acs_user_id: nil, user_identity_id: nil)
30
- res = @client.post("/acs/users/get", {acs_system_id: acs_system_id, acs_user_id: acs_user_id, user_identity_id: user_identity_id}.compact)
29
+ def get(acs_user_id: nil, acs_system_id: nil, user_identity_id: nil)
30
+ res = @client.post("/acs/users/get", {acs_user_id: acs_user_id, acs_system_id: acs_system_id, user_identity_id: user_identity_id}.compact)
31
31
 
32
32
  Seam::Resources::AcsUser.load_from_response(res.body["acs_user"])
33
33
  end
@@ -40,8 +40,8 @@ module Seam
40
40
  nil
41
41
  end
42
42
 
43
- def update(device_id:, custom_metadata: nil, is_managed: nil, name: nil, properties: nil)
44
- @client.post("/devices/update", {device_id: device_id, custom_metadata: custom_metadata, is_managed: is_managed, name: name, properties: properties}.compact)
43
+ def update(device_id:, backup_access_code_pool_enabled: nil, custom_metadata: nil, is_managed: nil, name: nil, properties: nil)
44
+ @client.post("/devices/update", {device_id: device_id, backup_access_code_pool_enabled: backup_access_code_pool_enabled, custom_metadata: custom_metadata, is_managed: is_managed, name: name, properties: properties}.compact)
45
45
 
46
46
  nil
47
47
  end
@@ -8,8 +8,8 @@ module Seam
8
8
  @defaults = defaults
9
9
  end
10
10
 
11
- def get(device_id: nil, event_id: nil, event_type: nil)
12
- res = @client.post("/events/get", {device_id: device_id, event_id: event_id, event_type: event_type}.compact)
11
+ def get(event_id: nil, device_id: nil, event_type: nil)
12
+ res = @client.post("/events/get", {event_id: event_id, device_id: device_id, event_type: event_type}.compact)
13
13
 
14
14
  Seam::Resources::SeamEvent.load_from_response(res.body["event"])
15
15
  end
@@ -7,8 +7,8 @@ require_relative "access_grants"
7
7
  require_relative "access_grants_unmanaged"
8
8
  require_relative "access_methods"
9
9
  require_relative "access_methods_unmanaged"
10
- require_relative "acs_access_groups"
11
10
  require_relative "acs"
11
+ require_relative "acs_access_groups"
12
12
  require_relative "acs_credentials"
13
13
  require_relative "acs_encoders"
14
14
  require_relative "acs_encoders_simulate"
@@ -35,6 +35,12 @@ module Seam
35
35
 
36
36
  Helpers::ActionAttempt.decide_and_wait(Seam::Resources::ActionAttempt.load_from_response(res.body["action_attempt"]), @client, wait_for_action_attempt)
37
37
  end
38
+
39
+ def update(connect_partner_name: nil, connect_webview_customization: nil, is_publishable_key_auth_enabled: nil, is_suspended: nil, name: nil, organization_id: nil)
40
+ @client.post("/workspaces/update", {connect_partner_name: connect_partner_name, connect_webview_customization: connect_webview_customization, is_publishable_key_auth_enabled: is_publishable_key_auth_enabled, is_suspended: is_suspended, name: name, organization_id: organization_id}.compact)
41
+
42
+ nil
43
+ end
38
44
  end
39
45
  end
40
46
  end
@@ -7,6 +7,7 @@ module Seam
7
7
 
8
8
  date_accessor :created_at, :issued_at
9
9
 
10
+ include Seam::Resources::ResourceErrorsSupport
10
11
  include Seam::Resources::ResourceWarningsSupport
11
12
  end
12
13
  end
@@ -3,7 +3,7 @@
3
3
  module Seam
4
4
  module Resources
5
5
  class CustomizationProfile < BaseResource
6
- attr_accessor :customer_portal_theme, :customization_profile_id, :logo_url, :name, :primary_color, :secondary_color, :workspace_id
6
+ attr_accessor :customer_portal_theme, :customization_profile_id, :logo_url, :message_overrides, :name, :primary_color, :secondary_color, :workspace_id
7
7
 
8
8
  date_accessor :created_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_custom_metadata, :connected_account_id, :device_custom_metadata, :device_id, :event_id, :event_type, :workspace_id, :change_reason, :changed_properties, :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, :missing_device_ids, :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_via_bluetooth, :is_via_nfc, :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_errors, :access_code_id, :access_code_is_managed, :access_code_warnings, :access_grant_id, :access_grant_ids, :access_grant_key, :access_grant_keys, :access_method_id, :acs_access_group_id, :acs_credential_id, :acs_encoder_id, :acs_entrance_id, :acs_entrance_ids, :acs_system_errors, :acs_system_id, :acs_system_warnings, :acs_user_id, :action_attempt_id, :action_type, :activation_reason, :backup_access_code_id, :battery_level, :battery_status, :change_reason, :changed_properties, :client_session_id, :climate_preset_key, :code, :connect_webview_id, :connected_account_custom_metadata, :connected_account_errors, :connected_account_id, :connected_account_type, :connected_account_warnings, :cooling_set_point_celsius, :cooling_set_point_fahrenheit, :customer_key, :description, :desired_temperature_celsius, :desired_temperature_fahrenheit, :device_custom_metadata, :device_errors, :device_id, :device_ids, :device_name, :device_warnings, :ends_at, :enrollment_automation_id, :error_code, :error_message, :event_description, :event_id, :event_type, :fan_mode_setting, :from, :heating_set_point_celsius, :heating_set_point_fahrenheit, :hvac_mode_setting, :image_url, :is_backup_code, :is_fallback_climate_preset, :is_via_bluetooth, :is_via_nfc, :lower_limit_celsius, :lower_limit_fahrenheit, :method, :minut_metadata, :missing_device_ids, :motion_sub_type, :noise_level_decibels, :noise_level_nrs, :noise_threshold_id, :noise_threshold_name, :noiseaware_metadata, :reason, :requested_mutations, :space_id, :space_key, :starts_at, :status, :temperature_celsius, :temperature_fahrenheit, :thermostat_schedule_id, :to, :upper_limit_celsius, :upper_limit_fahrenheit, :user_identity_id, :video_url, :workspace_id
7
7
 
8
8
  date_accessor :created_at, :occurred_at
9
9
  end
@@ -35,7 +35,6 @@ require_relative "magic_link"
35
35
  require_relative "noise_threshold"
36
36
  require_relative "pagination"
37
37
  require_relative "phone"
38
- require_relative "phone_registration"
39
38
  require_relative "phone_session"
40
39
  require_relative "space"
41
40
  require_relative "staff_member"
@@ -3,7 +3,7 @@
3
3
  module Seam
4
4
  module Resources
5
5
  class Space < BaseResource
6
- attr_accessor :acs_entrance_count, :customer_data, :customer_key, :device_count, :display_name, :name, :parent_space_id, :parent_space_key, :space_id, :space_key, :workspace_id
6
+ attr_accessor :acs_entrance_count, :customer_data, :customer_key, :device_count, :display_name, :geolocation, :name, :parent_space_id, :parent_space_key, :space_id, :space_key, :workspace_id
7
7
 
8
8
  date_accessor :created_at
9
9
  end
@@ -3,7 +3,7 @@
3
3
  module Seam
4
4
  module Resources
5
5
  class Workspace < BaseResource
6
- attr_accessor :company_name, :connect_partner_name, :connect_webview_customization, :is_publishable_key_auth_enabled, :is_sandbox, :is_suspended, :name, :publishable_key, :workspace_id
6
+ attr_accessor :company_name, :connect_partner_name, :connect_webview_customization, :is_publishable_key_auth_enabled, :is_sandbox, :is_suspended, :name, :organization_id, :publishable_key, :workspace_id
7
7
  end
8
8
  end
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.128.0"
4
+ VERSION = "2.129.1"
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.128.0
4
+ version: 2.129.1
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-06-18 00:00:00.000000000 Z
11
+ date: 2026-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -277,7 +277,6 @@ files:
277
277
  - lib/seam/routes/resources/noise_threshold.rb
278
278
  - lib/seam/routes/resources/pagination.rb
279
279
  - lib/seam/routes/resources/phone.rb
280
- - lib/seam/routes/resources/phone_registration.rb
281
280
  - lib/seam/routes/resources/phone_session.rb
282
281
  - lib/seam/routes/resources/resource_error.rb
283
282
  - lib/seam/routes/resources/resource_errors_support.rb
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Seam
4
- module Resources
5
- class PhoneRegistration < BaseResource
6
- attr_accessor :is_being_activated, :phone_registration_id, :provider_name, :provider_state
7
- end
8
- end
9
- end