seam 2.153.0 → 2.154.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 +2 -2
- data/lib/seam/resources/access_method.rb +35 -1
- data/lib/seam/resources/action_attempt.rb +2 -0
- data/lib/seam/resources/device.rb +5 -5
- data/lib/seam/resources/event.rb +2 -0
- data/lib/seam/resources/unmanaged_access_method.rb +35 -1
- data/lib/seam/routes/access_grants.rb +3 -2
- data/lib/seam/routes/workspaces.rb +1 -1
- data/lib/seam/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d03b70205a9c1d37feb3e2823214c629ff52fe827b31566a27e86b0541932d0
|
|
4
|
+
data.tar.gz: bd62720a1109c554a315f2d579012c9752c0e940bf9c3a9fef3f7b49228ea3aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 652a35e9f4a63ba920f7c4769f2eb5778c8f3cdf1f0f00bfad887448bd2625a87e7759442929823b349e063089e655930e17c9349b1b6cb4db7e8b05ce539b11
|
|
7
|
+
data.tar.gz: c6f52014459ff1bd7f9961c696b5128527f6703d28ec9308b99cd5fcef2fae3c64bd800cae34054dfe6d2180e7dee39b2016968f73951b80ae742644d5e55f2f
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
seam (2.
|
|
4
|
+
seam (2.154.0)
|
|
5
5
|
faraday (~> 2.7)
|
|
6
6
|
faraday-retry (~> 2.2)
|
|
7
7
|
svix (~> 1.30)
|
|
@@ -171,7 +171,7 @@ CHECKSUMS
|
|
|
171
171
|
rubocop-ast (1.50.0) sha256=b9ca88300da0803ee222ad20cdb30494c0a784eed06fdc35d254b06d662788db
|
|
172
172
|
rubocop-performance (1.26.1) sha256=cd19b936ff196df85829d264b522fd4f98b6c89ad271fa52744a8c11b8f71834
|
|
173
173
|
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
|
174
|
-
seam (2.
|
|
174
|
+
seam (2.154.0)
|
|
175
175
|
simplecov (1.1.1) sha256=25825ef13f0b2e74694d769817dad6ab8e90131dabdaa666e522fea105521e78
|
|
176
176
|
simplecov-console (0.9.5) sha256=b1108bcfff5f210143e2b8301698c367b01586f20d25a73e95475a5df6fc6ff6
|
|
177
177
|
standard (1.56.0) sha256=ae2af4d9669589162ac69ed5ef59dcf9f346d4afc81f7e62b84339310dfcb787
|
|
@@ -142,6 +142,36 @@ module Seam
|
|
|
142
142
|
date_accessor :created_at
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
+
# Indicates that the access system delivers this mobile key through an app invitation sent to the recipient's email address, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no email address, so the mobile key cannot be delivered. Set an email address on the user identity when you create the access grant.
|
|
146
|
+
class UserIdentityMissingEmailAddress < Warnings
|
|
147
|
+
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
148
|
+
# @return [String]
|
|
149
|
+
attr_accessor :message
|
|
150
|
+
# Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
151
|
+
# @return [String]
|
|
152
|
+
# Known values:
|
|
153
|
+
# - `user_identity_missing_email_address`
|
|
154
|
+
attr_accessor :warning_code
|
|
155
|
+
# Date and time at which Seam created the warning.
|
|
156
|
+
# @return [Time]
|
|
157
|
+
date_accessor :created_at
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# Indicates that the access system delivers this mobile key to the recipient's phone number, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no phone number, so the mobile key cannot be delivered. Set a phone number on the user identity when you create the access grant.
|
|
161
|
+
class UserIdentityMissingPhoneNumber < Warnings
|
|
162
|
+
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
163
|
+
# @return [String]
|
|
164
|
+
attr_accessor :message
|
|
165
|
+
# Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
166
|
+
# @return [String]
|
|
167
|
+
# Known values:
|
|
168
|
+
# - `user_identity_missing_phone_number`
|
|
169
|
+
attr_accessor :warning_code
|
|
170
|
+
# Date and time at which Seam created the warning.
|
|
171
|
+
# @return [Time]
|
|
172
|
+
date_accessor :created_at
|
|
173
|
+
end
|
|
174
|
+
|
|
145
175
|
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
146
176
|
# @return [String]
|
|
147
177
|
attr_accessor :message
|
|
@@ -152,6 +182,8 @@ module Seam
|
|
|
152
182
|
# - `updating_access_times`
|
|
153
183
|
# - `pulled_backup_access_code`
|
|
154
184
|
# - `delay_in_issuing`
|
|
185
|
+
# - `user_identity_missing_email_address`
|
|
186
|
+
# - `user_identity_missing_phone_number`
|
|
155
187
|
attr_accessor :warning_code
|
|
156
188
|
# Date and time at which Seam created the warning.
|
|
157
189
|
# @return [Time]
|
|
@@ -161,7 +193,9 @@ module Seam
|
|
|
161
193
|
"being_deleted" => BeingDeleted,
|
|
162
194
|
"updating_access_times" => UpdatingAccessTimes,
|
|
163
195
|
"pulled_backup_access_code" => PulledBackupAccessCode,
|
|
164
|
-
"delay_in_issuing" => DelayInIssuing
|
|
196
|
+
"delay_in_issuing" => DelayInIssuing,
|
|
197
|
+
"user_identity_missing_email_address" => UserIdentityMissingEmailAddress,
|
|
198
|
+
"user_identity_missing_phone_number" => UserIdentityMissingPhoneNumber
|
|
165
199
|
}.freeze
|
|
166
200
|
end
|
|
167
201
|
|
|
@@ -1004,6 +1004,8 @@ module Seam
|
|
|
1004
1004
|
# - `updating_access_times`
|
|
1005
1005
|
# - `pulled_backup_access_code`
|
|
1006
1006
|
# - `delay_in_issuing`
|
|
1007
|
+
# - `user_identity_missing_email_address`
|
|
1008
|
+
# - `user_identity_missing_phone_number`
|
|
1007
1009
|
attr_accessor :warning_code
|
|
1008
1010
|
# ID of the original access method from which this backup access method was split, if applicable.
|
|
1009
1011
|
# @return [String, nil]
|
|
@@ -562,15 +562,15 @@ module Seam
|
|
|
562
562
|
class DormakabaOracodeIhoMetadata < BaseResource
|
|
563
563
|
class UserLevels < BaseResource
|
|
564
564
|
# @return [Float, nil]
|
|
565
|
-
attr_accessor :
|
|
565
|
+
attr_accessor :user_level
|
|
566
566
|
# @return [String, nil]
|
|
567
|
-
attr_accessor :
|
|
567
|
+
attr_accessor :user_level_check_in_time
|
|
568
568
|
# @return [String, nil]
|
|
569
|
-
attr_accessor :
|
|
569
|
+
attr_accessor :user_level_check_out_time
|
|
570
570
|
# @return [String, nil]
|
|
571
|
-
attr_accessor :
|
|
571
|
+
attr_accessor :user_level_name
|
|
572
572
|
# @return [String, nil]
|
|
573
|
-
attr_accessor :
|
|
573
|
+
attr_accessor :user_level_type
|
|
574
574
|
end
|
|
575
575
|
|
|
576
576
|
# User levels for a dormakaba Oracode Homeowner's Portal device.
|
data/lib/seam/resources/event.rb
CHANGED
|
@@ -4325,6 +4325,7 @@ module Seam
|
|
|
4325
4325
|
# - `unknown`
|
|
4326
4326
|
# - `remote`
|
|
4327
4327
|
# - `card`
|
|
4328
|
+
# - `mobile_key`
|
|
4328
4329
|
aliased_accessor :event_method, from: :method
|
|
4329
4330
|
# ID of the workspace associated with the event.
|
|
4330
4331
|
# @return [String]
|
|
@@ -4391,6 +4392,7 @@ module Seam
|
|
|
4391
4392
|
# - `unknown`
|
|
4392
4393
|
# - `remote`
|
|
4393
4394
|
# - `card`
|
|
4395
|
+
# - `mobile_key`
|
|
4394
4396
|
aliased_accessor :event_method, from: :method
|
|
4395
4397
|
# ID of the workspace associated with the event.
|
|
4396
4398
|
# @return [String]
|
|
@@ -142,6 +142,36 @@ module Seam
|
|
|
142
142
|
date_accessor :created_at
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
+
# Indicates that the access system delivers this mobile key through an app invitation sent to the recipient's email address, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no email address, so the mobile key cannot be delivered. Set an email address on the user identity when you create the access grant.
|
|
146
|
+
class UserIdentityMissingEmailAddress < Warnings
|
|
147
|
+
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
148
|
+
# @return [String]
|
|
149
|
+
attr_accessor :message
|
|
150
|
+
# Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
151
|
+
# @return [String]
|
|
152
|
+
# Known values:
|
|
153
|
+
# - `user_identity_missing_email_address`
|
|
154
|
+
attr_accessor :warning_code
|
|
155
|
+
# Date and time at which Seam created the warning.
|
|
156
|
+
# @return [Time]
|
|
157
|
+
date_accessor :created_at
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# Indicates that the access system delivers this mobile key to the recipient's phone number, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no phone number, so the mobile key cannot be delivered. Set a phone number on the user identity when you create the access grant.
|
|
161
|
+
class UserIdentityMissingPhoneNumber < Warnings
|
|
162
|
+
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
163
|
+
# @return [String]
|
|
164
|
+
attr_accessor :message
|
|
165
|
+
# Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
166
|
+
# @return [String]
|
|
167
|
+
# Known values:
|
|
168
|
+
# - `user_identity_missing_phone_number`
|
|
169
|
+
attr_accessor :warning_code
|
|
170
|
+
# Date and time at which Seam created the warning.
|
|
171
|
+
# @return [Time]
|
|
172
|
+
date_accessor :created_at
|
|
173
|
+
end
|
|
174
|
+
|
|
145
175
|
# Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
146
176
|
# @return [String]
|
|
147
177
|
attr_accessor :message
|
|
@@ -152,6 +182,8 @@ module Seam
|
|
|
152
182
|
# - `updating_access_times`
|
|
153
183
|
# - `pulled_backup_access_code`
|
|
154
184
|
# - `delay_in_issuing`
|
|
185
|
+
# - `user_identity_missing_email_address`
|
|
186
|
+
# - `user_identity_missing_phone_number`
|
|
155
187
|
attr_accessor :warning_code
|
|
156
188
|
# Date and time at which Seam created the warning.
|
|
157
189
|
# @return [Time]
|
|
@@ -161,7 +193,9 @@ module Seam
|
|
|
161
193
|
"being_deleted" => BeingDeleted,
|
|
162
194
|
"updating_access_times" => UpdatingAccessTimes,
|
|
163
195
|
"pulled_backup_access_code" => PulledBackupAccessCode,
|
|
164
|
-
"delay_in_issuing" => DelayInIssuing
|
|
196
|
+
"delay_in_issuing" => DelayInIssuing,
|
|
197
|
+
"user_identity_missing_email_address" => UserIdentityMissingEmailAddress,
|
|
198
|
+
"user_identity_missing_phone_number" => UserIdentityMissingPhoneNumber
|
|
165
199
|
}.freeze
|
|
166
200
|
end
|
|
167
201
|
|
|
@@ -89,11 +89,12 @@ module Seam
|
|
|
89
89
|
# @deprecated location_id: Use `space_id`.
|
|
90
90
|
# @param page_cursor [String, Seam::Null, nil] Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
|
|
91
91
|
# @param reservation_key [String, nil] Filter Access Grants by reservation_key.
|
|
92
|
+
# @param search [String, nil] String for which to search. Filters returned Access Grants to include all records that satisfy a partial match using `name`, `access_grant_key`, `reservation_key`, `access_grant_id`, `user_identity_id`, `user_identity_full_name`, `user_identity_email_address` or `user_identity_phone_number`.
|
|
92
93
|
# @param space_id [String, nil] ID of the space by which you want to filter the list of Access Grants.
|
|
93
94
|
# @param user_identity_id [String, nil] ID of user identity by which you want to filter the list of Access Grants.
|
|
94
95
|
# @return [Seam::Resources::AccessGrant] OK
|
|
95
|
-
def list(access_code_id: nil, access_grant_ids: nil, access_grant_key: nil, acs_entrance_id: nil, acs_system_id: nil, customer_key: nil, device_id: nil, limit: nil, location_id: nil, page_cursor: nil, reservation_key: nil, space_id: nil, user_identity_id: nil)
|
|
96
|
-
res = @client.get("/access_grants/list", {access_code_id: access_code_id, access_grant_ids: access_grant_ids, access_grant_key: access_grant_key, acs_entrance_id: acs_entrance_id, acs_system_id: acs_system_id, customer_key: customer_key, device_id: device_id, limit: limit, location_id: location_id, page_cursor: page_cursor, reservation_key: reservation_key, space_id: space_id, user_identity_id: user_identity_id}.compact)
|
|
96
|
+
def list(access_code_id: nil, access_grant_ids: nil, access_grant_key: nil, acs_entrance_id: nil, acs_system_id: nil, customer_key: nil, device_id: nil, limit: nil, location_id: nil, page_cursor: nil, reservation_key: nil, search: nil, space_id: nil, user_identity_id: nil)
|
|
97
|
+
res = @client.get("/access_grants/list", {access_code_id: access_code_id, access_grant_ids: access_grant_ids, access_grant_key: access_grant_key, acs_entrance_id: acs_entrance_id, acs_system_id: acs_system_id, customer_key: customer_key, device_id: device_id, limit: limit, location_id: location_id, page_cursor: page_cursor, reservation_key: reservation_key, search: search, space_id: space_id, user_identity_id: user_identity_id}.compact)
|
|
97
98
|
|
|
98
99
|
Seam::Resources::AccessGrant.load_from_response(res.body["access_grants"])
|
|
99
100
|
end
|
|
@@ -17,7 +17,7 @@ module Seam
|
|
|
17
17
|
# @param connect_partner_name [String, Seam::Null, nil] Connect partner name for the new workspace.
|
|
18
18
|
# @param connect_webview_customization [Hash, nil] [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) customizations for the new 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).
|
|
19
19
|
# @param is_sandbox [Boolean, nil] Indicates whether the new workspace is a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
|
|
20
|
-
# @param organization_id [String, nil] ID of the organization to associate with the new workspace. If omitted, the new workspace is associated with the organization that you administer, if you administer exactly one.
|
|
20
|
+
# @param organization_id [String, nil] ID of the organization to associate with the new workspace. If omitted, the new workspace is associated with the organization that you administer, if you administer exactly one. If you administer no organization, Seam creates one for you and associates the new workspace with it.
|
|
21
21
|
# @param webview_logo_shape [String, nil]
|
|
22
22
|
# @deprecated webview_logo_shape: Use `connect_webview_customization.webview_logo_shape` instead.
|
|
23
23
|
# @param webview_primary_button_color [String, nil]
|
data/lib/seam/version.rb
CHANGED