seam 2.122.0 → 2.124.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_encoders.rb +4 -4
- data/lib/seam/routes/clients/connected_accounts.rb +2 -2
- data/lib/seam/routes/resources/connected_account.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: 2ef7005d4b33e4efeca83d49eb1f636a8c00e4cdaf18bf44ccbd1ccdb6f01407
|
|
4
|
+
data.tar.gz: 3fcfeca1612d7017158e1d8da7dbce05e1ad8aec7fd570428461feaa41b8224c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8500dfa940b069cac5e0bd219dc35fc33e1a4420d992e66a9c0cbf2350d7db389d380932a50c635a7598ad5dcd7802caa34600ce06061844bbc4337c45fb5831
|
|
7
|
+
data.tar.gz: 2ea0e38a86b56b33954c24b6b151ab70eba3947f5ffbc47a4e8ddf29a6d4468d00538cde04d7182ddb991a80822d6bfb82e629bce67c1d9bf36d737f1c547fa2
|
data/Gemfile.lock
CHANGED
|
@@ -36,8 +36,8 @@ module Seam
|
|
|
36
36
|
Seam::Resources::Batch.load_from_response(res.body["batch"])
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
def list(access_code_id: nil, access_grant_ids: nil, access_grant_key: nil, acs_entrance_id: nil, acs_system_id: nil, customer_key: nil, limit: nil, location_id: nil, page_cursor: nil, reservation_key: nil, space_id: nil, user_identity_id: nil)
|
|
40
|
-
res = @client.post("/access_grants/list", {access_code_id: access_code_id, access_grant_ids: access_grant_ids, access_grant_key: access_grant_key, acs_entrance_id: acs_entrance_id, acs_system_id: acs_system_id, customer_key: customer_key, limit: limit, location_id: location_id, page_cursor: page_cursor, reservation_key: reservation_key, space_id: space_id, user_identity_id: user_identity_id}.compact)
|
|
39
|
+
def list(access_code_id: nil, access_grant_ids: nil, access_grant_key: nil, acs_entrance_id: nil, acs_system_id: nil, customer_key: nil, device_id: nil, limit: nil, location_id: nil, page_cursor: nil, reservation_key: nil, space_id: nil, user_identity_id: nil)
|
|
40
|
+
res = @client.post("/access_grants/list", {access_code_id: access_code_id, access_grant_ids: access_grant_ids, access_grant_key: access_grant_key, acs_entrance_id: acs_entrance_id, acs_system_id: acs_system_id, customer_key: customer_key, device_id: device_id, limit: limit, location_id: location_id, page_cursor: page_cursor, reservation_key: reservation_key, space_id: space_id, user_identity_id: user_identity_id}.compact)
|
|
41
41
|
|
|
42
42
|
Seam::Resources::AccessGrant.load_from_response(res.body["access_grants"])
|
|
43
43
|
end
|
|
@@ -30,16 +30,16 @@ module Seam
|
|
|
30
30
|
Seam::Resources::AcsEncoder.load_from_response(res.body["acs_encoders"])
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
-
def scan_credential(acs_encoder_id:, wait_for_action_attempt: nil)
|
|
34
|
-
res = @client.post("/acs/encoders/scan_credential", {acs_encoder_id: acs_encoder_id}.compact)
|
|
33
|
+
def scan_credential(acs_encoder_id:, salto_ks_metadata: nil, wait_for_action_attempt: nil)
|
|
34
|
+
res = @client.post("/acs/encoders/scan_credential", {acs_encoder_id: acs_encoder_id, salto_ks_metadata: salto_ks_metadata}.compact)
|
|
35
35
|
|
|
36
36
|
wait_for_action_attempt = wait_for_action_attempt.nil? ? @defaults.wait_for_action_attempt : wait_for_action_attempt
|
|
37
37
|
|
|
38
38
|
Helpers::ActionAttempt.decide_and_wait(Seam::Resources::ActionAttempt.load_from_response(res.body["action_attempt"]), @client, wait_for_action_attempt)
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
def scan_to_assign_credential(acs_encoder_id:, acs_user_id: nil, user_identity_id: nil, wait_for_action_attempt: nil)
|
|
42
|
-
res = @client.post("/acs/encoders/scan_to_assign_credential", {acs_encoder_id: acs_encoder_id, acs_user_id: acs_user_id, user_identity_id: user_identity_id}.compact)
|
|
41
|
+
def scan_to_assign_credential(acs_encoder_id:, acs_user_id: nil, salto_ks_metadata: nil, user_identity_id: nil, wait_for_action_attempt: nil)
|
|
42
|
+
res = @client.post("/acs/encoders/scan_to_assign_credential", {acs_encoder_id: acs_encoder_id, acs_user_id: acs_user_id, salto_ks_metadata: salto_ks_metadata, user_identity_id: user_identity_id}.compact)
|
|
43
43
|
|
|
44
44
|
wait_for_action_attempt = wait_for_action_attempt.nil? ? @defaults.wait_for_action_attempt : wait_for_action_attempt
|
|
45
45
|
|
|
@@ -36,8 +36,8 @@ module Seam
|
|
|
36
36
|
nil
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
def update(connected_account_id:, accepted_capabilities: nil, automatically_manage_new_devices: nil, custom_metadata: nil, customer_key: nil)
|
|
40
|
-
@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, customer_key: customer_key}.compact)
|
|
39
|
+
def update(connected_account_id:, accepted_capabilities: nil, automatically_manage_new_devices: nil, custom_metadata: nil, customer_key: nil, display_name: nil)
|
|
40
|
+
@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, customer_key: customer_key, display_name: display_name}.compact)
|
|
41
41
|
|
|
42
42
|
nil
|
|
43
43
|
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Seam
|
|
4
4
|
module Resources
|
|
5
5
|
class ConnectedAccount < BaseResource
|
|
6
|
-
attr_accessor :accepted_capabilities, :account_type, :account_type_display_name, :automatically_manage_new_devices, :connected_account_id, :custom_metadata, :customer_key, :default_checkin_time, :default_checkout_time, :display_name, :image_url, :time_zone, :user_identifier
|
|
6
|
+
attr_accessor :accepted_capabilities, :account_type, :account_type_display_name, :automatically_manage_new_devices, :connected_account_id, :custom_metadata, :customer_key, :default_checkin_time, :default_checkout_time, :display_name, :ical_feed_origin, :ical_url, :image_url, :time_zone, :user_identifier
|
|
7
7
|
|
|
8
8
|
date_accessor :created_at
|
|
9
9
|
|
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.124.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: 2026-
|
|
11
|
+
date: 2026-06-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|