seam 2.47.0 → 2.49.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: 17b2a85d4abd44b7199da530e5c2d7593f7f0c9b8a2c656f29e3f42078d34e50
4
- data.tar.gz: f36dc78fcccc4bf9889a901d57bce8ffb5a0f585031a78652cfb7c55cd3607e5
3
+ metadata.gz: 061a7920c6e6a5ac833b9fc3376caefdb3bc9c87eddf233012c6a62670830c08
4
+ data.tar.gz: d61b619146f8f1b0c342b18dcbce93a79ef1b0bf4d829ed42952ed95c9ae272c
5
5
  SHA512:
6
- metadata.gz: 23f24b968018d68e2975f998bbda7418d41fc600af9b7a605e35cf3d649d49808a11788e6ff95dbfcfd3c549b3bc0cc4f11df1298e5dda0162bfeba0cb9fa56b
7
- data.tar.gz: 27069e189e4d21ad2d42ce3f1e037b56a4d765904d48ac3e159ee3db048d183cb5845cf7eedfda22ec57b8f358f2d3eb1cbb85b686f32f6ed3601b987a555c29
6
+ metadata.gz: 6def9accba504861e6ba09c7eb343ed0d8b64aaac8648440f7de9030473a149f99275f8df2450411201d44bd92c64e56320e177da455fedeb9f26f9dab38a00d
7
+ data.tar.gz: bf3f2e8fd8bb3fe2f3c9a2525715bf79b07b53f5d5a7da60657cd8b579777ae78665ac2d60cef4c29a3f6a1f164f79314ec8cb53883bcd8bd1ad54fd9e491f40
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seam (2.47.0)
4
+ seam (2.49.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
@@ -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, space_ids: 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, space_ids: space_ids, 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, device_ids: nil, ends_at: nil, location: nil, location_ids: nil, name: nil, space_ids: 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, starts_at: starts_at}.compact)
13
13
 
14
14
  Seam::Resources::AccessGrant.load_from_response(res.body["access_grant"])
15
15
  end
@@ -26,14 +26,20 @@ 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
 
32
38
  Seam::Resources::AccessGrant.load_from_response(res.body["access_grants"])
33
39
  end
34
40
 
35
- def update(access_grant_id:, ends_at: nil, starts_at: nil)
36
- @client.post("/access_grants/update", {access_grant_id: access_grant_id, ends_at: ends_at, starts_at: starts_at}.compact)
41
+ def update(access_grant_id:, ends_at: nil, name: nil, starts_at: nil)
42
+ @client.post("/access_grants/update", {access_grant_id: access_grant_id, ends_at: ends_at, name: name, starts_at: starts_at}.compact)
37
43
 
38
44
  nil
39
45
  end
@@ -62,8 +62,8 @@ module Seam
62
62
  nil
63
63
  end
64
64
 
65
- def update(space_id:, name: nil)
66
- res = @client.post("/spaces/update", {space_id: space_id, name: name}.compact)
65
+ def update(acs_entrance_ids: nil, device_ids: nil, name: nil, space_id: nil, space_key: nil)
66
+ res = @client.post("/spaces/update", {acs_entrance_ids: acs_entrance_ids, device_ids: device_ids, name: name, space_id: space_id, space_key: space_key}.compact)
67
67
 
68
68
  Seam::Resources::Space.load_from_response(res.body["space"])
69
69
  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, :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, :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
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.47.0"
4
+ VERSION = "2.49.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.47.0
4
+ version: 2.49.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-14 00:00:00.000000000 Z
11
+ date: 2025-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday