onfido 5.7.0 → 6.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 (322) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/MIGRATION.md +28 -0
  4. data/README.md +2 -2
  5. data/lib/onfido/api/default_api.rb +8 -5
  6. data/lib/onfido/api_client.rb +2 -2
  7. data/lib/onfido/api_error.rb +1 -1
  8. data/lib/onfido/configuration.rb +1 -2
  9. data/lib/onfido/models/address.rb +30 -4
  10. data/lib/onfido/models/address_builder.rb +30 -4
  11. data/lib/onfido/models/address_shared.rb +30 -4
  12. data/lib/onfido/models/addresses_list.rb +10 -4
  13. data/lib/onfido/models/applicant.rb +20 -4
  14. data/lib/onfido/models/applicant_builder.rb +10 -4
  15. data/lib/onfido/models/applicant_consent.rb +30 -4
  16. data/lib/onfido/models/applicant_consent_builder.rb +30 -4
  17. data/lib/onfido/models/applicant_consent_name.rb +1 -1
  18. data/lib/onfido/models/applicant_create.rb +10 -4
  19. data/lib/onfido/models/applicant_request.rb +10 -4
  20. data/lib/onfido/models/applicant_response.rb +20 -4
  21. data/lib/onfido/models/applicant_shared.rb +10 -4
  22. data/lib/onfido/models/applicant_update.rb +10 -4
  23. data/lib/onfido/models/applicant_updater.rb +10 -4
  24. data/lib/onfido/models/applicants_list.rb +20 -4
  25. data/lib/onfido/models/check.rb +30 -4
  26. data/lib/onfido/models/check_builder.rb +30 -4
  27. data/lib/onfido/models/check_request.rb +20 -4
  28. data/lib/onfido/models/check_response.rb +20 -4
  29. data/lib/onfido/models/check_shared.rb +20 -4
  30. data/lib/onfido/models/check_status.rb +1 -1
  31. data/lib/onfido/models/checks_list.rb +20 -4
  32. data/lib/onfido/models/complete_task_builder.rb +20 -4
  33. data/lib/onfido/models/complete_task_data_builder.rb +3 -4
  34. data/lib/onfido/models/country_codes.rb +1 -1
  35. data/lib/onfido/models/device_intelligence_breakdown.rb +14 -26
  36. data/lib/onfido/models/device_intelligence_breakdown_device.rb +10 -4
  37. data/lib/onfido/models/device_intelligence_breakdown_device_breakdown.rb +10 -4
  38. data/lib/onfido/models/device_intelligence_properties.rb +13 -7
  39. data/lib/onfido/models/{device_intelligence_breakdown_properties_device.rb → device_intelligence_properties_device.rb} +33 -7
  40. data/lib/onfido/models/{device_intelligence_breakdown_properties_geolocation.rb → device_intelligence_properties_geolocation.rb} +12 -6
  41. data/lib/onfido/models/{device_intelligence_breakdown_properties_ip.rb → device_intelligence_properties_ip.rb} +12 -6
  42. data/lib/onfido/models/device_intelligence_report.rb +30 -4
  43. data/lib/onfido/models/document.rb +20 -4
  44. data/lib/onfido/models/document_breakdown.rb +10 -4
  45. data/lib/onfido/models/document_breakdown_age_validation.rb +10 -4
  46. data/lib/onfido/models/document_breakdown_age_validation_breakdown.rb +10 -4
  47. data/lib/onfido/models/document_breakdown_compromised_document.rb +10 -4
  48. data/lib/onfido/models/document_breakdown_compromised_document_breakdown.rb +10 -4
  49. data/lib/onfido/models/document_breakdown_data_comparison.rb +10 -4
  50. data/lib/onfido/models/document_breakdown_data_comparison_breakdown.rb +10 -4
  51. data/lib/onfido/models/document_breakdown_data_comparison_breakdown_issuing_country.rb +10 -4
  52. data/lib/onfido/models/document_breakdown_data_consistency.rb +10 -4
  53. data/lib/onfido/models/document_breakdown_data_consistency_breakdown.rb +10 -4
  54. data/lib/onfido/models/document_breakdown_data_validation.rb +10 -4
  55. data/lib/onfido/models/document_breakdown_data_validation_breakdown.rb +10 -4
  56. data/lib/onfido/models/document_breakdown_data_validation_breakdown_document_expiration.rb +10 -4
  57. data/lib/onfido/models/document_breakdown_data_validation_breakdown_expiry_date.rb +10 -4
  58. data/lib/onfido/models/document_breakdown_image_integrity.rb +10 -4
  59. data/lib/onfido/models/document_breakdown_image_integrity_breakdown.rb +10 -4
  60. data/lib/onfido/models/document_breakdown_image_integrity_breakdown_colour_picture.rb +10 -4
  61. data/lib/onfido/models/document_breakdown_image_integrity_breakdown_conclusive_document_quality.rb +10 -4
  62. data/lib/onfido/models/document_breakdown_image_integrity_breakdown_image_quality.rb +10 -4
  63. data/lib/onfido/models/document_breakdown_image_integrity_breakdown_supported_document.rb +10 -4
  64. data/lib/onfido/models/document_breakdown_issuing_authority.rb +10 -4
  65. data/lib/onfido/models/document_breakdown_issuing_authority_breakdown.rb +10 -4
  66. data/lib/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_active_authentication.rb +10 -4
  67. data/lib/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_passive_authentication.rb +10 -4
  68. data/lib/onfido/models/document_breakdown_police_record.rb +10 -4
  69. data/lib/onfido/models/document_breakdown_visual_authenticity.rb +10 -4
  70. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown.rb +10 -4
  71. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_digital_tampering.rb +10 -4
  72. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_face_detection.rb +10 -4
  73. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_fonts.rb +10 -4
  74. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_original_document_present.rb +10 -4
  75. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_other.rb +10 -4
  76. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_picture_face_integrity.rb +10 -4
  77. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_security_features.rb +10 -4
  78. data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_template.rb +10 -4
  79. data/lib/onfido/models/document_cdq_reasons.rb +10 -4
  80. data/lib/onfido/models/document_iq_reasons.rb +10 -4
  81. data/lib/onfido/models/document_odp_reasons.rb +10 -4
  82. data/lib/onfido/models/document_properties.rb +11 -16
  83. data/lib/onfido/models/document_properties_address_lines.rb +10 -4
  84. data/lib/onfido/models/document_properties_barcode_inner.rb +10 -4
  85. data/lib/onfido/models/document_properties_document_classification.rb +10 -4
  86. data/lib/onfido/models/document_properties_document_numbers_inner.rb +10 -4
  87. data/lib/onfido/models/document_properties_driving_licence_information_item.rb +10 -4
  88. data/lib/onfido/models/document_properties_extracted_data.rb +10 -4
  89. data/lib/onfido/models/document_properties_nfc.rb +10 -4
  90. data/lib/onfido/models/document_properties_with_driving_licence_information.rb +697 -0
  91. data/lib/onfido/models/document_report.rb +30 -4
  92. data/lib/onfido/models/document_report_shared.rb +10 -4
  93. data/lib/onfido/models/document_response.rb +20 -4
  94. data/lib/onfido/models/document_shared.rb +10 -4
  95. data/lib/onfido/models/document_types.rb +1 -1
  96. data/lib/onfido/models/document_video_report.rb +30 -4
  97. data/lib/onfido/models/document_video_with_address_information_report.rb +30 -4
  98. data/lib/onfido/models/document_with_address_information_report.rb +30 -4
  99. data/lib/onfido/models/document_with_driver_verification_report.rb +30 -4
  100. data/lib/onfido/models/document_with_driver_verification_report_all_of_properties.rb +11 -16
  101. data/lib/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle.rb +10 -4
  102. data/lib/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner.rb +10 -4
  103. data/lib/onfido/models/document_with_driving_licence_information_report.rb +31 -5
  104. data/lib/onfido/models/documents_list.rb +20 -4
  105. data/lib/onfido/models/error.rb +10 -4
  106. data/lib/onfido/models/error1.rb +10 -4
  107. data/lib/onfido/models/error_properties.rb +10 -4
  108. data/lib/onfido/models/error_properties1.rb +10 -4
  109. data/lib/onfido/models/extract_request.rb +20 -4
  110. data/lib/onfido/models/extraction.rb +10 -4
  111. data/lib/onfido/models/extraction_document_classification.rb +10 -4
  112. data/lib/onfido/models/extraction_extracted_data.rb +10 -4
  113. data/lib/onfido/models/facial_similarity_motion_breakdown.rb +10 -4
  114. data/lib/onfido/models/facial_similarity_motion_breakdown_face_comparison.rb +10 -4
  115. data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity.rb +10 -4
  116. data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown.rb +10 -4
  117. data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_face_detected.rb +10 -4
  118. data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_source_integrity.rb +10 -4
  119. data/lib/onfido/models/facial_similarity_motion_breakdown_visual_authenticity.rb +10 -4
  120. data/lib/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown.rb +10 -4
  121. data/lib/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown_spoofing_detection.rb +10 -4
  122. data/lib/onfido/models/facial_similarity_motion_properties.rb +10 -4
  123. data/lib/onfido/models/facial_similarity_motion_report.rb +30 -4
  124. data/lib/onfido/models/facial_similarity_photo_breakdown.rb +10 -4
  125. data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison.rb +10 -4
  126. data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown.rb +10 -4
  127. data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match.rb +10 -4
  128. data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match_properties.rb +10 -4
  129. data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity.rb +10 -4
  130. data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown.rb +10 -4
  131. data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_face_detected.rb +10 -4
  132. data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_source_integrity.rb +10 -4
  133. data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity.rb +10 -4
  134. data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown.rb +10 -4
  135. data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection.rb +10 -4
  136. data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection_properties.rb +10 -4
  137. data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown.rb +10 -4
  138. data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity.rb +10 -4
  139. data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown.rb +10 -4
  140. data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown_source_integrity.rb +10 -4
  141. data/lib/onfido/models/facial_similarity_photo_fully_auto_properties.rb +10 -4
  142. data/lib/onfido/models/facial_similarity_photo_fully_auto_report.rb +30 -4
  143. data/lib/onfido/models/facial_similarity_photo_properties.rb +10 -4
  144. data/lib/onfido/models/facial_similarity_photo_report.rb +30 -4
  145. data/lib/onfido/models/facial_similarity_report_media.rb +20 -4
  146. data/lib/onfido/models/facial_similarity_report_shared.rb +10 -4
  147. data/lib/onfido/models/facial_similarity_video_breakdown.rb +10 -4
  148. data/lib/onfido/models/facial_similarity_video_breakdown_face_comparison.rb +10 -4
  149. data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity.rb +10 -4
  150. data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown.rb +10 -4
  151. data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_face_detected.rb +10 -4
  152. data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_source_integrity.rb +10 -4
  153. data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity.rb +10 -4
  154. data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown.rb +10 -4
  155. data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected.rb +10 -4
  156. data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection.rb +10 -4
  157. data/lib/onfido/models/facial_similarity_video_properties.rb +10 -4
  158. data/lib/onfido/models/facial_similarity_video_report.rb +30 -4
  159. data/lib/onfido/models/id_number.rb +10 -4
  160. data/lib/onfido/models/id_photo.rb +20 -4
  161. data/lib/onfido/models/id_photo_response.rb +20 -4
  162. data/lib/onfido/models/id_photos_list.rb +20 -4
  163. data/lib/onfido/models/identity_enhanced_breakdown.rb +10 -4
  164. data/lib/onfido/models/identity_enhanced_breakdown_address.rb +10 -4
  165. data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown.rb +10 -4
  166. data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies.rb +10 -4
  167. data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies_properties.rb +11 -5
  168. data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_telephone_database.rb +10 -4
  169. data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_voting_register.rb +10 -4
  170. data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth.rb +10 -4
  171. data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown.rb +10 -4
  172. data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_credit_agencies.rb +10 -4
  173. data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_voting_register.rb +10 -4
  174. data/lib/onfido/models/identity_enhanced_breakdown_mortality.rb +10 -4
  175. data/lib/onfido/models/identity_enhanced_breakdown_sources.rb +10 -4
  176. data/lib/onfido/models/identity_enhanced_breakdown_sources_breakdown.rb +10 -4
  177. data/lib/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources.rb +10 -4
  178. data/lib/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources_properties.rb +11 -5
  179. data/lib/onfido/models/identity_enhanced_properties.rb +10 -4
  180. data/lib/onfido/models/identity_enhanced_properties_matched_addresses_inner.rb +10 -4
  181. data/lib/onfido/models/identity_enhanced_report.rb +30 -4
  182. data/lib/onfido/models/idr_ssn_breakdown.rb +10 -4
  183. data/lib/onfido/models/idr_ssn_breakdown_breakdown.rb +10 -4
  184. data/lib/onfido/models/idr_ssn_breakdown_breakdown_full_match.rb +10 -4
  185. data/lib/onfido/models/idr_ssn_breakdown_breakdown_last4_digits_match.rb +10 -4
  186. data/lib/onfido/models/india_pan_report.rb +30 -4
  187. data/lib/onfido/models/india_pan_report_all_of_breakdown.rb +10 -4
  188. data/lib/onfido/models/india_pan_report_all_of_breakdown_device.rb +10 -4
  189. data/lib/onfido/models/india_pan_report_all_of_breakdown_device_breakdown.rb +10 -4
  190. data/lib/onfido/models/india_pan_report_all_of_breakdown_device_breakdown_pan_valid.rb +10 -4
  191. data/lib/onfido/models/india_pan_report_all_of_properties.rb +10 -4
  192. data/lib/onfido/models/india_pan_report_all_of_properties_device.rb +10 -4
  193. data/lib/onfido/models/known_faces_breakdown.rb +10 -4
  194. data/lib/onfido/models/known_faces_breakdown_image_integrity.rb +10 -4
  195. data/lib/onfido/models/known_faces_breakdown_previously_seen_faces.rb +10 -4
  196. data/lib/onfido/models/known_faces_properties.rb +10 -4
  197. data/lib/onfido/models/known_faces_properties_matches_inner.rb +10 -4
  198. data/lib/onfido/models/known_faces_report.rb +30 -4
  199. data/lib/onfido/models/live_photo.rb +20 -4
  200. data/lib/onfido/models/live_photo_response.rb +20 -4
  201. data/lib/onfido/models/live_photos_list.rb +20 -4
  202. data/lib/onfido/models/live_video.rb +10 -4
  203. data/lib/onfido/models/live_videos_list.rb +20 -4
  204. data/lib/onfido/models/location.rb +10 -4
  205. data/lib/onfido/models/location_builder.rb +10 -4
  206. data/lib/onfido/models/location_shared.rb +10 -4
  207. data/lib/onfido/models/motion_capture.rb +10 -4
  208. data/lib/onfido/models/motion_captures_list.rb +20 -4
  209. data/lib/onfido/models/passkey.rb +40 -4
  210. data/lib/onfido/models/passkey_updater.rb +10 -4
  211. data/lib/onfido/models/passkeys_list.rb +20 -4
  212. data/lib/onfido/models/photo_auto_reasons.rb +10 -4
  213. data/lib/onfido/models/photo_reasons.rb +10 -4
  214. data/lib/onfido/models/proof_of_address_breakdown.rb +10 -4
  215. data/lib/onfido/models/proof_of_address_breakdown_data_comparison.rb +10 -4
  216. data/lib/onfido/models/proof_of_address_breakdown_data_comparison_breakdown.rb +10 -4
  217. data/lib/onfido/models/proof_of_address_breakdown_document_classification.rb +10 -4
  218. data/lib/onfido/models/proof_of_address_breakdown_document_classification_breakdown.rb +10 -4
  219. data/lib/onfido/models/proof_of_address_breakdown_image_integrity.rb +10 -4
  220. data/lib/onfido/models/proof_of_address_breakdown_image_integrity_breakdown.rb +10 -4
  221. data/lib/onfido/models/proof_of_address_properties.rb +10 -4
  222. data/lib/onfido/models/proof_of_address_report.rb +30 -4
  223. data/lib/onfido/models/repeat_attempts_list.rb +20 -4
  224. data/lib/onfido/models/repeat_attempts_list_repeat_attempts_inner.rb +10 -4
  225. data/lib/onfido/models/report.rb +1 -1
  226. data/lib/onfido/models/report_configuration.rb +10 -4
  227. data/lib/onfido/models/report_configuration_facial_similarity.rb +10 -4
  228. data/lib/onfido/models/report_document.rb +20 -4
  229. data/lib/onfido/models/report_name.rb +1 -1
  230. data/lib/onfido/models/report_result.rb +1 -1
  231. data/lib/onfido/models/report_shared.rb +30 -4
  232. data/lib/onfido/models/report_status.rb +1 -1
  233. data/lib/onfido/models/report_sub_result.rb +1 -1
  234. data/lib/onfido/models/reports_list.rb +20 -4
  235. data/lib/onfido/models/results_feedback.rb +10 -4
  236. data/lib/onfido/models/sdk_token.rb +20 -4
  237. data/lib/onfido/models/sdk_token_builder.rb +20 -4
  238. data/lib/onfido/models/sdk_token_request.rb +20 -4
  239. data/lib/onfido/models/sdk_token_response.rb +20 -4
  240. data/lib/onfido/models/signing_document.rb +20 -4
  241. data/lib/onfido/models/signing_document_response.rb +20 -4
  242. data/lib/onfido/models/signing_document_shared.rb +10 -4
  243. data/lib/onfido/models/signing_documents_list.rb +20 -4
  244. data/lib/onfido/models/task.rb +10 -4
  245. data/lib/onfido/models/task_item.rb +10 -4
  246. data/lib/onfido/models/timeline_file_reference.rb +30 -4
  247. data/lib/onfido/models/us_driving_licence_breakdown.rb +10 -4
  248. data/lib/onfido/models/us_driving_licence_breakdown_address.rb +10 -4
  249. data/lib/onfido/models/us_driving_licence_breakdown_address_breakdown.rb +10 -4
  250. data/lib/onfido/models/us_driving_licence_breakdown_document.rb +10 -4
  251. data/lib/onfido/models/us_driving_licence_breakdown_document_breakdown.rb +10 -4
  252. data/lib/onfido/models/us_driving_licence_breakdown_personal.rb +10 -4
  253. data/lib/onfido/models/us_driving_licence_breakdown_personal_breakdown.rb +10 -4
  254. data/lib/onfido/models/us_driving_licence_builder.rb +20 -4
  255. data/lib/onfido/models/us_driving_licence_report.rb +30 -4
  256. data/lib/onfido/models/us_driving_licence_shared.rb +20 -4
  257. data/lib/onfido/models/video_reasons.rb +10 -4
  258. data/lib/onfido/models/watchlist_aml_breakdown.rb +10 -4
  259. data/lib/onfido/models/watchlist_aml_breakdown_adverse_media.rb +10 -4
  260. data/lib/onfido/models/watchlist_aml_breakdown_legal_and_regulatory_warnings.rb +10 -4
  261. data/lib/onfido/models/watchlist_aml_breakdown_politically_exposed_person.rb +10 -4
  262. data/lib/onfido/models/watchlist_aml_breakdown_sanction.rb +10 -4
  263. data/lib/onfido/models/watchlist_aml_properties.rb +10 -4
  264. data/lib/onfido/models/watchlist_aml_report.rb +30 -4
  265. data/lib/onfido/models/watchlist_enhanced_breakdown.rb +10 -4
  266. data/lib/onfido/models/watchlist_enhanced_properties.rb +10 -4
  267. data/lib/onfido/models/watchlist_enhanced_properties_records_inner.rb +10 -4
  268. data/lib/onfido/models/watchlist_enhanced_properties_records_inner_address_inner.rb +10 -4
  269. data/lib/onfido/models/watchlist_enhanced_properties_records_inner_alias_inner.rb +10 -4
  270. data/lib/onfido/models/watchlist_enhanced_properties_records_inner_associate_inner.rb +10 -4
  271. data/lib/onfido/models/watchlist_enhanced_properties_records_inner_attribute_inner.rb +10 -4
  272. data/lib/onfido/models/watchlist_enhanced_properties_records_inner_event_inner.rb +10 -4
  273. data/lib/onfido/models/watchlist_enhanced_properties_records_inner_event_inner_source.rb +10 -4
  274. data/lib/onfido/models/watchlist_enhanced_properties_records_inner_source_inner.rb +10 -4
  275. data/lib/onfido/models/watchlist_enhanced_report.rb +30 -4
  276. data/lib/onfido/models/watchlist_monitor.rb +30 -4
  277. data/lib/onfido/models/watchlist_monitor_builder.rb +20 -4
  278. data/lib/onfido/models/watchlist_monitor_match.rb +10 -4
  279. data/lib/onfido/models/watchlist_monitor_matches_list.rb +20 -4
  280. data/lib/onfido/models/watchlist_monitor_matches_updater.rb +10 -4
  281. data/lib/onfido/models/watchlist_monitor_response.rb +20 -4
  282. data/lib/onfido/models/watchlist_monitor_shared.rb +20 -4
  283. data/lib/onfido/models/watchlist_monitors_list.rb +20 -4
  284. data/lib/onfido/models/watchlist_peps_only_report.rb +30 -4
  285. data/lib/onfido/models/watchlist_sanctions_only_report.rb +30 -4
  286. data/lib/onfido/models/watchlist_standard_breakdown.rb +10 -4
  287. data/lib/onfido/models/watchlist_standard_properties.rb +10 -4
  288. data/lib/onfido/models/watchlist_standard_report.rb +30 -4
  289. data/lib/onfido/models/webhook.rb +20 -4
  290. data/lib/onfido/models/webhook_builder.rb +20 -4
  291. data/lib/onfido/models/webhook_create.rb +20 -4
  292. data/lib/onfido/models/webhook_event.rb +10 -4
  293. data/lib/onfido/models/webhook_event_object_status.rb +1 -1
  294. data/lib/onfido/models/webhook_event_payload.rb +20 -4
  295. data/lib/onfido/models/webhook_event_payload_object.rb +20 -4
  296. data/lib/onfido/models/webhook_event_payload_resource.rb +54 -5
  297. data/lib/onfido/models/webhook_event_resource_status.rb +50 -0
  298. data/lib/onfido/models/webhook_event_resource_type.rb +1 -1
  299. data/lib/onfido/models/webhook_event_type.rb +1 -1
  300. data/lib/onfido/models/webhook_resend.rb +10 -4
  301. data/lib/onfido/models/webhook_response.rb +20 -4
  302. data/lib/onfido/models/webhook_shared.rb +10 -4
  303. data/lib/onfido/models/webhook_update.rb +10 -4
  304. data/lib/onfido/models/webhook_updater.rb +10 -4
  305. data/lib/onfido/models/webhooks_list.rb +20 -4
  306. data/lib/onfido/models/webhooks_resend_item.rb +30 -4
  307. data/lib/onfido/models/workflow_run.rb +40 -4
  308. data/lib/onfido/models/workflow_run_builder.rb +30 -4
  309. data/lib/onfido/models/workflow_run_error.rb +10 -4
  310. data/lib/onfido/models/workflow_run_link.rb +10 -4
  311. data/lib/onfido/models/workflow_run_request.rb +10 -4
  312. data/lib/onfido/models/workflow_run_response.rb +20 -4
  313. data/lib/onfido/models/workflow_run_shared.rb +30 -4
  314. data/lib/onfido/models/workflow_run_status.rb +1 -1
  315. data/lib/onfido/version.rb +2 -2
  316. data/lib/onfido.rb +6 -6
  317. data/onfido.gemspec +1 -1
  318. data/spec/integrations/workflow_run_spec.rb +8 -4
  319. data/spec/spec_helper.rb +1 -1
  320. metadata +26 -26
  321. data/lib/onfido/models/device_intelligence_breakdown_breakdown.rb +0 -214
  322. data/lib/onfido/models/device_intelligence_breakdown_properties.rb +0 -232
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -28,9 +28,14 @@ module Onfido
28
28
  }
