onfido-python 5.0.0__tar.gz → 5.1.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 (335) hide show
  1. {onfido_python-5.0.0/onfido_python.egg-info → onfido_python-5.1.0}/PKG-INFO +3 -2
  2. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/__init__.py +6 -4
  3. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/api/default_api.py +262 -0
  4. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/api_client.py +1 -1
  5. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/configuration.py +1 -1
  6. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/__init__.py +5 -3
  7. onfido_python-5.1.0/onfido/models/applicant_consent.py +111 -0
  8. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/device_intelligence_breakdown.py +7 -1
  9. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/device_intelligence_breakdown_breakdown.py +3 -3
  10. onfido_python-5.0.0/onfido/models/device_intelligence_breakdown_breakdown_device.py → onfido_python-5.1.0/onfido/models/device_intelligence_breakdown_device.py +6 -6
  11. onfido_python-5.0.0/onfido/models/device_intelligence_breakdown_breakdown_device_breakdown.py → onfido_python-5.1.0/onfido/models/device_intelligence_breakdown_device_breakdown.py +4 -4
  12. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/device_intelligence_breakdown_properties_device.py +3 -3
  13. onfido_python-5.1.0/onfido/models/device_intelligence_properties.py +116 -0
  14. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/device_intelligence_report.py +8 -2
  15. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_properties.py +9 -5
  16. onfido_python-5.0.0/onfido/models/document_properties_driving_licence_information.py → onfido_python-5.1.0/onfido/models/document_properties_driving_licence_information_item.py +4 -4
  17. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_with_driver_verification_report_all_of_properties.py +9 -5
  18. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhook.py +11 -1
  19. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhook_builder.py +11 -1
  20. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhook_shared.py +12 -2
  21. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhook_updater.py +11 -1
  22. {onfido_python-5.0.0 → onfido_python-5.1.0/onfido_python.egg-info}/PKG-INFO +3 -2
  23. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido_python.egg-info/SOURCES.txt +5 -3
  24. {onfido_python-5.0.0 → onfido_python-5.1.0}/pyproject.toml +1 -1
  25. {onfido_python-5.0.0 → onfido_python-5.1.0}/setup.py +1 -1
  26. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_applicants.py +30 -0
  27. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_report_schemas.py +55 -2
  28. {onfido_python-5.0.0 → onfido_python-5.1.0}/LICENSE +0 -0
  29. {onfido_python-5.0.0 → onfido_python-5.1.0}/README.md +0 -0
  30. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/api/__init__.py +0 -0
  31. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/api_response.py +0 -0
  32. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/exceptions.py +0 -0
  33. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/address.py +0 -0
  34. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/address_builder.py +0 -0
  35. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/address_shared.py +0 -0
  36. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/addresses_list.py +0 -0
  37. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/applicant.py +0 -0
  38. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/applicant_builder.py +0 -0
  39. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/applicant_consent_builder.py +0 -0
  40. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/applicant_consent_name.py +0 -0
  41. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/applicant_create.py +0 -0
  42. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/applicant_request.py +0 -0
  43. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/applicant_response.py +0 -0
  44. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/applicant_shared.py +0 -0
  45. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/applicant_update.py +0 -0
  46. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/applicant_updater.py +0 -0
  47. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/applicants_list.py +0 -0
  48. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/check.py +0 -0
  49. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/check_builder.py +0 -0
  50. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/check_request.py +0 -0
  51. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/check_response.py +0 -0
  52. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/check_shared.py +0 -0
  53. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/check_status.py +0 -0
  54. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/checks_list.py +0 -0
  55. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/complete_task_builder.py +0 -0
  56. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/complete_task_data_builder.py +0 -0
  57. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/country_codes.py +0 -0
  58. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/device_intelligence_breakdown_properties.py +0 -0
  59. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/device_intelligence_breakdown_properties_geolocation.py +0 -0
  60. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/device_intelligence_breakdown_properties_ip.py +0 -0
  61. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document.py +0 -0
  62. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown.py +0 -0
  63. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_age_validation.py +0 -0
  64. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_age_validation_breakdown.py +0 -0
  65. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_compromised_document.py +0 -0
  66. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_compromised_document_breakdown.py +0 -0
  67. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_data_comparison.py +0 -0
  68. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_data_comparison_breakdown.py +0 -0
  69. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_data_comparison_breakdown_issuing_country.py +0 -0
  70. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_data_consistency.py +0 -0
  71. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_data_consistency_breakdown.py +0 -0
  72. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_data_validation.py +0 -0
  73. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_data_validation_breakdown.py +0 -0
  74. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_data_validation_breakdown_document_expiration.py +0 -0
  75. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_data_validation_breakdown_expiry_date.py +0 -0
  76. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_image_integrity.py +0 -0
  77. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_image_integrity_breakdown.py +0 -0
  78. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_image_integrity_breakdown_colour_picture.py +0 -0
  79. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_image_integrity_breakdown_conclusive_document_quality.py +0 -0
  80. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_image_integrity_breakdown_image_quality.py +0 -0
  81. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_image_integrity_breakdown_supported_document.py +0 -0
  82. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_issuing_authority.py +0 -0
  83. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_issuing_authority_breakdown.py +0 -0
  84. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_active_authentication.py +0 -0
  85. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_passive_authentication.py +0 -0
  86. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_police_record.py +0 -0
  87. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_visual_authenticity.py +0 -0
  88. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_visual_authenticity_breakdown.py +0 -0
  89. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_digital_tampering.py +0 -0
  90. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_face_detection.py +0 -0
  91. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_fonts.py +0 -0
  92. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_original_document_present.py +0 -0
  93. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_other.py +0 -0
  94. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_picture_face_integrity.py +0 -0
  95. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_security_features.py +0 -0
  96. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_template.py +0 -0
  97. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_cdq_reasons.py +0 -0
  98. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_iq_reasons.py +0 -0
  99. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_odp_reasons.py +0 -0
  100. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_properties_address_lines.py +0 -0
  101. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_properties_barcode_inner.py +0 -0
  102. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_properties_document_classification.py +0 -0
  103. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_properties_document_numbers_inner.py +0 -0
  104. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_properties_extracted_data.py +0 -0
  105. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_properties_nfc.py +0 -0
  106. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_report.py +0 -0
  107. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_report_shared.py +0 -0
  108. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_response.py +0 -0
  109. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_shared.py +0 -0
  110. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_types.py +0 -0
  111. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_video_report.py +0 -0
  112. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_video_with_address_information_report.py +0 -0
  113. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_with_address_information_report.py +0 -0
  114. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_with_driver_verification_report.py +0 -0
  115. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle.py +0 -0
  116. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner.py +0 -0
  117. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/document_with_driving_licence_information_report.py +0 -0
  118. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/documents_list.py +0 -0
  119. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/error.py +0 -0
  120. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/error1.py +0 -0
  121. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/error_properties.py +0 -0
  122. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/error_properties1.py +0 -0
  123. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/extract_request.py +0 -0
  124. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/extraction.py +0 -0
  125. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/extraction_document_classification.py +0 -0
  126. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/extraction_extracted_data.py +0 -0
  127. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_motion_breakdown.py +0 -0
  128. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_motion_breakdown_face_comparison.py +0 -0
  129. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity.py +0 -0
  130. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown.py +0 -0
  131. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_face_detected.py +0 -0
  132. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
  133. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity.py +0 -0
  134. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown.py +0 -0
  135. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
  136. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_motion_properties.py +0 -0
  137. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_motion_report.py +0 -0
  138. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_breakdown.py +0 -0
  139. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison.py +0 -0
  140. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown.py +0 -0
  141. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match.py +0 -0
  142. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match_properties.py +0 -0
  143. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity.py +0 -0
  144. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown.py +0 -0
  145. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_face_detected.py +0 -0
  146. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
  147. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity.py +0 -0
  148. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown.py +0 -0
  149. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
  150. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection_properties.py +0 -0
  151. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown.py +0 -0
  152. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity.py +0 -0
  153. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown.py +0 -0
  154. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
  155. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_fully_auto_properties.py +0 -0
  156. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_fully_auto_report.py +0 -0
  157. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_properties.py +0 -0
  158. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_photo_report.py +0 -0
  159. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_report_media.py +0 -0
  160. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_report_shared.py +0 -0
  161. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_video_breakdown.py +0 -0
  162. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_video_breakdown_face_comparison.py +0 -0
  163. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_video_breakdown_image_integrity.py +0 -0
  164. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown.py +0 -0
  165. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_face_detected.py +0 -0
  166. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
  167. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity.py +0 -0
  168. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown.py +0 -0
  169. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected.py +0 -0
  170. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
  171. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_video_properties.py +0 -0
  172. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/facial_similarity_video_report.py +0 -0
  173. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/id_number.py +0 -0
  174. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/id_photo.py +0 -0
  175. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/id_photo_response.py +0 -0
  176. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/id_photos_list.py +0 -0
  177. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown.py +0 -0
  178. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown_address.py +0 -0
  179. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown_address_breakdown.py +0 -0
  180. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies.py +0 -0
  181. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies_properties.py +0 -0
  182. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_telephone_database.py +0 -0
  183. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_voting_register.py +0 -0
  184. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown_date_of_birth.py +0 -0
  185. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown.py +0 -0
  186. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_credit_agencies.py +0 -0
  187. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_voting_register.py +0 -0
  188. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown_mortality.py +0 -0
  189. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown_sources.py +0 -0
  190. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown.py +0 -0
  191. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources.py +0 -0
  192. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources_properties.py +0 -0
  193. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_properties.py +0 -0
  194. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_properties_matched_addresses_inner.py +0 -0
  195. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/identity_enhanced_report.py +0 -0
  196. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/india_pan_report.py +0 -0
  197. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/india_pan_report_all_of_breakdown.py +0 -0
  198. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/india_pan_report_all_of_breakdown_device.py +0 -0
  199. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown.py +0 -0
  200. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown_pan_valid.py +0 -0
  201. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/india_pan_report_all_of_properties.py +0 -0
  202. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/india_pan_report_all_of_properties_device.py +0 -0
  203. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/known_faces_breakdown.py +0 -0
  204. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/known_faces_breakdown_image_integrity.py +0 -0
  205. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/known_faces_breakdown_previously_seen_faces.py +0 -0
  206. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/known_faces_properties.py +0 -0
  207. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/known_faces_properties_matches_inner.py +0 -0
  208. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/known_faces_report.py +0 -0
  209. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/live_photo.py +0 -0
  210. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/live_photo_response.py +0 -0
  211. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/live_photos_list.py +0 -0
  212. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/live_video.py +0 -0
  213. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/live_videos_list.py +0 -0
  214. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/location.py +0 -0
  215. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/location_builder.py +0 -0
  216. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/location_shared.py +0 -0
  217. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/motion_capture.py +0 -0
  218. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/motion_captures_list.py +0 -0
  219. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/photo_auto_reasons.py +0 -0
  220. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/photo_reasons.py +0 -0
  221. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/proof_of_address_breakdown.py +0 -0
  222. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/proof_of_address_breakdown_data_comparison.py +0 -0
  223. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/proof_of_address_breakdown_data_comparison_breakdown.py +0 -0
  224. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/proof_of_address_breakdown_document_classification.py +0 -0
  225. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/proof_of_address_breakdown_document_classification_breakdown.py +0 -0
  226. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/proof_of_address_breakdown_image_integrity.py +0 -0
  227. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/proof_of_address_breakdown_image_integrity_breakdown.py +0 -0
  228. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/proof_of_address_properties.py +0 -0
  229. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/proof_of_address_report.py +0 -0
  230. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/repeat_attempts_list.py +0 -0
  231. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/repeat_attempts_list_repeat_attempts_inner.py +0 -0
  232. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/report.py +0 -0
  233. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/report_document.py +0 -0
  234. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/report_name.py +0 -0
  235. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/report_result.py +0 -0
  236. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/report_shared.py +0 -0
  237. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/report_status.py +0 -0
  238. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/report_sub_result.py +0 -0
  239. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/reports_list.py +0 -0
  240. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/results_feedback.py +0 -0
  241. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/sdk_token.py +0 -0
  242. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/sdk_token_builder.py +0 -0
  243. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/sdk_token_request.py +0 -0
  244. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/sdk_token_response.py +0 -0
  245. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/task.py +0 -0
  246. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/task_item.py +0 -0
  247. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/timeline_file_reference.py +0 -0
  248. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/us_driving_licence_breakdown.py +0 -0
  249. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/us_driving_licence_breakdown_address.py +0 -0
  250. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/us_driving_licence_breakdown_address_breakdown.py +0 -0
  251. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/us_driving_licence_breakdown_document.py +0 -0
  252. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/us_driving_licence_breakdown_document_breakdown.py +0 -0
  253. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/us_driving_licence_breakdown_personal.py +0 -0
  254. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/us_driving_licence_breakdown_personal_breakdown.py +0 -0
  255. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/us_driving_licence_builder.py +0 -0
  256. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/us_driving_licence_report.py +0 -0
  257. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/us_driving_licence_shared.py +0 -0
  258. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/video_reasons.py +0 -0
  259. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_aml_breakdown.py +0 -0
  260. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_aml_breakdown_adverse_media.py +0 -0
  261. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_aml_breakdown_legal_and_regulatory_warnings.py +0 -0
  262. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_aml_breakdown_politically_exposed_person.py +0 -0
  263. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_aml_breakdown_sanction.py +0 -0
  264. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_aml_properties.py +0 -0
  265. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_aml_report.py +0 -0
  266. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_enhanced_breakdown.py +0 -0
  267. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_enhanced_properties.py +0 -0
  268. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_enhanced_properties_records_inner.py +0 -0
  269. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_enhanced_properties_records_inner_address_inner.py +0 -0
  270. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_enhanced_properties_records_inner_alias_inner.py +0 -0
  271. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_enhanced_properties_records_inner_associate_inner.py +0 -0
  272. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_enhanced_properties_records_inner_attribute_inner.py +0 -0
  273. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_enhanced_properties_records_inner_event_inner.py +0 -0
  274. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_enhanced_properties_records_inner_event_inner_source.py +0 -0
  275. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_enhanced_properties_records_inner_source_inner.py +0 -0
  276. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_enhanced_report.py +0 -0
  277. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_monitor.py +0 -0
  278. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_monitor_builder.py +0 -0
  279. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_monitor_match.py +0 -0
  280. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_monitor_matches_list.py +0 -0
  281. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_monitor_matches_updater.py +0 -0
  282. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_monitor_response.py +0 -0
  283. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_monitor_shared.py +0 -0
  284. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_monitors_list.py +0 -0
  285. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_peps_only_report.py +0 -0
  286. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_sanctions_only_report.py +0 -0
  287. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_standard_breakdown.py +0 -0
  288. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_standard_properties.py +0 -0
  289. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/watchlist_standard_report.py +0 -0
  290. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhook_create.py +0 -0
  291. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhook_event.py +0 -0
  292. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhook_event_object_status.py +0 -0
  293. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhook_event_payload.py +0 -0
  294. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhook_event_payload_object.py +0 -0
  295. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhook_event_payload_resource.py +0 -0
  296. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhook_event_resource_type.py +0 -0
  297. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhook_event_type.py +0 -0
  298. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhook_resend.py +0 -0
  299. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhook_response.py +0 -0
  300. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhook_update.py +0 -0
  301. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhooks_list.py +0 -0
  302. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/webhooks_resend_item.py +0 -0
  303. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/workflow_run.py +0 -0
  304. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/workflow_run_builder.py +0 -0
  305. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/workflow_run_error.py +0 -0
  306. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/workflow_run_link.py +0 -0
  307. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/workflow_run_request.py +0 -0
  308. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/workflow_run_response.py +0 -0
  309. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/workflow_run_shared.py +0 -0
  310. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/models/workflow_run_status.py +0 -0
  311. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/py.typed +0 -0
  312. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/rest.py +0 -0
  313. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido/webhook_event_verifier.py +0 -0
  314. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido_python.egg-info/dependency_links.txt +0 -0
  315. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido_python.egg-info/requires.txt +0 -0
  316. {onfido_python-5.0.0 → onfido_python-5.1.0}/onfido_python.egg-info/top_level.txt +0 -0
  317. {onfido_python-5.0.0 → onfido_python-5.1.0}/setup.cfg +0 -0
  318. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_address_picker.py +0 -0
  319. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_checks.py +0 -0
  320. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_classic_webhook_event_verification.py +0 -0
  321. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_documents.py +0 -0
  322. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_extraction.py +0 -0
  323. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_id_photos.py +0 -0
  324. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_live_photos.py +0 -0
  325. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_live_video.py +0 -0
  326. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_motion_capture.py +0 -0
  327. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_qualified_electronic_signatures.py +0 -0
  328. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_reports.py +0 -0
  329. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_sdk_token.py +0 -0
  330. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_studio_webhook_event_verification.py +0 -0
  331. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_tasks.py +0 -0
  332. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_watchlist_monitor.py +0 -0
  333. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_webhooks.py +0 -0
  334. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_workflow_run_outputs.py +0 -0
  335. {onfido_python-5.0.0 → onfido_python-5.1.0}/tests/test_workflow_runs.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: onfido-python
