onfido 4.6.0 → 5.1.0

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 (309) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/MIGRATION.md +29 -0
  4. data/README.md +3 -3
  5. data/lib/onfido/api/default_api.rb +130 -5
  6. data/lib/onfido/api_client.rb +3 -2
  7. data/lib/onfido/api_error.rb +1 -1
  8. data/lib/onfido/configuration.rb +1 -1
  9. data/lib/onfido/models/address.rb +1 -1
  10. data/lib/onfido/models/address_builder.rb +1 -1
  11. data/lib/onfido/models/address_shared.rb +1 -1
  12. data/lib/onfido/models/addresses_list.rb +1 -1
  13. data/lib/onfido/models/applicant.rb +1 -1
  14. data/lib/onfido/models/applicant_builder.rb +1 -1
  15. data/lib/onfido/models/applicant_consent.rb +272 -0
  16. data/lib/onfido/models/applicant_consent_builder.rb +1 -1
  17. data/lib/onfido/models/applicant_consent_name.rb +1 -1
  18. data/lib/onfido/models/applicant_create.rb +1 -1
  19. data/lib/onfido/models/applicant_request.rb +1 -1
  20. data/lib/onfido/models/applicant_response.rb +1 -1
  21. data/lib/onfido/models/applicant_shared.rb +1 -1
  22. data/lib/onfido/models/applicant_update.rb +1 -1
  23. data/lib/onfido/models/applicant_updater.rb +1 -1
  24. data/lib/onfido/models/applicants_list.rb +1 -1
  25. data/lib/onfido/models/check.rb +1 -1
  26. data/lib/onfido/models/check_builder.rb +1 -1
  27. data/lib/onfido/models/check_request.rb +1 -1
  28. data/lib/onfido/models/check_response.rb +1 -1
  29. data/lib/onfido/models/check_shared.rb +1 -1
  30. data/lib/onfido/models/check_status.rb +1 -1
  31. data/lib/onfido/models/checks_list.rb +1 -1
  32. data/lib/onfido/models/complete_task_builder.rb +1 -1
  33. data/lib/onfido/models/complete_task_data_builder.rb +1 -1
  34. data/lib/onfido/models/country_codes.rb +1 -1
  35. data/lib/onfido/models/device_intelligence_breakdown.rb +11 -2
  36. data/lib/onfido/models/device_intelligence_breakdown_breakdown.rb +2 -2
  37. data/lib/onfido/models/{device_intelligence_breakdown_breakdown_device.rb → device_intelligence_breakdown_device.rb} +5 -5
  38. data/lib/onfido/models/{device_intelligence_breakdown_breakdown_device_breakdown.rb → device_intelligence_breakdown_device_breakdown.rb} +4 -4
  39. data/lib/onfido/models/device_intelligence_breakdown_properties.rb +1 -1
  40. data/lib/onfido/models/device_intelligence_breakdown_properties_device.rb +2 -2
  41. data/lib/onfido/models/device_intelligence_breakdown_properties_geolocation.rb +1 -1
  42. data/lib/onfido/models/device_intelligence_breakdown_properties_ip.rb +1 -1
  43. data/lib/onfido/models/device_intelligence_properties.rb +232 -0
  44. data/lib/onfido/models/device_intelligence_report.rb +14 -17
  45. data/lib/onfido/models/document.rb +1 -13
  46. data/lib/onfido/models/document_breakdown.rb +1 -1
  47. data/lib/onfido/models/document_breakdown_age_validation.rb +1 -1
  48. data/lib/onfido/models/document_breakdown_age_validation_breakdown.rb +1 -1
  49. data/lib/onfido/models/document_breakdown_compromised_document.rb +1 -1
  50. data/lib/onfido/models/document_breakdown_compromised_document_breakdown.rb +1 -1
  51. data/lib/onfido/models/document_breakdown_data_comparison.rb +1 -1
  52. data/lib/onfido/models/document_breakdown_data_comparison_breakdown.rb +1 -1
  53. data/lib/onfido/models/document_breakdown_data_comparison_breakdown_issuing_country.rb +1 -1
  54. data/lib/onfido/models/document_breakdown_data_consistency.rb +1 -1
  55. data/lib/onfido/models/document_breakdown_data_consistency_breakdown.rb +1 -1
  56. data/lib/onfido/models/document_breakdown_data_validation.rb +1 -1
  57. data/lib/onfido/models/document_breakdown_data_validation_breakdown.rb +1 -1
  58. data/lib/onfido/models/document_breakdown_data_validation_breakdown_document_expiration.rb +1 -1
  59. data/lib/onfido/models/document_breakdown_data_validation_breakdown_expiry_date.rb +1 -1
  60. data/lib/onfido/models/document_breakdown_image_integrity.rb +1 -1
  61. data/lib/onfido/models/document_breakdown_image_integrity_breakdown.rb +1 -1
  62. data/lib/onfido/models/document_breakdown_image_integrity_breakdown_colour_picture.rb +1 -1
  63. data/lib/onfido/models/document_breakdown_image_integrity_breakdown_conclusive_document_quality.rb +1 -1
  64. data/lib/onfido/models/document_breakdown_image_integrity_breakdown_image_quality.rb +1 -1
  65. data/lib/onfido/models/document_breakdown_image_integrity_breakdown_supported_document.rb +1 -1
  66. data/lib/onfido/models/document_breakdown_issuing_authority.rb +1 -1
  67. data/lib/onfido/models/document_breakdown_issuing_authority_breakdown.rb +1 -1
  68. data/lib/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_active_authentication.rb +1 -1
  69. data/lib/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_passive_authentication.rb +1 -1
  70. data/lib/onfido/models/document_breakdown_police_record.rb +1 -1
  71. data/lib/onfido/models/document_breakdown_visual_authenticity.rb +1 -1
  72. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown.rb +1 -1
  73. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_digital_tampering.rb +1 -1
  74. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_face_detection.rb +1 -1
  75. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_fonts.rb +1 -1
  76. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_original_document_present.rb +1 -1
  77. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_other.rb +1 -1
  78. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_picture_face_integrity.rb +1 -1
  79. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_security_features.rb +1 -1
  80. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_template.rb +1 -1
  81. data/lib/onfido/models/document_cdq_reasons.rb +1 -1
  82. data/lib/onfido/models/document_iq_reasons.rb +1 -1
  83. data/lib/onfido/models/document_odp_reasons.rb +1 -1
  84. data/lib/onfido/models/document_properties.rb +5 -3
  85. data/lib/onfido/models/document_properties_address_lines.rb +1 -1
  86. data/lib/onfido/models/document_properties_barcode_inner.rb +1 -1
  87. data/lib/onfido/models/document_properties_document_classification.rb +1 -1
  88. data/lib/onfido/models/document_properties_document_numbers_inner.rb +1 -1
  89. data/lib/onfido/models/{document_properties_driving_licence_information.rb → document_properties_driving_licence_information_item.rb} +4 -4
  90. data/lib/onfido/models/document_properties_extracted_data.rb +1 -1
  91. data/lib/onfido/models/document_properties_nfc.rb +1 -1
  92. data/lib/onfido/models/document_report.rb +15 -14
  93. data/lib/onfido/models/document_report_shared.rb +217 -0
  94. data/lib/onfido/models/document_response.rb +1 -1
  95. data/lib/onfido/models/document_shared.rb +1 -13
  96. data/lib/onfido/models/document_types.rb +1 -1
  97. data/lib/onfido/models/document_video_report.rb +15 -14
  98. data/lib/onfido/models/document_video_with_address_information_report.rb +15 -14
  99. data/lib/onfido/models/document_with_address_information_report.rb +15 -14
  100. data/lib/onfido/models/document_with_driver_verification_report.rb +15 -14
  101. data/lib/onfido/models/document_with_driver_verification_report_all_of_properties.rb +5 -3
  102. data/lib/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle.rb +1 -1
  103. data/lib/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner.rb +1 -1
  104. data/lib/onfido/models/document_with_driving_licence_information_report.rb +15 -14
  105. data/lib/onfido/models/documents_list.rb +1 -1
  106. data/lib/onfido/models/error.rb +1 -1
  107. data/lib/onfido/models/error1.rb +1 -1
  108. data/lib/onfido/models/error_properties.rb +1 -1
  109. data/lib/onfido/models/error_properties1.rb +1 -1
  110. data/lib/onfido/models/extract_request.rb +1 -1
  111. data/lib/onfido/models/extraction.rb +1 -1
  112. data/lib/onfido/models/extraction_document_classification.rb +1 -1
  113. data/lib/onfido/models/extraction_extracted_data.rb +1 -1
  114. data/lib/onfido/models/facial_similarity_motion_breakdown.rb +1 -1
  115. data/lib/onfido/models/facial_similarity_motion_breakdown_face_comparison.rb +1 -1
  116. data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity.rb +1 -1
  117. data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown.rb +1 -1
  118. data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_face_detected.rb +1 -1
  119. data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_source_integrity.rb +1 -1
  120. data/lib/onfido/models/facial_similarity_motion_breakdown_visual_authenticity.rb +1 -1
  121. data/lib/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown.rb +1 -1
  122. data/lib/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown_spoofing_detection.rb +1 -1
  123. data/lib/onfido/models/facial_similarity_motion_properties.rb +1 -1
  124. data/lib/onfido/models/facial_similarity_motion_report.rb +14 -14
  125. data/lib/onfido/models/facial_similarity_photo_breakdown.rb +1 -1
  126. data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison.rb +1 -1
  127. data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown.rb +1 -1
  128. data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match.rb +1 -1
  129. data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match_properties.rb +1 -1
  130. data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity.rb +1 -1
  131. data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown.rb +1 -1
  132. data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_face_detected.rb +1 -1
  133. data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_source_integrity.rb +1 -1
  134. data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity.rb +1 -1
  135. data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown.rb +1 -1
  136. data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection.rb +1 -1
  137. data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection_properties.rb +1 -1
  138. data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown.rb +1 -1
  139. data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity.rb +1 -1
  140. data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown.rb +1 -1
  141. data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown_source_integrity.rb +1 -1
  142. data/lib/onfido/models/facial_similarity_photo_fully_auto_properties.rb +1 -1
  143. data/lib/onfido/models/facial_similarity_photo_fully_auto_report.rb +14 -14
  144. data/lib/onfido/models/facial_similarity_photo_properties.rb +1 -1
  145. data/lib/onfido/models/facial_similarity_photo_report.rb +14 -14
  146. data/lib/onfido/models/facial_similarity_report_media.rb +1 -1
  147. data/lib/onfido/models/facial_similarity_report_shared.rb +14 -2
  148. data/lib/onfido/models/facial_similarity_video_breakdown.rb +1 -1
  149. data/lib/onfido/models/facial_similarity_video_breakdown_face_comparison.rb +1 -1
  150. data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity.rb +1 -1
  151. data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown.rb +1 -1
  152. data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_face_detected.rb +1 -1
  153. data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_source_integrity.rb +1 -1
  154. data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity.rb +1 -1
  155. data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown.rb +1 -1
  156. data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected.rb +1 -1
  157. data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection.rb +1 -1
  158. data/lib/onfido/models/facial_similarity_video_properties.rb +1 -1
  159. data/lib/onfido/models/facial_similarity_video_report.rb +14 -14
  160. data/lib/onfido/models/id_number.rb +1 -1
  161. data/lib/onfido/models/id_photo.rb +1 -1
  162. data/lib/onfido/models/id_photo_response.rb +1 -1
  163. data/lib/onfido/models/id_photos_list.rb +1 -1
  164. data/lib/onfido/models/identity_enhanced_breakdown.rb +1 -1
  165. data/lib/onfido/models/identity_enhanced_breakdown_address.rb +1 -1
  166. data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown.rb +1 -1
  167. data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies.rb +1 -1
  168. data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies_properties.rb +1 -1
  169. data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_telephone_database.rb +1 -1
  170. data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_voting_register.rb +1 -1
  171. data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth.rb +1 -1
  172. data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown.rb +1 -1
  173. data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_credit_agencies.rb +1 -1
  174. data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_voting_register.rb +1 -1
  175. data/lib/onfido/models/identity_enhanced_breakdown_mortality.rb +1 -1
  176. data/lib/onfido/models/identity_enhanced_breakdown_sources.rb +1 -1
  177. data/lib/onfido/models/identity_enhanced_breakdown_sources_breakdown.rb +1 -1
  178. data/lib/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources.rb +1 -1
  179. data/lib/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources_properties.rb +1 -1
  180. data/lib/onfido/models/identity_enhanced_properties.rb +1 -1
  181. data/lib/onfido/models/identity_enhanced_properties_matched_addresses_inner.rb +1 -1
  182. data/lib/onfido/models/identity_enhanced_report.rb +2 -14
  183. data/lib/onfido/models/india_pan_report.rb +2 -14
  184. data/lib/onfido/models/india_pan_report_all_of_breakdown.rb +1 -1
  185. data/lib/onfido/models/india_pan_report_all_of_breakdown_device.rb +1 -1
  186. data/lib/onfido/models/india_pan_report_all_of_breakdown_device_breakdown.rb +1 -1
  187. data/lib/onfido/models/india_pan_report_all_of_breakdown_device_breakdown_pan_valid.rb +1 -1
  188. data/lib/onfido/models/india_pan_report_all_of_properties.rb +1 -1
  189. data/lib/onfido/models/india_pan_report_all_of_properties_device.rb +1 -1
  190. data/lib/onfido/models/known_faces_breakdown.rb +1 -1
  191. data/lib/onfido/models/known_faces_breakdown_image_integrity.rb +1 -1
  192. data/lib/onfido/models/known_faces_breakdown_previously_seen_faces.rb +1 -1
  193. data/lib/onfido/models/known_faces_properties.rb +1 -1
  194. data/lib/onfido/models/known_faces_properties_matches_inner.rb +1 -1
  195. data/lib/onfido/models/known_faces_report.rb +2 -14
  196. data/lib/onfido/models/live_photo.rb +1 -1
  197. data/lib/onfido/models/live_photo_response.rb +1 -1
  198. data/lib/onfido/models/live_photos_list.rb +1 -1
  199. data/lib/onfido/models/live_video.rb +1 -1
  200. data/lib/onfido/models/live_videos_list.rb +1 -1
  201. data/lib/onfido/models/location.rb +1 -1
  202. data/lib/onfido/models/location_builder.rb +1 -1
  203. data/lib/onfido/models/location_shared.rb +1 -1
  204. data/lib/onfido/models/motion_capture.rb +1 -1
  205. data/lib/onfido/models/motion_captures_list.rb +1 -1
  206. data/lib/onfido/models/photo_auto_reasons.rb +1 -1
  207. data/lib/onfido/models/photo_reasons.rb +1 -1
  208. data/lib/onfido/models/proof_of_address_breakdown.rb +1 -1
  209. data/lib/onfido/models/proof_of_address_breakdown_data_comparison.rb +1 -1
  210. data/lib/onfido/models/proof_of_address_breakdown_data_comparison_breakdown.rb +1 -1
  211. data/lib/onfido/models/proof_of_address_breakdown_document_classification.rb +1 -1
  212. data/lib/onfido/models/proof_of_address_breakdown_document_classification_breakdown.rb +1 -1
  213. data/lib/onfido/models/proof_of_address_breakdown_image_integrity.rb +1 -1
  214. data/lib/onfido/models/proof_of_address_breakdown_image_integrity_breakdown.rb +1 -1
  215. data/lib/onfido/models/proof_of_address_properties.rb +1 -1
  216. data/lib/onfido/models/proof_of_address_report.rb +2 -14
  217. data/lib/onfido/models/repeat_attempts_list.rb +1 -1
  218. data/lib/onfido/models/repeat_attempts_list_repeat_attempts_inner.rb +1 -1
  219. data/lib/onfido/models/report.rb +1 -1
  220. data/lib/onfido/models/report_document.rb +1 -1
  221. data/lib/onfido/models/report_name.rb +1 -1
  222. data/lib/onfido/models/report_result.rb +1 -1
  223. data/lib/onfido/models/report_shared.rb +2 -14
  224. data/lib/onfido/models/report_status.rb +1 -1
  225. data/lib/onfido/models/report_sub_result.rb +1 -1
  226. data/lib/onfido/models/reports_list.rb +1 -1
  227. data/lib/onfido/models/results_feedback.rb +1 -1
  228. data/lib/onfido/models/sdk_token.rb +1 -1
  229. data/lib/onfido/models/sdk_token_builder.rb +1 -1
  230. data/lib/onfido/models/sdk_token_request.rb +1 -1
  231. data/lib/onfido/models/sdk_token_response.rb +1 -1
  232. data/lib/onfido/models/task.rb +1 -1
  233. data/lib/onfido/models/task_item.rb +1 -1
  234. data/lib/onfido/models/timeline_file_reference.rb +1 -1
  235. data/lib/onfido/models/us_driving_licence_breakdown.rb +1 -1
  236. data/lib/onfido/models/us_driving_licence_breakdown_address.rb +1 -1
  237. data/lib/onfido/models/us_driving_licence_breakdown_address_breakdown.rb +1 -1
  238. data/lib/onfido/models/us_driving_licence_breakdown_document.rb +1 -1
  239. data/lib/onfido/models/us_driving_licence_breakdown_document_breakdown.rb +1 -1
  240. data/lib/onfido/models/us_driving_licence_breakdown_personal.rb +1 -1
  241. data/lib/onfido/models/us_driving_licence_breakdown_personal_breakdown.rb +1 -1
  242. data/lib/onfido/models/us_driving_licence_builder.rb +1 -1
  243. data/lib/onfido/models/us_driving_licence_report.rb +2 -14
  244. data/lib/onfido/models/us_driving_licence_shared.rb +1 -1
  245. data/lib/onfido/models/video_reasons.rb +1 -1
  246. data/lib/onfido/models/watchlist_aml_breakdown.rb +1 -1
  247. data/lib/onfido/models/watchlist_aml_breakdown_adverse_media.rb +1 -1
  248. data/lib/onfido/models/watchlist_aml_breakdown_legal_and_regulatory_warnings.rb +1 -1
  249. data/lib/onfido/models/watchlist_aml_breakdown_politically_exposed_person.rb +1 -1
  250. data/lib/onfido/models/watchlist_aml_breakdown_sanction.rb +1 -1
  251. data/lib/onfido/models/watchlist_aml_properties.rb +2 -2
  252. data/lib/onfido/models/watchlist_aml_report.rb +2 -14
  253. data/lib/onfido/models/watchlist_enhanced_breakdown.rb +1 -1
  254. data/lib/onfido/models/watchlist_enhanced_properties.rb +1 -1
  255. data/lib/onfido/models/watchlist_enhanced_properties_records_inner.rb +1 -1
  256. data/lib/onfido/models/watchlist_enhanced_properties_records_inner_address_inner.rb +1 -1
  257. data/lib/onfido/models/watchlist_enhanced_properties_records_inner_alias_inner.rb +1 -1
  258. data/lib/onfido/models/watchlist_enhanced_properties_records_inner_associate_inner.rb +1 -1
  259. data/lib/onfido/models/watchlist_enhanced_properties_records_inner_attribute_inner.rb +1 -1
  260. data/lib/onfido/models/watchlist_enhanced_properties_records_inner_event_inner.rb +1 -1
  261. data/lib/onfido/models/watchlist_enhanced_properties_records_inner_event_inner_source.rb +1 -1
  262. data/lib/onfido/models/watchlist_enhanced_properties_records_inner_source_inner.rb +1 -1
  263. data/lib/onfido/models/watchlist_enhanced_report.rb +2 -14
  264. data/lib/onfido/models/watchlist_monitor.rb +1 -1
  265. data/lib/onfido/models/watchlist_monitor_builder.rb +1 -1
  266. data/lib/onfido/models/watchlist_monitor_match.rb +1 -1
  267. data/lib/onfido/models/watchlist_monitor_matches_list.rb +1 -1
  268. data/lib/onfido/models/watchlist_monitor_matches_updater.rb +1 -1
  269. data/lib/onfido/models/watchlist_monitor_response.rb +1 -1
  270. data/lib/onfido/models/watchlist_monitor_shared.rb +1 -1
  271. data/lib/onfido/models/watchlist_monitors_list.rb +1 -1
  272. data/lib/onfido/models/watchlist_peps_only_report.rb +2 -14
  273. data/lib/onfido/models/watchlist_sanctions_only_report.rb +2 -14
  274. data/lib/onfido/models/watchlist_standard_breakdown.rb +1 -1
  275. data/lib/onfido/models/watchlist_standard_properties.rb +2 -2
  276. data/lib/onfido/models/watchlist_standard_report.rb +2 -14
  277. data/lib/onfido/models/webhook.rb +52 -2
  278. data/lib/onfido/models/webhook_builder.rb +52 -2
  279. data/lib/onfido/models/webhook_create.rb +1 -1
  280. data/lib/onfido/models/webhook_event.rb +1 -1
  281. data/lib/onfido/models/webhook_event_object_status.rb +1 -1
  282. data/lib/onfido/models/webhook_event_payload.rb +1 -1
  283. data/lib/onfido/models/webhook_event_payload_object.rb +1 -8
  284. data/lib/onfido/models/webhook_event_payload_resource.rb +1 -1
  285. data/lib/onfido/models/webhook_event_resource_type.rb +1 -1
  286. data/lib/onfido/models/webhook_event_type.rb +2 -3
  287. data/lib/onfido/models/webhook_resend.rb +1 -1
  288. data/lib/onfido/models/webhook_response.rb +1 -1
  289. data/lib/onfido/models/webhook_shared.rb +55 -5
  290. data/lib/onfido/models/webhook_update.rb +1 -1
  291. data/lib/onfido/models/webhook_updater.rb +52 -2
  292. data/lib/onfido/models/webhooks_list.rb +1 -1
  293. data/lib/onfido/models/webhooks_resend_item.rb +1 -1
  294. data/lib/onfido/models/workflow_run.rb +1 -1
  295. data/lib/onfido/models/workflow_run_builder.rb +1 -1
  296. data/lib/onfido/models/workflow_run_error.rb +1 -1
  297. data/lib/onfido/models/workflow_run_link.rb +1 -1
  298. data/lib/onfido/models/workflow_run_request.rb +1 -1
  299. data/lib/onfido/models/workflow_run_response.rb +1 -1
  300. data/lib/onfido/models/workflow_run_shared.rb +1 -1
  301. data/lib/onfido/models/workflow_run_status.rb +1 -1
  302. data/lib/onfido/version.rb +2 -2
  303. data/lib/onfido.rb +7 -4
  304. data/onfido.gemspec +1 -1
  305. data/spec/integrations/applicant_spec.rb +28 -0
  306. data/spec/integrations/document_spec.rb +14 -2
  307. data/spec/integrations/report_schema_spec.rb +33 -0
  308. data/spec/shared_contexts/with_document.rb +4 -0
  309. metadata +26 -23
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3.6
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -27,13 +27,33 @@ module Onfido
27
27
  # Webhook version used to control the payload object when sending webhooks.
28
28
  attr_accessor :payload_version
29
29
 
30
+ # Determines if the webhook will fetch OAuth access tokens to send in the Authorization header.
31
+ attr_accessor :oauth_enabled
32
+
33
+ # The url to fetch the OAuth access token using client credentials grant.
34
+ attr_accessor :oauth_server_url
35
+
36
+ # The client id to authenticate the client credentials grant.
37
+ attr_accessor :oauth_server_client_id
38
+
39
+ # The client secret to authenticate the client credentials grant.
40
+ attr_accessor :oauth_server_client_secret
41
+
42
+ # The scopes to be sent when requesting the access token.
43
+ attr_accessor :oauth_server_scope
44
+
30
45
  # Attribute mapping from ruby-style variable name to JSON key.
31
46
  def self.attribute_map
32
47
  {
33
48
  :'enabled' => :'enabled',
34
49
  :'events' => :'events',
35
50
  :'environments' => :'environments',
36
- :'payload_version' => :'payload_version'
51
+ :'payload_version' => :'payload_version',
52
+ :'oauth_enabled' => :'oauth_enabled',
53
+ :'oauth_server_url' => :'oauth_server_url',
54
+ :'oauth_server_client_id' => :'oauth_server_client_id',
55
+ :'oauth_server_client_secret' => :'oauth_server_client_secret',
56
+ :'oauth_server_scope' => :'oauth_server_scope'
37
57
  }
38
58
  end
39
59
 
@@ -48,7 +68,12 @@ module Onfido
48
68
  :'enabled' => :'Boolean',
49
69
  :'events' => :'Array<WebhookEventType>',
50
70
  :'environments' => :'Array<String>',
51
- :'payload_version' => :'Integer'
71
+ :'payload_version' => :'Integer',
72
+ :'oauth_enabled' => :'Boolean',
73
+ :'oauth_server_url' => :'String',
74
+ :'oauth_server_client_id' => :'String',
75
+ :'oauth_server_client_secret' => :'String',
76
+ :'oauth_server_scope' => :'String'
52
77
  }
53
78
  end
54
79
 
@@ -92,6 +117,26 @@ module Onfido
92
117
  if attributes.key?(:'payload_version')
93
118
  self.payload_version = attributes[:'payload_version']
94
119
  end
120
+
121
+ if attributes.key?(:'oauth_enabled')
122
+ self.oauth_enabled = attributes[:'oauth_enabled']
123
+ end
124
+
125
+ if attributes.key?(:'oauth_server_url')
126
+ self.oauth_server_url = attributes[:'oauth_server_url']
127
+ end
128
+
129
+ if attributes.key?(:'oauth_server_client_id')
130
+ self.oauth_server_client_id = attributes[:'oauth_server_client_id']
131
+ end
132
+
133
+ if attributes.key?(:'oauth_server_client_secret')
134
+ self.oauth_server_client_secret = attributes[:'oauth_server_client_secret']
135
+ end
136
+
137
+ if attributes.key?(:'oauth_server_scope')
138
+ self.oauth_server_scope = attributes[:'oauth_server_scope']
139
+ end
95
140
  end
