onfido-python 3.1.0__tar.gz → 3.3.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 (316) hide show
  1. {onfido_python-3.1.0/onfido_python.egg-info → onfido_python-3.3.0}/PKG-INFO +1 -1
  2. {onfido_python-3.1.0 → onfido_python-3.3.0}/README.md +5 -2
  3. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/__init__.py +1 -1
  4. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/api/default_api.py +281 -0
  5. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/api_client.py +1 -1
  6. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/configuration.py +1 -1
  7. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document.py +2 -2
  8. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_properties.py +68 -4
  9. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_shared.py +2 -2
  10. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_with_driver_verification_report_all_of_properties.py +68 -4
  11. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/webhook_event_payload_object.py +3 -1
  12. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/webhook_event_verifier.py +7 -4
  13. {onfido_python-3.1.0 → onfido_python-3.3.0/onfido_python.egg-info}/PKG-INFO +1 -1
  14. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido_python.egg-info/SOURCES.txt +1 -0
  15. {onfido_python-3.1.0 → onfido_python-3.3.0}/pyproject.toml +1 -1
  16. {onfido_python-3.1.0 → onfido_python-3.3.0}/setup.py +1 -1
  17. onfido_python-3.3.0/tests/test_qualified_electronic_signatures.py +58 -0
  18. {onfido_python-3.1.0 → onfido_python-3.3.0}/LICENSE +0 -0
  19. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/api/__init__.py +0 -0
  20. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/api_response.py +0 -0
  21. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/exceptions.py +0 -0
  22. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/__init__.py +0 -0
  23. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/address.py +0 -0
  24. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/address_builder.py +0 -0
  25. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/address_shared.py +0 -0
  26. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/addresses_list.py +0 -0
  27. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/applicant.py +0 -0
  28. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/applicant_builder.py +0 -0
  29. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/applicant_create.py +0 -0
  30. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/applicant_request.py +0 -0
  31. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/applicant_response.py +0 -0
  32. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/applicant_shared.py +0 -0
  33. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/applicant_update.py +0 -0
  34. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/applicant_updater.py +0 -0
  35. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/applicants_list.py +0 -0
  36. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/check.py +0 -0
  37. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/check_builder.py +0 -0
  38. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/check_request.py +0 -0
  39. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/check_response.py +0 -0
  40. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/check_shared.py +0 -0
  41. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/checks_list.py +0 -0
  42. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/complete_task_builder.py +0 -0
  43. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/complete_task_data_builder.py +0 -0
  44. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/consent_item.py +0 -0
  45. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/consents_builder.py +0 -0
  46. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/country_codes.py +0 -0
  47. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/device_intelligence_breakdown.py +0 -0
  48. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/device_intelligence_breakdown_breakdown.py +0 -0
  49. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/device_intelligence_breakdown_breakdown_device.py +0 -0
  50. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/device_intelligence_breakdown_breakdown_device_breakdown.py +0 -0
  51. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/device_intelligence_breakdown_properties.py +0 -0
  52. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/device_intelligence_breakdown_properties_device.py +0 -0
  53. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/device_intelligence_breakdown_properties_geolocation.py +0 -0
  54. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/device_intelligence_breakdown_properties_ip.py +0 -0
  55. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/device_intelligence_report.py +0 -0
  56. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown.py +0 -0
  57. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_age_validation.py +0 -0
  58. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_age_validation_breakdown.py +0 -0
  59. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_compromised_document.py +0 -0
  60. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_compromised_document_breakdown.py +0 -0
  61. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_data_comparison.py +0 -0
  62. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_data_comparison_breakdown.py +0 -0
  63. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_data_comparison_breakdown_issuing_country.py +0 -0
  64. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_data_consistency.py +0 -0
  65. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_data_consistency_breakdown.py +0 -0
  66. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_data_validation.py +0 -0
  67. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_data_validation_breakdown.py +0 -0
  68. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_data_validation_breakdown_document_expiration.py +0 -0
  69. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_data_validation_breakdown_expiry_date.py +0 -0
  70. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_image_integrity.py +0 -0
  71. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_image_integrity_breakdown.py +0 -0
  72. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_image_integrity_breakdown_colour_picture.py +0 -0
  73. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_image_integrity_breakdown_conclusive_document_quality.py +0 -0
  74. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_image_integrity_breakdown_image_quality.py +0 -0
  75. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_image_integrity_breakdown_supported_document.py +0 -0
  76. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_issuing_authority.py +0 -0
  77. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_issuing_authority_breakdown.py +0 -0
  78. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_active_authentication.py +0 -0
  79. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_passive_authentication.py +0 -0
  80. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_police_record.py +0 -0
  81. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_visual_authenticity.py +0 -0
  82. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_visual_authenticity_breakdown.py +0 -0
  83. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_digital_tampering.py +0 -0
  84. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_face_detection.py +0 -0
  85. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_fonts.py +0 -0
  86. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_original_document_present.py +0 -0
  87. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_other.py +0 -0
  88. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_picture_face_integrity.py +0 -0
  89. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_security_features.py +0 -0
  90. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_template.py +0 -0
  91. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_cdq_reasons.py +0 -0
  92. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_iq_reasons.py +0 -0
  93. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_odp_reasons.py +0 -0
  94. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_properties_address_lines.py +0 -0
  95. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_properties_barcode_inner.py +0 -0
  96. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_properties_document_classification.py +0 -0
  97. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_properties_document_numbers_inner.py +0 -0
  98. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_properties_driving_licence_information.py +0 -0
  99. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_properties_extracted_data.py +0 -0
  100. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_properties_nfc.py +0 -0
  101. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_report.py +0 -0
  102. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_response.py +0 -0
  103. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_types.py +0 -0
  104. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_video_report.py +0 -0
  105. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_video_with_address_information_report.py +0 -0
  106. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_with_address_information_report.py +0 -0
  107. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_with_driver_verification_report.py +0 -0
  108. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle.py +0 -0
  109. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner.py +0 -0
  110. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/document_with_driving_licence_information_report.py +0 -0
  111. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/documents_list.py +0 -0
  112. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/error.py +0 -0
  113. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/error1.py +0 -0
  114. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/error_properties.py +0 -0
  115. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/error_properties1.py +0 -0
  116. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/extract_request.py +0 -0
  117. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/extraction.py +0 -0
  118. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/extraction_document_classification.py +0 -0
  119. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/extraction_extracted_data.py +0 -0
  120. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_motion_breakdown.py +0 -0
  121. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_motion_breakdown_face_comparison.py +0 -0
  122. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity.py +0 -0
  123. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown.py +0 -0
  124. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_face_detected.py +0 -0
  125. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
  126. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity.py +0 -0
  127. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown.py +0 -0
  128. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
  129. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_motion_properties.py +0 -0
  130. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_motion_report.py +0 -0
  131. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_breakdown.py +0 -0
  132. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison.py +0 -0
  133. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown.py +0 -0
  134. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match.py +0 -0
  135. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match_properties.py +0 -0
  136. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity.py +0 -0
  137. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown.py +0 -0
  138. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_face_detected.py +0 -0
  139. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
  140. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity.py +0 -0
  141. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown.py +0 -0
  142. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
  143. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection_properties.py +0 -0
  144. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown.py +0 -0
  145. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity.py +0 -0
  146. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown.py +0 -0
  147. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
  148. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_fully_auto_properties.py +0 -0
  149. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_fully_auto_report.py +0 -0
  150. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_properties.py +0 -0
  151. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_photo_report.py +0 -0
  152. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_video_breakdown.py +0 -0
  153. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_video_breakdown_face_comparison.py +0 -0
  154. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_video_breakdown_image_integrity.py +0 -0
  155. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown.py +0 -0
  156. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_face_detected.py +0 -0
  157. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
  158. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity.py +0 -0
  159. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown.py +0 -0
  160. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected.py +0 -0
  161. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
  162. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_video_properties.py +0 -0
  163. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/facial_similarity_video_report.py +0 -0
  164. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/id_number.py +0 -0
  165. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/id_photo.py +0 -0
  166. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/id_photo_response.py +0 -0
  167. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/id_photos_list.py +0 -0
  168. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown.py +0 -0
  169. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown_address.py +0 -0
  170. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown_address_breakdown.py +0 -0
  171. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies.py +0 -0
  172. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies_properties.py +0 -0
  173. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_telephone_database.py +0 -0
  174. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_voting_register.py +0 -0
  175. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown_date_of_birth.py +0 -0
  176. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown.py +0 -0
  177. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_credit_agencies.py +0 -0
  178. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_voting_register.py +0 -0
  179. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown_mortality.py +0 -0
  180. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown_sources.py +0 -0
  181. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown.py +0 -0
  182. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources.py +0 -0
  183. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources_properties.py +0 -0
  184. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_properties.py +0 -0
  185. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_properties_matched_addresses_inner.py +0 -0
  186. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/identity_enhanced_report.py +0 -0
  187. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/india_pan_report.py +0 -0
  188. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/india_pan_report_all_of_breakdown.py +0 -0
  189. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/india_pan_report_all_of_breakdown_device.py +0 -0
  190. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown.py +0 -0
  191. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown_pan_valid.py +0 -0
  192. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/india_pan_report_all_of_properties.py +0 -0
  193. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/india_pan_report_all_of_properties_device.py +0 -0
  194. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/known_faces_breakdown.py +0 -0
  195. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/known_faces_breakdown_image_integrity.py +0 -0
  196. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/known_faces_breakdown_previously_seen_faces.py +0 -0
  197. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/known_faces_properties.py +0 -0
  198. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/known_faces_properties_matches_inner.py +0 -0
  199. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/known_faces_report.py +0 -0
  200. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/live_photo.py +0 -0
  201. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/live_photo_response.py +0 -0
  202. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/live_photos_list.py +0 -0
  203. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/live_video.py +0 -0
  204. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/live_videos_list.py +0 -0
  205. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/location.py +0 -0
  206. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/location_builder.py +0 -0
  207. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/location_shared.py +0 -0
  208. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/motion_capture.py +0 -0
  209. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/motion_captures_list.py +0 -0
  210. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/photo_auto_reasons.py +0 -0
  211. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/photo_reasons.py +0 -0
  212. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/proof_of_address_breakdown.py +0 -0
  213. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/proof_of_address_breakdown_data_comparison.py +0 -0
  214. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/proof_of_address_breakdown_data_comparison_breakdown.py +0 -0
  215. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/proof_of_address_breakdown_document_classification.py +0 -0
  216. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/proof_of_address_breakdown_document_classification_breakdown.py +0 -0
  217. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/proof_of_address_breakdown_image_integrity.py +0 -0
  218. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/proof_of_address_breakdown_image_integrity_breakdown.py +0 -0
  219. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/proof_of_address_properties.py +0 -0
  220. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/proof_of_address_report.py +0 -0
  221. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/repeat_attempts_list.py +0 -0
  222. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/repeat_attempts_list_repeat_attempts_inner.py +0 -0
  223. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/report.py +0 -0
  224. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/report_document.py +0 -0
  225. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/report_name.py +0 -0
  226. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/report_result.py +0 -0
  227. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/report_shared.py +0 -0
  228. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/report_status.py +0 -0
  229. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/report_sub_result.py +0 -0
  230. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/reports_list.py +0 -0
  231. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/results_feedback.py +0 -0
  232. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/sdk_token.py +0 -0
  233. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/sdk_token_builder.py +0 -0
  234. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/sdk_token_request.py +0 -0
  235. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/sdk_token_response.py +0 -0
  236. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/task.py +0 -0
  237. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/task_item.py +0 -0
  238. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/timeline_file_reference.py +0 -0
  239. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/us_driving_licence_breakdown.py +0 -0
  240. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/us_driving_licence_breakdown_address.py +0 -0
  241. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/us_driving_licence_breakdown_address_breakdown.py +0 -0
  242. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/us_driving_licence_breakdown_document.py +0 -0
  243. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/us_driving_licence_breakdown_document_breakdown.py +0 -0
  244. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/us_driving_licence_breakdown_personal.py +0 -0
  245. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/us_driving_licence_breakdown_personal_breakdown.py +0 -0
  246. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/us_driving_licence_builder.py +0 -0
  247. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/us_driving_licence_report.py +0 -0
  248. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/us_driving_licence_shared.py +0 -0
  249. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/video_reasons.py +0 -0
  250. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_aml_breakdown.py +0 -0
  251. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_aml_breakdown_adverse_media.py +0 -0
  252. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_aml_breakdown_legal_and_regulatory_warnings.py +0 -0
  253. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_aml_breakdown_politically_exposed_person.py +0 -0
  254. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_aml_breakdown_sanction.py +0 -0
  255. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_aml_properties.py +0 -0
  256. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_aml_report.py +0 -0
  257. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_enhanced_breakdown.py +0 -0
  258. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_enhanced_properties.py +0 -0
  259. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_enhanced_report.py +0 -0
  260. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_monitor.py +0 -0
  261. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_monitor_builder.py +0 -0
  262. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_monitor_match.py +0 -0
  263. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_monitor_matches_list.py +0 -0
  264. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_monitor_matches_updater.py +0 -0
  265. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_monitor_response.py +0 -0
  266. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_monitor_shared.py +0 -0
  267. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_monitors_list.py +0 -0
  268. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_peps_only_report.py +0 -0
  269. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_sanctions_only_report.py +0 -0
  270. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_standard_breakdown.py +0 -0
  271. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_standard_properties.py +0 -0
  272. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/watchlist_standard_report.py +0 -0
  273. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/webhook.py +0 -0
  274. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/webhook_builder.py +0 -0
  275. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/webhook_create.py +0 -0
  276. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/webhook_event.py +0 -0
  277. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/webhook_event_payload.py +0 -0
  278. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/webhook_event_type.py +0 -0
  279. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/webhook_resend.py +0 -0
  280. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/webhook_response.py +0 -0
  281. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/webhook_shared.py +0 -0
  282. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/webhook_update.py +0 -0
  283. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/webhook_updater.py +0 -0
  284. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/webhooks_list.py +0 -0
  285. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/webhooks_resend_item.py +0 -0
  286. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/workflow_run.py +0 -0
  287. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/workflow_run_builder.py +0 -0
  288. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/workflow_run_request.py +0 -0
  289. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/workflow_run_response.py +0 -0
  290. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/workflow_run_response_error.py +0 -0
  291. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/workflow_run_shared.py +0 -0
  292. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/models/workflow_run_shared_link.py +0 -0
  293. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/py.typed +0 -0
  294. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido/rest.py +0 -0
  295. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido_python.egg-info/dependency_links.txt +0 -0
  296. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido_python.egg-info/requires.txt +0 -0
  297. {onfido_python-3.1.0 → onfido_python-3.3.0}/onfido_python.egg-info/top_level.txt +0 -0
  298. {onfido_python-3.1.0 → onfido_python-3.3.0}/setup.cfg +0 -0
  299. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_address_picker.py +0 -0
  300. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_applicants.py +0 -0
  301. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_checks.py +0 -0
  302. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_documents.py +0 -0
  303. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_extraction.py +0 -0
  304. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_id_photos.py +0 -0
  305. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_live_photos.py +0 -0
  306. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_live_video.py +0 -0
  307. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_motion_capture.py +0 -0
  308. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_report_schemas.py +0 -0
  309. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_reports.py +0 -0
  310. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_sdk_token.py +0 -0
  311. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_tasks.py +0 -0
  312. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_watchlist_monitor.py +0 -0
  313. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_webhook_verification.py +0 -0
  314. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_webhooks.py +0 -0
  315. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_workflow_run_outputs.py +0 -0
  316. {onfido_python-3.1.0 → onfido_python-3.3.0}/tests/test_workflow_runs.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: onfido-python
