seam 2.52.0 → 2.54.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/index.rb +0 -1
- data/lib/seam/routes/clients/instant_keys.rb +6 -0
- data/lib/seam/routes/clients/user_identities.rb +0 -4
- 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 +2 -3
- data/lib/seam/routes/clients/user_identities_enrollment_automations.rb +0 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afc7f142c54be5daa10690eaa4841f37807ab87f49ab85eb8873556bf22873c9
|
4
|
+
data.tar.gz: 3e73bc25d543d60a15b0f38bb46e5b9524cc370f7393d924ecef419aa2290b0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db166f9251bc1de45bc38c24a3911760c9977f164de453b4594b4ec0851437be4fde34a2614d7a492d80f00a805be74f3de34eb8ac2a8577f40c7b5e48f48ace
|
7
|
+
data.tar.gz: 0bad067896b45286e460b033e33cb93adbdfdd953709d418e62ea0d817a0424b474dd7cbc5e78963f81d858bf5630f788ee2accb6bf9295feba64d33cc935a5f
|
data/Gemfile.lock
CHANGED
@@ -36,6 +36,5 @@ require_relative "thermostats_daily_programs"
|
|
36
36
|
require_relative "thermostats_schedules"
|
37
37
|
require_relative "thermostats_simulate"
|
38
38
|
require_relative "user_identities"
|
39
|
-
require_relative "user_identities_enrollment_automations"
|
40
39
|
require_relative "webhooks"
|
41
40
|
require_relative "workspaces"
|
@@ -8,6 +8,12 @@ module Seam
|
|
8
8
|
@defaults = defaults
|
9
9
|
end
|
10
10
|
|
11
|
+
def delete(instant_key_id:)
|
12
|
+
@client.post("/instant_keys/delete", {instant_key_id: instant_key_id}.compact)
|
13
|
+
|
14
|
+
nil
|
15
|
+
end
|
16
|
+
|
11
17
|
def get(instant_key_id:)
|
12
18
|
res = @client.post("/instant_keys/get", {instant_key_id: instant_key_id}.compact)
|
13
19
|
|
@@ -8,10 +8,6 @@ module Seam
|
|
8
8
|
@defaults = defaults
|
9
9
|
end
|
10
10
|
|
11
|
-
def enrollment_automations
|
12
|
-
@enrollment_automations ||= Seam::Clients::UserIdentitiesEnrollmentAutomations.new(client: @client, defaults: @defaults)
|
13
|
-
end
|
14
|
-
|
15
11
|
def add_acs_user(acs_user_id:, user_identity_id:)
|
16
12
|
@client.post("/user_identities/add_acs_user", {acs_user_id: acs_user_id, user_identity_id: user_identity_id}.compact)
|
17
13
|
|
@@ -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_simulate_connection, :can_simulate_disconnection, :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, :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_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :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, :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_simulate_connection, :can_simulate_disconnection, :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_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :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_simulate_connection, :can_simulate_disconnection, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :capabilities_supported, :connected_account_id, :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_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :capabilities_supported, :connected_account_id, :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.54.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-07-
|
11
|
+
date: 2025-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -240,7 +240,6 @@ files:
|
|
240
240
|
- lib/seam/routes/clients/thermostats_schedules.rb
|
241
241
|
- lib/seam/routes/clients/thermostats_simulate.rb
|
242
242
|
- lib/seam/routes/clients/user_identities.rb
|
243
|
-
- lib/seam/routes/clients/user_identities_enrollment_automations.rb
|
244
243
|
- lib/seam/routes/clients/webhooks.rb
|
245
244
|
- lib/seam/routes/clients/workspaces.rb
|
246
245
|
- lib/seam/routes/resources/access_code.rb
|
@@ -1,36 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Seam
|
4
|
-
module Clients
|
5
|
-
class UserIdentitiesEnrollmentAutomations
|
6
|
-
def initialize(client:, defaults:)
|
7
|
-
@client = client
|
8
|
-
@defaults = defaults
|
9
|
-
end
|
10
|
-
|
11
|
-
def delete(enrollment_automation_id:)
|
12
|
-
@client.post("/user_identities/enrollment_automations/delete", {enrollment_automation_id: enrollment_automation_id}.compact)
|
13
|
-
|
14
|
-
nil
|
15
|
-
end
|
16
|
-
|
17
|
-
def get(enrollment_automation_id:)
|
18
|
-
res = @client.post("/user_identities/enrollment_automations/get", {enrollment_automation_id: enrollment_automation_id}.compact)
|
19
|
-
|
20
|
-
Seam::Resources::EnrollmentAutomation.load_from_response(res.body["enrollment_automation"])
|
21
|
-
end
|
22
|
-
|
23
|
-
def launch(credential_manager_acs_system_id:, user_identity_id:, acs_credential_pool_id: nil, create_credential_manager_user: nil, credential_manager_acs_user_id: nil)
|
24
|
-
res = @client.post("/user_identities/enrollment_automations/launch", {credential_manager_acs_system_id: credential_manager_acs_system_id, user_identity_id: user_identity_id, acs_credential_pool_id: acs_credential_pool_id, create_credential_manager_user: create_credential_manager_user, credential_manager_acs_user_id: credential_manager_acs_user_id}.compact)
|
25
|
-
|
26
|
-
Seam::Resources::EnrollmentAutomation.load_from_response(res.body["enrollment_automation"])
|
27
|
-
end
|
28
|
-
|
29
|
-
def list(user_identity_id:)
|
30
|
-
res = @client.post("/user_identities/enrollment_automations/list", {user_identity_id: user_identity_id}.compact)
|
31
|
-
|
32
|
-
Seam::Resources::EnrollmentAutomation.load_from_response(res.body["enrollment_automations"])
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|