onfido 5.5.0 → 5.6.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: 139c1332f503ef7f1736452e94374ad09eff8032616fd65da6e176ba20613826
4
- data.tar.gz: 7cb5d00a2f1ad33034c19ea2ed9600459df2c99079fb230e5a725b3aa083a783
3
+ metadata.gz: 64d5f592bf0aa8a4fbea4bddf86de25c7b1a1341fbfee3066bae162fff656139
4
+ data.tar.gz: 93f9faf94388a9d161068c2220b3ec2cf2813cefa1b3c6bf9974ef1652fcee3b
5
5
  SHA512:
6
- metadata.gz: 6aef17969cfb931c730f9013cdc9a3f9b5a166790b08ec32f81f87f20cf30a842aaeb84947a7bb4440eea54d62fc43fe42654766e01fcac5622f52837f66fcd5
7
- data.tar.gz: e0f1a32bc29abab896cfedfcd711cccc3335557a5842cfb3541e5dee7ab685e569116a686b495fb4806f0a45264fff6e1afb718d2c42c2333ae9962a5d0ccf25
6
+ metadata.gz: 6b21fc206f619a85cd0422fd72dac56b953dcdf8f0270f32bfd276dc8cde052a27bb047bf8abe48571ab2f024a6bf24adcfa05d8831227a4cf23755bc4804329
7
+ data.tar.gz: 36edbbc7bec1113b35ba8d8974ddd57d70a25f307333c737c8d0d88576192e687b9ffe671d414662fe965405c05f9fb889b540713f9431a09d7b1a41c0782134
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## v5.5.0 22nd September 2025
4
+
5
+ - Release based on Onfido OpenAPI spec version [v5.5.0](https://github.com/onfido/onfido-openapi-spec/releases/tag/v5.5.0):
6
+ - [SIG-3128] Add ssn breakdowns to IDR enhanced report
7
+
3
8
  ## v5.4.0 28th July 2025
4
9
 
5
10
  - Release based on Onfido OpenAPI spec version [v5.4.0](https://github.com/onfido/onfido-openapi-spec/releases/tag/v5.4.0):
data/Gemfile CHANGED
@@ -8,5 +8,3 @@ group :development, :test do
8
8
  gem 'rubocop', '~> 0.66.0'
9
9
  gem 'rubyzip', '~> 2.3.2'
10
10
  end
11
-
12
- gem "faraday-follow_redirects", "~> 0.3.0"
data/README.md CHANGED
@@ -14,7 +14,7 @@ This version uses Onfido API v3.6. Refer to our [API versioning guide](https://d
14
14
  ### Installation
15
15
 
16
16
  ```ruby
17
- gem 'onfido', '~> 5.5.0'
17
+ gem 'onfido', '~> 5.6.0'
18
18
  ```
19
19
 
20
20
  Configure with your API token, region and optional timeout (default value is 30):
@@ -35,7 +35,7 @@ module Onfido
35
35
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
36
36
  def initialize(config = Configuration.default)
37
37
  @config = config
38
- @user_agent = "onfido-ruby/5.5.0"
38
+ @user_agent = "onfido-ruby/5.6.0"
39
39
  @default_headers = {
40
40
  'Content-Type' => 'application/json',
41
41
  'User-Agent' => @user_agent
@@ -133,7 +133,7 @@ module Onfido
133
133
  # @return true if the model is valid
134
134
  def valid?
135
135
  warn '[DEPRECATED] the `valid?` method is obsolete'
136
- subtype_validator = EnumAttributeValidator.new('String', ["full", "not_full", "provisional", "unknown_default_open_api"])
136
+ subtype_validator = EnumAttributeValidator.new('String', ["SPE", "ali", "alien", "com", "commercial", "dom", "domestic", "full", "not_full", "full driving licence", "heavy_vehicle", "learner", "minor (u21 or u18)", "mot", "mul", "provisional", "provisional driving licence", "ser", "spe", "special", "standard", "tem", "u21", "unknown_default_open_api"])
137
137
  return false unless subtype_validator.valid?(@subtype)
138
138
  true
139
139
  end
@@ -141,7 +141,7 @@ module Onfido
141
141
  # Custom attribute writer method checking allowed values (enum).
142
142
  # @param [Object] subtype Object to be assigned
143
143
  def subtype=(subtype)
144
- validator = EnumAttributeValidator.new('String', ["full", "not_full", "provisional", "unknown_default_open_api"])
144
+ validator = EnumAttributeValidator.new('String', ["SPE", "ali", "alien", "com", "commercial", "dom", "domestic", "full", "not_full", "full driving licence", "heavy_vehicle", "learner", "minor (u21 or u18)", "mot", "mul", "provisional", "provisional driving licence", "ser", "spe", "special", "standard", "tem", "u21", "unknown_default_open_api"])
145
145
  unless validator.valid?(subtype)
146
146
  fail ArgumentError, "invalid value for \"subtype\", must be one of #{validator.allowable_values}."
147
147
  end
@@ -160,7 +160,7 @@ module Onfido
160
160
  # @return true if the model is valid
161
161
  def valid?
162
162
  warn '[DEPRECATED] the `valid?` method is obsolete'
163
- document_type_validator = EnumAttributeValidator.new('String', ["bank_building_society_statement", "utility_bill", "council_tax", "benefit_letters", "mortgage_statement", "mobile_phone_bill", "general_letter", "insurance_statement", "pension_property_statement_letter", "identity_document_with_address", "exchange_house_statement", "unknown_default_open_api"])
163
+ document_type_validator = EnumAttributeValidator.new('String', ["bank_building_society_statement", "utility_bill", "council_tax", "benefit_letters", "mortgage_statement", "mobile_phone_bill", "general_letter", "insurance_statement", "pension_property_statement_letter", "identity_document_with_address", "exchange_house_statement", "accommodation_tenancy_certificate", "address_certificate", "electricity_bill", "gas_bill", "internet_bill", "phone_bill", "water_bill", "unknown_default_open_api"])
164
164
  return false unless document_type_validator.valid?(@document_type)
165
165
  true
166
166
  end
@@ -168,7 +168,7 @@ module Onfido
168
168
  # Custom attribute writer method checking allowed values (enum).
169
169
  # @param [Object] document_type Object to be assigned
170
170
  def document_type=(document_type)
171
- validator = EnumAttributeValidator.new('String', ["bank_building_society_statement", "utility_bill", "council_tax", "benefit_letters", "mortgage_statement", "mobile_phone_bill", "general_letter", "insurance_statement", "pension_property_statement_letter", "identity_document_with_address", "exchange_house_statement", "unknown_default_open_api"])
171
+ validator = EnumAttributeValidator.new('String', ["bank_building_society_statement", "utility_bill", "council_tax", "benefit_letters", "mortgage_statement", "mobile_phone_bill", "general_letter", "insurance_statement", "pension_property_statement_letter", "identity_document_with_address", "exchange_house_statement", "accommodation_tenancy_certificate", "address_certificate", "electricity_bill", "gas_bill", "internet_bill", "phone_bill", "water_bill", "unknown_default_open_api"])
172
172
  unless validator.valid?(document_type)
173
173
  fail ArgumentError, "invalid value for \"document_type\", must be one of #{validator.allowable_values}."
174
174
  end
@@ -63,6 +63,9 @@ module Onfido
63
63
  # Customer-provided user identifier.
64
64
  attr_accessor :customer_user_id
65
65
 
66
+ # Pre-signed URL to download the timeline file for the Workflow Run.
67
+ attr_accessor :timeline_file_download_url
68
+
66
69
  # Attribute mapping from ruby-style variable name to JSON key.
67
70
  def self.attribute_map
68
71
  {
@@ -81,7 +84,8 @@ module Onfido
81
84
  :'reasons' => :'reasons',
82
85
  :'link' => :'link',
83
86
  :'error' => :'error',
84
- :'customer_user_id' => :'customer_user_id'
87
+ :'customer_user_id' => :'customer_user_id',
88
+ :'timeline_file_download_url' => :'timeline_file_download_url'
85
89
  }
86
90
  end
87
91
 
@@ -108,7 +112,8 @@ module Onfido
108
112
  :'reasons' => :'Array<String>',
109
113
  :'link' => :'WorkflowRunLink',
110
114
  :'error' => :'WorkflowRunError',
111
- :'customer_user_id' => :'String'
115
+ :'customer_user_id' => :'String',
116
+ :'timeline_file_download_url' => :'String'
112
117
  }
113
118
  end
114
119
 
@@ -200,6 +205,10 @@ module Onfido
200
205
  if attributes.key?(:'customer_user_id')
201
206
  self.customer_user_id = attributes[:'customer_user_id']
202
207
  end
208
+
209
+ if attributes.key?(:'timeline_file_download_url')
210
+ self.timeline_file_download_url = attributes[:'timeline_file_download_url']
211
+ end
203
212
  end
204
213
 
205
214
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -277,7 +286,8 @@ module Onfido
277
286
  reasons == o.reasons &&
278
287
  link == o.link &&
279
288
  error == o.error &&
280
- customer_user_id == o.customer_user_id
289
+ customer_user_id == o.customer_user_id &&
290
+ timeline_file_download_url == o.timeline_file_download_url
281
291
  end
282
292
 
283
293
  # @see the `==` method
@@ -289,7 +299,7 @@ module Onfido
289
299
  # Calculates hash code according to all attributes.
290
300
  # @return [Integer] Hash code
291
301
  def hash
292
- [id, applicant_id, created_at, updated_at, dashboard_url, workflow_id, workflow_run_id, workflow_version_id, task_def_id, task_def_version, input, output, reasons, link, error, customer_user_id].hash
302
+ [id, applicant_id, created_at, updated_at, dashboard_url, workflow_id, workflow_run_id, workflow_version_id, task_def_id, task_def_version, input, output, reasons, link, error, customer_user_id, timeline_file_download_url].hash
293
303
  end
294
304
 
295
305
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.11.0
11
11
  =end
12
12
 
13
13
  module Onfido
14
- VERSION = '5.5.0'
14
+ VERSION = '5.6.0'
15
15
  end
data/onfido.gemspec CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
29
29
  s.metadata = {}
30
30
 
31
31
  s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 3.0'
32
- s.add_runtime_dependency 'faraday-follow_redirects', '~> 0.3.0'
32
+ s.add_runtime_dependency 'faraday-follow_redirects', '~> 0.5'
33
33
  s.add_runtime_dependency 'faraday-multipart'
34
34
  s.add_runtime_dependency 'marcel'
35
35
  s.add_runtime_dependency 'openssl'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onfido
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.5.0
4
+ version: 5.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-22 00:00:00.000000000 Z
11
+ date: 2026-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: 0.3.0
39
+ version: '0.5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: 0.3.0
46
+ version: '0.5'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: faraday-multipart
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -498,35 +498,35 @@ specification_version: 4
498
498
  summary: The official Ruby library for integrating with the Onfido API.
499
499
  test_files:
500
500
  - spec/classic_webhook_event_verifier_spec.rb
501
- - spec/integrations/id_photo_spec.rb
502
- - spec/integrations/extraction_spec.rb
503
- - spec/integrations/check_spec.rb
504
- - spec/integrations/address_picker_spec.rb
505
- - spec/integrations/live_photo_spec.rb
506
- - spec/integrations/live_video_spec.rb
507
- - spec/integrations/sdk_token_spec.rb
508
- - spec/integrations/document_spec.rb
509
501
  - spec/integrations/tasks_spec.rb
510
- - spec/integrations/advanced_electronic_signature_spec.rb
511
- - spec/integrations/report_spec.rb
502
+ - spec/integrations/workflow_run_output_spec.rb
503
+ - spec/integrations/watchlist_monitor_spec.rb
512
504
  - spec/integrations/media/sample_photo.png
513
505
  - spec/integrations/media/sample_driving_licence.png
514
- - spec/integrations/workflow_run_spec.rb
506
+ - spec/integrations/id_photo_spec.rb
507
+ - spec/integrations/advanced_electronic_signature_spec.rb
515
508
  - spec/integrations/applicant_spec.rb
516
- - spec/integrations/watchlist_monitor_spec.rb
509
+ - spec/integrations/qualified_electronic_signature_spec.rb
517
510
  - spec/integrations/motion_capture_spec.rb
511
+ - spec/integrations/document_spec.rb
512
+ - spec/integrations/sdk_token_spec.rb
513
+ - spec/integrations/workflow_run_spec.rb
518
514
  - spec/integrations/webhook_spec.rb
519
- - spec/integrations/qualified_electronic_signature_spec.rb
520
- - spec/integrations/workflow_run_output_spec.rb
515
+ - spec/integrations/report_spec.rb
521
516
  - spec/integrations/report_schema_spec.rb
522
- - spec/media/studio_webhook_event_with_object_in_output.json
517
+ - spec/integrations/live_photo_spec.rb
518
+ - spec/integrations/address_picker_spec.rb
519
+ - spec/integrations/check_spec.rb
520
+ - spec/integrations/extraction_spec.rb
521
+ - spec/integrations/live_video_spec.rb
523
522
  - spec/media/studio_webhook_event_with_list_in_output.json
524
- - spec/shared_contexts/with_applicant.rb
525
- - spec/shared_contexts/with_check.rb
526
- - spec/shared_contexts/with_document.rb
523
+ - spec/media/studio_webhook_event_with_object_in_output.json
527
524
  - spec/shared_contexts/with_onfido.rb
528
525
  - spec/shared_contexts/with_workflow_run.rb
526
+ - spec/shared_contexts/with_applicant.rb
529
527
  - spec/shared_contexts/with_live_photo.rb
528
+ - spec/shared_contexts/with_document.rb
529
+ - spec/shared_contexts/with_check.rb
530
530
  - spec/shared_examples/file_examples.rb
531
531
  - spec/spec_helper.rb
532
532
  - spec/studio_webhook_event_verifier_spec.rb