onfido-python 4.4.0__tar.gz → 4.6.0__tar.gz

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.
Files changed (332) hide show
  1. {onfido_python-4.4.0/onfido_python.egg-info → onfido_python-4.6.0}/PKG-INFO +10 -2
  2. {onfido_python-4.4.0 → onfido_python-4.6.0}/README.md +16 -14
  3. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/__init__.py +1 -1
  4. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/api/default_api.py +265 -0
  5. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/api_client.py +1 -1
  6. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/configuration.py +1 -1
  7. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/id_number.py +2 -2
  8. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhook_event_payload_resource.py +4 -2
  9. {onfido_python-4.4.0 → onfido_python-4.6.0/onfido_python.egg-info}/PKG-INFO +10 -2
  10. {onfido_python-4.4.0 → onfido_python-4.6.0}/pyproject.toml +2 -1
  11. {onfido_python-4.4.0 → onfido_python-4.6.0}/setup.py +1 -1
  12. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_reports.py +12 -3
  13. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_workflow_runs.py +27 -1
  14. {onfido_python-4.4.0 → onfido_python-4.6.0}/LICENSE +0 -0
  15. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/api/__init__.py +0 -0
  16. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/api_response.py +0 -0
  17. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/exceptions.py +0 -0
  18. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/__init__.py +0 -0
  19. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/address.py +0 -0
  20. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/address_builder.py +0 -0
  21. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/address_shared.py +0 -0
  22. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/addresses_list.py +0 -0
  23. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/applicant.py +0 -0
  24. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/applicant_builder.py +0 -0
  25. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/applicant_consent_builder.py +0 -0
  26. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/applicant_consent_name.py +0 -0
  27. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/applicant_create.py +0 -0
  28. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/applicant_request.py +0 -0
  29. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/applicant_response.py +0 -0
  30. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/applicant_shared.py +0 -0
  31. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/applicant_update.py +0 -0
  32. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/applicant_updater.py +0 -0
  33. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/applicants_list.py +0 -0
  34. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/check.py +0 -0
  35. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/check_builder.py +0 -0
  36. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/check_request.py +0 -0
  37. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/check_response.py +0 -0
  38. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/check_shared.py +0 -0
  39. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/check_status.py +0 -0
  40. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/checks_list.py +0 -0
  41. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/complete_task_builder.py +0 -0
  42. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/complete_task_data_builder.py +0 -0
  43. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/country_codes.py +0 -0
  44. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/device_intelligence_breakdown.py +0 -0
  45. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/device_intelligence_breakdown_breakdown.py +0 -0
  46. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/device_intelligence_breakdown_breakdown_device.py +0 -0
  47. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/device_intelligence_breakdown_breakdown_device_breakdown.py +0 -0
  48. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/device_intelligence_breakdown_properties.py +0 -0
  49. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/device_intelligence_breakdown_properties_device.py +0 -0
  50. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/device_intelligence_breakdown_properties_geolocation.py +0 -0
  51. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/device_intelligence_breakdown_properties_ip.py +0 -0
  52. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/device_intelligence_report.py +0 -0
  53. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document.py +0 -0
  54. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown.py +0 -0
  55. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_age_validation.py +0 -0
  56. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_age_validation_breakdown.py +0 -0
  57. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_compromised_document.py +0 -0
  58. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_compromised_document_breakdown.py +0 -0
  59. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_data_comparison.py +0 -0
  60. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_data_comparison_breakdown.py +0 -0
  61. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_data_comparison_breakdown_issuing_country.py +0 -0
  62. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_data_consistency.py +0 -0
  63. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_data_consistency_breakdown.py +0 -0
  64. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_data_validation.py +0 -0
  65. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_data_validation_breakdown.py +0 -0
  66. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_data_validation_breakdown_document_expiration.py +0 -0
  67. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_data_validation_breakdown_expiry_date.py +0 -0
  68. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_image_integrity.py +0 -0
  69. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_image_integrity_breakdown.py +0 -0
  70. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_image_integrity_breakdown_colour_picture.py +0 -0
  71. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_image_integrity_breakdown_conclusive_document_quality.py +0 -0
  72. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_image_integrity_breakdown_image_quality.py +0 -0
  73. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_image_integrity_breakdown_supported_document.py +0 -0
  74. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_issuing_authority.py +0 -0
  75. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_issuing_authority_breakdown.py +0 -0
  76. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_active_authentication.py +0 -0
  77. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_passive_authentication.py +0 -0
  78. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_police_record.py +0 -0
  79. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_visual_authenticity.py +0 -0
  80. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_visual_authenticity_breakdown.py +0 -0
  81. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_digital_tampering.py +0 -0
  82. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_face_detection.py +0 -0
  83. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_fonts.py +0 -0
  84. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_original_document_present.py +0 -0
  85. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_other.py +0 -0
  86. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_picture_face_integrity.py +0 -0
  87. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_security_features.py +0 -0
  88. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_template.py +0 -0
  89. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_cdq_reasons.py +0 -0
  90. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_iq_reasons.py +0 -0
  91. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_odp_reasons.py +0 -0
  92. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_properties.py +0 -0
  93. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_properties_address_lines.py +0 -0
  94. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_properties_barcode_inner.py +0 -0
  95. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_properties_document_classification.py +0 -0
  96. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_properties_document_numbers_inner.py +0 -0
  97. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_properties_driving_licence_information.py +0 -0
  98. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_properties_extracted_data.py +0 -0
  99. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_properties_nfc.py +0 -0
  100. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_report.py +0 -0
  101. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_response.py +0 -0
  102. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_shared.py +0 -0
  103. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_types.py +0 -0
  104. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_video_report.py +0 -0
  105. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_video_with_address_information_report.py +0 -0
  106. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_with_address_information_report.py +0 -0
  107. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_with_driver_verification_report.py +0 -0
  108. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_with_driver_verification_report_all_of_properties.py +0 -0
  109. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle.py +0 -0
  110. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner.py +0 -0
  111. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/document_with_driving_licence_information_report.py +0 -0
  112. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/documents_list.py +0 -0
  113. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/error.py +0 -0
  114. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/error1.py +0 -0
  115. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/error_properties.py +0 -0
  116. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/error_properties1.py +0 -0
  117. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/extract_request.py +0 -0
  118. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/extraction.py +0 -0
  119. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/extraction_document_classification.py +0 -0
  120. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/extraction_extracted_data.py +0 -0
  121. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_motion_breakdown.py +0 -0
  122. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_motion_breakdown_face_comparison.py +0 -0
  123. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity.py +0 -0
  124. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown.py +0 -0
  125. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_face_detected.py +0 -0
  126. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
  127. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity.py +0 -0
  128. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown.py +0 -0
  129. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
  130. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_motion_properties.py +0 -0
  131. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_motion_report.py +0 -0
  132. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_breakdown.py +0 -0
  133. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison.py +0 -0
  134. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown.py +0 -0
  135. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match.py +0 -0
  136. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match_properties.py +0 -0
  137. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity.py +0 -0
  138. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown.py +0 -0
  139. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_face_detected.py +0 -0
  140. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
  141. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity.py +0 -0
  142. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown.py +0 -0
  143. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
  144. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection_properties.py +0 -0
  145. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown.py +0 -0
  146. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity.py +0 -0
  147. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown.py +0 -0
  148. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
  149. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_fully_auto_properties.py +0 -0
  150. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_fully_auto_report.py +0 -0
  151. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_properties.py +0 -0
  152. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_photo_report.py +0 -0
  153. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_report_media.py +0 -0
  154. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_report_shared.py +0 -0
  155. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_video_breakdown.py +0 -0
  156. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_video_breakdown_face_comparison.py +0 -0
  157. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_video_breakdown_image_integrity.py +0 -0
  158. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown.py +0 -0
  159. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_face_detected.py +0 -0
  160. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
  161. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity.py +0 -0
  162. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown.py +0 -0
  163. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected.py +0 -0
  164. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
  165. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_video_properties.py +0 -0
  166. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/facial_similarity_video_report.py +0 -0
  167. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/id_photo.py +0 -0
  168. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/id_photo_response.py +0 -0
  169. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/id_photos_list.py +0 -0
  170. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown.py +0 -0
  171. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown_address.py +0 -0
  172. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown_address_breakdown.py +0 -0
  173. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies.py +0 -0
  174. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies_properties.py +0 -0
  175. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_telephone_database.py +0 -0
  176. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_voting_register.py +0 -0
  177. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown_date_of_birth.py +0 -0
  178. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown.py +0 -0
  179. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_credit_agencies.py +0 -0
  180. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_voting_register.py +0 -0
  181. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown_mortality.py +0 -0
  182. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown_sources.py +0 -0
  183. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown.py +0 -0
  184. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources.py +0 -0
  185. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources_properties.py +0 -0
  186. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_properties.py +0 -0
  187. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_properties_matched_addresses_inner.py +0 -0
  188. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/identity_enhanced_report.py +0 -0
  189. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/india_pan_report.py +0 -0
  190. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/india_pan_report_all_of_breakdown.py +0 -0
  191. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/india_pan_report_all_of_breakdown_device.py +0 -0
  192. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown.py +0 -0
  193. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown_pan_valid.py +0 -0
  194. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/india_pan_report_all_of_properties.py +0 -0
  195. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/india_pan_report_all_of_properties_device.py +0 -0
  196. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/known_faces_breakdown.py +0 -0
  197. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/known_faces_breakdown_image_integrity.py +0 -0
  198. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/known_faces_breakdown_previously_seen_faces.py +0 -0
  199. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/known_faces_properties.py +0 -0
  200. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/known_faces_properties_matches_inner.py +0 -0
  201. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/known_faces_report.py +0 -0
  202. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/live_photo.py +0 -0
  203. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/live_photo_response.py +0 -0
  204. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/live_photos_list.py +0 -0
  205. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/live_video.py +0 -0
  206. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/live_videos_list.py +0 -0
  207. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/location.py +0 -0
  208. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/location_builder.py +0 -0
  209. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/location_shared.py +0 -0
  210. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/motion_capture.py +0 -0
  211. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/motion_captures_list.py +0 -0
  212. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/photo_auto_reasons.py +0 -0
  213. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/photo_reasons.py +0 -0
  214. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/proof_of_address_breakdown.py +0 -0
  215. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/proof_of_address_breakdown_data_comparison.py +0 -0
  216. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/proof_of_address_breakdown_data_comparison_breakdown.py +0 -0
  217. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/proof_of_address_breakdown_document_classification.py +0 -0
  218. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/proof_of_address_breakdown_document_classification_breakdown.py +0 -0
  219. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/proof_of_address_breakdown_image_integrity.py +0 -0
  220. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/proof_of_address_breakdown_image_integrity_breakdown.py +0 -0
  221. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/proof_of_address_properties.py +0 -0
  222. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/proof_of_address_report.py +0 -0
  223. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/repeat_attempts_list.py +0 -0
  224. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/repeat_attempts_list_repeat_attempts_inner.py +0 -0
  225. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/report.py +0 -0
  226. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/report_document.py +0 -0
  227. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/report_name.py +0 -0
  228. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/report_result.py +0 -0
  229. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/report_shared.py +0 -0
  230. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/report_status.py +0 -0
  231. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/report_sub_result.py +0 -0
  232. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/reports_list.py +0 -0
  233. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/results_feedback.py +0 -0
  234. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/sdk_token.py +0 -0
  235. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/sdk_token_builder.py +0 -0
  236. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/sdk_token_request.py +0 -0
  237. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/sdk_token_response.py +0 -0
  238. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/task.py +0 -0
  239. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/task_item.py +0 -0
  240. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/timeline_file_reference.py +0 -0
  241. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/us_driving_licence_breakdown.py +0 -0
  242. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/us_driving_licence_breakdown_address.py +0 -0
  243. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/us_driving_licence_breakdown_address_breakdown.py +0 -0
  244. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/us_driving_licence_breakdown_document.py +0 -0
  245. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/us_driving_licence_breakdown_document_breakdown.py +0 -0
  246. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/us_driving_licence_breakdown_personal.py +0 -0
  247. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/us_driving_licence_breakdown_personal_breakdown.py +0 -0
  248. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/us_driving_licence_builder.py +0 -0
  249. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/us_driving_licence_report.py +0 -0
  250. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/us_driving_licence_shared.py +0 -0
  251. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/video_reasons.py +0 -0
  252. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_aml_breakdown.py +0 -0
  253. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_aml_breakdown_adverse_media.py +0 -0
  254. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_aml_breakdown_legal_and_regulatory_warnings.py +0 -0
  255. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_aml_breakdown_politically_exposed_person.py +0 -0
  256. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_aml_breakdown_sanction.py +0 -0
  257. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_aml_properties.py +0 -0
  258. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_aml_report.py +0 -0
  259. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_enhanced_breakdown.py +0 -0
  260. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_enhanced_properties.py +0 -0
  261. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_enhanced_properties_records_inner.py +0 -0
  262. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_enhanced_properties_records_inner_address_inner.py +0 -0
  263. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_enhanced_properties_records_inner_alias_inner.py +0 -0
  264. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_enhanced_properties_records_inner_associate_inner.py +0 -0
  265. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_enhanced_properties_records_inner_attribute_inner.py +0 -0
  266. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_enhanced_properties_records_inner_event_inner.py +0 -0
  267. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_enhanced_properties_records_inner_event_inner_source.py +0 -0
  268. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_enhanced_properties_records_inner_source_inner.py +0 -0
  269. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_enhanced_report.py +0 -0
  270. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_monitor.py +0 -0
  271. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_monitor_builder.py +0 -0
  272. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_monitor_match.py +0 -0
  273. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_monitor_matches_list.py +0 -0
  274. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_monitor_matches_updater.py +0 -0
  275. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_monitor_response.py +0 -0
  276. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_monitor_shared.py +0 -0
  277. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_monitors_list.py +0 -0
  278. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_peps_only_report.py +0 -0
  279. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_sanctions_only_report.py +0 -0
  280. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_standard_breakdown.py +0 -0
  281. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_standard_properties.py +0 -0
  282. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/watchlist_standard_report.py +0 -0
  283. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhook.py +0 -0
  284. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhook_builder.py +0 -0
  285. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhook_create.py +0 -0
  286. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhook_event.py +0 -0
  287. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhook_event_object_status.py +0 -0
  288. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhook_event_payload.py +0 -0
  289. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhook_event_payload_object.py +0 -0
  290. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhook_event_resource_type.py +0 -0
  291. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhook_event_type.py +0 -0
  292. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhook_resend.py +0 -0
  293. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhook_response.py +0 -0
  294. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhook_shared.py +0 -0
  295. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhook_update.py +0 -0
  296. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhook_updater.py +0 -0
  297. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhooks_list.py +0 -0
  298. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/webhooks_resend_item.py +0 -0
  299. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/workflow_run.py +0 -0
  300. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/workflow_run_builder.py +0 -0
  301. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/workflow_run_error.py +0 -0
  302. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/workflow_run_link.py +0 -0
  303. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/workflow_run_request.py +0 -0
  304. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/workflow_run_response.py +0 -0
  305. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/workflow_run_shared.py +0 -0
  306. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/models/workflow_run_status.py +0 -0
  307. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/py.typed +0 -0
  308. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/rest.py +0 -0
  309. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido/webhook_event_verifier.py +0 -0
  310. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido_python.egg-info/SOURCES.txt +0 -0
  311. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido_python.egg-info/dependency_links.txt +0 -0
  312. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido_python.egg-info/requires.txt +0 -0
  313. {onfido_python-4.4.0 → onfido_python-4.6.0}/onfido_python.egg-info/top_level.txt +0 -0
  314. {onfido_python-4.4.0 → onfido_python-4.6.0}/setup.cfg +0 -0
  315. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_address_picker.py +0 -0
  316. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_applicants.py +0 -0
  317. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_checks.py +0 -0
  318. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_classic_webhook_event_verification.py +0 -0
  319. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_documents.py +0 -0
  320. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_extraction.py +0 -0
  321. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_id_photos.py +0 -0
  322. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_live_photos.py +0 -0
  323. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_live_video.py +0 -0
  324. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_motion_capture.py +0 -0
  325. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_qualified_electronic_signatures.py +0 -0
  326. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_report_schemas.py +0 -0
  327. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_sdk_token.py +0 -0
  328. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_studio_webhook_event_verification.py +0 -0
  329. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_tasks.py +0 -0
  330. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_watchlist_monitor.py +0 -0
  331. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_webhooks.py +0 -0
  332. {onfido_python-4.4.0 → onfido_python-4.6.0}/tests/test_workflow_run_outputs.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: onfido-python
