Skip to content

Commit

Permalink
Merge pull request #54 from onfido/release-upgrade
Browse files Browse the repository at this point in the history
Refresh onfido-ruby after onfido-openapi-spec update (169dd4d)
  • Loading branch information
dvacca-onfido authored Jun 11, 2024
2 parents 1bb444e + cdd8b0c commit be4ca36
Show file tree
Hide file tree
Showing 283 changed files with 306 additions and 302 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
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## v3.0.0 14th Jun 2024

- Make library auto-generated and based on [Onfido OpenAPI spec](https://github.com/onfido/onfido-openapi-spec)
- Refresh library up to commit: [8e437b8](https://github.com/onfido/onfido-openapi-spec/commit/8e437b8465e872cf8e4deb166499484a957da3f2)
- Refresh library up to commit: [169dd4d](https://github.com/onfido/onfido-openapi-spec/commit/169dd4d6598dab5d9822c9b87e7f0f16b3aef5dc)

## v2.9.0 24 November 2023

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Webhook events payload needs to be verified before it can be accessed. Library a
require 'onfido/webhook_event_verifier'

def webhook_verifier()
verifier = Onfido::WebhookEventVerifier.new("_ABC123abc...3ABC123_")
verifier = Onfido::WebhookEventVerifier.new(ENV["ONFIDO_WEBHOOK_SECRET_TOKEN"])

signature = "a0...760e"

Expand All @@ -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
Loading

0 comments on commit be4ca36

Please sign in to comment.