onfido 6.0.0 → 6.1.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/CHANGELOG.md +12 -0
- data/README.md +1 -1
- data/lib/onfido/api_client.rb +1 -1
- data/lib/onfido/models/device_intelligence_properties_device.rb +21 -1
- data/lib/onfido/version.rb +1 -1
- data/spec/integrations/workflow_run_spec.rb +1 -1
- metadata +24 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 33fdddb9562e1140c7c16bf631d5798829cb81ee6f06298f7192fe25207fa5d4
|
|
4
|
+
data.tar.gz: 18cfe6479b1ef8c5b35aa08a51e4a62d991a0f6e1b9ef2762ca2ad3dca212fce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f60b7622ee0edd7db2c5c6c192b8b7adb01e7988b759b933fc43a51c5b7c34da2da86efd052c20eca075da5f1540903ef2b7ffc01e0b4c0f08144dd8c2c3b415
|
|
7
|
+
data.tar.gz: 47e2026d2a54c77c06ae23e99351873bcadac011ba797d023433de805119dc1048d6788510b2a757b258ba6eca2a1c05ac12b495c4d3c8dcceb8a1738e546a7b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v6.0.0 19th February 2026
|
|
4
|
+
|
|
5
|
+
- Release based on Onfido OpenAPI spec version [v6.0.0](https://github.com/onfido/onfido-openapi-spec/releases/tag/v6.0.0):
|
|
6
|
+
- [CAT-1911] Remove driving licence information properties where not needed
|
|
7
|
+
- [AF-1390] Remove deprecated breakdown.breakdown property
|
|
8
|
+
- [SIG-3390] IDR: change total_number_of_sources and number_of_matches to string
|
|
9
|
+
- Add missing tags field for workflow run listing and webhook
|
|
10
|
+
- [STUDIO-5708] Fix workflow_runs date filter parameters format
|
|
11
|
+
- Remove deprecated properties object from device_intelligence_breakdown
|
|
12
|
+
- [STUDIO-5734] Add status to webhook event resource
|
|
13
|
+
- Bump openapi-generator-cli from v7.11.0 to v7.16.0
|
|
14
|
+
|
|
3
15
|
## v5.7.0 3rd February 2026
|
|
4
16
|
|
|
5
17
|
- Release based on Onfido OpenAPI spec version [v5.7.0](https://github.com/onfido/onfido-openapi-spec/releases/tag/v5.7.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', '~> 6.
|
|
17
|
+
gem 'onfido', '~> 6.1.0'
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
Configure with your API token, region and optional timeout (default value is 30):
|
data/lib/onfido/api_client.rb
CHANGED
|
@@ -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/6.
|
|
38
|
+
@user_agent = "onfido-ruby/6.1.0"
|
|
39
39
|
@default_headers = {
|
|
40
40
|
'Content-Type' => 'application/json',
|
|
41
41
|
'User-Agent' => @user_agent
|
|
@@ -39,6 +39,12 @@ module Onfido
|
|
|
39
39
|
# Whether the device is providing false randomized device and network information.
|
|
40
40
|
attr_accessor :randomized_device
|
|
41
41
|
|
|
42
|
+
# Counts the number of distinct document reports submitted in the last 24 hours that are associated with the applicant’s IP address.
|
|
43
|
+
attr_accessor :number_of_ip_reuse_reports
|
|
44
|
+
|
|
45
|
+
# Counts the number of distinct document reports from the last 24 hours associated with the applicant’s IP address that have a result of suspected and other document integrity or authenticity signals have been flagged.
|
|
46
|
+
attr_accessor :number_of_suspected_ip_reuse_reports
|
|
47
|
+
|
|
42
48
|
# Whether device is using stolen security tokens to send the network information.
|
|
43
49
|
attr_accessor :fake_network_request
|
|
44
50
|
|
|
@@ -90,6 +96,8 @@ module Onfido
|
|
|
90
96
|
:'browser' => :'browser',
|
|
91
97
|
:'emulator' => :'emulator',
|
|
92
98
|
:'randomized_device' => :'randomized_device',
|
|
99
|
+
:'number_of_ip_reuse_reports' => :'number_of_ip_reuse_reports',
|
|
100
|
+
:'number_of_suspected_ip_reuse_reports' => :'number_of_suspected_ip_reuse_reports',
|
|
93
101
|
:'fake_network_request' => :'fake_network_request',
|
|
94
102
|
:'ip_reputation' => :'ip_reputation',
|
|
95
103
|
:'device_fingerprint_reuse' => :'device_fingerprint_reuse',
|
|
@@ -120,6 +128,8 @@ module Onfido
|
|
|
120
128
|
:'browser' => :'String',
|
|
121
129
|
:'emulator' => :'Boolean',
|
|
122
130
|
:'randomized_device' => :'Boolean',
|
|
131
|
+
:'number_of_ip_reuse_reports' => :'Float',
|
|
132
|
+
:'number_of_suspected_ip_reuse_reports' => :'Float',
|
|
123
133
|
:'fake_network_request' => :'Boolean',
|
|
124
134
|
:'ip_reputation' => :'String',
|
|
125
135
|
:'device_fingerprint_reuse' => :'Float',
|
|
@@ -184,6 +194,14 @@ module Onfido
|
|
|
184
194
|
self.randomized_device = attributes[:'randomized_device']
|
|
185
195
|
end
|
|
186
196
|
|
|
197
|
+
if attributes.key?(:'number_of_ip_reuse_reports')
|
|
198
|
+
self.number_of_ip_reuse_reports = attributes[:'number_of_ip_reuse_reports']
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
if attributes.key?(:'number_of_suspected_ip_reuse_reports')
|
|
202
|
+
self.number_of_suspected_ip_reuse_reports = attributes[:'number_of_suspected_ip_reuse_reports']
|
|
203
|
+
end
|
|
204
|
+
|
|
187
205
|
if attributes.key?(:'fake_network_request')
|
|
188
206
|
self.fake_network_request = attributes[:'fake_network_request']
|
|
189
207
|
end
|
|
@@ -297,6 +315,8 @@ module Onfido
|
|
|
297
315
|
browser == o.browser &&
|
|
298
316
|
emulator == o.emulator &&
|
|
299
317
|
randomized_device == o.randomized_device &&
|
|
318
|
+
number_of_ip_reuse_reports == o.number_of_ip_reuse_reports &&
|
|
319
|
+
number_of_suspected_ip_reuse_reports == o.number_of_suspected_ip_reuse_reports &&
|
|
300
320
|
fake_network_request == o.fake_network_request &&
|
|
301
321
|
ip_reputation == o.ip_reputation &&
|
|
302
322
|
device_fingerprint_reuse == o.device_fingerprint_reuse &&
|
|
@@ -314,7 +334,7 @@ module Onfido
|
|
|
314
334
|
# Calculates hash code according to all attributes.
|
|
315
335
|
# @return [Integer] Hash code
|
|
316
336
|
def hash
|
|
317
|
-
[sdk_version, sdk_source, authentication_type, raw_model, os, browser, emulator, randomized_device, fake_network_request, ip_reputation, device_fingerprint_reuse, single_device_used, document_capture, biometric_capture].hash
|
|
337
|
+
[sdk_version, sdk_source, authentication_type, raw_model, os, browser, emulator, randomized_device, number_of_ip_reuse_reports, number_of_suspected_ip_reuse_reports, fake_network_request, ip_reputation, device_fingerprint_reuse, single_device_used, document_capture, biometric_capture].hash
|
|
318
338
|
end
|
|
319
339
|
|
|
320
340
|
# Builds the object from hash
|
data/lib/onfido/version.rb
CHANGED
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: 6.
|
|
4
|
+
version: 6.1.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: 2026-
|
|
11
|
+
date: 2026-05-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -509,39 +509,39 @@ specification_version: 4
|
|
|
509
509
|
summary: The official Ruby library for integrating with the Onfido API.
|
|
510
510
|
test_files:
|
|
511
511
|
- spec/classic_webhook_event_verifier_spec.rb
|
|
512
|
-
- spec/integrations/
|
|
513
|
-
- spec/integrations/
|
|
514
|
-
- spec/integrations/
|
|
515
|
-
- spec/integrations/signing_document_spec.rb
|
|
516
|
-
- spec/integrations/passkey_spec.rb
|
|
512
|
+
- spec/integrations/workflow_run_output_spec.rb
|
|
513
|
+
- spec/integrations/advanced_electronic_signature_spec.rb
|
|
514
|
+
- spec/integrations/applicant_spec.rb
|
|
517
515
|
- spec/integrations/tasks_spec.rb
|
|
516
|
+
- spec/integrations/workflow_run_spec.rb
|
|
517
|
+
- spec/integrations/document_spec.rb
|
|
518
518
|
- spec/integrations/watchlist_monitor_spec.rb
|
|
519
|
+
- spec/integrations/passkey_spec.rb
|
|
520
|
+
- spec/integrations/live_photo_spec.rb
|
|
521
|
+
- spec/integrations/qualified_electronic_signature_spec.rb
|
|
522
|
+
- spec/integrations/report_spec.rb
|
|
523
|
+
- spec/integrations/address_picker_spec.rb
|
|
524
|
+
- spec/integrations/sdk_token_spec.rb
|
|
525
|
+
- spec/integrations/webhook_spec.rb
|
|
526
|
+
- spec/integrations/check_spec.rb
|
|
519
527
|
- spec/integrations/extraction_spec.rb
|
|
520
|
-
- spec/integrations/
|
|
521
|
-
- spec/integrations/workflow_run_spec.rb
|
|
522
|
-
- spec/integrations/report_schema_spec.rb
|
|
523
|
-
- spec/integrations/live_video_spec.rb
|
|
524
|
-
- spec/integrations/advanced_electronic_signature_spec.rb
|
|
525
|
-
- spec/integrations/media/sample_signing_document.pdf
|
|
528
|
+
- spec/integrations/motion_capture_spec.rb
|
|
526
529
|
- spec/integrations/media/sample_driving_licence.png
|
|
530
|
+
- spec/integrations/media/sample_signing_document.pdf
|
|
527
531
|
- spec/integrations/media/sample_photo.png
|
|
528
|
-
- spec/integrations/
|
|
529
|
-
- spec/integrations/
|
|
530
|
-
- spec/integrations/
|
|
531
|
-
- spec/integrations/live_photo_spec.rb
|
|
532
|
+
- spec/integrations/report_schema_spec.rb
|
|
533
|
+
- spec/integrations/signing_document_spec.rb
|
|
534
|
+
- spec/integrations/live_video_spec.rb
|
|
532
535
|
- spec/integrations/id_photo_spec.rb
|
|
533
|
-
- spec/integrations/check_spec.rb
|
|
534
|
-
- spec/integrations/document_spec.rb
|
|
535
|
-
- spec/integrations/sdk_token_spec.rb
|
|
536
536
|
- spec/media/studio_webhook_event_with_object_in_output.json
|
|
537
537
|
- spec/media/studio_webhook_event_with_list_in_output.json
|
|
538
|
-
- spec/shared_contexts/with_signing_document.rb
|
|
539
538
|
- spec/shared_contexts/with_onfido.rb
|
|
540
|
-
- spec/shared_contexts/
|
|
539
|
+
- spec/shared_contexts/with_signing_document.rb
|
|
541
540
|
- spec/shared_contexts/with_live_photo.rb
|
|
542
|
-
- spec/shared_contexts/with_workflow_run.rb
|
|
543
|
-
- spec/shared_contexts/with_document.rb
|
|
544
541
|
- spec/shared_contexts/with_applicant.rb
|
|
542
|
+
- spec/shared_contexts/with_document.rb
|
|
543
|
+
- spec/shared_contexts/with_workflow_run.rb
|
|
544
|
+
- spec/shared_contexts/with_check.rb
|
|
545
545
|
- spec/shared_examples/file_examples.rb
|
|
546
546
|
- spec/spec_helper.rb
|
|
547
547
|
- spec/studio_webhook_event_verifier_spec.rb
|