96
141
 
97
142
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -117,7 +162,12 @@ module Onfido
117
162
  enabled == o.enabled &&
118
163
  events == o.events &&
119
164
  environments == o.environments &&
120
- payload_version == o.payload_version
165
+ payload_version == o.payload_version &&
166
+ oauth_enabled == o.oauth_enabled &&
167
+ oauth_server_url == o.oauth_server_url &&
168
+ oauth_server_client_id == o.oauth_server_client_id &&
169
+ oauth_server_client_secret == o.oauth_server_client_secret &&
170
+ oauth_server_scope == o.oauth_server_scope
121
171
  end
122
172
 
123
173
  # @see the `==` method
@@ -129,7 +179,7 @@ module Onfido
129
179
  # Calculates hash code according to all attributes.
130
180
  # @return [Integer] Hash code
131
181
  def hash
132
- [enabled, events, environments, payload_version].hash
182
+ [enabled, events, environments, payload_version, oauth_enabled, oauth_server_url, oauth_server_client_id, oauth_server_client_secret, oauth_server_scope].hash
133
183
  end
134
184
 
135
185
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3.6
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3.6
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -27,6 +27,21 @@ module Onfido
27
27
  # Webhook version used to control the payload object when sending webhooks.
28
28
  attr_accessor :payload_version
