seam 2.102.0 → 2.103.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: 16d3c153d7ddfe9e8143fa02a9adfa275a49dea74e1f848f0cefeca77d05a22c
4
- data.tar.gz: 905a479253db517b370a28e4b0fb828a7b7b92f17cad49ff5fe4b7f27b9e1e10
3
+ metadata.gz: 79d7e638af433c0198540041b618ffd295b937579da0b70e0bd33cbe615d755f
4
+ data.tar.gz: 2b6f67e8936bfbb16ffdc753358f5183c2382597a61760c4e6dbe458b06bbdf1
5
5
  SHA512:
6
- metadata.gz: 9e0b388ec011225067f113960fb1d3028e2d2c089198be92911faadd273ece66106ad2e98642b5fb38619ddc4c630a10f7a5c2e832a3fd96a81f25b9dc7e85e8
7
- data.tar.gz: e74e7ea2203c5444cdce8f7229256bf128cf7972bf608d9322dd8c53b78d4f0a6c82e8c075670461cc2fd36170a6bcbef3f6d61f150afaf904eea8fc7aa2e29b
6
+ metadata.gz: 674975557c16b5b7c8ce9d52bc5bbcd8739f59073498b5fcd472bd49dc04c249319abcd726a4515b21281ebc441f1c59a9a34739b99b25ba3b36b090c2112c6e
7
+ data.tar.gz: '075068c30ef79ac7185713f852b4fa1512a45c277a48a10bb7cea2d66f05ebe9093f231b50eb2bcea3eba8f2e1f7918bed40b45b82bdc867124e4515599ba26d'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seam (2.102.0)
4
+ seam (2.103.0)
5
5
  faraday (~> 2.7)
6
6
  faraday-retry (~> 2.2)
7
7
  svix (~> 1.30)
@@ -46,8 +46,14 @@ module Seam
46
46
  Seam::Resources::AccessCode.load_from_response(res.body["access_code"])
47
47
  end
48
48
 
49
- def list(access_code_ids: nil, customer_key: nil, device_id: nil, limit: nil, page_cursor: nil, user_identifier_key: nil)
50
- res = @client.post("/access_codes/list", {access_code_ids: access_code_ids, customer_key: customer_key, device_id: device_id, limit: limit, page_cursor: page_cursor, user_identifier_key: user_identifier_key}.compact)
49
+ def get_timeline(access_code_id:, after: nil, before: nil, event_types: nil, limit: nil)
50
+ @client.post("/access_codes/get_timeline", {access_code_id: access_code_id, after: after, before: before, event_types: event_types, limit: limit}.compact)
51
+
52
+ nil
53
+ end
54
+
55
+ def list(access_code_ids: nil, customer_key: nil, device_id: nil, limit: nil, page_cursor: nil, search: nil, user_identifier_key: nil)
56
+ res = @client.post("/access_codes/list", {access_code_ids: access_code_ids, customer_key: customer_key, device_id: device_id, limit: limit, page_cursor: page_cursor, search: search, user_identifier_key: user_identifier_key}.compact)
51
57
 
52
58
  Seam::Resources::AccessCode.load_from_response(res.body["access_codes"])
53
59
  end
@@ -26,8 +26,8 @@ module Seam
26
26
  Seam::Resources::UnmanagedAccessCode.load_from_response(res.body["access_code"])
27
27
  end
28
28
 
29
- def list(device_id:, limit: nil, page_cursor: nil, user_identifier_key: nil)
30
- res = @client.post("/access_codes/unmanaged/list", {device_id: device_id, limit: limit, page_cursor: page_cursor, user_identifier_key: user_identifier_key}.compact)
29
+ def list(device_id:, limit: nil, page_cursor: nil, search: nil, user_identifier_key: nil)
30
+ res = @client.post("/access_codes/unmanaged/list", {device_id: device_id, limit: limit, page_cursor: page_cursor, search: search, user_identifier_key: user_identifier_key}.compact)
31
31
 
32
32
  Seam::Resources::UnmanagedAccessCode.load_from_response(res.body["access_codes"])
33
33
  end
@@ -30,8 +30,8 @@ module Seam
30
30
  Seam::Resources::AccessGrant.load_from_response(res.body["access_grant"])
31
31
  end
32
32
 
