seam 2.84.0 → 2.86.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_grants.rb +2 -2
- data/lib/seam/routes/clients/access_methods.rb +2 -2
- data/lib/seam/routes/clients/spaces.rb +2 -2
- data/lib/seam/routes/resources/acs_user.rb +1 -1
- data/lib/seam/routes/resources/batch.rb +9 -0
- data/lib/seam/routes/resources/index.rb +1 -0
- data/lib/seam/routes/resources/unmanaged_acs_user.rb +1 -1
- data/lib/seam/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c68f7196cb125d726bc26eba5cd1795ad079c352ecd481ed75d016a09f7d8e6e
|
|
4
|
+
data.tar.gz: d237302ffc53b764c7a041c6b772e29c6e24735211efb3387952eb9014a0f2a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 583862d6403d435fe45d89f4ff2a8727addf9319c4480ab6840b760380c30593d0fe25da7ca8664709f464de9ee57bc54eb9c005f1fad878ea1fb471985fadde
|
|
7
|
+
data.tar.gz: bfd0aa121c0dfac49445655dd85bbc3a647b69c2dc744ccd8a62a29215f15bd5ba37fc612a67afa2426ed243740247461e8de5c263205d1cdc4fb94fbf0a51a0
|
data/Gemfile.lock
CHANGED
|
@@ -31,9 +31,9 @@ module Seam
|
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
def get_related(access_grant_ids:, exclude: nil, include: nil)
|
|
34
|
-
@client.post("/access_grants/get_related", {access_grant_ids: access_grant_ids, exclude: exclude, include: include}.compact)
|
|
34
|
+
res = @client.post("/access_grants/get_related", {access_grant_ids: access_grant_ids, exclude: exclude, include: include}.compact)
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
Seam::Resources::Batch.load_from_response(res.body["batch"])
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
def list(access_grant_key: nil, acs_entrance_id: nil, acs_system_id: nil, customer_key: nil, location_id: nil, reservation_key: nil, space_id: nil, user_identity_id: nil)
|
|
@@ -35,9 +35,9 @@ module Seam
|
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
def get_related(access_method_ids:, exclude: nil, include: nil)
|
|
38
|
-
@client.post("/access_methods/get_related", {access_method_ids: access_method_ids, exclude: exclude, include: include}.compact)
|
|
38
|
+
res = @client.post("/access_methods/get_related", {access_method_ids: access_method_ids, exclude: exclude, include: include}.compact)
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
Seam::Resources::Batch.load_from_response(res.body["batch"])
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
def list(access_grant_id:, acs_entrance_id: nil, device_id: nil, space_id: nil)
|
|
@@ -39,9 +39,9 @@ module Seam
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
def get_related(exclude: nil, include: nil, space_ids: nil, space_keys: nil)
|
|
42
|
-
@client.post("/spaces/get_related", {exclude: exclude, include: include, space_ids: space_ids, space_keys: space_keys}.compact)
|
|
42
|
+
res = @client.post("/spaces/get_related", {exclude: exclude, include: include, space_ids: space_ids, space_keys: space_keys}.compact)
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
Seam::Resources::Batch.load_from_response(res.body["batch"])
|
|
45
45
|
end
|
|
46
46
|
|
|
47
47
|
def list(connected_account_id: nil, customer_key: nil, search: nil, space_key: nil)
|
|
@@ -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, :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_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
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Seam
|
|
4
|
+
module Resources
|
|
5
|
+
class Batch < BaseResource
|
|
6
|
+
attr_accessor :access_codes, :access_grants, :access_methods, :acs_access_groups, :acs_credentials, :acs_encoders, :acs_entrances, :acs_systems, :acs_users, :action_attempts, :client_sessions, :connect_webviews, :connected_accounts, :customization_profiles, :devices, :events, :instant_keys, :noise_thresholds, :spaces, :thermostat_daily_programs, :thermostat_schedules, :unmanaged_access_codes, :unmanaged_acs_access_groups, :unmanaged_acs_credentials, :unmanaged_acs_users, :unmanaged_devices, :user_identities, :workspaces
|
|
7
|
+
end
|
|
8
|
+
end
|
|
9
|
+
end
|
|
@@ -17,6 +17,7 @@ require_relative "acs_entrance"
|
|
|
17
17
|
require_relative "acs_system"
|
|
18
18
|
require_relative "acs_user"
|
|
19
19
|
require_relative "action_attempt"
|
|
20
|
+
require_relative "batch"
|
|
20
21
|
require_relative "bridge_client_session"
|
|
21
22
|
require_relative "bridge_connected_systems"
|
|
22
23
|
require_relative "client_session"
|
|
@@ -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, :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_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.86.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: 2025-11-
|
|
11
|
+
date: 2025-11-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -258,6 +258,7 @@ files:
|
|
|
258
258
|
- lib/seam/routes/resources/acs_system.rb
|
|
259
259
|
- lib/seam/routes/resources/acs_user.rb
|
|
260
260
|
- lib/seam/routes/resources/action_attempt.rb
|
|
261
|
+
- lib/seam/routes/resources/batch.rb
|
|
261
262
|
- lib/seam/routes/resources/bridge_client_session.rb
|
|
262
263
|
- lib/seam/routes/resources/bridge_connected_systems.rb
|
|
263
264
|
- lib/seam/routes/resources/client_session.rb
|