29
29
 
30
+ # Determines if the webhook will fetch OAuth access tokens to send in the Authorization header.
31
+ attr_accessor :oauth_enabled
32
+
33
+ # The url to fetch the OAuth access token using client credentials grant.
34
+ attr_accessor :oauth_server_url
35
+
36
+ # The client id to authenticate the client credentials grant.
37
+ attr_accessor :oauth_server_client_id
38
+
39
+ # The client secret to authenticate the client credentials grant.
40
+ attr_accessor :oauth_server_client_secret
41
+
42
+ # The scopes to be sent when requesting the access token.
43
+ attr_accessor :oauth_server_scope
44
+
30
45
  # The url that will listen to notifications (must be https).
31
46
  attr_accessor :url
32
47
 
@@ -37,6 +52,11 @@ module Onfido
37
52
  :'events' => :'events',
38
53
  :'environments' => :'environments',
39
54
  :'payload_version' => :'payload_version',
55
+ :'oauth_enabled' => :'oauth_enabled',
56
+ :'oauth_server_url' => :'oauth_server_url',
57
+ :'oauth_server_client_id' => :'oauth_server_client_id',
58
+ :'oauth_server_client_secret' => :'oauth_server_client_secret',
59
+ :'oauth_server_scope' => :'oauth_server_scope',
40
60
  :'url' => :'url'