29
29
  end
30
30
 
31
+ # Returns attribute mapping this model knows about
32
+ def self.acceptable_attribute_map
33
+ attribute_map
34
+ end
35
+
31
36
  # Returns all the JSON keys this model knows about
32
37
  def self.acceptable_attributes
33
- attribute_map.values
38
+ acceptable_attribute_map.values
34
39
  end
35
40
 
36
41
  # Attribute type mapping.
@@ -55,9 +60,10 @@ module Onfido
55
60
  end
56
61
 
57
62
  # check to see if the attribute exists and convert string to symbol for hash key
63
+ acceptable_attribute_map = self.class.acceptable_attribute_map
58
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
59
- if (!self.class.attribute_map.key?(k.to_sym))
60
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ if (!acceptable_attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
67
  end
62
68
  h[k.to_sym] = v
63
69
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -28,9 +28,14 @@ module Onfido
28
28
  }
29
29
  end
30
30
 
31
+ # Returns attribute mapping this model knows about
32
+ def self.acceptable_attribute_map
33
+ attribute_map
34
+ end
35
+
31
36
  # Returns all the JSON keys this model knows about
32
37
  def self.acceptable_attributes
33
- attribute_map.values
38
+ acceptable_attribute_map.values
34
39
  end
35
40
 
36
41
  # Attribute type mapping.