3
- Version: 5.0.0
3
+ Version: 5.1.0
4
4
  Summary: Python library for the Onfido API
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -19,6 +19,7 @@ Dynamic: description
19
19
  Dynamic: description-content-type
20
20
  Dynamic: keywords
21
21
  Dynamic: license
22
+ Dynamic: license-file
22
23
  Dynamic: requires-dist
23
24
  Dynamic: summary
24
25
 
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "5.0.0"
17
+ __version__ = "5.1.0"
18
18
 
19
19
  # import apis into sdk package
20
20
  from onfido.api.default_api import DefaultApi
@@ -37,6 +37,7 @@ from onfido.models.address_shared import AddressShared
37
37
  from onfido.models.addresses_list import AddressesList
38
38
  from onfido.models.applicant import Applicant
39
39
  from onfido.models.applicant_builder import ApplicantBuilder
40
+ from onfido.models.applicant_consent import ApplicantConsent
40
41
  from onfido.models.applicant_consent_builder import ApplicantConsentBuilder
41
42
  from onfido.models.applicant_consent_name import ApplicantConsentName
42
43
  from onfido.models.applicant_create import ApplicantCreate
@@ -58,12 +59,13 @@ from onfido.models.complete_task_data_builder import CompleteTaskDataBuilder
58
59
  from onfido.models.country_codes import CountryCodes
