seam 2.165.0 → 2.166.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: '0728def14eca9e4d20afc7b4b6c8d6a312f6369058f1a1ffb39912223af2090d'
4
- data.tar.gz: 2fe687ec9d2b0e01b5bfff64abcd2bd162ade8f4d014754dc01acda67eae9334
3
+ metadata.gz: 5a1766e6be523652f696d57db1da959002d72ffb446a531a0fc55a75e1a77d0d
4
+ data.tar.gz: 80591311035a9fde297bbd39e15f1c8d87685c9b3f2e117349d525476bc7c776
5
5
  SHA512:
6
- metadata.gz: 74524876fa1bc0ca169ac6fdacc094eb06d2479da4865ec6b0150054f9ee243064b649193c4ab2080eba422ee33e469496fd413de94d025f330003439d85e6c1
7
- data.tar.gz: 5334fa180093c7f8ba841e8c165bac6b711a7277f330d2eaa472ecb08a0e910388a4f8cd2c38046de359f78fb2095befc806629f6e6c64d2031fe981f6ddb472
6
+ metadata.gz: 0a911571db84e8e849bd2e5e7d20234fffadebdba4e116759e6a44a741e1ac607bd4631f7071df457e2cce8f75259b82191c7bb8a1a60a7d7e5caa0fccc57c50
7
+ data.tar.gz: 1eb9b6a9e35557ea83a9547e8a1349df079dbe60d74de7ba29ac17fc9ce67f03216b6a22be8db575d52ac4eef44ceb60f02d9e22e5aada590b2e84dc5db29fe8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seam (2.165.0)
4
+ seam (2.166.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.165.0)
174
+ seam (2.166.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
@@ -213,10 +213,13 @@ module Seam
213
213
  date_accessor :created_at
214
214
  end
215
215
 
216
- # Indicates that the requested PIN code was already in use on a device, so a different code was assigned.
216
+ # Indicates that the requested PIN code could not be used, so a different code was assigned. For example, the code was already in use on a device, or the access system rejected it because it did not meet its PIN rules.
217
217
  class RequestedCodeUnavailable < Warnings
218
- # ID of the device where the requested code was unavailable.
219
- # @return [String]
218
+ # ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code.
219
+ # @return [String, nil]
220
+ attr_accessor :access_method_id
221
+ # ID of the device where the requested code was unavailable. Present when the code was set directly on a device.
222
+ # @return [String, nil]
220
223
  attr_accessor :device_id
221
224
  # Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
222
225
  # @return [String]
@@ -189,6 +189,27 @@ module Seam
189
189
  date_accessor :created_at
190
190
  end
191
191
 
192
+ # Indicates that the access system could not use the PIN code requested for this [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant), for example because it did not meet the access system's PIN rules, so the access system assigned a different code. Give the recipient the assigned code.
193
+ class RequestedCodeUnavailable < Warnings
194
+ # Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
195
+ # @return [String]
196
+ attr_accessor :message
197
+ # The PIN code that was assigned instead.
198
+ # @return [String]
199
+ attr_accessor :new_code
200
+ # The originally requested PIN code that could not be used.
201
+ # @return [String]
202
+ attr_accessor :original_code
203
+ # Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
204
+ # @return [String]
205
+ # Known values:
206
+ # - `requested_code_unavailable`
207
+ attr_accessor :warning_code
208
+ # Date and time at which Seam created the warning.
209
+ # @return [Time]
210
+ date_accessor :created_at
211
+ end
212
+
192
213
  # Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
193
214
  # @return [String]
194
215
  attr_accessor :message
@@ -201,6 +222,7 @@ module Seam
201
222
  # - `delay_in_issuing`
202
223
  # - `user_identity_missing_email_address`
203
224
  # - `user_identity_missing_phone_number`
225
+ # - `requested_code_unavailable`
204
226
  attr_accessor :warning_code
205
227
  # Date and time at which Seam created the warning.
206
228
  # @return [Time]
@@ -212,7 +234,8 @@ module Seam
212
234
  "pulled_backup_access_code" => PulledBackupAccessCode,
213
235
  "delay_in_issuing" => DelayInIssuing,
214
236
  "user_identity_missing_email_address" => UserIdentityMissingEmailAddress,
215
- "user_identity_missing_phone_number" => UserIdentityMissingPhoneNumber
237
+ "user_identity_missing_phone_number" => UserIdentityMissingPhoneNumber,
238
+ "requested_code_unavailable" => RequestedCodeUnavailable
216
239
  }.freeze
217
240
  end
218
241
 
@@ -1008,10 +1008,17 @@ module Seam
1008
1008
  # - `delay_in_issuing`
