seam 2.46.0 → 2.48.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 +4 -4
- data/lib/seam/routes/clients/connected_accounts.rb +4 -4
- data/lib/seam/routes/clients/spaces.rb +4 -4
- 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: 58214846bed29a373bb0aa76371df380858048062d1d5100ec1333a52ffef250
|
4
|
+
data.tar.gz: 3fcaf0246348bb0a33a1e8ba0a608e1eb7ca2b0a3d014ad94df21592d06ac791
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22cba9e7230b22b9b0125c55045bc0cdd03371d3e793e9f92a555f4d57dd7eca59cb33998b57d717e090e0cabd4c5f57296abc3bd64b07739b6a2df0ef2791a1
|
7
|
+
data.tar.gz: cf00519ded992b912e37afaac8ccc906c29e156e184b1502adcdbf64fcf86e6fb7775530db612bbd71e420675cdce3f4ec16f9bb8eff4bf27921eb2b1bdeb9ec
|
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, 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
|
@@ -32,8 +32,8 @@ module Seam
|
|
32
32
|
Seam::Resources::AccessGrant.load_from_response(res.body["access_grants"])
|
33
33
|
end
|
34
34
|
|
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)
|
35
|
+
def update(access_grant_id:, ends_at: nil, name: nil, starts_at: nil)
|
36
|
+
@client.post("/access_grants/update", {access_grant_id: access_grant_id, ends_at: ends_at, name: name, starts_at: starts_at}.compact)
|
37
37
|
|
38
38
|
nil
|
39
39
|
end
|
@@ -20,8 +20,8 @@ module Seam
|
|
20
20
|
Seam::Resources::ConnectedAccount.load_from_response(res.body["connected_account"])
|
21
21
|
end
|
22
22
|
|
23
|
-
def list(custom_metadata_has: nil,
|
24
|
-
res = @client.post("/connected_accounts/list", {custom_metadata_has: custom_metadata_has,
|
23
|
+
def list(custom_metadata_has: nil, customer_key: nil, limit: nil, page_cursor: nil, search: nil, user_identifier_key: nil)
|
24
|
+
res = @client.post("/connected_accounts/list", {custom_metadata_has: custom_metadata_has, customer_key: customer_key, limit: limit, page_cursor: page_cursor, search: search, user_identifier_key: user_identifier_key}.compact)
|
25
25
|
|
26
26
|
Seam::Resources::ConnectedAccount.load_from_response(res.body["connected_accounts"])
|
27
27
|
end
|
@@ -32,8 +32,8 @@ module Seam
|
|
32
32
|
nil
|
33
33
|
end
|
34
34
|
|
35
|
-
def update(connected_account_id:, automatically_manage_new_devices: nil, custom_metadata: nil)
|
36
|
-
@client.post("/connected_accounts/update", {connected_account_id: connected_account_id, automatically_manage_new_devices: automatically_manage_new_devices, custom_metadata: custom_metadata}.compact)
|
35
|
+
def update(connected_account_id:, accepted_capabilities: nil, automatically_manage_new_devices: nil, custom_metadata: nil)
|
36
|
+
@client.post("/connected_accounts/update", {connected_account_id: connected_account_id, accepted_capabilities: accepted_capabilities, automatically_manage_new_devices: automatically_manage_new_devices, custom_metadata: custom_metadata}.compact)
|
37
37
|
|
38
38
|
nil
|
39
39
|
end
|
@@ -44,8 +44,8 @@ module Seam
|
|
44
44
|
nil
|
45
45
|
end
|
46
46
|
|
47
|
-
def list(search: nil, space_key: nil)
|
48
|
-
res = @client.post("/spaces/list", {search: search, space_key: space_key}.compact)
|
47
|
+
def list(connected_account_id: nil, search: nil, space_key: nil)
|
48
|
+
res = @client.post("/spaces/list", {connected_account_id: connected_account_id, search: search, space_key: space_key}.compact)
|
49
49
|
|
50
50
|
Seam::Resources::Space.load_from_response(res.body["spaces"])
|
51
51
|
end
|
@@ -62,8 +62,8 @@ module Seam
|
|
62
62
|
nil
|
63
63
|
end
|
64
64
|
|
65
|
-
def update(
|
66
|
-
res = @client.post("/spaces/update", {space_id: space_id,
|
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, :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
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Seam
|
4
4
|
module Resources
|
5
5
|
class AccessMethod < BaseResource
|
6
|
-
attr_accessor :access_method_id, :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, :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.48.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-
|
11
|
+
date: 2025-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|