seam 2.57.0 → 2.59.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1981ccfed9656e42d8653e9d568a89f73b107ba0b089f2a8142e32da6ce8efe1
4
- data.tar.gz: bd530c3d03f0e722aebeeda9b07058bd5e6d89bff818159a4727adcf0b1f0337
3
+ metadata.gz: 83ca188016f81892e80f40ccc04c5aba6206e4d8ef50b6b30d0b551be282bff1
4
+ data.tar.gz: f7cee8d9b7ff08f64f2a71f5044e639c1e8306b6990528e12f097128f6ac9cb1
5
5
  SHA512:
6
- metadata.gz: de30831c3ff79957fb8c844889a43cf60560e41a2def4f658b82ff46edfda50210f52ba6d818d7a8e65c3724ac89eeae735204762c8cb1caa3e6b416f0dae6ce
7
- data.tar.gz: '094fb635cbb5a9fc73f1c19f9273659c7b7e79808333ef9f1db75445db8dc8f438a6e575705e21b79c57072558d44b669c8bf64618af67946cc9c2b46b49142d'
6
+ metadata.gz: fce3c988e190c8d55732b77a58812b3b8d66bf1e37b64d501dace80ece79d1790ea07faec82aa4e6b3f7a94a8012e613e5344a66746badb1a36f8860abe9ed59
7
+ data.tar.gz: 213da5f86b5bb7bf704e5859adfb28453d288038adb7e4832e8f7433d0bc3ddab2de3ee176a79c88627dcae49b2860a1f34b76a5aa4a895d03ac652b746011c9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seam (2.57.0)
4
+ seam (2.59.0)
5
5
  faraday (~> 2.7)
6
6
  faraday-retry (~> 2.2)
7
7
  svix (~> 1.30)
@@ -20,8 +20,8 @@ module Seam
20
20
  nil
21
21
  end
22
22
 
23
- def list(access_grant_id: nil, access_method_id: nil, acs_credential_id: nil, acs_entrance_ids: nil, acs_system_id: nil, connected_account_id: nil, location_id: nil, search: 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_entrance_ids: acs_entrance_ids, acs_system_id: acs_system_id, connected_account_id: connected_account_id, location_id: location_id, search: search, space_id: space_id}.compact)
23
+ def list(access_grant_id: nil, access_method_id: nil, acs_credential_id: nil, acs_entrance_ids: nil, acs_system_id: nil, connected_account_id: nil, limit: nil, location_id: nil, page_cursor: nil, search: 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_entrance_ids: acs_entrance_ids, acs_system_id: acs_system_id, connected_account_id: connected_account_id, limit: limit, location_id: location_id, page_cursor: page_cursor, search: search, space_id: space_id}.compact)
25
25
 
26
26
  Seam::Resources::AcsEntrance.load_from_response(res.body["acs_entrances"])
27
27
  end
@@ -14,6 +14,12 @@ module Seam
14
14
  Seam::Resources::MagicLink.load_from_response(res.body["magic_link"])
15
15
  end
16
16
 
17
+ def delete_data(access_grant_keys: nil, booking_keys: nil, building_keys: nil, common_area_keys: nil, facility_keys: nil, guest_keys: nil, listing_keys: nil, property_keys: nil, property_listing_keys: nil, reservation_keys: nil, resident_keys: nil, room_keys: nil, space_keys: nil, tenant_keys: nil, unit_keys: nil, user_identity_keys: nil, user_keys: nil)
18
+ @client.post("/customers/delete_data", {access_grant_keys: access_grant_keys, booking_keys: booking_keys, building_keys: building_keys, common_area_keys: common_area_keys, facility_keys: facility_keys, guest_keys: guest_keys, listing_keys: listing_keys, property_keys: property_keys, property_listing_keys: property_listing_keys, reservation_keys: reservation_keys, resident_keys: resident_keys, room_keys: room_keys, space_keys: space_keys, tenant_keys: tenant_keys, unit_keys: unit_keys, user_identity_keys: user_identity_keys, user_keys: user_keys}.compact)
19
+
20
+ nil
21
+ end
22
+
17
23
  def push_data(customer_key:, access_grants: nil, bookings: nil, buildings: nil, common_areas: nil, facilities: nil, guests: nil, listings: nil, properties: nil, property_listings: nil, reservations: nil, residents: nil, rooms: nil, spaces: nil, tenants: nil, units: nil, user_identities: nil, users: nil)
18
24
  @client.post("/customers/push_data", {customer_key: customer_key, access_grants: access_grants, bookings: bookings, buildings: buildings, common_areas: common_areas, facilities: facilities, guests: guests, listings: listings, properties: properties, property_listings: property_listings, reservations: reservations, residents: residents, rooms: rooms, spaces: spaces, tenants: tenants, units: units, user_identities: user_identities, users: users}.compact)
19
25
 
@@ -38,8 +38,8 @@ module Seam
38
38
  Seam::Resources::Space.load_from_response(res.body["space"])
39
39
  end
40
40
 
41
- def get_related(space_ids:, exclude: nil, include: nil)
42
- @client.post("/spaces/get_related", {space_ids: space_ids, exclude: exclude, include: include}.compact)
41
+ def get_related(exclude: nil, include: nil, space_ids: nil, space_keys: nil)
42
+ @client.post("/spaces/get_related", {exclude: exclude, include: include, space_ids: space_ids, space_keys: space_keys}.compact)
43
43
 
44
44
  nil
45
45
  end
@@ -3,7 +3,7 @@
3
3
  module Seam
