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,469 @@
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 `idemia-preview` Provider which do not directly map to the normalized IdentityData model.
18
+ class IdemiaPreviewProviderOutput < ApiModelBase
19
+ # The OpenID Connect subject identifier for the verified individual.
20
+ attr_accessor :sub
21
+
22
+ # The individual's full name.
23
+ attr_accessor :name
24
+
25
+ # The individual's given name.
26
+ attr_accessor :given_name
27
+
28
+ # The individual's middle name.
29
+ attr_accessor :middle_name
30
+
31
+ # The individual's family name.
32
+ attr_accessor :family_name
33
+
34
+ # The individual's nickname.
35
+ attr_accessor :nickname
36
+
37
+ # The individual's preferred username.
38
+ attr_accessor :preferred_username
39
+
40
+ # The individual's profile URL.
41
+ attr_accessor :profile
42
+
43
+ # URL of the individual's profile picture.
44
+ attr_accessor :picture
45
+
46
+ # The individual's website URL.
47
+ attr_accessor :website
48
+
49
+ # The individual's date of birth in YYYY-MM-DD format.
50
+ attr_accessor :birthdate
51
+
52
+ # The individual's date of birth as returned by legacy Idemia claim sets.
53
+ attr_accessor :date_of_birth
54
+
55
+ # The individual's gender.
56
+ attr_accessor :gender
57
+
58
+ # The individual's time zone.
59
+ attr_accessor :zoneinfo
60
+
61
+ # The individual's locale.
62
+ attr_accessor :locale
63
+
64
+ # The individual's preferred language.
65
+ attr_accessor :preferred_language
66
+
67
+ # Timestamp when the individual's profile data was last updated.
68
+ attr_accessor :updated_at
69
+
70
+ # The individual's email address.
71
+ attr_accessor :email
72
+
73
+ # Whether the individual's email address has been verified.
74
+ attr_accessor :email_verified
75
+
76
+ # The individual's phone number.
77
+ attr_accessor :phone_number
78
+
79
+ # Whether the individual's phone number has been verified.
80
+ attr_accessor :phone_number_verified
81
+
82
+ # The individual's mobile phone number returned by the mobile_phone scope.
83
+ attr_accessor :mobile_phone_number
84
+
85
+ # The individual's address.
86
+ attr_accessor :address
87
+
88
+ # Idemia pairwise relying-party correlation reference.
89
+ attr_accessor :pcr
90
+
91
+ # Idemia Mobile ID unique identifier.
92
+ attr_accessor :mid_uid
93
+
94
+ # The user name returned by Idemia.
95
+ attr_accessor :user_name
96
+
97
+ # Idemia client information identifier.
98
+ attr_accessor :inum
99
+
100
+ # Permission role returned by Idemia.
101
+ attr_accessor :role
102
+
103
+ # Personal identity code returned by Idemia when available.
104
+ attr_accessor :personal_identity_code
105
+
106
+ # Sample personal identity code returned by Idemia when available.
107
+ attr_accessor :person_identity_code_sample
108
+
109
+ # Attribute mapping from ruby-style variable name to JSON key.
110
+ def self.attribute_map
111
+ {
112
+ :'sub' => :'sub',
113
+ :'name' => :'name',
114
+ :'given_name' => :'givenName',
115
+ :'middle_name' => :'middleName',
116
+ :'family_name' => :'familyName',
117
+ :'nickname' => :'nickname',
118
+ :'preferred_username' => :'preferredUsername',
119
+ :'profile' => :'profile',
120
+ :'picture' => :'picture',
121
+ :'website' => :'website',
122
+ :'birthdate' => :'birthdate',
123
+ :'date_of_birth' => :'dateOfBirth',
124
+ :'gender' => :'gender',
125
+ :'zoneinfo' => :'zoneinfo',
126
+ :'locale' => :'locale',
127
+ :'preferred_language' => :'preferredLanguage',
128
+ :'updated_at' => :'updatedAt',
129
+ :'email' => :'email',
130
+ :'email_verified' => :'emailVerified',
131
+ :'phone_number' => :'phoneNumber',
132
+ :'phone_number_verified' => :'phoneNumberVerified',
133
+ :'mobile_phone_number' => :'mobilePhoneNumber',
134
+ :'address' => :'address',
135
+ :'pcr' => :'pcr',
136
+ :'mid_uid' => :'midUid',
137
+ :'user_name' => :'userName',
138
+ :'inum' => :'inum',
139
+ :'role' => :'role',
140
+ :'personal_identity_code' => :'personalIdentityCode',
141
+ :'person_identity_code_sample' => :'personIdentityCodeSample'
142
+ }
143
+ end
144
+
145
+ # Returns attribute mapping this model knows about
146
+ def self.acceptable_attribute_map
147
+ attribute_map
148
+ end
149
+
150
+ # Returns all the JSON keys this model knows about
151
+ def self.acceptable_attributes
152
+ acceptable_attribute_map.values
153
+ end
154
+
155
+ # Attribute type mapping.
156
+ def self.openapi_types
157
+ {
158
+ :'sub' => :'String',
159
+ :'name' => :'String',
160
+ :'given_name' => :'String',
161
+ :'middle_name' => :'String',
162
+ :'family_name' => :'String',
163
+ :'nickname' => :'String',
164
+ :'preferred_username' => :'String',
165
+ :'profile' => :'String',
166
+ :'picture' => :'String',
167
+ :'website' => :'String',
168
+ :'birthdate' => :'String',
169
+ :'date_of_birth' => :'Date',
170
+ :'gender' => :'String',
171
+ :'zoneinfo' => :'String',
172
+ :'locale' => :'String',
173
+ :'preferred_language' => :'String',
174
+ :'updated_at' => :'Integer',
175
+ :'email' => :'String',
176
+ :'email_verified' => :'Boolean',
177
+ :'phone_number' => :'String',
178
+ :'phone_number_verified' => :'Boolean',
179
+ :'mobile_phone_number' => :'String',
180
+ :'address' => :'IdemiaPreviewProviderAddress',
181
+ :'pcr' => :'String',
182
+ :'mid_uid' => :'String',
183
+ :'user_name' => :'String',
184
+ :'inum' => :'String',
185
+ :'role' => :'String',
186
+ :'personal_identity_code' => :'String',
187
+ :'person_identity_code_sample' => :'String'
188
+ }
189
+ end
190
+
191
+ # List of attributes with nullable: true
192
+ def self.openapi_nullable
193
+ Set.new([
194
+ :'sub',
195
+ :'name',
196
+ :'given_name',
197
+ :'middle_name',
198
+ :'family_name',
199
+ :'nickname',
200
+ :'preferred_username',
201
+ :'profile',
202
+ :'picture',
203
+ :'website',
204
+ :'birthdate',
205
+ :'date_of_birth',
206
+ :'gender',
207
+ :'zoneinfo',
208
+ :'locale',
209
+ :'preferred_language',
210
+ :'updated_at',
211
+ :'email',
212
+ :'email_verified',
213
+ :'phone_number',
214
+ :'phone_number_verified',
215
+ :'mobile_phone_number',
216
+ :'address',
217
+ :'pcr',
218
+ :'mid_uid',
219
+ :'user_name',
220
+ :'inum',
221
+ :'role',
222
+ :'personal_identity_code',
223
+ :'person_identity_code_sample'
224
+ ])
225
+ end
226
+
227
+ # Initializes the object
228
+ # @param [Hash] attributes Model attributes in the form of hash
229
+ def initialize(attributes = {})
230
+ if (!attributes.is_a?(Hash))
231
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::IdemiaPreviewProviderOutput` initialize method"
232
+ end
233
+
234
+ # check to see if the attribute exists and convert string to symbol for hash key
235
+ acceptable_attribute_map = self.class.acceptable_attribute_map
236
+ attributes = attributes.each_with_object({}) { |(k, v), h|
237
+ if (!acceptable_attribute_map.key?(k.to_sym))
238
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::IdemiaPreviewProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
239
+ end
240
+ h[k.to_sym] = v
241
+ }
242
+
243
+ if attributes.key?(:'sub')
244
+ self.sub = attributes[:'sub']
245
+ end
246
+
247
+ if attributes.key?(:'name')
248
+ self.name = attributes[:'name']
249
+ end
250
+
251
+ if attributes.key?(:'given_name')
252
+ self.given_name = attributes[:'given_name']
253
+ end
254
+
255
+ if attributes.key?(:'middle_name')
256
+ self.middle_name = attributes[:'middle_name']
257
+ end
258
+
259
+ if attributes.key?(:'family_name')
260
+ self.family_name = attributes[:'family_name']
261
+ end
262
+
263
+ if attributes.key?(:'nickname')
264
+ self.nickname = attributes[:'nickname']
265
+ end
266
+
267
+ if attributes.key?(:'preferred_username')
268
+ self.preferred_username = attributes[:'preferred_username']
269
+ end
270
+
271
+ if attributes.key?(:'profile')
272
+ self.profile = attributes[:'profile']
273
+ end
274
+
275
+ if attributes.key?(:'picture')
276
+ self.picture = attributes[:'picture']
277
+ end
278
+
279
+ if attributes.key?(:'website')
280
+ self.website = attributes[:'website']
281
+ end
282
+
283
+ if attributes.key?(:'birthdate')
284
+ self.birthdate = attributes[:'birthdate']
285
+ end
286
+
287
+ if attributes.key?(:'date_of_birth')
288
+ self.date_of_birth = attributes[:'date_of_birth']
289
+ end
290
+
291
+ if attributes.key?(:'gender')
292
+ self.gender = attributes[:'gender']
293
+ end
294
+
295
+ if attributes.key?(:'zoneinfo')
296
+ self.zoneinfo = attributes[:'zoneinfo']
297
+ end
298
+
299
+ if attributes.key?(:'locale')
300
+ self.locale = attributes[:'locale']
301
+ end
302
+
303
+ if attributes.key?(:'preferred_language')
304
+ self.preferred_language = attributes[:'preferred_language']
305
+ end
306
+
307
+ if attributes.key?(:'updated_at')
308
+ self.updated_at = attributes[:'updated_at']
309
+ end
310
+
311
+ if attributes.key?(:'email')
312
+ self.email = attributes[:'email']
313
+ end
314
+
315
+ if attributes.key?(:'email_verified')
316
+ self.email_verified = attributes[:'email_verified']
317
+ end
318
+
319
+ if attributes.key?(:'phone_number')
320
+ self.phone_number = attributes[:'phone_number']
321
+ end
322
+
323
+ if attributes.key?(:'phone_number_verified')
324
+ self.phone_number_verified = attributes[:'phone_number_verified']
325
+ end
326
+
327
+ if attributes.key?(:'mobile_phone_number')
328
+ self.mobile_phone_number = attributes[:'mobile_phone_number']
329
+ end
330
+
331
+ if attributes.key?(:'address')
332
+ self.address = attributes[:'address']
333
+ end
334
+
335
+ if attributes.key?(:'pcr')
336
+ self.pcr = attributes[:'pcr']
337
+ end
338
+
339
+ if attributes.key?(:'mid_uid')
340
+ self.mid_uid = attributes[:'mid_uid']
341
+ end
342
+
343
+ if attributes.key?(:'user_name')
344
+ self.user_name = attributes[:'user_name']
345
+ end
346
+
347
+ if attributes.key?(:'inum')
348
+ self.inum = attributes[:'inum']
349
+ end
350
+
351
+ if attributes.key?(:'role')
352
+ self.role = attributes[:'role']
353
+ end
354
+
355
+ if attributes.key?(:'personal_identity_code')
356
+ self.personal_identity_code = attributes[:'personal_identity_code']
357
+ end
358
+
359
+ if attributes.key?(:'person_identity_code_sample')
360
+ self.person_identity_code_sample = attributes[:'person_identity_code_sample']
361
+ end
362
+ end
363
+
364
+ # Show invalid properties with the reasons. Usually used together with valid?
365
+ # @return Array for valid properties with the reasons
366
+ def list_invalid_properties
367
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
368
+ invalid_properties = Array.new
369
+ invalid_properties
370
+ end
371
+
372
+ # Check to see if the all the properties in the model are valid
373
+ # @return true if the model is valid
374
+ def valid?
375
+ warn '[DEPRECATED] the `valid?` method is obsolete'
376
+ true
377
+ end
378
+
379
+ # Checks equality by comparing each attribute.
380
+ # @param [Object] Object to be compared
381
+ def ==(o)
382
+ return true if self.equal?(o)
383
+ self.class == o.class &&
384
+ sub == o.sub &&
385
+ name == o.name &&
386
+ given_name == o.given_name &&
387
+ middle_name == o.middle_name &&
388
+ family_name == o.family_name &&
389
+ nickname == o.nickname &&
390
+ preferred_username == o.preferred_username &&
391
+ profile == o.profile &&
392
+ picture == o.picture &&
393
+ website == o.website &&
394
+ birthdate == o.birthdate &&
395
+ date_of_birth == o.date_of_birth &&
396
+ gender == o.gender &&
397
+ zoneinfo == o.zoneinfo &&
398
+ locale == o.locale &&
399
+ preferred_language == o.preferred_language &&
400
+ updated_at == o.updated_at &&
401
+ email == o.email &&
402
+ email_verified == o.email_verified &&
403
+ phone_number == o.phone_number &&
404
+ phone_number_verified == o.phone_number_verified &&
405
+ mobile_phone_number == o.mobile_phone_number &&
406
+ address == o.address &&
407
+ pcr == o.pcr &&
408
+ mid_uid == o.mid_uid &&
409
+ user_name == o.user_name &&
410
+ inum == o.inum &&
411
+ role == o.role &&
412
+ personal_identity_code == o.personal_identity_code &&
413
+ person_identity_code_sample == o.person_identity_code_sample
414
+ end
415
+
416
+ # @see the `==` method
417
+ # @param [Object] Object to be compared
418
+ def eql?(o)
419
+ self == o
420
+ end
421
+
422
+ # Calculates hash code according to all attributes.
423
+ # @return [Integer] Hash code
424
+ def hash
425
+ [sub, name, given_name, middle_name, family_name, nickname, preferred_username, profile, picture, website, birthdate, date_of_birth, gender, zoneinfo, locale, preferred_language, updated_at, email, email_verified, phone_number, phone_number_verified, mobile_phone_number, address, pcr, mid_uid, user_name, inum, role, personal_identity_code, person_identity_code_sample].hash
426
+ end
427
+
428
+ # Builds the object from hash
429
+ # @param [Hash] attributes Model attributes in the form of hash
430
+ # @return [Object] Returns the model itself
431
+ def self.build_from_hash(attributes)
432
+ return nil unless attributes.is_a?(Hash)
433
+ attributes = attributes.transform_keys(&:to_sym)
434
+ transformed_hash = {}
435
+ openapi_types.each_pair do |key, type|
436
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
437
+ transformed_hash["#{key}"] = nil
438
+ elsif type =~ /\AArray<(.*)>/i
439
+ # check to ensure the input is an array given that the attribute
440
+ # is documented as an array but the input is not
441
+ if attributes[attribute_map[key]].is_a?(Array)
442
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
443
+ end
444
+ elsif !attributes[attribute_map[key]].nil?
445
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
446
+ end
447
+ end
448
+ new(transformed_hash)
449
+ end
450
+
451
+ # Returns the object in the form of hash
452
+ # @return [Hash] Returns the object in the form of hash
453
+ def to_hash
454
+ hash = {}
455
+ self.class.attribute_map.each_pair do |attr, param|
456
+ value = self.send(attr)
457
+ if value.nil?
458
+ is_nullable = self.class.openapi_nullable.include?(attr)
459
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
460
+ end
461
+
462
+ hash[param] = _to_hash(value)
463
+ end
464
+ hash
465
+ end
466
+
467
+ end
468
+
469
+ end
@@ -0,0 +1,192 @@
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 IndiaDigilockerAadhaarMatchDateOfBirthField < ApiModelBase
18
+ # The date of birth submitted for this check, as provided in the match input.
19
+ attr_accessor :input_value
20
+
21
+ # Whether the submitted date of birth matched the issuer record for this session.
22
+ attr_accessor :outcome
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ :'input_value' => :'inputValue',
28
+ :'outcome' => :'outcome'
29
+ }
30
+ end
31
+
32
+ # Returns attribute mapping this model knows about
33
+ def self.acceptable_attribute_map
34
+ attribute_map
35
+ end
36
+
37
+ # Returns all the JSON keys this model knows about
38
+ def self.acceptable_attributes
39
+ acceptable_attribute_map.values
40
+ end
41
+
42
+ # Attribute type mapping.
43
+ def self.openapi_types
44
+ {
45
+ :'input_value' => :'Date',
46
+ :'outcome' => :'Boolean'
47
+ }
48
+ end
49
+
50
+ # List of attributes with nullable: true
51
+ def self.openapi_nullable
52
+ Set.new([
53
+ ])
54
+ end
55
+
56
+ # Initializes the object
57
+ # @param [Hash] attributes Model attributes in the form of hash
58
+ def initialize(attributes = {})
59
+ if (!attributes.is_a?(Hash))
60
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::IndiaDigilockerAadhaarMatchDateOfBirthField` initialize method"
61
+ end
62
+
63
+ # check to see if the attribute exists and convert string to symbol for hash key
64
+ acceptable_attribute_map = self.class.acceptable_attribute_map
65
+ attributes = attributes.each_with_object({}) { |(k, v), h|
66
+ if (!acceptable_attribute_map.key?(k.to_sym))
67
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::IndiaDigilockerAadhaarMatchDateOfBirthField`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
68
+ end
69
+ h[k.to_sym] = v
70
+ }
71
+
72
+ if attributes.key?(:'input_value')
73
+ self.input_value = attributes[:'input_value']
74
+ else
75
+ self.input_value = nil
76
+ end
77
+
78
+ if attributes.key?(:'outcome')
79
+ self.outcome = attributes[:'outcome']
80
+ else
81
+ self.outcome = nil
82
+ end
83
+ end
84
+
85
+ # Show invalid properties with the reasons. Usually used together with valid?
86
+ # @return Array for valid properties with the reasons
87
+ def list_invalid_properties
88
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
89
+ 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
+ invalid_properties
99
+ end
100
+
101
+ # Check to see if the all the properties in the model are valid
102
+ # @return true if the model is valid
103
+ def valid?
104
+ warn '[DEPRECATED] the `valid?` method is obsolete'
105
+ return false if @input_value.nil?
106
+ return false if @outcome.nil?
107
+ true
108
+ end
109
+
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
+ # Checks equality by comparing each attribute.
131
+ # @param [Object] Object to be compared
132
+ def ==(o)
133
+ return true if self.equal?(o)
134
+ self.class == o.class &&
135
+ input_value == o.input_value &&
136
+ outcome == o.outcome
137
+ end
138
+
139
+ # @see the `==` method
140
+ # @param [Object] Object to be compared
141
+ def eql?(o)
142
+ self == o
143
+ end
144
+
145
+ # Calculates hash code according to all attributes.
146
+ # @return [Integer] Hash code
147
+ def hash
148
+ [input_value, outcome].hash
149
+ end
150
+
151
+ # Builds the object from hash
152
+ # @param [Hash] attributes Model attributes in the form of hash
153
+ # @return [Object] Returns the model itself
154
+ def self.build_from_hash(attributes)
155
+ return nil unless attributes.is_a?(Hash)
156
+ attributes = attributes.transform_keys(&:to_sym)
157
+ transformed_hash = {}
158
+ openapi_types.each_pair do |key, type|
159
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
160
+ transformed_hash["#{key}"] = nil
161
+ elsif type =~ /\AArray<(.*)>/i
162
+ # check to ensure the input is an array given that the attribute
163
+ # is documented as an array but the input is not
164
+ if attributes[attribute_map[key]].is_a?(Array)
165
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
166
+ end
167
+ elsif !attributes[attribute_map[key]].nil?
168
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
169
+ end
170
+ end
171
+ new(transformed_hash)
172
+ end
173
+
174
+ # Returns the object in the form of hash
175
+ # @return [Hash] Returns the object in the form of hash
176
+ def to_hash
177
+ hash = {}
178
+ self.class.attribute_map.each_pair do |attr, param|
179
+ value = self.send(attr)
180
+ if value.nil?
181
+ is_nullable = self.class.openapi_nullable.include?(attr)
182
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
183
+ end
184
+
185
+ hash[param] = _to_hash(value)
186
+ end
187
+ hash
188
+ end
189
+
190
+ end
191
+
192
+ end