59
60
  from onfido.models.device_intelligence_breakdown import DeviceIntelligenceBreakdown
60
61
  from onfido.models.device_intelligence_breakdown_breakdown import DeviceIntelligenceBreakdownBreakdown
61
- from onfido.models.device_intelligence_breakdown_breakdown_device import DeviceIntelligenceBreakdownBreakdownDevice
62
- from onfido.models.device_intelligence_breakdown_breakdown_device_breakdown import DeviceIntelligenceBreakdownBreakdownDeviceBreakdown
62
+ from onfido.models.device_intelligence_breakdown_device import DeviceIntelligenceBreakdownDevice
63
+ from onfido.models.device_intelligence_breakdown_device_breakdown import DeviceIntelligenceBreakdownDeviceBreakdown
63
64
  from onfido.models.device_intelligence_breakdown_properties import DeviceIntelligenceBreakdownProperties
64
65
  from onfido.models.device_intelligence_breakdown_properties_device import DeviceIntelligenceBreakdownPropertiesDevice
65
66
  from onfido.models.device_intelligence_breakdown_properties_geolocation import DeviceIntelligenceBreakdownPropertiesGeolocation
66
67
  from onfido.models.device_intelligence_breakdown_properties_ip import DeviceIntelligenceBreakdownPropertiesIp
