seam 2.50.0 → 2.51.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: 9055f7ed00657a6862bfd6954c1b127d32f0b025d7583ee21f87c08ad6e3f4c3
4
- data.tar.gz: 4319815c4d16e64de622251e5c97ad5e71cf4e4464537a3d9681b251fceb75bf
3
+ metadata.gz: f05c6a6d33f3c5cafcc2fed36a3182f08fbf03c24c058c15d9f855751f7f01be
4
+ data.tar.gz: 2af72fd773d98ab98621cd2f4aaf8d0af6ce5b4607f32baf6f0db7330c2c8f70
5
5
  SHA512:
6
- metadata.gz: 72e0475031a483ed72f0f427ff9bdf3a3ecb3d98304cfb1d56b8b8838e997715e26aa6999003fa74dca61b43230f04a07794bd47f7c827b32ec13c6b27bfc7be
7
- data.tar.gz: f2beea2bd5e18c8ca3fe7b053380fd93d93ba0de4f394f9144aad79717b9464c1544db10a8801afbc81df5d210651da29ac706dcc3bea0bec4e107f5299d99e9
6
+ metadata.gz: e7204d642549ee670c32227218e6709bdb00af082bcfa3e2bd2b228fb16a0e3b61d7e8d2b2b02c89ffed6c701fdd60b81f9f066b45e6081c560b799234ebf278
7
+ data.tar.gz: f1b587eec032f82297500614c02bdd41201eaf0f78f1fe4141c171d8cb1b4029630bfe2059b2b12b6ced3e10e3ed9427cd4c045d92216fc086ec1a556d062ff0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seam (2.50.0)
4
+ seam (2.51.0)
5
5
  faraday (~> 2.7)
6
6
  faraday-retry (~> 2.2)
7
7
  svix (~> 1.30)
@@ -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, 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)
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)
13
13
 
14
14
  Seam::Resources::AccessGrant.load_from_response(res.body["access_grant"])
15
15
  end
@@ -22,6 +22,7 @@ require_relative "devices"
22
22
  require_relative "devices_simulate"
23
23
  require_relative "devices_unmanaged"
24
24
  require_relative "events"
25
+ require_relative "instant_keys"
25
26
  require_relative "locks"
26
27
  require_relative "locks_simulate"
27
28
  require_relative "noise_sensors"
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Seam
4
+ module Clients
5
+ class InstantKeys
6
+ def initialize(client:, defaults:)
7
+ @client = client
8
+ @defaults = defaults
9
+ end
10
+
11
+ def list(user_identity_id: nil)
12
+ res = @client.post("/instant_keys/list", {user_identity_id: user_identity_id}.compact)
13
+
14
+ Seam::Resources::InstantKey.load_from_response(res.body["instant_keys"])
15
+ end
16
+ end
17
+ end
18
+ end
@@ -3,7 +3,7 @@
3
3
  module Seam
4
4
  module Resources
5
5
  class PhoneSession < BaseResource
6
- attr_accessor :provider_sessions
6
+ attr_accessor :provider_sessions, :user_identity, :workspace_id
7
7
  end
8
8
  end
9
9
  end
@@ -46,6 +46,10 @@ module Seam
46
46
  @events ||= Seam::Clients::Events.new(client: @client, defaults: @defaults)
47
47
  end
48
48
 
49
+ def instant_keys
50
+ @instant_keys ||= Seam::Clients::InstantKeys.new(client: @client, defaults: @defaults)
51
+ end
52
+
49
53
  def locks
50
54
  @locks ||= Seam::Clients::Locks.new(client: @client, defaults: @defaults)
51
55
  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.50.0"
4
+ VERSION = "2.51.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.50.0
4
+ version: 2.51.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-17 00:00:00.000000000 Z
11
+ date: 2025-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -226,6 +226,7 @@ files:
226
226
  - lib/seam/routes/clients/devices_unmanaged.rb
227
227
  - lib/seam/routes/clients/events.rb
228
228
  - lib/seam/routes/clients/index.rb
229
+ - lib/seam/routes/clients/instant_keys.rb
229
230
  - lib/seam/routes/clients/locks.rb
230
231
  - lib/seam/routes/clients/locks_simulate.rb
231
232
  - lib/seam/routes/clients/noise_sensors.rb