@@ -55,9 +60,10 @@ module Onfido
55
60
  end
56
61
 
57
62
  # check to see if the attribute exists and convert string to symbol for hash key
63
+ acceptable_attribute_map = self.class.acceptable_attribute_map
58
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
59
- if (!self.class.attribute_map.key?(k.to_sym))
60
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownImageIntegrityBreakdownImageQuality`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ if (!acceptable_attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownImageIntegrityBreakdownImageQuality`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
67
  end
62
68
  h[k.to_sym] = v
63
69
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -28,9 +28,14 @@ module Onfido
28
28
  }
29
29
  end
30
30
 
31
+ # Returns attribute mapping this model knows about
32
+ def self.acceptable_attribute_map
33
+ attribute_map
34
+ end
35
+
31
36
  # Returns all the JSON keys this model knows about
32
37
  def self.acceptable_attributes
33
- attribute_map.values
38
+ acceptable_attribute_map.values
34
39
  end
35
40
 
36
41
  # Attribute type mapping.
@@ -55,9 +60,10 @@ module Onfido
55
60
  end
56
61
 
57
62
  # check to see if the attribute exists and convert string to symbol for hash key
63
+ acceptable_attribute_map = self.class.acceptable_attribute_map
58
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
59
- if (!self.class.attribute_map.key?(k.to_sym))
60
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownImageIntegrityBreakdownSupportedDocument`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ if (!acceptable_attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownImageIntegrityBreakdownSupportedDocument`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
67
  end
