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,177 @@
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
+ # A date of birth field as encoded in an Apple Wallet Digital ID credential, possibly with an \"approximate mask\" indicating uncertain digits.
18
+ class AppleWalletDigitalIdBirthDate < ApiModelBase
19
+ # The encoded date of birth.
20
+ attr_accessor :date_of_birth
21
+
22
+ # An 8-character mask of `1`s and `0`s, where a `1` indicates that the corresponding digit in the birth date (formatted as YYYYMMDD) is uncertain or unknown. For example, a mask of \"00000011\" indicates that the day-of-month on which the individual was born is not certain.
23
+ attr_accessor :approximate_mask
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+ :'date_of_birth' => :'dateOfBirth',
29
+ :'approximate_mask' => :'approximateMask'
30
+ }
31
+ end
32
+
33
+ # Returns attribute mapping this model knows about
34
+ def self.acceptable_attribute_map
35
+ attribute_map
36
+ end
37
+
38
+ # Returns all the JSON keys this model knows about
39
+ def self.acceptable_attributes
40
+ acceptable_attribute_map.values
41
+ end
42
+
43
+ # Attribute type mapping.
44
+ def self.openapi_types
45
+ {
46
+ :'date_of_birth' => :'Date',
47
+ :'approximate_mask' => :'String'
48
+ }
49
+ end
50
+
51
+ # List of attributes with nullable: true
52
+ def self.openapi_nullable
53
+ Set.new([
54
+ :'approximate_mask'
55
+ ])
56
+ end
57
+
58
+ # Initializes the object
59
+ # @param [Hash] attributes Model attributes in the form of hash
60
+ def initialize(attributes = {})
61
+ if (!attributes.is_a?(Hash))
62
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::AppleWalletDigitalIdBirthDate` initialize method"
63
+ end
64
+
65
+ # check to see if the attribute exists and convert string to symbol for hash key
66
+ acceptable_attribute_map = self.class.acceptable_attribute_map
67
+ attributes = attributes.each_with_object({}) { |(k, v), h|
68
+ if (!acceptable_attribute_map.key?(k.to_sym))
69
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::AppleWalletDigitalIdBirthDate`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
70
+ end
71
+ h[k.to_sym] = v
72
+ }
73
+
74
+ if attributes.key?(:'date_of_birth')
75
+ self.date_of_birth = attributes[:'date_of_birth']
76
+ else
77
+ self.date_of_birth = nil
78
+ end
79
+
80
+ if attributes.key?(:'approximate_mask')
81
+ self.approximate_mask = attributes[:'approximate_mask']
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 @date_of_birth.nil?
91
+ invalid_properties.push('invalid value for "date_of_birth", date_of_birth cannot be nil.')
92
+ end
93
+
94
+ invalid_properties
95
+ end
96
+
97
+ # Check to see if the all the properties in the model are valid
98
+ # @return true if the model is valid
99
+ def valid?
100
+ warn '[DEPRECATED] the `valid?` method is obsolete'
101
+ return false if @date_of_birth.nil?
102
+ true
103
+ end
104
+
105
+ # Custom attribute writer method with validation
106
+ # @param [Object] date_of_birth Value to be assigned
107
+ def date_of_birth=(date_of_birth)
108
+ if date_of_birth.nil?
109
+ fail ArgumentError, 'date_of_birth cannot be nil'
110
+ end
111
+
112
+ @date_of_birth = date_of_birth
113
+ end
114
+
115
+ # Checks equality by comparing each attribute.
116
+ # @param [Object] Object to be compared
117
+ def ==(o)
118
+ return true if self.equal?(o)
119
+ self.class == o.class &&
120
+ date_of_birth == o.date_of_birth &&
121
+ approximate_mask == o.approximate_mask
122
+ end
123
+
124
+ # @see the `==` method
125
+ # @param [Object] Object to be compared
126
+ def eql?(o)
127
+ self == o
128
+ end
129
+
130
+ # Calculates hash code according to all attributes.
131
+ # @return [Integer] Hash code
132
+ def hash
133
+ [date_of_birth, approximate_mask].hash
134
+ end
135
+
136
+ # Builds the object from hash
137
+ # @param [Hash] attributes Model attributes in the form of hash
138
+ # @return [Object] Returns the model itself
139
+ def self.build_from_hash(attributes)
140
+ return nil unless attributes.is_a?(Hash)
141
+ attributes = attributes.transform_keys(&:to_sym)
142
+ transformed_hash = {}
143
+ openapi_types.each_pair do |key, type|
144
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
145
+ transformed_hash["#{key}"] = nil
146
+ elsif type =~ /\AArray<(.*)>/i
147
+ # check to ensure the input is an array given that the attribute
148
+ # is documented as an array but the input is not
149
+ if attributes[attribute_map[key]].is_a?(Array)
150
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
151
+ end
152
+ elsif !attributes[attribute_map[key]].nil?
153
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
154
+ end
155
+ end
156
+ new(transformed_hash)
157
+ end
158
+
159
+ # Returns the object in the form of hash
160
+ # @return [Hash] Returns the object in the form of hash
161
+ def to_hash
162
+ hash = {}
163
+ self.class.attribute_map.each_pair do |attr, param|
164
+ value = self.send(attr)
165
+ if value.nil?
166
+ is_nullable = self.class.openapi_nullable.include?(attr)
167
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
168
+ end
169
+
170
+ hash[param] = _to_hash(value)
171
+ end
172
+ hash
173
+ end
174
+
175
+ end
176
+
177
+ end
@@ -0,0 +1,350 @@
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
+ # An Apple Wallet Digital ID credential, with document type `org.iso.23220.photoid.1`. This is a passport-derived digital credential issued by Apple.
18
+ class AppleWalletDigitalIdCredential < ApiModelBase
19
+ # First name(s), other name(s), or secondary identifier of the individual. This field uses the full UTF-8 character set and can represent any name.
20
+ attr_accessor :given_name_unicode
21
+
22
+ # First name(s), other name(s), or secondary identifier of the individual. This field uses the Latin-1 character set and is limited to names represented by the English alphabet. represented using the English alphabet.
23
+ attr_accessor :given_name_latin1
24
+
25
+ # Last name, surname, or primary identifier of the individual. This field uses the full UTF-8 character set and can represent any name.
26
+ attr_accessor :family_name_unicode
27
+
28
+ # Last name, surname, or primary identifier of the individual. This field uses only the Latin-1 character set and is largely limited to names which can be represented using the English alphabet.
29
+ attr_accessor :family_name_latin1
30
+
31
+ # The individual's sex as an ISO/IEC 5218 code. Possible values: - 0: Unknown - 1: Male - 2: Female - 9: Not Applicable
32
+ attr_accessor :sex
33
+
34
+ # The date of birth of the individual, possibly with an \"approximate mask\" indicating uncertain digits.
35
+ attr_accessor :date_of_birth
36
+
37
+ # The document number of the underlying passport used to create the Digital ID.
38
+ attr_accessor :document_number
39
+
40
+ # Name or identifier of the issuing authority of the credential, using the full UTF-8 character set. This field's contents are arbitrary; it has no guaranteed format.
41
+ attr_accessor :issuing_authority_unicode
42
+
43
+ # ISO 3166-2 country-subdivision code for the jurisdiction that issued the credential.
44
+ attr_accessor :issuing_subdivision
45
+
46
+ # ISO 3166-1 alpha-2 country code of the issuing authority's country or territory.
47
+ attr_accessor :issuing_country
48
+
49
+ # Date when the underlying passport used to create the Digital ID was issued.
50
+ attr_accessor :issue_date
51
+
52
+ # Date when the underlying passport used to create the Digital ID expires.
53
+ attr_accessor :expiry_date
54
+
55
+ # The age of the individual, as of the issuance date of the credential.
56
+ attr_accessor :age_in_years
57
+
58
+ # Processed age-over claims returned by the credential.
59
+ attr_accessor :age_over
60
+
61
+ # The permanent address of the individual, using the full UTF-8 character set. This is only present if the underlying passport contained an address, which is uncommon.
62
+ attr_accessor :resident_address_unicode
63
+
64
+ # City of the individual's permanent address, using the full UTF-8 character set. This is only present if the underlying passport contained an address, which is uncommon.
65
+ attr_accessor :resident_city_unicode
66
+
67
+ # City of the individual's permanent address, using the Latin-1 character set. This is only present if the underlying passport contained an address, which is uncommon.
68
+ attr_accessor :resident_city_latin1
69
+
70
+ # Postal code of the individual's permanent address. This is only present if the underlying passport contained an address, which is uncommon.
71
+ attr_accessor :resident_postal_code
72
+
73
+ # ISO 3166-1 alpha-2 country code of the individual's permanent address. This is only present if the underlying passport contained an address, which is uncommon.
74
+ attr_accessor :resident_country
75
+
76
+ # Attribute mapping from ruby-style variable name to JSON key.
77
+ def self.attribute_map
78
+ {
79
+ :'given_name_unicode' => :'givenNameUnicode',
80
+ :'given_name_latin1' => :'givenNameLatin1',
81
+ :'family_name_unicode' => :'familyNameUnicode',
82
+ :'family_name_latin1' => :'familyNameLatin1',
83
+ :'sex' => :'sex',
84
+ :'date_of_birth' => :'dateOfBirth',
85
+ :'document_number' => :'documentNumber',
86
+ :'issuing_authority_unicode' => :'issuingAuthorityUnicode',
87
+ :'issuing_subdivision' => :'issuingSubdivision',
88
+ :'issuing_country' => :'issuingCountry',
89
+ :'issue_date' => :'issueDate',
90
+ :'expiry_date' => :'expiryDate',
91
+ :'age_in_years' => :'ageInYears',
92
+ :'age_over' => :'ageOver',
93
+ :'resident_address_unicode' => :'residentAddressUnicode',
94
+ :'resident_city_unicode' => :'residentCityUnicode',
95
+ :'resident_city_latin1' => :'residentCityLatin1',
96
+ :'resident_postal_code' => :'residentPostalCode',
97
+ :'resident_country' => :'residentCountry'
98
+ }
99
+ end
100
+
101
+ # Returns attribute mapping this model knows about
102
+ def self.acceptable_attribute_map
103
+ attribute_map
104
+ end
105
+
106
+ # Returns all the JSON keys this model knows about
107
+ def self.acceptable_attributes
108
+ acceptable_attribute_map.values
109
+ end
110
+
111
+ # Attribute type mapping.
112
+ def self.openapi_types
113
+ {
114
+ :'given_name_unicode' => :'String',
115
+ :'given_name_latin1' => :'String',
116
+ :'family_name_unicode' => :'String',
117
+ :'family_name_latin1' => :'String',
118
+ :'sex' => :'Integer',
119
+ :'date_of_birth' => :'AppleWalletDigitalIdBirthDate',
120
+ :'document_number' => :'String',
121
+ :'issuing_authority_unicode' => :'String',
122
+ :'issuing_subdivision' => :'String',
123
+ :'issuing_country' => :'String',
124
+ :'issue_date' => :'Date',
125
+ :'expiry_date' => :'Date',
126
+ :'age_in_years' => :'Integer',
127
+ :'age_over' => :'Array<AgeOverOutput>',
128
+ :'resident_address_unicode' => :'String',
129
+ :'resident_city_unicode' => :'String',
130
+ :'resident_city_latin1' => :'String',
131
+ :'resident_postal_code' => :'String',
132
+ :'resident_country' => :'String'
133
+ }
134
+ end
135
+
136
+ # List of attributes with nullable: true
137
+ def self.openapi_nullable
138
+ Set.new([
139
+ :'given_name_unicode',
140
+ :'given_name_latin1',
141
+ :'family_name_unicode',
142
+ :'family_name_latin1',
143
+ :'sex',
144
+ :'date_of_birth',
145
+ :'document_number',
146
+ :'issuing_authority_unicode',
147
+ :'issuing_subdivision',
148
+ :'issuing_country',
149
+ :'issue_date',
150
+ :'expiry_date',
151
+ :'age_in_years',
152
+ :'age_over',
153
+ :'resident_address_unicode',
154
+ :'resident_city_unicode',
155
+ :'resident_city_latin1',
156
+ :'resident_postal_code',
157
+ :'resident_country'
158
+ ])
159
+ end
160
+
161
+ # Initializes the object
162
+ # @param [Hash] attributes Model attributes in the form of hash
163
+ def initialize(attributes = {})
164
+ if (!attributes.is_a?(Hash))
165
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::AppleWalletDigitalIdCredential` initialize method"
166
+ end
167
+
168
+ # check to see if the attribute exists and convert string to symbol for hash key
169
+ acceptable_attribute_map = self.class.acceptable_attribute_map
170
+ attributes = attributes.each_with_object({}) { |(k, v), h|
171
+ if (!acceptable_attribute_map.key?(k.to_sym))
172
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::AppleWalletDigitalIdCredential`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
173
+ end
174
+ h[k.to_sym] = v
175
+ }
176
+
177
+ if attributes.key?(:'given_name_unicode')
178
+ self.given_name_unicode = attributes[:'given_name_unicode']
179
+ end
180
+
181
+ if attributes.key?(:'given_name_latin1')
182
+ self.given_name_latin1 = attributes[:'given_name_latin1']
183
+ end
184
+
185
+ if attributes.key?(:'family_name_unicode')
186
+ self.family_name_unicode = attributes[:'family_name_unicode']
187
+ end
188
+
189
+ if attributes.key?(:'family_name_latin1')
190
+ self.family_name_latin1 = attributes[:'family_name_latin1']
191
+ end
192
+
193
+ if attributes.key?(:'sex')
194
+ self.sex = attributes[:'sex']
195
+ end
196
+
197
+ if attributes.key?(:'date_of_birth')
198
+ self.date_of_birth = attributes[:'date_of_birth']
199
+ end
200
+
201
+ if attributes.key?(:'document_number')
202
+ self.document_number = attributes[:'document_number']
203
+ end
204
+
205
+ if attributes.key?(:'issuing_authority_unicode')
206
+ self.issuing_authority_unicode = attributes[:'issuing_authority_unicode']
207
+ end
208
+
209
+ if attributes.key?(:'issuing_subdivision')
210
+ self.issuing_subdivision = attributes[:'issuing_subdivision']
211
+ end
212
+
213
+ if attributes.key?(:'issuing_country')
214
+ self.issuing_country = attributes[:'issuing_country']
215
+ end
216
+
217
+ if attributes.key?(:'issue_date')
218
+ self.issue_date = attributes[:'issue_date']
219
+ end
220
+
221
+ if attributes.key?(:'expiry_date')
222
+ self.expiry_date = attributes[:'expiry_date']
223
+ end
224
+
225
+ if attributes.key?(:'age_in_years')
226
+ self.age_in_years = attributes[:'age_in_years']
227
+ end
228
+
229
+ if attributes.key?(:'age_over')
230
+ if (value = attributes[:'age_over']).is_a?(Array)
231
+ self.age_over = value
232
+ end
233
+ end
234
+
235
+ if attributes.key?(:'resident_address_unicode')
236
+ self.resident_address_unicode = attributes[:'resident_address_unicode']
237
+ end
238
+
239
+ if attributes.key?(:'resident_city_unicode')
240
+ self.resident_city_unicode = attributes[:'resident_city_unicode']
241
+ end
242
+
243
+ if attributes.key?(:'resident_city_latin1')
244
+ self.resident_city_latin1 = attributes[:'resident_city_latin1']
245
+ end
246
+
247
+ if attributes.key?(:'resident_postal_code')
248
+ self.resident_postal_code = attributes[:'resident_postal_code']
249
+ end
250
+
251
+ if attributes.key?(:'resident_country')
252
+ self.resident_country = attributes[:'resident_country']
253
+ end
254
+ end
255
+
256
+ # Show invalid properties with the reasons. Usually used together with valid?
257
+ # @return Array for valid properties with the reasons
258
+ def list_invalid_properties
259
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
260
+ invalid_properties = Array.new
261
+ invalid_properties
262
+ end
263
+
264
+ # Check to see if the all the properties in the model are valid
265
+ # @return true if the model is valid
266
+ def valid?
267
+ warn '[DEPRECATED] the `valid?` method is obsolete'
268
+ true
269
+ end
270
+
271
+ # Checks equality by comparing each attribute.
272
+ # @param [Object] Object to be compared
273
+ def ==(o)
274
+ return true if self.equal?(o)
275
+ self.class == o.class &&
276
+ given_name_unicode == o.given_name_unicode &&
277
+ given_name_latin1 == o.given_name_latin1 &&
278
+ family_name_unicode == o.family_name_unicode &&
279
+ family_name_latin1 == o.family_name_latin1 &&
280
+ sex == o.sex &&
281
+ date_of_birth == o.date_of_birth &&
282
+ document_number == o.document_number &&
283
+ issuing_authority_unicode == o.issuing_authority_unicode &&
284
+ issuing_subdivision == o.issuing_subdivision &&
285
+ issuing_country == o.issuing_country &&
286
+ issue_date == o.issue_date &&
287
+ expiry_date == o.expiry_date &&
288
+ age_in_years == o.age_in_years &&
289
+ age_over == o.age_over &&
290
+ resident_address_unicode == o.resident_address_unicode &&
291
+ resident_city_unicode == o.resident_city_unicode &&
292
+ resident_city_latin1 == o.resident_city_latin1 &&
293
+ resident_postal_code == o.resident_postal_code &&
294
+ resident_country == o.resident_country
295
+ end
296
+
297
+ # @see the `==` method
298
+ # @param [Object] Object to be compared
299
+ def eql?(o)
300
+ self == o
301
+ end
302
+
303
+ # Calculates hash code according to all attributes.
304
+ # @return [Integer] Hash code
305
+ def hash
306
+ [given_name_unicode, given_name_latin1, family_name_unicode, family_name_latin1, sex, date_of_birth, document_number, issuing_authority_unicode, issuing_subdivision, issuing_country, issue_date, expiry_date, age_in_years, age_over, resident_address_unicode, resident_city_unicode, resident_city_latin1, resident_postal_code, resident_country].hash
307
+ end
308
+
309
+ # Builds the object from hash
310
+ # @param [Hash] attributes Model attributes in the form of hash
311
+ # @return [Object] Returns the model itself
312
+ def self.build_from_hash(attributes)
313
+ return nil unless attributes.is_a?(Hash)
314
+ attributes = attributes.transform_keys(&:to_sym)
315
+ transformed_hash = {}
316
+ openapi_types.each_pair do |key, type|
317
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
318
+ transformed_hash["#{key}"] = nil
319
+ elsif type =~ /\AArray<(.*)>/i
320
+ # check to ensure the input is an array given that the attribute
321
+ # is documented as an array but the input is not
322
+ if attributes[attribute_map[key]].is_a?(Array)
323
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
324
+ end
325
+ elsif !attributes[attribute_map[key]].nil?
326
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
327
+ end
328
+ end
329
+ new(transformed_hash)
330
+ end
331
+
332
+ # Returns the object in the form of hash
333
+ # @return [Hash] Returns the object in the form of hash
334
+ def to_hash
335
+ hash = {}
336
+ self.class.attribute_map.each_pair do |attr, param|
337
+ value = self.send(attr)
338
+ if value.nil?
339
+ is_nullable = self.class.openapi_nullable.include?(attr)
340
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
341
+ end
342
+
343
+ hash[param] = _to_hash(value)
344
+ end
345
+ hash
346
+ end
347
+
348
+ end
349
+
350
+ end
@@ -16,12 +16,20 @@ require 'time'
16
16
  module TrinsicApi