68
+ from onfido.models.device_intelligence_properties import DeviceIntelligenceProperties
67
69
  from onfido.models.device_intelligence_report import DeviceIntelligenceReport
68
70
  from onfido.models.document import Document
69
71
  from onfido.models.document_breakdown import DocumentBreakdown
@@ -109,7 +111,7 @@ from onfido.models.document_properties_address_lines import DocumentPropertiesAd
109
111
  from onfido.models.document_properties_barcode_inner import DocumentPropertiesBarcodeInner
110
112
  from onfido.models.document_properties_document_classification import DocumentPropertiesDocumentClassification
111
113
  from onfido.models.document_properties_document_numbers_inner import DocumentPropertiesDocumentNumbersInner
112
- from onfido.models.document_properties_driving_licence_information import DocumentPropertiesDrivingLicenceInformation
114
+ from onfido.models.document_properties_driving_licence_information_item import DocumentPropertiesDrivingLicenceInformationItem
113
115
  from onfido.models.document_properties_extracted_data import DocumentPropertiesExtractedData
114
116
  from onfido.models.document_properties_nfc import DocumentPropertiesNfc
115
117
  from onfido.models.document_report import DocumentReport
@@ -23,6 +23,7 @@ from typing_extensions import Annotated
23
23
  from onfido.models.addresses_list import AddressesList
24
24
  from onfido.models.applicant import Applicant
25
25
  from onfido.models.applicant_builder import ApplicantBuilder
26
+ from onfido.models.applicant_consent import ApplicantConsent
26
27
  from onfido.models.applicant_updater import ApplicantUpdater
27
28
  from onfido.models.applicants_list import ApplicantsList
28
29
  from onfido.models.check import Check
@@ -7293,6 +7294,267 @@ class DefaultApi:
7293
7294
 
7294
7295
 
7295
7296
 
