seam 2.59.0 → 2.61.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/acs_entrances.rb +2 -2
- data/lib/seam/routes/clients/acs_systems.rb +2 -2
- data/lib/seam/routes/clients/connect_webviews.rb +2 -2
- data/lib/seam/routes/clients/devices.rb +2 -2
- data/lib/seam/routes/clients/devices_unmanaged.rb +2 -2
- data/lib/seam/routes/clients/instant_keys.rb +2 -2
- data/lib/seam/routes/clients/locks.rb +2 -2
- data/lib/seam/routes/clients/noise_sensors.rb +2 -2
- data/lib/seam/routes/clients/thermostats.rb +2 -2
- data/lib/seam/routes/resources/access_grant.rb +1 -1
- data/lib/seam/routes/resources/access_method.rb +1 -1
- data/lib/seam/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff47efbf244e24d6f1e1844c7c41baca32ffb4b42aee2702457a9dd57020a306
|
4
|
+
data.tar.gz: 2261ae655f191788ad9f7e1d4baa1058b2f59bd305b618aa735e61e88ff5c1ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dedf81c8309587d3a7593d6388e0d1f26e4fdea66591877329d2394736a8c83c2b8d68ce373fd62315ad811b3e1fc4ea1cc20001239f93ef8bf28e53330dea3
|
7
|
+
data.tar.gz: 93ac1c0709ea89760a1a41c63b33d9596505a51c0448757dea1bd576d8e1006f91550459a4bc76d1708d15d4c191616e5c87d6134384f4dc211103989ea84079
|
data/Gemfile.lock
CHANGED
@@ -8,8 +8,8 @@ module Seam
|
|
8
8
|
@defaults = defaults
|
9
9
|
end
|
10
10
|
|
11
|
-
def create(requested_access_methods:, user_identity_id: nil, user_identity: nil, access_grant_key: nil, acs_entrance_ids: nil, device_ids: nil, ends_at: nil, location: nil, location_ids: nil, name: nil, space_ids: nil, space_keys: nil, starts_at: nil)
|
12
|
-
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, 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)
|
11
|
+
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
|
+
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
13
|
|
14
14
|
Seam::Resources::AccessGrant.load_from_response(res.body["access_grant"])
|
15
15
|
end
|
@@ -20,8 +20,8 @@ module Seam
|
|
20
20
|
nil
|
21
21
|
end
|
22
22
|
|
23
|
-
def list(access_grant_id: nil, access_method_id: nil, acs_credential_id: nil, acs_entrance_ids: nil, acs_system_id: nil, connected_account_id: nil, limit: nil, location_id: nil, page_cursor: nil, search: nil, space_id: nil)
|
24
|
-
res = @client.post("/acs/entrances/list", {access_grant_id: access_grant_id, access_method_id: access_method_id, acs_credential_id: acs_credential_id, acs_entrance_ids: acs_entrance_ids, acs_system_id: acs_system_id, connected_account_id: connected_account_id, limit: limit, location_id: location_id, page_cursor: page_cursor, search: search, space_id: space_id}.compact)
|
23
|
+
def list(access_grant_id: nil, access_method_id: nil, acs_credential_id: nil, acs_entrance_ids: nil, acs_system_id: nil, connected_account_id: nil, customer_key: nil, limit: nil, location_id: nil, page_cursor: nil, search: nil, space_id: nil)
|
24
|
+
res = @client.post("/acs/entrances/list", {access_grant_id: access_grant_id, access_method_id: access_method_id, acs_credential_id: acs_credential_id, acs_entrance_ids: acs_entrance_ids, acs_system_id: acs_system_id, connected_account_id: connected_account_id, customer_key: customer_key, limit: limit, location_id: location_id, page_cursor: page_cursor, search: search, space_id: space_id}.compact)
|
25
25
|
|
26
26
|
Seam::Resources::AcsEntrance.load_from_response(res.body["acs_entrances"])
|
27
27
|
end
|
@@ -14,8 +14,8 @@ module Seam
|
|
14
14
|
Seam::Resources::AcsSystem.load_from_response(res.body["acs_system"])
|
15
15
|
end
|
16
16
|
|
17
|
-
def list(connected_account_id: nil)
|
18
|
-
res = @client.post("/acs/systems/list", {connected_account_id: connected_account_id}.compact)
|
17
|
+
def list(connected_account_id: nil, customer_key: nil)
|
18
|
+
res = @client.post("/acs/systems/list", {connected_account_id: connected_account_id, customer_key: customer_key}.compact)
|
19
19
|
|
20
20
|
Seam::Resources::AcsSystem.load_from_response(res.body["acs_systems"])
|
21
21
|
end
|
@@ -26,8 +26,8 @@ module Seam
|
|
26
26
|
Seam::Resources::ConnectWebview.load_from_response(res.body["connect_webview"])
|
27
27
|
end
|
28
28
|
|
29
|
-
def list(custom_metadata_has: nil, limit: nil, page_cursor: nil, user_identifier_key: nil)
|
30
|
-
res = @client.post("/connect_webviews/list", {custom_metadata_has: custom_metadata_has, limit: limit, page_cursor: page_cursor, user_identifier_key: user_identifier_key}.compact)
|
29
|
+
def list(custom_metadata_has: nil, customer_key: nil, limit: nil, page_cursor: nil, user_identifier_key: nil)
|
30
|
+
res = @client.post("/connect_webviews/list", {custom_metadata_has: custom_metadata_has, customer_key: customer_key, limit: limit, page_cursor: page_cursor, user_identifier_key: user_identifier_key}.compact)
|
31
31
|
|
32
32
|
Seam::Resources::ConnectWebview.load_from_response(res.body["connect_webviews"])
|
33
33
|
end
|
@@ -22,8 +22,8 @@ module Seam
|
|
22
22
|
Seam::Resources::Device.load_from_response(res.body["device"])
|
23
23
|
end
|
24
24
|
|
25
|
-
def list(access_method_id: nil, connect_webview_id: nil, connected_account_id: nil, connected_account_ids: nil, created_before: nil, custom_metadata_has: nil,
|
26
|
-
res = @client.post("/devices/list", {access_method_id: access_method_id, connect_webview_id: connect_webview_id, connected_account_id: connected_account_id, connected_account_ids: connected_account_ids, created_before: created_before, custom_metadata_has: custom_metadata_has,
|
25
|
+
def list(access_method_id: nil, connect_webview_id: nil, connected_account_id: nil, connected_account_ids: nil, created_before: nil, custom_metadata_has: nil, customer_key: nil, device_ids: nil, device_type: nil, device_types: nil, exclude_if: nil, include_if: nil, limit: nil, manufacturer: nil, page_cursor: nil, search: nil, space_id: nil, unstable_location_id: nil, user_identifier_key: nil)
|
26
|
+
res = @client.post("/devices/list", {access_method_id: access_method_id, connect_webview_id: connect_webview_id, connected_account_id: connected_account_id, connected_account_ids: connected_account_ids, created_before: created_before, custom_metadata_has: custom_metadata_has, customer_key: customer_key, device_ids: device_ids, device_type: device_type, device_types: device_types, exclude_if: exclude_if, include_if: include_if, limit: limit, manufacturer: manufacturer, page_cursor: page_cursor, search: search, space_id: space_id, unstable_location_id: unstable_location_id, user_identifier_key: user_identifier_key}.compact)
|
27
27
|
|
28
28
|
Seam::Resources::Device.load_from_response(res.body["devices"])
|
29
29
|
end
|
@@ -14,8 +14,8 @@ module Seam
|
|
14
14
|
Seam::Resources::UnmanagedDevice.load_from_response(res.body["device"])
|
15
15
|
end
|
16
16
|
|
17
|
-
def list(access_method_id: nil, connect_webview_id: nil, connected_account_id: nil, connected_account_ids: nil, created_before: nil, custom_metadata_has: nil,
|
18
|
-
res = @client.post("/devices/unmanaged/list", {access_method_id: access_method_id, connect_webview_id: connect_webview_id, connected_account_id: connected_account_id, connected_account_ids: connected_account_ids, created_before: created_before, custom_metadata_has: custom_metadata_has,
|
17
|
+
def list(access_method_id: nil, connect_webview_id: nil, connected_account_id: nil, connected_account_ids: nil, created_before: nil, custom_metadata_has: nil, customer_key: nil, device_ids: nil, device_type: nil, device_types: nil, exclude_if: nil, include_if: nil, limit: nil, manufacturer: nil, page_cursor: nil, search: nil, space_id: nil, unstable_location_id: nil, user_identifier_key: nil)
|
18
|
+
res = @client.post("/devices/unmanaged/list", {access_method_id: access_method_id, connect_webview_id: connect_webview_id, connected_account_id: connected_account_id, connected_account_ids: connected_account_ids, created_before: created_before, custom_metadata_has: custom_metadata_has, customer_key: customer_key, device_ids: device_ids, device_type: device_type, device_types: device_types, exclude_if: exclude_if, include_if: include_if, limit: limit, manufacturer: manufacturer, page_cursor: page_cursor, search: search, space_id: space_id, unstable_location_id: unstable_location_id, user_identifier_key: user_identifier_key}.compact)
|
19
19
|
|
20
20
|
Seam::Resources::UnmanagedDevice.load_from_response(res.body["devices"])
|
21
21
|
end
|
@@ -14,8 +14,8 @@ module Seam
|
|
14
14
|
nil
|
15
15
|
end
|
16
16
|
|
17
|
-
def get(instant_key_id:)
|
18
|
-
res = @client.post("/instant_keys/get", {instant_key_id: instant_key_id}.compact)
|
17
|
+
def get(instant_key_id: nil, instant_key_url: nil)
|
18
|
+
res = @client.post("/instant_keys/get", {instant_key_id: instant_key_id, instant_key_url: instant_key_url}.compact)
|
19
19
|
|
20
20
|
Seam::Resources::InstantKey.load_from_response(res.body["instant_key"])
|
21
21
|
end
|
@@ -20,8 +20,8 @@ module Seam
|
|
20
20
|
Seam::Resources::Device.load_from_response(res.body["device"])
|
21
21
|
end
|
22
22
|
|
23
|
-
def list(access_method_id: nil, connect_webview_id: nil, connected_account_id: nil, connected_account_ids: nil, created_before: nil, custom_metadata_has: nil,
|
24
|
-
res = @client.post("/locks/list", {access_method_id: access_method_id, connect_webview_id: connect_webview_id, connected_account_id: connected_account_id, connected_account_ids: connected_account_ids, created_before: created_before, custom_metadata_has: custom_metadata_has,
|
23
|
+
def list(access_method_id: nil, connect_webview_id: nil, connected_account_id: nil, connected_account_ids: nil, created_before: nil, custom_metadata_has: nil, customer_key: nil, device_ids: nil, device_type: nil, device_types: nil, exclude_if: nil, include_if: nil, limit: nil, manufacturer: nil, page_cursor: nil, search: nil, space_id: nil, unstable_location_id: nil, user_identifier_key: nil)
|
24
|
+
res = @client.post("/locks/list", {access_method_id: access_method_id, connect_webview_id: connect_webview_id, connected_account_id: connected_account_id, connected_account_ids: connected_account_ids, created_before: created_before, custom_metadata_has: custom_metadata_has, customer_key: customer_key, device_ids: device_ids, device_type: device_type, device_types: device_types, exclude_if: exclude_if, include_if: include_if, limit: limit, manufacturer: manufacturer, page_cursor: page_cursor, search: search, space_id: space_id, unstable_location_id: unstable_location_id, user_identifier_key: user_identifier_key}.compact)
|
25
25
|
|
26
26
|
Seam::Resources::Device.load_from_response(res.body["devices"])
|
27
27
|
end
|
@@ -16,8 +16,8 @@ module Seam
|
|
16
16
|
@simulate ||= Seam::Clients::NoiseSensorsSimulate.new(client: @client, defaults: @defaults)
|
17
17
|
end
|
18
18
|
|
19
|
-
def list(access_method_id: nil, connect_webview_id: nil, connected_account_id: nil, connected_account_ids: nil, created_before: nil, custom_metadata_has: nil,
|
20
|
-
res = @client.post("/noise_sensors/list", {access_method_id: access_method_id, connect_webview_id: connect_webview_id, connected_account_id: connected_account_id, connected_account_ids: connected_account_ids, created_before: created_before, custom_metadata_has: custom_metadata_has,
|
19
|
+
def list(access_method_id: nil, connect_webview_id: nil, connected_account_id: nil, connected_account_ids: nil, created_before: nil, custom_metadata_has: nil, customer_key: nil, device_ids: nil, device_type: nil, device_types: nil, exclude_if: nil, include_if: nil, limit: nil, manufacturer: nil, page_cursor: nil, search: nil, space_id: nil, unstable_location_id: nil, user_identifier_key: nil)
|
20
|
+
res = @client.post("/noise_sensors/list", {access_method_id: access_method_id, connect_webview_id: connect_webview_id, connected_account_id: connected_account_id, connected_account_ids: connected_account_ids, created_before: created_before, custom_metadata_has: custom_metadata_has, customer_key: customer_key, device_ids: device_ids, device_type: device_type, device_types: device_types, exclude_if: exclude_if, include_if: include_if, limit: limit, manufacturer: manufacturer, page_cursor: page_cursor, search: search, space_id: space_id, unstable_location_id: unstable_location_id, user_identifier_key: user_identifier_key}.compact)
|
21
21
|
|
22
22
|
Seam::Resources::Device.load_from_response(res.body["devices"])
|
23
23
|
end
|
@@ -66,8 +66,8 @@ module Seam
|
|
66
66
|
Helpers::ActionAttempt.decide_and_wait(Seam::Resources::ActionAttempt.load_from_response(res.body["action_attempt"]), @client, wait_for_action_attempt)
|
67
67
|
end
|
68
68
|
|
69
|
-
def list(access_method_id: nil, connect_webview_id: nil, connected_account_id: nil, connected_account_ids: nil, created_before: nil, custom_metadata_has: nil,
|
70
|
-
res = @client.post("/thermostats/list", {access_method_id: access_method_id, connect_webview_id: connect_webview_id, connected_account_id: connected_account_id, connected_account_ids: connected_account_ids, created_before: created_before, custom_metadata_has: custom_metadata_has,
|
69
|
+
def list(access_method_id: nil, connect_webview_id: nil, connected_account_id: nil, connected_account_ids: nil, created_before: nil, custom_metadata_has: nil, customer_key: nil, device_ids: nil, device_type: nil, device_types: nil, exclude_if: nil, include_if: nil, limit: nil, manufacturer: nil, page_cursor: nil, search: nil, space_id: nil, unstable_location_id: nil, user_identifier_key: nil)
|
70
|
+
res = @client.post("/thermostats/list", {access_method_id: access_method_id, connect_webview_id: connect_webview_id, connected_account_id: connected_account_id, connected_account_ids: connected_account_ids, created_before: created_before, custom_metadata_has: custom_metadata_has, customer_key: customer_key, device_ids: device_ids, device_type: device_type, device_types: device_types, exclude_if: exclude_if, include_if: include_if, limit: limit, manufacturer: manufacturer, page_cursor: page_cursor, search: search, space_id: space_id, unstable_location_id: unstable_location_id, user_identifier_key: user_identifier_key}.compact)
|
71
71
|
|
72
72
|
Seam::Resources::Device.load_from_response(res.body["devices"])
|
73
73
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Seam
|
4
4
|
module Resources
|
5
5
|
class AccessGrant < BaseResource
|
6
|
-
attr_accessor :access_grant_id, :access_grant_key, :access_method_ids, :client_session_token, :display_name, :instant_key_url, :location_ids, :name, :requested_access_methods, :space_ids, :user_identity_id, :workspace_id
|
6
|
+
attr_accessor :access_grant_id, :access_grant_key, :access_method_ids, :client_session_token, :customization_profile_id, :display_name, :instant_key_url, :location_ids, :name, :requested_access_methods, :space_ids, :user_identity_id, :workspace_id
|
7
7
|
|
8
8
|
date_accessor :created_at, :ends_at, :starts_at
|
9
9
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Seam
|
4
4
|
module Resources
|
5
5
|
class AccessMethod < BaseResource
|
6
|
-
attr_accessor :access_method_id, :client_session_token, :code, :display_name, :instant_key_url, :is_encoding_required, :is_issued, :mode, :workspace_id
|
6
|
+
attr_accessor :access_method_id, :client_session_token, :code, :customization_profile_id, :display_name, :instant_key_url, :is_encoding_required, :is_issued, :mode, :workspace_id
|
7
7
|
|
8
8
|
date_accessor :created_at, :issued_at
|
9
9
|
end
|
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.61.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-08-
|
11
|
+
date: 2025-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|