3
- Version: 4.4.0
3
+ Version: 4.6.0
4
4
  Summary: Python library for the Onfido API
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -13,6 +13,14 @@ Requires-Dist: urllib3<3.0.0,>=1.25.3
13
13
  Requires-Dist: python-dateutil>=2.8.2
14
14
  Requires-Dist: pydantic>=2
15
15
  Requires-Dist: typing-extensions>=4.7.1
16
+ Dynamic: author
17
+ Dynamic: author-email
18
+ Dynamic: description
19
+ Dynamic: description-content-type
20
+ Dynamic: keywords
21
+ Dynamic: license
22
+ Dynamic: requires-dist
23
+ Dynamic: summary
16
24
 
17
25
  The Onfido API (v3.6)
18
26
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  The official Python library for integrating with the Onfido API.
4
4
 
5
- Documentation can be found at <https://documentation.onfido.com>.
5
+ Documentation is available at <https://documentation.onfido.com>.
6
6
 
7
- This version uses Onfido API v3.6. Refer to our [API versioning guide](https://developers.onfido.com/guide/api-versioning-policy#client-libraries) for details of which client library versions use which versions of the API.
7
+ This version uses Onfido API v3.6. Refer to our [API versioning guide](https://developers.onfido.com/guide/api-versioning-policy#client-libraries) for details. It explains which client library versions use which versions of the API.
8
8
 
9
9
  [![PyPI version](https://badge.fury.io/py/onfido-python.svg)](https://badge.fury.io/py/onfido-python)
10
10
  ![Build Status](https://github.com/onfido/onfido-python/actions/workflows/python.yml/badge.svg)
@@ -19,7 +19,7 @@ Python 3.7+
19
19
 
20
20
  #### Pip
21
21
 
22
- If the python package is hosted on a repository, you can install directly using:
22
+ If the Python package is hosted on a repository, you can install it directly using:
23
23
 
24
24
  ```sh
25
25
  pip install onfido-python
@@ -68,7 +68,7 @@ with onfido.ApiClient(configuration) as api_client:
68
68
  ...
69
69
  ```
70
70
 
71
- NB: by default, timeout values are set to 30 seconds.
71
+ NB: by default, timeout values are set to 30 seconds. You can change the default timeout values by setting the `timeout` parameter in the `Configuration` object, as shown in the example above.
72
72
 
73
73
  ### Making a call to the API
74
74
 
@@ -97,7 +97,7 @@ Specific exception types are defined into [exceptions.py](onfido/exceptions.py).
97
97
 
98
98
  ### Webhook event verification
99
99
 
100
- Webhook events payload needs to be verified before it can be accessed. Library allows to easily decode the payload and verify its signature before returning it as an object for user convenience:
100
+ Webhook events payload needs to be verified before it can be accessed. Verifying webhook payloads is crucial for security reasons, as it ensures that the payloads are indeed from Onfido and have not been tampered with. The library allows you to easily decode the payload and verify its signature before returning it as an object for user convenience:
101
101
 
102
102
  ```python
103
103
  try:
@@ -115,41 +115,43 @@ Webhook events payload needs to be verified before it can be accessed. Library a
115
115
 
116
116
  #### Do not use additional properties
117
117
 
118
- Retain from using `additional_properties` dictionary to access not defined properties to avoid breaking changes when these fields will appear.
118
+ Except for accessing Task object's outputs, avoid using the `additional_properties` dictionary to access undefined properties to prevent breaking changes when these fields appear.
119
119
 
120
120
  ## Contributing
121
121
 
122
- 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.
122
+ This library is automatically generated using [OpenAPI Generator](https://openapi-generator.tech) (version: 7.9.0); therefore, all contributions (except test files) should target the [Onfido OpenAPI specification repository](https://github.com/onfido/onfido-openapi-spec/tree/master) instead of this repository. Please follow the contribution guidelines provided in the OpenAPI specification repository.
123
123
 
124
124
  For contributions to the tests instead, please follow the steps below:
125
125
 
126
- 1. [Fork](https://github.com/onfido/onfido-python/fork) repository
126
+ 1. Fork the [repository](https://github.com/onfido/onfido-python/fork)
127
127
  2. Create your feature branch (`git checkout -b my-new-feature`)
128
128
  3. Make your changes
129
- 4. Commit your changes (`git commit -am 'Add some feature'`)
129
+ 4. Commit your changes (`git commit -am 'Add detailed description of the feature'`)
130
130
  5. Push to the branch (`git push origin my-new-feature`)
131
131
  6. Create a new Pull Request
132
132
 
133
133
  ## Versioning policy
134
134
 
135
- [Semantic Versioning](https://semver.org) policy is used for library versioning, following guidelines and limitations below:
135
+ Versioning helps manage changes and ensures compatibility across different versions of the library.
136
136
 
137
- - MAJOR versions (x.0.0) might:
137
+ [Semantic Versioning](https://semver.org) policy is used for library versioning, following the guidelines and limitations outlined below:
138
+
139
+ - MAJOR versions (x.0.0) may:
138
140
  - target a new API version
139
141
  - include non-backward compatible change
140
- - MINOR versions (0.x.0) might:
142
+ - MINOR versions (0.x.0) may:
141
143
  - add a new functionality, non-mandatory parameter or property
142
144
  - deprecate an old functionality
143
145
  - include non-backward compatible change to a functionality which is:
144
146
  - labelled as alpha or beta
145
147
  - completely broken and not usable
146
- - PATCH version (0.0.x) might:
148
+ - PATCH version (0.0.x) will:
147
149
  - fix a bug
148
150
  - include backward compatible changes only
149
151
 
150
152
  ## More documentation
151
153
 
152
- More documentation and code examples can be found at <https://documentation.onfido.com>.
154
+ Additional documentation and code examples can be found at <https://documentation.onfido.com>.
153
155
 
154
156
  ## Support
155
157
 
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "4.4.0"
17
+ __version__ = "4.6.0"
18
18
 
19
19
  # import apis into sdk package
20
20
  from onfido.api.default_api import DefaultApi
@@ -3847,6 +3847,271 @@ class DefaultApi:
3847
3847
 
3848
3848
 
3849
3849
 
3850
+ @validate_call
3851
+ def download_evidence_folder(
3852
+ self,
3853
+ workflow_run_id: Annotated[StrictStr, Field(description="Workflow Run ID")],
3854
+ _request_timeout: Union[
3855
+ None,
3856
+ Annotated[StrictFloat, Field(gt=0)],
3857
+ Tuple[
3858
+ Annotated[StrictFloat, Field(gt=0)],
3859
+ Annotated[StrictFloat, Field(gt=0)]
3860
+ ]
3861
+ ] = None,
3862
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3863
+ _content_type: Optional[StrictStr] = None,
3864
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3865
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3866
+ ) -> bytearray:
3867
+ """Retrieve Workflow Run Evidence Folder
3868
+
3869
+ Retrieves the evidence folder for the designated Workflow Run
3870
+
3871
+ :param workflow_run_id: Workflow Run ID (required)
3872
+ :type workflow_run_id: str
3873
+ :param _request_timeout: timeout setting for this request. If one
3874
+ number provided, it will be total request
3875
+ timeout. It can also be a pair (tuple) of
3876
+ (connection, read) timeouts.
3877
+ :type _request_timeout: int, tuple(int, int), optional
3878
+ :param _request_auth: set to override the auth_settings for an a single
3879
+ request; this effectively ignores the
3880
+ authentication in the spec for a single request.
3881
+ :type _request_auth: dict, optional
3882
+ :param _content_type: force content-type for the request.
3883
+ :type _content_type: str, Optional
3884
+ :param _headers: set to override the headers for a single
3885
+ request; this effectively ignores the headers
3886
+ in the spec for a single request.
3887
+ :type _headers: dict, optional
3888
+ :param _host_index: set to override the host_index for a single
3889
+ request; this effectively ignores the host_index
3890
+ in the spec for a single request.
3891
+ :type _host_index: int, optional
3892
+ :return: Returns the result object.
3893
+ """ # noqa: E501
3894
+
3895
+ _param = self._download_evidence_folder_serialize(
3896
+ workflow_run_id=workflow_run_id,
3897
+ _request_auth=_request_auth,
3898
+ _content_type=_content_type,
3899
+ _headers=_headers,
3900
+ _host_index=_host_index
3901
+ )
3902
+
3903
+ _response_types_map: Dict[str, Optional[str]] = {
3904
+ '302': None,
3905
+ '200': "bytearray",
3906
+ }
3907
+ response_data = self.api_client.call_api(
3908
+ *_param,
3909
+ _request_timeout=_request_timeout
3910
+ )
3911
+ response_data.read()
3912
+ return self.api_client.response_deserialize(
3913
+ response_data=response_data,
3914
+ response_types_map=_response_types_map,
3915
+ ).data
3916
+
3917
+
3918
+ @validate_call
3919
+ def download_evidence_folder_with_http_info(
3920
+ self,
3921
+ workflow_run_id: Annotated[StrictStr, Field(description="Workflow Run ID")],
3922
+ _request_timeout: Union[
3923
+ None,
3924
+ Annotated[StrictFloat, Field(gt=0)],
3925
+ Tuple[
3926
+ Annotated[StrictFloat, Field(gt=0)],
3927
+ Annotated[StrictFloat, Field(gt=0)]
3928
+ ]
3929
+ ] = None,
3930
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3931
+ _content_type: Optional[StrictStr] = None,
3932
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3933
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3934
+ ) -> ApiResponse[bytearray]:
3935
+ """Retrieve Workflow Run Evidence Folder
3936
+
3937
+ Retrieves the evidence folder for the designated Workflow Run
3938
+
3939
+ :param workflow_run_id: Workflow Run ID (required)
3940
+ :type workflow_run_id: str
3941
+ :param _request_timeout: timeout setting for this request. If one
3942
+ number provided, it will be total request
3943
+ timeout. It can also be a pair (tuple) of
3944
+ (connection, read) timeouts.
3945
+ :type _request_timeout: int, tuple(int, int), optional
3946
+ :param _request_auth: set to override the auth_settings for an a single
3947
+ request; this effectively ignores the
3948
+ authentication in the spec for a single request.
3949
+ :type _request_auth: dict, optional
3950
+ :param _content_type: force content-type for the request.
3951
+ :type _content_type: str, Optional
3952
+ :param _headers: set to override the headers for a single
3953
+ request; this effectively ignores the headers
3954
+ in the spec for a single request.
3955
+ :type _headers: dict, optional
3956
+ :param _host_index: set to override the host_index for a single
3957
+ request; this effectively ignores the host_index
3958
+ in the spec for a single request.
3959
+ :type _host_index: int, optional
3960
+ :return: Returns the result object.
3961
+ """ # noqa: E501
3962
+
3963
+ _param = self._download_evidence_folder_serialize(
3964
+ workflow_run_id=workflow_run_id,
3965
+ _request_auth=_request_auth,
3966
+ _content_type=_content_type,
3967
+ _headers=_headers,
3968
+ _host_index=_host_index
3969
+ )
3970
+
3971
+ _response_types_map: Dict[str, Optional[str]] = {
3972
+ '302': None,
3973
+ '200': "bytearray",
3974
+ }
3975
+ response_data = self.api_client.call_api(
3976
+ *_param,
3977
+ _request_timeout=_request_timeout
3978
+ )
3979
+ response_data.read()
3980
+ return self.api_client.response_deserialize(
3981
+ response_data=response_data,
3982
+ response_types_map=_response_types_map,
3983
+ )
3984
+
3985
+
3986
+ @validate_call
3987
+ def download_evidence_folder_without_preload_content(
3988
+ self,
3989
+ workflow_run_id: Annotated[StrictStr, Field(description="Workflow Run ID")],
3990
+ _request_timeout: Union[
3991
+ None,
3992
+ Annotated[StrictFloat, Field(gt=0)],
3993
+ Tuple[
3994
+ Annotated[StrictFloat, Field(gt=0)],
3995
+ Annotated[StrictFloat, Field(gt=0)]
3996
+ ]
3997
+ ] = None,
3998
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3999
+ _content_type: Optional[StrictStr] = None,
4000
+ _headers: Optional[Dict[StrictStr, Any]] = None,
4001
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4002
+ ) -> RESTResponseType:
4003
+ """Retrieve Workflow Run Evidence Folder
4004
+
4005
+ Retrieves the evidence folder for the designated Workflow Run
4006
+
4007
+ :param workflow_run_id: Workflow Run ID (required)
4008
+ :type workflow_run_id: str
4009
+ :param _request_timeout: timeout setting for this request. If one
4010
+ number provided, it will be total request
4011
+ timeout. It can also be a pair (tuple) of
4012
+ (connection, read) timeouts.
4013
+ :type _request_timeout: int, tuple(int, int), optional
4014
+ :param _request_auth: set to override the auth_settings for an a single
4015
+ request; this effectively ignores the
4016
+ authentication in the spec for a single request.
4017
+ :type _request_auth: dict, optional
4018
+ :param _content_type: force content-type for the request.
4019
+ :type _content_type: str, Optional
4020
+ :param _headers: set to override the headers for a single
4021
+ request; this effectively ignores the headers
4022
+ in the spec for a single request.
4023
+ :type _headers: dict, optional
4024
+ :param _host_index: set to override the host_index for a single
4025
+ request; this effectively ignores the host_index
4026
+ in the spec for a single request.
4027
+ :type _host_index: int, optional
4028
+ :return: Returns the result object.
4029
+ """ # noqa: E501
4030
+
4031
+ _param = self._download_evidence_folder_serialize(
4032
+ workflow_run_id=workflow_run_id,
4033
+ _request_auth=_request_auth,
4034
+ _content_type=_content_type,
4035
+ _headers=_headers,
4036
+ _host_index=_host_index
4037
+ )
4038
+
4039
+ _response_types_map: Dict[str, Optional[str]] = {
4040
+ '302': None,
4041
+ '200': "bytearray",
4042
+ }
4043
+ response_data = self.api_client.call_api(
4044
+ *_param,
4045
+ _request_timeout=_request_timeout
4046
+ )
4047
+ return response_data.response
4048
+
4049
+
4050
+ def _download_evidence_folder_serialize(
4051
+ self,
4052
+ workflow_run_id,
4053
+ _request_auth,
4054
+ _content_type,
4055
+ _headers,
4056
+ _host_index,
4057
+ ) -> RequestSerialized:
4058
+
4059
+ _host = None
4060
+
4061
+ _collection_formats: Dict[str, str] = {
4062
+ }
4063
+
4064
+ _path_params: Dict[str, str] = {}
4065
+ _query_params: List[Tuple[str, str]] = []
4066
+ _header_params: Dict[str, Optional[str]] = _headers or {}
4067
+ _form_params: List[Tuple[str, str]] = []
4068
+ _files: Dict[
4069
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
4070
+ ] = {}
4071
+ _body_params: Optional[bytes] = None
4072
+
4073
+ # process the path parameters
4074
+ if workflow_run_id is not None:
4075
+ _path_params['workflow_run_id'] = workflow_run_id
4076
+ # process the query parameters
4077
+ # process the header parameters
4078
+ # process the form parameters
4079
+ # process the body parameter
4080
+
4081
+
4082
+ # set the HTTP header `Accept`
4083
+ if 'Accept' not in _header_params:
4084
+ _header_params['Accept'] = self.api_client.select_header_accept(
4085
+ [
4086
+ 'application/zip',
4087
+ 'application/json'
4088
+ ]
4089
+ )
4090
+
4091
+
4092
+ # authentication setting
4093
+ _auth_settings: List[str] = [
4094
+ 'Token'
4095
+ ]
4096
+
4097
+ return self.api_client.param_serialize(
4098
+ method='GET',
4099
+ resource_path='/workflow_runs/{workflow_run_id}/evidence_folder',
4100
+ path_params=_path_params,
4101
+ query_params=_query_params,
4102
+ header_params=_header_params,
4103
+ body=_body_params,
4104
+ post_params=_form_params,
4105
+ files=_files,
4106
+ auth_settings=_auth_settings,
4107
+ collection_formats=_collection_formats,
4108
+ _host=_host,
4109
+ _request_auth=_request_auth
4110
+ )
4111
+
4112
+
4113
+
4114
+
3850
4115
  @validate_call
3851
4116
  def download_id_photo(
3852
4117
  self,
@@ -90,7 +90,7 @@ class ApiClient:
90
90
  self.default_headers[header_name] = header_value
91
91
  self.cookie = cookie
92
92
  # Set default User-Agent.
93
- self.user_agent = 'onfido-python/4.4.0'
93
+ self.user_agent = 'onfido-python/4.6.0'
94
94
  self.client_side_validation = configuration.client_side_validation
95
95
 
96
96
  def __enter__(self):
@@ -394,7 +394,7 @@ conf = onfido.Configuration(
394
394
  "OS: {env}\n"\
395
395
  "Python Version: {pyversion}\n"\
396
396
  "Version of the API: v3.6\n"\
397
- "SDK Package Version: 4.4.0".\
397
+ "SDK Package Version: 4.6.0".\
398
398
  format(env=sys.platform, pyversion=sys.version)
399
399
 
400
400
  def get_host_settings(self):
@@ -38,8 +38,8 @@ class IdNumber(BaseModel):
38
38
  if value is None:
39
39
  return value
40
40
 
41
- if value not in set(['ssn', 'social_insurance', 'tax_id', 'identity_card', 'driving_licence', 'share_code', 'voter_id', 'passport', 'other']):
42
- raise ValueError("must be one of enum values ('ssn', 'social_insurance', 'tax_id', 'identity_card', 'driving_licence', 'share_code', 'voter_id', 'passport', 'other')")
41
+ if value not in set(['ssn', 'social_insurance', 'tax_id', 'identity_card', 'driving_license', 'driving_licence', 'share_code', 'voter_id', 'passport', 'other']):
42
+ raise ValueError("must be one of enum values ('ssn', 'social_insurance', 'tax_id', 'identity_card', 'driving_license', 'driving_licence', 'share_code', 'voter_id', 'passport', 'other')")
43
43
  return value
44
44
 
45
45
  model_config = ConfigDict(
@@ -45,8 +45,9 @@ class WebhookEventPayloadResource(BaseModel):
45
45
  reasons: Optional[List[StrictStr]] = Field(default=None, description="The reasons the Workflow Run outcome was reached. Configurable when creating the Workflow Version.")
46
46
  link: Optional[WorkflowRunLink] = Field(default=None, description="Object for the configuration of the Workflow Run link.")
47
47
  error: Optional[WorkflowRunError] = Field(default=None, description="Error object that details why a Workflow Run is in Error status.")
48
+ customer_user_id: Optional[Annotated[str, Field(strict=True, max_length=256)]] = Field(default=None, description="Customer-provided user identifier.")
48
49
  additional_properties: Dict[str, Any] = {}
49
- __properties: ClassVar[List[str]] = ["id", "applicant_id", "created_at", "updated_at", "dashboard_url", "workflow_id", "workflow_run_id", "workflow_version_id", "task_def_id", "task_def_version", "input", "output", "reasons", "link", "error"]
50
+ __properties: ClassVar[List[str]] = ["id", "applicant_id", "created_at", "updated_at", "dashboard_url", "workflow_id", "workflow_run_id", "workflow_version_id", "task_def_id", "task_def_version", "input", "output", "reasons", "link", "error", "customer_user_id"]
50
51
 
51
52
  @field_validator('task_def_id')
52
53
  def task_def_id_validate_regular_expression(cls, value):
@@ -146,7 +147,8 @@ class WebhookEventPayloadResource(BaseModel):
146
147
  "output": obj.get("output"),
147
148
  "reasons": obj.get("reasons"),
148
149
  "link": WorkflowRunLink.from_dict(obj["link"]) if obj.get("link") is not None else None,
149
- "error": WorkflowRunError.from_dict(obj["error"]) if obj.get("error") is not None else None
150
+ "error": WorkflowRunError.from_dict(obj["error"]) if obj.get("error") is not None else None,
151
+ "customer_user_id": obj.get("customer_user_id")
150
152
  })
151
153
  # store additional fields in additional_properties
152
154
  for _key in obj.keys():
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: onfido-python
3
- Version: 4.4.0
3
+ Version: 4.6.0
4
4
  Summary: Python library for the Onfido API
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -13,6 +13,14 @@ Requires-Dist: urllib3<3.0.0,>=1.25.3
13
13
  Requires-Dist: python-dateutil>=2.8.2
14
14
  Requires-Dist: pydantic>=2
15
15
  Requires-Dist: typing-extensions>=4.7.1
16
+ Dynamic: author
17
+ Dynamic: author-email
18
+ Dynamic: description
19
+ Dynamic: description-content-type
20
+ Dynamic: keywords
21
+ Dynamic: license
22
+ Dynamic: requires-dist
23
+ Dynamic: summary
16
24
 
17
25
  The Onfido API (v3.6)
18
26
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "onfido-python"
3
- version = "4.4.0"
3
+ version = "4.6.0"
4
4
  description = "Python library for the Onfido API"
5
5
  authors = ["OpenAPI Generator Community <team@openapitools.org>"]
6
6
  license = "MIT"
@@ -8,6 +8,7 @@ readme = "README.md"
8
8
  repository = "https://github.com/onfido/onfido-python"
9
9
  keywords = ["OpenAPI", "OpenAPI-Generator", "onfido", "identity"]
10
10
  include = ["onfido/py.typed"]
11
+ package-mode = false
11
12
 
12
13
  [tool.poetry.urls]
13
14
  "Onfido API documentation" = "https://documentation.onfido.com"
@@ -21,7 +21,7 @@ from setuptools import setup, find_packages # noqa: H301
21
21
  # prerequisite: setuptools
22
22
  # http://pypi.python.org/pypi/setuptools
23
23
  NAME = "onfido-python"
24
- VERSION = "4.4.0"
24
+ VERSION = "4.6.0"
25
25
  PYTHON_REQUIRES = ">= 3.8"
26
26
  REQUIRES = [
27
27
  "urllib3 >= 1.25.3, < 3.0.0",
@@ -1,7 +1,12 @@
1
1
  import pytest
2
2
 
3
3
  from onfido import Report, ReportName, ReportStatus
4
- from tests.conftest import create_applicant, create_check, upload_document
4
+ from tests.conftest import (
5
+ create_applicant,
6
+ create_check,
7
+ upload_document,
8
+ repeat_request_until_status_changes,
9
+ )
5
10
  from typing import List
6
11
 
7
12
 
@@ -51,13 +56,17 @@ def test_list_reports(sorted_reports):
51
56
 
52
57
 
53
58
  def test_find_report(onfido_api, document_report_id, identity_report_id):
54
- get_document_report = onfido_api.find_report(document_report_id)
59
+ get_document_report = Report(
60
+ repeat_request_until_status_changes(
61
+ onfido_api.find_report, [document_report_id], ReportStatus.COMPLETE
62
+ )
63
+ )
55
64
  get_identity_report = onfido_api.find_report(identity_report_id)
56
65
 
57
66
  assert isinstance(get_document_report, Report)
58
67
  assert get_document_report.actual_instance.id == document_report_id
59
68
  assert get_document_report.actual_instance.name == ReportName.DOCUMENT
60
- assert get_document_report.actual_instance.status == ReportStatus.AWAITING_DATA
69
+ assert get_document_report.actual_instance.status == ReportStatus.COMPLETE
61
70
 
62
71
  assert isinstance(get_identity_report, Report)
63
72
  assert get_identity_report.actual_instance.id == identity_report_id
@@ -1,6 +1,13 @@
1
+ import tempfile
2
+ import zipfile
1
3
  import pytest
2
4
 
3
- from onfido import TimelineFileReference, WorkflowRun, WorkflowRunBuilder, WorkflowRunStatus
5
+ from onfido import (
6
+ TimelineFileReference,
7
+ WorkflowRun,
8
+ WorkflowRunBuilder,
9
+ WorkflowRunStatus,
10
+ )
4
11
  from tests.conftest import (
5
12
  create_applicant,
6
13
  create_workflow_run,
@@ -70,6 +77,25 @@ def test_download_evidence_file(onfido_api, workflow_run):
70
77
  assert file[:4] == b"%PDF"
71
78
 
72
79
 
80
+ def test_download_evidence_folder(onfido_api, applicant_id):
81
+ workflow_id = "221f9d24-cf72-4762-ac4a-01bf3ccc09dd"
82
+ workflow_run_id = create_workflow_run(
83
+ onfido_api, applicant_id=applicant_id, workflow_id=workflow_id
84
+ ).id
85
+ repeat_request_until_status_changes(
86
+ onfido_api.find_workflow_run, [workflow_run_id], WorkflowRunStatus.APPROVED
87
+ )
88
+
89
+ file = repeat_request_until_http_code_changes(
90
+ onfido_api.download_evidence_folder, [workflow_run_id]
91
+ )
92
+
93
+ assert len(file) > 0
94
+ with tempfile.NamedTemporaryFile() as tmp_file:
95
+ tmp_file.write(file)
96
+ assert zipfile.is_zipfile(tmp_file.name)
97
+
98
+
73
99
  def test_generate_timeline_file(onfido_api, applicant_id):
74
100
  workflow_id = "221f9d24-cf72-4762-ac4a-01bf3ccc09dd"
75
101
  workflow_run_id = create_workflow_run(
File without changes