33
- def get_related(access_grant_ids:, exclude: nil, include: nil)
34
- res = @client.post("/access_grants/get_related", {access_grant_ids: access_grant_ids, exclude: exclude, include: include}.compact)
33
+ def get_related(access_grant_ids: nil, access_grant_keys: nil, exclude: nil, include: nil)
34
+ res = @client.post("/access_grants/get_related", {access_grant_ids: access_grant_ids, access_grant_keys: access_grant_keys, exclude: exclude, include: include}.compact)
35
35
 
36
36
  Seam::Resources::Batch.load_from_response(res.body["batch"])
37
37
  end
@@ -26,8 +26,8 @@ module Seam
26
26
  Seam::Resources::AcsAccessGroup.load_from_response(res.body["acs_access_group"])
27
27
  end
28
28
 
29
- def list(acs_system_id: nil, acs_user_id: nil, user_identity_id: nil)
30
- res = @client.post("/acs/access_groups/list", {acs_system_id: acs_system_id, acs_user_id: acs_user_id, user_identity_id: user_identity_id}.compact)
29
+ def list(acs_system_id: nil, acs_user_id: nil, search: nil, user_identity_id: nil)
30
+ res = @client.post("/acs/access_groups/list", {acs_system_id: acs_system_id, acs_user_id: acs_user_id, search: search, user_identity_id: user_identity_id}.compact)
31
31
 
32
32
  Seam::Resources::AcsAccessGroup.load_from_response(res.body["acs_access_groups"])
33
33
  end
@@ -14,8 +14,8 @@ module Seam
14
14
  Seam::Resources::AcsSystem.load_from_response(res.body["acs_system"])
15
15
  end
16
16
 
17
- def list(connected_account_id: nil, customer_key: nil)
18
- res = @client.post("/acs/systems/list", {connected_account_id: connected_account_id, customer_key: customer_key}.compact)
17
+ def list(connected_account_id: nil, customer_key: nil, search: nil)
18
+ res = @client.post("/acs/systems/list", {connected_account_id: connected_account_id, customer_key: customer_key, search: search}.compact)
19
19
 
20
20
  Seam::Resources::AcsSystem.load_from_response(res.body["acs_systems"])
21
21
  end
@@ -26,8 +26,8 @@ module Seam
26
26
  Seam::Resources::ConnectWebview.load_from_response(res.body["connect_webview"])
27
27
  end
28
28
 
29
- def list(custom_metadata_has: nil, customer_key: nil, limit: nil, page_cursor: nil, user_identifier_key: nil)
30
- res = @client.post("/connect_webviews/list", {custom_metadata_has: custom_metadata_has, customer_key: customer_key, limit: limit, page_cursor: page_cursor, user_identifier_key: user_identifier_key}.compact)
29
+ def list(custom_metadata_has: nil, customer_key: nil, limit: nil, page_cursor: nil, search: nil, user_identifier_key: nil)
30
+ res = @client.post("/connect_webviews/list", {custom_metadata_has: custom_metadata_has, customer_key: customer_key, limit: limit, page_cursor: page_cursor, search: search, user_identifier_key: user_identifier_key}.compact)
31
31
 
32
32
  Seam::Resources::ConnectWebview.load_from_response(res.body["connect_webviews"])
33
33
  end
@@ -8,8 +8,12 @@ module Seam
8
8
  @defaults = defaults
9
9
  end
10
10
 
11
- def create_portal(customization_profile_id: nil, features: nil, is_embedded: nil, landing_page: nil, locale: nil, property_listing_filter: nil, customer_data: nil)
12
- res = @client.post("/customers/create_portal", {customization_profile_id: customization_profile_id, features: features, is_embedded: is_embedded, landing_page: landing_page, locale: locale, property_listing_filter: property_listing_filter, customer_data: customer_data}.compact)
11
+ def reservations
12
+ @reservations ||= Seam::Clients::CustomersReservations.new(client: @client, defaults: @defaults)
13
+ end
14
+
15
+ def create_portal(customer_resources_filters: nil, customization_profile_id: nil, deep_link: nil, exclude_locale_picker: nil, features: nil, is_embedded: nil, landing_page: nil, locale: nil, navigation_mode: nil, customer_data: nil)
16
+ res = @client.post("/customers/create_portal", {customer_resources_filters: customer_resources_filters, customization_profile_id: customization_profile_id, deep_link: deep_link, exclude_locale_picker: exclude_locale_picker, features: features, is_embedded: is_embedded, landing_page: landing_page, locale: locale, navigation_mode: navigation_mode, customer_data: customer_data}.compact)
13
17
 
