Skip to content

Commit

Permalink
works 7.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dvacca-onfido committed Oct 17, 2024
1 parent 9504ccf commit 1034002
Show file tree
Hide file tree
Showing 295 changed files with 397 additions and 334 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.9.0
7.8.0
11 changes: 11 additions & 0 deletions Gemfile-E
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
source 'https://rubygems.org'

gemspec

group :development, :test do
gem 'rake', '~> 13.0.1'
gem 'pry-byebug'
gem 'rubocop', '~> 0.66.0'
end

gem "faraday-follow_redirects", "~> 0.3.0"
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Webhook events payload needs to be verified before it can be accessed. Library a

## Contributing

This library is automatically generated using [OpenAPI Generator](https://openapi-generator.tech) (version: 7.9.0); therefore all the contributions, except tests files, should target [Onfido OpenAPI specification repository](https://github.com/onfido/onfido-openapi-spec/tree/master) instead of this repository.
This library is automatically generated using [OpenAPI Generator](https://openapi-generator.tech) (version: 7.8.0); therefore all the contributions, except tests files, should target [Onfido OpenAPI specification repository](https://github.com/onfido/onfido-openapi-spec/tree/master) instead of this repository.

For contributions to the tests instead, please follow the steps below:

Expand Down Expand Up @@ -121,4 +121,3 @@ More documentation and code examples can be found at <https://documentation.onfi
## Support

Should you encounter any technical issues during integration, please contact Onfido's Customer Support team via the [Customer Experience Portal](https://public.support.onfido.com/) which also includes support documentation.

2 changes: 1 addition & 1 deletion lib/onfido.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/api/default_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/api_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
4 changes: 2 additions & 2 deletions lib/onfido/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -280,7 +280,7 @@ def auth_settings
type: 'api_key',
in: 'header',
key: 'Authorization',
value: api_key_with_prefix('Authorization')
value: api_key_with_prefix('Token')
},
}
end
Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/address_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/address_shared.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/addresses_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_shared.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_updater.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicants_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
28 changes: 14 additions & 14 deletions lib/onfido/models/check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand All @@ -30,8 +30,6 @@ class Check
# For checks where `applicant_provides_data` is `true`, redirect to this URI when the applicant has submitted their data.
attr_accessor :redirect_uri

attr_accessor :privacy_notices_read_consent_given

# The unique identifier for the check.
attr_accessor :id

Expand Down Expand Up @@ -63,6 +61,8 @@ class Check

attr_accessor :version

attr_accessor :privacy_notices_read_consent_given

class EnumAttributeValidator
attr_reader :datatype
attr_reader :allowable_values
Expand Down Expand Up @@ -93,7 +93,6 @@ def self.attribute_map
:'applicant_provides_data' => :'applicant_provides_data',
:'tags' => :'tags',
:'redirect_uri' => :'redirect_uri',
:'privacy_notices_read_consent_given' => :'privacy_notices_read_consent_given',
:'id' => :'id',
:'created_at' => :'created_at',
:'href' => :'href',
Expand All @@ -104,7 +103,8 @@ def self.attribute_map
:'report_ids' => :'report_ids',
:'sandbox' => :'sandbox',
:'paused' => :'paused',
:'version' => :'version'
:'version' => :'version',
:'privacy_notices_read_consent_given' => :'privacy_notices_read_consent_given'
}
end

Expand All @@ -121,7 +121,6 @@ def self.openapi_types
:'applicant_provides_data' => :'Boolean',
:'tags' => :'Array<String>',
:'redirect_uri' => :'String',
:'privacy_notices_read_consent_given' => :'Boolean',
:'id' => :'String',
:'created_at' => :'Time',
:'href' => :'String',
Expand All @@ -132,7 +131,8 @@ def self.openapi_types
:'report_ids' => :'Array<String>',
:'sandbox' => :'Boolean',
:'paused' => :'Boolean',
:'version' => :'String'
:'version' => :'String',
:'privacy_notices_read_consent_given' => :'Boolean'
}
end

Expand Down Expand Up @@ -191,10 +191,6 @@ def initialize(attributes = {})
self.redirect_uri = attributes[:'redirect_uri']
end

if attributes.key?(:'privacy_notices_read_consent_given')
self.privacy_notices_read_consent_given = attributes[:'privacy_notices_read_consent_given']
end