62
68
  h[k.to_sym] = v
63
69
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -28,9 +28,14 @@ module Onfido
28
28
  }
29
29
  end
30
30
 
31
+ # Returns attribute mapping this model knows about
32
+ def self.acceptable_attribute_map
33
+ attribute_map
34
+ end
35
+
31
36
  # Returns all the JSON keys this model knows about
32
37
  def self.acceptable_attributes
33
- attribute_map.values
38
+ acceptable_attribute_map.values
34
39
  end
35
40
 
36
41
  # Attribute type mapping.
@@ -55,9 +60,10 @@ module Onfido
55
60
  end
56
61
 
57
62
  # check to see if the attribute exists and convert string to symbol for hash key
63
+ acceptable_attribute_map = self.class.acceptable_attribute_map
58
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
59
- if (!self.class.attribute_map.key?(k.to_sym))
60
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownIssuingAuthority`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ if (!acceptable_attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownIssuingAuthority`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
67
  end
62
68
  h[k.to_sym] = v
63
69
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -27,9 +27,14 @@ module Onfido
27
27
  }
28
28
  end
29
29
 
30
+ # Returns attribute mapping this model knows about
31
+ def self.acceptable_attribute_map
32
+ attribute_map
33
+ end
34
+
30
35
  # Returns all the JSON keys this model knows about
