Skip to content

Commit

Permalink
Upgrade after onfido-openapi-spec change 169dd4d
Browse files Browse the repository at this point in the history
  • Loading branch information
dvacca-onfido authored and github-actions[bot] committed Jun 7, 2024
1 parent 1bb444e commit b49ddfe
Show file tree
Hide file tree
Showing 280 changed files with 300 additions and 300 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.5.0
7.6.0
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Configure with your API token, region and optional timeout (default value is 30)
require onfido

Onfido.configure do |config|
config.api_token = ENV["ONFIDO_API_TOKEN"]
config.api_token = ENV["ONFIDO_WEBHOOK_SECRET_TOKEN"]
config.region = config.region[:EU]
config.timeout = 30
end
Expand Down 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.5.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.6.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
4 changes: 2 additions & 2 deletions 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.5.0
Generator version: 7.6.0
=end

Expand Down Expand Up @@ -158,10 +158,10 @@
require 'onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected'
require 'onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection'
require 'onfido/models/facial_similarity_video_report'
require 'onfido/models/id_photos_list'
require 'onfido/models/id_number'
require 'onfido/models/id_photo'
require 'onfido/models/id_photo_response'
require 'onfido/models/id_photos_list'
require 'onfido/models/identity_enhanced_breakdown'
require 'onfido/models/identity_enhanced_breakdown_address'
require 'onfido/models/identity_enhanced_breakdown_address_breakdown'
Expand Down
8 changes: 4 additions & 4 deletions 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.5.0
Generator version: 7.6.0
=end

Expand Down Expand Up @@ -2676,7 +2676,7 @@ def list_documents_with_http_info(applicant_id, opts = {})
# Lists the ID photos that belong to an applicant.
# @param applicant_id [String] The id of the applicant the ID photos belong to.
# @param [Hash] opts the optional parameters
# @return [IDPhotosList]
# @return [IdPhotosList]
def list_id_photos(applicant_id, opts = {})
data, _status_code, _headers = list_id_photos_with_http_info(applicant_id, opts)
data
Expand All @@ -2686,7 +2686,7 @@ def list_id_photos(applicant_id, opts = {})
# Lists the ID photos that belong to an applicant.
# @param applicant_id [String] The id of the applicant the ID photos belong to.
# @param [Hash] opts the optional parameters
# @return [Array<(IDPhotosList, Integer, Hash)>] IDPhotosList data, response status code and response headers
# @return [Array<(IdPhotosList, Integer, Hash)>] IdPhotosList data, response status code and response headers
def list_id_photos_with_http_info(applicant_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: DefaultApi.list_id_photos ...'
Expand Down Expand Up @@ -2714,7 +2714,7 @@ def list_id_photos_with_http_info(applicant_id, opts = {})
post_body = opts[:debug_body]

# return_type
return_type = opts[:debug_return_type] || 'IDPhotosList'
return_type = opts[:debug_return_type] || 'IdPhotosList'

# auth_names
auth_names = opts[:debug_auth_names] || ['Token']
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.5.0
Generator version: 7.6.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.5.0
Generator version: 7.6.0
=end

Expand Down
2 changes: 1 addition & 1 deletion 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.5.0
Generator version: 7.6.0
=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.5.0
Generator version: 7.6.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.5.0
Generator version: 7.6.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.5.0
Generator version: 7.6.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.5.0
Generator version: 7.6.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.5.0
Generator version: 7.6.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.5.0
Generator version: 7.6.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.5.0
Generator version: 7.6.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.5.0
Generator version: 7.6.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.5.0
Generator version: 7.6.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.5.0
Generator version: 7.6.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.5.0
Generator version: 7.6.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.5.0
Generator version: 7.6.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.5.0
Generator version: 7.6.0
=end

Expand Down
2 changes: 1 addition & 1 deletion 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.5.0
Generator version: 7.6.0
=end

Expand Down
2 changes: 1 addition & 1 deletion 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.5.0
Generator version: 7.6.0
=end

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.5.0
Generator version: 7.6.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/check_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.5.0
Generator version: 7.6.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/check_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.5.0
Generator version: 7.6.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/checks_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.5.0
Generator version: 7.6.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/complete_task_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.5.0
Generator version: 7.6.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/complete_task_data_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.5.0
Generator version: 7.6.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/consent_item.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.5.0
Generator version: 7.6.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/consents_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.5.0
Generator version: 7.6.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/country_codes.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.5.0
Generator version: 7.6.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/device_intelligence_breakdown.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.5.0
Generator version: 7.6.0
=end

Expand Down
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.5.0
Generator version: 7.6.0
=end

Expand Down
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.5.0
Generator version: 7.6.0
=end

Expand Down
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.5.0
Generator version: 7.6.0
=end

Expand Down
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.5.0
Generator version: 7.6.0
=end

Expand Down
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.5.0
Generator version: 7.6.0
=end

Expand Down
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.5.0
Generator version: 7.6.0
=end

Expand Down
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.5.0
Generator version: 7.6.0
=end

Expand Down
Loading

0 comments on commit b49ddfe

Please sign in to comment.