41
61
  }
42
62
  end
@@ -53,6 +73,11 @@ module Onfido
53
73
  :'events' => :'Array<WebhookEventType>',
54
74
  :'environments' => :'Array<String>',
55
75
  :'payload_version' => :'Integer',
76
+ :'oauth_enabled' => :'Boolean',
77
+ :'oauth_server_url' => :'String',
78
+ :'oauth_server_client_id' => :'String',
79
+ :'oauth_server_client_secret' => :'String',
80
+ :'oauth_server_scope' => :'String',
56
81
  :'url' => :'String'
57
82
  }
58
83
  end
@@ -106,6 +131,26 @@ module Onfido
106
131
  self.payload_version = attributes[:'payload_version']
107
132
  end
108
133
 
134
+ if attributes.key?(:'oauth_enabled')
135
+ self.oauth_enabled = attributes[:'oauth_enabled']
136
+ end
137
+
138
+ if attributes.key?(:'oauth_server_url')
139
+ self.oauth_server_url = attributes[:'oauth_server_url']
140
+ end
141
+
142
+ if attributes.key?(:'oauth_server_client_id')
143
+ self.oauth_server_client_id = attributes[:'oauth_server_client_id']
144
+ end
145
+
146
+ if attributes.key?(:'oauth_server_client_secret')
147
+ self.oauth_server_client_secret = attributes[:'oauth_server_client_secret']
148
+ end
149
+
150
+ if attributes.key?(:'oauth_server_scope')
151
+ self.oauth_server_scope = attributes[:'oauth_server_scope']
152
+ end
153
+
109
154
  if attributes.key?(:'url')
110
155
  self.url = attributes[:'url']
111
156
  end
@@ -135,6 +180,11 @@ module Onfido
135
180
  events == o.events &&
136
181
  environments == o.environments &&
137
182
  payload_version == o.payload_version &&
183
+ oauth_enabled == o.oauth_enabled &&
184
+ oauth_server_url == o.oauth_server_url &&
185
+ oauth_server_client_id == o.oauth_server_client_id &&
186
+ oauth_server_client_secret == o.oauth_server_client_secret &&
187
+ oauth_server_scope == o.oauth_server_scope &&
138
188
  url == o.url
139
189
  end
140
190
 
@@ -147,7 +197,7 @@ module Onfido
147
197
  # Calculates hash code according to all attributes.
148
198
  # @return [Integer] Hash code
149
199
  def hash
150
- [enabled, events, environments, payload_version, url].hash
200
+ [enabled, events, environments, payload_version, oauth_enabled, oauth_server_url, oauth_server_client_id, oauth_server_client_secret, oauth_server_scope, url].hash
151
201
  end
152
202
 
153
203
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3.6
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3.6
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3.6
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3.6
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3.6
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3.6
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3.6
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3.6
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3.6
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3.6
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -6,10 +6,10 @@
6
6
  The version of the OpenAPI document: v3.6
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
13
13
  module Onfido
14
- VERSION = '4.6.0'
14
+ VERSION = '5.1.0'
15
15
  end
data/lib/onfido.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3.6
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -23,6 +23,7 @@ require 'onfido/models/address_shared'
23
23
  require 'onfido/models/addresses_list'
24
24
  require 'onfido/models/applicant'
25
25
  require 'onfido/models/applicant_builder'
26
+ require 'onfido/models/applicant_consent'
26
27
  require 'onfido/models/applicant_consent_builder'
27
28
  require 'onfido/models/applicant_consent_name'
28
29
  require 'onfido/models/applicant_create'
@@ -44,12 +45,13 @@ require 'onfido/models/complete_task_data_builder'
44
45
  require 'onfido/models/country_codes'
45
46
  require 'onfido/models/device_intelligence_breakdown'
46
47
  require 'onfido/models/device_intelligence_breakdown_breakdown'
47
- require 'onfido/models/device_intelligence_breakdown_breakdown_device'
48
- require 'onfido/models/device_intelligence_breakdown_breakdown_device_breakdown'
48
+ require 'onfido/models/device_intelligence_breakdown_device'
49
+ require 'onfido/models/device_intelligence_breakdown_device_breakdown'
49
50
  require 'onfido/models/device_intelligence_breakdown_properties'
50
51
  require 'onfido/models/device_intelligence_breakdown_properties_device'
51
52
  require 'onfido/models/device_intelligence_breakdown_properties_geolocation'
52
53
  require 'onfido/models/device_intelligence_breakdown_properties_ip'
54
+ require 'onfido/models/device_intelligence_properties'
53
55
  require 'onfido/models/device_intelligence_report'
54
56
  require 'onfido/models/document'
55
57
  require 'onfido/models/document_breakdown'
@@ -95,10 +97,11 @@ require 'onfido/models/document_properties_address_lines'
95
97
  require 'onfido/models/document_properties_barcode_inner'
96
98
  require 'onfido/models/document_properties_document_classification'