31
36
  def self.acceptable_attributes
32
- attribute_map.values
37
+ acceptable_attribute_map.values
33
38
  end
34
39
 
35
40
  # Attribute type mapping.
@@ -54,9 +59,10 @@ module Onfido
54
59
  end
55
60
 
56
61
  # check to see if the attribute exists and convert string to symbol for hash key
62
+ acceptable_attribute_map = self.class.acceptable_attribute_map
57
63
  attributes = attributes.each_with_object({}) { |(k, v), h|
58
- if (!self.class.attribute_map.key?(k.to_sym))
59
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownIssuingAuthorityBreakdown`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
+ if (!acceptable_attribute_map.key?(k.to_sym))
65
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownIssuingAuthorityBreakdown`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
60
66
  end
61
67
  h[k.to_sym] = v
62
68
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -28,9 +28,14 @@ module Onfido
28
28
  }
29
29
  end
30
30
 
31
+ # Returns attribute mapping this model knows about
32
+ def self.acceptable_attribute_map
33
+ attribute_map
34
+ end
35
+
31
36
  # Returns all the JSON keys this model knows about
32
37
  def self.acceptable_attributes
33
- attribute_map.values
38
+ acceptable_attribute_map.values
34
39
  end
35
40
 
36
41
  # Attribute type mapping.
