seam 2.48.0 → 2.50.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58214846bed29a373bb0aa76371df380858048062d1d5100ec1333a52ffef250
4
- data.tar.gz: 3fcaf0246348bb0a33a1e8ba0a608e1eb7ca2b0a3d014ad94df21592d06ac791
3
+ metadata.gz: 9055f7ed00657a6862bfd6954c1b127d32f0b025d7583ee21f87c08ad6e3f4c3
4
+ data.tar.gz: 4319815c4d16e64de622251e5c97ad5e71cf4e4464537a3d9681b251fceb75bf
5
5
  SHA512:
6
- metadata.gz: 22cba9e7230b22b9b0125c55045bc0cdd03371d3e793e9f92a555f4d57dd7eca59cb33998b57d717e090e0cabd4c5f57296abc3bd64b07739b6a2df0ef2791a1
7
- data.tar.gz: cf00519ded992b912e37afaac8ccc906c29e156e184b1502adcdbf64fcf86e6fb7775530db612bbd71e420675cdce3f4ec16f9bb8eff4bf27921eb2b1bdeb9ec
6
+ metadata.gz: 72e0475031a483ed72f0f427ff9bdf3a3ecb3d98304cfb1d56b8b8838e997715e26aa6999003fa74dca61b43230f04a07794bd47f7c827b32ec13c6b27bfc7be
7
+ data.tar.gz: f2beea2bd5e18c8ca3fe7b053380fd93d93ba0de4f394f9144aad79717b9464c1544db10a8801afbc81df5d210651da29ac706dcc3bea0bec4e107f5299d99e9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seam (2.48.0)
4
+ seam (2.50.0)
5
5
  faraday (~> 2.7)
6
6
  faraday-retry (~> 2.2)
7
7
  svix (~> 1.30)
@@ -26,8 +26,8 @@ module Seam
26
26
  Seam::Resources::UnmanagedAccessCode.load_from_response(res.body["access_code"])
27
27
  end
28
28
 
29
- def list(device_id:, user_identifier_key: nil)
30
- res = @client.post("/access_codes/unmanaged/list", {device_id: device_id, user_identifier_key: user_identifier_key}.compact)
29
+ def list(device_id:, limit: nil, page_cursor: nil, user_identifier_key: nil)
30
+ res = @client.post("/access_codes/unmanaged/list", {device_id: device_id, limit: limit, page_cursor: page_cursor, user_identifier_key: user_identifier_key}.compact)
31
31
 
32
32
  Seam::Resources::UnmanagedAccessCode.load_from_response(res.body["access_codes"])
33
33
  end
@@ -26,6 +26,12 @@ module Seam
26
26
  Seam::Resources::AccessGrant.load_from_response(res.body["access_grant"])
27
27
  end
28
28
 
29
+ def get_related(access_grant_ids:, exclude: nil, include: nil)
30
+ @client.post("/access_grants/get_related", {access_grant_ids: access_grant_ids, exclude: exclude, include: include}.compact)
31
+
32
+ nil
33
+ end
34
+
29
35
  def list(access_grant_key: nil, acs_entrance_id: nil, acs_system_id: nil, location_id: nil, space_id: nil, user_identity_id: nil)
30
36
  res = @client.post("/access_grants/list", {access_grant_key: access_grant_key, acs_entrance_id: acs_entrance_id, acs_system_id: acs_system_id, location_id: location_id, space_id: space_id, user_identity_id: user_identity_id}.compact)
31
37
 
@@ -30,6 +30,12 @@ module Seam
30
30
  Seam::Resources::AccessMethod.load_from_response(res.body["access_method"])
31
31
  end
32
32
 
33
+ def get_related(access_method_ids:, exclude: nil, include: nil)
34
+ @client.post("/access_methods/get_related", {access_method_ids: access_method_ids, exclude: exclude, include: include}.compact)
35
+
36
+ nil
37
+ end
38
+
33
39
  def list(access_grant_id:, acs_entrance_id: nil, device_id: nil, space_id: nil)
34
40
  res = @client.post("/access_methods/list", {access_grant_id: access_grant_id, acs_entrance_id: acs_entrance_id, device_id: device_id, space_id: space_id}.compact)
35
41
 
@@ -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, :mode, :workspace_id
6
+ attr_accessor :access_method_id, :client_session_token, :code, :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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Seam
4
- VERSION = "2.48.0"
4
+ VERSION = "2.50.0"
5
5
  end
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.48.0
4
+ version: 2.50.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-15 00:00:00.000000000 Z
11
+ date: 2025-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday