seam 2.134.0 → 2.136.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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +17 -7
  4. data/lib/seam/auth.rb +1 -1
  5. data/lib/seam/base_resource.rb +45 -1
  6. data/lib/seam/deep_hash_accessor.rb +8 -4
  7. data/lib/seam/{http_multi_workspace.rb → http_without_workspace.rb} +4 -3
  8. data/lib/seam/request.rb +0 -1
  9. data/lib/seam/resources/access_code.rb +109 -7
  10. data/lib/seam/resources/access_grant.rb +90 -7
  11. data/lib/seam/resources/access_method.rb +49 -5
  12. data/lib/seam/resources/acs_access_group.rb +69 -7
  13. data/lib/seam/resources/acs_credential.rb +54 -7
  14. data/lib/seam/resources/acs_encoder.rb +10 -2
  15. data/lib/seam/resources/acs_entrance.rb +166 -25
  16. data/lib/seam/resources/acs_system.rb +40 -7
  17. data/lib/seam/resources/acs_user.rb +93 -11
  18. data/lib/seam/resources/action_attempt.rb +304 -5
  19. data/lib/seam/resources/connected_account.rb +70 -6
  20. data/lib/seam/resources/device.rb +1126 -11
  21. data/lib/seam/resources/event.rb +133 -49
  22. data/lib/seam/resources/index.rb +0 -4
  23. data/lib/seam/resources/instant_key.rb +10 -2
  24. data/lib/seam/resources/phone.rb +44 -5
  25. data/lib/seam/resources/space.rb +20 -4
  26. data/lib/seam/resources/thermostat_daily_program.rb +8 -2
  27. data/lib/seam/resources/thermostat_schedule.rb +10 -2
  28. data/lib/seam/resources/unmanaged_access_code.rb +74 -5
  29. data/lib/seam/resources/unmanaged_access_grant.rb +90 -7
  30. data/lib/seam/resources/unmanaged_access_method.rb +49 -5
  31. data/lib/seam/resources/unmanaged_device.rb +99 -7
  32. data/lib/seam/resources/unmanaged_user_identity.rb +24 -3
  33. data/lib/seam/resources/user_identity.rb +24 -3
  34. data/lib/seam/resources/workspace.rb +14 -1
  35. data/lib/seam/version.rb +1 -1
  36. data/lib/seam.rb +1 -1
  37. metadata +3 -7
  38. data/lib/seam/resources/resource_error.rb +0 -11
  39. data/lib/seam/resources/resource_errors_support.rb +0 -11
  40. data/lib/seam/resources/resource_warning.rb +0 -11
  41. data/lib/seam/resources/resource_warnings_support.rb +0 -11
@@ -4,6 +4,96 @@ module Seam
4
4
  module Resources
5
5
  # Represents an unmanaged Access Grant. Unmanaged Access Grants do not have client sessions, instant keys, customization profiles, or keys.
6
6
  class UnmanagedAccessGrant < BaseResource
7
+ class Errors < BaseResource
8
+ # Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
9
+ attr_accessor :error_code
10
+ # Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
11
+ attr_accessor :message
12
+ # IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.
13
+ attr_accessor :missing_device_ids
14
+ # Date and time at which Seam created the error.
15
+ date_accessor :created_at
16
+ end
17
+
18
+ class PendingMutations < BaseResource
19
+ class From < BaseResource
20
+ # Previous device IDs where access codes existed.
21
+ attr_accessor :device_ids
22
+ # Previous end time for access.
23
+ date_accessor :ends_at
24
+ # Previous start time for access.
25
+ date_accessor :starts_at
26
+ end
27
+
28
+ class To < BaseResource
29
+ # Common code key to ensure PIN code reuse across devices.
30
+ attr_accessor :common_code_key
31
+ # New device IDs where access codes should be created.
32
+ attr_accessor :device_ids
33
+ # New end time for access.
34
+ date_accessor :ends_at
35
+ # New start time for access.
36
+ date_accessor :starts_at
37
+ end
38
+
39
+ resource_accessor :from, From
40
+ resource_accessor :to, To
41
+ # IDs of the access methods being updated.
42
+ attr_accessor :access_method_ids
43
+ # Detailed description of the mutation.
44
+ attr_accessor :message
45
+ attr_accessor :mutation_code
46
+ # Date and time at which the mutation was created.
47
+ date_accessor :created_at
48
+ end
49
+
50
+ class RequestedAccessMethods < BaseResource
51
+ # Specific PIN code to use for this access method. Only applicable when mode is 'code'.
52
+ attr_accessor :code
53
+ # IDs of the access methods created for the requested access method.
54
+ attr_accessor :created_access_method_ids
55
+ # Display name of the access method.
56
+ attr_accessor :display_name
57
+ # Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified.
58
+ attr_accessor :instant_key_max_use_count
59
+ # Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.
60
+ attr_accessor :mode
61
+ # Date and time at which the requested access method was added to the Access Grant.
62
+ date_accessor :created_at
63
+ end
64
+
65
+ class Warnings < BaseResource
66
+ class FailedDevices < BaseResource
67
+ # Device whose access code could not be revoked.
68
+ attr_accessor :device_id
69
+ # Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).
70
+ attr_accessor :error_code
71
+ # Human-readable description of why revocation failed.
72
+ attr_accessor :message
73
+ end
74
+
75
+ resource_list_accessor :failed_devices, FailedDevices
76
+ # IDs of the access methods being updated.
77
+ attr_accessor :access_method_ids
78
+ attr_accessor :device_id
79
+ # Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
80
+ attr_accessor :message
81
+ # The new PIN code that was assigned instead.
82
+ attr_accessor :new_code
83
+ # The originally requested PIN code that was unavailable.
84
+ attr_accessor :original_code
85
+ # Specific reason why the grant's times are not programmable on the device.
86
+ attr_accessor :reason
87
+ # Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
88
+ attr_accessor :warning_code
89
+ # Date and time at which Seam created the warning.
90
+ date_accessor :created_at
91
+ end
92
+
93
+ resource_list_accessor :errors, Errors
94
+ resource_list_accessor :pending_mutations, PendingMutations
95
+ resource_list_accessor :requested_access_methods, RequestedAccessMethods
96
+ resource_list_accessor :warnings, Warnings
7
97
  # ID of the Access Grant.
8
98
  attr_accessor :access_grant_id
9
99
  # IDs of the access methods created for the Access Grant.
@@ -14,10 +104,6 @@ module Seam
14
104
  attr_accessor :location_ids
15
105
  # Name of the Access Grant. If not provided, the display name will be computed.
16
106
  attr_accessor :name
17
- # List of pending mutations for the access grant. This shows updates that are in progress.
18
- attr_accessor :pending_mutations
19
- # Access methods that the user requested for the Access Grant.
20
- attr_accessor :requested_access_methods
21
107
  # Reservation key for the access grant.
22
108
  attr_accessor :reservation_key
23
109
  # IDs of the spaces to which the Access Grant gives access.
@@ -35,9 +121,6 @@ module Seam
35
121
 
36
122
  # Date and time at which the Access Grant starts.
37
123
  date_accessor :starts_at
38
-
39
- include Seam::Resources::ResourceErrorsSupport
40
- include Seam::Resources::ResourceWarningsSupport
41
124
  end
42
125
  end
43
126
  end
@@ -4,6 +4,55 @@ module Seam
4
4
  module Resources
5
5
  # Represents an unmanaged access method. Unmanaged access methods do not have client sessions, instant keys, customization profiles, or keys.
6
6
  class UnmanagedAccessMethod < BaseResource
7
+ class Errors < BaseResource
8
+ # Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
9
+ attr_accessor :error_code
10
+ # Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
11
+ attr_accessor :message
12
+ # Date and time at which Seam created the error.
13
+ date_accessor :created_at
14
+ end
15
+
16
+ class PendingMutations < BaseResource
17
+ class From < BaseResource
18
+ attr_accessor :device_ids
19
+ # Previous end time for access.
20
+ date_accessor :ends_at
21
+ # Previous start time for access.
22
+ date_accessor :starts_at
23
+ end
24
+
25
+ class To < BaseResource
26
+ attr_accessor :device_ids
27
+ # New end time for access.
28
+ date_accessor :ends_at
29
+ # New start time for access.
30
+ date_accessor :starts_at
31
+ end
32
+
33
+ resource_accessor :from, From
34
+ resource_accessor :to, To
35
+ # Detailed description of the mutation.
36
+ attr_accessor :message
37
+ attr_accessor :mutation_code
38
+ # Date and time at which the mutation was created.
39
+ date_accessor :created_at
40
+ end
41
+
42
+ class Warnings < BaseResource
43
+ # Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
44
+ attr_accessor :message
45
+ # ID of the original access method from which this backup access method was split, if applicable.
46
+ attr_accessor :original_access_method_id
47
+ # Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
48
+ attr_accessor :warning_code
49
+ # Date and time at which Seam created the warning.
50
+ date_accessor :created_at
51
+ end
52
+
53
+ resource_list_accessor :errors, Errors
54
+ resource_list_accessor :pending_mutations, PendingMutations
55
+ resource_list_accessor :warnings, Warnings
7
56
  # ID of the access method.
8
57
  attr_accessor :access_method_id
9
58
  # The actual PIN code for code access methods.
@@ -22,8 +71,6 @@ module Seam
22
71
  attr_accessor :is_ready_for_encoding
23
72
  # Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.
24
73
  attr_accessor :mode
25
- # Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress.
26
- attr_accessor :pending_mutations
27
74
  # ID of the Seam workspace associated with the access method.
28
75
  attr_accessor :workspace_id
29
76
 
@@ -32,9 +79,6 @@ module Seam
32
79
 
33
80
  # Date and time at which the access method was issued.
34
81
  date_accessor :issued_at
35
-
36
- include Seam::Resources::ResourceErrorsSupport
37
- include Seam::Resources::ResourceWarningsSupport
38
82
  end
39
83
  end
40
84
  end
@@ -4,6 +4,105 @@ module Seam
4
4
  module Resources
5
5
  # Represents an [unmanaged device](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices). An unmanaged device has a limited set of visible properties and a subset of supported events. You cannot control an unmanaged device. Any [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes) on an unmanaged device are unmanaged. To control an unmanaged device with Seam, [convert it to a managed device](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices#convert-an-unmanaged-device-to-managed).
6
6
  class UnmanagedDevice < BaseResource
7
+ class Errors < BaseResource
8
+ # Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
9
+ attr_accessor :error_code
10
+ # Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).
11
+ attr_accessor :is_bridge_error
12
+ attr_accessor :is_connected_account_error
13
+ attr_accessor :is_device_error
14
+ # Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
15
+ attr_accessor :message
16
+ # Date and time at which Seam created the error.
17
+ date_accessor :created_at
18
+ end
19
+
20
+ class Location < BaseResource
21
+ # Name of the device location.
22
+ attr_accessor :location_name
23
+ # Time zone of the device location.
24
+ attr_accessor :time_zone
25
+ # Time zone of the device location.
26
+ # @deprecated Use `time_zone` instead.
27
+ attr_accessor :timezone
28
+ end
29
+
30
+ class Properties < BaseResource
31
+ class AccessoryKeypad < BaseResource
32
+ class Battery < BaseResource
33
+ attr_accessor :level
34
+ end
35
+
36
+ resource_accessor :battery, Battery
37
+ # Indicates if an accessory keypad is connected to the device.
38
+ attr_accessor :is_connected
39
+ end
40
+
41
+ class Battery < BaseResource
42
+ # Battery charge level as a value between 0 and 1, inclusive.
43
+ attr_accessor :level
44
+ # Represents the current status of the battery charge level. Values are `critical`, which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; `low`, which signifies that the battery is under the preferred threshold and should be charged soon; `good`, which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and `full`, which represents a battery that is fully charged, providing the maximum duration of usage.
45
+ attr_accessor :status
46
+ end
47
+
48
+ class Model < BaseResource
49
+ # @deprecated use device.properties.model.can_connect_accessory_keypad
50
+ attr_accessor :accessory_keypad_supported
51
+ # Indicates whether the device can connect a accessory keypad.
52
+ attr_accessor :can_connect_accessory_keypad
53
+ # Display name of the device model.
54
+ attr_accessor :display_name
55
+ # Indicates whether the device has a built in accessory keypad.
56
+ attr_accessor :has_built_in_keypad
57
+ # Display name that corresponds to the manufacturer-specific terminology for the device.
58
+ attr_accessor :manufacturer_display_name
59
+ # @deprecated use device.can_program_offline_access_codes.
60
+ attr_accessor :offline_access_codes_supported
61
+ # @deprecated use device.can_program_online_access_codes.
62
+ attr_accessor :online_access_codes_supported
63
+ end
64
+
65
+ resource_accessor :accessory_keypad, AccessoryKeypad
66
+ resource_accessor :battery, Battery
67
+ resource_accessor :model, Model
68
+ # Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.
69
+ attr_accessor :battery_level
70
+ # Alt text for the device image.
71
+ attr_accessor :image_alt_text
72
+ # Image URL for the device.
73
+ attr_accessor :image_url
74
+ # Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub.
75
+ attr_accessor :manufacturer
76
+ # Name of the device.
77
+ # @deprecated use device.display_name instead
78
+ attr_accessor :name
79
+ # Indicates whether it is currently possible to use offline access codes for the device.
80
+ # @deprecated use device.can_program_offline_access_codes
81
+ attr_accessor :offline_access_codes_enabled
82
+ # Indicates whether the device is online.
83
+ attr_accessor :online
84
+ # Indicates whether it is currently possible to use online access codes for the device.
85
+ # @deprecated use device.can_program_online_access_codes
86
+ attr_accessor :online_access_codes_enabled
87
+ end
88
+
89
+ class Warnings < BaseResource
90
+ # Number of active access codes on the device when the warning was set.
91
+ attr_accessor :active_access_code_count
92
+ # Maximum number of active access codes supported by the device.
93
+ attr_accessor :max_active_access_code_count
94
+ # Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
95
+ attr_accessor :message
96
+ # Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
97
+ attr_accessor :warning_code
98
+ # Date and time at which Seam created the warning.
99
+ date_accessor :created_at
100
+ end
101
+
102
+ resource_accessor :location, Location
103
+ resource_accessor :properties, Properties
104
+ resource_list_accessor :errors, Errors
105
+ resource_list_accessor :warnings, Warnings
7
106
  # Indicates whether the lock supports configuring automatic locking.
8
107
  attr_accessor :can_configure_auto_lock
9
108
  # Indicates whether the thermostat supports cooling.
@@ -56,18 +155,11 @@ module Seam
56
155
  attr_accessor :device_type
57
156
  # Indicates that Seam does not manage the device.
58
157
  attr_accessor :is_managed
59
- # Location information for the device.
60
- attr_accessor :location
61
- # properties of the device.
62
- attr_accessor :properties
63
158
  # Unique identifier for the Seam workspace associated with the device.
64
159
  attr_accessor :workspace_id
65
160
 
66
161
  # Date and time at which the device object was created.
67
162
  date_accessor :created_at
68
-
69
- include Seam::Resources::ResourceErrorsSupport
70
- include Seam::Resources::ResourceWarningsSupport
71
163
  end
72
164
  end
73
165
  end
@@ -4,6 +4,30 @@ module Seam
4
4
  module Resources
5
5
  # Represents an unmanaged user identity. Unmanaged user identities do not have keys.
6
6
  class UnmanagedUserIdentity < BaseResource
7
+ class Errors < BaseResource
8
+ # ID of the access system that the user identity is associated with.
9
+ attr_accessor :acs_system_id
10
+ # ID of the access system user that has an issue.
11
+ attr_accessor :acs_user_id
12
+ # Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
13
+ attr_accessor :error_code
14
+ # Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
15
+ attr_accessor :message
16
+ # Date and time at which Seam created the error.
17
+ date_accessor :created_at
18
+ end
19
+
20
+ class Warnings < BaseResource
21
+ # Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
22
+ attr_accessor :message
23
+ # Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
24
+ attr_accessor :warning_code
25
+ # Date and time at which Seam created the warning.
26
+ date_accessor :created_at
27
+ end
28
+
29
+ resource_list_accessor :errors, Errors
30
+ resource_list_accessor :warnings, Warnings
7
31
  # Array of access system user IDs associated with the user identity.
8
32
  attr_accessor :acs_user_ids
9
33
  # Display name for the user identity.
@@ -21,9 +45,6 @@ module Seam
21
45
 
22
46
  # Date and time at which the user identity was created.
23
47
  date_accessor :created_at
24
-
25
- include Seam::Resources::ResourceErrorsSupport
26
- include Seam::Resources::ResourceWarningsSupport
27
48
  end
28
49
  end
29
50
  end
@@ -4,6 +4,30 @@ module Seam
4
4
  module Resources
5
5
  # Represents a [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account.
6
6
  class UserIdentity < BaseResource
7
+ class Errors < BaseResource
8
+ # ID of the access system that the user identity is associated with.
9
+ attr_accessor :acs_system_id
10
+ # ID of the access system user that has an issue.
11
+ attr_accessor :acs_user_id
12
+ # Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
13
+ attr_accessor :error_code
14
+ # Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
15
+ attr_accessor :message
16
+ # Date and time at which Seam created the error.
17
+ date_accessor :created_at
18
+ end
19
+
20
+ class Warnings < BaseResource
21
+ # Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
22
+ attr_accessor :message
23
+ # Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
24
+ attr_accessor :warning_code
25
+ # Date and time at which Seam created the warning.
26
+ date_accessor :created_at
27
+ end
28
+
29
+ resource_list_accessor :errors, Errors
30
+ resource_list_accessor :warnings, Warnings
7
31
  # Array of access system user IDs associated with the user identity.
8
32
  attr_accessor :acs_user_ids
9
33
  # Display name for the user identity.
@@ -23,9 +47,6 @@ module Seam
23
47
 
24
48
  # Date and time at which the user identity was created.
25
49
  date_accessor :created_at
26
-
27
- include Seam::Resources::ResourceErrorsSupport
28
- include Seam::Resources::ResourceWarningsSupport
29
50
  end
30
51
  end
31
52
  end
@@ -4,11 +4,24 @@ module Seam
4
4
  module Resources
5
5
  # Represents a Seam [workspace](https://docs.seam.co/core-concepts/workspaces). A workspace is a top-level entity that encompasses all other resources below it, such as devices, connected accounts, and Connect Webviews. Seam provides two types of workspaces. A [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) is a special type of workspace designed for testing code. Sandbox workspaces offer test device accounts and virtual devices that you can connect and control. This ability to work with virtual devices is quite handy because it removes the need to own physical devices from multiple brands. To connect real devices and systems to Seam, use a [production workspace](https://docs.seam.co/core-concepts/workspaces#production-workspaces).
6
6
  class Workspace < BaseResource
7
+ class ConnectWebviewCustomization < BaseResource
8
+ # URL of the inviter logo for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews).
9
+ attr_accessor :inviter_logo_url
10
+ # Logo shape for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews).
11
+ attr_accessor :logo_shape
12
+ # Primary button color for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews).
13
+ attr_accessor :primary_button_color
14
+ # Primary button text color for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews).
15
+ attr_accessor :primary_button_text_color
16
+ # Success message for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews).
17
+ attr_accessor :success_message
18
+ end
19
+
20
+ resource_accessor :connect_webview_customization, ConnectWebviewCustomization
7
21
  # Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces).
8
22
  attr_accessor :company_name
9
23
  # @deprecated Use `company_name` instead.
10
24
  attr_accessor :connect_partner_name
11
- attr_accessor :connect_webview_customization
12
25
  # Indicates whether publishable key authentication is enabled for this workspace.
13
26
  attr_accessor :is_publishable_key_auth_enabled
14
27
  # Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
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.134.0"
4
+ VERSION = "2.136.0"
5
5
  end
data/lib/seam.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  require_relative "seam/lts_version"
4
4
  require_relative "seam/http"
5
- require_relative "seam/http_multi_workspace"
5
+ require_relative "seam/http_without_workspace"
6
6
  require_relative "seam/webhook"
7
7
  require_relative "seam/wait_for_action_attempt"
8
8
 
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.134.0
4
+ version: 2.136.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-08-11 00:00:00.000000000 Z
11
+ date: 2026-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -196,8 +196,8 @@ files:
196
196
  - lib/seam/defaults.rb
197
197
  - lib/seam/helpers/action_attempt.rb
198
198
  - lib/seam/http.rb
199
- - lib/seam/http_multi_workspace.rb
200
199
  - lib/seam/http_single_workspace.rb
200
+ - lib/seam/http_without_workspace.rb
201
201
  - lib/seam/lts_version.rb
202
202
  - lib/seam/options.rb
203
203
  - lib/seam/paginator.rb
@@ -226,10 +226,6 @@ files:
226
226
  - lib/seam/resources/noise_threshold.rb
227
227
  - lib/seam/resources/pagination.rb
228
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
229
  - lib/seam/resources/space.rb
234
230
  - lib/seam/resources/thermostat_daily_program.rb
235
231
  - lib/seam/resources/thermostat_schedule.rb
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Seam
4
- module Resources
5
- class ResourceError < BaseResource
6
- attr_accessor :error_code, :message
7
-
8
- date_accessor :created_at
9
- end
10
- end
11
- end
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Seam
4
- module Resources
5
- module ResourceErrorsSupport
6
- def errors
7
- @errors_converted ||= @errors.is_a?(Array) ? Seam::Resources::ResourceError.load_from_response(@errors) : []
8
- end
9
- end
10
- end
11
- end
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Seam
4
- module Resources
5
- class ResourceWarning < BaseResource
6
- attr_accessor :warning_code, :message
7
-
8
- date_accessor :created_at
9
- end
10
- end
11
- end
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Seam
4
- module Resources
5
- module ResourceWarningsSupport
6
- def warnings
7
- @warnings_converted ||= @warnings.is_a?(Array) ? Seam::Resources::ResourceWarning.load_from_response(@warnings) : []
8
- end
9
- end
10
- end
11
- end