seam 2.76.0 → 2.78.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 +4 -0
- data/lib/seam/routes/clients/access_grants_unmanaged.rb +24 -0
- data/lib/seam/routes/clients/access_methods.rb +4 -0
- data/lib/seam/routes/clients/access_methods_unmanaged.rb +24 -0
- data/lib/seam/routes/clients/index.rb +3 -0
- data/lib/seam/routes/clients/user_identities.rb +4 -0
- data/lib/seam/routes/clients/user_identities_unmanaged.rb +24 -0
- data/lib/seam/routes/resources/device.rb +1 -1
- data/lib/seam/routes/resources/device_provider.rb +1 -1
- data/lib/seam/routes/resources/unmanaged_device.rb +1 -1
- data/lib/seam/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e79d695baad275f75dcf9b167b001c006e5a7843a2942d16301661df52bfa40
|
4
|
+
data.tar.gz: f777873248e23eb9077eab4af22815ff9bfc176af8884a291a547677a1f0263e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f75b29f5a9d7239c699c78abb6aee527d4a0c5fd702b50ec6c2529cc8dd872edc16ff4b7f9df66e07bf5b13694f8ebd361359e9f4ed24737cab0610f3548b4f8
|
7
|
+
data.tar.gz: b7cd2a7b8bea390babd3bfbf093cf69ce83d8fc4e1f4df4fc71e4f61152ee6d647d420bacb935e9a12efd57caa7ab39344d90574280b4f40d6c75624e88c9edc
|
data/Gemfile.lock
CHANGED
@@ -8,6 +8,10 @@ module Seam
|
|
8
8
|
@defaults = defaults
|
9
9
|
end
|
10
10
|
|
11
|
+
def unmanaged
|
12
|
+
@unmanaged ||= Seam::Clients::AccessGrantsUnmanaged.new(client: @client, defaults: @defaults)
|
13
|
+
end
|
14
|
+
|
11
15
|
def create(requested_access_methods:, user_identity_id: nil, user_identity: nil, access_grant_key: nil, acs_entrance_ids: nil, customization_profile_id: nil, device_ids: nil, ends_at: nil, location: nil, location_ids: nil, name: nil, space_ids: nil, space_keys: nil, starts_at: nil)
|
12
16
|
res = @client.post("/access_grants/create", {requested_access_methods: requested_access_methods, user_identity_id: user_identity_id, user_identity: user_identity, access_grant_key: access_grant_key, acs_entrance_ids: acs_entrance_ids, customization_profile_id: customization_profile_id, device_ids: device_ids, ends_at: ends_at, location: location, location_ids: location_ids, name: name, space_ids: space_ids, space_keys: space_keys, starts_at: starts_at}.compact)
|
13
17
|
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Seam
|
4
|
+
module Clients
|
5
|
+
class AccessGrantsUnmanaged
|
6
|
+
def initialize(client:, defaults:)
|
7
|
+
@client = client
|
8
|
+
@defaults = defaults
|
9
|
+
end
|
10
|
+
|
11
|
+
def get(access_grant_id:)
|
12
|
+
@client.post("/access_grants/unmanaged/get", {access_grant_id: access_grant_id}.compact)
|
13
|
+
|
14
|
+
nil
|
15
|
+
end
|
16
|
+
|
17
|
+
def list(acs_entrance_id: nil, acs_system_id: nil, user_identity_id: nil)
|
18
|
+
@client.post("/access_grants/unmanaged/list", {acs_entrance_id: acs_entrance_id, acs_system_id: acs_system_id, user_identity_id: user_identity_id}.compact)
|
19
|
+
|
20
|
+
nil
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -10,6 +10,10 @@ module Seam
|
|
10
10
|
@defaults = defaults
|
11
11
|
end
|
12
12
|
|
13
|
+
def unmanaged
|
14
|
+
@unmanaged ||= Seam::Clients::AccessMethodsUnmanaged.new(client: @client, defaults: @defaults)
|
15
|
+
end
|
16
|
+
|
13
17
|
def delete(access_method_id:)
|
14
18
|
@client.post("/access_methods/delete", {access_method_id: access_method_id}.compact)
|
15
19
|
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Seam
|
4
|
+
module Clients
|
5
|
+
class AccessMethodsUnmanaged
|
6
|
+
def initialize(client:, defaults:)
|
7
|
+
@client = client
|
8
|
+
@defaults = defaults
|
9
|
+
end
|
10
|
+
|
11
|
+
def get(access_method_id:)
|
12
|
+
@client.post("/access_methods/unmanaged/get", {access_method_id: access_method_id}.compact)
|
13
|
+
|
14
|
+
nil
|
15
|
+
end
|
16
|
+
|
17
|
+
def list(access_grant_id:, acs_entrance_id: nil, device_id: nil, space_id: nil)
|
18
|
+
@client.post("/access_methods/unmanaged/list", {access_grant_id: access_grant_id, acs_entrance_id: acs_entrance_id, device_id: device_id, space_id: space_id}.compact)
|
19
|
+
|
20
|
+
nil
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -4,7 +4,9 @@ require_relative "access_codes"
|
|
4
4
|
require_relative "access_codes_simulate"
|
5
5
|
require_relative "access_codes_unmanaged"
|
6
6
|
require_relative "access_grants"
|
7
|
+
require_relative "access_grants_unmanaged"
|
7
8
|
require_relative "access_methods"
|
9
|
+
require_relative "access_methods_unmanaged"
|
8
10
|
require_relative "acs_access_groups"
|
9
11
|
require_relative "acs"
|
10
12
|
require_relative "acs_credentials"
|
@@ -36,5 +38,6 @@ require_relative "thermostats_daily_programs"
|
|
36
38
|
require_relative "thermostats_schedules"
|
37
39
|
require_relative "thermostats_simulate"
|
38
40
|
require_relative "user_identities"
|
41
|
+
require_relative "user_identities_unmanaged"
|
39
42
|
require_relative "webhooks"
|
40
43
|
require_relative "workspaces"
|
@@ -8,6 +8,10 @@ module Seam
|
|
8
8
|
@defaults = defaults
|
9
9
|
end
|
10
10
|
|
11
|
+
def unmanaged
|
12
|
+
@unmanaged ||= Seam::Clients::UserIdentitiesUnmanaged.new(client: @client, defaults: @defaults)
|
13
|
+
end
|
14
|
+
|
11
15
|
def add_acs_user(acs_user_id:, user_identity_id: nil, user_identity_key: nil)
|
12
16
|
@client.post("/user_identities/add_acs_user", {acs_user_id: acs_user_id, user_identity_id: user_identity_id, user_identity_key: user_identity_key}.compact)
|
13
17
|
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Seam
|
4
|
+
module Clients
|
5
|
+
class UserIdentitiesUnmanaged
|
6
|
+
def initialize(client:, defaults:)
|
7
|
+
@client = client
|
8
|
+
@defaults = defaults
|
9
|
+
end
|
10
|
+
|
11
|
+
def get(user_identity_id:)
|
12
|
+
@client.post("/user_identities/unmanaged/get", {user_identity_id: user_identity_id}.compact)
|
13
|
+
|
14
|
+
nil
|
15
|
+
end
|
16
|
+
|
17
|
+
def list(search: nil)
|
18
|
+
@client.post("/user_identities/unmanaged/list", {search: search}.compact)
|
19
|
+
|
20
|
+
nil
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Seam
|
4
4
|
module Resources
|
5
5
|
class Device < BaseResource
|
6
|
-
attr_accessor :can_hvac_cool, :can_hvac_heat, :can_hvac_heat_cool, :can_program_offline_access_codes, :can_program_online_access_codes, :can_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :can_simulate_hub_connection, :can_simulate_hub_disconnection, :can_simulate_paid_subscription, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :capabilities_supported, :connected_account_id, :custom_metadata, :device_id, :device_type, :display_name, :is_managed, :location, :nickname, :properties, :space_ids, :workspace_id
|
6
|
+
attr_accessor :can_hvac_cool, :can_hvac_heat, :can_hvac_heat_cool, :can_program_offline_access_codes, :can_program_online_access_codes, :can_program_thermostat_programs_as_different_each_day, :can_program_thermostat_programs_as_same_each_day, :can_program_thermostat_programs_as_weekday_weekend, :can_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :can_simulate_hub_connection, :can_simulate_hub_disconnection, :can_simulate_paid_subscription, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :capabilities_supported, :connected_account_id, :custom_metadata, :device_id, :device_type, :display_name, :is_managed, :location, :nickname, :properties, :space_ids, :workspace_id
|
7
7
|
|
8
8
|
date_accessor :created_at
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Seam
|
4
4
|
module Resources
|
5
5
|
class DeviceProvider < BaseResource
|
6
|
-
attr_accessor :can_hvac_cool, :can_hvac_heat, :can_hvac_heat_cool, :can_program_offline_access_codes, :can_program_online_access_codes, :can_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :can_simulate_hub_connection, :can_simulate_hub_disconnection, :can_simulate_paid_subscription, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :device_provider_name, :display_name, :image_url, :provider_categories
|
6
|
+
attr_accessor :can_hvac_cool, :can_hvac_heat, :can_hvac_heat_cool, :can_program_offline_access_codes, :can_program_online_access_codes, :can_program_thermostat_programs_as_different_each_day, :can_program_thermostat_programs_as_same_each_day, :can_program_thermostat_programs_as_weekday_weekend, :can_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :can_simulate_hub_connection, :can_simulate_hub_disconnection, :can_simulate_paid_subscription, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :device_provider_name, :display_name, :image_url, :provider_categories
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Seam
|
4
4
|
module Resources
|
5
5
|
class UnmanagedDevice < BaseResource
|
6
|
-
attr_accessor :can_hvac_cool, :can_hvac_heat, :can_hvac_heat_cool, :can_program_offline_access_codes, :can_program_online_access_codes, :can_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :can_simulate_hub_connection, :can_simulate_hub_disconnection, :can_simulate_paid_subscription, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :capabilities_supported, :connected_account_id, :custom_metadata, :device_id, :device_type, :is_managed, :location, :properties, :workspace_id
|
6
|
+
attr_accessor :can_hvac_cool, :can_hvac_heat, :can_hvac_heat_cool, :can_program_offline_access_codes, :can_program_online_access_codes, :can_program_thermostat_programs_as_different_each_day, :can_program_thermostat_programs_as_same_each_day, :can_program_thermostat_programs_as_weekday_weekend, :can_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :can_simulate_hub_connection, :can_simulate_hub_disconnection, :can_simulate_paid_subscription, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :capabilities_supported, :connected_account_id, :custom_metadata, :device_id, :device_type, :is_managed, :location, :properties, :workspace_id
|
7
7
|
|
8
8
|
date_accessor :created_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.78.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-09-
|
11
|
+
date: 2025-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -207,7 +207,9 @@ files:
|
|
207
207
|
- lib/seam/routes/clients/access_codes_simulate.rb
|
208
208
|
- lib/seam/routes/clients/access_codes_unmanaged.rb
|
209
209
|
- lib/seam/routes/clients/access_grants.rb
|
210
|
+
- lib/seam/routes/clients/access_grants_unmanaged.rb
|
210
211
|
- lib/seam/routes/clients/access_methods.rb
|
212
|
+
- lib/seam/routes/clients/access_methods_unmanaged.rb
|
211
213
|
- lib/seam/routes/clients/acs.rb
|
212
214
|
- lib/seam/routes/clients/acs_access_groups.rb
|
213
215
|
- lib/seam/routes/clients/acs_credentials.rb
|
@@ -240,6 +242,7 @@ files:
|
|
240
242
|
- lib/seam/routes/clients/thermostats_schedules.rb
|
241
243
|
- lib/seam/routes/clients/thermostats_simulate.rb
|
242
244
|
- lib/seam/routes/clients/user_identities.rb
|
245
|
+
- lib/seam/routes/clients/user_identities_unmanaged.rb
|
243
246
|
- lib/seam/routes/clients/webhooks.rb
|
244
247
|
- lib/seam/routes/clients/workspaces.rb
|
245
248
|
- lib/seam/routes/resources/access_code.rb
|