17
17
  # Exposed properties for the `apple-wallet` Provider which do not directly map to the normalized IdentityData model.
18
18
  class AppleWalletProviderOutput < ApiModelBase
19
+ # A standard 18013-5 Mobile Driver's License credential, retrieved from the individual's wallet.
20
+ attr_accessor :mobile_drivers_license
21
+
22
+ # An Apple Wallet Digital ID credential (`org.iso.23220.photoid.1`), retrieved from the individual's wallet.
23
+ attr_accessor :digital_id
24
+
19
25
  # The raw output of the mDL exchange performed through Apple Wallet.
20
26
  attr_accessor :raw_mdl_output
21
27
 
22
28
  # Attribute mapping from ruby-style variable name to JSON key.
23
29
  def self.attribute_map
24
30
  {
31
+ :'mobile_drivers_license' => :'mobileDriversLicense',
32
+ :'digital_id' => :'digitalId',
25
33
  :'raw_mdl_output' => :'rawMdlOutput'
26
34
  }
27
35
  end
@@ -39,6 +47,8 @@ module TrinsicApi
39
47
  # Attribute type mapping.
40
48
  def self.openapi_types
41
49
  {
50
+ :'mobile_drivers_license' => :'Iso180135MobileDriversLicenseCredential',
51
+ :'digital_id' => :'AppleWalletDigitalIdCredential',
42
52
  :'raw_mdl_output' => :'MdlOutput'
43
53
  }