97
99
  require 'onfido/models/document_properties_document_numbers_inner'
98
- require 'onfido/models/document_properties_driving_licence_information'
100
+ require 'onfido/models/document_properties_driving_licence_information_item'
99
101
  require 'onfido/models/document_properties_extracted_data'
100
102
  require 'onfido/models/document_properties_nfc'
101
103
  require 'onfido/models/document_report'
104
+ require 'onfido/models/document_report_shared'
102
105
  require 'onfido/models/document_response'
103
106
  require 'onfido/models/document_shared'
104
107
  require 'onfido/models/document_types'
data/onfido.gemspec CHANGED
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: v3.6
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- Generator version: 7.9.0
11
+ Generator version: 7.11.0
12
12
 
13
13
  =end
14
14
 
@@ -80,6 +80,34 @@ describe Onfido::Applicant do
80
80
  expect(updated_applicant.dob).to eq Date.parse('1968-04-08')
81
81
  end
82
82
 
83
+ it 'lists applicant consents' do
84
+ new_applicant_data = Onfido::ApplicantUpdater.new(
85
+ 'consents' => [{
86
+ 'name' => Onfido::ApplicantConsentName::PRIVACY_NOTICES_READ,
87
+ 'granted' => true
88
+ },
89
+ {
90
+ 'name' => Onfido::ApplicantConsentName::SSN_VERIFICATION,
91
+ 'granted' => true
92
+ },
93
+ {
94
+ 'name' => Onfido::ApplicantConsentName::PHONE_NUMBER_VERIFICATION,
95
+ 'granted' => true
96
+ }]
97
+ )
98
+ onfido_api.update_applicant(applicant_id, new_applicant_data)
99
+
100
+ expected_consents = [
101
+ have_attributes(name: "phone_number_verification", granted: true),
102
+ have_attributes(name: "privacy_notices_read", granted: true),
103
+ have_attributes(name: "ssn_verification", granted: true)
104
+ ]
105
+
106
+ consents = onfido_api.find_applicant_consents(applicant_id)
107
+ expect(consents).to contain_exactly(*expected_consents)
108
+
109
+ end
110
+
83
111
  it 'deletes an applicant' do
84
112
  onfido_api.delete_applicant(applicant_id)
85
113
 
@@ -34,13 +34,25 @@ describe Onfido::Document do
34
34
  end
35
35
 
36
36
  it 'cannot download an inexistent document' do
37
- inexistent_document_id = '00000000-0000-0000-0000-000000000000'
38
-
39
37
  expect {
40
38
  onfido_api.download_document(inexistent_document_id)
41
39
  }.to raise_error(Onfido::ApiError) { |e|
42
40
  expect(e.code).to eq(404)
43
41
  }
44
42
  end
43
+
44
+ it 'downloads an NFC face' do
45
+ file = onfido_api.download_nfc_face(nfc_face_id)
46
+
47
+ expect(file.size).to be > 0
48
+ end
49
+
50
+ it 'cannot download an inexistent NFC face' do
51
+ expect {
52
+ onfido_api.download_nfc_face(inexistent_document_id)
53
+ }.to raise_error(Onfido::ApiError) { |e|
54
+ expect(e.code).to eq(404)
55
+ }
56
+ end
45
57
  end
46
58
  end
@@ -58,5 +58,38 @@ describe Onfido::Report do
58
58
  expect(report.properties.barcode[0]).to be_an_instance_of Onfido::DocumentPropertiesBarcodeInner
59
59
  expect(report.properties.barcode[0].document_type).to eq("driving_licence")
60
60
  end
61
+
62
+ it 'schema of Document With Driving Lincence Information report is valid' do
63
+ report_id = onfido_api.create_check(
64
+ Onfido::CheckBuilder.new(
65
+ applicant_id: applicant_id,
66
+ document_ids: [document_id],
67
+ report_names: [Onfido::ReportName::DOCUMENT_WITH_DRIVING_LICENCE_INFORMATION],
68
+ )).report_ids[0]
69
+
70
+ report = repeat_request_until_status_changes(
71
+ Onfido::ReportStatus::COMPLETE
72
+ ) { onfido_api.find_report(report_id) }
73
+
74
+ expect(report).to be_an_instance_of Onfido::DocumentWithDrivingLicenceInformationReport
75
+ expect(report.properties.driving_licence_information).not_to be_nil
76
+ end
77
+
78
+ it 'schema of Device Intelligence report is valid' do
79
+ report_id = onfido_api.create_check(
80
+ Onfido::CheckBuilder.new(
81
+ applicant_id: applicant_id,
82
+ document_ids: [document_id],
83
+ report_names: [Onfido::ReportName::DEVICE_INTELLIGENCE],
84
+ )).report_ids[0]
85
+
86
+ report = repeat_request_until_status_changes(
87
+ Onfido::ReportStatus::COMPLETE
88
+ ) { onfido_api.find_report(report_id) }
89
+
90
+ expect(report).to be_an_instance_of Onfido::DeviceIntelligenceReport
91
+ expect(report.breakdown).not_to be_nil
92
+ expect(report.properties).not_to be_nil
93
+ end
61
94
  end
62
95
  end
@@ -10,4 +10,8 @@ RSpec.shared_context 'with document', shared_context: :metadata do
10
10
 
11
11
  let(:document) { onfido_api.upload_document(Onfido::DocumentTypes::PASSPORT, applicant_id, document_file) }
12
12
  let!(:document_id) { document.id }
13
+
14
+ let(:nfc_face_id) { 'cc2dc25f-2df6-4f8f-a5aa-60f49cef9b3c' }
15
+
16
+ let(:inexistent_document_id) { '00000000-0000-0000-0000-000000000000' }
13
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onfido
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.0
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-24 00:00:00.000000000 Z
11
+ date: 2025-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -144,6 +144,7 @@ files:
144
144
  - lib/onfido/models/addresses_list.rb