3
- Version: 3.1.0
3
+ Version: 3.3.0
4
4
  Summary: Python library for the Onfido API
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -6,6 +6,9 @@ Documentation can be found at <https://documentation.onfido.com>.
6
6
 
7
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.
8
8
 
9
+ [![PyPI version](https://badge.fury.io/py/onfido-python.svg)](https://badge.fury.io/py/onfido-python)
10
+ ![Build Status](https://github.com/onfido/onfido-python/actions/workflows/python.yml/badge.svg)
11
+
9
12
  ## Installation & Usage
10
13
 
11
14
  ### Requirements
@@ -19,7 +22,7 @@ Python 3.7+
19
22
  If the python package is hosted on a repository, you can install directly using:
20
23
 
21
24
  ```sh
22
- pip install onfido
25
+ pip install onfido-python
23
26
  ```
24
27
 
25
28
  Then import the package:
@@ -31,7 +34,7 @@ import onfido
31
34
  #### Poetry
32
35
 
33
36
  ```sh
34
- poetry add onfido
37
+ poetry add onfido-python
35
38
  ```
36
39
 
37
40
  Then import the package:
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "3.1.0"
17
+ __version__ = "3.3.0"
18
18
 
19
19
  # import apis into sdk package
20
20
  from onfido.api.default_api import DefaultApi
@@ -5359,6 +5359,287 @@ class DefaultApi:
5359
5359
 
5360
5360
 
5361
5361
 
5362
+ @validate_call
5363
+ def download_qes_document(
5364
+ self,
5365
+ workflow_run_id: Annotated[StrictStr, Field(description="The unique identifier of the Workflow Run for which you want to retrieve the signed document.")],
5366
+ file_id: Annotated[StrictStr, Field(description="The unique identifier of the file which you want to retrieve.")],
5367
+ _request_timeout: Union[
5368
+ None,
5369
+ Annotated[StrictFloat, Field(gt=0)],
5370
+ Tuple[
5371
+ Annotated[StrictFloat, Field(gt=0)],
5372
+ Annotated[StrictFloat, Field(gt=0)]
5373
+ ]
5374
+ ] = None,
5375
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
5376
+ _content_type: Optional[StrictStr] = None,
5377
+ _headers: Optional[Dict[StrictStr, Any]] = None,
5378
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5379
+ ) -> bytearray:
5380
+ """Retrieves the signed document or application form
5381
+
5382
+ Retrieves the signed document or application form depending on the file_id provided.
5383
+
5384
+ :param workflow_run_id: The unique identifier of the Workflow Run for which you want to retrieve the signed document. (required)
5385
+ :type workflow_run_id: str
5386
+ :param file_id: The unique identifier of the file which you want to retrieve. (required)
5387
+ :type file_id: str
5388
+ :param _request_timeout: timeout setting for this request. If one
5389
+ number provided, it will be total request
5390
+ timeout. It can also be a pair (tuple) of
5391
+ (connection, read) timeouts.
5392
+ :type _request_timeout: int, tuple(int, int), optional
5393
+ :param _request_auth: set to override the auth_settings for an a single
5394
+ request; this effectively ignores the
5395
+ authentication in the spec for a single request.
5396
+ :type _request_auth: dict, optional
5397
+ :param _content_type: force content-type for the request.
5398
+ :type _content_type: str, Optional
5399
+ :param _headers: set to override the headers for a single
5400
+ request; this effectively ignores the headers
5401
+ in the spec for a single request.
5402
+ :type _headers: dict, optional
5403
+ :param _host_index: set to override the host_index for a single
5404
+ request; this effectively ignores the host_index
5405
+ in the spec for a single request.
5406
+ :type _host_index: int, optional
5407
+ :return: Returns the result object.
5408
+ """ # noqa: E501
5409
+
5410
+ _param = self._download_qes_document_serialize(
5411
+ workflow_run_id=workflow_run_id,
5412
+ file_id=file_id,
5413
+ _request_auth=_request_auth,
5414
+ _content_type=_content_type,
5415
+ _headers=_headers,
5416
+ _host_index=_host_index
5417
+ )
5418
+
5419
+ _response_types_map: Dict[str, Optional[str]] = {
5420
+ '302': None,
5421
+ '200': "bytearray",
5422
+ }
5423
+ response_data = self.api_client.call_api(
5424
+ *_param,
5425
+ _request_timeout=_request_timeout
5426
+ )
5427
+ response_data.read()
5428
+ return self.api_client.response_deserialize(
5429
+ response_data=response_data,
5430
+ response_types_map=_response_types_map,
5431
+ ).data
5432
+
5433
+
5434
+ @validate_call
5435
+ def download_qes_document_with_http_info(
5436
+ self,
5437
+ workflow_run_id: Annotated[StrictStr, Field(description="The unique identifier of the Workflow Run for which you want to retrieve the signed document.")],
5438
+ file_id: Annotated[StrictStr, Field(description="The unique identifier of the file which you want to retrieve.")],
5439
+ _request_timeout: Union[
5440
+ None,
5441
+ Annotated[StrictFloat, Field(gt=0)],
5442
+ Tuple[
5443
+ Annotated[StrictFloat, Field(gt=0)],
5444
+ Annotated[StrictFloat, Field(gt=0)]
5445
+ ]
5446
+ ] = None,
5447
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
5448
+ _content_type: Optional[StrictStr] = None,
5449
+ _headers: Optional[Dict[StrictStr, Any]] = None,
5450
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5451
+ ) -> ApiResponse[bytearray]:
5452
+ """Retrieves the signed document or application form
5453
+
5454
+ Retrieves the signed document or application form depending on the file_id provided.
5455
+
5456
+ :param workflow_run_id: The unique identifier of the Workflow Run for which you want to retrieve the signed document. (required)
5457
+ :type workflow_run_id: str
5458
+ :param file_id: The unique identifier of the file which you want to retrieve. (required)
5459
+ :type file_id: str
5460
+ :param _request_timeout: timeout setting for this request. If one
5461
+ number provided, it will be total request
5462
+ timeout. It can also be a pair (tuple) of
5463
+ (connection, read) timeouts.
5464
+ :type _request_timeout: int, tuple(int, int), optional
5465
+ :param _request_auth: set to override the auth_settings for an a single
5466
+ request; this effectively ignores the
5467
+ authentication in the spec for a single request.
5468
+ :type _request_auth: dict, optional
5469
+ :param _content_type: force content-type for the request.
5470
+ :type _content_type: str, Optional
5471
+ :param _headers: set to override the headers for a single
5472
+ request; this effectively ignores the headers
5473
+ in the spec for a single request.
5474
+ :type _headers: dict, optional
5475
+ :param _host_index: set to override the host_index for a single
5476
+ request; this effectively ignores the host_index
5477
+ in the spec for a single request.
5478
+ :type _host_index: int, optional
5479
+ :return: Returns the result object.
5480
+ """ # noqa: E501
5481
+
5482
+ _param = self._download_qes_document_serialize(
5483
+ workflow_run_id=workflow_run_id,
5484
+ file_id=file_id,
5485
+ _request_auth=_request_auth,
5486
+ _content_type=_content_type,
5487
+ _headers=_headers,
5488
+ _host_index=_host_index
5489
+ )
5490
+
5491
+ _response_types_map: Dict[str, Optional[str]] = {
5492
+ '302': None,
5493
+ '200': "bytearray",
5494
+ }
5495
+ response_data = self.api_client.call_api(
5496
+ *_param,
5497
+ _request_timeout=_request_timeout
5498
+ )
5499
+ response_data.read()
5500
+ return self.api_client.response_deserialize(
5501
+ response_data=response_data,
5502
+ response_types_map=_response_types_map,
5503
+ )
5504
+
5505
+
5506
+ @validate_call
5507
+ def download_qes_document_without_preload_content(
5508
+ self,
5509
+ workflow_run_id: Annotated[StrictStr, Field(description="The unique identifier of the Workflow Run for which you want to retrieve the signed document.")],
5510
+ file_id: Annotated[StrictStr, Field(description="The unique identifier of the file which you want to retrieve.")],
5511
+ _request_timeout: Union[
5512
+ None,
5513
+ Annotated[StrictFloat, Field(gt=0)],
5514
+ Tuple[
5515
+ Annotated[StrictFloat, Field(gt=0)],
5516
+ Annotated[StrictFloat, Field(gt=0)]
5517
+ ]
5518
+ ] = None,
5519
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
5520
+ _content_type: Optional[StrictStr] = None,
5521
+ _headers: Optional[Dict[StrictStr, Any]] = None,
5522
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5523
+ ) -> RESTResponseType:
5524
+ """Retrieves the signed document or application form
5525
+
5526
+ Retrieves the signed document or application form depending on the file_id provided.
5527
+
5528
+ :param workflow_run_id: The unique identifier of the Workflow Run for which you want to retrieve the signed document. (required)
5529
+ :type workflow_run_id: str
5530
+ :param file_id: The unique identifier of the file which you want to retrieve. (required)
5531
+ :type file_id: str
5532
+ :param _request_timeout: timeout setting for this request. If one
5533
+ number provided, it will be total request
5534
+ timeout. It can also be a pair (tuple) of
5535
+ (connection, read) timeouts.
5536
+ :type _request_timeout: int, tuple(int, int), optional
5537
+ :param _request_auth: set to override the auth_settings for an a single
5538
+ request; this effectively ignores the
5539
+ authentication in the spec for a single request.
5540
+ :type _request_auth: dict, optional
5541
+ :param _content_type: force content-type for the request.
5542
+ :type _content_type: str, Optional
5543
+ :param _headers: set to override the headers for a single
5544
+ request; this effectively ignores the headers
5545
+ in the spec for a single request.
5546
+ :type _headers: dict, optional
5547
+ :param _host_index: set to override the host_index for a single
5548
+ request; this effectively ignores the host_index
5549
+ in the spec for a single request.
5550
+ :type _host_index: int, optional
5551
+ :return: Returns the result object.
5552
+ """ # noqa: E501
5553
+
5554
+ _param = self._download_qes_document_serialize(
5555
+ workflow_run_id=workflow_run_id,
5556
+ file_id=file_id,
5557
+ _request_auth=_request_auth,
5558
+ _content_type=_content_type,
5559
+ _headers=_headers,
5560
+ _host_index=_host_index
5561
+ )
5562
+
5563
+ _response_types_map: Dict[str, Optional[str]] = {
5564
+ '302': None,
5565
+ '200': "bytearray",
5566
+ }
5567
+ response_data = self.api_client.call_api(
5568
+ *_param,
5569
+ _request_timeout=_request_timeout
5570
+ )
5571
+ return response_data.response
5572
+
5573
+
5574
+ def _download_qes_document_serialize(
5575
+ self,
5576
+ workflow_run_id,
5577
+ file_id,
5578
+ _request_auth,
5579
+ _content_type,
5580
+ _headers,
5581
+ _host_index,
5582
+ ) -> RequestSerialized:
5583
+
5584
+ _host = None
5585
+
5586
+ _collection_formats: Dict[str, str] = {
5587
+ }
5588
+
5589
+ _path_params: Dict[str, str] = {}
5590
+ _query_params: List[Tuple[str, str]] = []
5591
+ _header_params: Dict[str, Optional[str]] = _headers or {}
5592
+ _form_params: List[Tuple[str, str]] = []
5593
+ _files: Dict[str, Union[str, bytes]] = {}
5594
+ _body_params: Optional[bytes] = None
5595
+
5596
+ # process the path parameters
5597
+ # process the query parameters
5598
+ if workflow_run_id is not None:
5599
+
5600
+ _query_params.append(('workflow_run_id', workflow_run_id))
5601
+
5602
+ if file_id is not None:
5603
+
5604
+ _query_params.append(('file_id', file_id))
5605
+
5606
+ # process the header parameters
5607
+ # process the form parameters
5608
+ # process the body parameter
5609
+
5610
+
5611
+ # set the HTTP header `Accept`
5612
+ _header_params['Accept'] = self.api_client.select_header_accept(
5613
+ [
5614
+ 'application/pdf',
5615
+ 'application/json'
5616
+ ]
5617
+ )
5618
+
5619
+
5620
+ # authentication setting
5621
+ _auth_settings: List[str] = [
5622
+ 'Token'
5623
+ ]
5624
+
5625
+ return self.api_client.param_serialize(
5626
+ method='GET',
5627
+ resource_path='/qualified_electronic_signature/documents',
5628
+ path_params=_path_params,
5629
+ query_params=_query_params,
5630
+ header_params=_header_params,
5631
+ body=_body_params,
5632
+ post_params=_form_params,
5633
+ files=_files,
5634
+ auth_settings=_auth_settings,
5635
+ collection_formats=_collection_formats,
5636
+ _host=_host,
5637
+ _request_auth=_request_auth
5638
+ )
5639
+
5640
+
5641
+
5642
+
5362
5643
  @validate_call
5363
5644
  def download_signed_evidence_file(
5364
5645
  self,
@@ -88,7 +88,7 @@ class ApiClient:
88
88
  self.default_headers[header_name] = header_value
89
89
  self.cookie = cookie
90
90
  # Set default User-Agent.
91
- self.user_agent = 'onfido-python/3.1.0'
91
+ self.user_agent = 'onfido-python/3.3.0'
92
92
  self.client_side_validation = configuration.client_side_validation
93
93
 
94
94
  def __enter__(self):
@@ -383,7 +383,7 @@ conf = onfido.Configuration(
383
383
  "OS: {env}\n"\
384
384
  "Python Version: {pyversion}\n"\
385
385
  "Version of the API: v3.6\n"\
386
- "SDK Package Version: 3.1.0".\
386
+ "SDK Package Version: 3.3.0".\
387
387
  format(env=sys.platform, pyversion=sys.version)
388
388
 
389
389
  def get_host_settings(self):
@@ -48,8 +48,8 @@ class Document(BaseModel):
48
48
  if value is None:
49
49
  return value
50
50
 
51
- if value not in set(['jpg', 'png', 'pdf']):
52
- raise ValueError("must be one of enum values ('jpg', 'png', 'pdf')")
51
+ if value not in set(['jpg', 'jpeg', 'png', 'pdf']):
52
+ raise ValueError("must be one of enum values ('jpg', 'jpeg', 'png', 'pdf')")
53
53
  return value
54
54
 
55
55
  @field_validator('side')
@@ -18,7 +18,7 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
  from datetime import date
21
- from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
21
+ from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr, field_validator
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
23
  from onfido.models.document_properties_address_lines import DocumentPropertiesAddressLines
24
24
  from onfido.models.document_properties_barcode_inner import DocumentPropertiesBarcodeInner
@@ -36,12 +36,14 @@ class DocumentProperties(BaseModel):
36
36
  """ # noqa: E501
37
37
  date_of_birth: Optional[date] = None
38
38
  date_of_expiry: Optional[date] = None
39
+ personal_number: Optional[StrictStr] = None
39
40
  document_numbers: Optional[List[DocumentPropertiesDocumentNumbersInner]] = None
40
41
  document_type: Optional[StrictStr] = None
41
42
  first_name: Optional[StrictStr] = None
43
+ middle_name: Optional[StrictStr] = None
44
+ last_name: Optional[StrictStr] = None
42
45
  gender: Optional[StrictStr] = None
43
46
  issuing_country: Optional[StrictStr] = None
44
- last_name: Optional[StrictStr] = None
45
47
  nationality: Optional[StrictStr] = None
46
48
  issuing_state: Optional[StrictStr] = None
47
49
  issuing_date: Optional[date] = None
@@ -55,7 +57,22 @@ class DocumentProperties(BaseModel):
55
57
  widow_name: Optional[StrictStr] = None
56
58
  alias_name: Optional[StrictStr] = None
57
59
  issuing_authority: Optional[StrictStr] = None
60
+ remarks: Optional[StrictStr] = None
61
+ civil_state: Optional[StrictStr] = None
62
+ expatriation: Optional[StrictStr] = None
63
+ father_name: Optional[StrictStr] = None
64
+ mother_name: Optional[StrictStr] = None
65
+ religion: Optional[StrictStr] = None
66
+ type_of_permit: Optional[StrictStr] = None
67
+ version_number: Optional[StrictStr] = None
68
+ document_subtype: Optional[StrictStr] = None
69
+ profession: Optional[StrictStr] = None
70
+ security_document_number: Optional[StrictStr] = None
71
+ tax_number: Optional[StrictStr] = None
72
+ nist_identity_evidence_strength: Optional[StrictStr] = None
73
+ has_issuance_confirmation: Optional[StrictStr] = None
58
74
  real_id_compliance: Optional[StrictBool] = None
75
+ security_tier: Optional[StrictStr] = None
59
76
  address_lines: Optional[DocumentPropertiesAddressLines] = None
60
77
  barcode: Optional[List[DocumentPropertiesBarcodeInner]] = None
61
78
  nfc: Optional[DocumentPropertiesNfc] = None
@@ -63,7 +80,37 @@ class DocumentProperties(BaseModel):
63
80
  document_classification: Optional[DocumentPropertiesDocumentClassification] = None
64
81
  extracted_data: Optional[DocumentPropertiesExtractedData] = None
65
82
  additional_properties: Dict[str, Any] = {}
66
- __properties: ClassVar[List[str]] = ["date_of_birth", "date_of_expiry", "document_numbers", "document_type", "first_name", "gender", "issuing_country", "last_name", "nationality", "issuing_state", "issuing_date", "categorisation", "mrz_line1", "mrz_line2", "mrz_line3", "address", "place_of_birth", "spouse_name", "widow_name", "alias_name", "issuing_authority", "real_id_compliance", "address_lines", "barcode", "nfc", "driving_licence_information", "document_classification", "extracted_data"]
83
+ __properties: ClassVar[List[str]] = ["date_of_birth", "date_of_expiry", "personal_number", "document_numbers", "document_type", "first_name", "middle_name", "last_name", "gender", "issuing_country", "nationality", "issuing_state", "issuing_date", "categorisation", "mrz_line1", "mrz_line2", "mrz_line3", "address", "place_of_birth", "spouse_name", "widow_name", "alias_name", "issuing_authority", "remarks", "civil_state", "expatriation", "father_name", "mother_name", "religion", "type_of_permit", "version_number", "document_subtype", "profession", "security_document_number", "tax_number", "nist_identity_evidence_strength", "has_issuance_confirmation", "real_id_compliance", "security_tier", "address_lines", "barcode", "nfc", "driving_licence_information", "document_classification", "extracted_data"]
84
+
85
+ @field_validator('nist_identity_evidence_strength')
86
+ def nist_identity_evidence_strength_validate_enum(cls, value):
87
+ """Validates the enum"""
88
+ if value is None:
89
+ return value
90
+
91
+ if value not in set(['superior', 'strong', 'fair', 'weak', 'unacceptable', 'unspecified_identity_evidence_strength']):
92
+ raise ValueError("must be one of enum values ('superior', 'strong', 'fair', 'weak', 'unacceptable', 'unspecified_identity_evidence_strength')")
93
+ return value
94
+
95
+ @field_validator('has_issuance_confirmation')
96
+ def has_issuance_confirmation_validate_enum(cls, value):
97
+ """Validates the enum"""
98
+ if value is None:
99
+ return value
100
+
101
+ if value not in set(['true', 'false', 'unspecified']):
102
+ raise ValueError("must be one of enum values ('true', 'false', 'unspecified')")
103
+ return value
104
+
105
+ @field_validator('security_tier')
106
+ def security_tier_validate_enum(cls, value):
107
+ """Validates the enum"""
108
+ if value is None:
109
+ return value
110
+
111
+ if value not in set(['tier_1', 'tier_2', 'tier_3', 'tier_4', 'tier_5', 'unspecified_security_tier']):
112
+ raise ValueError("must be one of enum values ('tier_1', 'tier_2', 'tier_3', 'tier_4', 'tier_5', 'unspecified_security_tier')")
113
+ return value
67
114
 
68
115
  model_config = ConfigDict(
69
116
  populate_by_name=True,
@@ -154,12 +201,14 @@ class DocumentProperties(BaseModel):
154
201
  _obj = cls.model_validate({
155
202
  "date_of_birth": obj.get("date_of_birth"),
156
203
  "date_of_expiry": obj.get("date_of_expiry"),
204
+ "personal_number": obj.get("personal_number"),
157
205
  "document_numbers": [DocumentPropertiesDocumentNumbersInner.from_dict(_item) for _item in obj["document_numbers"]] if obj.get("document_numbers") is not None else None,
158
206
  "document_type": obj.get("document_type"),
159
207
  "first_name": obj.get("first_name"),
208
+ "middle_name": obj.get("middle_name"),
209
+ "last_name": obj.get("last_name"),
160
210
  "gender": obj.get("gender"),
161
211
  "issuing_country": obj.get("issuing_country"),
162
- "last_name": obj.get("last_name"),
163
212
  "nationality": obj.get("nationality"),
164
213
  "issuing_state": obj.get("issuing_state"),
165
214
  "issuing_date": obj.get("issuing_date"),
@@ -173,7 +222,22 @@ class DocumentProperties(BaseModel):
173
222
  "widow_name": obj.get("widow_name"),
174
223
  "alias_name": obj.get("alias_name"),
175
224
  "issuing_authority": obj.get("issuing_authority"),
225
+ "remarks": obj.get("remarks"),
226
+ "civil_state": obj.get("civil_state"),
227
+ "expatriation": obj.get("expatriation"),
228
+ "father_name": obj.get("father_name"),
229
+ "mother_name": obj.get("mother_name"),
230
+ "religion": obj.get("religion"),
231
+ "type_of_permit": obj.get("type_of_permit"),
232
+ "version_number": obj.get("version_number"),
233
+ "document_subtype": obj.get("document_subtype"),
234
+ "profession": obj.get("profession"),
235
+ "security_document_number": obj.get("security_document_number"),
236
+ "tax_number": obj.get("tax_number"),
237
+ "nist_identity_evidence_strength": obj.get("nist_identity_evidence_strength"),
238
+ "has_issuance_confirmation": obj.get("has_issuance_confirmation"),
176
239
  "real_id_compliance": obj.get("real_id_compliance"),
240
+ "security_tier": obj.get("security_tier"),
177
241
  "address_lines": DocumentPropertiesAddressLines.from_dict(obj["address_lines"]) if obj.get("address_lines") is not None else None,
178
242
  "barcode": [DocumentPropertiesBarcodeInner.from_dict(_item) for _item in obj["barcode"]] if obj.get("barcode") is not None else None,
179
243
  "nfc": DocumentPropertiesNfc.from_dict(obj["nfc"]) if obj.get("nfc") is not None else None,
@@ -41,8 +41,8 @@ class DocumentShared(BaseModel):
41
41
  if value is None:
42
42
  return value
43
43
 
44
- if value not in set(['jpg', 'png', 'pdf']):
45
- raise ValueError("must be one of enum values ('jpg', 'png', 'pdf')")
44
+ if value not in set(['jpg', 'jpeg', 'png', 'pdf']):
45
+ raise ValueError("must be one of enum values ('jpg', 'jpeg', 'png', 'pdf')")
46
46
  return value
47
47
 
48
48
  @field_validator('side')
@@ -18,7 +18,7 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
  from datetime import date
21
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
23
  from onfido.models.document_properties_address_lines import DocumentPropertiesAddressLines
24
24
  from onfido.models.document_properties_barcode_inner import DocumentPropertiesBarcodeInner
@@ -38,12 +38,14 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
38
38
  """ # noqa: E501
39
39
  date_of_birth: Optional[date] = None
40
40
  date_of_expiry: Optional[date] = None
41
+ personal_number: Optional[StrictStr] = None
41
42
  document_numbers: Optional[List[DocumentPropertiesDocumentNumbersInner]] = None
42
43
  document_type: Optional[StrictStr] = None
43
44
  first_name: Optional[StrictStr] = None
45
+ middle_name: Optional[StrictStr] = None
46
+ last_name: Optional[StrictStr] = None
44
47
  gender: Optional[StrictStr] = None
45
48
  issuing_country: Optional[StrictStr] = None
46
- last_name: Optional[StrictStr] = None
47
49
  nationality: Optional[StrictStr] = None
48
50
  issuing_state: Optional[StrictStr] = None
49
51
  issuing_date: Optional[date] = None
@@ -57,7 +59,22 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
57
59
  widow_name: Optional[StrictStr] = None
58
60
  alias_name: Optional[StrictStr] = None
59
61
  issuing_authority: Optional[StrictStr] = None
62
+ remarks: Optional[StrictStr] = None
63
+ civil_state: Optional[StrictStr] = None
64
+ expatriation: Optional[StrictStr] = None
65
+ father_name: Optional[StrictStr] = None
66
+ mother_name: Optional[StrictStr] = None
67
+ religion: Optional[StrictStr] = None
68
+ type_of_permit: Optional[StrictStr] = None
69
+ version_number: Optional[StrictStr] = None
70
+ document_subtype: Optional[StrictStr] = None
71
+ profession: Optional[StrictStr] = None
72
+ security_document_number: Optional[StrictStr] = None
73
+ tax_number: Optional[StrictStr] = None
74
+ nist_identity_evidence_strength: Optional[StrictStr] = None
75
+ has_issuance_confirmation: Optional[StrictStr] = None
60
76
  real_id_compliance: Optional[StrictBool] = None
77
+ security_tier: Optional[StrictStr] = None
61
78
  address_lines: Optional[DocumentPropertiesAddressLines] = None
62
79
  barcode: Optional[List[DocumentPropertiesBarcodeInner]] = None
63
80
  nfc: Optional[DocumentPropertiesNfc] = None
@@ -71,7 +88,37 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
71
88
  vehicle_class_details: Optional[List[DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner]] = Field(default=None, description="Detailed classes/categories information")
72
89
  passenger_vehicle: Optional[DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle] = None
73
90
  additional_properties: Dict[str, Any] = {}
74
- __properties: ClassVar[List[str]] = ["date_of_birth", "date_of_expiry", "document_numbers", "document_type", "first_name", "gender", "issuing_country", "last_name", "nationality", "issuing_state", "issuing_date", "categorisation", "mrz_line1", "mrz_line2", "mrz_line3", "address", "place_of_birth", "spouse_name", "widow_name", "alias_name", "issuing_authority", "real_id_compliance", "address_lines", "barcode", "nfc", "driving_licence_information", "document_classification", "extracted_data", "drivers_licence", "restricted_licence", "raw_licence_category", "raw_vehicle_classes", "vehicle_class_details", "passenger_vehicle"]
91
+ __properties: ClassVar[List[str]] = ["date_of_birth", "date_of_expiry", "personal_number", "document_numbers", "document_type", "first_name", "middle_name", "last_name", "gender", "issuing_country", "nationality", "issuing_state", "issuing_date", "categorisation", "mrz_line1", "mrz_line2", "mrz_line3", "address", "place_of_birth", "spouse_name", "widow_name", "alias_name", "issuing_authority", "remarks", "civil_state", "expatriation", "father_name", "mother_name", "religion", "type_of_permit", "version_number", "document_subtype", "profession", "security_document_number", "tax_number", "nist_identity_evidence_strength", "has_issuance_confirmation", "real_id_compliance", "security_tier", "address_lines", "barcode", "nfc", "driving_licence_information", "document_classification", "extracted_data", "drivers_licence", "restricted_licence", "raw_licence_category", "raw_vehicle_classes", "vehicle_class_details", "passenger_vehicle"]
92
+
93
+ @field_validator('nist_identity_evidence_strength')
94
+ def nist_identity_evidence_strength_validate_enum(cls, value):
95
+ """Validates the enum"""
96
+ if value is None:
97
+ return value
98
+
99
+ if value not in set(['superior', 'strong', 'fair', 'weak', 'unacceptable', 'unspecified_identity_evidence_strength']):
100
+ raise ValueError("must be one of enum values ('superior', 'strong', 'fair', 'weak', 'unacceptable', 'unspecified_identity_evidence_strength')")
101
+ return value
102
+
103
+ @field_validator('has_issuance_confirmation')
104
+ def has_issuance_confirmation_validate_enum(cls, value):
105
+ """Validates the enum"""
106
+ if value is None:
107
+ return value
108
+
109
+ if value not in set(['true', 'false', 'unspecified']):
110
+ raise ValueError("must be one of enum values ('true', 'false', 'unspecified')")
111
+ return value
112
+
113
+ @field_validator('security_tier')
114
+ def security_tier_validate_enum(cls, value):
115
+ """Validates the enum"""
116
+ if value is None:
117
+ return value
118
+
119
+ if value not in set(['tier_1', 'tier_2', 'tier_3', 'tier_4', 'tier_5', 'unspecified_security_tier']):
120
+ raise ValueError("must be one of enum values ('tier_1', 'tier_2', 'tier_3', 'tier_4', 'tier_5', 'unspecified_security_tier')")
121
+ return value
75
122
 
76
123
  model_config = ConfigDict(
77
124
  populate_by_name=True,
@@ -172,12 +219,14 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
172
219
  _obj = cls.model_validate({
173
220
  "date_of_birth": obj.get("date_of_birth"),
174
221
  "date_of_expiry": obj.get("date_of_expiry"),
222
+ "personal_number": obj.get("personal_number"),
175
223
  "document_numbers": [DocumentPropertiesDocumentNumbersInner.from_dict(_item) for _item in obj["document_numbers"]] if obj.get("document_numbers") is not None else None,
176
224
  "document_type": obj.get("document_type"),
177
225
  "first_name": obj.get("first_name"),
226
+ "middle_name": obj.get("middle_name"),
227
+ "last_name": obj.get("last_name"),
178
228
  "gender": obj.get("gender"),
179
229
  "issuing_country": obj.get("issuing_country"),
180
- "last_name": obj.get("last_name"),
181
230
  "nationality": obj.get("nationality"),
182
231
  "issuing_state": obj.get("issuing_state"),
183
232
  "issuing_date": obj.get("issuing_date"),
@@ -191,7 +240,22 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
191
240
  "widow_name": obj.get("widow_name"),
192
241
  "alias_name": obj.get("alias_name"),
193
242
  "issuing_authority": obj.get("issuing_authority"),
243
+ "remarks": obj.get("remarks"),
244
+ "civil_state": obj.get("civil_state"),
245
+ "expatriation": obj.get("expatriation"),
246
+ "father_name": obj.get("father_name"),
247
+ "mother_name": obj.get("mother_name"),
248
+ "religion": obj.get("religion"),
249
+ "type_of_permit": obj.get("type_of_permit"),
250
+ "version_number": obj.get("version_number"),
251
+ "document_subtype": obj.get("document_subtype"),
252
+ "profession": obj.get("profession"),
253
+ "security_document_number": obj.get("security_document_number"),
254
+ "tax_number": obj.get("tax_number"),
255
+ "nist_identity_evidence_strength": obj.get("nist_identity_evidence_strength"),
256
+ "has_issuance_confirmation": obj.get("has_issuance_confirmation"),
194
257
  "real_id_compliance": obj.get("real_id_compliance"),
258
+ "security_tier": obj.get("security_tier"),
195
259
  "address_lines": DocumentPropertiesAddressLines.from_dict(obj["address_lines"]) if obj.get("address_lines") is not None else None,
196
260
  "barcode": [DocumentPropertiesBarcodeInner.from_dict(_item) for _item in obj["barcode"]] if obj.get("barcode") is not None else None,
197
261
  "nfc": DocumentPropertiesNfc.from_dict(obj["nfc"]) if obj.get("nfc") is not None else None,
@@ -29,10 +29,11 @@ class WebhookEventPayloadObject(BaseModel):
29
29
  """ # noqa: E501
30
30
  id: StrictStr = Field(description="The unique identifier of the resource.")
31
31
  status: Optional[StrictStr] = Field(default=None, description="The current state of the object, if available.")
32
+ started_at_iso8601: Optional[datetime] = Field(default=None, description="The date and time when the operation was started, if available.")
32
33
  completed_at_iso8601: Optional[datetime] = Field(default=None, description="The date and time when the operation was completed, if available.")
33
34
  href: StrictStr = Field(description="The uri of the resource.")
34
35
  additional_properties: Dict[str, Any] = {}
35
- __properties: ClassVar[List[str]] = ["id", "status", "completed_at_iso8601", "href"]
36
+ __properties: ClassVar[List[str]] = ["id", "status", "started_at_iso8601", "completed_at_iso8601", "href"]
36
37
 
37
38
  model_config = ConfigDict(
38
39
  populate_by_name=True,
@@ -94,6 +95,7 @@ class WebhookEventPayloadObject(BaseModel):
94
95
  _obj = cls.model_validate({
95
96
  "id": obj.get("id"),
96
97
  "status": obj.get("status"),
98
+ "started_at_iso8601": obj.get("started_at_iso8601"),
97
99
  "completed_at_iso8601": obj.get("completed_at_iso8601"),
98
100
  "href": obj.get("href")
99
101
  })