7297
+ @validate_call
7298
+ def find_applicant_consents(
7299
+ self,
7300
+ applicant_id: StrictStr,
7301
+ _request_timeout: Union[
7302
+ None,
7303
+ Annotated[StrictFloat, Field(gt=0)],
7304
+ Tuple[
7305
+ Annotated[StrictFloat, Field(gt=0)],
7306
+ Annotated[StrictFloat, Field(gt=0)]
7307
+ ]
7308
+ ] = None,
7309
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
7310
+ _content_type: Optional[StrictStr] = None,
7311
+ _headers: Optional[Dict[StrictStr, Any]] = None,
7312
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
7313
+ ) -> List[ApplicantConsent]:
7314
+ """Retrieve Applicant Consents
7315
+
7316
+ Retrieves consents for single applicant.
7317
+
7318
+ :param applicant_id: (required)
7319
+ :type applicant_id: str
7320
+ :param _request_timeout: timeout setting for this request. If one
7321
+ number provided, it will be total request
7322
+ timeout. It can also be a pair (tuple) of
7323
+ (connection, read) timeouts.
7324
+ :type _request_timeout: int, tuple(int, int), optional
7325
+ :param _request_auth: set to override the auth_settings for an a single
7326
+ request; this effectively ignores the
7327
+ authentication in the spec for a single request.
7328
+ :type _request_auth: dict, optional
7329
+ :param _content_type: force content-type for the request.
7330
+ :type _content_type: str, Optional
7331
+ :param _headers: set to override the headers for a single
7332
+ request; this effectively ignores the headers
7333
+ in the spec for a single request.
7334
+ :type _headers: dict, optional
7335
+ :param _host_index: set to override the host_index for a single
7336
+ request; this effectively ignores the host_index
7337
+ in the spec for a single request.
7338
+ :type _host_index: int, optional
7339
+ :return: Returns the result object.
7340
+ """ # noqa: E501
7341
+
7342
+ _param = self._find_applicant_consents_serialize(
7343
+ applicant_id=applicant_id,
7344
+ _request_auth=_request_auth,
7345
+ _content_type=_content_type,
7346
+ _headers=_headers,
7347
+ _host_index=_host_index
7348
+ )
7349
+
7350
+ _response_types_map: Dict[str, Optional[str]] = {
7351
+ '200': "List[ApplicantConsent]",
7352
+ }
7353
+ response_data = self.api_client.call_api(
7354
+ *_param,
7355
+ _request_timeout=_request_timeout
7356
+ )
7357
+ response_data.read()
7358
+ return self.api_client.response_deserialize(
7359
+ response_data=response_data,
7360
+ response_types_map=_response_types_map,
7361
+ ).data
7362
+
7363
+
7364
+ @validate_call
7365
+ def find_applicant_consents_with_http_info(
7366
+ self,
7367
+ applicant_id: StrictStr,
7368
+ _request_timeout: Union[
7369
+ None,
7370
+ Annotated[StrictFloat, Field(gt=0)],
7371
+ Tuple[
7372
+ Annotated[StrictFloat, Field(gt=0)],
7373
+ Annotated[StrictFloat, Field(gt=0)]
7374
+ ]
7375
+ ] = None,
7376
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
7377
+ _content_type: Optional[StrictStr] = None,
7378
+ _headers: Optional[Dict[StrictStr, Any]] = None,
7379
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
7380
+ ) -> ApiResponse[List[ApplicantConsent]]:
7381
+ """Retrieve Applicant Consents
7382
+
7383
+ Retrieves consents for single applicant.
7384
+
7385
+ :param applicant_id: (required)
7386
+ :type applicant_id: str
7387
+ :param _request_timeout: timeout setting for this request. If one
7388
+ number provided, it will be total request
7389
+ timeout. It can also be a pair (tuple) of
7390
+ (connection, read) timeouts.
7391
+ :type _request_timeout: int, tuple(int, int), optional
7392
+ :param _request_auth: set to override the auth_settings for an a single
7393
+ request; this effectively ignores the
7394
+ authentication in the spec for a single request.
7395
+ :type _request_auth: dict, optional
7396
+ :param _content_type: force content-type for the request.
7397
+ :type _content_type: str, Optional
7398
+ :param _headers: set to override the headers for a single
7399
+ request; this effectively ignores the headers
7400
+ in the spec for a single request.
7401
+ :type _headers: dict, optional
7402
+ :param _host_index: set to override the host_index for a single
7403
+ request; this effectively ignores the host_index
7404
+ in the spec for a single request.
7405
+ :type _host_index: int, optional
7406
+ :return: Returns the result object.
7407
+ """ # noqa: E501
7408
+
7409
+ _param = self._find_applicant_consents_serialize(
7410
+ applicant_id=applicant_id,
7411
+ _request_auth=_request_auth,
7412
+ _content_type=_content_type,
7413
+ _headers=_headers,
7414
+ _host_index=_host_index
7415
+ )
7416
+
7417
+ _response_types_map: Dict[str, Optional[str]] = {
7418
+ '200': "List[ApplicantConsent]",
7419
+ }
7420
+ response_data = self.api_client.call_api(
7421
+ *_param,
7422
+ _request_timeout=_request_timeout
7423
+ )
7424
+ response_data.read()
7425
+ return self.api_client.response_deserialize(
7426
+ response_data=response_data,
7427
+ response_types_map=_response_types_map,
7428
+ )
7429
+
7430
+
7431
+ @validate_call
7432
+ def find_applicant_consents_without_preload_content(
7433
+ self,
7434
+ applicant_id: StrictStr,
7435
+ _request_timeout: Union[
7436
+ None,
7437
+ Annotated[StrictFloat, Field(gt=0)],
7438
+ Tuple[
7439
+ Annotated[StrictFloat, Field(gt=0)],
7440
+ Annotated[StrictFloat, Field(gt=0)]
7441
+ ]
7442
+ ] = None,
7443
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
7444
+ _content_type: Optional[StrictStr] = None,
7445
+ _headers: Optional[Dict[StrictStr, Any]] = None,
7446
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
7447
+ ) -> RESTResponseType:
7448
+ """Retrieve Applicant Consents
7449
+
7450
+ Retrieves consents for single applicant.
7451
+
7452
+ :param applicant_id: (required)
7453
+ :type applicant_id: str
7454
+ :param _request_timeout: timeout setting for this request. If one
7455
+ number provided, it will be total request
7456
+ timeout. It can also be a pair (tuple) of
7457
+ (connection, read) timeouts.
7458
+ :type _request_timeout: int, tuple(int, int), optional
7459
+ :param _request_auth: set to override the auth_settings for an a single
7460
+ request; this effectively ignores the
7461
+ authentication in the spec for a single request.
7462
+ :type _request_auth: dict, optional
7463
+ :param _content_type: force content-type for the request.
7464
+ :type _content_type: str, Optional
7465
+ :param _headers: set to override the headers for a single
7466
+ request; this effectively ignores the headers
7467
+ in the spec for a single request.
7468
+ :type _headers: dict, optional
7469
+ :param _host_index: set to override the host_index for a single
7470
+ request; this effectively ignores the host_index
7471
+ in the spec for a single request.
7472
+ :type _host_index: int, optional
7473
+ :return: Returns the result object.
7474
+ """ # noqa: E501
7475
+
7476
+ _param = self._find_applicant_consents_serialize(
7477
+ applicant_id=applicant_id,
7478
+ _request_auth=_request_auth,
7479
+ _content_type=_content_type,
7480
+ _headers=_headers,
7481
+ _host_index=_host_index
7482
+ )
7483
+
7484
+ _response_types_map: Dict[str, Optional[str]] = {
7485
+ '200': "List[ApplicantConsent]",
7486
+ }
7487
+ response_data = self.api_client.call_api(
7488
+ *_param,
7489
+ _request_timeout=_request_timeout
7490
+ )
7491
+ return response_data.response
7492
+
7493
+
7494
+ def _find_applicant_consents_serialize(
7495
+ self,
7496
+ applicant_id,
7497
+ _request_auth,
7498
+ _content_type,
7499
+ _headers,
7500
+ _host_index,
7501
+ ) -> RequestSerialized:
7502
+
7503
+ _host = None
7504
+
7505
+ _collection_formats: Dict[str, str] = {
7506
+ }
7507
+
7508
+ _path_params: Dict[str, str] = {}
7509
+ _query_params: List[Tuple[str, str]] = []
7510
+ _header_params: Dict[str, Optional[str]] = _headers or {}
7511
+ _form_params: List[Tuple[str, str]] = []
7512
+ _files: Dict[
7513
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
7514
+ ] = {}
7515
+ _body_params: Optional[bytes] = None
7516
+
7517
+ # process the path parameters
7518
+ if applicant_id is not None:
7519
+ _path_params['applicant_id'] = applicant_id
7520
+ # process the query parameters
7521
+ # process the header parameters
7522
+ # process the form parameters
7523
+ # process the body parameter
7524
+
7525
+
7526
+ # set the HTTP header `Accept`
7527
+ if 'Accept' not in _header_params:
7528
+ _header_params['Accept'] = self.api_client.select_header_accept(
7529
+ [
7530
+ 'application/json'
7531
+ ]
7532
+ )
7533
+
7534
+
7535
+ # authentication setting
7536
+ _auth_settings: List[str] = [
7537
+ 'Token'
7538
+ ]
7539
+
7540
+ return self.api_client.param_serialize(
7541
+ method='GET',
7542
+ resource_path='/applicants/{applicant_id}/consents',
7543
+ path_params=_path_params,
7544
+ query_params=_query_params,
7545
+ header_params=_header_params,
7546
+ body=_body_params,
7547
+ post_params=_form_params,
7548
+ files=_files,
7549
+ auth_settings=_auth_settings,
7550
+ collection_formats=_collection_formats,
7551
+ _host=_host,
7552
+ _request_auth=_request_auth
7553
+ )
7554
+
7555
+
7556
+
7557
+
7296
7558
  @validate_call