1009
1009
  # - `user_identity_missing_email_address`
1010
1010
  # - `user_identity_missing_phone_number`
1011
+ # - `requested_code_unavailable`
1011
1012
  attr_accessor :warning_code
1012
1013
  # ID of the original access method from which this backup access method was split, if applicable.
1013
1014
  # @return [String, nil]
1014
1015
  attr_accessor :original_access_method_id
1016
+ # The PIN code that was assigned instead.
1017
+ # @return [String, nil]
1018
+ attr_accessor :new_code
1019
+ # The originally requested PIN code that could not be used.
1020
+ # @return [String, nil]
1021
+ attr_accessor :original_code
1015
1022
  # Date and time at which Seam created the warning.
1016
1023
  # @return [Time]
1017
1024
  date_accessor :created_at
@@ -1135,7 +1135,7 @@ module Seam
1135
1135
  # Device name for a Sensi device.
1136
1136
  # @return [String, nil]
1137
1137
  attr_accessor :device_name
1138
- # Set to true when the device does not support the /dual-setpoints API endpoint.
1138
+ # Deprecated. Seam no longer sets this field.
1139
1139
  # @return [Boolean, nil]
1140
1140
  attr_accessor :dual_setpoints_not_supported
1141
1141
  # Product type for a Sensi device.
@@ -4420,6 +4420,7 @@ module Seam
4420
4420
  # - `too_many_attempts`
4421
4421
  # - `blocked_by_privacy_mode`
4422
4422
  # - `credential_error`
4423
+ # - `connection_error`
4423
4424
  attr_accessor :reason_code
4424
4425
  end
4425
4426
 
@@ -213,10 +213,13 @@ module Seam
213
213
  date_accessor :created_at
214
214
  end
215
215
 
216
- # Indicates that the requested PIN code was already in use on a device, so a different code was assigned.
216
+ # Indicates that the requested PIN code could not be used, so a different code was assigned. For example, the code was already in use on a device, or the access system rejected it because it did not meet its PIN rules.
217
217
  class RequestedCodeUnavailable < Warnings
218
- # ID of the device where the requested code was unavailable.
219
- # @return [String]
218
+ # ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code.
219
+ # @return [String, nil]
220
+ attr_accessor :access_method_id
221
+ # ID of the device where the requested code was unavailable. Present when the code was set directly on a device.
222
+ # @return [String, nil]
220
223
  attr_accessor :device_id
221
224
  # Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
222
225
  # @return [String]
@@ -189,6 +189,27 @@ module Seam
189
189
  date_accessor :created_at
190
190
  end
191
191
 
192
+ # Indicates that the access system could not use the PIN code requested for this [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant), for example because it did not meet the access system's PIN rules, so the access system assigned a different code. Give the recipient the assigned code.
193
+ class RequestedCodeUnavailable < Warnings
194
+ # Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
195
+ # @return [String]
196
+ attr_accessor :message
197
+ # The PIN code that was assigned instead.
198
+ # @return [String]
199
+ attr_accessor :new_code
200
+ # The originally requested PIN code that could not be used.
201
+ # @return [String]
202
+ attr_accessor :original_code
203
+ # Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
204
+ # @return [String]
205
+ # Known values:
206
+ # - `requested_code_unavailable`
207
+ attr_accessor :warning_code
208
+ # Date and time at which Seam created the warning.
209
+ # @return [Time]
210
+ date_accessor :created_at
211
+ end
212
+
192
213
  # Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
193
214
  # @return [String]
194
215
  attr_accessor :message
@@ -201,6 +222,7 @@ module Seam
201
222
  # - `delay_in_issuing`
202
223
  # - `user_identity_missing_email_address`
203
224
  # - `user_identity_missing_phone_number`
225
+ # - `requested_code_unavailable`
204
226
  attr_accessor :warning_code
205
227
  # Date and time at which Seam created the warning.
206
228
  # @return [Time]
@@ -212,7 +234,8 @@ module Seam
212
234
  "pulled_backup_access_code" => PulledBackupAccessCode,
213
235
  "delay_in_issuing" => DelayInIssuing,
214
236
  "user_identity_missing_email_address" => UserIdentityMissingEmailAddress,
215
- "user_identity_missing_phone_number" => UserIdentityMissingPhoneNumber
237
+ "user_identity_missing_phone_number" => UserIdentityMissingPhoneNumber,
238
+ "requested_code_unavailable" => RequestedCodeUnavailable
216
239
  }.freeze
217
240
  end
218
241
 
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.165.0"
4
+ VERSION = "2.166.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seam
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.165.0
4
+ version: 2.166.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seam Labs, Inc.