seam 2.129.0 → 2.130.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/acs_encoders.rb +4 -0
- data/lib/seam/routes/clients/acs_users.rb +2 -2
- data/lib/seam/routes/clients/events.rb +2 -2
- data/lib/seam/routes/clients/index.rb +1 -1
- data/lib/seam/routes/clients/workspaces.rb +6 -0
- data/lib/seam/routes/resources/acs_user.rb +1 -1
- data/lib/seam/routes/resources/event.rb +1 -1
- data/lib/seam/routes/resources/index.rb +0 -1
- data/lib/seam/routes/resources/unmanaged_acs_user.rb +1 -1
- data/lib/seam/version.rb +1 -1
- metadata +2 -3
- data/lib/seam/routes/resources/phone_registration.rb +0 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99e9dc9a028e10159d27c6a71eeb744f41fce54a97869530a18f19e992bb6c94
|
|
4
|
+
data.tar.gz: e950fdb8ef9559e9ad13f49b969f24edfc2013483c7d91d156135b66d78f060b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 35fdfbb9ff270f3f1574550aa62c3a6631badc92712ca2d18a680ee8d2ecdd839bb5862015bdcc91dea98e83ee152a25f0e5b1f5d817cbb7d2bbfeb5df2605b2
|
|
7
|
+
data.tar.gz: 4fb57ccc046429913f76e114c180509e797af57e4ef6c5a8cfdf9868f23724f5d669b45d5f6a71766f85e7bce2748b0e9ef3434018139b0055e8218be5c06b39
|
data/Gemfile.lock
CHANGED
|
@@ -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(
|
|
30
|
-
res = @client.post("/acs/users/get", {
|
|
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(
|
|
12
|
-
res = @client.post("/events/get", {
|
|
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 AcsUser < BaseResource
|
|
6
|
-
attr_accessor :access_schedule, :acs_system_id, :acs_user_id, :connected_account_id, :display_name, :email, :email_address, :external_type, :external_type_display_name, :full_name, :hid_acs_system_id, :is_managed, :is_suspended, :pending_mutations, :phone_number, :salto_space_metadata, :user_identity_email_address, :user_identity_full_name, :user_identity_id, :user_identity_phone_number, :workspace_id
|
|
6
|
+
attr_accessor :access_schedule, :acs_system_id, :acs_user_id, :connected_account_id, :display_name, :email, :email_address, :external_type, :external_type_display_name, :full_name, :hid_acs_system_id, :is_managed, :is_suspended, :pending_mutations, :phone_number, :salto_ks_metadata, :salto_space_metadata, :user_identity_email_address, :user_identity_full_name, :user_identity_id, :user_identity_phone_number, :workspace_id
|
|
7
7
|
|
|
8
8
|
date_accessor :created_at, :last_successful_sync_at
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Seam
|
|
4
4
|
module Resources
|
|
5
5
|
class SeamEvent < BaseResource
|
|
6
|
-
attr_accessor :
|
|
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 UnmanagedAcsUser < BaseResource
|
|
6
|
-
attr_accessor :access_schedule, :acs_system_id, :acs_user_id, :connected_account_id, :display_name, :email, :email_address, :external_type, :external_type_display_name, :full_name, :hid_acs_system_id, :is_managed, :is_suspended, :pending_mutations, :phone_number, :salto_space_metadata, :user_identity_email_address, :user_identity_full_name, :user_identity_id, :user_identity_phone_number, :workspace_id
|
|
6
|
+
attr_accessor :access_schedule, :acs_system_id, :acs_user_id, :connected_account_id, :display_name, :email, :email_address, :external_type, :external_type_display_name, :full_name, :hid_acs_system_id, :is_managed, :is_suspended, :pending_mutations, :phone_number, :salto_ks_metadata, :salto_space_metadata, :user_identity_email_address, :user_identity_full_name, :user_identity_id, :user_identity_phone_number, :workspace_id
|
|
7
7
|
|
|
8
8
|
date_accessor :created_at, :last_successful_sync_at
|
|
9
9
|
|
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.130.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-07-
|
|
11
|
+
date: 2026-07-23 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
|