4
4
  module Resources
5
5
  class AccessCode < BaseResource
6
- attr_accessor :access_code_id, :code, :common_code_key, :device_id, :is_backup, :is_backup_access_code_available, :is_external_modification_allowed, :is_managed, :is_offline_access_code, :is_one_time_use, :is_scheduled_on_device, :is_waiting_for_code_assignment, :name, :pulled_backup_access_code_id, :status, :type
6
+ attr_accessor :access_code_id, :code, :common_code_key, :device_id, :is_backup, :is_backup_access_code_available, :is_external_modification_allowed, :is_managed, :is_offline_access_code, :is_one_time_use, :is_scheduled_on_device, :is_waiting_for_code_assignment, :name, :pulled_backup_access_code_id, :status, :type, :workspace_id
7
7
 
8
8
  date_accessor :created_at, :ends_at, :starts_at
9
9
 
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Seam
4
+ module Resources
5
+ class CustomizationProfile < BaseResource
6
+ attr_accessor :customization_profile_id, :logo_url, :name, :primary_color, :secondary_color, :workspace_id
7
+
8
+ date_accessor :created_at
9
+ end
10
+ end
11
+ end
@@ -3,7 +3,7 @@
3
3
  module Seam
4
4
  module Resources
5
5
  class Device < BaseResource
6
- attr_accessor :can_hvac_cool, :can_hvac_heat, :can_hvac_heat_cool, :can_program_offline_access_codes, :can_program_online_access_codes, :can_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :capabilities_supported, :connected_account_id, :custom_metadata, :device_id, :device_type, :display_name, :is_managed, :location, :nickname, :properties, :workspace_id
6
+ attr_accessor :can_hvac_cool, :can_hvac_heat, :can_hvac_heat_cool, :can_program_offline_access_codes, :can_program_online_access_codes, :can_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :can_simulate_hub_connection, :can_simulate_hub_disconnection, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :capabilities_supported, :connected_account_id, :custom_metadata, :device_id, :device_type, :display_name, :is_managed, :location, :nickname, :properties, :workspace_id
7
7
 
8
8
  date_accessor :created_at
9
9
 
@@ -3,7 +3,7 @@
3
3
  module Seam
4
4
  module Resources
5
5
  class DeviceProvider < BaseResource
6
- attr_accessor :can_hvac_cool, :can_hvac_heat, :can_hvac_heat_cool, :can_program_offline_access_codes, :can_program_online_access_codes, :can_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :device_provider_name, :display_name, :image_url, :provider_categories
6
+ attr_accessor :can_hvac_cool, :can_hvac_heat, :can_hvac_heat_cool, :can_program_offline_access_codes, :can_program_online_access_codes, :can_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :can_simulate_hub_connection, :can_simulate_hub_disconnection, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :device_provider_name, :display_name, :image_url, :provider_categories
7
7
  end
8
8
  end
9
9
  end
@@ -22,6 +22,7 @@ require_relative "bridge_connected_systems"
22
22
  require_relative "client_session"
23
23
  require_relative "connect_webview"
24
24
  require_relative "connected_account"
25
+ require_relative "customization_profile"
25
26
  require_relative "device"
26
27
  require_relative "device_provider"
27
28
  require_relative "enrollment_automation"
@@ -3,7 +3,7 @@
3
3
  module Seam
4
4
  module Resources
5
5
  class UnmanagedAccessCode < BaseResource
6
- attr_accessor :access_code_id, :code, :device_id, :is_managed, :name, :status, :type
6
+ attr_accessor :access_code_id, :code, :device_id, :is_managed, :name, :status, :type, :workspace_id
7
7
 
8
8
  date_accessor :created_at, :ends_at, :starts_at
9
9
 
@@ -3,7 +3,7 @@
3
3
  module Seam
4
4
  module Resources
5
5
  class UnmanagedDevice < BaseResource
6
- attr_accessor :can_hvac_cool, :can_hvac_heat, :can_hvac_heat_cool, :can_program_offline_access_codes, :can_program_online_access_codes, :can_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :capabilities_supported, :connected_account_id, :device_id, :device_type, :is_managed, :location, :properties, :workspace_id
6
+ attr_accessor :can_hvac_cool, :can_hvac_heat, :can_hvac_heat_cool, :can_program_offline_access_codes, :can_program_online_access_codes, :can_remotely_lock, :can_remotely_unlock, :can_run_thermostat_programs, :can_simulate_connection, :can_simulate_disconnection, :can_simulate_hub_connection, :can_simulate_hub_disconnection, :can_simulate_removal, :can_turn_off_hvac, :can_unlock_with_code, :capabilities_supported, :connected_account_id, :device_id, :device_type, :is_managed, :location, :properties, :workspace_id
7
7
 
8
8
  date_accessor :created_at
9
9
 
data/lib/seam/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Seam
4
- VERSION = "2.57.0"
4
+ VERSION = "2.59.0"
5
5
  end
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.57.0
4
+ version: 2.59.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-08-01 00:00:00.000000000 Z
11
+ date: 2025-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -259,6 +259,7 @@ files:
259
259
  - lib/seam/routes/resources/client_session.rb
260
260
  - lib/seam/routes/resources/connect_webview.rb
261
261
  - lib/seam/routes/resources/connected_account.rb
262
+ - lib/seam/routes/resources/customization_profile.rb
262
263
  - lib/seam/routes/resources/device.rb
263
264
  - lib/seam/routes/resources/device_provider.rb
264
265
  - lib/seam/routes/resources/enrollment_automation.rb