@@ -55,9 +60,10 @@ module Onfido
55
60
  end
56
61
 
57
62
  # check to see if the attribute exists and convert string to symbol for hash key
63
+ acceptable_attribute_map = self.class.acceptable_attribute_map
58
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
59
- if (!self.class.attribute_map.key?(k.to_sym))
60
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ if (!acceptable_attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
67
  end
62
68
  h[k.to_sym] = v
63
69
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -28,9 +28,14 @@ module Onfido
28
28
  }
29
29
  end
30
30
 
31
+ # Returns attribute mapping this model knows about
32
+ def self.acceptable_attribute_map
33
+ attribute_map
34
+ end
35
+
31
36
  # Returns all the JSON keys this model knows about
32
37
  def self.acceptable_attributes
33
- attribute_map.values
38
+ acceptable_attribute_map.values
34
39
  end
35
40
 
36
41
  # Attribute type mapping.
@@ -55,9 +60,10 @@ module Onfido
55
60
  end
56
61
 
57
62
  # check to see if the attribute exists and convert string to symbol for hash key
63
+ acceptable_attribute_map = self.class.acceptable_attribute_map
58
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
59
- if (!self.class.attribute_map.key?(k.to_sym))
60
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ if (!acceptable_attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
67
  end
62
68
  h[k.to_sym] = v
63
69
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -25,9 +25,14 @@ module Onfido
25
25
  }