44
54
  end
@@ -46,6 +56,8 @@ module TrinsicApi
46
56
  # List of attributes with nullable: true
47
57
  def self.openapi_nullable
48
58
  Set.new([
59
+ :'mobile_drivers_license',
60
+ :'digital_id',
49
61
  ])
50
62
  end
51
63
 
@@ -65,6 +77,14 @@ module TrinsicApi
65
77
  h[k.to_sym] = v
66
78
  }
67
79
 
80
+ if attributes.key?(:'mobile_drivers_license')
81
+ self.mobile_drivers_license = attributes[:'mobile_drivers_license']
82
+ end
83
+
84
+ if attributes.key?(:'digital_id')
85
+ self.digital_id = attributes[:'digital_id']
86
+ end
87
+
68
88
  if attributes.key?(:'raw_mdl_output')
69
89
  self.raw_mdl_output = attributes[:'raw_mdl_output']
70
90
  else
@@ -107,6 +127,8 @@ module TrinsicApi
107
127
  def ==(o)
108
128
  return true if self.equal?(o)
109
129
  self.class == o.class &&
130
+ mobile_drivers_license == o.mobile_drivers_license &&
131
+ digital_id == o.digital_id &&
110
132
  raw_mdl_output == o.raw_mdl_output
111
133
  end
112
134
 
@@ -119,7 +141,7 @@ module TrinsicApi
119
141
  # Calculates hash code according to all attributes.
120
142
  # @return [Integer] Hash code
121
143
  def hash
122
- [raw_mdl_output].hash
144
+ [mobile_drivers_license, digital_id, raw_mdl_output].hash
123
145
  end
124
146
 
125
147
  # Builds the object from hash