onfido-python 2.10.1__py3-none-any.whl → 3.2.0__py3-none-any.whl
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.
- onfido/__init__.py +311 -2
- onfido/api/__init__.py +5 -0
- onfido/api/default_api.py +17207 -0
- onfido/api_client.py +770 -0
- onfido/api_response.py +21 -0
- onfido/configuration.py +460 -0
- onfido/exceptions.py +184 -77
- onfido/models/__init__.py +291 -0
- onfido/models/address.py +169 -0
- onfido/models/address_builder.py +169 -0
- onfido/models/address_shared.py +169 -0
- onfido/models/addresses_list.py +108 -0
- onfido/models/applicant.py +162 -0
- onfido/models/applicant_builder.py +152 -0
- onfido/models/applicant_create.py +117 -0
- onfido/models/applicant_request.py +116 -0
- onfido/models/applicant_response.py +146 -0
- onfido/models/applicant_shared.py +115 -0
- onfido/models/applicant_update.py +123 -0
- onfido/models/applicant_updater.py +158 -0
- onfido/models/applicants_list.py +108 -0
- onfido/models/check.py +147 -0
- onfido/models/check_builder.py +127 -0
- onfido/models/check_request.py +119 -0
- onfido/models/check_response.py +137 -0
- onfido/models/check_shared.py +108 -0
- onfido/models/checks_list.py +108 -0
- onfido/models/complete_task_builder.py +104 -0
- onfido/models/complete_task_data_builder.py +143 -0
- onfido/models/consent_item.py +109 -0
- onfido/models/consents_builder.py +98 -0
- onfido/models/country_codes.py +285 -0
- onfido/models/device_intelligence_breakdown.py +110 -0
- onfido/models/device_intelligence_breakdown_breakdown.py +104 -0
- onfido/models/device_intelligence_breakdown_breakdown_device.py +104 -0
- onfido/models/device_intelligence_breakdown_breakdown_device_breakdown.py +114 -0
- onfido/models/device_intelligence_breakdown_properties.py +116 -0
- onfido/models/device_intelligence_breakdown_properties_device.py +189 -0
- onfido/models/device_intelligence_breakdown_properties_geolocation.py +105 -0
- onfido/models/device_intelligence_breakdown_properties_ip.py +106 -0
- onfido/models/device_intelligence_report.py +135 -0
- onfido/models/document.py +142 -0
- onfido/models/document_breakdown.py +152 -0
- onfido/models/document_breakdown_age_validation.py +106 -0
- onfido/models/document_breakdown_age_validation_breakdown.py +104 -0
- onfido/models/document_breakdown_compromised_document.py +106 -0
- onfido/models/document_breakdown_compromised_document_breakdown.py +109 -0
- onfido/models/document_breakdown_data_comparison.py +106 -0
- onfido/models/document_breakdown_data_comparison_breakdown.py +139 -0
- onfido/models/document_breakdown_data_comparison_breakdown_issuing_country.py +102 -0
- onfido/models/document_breakdown_data_consistency.py +106 -0
- onfido/models/document_breakdown_data_consistency_breakdown.py +149 -0
- onfido/models/document_breakdown_data_validation.py +106 -0
- onfido/models/document_breakdown_data_validation_breakdown.py +136 -0
- onfido/models/document_breakdown_data_validation_breakdown_document_expiration.py +102 -0
- onfido/models/document_breakdown_data_validation_breakdown_expiry_date.py +102 -0
- onfido/models/document_breakdown_image_integrity.py +106 -0
- onfido/models/document_breakdown_image_integrity_breakdown.py +122 -0
- onfido/models/document_breakdown_image_integrity_breakdown_colour_picture.py +102 -0
- onfido/models/document_breakdown_image_integrity_breakdown_conclusive_document_quality.py +106 -0
- onfido/models/document_breakdown_image_integrity_breakdown_image_quality.py +106 -0
- onfido/models/document_breakdown_image_integrity_breakdown_supported_document.py +102 -0
- onfido/models/document_breakdown_issuing_authority.py +106 -0
- onfido/models/document_breakdown_issuing_authority_breakdown.py +110 -0
- onfido/models/document_breakdown_issuing_authority_breakdown_nfc_active_authentication.py +102 -0
- onfido/models/document_breakdown_issuing_authority_breakdown_nfc_passive_authentication.py +102 -0
- onfido/models/document_breakdown_police_record.py +100 -0
- onfido/models/document_breakdown_visual_authenticity.py +106 -0
- onfido/models/document_breakdown_visual_authenticity_breakdown.py +146 -0
- onfido/models/document_breakdown_visual_authenticity_breakdown_digital_tampering.py +102 -0
- onfido/models/document_breakdown_visual_authenticity_breakdown_face_detection.py +102 -0
- onfido/models/document_breakdown_visual_authenticity_breakdown_fonts.py +102 -0
- onfido/models/document_breakdown_visual_authenticity_breakdown_original_document_present.py +106 -0
- onfido/models/document_breakdown_visual_authenticity_breakdown_other.py +102 -0
- onfido/models/document_breakdown_visual_authenticity_breakdown_picture_face_integrity.py +102 -0
- onfido/models/document_breakdown_visual_authenticity_breakdown_security_features.py +102 -0
- onfido/models/document_breakdown_visual_authenticity_breakdown_template.py +102 -0
- onfido/models/document_cdq_reasons.py +114 -0
- onfido/models/document_iq_reasons.py +118 -0
- onfido/models/document_odp_reasons.py +106 -0
- onfido/models/document_properties.py +253 -0
- onfido/models/document_properties_address_lines.py +110 -0
- onfido/models/document_properties_barcode_inner.py +135 -0
- onfido/models/document_properties_document_classification.py +104 -0
- onfido/models/document_properties_document_numbers_inner.py +102 -0
- onfido/models/document_properties_driving_licence_information.py +107 -0
- onfido/models/document_properties_extracted_data.py +141 -0
- onfido/models/document_properties_nfc.py +125 -0
- onfido/models/document_report.py +141 -0
- onfido/models/document_response.py +111 -0
- onfido/models/document_shared.py +129 -0
- onfido/models/document_types.py +60 -0
- onfido/models/document_video_report.py +141 -0
- onfido/models/document_video_with_address_information_report.py +141 -0
- onfido/models/document_with_address_information_report.py +141 -0
- onfido/models/document_with_driver_verification_report.py +141 -0
- onfido/models/document_with_driver_verification_report_all_of_properties.py +277 -0
- onfido/models/document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle.py +105 -0
- onfido/models/document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner.py +107 -0
- onfido/models/document_with_driving_licence_information_report.py +141 -0
- onfido/models/documents_list.py +108 -0
- onfido/models/error.py +104 -0
- onfido/models/error1.py +106 -0
- onfido/models/error_properties.py +104 -0
- onfido/models/error_properties1.py +102 -0
- onfido/models/extract_request.py +100 -0
- onfido/models/extraction.py +112 -0
- onfido/models/extraction_document_classification.py +120 -0
- onfido/models/extraction_extracted_data.py +176 -0
- onfido/models/facial_similarity_motion_breakdown.py +116 -0
- onfido/models/facial_similarity_motion_breakdown_face_comparison.py +106 -0
- onfido/models/facial_similarity_motion_breakdown_image_integrity.py +106 -0
- onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown.py +110 -0
- onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_face_detected.py +102 -0
- onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_source_integrity.py +106 -0
- onfido/models/facial_similarity_motion_breakdown_visual_authenticity.py +106 -0
- onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown.py +110 -0
- onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown_spoofing_detection.py +106 -0
- onfido/models/facial_similarity_motion_properties.py +100 -0
- onfido/models/facial_similarity_motion_report.py +141 -0
- onfido/models/facial_similarity_photo_breakdown.py +116 -0
- onfido/models/facial_similarity_photo_breakdown_face_comparison.py +106 -0
- onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown.py +104 -0
- onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match.py +106 -0
- onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match_properties.py +102 -0
- onfido/models/facial_similarity_photo_breakdown_image_integrity.py +106 -0
- onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown.py +110 -0
- onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_face_detected.py +102 -0
- onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_source_integrity.py +106 -0
- onfido/models/facial_similarity_photo_breakdown_visual_authenticity.py +106 -0
- onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown.py +104 -0
- onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection.py +106 -0
- onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection_properties.py +100 -0
- onfido/models/facial_similarity_photo_fully_auto_breakdown.py +116 -0
- onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity.py +106 -0
- onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown.py +110 -0
- onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown_source_integrity.py +106 -0
- onfido/models/facial_similarity_photo_fully_auto_properties.py +100 -0
- onfido/models/facial_similarity_photo_fully_auto_report.py +141 -0
- onfido/models/facial_similarity_photo_properties.py +100 -0
- onfido/models/facial_similarity_photo_report.py +141 -0
- onfido/models/facial_similarity_video_breakdown.py +116 -0
- onfido/models/facial_similarity_video_breakdown_face_comparison.py +106 -0
- onfido/models/facial_similarity_video_breakdown_image_integrity.py +106 -0
- onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown.py +110 -0
- onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_face_detected.py +102 -0
- onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_source_integrity.py +106 -0
- onfido/models/facial_similarity_video_breakdown_visual_authenticity.py +106 -0
- onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown.py +110 -0
- onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected.py +102 -0
- onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection.py +106 -0
- onfido/models/facial_similarity_video_properties.py +100 -0
- onfido/models/facial_similarity_video_report.py +141 -0
- onfido/models/id_number.py +114 -0
- onfido/models/id_photo.py +113 -0
- onfido/models/id_photo_response.py +113 -0
- onfido/models/id_photos_list.py +108 -0
- onfido/models/identity_enhanced_breakdown.py +122 -0
- onfido/models/identity_enhanced_breakdown_address.py +106 -0
- onfido/models/identity_enhanced_breakdown_address_breakdown.py +116 -0
- onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies.py +106 -0
- onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies_properties.py +100 -0
- onfido/models/identity_enhanced_breakdown_address_breakdown_telephone_database.py +102 -0
- onfido/models/identity_enhanced_breakdown_address_breakdown_voting_register.py +102 -0
- onfido/models/identity_enhanced_breakdown_date_of_birth.py +106 -0
- onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown.py +110 -0
- onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_credit_agencies.py +102 -0
- onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_voting_register.py +102 -0
- onfido/models/identity_enhanced_breakdown_mortality.py +100 -0
- onfido/models/identity_enhanced_breakdown_sources.py +106 -0
- onfido/models/identity_enhanced_breakdown_sources_breakdown.py +104 -0
- onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources.py +106 -0
- onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources_properties.py +100 -0
- onfido/models/identity_enhanced_properties.py +110 -0
- onfido/models/identity_enhanced_properties_matched_addresses_inner.py +102 -0
- onfido/models/identity_enhanced_report.py +141 -0
- onfido/models/india_pan_report.py +141 -0
- onfido/models/india_pan_report_all_of_breakdown.py +104 -0
- onfido/models/india_pan_report_all_of_breakdown_device.py +104 -0
- onfido/models/india_pan_report_all_of_breakdown_device_breakdown.py +109 -0
- onfido/models/india_pan_report_all_of_breakdown_device_breakdown_pan_valid.py +100 -0
- onfido/models/india_pan_report_all_of_properties.py +104 -0
- onfido/models/india_pan_report_all_of_properties_device.py +102 -0
- onfido/models/known_faces_breakdown.py +110 -0
- onfido/models/known_faces_breakdown_image_integrity.py +100 -0
- onfido/models/known_faces_breakdown_previously_seen_faces.py +100 -0
- onfido/models/known_faces_properties.py +108 -0
- onfido/models/known_faces_properties_matches_inner.py +108 -0
- onfido/models/known_faces_report.py +141 -0
- onfido/models/live_photo.py +113 -0
- onfido/models/live_photo_response.py +113 -0
- onfido/models/live_photos_list.py +108 -0
- onfido/models/live_video.py +115 -0
- onfido/models/live_videos_list.py +108 -0
- onfido/models/location.py +103 -0
- onfido/models/location_builder.py +103 -0
- onfido/models/location_shared.py +103 -0
- onfido/models/motion_capture.py +113 -0
- onfido/models/motion_captures_list.py +108 -0
- onfido/models/photo_auto_reasons.py +108 -0
- onfido/models/photo_reasons.py +108 -0
- onfido/models/proof_of_address_breakdown.py +116 -0
- onfido/models/proof_of_address_breakdown_data_comparison.py +106 -0
- onfido/models/proof_of_address_breakdown_data_comparison_breakdown.py +114 -0
- onfido/models/proof_of_address_breakdown_document_classification.py +106 -0
- onfido/models/proof_of_address_breakdown_document_classification_breakdown.py +104 -0
- onfido/models/proof_of_address_breakdown_image_integrity.py +106 -0
- onfido/models/proof_of_address_breakdown_image_integrity_breakdown.py +104 -0
- onfido/models/proof_of_address_properties.py +125 -0
- onfido/models/proof_of_address_report.py +141 -0
- onfido/models/repeat_attempts_list.py +117 -0
- onfido/models/repeat_attempts_list_repeat_attempts_inner.py +143 -0
- onfido/models/report.py +621 -0
- onfido/models/report_document.py +100 -0
- onfido/models/report_name.py +56 -0
- onfido/models/report_result.py +38 -0
- onfido/models/report_shared.py +129 -0
- onfido/models/report_status.py +40 -0
- onfido/models/report_sub_result.py +39 -0
- onfido/models/reports_list.py +108 -0
- onfido/models/results_feedback.py +116 -0
- onfido/models/sdk_token.py +100 -0
- onfido/models/sdk_token_builder.py +106 -0
- onfido/models/sdk_token_request.py +106 -0
- onfido/models/sdk_token_response.py +100 -0
- onfido/models/task.py +146 -0
- onfido/models/task_item.py +128 -0
- onfido/models/timeline_file_reference.py +102 -0
- onfido/models/us_driving_licence_breakdown.py +116 -0
- onfido/models/us_driving_licence_breakdown_address.py +106 -0
- onfido/models/us_driving_licence_breakdown_address_breakdown.py +129 -0
- onfido/models/us_driving_licence_breakdown_document.py +106 -0
- onfido/models/us_driving_licence_breakdown_document_breakdown.py +119 -0
- onfido/models/us_driving_licence_breakdown_personal.py +106 -0
- onfido/models/us_driving_licence_breakdown_personal_breakdown.py +164 -0
- onfido/models/us_driving_licence_builder.py +185 -0
- onfido/models/us_driving_licence_report.py +141 -0
- onfido/models/us_driving_licence_shared.py +185 -0
- onfido/models/video_reasons.py +106 -0
- onfido/models/watchlist_aml_breakdown.py +122 -0
- onfido/models/watchlist_aml_breakdown_adverse_media.py +100 -0
- onfido/models/watchlist_aml_breakdown_legal_and_regulatory_warnings.py +100 -0
- onfido/models/watchlist_aml_breakdown_politically_exposed_person.py +100 -0
- onfido/models/watchlist_aml_breakdown_sanction.py +100 -0
- onfido/models/watchlist_aml_properties.py +100 -0
- onfido/models/watchlist_aml_report.py +141 -0
- onfido/models/watchlist_enhanced_breakdown.py +122 -0
- onfido/models/watchlist_enhanced_properties.py +100 -0
- onfido/models/watchlist_enhanced_report.py +141 -0
- onfido/models/watchlist_monitor.py +120 -0
- onfido/models/watchlist_monitor_builder.py +111 -0
- onfido/models/watchlist_monitor_match.py +102 -0
- onfido/models/watchlist_monitor_matches_list.py +108 -0
- onfido/models/watchlist_monitor_matches_updater.py +102 -0
- onfido/models/watchlist_monitor_response.py +107 -0
- onfido/models/watchlist_monitor_shared.py +111 -0
- onfido/models/watchlist_monitors_list.py +108 -0
- onfido/models/watchlist_peps_only_report.py +141 -0
- onfido/models/watchlist_sanctions_only_report.py +141 -0
- onfido/models/watchlist_standard_breakdown.py +116 -0
- onfido/models/watchlist_standard_properties.py +100 -0
- onfido/models/watchlist_standard_report.py +141 -0
- onfido/models/webhook.py +115 -0
- onfido/models/webhook_builder.py +109 -0
- onfido/models/webhook_create.py +100 -0
- onfido/models/webhook_event.py +104 -0
- onfido/models/webhook_event_payload.py +111 -0
- onfido/models/webhook_event_payload_object.py +107 -0
- onfido/models/webhook_event_type.py +52 -0
- onfido/models/webhook_resend.py +108 -0
- onfido/models/webhook_response.py +106 -0
- onfido/models/webhook_shared.py +107 -0
- onfido/models/webhook_update.py +100 -0
- onfido/models/webhook_updater.py +109 -0
- onfido/models/webhooks_list.py +108 -0
- onfido/models/webhooks_resend_item.py +103 -0
- onfido/models/workflow_run.py +149 -0
- onfido/models/workflow_run_builder.py +123 -0
- onfido/models/workflow_run_request.py +100 -0
- onfido/models/workflow_run_response.py +126 -0
- onfido/models/workflow_run_response_error.py +102 -0
- onfido/models/workflow_run_shared.py +121 -0
- onfido/models/workflow_run_shared_link.py +119 -0
- onfido/py.typed +0 -0
- onfido/rest.py +258 -0
- onfido/webhook_event_verifier.py +14 -7
- {onfido_python-2.10.1.dist-info → onfido_python-3.2.0.dist-info}/LICENSE +1 -1
- onfido_python-3.2.0.dist-info/METADATA +18 -0
- onfido_python-3.2.0.dist-info/RECORD +291 -0
- {onfido_python-2.10.1.dist-info → onfido_python-3.2.0.dist-info}/WHEEL +2 -1
- onfido_python-3.2.0.dist-info/top_level.txt +1 -0
- onfido/aio_resource.py +0 -131
- onfido/mimetype.py +0 -5
- onfido/onfido.py +0 -71
- onfido/onfido_download.py +0 -11
- onfido/regions.py +0 -11
- onfido/resource.py +0 -88
- onfido/resources/address_picker.py +0 -6
- onfido/resources/applicants.py +0 -23
- onfido/resources/checks.py +0 -19
- onfido/resources/documents.py +0 -16
- onfido/resources/extraction.py +0 -6
- onfido/resources/live_photos.py +0 -17
- onfido/resources/live_videos.py +0 -16
- onfido/resources/motion_captures.py +0 -16
- onfido/resources/reports.py +0 -16
- onfido/resources/sdk_tokens.py +0 -5
- onfido/resources/watchlist_monitors.py +0 -16
- onfido/resources/webhooks.py +0 -18
- onfido/resources/workflow_runs.py +0 -17
- onfido/resources_aio/address_picker.py +0 -6
- onfido/resources_aio/applicants.py +0 -23
- onfido/resources_aio/checks.py +0 -19
- onfido/resources_aio/documents.py +0 -16
- onfido/resources_aio/extraction.py +0 -6
- onfido/resources_aio/live_photos.py +0 -17
- onfido/resources_aio/live_videos.py +0 -16
- onfido/resources_aio/motion_captures.py +0 -16
- onfido/resources_aio/reports.py +0 -16
- onfido/resources_aio/sdk_tokens.py +0 -6
- onfido/resources_aio/watchlist_monitors.py +0 -16
- onfido/resources_aio/webhooks.py +0 -18
- onfido/resources_aio/workflow_runs.py +0 -17
- onfido/utils.py +0 -22
- onfido_python-2.10.1.dist-info/METADATA +0 -181
- onfido_python-2.10.1.dist-info/RECORD +0 -40
onfido/exceptions.py
CHANGED
|
@@ -1,92 +1,199 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Onfido API v3.6
|
|
5
|
+
|
|
6
|
+
The Onfido API (v3.6)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v3.6
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
from typing import Any, Optional
|
|
15
|
+
from typing_extensions import Self
|
|
16
|
+
|
|
17
|
+
class OpenApiException(Exception):
|
|
18
|
+
"""The base exception class for all OpenAPIExceptions"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class ApiTypeError(OpenApiException, TypeError):
|
|
22
|
+
def __init__(self, msg, path_to_item=None, valid_classes=None,
|
|
23
|
+
key_type=None) -> None:
|
|
24
|
+
""" Raises an exception for TypeErrors
|
|
25
|
+
|
|
26
|
+
Args:
|
|
27
|
+
msg (str): the exception message
|
|
28
|
+
|
|
29
|
+
Keyword Args:
|
|
30
|
+
path_to_item (list): a list of keys an indices to get to the
|
|
31
|
+
current_item
|
|
32
|
+
None if unset
|
|
33
|
+
valid_classes (tuple): the primitive classes that current item
|
|
34
|
+
should be an instance of
|
|
35
|
+
None if unset
|
|
36
|
+
key_type (bool): False if our value is a value in a dict
|
|
37
|
+
True if it is a key in a dict
|
|
38
|
+
False if our item is an item in a list
|
|
39
|
+
None if unset
|
|
40
|
+
"""
|
|
41
|
+
self.path_to_item = path_to_item
|
|
42
|
+
self.valid_classes = valid_classes
|
|
43
|
+
self.key_type = key_type
|
|
44
|
+
full_msg = msg
|
|
45
|
+
if path_to_item:
|
|
46
|
+
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
|
|
47
|
+
super(ApiTypeError, self).__init__(full_msg)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class ApiValueError(OpenApiException, ValueError):
|
|
51
|
+
def __init__(self, msg, path_to_item=None) -> None:
|
|
52
|
+
"""
|
|
53
|
+
Args:
|
|
54
|
+
msg (str): the exception message
|
|
55
|
+
|
|
56
|
+
Keyword Args:
|
|
57
|
+
path_to_item (list) the path to the exception in the
|
|
58
|
+
received_data dict. None if unset
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
self.path_to_item = path_to_item
|
|
62
|
+
full_msg = msg
|
|
63
|
+
if path_to_item:
|
|
64
|
+
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
|
|
65
|
+
super(ApiValueError, self).__init__(full_msg)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
class ApiAttributeError(OpenApiException, AttributeError):
|
|
69
|
+
def __init__(self, msg, path_to_item=None) -> None:
|
|
70
|
+
"""
|
|
71
|
+
Raised when an attribute reference or assignment fails.
|
|
72
|
+
|
|
73
|
+
Args:
|
|
74
|
+
msg (str): the exception message
|
|
75
|
+
|
|
76
|
+
Keyword Args:
|
|
77
|
+
path_to_item (None/list) the path to the exception in the
|
|
78
|
+
received_data dict
|
|
79
|
+
"""
|
|
80
|
+
self.path_to_item = path_to_item
|
|
81
|
+
full_msg = msg
|
|
82
|
+
if path_to_item:
|
|
83
|
+
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
|
|
84
|
+
super(ApiAttributeError, self).__init__(full_msg)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class ApiKeyError(OpenApiException, KeyError):
|
|
88
|
+
def __init__(self, msg, path_to_item=None) -> None:
|
|
89
|
+
"""
|
|
90
|
+
Args:
|
|
91
|
+
msg (str): the exception message
|
|
92
|
+
|
|
93
|
+
Keyword Args:
|
|
94
|
+
path_to_item (None/list) the path to the exception in the
|
|
95
|
+
received_data dict
|
|
96
|
+
"""
|
|
97
|
+
self.path_to_item = path_to_item
|
|
98
|
+
full_msg = msg
|
|
99
|
+
if path_to_item:
|
|
100
|
+
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
|
|
101
|
+
super(ApiKeyError, self).__init__(full_msg)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
class ApiException(OpenApiException):
|
|
105
|
+
|
|
106
|
+
def __init__(
|
|
107
|
+
self,
|
|
108
|
+
status=None,
|
|
109
|
+
reason=None,
|
|
110
|
+
http_resp=None,
|
|
111
|
+
*,
|
|
112
|
+
body: Optional[str] = None,
|
|
113
|
+
data: Optional[Any] = None,
|
|
114
|
+
) -> None:
|
|
115
|
+
self.status = status
|
|
116
|
+
self.reason = reason
|
|
117
|
+
self.body = body
|
|
118
|
+
self.data = data
|
|
119
|
+
self.headers = None
|
|
120
|
+
|
|
121
|
+
if http_resp:
|
|
122
|
+
if self.status is None:
|
|
123
|
+
self.status = http_resp.status
|
|
124
|
+
if self.reason is None:
|
|
125
|
+
self.reason = http_resp.reason
|
|
126
|
+
if self.body is None:
|
|
127
|
+
try:
|
|
128
|
+
self.body = http_resp.data.decode('utf-8')
|
|
129
|
+
except Exception:
|
|
130
|
+
pass
|
|
131
|
+
self.headers = http_resp.getheaders()
|
|
132
|
+
|
|
133
|
+
@classmethod
|
|
134
|
+
def from_response(
|
|
135
|
+
cls,
|
|
136
|
+
*,
|
|
137
|
+
http_resp,
|
|
138
|
+
body: Optional[str],
|
|
139
|
+
data: Optional[Any],
|
|
140
|
+
) -> Self:
|
|
141
|
+
if http_resp.status == 400:
|
|
142
|
+
raise BadRequestException(http_resp=http_resp, body=body, data=data)
|
|
143
|
+
|
|
144
|
+
if http_resp.status == 401:
|
|
145
|
+
raise UnauthorizedException(http_resp=http_resp, body=body, data=data)
|
|
146
|
+
|
|
147
|
+
if http_resp.status == 403:
|
|
148
|
+
raise ForbiddenException(http_resp=http_resp, body=body, data=data)
|
|
149
|
+
|
|
150
|
+
if http_resp.status == 404:
|
|
151
|
+
raise NotFoundException(http_resp=http_resp, body=body, data=data)
|
|
152
|
+
|
|
153
|
+
if 500 <= http_resp.status <= 599:
|
|
154
|
+
raise ServiceException(http_resp=http_resp, body=body, data=data)
|
|
155
|
+
raise ApiException(http_resp=http_resp, body=body, data=data)
|
|
156
|
+
|
|
157
|
+
def __str__(self):
|
|
158
|
+
"""Custom error messages for exception"""
|
|
159
|
+
error_message = "({0})\n"\
|
|
160
|
+
"Reason: {1}\n".format(self.status, self.reason)
|
|
161
|
+
if self.headers:
|
|
162
|
+
error_message += "HTTP response headers: {0}\n".format(
|
|
163
|
+
self.headers)
|
|
164
|
+
|
|
165
|
+
if self.data or self.body:
|
|
166
|
+
error_message += "HTTP response body: {0}\n".format(self.data or self.body)
|
|
167
|
+
|
|
168
|
+
return error_message
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
class BadRequestException(ApiException):
|
|
24
172
|
pass
|
|
25
173
|
|
|
26
174
|
|
|
27
|
-
class
|
|
175
|
+
class NotFoundException(ApiException):
|
|
28
176
|
pass
|
|
29
177
|
|
|
30
178
|
|
|
31
|
-
class
|
|
179
|
+
class UnauthorizedException(ApiException):
|
|
32
180
|
pass
|
|
33
181
|
|
|
34
182
|
|
|
35
|
-
class
|
|
183
|
+
class ForbiddenException(ApiException):
|
|
36
184
|
pass
|
|
37
185
|
|
|
38
186
|
|
|
39
|
-
class
|
|
187
|
+
class ServiceException(ApiException):
|
|
40
188
|
pass
|
|
41
189
|
|
|
42
190
|
|
|
43
|
-
def
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
error = None
|
|
53
|
-
if e.response.status_code == 422:
|
|
54
|
-
content_type = e.response.headers.get("Content-Type", "")
|
|
55
|
-
if "application/json" in content_type:
|
|
56
|
-
resp_json = e.response.json()
|
|
57
|
-
error = resp_json.get("error")
|
|
58
|
-
raise OnfidoRequestError(error) from e
|
|
59
|
-
|
|
60
|
-
except requests.Timeout as e:
|
|
61
|
-
raise OnfidoTimeoutError(e)
|
|
62
|
-
|
|
63
|
-
except requests.ConnectionError as e:
|
|
64
|
-
raise OnfidoConnectionError(e)
|
|
65
|
-
|
|
66
|
-
except requests.RequestException as e:
|
|
67
|
-
raise OnfidoUnknownError(e)
|
|
68
|
-
|
|
69
|
-
return wrapper
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
def async_error_decorator(func):
|
|
73
|
-
async def wrapper(*args, **kwargs):
|
|
74
|
-
try:
|
|
75
|
-
return await func(*args, **kwargs)
|
|
76
|
-
|
|
77
|
-
except HttpProcessingError as e:
|
|
78
|
-
if e.code >= 500:
|
|
79
|
-
raise OnfidoServerError() from e
|
|
80
|
-
else:
|
|
81
|
-
raise OnfidoRequestError(e.message) from e
|
|
82
|
-
|
|
83
|
-
except ServerTimeoutError as e:
|
|
84
|
-
raise OnfidoTimeoutError(e)
|
|
85
|
-
|
|
86
|
-
except ClientConnectionError as e:
|
|
87
|
-
raise OnfidoConnectionError(e)
|
|
88
|
-
|
|
89
|
-
except ClientError as e:
|
|
90
|
-
raise OnfidoUnknownError(e)
|
|
91
|
-
|
|
92
|
-
return wrapper
|
|
191
|
+
def render_path(path_to_item):
|
|
192
|
+
"""Returns a string representation of a path"""
|
|
193
|
+
result = ""
|
|
194
|
+
for pth in path_to_item:
|
|
195
|
+
if isinstance(pth, int):
|
|
196
|
+
result += "[{0}]".format(pth)
|
|
197
|
+
else:
|
|
198
|
+
result += "['{0}']".format(pth)
|
|
199
|
+
return result
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
"""
|
|
5
|
+
Onfido API v3.6
|
|
6
|
+
|
|
7
|
+
The Onfido API (v3.6)
|
|
8
|
+
|
|
9
|
+
The version of the OpenAPI document: v3.6
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# import models into model package
|
|
17
|
+
from onfido.models.address import Address
|
|
18
|
+
from onfido.models.address_builder import AddressBuilder
|
|
19
|
+
from onfido.models.address_shared import AddressShared
|
|
20
|
+
from onfido.models.addresses_list import AddressesList
|
|
21
|
+
from onfido.models.applicant import Applicant
|
|
22
|
+
from onfido.models.applicant_builder import ApplicantBuilder
|
|
23
|
+
from onfido.models.applicant_create import ApplicantCreate
|
|
24
|
+
from onfido.models.applicant_request import ApplicantRequest
|
|
25
|
+
from onfido.models.applicant_response import ApplicantResponse
|
|
26
|
+
from onfido.models.applicant_shared import ApplicantShared
|
|
27
|
+
from onfido.models.applicant_update import ApplicantUpdate
|
|
28
|
+
from onfido.models.applicant_updater import ApplicantUpdater
|
|
29
|
+
from onfido.models.applicants_list import ApplicantsList
|
|
30
|
+
from onfido.models.check import Check
|
|
31
|
+
from onfido.models.check_builder import CheckBuilder
|
|
32
|
+
from onfido.models.check_request import CheckRequest
|
|
33
|
+
from onfido.models.check_response import CheckResponse
|
|
34
|
+
from onfido.models.check_shared import CheckShared
|
|
35
|
+
from onfido.models.checks_list import ChecksList
|
|
36
|
+
from onfido.models.complete_task_builder import CompleteTaskBuilder
|
|
37
|
+
from onfido.models.complete_task_data_builder import CompleteTaskDataBuilder
|
|
38
|
+
from onfido.models.consent_item import ConsentItem
|
|
39
|
+
from onfido.models.consents_builder import ConsentsBuilder
|
|
40
|
+
from onfido.models.country_codes import CountryCodes
|
|
41
|
+
from onfido.models.device_intelligence_breakdown import DeviceIntelligenceBreakdown
|
|
42
|
+
from onfido.models.device_intelligence_breakdown_breakdown import DeviceIntelligenceBreakdownBreakdown
|
|
43
|
+
from onfido.models.device_intelligence_breakdown_breakdown_device import DeviceIntelligenceBreakdownBreakdownDevice
|
|
44
|
+
from onfido.models.device_intelligence_breakdown_breakdown_device_breakdown import DeviceIntelligenceBreakdownBreakdownDeviceBreakdown
|
|
45
|
+
from onfido.models.device_intelligence_breakdown_properties import DeviceIntelligenceBreakdownProperties
|
|
46
|
+
from onfido.models.device_intelligence_breakdown_properties_device import DeviceIntelligenceBreakdownPropertiesDevice
|
|
47
|
+
from onfido.models.device_intelligence_breakdown_properties_geolocation import DeviceIntelligenceBreakdownPropertiesGeolocation
|
|
48
|
+
from onfido.models.device_intelligence_breakdown_properties_ip import DeviceIntelligenceBreakdownPropertiesIp
|
|
49
|
+
from onfido.models.device_intelligence_report import DeviceIntelligenceReport
|
|
50
|
+
from onfido.models.document import Document
|
|
51
|
+
from onfido.models.document_breakdown import DocumentBreakdown
|
|
52
|
+
from onfido.models.document_breakdown_age_validation import DocumentBreakdownAgeValidation
|
|
53
|
+
from onfido.models.document_breakdown_age_validation_breakdown import DocumentBreakdownAgeValidationBreakdown
|
|
54
|
+
from onfido.models.document_breakdown_compromised_document import DocumentBreakdownCompromisedDocument
|
|
55
|
+
from onfido.models.document_breakdown_compromised_document_breakdown import DocumentBreakdownCompromisedDocumentBreakdown
|
|
56
|
+
from onfido.models.document_breakdown_data_comparison import DocumentBreakdownDataComparison
|
|
57
|
+
from onfido.models.document_breakdown_data_comparison_breakdown import DocumentBreakdownDataComparisonBreakdown
|
|
58
|
+
from onfido.models.document_breakdown_data_comparison_breakdown_issuing_country import DocumentBreakdownDataComparisonBreakdownIssuingCountry
|
|
59
|
+
from onfido.models.document_breakdown_data_consistency import DocumentBreakdownDataConsistency
|
|
60
|
+
from onfido.models.document_breakdown_data_consistency_breakdown import DocumentBreakdownDataConsistencyBreakdown
|
|
61
|
+
from onfido.models.document_breakdown_data_validation import DocumentBreakdownDataValidation
|
|
62
|
+
from onfido.models.document_breakdown_data_validation_breakdown import DocumentBreakdownDataValidationBreakdown
|
|
63
|
+
from onfido.models.document_breakdown_data_validation_breakdown_document_expiration import DocumentBreakdownDataValidationBreakdownDocumentExpiration
|
|
64
|
+
from onfido.models.document_breakdown_data_validation_breakdown_expiry_date import DocumentBreakdownDataValidationBreakdownExpiryDate
|
|
65
|
+
from onfido.models.document_breakdown_image_integrity import DocumentBreakdownImageIntegrity
|
|
66
|
+
from onfido.models.document_breakdown_image_integrity_breakdown import DocumentBreakdownImageIntegrityBreakdown
|
|
67
|
+
from onfido.models.document_breakdown_image_integrity_breakdown_colour_picture import DocumentBreakdownImageIntegrityBreakdownColourPicture
|
|
68
|
+
from onfido.models.document_breakdown_image_integrity_breakdown_conclusive_document_quality import DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality
|
|
69
|
+
from onfido.models.document_breakdown_image_integrity_breakdown_image_quality import DocumentBreakdownImageIntegrityBreakdownImageQuality
|
|
70
|
+
from onfido.models.document_breakdown_image_integrity_breakdown_supported_document import DocumentBreakdownImageIntegrityBreakdownSupportedDocument
|
|
71
|
+
from onfido.models.document_breakdown_issuing_authority import DocumentBreakdownIssuingAuthority
|
|
72
|
+
from onfido.models.document_breakdown_issuing_authority_breakdown import DocumentBreakdownIssuingAuthorityBreakdown
|
|
73
|
+
from onfido.models.document_breakdown_issuing_authority_breakdown_nfc_active_authentication import DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication
|
|
74
|
+
from onfido.models.document_breakdown_issuing_authority_breakdown_nfc_passive_authentication import DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication
|
|
75
|
+
from onfido.models.document_breakdown_police_record import DocumentBreakdownPoliceRecord
|
|
76
|
+
from onfido.models.document_breakdown_visual_authenticity import DocumentBreakdownVisualAuthenticity
|
|
77
|
+
from onfido.models.document_breakdown_visual_authenticity_breakdown import DocumentBreakdownVisualAuthenticityBreakdown
|
|
78
|
+
from onfido.models.document_breakdown_visual_authenticity_breakdown_digital_tampering import DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering
|
|
79
|
+
from onfido.models.document_breakdown_visual_authenticity_breakdown_face_detection import DocumentBreakdownVisualAuthenticityBreakdownFaceDetection
|
|
80
|
+
from onfido.models.document_breakdown_visual_authenticity_breakdown_fonts import DocumentBreakdownVisualAuthenticityBreakdownFonts
|
|
81
|
+
from onfido.models.document_breakdown_visual_authenticity_breakdown_original_document_present import DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent
|
|
82
|
+
from onfido.models.document_breakdown_visual_authenticity_breakdown_other import DocumentBreakdownVisualAuthenticityBreakdownOther
|
|
83
|
+
from onfido.models.document_breakdown_visual_authenticity_breakdown_picture_face_integrity import DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity
|
|
84
|
+
from onfido.models.document_breakdown_visual_authenticity_breakdown_security_features import DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures
|
|
85
|
+
from onfido.models.document_breakdown_visual_authenticity_breakdown_template import DocumentBreakdownVisualAuthenticityBreakdownTemplate
|
|
86
|
+
from onfido.models.document_cdq_reasons import DocumentCDQReasons
|
|
87
|
+
from onfido.models.document_iq_reasons import DocumentIQReasons
|
|
88
|
+
from onfido.models.document_odp_reasons import DocumentODPReasons
|
|
89
|
+
from onfido.models.document_properties import DocumentProperties
|
|
90
|
+
from onfido.models.document_properties_address_lines import DocumentPropertiesAddressLines
|
|
91
|
+
from onfido.models.document_properties_barcode_inner import DocumentPropertiesBarcodeInner
|
|
92
|
+
from onfido.models.document_properties_document_classification import DocumentPropertiesDocumentClassification
|
|
93
|
+
from onfido.models.document_properties_document_numbers_inner import DocumentPropertiesDocumentNumbersInner
|
|
94
|
+
from onfido.models.document_properties_driving_licence_information import DocumentPropertiesDrivingLicenceInformation
|
|
95
|
+
from onfido.models.document_properties_extracted_data import DocumentPropertiesExtractedData
|
|
96
|
+
from onfido.models.document_properties_nfc import DocumentPropertiesNfc
|
|
97
|
+
from onfido.models.document_report import DocumentReport
|
|
98
|
+
from onfido.models.document_response import DocumentResponse
|
|
99
|
+
from onfido.models.document_shared import DocumentShared
|
|
100
|
+
from onfido.models.document_types import DocumentTypes
|
|
101
|
+
from onfido.models.document_video_report import DocumentVideoReport
|
|
102
|
+
from onfido.models.document_video_with_address_information_report import DocumentVideoWithAddressInformationReport
|
|
103
|
+
from onfido.models.document_with_address_information_report import DocumentWithAddressInformationReport
|
|
104
|
+
from onfido.models.document_with_driver_verification_report import DocumentWithDriverVerificationReport
|
|
105
|
+
from onfido.models.document_with_driver_verification_report_all_of_properties import DocumentWithDriverVerificationReportAllOfProperties
|
|
106
|
+
from onfido.models.document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle import DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle
|
|
107
|
+
from onfido.models.document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner import DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner
|
|
108
|
+
from onfido.models.document_with_driving_licence_information_report import DocumentWithDrivingLicenceInformationReport
|
|
109
|
+
from onfido.models.documents_list import DocumentsList
|
|
110
|
+
from onfido.models.error import Error
|
|
111
|
+
from onfido.models.error1 import Error1
|
|
112
|
+
from onfido.models.error_properties import ErrorProperties
|
|
113
|
+
from onfido.models.error_properties1 import ErrorProperties1
|
|
114
|
+
from onfido.models.extract_request import ExtractRequest
|
|
115
|
+
from onfido.models.extraction import Extraction
|
|
116
|
+
from onfido.models.extraction_document_classification import ExtractionDocumentClassification
|
|
117
|
+
from onfido.models.extraction_extracted_data import ExtractionExtractedData
|
|
118
|
+
from onfido.models.facial_similarity_motion_breakdown import FacialSimilarityMotionBreakdown
|
|
119
|
+
from onfido.models.facial_similarity_motion_breakdown_face_comparison import FacialSimilarityMotionBreakdownFaceComparison
|
|
120
|
+
from onfido.models.facial_similarity_motion_breakdown_image_integrity import FacialSimilarityMotionBreakdownImageIntegrity
|
|
121
|
+
from onfido.models.facial_similarity_motion_breakdown_image_integrity_breakdown import FacialSimilarityMotionBreakdownImageIntegrityBreakdown
|
|
122
|
+
from onfido.models.facial_similarity_motion_breakdown_image_integrity_breakdown_face_detected import FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected
|
|
123
|
+
from onfido.models.facial_similarity_motion_breakdown_image_integrity_breakdown_source_integrity import FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity
|
|
124
|
+
from onfido.models.facial_similarity_motion_breakdown_visual_authenticity import FacialSimilarityMotionBreakdownVisualAuthenticity
|
|
125
|
+
from onfido.models.facial_similarity_motion_breakdown_visual_authenticity_breakdown import FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown
|
|
126
|
+
from onfido.models.facial_similarity_motion_breakdown_visual_authenticity_breakdown_spoofing_detection import FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection
|
|
127
|
+
from onfido.models.facial_similarity_motion_properties import FacialSimilarityMotionProperties
|
|
128
|
+
from onfido.models.facial_similarity_motion_report import FacialSimilarityMotionReport
|
|
129
|
+
from onfido.models.facial_similarity_photo_breakdown import FacialSimilarityPhotoBreakdown
|
|
130
|
+
from onfido.models.facial_similarity_photo_breakdown_face_comparison import FacialSimilarityPhotoBreakdownFaceComparison
|
|
131
|
+
from onfido.models.facial_similarity_photo_breakdown_face_comparison_breakdown import FacialSimilarityPhotoBreakdownFaceComparisonBreakdown
|
|
132
|
+
from onfido.models.facial_similarity_photo_breakdown_face_comparison_breakdown_face_match import FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch
|
|
133
|
+
from onfido.models.facial_similarity_photo_breakdown_face_comparison_breakdown_face_match_properties import FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties
|
|
134
|
+
from onfido.models.facial_similarity_photo_breakdown_image_integrity import FacialSimilarityPhotoBreakdownImageIntegrity
|
|
135
|
+
from onfido.models.facial_similarity_photo_breakdown_image_integrity_breakdown import FacialSimilarityPhotoBreakdownImageIntegrityBreakdown
|
|
136
|
+
from onfido.models.facial_similarity_photo_breakdown_image_integrity_breakdown_face_detected import FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected
|
|
137
|
+
from onfido.models.facial_similarity_photo_breakdown_image_integrity_breakdown_source_integrity import FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity
|
|
138
|
+
from onfido.models.facial_similarity_photo_breakdown_visual_authenticity import FacialSimilarityPhotoBreakdownVisualAuthenticity
|
|
139
|
+
from onfido.models.facial_similarity_photo_breakdown_visual_authenticity_breakdown import FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown
|
|
140
|
+
from onfido.models.facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection import FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection
|
|
141
|
+
from onfido.models.facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection_properties import FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties
|
|
142
|
+
from onfido.models.facial_similarity_photo_fully_auto_breakdown import FacialSimilarityPhotoFullyAutoBreakdown
|
|
143
|
+
from onfido.models.facial_similarity_photo_fully_auto_breakdown_image_integrity import FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity
|
|
144
|
+
from onfido.models.facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown import FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown
|
|
145
|
+
from onfido.models.facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown_source_integrity import FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity
|
|
146
|
+
from onfido.models.facial_similarity_photo_fully_auto_properties import FacialSimilarityPhotoFullyAutoProperties
|
|
147
|
+
from onfido.models.facial_similarity_photo_fully_auto_report import FacialSimilarityPhotoFullyAutoReport
|
|
148
|
+
from onfido.models.facial_similarity_photo_properties import FacialSimilarityPhotoProperties
|
|
149
|
+
from onfido.models.facial_similarity_photo_report import FacialSimilarityPhotoReport
|
|
150
|
+
from onfido.models.facial_similarity_video_breakdown import FacialSimilarityVideoBreakdown
|
|
151
|
+
from onfido.models.facial_similarity_video_breakdown_face_comparison import FacialSimilarityVideoBreakdownFaceComparison
|
|
152
|
+
from onfido.models.facial_similarity_video_breakdown_image_integrity import FacialSimilarityVideoBreakdownImageIntegrity
|
|
153
|
+
from onfido.models.facial_similarity_video_breakdown_image_integrity_breakdown import FacialSimilarityVideoBreakdownImageIntegrityBreakdown
|
|
154
|
+
from onfido.models.facial_similarity_video_breakdown_image_integrity_breakdown_face_detected import FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected
|
|
155
|
+
from onfido.models.facial_similarity_video_breakdown_image_integrity_breakdown_source_integrity import FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity
|
|
156
|
+
from onfido.models.facial_similarity_video_breakdown_visual_authenticity import FacialSimilarityVideoBreakdownVisualAuthenticity
|
|
157
|
+
from onfido.models.facial_similarity_video_breakdown_visual_authenticity_breakdown import FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown
|
|
158
|
+
from onfido.models.facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected import FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected
|
|
159
|
+
from onfido.models.facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection import FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection
|
|
160
|
+
from onfido.models.facial_similarity_video_properties import FacialSimilarityVideoProperties
|
|
161
|
+
from onfido.models.facial_similarity_video_report import FacialSimilarityVideoReport
|
|
162
|
+
from onfido.models.id_number import IdNumber
|
|
163
|
+
from onfido.models.id_photo import IdPhoto
|
|
164
|
+
from onfido.models.id_photo_response import IdPhotoResponse
|
|
165
|
+
from onfido.models.id_photos_list import IdPhotosList
|
|
166
|
+
from onfido.models.identity_enhanced_breakdown import IdentityEnhancedBreakdown
|
|
167
|
+
from onfido.models.identity_enhanced_breakdown_address import IdentityEnhancedBreakdownAddress
|
|
168
|
+
from onfido.models.identity_enhanced_breakdown_address_breakdown import IdentityEnhancedBreakdownAddressBreakdown
|
|
169
|
+
from onfido.models.identity_enhanced_breakdown_address_breakdown_credit_agencies import IdentityEnhancedBreakdownAddressBreakdownCreditAgencies
|
|
170
|
+
from onfido.models.identity_enhanced_breakdown_address_breakdown_credit_agencies_properties import IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties
|
|
171
|
+
from onfido.models.identity_enhanced_breakdown_address_breakdown_telephone_database import IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase
|
|
172
|
+
from onfido.models.identity_enhanced_breakdown_address_breakdown_voting_register import IdentityEnhancedBreakdownAddressBreakdownVotingRegister
|
|
173
|
+
from onfido.models.identity_enhanced_breakdown_date_of_birth import IdentityEnhancedBreakdownDateOfBirth
|
|
174
|
+
from onfido.models.identity_enhanced_breakdown_date_of_birth_breakdown import IdentityEnhancedBreakdownDateOfBirthBreakdown
|
|
175
|
+
from onfido.models.identity_enhanced_breakdown_date_of_birth_breakdown_credit_agencies import IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies
|
|
176
|
+
from onfido.models.identity_enhanced_breakdown_date_of_birth_breakdown_voting_register import IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister
|
|
177
|
+
from onfido.models.identity_enhanced_breakdown_mortality import IdentityEnhancedBreakdownMortality
|
|
178
|
+
from onfido.models.identity_enhanced_breakdown_sources import IdentityEnhancedBreakdownSources
|
|
179
|
+
from onfido.models.identity_enhanced_breakdown_sources_breakdown import IdentityEnhancedBreakdownSourcesBreakdown
|
|
180
|
+
from onfido.models.identity_enhanced_breakdown_sources_breakdown_total_sources import IdentityEnhancedBreakdownSourcesBreakdownTotalSources
|
|
181
|
+
from onfido.models.identity_enhanced_breakdown_sources_breakdown_total_sources_properties import IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties
|
|
182
|
+
from onfido.models.identity_enhanced_properties import IdentityEnhancedProperties
|
|
183
|
+
from onfido.models.identity_enhanced_properties_matched_addresses_inner import IdentityEnhancedPropertiesMatchedAddressesInner
|
|
184
|
+
from onfido.models.identity_enhanced_report import IdentityEnhancedReport
|
|
185
|
+
from onfido.models.india_pan_report import IndiaPanReport
|
|
186
|
+
from onfido.models.india_pan_report_all_of_breakdown import IndiaPanReportAllOfBreakdown
|
|
187
|
+
from onfido.models.india_pan_report_all_of_breakdown_device import IndiaPanReportAllOfBreakdownDevice
|
|
188
|
+
from onfido.models.india_pan_report_all_of_breakdown_device_breakdown import IndiaPanReportAllOfBreakdownDeviceBreakdown
|
|
189
|
+
from onfido.models.india_pan_report_all_of_breakdown_device_breakdown_pan_valid import IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid
|
|
190
|
+
from onfido.models.india_pan_report_all_of_properties import IndiaPanReportAllOfProperties
|
|
191
|
+
from onfido.models.india_pan_report_all_of_properties_device import IndiaPanReportAllOfPropertiesDevice
|
|
192
|
+
from onfido.models.known_faces_breakdown import KnownFacesBreakdown
|
|
193
|
+
from onfido.models.known_faces_breakdown_image_integrity import KnownFacesBreakdownImageIntegrity
|
|
194
|
+
from onfido.models.known_faces_breakdown_previously_seen_faces import KnownFacesBreakdownPreviouslySeenFaces
|
|
195
|
+
from onfido.models.known_faces_properties import KnownFacesProperties
|
|
196
|
+
from onfido.models.known_faces_properties_matches_inner import KnownFacesPropertiesMatchesInner
|
|
197
|
+
from onfido.models.known_faces_report import KnownFacesReport
|
|
198
|
+
from onfido.models.live_photo import LivePhoto
|
|
199
|
+
from onfido.models.live_photo_response import LivePhotoResponse
|
|
200
|
+
from onfido.models.live_photos_list import LivePhotosList
|
|
201
|
+
from onfido.models.live_video import LiveVideo
|
|
202
|
+
from onfido.models.live_videos_list import LiveVideosList
|
|
203
|
+
from onfido.models.location import Location
|
|
204
|
+
from onfido.models.location_builder import LocationBuilder
|
|
205
|
+
from onfido.models.location_shared import LocationShared
|
|
206
|
+
from onfido.models.motion_capture import MotionCapture
|
|
207
|
+
from onfido.models.motion_captures_list import MotionCapturesList
|
|
208
|
+
from onfido.models.photo_auto_reasons import PhotoAutoReasons
|
|
209
|
+
from onfido.models.photo_reasons import PhotoReasons
|
|
210
|
+
from onfido.models.proof_of_address_breakdown import ProofOfAddressBreakdown
|
|
211
|
+
from onfido.models.proof_of_address_breakdown_data_comparison import ProofOfAddressBreakdownDataComparison
|
|
212
|
+
from onfido.models.proof_of_address_breakdown_data_comparison_breakdown import ProofOfAddressBreakdownDataComparisonBreakdown
|
|
213
|
+
from onfido.models.proof_of_address_breakdown_document_classification import ProofOfAddressBreakdownDocumentClassification
|
|
214
|
+
from onfido.models.proof_of_address_breakdown_document_classification_breakdown import ProofOfAddressBreakdownDocumentClassificationBreakdown
|
|
215
|
+
from onfido.models.proof_of_address_breakdown_image_integrity import ProofOfAddressBreakdownImageIntegrity
|
|
216
|
+
from onfido.models.proof_of_address_breakdown_image_integrity_breakdown import ProofOfAddressBreakdownImageIntegrityBreakdown
|
|
217
|
+
from onfido.models.proof_of_address_properties import ProofOfAddressProperties
|
|
218
|
+
from onfido.models.proof_of_address_report import ProofOfAddressReport
|
|
219
|
+
from onfido.models.repeat_attempts_list import RepeatAttemptsList
|
|
220
|
+
from onfido.models.repeat_attempts_list_repeat_attempts_inner import RepeatAttemptsListRepeatAttemptsInner
|
|
221
|
+
from onfido.models.report import Report
|
|
222
|
+
from onfido.models.report_document import ReportDocument
|
|
223
|
+
from onfido.models.report_name import ReportName
|
|
224
|
+
from onfido.models.report_result import ReportResult
|
|
225
|
+
from onfido.models.report_shared import ReportShared
|
|
226
|
+
from onfido.models.report_status import ReportStatus
|
|
227
|
+
from onfido.models.report_sub_result import ReportSubResult
|
|
228
|
+
from onfido.models.reports_list import ReportsList
|
|
229
|
+
from onfido.models.results_feedback import ResultsFeedback
|
|
230
|
+
from onfido.models.sdk_token import SdkToken
|
|
231
|
+
from onfido.models.sdk_token_builder import SdkTokenBuilder
|
|
232
|
+
from onfido.models.sdk_token_request import SdkTokenRequest
|
|
233
|
+
from onfido.models.sdk_token_response import SdkTokenResponse
|
|
234
|
+
from onfido.models.task import Task
|
|
235
|
+
from onfido.models.task_item import TaskItem
|
|
236
|
+
from onfido.models.timeline_file_reference import TimelineFileReference
|
|
237
|
+
from onfido.models.us_driving_licence_breakdown import UsDrivingLicenceBreakdown
|
|
238
|
+
from onfido.models.us_driving_licence_breakdown_address import UsDrivingLicenceBreakdownAddress
|
|
239
|
+
from onfido.models.us_driving_licence_breakdown_address_breakdown import UsDrivingLicenceBreakdownAddressBreakdown
|
|
240
|
+
from onfido.models.us_driving_licence_breakdown_document import UsDrivingLicenceBreakdownDocument
|
|
241
|
+
from onfido.models.us_driving_licence_breakdown_document_breakdown import UsDrivingLicenceBreakdownDocumentBreakdown
|
|
242
|
+
from onfido.models.us_driving_licence_breakdown_personal import UsDrivingLicenceBreakdownPersonal
|
|
243
|
+
from onfido.models.us_driving_licence_breakdown_personal_breakdown import UsDrivingLicenceBreakdownPersonalBreakdown
|
|
244
|
+
from onfido.models.us_driving_licence_builder import UsDrivingLicenceBuilder
|
|
245
|
+
from onfido.models.us_driving_licence_report import UsDrivingLicenceReport
|
|
246
|
+
from onfido.models.us_driving_licence_shared import UsDrivingLicenceShared
|
|
247
|
+
from onfido.models.video_reasons import VideoReasons
|
|
248
|
+
from onfido.models.watchlist_aml_breakdown import WatchlistAmlBreakdown
|
|
249
|
+
from onfido.models.watchlist_aml_breakdown_adverse_media import WatchlistAmlBreakdownAdverseMedia
|
|
250
|
+
from onfido.models.watchlist_aml_breakdown_legal_and_regulatory_warnings import WatchlistAmlBreakdownLegalAndRegulatoryWarnings
|
|
251
|
+
from onfido.models.watchlist_aml_breakdown_politically_exposed_person import WatchlistAmlBreakdownPoliticallyExposedPerson
|
|
252
|
+
from onfido.models.watchlist_aml_breakdown_sanction import WatchlistAmlBreakdownSanction
|
|
253
|
+
from onfido.models.watchlist_aml_properties import WatchlistAmlProperties
|
|
254
|
+
from onfido.models.watchlist_aml_report import WatchlistAmlReport
|
|
255
|
+
from onfido.models.watchlist_enhanced_breakdown import WatchlistEnhancedBreakdown
|
|
256
|
+
from onfido.models.watchlist_enhanced_properties import WatchlistEnhancedProperties
|
|
257
|
+
from onfido.models.watchlist_enhanced_report import WatchlistEnhancedReport
|
|
258
|
+
from onfido.models.watchlist_monitor import WatchlistMonitor
|
|
259
|
+
from onfido.models.watchlist_monitor_builder import WatchlistMonitorBuilder
|
|
260
|
+
from onfido.models.watchlist_monitor_match import WatchlistMonitorMatch
|
|
261
|
+
from onfido.models.watchlist_monitor_matches_list import WatchlistMonitorMatchesList
|
|
262
|
+
from onfido.models.watchlist_monitor_matches_updater import WatchlistMonitorMatchesUpdater
|
|
263
|
+
from onfido.models.watchlist_monitor_response import WatchlistMonitorResponse
|
|
264
|
+
from onfido.models.watchlist_monitor_shared import WatchlistMonitorShared
|
|
265
|
+
from onfido.models.watchlist_monitors_list import WatchlistMonitorsList
|
|
266
|
+
from onfido.models.watchlist_peps_only_report import WatchlistPepsOnlyReport
|
|
267
|
+
from onfido.models.watchlist_sanctions_only_report import WatchlistSanctionsOnlyReport
|
|
268
|
+
from onfido.models.watchlist_standard_breakdown import WatchlistStandardBreakdown
|
|
269
|
+
from onfido.models.watchlist_standard_properties import WatchlistStandardProperties
|
|
270
|
+
from onfido.models.watchlist_standard_report import WatchlistStandardReport
|
|
271
|
+
from onfido.models.webhook import Webhook
|
|
272
|
+
from onfido.models.webhook_builder import WebhookBuilder
|
|
273
|
+
from onfido.models.webhook_create import WebhookCreate
|
|
274
|
+
from onfido.models.webhook_event import WebhookEvent
|
|
275
|
+
from onfido.models.webhook_event_payload import WebhookEventPayload
|
|
276
|
+
from onfido.models.webhook_event_payload_object import WebhookEventPayloadObject
|
|
277
|
+
from onfido.models.webhook_event_type import WebhookEventType
|
|
278
|
+
from onfido.models.webhook_resend import WebhookResend
|
|
279
|
+
from onfido.models.webhook_response import WebhookResponse
|
|
280
|
+
from onfido.models.webhook_shared import WebhookShared
|
|
281
|
+
from onfido.models.webhook_update import WebhookUpdate
|
|
282
|
+
from onfido.models.webhook_updater import WebhookUpdater
|
|
283
|
+
from onfido.models.webhooks_list import WebhooksList
|
|
284
|
+
from onfido.models.webhooks_resend_item import WebhooksResendItem
|
|
285
|
+
from onfido.models.workflow_run import WorkflowRun
|
|
286
|
+
from onfido.models.workflow_run_builder import WorkflowRunBuilder
|
|
287
|
+
from onfido.models.workflow_run_request import WorkflowRunRequest
|
|
288
|
+
from onfido.models.workflow_run_response import WorkflowRunResponse
|
|
289
|
+
from onfido.models.workflow_run_response_error import WorkflowRunResponseError
|
|
290
|
+
from onfido.models.workflow_run_shared import WorkflowRunShared
|
|
291
|
+
from onfido.models.workflow_run_shared_link import WorkflowRunSharedLink
|