trinsic_api 3.1.0.pre.preview1 → 3.2.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 (281) hide show
  1. checksums.yaml +4 -4
  2. data/docs/AgeOverOutput.md +20 -0
  3. data/docs/AppleWalletDigitalIdBirthDate.md +20 -0
  4. data/docs/AppleWalletDigitalIdCredential.md +54 -0
  5. data/docs/AppleWalletProviderOutput.md +4 -0
  6. data/docs/BrazilCnhFacialBiometryOutput.md +24 -0
  7. data/docs/BrazilCnhMatchFieldDateOnly.md +20 -0
  8. data/docs/BrazilCnhMatchFieldString.md +20 -0
  9. data/docs/BrazilCnhProviderOutput.md +48 -0
  10. data/docs/CreateDirectProviderSessionRequest.md +1 -1
  11. data/docs/CreateHostedProviderSessionRequest.md +1 -1
  12. data/docs/CzechBankIdAddress.md +36 -0
  13. data/docs/CzechBankIdCard.md +30 -0
  14. data/docs/CzechBankIdProviderOutput.md +78 -0
  15. data/docs/CzechBankIdTitle.md +20 -0
  16. data/docs/CzechBankIdVerification.md +22 -0
  17. data/docs/DiiaIssuerOutput.md +28 -0
  18. data/docs/DiiaProviderOutput.md +20 -0
  19. data/docs/DiiaSubjectOutput.md +26 -0
  20. data/docs/EudiAgeVerificationCredential.md +22 -0
  21. data/docs/EudiPidCredential.md +70 -0
  22. data/docs/FranceIdentiteProviderOutput.md +4 -0
  23. data/docs/GoogleWalletIdPassCredential.md +40 -0
  24. data/docs/GoogleWalletProviderOutput.md +4 -0
  25. data/docs/IdemiaPreviewProviderAddress.md +32 -0
  26. data/docs/IdemiaPreviewProviderOutput.md +76 -0
  27. data/docs/IndiaDigilockerAadhaarMatchDateOfBirthField.md +20 -0
  28. data/docs/IndiaDigilockerAadhaarMatchFullNameField.md +20 -0
  29. data/docs/IndiaDigilockerAadhaarMatchProviderOutput.md +20 -0
  30. data/docs/IndonesiaDukcapilMatchDateOfBirthField.md +20 -0
  31. data/docs/IndonesiaDukcapilMatchFullNameField.md +20 -0
  32. data/docs/IndonesiaDukcapilMatchNationalIdNumberField.md +20 -0
  33. data/docs/IndonesiaDukcapilMatchProviderOutput.md +38 -0
  34. data/docs/IndonesiaNikMatch.md +34 -0
  35. data/docs/IndonesiaNikMatchField.md +20 -0
  36. data/docs/InteracAddress.md +26 -0
  37. data/docs/InteracProviderOutput.md +34 -0
  38. data/docs/Iso180132BiometricDataBlockProduct.md +20 -0
  39. data/docs/Iso180132BiometricGroupTemplate.md +18 -0
  40. data/docs/Iso180132BiometricTemplate.md +24 -0
  41. data/docs/Iso180132BiometricTemplateHeader.md +36 -0
  42. data/docs/Iso180132BiometricValidityPeriod.md +20 -0
  43. data/docs/Iso180135AamvaDomesticDrivingPrivilege.md +22 -0
  44. data/docs/Iso180135AamvaDomesticVehicleClass.md +24 -0
  45. data/docs/Iso180135AamvaDomesticVehicleEndorsement.md +20 -0
  46. data/docs/Iso180135AamvaDomesticVehicleRestriction.md +20 -0
  47. data/docs/Iso180135AamvaNamespaceOutput.md +70 -0
  48. data/docs/Iso180135AamvaWeightRange.md +20 -0
  49. data/docs/Iso180135DrivingPrivilege.md +24 -0
  50. data/docs/Iso180135DrivingPrivilegeCode.md +22 -0
  51. data/docs/Iso180135MobileDriversLicenseCredential.md +20 -0
  52. data/docs/Iso180135StandardNamespaceOutput.md +86 -0
  53. data/docs/ItsmeAddress.md +28 -0
  54. data/docs/ItsmeProviderOutput.md +19 -1
  55. data/docs/KenyaNidMatch2DateOfBirthField.md +20 -0
  56. data/docs/KenyaNidMatch2FullNameField.md +20 -0
  57. data/docs/KenyaNidMatch2NationalIdNumberField.md +20 -0
  58. data/docs/KenyaNidMatch2ProviderOutput.md +24 -0
  59. data/docs/KenyaNidMatch2SexField.md +20 -0
  60. data/docs/LloydsSmartIdProviderOutput.md +2 -2
  61. data/docs/MexicoCurpProviderOutput.md +23 -1
  62. data/docs/NigeriaNinLookup2Input.md +1 -1
  63. data/docs/NigeriaNinLookup2ProviderOutput.md +2 -2
  64. data/docs/NigeriaNinMatch2DateOfBirthField.md +20 -0
  65. data/docs/NigeriaNinMatch2FullNameField.md +20 -0
  66. data/docs/NigeriaNinMatch2Input.md +1 -1
  67. data/docs/NigeriaNinMatch2NationalIdNumberField.md +20 -0
  68. data/docs/NigeriaNinMatch2PhoneNumberField.md +20 -0
  69. data/docs/NigeriaNinMatch2ProviderOutput.md +26 -0
  70. data/docs/NigeriaNinMatch2SexField.md +20 -0
  71. data/docs/PhilippinesPhilsysMatchProviderOutput.md +26 -0
  72. data/docs/PostOfficeEasyIdProviderOutput.md +2 -2
  73. data/docs/ProviderInput.md +0 -6
  74. data/docs/ProviderOutput.md +37 -3
  75. data/docs/SamsungWalletProviderOutput.md +2 -0
  76. data/docs/SouthAfricaNidLookup2Input.md +1 -1
  77. data/docs/SouthAfricaNidLookup2ProviderOutput.md +36 -0
  78. data/docs/SouthAfricaNidMatch2DateOfBirthField.md +20 -0
  79. data/docs/SouthAfricaNidMatch2FullNameField.md +20 -0
  80. data/docs/SouthAfricaNidMatch2Input.md +2 -4
  81. data/docs/SouthAfricaNidMatch2NationalIdNumberField.md +20 -0
  82. data/docs/SouthAfricaNidMatch2ProviderOutput.md +26 -0
  83. data/docs/SouthAfricaNidMatch2SexField.md +20 -0
  84. data/docs/UAEPassProviderOutput.md +62 -0
  85. data/docs/UgandaNidMatch2DateOfBirthField.md +20 -0
  86. data/docs/UgandaNidMatch2Input.md +1 -1
  87. data/docs/UgandaNidMatch2NationalIdNumberField.md +20 -0
  88. data/docs/UgandaNidMatch2ProviderOutput.md +22 -0
  89. data/docs/UgandaNidMatch2SecondaryIdNumberField.md +20 -0
  90. data/docs/VerimiAddressOutput.md +28 -0
  91. data/docs/VerimiProviderOutput.md +68 -0
  92. data/docs/YotiDeeplinkProviderOutput.md +2 -2
  93. data/docs/YotiProviderOutput.md +2 -2
  94. data/docs/ZimbabweNidLookup2Input.md +1 -1
  95. data/docs/ZimbabweNidLookup2ProviderOutput.md +34 -0
  96. data/lib/trinsic_api/models/age_over_output.rb +193 -0
  97. data/lib/trinsic_api/models/apple_wallet_digital_id_birth_date.rb +177 -0
  98. data/lib/trinsic_api/models/apple_wallet_digital_id_credential.rb +350 -0
  99. data/lib/trinsic_api/models/apple_wallet_provider_output.rb +23 -1
  100. data/lib/trinsic_api/models/brazil_cnh_facial_biometry_output.rb +198 -0
  101. data/lib/trinsic_api/models/brazil_cnh_match_field_date_only.rb +176 -0
  102. data/lib/trinsic_api/models/brazil_cnh_match_field_string.rb +160 -0
  103. data/lib/trinsic_api/models/brazil_cnh_provider_output.rb +315 -0
  104. data/lib/trinsic_api/models/create_direct_provider_session_request.rb +1 -1
  105. data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +1 -1
  106. data/lib/trinsic_api/models/czech_bank_id_address.rb +296 -0
  107. data/lib/trinsic_api/models/czech_bank_id_card.rb +279 -0
  108. data/lib/trinsic_api/models/czech_bank_id_provider_output.rb +504 -0
  109. data/lib/trinsic_api/models/czech_bank_id_title.rb +160 -0
  110. data/lib/trinsic_api/models/czech_bank_id_verification.rb +203 -0
  111. data/lib/trinsic_api/models/diia_issuer_output.rb +204 -0
  112. data/lib/trinsic_api/models/diia_provider_output.rb +193 -0
  113. data/lib/trinsic_api/models/diia_subject_output.rb +193 -0
  114. data/lib/trinsic_api/models/{south_africa_nid_biometric2_input.rb → eudi_age_verification_credential.rb} +31 -30
  115. data/lib/trinsic_api/models/eudi_pid_credential.rb +438 -0
  116. data/lib/trinsic_api/models/france_identite_provider_output.rb +23 -1
  117. data/lib/trinsic_api/models/google_wallet_id_pass_credential.rb +273 -0
  118. data/lib/trinsic_api/models/google_wallet_provider_output.rb +23 -1
  119. data/lib/trinsic_api/models/idemia_preview_provider_address.rb +226 -0
  120. data/lib/trinsic_api/models/idemia_preview_provider_output.rb +469 -0
  121. data/lib/trinsic_api/models/india_digilocker_aadhaar_match_date_of_birth_field.rb +192 -0
  122. data/lib/trinsic_api/models/india_digilocker_aadhaar_match_full_name_field.rb +192 -0
  123. data/lib/trinsic_api/models/india_digilocker_aadhaar_match_provider_output.rb +161 -0
  124. data/lib/trinsic_api/models/indonesia_dukcapil_match_date_of_birth_field.rb +192 -0
  125. data/lib/trinsic_api/models/indonesia_dukcapil_match_full_name_field.rb +192 -0
  126. data/lib/trinsic_api/models/indonesia_dukcapil_match_national_id_number_field.rb +192 -0
  127. data/lib/trinsic_api/models/indonesia_dukcapil_match_provider_output.rb +404 -0
  128. data/lib/trinsic_api/models/indonesia_nik_match.rb +238 -0
  129. data/lib/trinsic_api/models/indonesia_nik_match_field.rb +192 -0
  130. data/lib/trinsic_api/models/{kenya_nid_biometric2_input.rb → interac_address.rb} +50 -30
  131. data/lib/trinsic_api/models/interac_provider_output.rb +237 -0
  132. data/lib/trinsic_api/models/iso180132_biometric_data_block_product.rb +193 -0
  133. data/lib/trinsic_api/models/iso180132_biometric_group_template.rb +168 -0
  134. data/lib/trinsic_api/models/iso180132_biometric_template.rb +231 -0
  135. data/lib/trinsic_api/models/iso180132_biometric_template_header.rb +297 -0
  136. data/lib/trinsic_api/models/iso180132_biometric_validity_period.rb +193 -0
  137. data/lib/trinsic_api/models/iso180135_aamva_domestic_driving_privilege.rb +176 -0
  138. data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_class.rb +215 -0
  139. data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_endorsement.rb +177 -0
  140. data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_restriction.rb +177 -0
  141. data/lib/trinsic_api/models/iso180135_aamva_namespace_output.rb +438 -0
  142. data/lib/trinsic_api/models/{nigeria_nin_biometric2_input.rb → iso180135_aamva_weight_range.rb} +37 -33
  143. data/lib/trinsic_api/models/iso180135_driving_privilege.rb +201 -0
  144. data/lib/trinsic_api/models/iso180135_driving_privilege_code.rb +188 -0
  145. data/lib/trinsic_api/models/iso180135_mobile_drivers_license_credential.rb +161 -0
  146. data/lib/trinsic_api/models/iso180135_standard_namespace_output.rb +528 -0
  147. data/lib/trinsic_api/models/itsme_address.rb +204 -0
  148. data/lib/trinsic_api/models/itsme_provider_output.rb +104 -5
  149. data/lib/trinsic_api/models/kenya_nid_match2_date_of_birth_field.rb +192 -0
  150. data/lib/trinsic_api/models/kenya_nid_match2_full_name_field.rb +192 -0
  151. data/lib/trinsic_api/models/kenya_nid_match2_national_id_number_field.rb +192 -0
  152. data/lib/trinsic_api/models/kenya_nid_match2_provider_output.rb +215 -0
  153. data/lib/trinsic_api/models/kenya_nid_match2_sex_field.rb +192 -0
  154. data/lib/trinsic_api/models/lloyds_smart_id_provider_output.rb +8 -8
  155. data/lib/trinsic_api/models/mexico_curp_provider_output.rb +126 -5
  156. data/lib/trinsic_api/models/nigeria_nin_lookup2_input.rb +1 -1
  157. data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +1 -1
  158. data/lib/trinsic_api/models/nigeria_nin_match2_date_of_birth_field.rb +192 -0
  159. data/lib/trinsic_api/models/nigeria_nin_match2_full_name_field.rb +192 -0
  160. data/lib/trinsic_api/models/nigeria_nin_match2_input.rb +1 -1
  161. data/lib/trinsic_api/models/nigeria_nin_match2_national_id_number_field.rb +192 -0
  162. data/lib/trinsic_api/models/nigeria_nin_match2_phone_number_field.rb +192 -0
  163. data/lib/trinsic_api/models/nigeria_nin_match2_provider_output.rb +226 -0
  164. data/lib/trinsic_api/models/nigeria_nin_match2_sex_field.rb +192 -0
  165. data/lib/trinsic_api/models/philippines_philsys_match_provider_output.rb +226 -0
  166. data/lib/trinsic_api/models/post_office_easy_id_provider_output.rb +8 -8
  167. data/lib/trinsic_api/models/provider_input.rb +1 -34
  168. data/lib/trinsic_api/models/provider_output.rb +203 -16
  169. data/lib/trinsic_api/models/samsung_wallet_provider_output.rb +12 -1
  170. data/lib/trinsic_api/models/south_africa_nid_lookup2_input.rb +1 -1
  171. data/lib/trinsic_api/models/south_africa_nid_lookup2_provider_output.rb +377 -0
  172. data/lib/trinsic_api/models/south_africa_nid_match2_date_of_birth_field.rb +192 -0
  173. data/lib/trinsic_api/models/south_africa_nid_match2_full_name_field.rb +192 -0
  174. data/lib/trinsic_api/models/south_africa_nid_match2_input.rb +6 -17
  175. data/lib/trinsic_api/models/south_africa_nid_match2_national_id_number_field.rb +192 -0
  176. data/lib/trinsic_api/models/south_africa_nid_match2_provider_output.rb +226 -0
  177. data/lib/trinsic_api/models/south_africa_nid_match2_sex_field.rb +192 -0
  178. data/lib/trinsic_api/models/uae_pass_provider_output.rb +394 -0
  179. data/lib/trinsic_api/models/uganda_nid_match2_date_of_birth_field.rb +192 -0
  180. data/lib/trinsic_api/models/uganda_nid_match2_input.rb +1 -1
  181. data/lib/trinsic_api/models/uganda_nid_match2_national_id_number_field.rb +192 -0
  182. data/lib/trinsic_api/models/uganda_nid_match2_provider_output.rb +220 -0
  183. data/lib/trinsic_api/models/uganda_nid_match2_secondary_id_number_field.rb +192 -0
  184. data/lib/trinsic_api/models/verimi_address_output.rb +204 -0
  185. data/lib/trinsic_api/models/verimi_provider_output.rb +425 -0
  186. data/lib/trinsic_api/models/yoti_deeplink_provider_output.rb +8 -8
  187. data/lib/trinsic_api/models/yoti_provider_output.rb +8 -8
  188. data/lib/trinsic_api/models/zimbabwe_nid_lookup2_input.rb +1 -1
  189. data/lib/trinsic_api/models/zimbabwe_nid_lookup2_provider_output.rb +334 -0
  190. data/lib/trinsic_api/version.rb +1 -1
  191. data/lib/trinsic_api.rb +73 -3
  192. data/spec/models/age_over_output_spec.rb +42 -0
  193. data/spec/models/apple_wallet_digital_id_birth_date_spec.rb +42 -0
  194. data/spec/models/apple_wallet_digital_id_credential_spec.rb +144 -0
  195. data/spec/models/apple_wallet_provider_output_spec.rb +12 -0
  196. data/spec/models/brazil_cnh_facial_biometry_output_spec.rb +54 -0
  197. data/spec/models/brazil_cnh_match_field_date_only_spec.rb +42 -0
  198. data/spec/models/brazil_cnh_match_field_string_spec.rb +42 -0
  199. data/spec/models/brazil_cnh_provider_output_spec.rb +126 -0
  200. data/spec/models/czech_bank_id_address_spec.rb +90 -0
  201. data/spec/models/czech_bank_id_card_spec.rb +72 -0
  202. data/spec/models/czech_bank_id_provider_output_spec.rb +216 -0
  203. data/spec/models/czech_bank_id_title_spec.rb +42 -0
  204. data/spec/models/{kenya_nid_biometric2_input_spec.rb → czech_bank_id_verification_spec.rb} +9 -9
  205. data/spec/models/diia_issuer_output_spec.rb +66 -0
  206. data/spec/models/diia_provider_output_spec.rb +42 -0
  207. data/spec/models/diia_subject_output_spec.rb +60 -0
  208. data/spec/models/{south_africa_nid_biometric2_input_spec.rb → eudi_age_verification_credential_spec.rb} +9 -9
  209. data/spec/models/eudi_pid_credential_spec.rb +192 -0
  210. data/spec/models/france_identite_provider_output_spec.rb +12 -0
  211. data/spec/models/google_wallet_id_pass_credential_spec.rb +102 -0
  212. data/spec/models/google_wallet_provider_output_spec.rb +12 -0
  213. data/spec/models/idemia_preview_provider_address_spec.rb +78 -0
  214. data/spec/models/idemia_preview_provider_output_spec.rb +210 -0
  215. data/spec/models/india_digilocker_aadhaar_match_date_of_birth_field_spec.rb +42 -0
  216. data/spec/models/india_digilocker_aadhaar_match_full_name_field_spec.rb +42 -0
  217. data/spec/models/india_digilocker_aadhaar_match_provider_output_spec.rb +42 -0
  218. data/spec/models/indonesia_dukcapil_match_date_of_birth_field_spec.rb +42 -0
  219. data/spec/models/indonesia_dukcapil_match_full_name_field_spec.rb +42 -0
  220. data/spec/models/indonesia_dukcapil_match_national_id_number_field_spec.rb +42 -0
  221. data/spec/models/indonesia_dukcapil_match_provider_output_spec.rb +96 -0
  222. data/spec/models/indonesia_nik_match_field_spec.rb +42 -0
  223. data/spec/models/indonesia_nik_match_spec.rb +84 -0
  224. data/spec/models/interac_address_spec.rb +60 -0
  225. data/spec/models/interac_provider_output_spec.rb +84 -0
  226. data/spec/models/iso180132_biometric_data_block_product_spec.rb +42 -0
  227. data/spec/models/iso180132_biometric_group_template_spec.rb +36 -0
  228. data/spec/models/iso180132_biometric_template_header_spec.rb +90 -0
  229. data/spec/models/iso180132_biometric_template_spec.rb +54 -0
  230. data/spec/models/iso180132_biometric_validity_period_spec.rb +42 -0
  231. data/spec/models/iso180135_aamva_domestic_driving_privilege_spec.rb +48 -0
  232. data/spec/models/iso180135_aamva_domestic_vehicle_class_spec.rb +54 -0
  233. data/spec/models/iso180135_aamva_domestic_vehicle_endorsement_spec.rb +42 -0
  234. data/spec/models/iso180135_aamva_domestic_vehicle_restriction_spec.rb +42 -0
  235. data/spec/models/iso180135_aamva_namespace_output_spec.rb +192 -0
  236. data/spec/models/iso180135_aamva_weight_range_spec.rb +42 -0
  237. data/spec/models/{nigeria_nin_biometric2_input_spec.rb → iso180135_driving_privilege_code_spec.rb} +9 -9
  238. data/spec/models/iso180135_driving_privilege_spec.rb +54 -0
  239. data/spec/models/iso180135_mobile_drivers_license_credential_spec.rb +42 -0
  240. data/spec/models/iso180135_standard_namespace_output_spec.rb +240 -0
  241. data/spec/models/itsme_address_spec.rb +66 -0
  242. data/spec/models/itsme_provider_output_spec.rb +54 -0
  243. data/spec/models/kenya_nid_match2_date_of_birth_field_spec.rb +42 -0
  244. data/spec/models/kenya_nid_match2_full_name_field_spec.rb +42 -0
  245. data/spec/models/kenya_nid_match2_national_id_number_field_spec.rb +42 -0
  246. data/spec/models/kenya_nid_match2_provider_output_spec.rb +54 -0
  247. data/spec/models/kenya_nid_match2_sex_field_spec.rb +42 -0
  248. data/spec/models/lloyds_smart_id_provider_output_spec.rb +1 -1
  249. data/spec/models/mexico_curp_provider_output_spec.rb +66 -0
  250. data/spec/models/nigeria_nin_match2_date_of_birth_field_spec.rb +42 -0
  251. data/spec/models/nigeria_nin_match2_full_name_field_spec.rb +42 -0
  252. data/spec/models/nigeria_nin_match2_national_id_number_field_spec.rb +42 -0
  253. data/spec/models/nigeria_nin_match2_phone_number_field_spec.rb +42 -0
  254. data/spec/models/nigeria_nin_match2_provider_output_spec.rb +60 -0
  255. data/spec/models/nigeria_nin_match2_sex_field_spec.rb +42 -0
  256. data/spec/models/philippines_philsys_match_provider_output_spec.rb +60 -0
  257. data/spec/models/post_office_easy_id_provider_output_spec.rb +1 -1
  258. data/spec/models/provider_input_spec.rb +0 -18
  259. data/spec/models/provider_output_spec.rb +108 -6
  260. data/spec/models/samsung_wallet_provider_output_spec.rb +6 -0
  261. data/spec/models/south_africa_nid_lookup2_provider_output_spec.rb +90 -0
  262. data/spec/models/south_africa_nid_match2_date_of_birth_field_spec.rb +42 -0
  263. data/spec/models/south_africa_nid_match2_full_name_field_spec.rb +42 -0
  264. data/spec/models/south_africa_nid_match2_input_spec.rb +0 -6
  265. data/spec/models/south_africa_nid_match2_national_id_number_field_spec.rb +42 -0
  266. data/spec/models/south_africa_nid_match2_provider_output_spec.rb +60 -0
  267. data/spec/models/south_africa_nid_match2_sex_field_spec.rb +42 -0
  268. data/spec/models/uae_pass_provider_output_spec.rb +168 -0
  269. data/spec/models/uganda_nid_match2_date_of_birth_field_spec.rb +42 -0
  270. data/spec/models/uganda_nid_match2_national_id_number_field_spec.rb +42 -0
  271. data/spec/models/uganda_nid_match2_provider_output_spec.rb +48 -0
  272. data/spec/models/uganda_nid_match2_secondary_id_number_field_spec.rb +42 -0
  273. data/spec/models/verimi_address_output_spec.rb +66 -0
  274. data/spec/models/verimi_provider_output_spec.rb +186 -0
  275. data/spec/models/yoti_deeplink_provider_output_spec.rb +1 -1
  276. data/spec/models/yoti_provider_output_spec.rb +1 -1
  277. data/spec/models/zimbabwe_nid_lookup2_provider_output_spec.rb +84 -0
  278. metadata +466 -186
  279. data/docs/KenyaNidBiometric2Input.md +0 -22
  280. data/docs/NigeriaNinBiometric2Input.md +0 -22
  281. data/docs/SouthAfricaNidBiometric2Input.md +0 -22
