seam 2.30.0 → 2.31.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/acs_entrances.rb +2 -2
- data/lib/seam/routes/clients/thermostats_daily_programs.rb +2 -2
- data/lib/seam/routes/clients/user_identities_enrollment_automations.rb +2 -2
- data/lib/seam/routes/resources/bridge_client_session.rb +13 -0
- data/lib/seam/routes/resources/bridge_connected_systems.rb +11 -0
- data/lib/seam/routes/resources/index.rb +5 -0
- data/lib/seam/routes/resources/location.rb +11 -0
- data/lib/seam/routes/resources/partner_resource.rb +9 -0
- data/lib/seam/routes/resources/thermostat_daily_program.rb +11 -0
- data/lib/seam/routes/resources/user_identity.rb +3 -0
- data/lib/seam/version.rb +1 -1
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 394e263868d708e6c04de580e1aabf2e4202d27b2d48df8babe6d4429f8dec6e
|
4
|
+
data.tar.gz: 755b9fe7891d71232369bc5bc3f72a6cc68b90b14eecdf827f295bfa8bb2ea3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e21d0f5e725af6b56f298a90a034ca468cc3199e96b4a86847264e3a62656998aae608b895b38cdb05636309b1f6a5084001b8931d266355e689577c077654c
|
7
|
+
data.tar.gz: 2910b747a34e3cb55ff656155153e76834029b763a1e808088892a6996a0ed929dd4d06972cc84e44405cf4fc355d0dd9e265135150749c5791aa5c5346eba7f
|
data/Gemfile.lock
CHANGED
@@ -20,8 +20,8 @@ module Seam
|
|
20
20
|
nil
|
21
21
|
end
|
22
22
|
|
23
|
-
def list(acs_credential_id: nil, acs_system_id: nil, location_id: nil, space_id: nil)
|
24
|
-
res = @client.post("/acs/entrances/list", {acs_credential_id: acs_credential_id, acs_system_id: acs_system_id, location_id: location_id, space_id: space_id}.compact)
|
23
|
+
def list(access_grant_id: nil, access_method_id: nil, acs_credential_id: nil, acs_system_id: nil, location_id: nil, space_id: nil)
|
24
|
+
res = @client.post("/acs/entrances/list", {access_grant_id: access_grant_id, access_method_id: access_method_id, acs_credential_id: acs_credential_id, acs_system_id: acs_system_id, location_id: location_id, space_id: space_id}.compact)
|
25
25
|
|
26
26
|
Seam::Resources::AcsEntrance.load_from_response(res.body["acs_entrances"])
|
27
27
|
end
|
@@ -11,9 +11,9 @@ module Seam
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def create(device_id:, name:, periods:)
|
14
|
-
@client.post("/thermostats/daily_programs/create", {device_id: device_id, name: name, periods: periods}.compact)
|
14
|
+
res = @client.post("/thermostats/daily_programs/create", {device_id: device_id, name: name, periods: periods}.compact)
|
15
15
|
|
16
|
-
|
16
|
+
Seam::Resources::ThermostatDailyProgram.load_from_response(res.body["thermostat_daily_program"])
|
17
17
|
end
|
18
18
|
|
19
19
|
def delete(thermostat_daily_program_id:)
|
@@ -21,9 +21,9 @@ module Seam
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def launch(credential_manager_acs_system_id:, user_identity_id:, acs_credential_pool_id: nil, create_credential_manager_user: nil, credential_manager_acs_user_id: nil)
|
24
|
-
@client.post("/user_identities/enrollment_automations/launch", {credential_manager_acs_system_id: credential_manager_acs_system_id, user_identity_id: user_identity_id, acs_credential_pool_id: acs_credential_pool_id, create_credential_manager_user: create_credential_manager_user, credential_manager_acs_user_id: credential_manager_acs_user_id}.compact)
|
24
|
+
res = @client.post("/user_identities/enrollment_automations/launch", {credential_manager_acs_system_id: credential_manager_acs_system_id, user_identity_id: user_identity_id, acs_credential_pool_id: acs_credential_pool_id, create_credential_manager_user: create_credential_manager_user, credential_manager_acs_user_id: credential_manager_acs_user_id}.compact)
|
25
25
|
|
26
|
-
|
26
|
+
Seam::Resources::EnrollmentAutomation.load_from_response(res.body["enrollment_automation"])
|
27
27
|
end
|
28
28
|
|
29
29
|
def list(user_identity_id:)
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Seam
|
4
|
+
module Resources
|
5
|
+
class BridgeClientSession < BaseResource
|
6
|
+
attr_accessor :bridge_client_machine_identifier_key, :bridge_client_name, :bridge_client_session_id, :bridge_client_session_token, :bridge_client_time_zone, :pairing_code, :tailscale_auth_key, :tailscale_hostname, :telemetry_token, :telemetry_url
|
7
|
+
|
8
|
+
date_accessor :created_at, :pairing_code_expires_at, :telemetry_token_expires_at
|
9
|
+
|
10
|
+
include Seam::Resources::ResourceErrorsSupport
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Seam
|
4
|
+
module Resources
|
5
|
+
class BridgeConnectedSystems < BaseResource
|
6
|
+
attr_accessor :acs_system_display_name, :acs_system_id, :bridge_id, :connected_account_id, :workspace_display_name, :workspace_id
|
7
|
+
|
8
|
+
date_accessor :bridge_created_at, :connected_account_created_at
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
@@ -17,6 +17,8 @@ require_relative "acs_entrance"
|
|
17
17
|
require_relative "acs_system"
|
18
18
|
require_relative "acs_user"
|
19
19
|
require_relative "action_attempt"
|
20
|
+
require_relative "bridge_client_session"
|
21
|
+
require_relative "bridge_connected_systems"
|
20
22
|
require_relative "client_session"
|
21
23
|
require_relative "connect_webview"
|
22
24
|
require_relative "connected_account"
|
@@ -25,13 +27,16 @@ require_relative "device_provider"
|
|
25
27
|
require_relative "enrollment_automation"
|
26
28
|
require_relative "event"
|
27
29
|
require_relative "instant_key"
|
30
|
+
require_relative "location"
|
28
31
|
require_relative "magic_link"
|
29
32
|
require_relative "noise_threshold"
|
30
33
|
require_relative "pagination"
|
34
|
+
require_relative "partner_resource"
|
31
35
|
require_relative "phone"
|
32
36
|
require_relative "phone_registration"
|
33
37
|
require_relative "phone_session"
|
34
38
|
require_relative "space"
|
39
|
+
require_relative "thermostat_daily_program"
|
35
40
|
require_relative "thermostat_schedule"
|
36
41
|
require_relative "unmanaged_access_code"
|
37
42
|
require_relative "unmanaged_acs_access_group"
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Seam
|
4
|
+
module Resources
|
5
|
+
class PartnerResource < BaseResource
|
6
|
+
attr_accessor :custom_metadata, :customer_key, :description, :email_address, :ends_at, :location_keys, :name, :partner_resource_key, :partner_resource_type, :phone_number, :starts_at, :user_identity_key
|
7
|
+
end
|
8
|
+
end
|
9
|
+
end
|
@@ -6,6 +6,9 @@ module Seam
|
|
6
6
|
attr_accessor :display_name, :email_address, :full_name, :phone_number, :user_identity_id, :user_identity_key, :workspace_id
|
7
7
|
|
8
8
|
date_accessor :created_at
|
9
|
+
|
10
|
+
include Seam::Resources::ResourceErrorsSupport
|
11
|
+
include Seam::Resources::ResourceWarningsSupport
|
9
12
|
end
|
10
13
|
end
|
11
14
|
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.31.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-06-
|
11
|
+
date: 2025-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -252,6 +252,8 @@ files:
|
|
252
252
|
- lib/seam/routes/resources/acs_system.rb
|
253
253
|
- lib/seam/routes/resources/acs_user.rb
|
254
254
|
- lib/seam/routes/resources/action_attempt.rb
|
255
|
+
- lib/seam/routes/resources/bridge_client_session.rb
|
256
|
+
- lib/seam/routes/resources/bridge_connected_systems.rb
|
255
257
|
- lib/seam/routes/resources/client_session.rb
|
256
258
|
- lib/seam/routes/resources/connect_webview.rb
|
257
259
|
- lib/seam/routes/resources/connected_account.rb
|
@@ -261,9 +263,11 @@ files:
|
|
261
263
|
- lib/seam/routes/resources/event.rb
|
262
264
|
- lib/seam/routes/resources/index.rb
|
263
265
|
- lib/seam/routes/resources/instant_key.rb
|
266
|
+
- lib/seam/routes/resources/location.rb
|
264
267
|
- lib/seam/routes/resources/magic_link.rb
|
265
268
|
- lib/seam/routes/resources/noise_threshold.rb
|
266
269
|
- lib/seam/routes/resources/pagination.rb
|
270
|
+
- lib/seam/routes/resources/partner_resource.rb
|
267
271
|
- lib/seam/routes/resources/phone.rb
|
268
272
|
- lib/seam/routes/resources/phone_registration.rb
|
269
273
|
- lib/seam/routes/resources/phone_session.rb
|
@@ -272,6 +276,7 @@ files:
|
|
272
276
|
- lib/seam/routes/resources/resource_warning.rb
|
273
277
|
- lib/seam/routes/resources/resource_warnings_support.rb
|
274
278
|
- lib/seam/routes/resources/space.rb
|
279
|
+
- lib/seam/routes/resources/thermostat_daily_program.rb
|
275
280
|
- lib/seam/routes/resources/thermostat_schedule.rb
|
276
281
|
- lib/seam/routes/resources/unmanaged_access_code.rb
|
277
282
|
- lib/seam/routes/resources/unmanaged_acs_access_group.rb
|