14
18
  Seam::Resources::MagicLink.load_from_response(res.body["magic_link"])
15
19
  end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Seam
4
+ module Clients
5
+ class CustomersReservations
6
+ def initialize(client:, defaults:)
7
+ @client = client
8
+ @defaults = defaults
9
+ end
10
+
11
+ def create_deep_link(customer_key:, reservation_key:)
12
+ @client.post("/customers/reservations/create_deep_link", {customer_key: customer_key, reservation_key: reservation_key}.compact)
13
+
14
+ nil
15
+ end
16
+ end
17
+ end
18
+ end
@@ -21,6 +21,7 @@ require_relative "connect_webviews"
21
21
  require_relative "connected_accounts"
22
22
  require_relative "connected_accounts_simulate"
23
23
  require_relative "customers"
24
+ require_relative "customers_reservations"
24
25
  require_relative "devices"
25
26
  require_relative "devices_simulate"
26
27
  require_relative "devices_unmanaged"
@@ -10,8 +10,8 @@ module Seam
10
10
  @defaults = defaults
11
11
  end
12
12
 
13
- def create(name:, company_name: nil, connect_partner_name: nil, connect_webview_customization: nil, is_sandbox: nil, webview_logo_shape: nil, webview_primary_button_color: nil, webview_primary_button_text_color: nil, webview_success_message: nil)
14
- res = @client.post("/workspaces/create", {name: name, company_name: company_name, connect_partner_name: connect_partner_name, connect_webview_customization: connect_webview_customization, is_sandbox: is_sandbox, webview_logo_shape: webview_logo_shape, webview_primary_button_color: webview_primary_button_color, webview_primary_button_text_color: webview_primary_button_text_color, webview_success_message: webview_success_message}.compact)
13
+ def create(name:, company_name: nil, connect_partner_name: nil, connect_webview_customization: nil, is_sandbox: nil, organization_id: nil, webview_logo_shape: nil, webview_primary_button_color: nil, webview_primary_button_text_color: nil, webview_success_message: nil)
14
+ res = @client.post("/workspaces/create", {name: name, company_name: company_name, connect_partner_name: connect_partner_name, connect_webview_customization: connect_webview_customization, is_sandbox: is_sandbox, organization_id: organization_id, webview_logo_shape: webview_logo_shape, webview_primary_button_color: webview_primary_button_color, webview_primary_button_text_color: webview_primary_button_text_color, webview_success_message: webview_success_message}.compact)
15
15
 
16
16
  Seam::Resources::Workspace.load_from_response(res.body["workspace"])
17
17
  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, :workspace_id
6
+ attr_accessor :access_code_id, :code, :common_code_key, :device_id, :dormakaba_oracode_metadata, :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
 
@@ -3,7 +3,7 @@
3
3
  module Seam
4
4
  module Resources
5
5
  class AccessGrant < BaseResource
6
- attr_accessor :access_grant_id, :access_grant_key, :access_method_ids, :client_session_token, :customization_profile_id, :display_name, :instant_key_url, :location_ids, :name, :requested_access_methods, :reservation_key, :space_ids, :user_identity_id, :workspace_id
6
+ attr_accessor :access_grant_id, :access_grant_key, :access_method_ids, :client_session_token, :customization_profile_id, :display_name, :instant_key_url, :location_ids, :name, :pending_mutations, :requested_access_methods, :reservation_key, :space_ids, :user_identity_id, :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 AccessMethod < BaseResource
6
- attr_accessor :access_method_id, :client_session_token, :code, :customization_profile_id, :display_name, :instant_key_url, :is_encoding_required, :is_issued, :mode, :workspace_id
6
+ attr_accessor :access_method_id, :client_session_token, :code, :customization_profile_id, :display_name, :instant_key_url, :is_encoding_required, :is_issued, :mode, :pending_mutations, :workspace_id
7
7
 
8
8
  date_accessor :created_at, :issued_at
9
9
 
@@ -3,7 +3,7 @@
3
3
  module Seam
4
4
  module Resources
