seam 2.126.0 → 2.128.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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/seam/routes/clients/access_methods.rb +4 -2
- data/lib/seam/routes/clients/spaces.rb +2 -2
- data/lib/seam/routes/resources/event.rb +1 -1
- data/lib/seam/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd5a8a674f5ae6059332f03809511e9063d3149a422e8fa4949ec54557c29552
|
|
4
|
+
data.tar.gz: d672c0b053fba7b6aba55af4b23e5b8bd905ab33a6c93d0a0ea9568119efdb78
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c2d569abd0bc62236c7f29e60bfb26297a815e68992ada3b3d2945f9ff63a5e3c1feb1851e6d25d5cce7bf5351e4b61f782c0b94324f8ca927f0eb2f1a42ae2e
|
|
7
|
+
data.tar.gz: 04444ba5c4a0a482ab88166fd2133eeea953cac0845be31d5c03e8e59664c9092d3ba2a1faeef365a368fb283193aeb91b85eb2d6ee3ed4ff6ee8001b25ab306
|
data/Gemfile.lock
CHANGED
|
@@ -14,10 +14,12 @@ module Seam
|
|
|
14
14
|
@unmanaged ||= Seam::Clients::AccessMethodsUnmanaged.new(client: @client, defaults: @defaults)
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
def assign_card(access_method_id:, card_number:)
|
|
17
|
+
def assign_card(access_method_id:, card_number:, wait_for_action_attempt: nil)
|
|
18
18
|
res = @client.post("/access_methods/assign_card", {access_method_id: access_method_id, card_number: card_number}.compact)
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
wait_for_action_attempt = wait_for_action_attempt.nil? ? @defaults.wait_for_action_attempt : wait_for_action_attempt
|
|
21
|
+
|
|
22
|
+
Helpers::ActionAttempt.decide_and_wait(Seam::Resources::ActionAttempt.load_from_response(res.body["action_attempt"]), @client, wait_for_action_attempt)
|
|
21
23
|
end
|
|
22
24
|
|
|
23
25
|
def delete(access_method_id: nil, access_grant_id: nil, reservation_key: nil)
|
|
@@ -74,8 +74,8 @@ module Seam
|
|
|
74
74
|
nil
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
def update(acs_entrance_ids: nil, customer_data: nil,
|
|
78
|
-
res = @client.post("/spaces/update", {acs_entrance_ids: acs_entrance_ids, customer_data: customer_data,
|
|
77
|
+
def update(acs_entrance_ids: nil, customer_data: nil, device_ids: nil, name: nil, space_id: nil, space_key: nil)
|
|
78
|
+
res = @client.post("/spaces/update", {acs_entrance_ids: acs_entrance_ids, customer_data: customer_data, device_ids: device_ids, name: name, space_id: space_id, space_key: space_key}.compact)
|
|
79
79
|
|
|
80
80
|
Seam::Resources::Space.load_from_response(res.body["space"])
|
|
81
81
|
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, :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_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
|
|
7
7
|
|
|
8
8
|
date_accessor :created_at, :occurred_at
|
|
9
9
|
end
|
data/lib/seam/version.rb
CHANGED
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.
|
|
4
|
+
version: 2.128.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-06-
|
|
11
|
+
date: 2026-06-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|