@@ -0,0 +1,425 @@
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 `verimi` Provider which do not directly map to the normalized IdentityData model.
18
+ class VerimiProviderOutput < ApiModelBase
19
+ # The full name of the individual.
20
+ attr_accessor :full_name
21
+
22
+ # The date of birth of the individual.
23
+ attr_accessor :date_of_birth
24
+
25
+ # The given name of the individual.
26
+ attr_accessor :given_name
27
+
28
+ # The middle name of the individual.
29
+ attr_accessor :middle_name
30
+
31
+ # The family name of the individual.
32
+ attr_accessor :family_name
33
+
34
+ # The email address of the individual.
35
+ attr_accessor :email
36
+
37
+ # Whether the email address has been verified by Verimi.
38
+ attr_accessor :email_verified
39
+
40
+ # The phone number of the individual in E.164 format.
41
+ attr_accessor :phone_number
42
+
43
+ # Whether the phone number has been verified by Verimi.
44
+ attr_accessor :phone_number_verified
45
+
46
+ # The gender of the individual.
47
+ attr_accessor :gender
48
+
49
+ # The individual's time zone as an IANA Time Zone Database zoneinfo identifier.
50
+ attr_accessor :zone_information
51
+
52
+ # The selected language or locale of the individual as a BCP 47 language tag.
53
+ attr_accessor :locale
54
+
55
+ # The citizenship of the individual. This is an ISO-3166-1 alpha-2 country code.
56
+ attr_accessor :citizenship
57
+
58
+ # The place of birth of the individual.
59
+ attr_accessor :place_of_birth
60
+
61
+ # The document number of the identity document used by the individual.
62
+ attr_accessor :document_number
63
+
64
+ # The identity document type. Known values: - I: ID card. - P: Passport.
65
+ attr_accessor :document_type
66
+
67
+ # The expiration date of the identity document.
68
+ attr_accessor :document_expiration_date
69
+
70
+ # The issue date of the identity document.
71
+ attr_accessor :document_issue_date
72
+
73
+ # The authority that issued the identity document.
74
+ attr_accessor :document_issuing_authority
75
+
76
+ # The verification method used to prove the individual's identity.
77
+ attr_accessor :verification_method
78
+
79
+ # The date when the individual proved their identity with Verimi.
80
+ attr_accessor :verification_date
81
+
82
+ # The level of assurance for the verification. Known values: - Low: The individual has self-asserted their identity. - Substantial: The individual has completed identity proofing and strong authentication. - High: The individual has completed identity proofing with stronger cryptographic authentication requirements.
83
+ attr_accessor :level_of_assurance
84
+
85
+ # The authentication method for the completed identification. Known values: - email - loa.dipp.default - loa.dipp.2fa - idcard
86
+ attr_accessor :authentication_method
87
+
88
+ # The pseudonymous identifier. For German eID, this is the restricted identifier (rID), scoped to the relying-party sector.
89
+ attr_accessor :pseudonym
90
+
91
+ # The individual's structured address.
92
+ attr_accessor :address
93
+
94
+ # The ISO 3166-1 alpha-2 country code for the country that issued the identity document.
95
+ attr_accessor :issuing_country
96
+
97
+ # Attribute mapping from ruby-style variable name to JSON key.
98
+ def self.attribute_map
99
+ {
100
+ :'full_name' => :'fullName',
101
+ :'date_of_birth' => :'dateOfBirth',
102
+ :'given_name' => :'givenName',
103
+ :'middle_name' => :'middleName',
104
+ :'family_name' => :'familyName',
105
+ :'email' => :'email',
106
+ :'email_verified' => :'emailVerified',
107
+ :'phone_number' => :'phoneNumber',
108
+ :'phone_number_verified' => :'phoneNumberVerified',
109
+ :'gender' => :'gender',
110
+ :'zone_information' => :'zoneInformation',
111
+ :'locale' => :'locale',
112
+ :'citizenship' => :'citizenship',
113
+ :'place_of_birth' => :'placeOfBirth',
114
+ :'document_number' => :'documentNumber',
115
+ :'document_type' => :'documentType',
116
+ :'document_expiration_date' => :'documentExpirationDate',
117
+ :'document_issue_date' => :'documentIssueDate',
118
+ :'document_issuing_authority' => :'documentIssuingAuthority',
119
+ :'verification_method' => :'verificationMethod',
120
+ :'verification_date' => :'verificationDate',
121
+ :'level_of_assurance' => :'levelOfAssurance',
122
+ :'authentication_method' => :'authenticationMethod',
123
+ :'pseudonym' => :'pseudonym',
124
+ :'address' => :'address',
125
+ :'issuing_country' => :'issuingCountry'
126
+ }
127
+ end
128
+
129
+ # Returns attribute mapping this model knows about
130
+ def self.acceptable_attribute_map
131
+ attribute_map
132
+ end
133
+
134
+ # Returns all the JSON keys this model knows about
135
+ def self.acceptable_attributes
136
+ acceptable_attribute_map.values
137
+ end
138
+
139
+ # Attribute type mapping.
140
+ def self.openapi_types
141
+ {
142
+ :'full_name' => :'String',
143
+ :'date_of_birth' => :'Date',
144
+ :'given_name' => :'String',
145
+ :'middle_name' => :'String',
146
+ :'family_name' => :'String',
147
+ :'email' => :'String',
148
+ :'email_verified' => :'Boolean',
149
+ :'phone_number' => :'String',
150
+ :'phone_number_verified' => :'Boolean',
151
+ :'gender' => :'String',
152
+ :'zone_information' => :'String',
153
+ :'locale' => :'String',
154
+ :'citizenship' => :'String',
155
+ :'place_of_birth' => :'String',
156
+ :'document_number' => :'String',
157
+ :'document_type' => :'String',
158
+ :'document_expiration_date' => :'Date',
159
+ :'document_issue_date' => :'Date',
160
+ :'document_issuing_authority' => :'String',
161
+ :'verification_method' => :'String',
162
+ :'verification_date' => :'Date',
163
+ :'level_of_assurance' => :'String',
164
+ :'authentication_method' => :'String',
165
+ :'pseudonym' => :'String',
166
+ :'address' => :'VerimiAddressOutput',
167
+ :'issuing_country' => :'String'
168
+ }
169
+ end
170
+
171
+ # List of attributes with nullable: true
172
+ def self.openapi_nullable
173
+ Set.new([
174
+ :'full_name',
175
+ :'date_of_birth',
176
+ :'given_name',
177
+ :'middle_name',
178
+ :'family_name',
179
+ :'email',
180
+ :'email_verified',
181
+ :'phone_number',
182
+ :'phone_number_verified',
183
+ :'gender',
184
+ :'zone_information',
185
+ :'locale',
186
+ :'citizenship',
187
+ :'place_of_birth',
188
+ :'document_number',
189
+ :'document_type',
190
+ :'document_expiration_date',
191
+ :'document_issue_date',
192
+ :'document_issuing_authority',
193
+ :'verification_method',
194
+ :'verification_date',
195
+ :'level_of_assurance',
196
+ :'authentication_method',
197
+ :'pseudonym',
198
+ :'address',
199
+ :'issuing_country'
200
+ ])
201
+ end
202
+
203
+ # Initializes the object
204
+ # @param [Hash] attributes Model attributes in the form of hash
205
+ def initialize(attributes = {})
206
+ if (!attributes.is_a?(Hash))
207
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::VerimiProviderOutput` initialize method"
208
+ end
209
+
210
+ # check to see if the attribute exists and convert string to symbol for hash key
211
+ acceptable_attribute_map = self.class.acceptable_attribute_map
212
+ attributes = attributes.each_with_object({}) { |(k, v), h|
213
+ if (!acceptable_attribute_map.key?(k.to_sym))
214
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::VerimiProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
215
+ end
216
+ h[k.to_sym] = v
217
+ }
218
+
219
+ if attributes.key?(:'full_name')
220
+ self.full_name = attributes[:'full_name']
221
+ end
222
+
223
+ if attributes.key?(:'date_of_birth')
224
+ self.date_of_birth = attributes[:'date_of_birth']
225
+ end
226
+
227
+ if attributes.key?(:'given_name')
228
+ self.given_name = attributes[:'given_name']
229
+ end
230
+
231
+ if attributes.key?(:'middle_name')
232
+ self.middle_name = attributes[:'middle_name']
233
+ end
234
+
235
+ if attributes.key?(:'family_name')
236
+ self.family_name = attributes[:'family_name']
237
+ end
238
+
239
+ if attributes.key?(:'email')
240
+ self.email = attributes[:'email']
241
+ end
242
+
243
+ if attributes.key?(:'email_verified')
244
+ self.email_verified = attributes[:'email_verified']
245
+ end
246
+
247
+ if attributes.key?(:'phone_number')
248
+ self.phone_number = attributes[:'phone_number']
249
+ end
250
+
251
+ if attributes.key?(:'phone_number_verified')
252
+ self.phone_number_verified = attributes[:'phone_number_verified']
253
+ end
254
+
255
+ if attributes.key?(:'gender')
256
+ self.gender = attributes[:'gender']
257
+ end
258
+
259
+ if attributes.key?(:'zone_information')
260
+ self.zone_information = attributes[:'zone_information']
261
+ end
262
+
263
+ if attributes.key?(:'locale')
264
+ self.locale = attributes[:'locale']
265
+ end
266
+
267
+ if attributes.key?(:'citizenship')
268
+ self.citizenship = attributes[:'citizenship']
269
+ end
270
+
271
+ if attributes.key?(:'place_of_birth')
272
+ self.place_of_birth = attributes[:'place_of_birth']
273
+ end
274
+
275
+ if attributes.key?(:'document_number')
276
+ self.document_number = attributes[:'document_number']
277
+ end
278
+
279
+ if attributes.key?(:'document_type')
280
+ self.document_type = attributes[:'document_type']
281
+ end
282
+
283
+ if attributes.key?(:'document_expiration_date')
284
+ self.document_expiration_date = attributes[:'document_expiration_date']
285
+ end
286
+
287
+ if attributes.key?(:'document_issue_date')
288
+ self.document_issue_date = attributes[:'document_issue_date']
289
+ end
290
+
291
+ if attributes.key?(:'document_issuing_authority')
292
+ self.document_issuing_authority = attributes[:'document_issuing_authority']
293
+ end
294
+
295
+ if attributes.key?(:'verification_method')
296
+ self.verification_method = attributes[:'verification_method']
297
+ end
298
+
299
+ if attributes.key?(:'verification_date')
300
+ self.verification_date = attributes[:'verification_date']
301
+ end
302
+
303
+ if attributes.key?(:'level_of_assurance')
304
+ self.level_of_assurance = attributes[:'level_of_assurance']
305
+ end
306
+
307
+ if attributes.key?(:'authentication_method')
308
+ self.authentication_method = attributes[:'authentication_method']
309
+ end
310
+
311
+ if attributes.key?(:'pseudonym')
312
+ self.pseudonym = attributes[:'pseudonym']
313
+ end
314
+
315
+ if attributes.key?(:'address')
316
+ self.address = attributes[:'address']
317
+ end
318
+
319
+ if attributes.key?(:'issuing_country')
320
+ self.issuing_country = attributes[:'issuing_country']
321
+ end
322
+ end
323
+
324
+ # Show invalid properties with the reasons. Usually used together with valid?
325
+ # @return Array for valid properties with the reasons
326
+ def list_invalid_properties
327
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
328
+ invalid_properties = Array.new
329
+ invalid_properties
330
+ end
331
+
332
+ # Check to see if the all the properties in the model are valid
333
+ # @return true if the model is valid
334
+ def valid?
335
+ warn '[DEPRECATED] the `valid?` method is obsolete'
336
+ true
337
+ end
338
+
339
+ # Checks equality by comparing each attribute.
340
+ # @param [Object] Object to be compared
341
+ def ==(o)
342
+ return true if self.equal?(o)
343
+ self.class == o.class &&
344
+ full_name == o.full_name &&
345
+ date_of_birth == o.date_of_birth &&
346
+ given_name == o.given_name &&
347
+ middle_name == o.middle_name &&
348
+ family_name == o.family_name &&
349
+ email == o.email &&
350
+ email_verified == o.email_verified &&
351
+ phone_number == o.phone_number &&
352
+ phone_number_verified == o.phone_number_verified &&
353
+ gender == o.gender &&
354
+ zone_information == o.zone_information &&
355
+ locale == o.locale &&
356
+ citizenship == o.citizenship &&
357
+ place_of_birth == o.place_of_birth &&
358
+ document_number == o.document_number &&
359
+ document_type == o.document_type &&
360
+ document_expiration_date == o.document_expiration_date &&
361
+ document_issue_date == o.document_issue_date &&
362
+ document_issuing_authority == o.document_issuing_authority &&
363
+ verification_method == o.verification_method &&
364
+ verification_date == o.verification_date &&
365
+ level_of_assurance == o.level_of_assurance &&
366
+ authentication_method == o.authentication_method &&
367
+ pseudonym == o.pseudonym &&
368
+ address == o.address &&
369
+ issuing_country == o.issuing_country
370
+ end
371
+
372
+ # @see the `==` method
373
+ # @param [Object] Object to be compared
374
+ def eql?(o)
375
+ self == o
376
+ end
377
+
378
+ # Calculates hash code according to all attributes.
379
+ # @return [Integer] Hash code
380
+ def hash
381
+ [full_name, date_of_birth, given_name, middle_name, family_name, email, email_verified, phone_number, phone_number_verified, gender, zone_information, locale, citizenship, place_of_birth, document_number, document_type, document_expiration_date, document_issue_date, document_issuing_authority, verification_method, verification_date, level_of_assurance, authentication_method, pseudonym, address, issuing_country].hash
382
+ end
383
+
384
+ # Builds the object from hash
385
+ # @param [Hash] attributes Model attributes in the form of hash
386
+ # @return [Object] Returns the model itself
387
+ def self.build_from_hash(attributes)
388
+ return nil unless attributes.is_a?(Hash)
389
+ attributes = attributes.transform_keys(&:to_sym)
390
+ transformed_hash = {}
391
+ openapi_types.each_pair do |key, type|
392
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
393
+ transformed_hash["#{key}"] = nil
394
+ elsif type =~ /\AArray<(.*)>/i
395
+ # check to ensure the input is an array given that the attribute
396
+ # is documented as an array but the input is not
397
+ if attributes[attribute_map[key]].is_a?(Array)
398
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
399
+ end
400
+ elsif !attributes[attribute_map[key]].nil?
401
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
402
+ end
403
+ end
404
+ new(transformed_hash)
405
+ end
406
+
407
+ # Returns the object in the form of hash
408
+ # @return [Hash] Returns the object in the form of hash
409
+ def to_hash
410
+ hash = {}
411
+ self.class.attribute_map.each_pair do |attr, param|
412
+ value = self.send(attr)
413
+ if value.nil?
414
+ is_nullable = self.class.openapi_nullable.include?(attr)
415
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
416
+ end
417
+
418
+ hash[param] = _to_hash(value)
419
+ end
420
+ hash
421
+ end
422
+
423
+ end
424
+
425
+ end
@@ -17,7 +17,7 @@ module TrinsicApi
17
17
  # Exposed properties for the `yoti-deeplink` Provider which do not directly map to the normalized IdentityData model.
18
18
  class YotiDeeplinkProviderOutput < ApiModelBase
19
19
  # A Yoti-generated unique ID for this individual, consistent across repeat shares and different for each Relying Party.
20
- attr_accessor :remember_me_id
20
+ attr_accessor :yoti_remember_me_id
21
21
 
22
22
  # The email address of the individual
23
23
  attr_accessor :email
@@ -55,7 +55,7 @@ module TrinsicApi
55
55
  # Attribute mapping from ruby-style variable name to JSON key.
56
56
  def self.attribute_map
57
57
  {
58
- :'remember_me_id' => :'rememberMeId',
58
+ :'yoti_remember_me_id' => :'yotiRememberMeId',
59
59
  :'email' => :'email',
60
60
  :'given_name' => :'givenName',
61
61
  :'family_name' => :'familyName',
@@ -83,7 +83,7 @@ module TrinsicApi
83
83
  # Attribute type mapping.
84
84
  def self.openapi_types
85
85
  {
86
- :'remember_me_id' => :'String',
86
+ :'yoti_remember_me_id' => :'String',
87
87
  :'email' => :'String',
88
88
  :'given_name' => :'String',
89
89
  :'family_name' => :'String',
@@ -101,7 +101,7 @@ module TrinsicApi
101
101
  # List of attributes with nullable: true
102
102
  def self.openapi_nullable
103
103
  Set.new([
104
- :'remember_me_id',
104
+ :'yoti_remember_me_id',
105
105
  :'email',
106
106
  :'given_name',
107
107
  :'family_name',
@@ -132,8 +132,8 @@ module TrinsicApi
132
132
  h[k.to_sym] = v
133
133
  }
134
134
 
135
- if attributes.key?(:'remember_me_id')
136
- self.remember_me_id = attributes[:'remember_me_id']
135
+ if attributes.key?(:'yoti_remember_me_id')
136
+ self.yoti_remember_me_id = attributes[:'yoti_remember_me_id']
137
137
  end
138
138
 
139
139
  if attributes.key?(:'email')
@@ -201,7 +201,7 @@ module TrinsicApi
201
201
  def ==(o)
202
202
  return true if self.equal?(o)
203
203
  self.class == o.class &&
204
- remember_me_id == o.remember_me_id &&
204
+ yoti_remember_me_id == o.yoti_remember_me_id &&
205
205
  email == o.email &&
206
206
  given_name == o.given_name &&
207
207
  family_name == o.family_name &&
@@ -224,7 +224,7 @@ module TrinsicApi
224
224
  # Calculates hash code according to all attributes.
225
225
  # @return [Integer] Hash code
226
226
  def hash
227
- [remember_me_id, email, given_name, family_name, full_name, date_of_birth, gender, nationality, mobile_number, structured_postal_address, postal_address, document_details].hash
227
+ [yoti_remember_me_id, email, given_name, family_name, full_name, date_of_birth, gender, nationality, mobile_number, structured_postal_address, postal_address, document_details].hash
228
228
  end
229
229
 
230
230
  # Builds the object from hash
@@ -17,7 +17,7 @@ module TrinsicApi
17
17
  # Exposed properties for the `yoti` Provider which do not directly map to the normalized IdentityData model.
18
18
  class YotiProviderOutput < ApiModelBase
19
19
  # A Yoti-generated unique ID for this individual, consistent across repeat shares and different for each Relying Party.
20
- attr_accessor :remember_me_id
20
+ attr_accessor :yoti_remember_me_id
21
21
 
22
22
  # The email address of the individual
23
23
  attr_accessor :email
@@ -55,7 +55,7 @@ module TrinsicApi
55
55
  # Attribute mapping from ruby-style variable name to JSON key.
56
56
  def self.attribute_map
57
57
  {
58
- :'remember_me_id' => :'rememberMeId',
58
+ :'yoti_remember_me_id' => :'yotiRememberMeId',
59
59
  :'email' => :'email',
60
60
  :'given_name' => :'givenName',
61
61
  :'family_name' => :'familyName',
@@ -83,7 +83,7 @@ module TrinsicApi
83
83
  # Attribute type mapping.
84
84
  def self.openapi_types
85
85
  {
86
- :'remember_me_id' => :'String',
86
+ :'yoti_remember_me_id' => :'String',
87
87
  :'email' => :'String',
88
88
  :'given_name' => :'String',
89
89
  :'family_name' => :'String',
@@ -101,7 +101,7 @@ module TrinsicApi
101
101
  # List of attributes with nullable: true
102
102
  def self.openapi_nullable
103
103
  Set.new([
104
- :'remember_me_id',
104
+ :'yoti_remember_me_id',
105
105
  :'email',
106
106
  :'given_name',
107
107
  :'family_name',
@@ -132,8 +132,8 @@ module TrinsicApi
132
132
  h[k.to_sym] = v
133
133
  }
134
134
 
135
- if attributes.key?(:'remember_me_id')
136
- self.remember_me_id = attributes[:'remember_me_id']
135
+ if attributes.key?(:'yoti_remember_me_id')
136
+ self.yoti_remember_me_id = attributes[:'yoti_remember_me_id']
137
137
  end
138
138
 
139
139
  if attributes.key?(:'email')
@@ -201,7 +201,7 @@ module TrinsicApi
201
201
  def ==(o)
202
202
  return true if self.equal?(o)
203
203
  self.class == o.class &&
204
- remember_me_id == o.remember_me_id &&
204
+ yoti_remember_me_id == o.yoti_remember_me_id &&
205
205
  email == o.email &&
206
206
  given_name == o.given_name &&
207
207
  family_name == o.family_name &&
@@ -224,7 +224,7 @@ module TrinsicApi
224
224
  # Calculates hash code according to all attributes.
225
225
  # @return [Integer] Hash code
226
226
  def hash
227
- [remember_me_id, email, given_name, family_name, full_name, date_of_birth, gender, nationality, mobile_number, structured_postal_address, postal_address, document_details].hash
227
+ [yoti_remember_me_id, email, given_name, family_name, full_name, date_of_birth, gender, nationality, mobile_number, structured_postal_address, postal_address, document_details].hash
228
228
  end
229
229
 
230
230
  # Builds the object from hash
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module TrinsicApi
17
17
  class ZimbabweNidLookup2Input < ApiModelBase
18
- # The user's National ID number
18
+ # Zimbabwe National ID number (NID) issued by the Zimbabwean government. Format: - 8-9 digits followed by 1 letter and 2 digits - Regex: /^[0-9]{8,9}[A-Za-z]\\d{2}$/ - There is no publicly documented encoding scheme for encoding personal information in the NID - No check digit or algorithm has been publicly documented by the Zimbabwean government
19
19
  attr_accessor :id_number
20
20
 
21
21
  # Attribute mapping from ruby-style variable name to JSON key.