7297
7559
  def find_check(
7298
7560
  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/5.0.0'
93
+ self.user_agent = 'onfido-python/5.1.0'
94
94
  self.client_side_validation = configuration.client_side_validation
95
95
 
96
96
  def __enter__(self):
@@ -501,7 +501,7 @@ conf = onfido.Configuration(
501
501
  "OS: {env}\n"\
502
502
  "Python Version: {pyversion}\n"\
503
503
  "Version of the API: v3.6\n"\
504
- "SDK Package Version: 5.0.0".\
504
+ "SDK Package Version: 5.1.0".\
505
505
  format(env=sys.platform, pyversion=sys.version)
506
506
 
507
507
  def get_host_settings(self) -> List[HostSetting]:
@@ -20,6 +20,7 @@ from onfido.models.address_shared import AddressShared
20
20
  from onfido.models.addresses_list import AddressesList
21
21
  from onfido.models.applicant import Applicant
22
22
  from onfido.models.applicant_builder import ApplicantBuilder
23
+ from onfido.models.applicant_consent import ApplicantConsent
23
24
  from onfido.models.applicant_consent_builder import ApplicantConsentBuilder
24
25
  from onfido.models.applicant_consent_name import ApplicantConsentName
25
26
  from onfido.models.applicant_create import ApplicantCreate
@@ -41,12 +42,13 @@ from onfido.models.complete_task_data_builder import CompleteTaskDataBuilder
41
42
  from onfido.models.country_codes import CountryCodes
42
43
  from onfido.models.device_intelligence_breakdown import DeviceIntelligenceBreakdown
43
44
  from onfido.models.device_intelligence_breakdown_breakdown import DeviceIntelligenceBreakdownBreakdown
44
- from onfido.models.device_intelligence_breakdown_breakdown_device import DeviceIntelligenceBreakdownBreakdownDevice
45
- from onfido.models.device_intelligence_breakdown_breakdown_device_breakdown import DeviceIntelligenceBreakdownBreakdownDeviceBreakdown
45
+ from onfido.models.device_intelligence_breakdown_device import DeviceIntelligenceBreakdownDevice
46
+ from onfido.models.device_intelligence_breakdown_device_breakdown import DeviceIntelligenceBreakdownDeviceBreakdown
46
47
  from onfido.models.device_intelligence_breakdown_properties import DeviceIntelligenceBreakdownProperties
47
48
  from onfido.models.device_intelligence_breakdown_properties_device import DeviceIntelligenceBreakdownPropertiesDevice
48
49
  from onfido.models.device_intelligence_breakdown_properties_geolocation import DeviceIntelligenceBreakdownPropertiesGeolocation
49
50
  from onfido.models.device_intelligence_breakdown_properties_ip import DeviceIntelligenceBreakdownPropertiesIp
51
+ from onfido.models.device_intelligence_properties import DeviceIntelligenceProperties
50
52
  from onfido.models.device_intelligence_report import DeviceIntelligenceReport
51
53
  from onfido.models.document import Document
52
54
  from onfido.models.document_breakdown import DocumentBreakdown
@@ -92,7 +94,7 @@ from onfido.models.document_properties_address_lines import DocumentPropertiesAd
92
94
  from onfido.models.document_properties_barcode_inner import DocumentPropertiesBarcodeInner
93
95
  from onfido.models.document_properties_document_classification import DocumentPropertiesDocumentClassification
94
96
  from onfido.models.document_properties_document_numbers_inner import DocumentPropertiesDocumentNumbersInner
95
- from onfido.models.document_properties_driving_licence_information import DocumentPropertiesDrivingLicenceInformation
97
+ from onfido.models.document_properties_driving_licence_information_item import DocumentPropertiesDrivingLicenceInformationItem
96
98
  from onfido.models.document_properties_extracted_data import DocumentPropertiesExtractedData
97
99
  from onfido.models.document_properties_nfc import DocumentPropertiesNfc
98
100
  from onfido.models.document_report import DocumentReport
@@ -0,0 +1,111 @@
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
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from datetime import datetime
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool
22
+ from typing import Any, ClassVar, Dict, List, Optional
23
+ from onfido.models.applicant_consent_name import ApplicantConsentName
24
+ from typing import Optional, Set
25
+ from typing_extensions import Self
26
+
27
+ class ApplicantConsent(BaseModel):
28
+ """
29
+ ApplicantConsent
30
+ """ # noqa: E501
31
+ name: ApplicantConsentName
32
+ granted: StrictBool
33
+ granted_at: Optional[datetime] = Field(description="The date and time when this applicant consent was granted, if not granted the value is nil.")
34
+ additional_properties: Dict[str, Any] = {}
35
+ __properties: ClassVar[List[str]] = ["name", "granted", "granted_at"]
36
+
37
+ model_config = ConfigDict(
38
+ populate_by_name=True,
39
+ validate_assignment=True,
40
+ protected_namespaces=(),
41
+ )
42
+
43
+
44
+ def to_str(self) -> str:
45
+ """Returns the string representation of the model using alias"""
46
+ return pprint.pformat(self.model_dump(by_alias=True))
47
+
48
+ def to_json(self) -> str:
49
+ """Returns the JSON representation of the model using alias"""
50
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
51
+ return json.dumps(self.to_dict())
52
+
53
+ @classmethod
54
+ def from_json(cls, json_str: str) -> Optional[Self]:
55
+ """Create an instance of ApplicantConsent from a JSON string"""
56
+ return cls.from_dict(json.loads(json_str))
57
+
58
+ def to_dict(self) -> Dict[str, Any]:
59
+ """Return the dictionary representation of the model using alias.
60
+
61
+ This has the following differences from calling pydantic's
62
+ `self.model_dump(by_alias=True)`:
63
+
64
+ * `None` is only added to the output dict for nullable fields that
65
+ were set at model initialization. Other fields with value `None`
66
+ are ignored.
67
+ * Fields in `self.additional_properties` are added to the output dict.
68
+ """
69
+ excluded_fields: Set[str] = set([
70
+ "additional_properties",
71
+ ])
72
+
73
+ _dict = self.model_dump(
74
+ by_alias=True,
75
+ exclude=excluded_fields,
76
+ exclude_none=True,
77
+ )
78
+ # puts key-value pairs in additional_properties in the top level
79
+ if self.additional_properties is not None:
80
+ for _key, _value in self.additional_properties.items():
81
+ _dict[_key] = _value
82
+
83
+ # set to None if granted_at (nullable) is None
84
+ # and model_fields_set contains the field
85
+ if self.granted_at is None and "granted_at" in self.model_fields_set:
86
+ _dict['granted_at'] = None
87
+
88
+ return _dict
89
+
90
+ @classmethod
91
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
92
+ """Create an instance of ApplicantConsent from a dict"""
93
+ if obj is None:
94
+ return None
95
+
96
+ if not isinstance(obj, dict):
97
+ return cls.model_validate(obj)
98
+
99
+ _obj = cls.model_validate({
100
+ "name": obj.get("name"),
101
+ "granted": obj.get("granted"),
102
+ "granted_at": obj.get("granted_at")
103
+ })
104
+ # store additional fields in additional_properties
105
+ for _key in obj.keys():
106
+ if _key not in cls.__properties:
107
+ _obj.additional_properties[_key] = obj.get(_key)
108
+
109
+ return _obj
110
+
111
+
@@ -20,6 +20,7 @@ import json
20
20
  from pydantic import BaseModel, ConfigDict
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from onfido.models.device_intelligence_breakdown_breakdown import DeviceIntelligenceBreakdownBreakdown
23
+ from onfido.models.device_intelligence_breakdown_device import DeviceIntelligenceBreakdownDevice
23
24
  from onfido.models.device_intelligence_breakdown_properties import DeviceIntelligenceBreakdownProperties
24
25
  from typing import Optional, Set
25
26
  from typing_extensions import Self
@@ -28,10 +29,11 @@ class DeviceIntelligenceBreakdown(BaseModel):
28
29
  """
29
30
  DeviceIntelligenceBreakdown
30
31
  """ # noqa: E501
32
+ device: Optional[DeviceIntelligenceBreakdownDevice] = None
31
33
  breakdown: Optional[DeviceIntelligenceBreakdownBreakdown] = None
32
34
  properties: Optional[DeviceIntelligenceBreakdownProperties] = None
33
35
  additional_properties: Dict[str, Any] = {}
34
- __properties: ClassVar[List[str]] = ["breakdown", "properties"]
36
+ __properties: ClassVar[List[str]] = ["device", "breakdown", "properties"]
35
37
 
36
38
  model_config = ConfigDict(
37
39
  populate_by_name=True,
@@ -74,6 +76,9 @@ class DeviceIntelligenceBreakdown(BaseModel):
74
76
  exclude=excluded_fields,
75
77
  exclude_none=True,
76
78
  )
79
+ # override the default output from pydantic by calling `to_dict()` of device
80
+ if self.device:
81
+ _dict['device'] = self.device.to_dict()
77
82
  # override the default output from pydantic by calling `to_dict()` of breakdown
78
83
  if self.breakdown:
79
84
  _dict['breakdown'] = self.breakdown.to_dict()
@@ -97,6 +102,7 @@ class DeviceIntelligenceBreakdown(BaseModel):
97
102
  return cls.model_validate(obj)
98
103
 
99
104
  _obj = cls.model_validate({
105
+ "device": DeviceIntelligenceBreakdownDevice.from_dict(obj["device"]) if obj.get("device") is not None else None,
100
106
  "breakdown": DeviceIntelligenceBreakdownBreakdown.from_dict(obj["breakdown"]) if obj.get("breakdown") is not None else None,
101
107
  "properties": DeviceIntelligenceBreakdownProperties.from_dict(obj["properties"]) if obj.get("properties") is not None else None
102
108
  })
@@ -19,7 +19,7 @@ import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
- from onfido.models.device_intelligence_breakdown_breakdown_device import DeviceIntelligenceBreakdownBreakdownDevice
22
+ from onfido.models.device_intelligence_breakdown_device import DeviceIntelligenceBreakdownDevice
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
@@ -27,7 +27,7 @@ class DeviceIntelligenceBreakdownBreakdown(BaseModel):
27
27
  """
28
28
  DeviceIntelligenceBreakdownBreakdown
29
29
  """ # noqa: E501
30
- device: Optional[DeviceIntelligenceBreakdownBreakdownDevice] = None
30
+ device: Optional[DeviceIntelligenceBreakdownDevice] = None
31
31
  additional_properties: Dict[str, Any] = {}
32
32
  __properties: ClassVar[List[str]] = ["device"]
33
33
 
@@ -92,7 +92,7 @@ class DeviceIntelligenceBreakdownBreakdown(BaseModel):
92
92
  return cls.model_validate(obj)
93
93
 
94
94
  _obj = cls.model_validate({
95
- "device": DeviceIntelligenceBreakdownBreakdownDevice.from_dict(obj["device"]) if obj.get("device") is not None else None
95
+ "device": DeviceIntelligenceBreakdownDevice.from_dict(obj["device"]) if obj.get("device") is not None else None
96
96
  })
97
97
  # store additional fields in additional_properties
98
98
  for _key in obj.keys():
@@ -19,15 +19,15 @@ import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
- from onfido.models.device_intelligence_breakdown_breakdown_device_breakdown import DeviceIntelligenceBreakdownBreakdownDeviceBreakdown
22
+ from onfido.models.device_intelligence_breakdown_device_breakdown import DeviceIntelligenceBreakdownDeviceBreakdown
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
26
- class DeviceIntelligenceBreakdownBreakdownDevice(BaseModel):
26
+ class DeviceIntelligenceBreakdownDevice(BaseModel):
27
27
  """
28
28
  Asserts whether the device used to upload the media is trustworthy, i.e. it is a real, physical device.
29
29
  """ # noqa: E501
30
- breakdown: Optional[DeviceIntelligenceBreakdownBreakdownDeviceBreakdown] = None
30
+ breakdown: Optional[DeviceIntelligenceBreakdownDeviceBreakdown] = None
31
31
  additional_properties: Dict[str, Any] = {}
32
32
  __properties: ClassVar[List[str]] = ["breakdown"]
33
33
 
@@ -49,7 +49,7 @@ class DeviceIntelligenceBreakdownBreakdownDevice(BaseModel):
49
49
 
50
50
  @classmethod
51
51
  def from_json(cls, json_str: str) -> Optional[Self]:
52
- """Create an instance of DeviceIntelligenceBreakdownBreakdownDevice from a JSON string"""
52
+ """Create an instance of DeviceIntelligenceBreakdownDevice from a JSON string"""
53
53
  return cls.from_dict(json.loads(json_str))
54
54
 
55
55
  def to_dict(self) -> Dict[str, Any]:
@@ -84,7 +84,7 @@ class DeviceIntelligenceBreakdownBreakdownDevice(BaseModel):
84
84
 
85
85
  @classmethod
86
86
  def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
87
- """Create an instance of DeviceIntelligenceBreakdownBreakdownDevice from a dict"""
87
+ """Create an instance of DeviceIntelligenceBreakdownDevice from a dict"""
88
88
  if obj is None:
89
89
  return None
90
90
 
@@ -92,7 +92,7 @@ class DeviceIntelligenceBreakdownBreakdownDevice(BaseModel):
92
92
  return cls.model_validate(obj)
93
93
 
94
94
  _obj = cls.model_validate({
95
- "breakdown": DeviceIntelligenceBreakdownBreakdownDeviceBreakdown.from_dict(obj["breakdown"]) if obj.get("breakdown") is not None else None
95
+ "breakdown": DeviceIntelligenceBreakdownDeviceBreakdown.from_dict(obj["breakdown"]) if obj.get("breakdown") is not None else None
96
96
  })
97
97
  # store additional fields in additional_properties
98
98
  for _key in obj.keys():
@@ -23,9 +23,9 @@ from onfido.models.document_breakdown_data_comparison_breakdown_issuing_country
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
26
- class DeviceIntelligenceBreakdownBreakdownDeviceBreakdown(BaseModel):
26
+ class DeviceIntelligenceBreakdownDeviceBreakdown(BaseModel):
27
27
  """
28
- DeviceIntelligenceBreakdownBreakdownDeviceBreakdown
28
+ DeviceIntelligenceBreakdownDeviceBreakdown
29
29
  """ # noqa: E501
30
30
  application_authenticity: Optional[DocumentBreakdownDataComparisonBreakdownIssuingCountry] = None
31
31
  device_integrity: Optional[DocumentBreakdownDataComparisonBreakdownIssuingCountry] = None
@@ -51,7 +51,7 @@ class DeviceIntelligenceBreakdownBreakdownDeviceBreakdown(BaseModel):
51
51
 
52
52
  @classmethod
53
53
  def from_json(cls, json_str: str) -> Optional[Self]:
54
- """Create an instance of DeviceIntelligenceBreakdownBreakdownDeviceBreakdown from a JSON string"""
54
+ """Create an instance of DeviceIntelligenceBreakdownDeviceBreakdown from a JSON string"""
55
55
  return cls.from_dict(json.loads(json_str))
56
56
 
57
57
  def to_dict(self) -> Dict[str, Any]:
@@ -92,7 +92,7 @@ class DeviceIntelligenceBreakdownBreakdownDeviceBreakdown(BaseModel):
92
92
 
93
93
  @classmethod
94
94
  def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
95
- """Create an instance of DeviceIntelligenceBreakdownBreakdownDeviceBreakdown from a dict"""
95
+ """Create an instance of DeviceIntelligenceBreakdownDeviceBreakdown from a dict"""
96
96
  if obj is None:
97
97
  return None
98
98
 
@@ -17,8 +17,8 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator
21
- from typing import Any, ClassVar, Dict, List, Optional
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
21
+ from typing import Any, ClassVar, Dict, List, Optional, Union
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
24
24
 
@@ -36,7 +36,7 @@ class DeviceIntelligenceBreakdownPropertiesDevice(BaseModel):
36
36
  randomized_device: Optional[StrictBool] = Field(default=None, description="Whether the device is providing false randomized device and network information.")
37
37
  fake_network_request: Optional[StrictBool] = Field(default=None, description="Whether device is using stolen security tokens to send the network information.")
38
38
  ip_reputation: Optional[StrictStr] = Field(default=None, description="Whether there is highly suspicious traffic related to the IP address. The risk depends on the overall ratio of clear checks on a given IP.")
39
- device_fingerprint_reuse: Optional[StrictInt] = Field(default=None, description="The number of times the device was used to create a report for a new applicant. A value greater than 1 indicates potential device reuse.")
39
+ device_fingerprint_reuse: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of times the device was used to create a report for a new applicant. A value greater than 1 indicates potential device reuse.")
40
40
  single_device_used: Optional[StrictBool] = Field(default=None, description="Whether the document or biometric media were uploaded from a single device.")
41
41
  document_capture: Optional[StrictStr] = Field(default=None, description="Whether the document media were live captured from the device camera.")
42
42
  biometric_capture: Optional[StrictStr] = Field(default=None, description="Whether the biometric media were live captured from the device camera.")