trinsic_api 3.2.0 → 3.2.1

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 (414) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -0
  3. data/docs/AadhaarLanguage.md +1 -1
  4. data/docs/AgeOverOutput.md +2 -2
  5. data/docs/AlaskaMobileIdProviderOutput.md +20 -0
  6. data/docs/AppleWalletDigitalIdBirthDate.md +1 -1
  7. data/docs/AppleWalletProviderOutput.md +1 -1
  8. data/docs/AttachmentInfo.md +3 -1
  9. data/docs/AudkenniProviderOutput.md +3 -3
  10. data/docs/AustriaHandySignaturProviderOutput.md +2 -2
  11. data/docs/AustriaValeraEudiSandboxInput.md +18 -0
  12. data/docs/AustriaValeraEudiSandboxProviderOutput.md +22 -0
  13. data/docs/BelgiumIdCardProviderOutput.md +4 -4
  14. data/docs/BoliviaCiProviderOutput.md +4 -4
  15. data/docs/BrazilBiometricVerificationOutput.md +24 -0
  16. data/docs/BrazilCnhFacialBiometryOutput.md +1 -1
  17. data/docs/BrazilCpfCheckInput.md +2 -0
  18. data/docs/BrazilCpfProviderOutput.md +38 -0
  19. data/docs/ClearProviderOutput.md +56 -0
  20. data/docs/ClearProviderOutputAddress.md +28 -0
  21. data/docs/ClearProviderOutputCheck.md +28 -0
  22. data/docs/ClearProviderOutputCheckAdditionalDetails.md +18 -0
  23. data/docs/ClearProviderOutputDocument.md +42 -0
  24. data/docs/ClearProviderOutputHealthInsurance.md +32 -0
  25. data/docs/ClearProviderOutputHistoricalAddress.md +36 -0
  26. data/docs/ClearProviderOutputHistoricalData.md +20 -0
  27. data/docs/ClearProviderOutputHistoricalName.md +28 -0
  28. data/docs/ClearProviderOutputLocationInfo.md +30 -0
  29. data/docs/ClearProviderOutputPartialDate.md +22 -0
  30. data/docs/ClearProviderOutputSessionInfo.md +28 -0
  31. data/docs/ClearProviderOutputTraits.md +50 -0
  32. data/docs/ClearProviderOutputVerifiedEmail.md +22 -0
  33. data/docs/ClearProviderOutputWatchlistHit.md +24 -0
  34. data/docs/ClearProviderOutputWatchlistHitDetails.md +48 -0
  35. data/docs/ClearProviderOutputWatchlistHits.md +20 -0
  36. data/docs/ClearProviderOutputWatchlistSource.md +22 -0
  37. data/docs/ColombiaCcProviderOutput.md +10 -10
  38. data/docs/CoteDIvoireNidLookup2ProviderOutput.md +6 -6
  39. data/docs/CreateHostedProviderSessionResponse.md +1 -1
  40. data/docs/CzechBankIdAddress.md +3 -3
  41. data/docs/CzechBankIdCard.md +4 -4
  42. data/docs/CzechBankIdProviderOutput.md +1 -1
  43. data/docs/CzechBankIdVerification.md +2 -2
  44. data/docs/CzechiaMojeIdProviderOutput.md +4 -4
  45. data/docs/DenmarkAltIdInput.md +18 -0
  46. data/docs/DenmarkAltIdProviderOutput.md +22 -0
  47. data/docs/DigilockerAadhaarProviderOutput.md +1 -1
  48. data/docs/DiiaProviderOutput.md +2 -2
  49. data/docs/ElSalvadorDuiProviderOutput.md +3 -3
  50. data/docs/EstoniaIdCardProviderOutput.md +4 -4
  51. data/docs/EudiAgeVerificationCredential.md +1 -5
  52. data/docs/EudiReferenceWalletProviderOutput.md +20 -0
  53. data/docs/EvrotrustAddressComponents.md +48 -0
  54. data/docs/EvrotrustInput.md +20 -0
  55. data/docs/EvrotrustProviderOutput.md +78 -0
  56. data/docs/FinlandIdCardProviderOutput.md +4 -4
  57. data/docs/FranceIdentiteProviderOutput.md +1 -1
  58. data/docs/FrejaIndirectProviderOutput.md +4 -4
  59. data/docs/FrenchNumeriqueProviderOutput.md +10 -4
  60. data/docs/{FrenchNumeriqueGivenName.md → FrenchNumeriqueSplittedGivenName.md} +2 -4
  61. data/docs/{FrenchNumeriquePhone.md → FrenchNumeriqueSplittedPhone.md} +2 -4
  62. data/docs/GermanyEudiSandboxInput.md +18 -0
  63. data/docs/GermanyEudiSandboxProviderOutput.md +20 -0
  64. data/docs/GetAttachmentResponse.md +1 -1
  65. data/docs/GetSessionResultResponse.md +2 -2
  66. data/docs/GoogleWalletProviderOutput.md +1 -1
  67. data/docs/GuatemalaCuiLookupInput.md +3 -1
  68. data/docs/GuatemalaCuiProviderOutput.md +9 -9
  69. data/docs/IdemiaMobileIdProviderOutput.md +64 -0
  70. data/docs/IdentityData.md +1 -1
  71. data/docs/IndiaDigilockerAadhaarMatchDateOfBirthField.md +2 -2
  72. data/docs/IndiaDigilockerAadhaarMatchFullNameField.md +2 -2
  73. data/docs/IndiaPanStructuredNumber.md +5 -5
  74. data/docs/IndonesiaDukcapilMatchDateOfBirthField.md +2 -2
  75. data/docs/IndonesiaDukcapilMatchFullNameField.md +2 -2
  76. data/docs/IndonesiaDukcapilMatchNationalIdNumberField.md +2 -2
  77. data/docs/IndonesiaDukcapilMatchProviderOutput.md +9 -9
  78. data/docs/IndonesiaNikMatchField.md +2 -2
  79. data/docs/Iso180132BiometricDataBlockProduct.md +2 -2
  80. data/docs/Iso180132BiometricGroupTemplate.md +1 -1
  81. data/docs/Iso180132BiometricTemplate.md +3 -3
  82. data/docs/Iso180132BiometricTemplateHeader.md +3 -3
  83. data/docs/Iso180132BiometricValidityPeriod.md +2 -2
  84. data/docs/Iso180135AamvaDomesticVehicleClass.md +2 -2
  85. data/docs/Iso180135AamvaDomesticVehicleEndorsement.md +1 -1
  86. data/docs/Iso180135AamvaDomesticVehicleRestriction.md +1 -1
  87. data/docs/Iso180135AamvaWeightRange.md +1 -1
  88. data/docs/Iso180135DrivingPrivilege.md +1 -1
  89. data/docs/Iso180135DrivingPrivilegeCode.md +1 -1
  90. data/docs/ItsmeAddressBase.md +22 -0
  91. data/docs/ItsmeBelgianIdentityCard.md +26 -0
  92. data/docs/ItsmeBelgianNationalNumber.md +22 -0
  93. data/docs/ItsmeDirectDevice.md +40 -0
  94. data/docs/ItsmeIdentityDocument.md +26 -0
  95. data/docs/ItsmeLoginProviderOutput.md +44 -0
  96. data/docs/ItsmePlaceOfBirth.md +20 -0
  97. data/docs/ItsmeProviderAddress.md +26 -0
  98. data/docs/ItsmeProviderOutput.md +40 -28
  99. data/docs/KenyaNidLookup2ProviderOutput.md +6 -6
  100. data/docs/KenyaNidLookup3Input.md +18 -0
  101. data/docs/KenyaNidLookup3ProviderOutput.md +32 -0
  102. data/docs/KenyaNidMatch2DateOfBirthField.md +2 -2
  103. data/docs/KenyaNidMatch2FullNameField.md +2 -2
  104. data/docs/KenyaNidMatch2NationalIdNumberField.md +2 -2
  105. data/docs/KenyaNidMatch2ProviderOutput.md +2 -2
  106. data/docs/KenyaNidMatch2SexField.md +2 -2
  107. data/docs/KoreaTelcoMatchProviderOutput.md +3 -3
  108. data/docs/LaWalletProviderOutput.md +17 -17
  109. data/docs/LatviaEparakstsMobileProviderOutput.md +3 -3
  110. data/docs/LatviaEparakstsProviderOutput.md +3 -3
  111. data/docs/LithuaniaIdCardProviderOutput.md +4 -4
  112. data/docs/MdlOutput.md +4 -4
  113. data/docs/MdlOutputCertificateData.md +7 -5
  114. data/docs/MdlOutputFieldData.md +2 -2
  115. data/docs/MockOutputProviderInput.md +18 -0
  116. data/docs/MoldovaDriverLicenseCredential.md +42 -0
  117. data/docs/MoldovaEvoWalletInput.md +18 -0
  118. data/docs/MoldovaEvoWalletProviderOutput.md +26 -0
  119. data/docs/MoldovaIdentityCardCredential.md +60 -0
  120. data/docs/MoldovaVehicleRegistrationCertificateCredential.md +70 -0
  121. data/docs/NetherlandsEudiSandboxInput.md +18 -0
  122. data/docs/NetherlandsEudiSandboxProviderOutput.md +20 -0
  123. data/docs/NetherlandsIdinAddress.md +16 -6
  124. data/docs/NetherlandsIdinProviderOutput.md +8 -8
  125. data/docs/NigeriaNinLookup2ProviderOutput.md +5 -5
  126. data/docs/NigeriaNinLookup3Input.md +18 -0
  127. data/docs/NigeriaNinLookup3ProviderOutput.md +50 -0
  128. data/docs/NigeriaNinMatch2DateOfBirthField.md +2 -2
  129. data/docs/NigeriaNinMatch2FullNameField.md +2 -2
  130. data/docs/NigeriaNinMatch2NationalIdNumberField.md +2 -2
  131. data/docs/NigeriaNinMatch2PhoneNumberField.md +2 -2
  132. data/docs/NigeriaNinMatch2ProviderOutput.md +2 -2
  133. data/docs/NigeriaNinMatch2SexField.md +2 -2
  134. data/docs/PanamaCedulaLookupInput.md +1 -3
  135. data/docs/PanamaCedulaProviderOutput.md +5 -7
  136. data/docs/PeruDniAddress.md +3 -3
  137. data/docs/PeruDniProviderOutput.md +8 -8
  138. data/docs/PhilippinesDigitalNidProviderOutput.md +1 -1
  139. data/docs/PhilippinesPhilsysMatchProviderOutput.md +2 -2
  140. data/docs/PhilippinesPhysicalNidProviderOutput.md +1 -1
  141. data/docs/PolandEdoAppProviderOutput.md +4 -4
  142. data/docs/PolandMobywatelMatchInput.md +3 -3
  143. data/docs/PolandMobywatelMatchProviderOutput.md +2 -2
  144. data/docs/PolandMojeIdProviderOutput.md +3 -3
  145. data/docs/PortugalIdCardProviderOutput.md +4 -4
  146. data/docs/Provider.md +0 -4
  147. data/docs/ProviderInput.md +18 -0
  148. data/docs/ProviderOutput.md +29 -5
  149. data/docs/SamsungIdWithClearCredential.md +44 -0
  150. data/docs/SamsungWalletInput.md +1 -1
  151. data/docs/SamsungWalletProviderOutput.md +3 -1
  152. data/docs/SerbiaIdCardProviderOutput.md +4 -4
  153. data/docs/SignzyIndiaAadhaarFetchProviderOutput.md +2 -2
  154. data/docs/SouthAfricaNidLookup2ProviderOutput.md +8 -8
  155. data/docs/SouthAfricaNidMatch2DateOfBirthField.md +2 -2
  156. data/docs/SouthAfricaNidMatch2FullNameField.md +2 -2
  157. data/docs/SouthAfricaNidMatch2NationalIdNumberField.md +2 -2
  158. data/docs/SouthAfricaNidMatch2ProviderOutput.md +2 -2
  159. data/docs/SouthAfricaNidMatch2SexField.md +2 -2
  160. data/docs/SpidBillingInformation.md +3 -3
  161. data/docs/SpidProviderOutput.md +2 -2
  162. data/docs/SubProviderMetadata.md +4 -2
  163. data/docs/UgandaNidMatch2DateOfBirthField.md +2 -2
  164. data/docs/UgandaNidMatch2NationalIdNumberField.md +2 -2
  165. data/docs/UgandaNidMatch2ProviderOutput.md +3 -3
  166. data/docs/UgandaNidMatch2SecondaryIdNumberField.md +2 -2
  167. data/docs/ZimbabweNidLookup2ProviderOutput.md +6 -6
  168. data/lib/trinsic_api/configuration.rb +4 -0
  169. data/lib/trinsic_api/models/aadhaar_language.rb +1 -17
  170. data/lib/trinsic_api/models/age_over_output.rb +2 -34
  171. data/lib/trinsic_api/models/alaska_mobile_id_provider_output.rb +161 -0
  172. data/lib/trinsic_api/models/apple_wallet_digital_id_birth_date.rb +1 -17
  173. data/lib/trinsic_api/models/apple_wallet_provider_output.rb +1 -17
  174. data/lib/trinsic_api/models/attachment_info.rb +15 -4
  175. data/lib/trinsic_api/models/audkenni_provider_output.rb +3 -51
  176. data/lib/trinsic_api/models/austria_handy_signatur_provider_output.rb +2 -34
  177. data/lib/trinsic_api/models/austria_valera_eudi_sandbox_input.rb +149 -0
  178. data/lib/trinsic_api/models/austria_valera_eudi_sandbox_provider_output.rb +172 -0
  179. data/lib/trinsic_api/models/belgium_id_card_provider_output.rb +4 -68
  180. data/lib/trinsic_api/models/bolivia_ci_provider_output.rb +4 -68
  181. data/lib/trinsic_api/models/brazil_biometric_verification_output.rb +182 -0
  182. data/lib/trinsic_api/models/brazil_cnh_facial_biometry_output.rb +1 -17
  183. data/lib/trinsic_api/models/brazil_cpf_check_input.rb +12 -1
  184. data/lib/trinsic_api/models/brazil_cpf_provider_output.rb +262 -0
  185. data/lib/trinsic_api/models/clear_provider_output.rb +375 -0
  186. data/lib/trinsic_api/models/{verimi_address_output.rb → clear_provider_output_address.rb} +48 -48
  187. data/lib/trinsic_api/models/clear_provider_output_check.rb +206 -0
  188. data/lib/trinsic_api/models/clear_provider_output_check_additional_details.rb +149 -0
  189. data/lib/trinsic_api/models/clear_provider_output_document.rb +281 -0
  190. data/lib/trinsic_api/models/clear_provider_output_health_insurance.rb +226 -0
  191. data/lib/trinsic_api/models/clear_provider_output_historical_address.rb +255 -0
  192. data/lib/trinsic_api/models/clear_provider_output_historical_data.rb +164 -0
  193. data/lib/trinsic_api/models/clear_provider_output_historical_name.rb +204 -0
  194. data/lib/trinsic_api/models/clear_provider_output_location_info.rb +215 -0
  195. data/lib/trinsic_api/models/clear_provider_output_partial_date.rb +171 -0
  196. data/lib/trinsic_api/models/clear_provider_output_session_info.rb +204 -0
  197. data/lib/trinsic_api/models/clear_provider_output_traits.rb +325 -0
  198. data/lib/trinsic_api/models/clear_provider_output_verified_email.rb +171 -0
  199. data/lib/trinsic_api/models/clear_provider_output_watchlist_hit.rb +186 -0
  200. data/lib/trinsic_api/models/clear_provider_output_watchlist_hit_details.rb +346 -0
  201. data/lib/trinsic_api/models/clear_provider_output_watchlist_hits.rb +162 -0
  202. data/lib/trinsic_api/models/clear_provider_output_watchlist_source.rb +171 -0
  203. data/lib/trinsic_api/models/colombia_cc_provider_output.rb +10 -170
  204. data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_provider_output.rb +6 -102
  205. data/lib/trinsic_api/models/create_hosted_provider_session_response.rb +1 -1
  206. data/lib/trinsic_api/models/czech_bank_id_address.rb +3 -51
  207. data/lib/trinsic_api/models/czech_bank_id_card.rb +4 -68
  208. data/lib/trinsic_api/models/czech_bank_id_provider_output.rb +1 -17
  209. data/lib/trinsic_api/models/czech_bank_id_verification.rb +2 -34
  210. data/lib/trinsic_api/models/czechia_moje_id_provider_output.rb +4 -68
  211. data/lib/trinsic_api/models/denmark_alt_id_input.rb +149 -0
  212. data/lib/trinsic_api/models/denmark_alt_id_provider_output.rb +172 -0
  213. data/lib/trinsic_api/models/digilocker_aadhaar_provider_output.rb +1 -17
  214. data/lib/trinsic_api/models/diia_provider_output.rb +2 -34
  215. data/lib/trinsic_api/models/el_salvador_dui_provider_output.rb +3 -51
  216. data/lib/trinsic_api/models/estonia_id_card_provider_output.rb +4 -68
  217. data/lib/trinsic_api/models/eudi_age_verification_credential.rb +6 -28
  218. data/lib/trinsic_api/models/eudi_reference_wallet_provider_output.rb +161 -0
  219. data/lib/trinsic_api/models/evrotrust_address_components.rb +314 -0
  220. data/lib/trinsic_api/models/evrotrust_input.rb +160 -0
  221. data/lib/trinsic_api/models/evrotrust_provider_output.rb +484 -0
  222. data/lib/trinsic_api/models/finland_id_card_provider_output.rb +4 -68
  223. data/lib/trinsic_api/models/france_identite_provider_output.rb +1 -17
  224. data/lib/trinsic_api/models/freja_indirect_provider_output.rb +4 -68
  225. data/lib/trinsic_api/models/french_numerique_provider_output.rb +38 -5
  226. data/lib/trinsic_api/models/{french_numerique_given_name.rb → french_numerique_splitted_given_name.rb} +5 -16
  227. data/lib/trinsic_api/models/{french_numerique_phone.rb → french_numerique_splitted_phone.rb} +5 -16
  228. data/lib/trinsic_api/models/germany_eudi_sandbox_input.rb +149 -0
  229. data/lib/trinsic_api/models/germany_eudi_sandbox_provider_output.rb +161 -0
  230. data/lib/trinsic_api/models/get_attachment_response.rb +1 -1
  231. data/lib/trinsic_api/models/get_session_result_response.rb +2 -0
  232. data/lib/trinsic_api/models/google_wallet_id_pass_credential.rb +1 -1
  233. data/lib/trinsic_api/models/google_wallet_provider_output.rb +1 -17
  234. data/lib/trinsic_api/models/guatemala_cui_lookup_input.rb +16 -5
  235. data/lib/trinsic_api/models/guatemala_cui_provider_output.rb +9 -153
  236. data/lib/trinsic_api/models/idemia_mobile_id_provider_output.rb +403 -0
  237. data/lib/trinsic_api/models/identity_data.rb +17 -1
  238. data/lib/trinsic_api/models/india_digilocker_aadhaar_match_date_of_birth_field.rb +2 -34
  239. data/lib/trinsic_api/models/india_digilocker_aadhaar_match_full_name_field.rb +2 -34
  240. data/lib/trinsic_api/models/india_pan_structured_number.rb +5 -85
  241. data/lib/trinsic_api/models/indonesia_dukcapil_match_date_of_birth_field.rb +2 -34
  242. data/lib/trinsic_api/models/indonesia_dukcapil_match_full_name_field.rb +2 -34
  243. data/lib/trinsic_api/models/indonesia_dukcapil_match_national_id_number_field.rb +2 -34
  244. data/lib/trinsic_api/models/indonesia_dukcapil_match_provider_output.rb +9 -153
  245. data/lib/trinsic_api/models/indonesia_nik_match_field.rb +2 -34
  246. data/lib/trinsic_api/models/iso180132_biometric_data_block_product.rb +2 -34
  247. data/lib/trinsic_api/models/iso180132_biometric_group_template.rb +1 -17
  248. data/lib/trinsic_api/models/iso180132_biometric_template.rb +3 -51
  249. data/lib/trinsic_api/models/iso180132_biometric_template_header.rb +3 -51
  250. data/lib/trinsic_api/models/iso180132_biometric_validity_period.rb +2 -34
  251. data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_class.rb +2 -34
  252. data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_endorsement.rb +1 -17
  253. data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_restriction.rb +1 -17
  254. data/lib/trinsic_api/models/iso180135_aamva_weight_range.rb +1 -17
  255. data/lib/trinsic_api/models/iso180135_driving_privilege.rb +2 -18
  256. data/lib/trinsic_api/models/iso180135_driving_privilege_code.rb +1 -17
  257. data/lib/trinsic_api/models/itsme_address_base.rb +171 -0
  258. data/lib/trinsic_api/models/itsme_belgian_identity_card.rb +193 -0
  259. data/lib/trinsic_api/models/itsme_belgian_national_number.rb +171 -0
  260. data/lib/trinsic_api/models/itsme_direct_device.rb +270 -0
  261. data/lib/trinsic_api/models/itsme_identity_document.rb +193 -0
  262. data/lib/trinsic_api/models/itsme_login_provider_output.rb +293 -0
  263. data/lib/trinsic_api/models/itsme_place_of_birth.rb +160 -0
  264. data/lib/trinsic_api/models/{idemia_preview_provider_address.rb → itsme_provider_address.rb} +30 -56
  265. data/lib/trinsic_api/models/itsme_provider_output.rb +162 -144
  266. data/lib/trinsic_api/models/kenya_nid_lookup2_provider_output.rb +6 -102
  267. data/lib/trinsic_api/models/kenya_nid_lookup3_input.rb +194 -0
  268. data/lib/trinsic_api/models/kenya_nid_lookup3_provider_output.rb +227 -0
  269. data/lib/trinsic_api/models/kenya_nid_match2_date_of_birth_field.rb +2 -34
  270. data/lib/trinsic_api/models/kenya_nid_match2_full_name_field.rb +2 -34
  271. data/lib/trinsic_api/models/kenya_nid_match2_national_id_number_field.rb +2 -34
  272. data/lib/trinsic_api/models/kenya_nid_match2_provider_output.rb +2 -34
  273. data/lib/trinsic_api/models/kenya_nid_match2_sex_field.rb +2 -34
  274. data/lib/trinsic_api/models/korea_telco_match_provider_output.rb +6 -54
  275. data/lib/trinsic_api/models/la_wallet_provider_output.rb +17 -289
  276. data/lib/trinsic_api/models/latvia_eparaksts_mobile_provider_output.rb +3 -51
  277. data/lib/trinsic_api/models/latvia_eparaksts_provider_output.rb +3 -51
  278. data/lib/trinsic_api/models/lithuania_id_card_provider_output.rb +4 -68
  279. data/lib/trinsic_api/models/mdl_output.rb +7 -71
  280. data/lib/trinsic_api/models/mdl_output_certificate_data.rb +18 -87
  281. data/lib/trinsic_api/models/mdl_output_field_data.rb +2 -34
  282. data/lib/trinsic_api/models/mock_output_provider_input.rb +150 -0
  283. data/lib/trinsic_api/models/moldova_driver_license_credential.rb +284 -0
  284. data/lib/trinsic_api/models/moldova_evo_wallet_input.rb +149 -0
  285. data/lib/trinsic_api/models/moldova_evo_wallet_provider_output.rb +194 -0
  286. data/lib/trinsic_api/models/moldova_identity_card_credential.rb +381 -0
  287. data/lib/trinsic_api/models/moldova_vehicle_registration_certificate_credential.rb +438 -0
  288. data/lib/trinsic_api/models/netherlands_eudi_sandbox_input.rb +149 -0
  289. data/lib/trinsic_api/models/netherlands_eudi_sandbox_provider_output.rb +161 -0
  290. data/lib/trinsic_api/models/netherlands_idin_address.rb +68 -93
  291. data/lib/trinsic_api/models/netherlands_idin_provider_output.rb +9 -137
  292. data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +4 -52
  293. data/lib/trinsic_api/models/nigeria_nin_lookup3_input.rb +149 -0
  294. data/lib/trinsic_api/models/nigeria_nin_lookup3_provider_output.rb +326 -0
  295. data/lib/trinsic_api/models/nigeria_nin_match2_date_of_birth_field.rb +2 -34
  296. data/lib/trinsic_api/models/nigeria_nin_match2_full_name_field.rb +2 -34
  297. data/lib/trinsic_api/models/nigeria_nin_match2_national_id_number_field.rb +2 -34
  298. data/lib/trinsic_api/models/nigeria_nin_match2_phone_number_field.rb +2 -34
  299. data/lib/trinsic_api/models/nigeria_nin_match2_provider_output.rb +2 -34
  300. data/lib/trinsic_api/models/nigeria_nin_match2_sex_field.rb +2 -34
  301. data/lib/trinsic_api/models/panama_cedula_lookup_input.rb +5 -16
  302. data/lib/trinsic_api/models/panama_cedula_provider_output.rb +6 -97
  303. data/lib/trinsic_api/models/peru_dni_address.rb +3 -51
  304. data/lib/trinsic_api/models/peru_dni_provider_output.rb +8 -136
  305. data/lib/trinsic_api/models/philippines_digital_nid_provider_output.rb +1 -17
  306. data/lib/trinsic_api/models/philippines_philsys_match_provider_output.rb +2 -34
  307. data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +1 -17
  308. data/lib/trinsic_api/models/poland_edo_app_provider_output.rb +4 -68
  309. data/lib/trinsic_api/models/poland_mobywatel_match_input.rb +3 -3
  310. data/lib/trinsic_api/models/poland_mobywatel_match_provider_output.rb +1 -1
  311. data/lib/trinsic_api/models/poland_moje_id_provider_output.rb +3 -51
  312. data/lib/trinsic_api/models/portugal_id_card_provider_output.rb +4 -68
  313. data/lib/trinsic_api/models/provider.rb +1 -57
  314. data/lib/trinsic_api/models/provider_input.rb +97 -1
  315. data/lib/trinsic_api/models/provider_output.rb +156 -24
  316. data/lib/trinsic_api/models/raw18013_document_request.rb +9 -0
  317. data/lib/trinsic_api/models/samsung_id_with_clear_credential.rb +295 -0
  318. data/lib/trinsic_api/models/samsung_wallet_input.rb +1 -1
  319. data/lib/trinsic_api/models/samsung_wallet_provider_output.rb +13 -18
  320. data/lib/trinsic_api/models/serbia_id_card_provider_output.rb +4 -68
  321. data/lib/trinsic_api/models/signzy_india_aadhaar_fetch_provider_output.rb +2 -34
  322. data/lib/trinsic_api/models/south_africa_nid_lookup2_provider_output.rb +10 -138
  323. data/lib/trinsic_api/models/south_africa_nid_match2_date_of_birth_field.rb +2 -34
  324. data/lib/trinsic_api/models/south_africa_nid_match2_full_name_field.rb +2 -34
  325. data/lib/trinsic_api/models/south_africa_nid_match2_national_id_number_field.rb +2 -34
  326. data/lib/trinsic_api/models/south_africa_nid_match2_provider_output.rb +2 -34
  327. data/lib/trinsic_api/models/south_africa_nid_match2_sex_field.rb +2 -34
  328. data/lib/trinsic_api/models/spid_billing_information.rb +3 -51
  329. data/lib/trinsic_api/models/spid_provider_output.rb +2 -34
  330. data/lib/trinsic_api/models/sub_provider_metadata.rb +16 -5
  331. data/lib/trinsic_api/models/uganda_nid_match2_date_of_birth_field.rb +2 -34
  332. data/lib/trinsic_api/models/uganda_nid_match2_national_id_number_field.rb +2 -34
  333. data/lib/trinsic_api/models/uganda_nid_match2_provider_output.rb +3 -51
  334. data/lib/trinsic_api/models/uganda_nid_match2_secondary_id_number_field.rb +2 -34
  335. data/lib/trinsic_api/models/zimbabwe_nid_lookup2_provider_output.rb +6 -102
  336. data/lib/trinsic_api/version.rb +1 -1
  337. data/lib/trinsic_api.rb +55 -6
  338. data/spec/models/alaska_mobile_id_provider_output_spec.rb +42 -0
  339. data/spec/models/attachment_info_spec.rb +6 -0
  340. data/spec/models/austria_valera_eudi_sandbox_input_spec.rb +36 -0
  341. data/spec/models/austria_valera_eudi_sandbox_provider_output_spec.rb +48 -0
  342. data/spec/models/brazil_biometric_verification_output_spec.rb +54 -0
  343. data/spec/models/brazil_cpf_check_input_spec.rb +6 -0
  344. data/spec/models/brazil_cpf_provider_output_spec.rb +96 -0
  345. data/spec/models/{verimi_address_output_spec.rb → clear_provider_output_address_spec.rb} +12 -12
  346. data/spec/models/clear_provider_output_check_additional_details_spec.rb +36 -0
  347. data/spec/models/clear_provider_output_check_spec.rb +66 -0
  348. data/spec/models/clear_provider_output_document_spec.rb +108 -0
  349. data/spec/models/clear_provider_output_health_insurance_spec.rb +78 -0
  350. data/spec/models/clear_provider_output_historical_address_spec.rb +90 -0
  351. data/spec/models/clear_provider_output_historical_data_spec.rb +42 -0
  352. data/spec/models/clear_provider_output_historical_name_spec.rb +66 -0
  353. data/spec/models/clear_provider_output_location_info_spec.rb +72 -0
  354. data/spec/models/clear_provider_output_partial_date_spec.rb +48 -0
  355. data/spec/models/clear_provider_output_session_info_spec.rb +66 -0
  356. data/spec/models/clear_provider_output_spec.rb +150 -0
  357. data/spec/models/clear_provider_output_traits_spec.rb +132 -0
  358. data/spec/models/clear_provider_output_verified_email_spec.rb +48 -0
  359. data/spec/models/clear_provider_output_watchlist_hit_details_spec.rb +126 -0
  360. data/spec/models/clear_provider_output_watchlist_hit_spec.rb +54 -0
  361. data/spec/models/clear_provider_output_watchlist_hits_spec.rb +42 -0
  362. data/spec/models/clear_provider_output_watchlist_source_spec.rb +48 -0
  363. data/spec/models/denmark_alt_id_input_spec.rb +36 -0
  364. data/spec/models/denmark_alt_id_provider_output_spec.rb +48 -0
  365. data/spec/models/eudi_age_verification_credential_spec.rb +0 -12
  366. data/spec/models/eudi_reference_wallet_provider_output_spec.rb +42 -0
  367. data/spec/models/evrotrust_address_components_spec.rb +126 -0
  368. data/spec/models/evrotrust_input_spec.rb +42 -0
  369. data/spec/models/{idemia_preview_provider_output_spec.rb → evrotrust_provider_output_spec.rb} +41 -35
  370. data/spec/models/french_numerique_provider_output_spec.rb +18 -0
  371. data/spec/models/{french_numerique_given_name_spec.rb → french_numerique_splitted_given_name_spec.rb} +6 -12
  372. data/spec/models/{french_numerique_phone_spec.rb → french_numerique_splitted_phone_spec.rb} +6 -12
  373. data/spec/models/germany_eudi_sandbox_input_spec.rb +36 -0
  374. data/spec/models/germany_eudi_sandbox_provider_output_spec.rb +42 -0
  375. data/spec/models/guatemala_cui_lookup_input_spec.rb +6 -0
  376. data/spec/models/{verimi_provider_output_spec.rb → idemia_mobile_id_provider_output_spec.rb} +29 -41
  377. data/spec/models/itsme_address_base_spec.rb +48 -0
  378. data/spec/models/itsme_belgian_identity_card_spec.rb +60 -0
  379. data/spec/models/itsme_belgian_national_number_spec.rb +48 -0
  380. data/spec/models/itsme_direct_device_spec.rb +102 -0
  381. data/spec/models/itsme_identity_document_spec.rb +60 -0
  382. data/spec/models/itsme_login_provider_output_spec.rb +114 -0
  383. data/spec/models/itsme_place_of_birth_spec.rb +42 -0
  384. data/spec/models/itsme_provider_address_spec.rb +60 -0
  385. data/spec/models/itsme_provider_output_spec.rb +49 -13
  386. data/spec/models/kenya_nid_lookup3_input_spec.rb +36 -0
  387. data/spec/models/{idemia_preview_provider_address_spec.rb → kenya_nid_lookup3_provider_output_spec.rb} +14 -14
  388. data/spec/models/mdl_output_certificate_data_spec.rb +6 -0
  389. data/spec/models/mock_output_provider_input_spec.rb +36 -0
  390. data/spec/models/moldova_driver_license_credential_spec.rb +108 -0
  391. data/spec/models/moldova_evo_wallet_input_spec.rb +36 -0
  392. data/spec/models/moldova_evo_wallet_provider_output_spec.rb +60 -0
  393. data/spec/models/moldova_identity_card_credential_spec.rb +162 -0
  394. data/spec/models/moldova_vehicle_registration_certificate_credential_spec.rb +192 -0
  395. data/spec/models/netherlands_eudi_sandbox_input_spec.rb +36 -0
  396. data/spec/models/netherlands_eudi_sandbox_provider_output_spec.rb +42 -0
  397. data/spec/models/netherlands_idin_address_spec.rb +30 -0
  398. data/spec/models/nigeria_nin_lookup3_input_spec.rb +36 -0
  399. data/spec/models/nigeria_nin_lookup3_provider_output_spec.rb +132 -0
  400. data/spec/models/panama_cedula_lookup_input_spec.rb +0 -6
  401. data/spec/models/panama_cedula_provider_output_spec.rb +0 -6
  402. data/spec/models/provider_input_spec.rb +54 -0
  403. data/spec/models/provider_output_spec.rb +78 -6
  404. data/spec/models/provider_spec.rb +0 -12
  405. data/spec/models/samsung_id_with_clear_credential_spec.rb +114 -0
  406. data/spec/models/samsung_wallet_provider_output_spec.rb +6 -0
  407. data/spec/models/sub_provider_metadata_spec.rb +6 -0
  408. metadata +462 -266
  409. data/docs/IdemiaPreviewProviderAddress.md +0 -32
  410. data/docs/IdemiaPreviewProviderOutput.md +0 -76
  411. data/docs/VerimiAddressOutput.md +0 -28
  412. data/docs/VerimiProviderOutput.md +0 -68
  413. data/lib/trinsic_api/models/idemia_preview_provider_output.rb +0 -469
  414. data/lib/trinsic_api/models/verimi_provider_output.rb +0 -425
