seam 2.129.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: c95028345ee43c0927ba498dc48c6f8e56343778b4fba92ca7755efa3189900f
4
- data.tar.gz: 673130083b8b5a52b5d4b9efc8bd4f03408a0c2426b54ef7ce095d81d8414929
3
+ metadata.gz: de49311dd96b1403d94c6d5d411e01b87504b0526b28c1d1174f6cb7faf4a616
4
+ data.tar.gz: e6a6a472bcbd88960388112fc38713b3a2625c1415faac178b5601d9b19bf056
5
5
  SHA512:
6
- metadata.gz: 5dac53c706fb74a846e7e12d7a5125417e01a5b742ecc15ddfd92dfc48fb60186f0dfdc87931d033a6aed5a6945e531c0effa7516fc91fec3ad17d1cc3fa4369
7
- data.tar.gz: 4cb16d9a4fefe8d5fd3a6b301b7b77fab0c5930cac84975b92ef83e7207f20b048d65d19c72f09a452062ec2caae9764da960ddf68239d4bc02d41f1824c0bd7
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.129.0)
4
+ seam (2.129.1)
5
5
  faraday (~> 2.7)
6
6
  faraday-retry (~> 2.2)
7
7
  svix (~> 1.30)
@@ -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
@@ -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
@@ -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_description, :event_id, :event_type, :workspace_id, :change_reason, :changed_properties, :description, :from, :to, :requested_mutations, :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, :device_name, :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, :reason, :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, :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"
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.129.0"
4
+ VERSION = "2.129.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seam
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.129.0
4
+ version: 2.129.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seam Labs, Inc.
@@ -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