26
26
  end
27
27
 
28
+ # Returns attribute mapping this model knows about
29
+ def self.acceptable_attribute_map
30
+ attribute_map
31
+ end
32
+
28
33
  # Returns all the JSON keys this model knows about
29
34
  def self.acceptable_attributes
30
- attribute_map.values
35
+ acceptable_attribute_map.values
31
36
  end
32
37
 
33
38
  # Attribute type mapping.
@@ -51,9 +56,10 @@ module Onfido
51
56
  end
52
57
 
53
58
  # check to see if the attribute exists and convert string to symbol for hash key
59
+ acceptable_attribute_map = self.class.acceptable_attribute_map
54
60
  attributes = attributes.each_with_object({}) { |(k, v), h|
55
- if (!self.class.attribute_map.key?(k.to_sym))
56
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownPoliceRecord`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
61
+ if (!acceptable_attribute_map.key?(k.to_sym))
62
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownPoliceRecord`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
57
63
  end
58
64
  h[k.to_sym] = v
59
65
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -28,9 +28,14 @@ module Onfido
28
28
  }
29
29
  end
30
30
 
31
+ # Returns attribute mapping this model knows about
32
+ def self.acceptable_attribute_map
33
+ attribute_map
34
+ end
35
+
31
36
  # Returns all the JSON keys this model knows about
32
37
  def self.acceptable_attributes
33
- attribute_map.values
38
+ acceptable_attribute_map.values
34
39
  end
35
40
 
36
41
  # Attribute type mapping.
@@ -55,9 +60,10 @@ module Onfido
55
60
  end
56
61
 
57
62
  # check to see if the attribute exists and convert string to symbol for hash key
63
+ acceptable_attribute_map = self.class.acceptable_attribute_map
58
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
59
- if (!self.class.attribute_map.key?(k.to_sym))
60
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticity`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ if (!acceptable_attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticity`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
67
  end
62
68
  h[k.to_sym] = v
63
69
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -45,9 +45,14 @@ module Onfido
45
45
  }
46
46
  end
47
47
 
48
+ # Returns attribute mapping this model knows about
49
+ def self.acceptable_attribute_map
50
+ attribute_map
51
+ end
52
+
48
53
  # Returns all the JSON keys this model knows about
49
54
  def self.acceptable_attributes
50
- attribute_map.values
55
+ acceptable_attribute_map.values
51
56
  end
52
57
 
53
58
  # Attribute type mapping.
@@ -78,9 +83,10 @@ module Onfido
78
83
  end
79
84
 
80
85
  # check to see if the attribute exists and convert string to symbol for hash key
86
+ acceptable_attribute_map = self.class.acceptable_attribute_map
81
87
  attributes = attributes.each_with_object({}) { |(k, v), h|
82
- if (!self.class.attribute_map.key?(k.to_sym))
83
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdown`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
88
+ if (!acceptable_attribute_map.key?(k.to_sym))
89
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdown`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
84
90
  end
85
91
  h[k.to_sym] = v
86
92
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -28,9 +28,14 @@ module Onfido
28
28
  }
29
29
  end
30
30
 
31
+ # Returns attribute mapping this model knows about
32
+ def self.acceptable_attribute_map
33
+ attribute_map
34
+ end
35
+
31
36
  # Returns all the JSON keys this model knows about
32
37
  def self.acceptable_attributes
33
- attribute_map.values
38
+ acceptable_attribute_map.values
34
39
  end
35
40
 
36
41
  # Attribute type mapping.
@@ -55,9 +60,10 @@ module Onfido
55
60
  end
56
61
 
57
62
  # check to see if the attribute exists and convert string to symbol for hash key
63
+ acceptable_attribute_map = self.class.acceptable_attribute_map
58
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
59
- if (!self.class.attribute_map.key?(k.to_sym))
60
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ if (!acceptable_attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
67
  end
62
68
  h[k.to_sym] = v
63
69
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -28,9 +28,14 @@ module Onfido
28
28
  }
29
29
  end
30
30
 
31
+ # Returns attribute mapping this model knows about
32
+ def self.acceptable_attribute_map
33
+ attribute_map
34
+ end
35
+
31
36
  # Returns all the JSON keys this model knows about
32
37
  def self.acceptable_attributes
33
- attribute_map.values
38
+ acceptable_attribute_map.values
34
39
  end
35
40
 
36
41
  # Attribute type mapping.
@@ -55,9 +60,10 @@ module Onfido
55
60
  end