@@ -37,7 +37,7 @@ module TrinsicApi
37
37
  # National Identification Number (NIN). This is a unique, permanent identifier assigned by the National Identity Management Commission (NIMC) upon enrollment. Format: - 11 numeric digits - No publicly known encoding scheme is used to encode personal information in the NIN - Last digit is a checksum using the Verhoeff algorithm
38
38
  attr_accessor :national_identity_number
39
39
 
40
- # Phone number registered with the National Identity Management Commission.
40
+ # Phone number registered with the National Identity Management Commission. Format: - Valid Nigerian numbers are returned in international E.164 format (for example, +2348031234567). - Otherwise, the value is returned in trunk notation (leading zero included) as provided by the authority (for example, 0123456789).
41
41
  attr_accessor :phone_number
42
42
 
43
43
  # Email address registered with the National Identity Management Commission.
@@ -101,10 +101,13 @@ module TrinsicApi
101
101
  # List of attributes with nullable: true
102
102
  def self.openapi_nullable
103
103
  Set.new([
104
+ :'first_name',
104
105
  :'middle_name',
106
+ :'surname',
105
107
  :'sex',
106
108
  :'date_of_birth',
107
109
  :'birth_country',
110
+ :'national_identity_number',
108
111
  :'phone_number',
109
112
  :'email',
110
113
  :'address',
@@ -131,8 +134,6 @@ module TrinsicApi
131
134
 
132
135
  if attributes.key?(:'first_name')
133
136
  self.first_name = attributes[:'first_name']
134
- else
135
- self.first_name = nil
136
137
  end
137
138
 
138
139
  if attributes.key?(:'middle_name')
@@ -141,8 +142,6 @@ module TrinsicApi
141
142
 
142
143
  if attributes.key?(:'surname')
143
144
  self.surname = attributes[:'surname']
144
- else
145
- self.surname = nil
146
145
  end
147
146
 
148
147
  if attributes.key?(:'sex')
@@ -159,8 +158,6 @@ module TrinsicApi
159
158
 
160
159
  if attributes.key?(:'national_identity_number')
161
160
  self.national_identity_number = attributes[:'national_identity_number']
162
- else
163
- self.national_identity_number = nil
164
161
  end
165
162
 
166
163
  if attributes.key?(:'phone_number')
@@ -189,18 +186,6 @@ module TrinsicApi
189
186
  def list_invalid_properties
190
187
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
191
188
  invalid_properties = Array.new
192
- if @first_name.nil?
193
- invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
194
- end
195
-
196
- if @surname.nil?
197
- invalid_properties.push('invalid value for "surname", surname cannot be nil.')
198
- end
199
-
200
- if @national_identity_number.nil?
201
- invalid_properties.push('invalid value for "national_identity_number", national_identity_number cannot be nil.')
202
- end
203
-
204
189
  invalid_properties
205
190
  end
206
191
 
@@ -208,42 +193,9 @@ module TrinsicApi
208
193
  # @return true if the model is valid
209
194
  def valid?
210
195
  warn '[DEPRECATED] the `valid?` method is obsolete'
211
- return false if @first_name.nil?
212
- return false if @surname.nil?
213
- return false if @national_identity_number.nil?
214
196
  true
215
197
  end
216
198
 
217
- # Custom attribute writer method with validation
218
- # @param [Object] first_name Value to be assigned
219
- def first_name=(first_name)
220
- if first_name.nil?
221
- fail ArgumentError, 'first_name cannot be nil'
222
- end
223
-
224
- @first_name = first_name
225
- end
226
-
227
- # Custom attribute writer method with validation
228
- # @param [Object] surname Value to be assigned
229
- def surname=(surname)
230
- if surname.nil?
231
- fail ArgumentError, 'surname cannot be nil'
232
- end
233
-
234
- @surname = surname
235
- end
236
-
237
- # Custom attribute writer method with validation
238
- # @param [Object] national_identity_number Value to be assigned
239
- def national_identity_number=(national_identity_number)
240
- if national_identity_number.nil?
241
- fail ArgumentError, 'national_identity_number cannot be nil'
242
- end
243
-
244
- @national_identity_number = national_identity_number
245
- end
246
-
247
199
  # Checks equality by comparing each attribute.
248
200
  # @param [Object] Object to be compared
249
201
  def ==(o)
@@ -0,0 +1,149 @@
1
+ =begin
2
+ #Trinsic API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.21.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module TrinsicApi
17
+ class NigeriaNinLookup3Input < ApiModelBase
18
+ # National Identification Number (NIN). This is a unique, permanent identifier assigned by the National Identity Management Commission (NIMC) upon enrollment. Format: - 11 numeric digits - No publicly known encoding scheme is used to encode personal information in the NIN - Last digit is a checksum using the Verhoeff algorithm
19
+ attr_accessor :id_number
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'id_number' => :'idNumber'
25
+ }
26
+ end
27
+
28
+ # Returns attribute mapping this model knows about
29
+ def self.acceptable_attribute_map
30
+ attribute_map
31
+ end
32
+
33
+ # Returns all the JSON keys this model knows about
34
+ def self.acceptable_attributes
35
+ acceptable_attribute_map.values
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.openapi_types
40
+ {
41
+ :'id_number' => :'String'
42
+ }
43
+ end
44
+
45
+ # List of attributes with nullable: true
46
+ def self.openapi_nullable
47
+ Set.new([
48
+ :'id_number'
49
+ ])
50
+ end
51
+
52
+ # Initializes the object
53
+ # @param [Hash] attributes Model attributes in the form of hash
54
+ def initialize(attributes = {})
55
+ if (!attributes.is_a?(Hash))
56
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::NigeriaNinLookup3Input` initialize method"
57
+ end
58
+
59
+ # check to see if the attribute exists and convert string to symbol for hash key
60
+ acceptable_attribute_map = self.class.acceptable_attribute_map
61
+ attributes = attributes.each_with_object({}) { |(k, v), h|
62
+ if (!acceptable_attribute_map.key?(k.to_sym))
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::NigeriaNinLookup3Input`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
64
+ end
65
+ h[k.to_sym] = v
66
+ }
67
+
68
+ if attributes.key?(:'id_number')
69
+ self.id_number = attributes[:'id_number']
70
+ end
71
+ end
72
+
73
+ # Show invalid properties with the reasons. Usually used together with valid?
74
+ # @return Array for valid properties with the reasons
75
+ def list_invalid_properties
76
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
77
+ invalid_properties = Array.new
78
+ invalid_properties
79
+ end
80
+
81
+ # Check to see if the all the properties in the model are valid
82
+ # @return true if the model is valid
83
+ def valid?
84
+ warn '[DEPRECATED] the `valid?` method is obsolete'
85
+ true
86
+ end
87
+
88
+ # Checks equality by comparing each attribute.
89
+ # @param [Object] Object to be compared
90
+ def ==(o)
91
+ return true if self.equal?(o)
92
+ self.class == o.class &&
93
+ id_number == o.id_number
94
+ end
95
+
96
+ # @see the `==` method
97
+ # @param [Object] Object to be compared
98
+ def eql?(o)
99
+ self == o
100
+ end
101
+
102
+ # Calculates hash code according to all attributes.
103
+ # @return [Integer] Hash code
104
+ def hash
105
+ [id_number].hash
106
+ end
107
+
108
+ # Builds the object from hash
109
+ # @param [Hash] attributes Model attributes in the form of hash
110
+ # @return [Object] Returns the model itself
111
+ def self.build_from_hash(attributes)
112
+ return nil unless attributes.is_a?(Hash)
113
+ attributes = attributes.transform_keys(&:to_sym)
114
+ transformed_hash = {}
115
+ openapi_types.each_pair do |key, type|
116
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
117
+ transformed_hash["#{key}"] = nil
118
+ elsif type =~ /\AArray<(.*)>/i
119
+ # check to ensure the input is an array given that the attribute
120
+ # is documented as an array but the input is not
121
+ if attributes[attribute_map[key]].is_a?(Array)
122
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
123
+ end
124
+ elsif !attributes[attribute_map[key]].nil?
125
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
126
+ end
127
+ end
128
+ new(transformed_hash)
129
+ end
130
+
131
+ # Returns the object in the form of hash
132
+ # @return [Hash] Returns the object in the form of hash
133
+ def to_hash
134
+ hash = {}
135
+ self.class.attribute_map.each_pair do |attr, param|
136
+ value = self.send(attr)
137
+ if value.nil?
138
+ is_nullable = self.class.openapi_nullable.include?(attr)
139
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
140
+ end
141
+
142
+ hash[param] = _to_hash(value)
143
+ end
144
+ hash
145
+ end
146
+
147
+ end
148
+
149
+ end
@@ -0,0 +1,326 @@
1
+ =begin
2
+ #Trinsic API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.21.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module TrinsicApi
17
+ # Exposed properties for the `nigeria-nin-lookup-3` Provider which do not directly map to the normalized IdentityData model.
18
+ class NigeriaNinLookup3ProviderOutput < ApiModelBase
19
+ # National Identification Number (NIN). This is a unique, permanent identifier assigned by the National Identity Management Commission (NIMC) upon enrollment. Format: - 11 numeric digits - No publicly known encoding scheme is used to encode personal information in the NIN - Last digit is a checksum using the Verhoeff algorithm
20
+ attr_accessor :national_identity_number
21
+
22
+ # The given name of the individual.
23
+ attr_accessor :given_name
24
+
25
+ # The middle name of the individual.
26
+ attr_accessor :middle_name
27
+
28
+ # The family name of the individual.
29
+ attr_accessor :family_name
30
+
31
+ # The sex of the individual. Possible values: - Male - Female
32
+ attr_accessor :sex
33
+
34
+ # The date of birth of the individual.
35
+ attr_accessor :date_of_birth
36
+
37
+ # Country of birth as an ISO 3166-1 alpha-2 code.
38
+ attr_accessor :birth_country
39
+
40
+ # State of birth as recorded by National Identity Management Commission (NIMC).
41
+ attr_accessor :birth_state
42
+
43
+ # Phone number registered with National Identity Management Commission (NIMC). Format: - International E.164
44
+ attr_accessor :phone_number
45
+
46
+ # Street or residence line registered with National Identity Management Commission (NIMC). This is the street-level address line only. Town, Local Government Area, and state are returned separately.
47
+ attr_accessor :street_address
48
+
49
+ # Town of residence registered with National Identity Management Commission (NIMC).
50
+ attr_accessor :residence_town
51
+
52
+ # Local Government Area of residence. Nigeria is divided into 774 Local Government Areas (LGAs), which are the third-tier administrative divisions below states and the Federal Capital Territory. LGAs are roughly equivalent to counties or municipalities in other countries.
53
+ attr_accessor :local_government_area
54
+
55
+ # State of residence registered with National Identity Management Commission (NIMC).
56
+ attr_accessor :state
57
+
58
+ # First name of the individual's next of kin.
59
+ attr_accessor :next_of_kin_first_name
60
+
61
+ # Street or residence line of the individual's next of kin.
62
+ attr_accessor :next_of_kin_street_address
63
+
64
+ # Local Government Area of the individual's next of kin.
65
+ attr_accessor :next_of_kin_local_government_area
66
+
67
+ # Town of residence of the individual's next of kin.
68
+ attr_accessor :next_of_kin_town
69
+
70
+ # Attribute mapping from ruby-style variable name to JSON key.
71
+ def self.attribute_map
72
+ {
73
+ :'national_identity_number' => :'nationalIdentityNumber',
74
+ :'given_name' => :'givenName',
75
+ :'middle_name' => :'middleName',
76
+ :'family_name' => :'familyName',
77
+ :'sex' => :'sex',
78
+ :'date_of_birth' => :'dateOfBirth',
79
+ :'birth_country' => :'birthCountry',
80
+ :'birth_state' => :'birthState',
81
+ :'phone_number' => :'phoneNumber',
82
+ :'street_address' => :'streetAddress',
83
+ :'residence_town' => :'residenceTown',
84
+ :'local_government_area' => :'localGovernmentArea',
85
+ :'state' => :'state',
86
+ :'next_of_kin_first_name' => :'nextOfKinFirstName',
87
+ :'next_of_kin_street_address' => :'nextOfKinStreetAddress',
88
+ :'next_of_kin_local_government_area' => :'nextOfKinLocalGovernmentArea',
89
+ :'next_of_kin_town' => :'nextOfKinTown'
90
+ }
91
+ end
92
+
93
+ # Returns attribute mapping this model knows about
94
+ def self.acceptable_attribute_map
95
+ attribute_map
96
+ end
97
+
98
+ # Returns all the JSON keys this model knows about
99
+ def self.acceptable_attributes
100
+ acceptable_attribute_map.values
101
+ end
102
+
103
+ # Attribute type mapping.
104
+ def self.openapi_types
105
+ {
106
+ :'national_identity_number' => :'String',
107
+ :'given_name' => :'String',
108
+ :'middle_name' => :'String',
109
+ :'family_name' => :'String',
110
+ :'sex' => :'String',
111
+ :'date_of_birth' => :'Date',
112
+ :'birth_country' => :'String',
113
+ :'birth_state' => :'String',
114
+ :'phone_number' => :'String',
115
+ :'street_address' => :'String',
116
+ :'residence_town' => :'String',
117
+ :'local_government_area' => :'String',
118
+ :'state' => :'String',
119
+ :'next_of_kin_first_name' => :'String',
120
+ :'next_of_kin_street_address' => :'String',
121
+ :'next_of_kin_local_government_area' => :'String',
122
+ :'next_of_kin_town' => :'String'
123
+ }
124
+ end
125
+
126
+ # List of attributes with nullable: true
127
+ def self.openapi_nullable
128
+ Set.new([
129
+ :'national_identity_number',
130
+ :'given_name',
131
+ :'middle_name',
132
+ :'family_name',
133
+ :'sex',
134
+ :'date_of_birth',
135
+ :'birth_country',
136
+ :'birth_state',
137
+ :'phone_number',
138
+ :'street_address',
139
+ :'residence_town',
140
+ :'local_government_area',
141
+ :'state',
142
+ :'next_of_kin_first_name',
143
+ :'next_of_kin_street_address',
144
+ :'next_of_kin_local_government_area',
145
+ :'next_of_kin_town'
146
+ ])
147
+ end
148
+
149
+ # Initializes the object
150
+ # @param [Hash] attributes Model attributes in the form of hash
151
+ def initialize(attributes = {})
152
+ if (!attributes.is_a?(Hash))
153
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::NigeriaNinLookup3ProviderOutput` initialize method"
154
+ end
155
+
156
+ # check to see if the attribute exists and convert string to symbol for hash key
157
+ acceptable_attribute_map = self.class.acceptable_attribute_map
158
+ attributes = attributes.each_with_object({}) { |(k, v), h|
159
+ if (!acceptable_attribute_map.key?(k.to_sym))
160
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::NigeriaNinLookup3ProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
161
+ end
162
+ h[k.to_sym] = v
163
+ }
164
+
165
+ if attributes.key?(:'national_identity_number')
166
+ self.national_identity_number = attributes[:'national_identity_number']
167
+ end
168
+
169
+ if attributes.key?(:'given_name')
170
+ self.given_name = attributes[:'given_name']
171
+ end
172
+
173
+ if attributes.key?(:'middle_name')
174
+ self.middle_name = attributes[:'middle_name']
175
+ end
176
+
177
+ if attributes.key?(:'family_name')
178
+ self.family_name = attributes[:'family_name']
179
+ end
180
+
181
+ if attributes.key?(:'sex')
182
+ self.sex = attributes[:'sex']
183
+ end
184
+
185
+ if attributes.key?(:'date_of_birth')
186
+ self.date_of_birth = attributes[:'date_of_birth']
187
+ end
188
+
189
+ if attributes.key?(:'birth_country')
190
+ self.birth_country = attributes[:'birth_country']
191
+ end
192
+
193
+ if attributes.key?(:'birth_state')
194
+ self.birth_state = attributes[:'birth_state']
195
+ end
196
+
197
+ if attributes.key?(:'phone_number')
198
+ self.phone_number = attributes[:'phone_number']
199
+ end
200
+
201
+ if attributes.key?(:'street_address')
202
+ self.street_address = attributes[:'street_address']
203
+ end
204
+
205
+ if attributes.key?(:'residence_town')
206
+ self.residence_town = attributes[:'residence_town']
207
+ end
208
+
209
+ if attributes.key?(:'local_government_area')
210
+ self.local_government_area = attributes[:'local_government_area']
211
+ end
212
+
213
+ if attributes.key?(:'state')
214
+ self.state = attributes[:'state']
215
+ end
216
+
217
+ if attributes.key?(:'next_of_kin_first_name')
218
+ self.next_of_kin_first_name = attributes[:'next_of_kin_first_name']
219
+ end
220
+
221
+ if attributes.key?(:'next_of_kin_street_address')
222
+ self.next_of_kin_street_address = attributes[:'next_of_kin_street_address']
223
+ end
224
+
225
+ if attributes.key?(:'next_of_kin_local_government_area')
226
+ self.next_of_kin_local_government_area = attributes[:'next_of_kin_local_government_area']
227
+ end
228
+
229
+ if attributes.key?(:'next_of_kin_town')
230
+ self.next_of_kin_town = attributes[:'next_of_kin_town']
231
+ end
232
+ end
233
+
234
+ # Show invalid properties with the reasons. Usually used together with valid?
235
+ # @return Array for valid properties with the reasons
236
+ def list_invalid_properties
237
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
238
+ invalid_properties = Array.new
239
+ invalid_properties
240
+ end
241
+
242
+ # Check to see if the all the properties in the model are valid
243
+ # @return true if the model is valid
244
+ def valid?
245
+ warn '[DEPRECATED] the `valid?` method is obsolete'
246
+ true
247
+ end
248
+
249
+ # Checks equality by comparing each attribute.
250
+ # @param [Object] Object to be compared
251
+ def ==(o)
252
+ return true if self.equal?(o)
253
+ self.class == o.class &&
254
+ national_identity_number == o.national_identity_number &&
255
+ given_name == o.given_name &&
256
+ middle_name == o.middle_name &&
257
+ family_name == o.family_name &&
258
+ sex == o.sex &&
259
+ date_of_birth == o.date_of_birth &&
260
+ birth_country == o.birth_country &&
261
+ birth_state == o.birth_state &&
262
+ phone_number == o.phone_number &&
263
+ street_address == o.street_address &&
264
+ residence_town == o.residence_town &&
265
+ local_government_area == o.local_government_area &&
266
+ state == o.state &&
267
+ next_of_kin_first_name == o.next_of_kin_first_name &&
268
+ next_of_kin_street_address == o.next_of_kin_street_address &&
269
+ next_of_kin_local_government_area == o.next_of_kin_local_government_area &&
270
+ next_of_kin_town == o.next_of_kin_town
271
+ end
272
+
273
+ # @see the `==` method
274
+ # @param [Object] Object to be compared
275
+ def eql?(o)
276
+ self == o
277
+ end
278
+
279
+ # Calculates hash code according to all attributes.
280
+ # @return [Integer] Hash code
281
+ def hash
282
+ [national_identity_number, given_name, middle_name, family_name, sex, date_of_birth, birth_country, birth_state, phone_number, street_address, residence_town, local_government_area, state, next_of_kin_first_name, next_of_kin_street_address, next_of_kin_local_government_area, next_of_kin_town].hash
283
+ end
284
+
285
+ # Builds the object from hash
286
+ # @param [Hash] attributes Model attributes in the form of hash
287
+ # @return [Object] Returns the model itself
288
+ def self.build_from_hash(attributes)
289
+ return nil unless attributes.is_a?(Hash)
290
+ attributes = attributes.transform_keys(&:to_sym)
291
+ transformed_hash = {}
292
+ openapi_types.each_pair do |key, type|
293
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
294
+ transformed_hash["#{key}"] = nil
295
+ elsif type =~ /\AArray<(.*)>/i
296
+ # check to ensure the input is an array given that the attribute
297
+ # is documented as an array but the input is not
298
+ if attributes[attribute_map[key]].is_a?(Array)
299
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
300
+ end
301
+ elsif !attributes[attribute_map[key]].nil?
302
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
303
+ end
304
+ end
305
+ new(transformed_hash)
306
+ end
307
+
308
+ # Returns the object in the form of hash
309
+ # @return [Hash] Returns the object in the form of hash
310
+ def to_hash
311
+ hash = {}
312
+ self.class.attribute_map.each_pair do |attr, param|
313
+ value = self.send(attr)
314
+ if value.nil?
315
+ is_nullable = self.class.openapi_nullable.include?(attr)
316
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
317
+ end
318
+
319
+ hash[param] = _to_hash(value)
320
+ end
321
+ hash
322
+ end
323
+
324
+ end
325
+
326
+ end
@@ -50,6 +50,8 @@ module TrinsicApi
50
50
  # List of attributes with nullable: true
51
51
  def self.openapi_nullable
52
52
  Set.new([
53
+ :'input_value',
54
+ :'outcome'
53
55
  ])
54
56
  end
55
57
 
@@ -71,14 +73,10 @@ module TrinsicApi
71
73
 
72
74
  if attributes.key?(:'input_value')
73
75
  self.input_value = attributes[:'input_value']
74
- else
75
- self.input_value = nil
76
76
  end
77
77
 
78
78
  if attributes.key?(:'outcome')
79
79
  self.outcome = attributes[:'outcome']
80
- else
81
- self.outcome = nil
82
80
  end
83
81
  end
84
82
 
@@ -87,14 +85,6 @@ module TrinsicApi
87
85
  def list_invalid_properties
88
86
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
89
87
  invalid_properties = Array.new
90
- if @input_value.nil?
91
- invalid_properties.push('invalid value for "input_value", input_value cannot be nil.')
92
- end
93
-
94
- if @outcome.nil?
95
- invalid_properties.push('invalid value for "outcome", outcome cannot be nil.')
96
- end
97
-
98
88
  invalid_properties
99
89
  end
100
90
 
@@ -102,31 +92,9 @@ module TrinsicApi
102
92
  # @return true if the model is valid
103
93
  def valid?
104
94
  warn '[DEPRECATED] the `valid?` method is obsolete'
105
- return false if @input_value.nil?
106
- return false if @outcome.nil?
107
95
  true
108
96
  end
109
97
 
110
- # Custom attribute writer method with validation
111
- # @param [Object] input_value Value to be assigned
112
- def input_value=(input_value)
113
- if input_value.nil?
114
- fail ArgumentError, 'input_value cannot be nil'
115
- end
116
-
117
- @input_value = input_value
118
- end
119
-
120
- # Custom attribute writer method with validation
121
- # @param [Object] outcome Value to be assigned
122
- def outcome=(outcome)
123
- if outcome.nil?
124
- fail ArgumentError, 'outcome cannot be nil'
125
- end
126
-
127
- @outcome = outcome
128
- end
129
-
130
98
  # Checks equality by comparing each attribute.
131
99
  # @param [Object] Object to be compared
132
100
  def ==(o)