5
5
  class SeamEvent < BaseResource
6
- attr_accessor :access_code_id, :connected_account_custom_metadata, :connected_account_id, :device_custom_metadata, :device_id, :event_id, :event_type, :workspace_id, :code, :backup_access_code_id, :access_grant_id, :acs_entrance_id, :access_grant_key, :ends_at, :starts_at, :error_message, :access_grant_ids, :access_grant_keys, :access_method_id, :is_backup_code, :acs_system_id, :acs_credential_id, :acs_user_id, :acs_encoder_id, :acs_access_group_id, :client_session_id, :connect_webview_id, :customer_key, :connected_account_errors, :connected_account_type, :action_attempt_id, :action_type, :status, :error_code, :battery_level, :battery_status, :minut_metadata, :noise_level_decibels, :noise_level_nrs, :noise_threshold_id, :noise_threshold_name, :noiseaware_metadata, :access_code_is_managed, :method, :user_identity_id, :climate_preset_key, :is_fallback_climate_preset, :thermostat_schedule_id, :cooling_set_point_celsius, :cooling_set_point_fahrenheit, :fan_mode_setting, :heating_set_point_celsius, :heating_set_point_fahrenheit, :hvac_mode_setting, :lower_limit_celsius, :lower_limit_fahrenheit, :temperature_celsius, :temperature_fahrenheit, :upper_limit_celsius, :upper_limit_fahrenheit, :desired_temperature_celsius, :desired_temperature_fahrenheit, :device_name, :enrollment_automation_id, :acs_entrance_ids, :device_ids, :space_id, :space_key
6
+ attr_accessor :access_code_id, :connected_account_custom_metadata, :connected_account_id, :device_custom_metadata, :device_id, :event_id, :event_type, :workspace_id, :code, :access_code_errors, :access_code_warnings, :connected_account_errors, :connected_account_warnings, :device_errors, :device_warnings, :backup_access_code_id, :access_grant_id, :acs_entrance_id, :access_grant_key, :ends_at, :starts_at, :error_message, :access_grant_ids, :access_grant_keys, :access_method_id, :is_backup_code, :acs_system_id, :acs_system_errors, :acs_system_warnings, :acs_credential_id, :acs_user_id, :acs_encoder_id, :acs_access_group_id, :client_session_id, :connect_webview_id, :customer_key, :connected_account_type, :action_attempt_id, :action_type, :status, :error_code, :battery_level, :battery_status, :minut_metadata, :noise_level_decibels, :noise_level_nrs, :noise_threshold_id, :noise_threshold_name, :noiseaware_metadata, :access_code_is_managed, :method, :user_identity_id, :climate_preset_key, :is_fallback_climate_preset, :thermostat_schedule_id, :cooling_set_point_celsius, :cooling_set_point_fahrenheit, :fan_mode_setting, :heating_set_point_celsius, :heating_set_point_fahrenheit, :hvac_mode_setting, :lower_limit_celsius, :lower_limit_fahrenheit, :temperature_celsius, :temperature_fahrenheit, :upper_limit_celsius, :upper_limit_fahrenheit, :desired_temperature_celsius, :desired_temperature_fahrenheit, :device_name, :enrollment_automation_id, :acs_entrance_ids, :device_ids, :space_id, :space_key
7
7
 
8
8
  date_accessor :created_at, :occurred_at
9
9
  end
@@ -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, :workspace_id
6
+ attr_accessor :access_code_id, :code, :device_id, :dormakaba_oracode_metadata, :is_managed, :name, :status, :type, :workspace_id
7
7
 
8
8
  date_accessor :created_at, :ends_at, :starts_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.102.0"
4
+ VERSION = "2.103.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.102.0
4
+ version: 2.103.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-01-20 00:00:00.000000000 Z
11
+ date: 2026-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -224,6 +224,7 @@ files:
224
224
  - lib/seam/routes/clients/connected_accounts.rb
225
225
  - lib/seam/routes/clients/connected_accounts_simulate.rb
226
226
  - lib/seam/routes/clients/customers.rb
227
+ - lib/seam/routes/clients/customers_reservations.rb
227
228
  - lib/seam/routes/clients/devices.rb
228
229
  - lib/seam/routes/clients/devices_simulate.rb
229
230
  - lib/seam/routes/clients/devices_unmanaged.rb