seam 2.129.0 → 2.129.1
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/event.rb +1 -1
- data/lib/seam/routes/resources/index.rb +0 -1
- data/lib/seam/version.rb +1 -1
- metadata +1 -2
- 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: de49311dd96b1403d94c6d5d411e01b87504b0526b28c1d1174f6cb7faf4a616
|
|
4
|
+
data.tar.gz: e6a6a472bcbd88960388112fc38713b3a2625c1415faac178b5601d9b19bf056
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb665a5f596a64b7d443aefafcd2fdff11a957e90e561c8eb3b8cfe4bb665d3a91864952e2769db65ec5adb87f256827010e666cf50c139d5b3021c611ab8b84
|
|
7
|
+
data.tar.gz: 69b26dec55c87956cf6efbff257b55abbbd2dec2e1810d8f604427a3f82e9b4c985c08d7d37fe912f2e7f1e115ac424cd25ee8e564fcca706443e4c73611d0ec
|
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 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"
|
data/lib/seam/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: seam
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.129.
|
|
4
|
+
version: 2.129.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Seam Labs, Inc.
|
|
@@ -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
|