56
61
 
57
62
  # check to see if the attribute exists and convert string to symbol for hash key
63
+ acceptable_attribute_map = self.class.acceptable_attribute_map
58
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
59
- if (!self.class.attribute_map.key?(k.to_sym))
60
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdownFaceDetection`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ if (!acceptable_attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdownFaceDetection`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
67
  end
62
68
  h[k.to_sym] = v
63
69
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -28,9 +28,14 @@ module Onfido
28
28
  }
29
29
  end
30
30
 
31
+ # Returns attribute mapping this model knows about
32
+ def self.acceptable_attribute_map
33
+ attribute_map
34
+ end
35
+
31
36
  # Returns all the JSON keys this model knows about
32
37
  def self.acceptable_attributes
33
- attribute_map.values
38
+ acceptable_attribute_map.values
34
39
  end
35
40
 
36
41
  # Attribute type mapping.
@@ -55,9 +60,10 @@ module Onfido
55
60
  end
56
61
 
57
62
  # check to see if the attribute exists and convert string to symbol for hash key
63
+ acceptable_attribute_map = self.class.acceptable_attribute_map
58
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
59
- if (!self.class.attribute_map.key?(k.to_sym))
60
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdownFonts`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ if (!acceptable_attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdownFonts`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
67
  end
62
68
  h[k.to_sym] = v
63
69
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -28,9 +28,14 @@ module Onfido
28
28
  }
29
29
  end
30
30
 
31
+ # Returns attribute mapping this model knows about
32
+ def self.acceptable_attribute_map
33
+ attribute_map
34
+ end
35
+
31
36
  # Returns all the JSON keys this model knows about
32
37
  def self.acceptable_attributes
33
- attribute_map.values
38
+ acceptable_attribute_map.values
34
39
  end
35
40
 
36
41
  # Attribute type mapping.
@@ -55,9 +60,10 @@ module Onfido
55
60
  end
56
61
 
57
62
  # check to see if the attribute exists and convert string to symbol for hash key
63
+ acceptable_attribute_map = self.class.acceptable_attribute_map
58
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
59
- if (!self.class.attribute_map.key?(k.to_sym))
60
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ if (!acceptable_attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
67
  end
62
68
  h[k.to_sym] = v
63
69
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -28,9 +28,14 @@ module Onfido
28
28
  }
29
29
  end
30
30
 
31
+ # Returns attribute mapping this model knows about
32
+ def self.acceptable_attribute_map
33
+ attribute_map
34
+ end
35
+
31
36
  # Returns all the JSON keys this model knows about
32
37
  def self.acceptable_attributes
33
- attribute_map.values
38
+ acceptable_attribute_map.values
34
39
  end
35
40
 
36
41
  # Attribute type mapping.
@@ -55,9 +60,10 @@ module Onfido
55
60
  end
56
61
 
57
62
  # check to see if the attribute exists and convert string to symbol for hash key
63
+ acceptable_attribute_map = self.class.acceptable_attribute_map
58
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
59
- if (!self.class.attribute_map.key?(k.to_sym))
60
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdownOther`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ if (!acceptable_attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdownOther`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
67
  end
62
68
  h[k.to_sym] = v
63
69
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -28,9 +28,14 @@ module Onfido
28
28
  }
29
29
  end
30
30
 
31
+ # Returns attribute mapping this model knows about
32
+ def self.acceptable_attribute_map
33
+ attribute_map
34
+ end
35
+
31
36
  # Returns all the JSON keys this model knows about
32
37
  def self.acceptable_attributes
33
- attribute_map.values
38
+ acceptable_attribute_map.values
34
39
  end
35
40
 
36
41
  # Attribute type mapping.
@@ -55,9 +60,10 @@ module Onfido
55
60
  end
56
61
 
57
62
  # check to see if the attribute exists and convert string to symbol for hash key
63
+ acceptable_attribute_map = self.class.acceptable_attribute_map
58
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
59
- if (!self.class.attribute_map.key?(k.to_sym))
60
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ if (!acceptable_attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
67
  end
62
68
  h[k.to_sym] = v
63
69
  }
@@ -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.11.0
9
+ Generator version: 7.16.0
10
10
 
11
11
  =end
12
12
 
@@ -28,9 +28,14 @@ module Onfido
28
28
  }
29
29
  end
30
30
 
31
+ # Returns attribute mapping this model knows about
32
+ def self.acceptable_attribute_map
33
+ attribute_map
34
+ end
35
+
31
36
  # Returns all the JSON keys this model knows about
32
37
  def self.acceptable_attributes
33
- attribute_map.values
38
+ acceptable_attribute_map.values
34
39
  end
35
40
 
36
41
  # Attribute type mapping.
@@ -55,9 +60,10 @@ module Onfido
55
60
  end
56
61
 
57
62
  # check to see if the attribute exists and convert string to symbol for hash key
63
+ acceptable_attribute_map = self.class.acceptable_attribute_map
58
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
59
- if (!self.class.attribute_map.key?(k.to_sym))
60
- fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ if (!acceptable_attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
67
  end
62
68
  h[k.to_sym] = v
63
69
  }