seam 2.112.0 → 2.114.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_codes.rb +2 -2
- data/lib/seam/routes/clients/spaces.rb +4 -4
- data/lib/seam/routes/resources/space.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: 7a5dbb15a9000099825c3f4b812e0c7aa2b068b7df1cbc0f6ef7909340432d29
|
|
4
|
+
data.tar.gz: 7ec5ddcc8818a1a6011b41ec3f26865cd3b6f52e854d6013b6b15d28e8961218
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c7d6c16376351883733751db15da0b7a926e27b3cdfc8d3617b18b285ea87a9d8d7967c1c1138d1c08b108709b33a09da80235e4214ded14d923fcdc16c257bd
|
|
7
|
+
data.tar.gz: 443e1355d50a20b0baec7ab23978627a3a4a70855a5c8b16dd08bdefa36861c0c4af1fca3cde2cfe26879e506abdfa9fbe7ee2207b476ceedc806629a2cc6052
|
data/Gemfile.lock
CHANGED
|
@@ -22,8 +22,8 @@ module Seam
|
|
|
22
22
|
Seam::Resources::AccessCode.load_from_response(res.body["access_code"])
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
-
def create_multiple(device_ids:, allow_external_modification: nil, attempt_for_offline_device: nil, behavior_when_code_cannot_be_shared: nil, code: nil, ends_at: nil, is_external_modification_allowed: nil, name: nil, prefer_native_scheduling: nil, preferred_code_length: nil, starts_at: nil)
|
|
26
|
-
res = @client.post("/access_codes/create_multiple", {device_ids: device_ids, allow_external_modification: allow_external_modification, attempt_for_offline_device: attempt_for_offline_device, behavior_when_code_cannot_be_shared: behavior_when_code_cannot_be_shared, code: code, ends_at: ends_at, is_external_modification_allowed: is_external_modification_allowed, name: name, prefer_native_scheduling: prefer_native_scheduling, preferred_code_length: preferred_code_length, starts_at: starts_at}.compact)
|
|
25
|
+
def create_multiple(device_ids:, allow_external_modification: nil, attempt_for_offline_device: nil, behavior_when_code_cannot_be_shared: nil, code: nil, ends_at: nil, is_external_modification_allowed: nil, name: nil, prefer_native_scheduling: nil, preferred_code_length: nil, starts_at: nil, use_backup_access_code_pool: nil)
|
|
26
|
+
res = @client.post("/access_codes/create_multiple", {device_ids: device_ids, allow_external_modification: allow_external_modification, attempt_for_offline_device: attempt_for_offline_device, behavior_when_code_cannot_be_shared: behavior_when_code_cannot_be_shared, code: code, ends_at: ends_at, is_external_modification_allowed: is_external_modification_allowed, name: name, prefer_native_scheduling: prefer_native_scheduling, preferred_code_length: preferred_code_length, starts_at: starts_at, use_backup_access_code_pool: use_backup_access_code_pool}.compact)
|
|
27
27
|
|
|
28
28
|
Seam::Resources::AccessCode.load_from_response(res.body["access_codes"])
|
|
29
29
|
end
|
|
@@ -20,8 +20,8 @@ module Seam
|
|
|
20
20
|
nil
|
|
21
21
|
end
|
|
22
22
|
|
|
23
|
-
def create(name:, acs_entrance_ids: nil, customer_key: nil, device_ids: nil, space_key: nil)
|
|
24
|
-
res = @client.post("/spaces/create", {name: name, acs_entrance_ids: acs_entrance_ids, customer_key: customer_key, device_ids: device_ids, space_key: space_key}.compact)
|
|
23
|
+
def create(name:, acs_entrance_ids: nil, customer_data: nil, customer_key: nil, device_ids: nil, space_key: nil)
|
|
24
|
+
res = @client.post("/spaces/create", {name: name, acs_entrance_ids: acs_entrance_ids, customer_data: customer_data, customer_key: customer_key, device_ids: device_ids, space_key: space_key}.compact)
|
|
25
25
|
|
|
26
26
|
Seam::Resources::Space.load_from_response(res.body["space"])
|
|
27
27
|
end
|
|
@@ -62,8 +62,8 @@ module Seam
|
|
|
62
62
|
nil
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
def update(acs_entrance_ids: nil, customer_key: nil, device_ids: nil, name: nil, space_id: nil, space_key: nil)
|
|
66
|
-
res = @client.post("/spaces/update", {acs_entrance_ids: acs_entrance_ids, customer_key: customer_key, device_ids: device_ids, name: name, space_id: space_id, space_key: space_key}.compact)
|
|
65
|
+
def update(acs_entrance_ids: nil, customer_data: nil, customer_key: nil, device_ids: nil, name: nil, space_id: nil, space_key: nil)
|
|
66
|
+
res = @client.post("/spaces/update", {acs_entrance_ids: acs_entrance_ids, customer_data: customer_data, customer_key: customer_key, 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 Space < BaseResource
|
|
6
|
-
attr_accessor :acs_entrance_count, :customer_key, :device_count, :display_name, :name, :parent_space_id, :parent_space_key, :space_id, :space_key, :workspace_id
|
|
6
|
+
attr_accessor :acs_entrance_count, :customer_data, :customer_key, :device_count, :display_name, :name, :parent_space_id, :parent_space_key, :space_id, :space_key, :workspace_id
|
|
7
7
|
|
|
8
8
|
date_accessor :created_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.114.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-04-
|
|
11
|
+
date: 2026-04-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|