seam 2.131.0 → 2.132.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/http_multi_workspace.rb +2 -2
- data/lib/seam/http_single_workspace.rb +2 -2
- data/lib/seam/{routes/resources → resources}/index.rb +3 -0
- data/lib/seam/resources/unmanaged_access_grant.rb +14 -0
- data/lib/seam/resources/unmanaged_access_method.rb +14 -0
- data/lib/seam/resources/unmanaged_user_identity.rb +14 -0
- data/lib/seam/routes/{clients/access_grants_unmanaged.rb → access_grants_unmanaged.rb} +4 -4
- data/lib/seam/routes/{clients/access_methods.rb → access_methods.rb} +2 -2
- data/lib/seam/routes/access_methods_unmanaged.rb +24 -0
- data/lib/seam/routes/{clients/acs_entrances.rb → acs_entrances.rb} +2 -2
- data/lib/seam/routes/{clients/user_identities_unmanaged.rb → user_identities_unmanaged.rb} +4 -4
- data/lib/seam/version.rb +1 -1
- data/lib/seam/webhook.rb +1 -1
- metadata +83 -80
- data/lib/seam/routes/clients/access_methods_unmanaged.rb +0 -24
- /data/lib/seam/{routes/resources → resources}/access_code.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/access_grant.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/access_method.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/acs_access_group.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/acs_credential.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/acs_encoder.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/acs_entrance.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/acs_system.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/acs_user.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/action_attempt.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/batch.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/client_session.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/connect_webview.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/connected_account.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/customer_portal.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/device.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/device_provider.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/event.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/instant_key.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/noise_threshold.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/pagination.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/phone.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/resource_error.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/resource_errors_support.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/resource_warning.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/resource_warnings_support.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/space.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/thermostat_daily_program.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/thermostat_schedule.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/unmanaged_access_code.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/unmanaged_device.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/user_identity.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/webhook.rb +0 -0
- /data/lib/seam/{routes/resources → resources}/workspace.rb +0 -0
- /data/lib/seam/routes/{clients/access_codes.rb → access_codes.rb} +0 -0
- /data/lib/seam/routes/{clients/access_codes_simulate.rb → access_codes_simulate.rb} +0 -0
- /data/lib/seam/routes/{clients/access_codes_unmanaged.rb → access_codes_unmanaged.rb} +0 -0
- /data/lib/seam/routes/{clients/access_grants.rb → access_grants.rb} +0 -0
- /data/lib/seam/routes/{clients/acs.rb → acs.rb} +0 -0
- /data/lib/seam/routes/{clients/acs_access_groups.rb → acs_access_groups.rb} +0 -0
- /data/lib/seam/routes/{clients/acs_credentials.rb → acs_credentials.rb} +0 -0
- /data/lib/seam/routes/{clients/acs_encoders.rb → acs_encoders.rb} +0 -0
- /data/lib/seam/routes/{clients/acs_encoders_simulate.rb → acs_encoders_simulate.rb} +0 -0
- /data/lib/seam/routes/{clients/acs_systems.rb → acs_systems.rb} +0 -0
- /data/lib/seam/routes/{clients/acs_users.rb → acs_users.rb} +0 -0
- /data/lib/seam/routes/{clients/action_attempts.rb → action_attempts.rb} +0 -0
- /data/lib/seam/routes/{clients/client_sessions.rb → client_sessions.rb} +0 -0
- /data/lib/seam/routes/{clients/connect_webviews.rb → connect_webviews.rb} +0 -0
- /data/lib/seam/routes/{clients/connected_accounts.rb → connected_accounts.rb} +0 -0
- /data/lib/seam/routes/{clients/connected_accounts_simulate.rb → connected_accounts_simulate.rb} +0 -0
- /data/lib/seam/routes/{clients/customers.rb → customers.rb} +0 -0
- /data/lib/seam/routes/{clients/devices.rb → devices.rb} +0 -0
- /data/lib/seam/routes/{clients/devices_simulate.rb → devices_simulate.rb} +0 -0
- /data/lib/seam/routes/{clients/devices_unmanaged.rb → devices_unmanaged.rb} +0 -0
- /data/lib/seam/routes/{clients/events.rb → events.rb} +0 -0
- /data/lib/seam/routes/{clients/index.rb → index.rb} +0 -0
- /data/lib/seam/routes/{clients/instant_keys.rb → instant_keys.rb} +0 -0
- /data/lib/seam/routes/{clients/locks.rb → locks.rb} +0 -0
- /data/lib/seam/routes/{clients/locks_simulate.rb → locks_simulate.rb} +0 -0
- /data/lib/seam/routes/{clients/noise_sensors.rb → noise_sensors.rb} +0 -0
- /data/lib/seam/routes/{clients/noise_sensors_noise_thresholds.rb → noise_sensors_noise_thresholds.rb} +0 -0
- /data/lib/seam/routes/{clients/noise_sensors_simulate.rb → noise_sensors_simulate.rb} +0 -0
- /data/lib/seam/routes/{clients/phones.rb → phones.rb} +0 -0
- /data/lib/seam/routes/{clients/phones_simulate.rb → phones_simulate.rb} +0 -0
- /data/lib/seam/routes/{clients/spaces.rb → spaces.rb} +0 -0
- /data/lib/seam/routes/{clients/thermostats.rb → thermostats.rb} +0 -0
- /data/lib/seam/routes/{clients/thermostats_daily_programs.rb → thermostats_daily_programs.rb} +0 -0
- /data/lib/seam/routes/{clients/thermostats_schedules.rb → thermostats_schedules.rb} +0 -0
- /data/lib/seam/routes/{clients/thermostats_simulate.rb → thermostats_simulate.rb} +0 -0
- /data/lib/seam/routes/{clients/user_identities.rb → user_identities.rb} +0 -0
- /data/lib/seam/routes/{clients/webhooks.rb → webhooks.rb} +0 -0
- /data/lib/seam/routes/{clients/workspaces.rb → workspaces.rb} +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f8a4ce290271f2b1c655d032f8a8250eba68852b90427fc858f09e7b7f0ad439
|
|
4
|
+
data.tar.gz: 4a78364e51f15e3f3cee4a5e8960110de3c75e8e046b04726a9023cbeaac6c66
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 312ebd6671d023b18837d4df61a2f96f0014632c835d5d7f449353e99f5741f1207e19d816949e79b1f322a3529ccffc42ef4da31968929de48a60887504a579
|
|
7
|
+
data.tar.gz: 5b62ad40c08d9b8a13d4b6b6aefac6a78baff5ea78bac7081a93524ed11556442948d849febab66960ff40465d8111a753361bcecc63c4b9e4886f389c310833
|
data/Gemfile.lock
CHANGED
|
@@ -5,8 +5,8 @@ require_relative "parse_options"
|
|
|
5
5
|
require_relative "lts_version"
|
|
6
6
|
require_relative "version"
|
|
7
7
|
require_relative "auth"
|
|
8
|
-
require_relative "
|
|
9
|
-
require_relative "routes/
|
|
8
|
+
require_relative "resources/index"
|
|
9
|
+
require_relative "routes/index"
|
|
10
10
|
require_relative "routes/routes"
|
|
11
11
|
|
|
12
12
|
module Seam
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
require_relative "request"
|
|
4
4
|
require_relative "parse_options"
|
|
5
|
-
require_relative "
|
|
6
|
-
require_relative "routes/
|
|
5
|
+
require_relative "resources/index"
|
|
6
|
+
require_relative "routes/index"
|
|
7
7
|
require_relative "routes/routes"
|
|
8
8
|
require_relative "version"
|
|
9
9
|
require_relative "deep_hash_accessor"
|
|
@@ -31,7 +31,10 @@ require_relative "space"
|
|
|
31
31
|
require_relative "thermostat_daily_program"
|
|
32
32
|
require_relative "thermostat_schedule"
|
|
33
33
|
require_relative "unmanaged_access_code"
|
|
34
|
+
require_relative "unmanaged_access_grant"
|
|
35
|
+
require_relative "unmanaged_access_method"
|
|
34
36
|
require_relative "unmanaged_device"
|
|
37
|
+
require_relative "unmanaged_user_identity"
|
|
35
38
|
require_relative "user_identity"
|
|
36
39
|
require_relative "webhook"
|
|
37
40
|
require_relative "workspace"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Seam
|
|
4
|
+
module Resources
|
|
5
|
+
class UnmanagedAccessGrant < BaseResource
|
|
6
|
+
attr_accessor :access_grant_id, :access_method_ids, :display_name, :location_ids, :name, :pending_mutations, :requested_access_methods, :reservation_key, :space_ids, :user_identity_id, :workspace_id
|
|
7
|
+
|
|
8
|
+
date_accessor :created_at, :ends_at, :starts_at
|
|
9
|
+
|
|
10
|
+
include Seam::Resources::ResourceErrorsSupport
|
|
11
|
+
include Seam::Resources::ResourceWarningsSupport
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Seam
|
|
4
|
+
module Resources
|
|
5
|
+
class UnmanagedAccessMethod < BaseResource
|
|
6
|
+
attr_accessor :access_method_id, :code, :display_name, :is_assignment_required, :is_encoding_required, :is_issued, :is_ready_for_assignment, :is_ready_for_encoding, :mode, :pending_mutations, :workspace_id
|
|
7
|
+
|
|
8
|
+
date_accessor :created_at, :issued_at
|
|
9
|
+
|
|
10
|
+
include Seam::Resources::ResourceErrorsSupport
|
|
11
|
+
include Seam::Resources::ResourceWarningsSupport
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Seam
|
|
4
|
+
module Resources
|
|
5
|
+
class UnmanagedUserIdentity < BaseResource
|
|
6
|
+
attr_accessor :acs_user_ids, :display_name, :email_address, :full_name, :phone_number, :user_identity_id, :workspace_id
|
|
7
|
+
|
|
8
|
+
date_accessor :created_at
|
|
9
|
+
|
|
10
|
+
include Seam::Resources::ResourceErrorsSupport
|
|
11
|
+
include Seam::Resources::ResourceWarningsSupport
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -9,15 +9,15 @@ module Seam
|
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
def get(access_grant_id:)
|
|
12
|
-
@client.post("/access_grants/unmanaged/get", {access_grant_id: access_grant_id}.compact)
|
|
12
|
+
res = @client.post("/access_grants/unmanaged/get", {access_grant_id: access_grant_id}.compact)
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Seam::Resources::UnmanagedAccessGrant.load_from_response(res.body["access_grant"])
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
def list(acs_entrance_id: nil, acs_system_id: nil, limit: nil, page_cursor: nil, reservation_key: nil, user_identity_id: nil)
|
|
18
|
-
@client.post("/access_grants/unmanaged/list", {acs_entrance_id: acs_entrance_id, acs_system_id: acs_system_id, limit: limit, page_cursor: page_cursor, reservation_key: reservation_key, user_identity_id: user_identity_id}.compact)
|
|
18
|
+
res = @client.post("/access_grants/unmanaged/list", {acs_entrance_id: acs_entrance_id, acs_system_id: acs_system_id, limit: limit, page_cursor: page_cursor, reservation_key: reservation_key, user_identity_id: user_identity_id}.compact)
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Seam::Resources::UnmanagedAccessGrant.load_from_response(res.body["access_grants"])
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
def update(access_grant_id:, is_managed:, access_grant_key: nil)
|
|
@@ -48,8 +48,8 @@ module Seam
|
|
|
48
48
|
Seam::Resources::Batch.load_from_response(res.body["batch"])
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
-
def list(access_code_id: nil, access_grant_id: nil, access_grant_key: nil, acs_entrance_id: nil, device_id: nil, space_id: nil)
|
|
52
|
-
res = @client.post("/access_methods/list", {access_code_id: access_code_id, access_grant_id: access_grant_id, access_grant_key: access_grant_key, acs_entrance_id: acs_entrance_id, device_id: device_id, space_id: space_id}.compact)
|
|
51
|
+
def list(access_code_id: nil, access_grant_id: nil, access_grant_key: nil, acs_entrance_id: nil, device_id: nil, limit: nil, page_cursor: nil, space_id: nil)
|
|
52
|
+
res = @client.post("/access_methods/list", {access_code_id: access_code_id, access_grant_id: access_grant_id, access_grant_key: access_grant_key, acs_entrance_id: acs_entrance_id, device_id: device_id, limit: limit, page_cursor: page_cursor, space_id: space_id}.compact)
|
|
53
53
|
|
|
54
54
|
Seam::Resources::AccessMethod.load_from_response(res.body["access_methods"])
|
|
55
55
|
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Seam
|
|
4
|
+
module Clients
|
|
5
|
+
class AccessMethodsUnmanaged
|
|
6
|
+
def initialize(client:, defaults:)
|
|
7
|
+
@client = client
|
|
8
|
+
@defaults = defaults
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
def get(access_method_id:)
|
|
12
|
+
res = @client.post("/access_methods/unmanaged/get", {access_method_id: access_method_id}.compact)
|
|
13
|
+
|
|
14
|
+
Seam::Resources::UnmanagedAccessMethod.load_from_response(res.body["access_method"])
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
def list(access_grant_id:, acs_entrance_id: nil, device_id: nil, space_id: nil)
|
|
18
|
+
res = @client.post("/access_methods/unmanaged/list", {access_grant_id: access_grant_id, acs_entrance_id: acs_entrance_id, device_id: device_id, space_id: space_id}.compact)
|
|
19
|
+
|
|
20
|
+
Seam::Resources::UnmanagedAccessMethod.load_from_response(res.body["access_methods"])
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -22,8 +22,8 @@ module Seam
|
|
|
22
22
|
nil
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
-
def list(acs_credential_id: nil, acs_entrance_ids: nil, acs_system_id: nil, connected_account_id: nil, customer_key: nil, limit: nil, location_id: nil, page_cursor: nil, search: nil, space_id: nil)
|
|
26
|
-
res = @client.post("/acs/entrances/list", {acs_credential_id: acs_credential_id, acs_entrance_ids: acs_entrance_ids, acs_system_id: acs_system_id, connected_account_id: connected_account_id, customer_key: customer_key, limit: limit, location_id: location_id, page_cursor: page_cursor, search: search, space_id: space_id}.compact)
|
|
25
|
+
def list(access_method_id: nil, acs_credential_id: nil, acs_entrance_ids: nil, acs_system_id: nil, connected_account_id: nil, customer_key: nil, limit: nil, location_id: nil, page_cursor: nil, search: nil, space_id: nil)
|
|
26
|
+
res = @client.post("/acs/entrances/list", {access_method_id: access_method_id, acs_credential_id: acs_credential_id, acs_entrance_ids: acs_entrance_ids, acs_system_id: acs_system_id, connected_account_id: connected_account_id, customer_key: customer_key, limit: limit, location_id: location_id, page_cursor: page_cursor, search: search, space_id: space_id}.compact)
|
|
27
27
|
|
|
28
28
|
Seam::Resources::AcsEntrance.load_from_response(res.body["acs_entrances"])
|
|
29
29
|
end
|
|
@@ -9,15 +9,15 @@ module Seam
|
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
def get(user_identity_id:)
|
|
12
|
-
@client.post("/user_identities/unmanaged/get", {user_identity_id: user_identity_id}.compact)
|
|
12
|
+
res = @client.post("/user_identities/unmanaged/get", {user_identity_id: user_identity_id}.compact)
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Seam::Resources::UnmanagedUserIdentity.load_from_response(res.body["user_identity"])
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
def list(created_before: nil, limit: nil, page_cursor: nil, search: nil)
|
|
18
|
-
@client.post("/user_identities/unmanaged/list", {created_before: created_before, limit: limit, page_cursor: page_cursor, search: search}.compact)
|
|
18
|
+
res = @client.post("/user_identities/unmanaged/list", {created_before: created_before, limit: limit, page_cursor: page_cursor, search: search}.compact)
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Seam::Resources::UnmanagedUserIdentity.load_from_response(res.body["user_identities"])
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
def update(is_managed:, user_identity_id:, user_identity_key: nil)
|
data/lib/seam/version.rb
CHANGED
data/lib/seam/webhook.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.132.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-07-
|
|
11
|
+
date: 2026-07-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -203,85 +203,88 @@ files:
|
|
|
203
203
|
- lib/seam/paginator.rb
|
|
204
204
|
- lib/seam/parse_options.rb
|
|
205
205
|
- lib/seam/request.rb
|
|
206
|
-
- lib/seam/
|
|
207
|
-
- lib/seam/
|
|
208
|
-
- lib/seam/
|
|
209
|
-
- lib/seam/
|
|
210
|
-
- lib/seam/
|
|
211
|
-
- lib/seam/
|
|
212
|
-
- lib/seam/
|
|
213
|
-
- lib/seam/
|
|
214
|
-
- lib/seam/
|
|
215
|
-
- lib/seam/
|
|
216
|
-
- lib/seam/
|
|
217
|
-
- lib/seam/
|
|
218
|
-
- lib/seam/
|
|
219
|
-
- lib/seam/
|
|
220
|
-
- lib/seam/
|
|
221
|
-
- lib/seam/
|
|
222
|
-
- lib/seam/
|
|
223
|
-
- lib/seam/
|
|
224
|
-
- lib/seam/
|
|
225
|
-
- lib/seam/
|
|
226
|
-
- lib/seam/
|
|
227
|
-
- lib/seam/
|
|
228
|
-
- lib/seam/
|
|
229
|
-
- lib/seam/
|
|
230
|
-
- lib/seam/
|
|
231
|
-
- lib/seam/
|
|
232
|
-
- lib/seam/
|
|
233
|
-
- lib/seam/
|
|
234
|
-
- lib/seam/
|
|
235
|
-
- lib/seam/
|
|
236
|
-
- lib/seam/
|
|
237
|
-
- lib/seam/
|
|
238
|
-
- lib/seam/
|
|
239
|
-
- lib/seam/
|
|
240
|
-
- lib/seam/
|
|
241
|
-
- lib/seam/
|
|
242
|
-
- lib/seam/
|
|
243
|
-
- lib/seam/
|
|
244
|
-
- lib/seam/routes/
|
|
245
|
-
- lib/seam/routes/
|
|
246
|
-
- lib/seam/routes/
|
|
247
|
-
- lib/seam/routes/
|
|
248
|
-
- lib/seam/routes/
|
|
249
|
-
- lib/seam/routes/
|
|
250
|
-
- lib/seam/routes/
|
|
251
|
-
- lib/seam/routes/
|
|
252
|
-
- lib/seam/routes/
|
|
253
|
-
- lib/seam/routes/
|
|
254
|
-
- lib/seam/routes/
|
|
255
|
-
- lib/seam/routes/
|
|
256
|
-
- lib/seam/routes/
|
|
257
|
-
- lib/seam/routes/
|
|
258
|
-
- lib/seam/routes/
|
|
259
|
-
- lib/seam/routes/
|
|
260
|
-
- lib/seam/routes/
|
|
261
|
-
- lib/seam/routes/
|
|
262
|
-
- lib/seam/routes/
|
|
263
|
-
- lib/seam/routes/
|
|
264
|
-
- lib/seam/routes/
|
|
265
|
-
- lib/seam/routes/
|
|
266
|
-
- lib/seam/routes/
|
|
267
|
-
- lib/seam/routes/
|
|
268
|
-
- lib/seam/routes/
|
|
269
|
-
- lib/seam/routes/
|
|
270
|
-
- lib/seam/routes/
|
|
271
|
-
- lib/seam/routes/
|
|
272
|
-
- lib/seam/routes/
|
|
273
|
-
- lib/seam/routes/
|
|
274
|
-
- lib/seam/routes/
|
|
275
|
-
- lib/seam/routes/
|
|
276
|
-
- lib/seam/routes/
|
|
277
|
-
- lib/seam/routes/
|
|
278
|
-
- lib/seam/routes/resources/thermostat_schedule.rb
|
|
279
|
-
- lib/seam/routes/resources/unmanaged_access_code.rb
|
|
280
|
-
- lib/seam/routes/resources/unmanaged_device.rb
|
|
281
|
-
- lib/seam/routes/resources/user_identity.rb
|
|
282
|
-
- lib/seam/routes/resources/webhook.rb
|
|
283
|
-
- lib/seam/routes/resources/workspace.rb
|
|
206
|
+
- lib/seam/resources/access_code.rb
|
|
207
|
+
- lib/seam/resources/access_grant.rb
|
|
208
|
+
- lib/seam/resources/access_method.rb
|
|
209
|
+
- lib/seam/resources/acs_access_group.rb
|
|
210
|
+
- lib/seam/resources/acs_credential.rb
|
|
211
|
+
- lib/seam/resources/acs_encoder.rb
|
|
212
|
+
- lib/seam/resources/acs_entrance.rb
|
|
213
|
+
- lib/seam/resources/acs_system.rb
|
|
214
|
+
- lib/seam/resources/acs_user.rb
|
|
215
|
+
- lib/seam/resources/action_attempt.rb
|
|
216
|
+
- lib/seam/resources/batch.rb
|
|
217
|
+
- lib/seam/resources/client_session.rb
|
|
218
|
+
- lib/seam/resources/connect_webview.rb
|
|
219
|
+
- lib/seam/resources/connected_account.rb
|
|
220
|
+
- lib/seam/resources/customer_portal.rb
|
|
221
|
+
- lib/seam/resources/device.rb
|
|
222
|
+
- lib/seam/resources/device_provider.rb
|
|
223
|
+
- lib/seam/resources/event.rb
|
|
224
|
+
- lib/seam/resources/index.rb
|
|
225
|
+
- lib/seam/resources/instant_key.rb
|
|
226
|
+
- lib/seam/resources/noise_threshold.rb
|
|
227
|
+
- lib/seam/resources/pagination.rb
|
|
228
|
+
- lib/seam/resources/phone.rb
|
|
229
|
+
- lib/seam/resources/resource_error.rb
|
|
230
|
+
- lib/seam/resources/resource_errors_support.rb
|
|
231
|
+
- lib/seam/resources/resource_warning.rb
|
|
232
|
+
- lib/seam/resources/resource_warnings_support.rb
|
|
233
|
+
- lib/seam/resources/space.rb
|
|
234
|
+
- lib/seam/resources/thermostat_daily_program.rb
|
|
235
|
+
- lib/seam/resources/thermostat_schedule.rb
|
|
236
|
+
- lib/seam/resources/unmanaged_access_code.rb
|
|
237
|
+
- lib/seam/resources/unmanaged_access_grant.rb
|
|
238
|
+
- lib/seam/resources/unmanaged_access_method.rb
|
|
239
|
+
- lib/seam/resources/unmanaged_device.rb
|
|
240
|
+
- lib/seam/resources/unmanaged_user_identity.rb
|
|
241
|
+
- lib/seam/resources/user_identity.rb
|
|
242
|
+
- lib/seam/resources/webhook.rb
|
|
243
|
+
- lib/seam/resources/workspace.rb
|
|
244
|
+
- lib/seam/routes/access_codes.rb
|
|
245
|
+
- lib/seam/routes/access_codes_simulate.rb
|
|
246
|
+
- lib/seam/routes/access_codes_unmanaged.rb
|
|
247
|
+
- lib/seam/routes/access_grants.rb
|
|
248
|
+
- lib/seam/routes/access_grants_unmanaged.rb
|
|
249
|
+
- lib/seam/routes/access_methods.rb
|
|
250
|
+
- lib/seam/routes/access_methods_unmanaged.rb
|
|
251
|
+
- lib/seam/routes/acs.rb
|
|
252
|
+
- lib/seam/routes/acs_access_groups.rb
|
|
253
|
+
- lib/seam/routes/acs_credentials.rb
|
|
254
|
+
- lib/seam/routes/acs_encoders.rb
|
|
255
|
+
- lib/seam/routes/acs_encoders_simulate.rb
|
|
256
|
+
- lib/seam/routes/acs_entrances.rb
|
|
257
|
+
- lib/seam/routes/acs_systems.rb
|
|
258
|
+
- lib/seam/routes/acs_users.rb
|
|
259
|
+
- lib/seam/routes/action_attempts.rb
|
|
260
|
+
- lib/seam/routes/client_sessions.rb
|
|
261
|
+
- lib/seam/routes/connect_webviews.rb
|
|
262
|
+
- lib/seam/routes/connected_accounts.rb
|
|
263
|
+
- lib/seam/routes/connected_accounts_simulate.rb
|
|
264
|
+
- lib/seam/routes/customers.rb
|
|
265
|
+
- lib/seam/routes/devices.rb
|
|
266
|
+
- lib/seam/routes/devices_simulate.rb
|
|
267
|
+
- lib/seam/routes/devices_unmanaged.rb
|
|
268
|
+
- lib/seam/routes/events.rb
|
|
269
|
+
- lib/seam/routes/index.rb
|
|
270
|
+
- lib/seam/routes/instant_keys.rb
|
|
271
|
+
- lib/seam/routes/locks.rb
|
|
272
|
+
- lib/seam/routes/locks_simulate.rb
|
|
273
|
+
- lib/seam/routes/noise_sensors.rb
|
|
274
|
+
- lib/seam/routes/noise_sensors_noise_thresholds.rb
|
|
275
|
+
- lib/seam/routes/noise_sensors_simulate.rb
|
|
276
|
+
- lib/seam/routes/phones.rb
|
|
277
|
+
- lib/seam/routes/phones_simulate.rb
|
|
284
278
|
- lib/seam/routes/routes.rb
|
|
279
|
+
- lib/seam/routes/spaces.rb
|
|
280
|
+
- lib/seam/routes/thermostats.rb
|
|
281
|
+
- lib/seam/routes/thermostats_daily_programs.rb
|
|
282
|
+
- lib/seam/routes/thermostats_schedules.rb
|
|
283
|
+
- lib/seam/routes/thermostats_simulate.rb
|
|
284
|
+
- lib/seam/routes/user_identities.rb
|
|
285
|
+
- lib/seam/routes/user_identities_unmanaged.rb
|
|
286
|
+
- lib/seam/routes/webhooks.rb
|
|
287
|
+
- lib/seam/routes/workspaces.rb
|
|
285
288
|
- lib/seam/token.rb
|
|
286
289
|
- lib/seam/version.rb
|
|
287
290
|
- lib/seam/wait_for_action_attempt.rb
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Seam
|
|
4
|
-
module Clients
|
|
5
|
-
class AccessMethodsUnmanaged
|
|
6
|
-
def initialize(client:, defaults:)
|
|
7
|
-
@client = client
|
|
8
|
-
@defaults = defaults
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
def get(access_method_id:)
|
|
12
|
-
@client.post("/access_methods/unmanaged/get", {access_method_id: access_method_id}.compact)
|
|
13
|
-
|
|
14
|
-
nil
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
def list(access_grant_id:, acs_entrance_id: nil, device_id: nil, space_id: nil)
|
|
18
|
-
@client.post("/access_methods/unmanaged/list", {access_grant_id: access_grant_id, acs_entrance_id: acs_entrance_id, device_id: device_id, space_id: space_id}.compact)
|
|
19
|
-
|
|
20
|
-
nil
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/data/lib/seam/routes/{clients/connected_accounts_simulate.rb → connected_accounts_simulate.rb}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/data/lib/seam/routes/{clients/thermostats_daily_programs.rb → thermostats_daily_programs.rb}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|