145
145
  - lib/onfido/models/applicant.rb
146
146
  - lib/onfido/models/applicant_builder.rb
147
+ - lib/onfido/models/applicant_consent.rb
147
148
  - lib/onfido/models/applicant_consent_builder.rb
148
149
  - lib/onfido/models/applicant_consent_name.rb
149
150
  - lib/onfido/models/applicant_create.rb
@@ -165,12 +166,13 @@ files:
165
166
  - lib/onfido/models/country_codes.rb
166
167
  - lib/onfido/models/device_intelligence_breakdown.rb
167
168
  - lib/onfido/models/device_intelligence_breakdown_breakdown.rb
168
- - lib/onfido/models/device_intelligence_breakdown_breakdown_device.rb
169
- - lib/onfido/models/device_intelligence_breakdown_breakdown_device_breakdown.rb
169
+ - lib/onfido/models/device_intelligence_breakdown_device.rb
170
+ - lib/onfido/models/device_intelligence_breakdown_device_breakdown.rb
170
171
  - lib/onfido/models/device_intelligence_breakdown_properties.rb
171
172
  - lib/onfido/models/device_intelligence_breakdown_properties_device.rb
172
173
  - lib/onfido/models/device_intelligence_breakdown_properties_geolocation.rb
173
174
  - lib/onfido/models/device_intelligence_breakdown_properties_ip.rb
175
+ - lib/onfido/models/device_intelligence_properties.rb
174
176
  - lib/onfido/models/device_intelligence_report.rb
175
177
  - lib/onfido/models/document.rb
176
178
  - lib/onfido/models/document_breakdown.rb
@@ -216,10 +218,11 @@ files:
216
218
  - lib/onfido/models/document_properties_barcode_inner.rb
217
219
  - lib/onfido/models/document_properties_document_classification.rb
218
220
  - lib/onfido/models/document_properties_document_numbers_inner.rb
219
- - lib/onfido/models/document_properties_driving_licence_information.rb
221
+ - lib/onfido/models/document_properties_driving_licence_information_item.rb
220
222
  - lib/onfido/models/document_properties_extracted_data.rb
221
223
  - lib/onfido/models/document_properties_nfc.rb
222
224
  - lib/onfido/models/document_report.rb
225
+ - lib/onfido/models/document_report_shared.rb
223
226
  - lib/onfido/models/document_response.rb
224
227
  - lib/onfido/models/document_shared.rb
225
228
  - lib/onfido/models/document_types.rb
@@ -487,33 +490,33 @@ specification_version: 4
487
490
  summary: The official Ruby library for integrating with the Onfido API.
488
491
  test_files:
489
492
  - spec/classic_webhook_event_verifier_spec.rb
493
+ - spec/integrations/motion_capture_spec.rb
494
+ - spec/integrations/id_photo_spec.rb
495
+ - spec/integrations/check_spec.rb
496
+ - spec/integrations/live_photo_spec.rb
497
+ - spec/integrations/watchlist_monitor_spec.rb
498
+ - spec/integrations/workflow_run_output_spec.rb
499
+ - spec/integrations/media/sample_photo.png
500
+ - spec/integrations/media/sample_driving_licence.png
490
501
  - spec/integrations/live_video_spec.rb
491
502
  - spec/integrations/document_spec.rb
492
- - spec/integrations/live_photo_spec.rb
493
- - spec/integrations/report_schema_spec.rb
494
- - spec/integrations/qualified_electronic_signature_spec.rb
495
- - spec/integrations/motion_capture_spec.rb
496
- - spec/integrations/tasks_spec.rb
497
- - spec/integrations/workflow_run_spec.rb
498
503
  - spec/integrations/webhook_spec.rb
499
- - spec/integrations/report_spec.rb
504
+ - spec/integrations/applicant_spec.rb
500
505
  - spec/integrations/address_picker_spec.rb
501
- - spec/integrations/check_spec.rb
506
+ - spec/integrations/workflow_run_spec.rb
507
+ - spec/integrations/qualified_electronic_signature_spec.rb
508
+ - spec/integrations/report_schema_spec.rb
502
509
  - spec/integrations/sdk_token_spec.rb
510
+ - spec/integrations/tasks_spec.rb
511
+ - spec/integrations/report_spec.rb
503
512
  - spec/integrations/extraction_spec.rb
504
- - spec/integrations/workflow_run_output_spec.rb
505
- - spec/integrations/applicant_spec.rb
506
- - spec/integrations/media/sample_photo.png
507
- - spec/integrations/media/sample_driving_licence.png
508
- - spec/integrations/id_photo_spec.rb
509
- - spec/integrations/watchlist_monitor_spec.rb
510
- - spec/media/studio_webhook_event_with_list_in_output.json
511
513
  - spec/media/studio_webhook_event_with_object_in_output.json
512
- - spec/shared_contexts/with_workflow_run.rb
514
+ - spec/media/studio_webhook_event_with_list_in_output.json
513
515
  - spec/shared_contexts/with_applicant.rb
514
- - spec/shared_contexts/with_live_photo.rb
515
- - spec/shared_contexts/with_document.rb
516
516
  - spec/shared_contexts/with_check.rb
517
+ - spec/shared_contexts/with_workflow_run.rb
517
518
  - spec/shared_contexts/with_onfido.rb
519
+ - spec/shared_contexts/with_live_photo.rb
520
+ - spec/shared_contexts/with_document.rb
518
521
  - spec/spec_helper.rb
519
522
  - spec/studio_webhook_event_verifier_spec.rb