if attributes.key?(:'id')
self.id = attributes[:'id']
else
Expand Down Expand Up @@ -242,6 +238,10 @@ def initialize(attributes = {})
if attributes.key?(:'version')
self.version = attributes[:'version']
end

if attributes.key?(:'privacy_notices_read_consent_given')
self.privacy_notices_read_consent_given = attributes[:'privacy_notices_read_consent_given']
end
end

# Show invalid properties with the reasons. Usually used together with valid?
Expand Down Expand Up @@ -303,7 +303,6 @@ def ==(o)
applicant_provides_data == o.applicant_provides_data &&
tags == o.tags &&
redirect_uri == o.redirect_uri &&
privacy_notices_read_consent_given == o.privacy_notices_read_consent_given &&
id == o.id &&
created_at == o.created_at &&
href == o.href &&
Expand All @@ -314,7 +313,8 @@ def ==(o)
report_ids == o.report_ids &&
sandbox == o.sandbox &&
paused == o.paused &&
version == o.version
version == o.version &&
privacy_notices_read_consent_given == o.privacy_notices_read_consent_given
end

# @see the `==` method
Expand All @@ -326,7 +326,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[webhook_ids, applicant_id, applicant_provides_data, tags, redirect_uri, privacy_notices_read_consent_given, id, created_at, href, status, result, form_uri, results_uri, report_ids, sandbox, paused, version].hash
[webhook_ids, applicant_id, applicant_provides_data, tags, redirect_uri, id, created_at, href, status, result, form_uri, results_uri, report_ids, sandbox, paused, version, privacy_notices_read_consent_given].hash
end

# Builds the object from hash
Expand Down
13 changes: 2 additions & 11 deletions lib/onfido/models/check_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand All @@ -30,8 +30,6 @@ class CheckBuilder
# For checks where `applicant_provides_data` is `true`, redirect to this URI when the applicant has submitted their data.
attr_accessor :redirect_uri

attr_accessor :privacy_notices_read_consent_given

# An array of report names (strings).
attr_accessor :report_names

Expand Down Expand Up @@ -60,7 +58,6 @@ def self.attribute_map
:'applicant_provides_data' => :'applicant_provides_data',
:'tags' => :'tags',
:'redirect_uri' => :'redirect_uri',
:'privacy_notices_read_consent_given' => :'privacy_notices_read_consent_given',
:'report_names' => :'report_names',
:'document_ids' => :'document_ids',
:'asynchronous' => :'asynchronous',
Expand All @@ -84,7 +81,6 @@ def self.openapi_types
:'applicant_provides_data' => :'Boolean',
:'tags' => :'Array<String>',
:'redirect_uri' => :'String',
:'privacy_notices_read_consent_given' => :'Boolean',
:'report_names' => :'Array<ReportName>',
:'document_ids' => :'Array<String>',
:'asynchronous' => :'Boolean',
Expand Down Expand Up @@ -152,10 +148,6 @@ def initialize(attributes = {})
self.redirect_uri = attributes[:'redirect_uri']
end

if attributes.key?(:'privacy_notices_read_consent_given')
self.privacy_notices_read_consent_given = attributes[:'privacy_notices_read_consent_given']
end

if attributes.key?(:'report_names')
if (value = attributes[:'report_names']).is_a?(Array)
self.report_names = value
Expand Down Expand Up @@ -230,7 +222,6 @@ def ==(o)
applicant_provides_data == o.applicant_provides_data &&
tags == o.tags &&
redirect_uri == o.redirect_uri &&
privacy_notices_read_consent_given == o.privacy_notices_read_consent_given &&
report_names == o.report_names &&
document_ids == o.document_ids &&
asynchronous == o.asynchronous &&
Expand All @@ -249,7 +240,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[webhook_ids, applicant_id, applicant_provides_data, tags, redirect_uri, privacy_notices_read_consent_given, report_names, document_ids, asynchronous, suppress_form_emails, sub_result, consider, us_driving_licence].hash
[webhook_ids, applicant_id, applicant_provides_data, tags, redirect_uri, report_names, document_ids, asynchronous, suppress_form_emails, sub_result, consider, us_driving_licence].hash
end

# Builds the object from hash
Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/check_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.8.0
=end

Expand Down
Loading

0 comments on commit 1034002

Please sign in to comment.